@ckeditor/ckeditor5-ai 47.6.0 → 47.6.1-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 +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.d.ts +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(_0x865595,_0x517b88){const _0x18891e=_0x57b1,_0x286a1b=_0x865595();while(!![]){try{const _0x3dfb80=parseInt(_0x18891e(0x15b))/0x1+-parseInt(_0x18891e(0x147))/0x2+parseInt(_0x18891e(0x161))/0x3*(-parseInt(_0x18891e(0x164))/0x4)+-parseInt(_0x18891e(0x151))/0x5*(parseInt(_0x18891e(0x158))/0x6)+parseInt(_0x18891e(0x163))/0x7+parseInt(_0x18891e(0x162))/0x8+-parseInt(_0x18891e(0x154))/0x9*(-parseInt(_0x18891e(0x159))/0xa);if(_0x3dfb80===_0x517b88)break;else _0x286a1b['push'](_0x286a1b['shift']());}catch(_0x23b4cd){_0x286a1b['push'](_0x286a1b['shift']());}}}(_0x3bf8,0x769df));import{createDropdown as _0x4db70e}from'ckeditor5/src/ui.js';function _0x57b1(_0x276aac,_0x58a6fe){const _0x3bf85a=_0x3bf8();return _0x57b1=function(_0x57b18d,_0x41cef1){_0x57b18d=_0x57b18d-0x144;let _0x39e142=_0x3bf85a[_0x57b18d];return _0x39e142;},_0x57b1(_0x276aac,_0x58a6fe);}function _0x3bf8(){const _0x1b8b1b=['resetSearch','buttonView','39BJSzCg','6961256IJPAFq','5971483mndyVe','261204QraXua','has','from','ai-quick-actions-dropdown-selection','change:isOpen','480900HOQrtY','getRanges','locale','ck-ai-quick-actions-dropdown','get','add','plugins','panelView','hideFakeVisualSelection','selection','40Ooconl','icon','AIEditing','18cMhXvn','length','children','document','361320iZAktC','296530wtfkOe','model','274446yLSgXd','label','showFakeVisualSelection','set'];_0x3bf8=function(){return _0x1b8b1b;};return _0x3bf8();}import{IconAIQuickActions as _0x53bcf8}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x82dbce}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x2ed738}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x204b15){const {editor:_0x23218c,content:_0x30d7ae,buttonDefinition:_0x115005,bodyCollection:_0x349f92,hasSearch:_0x4b0c71=!0x1}=_0x204b15;return()=>{const _0x5e99ae=_0x57b1,_0x51ce22=_0x23218c[_0x5e99ae(0x149)],_0x3bc40f=_0x4db70e(_0x51ce22);_0x3bc40f[_0x5e99ae(0x160)][_0x5e99ae(0x15e)]({'icon':_0x115005[_0x5e99ae(0x152)]??_0x53bcf8,'label':_0x115005[_0x5e99ae(0x15c)],'tooltip':!0x0}),_0x3bc40f[_0x5e99ae(0x15e)]({'class':_0x5e99ae(0x14a)});const _0x502a08=new _0x82dbce(_0x23218c,_0x30d7ae,_0x3bc40f,_0x349f92,_0x4b0c71);if(_0x3bc40f[_0x5e99ae(0x14e)][_0x5e99ae(0x156)][_0x5e99ae(0x14c)](_0x502a08),_0x4b0c71){const _0x36f50a=_0x5e99ae(0x145);_0x3bc40f['on'](_0x5e99ae(0x146),(_0x27f3dc,_0x119c13,_0xf79cca)=>{const _0x415d5b=_0x5e99ae;if(_0xf79cca){if(_0x23218c[_0x415d5b(0x14d)][_0x415d5b(0x165)](_0x415d5b(0x153))){const _0x2b00b3=_0x23218c[_0x415d5b(0x14d)][_0x415d5b(0x14b)](_0x2ed738),_0x2e0807=_0x23218c[_0x415d5b(0x15a)][_0x415d5b(0x157)][_0x415d5b(0x150)],_0x3e86cc=Array[_0x415d5b(0x144)](_0x2e0807[_0x415d5b(0x148)]());_0x3e86cc[_0x415d5b(0x155)]>0x0&&_0x2b00b3[_0x415d5b(0x15d)](_0x3e86cc,_0x36f50a,!0x1,!0x0);}}else _0x23218c[_0x415d5b(0x14d)][_0x415d5b(0x165)](_0x415d5b(0x153))&&_0x23218c[_0x415d5b(0x14d)][_0x415d5b(0x14b)](_0x2ed738)[_0x415d5b(0x14f)](_0x36f50a),_0x502a08[_0x415d5b(0x15f)]();});}return _0x3bc40f;};}
23
+ function _0x1aba(_0x1a8432,_0x392a16){const _0x170e1e=_0x170e();return _0x1aba=function(_0x1aba33,_0x57a4b1){_0x1aba33=_0x1aba33-0x147;let _0x4b03c8=_0x170e1e[_0x1aba33];return _0x4b03c8;},_0x1aba(_0x1a8432,_0x392a16);}(function(_0x32fa9a,_0x2259a4){const _0x4955e7=_0x1aba,_0x2c78fd=_0x32fa9a();while(!![]){try{const _0x1858a4=-parseInt(_0x4955e7(0x160))/0x1*(parseInt(_0x4955e7(0x156))/0x2)+parseInt(_0x4955e7(0x148))/0x3*(-parseInt(_0x4955e7(0x15c))/0x4)+-parseInt(_0x4955e7(0x168))/0x5*(-parseInt(_0x4955e7(0x14c))/0x6)+parseInt(_0x4955e7(0x164))/0x7+parseInt(_0x4955e7(0x155))/0x8+parseInt(_0x4955e7(0x154))/0x9*(-parseInt(_0x4955e7(0x14f))/0xa)+parseInt(_0x4955e7(0x147))/0xb;if(_0x1858a4===_0x2259a4)break;else _0x2c78fd['push'](_0x2c78fd['shift']());}catch(_0x20c54c){_0x2c78fd['push'](_0x2c78fd['shift']());}}}(_0x170e,0x2eb21));import{createDropdown as _0x442bcd}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x122ae1}from'@ckeditor/ckeditor5-icons';function _0x170e(){const _0x395caa=['from','666423iLTUQn','1475088ubsjth','6MCOAvO','AIEditing','add','plugins','locale','set','5296ZGMWpp','children','document','ai-quick-actions-dropdown-selection','46571XTUtFM','length','model','resetSearch','125307NyZVBG','get','label','icon','52820cVmKxm','ck-ai-quick-actions-dropdown','3382258KFHPmR','21XZgykd','buttonView','selection','showFakeVisualSelection','114vTBUlI','getRanges','hideFakeVisualSelection','50PPiGbn','has','panelView','change:isOpen'];_0x170e=function(){return _0x395caa;};return _0x170e();}import{AIQuickActionsDropdownContentView as _0x3df358}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0xfe40e6}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x55d0e8){const {editor:_0x6979e5,content:_0x570261,buttonDefinition:_0x367fe8,bodyCollection:_0x53ab63,hasSearch:_0x3ab15e=!0x1}=_0x55d0e8;return()=>{const _0x28c239=_0x1aba,_0x1bd620=_0x6979e5[_0x28c239(0x15a)],_0x56f1b9=_0x442bcd(_0x1bd620);_0x56f1b9[_0x28c239(0x149)][_0x28c239(0x15b)]({'icon':_0x367fe8[_0x28c239(0x167)]??_0x122ae1,'label':_0x367fe8[_0x28c239(0x166)],'tooltip':!0x0}),_0x56f1b9[_0x28c239(0x15b)]({'class':_0x28c239(0x169)});const _0xb8b9bc=new _0x3df358(_0x6979e5,_0x570261,_0x56f1b9,_0x53ab63,_0x3ab15e);if(_0x56f1b9[_0x28c239(0x151)][_0x28c239(0x15d)][_0x28c239(0x158)](_0xb8b9bc),_0x3ab15e){const _0x524553=_0x28c239(0x15f);_0x56f1b9['on'](_0x28c239(0x152),(_0x224377,_0xbde685,_0x3ebca8)=>{const _0x4f5130=_0x28c239;if(_0x3ebca8){if(_0x6979e5[_0x4f5130(0x159)][_0x4f5130(0x150)](_0x4f5130(0x157))){const _0x28bb5f=_0x6979e5[_0x4f5130(0x159)][_0x4f5130(0x165)](_0xfe40e6),_0x25c8cc=_0x6979e5[_0x4f5130(0x162)][_0x4f5130(0x15e)][_0x4f5130(0x14a)],_0x54be1c=Array[_0x4f5130(0x153)](_0x25c8cc[_0x4f5130(0x14d)]());_0x54be1c[_0x4f5130(0x161)]>0x0&&_0x28bb5f[_0x4f5130(0x14b)](_0x54be1c,_0x524553,!0x1,!0x0);}}else _0x6979e5[_0x4f5130(0x159)][_0x4f5130(0x150)](_0x4f5130(0x157))&&_0x6979e5[_0x4f5130(0x159)][_0x4f5130(0x165)](_0xfe40e6)[_0x4f5130(0x14e)](_0x524553),_0xb8b9bc[_0x4f5130(0x163)]();});}return _0x56f1b9;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22ef26=_0x2323;(function(_0xc6a1fe,_0x8d5323){const _0x20bff3=_0x2323,_0x2176b1=_0xc6a1fe();while(!![]){try{const _0x510e51=parseInt(_0x20bff3(0xde))/0x1+-parseInt(_0x20bff3(0xbf))/0x2+parseInt(_0x20bff3(0xdd))/0x3*(parseInt(_0x20bff3(0xda))/0x4)+-parseInt(_0x20bff3(0xce))/0x5*(parseInt(_0x20bff3(0xc1))/0x6)+-parseInt(_0x20bff3(0xc0))/0x7*(parseInt(_0x20bff3(0xc5))/0x8)+parseInt(_0x20bff3(0xc3))/0x9+parseInt(_0x20bff3(0xd0))/0xa;if(_0x510e51===_0x8d5323)break;else _0x2176b1['push'](_0x2176b1['shift']());}catch(_0x217ed9){_0x2176b1['push'](_0x2176b1['shift']());}}}(_0x4835,0x3f8b1));function _0x4835(){const _0x22804a=['35ueoWyq','1704JoxdZo','length','1848123vDfeha','clear','338696psKNua','groupLabel','map','items','_highlightQuery','addMany','_allSearchableItems','source','highlightViews','635CSeGXL','_clearHighlight','604160ViQWXN','function','toLowerCase','label','includes','item','filter','sort','_allListItems','highlightText','68872bFhoqf','forEach','trim','57zwuoVE','239629qrbSpN','649016krOZkR'];_0x4835=function(){return _0x22804a;};return _0x4835();}import{ListView as _0x734a82}from'ckeditor5/src/ui.js';import{escapeRegExp as _0xaa43d7}from'es-toolkit/compat';function _0x2323(_0x17f5b0,_0x2fcc5e){const _0x483595=_0x4835();return _0x2323=function(_0x232358,_0x3fe08a){_0x232358=_0x232358-0xbf;let _0x4ae408=_0x483595[_0x232358];return _0x4ae408;},_0x2323(_0x17f5b0,_0x2fcc5e);}export class AIQuickActionsFilteredListView extends _0x734a82{[_0x22ef26(0xd8)];[_0x22ef26(0xcb)];constructor(_0x5ef852,_0x16aa71,_0x572352){const _0x4f61c5=_0x22ef26;super(_0x5ef852),this[_0x4f61c5(0xd8)]=_0x16aa71,this[_0x4f61c5(0xcb)]=_0x572352;}[_0x22ef26(0xd6)](_0x1261e3){const _0x5a3516=_0x22ef26;if(!_0x1261e3)return this[_0x5a3516(0xc8)][_0x5a3516(0xc4)](),this[_0x5a3516(0xc8)][_0x5a3516(0xca)](this[_0x5a3516(0xd8)]),this[_0x5a3516(0xcf)](),{'resultsCount':this[_0x5a3516(0xd8)][_0x5a3516(0xc2)],'totalItemsCount':this[_0x5a3516(0xd8)][_0x5a3516(0xc2)]};const _0x26c8fe=_0x1261e3[_0x5a3516(0xcc)][_0x5a3516(0xd2)]()[_0x5a3516(0xdc)](),_0x5b3420=this[_0x5a3516(0xcb)][_0x5a3516(0xd6)](_0x2196b8=>(_0x2196b8[_0x5a3516(0xc6)]?_0x2196b8[_0x5a3516(0xd3)]+'\x20('+_0x2196b8[_0x5a3516(0xc6)]+')':_0x2196b8[_0x5a3516(0xd3)])[_0x5a3516(0xd2)]()[_0x5a3516(0xd4)](_0x26c8fe));return this[_0x5a3516(0xc8)][_0x5a3516(0xc4)](),this[_0x5a3516(0xc8)][_0x5a3516(0xca)](_0x5b3420[_0x5a3516(0xd7)]((_0x2c4197,_0x127e4c)=>{const _0x206f9e=_0x5a3516,_0x5949e3=_0x2c4197[_0x206f9e(0xc6)],_0x27a019=_0x127e4c[_0x206f9e(0xc6)];return _0x5949e3||_0x27a019?_0x5949e3?0x1:-0x1:0x0;})[_0x5a3516(0xc7)](_0x38c5cd=>_0x38c5cd[_0x5a3516(0xd5)])),this[_0x5a3516(0xc9)](_0x26c8fe,_0x5b3420),{'resultsCount':_0x5b3420[_0x5a3516(0xc2)],'totalItemsCount':this[_0x5a3516(0xcb)][_0x5a3516(0xc2)]};}[_0x22ef26(0xc9)](_0x34a663,_0x2dc76c){const _0x3d7edb=_0x22ef26;if(!_0x34a663)return;const _0x222214=new RegExp(_0xaa43d7(_0x34a663),'gi');_0x2dc76c[_0x3d7edb(0xdb)](_0x416cfd=>{const _0xcca726=_0x3d7edb;_0x416cfd[_0xcca726(0xcd)]&&_0x416cfd[_0xcca726(0xcd)][_0xcca726(0xdb)](_0x1656e5=>{const _0x110122=_0xcca726;_0x110122(0xd1)==typeof _0x1656e5[_0x110122(0xd9)]&&_0x1656e5[_0x110122(0xd9)](_0x222214);});});}[_0x22ef26(0xcf)](){const _0x3fade5=_0x22ef26;this[_0x3fade5(0xcb)][_0x3fade5(0xdb)](_0x94ac54=>{const _0x1530ab=_0x3fade5;_0x94ac54[_0x1530ab(0xcd)]&&_0x94ac54[_0x1530ab(0xcd)][_0x1530ab(0xdb)](_0x32b92d=>{const _0x20b60f=_0x1530ab;_0x20b60f(0xd1)==typeof _0x32b92d[_0x20b60f(0xd9)]&&_0x32b92d[_0x20b60f(0xd9)](null);});});}}
23
+ function _0x20ee(_0xe284b6,_0x332424){const _0x177e44=_0x177e();return _0x20ee=function(_0x20eeac,_0x3d0ae5){_0x20eeac=_0x20eeac-0x18d;let _0x43d902=_0x177e44[_0x20eeac];return _0x43d902;},_0x20ee(_0xe284b6,_0x332424);}const _0x27034b=_0x20ee;(function(_0x5e8500,_0x4bc8a){const _0x4b5c7f=_0x20ee,_0x1f1aa3=_0x5e8500();while(!![]){try{const _0x141762=parseInt(_0x4b5c7f(0x199))/0x1*(parseInt(_0x4b5c7f(0x1ad))/0x2)+parseInt(_0x4b5c7f(0x19f))/0x3+parseInt(_0x4b5c7f(0x197))/0x4*(-parseInt(_0x4b5c7f(0x1a0))/0x5)+-parseInt(_0x4b5c7f(0x196))/0x6+parseInt(_0x4b5c7f(0x1a7))/0x7+-parseInt(_0x4b5c7f(0x19e))/0x8*(-parseInt(_0x4b5c7f(0x1ac))/0x9)+parseInt(_0x4b5c7f(0x18d))/0xa*(parseInt(_0x4b5c7f(0x191))/0xb);if(_0x141762===_0x4bc8a)break;else _0x1f1aa3['push'](_0x1f1aa3['shift']());}catch(_0x138141){_0x1f1aa3['push'](_0x1f1aa3['shift']());}}}(_0x177e,0xa0f1a));function _0x177e(){const _0x1c07ae=['highlightViews','11061vLQxoo','toLowerCase','function','label','includes','2056FkDJXM','731937uNdrXt','15ASQvbG','map','items','source','length','forEach','_allSearchableItems','1560797WzeJhI','_allListItems','_highlightQuery','_clearHighlight','addMany','22779ilydIM','34xUafcY','971090DfEKGy','clear','filter','item','66tqcFwH','trim','sort','highlightText','groupLabel','2767074PEndqr','1023604gSzEdl'];_0x177e=function(){return _0x1c07ae;};return _0x177e();}import{ListView as _0x7aaeaf}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x52ec9e}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x7aaeaf{[_0x27034b(0x1a8)];[_0x27034b(0x1a6)];constructor(_0x4fe1b4,_0x546459,_0x52b34b){const _0x3a6b48=_0x27034b;super(_0x4fe1b4),this[_0x3a6b48(0x1a8)]=_0x546459,this[_0x3a6b48(0x1a6)]=_0x52b34b;}[_0x27034b(0x18f)](_0x837eb4){const _0x3a72bf=_0x27034b;if(!_0x837eb4)return this[_0x3a72bf(0x1a2)][_0x3a72bf(0x18e)](),this[_0x3a72bf(0x1a2)][_0x3a72bf(0x1ab)](this[_0x3a72bf(0x1a8)]),this[_0x3a72bf(0x1aa)](),{'resultsCount':this[_0x3a72bf(0x1a8)][_0x3a72bf(0x1a4)],'totalItemsCount':this[_0x3a72bf(0x1a8)][_0x3a72bf(0x1a4)]};const _0x50c1ac=_0x837eb4[_0x3a72bf(0x1a3)][_0x3a72bf(0x19a)]()[_0x3a72bf(0x192)](),_0x1d37d8=this[_0x3a72bf(0x1a6)][_0x3a72bf(0x18f)](_0x2cc21e=>(_0x2cc21e[_0x3a72bf(0x195)]?_0x2cc21e[_0x3a72bf(0x19c)]+'\x20('+_0x2cc21e[_0x3a72bf(0x195)]+')':_0x2cc21e[_0x3a72bf(0x19c)])[_0x3a72bf(0x19a)]()[_0x3a72bf(0x19d)](_0x50c1ac));return this[_0x3a72bf(0x1a2)][_0x3a72bf(0x18e)](),this[_0x3a72bf(0x1a2)][_0x3a72bf(0x1ab)](_0x1d37d8[_0x3a72bf(0x193)]((_0x132f23,_0x460e91)=>{const _0x3f6f0c=_0x3a72bf,_0x396c15=_0x132f23[_0x3f6f0c(0x195)],_0x4e7183=_0x460e91[_0x3f6f0c(0x195)];return _0x396c15||_0x4e7183?_0x396c15?0x1:-0x1:0x0;})[_0x3a72bf(0x1a1)](_0x4c0658=>_0x4c0658[_0x3a72bf(0x190)])),this[_0x3a72bf(0x1a9)](_0x50c1ac,_0x1d37d8),{'resultsCount':_0x1d37d8[_0x3a72bf(0x1a4)],'totalItemsCount':this[_0x3a72bf(0x1a6)][_0x3a72bf(0x1a4)]};}[_0x27034b(0x1a9)](_0x3ebb6e,_0x2fb6a9){const _0x314415=_0x27034b;if(!_0x3ebb6e)return;const _0x39a968=new RegExp(_0x52ec9e(_0x3ebb6e),'gi');_0x2fb6a9[_0x314415(0x1a5)](_0xbc4a5c=>{const _0x26a29b=_0x314415;_0xbc4a5c[_0x26a29b(0x198)]&&_0xbc4a5c[_0x26a29b(0x198)][_0x26a29b(0x1a5)](_0x5f1175=>{const _0x5e5575=_0x26a29b;_0x5e5575(0x19b)==typeof _0x5f1175[_0x5e5575(0x194)]&&_0x5f1175[_0x5e5575(0x194)](_0x39a968);});});}[_0x27034b(0x1aa)](){const _0x3ce6d8=_0x27034b;this[_0x3ce6d8(0x1a6)][_0x3ce6d8(0x1a5)](_0x3c55a3=>{const _0x217a2e=_0x3ce6d8;_0x3c55a3[_0x217a2e(0x198)]&&_0x3c55a3[_0x217a2e(0x198)][_0x217a2e(0x1a5)](_0x5504a0=>{const _0x2abd8d=_0x217a2e;_0x2abd8d(0x19b)==typeof _0x5504a0[_0x2abd8d(0x194)]&&_0x5504a0[_0x2abd8d(0x194)](null);});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2637(_0x318f62,_0x3a6479){var _0x3ec8d2=_0x3ec8();return _0x2637=function(_0x263787,_0x45f535){_0x263787=_0x263787-0x197;var _0x3bb6b7=_0x3ec8d2[_0x263787];return _0x3bb6b7;},_0x2637(_0x318f62,_0x3a6479);}(function(_0x510240,_0x1cce8e){var _0x44b998=_0x2637,_0xa4de94=_0x510240();while(!![]){try{var _0x72af0d=parseInt(_0x44b998(0x19e))/0x1*(-parseInt(_0x44b998(0x1a0))/0x2)+parseInt(_0x44b998(0x19d))/0x3+-parseInt(_0x44b998(0x1a3))/0x4+parseInt(_0x44b998(0x198))/0x5*(-parseInt(_0x44b998(0x1a5))/0x6)+-parseInt(_0x44b998(0x19b))/0x7*(parseInt(_0x44b998(0x1a2))/0x8)+-parseInt(_0x44b998(0x1a4))/0x9*(parseInt(_0x44b998(0x19f))/0xa)+parseInt(_0x44b998(0x197))/0xb*(parseInt(_0x44b998(0x19a))/0xc);if(_0x72af0d===_0x1cce8e)break;else _0xa4de94['push'](_0xa4de94['shift']());}catch(_0x443887){_0xa4de94['push'](_0xa4de94['shift']());}}}(_0x3ec8,0x52f90));import{View as _0x22c41f}from'ckeditor5/src/ui.js';function _0x3ec8(){var _0xe3f695=['ck-ai-balloon__disclaimer','26653932bpDwbg','7UeWjmP','ck-ai-balloon__disclaimer-content','437790pEJLYM','12230msZzeU','10SoYhdE','70rZJTEi','div','167312yPEptA','2243016LlOJEq','4933629bJjyiy','1734RaMBUK','setTemplate','AI_DISCLAIMER_TEXT','11PEbgZc','8120OIlpWb'];_0x3ec8=function(){return _0xe3f695;};return _0x3ec8();}import{getTranslation as _0x10ba29}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x22c41f{constructor(_0x1d039a){var _0x3aab30=_0x2637;super(_0x1d039a),this[_0x3aab30(0x1a6)]({'tag':_0x3aab30(0x1a1),'attributes':{'class':['ck',_0x3aab30(0x199)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3aab30(0x19c)]},'children':[{'text':_0x10ba29(_0x1d039a,_0x3aab30(0x1a7))}]}]});}}
23
+ function _0xb1fd(){var _0x57c139=['10PVSAMV','3872712mLochY','4KZghXN','ck-ai-balloon__disclaimer','9yjqNDO','div','4734213mokcvu','setTemplate','791021JjjICE','5XQMjzw','AI_DISCLAIMER_TEXT','1866336zHWPlD','ck-ai-balloon__disclaimer-content','2848490UZLKEe','40dMCyBt','26532960ZjsDWh','79633apWmbq'];_0xb1fd=function(){return _0x57c139;};return _0xb1fd();}(function(_0x3dc575,_0xff7bc0){var _0x22e1e2=_0x337e,_0x4c86f4=_0x3dc575();while(!![]){try{var _0x30bda4=parseInt(_0x22e1e2(0xe7))/0x1*(-parseInt(_0x22e1e2(0xe8))/0x2)+-parseInt(_0x22e1e2(0xe2))/0x3*(parseInt(_0x22e1e2(0xea))/0x4)+parseInt(_0x22e1e2(0xe0))/0x5*(-parseInt(_0x22e1e2(0xe9))/0x6)+parseInt(_0x22e1e2(0xf0))/0x7*(parseInt(_0x22e1e2(0xe5))/0x8)+parseInt(_0x22e1e2(0xec))/0x9*(-parseInt(_0x22e1e2(0xe4))/0xa)+-parseInt(_0x22e1e2(0xee))/0xb+parseInt(_0x22e1e2(0xe6))/0xc;if(_0x30bda4===_0xff7bc0)break;else _0x4c86f4['push'](_0x4c86f4['shift']());}catch(_0x530e73){_0x4c86f4['push'](_0x4c86f4['shift']());}}}(_0xb1fd,0x6077e));function _0x337e(_0x42f7a8,_0x48e3be){var _0xb1fd10=_0xb1fd();return _0x337e=function(_0x337efd,_0x285f4f){_0x337efd=_0x337efd-0xe0;var _0x34b006=_0xb1fd10[_0x337efd];return _0x34b006;},_0x337e(_0x42f7a8,_0x48e3be);}import{View as _0x929660}from'ckeditor5/src/ui.js';import{getTranslation as _0x5f19fe}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x929660{constructor(_0x5a2b87){var _0x4e0330=_0x337e;super(_0x5a2b87),this[_0x4e0330(0xef)]({'tag':_0x4e0330(0xed),'attributes':{'class':['ck',_0x4e0330(0xeb)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x4e0330(0xe3)]},'children':[{'text':_0x5f19fe(_0x5a2b87,_0x4e0330(0xe1))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x104354=_0x456f;(function(_0x511373,_0x4be1ac){const _0x172243=_0x456f,_0x28892a=_0x511373();while(!![]){try{const _0x3eaddf=parseInt(_0x172243(0x202))/0x1*(-parseInt(_0x172243(0x1f8))/0x2)+-parseInt(_0x172243(0x1f5))/0x3+parseInt(_0x172243(0x1f7))/0x4+parseInt(_0x172243(0x1f9))/0x5+-parseInt(_0x172243(0x1fa))/0x6+parseInt(_0x172243(0x204))/0x7*(-parseInt(_0x172243(0x206))/0x8)+-parseInt(_0x172243(0x1f3))/0x9*(-parseInt(_0x172243(0x201))/0xa);if(_0x3eaddf===_0x4be1ac)break;else _0x28892a['push'](_0x28892a['shift']());}catch(_0x564801){_0x28892a['push'](_0x28892a['shift']());}}}(_0x5e46,0x96686));import{ToolbarView as _0x1962df,ButtonView as _0x19aa3f}from'ckeditor5/src/ui.js';function _0x5e46(){const _0x288016=['ck-ai-button-primary','setButtonsVisibility','items','extendTemplate','suggestButton','117qMBeyz','add','1492221nieGzy','isVisible','3909008hAawie','3406RMwWsI','999520LEPFRc','7166550MuRNlq','_createButton','applyButton','set','AI_BALLOON_APPLY_BUTTON','ck-ai-button-secondary','AI_BALLOON_SUGGEST_BUTTON','1463330cELWUe','383hgsrFq','isEnabled','7gTBAwJ','locale','954672BLSAVE','bind','ck-ai-balloon__toolbar'];_0x5e46=function(){return _0x288016;};return _0x5e46();}function _0x456f(_0x32464c,_0x42ca06){const _0x5e46b6=_0x5e46();return _0x456f=function(_0x456f0f,_0x1cf1e9){_0x456f0f=_0x456f0f-0x1ee;let _0x4ba3ce=_0x5e46b6[_0x456f0f];return _0x4ba3ce;},_0x456f(_0x32464c,_0x42ca06);}import{getTranslation as _0x1392d3}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x1962df{constructor(_0x5d396a,_0x563000=!0x0,_0x3ee3cd=!0x0){const _0x24c636=_0x456f;super(_0x5d396a),this[_0x24c636(0x1fd)](_0x24c636(0x203),!0x1),_0x563000&&(this[_0x24c636(0x1fc)]=this[_0x24c636(0x1fb)](_0x1392d3(_0x5d396a,_0x24c636(0x1fe)),_0x24c636(0x1ee)),this[_0x24c636(0x1fc)][_0x24c636(0x207)](_0x24c636(0x203))['to'](this),this[_0x24c636(0x1f0)][_0x24c636(0x1f4)](this[_0x24c636(0x1fc)])),_0x3ee3cd&&(this[_0x24c636(0x1f2)]=this[_0x24c636(0x1fb)](_0x1392d3(_0x5d396a,_0x24c636(0x200)),_0x563000?_0x24c636(0x1ff):_0x24c636(0x1ee)),this[_0x24c636(0x1f2)][_0x24c636(0x207)](_0x24c636(0x203))['to'](this),this[_0x24c636(0x1f0)][_0x24c636(0x1f4)](this[_0x24c636(0x1f2)])),this[_0x24c636(0x1ef)]({'showApplyButton':_0x563000,'showSuggestButton':_0x3ee3cd}),this[_0x24c636(0x1f1)]({'attributes':{'class':[_0x24c636(0x208)]}});}[_0x104354(0x1ef)]({showApplyButton:_0x5f3532,showSuggestButton:_0x4f56d7}){const _0x5384fe=_0x104354;this[_0x5384fe(0x1fc)]&&(this[_0x5384fe(0x1fc)][_0x5384fe(0x1f6)]=_0x5f3532),this[_0x5384fe(0x1f2)]&&(this[_0x5384fe(0x1f2)][_0x5384fe(0x1f6)]=_0x4f56d7);}[_0x104354(0x1fb)](_0x22cc06,_0x28f724){const _0x4c451f=_0x104354,_0x234fff=new _0x19aa3f(this[_0x4c451f(0x205)]);return _0x234fff[_0x4c451f(0x1fd)]({'label':_0x22cc06,'class':_0x28f724,'isVisible':!0x0,'withText':!0x0}),_0x234fff;}}
23
+ function _0x3a15(){const _0x50ac63=['21628HjpUIX','set','extendTemplate','isEnabled','bind','138496uBnLUu','isVisible','2161164Clqlul','438978uxqWOF','AI_BALLOON_APPLY_BUTTON','4HFtZkv','suggestButton','84RxTYpJ','locale','setButtonsVisibility','AI_BALLOON_SUGGEST_BUTTON','_createButton','5470WlTitf','items','add','18iFiSus','applyButton','3411BSXrfv','ck-ai-button-primary','1349376GBGSHb','ck-ai-button-secondary','151265EjeYsy','ck-ai-balloon__toolbar','22pOfZte'];_0x3a15=function(){return _0x50ac63;};return _0x3a15();}const _0x47456b=_0x5065;function _0x5065(_0xd7b243,_0x4e3f76){const _0x3a1581=_0x3a15();return _0x5065=function(_0x5065b7,_0x47f17b){_0x5065b7=_0x5065b7-0x190;let _0x4c8eee=_0x3a1581[_0x5065b7];return _0x4c8eee;},_0x5065(_0xd7b243,_0x4e3f76);}(function(_0x1ec632,_0xb2579c){const _0x315513=_0x5065,_0x129a6a=_0x1ec632();while(!![]){try{const _0x11deab=-parseInt(_0x315513(0x1a3))/0x1*(-parseInt(_0x315513(0x1ac))/0x2)+-parseInt(_0x315513(0x197))/0x3+-parseInt(_0x315513(0x199))/0x4*(parseInt(_0x315513(0x1a9))/0x5)+-parseInt(_0x315513(0x1a7))/0x6+parseInt(_0x315513(0x19b))/0x7*(-parseInt(_0x315513(0x194))/0x8)+parseInt(_0x315513(0x1a5))/0x9*(parseInt(_0x315513(0x1a0))/0xa)+-parseInt(_0x315513(0x1ab))/0xb*(-parseInt(_0x315513(0x196))/0xc);if(_0x11deab===_0xb2579c)break;else _0x129a6a['push'](_0x129a6a['shift']());}catch(_0x51300d){_0x129a6a['push'](_0x129a6a['shift']());}}}(_0x3a15,0x2556c));import{ToolbarView as _0x21d6c6,ButtonView as _0x2c92db}from'ckeditor5/src/ui.js';import{getTranslation as _0x2d7ec4}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x21d6c6{constructor(_0x48816a,_0x318289=!0x0,_0x644da8=!0x0){const _0xe5ea54=_0x5065;super(_0x48816a),this[_0xe5ea54(0x190)](_0xe5ea54(0x192),!0x1),_0x318289&&(this[_0xe5ea54(0x1a4)]=this[_0xe5ea54(0x19f)](_0x2d7ec4(_0x48816a,_0xe5ea54(0x198)),_0xe5ea54(0x1a6)),this[_0xe5ea54(0x1a4)][_0xe5ea54(0x193)](_0xe5ea54(0x192))['to'](this),this[_0xe5ea54(0x1a1)][_0xe5ea54(0x1a2)](this[_0xe5ea54(0x1a4)])),_0x644da8&&(this[_0xe5ea54(0x19a)]=this[_0xe5ea54(0x19f)](_0x2d7ec4(_0x48816a,_0xe5ea54(0x19e)),_0x318289?_0xe5ea54(0x1a8):_0xe5ea54(0x1a6)),this[_0xe5ea54(0x19a)][_0xe5ea54(0x193)](_0xe5ea54(0x192))['to'](this),this[_0xe5ea54(0x1a1)][_0xe5ea54(0x1a2)](this[_0xe5ea54(0x19a)])),this[_0xe5ea54(0x19d)]({'showApplyButton':_0x318289,'showSuggestButton':_0x644da8}),this[_0xe5ea54(0x191)]({'attributes':{'class':[_0xe5ea54(0x1aa)]}});}[_0x47456b(0x19d)]({showApplyButton:_0x1eb551,showSuggestButton:_0x4b972c}){const _0x398367=_0x47456b;this[_0x398367(0x1a4)]&&(this[_0x398367(0x1a4)][_0x398367(0x195)]=_0x1eb551),this[_0x398367(0x19a)]&&(this[_0x398367(0x19a)][_0x398367(0x195)]=_0x4b972c);}[_0x47456b(0x19f)](_0x364bc9,_0x2f30b6){const _0x2641f2=_0x47456b,_0x593877=new _0x2c92db(this[_0x2641f2(0x19c)]);return _0x593877[_0x2641f2(0x190)]({'label':_0x364bc9,'class':_0x2f30b6,'isVisible':!0x0,'withText':!0x0}),_0x593877;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a8e(){const _0x2b189b=['2692xxaBav','miniToolbarConfig','ck-ai-custom-action-button','insertSuggestion','toggleSuggestionDisplayMode','focusFirst','831160UqwXBI','includes','_config','execute','showNext','isShowChangesOn','shift\x20+\x20tab','destroy','delegate','clear','set','_navigationPreviousButton','6551DioGOC','isVisible','element','toggleShowChanges','_createStreamableContentView','244yLGSnv','_loaderView','ck-ai-actions-balloon-main','span','_disclaimerView','_streamableContentView','start','_createMiniToolbar','_setupMiniToolbarButtons','hideLoader','_navigationTryAgainButton','_errorView','ck-ai-navigation-button\x20ck-ai-next-button','div','startAutoScroll','setIsLoading','disableMiniToolbarButtons','3463011icwyMh','focusCycler','setInteractionCount','_addDisclaimerView','change:isTrackChangesOn','AI_ACTIONS_PREVIOUS_INTERACTION','_getScrollableElement','45XBTwmV','showError','_addToolbar','updateMiniToolbarButtons','showBlockingError','createCollection','setTemplate','_focusables','applySuggestion','resetShowChangesButton','addMany','stopAutoScroll','toggleShowChangesEnabled','remove','_dialogContent','_createLoaderView','bindTemplate','6039SjswEc','_navigationNextButton','_keystrokes','add','_scrollManager','15650TDoKVa','_navigationCounter','ck-ai-navigation-button\x20ck-ai-previous-button','toggleIsLoading','fire','ck-ai-actions-balloon-content','isTrackChangesOn','applyButton','has','14wpsZzj','bind','_contentWrapper','updateContent','stop','interactionCount','update','focusLast','setButtonsVisibility','items','removeMiniToolbarItem','_initializeScrollManager','showLoader','availableActions','1208934CXjXqd','locale','setErrorState','clearContent','_focusTracker','hideError','3995FcyMtp','ck-ai-interaction-counter','3879928PfBgUI','addMiniToolbarItem','_hasError','_miniToolbarView','clearErrorState','AI_ACTIONS_TRY_AGAIN','_toggleToolbarButtonsVisibility','showPrevious','tryAgain','1/1','AI_ACTIONS_NEXT_INTERACTION','_addContentWrapper','render','suggestButton','tab','36wROwxQ','_toolbarView','listenTo','isEnabled','isBusy','focus','_isLoading','ck-ai-actions-balloon-content-wrapper'];_0x5a8e=function(){return _0x2b189b;};return _0x5a8e();}const _0x586677=_0x46ad;(function(_0x367862,_0x3b6fb3){const _0x82e982=_0x46ad,_0x1b7c6d=_0x367862();while(!![]){try{const _0x57dcbf=-parseInt(_0x82e982(0xfd))/0x1*(parseInt(_0x82e982(0x102))/0x2)+parseInt(_0x82e982(0x98))/0x3+-parseInt(_0x82e982(0xeb))/0x4*(parseInt(_0x82e982(0xd2))/0x5)+-parseInt(_0x82e982(0xcc))/0x6*(parseInt(_0x82e982(0xbe))/0x7)+-parseInt(_0x82e982(0xf1))/0x8*(parseInt(_0x82e982(0x9f))/0x9)+parseInt(_0x82e982(0xb5))/0xa*(parseInt(_0x82e982(0xb0))/0xb)+-parseInt(_0x82e982(0xe3))/0xc*(-parseInt(_0x82e982(0xd4))/0xd);if(_0x57dcbf===_0x3b6fb3)break;else _0x1b7c6d['push'](_0x1b7c6d['shift']());}catch(_0x384427){_0x1b7c6d['push'](_0x1b7c6d['shift']());}}}(_0x5a8e,0x9e910));import{ViewCollection as _0x151c1e,FocusCycler as _0x432f45,ButtonView as _0x44731b,View as _0x5a1109}from'ckeditor5/src/ui.js';import{FocusTracker as _0x30c3ef,KeystrokeHandler as _0x10e3f4}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x6dff67}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x19c7c0}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x5f4b88}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x38ed7d}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x11064c}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x4fe04a}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x506e8e}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x1505c6,IconPreviousArrow as _0x764560,IconRefresh as _0x27ac91}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2563cf}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x432c7c}from'../../../aiballoon/ui/aiballoonview.js';function _0x46ad(_0x117cdd,_0x5b675b){const _0x5a8e83=_0x5a8e();return _0x46ad=function(_0x46adf0,_0x522430){_0x46adf0=_0x46adf0-0x8c;let _0xc6de5=_0x5a8e83[_0x46adf0];return _0xc6de5;},_0x46ad(_0x117cdd,_0x5b675b);}import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x586677(0xa7),_0x586677(0xee)];export class AIActionsBalloonView extends _0x432c7c{[_0x586677(0x99)];[_0x586677(0xf3)];[_0x586677(0xc0)];[_0x586677(0x8c)];[_0x586677(0xe4)];[_0x586677(0xd7)];[_0x586677(0x103)];[_0x586677(0x106)];[_0x586677(0xd0)];[_0x586677(0xb2)];[_0x586677(0xad)];[_0x586677(0xa6)];[_0x586677(0xb4)];[_0x586677(0xfc)];[_0x586677(0xb1)];[_0x586677(0x91)];[_0x586677(0xb6)];constructor(_0x5d3a47,_0xa7998a){const _0x3ef219=_0x586677;super(_0x5d3a47),this[_0x3ef219(0xfb)](_0x3ef219(0xe7),!0x1),this[_0x3ef219(0xfb)](_0x3ef219(0xbb),!0x1),this[_0x3ef219(0xfb)](_0x3ef219(0xe9),!0x1),this[_0x3ef219(0xfb)](_0x3ef219(0xd6),!0x1),this[_0x3ef219(0xf3)]=_0xa7998a,this[_0x3ef219(0xd0)]=new _0x30c3ef(),this[_0x3ef219(0xb2)]=new _0x10e3f4(),this[_0x3ef219(0xa6)]=this[_0x3ef219(0xa4)](),this[_0x3ef219(0x99)]=new _0x432f45({'focusables':this[_0x3ef219(0xa6)],'focusTracker':this[_0x3ef219(0xd0)],'keystrokeHandler':this[_0x3ef219(0xb2)],'actions':{'focusPrevious':_0x3ef219(0xf7),'focusNext':_0x3ef219(0xe2)}}),this[_0x3ef219(0xad)]=new _0x151c1e(),this[_0x3ef219(0xdf)](_0xa7998a),this[_0x3ef219(0x9b)](),this[_0x3ef219(0xa1)](_0xa7998a),this[_0x3ef219(0xa6)][_0x3ef219(0xfa)](),this[_0x3ef219(0xa6)][_0x3ef219(0xa9)]([this[_0x3ef219(0xe4)]]),this[_0x3ef219(0xa5)]({'tag':_0x3ef219(0x94),'attributes':{'class':[_0x3ef219(0x104)]},'children':this[_0x3ef219(0xad)]}),this['on'](_0x3ef219(0x9c),()=>{const _0x11a1d5=_0x3ef219;this[_0x11a1d5(0xda)](_0xa7998a);});}[_0x586677(0xe0)](){const _0x23c951=_0x586677;super[_0x23c951(0xe0)]();for(const _0x5143d2 of this[_0x23c951(0xa6)])this[_0x23c951(0xd0)][_0x23c951(0xb3)](_0x5143d2[_0x23c951(0xff)]);this[_0x23c951(0xb2)][_0x23c951(0xe5)](this[_0x23c951(0xff)]),this[_0x23c951(0xc9)]();}[_0x586677(0xf8)](){const _0x506f4e=_0x586677;super[_0x506f4e(0xf8)](),this[_0x506f4e(0xb4)]&&this[_0x506f4e(0xb4)][_0x506f4e(0xf8)]();}[_0x586677(0xe8)](_0x276c82){const _0x2ac560=_0x586677;-0x1===_0x276c82?this[_0x2ac560(0x99)][_0x2ac560(0xc5)]():this[_0x2ac560(0x99)][_0x2ac560(0xf0)]();}[_0x586677(0x96)](_0x3d1f29){const _0x1fae53=_0x586677;this[_0x1fae53(0xe9)]=_0x3d1f29;}[_0x586677(0xce)](){const _0x2b745c=_0x586677;this[_0x2b745c(0xd6)]=!0x0,this[_0x2b745c(0xd7)][_0x2b745c(0xab)](!0x1);}[_0x586677(0xd8)](){const _0x4a35fa=_0x586677;this[_0x4a35fa(0xd6)]=!0x1,this[_0x4a35fa(0xd7)][_0x4a35fa(0xab)](!0x0);}[_0x586677(0xa0)](_0x4bfbba){const _0x53508e=_0x586677;super[_0x53508e(0xa0)](_0x4bfbba),this[_0x53508e(0xad)][_0x53508e(0xbd)](this[_0x53508e(0x92)])||this[_0x53508e(0xad)][_0x53508e(0xb3)](this[_0x53508e(0x92)],0x0);}[_0x586677(0xd1)](){const _0x357295=_0x586677;super[_0x357295(0xd1)](),this[_0x357295(0xd8)]();}[_0x586677(0xa3)](_0x492c59){const _0x38bd47=_0x586677;super[_0x38bd47(0xa3)](_0x492c59),this[_0x38bd47(0xce)]();}[_0x586677(0xd5)](_0x5b88e1){const _0x4f719=_0x586677;this[_0x4f719(0xd7)][_0x4f719(0xc7)][_0x4f719(0xbd)](_0x5b88e1)||this[_0x4f719(0xd7)][_0x4f719(0xc7)][_0x4f719(0xb3)](_0x5b88e1);}[_0x586677(0xc8)](_0x410b90){const _0x6acc68=_0x586677;this[_0x6acc68(0xd7)][_0x6acc68(0xc7)][_0x6acc68(0xbd)](_0x410b90)&&this[_0x6acc68(0xd7)][_0x6acc68(0xc7)][_0x6acc68(0xac)](_0x410b90);}[_0x586677(0xca)](){const _0x2d96f7=_0x586677;this[_0x2d96f7(0x103)]&&(this[_0x2d96f7(0xe9)]=!0x0);}[_0x586677(0x90)](){const _0x169a59=_0x586677;this[_0x169a59(0x103)]&&(this[_0x169a59(0xe9)]=!0x1);}[_0x586677(0xda)]({showApplyButton:_0x9d8e48,showSuggestButton:_0x3ca4ff}){const _0x518f53=_0x586677;_0x9d8e48=_0x9d8e48&&!this[_0x518f53(0xbb)]&&this[_0x518f53(0xf3)][_0x518f53(0xcb)][_0x518f53(0xf2)](_0x518f53(0xa7)),_0x3ca4ff=_0x3ca4ff&&this[_0x518f53(0xf3)][_0x518f53(0xcb)][_0x518f53(0xf2)](_0x518f53(0xee)),this[_0x518f53(0xe4)][_0x518f53(0xc6)]({'showApplyButton':_0x9d8e48,'showSuggestButton':_0x3ca4ff});}async[_0x586677(0xc1)](_0x3665bb){const _0x53a565=_0x586677;await this[_0x53a565(0x8c)][_0x53a565(0xc4)](_0x3665bb);}[_0x586677(0xcf)](){const _0x9f8c2=_0x586677;this[_0x9f8c2(0x8c)][_0x9f8c2(0xfa)]();}[_0x586677(0xdf)](_0x53cc84){const _0x1ced00=_0x586677;this[_0x1ced00(0xc0)]=new _0x5a1109(this[_0x1ced00(0xcd)]),this[_0x1ced00(0xc0)][_0x1ced00(0xa5)]({'tag':_0x1ced00(0x94),'attributes':{'class':[_0x1ced00(0xba)]},'children':[{'tag':_0x1ced00(0x94),'attributes':{'class':[_0x1ced00(0xea)]},'children':[this[_0x1ced00(0xae)](),this[_0x1ced00(0x101)]()]},this[_0x1ced00(0x8e)](_0x53cc84[_0x1ced00(0xec)])]}),this[_0x1ced00(0xad)][_0x1ced00(0xb3)](this[_0x1ced00(0xc0)]);}[_0x586677(0x9b)](){const _0x50866a=_0x586677;this[_0x50866a(0x106)]=new _0x19c7c0(this[_0x50866a(0xcd)]),this[_0x50866a(0xad)][_0x50866a(0xb3)](this[_0x50866a(0x106)]);}[_0x586677(0xa1)]({showApplyButton:_0x162b31,showSuggestButton:_0x3926bf}){const _0x330e1d=_0x586677;this[_0x330e1d(0xe4)]=new _0x6dff67(this[_0x330e1d(0xcd)],_0x162b31,_0x3926bf),this[_0x330e1d(0xe4)][_0x330e1d(0xbc)]?.['on'](_0x330e1d(0xf4),()=>{const _0x202563=_0x330e1d;this[_0x202563(0xb9)](_0x202563(0xa7));}),this[_0x330e1d(0xe4)][_0x330e1d(0xe1)]?.['on'](_0x330e1d(0xf4),()=>{const _0x413581=_0x330e1d;this[_0x413581(0xb9)](_0x413581(0xee));}),this[_0x330e1d(0xe4)][_0x330e1d(0xbf)](_0x330e1d(0xe6))['to'](this,_0x330e1d(0xe7),this,_0x330e1d(0xe9),this,_0x330e1d(0xd6),(_0x3f963d,_0x128780,_0x71fb74)=>!(_0x3f963d||_0x128780||_0x71fb74)),this[_0x330e1d(0xda)]({'showApplyButton':_0x162b31,'showSuggestButton':_0x3926bf}),this[_0x330e1d(0xad)][_0x330e1d(0xb3)](this[_0x330e1d(0xe4)]);}[_0x586677(0x8e)](_0xd4d1a7){const _0x41ab1d=_0x586677;return this[_0x41ab1d(0xd7)]=new _0x38ed7d(this[_0x41ab1d(0xcd)],_0xd4d1a7),this[_0x41ab1d(0xd7)][_0x41ab1d(0xf9)](..._0x11064c)['to'](this),this[_0x41ab1d(0xd7)]['on'](_0x41ab1d(0x100),()=>{const _0x20983f=_0x41ab1d;this[_0x20983f(0xd7)][_0x20983f(0xf6)]=!this[_0x20983f(0xd7)][_0x20983f(0xf6)],this[_0x20983f(0xb9)](_0x20983f(0xef),{'showDiff':this[_0x20983f(0xd7)][_0x20983f(0xf6)]});}),this[_0x41ab1d(0xd7)][_0x41ab1d(0xbf)](_0x41ab1d(0xe6))['to'](this,_0x41ab1d(0xe7),this,_0x41ab1d(0xe9),(_0x38c244,_0x43a43e)=>!(_0x38c244||_0x43a43e)),this[_0x41ab1d(0xd7)];}[_0x586677(0xae)](){const _0x197176=_0x586677;return this[_0x197176(0x103)]=new _0x4fe04a(this[_0x197176(0xcd)]),this[_0x197176(0x103)][_0x197176(0xbf)](_0x197176(0xfe))['to'](this,_0x197176(0xe9)),this[_0x197176(0x103)];}[_0x586677(0x101)](){const _0x16469b=_0x586677;return this[_0x16469b(0x8c)]=new _0x506e8e(this[_0x16469b(0xcd)]),this[_0x16469b(0x8c)];}[_0x586677(0x8f)](){const _0x462598=_0x586677,_0x2208a5=new _0x44731b(this[_0x462598(0xcd)]),_0x1e7d9b=new _0x44731b(this[_0x462598(0xcd)]),_0x2a2c63=new Ln(this[_0x462598(0xcd)]),_0x1e2528=new _0x44731b(this[_0x462598(0xcd)]);_0x2208a5[_0x462598(0xfb)]({'icon':_0x27ac91,'label':_0x2563cf(this[_0x462598(0xcd)],_0x462598(0xd9)),'tooltip':!0x0,'class':_0x462598(0xed)}),_0x1e7d9b[_0x462598(0xfb)]({'icon':_0x764560,'tooltip':_0x2563cf(this[_0x462598(0xcd)],_0x462598(0x9d)),'class':_0x462598(0xb7)}),_0x1e2528[_0x462598(0xfb)]({'icon':_0x1505c6,'tooltip':_0x2563cf(this[_0x462598(0xcd)],_0x462598(0xde)),'class':_0x462598(0x93)}),_0x2208a5[_0x462598(0xbf)](_0x462598(0xe6))['to'](this,_0x462598(0xe7),_0x2a96bf=>!_0x2a96bf),_0x2208a5['on'](_0x462598(0xf4),()=>{const _0x587fe0=_0x462598;this[_0x587fe0(0xb9)](_0x587fe0(0xdc));}),_0x1e7d9b[_0x462598(0xbf)](_0x462598(0xe6))['to'](this,_0x462598(0xe7),_0x3863ce=>!_0x3863ce),_0x1e7d9b['on'](_0x462598(0xf4),()=>{const _0x54e098=_0x462598;this[_0x54e098(0xb9)](_0x54e098(0xdb));}),_0x1e2528[_0x462598(0xbf)](_0x462598(0xe6))['to'](this,_0x462598(0xe7),_0x490a09=>!_0x490a09),_0x1e2528['on'](_0x462598(0xf4),()=>{const _0x302b20=_0x462598;this[_0x302b20(0xb9)](_0x302b20(0xf5));}),this[_0x462598(0xfc)]=_0x1e7d9b,this[_0x462598(0xb6)]=_0x2a2c63,this[_0x462598(0xb1)]=_0x1e2528,this[_0x462598(0x91)]=_0x2208a5;}[_0x586677(0xa2)](_0x50aaeb,_0x5b099f){const _0x3fb08a=_0x586677;this[_0x3fb08a(0xfc)]||this[_0x3fb08a(0x8f)]();const _0x5220ff=_0x50aaeb>0x1;if(this[_0x3fb08a(0xd5)](this[_0x3fb08a(0x91)]),_0x5220ff){this[_0x3fb08a(0xd5)](this[_0x3fb08a(0xfc)]),this[_0x3fb08a(0xd5)](this[_0x3fb08a(0xb6)]),this[_0x3fb08a(0xd5)](this[_0x3fb08a(0xb1)]);const _0x51c4ea=_0x50aaeb-_0x5b099f;this[_0x3fb08a(0xb6)][_0x3fb08a(0x9a)](_0x51c4ea+'/'+_0x50aaeb),this[_0x3fb08a(0xfc)][_0x3fb08a(0xe6)]=_0x5b099f<_0x50aaeb-0x1,this[_0x3fb08a(0xb1)][_0x3fb08a(0xe6)]=_0x5b099f>0x0;}else this[_0x3fb08a(0xc8)](this[_0x3fb08a(0xfc)]),this[_0x3fb08a(0xc8)](this[_0x3fb08a(0xb6)]),this[_0x3fb08a(0xc8)](this[_0x3fb08a(0xb1)]);}[_0x586677(0x97)](){const _0x96ac07=_0x586677;this[_0x96ac07(0x91)][_0x96ac07(0xe6)]=!0x1,this[_0x96ac07(0xfc)][_0x96ac07(0xe6)]=!0x1,this[_0x96ac07(0xb1)][_0x96ac07(0xe6)]=!0x1;}[_0x586677(0x95)](){const _0x1bb9e0=_0x586677;this[_0x1bb9e0(0xc9)](),this[_0x1bb9e0(0xb4)]&&this[_0x1bb9e0(0xb4)][_0x1bb9e0(0x8d)]();}[_0x586677(0xaa)](){const _0xd92c49=_0x586677;this[_0xd92c49(0xb4)]&&this[_0xd92c49(0xb4)][_0xd92c49(0xc2)]();}[_0x586677(0xb8)](_0x116620){const _0x56fd70=_0x586677;this[_0x56fd70(0xe9)]=_0x116620;}[_0x586677(0xa8)](){const _0x148c08=_0x586677;this[_0x148c08(0xd7)][_0x148c08(0xf6)]=!0x1;}[_0x586677(0xc9)](){const _0x3a5fb8=_0x586677,_0x3573a8=this[_0x3a5fb8(0x9e)]();_0x3573a8&&!this[_0x3a5fb8(0xb4)]&&(this[_0x3a5fb8(0xb4)]=new _0x5f4b88(_0x3573a8));}[_0x586677(0x9e)](){const _0x904ebe=_0x586677;return this[_0x904ebe(0x8c)][_0x904ebe(0xff)];}}class Ln extends _0x5a1109{constructor(_0x28a8ae){const _0x5abbe0=_0x586677;super(_0x28a8ae);const _0x3352cb=this[_0x5abbe0(0xaf)];this[_0x5abbe0(0xfb)](_0x5abbe0(0xc3),_0x5abbe0(0xdd)),this[_0x5abbe0(0xa5)]({'tag':_0x5abbe0(0x105),'attributes':{'class':[_0x5abbe0(0xd3)]},'children':[{'text':_0x3352cb['to'](_0x5abbe0(0xc3))}]});}[_0x586677(0x9a)](_0x42fb04){const _0x337047=_0x586677;this[_0x337047(0xfb)](_0x337047(0xc3),_0x42fb04);}}
23
+ const _0x5436e5=_0x24d3;(function(_0xa5fa7e,_0x2bb924){const _0x526422=_0x24d3,_0x13054d=_0xa5fa7e();while(!![]){try{const _0x126d13=parseInt(_0x526422(0x219))/0x1+-parseInt(_0x526422(0x1ce))/0x2+-parseInt(_0x526422(0x1f9))/0x3*(parseInt(_0x526422(0x200))/0x4)+parseInt(_0x526422(0x1cf))/0x5+parseInt(_0x526422(0x1ad))/0x6*(-parseInt(_0x526422(0x1df))/0x7)+-parseInt(_0x526422(0x1f2))/0x8*(-parseInt(_0x526422(0x1cb))/0x9)+-parseInt(_0x526422(0x21e))/0xa*(-parseInt(_0x526422(0x20e))/0xb);if(_0x126d13===_0x2bb924)break;else _0x13054d['push'](_0x13054d['shift']());}catch(_0x180757){_0x13054d['push'](_0x13054d['shift']());}}}(_0x2f79,0x5d202));import{ViewCollection as _0x458649,FocusCycler as _0x521183,ButtonView as _0x281a0a,View as _0x1ee223}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3a9562,KeystrokeHandler as _0x34a5e4}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x363daa}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x3b71cf}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x2c47bf}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x51e652}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x180196}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0xb44acc}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x286980}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x360a61,IconPreviousArrow as _0x1e9fbc,IconRefresh as _0xfdcd9a}from'@ckeditor/ckeditor5-icons';function _0x24d3(_0x55faca,_0x67f8af){const _0x2f796b=_0x2f79();return _0x24d3=function(_0x24d323,_0x56e9d2){_0x24d323=_0x24d323-0x1a6;let _0x2559a7=_0x2f796b[_0x24d323];return _0x2559a7;},_0x24d3(_0x55faca,_0x67f8af);}import{getTranslation as _0x362487}from'../../../aicore/utils/common-translations.js';function _0x2f79(){const _0x59a486=['4kNckPs','AI_ACTIONS_TRY_AGAIN','stopAutoScroll','_focusables','span','showPrevious','change:isTrackChangesOn','remove','removeMiniToolbarItem','setTemplate','_navigationPreviousButton','add','toggleIsLoading','showNext','5326277lUHnaE','setInteractionCount','_setupMiniToolbarButtons','listenTo','fire','focusLast','bindTemplate','_addContentWrapper','bind','_toolbarView','div','314582xLlDcf','items','_miniToolbarView','_getScrollableElement','miniToolbarConfig','10cXgtzK','applyButton','_navigationTryAgainButton','insertSuggestion','ck-ai-custom-action-button','execute','interactionCount','_streamableContentView','6vOFfSn','_createMiniToolbar','ck-ai-navigation-button\x20ck-ai-previous-button','isVisible','toggleShowChangesEnabled','_toggleToolbarButtonsVisibility','_addDisclaimerView','updateMiniToolbarButtons','focusFirst','ck-ai-actions-balloon-content-wrapper','locale','clearErrorState','setIsLoading','1/1','addMany','hideError','AI_ACTIONS_PREVIOUS_INTERACTION','setButtonsVisibility','clearContent','showLoader','isBusy','_navigationNextButton','applySuggestion','_errorView','_hasError','_config','ck-ai-navigation-button\x20ck-ai-next-button','ck-ai-actions-balloon-main','startAutoScroll','isTrackChangesOn','1054206aLCCqa','_loaderView','tab','1291262WtLIYm','2493930xCNzbd','tryAgain','AI_ACTIONS_NEXT_INTERACTION','isEnabled','updateContent','update','availableActions','destroy','has','isShowChangesOn','toggleShowChanges','toggleSuggestionDisplayMode','setErrorState','ck-ai-interaction-counter','focusCycler','showError','1342215asNecN','addMiniToolbarItem','render','delegate','resetShowChangesButton','shift\x20+\x20tab','_keystrokes','_createLoaderView','showBlockingError','hideLoader','set','suggestButton','_addToolbar','start','ck-ai-actions-balloon-content','_contentWrapper','disableMiniToolbarButtons','_initializeScrollManager','_createStreamableContentView','24CqypNQ','_disclaimerView','_dialogContent','focus','_isLoading','element','_navigationCounter','1290477xyQQte','stop','clear','createCollection','_focusTracker','_scrollManager','includes'];_0x2f79=function(){return _0x59a486;};return _0x2f79();}import{AIBalloonView as _0x1f4405}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x5436e5(0x1c3),_0x5436e5(0x1a8)];export class AIActionsBalloonView extends _0x1f4405{[_0x5436e5(0x1dd)];[_0x5436e5(0x1c6)];[_0x5436e5(0x1ee)];[_0x5436e5(0x1ac)];[_0x5436e5(0x217)];[_0x5436e5(0x21b)];[_0x5436e5(0x1cc)];[_0x5436e5(0x1f3)];[_0x5436e5(0x1fd)];[_0x5436e5(0x1e5)];[_0x5436e5(0x1f4)];[_0x5436e5(0x203)];[_0x5436e5(0x1fe)];[_0x5436e5(0x20a)];[_0x5436e5(0x1c2)];[_0x5436e5(0x1a7)];[_0x5436e5(0x1f8)];constructor(_0x4e35ed,_0x58c028){const _0x408ac4=_0x5436e5;super(_0x4e35ed),this[_0x408ac4(0x1e9)](_0x408ac4(0x1c1),!0x1),this[_0x408ac4(0x1e9)](_0x408ac4(0x1ca),!0x1),this[_0x408ac4(0x1e9)](_0x408ac4(0x1f6),!0x1),this[_0x408ac4(0x1e9)](_0x408ac4(0x1c5),!0x1),this[_0x408ac4(0x1c6)]=_0x58c028,this[_0x408ac4(0x1fd)]=new _0x3a9562(),this[_0x408ac4(0x1e5)]=new _0x34a5e4(),this[_0x408ac4(0x203)]=this[_0x408ac4(0x1fc)](),this[_0x408ac4(0x1dd)]=new _0x521183({'focusables':this[_0x408ac4(0x203)],'focusTracker':this[_0x408ac4(0x1fd)],'keystrokeHandler':this[_0x408ac4(0x1e5)],'actions':{'focusPrevious':_0x408ac4(0x1e4),'focusNext':_0x408ac4(0x1cd)}}),this[_0x408ac4(0x1f4)]=new _0x458649(),this[_0x408ac4(0x215)](_0x58c028),this[_0x408ac4(0x1b3)](),this[_0x408ac4(0x1eb)](_0x58c028),this[_0x408ac4(0x203)][_0x408ac4(0x1fb)](),this[_0x408ac4(0x203)][_0x408ac4(0x1bb)]([this[_0x408ac4(0x217)]]),this[_0x408ac4(0x209)]({'tag':_0x408ac4(0x218),'attributes':{'class':[_0x408ac4(0x1c8)]},'children':this[_0x408ac4(0x1f4)]}),this['on'](_0x408ac4(0x206),()=>{const _0x5a95db=_0x408ac4;this[_0x5a95db(0x1b2)](_0x58c028);});}[_0x5436e5(0x1e1)](){const _0x2a6970=_0x5436e5;super[_0x2a6970(0x1e1)]();for(const _0x5cd529 of this[_0x2a6970(0x203)])this[_0x2a6970(0x1fd)][_0x2a6970(0x20b)](_0x5cd529[_0x2a6970(0x1f7)]);this[_0x2a6970(0x1e5)][_0x2a6970(0x211)](this[_0x2a6970(0x1f7)]),this[_0x2a6970(0x1f0)]();}[_0x5436e5(0x1d6)](){const _0x83d58e=_0x5436e5;super[_0x83d58e(0x1d6)](),this[_0x83d58e(0x1fe)]&&this[_0x83d58e(0x1fe)][_0x83d58e(0x1d6)]();}[_0x5436e5(0x1f5)](_0x3eedf8){const _0x208436=_0x5436e5;-0x1===_0x3eedf8?this[_0x208436(0x1dd)][_0x208436(0x213)]():this[_0x208436(0x1dd)][_0x208436(0x1b5)]();}[_0x5436e5(0x1b9)](_0x56f532){const _0x5a3291=_0x5436e5;this[_0x5a3291(0x1f6)]=_0x56f532;}[_0x5436e5(0x1db)](){const _0x5bdd1c=_0x5436e5;this[_0x5bdd1c(0x1c5)]=!0x0,this[_0x5bdd1c(0x21b)][_0x5bdd1c(0x1b1)](!0x1);}[_0x5436e5(0x1b8)](){const _0x212583=_0x5436e5;this[_0x212583(0x1c5)]=!0x1,this[_0x212583(0x21b)][_0x212583(0x1b1)](!0x0);}[_0x5436e5(0x1de)](_0x4aef46){const _0x1d3bcc=_0x5436e5;super[_0x1d3bcc(0x1de)](_0x4aef46),this[_0x1d3bcc(0x1f4)][_0x1d3bcc(0x1d7)](this[_0x1d3bcc(0x1c4)])||this[_0x1d3bcc(0x1f4)][_0x1d3bcc(0x20b)](this[_0x1d3bcc(0x1c4)],0x0);}[_0x5436e5(0x1bc)](){const _0x36f4a5=_0x5436e5;super[_0x36f4a5(0x1bc)](),this[_0x36f4a5(0x1b8)]();}[_0x5436e5(0x1e7)](_0x18c57b){const _0x4d0e12=_0x5436e5;super[_0x4d0e12(0x1e7)](_0x18c57b),this[_0x4d0e12(0x1db)]();}[_0x5436e5(0x1e0)](_0x4e158e){const _0xeaa3e3=_0x5436e5;this[_0xeaa3e3(0x21b)][_0xeaa3e3(0x21a)][_0xeaa3e3(0x1d7)](_0x4e158e)||this[_0xeaa3e3(0x21b)][_0xeaa3e3(0x21a)][_0xeaa3e3(0x20b)](_0x4e158e);}[_0x5436e5(0x208)](_0x4eaaac){const _0x2c99b3=_0x5436e5;this[_0x2c99b3(0x21b)][_0x2c99b3(0x21a)][_0x2c99b3(0x1d7)](_0x4eaaac)&&this[_0x2c99b3(0x21b)][_0x2c99b3(0x21a)][_0x2c99b3(0x207)](_0x4eaaac);}[_0x5436e5(0x1c0)](){const _0x2bafee=_0x5436e5;this[_0x2bafee(0x1cc)]&&(this[_0x2bafee(0x1f6)]=!0x0);}[_0x5436e5(0x1e8)](){const _0x572cf4=_0x5436e5;this[_0x572cf4(0x1cc)]&&(this[_0x572cf4(0x1f6)]=!0x1);}[_0x5436e5(0x1b2)]({showApplyButton:_0x31c2c3,showSuggestButton:_0x34f069}){const _0x4d2952=_0x5436e5;_0x31c2c3=_0x31c2c3&&!this[_0x4d2952(0x1ca)]&&this[_0x4d2952(0x1c6)][_0x4d2952(0x1d5)][_0x4d2952(0x1ff)](_0x4d2952(0x1c3)),_0x34f069=_0x34f069&&this[_0x4d2952(0x1c6)][_0x4d2952(0x1d5)][_0x4d2952(0x1ff)](_0x4d2952(0x1a8)),this[_0x4d2952(0x217)][_0x4d2952(0x1be)]({'showApplyButton':_0x31c2c3,'showSuggestButton':_0x34f069});}async[_0x5436e5(0x1d3)](_0x22ec31){const _0x10ee44=_0x5436e5;await this[_0x10ee44(0x1ac)][_0x10ee44(0x1d4)](_0x22ec31);}[_0x5436e5(0x1bf)](){const _0x2fb59c=_0x5436e5;this[_0x2fb59c(0x1ac)][_0x2fb59c(0x1fb)]();}[_0x5436e5(0x215)](_0x4981b4){const _0x265125=_0x5436e5;this[_0x265125(0x1ee)]=new _0x1ee223(this[_0x265125(0x1b7)]),this[_0x265125(0x1ee)][_0x265125(0x209)]({'tag':_0x265125(0x218),'attributes':{'class':[_0x265125(0x1ed)]},'children':[{'tag':_0x265125(0x218),'attributes':{'class':[_0x265125(0x1b6)]},'children':[this[_0x265125(0x1e6)](),this[_0x265125(0x1f1)]()]},this[_0x265125(0x1ae)](_0x4981b4[_0x265125(0x21d)])]}),this[_0x265125(0x1f4)][_0x265125(0x20b)](this[_0x265125(0x1ee)]);}[_0x5436e5(0x1b3)](){const _0x21f52b=_0x5436e5;this[_0x21f52b(0x1f3)]=new _0x3b71cf(this[_0x21f52b(0x1b7)]),this[_0x21f52b(0x1f4)][_0x21f52b(0x20b)](this[_0x21f52b(0x1f3)]);}[_0x5436e5(0x1eb)]({showApplyButton:_0x1a8100,showSuggestButton:_0x356a43}){const _0x216901=_0x5436e5;this[_0x216901(0x217)]=new _0x363daa(this[_0x216901(0x1b7)],_0x1a8100,_0x356a43),this[_0x216901(0x217)][_0x216901(0x1a6)]?.['on'](_0x216901(0x1aa),()=>{const _0x20fdfe=_0x216901;this[_0x20fdfe(0x212)](_0x20fdfe(0x1c3));}),this[_0x216901(0x217)][_0x216901(0x1ea)]?.['on'](_0x216901(0x1aa),()=>{const _0x5cfcad=_0x216901;this[_0x5cfcad(0x212)](_0x5cfcad(0x1a8));}),this[_0x216901(0x217)][_0x216901(0x216)](_0x216901(0x1d2))['to'](this,_0x216901(0x1c1),this,_0x216901(0x1f6),this,_0x216901(0x1c5),(_0x5d9753,_0x171fb7,_0x3c7947)=>!(_0x5d9753||_0x171fb7||_0x3c7947)),this[_0x216901(0x1b2)]({'showApplyButton':_0x1a8100,'showSuggestButton':_0x356a43}),this[_0x216901(0x1f4)][_0x216901(0x20b)](this[_0x216901(0x217)]);}[_0x5436e5(0x1ae)](_0x3186be){const _0x294754=_0x5436e5;return this[_0x294754(0x21b)]=new _0x51e652(this[_0x294754(0x1b7)],_0x3186be),this[_0x294754(0x21b)][_0x294754(0x1e2)](..._0x180196)['to'](this),this[_0x294754(0x21b)]['on'](_0x294754(0x1d9),()=>{const _0x4e73fa=_0x294754;this[_0x4e73fa(0x21b)][_0x4e73fa(0x1d8)]=!this[_0x4e73fa(0x21b)][_0x4e73fa(0x1d8)],this[_0x4e73fa(0x212)](_0x4e73fa(0x1da),{'showDiff':this[_0x4e73fa(0x21b)][_0x4e73fa(0x1d8)]});}),this[_0x294754(0x21b)][_0x294754(0x216)](_0x294754(0x1d2))['to'](this,_0x294754(0x1c1),this,_0x294754(0x1f6),(_0x206df6,_0x34398f)=>!(_0x206df6||_0x34398f)),this[_0x294754(0x21b)];}[_0x5436e5(0x1e6)](){const _0x10b385=_0x5436e5;return this[_0x10b385(0x1cc)]=new _0xb44acc(this[_0x10b385(0x1b7)]),this[_0x10b385(0x1cc)][_0x10b385(0x216)](_0x10b385(0x1b0))['to'](this,_0x10b385(0x1f6)),this[_0x10b385(0x1cc)];}[_0x5436e5(0x1f1)](){const _0x389663=_0x5436e5;return this[_0x389663(0x1ac)]=new _0x286980(this[_0x389663(0x1b7)]),this[_0x389663(0x1ac)];}[_0x5436e5(0x210)](){const _0x5c1720=_0x5436e5,_0x20a98b=new _0x281a0a(this[_0x5c1720(0x1b7)]),_0x54beb1=new _0x281a0a(this[_0x5c1720(0x1b7)]),_0x308815=new Ln(this[_0x5c1720(0x1b7)]),_0x5a15cd=new _0x281a0a(this[_0x5c1720(0x1b7)]);_0x20a98b[_0x5c1720(0x1e9)]({'icon':_0xfdcd9a,'label':_0x362487(this[_0x5c1720(0x1b7)],_0x5c1720(0x201)),'tooltip':!0x0,'class':_0x5c1720(0x1a9)}),_0x54beb1[_0x5c1720(0x1e9)]({'icon':_0x1e9fbc,'tooltip':_0x362487(this[_0x5c1720(0x1b7)],_0x5c1720(0x1bd)),'class':_0x5c1720(0x1af)}),_0x5a15cd[_0x5c1720(0x1e9)]({'icon':_0x360a61,'tooltip':_0x362487(this[_0x5c1720(0x1b7)],_0x5c1720(0x1d1)),'class':_0x5c1720(0x1c7)}),_0x20a98b[_0x5c1720(0x216)](_0x5c1720(0x1d2))['to'](this,_0x5c1720(0x1c1),_0x4bbddf=>!_0x4bbddf),_0x20a98b['on'](_0x5c1720(0x1aa),()=>{const _0x1e1a02=_0x5c1720;this[_0x1e1a02(0x212)](_0x1e1a02(0x1d0));}),_0x54beb1[_0x5c1720(0x216)](_0x5c1720(0x1d2))['to'](this,_0x5c1720(0x1c1),_0x543634=>!_0x543634),_0x54beb1['on'](_0x5c1720(0x1aa),()=>{const _0x54f0be=_0x5c1720;this[_0x54f0be(0x212)](_0x54f0be(0x205));}),_0x5a15cd[_0x5c1720(0x216)](_0x5c1720(0x1d2))['to'](this,_0x5c1720(0x1c1),_0x2a612a=>!_0x2a612a),_0x5a15cd['on'](_0x5c1720(0x1aa),()=>{const _0x29c2ab=_0x5c1720;this[_0x29c2ab(0x212)](_0x29c2ab(0x20d));}),this[_0x5c1720(0x20a)]=_0x54beb1,this[_0x5c1720(0x1f8)]=_0x308815,this[_0x5c1720(0x1c2)]=_0x5a15cd,this[_0x5c1720(0x1a7)]=_0x20a98b;}[_0x5436e5(0x1b4)](_0x46c3d2,_0x2985b0){const _0x522b31=_0x5436e5;this[_0x522b31(0x20a)]||this[_0x522b31(0x210)]();const _0x23e88=_0x46c3d2>0x1;if(this[_0x522b31(0x1e0)](this[_0x522b31(0x1a7)]),_0x23e88){this[_0x522b31(0x1e0)](this[_0x522b31(0x20a)]),this[_0x522b31(0x1e0)](this[_0x522b31(0x1f8)]),this[_0x522b31(0x1e0)](this[_0x522b31(0x1c2)]);const _0x2d1003=_0x46c3d2-_0x2985b0;this[_0x522b31(0x1f8)][_0x522b31(0x20f)](_0x2d1003+'/'+_0x46c3d2),this[_0x522b31(0x20a)][_0x522b31(0x1d2)]=_0x2985b0<_0x46c3d2-0x1,this[_0x522b31(0x1c2)][_0x522b31(0x1d2)]=_0x2985b0>0x0;}else this[_0x522b31(0x208)](this[_0x522b31(0x20a)]),this[_0x522b31(0x208)](this[_0x522b31(0x1f8)]),this[_0x522b31(0x208)](this[_0x522b31(0x1c2)]);}[_0x5436e5(0x1ef)](){const _0x9b82e2=_0x5436e5;this[_0x9b82e2(0x1a7)][_0x9b82e2(0x1d2)]=!0x1,this[_0x9b82e2(0x20a)][_0x9b82e2(0x1d2)]=!0x1,this[_0x9b82e2(0x1c2)][_0x9b82e2(0x1d2)]=!0x1;}[_0x5436e5(0x1c9)](){const _0xc8a9f6=_0x5436e5;this[_0xc8a9f6(0x1f0)](),this[_0xc8a9f6(0x1fe)]&&this[_0xc8a9f6(0x1fe)][_0xc8a9f6(0x1ec)]();}[_0x5436e5(0x202)](){const _0x33f2c6=_0x5436e5;this[_0x33f2c6(0x1fe)]&&this[_0x33f2c6(0x1fe)][_0x33f2c6(0x1fa)]();}[_0x5436e5(0x20c)](_0x37b018){const _0x54b11a=_0x5436e5;this[_0x54b11a(0x1f6)]=_0x37b018;}[_0x5436e5(0x1e3)](){const _0x5bc5b0=_0x5436e5;this[_0x5bc5b0(0x21b)][_0x5bc5b0(0x1d8)]=!0x1;}[_0x5436e5(0x1f0)](){const _0x15fc4c=_0x5436e5,_0x384d51=this[_0x15fc4c(0x21c)]();_0x384d51&&!this[_0x15fc4c(0x1fe)]&&(this[_0x15fc4c(0x1fe)]=new _0x2c47bf(_0x384d51));}[_0x5436e5(0x21c)](){const _0x1e62e9=_0x5436e5;return this[_0x1e62e9(0x1ac)][_0x1e62e9(0x1f7)];}}class Ln extends _0x1ee223{constructor(_0x41b010){const _0x470216=_0x5436e5;super(_0x41b010);const _0xf6231f=this[_0x470216(0x214)];this[_0x470216(0x1e9)](_0x470216(0x1ab),_0x470216(0x1ba)),this[_0x470216(0x209)]({'tag':_0x470216(0x204),'attributes':{'class':[_0x470216(0x1dc)]},'children':[{'text':_0xf6231f['to'](_0x470216(0x1ab))}]});}[_0x5436e5(0x20f)](_0x4732cc){const _0x3467c2=_0x5436e5;this[_0x3467c2(0x1e9)](_0x3467c2(0x1ab),_0x4732cc);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e5343=_0x1d63;(function(_0x40cecb,_0x42fcec){const _0xf487be=_0x1d63,_0x5f08c0=_0x40cecb();while(!![]){try{const _0x58b9e4=-parseInt(_0xf487be(0x16c))/0x1+parseInt(_0xf487be(0x175))/0x2*(parseInt(_0xf487be(0x176))/0x3)+parseInt(_0xf487be(0x16d))/0x4*(-parseInt(_0xf487be(0x17f))/0x5)+-parseInt(_0xf487be(0x172))/0x6*(parseInt(_0xf487be(0x171))/0x7)+parseInt(_0xf487be(0x16e))/0x8+parseInt(_0xf487be(0x17c))/0x9+parseInt(_0xf487be(0x17a))/0xa;if(_0x58b9e4===_0x42fcec)break;else _0x5f08c0['push'](_0x5f08c0['shift']());}catch(_0xa169da){_0x5f08c0['push'](_0x5f08c0['shift']());}}}(_0x4aac,0x8ed44));function _0x1d63(_0x5c9721,_0x2efb07){const _0x4aac0e=_0x4aac();return _0x1d63=function(_0x1d63a1,_0x138e97){_0x1d63a1=_0x1d63a1-0x16c;let _0x4bea31=_0x4aac0e[_0x1d63a1];return _0x4bea31;},_0x1d63(_0x5c9721,_0x2efb07);}import{IconView as _0x2a1a8f,ListItemButtonView as _0x48f484}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x426ebe}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x48f484{[_0x3e5343(0x177)];constructor(_0x3b6cc6,_0x174332){const _0x58feec=_0x3e5343;super(_0x3b6cc6,_0x174332);const _0x1b5c74=this[_0x58feec(0x17b)];this[_0x58feec(0x182)]({'withText':!0x0,'role':_0x58feec(0x180)}),this[_0x58feec(0x177)]=this[_0x58feec(0x179)](),this[_0x58feec(0x17d)]({'attributes':{'class':[_0x58feec(0x178)],'aria-haspopup':!0x0,'aria-expanded':this[_0x58feec(0x17b)]['to'](_0x58feec(0x174),_0xa80855=>String(_0xa80855)),'data-cke-tooltip-disabled':_0x1b5c74['to'](_0x58feec(0x174))},'on':{'mouseenter':_0x1b5c74['to'](_0x58feec(0x183))}});}[_0x3e5343(0x16f)](){const _0x181547=_0x3e5343;super[_0x181547(0x16f)](),this[_0x181547(0x17e)][_0x181547(0x170)](this[_0x181547(0x177)]);}[_0x3e5343(0x179)](){const _0x54dda8=_0x3e5343,_0x4afc72=new _0x2a1a8f();return _0x4afc72[_0x54dda8(0x173)]=_0x426ebe,_0x4afc72[_0x54dda8(0x17d)]({'attributes':{'class':_0x54dda8(0x181)}}),_0x4afc72;}}function _0x4aac(){const _0x5b45e4=['add','504ppEUAl','22932phGlXL','content','isOn','2tkJUKJ','1456662mzZZJJ','arrowView','ck-dropdown-menu-list__nested-menu__button','_createArrowView','5160460JzHEKo','bindTemplate','10395432OqsDgM','extendTemplate','children','10aLWQGZ','menuitem','ck-dropdown-menu-list__nested-menu__button__arrow','set','mouseenter','747047AOfQXR','1541296NoLAeN','1770072qqXJCd','render'];_0x4aac=function(){return _0x5b45e4;};return _0x4aac();}
23
+ function _0x418b(_0x102cd8,_0x32d2ff){const _0x21667f=_0x2166();return _0x418b=function(_0x418b95,_0x14a9c5){_0x418b95=_0x418b95-0xe9;let _0x1fabbe=_0x21667f[_0x418b95];return _0x1fabbe;},_0x418b(_0x102cd8,_0x32d2ff);}const _0x14885f=_0x418b;(function(_0x1380a4,_0x105d54){const _0x4aa6a1=_0x418b,_0x53bc41=_0x1380a4();while(!![]){try{const _0x2c986a=-parseInt(_0x4aa6a1(0xf3))/0x1*(-parseInt(_0x4aa6a1(0xee))/0x2)+-parseInt(_0x4aa6a1(0xe9))/0x3*(-parseInt(_0x4aa6a1(0xfb))/0x4)+-parseInt(_0x4aa6a1(0x101))/0x5*(parseInt(_0x4aa6a1(0xec))/0x6)+parseInt(_0x4aa6a1(0xfd))/0x7*(-parseInt(_0x4aa6a1(0xf4))/0x8)+-parseInt(_0x4aa6a1(0xf5))/0x9+parseInt(_0x4aa6a1(0xf1))/0xa+parseInt(_0x4aa6a1(0xff))/0xb;if(_0x2c986a===_0x105d54)break;else _0x53bc41['push'](_0x53bc41['shift']());}catch(_0x3a018d){_0x53bc41['push'](_0x53bc41['shift']());}}}(_0x2166,0xdb1ee));import{IconView as _0x15d2ed,ListItemButtonView as _0xed7e09}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x119241}from'@ckeditor/ckeditor5-icons';function _0x2166(){const _0x37b1cb=['render','26PQJhUx','add','arrowView','17109850wzUSIS','mouseenter','74qSAOXE','856yKIAEP','5453874IOLbeW','_createArrowView','isOn','ck-dropdown-menu-list__nested-menu__button','ck-dropdown-menu-list__nested-menu__button__arrow','children','150404NLZHkv','bindTemplate','6965dvwpwV','set','5466890UIlzOi','content','8446985IjnXBr','87sKtMXT','extendTemplate','menuitem','6onvGgk'];_0x2166=function(){return _0x37b1cb;};return _0x2166();}export class DropdownMenuButtonWithHighlightView extends _0xed7e09{[_0x14885f(0xf0)];constructor(_0x46e15b,_0x2cf7b1){const _0x5891bc=_0x14885f;super(_0x46e15b,_0x2cf7b1);const _0x995bc5=this[_0x5891bc(0xfc)];this[_0x5891bc(0xfe)]({'withText':!0x0,'role':_0x5891bc(0xeb)}),this[_0x5891bc(0xf0)]=this[_0x5891bc(0xf6)](),this[_0x5891bc(0xea)]({'attributes':{'class':[_0x5891bc(0xf8)],'aria-haspopup':!0x0,'aria-expanded':this[_0x5891bc(0xfc)]['to'](_0x5891bc(0xf7),_0x437f3f=>String(_0x437f3f)),'data-cke-tooltip-disabled':_0x995bc5['to'](_0x5891bc(0xf7))},'on':{'mouseenter':_0x995bc5['to'](_0x5891bc(0xf2))}});}[_0x14885f(0xed)](){const _0x1311df=_0x14885f;super[_0x1311df(0xed)](),this[_0x1311df(0xfa)][_0x1311df(0xef)](this[_0x1311df(0xf0)]);}[_0x14885f(0xf6)](){const _0x424c66=_0x14885f,_0xed592f=new _0x15d2ed();return _0xed592f[_0x424c66(0x100)]=_0x119241,_0xed592f[_0x424c66(0xea)]({'attributes':{'class':_0x424c66(0xf9)}}),_0xed592f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d5029=_0x4529;(function(_0x5c591b,_0x422f2b){const _0x5a8cb4=_0x4529,_0x2c5e89=_0x5c591b();while(!![]){try{const _0x1b71f0=-parseInt(_0x5a8cb4(0x10d))/0x1+parseInt(_0x5a8cb4(0x174))/0x2+-parseInt(_0x5a8cb4(0x115))/0x3*(parseInt(_0x5a8cb4(0xe8))/0x4)+-parseInt(_0x5a8cb4(0x145))/0x5+-parseInt(_0x5a8cb4(0xec))/0x6+parseInt(_0x5a8cb4(0x160))/0x7*(parseInt(_0x5a8cb4(0x128))/0x8)+-parseInt(_0x5a8cb4(0x161))/0x9*(-parseInt(_0x5a8cb4(0xf6))/0xa);if(_0x1b71f0===_0x422f2b)break;else _0x2c5e89['push'](_0x2c5e89['shift']());}catch(_0x5bbb43){_0x2c5e89['push'](_0x2c5e89['shift']());}}}(_0x1364,0x53b5e));import{ContextPlugin as _0xd24279}from'ckeditor5/src/core.js';function _0x4529(_0x3ecb79,_0xb377ec){const _0x1364fd=_0x1364();return _0x4529=function(_0x45291d,_0x1e5ff2){_0x45291d=_0x45291d-0xdd;let _0x23b336=_0x1364fd[_0x45291d];return _0x23b336;},_0x4529(_0x3ecb79,_0xb377ec);}import{CKEditorError as _0x1426e9,logError as _0x65d2,scrollAncestorsToShowTarget as _0x444504,scrollViewportToShowTarget as _0x3e9f65}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x155c14}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x383443}from'../aicore/utils/common-translations.js';import{AIConnector as _0x159209}from'../aicore/aiconnector.js';function _0x1364(){const _0x717767=['_aiConnector','reviewCheckResultReady','map','error-chunk','_onChangeMarkerRestored','currentError','showGeneralReviewCoreErrorView','ck-ai_review-diff','ai-review-mode-check-run-general-error','message','documentData','1679070egxfSj','dismissChange','error-general','_onChangeMarkerRemoved','markChangeAsPending','_getChangeContentElement','ck-ai_review-highlights','isOfficialPlugin','ai-review-mode-source-check-not-found','_onReviewRunLeave','markAllChangesAsAccepted','editing','getCheckById','isPremiumPlugin','data','showCheckRunResult','showNoChangesView','ai-review-mode-models-unable-to-retrieve','_onCheckRunFinished','abortReviewStream','getChangeElement','markChangeAsAccepted','init','checks','reviewCheckResultAdded','length','locale','14RfPPyA','4325778osxuvx','status','acceptChange','reviewCheckResultActivated','_onDeactivateChange','source','applyChange','get','retryReview','updateChangeState','_onReviewCheckRun','document','showReviewCompletedView','_onChangeMarkerHovered','_getTranslationWithDefault','aborted','activateChange','plugins','args','1317312YYjkRm','changeMarkerBlurred','finishReview','requires','ck-ai-translate-mode-content','getRoot','forceReadyState','title','showReviewCheckList','_onReviewCheckResultDeactivated','finished','showActionsWhenResultIsReady','startsWith','hasModifications','_logError','context','start','4GGTEPd','setCheckResultTitle','ai-request-aborted','changeMarkerRemoved','973194PDnbLq','_aiReviewCoreEditing','change','_diffContent','includes','_markChangePositionInEditorContent','removeClass','_initRequiredPlugins','changeMarkerHovered','stopListening','10bIPXpw','reviewCheckResultDeactivated','markChangeAsOutdated','unmodified','leaveReview','result','_aiReviewCheckList','runReviewCheck','contentInitial','ai-review-mode-no-current-check-run','_aiReviewCoreUi','subTitle','panel','_changeActivationSource','reviewCheckRunUpdated','changeId','listenTo','_scrollToChange','reviewCheckResultChangeStatusUpdated','loading','_createReviewCheckRun','emitter','.ck-ai_review__check-run-result','588010winAai','showChunkErrorView','setAvailableChecks','ai-review-mode-check-run-failed','getEditor','ai-review-mode-check-run-chunk-error','_currentReviewCheckRun','closest','538449dxUVoa','changeMarkerClicked','switchToEdit','deactivateChange','changes','getDocumentData','isChangeActive','_onReviewCheckResultActivated','rejectChange','restart','content','changeMarkerRestored','abort','clearAllMarkers','_onChangeMarkerBlurred','showCheckRunResults','switchToReadOnly','processedResultsCount','updateDocumentData','1876344ikZtGr','view','hideChangeBalloon','_onChangeMarkerClicked','params','showGeneralResultsErrorView','sendRating','leaveReviewCoreResultList','_onActivateChange','AIConnector','contentNew','ready','getActiveChanges','getReviewCheckList','markChangeAsRejected','addResultChanges','acceptAllChanges','_getChecksList'];_0x1364=function(){return _0x717767;};return _0x1364();}export class AIReviewCoreController extends _0xd24279{[_0x5d5029(0x13a)];[_0x5d5029(0x100)];[_0x5d5029(0xed)];[_0x5d5029(0xfc)];[_0x5d5029(0x113)];[_0x5d5029(0x103)]=null;static get[_0x5d5029(0x177)](){return[_0x159209];}static get[_0x5d5029(0x14c)](){return!0x0;}static get[_0x5d5029(0x152)](){return!0x0;}async[_0x5d5029(0x15b)](){const _0x4920fb=_0x5d5029;this[_0x4920fb(0xf3)](),this[_0x4920fb(0xfc)]=await this[_0x4920fb(0x139)](),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x135),()=>{const _0x2076cc=_0x4920fb;this[_0x2076cc(0x100)][_0x2076cc(0x10f)](this[_0x2076cc(0xfc)][_0x2076cc(0x15c)]);}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0xfd),async(_0x4f127a,_0x2a013b)=>{const _0x465d38=_0x4920fb,_0xa15fc8=this[_0x465d38(0xfc)][_0x465d38(0x151)](_0x2a013b['id']);if(_0xa15fc8){this[_0x465d38(0x16b)](_0x2a013b),this[_0x465d38(0xed)][_0x465d38(0x125)](),this[_0x465d38(0x113)]=this[_0x465d38(0x10a)](_0x2a013b,_0xa15fc8),this[_0x465d38(0x100)][_0x465d38(0xe9)](this[_0x465d38(0x113)][_0x465d38(0xde)],this[_0x465d38(0x113)][_0x465d38(0x101)]),this[_0x465d38(0x113)]['on'](_0x465d38(0x104),(_0x2bdd2a,_0x32c7cc)=>{const _0x25af7e=_0x465d38;switch(_0x32c7cc[_0x25af7e(0x162)]){case _0x25af7e(0x153):case _0x25af7e(0x109):this[_0x25af7e(0x100)][_0x25af7e(0x124)](_0x32c7cc);break;case _0x25af7e(0xe1):this[_0x25af7e(0x157)]();break;case _0x25af7e(0x133):this[_0x25af7e(0x100)][_0x25af7e(0xe2)]();break;case _0x25af7e(0xf9):this[_0x25af7e(0x100)][_0x25af7e(0x155)]();break;case _0x25af7e(0x147):this[_0x25af7e(0x100)][_0x25af7e(0x12d)](),this[_0x25af7e(0xe5)](new _0x1426e9(_0x25af7e(0x142),this,void 0x0,this[_0x25af7e(0x113)]?.[_0x25af7e(0x13f)]));break;case _0x25af7e(0x13d):this[_0x25af7e(0x100)][_0x25af7e(0x10e)](),this[_0x25af7e(0xe5)](new _0x1426e9(_0x25af7e(0x112),this,void 0x0,this[_0x25af7e(0x113)]?.[_0x25af7e(0x13f)]));break;case _0x25af7e(0x170):this[_0x25af7e(0x113)]&&this[_0x25af7e(0x113)][_0x25af7e(0x126)]>0x0?setTimeout(()=>{const _0x1cfc76=_0x25af7e;this[_0x1cfc76(0x113)]?.[_0x1cfc76(0xdd)]();},0x0):this[_0x25af7e(0x14e)](!0x0);}_0x25af7e(0x133)!==_0x32c7cc[_0x25af7e(0x162)]&&_0x25af7e(0x13d)!==_0x32c7cc[_0x25af7e(0x162)]&&_0x25af7e(0x147)!==_0x32c7cc[_0x25af7e(0x162)]||this[_0x25af7e(0x113)]?.[_0x25af7e(0x12e)]();}),this[_0x465d38(0x113)]['on'](_0x465d38(0x15d),(_0x4d0bf5,_0x20c664)=>{const _0x57aea8=_0x465d38;if(!this[_0x57aea8(0x113)])throw new _0x1426e9(_0x57aea8(0xff),this);const _0x1c80cd=this[_0x57aea8(0xef)](_0x20c664[_0x57aea8(0xfb)][_0x57aea8(0xfe)],_0x20c664[_0x57aea8(0xfb)][_0x57aea8(0x132)]);_0x20c664[_0x57aea8(0x166)][_0x57aea8(0x137)](_0x20c664[_0x57aea8(0xfb)]['id'],_0x1c80cd);}),this[_0x465d38(0x113)]['on'](_0x465d38(0x13b),(_0x37843a,_0x59f0d4)=>{const _0x2892ff=_0x465d38;for(const _0x80339b of _0x59f0d4[_0x2892ff(0x119)])this[_0x2892ff(0x100)][_0x2892ff(0x154)](_0x80339b);this[_0x2892ff(0xf1)](_0x59f0d4[_0x2892ff(0x119)],_0x59f0d4[_0x2892ff(0x166)][_0x2892ff(0x144)]);}),this[_0x465d38(0x113)]['on'](_0x465d38(0x108),(_0x10d9eb,_0x340204)=>{const _0x5ed35c=_0x465d38;this[_0x5ed35c(0x100)][_0x5ed35c(0x16a)](_0x340204[_0x5ed35c(0xee)]['id'],_0x340204[_0x5ed35c(0x162)]);}),this[_0x465d38(0x113)]['on'](_0x465d38(0x164),(_0x2ad943,_0x2aed67)=>{const _0x277635=_0x465d38;this[_0x277635(0x11c)](_0x2aed67);}),this[_0x465d38(0x113)]['on'](_0x465d38(0xf7),()=>{const _0x3dc8c5=_0x465d38;this[_0x3dc8c5(0xe0)]();});try{await this[_0x465d38(0x113)][_0x465d38(0xe7)]();}catch(_0x4d51e7){_0x4d51e7 instanceof Error&&_0x4d51e7[_0x465d38(0x143)][_0x465d38(0xf0)](_0x465d38(0xea))||(_0x4d51e7 instanceof _0x1426e9?this[_0x465d38(0xe5)](_0x4d51e7):this[_0x465d38(0xe5)](new _0x1426e9(_0x465d38(0x110),this,void 0x0,_0x4d51e7)));}}else this[_0x465d38(0xe5)](new _0x1426e9(_0x465d38(0x14d),this,{'checkId':_0x2a013b['id']}));}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0xfa),()=>{const _0x175518=_0x4920fb;this[_0x175518(0x14e)]();}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x12f),()=>{const _0x25cbb3=_0x4920fb;this[_0x25cbb3(0x14e)](!0x0);}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x158),()=>{const _0x33e538=_0x4920fb;this[_0x33e538(0x113)]&&this[_0x33e538(0x113)][_0x33e538(0x121)]();}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x176),()=>{const _0x3c68e0=_0x4920fb;this[_0x3c68e0(0x14e)](!0x0);}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x138),()=>{const _0x43b830=_0x4920fb;if(!this[_0x43b830(0x113)])return;const _0x39e2c4=this[_0x43b830(0x113)][_0x43b830(0x134)]();if(!_0x39e2c4[_0x43b830(0x15e)])return;this[_0x43b830(0xed)][_0x43b830(0x167)](_0x39e2c4[_0x43b830(0x13c)](_0x26b81e=>_0x26b81e['id']));const _0x35ff65=this[_0x43b830(0x113)];_0x35ff65[_0x43b830(0x14f)](),_0x35ff65[_0x43b830(0x12e)]();}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x163),(_0x4e994e,_0x795cb9)=>{const _0x228bef=_0x4920fb;this[_0x228bef(0x113)]&&this[_0x228bef(0x113)][_0x228bef(0x11b)](_0x795cb9['id'])&&(this[_0x228bef(0xed)][_0x228bef(0x167)]([_0x795cb9['id']]),this[_0x228bef(0x113)][_0x228bef(0x15a)](_0x795cb9['id']),this[_0x228bef(0x100)][_0x228bef(0x12a)](),this[_0x228bef(0x113)][_0x228bef(0x12e)](_0x795cb9['id']));}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x146),(_0x8782a1,_0x17199d)=>{const _0xb75afa=_0x4920fb;this[_0xb75afa(0x113)]&&this[_0xb75afa(0x113)][_0xb75afa(0x11b)](_0x17199d['id'])&&(this[_0xb75afa(0xed)][_0xb75afa(0x11d)](_0x17199d['id']),this[_0xb75afa(0x113)][_0xb75afa(0x136)](_0x17199d['id']),this[_0xb75afa(0x100)][_0xb75afa(0x12a)](),this[_0xb75afa(0x113)][_0xb75afa(0x12e)](_0x17199d['id']));}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x169),async()=>{const _0xbad52e=_0x4920fb;this[_0xbad52e(0x113)]&&(this[_0xbad52e(0xed)][_0xbad52e(0x122)](),this[_0xbad52e(0x113)][_0xbad52e(0x127)](this[_0xbad52e(0xed)][_0xbad52e(0x11a)]()),await this[_0xbad52e(0x113)][_0xbad52e(0x11e)]());}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x171),(_0x596a44,_0x52d733)=>{const _0x33e497=_0x4920fb;this[_0x33e497(0x130)](_0x52d733);}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x118),(_0x24627e,_0x38fb58)=>{const _0x36ce25=_0x4920fb;this[_0x36ce25(0x165)](_0x38fb58);}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0x116),(_0x1f53a6,_0x1a1893)=>{const _0x5f33f3=_0x4920fb;this[_0x5f33f3(0x12b)](_0x1f53a6,_0x1a1893);}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0xf4),(_0xb869cc,_0x4c2c76)=>{const _0x4fae4d=_0x4920fb;this[_0x4fae4d(0x16e)](_0xb869cc,_0x4c2c76);}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0x175),()=>{const _0xe978bb=_0x4920fb;this[_0xe978bb(0x123)]();}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0xeb),(_0x4a698a,_0x480331)=>{const _0x24ef9a=_0x4920fb;this[_0x24ef9a(0x148)](_0x4a698a,_0x480331);}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0x120),(_0x2e928d,_0x47e36a)=>{const _0x5ae428=_0x4920fb;this[_0x5ae428(0x13e)](_0x2e928d,_0x47e36a);});}[_0x5d5029(0x10a)](_0xa18f30,_0x15619c){const _0x20404d=_0x5d5029;return new _0x155c14(this[_0x20404d(0xed)][_0x20404d(0x11a)](),_0x15619c,this[_0x20404d(0x13a)],_0xa18f30[_0x20404d(0x12c)],_0xa18f30[_0x20404d(0x173)]);}[_0x5d5029(0x148)](_0x257ecf,_0x5183a2){const _0x2e4c9a=_0x5d5029;this[_0x2e4c9a(0x113)]&&this[_0x2e4c9a(0x113)][_0x2e4c9a(0xf8)](_0x5183a2[_0x2e4c9a(0x105)]);}[_0x5d5029(0x13e)](_0x23b26e,_0x4dd3d0){const _0xb7083c=_0x5d5029;this[_0xb7083c(0x113)]&&this[_0xb7083c(0x113)][_0xb7083c(0x149)](_0x4dd3d0[_0xb7083c(0x105)]);}[_0x5d5029(0x157)](){const _0x1a7398=_0x5d5029;this[_0x1a7398(0x100)][_0x1a7398(0x16d)]();}[_0x5d5029(0xf3)](){const _0x2d7960=_0x5d5029;this[_0x2d7960(0x13a)]=this[_0x2d7960(0xe6)][_0x2d7960(0x172)][_0x2d7960(0x168)](_0x2d7960(0x131));}[_0x5d5029(0x14e)](_0x2987b4=!0x1){const _0xae205f=_0x5d5029;this[_0xae205f(0x113)]&&(this[_0xae205f(0x113)][_0xae205f(0xe4)]||this[_0xae205f(0x113)][_0xae205f(0x12e)](),this[_0xae205f(0x113)][_0xae205f(0xf5)](),this[_0xae205f(0x113)][_0xae205f(0x121)](),this[_0xae205f(0x113)]=void 0x0),_0x2987b4&&this[_0xae205f(0x100)][_0xae205f(0xdf)](),this[_0xae205f(0xed)][_0xae205f(0x122)](),this[_0xae205f(0xed)][_0xae205f(0x117)](),this[_0xae205f(0x103)]=null;const _0x1b7182=this[_0xae205f(0xed)][_0xae205f(0x111)]();_0x1b7182&&_0x1b7182[_0xae205f(0x150)][_0xae205f(0x129)][_0xae205f(0xee)](_0x42fb9a=>{const _0x5622bb=_0xae205f,_0x40b9aa=_0x1b7182[_0x5622bb(0x150)][_0x5622bb(0x129)][_0x5622bb(0x16c)][_0x5622bb(0x179)]();_0x42fb9a[_0x5622bb(0xf2)](_0x5622bb(0x141),_0x40b9aa),_0x42fb9a[_0x5622bb(0xf2)](_0x5622bb(0x14b),_0x40b9aa),_0x42fb9a[_0x5622bb(0xf2)](_0x5622bb(0x178),_0x40b9aa);});}[_0x5d5029(0x16f)](_0x3d9e03,_0x109b5e){const _0x4121f6=_0x5d5029,_0x2d313b=this[_0x4121f6(0xe6)][_0x4121f6(0x15f)],_0x2fb4ce=_0x383443(_0x2d313b,_0x3d9e03);return _0x2fb4ce===_0x3d9e03?_0x109b5e:_0x2fb4ce;}[_0x5d5029(0xe5)](_0x5b700b,_0x58a53e=!0x1){const _0x403cd4=_0x5d5029;_0x65d2(_0x5b700b[_0x403cd4(0x143)]),_0x58a53e||(_0x5b700b[_0x403cd4(0x143)][_0x403cd4(0xe3)](_0x403cd4(0x156))?this[_0x403cd4(0x100)][_0x403cd4(0x140)]():this[_0x403cd4(0x100)][_0x403cd4(0x12d)]());}[_0x5d5029(0x107)](_0x75bc95){const _0x4a1cf9=_0x5d5029;if(_0x4a1cf9(0x11f)===this[_0x4a1cf9(0x103)]){const _0xb08678=this[_0x4a1cf9(0x100)][_0x4a1cf9(0x159)](_0x75bc95);_0xb08678&&_0x444504(_0xb08678[_0x4a1cf9(0x114)](_0x4a1cf9(0x10c))||_0xb08678);}else{if(_0x4a1cf9(0x102)===this[_0x4a1cf9(0x103)]){const _0x336430=this[_0x4a1cf9(0x14a)](_0x75bc95);if(!_0x336430)return;_0x3e9f65({'target':_0x336430,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
23
+ const _0x2d3918=_0x4a86;(function(_0x586908,_0x491f0c){const _0x5780fb=_0x4a86,_0x2b8352=_0x586908();while(!![]){try{const _0x53008e=parseInt(_0x5780fb(0x1da))/0x1+parseInt(_0x5780fb(0x1c3))/0x2*(-parseInt(_0x5780fb(0x1dc))/0x3)+parseInt(_0x5780fb(0x1f2))/0x4*(-parseInt(_0x5780fb(0x219))/0x5)+parseInt(_0x5780fb(0x207))/0x6+parseInt(_0x5780fb(0x1d3))/0x7*(-parseInt(_0x5780fb(0x199))/0x8)+parseInt(_0x5780fb(0x1f6))/0x9*(parseInt(_0x5780fb(0x1c4))/0xa)+parseInt(_0x5780fb(0x201))/0xb;if(_0x53008e===_0x491f0c)break;else _0x2b8352['push'](_0x2b8352['shift']());}catch(_0x3a6d6b){_0x2b8352['push'](_0x2b8352['shift']());}}}(_0x5b5d,0xdc4ae));import{ContextPlugin as _0x31fd70}from'ckeditor5/src/core.js';import{CKEditorError as _0xf10c68,logError as _0x32e475,scrollAncestorsToShowTarget as _0xf47f6a,scrollViewportToShowTarget as _0x54c5e2}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x4ac10f}from'./model/aireviewsystemcheckrun.js';function _0x4a86(_0x3e6d1a,_0x98a98b){const _0x5b5dbf=_0x5b5d();return _0x4a86=function(_0x4a8682,_0x5e8dab){_0x4a8682=_0x4a8682-0x17e;let _0x4cda2c=_0x5b5dbf[_0x4a8682];return _0x4cda2c;},_0x4a86(_0x3e6d1a,_0x98a98b);}import{getTranslation as _0x2589c2}from'../aicore/utils/common-translations.js';function _0x5b5d(){const _0x192db6=['_changeActivationSource','leaveReview','hasModifications','setCheckResultTitle','3230852xuicHK','showReviewCompletedView','_onReviewCheckResultDeactivated','args','2799963cLludR','ck-ai_review-diff','context','ready','map','includes','getChangeElement','acceptAllChanges','start','ai-review-mode-source-check-not-found','setAvailableChecks','2519924Nyhyou','aborted','getDocumentData','getRoot','dismissChange','finished','9973380NvHCAb','removeClass','showGeneralReviewCoreErrorView','restart','hideChangeBalloon','_onReviewCheckResultActivated','locale','_getChangeContentElement','showReviewCheckList','getActiveChanges','_onChangeMarkerRemoved','subTitle','showGeneralResultsErrorView','showCheckRunResults','startsWith','message','getEditor','reviewCheckResultAdded','5dFpVMx','activateChange','markChangeAsRejected','acceptChange','document','reviewCheckResultDeactivated','runReviewCheck','_getChecksList','_initRequiredPlugins','ck-ai-translate-mode-content','requires','_scrollToChange','finishReview','currentError','isPremiumPlugin','AIConnector','_onChangeMarkerBlurred','result','checks','plugins','showNoChangesView','panel','reviewCheckRunUpdated','addResultChanges','showCheckRunResult','stopListening','documentData','view','isChangeActive','updateDocumentData','78032EhSJWq','_onReviewCheckRun','data','isOfficialPlugin','get','markChangeAsAccepted','processedResultsCount','length','_onChangeMarkerClicked','changeMarkerClicked','ck-ai_review-highlights','changeId','_aiReviewCoreUi','forceReadyState','markChangeAsOutdated','editing','sendRating','rejectChange','_onReviewRunLeave','showActionsWhenResultIsReady','switchToReadOnly','ai-review-mode-check-run-general-error','_onActivateChange','_onDeactivateChange','reviewCheckResultReady','error-chunk','unmodified','.ck-ai_review__check-run-result','content','leaveReviewCoreResultList','showChunkErrorView','changeMarkerHovered','ai-review-mode-check-run-chunk-error','source','_createReviewCheckRun','status','retryReview','getCheckById','ai-request-aborted','title','contentInitial','loading','6568vOyfBL','40LpMtyn','change','markAllChangesAsAccepted','emitter','_markChangePositionInEditorContent','deactivateChange','listenTo','abortReviewStream','_onChangeMarkerRestored','abort','init','error-general','changeMarkerRemoved','reviewCheckResultActivated','ai-review-mode-models-unable-to-retrieve','812sCwxeb','_aiConnector','_diffContent','params','markChangeAsPending','_onChangeMarkerHovered','changeMarkerRestored','533321nlMstm','reviewCheckResultChangeStatusUpdated','756LppCKO','_onCheckRunFinished','changes','contentNew','ai-review-mode-check-run-failed','switchToEdit','applyChange','updateChangeState','ai-review-mode-no-current-check-run','_currentReviewCheckRun','getReviewCheckList','_aiReviewCoreEditing','changeMarkerBlurred','clearAllMarkers','closest','_getTranslationWithDefault','_aiReviewCheckList','_logError'];_0x5b5d=function(){return _0x192db6;};return _0x5b5d();}import{AIConnector as _0x4de8ec}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x31fd70{[_0x2d3918(0x1d4)];[_0x2d3918(0x1a5)];[_0x2d3918(0x1e7)];[_0x2d3918(0x1ec)];[_0x2d3918(0x1e5)];[_0x2d3918(0x1ee)]=null;static get[_0x2d3918(0x185)](){return[_0x4de8ec];}static get[_0x2d3918(0x19c)](){return!0x0;}static get[_0x2d3918(0x189)](){return!0x0;}async[_0x2d3918(0x1ce)](){const _0x25935e=_0x2d3918;this[_0x25935e(0x183)](),this[_0x25935e(0x1ec)]=await this[_0x25935e(0x182)](),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x1e6),()=>{const _0x125316=_0x25935e;this[_0x125316(0x1a5)][_0x125316(0x200)](this[_0x125316(0x1ec)][_0x125316(0x18d)]);}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x181),async(_0x217689,_0x1779ac)=>{const _0x3c46b1=_0x25935e,_0x9dd76b=this[_0x3c46b1(0x1ec)][_0x3c46b1(0x1be)](_0x1779ac['id']);if(_0x9dd76b){this[_0x3c46b1(0x19a)](_0x1779ac),this[_0x3c46b1(0x1e7)][_0x3c46b1(0x1ad)](),this[_0x3c46b1(0x1e5)]=this[_0x3c46b1(0x1bb)](_0x1779ac,_0x9dd76b),this[_0x3c46b1(0x1a5)][_0x3c46b1(0x1f1)](this[_0x3c46b1(0x1e5)][_0x3c46b1(0x1c0)],this[_0x3c46b1(0x1e5)][_0x3c46b1(0x212)]),this[_0x3c46b1(0x1e5)]['on'](_0x3c46b1(0x191),(_0x98bd89,_0x3a6b0d)=>{const _0x1c263a=_0x3c46b1;switch(_0x3a6b0d[_0x1c263a(0x1bc)]){case _0x1c263a(0x19b):case _0x1c263a(0x1c2):this[_0x1c263a(0x1a5)][_0x1c263a(0x214)](_0x3a6b0d);break;case _0x1c263a(0x206):this[_0x1c263a(0x1dd)]();break;case _0x1c263a(0x1f9):this[_0x1c263a(0x1a5)][_0x1c263a(0x1ac)]();break;case _0x1c263a(0x1b3):this[_0x1c263a(0x1a5)][_0x1c263a(0x18f)]();break;case _0x1c263a(0x1cf):this[_0x1c263a(0x1a5)][_0x1c263a(0x213)](),this[_0x1c263a(0x1ed)](new _0xf10c68(_0x1c263a(0x1ae),this,void 0x0,this[_0x1c263a(0x1e5)]?.[_0x1c263a(0x188)]));break;case _0x1c263a(0x1b2):this[_0x1c263a(0x1a5)][_0x1c263a(0x1b7)](),this[_0x1c263a(0x1ed)](new _0xf10c68(_0x1c263a(0x1b9),this,void 0x0,this[_0x1c263a(0x1e5)]?.[_0x1c263a(0x188)]));break;case _0x1c263a(0x202):this[_0x1c263a(0x1e5)]&&this[_0x1c263a(0x1e5)][_0x1c263a(0x19f)]>0x0?setTimeout(()=>{const _0x4685e5=_0x1c263a;this[_0x4685e5(0x1e5)]?.[_0x4685e5(0x1a6)]();},0x0):this[_0x1c263a(0x1ab)](!0x0);}_0x1c263a(0x1f9)!==_0x3a6b0d[_0x1c263a(0x1bc)]&&_0x1c263a(0x1b2)!==_0x3a6b0d[_0x1c263a(0x1bc)]&&_0x1c263a(0x1cf)!==_0x3a6b0d[_0x1c263a(0x1bc)]||this[_0x1c263a(0x1e5)]?.[_0x1c263a(0x1a9)]();}),this[_0x3c46b1(0x1e5)]['on'](_0x3c46b1(0x218),(_0x53e703,_0x49df6e)=>{const _0x184e4c=_0x3c46b1;if(!this[_0x184e4c(0x1e5)])throw new _0xf10c68(_0x184e4c(0x1e4),this);const _0x51d3ca=this[_0x184e4c(0x1d5)](_0x49df6e[_0x184e4c(0x18c)][_0x184e4c(0x1c1)],_0x49df6e[_0x184e4c(0x18c)][_0x184e4c(0x1df)]);_0x49df6e[_0x184e4c(0x1ba)][_0x184e4c(0x192)](_0x49df6e[_0x184e4c(0x18c)]['id'],_0x51d3ca);}),this[_0x3c46b1(0x1e5)]['on'](_0x3c46b1(0x1b1),(_0x1edf5e,_0x38d2e1)=>{const _0x339d97=_0x3c46b1;for(const _0x2e40cb of _0x38d2e1[_0x339d97(0x1de)])this[_0x339d97(0x1a5)][_0x339d97(0x193)](_0x2e40cb);this[_0x339d97(0x1c8)](_0x38d2e1[_0x339d97(0x1de)],_0x38d2e1[_0x339d97(0x1ba)][_0x339d97(0x195)]);}),this[_0x3c46b1(0x1e5)]['on'](_0x3c46b1(0x1db),(_0x579e5e,_0x447cc8)=>{const _0x2bfae5=_0x3c46b1;this[_0x2bfae5(0x1a5)][_0x2bfae5(0x1e3)](_0x447cc8[_0x2bfae5(0x1c5)]['id'],_0x447cc8[_0x2bfae5(0x1bc)]);}),this[_0x3c46b1(0x1e5)]['on'](_0x3c46b1(0x1d1),(_0xa8c3,_0x220288)=>{const _0x410a62=_0x3c46b1;this[_0x410a62(0x20c)](_0x220288);}),this[_0x3c46b1(0x1e5)]['on'](_0x3c46b1(0x180),()=>{const _0x40ec4a=_0x3c46b1;this[_0x40ec4a(0x1f4)]();});try{await this[_0x3c46b1(0x1e5)][_0x3c46b1(0x1fe)]();}catch(_0x28aa02){_0x28aa02 instanceof Error&&_0x28aa02[_0x3c46b1(0x216)][_0x3c46b1(0x1fb)](_0x3c46b1(0x1bf))||(_0x28aa02 instanceof _0xf10c68?this[_0x3c46b1(0x1ed)](_0x28aa02):this[_0x3c46b1(0x1ed)](new _0xf10c68(_0x3c46b1(0x1e0),this,void 0x0,_0x28aa02)));}}else this[_0x3c46b1(0x1ed)](new _0xf10c68(_0x3c46b1(0x1ff),this,{'checkId':_0x1779ac['id']}));}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x1ef),()=>{const _0x25aad4=_0x25935e;this[_0x25aad4(0x1ab)]();}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x1b6),()=>{const _0x1a82d6=_0x25935e;this[_0x1a82d6(0x1ab)](!0x0);}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x1cb),()=>{const _0x12b6da=_0x25935e;this[_0x12b6da(0x1e5)]&&this[_0x12b6da(0x1e5)][_0x12b6da(0x1cd)]();}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x187),()=>{const _0x4116ee=_0x25935e;this[_0x4116ee(0x1ab)](!0x0);}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x1fd),()=>{const _0x4d7205=_0x25935e;if(!this[_0x4d7205(0x1e5)])return;const _0x37659e=this[_0x4d7205(0x1e5)][_0x4d7205(0x210)]();if(!_0x37659e[_0x4d7205(0x1a0)])return;this[_0x4d7205(0x1e7)][_0x4d7205(0x1e2)](_0x37659e[_0x4d7205(0x1fa)](_0x1b4b3b=>_0x1b4b3b['id']));const _0x36e32c=this[_0x4d7205(0x1e5)];_0x36e32c[_0x4d7205(0x1c6)](),_0x36e32c[_0x4d7205(0x1a9)]();}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x17e),(_0x96a360,_0x14b2d1)=>{const _0x559df1=_0x25935e;this[_0x559df1(0x1e5)]&&this[_0x559df1(0x1e5)][_0x559df1(0x197)](_0x14b2d1['id'])&&(this[_0x559df1(0x1e7)][_0x559df1(0x1e2)]([_0x14b2d1['id']]),this[_0x559df1(0x1e5)][_0x559df1(0x19e)](_0x14b2d1['id']),this[_0x559df1(0x1a5)][_0x559df1(0x20b)](),this[_0x559df1(0x1e5)][_0x559df1(0x1a9)](_0x14b2d1['id']));}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x205),(_0x10d066,_0x2cc797)=>{const _0xf5b892=_0x25935e;this[_0xf5b892(0x1e5)]&&this[_0xf5b892(0x1e5)][_0xf5b892(0x197)](_0x2cc797['id'])&&(this[_0xf5b892(0x1e7)][_0xf5b892(0x1aa)](_0x2cc797['id']),this[_0xf5b892(0x1e5)][_0xf5b892(0x21b)](_0x2cc797['id']),this[_0xf5b892(0x1a5)][_0xf5b892(0x20b)](),this[_0xf5b892(0x1e5)][_0xf5b892(0x1a9)](_0x2cc797['id']));}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x1bd),async()=>{const _0x3850b6=_0x25935e;this[_0x3850b6(0x1e5)]&&(this[_0x3850b6(0x1e7)][_0x3850b6(0x1e9)](),this[_0x3850b6(0x1e5)][_0x3850b6(0x198)](this[_0x3850b6(0x1e7)][_0x3850b6(0x203)]()),await this[_0x3850b6(0x1e5)][_0x3850b6(0x20a)]());}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x21a),(_0xdb6935,_0x38d441)=>{const _0x53c359=_0x25935e;this[_0x53c359(0x1af)](_0x38d441);}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1a5)],_0x25935e(0x1c9),(_0x1c398b,_0x3c9ea7)=>{const _0xd360a9=_0x25935e;this[_0xd360a9(0x1b0)](_0x3c9ea7);}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1e7)][_0x25935e(0x1c7)],_0x25935e(0x1a2),(_0x41ee40,_0x263e49)=>{const _0xb3fb47=_0x25935e;this[_0xb3fb47(0x1a1)](_0x41ee40,_0x263e49);}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1e7)][_0x25935e(0x1c7)],_0x25935e(0x1b8),(_0x432428,_0x2b1f83)=>{const _0x4f22f6=_0x25935e;this[_0x4f22f6(0x1d8)](_0x432428,_0x2b1f83);}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1e7)][_0x25935e(0x1c7)],_0x25935e(0x1e8),()=>{const _0x403ec4=_0x25935e;this[_0x403ec4(0x18b)]();}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1e7)][_0x25935e(0x1c7)],_0x25935e(0x1d0),(_0xa96195,_0x4436c7)=>{const _0x1ad2bc=_0x25935e;this[_0x1ad2bc(0x211)](_0xa96195,_0x4436c7);}),this[_0x25935e(0x1ca)](this[_0x25935e(0x1e7)][_0x25935e(0x1c7)],_0x25935e(0x1d9),(_0x4d4c35,_0x35cf4e)=>{const _0x396f94=_0x25935e;this[_0x396f94(0x1cc)](_0x4d4c35,_0x35cf4e);});}[_0x2d3918(0x1bb)](_0x1502e3,_0x1c7729){const _0x1e8326=_0x2d3918;return new _0x4ac10f(this[_0x1e8326(0x1e7)][_0x1e8326(0x203)](),_0x1c7729,this[_0x1e8326(0x1d4)],_0x1502e3[_0x1e8326(0x1d6)],_0x1502e3[_0x1e8326(0x1f5)]);}[_0x2d3918(0x211)](_0x3d65fe,_0xaee41b){const _0x799235=_0x2d3918;this[_0x799235(0x1e5)]&&this[_0x799235(0x1e5)][_0x799235(0x1a7)](_0xaee41b[_0x799235(0x1a4)]);}[_0x2d3918(0x1cc)](_0x37c19c,_0x17b13e){const _0x1b85af=_0x2d3918;this[_0x1b85af(0x1e5)]&&this[_0x1b85af(0x1e5)][_0x1b85af(0x1d7)](_0x17b13e[_0x1b85af(0x1a4)]);}[_0x2d3918(0x1dd)](){const _0x46a96d=_0x2d3918;this[_0x46a96d(0x1a5)][_0x46a96d(0x1f3)]();}[_0x2d3918(0x183)](){const _0x486182=_0x2d3918;this[_0x486182(0x1d4)]=this[_0x486182(0x1f8)][_0x486182(0x18e)][_0x486182(0x19d)](_0x486182(0x18a));}[_0x2d3918(0x1ab)](_0x4860dd=!0x1){const _0x282856=_0x2d3918;this[_0x282856(0x1e5)]&&(this[_0x282856(0x1e5)][_0x282856(0x1f0)]||this[_0x282856(0x1e5)][_0x282856(0x1a9)](),this[_0x282856(0x1e5)][_0x282856(0x194)](),this[_0x282856(0x1e5)][_0x282856(0x1cd)](),this[_0x282856(0x1e5)]=void 0x0),_0x4860dd&&this[_0x282856(0x1a5)][_0x282856(0x20f)](),this[_0x282856(0x1e7)][_0x282856(0x1e9)](),this[_0x282856(0x1e7)][_0x282856(0x1e1)](),this[_0x282856(0x1ee)]=null;const _0x4be0e9=this[_0x282856(0x1e7)][_0x282856(0x217)]();_0x4be0e9&&_0x4be0e9[_0x282856(0x1a8)][_0x282856(0x196)][_0x282856(0x1c5)](_0x276e23=>{const _0x36fdf6=_0x282856,_0x5dedaf=_0x4be0e9[_0x36fdf6(0x1a8)][_0x36fdf6(0x196)][_0x36fdf6(0x17f)][_0x36fdf6(0x204)]();_0x276e23[_0x36fdf6(0x208)](_0x36fdf6(0x1f7),_0x5dedaf),_0x276e23[_0x36fdf6(0x208)](_0x36fdf6(0x1a3),_0x5dedaf),_0x276e23[_0x36fdf6(0x208)](_0x36fdf6(0x184),_0x5dedaf);});}[_0x2d3918(0x1eb)](_0x1614e0,_0x123f0e){const _0x3598ea=_0x2d3918,_0x113a9b=this[_0x3598ea(0x1f8)][_0x3598ea(0x20d)],_0x1cf946=_0x2589c2(_0x113a9b,_0x1614e0);return _0x1cf946===_0x1614e0?_0x123f0e:_0x1cf946;}[_0x2d3918(0x1ed)](_0x93a6e2,_0x408603=!0x1){const _0x192117=_0x2d3918;_0x32e475(_0x93a6e2[_0x192117(0x216)]),_0x408603||(_0x93a6e2[_0x192117(0x216)][_0x192117(0x215)](_0x192117(0x1d2))?this[_0x192117(0x1a5)][_0x192117(0x209)]():this[_0x192117(0x1a5)][_0x192117(0x213)]());}[_0x2d3918(0x186)](_0x2781ff){const _0x36e132=_0x2d3918;if(_0x36e132(0x1b5)===this[_0x36e132(0x1ee)]){const _0x42c09b=this[_0x36e132(0x1a5)][_0x36e132(0x1fc)](_0x2781ff);_0x42c09b&&_0xf47f6a(_0x42c09b[_0x36e132(0x1ea)](_0x36e132(0x1b4))||_0x42c09b);}else{if(_0x36e132(0x190)===this[_0x36e132(0x1ee)]){const _0x4763cc=this[_0x36e132(0x20e)](_0x2781ff);if(!_0x4763cc)return;_0x54c5e2({'target':_0x4763cc,'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 _0x2aaa72=_0x6b4c;(function(_0x15ffca,_0x3138bb){const _0x35d522=_0x6b4c,_0x5acaab=_0x15ffca();while(!![]){try{const _0x561f1e=parseInt(_0x35d522(0xa5))/0x1+-parseInt(_0x35d522(0xfa))/0x2+-parseInt(_0x35d522(0x159))/0x3*(parseInt(_0x35d522(0xd5))/0x4)+-parseInt(_0x35d522(0xa0))/0x5*(-parseInt(_0x35d522(0x101))/0x6)+parseInt(_0x35d522(0x11d))/0x7+parseInt(_0x35d522(0x15a))/0x8*(parseInt(_0x35d522(0x112))/0x9)+parseInt(_0x35d522(0x137))/0xa;if(_0x561f1e===_0x3138bb)break;else _0x5acaab['push'](_0x5acaab['shift']());}catch(_0x14f4f7){_0x5acaab['push'](_0x5acaab['shift']());}}}(_0x190a,0x957c0));import{InsertOperation as _0x3fc600,MarkerOperation as _0xc4e586,ModelDocumentFragment as _0x21733d,ModelPosition as _0x4898f5,ModelRange as _0x5531d4,ModelTreeWalker as _0x6354fe,transformOperationSets as _0x51ee99}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x41fbfc,EmitterMixin as _0x5d07b4,uid as _0x5818cd}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5268a8}from'ckeditor5/src/core.js';function _0x6b4c(_0x10ecb7,_0x90a120){const _0x190a9b=_0x190a();return _0x6b4c=function(_0x6b4c98,_0xa6c4e){_0x6b4c98=_0x6b4c98-0x7e;let _0x34666c=_0x190a9b[_0x6b4c98];return _0x34666c;},_0x6b4c(_0x10ecb7,_0x90a120);}import{DocumentCompare as _0x21a546,DATA_ID_MODEL_ATTRIBUTE as _0x2b8124,DATA_ID_VIEW_ATTRIBUTE as _0x189950,getMarkerDomElement as _0x18a298}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x190a(){const _0x13636a=['No\x20element\x20found\x20for\x20ID:\x20','_groupAdjacentOperations','isLimit','getDocumentData','_changeRangeOwnerDocument','mouseup','createSelection','schema','ck-ai_review-marker_underline','root','toView','isTouching','containerElement','hasAttribute','offsetSize','hasContentAfter','attributeToAttribute','_hasSameTopLevelElement','index','afterInit','\x20ck-ai_review__change_active','getOperations','start','diffContent','toData','marker','htmlWriter','ck-ai_review-marker_context-','registerPostFixer','createRangeOn','getRoots','data','affectsData','isAtEnd','getRoot','forEach','isOpening','2998308xNEQmo','markerToHighlight','jumpTo','offset','getContentElementForChange','filter','$documentFragment','querySelector','createUIElement','_handleMarkerChanges','document','parentElement','operationsIsolated','_getChangeContext','htmlProcessor','DocumentCompare','_createGetContextFn','pop','oldRange','rejectChange','getHtml','outerHTML','clone','_changeRange','getChangedMarkers','addOperation','_eventEmitter','AIEditing','forward','operationsA','_nextDataId','createRawElement','elements','newRange','end','name','for','1913198WqRrwC','warn','ellipsisBefore','_haveOnlyInlineContent','suggestion:deletion:id:authorId:','hasContentBefore','$graveyard','942VzIPex','keys','parent','downcast','getPath','enableReadOnlyMode','createDocumentFragment','fire','model','element','disableReadOnlyMode','_findAdjacentContextDistance','_getOperationStart','applyOperation','conversion','values','switchToEdit','9QwGsZN','_removeAttribute','ellipsisAfter','getDiff','get','rootName','content','isOfficialPlugin','dataDowncast','_changeOperationOwnerDocument','getChild','1879304XNTmzg','review-','groupId','ck-ai_review__change_active','flat','getEditableElement','_findMarkerElement','$root','_insertMarkers','clearAllMarkers','isBlock','isDocumentOperation','$textProxy','body','reconvertMarker','add','createPositionAt','ck-ai_review-marker_hide','concat','getStart','view','highest','_getOperationEnd','AIReviewCoreEditing','isAtStart','_createGetContentUsingDataIdFn','4737650qWRZoI','push','deleteContent','startsWith','_findMarkerElementById','from','ck-ai_review-marker_context-end','markers','applyChange','$markedRemove:synthetic','_translateOperationToEditorContent','changeMarkerRestored','emitter','innerHTML','$markedRemove','hasClass','remove-only','_setAttribute','remove-text','getDomRoot','mouseover','getChildren','isInline','every','childCount','asString','ck-ai_review-marker_context-start','size','operations','nodes','path','position','remove','plugins','3AXqCBb','5901592WUZFhM','suggestion:insertion:id:authorId:','ck-ai_review-marker_add','_domEmitter','ai-review','clear','pluginName','relatedTarget','_changePosition','backward','switchToReadOnly','inside','parse','context','listenTo','_markers','containsRange','isPremiumPlugin','viewToDom','_haveSingleTopLevelElement','_appendChild','_changePositionOwnerDocument','editingDowncast','requires','type','version','howMany','setAllMarkersAsInactive','history','target','className','insertContent','.ck-reset.ck-ai_review-balloon-panel-suggestion','_validateMarkers','suggestion-context','editing','getChanges','map','delete','_removeChildren','insert','differ','has','toDomElement','join','getMarkerElementForChange','createPositionAfter','[data-marker-id=\x22','changeMarkerBlurred','_parseMarkerName','length','markerToElement','includes','getEditor','split','change','markerName','_getMarkersDataForGroup','set','getRange','markChangePositionInEditorContent','batch','isIntersecting','changeMarkerRemoved','addMarker','outside','createRangeIn','ck-ai_review-marker_strikethrough','_activeMarkers','documentFragment','_getPositionLimitingRange','getAttribute','asFragment','changeMarkerHovered','data-marker-id','stringify','[data-id=\x22','_shiftOperation','_upsertDataId','closest','removeMarker','reactivateMarkers','baseVersion','append','17525YGfnGX','_sortMarkers','setMarkersInElementAsActive','processor','sort','288243CQVOXd','getShiftedBy','ck-ai_review-marker_','_createGetContentFn','_clone','exec','createRange','changeMarkerClicked','remove-context','domConverter','span'];_0x190a=function(){return _0x13636a;};return _0x190a();}import{getEditorFromContext as _0x653a8c}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x4ab88a}from'../aicore/aiediting.js';import{debounce as _0x28820f}from'es-toolkit/compat';const fe=_0x2aaa72(0x11e);export class AIReviewCoreEditing extends _0x5268a8{static get[_0x2aaa72(0x171)](){return[_0x21a546,_0x4ab88a];}static get[_0x2aaa72(0x160)](){const _0x56921e=_0x2aaa72;return _0x56921e(0x134);}static get[_0x2aaa72(0x119)](){return!0x0;}static get[_0x2aaa72(0x16b)](){return!0x0;}[_0x2aaa72(0x169)]=new Map();[_0x2aaa72(0x90)]=new Set();[_0x2aaa72(0x15d)];[_0x2aaa72(0xef)];constructor(_0x58c380){const _0x78df31=_0x2aaa72;super(_0x58c380),this[_0x78df31(0x15d)]=new(_0x41fbfc())(),this[_0x78df31(0xef)]=new(_0x5d07b4())();}get[_0x2aaa72(0x143)](){const _0x2db2d4=_0x2aaa72;return this[_0x2db2d4(0xef)];}[_0x2aaa72(0xc3)](){const _0xeddb63=_0x2aaa72,_0x32e60e=_0x653a8c(this[_0xeddb63(0x167)]);_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x170))[_0xeddb63(0x7f)]({'model':fe+_0xeddb63(0x182),'view':(_0x40697c,{writer:_0x44c2bb})=>{const _0x7177f5=_0xeddb63,_0x42b249=this[_0x7177f5(0x169)][_0x7177f5(0x116)](_0x40697c[_0x7177f5(0x84)]),_0x43142c={'class':_0x7177f5(0x15c)+(this[_0x7177f5(0x90)][_0x7177f5(0x184)](_0x42b249?.['id']||'')?_0x7177f5(0xc4):''),'data-marker-id':_0x40697c[_0x7177f5(0x84)]};return _0x44c2bb[_0x7177f5(0xdd)](_0x7177f5(0xaf),_0x43142c,function(_0x15fdcd){const _0x370168=_0x7177f5,_0x283231=this[_0x370168(0x185)](_0x15fdcd);return _0x283231[_0x370168(0x144)]=_0x42b249?.[_0x370168(0x118)]?.[_0x370168(0x150)]||'',_0x283231;});}}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x170))[_0xeddb63(0xd6)]({'model':fe+_0xeddb63(0x147),'view':_0xd86ee4=>{const _0x1109ba=_0xeddb63,_0x4b2522=this[_0x1109ba(0x169)][_0x1109ba(0x116)](_0xd86ee4[_0x1109ba(0x84)]),_0x5a1fa4=[_0x1109ba(0x8f)];return this[_0x1109ba(0x90)][_0x1109ba(0x184)](_0x4b2522?.['id']||'')&&_0x5a1fa4[_0x1109ba(0x138)](_0x1109ba(0x120)),{'classes':_0x5a1fa4,'attributes':{'data-marker-id':_0xd86ee4[_0x1109ba(0x84)]}};}}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x170))[_0xeddb63(0xd6)]({'model':fe+_0xeddb63(0xad),'view':_0x41d538=>{const _0x649e6a=_0xeddb63,_0x5466d2=this[_0x649e6a(0x169)][_0x649e6a(0x116)](_0x41d538[_0x649e6a(0x84)]),_0x28850c=[_0x649e6a(0xb8)];return this[_0x649e6a(0x90)][_0x649e6a(0x184)](_0x5466d2?.['id']||'')&&_0x28850c[_0x649e6a(0x138)](_0x649e6a(0x120)),{'classes':_0x28850c,'attributes':{'data-marker-id':_0x41d538[_0x649e6a(0x84)]}};}}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x170))[_0xeddb63(0xd6)]({'model':fe+_0xeddb63(0x149),'view':_0x24f4b0=>{const _0x915c36=_0xeddb63,_0x3d25fa=this[_0x915c36(0x169)][_0x915c36(0x116)](_0x24f4b0[_0x915c36(0x84)]),_0x5cdcee=[_0x915c36(0x12e)];return this[_0x915c36(0x90)][_0x915c36(0x184)](_0x3d25fa?.['id']||'')&&_0x5cdcee[_0x915c36(0x138)](_0x915c36(0x120)),{'classes':_0x5cdcee,'attributes':{'data-marker-id':_0x24f4b0[_0x915c36(0x84)]}};}}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x11a))[_0xeddb63(0x7f)]({'model':fe+_0xeddb63(0x17c),'view':(_0x3ab667,{writer:_0xd2465b})=>_0xd2465b[_0xeddb63(0xf4)](_0xeddb63(0xaf),{'class':_0xeddb63(0xcb)+(_0x3ab667[_0xeddb63(0xd4)]?_0xeddb63(0xc6):_0xeddb63(0xf7))})}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x104))[_0xeddb63(0xc0)]({'model':_0x2b8124,'view':_0x189950});const _0x5e6237=_0x32e60e['ui'][_0xeddb63(0x122)]()||document[_0xeddb63(0x12a)];this[_0xeddb63(0x15d)][_0xeddb63(0x168)](_0x5e6237,_0xeddb63(0xb5),(_0x5dc261,_0x4bccf8)=>{const _0x25d243=_0xeddb63,_0x224285=_0x4bccf8[_0x25d243(0x177)],_0x42cbb5=this[_0x25d243(0x123)](_0x224285);if(!_0x42cbb5)return;const _0x161c7a=_0x42cbb5[_0x25d243(0x93)](_0x25d243(0x96)),_0x4d3f26=_0x161c7a[_0x25d243(0x82)](':')[_0x25d243(0xe6)]()?.[_0x25d243(0x82)]('_')[0x0];this[_0x25d243(0xef)][_0x25d243(0x108)](_0x25d243(0xac),{'markerId':_0x161c7a,'changeId':_0x4d3f26,'markerElement':()=>this[_0x25d243(0x13b)](_0x161c7a),'domEvent':_0x4bccf8});},{'usePassive':!0x0,'priority':_0xeddb63(0x132)}),this[_0xeddb63(0x15d)][_0xeddb63(0x168)](_0x5e6237,_0xeddb63(0x14b),(_0x16b9cf,_0x1edb16)=>{const _0x203f37=_0xeddb63,_0xdc49f7=_0x1edb16[_0x203f37(0x177)],_0x5d0723=_0x1edb16[_0x203f37(0x161)];let _0x6b49d8=this[_0x203f37(0x123)](_0xdc49f7);if(!_0x6b49d8&&_0x5d0723&&(_0x6b49d8=this[_0x203f37(0x123)](_0x5d0723)),!_0x6b49d8)return;const _0x5c310a=_0x6b49d8[_0x203f37(0x93)](_0x203f37(0x96)),_0x591d56=_0x5c310a[_0x203f37(0x82)](':')[_0x203f37(0xe6)]()?.[_0x203f37(0x82)]('_')[0x0];this[_0x203f37(0xef)][_0x203f37(0x108)](_0x203f37(0x95),{'changeId':_0x591d56,'markerElement':()=>this[_0x203f37(0x13b)](_0x5c310a),'domEvent':_0x1edb16});}),this[_0xeddb63(0x15d)][_0xeddb63(0x168)](document,_0xeddb63(0x14b),_0x28820f((_0x1ef7f6,_0x394a94)=>{const _0x5d8ef1=_0xeddb63,_0x5d4c87=_0x394a94[_0x5d8ef1(0x177)];if(this[_0x5d8ef1(0x123)](_0x5d4c87))return;_0x5d4c87[_0x5d8ef1(0x9b)](_0x5d8ef1(0x17a))||this[_0x5d8ef1(0xef)][_0x5d8ef1(0x108)](_0x5d8ef1(0x18a));},0xc8)),_0x32e60e[_0xeddb63(0x109)][_0xeddb63(0xdf)][_0xeddb63(0xcc)](_0x5c0369=>this[_0xeddb63(0x17b)](_0x32e60e,_0x5c0369)),_0x32e60e[_0xeddb63(0x109)][_0xeddb63(0xdf)]['on'](_0xeddb63(0x83),()=>this[_0xeddb63(0xde)](_0x32e60e));}[_0x2aaa72(0xb3)](){const _0x58d45d=_0x2aaa72,_0x48db52=this[_0x58d45d(0x167)][_0x58d45d(0x158)][_0x58d45d(0x116)](_0x58d45d(0xf0)),_0x10cf83=_0x653a8c(this[_0x58d45d(0x167)]),_0x5dd216=_0x10cf83[_0x58d45d(0x109)],_0x4adc6d=new _0x21733d();for(const _0x100377 of _0x5dd216[_0x58d45d(0xdf)][_0x58d45d(0xd2)]()[_0x58d45d(0x14c)]()){const _0x59c3f2=_0x100377[_0x58d45d(0xa9)](!0x0);_0x4adc6d[_0x58d45d(0x16e)](_0x59c3f2);}for(const _0x599588 of _0x5dd216[_0x58d45d(0x13e)])_0x4adc6d[_0x58d45d(0x13e)][_0x58d45d(0x86)](_0x599588[_0x58d45d(0xf8)],this[_0x58d45d(0xb4)](_0x599588[_0x58d45d(0x87)]()[_0x58d45d(0xeb)](),_0x4adc6d));const _0x420d34=new _0x6354fe({'ignoreElementEnd':!0x0,'startPosition':_0x5dd216[_0x58d45d(0x12d)](_0x4adc6d,0x0)}),_0xbeadd1=new Set(),_0x3fddf6=new Map();for(const {item:_0x1dae48}of _0x420d34){if(!_0x1dae48['is'](_0x58d45d(0x129)))continue;const _0x1c9b24=_0x1dae48[_0x58d45d(0x103)];if(_0x1c9b24&&_0x1c9b24['is'](_0x58d45d(0x10a))){const _0x313bb5=this[_0x58d45d(0x9a)](_0x1c9b24,()=>_0x48db52[_0x58d45d(0xf3)](_0xbeadd1));_0xbeadd1[_0x58d45d(0x12c)](_0x313bb5);for(const _0x1959b3 of _0x1c9b24[_0x58d45d(0x14c)]())_0x1959b3['is'](_0x58d45d(0x10a))&&_0xbeadd1[_0x58d45d(0x12c)](this[_0x58d45d(0x9a)](_0x1959b3,()=>_0x48db52[_0x58d45d(0xf3)](_0xbeadd1)));let _0x2f5704=_0x1c9b24;for(;_0x2f5704[_0x58d45d(0x103)]&&!_0x2f5704[_0x58d45d(0x103)]['is'](_0x58d45d(0x91));)_0x2f5704=_0x2f5704[_0x58d45d(0x103)],_0x2f5704[_0x58d45d(0xbd)](_0x2b8124)&&_0x2f5704[_0x58d45d(0x113)](_0x2b8124);_0x3fddf6[_0x58d45d(0x86)](_0x313bb5,{'path':_0x1c9b24[_0x58d45d(0x105)](),'getContent':this[_0x58d45d(0x136)](_0x2f5704[_0x58d45d(0xa9)](!0x0),_0x313bb5,_0x10cf83[_0x58d45d(0xcf)])}),_0x420d34[_0x58d45d(0xd7)](_0x5dd216[_0x58d45d(0x188)](_0x1c9b24));}}return{'content':_0x10cf83[_0x58d45d(0xcf)][_0x58d45d(0xa3)][_0x58d45d(0xc8)](_0x10cf83[_0x58d45d(0xcf)][_0x58d45d(0xba)](_0x4adc6d)),'version':_0x10cf83[_0x58d45d(0x109)][_0x58d45d(0xdf)][_0x58d45d(0x173)],'elements':_0x3fddf6};}[_0x2aaa72(0xc7)](_0x130b27,_0x2b298d,_0x4a2f85=!0x1){const _0x57ae5c=_0x2aaa72,_0x54f6a5=[],_0x3beeb1=_0x653a8c(this[_0x57ae5c(0x167)]),_0x1b2ff7=_0x3beeb1[_0x57ae5c(0xcf)][_0x57ae5c(0x166)](_0x2b298d,_0x57ae5c(0xdb)),_0x5aea44=_0x3beeb1[_0x57ae5c(0xcf)][_0x57ae5c(0x166)](_0x130b27,_0x57ae5c(0xdb)),_0x194385=_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0x12d)](_0x5aea44,0x0);if(this[_0x57ae5c(0x16d)](_0x1b2ff7)){if(!this[_0x57ae5c(0xc1)](_0x5aea44,_0x1b2ff7))return _0x54f6a5;}else{const _0x3a85f9=_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0xb7)];if(!this[_0x57ae5c(0xfd)](_0x5aea44,_0x3a85f9)||!this[_0x57ae5c(0xfd)](_0x1b2ff7,_0x3a85f9))return _0x54f6a5;}const _0x5aade3=this[_0x57ae5c(0x167)][_0x57ae5c(0x158)][_0x57ae5c(0x116)](_0x57ae5c(0xe4))[_0x57ae5c(0x115)](_0x130b27,_0x2b298d,{'anchor':_0x194385,'markDeletions':!0x0})[_0x57ae5c(0xc5)]()[_0x57ae5c(0xda)](_0x16a85f=>_0x57ae5c(0x182)===_0x16a85f[_0x57ae5c(0x172)]||_0x57ae5c(0xc9)===_0x16a85f[_0x57ae5c(0x172)]&&_0x16a85f[_0x57ae5c(0xf8)][_0x57ae5c(0x13a)](_0x57ae5c(0x145))),_0x503632=this[_0x57ae5c(0xb1)](_0x5aade3),_0x2b85cc=[];if(_0x4a2f85){if(_0x503632[_0x57ae5c(0x7e)]){const _0x2cd0b1=_0x503632[0x0][_0x57ae5c(0x153)][0x0],_0x294697=_0x57ae5c(0x182)===_0x2cd0b1[_0x57ae5c(0x172)]?_0x2cd0b1[_0x57ae5c(0x156)]:_0x2cd0b1[_0x57ae5c(0xf6)][_0x57ae5c(0xc6)],_0x4e6ee6=this[_0x57ae5c(0x92)](_0x294697,_0x3beeb1,_0x57ae5c(0x165)),_0x5c5a4e=_0x4e6ee6?_0x1b2ff7[_0x57ae5c(0x11c)](0x0)[_0x57ae5c(0x14c)]():_0x1b2ff7[_0x57ae5c(0x14c)](),_0x42068a=_0x4e6ee6||_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0x8e)](_0x5aea44),_0xdf192f=[new _0xc4e586(_0x57ae5c(0x140)+_0x5818cd(),null,_0x42068a,_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0xdf)][_0x57ae5c(0x109)][_0x57ae5c(0x13e)],!0x0,_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0xdf)][_0x57ae5c(0x173)]+0x1),new _0x3fc600(_0x42068a[_0x57ae5c(0xf7)],_0x5c5a4e,_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0xdf)][_0x57ae5c(0x173)]+0x2)];_0x2b85cc[_0x57ae5c(0x138)]({'operations':_0xdf192f,'operationsIsolated':_0xdf192f,'groupOffset':0x0});}}else _0x2b85cc[_0x57ae5c(0x138)](..._0x503632);let _0x2b9c50=0x0;return _0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0x83)](_0x1d26bd=>{const _0x1e7d87=_0x57ae5c;for(let _0x7f780e=0x0;_0x7f780e<_0x2b85cc[_0x1e7d87(0x7e)];_0x7f780e++){const _0x16956d=_0x2b85cc[_0x7f780e],_0xcf5ee7=_0x1d26bd[_0x1e7d87(0x107)]();for(const _0x3afc05 of _0x5aea44[_0x1e7d87(0x14c)]())_0x1d26bd[_0x1e7d87(0x9f)](_0x3afc05[_0x1e7d87(0xa9)](!0x0),_0xcf5ee7);for(const _0x189b42 of _0x16956d[_0x1e7d87(0xe1)])if(_0x1e7d87(0x182)===_0x189b42[_0x1e7d87(0x172)]){const _0x51573f=_0x189b42;_0x51573f[_0x1e7d87(0x9e)]=null,_0x51573f[_0x1e7d87(0x128)]=!0x1,this[_0x1e7d87(0x11b)](_0x51573f,_0xcf5ee7),_0x1d26bd[_0x1e7d87(0x89)][_0x1e7d87(0xee)](_0x189b42),_0x3beeb1[_0x1e7d87(0x109)][_0x1e7d87(0x10e)](_0x189b42);const _0x2a9a4a=_0x1e7d87(0x15b)+_0x2b9c50++,_0x20a79d=_0x3beeb1[_0x1e7d87(0x109)][_0x1e7d87(0xab)](_0x51573f[_0x1e7d87(0x156)],_0x51573f[_0x1e7d87(0x156)][_0x1e7d87(0xa6)](_0x51573f[_0x1e7d87(0x174)]));_0xcf5ee7[_0x1e7d87(0x13e)][_0x1e7d87(0x86)](_0x2a9a4a,_0x20a79d);}else{if(_0x1e7d87(0xc9)===_0x189b42[_0x1e7d87(0x172)]&&_0x189b42[_0x1e7d87(0xf8)][_0x1e7d87(0x13a)](_0x1e7d87(0x145))){const _0x4691eb=_0x189b42,_0x1a9690=_0x1e7d87(0xfe)+_0x2b9c50++;this[_0x1e7d87(0x11b)](_0x4691eb,_0xcf5ee7),_0xcf5ee7[_0x1e7d87(0x13e)][_0x1e7d87(0x86)](_0x1a9690,_0x4691eb[_0x1e7d87(0xf6)]);}}if(_0x4a2f85)_0x54f6a5[_0x1e7d87(0x138)]({..._0x16956d,'context':this[_0x1e7d87(0xa8)](_0x5aea44,_0x3beeb1[_0x1e7d87(0xcf)]),'content':this[_0x1e7d87(0xa8)](_0x5aea44,_0x3beeb1[_0x1e7d87(0xcf)])});else{const _0x3d70bc=this[_0x1e7d87(0xe2)](this[_0x1e7d87(0x16f)](this[_0x1e7d87(0x10d)](_0x16956d[_0x1e7d87(0xe1)][0x0]),_0xcf5ee7),this[_0x1e7d87(0x16f)](this[_0x1e7d87(0x133)](_0x16956d[_0x1e7d87(0xe1)][_0x16956d[_0x1e7d87(0xe1)][_0x1e7d87(0x7e)]-0x1]),_0xcf5ee7));_0xcf5ee7[_0x1e7d87(0x13e)][_0x1e7d87(0x86)](fe+_0x1e7d87(0x17c),new _0x5531d4(_0x3d70bc[_0x1e7d87(0xc6)],_0x3d70bc[_0x1e7d87(0xf7)])),_0x54f6a5[_0x1e7d87(0x138)]({..._0x16956d,'context':this[_0x1e7d87(0xe5)](_0xcf5ee7,_0x3beeb1[_0x1e7d87(0xcf)],{'ellipsisBefore':_0x3d70bc[_0x1e7d87(0xff)],'ellipsisAfter':_0x3d70bc[_0x1e7d87(0xbf)]}),'content':this[_0x1e7d87(0xa8)](_0xcf5ee7,_0x3beeb1[_0x1e7d87(0xcf)])});}}}),_0x54f6a5;}[_0x2aaa72(0x88)](_0x893861,_0x2b2485){const _0x4c49a7=_0x2aaa72;if(!_0x893861[_0x4c49a7(0x7e)])return;const _0x5cf7ae=_0x893861[0x0][_0x4c49a7(0x103)]['id'],_0x58827d=_0x2b2485[_0x4c49a7(0xf5)][_0x4c49a7(0x116)](_0x5cf7ae);if(!_0x58827d)return void console[_0x4c49a7(0xfb)](_0x4c49a7(0xb0)+_0x5cf7ae);const _0x17c01f=_0x58827d[_0x4c49a7(0x155)],_0x45fe35=_0x653a8c(this[_0x4c49a7(0x167)]),_0x32714e=_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xdf)][_0x4c49a7(0x176)][_0x4c49a7(0xc5)](_0x2b2485[_0x4c49a7(0x173)]),_0x3906f1=[];for(const _0x5d159e of _0x893861){const _0x41d3b4=_0x5d159e[_0x4c49a7(0xe1)][_0x4c49a7(0x17f)](_0x42f601=>this[_0x4c49a7(0x141)](_0x42f601,_0x17c01f,_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xdf)][_0x4c49a7(0xce)]()[0x0]));if(!_0x41d3b4||!_0x41d3b4[_0x4c49a7(0x7e)])continue;const _0x4e951f=_0x41d3b4[_0x4c49a7(0x14e)](_0x284ba3=>_0x4c49a7(0xc9)===_0x284ba3[_0x4c49a7(0x172)]&&_0x284ba3[_0x4c49a7(0xf8)][_0x4c49a7(0x13a)](_0x4c49a7(0x145))),_0x5ac682={'document':_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xdf)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x27bba1=_0x51ee99(_0x41d3b4,_0x32714e,_0x5ac682)[_0x4c49a7(0xf2)];for(const _0x55692d of _0x27bba1)if(_0x4c49a7(0x182)===_0x55692d[_0x4c49a7(0x172)]){const _0x4768d9=_0x55692d,_0x335475=_0x4768d9[_0x4c49a7(0x154)];_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0x83)](_0x2df5a3=>{const _0x2dc701=_0x4c49a7,_0x567521=_0x2df5a3[_0x2dc701(0x107)]();for(const _0x309b11 of _0x335475)_0x2df5a3[_0x2dc701(0x9f)](_0x309b11[_0x2dc701(0xa9)](!0x0),_0x567521);_0x3906f1[_0x2dc701(0x138)]({'start':_0x4768d9[_0x2dc701(0x156)],'end':_0x4768d9[_0x2dc701(0x156)],'type':_0x2dc701(0x182),'groupId':_0x5d159e['id'],'content':{'asString':this[_0x2dc701(0xa8)](_0x567521,_0x45fe35[_0x2dc701(0xcf)])(),'asFragment':_0x567521}});});}else{if(_0x4c49a7(0xc9)===_0x55692d[_0x4c49a7(0x172)]&&_0x55692d[_0x4c49a7(0xf8)][_0x4c49a7(0x13a)](_0x4c49a7(0x145))){const _0x376695=_0x55692d;let _0x3a889c=_0x4c49a7(0x149);if(_0x4e951f){const _0x47af8b=this[_0x4c49a7(0x10c)](_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xc6)],_0x4c49a7(0x163),_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xb7)]),_0x395e1a=this[_0x4c49a7(0x10c)](_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xf7)],_0x4c49a7(0xf1),_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xb7)]);if(_0x47af8b||_0x395e1a){const _0xf1d2f6=_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xc6)][_0x4c49a7(0xa6)](-_0x47af8b),_0x48755e=_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xf7)][_0x4c49a7(0xa6)](_0x395e1a);_0x3906f1[_0x4c49a7(0x138)]({'start':_0xf1d2f6,'end':_0x48755e,'groupId':_0x5d159e['id'],'type':_0x4c49a7(0xad)});}else _0x3a889c=_0x4c49a7(0x147);}_0x3906f1[_0x4c49a7(0x138)]({'start':_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xc6)],'end':_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xf7)],'groupId':_0x5d159e['id'],'type':_0x3a889c});}}}this[_0x4c49a7(0x125)](_0x3906f1);}[_0x2aaa72(0x126)](){const _0x429c9e=_0x2aaa72,_0x410064=_0x653a8c(this[_0x429c9e(0x167)]);_0x410064[_0x429c9e(0x109)][_0x429c9e(0x83)](_0x1a35b3=>{const _0x489d67=_0x429c9e;for(const _0x55d15a of this[_0x489d67(0x169)][_0x489d67(0x102)]())_0x410064[_0x489d67(0x109)][_0x489d67(0x13e)][_0x489d67(0x116)](_0x55d15a)&&_0x1a35b3[_0x489d67(0x9c)](_0x55d15a);}),this[_0x429c9e(0x169)][_0x429c9e(0x15f)](),this[_0x429c9e(0x90)][_0x429c9e(0x15f)]();}[_0x2aaa72(0x164)](){const _0x2a55bd=_0x2aaa72;_0x653a8c(this[_0x2a55bd(0x167)])[_0x2a55bd(0x106)](_0x2a55bd(0x15e));}[_0x2aaa72(0x111)](){const _0x50ddcf=_0x2aaa72;_0x653a8c(this[_0x50ddcf(0x167)])[_0x50ddcf(0x10b)](_0x50ddcf(0x15e));}[_0x2aaa72(0x13f)](_0x38ffa5){const _0x5463a3=_0x2aaa72,_0x19e6fb=_0x653a8c(this[_0x5463a3(0x167)]),_0x36336a=_0x19e6fb[_0x5463a3(0x109)],_0x2c73c3=_0x38ffa5[_0x5463a3(0x17f)](_0x243f86=>this[_0x5463a3(0x85)](_0x243f86))[_0x5463a3(0x121)]();_0x36336a[_0x5463a3(0x83)](_0x3f975c=>{const _0x4600ff=_0x5463a3;for(const _0x1926e1 of _0x2c73c3){const _0x1bb61a=_0x19e6fb[_0x4600ff(0x109)][_0x4600ff(0x13e)][_0x4600ff(0x116)](_0x1926e1['id']);if(_0x1bb61a){if(_0x4600ff(0x182)===_0x1926e1[_0x4600ff(0x172)]){if(!_0x1926e1[_0x4600ff(0x118)])continue;_0x36336a[_0x4600ff(0x179)](_0x1926e1[_0x4600ff(0x118)][_0x4600ff(0x94)]||null,_0x1bb61a[_0x4600ff(0x87)]()[_0x4600ff(0xc6)]);}else _0x4600ff(0x149)!==_0x1926e1[_0x4600ff(0x172)]&&_0x4600ff(0x147)!==_0x1926e1[_0x4600ff(0x172)]||_0x36336a[_0x4600ff(0x139)](_0x36336a[_0x4600ff(0xb6)](_0x1bb61a[_0x4600ff(0x87)]()));_0x3f975c[_0x4600ff(0x9c)](_0x1926e1['id']),this[_0x4600ff(0x169)][_0x4600ff(0x180)](_0x1926e1['id']);}}});}[_0x2aaa72(0xe8)](_0x24cac5){const _0x26f28c=_0x2aaa72,_0x2c75dd=_0x653a8c(this[_0x26f28c(0x167)]),_0x1f7772=this[_0x26f28c(0x85)](_0x24cac5);_0x2c75dd[_0x26f28c(0x109)][_0x26f28c(0x83)](_0x90d83c=>{const _0x246f14=_0x26f28c;for(const _0x3a0758 of _0x1f7772)_0x90d83c[_0x246f14(0x9c)](_0x3a0758['id']),this[_0x246f14(0x169)][_0x246f14(0x180)](_0x3a0758['id']);});}[_0x2aaa72(0x81)](){const _0x16cb31=_0x2aaa72;return _0x653a8c(this[_0x16cb31(0x167)]);}[_0x2aaa72(0x187)](_0x146140){const _0x22a26b=_0x2aaa72,_0x533b24=Array[_0x22a26b(0x13c)](this[_0x22a26b(0x169)][_0x22a26b(0x110)]())[_0x22a26b(0xda)](_0x228f6e=>_0x228f6e[_0x22a26b(0x11f)]===_0x146140);if(!_0x533b24[_0x22a26b(0x7e)])return null;const _0x1f7b97=0x1===_0x533b24[_0x22a26b(0x7e)]?_0x533b24[0x0]:this[_0x22a26b(0xa1)](_0x533b24)[0x0],_0x43ebdc=_0x653a8c(this[_0x22a26b(0x167)])[_0x22a26b(0x109)][_0x22a26b(0x13e)][_0x22a26b(0x116)](_0x1f7b97['id']);if(!_0x43ebdc)return null;return{'modelRange':_0x43ebdc[_0x22a26b(0x87)](),'getElement':()=>this[_0x22a26b(0x13b)](_0x1f7b97['id'])};}[_0x2aaa72(0xd9)](_0xccc98f){const _0x59dc09=_0x2aaa72,_0x39365b=Array[_0x59dc09(0x13c)](this[_0x59dc09(0x169)][_0x59dc09(0x110)]())[_0x59dc09(0xda)](_0x738a7e=>_0x738a7e[_0x59dc09(0x11f)]===_0xccc98f);if(!_0x39365b[_0x59dc09(0x7e)])return null;const _0x3d172f=0x1===_0x39365b[_0x59dc09(0x7e)]?_0x39365b[0x0]:this[_0x59dc09(0xa1)](_0x39365b)[0x0],_0x508bd9=_0x653a8c(this[_0x59dc09(0x167)]),_0x3be4a2=_0x508bd9[_0x59dc09(0x109)][_0x59dc09(0x13e)][_0x59dc09(0x116)](_0x3d172f['id']);if(!_0x3be4a2)return null;const _0x166713=_0x3be4a2[_0x59dc09(0x87)](),_0x3d0707=_0x508bd9[_0x59dc09(0x17d)][_0x59dc09(0x131)][_0x59dc09(0x14a)]();if(!_0x3d0707||!_0x166713)return null;let _0x50db34=_0x166713[_0x59dc09(0xc6)][_0x59dc09(0x103)];for(;_0x50db34[_0x59dc09(0x103)]&&_0x59dc09(0x124)!==_0x50db34[_0x59dc09(0x103)][_0x59dc09(0xf8)];)_0x50db34=_0x50db34[_0x59dc09(0x103)];if(!_0x50db34||!_0x50db34[_0x59dc09(0xf8)])return null;const _0x3bfde8=_0x3d0707[_0x59dc09(0xdc)](_0x59dc09(0x189)+_0x3d172f['id']+'\x22]');if(!_0x3bfde8)return null;let _0x32649b=null;_0x508bd9[_0x59dc09(0x109)][_0x59dc09(0x83)](_0x54c401=>{const _0xb03a39=_0x59dc09;_0x32649b=_0x54c401[_0xb03a39(0x107)](),_0x54c401[_0xb03a39(0x9f)](_0x50db34[_0xb03a39(0xa9)](!0x0),_0x32649b);});const _0x3488be=_0x508bd9[_0x59dc09(0xcf)][_0x59dc09(0xba)](_0x32649b)[_0x59dc09(0x11c)](0x0);return _0x3bfde8[_0x59dc09(0x9b)](_0x3488be[_0x59dc09(0xf8)]);}[_0x2aaa72(0x9d)](_0x2e3352){const _0x3077a7=_0x2aaa72,_0x5d419d=this[_0x3077a7(0x85)](_0x2e3352);if(!_0x5d419d[_0x3077a7(0x7e)])return;const _0x57aed0=Array[_0x3077a7(0x13c)](this[_0x3077a7(0x90)])[_0x3077a7(0xa4)](),_0x1d1053=Array[_0x3077a7(0x13c)](new Set(_0x5d419d[_0x3077a7(0x17f)](_0x5e6c0b=>_0x5e6c0b['id'])))[_0x3077a7(0xa4)]();_0x57aed0[_0x3077a7(0x186)]('|')!==_0x1d1053[_0x3077a7(0x186)]('|')&&(this[_0x3077a7(0x175)](),this[_0x3077a7(0xa2)](_0x2e3352));}[_0x2aaa72(0xa2)](_0x1efa12){const _0x37e22e=_0x2aaa72,_0x3f8d91=this[_0x37e22e(0x85)](_0x1efa12);if(!_0x3f8d91[_0x37e22e(0x7e)])return;const _0x2be023=_0x653a8c(this[_0x37e22e(0x167)]),_0x29ac59=new Set(_0x3f8d91[_0x37e22e(0x17f)](_0x26d45b=>_0x26d45b['id'])),_0x2faea1=Array[_0x37e22e(0x13c)](_0x29ac59[_0x37e22e(0x110)]())[_0x37e22e(0x17f)](_0x2b8e5e=>_0x2be023[_0x37e22e(0x109)][_0x37e22e(0x13e)][_0x37e22e(0x116)](_0x2b8e5e))[_0x37e22e(0xda)](_0x59a7df=>!!_0x59a7df);_0x29ac59[_0x37e22e(0xd3)](_0x367645=>{const _0x1cabb2=_0x37e22e;this[_0x1cabb2(0x90)][_0x1cabb2(0x12c)](_0x367645);}),_0x2be023[_0x37e22e(0x109)][_0x37e22e(0x83)](()=>{const _0x1b1b2c=_0x37e22e;_0x2faea1[_0x1b1b2c(0xd3)](_0x1895de=>{const _0x155b38=_0x1b1b2c;_0x2be023[_0x155b38(0x17d)][_0x155b38(0x12b)](_0x1895de);});});}[_0x2aaa72(0x175)](){const _0x49e048=_0x2aaa72,_0x21ab46=Array[_0x49e048(0x13c)](this[_0x49e048(0x90)]);if(!_0x21ab46[_0x49e048(0x7e)])return;this[_0x49e048(0x90)][_0x49e048(0x15f)]();const _0x271f51=_0x653a8c(this[_0x49e048(0x167)]),_0x588a1c=_0x21ab46[_0x49e048(0x17f)](_0x268903=>_0x271f51[_0x49e048(0x109)][_0x49e048(0x13e)][_0x49e048(0x116)](_0x268903))[_0x49e048(0xda)](_0x290bf2=>!!_0x290bf2);_0x271f51[_0x49e048(0x109)][_0x49e048(0x83)](()=>{const _0x39549c=_0x49e048;_0x588a1c[_0x39549c(0xd3)](_0x5728a5=>{const _0x253c1f=_0x39549c;_0x271f51[_0x253c1f(0x17d)][_0x253c1f(0x12b)](_0x5728a5);});});}[_0x2aaa72(0x92)](_0x23e53c,_0x848d05,_0x2a7a87=_0x2aaa72(0x8d)){const _0x509b6f=_0x2aaa72;if(!_0x23e53c)return null;let _0x4b448c=_0x23e53c[_0x509b6f(0x103)];for(;_0x4b448c&&_0x4b448c[_0x509b6f(0x103)]&&_0x509b6f(0x124)!==_0x4b448c[_0x509b6f(0x103)][_0x509b6f(0xf8)]&&!_0x848d05[_0x509b6f(0x109)][_0x509b6f(0xb7)][_0x509b6f(0xb2)](_0x4b448c)&&!_0x848d05[_0x509b6f(0x109)][_0x509b6f(0xb7)][_0x509b6f(0x127)](_0x4b448c);)_0x4b448c=_0x4b448c[_0x509b6f(0x103)];if(!_0x4b448c||!_0x4b448c[_0x509b6f(0xf8)]||_0x509b6f(0x124)===_0x4b448c[_0x509b6f(0xf8)])return null;let _0x45623f=null;return _0x848d05[_0x509b6f(0x109)][_0x509b6f(0x83)](_0x348b83=>{const _0x37218a=_0x509b6f;_0x45623f=_0x37218a(0x165)===_0x2a7a87?_0x348b83[_0x37218a(0x8e)](_0x4b448c):_0x348b83[_0x37218a(0xcd)](_0x4b448c);}),_0x45623f;}[_0x2aaa72(0x17b)](_0x4a66a8,_0xe61ca4){const _0x2cf2dc=_0x2aaa72,_0x171a2d=Array[_0x2cf2dc(0x13c)](this[_0x2cf2dc(0x169)][_0x2cf2dc(0x102)]()),_0x25c644=new Map();for(const _0x5bd087 of _0x171a2d){const _0x2b0232=_0x4a66a8[_0x2cf2dc(0x109)][_0x2cf2dc(0x13e)][_0x2cf2dc(0x116)](_0x5bd087);if(!_0x2b0232)continue;const _0x1eaff4=_0x2b0232[_0x2cf2dc(0x130)]()[_0x2cf2dc(0x155)][0x0];_0x25c644[_0x2cf2dc(0x184)](_0x1eaff4)||_0x25c644[_0x2cf2dc(0x86)](_0x1eaff4,[]),_0x25c644[_0x2cf2dc(0x116)](_0x1eaff4)[_0x2cf2dc(0x138)](_0x2b0232);}const _0xd6346d=new Set();for(const _0x50d0df of _0x4a66a8[_0x2cf2dc(0x109)][_0x2cf2dc(0xdf)][_0x2cf2dc(0x183)][_0x2cf2dc(0x17e)]()){let _0x19286b=-0x1,_0x3c9280=null;if(_0x2cf2dc(0x182)===_0x50d0df[_0x2cf2dc(0x172)])_0x3c9280=new _0x5531d4(_0x50d0df[_0x2cf2dc(0x156)],_0x50d0df[_0x2cf2dc(0x156)][_0x2cf2dc(0xa6)](_0x50d0df[_0x2cf2dc(0x7e)])),_0x19286b=_0x50d0df[_0x2cf2dc(0x156)][_0x2cf2dc(0x155)][0x0];else{if(_0x2cf2dc(0x157)!==_0x50d0df[_0x2cf2dc(0x172)])continue;_0x3c9280=new _0x5531d4(_0x50d0df[_0x2cf2dc(0x156)]),_0x19286b=_0x50d0df[_0x2cf2dc(0x156)][_0x2cf2dc(0x155)][0x0];}const _0x171acb=_0x25c644[_0x2cf2dc(0x116)](_0x19286b)||[];if(_0x171acb[_0x2cf2dc(0x7e)]){for(const _0x7f2a04 of _0x171acb)if(_0x3c9280[_0x2cf2dc(0xb9)][_0x2cf2dc(0x117)]===_0x7f2a04[_0x2cf2dc(0x87)]()[_0x2cf2dc(0xb9)][_0x2cf2dc(0x117)]&&(_0x2cf2dc(0x182)!==_0x50d0df[_0x2cf2dc(0x172)]||!_0x3c9280[_0x2cf2dc(0x16a)](_0x7f2a04[_0x2cf2dc(0x87)]()))&&(_0x3c9280[_0x2cf2dc(0x8a)](_0x7f2a04[_0x2cf2dc(0x87)]())||_0x3c9280[_0x2cf2dc(0xc6)][_0x2cf2dc(0xbb)](_0x7f2a04[_0x2cf2dc(0x87)]()[_0x2cf2dc(0xf7)])||_0x3c9280[_0x2cf2dc(0xf7)][_0x2cf2dc(0xbb)](_0x7f2a04[_0x2cf2dc(0x87)]()[_0x2cf2dc(0xc6)]))){const _0x3e170b=this[_0x2cf2dc(0x18b)](_0x7f2a04[_0x2cf2dc(0xf8)]);Array[_0x2cf2dc(0x13c)](this[_0x2cf2dc(0x169)][_0x2cf2dc(0x110)]())[_0x2cf2dc(0xda)](_0x3cc51e=>_0x3cc51e[_0x2cf2dc(0x11f)]===_0x3e170b[_0x2cf2dc(0x11f)])[_0x2cf2dc(0xd3)](_0x2c9459=>_0xd6346d[_0x2cf2dc(0x12c)](_0x2c9459['id']));}}}if(_0xd6346d[_0x2cf2dc(0x152)]){for(const _0x47521c of _0xd6346d)_0xe61ca4[_0x2cf2dc(0x9c)](_0x47521c);return!0x0;}return!0x1;}[_0x2aaa72(0xde)](_0x337536){const _0x3c3c33=_0x2aaa72;for(const {name:_0x346c29,data:_0x2b7c22}of _0x337536[_0x3c3c33(0x109)][_0x3c3c33(0xdf)][_0x3c3c33(0x183)][_0x3c3c33(0xed)]()){if(!_0x346c29[_0x3c3c33(0x13a)](fe))continue;const _0x952462=_0x2b7c22[_0x3c3c33(0xe7)],_0x4ed05b=_0x2b7c22[_0x3c3c33(0xf6)],_0x558644=_0x952462&&_0x3c3c33(0x100)===_0x952462[_0x3c3c33(0xb9)][_0x3c3c33(0x117)],_0x96a920=_0x4ed05b&&_0x3c3c33(0x100)===_0x4ed05b[_0x3c3c33(0xb9)][_0x3c3c33(0x117)];if(_0x558644&&_0x96a920)continue;const _0x1521ec=this[_0x3c3c33(0x18b)](_0x346c29);this[_0x3c3c33(0x169)][_0x3c3c33(0x116)](_0x346c29)&&(_0x96a920||!_0x4ed05b?this[_0x3c3c33(0xef)][_0x3c3c33(0x108)](_0x3c3c33(0x8b),{'markerId':_0x346c29,'changeId':_0x1521ec[_0x3c3c33(0x11f)]}):_0x558644&&_0x4ed05b&&this[_0x3c3c33(0xef)][_0x3c3c33(0x108)](_0x3c3c33(0x142),{'markerId':_0x346c29,'changeId':_0x1521ec[_0x3c3c33(0x11f)]}));}}[_0x2aaa72(0x18b)](_0x9be625){const _0x27f20e=_0x2aaa72,_0x5e1ffe=_0x9be625[_0x27f20e(0x82)](':'),_0x376524=(_0x5e1ffe[0x1]||'')[_0x27f20e(0x82)]('_');return{'prefix':_0x5e1ffe[0x0],'groupId':_0x376524[0x0],'suffix':_0x376524[0x1]};}[_0x2aaa72(0x141)](_0x7c254e,_0x14f887,_0x4ad004){const _0x3e4ada=_0x2aaa72;if(_0x3e4ada(0x182)===_0x7c254e[_0x3e4ada(0x172)]){const _0xe94463=_0x7c254e;return new _0x3fc600(this[_0x3e4ada(0x162)](_0x14f887[_0x3e4ada(0x12f)](_0xe94463[_0x3e4ada(0x156)][_0x3e4ada(0xd8)]),_0x4ad004),_0xe94463[_0x3e4ada(0x154)],_0xe94463[_0x3e4ada(0x9e)]);}if(_0x3e4ada(0xc9)===_0x7c254e[_0x3e4ada(0x172)]&&_0x7c254e[_0x3e4ada(0xf8)][_0x3e4ada(0x13a)](_0x3e4ada(0x145))){const _0x15e55b=_0x7c254e;return new _0xc4e586(_0x15e55b[_0x3e4ada(0xf8)],_0x15e55b[_0x3e4ada(0xe7)],this[_0x3e4ada(0xec)](_0x15e55b[_0x3e4ada(0xf6)],_0x14f887[_0x3e4ada(0x12f)](_0x15e55b[_0x3e4ada(0xf6)][_0x3e4ada(0xc6)][_0x3e4ada(0xd8)]),_0x14f887[_0x3e4ada(0x12f)](_0x15e55b[_0x3e4ada(0xf6)][_0x3e4ada(0xf7)][_0x3e4ada(0xd8)]),_0x4ad004),_0x15e55b[_0x3e4ada(0x169)],_0x15e55b[_0x3e4ada(0xd0)],_0x15e55b[_0x3e4ada(0x9e)]);}return _0x7c254e;}[_0x2aaa72(0xb1)](_0x550092){const _0x4f4ec6=_0x2aaa72;if(!_0x550092[_0x4f4ec6(0x7e)])return[];const _0x4ae03e=[];let _0x15f246=0x0,_0x286574=0x0,_0x571b12=[];for(let _0x3fe84b=0x0;_0x3fe84b<=_0x550092[_0x4f4ec6(0x7e)];_0x3fe84b++){const _0x3af7cf=_0x550092[_0x3fe84b],_0x536351=_0x550092[_0x3fe84b-0x1];!_0x3af7cf||_0x536351&&!this[_0x4f4ec6(0x133)](_0x536351)[_0x4f4ec6(0xbb)](this[_0x4f4ec6(0x10d)](_0x3af7cf))?(_0x4ae03e[_0x4f4ec6(0x138)]({'operations':_0x571b12,'operationsIsolated':_0x571b12[_0x4f4ec6(0x17f)](_0x595de5=>this[_0x4f4ec6(0x99)](_0x595de5[_0x4f4ec6(0xeb)](),-_0x286574)),'groupOffset':_0x15f246}),_0x571b12=_0x3af7cf?[_0x3af7cf]:[],_0x286574+=_0x15f246,_0x15f246=0x0):_0x571b12[_0x4f4ec6(0x138)](_0x3af7cf),_0x3af7cf&&_0x4f4ec6(0x182)===_0x3af7cf[_0x4f4ec6(0x172)]&&(_0x15f246+=_0x3af7cf[_0x4f4ec6(0x174)]);}return _0x4ae03e;}[_0x2aaa72(0x10c)](_0x48507d,_0x47167d,_0x700be8,_0x53fed6=0x1){const _0x22f1d2=_0x2aaa72,_0x48c762=new _0x6354fe({'startPosition':_0x48507d,'direction':_0x47167d});let _0x41638b=0x0;for(let _0x113ded=0x0;_0x113ded<_0x53fed6;_0x113ded++){let _0x260eab=0x0,_0x1a23b3=!0x1,_0x5849fb=_0x22f1d2(0xf1)===_0x47167d?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x59cbb3}of _0x48c762)if(_0x59cbb3['is'](_0x22f1d2(0x129))){const _0x382337=_0x5849fb[_0x22f1d2(0xaa)](_0x59cbb3[_0x22f1d2(0xcf)]);if(_0x382337&&_0x382337[_0x22f1d2(0x7e)]){if(_0x260eab+=_0x22f1d2(0xf1)===_0x47167d?_0x382337[_0x22f1d2(0xc2)]+_0x382337[0x0][_0x22f1d2(0x7e)]:_0x59cbb3[_0x22f1d2(0xcf)][_0x22f1d2(0x7e)]-_0x382337[_0x22f1d2(0xc2)],_0x382337[0x0][_0x22f1d2(0x7e)]!==_0x59cbb3[_0x22f1d2(0xcf)][_0x22f1d2(0x7e)])break;_0x1a23b3=!0x0,_0x5849fb=_0x22f1d2(0xf1)===_0x47167d?/^\w+/:/\w+$/;}else{if(_0x1a23b3)break;_0x260eab+=_0x59cbb3[_0x22f1d2(0xbe)];}}else{if(_0x59cbb3['is'](_0x22f1d2(0x10a))){_0x700be8[_0x22f1d2(0x14d)](_0x59cbb3)&&!_0x1a23b3&&(_0x260eab+=0x1);break;}}_0x41638b+=_0x260eab,_0x48c762[_0x22f1d2(0xd7)](_0x48507d[_0x22f1d2(0xa6)](_0x22f1d2(0xf1)===_0x47167d?_0x41638b:-_0x41638b));}return _0x41638b;}[_0x2aaa72(0xe2)](_0x4ac6c8,_0x49747b){const _0x5ec1b6=_0x2aaa72,_0x52404b=_0x653a8c(this[_0x5ec1b6(0x167)])[_0x5ec1b6(0x109)][_0x5ec1b6(0xb7)],_0x269dad=this[_0x5ec1b6(0x10c)](_0x4ac6c8,_0x5ec1b6(0x163),_0x52404b,0x6),_0x2f9ef5=this[_0x5ec1b6(0x10c)](_0x49747b,_0x5ec1b6(0xf1),_0x52404b,0x6),_0x55e5b8=_0x4ac6c8[_0x5ec1b6(0xa6)](-_0x269dad),_0x53745e=_0x49747b[_0x5ec1b6(0xa6)](_0x2f9ef5);return{'start':_0x55e5b8,'end':_0x53745e,'hasContentBefore':!_0x55e5b8[_0x5ec1b6(0x135)],'hasContentAfter':!_0x53745e[_0x5ec1b6(0xd1)]};}[_0x2aaa72(0x125)](_0xebed9e){const _0x3f1abf=_0x2aaa72,_0x133be8=this[_0x3f1abf(0x167)][_0x3f1abf(0x158)][_0x3f1abf(0x116)](_0x3f1abf(0xf0)),_0x20118f=new Set();_0x653a8c(this[_0x3f1abf(0x167)])[_0x3f1abf(0x109)][_0x3f1abf(0x83)](_0x1e82af=>{const _0x26ee84=_0x3f1abf;for(const _0x5af96c of _0xebed9e){const _0x148931=''+fe+_0x5af96c[_0x26ee84(0x172)]+':'+_0x5af96c[_0x26ee84(0x11f)]+'_'+_0x133be8[_0x26ee84(0xf3)](_0x20118f);this[_0x26ee84(0x169)][_0x26ee84(0x86)](_0x148931,{'id':_0x148931,'groupId':_0x5af96c[_0x26ee84(0x11f)],'type':_0x5af96c[_0x26ee84(0x172)],'content':_0x5af96c[_0x26ee84(0x118)]}),_0x1e82af[_0x26ee84(0x8c)](_0x148931,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e82af[_0x26ee84(0xab)](_0x5af96c[_0x26ee84(0xc6)],_0x5af96c[_0x26ee84(0xf7)])});}});}[_0x2aaa72(0xe5)](_0x5f0395,_0x6d0a39,_0x371d38){let _0xf2d10b='';return()=>{const _0x21094a=_0x6b4c;if(!_0xf2d10b){const _0x394524=_0x6d0a39[_0x21094a(0xba)](_0x5f0395,{'showSuggestionHighlights':!0x0});let _0xe7a726=_0x394524[_0x21094a(0x11c)](0x0);if(_0xe7a726['is'](_0x21094a(0xbc))||(_0xe7a726=_0x394524),!_0xe7a726)return'';let _0x59179e=!0x1;const _0x53d3b0=[];for(const _0x451eac of _0xe7a726[_0x21094a(0x14c)]())_0x451eac['is'](_0x21094a(0x10a),_0x21094a(0xaf))&&_0x451eac[_0x21094a(0x146)](_0x21094a(0x13d))&&(_0x59179e=!0x1),_0x59179e&&_0x53d3b0[_0x21094a(0x138)](_0x451eac),_0x451eac['is'](_0x21094a(0x10a),_0x21094a(0xaf))&&_0x451eac[_0x21094a(0x146)](_0x21094a(0x151))&&(_0x59179e=!0x0);_0xe7a726[_0x21094a(0x181)](0x0,_0xe7a726[_0x21094a(0x14f)]),_0x371d38?.[_0x21094a(0xfc)]&&_0xe7a726[_0x21094a(0x16e)]('…'),_0xe7a726[_0x21094a(0x16e)](_0x53d3b0),_0x371d38?.[_0x21094a(0x114)]&&_0xe7a726[_0x21094a(0x16e)]('…');const _0xee6070=_0x6d0a39[_0x21094a(0xe3)][_0x21094a(0xae)][_0x21094a(0x16c)](_0x394524),_0x382d42=_0x6d0a39[_0x21094a(0xe3)][_0x21094a(0xca)][_0x21094a(0xe9)](_0xee6070);_0xf2d10b=_0x382d42;}return _0xf2d10b;};}[_0x2aaa72(0xa8)](_0x5a8e02,_0x56c0af){const _0x2db72e=_0x2aaa72;let _0x45a207='';return()=>(_0x45a207||(_0x45a207=_0x56c0af[_0x2db72e(0x97)](_0x5a8e02,{'showSuggestionHighlights':!0x0})),_0x45a207);}[_0x2aaa72(0x136)](_0x836777,_0x542a5b,_0x545adb){let _0x35dd97='';return()=>{const _0x4862f9=_0x6b4c;if(!_0x35dd97){const _0x236273=_0x545adb[_0x4862f9(0xba)](new _0x21733d(_0x836777)),_0x836102=_0x545adb[_0x4862f9(0xe3)][_0x4862f9(0xae)][_0x4862f9(0x16c)](_0x236273)[_0x4862f9(0xdc)](_0x4862f9(0x98)+_0x542a5b+'\x22]');_0x35dd97=_0x836102?.[_0x4862f9(0xea)]||'';}return _0x35dd97;};}[_0x2aaa72(0x123)](_0x454935,_0x6bf8a=0x5){const _0x2365bf=_0x2aaa72;let _0x44198d=_0x454935,_0xa1ebb=null;for(let _0x309b10=0x0;_0x309b10<_0x6bf8a&&_0x44198d;_0x309b10++){if(!_0x44198d[_0x2365bf(0x178)]){_0x44198d=_0x44198d[_0x2365bf(0xe0)];continue;}if(!(''+_0x44198d[_0x2365bf(0x178)])[_0x2365bf(0x80)](_0x2365bf(0xa7))){_0x44198d=_0x44198d[_0x2365bf(0xe0)];continue;}if(!_0x44198d[_0x2365bf(0x93)](_0x2365bf(0x96)))break;_0xa1ebb=_0x44198d;break;}return _0xa1ebb;}[_0x2aaa72(0x13b)](_0x295cb0){const _0x4a5cad=_0x2aaa72,_0x1735af=_0x653a8c(this[_0x4a5cad(0x167)]),_0x2740e0=_0x1735af[_0x4a5cad(0x109)][_0x4a5cad(0x13e)][_0x4a5cad(0x116)](_0x295cb0);return _0x2740e0?_0x18a298(_0x1735af[_0x4a5cad(0x17d)],_0x2740e0):null;}[_0x2aaa72(0x85)](_0x2d4960){const _0x1bd0f8=_0x2aaa72;return Array[_0x1bd0f8(0x13c)](this[_0x1bd0f8(0x169)][_0x1bd0f8(0x110)]())[_0x1bd0f8(0xda)](_0x22747d=>_0x22747d[_0x1bd0f8(0x11f)]===_0x2d4960);}[_0x2aaa72(0x10d)](_0x3298ab){const _0xa150a1=_0x2aaa72;return _0xa150a1(0x182)===_0x3298ab[_0xa150a1(0x172)]?_0x3298ab[_0xa150a1(0x156)]:_0x3298ab[_0xa150a1(0xf6)][_0xa150a1(0xc6)];}[_0x2aaa72(0x133)](_0x38a8c2,_0x1b7921=!0x1){const _0x340672=_0x2aaa72;return _0x340672(0x182)===_0x38a8c2[_0x340672(0x172)]?_0x1b7921?_0x38a8c2[_0x340672(0x156)]:_0x38a8c2[_0x340672(0x156)][_0x340672(0xa6)](_0x38a8c2[_0x340672(0x174)]):_0x38a8c2[_0x340672(0xf6)][_0x340672(0xf7)];}[_0x2aaa72(0x99)](_0x31bbaa,_0xd990f4){const _0x118f3e=_0x2aaa72;return _0x118f3e(0x182)===_0x31bbaa[_0x118f3e(0x172)]?_0x31bbaa[_0x118f3e(0x156)]=_0x31bbaa[_0x118f3e(0x156)][_0x118f3e(0xa6)](_0xd990f4):_0x118f3e(0xc9)===_0x31bbaa[_0x118f3e(0x172)]&&_0x31bbaa[_0x118f3e(0xf6)]&&(_0x31bbaa[_0x118f3e(0xf6)]=new _0x5531d4(_0x31bbaa[_0x118f3e(0xf6)][_0x118f3e(0xc6)][_0x118f3e(0xa6)](_0xd990f4),_0x31bbaa[_0x118f3e(0xf6)][_0x118f3e(0xf7)][_0x118f3e(0xa6)](_0xd990f4))),_0x31bbaa;}[_0x2aaa72(0x11b)](_0xb278dd,_0x51e029){const _0x5a3d02=_0x2aaa72;_0x5a3d02(0x182)===_0xb278dd[_0x5a3d02(0x172)]?_0xb278dd[_0x5a3d02(0x156)]=this[_0x5a3d02(0x16f)](_0xb278dd[_0x5a3d02(0x156)],_0x51e029):_0x5a3d02(0xc9)===_0xb278dd[_0x5a3d02(0x172)]&&_0xb278dd[_0x5a3d02(0xf6)]&&(_0xb278dd[_0x5a3d02(0xf6)]=this[_0x5a3d02(0xb4)](_0xb278dd[_0x5a3d02(0xf6)],_0x51e029));}[_0x2aaa72(0x16f)](_0x529f03,_0x4fd6a0){const _0x499742=_0x2aaa72;return new _0x4898f5(_0x4fd6a0,_0x529f03[_0x499742(0x155)]);}[_0x2aaa72(0xb4)](_0x473a0a,_0x1e4959){const _0x310eb0=_0x2aaa72;return new _0x5531d4(this[_0x310eb0(0x16f)](_0x473a0a[_0x310eb0(0xc6)],_0x1e4959),this[_0x310eb0(0x16f)](_0x473a0a[_0x310eb0(0xf7)],_0x1e4959));}[_0x2aaa72(0x162)](_0x39fd95,_0x49e399){return new _0x4898f5(_0x49e399,[..._0x39fd95]);}[_0x2aaa72(0xec)](_0x6fb842,_0x5f0473,_0x57de72,_0x4f520d){const _0x217935=_0x2aaa72;return new _0x5531d4(this[_0x217935(0x162)](_0x5f0473,_0x4f520d),this[_0x217935(0x162)](_0x57de72,_0x4f520d));}[_0x2aaa72(0xa1)](_0x401057){const _0x24f8c0=_0x2aaa72,_0x5f49ef=_0x545d88=>{const _0x51bf4f=_0x6b4c;switch(_0x545d88){case _0x51bf4f(0x182):return 0x0;case _0x51bf4f(0xad):return 0x1;case _0x51bf4f(0x147):return 0x2;case _0x51bf4f(0x149):return 0x3;}};return _0x401057[_0x24f8c0(0xa4)]((_0x51c53e,_0x5c3cc2)=>_0x5f49ef(_0x51c53e[_0x24f8c0(0x172)])-_0x5f49ef(_0x5c3cc2[_0x24f8c0(0x172)]));}[_0x2aaa72(0xc1)](_0x1ab2b8,_0x18b4b0){const _0x4a00cb=_0x2aaa72,_0x4a4282=_0x1ab2b8[_0x4a00cb(0x11c)](0x0),_0x594649=_0x18b4b0[_0x4a00cb(0x11c)](0x0);return!(!_0x4a4282||!_0x594649)&&((!_0x4a4282['is'](_0x4a00cb(0x10a))||!_0x594649['is'](_0x4a00cb(0x10a))||_0x4a4282[_0x4a00cb(0xf8)]===_0x594649[_0x4a00cb(0xf8)])&&!(_0x4a4282['is'](_0x4a00cb(0x10a))&&!_0x594649['is'](_0x4a00cb(0x10a))||!_0x4a4282['is'](_0x4a00cb(0x10a))&&_0x594649['is'](_0x4a00cb(0x10a))));}[_0x2aaa72(0x16d)](_0x285627){const _0xa2e425=_0x2aaa72;return 0x1===_0x285627[_0xa2e425(0x14f)];}[_0x2aaa72(0xfd)](_0x1d0fe6,_0xf2a042){const _0xbe3ca3=_0x2aaa72;for(const _0x250766 of _0x1d0fe6[_0xbe3ca3(0x14c)]())if(_0x250766['is'](_0xbe3ca3(0x10a))&&!_0xf2a042[_0xbe3ca3(0x14d)](_0x250766))return!0x1;return!0x0;}[_0x2aaa72(0x9a)](_0x44f9dd,_0x597a6a){const _0x53690b=_0x2aaa72;let _0x1df0ee=_0x44f9dd[_0x53690b(0x93)](_0x2b8124);return _0x1df0ee||(_0x1df0ee=_0x597a6a(),_0x44f9dd[_0x53690b(0x148)](_0x2b8124,_0x1df0ee)),_0x1df0ee;}}
23
+ function _0x4878(_0x233a06,_0x4a6b4e){const _0x114bdc=_0x114b();return _0x4878=function(_0x4878b7,_0x66445c){_0x4878b7=_0x4878b7-0x8f;let _0x3c3fd9=_0x114bdc[_0x4878b7];return _0x3c3fd9;},_0x4878(_0x233a06,_0x4a6b4e);}const _0xc06e2e=_0x4878;(function(_0x2b99ef,_0x51937c){const _0x3da1f3=_0x4878,_0x532fbc=_0x2b99ef();while(!![]){try{const _0x5fb476=-parseInt(_0x3da1f3(0x13d))/0x1*(parseInt(_0x3da1f3(0xb5))/0x2)+parseInt(_0x3da1f3(0xbb))/0x3*(-parseInt(_0x3da1f3(0xf2))/0x4)+-parseInt(_0x3da1f3(0x111))/0x5+parseInt(_0x3da1f3(0xb0))/0x6+parseInt(_0x3da1f3(0x102))/0x7+-parseInt(_0x3da1f3(0x14e))/0x8+parseInt(_0x3da1f3(0x120))/0x9;if(_0x5fb476===_0x51937c)break;else _0x532fbc['push'](_0x532fbc['shift']());}catch(_0x538227){_0x532fbc['push'](_0x532fbc['shift']());}}}(_0x114b,0x7ab3e));import{InsertOperation as _0x53b5e6,MarkerOperation as _0x2cde19,ModelDocumentFragment as _0x47bec3,ModelPosition as _0x4bbffd,ModelRange as _0x17e2be,ModelTreeWalker as _0x415cb7,transformOperationSets as _0x279dfe}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x40d955,EmitterMixin as _0x3e90e6,uid as _0x31e23b}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4aae68}from'ckeditor5/src/core.js';import{DocumentCompare as _0x3c8290,DATA_ID_MODEL_ATTRIBUTE as _0x34ceb2,DATA_ID_VIEW_ATTRIBUTE as _0x54fbcc,getMarkerDomElement as _0x29584e}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x450a8e}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x369586}from'../aicore/aiediting.js';function _0x114b(){const _0x2dac04=['remove','changeMarkerBlurred','asFragment','disableReadOnlyMode','_getOperationEnd','documentFragment','markerToHighlight','1656448MaRHqR','toData','context','reconvertMarker','createPositionAt','stringify','downcast','rejectChange','reactivateMarkers','_handleMarkerChanges','outerHTML','body','position','getDocumentData','fire','isDocumentOperation','getShiftedBy','filter','backward','addMarker','attributeToAttribute','forEach','removeMarker','switchToEdit','baseVersion','_haveOnlyInlineContent','_appendChild','rootName','conversion','clear','changeMarkerRemoved','_validateMarkers','every','getEditableElement','$documentFragment','editingDowncast','getMarkerElementForChange','_changePositionOwnerDocument','markChangePositionInEditorContent','getOperations','markerToElement','ai-review','_createGetContentUsingDataIdFn','clearAllMarkers','containerElement','parentElement','addOperation','isOfficialPlugin','span','end','_shiftOperation','createRange','suggestion:deletion:id:authorId:','_setAttribute','from','hasContentBefore','getPath','createRangeOn','ellipsisBefore','_getMarkersDataForGroup','nodes','data-marker-id','_markers','[data-id=\x22','suggestion-context','target','hasContentAfter','getRange','view','_changeRangeOwnerDocument','model','_changePosition','remove-context','applyOperation','operationsIsolated','htmlWriter','registerPostFixer','affectsData','keys','_clone','_changeRange','ck-ai_review-marker_strikethrough','clone','insert','createSelection','name','schema','pluginName','has','$graveyard','ck-ai_review-marker_add','sort','isPremiumPlugin','_changeOperationOwnerDocument','relatedTarget','_getChangeContext','document','_findAdjacentContextDistance','processor','getRoot','set','dataDowncast','ck-ai_review-marker_context-','index','editing','innerHTML','offsetSize','getEditor','_removeChildren','startsWith','content','3675816qaOdRM','createPositionAfter','isAtStart','deleteContent','isAtEnd','82enkKSi','ellipsisAfter','for','review-','concat','join','6CJGuvF','asString','remove-text','get','oldRange','getChild','changeMarkerRestored','setMarkersInElementAsActive','requires','history','_upsertDataId','diffContent','setAllMarkersAsInactive','length','$root','_nextDataId','applyChange','parse','includes','offset','inside','getDomRoot','toView','viewToDom','differ','_findMarkerElementById','exec','parent','$textProxy','domConverter','isTouching','isIntersecting','remove-only','enableReadOnlyMode','\x20ck-ai_review__change_active','_getPositionLimitingRange','pop','jumpTo','ck-ai_review__change_active','_translateOperationToEditorContent','mouseover','childCount','switchToReadOnly','_domEmitter','batch','createRangeIn','elements','howMany','change','listenTo','_groupAdjacentOperations','delete','warn','append','changeMarkerHovered','1802116FJdpxz','isInline','forward','[data-marker-id=\x22','_parseMarkerName','highest','suggestion:insertion:id:authorId:','_findMarkerElement','emitter','markers','_insertMarkers','.ck-reset.ck-ai_review-balloon-panel-suggestion','flat','createUIElement','getRoots','getStart','3225628HftwTd','_eventEmitter','closest','DocumentCompare','ck-ai_review-marker_','element','operationsA','_activeMarkers','toDomElement','add','AIEditing','isLimit','getChangedMarkers','changeMarkerClicked','getHtml','167795rJGzqv','getAttribute','plugins','size','$markedRemove','_haveSingleTopLevelElement','createRawElement','getContentElementForChange','values','split','start','outside','ck-ai_review-marker_underline','htmlProcessor','_getOperationStart','9970938Mkmqxc','getChanges','containsRange','_createGetContentFn','hasAttribute','version','isBlock','mouseup','_removeAttribute','root','_sortMarkers','AIReviewCoreEditing','path','getChildren','No\x20element\x20found\x20for\x20ID:\x20','markerName','groupId','operations','hasClass','ck-ai_review-marker_context-end','data','afterInit','createDocumentFragment','className','map','type','newRange','isOpening','querySelector','13099VBuFml','_createGetContextFn','ck-ai_review-marker_hide','ck-ai_review-marker_context-start','insertContent','getDiff','marker','_hasSameTopLevelElement','push','$markedRemove:synthetic'];_0x114b=function(){return _0x2dac04;};return _0x114b();}import{debounce as _0x1835af}from'es-toolkit/compat';const fe=_0xc06e2e(0xb8);export class AIReviewCoreEditing extends _0x4aae68{static get[_0xc06e2e(0xc3)](){return[_0x3c8290,_0x369586];}static get[_0xc06e2e(0x98)](){const _0x55c1fd=_0xc06e2e;return _0x55c1fd(0x12b);}static get[_0xc06e2e(0x17d)](){return!0x0;}static get[_0xc06e2e(0x9d)](){return!0x0;}[_0xc06e2e(0x18c)]=new Map();[_0xc06e2e(0x109)]=new Set();[_0xc06e2e(0xe6)];[_0xc06e2e(0x103)];constructor(_0x4e1690){const _0x5bfc2f=_0xc06e2e;super(_0x4e1690),this[_0x5bfc2f(0xe6)]=new(_0x40d955())(),this[_0x5bfc2f(0x103)]=new(_0x3e90e6())();}get[_0xc06e2e(0xfa)](){const _0x2693f6=_0xc06e2e;return this[_0x2693f6(0x103)];}[_0xc06e2e(0x135)](){const _0x3dee7c=_0xc06e2e,_0x4fb28c=_0x450a8e(this[_0x3dee7c(0x150)]);_0x4fb28c[_0x3dee7c(0x16a)][_0x3dee7c(0xb7)](_0x3dee7c(0x171))[_0x3dee7c(0x176)]({'model':fe+_0x3dee7c(0x94),'view':(_0x4842c8,{writer:_0x1a16ce})=>{const _0x43cafd=_0x3dee7c,_0x5375df=this[_0x43cafd(0x18c)][_0x43cafd(0xbe)](_0x4842c8[_0x43cafd(0x12f)]),_0x205a80={'class':_0x43cafd(0x9b)+(this[_0x43cafd(0x109)][_0x43cafd(0x99)](_0x5375df?.['id']||'')?_0x43cafd(0xdd):''),'data-marker-id':_0x4842c8[_0x43cafd(0x12f)]};return _0x1a16ce[_0x43cafd(0xff)](_0x43cafd(0x17e),_0x205a80,function(_0xac5d11){const _0x3d8975=_0x43cafd,_0x460b2e=this[_0x3d8975(0x10a)](_0xac5d11);return _0x460b2e[_0x3d8975(0xaa)]=_0x5375df?.[_0x3d8975(0xaf)]?.[_0x3d8975(0xbc)]||'',_0x460b2e;});}}),_0x4fb28c[_0x3dee7c(0x16a)][_0x3dee7c(0xb7)](_0x3dee7c(0x171))[_0x3dee7c(0x14d)]({'model':fe+_0x3dee7c(0xdb),'view':_0x4e200f=>{const _0x236482=_0x3dee7c,_0xc04dad=this[_0x236482(0x18c)][_0x236482(0xbe)](_0x4e200f[_0x236482(0x12f)]),_0x3863be=[_0x236482(0x92)];return this[_0x236482(0x109)][_0x236482(0x99)](_0xc04dad?.['id']||'')&&_0x3863be[_0x236482(0x145)](_0x236482(0xe1)),{'classes':_0x3863be,'attributes':{'data-marker-id':_0x4e200f[_0x236482(0x12f)]}};}}),_0x4fb28c[_0x3dee7c(0x16a)][_0x3dee7c(0xb7)](_0x3dee7c(0x171))[_0x3dee7c(0x14d)]({'model':fe+_0x3dee7c(0x196),'view':_0x3ced54=>{const _0x4ed3dc=_0x3dee7c,_0x2b2a74=this[_0x4ed3dc(0x18c)][_0x4ed3dc(0xbe)](_0x3ced54[_0x4ed3dc(0x12f)]),_0x33ae78=[_0x4ed3dc(0x11d)];return this[_0x4ed3dc(0x109)][_0x4ed3dc(0x99)](_0x2b2a74?.['id']||'')&&_0x33ae78[_0x4ed3dc(0x145)](_0x4ed3dc(0xe1)),{'classes':_0x33ae78,'attributes':{'data-marker-id':_0x3ced54[_0x4ed3dc(0x12f)]}};}}),_0x4fb28c[_0x3dee7c(0x16a)][_0x3dee7c(0xb7)](_0x3dee7c(0x171))[_0x3dee7c(0x14d)]({'model':fe+_0x3dee7c(0xbd),'view':_0x1580a2=>{const _0xcfb6dd=_0x3dee7c,_0x3efe91=this[_0xcfb6dd(0x18c)][_0xcfb6dd(0xbe)](_0x1580a2[_0xcfb6dd(0x12f)]),_0x16192c=[_0xcfb6dd(0x13f)];return this[_0xcfb6dd(0x109)][_0xcfb6dd(0x99)](_0x3efe91?.['id']||'')&&_0x16192c[_0xcfb6dd(0x145)](_0xcfb6dd(0xe1)),{'classes':_0x16192c,'attributes':{'data-marker-id':_0x1580a2[_0xcfb6dd(0x12f)]}};}}),_0x4fb28c[_0x3dee7c(0x16a)][_0x3dee7c(0xb7)](_0x3dee7c(0xa6))[_0x3dee7c(0x176)]({'model':fe+_0x3dee7c(0x18e),'view':(_0x4f21fd,{writer:_0x65586c})=>_0x65586c[_0x3dee7c(0x117)](_0x3dee7c(0x17e),{'class':_0x3dee7c(0xa7)+(_0x4f21fd[_0x3dee7c(0x13b)]?_0x3dee7c(0x11b):_0x3dee7c(0x17f))})}),_0x4fb28c[_0x3dee7c(0x16a)][_0x3dee7c(0xb7)](_0x3dee7c(0x154))[_0x3dee7c(0x162)]({'model':_0x34ceb2,'view':_0x54fbcc});const _0x581e6a=_0x4fb28c['ui'][_0x3dee7c(0x16f)]()||document[_0x3dee7c(0x159)];this[_0x3dee7c(0xe6)][_0x3dee7c(0xec)](_0x581e6a,_0x3dee7c(0x127),(_0x137051,_0x11a444)=>{const _0x2a4046=_0x3dee7c,_0x381b79=_0x11a444[_0x2a4046(0x18f)],_0x3ec939=this[_0x2a4046(0xf9)](_0x381b79);if(!_0x3ec939)return;const _0x561546=_0x3ec939[_0x2a4046(0x112)](_0x2a4046(0x18b)),_0x4bad1d=_0x561546[_0x2a4046(0x11a)](':')[_0x2a4046(0xdf)]()?.[_0x2a4046(0x11a)]('_')[0x0];this[_0x2a4046(0x103)][_0x2a4046(0x15c)](_0x2a4046(0x10f),{'markerId':_0x561546,'changeId':_0x4bad1d,'markerElement':()=>this[_0x2a4046(0xd4)](_0x561546),'domEvent':_0x11a444});},{'usePassive':!0x0,'priority':_0x3dee7c(0xf7)}),this[_0x3dee7c(0xe6)][_0x3dee7c(0xec)](_0x581e6a,_0x3dee7c(0xe3),(_0x242dee,_0xfa27c4)=>{const _0x574ed4=_0x3dee7c,_0x270483=_0xfa27c4[_0x574ed4(0x18f)],_0x5e10f8=_0xfa27c4[_0x574ed4(0x9f)];let _0x31c338=this[_0x574ed4(0xf9)](_0x270483);if(!_0x31c338&&_0x5e10f8&&(_0x31c338=this[_0x574ed4(0xf9)](_0x5e10f8)),!_0x31c338)return;const _0x5cf542=_0x31c338[_0x574ed4(0x112)](_0x574ed4(0x18b)),_0x49b91b=_0x5cf542[_0x574ed4(0x11a)](':')[_0x574ed4(0xdf)]()?.[_0x574ed4(0x11a)]('_')[0x0];this[_0x574ed4(0x103)][_0x574ed4(0x15c)](_0x574ed4(0xf1),{'changeId':_0x49b91b,'markerElement':()=>this[_0x574ed4(0xd4)](_0x5cf542),'domEvent':_0xfa27c4});}),this[_0x3dee7c(0xe6)][_0x3dee7c(0xec)](document,_0x3dee7c(0xe3),_0x1835af((_0x39440d,_0x602628)=>{const _0x33ade0=_0x3dee7c,_0x5a66af=_0x602628[_0x33ade0(0x18f)];if(this[_0x33ade0(0xf9)](_0x5a66af))return;_0x5a66af[_0x33ade0(0x104)](_0x33ade0(0xfd))||this[_0x33ade0(0x103)][_0x33ade0(0x15c)](_0x33ade0(0x148));},0xc8)),_0x4fb28c[_0x3dee7c(0x194)][_0x3dee7c(0xa1)][_0x3dee7c(0x19a)](_0x129e46=>this[_0x3dee7c(0x16d)](_0x4fb28c,_0x129e46)),_0x4fb28c[_0x3dee7c(0x194)][_0x3dee7c(0xa1)]['on'](_0x3dee7c(0xeb),()=>this[_0x3dee7c(0x157)](_0x4fb28c));}[_0xc06e2e(0x15b)](){const _0x3e9103=_0xc06e2e,_0x5d046b=this[_0x3e9103(0x150)][_0x3e9103(0x113)][_0x3e9103(0xbe)](_0x3e9103(0x10c)),_0x17bea8=_0x450a8e(this[_0x3e9103(0x150)]),_0x1fa8ac=_0x17bea8[_0x3e9103(0x194)],_0x63fbb2=new _0x47bec3();for(const _0x273caf of _0x1fa8ac[_0x3e9103(0xa1)][_0x3e9103(0xa4)]()[_0x3e9103(0x12d)]()){const _0xc4909c=_0x273caf[_0x3e9103(0x90)](!0x0);_0x63fbb2[_0x3e9103(0x168)](_0xc4909c);}for(const _0x98a955 of _0x1fa8ac[_0x3e9103(0xfb)])_0x63fbb2[_0x3e9103(0xfb)][_0x3e9103(0xa5)](_0x98a955[_0x3e9103(0x96)],this[_0x3e9103(0x193)](_0x98a955[_0x3e9103(0x191)]()[_0x3e9103(0x93)](),_0x63fbb2));const _0x8694f9=new _0x415cb7({'ignoreElementEnd':!0x0,'startPosition':_0x1fa8ac[_0x3e9103(0x152)](_0x63fbb2,0x0)}),_0xc420ca=new Set(),_0x25305c=new Map();for(const {item:_0x144095}of _0x8694f9){if(!_0x144095['is'](_0x3e9103(0xd7)))continue;const _0xc25de1=_0x144095[_0x3e9103(0xd6)];if(_0xc25de1&&_0xc25de1['is'](_0x3e9103(0x107))){const _0x106e9f=this[_0x3e9103(0xc5)](_0xc25de1,()=>_0x5d046b[_0x3e9103(0xca)](_0xc420ca));_0xc420ca[_0x3e9103(0x10b)](_0x106e9f);for(const _0x24f2d8 of _0xc25de1[_0x3e9103(0x12d)]())_0x24f2d8['is'](_0x3e9103(0x107))&&_0xc420ca[_0x3e9103(0x10b)](this[_0x3e9103(0xc5)](_0x24f2d8,()=>_0x5d046b[_0x3e9103(0xca)](_0xc420ca)));let _0x211c72=_0xc25de1;for(;_0x211c72[_0x3e9103(0xd6)]&&!_0x211c72[_0x3e9103(0xd6)]['is'](_0x3e9103(0x14c));)_0x211c72=_0x211c72[_0x3e9103(0xd6)],_0x211c72[_0x3e9103(0x124)](_0x34ceb2)&&_0x211c72[_0x3e9103(0x128)](_0x34ceb2);_0x25305c[_0x3e9103(0xa5)](_0x106e9f,{'path':_0xc25de1[_0x3e9103(0x186)](),'getContent':this[_0x3e9103(0x178)](_0x211c72[_0x3e9103(0x90)](!0x0),_0x106e9f,_0x17bea8[_0x3e9103(0x134)])}),_0x8694f9[_0x3e9103(0xe0)](_0x1fa8ac[_0x3e9103(0xb1)](_0xc25de1));}}return{'content':_0x17bea8[_0x3e9103(0x134)][_0x3e9103(0xa3)][_0x3e9103(0x14f)](_0x17bea8[_0x3e9103(0x134)][_0x3e9103(0xd1)](_0x63fbb2)),'version':_0x17bea8[_0x3e9103(0x194)][_0x3e9103(0xa1)][_0x3e9103(0x125)],'elements':_0x25305c};}[_0xc06e2e(0xc6)](_0x227c86,_0x1ff6c3,_0x1a796e=!0x1){const _0x5ea3b2=_0xc06e2e,_0x428ce1=[],_0x2fd659=_0x450a8e(this[_0x5ea3b2(0x150)]),_0x3fef96=_0x2fd659[_0x5ea3b2(0x134)][_0x5ea3b2(0xcc)](_0x1ff6c3,_0x5ea3b2(0x170)),_0x5cd4a6=_0x2fd659[_0x5ea3b2(0x134)][_0x5ea3b2(0xcc)](_0x227c86,_0x5ea3b2(0x170)),_0x2fbab2=_0x2fd659[_0x5ea3b2(0x194)][_0x5ea3b2(0x152)](_0x5cd4a6,0x0);if(this[_0x5ea3b2(0x116)](_0x3fef96)){if(!this[_0x5ea3b2(0x144)](_0x5cd4a6,_0x3fef96))return _0x428ce1;}else{const _0x268c6f=_0x2fd659[_0x5ea3b2(0x194)][_0x5ea3b2(0x97)];if(!this[_0x5ea3b2(0x167)](_0x5cd4a6,_0x268c6f)||!this[_0x5ea3b2(0x167)](_0x3fef96,_0x268c6f))return _0x428ce1;}const _0x38b952=this[_0x5ea3b2(0x150)][_0x5ea3b2(0x113)][_0x5ea3b2(0xbe)](_0x5ea3b2(0x105))[_0x5ea3b2(0x142)](_0x227c86,_0x1ff6c3,{'anchor':_0x2fbab2,'markDeletions':!0x0})[_0x5ea3b2(0x175)]()[_0x5ea3b2(0x15f)](_0x1d1382=>_0x5ea3b2(0x94)===_0x1d1382[_0x5ea3b2(0x139)]||_0x5ea3b2(0x143)===_0x1d1382[_0x5ea3b2(0x139)]&&_0x1d1382[_0x5ea3b2(0x96)][_0x5ea3b2(0xae)](_0x5ea3b2(0x115))),_0x2c6f82=this[_0x5ea3b2(0xed)](_0x38b952),_0x1a30ee=[];if(_0x1a796e){if(_0x2c6f82[_0x5ea3b2(0xc8)]){const _0x33f57a=_0x2c6f82[0x0][_0x5ea3b2(0x131)][0x0],_0x5d4007=_0x5ea3b2(0x94)===_0x33f57a[_0x5ea3b2(0x139)]?_0x33f57a[_0x5ea3b2(0x15a)]:_0x33f57a[_0x5ea3b2(0x13a)][_0x5ea3b2(0x11b)],_0x10877d=this[_0x5ea3b2(0xde)](_0x5d4007,_0x2fd659,_0x5ea3b2(0xcf)),_0x450758=_0x10877d?_0x3fef96[_0x5ea3b2(0xc0)](0x0)[_0x5ea3b2(0x12d)]():_0x3fef96[_0x5ea3b2(0x12d)](),_0x117bea=_0x10877d||_0x2fd659[_0x5ea3b2(0x194)][_0x5ea3b2(0xe8)](_0x5cd4a6),_0x193fc5=[new _0x2cde19(_0x5ea3b2(0x146)+_0x31e23b(),null,_0x117bea,_0x2fd659[_0x5ea3b2(0x194)][_0x5ea3b2(0xa1)][_0x5ea3b2(0x194)][_0x5ea3b2(0xfb)],!0x0,_0x2fd659[_0x5ea3b2(0x194)][_0x5ea3b2(0xa1)][_0x5ea3b2(0x125)]+0x1),new _0x53b5e6(_0x117bea[_0x5ea3b2(0x17f)],_0x450758,_0x2fd659[_0x5ea3b2(0x194)][_0x5ea3b2(0xa1)][_0x5ea3b2(0x125)]+0x2)];_0x1a30ee[_0x5ea3b2(0x145)]({'operations':_0x193fc5,'operationsIsolated':_0x193fc5,'groupOffset':0x0});}}else _0x1a30ee[_0x5ea3b2(0x145)](..._0x2c6f82);let _0x4a1b41=0x0;return _0x2fd659[_0x5ea3b2(0x194)][_0x5ea3b2(0xeb)](_0x1c1477=>{const _0x220281=_0x5ea3b2;for(let _0x1361f7=0x0;_0x1361f7<_0x1a30ee[_0x220281(0xc8)];_0x1361f7++){const _0x2232d4=_0x1a30ee[_0x1361f7],_0x140582=_0x1c1477[_0x220281(0x136)]();for(const _0x25b256 of _0x5cd4a6[_0x220281(0x12d)]())_0x1c1477[_0x220281(0xf0)](_0x25b256[_0x220281(0x90)](!0x0),_0x140582);for(const _0x55166c of _0x2232d4[_0x220281(0x198)])if(_0x220281(0x94)===_0x55166c[_0x220281(0x139)]){const _0x111d54=_0x55166c;_0x111d54[_0x220281(0x166)]=null,_0x111d54[_0x220281(0x15d)]=!0x1,this[_0x220281(0x9e)](_0x111d54,_0x140582),_0x1c1477[_0x220281(0xe7)][_0x220281(0x17c)](_0x55166c),_0x2fd659[_0x220281(0x194)][_0x220281(0x197)](_0x55166c);const _0x1d9627=_0x220281(0xf8)+_0x4a1b41++,_0x22c12b=_0x2fd659[_0x220281(0x194)][_0x220281(0x181)](_0x111d54[_0x220281(0x15a)],_0x111d54[_0x220281(0x15a)][_0x220281(0x15e)](_0x111d54[_0x220281(0xea)]));_0x140582[_0x220281(0xfb)][_0x220281(0xa5)](_0x1d9627,_0x22c12b);}else{if(_0x220281(0x143)===_0x55166c[_0x220281(0x139)]&&_0x55166c[_0x220281(0x96)][_0x220281(0xae)](_0x220281(0x115))){const _0x3101c4=_0x55166c,_0x54adde=_0x220281(0x182)+_0x4a1b41++;this[_0x220281(0x9e)](_0x3101c4,_0x140582),_0x140582[_0x220281(0xfb)][_0x220281(0xa5)](_0x54adde,_0x3101c4[_0x220281(0x13a)]);}}if(_0x1a796e)_0x428ce1[_0x220281(0x145)]({..._0x2232d4,'context':this[_0x220281(0x123)](_0x5cd4a6,_0x2fd659[_0x220281(0x134)]),'content':this[_0x220281(0x123)](_0x5cd4a6,_0x2fd659[_0x220281(0x134)])});else{const _0x5550d3=this[_0x220281(0xa0)](this[_0x220281(0x173)](this[_0x220281(0x11f)](_0x2232d4[_0x220281(0x198)][0x0]),_0x140582),this[_0x220281(0x173)](this[_0x220281(0x14b)](_0x2232d4[_0x220281(0x198)][_0x2232d4[_0x220281(0x198)][_0x220281(0xc8)]-0x1]),_0x140582));_0x140582[_0x220281(0xfb)][_0x220281(0xa5)](fe+_0x220281(0x18e),new _0x17e2be(_0x5550d3[_0x220281(0x11b)],_0x5550d3[_0x220281(0x17f)])),_0x428ce1[_0x220281(0x145)]({..._0x2232d4,'context':this[_0x220281(0x13e)](_0x140582,_0x2fd659[_0x220281(0x134)],{'ellipsisBefore':_0x5550d3[_0x220281(0x185)],'ellipsisAfter':_0x5550d3[_0x220281(0x190)]}),'content':this[_0x220281(0x123)](_0x140582,_0x2fd659[_0x220281(0x134)])});}}}),_0x428ce1;}[_0xc06e2e(0x174)](_0x4e8147,_0x53301a){const _0x4df2c0=_0xc06e2e;if(!_0x4e8147[_0x4df2c0(0xc8)])return;const _0x3ac091=_0x4e8147[0x0][_0x4df2c0(0xd6)]['id'],_0x222adb=_0x53301a[_0x4df2c0(0xe9)][_0x4df2c0(0xbe)](_0x3ac091);if(!_0x222adb)return void console[_0x4df2c0(0xef)](_0x4df2c0(0x12e)+_0x3ac091);const _0x1e66d3=_0x222adb[_0x4df2c0(0x12c)],_0x179d2f=_0x450a8e(this[_0x4df2c0(0x150)]),_0x44115d=_0x179d2f[_0x4df2c0(0x194)][_0x4df2c0(0xa1)][_0x4df2c0(0xc4)][_0x4df2c0(0x175)](_0x53301a[_0x4df2c0(0x125)]),_0x23a5a8=[];for(const _0x598d48 of _0x4e8147){const _0x5062cf=_0x598d48[_0x4df2c0(0x198)][_0x4df2c0(0x138)](_0x56d140=>this[_0x4df2c0(0xe2)](_0x56d140,_0x1e66d3,_0x179d2f[_0x4df2c0(0x194)][_0x4df2c0(0xa1)][_0x4df2c0(0x100)]()[0x0]));if(!_0x5062cf||!_0x5062cf[_0x4df2c0(0xc8)])continue;const _0x2d3ae7=_0x5062cf[_0x4df2c0(0x16e)](_0x3c977f=>_0x4df2c0(0x143)===_0x3c977f[_0x4df2c0(0x139)]&&_0x3c977f[_0x4df2c0(0x96)][_0x4df2c0(0xae)](_0x4df2c0(0x115))),_0x48491f={'document':_0x179d2f[_0x4df2c0(0x194)][_0x4df2c0(0xa1)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x45b3c5=_0x279dfe(_0x5062cf,_0x44115d,_0x48491f)[_0x4df2c0(0x108)];for(const _0x189524 of _0x45b3c5)if(_0x4df2c0(0x94)===_0x189524[_0x4df2c0(0x139)]){const _0x5922af=_0x189524,_0x5ad1f2=_0x5922af[_0x4df2c0(0x18a)];_0x179d2f[_0x4df2c0(0x194)][_0x4df2c0(0xeb)](_0x1cfb46=>{const _0x3e3dd5=_0x4df2c0,_0x1ceb05=_0x1cfb46[_0x3e3dd5(0x136)]();for(const _0x3045b6 of _0x5ad1f2)_0x1cfb46[_0x3e3dd5(0xf0)](_0x3045b6[_0x3e3dd5(0x90)](!0x0),_0x1ceb05);_0x23a5a8[_0x3e3dd5(0x145)]({'start':_0x5922af[_0x3e3dd5(0x15a)],'end':_0x5922af[_0x3e3dd5(0x15a)],'type':_0x3e3dd5(0x94),'groupId':_0x598d48['id'],'content':{'asString':this[_0x3e3dd5(0x123)](_0x1ceb05,_0x179d2f[_0x3e3dd5(0x134)])(),'asFragment':_0x1ceb05}});});}else{if(_0x4df2c0(0x143)===_0x189524[_0x4df2c0(0x139)]&&_0x189524[_0x4df2c0(0x96)][_0x4df2c0(0xae)](_0x4df2c0(0x115))){const _0x211b27=_0x189524;let _0x1dc6d7=_0x4df2c0(0xbd);if(_0x2d3ae7){const _0x46d391=this[_0x4df2c0(0xa2)](_0x211b27[_0x4df2c0(0x13a)][_0x4df2c0(0x11b)],_0x4df2c0(0x160),_0x179d2f[_0x4df2c0(0x194)][_0x4df2c0(0x97)]),_0x4ba504=this[_0x4df2c0(0xa2)](_0x211b27[_0x4df2c0(0x13a)][_0x4df2c0(0x17f)],_0x4df2c0(0xf4),_0x179d2f[_0x4df2c0(0x194)][_0x4df2c0(0x97)]);if(_0x46d391||_0x4ba504){const _0x4d645f=_0x211b27[_0x4df2c0(0x13a)][_0x4df2c0(0x11b)][_0x4df2c0(0x15e)](-_0x46d391),_0x4ac6a=_0x211b27[_0x4df2c0(0x13a)][_0x4df2c0(0x17f)][_0x4df2c0(0x15e)](_0x4ba504);_0x23a5a8[_0x4df2c0(0x145)]({'start':_0x4d645f,'end':_0x4ac6a,'groupId':_0x598d48['id'],'type':_0x4df2c0(0x196)});}else _0x1dc6d7=_0x4df2c0(0xdb);}_0x23a5a8[_0x4df2c0(0x145)]({'start':_0x211b27[_0x4df2c0(0x13a)][_0x4df2c0(0x11b)],'end':_0x211b27[_0x4df2c0(0x13a)][_0x4df2c0(0x17f)],'groupId':_0x598d48['id'],'type':_0x1dc6d7});}}}this[_0x4df2c0(0xfc)](_0x23a5a8);}[_0xc06e2e(0x179)](){const _0x260f29=_0xc06e2e,_0x5a6e8e=_0x450a8e(this[_0x260f29(0x150)]);_0x5a6e8e[_0x260f29(0x194)][_0x260f29(0xeb)](_0x393c95=>{const _0x1a0621=_0x260f29;for(const _0xe83594 of this[_0x1a0621(0x18c)][_0x1a0621(0x8f)]())_0x5a6e8e[_0x1a0621(0x194)][_0x1a0621(0xfb)][_0x1a0621(0xbe)](_0xe83594)&&_0x393c95[_0x1a0621(0x164)](_0xe83594);}),this[_0x260f29(0x18c)][_0x260f29(0x16b)](),this[_0x260f29(0x109)][_0x260f29(0x16b)]();}[_0xc06e2e(0xe5)](){const _0xd5ef6f=_0xc06e2e;_0x450a8e(this[_0xd5ef6f(0x150)])[_0xd5ef6f(0xdc)](_0xd5ef6f(0x177));}[_0xc06e2e(0x165)](){const _0x23378c=_0xc06e2e;_0x450a8e(this[_0x23378c(0x150)])[_0x23378c(0x14a)](_0x23378c(0x177));}[_0xc06e2e(0xcb)](_0x41882d){const _0x28f87a=_0xc06e2e,_0x2760f0=_0x450a8e(this[_0x28f87a(0x150)]),_0x229efe=_0x2760f0[_0x28f87a(0x194)],_0x23af39=_0x41882d[_0x28f87a(0x138)](_0x106a18=>this[_0x28f87a(0x189)](_0x106a18))[_0x28f87a(0xfe)]();_0x229efe[_0x28f87a(0xeb)](_0xf33fc4=>{const _0xfe40c5=_0x28f87a;for(const _0x3f6bf2 of _0x23af39){const _0x29d368=_0x2760f0[_0xfe40c5(0x194)][_0xfe40c5(0xfb)][_0xfe40c5(0xbe)](_0x3f6bf2['id']);if(_0x29d368){if(_0xfe40c5(0x94)===_0x3f6bf2[_0xfe40c5(0x139)]){if(!_0x3f6bf2[_0xfe40c5(0xaf)])continue;_0x229efe[_0xfe40c5(0x141)](_0x3f6bf2[_0xfe40c5(0xaf)][_0xfe40c5(0x149)]||null,_0x29d368[_0xfe40c5(0x191)]()[_0xfe40c5(0x11b)]);}else _0xfe40c5(0xbd)!==_0x3f6bf2[_0xfe40c5(0x139)]&&_0xfe40c5(0xdb)!==_0x3f6bf2[_0xfe40c5(0x139)]||_0x229efe[_0xfe40c5(0xb3)](_0x229efe[_0xfe40c5(0x95)](_0x29d368[_0xfe40c5(0x191)]()));_0xf33fc4[_0xfe40c5(0x164)](_0x3f6bf2['id']),this[_0xfe40c5(0x18c)][_0xfe40c5(0xee)](_0x3f6bf2['id']);}}});}[_0xc06e2e(0x155)](_0x4ece7a){const _0x5c01e6=_0xc06e2e,_0x5e8f32=_0x450a8e(this[_0x5c01e6(0x150)]),_0x3fc879=this[_0x5c01e6(0x189)](_0x4ece7a);_0x5e8f32[_0x5c01e6(0x194)][_0x5c01e6(0xeb)](_0x5797d3=>{const _0x372aab=_0x5c01e6;for(const _0x3ec465 of _0x3fc879)_0x5797d3[_0x372aab(0x164)](_0x3ec465['id']),this[_0x372aab(0x18c)][_0x372aab(0xee)](_0x3ec465['id']);});}[_0xc06e2e(0xac)](){const _0x129808=_0xc06e2e;return _0x450a8e(this[_0x129808(0x150)]);}[_0xc06e2e(0x172)](_0x4e5679){const _0x5ece01=_0xc06e2e,_0x1c2e2f=Array[_0x5ece01(0x184)](this[_0x5ece01(0x18c)][_0x5ece01(0x119)]())[_0x5ece01(0x15f)](_0x352d10=>_0x352d10[_0x5ece01(0x130)]===_0x4e5679);if(!_0x1c2e2f[_0x5ece01(0xc8)])return null;const _0x542a81=0x1===_0x1c2e2f[_0x5ece01(0xc8)]?_0x1c2e2f[0x0]:this[_0x5ece01(0x12a)](_0x1c2e2f)[0x0],_0x54211b=_0x450a8e(this[_0x5ece01(0x150)])[_0x5ece01(0x194)][_0x5ece01(0xfb)][_0x5ece01(0xbe)](_0x542a81['id']);if(!_0x54211b)return null;return{'modelRange':_0x54211b[_0x5ece01(0x191)](),'getElement':()=>this[_0x5ece01(0xd4)](_0x542a81['id'])};}[_0xc06e2e(0x118)](_0x2f7972){const _0x4220f3=_0xc06e2e,_0x292f92=Array[_0x4220f3(0x184)](this[_0x4220f3(0x18c)][_0x4220f3(0x119)]())[_0x4220f3(0x15f)](_0x239576=>_0x239576[_0x4220f3(0x130)]===_0x2f7972);if(!_0x292f92[_0x4220f3(0xc8)])return null;const _0x78b04f=0x1===_0x292f92[_0x4220f3(0xc8)]?_0x292f92[0x0]:this[_0x4220f3(0x12a)](_0x292f92)[0x0],_0x31a2f7=_0x450a8e(this[_0x4220f3(0x150)]),_0x4ca3a4=_0x31a2f7[_0x4220f3(0x194)][_0x4220f3(0xfb)][_0x4220f3(0xbe)](_0x78b04f['id']);if(!_0x4ca3a4)return null;const _0x41d9cf=_0x4ca3a4[_0x4220f3(0x191)](),_0x5cfa75=_0x31a2f7[_0x4220f3(0xa9)][_0x4220f3(0x192)][_0x4220f3(0xd0)]();if(!_0x5cfa75||!_0x41d9cf)return null;let _0x3fd764=_0x41d9cf[_0x4220f3(0x11b)][_0x4220f3(0xd6)];for(;_0x3fd764[_0x4220f3(0xd6)]&&_0x4220f3(0xc9)!==_0x3fd764[_0x4220f3(0xd6)][_0x4220f3(0x96)];)_0x3fd764=_0x3fd764[_0x4220f3(0xd6)];if(!_0x3fd764||!_0x3fd764[_0x4220f3(0x96)])return null;const _0x3aa891=_0x5cfa75[_0x4220f3(0x13c)](_0x4220f3(0xf5)+_0x78b04f['id']+'\x22]');if(!_0x3aa891)return null;let _0x443fe6=null;_0x31a2f7[_0x4220f3(0x194)][_0x4220f3(0xeb)](_0x3d4c75=>{const _0x31c143=_0x4220f3;_0x443fe6=_0x3d4c75[_0x31c143(0x136)](),_0x3d4c75[_0x31c143(0xf0)](_0x3fd764[_0x31c143(0x90)](!0x0),_0x443fe6);});const _0x4ace5d=_0x31a2f7[_0x4220f3(0x134)][_0x4220f3(0xd1)](_0x443fe6)[_0x4220f3(0xc0)](0x0);return _0x3aa891[_0x4220f3(0x104)](_0x4ace5d[_0x4220f3(0x96)]);}[_0xc06e2e(0x156)](_0x6592a8){const _0x1ab91f=_0xc06e2e,_0x6caa66=this[_0x1ab91f(0x189)](_0x6592a8);if(!_0x6caa66[_0x1ab91f(0xc8)])return;const _0x434263=Array[_0x1ab91f(0x184)](this[_0x1ab91f(0x109)])[_0x1ab91f(0x9c)](),_0x56beef=Array[_0x1ab91f(0x184)](new Set(_0x6caa66[_0x1ab91f(0x138)](_0x4c7164=>_0x4c7164['id'])))[_0x1ab91f(0x9c)]();_0x434263[_0x1ab91f(0xba)]('|')!==_0x56beef[_0x1ab91f(0xba)]('|')&&(this[_0x1ab91f(0xc7)](),this[_0x1ab91f(0xc2)](_0x6592a8));}[_0xc06e2e(0xc2)](_0xf86ef6){const _0x5f0723=_0xc06e2e,_0x35c2ca=this[_0x5f0723(0x189)](_0xf86ef6);if(!_0x35c2ca[_0x5f0723(0xc8)])return;const _0x2c2e89=_0x450a8e(this[_0x5f0723(0x150)]),_0x455cc3=new Set(_0x35c2ca[_0x5f0723(0x138)](_0x9e8dbe=>_0x9e8dbe['id'])),_0x298a76=Array[_0x5f0723(0x184)](_0x455cc3[_0x5f0723(0x119)]())[_0x5f0723(0x138)](_0x4f88b4=>_0x2c2e89[_0x5f0723(0x194)][_0x5f0723(0xfb)][_0x5f0723(0xbe)](_0x4f88b4))[_0x5f0723(0x15f)](_0x5b68de=>!!_0x5b68de);_0x455cc3[_0x5f0723(0x163)](_0x402306=>{const _0x597465=_0x5f0723;this[_0x597465(0x109)][_0x597465(0x10b)](_0x402306);}),_0x2c2e89[_0x5f0723(0x194)][_0x5f0723(0xeb)](()=>{const _0x478053=_0x5f0723;_0x298a76[_0x478053(0x163)](_0x106e06=>{const _0xe63127=_0x478053;_0x2c2e89[_0xe63127(0xa9)][_0xe63127(0x151)](_0x106e06);});});}[_0xc06e2e(0xc7)](){const _0x192e7f=_0xc06e2e,_0x58d57f=Array[_0x192e7f(0x184)](this[_0x192e7f(0x109)]);if(!_0x58d57f[_0x192e7f(0xc8)])return;this[_0x192e7f(0x109)][_0x192e7f(0x16b)]();const _0x98c640=_0x450a8e(this[_0x192e7f(0x150)]),_0x3735f3=_0x58d57f[_0x192e7f(0x138)](_0x5fed1c=>_0x98c640[_0x192e7f(0x194)][_0x192e7f(0xfb)][_0x192e7f(0xbe)](_0x5fed1c))[_0x192e7f(0x15f)](_0x1c9c43=>!!_0x1c9c43);_0x98c640[_0x192e7f(0x194)][_0x192e7f(0xeb)](()=>{const _0x5deac6=_0x192e7f;_0x3735f3[_0x5deac6(0x163)](_0xba0f2c=>{const _0x354e73=_0x5deac6;_0x98c640[_0x354e73(0xa9)][_0x354e73(0x151)](_0xba0f2c);});});}[_0xc06e2e(0xde)](_0x24ed9f,_0x57c9a1,_0x31a09c=_0xc06e2e(0x11c)){const _0x2c7b26=_0xc06e2e;if(!_0x24ed9f)return null;let _0x4f71ef=_0x24ed9f[_0x2c7b26(0xd6)];for(;_0x4f71ef&&_0x4f71ef[_0x2c7b26(0xd6)]&&_0x2c7b26(0xc9)!==_0x4f71ef[_0x2c7b26(0xd6)][_0x2c7b26(0x96)]&&!_0x57c9a1[_0x2c7b26(0x194)][_0x2c7b26(0x97)][_0x2c7b26(0x10d)](_0x4f71ef)&&!_0x57c9a1[_0x2c7b26(0x194)][_0x2c7b26(0x97)][_0x2c7b26(0x126)](_0x4f71ef);)_0x4f71ef=_0x4f71ef[_0x2c7b26(0xd6)];if(!_0x4f71ef||!_0x4f71ef[_0x2c7b26(0x96)]||_0x2c7b26(0xc9)===_0x4f71ef[_0x2c7b26(0x96)])return null;let _0x1704cd=null;return _0x57c9a1[_0x2c7b26(0x194)][_0x2c7b26(0xeb)](_0x4aeb73=>{const _0x137bff=_0x2c7b26;_0x1704cd=_0x137bff(0xcf)===_0x31a09c?_0x4aeb73[_0x137bff(0xe8)](_0x4f71ef):_0x4aeb73[_0x137bff(0x187)](_0x4f71ef);}),_0x1704cd;}[_0xc06e2e(0x16d)](_0x4bfef8,_0x289af6){const _0x496cce=_0xc06e2e,_0x32a265=Array[_0x496cce(0x184)](this[_0x496cce(0x18c)][_0x496cce(0x8f)]()),_0x3ddacb=new Map();for(const _0x56a3fd of _0x32a265){const _0x4be289=_0x4bfef8[_0x496cce(0x194)][_0x496cce(0xfb)][_0x496cce(0xbe)](_0x56a3fd);if(!_0x4be289)continue;const _0x6d9630=_0x4be289[_0x496cce(0x101)]()[_0x496cce(0x12c)][0x0];_0x3ddacb[_0x496cce(0x99)](_0x6d9630)||_0x3ddacb[_0x496cce(0xa5)](_0x6d9630,[]),_0x3ddacb[_0x496cce(0xbe)](_0x6d9630)[_0x496cce(0x145)](_0x4be289);}const _0x507533=new Set();for(const _0x331fbb of _0x4bfef8[_0x496cce(0x194)][_0x496cce(0xa1)][_0x496cce(0xd3)][_0x496cce(0x121)]()){let _0x74598b=-0x1,_0xd63187=null;if(_0x496cce(0x94)===_0x331fbb[_0x496cce(0x139)])_0xd63187=new _0x17e2be(_0x331fbb[_0x496cce(0x15a)],_0x331fbb[_0x496cce(0x15a)][_0x496cce(0x15e)](_0x331fbb[_0x496cce(0xc8)])),_0x74598b=_0x331fbb[_0x496cce(0x15a)][_0x496cce(0x12c)][0x0];else{if(_0x496cce(0x147)!==_0x331fbb[_0x496cce(0x139)])continue;_0xd63187=new _0x17e2be(_0x331fbb[_0x496cce(0x15a)]),_0x74598b=_0x331fbb[_0x496cce(0x15a)][_0x496cce(0x12c)][0x0];}const _0x2c4cf0=_0x3ddacb[_0x496cce(0xbe)](_0x74598b)||[];if(_0x2c4cf0[_0x496cce(0xc8)]){for(const _0x303539 of _0x2c4cf0)if(_0xd63187[_0x496cce(0x129)][_0x496cce(0x169)]===_0x303539[_0x496cce(0x191)]()[_0x496cce(0x129)][_0x496cce(0x169)]&&(_0x496cce(0x94)!==_0x331fbb[_0x496cce(0x139)]||!_0xd63187[_0x496cce(0x122)](_0x303539[_0x496cce(0x191)]()))&&(_0xd63187[_0x496cce(0xda)](_0x303539[_0x496cce(0x191)]())||_0xd63187[_0x496cce(0x11b)][_0x496cce(0xd9)](_0x303539[_0x496cce(0x191)]()[_0x496cce(0x17f)])||_0xd63187[_0x496cce(0x17f)][_0x496cce(0xd9)](_0x303539[_0x496cce(0x191)]()[_0x496cce(0x11b)]))){const _0x4e5e2d=this[_0x496cce(0xf6)](_0x303539[_0x496cce(0x96)]);Array[_0x496cce(0x184)](this[_0x496cce(0x18c)][_0x496cce(0x119)]())[_0x496cce(0x15f)](_0x3547bf=>_0x3547bf[_0x496cce(0x130)]===_0x4e5e2d[_0x496cce(0x130)])[_0x496cce(0x163)](_0x4eb4b5=>_0x507533[_0x496cce(0x10b)](_0x4eb4b5['id']));}}}if(_0x507533[_0x496cce(0x114)]){for(const _0x5d97c3 of _0x507533)_0x289af6[_0x496cce(0x164)](_0x5d97c3);return!0x0;}return!0x1;}[_0xc06e2e(0x157)](_0x3b3827){const _0x37101b=_0xc06e2e;for(const {name:_0x16daa0,data:_0xacea69}of _0x3b3827[_0x37101b(0x194)][_0x37101b(0xa1)][_0x37101b(0xd3)][_0x37101b(0x10e)]()){if(!_0x16daa0[_0x37101b(0xae)](fe))continue;const _0x2e1e7c=_0xacea69[_0x37101b(0xbf)],_0x1c4248=_0xacea69[_0x37101b(0x13a)],_0x207cdd=_0x2e1e7c&&_0x37101b(0x9a)===_0x2e1e7c[_0x37101b(0x129)][_0x37101b(0x169)],_0x272e5d=_0x1c4248&&_0x37101b(0x9a)===_0x1c4248[_0x37101b(0x129)][_0x37101b(0x169)];if(_0x207cdd&&_0x272e5d)continue;const _0x5df8cb=this[_0x37101b(0xf6)](_0x16daa0);this[_0x37101b(0x18c)][_0x37101b(0xbe)](_0x16daa0)&&(_0x272e5d||!_0x1c4248?this[_0x37101b(0x103)][_0x37101b(0x15c)](_0x37101b(0x16c),{'markerId':_0x16daa0,'changeId':_0x5df8cb[_0x37101b(0x130)]}):_0x207cdd&&_0x1c4248&&this[_0x37101b(0x103)][_0x37101b(0x15c)](_0x37101b(0xc1),{'markerId':_0x16daa0,'changeId':_0x5df8cb[_0x37101b(0x130)]}));}}[_0xc06e2e(0xf6)](_0x33e464){const _0x52d825=_0xc06e2e,_0x615590=_0x33e464[_0x52d825(0x11a)](':'),_0xd9e818=(_0x615590[0x1]||'')[_0x52d825(0x11a)]('_');return{'prefix':_0x615590[0x0],'groupId':_0xd9e818[0x0],'suffix':_0xd9e818[0x1]};}[_0xc06e2e(0xe2)](_0x1907be,_0x85d510,_0xe2bdd4){const _0x207bd6=_0xc06e2e;if(_0x207bd6(0x94)===_0x1907be[_0x207bd6(0x139)]){const _0x1809ef=_0x1907be;return new _0x53b5e6(this[_0x207bd6(0x195)](_0x85d510[_0x207bd6(0xb9)](_0x1809ef[_0x207bd6(0x15a)][_0x207bd6(0xce)]),_0xe2bdd4),_0x1809ef[_0x207bd6(0x18a)],_0x1809ef[_0x207bd6(0x166)]);}if(_0x207bd6(0x143)===_0x1907be[_0x207bd6(0x139)]&&_0x1907be[_0x207bd6(0x96)][_0x207bd6(0xae)](_0x207bd6(0x115))){const _0x3ecfb3=_0x1907be;return new _0x2cde19(_0x3ecfb3[_0x207bd6(0x96)],_0x3ecfb3[_0x207bd6(0xbf)],this[_0x207bd6(0x91)](_0x3ecfb3[_0x207bd6(0x13a)],_0x85d510[_0x207bd6(0xb9)](_0x3ecfb3[_0x207bd6(0x13a)][_0x207bd6(0x11b)][_0x207bd6(0xce)]),_0x85d510[_0x207bd6(0xb9)](_0x3ecfb3[_0x207bd6(0x13a)][_0x207bd6(0x17f)][_0x207bd6(0xce)]),_0xe2bdd4),_0x3ecfb3[_0x207bd6(0x18c)],_0x3ecfb3[_0x207bd6(0x19b)],_0x3ecfb3[_0x207bd6(0x166)]);}return _0x1907be;}[_0xc06e2e(0xed)](_0x555473){const _0x17f422=_0xc06e2e;if(!_0x555473[_0x17f422(0xc8)])return[];const _0x7183e9=[];let _0x12e64f=0x0,_0x2d68ac=0x0,_0x113a9d=[];for(let _0x5301ad=0x0;_0x5301ad<=_0x555473[_0x17f422(0xc8)];_0x5301ad++){const _0x4d0215=_0x555473[_0x5301ad],_0x2e7f0e=_0x555473[_0x5301ad-0x1];!_0x4d0215||_0x2e7f0e&&!this[_0x17f422(0x14b)](_0x2e7f0e)[_0x17f422(0xd9)](this[_0x17f422(0x11f)](_0x4d0215))?(_0x7183e9[_0x17f422(0x145)]({'operations':_0x113a9d,'operationsIsolated':_0x113a9d[_0x17f422(0x138)](_0xacfce0=>this[_0x17f422(0x180)](_0xacfce0[_0x17f422(0x93)](),-_0x2d68ac)),'groupOffset':_0x12e64f}),_0x113a9d=_0x4d0215?[_0x4d0215]:[],_0x2d68ac+=_0x12e64f,_0x12e64f=0x0):_0x113a9d[_0x17f422(0x145)](_0x4d0215),_0x4d0215&&_0x17f422(0x94)===_0x4d0215[_0x17f422(0x139)]&&(_0x12e64f+=_0x4d0215[_0x17f422(0xea)]);}return _0x7183e9;}[_0xc06e2e(0xa2)](_0x3d4000,_0x2aea91,_0x847da0,_0x26e75c=0x1){const _0x5d67cf=_0xc06e2e,_0x39ff87=new _0x415cb7({'startPosition':_0x3d4000,'direction':_0x2aea91});let _0xd5658b=0x0;for(let _0x3382cb=0x0;_0x3382cb<_0x26e75c;_0x3382cb++){let _0x35eb69=0x0,_0x3f127d=!0x1,_0x2f1370=_0x5d67cf(0xf4)===_0x2aea91?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x19555d}of _0x39ff87)if(_0x19555d['is'](_0x5d67cf(0xd7))){const _0x164cac=_0x2f1370[_0x5d67cf(0xd5)](_0x19555d[_0x5d67cf(0x134)]);if(_0x164cac&&_0x164cac[_0x5d67cf(0xc8)]){if(_0x35eb69+=_0x5d67cf(0xf4)===_0x2aea91?_0x164cac[_0x5d67cf(0xa8)]+_0x164cac[0x0][_0x5d67cf(0xc8)]:_0x19555d[_0x5d67cf(0x134)][_0x5d67cf(0xc8)]-_0x164cac[_0x5d67cf(0xa8)],_0x164cac[0x0][_0x5d67cf(0xc8)]!==_0x19555d[_0x5d67cf(0x134)][_0x5d67cf(0xc8)])break;_0x3f127d=!0x0,_0x2f1370=_0x5d67cf(0xf4)===_0x2aea91?/^\w+/:/\w+$/;}else{if(_0x3f127d)break;_0x35eb69+=_0x19555d[_0x5d67cf(0xab)];}}else{if(_0x19555d['is'](_0x5d67cf(0x107))){_0x847da0[_0x5d67cf(0xf3)](_0x19555d)&&!_0x3f127d&&(_0x35eb69+=0x1);break;}}_0xd5658b+=_0x35eb69,_0x39ff87[_0x5d67cf(0xe0)](_0x3d4000[_0x5d67cf(0x15e)](_0x5d67cf(0xf4)===_0x2aea91?_0xd5658b:-_0xd5658b));}return _0xd5658b;}[_0xc06e2e(0xa0)](_0x25f35a,_0x543abf){const _0x381f85=_0xc06e2e,_0x2723ef=_0x450a8e(this[_0x381f85(0x150)])[_0x381f85(0x194)][_0x381f85(0x97)],_0x6b4623=this[_0x381f85(0xa2)](_0x25f35a,_0x381f85(0x160),_0x2723ef,0x6),_0x54c91d=this[_0x381f85(0xa2)](_0x543abf,_0x381f85(0xf4),_0x2723ef,0x6),_0x1ce003=_0x25f35a[_0x381f85(0x15e)](-_0x6b4623),_0x4a0116=_0x543abf[_0x381f85(0x15e)](_0x54c91d);return{'start':_0x1ce003,'end':_0x4a0116,'hasContentBefore':!_0x1ce003[_0x381f85(0xb2)],'hasContentAfter':!_0x4a0116[_0x381f85(0xb4)]};}[_0xc06e2e(0xfc)](_0x3a1f5c){const _0x2d22a5=_0xc06e2e,_0x464728=this[_0x2d22a5(0x150)][_0x2d22a5(0x113)][_0x2d22a5(0xbe)](_0x2d22a5(0x10c)),_0x2ed723=new Set();_0x450a8e(this[_0x2d22a5(0x150)])[_0x2d22a5(0x194)][_0x2d22a5(0xeb)](_0x4a4bc2=>{const _0x26b671=_0x2d22a5;for(const _0x1fb443 of _0x3a1f5c){const _0x2f43c0=''+fe+_0x1fb443[_0x26b671(0x139)]+':'+_0x1fb443[_0x26b671(0x130)]+'_'+_0x464728[_0x26b671(0xca)](_0x2ed723);this[_0x26b671(0x18c)][_0x26b671(0xa5)](_0x2f43c0,{'id':_0x2f43c0,'groupId':_0x1fb443[_0x26b671(0x130)],'type':_0x1fb443[_0x26b671(0x139)],'content':_0x1fb443[_0x26b671(0xaf)]}),_0x4a4bc2[_0x26b671(0x161)](_0x2f43c0,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4a4bc2[_0x26b671(0x181)](_0x1fb443[_0x26b671(0x11b)],_0x1fb443[_0x26b671(0x17f)])});}});}[_0xc06e2e(0x13e)](_0x3d3432,_0x1491bb,_0x18c43f){let _0x5282aa='';return()=>{const _0x2776d3=_0x4878;if(!_0x5282aa){const _0xc48aca=_0x1491bb[_0x2776d3(0xd1)](_0x3d3432,{'showSuggestionHighlights':!0x0});let _0x495558=_0xc48aca[_0x2776d3(0xc0)](0x0);if(_0x495558['is'](_0x2776d3(0x17a))||(_0x495558=_0xc48aca),!_0x495558)return'';let _0x2ea351=!0x1;const _0x1279d7=[];for(const _0x49312a of _0x495558[_0x2776d3(0x12d)]())_0x49312a['is'](_0x2776d3(0x107),_0x2776d3(0x17e))&&_0x49312a[_0x2776d3(0x132)](_0x2776d3(0x133))&&(_0x2ea351=!0x1),_0x2ea351&&_0x1279d7[_0x2776d3(0x145)](_0x49312a),_0x49312a['is'](_0x2776d3(0x107),_0x2776d3(0x17e))&&_0x49312a[_0x2776d3(0x132)](_0x2776d3(0x140))&&(_0x2ea351=!0x0);_0x495558[_0x2776d3(0xad)](0x0,_0x495558[_0x2776d3(0xe4)]),_0x18c43f?.[_0x2776d3(0x188)]&&_0x495558[_0x2776d3(0x168)]('…'),_0x495558[_0x2776d3(0x168)](_0x1279d7),_0x18c43f?.[_0x2776d3(0xb6)]&&_0x495558[_0x2776d3(0x168)]('…');const _0x4c3886=_0x1491bb[_0x2776d3(0x11e)][_0x2776d3(0xd8)][_0x2776d3(0xd2)](_0xc48aca),_0x4e82d2=_0x1491bb[_0x2776d3(0x11e)][_0x2776d3(0x199)][_0x2776d3(0x110)](_0x4c3886);_0x5282aa=_0x4e82d2;}return _0x5282aa;};}[_0xc06e2e(0x123)](_0x7e6189,_0x18ac9f){const _0x416b44=_0xc06e2e;let _0x268336='';return()=>(_0x268336||(_0x268336=_0x18ac9f[_0x416b44(0x153)](_0x7e6189,{'showSuggestionHighlights':!0x0})),_0x268336);}[_0xc06e2e(0x178)](_0x4a778b,_0x59ba62,_0x437582){let _0x155ff9='';return()=>{const _0x4f54a3=_0x4878;if(!_0x155ff9){const _0x3e989f=_0x437582[_0x4f54a3(0xd1)](new _0x47bec3(_0x4a778b)),_0x282346=_0x437582[_0x4f54a3(0x11e)][_0x4f54a3(0xd8)][_0x4f54a3(0xd2)](_0x3e989f)[_0x4f54a3(0x13c)](_0x4f54a3(0x18d)+_0x59ba62+'\x22]');_0x155ff9=_0x282346?.[_0x4f54a3(0x158)]||'';}return _0x155ff9;};}[_0xc06e2e(0xf9)](_0x35e52f,_0x797621=0x5){const _0x56dd81=_0xc06e2e;let _0x195d68=_0x35e52f,_0x54eb1d=null;for(let _0x3805b2=0x0;_0x3805b2<_0x797621&&_0x195d68;_0x3805b2++){if(!_0x195d68[_0x56dd81(0x137)]){_0x195d68=_0x195d68[_0x56dd81(0x17b)];continue;}if(!(''+_0x195d68[_0x56dd81(0x137)])[_0x56dd81(0xcd)](_0x56dd81(0x106))){_0x195d68=_0x195d68[_0x56dd81(0x17b)];continue;}if(!_0x195d68[_0x56dd81(0x112)](_0x56dd81(0x18b)))break;_0x54eb1d=_0x195d68;break;}return _0x54eb1d;}[_0xc06e2e(0xd4)](_0x11735b){const _0x5aafc8=_0xc06e2e,_0x46786c=_0x450a8e(this[_0x5aafc8(0x150)]),_0xfbb720=_0x46786c[_0x5aafc8(0x194)][_0x5aafc8(0xfb)][_0x5aafc8(0xbe)](_0x11735b);return _0xfbb720?_0x29584e(_0x46786c[_0x5aafc8(0xa9)],_0xfbb720):null;}[_0xc06e2e(0x189)](_0x341a16){const _0x43d026=_0xc06e2e;return Array[_0x43d026(0x184)](this[_0x43d026(0x18c)][_0x43d026(0x119)]())[_0x43d026(0x15f)](_0x275f96=>_0x275f96[_0x43d026(0x130)]===_0x341a16);}[_0xc06e2e(0x11f)](_0x27192d){const _0x36e228=_0xc06e2e;return _0x36e228(0x94)===_0x27192d[_0x36e228(0x139)]?_0x27192d[_0x36e228(0x15a)]:_0x27192d[_0x36e228(0x13a)][_0x36e228(0x11b)];}[_0xc06e2e(0x14b)](_0x471784,_0x2b31eb=!0x1){const _0x3e72af=_0xc06e2e;return _0x3e72af(0x94)===_0x471784[_0x3e72af(0x139)]?_0x2b31eb?_0x471784[_0x3e72af(0x15a)]:_0x471784[_0x3e72af(0x15a)][_0x3e72af(0x15e)](_0x471784[_0x3e72af(0xea)]):_0x471784[_0x3e72af(0x13a)][_0x3e72af(0x17f)];}[_0xc06e2e(0x180)](_0x21af9c,_0x36829a){const _0x3222c7=_0xc06e2e;return _0x3222c7(0x94)===_0x21af9c[_0x3222c7(0x139)]?_0x21af9c[_0x3222c7(0x15a)]=_0x21af9c[_0x3222c7(0x15a)][_0x3222c7(0x15e)](_0x36829a):_0x3222c7(0x143)===_0x21af9c[_0x3222c7(0x139)]&&_0x21af9c[_0x3222c7(0x13a)]&&(_0x21af9c[_0x3222c7(0x13a)]=new _0x17e2be(_0x21af9c[_0x3222c7(0x13a)][_0x3222c7(0x11b)][_0x3222c7(0x15e)](_0x36829a),_0x21af9c[_0x3222c7(0x13a)][_0x3222c7(0x17f)][_0x3222c7(0x15e)](_0x36829a))),_0x21af9c;}[_0xc06e2e(0x9e)](_0x32eec2,_0x39299b){const _0x3ab5f6=_0xc06e2e;_0x3ab5f6(0x94)===_0x32eec2[_0x3ab5f6(0x139)]?_0x32eec2[_0x3ab5f6(0x15a)]=this[_0x3ab5f6(0x173)](_0x32eec2[_0x3ab5f6(0x15a)],_0x39299b):_0x3ab5f6(0x143)===_0x32eec2[_0x3ab5f6(0x139)]&&_0x32eec2[_0x3ab5f6(0x13a)]&&(_0x32eec2[_0x3ab5f6(0x13a)]=this[_0x3ab5f6(0x193)](_0x32eec2[_0x3ab5f6(0x13a)],_0x39299b));}[_0xc06e2e(0x173)](_0x1593d5,_0x10f5b9){const _0x31dfb3=_0xc06e2e;return new _0x4bbffd(_0x10f5b9,_0x1593d5[_0x31dfb3(0x12c)]);}[_0xc06e2e(0x193)](_0x29252c,_0x182efc){const _0x51010a=_0xc06e2e;return new _0x17e2be(this[_0x51010a(0x173)](_0x29252c[_0x51010a(0x11b)],_0x182efc),this[_0x51010a(0x173)](_0x29252c[_0x51010a(0x17f)],_0x182efc));}[_0xc06e2e(0x195)](_0x1bfa53,_0x13d741){return new _0x4bbffd(_0x13d741,[..._0x1bfa53]);}[_0xc06e2e(0x91)](_0x32c6df,_0x26302c,_0x205e96,_0x2e6a5c){const _0x17f2a9=_0xc06e2e;return new _0x17e2be(this[_0x17f2a9(0x195)](_0x26302c,_0x2e6a5c),this[_0x17f2a9(0x195)](_0x205e96,_0x2e6a5c));}[_0xc06e2e(0x12a)](_0x48e6e9){const _0x4de833=_0xc06e2e,_0x482971=_0x396b41=>{const _0x3029d3=_0x4878;switch(_0x396b41){case _0x3029d3(0x94):return 0x0;case _0x3029d3(0x196):return 0x1;case _0x3029d3(0xdb):return 0x2;case _0x3029d3(0xbd):return 0x3;}};return _0x48e6e9[_0x4de833(0x9c)]((_0x2c3bd2,_0x9676f0)=>_0x482971(_0x2c3bd2[_0x4de833(0x139)])-_0x482971(_0x9676f0[_0x4de833(0x139)]));}[_0xc06e2e(0x144)](_0x45d2f3,_0x4ae3be){const _0x15de04=_0xc06e2e,_0x30d8de=_0x45d2f3[_0x15de04(0xc0)](0x0),_0x96fd0d=_0x4ae3be[_0x15de04(0xc0)](0x0);return!(!_0x30d8de||!_0x96fd0d)&&((!_0x30d8de['is'](_0x15de04(0x107))||!_0x96fd0d['is'](_0x15de04(0x107))||_0x30d8de[_0x15de04(0x96)]===_0x96fd0d[_0x15de04(0x96)])&&!(_0x30d8de['is'](_0x15de04(0x107))&&!_0x96fd0d['is'](_0x15de04(0x107))||!_0x30d8de['is'](_0x15de04(0x107))&&_0x96fd0d['is'](_0x15de04(0x107))));}[_0xc06e2e(0x116)](_0x2308d3){const _0x5666bb=_0xc06e2e;return 0x1===_0x2308d3[_0x5666bb(0xe4)];}[_0xc06e2e(0x167)](_0x3d8fc6,_0x4cb471){const _0x1a58a0=_0xc06e2e;for(const _0x5279c3 of _0x3d8fc6[_0x1a58a0(0x12d)]())if(_0x5279c3['is'](_0x1a58a0(0x107))&&!_0x4cb471[_0x1a58a0(0xf3)](_0x5279c3))return!0x1;return!0x0;}[_0xc06e2e(0xc5)](_0x35fcab,_0x397fe7){const _0x244a31=_0xc06e2e;let _0x28fcae=_0x35fcab[_0x244a31(0x112)](_0x34ceb2);return _0x28fcae||(_0x28fcae=_0x397fe7(),_0x35fcab[_0x244a31(0x183)](_0x34ceb2,_0x28fcae)),_0x28fcae;}}