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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +18 -11
  3. package/dist/index.css +19 -11
  4. package/dist/index.js +5 -5
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +15 -15
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  158. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  159. package/src/aiassistant/aiassistant.js +1 -1
  160. package/src/aiassistant/aiassistantediting.js +1 -1
  161. package/src/aiassistant/aiassistantui.js +1 -1
  162. package/src/aiassistant/legacyerrors.js +1 -1
  163. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  164. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  165. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformview.js +1 -1
  169. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  171. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  172. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  173. package/src/aiassistant/utils/common-translations.js +1 -1
  174. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  175. package/src/aiballoon/aiballoon.js +1 -1
  176. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  177. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatcontroller.js +1 -1
  181. package/src/aichat/aichatui.js +1 -1
  182. package/src/aichat/model/aichatcontext.js +1 -1
  183. package/src/aichat/model/aichatconversation.js +1 -1
  184. package/src/aichat/model/aichatinteraction.js +1 -1
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichathistory/aichathistory.js +1 -1
  214. package/src/aichathistory/aichathistorycontroller.js +1 -1
  215. package/src/aichathistory/aichathistoryui.js +1 -1
  216. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  217. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  219. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistoryview.d.ts +1 -0
  222. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  240. package/src/aicore/utils/common-translations.js +1 -1
  241. package/src/aicore/utils/createresizebutton.js +1 -1
  242. package/src/aicore/utils/documentposition.js +1 -1
  243. package/src/aicore/utils/documentrange.js +1 -1
  244. package/src/aicore/utils/eventnames.js +1 -1
  245. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  246. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  247. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  248. package/src/aicore/utils/htmlparser.js +1 -1
  249. package/src/aicore/utils/htmlstreamer.js +1 -1
  250. package/src/aicore/utils/scrollmanager.js +1 -1
  251. package/src/aieditorintegration/aieditorintegration.js +1 -1
  252. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  253. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  254. package/src/aiquickactions/aiquickactions.js +1 -1
  255. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  256. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  257. package/src/aiquickactions/aiquickactionsui.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  259. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  260. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  261. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  262. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  263. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  264. package/src/aireviewmode/aireviewmode.js +1 -1
  265. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  266. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  267. package/src/aireviewmode/aireviewmodeui.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  270. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  273. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  274. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  275. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  276. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  287. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  288. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  289. package/src/aitabs/aitabs.js +1 -1
  290. package/src/aitabs/aitabsmainview.js +1 -1
  291. package/src/aitabs/tabs/aitabsview.js +1 -1
  292. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  293. package/src/aitabs/tabs/tabpanelview.js +1 -1
  294. package/src/errors.js +1 -1
  295. package/src/errorsmap.js +1 -1
  296. package/src/index.js +1 -1
  297. package/theme/aiballoon/aiballoon.css +2 -1
  298. package/theme/aiquickactions/aiquickactions.css +17 -10
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cc891=_0x108e;function _0x5339(){const _0x5566e9=['activateChange','currentError','rejectChange','_logError','showReviewCheckList','startsWith','setCheckResultTitle','domElement','4385773KIUVhM','isOfficialPlugin','clearAllMarkers','setAvailableChecks','_aiReviewCheckList','removeCheckById','length','diffContent','5190lPCYvb','reviewCheckResultActivated','leaveReviewModeResultList','forceReadyState','50625IGTEtR','description','2EEJrGd','markChangeAsPending','retryReview','aborted','updateDocumentData','isChangeActive','deactivateChange','AIConnector','getAll','markChangePositionInEditorContent','getCheckById','showNoChangesView','changeMarkerRemoved','_onReviewModeRunLeave','_OPTIONS_DATA_','_OPTIONS_LABEL','AI_MODEL_DESCRIPTION_','isAnyChangeActivated','includes','updateChangeState','ck-ai-review-mode-highlights','AIReviewModeUI','sendRating','closest','showCheckRunResults','dismissChange','error-general','acceptChange','emitter','ai.reviewMode.translations','changeMarkerBlurred','content','setActiveStateInResults','map','message','changeId','reviewCheckResultReady','changes','start','markChangeAsRejected','AI_REVIEW_CHECK_','abortReviewStream','getReviewCheckList','markerElement','viewportOffset','3825882NfNLWL','acceptAllChanges','data','ai-review-mode-no-current-check-run','click','getRoot','reviewCheckResultDeactivated','params','subTitle','stopListening','_aiConnector','view','find','result','reviewCheckResultAdded','AIReviewModeController','changeMarkerClick','finishReview','label','plugins','showChangeBalloon','init','restart','getDomRoot','hasModifications','.ck-ai-review-mode__check-run-result','1752524wVPqRi','models','title','status','context','_changeActivationSource','getDocumentData','removeClass','abort','toggleDiff','ai-review-mode-check-run-general-error','prompt','markChangeAsAccepted','hideChangeBalloon','_isDiffOn','_TITLE','ai-review-mode-models-unable-to-retrieve','337118zVZwrF','_DESCRIPTION','model','changeMarkerHovered','ready','checks','contentNew','getEditor','unmodified','reviewCheckRunUpdated','3327728Cmyvca','change','runReviewCheck','document','toUpperCase','domEvent','markChangeAsOutdated','loading','isCustom','ai-request-aborted','contentInitial','panel','showCheckRunResult','getMarkerElementForChange','isPremiumPlugin','ai-review-mode-check-run-failed','showReviewCompletedView','applyChange','_translateReviewChecks','showActionsWhenResultIsReady','source','leaveReviewMode','switchToReadOnly','resetActiveStateInResults','showChunkErrorView','reviewCheckResultChangeStatusUpdated','showGeneralResultsErrorView','AIReviewModeEditing','options','getActiveChanges','replaceAll','ck-ai-review-mode-diff','_aiReviewModeUi','processedResultsCount','_onDiffChange','changeMarkerRestored','_currentReviewCheckRun','custom','config','documentData','error-chunk','_getTranslationWithDefault','addClass','showDiffInBalloon','showGeneralReviewModeErrorView','addResultChanges','locale','getChangeElement','15aCKzkM','ai-review-mode-check-run-chunk-error','hideDiffInBalloon','translate','editing','listenTo','get','_aiReviewModeEditing','requires','finished','switchToEdit','args','pluginName','hover','markAllChangesAsAccepted','ai-review-mode-source-check-not-found','2512602uWyICe','getChangeById'];_0x5339=function(){return _0x5566e9;};return _0x5339();}(function(_0x5c4e9b,_0x59fabb){const _0x5ee7ff=_0x108e,_0x546b1f=_0x5c4e9b();while(!![]){try{const _0x204c86=parseInt(_0x5ee7ff(0x231))/0x1*(-parseInt(_0x5ee7ff(0x1d9))/0x2)+parseInt(_0x5ee7ff(0x206))/0x3+parseInt(_0x5ee7ff(0x220))/0x4+-parseInt(_0x5ee7ff(0x1b1))/0x5*(-parseInt(_0x5ee7ff(0x1c1))/0x6)+parseInt(_0x5ee7ff(0x1cb))/0x7+parseInt(_0x5ee7ff(0x23b))/0x8+parseInt(_0x5ee7ff(0x1d7))/0x9*(-parseInt(_0x5ee7ff(0x1d3))/0xa);if(_0x204c86===_0x59fabb)break;else _0x546b1f['push'](_0x546b1f['shift']());}catch(_0x576bdf){_0x546b1f['push'](_0x546b1f['shift']());}}}(_0x5339,0xb881a));import{ContextPlugin as _0xf176fc}from'ckeditor5/src/core.js';function _0x108e(_0x25be4e,_0x3e35b2){const _0x533934=_0x5339();return _0x108e=function(_0x108e87,_0xf549f0){_0x108e87=_0x108e87-0x1a3;let _0x2fd800=_0x533934[_0x108e87];return _0x2fd800;},_0x108e(_0x25be4e,_0x3e35b2);}import{CKEditorError as _0x58584f,logError as _0x1ed761,scrollAncestorsToShowTarget as _0xc5c9b6,scrollViewportToShowTarget as _0x11f1a3}from'ckeditor5/src/utils.js';import{AIConnector as _0xed3988}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x36e792}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x9f2ed}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x482227}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4a1656}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0xdde60c}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2e082d}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0xf176fc{[_0x1cc891(0x210)];[_0x1cc891(0x25b)];[_0x1cc891(0x1b8)];[_0x1cc891(0x1cf)];[_0x1cc891(0x1a5)];[_0x1cc891(0x22e)]=!0x1;[_0x1cc891(0x225)]=null;static get[_0x1cc891(0x1b9)](){return[_0xed3988];}static get[_0x1cc891(0x1bd)](){const _0xac3202=_0x1cc891;return _0xac3202(0x215);}static get[_0x1cc891(0x1cc)](){return!0x0;}static get[_0x1cc891(0x249)](){return!0x0;}async[_0x1cc891(0x21b)](){const _0x147a66=_0x1cc891;this[_0x147a66(0x210)]=this[_0x147a66(0x224)][_0x147a66(0x219)][_0x147a66(0x1b7)](_0x147a66(0x1e0)),this[_0x147a66(0x25b)]=this[_0x147a66(0x224)][_0x147a66(0x219)][_0x147a66(0x1b7)](_0x147a66(0x1ee)),this[_0x147a66(0x1b8)]=this[_0x147a66(0x224)][_0x147a66(0x219)][_0x147a66(0x1b7)](_0x147a66(0x256));const _0x47a3dd=this[_0x147a66(0x224)][_0x147a66(0x1a7)][_0x147a66(0x1b7)](_0x147a66(0x1f6));if(_0x47a3dd){for(const _0x57e2b9 of _0xdde60c)_0x147a66(0x1b4)===_0x57e2b9['id']&&(_0x57e2b9[_0x147a66(0x257)][0x0][_0x147a66(0x208)]=_0x47a3dd);}const _0x59a77a=this[_0x147a66(0x24d)](_0xdde60c);this[_0x147a66(0x1cf)]=new _0x36e792(_0x59a77a);const _0x127cef=this[_0x147a66(0x1cf)][_0x147a66(0x236)][_0x147a66(0x212)](_0x25bf7f=>_0x147a66(0x1a6)===_0x25bf7f['id']);if(_0x127cef)try{const _0x564ca6=await new _0x4a1656({'connector':this[_0x147a66(0x210)]})[_0x147a66(0x1e1)]();_0x127cef[_0x147a66(0x221)]=_0x564ca6[_0x147a66(0x1fa)](_0x21cc2e=>({..._0x21cc2e,'description':this[_0x147a66(0x1aa)](_0x147a66(0x1e9)+_0x21cc2e['id'][_0x147a66(0x23f)](),_0x21cc2e[_0x147a66(0x1d8)])}));}catch(_0x34e2f5){this[_0x147a66(0x1cf)][_0x147a66(0x1d0)](_0x147a66(0x1a6)),this[_0x147a66(0x1c6)](new _0x58584f(_0x147a66(0x230),this,{'error':_0x34e2f5}));}this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x203),()=>{const _0x377fc4=_0x147a66;this[_0x377fc4(0x25b)][_0x377fc4(0x1ce)](this[_0x377fc4(0x1cf)][_0x377fc4(0x236)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x23d),async(_0x4cbe1a,_0x14bb39)=>{const _0x3eb80c=_0x147a66,_0x566476=this[_0x3eb80c(0x1cf)][_0x3eb80c(0x1e3)](_0x14bb39['id']);if(_0x566476){this[_0x3eb80c(0x1a3)](this[_0x3eb80c(0x22e)]),_0x14bb39[_0x3eb80c(0x243)]?this[_0x3eb80c(0x1a5)]=new _0x482227(_0x14bb39[_0x3eb80c(0x1bc)][_0x3eb80c(0x22b)],_0x14bb39[_0x3eb80c(0x1bc)][_0x3eb80c(0x233)],this[_0x3eb80c(0x1b8)][_0x3eb80c(0x226)](),_0x566476,this[_0x3eb80c(0x210)]):this[_0x3eb80c(0x1a5)]=new _0x9f2ed(this[_0x3eb80c(0x1b8)][_0x3eb80c(0x226)](),_0x566476,this[_0x3eb80c(0x210)],_0x14bb39[_0x3eb80c(0x20d)],_0x14bb39[_0x3eb80c(0x1bc)]),this[_0x3eb80c(0x25b)][_0x3eb80c(0x1c9)](this[_0x3eb80c(0x1a5)][_0x3eb80c(0x222)],this[_0x3eb80c(0x1a5)][_0x3eb80c(0x20e)]),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x23a),(_0x574e9c,_0x219f1c)=>{const _0x8bd951=_0x3eb80c;_0x8bd951(0x208)===_0x219f1c[_0x8bd951(0x223)]||_0x8bd951(0x242)===_0x219f1c[_0x8bd951(0x223)]?(this[_0x8bd951(0x1b8)][_0x8bd951(0x251)](),this[_0x8bd951(0x25b)][_0x8bd951(0x1f1)](_0x219f1c)):_0x8bd951(0x1ba)===_0x219f1c[_0x8bd951(0x223)]?this[_0x8bd951(0x25b)][_0x8bd951(0x24b)]():_0x8bd951(0x235)===_0x219f1c[_0x8bd951(0x223)]?this[_0x8bd951(0x25b)][_0x8bd951(0x24e)]():_0x8bd951(0x239)===_0x219f1c[_0x8bd951(0x223)]?this[_0x8bd951(0x25b)][_0x8bd951(0x1e4)]():_0x8bd951(0x1f3)===_0x219f1c[_0x8bd951(0x223)]?(this[_0x8bd951(0x25b)][_0x8bd951(0x255)](),this[_0x8bd951(0x1c6)](new _0x58584f(_0x8bd951(0x22a),this,this[_0x8bd951(0x1a5)]?.[_0x8bd951(0x1c4)]))):_0x8bd951(0x1a9)===_0x219f1c[_0x8bd951(0x223)]?(this[_0x8bd951(0x25b)][_0x8bd951(0x253)](),this[_0x8bd951(0x1c6)](new _0x58584f(_0x8bd951(0x1b2),this,this[_0x8bd951(0x1a5)]?.[_0x8bd951(0x1c4)]))):_0x8bd951(0x1dc)===_0x219f1c[_0x8bd951(0x223)]&&(this[_0x8bd951(0x1a5)]&&this[_0x8bd951(0x1a5)][_0x8bd951(0x25c)]>0x0?setTimeout(()=>{const _0x1b95c1=_0x8bd951;this[_0x1b95c1(0x1a5)]?.[_0x1b95c1(0x1d6)]();},0x0):this[_0x8bd951(0x1e6)](!0x0)),_0x8bd951(0x235)!==_0x219f1c[_0x8bd951(0x223)]&&_0x8bd951(0x1a9)!==_0x219f1c[_0x8bd951(0x223)]&&_0x8bd951(0x1f3)!==_0x219f1c[_0x8bd951(0x223)]||this[_0x8bd951(0x1a5)]?.[_0x8bd951(0x1ef)]();}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x214),(_0x2891e3,_0x387e87)=>{const _0x3c0364=_0x3eb80c;if(!this[_0x3c0364(0x1a5)])throw new _0x58584f(_0x3c0364(0x209),this);const _0x2de3b1=this[_0x3c0364(0x1b8)][_0x3c0364(0x1d2)](_0x387e87[_0x3c0364(0x213)][_0x3c0364(0x245)],_0x387e87[_0x3c0364(0x213)][_0x3c0364(0x237)]);_0x387e87[_0x3c0364(0x24f)][_0x3c0364(0x1ae)](_0x387e87[_0x3c0364(0x213)]['id'],_0x2de3b1);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x1fd),(_0x40c20a,_0x6c10e5)=>{const _0x59e8d4=_0x3eb80c;for(const _0x22cd9b of _0x6c10e5[_0x59e8d4(0x1fe)])this[_0x59e8d4(0x25b)][_0x59e8d4(0x247)](_0x22cd9b);this[_0x59e8d4(0x1b8)][_0x59e8d4(0x1e2)](_0x6c10e5[_0x59e8d4(0x1fe)],_0x6c10e5[_0x59e8d4(0x24f)][_0x59e8d4(0x1a8)]);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x254),(_0x204100,_0x57c183)=>{const _0x2402c6=_0x3eb80c;this[_0x2402c6(0x25b)][_0x2402c6(0x1ec)](_0x57c183[_0x2402c6(0x23c)]['id'],_0x57c183[_0x2402c6(0x223)]);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x1d4),(_0x2b3736,_0x573046)=>{const _0x1065ea=_0x3eb80c;this[_0x1065ea(0x25b)][_0x1065ea(0x1f9)](_0x573046[_0x1065ea(0x23c)]['id']);const _0x375c66=this[_0x1065ea(0x1b8)][_0x1065ea(0x248)](_0x573046[_0x1065ea(0x23c)]['id']);if(!_0x375c66)return;if(_0x1065ea(0x1f8)===this[_0x1065ea(0x225)]){const _0x4beb8d=this[_0x1065ea(0x25b)][_0x1065ea(0x1b0)](_0x573046[_0x1065ea(0x23c)]['id']);_0x4beb8d&&_0xc5c9b6(_0x4beb8d[_0x1065ea(0x1f0)](_0x1065ea(0x21f))||_0x4beb8d);}else{if(_0x1065ea(0x246)===this[_0x1065ea(0x225)]){const _0x3d04f4={'target':_0x375c66[_0x1065ea(0x1ca)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x11f1a3(_0x3d04f4);}}const _0x51bd45=this[_0x1065ea(0x1b8)][_0x1065ea(0x238)]();this[_0x1065ea(0x25b)][_0x1065ea(0x21a)](_0x573046[_0x1065ea(0x23c)],_0x375c66[_0x1065ea(0x1ca)],void 0x0,_0x1065ea(0x20a),_0x51bd45?.[_0x1065ea(0x1b5)]?.[_0x1065ea(0x211)]?.[_0x1065ea(0x21d)](),_0x51bd45?.['ui']?.[_0x1065ea(0x205)]);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x20c),()=>{const _0x3317a2=_0x3eb80c;this[_0x3317a2(0x25b)][_0x3317a2(0x252)](),this[_0x3317a2(0x25b)][_0x3317a2(0x22d)]();});try{await this[_0x3eb80c(0x1a5)][_0x3eb80c(0x1ff)]();}catch(_0x585294){_0x585294 instanceof Error&&_0x585294[_0x3eb80c(0x1fb)][_0x3eb80c(0x1eb)](_0x3eb80c(0x244))||(_0x585294 instanceof _0x58584f?this[_0x3eb80c(0x1c6)](_0x585294):this[_0x3eb80c(0x1c6)](new _0x58584f(_0x3eb80c(0x24a),this,{'error':_0x585294})));}}else this[_0x3eb80c(0x1c6)](new _0x58584f(_0x3eb80c(0x1c0),this,{'checkId':_0x14bb39['id']}));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x250),()=>{const _0x5406da=_0x147a66;this[_0x5406da(0x1e6)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1d5),()=>{const _0x1630a1=_0x147a66;this[_0x1630a1(0x1e6)](!0x0);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x202),()=>{const _0x45bcc9=_0x147a66;this[_0x45bcc9(0x1a5)]&&this[_0x45bcc9(0x1a5)][_0x45bcc9(0x228)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x217),()=>{const _0x367af0=_0x147a66;this[_0x367af0(0x1e6)](!0x0);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x207),()=>{const _0x133b4b=_0x147a66;if(!this[_0x133b4b(0x1a5)])return;const _0x5e62bb=this[_0x133b4b(0x1a5)][_0x133b4b(0x258)]();_0x5e62bb[_0x133b4b(0x1d1)]&&(this[_0x133b4b(0x1b8)][_0x133b4b(0x24c)](_0x5e62bb[_0x133b4b(0x1fa)](_0x1b8b03=>_0x1b8b03['id'])),this[_0x133b4b(0x1a5)][_0x133b4b(0x1bf)](),this[_0x133b4b(0x1a5)][_0x133b4b(0x1ef)]());}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1f4),(_0x544ac3,_0x4c2787)=>{const _0x3cc54e=_0x147a66;this[_0x3cc54e(0x1a5)]&&this[_0x3cc54e(0x1a5)][_0x3cc54e(0x1de)](_0x4c2787['id'])&&(this[_0x3cc54e(0x1b8)][_0x3cc54e(0x24c)]([_0x4c2787['id']]),this[_0x3cc54e(0x1a5)][_0x3cc54e(0x22c)](_0x4c2787['id']),this[_0x3cc54e(0x25b)][_0x3cc54e(0x22d)](),this[_0x3cc54e(0x1a5)][_0x3cc54e(0x1ef)](_0x4c2787['id']));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1f2),(_0x221daa,_0x4ff7f3)=>{const _0x3c083e=_0x147a66;this[_0x3c083e(0x1a5)]&&this[_0x3c083e(0x1a5)][_0x3c083e(0x1de)](_0x4ff7f3['id'])&&(this[_0x3c083e(0x1b8)][_0x3c083e(0x1c5)](_0x4ff7f3['id']),this[_0x3c083e(0x1a5)][_0x3c083e(0x200)](_0x4ff7f3['id']),this[_0x3c083e(0x25b)][_0x3c083e(0x22d)](),this[_0x3c083e(0x1a5)][_0x3c083e(0x1ef)](_0x4ff7f3['id']));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x229),(_0x2d9df1,_0x8b89f3)=>{const _0x498dd9=_0x147a66;this[_0x498dd9(0x22e)]=_0x8b89f3['on'],this[_0x498dd9(0x1a3)](this[_0x498dd9(0x22e)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1db),async()=>{const _0x2900d4=_0x147a66;this[_0x2900d4(0x1a5)]&&(this[_0x2900d4(0x1b8)][_0x2900d4(0x1cd)](),this[_0x2900d4(0x1a5)][_0x2900d4(0x1dd)](this[_0x2900d4(0x1b8)][_0x2900d4(0x226)]()),await this[_0x2900d4(0x1a5)][_0x2900d4(0x21c)]());}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1c3),(_0x20ec1f,_0x45d7bb)=>{const _0x336300=_0x147a66;this[_0x336300(0x1a5)]&&(this[_0x336300(0x225)]=_0x336300(0x246),this[_0x336300(0x1a5)][_0x336300(0x1c3)](_0x45d7bb['id']));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1df),()=>{const _0x2e8875=_0x147a66;this[_0x2e8875(0x1a5)]&&this[_0x2e8875(0x1a5)][_0x2e8875(0x1df)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x216),(_0x596c30,_0x108bdd)=>{const _0x250ff8=_0x147a66;if(!this[_0x250ff8(0x1a5)])return;this[_0x250ff8(0x225)]=_0x250ff8(0x1f8),this[_0x250ff8(0x1a5)][_0x250ff8(0x1c3)](_0x108bdd[_0x250ff8(0x1fc)]);const _0x2dd393=this[_0x250ff8(0x1a5)][_0x250ff8(0x1c2)](_0x108bdd[_0x250ff8(0x1fc)]);if(!_0x2dd393)return;const _0x13754e=this[_0x250ff8(0x1b8)][_0x250ff8(0x238)]();this[_0x250ff8(0x25b)][_0x250ff8(0x21a)](_0x2dd393,_0x108bdd[_0x250ff8(0x204)],_0x108bdd[_0x250ff8(0x240)],_0x250ff8(0x20a),_0x13754e?.[_0x250ff8(0x1b5)]?.[_0x250ff8(0x211)]?.[_0x250ff8(0x21d)](),_0x13754e?.['ui']?.[_0x250ff8(0x205)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x234),(_0x5a8913,_0x51ee74)=>{const _0xaeed90=_0x147a66;if(!this[_0xaeed90(0x1a5)])return;if(this[_0xaeed90(0x1a5)][_0xaeed90(0x1ea)]())return;const _0x1b28b7=this[_0xaeed90(0x1a5)][_0xaeed90(0x1c2)](_0x51ee74[_0xaeed90(0x1fc)]);if(!_0x1b28b7)return;const _0xaf8252=this[_0xaeed90(0x1b8)][_0xaeed90(0x238)]();this[_0xaeed90(0x25b)][_0xaeed90(0x21a)](_0x1b28b7,_0x51ee74[_0xaeed90(0x204)],_0x51ee74[_0xaeed90(0x240)],_0xaeed90(0x1be),_0xaf8252?.[_0xaeed90(0x1b5)]?.[_0xaeed90(0x211)]?.[_0xaeed90(0x21d)](),_0xaf8252?.['ui']?.[_0xaeed90(0x205)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x1f7),()=>{const _0x869aee=_0x147a66;if(!this[_0x869aee(0x1a5)])return;this[_0x869aee(0x1a5)][_0x869aee(0x1ea)]()||this[_0x869aee(0x25b)][_0x869aee(0x22d)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x1e5),(_0x210ae2,_0x5de725)=>{const _0x20d4ea=_0x147a66;this[_0x20d4ea(0x1a5)]&&this[_0x20d4ea(0x1a5)][_0x20d4ea(0x241)](_0x5de725[_0x20d4ea(0x1fc)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x1a4),(_0x302545,_0xee68c)=>{const _0x553fe2=_0x147a66;this[_0x553fe2(0x1a5)]&&this[_0x553fe2(0x1a5)][_0x553fe2(0x1da)](_0xee68c[_0x553fe2(0x1fc)]);});}[_0x1cc891(0x1e6)](_0x25a5dc=!0x1){const _0x28c2f5=_0x1cc891;this[_0x28c2f5(0x1a5)]&&(this[_0x28c2f5(0x1a5)][_0x28c2f5(0x21e)]||this[_0x28c2f5(0x1a5)][_0x28c2f5(0x1ef)](),this[_0x28c2f5(0x1a5)][_0x28c2f5(0x20f)](),this[_0x28c2f5(0x1a5)][_0x28c2f5(0x228)](),this[_0x28c2f5(0x1a5)]=void 0x0),_0x25a5dc&&this[_0x28c2f5(0x25b)][_0x28c2f5(0x1c7)](),this[_0x28c2f5(0x1b8)][_0x28c2f5(0x1cd)](),this[_0x28c2f5(0x1b8)][_0x28c2f5(0x1bb)](),this[_0x28c2f5(0x225)]=null;const _0x13761d=this[_0x28c2f5(0x1b8)][_0x28c2f5(0x238)]();_0x13761d&&_0x13761d[_0x28c2f5(0x1b5)][_0x28c2f5(0x211)][_0x28c2f5(0x23c)](_0x414e87=>{const _0x43063c=_0x28c2f5,_0x250138=_0x13761d[_0x43063c(0x1b5)][_0x43063c(0x211)][_0x43063c(0x23e)][_0x43063c(0x20b)]();_0x414e87[_0x43063c(0x227)](_0x43063c(0x25a),_0x250138),_0x414e87[_0x43063c(0x227)](_0x43063c(0x1ed),_0x250138);});}[_0x1cc891(0x1a3)](_0x42dcb9){const _0x3739b6=_0x1cc891,_0x469746=this[_0x3739b6(0x1b8)][_0x3739b6(0x238)]();_0x42dcb9?this[_0x3739b6(0x25b)][_0x3739b6(0x1b3)]():this[_0x3739b6(0x25b)][_0x3739b6(0x1ac)](),_0x469746&&_0x469746[_0x3739b6(0x1b5)][_0x3739b6(0x211)][_0x3739b6(0x23c)](_0x304f9a=>{const _0x773e7c=_0x3739b6,_0x9624e2=_0x469746[_0x773e7c(0x1b5)][_0x773e7c(0x211)][_0x773e7c(0x23e)][_0x773e7c(0x20b)]();_0x304f9a[_0x773e7c(0x227)](_0x773e7c(0x25a),_0x9624e2),_0x304f9a[_0x773e7c(0x227)](_0x773e7c(0x1ed),_0x9624e2),_0x304f9a[_0x773e7c(0x1ab)](_0x42dcb9?_0x773e7c(0x25a):_0x773e7c(0x1ed),_0x9624e2);});}[_0x1cc891(0x24d)](_0x4b8541){const _0x40c8a7=_0x1cc891;return _0x4b8541[_0x40c8a7(0x1fa)](_0x374749=>{const _0x319927=_0x40c8a7,_0x35ee82=_0x319927(0x201)+_0x374749['id'][_0x319927(0x23f)]()[_0x319927(0x259)]('-','_'),_0x24dd34={..._0x374749,'title':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x22f),_0x374749[_0x319927(0x222)]),'description':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x232),_0x374749[_0x319927(0x1d8)])};return _0x374749[_0x319927(0x257)]&&(_0x24dd34[_0x319927(0x257)]=_0x374749[_0x319927(0x257)][_0x319927(0x1fa)](_0x39ddd6=>({..._0x39ddd6,'label':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x1e8),_0x39ddd6[_0x319927(0x218)]||''),'data':_0x39ddd6[_0x319927(0x208)]?_0x39ddd6[_0x319927(0x208)][_0x319927(0x1fa)](_0x18f2db=>({..._0x18f2db,'label':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x1e7)+_0x18f2db['id'][_0x319927(0x23f)](),_0x18f2db[_0x319927(0x218)])})):void 0x0}))),_0x24dd34;});}[_0x1cc891(0x1aa)](_0xe8e1f4,_0x5c48fb){const _0xb3fccf=_0x1cc891,_0xd78b8f=this[_0xb3fccf(0x224)][_0xb3fccf(0x1af)],_0x3c3acc=_0x2e082d(_0xd78b8f,_0xe8e1f4);return _0x3c3acc===_0xe8e1f4?_0x5c48fb:_0x3c3acc;}[_0x1cc891(0x1c6)](_0x2c2217){const _0x400ffc=_0x1cc891;_0x1ed761(_0x2c2217[_0x400ffc(0x1fb)]),_0x2c2217[_0x400ffc(0x1fb)][_0x400ffc(0x1c8)](_0x400ffc(0x230))?this[_0x400ffc(0x25b)][_0x400ffc(0x1ad)]():this[_0x400ffc(0x25b)][_0x400ffc(0x255)]();}}
23
+ const _0x372c2a=_0x10ac;(function(_0x485cbd,_0x21609e){const _0x199305=_0x10ac,_0x203a5d=_0x485cbd();while(!![]){try{const _0x31323c=-parseInt(_0x199305(0x261))/0x1+parseInt(_0x199305(0x244))/0x2+-parseInt(_0x199305(0x1dd))/0x3+parseInt(_0x199305(0x23d))/0x4*(-parseInt(_0x199305(0x245))/0x5)+parseInt(_0x199305(0x257))/0x6*(-parseInt(_0x199305(0x228))/0x7)+-parseInt(_0x199305(0x1fa))/0x8*(-parseInt(_0x199305(0x1d8))/0x9)+parseInt(_0x199305(0x22a))/0xa*(parseInt(_0x199305(0x205))/0xb);if(_0x31323c===_0x21609e)break;else _0x203a5d['push'](_0x203a5d['shift']());}catch(_0x3552e0){_0x203a5d['push'](_0x203a5d['shift']());}}}(_0x4918,0xc1e77));import{ContextPlugin as _0x266d3b}from'ckeditor5/src/core.js';function _0x4918(){const _0x5f3c2d=['start','hideDiffInBalloon','getEditor','viewportOffset','.ck-ai-review-mode__check-run-result','changeId','subTitle','isCustom','clearAllMarkers','AIConnector','AI_REVIEW_CHECK_','3324461YJWlGH','markAllChangesAsAccepted','10JdVCwX','hideChangeBalloon','model','AIReviewModeController','error-chunk','showCheckRunResults','checks','updateDocumentData','diffContent','sendRating','status','unmodified','showReviewCompletedView','_logError','_isDiffOn','isOfficialPlugin','_changeActivationSource','getChangeById','forceReadyState','4XfBMVa','prompt','leaveReviewModeResultList','locale','init','acceptChange','getDomRoot','715176zPvZfd','551305lCmSnZ','_currentReviewCheckRun','message','config','label','ready','_DESCRIPTION','showChunkErrorView','removeCheckById','_aiReviewCheckList','acceptAllChanges','includes','custom','ai-review-mode-check-run-failed','map','changeMarkerRemoved','abortReviewStream','getActiveChanges','18cFFJKs','contentInitial','reviewCheckResultDeactivated','_TITLE','hover','markChangeAsRejected','_translateReviewChecks','_onDiffChange','source','setCheckResultTitle','1399330UyoLVi','documentData','finished','requires','_aiReviewModeEditing','stopListening','showReviewCheckList','abort','contentNew','addResultChanges','AIReviewModeUI','getCheckById','hasModifications','markChangeAsPending','finishReview','deactivateChange','restart','removeClass','showGeneralResultsErrorView','ai-review-mode-no-current-check-run','get','markChangePositionInEditorContent','setActiveStateInResults','leaveReviewMode','_OPTIONS_LABEL','updateChangeState','_aiReviewModeUi','aborted','document','_OPTIONS_DATA_','ck-ai-review-mode-diff','showCheckRunResult','reviewCheckRunUpdated','replaceAll','dismissChange','activateChange','pluginName','_getTranslationWithDefault','toUpperCase','reviewCheckResultChangeStatusUpdated','ai-review-mode-check-run-chunk-error','showChangeBalloon','isChangeActive','data','getAll','_onReviewModeRunLeave','showGeneralReviewModeErrorView','args','params','plugins','6100101xCwHiq','click','resetActiveStateInResults','AIReviewModeEditing','addClass','4069164usZuzT','translate','markerElement','loading','processedResultsCount','ck-ai-review-mode-highlights','panel','changeMarkerHovered','title','find','runReviewCheck','ai.reviewMode.translations','options','ai-review-mode-check-run-general-error','changeMarkerBlurred','reviewCheckResultActivated','markChangeAsAccepted','switchToReadOnly','getDocumentData','retryReview','domEvent','content','isAnyChangeActivated','ai-review-mode-models-unable-to-retrieve','emitter','domElement','view','getMarkerElementForChange','result','8SJCdno','changeMarkerRestored','reviewCheckResultReady','setAvailableChecks','showActionsWhenResultIsReady','getReviewCheckList','toggleDiff','changes','length','applyChange','getChangeElement','44545622XLWsZL','changeMarkerClick','ai-review-mode-source-check-not-found','_aiConnector','listenTo','editing','currentError','reviewCheckResultAdded','context','showNoChangesView','description','ai-request-aborted','change','isPremiumPlugin','showDiffInBalloon','startsWith','markChangeAsOutdated','rejectChange','error-general','getRoot','models','switchToEdit','AI_MODEL_DESCRIPTION_','closest'];_0x4918=function(){return _0x5f3c2d;};return _0x4918();}import{CKEditorError as _0x4e7eb4,logError as _0x1fc349,scrollAncestorsToShowTarget as _0x4483a0,scrollViewportToShowTarget as _0x3339e3}from'ckeditor5/src/utils.js';function _0x10ac(_0x5b91ec,_0x3b5c94){const _0x4918cb=_0x4918();return _0x10ac=function(_0x10ace9,_0x175074){_0x10ace9=_0x10ace9-0x1ce;let _0x20622a=_0x4918cb[_0x10ace9];return _0x20622a;},_0x10ac(_0x5b91ec,_0x3b5c94);}import{AIConnector as _0x18fbce}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x34b9f7}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x4e095a}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x5e67ff}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x3de7d7}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x15cfa0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x23070d}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x266d3b{[_0x372c2a(0x208)];[_0x372c2a(0x27b)];[_0x372c2a(0x265)];[_0x372c2a(0x24e)];[_0x372c2a(0x246)];[_0x372c2a(0x238)]=!0x1;[_0x372c2a(0x23a)]=null;static get[_0x372c2a(0x264)](){return[_0x18fbce];}static get[_0x372c2a(0x285)](){const _0x9b80e7=_0x372c2a;return _0x9b80e7(0x22d);}static get[_0x372c2a(0x239)](){return!0x0;}static get[_0x372c2a(0x212)](){return!0x0;}async[_0x372c2a(0x241)](){const _0x3008f0=_0x372c2a;this[_0x3008f0(0x208)]=this[_0x3008f0(0x20d)][_0x3008f0(0x1d7)][_0x3008f0(0x275)](_0x3008f0(0x226)),this[_0x3008f0(0x27b)]=this[_0x3008f0(0x20d)][_0x3008f0(0x1d7)][_0x3008f0(0x275)](_0x3008f0(0x26b)),this[_0x3008f0(0x265)]=this[_0x3008f0(0x20d)][_0x3008f0(0x1d7)][_0x3008f0(0x275)](_0x3008f0(0x1db));const _0x3fee9e=this[_0x3008f0(0x20d)][_0x3008f0(0x248)][_0x3008f0(0x275)](_0x3008f0(0x1e8));if(_0x3fee9e){for(const _0x3b7f74 of _0x15cfa0)_0x3008f0(0x1de)===_0x3b7f74['id']&&(_0x3b7f74[_0x3008f0(0x1e9)][0x0][_0x3008f0(0x1d1)]=_0x3fee9e);}const _0xe6cdd4=this[_0x3008f0(0x25d)](_0x15cfa0);this[_0x3008f0(0x24e)]=new _0x34b9f7(_0xe6cdd4);const _0x5ecc15=this[_0x3008f0(0x24e)][_0x3008f0(0x230)][_0x3008f0(0x1e6)](_0x47ec14=>_0x3008f0(0x251)===_0x47ec14['id']);if(_0x5ecc15)try{const _0x2cda58=await new _0x3de7d7({'connector':this[_0x3008f0(0x208)]})[_0x3008f0(0x1d2)]();_0x5ecc15[_0x3008f0(0x219)]=_0x2cda58[_0x3008f0(0x253)](_0x24570a=>({..._0x24570a,'description':this[_0x3008f0(0x286)](_0x3008f0(0x21b)+_0x24570a['id'][_0x3008f0(0x287)](),_0x24570a[_0x3008f0(0x20f)])}));}catch(_0x18f814){this[_0x3008f0(0x24e)][_0x3008f0(0x24d)](_0x3008f0(0x251)),this[_0x3008f0(0x237)](new _0x4e7eb4(_0x3008f0(0x1f4),this,{'error':_0x18f814}));}this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x1ff),()=>{const _0x33be2f=_0x3008f0;this[_0x33be2f(0x27b)][_0x33be2f(0x1fd)](this[_0x33be2f(0x24e)][_0x33be2f(0x230)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x1e7),async(_0x384e10,_0x5b6f5c)=>{const _0x299ef4=_0x3008f0,_0x4de950=this[_0x299ef4(0x24e)][_0x299ef4(0x26c)](_0x5b6f5c['id']);if(_0x4de950){this[_0x299ef4(0x25e)](this[_0x299ef4(0x238)]),_0x5b6f5c[_0x299ef4(0x224)]?this[_0x299ef4(0x246)]=new _0x5e67ff(_0x5b6f5c[_0x299ef4(0x1d5)][_0x299ef4(0x23e)],_0x5b6f5c[_0x299ef4(0x1d5)][_0x299ef4(0x22c)],this[_0x299ef4(0x265)][_0x299ef4(0x1ef)](),_0x4de950,this[_0x299ef4(0x208)]):this[_0x299ef4(0x246)]=new _0x4e095a(this[_0x299ef4(0x265)][_0x299ef4(0x1ef)](),_0x4de950,this[_0x299ef4(0x208)],_0x5b6f5c[_0x299ef4(0x1d6)],_0x5b6f5c[_0x299ef4(0x1d5)]),this[_0x299ef4(0x27b)][_0x299ef4(0x260)](this[_0x299ef4(0x246)][_0x299ef4(0x1e5)],this[_0x299ef4(0x246)][_0x299ef4(0x223)]),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x281),(_0x51e9e1,_0x2c9540)=>{const _0x23f27d=_0x299ef4;_0x23f27d(0x1d1)===_0x2c9540[_0x23f27d(0x234)]||_0x23f27d(0x1e0)===_0x2c9540[_0x23f27d(0x234)]?(this[_0x23f27d(0x265)][_0x23f27d(0x1ee)](),this[_0x23f27d(0x27b)][_0x23f27d(0x22f)](_0x2c9540)):_0x23f27d(0x263)===_0x2c9540[_0x23f27d(0x234)]?this[_0x23f27d(0x27b)][_0x23f27d(0x236)]():_0x23f27d(0x24a)===_0x2c9540[_0x23f27d(0x234)]?this[_0x23f27d(0x27b)][_0x23f27d(0x1fe)]():_0x23f27d(0x235)===_0x2c9540[_0x23f27d(0x234)]?this[_0x23f27d(0x27b)][_0x23f27d(0x20e)]():_0x23f27d(0x217)===_0x2c9540[_0x23f27d(0x234)]?(this[_0x23f27d(0x27b)][_0x23f27d(0x273)](),this[_0x23f27d(0x237)](new _0x4e7eb4(_0x23f27d(0x1ea),this,this[_0x23f27d(0x246)]?.[_0x23f27d(0x20b)]))):_0x23f27d(0x22e)===_0x2c9540[_0x23f27d(0x234)]?(this[_0x23f27d(0x27b)][_0x23f27d(0x24c)](),this[_0x23f27d(0x237)](new _0x4e7eb4(_0x23f27d(0x1ce),this,this[_0x23f27d(0x246)]?.[_0x23f27d(0x20b)]))):_0x23f27d(0x27c)===_0x2c9540[_0x23f27d(0x234)]&&(this[_0x23f27d(0x246)]&&this[_0x23f27d(0x246)][_0x23f27d(0x1e1)]>0x0?setTimeout(()=>{const _0x55daf4=_0x23f27d;this[_0x55daf4(0x246)]?.[_0x55daf4(0x23c)]();},0x0):this[_0x23f27d(0x1d3)](!0x0)),_0x23f27d(0x24a)!==_0x2c9540[_0x23f27d(0x234)]&&_0x23f27d(0x22e)!==_0x2c9540[_0x23f27d(0x234)]&&_0x23f27d(0x217)!==_0x2c9540[_0x23f27d(0x234)]||this[_0x23f27d(0x246)]?.[_0x23f27d(0x233)]();}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x20c),(_0x174706,_0x4650bb)=>{const _0x2cf31c=_0x299ef4;if(!this[_0x2cf31c(0x246)])throw new _0x4e7eb4(_0x2cf31c(0x274),this);const _0x5e6c16=this[_0x2cf31c(0x265)][_0x2cf31c(0x232)](_0x4650bb[_0x2cf31c(0x1f9)][_0x2cf31c(0x258)],_0x4650bb[_0x2cf31c(0x1f9)][_0x2cf31c(0x269)]);_0x4650bb[_0x2cf31c(0x25f)][_0x2cf31c(0x26a)](_0x4650bb[_0x2cf31c(0x1f9)]['id'],_0x5e6c16);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x1fc),(_0x5825f0,_0x315031)=>{const _0xc16db5=_0x299ef4;for(const _0xbff897 of _0x315031[_0xc16db5(0x201)])this[_0xc16db5(0x27b)][_0xc16db5(0x280)](_0xbff897);this[_0xc16db5(0x265)][_0xc16db5(0x276)](_0x315031[_0xc16db5(0x201)],_0x315031[_0xc16db5(0x25f)][_0xc16db5(0x262)]);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x288),(_0x4be954,_0x3a5f8b)=>{const _0x1856fe=_0x299ef4;this[_0x1856fe(0x27b)][_0x1856fe(0x27a)](_0x3a5f8b[_0x1856fe(0x211)]['id'],_0x3a5f8b[_0x1856fe(0x234)]);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x1ec),(_0x5cd182,_0x513dde)=>{const _0x2fb5f9=_0x299ef4;this[_0x2fb5f9(0x27b)][_0x2fb5f9(0x277)](_0x513dde[_0x2fb5f9(0x211)]['id']);const _0x3d77cf=this[_0x2fb5f9(0x265)][_0x2fb5f9(0x1f8)](_0x513dde[_0x2fb5f9(0x211)]['id']);if(!_0x3d77cf)return;if(_0x2fb5f9(0x1f2)===this[_0x2fb5f9(0x23a)]){const _0x20954a=this[_0x2fb5f9(0x27b)][_0x2fb5f9(0x204)](_0x513dde[_0x2fb5f9(0x211)]['id']);_0x20954a&&_0x4483a0(_0x20954a[_0x2fb5f9(0x21c)](_0x2fb5f9(0x221))||_0x20954a);}else{if(_0x2fb5f9(0x1e3)===this[_0x2fb5f9(0x23a)]){const _0x5bc5ba={'target':_0x3d77cf[_0x2fb5f9(0x1f6)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x3339e3(_0x5bc5ba);}}const _0x1417cf=this[_0x2fb5f9(0x265)][_0x2fb5f9(0x21f)]();this[_0x2fb5f9(0x27b)][_0x2fb5f9(0x1cf)](_0x513dde[_0x2fb5f9(0x211)],_0x3d77cf[_0x2fb5f9(0x1f6)],void 0x0,_0x2fb5f9(0x1d9),_0x1417cf?.[_0x2fb5f9(0x20a)]?.[_0x2fb5f9(0x1f7)]?.[_0x2fb5f9(0x243)](),_0x1417cf?.['ui']?.[_0x2fb5f9(0x220)]);}),this[_0x299ef4(0x246)]['on'](_0x299ef4(0x259),()=>{const _0x4b85f1=_0x299ef4;this[_0x4b85f1(0x27b)][_0x4b85f1(0x1da)](),this[_0x4b85f1(0x27b)][_0x4b85f1(0x22b)]();});try{await this[_0x299ef4(0x246)][_0x299ef4(0x21d)]();}catch(_0x46c20d){_0x46c20d instanceof Error&&_0x46c20d[_0x299ef4(0x247)][_0x299ef4(0x250)](_0x299ef4(0x210))||(_0x46c20d instanceof _0x4e7eb4?this[_0x299ef4(0x237)](_0x46c20d):this[_0x299ef4(0x237)](new _0x4e7eb4(_0x299ef4(0x252),this,{'error':_0x46c20d})));}}else this[_0x299ef4(0x237)](new _0x4e7eb4(_0x299ef4(0x207),this,{'checkId':_0x5b6f5c['id']}));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x278),()=>{const _0x5e0284=_0x3008f0;this[_0x5e0284(0x1d3)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x23f),()=>{const _0x24126b=_0x3008f0;this[_0x24126b(0x1d3)](!0x0);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x255),()=>{const _0x4519be=_0x3008f0;this[_0x4519be(0x246)]&&this[_0x4519be(0x246)][_0x4519be(0x268)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x26f),()=>{const _0x54f31d=_0x3008f0;this[_0x54f31d(0x1d3)](!0x0);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x24f),()=>{const _0x4e4bf5=_0x3008f0;if(!this[_0x4e4bf5(0x246)])return;const _0x293406=this[_0x4e4bf5(0x246)][_0x4e4bf5(0x256)]();_0x293406[_0x4e4bf5(0x202)]&&(this[_0x4e4bf5(0x265)][_0x4e4bf5(0x203)](_0x293406[_0x4e4bf5(0x253)](_0x4fe5c6=>_0x4fe5c6['id'])),this[_0x4e4bf5(0x246)][_0x4e4bf5(0x229)](),this[_0x4e4bf5(0x246)][_0x4e4bf5(0x233)]());}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x242),(_0x15934b,_0x3353cb)=>{const _0x4d9729=_0x3008f0;this[_0x4d9729(0x246)]&&this[_0x4d9729(0x246)][_0x4d9729(0x1d0)](_0x3353cb['id'])&&(this[_0x4d9729(0x265)][_0x4d9729(0x203)]([_0x3353cb['id']]),this[_0x4d9729(0x246)][_0x4d9729(0x1ed)](_0x3353cb['id']),this[_0x4d9729(0x27b)][_0x4d9729(0x22b)](),this[_0x4d9729(0x246)][_0x4d9729(0x233)](_0x3353cb['id']));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x283),(_0x2240e8,_0x51b052)=>{const _0x3a221d=_0x3008f0;this[_0x3a221d(0x246)]&&this[_0x3a221d(0x246)][_0x3a221d(0x1d0)](_0x51b052['id'])&&(this[_0x3a221d(0x265)][_0x3a221d(0x216)](_0x51b052['id']),this[_0x3a221d(0x246)][_0x3a221d(0x25c)](_0x51b052['id']),this[_0x3a221d(0x27b)][_0x3a221d(0x22b)](),this[_0x3a221d(0x246)][_0x3a221d(0x233)](_0x51b052['id']));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x200),(_0x5e31e0,_0x53ebd7)=>{const _0x17cd8e=_0x3008f0;this[_0x17cd8e(0x238)]=_0x53ebd7['on'],this[_0x17cd8e(0x25e)](this[_0x17cd8e(0x238)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x1f0),async()=>{const _0x81ec90=_0x3008f0;this[_0x81ec90(0x246)]&&(this[_0x81ec90(0x265)][_0x81ec90(0x225)](),this[_0x81ec90(0x246)][_0x81ec90(0x231)](this[_0x81ec90(0x265)][_0x81ec90(0x1ef)]()),await this[_0x81ec90(0x246)][_0x81ec90(0x271)]());}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x284),(_0x27fb5b,_0x37eb87)=>{const _0x21dedc=_0x3008f0;this[_0x21dedc(0x246)]&&(this[_0x21dedc(0x23a)]=_0x21dedc(0x1e3),this[_0x21dedc(0x246)][_0x21dedc(0x284)](_0x37eb87['id']));}),this[_0x3008f0(0x209)](this[_0x3008f0(0x27b)],_0x3008f0(0x270),()=>{const _0x4e9a0d=_0x3008f0;this[_0x4e9a0d(0x246)]&&this[_0x4e9a0d(0x246)][_0x4e9a0d(0x270)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x206),(_0x89b764,_0x5bcb5e)=>{const _0xaf924c=_0x3008f0;if(!this[_0xaf924c(0x246)])return;this[_0xaf924c(0x23a)]=_0xaf924c(0x1f2),this[_0xaf924c(0x246)][_0xaf924c(0x284)](_0x5bcb5e[_0xaf924c(0x222)]);const _0xaf8bc8=this[_0xaf924c(0x246)][_0xaf924c(0x23b)](_0x5bcb5e[_0xaf924c(0x222)]);if(!_0xaf8bc8)return;const _0x2b2232=this[_0xaf924c(0x265)][_0xaf924c(0x21f)]();this[_0xaf924c(0x27b)][_0xaf924c(0x1cf)](_0xaf8bc8,_0x5bcb5e[_0xaf924c(0x1df)],_0x5bcb5e[_0xaf924c(0x1f1)],_0xaf924c(0x1d9),_0x2b2232?.[_0xaf924c(0x20a)]?.[_0xaf924c(0x1f7)]?.[_0xaf924c(0x243)](),_0x2b2232?.['ui']?.[_0xaf924c(0x220)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x1e4),(_0x56210b,_0x2fe784)=>{const _0x110b39=_0x3008f0;if(!this[_0x110b39(0x246)])return;if(this[_0x110b39(0x246)][_0x110b39(0x1f3)]())return;const _0x8941d1=this[_0x110b39(0x246)][_0x110b39(0x23b)](_0x2fe784[_0x110b39(0x222)]);if(!_0x8941d1)return;const _0xd0534b=this[_0x110b39(0x265)][_0x110b39(0x21f)]();this[_0x110b39(0x27b)][_0x110b39(0x1cf)](_0x8941d1,_0x2fe784[_0x110b39(0x1df)],_0x2fe784[_0x110b39(0x1f1)],_0x110b39(0x25b),_0xd0534b?.[_0x110b39(0x20a)]?.[_0x110b39(0x1f7)]?.[_0x110b39(0x243)](),_0xd0534b?.['ui']?.[_0x110b39(0x220)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x1eb),()=>{const _0x58d0da=_0x3008f0;if(!this[_0x58d0da(0x246)])return;this[_0x58d0da(0x246)][_0x58d0da(0x1f3)]()||this[_0x58d0da(0x27b)][_0x58d0da(0x22b)]();}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x254),(_0x33be46,_0x1a4548)=>{const _0x19dbed=_0x3008f0;this[_0x19dbed(0x246)]&&this[_0x19dbed(0x246)][_0x19dbed(0x215)](_0x1a4548[_0x19dbed(0x222)]);}),this[_0x3008f0(0x209)](this[_0x3008f0(0x265)][_0x3008f0(0x1f5)],_0x3008f0(0x1fb),(_0xe221a9,_0x3458e7)=>{const _0x5ec81e=_0x3008f0;this[_0x5ec81e(0x246)]&&this[_0x5ec81e(0x246)][_0x5ec81e(0x26e)](_0x3458e7[_0x5ec81e(0x222)]);});}[_0x372c2a(0x1d3)](_0x348471=!0x1){const _0x1b7312=_0x372c2a;this[_0x1b7312(0x246)]&&(this[_0x1b7312(0x246)][_0x1b7312(0x26d)]||this[_0x1b7312(0x246)][_0x1b7312(0x233)](),this[_0x1b7312(0x246)][_0x1b7312(0x266)](),this[_0x1b7312(0x246)][_0x1b7312(0x268)](),this[_0x1b7312(0x246)]=void 0x0),_0x348471&&this[_0x1b7312(0x27b)][_0x1b7312(0x267)](),this[_0x1b7312(0x265)][_0x1b7312(0x225)](),this[_0x1b7312(0x265)][_0x1b7312(0x21a)](),this[_0x1b7312(0x23a)]=null;const _0x590cc2=this[_0x1b7312(0x265)][_0x1b7312(0x21f)]();_0x590cc2&&_0x590cc2[_0x1b7312(0x20a)][_0x1b7312(0x1f7)][_0x1b7312(0x211)](_0x1f5e2d=>{const _0x350658=_0x1b7312,_0x53f023=_0x590cc2[_0x350658(0x20a)][_0x350658(0x1f7)][_0x350658(0x27d)][_0x350658(0x218)]();_0x1f5e2d[_0x350658(0x272)](_0x350658(0x27f),_0x53f023),_0x1f5e2d[_0x350658(0x272)](_0x350658(0x1e2),_0x53f023);});}[_0x372c2a(0x25e)](_0x3b4389){const _0x642c83=_0x372c2a,_0x485edf=this[_0x642c83(0x265)][_0x642c83(0x21f)]();_0x3b4389?this[_0x642c83(0x27b)][_0x642c83(0x21e)]():this[_0x642c83(0x27b)][_0x642c83(0x213)](),_0x485edf&&_0x485edf[_0x642c83(0x20a)][_0x642c83(0x1f7)][_0x642c83(0x211)](_0x3d7d6a=>{const _0x3ad10d=_0x642c83,_0x20ddca=_0x485edf[_0x3ad10d(0x20a)][_0x3ad10d(0x1f7)][_0x3ad10d(0x27d)][_0x3ad10d(0x218)]();_0x3d7d6a[_0x3ad10d(0x272)](_0x3ad10d(0x27f),_0x20ddca),_0x3d7d6a[_0x3ad10d(0x272)](_0x3ad10d(0x1e2),_0x20ddca),_0x3d7d6a[_0x3ad10d(0x1dc)](_0x3b4389?_0x3ad10d(0x27f):_0x3ad10d(0x1e2),_0x20ddca);});}[_0x372c2a(0x25d)](_0x345b5a){const _0x54a87d=_0x372c2a;return _0x345b5a[_0x54a87d(0x253)](_0x566266=>{const _0x8b27b9=_0x54a87d,_0x3c180d=_0x8b27b9(0x227)+_0x566266['id'][_0x8b27b9(0x287)]()[_0x8b27b9(0x282)]('-','_'),_0x3f60f2={..._0x566266,'title':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x25a),_0x566266[_0x8b27b9(0x1e5)]),'description':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x24b),_0x566266[_0x8b27b9(0x20f)])};return _0x566266[_0x8b27b9(0x1e9)]&&(_0x3f60f2[_0x8b27b9(0x1e9)]=_0x566266[_0x8b27b9(0x1e9)][_0x8b27b9(0x253)](_0x39ba1f=>({..._0x39ba1f,'label':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x279),_0x39ba1f[_0x8b27b9(0x249)]||''),'data':_0x39ba1f[_0x8b27b9(0x1d1)]?_0x39ba1f[_0x8b27b9(0x1d1)][_0x8b27b9(0x253)](_0x25f37b=>({..._0x25f37b,'label':this[_0x8b27b9(0x286)](_0x3c180d+_0x8b27b9(0x27e)+_0x25f37b['id'][_0x8b27b9(0x287)](),_0x25f37b[_0x8b27b9(0x249)])})):void 0x0}))),_0x3f60f2;});}[_0x372c2a(0x286)](_0x220388,_0x823f23){const _0x9d1fcd=_0x372c2a,_0x2779d1=this[_0x9d1fcd(0x20d)][_0x9d1fcd(0x240)],_0x141782=_0x23070d(_0x2779d1,_0x220388);return _0x141782===_0x220388?_0x823f23:_0x141782;}[_0x372c2a(0x237)](_0x3d5ae7){const _0x47e488=_0x372c2a;_0x1fc349(_0x3d5ae7[_0x47e488(0x247)]),_0x3d5ae7[_0x47e488(0x247)][_0x47e488(0x214)](_0x47e488(0x1f4))?this[_0x47e488(0x27b)][_0x47e488(0x1d4)]():this[_0x47e488(0x27b)][_0x47e488(0x273)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48c209=_0xa998;(function(_0x43f1c4,_0x44bcf9){const _0x2e0733=_0xa998,_0x4ae921=_0x43f1c4();while(!![]){try{const _0x1c9089=-parseInt(_0x2e0733(0x205))/0x1*(parseInt(_0x2e0733(0x1a1))/0x2)+parseInt(_0x2e0733(0x133))/0x3+parseInt(_0x2e0733(0x1db))/0x4*(parseInt(_0x2e0733(0x12f))/0x5)+-parseInt(_0x2e0733(0x192))/0x6+-parseInt(_0x2e0733(0x169))/0x7+-parseInt(_0x2e0733(0x1c9))/0x8*(parseInt(_0x2e0733(0x144))/0x9)+parseInt(_0x2e0733(0x13a))/0xa;if(_0x1c9089===_0x44bcf9)break;else _0x4ae921['push'](_0x4ae921['shift']());}catch(_0x137cc0){_0x4ae921['push'](_0x4ae921['shift']());}}}(_0x4f94,0x837a9));import{InsertOperation as _0x22c58b,MarkerOperation as _0x2815f4,ModelDocumentFragment as _0x37daec,ModelPosition as _0x270ee2,ModelRange as _0x4d6049,ModelTreeWalker as _0xf562c2,transformOperationSets as _0x5e8d9f}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x2bfa9e,EmitterMixin as _0x230d70}from'ckeditor5/src/utils.js';function _0x4f94(){const _0x409c45=['changeMarkerRemoved','rootName','_markers','oldRange','_changeOperationOwnerDocument','diffContent','root','operationsIsolated','suggestion-context','version','changeMarkerBlurred','_upsertDataId','_haveSingleTopLevelElement','_findMarkerElement','exec','ai-review-mode','_removeAttribute','domConverter','_createGetContextFn','4757382MfcWgq','getAttribute','deleteContent','nodes','context','push','_getChangeContext','data','newRange','changeMarkerHovered','markerToHighlight','includes','backward','removeMarker','_eventEmitter','1162LvgunT','add','outerHTML','isPremiumPlugin','listenTo','isOfficialPlugin','data-marker-id','$textProxy','getDocumentData','_sortMarkers','_groupAdjacentOperations','delete','rejectChange','remove-context','registerPostFixer','containerElement','_hasSameTopLevelElement','markChangePositionInEditorContent','startsWith','switchToEdit','offsetSize','editingDowncast','model:$text','getStart','requires','size','_validateMarkers','isIntersecting','htmlProcessor','ck-ai_review-mode-marker_strikethrough','_appendChild','get','hasContentBefore','name','clear','AIEditing','length','_getOperationEnd','append','addOperation','16PcUwhi','dataDowncast','createSelection','_clone','$markedRemove','groupId','view','howMany','conversion','[data-marker-id=\x22','suggestion:insertion:id:authorId:','getChanges','remove-text','_findAdjacentContextDistance','getEditor','DocumentCompare','applyChange','_changePosition','1286364trRPvQ','getHtml','_changeRangeOwnerDocument','split','createUIElement','filter','switchToReadOnly','documentFragment','markerToElement','ck-ai_review-mode-marker_context-end','type','map','createPositionAt','concat','addMarker','plugins','elements','innerHTML','insert','for','getOperations','getChild','text','getRange','clone','toView','_createGetContentUsingDataIdFn','$graveyard','getDiff','click','batch','parentElement','reviewmode-','hasClass','remove-only','model','history','ck-ai_review-mode-marker_context-start','htmlWriter','[data-id=\x22','_translateOperationToEditorContent','closest','1783ZDQpHB','_setAttribute','_shiftOperation','applyOperation','ck-ai_review-mode-marker_underline','ck-ai_review-mode-marker_context-','getChildren','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','afterInit','suggestion:deletion:id:authorId:','forEach','createPositionAfter','hasContentAfter','operationsA','ck-ai_review-mode-marker_hide','getPath','every','isDocumentOperation','target','childCount','querySelector','getChangedMarkers','AIReviewModeEditing','ck-ai_review-mode-marker_','getMarkerElementForChange','createRawElement','stringify','parent','path','warn','editing','changeMarkerClick','toDomElement','15UfbGOu','isTouching','markers','differ','775374lpeDai','processor','_domEmitter','createText','start','createRange','ellipsisBefore','17113740fclMTv','getDomRoot','affectsData','_parseMarkerName','element','index','_getOperationStart','end','fire','keys','1080369xKQzpa','parse','change','jumpTo','viewToDom','className','isOpening','values','position','flat','pop','span','schema','createDocumentFragment','from','isInline','marker','changeMarkerRestored','isAtStart','disableReadOnlyMode','document','mouseover','emitter','$documentFragment','getRoot','offset','_nextDataId','_handleMarkerChanges','relatedTarget','ellipsisAfter','markerName','_changeRange','_changePositionOwnerDocument','getRoots','_getMarkersDataForGroup','remove','_createGetContentFn','2290162cnZiiY','getShiftedBy','containsRange','attributeToAttribute','set','ck-ai_review-mode-marker_add','_removeChildren','_haveOnlyInlineContent','pluginName','isAtEnd','has','toData','enableReadOnlyMode','sort','No\x20element\x20found\x20for\x20ID:\x20','clearAllMarkers','downcast','hasAttribute','insertContent','forward','baseVersion','_insertMarkers'];_0x4f94=function(){return _0x409c45;};return _0x4f94();}import{ContextPlugin as _0x5bc5a3}from'ckeditor5/src/core.js';function _0xa998(_0x2e4442,_0x3b9412){const _0x4f944d=_0x4f94();return _0xa998=function(_0xa9981b,_0x2e8e35){_0xa9981b=_0xa9981b-0x11a;let _0x43f65b=_0x4f944d[_0xa9981b];return _0x43f65b;},_0xa998(_0x2e4442,_0x3b9412);}import{DocumentCompare as _0x4fff19,DATA_ID_MODEL_ATTRIBUTE as _0x5c60be,DATA_ID_VIEW_ATTRIBUTE as _0x463e17}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x1174f5}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xda4f00}from'../aicore/aiediting.js';import{debounce as _0x394363}from'es-toolkit/compat';const le=_0x48c209(0x1fb);export class AIReviewModeEditing extends _0x5bc5a3{static get[_0x48c209(0x171)](){const _0x543cc6=_0x48c209;return _0x543cc6(0x124);}static get[_0x48c209(0x1b9)](){return[_0x4fff19,_0xda4f00];}static get[_0x48c209(0x1a6)](){return!0x0;}static get[_0x48c209(0x1a4)](){return!0x0;}[_0x48c209(0x181)]=new Map();[_0x48c209(0x135)];[_0x48c209(0x1a0)];constructor(_0x2333c5){const _0x5cb2cc=_0x48c209;super(_0x2333c5),this[_0x5cb2cc(0x135)]=new(_0x2bfa9e())(),this[_0x5cb2cc(0x1a0)]=new(_0x230d70())();}get[_0x48c209(0x15a)](){const _0x80a1e6=_0x48c209;return this[_0x80a1e6(0x1a0)];}[_0x48c209(0x20d)](){const _0xaad985=_0x48c209,_0x5d92d0=_0x1174f5(this[_0xaad985(0x196)]);_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x1e3)]({'model':le+_0xaad985(0x1ed),'view':(_0x3f456f,{writer:_0xc9f915})=>{const _0x30905=_0xaad985,_0x4991b5=this[_0x30905(0x181)][_0x30905(0x1c0)](_0x3f456f[_0x30905(0x162)]),_0x4e2623={'class':_0x30905(0x16e),'data-marker-id':_0x3f456f[_0x30905(0x162)]};return _0xc9f915[_0x30905(0x1df)](_0x30905(0x14f),_0x4e2623,function(_0xa647b){const _0x3b761c=_0x30905,_0x441f8d=this[_0x3b761c(0x12e)](_0xa647b);return _0x441f8d[_0x3b761c(0x1ec)]=_0x4991b5?.[_0x3b761c(0x1f1)]||'',_0x441f8d;});}}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x19c)]({'model':le+_0xaad985(0x1fd),'view':_0x1ace28=>({'classes':_0xaad985(0x1be),'attributes':{'data-marker-id':_0x1ace28[_0xaad985(0x162)]}})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x19c)]({'model':le+_0xaad985(0x1ae),'view':_0x50cc87=>({'classes':_0xaad985(0x209),'attributes':{'data-marker-id':_0x50cc87[_0xaad985(0x162)]}})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x19c)]({'model':le+_0xaad985(0x1d5),'view':_0x44ef8e=>({'classes':_0xaad985(0x11c),'attributes':{'data-marker-id':_0x44ef8e[_0xaad985(0x162)]}})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1ca))[_0xaad985(0x1e3)]({'model':le+_0xaad985(0x187),'view':(_0x1f6909,{writer:_0x2597df})=>_0x2597df[_0xaad985(0x127)](_0xaad985(0x14f),{'class':_0xaad985(0x20a)+(_0x1f6909[_0xaad985(0x14a)]?_0xaad985(0x137):_0xaad985(0x141))})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x179))[_0xaad985(0x16c)]({'model':_0x5c60be,'view':_0x463e17}),this[_0xaad985(0x135)][_0xaad985(0x1a5)](document,_0xaad985(0x1f8),(_0x575c62,_0x3a7a90)=>{const _0x585cad=_0xaad985,_0x1e28a5=_0x3a7a90[_0x585cad(0x120)],_0x5515d7=this[_0x585cad(0x18c)](_0x1e28a5);if(!_0x5515d7)return;const _0x919803=_0x5515d7[_0x585cad(0x193)](_0x585cad(0x1a7)),_0x11fb80=_0x919803[_0x585cad(0x1de)](':')[_0x585cad(0x14e)]()?.[_0x585cad(0x1de)]('_')[0x0];this[_0x585cad(0x1a0)][_0x585cad(0x142)](_0x585cad(0x12d),{'markerId':_0x919803,'changeId':_0x11fb80,'markerElement':_0x5515d7,'domEvent':_0x3a7a90});}),this[_0xaad985(0x135)][_0xaad985(0x1a5)](document,_0xaad985(0x159),(_0x17ecd0,_0xbf9ffa)=>{const _0x567f62=_0xaad985,_0x2f99ef=_0xbf9ffa[_0x567f62(0x120)],_0x135fdf=_0xbf9ffa[_0x567f62(0x160)];let _0x4443b4=this[_0x567f62(0x18c)](_0x2f99ef);if(!_0x4443b4&&_0x135fdf&&(_0x4443b4=this[_0x567f62(0x18c)](_0x135fdf)),!_0x4443b4)return;const _0x8c6dac=_0x4443b4[_0x567f62(0x193)](_0x567f62(0x1a7)),_0x167e91=_0x8c6dac[_0x567f62(0x1de)](':')[_0x567f62(0x14e)]()?.[_0x567f62(0x1de)]('_')[0x0];this[_0x567f62(0x1a0)][_0x567f62(0x142)](_0x567f62(0x19b),{'changeId':_0x167e91,'markerElement':_0x4443b4,'domEvent':_0xbf9ffa});}),this[_0xaad985(0x135)][_0xaad985(0x1a5)](document,_0xaad985(0x159),_0x394363((_0xabb3eb,_0x5772b7)=>{const _0x1e8801=_0xaad985,_0xe83202=_0x5772b7[_0x1e8801(0x120)];if(this[_0x1e8801(0x18c)](_0xe83202))return;_0xe83202[_0x1e8801(0x204)](_0x1e8801(0x20c))||this[_0x1e8801(0x1a0)][_0x1e8801(0x142)](_0x1e8801(0x189));},0xc8)),_0x5d92d0[_0xaad985(0x1fe)][_0xaad985(0x158)][_0xaad985(0x1af)](_0x2772e5=>this[_0xaad985(0x1bb)](_0x5d92d0,_0x2772e5)),_0x5d92d0[_0xaad985(0x1fe)][_0xaad985(0x158)]['on'](_0xaad985(0x146),()=>this[_0xaad985(0x15f)](_0x5d92d0));}[_0x48c209(0x1a9)](){const _0x3662ad=_0x48c209,_0x5b6dea=this[_0x3662ad(0x196)][_0x3662ad(0x1ea)][_0x3662ad(0x1c0)](_0x3662ad(0x1c4)),_0x2bc4a3=_0x1174f5(this[_0x3662ad(0x196)]),_0x2bfc9e=_0x2bc4a3[_0x3662ad(0x1fe)],_0x56c29a=new _0x37daec();for(const _0x2ac798 of _0x2bfc9e[_0x3662ad(0x158)][_0x3662ad(0x15c)]()[_0x3662ad(0x20b)]()){const _0x41ee07=_0x2ac798[_0x3662ad(0x1cc)](!0x0);_0x56c29a[_0x3662ad(0x1bf)](_0x41ee07);}for(const _0x1914da of _0x2bfc9e[_0x3662ad(0x131)])_0x56c29a[_0x3662ad(0x131)][_0x3662ad(0x16d)](_0x1914da[_0x3662ad(0x1c2)],this[_0x3662ad(0x1dd)](_0x1914da[_0x3662ad(0x1f2)]()[_0x3662ad(0x1f3)](),_0x56c29a));const _0x204d65=new _0xf562c2({'ignoreElementEnd':!0x0,'startPosition':_0x2bfc9e[_0x3662ad(0x1e7)](_0x56c29a,0x0)}),_0x355214=new Set(),_0x10e7b=new Map();for(const {item:_0x4fa945}of _0x204d65){if(!_0x4fa945['is'](_0x3662ad(0x1a8)))continue;const _0x57cc6c=_0x4fa945[_0x3662ad(0x129)];if(_0x57cc6c&&_0x57cc6c['is'](_0x3662ad(0x13e))){const _0x29d592=this[_0x3662ad(0x18a)](_0x57cc6c,()=>_0x5b6dea[_0x3662ad(0x15e)](_0x355214));_0x355214[_0x3662ad(0x1a2)](_0x29d592);for(const _0x2f70f2 of _0x57cc6c[_0x3662ad(0x20b)]())_0x2f70f2['is'](_0x3662ad(0x13e))&&_0x355214[_0x3662ad(0x1a2)](this[_0x3662ad(0x18a)](_0x2f70f2,()=>_0x5b6dea[_0x3662ad(0x15e)](_0x355214)));let _0x271a5d=_0x57cc6c;for(;_0x271a5d[_0x3662ad(0x129)]&&!_0x271a5d[_0x3662ad(0x129)]['is'](_0x3662ad(0x1e2));)_0x271a5d=_0x271a5d[_0x3662ad(0x129)],_0x271a5d[_0x3662ad(0x17a)](_0x5c60be)&&_0x271a5d[_0x3662ad(0x18f)](_0x5c60be);_0x10e7b[_0x3662ad(0x16d)](_0x29d592,{'path':_0x57cc6c[_0x3662ad(0x11d)](),'getContent':this[_0x3662ad(0x1f5)](_0x271a5d[_0x3662ad(0x1cc)](!0x0),_0x29d592,_0x2bc4a3[_0x3662ad(0x199)])}),_0x204d65[_0x3662ad(0x147)](_0x2bfc9e[_0x3662ad(0x210)](_0x57cc6c));}}return{'content':_0x2bc4a3[_0x3662ad(0x199)][_0x3662ad(0x134)][_0x3662ad(0x174)](_0x2bc4a3[_0x3662ad(0x199)][_0x3662ad(0x1f4)](_0x56c29a)),'version':_0x2bc4a3[_0x3662ad(0x1fe)][_0x3662ad(0x158)][_0x3662ad(0x188)],'elements':_0x10e7b};}[_0x48c209(0x184)](_0x34f104,_0x588245){const _0x397db3=_0x48c209,_0x3c0e8f=[],_0x7ec7aa=_0x1174f5(this[_0x397db3(0x196)]),_0x563353=_0x7ec7aa[_0x397db3(0x199)][_0x397db3(0x145)](_0x588245,_0x397db3(0x15b)),_0x1a42c6=_0x7ec7aa[_0x397db3(0x199)][_0x397db3(0x145)](_0x34f104,_0x397db3(0x15b)),_0xd3e307=_0x7ec7aa[_0x397db3(0x1fe)][_0x397db3(0x1e7)](_0x1a42c6,0x0);if(this[_0x397db3(0x18b)](_0x563353)){if(!this[_0x397db3(0x1b1)](_0x1a42c6,_0x563353))return _0x3c0e8f;}else{const _0x5a8309=_0x7ec7aa[_0x397db3(0x1fe)][_0x397db3(0x150)];if(!this[_0x397db3(0x170)](_0x1a42c6,_0x5a8309)||!this[_0x397db3(0x170)](_0x563353,_0x5a8309))return _0x3c0e8f;}const _0x1fe076=this[_0x397db3(0x196)][_0x397db3(0x1ea)][_0x397db3(0x1c0)](_0x397db3(0x1d8))[_0x397db3(0x1f7)](_0x34f104,_0x588245,{'anchor':_0xd3e307,'markDeletions':!0x0})[_0x397db3(0x1ef)]()[_0x397db3(0x1e0)](_0xfb2937=>_0x397db3(0x1ed)===_0xfb2937[_0x397db3(0x1e5)]||_0x397db3(0x154)===_0xfb2937[_0x397db3(0x1e5)]&&_0xfb2937[_0x397db3(0x1c2)][_0x397db3(0x1b3)](_0x397db3(0x1cd))),_0x2946c9=this[_0x397db3(0x1ab)](_0x1fe076);let _0x3a2943=0x0;return _0x7ec7aa[_0x397db3(0x1fe)][_0x397db3(0x146)](_0x467163=>{const _0x2f91e3=_0x397db3;for(let _0x171943=0x0;_0x171943<_0x2946c9[_0x2f91e3(0x1c5)];_0x171943++){const _0x3c6213=_0x2946c9[_0x171943],_0x2486f6=_0x467163[_0x2f91e3(0x151)]();for(const _0x1323e6 of _0x1a42c6[_0x2f91e3(0x20b)]())_0x467163[_0x2f91e3(0x1c7)](_0x1323e6[_0x2f91e3(0x1cc)](!0x0),_0x2486f6);for(const _0x2d57a7 of _0x3c6213[_0x2f91e3(0x186)])if(_0x2f91e3(0x1ed)===_0x2d57a7[_0x2f91e3(0x1e5)]){const _0x36a4f5=_0x2d57a7;_0x36a4f5[_0x2f91e3(0x17d)]=null,_0x36a4f5[_0x2f91e3(0x11f)]=!0x1,this[_0x2f91e3(0x183)](_0x36a4f5,_0x2486f6),_0x467163[_0x2f91e3(0x1f9)][_0x2f91e3(0x1c8)](_0x2d57a7),_0x7ec7aa[_0x2f91e3(0x1fe)][_0x2f91e3(0x208)](_0x2d57a7);const _0x2bd962=_0x2f91e3(0x1d3)+_0x3a2943++,_0x343861=_0x7ec7aa[_0x2f91e3(0x1fe)][_0x2f91e3(0x138)](_0x36a4f5[_0x2f91e3(0x14c)],_0x36a4f5[_0x2f91e3(0x14c)][_0x2f91e3(0x16a)](_0x36a4f5[_0x2f91e3(0x1d0)]));_0x2486f6[_0x2f91e3(0x131)][_0x2f91e3(0x16d)](_0x2bd962,_0x343861);}else{if(_0x2f91e3(0x154)===_0x2d57a7[_0x2f91e3(0x1e5)]&&_0x2d57a7[_0x2f91e3(0x1c2)][_0x2f91e3(0x1b3)](_0x2f91e3(0x1cd))){const _0x297671=_0x2d57a7,_0x30ae65=_0x2f91e3(0x20e)+_0x3a2943++;this[_0x2f91e3(0x183)](_0x297671,_0x2486f6),_0x2486f6[_0x2f91e3(0x131)][_0x2f91e3(0x16d)](_0x30ae65,_0x297671[_0x2f91e3(0x19a)]);}}const _0x123105=this[_0x2f91e3(0x198)](this[_0x2f91e3(0x164)](this[_0x2f91e3(0x140)](_0x3c6213[_0x2f91e3(0x186)][0x0]),_0x2486f6),this[_0x2f91e3(0x164)](this[_0x2f91e3(0x1c6)](_0x3c6213[_0x2f91e3(0x186)][_0x3c6213[_0x2f91e3(0x186)][_0x2f91e3(0x1c5)]-0x1]),_0x2486f6));_0x2486f6[_0x2f91e3(0x131)][_0x2f91e3(0x16d)](le+_0x2f91e3(0x187),new _0x4d6049(_0x123105[_0x2f91e3(0x137)],_0x123105[_0x2f91e3(0x141)])),_0x3c0e8f[_0x2f91e3(0x197)]({..._0x3c6213,'context':this[_0x2f91e3(0x191)](_0x2486f6,_0x7ec7aa[_0x2f91e3(0x199)],{'ellipsisBefore':_0x123105[_0x2f91e3(0x1c1)],'ellipsisAfter':_0x123105[_0x2f91e3(0x11a)]}),'content':this[_0x2f91e3(0x168)](_0x2486f6,_0x7ec7aa[_0x2f91e3(0x199)])});}}),_0x3c0e8f;}[_0x48c209(0x1b2)](_0x54f181,_0x11a8ec){const _0x266a89=_0x48c209;if(!_0x54f181[_0x266a89(0x1c5)])return;const _0x52839b=_0x54f181[0x0][_0x266a89(0x129)]['id'],_0x37e874=_0x11a8ec[_0x266a89(0x1eb)][_0x266a89(0x1c0)](_0x52839b);if(!_0x37e874)return void console[_0x266a89(0x12b)](_0x266a89(0x177)+_0x52839b);const _0x4cd5ba=_0x37e874[_0x266a89(0x12a)],_0x4d5808=_0x1174f5(this[_0x266a89(0x196)]),_0x10bde6=_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x158)][_0x266a89(0x1ff)][_0x266a89(0x1ef)](_0x11a8ec[_0x266a89(0x188)]),_0x3963d6=[];for(const _0x21e496 of _0x54f181){const _0x50becf=_0x21e496[_0x266a89(0x186)][_0x266a89(0x1e6)](_0x43852c=>this[_0x266a89(0x203)](_0x43852c,_0x4cd5ba,_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x158)][_0x266a89(0x165)]()[0x0]));if(!_0x50becf||!_0x50becf[_0x266a89(0x1c5)])continue;const _0x1d64b6=_0x50becf[_0x266a89(0x11e)](_0x396157=>_0x266a89(0x154)===_0x396157[_0x266a89(0x1e5)]&&_0x396157[_0x266a89(0x1c2)][_0x266a89(0x1b3)](_0x266a89(0x1cd))),_0x3afcd1={'document':_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x158)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2e7c1e=_0x5e8d9f(_0x50becf,_0x10bde6,_0x3afcd1)[_0x266a89(0x11b)];for(const _0x101bcb of _0x2e7c1e)if(_0x266a89(0x1ed)===_0x101bcb[_0x266a89(0x1e5)]){const _0x3298f5=_0x101bcb,_0x49f479=_0x3298f5[_0x266a89(0x195)];let _0xea7202='';for(const _0x47e422 of _0x49f479)_0x47e422&&_0x47e422['is'](_0x266a89(0x1b7))&&(_0xea7202+=_0x47e422[_0x266a89(0x199)]);_0x3963d6[_0x266a89(0x197)]({'start':_0x3298f5[_0x266a89(0x14c)],'end':_0x3298f5[_0x266a89(0x14c)],'type':_0x266a89(0x1ed),'groupId':_0x21e496['id'],'text':_0xea7202});}else{if(_0x266a89(0x154)===_0x101bcb[_0x266a89(0x1e5)]&&_0x101bcb[_0x266a89(0x1c2)][_0x266a89(0x1b3)](_0x266a89(0x1cd))){const _0x2f2bcc=_0x101bcb;let _0x7da956=_0x266a89(0x1d5);if(_0x1d64b6){const _0x4df298=this[_0x266a89(0x1d6)](_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x137)],_0x266a89(0x19e),_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x150)]),_0x2b61bd=this[_0x266a89(0x1d6)](_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x141)],_0x266a89(0x17c),_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x150)]);if(_0x4df298||_0x2b61bd){const _0x2175f2=_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x137)][_0x266a89(0x16a)](-_0x4df298),_0x33db8c=_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x141)][_0x266a89(0x16a)](_0x2b61bd);_0x3963d6[_0x266a89(0x197)]({'start':_0x2175f2,'end':_0x33db8c,'groupId':_0x21e496['id'],'type':_0x266a89(0x1ae)});}else _0x7da956=_0x266a89(0x1fd);}_0x3963d6[_0x266a89(0x197)]({'start':_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x137)],'end':_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x141)],'groupId':_0x21e496['id'],'type':_0x7da956});}}}this[_0x266a89(0x17e)](_0x3963d6);}[_0x48c209(0x178)](){const _0x198f73=_0x48c209,_0xfab557=_0x1174f5(this[_0x198f73(0x196)]);_0xfab557[_0x198f73(0x1fe)][_0x198f73(0x146)](_0x37a954=>{const _0x277103=_0x198f73;for(const _0x1ebdae of this[_0x277103(0x181)][_0x277103(0x143)]())_0xfab557[_0x277103(0x1fe)][_0x277103(0x131)][_0x277103(0x1c0)](_0x1ebdae)&&_0x37a954[_0x277103(0x19f)](_0x1ebdae);}),this[_0x198f73(0x181)][_0x198f73(0x1c3)]();}[_0x48c209(0x1e1)](){const _0x190667=_0x48c209;_0x1174f5(this[_0x190667(0x196)])[_0x190667(0x175)](_0x190667(0x18e));}[_0x48c209(0x1b4)](){const _0x59b7db=_0x48c209;_0x1174f5(this[_0x59b7db(0x196)])[_0x59b7db(0x157)](_0x59b7db(0x18e));}[_0x48c209(0x1d9)](_0x3c3136){const _0x28f4ff=_0x48c209,_0x1d320b=_0x1174f5(this[_0x28f4ff(0x196)]),_0x181e1e=_0x1d320b[_0x28f4ff(0x1fe)],_0x19f7bc=_0x3c3136[_0x28f4ff(0x1e6)](_0x8c81de=>this[_0x28f4ff(0x166)](_0x8c81de))[_0x28f4ff(0x14d)]();_0x181e1e[_0x28f4ff(0x146)](_0x10ea3b=>{const _0x409237=_0x28f4ff;for(const _0x315b81 of _0x19f7bc){const _0x248fdd=_0x1d320b[_0x409237(0x1fe)][_0x409237(0x131)][_0x409237(0x1c0)](_0x315b81['id']);_0x248fdd&&(_0x409237(0x1ed)===_0x315b81[_0x409237(0x1e5)]?_0x181e1e[_0x409237(0x17b)](_0x10ea3b[_0x409237(0x136)](_0x315b81[_0x409237(0x1f1)]||''),_0x248fdd[_0x409237(0x1f2)]()[_0x409237(0x137)]):_0x409237(0x1d5)!==_0x315b81[_0x409237(0x1e5)]&&_0x409237(0x1fd)!==_0x315b81[_0x409237(0x1e5)]||_0x181e1e[_0x409237(0x194)](_0x181e1e[_0x409237(0x1cb)](_0x248fdd[_0x409237(0x1f2)]())),_0x10ea3b[_0x409237(0x19f)](_0x315b81['id']),this[_0x409237(0x181)][_0x409237(0x1ac)](_0x315b81['id']));}});}[_0x48c209(0x1ad)](_0x33a841){const _0x5c5ce6=_0x48c209,_0x36e849=_0x1174f5(this[_0x5c5ce6(0x196)]),_0x278cb4=this[_0x5c5ce6(0x166)](_0x33a841);_0x36e849[_0x5c5ce6(0x1fe)][_0x5c5ce6(0x146)](_0x187f3e=>{const _0x515338=_0x5c5ce6;for(const _0x57bc8d of _0x278cb4)_0x187f3e[_0x515338(0x19f)](_0x57bc8d['id']),this[_0x515338(0x181)][_0x515338(0x1ac)](_0x57bc8d['id']);});}[_0x48c209(0x1d7)](){const _0x5c2239=_0x48c209;return _0x1174f5(this[_0x5c2239(0x196)]);}[_0x48c209(0x126)](_0x535a35){const _0x9d779c=_0x48c209,_0x5ac5cf=Array[_0x9d779c(0x152)](this[_0x9d779c(0x181)][_0x9d779c(0x14b)]())[_0x9d779c(0x1e0)](_0x3d8e17=>_0x3d8e17[_0x9d779c(0x1ce)]===_0x535a35);if(!_0x5ac5cf[_0x9d779c(0x1c5)])return null;const _0x4eb0cd=0x1===_0x5ac5cf[_0x9d779c(0x1c5)]?_0x5ac5cf[0x0]:this[_0x9d779c(0x1aa)](_0x5ac5cf)[0x0],_0x7359b3=_0x1174f5(this[_0x9d779c(0x196)]),_0x1068b2=_0x7359b3[_0x9d779c(0x1fe)][_0x9d779c(0x131)][_0x9d779c(0x1c0)](_0x4eb0cd['id']);if(!_0x1068b2)return null;const _0x49ddd3=_0x1068b2[_0x9d779c(0x1f2)](),_0x103dbb=_0x7359b3[_0x9d779c(0x12c)][_0x9d779c(0x1cf)][_0x9d779c(0x13b)]();if(!_0x103dbb||!_0x49ddd3)return null;const _0x5ba943=_0x103dbb[_0x9d779c(0x122)](_0x9d779c(0x1d2)+_0x4eb0cd['id']+'\x22]');return _0x5ba943?{'modelRange':_0x49ddd3,'domElement':_0x5ba943}:null;}[_0x48c209(0x1bb)](_0x133c31,_0x3f6e2d){const _0x304710=_0x48c209,_0xefced8=Array[_0x304710(0x152)](this[_0x304710(0x181)][_0x304710(0x143)]()),_0x46e6fd=new Map();for(const _0x42f5f2 of _0xefced8){const _0x34086e=_0x133c31[_0x304710(0x1fe)][_0x304710(0x131)][_0x304710(0x1c0)](_0x42f5f2);if(!_0x34086e)continue;const _0x173e97=_0x34086e[_0x304710(0x1b8)]()[_0x304710(0x12a)][0x0];_0x46e6fd[_0x304710(0x173)](_0x173e97)||_0x46e6fd[_0x304710(0x16d)](_0x173e97,[]),_0x46e6fd[_0x304710(0x1c0)](_0x173e97)[_0x304710(0x197)](_0x34086e);}const _0x591daa=new Set();for(const _0x482e5a of _0x133c31[_0x304710(0x1fe)][_0x304710(0x158)][_0x304710(0x132)][_0x304710(0x1d4)]()){let _0x5cf8c8=-0x1,_0x4d1ca1=null;if(_0x304710(0x1ed)===_0x482e5a[_0x304710(0x1e5)])_0x4d1ca1=new _0x4d6049(_0x482e5a[_0x304710(0x14c)],_0x482e5a[_0x304710(0x14c)][_0x304710(0x16a)](_0x482e5a[_0x304710(0x1c5)])),_0x5cf8c8=_0x482e5a[_0x304710(0x14c)][_0x304710(0x12a)][0x0];else{if(_0x304710(0x167)!==_0x482e5a[_0x304710(0x1e5)])continue;_0x4d1ca1=new _0x4d6049(_0x482e5a[_0x304710(0x14c)]),_0x5cf8c8=_0x482e5a[_0x304710(0x14c)][_0x304710(0x12a)][0x0];}const _0x4950ae=_0x46e6fd[_0x304710(0x1c0)](_0x5cf8c8)||[];if(_0x4950ae[_0x304710(0x1c5)]){for(const _0x429004 of _0x4950ae)if(_0x4d1ca1[_0x304710(0x185)][_0x304710(0x180)]===_0x429004[_0x304710(0x1f2)]()[_0x304710(0x185)][_0x304710(0x180)]&&(_0x304710(0x1ed)!==_0x482e5a[_0x304710(0x1e5)]||!_0x4d1ca1[_0x304710(0x16b)](_0x429004[_0x304710(0x1f2)]()))&&(_0x4d1ca1[_0x304710(0x1bc)](_0x429004[_0x304710(0x1f2)]())||_0x4d1ca1[_0x304710(0x137)][_0x304710(0x130)](_0x429004[_0x304710(0x1f2)]()[_0x304710(0x141)])||_0x4d1ca1[_0x304710(0x141)][_0x304710(0x130)](_0x429004[_0x304710(0x1f2)]()[_0x304710(0x137)]))){const _0x2d8ed7=this[_0x304710(0x13d)](_0x429004[_0x304710(0x1c2)]);Array[_0x304710(0x152)](this[_0x304710(0x181)][_0x304710(0x14b)]())[_0x304710(0x1e0)](_0x457e6=>_0x457e6[_0x304710(0x1ce)]===_0x2d8ed7[_0x304710(0x1ce)])[_0x304710(0x20f)](_0x31f8f1=>_0x591daa[_0x304710(0x1a2)](_0x31f8f1['id']));}}}if(_0x591daa[_0x304710(0x1ba)]){for(const _0x12210c of _0x591daa)_0x3f6e2d[_0x304710(0x19f)](_0x12210c);return!0x0;}return!0x1;}[_0x48c209(0x15f)](_0x175d57){const _0x285490=_0x48c209;for(const {name:_0x3acc11,data:_0xe70883}of _0x175d57[_0x285490(0x1fe)][_0x285490(0x158)][_0x285490(0x132)][_0x285490(0x123)]()){if(!_0x3acc11[_0x285490(0x1b3)](le))continue;const _0x12d0bc=_0xe70883[_0x285490(0x182)],_0x1919f1=_0xe70883[_0x285490(0x19a)],_0x6b1feb=_0x12d0bc&&_0x285490(0x1f6)===_0x12d0bc[_0x285490(0x185)][_0x285490(0x180)],_0x4d518b=_0x1919f1&&_0x285490(0x1f6)===_0x1919f1[_0x285490(0x185)][_0x285490(0x180)];if(_0x6b1feb&&_0x4d518b)continue;const _0x33d375=this[_0x285490(0x13d)](_0x3acc11);this[_0x285490(0x181)][_0x285490(0x1c0)](_0x3acc11)&&(_0x4d518b||!_0x1919f1?this[_0x285490(0x1a0)][_0x285490(0x142)](_0x285490(0x17f),{'markerId':_0x3acc11,'changeId':_0x33d375[_0x285490(0x1ce)]}):_0x6b1feb&&_0x1919f1&&this[_0x285490(0x1a0)][_0x285490(0x142)](_0x285490(0x155),{'markerId':_0x3acc11,'changeId':_0x33d375[_0x285490(0x1ce)]}));}}[_0x48c209(0x13d)](_0x55f438){const _0x522b64=_0x48c209,_0x40fa8c=_0x55f438[_0x522b64(0x1de)](':'),_0x431013=(_0x40fa8c[0x1]||'')[_0x522b64(0x1de)]('_');return{'prefix':_0x40fa8c[0x0],'groupId':_0x431013[0x0],'suffix':_0x431013[0x1]};}[_0x48c209(0x203)](_0x2b3bb8,_0x5e6e0b,_0x1ca0ae){const _0x5e5f35=_0x48c209;if(_0x5e5f35(0x1ed)===_0x2b3bb8[_0x5e5f35(0x1e5)]){const _0x39a27b=_0x2b3bb8;return new _0x22c58b(this[_0x5e5f35(0x1da)](_0x5e6e0b[_0x5e5f35(0x1e8)](_0x39a27b[_0x5e5f35(0x14c)][_0x5e5f35(0x15d)]),_0x1ca0ae),_0x39a27b[_0x5e5f35(0x195)],_0x39a27b[_0x5e5f35(0x17d)]);}if(_0x5e5f35(0x154)===_0x2b3bb8[_0x5e5f35(0x1e5)]&&_0x2b3bb8[_0x5e5f35(0x1c2)][_0x5e5f35(0x1b3)](_0x5e5f35(0x1cd))){const _0x43697b=_0x2b3bb8;return new _0x2815f4(_0x43697b[_0x5e5f35(0x1c2)],_0x43697b[_0x5e5f35(0x182)],this[_0x5e5f35(0x163)](_0x43697b[_0x5e5f35(0x19a)],_0x5e6e0b[_0x5e5f35(0x1e8)](_0x43697b[_0x5e5f35(0x19a)][_0x5e5f35(0x137)][_0x5e5f35(0x15d)]),_0x5e6e0b[_0x5e5f35(0x1e8)](_0x43697b[_0x5e5f35(0x19a)][_0x5e5f35(0x141)][_0x5e5f35(0x15d)]),_0x1ca0ae),_0x43697b[_0x5e5f35(0x181)],_0x43697b[_0x5e5f35(0x13c)],_0x43697b[_0x5e5f35(0x17d)]);}return _0x2b3bb8;}[_0x48c209(0x1ab)](_0x17e5f5){const _0x4b776c=_0x48c209;if(!_0x17e5f5[_0x4b776c(0x1c5)])return[];const _0x3b9bb1=[];let _0x358a96=0x0,_0x548fad=0x0,_0x38058=[];for(let _0x218f10=0x0;_0x218f10<=_0x17e5f5[_0x4b776c(0x1c5)];_0x218f10++){const _0x10c752=_0x17e5f5[_0x218f10],_0x2a0ef8=_0x17e5f5[_0x218f10-0x1];!_0x10c752||_0x2a0ef8&&!this[_0x4b776c(0x1c6)](_0x2a0ef8)[_0x4b776c(0x130)](this[_0x4b776c(0x140)](_0x10c752))?(_0x3b9bb1[_0x4b776c(0x197)]({'operations':_0x38058,'operationsIsolated':_0x38058[_0x4b776c(0x1e6)](_0x40c0f9=>this[_0x4b776c(0x207)](_0x40c0f9[_0x4b776c(0x1f3)](),-_0x548fad)),'groupOffset':_0x358a96}),_0x38058=_0x10c752?[_0x10c752]:[],_0x548fad+=_0x358a96,_0x358a96=0x0):_0x38058[_0x4b776c(0x197)](_0x10c752),_0x10c752&&_0x4b776c(0x1ed)===_0x10c752[_0x4b776c(0x1e5)]&&(_0x358a96+=_0x10c752[_0x4b776c(0x1d0)]);}return _0x3b9bb1;}[_0x48c209(0x1d6)](_0x168abf,_0x9d6af0,_0xeb74f5,_0x2c9280=0x1){const _0x36743b=_0x48c209,_0x4ba9a0=new _0xf562c2({'startPosition':_0x168abf,'direction':_0x9d6af0});let _0x30edf6=0x0;for(let _0x18e6ca=0x0;_0x18e6ca<_0x2c9280;_0x18e6ca++){let _0x29c38b=0x0,_0x4bae7d=!0x1,_0x374698=_0x36743b(0x17c)===_0x9d6af0?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x29ae87}of _0x4ba9a0)if(_0x29ae87['is'](_0x36743b(0x1a8))){const _0x3ef8ef=_0x374698[_0x36743b(0x18d)](_0x29ae87[_0x36743b(0x199)]);if(_0x3ef8ef&&_0x3ef8ef[_0x36743b(0x1c5)]){if(_0x29c38b+=_0x36743b(0x17c)===_0x9d6af0?_0x3ef8ef[_0x36743b(0x13f)]+_0x3ef8ef[0x0][_0x36743b(0x1c5)]:_0x29ae87[_0x36743b(0x199)][_0x36743b(0x1c5)]-_0x3ef8ef[_0x36743b(0x13f)],_0x3ef8ef[0x0][_0x36743b(0x1c5)]!==_0x29ae87[_0x36743b(0x199)][_0x36743b(0x1c5)])break;_0x4bae7d=!0x0,_0x374698=_0x36743b(0x17c)===_0x9d6af0?/^\w+/:/\w+$/;}else{if(_0x4bae7d)break;_0x29c38b+=_0x29ae87[_0x36743b(0x1b5)];}}else{if(_0x29ae87['is'](_0x36743b(0x13e))){_0xeb74f5[_0x36743b(0x153)](_0x29ae87)&&!_0x4bae7d&&(_0x29c38b+=0x1);break;}}_0x30edf6+=_0x29c38b,_0x4ba9a0[_0x36743b(0x147)](_0x168abf[_0x36743b(0x16a)](_0x36743b(0x17c)===_0x9d6af0?_0x30edf6:-_0x30edf6));}return _0x30edf6;}[_0x48c209(0x198)](_0x2bcc04,_0x136ebd){const _0x4958d4=_0x48c209,_0x3d1d5e=_0x1174f5(this[_0x4958d4(0x196)])[_0x4958d4(0x1fe)][_0x4958d4(0x150)],_0x22d6b5=this[_0x4958d4(0x1d6)](_0x2bcc04,_0x4958d4(0x19e),_0x3d1d5e,0x6),_0x3358e0=this[_0x4958d4(0x1d6)](_0x136ebd,_0x4958d4(0x17c),_0x3d1d5e,0x6),_0x45aeda=_0x2bcc04[_0x4958d4(0x16a)](-_0x22d6b5),_0x1a8a0d=_0x136ebd[_0x4958d4(0x16a)](_0x3358e0);return{'start':_0x45aeda,'end':_0x1a8a0d,'hasContentBefore':!_0x45aeda[_0x4958d4(0x156)],'hasContentAfter':!_0x1a8a0d[_0x4958d4(0x172)]};}[_0x48c209(0x17e)](_0x254c61){const _0x1a4d07=_0x48c209,_0x345cea=this[_0x1a4d07(0x196)][_0x1a4d07(0x1ea)][_0x1a4d07(0x1c0)](_0x1a4d07(0x1c4)),_0x2932da=new Set();_0x1174f5(this[_0x1a4d07(0x196)])[_0x1a4d07(0x1fe)][_0x1a4d07(0x146)](_0x1c5d27=>{const _0x444e1a=_0x1a4d07;for(const _0x290ba5 of _0x254c61){const _0x204f26=''+le+_0x290ba5[_0x444e1a(0x1e5)]+':'+_0x290ba5[_0x444e1a(0x1ce)]+'_'+_0x345cea[_0x444e1a(0x15e)](_0x2932da);this[_0x444e1a(0x181)][_0x444e1a(0x16d)](_0x204f26,{'id':_0x204f26,'groupId':_0x290ba5[_0x444e1a(0x1ce)],'type':_0x290ba5[_0x444e1a(0x1e5)],'text':_0x290ba5[_0x444e1a(0x1f1)]}),_0x1c5d27[_0x444e1a(0x1e9)](_0x204f26,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c5d27[_0x444e1a(0x138)](_0x290ba5[_0x444e1a(0x137)],_0x290ba5[_0x444e1a(0x141)])});}});}[_0x48c209(0x191)](_0xf33a34,_0x2fcf38,_0x3683da){let _0x6ff391='';return()=>{const _0x20b993=_0xa998;if(!_0x6ff391){const _0x462299=_0x2fcf38[_0x20b993(0x1f4)](_0xf33a34,{'showSuggestionHighlights':!0x0});let _0x44a387=_0x462299[_0x20b993(0x1f0)](0x0);if(_0x44a387['is'](_0x20b993(0x1b0))||(_0x44a387=_0x462299),!_0x44a387)return'';let _0x3cabc1=!0x1;const _0x3d457e=[];for(const _0x511ae4 of _0x44a387[_0x20b993(0x20b)]())_0x511ae4['is'](_0x20b993(0x13e),_0x20b993(0x14f))&&_0x511ae4[_0x20b993(0x1fc)](_0x20b993(0x1e4))&&(_0x3cabc1=!0x1),_0x3cabc1&&_0x3d457e[_0x20b993(0x197)](_0x511ae4),_0x511ae4['is'](_0x20b993(0x13e),_0x20b993(0x14f))&&_0x511ae4[_0x20b993(0x1fc)](_0x20b993(0x200))&&(_0x3cabc1=!0x0);_0x44a387[_0x20b993(0x16f)](0x0,_0x44a387[_0x20b993(0x121)]),_0x3683da?.[_0x20b993(0x139)]&&_0x44a387[_0x20b993(0x1bf)]('…'),_0x44a387[_0x20b993(0x1bf)](_0x3d457e),_0x3683da?.[_0x20b993(0x161)]&&_0x44a387[_0x20b993(0x1bf)]('…');const _0x592c55=_0x2fcf38[_0x20b993(0x1bd)][_0x20b993(0x190)][_0x20b993(0x148)](_0x462299),_0x3e7c34=_0x2fcf38[_0x20b993(0x1bd)][_0x20b993(0x201)][_0x20b993(0x1dc)](_0x592c55);_0x6ff391=_0x3e7c34;}return _0x6ff391;};}[_0x48c209(0x168)](_0x1b0fa5,_0x24d24f){const _0x215cf6=_0x48c209;let _0x42aed9='';return()=>(_0x42aed9||(_0x42aed9=_0x24d24f[_0x215cf6(0x128)](_0x1b0fa5,{'showSuggestionHighlights':!0x0})),_0x42aed9);}[_0x48c209(0x1f5)](_0x39dce5,_0x282a1b,_0x1390d0){let _0x5beba0='';return()=>{const _0x2c444b=_0xa998;if(!_0x5beba0){const _0x2d6bcb=_0x1390d0[_0x2c444b(0x1f4)](new _0x37daec(_0x39dce5)),_0x356d17=_0x1390d0[_0x2c444b(0x1bd)][_0x2c444b(0x190)][_0x2c444b(0x148)](_0x2d6bcb)[_0x2c444b(0x122)](_0x2c444b(0x202)+_0x282a1b+'\x22]');_0x5beba0=_0x356d17?.[_0x2c444b(0x1a3)]||'';}return _0x5beba0;};}[_0x48c209(0x18c)](_0x3e7753,_0x156dc1=0x5){const _0x5c7601=_0x48c209;let _0x2fa0fe=_0x3e7753,_0x17f580=null;for(let _0x1d770e=0x0;_0x1d770e<_0x156dc1&&_0x2fa0fe;_0x1d770e++){if(!_0x2fa0fe[_0x5c7601(0x149)]){_0x2fa0fe=_0x2fa0fe[_0x5c7601(0x1fa)];continue;}if(!(''+_0x2fa0fe[_0x5c7601(0x149)])[_0x5c7601(0x19d)](_0x5c7601(0x125))){_0x2fa0fe=_0x2fa0fe[_0x5c7601(0x1fa)];continue;}if(!_0x2fa0fe[_0x5c7601(0x193)](_0x5c7601(0x1a7)))break;_0x17f580=_0x2fa0fe;break;}return _0x17f580;}[_0x48c209(0x166)](_0x3d48b2){const _0x39e3a0=_0x48c209;return Array[_0x39e3a0(0x152)](this[_0x39e3a0(0x181)][_0x39e3a0(0x14b)]())[_0x39e3a0(0x1e0)](_0x25123f=>_0x25123f[_0x39e3a0(0x1ce)]===_0x3d48b2);}[_0x48c209(0x140)](_0x3244dd){const _0x289c4b=_0x48c209;return _0x289c4b(0x1ed)===_0x3244dd[_0x289c4b(0x1e5)]?_0x3244dd[_0x289c4b(0x14c)]:_0x3244dd[_0x289c4b(0x19a)][_0x289c4b(0x137)];}[_0x48c209(0x1c6)](_0xb74ba9,_0x3dd2b6=!0x1){const _0x557ef6=_0x48c209;return _0x557ef6(0x1ed)===_0xb74ba9[_0x557ef6(0x1e5)]?_0x3dd2b6?_0xb74ba9[_0x557ef6(0x14c)]:_0xb74ba9[_0x557ef6(0x14c)][_0x557ef6(0x16a)](_0xb74ba9[_0x557ef6(0x1d0)]):_0xb74ba9[_0x557ef6(0x19a)][_0x557ef6(0x141)];}[_0x48c209(0x207)](_0x5bab20,_0x3ac622){const _0xb70505=_0x48c209;return _0xb70505(0x1ed)===_0x5bab20[_0xb70505(0x1e5)]?_0x5bab20[_0xb70505(0x14c)]=_0x5bab20[_0xb70505(0x14c)][_0xb70505(0x16a)](_0x3ac622):_0xb70505(0x154)===_0x5bab20[_0xb70505(0x1e5)]&&_0x5bab20[_0xb70505(0x19a)]&&(_0x5bab20[_0xb70505(0x19a)]=new _0x4d6049(_0x5bab20[_0xb70505(0x19a)][_0xb70505(0x137)][_0xb70505(0x16a)](_0x3ac622),_0x5bab20[_0xb70505(0x19a)][_0xb70505(0x141)][_0xb70505(0x16a)](_0x3ac622))),_0x5bab20;}[_0x48c209(0x183)](_0x29df50,_0xa25ade){const _0x376624=_0x48c209;_0x376624(0x1ed)===_0x29df50[_0x376624(0x1e5)]?_0x29df50[_0x376624(0x14c)]=this[_0x376624(0x164)](_0x29df50[_0x376624(0x14c)],_0xa25ade):_0x376624(0x154)===_0x29df50[_0x376624(0x1e5)]&&_0x29df50[_0x376624(0x19a)]&&(_0x29df50[_0x376624(0x19a)]=this[_0x376624(0x1dd)](_0x29df50[_0x376624(0x19a)],_0xa25ade));}[_0x48c209(0x164)](_0x4b5f0f,_0x335269){const _0x3c0854=_0x48c209;return new _0x270ee2(_0x335269,_0x4b5f0f[_0x3c0854(0x12a)]);}[_0x48c209(0x1dd)](_0x2c4ebb,_0x16ec1c){const _0x1c7c79=_0x48c209;return new _0x4d6049(this[_0x1c7c79(0x164)](_0x2c4ebb[_0x1c7c79(0x137)],_0x16ec1c),this[_0x1c7c79(0x164)](_0x2c4ebb[_0x1c7c79(0x141)],_0x16ec1c));}[_0x48c209(0x1da)](_0x23e0bd,_0x13c559){return new _0x270ee2(_0x13c559,[..._0x23e0bd]);}[_0x48c209(0x163)](_0x3a9fff,_0x111368,_0x396077,_0x2665a4){const _0x503dfc=_0x48c209;return new _0x4d6049(this[_0x503dfc(0x1da)](_0x111368,_0x2665a4),this[_0x503dfc(0x1da)](_0x396077,_0x2665a4));}[_0x48c209(0x1aa)](_0x1c7af7){const _0x40492c=_0x48c209,_0x1926ee=_0x2b3b65=>{const _0x23404b=_0xa998;switch(_0x2b3b65){case _0x23404b(0x1ed):return 0x1;case _0x23404b(0x1ae):return 0x2;case _0x23404b(0x1fd):return 0x3;case _0x23404b(0x1d5):return 0x4;}};return _0x1c7af7[_0x40492c(0x176)]((_0x1ec891,_0xae4807)=>_0x1926ee(_0x1ec891[_0x40492c(0x1e5)])-_0x1926ee(_0xae4807[_0x40492c(0x1e5)]));}[_0x48c209(0x1b1)](_0x52300e,_0xe2ff2e){const _0x312f70=_0x48c209,_0x465a33=_0x52300e[_0x312f70(0x1f0)](0x0),_0x181f9b=_0xe2ff2e[_0x312f70(0x1f0)](0x0);return!(!_0x465a33||!_0x181f9b)&&((!_0x465a33['is'](_0x312f70(0x13e))||!_0x181f9b['is'](_0x312f70(0x13e))||_0x465a33[_0x312f70(0x1c2)]===_0x181f9b[_0x312f70(0x1c2)])&&!(_0x465a33['is'](_0x312f70(0x13e))&&!_0x181f9b['is'](_0x312f70(0x13e))||!_0x465a33['is'](_0x312f70(0x13e))&&_0x181f9b['is'](_0x312f70(0x13e))));}[_0x48c209(0x18b)](_0x5ee89b){const _0xf3ffe4=_0x48c209;return 0x1===_0x5ee89b[_0xf3ffe4(0x121)];}[_0x48c209(0x170)](_0x362ca2,_0x2b8e9c){const _0x4fa120=_0x48c209;for(const _0x5c0857 of _0x362ca2[_0x4fa120(0x20b)]())if(_0x5c0857['is'](_0x4fa120(0x13e))&&!_0x2b8e9c[_0x4fa120(0x153)](_0x5c0857))return!0x1;return!0x0;}[_0x48c209(0x18a)](_0x5087ce,_0x2a2368){const _0x2e8367=_0x48c209;let _0x3e10a7=_0x5087ce[_0x2e8367(0x193)](_0x5c60be);return _0x3e10a7||(_0x3e10a7=_0x2a2368(),_0x5087ce[_0x2e8367(0x206)](_0x5c60be,_0x3e10a7)),_0x3e10a7;}}
23
+ const _0x532ddb=_0x342a;function _0x342a(_0x3680dd,_0x1b0772){const _0x210bc5=_0x210b();return _0x342a=function(_0x342a05,_0x5b1ff6){_0x342a05=_0x342a05-0x1e8;let _0x5e89bb=_0x210bc5[_0x342a05];return _0x5e89bb;},_0x342a(_0x3680dd,_0x1b0772);}(function(_0x35fee0,_0x2e48dd){const _0x5d6a58=_0x342a,_0x58ceb8=_0x35fee0();while(!![]){try{const _0x4d7d80=-parseInt(_0x5d6a58(0x225))/0x1+-parseInt(_0x5d6a58(0x2a8))/0x2*(parseInt(_0x5d6a58(0x24b))/0x3)+-parseInt(_0x5d6a58(0x1f7))/0x4+-parseInt(_0x5d6a58(0x238))/0x5*(parseInt(_0x5d6a58(0x22a))/0x6)+-parseInt(_0x5d6a58(0x260))/0x7*(parseInt(_0x5d6a58(0x262))/0x8)+-parseInt(_0x5d6a58(0x234))/0x9+-parseInt(_0x5d6a58(0x258))/0xa*(-parseInt(_0x5d6a58(0x20d))/0xb);if(_0x4d7d80===_0x2e48dd)break;else _0x58ceb8['push'](_0x58ceb8['shift']());}catch(_0x6e1e8f){_0x58ceb8['push'](_0x58ceb8['shift']());}}}(_0x210b,0xdd850));import{InsertOperation as _0x38feeb,MarkerOperation as _0x1ae552,ModelDocumentFragment as _0x7ed6de,ModelPosition as _0x3ee7bd,ModelRange as _0xc7e99a,ModelTreeWalker as _0x223ab2,transformOperationSets as _0x5439ed}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x581901,EmitterMixin as _0x36e6cd}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x2f91fc}from'ckeditor5/src/core.js';import{DocumentCompare as _0x56390c,DATA_ID_MODEL_ATTRIBUTE as _0x33d9c0,DATA_ID_VIEW_ATTRIBUTE as _0x12af2e}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x592f0d}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x3c0821}from'../aicore/aiediting.js';import{debounce as _0x543c01}from'es-toolkit/compat';const pe=_0x532ddb(0x2c3);function _0x210b(){const _0x43c16b=['_appendChild','keys','baseVersion','exec','has','35147030ANLdxK','suggestion-context','position','elements','[data-marker-id=\x22','size','getMarkerElementForChange','className','11958667wetxEt','_changeRange','8JTgQJx','suggestion:insertion:id:authorId:','path','innerHTML','isAtEnd','filter','markers','offset','clone','_changeRangeOwnerDocument','_haveOnlyInlineContent','toDomElement','_removeChildren','_validateMarkers','insertContent','get','model','viewToDom','createUIElement','ck-ai_review-mode-marker_add','$markedRemove','isPremiumPlugin','remove-only','batch','length','stringify','_createGetContextFn','relatedTarget','fire','ellipsisAfter','getRoot','ck-ai_review-mode-marker_context-','isOpening','markChangePositionInEditorContent','addOperation','delete','_hasSameTopLevelElement','_getOperationEnd','DocumentCompare','getChildren','changeMarkerRemoved','changeMarkerClick','getPath','insert','view','for','emitter','toView','hasContentAfter','htmlWriter','operationsA','htmlProcessor','warn','operationsIsolated','includes','changeMarkerBlurred','remove','attributeToAttribute','index','ck-ai_review-mode-marker_context-start','ck-ai_review-mode-marker_strikethrough','markerName','_changePosition','ck-ai_review-mode-marker_context-end','jumpTo','_setAttribute','disableReadOnlyMode','isTouching','ai-review-mode','append','74iZxLur','switchToEdit','_clone','childCount','getRoots','afterInit','rootName','_upsertDataId','groupId','applyChange','getOperations','createRange','$documentFragment','end','addMarker','data','getDocumentData','from','containsRange','listenTo','suggestion:deletion:id:authorId:','_shiftOperation','isAtStart','document','containerElement','nodes','clear','reviewmode-','createSelection','getChanges','concat','isDocumentOperation','hasContentBefore','deleteContent','_parseMarkerName','name','editingDowncast','[data-id=\x22','getAttribute','querySelector','history','_getMarkersDataForGroup','markerToHighlight','text','markerToElement','pluginName','registerPostFixer','getDiff','closest','documentFragment','switchToReadOnly','getRange','getStart','hasClass','_getOperationStart','split','enableReadOnlyMode','_changeOperationOwnerDocument','applyOperation','AIReviewModeEditing','_insertMarkers','backward','No\x20element\x20found\x20for\x20ID:\x20','remove-text','howMany','getDomRoot','oldRange','getChild','clearAllMarkers','data-marker-id','schema','6686220OehBox','pop','parse','getChangedMarkers','affectsData','toData','_changePositionOwnerDocument','_domEmitter','forEach','parentElement','flat','domConverter','add','_haveSingleTopLevelElement','createDocumentFragment','hasAttribute','_findAdjacentContextDistance','outerHTML','createText','dataDowncast','values','ck-ai_review-mode-marker_hide','22zAqhuW','change','context','ellipsisBefore','_createGetContentUsingDataIdFn','_markers','getHtml','click','newRange','_removeAttribute','rejectChange','offsetSize','isInline','remove-context','ck-ai_review-mode-marker_','createPositionAfter','plugins','changeMarkerHovered','target','AIEditing','map','startsWith','set','$textProxy','769410FhaBLB','_getChangeContext','$graveyard','element','push','9486MxSsxl','editing','model:$text','version','type','marker','_groupAdjacentOperations','getShiftedBy','processor','requires','1103184fcmapK','span','differ','sort','2335wXFJbw','start','mouseover','createRawElement','ck-ai_review-mode-marker_underline','_nextDataId','_handleMarkerChanges','diffContent','conversion','forward','isIntersecting','_translateOperationToEditorContent','every','removeMarker','parent','downcast','_createGetContentFn','root','_findMarkerElement','90147zyIvWH','_sortMarkers','changeMarkerRestored','isOfficialPlugin','_eventEmitter','createPositionAt','getEditor','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion'];_0x210b=function(){return _0x43c16b;};return _0x210b();}export class AIReviewModeEditing extends _0x2f91fc{static get[_0x532ddb(0x2d5)](){const _0xe44136=_0x532ddb;return _0xe44136(0x1eb);}static get[_0x532ddb(0x233)](){return[_0x56390c,_0x3c0821];}static get[_0x532ddb(0x24e)](){return!0x0;}static get[_0x532ddb(0x277)](){return!0x0;}[_0x532ddb(0x212)]=new Map();[_0x532ddb(0x1fe)];[_0x532ddb(0x24f)];constructor(_0x57ebd6){const _0x3ff658=_0x532ddb;super(_0x57ebd6),this[_0x3ff658(0x1fe)]=new(_0x581901())(),this[_0x3ff658(0x24f)]=new(_0x36e6cd())();}get[_0x532ddb(0x290)](){const _0x3007e6=_0x532ddb;return this[_0x3007e6(0x24f)];}[_0x532ddb(0x2ad)](){const _0x2751e0=_0x532ddb,_0x1f94d1=_0x592f0d(this[_0x2751e0(0x20f)]);_0x1f94d1[_0x2751e0(0x240)][_0x2751e0(0x28f)](_0x2751e0(0x2cc))[_0x2751e0(0x2d4)]({'model':pe+_0x2751e0(0x28d),'view':(_0x456a15,{writer:_0x458100})=>{const _0x41ba0d=_0x2751e0,_0x1b21ba=this[_0x41ba0d(0x212)][_0x41ba0d(0x271)](_0x456a15[_0x41ba0d(0x29f)]),_0x339bb2={'class':_0x41ba0d(0x275),'data-marker-id':_0x456a15[_0x41ba0d(0x29f)]};return _0x458100[_0x41ba0d(0x274)](_0x41ba0d(0x235),_0x339bb2,function(_0x52978c){const _0x424b26=_0x41ba0d,_0x5d7886=this[_0x424b26(0x26d)](_0x52978c);return _0x5d7886[_0x424b26(0x265)]=_0x1b21ba?.[_0x424b26(0x2d3)]||'',_0x5d7886;});}}),_0x1f94d1[_0x2751e0(0x240)][_0x2751e0(0x28f)](_0x2751e0(0x2cc))[_0x2751e0(0x2d2)]({'model':pe+_0x2751e0(0x278),'view':_0x4c5358=>({'classes':_0x2751e0(0x29e),'attributes':{'data-marker-id':_0x4c5358[_0x2751e0(0x29f)]}})}),_0x1f94d1[_0x2751e0(0x240)][_0x2751e0(0x28f)](_0x2751e0(0x2cc))[_0x2751e0(0x2d2)]({'model':pe+_0x2751e0(0x21a),'view':_0x116f34=>({'classes':_0x2751e0(0x23c),'attributes':{'data-marker-id':_0x116f34[_0x2751e0(0x29f)]}})}),_0x1f94d1[_0x2751e0(0x240)][_0x2751e0(0x28f)](_0x2751e0(0x2cc))[_0x2751e0(0x2d2)]({'model':pe+_0x2751e0(0x1ef),'view':_0x27fe7e=>({'classes':_0x2751e0(0x20c),'attributes':{'data-marker-id':_0x27fe7e[_0x2751e0(0x29f)]}})}),_0x1f94d1[_0x2751e0(0x240)][_0x2751e0(0x28f)](_0x2751e0(0x20a))[_0x2751e0(0x2d4)]({'model':pe+_0x2751e0(0x259),'view':(_0x357be9,{writer:_0x152348})=>_0x152348[_0x2751e0(0x23b)](_0x2751e0(0x235),{'class':_0x2751e0(0x281)+(_0x357be9[_0x2751e0(0x282)]?_0x2751e0(0x239):_0x2751e0(0x2b5))})}),_0x1f94d1[_0x2751e0(0x240)][_0x2751e0(0x28f)](_0x2751e0(0x247))[_0x2751e0(0x29b)]({'model':_0x33d9c0,'view':_0x12af2e}),this[_0x2751e0(0x1fe)][_0x2751e0(0x2bb)](document,_0x2751e0(0x214),(_0x4b8742,_0x2ee1e7)=>{const _0x359e0c=_0x2751e0,_0x9744cc=_0x2ee1e7[_0x359e0c(0x21f)],_0x812634=this[_0x359e0c(0x24a)](_0x9744cc);if(!_0x812634)return;const _0x166e0f=_0x812634[_0x359e0c(0x2ce)](_0x359e0c(0x1f5)),_0x3df11c=_0x166e0f[_0x359e0c(0x2df)](':')[_0x359e0c(0x1f8)]()?.[_0x359e0c(0x2df)]('_')[0x0];this[_0x359e0c(0x24f)][_0x359e0c(0x27e)](_0x359e0c(0x28b),{'markerId':_0x166e0f,'changeId':_0x3df11c,'markerElement':_0x812634,'domEvent':_0x2ee1e7});}),this[_0x2751e0(0x1fe)][_0x2751e0(0x2bb)](document,_0x2751e0(0x23a),(_0xbbfa1c,_0x1f9a98)=>{const _0x575ca8=_0x2751e0,_0x422599=_0x1f9a98[_0x575ca8(0x21f)],_0x19bdde=_0x1f9a98[_0x575ca8(0x27d)];let _0x4a0f07=this[_0x575ca8(0x24a)](_0x422599);if(!_0x4a0f07&&_0x19bdde&&(_0x4a0f07=this[_0x575ca8(0x24a)](_0x19bdde)),!_0x4a0f07)return;const _0x2b2121=_0x4a0f07[_0x575ca8(0x2ce)](_0x575ca8(0x1f5)),_0xae276b=_0x2b2121[_0x575ca8(0x2df)](':')[_0x575ca8(0x1f8)]()?.[_0x575ca8(0x2df)]('_')[0x0];this[_0x575ca8(0x24f)][_0x575ca8(0x27e)](_0x575ca8(0x21e),{'changeId':_0xae276b,'markerElement':_0x4a0f07,'domEvent':_0x1f9a98});}),this[_0x2751e0(0x1fe)][_0x2751e0(0x2bb)](document,_0x2751e0(0x23a),_0x543c01((_0x4ed84b,_0x427ffa)=>{const _0x5f1e96=_0x2751e0,_0x4b8efe=_0x427ffa[_0x5f1e96(0x21f)];if(this[_0x5f1e96(0x24a)](_0x4b8efe))return;_0x4b8efe[_0x5f1e96(0x2d8)](_0x5f1e96(0x252))||this[_0x5f1e96(0x24f)][_0x5f1e96(0x27e)](_0x5f1e96(0x299));},0xc8)),_0x1f94d1[_0x2751e0(0x272)][_0x2751e0(0x2bf)][_0x2751e0(0x2d6)](_0xc6018e=>this[_0x2751e0(0x26f)](_0x1f94d1,_0xc6018e)),_0x1f94d1[_0x2751e0(0x272)][_0x2751e0(0x2bf)]['on'](_0x2751e0(0x20e),()=>this[_0x2751e0(0x23e)](_0x1f94d1));}[_0x532ddb(0x2b8)](){const _0x2c4730=_0x532ddb,_0x2bf450=this[_0x2c4730(0x20f)][_0x2c4730(0x21d)][_0x2c4730(0x271)](_0x2c4730(0x220)),_0x5714a1=_0x592f0d(this[_0x2c4730(0x20f)]),_0x57f228=_0x5714a1[_0x2c4730(0x272)],_0x241964=new _0x7ed6de();for(const _0x15840f of _0x57f228[_0x2c4730(0x2bf)][_0x2c4730(0x280)]()[_0x2c4730(0x289)]()){const _0x5633db=_0x15840f[_0x2c4730(0x2aa)](!0x0);_0x241964[_0x2c4730(0x253)](_0x5633db);}for(const _0x41323d of _0x57f228[_0x2c4730(0x268)])_0x241964[_0x2c4730(0x268)][_0x2c4730(0x223)](_0x41323d[_0x2c4730(0x2cb)],this[_0x2c4730(0x26b)](_0x41323d[_0x2c4730(0x2db)]()[_0x2c4730(0x26a)](),_0x241964));const _0x8b1d9f=new _0x223ab2({'ignoreElementEnd':!0x0,'startPosition':_0x57f228[_0x2c4730(0x250)](_0x241964,0x0)}),_0x458cdf=new Set(),_0x4b20e1=new Map();for(const {item:_0x5c4a06}of _0x8b1d9f){if(!_0x5c4a06['is'](_0x2c4730(0x224)))continue;const _0x591653=_0x5c4a06[_0x2c4730(0x246)];if(_0x591653&&_0x591653['is'](_0x2c4730(0x228))){const _0x19baa9=this[_0x2c4730(0x2af)](_0x591653,()=>_0x2bf450[_0x2c4730(0x23d)](_0x458cdf));_0x458cdf[_0x2c4730(0x203)](_0x19baa9);for(const _0x43ca30 of _0x591653[_0x2c4730(0x289)]())_0x43ca30['is'](_0x2c4730(0x228))&&_0x458cdf[_0x2c4730(0x203)](this[_0x2c4730(0x2af)](_0x43ca30,()=>_0x2bf450[_0x2c4730(0x23d)](_0x458cdf)));let _0x21cc28=_0x591653;for(;_0x21cc28[_0x2c4730(0x246)]&&!_0x21cc28[_0x2c4730(0x246)]['is'](_0x2c4730(0x2d9));)_0x21cc28=_0x21cc28[_0x2c4730(0x246)],_0x21cc28[_0x2c4730(0x206)](_0x33d9c0)&&_0x21cc28[_0x2c4730(0x216)](_0x33d9c0);_0x4b20e1[_0x2c4730(0x223)](_0x19baa9,{'path':_0x591653[_0x2c4730(0x28c)](),'getContent':this[_0x2c4730(0x211)](_0x21cc28[_0x2c4730(0x2aa)](!0x0),_0x19baa9,_0x5714a1[_0x2c4730(0x2b7)])}),_0x8b1d9f[_0x2c4730(0x2a2)](_0x57f228[_0x2c4730(0x21c)](_0x591653));}}return{'content':_0x5714a1[_0x2c4730(0x2b7)][_0x2c4730(0x232)][_0x2c4730(0x1fc)](_0x5714a1[_0x2c4730(0x2b7)][_0x2c4730(0x291)](_0x241964)),'version':_0x5714a1[_0x2c4730(0x272)][_0x2c4730(0x2bf)][_0x2c4730(0x22d)],'elements':_0x4b20e1};}[_0x532ddb(0x23f)](_0x50092d,_0xd7c527){const _0x4e5cff=_0x532ddb,_0x5aaaea=[],_0x29df8c=_0x592f0d(this[_0x4e5cff(0x20f)]),_0x17ae69=_0x29df8c[_0x4e5cff(0x2b7)][_0x4e5cff(0x1f9)](_0xd7c527,_0x4e5cff(0x2b4)),_0x5170f1=_0x29df8c[_0x4e5cff(0x2b7)][_0x4e5cff(0x1f9)](_0x50092d,_0x4e5cff(0x2b4)),_0x37a99d=_0x29df8c[_0x4e5cff(0x272)][_0x4e5cff(0x250)](_0x5170f1,0x0);if(this[_0x4e5cff(0x204)](_0x17ae69)){if(!this[_0x4e5cff(0x286)](_0x5170f1,_0x17ae69))return _0x5aaaea;}else{const _0x3c7b5f=_0x29df8c[_0x4e5cff(0x272)][_0x4e5cff(0x1f6)];if(!this[_0x4e5cff(0x26c)](_0x5170f1,_0x3c7b5f)||!this[_0x4e5cff(0x26c)](_0x17ae69,_0x3c7b5f))return _0x5aaaea;}const _0x536021=this[_0x4e5cff(0x20f)][_0x4e5cff(0x21d)][_0x4e5cff(0x271)](_0x4e5cff(0x288))[_0x4e5cff(0x2d7)](_0x50092d,_0xd7c527,{'anchor':_0x37a99d,'markDeletions':!0x0})[_0x4e5cff(0x2b2)]()[_0x4e5cff(0x267)](_0x3bc774=>_0x4e5cff(0x28d)===_0x3bc774[_0x4e5cff(0x22e)]||_0x4e5cff(0x22f)===_0x3bc774[_0x4e5cff(0x22e)]&&_0x3bc774[_0x4e5cff(0x2cb)][_0x4e5cff(0x222)](_0x4e5cff(0x276))),_0x79b05d=this[_0x4e5cff(0x230)](_0x536021);let _0x566b41=0x0;return _0x29df8c[_0x4e5cff(0x272)][_0x4e5cff(0x20e)](_0x4ad0ae=>{const _0x540cb2=_0x4e5cff;for(let _0x54bf15=0x0;_0x54bf15<_0x79b05d[_0x540cb2(0x27a)];_0x54bf15++){const _0x7d272f=_0x79b05d[_0x54bf15],_0x44c055=_0x4ad0ae[_0x540cb2(0x205)]();for(const _0x243265 of _0x5170f1[_0x540cb2(0x289)]())_0x4ad0ae[_0x540cb2(0x2a7)](_0x243265[_0x540cb2(0x2aa)](!0x0),_0x44c055);for(const _0x3ac8c7 of _0x7d272f[_0x540cb2(0x297)])if(_0x540cb2(0x28d)===_0x3ac8c7[_0x540cb2(0x22e)]){const _0x5a922b=_0x3ac8c7;_0x5a922b[_0x540cb2(0x255)]=null,_0x5a922b[_0x540cb2(0x2c7)]=!0x1,this[_0x540cb2(0x1e9)](_0x5a922b,_0x44c055),_0x4ad0ae[_0x540cb2(0x279)][_0x540cb2(0x284)](_0x3ac8c7),_0x29df8c[_0x540cb2(0x272)][_0x540cb2(0x1ea)](_0x3ac8c7);const _0x422a4a=_0x540cb2(0x263)+_0x566b41++,_0x3d4229=_0x29df8c[_0x540cb2(0x272)][_0x540cb2(0x2b3)](_0x5a922b[_0x540cb2(0x25a)],_0x5a922b[_0x540cb2(0x25a)][_0x540cb2(0x231)](_0x5a922b[_0x540cb2(0x1f0)]));_0x44c055[_0x540cb2(0x268)][_0x540cb2(0x223)](_0x422a4a,_0x3d4229);}else{if(_0x540cb2(0x22f)===_0x3ac8c7[_0x540cb2(0x22e)]&&_0x3ac8c7[_0x540cb2(0x2cb)][_0x540cb2(0x222)](_0x540cb2(0x276))){const _0x4c8ba2=_0x3ac8c7,_0x226480=_0x540cb2(0x2bc)+_0x566b41++;this[_0x540cb2(0x1e9)](_0x4c8ba2,_0x44c055),_0x44c055[_0x540cb2(0x268)][_0x540cb2(0x223)](_0x226480,_0x4c8ba2[_0x540cb2(0x215)]);}}const _0x1fd745=this[_0x540cb2(0x226)](this[_0x540cb2(0x1fd)](this[_0x540cb2(0x2de)](_0x7d272f[_0x540cb2(0x297)][0x0]),_0x44c055),this[_0x540cb2(0x1fd)](this[_0x540cb2(0x287)](_0x7d272f[_0x540cb2(0x297)][_0x7d272f[_0x540cb2(0x297)][_0x540cb2(0x27a)]-0x1]),_0x44c055));_0x44c055[_0x540cb2(0x268)][_0x540cb2(0x223)](pe+_0x540cb2(0x259),new _0xc7e99a(_0x1fd745[_0x540cb2(0x239)],_0x1fd745[_0x540cb2(0x2b5)])),_0x5aaaea[_0x540cb2(0x229)]({..._0x7d272f,'context':this[_0x540cb2(0x27c)](_0x44c055,_0x29df8c[_0x540cb2(0x2b7)],{'ellipsisBefore':_0x1fd745[_0x540cb2(0x2c8)],'ellipsisAfter':_0x1fd745[_0x540cb2(0x292)]}),'content':this[_0x540cb2(0x248)](_0x44c055,_0x29df8c[_0x540cb2(0x2b7)])});}}),_0x5aaaea;}[_0x532ddb(0x283)](_0x6aaf35,_0x133828){const _0x18e3a4=_0x532ddb;if(!_0x6aaf35[_0x18e3a4(0x27a)])return;const _0x30e6bc=_0x6aaf35[0x0][_0x18e3a4(0x246)]['id'],_0x1cd5ee=_0x133828[_0x18e3a4(0x25b)][_0x18e3a4(0x271)](_0x30e6bc);if(!_0x1cd5ee)return void console[_0x18e3a4(0x296)](_0x18e3a4(0x1ee)+_0x30e6bc);const _0x425557=_0x1cd5ee[_0x18e3a4(0x264)],_0x1f0a36=_0x592f0d(this[_0x18e3a4(0x20f)]),_0xfb7620=_0x1f0a36[_0x18e3a4(0x272)][_0x18e3a4(0x2bf)][_0x18e3a4(0x2d0)][_0x18e3a4(0x2b2)](_0x133828[_0x18e3a4(0x22d)]),_0x23fe21=[];for(const _0x239aa9 of _0x6aaf35){const _0x14fd31=_0x239aa9[_0x18e3a4(0x297)][_0x18e3a4(0x221)](_0x227067=>this[_0x18e3a4(0x243)](_0x227067,_0x425557,_0x1f0a36[_0x18e3a4(0x272)][_0x18e3a4(0x2bf)][_0x18e3a4(0x2ac)]()[0x0]));if(!_0x14fd31||!_0x14fd31[_0x18e3a4(0x27a)])continue;const _0x404f6b=_0x14fd31[_0x18e3a4(0x244)](_0x2d728b=>_0x18e3a4(0x22f)===_0x2d728b[_0x18e3a4(0x22e)]&&_0x2d728b[_0x18e3a4(0x2cb)][_0x18e3a4(0x222)](_0x18e3a4(0x276))),_0x843081={'document':_0x1f0a36[_0x18e3a4(0x272)][_0x18e3a4(0x2bf)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3c8305=_0x5439ed(_0x14fd31,_0xfb7620,_0x843081)[_0x18e3a4(0x294)];for(const _0xf9fdff of _0x3c8305)if(_0x18e3a4(0x28d)===_0xf9fdff[_0x18e3a4(0x22e)]){const _0x3ce4f3=_0xf9fdff,_0x5856b3=_0x3ce4f3[_0x18e3a4(0x2c1)];let _0xbb3fd1='';for(const _0x1bb16c of _0x5856b3)_0x1bb16c&&_0x1bb16c['is'](_0x18e3a4(0x22c))&&(_0xbb3fd1+=_0x1bb16c[_0x18e3a4(0x2b7)]);_0x23fe21[_0x18e3a4(0x229)]({'start':_0x3ce4f3[_0x18e3a4(0x25a)],'end':_0x3ce4f3[_0x18e3a4(0x25a)],'type':_0x18e3a4(0x28d),'groupId':_0x239aa9['id'],'text':_0xbb3fd1});}else{if(_0x18e3a4(0x22f)===_0xf9fdff[_0x18e3a4(0x22e)]&&_0xf9fdff[_0x18e3a4(0x2cb)][_0x18e3a4(0x222)](_0x18e3a4(0x276))){const _0x36428a=_0xf9fdff;let _0x387a08=_0x18e3a4(0x1ef);if(_0x404f6b){const _0x3e8424=this[_0x18e3a4(0x207)](_0x36428a[_0x18e3a4(0x215)][_0x18e3a4(0x239)],_0x18e3a4(0x1ed),_0x1f0a36[_0x18e3a4(0x272)][_0x18e3a4(0x1f6)]),_0x23cc5d=this[_0x18e3a4(0x207)](_0x36428a[_0x18e3a4(0x215)][_0x18e3a4(0x2b5)],_0x18e3a4(0x241),_0x1f0a36[_0x18e3a4(0x272)][_0x18e3a4(0x1f6)]);if(_0x3e8424||_0x23cc5d){const _0x1bb27c=_0x36428a[_0x18e3a4(0x215)][_0x18e3a4(0x239)][_0x18e3a4(0x231)](-_0x3e8424),_0x47865d=_0x36428a[_0x18e3a4(0x215)][_0x18e3a4(0x2b5)][_0x18e3a4(0x231)](_0x23cc5d);_0x23fe21[_0x18e3a4(0x229)]({'start':_0x1bb27c,'end':_0x47865d,'groupId':_0x239aa9['id'],'type':_0x18e3a4(0x21a)});}else _0x387a08=_0x18e3a4(0x278);}_0x23fe21[_0x18e3a4(0x229)]({'start':_0x36428a[_0x18e3a4(0x215)][_0x18e3a4(0x239)],'end':_0x36428a[_0x18e3a4(0x215)][_0x18e3a4(0x2b5)],'groupId':_0x239aa9['id'],'type':_0x387a08});}}}this[_0x18e3a4(0x1ec)](_0x23fe21);}[_0x532ddb(0x1f4)](){const _0x57a544=_0x532ddb,_0x17b0be=_0x592f0d(this[_0x57a544(0x20f)]);_0x17b0be[_0x57a544(0x272)][_0x57a544(0x20e)](_0x4c69af=>{const _0x4583b9=_0x57a544;for(const _0x2c4019 of this[_0x4583b9(0x212)][_0x4583b9(0x254)]())_0x17b0be[_0x4583b9(0x272)][_0x4583b9(0x268)][_0x4583b9(0x271)](_0x2c4019)&&_0x4c69af[_0x4583b9(0x245)](_0x2c4019);}),this[_0x57a544(0x212)][_0x57a544(0x2c2)]();}[_0x532ddb(0x2da)](){const _0x588c3d=_0x532ddb;_0x592f0d(this[_0x588c3d(0x20f)])[_0x588c3d(0x1e8)](_0x588c3d(0x2a6));}[_0x532ddb(0x2a9)](){const _0x186c36=_0x532ddb;_0x592f0d(this[_0x186c36(0x20f)])[_0x186c36(0x2a4)](_0x186c36(0x2a6));}[_0x532ddb(0x2b1)](_0x489cd9){const _0x5aa3b5=_0x532ddb,_0x801ac=_0x592f0d(this[_0x5aa3b5(0x20f)]),_0x17173a=_0x801ac[_0x5aa3b5(0x272)],_0x3dbb6d=_0x489cd9[_0x5aa3b5(0x221)](_0x30ac00=>this[_0x5aa3b5(0x2d1)](_0x30ac00))[_0x5aa3b5(0x201)]();_0x17173a[_0x5aa3b5(0x20e)](_0x5c2f42=>{const _0x158565=_0x5aa3b5;for(const _0x52c03e of _0x3dbb6d){const _0x2b2495=_0x801ac[_0x158565(0x272)][_0x158565(0x268)][_0x158565(0x271)](_0x52c03e['id']);_0x2b2495&&(_0x158565(0x28d)===_0x52c03e[_0x158565(0x22e)]?_0x17173a[_0x158565(0x270)](_0x5c2f42[_0x158565(0x209)](_0x52c03e[_0x158565(0x2d3)]||''),_0x2b2495[_0x158565(0x2db)]()[_0x158565(0x239)]):_0x158565(0x1ef)!==_0x52c03e[_0x158565(0x22e)]&&_0x158565(0x278)!==_0x52c03e[_0x158565(0x22e)]||_0x17173a[_0x158565(0x2c9)](_0x17173a[_0x158565(0x2c4)](_0x2b2495[_0x158565(0x2db)]())),_0x5c2f42[_0x158565(0x245)](_0x52c03e['id']),this[_0x158565(0x212)][_0x158565(0x285)](_0x52c03e['id']));}});}[_0x532ddb(0x217)](_0x59b46f){const _0x183514=_0x532ddb,_0x23bfe0=_0x592f0d(this[_0x183514(0x20f)]),_0x552bef=this[_0x183514(0x2d1)](_0x59b46f);_0x23bfe0[_0x183514(0x272)][_0x183514(0x20e)](_0x12c6e3=>{const _0x2fcd6e=_0x183514;for(const _0x3e5b45 of _0x552bef)_0x12c6e3[_0x2fcd6e(0x245)](_0x3e5b45['id']),this[_0x2fcd6e(0x212)][_0x2fcd6e(0x285)](_0x3e5b45['id']);});}[_0x532ddb(0x251)](){const _0x174375=_0x532ddb;return _0x592f0d(this[_0x174375(0x20f)]);}[_0x532ddb(0x25e)](_0x543176){const _0x1eca7e=_0x532ddb,_0x4712db=Array[_0x1eca7e(0x2b9)](this[_0x1eca7e(0x212)][_0x1eca7e(0x20b)]())[_0x1eca7e(0x267)](_0x57e55c=>_0x57e55c[_0x1eca7e(0x2b0)]===_0x543176);if(!_0x4712db[_0x1eca7e(0x27a)])return null;const _0x575c44=0x1===_0x4712db[_0x1eca7e(0x27a)]?_0x4712db[0x0]:this[_0x1eca7e(0x24c)](_0x4712db)[0x0],_0x36b563=_0x592f0d(this[_0x1eca7e(0x20f)]),_0x1ca0fc=_0x36b563[_0x1eca7e(0x272)][_0x1eca7e(0x268)][_0x1eca7e(0x271)](_0x575c44['id']);if(!_0x1ca0fc)return null;const _0xdca03d=_0x1ca0fc[_0x1eca7e(0x2db)](),_0x10e32b=_0x36b563[_0x1eca7e(0x22b)][_0x1eca7e(0x28e)][_0x1eca7e(0x1f1)]();if(!_0x10e32b||!_0xdca03d)return null;const _0x3ea381=_0x10e32b[_0x1eca7e(0x2cf)](_0x1eca7e(0x25c)+_0x575c44['id']+'\x22]');return _0x3ea381?{'modelRange':_0xdca03d,'domElement':_0x3ea381}:null;}[_0x532ddb(0x26f)](_0x322ca5,_0x2245ea){const _0x53eb76=_0x532ddb,_0x1c4ccb=Array[_0x53eb76(0x2b9)](this[_0x53eb76(0x212)][_0x53eb76(0x254)]()),_0x3eece1=new Map();for(const _0xe6e2bb of _0x1c4ccb){const _0x4993df=_0x322ca5[_0x53eb76(0x272)][_0x53eb76(0x268)][_0x53eb76(0x271)](_0xe6e2bb);if(!_0x4993df)continue;const _0x20aa02=_0x4993df[_0x53eb76(0x2dc)]()[_0x53eb76(0x264)][0x0];_0x3eece1[_0x53eb76(0x257)](_0x20aa02)||_0x3eece1[_0x53eb76(0x223)](_0x20aa02,[]),_0x3eece1[_0x53eb76(0x271)](_0x20aa02)[_0x53eb76(0x229)](_0x4993df);}const _0x4c4524=new Set();for(const _0x4cf9e8 of _0x322ca5[_0x53eb76(0x272)][_0x53eb76(0x2bf)][_0x53eb76(0x236)][_0x53eb76(0x2c5)]()){let _0x445c5d=-0x1,_0x55a446=null;if(_0x53eb76(0x28d)===_0x4cf9e8[_0x53eb76(0x22e)])_0x55a446=new _0xc7e99a(_0x4cf9e8[_0x53eb76(0x25a)],_0x4cf9e8[_0x53eb76(0x25a)][_0x53eb76(0x231)](_0x4cf9e8[_0x53eb76(0x27a)])),_0x445c5d=_0x4cf9e8[_0x53eb76(0x25a)][_0x53eb76(0x264)][0x0];else{if(_0x53eb76(0x29a)!==_0x4cf9e8[_0x53eb76(0x22e)])continue;_0x55a446=new _0xc7e99a(_0x4cf9e8[_0x53eb76(0x25a)]),_0x445c5d=_0x4cf9e8[_0x53eb76(0x25a)][_0x53eb76(0x264)][0x0];}const _0x5779c9=_0x3eece1[_0x53eb76(0x271)](_0x445c5d)||[];if(_0x5779c9[_0x53eb76(0x27a)]){for(const _0x20d238 of _0x5779c9)if(_0x55a446[_0x53eb76(0x249)][_0x53eb76(0x2ae)]===_0x20d238[_0x53eb76(0x2db)]()[_0x53eb76(0x249)][_0x53eb76(0x2ae)]&&(_0x53eb76(0x28d)!==_0x4cf9e8[_0x53eb76(0x22e)]||!_0x55a446[_0x53eb76(0x2ba)](_0x20d238[_0x53eb76(0x2db)]()))&&(_0x55a446[_0x53eb76(0x242)](_0x20d238[_0x53eb76(0x2db)]())||_0x55a446[_0x53eb76(0x239)][_0x53eb76(0x2a5)](_0x20d238[_0x53eb76(0x2db)]()[_0x53eb76(0x2b5)])||_0x55a446[_0x53eb76(0x2b5)][_0x53eb76(0x2a5)](_0x20d238[_0x53eb76(0x2db)]()[_0x53eb76(0x239)]))){const _0x1f8a5d=this[_0x53eb76(0x2ca)](_0x20d238[_0x53eb76(0x2cb)]);Array[_0x53eb76(0x2b9)](this[_0x53eb76(0x212)][_0x53eb76(0x20b)]())[_0x53eb76(0x267)](_0x308ac5=>_0x308ac5[_0x53eb76(0x2b0)]===_0x1f8a5d[_0x53eb76(0x2b0)])[_0x53eb76(0x1ff)](_0x189d05=>_0x4c4524[_0x53eb76(0x203)](_0x189d05['id']));}}}if(_0x4c4524[_0x53eb76(0x25d)]){for(const _0x4703d1 of _0x4c4524)_0x2245ea[_0x53eb76(0x245)](_0x4703d1);return!0x0;}return!0x1;}[_0x532ddb(0x23e)](_0x5799d1){const _0x279161=_0x532ddb;for(const {name:_0x48bcac,data:_0x2234d9}of _0x5799d1[_0x279161(0x272)][_0x279161(0x2bf)][_0x279161(0x236)][_0x279161(0x1fa)]()){if(!_0x48bcac[_0x279161(0x222)](pe))continue;const _0x4e04c8=_0x2234d9[_0x279161(0x1f2)],_0x37b1cb=_0x2234d9[_0x279161(0x215)],_0x27fbb7=_0x4e04c8&&_0x279161(0x227)===_0x4e04c8[_0x279161(0x249)][_0x279161(0x2ae)],_0xca1a02=_0x37b1cb&&_0x279161(0x227)===_0x37b1cb[_0x279161(0x249)][_0x279161(0x2ae)];if(_0x27fbb7&&_0xca1a02)continue;const _0x34b132=this[_0x279161(0x2ca)](_0x48bcac);this[_0x279161(0x212)][_0x279161(0x271)](_0x48bcac)&&(_0xca1a02||!_0x37b1cb?this[_0x279161(0x24f)][_0x279161(0x27e)](_0x279161(0x28a),{'markerId':_0x48bcac,'changeId':_0x34b132[_0x279161(0x2b0)]}):_0x27fbb7&&_0x37b1cb&&this[_0x279161(0x24f)][_0x279161(0x27e)](_0x279161(0x24d),{'markerId':_0x48bcac,'changeId':_0x34b132[_0x279161(0x2b0)]}));}}[_0x532ddb(0x2ca)](_0x4ae9b5){const _0xcd8340=_0x532ddb,_0x4b1f3f=_0x4ae9b5[_0xcd8340(0x2df)](':'),_0x10be19=(_0x4b1f3f[0x1]||'')[_0xcd8340(0x2df)]('_');return{'prefix':_0x4b1f3f[0x0],'groupId':_0x10be19[0x0],'suffix':_0x10be19[0x1]};}[_0x532ddb(0x243)](_0xdd3af1,_0x110463,_0x3bc140){const _0x20cfbe=_0x532ddb;if(_0x20cfbe(0x28d)===_0xdd3af1[_0x20cfbe(0x22e)]){const _0x3194c5=_0xdd3af1;return new _0x38feeb(this[_0x20cfbe(0x2a0)](_0x110463[_0x20cfbe(0x2c6)](_0x3194c5[_0x20cfbe(0x25a)][_0x20cfbe(0x269)]),_0x3bc140),_0x3194c5[_0x20cfbe(0x2c1)],_0x3194c5[_0x20cfbe(0x255)]);}if(_0x20cfbe(0x22f)===_0xdd3af1[_0x20cfbe(0x22e)]&&_0xdd3af1[_0x20cfbe(0x2cb)][_0x20cfbe(0x222)](_0x20cfbe(0x276))){const _0x397589=_0xdd3af1;return new _0x1ae552(_0x397589[_0x20cfbe(0x2cb)],_0x397589[_0x20cfbe(0x1f2)],this[_0x20cfbe(0x261)](_0x397589[_0x20cfbe(0x215)],_0x110463[_0x20cfbe(0x2c6)](_0x397589[_0x20cfbe(0x215)][_0x20cfbe(0x239)][_0x20cfbe(0x269)]),_0x110463[_0x20cfbe(0x2c6)](_0x397589[_0x20cfbe(0x215)][_0x20cfbe(0x2b5)][_0x20cfbe(0x269)]),_0x3bc140),_0x397589[_0x20cfbe(0x212)],_0x397589[_0x20cfbe(0x1fb)],_0x397589[_0x20cfbe(0x255)]);}return _0xdd3af1;}[_0x532ddb(0x230)](_0x585628){const _0x505459=_0x532ddb;if(!_0x585628[_0x505459(0x27a)])return[];const _0x3710c4=[];let _0x282a9c=0x0,_0x2571d0=0x0,_0x168d7e=[];for(let _0x228c83=0x0;_0x228c83<=_0x585628[_0x505459(0x27a)];_0x228c83++){const _0x51d0ab=_0x585628[_0x228c83],_0x331b7d=_0x585628[_0x228c83-0x1];!_0x51d0ab||_0x331b7d&&!this[_0x505459(0x287)](_0x331b7d)[_0x505459(0x2a5)](this[_0x505459(0x2de)](_0x51d0ab))?(_0x3710c4[_0x505459(0x229)]({'operations':_0x168d7e,'operationsIsolated':_0x168d7e[_0x505459(0x221)](_0x3a4b18=>this[_0x505459(0x2bd)](_0x3a4b18[_0x505459(0x26a)](),-_0x2571d0)),'groupOffset':_0x282a9c}),_0x168d7e=_0x51d0ab?[_0x51d0ab]:[],_0x2571d0+=_0x282a9c,_0x282a9c=0x0):_0x168d7e[_0x505459(0x229)](_0x51d0ab),_0x51d0ab&&_0x505459(0x28d)===_0x51d0ab[_0x505459(0x22e)]&&(_0x282a9c+=_0x51d0ab[_0x505459(0x1f0)]);}return _0x3710c4;}[_0x532ddb(0x207)](_0x5174ed,_0x2805d2,_0x342573,_0x3052b2=0x1){const _0x275404=_0x532ddb,_0x2964c3=new _0x223ab2({'startPosition':_0x5174ed,'direction':_0x2805d2});let _0x2cef69=0x0;for(let _0xfcaba2=0x0;_0xfcaba2<_0x3052b2;_0xfcaba2++){let _0x30c37c=0x0,_0x182e28=!0x1,_0x2c07ce=_0x275404(0x241)===_0x2805d2?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x1df055}of _0x2964c3)if(_0x1df055['is'](_0x275404(0x224))){const _0x5921bb=_0x2c07ce[_0x275404(0x256)](_0x1df055[_0x275404(0x2b7)]);if(_0x5921bb&&_0x5921bb[_0x275404(0x27a)]){if(_0x30c37c+=_0x275404(0x241)===_0x2805d2?_0x5921bb[_0x275404(0x29c)]+_0x5921bb[0x0][_0x275404(0x27a)]:_0x1df055[_0x275404(0x2b7)][_0x275404(0x27a)]-_0x5921bb[_0x275404(0x29c)],_0x5921bb[0x0][_0x275404(0x27a)]!==_0x1df055[_0x275404(0x2b7)][_0x275404(0x27a)])break;_0x182e28=!0x0,_0x2c07ce=_0x275404(0x241)===_0x2805d2?/^\w+/:/\w+$/;}else{if(_0x182e28)break;_0x30c37c+=_0x1df055[_0x275404(0x218)];}}else{if(_0x1df055['is'](_0x275404(0x228))){_0x342573[_0x275404(0x219)](_0x1df055)&&!_0x182e28&&(_0x30c37c+=0x1);break;}}_0x2cef69+=_0x30c37c,_0x2964c3[_0x275404(0x2a2)](_0x5174ed[_0x275404(0x231)](_0x275404(0x241)===_0x2805d2?_0x2cef69:-_0x2cef69));}return _0x2cef69;}[_0x532ddb(0x226)](_0x2183ca,_0x59f3d0){const _0x543538=_0x532ddb,_0x5d176e=_0x592f0d(this[_0x543538(0x20f)])[_0x543538(0x272)][_0x543538(0x1f6)],_0x1e013e=this[_0x543538(0x207)](_0x2183ca,_0x543538(0x1ed),_0x5d176e,0x6),_0x2217be=this[_0x543538(0x207)](_0x59f3d0,_0x543538(0x241),_0x5d176e,0x6),_0x30bf16=_0x2183ca[_0x543538(0x231)](-_0x1e013e),_0x491830=_0x59f3d0[_0x543538(0x231)](_0x2217be);return{'start':_0x30bf16,'end':_0x491830,'hasContentBefore':!_0x30bf16[_0x543538(0x2be)],'hasContentAfter':!_0x491830[_0x543538(0x266)]};}[_0x532ddb(0x1ec)](_0x16a0be){const _0x1f2889=_0x532ddb,_0x2912c5=this[_0x1f2889(0x20f)][_0x1f2889(0x21d)][_0x1f2889(0x271)](_0x1f2889(0x220)),_0x24eebd=new Set();_0x592f0d(this[_0x1f2889(0x20f)])[_0x1f2889(0x272)][_0x1f2889(0x20e)](_0x4c9597=>{const _0x51807e=_0x1f2889;for(const _0x50758f of _0x16a0be){const _0x6b22dc=''+pe+_0x50758f[_0x51807e(0x22e)]+':'+_0x50758f[_0x51807e(0x2b0)]+'_'+_0x2912c5[_0x51807e(0x23d)](_0x24eebd);this[_0x51807e(0x212)][_0x51807e(0x223)](_0x6b22dc,{'id':_0x6b22dc,'groupId':_0x50758f[_0x51807e(0x2b0)],'type':_0x50758f[_0x51807e(0x22e)],'text':_0x50758f[_0x51807e(0x2d3)]}),_0x4c9597[_0x51807e(0x2b6)](_0x6b22dc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4c9597[_0x51807e(0x2b3)](_0x50758f[_0x51807e(0x239)],_0x50758f[_0x51807e(0x2b5)])});}});}[_0x532ddb(0x27c)](_0x1b3f7a,_0x23783a,_0x2c27ad){let _0x30542='';return()=>{const _0x447bb8=_0x342a;if(!_0x30542){const _0x333818=_0x23783a[_0x447bb8(0x291)](_0x1b3f7a,{'showSuggestionHighlights':!0x0});let _0x3fae3f=_0x333818[_0x447bb8(0x1f3)](0x0);if(_0x3fae3f['is'](_0x447bb8(0x2c0))||(_0x3fae3f=_0x333818),!_0x3fae3f)return'';let _0x18d004=!0x1;const _0x3bcc99=[];for(const _0x556034 of _0x3fae3f[_0x447bb8(0x289)]())_0x556034['is'](_0x447bb8(0x228),_0x447bb8(0x235))&&_0x556034[_0x447bb8(0x2dd)](_0x447bb8(0x2a1))&&(_0x18d004=!0x1),_0x18d004&&_0x3bcc99[_0x447bb8(0x229)](_0x556034),_0x556034['is'](_0x447bb8(0x228),_0x447bb8(0x235))&&_0x556034[_0x447bb8(0x2dd)](_0x447bb8(0x29d))&&(_0x18d004=!0x0);_0x3fae3f[_0x447bb8(0x26e)](0x0,_0x3fae3f[_0x447bb8(0x2ab)]),_0x2c27ad?.[_0x447bb8(0x210)]&&_0x3fae3f[_0x447bb8(0x253)]('…'),_0x3fae3f[_0x447bb8(0x253)](_0x3bcc99),_0x2c27ad?.[_0x447bb8(0x27f)]&&_0x3fae3f[_0x447bb8(0x253)]('…');const _0x486251=_0x23783a[_0x447bb8(0x295)][_0x447bb8(0x202)][_0x447bb8(0x273)](_0x333818),_0x12e51d=_0x23783a[_0x447bb8(0x295)][_0x447bb8(0x293)][_0x447bb8(0x213)](_0x486251);_0x30542=_0x12e51d;}return _0x30542;};}[_0x532ddb(0x248)](_0x272c39,_0x19887f){const _0x2fd3d7=_0x532ddb;let _0x4ad339='';return()=>(_0x4ad339||(_0x4ad339=_0x19887f[_0x2fd3d7(0x27b)](_0x272c39,{'showSuggestionHighlights':!0x0})),_0x4ad339);}[_0x532ddb(0x211)](_0x5158df,_0x4d4c0e,_0x33c03b){let _0x1523c5='';return()=>{const _0x342a0d=_0x342a;if(!_0x1523c5){const _0x506705=_0x33c03b[_0x342a0d(0x291)](new _0x7ed6de(_0x5158df)),_0x27076e=_0x33c03b[_0x342a0d(0x295)][_0x342a0d(0x202)][_0x342a0d(0x273)](_0x506705)[_0x342a0d(0x2cf)](_0x342a0d(0x2cd)+_0x4d4c0e+'\x22]');_0x1523c5=_0x27076e?.[_0x342a0d(0x208)]||'';}return _0x1523c5;};}[_0x532ddb(0x24a)](_0x227f7c,_0x42a821=0x5){const _0x4d5daa=_0x532ddb;let _0x1d215b=_0x227f7c,_0x256630=null;for(let _0x46fbc3=0x0;_0x46fbc3<_0x42a821&&_0x1d215b;_0x46fbc3++){if(!_0x1d215b[_0x4d5daa(0x25f)]){_0x1d215b=_0x1d215b[_0x4d5daa(0x200)];continue;}if(!(''+_0x1d215b[_0x4d5daa(0x25f)])[_0x4d5daa(0x298)](_0x4d5daa(0x21b))){_0x1d215b=_0x1d215b[_0x4d5daa(0x200)];continue;}if(!_0x1d215b[_0x4d5daa(0x2ce)](_0x4d5daa(0x1f5)))break;_0x256630=_0x1d215b;break;}return _0x256630;}[_0x532ddb(0x2d1)](_0x2ba6ba){const _0x27daa0=_0x532ddb;return Array[_0x27daa0(0x2b9)](this[_0x27daa0(0x212)][_0x27daa0(0x20b)]())[_0x27daa0(0x267)](_0x4b10b7=>_0x4b10b7[_0x27daa0(0x2b0)]===_0x2ba6ba);}[_0x532ddb(0x2de)](_0x340879){const _0x4aa941=_0x532ddb;return _0x4aa941(0x28d)===_0x340879[_0x4aa941(0x22e)]?_0x340879[_0x4aa941(0x25a)]:_0x340879[_0x4aa941(0x215)][_0x4aa941(0x239)];}[_0x532ddb(0x287)](_0x13fd40,_0x8978=!0x1){const _0x45f313=_0x532ddb;return _0x45f313(0x28d)===_0x13fd40[_0x45f313(0x22e)]?_0x8978?_0x13fd40[_0x45f313(0x25a)]:_0x13fd40[_0x45f313(0x25a)][_0x45f313(0x231)](_0x13fd40[_0x45f313(0x1f0)]):_0x13fd40[_0x45f313(0x215)][_0x45f313(0x2b5)];}[_0x532ddb(0x2bd)](_0xdab012,_0x149d94){const _0x5bb55c=_0x532ddb;return _0x5bb55c(0x28d)===_0xdab012[_0x5bb55c(0x22e)]?_0xdab012[_0x5bb55c(0x25a)]=_0xdab012[_0x5bb55c(0x25a)][_0x5bb55c(0x231)](_0x149d94):_0x5bb55c(0x22f)===_0xdab012[_0x5bb55c(0x22e)]&&_0xdab012[_0x5bb55c(0x215)]&&(_0xdab012[_0x5bb55c(0x215)]=new _0xc7e99a(_0xdab012[_0x5bb55c(0x215)][_0x5bb55c(0x239)][_0x5bb55c(0x231)](_0x149d94),_0xdab012[_0x5bb55c(0x215)][_0x5bb55c(0x2b5)][_0x5bb55c(0x231)](_0x149d94))),_0xdab012;}[_0x532ddb(0x1e9)](_0x5733a4,_0x2033b5){const _0x4fcfa5=_0x532ddb;_0x4fcfa5(0x28d)===_0x5733a4[_0x4fcfa5(0x22e)]?_0x5733a4[_0x4fcfa5(0x25a)]=this[_0x4fcfa5(0x1fd)](_0x5733a4[_0x4fcfa5(0x25a)],_0x2033b5):_0x4fcfa5(0x22f)===_0x5733a4[_0x4fcfa5(0x22e)]&&_0x5733a4[_0x4fcfa5(0x215)]&&(_0x5733a4[_0x4fcfa5(0x215)]=this[_0x4fcfa5(0x26b)](_0x5733a4[_0x4fcfa5(0x215)],_0x2033b5));}[_0x532ddb(0x1fd)](_0x4c83ef,_0x5594d3){const _0x131e96=_0x532ddb;return new _0x3ee7bd(_0x5594d3,_0x4c83ef[_0x131e96(0x264)]);}[_0x532ddb(0x26b)](_0x5ba763,_0x5e8158){const _0x4b2dbb=_0x532ddb;return new _0xc7e99a(this[_0x4b2dbb(0x1fd)](_0x5ba763[_0x4b2dbb(0x239)],_0x5e8158),this[_0x4b2dbb(0x1fd)](_0x5ba763[_0x4b2dbb(0x2b5)],_0x5e8158));}[_0x532ddb(0x2a0)](_0x556d32,_0x36d1dc){return new _0x3ee7bd(_0x36d1dc,[..._0x556d32]);}[_0x532ddb(0x261)](_0x52d54d,_0x445e58,_0x10acf5,_0x3faef2){const _0x16780f=_0x532ddb;return new _0xc7e99a(this[_0x16780f(0x2a0)](_0x445e58,_0x3faef2),this[_0x16780f(0x2a0)](_0x10acf5,_0x3faef2));}[_0x532ddb(0x24c)](_0x1a77bd){const _0x401422=_0x532ddb,_0x181d90=_0x14acee=>{const _0x50d19b=_0x342a;switch(_0x14acee){case _0x50d19b(0x28d):return 0x1;case _0x50d19b(0x21a):return 0x2;case _0x50d19b(0x278):return 0x3;case _0x50d19b(0x1ef):return 0x4;}};return _0x1a77bd[_0x401422(0x237)]((_0xe716db,_0x339eee)=>_0x181d90(_0xe716db[_0x401422(0x22e)])-_0x181d90(_0x339eee[_0x401422(0x22e)]));}[_0x532ddb(0x286)](_0x535aec,_0x5a6270){const _0x1fd7ed=_0x532ddb,_0x387add=_0x535aec[_0x1fd7ed(0x1f3)](0x0),_0x3482a0=_0x5a6270[_0x1fd7ed(0x1f3)](0x0);return!(!_0x387add||!_0x3482a0)&&((!_0x387add['is'](_0x1fd7ed(0x228))||!_0x3482a0['is'](_0x1fd7ed(0x228))||_0x387add[_0x1fd7ed(0x2cb)]===_0x3482a0[_0x1fd7ed(0x2cb)])&&!(_0x387add['is'](_0x1fd7ed(0x228))&&!_0x3482a0['is'](_0x1fd7ed(0x228))||!_0x387add['is'](_0x1fd7ed(0x228))&&_0x3482a0['is'](_0x1fd7ed(0x228))));}[_0x532ddb(0x204)](_0x35e1bc){const _0x3aee9e=_0x532ddb;return 0x1===_0x35e1bc[_0x3aee9e(0x2ab)];}[_0x532ddb(0x26c)](_0x3ffb57,_0x217613){const _0x52d9b9=_0x532ddb;for(const _0x2abec7 of _0x3ffb57[_0x52d9b9(0x289)]())if(_0x2abec7['is'](_0x52d9b9(0x228))&&!_0x217613[_0x52d9b9(0x219)](_0x2abec7))return!0x1;return!0x0;}[_0x532ddb(0x2af)](_0x402906,_0x40d0e1){const _0x5c40ad=_0x532ddb;let _0x33b510=_0x402906[_0x5c40ad(0x2ce)](_0x33d9c0);return _0x33b510||(_0x33b510=_0x40d0e1(),_0x402906[_0x5c40ad(0x2a3)](_0x33d9c0,_0x33b510)),_0x33b510;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ebb18=_0x32eb;(function(_0x519d7b,_0x2ccd31){const _0x5c2a9a=_0x32eb,_0x403542=_0x519d7b();while(!![]){try{const _0x4571ff=parseInt(_0x5c2a9a(0x1d8))/0x1+parseInt(_0x5c2a9a(0x1c9))/0x2*(-parseInt(_0x5c2a9a(0x1f5))/0x3)+-parseInt(_0x5c2a9a(0x1bf))/0x4*(parseInt(_0x5c2a9a(0x1b4))/0x5)+parseInt(_0x5c2a9a(0x1d2))/0x6+parseInt(_0x5c2a9a(0x1c7))/0x7+-parseInt(_0x5c2a9a(0x1e6))/0x8+parseInt(_0x5c2a9a(0x1ef))/0x9;if(_0x4571ff===_0x2ccd31)break;else _0x403542['push'](_0x403542['shift']());}catch(_0x544095){_0x403542['push'](_0x403542['shift']());}}}(_0x2411,0xc1cd5));import{ContextPlugin as _0x496ad0}from'ckeditor5/src/core.js';function _0x32eb(_0x1dd1dd,_0xeb4a24){const _0x24113b=_0x2411();return _0x32eb=function(_0x32eb48,_0x48e0b3){_0x32eb48=_0x32eb48-0x1b4;let _0x351959=_0x24113b[_0x32eb48];return _0x351959;},_0x32eb(_0x1dd1dd,_0xeb4a24);}import{IconAIReview as _0x14cb30}from'ckeditor5/src/icons.js';import{BodyCollection as _0x1bb259}from'ckeditor5/src/ui.js';import{AITabs as _0xebe4bc}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x5a1cc6}from'./ui/aireviewmodeview.js';import{getTranslation as _0x401137}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x352409}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x2ebb18(0x20a),_0x2ebb18(0x1dc),_0x2ebb18(0x1c2),_0x2ebb18(0x1bc),_0x2ebb18(0x1e8),_0x2ebb18(0x20f),_0x2ebb18(0x1ba),_0x2ebb18(0x1d0),_0x2ebb18(0x200),_0x2ebb18(0x1fd),_0x2ebb18(0x1f6),_0x2ebb18(0x1b8)];export class AIReviewModeUI extends _0x496ad0{[_0x2ebb18(0x1ec)];[_0x2ebb18(0x1d3)];[_0x2ebb18(0x1f2)];static get[_0x2ebb18(0x1b9)](){return[_0xebe4bc];}static get[_0x2ebb18(0x1fc)](){const _0x87fd5d=_0x2ebb18;return _0x87fd5d(0x1c1);}static get[_0x2ebb18(0x1df)](){return!0x0;}static get[_0x2ebb18(0x1e4)](){return!0x0;}constructor(_0x66301a){const _0x33a094=_0x2ebb18;super(_0x66301a),this[_0x33a094(0x1f2)]=new _0x1bb259(this[_0x33a094(0x1db)][_0x33a094(0x1d7)]),this[_0x33a094(0x1f2)][_0x33a094(0x1de)](),this[_0x33a094(0x1ec)]=new _0x5a1cc6(this[_0x33a094(0x1db)][_0x33a094(0x1d7)]),this[_0x33a094(0x1ec)][_0x33a094(0x1d1)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x33a094(0x1d3)]=new _0x352409(this[_0x33a094(0x1db)][_0x33a094(0x1d7)],this[_0x33a094(0x1f2)]),this[_0x33a094(0x1d3)][_0x33a094(0x1d1)](_0x33a094(0x1d0),_0x33a094(0x200),_0x33a094(0x1d4))['to'](this);}[_0x2ebb18(0x1e3)](){const _0x347a67=_0x2ebb18,_0x38c2e3=this[_0x347a67(0x1db)][_0x347a67(0x1c6)][_0x347a67(0x1e7)](_0x347a67(0x1d9));_0x38c2e3[_0x347a67(0x201)]['on'](_0x347a67(0x1c4),(_0x618ace,_0x5ef1c7)=>{const _0x5cb682=_0x347a67;_0x5cb682(0x1fe)===_0x5ef1c7?this[_0x5cb682(0x203)](_0x5cb682(0x20a)):this[_0x5cb682(0x203)](_0x5cb682(0x1cf));}),_0x38c2e3[_0x347a67(0x201)][_0x347a67(0x1f1)]({'id':_0x347a67(0x1fe),'buttonLabel':_0x401137(this[_0x347a67(0x1db)][_0x347a67(0x1d7)],_0x347a67(0x1e5)),'buttonIcon':_0x14cb30,'order':0x0,'content':this[_0x347a67(0x1ec)]});}[_0x2ebb18(0x1e9)](){const _0x41186b=_0x2ebb18;this[_0x41186b(0x1f2)][_0x41186b(0x1ed)](),super[_0x41186b(0x1e9)]();}[_0x2ebb18(0x1dd)](_0x2f500b){const _0x5a1a65=_0x2ebb18;this[_0x5a1a65(0x1ec)][_0x5a1a65(0x1ff)][_0x5a1a65(0x208)]()||this[_0x5a1a65(0x1ec)][_0x5a1a65(0x1ff)][_0x5a1a65(0x1c5)](_0x2f500b),this[_0x5a1a65(0x1ec)][_0x5a1a65(0x1b5)]();}[_0x2ebb18(0x1be)](){const _0x30286c=_0x2ebb18;this[_0x30286c(0x203)](_0x30286c(0x20a));}[_0x2ebb18(0x206)](_0x577cd9){const _0x457afc=_0x2ebb18;_0x577cd9&&(_0x457afc(0x20b)!==_0x577cd9[_0x457afc(0x1c8)]?_0x457afc(0x1fb)!==_0x577cd9[_0x457afc(0x1c8)]?this[_0x457afc(0x1ec)][_0x457afc(0x1da)]():this[_0x457afc(0x1cb)]():this[_0x457afc(0x202)]());}[_0x2ebb18(0x1c0)](_0x31b2e5){const _0x4faabe=_0x2ebb18;this[_0x4faabe(0x1ec)][_0x4faabe(0x1e2)](_0x31b2e5);}[_0x2ebb18(0x202)](){const _0x2d2f14=_0x2ebb18;this[_0x2d2f14(0x1ec)][_0x2d2f14(0x202)]();}[_0x2ebb18(0x204)](_0x2624e1){const _0x481050=_0x2ebb18;this[_0x481050(0x1ec)][_0x481050(0x204)](_0x2624e1??_0x401137(this[_0x481050(0x1db)][_0x481050(0x1d7)],_0x481050(0x1ea)));}[_0x2ebb18(0x1cb)](){const _0x42a7a2=_0x2ebb18;this[_0x42a7a2(0x1ec)][_0x42a7a2(0x1cb)]();}[_0x2ebb18(0x1b6)](_0x283aba,_0x3ccb4b){const _0x38618f=_0x2ebb18;this[_0x38618f(0x1ec)][_0x38618f(0x1f9)][_0x38618f(0x1cc)](_0x283aba,_0x3ccb4b);}[_0x2ebb18(0x1e1)](_0x156287){const _0x2b3c28=_0x2ebb18;this[_0x2b3c28(0x1ec)][_0x2b3c28(0x1f9)][_0x2b3c28(0x1b7)]()[_0x2b3c28(0x1f0)](_0x43ce3b=>{const _0x3d5b4a=_0x2b3c28;_0x43ce3b['id']===_0x156287&&_0x43ce3b[_0x3d5b4a(0x207)]();});}[_0x2ebb18(0x1eb)](){const _0x368258=_0x2ebb18;this[_0x368258(0x1ec)][_0x368258(0x1f9)][_0x368258(0x1b7)]()[_0x368258(0x1f0)](_0x26291d=>_0x26291d[_0x368258(0x1d6)]());}[_0x2ebb18(0x20d)](_0x222dfa,_0x4fa852){const _0x19cd3e=_0x2ebb18;_0x19cd3e(0x1f3)===_0x4fa852||_0x19cd3e(0x209)===_0x4fa852||_0x19cd3e(0x1cd)===_0x4fa852?this[_0x19cd3e(0x1ec)][_0x19cd3e(0x1f9)][_0x19cd3e(0x1c3)](_0x222dfa,_0x4fa852):this[_0x19cd3e(0x1ec)][_0x19cd3e(0x1f9)][_0x19cd3e(0x1f7)](_0x222dfa,_0x4fa852);}[_0x2ebb18(0x1ee)](){const _0x1c8f33=_0x2ebb18;this[_0x1c8f33(0x1ec)][_0x1c8f33(0x1ee)]();}[_0x2ebb18(0x1f4)](){const _0x434ee1=_0x2ebb18;this[_0x434ee1(0x1ec)][_0x434ee1(0x1f4)]();}[_0x2ebb18(0x20c)](){const _0x2c627a=_0x2ebb18;this[_0x2c627a(0x1ec)][_0x2c627a(0x20c)]();}[_0x2ebb18(0x1e0)](){const _0x91894f=_0x2ebb18;this[_0x91894f(0x1ec)][_0x91894f(0x1e0)]();}[_0x2ebb18(0x205)](_0x316aea,_0x4d6757,_0x2f2fa6,_0x1a7fd7,_0x3d362f,_0x2f5cf0){const _0x4abb1f=_0x2ebb18;this[_0x4abb1f(0x1d3)][_0x4abb1f(0x20e)](_0x316aea,_0x4d6757,_0x2f2fa6,_0x1a7fd7,_0x3d362f,_0x2f5cf0);}[_0x2ebb18(0x1bd)](){const _0x56b728=_0x2ebb18;this[_0x56b728(0x1d3)][_0x56b728(0x1fa)]();}[_0x2ebb18(0x1f8)](){const _0x42329a=_0x2ebb18;this[_0x42329a(0x1d3)][_0x42329a(0x1f8)]();}[_0x2ebb18(0x1ca)](){const _0x2571d5=_0x2ebb18;this[_0x2571d5(0x1d3)][_0x2571d5(0x1ca)]();}[_0x2ebb18(0x1bb)](_0x1e1d97){const _0x1a9ea6=_0x2ebb18,_0x582a03=this[_0x1a9ea6(0x1ec)][_0x1a9ea6(0x1f9)][_0x1a9ea6(0x1b7)]()[_0x1a9ea6(0x1d5)](_0x17df4c=>_0x17df4c['id']===_0x1e1d97);return _0x582a03?_0x582a03[_0x1a9ea6(0x1ce)]:null;}[_0x2ebb18(0x1d4)](){const _0x232242=_0x2ebb18;this[_0x232242(0x1d3)][_0x232242(0x1d4)]();}}function _0x2411(){const _0x2a001d=['delegate','519648SetQuZ','_reviewModeBalloonSuggestionItemView','deactivateChange','find','setItemAsInactive','locale','1417187yJYXGC','AITabs','showReviewCheckResultsView','context','runReviewCheck','setAvailableChecks','attachToDom','isOfficialPlugin','hideActionsWhenResultIsReady','setActiveStateInResults','addCheckRunResult','init','isPremiumPlugin','AI_REVIEW_MODE','9530568cnSCOI','get','acceptAllChanges','destroy','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','resetActiveStateInResults','_reviewModeView','detachFromDom','showReviewCompletedView','24895800WbflYX','forEach','addTab','_bodyCollection','accepted','showActionsWhenResultIsReady','1523724weLaur','finishReview','showResult','hideDiffInBalloon','reviewCheckResultsView','hideBalloon','error-chunk','pluginName','learnMore','reviewMode','reviewCheckListView','dismissChange','view','showGeneralResultsErrorView','fire','showGeneralReviewModeErrorView','showChangeBalloon','showCheckRunResults','setItemAsActive','hasChecks','rejected','getReviewCheckList','error-general','showNoChangesView','updateChangeState','showBalloon','leaveReviewModeResultList','10duFISc','showReviewCheckListView','setCheckResultTitle','getResults','retryReview','requires','activateChange','getChangeElement','toggleDiff','hideChangeBalloon','showReviewCheckList','3146900bNHIBY','showCheckRunResult','AIReviewModeUI','abortReviewStream','hideResult','activateTab','setChecks','plugins','2130835Rblmec','status','4MDlgfg','showDiffInBalloon','showChunkErrorView','setTitle','outdated','element','leaveReviewMode','acceptChange'];_0x2411=function(){return _0x2a001d;};return _0x2411();}
23
+ const _0x320930=_0x49db;(function(_0x1ca2a5,_0x33134c){const _0x417ddb=_0x49db,_0x1305a1=_0x1ca2a5();while(!![]){try{const _0xc73dcb=-parseInt(_0x417ddb(0x175))/0x1*(parseInt(_0x417ddb(0x16e))/0x2)+-parseInt(_0x417ddb(0x153))/0x3*(-parseInt(_0x417ddb(0x13f))/0x4)+-parseInt(_0x417ddb(0x171))/0x5+-parseInt(_0x417ddb(0x13e))/0x6+-parseInt(_0x417ddb(0x13a))/0x7*(-parseInt(_0x417ddb(0x188))/0x8)+-parseInt(_0x417ddb(0x181))/0x9+parseInt(_0x417ddb(0x17d))/0xa*(parseInt(_0x417ddb(0x167))/0xb);if(_0xc73dcb===_0x33134c)break;else _0x1305a1['push'](_0x1305a1['shift']());}catch(_0x1fb150){_0x1305a1['push'](_0x1305a1['shift']());}}}(_0x2a5e,0x7c431));import{ContextPlugin as _0x4bc4fb}from'ckeditor5/src/core.js';import{IconAIReview as _0xf854b7}from'ckeditor5/src/icons.js';import{BodyCollection as _0xb21014}from'ckeditor5/src/ui.js';import{AITabs as _0x4a7422}from'../aitabs/aitabs.js';function _0x49db(_0x1ed514,_0x3d8716){const _0x2a5ea5=_0x2a5e();return _0x49db=function(_0x49db15,_0x16a3ec){_0x49db15=_0x49db15-0x12b;let _0x2ebc37=_0x2a5ea5[_0x49db15];return _0x2ebc37;},_0x49db(_0x1ed514,_0x3d8716);}import{AIReviewModeView as _0x467661}from'./ui/aireviewmodeview.js';import{getTranslation as _0x55eb00}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x3d6425}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x320930(0x14d),_0x320930(0x179),_0x320930(0x142),_0x320930(0x152),_0x320930(0x130),_0x320930(0x140),_0x320930(0x184),_0x320930(0x182),_0x320930(0x187),_0x320930(0x170),_0x320930(0x12f),_0x320930(0x147)];function _0x2a5e(){const _0x5ee118=['reviewMode','137009vMqkGS','context','showReviewCheckResultsView','showReviewCheckList','runReviewCheck','init','updateChangeState','get','430UBQKBo','setItemAsActive','showChunkErrorView','AITabs','3023811IyKgKY','acceptChange','_reviewModeBalloonSuggestionItemView','activateChange','isOfficialPlugin','locale','dismissChange','8mZddOh','showNoChangesView','hideResult','find','_bodyCollection','finishReview','acceptAllChanges','getResults','AIReviewModeUI','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','fire','AI_REVIEW_MODE','view','reviewCheckListView','showGeneralResultsErrorView','setChecks','4495421mPFvdK','showCheckRunResult','hideDiffInBalloon','outdated','4935438aCsVoo','168040lQETEr','leaveReviewModeResultList','resetActiveStateInResults','abortReviewStream','showCheckRunResults','element','getChangeElement','requires','retryReview','plugins','activateTab','hideBalloon','forEach','setTitle','getReviewCheckList','showGeneralReviewModeErrorView','showActionsWhenResultIsReady','delegate','showReviewCompletedView','toggleDiff','30oLLSyl','addCheckRunResult','_reviewModeView','pluginName','status','setActiveStateInResults','rejected','setAvailableChecks','reviewCheckResultsView','accepted','setItemAsInactive','showResult','error-general','error-chunk','hideChangeBalloon','detachFromDom','isPremiumPlugin','hideActionsWhenResultIsReady','deactivateChange','destroy','522346zNWZsv','hasChecks','attachToDom','showReviewCheckListView','setCheckResultTitle','showChangeBalloon','addTab','8nvMcQi','leaveReviewMode','learnMore','4443180UXnTCm','showDiffInBalloon','showBalloon'];_0x2a5e=function(){return _0x5ee118;};return _0x2a5e();}export class AIReviewModeUI extends _0x4bc4fb{[_0x320930(0x155)];[_0x320930(0x183)];[_0x320930(0x12e)];static get[_0x320930(0x146)](){return[_0x4a7422];}static get[_0x320930(0x156)](){const _0x11fc49=_0x320930;return _0x11fc49(0x132);}static get[_0x320930(0x185)](){return!0x0;}static get[_0x320930(0x163)](){return!0x0;}constructor(_0x2e86b5){const _0xdab805=_0x320930;super(_0x2e86b5),this[_0xdab805(0x12e)]=new _0xb21014(this[_0xdab805(0x176)][_0xdab805(0x186)]),this[_0xdab805(0x12e)][_0xdab805(0x169)](),this[_0xdab805(0x155)]=new _0x467661(this[_0xdab805(0x176)][_0xdab805(0x186)]),this[_0xdab805(0x155)][_0xdab805(0x150)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0xdab805(0x183)]=new _0x3d6425(this[_0xdab805(0x176)][_0xdab805(0x186)],this[_0xdab805(0x12e)]),this[_0xdab805(0x183)][_0xdab805(0x150)](_0xdab805(0x182),_0xdab805(0x187),_0xdab805(0x165))['to'](this);}[_0x320930(0x17a)](){const _0x45afa3=_0x320930,_0x19d0d4=this[_0x45afa3(0x176)][_0x45afa3(0x148)][_0x45afa3(0x17c)](_0x45afa3(0x180));_0x19d0d4[_0x45afa3(0x136)]['on'](_0x45afa3(0x149),(_0x500cf9,_0x38f71d)=>{const _0x101dac=_0x45afa3;_0x101dac(0x174)===_0x38f71d?this[_0x101dac(0x134)](_0x101dac(0x14d)):this[_0x101dac(0x134)](_0x101dac(0x16f));}),_0x19d0d4[_0x45afa3(0x136)][_0x45afa3(0x16d)]({'id':_0x45afa3(0x174),'buttonLabel':_0x55eb00(this[_0x45afa3(0x176)][_0x45afa3(0x186)],_0x45afa3(0x135)),'buttonIcon':_0xf854b7,'order':0x0,'content':this[_0x45afa3(0x155)]});}[_0x320930(0x166)](){const _0x2c396f=_0x320930;this[_0x2c396f(0x12e)][_0x2c396f(0x162)](),super[_0x2c396f(0x166)]();}[_0x320930(0x15a)](_0x35959b){const _0x34b4c3=_0x320930;this[_0x34b4c3(0x155)][_0x34b4c3(0x137)][_0x34b4c3(0x168)]()||this[_0x34b4c3(0x155)][_0x34b4c3(0x137)][_0x34b4c3(0x139)](_0x35959b),this[_0x34b4c3(0x155)][_0x34b4c3(0x16a)]();}[_0x320930(0x178)](){const _0xcdc1b9=_0x320930;this[_0xcdc1b9(0x134)](_0xcdc1b9(0x14d));}[_0x320930(0x143)](_0x518ed6){const _0xf605d3=_0x320930;_0x518ed6&&(_0xf605d3(0x15f)!==_0x518ed6[_0xf605d3(0x157)]?_0xf605d3(0x160)!==_0x518ed6[_0xf605d3(0x157)]?this[_0xf605d3(0x155)][_0xf605d3(0x177)]():this[_0xf605d3(0x17f)]():this[_0xf605d3(0x138)]());}[_0x320930(0x13b)](_0x44444b){const _0x908dc0=_0x320930;this[_0x908dc0(0x155)][_0x908dc0(0x154)](_0x44444b);}[_0x320930(0x138)](){const _0x1f9e71=_0x320930;this[_0x1f9e71(0x155)][_0x1f9e71(0x138)]();}[_0x320930(0x14e)](_0x15aad8){const _0x5409ba=_0x320930;this[_0x5409ba(0x155)][_0x5409ba(0x14e)](_0x15aad8??_0x55eb00(this[_0x5409ba(0x176)][_0x5409ba(0x186)],_0x5409ba(0x133)));}[_0x320930(0x17f)](){const _0x52adb3=_0x320930;this[_0x52adb3(0x155)][_0x52adb3(0x17f)]();}[_0x320930(0x16b)](_0x5239d2,_0x267747){const _0x78e0c1=_0x320930;this[_0x78e0c1(0x155)][_0x78e0c1(0x15b)][_0x78e0c1(0x14c)](_0x5239d2,_0x267747);}[_0x320930(0x158)](_0x2a3369){const _0x518a4f=_0x320930;this[_0x518a4f(0x155)][_0x518a4f(0x15b)][_0x518a4f(0x131)]()[_0x518a4f(0x14b)](_0x4057b7=>{const _0x1c6910=_0x518a4f;_0x4057b7['id']===_0x2a3369&&_0x4057b7[_0x1c6910(0x17e)]();});}[_0x320930(0x141)](){const _0x4e571b=_0x320930;this[_0x4e571b(0x155)][_0x4e571b(0x15b)][_0x4e571b(0x131)]()[_0x4e571b(0x14b)](_0x1ad616=>_0x1ad616[_0x4e571b(0x15d)]());}[_0x320930(0x17b)](_0x426078,_0x2cdd22){const _0x1e4391=_0x320930;_0x1e4391(0x15c)===_0x2cdd22||_0x1e4391(0x159)===_0x2cdd22||_0x1e4391(0x13d)===_0x2cdd22?this[_0x1e4391(0x155)][_0x1e4391(0x15b)][_0x1e4391(0x12c)](_0x426078,_0x2cdd22):this[_0x1e4391(0x155)][_0x1e4391(0x15b)][_0x1e4391(0x15e)](_0x426078,_0x2cdd22);}[_0x320930(0x151)](){const _0x46624e=_0x320930;this[_0x46624e(0x155)][_0x46624e(0x151)]();}[_0x320930(0x14f)](){const _0x566612=_0x320930;this[_0x566612(0x155)][_0x566612(0x14f)]();}[_0x320930(0x12b)](){const _0x47aa70=_0x320930;this[_0x47aa70(0x155)][_0x47aa70(0x12b)]();}[_0x320930(0x164)](){const _0x24419d=_0x320930;this[_0x24419d(0x155)][_0x24419d(0x164)]();}[_0x320930(0x16c)](_0x1968df,_0x2a6b9d,_0x44f699,_0x3521ae,_0x2da1ee,_0x225406){const _0xf63b0e=_0x320930;this[_0xf63b0e(0x183)][_0xf63b0e(0x173)](_0x1968df,_0x2a6b9d,_0x44f699,_0x3521ae,_0x2da1ee,_0x225406);}[_0x320930(0x161)](){const _0x451883=_0x320930;this[_0x451883(0x183)][_0x451883(0x14a)]();}[_0x320930(0x13c)](){const _0x2c6d56=_0x320930;this[_0x2c6d56(0x183)][_0x2c6d56(0x13c)]();}[_0x320930(0x172)](){const _0x181d95=_0x320930;this[_0x181d95(0x183)][_0x181d95(0x172)]();}[_0x320930(0x145)](_0x546e80){const _0x3bb119=_0x320930,_0x542667=this[_0x3bb119(0x155)][_0x3bb119(0x15b)][_0x3bb119(0x131)]()[_0x3bb119(0x12d)](_0x16981a=>_0x16981a['id']===_0x546e80);return _0x542667?_0x542667[_0x3bb119(0x144)]:null;}[_0x320930(0x165)](){const _0x451d59=_0x320930;this[_0x451d59(0x183)][_0x451d59(0x165)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x186d3e=_0x3e7d;function _0xc995(){var _0x4f8d1f=['isParameterized','8268nTmIPq','useArgs','276rMUaxc','583807dwpCtQ','469410LnFfdm','920772ZQcHqF','title','1323775viYuUJ','description','252414obvtdd','options','3240904ZBjPSS'];_0xc995=function(){return _0x4f8d1f;};return _0xc995();}(function(_0x18d4fb,_0x144f6a){var _0x43d600=_0x3e7d,_0x16fef2=_0x18d4fb();while(!![]){try{var _0xa37ee9=-parseInt(_0x43d600(0xfd))/0x1+parseInt(_0x43d600(0xf8))/0x2+parseInt(_0x43d600(0xf6))/0x3*(-parseInt(_0x43d600(0xf4))/0x4)+-parseInt(_0x43d600(0xfb))/0x5+parseInt(_0x43d600(0xf9))/0x6+parseInt(_0x43d600(0xf7))/0x7+parseInt(_0x43d600(0xff))/0x8;if(_0xa37ee9===_0x144f6a)break;else _0x16fef2['push'](_0x16fef2['shift']());}catch(_0x177621){_0x16fef2['push'](_0x16fef2['shift']());}}}(_0xc995,0x29584));function _0x3e7d(_0x196cf4,_0xc2990d){var _0xc99528=_0xc995();return _0x3e7d=function(_0x3e7ddf,_0xa75d76){_0x3e7ddf=_0x3e7ddf-0xf4;var _0x4c06cb=_0xc99528[_0x3e7ddf];return _0x4c06cb;},_0x3e7d(_0x196cf4,_0xc2990d);}export class AIReviewCheck{['id'];[_0x186d3e(0xfa)];[_0x186d3e(0xfc)];[_0x186d3e(0x100)];[_0x186d3e(0xf5)];[_0x186d3e(0xfe)];constructor({id:_0x2527a0,title:_0x5835d8,description:_0x2e89b6,isParameterized:_0x56c772,useArgs:_0x2484cf,options:_0x326c07}){var _0x4281e2=_0x186d3e;this['id']=_0x2527a0,this[_0x4281e2(0xfa)]=_0x5835d8,this[_0x4281e2(0xfc)]=_0x2e89b6,this[_0x4281e2(0x100)]=_0x56c772,this[_0x4281e2(0xf5)]=_0x2484cf,this[_0x4281e2(0xfe)]=_0x326c07;}}
23
+ var _0x49589e=_0x220a;function _0x2ac1(){var _0x353f20=['description','30XvlWqH','title','isParameterized','498967cMBQkt','2080792mfOhRx','options','useArgs','499494uACfNy','4562106bniWCg','36010GerhgU','685458VSPVMd','216lQeAtr','137280qftEfi'];_0x2ac1=function(){return _0x353f20;};return _0x2ac1();}(function(_0x4f7bfd,_0x1cf6c3){var _0x1e6593=_0x220a,_0x829a6a=_0x4f7bfd();while(!![]){try{var _0x5a573f=parseInt(_0x1e6593(0x134))/0x1*(-parseInt(_0x1e6593(0x139))/0x2)+parseInt(_0x1e6593(0x132))/0x3+-parseInt(_0x1e6593(0x13d))/0x4+parseInt(_0x1e6593(0x137))/0x5+-parseInt(_0x1e6593(0x133))/0x6+parseInt(_0x1e6593(0x13c))/0x7+-parseInt(_0x1e6593(0x136))/0x8*(-parseInt(_0x1e6593(0x135))/0x9);if(_0x5a573f===_0x1cf6c3)break;else _0x829a6a['push'](_0x829a6a['shift']());}catch(_0xbd929d){_0x829a6a['push'](_0x829a6a['shift']());}}}(_0x2ac1,0x7a4ae));function _0x220a(_0x2f1055,_0x53b8e6){var _0x2ac145=_0x2ac1();return _0x220a=function(_0x220a57,_0x1157b2){_0x220a57=_0x220a57-0x130;var _0xf7d224=_0x2ac145[_0x220a57];return _0xf7d224;},_0x220a(_0x2f1055,_0x53b8e6);}export class AIReviewCheck{['id'];[_0x49589e(0x13a)];[_0x49589e(0x138)];[_0x49589e(0x13b)];[_0x49589e(0x131)];[_0x49589e(0x130)];constructor({id:_0x98fff,title:_0x109efc,description:_0x2690b5,isParameterized:_0x4136f9,useArgs:_0x13102c,options:_0x5c115b}){var _0x209742=_0x49589e;this['id']=_0x98fff,this[_0x209742(0x13a)]=_0x109efc,this[_0x209742(0x138)]=_0x2690b5,this[_0x209742(0x13b)]=_0x4136f9,this[_0x209742(0x131)]=_0x13102c,this[_0x209742(0x130)]=_0x5c115b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x571b71=_0x5738;function _0x3487(){var _0x4dc6c3=['5hxWaNg','1101630Sqroxm','696TVJrDm','models','_models','114oTFVbU','1081803UCIvjJ','10jYmMNs','5919RWqyZD','15547EfUYql','4vnirrR','2117820eidcVq','150172IffVfr','2438523AkjfhT'];_0x3487=function(){return _0x4dc6c3;};return _0x3487();}(function(_0x5d9124,_0x179e2d){var _0x4300fd=_0x5738,_0x419340=_0x5d9124();while(!![]){try{var _0x3ba4ea=-parseInt(_0x4300fd(0x19b))/0x1*(-parseInt(_0x4300fd(0x198))/0x2)+-parseInt(_0x4300fd(0x199))/0x3*(parseInt(_0x4300fd(0x19d))/0x4)+-parseInt(_0x4300fd(0x1a1))/0x5*(-parseInt(_0x4300fd(0x1a2))/0x6)+-parseInt(_0x4300fd(0x19c))/0x7*(-parseInt(_0x4300fd(0x1a3))/0x8)+parseInt(_0x4300fd(0x1a0))/0x9*(-parseInt(_0x4300fd(0x19a))/0xa)+-parseInt(_0x4300fd(0x19f))/0xb+parseInt(_0x4300fd(0x19e))/0xc;if(_0x3ba4ea===_0x179e2d)break;else _0x419340['push'](_0x419340['shift']());}catch(_0x18a2ab){_0x419340['push'](_0x419340['shift']());}}}(_0x3487,0x3befc));function _0x5738(_0x587b3f,_0x310cf3){var _0x348742=_0x3487();return _0x5738=function(_0x573859,_0x28caee){_0x573859=_0x573859-0x197;var _0x444303=_0x348742[_0x573859];return _0x444303;},_0x5738(_0x587b3f,_0x310cf3);}import{AIReviewCheck as _0x38cf31}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x38cf31{[_0x571b71(0x197)]=[];get[_0x571b71(0x1a4)](){var _0x321575=_0x571b71;return this[_0x321575(0x197)];}set[_0x571b71(0x1a4)](_0x276885){var _0x4bc2ac=_0x571b71;this[_0x4bc2ac(0x197)]=_0x276885;}}
23
+ var _0x13225f=_0x2586;function _0x481f(){var _0x1022ff=['904416jFVfHU','5399051vBqYIj','_models','5uUoMdb','6034050hyNuRo','3594804wyRdKU','706494hQFYOX','2974744kOVREq','models','1644044tLWERp'];_0x481f=function(){return _0x1022ff;};return _0x481f();}(function(_0x4400e7,_0x149dfa){var _0xf20143=_0x2586,_0x51f30a=_0x4400e7();while(!![]){try{var _0x4106ca=parseInt(_0xf20143(0x126))/0x1+-parseInt(_0xf20143(0x11f))/0x2+-parseInt(_0xf20143(0x125))/0x3+-parseInt(_0xf20143(0x120))/0x4+-parseInt(_0xf20143(0x123))/0x5*(-parseInt(_0xf20143(0x124))/0x6)+parseInt(_0xf20143(0x121))/0x7+parseInt(_0xf20143(0x127))/0x8;if(_0x4106ca===_0x149dfa)break;else _0x51f30a['push'](_0x51f30a['shift']());}catch(_0x36ab30){_0x51f30a['push'](_0x51f30a['shift']());}}}(_0x481f,0x94a8f));function _0x2586(_0xab833b,_0x4e42ec){var _0x481f9c=_0x481f();return _0x2586=function(_0x2586fd,_0x5ddb7b){_0x2586fd=_0x2586fd-0x11e;var _0x2b419b=_0x481f9c[_0x2586fd];return _0x2b419b;},_0x2586(_0xab833b,_0x4e42ec);}import{AIReviewCheck as _0x299ad5}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x299ad5{[_0x13225f(0x122)]=[];get[_0x13225f(0x11e)](){var _0x333afa=_0x13225f;return this[_0x333afa(0x122)];}set[_0x13225f(0x11e)](_0x250f8a){var _0x233613=_0x13225f;this[_0x233613(0x122)]=_0x250f8a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x365721=_0x1b31;(function(_0x56d47b,_0x5a0f29){var _0x5e584d=_0x1b31,_0x58c056=_0x56d47b();while(!![]){try{var _0x4186c9=parseInt(_0x5e584d(0x1a8))/0x1*(parseInt(_0x5e584d(0x1a6))/0x2)+parseInt(_0x5e584d(0x1af))/0x3*(parseInt(_0x5e584d(0x1b3))/0x4)+parseInt(_0x5e584d(0x1a5))/0x5*(-parseInt(_0x5e584d(0x1b6))/0x6)+parseInt(_0x5e584d(0x1b5))/0x7*(parseInt(_0x5e584d(0x1b7))/0x8)+parseInt(_0x5e584d(0x1a3))/0x9*(-parseInt(_0x5e584d(0x1b2))/0xa)+parseInt(_0x5e584d(0x1ab))/0xb*(-parseInt(_0x5e584d(0x1a7))/0xc)+parseInt(_0x5e584d(0x1ac))/0xd;if(_0x4186c9===_0x5a0f29)break;else _0x58c056['push'](_0x58c056['shift']());}catch(_0x599c75){_0x58c056['push'](_0x58c056['shift']());}}}(_0x1229,0x3897e));function _0x1b31(_0x1193b3,_0x50d99c){var _0x1229ce=_0x1229();return _0x1b31=function(_0x1b319d,_0x12fea4){_0x1b319d=_0x1b319d-0x1a3;var _0x30c5c7=_0x1229ce[_0x1b319d];return _0x30c5c7;},_0x1b31(_0x1193b3,_0x50d99c);}import{ObservableMixin as _0x54b854}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x26c614}from'./aireviewcheck.js';function _0x1229(){var _0x31657c=['458968IlrJza','getCheckById','651609hwFnNC','_checks','425875cBYOQI','151126UAMhFw','24CvDGQp','1RfPHBe','_mapCheckDefinitions','checks','1485473RcoLAb','7874009uizuTQ','find','filter','33063WjBnal','custom','removeCheckById','40WTnkja','28NqGgEM','map','56svZLWx','30tCFyzf'];_0x1229=function(){return _0x31657c;};return _0x1229();}import{AIReviewCheckCustom as _0x42902e}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x54b854(){[_0x365721(0x1a4)];constructor(_0xe95502){var _0x39d975=_0x365721;super(),this[_0x39d975(0x1a4)]=this[_0x39d975(0x1a9)](_0xe95502);}get[_0x365721(0x1aa)](){var _0x587e48=_0x365721;return this[_0x587e48(0x1a4)];}[_0x365721(0x1b8)](_0x33723b){var _0x50dd5c=_0x365721;return this[_0x50dd5c(0x1aa)][_0x50dd5c(0x1ad)](_0x897df6=>_0x897df6['id']===_0x33723b);}[_0x365721(0x1b1)](_0x258238){var _0x4a518c=_0x365721;this[_0x4a518c(0x1a4)]=this[_0x4a518c(0x1a4)][_0x4a518c(0x1ae)](_0x2f25f7=>_0x2f25f7['id']!==_0x258238);}[_0x365721(0x1a9)](_0x3b42a7){var _0xfba249=_0x365721;return _0x3b42a7[_0xfba249(0x1b4)](_0x5f30d7=>_0xfba249(0x1b0)===_0x5f30d7['id']?new _0x42902e(_0x5f30d7):new _0x26c614(_0x5f30d7));}}
23
+ var _0x5e146e=_0x4791;(function(_0x36528b,_0x5d7a8a){var _0x45029d=_0x4791,_0x3e2119=_0x36528b();while(!![]){try{var _0x16cca6=-parseInt(_0x45029d(0xab))/0x1*(-parseInt(_0x45029d(0xb9))/0x2)+parseInt(_0x45029d(0xb5))/0x3*(parseInt(_0x45029d(0xb8))/0x4)+parseInt(_0x45029d(0xaa))/0x5+parseInt(_0x45029d(0xac))/0x6+-parseInt(_0x45029d(0xa9))/0x7*(-parseInt(_0x45029d(0xb6))/0x8)+-parseInt(_0x45029d(0xb1))/0x9+-parseInt(_0x45029d(0xa8))/0xa;if(_0x16cca6===_0x5d7a8a)break;else _0x3e2119['push'](_0x3e2119['shift']());}catch(_0x5bfc87){_0x3e2119['push'](_0x3e2119['shift']());}}}(_0x576e,0x3d87c));import{ObservableMixin as _0x1f20e2}from'ckeditor5/src/utils.js';function _0x4791(_0x462c49,_0x4c4c64){var _0x576e44=_0x576e();return _0x4791=function(_0x4791c5,_0x37cb3d){_0x4791c5=_0x4791c5-0xa7;var _0x4cb6d5=_0x576e44[_0x4791c5];return _0x4cb6d5;},_0x4791(_0x462c49,_0x4c4c64);}import{AIReviewCheck as _0x6c6f91}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x2c0ed4}from'./aireviewcheckcustom.js';function _0x576e(){var _0x5d32ad=['15WBIZGf','10984TPPpLe','_checks','373916BqQotg','22070LvAFfQ','filter','14648610qDhRoV','1232pELwPc','883510IJsnNT','44oYwgkB','2231844xDFQsm','getCheckById','removeCheckById','_mapCheckDefinitions','find','237330Sfvrtu','custom','map','checks'];_0x576e=function(){return _0x5d32ad;};return _0x576e();}export class AIReviewCheckList extends _0x1f20e2(){[_0x5e146e(0xb7)];constructor(_0x1d3333){var _0xe4a313=_0x5e146e;super(),this[_0xe4a313(0xb7)]=this[_0xe4a313(0xaf)](_0x1d3333);}get[_0x5e146e(0xb4)](){var _0x2a13ae=_0x5e146e;return this[_0x2a13ae(0xb7)];}[_0x5e146e(0xad)](_0x36fcb3){var _0x5fa26c=_0x5e146e;return this[_0x5fa26c(0xb4)][_0x5fa26c(0xb0)](_0x4e6745=>_0x4e6745['id']===_0x36fcb3);}[_0x5e146e(0xae)](_0x2849bf){var _0x2aa7f7=_0x5e146e;this[_0x2aa7f7(0xb7)]=this[_0x2aa7f7(0xb7)][_0x2aa7f7(0xa7)](_0x1fd03b=>_0x1fd03b['id']!==_0x2849bf);}[_0x5e146e(0xaf)](_0x2533dc){var _0x24831f=_0x5e146e;return _0x2533dc[_0x24831f(0xb3)](_0x2a0c9e=>_0x24831f(0xb2)===_0x2a0c9e['id']?new _0x2c0ed4(_0x2a0c9e):new _0x6c6f91(_0x2a0c9e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3fc799=_0x13f0;function _0x13f0(_0x1b6e29,_0xacf71c){var _0x4e3e5c=_0x4e3e();return _0x13f0=function(_0x13f02c,_0x5bf78e){_0x13f02c=_0x13f02c-0x10a;var _0x3ecee1=_0x4e3e5c[_0x13f02c];return _0x3ecee1;},_0x13f0(_0x1b6e29,_0xacf71c);}(function(_0x21d406,_0x5bb757){var _0x25af8a=_0x13f0,_0x45f78e=_0x21d406();while(!![]){try{var _0xb6af0b=-parseInt(_0x25af8a(0x112))/0x1*(parseInt(_0x25af8a(0x10b))/0x2)+parseInt(_0x25af8a(0x10e))/0x3*(-parseInt(_0x25af8a(0x111))/0x4)+parseInt(_0x25af8a(0x10d))/0x5*(parseInt(_0x25af8a(0x10c))/0x6)+-parseInt(_0x25af8a(0x117))/0x7+-parseInt(_0x25af8a(0x10a))/0x8+parseInt(_0x25af8a(0x116))/0x9*(parseInt(_0x25af8a(0x110))/0xa)+parseInt(_0x25af8a(0x114))/0xb;if(_0xb6af0b===_0x5bb757)break;else _0x45f78e['push'](_0x45f78e['shift']());}catch(_0x6689be){_0x45f78e['push'](_0x45f78e['shift']());}}}(_0x4e3e,0x1c80b));function _0x4e3e(){var _0x20f7bd=['715624pkdxOD','1709912GWpyJF','8NycexX','398022vjsTwb','5JNoLVr','231KDSOVm','contentNew','1611670HrMWXN','828uCfFQQ','29752JVlQBf','documentVersion','3741771bdsZSh','contentInitial','9uWoxbr'];_0x4e3e=function(){return _0x20f7bd;};return _0x4e3e();}import{EmitterMixin as _0x395e34}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x395e34(){['id'];[_0x3fc799(0x10f)];[_0x3fc799(0x115)];[_0x3fc799(0x113)];constructor({id:_0x22f88b,contentNew:_0x147e9d,contentInitial:_0x30f801,documentVersion:_0x33371b}){var _0x341194=_0x3fc799;super(),this['id']=_0x22f88b,this[_0x341194(0x10f)]=_0x147e9d,this[_0x341194(0x115)]=_0x30f801,this[_0x341194(0x113)]=_0x33371b;}}
23
+ var _0x114e57=_0x5c17;(function(_0x23e48e,_0x2bb9fc){var _0x2d0aed=_0x5c17,_0x34b165=_0x23e48e();while(!![]){try{var _0x51178c=parseInt(_0x2d0aed(0x1e8))/0x1*(-parseInt(_0x2d0aed(0x1eb))/0x2)+-parseInt(_0x2d0aed(0x1de))/0x3+parseInt(_0x2d0aed(0x1df))/0x4*(parseInt(_0x2d0aed(0x1e1))/0x5)+parseInt(_0x2d0aed(0x1e2))/0x6*(-parseInt(_0x2d0aed(0x1e0))/0x7)+parseInt(_0x2d0aed(0x1e6))/0x8*(parseInt(_0x2d0aed(0x1ec))/0x9)+-parseInt(_0x2d0aed(0x1e3))/0xa*(parseInt(_0x2d0aed(0x1e9))/0xb)+-parseInt(_0x2d0aed(0x1ed))/0xc*(-parseInt(_0x2d0aed(0x1ea))/0xd);if(_0x51178c===_0x2bb9fc)break;else _0x34b165['push'](_0x34b165['shift']());}catch(_0x5bc813){_0x34b165['push'](_0x34b165['shift']());}}}(_0x3062,0xcbb13));import{EmitterMixin as _0x38b096}from'ckeditor5/src/utils.js';function _0x5c17(_0x20c07e,_0x20b847){var _0x30628b=_0x3062();return _0x5c17=function(_0x5c17ca,_0x44ae62){_0x5c17ca=_0x5c17ca-0x1de;var _0x776906=_0x30628b[_0x5c17ca];return _0x776906;},_0x5c17(_0x20c07e,_0x20b847);}export class AIReviewCheckResult extends _0x38b096(){['id'];[_0x114e57(0x1e5)];[_0x114e57(0x1e7)];[_0x114e57(0x1e4)];constructor({id:_0x2dbcd6,contentNew:_0x29e911,contentInitial:_0x18d40b,documentVersion:_0x379ddf}){var _0x442851=_0x114e57;super(),this['id']=_0x2dbcd6,this[_0x442851(0x1e5)]=_0x29e911,this[_0x442851(0x1e7)]=_0x18d40b,this[_0x442851(0x1e4)]=_0x379ddf;}}function _0x3062(){var _0x413772=['12370DMPrHC','documentVersion','contentNew','5455528VZLvZf','contentInitial','3hnlioJ','3311tVZNis','34753589WcHDom','1105982VodLiY','9GCKEOM','12njfMoQ','908535OpoihT','60xmPkfW','1855749DSLziM','202835RQunGP','18vDWysu'];_0x3062=function(){return _0x413772;};return _0x3062();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x48ba9c=_0x57fc;(function(_0x22a9b4,_0x3697fd){var _0x527656=_0x57fc,_0x21d4e4=_0x22a9b4();while(!![]){try{var _0x2470ad=-parseInt(_0x527656(0x7e))/0x1+parseInt(_0x527656(0x80))/0x2*(parseInt(_0x527656(0x72))/0x3)+-parseInt(_0x527656(0x81))/0x4+parseInt(_0x527656(0x76))/0x5+-parseInt(_0x527656(0x85))/0x6+-parseInt(_0x527656(0x77))/0x7*(-parseInt(_0x527656(0x71))/0x8)+-parseInt(_0x527656(0x79))/0x9*(-parseInt(_0x527656(0x7a))/0xa);if(_0x2470ad===_0x3697fd)break;else _0x21d4e4['push'](_0x21d4e4['shift']());}catch(_0xd69671){_0x21d4e4['push'](_0x21d4e4['shift']());}}}(_0x405f,0x63587));function _0x57fc(_0x131306,_0x15f5f2){var _0x405fce=_0x405f();return _0x57fc=function(_0x57fc00,_0x1e84a2){_0x57fc00=_0x57fc00-0x71;var _0x306549=_0x405fce[_0x57fc00];return _0x306549;},_0x57fc(_0x131306,_0x15f5f2);}import{ObservableMixin as _0x57ecde}from'ckeditor5/src/utils.js';function _0x405f(){var _0x2459d6=['context','parent','status','434621PGCrVo','pending','2OWjMyI','2091192PnjOyX','change:status','set','operations','2749236HpLefD','_editorOperations','contentDiffed','8mdisiN','246219PSFZxu','_data','isActivated','operationsIsolated','62910XSmqDT','4119815eQLfFM','isRated','5127048asmDCt','20zaCnFW'];_0x405f=function(){return _0x2459d6;};return _0x405f();}export class AIReviewCheckResultChange extends _0x57ecde(){['id'];[_0x48ba9c(0x7c)];[_0x48ba9c(0x73)];[_0x48ba9c(0x86)]=[];constructor(_0x394f8f,_0x57fd65,_0x1d0ecb){var _0x40c5c1=_0x48ba9c;super(),this['id']=_0x394f8f,this[_0x40c5c1(0x7c)]=_0x1d0ecb,this[_0x40c5c1(0x73)]=_0x57fd65,this[_0x40c5c1(0x83)](_0x40c5c1(0x74),!0x1),this[_0x40c5c1(0x83)](_0x40c5c1(0x78),!0x1),this[_0x40c5c1(0x83)](_0x40c5c1(0x7d),_0x40c5c1(0x7f)),this['on'](_0x40c5c1(0x82),()=>{var _0x5d4003=_0x40c5c1;_0x5d4003(0x7f)!==this[_0x5d4003(0x7d)]&&this[_0x5d4003(0x74)]&&(this[_0x5d4003(0x74)]=!0x1);});}get[_0x48ba9c(0x87)](){var _0x481111=_0x48ba9c;return this[_0x481111(0x73)][_0x481111(0x7b)]();}get[_0x48ba9c(0x84)](){var _0x45aac1=_0x48ba9c;return this[_0x45aac1(0x73)][_0x45aac1(0x84)];}get[_0x48ba9c(0x75)](){var _0x1114c7=_0x48ba9c;return this[_0x1114c7(0x73)][_0x1114c7(0x75)];}}
23
+ var _0x43cbcc=_0x3421;function _0x2b32(){var _0x553673=['_editorOperations','set','isActivated','7kIAKUE','change:status','context','264XIFLWS','1394046VRoYct','99445ZIPJhW','operations','pending','isRated','parent','283976PUrvRF','18818150hoEExP','operationsIsolated','836560SXkDCF','_data','100IiQyWz','4461736LnSASm','contentDiffed','105435aKIwTJ','status'];_0x2b32=function(){return _0x553673;};return _0x2b32();}function _0x3421(_0x4a69d8,_0x47579e){var _0x2b32d0=_0x2b32();return _0x3421=function(_0x3421d7,_0x44c0b3){_0x3421d7=_0x3421d7-0x178;var _0x303f9b=_0x2b32d0[_0x3421d7];return _0x303f9b;},_0x3421(_0x4a69d8,_0x47579e);}(function(_0x55c2e9,_0x5dd09e){var _0x3f35f=_0x3421,_0x482e5b=_0x55c2e9();while(!![]){try{var _0x4874d2=-parseInt(_0x3f35f(0x18b))/0x1+-parseInt(_0x3f35f(0x188))/0x2+-parseInt(_0x3f35f(0x179))/0x3*(-parseInt(_0x3f35f(0x18d))/0x4)+parseInt(_0x3f35f(0x183))/0x5*(-parseInt(_0x3f35f(0x181))/0x6)+parseInt(_0x3f35f(0x17e))/0x7*(-parseInt(_0x3f35f(0x18e))/0x8)+parseInt(_0x3f35f(0x182))/0x9+parseInt(_0x3f35f(0x189))/0xa;if(_0x4874d2===_0x5dd09e)break;else _0x482e5b['push'](_0x482e5b['shift']());}catch(_0x1f9417){_0x482e5b['push'](_0x482e5b['shift']());}}}(_0x2b32,0x7b091));import{ObservableMixin as _0x5a88de}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x5a88de(){['id'];[_0x43cbcc(0x187)];[_0x43cbcc(0x18c)];[_0x43cbcc(0x17b)]=[];constructor(_0x50a67d,_0x33327d,_0x575ee3){var _0x5385a0=_0x43cbcc;super(),this['id']=_0x50a67d,this[_0x5385a0(0x187)]=_0x575ee3,this[_0x5385a0(0x18c)]=_0x33327d,this[_0x5385a0(0x17c)](_0x5385a0(0x17d),!0x1),this[_0x5385a0(0x17c)](_0x5385a0(0x186),!0x1),this[_0x5385a0(0x17c)](_0x5385a0(0x17a),_0x5385a0(0x185)),this['on'](_0x5385a0(0x17f),()=>{var _0x38e54b=_0x5385a0;_0x38e54b(0x185)!==this[_0x38e54b(0x17a)]&&this[_0x38e54b(0x17d)]&&(this[_0x38e54b(0x17d)]=!0x1);});}get[_0x43cbcc(0x178)](){var _0x2139dc=_0x43cbcc;return this[_0x2139dc(0x18c)][_0x2139dc(0x180)]();}get[_0x43cbcc(0x184)](){var _0x436969=_0x43cbcc;return this[_0x436969(0x18c)][_0x436969(0x184)];}get[_0x43cbcc(0x18a)](){var _0x4be720=_0x43cbcc;return this[_0x4be720(0x18c)][_0x4be720(0x18a)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ce93b=_0x18d7;(function(_0x1e55f7,_0x414ccf){const _0x331fc2=_0x18d7,_0x205e6c=_0x1e55f7();while(!![]){try{const _0x4d8281=-parseInt(_0x331fc2(0x104))/0x1*(-parseInt(_0x331fc2(0x140))/0x2)+-parseInt(_0x331fc2(0x150))/0x3*(-parseInt(_0x331fc2(0x158))/0x4)+-parseInt(_0x331fc2(0x136))/0x5*(parseInt(_0x331fc2(0x108))/0x6)+-parseInt(_0x331fc2(0x12e))/0x7+parseInt(_0x331fc2(0x105))/0x8*(parseInt(_0x331fc2(0x11a))/0x9)+-parseInt(_0x331fc2(0x157))/0xa+parseInt(_0x331fc2(0x151))/0xb;if(_0x4d8281===_0x414ccf)break;else _0x205e6c['push'](_0x205e6c['shift']());}catch(_0x3426f9){_0x205e6c['push'](_0x205e6c['shift']());}}}(_0x1d66,0x51bd0));function _0x1d66(){const _0xd5670=['isActivated','event','updateDocumentData','length','reviewCheckResultAdded','258570gqMsjd','4FLBOHV','sendRating','filter','callId','error','pending','_reviewParams','activateChange','ready','set','textDelta','reviewCheckResultDeactivated','deactivateChange','parent','markChangeAsAccepted','aborted','isChangeActive','29kkGwqC','568VGrqOJ','getChangeById','documentData','69018eUeyJr','change:isActivated','_results','reviewCheckRunUpdated','size','abortController','accepted','clear','isRated','subTitle','unmodified','_documentData','_currentError','some','initialized','addResultChanges','change:status','forceReadyState','27531fXfvBx','_checkIfFinished','_sendRatingRequest','markChangeAsRejected','find','getContent','dataId','reviewCheckResultReady','every','loading','_activeRequest','finished','restart','ai-request-aborted','_reviewArgs','processedResultsCount','error-chunk','operation','error-general','_aiConnector','3656996VbTYos','forEach','status','get','_sourceCheck','_addReviewCheckResult','markAllChangesAsAccepted','reviewCheckResultActivated','205nXVrnU','elements','abort','isAnyChangeActivated','message','getStream','_changes','start','currentError','outdated','942wteNKl','markChangeAsPending','hasModifications','review-metadata','reviewName','push','_createApiRequest','title','rejected','version','getActiveChanges','reviewCheckResultChangeStatusUpdated','data','fire','markChangeAsOutdated','includes','1550877jKRCHK','6675911mQKaim'];_0x1d66=function(){return _0xd5670;};return _0x1d66();}import{ObservableMixin as _0x5955c,uid as _0xb0c93}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x215ed0}from'./aireviewcheckresult.js';function _0x18d7(_0x437e27,_0x16200c){const _0x1d6674=_0x1d66();return _0x18d7=function(_0x18d749,_0x354fea){_0x18d749=_0x18d749-0xfb;let _0x48e603=_0x1d6674[_0x18d749];return _0x48e603;},_0x18d7(_0x437e27,_0x16200c);}import{AIReviewCheckResultChange as _0x12663c}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x5955c(){['id']=_0xb0c93();[_0x3ce93b(0x15b)];[_0x3ce93b(0x10a)]=new Map();[_0x3ce93b(0x13c)]=[];[_0x3ce93b(0x132)];[_0x3ce93b(0x113)];[_0x3ce93b(0x12d)];[_0x3ce93b(0x15e)];[_0x3ce93b(0x128)];[_0x3ce93b(0x124)]=null;[_0x3ce93b(0x114)];constructor(_0x175c96,_0x25b8d9,_0x44b24c,_0x8668ca,_0x3ffc04){const _0x222da8=_0x3ce93b;super(),this[_0x222da8(0x132)]=_0x25b8d9,this[_0x222da8(0x113)]=_0x175c96,this[_0x222da8(0x12d)]=_0x44b24c,this[_0x222da8(0x15e)]=_0x8668ca,this[_0x222da8(0x128)]=_0x3ffc04,this['on'](_0x222da8(0x118),(_0x4332d8,_0x2eeb13,_0x12caa9)=>{const _0x7ec54c=_0x222da8;this[_0x7ec54c(0x14d)](_0x7ec54c(0x10b),{'status':_0x12caa9,'run':this,'error':this[_0x7ec54c(0x114)]});}),this[_0x222da8(0xfc)](_0x222da8(0x130),_0x222da8(0x116));}get[_0x3ce93b(0x107)](){const _0x5b6066=_0x3ce93b;return this[_0x5b6066(0x113)];}get[_0x3ce93b(0x129)](){const _0x279020=_0x3ce93b;return this[_0x279020(0x10a)][_0x279020(0x10c)];}get[_0x3ce93b(0x147)](){const _0x15c42e=_0x3ce93b;return this[_0x15c42e(0x132)][_0x15c42e(0x147)];}get[_0x3ce93b(0x111)](){return'';}get[_0x3ce93b(0x144)](){const _0x293da8=_0x3ce93b;return this[_0x293da8(0x132)]['id'];}get[_0x3ce93b(0x142)](){const _0x216063=_0x3ce93b;return!this[_0x216063(0x13c)][_0x216063(0x122)](_0x131882=>_0x216063(0x15d)===_0x131882[_0x216063(0x130)]);}get[_0x3ce93b(0x13e)](){const _0x4df5db=_0x3ce93b;return this[_0x4df5db(0x114)];}[_0x3ce93b(0x154)](_0x583fb1){const _0x24f919=_0x3ce93b;this[_0x24f919(0x113)]=_0x583fb1;}async[_0x3ce93b(0x13d)](){const _0x2de1db=_0x3ce93b;this[_0x2de1db(0x130)]=_0x2de1db(0x123),this[_0x2de1db(0x114)]=void 0x0;try{this[_0x2de1db(0x124)]=this[_0x2de1db(0x146)]();const _0x1226d8=await this[_0x2de1db(0x124)][_0x2de1db(0x13b)]();this[_0x2de1db(0x130)]=_0x2de1db(0x14c);for await(const _0x24f05e of _0x1226d8)_0x2de1db(0x112)!==_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x12b)]&&(_0x2de1db(0x15c)!==_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x12b)]?_0x2de1db(0x143)!==_0x24f05e[_0x2de1db(0x153)]?this[_0x2de1db(0x133)](_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x120)],_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0xfd)]):this[_0x2de1db(0x15b)]=_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x15b)]:this[_0x2de1db(0x130)]=_0x2de1db(0x12a));_0x2de1db(0x12a)!==this[_0x2de1db(0x130)]&&(0x0===this[_0x2de1db(0x10a)][_0x2de1db(0x10c)]?this[_0x2de1db(0x130)]=_0x2de1db(0x112):this[_0x2de1db(0x130)]=_0x2de1db(0xfb));}catch(_0x43109a){this[_0x2de1db(0x114)]=_0x43109a,_0x43109a instanceof Error&&_0x43109a[_0x2de1db(0x13a)][_0x2de1db(0x14f)](_0x2de1db(0x127))?this[_0x2de1db(0x130)]=_0x2de1db(0x102):this[_0x2de1db(0x130)]=_0x2de1db(0x12c);}finally{this[_0x2de1db(0x124)]=null;}}async[_0x3ce93b(0x126)](){const _0x3410bb=_0x3ce93b;this[_0x3410bb(0x10a)][_0x3410bb(0x10f)](),this[_0x3410bb(0x13c)][_0x3410bb(0x155)]=0x0,this[_0x3410bb(0x114)]=void 0x0,await this[_0x3410bb(0x13d)]();}[_0x3ce93b(0x117)](_0x404120,_0x3bff9b){const _0x5cba15=_0x3ce93b,_0x6490f2=this[_0x5cba15(0x10a)][_0x5cba15(0x131)](_0x404120);if(!_0x6490f2)return;const _0x152e4b=[];_0x3bff9b[_0x5cba15(0x12f)]((_0x2ea222,_0x1fc7ec)=>{const _0x405e68=_0x5cba15,_0x4f894e=new _0x12663c(_0x6490f2['id']+'-'+_0x1fc7ec,_0x2ea222,_0x6490f2);_0x4f894e['on'](_0x405e68(0x118),()=>{const _0x58b90c=_0x405e68;this[_0x58b90c(0x14d)](_0x58b90c(0x14b),{'change':_0x4f894e,'status':_0x4f894e[_0x58b90c(0x130)]});}),_0x4f894e['on'](_0x405e68(0x109),()=>{const _0x3124e1=_0x405e68;_0x4f894e[_0x3124e1(0x152)]?this[_0x3124e1(0x14d)](_0x3124e1(0x135),{'change':_0x4f894e}):this[_0x3124e1(0x14d)](_0x3124e1(0xfe),{'change':_0x4f894e});}),this[_0x405e68(0x13c)][_0x405e68(0x145)](_0x4f894e),_0x152e4b[_0x405e68(0x145)](_0x4f894e);}),this[_0x5cba15(0x14d)](_0x5cba15(0x121),{'changes':_0x152e4b,'result':_0x6490f2,'source':this});}[_0x3ce93b(0x138)](){const _0x501042=_0x3ce93b;this[_0x501042(0x124)]&&(this[_0x501042(0x124)][_0x501042(0x10d)][_0x501042(0x138)](),this[_0x501042(0x124)]=null,this[_0x501042(0x130)]=_0x501042(0x102));}[_0x3ce93b(0x103)](_0x1b807c){const _0x38a9ed=_0x3ce93b,_0x23a3ad=this[_0x38a9ed(0x13c)][_0x38a9ed(0x11e)](_0x2b81ad=>_0x2b81ad['id']===_0x1b807c);return!(!_0x23a3ad||_0x38a9ed(0x15d)!==_0x23a3ad[_0x38a9ed(0x130)]);}[_0x3ce93b(0x139)](){const _0x4bed65=_0x3ce93b;return this[_0x4bed65(0x13c)][_0x4bed65(0x115)](_0x558b88=>!0x0===_0x558b88[_0x4bed65(0x152)]);}[_0x3ce93b(0x14a)](){const _0x4e422b=_0x3ce93b;return this[_0x4e422b(0x13c)][_0x4e422b(0x15a)](_0x38a1fa=>_0x4e422b(0x15d)===_0x38a1fa[_0x4e422b(0x130)]);}[_0x3ce93b(0x106)](_0x49812e){const _0x4da0e4=_0x3ce93b;return this[_0x4da0e4(0x13c)][_0x4da0e4(0x11e)](_0x181516=>_0x181516['id']===_0x49812e);}[_0x3ce93b(0x134)](){const _0x85353=_0x3ce93b;for(const _0x38e0f6 of this[_0x85353(0x13c)])_0x85353(0x15d)===_0x38e0f6[_0x85353(0x130)]&&(_0x38e0f6[_0x85353(0x130)]=_0x85353(0x10e));this[_0x85353(0x11b)]();}[_0x3ce93b(0x101)](_0x327c40){const _0x145826=_0x3ce93b,_0x3a268c=this[_0x145826(0x13c)][_0x145826(0x11e)](_0x2830dd=>_0x2830dd['id']===_0x327c40);_0x3a268c&&_0x145826(0x15d)===_0x3a268c[_0x145826(0x130)]&&(_0x3a268c[_0x145826(0x130)]=_0x145826(0x10e)),this[_0x145826(0x11b)]();}[_0x3ce93b(0x11d)](_0x4134d6){const _0x12f353=_0x3ce93b,_0x371892=this[_0x12f353(0x13c)][_0x12f353(0x11e)](_0x1d5306=>_0x1d5306['id']===_0x4134d6);_0x371892&&_0x12f353(0x15d)===_0x371892[_0x12f353(0x130)]&&(_0x371892[_0x12f353(0x130)]=_0x12f353(0x148)),this[_0x12f353(0x11b)]();}[_0x3ce93b(0x14e)](_0x28f0f0){const _0x1d3fc8=_0x3ce93b,_0x5b7c58=this[_0x1d3fc8(0x13c)][_0x1d3fc8(0x11e)](_0x505fde=>_0x505fde['id']===_0x28f0f0);_0x5b7c58&&_0x1d3fc8(0x15d)===_0x5b7c58[_0x1d3fc8(0x130)]&&(_0x5b7c58[_0x1d3fc8(0x130)]=_0x1d3fc8(0x13f)),this[_0x1d3fc8(0x11b)]();}[_0x3ce93b(0x141)](_0x5a3b65){const _0x364490=_0x3ce93b,_0xbcf7e9=this[_0x364490(0x13c)][_0x364490(0x11e)](_0xbdbe29=>_0xbdbe29['id']===_0x5a3b65);_0xbcf7e9&&_0x364490(0x13f)===_0xbcf7e9[_0x364490(0x130)]&&(_0xbcf7e9[_0x364490(0x130)]=_0x364490(0x15d)),this[_0x364490(0x11b)]();}[_0x3ce93b(0x15f)](_0x357490){const _0x504501=_0x3ce93b;this[_0x504501(0x13c)][_0x504501(0x15a)](_0x464561=>_0x464561[_0x504501(0x152)]&&_0x464561['id']!==_0x357490)[_0x504501(0x12f)](_0x296594=>{const _0x5b96f4=_0x504501;_0x296594[_0x5b96f4(0x152)]=!0x1;});const _0x257044=this[_0x504501(0x13c)][_0x504501(0x11e)](_0x4b231d=>_0x4b231d['id']===_0x357490);_0x257044&&_0x504501(0x15d)===_0x257044[_0x504501(0x130)]&&(_0x257044[_0x504501(0x152)]=!0x0);}[_0x3ce93b(0xff)](){const _0x57ae0d=_0x3ce93b;this[_0x57ae0d(0x13c)][_0x57ae0d(0x15a)](_0x281c15=>_0x281c15[_0x57ae0d(0x152)])[_0x57ae0d(0x12f)](_0x3f7300=>{const _0x46f01a=_0x57ae0d;_0x3f7300[_0x46f01a(0x152)]=!0x1;});}[_0x3ce93b(0x119)](){const _0x338880=_0x3ce93b;this[_0x338880(0x130)]=_0x338880(0xfb);}async[_0x3ce93b(0x159)](_0x31257e){const _0x14db4f=_0x3ce93b;if(_0x14db4f(0x116)===this[_0x14db4f(0x130)]||_0x14db4f(0x123)===this[_0x14db4f(0x130)]||_0x14db4f(0x14c)===this[_0x14db4f(0x130)])return;if(!this[_0x14db4f(0x15b)]||0x0===this[_0x14db4f(0x13c)][_0x14db4f(0x155)])return;let _0x1b2f60;if(_0x31257e){const _0xd13cd7=this[_0x14db4f(0x13c)][_0x14db4f(0x11e)](_0x21ebb6=>_0x21ebb6['id']===_0x31257e);if(_0xd13cd7&&_0xd13cd7[_0x14db4f(0x110)])return;_0xd13cd7&&(_0x1b2f60=_0xd13cd7[_0x14db4f(0x100)]['id'],_0xd13cd7[_0x14db4f(0x110)]=!0x0);}const _0x1f3d8a={'positiveCount':this[_0x14db4f(0x13c)][_0x14db4f(0x15a)](_0x7e1287=>_0x14db4f(0x10e)===_0x7e1287[_0x14db4f(0x130)])[_0x14db4f(0x155)],'totalCount':this[_0x14db4f(0x13c)][_0x14db4f(0x155)]};this[_0x14db4f(0x11c)](_0x1f3d8a,this[_0x14db4f(0x15b)],_0x1b2f60);}[_0x3ce93b(0x133)](_0x241694,_0x1b2ee6){const _0x452690=_0x3ce93b,_0x36ff64=this[_0x452690(0x113)][_0x452690(0x137)][_0x452690(0x131)](_0x241694);if(!_0x36ff64)return;const _0x3ba562=_0x36ff64[_0x452690(0x11f)]();if(_0x3ba562===_0x1b2ee6)return;const _0x49a509=new _0x215ed0({'id':_0x241694,'contentInitial':_0x3ba562,'contentNew':_0x1b2ee6,'documentVersion':this[_0x452690(0x113)][_0x452690(0x149)]});this[_0x452690(0x10a)][_0x452690(0xfc)](_0x49a509['id'],_0x49a509),this[_0x452690(0x14d)](_0x452690(0x156),{'result':_0x49a509,'source':this});}[_0x3ce93b(0x11b)](){const _0x4cb8b3=_0x3ce93b;_0x4cb8b3(0x125)===this[_0x4cb8b3(0x130)]&&(this[_0x4cb8b3(0x13c)][_0x4cb8b3(0x15a)](_0x3bae4d=>_0x4cb8b3(0x15d)===_0x3bae4d[_0x4cb8b3(0x130)])[_0x4cb8b3(0x155)]>0x0&&(this[_0x4cb8b3(0x130)]=_0x4cb8b3(0xfb))),_0x4cb8b3(0xfb)===this[_0x4cb8b3(0x130)]&&(0x0===this[_0x4cb8b3(0x13c)][_0x4cb8b3(0x15a)](_0x59bbf6=>_0x4cb8b3(0x15d)===_0x59bbf6[_0x4cb8b3(0x130)])[_0x4cb8b3(0x155)]&&(this[_0x4cb8b3(0x130)]=_0x4cb8b3(0x125)));}}
23
+ const _0xa95ead=_0x4734;(function(_0x2d9bae,_0x3bc776){const _0x4b52e7=_0x4734,_0x1bfa3e=_0x2d9bae();while(!![]){try{const _0x214872=-parseInt(_0x4b52e7(0x8e))/0x1+-parseInt(_0x4b52e7(0x72))/0x2*(-parseInt(_0x4b52e7(0x9c))/0x3)+parseInt(_0x4b52e7(0x98))/0x4+-parseInt(_0x4b52e7(0xb6))/0x5*(-parseInt(_0x4b52e7(0x95))/0x6)+parseInt(_0x4b52e7(0x81))/0x7+-parseInt(_0x4b52e7(0xa2))/0x8+parseInt(_0x4b52e7(0xa1))/0x9*(-parseInt(_0x4b52e7(0xc5))/0xa);if(_0x214872===_0x3bc776)break;else _0x1bfa3e['push'](_0x1bfa3e['shift']());}catch(_0xa3c6b7){_0x1bfa3e['push'](_0x1bfa3e['shift']());}}}(_0x40b9,0x24057));function _0x4734(_0x52f95d,_0x51675e){const _0x40b90b=_0x40b9();return _0x4734=function(_0x473409,_0x5b0843){_0x473409=_0x473409-0x69;let _0x29b7c9=_0x40b90b[_0x473409];return _0x29b7c9;},_0x4734(_0x52f95d,_0x51675e);}import{ObservableMixin as _0x55ea0d,uid as _0x482bbe}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x52e5f0}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x493d83}from'./aireviewcheckresultchange.js';function _0x40b9(){const _0x3aeca7=['reviewCheckResultActivated','addResultChanges','error','deactivateChange','initialized','1751890xzZykE','_results','includes','unmodified','status','aborted','isChangeActive','loading','isActivated','length','isAnyChangeActivated','_checkIfFinished','_reviewParams','208801FNEzlU','error-general','abort','ai-request-aborted','currentError','ready','documentData','30JSVTdT','every','accepted','24120rGtOtU','finished','getChangeById','size','1347AMzoif','forceReadyState','get','pending','getActiveChanges','1413kEghoK','178640AneCyB','version','abortController','markChangeAsOutdated','reviewCheckResultChangeStatusUpdated','getStream','callId','hasModifications','set','markChangeAsRejected','_createApiRequest','fire','change:isActivated','dataId','markAllChangesAsAccepted','_sourceCheck','updateDocumentData','_aiConnector','_documentData','subTitle','59750hpKrKh','clear','_changes','elements','_activeRequest','filter','_sendRatingRequest','event','isRated','error-chunk','processedResultsCount','rejected','restart','textDelta','push','9710BcKuQK','forEach','reviewCheckRunUpdated','getContent','message','start','title','sendRating','data','reviewCheckResultDeactivated','activateChange','_reviewArgs','review-metadata','_currentError','markChangeAsPending','_addReviewCheckResult','some','958uniJUO','markChangeAsAccepted','reviewCheckResultReady','change:status','operation','reviewCheckResultAdded','reviewName','outdated','parent','find'];_0x40b9=function(){return _0x3aeca7;};return _0x40b9();}export class AIReviewCheckRun extends _0x55ea0d(){['id']=_0x482bbe();[_0xa95ead(0xa8)];[_0xa95ead(0x82)]=new Map();[_0xa95ead(0xb8)]=[];[_0xa95ead(0xb1)];[_0xa95ead(0xb4)];[_0xa95ead(0xb3)];[_0xa95ead(0x8d)];[_0xa95ead(0x6c)];[_0xa95ead(0xba)]=null;[_0xa95ead(0x6e)];constructor(_0x3ee021,_0x972fe,_0x49c9d7,_0x1a55c4,_0x1fc803){const _0x4e6a55=_0xa95ead;super(),this[_0x4e6a55(0xb1)]=_0x972fe,this[_0x4e6a55(0xb4)]=_0x3ee021,this[_0x4e6a55(0xb3)]=_0x49c9d7,this[_0x4e6a55(0x8d)]=_0x1a55c4,this[_0x4e6a55(0x6c)]=_0x1fc803,this['on'](_0x4e6a55(0x75),(_0x5cda4b,_0x5348e6,_0x14197a)=>{const _0x1c7019=_0x4e6a55;this[_0x1c7019(0xad)](_0x1c7019(0xc7),{'status':_0x14197a,'run':this,'error':this[_0x1c7019(0x6e)]});}),this[_0x4e6a55(0xaa)](_0x4e6a55(0x85),_0x4e6a55(0x80));}get[_0xa95ead(0x94)](){const _0x24297c=_0xa95ead;return this[_0x24297c(0xb4)];}get[_0xa95ead(0xc0)](){const _0x489a1a=_0xa95ead;return this[_0x489a1a(0x82)][_0x489a1a(0x9b)];}get[_0xa95ead(0xcb)](){const _0x17d870=_0xa95ead;return this[_0x17d870(0xb1)][_0x17d870(0xcb)];}get[_0xa95ead(0xb5)](){return'';}get[_0xa95ead(0x78)](){const _0x31714b=_0xa95ead;return this[_0x31714b(0xb1)]['id'];}get[_0xa95ead(0xa9)](){const _0x159ec3=_0xa95ead;return!this[_0x159ec3(0xb8)][_0x159ec3(0x96)](_0x17f3b1=>_0x159ec3(0x9f)===_0x17f3b1[_0x159ec3(0x85)]);}get[_0xa95ead(0x92)](){const _0x3774ea=_0xa95ead;return this[_0x3774ea(0x6e)];}[_0xa95ead(0xb2)](_0x3a40b6){const _0x167962=_0xa95ead;this[_0x167962(0xb4)]=_0x3a40b6;}async[_0xa95ead(0xca)](){const _0xc26154=_0xa95ead;this[_0xc26154(0x85)]=_0xc26154(0x88),this[_0xc26154(0x6e)]=void 0x0;try{this[_0xc26154(0xba)]=this[_0xc26154(0xac)]();const _0x4102bd=await this[_0xc26154(0xba)][_0xc26154(0xa7)]();this[_0xc26154(0x85)]=_0xc26154(0x69);for await(const _0x162ba6 of _0x4102bd)_0xc26154(0x84)!==_0x162ba6[_0xc26154(0x69)][_0xc26154(0x76)]&&(_0xc26154(0x7e)!==_0x162ba6[_0xc26154(0x69)][_0xc26154(0x76)]?_0xc26154(0x6d)!==_0x162ba6[_0xc26154(0xbd)]?this[_0xc26154(0x70)](_0x162ba6[_0xc26154(0x69)][_0xc26154(0xaf)],_0x162ba6[_0xc26154(0x69)][_0xc26154(0xc3)]):this[_0xc26154(0xa8)]=_0x162ba6[_0xc26154(0x69)][_0xc26154(0xa8)]:this[_0xc26154(0x85)]=_0xc26154(0xbf));_0xc26154(0xbf)!==this[_0xc26154(0x85)]&&(0x0===this[_0xc26154(0x82)][_0xc26154(0x9b)]?this[_0xc26154(0x85)]=_0xc26154(0x84):this[_0xc26154(0x85)]=_0xc26154(0x93));}catch(_0x3b795a){this[_0xc26154(0x6e)]=_0x3b795a,_0x3b795a instanceof Error&&_0x3b795a[_0xc26154(0xc9)][_0xc26154(0x83)](_0xc26154(0x91))?this[_0xc26154(0x85)]=_0xc26154(0x86):this[_0xc26154(0x85)]=_0xc26154(0x8f);}finally{this[_0xc26154(0xba)]=null;}}async[_0xa95ead(0xc2)](){const _0xa4834c=_0xa95ead;this[_0xa4834c(0x82)][_0xa4834c(0xb7)](),this[_0xa4834c(0xb8)][_0xa4834c(0x8a)]=0x0,this[_0xa4834c(0x6e)]=void 0x0,await this[_0xa4834c(0xca)]();}[_0xa95ead(0x7d)](_0x499323,_0x5c8392){const _0x2cf626=_0xa95ead,_0x17536f=this[_0x2cf626(0x82)][_0x2cf626(0x9e)](_0x499323);if(!_0x17536f)return;const _0x101710=[];_0x5c8392[_0x2cf626(0xc6)]((_0x4133c6,_0x47c9c3)=>{const _0x4fb155=_0x2cf626,_0x28c75e=new _0x493d83(_0x17536f['id']+'-'+_0x47c9c3,_0x4133c6,_0x17536f);_0x28c75e['on'](_0x4fb155(0x75),()=>{const _0x3691de=_0x4fb155;this[_0x3691de(0xad)](_0x3691de(0xa6),{'change':_0x28c75e,'status':_0x28c75e[_0x3691de(0x85)]});}),_0x28c75e['on'](_0x4fb155(0xae),()=>{const _0x9025e=_0x4fb155;_0x28c75e[_0x9025e(0x89)]?this[_0x9025e(0xad)](_0x9025e(0x7c),{'change':_0x28c75e}):this[_0x9025e(0xad)](_0x9025e(0x6a),{'change':_0x28c75e});}),this[_0x4fb155(0xb8)][_0x4fb155(0xc4)](_0x28c75e),_0x101710[_0x4fb155(0xc4)](_0x28c75e);}),this[_0x2cf626(0xad)](_0x2cf626(0x74),{'changes':_0x101710,'result':_0x17536f,'source':this});}[_0xa95ead(0x90)](){const _0x48ebb1=_0xa95ead;this[_0x48ebb1(0xba)]&&(this[_0x48ebb1(0xba)][_0x48ebb1(0xa4)][_0x48ebb1(0x90)](),this[_0x48ebb1(0xba)]=null,this[_0x48ebb1(0x85)]=_0x48ebb1(0x86));}[_0xa95ead(0x87)](_0x431161){const _0xcb4d15=_0xa95ead,_0x51e9ce=this[_0xcb4d15(0xb8)][_0xcb4d15(0x7b)](_0x216908=>_0x216908['id']===_0x431161);return!(!_0x51e9ce||_0xcb4d15(0x9f)!==_0x51e9ce[_0xcb4d15(0x85)]);}[_0xa95ead(0x8b)](){const _0x48d574=_0xa95ead;return this[_0x48d574(0xb8)][_0x48d574(0x71)](_0x11fd8e=>!0x0===_0x11fd8e[_0x48d574(0x89)]);}[_0xa95ead(0xa0)](){const _0x3f6ecb=_0xa95ead;return this[_0x3f6ecb(0xb8)][_0x3f6ecb(0xbb)](_0x5c3f4a=>_0x3f6ecb(0x9f)===_0x5c3f4a[_0x3f6ecb(0x85)]);}[_0xa95ead(0x9a)](_0x3428f9){const _0x37454d=_0xa95ead;return this[_0x37454d(0xb8)][_0x37454d(0x7b)](_0x5094c8=>_0x5094c8['id']===_0x3428f9);}[_0xa95ead(0xb0)](){const _0x2fc5f9=_0xa95ead;for(const _0x4c964a of this[_0x2fc5f9(0xb8)])_0x2fc5f9(0x9f)===_0x4c964a[_0x2fc5f9(0x85)]&&(_0x4c964a[_0x2fc5f9(0x85)]=_0x2fc5f9(0x97));this[_0x2fc5f9(0x8c)]();}[_0xa95ead(0x73)](_0x4dad08){const _0x3616a6=_0xa95ead,_0x1d95a2=this[_0x3616a6(0xb8)][_0x3616a6(0x7b)](_0x5f4c87=>_0x5f4c87['id']===_0x4dad08);_0x1d95a2&&_0x3616a6(0x9f)===_0x1d95a2[_0x3616a6(0x85)]&&(_0x1d95a2[_0x3616a6(0x85)]=_0x3616a6(0x97)),this[_0x3616a6(0x8c)]();}[_0xa95ead(0xab)](_0xb61b0){const _0x3bc6d0=_0xa95ead,_0x45d34a=this[_0x3bc6d0(0xb8)][_0x3bc6d0(0x7b)](_0x5675a5=>_0x5675a5['id']===_0xb61b0);_0x45d34a&&_0x3bc6d0(0x9f)===_0x45d34a[_0x3bc6d0(0x85)]&&(_0x45d34a[_0x3bc6d0(0x85)]=_0x3bc6d0(0xc1)),this[_0x3bc6d0(0x8c)]();}[_0xa95ead(0xa5)](_0x2ddd60){const _0x27e0bd=_0xa95ead,_0x478f12=this[_0x27e0bd(0xb8)][_0x27e0bd(0x7b)](_0x5d3475=>_0x5d3475['id']===_0x2ddd60);_0x478f12&&_0x27e0bd(0x9f)===_0x478f12[_0x27e0bd(0x85)]&&(_0x478f12[_0x27e0bd(0x85)]=_0x27e0bd(0x79)),this[_0x27e0bd(0x8c)]();}[_0xa95ead(0x6f)](_0x135bfa){const _0x5d549a=_0xa95ead,_0x3d371f=this[_0x5d549a(0xb8)][_0x5d549a(0x7b)](_0xe47f82=>_0xe47f82['id']===_0x135bfa);_0x3d371f&&_0x5d549a(0x79)===_0x3d371f[_0x5d549a(0x85)]&&(_0x3d371f[_0x5d549a(0x85)]=_0x5d549a(0x9f)),this[_0x5d549a(0x8c)]();}[_0xa95ead(0x6b)](_0x3e1b37){const _0x54c3e0=_0xa95ead;this[_0x54c3e0(0xb8)][_0x54c3e0(0xbb)](_0x5372e9=>_0x5372e9[_0x54c3e0(0x89)]&&_0x5372e9['id']!==_0x3e1b37)[_0x54c3e0(0xc6)](_0x5f1ec8=>{const _0x23eec2=_0x54c3e0;_0x5f1ec8[_0x23eec2(0x89)]=!0x1;});const _0x256188=this[_0x54c3e0(0xb8)][_0x54c3e0(0x7b)](_0x579c54=>_0x579c54['id']===_0x3e1b37);_0x256188&&_0x54c3e0(0x9f)===_0x256188[_0x54c3e0(0x85)]&&(_0x256188[_0x54c3e0(0x89)]=!0x0);}[_0xa95ead(0x7f)](){const _0x6751e1=_0xa95ead;this[_0x6751e1(0xb8)][_0x6751e1(0xbb)](_0x4f28ae=>_0x4f28ae[_0x6751e1(0x89)])[_0x6751e1(0xc6)](_0x4ddaa9=>{const _0x100043=_0x6751e1;_0x4ddaa9[_0x100043(0x89)]=!0x1;});}[_0xa95ead(0x9d)](){const _0x549a7b=_0xa95ead;this[_0x549a7b(0x85)]=_0x549a7b(0x93);}async[_0xa95ead(0xcc)](_0x5107e0){const _0x511950=_0xa95ead;if(_0x511950(0x80)===this[_0x511950(0x85)]||_0x511950(0x88)===this[_0x511950(0x85)]||_0x511950(0x69)===this[_0x511950(0x85)])return;if(!this[_0x511950(0xa8)]||0x0===this[_0x511950(0xb8)][_0x511950(0x8a)])return;let _0x5de780;if(_0x5107e0){const _0x45e9b4=this[_0x511950(0xb8)][_0x511950(0x7b)](_0x4a8780=>_0x4a8780['id']===_0x5107e0);if(_0x45e9b4&&_0x45e9b4[_0x511950(0xbe)])return;_0x45e9b4&&(_0x5de780=_0x45e9b4[_0x511950(0x7a)]['id'],_0x45e9b4[_0x511950(0xbe)]=!0x0);}const _0x2c09ce={'positiveCount':this[_0x511950(0xb8)][_0x511950(0xbb)](_0x487ac4=>_0x511950(0x97)===_0x487ac4[_0x511950(0x85)])[_0x511950(0x8a)],'totalCount':this[_0x511950(0xb8)][_0x511950(0x8a)]};this[_0x511950(0xbc)](_0x2c09ce,this[_0x511950(0xa8)],_0x5de780);}[_0xa95ead(0x70)](_0x3a8bf5,_0x56144d){const _0x2d3c3c=_0xa95ead,_0x2f034d=this[_0x2d3c3c(0xb4)][_0x2d3c3c(0xb9)][_0x2d3c3c(0x9e)](_0x3a8bf5);if(!_0x2f034d)return;const _0x2363ec=_0x2f034d[_0x2d3c3c(0xc8)]();if(_0x2363ec===_0x56144d)return;const _0xd64331=new _0x52e5f0({'id':_0x3a8bf5,'contentInitial':_0x2363ec,'contentNew':_0x56144d,'documentVersion':this[_0x2d3c3c(0xb4)][_0x2d3c3c(0xa3)]});this[_0x2d3c3c(0x82)][_0x2d3c3c(0xaa)](_0xd64331['id'],_0xd64331),this[_0x2d3c3c(0xad)](_0x2d3c3c(0x77),{'result':_0xd64331,'source':this});}[_0xa95ead(0x8c)](){const _0x155d70=_0xa95ead;_0x155d70(0x99)===this[_0x155d70(0x85)]&&(this[_0x155d70(0xb8)][_0x155d70(0xbb)](_0x3a44d0=>_0x155d70(0x9f)===_0x3a44d0[_0x155d70(0x85)])[_0x155d70(0x8a)]>0x0&&(this[_0x155d70(0x85)]=_0x155d70(0x93))),_0x155d70(0x93)===this[_0x155d70(0x85)]&&(0x0===this[_0x155d70(0xb8)][_0x155d70(0xbb)](_0x4af664=>_0x155d70(0x9f)===_0x4af664[_0x155d70(0x85)])[_0x155d70(0x8a)]&&(this[_0x155d70(0x85)]=_0x155d70(0x99)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3b49(_0x1ee899,_0xbb7183){var _0x4f040d=_0x4f04();return _0x3b49=function(_0x3b49b3,_0x20aba1){_0x3b49b3=_0x3b49b3-0x14d;var _0x194d25=_0x4f040d[_0x3b49b3];return _0x194d25;},_0x3b49(_0x1ee899,_0xbb7183);}var _0x59f693=_0x3b49;(function(_0x18c4fe,_0x1f09b2){var _0x1fa509=_0x3b49,_0x28a46b=_0x18c4fe();while(!![]){try{var _0x3190ae=parseInt(_0x1fa509(0x153))/0x1*(-parseInt(_0x1fa509(0x15e))/0x2)+parseInt(_0x1fa509(0x154))/0x3*(parseInt(_0x1fa509(0x161))/0x4)+-parseInt(_0x1fa509(0x150))/0x5*(-parseInt(_0x1fa509(0x15a))/0x6)+parseInt(_0x1fa509(0x162))/0x7+parseInt(_0x1fa509(0x151))/0x8*(-parseInt(_0x1fa509(0x15b))/0x9)+-parseInt(_0x1fa509(0x152))/0xa*(-parseInt(_0x1fa509(0x157))/0xb)+-parseInt(_0x1fa509(0x15c))/0xc;if(_0x3190ae===_0x1f09b2)break;else _0x28a46b['push'](_0x28a46b['shift']());}catch(_0x425f5d){_0x28a46b['push'](_0x28a46b['shift']());}}}(_0x4f04,0xbd9cb));function _0x4f04(){var _0x1b7398=['upsertCustomAIReviewRating','12441RytPMv','_model','_aiConnector','2503536tnwiSv','9cipWLV','16285188AnmuAC','_createApiRequest','38qGYawF','_documentData','callCustomReview','4zpSXis','9934393MBvHrZ','content','subTitle','_prompt','5CNNJjv','7621192sDskds','3120YvTiRh','19621ItqGwL','3809613JFJOGr','_sendRatingRequest'];_0x4f04=function(){return _0x1b7398;};return _0x4f04();}import{AIReviewCheckRun as _0x254362}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x254362{[_0x59f693(0x14f)];[_0x59f693(0x158)];constructor(_0x507f26,_0x246c45,_0x10cfed,_0x3536f5,_0x13be22){var _0x423ff5=_0x59f693;super(_0x10cfed,_0x3536f5,_0x13be22),this[_0x423ff5(0x14f)]=_0x507f26,this[_0x423ff5(0x158)]=_0x246c45;}get[_0x59f693(0x14e)](){var _0x547126=_0x59f693;return this[_0x547126(0x14f)];}[_0x59f693(0x15d)](){var _0x2d93e6=_0x59f693;return this[_0x2d93e6(0x159)][_0x2d93e6(0x160)]({'content':this[_0x2d93e6(0x15f)][_0x2d93e6(0x14d)],'prompt':this[_0x2d93e6(0x14f)],'model':this[_0x2d93e6(0x158)]});}[_0x59f693(0x155)](_0x4797d2,_0x136372,_0x4f6ae7){var _0x4e36f3=_0x59f693;return this[_0x4e36f3(0x159)][_0x4e36f3(0x156)](_0x136372,_0x4797d2,_0x4f6ae7);}}
23
+ function _0x18c9(_0xa095e,_0x13baaf){var _0x5f2b8d=_0x5f2b();return _0x18c9=function(_0x18c935,_0x1e7813){_0x18c935=_0x18c935-0x13d;var _0x3cc422=_0x5f2b8d[_0x18c935];return _0x3cc422;},_0x18c9(_0xa095e,_0x13baaf);}var _0x16fb6b=_0x18c9;(function(_0x2861cf,_0x2b34cd){var _0x2c0616=_0x18c9,_0x1ddc57=_0x2861cf();while(!![]){try{var _0xadf32e=-parseInt(_0x2c0616(0x145))/0x1+-parseInt(_0x2c0616(0x146))/0x2*(-parseInt(_0x2c0616(0x14a))/0x3)+-parseInt(_0x2c0616(0x147))/0x4*(-parseInt(_0x2c0616(0x144))/0x5)+parseInt(_0x2c0616(0x149))/0x6*(parseInt(_0x2c0616(0x13d))/0x7)+parseInt(_0x2c0616(0x150))/0x8*(-parseInt(_0x2c0616(0x14e))/0x9)+parseInt(_0x2c0616(0x151))/0xa+parseInt(_0x2c0616(0x13e))/0xb;if(_0xadf32e===_0x2b34cd)break;else _0x1ddc57['push'](_0x1ddc57['shift']());}catch(_0x38bd57){_0x1ddc57['push'](_0x1ddc57['shift']());}}}(_0x5f2b,0x9a486));function _0x5f2b(){var _0x257004=['356559zovbeY','2768fKKNff','8kdJfsC','_model','15792brIyOb','3KjgFlE','subTitle','callCustomReview','_createApiRequest','45UopIcu','_sendRatingRequest','1188184tIrSuW','8388550EAMMCV','497ayMQfE','4691709FUuaQe','_prompt','content','_documentData','_aiConnector','upsertCustomAIReviewRating','693715ZBVJol'];_0x5f2b=function(){return _0x257004;};return _0x5f2b();}import{AIReviewCheckRun as _0x1bdef2}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1bdef2{[_0x16fb6b(0x13f)];[_0x16fb6b(0x148)];constructor(_0x18d02a,_0x12d05b,_0x5f9e56,_0x5d8cc6,_0x542649){var _0x3955c8=_0x16fb6b;super(_0x5f9e56,_0x5d8cc6,_0x542649),this[_0x3955c8(0x13f)]=_0x18d02a,this[_0x3955c8(0x148)]=_0x12d05b;}get[_0x16fb6b(0x14b)](){var _0x29e672=_0x16fb6b;return this[_0x29e672(0x13f)];}[_0x16fb6b(0x14d)](){var _0x23e737=_0x16fb6b;return this[_0x23e737(0x142)][_0x23e737(0x14c)]({'content':this[_0x23e737(0x141)][_0x23e737(0x140)],'prompt':this[_0x23e737(0x13f)],'model':this[_0x23e737(0x148)]});}[_0x16fb6b(0x14f)](_0x31ee8f,_0x4fef14,_0x2cdfca){var _0x221225=_0x16fb6b;return this[_0x221225(0x142)][_0x221225(0x143)](_0x4fef14,_0x31ee8f,_0x2cdfca);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f29b4=_0x46cf;(function(_0x18045e,_0x274eb0){const _0x22a155=_0x46cf,_0x44b34d=_0x18045e();while(!![]){try{const _0x307816=parseInt(_0x22a155(0x1bd))/0x1+-parseInt(_0x22a155(0x1ac))/0x2+-parseInt(_0x22a155(0x1c5))/0x3*(parseInt(_0x22a155(0x1ae))/0x4)+parseInt(_0x22a155(0x1b5))/0x5*(-parseInt(_0x22a155(0x1b3))/0x6)+parseInt(_0x22a155(0x1be))/0x7+parseInt(_0x22a155(0x1b2))/0x8+-parseInt(_0x22a155(0x1a7))/0x9*(-parseInt(_0x22a155(0x1bf))/0xa);if(_0x307816===_0x274eb0)break;else _0x44b34d['push'](_0x44b34d['shift']());}catch(_0x514229){_0x44b34d['push'](_0x44b34d['shift']());}}}(_0x15fb,0xeb194));import{AIReviewCheckRun as _0x3296e7}from'./aireviewcheckrun.js';function _0x15fb(){const _0xc67b2c=['_reviewParams','_aiConnector','upsertAIReviewRating','785257INzjTn','8175356mJLtXD','10OrVeWX','callSystemReview','push','_documentData','find','_sendRatingRequest','15nLtuSI','9889227ZfVQXh','options','_reviewArgs','_createApiRequest','subTitle','3091598YwSesj','content','556904wSclqE','length','_sourceCheck','data','12888688LWyair','786HcOJhN','reviewName','55655EOSSNj','_composeReviewName','label','join','useArgs'];_0x15fb=function(){return _0xc67b2c;};return _0x15fb();}function _0x46cf(_0x3e3e5b,_0x531a61){const _0x15fb6d=_0x15fb();return _0x46cf=function(_0x46cf5d,_0x4c9bb0){_0x46cf5d=_0x46cf5d-0x1a7;let _0x19ff99=_0x15fb6d[_0x46cf5d];return _0x19ff99;},_0x46cf(_0x3e3e5b,_0x531a61);}export class AIReviewSystemCheckRun extends _0x3296e7{get[_0x4f29b4(0x1ab)](){const _0x375447=_0x4f29b4;if(!this[_0x375447(0x1ba)]||0x0===this[_0x375447(0x1ba)][_0x375447(0x1af)])return'';const _0xb24452=[];if(this[_0x375447(0x1ba)][_0x375447(0x1af)]>0x0&&this[_0x375447(0x1b0)][_0x375447(0x1a8)])for(let _0x322958=0x0;_0x322958<this[_0x375447(0x1ba)][_0x375447(0x1af)];_0x322958++){if(!this[_0x375447(0x1ba)][_0x322958]||!this[_0x375447(0x1b0)][_0x375447(0x1a8)][_0x322958])continue;const _0x33bc5c=this[_0x375447(0x1b0)][_0x375447(0x1a8)][_0x322958],_0x415e56=_0x33bc5c[_0x375447(0x1b1)]?.[_0x375447(0x1c3)](_0x5eff9a=>_0x5eff9a['id']===this[_0x375447(0x1ba)][_0x322958]);_0x415e56&&_0xb24452[_0x375447(0x1c1)](_0x415e56[_0x375447(0x1b7)]);}return _0xb24452[_0x375447(0x1b8)](',\x20');}get[_0x4f29b4(0x1b4)](){const _0x451e9f=_0x4f29b4;return this[_0x451e9f(0x1b6)]();}[_0x4f29b4(0x1aa)](){const _0xa2f300=_0x4f29b4;return this[_0xa2f300(0x1bb)][_0xa2f300(0x1c0)]({'reviewName':this[_0xa2f300(0x1b6)](),'content':this[_0xa2f300(0x1c2)][_0xa2f300(0x1ad)],'args':this[_0xa2f300(0x1a9)]});}[_0x4f29b4(0x1c4)](_0x2a58ce,_0x179e02,_0x74b6d4){const _0x3de754=_0x4f29b4;return this[_0x3de754(0x1bb)][_0x3de754(0x1bc)](this[_0x3de754(0x1b4)],_0x179e02,_0x2a58ce,_0x74b6d4);}[_0x4f29b4(0x1b6)](){const _0x1b8a30=_0x4f29b4;return!this[_0x1b8a30(0x1ba)]||0x0===this[_0x1b8a30(0x1ba)][_0x1b8a30(0x1af)]||this[_0x1b8a30(0x1b0)][_0x1b8a30(0x1b9)]?this[_0x1b8a30(0x1b0)]['id']:[this[_0x1b8a30(0x1b0)]['id'],...this[_0x1b8a30(0x1ba)]][_0x1b8a30(0x1b8)]('-');}}
23
+ const _0x1076e1=_0x5e29;(function(_0x4b7d69,_0x518559){const _0x584afb=_0x5e29,_0x539dc0=_0x4b7d69();while(!![]){try{const _0x50c536=parseInt(_0x584afb(0x194))/0x1*(-parseInt(_0x584afb(0x197))/0x2)+parseInt(_0x584afb(0x19d))/0x3+parseInt(_0x584afb(0x198))/0x4+-parseInt(_0x584afb(0x19f))/0x5+-parseInt(_0x584afb(0x190))/0x6+parseInt(_0x584afb(0x1a1))/0x7+parseInt(_0x584afb(0x191))/0x8;if(_0x50c536===_0x518559)break;else _0x539dc0['push'](_0x539dc0['shift']());}catch(_0x3494fa){_0x539dc0['push'](_0x539dc0['shift']());}}}(_0x3deb,0x44794));function _0x5e29(_0x283e83,_0x56f8db){const _0x3debc2=_0x3deb();return _0x5e29=function(_0x5e29e4,_0xe06785){_0x5e29e4=_0x5e29e4-0x18c;let _0xea0db4=_0x3debc2[_0x5e29e4];return _0xea0db4;},_0x5e29(_0x283e83,_0x56f8db);}import{AIReviewCheckRun as _0x24258f}from'./aireviewcheckrun.js';function _0x3deb(){const _0x3ad259=['options','_reviewArgs','content','_documentData','687870WMXwiS','5071488Ygplny','join','_createApiRequest','29599YWSwFd','upsertAIReviewRating','_reviewParams','2bDHXbI','989664WuTBVU','label','length','useArgs','push','73308qcYrqU','find','2657425UNUxSR','_sourceCheck','352863VwJGjV','subTitle','_sendRatingRequest','reviewName','_composeReviewName','_aiConnector','callSystemReview','data'];_0x3deb=function(){return _0x3ad259;};return _0x3deb();}export class AIReviewSystemCheckRun extends _0x24258f{get[_0x1076e1(0x1a2)](){const _0x2a7294=_0x1076e1;if(!this[_0x2a7294(0x196)]||0x0===this[_0x2a7294(0x196)][_0x2a7294(0x19a)])return'';const _0x54c7da=[];if(this[_0x2a7294(0x196)][_0x2a7294(0x19a)]>0x0&&this[_0x2a7294(0x1a0)][_0x2a7294(0x18c)])for(let _0x45680d=0x0;_0x45680d<this[_0x2a7294(0x196)][_0x2a7294(0x19a)];_0x45680d++){if(!this[_0x2a7294(0x196)][_0x45680d]||!this[_0x2a7294(0x1a0)][_0x2a7294(0x18c)][_0x45680d])continue;const _0x3c02ac=this[_0x2a7294(0x1a0)][_0x2a7294(0x18c)][_0x45680d],_0x25da6a=_0x3c02ac[_0x2a7294(0x1a8)]?.[_0x2a7294(0x19e)](_0x2163c0=>_0x2163c0['id']===this[_0x2a7294(0x196)][_0x45680d]);_0x25da6a&&_0x54c7da[_0x2a7294(0x19c)](_0x25da6a[_0x2a7294(0x199)]);}return _0x54c7da[_0x2a7294(0x192)](',\x20');}get[_0x1076e1(0x1a4)](){const _0x5ccaf1=_0x1076e1;return this[_0x5ccaf1(0x1a5)]();}[_0x1076e1(0x193)](){const _0x120ee=_0x1076e1;return this[_0x120ee(0x1a6)][_0x120ee(0x1a7)]({'reviewName':this[_0x120ee(0x1a5)](),'content':this[_0x120ee(0x18f)][_0x120ee(0x18e)],'args':this[_0x120ee(0x18d)]});}[_0x1076e1(0x1a3)](_0x127af7,_0x52b68c,_0x20327f){const _0x154de0=_0x1076e1;return this[_0x154de0(0x1a6)][_0x154de0(0x195)](this[_0x154de0(0x1a4)],_0x52b68c,_0x127af7,_0x20327f);}[_0x1076e1(0x1a5)](){const _0x517453=_0x1076e1;return!this[_0x517453(0x196)]||0x0===this[_0x517453(0x196)][_0x517453(0x19a)]||this[_0x517453(0x1a0)][_0x517453(0x19b)]?this[_0x517453(0x1a0)]['id']:[this[_0x517453(0x1a0)]['id'],...this[_0x517453(0x196)]][_0x517453(0x192)]('-');}}