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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsreply.js +1 -1
  6. package/src/aiassistant/adapters/aiadapter.js +1 -1
  7. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  8. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  9. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  10. package/src/aiassistant/aiassistant.js +1 -1
  11. package/src/aiassistant/aiassistantediting.js +1 -1
  12. package/src/aiassistant/aiassistantui.js +1 -1
  13. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  14. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  15. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformview.js +1 -1
  18. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  19. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  20. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  21. package/src/aiballoon/aiballoon.js +1 -1
  22. package/src/aichat/aichat.js +1 -1
  23. package/src/aichat/aichatballoon.js +1 -1
  24. package/src/aichat/aichatcontroller.js +1 -1
  25. package/src/aichat/aichatui.js +1 -1
  26. package/src/aichat/model/aichatcontext.js +1 -1
  27. package/src/aichat/ui/aichatballoonview.js +1 -1
  28. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  29. package/src/aichat/ui/aichatheaderview.js +1 -1
  30. package/src/aichat/ui/aichatview.js +1 -1
  31. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  32. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  33. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  34. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  35. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  36. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  37. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  39. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  40. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  44. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  45. package/src/aichathistory/aichathistory.js +1 -1
  46. package/src/aichathistory/aichathistorycontroller.js +1 -1
  47. package/src/aichathistory/aichathistoryui.js +1 -1
  48. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  49. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  50. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  51. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  52. package/src/aicore/aiconnector.js +1 -1
  53. package/src/aicore/aiediting.js +1 -1
  54. package/src/aicore/model/aiinteraction.js +1 -1
  55. package/src/aicore/model/aimodels.js +1 -1
  56. package/src/aicore/model/aireply.js +1 -1
  57. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  58. package/src/aicore/pipeline/airesponseparser.js +2 -2
  59. package/src/aicore/ui/aidisclaimerview.js +1 -1
  60. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  61. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  62. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  63. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  64. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  65. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  66. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  67. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  68. package/src/aicore/utils/createresizebutton.js +1 -1
  69. package/src/aicore/utils/documentrange.js +1 -1
  70. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  71. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  72. package/src/aicore/utils/htmlparser.js +1 -1
  73. package/src/aicore/utils/htmlstreamer.js +1 -1
  74. package/src/aieditorintegration/aieditorintegration.js +1 -1
  75. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  76. package/src/aiquickactions/aiquickactions.js +1 -1
  77. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  78. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  79. package/src/aiquickactions/aiquickactionsui.js +1 -1
  80. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  81. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  82. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  83. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  84. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  85. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  86. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  87. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  88. package/src/aireviewcore/aireviewcoreui.js +1 -1
  89. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  90. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  91. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  92. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  93. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  94. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  95. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  96. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  97. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  98. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  99. package/src/aireviewmode/aireviewmode.js +1 -1
  100. package/src/aireviewmode/aireviewmodeui.js +1 -1
  101. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  102. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  103. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  104. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  105. package/src/aitabs/aitabs.js +1 -1
  106. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  107. package/src/aitranslate/aitranslate.js +1 -1
  108. package/src/aitranslate/aitranslatecontroller.js +1 -1
  109. package/src/aitranslate/aitranslateui.js +1 -1
  110. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  111. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  112. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12c974=_0xfea5;(function(_0x340cc6,_0x29740b){const _0x444da7=_0xfea5,_0x2fc3fd=_0x340cc6();while(!![]){try{const _0x3cd842=-parseInt(_0x444da7(0x188))/0x1*(-parseInt(_0x444da7(0x17d))/0x2)+-parseInt(_0x444da7(0x16e))/0x3+-parseInt(_0x444da7(0x173))/0x4+parseInt(_0x444da7(0x178))/0x5*(-parseInt(_0x444da7(0x16f))/0x6)+-parseInt(_0x444da7(0x189))/0x7*(-parseInt(_0x444da7(0x181))/0x8)+parseInt(_0x444da7(0x17c))/0x9+parseInt(_0x444da7(0x172))/0xa*(parseInt(_0x444da7(0x179))/0xb);if(_0x3cd842===_0x29740b)break;else _0x2fc3fd['push'](_0x2fc3fd['shift']());}catch(_0x5675a0){_0x2fc3fd['push'](_0x2fc3fd['shift']());}}}(_0x1324,0x9ee63));import{ToolbarView as _0x492c97,ButtonView as _0x153570}from'ckeditor5/src/ui.js';import{getTranslation as _0x745566}from'../../../aicore/utils/common-translations.js';function _0xfea5(_0x331221,_0x466b0a){const _0x132410=_0x1324();return _0xfea5=function(_0xfea568,_0x3188f8){_0xfea568=_0xfea568-0x16e;let _0x823d2c=_0x132410[_0xfea568];return _0x823d2c;},_0xfea5(_0x331221,_0x466b0a);}export class AIActionsBalloonToolbarView extends _0x492c97{constructor(_0x2e8c12,_0x2ba15d=!0x0,_0x1d6974=!0x0){const _0x20e500=_0xfea5;super(_0x2e8c12),this[_0x20e500(0x171)](_0x20e500(0x184),!0x1),_0x2ba15d&&(this[_0x20e500(0x17a)]=this[_0x20e500(0x185)](_0x745566(_0x2e8c12,_0x20e500(0x17f)),_0x20e500(0x177)),this[_0x20e500(0x17a)][_0x20e500(0x17e)](_0x20e500(0x184))['to'](this),this[_0x20e500(0x175)][_0x20e500(0x176)](this[_0x20e500(0x17a)])),_0x1d6974&&(this[_0x20e500(0x170)]=this[_0x20e500(0x185)](_0x745566(_0x2e8c12,_0x20e500(0x182)),_0x2ba15d?_0x20e500(0x186):_0x20e500(0x177)),this[_0x20e500(0x170)][_0x20e500(0x17e)](_0x20e500(0x184))['to'](this),this[_0x20e500(0x175)][_0x20e500(0x176)](this[_0x20e500(0x170)])),this[_0x20e500(0x183)]({'showApplyButton':_0x2ba15d,'showSuggestButton':_0x1d6974}),this[_0x20e500(0x174)]({'attributes':{'class':[_0x20e500(0x17b)]}});}[_0x12c974(0x183)]({showApplyButton:_0x418336,showSuggestButton:_0x59d76a}){const _0x506e09=_0x12c974;this[_0x506e09(0x17a)]&&(this[_0x506e09(0x17a)][_0x506e09(0x180)]=_0x418336),this[_0x506e09(0x170)]&&(this[_0x506e09(0x170)][_0x506e09(0x180)]=_0x59d76a);}[_0x12c974(0x185)](_0x338ba7,_0x5e224b){const _0x3a9a7f=_0x12c974,_0x1bb846=new _0x153570(this[_0x3a9a7f(0x187)]);return _0x1bb846[_0x3a9a7f(0x171)]({'label':_0x338ba7,'class':_0x5e224b,'isVisible':!0x0,'withText':!0x0}),_0x1bb846;}}function _0x1324(){const _0x4a2891=['290iDOQni','2942864fiDLEc','extendTemplate','items','add','ck-ai-button-primary','5skjEHX','173085xRkRHp','applyButton','ck-ai-balloon__toolbar','3949200bFHNQV','2ffIrDL','bind','AI_BALLOON_APPLY_BUTTON','isVisible','24QBVxrr','AI_BALLOON_SUGGEST_BUTTON','setButtonsVisibility','isEnabled','_createButton','ck-ai-button-secondary','locale','1097662xkhLMj','2138486VbOSqx','2771679QQZUQD','3592866WeVdGY','suggestButton','set'];_0x1324=function(){return _0x4a2891;};return _0x1324();}
23
+ const _0x891551=_0x3c43;(function(_0x23929c,_0x55522c){const _0x4bbebd=_0x3c43,_0x5f40ae=_0x23929c();while(!![]){try{const _0x32cdab=-parseInt(_0x4bbebd(0x12a))/0x1+-parseInt(_0x4bbebd(0x12f))/0x2*(-parseInt(_0x4bbebd(0x135))/0x3)+-parseInt(_0x4bbebd(0x134))/0x4*(-parseInt(_0x4bbebd(0x133))/0x5)+parseInt(_0x4bbebd(0x139))/0x6+-parseInt(_0x4bbebd(0x131))/0x7+parseInt(_0x4bbebd(0x132))/0x8+-parseInt(_0x4bbebd(0x136))/0x9;if(_0x32cdab===_0x55522c)break;else _0x5f40ae['push'](_0x5f40ae['shift']());}catch(_0x4ce739){_0x5f40ae['push'](_0x5f40ae['shift']());}}}(_0x406c,0xa554a));function _0x406c(){const _0x3c8339=['4riTdlH','87375DLgULx','3997989lqiSJq','setButtonsVisibility','locale','4522980SchQDh','suggestButton','add','items','AI_BALLOON_APPLY_BUTTON','ck-ai-button-primary','bind','applyButton','_createButton','extendTemplate','isVisible','743870pUphzD','AI_BALLOON_SUGGEST_BUTTON','ck-ai-balloon__toolbar','set','ck-ai-button-secondary','38bprDkx','isEnabled','6229580HWaNGD','9155088nduZle','1518170oIxSxu'];_0x406c=function(){return _0x3c8339;};return _0x406c();}import{ToolbarView as _0x15053e,ButtonView as _0x93ca5c}from'ckeditor5/src/ui.js';function _0x3c43(_0x2937d0,_0xaf42e2){const _0x406cef=_0x406c();return _0x3c43=function(_0x3c437a,_0x53c233){_0x3c437a=_0x3c437a-0x126;let _0x3030c0=_0x406cef[_0x3c437a];return _0x3030c0;},_0x3c43(_0x2937d0,_0xaf42e2);}import{getTranslation as _0x454a5a}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x15053e{constructor(_0x150aaf,_0xfffa92=!0x0,_0xd623a8=!0x0){const _0x2737bd=_0x3c43;super(_0x150aaf),this[_0x2737bd(0x12d)](_0x2737bd(0x130),!0x1),_0xfffa92&&(this[_0x2737bd(0x126)]=this[_0x2737bd(0x127)](_0x454a5a(_0x150aaf,_0x2737bd(0x13d)),_0x2737bd(0x13e)),this[_0x2737bd(0x126)][_0x2737bd(0x13f)](_0x2737bd(0x130))['to'](this),this[_0x2737bd(0x13c)][_0x2737bd(0x13b)](this[_0x2737bd(0x126)])),_0xd623a8&&(this[_0x2737bd(0x13a)]=this[_0x2737bd(0x127)](_0x454a5a(_0x150aaf,_0x2737bd(0x12b)),_0xfffa92?_0x2737bd(0x12e):_0x2737bd(0x13e)),this[_0x2737bd(0x13a)][_0x2737bd(0x13f)](_0x2737bd(0x130))['to'](this),this[_0x2737bd(0x13c)][_0x2737bd(0x13b)](this[_0x2737bd(0x13a)])),this[_0x2737bd(0x137)]({'showApplyButton':_0xfffa92,'showSuggestButton':_0xd623a8}),this[_0x2737bd(0x128)]({'attributes':{'class':[_0x2737bd(0x12c)]}});}[_0x891551(0x137)]({showApplyButton:_0x5731ae,showSuggestButton:_0x12edff}){const _0xb5f3bb=_0x891551;this[_0xb5f3bb(0x126)]&&(this[_0xb5f3bb(0x126)][_0xb5f3bb(0x129)]=_0x5731ae),this[_0xb5f3bb(0x13a)]&&(this[_0xb5f3bb(0x13a)][_0xb5f3bb(0x129)]=_0x12edff);}[_0x891551(0x127)](_0x510178,_0x3eb755){const _0x5532cf=_0x891551,_0x4c02e8=new _0x93ca5c(this[_0x5532cf(0x138)]);return _0x4c02e8[_0x5532cf(0x12d)]({'label':_0x510178,'class':_0x3eb755,'isVisible':!0x0,'withText':!0x0}),_0x4c02e8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d7369=_0x17be;(function(_0xa02e98,_0x3ce3c2){const _0x5b78ff=_0x17be,_0x492a06=_0xa02e98();while(!![]){try{const _0x4e57bc=-parseInt(_0x5b78ff(0x187))/0x1+parseInt(_0x5b78ff(0x18f))/0x2+parseInt(_0x5b78ff(0x1ab))/0x3*(-parseInt(_0x5b78ff(0x189))/0x4)+-parseInt(_0x5b78ff(0x1cc))/0x5+parseInt(_0x5b78ff(0x194))/0x6+parseInt(_0x5b78ff(0x176))/0x7*(-parseInt(_0x5b78ff(0x191))/0x8)+parseInt(_0x5b78ff(0x1d3))/0x9;if(_0x4e57bc===_0x3ce3c2)break;else _0x492a06['push'](_0x492a06['shift']());}catch(_0x145503){_0x492a06['push'](_0x492a06['shift']());}}}(_0x46fe,0xefd41));import{ViewCollection as _0x4651f8,FocusCycler as _0x3e6911,ButtonView as _0x217996,View as _0x5c0e9c}from'ckeditor5/src/ui.js';function _0x17be(_0x4ebf0b,_0x1b0c13){const _0x46fe97=_0x46fe();return _0x17be=function(_0x17be00,_0x200e22){_0x17be00=_0x17be00-0x173;let _0x26f933=_0x46fe97[_0x17be00];return _0x26f933;},_0x17be(_0x4ebf0b,_0x1b0c13);}import{FocusTracker as _0x3574fe,KeystrokeHandler as _0x29f886}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x322024}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x336939}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x4cf6d2}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0xc2763d}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xa7f24}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x2b506b}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x2061bd}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x2f3c39,IconPreviousArrow as _0x258623,IconRefresh as _0x360c0c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2667d1}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x2082a8}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x1d7369(0x1ae),_0x1d7369(0x1ad)];function _0x46fe(){const _0x382c23=['ck-ai-actions-balloon-content','set','_createStreamableContentView','_navigationTryAgainButton','add','addMiniToolbarItem','createCollection','tab','AI_ACTIONS_PREVIOUS_INTERACTION','isVisible','includes','ck-ai-actions-balloon-main','AI_ACTIONS_TRY_AGAIN','469jZpyEy','updateContent','hideError','updateMiniToolbarButtons','_loaderView','_config','showError','ck-ai-navigation-button\x20ck-ai-next-button','ck-ai-actions-balloon-content-wrapper','_toolbarView','isShowChangesOn','showLoader','setTemplate','setButtonsVisibility','_createLoaderView','_initializeScrollManager','hideLoader','547761nyIfIf','suggestButton','1617256cSIqoP','fire','change:isTrackChangesOn','setErrorState','_setupMiniToolbarButtons','_dialogContent','571814AFCLyU','_toggleToolbarButtonsVisibility','115328ZPMbMF','resetShowChangesButton','start','2799420iTnApg','span','_disclaimerView','ck-ai-interaction-counter','focusCycler','interactionCount','startAutoScroll','setInteractionCount','listenTo','isBusy','_addToolbar','_navigationNextButton','toggleShowChangesEnabled','bindTemplate','_addContentWrapper','AI_ACTIONS_NEXT_INTERACTION','bind','_addDisclaimerView','1/1','_hasError','delegate','tryAgain','_focusTracker','6SZEBUj','_isLoading','insertSuggestion','applySuggestion','toggleShowChanges','focusFirst','_keystrokes','showNext','focusLast','stop','ck-ai-custom-action-button','_getScrollableElement','destroy','toggleSuggestionDisplayMode','isEnabled','clearContent','applyButton','_focusables','execute','has','miniToolbarConfig','div','setIsLoading','addMany','_scrollManager','_navigationCounter','locale','_streamableContentView','render','element','showPrevious','isTrackChangesOn','clearErrorState','5002875xZGgbT','availableActions','disableMiniToolbarButtons','stopAutoScroll','_navigationPreviousButton','_contentWrapper','_errorView','31974264IVPKQJ','clear','items','toggleIsLoading','_miniToolbarView','ck-ai-navigation-button\x20ck-ai-previous-button','_createMiniToolbar','update','showBlockingError','removeMiniToolbarItem','remove','focus','shift\x20+\x20tab'];_0x46fe=function(){return _0x382c23;};return _0x46fe();}export class AIActionsBalloonView extends _0x2082a8{[_0x1d7369(0x198)];[_0x1d7369(0x17b)];[_0x1d7369(0x1d1)];[_0x1d7369(0x1c6)];[_0x1d7369(0x17f)];[_0x1d7369(0x1d7)];[_0x1d7369(0x17a)];[_0x1d7369(0x196)];[_0x1d7369(0x1aa)];[_0x1d7369(0x1b1)];[_0x1d7369(0x18e)];[_0x1d7369(0x1bc)];[_0x1d7369(0x1c3)];[_0x1d7369(0x1d0)];[_0x1d7369(0x19f)];[_0x1d7369(0x1e3)];[_0x1d7369(0x1c4)];constructor(_0x3b4e62,_0x594e86){const _0xd2ffcd=_0x1d7369;super(_0x3b4e62),this[_0xd2ffcd(0x1e1)](_0xd2ffcd(0x19d),!0x1),this[_0xd2ffcd(0x1e1)](_0xd2ffcd(0x1ca),!0x1),this[_0xd2ffcd(0x1e1)](_0xd2ffcd(0x1ac),!0x1),this[_0xd2ffcd(0x1e1)](_0xd2ffcd(0x1a7),!0x1),this[_0xd2ffcd(0x17b)]=_0x594e86,this[_0xd2ffcd(0x1aa)]=new _0x3574fe(),this[_0xd2ffcd(0x1b1)]=new _0x29f886(),this[_0xd2ffcd(0x1bc)]=this[_0xd2ffcd(0x1e6)](),this[_0xd2ffcd(0x198)]=new _0x3e6911({'focusables':this[_0xd2ffcd(0x1bc)],'focusTracker':this[_0xd2ffcd(0x1aa)],'keystrokeHandler':this[_0xd2ffcd(0x1b1)],'actions':{'focusPrevious':_0xd2ffcd(0x1df),'focusNext':_0xd2ffcd(0x1e7)}}),this[_0xd2ffcd(0x18e)]=new _0x4651f8(),this[_0xd2ffcd(0x1a2)](_0x594e86),this[_0xd2ffcd(0x1a5)](),this[_0xd2ffcd(0x19e)](_0x594e86),this[_0xd2ffcd(0x1bc)][_0xd2ffcd(0x1d4)](),this[_0xd2ffcd(0x1bc)][_0xd2ffcd(0x1c2)]([this[_0xd2ffcd(0x17f)]]),this[_0xd2ffcd(0x182)]({'tag':_0xd2ffcd(0x1c0),'attributes':{'class':[_0xd2ffcd(0x174)]},'children':this[_0xd2ffcd(0x18e)]}),this['on'](_0xd2ffcd(0x18b),()=>{const _0x2afe2a=_0xd2ffcd;this[_0x2afe2a(0x190)](_0x594e86);});}[_0x1d7369(0x1c7)](){const _0x1eb795=_0x1d7369;super[_0x1eb795(0x1c7)]();for(const _0x152b7a of this[_0x1eb795(0x1bc)])this[_0x1eb795(0x1aa)][_0x1eb795(0x1e4)](_0x152b7a[_0x1eb795(0x1c8)]);this[_0x1eb795(0x1b1)][_0x1eb795(0x19c)](this[_0x1eb795(0x1c8)]),this[_0x1eb795(0x185)]();}[_0x1d7369(0x1b7)](){const _0x5837fe=_0x1d7369;super[_0x5837fe(0x1b7)](),this[_0x5837fe(0x1c3)]&&this[_0x5837fe(0x1c3)][_0x5837fe(0x1b7)]();}[_0x1d7369(0x1de)](_0x30b9c1){const _0x272ec8=_0x1d7369;-0x1===_0x30b9c1?this[_0x272ec8(0x198)][_0x272ec8(0x1b3)]():this[_0x272ec8(0x198)][_0x272ec8(0x1b0)]();}[_0x1d7369(0x1c1)](_0x126281){const _0x1012d4=_0x1d7369;this[_0x1012d4(0x1ac)]=_0x126281;}[_0x1d7369(0x18c)](){const _0x140e88=_0x1d7369;this[_0x140e88(0x1a7)]=!0x0,this[_0x140e88(0x1d7)][_0x140e88(0x1a0)](!0x1);}[_0x1d7369(0x1cb)](){const _0x2d2de4=_0x1d7369;this[_0x2d2de4(0x1a7)]=!0x1,this[_0x2d2de4(0x1d7)][_0x2d2de4(0x1a0)](!0x0);}[_0x1d7369(0x17c)](_0x4b035d){const _0x3e8fec=_0x1d7369;super[_0x3e8fec(0x17c)](_0x4b035d),this[_0x3e8fec(0x18e)][_0x3e8fec(0x1be)](this[_0x3e8fec(0x1d2)])||this[_0x3e8fec(0x18e)][_0x3e8fec(0x1e4)](this[_0x3e8fec(0x1d2)],0x0);}[_0x1d7369(0x178)](){const _0x32019c=_0x1d7369;super[_0x32019c(0x178)](),this[_0x32019c(0x1cb)]();}[_0x1d7369(0x1db)](_0x2320e2){const _0x2d24e8=_0x1d7369;super[_0x2d24e8(0x1db)](_0x2320e2),this[_0x2d24e8(0x18c)]();}[_0x1d7369(0x1e5)](_0x2518b9){const _0x2def69=_0x1d7369;this[_0x2def69(0x1d7)][_0x2def69(0x1d5)][_0x2def69(0x1be)](_0x2518b9)||this[_0x2def69(0x1d7)][_0x2def69(0x1d5)][_0x2def69(0x1e4)](_0x2518b9);}[_0x1d7369(0x1dc)](_0x19c1a5){const _0x55bc6a=_0x1d7369;this[_0x55bc6a(0x1d7)][_0x55bc6a(0x1d5)][_0x55bc6a(0x1be)](_0x19c1a5)&&this[_0x55bc6a(0x1d7)][_0x55bc6a(0x1d5)][_0x55bc6a(0x1dd)](_0x19c1a5);}[_0x1d7369(0x181)](){const _0x9d8bc=_0x1d7369;this[_0x9d8bc(0x17a)]&&(this[_0x9d8bc(0x1ac)]=!0x0);}[_0x1d7369(0x186)](){const _0x473725=_0x1d7369;this[_0x473725(0x17a)]&&(this[_0x473725(0x1ac)]=!0x1);}[_0x1d7369(0x190)]({showApplyButton:_0x30113e,showSuggestButton:_0x4839b6}){const _0x4f3b63=_0x1d7369;_0x30113e=_0x30113e&&!this[_0x4f3b63(0x1ca)]&&this[_0x4f3b63(0x17b)][_0x4f3b63(0x1cd)][_0x4f3b63(0x173)](_0x4f3b63(0x1ae)),_0x4839b6=_0x4839b6&&this[_0x4f3b63(0x17b)][_0x4f3b63(0x1cd)][_0x4f3b63(0x173)](_0x4f3b63(0x1ad)),this[_0x4f3b63(0x17f)][_0x4f3b63(0x183)]({'showApplyButton':_0x30113e,'showSuggestButton':_0x4839b6});}async[_0x1d7369(0x177)](_0x13ec68){const _0x3e4245=_0x1d7369;await this[_0x3e4245(0x1c6)][_0x3e4245(0x1da)](_0x13ec68);}[_0x1d7369(0x1ba)](){const _0x59c5eb=_0x1d7369;this[_0x59c5eb(0x1c6)][_0x59c5eb(0x1d4)]();}[_0x1d7369(0x1a2)](_0x1fe30f){const _0x58b272=_0x1d7369;this[_0x58b272(0x1d1)]=new _0x5c0e9c(this[_0x58b272(0x1c5)]),this[_0x58b272(0x1d1)][_0x58b272(0x182)]({'tag':_0x58b272(0x1c0),'attributes':{'class':[_0x58b272(0x1e0)]},'children':[{'tag':_0x58b272(0x1c0),'attributes':{'class':[_0x58b272(0x17e)]},'children':[this[_0x58b272(0x184)](),this[_0x58b272(0x1e2)]()]},this[_0x58b272(0x1d9)](_0x1fe30f[_0x58b272(0x1bf)])]}),this[_0x58b272(0x18e)][_0x58b272(0x1e4)](this[_0x58b272(0x1d1)]);}[_0x1d7369(0x1a5)](){const _0x2dc553=_0x1d7369;this[_0x2dc553(0x196)]=new _0x336939(this[_0x2dc553(0x1c5)]),this[_0x2dc553(0x18e)][_0x2dc553(0x1e4)](this[_0x2dc553(0x196)]);}[_0x1d7369(0x19e)]({showApplyButton:_0x4d92b1,showSuggestButton:_0x174994}){const _0x18082b=_0x1d7369;this[_0x18082b(0x17f)]=new _0x322024(this[_0x18082b(0x1c5)],_0x4d92b1,_0x174994),this[_0x18082b(0x17f)][_0x18082b(0x1bb)]?.['on'](_0x18082b(0x1bd),()=>{const _0x4dfbb9=_0x18082b;this[_0x4dfbb9(0x18a)](_0x4dfbb9(0x1ae));}),this[_0x18082b(0x17f)][_0x18082b(0x188)]?.['on'](_0x18082b(0x1bd),()=>{const _0x311fcb=_0x18082b;this[_0x311fcb(0x18a)](_0x311fcb(0x1ad));}),this[_0x18082b(0x17f)][_0x18082b(0x1a4)](_0x18082b(0x1b9))['to'](this,_0x18082b(0x19d),this,_0x18082b(0x1ac),this,_0x18082b(0x1a7),(_0x5e700b,_0x79be13,_0x30cf6f)=>!(_0x5e700b||_0x79be13||_0x30cf6f)),this[_0x18082b(0x190)]({'showApplyButton':_0x4d92b1,'showSuggestButton':_0x174994}),this[_0x18082b(0x18e)][_0x18082b(0x1e4)](this[_0x18082b(0x17f)]);}[_0x1d7369(0x1d9)](_0x514314){const _0x2b8b69=_0x1d7369;return this[_0x2b8b69(0x1d7)]=new _0xc2763d(this[_0x2b8b69(0x1c5)],_0x514314),this[_0x2b8b69(0x1d7)][_0x2b8b69(0x1a8)](..._0xa7f24)['to'](this),this[_0x2b8b69(0x1d7)]['on'](_0x2b8b69(0x1af),()=>{const _0x1de4c5=_0x2b8b69;this[_0x1de4c5(0x1d7)][_0x1de4c5(0x180)]=!this[_0x1de4c5(0x1d7)][_0x1de4c5(0x180)],this[_0x1de4c5(0x18a)](_0x1de4c5(0x1b8),{'showDiff':this[_0x1de4c5(0x1d7)][_0x1de4c5(0x180)]});}),this[_0x2b8b69(0x1d7)][_0x2b8b69(0x1a4)](_0x2b8b69(0x1b9))['to'](this,_0x2b8b69(0x19d),this,_0x2b8b69(0x1ac),(_0x1f818e,_0x3ce1ba)=>!(_0x1f818e||_0x3ce1ba)),this[_0x2b8b69(0x1d7)];}[_0x1d7369(0x184)](){const _0x4043b5=_0x1d7369;return this[_0x4043b5(0x17a)]=new _0x2b506b(this[_0x4043b5(0x1c5)]),this[_0x4043b5(0x17a)][_0x4043b5(0x1a4)](_0x4043b5(0x1e9))['to'](this,_0x4043b5(0x1ac)),this[_0x4043b5(0x17a)];}[_0x1d7369(0x1e2)](){const _0x3785f9=_0x1d7369;return this[_0x3785f9(0x1c6)]=new _0x2061bd(this[_0x3785f9(0x1c5)]),this[_0x3785f9(0x1c6)];}[_0x1d7369(0x18d)](){const _0x388b66=_0x1d7369,_0x2e9ab0=new _0x217996(this[_0x388b66(0x1c5)]),_0x402bb9=new _0x217996(this[_0x388b66(0x1c5)]),_0x3a4225=new Ln(this[_0x388b66(0x1c5)]),_0x35aff1=new _0x217996(this[_0x388b66(0x1c5)]);_0x2e9ab0[_0x388b66(0x1e1)]({'icon':_0x360c0c,'label':_0x2667d1(this[_0x388b66(0x1c5)],_0x388b66(0x175)),'tooltip':!0x0,'class':_0x388b66(0x1b5)}),_0x402bb9[_0x388b66(0x1e1)]({'icon':_0x258623,'tooltip':_0x2667d1(this[_0x388b66(0x1c5)],_0x388b66(0x1e8)),'class':_0x388b66(0x1d8)}),_0x35aff1[_0x388b66(0x1e1)]({'icon':_0x2f3c39,'tooltip':_0x2667d1(this[_0x388b66(0x1c5)],_0x388b66(0x1a3)),'class':_0x388b66(0x17d)}),_0x2e9ab0[_0x388b66(0x1a4)](_0x388b66(0x1b9))['to'](this,_0x388b66(0x19d),_0x29a3c9=>!_0x29a3c9),_0x2e9ab0['on'](_0x388b66(0x1bd),()=>{const _0xb18d4a=_0x388b66;this[_0xb18d4a(0x18a)](_0xb18d4a(0x1a9));}),_0x402bb9[_0x388b66(0x1a4)](_0x388b66(0x1b9))['to'](this,_0x388b66(0x19d),_0x3c87ae=>!_0x3c87ae),_0x402bb9['on'](_0x388b66(0x1bd),()=>{const _0x1b25e7=_0x388b66;this[_0x1b25e7(0x18a)](_0x1b25e7(0x1c9));}),_0x35aff1[_0x388b66(0x1a4)](_0x388b66(0x1b9))['to'](this,_0x388b66(0x19d),_0x546321=>!_0x546321),_0x35aff1['on'](_0x388b66(0x1bd),()=>{const _0xb7ecb7=_0x388b66;this[_0xb7ecb7(0x18a)](_0xb7ecb7(0x1b2));}),this[_0x388b66(0x1d0)]=_0x402bb9,this[_0x388b66(0x1c4)]=_0x3a4225,this[_0x388b66(0x19f)]=_0x35aff1,this[_0x388b66(0x1e3)]=_0x2e9ab0;}[_0x1d7369(0x179)](_0x436180,_0x24b490){const _0x4e8655=_0x1d7369;this[_0x4e8655(0x1d0)]||this[_0x4e8655(0x18d)]();const _0x15f182=_0x436180>0x1;if(this[_0x4e8655(0x1e5)](this[_0x4e8655(0x1e3)]),_0x15f182){this[_0x4e8655(0x1e5)](this[_0x4e8655(0x1d0)]),this[_0x4e8655(0x1e5)](this[_0x4e8655(0x1c4)]),this[_0x4e8655(0x1e5)](this[_0x4e8655(0x19f)]);const _0x3b2744=_0x436180-_0x24b490;this[_0x4e8655(0x1c4)][_0x4e8655(0x19b)](_0x3b2744+'/'+_0x436180),this[_0x4e8655(0x1d0)][_0x4e8655(0x1b9)]=_0x24b490<_0x436180-0x1,this[_0x4e8655(0x19f)][_0x4e8655(0x1b9)]=_0x24b490>0x0;}else this[_0x4e8655(0x1dc)](this[_0x4e8655(0x1d0)]),this[_0x4e8655(0x1dc)](this[_0x4e8655(0x1c4)]),this[_0x4e8655(0x1dc)](this[_0x4e8655(0x19f)]);}[_0x1d7369(0x1ce)](){const _0x6a0933=_0x1d7369;this[_0x6a0933(0x1e3)][_0x6a0933(0x1b9)]=!0x1,this[_0x6a0933(0x1d0)][_0x6a0933(0x1b9)]=!0x1,this[_0x6a0933(0x19f)][_0x6a0933(0x1b9)]=!0x1;}[_0x1d7369(0x19a)](){const _0x295965=_0x1d7369;this[_0x295965(0x185)](),this[_0x295965(0x1c3)]&&this[_0x295965(0x1c3)][_0x295965(0x193)]();}[_0x1d7369(0x1cf)](){const _0x47b663=_0x1d7369;this[_0x47b663(0x1c3)]&&this[_0x47b663(0x1c3)][_0x47b663(0x1b4)]();}[_0x1d7369(0x1d6)](_0x4940d0){const _0x576317=_0x1d7369;this[_0x576317(0x1ac)]=_0x4940d0;}[_0x1d7369(0x192)](){const _0x24b323=_0x1d7369;this[_0x24b323(0x1d7)][_0x24b323(0x180)]=!0x1;}[_0x1d7369(0x185)](){const _0x4e67ef=_0x1d7369,_0x4ae385=this[_0x4e67ef(0x1b6)]();_0x4ae385&&!this[_0x4e67ef(0x1c3)]&&(this[_0x4e67ef(0x1c3)]=new _0x4cf6d2(_0x4ae385));}[_0x1d7369(0x1b6)](){const _0x479c36=_0x1d7369;return this[_0x479c36(0x1c6)][_0x479c36(0x1c8)];}}class Ln extends _0x5c0e9c{constructor(_0x3f4dc3){const _0x1f847a=_0x1d7369;super(_0x3f4dc3);const _0x571131=this[_0x1f847a(0x1a1)];this[_0x1f847a(0x1e1)](_0x1f847a(0x199),_0x1f847a(0x1a6)),this[_0x1f847a(0x182)]({'tag':_0x1f847a(0x195),'attributes':{'class':[_0x1f847a(0x197)]},'children':[{'text':_0x571131['to'](_0x1f847a(0x199))}]});}[_0x1d7369(0x19b)](_0x55e7d2){const _0x2bb853=_0x1d7369;this[_0x2bb853(0x1e1)](_0x2bb853(0x199),_0x55e7d2);}}
23
+ const _0x449ff4=_0x5ed3;(function(_0xa1893a,_0x7f26c3){const _0x9d6a1c=_0x5ed3,_0x58294c=_0xa1893a();while(!![]){try{const _0x39c0c4=-parseInt(_0x9d6a1c(0x23d))/0x1+-parseInt(_0x9d6a1c(0x1f5))/0x2+parseInt(_0x9d6a1c(0x22f))/0x3*(-parseInt(_0x9d6a1c(0x1fc))/0x4)+-parseInt(_0x9d6a1c(0x1ff))/0x5+parseInt(_0x9d6a1c(0x1d2))/0x6*(-parseInt(_0x9d6a1c(0x23e))/0x7)+parseInt(_0x9d6a1c(0x204))/0x8*(-parseInt(_0x9d6a1c(0x1f8))/0x9)+parseInt(_0x9d6a1c(0x214))/0xa;if(_0x39c0c4===_0x7f26c3)break;else _0x58294c['push'](_0x58294c['shift']());}catch(_0x4d020a){_0x58294c['push'](_0x58294c['shift']());}}}(_0x1c62,0x86a99));import{ViewCollection as _0x46436e,FocusCycler as _0x4ebc88,ButtonView as _0x35997e,View as _0x6c4d05}from'ckeditor5/src/ui.js';import{FocusTracker as _0x33ccdd,KeystrokeHandler as _0x53771d}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x3a7cdb}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1233c2}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x376890}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x3d0717}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x206f27}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x181689}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';function _0x5ed3(_0x399638,_0xa01a88){const _0x1c62ed=_0x1c62();return _0x5ed3=function(_0x5ed3de,_0xd0958b){_0x5ed3de=_0x5ed3de-0x1c9;let _0x3add84=_0x1c62ed[_0x5ed3de];return _0x3add84;},_0x5ed3(_0x399638,_0xa01a88);}import{AISuggestionStreamableContentView as _0x435255}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x19119b,IconPreviousArrow as _0x376cd5,IconRefresh as _0x2122fe}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x17f886}from'../../../aicore/utils/common-translations.js';function _0x1c62(){const _0x5b8515=['AI_ACTIONS_TRY_AGAIN','insertSuggestion','add','remove','applyButton','resetShowChangesButton','isVisible','addMiniToolbarItem','_focusTracker','toggleShowChanges','stopAutoScroll','toggleIsLoading','bindTemplate','_disclaimerView','locale','suggestButton','render','showNext','_dialogContent','AI_ACTIONS_NEXT_INTERACTION','_contentWrapper','_streamableContentView','setInteractionCount','focusFirst','startAutoScroll','_scrollManager','items','isShowChangesOn','fire','showPrevious','_setupMiniToolbarButtons','202056PYxUXX','setTemplate','ck-ai-navigation-button\x20ck-ai-next-button','9dUoccz','change:isTrackChangesOn','ck-ai-navigation-button\x20ck-ai-previous-button','stop','4lEXqoI','_navigationPreviousButton','ck-ai-actions-balloon-main','4758100MutWIc','_initializeScrollManager','_loaderView','listenTo','_isLoading','7008128QqWrAD','_navigationTryAgainButton','miniToolbarConfig','addMany','disableMiniToolbarButtons','updateMiniToolbarButtons','removeMiniToolbarItem','delegate','isBusy','_focusables','ck-ai-actions-balloon-content','applySuggestion','update','interactionCount','set','1/1','41220070qzODmW','_keystrokes','_hasError','isTrackChangesOn','clearContent','AI_ACTIONS_PREVIOUS_INTERACTION','_addDisclaimerView','bind','has','destroy','focus','showLoader','execute','_miniToolbarView','_toolbarView','_navigationCounter','tab','setButtonsVisibility','_createLoaderView','span','focusCycler','_addToolbar','_createStreamableContentView','_getScrollableElement','showBlockingError','_config','updateContent','1632675LCKtfl','ck-ai-interaction-counter','hideLoader','toggleShowChangesEnabled','tryAgain','includes','ck-ai-custom-action-button','_addContentWrapper','_navigationNextButton','availableActions','ck-ai-actions-balloon-content-wrapper','element','focusLast','div','1087233RjMdqh','12026mPXzYc','shift\x20+\x20tab','hideError','clearErrorState','createCollection','showError','start','_createMiniToolbar','_toggleToolbarButtonsVisibility','clear','setIsLoading','isEnabled','36ZqMXhh','toggleSuggestionDisplayMode','setErrorState','_errorView'];_0x1c62=function(){return _0x5b8515;};return _0x1c62();}import{AIBalloonView as _0x318d48}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x449ff4(0x20f),_0x449ff4(0x1d7)];export class AIActionsBalloonView extends _0x318d48{[_0x449ff4(0x228)];[_0x449ff4(0x22d)];[_0x449ff4(0x1ea)];[_0x449ff4(0x1eb)];[_0x449ff4(0x222)];[_0x449ff4(0x221)];[_0x449ff4(0x201)];[_0x449ff4(0x1e3)];[_0x449ff4(0x1de)];[_0x449ff4(0x215)];[_0x449ff4(0x1e8)];[_0x449ff4(0x20d)];[_0x449ff4(0x1ef)];[_0x449ff4(0x1fd)];[_0x449ff4(0x237)];[_0x449ff4(0x205)];[_0x449ff4(0x223)];constructor(_0x48d253,_0x177dd8){const _0x47f779=_0x449ff4;super(_0x48d253),this[_0x47f779(0x212)](_0x47f779(0x20c),!0x1),this[_0x47f779(0x212)](_0x47f779(0x217),!0x1),this[_0x47f779(0x212)](_0x47f779(0x203),!0x1),this[_0x47f779(0x212)](_0x47f779(0x216),!0x1),this[_0x47f779(0x22d)]=_0x177dd8,this[_0x47f779(0x1de)]=new _0x33ccdd(),this[_0x47f779(0x215)]=new _0x53771d(),this[_0x47f779(0x20d)]=this[_0x47f779(0x1ca)](),this[_0x47f779(0x228)]=new _0x4ebc88({'focusables':this[_0x47f779(0x20d)],'focusTracker':this[_0x47f779(0x1de)],'keystrokeHandler':this[_0x47f779(0x215)],'actions':{'focusPrevious':_0x47f779(0x23f),'focusNext':_0x47f779(0x224)}}),this[_0x47f779(0x1e8)]=new _0x46436e(),this[_0x47f779(0x236)](_0x177dd8),this[_0x47f779(0x21a)](),this[_0x47f779(0x229)](_0x177dd8),this[_0x47f779(0x20d)][_0x47f779(0x1cf)](),this[_0x47f779(0x20d)][_0x47f779(0x207)]([this[_0x47f779(0x222)]]),this[_0x47f779(0x1f6)]({'tag':_0x47f779(0x23c),'attributes':{'class':[_0x47f779(0x1fe)]},'children':this[_0x47f779(0x1e8)]}),this['on'](_0x47f779(0x1f9),()=>{const _0x5d14aa=_0x47f779;this[_0x5d14aa(0x1ce)](_0x177dd8);});}[_0x449ff4(0x1e6)](){const _0x4e20d6=_0x449ff4;super[_0x4e20d6(0x1e6)]();for(const _0x3c17cb of this[_0x4e20d6(0x20d)])this[_0x4e20d6(0x1de)][_0x4e20d6(0x1d8)](_0x3c17cb[_0x4e20d6(0x23a)]);this[_0x4e20d6(0x215)][_0x4e20d6(0x202)](this[_0x4e20d6(0x23a)]),this[_0x4e20d6(0x200)]();}[_0x449ff4(0x21d)](){const _0x2423bb=_0x449ff4;super[_0x2423bb(0x21d)](),this[_0x2423bb(0x1ef)]&&this[_0x2423bb(0x1ef)][_0x2423bb(0x21d)]();}[_0x449ff4(0x21e)](_0xb0cfaa){const _0x1eb122=_0x449ff4;-0x1===_0xb0cfaa?this[_0x1eb122(0x228)][_0x1eb122(0x23b)]():this[_0x1eb122(0x228)][_0x1eb122(0x1ed)]();}[_0x449ff4(0x1d0)](_0x112494){const _0x45e047=_0x449ff4;this[_0x45e047(0x203)]=_0x112494;}[_0x449ff4(0x1d4)](){const _0x243416=_0x449ff4;this[_0x243416(0x216)]=!0x0,this[_0x243416(0x221)][_0x243416(0x232)](!0x1);}[_0x449ff4(0x1c9)](){const _0x32d6ec=_0x449ff4;this[_0x32d6ec(0x216)]=!0x1,this[_0x32d6ec(0x221)][_0x32d6ec(0x232)](!0x0);}[_0x449ff4(0x1cb)](_0x528b86){const _0x378df1=_0x449ff4;super[_0x378df1(0x1cb)](_0x528b86),this[_0x378df1(0x1e8)][_0x378df1(0x21c)](this[_0x378df1(0x1d5)])||this[_0x378df1(0x1e8)][_0x378df1(0x1d8)](this[_0x378df1(0x1d5)],0x0);}[_0x449ff4(0x240)](){const _0x2ee9dc=_0x449ff4;super[_0x2ee9dc(0x240)](),this[_0x2ee9dc(0x1c9)]();}[_0x449ff4(0x22c)](_0x222a77){const _0x86ea10=_0x449ff4;super[_0x86ea10(0x22c)](_0x222a77),this[_0x86ea10(0x1d4)]();}[_0x449ff4(0x1dd)](_0xc1954d){const _0x307b9a=_0x449ff4;this[_0x307b9a(0x221)][_0x307b9a(0x1f0)][_0x307b9a(0x21c)](_0xc1954d)||this[_0x307b9a(0x221)][_0x307b9a(0x1f0)][_0x307b9a(0x1d8)](_0xc1954d);}[_0x449ff4(0x20a)](_0x4203bc){const _0x4c5b92=_0x449ff4;this[_0x4c5b92(0x221)][_0x4c5b92(0x1f0)][_0x4c5b92(0x21c)](_0x4203bc)&&this[_0x4c5b92(0x221)][_0x4c5b92(0x1f0)][_0x4c5b92(0x1d9)](_0x4203bc);}[_0x449ff4(0x21f)](){const _0x30f180=_0x449ff4;this[_0x30f180(0x201)]&&(this[_0x30f180(0x203)]=!0x0);}[_0x449ff4(0x231)](){const _0x25143a=_0x449ff4;this[_0x25143a(0x201)]&&(this[_0x25143a(0x203)]=!0x1);}[_0x449ff4(0x1ce)]({showApplyButton:_0x30e1a3,showSuggestButton:_0x2909d9}){const _0x3108a6=_0x449ff4;_0x30e1a3=_0x30e1a3&&!this[_0x3108a6(0x217)]&&this[_0x3108a6(0x22d)][_0x3108a6(0x238)][_0x3108a6(0x234)](_0x3108a6(0x20f)),_0x2909d9=_0x2909d9&&this[_0x3108a6(0x22d)][_0x3108a6(0x238)][_0x3108a6(0x234)](_0x3108a6(0x1d7)),this[_0x3108a6(0x222)][_0x3108a6(0x225)]({'showApplyButton':_0x30e1a3,'showSuggestButton':_0x2909d9});}async[_0x449ff4(0x22e)](_0x372065){const _0x29f592=_0x449ff4;await this[_0x29f592(0x1eb)][_0x29f592(0x210)](_0x372065);}[_0x449ff4(0x218)](){const _0x2228af=_0x449ff4;this[_0x2228af(0x1eb)][_0x2228af(0x1cf)]();}[_0x449ff4(0x236)](_0x3d104a){const _0x1b5d1f=_0x449ff4;this[_0x1b5d1f(0x1ea)]=new _0x6c4d05(this[_0x1b5d1f(0x1e4)]),this[_0x1b5d1f(0x1ea)][_0x1b5d1f(0x1f6)]({'tag':_0x1b5d1f(0x23c),'attributes':{'class':[_0x1b5d1f(0x20e)]},'children':[{'tag':_0x1b5d1f(0x23c),'attributes':{'class':[_0x1b5d1f(0x239)]},'children':[this[_0x1b5d1f(0x226)](),this[_0x1b5d1f(0x22a)]()]},this[_0x1b5d1f(0x1cd)](_0x3d104a[_0x1b5d1f(0x206)])]}),this[_0x1b5d1f(0x1e8)][_0x1b5d1f(0x1d8)](this[_0x1b5d1f(0x1ea)]);}[_0x449ff4(0x21a)](){const _0x5cf6b8=_0x449ff4;this[_0x5cf6b8(0x1e3)]=new _0x1233c2(this[_0x5cf6b8(0x1e4)]),this[_0x5cf6b8(0x1e8)][_0x5cf6b8(0x1d8)](this[_0x5cf6b8(0x1e3)]);}[_0x449ff4(0x229)]({showApplyButton:_0x4861d8,showSuggestButton:_0x3b0f0f}){const _0x13ee73=_0x449ff4;this[_0x13ee73(0x222)]=new _0x3a7cdb(this[_0x13ee73(0x1e4)],_0x4861d8,_0x3b0f0f),this[_0x13ee73(0x222)][_0x13ee73(0x1da)]?.['on'](_0x13ee73(0x220),()=>{const _0x517307=_0x13ee73;this[_0x517307(0x1f2)](_0x517307(0x20f));}),this[_0x13ee73(0x222)][_0x13ee73(0x1e5)]?.['on'](_0x13ee73(0x220),()=>{const _0x169085=_0x13ee73;this[_0x169085(0x1f2)](_0x169085(0x1d7));}),this[_0x13ee73(0x222)][_0x13ee73(0x21b)](_0x13ee73(0x1d1))['to'](this,_0x13ee73(0x20c),this,_0x13ee73(0x203),this,_0x13ee73(0x216),(_0x5ae1e4,_0x579419,_0x41deda)=>!(_0x5ae1e4||_0x579419||_0x41deda)),this[_0x13ee73(0x1ce)]({'showApplyButton':_0x4861d8,'showSuggestButton':_0x3b0f0f}),this[_0x13ee73(0x1e8)][_0x13ee73(0x1d8)](this[_0x13ee73(0x222)]);}[_0x449ff4(0x1cd)](_0x274038){const _0x51585c=_0x449ff4;return this[_0x51585c(0x221)]=new _0x3d0717(this[_0x51585c(0x1e4)],_0x274038),this[_0x51585c(0x221)][_0x51585c(0x20b)](..._0x206f27)['to'](this),this[_0x51585c(0x221)]['on'](_0x51585c(0x1df),()=>{const _0x1f4db1=_0x51585c;this[_0x1f4db1(0x221)][_0x1f4db1(0x1f1)]=!this[_0x1f4db1(0x221)][_0x1f4db1(0x1f1)],this[_0x1f4db1(0x1f2)](_0x1f4db1(0x1d3),{'showDiff':this[_0x1f4db1(0x221)][_0x1f4db1(0x1f1)]});}),this[_0x51585c(0x221)][_0x51585c(0x21b)](_0x51585c(0x1d1))['to'](this,_0x51585c(0x20c),this,_0x51585c(0x203),(_0x1b1a35,_0x35da88)=>!(_0x1b1a35||_0x35da88)),this[_0x51585c(0x221)];}[_0x449ff4(0x226)](){const _0x3a6058=_0x449ff4;return this[_0x3a6058(0x201)]=new _0x181689(this[_0x3a6058(0x1e4)]),this[_0x3a6058(0x201)][_0x3a6058(0x21b)](_0x3a6058(0x1dc))['to'](this,_0x3a6058(0x203)),this[_0x3a6058(0x201)];}[_0x449ff4(0x22a)](){const _0x5874fe=_0x449ff4;return this[_0x5874fe(0x1eb)]=new _0x435255(this[_0x5874fe(0x1e4)]),this[_0x5874fe(0x1eb)];}[_0x449ff4(0x1f4)](){const _0x312e88=_0x449ff4,_0x2b356e=new _0x35997e(this[_0x312e88(0x1e4)]),_0x4e45d1=new _0x35997e(this[_0x312e88(0x1e4)]),_0x4c0970=new Ln(this[_0x312e88(0x1e4)]),_0x565075=new _0x35997e(this[_0x312e88(0x1e4)]);_0x2b356e[_0x312e88(0x212)]({'icon':_0x2122fe,'label':_0x17f886(this[_0x312e88(0x1e4)],_0x312e88(0x1d6)),'tooltip':!0x0,'class':_0x312e88(0x235)}),_0x4e45d1[_0x312e88(0x212)]({'icon':_0x376cd5,'tooltip':_0x17f886(this[_0x312e88(0x1e4)],_0x312e88(0x219)),'class':_0x312e88(0x1fa)}),_0x565075[_0x312e88(0x212)]({'icon':_0x19119b,'tooltip':_0x17f886(this[_0x312e88(0x1e4)],_0x312e88(0x1e9)),'class':_0x312e88(0x1f7)}),_0x2b356e[_0x312e88(0x21b)](_0x312e88(0x1d1))['to'](this,_0x312e88(0x20c),_0x25ee5f=>!_0x25ee5f),_0x2b356e['on'](_0x312e88(0x220),()=>{const _0x38579c=_0x312e88;this[_0x38579c(0x1f2)](_0x38579c(0x233));}),_0x4e45d1[_0x312e88(0x21b)](_0x312e88(0x1d1))['to'](this,_0x312e88(0x20c),_0x5392d8=>!_0x5392d8),_0x4e45d1['on'](_0x312e88(0x220),()=>{const _0x8e3091=_0x312e88;this[_0x8e3091(0x1f2)](_0x8e3091(0x1f3));}),_0x565075[_0x312e88(0x21b)](_0x312e88(0x1d1))['to'](this,_0x312e88(0x20c),_0x2889c8=>!_0x2889c8),_0x565075['on'](_0x312e88(0x220),()=>{const _0x4f6c9e=_0x312e88;this[_0x4f6c9e(0x1f2)](_0x4f6c9e(0x1e7));}),this[_0x312e88(0x1fd)]=_0x4e45d1,this[_0x312e88(0x223)]=_0x4c0970,this[_0x312e88(0x237)]=_0x565075,this[_0x312e88(0x205)]=_0x2b356e;}[_0x449ff4(0x209)](_0x4ae11e,_0x1ef7eb){const _0x435c47=_0x449ff4;this[_0x435c47(0x1fd)]||this[_0x435c47(0x1f4)]();const _0x11b56d=_0x4ae11e>0x1;if(this[_0x435c47(0x1dd)](this[_0x435c47(0x205)]),_0x11b56d){this[_0x435c47(0x1dd)](this[_0x435c47(0x1fd)]),this[_0x435c47(0x1dd)](this[_0x435c47(0x223)]),this[_0x435c47(0x1dd)](this[_0x435c47(0x237)]);const _0x36dfb6=_0x4ae11e-_0x1ef7eb;this[_0x435c47(0x223)][_0x435c47(0x1ec)](_0x36dfb6+'/'+_0x4ae11e),this[_0x435c47(0x1fd)][_0x435c47(0x1d1)]=_0x1ef7eb<_0x4ae11e-0x1,this[_0x435c47(0x237)][_0x435c47(0x1d1)]=_0x1ef7eb>0x0;}else this[_0x435c47(0x20a)](this[_0x435c47(0x1fd)]),this[_0x435c47(0x20a)](this[_0x435c47(0x223)]),this[_0x435c47(0x20a)](this[_0x435c47(0x237)]);}[_0x449ff4(0x208)](){const _0x13de12=_0x449ff4;this[_0x13de12(0x205)][_0x13de12(0x1d1)]=!0x1,this[_0x13de12(0x1fd)][_0x13de12(0x1d1)]=!0x1,this[_0x13de12(0x237)][_0x13de12(0x1d1)]=!0x1;}[_0x449ff4(0x1ee)](){const _0x54c47f=_0x449ff4;this[_0x54c47f(0x200)](),this[_0x54c47f(0x1ef)]&&this[_0x54c47f(0x1ef)][_0x54c47f(0x1cc)]();}[_0x449ff4(0x1e0)](){const _0x150161=_0x449ff4;this[_0x150161(0x1ef)]&&this[_0x150161(0x1ef)][_0x150161(0x1fb)]();}[_0x449ff4(0x1e1)](_0x53e8a2){const _0x22548a=_0x449ff4;this[_0x22548a(0x203)]=_0x53e8a2;}[_0x449ff4(0x1db)](){const _0x586648=_0x449ff4;this[_0x586648(0x221)][_0x586648(0x1f1)]=!0x1;}[_0x449ff4(0x200)](){const _0x99d66c=_0x449ff4,_0x239718=this[_0x99d66c(0x22b)]();_0x239718&&!this[_0x99d66c(0x1ef)]&&(this[_0x99d66c(0x1ef)]=new _0x376890(_0x239718));}[_0x449ff4(0x22b)](){const _0x4a3943=_0x449ff4;return this[_0x4a3943(0x1eb)][_0x4a3943(0x23a)];}}class Ln extends _0x6c4d05{constructor(_0x18e658){const _0x5a9a2a=_0x449ff4;super(_0x18e658);const _0x57ae38=this[_0x5a9a2a(0x1e2)];this[_0x5a9a2a(0x212)](_0x5a9a2a(0x211),_0x5a9a2a(0x213)),this[_0x5a9a2a(0x1f6)]({'tag':_0x5a9a2a(0x227),'attributes':{'class':[_0x5a9a2a(0x230)]},'children':[{'text':_0x57ae38['to'](_0x5a9a2a(0x211))}]});}[_0x449ff4(0x1ec)](_0xd4fff2){const _0x3faf24=_0x449ff4;this[_0x3faf24(0x212)](_0x3faf24(0x211),_0xd4fff2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52a6ed=_0x221d;function _0x221d(_0x3aff0e,_0x38f9fa){const _0x5b701c=_0x5b70();return _0x221d=function(_0x221de2,_0x57e749){_0x221de2=_0x221de2-0xf8;let _0x2ec5f1=_0x5b701c[_0x221de2];return _0x2ec5f1;},_0x221d(_0x3aff0e,_0x38f9fa);}function _0x5b70(){const _0x2ac271=['27mgsvwz','markAllChangesAsAccepted','_onChangeMarkerBlurred','_onCheckRunFinished','ai-review-mode-source-check-not-found','getEditor','1628436mbtFbf','changeMarkerBlurred','params','runReviewCheck','changeMarkerRestored','_scrollToChange','getRoot','plugins','result','error-chunk','ck-ai_review-highlights','ai-request-aborted','ai-review-mode-check-run-failed','3809204rvQtXX','dismissChange','acceptAllChanges','_aiReviewCheckList','clearAllMarkers','message','title','_getChangeContentElement','init','showGeneralReviewCoreErrorView','getReviewCheckList','leaveReview','finishReview','sendRating','emitter','_onDeactivateChange','getActiveChanges','changeId','2260WaBUXP','ready','AIConnector','start','markChangeAsAccepted','markChangeAsOutdated','abort','ai-review-mode-no-current-check-run','unmodified','removeClass','switchToEdit','_currentReviewCheckRun','_diffContent','.ck-ai_review__check-run-result','leaveReviewCoreResultList','changeMarkerHovered','5592408judhmL','switchToReadOnly','changes','retryReview','get','_onChangeMarkerRemoved','content','map','includes','locale','reviewCheckResultChangeStatusUpdated','_initRequiredPlugins','aborted','_aiReviewCoreUi','updateChangeState','_onReviewCheckResultDeactivated','1984521FSUfJH','getChangeElement','forceReadyState','reviewCheckResultReady','_getChecksList','activateChange','hasModifications','subTitle','listenTo','_onReviewCheckResultActivated','_onReviewCheckRun','contentInitial','showReviewCheckList','getDocumentData','rejectChange','changeMarkerClicked','15jqGhPw','applyChange','_aiConnector','args','showCheckRunResults','source','change','ck-ai_review-diff','changeMarkerRemoved','_getTranslationWithDefault','445vujqDj','_logError','_onChangeMarkerClicked','12UZiZOQ','reviewCheckRunUpdated','isOfficialPlugin','closest','documentData','_onChangeMarkerRestored','context','acceptChange','abortReviewStream','currentError','_changeActivationSource','showCheckRunResult','stopListening','_aiReviewCoreEditing','showActionsWhenResultIsReady','length','addResultChanges','showReviewCompletedView','markChangeAsPending','setAvailableChecks','112524EbzerC','ai-review-mode-check-run-general-error','updateDocumentData','_createReviewCheckRun','ai-review-mode-models-unable-to-retrieve','markChangeAsRejected','finished','processedResultsCount','hideChangeBalloon','status','ck-ai-translate-mode-content','panel','loading','_onActivateChange','showChunkErrorView','isPremiumPlugin','_onChangeMarkerHovered','reviewCheckResultActivated','_onReviewRunLeave','ai-review-mode-check-run-chunk-error','reviewCheckResultDeactivated','data','_markChangePositionInEditorContent','checks','showNoChangesView','getCheckById','document','view','editing','4169gVzMOj','contentNew','3334610xhiWYS','error-general','startsWith','restart','setCheckResultTitle','showGeneralResultsErrorView','requires','deactivateChange','reviewCheckResultAdded','isChangeActive'];_0x5b70=function(){return _0x2ac271;};return _0x5b70();}(function(_0x5f540d,_0x48106c){const _0x1b4583=_0x221d,_0x41bb15=_0x5f540d();while(!![]){try{const _0x1cf8e2=-parseInt(_0x1b4583(0x18a))/0x1*(parseInt(_0x1b4583(0x150))/0x2)+-parseInt(_0x1b4583(0x170))/0x3+-parseInt(_0x1b4583(0x131))/0x4*(-parseInt(_0x1b4583(0x180))/0x5)+parseInt(_0x1b4583(0x18d))/0x6*(-parseInt(_0x1b4583(0x13e))/0x7)+-parseInt(_0x1b4583(0x160))/0x8+parseInt(_0x1b4583(0x12b))/0x9*(-parseInt(_0x1b4583(0x121))/0xa)+-parseInt(_0x1b4583(0x11f))/0xb*(-parseInt(_0x1b4583(0x102))/0xc);if(_0x1cf8e2===_0x48106c)break;else _0x41bb15['push'](_0x41bb15['shift']());}catch(_0x2811b8){_0x41bb15['push'](_0x41bb15['shift']());}}}(_0x5b70,0xc8f23));import{ContextPlugin as _0x50f824}from'ckeditor5/src/core.js';import{CKEditorError as _0x29d565,logError as _0x536391,scrollAncestorsToShowTarget as _0x5b993f,scrollViewportToShowTarget as _0x5ee0d5}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x307cf2}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x3eb74a}from'../aicore/utils/common-translations.js';import{AIConnector as _0x37168c}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x50f824{[_0x52a6ed(0x182)];[_0x52a6ed(0x16d)];[_0x52a6ed(0xfb)];[_0x52a6ed(0x141)];[_0x52a6ed(0x15b)];[_0x52a6ed(0xf8)]=null;static get[_0x52a6ed(0x127)](){return[_0x37168c];}static get[_0x52a6ed(0x18f)](){return!0x0;}static get[_0x52a6ed(0x111)](){return!0x0;}async[_0x52a6ed(0x146)](){const _0x1b57bb=_0x52a6ed;this[_0x1b57bb(0x16b)](),this[_0x1b57bb(0x141)]=await this[_0x1b57bb(0x174)](),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x148),()=>{const _0x158da9=_0x1b57bb;this[_0x158da9(0x16d)][_0x158da9(0x101)](this[_0x158da9(0x141)][_0x158da9(0x119)]);}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x134),async(_0x43c805,_0x417337)=>{const _0x204e90=_0x1b57bb,_0x154bc2=this[_0x204e90(0x141)][_0x204e90(0x11b)](_0x417337['id']);if(_0x154bc2){this[_0x204e90(0x17a)](_0x417337),this[_0x204e90(0xfb)][_0x204e90(0x161)](),this[_0x204e90(0x15b)]=this[_0x204e90(0x105)](_0x417337,_0x154bc2),this[_0x204e90(0x16d)][_0x204e90(0x125)](this[_0x204e90(0x15b)][_0x204e90(0x144)],this[_0x204e90(0x15b)][_0x204e90(0x177)]),this[_0x204e90(0x15b)]['on'](_0x204e90(0x18e),(_0x58d677,_0x149fa6)=>{const _0x5cfa0c=_0x204e90;switch(_0x149fa6[_0x5cfa0c(0x10b)]){case _0x5cfa0c(0x117):case _0x5cfa0c(0x10e):this[_0x5cfa0c(0x16d)][_0x5cfa0c(0x184)](_0x149fa6);break;case _0x5cfa0c(0x108):this[_0x5cfa0c(0x12e)]();break;case _0x5cfa0c(0x151):this[_0x5cfa0c(0x16d)][_0x5cfa0c(0xfc)]();break;case _0x5cfa0c(0x158):this[_0x5cfa0c(0x16d)][_0x5cfa0c(0x11a)]();break;case _0x5cfa0c(0x122):this[_0x5cfa0c(0x16d)][_0x5cfa0c(0x126)](),this[_0x5cfa0c(0x18b)](new _0x29d565(_0x5cfa0c(0x103),this,void 0x0,this[_0x5cfa0c(0x15b)]?.[_0x5cfa0c(0x196)]));break;case _0x5cfa0c(0x13a):this[_0x5cfa0c(0x16d)][_0x5cfa0c(0x110)](),this[_0x5cfa0c(0x18b)](new _0x29d565(_0x5cfa0c(0x115),this,void 0x0,this[_0x5cfa0c(0x15b)]?.[_0x5cfa0c(0x196)]));break;case _0x5cfa0c(0x16c):this[_0x5cfa0c(0x15b)]&&this[_0x5cfa0c(0x15b)][_0x5cfa0c(0x109)]>0x0?setTimeout(()=>{const _0x7ca343=_0x5cfa0c;this[_0x7ca343(0x15b)]?.[_0x7ca343(0x172)]();},0x0):this[_0x5cfa0c(0x114)](!0x0);}_0x5cfa0c(0x151)!==_0x149fa6[_0x5cfa0c(0x10b)]&&_0x5cfa0c(0x13a)!==_0x149fa6[_0x5cfa0c(0x10b)]&&_0x5cfa0c(0x122)!==_0x149fa6[_0x5cfa0c(0x10b)]||this[_0x5cfa0c(0x15b)]?.[_0x5cfa0c(0x14b)]();}),this[_0x204e90(0x15b)]['on'](_0x204e90(0x129),(_0x58876c,_0x25db47)=>{const _0xdd8319=_0x204e90;if(!this[_0xdd8319(0x15b)])throw new _0x29d565(_0xdd8319(0x157),this);const _0x21e3d7=this[_0xdd8319(0x15c)](_0x25db47[_0xdd8319(0x139)][_0xdd8319(0x17b)],_0x25db47[_0xdd8319(0x139)][_0xdd8319(0x120)]);_0x25db47[_0xdd8319(0x185)][_0xdd8319(0xfe)](_0x25db47[_0xdd8319(0x139)]['id'],_0x21e3d7);}),this[_0x204e90(0x15b)]['on'](_0x204e90(0x173),(_0x5f461e,_0xcb257e)=>{const _0x2e29da=_0x204e90;for(const _0x4e885b of _0xcb257e[_0x2e29da(0x162)])this[_0x2e29da(0x16d)][_0x2e29da(0xf9)](_0x4e885b);this[_0x2e29da(0x118)](_0xcb257e[_0x2e29da(0x162)],_0xcb257e[_0x2e29da(0x185)][_0x2e29da(0x191)]);}),this[_0x204e90(0x15b)]['on'](_0x204e90(0x16a),(_0x2a4229,_0x3d6a04)=>{const _0x125014=_0x204e90;this[_0x125014(0x16d)][_0x125014(0x16e)](_0x3d6a04[_0x125014(0x186)]['id'],_0x3d6a04[_0x125014(0x10b)]);}),this[_0x204e90(0x15b)]['on'](_0x204e90(0x113),(_0x4357cd,_0x24c3ab)=>{const _0x521d35=_0x204e90;this[_0x521d35(0x179)](_0x24c3ab);}),this[_0x204e90(0x15b)]['on'](_0x204e90(0x116),()=>{const _0x3e578c=_0x204e90;this[_0x3e578c(0x16f)]();});try{await this[_0x204e90(0x15b)][_0x204e90(0x153)]();}catch(_0x22b804){_0x22b804 instanceof Error&&_0x22b804[_0x204e90(0x143)][_0x204e90(0x168)](_0x204e90(0x13c))||(_0x22b804 instanceof _0x29d565?this[_0x204e90(0x18b)](_0x22b804):this[_0x204e90(0x18b)](new _0x29d565(_0x204e90(0x13d),this,void 0x0,_0x22b804)));}}else this[_0x204e90(0x18b)](new _0x29d565(_0x204e90(0x12f),this,{'checkId':_0x417337['id']}));}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x149),()=>{const _0x1db825=_0x1b57bb;this[_0x1db825(0x114)]();}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x15e),()=>{const _0x283e51=_0x1b57bb;this[_0x283e51(0x114)](!0x0);}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x195),()=>{const _0x22a59c=_0x1b57bb;this[_0x22a59c(0x15b)]&&this[_0x22a59c(0x15b)][_0x22a59c(0x156)]();}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x14a),()=>{const _0x40c91b=_0x1b57bb;this[_0x40c91b(0x114)](!0x0);}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x140),()=>{const _0x1273ea=_0x1b57bb;if(!this[_0x1273ea(0x15b)])return;const _0x234630=this[_0x1273ea(0x15b)][_0x1273ea(0x14e)]();if(!_0x234630[_0x1273ea(0xfd)])return;this[_0x1273ea(0xfb)][_0x1273ea(0x181)](_0x234630[_0x1273ea(0x167)](_0x4db4f4=>_0x4db4f4['id']));const _0x31b087=this[_0x1273ea(0x15b)];_0x31b087[_0x1273ea(0x12c)](),_0x31b087[_0x1273ea(0x14b)]();}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x194),(_0x359396,_0x3ecb66)=>{const _0x38f94f=_0x1b57bb;this[_0x38f94f(0x15b)]&&this[_0x38f94f(0x15b)][_0x38f94f(0x12a)](_0x3ecb66['id'])&&(this[_0x38f94f(0xfb)][_0x38f94f(0x181)]([_0x3ecb66['id']]),this[_0x38f94f(0x15b)][_0x38f94f(0x154)](_0x3ecb66['id']),this[_0x38f94f(0x16d)][_0x38f94f(0x10a)](),this[_0x38f94f(0x15b)][_0x38f94f(0x14b)](_0x3ecb66['id']));}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x13f),(_0x47c4a5,_0x113987)=>{const _0xa3946a=_0x1b57bb;this[_0xa3946a(0x15b)]&&this[_0xa3946a(0x15b)][_0xa3946a(0x12a)](_0x113987['id'])&&(this[_0xa3946a(0xfb)][_0xa3946a(0x17e)](_0x113987['id']),this[_0xa3946a(0x15b)][_0xa3946a(0x107)](_0x113987['id']),this[_0xa3946a(0x16d)][_0xa3946a(0x10a)](),this[_0xa3946a(0x15b)][_0xa3946a(0x14b)](_0x113987['id']));}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x163),async()=>{const _0x43c089=_0x1b57bb;this[_0x43c089(0x15b)]&&(this[_0x43c089(0xfb)][_0x43c089(0x142)](),this[_0x43c089(0x15b)][_0x43c089(0x104)](this[_0x43c089(0xfb)][_0x43c089(0x17d)]()),await this[_0x43c089(0x15b)][_0x43c089(0x124)]());}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x175),(_0x5111eb,_0x4fdeac)=>{const _0x4fc73e=_0x1b57bb;this[_0x4fc73e(0x10f)](_0x4fdeac);}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0x16d)],_0x1b57bb(0x128),(_0x1b5fce,_0x3ec26d)=>{const _0x14a192=_0x1b57bb;this[_0x14a192(0x14d)](_0x3ec26d);}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0xfb)][_0x1b57bb(0x14c)],_0x1b57bb(0x17f),(_0x45a56a,_0x33a3dc)=>{const _0x3f6f60=_0x1b57bb;this[_0x3f6f60(0x18c)](_0x45a56a,_0x33a3dc);}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0xfb)][_0x1b57bb(0x14c)],_0x1b57bb(0x15f),(_0x3eb02f,_0x53ac6c)=>{const _0x85f010=_0x1b57bb;this[_0x85f010(0x112)](_0x3eb02f,_0x53ac6c);}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0xfb)][_0x1b57bb(0x14c)],_0x1b57bb(0x132),()=>{const _0xd5c659=_0x1b57bb;this[_0xd5c659(0x12d)]();}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0xfb)][_0x1b57bb(0x14c)],_0x1b57bb(0x188),(_0x3d7c03,_0x536386)=>{const _0x5b053c=_0x1b57bb;this[_0x5b053c(0x165)](_0x3d7c03,_0x536386);}),this[_0x1b57bb(0x178)](this[_0x1b57bb(0xfb)][_0x1b57bb(0x14c)],_0x1b57bb(0x135),(_0x4c7252,_0x3c8e4c)=>{const _0x5dc423=_0x1b57bb;this[_0x5dc423(0x192)](_0x4c7252,_0x3c8e4c);});}[_0x52a6ed(0x105)](_0x4cf792,_0x38047c){const _0x3d30a3=_0x52a6ed;return new _0x307cf2(this[_0x3d30a3(0xfb)][_0x3d30a3(0x17d)](),_0x38047c,this[_0x3d30a3(0x182)],_0x4cf792[_0x3d30a3(0x133)],_0x4cf792[_0x3d30a3(0x183)]);}[_0x52a6ed(0x165)](_0x2a5c30,_0x24cd6b){const _0x314482=_0x52a6ed;this[_0x314482(0x15b)]&&this[_0x314482(0x15b)][_0x314482(0x155)](_0x24cd6b[_0x314482(0x14f)]);}[_0x52a6ed(0x192)](_0xcddc29,_0x3c53ce){const _0x2f52c3=_0x52a6ed;this[_0x2f52c3(0x15b)]&&this[_0x2f52c3(0x15b)][_0x2f52c3(0x100)](_0x3c53ce[_0x2f52c3(0x14f)]);}[_0x52a6ed(0x12e)](){const _0x4fabdc=_0x52a6ed;this[_0x4fabdc(0x16d)][_0x4fabdc(0xff)]();}[_0x52a6ed(0x16b)](){const _0x1f6a8c=_0x52a6ed;this[_0x1f6a8c(0x182)]=this[_0x1f6a8c(0x193)][_0x1f6a8c(0x138)][_0x1f6a8c(0x164)](_0x1f6a8c(0x152));}[_0x52a6ed(0x114)](_0x19adc5=!0x1){const _0x574c78=_0x52a6ed;this[_0x574c78(0x15b)]&&(this[_0x574c78(0x15b)][_0x574c78(0x176)]||this[_0x574c78(0x15b)][_0x574c78(0x14b)](),this[_0x574c78(0x15b)][_0x574c78(0xfa)](),this[_0x574c78(0x15b)][_0x574c78(0x156)](),this[_0x574c78(0x15b)]=void 0x0),_0x19adc5&&this[_0x574c78(0x16d)][_0x574c78(0x17c)](),this[_0x574c78(0xfb)][_0x574c78(0x142)](),this[_0x574c78(0xfb)][_0x574c78(0x15a)](),this[_0x574c78(0xf8)]=null;const _0x38a0d6=this[_0x574c78(0xfb)][_0x574c78(0x130)]();_0x38a0d6&&_0x38a0d6[_0x574c78(0x11e)][_0x574c78(0x11d)][_0x574c78(0x186)](_0x50c03d=>{const _0x974a59=_0x574c78,_0x306b06=_0x38a0d6[_0x974a59(0x11e)][_0x974a59(0x11d)][_0x974a59(0x11c)][_0x974a59(0x137)]();_0x50c03d[_0x974a59(0x159)](_0x974a59(0x187),_0x306b06),_0x50c03d[_0x974a59(0x159)](_0x974a59(0x13b),_0x306b06),_0x50c03d[_0x974a59(0x159)](_0x974a59(0x10c),_0x306b06);});}[_0x52a6ed(0x189)](_0x323271,_0x2b36c1){const _0x5ce57e=_0x52a6ed,_0x5214d3=this[_0x5ce57e(0x193)][_0x5ce57e(0x169)],_0x833bfa=_0x3eb74a(_0x5214d3,_0x323271);return _0x833bfa===_0x323271?_0x2b36c1:_0x833bfa;}[_0x52a6ed(0x18b)](_0x4137dc,_0x54715c=!0x1){const _0x38e1c0=_0x52a6ed;_0x536391(_0x4137dc[_0x38e1c0(0x143)]),_0x54715c||(_0x4137dc[_0x38e1c0(0x143)][_0x38e1c0(0x123)](_0x38e1c0(0x106))?this[_0x38e1c0(0x16d)][_0x38e1c0(0x147)]():this[_0x38e1c0(0x16d)][_0x38e1c0(0x126)]());}[_0x52a6ed(0x136)](_0x56eb50){const _0x11ebab=_0x52a6ed;if(_0x11ebab(0x166)===this[_0x11ebab(0xf8)]){const _0x816574=this[_0x11ebab(0x16d)][_0x11ebab(0x171)](_0x56eb50);_0x816574&&_0x5b993f(_0x816574[_0x11ebab(0x190)](_0x11ebab(0x15d))||_0x816574);}else{if(_0x11ebab(0x10d)===this[_0x11ebab(0xf8)]){const _0x1fb281=this[_0x11ebab(0x145)](_0x56eb50);if(!_0x1fb281)return;_0x5ee0d5({'target':_0x1fb281,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
23
+ const _0x5a2c84=_0x47c2;(function(_0x4291a0,_0x58fc7d){const _0x56df31=_0x47c2,_0x596e72=_0x4291a0();while(!![]){try{const _0x3a4fd4=-parseInt(_0x56df31(0x19b))/0x1+parseInt(_0x56df31(0x191))/0x2+-parseInt(_0x56df31(0x18f))/0x3*(-parseInt(_0x56df31(0x177))/0x4)+-parseInt(_0x56df31(0x19f))/0x5+parseInt(_0x56df31(0x180))/0x6*(parseInt(_0x56df31(0x1c9))/0x7)+parseInt(_0x56df31(0x1b0))/0x8*(parseInt(_0x56df31(0x1a8))/0x9)+-parseInt(_0x56df31(0x163))/0xa*(-parseInt(_0x56df31(0x1ce))/0xb);if(_0x3a4fd4===_0x58fc7d)break;else _0x596e72['push'](_0x596e72['shift']());}catch(_0x551b53){_0x596e72['push'](_0x596e72['shift']());}}}(_0x47f1,0xbc1bd));function _0x47f1(){const _0x31586d=['processedResultsCount','rejectChange','emitter','panel','getRoot','isPremiumPlugin','showGeneralResultsErrorView','_onReviewCheckResultDeactivated','ck-ai_review-diff','error-chunk','_onReviewCheckResultActivated','markChangeAsPending','closest','getChangeElement','updateChangeState','isChangeActive','markAllChangesAsAccepted','document','reviewCheckResultDeactivated','_getChecksList','showGeneralReviewCoreErrorView','_onActivateChange','clearAllMarkers','30gcdmAw','_aiConnector','abort','showNoChangesView','context','_currentReviewCheckRun','deactivateChange','ck-ai_review-highlights','_initRequiredPlugins','_onChangeMarkerClicked','removeClass','reviewCheckResultActivated','markChangeAsOutdated','_onCheckRunFinished','params','checks','showReviewCheckList','restart','message','_onChangeMarkerBlurred','2965396FXyzzB','reviewCheckResultChangeStatusUpdated','ai-review-mode-check-run-failed','ai-review-mode-no-current-check-run','start','acceptChange','acceptAllChanges','ai-review-mode-models-unable-to-retrieve','hideChangeBalloon','582aVPKCz','sendRating','changeMarkerBlurred','ai-review-mode-check-run-general-error','ai-review-mode-source-check-not-found','showCheckRunResult','finishReview','changeMarkerRestored','args','listenTo','markChangeAsAccepted','_onReviewRunLeave','_logError','switchToEdit','includes','3zwtSug','leaveReviewCoreResultList','2349778eWTZoZ','abortReviewStream','error-general','_aiReviewCoreEditing','addResultChanges','retryReview','ready','plugins','map','_markChangePositionInEditorContent','979400fVXDab','getActiveChanges','applyChange','getDocumentData','5300190ejolwV','showReviewCompletedView','startsWith','ck-ai-translate-mode-content','runReviewCheck','leaveReview','setCheckResultTitle','requires','title','81wrBExq','init','updateDocumentData','_changeActivationSource','reviewCheckResultAdded','getEditor','documentData','_scrollToChange','5584AgzLVP','_getTranslationWithDefault','result','_aiReviewCoreUi','showChunkErrorView','ai-review-mode-check-run-chunk-error','changes','contentInitial','.ck-ai_review__check-run-result','source','_diffContent','status','markChangeAsRejected','aborted','_onDeactivateChange','setAvailableChecks','showCheckRunResults','ai-request-aborted','get','getCheckById','_onChangeMarkerRemoved','_aiReviewCheckList','dismissChange','change','hasModifications','28385MuPdvK','changeId','switchToReadOnly','view','loading','1811612JDMcsq','stopListening','_createReviewCheckRun','_onReviewCheckRun','_onChangeMarkerHovered','AIConnector','content','finished','contentNew','changeMarkerHovered','reviewCheckRunUpdated','getReviewCheckList','activateChange','subTitle','length','unmodified','reviewCheckResultReady','isOfficialPlugin','editing','changeMarkerClicked','showActionsWhenResultIsReady','_onChangeMarkerRestored','forceReadyState','_getChangeContentElement','data','changeMarkerRemoved','currentError','locale'];_0x47f1=function(){return _0x31586d;};return _0x47f1();}import{ContextPlugin as _0x3514de}from'ckeditor5/src/core.js';import{CKEditorError as _0x48c641,logError as _0x22b2f0,scrollAncestorsToShowTarget as _0xe777f5,scrollViewportToShowTarget as _0x65e271}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x2930ff}from'./model/aireviewsystemcheckrun.js';function _0x47c2(_0x499154,_0x1daa3a){const _0x47f1e9=_0x47f1();return _0x47c2=function(_0x47c22b,_0x55d225){_0x47c22b=_0x47c22b-0x140;let _0x1cfba2=_0x47f1e9[_0x47c22b];return _0x1cfba2;},_0x47c2(_0x499154,_0x1daa3a);}import{getTranslation as _0xfabbd8}from'../aicore/utils/common-translations.js';import{AIConnector as _0x109de8}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x3514de{[_0x5a2c84(0x164)];[_0x5a2c84(0x1b3)];[_0x5a2c84(0x194)];[_0x5a2c84(0x1c5)];[_0x5a2c84(0x168)];[_0x5a2c84(0x1ab)]=null;static get[_0x5a2c84(0x1a6)](){return[_0x109de8];}static get[_0x5a2c84(0x141)](){return!0x0;}static get[_0x5a2c84(0x151)](){return!0x0;}async[_0x5a2c84(0x1a9)](){const _0x2595d9=_0x5a2c84;this[_0x2595d9(0x16b)](),this[_0x2595d9(0x1c5)]=await this[_0x2595d9(0x15f)](),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x1d9),()=>{const _0x24838c=_0x2595d9;this[_0x24838c(0x1b3)][_0x24838c(0x1bf)](this[_0x24838c(0x1c5)][_0x24838c(0x172)]);}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x1a3),async(_0x4f4568,_0x181538)=>{const _0x1295e8=_0x2595d9,_0x3574a9=this[_0x1295e8(0x1c5)][_0x1295e8(0x1c3)](_0x181538['id']);if(_0x3574a9){this[_0x1295e8(0x1d1)](_0x181538),this[_0x1295e8(0x194)][_0x1295e8(0x1cb)](),this[_0x1295e8(0x168)]=this[_0x1295e8(0x1d0)](_0x181538,_0x3574a9),this[_0x1295e8(0x1b3)][_0x1295e8(0x1a5)](this[_0x1295e8(0x168)][_0x1295e8(0x1a7)],this[_0x1295e8(0x168)][_0x1295e8(0x1db)]),this[_0x1295e8(0x168)]['on'](_0x1295e8(0x1d8),(_0x29616d,_0x5d88d8)=>{const _0x597b77=_0x1295e8;switch(_0x5d88d8[_0x597b77(0x1bb)]){case _0x597b77(0x148):case _0x597b77(0x1cd):this[_0x597b77(0x1b3)][_0x597b77(0x1c0)](_0x5d88d8);break;case _0x597b77(0x1d5):this[_0x597b77(0x170)]();break;case _0x597b77(0x197):this[_0x597b77(0x1b3)][_0x597b77(0x144)]();break;case _0x597b77(0x1dd):this[_0x597b77(0x1b3)][_0x597b77(0x166)]();break;case _0x597b77(0x193):this[_0x597b77(0x1b3)][_0x597b77(0x152)](),this[_0x597b77(0x18c)](new _0x48c641(_0x597b77(0x183),this,void 0x0,this[_0x597b77(0x168)]?.[_0x597b77(0x14a)]));break;case _0x597b77(0x155):this[_0x597b77(0x1b3)][_0x597b77(0x1b4)](),this[_0x597b77(0x18c)](new _0x48c641(_0x597b77(0x1b5),this,void 0x0,this[_0x597b77(0x168)]?.[_0x597b77(0x14a)]));break;case _0x597b77(0x1bd):this[_0x597b77(0x168)]&&this[_0x597b77(0x168)][_0x597b77(0x14c)]>0x0?setTimeout(()=>{const _0x4a5ae4=_0x597b77;this[_0x4a5ae4(0x168)]?.[_0x4a5ae4(0x146)]();},0x0):this[_0x597b77(0x18b)](!0x0);}_0x597b77(0x197)!==_0x5d88d8[_0x597b77(0x1bb)]&&_0x597b77(0x155)!==_0x5d88d8[_0x597b77(0x1bb)]&&_0x597b77(0x193)!==_0x5d88d8[_0x597b77(0x1bb)]||this[_0x597b77(0x168)]?.[_0x597b77(0x181)]();}),this[_0x1295e8(0x168)]['on'](_0x1295e8(0x1ac),(_0x49f631,_0x269a6e)=>{const _0x110876=_0x1295e8;if(!this[_0x110876(0x168)])throw new _0x48c641(_0x110876(0x17a),this);const _0x212732=this[_0x110876(0x1ba)](_0x269a6e[_0x110876(0x1b2)][_0x110876(0x1b7)],_0x269a6e[_0x110876(0x1b2)][_0x110876(0x1d6)]);_0x269a6e[_0x110876(0x1b9)][_0x110876(0x195)](_0x269a6e[_0x110876(0x1b2)]['id'],_0x212732);}),this[_0x1295e8(0x168)]['on'](_0x1295e8(0x140),(_0x2d45c7,_0x41c4e7)=>{const _0x1d39a6=_0x1295e8;for(const _0xd14997 of _0x41c4e7[_0x1d39a6(0x1b6)])this[_0x1d39a6(0x1b3)][_0x1d39a6(0x185)](_0xd14997);this[_0x1d39a6(0x19a)](_0x41c4e7[_0x1d39a6(0x1b6)],_0x41c4e7[_0x1d39a6(0x1b9)][_0x1d39a6(0x1ae)]);}),this[_0x1295e8(0x168)]['on'](_0x1295e8(0x178),(_0x4a6288,_0x1bc4d4)=>{const _0x2b72ef=_0x1295e8;this[_0x2b72ef(0x1b3)][_0x2b72ef(0x15a)](_0x1bc4d4[_0x2b72ef(0x1c7)]['id'],_0x1bc4d4[_0x2b72ef(0x1bb)]);}),this[_0x1295e8(0x168)]['on'](_0x1295e8(0x16e),(_0x59e6bd,_0x2bd827)=>{const _0x590e54=_0x1295e8;this[_0x590e54(0x156)](_0x2bd827);}),this[_0x1295e8(0x168)]['on'](_0x1295e8(0x15e),()=>{const _0x273b87=_0x1295e8;this[_0x273b87(0x153)]();});try{await this[_0x1295e8(0x168)][_0x1295e8(0x17b)]();}catch(_0x200ac0){_0x200ac0 instanceof Error&&_0x200ac0[_0x1295e8(0x175)][_0x1295e8(0x18e)](_0x1295e8(0x1c1))||(_0x200ac0 instanceof _0x48c641?this[_0x1295e8(0x18c)](_0x200ac0):this[_0x1295e8(0x18c)](new _0x48c641(_0x1295e8(0x179),this,void 0x0,_0x200ac0)));}}else this[_0x1295e8(0x18c)](new _0x48c641(_0x1295e8(0x184),this,{'checkId':_0x181538['id']}));}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x1a4),()=>{const _0x132c42=_0x2595d9;this[_0x132c42(0x18b)]();}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x190),()=>{const _0x11250d=_0x2595d9;this[_0x11250d(0x18b)](!0x0);}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x192),()=>{const _0x2982dc=_0x2595d9;this[_0x2982dc(0x168)]&&this[_0x2982dc(0x168)][_0x2982dc(0x165)]();}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x186),()=>{const _0x5cac36=_0x2595d9;this[_0x5cac36(0x18b)](!0x0);}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x17d),()=>{const _0x408eb1=_0x2595d9;if(!this[_0x408eb1(0x168)])return;const _0x1486e1=this[_0x408eb1(0x168)][_0x408eb1(0x19c)]();if(!_0x1486e1[_0x408eb1(0x1dc)])return;this[_0x408eb1(0x194)][_0x408eb1(0x19d)](_0x1486e1[_0x408eb1(0x199)](_0x500546=>_0x500546['id']));const _0xcab88f=this[_0x408eb1(0x168)];_0xcab88f[_0x408eb1(0x15c)](),_0xcab88f[_0x408eb1(0x181)]();}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x17c),(_0x47acdc,_0x47b1f2)=>{const _0x1f60c5=_0x2595d9;this[_0x1f60c5(0x168)]&&this[_0x1f60c5(0x168)][_0x1f60c5(0x15b)](_0x47b1f2['id'])&&(this[_0x1f60c5(0x194)][_0x1f60c5(0x19d)]([_0x47b1f2['id']]),this[_0x1f60c5(0x168)][_0x1f60c5(0x18a)](_0x47b1f2['id']),this[_0x1f60c5(0x1b3)][_0x1f60c5(0x17f)](),this[_0x1f60c5(0x168)][_0x1f60c5(0x181)](_0x47b1f2['id']));}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x1c6),(_0x1362c3,_0x2eff97)=>{const _0x32e8cf=_0x2595d9;this[_0x32e8cf(0x168)]&&this[_0x32e8cf(0x168)][_0x32e8cf(0x15b)](_0x2eff97['id'])&&(this[_0x32e8cf(0x194)][_0x32e8cf(0x14d)](_0x2eff97['id']),this[_0x32e8cf(0x168)][_0x32e8cf(0x1bc)](_0x2eff97['id']),this[_0x32e8cf(0x1b3)][_0x32e8cf(0x17f)](),this[_0x32e8cf(0x168)][_0x32e8cf(0x181)](_0x2eff97['id']));}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x196),async()=>{const _0x3b6053=_0x2595d9;this[_0x3b6053(0x168)]&&(this[_0x3b6053(0x194)][_0x3b6053(0x162)](),this[_0x3b6053(0x168)][_0x3b6053(0x1aa)](this[_0x3b6053(0x194)][_0x3b6053(0x19e)]()),await this[_0x3b6053(0x168)][_0x3b6053(0x174)]());}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x1da),(_0x1b4f69,_0x44fea2)=>{const _0x517979=_0x2595d9;this[_0x517979(0x161)](_0x44fea2);}),this[_0x2595d9(0x189)](this[_0x2595d9(0x1b3)],_0x2595d9(0x169),(_0x32c0d8,_0x29cc6e)=>{const _0x1890e0=_0x2595d9;this[_0x1890e0(0x1be)](_0x29cc6e);}),this[_0x2595d9(0x189)](this[_0x2595d9(0x194)][_0x2595d9(0x14e)],_0x2595d9(0x143),(_0x30ff06,_0x41c913)=>{const _0x465a60=_0x2595d9;this[_0x465a60(0x16c)](_0x30ff06,_0x41c913);}),this[_0x2595d9(0x189)](this[_0x2595d9(0x194)][_0x2595d9(0x14e)],_0x2595d9(0x1d7),(_0x17b7ca,_0x122a1b)=>{const _0x164f99=_0x2595d9;this[_0x164f99(0x1d2)](_0x17b7ca,_0x122a1b);}),this[_0x2595d9(0x189)](this[_0x2595d9(0x194)][_0x2595d9(0x14e)],_0x2595d9(0x182),()=>{const _0x356c87=_0x2595d9;this[_0x356c87(0x176)]();}),this[_0x2595d9(0x189)](this[_0x2595d9(0x194)][_0x2595d9(0x14e)],_0x2595d9(0x149),(_0x463985,_0x222d27)=>{const _0x3b171b=_0x2595d9;this[_0x3b171b(0x1c4)](_0x463985,_0x222d27);}),this[_0x2595d9(0x189)](this[_0x2595d9(0x194)][_0x2595d9(0x14e)],_0x2595d9(0x187),(_0x339b03,_0x24358b)=>{const _0x1299db=_0x2595d9;this[_0x1299db(0x145)](_0x339b03,_0x24358b);});}[_0x5a2c84(0x1d0)](_0x495c20,_0x16fb32){const _0x5e85d0=_0x5a2c84;return new _0x2930ff(this[_0x5e85d0(0x194)][_0x5e85d0(0x19e)](),_0x16fb32,this[_0x5e85d0(0x164)],_0x495c20[_0x5e85d0(0x171)],_0x495c20[_0x5e85d0(0x188)]);}[_0x5a2c84(0x1c4)](_0x420169,_0x1881f2){const _0x44632a=_0x5a2c84;this[_0x44632a(0x168)]&&this[_0x44632a(0x168)][_0x44632a(0x16f)](_0x1881f2[_0x44632a(0x1ca)]);}[_0x5a2c84(0x145)](_0x574ec2,_0x4defd7){const _0x1269ab=_0x5a2c84;this[_0x1269ab(0x168)]&&this[_0x1269ab(0x168)][_0x1269ab(0x157)](_0x4defd7[_0x1269ab(0x1ca)]);}[_0x5a2c84(0x170)](){const _0x28d214=_0x5a2c84;this[_0x28d214(0x1b3)][_0x28d214(0x1a0)]();}[_0x5a2c84(0x16b)](){const _0x2ae0d7=_0x5a2c84;this[_0x2ae0d7(0x164)]=this[_0x2ae0d7(0x167)][_0x2ae0d7(0x198)][_0x2ae0d7(0x1c2)](_0x2ae0d7(0x1d3));}[_0x5a2c84(0x18b)](_0x1635c6=!0x1){const _0x57138e=_0x5a2c84;this[_0x57138e(0x168)]&&(this[_0x57138e(0x168)][_0x57138e(0x1c8)]||this[_0x57138e(0x168)][_0x57138e(0x181)](),this[_0x57138e(0x168)][_0x57138e(0x1cf)](),this[_0x57138e(0x168)][_0x57138e(0x165)](),this[_0x57138e(0x168)]=void 0x0),_0x1635c6&&this[_0x57138e(0x1b3)][_0x57138e(0x173)](),this[_0x57138e(0x194)][_0x57138e(0x162)](),this[_0x57138e(0x194)][_0x57138e(0x18d)](),this[_0x57138e(0x1ab)]=null;const _0x141b18=this[_0x57138e(0x194)][_0x57138e(0x1ad)]();_0x141b18&&_0x141b18[_0x57138e(0x142)][_0x57138e(0x1cc)][_0x57138e(0x1c7)](_0x25f9ee=>{const _0x4b7006=_0x57138e,_0x39dd47=_0x141b18[_0x4b7006(0x142)][_0x4b7006(0x1cc)][_0x4b7006(0x15d)][_0x4b7006(0x150)]();_0x25f9ee[_0x4b7006(0x16d)](_0x4b7006(0x154),_0x39dd47),_0x25f9ee[_0x4b7006(0x16d)](_0x4b7006(0x16a),_0x39dd47),_0x25f9ee[_0x4b7006(0x16d)](_0x4b7006(0x1a2),_0x39dd47);});}[_0x5a2c84(0x1b1)](_0x97dec7,_0x5ef6ee){const _0x2e3306=_0x5a2c84,_0x5a6ec3=this[_0x2e3306(0x167)][_0x2e3306(0x14b)],_0x5e74d0=_0xfabbd8(_0x5a6ec3,_0x97dec7);return _0x5e74d0===_0x97dec7?_0x5ef6ee:_0x5e74d0;}[_0x5a2c84(0x18c)](_0x2b66d2,_0x1ea14e=!0x1){const _0x10ed99=_0x5a2c84;_0x22b2f0(_0x2b66d2[_0x10ed99(0x175)]),_0x1ea14e||(_0x2b66d2[_0x10ed99(0x175)][_0x10ed99(0x1a1)](_0x10ed99(0x17e))?this[_0x10ed99(0x1b3)][_0x10ed99(0x160)]():this[_0x10ed99(0x1b3)][_0x10ed99(0x152)]());}[_0x5a2c84(0x1af)](_0x57431d){const _0xef6f85=_0x5a2c84;if(_0xef6f85(0x1d4)===this[_0xef6f85(0x1ab)]){const _0x2c9c45=this[_0xef6f85(0x1b3)][_0xef6f85(0x159)](_0x57431d);_0x2c9c45&&_0xe777f5(_0x2c9c45[_0xef6f85(0x158)](_0xef6f85(0x1b8))||_0x2c9c45);}else{if(_0xef6f85(0x14f)===this[_0xef6f85(0x1ab)]){const _0x297ea2=this[_0xef6f85(0x147)](_0x57431d);if(!_0x297ea2)return;_0x65e271({'target':_0x297ea2,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56e703=_0x1f4f;(function(_0x4b3063,_0x228570){const _0x4bfd8f=_0x1f4f,_0x2fe616=_0x4b3063();while(!![]){try{const _0x2d1462=-parseInt(_0x4bfd8f(0x266))/0x1*(-parseInt(_0x4bfd8f(0x267))/0x2)+parseInt(_0x4bfd8f(0x1e4))/0x3*(-parseInt(_0x4bfd8f(0x1bf))/0x4)+-parseInt(_0x4bfd8f(0x226))/0x5+parseInt(_0x4bfd8f(0x19c))/0x6*(-parseInt(_0x4bfd8f(0x29a))/0x7)+-parseInt(_0x4bfd8f(0x190))/0x8+-parseInt(_0x4bfd8f(0x291))/0x9+-parseInt(_0x4bfd8f(0x27f))/0xa*(-parseInt(_0x4bfd8f(0x273))/0xb);if(_0x2d1462===_0x228570)break;else _0x2fe616['push'](_0x2fe616['shift']());}catch(_0x11d527){_0x2fe616['push'](_0x2fe616['shift']());}}}(_0x4528,0x31874));import{InsertOperation as _0x1fd54d,MarkerOperation as _0xa5fb7b,ModelDocumentFragment as _0x5a7765,ModelPosition as _0x665f1c,ModelRange as _0x4e0fdf,ModelTreeWalker as _0xa4b8e4,transformOperationSets as _0x3bb04d}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x177078,EmitterMixin as _0x3641b8,uid as _0x3485cf}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x15baf4}from'ckeditor5/src/core.js';import{DocumentCompare as _0x302eac,DATA_ID_MODEL_ATTRIBUTE as _0x3e9236,DATA_ID_VIEW_ATTRIBUTE as _0x3db762,getMarkerDomElement as _0x3113c8}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x3e7f88}from'../aicore/utils/geteditorfromcontext.js';function _0x4528(){const _0x21e068=['ck-ai_review-marker_context-start','.ck-reset.ck-ai_review-balloon-panel-suggestion','add','rejectChange','getChildren','pluginName','markerToElement','relatedTarget','getPath','_appendChild','editing','elements','append','_eventEmitter','diffContent','ck-ai_review-marker_context-','marker','remove-only','toDomElement','values','_nextDataId','markerName','stringify','changeMarkerClicked','_createGetContextFn','remove-text','_changeOperationOwnerDocument','createRangeOn','$markedRemove','isBlock','jumpTo','48lLmqqG','_getOperationStart','startsWith','\x20ck-ai_review__change_active','setAllMarkersAsInactive','getEditableElement','review-','isAtStart','asString','AIReviewCoreEditing','isInline','insert','getDiff','isIntersecting','_insertMarkers','enableReadOnlyMode','AIEditing','from','index','createRawElement','_validateMarkers','_removeChildren','context','name','switchToEdit','getEditor','_setAttribute','afterInit','isPremiumPlugin','isTouching','_getMarkersDataForGroup','_removeAttribute','remove','childCount','nodes','deleteContent','ai-review','43092hDPpKg','keys','view','addOperation','processor','reactivateMarkers','_handleMarkerChanges','model','_translateOperationToEditorContent','_changePosition','hasContentAfter','domConverter','reconvertMarker','_changeRangeOwnerDocument','size','highest','removeMarker','markerToHighlight','join','path','clear','baseVersion','editingDowncast','innerHTML','getAttribute','suggestion-context','_getPositionLimitingRange','markChangePositionInEditorContent','filter','change','getChangedMarkers','DocumentCompare','htmlWriter','changeMarkerBlurred','ck-ai_review__change_active','switchToReadOnly','end','closest','insertContent','toView','target','ck-ai_review-marker_underline','_domEmitter','outside','ellipsisBefore','isAtEnd','groupId','offset','concat','_groupAdjacentOperations','getStart','suggestion:insertion:id:authorId:','root','_findAdjacentContextDistance','_shiftOperation','mouseup','split','conversion','querySelector','No\x20element\x20found\x20for\x20ID:\x20','dataDowncast','hasAttribute','ck-ai_review-marker_context-end','ellipsisAfter','containerElement','_createGetContentUsingDataIdFn','741845WIXhto','_activeMarkers','inside','affectsData','document','hasClass','downcast','newRange','sort','hasContentBefore','backward','createPositionAfter','data','isLimit','clearAllMarkers','disableReadOnlyMode','offsetSize','applyOperation','_changeRange','has','htmlProcessor','changeMarkerRemoved','plugins','body','batch','forward','[data-id=\x22','className','version','ck-ai_review-marker_add','parse','_getChangeContext','registerPostFixer','changeMarkerRestored','applyChange','every','ck-ai_review-marker_strikethrough','$markedRemove:synthetic','fire','element','documentFragment','howMany','set','getShiftedBy','for','span','flat','ck-ai_review-marker_','addMarker','getChanges','setMarkersInElementAsActive','includes','length','listenTo','getHtml','getRoot','rootName','_getOperationEnd','asFragment','createPositionAt','map','_findMarkerElementById','suggestion:deletion:id:authorId:','requires','121843SPpnTB','2JZDnwe','parentElement','oldRange','warn','toData','_changePositionOwnerDocument','createUIElement','createRange','markers','getDocumentData','createDocumentFragment','_haveOnlyInlineContent','6030651XVIkvY','getRange','containsRange','attributeToAttribute','position','remove-context','_upsertDataId','schema','viewToDom','createRangeIn','$documentFragment','operationsIsolated','20BKLxlX','operationsA','operations','_clone','clone','_sortMarkers','_createGetContentFn','pop','getOperations','getDomRoot','exec','_findMarkerElement','history','content','[data-marker-id=\x22','isOfficialPlugin','_markers','$graveyard','2711673QzciVP','_parseMarkerName','get','getRoots','getChild','start','delete','outerHTML','emitter','8253PCiQvj','ck-ai_review-marker_hide','push','$root','getMarkerElementForChange','2421120ocwQZv','differ','data-marker-id','type','_hasSameTopLevelElement','mouseover','forEach','isDocumentOperation','$textProxy','createSelection','_haveSingleTopLevelElement','changeMarkerHovered','462ELBNCu','getContentElementForChange','isOpening','parent'];_0x4528=function(){return _0x21e068;};return _0x4528();}function _0x1f4f(_0x27cee6,_0x2c190d){const _0x4528d8=_0x4528();return _0x1f4f=function(_0x1f4f4f,_0x3335b6){_0x1f4f4f=_0x1f4f4f-0x190;let _0x658eb9=_0x4528d8[_0x1f4f4f];return _0x658eb9;},_0x1f4f(_0x27cee6,_0x2c190d);}import{AIEditing as _0xae66ee}from'../aicore/aiediting.js';import{debounce as _0x1d40d8}from'es-toolkit/compat';const fe=_0x56e703(0x1c5);export class AIReviewCoreEditing extends _0x15baf4{static get[_0x56e703(0x265)](){return[_0x302eac,_0xae66ee];}static get[_0x56e703(0x1a5)](){const _0x22c6fc=_0x56e703;return _0x22c6fc(0x1c8);}static get[_0x56e703(0x28e)](){return!0x0;}static get[_0x56e703(0x1db)](){return!0x0;}[_0x56e703(0x28f)]=new Map();[_0x56e703(0x227)]=new Set();[_0x56e703(0x20e)];[_0x56e703(0x1ad)];constructor(_0x39a1be){const _0x20beba=_0x56e703;super(_0x39a1be),this[_0x20beba(0x20e)]=new(_0x177078())(),this[_0x20beba(0x1ad)]=new(_0x3641b8())();}get[_0x56e703(0x299)](){const _0x220a03=_0x56e703;return this[_0x220a03(0x1ad)];}[_0x56e703(0x1da)](){const _0x2bf141=_0x56e703,_0x18cf0b=_0x3e7f88(this[_0x2bf141(0x1d5)]);_0x18cf0b[_0x2bf141(0x21d)][_0x2bf141(0x252)](_0x2bf141(0x1fa))[_0x2bf141(0x1a6)]({'model':fe+_0x2bf141(0x1ca),'view':(_0x33f902,{writer:_0x53bc20})=>{const _0xbbecb4=_0x2bf141,_0x2b7195=this[_0xbbecb4(0x28f)][_0xbbecb4(0x293)](_0x33f902[_0xbbecb4(0x1b5)]),_0x2f886e={'class':_0xbbecb4(0x243)+(this[_0xbbecb4(0x227)][_0xbbecb4(0x239)](_0x2b7195?.['id']||'')?_0xbbecb4(0x1c2):''),'data-marker-id':_0x33f902[_0xbbecb4(0x1b5)]};return _0x53bc20[_0xbbecb4(0x26d)](_0xbbecb4(0x253),_0x2f886e,function(_0x377e0e){const _0x3c8f8c=_0xbbecb4,_0x29789c=this[_0x3c8f8c(0x1b2)](_0x377e0e);return _0x29789c[_0x3c8f8c(0x1fb)]=_0x2b7195?.[_0x3c8f8c(0x28c)]?.[_0x3c8f8c(0x1c7)]||'',_0x29789c;});}}),_0x18cf0b[_0x2bf141(0x21d)][_0x2bf141(0x252)](_0x2bf141(0x1fa))[_0x2bf141(0x1f5)]({'model':fe+_0x2bf141(0x1b1),'view':_0x4267ac=>{const _0x3eecc5=_0x2bf141,_0x184133=this[_0x3eecc5(0x28f)][_0x3eecc5(0x293)](_0x4267ac[_0x3eecc5(0x1b5)]),_0x2c60c3=[_0x3eecc5(0x24a)];return this[_0x3eecc5(0x227)][_0x3eecc5(0x239)](_0x184133?.['id']||'')&&_0x2c60c3[_0x3eecc5(0x29c)](_0x3eecc5(0x206)),{'classes':_0x2c60c3,'attributes':{'data-marker-id':_0x4267ac[_0x3eecc5(0x1b5)]}};}}),_0x18cf0b[_0x2bf141(0x21d)][_0x2bf141(0x252)](_0x2bf141(0x1fa))[_0x2bf141(0x1f5)]({'model':fe+_0x2bf141(0x278),'view':_0x459763=>{const _0x1751bc=_0x2bf141,_0x176da3=this[_0x1751bc(0x28f)][_0x1751bc(0x293)](_0x459763[_0x1751bc(0x1b5)]),_0x10a93a=[_0x1751bc(0x20d)];return this[_0x1751bc(0x227)][_0x1751bc(0x239)](_0x176da3?.['id']||'')&&_0x10a93a[_0x1751bc(0x29c)](_0x1751bc(0x206)),{'classes':_0x10a93a,'attributes':{'data-marker-id':_0x459763[_0x1751bc(0x1b5)]}};}}),_0x18cf0b[_0x2bf141(0x21d)][_0x2bf141(0x252)](_0x2bf141(0x1fa))[_0x2bf141(0x1f5)]({'model':fe+_0x2bf141(0x1b9),'view':_0x55489a=>{const _0x36a77e=_0x2bf141,_0x9c641e=this[_0x36a77e(0x28f)][_0x36a77e(0x293)](_0x55489a[_0x36a77e(0x1b5)]),_0x49ed92=[_0x36a77e(0x29b)];return this[_0x36a77e(0x227)][_0x36a77e(0x239)](_0x9c641e?.['id']||'')&&_0x49ed92[_0x36a77e(0x29c)](_0x36a77e(0x206)),{'classes':_0x49ed92,'attributes':{'data-marker-id':_0x55489a[_0x36a77e(0x1b5)]}};}}),_0x18cf0b[_0x2bf141(0x21d)][_0x2bf141(0x252)](_0x2bf141(0x220))[_0x2bf141(0x1a6)]({'model':fe+_0x2bf141(0x1fd),'view':(_0x46415a,{writer:_0x5d07a9})=>_0x5d07a9[_0x2bf141(0x1d2)](_0x2bf141(0x253),{'class':_0x2bf141(0x1af)+(_0x46415a[_0x2bf141(0x19e)]?_0x2bf141(0x296):_0x2bf141(0x208))})}),_0x18cf0b[_0x2bf141(0x21d)][_0x2bf141(0x252)](_0x2bf141(0x22c))[_0x2bf141(0x276)]({'model':_0x3e9236,'view':_0x3db762});const _0x56df16=_0x18cf0b['ui'][_0x2bf141(0x1c4)]()||document[_0x2bf141(0x23d)];this[_0x2bf141(0x20e)][_0x2bf141(0x25b)](_0x56df16,_0x2bf141(0x21b),(_0x4941d6,_0xadb4e5)=>{const _0x2c5161=_0x2bf141,_0x135ae8=_0xadb4e5[_0x2c5161(0x20c)],_0x5c48be=this[_0x2c5161(0x28a)](_0x135ae8);if(!_0x5c48be)return;const _0x1b996e=_0x5c48be[_0x2c5161(0x1fc)](_0x2c5161(0x192)),_0x17a44a=_0x1b996e[_0x2c5161(0x21c)](':')[_0x2c5161(0x286)]()?.[_0x2c5161(0x21c)]('_')[0x0];this[_0x2c5161(0x1ad)][_0x2c5161(0x24c)](_0x2c5161(0x1b7),{'markerId':_0x1b996e,'changeId':_0x17a44a,'markerElement':()=>this[_0x2c5161(0x263)](_0x1b996e),'domEvent':_0xadb4e5});},{'usePassive':!0x0,'priority':_0x2bf141(0x1f3)}),this[_0x2bf141(0x20e)][_0x2bf141(0x25b)](_0x56df16,_0x2bf141(0x195),(_0x352cd4,_0x39a4f7)=>{const _0x18b13f=_0x2bf141,_0x4ebd32=_0x39a4f7[_0x18b13f(0x20c)],_0x19ccd0=_0x39a4f7[_0x18b13f(0x1a7)];let _0x587361=this[_0x18b13f(0x28a)](_0x4ebd32);if(!_0x587361&&_0x19ccd0&&(_0x587361=this[_0x18b13f(0x28a)](_0x19ccd0)),!_0x587361)return;const _0x5b195f=_0x587361[_0x18b13f(0x1fc)](_0x18b13f(0x192)),_0xbf9abd=_0x5b195f[_0x18b13f(0x21c)](':')[_0x18b13f(0x286)]()?.[_0x18b13f(0x21c)]('_')[0x0];this[_0x18b13f(0x1ad)][_0x18b13f(0x24c)](_0x18b13f(0x19b),{'changeId':_0xbf9abd,'markerElement':()=>this[_0x18b13f(0x263)](_0x5b195f),'domEvent':_0x39a4f7});}),this[_0x2bf141(0x20e)][_0x2bf141(0x25b)](document,_0x2bf141(0x195),_0x1d40d8((_0x3f3106,_0x89ccec)=>{const _0x562eb8=_0x2bf141,_0xe56f01=_0x89ccec[_0x562eb8(0x20c)];if(this[_0x562eb8(0x28a)](_0xe56f01))return;_0xe56f01[_0x562eb8(0x209)](_0x562eb8(0x1a1))||this[_0x562eb8(0x1ad)][_0x562eb8(0x24c)](_0x562eb8(0x205));},0xc8)),_0x18cf0b[_0x2bf141(0x1eb)][_0x2bf141(0x22a)][_0x2bf141(0x246)](_0x9ed33b=>this[_0x2bf141(0x1d3)](_0x18cf0b,_0x9ed33b)),_0x18cf0b[_0x2bf141(0x1eb)][_0x2bf141(0x22a)]['on'](_0x2bf141(0x201),()=>this[_0x2bf141(0x1ea)](_0x18cf0b));}[_0x56e703(0x270)](){const _0x4218f9=_0x56e703,_0x5e4734=this[_0x4218f9(0x1d5)][_0x4218f9(0x23c)][_0x4218f9(0x293)](_0x4218f9(0x1cf)),_0x2e6846=_0x3e7f88(this[_0x4218f9(0x1d5)]),_0x19b5fb=_0x2e6846[_0x4218f9(0x1eb)],_0x599ac1=new _0x5a7765();for(const _0x1bde70 of _0x19b5fb[_0x4218f9(0x22a)][_0x4218f9(0x25d)]()[_0x4218f9(0x1a4)]()){const _0x8724e5=_0x1bde70[_0x4218f9(0x282)](!0x0);_0x599ac1[_0x4218f9(0x1a9)](_0x8724e5);}for(const _0x1c683a of _0x19b5fb[_0x4218f9(0x26f)])_0x599ac1[_0x4218f9(0x26f)][_0x4218f9(0x250)](_0x1c683a[_0x4218f9(0x1d6)],this[_0x4218f9(0x1f1)](_0x1c683a[_0x4218f9(0x274)]()[_0x4218f9(0x283)](),_0x599ac1));const _0x3519dc=new _0xa4b8e4({'ignoreElementEnd':!0x0,'startPosition':_0x19b5fb[_0x4218f9(0x261)](_0x599ac1,0x0)}),_0x18597d=new Set(),_0x464a2f=new Map();for(const {item:_0x521a3e}of _0x3519dc){if(!_0x521a3e['is'](_0x4218f9(0x198)))continue;const _0x3285ba=_0x521a3e[_0x4218f9(0x19f)];if(_0x3285ba&&_0x3285ba['is'](_0x4218f9(0x24d))){const _0x3772dc=this[_0x4218f9(0x279)](_0x3285ba,()=>_0x5e4734[_0x4218f9(0x1b4)](_0x18597d));_0x18597d[_0x4218f9(0x1a2)](_0x3772dc);for(const _0x31a784 of _0x3285ba[_0x4218f9(0x1a4)]())_0x31a784['is'](_0x4218f9(0x24d))&&_0x18597d[_0x4218f9(0x1a2)](this[_0x4218f9(0x279)](_0x31a784,()=>_0x5e4734[_0x4218f9(0x1b4)](_0x18597d)));let _0x201758=_0x3285ba;for(;_0x201758[_0x4218f9(0x19f)]&&!_0x201758[_0x4218f9(0x19f)]['is'](_0x4218f9(0x24e));)_0x201758=_0x201758[_0x4218f9(0x19f)],_0x201758[_0x4218f9(0x221)](_0x3e9236)&&_0x201758[_0x4218f9(0x1de)](_0x3e9236);_0x464a2f[_0x4218f9(0x250)](_0x3772dc,{'path':_0x3285ba[_0x4218f9(0x1a8)](),'getContent':this[_0x4218f9(0x225)](_0x201758[_0x4218f9(0x282)](!0x0),_0x3772dc,_0x2e6846[_0x4218f9(0x232)])}),_0x3519dc[_0x4218f9(0x1be)](_0x19b5fb[_0x4218f9(0x231)](_0x3285ba));}}return{'content':_0x2e6846[_0x4218f9(0x232)][_0x4218f9(0x1e8)][_0x4218f9(0x26b)](_0x2e6846[_0x4218f9(0x232)][_0x4218f9(0x20b)](_0x599ac1)),'version':_0x2e6846[_0x4218f9(0x1eb)][_0x4218f9(0x22a)][_0x4218f9(0x242)],'elements':_0x464a2f};}[_0x56e703(0x1ae)](_0x5da171,_0x534a30,_0xf01f23=!0x1){const _0x558858=_0x56e703,_0x13337d=[],_0x3ac27f=_0x3e7f88(this[_0x558858(0x1d5)]),_0x4be09f=_0x3ac27f[_0x558858(0x232)][_0x558858(0x244)](_0x534a30,_0x558858(0x27d)),_0x3e9217=_0x3ac27f[_0x558858(0x232)][_0x558858(0x244)](_0x5da171,_0x558858(0x27d)),_0x12f3d4=_0x3ac27f[_0x558858(0x1eb)][_0x558858(0x261)](_0x3e9217,0x0);if(this[_0x558858(0x19a)](_0x4be09f)){if(!this[_0x558858(0x194)](_0x3e9217,_0x4be09f))return _0x13337d;}else{const _0x48eaf8=_0x3ac27f[_0x558858(0x1eb)][_0x558858(0x27a)];if(!this[_0x558858(0x272)](_0x3e9217,_0x48eaf8)||!this[_0x558858(0x272)](_0x4be09f,_0x48eaf8))return _0x13337d;}const _0x3da06d=this[_0x558858(0x1d5)][_0x558858(0x23c)][_0x558858(0x293)](_0x558858(0x203))[_0x558858(0x1cb)](_0x5da171,_0x534a30,{'anchor':_0x12f3d4,'markDeletions':!0x0})[_0x558858(0x287)]()[_0x558858(0x200)](_0x5188e1=>_0x558858(0x1ca)===_0x5188e1[_0x558858(0x193)]||_0x558858(0x1b0)===_0x5188e1[_0x558858(0x193)]&&_0x5188e1[_0x558858(0x1d6)][_0x558858(0x1c1)](_0x558858(0x1bc))),_0x1f8046=this[_0x558858(0x215)](_0x3da06d),_0x172a53=[];if(_0xf01f23){if(_0x1f8046[_0x558858(0x25a)]){const _0x1f342c=_0x1f8046[0x0][_0x558858(0x281)][0x0],_0x3f49a8=_0x558858(0x1ca)===_0x1f342c[_0x558858(0x193)]?_0x1f342c[_0x558858(0x277)]:_0x1f342c[_0x558858(0x22d)][_0x558858(0x296)],_0xccbb8c=this[_0x558858(0x1fe)](_0x3f49a8,_0x3ac27f,_0x558858(0x228)),_0x395bfc=_0xccbb8c?_0x4be09f[_0x558858(0x295)](0x0)[_0x558858(0x1a4)]():_0x4be09f[_0x558858(0x1a4)](),_0x58eb5b=_0xccbb8c||_0x3ac27f[_0x558858(0x1eb)][_0x558858(0x27c)](_0x3e9217),_0x249cc5=[new _0xa5fb7b(_0x558858(0x24b)+_0x3485cf(),null,_0x58eb5b,_0x3ac27f[_0x558858(0x1eb)][_0x558858(0x22a)][_0x558858(0x1eb)][_0x558858(0x26f)],!0x0,_0x3ac27f[_0x558858(0x1eb)][_0x558858(0x22a)][_0x558858(0x242)]+0x1),new _0x1fd54d(_0x58eb5b[_0x558858(0x208)],_0x395bfc,_0x3ac27f[_0x558858(0x1eb)][_0x558858(0x22a)][_0x558858(0x242)]+0x2)];_0x172a53[_0x558858(0x29c)]({'operations':_0x249cc5,'operationsIsolated':_0x249cc5,'groupOffset':0x0});}}else _0x172a53[_0x558858(0x29c)](..._0x1f8046);let _0x471f99=0x0;return _0x3ac27f[_0x558858(0x1eb)][_0x558858(0x201)](_0x12d5f9=>{const _0xef910=_0x558858;for(let _0x123cb0=0x0;_0x123cb0<_0x172a53[_0xef910(0x25a)];_0x123cb0++){const _0x1f255b=_0x172a53[_0x123cb0],_0x4e6710=_0x12d5f9[_0xef910(0x271)]();for(const _0x55faa2 of _0x3e9217[_0xef910(0x1a4)]())_0x12d5f9[_0xef910(0x1ac)](_0x55faa2[_0xef910(0x282)](!0x0),_0x4e6710);for(const _0x31e351 of _0x1f255b[_0xef910(0x27e)])if(_0xef910(0x1ca)===_0x31e351[_0xef910(0x193)]){const _0xf424aa=_0x31e351;_0xf424aa[_0xef910(0x1f9)]=null,_0xf424aa[_0xef910(0x197)]=!0x1,this[_0xef910(0x1ba)](_0xf424aa,_0x4e6710),_0x12d5f9[_0xef910(0x23e)][_0xef910(0x1e7)](_0x31e351),_0x3ac27f[_0xef910(0x1eb)][_0xef910(0x237)](_0x31e351);const _0x5e8a29=_0xef910(0x217)+_0x471f99++,_0x446836=_0x3ac27f[_0xef910(0x1eb)][_0xef910(0x26e)](_0xf424aa[_0xef910(0x277)],_0xf424aa[_0xef910(0x277)][_0xef910(0x251)](_0xf424aa[_0xef910(0x24f)]));_0x4e6710[_0xef910(0x26f)][_0xef910(0x250)](_0x5e8a29,_0x446836);}else{if(_0xef910(0x1b0)===_0x31e351[_0xef910(0x193)]&&_0x31e351[_0xef910(0x1d6)][_0xef910(0x1c1)](_0xef910(0x1bc))){const _0x27c7ca=_0x31e351,_0x4c9af6=_0xef910(0x264)+_0x471f99++;this[_0xef910(0x1ba)](_0x27c7ca,_0x4e6710),_0x4e6710[_0xef910(0x26f)][_0xef910(0x250)](_0x4c9af6,_0x27c7ca[_0xef910(0x22d)]);}}if(_0xf01f23)_0x13337d[_0xef910(0x29c)]({..._0x1f255b,'context':this[_0xef910(0x285)](_0x3e9217,_0x3ac27f[_0xef910(0x232)]),'content':this[_0xef910(0x285)](_0x3e9217,_0x3ac27f[_0xef910(0x232)])});else{const _0x571eec=this[_0xef910(0x245)](this[_0xef910(0x26c)](this[_0xef910(0x1c0)](_0x1f255b[_0xef910(0x27e)][0x0]),_0x4e6710),this[_0xef910(0x26c)](this[_0xef910(0x25f)](_0x1f255b[_0xef910(0x27e)][_0x1f255b[_0xef910(0x27e)][_0xef910(0x25a)]-0x1]),_0x4e6710));_0x4e6710[_0xef910(0x26f)][_0xef910(0x250)](fe+_0xef910(0x1fd),new _0x4e0fdf(_0x571eec[_0xef910(0x296)],_0x571eec[_0xef910(0x208)])),_0x13337d[_0xef910(0x29c)]({..._0x1f255b,'context':this[_0xef910(0x1b8)](_0x4e6710,_0x3ac27f[_0xef910(0x232)],{'ellipsisBefore':_0x571eec[_0xef910(0x22f)],'ellipsisAfter':_0x571eec[_0xef910(0x1ee)]}),'content':this[_0xef910(0x285)](_0x4e6710,_0x3ac27f[_0xef910(0x232)])});}}}),_0x13337d;}[_0x56e703(0x1ff)](_0x2c6a70,_0x341c53){const _0x390575=_0x56e703;if(!_0x2c6a70[_0x390575(0x25a)])return;const _0x469a59=_0x2c6a70[0x0][_0x390575(0x19f)]['id'],_0x301cc2=_0x341c53[_0x390575(0x1ab)][_0x390575(0x293)](_0x469a59);if(!_0x301cc2)return void console[_0x390575(0x26a)](_0x390575(0x21f)+_0x469a59);const _0x44ff9c=_0x301cc2[_0x390575(0x1f7)],_0x235e65=_0x3e7f88(this[_0x390575(0x1d5)]),_0x1f1b3c=_0x235e65[_0x390575(0x1eb)][_0x390575(0x22a)][_0x390575(0x28b)][_0x390575(0x287)](_0x341c53[_0x390575(0x242)]),_0x4b94cb=[];for(const _0x3983b9 of _0x2c6a70){const _0x370f1d=_0x3983b9[_0x390575(0x27e)][_0x390575(0x262)](_0x3a26a5=>this[_0x390575(0x1ec)](_0x3a26a5,_0x44ff9c,_0x235e65[_0x390575(0x1eb)][_0x390575(0x22a)][_0x390575(0x294)]()[0x0]));if(!_0x370f1d||!_0x370f1d[_0x390575(0x25a)])continue;const _0xcc0937=_0x370f1d[_0x390575(0x249)](_0x16e996=>_0x390575(0x1b0)===_0x16e996[_0x390575(0x193)]&&_0x16e996[_0x390575(0x1d6)][_0x390575(0x1c1)](_0x390575(0x1bc))),_0x41cbfe={'document':_0x235e65[_0x390575(0x1eb)][_0x390575(0x22a)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1da738=_0x3bb04d(_0x370f1d,_0x1f1b3c,_0x41cbfe)[_0x390575(0x280)];for(const _0xde8aca of _0x1da738)if(_0x390575(0x1ca)===_0xde8aca[_0x390575(0x193)]){const _0x3530f8=_0xde8aca,_0xcc1464=_0x3530f8[_0x390575(0x1e1)];_0x235e65[_0x390575(0x1eb)][_0x390575(0x201)](_0x560ecb=>{const _0x407a19=_0x390575,_0x45d2dc=_0x560ecb[_0x407a19(0x271)]();for(const _0x306ed7 of _0xcc1464)_0x560ecb[_0x407a19(0x1ac)](_0x306ed7[_0x407a19(0x282)](!0x0),_0x45d2dc);_0x4b94cb[_0x407a19(0x29c)]({'start':_0x3530f8[_0x407a19(0x277)],'end':_0x3530f8[_0x407a19(0x277)],'type':_0x407a19(0x1ca),'groupId':_0x3983b9['id'],'content':{'asString':this[_0x407a19(0x285)](_0x45d2dc,_0x235e65[_0x407a19(0x232)])(),'asFragment':_0x45d2dc}});});}else{if(_0x390575(0x1b0)===_0xde8aca[_0x390575(0x193)]&&_0xde8aca[_0x390575(0x1d6)][_0x390575(0x1c1)](_0x390575(0x1bc))){const _0x15834e=_0xde8aca;let _0x4ea7d9=_0x390575(0x1b9);if(_0xcc0937){const _0x5b987f=this[_0x390575(0x219)](_0x15834e[_0x390575(0x22d)][_0x390575(0x296)],_0x390575(0x230),_0x235e65[_0x390575(0x1eb)][_0x390575(0x27a)]),_0x269e3b=this[_0x390575(0x219)](_0x15834e[_0x390575(0x22d)][_0x390575(0x208)],_0x390575(0x23f),_0x235e65[_0x390575(0x1eb)][_0x390575(0x27a)]);if(_0x5b987f||_0x269e3b){const _0x5258cd=_0x15834e[_0x390575(0x22d)][_0x390575(0x296)][_0x390575(0x251)](-_0x5b987f),_0xd369d0=_0x15834e[_0x390575(0x22d)][_0x390575(0x208)][_0x390575(0x251)](_0x269e3b);_0x4b94cb[_0x390575(0x29c)]({'start':_0x5258cd,'end':_0xd369d0,'groupId':_0x3983b9['id'],'type':_0x390575(0x278)});}else _0x4ea7d9=_0x390575(0x1b1);}_0x4b94cb[_0x390575(0x29c)]({'start':_0x15834e[_0x390575(0x22d)][_0x390575(0x296)],'end':_0x15834e[_0x390575(0x22d)][_0x390575(0x208)],'groupId':_0x3983b9['id'],'type':_0x4ea7d9});}}}this[_0x390575(0x1cd)](_0x4b94cb);}[_0x56e703(0x234)](){const _0x918092=_0x56e703,_0x260f8e=_0x3e7f88(this[_0x918092(0x1d5)]);_0x260f8e[_0x918092(0x1eb)][_0x918092(0x201)](_0x495777=>{const _0x30485f=_0x918092;for(const _0x303475 of this[_0x30485f(0x28f)][_0x30485f(0x1e5)]())_0x260f8e[_0x30485f(0x1eb)][_0x30485f(0x26f)][_0x30485f(0x293)](_0x303475)&&_0x495777[_0x30485f(0x1f4)](_0x303475);}),this[_0x918092(0x28f)][_0x918092(0x1f8)](),this[_0x918092(0x227)][_0x918092(0x1f8)]();}[_0x56e703(0x207)](){const _0x487f20=_0x56e703;_0x3e7f88(this[_0x487f20(0x1d5)])[_0x487f20(0x1ce)](_0x487f20(0x1e3));}[_0x56e703(0x1d7)](){const _0x4b4996=_0x56e703;_0x3e7f88(this[_0x4b4996(0x1d5)])[_0x4b4996(0x235)](_0x4b4996(0x1e3));}[_0x56e703(0x248)](_0x4cfa40){const _0x359dae=_0x56e703,_0x4efca0=_0x3e7f88(this[_0x359dae(0x1d5)]),_0x9423e2=_0x4efca0[_0x359dae(0x1eb)],_0x34f44a=_0x4cfa40[_0x359dae(0x262)](_0x1e2a13=>this[_0x359dae(0x1dd)](_0x1e2a13))[_0x359dae(0x254)]();_0x9423e2[_0x359dae(0x201)](_0x516773=>{const _0x1bbf83=_0x359dae;for(const _0x4784ed of _0x34f44a){const _0xf3a72a=_0x4efca0[_0x1bbf83(0x1eb)][_0x1bbf83(0x26f)][_0x1bbf83(0x293)](_0x4784ed['id']);if(_0xf3a72a){if(_0x1bbf83(0x1ca)===_0x4784ed[_0x1bbf83(0x193)]){if(!_0x4784ed[_0x1bbf83(0x28c)])continue;_0x9423e2[_0x1bbf83(0x20a)](_0x4784ed[_0x1bbf83(0x28c)][_0x1bbf83(0x260)]||null,_0xf3a72a[_0x1bbf83(0x274)]()[_0x1bbf83(0x296)]);}else _0x1bbf83(0x1b9)!==_0x4784ed[_0x1bbf83(0x193)]&&_0x1bbf83(0x1b1)!==_0x4784ed[_0x1bbf83(0x193)]||_0x9423e2[_0x1bbf83(0x1e2)](_0x9423e2[_0x1bbf83(0x199)](_0xf3a72a[_0x1bbf83(0x274)]()));_0x516773[_0x1bbf83(0x1f4)](_0x4784ed['id']),this[_0x1bbf83(0x28f)][_0x1bbf83(0x297)](_0x4784ed['id']);}}});}[_0x56e703(0x1a3)](_0x5cc161){const _0x53555b=_0x56e703,_0xd3eac1=_0x3e7f88(this[_0x53555b(0x1d5)]),_0x344e2c=this[_0x53555b(0x1dd)](_0x5cc161);_0xd3eac1[_0x53555b(0x1eb)][_0x53555b(0x201)](_0x4774f2=>{const _0xa42650=_0x53555b;for(const _0x1b5899 of _0x344e2c)_0x4774f2[_0xa42650(0x1f4)](_0x1b5899['id']),this[_0xa42650(0x28f)][_0xa42650(0x297)](_0x1b5899['id']);});}[_0x56e703(0x1d8)](){const _0x2562c3=_0x56e703;return _0x3e7f88(this[_0x2562c3(0x1d5)]);}[_0x56e703(0x29e)](_0x288cbe){const _0x277e14=_0x56e703,_0x1b8c2b=Array[_0x277e14(0x1d0)](this[_0x277e14(0x28f)][_0x277e14(0x1b3)]())[_0x277e14(0x200)](_0xfb6108=>_0xfb6108[_0x277e14(0x212)]===_0x288cbe);if(!_0x1b8c2b[_0x277e14(0x25a)])return null;const _0x340b49=0x1===_0x1b8c2b[_0x277e14(0x25a)]?_0x1b8c2b[0x0]:this[_0x277e14(0x284)](_0x1b8c2b)[0x0],_0x34038c=_0x3e7f88(this[_0x277e14(0x1d5)])[_0x277e14(0x1eb)][_0x277e14(0x26f)][_0x277e14(0x293)](_0x340b49['id']);if(!_0x34038c)return null;return{'modelRange':_0x34038c[_0x277e14(0x274)](),'getElement':()=>this[_0x277e14(0x263)](_0x340b49['id'])};}[_0x56e703(0x19d)](_0x6f72f7){const _0x190b9a=_0x56e703,_0x1cc851=Array[_0x190b9a(0x1d0)](this[_0x190b9a(0x28f)][_0x190b9a(0x1b3)]())[_0x190b9a(0x200)](_0x185376=>_0x185376[_0x190b9a(0x212)]===_0x6f72f7);if(!_0x1cc851[_0x190b9a(0x25a)])return null;const _0x177ac4=0x1===_0x1cc851[_0x190b9a(0x25a)]?_0x1cc851[0x0]:this[_0x190b9a(0x284)](_0x1cc851)[0x0],_0x51eb18=_0x3e7f88(this[_0x190b9a(0x1d5)]),_0x146314=_0x51eb18[_0x190b9a(0x1eb)][_0x190b9a(0x26f)][_0x190b9a(0x293)](_0x177ac4['id']);if(!_0x146314)return null;const _0x262127=_0x146314[_0x190b9a(0x274)](),_0x2695c6=_0x51eb18[_0x190b9a(0x1aa)][_0x190b9a(0x1e6)][_0x190b9a(0x288)]();if(!_0x2695c6||!_0x262127)return null;let _0x5ec4f4=_0x262127[_0x190b9a(0x296)][_0x190b9a(0x19f)];for(;_0x5ec4f4[_0x190b9a(0x19f)]&&_0x190b9a(0x29d)!==_0x5ec4f4[_0x190b9a(0x19f)][_0x190b9a(0x1d6)];)_0x5ec4f4=_0x5ec4f4[_0x190b9a(0x19f)];if(!_0x5ec4f4||!_0x5ec4f4[_0x190b9a(0x1d6)])return null;const _0x32f81a=_0x2695c6[_0x190b9a(0x21e)](_0x190b9a(0x28d)+_0x177ac4['id']+'\x22]');if(!_0x32f81a)return null;let _0x5f4a93=null;_0x51eb18[_0x190b9a(0x1eb)][_0x190b9a(0x201)](_0xe7a2a8=>{const _0xa609ab=_0x190b9a;_0x5f4a93=_0xe7a2a8[_0xa609ab(0x271)](),_0xe7a2a8[_0xa609ab(0x1ac)](_0x5ec4f4[_0xa609ab(0x282)](!0x0),_0x5f4a93);});const _0x56d083=_0x51eb18[_0x190b9a(0x232)][_0x190b9a(0x20b)](_0x5f4a93)[_0x190b9a(0x295)](0x0);return _0x32f81a[_0x190b9a(0x209)](_0x56d083[_0x190b9a(0x1d6)]);}[_0x56e703(0x1e9)](_0xd93a25){const _0x253bb4=_0x56e703,_0x172834=this[_0x253bb4(0x1dd)](_0xd93a25);if(!_0x172834[_0x253bb4(0x25a)])return;const _0xb43c39=Array[_0x253bb4(0x1d0)](this[_0x253bb4(0x227)])[_0x253bb4(0x22e)](),_0x8f6d02=Array[_0x253bb4(0x1d0)](new Set(_0x172834[_0x253bb4(0x262)](_0xe57368=>_0xe57368['id'])))[_0x253bb4(0x22e)]();_0xb43c39[_0x253bb4(0x1f6)]('|')!==_0x8f6d02[_0x253bb4(0x1f6)]('|')&&(this[_0x253bb4(0x1c3)](),this[_0x253bb4(0x258)](_0xd93a25));}[_0x56e703(0x258)](_0x58b998){const _0x4678a7=_0x56e703,_0x4ba6ea=this[_0x4678a7(0x1dd)](_0x58b998);if(!_0x4ba6ea[_0x4678a7(0x25a)])return;const _0x22a591=_0x3e7f88(this[_0x4678a7(0x1d5)]),_0x225753=new Set(_0x4ba6ea[_0x4678a7(0x262)](_0x57822d=>_0x57822d['id'])),_0x29ef13=Array[_0x4678a7(0x1d0)](_0x225753[_0x4678a7(0x1b3)]())[_0x4678a7(0x262)](_0x2695b2=>_0x22a591[_0x4678a7(0x1eb)][_0x4678a7(0x26f)][_0x4678a7(0x293)](_0x2695b2))[_0x4678a7(0x200)](_0x5ea254=>!!_0x5ea254);_0x225753[_0x4678a7(0x196)](_0x552039=>{const _0x627d7b=_0x4678a7;this[_0x627d7b(0x227)][_0x627d7b(0x1a2)](_0x552039);}),_0x22a591[_0x4678a7(0x1eb)][_0x4678a7(0x201)](()=>{const _0x36b3db=_0x4678a7;_0x29ef13[_0x36b3db(0x196)](_0x4fecee=>{const _0x26c816=_0x36b3db;_0x22a591[_0x26c816(0x1aa)][_0x26c816(0x1f0)](_0x4fecee);});});}[_0x56e703(0x1c3)](){const _0x16cb55=_0x56e703,_0x191a2a=Array[_0x16cb55(0x1d0)](this[_0x16cb55(0x227)]);if(!_0x191a2a[_0x16cb55(0x25a)])return;this[_0x16cb55(0x227)][_0x16cb55(0x1f8)]();const _0x588247=_0x3e7f88(this[_0x16cb55(0x1d5)]),_0x1eda13=_0x191a2a[_0x16cb55(0x262)](_0x3d1d2c=>_0x588247[_0x16cb55(0x1eb)][_0x16cb55(0x26f)][_0x16cb55(0x293)](_0x3d1d2c))[_0x16cb55(0x200)](_0x1ceccf=>!!_0x1ceccf);_0x588247[_0x16cb55(0x1eb)][_0x16cb55(0x201)](()=>{const _0x24622f=_0x16cb55;_0x1eda13[_0x24622f(0x196)](_0xe6924c=>{const _0x395bea=_0x24622f;_0x588247[_0x395bea(0x1aa)][_0x395bea(0x1f0)](_0xe6924c);});});}[_0x56e703(0x1fe)](_0x51aba6,_0xdafd1,_0x2b118c=_0x56e703(0x20f)){const _0x3e1102=_0x56e703;if(!_0x51aba6)return null;let _0x179e2a=_0x51aba6[_0x3e1102(0x19f)];for(;_0x179e2a&&_0x179e2a[_0x3e1102(0x19f)]&&_0x3e1102(0x29d)!==_0x179e2a[_0x3e1102(0x19f)][_0x3e1102(0x1d6)]&&!_0xdafd1[_0x3e1102(0x1eb)][_0x3e1102(0x27a)][_0x3e1102(0x233)](_0x179e2a)&&!_0xdafd1[_0x3e1102(0x1eb)][_0x3e1102(0x27a)][_0x3e1102(0x1bd)](_0x179e2a);)_0x179e2a=_0x179e2a[_0x3e1102(0x19f)];if(!_0x179e2a||!_0x179e2a[_0x3e1102(0x1d6)]||_0x3e1102(0x29d)===_0x179e2a[_0x3e1102(0x1d6)])return null;let _0x214d2c=null;return _0xdafd1[_0x3e1102(0x1eb)][_0x3e1102(0x201)](_0x36e43b=>{const _0x3e9adb=_0x3e1102;_0x214d2c=_0x3e9adb(0x228)===_0x2b118c?_0x36e43b[_0x3e9adb(0x27c)](_0x179e2a):_0x36e43b[_0x3e9adb(0x1bb)](_0x179e2a);}),_0x214d2c;}[_0x56e703(0x1d3)](_0x51e9df,_0x954978){const _0x4f5db6=_0x56e703,_0x361cbb=Array[_0x4f5db6(0x1d0)](this[_0x4f5db6(0x28f)][_0x4f5db6(0x1e5)]()),_0x5d49be=new Map();for(const _0x3add86 of _0x361cbb){const _0x520405=_0x51e9df[_0x4f5db6(0x1eb)][_0x4f5db6(0x26f)][_0x4f5db6(0x293)](_0x3add86);if(!_0x520405)continue;const _0x460c66=_0x520405[_0x4f5db6(0x216)]()[_0x4f5db6(0x1f7)][0x0];_0x5d49be[_0x4f5db6(0x239)](_0x460c66)||_0x5d49be[_0x4f5db6(0x250)](_0x460c66,[]),_0x5d49be[_0x4f5db6(0x293)](_0x460c66)[_0x4f5db6(0x29c)](_0x520405);}const _0x195369=new Set();for(const _0x543f4b of _0x51e9df[_0x4f5db6(0x1eb)][_0x4f5db6(0x22a)][_0x4f5db6(0x191)][_0x4f5db6(0x257)]()){let _0x1711e5=-0x1,_0x462db1=null;if(_0x4f5db6(0x1ca)===_0x543f4b[_0x4f5db6(0x193)])_0x462db1=new _0x4e0fdf(_0x543f4b[_0x4f5db6(0x277)],_0x543f4b[_0x4f5db6(0x277)][_0x4f5db6(0x251)](_0x543f4b[_0x4f5db6(0x25a)])),_0x1711e5=_0x543f4b[_0x4f5db6(0x277)][_0x4f5db6(0x1f7)][0x0];else{if(_0x4f5db6(0x1df)!==_0x543f4b[_0x4f5db6(0x193)])continue;_0x462db1=new _0x4e0fdf(_0x543f4b[_0x4f5db6(0x277)]),_0x1711e5=_0x543f4b[_0x4f5db6(0x277)][_0x4f5db6(0x1f7)][0x0];}const _0x586968=_0x5d49be[_0x4f5db6(0x293)](_0x1711e5)||[];if(_0x586968[_0x4f5db6(0x25a)]){for(const _0x1043e3 of _0x586968)if(_0x462db1[_0x4f5db6(0x218)][_0x4f5db6(0x25e)]===_0x1043e3[_0x4f5db6(0x274)]()[_0x4f5db6(0x218)][_0x4f5db6(0x25e)]&&(_0x4f5db6(0x1ca)!==_0x543f4b[_0x4f5db6(0x193)]||!_0x462db1[_0x4f5db6(0x275)](_0x1043e3[_0x4f5db6(0x274)]()))&&(_0x462db1[_0x4f5db6(0x1cc)](_0x1043e3[_0x4f5db6(0x274)]())||_0x462db1[_0x4f5db6(0x296)][_0x4f5db6(0x1dc)](_0x1043e3[_0x4f5db6(0x274)]()[_0x4f5db6(0x208)])||_0x462db1[_0x4f5db6(0x208)][_0x4f5db6(0x1dc)](_0x1043e3[_0x4f5db6(0x274)]()[_0x4f5db6(0x296)]))){const _0x2804c3=this[_0x4f5db6(0x292)](_0x1043e3[_0x4f5db6(0x1d6)]);Array[_0x4f5db6(0x1d0)](this[_0x4f5db6(0x28f)][_0x4f5db6(0x1b3)]())[_0x4f5db6(0x200)](_0x3da9fb=>_0x3da9fb[_0x4f5db6(0x212)]===_0x2804c3[_0x4f5db6(0x212)])[_0x4f5db6(0x196)](_0x47f942=>_0x195369[_0x4f5db6(0x1a2)](_0x47f942['id']));}}}if(_0x195369[_0x4f5db6(0x1f2)]){for(const _0x18c09d of _0x195369)_0x954978[_0x4f5db6(0x1f4)](_0x18c09d);return!0x0;}return!0x1;}[_0x56e703(0x1ea)](_0x5c9df6){const _0x22286e=_0x56e703;for(const {name:_0x3175cb,data:_0x5dc95b}of _0x5c9df6[_0x22286e(0x1eb)][_0x22286e(0x22a)][_0x22286e(0x191)][_0x22286e(0x202)]()){if(!_0x3175cb[_0x22286e(0x1c1)](fe))continue;const _0x3db4b1=_0x5dc95b[_0x22286e(0x269)],_0x4c2ed2=_0x5dc95b[_0x22286e(0x22d)],_0x5c249c=_0x3db4b1&&_0x22286e(0x290)===_0x3db4b1[_0x22286e(0x218)][_0x22286e(0x25e)],_0x1ecfb4=_0x4c2ed2&&_0x22286e(0x290)===_0x4c2ed2[_0x22286e(0x218)][_0x22286e(0x25e)];if(_0x5c249c&&_0x1ecfb4)continue;const _0x2e789b=this[_0x22286e(0x292)](_0x3175cb);this[_0x22286e(0x28f)][_0x22286e(0x293)](_0x3175cb)&&(_0x1ecfb4||!_0x4c2ed2?this[_0x22286e(0x1ad)][_0x22286e(0x24c)](_0x22286e(0x23b),{'markerId':_0x3175cb,'changeId':_0x2e789b[_0x22286e(0x212)]}):_0x5c249c&&_0x4c2ed2&&this[_0x22286e(0x1ad)][_0x22286e(0x24c)](_0x22286e(0x247),{'markerId':_0x3175cb,'changeId':_0x2e789b[_0x22286e(0x212)]}));}}[_0x56e703(0x292)](_0x54f0ef){const _0x305d47=_0x56e703,_0x78fd02=_0x54f0ef[_0x305d47(0x21c)](':'),_0x34a00d=(_0x78fd02[0x1]||'')[_0x305d47(0x21c)]('_');return{'prefix':_0x78fd02[0x0],'groupId':_0x34a00d[0x0],'suffix':_0x34a00d[0x1]};}[_0x56e703(0x1ec)](_0x2ea220,_0x3ec75f,_0x54c5e9){const _0x9eecdc=_0x56e703;if(_0x9eecdc(0x1ca)===_0x2ea220[_0x9eecdc(0x193)]){const _0x2991b1=_0x2ea220;return new _0x1fd54d(this[_0x9eecdc(0x1ed)](_0x3ec75f[_0x9eecdc(0x214)](_0x2991b1[_0x9eecdc(0x277)][_0x9eecdc(0x213)]),_0x54c5e9),_0x2991b1[_0x9eecdc(0x1e1)],_0x2991b1[_0x9eecdc(0x1f9)]);}if(_0x9eecdc(0x1b0)===_0x2ea220[_0x9eecdc(0x193)]&&_0x2ea220[_0x9eecdc(0x1d6)][_0x9eecdc(0x1c1)](_0x9eecdc(0x1bc))){const _0x273ab6=_0x2ea220;return new _0xa5fb7b(_0x273ab6[_0x9eecdc(0x1d6)],_0x273ab6[_0x9eecdc(0x269)],this[_0x9eecdc(0x238)](_0x273ab6[_0x9eecdc(0x22d)],_0x3ec75f[_0x9eecdc(0x214)](_0x273ab6[_0x9eecdc(0x22d)][_0x9eecdc(0x296)][_0x9eecdc(0x213)]),_0x3ec75f[_0x9eecdc(0x214)](_0x273ab6[_0x9eecdc(0x22d)][_0x9eecdc(0x208)][_0x9eecdc(0x213)]),_0x54c5e9),_0x273ab6[_0x9eecdc(0x28f)],_0x273ab6[_0x9eecdc(0x229)],_0x273ab6[_0x9eecdc(0x1f9)]);}return _0x2ea220;}[_0x56e703(0x215)](_0x47dcde){const _0xaff4c=_0x56e703;if(!_0x47dcde[_0xaff4c(0x25a)])return[];const _0x40b83b=[];let _0x367a02=0x0,_0x490afb=0x0,_0xe4731e=[];for(let _0x3c83cc=0x0;_0x3c83cc<=_0x47dcde[_0xaff4c(0x25a)];_0x3c83cc++){const _0x3245ab=_0x47dcde[_0x3c83cc],_0x1ce9d9=_0x47dcde[_0x3c83cc-0x1];!_0x3245ab||_0x1ce9d9&&!this[_0xaff4c(0x25f)](_0x1ce9d9)[_0xaff4c(0x1dc)](this[_0xaff4c(0x1c0)](_0x3245ab))?(_0x40b83b[_0xaff4c(0x29c)]({'operations':_0xe4731e,'operationsIsolated':_0xe4731e[_0xaff4c(0x262)](_0x25f5f2=>this[_0xaff4c(0x21a)](_0x25f5f2[_0xaff4c(0x283)](),-_0x490afb)),'groupOffset':_0x367a02}),_0xe4731e=_0x3245ab?[_0x3245ab]:[],_0x490afb+=_0x367a02,_0x367a02=0x0):_0xe4731e[_0xaff4c(0x29c)](_0x3245ab),_0x3245ab&&_0xaff4c(0x1ca)===_0x3245ab[_0xaff4c(0x193)]&&(_0x367a02+=_0x3245ab[_0xaff4c(0x24f)]);}return _0x40b83b;}[_0x56e703(0x219)](_0x5cfede,_0x1c7357,_0x777c14,_0x14d3bb=0x1){const _0x55d544=_0x56e703,_0x4346b5=new _0xa4b8e4({'startPosition':_0x5cfede,'direction':_0x1c7357});let _0xbc6fb2=0x0;for(let _0x539b1a=0x0;_0x539b1a<_0x14d3bb;_0x539b1a++){let _0x470a56=0x0,_0x1ac0d5=!0x1,_0x525c07=_0x55d544(0x23f)===_0x1c7357?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x587312}of _0x4346b5)if(_0x587312['is'](_0x55d544(0x198))){const _0x153950=_0x525c07[_0x55d544(0x289)](_0x587312[_0x55d544(0x232)]);if(_0x153950&&_0x153950[_0x55d544(0x25a)]){if(_0x470a56+=_0x55d544(0x23f)===_0x1c7357?_0x153950[_0x55d544(0x1d1)]+_0x153950[0x0][_0x55d544(0x25a)]:_0x587312[_0x55d544(0x232)][_0x55d544(0x25a)]-_0x153950[_0x55d544(0x1d1)],_0x153950[0x0][_0x55d544(0x25a)]!==_0x587312[_0x55d544(0x232)][_0x55d544(0x25a)])break;_0x1ac0d5=!0x0,_0x525c07=_0x55d544(0x23f)===_0x1c7357?/^\w+/:/\w+$/;}else{if(_0x1ac0d5)break;_0x470a56+=_0x587312[_0x55d544(0x236)];}}else{if(_0x587312['is'](_0x55d544(0x24d))){_0x777c14[_0x55d544(0x1c9)](_0x587312)&&!_0x1ac0d5&&(_0x470a56+=0x1);break;}}_0xbc6fb2+=_0x470a56,_0x4346b5[_0x55d544(0x1be)](_0x5cfede[_0x55d544(0x251)](_0x55d544(0x23f)===_0x1c7357?_0xbc6fb2:-_0xbc6fb2));}return _0xbc6fb2;}[_0x56e703(0x245)](_0xc1a2e4,_0x26d43d){const _0x3c0e54=_0x56e703,_0x4750e6=_0x3e7f88(this[_0x3c0e54(0x1d5)])[_0x3c0e54(0x1eb)][_0x3c0e54(0x27a)],_0x180756=this[_0x3c0e54(0x219)](_0xc1a2e4,_0x3c0e54(0x230),_0x4750e6,0x6),_0x5cd4d3=this[_0x3c0e54(0x219)](_0x26d43d,_0x3c0e54(0x23f),_0x4750e6,0x6),_0x9ca20a=_0xc1a2e4[_0x3c0e54(0x251)](-_0x180756),_0x4049ea=_0x26d43d[_0x3c0e54(0x251)](_0x5cd4d3);return{'start':_0x9ca20a,'end':_0x4049ea,'hasContentBefore':!_0x9ca20a[_0x3c0e54(0x1c6)],'hasContentAfter':!_0x4049ea[_0x3c0e54(0x211)]};}[_0x56e703(0x1cd)](_0x5bdf67){const _0x422344=_0x56e703,_0x161369=this[_0x422344(0x1d5)][_0x422344(0x23c)][_0x422344(0x293)](_0x422344(0x1cf)),_0x515af5=new Set();_0x3e7f88(this[_0x422344(0x1d5)])[_0x422344(0x1eb)][_0x422344(0x201)](_0xc66228=>{const _0x14993d=_0x422344;for(const _0x2c8208 of _0x5bdf67){const _0x4b4e9a=''+fe+_0x2c8208[_0x14993d(0x193)]+':'+_0x2c8208[_0x14993d(0x212)]+'_'+_0x161369[_0x14993d(0x1b4)](_0x515af5);this[_0x14993d(0x28f)][_0x14993d(0x250)](_0x4b4e9a,{'id':_0x4b4e9a,'groupId':_0x2c8208[_0x14993d(0x212)],'type':_0x2c8208[_0x14993d(0x193)],'content':_0x2c8208[_0x14993d(0x28c)]}),_0xc66228[_0x14993d(0x256)](_0x4b4e9a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xc66228[_0x14993d(0x26e)](_0x2c8208[_0x14993d(0x296)],_0x2c8208[_0x14993d(0x208)])});}});}[_0x56e703(0x1b8)](_0x5750a7,_0x5e780a,_0x1356c3){let _0xbeeee1='';return()=>{const _0x3d5fde=_0x1f4f;if(!_0xbeeee1){const _0x519b90=_0x5e780a[_0x3d5fde(0x20b)](_0x5750a7,{'showSuggestionHighlights':!0x0});let _0x537d6b=_0x519b90[_0x3d5fde(0x295)](0x0);if(_0x537d6b['is'](_0x3d5fde(0x224))||(_0x537d6b=_0x519b90),!_0x537d6b)return'';let _0x3b487d=!0x1;const _0xc97c6b=[];for(const _0x1a5347 of _0x537d6b[_0x3d5fde(0x1a4)]())_0x1a5347['is'](_0x3d5fde(0x24d),_0x3d5fde(0x253))&&_0x1a5347[_0x3d5fde(0x22b)](_0x3d5fde(0x222))&&(_0x3b487d=!0x1),_0x3b487d&&_0xc97c6b[_0x3d5fde(0x29c)](_0x1a5347),_0x1a5347['is'](_0x3d5fde(0x24d),_0x3d5fde(0x253))&&_0x1a5347[_0x3d5fde(0x22b)](_0x3d5fde(0x1a0))&&(_0x3b487d=!0x0);_0x537d6b[_0x3d5fde(0x1d4)](0x0,_0x537d6b[_0x3d5fde(0x1e0)]),_0x1356c3?.[_0x3d5fde(0x210)]&&_0x537d6b[_0x3d5fde(0x1a9)]('…'),_0x537d6b[_0x3d5fde(0x1a9)](_0xc97c6b),_0x1356c3?.[_0x3d5fde(0x223)]&&_0x537d6b[_0x3d5fde(0x1a9)]('…');const _0x25d242=_0x5e780a[_0x3d5fde(0x23a)][_0x3d5fde(0x1ef)][_0x3d5fde(0x27b)](_0x519b90),_0x23779b=_0x5e780a[_0x3d5fde(0x23a)][_0x3d5fde(0x204)][_0x3d5fde(0x25c)](_0x25d242);_0xbeeee1=_0x23779b;}return _0xbeeee1;};}[_0x56e703(0x285)](_0x4f1e2f,_0x1bf007){const _0x44d7e7=_0x56e703;let _0xb88e4d='';return()=>(_0xb88e4d||(_0xb88e4d=_0x1bf007[_0x44d7e7(0x1b6)](_0x4f1e2f,{'showSuggestionHighlights':!0x0})),_0xb88e4d);}[_0x56e703(0x225)](_0x25f4fa,_0x1d0234,_0x355fdd){let _0x4b4513='';return()=>{const _0x216fa7=_0x1f4f;if(!_0x4b4513){const _0x5c2927=_0x355fdd[_0x216fa7(0x20b)](new _0x5a7765(_0x25f4fa)),_0x11e6fd=_0x355fdd[_0x216fa7(0x23a)][_0x216fa7(0x1ef)][_0x216fa7(0x27b)](_0x5c2927)[_0x216fa7(0x21e)](_0x216fa7(0x240)+_0x1d0234+'\x22]');_0x4b4513=_0x11e6fd?.[_0x216fa7(0x298)]||'';}return _0x4b4513;};}[_0x56e703(0x28a)](_0x25492f,_0x25ab14=0x5){const _0x3ce689=_0x56e703;let _0x35eaa5=_0x25492f,_0x143a79=null;for(let _0x281ae4=0x0;_0x281ae4<_0x25ab14&&_0x35eaa5;_0x281ae4++){if(!_0x35eaa5[_0x3ce689(0x241)]){_0x35eaa5=_0x35eaa5[_0x3ce689(0x268)];continue;}if(!(''+_0x35eaa5[_0x3ce689(0x241)])[_0x3ce689(0x259)](_0x3ce689(0x255))){_0x35eaa5=_0x35eaa5[_0x3ce689(0x268)];continue;}if(!_0x35eaa5[_0x3ce689(0x1fc)](_0x3ce689(0x192)))break;_0x143a79=_0x35eaa5;break;}return _0x143a79;}[_0x56e703(0x263)](_0x269fa1){const _0x5e2d19=_0x56e703,_0x4a8a80=_0x3e7f88(this[_0x5e2d19(0x1d5)]),_0x149b58=_0x4a8a80[_0x5e2d19(0x1eb)][_0x5e2d19(0x26f)][_0x5e2d19(0x293)](_0x269fa1);return _0x149b58?_0x3113c8(_0x4a8a80[_0x5e2d19(0x1aa)],_0x149b58):null;}[_0x56e703(0x1dd)](_0x10fcea){const _0x544d9c=_0x56e703;return Array[_0x544d9c(0x1d0)](this[_0x544d9c(0x28f)][_0x544d9c(0x1b3)]())[_0x544d9c(0x200)](_0x1f051d=>_0x1f051d[_0x544d9c(0x212)]===_0x10fcea);}[_0x56e703(0x1c0)](_0x22da7a){const _0x3e8bfa=_0x56e703;return _0x3e8bfa(0x1ca)===_0x22da7a[_0x3e8bfa(0x193)]?_0x22da7a[_0x3e8bfa(0x277)]:_0x22da7a[_0x3e8bfa(0x22d)][_0x3e8bfa(0x296)];}[_0x56e703(0x25f)](_0x3577aa,_0x72fadf=!0x1){const _0x3f87ea=_0x56e703;return _0x3f87ea(0x1ca)===_0x3577aa[_0x3f87ea(0x193)]?_0x72fadf?_0x3577aa[_0x3f87ea(0x277)]:_0x3577aa[_0x3f87ea(0x277)][_0x3f87ea(0x251)](_0x3577aa[_0x3f87ea(0x24f)]):_0x3577aa[_0x3f87ea(0x22d)][_0x3f87ea(0x208)];}[_0x56e703(0x21a)](_0xb2a7da,_0x59db48){const _0x356ed3=_0x56e703;return _0x356ed3(0x1ca)===_0xb2a7da[_0x356ed3(0x193)]?_0xb2a7da[_0x356ed3(0x277)]=_0xb2a7da[_0x356ed3(0x277)][_0x356ed3(0x251)](_0x59db48):_0x356ed3(0x1b0)===_0xb2a7da[_0x356ed3(0x193)]&&_0xb2a7da[_0x356ed3(0x22d)]&&(_0xb2a7da[_0x356ed3(0x22d)]=new _0x4e0fdf(_0xb2a7da[_0x356ed3(0x22d)][_0x356ed3(0x296)][_0x356ed3(0x251)](_0x59db48),_0xb2a7da[_0x356ed3(0x22d)][_0x356ed3(0x208)][_0x356ed3(0x251)](_0x59db48))),_0xb2a7da;}[_0x56e703(0x1ba)](_0xc0ddd9,_0x3c2eb1){const _0x5242e2=_0x56e703;_0x5242e2(0x1ca)===_0xc0ddd9[_0x5242e2(0x193)]?_0xc0ddd9[_0x5242e2(0x277)]=this[_0x5242e2(0x26c)](_0xc0ddd9[_0x5242e2(0x277)],_0x3c2eb1):_0x5242e2(0x1b0)===_0xc0ddd9[_0x5242e2(0x193)]&&_0xc0ddd9[_0x5242e2(0x22d)]&&(_0xc0ddd9[_0x5242e2(0x22d)]=this[_0x5242e2(0x1f1)](_0xc0ddd9[_0x5242e2(0x22d)],_0x3c2eb1));}[_0x56e703(0x26c)](_0x18ed6d,_0x42263a){const _0x16ccef=_0x56e703;return new _0x665f1c(_0x42263a,_0x18ed6d[_0x16ccef(0x1f7)]);}[_0x56e703(0x1f1)](_0x368c67,_0x3e81b9){const _0x1bb5c2=_0x56e703;return new _0x4e0fdf(this[_0x1bb5c2(0x26c)](_0x368c67[_0x1bb5c2(0x296)],_0x3e81b9),this[_0x1bb5c2(0x26c)](_0x368c67[_0x1bb5c2(0x208)],_0x3e81b9));}[_0x56e703(0x1ed)](_0x3434c8,_0x28df4c){return new _0x665f1c(_0x28df4c,[..._0x3434c8]);}[_0x56e703(0x238)](_0x19f193,_0x3722d0,_0x2cde29,_0x2e2033){const _0x9549b1=_0x56e703;return new _0x4e0fdf(this[_0x9549b1(0x1ed)](_0x3722d0,_0x2e2033),this[_0x9549b1(0x1ed)](_0x2cde29,_0x2e2033));}[_0x56e703(0x284)](_0x27f12f){const _0x54e23f=_0x56e703,_0x22e6bd=_0x500064=>{const _0xe8512a=_0x1f4f;switch(_0x500064){case _0xe8512a(0x1ca):return 0x0;case _0xe8512a(0x278):return 0x1;case _0xe8512a(0x1b1):return 0x2;case _0xe8512a(0x1b9):return 0x3;}};return _0x27f12f[_0x54e23f(0x22e)]((_0x26173e,_0x3d6d80)=>_0x22e6bd(_0x26173e[_0x54e23f(0x193)])-_0x22e6bd(_0x3d6d80[_0x54e23f(0x193)]));}[_0x56e703(0x194)](_0x31082c,_0x44b652){const _0x5fd735=_0x56e703,_0xed5017=_0x31082c[_0x5fd735(0x295)](0x0),_0x561cdc=_0x44b652[_0x5fd735(0x295)](0x0);return!(!_0xed5017||!_0x561cdc)&&((!_0xed5017['is'](_0x5fd735(0x24d))||!_0x561cdc['is'](_0x5fd735(0x24d))||_0xed5017[_0x5fd735(0x1d6)]===_0x561cdc[_0x5fd735(0x1d6)])&&!(_0xed5017['is'](_0x5fd735(0x24d))&&!_0x561cdc['is'](_0x5fd735(0x24d))||!_0xed5017['is'](_0x5fd735(0x24d))&&_0x561cdc['is'](_0x5fd735(0x24d))));}[_0x56e703(0x19a)](_0x30751e){const _0x49268d=_0x56e703;return 0x1===_0x30751e[_0x49268d(0x1e0)];}[_0x56e703(0x272)](_0x35675f,_0x28936d){const _0x336c8e=_0x56e703;for(const _0x3fe859 of _0x35675f[_0x336c8e(0x1a4)]())if(_0x3fe859['is'](_0x336c8e(0x24d))&&!_0x28936d[_0x336c8e(0x1c9)](_0x3fe859))return!0x1;return!0x0;}[_0x56e703(0x279)](_0x2c3ead,_0x293ab7){const _0x5933f2=_0x56e703;let _0x49eada=_0x2c3ead[_0x5933f2(0x1fc)](_0x3e9236);return _0x49eada||(_0x49eada=_0x293ab7(),_0x2c3ead[_0x5933f2(0x1d9)](_0x3e9236,_0x49eada)),_0x49eada;}}
23
+ const _0x189d8a=_0x5dc3;(function(_0xe01001,_0x12b69d){const _0x5da043=_0x5dc3,_0x171471=_0xe01001();while(!![]){try{const _0x24d99d=parseInt(_0x5da043(0x1b5))/0x1+-parseInt(_0x5da043(0x143))/0x2+parseInt(_0x5da043(0x141))/0x3+parseInt(_0x5da043(0x1c8))/0x4+-parseInt(_0x5da043(0x207))/0x5+-parseInt(_0x5da043(0x21e))/0x6+-parseInt(_0x5da043(0x22b))/0x7*(parseInt(_0x5da043(0x1b4))/0x8);if(_0x24d99d===_0x12b69d)break;else _0x171471['push'](_0x171471['shift']());}catch(_0x481a43){_0x171471['push'](_0x171471['shift']());}}}(_0x2966,0x469e3));import{InsertOperation as _0x280bb3,MarkerOperation as _0x15d125,ModelDocumentFragment as _0x2ae100,ModelPosition as _0x29e6c7,ModelRange as _0x419273,ModelTreeWalker as _0x383d3b,transformOperationSets as _0x24d6ff}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x498a6f,EmitterMixin as _0x2bd8b0,uid as _0x333843}from'ckeditor5/src/utils.js';function _0x2966(){const _0x396e27=['containsRange','_handleMarkerChanges','ck-ai_review-marker_hide','operationsA','_haveSingleTopLevelElement','toView','jumpTo','plugins','_findMarkerElement','nodes','addOperation','forward','createUIElement','_findMarkerElementById','highest','parse','AIEditing','hasClass','getChildren','getOperations','fire','_changePosition','changeMarkerBlurred','sort','delete','offsetSize','editingDowncast','markers','$markedRemove:synthetic','warn','remove','getChanges','change','662864zMMGYM','55010AbZnCf','schema','createRangeIn','getDiff','concat','outside','No\x20element\x20found\x20for\x20ID:\x20','_getOperationStart','emitter','viewToDom','getRoots','_sortMarkers','has','review-','clone','outerHTML','_removeAttribute','disableReadOnlyMode','_clone','1950132qNSroM','join','getRoot','isBlock','processor','applyOperation','rejectChange','createPositionAfter','isOpening','insertContent','target','enableReadOnlyMode','ellipsisAfter','isAtEnd','remove-context','context','htmlWriter','className','requires','htmlProcessor','_createGetContentFn','pluginName','[data-marker-id=\x22','ck-ai_review-marker_strikethrough','index','getEditableElement','markerToHighlight','createRangeOn','_validateMarkers','ellipsisBefore','isLimit','isAtStart','isInline','ai-review','length','set','exec','closest','afterInit','relatedTarget','affectsData','setAllMarkersAsInactive','conversion','backward','getPath','_changeRangeOwnerDocument','removeMarker','_shiftOperation','downcast','_getMarkersDataForGroup','isIntersecting','isDocumentOperation','for','size','insert','markerName','domConverter','data-marker-id','createPositionAt','_removeChildren','ck-ai_review-marker_context-end','getMarkerElementForChange','createDocumentFragment','938470LcRlVJ','setMarkersInElementAsActive','switchToEdit','$graveyard','operationsIsolated','filter','includes','elements','history','asFragment','_haveOnlyInlineContent','_changeOperationOwnerDocument','dataDowncast','_getOperationEnd','diffContent','isTouching','markerToElement','hasContentBefore','registerPostFixer','suggestion:insertion:id:authorId:','offset','clearAllMarkers','element','1440792GJUcXj','switchToReadOnly','ck-ai_review-marker_underline','mouseup','end','_insertMarkers','ck-ai_review__change_active','get','_changeRange','deleteContent','model','every','toDomElement','14FQsxag','innerHTML','addMarker','inside','suggestion:deletion:id:authorId:','querySelector','listenTo','_eventEmitter','groupId','$documentFragment','_createGetContentUsingDataIdFn','editing','markChangePositionInEditorContent','_domEmitter','differ','applyChange','append','createRawElement','operations','_createGetContextFn','clear','suggestion-context','startsWith','mouseover','batch','howMany','flat','from','body','hasAttribute','add','newRange','_markers','push','1269819ScLOSm','[data-id=\x22','166046iqlxOT','baseVersion','getChangedMarkers','$root','documentFragment','type','version','rootName','getDomRoot','isPremiumPlugin','_changePositionOwnerDocument','parent','AIReviewCoreEditing','$markedRemove','marker','data','span','getHtml','keys','view','_getChangeContext','reconvertMarker','map','createRange','_setAttribute','changeMarkerClicked','getDocumentData','containerElement','changeMarkerRestored','parentElement','_activeMarkers','getShiftedBy','remove-text','forEach','asString','childCount','getEditor','split','pop','_translateOperationToEditorContent','_hasSameTopLevelElement','_parseMarkerName','.ck-reset.ck-ai_review-balloon-panel-suggestion','getAttribute','content','ck-ai_review-marker_context-','DocumentCompare','\x20ck-ai_review__change_active','remove-only','getRange','ck-ai_review-marker_context-start','reactivateMarkers','attributeToAttribute','_findAdjacentContextDistance','start','getChild','values','_appendChild','position','changeMarkerHovered','path','_getPositionLimitingRange','document','root','createSelection','getContentElementForChange','_upsertDataId','changeMarkerRemoved','_nextDataId','stringify','oldRange','ck-ai_review-marker_add','getStart','name','isOfficialPlugin','$textProxy','_groupAdjacentOperations','ck-ai_review-marker_','toData','hasContentAfter'];_0x2966=function(){return _0x396e27;};return _0x2966();}import{ContextPlugin as _0x2fd76e}from'ckeditor5/src/core.js';function _0x5dc3(_0x283d9f,_0x2ce32b){const _0x29663f=_0x2966();return _0x5dc3=function(_0x5dc3ef,_0x2fb0a2){_0x5dc3ef=_0x5dc3ef-0x135;let _0x4d8f15=_0x29663f[_0x5dc3ef];return _0x4d8f15;},_0x5dc3(_0x283d9f,_0x2ce32b);}import{DocumentCompare as _0x16e7fc,DATA_ID_MODEL_ATTRIBUTE as _0x1adfa1,DATA_ID_VIEW_ATTRIBUTE as _0x5d94c4,getMarkerDomElement as _0x4458cb}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2da9eb}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x469330}from'../aicore/aiediting.js';import{debounce as _0x40f4a2}from'es-toolkit/compat';const fe=_0x189d8a(0x1c2);export class AIReviewCoreEditing extends _0x2fd76e{static get[_0x189d8a(0x1da)](){return[_0x16e7fc,_0x469330];}static get[_0x189d8a(0x1dd)](){const _0x3d6efd=_0x189d8a;return _0x3d6efd(0x14f);}static get[_0x189d8a(0x18d)](){return!0x0;}static get[_0x189d8a(0x14c)](){return!0x0;}[_0x189d8a(0x13f)]=new Map();[_0x189d8a(0x161)]=new Set();[_0x189d8a(0x238)];[_0x189d8a(0x232)];constructor(_0x2bad4d){const _0x123161=_0x189d8a;super(_0x2bad4d),this[_0x123161(0x238)]=new(_0x498a6f())(),this[_0x123161(0x232)]=new(_0x2bd8b0())();}get[_0x189d8a(0x1bd)](){const _0x23779d=_0x189d8a;return this[_0x23779d(0x232)];}[_0x189d8a(0x1ee)](){const _0x549e67=_0x189d8a,_0x1a894d=_0x2da9eb(this[_0x549e67(0x1d7)]);_0x1a894d[_0x549e67(0x1f2)][_0x549e67(0x1fc)](_0x549e67(0x1ad))[_0x549e67(0x217)]({'model':fe+_0x549e67(0x1fe),'view':(_0x285817,{writer:_0x3629c3})=>{const _0x3632a4=_0x549e67,_0x31839e=this[_0x3632a4(0x13f)][_0x3632a4(0x225)](_0x285817[_0x3632a4(0x1ff)]),_0x37e1e7={'class':_0x3632a4(0x18a)+(this[_0x3632a4(0x161)][_0x3632a4(0x1c1)](_0x31839e?.['id']||'')?_0x3632a4(0x172):''),'data-marker-id':_0x285817[_0x3632a4(0x1ff)]};return _0x3629c3[_0x3632a4(0x19f)](_0x3632a4(0x153),_0x37e1e7,function(_0x1dd0e4){const _0x4af612=_0x3632a4,_0x25c680=this[_0x4af612(0x22a)](_0x1dd0e4);return _0x25c680[_0x4af612(0x22c)]=_0x31839e?.[_0x4af612(0x16f)]?.[_0x4af612(0x165)]||'',_0x25c680;});}}),_0x1a894d[_0x549e67(0x1f2)][_0x549e67(0x1fc)](_0x549e67(0x1ad))[_0x549e67(0x1e2)]({'model':fe+_0x549e67(0x173),'view':_0x242e0d=>{const _0x537b22=_0x549e67,_0x743b69=this[_0x537b22(0x13f)][_0x537b22(0x225)](_0x242e0d[_0x537b22(0x1ff)]),_0x1b5944=[_0x537b22(0x1df)];return this[_0x537b22(0x161)][_0x537b22(0x1c1)](_0x743b69?.['id']||'')&&_0x1b5944[_0x537b22(0x140)](_0x537b22(0x224)),{'classes':_0x1b5944,'attributes':{'data-marker-id':_0x242e0d[_0x537b22(0x1ff)]}};}}),_0x1a894d[_0x549e67(0x1f2)][_0x549e67(0x1fc)](_0x549e67(0x1ad))[_0x549e67(0x1e2)]({'model':fe+_0x549e67(0x1d6),'view':_0x570f8a=>{const _0x42c4c1=_0x549e67,_0x57ec72=this[_0x42c4c1(0x13f)][_0x42c4c1(0x225)](_0x570f8a[_0x42c4c1(0x1ff)]),_0x3702c5=[_0x42c4c1(0x220)];return this[_0x42c4c1(0x161)][_0x42c4c1(0x1c1)](_0x57ec72?.['id']||'')&&_0x3702c5[_0x42c4c1(0x140)](_0x42c4c1(0x224)),{'classes':_0x3702c5,'attributes':{'data-marker-id':_0x570f8a[_0x42c4c1(0x1ff)]}};}}),_0x1a894d[_0x549e67(0x1f2)][_0x549e67(0x1fc)](_0x549e67(0x1ad))[_0x549e67(0x1e2)]({'model':fe+_0x549e67(0x163),'view':_0x9dd34a=>{const _0x530206=_0x549e67,_0x26fc05=this[_0x530206(0x13f)][_0x530206(0x225)](_0x9dd34a[_0x530206(0x1ff)]),_0x545db0=[_0x530206(0x195)];return this[_0x530206(0x161)][_0x530206(0x1c1)](_0x26fc05?.['id']||'')&&_0x545db0[_0x530206(0x140)](_0x530206(0x224)),{'classes':_0x545db0,'attributes':{'data-marker-id':_0x9dd34a[_0x530206(0x1ff)]}};}}),_0x1a894d[_0x549e67(0x1f2)][_0x549e67(0x1fc)](_0x549e67(0x213))[_0x549e67(0x217)]({'model':fe+_0x549e67(0x240),'view':(_0x16230b,{writer:_0x30fd73})=>_0x30fd73[_0x549e67(0x23c)](_0x549e67(0x153),{'class':_0x549e67(0x170)+(_0x16230b[_0x549e67(0x1d0)]?_0x549e67(0x179):_0x549e67(0x222))})}),_0x1a894d[_0x549e67(0x1f2)][_0x549e67(0x1fc)](_0x549e67(0x1f8))[_0x549e67(0x177)]({'model':_0x1adfa1,'view':_0x5d94c4});const _0x27bedd=_0x1a894d['ui'][_0x549e67(0x1e1)]()||document[_0x549e67(0x13b)];this[_0x549e67(0x238)][_0x549e67(0x231)](_0x27bedd,_0x549e67(0x221),(_0x23c930,_0x5109ca)=>{const _0x2f164a=_0x549e67,_0x139533=_0x5109ca[_0x2f164a(0x1d2)],_0x1e6ae9=this[_0x2f164a(0x19b)](_0x139533);if(!_0x1e6ae9)return;const _0xaf5edc=_0x1e6ae9[_0x2f164a(0x16e)](_0x2f164a(0x201)),_0x5ab8d4=_0xaf5edc[_0x2f164a(0x168)](':')[_0x2f164a(0x169)]()?.[_0x2f164a(0x168)]('_')[0x0];this[_0x2f164a(0x232)][_0x2f164a(0x1a7)](_0x2f164a(0x15c),{'markerId':_0xaf5edc,'changeId':_0x5ab8d4,'markerElement':()=>this[_0x2f164a(0x1a0)](_0xaf5edc),'domEvent':_0x5109ca});},{'usePassive':!0x0,'priority':_0x549e67(0x1a1)}),this[_0x549e67(0x238)][_0x549e67(0x231)](_0x27bedd,_0x549e67(0x136),(_0x15e394,_0x35535c)=>{const _0x42a210=_0x549e67,_0x31f1ef=_0x35535c[_0x42a210(0x1d2)],_0xa13786=_0x35535c[_0x42a210(0x1ef)];let _0x24a2e8=this[_0x42a210(0x19b)](_0x31f1ef);if(!_0x24a2e8&&_0xa13786&&(_0x24a2e8=this[_0x42a210(0x19b)](_0xa13786)),!_0x24a2e8)return;const _0xa710ba=_0x24a2e8[_0x42a210(0x16e)](_0x42a210(0x201)),_0x2e6dc2=_0xa710ba[_0x42a210(0x168)](':')[_0x42a210(0x169)]()?.[_0x42a210(0x168)]('_')[0x0];this[_0x42a210(0x232)][_0x42a210(0x1a7)](_0x42a210(0x17e),{'changeId':_0x2e6dc2,'markerElement':()=>this[_0x42a210(0x1a0)](_0xa710ba),'domEvent':_0x35535c});}),this[_0x549e67(0x238)][_0x549e67(0x231)](document,_0x549e67(0x136),_0x40f4a2((_0x4edd5f,_0x568aec)=>{const _0x4c3c95=_0x549e67,_0x3f1c54=_0x568aec[_0x4c3c95(0x1d2)];if(this[_0x4c3c95(0x19b)](_0x3f1c54))return;_0x3f1c54[_0x4c3c95(0x1ed)](_0x4c3c95(0x16d))||this[_0x4c3c95(0x232)][_0x4c3c95(0x1a7)](_0x4c3c95(0x1a9));},0xc8)),_0x1a894d[_0x549e67(0x228)][_0x549e67(0x181)][_0x549e67(0x219)](_0x2243c6=>this[_0x549e67(0x1e4)](_0x1a894d,_0x2243c6)),_0x1a894d[_0x549e67(0x228)][_0x549e67(0x181)]['on'](_0x549e67(0x1b3),()=>this[_0x549e67(0x194)](_0x1a894d));}[_0x189d8a(0x15d)](){const _0x23717a=_0x189d8a,_0x58c73c=this[_0x23717a(0x1d7)][_0x23717a(0x19a)][_0x23717a(0x225)](_0x23717a(0x1a3)),_0x238006=_0x2da9eb(this[_0x23717a(0x1d7)]),_0x4754a9=_0x238006[_0x23717a(0x228)],_0x4eaec6=new _0x2ae100();for(const _0x342a01 of _0x4754a9[_0x23717a(0x181)][_0x23717a(0x1ca)]()[_0x23717a(0x1a5)]()){const _0x1a70fc=_0x342a01[_0x23717a(0x1c7)](!0x0);_0x4eaec6[_0x23717a(0x17c)](_0x1a70fc);}for(const _0x10cf1a of _0x4754a9[_0x23717a(0x1ae)])_0x4eaec6[_0x23717a(0x1ae)][_0x23717a(0x1eb)](_0x10cf1a[_0x23717a(0x18c)],this[_0x23717a(0x1f5)](_0x10cf1a[_0x23717a(0x174)]()[_0x23717a(0x1c3)](),_0x4eaec6));const _0x5b9798=new _0x383d3b({'ignoreElementEnd':!0x0,'startPosition':_0x4754a9[_0x23717a(0x202)](_0x4eaec6,0x0)}),_0x458d30=new Set(),_0x17152f=new Map();for(const {item:_0x5486d7}of _0x5b9798){if(!_0x5486d7['is'](_0x23717a(0x18e)))continue;const _0x3ad858=_0x5486d7[_0x23717a(0x14e)];if(_0x3ad858&&_0x3ad858['is'](_0x23717a(0x21d))){const _0x98b27c=this[_0x23717a(0x185)](_0x3ad858,()=>_0x58c73c[_0x23717a(0x187)](_0x458d30));_0x458d30[_0x23717a(0x13d)](_0x98b27c);for(const _0x4edfd8 of _0x3ad858[_0x23717a(0x1a5)]())_0x4edfd8['is'](_0x23717a(0x21d))&&_0x458d30[_0x23717a(0x13d)](this[_0x23717a(0x185)](_0x4edfd8,()=>_0x58c73c[_0x23717a(0x187)](_0x458d30)));let _0x42e6fa=_0x3ad858;for(;_0x42e6fa[_0x23717a(0x14e)]&&!_0x42e6fa[_0x23717a(0x14e)]['is'](_0x23717a(0x147));)_0x42e6fa=_0x42e6fa[_0x23717a(0x14e)],_0x42e6fa[_0x23717a(0x13c)](_0x1adfa1)&&_0x42e6fa[_0x23717a(0x1c5)](_0x1adfa1);_0x17152f[_0x23717a(0x1eb)](_0x98b27c,{'path':_0x3ad858[_0x23717a(0x1f4)](),'getContent':this[_0x23717a(0x235)](_0x42e6fa[_0x23717a(0x1c7)](!0x0),_0x98b27c,_0x238006[_0x23717a(0x152)])}),_0x5b9798[_0x23717a(0x199)](_0x4754a9[_0x23717a(0x1cf)](_0x3ad858));}}return{'content':_0x238006[_0x23717a(0x152)][_0x23717a(0x1cc)][_0x23717a(0x191)](_0x238006[_0x23717a(0x152)][_0x23717a(0x198)](_0x4eaec6)),'version':_0x238006[_0x23717a(0x228)][_0x23717a(0x181)][_0x23717a(0x149)],'elements':_0x17152f};}[_0x189d8a(0x215)](_0x3a64fb,_0x4eaa0a,_0xc917e=!0x1){const _0x2ce853=_0x189d8a,_0x155373=[],_0x3b01da=_0x2da9eb(this[_0x2ce853(0x1d7)]),_0x3b55a0=_0x3b01da[_0x2ce853(0x152)][_0x2ce853(0x1a2)](_0x4eaa0a,_0x2ce853(0x234)),_0x56629f=_0x3b01da[_0x2ce853(0x152)][_0x2ce853(0x1a2)](_0x3a64fb,_0x2ce853(0x234)),_0x4f5df6=_0x3b01da[_0x2ce853(0x228)][_0x2ce853(0x202)](_0x56629f,0x0);if(this[_0x2ce853(0x197)](_0x3b55a0)){if(!this[_0x2ce853(0x16b)](_0x56629f,_0x3b55a0))return _0x155373;}else{const _0x3be45b=_0x3b01da[_0x2ce853(0x228)][_0x2ce853(0x1b6)];if(!this[_0x2ce853(0x211)](_0x56629f,_0x3be45b)||!this[_0x2ce853(0x211)](_0x3b55a0,_0x3be45b))return _0x155373;}const _0x23b2a8=this[_0x2ce853(0x1d7)][_0x2ce853(0x19a)][_0x2ce853(0x225)](_0x2ce853(0x171))[_0x2ce853(0x1b8)](_0x3a64fb,_0x4eaa0a,{'anchor':_0x4f5df6,'markDeletions':!0x0})[_0x2ce853(0x1a6)]()[_0x2ce853(0x20c)](_0x58002a=>_0x2ce853(0x1fe)===_0x58002a[_0x2ce853(0x148)]||_0x2ce853(0x151)===_0x58002a[_0x2ce853(0x148)]&&_0x58002a[_0x2ce853(0x18c)][_0x2ce853(0x135)](_0x2ce853(0x150))),_0x316351=this[_0x2ce853(0x18f)](_0x23b2a8),_0x5669be=[];if(_0xc917e){if(_0x316351[_0x2ce853(0x1ea)]){const _0xb5c292=_0x316351[0x0][_0x2ce853(0x23d)][0x0],_0x3dba04=_0x2ce853(0x1fe)===_0xb5c292[_0x2ce853(0x148)]?_0xb5c292[_0x2ce853(0x17d)]:_0xb5c292[_0x2ce853(0x13e)][_0x2ce853(0x179)],_0x72dc5=this[_0x2ce853(0x180)](_0x3dba04,_0x3b01da,_0x2ce853(0x22e)),_0x3ae9a7=_0x72dc5?_0x3b55a0[_0x2ce853(0x17a)](0x0)[_0x2ce853(0x1a5)]():_0x3b55a0[_0x2ce853(0x1a5)](),_0x599733=_0x72dc5||_0x3b01da[_0x2ce853(0x228)][_0x2ce853(0x1b7)](_0x56629f),_0x509868=[new _0x15d125(_0x2ce853(0x1af)+_0x333843(),null,_0x599733,_0x3b01da[_0x2ce853(0x228)][_0x2ce853(0x181)][_0x2ce853(0x228)][_0x2ce853(0x1ae)],!0x0,_0x3b01da[_0x2ce853(0x228)][_0x2ce853(0x181)][_0x2ce853(0x149)]+0x1),new _0x280bb3(_0x599733[_0x2ce853(0x222)],_0x3ae9a7,_0x3b01da[_0x2ce853(0x228)][_0x2ce853(0x181)][_0x2ce853(0x149)]+0x2)];_0x5669be[_0x2ce853(0x140)]({'operations':_0x509868,'operationsIsolated':_0x509868,'groupOffset':0x0});}}else _0x5669be[_0x2ce853(0x140)](..._0x316351);let _0x98e1fe=0x0;return _0x3b01da[_0x2ce853(0x228)][_0x2ce853(0x1b3)](_0x4bbd76=>{const _0x3c158a=_0x2ce853;for(let _0x2d2d18=0x0;_0x2d2d18<_0x5669be[_0x3c158a(0x1ea)];_0x2d2d18++){const _0x14f503=_0x5669be[_0x2d2d18],_0xe362d4=_0x4bbd76[_0x3c158a(0x206)]();for(const _0x51ef59 of _0x56629f[_0x3c158a(0x1a5)]())_0x4bbd76[_0x3c158a(0x23b)](_0x51ef59[_0x3c158a(0x1c7)](!0x0),_0xe362d4);for(const _0x383ed4 of _0x14f503[_0x3c158a(0x20b)])if(_0x3c158a(0x1fe)===_0x383ed4[_0x3c158a(0x148)]){const _0x4f8563=_0x383ed4;_0x4f8563[_0x3c158a(0x144)]=null,_0x4f8563[_0x3c158a(0x1fb)]=!0x1,this[_0x3c158a(0x212)](_0x4f8563,_0xe362d4),_0x4bbd76[_0x3c158a(0x137)][_0x3c158a(0x19d)](_0x383ed4),_0x3b01da[_0x3c158a(0x228)][_0x3c158a(0x1cd)](_0x383ed4);const _0x9c0984=_0x3c158a(0x21a)+_0x98e1fe++,_0x809600=_0x3b01da[_0x3c158a(0x228)][_0x3c158a(0x15a)](_0x4f8563[_0x3c158a(0x17d)],_0x4f8563[_0x3c158a(0x17d)][_0x3c158a(0x162)](_0x4f8563[_0x3c158a(0x138)]));_0xe362d4[_0x3c158a(0x1ae)][_0x3c158a(0x1eb)](_0x9c0984,_0x809600);}else{if(_0x3c158a(0x151)===_0x383ed4[_0x3c158a(0x148)]&&_0x383ed4[_0x3c158a(0x18c)][_0x3c158a(0x135)](_0x3c158a(0x150))){const _0x5220db=_0x383ed4,_0x3f551b=_0x3c158a(0x22f)+_0x98e1fe++;this[_0x3c158a(0x212)](_0x5220db,_0xe362d4),_0xe362d4[_0x3c158a(0x1ae)][_0x3c158a(0x1eb)](_0x3f551b,_0x5220db[_0x3c158a(0x13e)]);}}if(_0xc917e)_0x155373[_0x3c158a(0x140)]({..._0x14f503,'context':this[_0x3c158a(0x1dc)](_0x56629f,_0x3b01da[_0x3c158a(0x152)]),'content':this[_0x3c158a(0x1dc)](_0x56629f,_0x3b01da[_0x3c158a(0x152)])});else{const _0x19df07=this[_0x3c158a(0x157)](this[_0x3c158a(0x14d)](this[_0x3c158a(0x1bc)](_0x14f503[_0x3c158a(0x20b)][0x0]),_0xe362d4),this[_0x3c158a(0x14d)](this[_0x3c158a(0x214)](_0x14f503[_0x3c158a(0x20b)][_0x14f503[_0x3c158a(0x20b)][_0x3c158a(0x1ea)]-0x1]),_0xe362d4));_0xe362d4[_0x3c158a(0x1ae)][_0x3c158a(0x1eb)](fe+_0x3c158a(0x240),new _0x419273(_0x19df07[_0x3c158a(0x179)],_0x19df07[_0x3c158a(0x222)])),_0x155373[_0x3c158a(0x140)]({..._0x14f503,'context':this[_0x3c158a(0x23e)](_0xe362d4,_0x3b01da[_0x3c158a(0x152)],{'ellipsisBefore':_0x19df07[_0x3c158a(0x218)],'ellipsisAfter':_0x19df07[_0x3c158a(0x192)]}),'content':this[_0x3c158a(0x1dc)](_0xe362d4,_0x3b01da[_0x3c158a(0x152)])});}}}),_0x155373;}[_0x189d8a(0x237)](_0x57d466,_0x28a16e){const _0x2c4721=_0x189d8a;if(!_0x57d466[_0x2c4721(0x1ea)])return;const _0x272759=_0x57d466[0x0][_0x2c4721(0x14e)]['id'],_0x872dd9=_0x28a16e[_0x2c4721(0x20e)][_0x2c4721(0x225)](_0x272759);if(!_0x872dd9)return void console[_0x2c4721(0x1b0)](_0x2c4721(0x1bb)+_0x272759);const _0x3090de=_0x872dd9[_0x2c4721(0x17f)],_0x179500=_0x2da9eb(this[_0x2c4721(0x1d7)]),_0xd436af=_0x179500[_0x2c4721(0x228)][_0x2c4721(0x181)][_0x2c4721(0x20f)][_0x2c4721(0x1a6)](_0x28a16e[_0x2c4721(0x149)]),_0x41bfa1=[];for(const _0x1a4548 of _0x57d466){const _0x2fd415=_0x1a4548[_0x2c4721(0x20b)][_0x2c4721(0x159)](_0xb2f33a=>this[_0x2c4721(0x16a)](_0xb2f33a,_0x3090de,_0x179500[_0x2c4721(0x228)][_0x2c4721(0x181)][_0x2c4721(0x1bf)]()[0x0]));if(!_0x2fd415||!_0x2fd415[_0x2c4721(0x1ea)])continue;const _0x110c8a=_0x2fd415[_0x2c4721(0x229)](_0x44840e=>_0x2c4721(0x151)===_0x44840e[_0x2c4721(0x148)]&&_0x44840e[_0x2c4721(0x18c)][_0x2c4721(0x135)](_0x2c4721(0x150))),_0x5eb3cb={'document':_0x179500[_0x2c4721(0x228)][_0x2c4721(0x181)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x45ed41=_0x24d6ff(_0x2fd415,_0xd436af,_0x5eb3cb)[_0x2c4721(0x196)];for(const _0xdfcd4e of _0x45ed41)if(_0x2c4721(0x1fe)===_0xdfcd4e[_0x2c4721(0x148)]){const _0xea3129=_0xdfcd4e,_0x3fae58=_0xea3129[_0x2c4721(0x19c)];_0x179500[_0x2c4721(0x228)][_0x2c4721(0x1b3)](_0x151b84=>{const _0x42d6f1=_0x2c4721,_0x3ad73c=_0x151b84[_0x42d6f1(0x206)]();for(const _0x1ae76c of _0x3fae58)_0x151b84[_0x42d6f1(0x23b)](_0x1ae76c[_0x42d6f1(0x1c7)](!0x0),_0x3ad73c);_0x41bfa1[_0x42d6f1(0x140)]({'start':_0xea3129[_0x42d6f1(0x17d)],'end':_0xea3129[_0x42d6f1(0x17d)],'type':_0x42d6f1(0x1fe),'groupId':_0x1a4548['id'],'content':{'asString':this[_0x42d6f1(0x1dc)](_0x3ad73c,_0x179500[_0x42d6f1(0x152)])(),'asFragment':_0x3ad73c}});});}else{if(_0x2c4721(0x151)===_0xdfcd4e[_0x2c4721(0x148)]&&_0xdfcd4e[_0x2c4721(0x18c)][_0x2c4721(0x135)](_0x2c4721(0x150))){const _0xede2c=_0xdfcd4e;let _0x10690a=_0x2c4721(0x163);if(_0x110c8a){const _0x2b2fe7=this[_0x2c4721(0x178)](_0xede2c[_0x2c4721(0x13e)][_0x2c4721(0x179)],_0x2c4721(0x1f3),_0x179500[_0x2c4721(0x228)][_0x2c4721(0x1b6)]),_0xc1ce55=this[_0x2c4721(0x178)](_0xede2c[_0x2c4721(0x13e)][_0x2c4721(0x222)],_0x2c4721(0x19e),_0x179500[_0x2c4721(0x228)][_0x2c4721(0x1b6)]);if(_0x2b2fe7||_0xc1ce55){const _0x3e933e=_0xede2c[_0x2c4721(0x13e)][_0x2c4721(0x179)][_0x2c4721(0x162)](-_0x2b2fe7),_0xdabfd5=_0xede2c[_0x2c4721(0x13e)][_0x2c4721(0x222)][_0x2c4721(0x162)](_0xc1ce55);_0x41bfa1[_0x2c4721(0x140)]({'start':_0x3e933e,'end':_0xdabfd5,'groupId':_0x1a4548['id'],'type':_0x2c4721(0x1d6)});}else _0x10690a=_0x2c4721(0x173);}_0x41bfa1[_0x2c4721(0x140)]({'start':_0xede2c[_0x2c4721(0x13e)][_0x2c4721(0x179)],'end':_0xede2c[_0x2c4721(0x13e)][_0x2c4721(0x222)],'groupId':_0x1a4548['id'],'type':_0x10690a});}}}this[_0x2c4721(0x223)](_0x41bfa1);}[_0x189d8a(0x21c)](){const _0x45f607=_0x189d8a,_0x3ecac1=_0x2da9eb(this[_0x45f607(0x1d7)]);_0x3ecac1[_0x45f607(0x228)][_0x45f607(0x1b3)](_0x546610=>{const _0xad99f9=_0x45f607;for(const _0x5b6bee of this[_0xad99f9(0x13f)][_0xad99f9(0x155)]())_0x3ecac1[_0xad99f9(0x228)][_0xad99f9(0x1ae)][_0xad99f9(0x225)](_0x5b6bee)&&_0x546610[_0xad99f9(0x1f6)](_0x5b6bee);}),this[_0x45f607(0x13f)][_0x45f607(0x23f)](),this[_0x45f607(0x161)][_0x45f607(0x23f)]();}[_0x189d8a(0x21f)](){const _0x1b1f39=_0x189d8a;_0x2da9eb(this[_0x1b1f39(0x1d7)])[_0x1b1f39(0x1d3)](_0x1b1f39(0x1e9));}[_0x189d8a(0x209)](){const _0x27c09e=_0x189d8a;_0x2da9eb(this[_0x27c09e(0x1d7)])[_0x27c09e(0x1c6)](_0x27c09e(0x1e9));}[_0x189d8a(0x23a)](_0x578bac){const _0x485e45=_0x189d8a,_0x17aca0=_0x2da9eb(this[_0x485e45(0x1d7)]),_0x5dcd78=_0x17aca0[_0x485e45(0x228)],_0x88fcd0=_0x578bac[_0x485e45(0x159)](_0x46a03c=>this[_0x485e45(0x1f9)](_0x46a03c))[_0x485e45(0x139)]();_0x5dcd78[_0x485e45(0x1b3)](_0x4e3727=>{const _0x3c23a7=_0x485e45;for(const _0x4f4d9c of _0x88fcd0){const _0x3364bd=_0x17aca0[_0x3c23a7(0x228)][_0x3c23a7(0x1ae)][_0x3c23a7(0x225)](_0x4f4d9c['id']);if(_0x3364bd){if(_0x3c23a7(0x1fe)===_0x4f4d9c[_0x3c23a7(0x148)]){if(!_0x4f4d9c[_0x3c23a7(0x16f)])continue;_0x5dcd78[_0x3c23a7(0x1d1)](_0x4f4d9c[_0x3c23a7(0x16f)][_0x3c23a7(0x210)]||null,_0x3364bd[_0x3c23a7(0x174)]()[_0x3c23a7(0x179)]);}else _0x3c23a7(0x163)!==_0x4f4d9c[_0x3c23a7(0x148)]&&_0x3c23a7(0x173)!==_0x4f4d9c[_0x3c23a7(0x148)]||_0x5dcd78[_0x3c23a7(0x227)](_0x5dcd78[_0x3c23a7(0x183)](_0x3364bd[_0x3c23a7(0x174)]()));_0x4e3727[_0x3c23a7(0x1f6)](_0x4f4d9c['id']),this[_0x3c23a7(0x13f)][_0x3c23a7(0x1ab)](_0x4f4d9c['id']);}}});}[_0x189d8a(0x1ce)](_0x24c70f){const _0x28f7a8=_0x189d8a,_0x43f7bc=_0x2da9eb(this[_0x28f7a8(0x1d7)]),_0x26545a=this[_0x28f7a8(0x1f9)](_0x24c70f);_0x43f7bc[_0x28f7a8(0x228)][_0x28f7a8(0x1b3)](_0x287136=>{const _0x40811d=_0x28f7a8;for(const _0x5d8720 of _0x26545a)_0x287136[_0x40811d(0x1f6)](_0x5d8720['id']),this[_0x40811d(0x13f)][_0x40811d(0x1ab)](_0x5d8720['id']);});}[_0x189d8a(0x167)](){const _0xba70a9=_0x189d8a;return _0x2da9eb(this[_0xba70a9(0x1d7)]);}[_0x189d8a(0x205)](_0xdc146e){const _0x29f253=_0x189d8a,_0x12364d=Array[_0x29f253(0x13a)](this[_0x29f253(0x13f)][_0x29f253(0x17b)]())[_0x29f253(0x20c)](_0x5a888e=>_0x5a888e[_0x29f253(0x233)]===_0xdc146e);if(!_0x12364d[_0x29f253(0x1ea)])return null;const _0x1458fe=0x1===_0x12364d[_0x29f253(0x1ea)]?_0x12364d[0x0]:this[_0x29f253(0x1c0)](_0x12364d)[0x0],_0x2d80cd=_0x2da9eb(this[_0x29f253(0x1d7)])[_0x29f253(0x228)][_0x29f253(0x1ae)][_0x29f253(0x225)](_0x1458fe['id']);if(!_0x2d80cd)return null;return{'modelRange':_0x2d80cd[_0x29f253(0x174)](),'getElement':()=>this[_0x29f253(0x1a0)](_0x1458fe['id'])};}[_0x189d8a(0x184)](_0x3f97f1){const _0x595a50=_0x189d8a,_0x437688=Array[_0x595a50(0x13a)](this[_0x595a50(0x13f)][_0x595a50(0x17b)]())[_0x595a50(0x20c)](_0x3b6286=>_0x3b6286[_0x595a50(0x233)]===_0x3f97f1);if(!_0x437688[_0x595a50(0x1ea)])return null;const _0x2001e1=0x1===_0x437688[_0x595a50(0x1ea)]?_0x437688[0x0]:this[_0x595a50(0x1c0)](_0x437688)[0x0],_0x3ed85b=_0x2da9eb(this[_0x595a50(0x1d7)]),_0x547d56=_0x3ed85b[_0x595a50(0x228)][_0x595a50(0x1ae)][_0x595a50(0x225)](_0x2001e1['id']);if(!_0x547d56)return null;const _0x4eeb41=_0x547d56[_0x595a50(0x174)](),_0x27e818=_0x3ed85b[_0x595a50(0x236)][_0x595a50(0x156)][_0x595a50(0x14b)]();if(!_0x27e818||!_0x4eeb41)return null;let _0x31af21=_0x4eeb41[_0x595a50(0x179)][_0x595a50(0x14e)];for(;_0x31af21[_0x595a50(0x14e)]&&_0x595a50(0x146)!==_0x31af21[_0x595a50(0x14e)][_0x595a50(0x18c)];)_0x31af21=_0x31af21[_0x595a50(0x14e)];if(!_0x31af21||!_0x31af21[_0x595a50(0x18c)])return null;const _0x4787e8=_0x27e818[_0x595a50(0x230)](_0x595a50(0x1de)+_0x2001e1['id']+'\x22]');if(!_0x4787e8)return null;let _0x276938=null;_0x3ed85b[_0x595a50(0x228)][_0x595a50(0x1b3)](_0x466799=>{const _0x2a895b=_0x595a50;_0x276938=_0x466799[_0x2a895b(0x206)](),_0x466799[_0x2a895b(0x23b)](_0x31af21[_0x2a895b(0x1c7)](!0x0),_0x276938);});const _0x25d458=_0x3ed85b[_0x595a50(0x152)][_0x595a50(0x198)](_0x276938)[_0x595a50(0x17a)](0x0);return _0x4787e8[_0x595a50(0x1ed)](_0x25d458[_0x595a50(0x18c)]);}[_0x189d8a(0x176)](_0x1ff629){const _0x560b21=_0x189d8a,_0x24a48c=this[_0x560b21(0x1f9)](_0x1ff629);if(!_0x24a48c[_0x560b21(0x1ea)])return;const _0x4bbe25=Array[_0x560b21(0x13a)](this[_0x560b21(0x161)])[_0x560b21(0x1aa)](),_0x15782e=Array[_0x560b21(0x13a)](new Set(_0x24a48c[_0x560b21(0x159)](_0x3bdb5d=>_0x3bdb5d['id'])))[_0x560b21(0x1aa)]();_0x4bbe25[_0x560b21(0x1c9)]('|')!==_0x15782e[_0x560b21(0x1c9)]('|')&&(this[_0x560b21(0x1f1)](),this[_0x560b21(0x208)](_0x1ff629));}[_0x189d8a(0x208)](_0x1ae4db){const _0x3ad5e2=_0x189d8a,_0x18fc1b=this[_0x3ad5e2(0x1f9)](_0x1ae4db);if(!_0x18fc1b[_0x3ad5e2(0x1ea)])return;const _0x298044=_0x2da9eb(this[_0x3ad5e2(0x1d7)]),_0x5c3424=new Set(_0x18fc1b[_0x3ad5e2(0x159)](_0x93f8a7=>_0x93f8a7['id'])),_0x5f1505=Array[_0x3ad5e2(0x13a)](_0x5c3424[_0x3ad5e2(0x17b)]())[_0x3ad5e2(0x159)](_0x385e4a=>_0x298044[_0x3ad5e2(0x228)][_0x3ad5e2(0x1ae)][_0x3ad5e2(0x225)](_0x385e4a))[_0x3ad5e2(0x20c)](_0x5691e9=>!!_0x5691e9);_0x5c3424[_0x3ad5e2(0x164)](_0x17bd66=>{const _0xd2da28=_0x3ad5e2;this[_0xd2da28(0x161)][_0xd2da28(0x13d)](_0x17bd66);}),_0x298044[_0x3ad5e2(0x228)][_0x3ad5e2(0x1b3)](()=>{const _0x5e7557=_0x3ad5e2;_0x5f1505[_0x5e7557(0x164)](_0x4ef0fd=>{const _0x108573=_0x5e7557;_0x298044[_0x108573(0x236)][_0x108573(0x158)](_0x4ef0fd);});});}[_0x189d8a(0x1f1)](){const _0x477b06=_0x189d8a,_0x4dcad8=Array[_0x477b06(0x13a)](this[_0x477b06(0x161)]);if(!_0x4dcad8[_0x477b06(0x1ea)])return;this[_0x477b06(0x161)][_0x477b06(0x23f)]();const _0x200cfd=_0x2da9eb(this[_0x477b06(0x1d7)]),_0x1637c8=_0x4dcad8[_0x477b06(0x159)](_0x35a9ee=>_0x200cfd[_0x477b06(0x228)][_0x477b06(0x1ae)][_0x477b06(0x225)](_0x35a9ee))[_0x477b06(0x20c)](_0x1bff20=>!!_0x1bff20);_0x200cfd[_0x477b06(0x228)][_0x477b06(0x1b3)](()=>{const _0x11f45b=_0x477b06;_0x1637c8[_0x11f45b(0x164)](_0x3fafae=>{const _0x1732c2=_0x11f45b;_0x200cfd[_0x1732c2(0x236)][_0x1732c2(0x158)](_0x3fafae);});});}[_0x189d8a(0x180)](_0x39fae0,_0x28f01d,_0x1e8ae7=_0x189d8a(0x1ba)){const _0x2ea4fe=_0x189d8a;if(!_0x39fae0)return null;let _0x272f98=_0x39fae0[_0x2ea4fe(0x14e)];for(;_0x272f98&&_0x272f98[_0x2ea4fe(0x14e)]&&_0x2ea4fe(0x146)!==_0x272f98[_0x2ea4fe(0x14e)][_0x2ea4fe(0x18c)]&&!_0x28f01d[_0x2ea4fe(0x228)][_0x2ea4fe(0x1b6)][_0x2ea4fe(0x1e6)](_0x272f98)&&!_0x28f01d[_0x2ea4fe(0x228)][_0x2ea4fe(0x1b6)][_0x2ea4fe(0x1cb)](_0x272f98);)_0x272f98=_0x272f98[_0x2ea4fe(0x14e)];if(!_0x272f98||!_0x272f98[_0x2ea4fe(0x18c)]||_0x2ea4fe(0x146)===_0x272f98[_0x2ea4fe(0x18c)])return null;let _0x10b35b=null;return _0x28f01d[_0x2ea4fe(0x228)][_0x2ea4fe(0x1b3)](_0x433c7c=>{const _0x591542=_0x2ea4fe;_0x10b35b=_0x591542(0x22e)===_0x1e8ae7?_0x433c7c[_0x591542(0x1b7)](_0x272f98):_0x433c7c[_0x591542(0x1e3)](_0x272f98);}),_0x10b35b;}[_0x189d8a(0x1e4)](_0x3d78b9,_0xb9ab1f){const _0x4d7070=_0x189d8a,_0x2571de=Array[_0x4d7070(0x13a)](this[_0x4d7070(0x13f)][_0x4d7070(0x155)]()),_0x21f723=new Map();for(const _0x46a50c of _0x2571de){const _0x2b87c4=_0x3d78b9[_0x4d7070(0x228)][_0x4d7070(0x1ae)][_0x4d7070(0x225)](_0x46a50c);if(!_0x2b87c4)continue;const _0x4659e9=_0x2b87c4[_0x4d7070(0x18b)]()[_0x4d7070(0x17f)][0x0];_0x21f723[_0x4d7070(0x1c1)](_0x4659e9)||_0x21f723[_0x4d7070(0x1eb)](_0x4659e9,[]),_0x21f723[_0x4d7070(0x225)](_0x4659e9)[_0x4d7070(0x140)](_0x2b87c4);}const _0x1a5741=new Set();for(const _0x1df30c of _0x3d78b9[_0x4d7070(0x228)][_0x4d7070(0x181)][_0x4d7070(0x239)][_0x4d7070(0x1b2)]()){let _0x387d70=-0x1,_0x31ec72=null;if(_0x4d7070(0x1fe)===_0x1df30c[_0x4d7070(0x148)])_0x31ec72=new _0x419273(_0x1df30c[_0x4d7070(0x17d)],_0x1df30c[_0x4d7070(0x17d)][_0x4d7070(0x162)](_0x1df30c[_0x4d7070(0x1ea)])),_0x387d70=_0x1df30c[_0x4d7070(0x17d)][_0x4d7070(0x17f)][0x0];else{if(_0x4d7070(0x1b1)!==_0x1df30c[_0x4d7070(0x148)])continue;_0x31ec72=new _0x419273(_0x1df30c[_0x4d7070(0x17d)]),_0x387d70=_0x1df30c[_0x4d7070(0x17d)][_0x4d7070(0x17f)][0x0];}const _0x3f56fb=_0x21f723[_0x4d7070(0x225)](_0x387d70)||[];if(_0x3f56fb[_0x4d7070(0x1ea)]){for(const _0x3119f5 of _0x3f56fb)if(_0x31ec72[_0x4d7070(0x182)][_0x4d7070(0x14a)]===_0x3119f5[_0x4d7070(0x174)]()[_0x4d7070(0x182)][_0x4d7070(0x14a)]&&(_0x4d7070(0x1fe)!==_0x1df30c[_0x4d7070(0x148)]||!_0x31ec72[_0x4d7070(0x193)](_0x3119f5[_0x4d7070(0x174)]()))&&(_0x31ec72[_0x4d7070(0x1fa)](_0x3119f5[_0x4d7070(0x174)]())||_0x31ec72[_0x4d7070(0x179)][_0x4d7070(0x216)](_0x3119f5[_0x4d7070(0x174)]()[_0x4d7070(0x222)])||_0x31ec72[_0x4d7070(0x222)][_0x4d7070(0x216)](_0x3119f5[_0x4d7070(0x174)]()[_0x4d7070(0x179)]))){const _0x5e5e82=this[_0x4d7070(0x16c)](_0x3119f5[_0x4d7070(0x18c)]);Array[_0x4d7070(0x13a)](this[_0x4d7070(0x13f)][_0x4d7070(0x17b)]())[_0x4d7070(0x20c)](_0x5423f5=>_0x5423f5[_0x4d7070(0x233)]===_0x5e5e82[_0x4d7070(0x233)])[_0x4d7070(0x164)](_0x21feeb=>_0x1a5741[_0x4d7070(0x13d)](_0x21feeb['id']));}}}if(_0x1a5741[_0x4d7070(0x1fd)]){for(const _0x1c5b92 of _0x1a5741)_0xb9ab1f[_0x4d7070(0x1f6)](_0x1c5b92);return!0x0;}return!0x1;}[_0x189d8a(0x194)](_0x4577e5){const _0x27df22=_0x189d8a;for(const {name:_0x6b25b8,data:_0x2e703e}of _0x4577e5[_0x27df22(0x228)][_0x27df22(0x181)][_0x27df22(0x239)][_0x27df22(0x145)]()){if(!_0x6b25b8[_0x27df22(0x135)](fe))continue;const _0x375d1c=_0x2e703e[_0x27df22(0x189)],_0x5a4a7d=_0x2e703e[_0x27df22(0x13e)],_0x5375b0=_0x375d1c&&_0x27df22(0x20a)===_0x375d1c[_0x27df22(0x182)][_0x27df22(0x14a)],_0x4b1df7=_0x5a4a7d&&_0x27df22(0x20a)===_0x5a4a7d[_0x27df22(0x182)][_0x27df22(0x14a)];if(_0x5375b0&&_0x4b1df7)continue;const _0x1d9152=this[_0x27df22(0x16c)](_0x6b25b8);this[_0x27df22(0x13f)][_0x27df22(0x225)](_0x6b25b8)&&(_0x4b1df7||!_0x5a4a7d?this[_0x27df22(0x232)][_0x27df22(0x1a7)](_0x27df22(0x186),{'markerId':_0x6b25b8,'changeId':_0x1d9152[_0x27df22(0x233)]}):_0x5375b0&&_0x5a4a7d&&this[_0x27df22(0x232)][_0x27df22(0x1a7)](_0x27df22(0x15f),{'markerId':_0x6b25b8,'changeId':_0x1d9152[_0x27df22(0x233)]}));}}[_0x189d8a(0x16c)](_0x333cac){const _0x2eec6f=_0x189d8a,_0x3c770e=_0x333cac[_0x2eec6f(0x168)](':'),_0x2352f7=(_0x3c770e[0x1]||'')[_0x2eec6f(0x168)]('_');return{'prefix':_0x3c770e[0x0],'groupId':_0x2352f7[0x0],'suffix':_0x2352f7[0x1]};}[_0x189d8a(0x16a)](_0xfb7d2f,_0x4350af,_0xd34e23){const _0x25cff5=_0x189d8a;if(_0x25cff5(0x1fe)===_0xfb7d2f[_0x25cff5(0x148)]){const _0x333395=_0xfb7d2f;return new _0x280bb3(this[_0x25cff5(0x1a8)](_0x4350af[_0x25cff5(0x1b9)](_0x333395[_0x25cff5(0x17d)][_0x25cff5(0x21b)]),_0xd34e23),_0x333395[_0x25cff5(0x19c)],_0x333395[_0x25cff5(0x144)]);}if(_0x25cff5(0x151)===_0xfb7d2f[_0x25cff5(0x148)]&&_0xfb7d2f[_0x25cff5(0x18c)][_0x25cff5(0x135)](_0x25cff5(0x150))){const _0x19afff=_0xfb7d2f;return new _0x15d125(_0x19afff[_0x25cff5(0x18c)],_0x19afff[_0x25cff5(0x189)],this[_0x25cff5(0x226)](_0x19afff[_0x25cff5(0x13e)],_0x4350af[_0x25cff5(0x1b9)](_0x19afff[_0x25cff5(0x13e)][_0x25cff5(0x179)][_0x25cff5(0x21b)]),_0x4350af[_0x25cff5(0x1b9)](_0x19afff[_0x25cff5(0x13e)][_0x25cff5(0x222)][_0x25cff5(0x21b)]),_0xd34e23),_0x19afff[_0x25cff5(0x13f)],_0x19afff[_0x25cff5(0x1f0)],_0x19afff[_0x25cff5(0x144)]);}return _0xfb7d2f;}[_0x189d8a(0x18f)](_0x35b7e7){const _0x264283=_0x189d8a;if(!_0x35b7e7[_0x264283(0x1ea)])return[];const _0x195ee3=[];let _0x195e58=0x0,_0xe45435=0x0,_0x49729f=[];for(let _0x4547b5=0x0;_0x4547b5<=_0x35b7e7[_0x264283(0x1ea)];_0x4547b5++){const _0x3895d8=_0x35b7e7[_0x4547b5],_0x1e688f=_0x35b7e7[_0x4547b5-0x1];!_0x3895d8||_0x1e688f&&!this[_0x264283(0x214)](_0x1e688f)[_0x264283(0x216)](this[_0x264283(0x1bc)](_0x3895d8))?(_0x195ee3[_0x264283(0x140)]({'operations':_0x49729f,'operationsIsolated':_0x49729f[_0x264283(0x159)](_0x53e66c=>this[_0x264283(0x1f7)](_0x53e66c[_0x264283(0x1c3)](),-_0xe45435)),'groupOffset':_0x195e58}),_0x49729f=_0x3895d8?[_0x3895d8]:[],_0xe45435+=_0x195e58,_0x195e58=0x0):_0x49729f[_0x264283(0x140)](_0x3895d8),_0x3895d8&&_0x264283(0x1fe)===_0x3895d8[_0x264283(0x148)]&&(_0x195e58+=_0x3895d8[_0x264283(0x138)]);}return _0x195ee3;}[_0x189d8a(0x178)](_0x3d0909,_0x2bb5bb,_0x3ff4f9,_0xac2dc9=0x1){const _0x473833=_0x189d8a,_0x409d80=new _0x383d3b({'startPosition':_0x3d0909,'direction':_0x2bb5bb});let _0xa1c57b=0x0;for(let _0x47dabe=0x0;_0x47dabe<_0xac2dc9;_0x47dabe++){let _0x5b604f=0x0,_0x179c33=!0x1,_0x69ca17=_0x473833(0x19e)===_0x2bb5bb?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x1c48f6}of _0x409d80)if(_0x1c48f6['is'](_0x473833(0x18e))){const _0x3a9723=_0x69ca17[_0x473833(0x1ec)](_0x1c48f6[_0x473833(0x152)]);if(_0x3a9723&&_0x3a9723[_0x473833(0x1ea)]){if(_0x5b604f+=_0x473833(0x19e)===_0x2bb5bb?_0x3a9723[_0x473833(0x1e0)]+_0x3a9723[0x0][_0x473833(0x1ea)]:_0x1c48f6[_0x473833(0x152)][_0x473833(0x1ea)]-_0x3a9723[_0x473833(0x1e0)],_0x3a9723[0x0][_0x473833(0x1ea)]!==_0x1c48f6[_0x473833(0x152)][_0x473833(0x1ea)])break;_0x179c33=!0x0,_0x69ca17=_0x473833(0x19e)===_0x2bb5bb?/^\w+/:/\w+$/;}else{if(_0x179c33)break;_0x5b604f+=_0x1c48f6[_0x473833(0x1ac)];}}else{if(_0x1c48f6['is'](_0x473833(0x21d))){_0x3ff4f9[_0x473833(0x1e8)](_0x1c48f6)&&!_0x179c33&&(_0x5b604f+=0x1);break;}}_0xa1c57b+=_0x5b604f,_0x409d80[_0x473833(0x199)](_0x3d0909[_0x473833(0x162)](_0x473833(0x19e)===_0x2bb5bb?_0xa1c57b:-_0xa1c57b));}return _0xa1c57b;}[_0x189d8a(0x157)](_0x316fe8,_0x4e78ef){const _0x3799f6=_0x189d8a,_0x51813c=_0x2da9eb(this[_0x3799f6(0x1d7)])[_0x3799f6(0x228)][_0x3799f6(0x1b6)],_0x2fdcc8=this[_0x3799f6(0x178)](_0x316fe8,_0x3799f6(0x1f3),_0x51813c,0x6),_0x3a4a14=this[_0x3799f6(0x178)](_0x4e78ef,_0x3799f6(0x19e),_0x51813c,0x6),_0x3d7cc5=_0x316fe8[_0x3799f6(0x162)](-_0x2fdcc8),_0x3c6cb3=_0x4e78ef[_0x3799f6(0x162)](_0x3a4a14);return{'start':_0x3d7cc5,'end':_0x3c6cb3,'hasContentBefore':!_0x3d7cc5[_0x3799f6(0x1e7)],'hasContentAfter':!_0x3c6cb3[_0x3799f6(0x1d5)]};}[_0x189d8a(0x223)](_0x5bf3db){const _0x4d4f1d=_0x189d8a,_0xd1c8=this[_0x4d4f1d(0x1d7)][_0x4d4f1d(0x19a)][_0x4d4f1d(0x225)](_0x4d4f1d(0x1a3)),_0x449655=new Set();_0x2da9eb(this[_0x4d4f1d(0x1d7)])[_0x4d4f1d(0x228)][_0x4d4f1d(0x1b3)](_0xef2915=>{const _0x4bff08=_0x4d4f1d;for(const _0x4be9c0 of _0x5bf3db){const _0x3706df=''+fe+_0x4be9c0[_0x4bff08(0x148)]+':'+_0x4be9c0[_0x4bff08(0x233)]+'_'+_0xd1c8[_0x4bff08(0x187)](_0x449655);this[_0x4bff08(0x13f)][_0x4bff08(0x1eb)](_0x3706df,{'id':_0x3706df,'groupId':_0x4be9c0[_0x4bff08(0x233)],'type':_0x4be9c0[_0x4bff08(0x148)],'content':_0x4be9c0[_0x4bff08(0x16f)]}),_0xef2915[_0x4bff08(0x22d)](_0x3706df,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xef2915[_0x4bff08(0x15a)](_0x4be9c0[_0x4bff08(0x179)],_0x4be9c0[_0x4bff08(0x222)])});}});}[_0x189d8a(0x23e)](_0x54a173,_0x5ac965,_0x3a5581){let _0x59ed4a='';return()=>{const _0x3cce81=_0x5dc3;if(!_0x59ed4a){const _0x4cd952=_0x5ac965[_0x3cce81(0x198)](_0x54a173,{'showSuggestionHighlights':!0x0});let _0x53ac23=_0x4cd952[_0x3cce81(0x17a)](0x0);if(_0x53ac23['is'](_0x3cce81(0x15e))||(_0x53ac23=_0x4cd952),!_0x53ac23)return'';let _0x4332db=!0x1;const _0x336918=[];for(const _0x3b31b2 of _0x53ac23[_0x3cce81(0x1a5)]())_0x3b31b2['is'](_0x3cce81(0x21d),_0x3cce81(0x153))&&_0x3b31b2[_0x3cce81(0x1a4)](_0x3cce81(0x204))&&(_0x4332db=!0x1),_0x4332db&&_0x336918[_0x3cce81(0x140)](_0x3b31b2),_0x3b31b2['is'](_0x3cce81(0x21d),_0x3cce81(0x153))&&_0x3b31b2[_0x3cce81(0x1a4)](_0x3cce81(0x175))&&(_0x4332db=!0x0);_0x53ac23[_0x3cce81(0x203)](0x0,_0x53ac23[_0x3cce81(0x166)]),_0x3a5581?.[_0x3cce81(0x1e5)]&&_0x53ac23[_0x3cce81(0x17c)]('…'),_0x53ac23[_0x3cce81(0x17c)](_0x336918),_0x3a5581?.[_0x3cce81(0x1d4)]&&_0x53ac23[_0x3cce81(0x17c)]('…');const _0x5a742c=_0x5ac965[_0x3cce81(0x1db)][_0x3cce81(0x200)][_0x3cce81(0x1be)](_0x4cd952),_0x58c37d=_0x5ac965[_0x3cce81(0x1db)][_0x3cce81(0x1d8)][_0x3cce81(0x154)](_0x5a742c);_0x59ed4a=_0x58c37d;}return _0x59ed4a;};}[_0x189d8a(0x1dc)](_0x590995,_0x28faa5){const _0x239e94=_0x189d8a;let _0x69ba30='';return()=>(_0x69ba30||(_0x69ba30=_0x28faa5[_0x239e94(0x188)](_0x590995,{'showSuggestionHighlights':!0x0})),_0x69ba30);}[_0x189d8a(0x235)](_0x51d29e,_0xec9e17,_0x4a4847){let _0x1238dd='';return()=>{const _0x185d80=_0x5dc3;if(!_0x1238dd){const _0x4178f3=_0x4a4847[_0x185d80(0x198)](new _0x2ae100(_0x51d29e)),_0x5d9e03=_0x4a4847[_0x185d80(0x1db)][_0x185d80(0x200)][_0x185d80(0x1be)](_0x4178f3)[_0x185d80(0x230)](_0x185d80(0x142)+_0xec9e17+'\x22]');_0x1238dd=_0x5d9e03?.[_0x185d80(0x1c4)]||'';}return _0x1238dd;};}[_0x189d8a(0x19b)](_0x2e5b8b,_0x245b0a=0x5){const _0x13ccec=_0x189d8a;let _0x2c3c99=_0x2e5b8b,_0x55d964=null;for(let _0x9ca0c7=0x0;_0x9ca0c7<_0x245b0a&&_0x2c3c99;_0x9ca0c7++){if(!_0x2c3c99[_0x13ccec(0x1d9)]){_0x2c3c99=_0x2c3c99[_0x13ccec(0x160)];continue;}if(!(''+_0x2c3c99[_0x13ccec(0x1d9)])[_0x13ccec(0x20d)](_0x13ccec(0x190))){_0x2c3c99=_0x2c3c99[_0x13ccec(0x160)];continue;}if(!_0x2c3c99[_0x13ccec(0x16e)](_0x13ccec(0x201)))break;_0x55d964=_0x2c3c99;break;}return _0x55d964;}[_0x189d8a(0x1a0)](_0x18f2f8){const _0x584c57=_0x189d8a,_0x111ac7=_0x2da9eb(this[_0x584c57(0x1d7)]),_0x425a20=_0x111ac7[_0x584c57(0x228)][_0x584c57(0x1ae)][_0x584c57(0x225)](_0x18f2f8);return _0x425a20?_0x4458cb(_0x111ac7[_0x584c57(0x236)],_0x425a20):null;}[_0x189d8a(0x1f9)](_0x4df328){const _0x38dc92=_0x189d8a;return Array[_0x38dc92(0x13a)](this[_0x38dc92(0x13f)][_0x38dc92(0x17b)]())[_0x38dc92(0x20c)](_0x5ec3bc=>_0x5ec3bc[_0x38dc92(0x233)]===_0x4df328);}[_0x189d8a(0x1bc)](_0x2307dc){const _0x5b1f58=_0x189d8a;return _0x5b1f58(0x1fe)===_0x2307dc[_0x5b1f58(0x148)]?_0x2307dc[_0x5b1f58(0x17d)]:_0x2307dc[_0x5b1f58(0x13e)][_0x5b1f58(0x179)];}[_0x189d8a(0x214)](_0x2a25de,_0x2c44ae=!0x1){const _0x5735a1=_0x189d8a;return _0x5735a1(0x1fe)===_0x2a25de[_0x5735a1(0x148)]?_0x2c44ae?_0x2a25de[_0x5735a1(0x17d)]:_0x2a25de[_0x5735a1(0x17d)][_0x5735a1(0x162)](_0x2a25de[_0x5735a1(0x138)]):_0x2a25de[_0x5735a1(0x13e)][_0x5735a1(0x222)];}[_0x189d8a(0x1f7)](_0x8f96b8,_0x3022c3){const _0x4d2110=_0x189d8a;return _0x4d2110(0x1fe)===_0x8f96b8[_0x4d2110(0x148)]?_0x8f96b8[_0x4d2110(0x17d)]=_0x8f96b8[_0x4d2110(0x17d)][_0x4d2110(0x162)](_0x3022c3):_0x4d2110(0x151)===_0x8f96b8[_0x4d2110(0x148)]&&_0x8f96b8[_0x4d2110(0x13e)]&&(_0x8f96b8[_0x4d2110(0x13e)]=new _0x419273(_0x8f96b8[_0x4d2110(0x13e)][_0x4d2110(0x179)][_0x4d2110(0x162)](_0x3022c3),_0x8f96b8[_0x4d2110(0x13e)][_0x4d2110(0x222)][_0x4d2110(0x162)](_0x3022c3))),_0x8f96b8;}[_0x189d8a(0x212)](_0x5bce80,_0x545813){const _0x3097c7=_0x189d8a;_0x3097c7(0x1fe)===_0x5bce80[_0x3097c7(0x148)]?_0x5bce80[_0x3097c7(0x17d)]=this[_0x3097c7(0x14d)](_0x5bce80[_0x3097c7(0x17d)],_0x545813):_0x3097c7(0x151)===_0x5bce80[_0x3097c7(0x148)]&&_0x5bce80[_0x3097c7(0x13e)]&&(_0x5bce80[_0x3097c7(0x13e)]=this[_0x3097c7(0x1f5)](_0x5bce80[_0x3097c7(0x13e)],_0x545813));}[_0x189d8a(0x14d)](_0x5d7b94,_0x550498){const _0x3c030d=_0x189d8a;return new _0x29e6c7(_0x550498,_0x5d7b94[_0x3c030d(0x17f)]);}[_0x189d8a(0x1f5)](_0x4ccb79,_0x5e16e9){const _0x4d26f7=_0x189d8a;return new _0x419273(this[_0x4d26f7(0x14d)](_0x4ccb79[_0x4d26f7(0x179)],_0x5e16e9),this[_0x4d26f7(0x14d)](_0x4ccb79[_0x4d26f7(0x222)],_0x5e16e9));}[_0x189d8a(0x1a8)](_0x3a5d34,_0x1e238c){return new _0x29e6c7(_0x1e238c,[..._0x3a5d34]);}[_0x189d8a(0x226)](_0x273af8,_0x5eba7d,_0x4d3554,_0x31743d){const _0x9d2409=_0x189d8a;return new _0x419273(this[_0x9d2409(0x1a8)](_0x5eba7d,_0x31743d),this[_0x9d2409(0x1a8)](_0x4d3554,_0x31743d));}[_0x189d8a(0x1c0)](_0x4bbe7f){const _0x34643d=_0x189d8a,_0x20e123=_0x4062ab=>{const _0x17f537=_0x5dc3;switch(_0x4062ab){case _0x17f537(0x1fe):return 0x0;case _0x17f537(0x1d6):return 0x1;case _0x17f537(0x173):return 0x2;case _0x17f537(0x163):return 0x3;}};return _0x4bbe7f[_0x34643d(0x1aa)]((_0x5950ec,_0x19ba0d)=>_0x20e123(_0x5950ec[_0x34643d(0x148)])-_0x20e123(_0x19ba0d[_0x34643d(0x148)]));}[_0x189d8a(0x16b)](_0x4d2113,_0x42b886){const _0x4aa594=_0x189d8a,_0x29e0ef=_0x4d2113[_0x4aa594(0x17a)](0x0),_0x11a460=_0x42b886[_0x4aa594(0x17a)](0x0);return!(!_0x29e0ef||!_0x11a460)&&((!_0x29e0ef['is'](_0x4aa594(0x21d))||!_0x11a460['is'](_0x4aa594(0x21d))||_0x29e0ef[_0x4aa594(0x18c)]===_0x11a460[_0x4aa594(0x18c)])&&!(_0x29e0ef['is'](_0x4aa594(0x21d))&&!_0x11a460['is'](_0x4aa594(0x21d))||!_0x29e0ef['is'](_0x4aa594(0x21d))&&_0x11a460['is'](_0x4aa594(0x21d))));}[_0x189d8a(0x197)](_0x3a8a7c){const _0xd74086=_0x189d8a;return 0x1===_0x3a8a7c[_0xd74086(0x166)];}[_0x189d8a(0x211)](_0x212069,_0x37f791){const _0x432519=_0x189d8a;for(const _0x4a62ae of _0x212069[_0x432519(0x1a5)]())if(_0x4a62ae['is'](_0x432519(0x21d))&&!_0x37f791[_0x432519(0x1e8)](_0x4a62ae))return!0x1;return!0x0;}[_0x189d8a(0x185)](_0x7d037a,_0x32cffd){const _0x1a9aa7=_0x189d8a;let _0xa4ec9b=_0x7d037a[_0x1a9aa7(0x16e)](_0x1adfa1);return _0xa4ec9b||(_0xa4ec9b=_0x32cffd(),_0x7d037a[_0x1a9aa7(0x15b)](_0x1adfa1,_0xa4ec9b)),_0xa4ec9b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x442b80=_0x40b8;(function(_0x4e4464,_0x3967c3){const _0x211f50=_0x40b8,_0x318441=_0x4e4464();while(!![]){try{const _0xb4d157=-parseInt(_0x211f50(0x203))/0x1*(parseInt(_0x211f50(0x1da))/0x2)+parseInt(_0x211f50(0x20e))/0x3*(-parseInt(_0x211f50(0x1d0))/0x4)+-parseInt(_0x211f50(0x1e7))/0x5+parseInt(_0x211f50(0x1d1))/0x6*(parseInt(_0x211f50(0x1d9))/0x7)+parseInt(_0x211f50(0x1d5))/0x8*(-parseInt(_0x211f50(0x1f5))/0x9)+-parseInt(_0x211f50(0x1d7))/0xa+parseInt(_0x211f50(0x204))/0xb;if(_0xb4d157===_0x3967c3)break;else _0x318441['push'](_0x318441['shift']());}catch(_0x5d947e){_0x318441['push'](_0x318441['shift']());}}}(_0x2f95,0x9961f));import{ContextPlugin as _0x4e148c}from'ckeditor5/src/core.js';import{BodyCollection as _0x224263}from'ckeditor5/src/ui.js';import{getTranslation as _0x287374}from'../aicore/utils/common-translations.js';import{AITabs as _0x1cbbd6}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x329349}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x442b80(0x20d),_0x442b80(0x1f6),_0x442b80(0x21f),_0x442b80(0x222),_0x442b80(0x1db),_0x442b80(0x208),_0x442b80(0x21d),_0x442b80(0x1d4),_0x442b80(0x223),_0x442b80(0x1ce),_0x442b80(0x215),_0x442b80(0x221),_0x442b80(0x1ec)];import'../../theme/common/aiheader.css';import'../../theme/common/ainotification.css';import'../../theme/common/aibutton.css';import'../../theme/common/aitrackchanges.css';function _0x2f95(){const _0x42b277=['error-chunk','registerTab','setItemAsActive','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','hideDiffInBalloon','4603755WCXvbl','_bodyCollection','hasChecks','getResults','showNoChangesView','retryReview','error-general','addCheckRunResult','showGeneralResultsErrorView','init','setAvailableChecks','element','reviewCheckResultsView','hideBalloon','1717137DyeWXv','runReviewCheck','setItemAsInactive','showActionsWhenResultIsReady','setTitle','rejected','find','forEach','showReviewCheckResultsView','hideActionsWhenResultIsReady','AITabs','config','setChecks','outdated','40674awASnK','49636015qSqkYm','showResult','hideResult','showBalloon','leaveReviewCoreResultList','detachFromDom','createMainView','hideChangeBalloon','showDiffInBalloon','getReviewCheckList','766497opWLfc','showCheckRunResults','requires','updateChangeState','accepted','showChunkErrorView','resetActiveStateInResults','learnMore','attachToDom','setActiveStateInResults','showReviewCheckListView','ai.models.showModelSelector','showChangeBalloon','showCheckRunResult','showReviewCheckList','activateChange','isPremiumPlugin','abortReviewStream','fire','finishReview','toggleDiff','acceptChange','showGeneralReviewCoreErrorView','get','context','getChangeElement','dismissChange','plugins','4WAQbeP','18koNQhs','locale','_mainView','deactivateChange','40DPIKss','showReviewCompletedView','11462060dHxrCj','destroy','1239427hvTfck','56ehUeUn','acceptAllChanges','reviewCheckListView','setCheckResultTitle','isOfficialPlugin','_balloonSuggestionView','delegate','status'];_0x2f95=function(){return _0x42b277;};return _0x2f95();}function _0x40b8(_0x175ae4,_0x22827a){const _0x2f95bd=_0x2f95();return _0x40b8=function(_0x40b81a,_0x132bbc){_0x40b81a=_0x40b81a-0x1ca;let _0x500166=_0x2f95bd[_0x40b81a];return _0x500166;},_0x40b8(_0x175ae4,_0x22827a);}import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x4e148c{[_0x442b80(0x1d3)];[_0x442b80(0x1df)];[_0x442b80(0x1e8)];static get[_0x442b80(0x210)](){return[_0x1cbbd6];}static get[_0x442b80(0x1de)](){return!0x0;}static get[_0x442b80(0x21e)](){return!0x0;}constructor(_0x44e079){const _0x530590=_0x442b80;super(_0x44e079),this[_0x530590(0x1e8)]=new _0x224263(this[_0x530590(0x1cc)][_0x530590(0x1d2)]),this[_0x530590(0x1e8)][_0x530590(0x216)](),this[_0x530590(0x1d3)]=this[_0x530590(0x20a)](),this[_0x530590(0x1d3)][_0x530590(0x1e0)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x530590(0x1df)]=new _0x329349(this[_0x530590(0x1cc)][_0x530590(0x1d2)],this[_0x530590(0x1e8)]),this[_0x530590(0x1df)][_0x530590(0x1e0)](_0x530590(0x223),_0x530590(0x1ce),_0x530590(0x1d4))['to'](this);}[_0x442b80(0x1f0)](){const _0x550e74=_0x442b80,_0xd5b043=this[_0x550e74(0x1cc)][_0x550e74(0x1cf)][_0x550e74(0x1cb)](_0x550e74(0x1ff));this[_0x550e74(0x1e3)](_0xd5b043);}[_0x442b80(0x1d8)](){const _0x4c3945=_0x442b80;this[_0x4c3945(0x1e8)][_0x4c3945(0x209)](),super[_0x4c3945(0x1d8)]();}[_0x442b80(0x1f1)](_0x161571){const _0x2eabae=_0x442b80;if(!this[_0x2eabae(0x1d3)][_0x2eabae(0x1dc)][_0x2eabae(0x1e9)]()){const _0x48f5b8=!this[_0x2eabae(0x1cc)][_0x2eabae(0x200)][_0x2eabae(0x1cb)](_0x2eabae(0x219));this[_0x2eabae(0x1d3)][_0x2eabae(0x1dc)][_0x2eabae(0x201)](_0x161571,_0x48f5b8);}this[_0x2eabae(0x1d3)][_0x2eabae(0x218)]();}[_0x442b80(0x21c)](){const _0x24b792=_0x442b80;this[_0x24b792(0x220)](_0x24b792(0x20d));}[_0x442b80(0x20f)](_0xee11e){const _0x4327ee=_0x442b80;_0xee11e&&(_0x4327ee(0x1ed)!==_0xee11e[_0x4327ee(0x1e1)]?_0x4327ee(0x1e2)!==_0xee11e[_0x4327ee(0x1e1)]?this[_0x4327ee(0x1d3)][_0x4327ee(0x1fd)]():this[_0x4327ee(0x213)]():this[_0x4327ee(0x1ef)]());}[_0x442b80(0x21b)](_0x744c24){const _0x4b5a33=_0x442b80;this[_0x4b5a33(0x1d3)][_0x4b5a33(0x1ee)](_0x744c24);}[_0x442b80(0x1ef)](){const _0x295da2=_0x442b80;this[_0x295da2(0x1d3)][_0x295da2(0x1ef)]();}[_0x442b80(0x1ca)](_0xf1b95a){const _0x26238e=_0x442b80;this[_0x26238e(0x1d3)][_0x26238e(0x1ca)](_0xf1b95a??_0x287374(this[_0x26238e(0x1cc)][_0x26238e(0x1d2)],_0x26238e(0x1e5)));}[_0x442b80(0x213)](){const _0x539234=_0x442b80;this[_0x539234(0x1d3)][_0x539234(0x213)]();}[_0x442b80(0x1dd)](_0x5a1194,_0x2d73b5){const _0x128430=_0x442b80;this[_0x128430(0x1d3)][_0x128430(0x1f3)][_0x128430(0x1f9)](_0x5a1194,_0x2d73b5);}[_0x442b80(0x217)](_0x2079d4){const _0x4953c4=_0x442b80;this[_0x4953c4(0x1d3)][_0x4953c4(0x1f3)][_0x4953c4(0x1ea)]()[_0x4953c4(0x1fc)](_0x5c28d4=>{const _0x3f8c6b=_0x4953c4;_0x5c28d4['id']===_0x2079d4&&_0x5c28d4[_0x3f8c6b(0x1e4)]();});}[_0x442b80(0x214)](){const _0xb3ecc5=_0x442b80;this[_0xb3ecc5(0x1d3)][_0xb3ecc5(0x1f3)][_0xb3ecc5(0x1ea)]()[_0xb3ecc5(0x1fc)](_0x5c9dc3=>_0x5c9dc3[_0xb3ecc5(0x1f7)]());}[_0x442b80(0x211)](_0xa8170d,_0xc226b8){const _0x2ad7d0=_0x442b80;_0x2ad7d0(0x212)===_0xc226b8||_0x2ad7d0(0x1fa)===_0xc226b8||_0x2ad7d0(0x202)===_0xc226b8?this[_0x2ad7d0(0x1d3)][_0x2ad7d0(0x1f3)][_0x2ad7d0(0x206)](_0xa8170d,_0xc226b8):this[_0x2ad7d0(0x1d3)][_0x2ad7d0(0x1f3)][_0x2ad7d0(0x205)](_0xa8170d,_0xc226b8);}[_0x442b80(0x1d6)](){const _0xd4cf3c=_0x442b80;this[_0xd4cf3c(0x1d3)][_0xd4cf3c(0x1d6)]();}[_0x442b80(0x1f8)](){const _0x516b76=_0x442b80;this[_0x516b76(0x1d3)][_0x516b76(0x1f8)]();}[_0x442b80(0x1eb)](){const _0x13a196=_0x442b80;this[_0x13a196(0x1d3)][_0x13a196(0x1eb)]();}[_0x442b80(0x1fe)](){const _0x1a6555=_0x442b80;this[_0x1a6555(0x1d3)][_0x1a6555(0x1fe)]();}[_0x442b80(0x21a)](_0x876e79,_0x535d02,_0x1508c2,_0x939450,_0x3a84b2,_0x49859e){const _0x3b1fa7=_0x442b80;this[_0x3b1fa7(0x1df)][_0x3b1fa7(0x207)](_0x876e79,_0x535d02,_0x1508c2,_0x939450,_0x3a84b2,_0x49859e);}[_0x442b80(0x20b)](){const _0x42292a=_0x442b80;this[_0x42292a(0x1df)][_0x42292a(0x1f4)]();}[_0x442b80(0x1e6)](){const _0x1c7f38=_0x442b80;this[_0x1c7f38(0x1df)][_0x1c7f38(0x1e6)]();}[_0x442b80(0x20c)](){const _0x289ad2=_0x442b80;this[_0x289ad2(0x1df)][_0x289ad2(0x20c)]();}[_0x442b80(0x1cd)](_0x1990a4){const _0x1ba0de=_0x442b80,_0x253c54=this[_0x1ba0de(0x1d3)][_0x1ba0de(0x1f3)][_0x1ba0de(0x1ea)]()[_0x1ba0de(0x1fb)](_0x3bdbbd=>_0x3bdbbd['id']===_0x1990a4);return _0x253c54?_0x253c54[_0x1ba0de(0x1f2)]:null;}[_0x442b80(0x1d4)](){const _0x3ab36b=_0x442b80;this[_0x3ab36b(0x1df)][_0x3ab36b(0x1d4)]();}}
23
+ const _0x2d05d4=_0x4964;(function(_0x15c0b1,_0x46ffd7){const _0x222a9c=_0x4964,_0x40e2f6=_0x15c0b1();while(!![]){try{const _0xa4622d=-parseInt(_0x222a9c(0x20d))/0x1*(-parseInt(_0x222a9c(0x1ec))/0x2)+-parseInt(_0x222a9c(0x212))/0x3+parseInt(_0x222a9c(0x20a))/0x4*(-parseInt(_0x222a9c(0x208))/0x5)+-parseInt(_0x222a9c(0x1dc))/0x6+parseInt(_0x222a9c(0x21f))/0x7+parseInt(_0x222a9c(0x1e1))/0x8+-parseInt(_0x222a9c(0x1ef))/0x9*(-parseInt(_0x222a9c(0x216))/0xa);if(_0xa4622d===_0x46ffd7)break;else _0x40e2f6['push'](_0x40e2f6['shift']());}catch(_0xa16447){_0x40e2f6['push'](_0x40e2f6['shift']());}}}(_0x508a,0x430b6));import{ContextPlugin as _0x2a60d8}from'ckeditor5/src/core.js';import{BodyCollection as _0x40d5a4}from'ckeditor5/src/ui.js';import{getTranslation as _0x568cc8}from'../aicore/utils/common-translations.js';import{AITabs as _0x38bf3a}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x20fe51}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x2d05d4(0x1da),_0x2d05d4(0x1f9),_0x2d05d4(0x1d4),_0x2d05d4(0x214),_0x2d05d4(0x1d3),_0x2d05d4(0x1f8),_0x2d05d4(0x201),_0x2d05d4(0x1fb),_0x2d05d4(0x1f7),_0x2d05d4(0x1f2),_0x2d05d4(0x1d6),_0x2d05d4(0x204),_0x2d05d4(0x209)];import'../../theme/common/aiheader.css';function _0x4964(_0x1090eb,_0x4a0f88){const _0x508a0f=_0x508a();return _0x4964=function(_0x496451,_0x36527b){_0x496451=_0x496451-0x1c7;let _0x19a589=_0x508a0f[_0x496451];return _0x19a589;},_0x4964(_0x1090eb,_0x4a0f88);}function _0x508a(){const _0x3fe18d=['resetActiveStateInResults','acceptAllChanges','abortReviewStream','init','learnMore','locale','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','detachFromDom','getReviewCheckList','showResult','3281310sQfrav','error-chunk','showDiffInBalloon','hideActionsWhenResultIsReady','registerTab','2974104gockSn','isPremiumPlugin','showCheckRunResult','element','showBalloon','showActionsWhenResultIsReady','AITabs','getResults','requires','get','showReviewCheckListView','102zCXeQo','showCheckRunResults','reviewCheckListView','27621xVdgAG','delegate','forEach','dismissChange','createMainView','showGeneralResultsErrorView','updateChangeState','addCheckRunResult','acceptChange','leaveReviewCoreResultList','runReviewCheck','fire','deactivateChange','isOfficialPlugin','getChangeElement','outdated','setItemAsActive','showReviewCheckResultsView','activateChange','attachToDom','setChecks','finishReview','hideChangeBalloon','hideResult','destroy','25IyqJov','retryReview','263404boEWSw','rejected','setCheckResultTitle','9911TsfrHH','error-general','showGeneralReviewCoreErrorView','showReviewCheckList','showNoChangesView','1302531PXLBvu','setTitle','toggleDiff','accepted','690okxtsG','_balloonSuggestionView','setActiveStateInResults','hideDiffInBalloon','showChangeBalloon','setItemAsInactive','reviewCheckResultsView','_mainView','config','3471622OsFYeV','showChunkErrorView','hideBalloon','status','plugins','showReviewCompletedView','context','_bodyCollection','setAvailableChecks','hasChecks','find','ai.models.showModelSelector'];_0x508a=function(){return _0x3fe18d;};return _0x508a();}import'../../theme/common/ainotification.css';import'../../theme/common/aibutton.css';import'../../theme/common/aitrackchanges.css';import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x2a60d8{[_0x2d05d4(0x21d)];[_0x2d05d4(0x217)];[_0x2d05d4(0x1cd)];static get[_0x2d05d4(0x1e9)](){return[_0x38bf3a];}static get[_0x2d05d4(0x1fc)](){return!0x0;}static get[_0x2d05d4(0x1e2)](){return!0x0;}constructor(_0x34a44d){const _0x39192f=_0x2d05d4;super(_0x34a44d),this[_0x39192f(0x1cd)]=new _0x40d5a4(this[_0x39192f(0x1cc)][_0x39192f(0x1d7)]),this[_0x39192f(0x1cd)][_0x39192f(0x202)](),this[_0x39192f(0x21d)]=this[_0x39192f(0x1f3)](),this[_0x39192f(0x21d)][_0x39192f(0x1f0)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x39192f(0x217)]=new _0x20fe51(this[_0x39192f(0x1cc)][_0x39192f(0x1d7)],this[_0x39192f(0x1cd)]),this[_0x39192f(0x217)][_0x39192f(0x1f0)](_0x39192f(0x1f7),_0x39192f(0x1f2),_0x39192f(0x1fb))['to'](this);}[_0x2d05d4(0x1d5)](){const _0x12e647=_0x2d05d4,_0x52fb30=this[_0x12e647(0x1cc)][_0x12e647(0x1ca)][_0x12e647(0x1ea)](_0x12e647(0x1e7));this[_0x12e647(0x1e0)](_0x52fb30);}[_0x2d05d4(0x207)](){const _0x33b5bb=_0x2d05d4;this[_0x33b5bb(0x1cd)][_0x33b5bb(0x1d9)](),super[_0x33b5bb(0x207)]();}[_0x2d05d4(0x1ce)](_0x151979){const _0x8629a8=_0x2d05d4;if(!this[_0x8629a8(0x21d)][_0x8629a8(0x1ee)][_0x8629a8(0x1cf)]()){const _0x398fea=!this[_0x8629a8(0x1cc)][_0x8629a8(0x21e)][_0x8629a8(0x1ea)](_0x8629a8(0x1d1));this[_0x8629a8(0x21d)][_0x8629a8(0x1ee)][_0x8629a8(0x203)](_0x151979,_0x398fea);}this[_0x8629a8(0x21d)][_0x8629a8(0x1eb)]();}[_0x2d05d4(0x210)](){const _0x5957fe=_0x2d05d4;this[_0x5957fe(0x1fa)](_0x5957fe(0x1da));}[_0x2d05d4(0x1ed)](_0x5daf9e){const _0x18c5d8=_0x2d05d4;_0x5daf9e&&(_0x18c5d8(0x20e)!==_0x5daf9e[_0x18c5d8(0x1c9)]?_0x18c5d8(0x1dd)!==_0x5daf9e[_0x18c5d8(0x1c9)]?this[_0x18c5d8(0x21d)][_0x18c5d8(0x200)]():this[_0x18c5d8(0x1c7)]():this[_0x18c5d8(0x1f4)]());}[_0x2d05d4(0x1e3)](_0xcf7d2d){const _0x2d6560=_0x2d05d4;this[_0x2d6560(0x21d)][_0x2d6560(0x1f6)](_0xcf7d2d);}[_0x2d05d4(0x1f4)](){const _0xf6c636=_0x2d05d4;this[_0xf6c636(0x21d)][_0xf6c636(0x1f4)]();}[_0x2d05d4(0x20f)](_0x416a18){const _0x1baa1b=_0x2d05d4;this[_0x1baa1b(0x21d)][_0x1baa1b(0x20f)](_0x416a18??_0x568cc8(this[_0x1baa1b(0x1cc)][_0x1baa1b(0x1d7)],_0x1baa1b(0x1d8)));}[_0x2d05d4(0x1c7)](){const _0x37103e=_0x2d05d4;this[_0x37103e(0x21d)][_0x37103e(0x1c7)]();}[_0x2d05d4(0x20c)](_0x593d3c,_0x596784){const _0x2c0eee=_0x2d05d4;this[_0x2c0eee(0x21d)][_0x2c0eee(0x21c)][_0x2c0eee(0x213)](_0x593d3c,_0x596784);}[_0x2d05d4(0x218)](_0x5c634d){const _0x636283=_0x2d05d4;this[_0x636283(0x21d)][_0x636283(0x21c)][_0x636283(0x1e8)]()[_0x636283(0x1f1)](_0x1d9a6a=>{const _0x555fe7=_0x636283;_0x1d9a6a['id']===_0x5c634d&&_0x1d9a6a[_0x555fe7(0x1ff)]();});}[_0x2d05d4(0x1d2)](){const _0x2cc14d=_0x2d05d4;this[_0x2cc14d(0x21d)][_0x2cc14d(0x21c)][_0x2cc14d(0x1e8)]()[_0x2cc14d(0x1f1)](_0x5ab717=>_0x5ab717[_0x2cc14d(0x21b)]());}[_0x2d05d4(0x1f5)](_0x4bc28b,_0x1c8dc2){const _0x135cd4=_0x2d05d4;_0x135cd4(0x215)===_0x1c8dc2||_0x135cd4(0x20b)===_0x1c8dc2||_0x135cd4(0x1fe)===_0x1c8dc2?this[_0x135cd4(0x21d)][_0x135cd4(0x21c)][_0x135cd4(0x206)](_0x4bc28b,_0x1c8dc2):this[_0x135cd4(0x21d)][_0x135cd4(0x21c)][_0x135cd4(0x1db)](_0x4bc28b,_0x1c8dc2);}[_0x2d05d4(0x1cb)](){const _0x538627=_0x2d05d4;this[_0x538627(0x21d)][_0x538627(0x1cb)]();}[_0x2d05d4(0x1e6)](){const _0x18dfb3=_0x2d05d4;this[_0x18dfb3(0x21d)][_0x18dfb3(0x1e6)]();}[_0x2d05d4(0x211)](){const _0x102d6d=_0x2d05d4;this[_0x102d6d(0x21d)][_0x102d6d(0x211)]();}[_0x2d05d4(0x1df)](){const _0x1ab82f=_0x2d05d4;this[_0x1ab82f(0x21d)][_0x1ab82f(0x1df)]();}[_0x2d05d4(0x21a)](_0x26d71e,_0x4a311f,_0xca7fe6,_0x2fff89,_0x325da8,_0xa2266c){const _0x30d755=_0x2d05d4;this[_0x30d755(0x217)][_0x30d755(0x1e5)](_0x26d71e,_0x4a311f,_0xca7fe6,_0x2fff89,_0x325da8,_0xa2266c);}[_0x2d05d4(0x205)](){const _0x35f638=_0x2d05d4;this[_0x35f638(0x217)][_0x35f638(0x1c8)]();}[_0x2d05d4(0x219)](){const _0x3dc4f2=_0x2d05d4;this[_0x3dc4f2(0x217)][_0x3dc4f2(0x219)]();}[_0x2d05d4(0x1de)](){const _0x56cbce=_0x2d05d4;this[_0x56cbce(0x217)][_0x56cbce(0x1de)]();}[_0x2d05d4(0x1fd)](_0x3ca25b){const _0xe38370=_0x2d05d4,_0x5ce10b=this[_0xe38370(0x21d)][_0xe38370(0x21c)][_0xe38370(0x1e8)]()[_0xe38370(0x1d0)](_0x591305=>_0x591305['id']===_0x3ca25b);return _0x5ce10b?_0x5ce10b[_0xe38370(0x1e4)]:null;}[_0x2d05d4(0x1fb)](){const _0x14c49b=_0x2d05d4;this[_0x14c49b(0x217)][_0x14c49b(0x1fb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x71b847=_0xd8cc;(function(_0x2ecccb,_0x858dca){var _0x38245a=_0xd8cc,_0x475698=_0x2ecccb();while(!![]){try{var _0x4aaf3d=-parseInt(_0x38245a(0x77))/0x1+parseInt(_0x38245a(0x79))/0x2*(parseInt(_0x38245a(0x70))/0x3)+parseInt(_0x38245a(0x7b))/0x4*(-parseInt(_0x38245a(0x7c))/0x5)+-parseInt(_0x38245a(0x7e))/0x6*(-parseInt(_0x38245a(0x6f))/0x7)+parseInt(_0x38245a(0x80))/0x8+parseInt(_0x38245a(0x78))/0x9+parseInt(_0x38245a(0x7a))/0xa*(-parseInt(_0x38245a(0x72))/0xb);if(_0x4aaf3d===_0x858dca)break;else _0x475698['push'](_0x475698['shift']());}catch(_0x536765){_0x475698['push'](_0x475698['shift']());}}}(_0x5773,0xe2feb));function _0x5773(){var _0x449edd=['_checks','checks','799108aEgiin','11733732mUMaxW','282tsKORs','8500540hoHYwq','44WBJhFv','22790OYDiBW','find','12mbmKXj','filter','6392640OiHscX','getCheckById','5813787TzCqDo','12027VDbduD','map','33aACvWM','removeCheckById','setupChecks'];_0x5773=function(){return _0x449edd;};return _0x5773();}import{ObservableMixin as _0x52784a}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x6aca94}from'./aireviewcheck.js';function _0xd8cc(_0x3f4ec0,_0x39de24){var _0x57738e=_0x5773();return _0xd8cc=function(_0xd8cc1a,_0xfe3978){_0xd8cc1a=_0xd8cc1a-0x6e;var _0x224d44=_0x57738e[_0xd8cc1a];return _0x224d44;},_0xd8cc(_0x3f4ec0,_0x39de24);}export class AIReviewCheckList extends _0x52784a(){[_0x71b847(0x75)]=[];[_0x71b847(0x74)](_0x42b902){var _0x567369=_0x71b847;this[_0x567369(0x75)]=_0x42b902[_0x567369(0x71)](_0x4f9b91=>new _0x6aca94(_0x4f9b91));}get[_0x71b847(0x76)](){var _0x3b6c29=_0x71b847;return this[_0x3b6c29(0x75)];}[_0x71b847(0x6e)](_0x28225d){var _0xe2de8c=_0x71b847;return this[_0xe2de8c(0x76)][_0xe2de8c(0x7d)](_0x1459ea=>_0x1459ea['id']===_0x28225d);}[_0x71b847(0x73)](_0x25bd87){var _0x5c3248=_0x71b847;this[_0x5c3248(0x75)]=this[_0x5c3248(0x75)][_0x5c3248(0x7f)](_0x3fc9b5=>_0x3fc9b5['id']!==_0x25bd87);}}
23
+ var _0x4f979a=_0x3079;(function(_0x1cf1d1,_0x6f2e7){var _0x3afe72=_0x3079,_0xfc7224=_0x1cf1d1();while(!![]){try{var _0xb207f1=-parseInt(_0x3afe72(0x132))/0x1+-parseInt(_0x3afe72(0x13b))/0x2*(parseInt(_0x3afe72(0x12f))/0x3)+parseInt(_0x3afe72(0x12c))/0x4+parseInt(_0x3afe72(0x131))/0x5*(-parseInt(_0x3afe72(0x133))/0x6)+-parseInt(_0x3afe72(0x13a))/0x7+-parseInt(_0x3afe72(0x134))/0x8+parseInt(_0x3afe72(0x139))/0x9*(parseInt(_0x3afe72(0x135))/0xa);if(_0xb207f1===_0x6f2e7)break;else _0xfc7224['push'](_0xfc7224['shift']());}catch(_0x26d79f){_0xfc7224['push'](_0xfc7224['shift']());}}}(_0x2727,0x417de));import{ObservableMixin as _0x3f4ee2}from'ckeditor5/src/utils.js';function _0x3079(_0x4f53ba,_0x1b69bd){var _0x27277e=_0x2727();return _0x3079=function(_0x30795b,_0x1a57a9){_0x30795b=_0x30795b-0x12a;var _0xf11f64=_0x27277e[_0x30795b];return _0xf11f64;},_0x3079(_0x4f53ba,_0x1b69bd);}import{AIReviewCheck as _0x410f75}from'./aireviewcheck.js';export class AIReviewCheckList extends _0x3f4ee2(){[_0x4f979a(0x12e)]=[];[_0x4f979a(0x137)](_0x3c270e){var _0x59ba13=_0x4f979a;this[_0x59ba13(0x12e)]=_0x3c270e[_0x59ba13(0x138)](_0x5992b9=>new _0x410f75(_0x5992b9));}get[_0x4f979a(0x12d)](){var _0x17ca87=_0x4f979a;return this[_0x17ca87(0x12e)];}[_0x4f979a(0x12b)](_0x338280){var _0x3518f0=_0x4f979a;return this[_0x3518f0(0x12d)][_0x3518f0(0x136)](_0x29dc44=>_0x29dc44['id']===_0x338280);}[_0x4f979a(0x12a)](_0x2cd940){var _0x59b2a4=_0x4f979a;this[_0x59b2a4(0x12e)]=this[_0x59b2a4(0x12e)][_0x59b2a4(0x130)](_0x42b2ce=>_0x42b2ce['id']!==_0x2cd940);}}function _0x2727(){var _0x9dc2b7=['180099OKSoaw','1151479esFsqn','14662RdcBFi','removeCheckById','getCheckById','1342864gVmMRy','checks','_checks','111tYRYCC','filter','20PgWhKY','255021lUepqQ','451362KhgASi','1571240qgjDUS','560unpjBU','find','setupChecks','map'];_0x2727=function(){return _0x9dc2b7;};return _0x2727();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22d6ed=_0x3b4e;function _0x3b4e(_0x44c65e,_0x19023d){const _0xd9ca3e=_0xd9ca();return _0x3b4e=function(_0x3b4ece,_0x1ed3c8){_0x3b4ece=_0x3b4ece-0x97;let _0x2a1e1a=_0xd9ca3e[_0x3b4ece];return _0x2a1e1a;},_0x3b4e(_0x44c65e,_0x19023d);}(function(_0x4d7112,_0x55552e){const _0x43f26f=_0x3b4e,_0x3a7eb7=_0x4d7112();while(!![]){try{const _0x5db979=-parseInt(_0x43f26f(0xcc))/0x1*(-parseInt(_0x43f26f(0xc6))/0x2)+parseInt(_0x43f26f(0x9d))/0x3*(parseInt(_0x43f26f(0xda))/0x4)+-parseInt(_0x43f26f(0xa3))/0x5*(parseInt(_0x43f26f(0xfc))/0x6)+parseInt(_0x43f26f(0xdd))/0x7*(-parseInt(_0x43f26f(0xd7))/0x8)+-parseInt(_0x43f26f(0xbd))/0x9+parseInt(_0x43f26f(0xc2))/0xa+-parseInt(_0x43f26f(0xb9))/0xb*(-parseInt(_0x43f26f(0xae))/0xc);if(_0x5db979===_0x55552e)break;else _0x3a7eb7['push'](_0x3a7eb7['shift']());}catch(_0x989a9e){_0x3a7eb7['push'](_0x3a7eb7['shift']());}}}(_0xd9ca,0x93486));function _0xd9ca(){const _0x54c0ed=['markAllChangesAsAccepted','includes','7HAPLGE','getActiveChanges','reviewCheckResultReady','pending','forceReadyState','unmodified','find','_addReviewCheckResult','data','set','updateDocumentData','markChangeAsRejected','error-general','start','operation','reviewCheckResultAdded','sendRating','reviewCheckResultChangeStatusUpdated','forEach','reviewCheckResultActivated','length','getChangeById','abort','_sourceCheck','markChangeAsAccepted','textDelta','reviewName','dataId','isActivated','some','version','258CpFIAD','currentError','every','aborted','addResultChanges','get','finished','size','643146mKQSdj','markChangeAsPending','filter','_documentData','_sendRatingRequest','error-chunk','75275AgbZkM','restart','accepted','isAnyChangeActivated','processedResultsCount','parent','_checkIfFinished','getStream','isRated','loading','activateChange','2630448kzALRP','reviewCheckRunUpdated','getContent','review-metadata','_reviewParams','push','status','_currentError','_results','reviewCheckResultDeactivated','change:isActivated','11NCrJRY','fire','_reviewArgs','initialized','5753016fJLtXn','error','outdated','elements','abortController','3184480TpqYNl','_changes','callId','_createApiRequest','1856852UBGoPx','title','_wasAborted','isChangeActive','documentData','_aiConnector','1BegBCF','ready','rejected','deactivateChange','ai-request-aborted','markChangeAsOutdated','hasModifications','clear','change:status','event','subTitle','5185032vhCCPP','message','_activeRequest','20qsyDMW'];_0xd9ca=function(){return _0x54c0ed;};return _0xd9ca();}import{ObservableMixin as _0x3f64ec,uid as _0x42c416}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x3f541d}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0xed8f80}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x3f64ec(){['id']=_0x42c416();[_0x22d6ed(0xc4)];[_0x22d6ed(0xb6)]=new Map();[_0x22d6ed(0xc3)]=[];[_0x22d6ed(0xf4)];[_0x22d6ed(0xa0)];[_0x22d6ed(0xcb)];[_0x22d6ed(0xb2)];[_0x22d6ed(0xbb)];[_0x22d6ed(0xd9)]=null;[_0x22d6ed(0xb5)];[_0x22d6ed(0xc8)]=!0x1;constructor(_0x129c0e,_0x572096,_0x1777cb,_0x4ce3b8,_0x580dce){const _0x327f4c=_0x22d6ed;super(),this[_0x327f4c(0xf4)]=_0x572096,this[_0x327f4c(0xa0)]=_0x129c0e,this[_0x327f4c(0xcb)]=_0x1777cb,this[_0x327f4c(0xb2)]=_0x4ce3b8,this[_0x327f4c(0xbb)]=_0x580dce,this['on'](_0x327f4c(0xd4),(_0x39d70e,_0x5f52b3,_0x5cc6b4)=>{const _0x25035d=_0x327f4c;_0x25035d(0x98)==_0x5cc6b4&&(this[_0x25035d(0xc8)]=!0x0),this[_0x25035d(0xba)](_0x25035d(0xaf),{'status':_0x5cc6b4,'run':this,'error':this[_0x25035d(0xb5)]});}),this[_0x327f4c(0xe6)](_0x327f4c(0xb4),_0x327f4c(0xbc));}get[_0x22d6ed(0xca)](){const _0x1b0ce9=_0x22d6ed;return this[_0x1b0ce9(0xa0)];}get[_0x22d6ed(0xa7)](){const _0x57e434=_0x22d6ed;return this[_0x57e434(0xb6)][_0x57e434(0x9c)];}get[_0x22d6ed(0xc7)](){const _0x3a836f=_0x22d6ed;return this[_0x3a836f(0xf4)][_0x3a836f(0xc7)];}get[_0x22d6ed(0xd6)](){return'';}get[_0x22d6ed(0xf7)](){const _0x394124=_0x22d6ed;return this[_0x394124(0xf4)]['id'];}get[_0x22d6ed(0xd2)](){const _0x55413c=_0x22d6ed;return!this[_0x55413c(0xc3)][_0x55413c(0x97)](_0x8b24e5=>_0x55413c(0xe0)===_0x8b24e5[_0x55413c(0xb4)]);}get[_0x22d6ed(0xfd)](){const _0x311205=_0x22d6ed;return this[_0x311205(0xb5)];}[_0x22d6ed(0xe7)](_0x48b542){const _0x4e076d=_0x22d6ed;this[_0x4e076d(0xa0)]=_0x48b542;}async[_0x22d6ed(0xea)](){const _0x359110=_0x22d6ed;this[_0x359110(0xb4)]=_0x359110(0xac),this[_0x359110(0xb5)]=void 0x0;try{this[_0x359110(0xd9)]=this[_0x359110(0xc5)]();const _0x2473da=await this[_0x359110(0xd9)][_0x359110(0xaa)]();this[_0x359110(0xb4)]=_0x359110(0xe5);for await(const _0x1af0b2 of _0x2473da)_0x359110(0xe2)!==_0x1af0b2[_0x359110(0xe5)][_0x359110(0xeb)]&&(_0x359110(0xbe)!==_0x1af0b2[_0x359110(0xe5)][_0x359110(0xeb)]?_0x359110(0xb1)!==_0x1af0b2[_0x359110(0xd5)]?this[_0x359110(0xe4)](_0x1af0b2[_0x359110(0xe5)][_0x359110(0xf8)],_0x1af0b2[_0x359110(0xe5)][_0x359110(0xf6)]):this[_0x359110(0xc4)]=_0x1af0b2[_0x359110(0xe5)][_0x359110(0xc4)]:this[_0x359110(0xb4)]=_0x359110(0xa2));_0x359110(0xa2)!==this[_0x359110(0xb4)]&&(0x0===this[_0x359110(0xb6)][_0x359110(0x9c)]||0x0===this[_0x359110(0xc3)][_0x359110(0xf1)]?this[_0x359110(0xb4)]=_0x359110(0xe2):this[_0x359110(0xb4)]=_0x359110(0xcd));}catch(_0x2b2412){this[_0x359110(0xb5)]=_0x2b2412,_0x2b2412 instanceof Error&&_0x2b2412[_0x359110(0xd8)][_0x359110(0xdc)](_0x359110(0xd0))?this[_0x359110(0xb4)]=_0x359110(0x98):this[_0x359110(0xb4)]=_0x359110(0xe9);}finally{this[_0x359110(0xd9)]=null;}}async[_0x22d6ed(0xa4)](){const _0x3cd4f5=_0x22d6ed;this[_0x3cd4f5(0xb6)][_0x3cd4f5(0xd3)](),this[_0x3cd4f5(0xc3)][_0x3cd4f5(0xf1)]=0x0,this[_0x3cd4f5(0xb5)]=void 0x0,await this[_0x3cd4f5(0xea)]();}[_0x22d6ed(0x99)](_0xdda589,_0x1df3c7){const _0x57ca33=_0x22d6ed,_0x5c180c=this[_0x57ca33(0xb6)][_0x57ca33(0x9a)](_0xdda589);if(!_0x5c180c)return;if(0x0===_0x1df3c7[_0x57ca33(0xf1)])return;const _0x5e5618=[];_0x1df3c7[_0x57ca33(0xef)]((_0x31b0d3,_0x156472)=>{const _0xcedb7f=_0x57ca33,_0x4fc72e=new _0xed8f80(_0x5c180c['id']+'-'+_0x156472,_0x31b0d3,_0x5c180c);_0x4fc72e['on'](_0xcedb7f(0xd4),()=>{const _0x49e708=_0xcedb7f;this[_0x49e708(0xba)](_0x49e708(0xee),{'change':_0x4fc72e,'status':_0x4fc72e[_0x49e708(0xb4)]});}),_0x4fc72e['on'](_0xcedb7f(0xb8),()=>{const _0x12c335=_0xcedb7f;_0x4fc72e[_0x12c335(0xf9)]?this[_0x12c335(0xba)](_0x12c335(0xf0),{'change':_0x4fc72e}):this[_0x12c335(0xba)](_0x12c335(0xb7),{'change':_0x4fc72e});}),this[_0xcedb7f(0xc3)][_0xcedb7f(0xb3)](_0x4fc72e),_0x5e5618[_0xcedb7f(0xb3)](_0x4fc72e);}),this[_0x57ca33(0xba)](_0x57ca33(0xdf),{'changes':_0x5e5618,'result':_0x5c180c,'source':this});}[_0x22d6ed(0xf3)](){const _0x595fc3=_0x22d6ed;this[_0x595fc3(0xd9)]&&(this[_0x595fc3(0xd9)][_0x595fc3(0xc1)][_0x595fc3(0xf3)](),this[_0x595fc3(0xd9)]=null,this[_0x595fc3(0xb4)]=_0x595fc3(0x98));}[_0x22d6ed(0xc9)](_0x329fb3){const _0x25483c=_0x22d6ed,_0x3aa66d=this[_0x25483c(0xc3)][_0x25483c(0xe3)](_0xfe965a=>_0xfe965a['id']===_0x329fb3);return!(!_0x3aa66d||_0x25483c(0xe0)!==_0x3aa66d[_0x25483c(0xb4)]);}[_0x22d6ed(0xa6)](){const _0x52cf66=_0x22d6ed;return this[_0x52cf66(0xc3)][_0x52cf66(0xfa)](_0x336e76=>!0x0===_0x336e76[_0x52cf66(0xf9)]);}[_0x22d6ed(0xde)](){const _0x1d429a=_0x22d6ed;return this[_0x1d429a(0xc3)][_0x1d429a(0x9f)](_0x36c602=>_0x1d429a(0xe0)===_0x36c602[_0x1d429a(0xb4)]);}[_0x22d6ed(0xf2)](_0x17c014){const _0x189239=_0x22d6ed;return this[_0x189239(0xc3)][_0x189239(0xe3)](_0x2f42fe=>_0x2f42fe['id']===_0x17c014);}[_0x22d6ed(0xdb)](){const _0xff6279=_0x22d6ed;for(const _0x5b961b of this[_0xff6279(0xc3)])_0xff6279(0xe0)===_0x5b961b[_0xff6279(0xb4)]&&(_0x5b961b[_0xff6279(0xb4)]=_0xff6279(0xa5));this[_0xff6279(0xa9)]();}[_0x22d6ed(0xf5)](_0x61e8be){const _0x46d3c0=_0x22d6ed,_0xe1cad0=this[_0x46d3c0(0xc3)][_0x46d3c0(0xe3)](_0x124150=>_0x124150['id']===_0x61e8be);_0xe1cad0&&_0x46d3c0(0xe0)===_0xe1cad0[_0x46d3c0(0xb4)]&&(_0xe1cad0[_0x46d3c0(0xb4)]=_0x46d3c0(0xa5)),this[_0x46d3c0(0xa9)]();}[_0x22d6ed(0xe8)](_0x3ea571){const _0x2ff2ca=_0x22d6ed,_0x2b62e2=this[_0x2ff2ca(0xc3)][_0x2ff2ca(0xe3)](_0x375a78=>_0x375a78['id']===_0x3ea571);_0x2b62e2&&_0x2ff2ca(0xe0)===_0x2b62e2[_0x2ff2ca(0xb4)]&&(_0x2b62e2[_0x2ff2ca(0xb4)]=_0x2ff2ca(0xce)),this[_0x2ff2ca(0xa9)]();}[_0x22d6ed(0xd1)](_0x5821a1){const _0x28f3de=_0x22d6ed,_0x478283=this[_0x28f3de(0xc3)][_0x28f3de(0xe3)](_0x23da30=>_0x23da30['id']===_0x5821a1);_0x478283&&_0x28f3de(0xe0)===_0x478283[_0x28f3de(0xb4)]&&(_0x478283[_0x28f3de(0xb4)]=_0x28f3de(0xbf)),this[_0x28f3de(0xa9)]();}[_0x22d6ed(0x9e)](_0x27575f){const _0x253fda=_0x22d6ed,_0x4af9e0=this[_0x253fda(0xc3)][_0x253fda(0xe3)](_0x2d1389=>_0x2d1389['id']===_0x27575f);_0x4af9e0&&_0x253fda(0xbf)===_0x4af9e0[_0x253fda(0xb4)]&&(_0x4af9e0[_0x253fda(0xb4)]=_0x253fda(0xe0)),this[_0x253fda(0xa9)]();}[_0x22d6ed(0xad)](_0x246217){const _0x2e7cd5=_0x22d6ed;this[_0x2e7cd5(0xc3)][_0x2e7cd5(0x9f)](_0x13b711=>_0x13b711[_0x2e7cd5(0xf9)]&&_0x13b711['id']!==_0x246217)[_0x2e7cd5(0xef)](_0x1aecfb=>{const _0x4f1a8d=_0x2e7cd5;_0x1aecfb[_0x4f1a8d(0xf9)]=!0x1;});const _0x4c48f1=this[_0x2e7cd5(0xc3)][_0x2e7cd5(0xe3)](_0x21b2ad=>_0x21b2ad['id']===_0x246217);_0x4c48f1&&_0x2e7cd5(0xe0)===_0x4c48f1[_0x2e7cd5(0xb4)]&&(_0x4c48f1[_0x2e7cd5(0xf9)]=!0x0);}[_0x22d6ed(0xcf)](){const _0x10b15f=_0x22d6ed;this[_0x10b15f(0xc3)][_0x10b15f(0x9f)](_0x3a0e2f=>_0x3a0e2f[_0x10b15f(0xf9)])[_0x10b15f(0xef)](_0x20ed70=>{const _0x27139d=_0x10b15f;_0x20ed70[_0x27139d(0xf9)]=!0x1;});}[_0x22d6ed(0xe1)](){const _0x135964=_0x22d6ed;this[_0x135964(0xb4)]=_0x135964(0xcd);}async[_0x22d6ed(0xed)](_0xcbc8bf){const _0x57afaf=_0x22d6ed;if(_0x57afaf(0xbc)===this[_0x57afaf(0xb4)]||_0x57afaf(0xac)===this[_0x57afaf(0xb4)]||_0x57afaf(0xe5)===this[_0x57afaf(0xb4)]||this[_0x57afaf(0xc8)])return;if(!this[_0x57afaf(0xc4)]||0x0===this[_0x57afaf(0xc3)][_0x57afaf(0xf1)])return;let _0x2a0a2b;if(_0xcbc8bf){const _0x4c39d1=this[_0x57afaf(0xc3)][_0x57afaf(0xe3)](_0x11a07e=>_0x11a07e['id']===_0xcbc8bf);if(_0x4c39d1&&_0x4c39d1[_0x57afaf(0xab)])return;_0x4c39d1&&(_0x2a0a2b=_0x4c39d1[_0x57afaf(0xa8)]['id'],_0x4c39d1[_0x57afaf(0xab)]=!0x0);}const _0x3b1a68={'positiveCount':this[_0x57afaf(0xc3)][_0x57afaf(0x9f)](_0x1c198e=>_0x57afaf(0xa5)===_0x1c198e[_0x57afaf(0xb4)])[_0x57afaf(0xf1)],'totalCount':this[_0x57afaf(0xc3)][_0x57afaf(0xf1)]};this[_0x57afaf(0xa1)](_0x3b1a68,this[_0x57afaf(0xc4)],_0x2a0a2b);}[_0x22d6ed(0xe4)](_0x45653b,_0x2cde4d){const _0x25da0c=_0x22d6ed,_0x3bcb78=this[_0x25da0c(0xa0)][_0x25da0c(0xc0)][_0x25da0c(0x9a)](_0x45653b);if(!_0x3bcb78)return;const _0x16944d=_0x3bcb78[_0x25da0c(0xb0)]();if(_0x16944d===_0x2cde4d)return;const _0x48f388=new _0x3f541d({'id':_0x45653b,'contentInitial':_0x16944d,'contentNew':_0x2cde4d,'documentVersion':this[_0x25da0c(0xa0)][_0x25da0c(0xfb)]});this[_0x25da0c(0xb6)][_0x25da0c(0xe6)](_0x48f388['id'],_0x48f388),this[_0x25da0c(0xba)](_0x25da0c(0xec),{'result':_0x48f388,'source':this});}[_0x22d6ed(0xa9)](){const _0x3e10e0=_0x22d6ed;_0x3e10e0(0x9b)===this[_0x3e10e0(0xb4)]&&(this[_0x3e10e0(0xc3)][_0x3e10e0(0x9f)](_0x2d6f77=>_0x3e10e0(0xe0)===_0x2d6f77[_0x3e10e0(0xb4)])[_0x3e10e0(0xf1)]>0x0&&(this[_0x3e10e0(0xb4)]=_0x3e10e0(0xcd))),_0x3e10e0(0xcd)===this[_0x3e10e0(0xb4)]&&(0x0===this[_0x3e10e0(0xc3)][_0x3e10e0(0x9f)](_0x20d7d6=>_0x3e10e0(0xe0)===_0x20d7d6[_0x3e10e0(0xb4)])[_0x3e10e0(0xf1)]&&(this[_0x3e10e0(0xb4)]=_0x3e10e0(0x9b)));}}
23
+ function _0x53a3(_0x576a9c,_0x131a2a){const _0x28f083=_0x28f0();return _0x53a3=function(_0x53a3e9,_0x2a3ba7){_0x53a3e9=_0x53a3e9-0x1d0;let _0xfa84a5=_0x28f083[_0x53a3e9];return _0xfa84a5;},_0x53a3(_0x576a9c,_0x131a2a);}const _0xf01b23=_0x53a3;(function(_0x17c3dd,_0xa62ba2){const _0x440539=_0x53a3,_0x105b62=_0x17c3dd();while(!![]){try{const _0x1ddb7f=-parseInt(_0x440539(0x205))/0x1+-parseInt(_0x440539(0x203))/0x2*(-parseInt(_0x440539(0x224))/0x3)+-parseInt(_0x440539(0x21a))/0x4*(-parseInt(_0x440539(0x1f2))/0x5)+-parseInt(_0x440539(0x1dd))/0x6*(-parseInt(_0x440539(0x1e3))/0x7)+parseInt(_0x440539(0x1f8))/0x8+parseInt(_0x440539(0x220))/0x9+-parseInt(_0x440539(0x20f))/0xa;if(_0x1ddb7f===_0xa62ba2)break;else _0x105b62['push'](_0x105b62['shift']());}catch(_0x10ef8f){_0x105b62['push'](_0x105b62['shift']());}}}(_0x28f0,0x4d4ad));import{ObservableMixin as _0x48f386,uid as _0x49cf85}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x8140fd}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0xa884cb}from'./aireviewcheckresultchange.js';function _0x28f0(){const _0x42f214=['markChangeAsAccepted','reviewCheckResultReady','_reviewArgs','abort','reviewCheckRunUpdated','hasModifications','176064IXUxmW','_changes','_documentData','sendRating','_activeRequest','get','133KJKPnm','fire','_createApiRequest','accepted','_checkIfFinished','start','markAllChangesAsAccepted','outdated','_aiConnector','isRated','operation','title','event','abortController','error-general','318445BeHrwx','loading','ai-request-aborted','getContent','updateDocumentData','forceReadyState','1391024tKNctB','find','getChangeById','_reviewParams','length','markChangeAsOutdated','elements','reviewCheckResultChangeStatusUpdated','_currentError','every','some','4SHEENd','pending','372155reOoht','isChangeActive','addResultChanges','processedResultsCount','aborted','isAnyChangeActivated','_sendRatingRequest','set','forEach','_addReviewCheckResult','6470670ywqGJJ','error-chunk','deactivateChange','_wasAborted','change:status','data','change:isActivated','unmodified','restart','documentData','reviewCheckResultActivated','4BClMTy','callId','_results','error','reviewCheckResultAdded','_sourceCheck','2159550RDtDEm','reviewName','filter','rejected','451137MhFzrC','getStream','status','initialized','push','size','includes','version','clear','markChangeAsRejected','getActiveChanges','isActivated','message','textDelta','review-metadata','finished','parent','activateChange','ready','currentError','reviewCheckResultDeactivated','markChangeAsPending','dataId','subTitle'];_0x28f0=function(){return _0x42f214;};return _0x28f0();}export class AIReviewCheckRun extends _0x48f386(){['id']=_0x49cf85();[_0xf01b23(0x21b)];[_0xf01b23(0x21c)]=new Map();[_0xf01b23(0x1de)]=[];[_0xf01b23(0x21f)];[_0xf01b23(0x1df)];[_0xf01b23(0x1eb)];[_0xf01b23(0x1fb)];[_0xf01b23(0x1d9)];[_0xf01b23(0x1e1)]=null;[_0xf01b23(0x200)];[_0xf01b23(0x212)]=!0x1;constructor(_0x1acbb7,_0x23ac6b,_0x576553,_0x27f7a5,_0x3b6b42){const _0x5f3d93=_0xf01b23;super(),this[_0x5f3d93(0x21f)]=_0x23ac6b,this[_0x5f3d93(0x1df)]=_0x1acbb7,this[_0x5f3d93(0x1eb)]=_0x576553,this[_0x5f3d93(0x1fb)]=_0x27f7a5,this[_0x5f3d93(0x1d9)]=_0x3b6b42,this['on'](_0x5f3d93(0x213),(_0x4971b3,_0x27a7a5,_0x8dde8e)=>{const _0x16ff4e=_0x5f3d93;_0x16ff4e(0x209)==_0x8dde8e&&(this[_0x16ff4e(0x212)]=!0x0),this[_0x16ff4e(0x1e4)](_0x16ff4e(0x1db),{'status':_0x8dde8e,'run':this,'error':this[_0x16ff4e(0x200)]});}),this[_0x5f3d93(0x20c)](_0x5f3d93(0x226),_0x5f3d93(0x227));}get[_0xf01b23(0x218)](){const _0x2a1ffe=_0xf01b23;return this[_0x2a1ffe(0x1df)];}get[_0xf01b23(0x208)](){const _0x5e6bed=_0xf01b23;return this[_0x5e6bed(0x21c)][_0x5e6bed(0x229)];}get[_0xf01b23(0x1ee)](){const _0x808b5e=_0xf01b23;return this[_0x808b5e(0x21f)][_0x808b5e(0x1ee)];}get[_0xf01b23(0x1d6)](){return'';}get[_0xf01b23(0x221)](){const _0x405c16=_0xf01b23;return this[_0x405c16(0x21f)]['id'];}get[_0xf01b23(0x1dc)](){const _0x1a797f=_0xf01b23;return!this[_0x1a797f(0x1de)][_0x1a797f(0x201)](_0xc55270=>_0x1a797f(0x204)===_0xc55270[_0x1a797f(0x226)]);}get[_0xf01b23(0x1d2)](){const _0x265ebf=_0xf01b23;return this[_0x265ebf(0x200)];}[_0xf01b23(0x1f6)](_0x331ce7){const _0x9012da=_0xf01b23;this[_0x9012da(0x1df)]=_0x331ce7;}async[_0xf01b23(0x1e8)](){const _0x30935f=_0xf01b23;this[_0x30935f(0x226)]=_0x30935f(0x1f3),this[_0x30935f(0x200)]=void 0x0;try{this[_0x30935f(0x1e1)]=this[_0x30935f(0x1e5)]();const _0x2a8023=await this[_0x30935f(0x1e1)][_0x30935f(0x225)]();this[_0x30935f(0x226)]=_0x30935f(0x214);for await(const _0x11c708 of _0x2a8023)_0x30935f(0x216)!==_0x11c708[_0x30935f(0x214)][_0x30935f(0x1ed)]&&(_0x30935f(0x21d)!==_0x11c708[_0x30935f(0x214)][_0x30935f(0x1ed)]?_0x30935f(0x232)!==_0x11c708[_0x30935f(0x1ef)]?this[_0x30935f(0x20e)](_0x11c708[_0x30935f(0x214)][_0x30935f(0x1d5)],_0x11c708[_0x30935f(0x214)][_0x30935f(0x231)]):this[_0x30935f(0x21b)]=_0x11c708[_0x30935f(0x214)][_0x30935f(0x21b)]:this[_0x30935f(0x226)]=_0x30935f(0x210));_0x30935f(0x210)!==this[_0x30935f(0x226)]&&(0x0===this[_0x30935f(0x21c)][_0x30935f(0x229)]||0x0===this[_0x30935f(0x1de)][_0x30935f(0x1fc)]?this[_0x30935f(0x226)]=_0x30935f(0x216):this[_0x30935f(0x226)]=_0x30935f(0x1d1));}catch(_0x2ce203){this[_0x30935f(0x200)]=_0x2ce203,_0x2ce203 instanceof Error&&_0x2ce203[_0x30935f(0x230)][_0x30935f(0x22a)](_0x30935f(0x1f4))?this[_0x30935f(0x226)]=_0x30935f(0x209):this[_0x30935f(0x226)]=_0x30935f(0x1f1);}finally{this[_0x30935f(0x1e1)]=null;}}async[_0xf01b23(0x217)](){const _0x4dafa7=_0xf01b23;this[_0x4dafa7(0x21c)][_0x4dafa7(0x22c)](),this[_0x4dafa7(0x1de)][_0x4dafa7(0x1fc)]=0x0,this[_0x4dafa7(0x200)]=void 0x0,await this[_0x4dafa7(0x1e8)]();}[_0xf01b23(0x207)](_0x3f819f,_0x2eaf9e){const _0x6bdeb9=_0xf01b23,_0x1ba293=this[_0x6bdeb9(0x21c)][_0x6bdeb9(0x1e2)](_0x3f819f);if(!_0x1ba293)return;if(0x0===_0x2eaf9e[_0x6bdeb9(0x1fc)])return;const _0x5c13a1=[];_0x2eaf9e[_0x6bdeb9(0x20d)]((_0x62384c,_0x3765e2)=>{const _0x5204f1=_0x6bdeb9,_0x5ef36b=new _0xa884cb(_0x1ba293['id']+'-'+_0x3765e2,_0x62384c,_0x1ba293);_0x5ef36b['on'](_0x5204f1(0x213),()=>{const _0x1e3efd=_0x5204f1;this[_0x1e3efd(0x1e4)](_0x1e3efd(0x1ff),{'change':_0x5ef36b,'status':_0x5ef36b[_0x1e3efd(0x226)]});}),_0x5ef36b['on'](_0x5204f1(0x215),()=>{const _0x2b94b2=_0x5204f1;_0x5ef36b[_0x2b94b2(0x22f)]?this[_0x2b94b2(0x1e4)](_0x2b94b2(0x219),{'change':_0x5ef36b}):this[_0x2b94b2(0x1e4)](_0x2b94b2(0x1d3),{'change':_0x5ef36b});}),this[_0x5204f1(0x1de)][_0x5204f1(0x228)](_0x5ef36b),_0x5c13a1[_0x5204f1(0x228)](_0x5ef36b);}),this[_0x6bdeb9(0x1e4)](_0x6bdeb9(0x1d8),{'changes':_0x5c13a1,'result':_0x1ba293,'source':this});}[_0xf01b23(0x1da)](){const _0x19bc20=_0xf01b23;this[_0x19bc20(0x1e1)]&&(this[_0x19bc20(0x1e1)][_0x19bc20(0x1f0)][_0x19bc20(0x1da)](),this[_0x19bc20(0x1e1)]=null,this[_0x19bc20(0x226)]=_0x19bc20(0x209));}[_0xf01b23(0x206)](_0x2af23e){const _0x5e6341=_0xf01b23,_0x420d9a=this[_0x5e6341(0x1de)][_0x5e6341(0x1f9)](_0x3fdf23=>_0x3fdf23['id']===_0x2af23e);return!(!_0x420d9a||_0x5e6341(0x204)!==_0x420d9a[_0x5e6341(0x226)]);}[_0xf01b23(0x20a)](){const _0x24ac25=_0xf01b23;return this[_0x24ac25(0x1de)][_0x24ac25(0x202)](_0x4c0e82=>!0x0===_0x4c0e82[_0x24ac25(0x22f)]);}[_0xf01b23(0x22e)](){const _0x2dc4c9=_0xf01b23;return this[_0x2dc4c9(0x1de)][_0x2dc4c9(0x222)](_0x13d76e=>_0x2dc4c9(0x204)===_0x13d76e[_0x2dc4c9(0x226)]);}[_0xf01b23(0x1fa)](_0x5d143e){const _0x29a3c2=_0xf01b23;return this[_0x29a3c2(0x1de)][_0x29a3c2(0x1f9)](_0x52f885=>_0x52f885['id']===_0x5d143e);}[_0xf01b23(0x1e9)](){const _0x59aa60=_0xf01b23;for(const _0x4aa663 of this[_0x59aa60(0x1de)])_0x59aa60(0x204)===_0x4aa663[_0x59aa60(0x226)]&&(_0x4aa663[_0x59aa60(0x226)]=_0x59aa60(0x1e6));this[_0x59aa60(0x1e7)]();}[_0xf01b23(0x1d7)](_0x7d3368){const _0x16844f=_0xf01b23,_0x292dba=this[_0x16844f(0x1de)][_0x16844f(0x1f9)](_0x42b867=>_0x42b867['id']===_0x7d3368);_0x292dba&&_0x16844f(0x204)===_0x292dba[_0x16844f(0x226)]&&(_0x292dba[_0x16844f(0x226)]=_0x16844f(0x1e6)),this[_0x16844f(0x1e7)]();}[_0xf01b23(0x22d)](_0x3f10c7){const _0x4c388a=_0xf01b23,_0x529a36=this[_0x4c388a(0x1de)][_0x4c388a(0x1f9)](_0x473c7f=>_0x473c7f['id']===_0x3f10c7);_0x529a36&&_0x4c388a(0x204)===_0x529a36[_0x4c388a(0x226)]&&(_0x529a36[_0x4c388a(0x226)]=_0x4c388a(0x223)),this[_0x4c388a(0x1e7)]();}[_0xf01b23(0x1fd)](_0x118be8){const _0x248117=_0xf01b23,_0x3538c0=this[_0x248117(0x1de)][_0x248117(0x1f9)](_0x140f39=>_0x140f39['id']===_0x118be8);_0x3538c0&&_0x248117(0x204)===_0x3538c0[_0x248117(0x226)]&&(_0x3538c0[_0x248117(0x226)]=_0x248117(0x1ea)),this[_0x248117(0x1e7)]();}[_0xf01b23(0x1d4)](_0x38832c){const _0x57cf84=_0xf01b23,_0x109be7=this[_0x57cf84(0x1de)][_0x57cf84(0x1f9)](_0x353581=>_0x353581['id']===_0x38832c);_0x109be7&&_0x57cf84(0x1ea)===_0x109be7[_0x57cf84(0x226)]&&(_0x109be7[_0x57cf84(0x226)]=_0x57cf84(0x204)),this[_0x57cf84(0x1e7)]();}[_0xf01b23(0x1d0)](_0x4c249e){const _0x3b43fa=_0xf01b23;this[_0x3b43fa(0x1de)][_0x3b43fa(0x222)](_0xb7c000=>_0xb7c000[_0x3b43fa(0x22f)]&&_0xb7c000['id']!==_0x4c249e)[_0x3b43fa(0x20d)](_0x14de44=>{const _0x5034f7=_0x3b43fa;_0x14de44[_0x5034f7(0x22f)]=!0x1;});const _0x5f1707=this[_0x3b43fa(0x1de)][_0x3b43fa(0x1f9)](_0x4796dd=>_0x4796dd['id']===_0x4c249e);_0x5f1707&&_0x3b43fa(0x204)===_0x5f1707[_0x3b43fa(0x226)]&&(_0x5f1707[_0x3b43fa(0x22f)]=!0x0);}[_0xf01b23(0x211)](){const _0x4947e3=_0xf01b23;this[_0x4947e3(0x1de)][_0x4947e3(0x222)](_0x2c346d=>_0x2c346d[_0x4947e3(0x22f)])[_0x4947e3(0x20d)](_0x3a1100=>{const _0x27c3e4=_0x4947e3;_0x3a1100[_0x27c3e4(0x22f)]=!0x1;});}[_0xf01b23(0x1f7)](){const _0x5c1899=_0xf01b23;this[_0x5c1899(0x226)]=_0x5c1899(0x1d1);}async[_0xf01b23(0x1e0)](_0x15bbab){const _0x2b50f9=_0xf01b23;if(_0x2b50f9(0x227)===this[_0x2b50f9(0x226)]||_0x2b50f9(0x1f3)===this[_0x2b50f9(0x226)]||_0x2b50f9(0x214)===this[_0x2b50f9(0x226)]||this[_0x2b50f9(0x212)])return;if(!this[_0x2b50f9(0x21b)]||0x0===this[_0x2b50f9(0x1de)][_0x2b50f9(0x1fc)])return;let _0x4dfbbb;if(_0x15bbab){const _0x9f8d55=this[_0x2b50f9(0x1de)][_0x2b50f9(0x1f9)](_0xaac8d=>_0xaac8d['id']===_0x15bbab);if(_0x9f8d55&&_0x9f8d55[_0x2b50f9(0x1ec)])return;_0x9f8d55&&(_0x4dfbbb=_0x9f8d55[_0x2b50f9(0x234)]['id'],_0x9f8d55[_0x2b50f9(0x1ec)]=!0x0);}const _0x178bcc={'positiveCount':this[_0x2b50f9(0x1de)][_0x2b50f9(0x222)](_0x171ddd=>_0x2b50f9(0x1e6)===_0x171ddd[_0x2b50f9(0x226)])[_0x2b50f9(0x1fc)],'totalCount':this[_0x2b50f9(0x1de)][_0x2b50f9(0x1fc)]};this[_0x2b50f9(0x20b)](_0x178bcc,this[_0x2b50f9(0x21b)],_0x4dfbbb);}[_0xf01b23(0x20e)](_0x39e6df,_0x1070b2){const _0x35ea19=_0xf01b23,_0x2bb5f0=this[_0x35ea19(0x1df)][_0x35ea19(0x1fe)][_0x35ea19(0x1e2)](_0x39e6df);if(!_0x2bb5f0)return;const _0x3ab5d2=_0x2bb5f0[_0x35ea19(0x1f5)]();if(_0x3ab5d2===_0x1070b2)return;const _0x20bfc9=new _0x8140fd({'id':_0x39e6df,'contentInitial':_0x3ab5d2,'contentNew':_0x1070b2,'documentVersion':this[_0x35ea19(0x1df)][_0x35ea19(0x22b)]});this[_0x35ea19(0x21c)][_0x35ea19(0x20c)](_0x20bfc9['id'],_0x20bfc9),this[_0x35ea19(0x1e4)](_0x35ea19(0x21e),{'result':_0x20bfc9,'source':this});}[_0xf01b23(0x1e7)](){const _0x3cf96c=_0xf01b23;_0x3cf96c(0x233)===this[_0x3cf96c(0x226)]&&(this[_0x3cf96c(0x1de)][_0x3cf96c(0x222)](_0x254f64=>_0x3cf96c(0x204)===_0x254f64[_0x3cf96c(0x226)])[_0x3cf96c(0x1fc)]>0x0&&(this[_0x3cf96c(0x226)]=_0x3cf96c(0x1d1))),_0x3cf96c(0x1d1)===this[_0x3cf96c(0x226)]&&(0x0===this[_0x3cf96c(0x1de)][_0x3cf96c(0x222)](_0x46d12e=>_0x3cf96c(0x204)===_0x46d12e[_0x3cf96c(0x226)])[_0x3cf96c(0x1fc)]&&(this[_0x3cf96c(0x226)]=_0x3cf96c(0x233)));}}