@ckeditor/ckeditor5-ai 47.4.0-alpha.0 → 47.4.0-alpha.1

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 (120) 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/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  56. package/src/aichat/utils/promisequeue.js +1 -1
  57. package/src/aichathistory/aichathistory.js +1 -1
  58. package/src/aichathistory/aichathistorycontroller.js +1 -1
  59. package/src/aichathistory/aichathistoryui.js +1 -1
  60. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  61. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  62. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  63. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  64. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  65. package/src/aicore/aiconnector.js +1 -1
  66. package/src/aicore/aiediting.js +1 -1
  67. package/src/aicore/model/aicapabilities.js +1 -1
  68. package/src/aicore/model/aiinteraction.js +1 -1
  69. package/src/aicore/model/aimodels.js +1 -1
  70. package/src/aicore/model/aireply.js +1 -1
  71. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  72. package/src/aicore/pipeline/airesponseparser.js +2 -2
  73. package/src/aicore/ui/aidisclaimerview.js +1 -1
  74. package/src/aicore/ui/aiskeleton.js +1 -1
  75. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  76. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  77. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  80. package/src/aicore/utils/createresizebutton.js +1 -1
  81. package/src/aicore/utils/documentrange.js +1 -1
  82. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  83. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  84. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  85. package/src/aicore/utils/htmlparser.js +1 -1
  86. package/src/aicore/utils/htmlstreamer.js +1 -1
  87. package/src/aieditorintegration/aieditorintegration.js +1 -1
  88. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  89. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  90. package/src/aiquickactions/aiquickactions.js +1 -1
  91. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  92. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  93. package/src/aiquickactions/aiquickactionsui.js +1 -1
  94. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  95. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  96. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  97. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  98. package/src/aireviewmode/aireviewmode.js +1 -1
  99. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  100. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  101. package/src/aireviewmode/aireviewmodeui.js +1 -1
  102. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  103. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  104. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  105. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  106. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  107. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  108. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  110. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  115. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  116. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  117. package/src/aitabs/aitabs.js +1 -1
  118. package/src/aitabs/tabs/aitabsview.js +1 -1
  119. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  120. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x389190=_0x4bfe;(function(_0x22ab31,_0x1cc45a){const _0x561540=_0x4bfe,_0x5f0857=_0x22ab31();while(!![]){try{const _0x21b9d9=parseInt(_0x561540(0x180))/0x1*(-parseInt(_0x561540(0x183))/0x2)+-parseInt(_0x561540(0x184))/0x3+-parseInt(_0x561540(0x17f))/0x4*(-parseInt(_0x561540(0x18b))/0x5)+-parseInt(_0x561540(0x17c))/0x6+parseInt(_0x561540(0x17a))/0x7+-parseInt(_0x561540(0x182))/0x8+parseInt(_0x561540(0x187))/0x9;if(_0x21b9d9===_0x1cc45a)break;else _0x5f0857['push'](_0x5f0857['shift']());}catch(_0x149dac){_0x5f0857['push'](_0x5f0857['shift']());}}}(_0x2965,0xb0714));import{IconView as _0x11c31a,ListItemButtonView as _0x33372f}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x545048}from'@ckeditor/ckeditor5-icons';function _0x4bfe(_0x532a70,_0xe952f4){const _0x29659d=_0x2965();return _0x4bfe=function(_0x4bfe8d,_0x4e7108){_0x4bfe8d=_0x4bfe8d-0x179;let _0x30b2e5=_0x29659d[_0x4bfe8d];return _0x30b2e5;},_0x4bfe(_0x532a70,_0xe952f4);}export class DropdownMenuButtonWithHighlightView extends _0x33372f{[_0x389190(0x18c)];constructor(_0x47fe51,_0x247b6d){const _0x47d864=_0x389190;super(_0x47fe51,_0x247b6d);const _0x1752b1=this[_0x47d864(0x179)];this[_0x47d864(0x18a)]({'withText':!0x0,'role':_0x47d864(0x17b)}),this[_0x47d864(0x18c)]=this[_0x47d864(0x189)](),this[_0x47d864(0x17e)]({'attributes':{'class':[_0x47d864(0x186)],'aria-haspopup':!0x0,'aria-expanded':this[_0x47d864(0x179)]['to'](_0x47d864(0x181),_0x874589=>String(_0x874589)),'data-cke-tooltip-disabled':_0x1752b1['to'](_0x47d864(0x181))},'on':{'mouseenter':_0x1752b1['to'](_0x47d864(0x18f))}});}[_0x389190(0x18d)](){const _0x2151cf=_0x389190;super[_0x2151cf(0x18d)](),this[_0x2151cf(0x185)][_0x2151cf(0x188)](this[_0x2151cf(0x18c)]);}[_0x389190(0x189)](){const _0x24725f=_0x389190,_0x46ef31=new _0x11c31a();return _0x46ef31[_0x24725f(0x18e)]=_0x545048,_0x46ef31[_0x24725f(0x17e)]({'attributes':{'class':_0x24725f(0x17d)}}),_0x46ef31;}}function _0x2965(){const _0x380dde=['children','ck-dropdown-menu-list__nested-menu__button','22715757qFCYcX','add','_createArrowView','set','85tIGiaG','arrowView','render','content','mouseenter','bindTemplate','4044376IckhQd','menuitem','4729950RYllPA','ck-dropdown-menu-list__nested-menu__button__arrow','extendTemplate','1492XAYRLF','34UHGGWl','isOn','6439464CiytkT','39604WKUXxG','356544cDCtPE'];_0x2965=function(){return _0x380dde;};return _0x2965();}
23
+ const _0x224b13=_0x52ec;function _0x1ecd(){const _0x4698d3=['2744514umWOtN','_createArrowView','add','isOn','14311840wFAnrE','extendTemplate','set','21355fLfuYw','arrowView','ck-dropdown-menu-list__nested-menu__button','270iwHDzz','676692ZQIzPR','1065480miorRx','28CuZtOr','menuitem','ck-dropdown-menu-list__nested-menu__button__arrow','children','content','4ArMLQy','645896UgCXZj','478479EpyFSW','mouseenter','render','bindTemplate'];_0x1ecd=function(){return _0x4698d3;};return _0x1ecd();}(function(_0x2c853c,_0x24f721){const _0x55c4ee=_0x52ec,_0x27249a=_0x2c853c();while(!![]){try{const _0x43f972=parseInt(_0x55c4ee(0xb3))/0x1+parseInt(_0x55c4ee(0xb4))/0x2+-parseInt(_0x55c4ee(0xa4))/0x3*(-parseInt(_0x55c4ee(0xa2))/0x4)+-parseInt(_0x55c4ee(0xaf))/0x5*(parseInt(_0x55c4ee(0xb2))/0x6)+parseInt(_0x55c4ee(0x9d))/0x7*(parseInt(_0x55c4ee(0xa3))/0x8)+parseInt(_0x55c4ee(0xa8))/0x9+-parseInt(_0x55c4ee(0xac))/0xa;if(_0x43f972===_0x24f721)break;else _0x27249a['push'](_0x27249a['shift']());}catch(_0x43c14f){_0x27249a['push'](_0x27249a['shift']());}}}(_0x1ecd,0x5b2c0));import{IconView as _0x21d08f,ListItemButtonView as _0x11a1f0}from'ckeditor5/src/ui.js';function _0x52ec(_0x5c0a93,_0x40fc57){const _0x1ecde4=_0x1ecd();return _0x52ec=function(_0x52ec9b,_0x15ca2f){_0x52ec9b=_0x52ec9b-0x9d;let _0x4553f0=_0x1ecde4[_0x52ec9b];return _0x4553f0;},_0x52ec(_0x5c0a93,_0x40fc57);}import{IconDropdownArrow as _0x389f70}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x11a1f0{[_0x224b13(0xb0)];constructor(_0x463ef5,_0x40b83c){const _0x23d9ea=_0x224b13;super(_0x463ef5,_0x40b83c);const _0x4c55e7=this[_0x23d9ea(0xa7)];this[_0x23d9ea(0xae)]({'withText':!0x0,'role':_0x23d9ea(0x9e)}),this[_0x23d9ea(0xb0)]=this[_0x23d9ea(0xa9)](),this[_0x23d9ea(0xad)]({'attributes':{'class':[_0x23d9ea(0xb1)],'aria-haspopup':!0x0,'aria-expanded':this[_0x23d9ea(0xa7)]['to'](_0x23d9ea(0xab),_0xa4e73=>String(_0xa4e73)),'data-cke-tooltip-disabled':_0x4c55e7['to'](_0x23d9ea(0xab))},'on':{'mouseenter':_0x4c55e7['to'](_0x23d9ea(0xa5))}});}[_0x224b13(0xa6)](){const _0x7b2e22=_0x224b13;super[_0x7b2e22(0xa6)](),this[_0x7b2e22(0xa0)][_0x7b2e22(0xaa)](this[_0x7b2e22(0xb0)]);}[_0x224b13(0xa9)](){const _0x29f5d6=_0x224b13,_0x4e2644=new _0x21d08f();return _0x4e2644[_0x29f5d6(0xa1)]=_0x389f70,_0x4e2644[_0x29f5d6(0xad)]({'attributes':{'class':_0x29f5d6(0x9f)}}),_0x4e2644;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x33c0c6=_0x53bb;(function(_0x19e8e3,_0x5127dd){var _0x5d0a49=_0x53bb,_0x4f07ec=_0x19e8e3();while(!![]){try{var _0x3a8031=-parseInt(_0x5d0a49(0x1c1))/0x1+-parseInt(_0x5d0a49(0x1c7))/0x2*(parseInt(_0x5d0a49(0x1c5))/0x3)+-parseInt(_0x5d0a49(0x1cb))/0x4+parseInt(_0x5d0a49(0x1c3))/0x5+-parseInt(_0x5d0a49(0x1bd))/0x6*(-parseInt(_0x5d0a49(0x1be))/0x7)+parseInt(_0x5d0a49(0x1bf))/0x8+parseInt(_0x5d0a49(0x1ca))/0x9*(parseInt(_0x5d0a49(0x1c9))/0xa);if(_0x3a8031===_0x5127dd)break;else _0x4f07ec['push'](_0x4f07ec['shift']());}catch(_0x1455fe){_0x4f07ec['push'](_0x4f07ec['shift']());}}}(_0x4f2f,0x39e11));function _0x4f2f(){var _0x4944f7=['91MQqfEm','207048ROZnvn','pluginName','91136GwINQp','requires','429090WViToZ','isOfficialPlugin','60927LGtMON','isPremiumPlugin','26aqTyOc','AIReviewMode','230WrMNVq','133047Syvbnb','563676tUdPAg','129894UKFuww'];_0x4f2f=function(){return _0x4944f7;};return _0x4f2f();}function _0x53bb(_0x3d67c0,_0x67b123){var _0x4f2f92=_0x4f2f();return _0x53bb=function(_0x53bbb4,_0x45955b){_0x53bbb4=_0x53bbb4-0x1bd;var _0x1c105d=_0x4f2f92[_0x53bbb4];return _0x1c105d;},_0x53bb(_0x3d67c0,_0x67b123);}import{ContextPlugin as _0x3f69ed}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x12e2f5}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x55b581}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x4df820}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x3f69ed{static get[_0x33c0c6(0x1c2)](){return[_0x12e2f5,_0x55b581,_0x4df820];}static get[_0x33c0c6(0x1c0)](){var _0x52d321=_0x33c0c6;return _0x52d321(0x1c8);}static get[_0x33c0c6(0x1c4)](){return!0x0;}static get[_0x33c0c6(0x1c6)](){return!0x0;}}
23
+ var _0x103cb1=_0x2740;function _0x2740(_0x12a76e,_0x514889){var _0x56e15f=_0x56e1();return _0x2740=function(_0x274091,_0x2c3168){_0x274091=_0x274091-0xec;var _0xcbfeee=_0x56e15f[_0x274091];return _0xcbfeee;},_0x2740(_0x12a76e,_0x514889);}(function(_0x3c8a1b,_0x33b86e){var _0x28f80b=_0x2740,_0x21de16=_0x3c8a1b();while(!![]){try{var _0x4710a9=parseInt(_0x28f80b(0xf6))/0x1+-parseInt(_0x28f80b(0xfb))/0x2+parseInt(_0x28f80b(0xf5))/0x3*(-parseInt(_0x28f80b(0xfa))/0x4)+-parseInt(_0x28f80b(0xf2))/0x5*(parseInt(_0x28f80b(0xf7))/0x6)+-parseInt(_0x28f80b(0xf0))/0x7*(parseInt(_0x28f80b(0xf4))/0x8)+parseInt(_0x28f80b(0xf9))/0x9*(-parseInt(_0x28f80b(0xf1))/0xa)+parseInt(_0x28f80b(0xf8))/0xb;if(_0x4710a9===_0x33b86e)break;else _0x21de16['push'](_0x21de16['shift']());}catch(_0x5e9de5){_0x21de16['push'](_0x21de16['shift']());}}}(_0x56e1,0xbb755));function _0x56e1(){var _0x18f272=['33434511wjFDhM','5904LzXeBA','8jwfvwE','1247656PpiCZM','pluginName','isPremiumPlugin','AIReviewMode','requires','371GPhlBr','18340xkojXq','116635RSISVi','isOfficialPlugin','213264OYoXFT','220899ykNxRF','1278689igOzgU','42DzHNYn'];_0x56e1=function(){return _0x18f272;};return _0x56e1();}import{ContextPlugin as _0x498b46}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x54df85}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x44149a}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x168d25}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x498b46{static get[_0x103cb1(0xef)](){return[_0x54df85,_0x44149a,_0x168d25];}static get[_0x103cb1(0xec)](){var _0xcc6574=_0x103cb1;return _0xcc6574(0xee);}static get[_0x103cb1(0xf3)](){return!0x0;}static get[_0x103cb1(0xed)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41d819=_0x4cc4;(function(_0x361413,_0xa95ac3){const _0x4d5ff9=_0x4cc4,_0x4dc1cf=_0x361413();while(!![]){try{const _0x614c2=-parseInt(_0x4d5ff9(0xfb))/0x1+parseInt(_0x4d5ff9(0xcf))/0x2+parseInt(_0x4d5ff9(0xf7))/0x3+-parseInt(_0x4d5ff9(0xf0))/0x4*(-parseInt(_0x4d5ff9(0xbf))/0x5)+parseInt(_0x4d5ff9(0x143))/0x6+parseInt(_0x4d5ff9(0xe0))/0x7+-parseInt(_0x4d5ff9(0xcc))/0x8;if(_0x614c2===_0xa95ac3)break;else _0x4dc1cf['push'](_0x4dc1cf['shift']());}catch(_0x1fb174){_0x4dc1cf['push'](_0x4dc1cf['shift']());}}}(_0x1688,0xa8528));import{ContextPlugin as _0x150ec7}from'ckeditor5/src/core.js';import{CKEditorError as _0x46019d,logError as _0x388658,scrollAncestorsToShowTarget as _0x1df496,scrollViewportToShowTarget as _0x17216b}from'ckeditor5/src/utils.js';import{AIConnector as _0x4f550b}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3466d0}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x2bd911}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x46710d}from'./model/aireviewcustomcheckrun.js';function _0x4cc4(_0x4962e5,_0x39605d){const _0x168877=_0x1688();return _0x4cc4=function(_0x4cc43a,_0x2db322){_0x4cc43a=_0x4cc43a-0x93;let _0x2477fe=_0x168877[_0x4cc43a];return _0x2477fe;},_0x4cc4(_0x4962e5,_0x39605d);}import{AIModels as _0xd8598a}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x288ed8}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x199b99}from'../aicore/utils/common-translations.js';function _0x1688(){const _0x347105=['showNoChangesView','startsWith','getDocumentData','label','closest','addResultChanges','isAnyChangeActivated','retryReview','getActiveChanges','hasModifications','_DESCRIPTION','markChangePositionInEditorContent','markChangeAsPending','deactivateChange','isPremiumPlugin','reviewCheckResultReady','_logError','getEditor','ai-request-aborted','markAllChangesAsAccepted','showGeneralReviewModeErrorView','acceptChange','_aiReviewModeUi','changeId','changeMarkerClick','includes','result','markerElement','_aiReviewCheckList','AI_REVIEW_CHECK_','5cUJMBZ','length','processedResultsCount','AIReviewModeController','addClass','_getTranslationWithDefault','removeClass','.ck-ai-review-mode__check-run-result','abortReviewStream','init','ai-review-mode-source-check-not-found','ai-review-mode-check-run-chunk-error','changeMarkerRestored','20406088iBqLVL','_aiConnector','clearAllMarkers','2479716WZboxp','_OPTIONS_LABEL','ready','loading','_currentReviewCheckRun','_isDiffOn','currentError','error-chunk','getReviewCheckList','hideDiffInBalloon','finishReview','subTitle','setActiveStateInResults','map','showCheckRunResults','AIConnector','changeMarkerBlurred','3274131EEgfZD','editing','activateChange','finished','document','_TITLE','removeCheckById','getCheckById','forceReadyState','error-general','setAvailableChecks','aborted','context','find','reviewCheckResultActivated','isCustom','1787988JqveDB','abort','contentNew','viewportOffset','changes','AIReviewModeUI','emitter','2437038xWJSYO','getAll','sendRating','_onDiffChange','780255lrLKzK','prompt','diffContent','showGeneralResultsErrorView','translate','content','getChangeById','unmodified','reviewCheckRunUpdated','checks','description','pluginName','showReviewCompletedView','contentInitial','listenTo','switchToEdit','resetActiveStateInResults','setCheckResultTitle','updateDocumentData','markChangeAsAccepted','toggleDiff','source','locale','reviewCheckResultDeactivated','models','status','restart','_onReviewModeRunLeave','getDomRoot','stopListening','toUpperCase','options','domElement','acceptAllChanges','message','ai-review-mode-no-current-check-run','leaveReviewMode','requires','showChunkErrorView','isChangeActive','leaveReviewModeResultList','getChangeElement','switchToReadOnly','hover','ck-ai-review-mode-diff','dismissChange','showDiffInBalloon','showActionsWhenResultIsReady','custom','panel','plugins','showCheckRunResult','_aiReviewModeEditing','_translateReviewChecks','ai-review-mode-models-unable-to-retrieve','start','AIReviewModeEditing','markChangeAsOutdated','getMarkerElementForChange','_OPTIONS_DATA_','showChangeBalloon','ck-ai-review-mode-highlights','params','reviewCheckResultAdded','view','documentData','ai-review-mode-check-run-failed','click','isOfficialPlugin','showReviewCheckList','replaceAll','get','6321180bTMEAZ','config','title','updateChangeState','runReviewCheck','changeMarkerRemoved','model','reviewCheckResultChangeStatusUpdated','markChangeAsRejected','data','rejectChange','ai-review-mode-check-run-general-error','hideChangeBalloon','changeMarkerHovered','applyChange','domEvent','change','_changeActivationSource','args','ai.reviewMode.translations','getRoot'];_0x1688=function(){return _0x347105;};return _0x1688();}export class AIReviewModeController extends _0x150ec7{[_0x41d819(0xcd)];[_0x41d819(0xb7)];[_0x41d819(0x12f)];[_0x41d819(0xbd)];[_0x41d819(0xd3)];[_0x41d819(0xd4)]=!0x1;[_0x41d819(0x9d)]=null;static get[_0x41d819(0x120)](){return[_0x4f550b];}static get[_0x41d819(0x106)](){const _0x30234e=_0x41d819;return _0x30234e(0xc2);}static get[_0x41d819(0x13f)](){return!0x0;}static get[_0x41d819(0xaf)](){return!0x0;}async[_0x41d819(0xc8)](){const _0x5c3a55=_0x41d819;this[_0x5c3a55(0xcd)]=this[_0x5c3a55(0xec)][_0x5c3a55(0x12d)][_0x5c3a55(0x142)](_0x5c3a55(0xde)),this[_0x5c3a55(0xb7)]=this[_0x5c3a55(0xec)][_0x5c3a55(0x12d)][_0x5c3a55(0x142)](_0x5c3a55(0xf5)),this[_0x5c3a55(0x12f)]=this[_0x5c3a55(0xec)][_0x5c3a55(0x12d)][_0x5c3a55(0x142)](_0x5c3a55(0x133));const _0x13872f=this[_0x5c3a55(0xec)][_0x5c3a55(0x144)][_0x5c3a55(0x142)](_0x5c3a55(0x9f));if(_0x13872f){for(const _0x256621 of _0x288ed8)_0x5c3a55(0xff)===_0x256621['id']&&(_0x256621[_0x5c3a55(0x11a)][0x0][_0x5c3a55(0x95)]=_0x13872f);}const _0x3e152a=this[_0x5c3a55(0x130)](_0x288ed8);this[_0x5c3a55(0xbd)]=new _0x3466d0(_0x3e152a);const _0x515782=this[_0x5c3a55(0xbd)][_0x5c3a55(0x104)][_0x5c3a55(0xed)](_0x4e5b11=>_0x5c3a55(0x12b)===_0x4e5b11['id']);if(_0x515782)try{_0x515782[_0x5c3a55(0x113)]=await new _0xd8598a({'connector':this[_0x5c3a55(0xcd)],'locale':this[_0x5c3a55(0xec)][_0x5c3a55(0x111)]})[_0x5c3a55(0xf8)]();}catch(_0x531be2){this[_0x5c3a55(0xbd)][_0x5c3a55(0xe6)](_0x5c3a55(0x12b)),this[_0x5c3a55(0xb1)](new _0x46019d(_0x5c3a55(0x131),this,{'error':_0x531be2}));}this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0xd7),()=>{const _0xa93bb9=_0x5c3a55;this[_0xa93bb9(0xb7)][_0xa93bb9(0xea)](this[_0xa93bb9(0xbd)][_0xa93bb9(0x104)]);}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0x147),async(_0x8a6b22,_0x4dc67d)=>{const _0x5ad856=_0x5c3a55,_0x231e04=this[_0x5ad856(0xbd)][_0x5ad856(0xe7)](_0x4dc67d['id']);if(_0x231e04){this[_0x5ad856(0xfa)](this[_0x5ad856(0xd4)]),_0x4dc67d[_0x5ad856(0xef)]?this[_0x5ad856(0xd3)]=new _0x46710d(_0x4dc67d[_0x5ad856(0x9e)][_0x5ad856(0xfc)],_0x4dc67d[_0x5ad856(0x9e)][_0x5ad856(0x149)],this[_0x5ad856(0x12f)][_0x5ad856(0xa3)](),_0x231e04,this[_0x5ad856(0xcd)]):this[_0x5ad856(0xd3)]=new _0x2bd911(this[_0x5ad856(0x12f)][_0x5ad856(0xa3)](),_0x231e04,this[_0x5ad856(0xcd)],_0x4dc67d[_0x5ad856(0x139)],_0x4dc67d[_0x5ad856(0x9e)]),this[_0x5ad856(0xb7)][_0x5ad856(0x10c)](this[_0x5ad856(0xd3)][_0x5ad856(0x145)],this[_0x5ad856(0xd3)][_0x5ad856(0xda)]),this[_0x5ad856(0xd3)]['on'](_0x5ad856(0x103),(_0x27d2fb,_0x1ba99d)=>{const _0x75f3ff=_0x5ad856;switch(_0x1ba99d[_0x75f3ff(0x114)]){case _0x75f3ff(0x95):case _0x75f3ff(0xd2):this[_0x75f3ff(0x12f)][_0x75f3ff(0x125)](),this[_0x75f3ff(0xb7)][_0x75f3ff(0xdd)](_0x1ba99d);break;case _0x75f3ff(0xe3):this[_0x75f3ff(0xb7)][_0x75f3ff(0x107)]();break;case _0x75f3ff(0xd1):this[_0x75f3ff(0xb7)][_0x75f3ff(0x12a)]();break;case _0x75f3ff(0x102):this[_0x75f3ff(0xb7)][_0x75f3ff(0xa1)]();break;case _0x75f3ff(0xe9):this[_0x75f3ff(0xb7)][_0x75f3ff(0xfe)](),this[_0x75f3ff(0xb1)](new _0x46019d(_0x75f3ff(0x97),this,this[_0x75f3ff(0xd3)]?.[_0x75f3ff(0xd5)]));break;case _0x75f3ff(0xd6):this[_0x75f3ff(0xb7)][_0x75f3ff(0x121)](),this[_0x75f3ff(0xb1)](new _0x46019d(_0x75f3ff(0xca),this,this[_0x75f3ff(0xd3)]?.[_0x75f3ff(0xd5)]));break;case _0x75f3ff(0xeb):this[_0x75f3ff(0xd3)]&&this[_0x75f3ff(0xd3)][_0x75f3ff(0xc1)]>0x0?setTimeout(()=>{const _0x48ab39=_0x75f3ff;this[_0x48ab39(0xd3)]?.[_0x48ab39(0xe8)]();},0x0):this[_0x75f3ff(0x116)](!0x0);}_0x75f3ff(0xd1)!==_0x1ba99d[_0x75f3ff(0x114)]&&_0x75f3ff(0xd6)!==_0x1ba99d[_0x75f3ff(0x114)]&&_0x75f3ff(0xe9)!==_0x1ba99d[_0x75f3ff(0x114)]||this[_0x75f3ff(0xd3)]?.[_0x75f3ff(0xf9)]();}),this[_0x5ad856(0xd3)]['on'](_0x5ad856(0x13a),(_0x153cef,_0x165fdb)=>{const _0xdaeea0=_0x5ad856;if(!this[_0xdaeea0(0xd3)])throw new _0x46019d(_0xdaeea0(0x11e),this);const _0x264475=this[_0xdaeea0(0x12f)][_0xdaeea0(0xfd)](_0x165fdb[_0xdaeea0(0xbb)][_0xdaeea0(0x108)],_0x165fdb[_0xdaeea0(0xbb)][_0xdaeea0(0xf2)]);_0x165fdb[_0xdaeea0(0x110)][_0xdaeea0(0xa6)](_0x165fdb[_0xdaeea0(0xbb)]['id'],_0x264475);}),this[_0x5ad856(0xd3)]['on'](_0x5ad856(0xb0),(_0x355c57,_0x3efc8)=>{const _0x88265a=_0x5ad856;for(const _0x303526 of _0x3efc8[_0x88265a(0xf4)])this[_0x88265a(0xb7)][_0x88265a(0x12e)](_0x303526);this[_0x88265a(0x12f)][_0x88265a(0xac)](_0x3efc8[_0x88265a(0xf4)],_0x3efc8[_0x88265a(0x110)][_0x88265a(0x13c)]);}),this[_0x5ad856(0xd3)]['on'](_0x5ad856(0x93),(_0xc1c718,_0x898075)=>{const _0xf2766e=_0x5ad856;this[_0xf2766e(0xb7)][_0xf2766e(0x146)](_0x898075[_0xf2766e(0x9c)]['id'],_0x898075[_0xf2766e(0x114)]);}),this[_0x5ad856(0xd3)]['on'](_0x5ad856(0xee),(_0x26fbcb,_0x4ecb66)=>{const _0x5d3560=_0x5ad856;this[_0x5d3560(0xb7)][_0x5d3560(0xdb)](_0x4ecb66[_0x5d3560(0x9c)]['id']);const _0x107fe1=this[_0x5d3560(0x12f)][_0x5d3560(0x135)](_0x4ecb66[_0x5d3560(0x9c)]['id']);if(!_0x107fe1)return;if(_0x5d3560(0x100)===this[_0x5d3560(0x9d)]){const _0x43eea7=this[_0x5d3560(0xb7)][_0x5d3560(0x124)](_0x4ecb66[_0x5d3560(0x9c)]['id']);_0x43eea7&&_0x1df496(_0x43eea7[_0x5d3560(0xa5)](_0x5d3560(0xc6))||_0x43eea7);}else{if(_0x5d3560(0x12c)===this[_0x5d3560(0x9d)]){const _0x1d83d0={'target':_0x107fe1[_0x5d3560(0x11b)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x17216b(_0x1d83d0);}}const _0x2416ca=this[_0x5d3560(0x12f)][_0x5d3560(0xb2)]();this[_0x5d3560(0xb7)][_0x5d3560(0x137)](_0x4ecb66[_0x5d3560(0x9c)],_0x107fe1[_0x5d3560(0x11b)],void 0x0,_0x5d3560(0x13e),_0x2416ca?.[_0x5d3560(0xe1)]?.[_0x5d3560(0x13b)]?.[_0x5d3560(0x117)](),_0x2416ca?.['ui']?.[_0x5d3560(0xf3)]);}),this[_0x5ad856(0xd3)]['on'](_0x5ad856(0x112),()=>{const _0x41d62e=_0x5ad856;this[_0x41d62e(0xb7)][_0x41d62e(0x10b)](),this[_0x41d62e(0xb7)][_0x41d62e(0x98)]();});try{await this[_0x5ad856(0xd3)][_0x5ad856(0x132)]();}catch(_0x10a0f5){_0x10a0f5 instanceof Error&&_0x10a0f5[_0x5ad856(0x11d)][_0x5ad856(0xba)](_0x5ad856(0xb3))||(_0x10a0f5 instanceof _0x46019d?this[_0x5ad856(0xb1)](_0x10a0f5):this[_0x5ad856(0xb1)](new _0x46019d(_0x5ad856(0x13d),this,{'error':_0x10a0f5})));}}else this[_0x5ad856(0xb1)](new _0x46019d(_0x5ad856(0xc9),this,{'checkId':_0x4dc67d['id']}));}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0x11f),()=>{const _0x45bb19=_0x5c3a55;this[_0x45bb19(0x116)]();}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0x123),()=>{const _0x15fb34=_0x5c3a55;this[_0x15fb34(0x116)](!0x0);}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0xc7),()=>{const _0x2680db=_0x5c3a55;this[_0x2680db(0xd3)]&&this[_0x2680db(0xd3)][_0x2680db(0xf1)]();}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0xd9),()=>{const _0x1719e1=_0x5c3a55;this[_0x1719e1(0x116)](!0x0);}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0x11c),()=>{const _0x2c5024=_0x5c3a55;if(!this[_0x2c5024(0xd3)])return;const _0x34992a=this[_0x2c5024(0xd3)][_0x2c5024(0xa9)]();_0x34992a[_0x2c5024(0xc0)]&&(this[_0x2c5024(0x12f)][_0x2c5024(0x9a)](_0x34992a[_0x2c5024(0xdc)](_0x84309d=>_0x84309d['id'])),this[_0x2c5024(0xd3)][_0x2c5024(0xb4)](),this[_0x2c5024(0xd3)][_0x2c5024(0xf9)]());}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0xb6),(_0x1354da,_0x2b9af9)=>{const _0x270967=_0x5c3a55;this[_0x270967(0xd3)]&&this[_0x270967(0xd3)][_0x270967(0x122)](_0x2b9af9['id'])&&(this[_0x270967(0x12f)][_0x270967(0x9a)]([_0x2b9af9['id']]),this[_0x270967(0xd3)][_0x270967(0x10e)](_0x2b9af9['id']),this[_0x270967(0xb7)][_0x270967(0x98)](),this[_0x270967(0xd3)][_0x270967(0xf9)](_0x2b9af9['id']));}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0x128),(_0x261c92,_0x313c9a)=>{const _0x494a0b=_0x5c3a55;this[_0x494a0b(0xd3)]&&this[_0x494a0b(0xd3)][_0x494a0b(0x122)](_0x313c9a['id'])&&(this[_0x494a0b(0x12f)][_0x494a0b(0x96)](_0x313c9a['id']),this[_0x494a0b(0xd3)][_0x494a0b(0x94)](_0x313c9a['id']),this[_0x494a0b(0xb7)][_0x494a0b(0x98)](),this[_0x494a0b(0xd3)][_0x494a0b(0xf9)](_0x313c9a['id']));}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0x10f),(_0x9cccf,_0x5d4a75)=>{const _0x2becea=_0x5c3a55;this[_0x2becea(0xd4)]=_0x5d4a75['on'],this[_0x2becea(0xfa)](this[_0x2becea(0xd4)]);}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0xa8),async()=>{const _0x19f339=_0x5c3a55;this[_0x19f339(0xd3)]&&(this[_0x19f339(0x12f)][_0x19f339(0xce)](),this[_0x19f339(0xd3)][_0x19f339(0x10d)](this[_0x19f339(0x12f)][_0x19f339(0xa3)]()),await this[_0x19f339(0xd3)][_0x19f339(0x115)]());}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0xe2),(_0x2d9513,_0xa7a3cf)=>{const _0x47a64c=_0x5c3a55;this[_0x47a64c(0xd3)]&&(this[_0x47a64c(0x9d)]=_0x47a64c(0x12c),this[_0x47a64c(0xd3)][_0x47a64c(0xe2)](_0xa7a3cf['id']));}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0xb7)],_0x5c3a55(0xae),()=>{const _0x490eab=_0x5c3a55;this[_0x490eab(0xd3)]&&this[_0x490eab(0xd3)][_0x490eab(0xae)]();}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0x12f)][_0x5c3a55(0xf6)],_0x5c3a55(0xb9),(_0x14f2f2,_0x1f09a4)=>{const _0x1ac642=_0x5c3a55;if(!this[_0x1ac642(0xd3)])return;this[_0x1ac642(0x9d)]=_0x1ac642(0x100),this[_0x1ac642(0xd3)][_0x1ac642(0xe2)](_0x1f09a4[_0x1ac642(0xb8)]);const _0x41de88=this[_0x1ac642(0xd3)][_0x1ac642(0x101)](_0x1f09a4[_0x1ac642(0xb8)]);if(!_0x41de88)return;const _0x3d0e4f=this[_0x1ac642(0x12f)][_0x1ac642(0xb2)]();this[_0x1ac642(0xb7)][_0x1ac642(0x137)](_0x41de88,_0x1f09a4[_0x1ac642(0xbc)],_0x1f09a4[_0x1ac642(0x9b)],_0x1ac642(0x13e),_0x3d0e4f?.[_0x1ac642(0xe1)]?.[_0x1ac642(0x13b)]?.[_0x1ac642(0x117)](),_0x3d0e4f?.['ui']?.[_0x1ac642(0xf3)]);}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0x12f)][_0x5c3a55(0xf6)],_0x5c3a55(0x99),(_0x15821f,_0x128885)=>{const _0x12f33a=_0x5c3a55;if(!this[_0x12f33a(0xd3)])return;if(this[_0x12f33a(0xd3)][_0x12f33a(0xa7)]())return;const _0x3e45ff=this[_0x12f33a(0xd3)][_0x12f33a(0x101)](_0x128885[_0x12f33a(0xb8)]);if(!_0x3e45ff)return;const _0x3a73f5=this[_0x12f33a(0x12f)][_0x12f33a(0xb2)]();this[_0x12f33a(0xb7)][_0x12f33a(0x137)](_0x3e45ff,_0x128885[_0x12f33a(0xbc)],_0x128885[_0x12f33a(0x9b)],_0x12f33a(0x126),_0x3a73f5?.[_0x12f33a(0xe1)]?.[_0x12f33a(0x13b)]?.[_0x12f33a(0x117)](),_0x3a73f5?.['ui']?.[_0x12f33a(0xf3)]);}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0x12f)][_0x5c3a55(0xf6)],_0x5c3a55(0xdf),()=>{const _0x26d8ff=_0x5c3a55;if(!this[_0x26d8ff(0xd3)])return;this[_0x26d8ff(0xd3)][_0x26d8ff(0xa7)]()||this[_0x26d8ff(0xb7)][_0x26d8ff(0x98)]();}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0x12f)][_0x5c3a55(0xf6)],_0x5c3a55(0x148),(_0x2ad2cb,_0x2a6e3f)=>{const _0x48e31a=_0x5c3a55;this[_0x48e31a(0xd3)]&&this[_0x48e31a(0xd3)][_0x48e31a(0x134)](_0x2a6e3f[_0x48e31a(0xb8)]);}),this[_0x5c3a55(0x109)](this[_0x5c3a55(0x12f)][_0x5c3a55(0xf6)],_0x5c3a55(0xcb),(_0x165053,_0x515bce)=>{const _0x3d3262=_0x5c3a55;this[_0x3d3262(0xd3)]&&this[_0x3d3262(0xd3)][_0x3d3262(0xad)](_0x515bce[_0x3d3262(0xb8)]);});}[_0x41d819(0x116)](_0x425f99=!0x1){const _0x22ddb1=_0x41d819;this[_0x22ddb1(0xd3)]&&(this[_0x22ddb1(0xd3)][_0x22ddb1(0xaa)]||this[_0x22ddb1(0xd3)][_0x22ddb1(0xf9)](),this[_0x22ddb1(0xd3)][_0x22ddb1(0x118)](),this[_0x22ddb1(0xd3)][_0x22ddb1(0xf1)](),this[_0x22ddb1(0xd3)]=void 0x0),_0x425f99&&this[_0x22ddb1(0xb7)][_0x22ddb1(0x140)](),this[_0x22ddb1(0x12f)][_0x22ddb1(0xce)](),this[_0x22ddb1(0x12f)][_0x22ddb1(0x10a)](),this[_0x22ddb1(0x9d)]=null;const _0x57b0eb=this[_0x22ddb1(0x12f)][_0x22ddb1(0xb2)]();_0x57b0eb&&_0x57b0eb[_0x22ddb1(0xe1)][_0x22ddb1(0x13b)][_0x22ddb1(0x9c)](_0x19bc1c=>{const _0x1e33aa=_0x22ddb1,_0x2e4983=_0x57b0eb[_0x1e33aa(0xe1)][_0x1e33aa(0x13b)][_0x1e33aa(0xe4)][_0x1e33aa(0xa0)]();_0x19bc1c[_0x1e33aa(0xc5)](_0x1e33aa(0x127),_0x2e4983),_0x19bc1c[_0x1e33aa(0xc5)](_0x1e33aa(0x138),_0x2e4983);});}[_0x41d819(0xfa)](_0x448a8e){const _0x443eab=_0x41d819,_0x24f245=this[_0x443eab(0x12f)][_0x443eab(0xb2)]();_0x448a8e?this[_0x443eab(0xb7)][_0x443eab(0xd8)]():this[_0x443eab(0xb7)][_0x443eab(0x129)](),_0x24f245&&_0x24f245[_0x443eab(0xe1)][_0x443eab(0x13b)][_0x443eab(0x9c)](_0x238676=>{const _0x5c330c=_0x443eab,_0x4fd5fd=_0x24f245[_0x5c330c(0xe1)][_0x5c330c(0x13b)][_0x5c330c(0xe4)][_0x5c330c(0xa0)]();_0x238676[_0x5c330c(0xc5)](_0x5c330c(0x127),_0x4fd5fd),_0x238676[_0x5c330c(0xc5)](_0x5c330c(0x138),_0x4fd5fd),_0x238676[_0x5c330c(0xc3)](_0x448a8e?_0x5c330c(0x127):_0x5c330c(0x138),_0x4fd5fd);});}[_0x41d819(0x130)](_0x335bd6){const _0x26944a=_0x41d819;return _0x335bd6[_0x26944a(0xdc)](_0x4935df=>{const _0x128a38=_0x26944a,_0x1bfcf0=_0x128a38(0xbe)+_0x4935df['id'][_0x128a38(0x119)]()[_0x128a38(0x141)]('-','_'),_0x1a0f98={..._0x4935df,'title':this[_0x128a38(0xc4)](_0x1bfcf0+_0x128a38(0xe5),_0x4935df[_0x128a38(0x145)]),'description':this[_0x128a38(0xc4)](_0x1bfcf0+_0x128a38(0xab),_0x4935df[_0x128a38(0x105)])};return _0x4935df[_0x128a38(0x11a)]&&(_0x1a0f98[_0x128a38(0x11a)]=_0x4935df[_0x128a38(0x11a)][_0x128a38(0xdc)](_0x1b2390=>({..._0x1b2390,'label':this[_0x128a38(0xc4)](_0x1bfcf0+_0x128a38(0xd0),_0x1b2390[_0x128a38(0xa4)]||''),'data':_0x1b2390[_0x128a38(0x95)]?_0x1b2390[_0x128a38(0x95)][_0x128a38(0xdc)](_0x15ad5a=>({..._0x15ad5a,'label':this[_0x128a38(0xc4)](_0x1bfcf0+_0x128a38(0x136)+_0x15ad5a['id'][_0x128a38(0x119)](),_0x15ad5a[_0x128a38(0xa4)])})):void 0x0}))),_0x1a0f98;});}[_0x41d819(0xc4)](_0x5449d9,_0xa8a3ed){const _0x1e33ab=_0x41d819,_0x241b23=this[_0x1e33ab(0xec)][_0x1e33ab(0x111)],_0x42abbc=_0x199b99(_0x241b23,_0x5449d9);return _0x42abbc===_0x5449d9?_0xa8a3ed:_0x42abbc;}[_0x41d819(0xb1)](_0x2c42b4){const _0x3d6b9a=_0x41d819;_0x388658(_0x2c42b4[_0x3d6b9a(0x11d)]),_0x2c42b4[_0x3d6b9a(0x11d)][_0x3d6b9a(0xa2)](_0x3d6b9a(0x131))?this[_0x3d6b9a(0xb7)][_0x3d6b9a(0xb5)]():this[_0x3d6b9a(0xb7)][_0x3d6b9a(0xfe)]();}}
23
+ const _0x254020=_0x47bc;(function(_0xdcdbdc,_0x1acc19){const _0x34d1df=_0x47bc,_0x21509e=_0xdcdbdc();while(!![]){try{const _0x19747e=-parseInt(_0x34d1df(0x1f8))/0x1+parseInt(_0x34d1df(0x1ee))/0x2+-parseInt(_0x34d1df(0x218))/0x3+-parseInt(_0x34d1df(0x1e5))/0x4+-parseInt(_0x34d1df(0x24c))/0x5*(parseInt(_0x34d1df(0x231))/0x6)+parseInt(_0x34d1df(0x285))/0x7*(-parseInt(_0x34d1df(0x267))/0x8)+parseInt(_0x34d1df(0x1d5))/0x9*(parseInt(_0x34d1df(0x238))/0xa);if(_0x19747e===_0x1acc19)break;else _0x21509e['push'](_0x21509e['shift']());}catch(_0x5cbf0e){_0x21509e['push'](_0x21509e['shift']());}}}(_0x1ae0,0x83db7));import{ContextPlugin as _0x5c0a29}from'ckeditor5/src/core.js';import{CKEditorError as _0x22d42b,logError as _0x1de24d,scrollAncestorsToShowTarget as _0x1a4e90,scrollViewportToShowTarget as _0x3089a5}from'ckeditor5/src/utils.js';import{AIConnector as _0xadae66}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x151f61}from'./model/aireviewchecklist.js';function _0x1ae0(){const _0x165968=['_changeActivationSource','get','_OPTIONS_DATA_','49MxOJud','find','ai.reviewMode.translations','ai-review-mode-models-unable-to-retrieve','models','getDocumentData','markChangeAsOutdated','showGeneralResultsErrorView','data','243LemfbR','changeMarkerRemoved','markChangeAsPending','ai-review-mode-source-check-not-found','getDomRoot','changeMarkerRestored','reviewCheckResultDeactivated','showGeneralReviewModeErrorView','listenTo','_onReviewModeRunLeave','viewportOffset','closest','length','changes','_aiReviewCheckList','documentData','1893616tLRdib','changeId','hover','removeCheckById','addClass','abortReviewStream','result','runReviewCheck','model','585604FuqBnc','markAllChangesAsAccepted','contentNew','domEvent','forceReadyState','leaveReviewMode','map','toUpperCase','message','_TITLE','543928gBoRMR','AIReviewModeController','updateDocumentData','showChunkErrorView','reviewCheckResultChangeStatusUpdated','getCheckById','isAnyChangeActivated','_DESCRIPTION','changeMarkerBlurred','showReviewCheckList','label','AIConnector','ck-ai-review-mode-diff','_onDiffChange','view','click','getChangeById','error-chunk','showReviewCompletedView','domElement','stopListening','updateChangeState','_OPTIONS_LABEL','isChangeActive','ai-review-mode-check-run-chunk-error','params','getActiveChanges','isOfficialPlugin','AIReviewModeUI','hasModifications','aborted','includes','543060paadnk','isCustom','prompt','resetActiveStateInResults','getRoot','addResultChanges','source','deactivateChange','diffContent','acceptAllChanges','title','reviewCheckResultAdded','_aiConnector','replaceAll','showActionsWhenResultIsReady','showNoChangesView','AIReviewModeEditing','ready','changeMarkerClick','markChangeAsAccepted','plugins','setCheckResultTitle','pluginName','switchToEdit','_currentReviewCheckRun','1224150NSUjzg','rejectChange','.ck-ai-review-mode__check-run-result','acceptChange','status','setAvailableChecks','_isDiffOn','968420jIAIFj','applyChange','reviewCheckResultActivated','toggleDiff','_logError','change','ai-review-mode-no-current-check-run','sendRating','hideDiffInBalloon','getAll','removeClass','custom','finishReview','finished','ai-review-mode-check-run-failed','processedResultsCount','ai-review-mode-check-run-general-error','showCheckRunResult','content','context','10EInCXb','error-general','switchToReadOnly','getChangeElement','getMarkerElementForChange','loading','start','locale','dismissChange','currentError','contentInitial','showChangeBalloon','showDiffInBalloon','config','options','changeMarkerHovered','retryReview','getReviewCheckList','markChangePositionInEditorContent','_translateReviewChecks','translate','editing','requires','markerElement','clearAllMarkers','_aiReviewModeEditing','hideChangeBalloon','869768hKubEe','emitter','setActiveStateInResults','restart','showCheckRunResults','ck-ai-review-mode-highlights','ai-request-aborted','_getTranslationWithDefault','leaveReviewModeResultList','description','args','checks','init','getEditor','unmodified','panel','subTitle','abort','_aiReviewModeUi','markChangeAsRejected','startsWith','AI_REVIEW_CHECK_','isPremiumPlugin','reviewCheckResultReady','reviewCheckRunUpdated','activateChange','document'];_0x1ae0=function(){return _0x165968;};return _0x1ae0();}import{AIReviewSystemCheckRun as _0x3bbc71}from'./model/aireviewsystemcheckrun.js';function _0x47bc(_0x21cae4,_0x533c07){const _0x1ae055=_0x1ae0();return _0x47bc=function(_0x47bc72,_0x262d07){_0x47bc72=_0x47bc72-0x1d0;let _0x198cf2=_0x1ae055[_0x47bc72];return _0x198cf2;},_0x47bc(_0x21cae4,_0x533c07);}import{AIReviewCustomCheckRun as _0x148ff0}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4c2a34}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x5b66f0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x4ab075}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x5c0a29{[_0x254020(0x224)];[_0x254020(0x279)];[_0x254020(0x265)];[_0x254020(0x1e3)];[_0x254020(0x230)];[_0x254020(0x237)]=!0x1;[_0x254020(0x282)]=null;static get[_0x254020(0x262)](){return[_0xadae66];}static get[_0x254020(0x22e)](){const _0x858fd1=_0x254020;return _0x858fd1(0x1f9);}static get[_0x254020(0x213)](){return!0x0;}static get[_0x254020(0x27d)](){return!0x0;}async[_0x254020(0x273)](){const _0x5d5e4e=_0x254020;this[_0x5d5e4e(0x224)]=this[_0x5d5e4e(0x24b)][_0x5d5e4e(0x22c)][_0x5d5e4e(0x283)](_0x5d5e4e(0x203)),this[_0x5d5e4e(0x279)]=this[_0x5d5e4e(0x24b)][_0x5d5e4e(0x22c)][_0x5d5e4e(0x283)](_0x5d5e4e(0x214)),this[_0x5d5e4e(0x265)]=this[_0x5d5e4e(0x24b)][_0x5d5e4e(0x22c)][_0x5d5e4e(0x283)](_0x5d5e4e(0x228));const _0x410c48=this[_0x5d5e4e(0x24b)][_0x5d5e4e(0x259)][_0x5d5e4e(0x283)](_0x5d5e4e(0x287));if(_0x410c48){for(const _0x1b9708 of _0x5b66f0)_0x5d5e4e(0x260)===_0x1b9708['id']&&(_0x1b9708[_0x5d5e4e(0x25a)][0x0][_0x5d5e4e(0x1d4)]=_0x410c48);}const _0x28ea0b=this[_0x5d5e4e(0x25f)](_0x5b66f0);this[_0x5d5e4e(0x1e3)]=new _0x151f61(_0x28ea0b);const _0x40d9e2=this[_0x5d5e4e(0x1e3)][_0x5d5e4e(0x272)][_0x5d5e4e(0x286)](_0xc6d39=>_0x5d5e4e(0x243)===_0xc6d39['id']);if(_0x40d9e2)try{_0x40d9e2[_0x5d5e4e(0x1d0)]=await new _0x4c2a34({'connector':this[_0x5d5e4e(0x224)],'locale':this[_0x5d5e4e(0x24b)][_0x5d5e4e(0x253)]})[_0x5d5e4e(0x241)]();}catch(_0x2e0360){this[_0x5d5e4e(0x1e3)][_0x5d5e4e(0x1e8)](_0x5d5e4e(0x243)),this[_0x5d5e4e(0x23c)](new _0x22d42b(_0x5d5e4e(0x288),this,{'error':_0x2e0360}));}this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x25d),()=>{const _0x3305c7=_0x5d5e4e;this[_0x3305c7(0x279)][_0x3305c7(0x236)](this[_0x3305c7(0x1e3)][_0x3305c7(0x272)]);}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x1ec),async(_0x11c8ff,_0x2a3a82)=>{const _0x3753a7=_0x5d5e4e,_0x32670c=this[_0x3753a7(0x1e3)][_0x3753a7(0x1fd)](_0x2a3a82['id']);if(_0x32670c){this[_0x3753a7(0x205)](this[_0x3753a7(0x237)]),_0x2a3a82[_0x3753a7(0x219)]?this[_0x3753a7(0x230)]=new _0x148ff0(_0x2a3a82[_0x3753a7(0x271)][_0x3753a7(0x21a)],_0x2a3a82[_0x3753a7(0x271)][_0x3753a7(0x1ed)],this[_0x3753a7(0x265)][_0x3753a7(0x1d1)](),_0x32670c,this[_0x3753a7(0x224)]):this[_0x3753a7(0x230)]=new _0x3bbc71(this[_0x3753a7(0x265)][_0x3753a7(0x1d1)](),_0x32670c,this[_0x3753a7(0x224)],_0x2a3a82[_0x3753a7(0x211)],_0x2a3a82[_0x3753a7(0x271)]),this[_0x3753a7(0x279)][_0x3753a7(0x22d)](this[_0x3753a7(0x230)][_0x3753a7(0x222)],this[_0x3753a7(0x230)][_0x3753a7(0x277)]),this[_0x3753a7(0x230)]['on'](_0x3753a7(0x27f),(_0x5f308f,_0x335e4b)=>{const _0x303218=_0x3753a7;switch(_0x335e4b[_0x303218(0x235)]){case _0x303218(0x1d4):case _0x303218(0x251):this[_0x303218(0x265)][_0x303218(0x24e)](),this[_0x303218(0x279)][_0x303218(0x26b)](_0x335e4b);break;case _0x303218(0x245):this[_0x303218(0x279)][_0x303218(0x20a)]();break;case _0x303218(0x229):this[_0x303218(0x279)][_0x303218(0x226)]();break;case _0x303218(0x275):this[_0x303218(0x279)][_0x303218(0x227)]();break;case _0x303218(0x24d):this[_0x303218(0x279)][_0x303218(0x1d3)](),this[_0x303218(0x23c)](new _0x22d42b(_0x303218(0x248),this,this[_0x303218(0x230)]?.[_0x303218(0x255)]));break;case _0x303218(0x209):this[_0x303218(0x279)][_0x303218(0x1fb)](),this[_0x303218(0x23c)](new _0x22d42b(_0x303218(0x210),this,this[_0x303218(0x230)]?.[_0x303218(0x255)]));break;case _0x303218(0x216):this[_0x303218(0x230)]&&this[_0x303218(0x230)][_0x303218(0x247)]>0x0?setTimeout(()=>{const _0x107871=_0x303218;this[_0x107871(0x230)]?.[_0x107871(0x1f2)]();},0x0):this[_0x303218(0x1de)](!0x0);}_0x303218(0x229)!==_0x335e4b[_0x303218(0x235)]&&_0x303218(0x209)!==_0x335e4b[_0x303218(0x235)]&&_0x303218(0x24d)!==_0x335e4b[_0x303218(0x235)]||this[_0x303218(0x230)]?.[_0x303218(0x23f)]();}),this[_0x3753a7(0x230)]['on'](_0x3753a7(0x223),(_0x26243f,_0x1ca362)=>{const _0x355337=_0x3753a7;if(!this[_0x355337(0x230)])throw new _0x22d42b(_0x355337(0x23e),this);const _0x3b7cd1=this[_0x355337(0x265)][_0x355337(0x220)](_0x1ca362[_0x355337(0x1eb)][_0x355337(0x256)],_0x1ca362[_0x355337(0x1eb)][_0x355337(0x1f0)]);_0x1ca362[_0x355337(0x21e)][_0x355337(0x21d)](_0x1ca362[_0x355337(0x1eb)]['id'],_0x3b7cd1);}),this[_0x3753a7(0x230)]['on'](_0x3753a7(0x27e),(_0x5eb80c,_0x201492)=>{const _0x4729fa=_0x3753a7;for(const _0x5b5204 of _0x201492[_0x4729fa(0x1e2)])this[_0x4729fa(0x279)][_0x4729fa(0x249)](_0x5b5204);this[_0x4729fa(0x265)][_0x4729fa(0x25e)](_0x201492[_0x4729fa(0x1e2)],_0x201492[_0x4729fa(0x21e)][_0x4729fa(0x1e4)]);}),this[_0x3753a7(0x230)]['on'](_0x3753a7(0x1fc),(_0x521a85,_0x4ee298)=>{const _0x2b58db=_0x3753a7;this[_0x2b58db(0x279)][_0x2b58db(0x20d)](_0x4ee298[_0x2b58db(0x23d)]['id'],_0x4ee298[_0x2b58db(0x235)]);}),this[_0x3753a7(0x230)]['on'](_0x3753a7(0x23a),(_0x5b5673,_0x2b3120)=>{const _0x261a17=_0x3753a7;this[_0x261a17(0x279)][_0x261a17(0x269)](_0x2b3120[_0x261a17(0x23d)]['id']);const _0x52108f=this[_0x261a17(0x265)][_0x261a17(0x250)](_0x2b3120[_0x261a17(0x23d)]['id']);if(!_0x52108f)return;if(_0x261a17(0x24a)===this[_0x261a17(0x282)]){const _0x705efa=this[_0x261a17(0x279)][_0x261a17(0x24f)](_0x2b3120[_0x261a17(0x23d)]['id']);_0x705efa&&_0x1a4e90(_0x705efa[_0x261a17(0x1e0)](_0x261a17(0x233))||_0x705efa);}else{if(_0x261a17(0x276)===this[_0x261a17(0x282)]){const _0xee6340={'target':_0x52108f[_0x261a17(0x20b)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x3089a5(_0xee6340);}}const _0x3a4cdf=this[_0x261a17(0x265)][_0x261a17(0x274)]();this[_0x261a17(0x279)][_0x261a17(0x257)](_0x2b3120[_0x261a17(0x23d)],_0x52108f[_0x261a17(0x20b)],void 0x0,_0x261a17(0x207),_0x3a4cdf?.[_0x261a17(0x261)]?.[_0x261a17(0x206)]?.[_0x261a17(0x1d9)](),_0x3a4cdf?.['ui']?.[_0x261a17(0x1df)]);}),this[_0x3753a7(0x230)]['on'](_0x3753a7(0x1db),()=>{const _0x238213=_0x3753a7;this[_0x238213(0x279)][_0x238213(0x21b)](),this[_0x238213(0x279)][_0x238213(0x266)]();});try{await this[_0x3753a7(0x230)][_0x3753a7(0x252)]();}catch(_0x50d503){_0x50d503 instanceof Error&&_0x50d503[_0x3753a7(0x1f6)][_0x3753a7(0x217)](_0x3753a7(0x26d))||(_0x50d503 instanceof _0x22d42b?this[_0x3753a7(0x23c)](_0x50d503):this[_0x3753a7(0x23c)](new _0x22d42b(_0x3753a7(0x246),this,{'error':_0x50d503})));}}else this[_0x3753a7(0x23c)](new _0x22d42b(_0x3753a7(0x1d8),this,{'checkId':_0x2a3a82['id']}));}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x1f3),()=>{const _0x2ad997=_0x5d5e4e;this[_0x2ad997(0x1de)]();}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x26f),()=>{const _0x58b3fd=_0x5d5e4e;this[_0x58b3fd(0x1de)](!0x0);}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x1ea),()=>{const _0x301032=_0x5d5e4e;this[_0x301032(0x230)]&&this[_0x301032(0x230)][_0x301032(0x278)]();}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x244),()=>{const _0x33ca6d=_0x5d5e4e;this[_0x33ca6d(0x1de)](!0x0);}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x221),()=>{const _0x1b9acc=_0x5d5e4e;if(!this[_0x1b9acc(0x230)])return;const _0x1e72cc=this[_0x1b9acc(0x230)][_0x1b9acc(0x212)]();_0x1e72cc[_0x1b9acc(0x1e1)]&&(this[_0x1b9acc(0x265)][_0x1b9acc(0x239)](_0x1e72cc[_0x1b9acc(0x1f4)](_0x1243ec=>_0x1243ec['id'])),this[_0x1b9acc(0x230)][_0x1b9acc(0x1ef)](),this[_0x1b9acc(0x230)][_0x1b9acc(0x23f)]());}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x234),(_0x27e8a2,_0x1f3bcf)=>{const _0x24604e=_0x5d5e4e;this[_0x24604e(0x230)]&&this[_0x24604e(0x230)][_0x24604e(0x20f)](_0x1f3bcf['id'])&&(this[_0x24604e(0x265)][_0x24604e(0x239)]([_0x1f3bcf['id']]),this[_0x24604e(0x230)][_0x24604e(0x22b)](_0x1f3bcf['id']),this[_0x24604e(0x279)][_0x24604e(0x266)](),this[_0x24604e(0x230)][_0x24604e(0x23f)](_0x1f3bcf['id']));}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x254),(_0x414a78,_0x11d2b3)=>{const _0x142933=_0x5d5e4e;this[_0x142933(0x230)]&&this[_0x142933(0x230)][_0x142933(0x20f)](_0x11d2b3['id'])&&(this[_0x142933(0x265)][_0x142933(0x232)](_0x11d2b3['id']),this[_0x142933(0x230)][_0x142933(0x27a)](_0x11d2b3['id']),this[_0x142933(0x279)][_0x142933(0x266)](),this[_0x142933(0x230)][_0x142933(0x23f)](_0x11d2b3['id']));}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x23b),(_0xb58eab,_0x47c845)=>{const _0x28d835=_0x5d5e4e;this[_0x28d835(0x237)]=_0x47c845['on'],this[_0x28d835(0x205)](this[_0x28d835(0x237)]);}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x25c),async()=>{const _0x58cb0f=_0x5d5e4e;this[_0x58cb0f(0x230)]&&(this[_0x58cb0f(0x265)][_0x58cb0f(0x264)](),this[_0x58cb0f(0x230)][_0x58cb0f(0x1fa)](this[_0x58cb0f(0x265)][_0x58cb0f(0x1d1)]()),await this[_0x58cb0f(0x230)][_0x58cb0f(0x26a)]());}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x280),(_0x4cedf7,_0x461405)=>{const _0x16b19f=_0x5d5e4e;this[_0x16b19f(0x230)]&&(this[_0x16b19f(0x282)]=_0x16b19f(0x276),this[_0x16b19f(0x230)][_0x16b19f(0x280)](_0x461405['id']));}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x279)],_0x5d5e4e(0x21f),()=>{const _0x14b82b=_0x5d5e4e;this[_0x14b82b(0x230)]&&this[_0x14b82b(0x230)][_0x14b82b(0x21f)]();}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x265)][_0x5d5e4e(0x268)],_0x5d5e4e(0x22a),(_0x1aaade,_0x3a47be)=>{const _0x3aee3c=_0x5d5e4e;if(!this[_0x3aee3c(0x230)])return;this[_0x3aee3c(0x282)]=_0x3aee3c(0x24a),this[_0x3aee3c(0x230)][_0x3aee3c(0x280)](_0x3a47be[_0x3aee3c(0x1e6)]);const _0x1ba387=this[_0x3aee3c(0x230)][_0x3aee3c(0x208)](_0x3a47be[_0x3aee3c(0x1e6)]);if(!_0x1ba387)return;const _0x203cec=this[_0x3aee3c(0x265)][_0x3aee3c(0x274)]();this[_0x3aee3c(0x279)][_0x3aee3c(0x257)](_0x1ba387,_0x3a47be[_0x3aee3c(0x263)],_0x3a47be[_0x3aee3c(0x1f1)],_0x3aee3c(0x207),_0x203cec?.[_0x3aee3c(0x261)]?.[_0x3aee3c(0x206)]?.[_0x3aee3c(0x1d9)](),_0x203cec?.['ui']?.[_0x3aee3c(0x1df)]);}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x265)][_0x5d5e4e(0x268)],_0x5d5e4e(0x25b),(_0x4d97fe,_0x1b24b8)=>{const _0x159fc9=_0x5d5e4e;if(!this[_0x159fc9(0x230)])return;if(this[_0x159fc9(0x230)][_0x159fc9(0x1fe)]())return;const _0x27af24=this[_0x159fc9(0x230)][_0x159fc9(0x208)](_0x1b24b8[_0x159fc9(0x1e6)]);if(!_0x27af24)return;const _0x34272b=this[_0x159fc9(0x265)][_0x159fc9(0x274)]();this[_0x159fc9(0x279)][_0x159fc9(0x257)](_0x27af24,_0x1b24b8[_0x159fc9(0x263)],_0x1b24b8[_0x159fc9(0x1f1)],_0x159fc9(0x1e7),_0x34272b?.[_0x159fc9(0x261)]?.[_0x159fc9(0x206)]?.[_0x159fc9(0x1d9)](),_0x34272b?.['ui']?.[_0x159fc9(0x1df)]);}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x265)][_0x5d5e4e(0x268)],_0x5d5e4e(0x200),()=>{const _0x41c9a6=_0x5d5e4e;if(!this[_0x41c9a6(0x230)])return;this[_0x41c9a6(0x230)][_0x41c9a6(0x1fe)]()||this[_0x41c9a6(0x279)][_0x41c9a6(0x266)]();}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x265)][_0x5d5e4e(0x268)],_0x5d5e4e(0x1d6),(_0x20e33f,_0x3a8204)=>{const _0x5426f4=_0x5d5e4e;this[_0x5426f4(0x230)]&&this[_0x5426f4(0x230)][_0x5426f4(0x1d2)](_0x3a8204[_0x5426f4(0x1e6)]);}),this[_0x5d5e4e(0x1dd)](this[_0x5d5e4e(0x265)][_0x5d5e4e(0x268)],_0x5d5e4e(0x1da),(_0x4bcde6,_0x41aec4)=>{const _0x912ce1=_0x5d5e4e;this[_0x912ce1(0x230)]&&this[_0x912ce1(0x230)][_0x912ce1(0x1d7)](_0x41aec4[_0x912ce1(0x1e6)]);});}[_0x254020(0x1de)](_0x3387b4=!0x1){const _0x268de8=_0x254020;this[_0x268de8(0x230)]&&(this[_0x268de8(0x230)][_0x268de8(0x215)]||this[_0x268de8(0x230)][_0x268de8(0x23f)](),this[_0x268de8(0x230)][_0x268de8(0x20c)](),this[_0x268de8(0x230)][_0x268de8(0x278)](),this[_0x268de8(0x230)]=void 0x0),_0x3387b4&&this[_0x268de8(0x279)][_0x268de8(0x201)](),this[_0x268de8(0x265)][_0x268de8(0x264)](),this[_0x268de8(0x265)][_0x268de8(0x22f)](),this[_0x268de8(0x282)]=null;const _0x14893a=this[_0x268de8(0x265)][_0x268de8(0x274)]();_0x14893a&&_0x14893a[_0x268de8(0x261)][_0x268de8(0x206)][_0x268de8(0x23d)](_0x4bca38=>{const _0x1a98cb=_0x268de8,_0x52d49a=_0x14893a[_0x1a98cb(0x261)][_0x1a98cb(0x206)][_0x1a98cb(0x281)][_0x1a98cb(0x21c)]();_0x4bca38[_0x1a98cb(0x242)](_0x1a98cb(0x204),_0x52d49a),_0x4bca38[_0x1a98cb(0x242)](_0x1a98cb(0x26c),_0x52d49a);});}[_0x254020(0x205)](_0x125229){const _0x2ab4a5=_0x254020,_0xad19bf=this[_0x2ab4a5(0x265)][_0x2ab4a5(0x274)]();_0x125229?this[_0x2ab4a5(0x279)][_0x2ab4a5(0x240)]():this[_0x2ab4a5(0x279)][_0x2ab4a5(0x258)](),_0xad19bf&&_0xad19bf[_0x2ab4a5(0x261)][_0x2ab4a5(0x206)][_0x2ab4a5(0x23d)](_0x1f9b75=>{const _0x27d63b=_0x2ab4a5,_0x1c5cc9=_0xad19bf[_0x27d63b(0x261)][_0x27d63b(0x206)][_0x27d63b(0x281)][_0x27d63b(0x21c)]();_0x1f9b75[_0x27d63b(0x242)](_0x27d63b(0x204),_0x1c5cc9),_0x1f9b75[_0x27d63b(0x242)](_0x27d63b(0x26c),_0x1c5cc9),_0x1f9b75[_0x27d63b(0x1e9)](_0x125229?_0x27d63b(0x204):_0x27d63b(0x26c),_0x1c5cc9);});}[_0x254020(0x25f)](_0xc01f6c){const _0x12f81d=_0x254020;return _0xc01f6c[_0x12f81d(0x1f4)](_0x392806=>{const _0x42353b=_0x12f81d,_0x408c5c=_0x42353b(0x27c)+_0x392806['id'][_0x42353b(0x1f5)]()[_0x42353b(0x225)]('-','_'),_0x56b602={..._0x392806,'title':this[_0x42353b(0x26e)](_0x408c5c+_0x42353b(0x1f7),_0x392806[_0x42353b(0x222)]),'description':this[_0x42353b(0x26e)](_0x408c5c+_0x42353b(0x1ff),_0x392806[_0x42353b(0x270)])};return _0x392806[_0x42353b(0x25a)]&&(_0x56b602[_0x42353b(0x25a)]=_0x392806[_0x42353b(0x25a)][_0x42353b(0x1f4)](_0x4db3ca=>({..._0x4db3ca,'label':this[_0x42353b(0x26e)](_0x408c5c+_0x42353b(0x20e),_0x4db3ca[_0x42353b(0x202)]||''),'data':_0x4db3ca[_0x42353b(0x1d4)]?_0x4db3ca[_0x42353b(0x1d4)][_0x42353b(0x1f4)](_0x431729=>({..._0x431729,'label':this[_0x42353b(0x26e)](_0x408c5c+_0x42353b(0x284)+_0x431729['id'][_0x42353b(0x1f5)](),_0x431729[_0x42353b(0x202)])})):void 0x0}))),_0x56b602;});}[_0x254020(0x26e)](_0x3218d7,_0x228f93){const _0x2ecb2d=_0x254020,_0x1514d6=this[_0x2ecb2d(0x24b)][_0x2ecb2d(0x253)],_0x52fede=_0x4ab075(_0x1514d6,_0x3218d7);return _0x52fede===_0x3218d7?_0x228f93:_0x52fede;}[_0x254020(0x23c)](_0xd7217f){const _0x448ab2=_0x254020;_0x1de24d(_0xd7217f[_0x448ab2(0x1f6)]),_0xd7217f[_0x448ab2(0x1f6)][_0x448ab2(0x27b)](_0x448ab2(0x288))?this[_0x448ab2(0x279)][_0x448ab2(0x1dc)]():this[_0x448ab2(0x279)][_0x448ab2(0x1d3)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dfc02=_0x52ef;(function(_0x3802f0,_0x46d33c){const _0x55fda5=_0x52ef,_0x467acc=_0x3802f0();while(!![]){try{const _0x2610c1=parseInt(_0x55fda5(0xc7))/0x1*(-parseInt(_0x55fda5(0x144))/0x2)+parseInt(_0x55fda5(0xbc))/0x3+-parseInt(_0x55fda5(0xdc))/0x4*(-parseInt(_0x55fda5(0x14c))/0x5)+parseInt(_0x55fda5(0x14f))/0x6+parseInt(_0x55fda5(0x15b))/0x7+parseInt(_0x55fda5(0xaa))/0x8*(parseInt(_0x55fda5(0xcd))/0x9)+-parseInt(_0x55fda5(0x111))/0xa;if(_0x2610c1===_0x46d33c)break;else _0x467acc['push'](_0x467acc['shift']());}catch(_0x38edf9){_0x467acc['push'](_0x467acc['shift']());}}}(_0x1e75,0xaaba9));import{InsertOperation as _0x4718bb,MarkerOperation as _0x573b51,ModelDocumentFragment as _0x1f4f36,ModelPosition as _0x30d065,ModelRange as _0x31feb8,ModelTreeWalker as _0x3efa78,transformOperationSets as _0x4a844a}from'ckeditor5/src/engine.js';function _0x1e75(){const _0x1df110=['$documentFragment','100toCEwo','_changePositionOwnerDocument','getDomRoot','map','elements','listenTo','target','_validateMarkers','createRange','ck-ai_review-mode-marker_context-start','delete','changeMarkerHovered','remove-context','markerToElement','sort','_getMarkersDataForGroup','addMarker','warn','createRawElement','_markers','values','$graveyard','startsWith','type','suggestion:deletion:id:authorId:','getOperations','parentElement','length','data-marker-id','getDiff','getHtml','className','click','changeMarkerClick','getRoot','createText','requires','getAttribute','clone','context','rejectChange','downcast','changeMarkerBlurred','markerToHighlight','flat','markers','_getChangeContext','isOfficialPlugin','[data-id=\x22','[data-marker-id=\x22','span','processor','name','30841600EpMxJm','createUIElement','end','groupId','clear','position','ai-review-mode','exec','innerHTML','getChangedMarkers','has','operationsA','querySelector','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','ck-ai_review-mode-marker_context-end','domConverter','_eventEmitter','getPath','mouseover','parse','_setAttribute','_changePosition','keys','parent','forward','oldRange','model:$text','_hasSameTopLevelElement','index','isAtEnd','markChangePositionInEditorContent','hasClass','model','version','isTouching','removeMarker','applyChange','affectsData','ck-ai_review-mode-marker_','insertContent','_sortMarkers','_findAdjacentContextDistance','getEditor','createPositionAfter','stringify','view','changeMarkerRestored','$textProxy','relatedTarget','containsRange','for','3158JuWVGe','change','_insertMarkers','_changeRangeOwnerDocument','editing','hasContentBefore','pop','getMarkerElementForChange','180075NEQuxs','disableReadOnlyMode','newRange','4306338ZnDIsT','toView','editingDowncast','getRoots','switchToReadOnly','changeMarkerRemoved','backward','document','append','filter','nodes','hasContentAfter','5398085nIoIgD','jumpTo','ck-ai_review-mode-marker_strikethrough','childCount','getChild','_upsertDataId','_shiftOperation','includes','createDocumentFragment','concat','ck-ai_review-mode-marker_add','toData','AIReviewModeEditing','_groupAdjacentOperations','marker','addOperation','_domEmitter','forEach','batch','_clone','_changeOperationOwnerDocument','_nextDataId','getShiftedBy','_getOperationStart','remove','switchToEdit','_translateOperationToEditorContent','afterInit','_handleMarkerChanges','ck-ai_review-mode-marker_hide','from','add','suggestion-context','closest','getStart','_findMarkerElement','offsetSize','offset','toDomElement','_haveSingleTopLevelElement','deleteContent','isIntersecting','fire','_getOperationEnd','isDocumentOperation','ck-ai_review-mode-marker_context-','isPremiumPlugin','size','_createGetContentFn','push','clearAllMarkers','history','suggestion:insertion:id:authorId:','isInline','_removeChildren','differ','get','documentFragment','howMany','AIEditing','_removeAttribute','attributeToAttribute','set','getRange','start','conversion','plugins','getChanges','createSelection','baseVersion','31624BvDfVn','_createGetContextFn','pluginName','isOpening','operationsIsolated','outerHTML','rootName','every','getDocumentData','_parseMarkerName','hasAttribute','htmlWriter','remove-only','registerPostFixer','applyOperation','DocumentCompare','markerName','_appendChild','3649890iOSwei','text','path','_changeRange','No\x20element\x20found\x20for\x20ID:\x20','split','containerElement','root','emitter','remove-text','htmlProcessor','581gxgYOo','diffContent','element','viewToDom','data','dataDowncast','2493UIPaRQ','ck-ai_review-mode-marker_underline','$markedRemove','_createGetContentUsingDataIdFn','reviewmode-','insert','_haveOnlyInlineContent','ellipsisBefore','ellipsisAfter','enableReadOnlyMode','createPositionAt','getChildren','isAtStart','schema'];_0x1e75=function(){return _0x1df110;};return _0x1e75();}import{DomEmitterMixin as _0x48bbc0,EmitterMixin as _0x548432}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x1d92de}from'ckeditor5/src/core.js';import{DocumentCompare as _0x94370d,DATA_ID_MODEL_ATTRIBUTE as _0x339077,DATA_ID_VIEW_ATTRIBUTE as _0x13f95d}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x17e94d}from'../aicore/utils/geteditorfromcontext.js';function _0x52ef(_0x4642fd,_0x1c2226){const _0x1e75ea=_0x1e75();return _0x52ef=function(_0x52efc4,_0x13df5c){_0x52efc4=_0x52efc4-0x9f;let _0x41f8c4=_0x1e75ea[_0x52efc4];return _0x41f8c4;},_0x52ef(_0x4642fd,_0x1c2226);}import{AIEditing as _0xbc0f13}from'../aicore/aiediting.js';import{debounce as _0x350d60}from'es-toolkit/compat';const ge=_0x5dfc02(0xd1);export class AIReviewModeEditing extends _0x1d92de{static get[_0x5dfc02(0xac)](){const _0xa2a243=_0x5dfc02;return _0xa2a243(0x167);}static get[_0x5dfc02(0x100)](){return[_0x94370d,_0xbc0f13];}static get[_0x5dfc02(0x10b)](){return!0x0;}static get[_0x5dfc02(0x189)](){return!0x0;}[_0x5dfc02(0xef)]=new Map();[_0x5dfc02(0x16b)];[_0x5dfc02(0x121)];constructor(_0x145fcb){const _0x415161=_0x5dfc02;super(_0x145fcb),this[_0x415161(0x16b)]=new(_0x48bbc0())(),this[_0x415161(0x121)]=new(_0x548432())();}get[_0x5dfc02(0xc4)](){const _0x5de867=_0x5dfc02;return this[_0x5de867(0x121)];}[_0x5dfc02(0x176)](){const _0x35e8d5=_0x5dfc02,_0x330f01=_0x17e94d(this[_0x35e8d5(0x103)]);_0x330f01[_0x35e8d5(0xa5)][_0x35e8d5(0x143)](_0x35e8d5(0x151))[_0x35e8d5(0xe9)]({'model':ge+_0x35e8d5(0xd2),'view':(_0x346582,{writer:_0x5cf44c})=>{const _0x5a7b9e=_0x35e8d5,_0x262531=this[_0x5a7b9e(0xef)][_0x5a7b9e(0x193)](_0x346582[_0x5a7b9e(0xba)]),_0x2be3b1={'class':_0x5a7b9e(0x165),'data-marker-id':_0x346582[_0x5a7b9e(0xba)]};return _0x5cf44c[_0x5a7b9e(0x112)](_0x5a7b9e(0x10e),_0x2be3b1,function(_0x577afa){const _0x4e219a=_0x5a7b9e,_0x1a8d77=this[_0x4e219a(0x181)](_0x577afa);return _0x1a8d77[_0x4e219a(0x119)]=_0x262531?.[_0x4e219a(0xbd)]||'',_0x1a8d77;});}}),_0x330f01[_0x35e8d5(0xa5)][_0x35e8d5(0x143)](_0x35e8d5(0x151))[_0x35e8d5(0x107)]({'model':ge+_0x35e8d5(0xb6),'view':_0x52b3ff=>({'classes':_0x35e8d5(0x15d),'attributes':{'data-marker-id':_0x52b3ff[_0x35e8d5(0xba)]}})}),_0x330f01[_0x35e8d5(0xa5)][_0x35e8d5(0x143)](_0x35e8d5(0x151))[_0x35e8d5(0x107)]({'model':ge+_0x35e8d5(0xe8),'view':_0x3f872a=>({'classes':_0x35e8d5(0xce),'attributes':{'data-marker-id':_0x3f872a[_0x35e8d5(0xba)]}})}),_0x330f01[_0x35e8d5(0xa5)][_0x35e8d5(0x143)](_0x35e8d5(0x151))[_0x35e8d5(0x107)]({'model':ge+_0x35e8d5(0xc5),'view':_0x14bd38=>({'classes':_0x35e8d5(0x178),'attributes':{'data-marker-id':_0x14bd38[_0x35e8d5(0xba)]}})}),_0x330f01[_0x35e8d5(0xa5)][_0x35e8d5(0x143)](_0x35e8d5(0xcc))[_0x35e8d5(0xe9)]({'model':ge+_0x35e8d5(0x17b),'view':(_0x4259b4,{writer:_0x2b0bae})=>_0x2b0bae[_0x35e8d5(0xee)](_0x35e8d5(0x10e),{'class':_0x35e8d5(0x188)+(_0x4259b4[_0x35e8d5(0xad)]?_0x35e8d5(0xa4):_0x35e8d5(0x113))})}),_0x330f01[_0x35e8d5(0xa5)][_0x35e8d5(0x143)](_0x35e8d5(0x105))[_0x35e8d5(0xa1)]({'model':_0x339077,'view':_0x13f95d}),this[_0x35e8d5(0x16b)][_0x35e8d5(0xe1)](document,_0x35e8d5(0xfc),(_0x46e1e1,_0x459380)=>{const _0x7eb148=_0x35e8d5,_0x10df17=_0x459380[_0x7eb148(0xe2)],_0x359527=this[_0x7eb148(0x17e)](_0x10df17);if(!_0x359527)return;const _0x416ff8=_0x359527[_0x7eb148(0x101)](_0x7eb148(0xf8)),_0x13fb77=_0x416ff8[_0x7eb148(0xc1)](':')[_0x7eb148(0x14a)]()?.[_0x7eb148(0xc1)]('_')[0x0];this[_0x7eb148(0x121)][_0x7eb148(0x185)](_0x7eb148(0xfd),{'markerId':_0x416ff8,'changeId':_0x13fb77,'markerElement':_0x359527,'domEvent':_0x459380});}),this[_0x35e8d5(0x16b)][_0x35e8d5(0xe1)](document,_0x35e8d5(0x123),(_0x1c0eee,_0xa876af)=>{const _0x3699ed=_0x35e8d5,_0x5b0326=_0xa876af[_0x3699ed(0xe2)],_0x5c09dd=_0xa876af[_0x3699ed(0x141)];let _0x9f6077=this[_0x3699ed(0x17e)](_0x5b0326);if(!_0x9f6077&&_0x5c09dd&&(_0x9f6077=this[_0x3699ed(0x17e)](_0x5c09dd)),!_0x9f6077)return;const _0x21f7c1=_0x9f6077[_0x3699ed(0x101)](_0x3699ed(0xf8)),_0x208519=_0x21f7c1[_0x3699ed(0xc1)](':')[_0x3699ed(0x14a)]()?.[_0x3699ed(0xc1)]('_')[0x0];this[_0x3699ed(0x121)][_0x3699ed(0x185)](_0x3699ed(0xe7),{'changeId':_0x208519,'markerElement':_0x9f6077,'domEvent':_0xa876af});}),this[_0x35e8d5(0x16b)][_0x35e8d5(0xe1)](document,_0x35e8d5(0x123),_0x350d60((_0x15461e,_0x37a183)=>{const _0x17fc0c=_0x35e8d5,_0x99bac4=_0x37a183[_0x17fc0c(0xe2)];if(this[_0x17fc0c(0x17e)](_0x99bac4))return;_0x99bac4[_0x17fc0c(0x17c)](_0x17fc0c(0x11e))||this[_0x17fc0c(0x121)][_0x17fc0c(0x185)](_0x17fc0c(0x106));},0xc8)),_0x330f01[_0x35e8d5(0x131)][_0x35e8d5(0x156)][_0x35e8d5(0xb7)](_0x4386df=>this[_0x35e8d5(0xe3)](_0x330f01,_0x4386df)),_0x330f01[_0x35e8d5(0x131)][_0x35e8d5(0x156)]['on'](_0x35e8d5(0x145),()=>this[_0x35e8d5(0x177)](_0x330f01));}[_0x5dfc02(0xb2)](){const _0x48f1da=_0x5dfc02,_0x8922d8=this[_0x48f1da(0x103)][_0x48f1da(0xa6)][_0x48f1da(0x193)](_0x48f1da(0x9f)),_0x52a7df=_0x17e94d(this[_0x48f1da(0x103)]),_0xd82301=_0x52a7df[_0x48f1da(0x131)],_0x5061fc=new _0x1f4f36();for(const _0x203bc2 of _0xd82301[_0x48f1da(0x156)][_0x48f1da(0xfe)]()[_0x48f1da(0xd8)]()){const _0x326103=_0x203bc2[_0x48f1da(0x16e)](!0x0);_0x5061fc[_0x48f1da(0xbb)](_0x326103);}for(const _0xb49afd of _0xd82301[_0x48f1da(0x109)])_0x5061fc[_0x48f1da(0x109)][_0x48f1da(0xa2)](_0xb49afd[_0x48f1da(0x110)],this[_0x48f1da(0x147)](_0xb49afd[_0x48f1da(0xa3)]()[_0x48f1da(0x102)](),_0x5061fc));const _0x38d589=new _0x3efa78({'ignoreElementEnd':!0x0,'startPosition':_0xd82301[_0x48f1da(0xd7)](_0x5061fc,0x0)}),_0x53cfa0=new Set(),_0x3a45ae=new Map();for(const {item:_0x1f6480}of _0x38d589){if(!_0x1f6480['is'](_0x48f1da(0x140)))continue;const _0x1a70c5=_0x1f6480[_0x48f1da(0x128)];if(_0x1a70c5&&_0x1a70c5['is'](_0x48f1da(0xc9))){const _0x58e6e3=this[_0x48f1da(0x160)](_0x1a70c5,()=>_0x8922d8[_0x48f1da(0x170)](_0x53cfa0));_0x53cfa0[_0x48f1da(0x17a)](_0x58e6e3);for(const _0x4f487f of _0x1a70c5[_0x48f1da(0xd8)]())_0x4f487f['is'](_0x48f1da(0xc9))&&_0x53cfa0[_0x48f1da(0x17a)](this[_0x48f1da(0x160)](_0x4f487f,()=>_0x8922d8[_0x48f1da(0x170)](_0x53cfa0)));let _0x2240b0=_0x1a70c5;for(;_0x2240b0[_0x48f1da(0x128)]&&!_0x2240b0[_0x48f1da(0x128)]['is'](_0x48f1da(0x194));)_0x2240b0=_0x2240b0[_0x48f1da(0x128)],_0x2240b0[_0x48f1da(0xb4)](_0x339077)&&_0x2240b0[_0x48f1da(0xa0)](_0x339077);_0x3a45ae[_0x48f1da(0xa2)](_0x58e6e3,{'path':_0x1a70c5[_0x48f1da(0x122)](),'getContent':this[_0x48f1da(0xd0)](_0x2240b0[_0x48f1da(0x16e)](!0x0),_0x58e6e3,_0x52a7df[_0x48f1da(0xcb)])}),_0x38d589[_0x48f1da(0x15c)](_0xd82301[_0x48f1da(0x13c)](_0x1a70c5));}}return{'content':_0x52a7df[_0x48f1da(0xcb)][_0x48f1da(0x10f)][_0x48f1da(0x166)](_0x52a7df[_0x48f1da(0xcb)][_0x48f1da(0x150)](_0x5061fc)),'version':_0x52a7df[_0x48f1da(0x131)][_0x48f1da(0x156)][_0x48f1da(0x132)],'elements':_0x3a45ae};}[_0x5dfc02(0xc8)](_0x383fd8,_0x1bb000){const _0x4b39b6=_0x5dfc02,_0xef8077=[],_0x50c89c=_0x17e94d(this[_0x4b39b6(0x103)]),_0x3e8568=_0x50c89c[_0x4b39b6(0xcb)][_0x4b39b6(0x124)](_0x1bb000,_0x4b39b6(0xdb)),_0x423ed1=_0x50c89c[_0x4b39b6(0xcb)][_0x4b39b6(0x124)](_0x383fd8,_0x4b39b6(0xdb)),_0x5de16d=_0x50c89c[_0x4b39b6(0x131)][_0x4b39b6(0xd7)](_0x423ed1,0x0);if(this[_0x4b39b6(0x182)](_0x3e8568)){if(!this[_0x4b39b6(0x12c)](_0x423ed1,_0x3e8568))return _0xef8077;}else{const _0x5afc10=_0x50c89c[_0x4b39b6(0x131)][_0x4b39b6(0xda)];if(!this[_0x4b39b6(0xd3)](_0x423ed1,_0x5afc10)||!this[_0x4b39b6(0xd3)](_0x3e8568,_0x5afc10))return _0xef8077;}const _0xb320ea=this[_0x4b39b6(0x103)][_0x4b39b6(0xa6)][_0x4b39b6(0x193)](_0x4b39b6(0xb9))[_0x4b39b6(0xf9)](_0x383fd8,_0x1bb000,{'anchor':_0x5de16d,'markDeletions':!0x0})[_0x4b39b6(0xf5)]()[_0x4b39b6(0x158)](_0x712039=>_0x4b39b6(0xd2)===_0x712039[_0x4b39b6(0xf3)]||_0x4b39b6(0x169)===_0x712039[_0x4b39b6(0xf3)]&&_0x712039[_0x4b39b6(0x110)][_0x4b39b6(0xf2)](_0x4b39b6(0xcf))),_0x19151b=this[_0x4b39b6(0x168)](_0xb320ea);let _0x576ca9=0x0;return _0x50c89c[_0x4b39b6(0x131)][_0x4b39b6(0x145)](_0x55da03=>{const _0x4174d0=_0x4b39b6;for(let _0x43c4c7=0x0;_0x43c4c7<_0x19151b[_0x4174d0(0xf7)];_0x43c4c7++){const _0x1c695e=_0x19151b[_0x43c4c7],_0x8ea1b4=_0x55da03[_0x4174d0(0x163)]();for(const _0x37e271 of _0x423ed1[_0x4174d0(0xd8)]())_0x55da03[_0x4174d0(0x157)](_0x37e271[_0x4174d0(0x16e)](!0x0),_0x8ea1b4);for(const _0x593d23 of _0x1c695e[_0x4174d0(0xae)])if(_0x4174d0(0xd2)===_0x593d23[_0x4174d0(0xf3)]){const _0x3e74c6=_0x593d23;_0x3e74c6[_0x4174d0(0xa9)]=null,_0x3e74c6[_0x4174d0(0x187)]=!0x1,this[_0x4174d0(0x16f)](_0x3e74c6,_0x8ea1b4),_0x55da03[_0x4174d0(0x16d)][_0x4174d0(0x16a)](_0x593d23),_0x50c89c[_0x4174d0(0x131)][_0x4174d0(0xb8)](_0x593d23);const _0x34057d=_0x4174d0(0x18f)+_0x576ca9++,_0x26cef4=_0x50c89c[_0x4174d0(0x131)][_0x4174d0(0xe4)](_0x3e74c6[_0x4174d0(0x116)],_0x3e74c6[_0x4174d0(0x116)][_0x4174d0(0x171)](_0x3e74c6[_0x4174d0(0x195)]));_0x8ea1b4[_0x4174d0(0x109)][_0x4174d0(0xa2)](_0x34057d,_0x26cef4);}else{if(_0x4174d0(0x169)===_0x593d23[_0x4174d0(0xf3)]&&_0x593d23[_0x4174d0(0x110)][_0x4174d0(0xf2)](_0x4174d0(0xcf))){const _0x280660=_0x593d23,_0xf2883a=_0x4174d0(0xf4)+_0x576ca9++;this[_0x4174d0(0x16f)](_0x280660,_0x8ea1b4),_0x8ea1b4[_0x4174d0(0x109)][_0x4174d0(0xa2)](_0xf2883a,_0x280660[_0x4174d0(0x14e)]);}}const _0x26af0f=this[_0x4174d0(0x10a)](this[_0x4174d0(0xdd)](this[_0x4174d0(0x172)](_0x1c695e[_0x4174d0(0xae)][0x0]),_0x8ea1b4),this[_0x4174d0(0xdd)](this[_0x4174d0(0x186)](_0x1c695e[_0x4174d0(0xae)][_0x1c695e[_0x4174d0(0xae)][_0x4174d0(0xf7)]-0x1]),_0x8ea1b4));_0x8ea1b4[_0x4174d0(0x109)][_0x4174d0(0xa2)](ge+_0x4174d0(0x17b),new _0x31feb8(_0x26af0f[_0x4174d0(0xa4)],_0x26af0f[_0x4174d0(0x113)])),_0xef8077[_0x4174d0(0x18c)]({..._0x1c695e,'context':this[_0x4174d0(0xab)](_0x8ea1b4,_0x50c89c[_0x4174d0(0xcb)],{'ellipsisBefore':_0x26af0f[_0x4174d0(0x149)],'ellipsisAfter':_0x26af0f[_0x4174d0(0x15a)]}),'content':this[_0x4174d0(0x18b)](_0x8ea1b4,_0x50c89c[_0x4174d0(0xcb)])});}}),_0xef8077;}[_0x5dfc02(0x12f)](_0x57f3df,_0x56ff30){const _0x2cb292=_0x5dfc02;if(!_0x57f3df[_0x2cb292(0xf7)])return;const _0x1b8089=_0x57f3df[0x0][_0x2cb292(0x128)]['id'],_0x5494cc=_0x56ff30[_0x2cb292(0xe0)][_0x2cb292(0x193)](_0x1b8089);if(!_0x5494cc)return void console[_0x2cb292(0xed)](_0x2cb292(0xc0)+_0x1b8089);const _0x22c327=_0x5494cc[_0x2cb292(0xbe)],_0x29034a=_0x17e94d(this[_0x2cb292(0x103)]),_0x4f551e=_0x29034a[_0x2cb292(0x131)][_0x2cb292(0x156)][_0x2cb292(0x18e)][_0x2cb292(0xf5)](_0x56ff30[_0x2cb292(0x132)]),_0x520f4e=[];for(const _0x500631 of _0x57f3df){const _0x4989bf=_0x500631[_0x2cb292(0xae)][_0x2cb292(0xdf)](_0x152788=>this[_0x2cb292(0x175)](_0x152788,_0x22c327,_0x29034a[_0x2cb292(0x131)][_0x2cb292(0x156)][_0x2cb292(0x152)]()[0x0]));if(!_0x4989bf||!_0x4989bf[_0x2cb292(0xf7)])continue;const _0x1e84c4=_0x4989bf[_0x2cb292(0xb1)](_0x1b0059=>_0x2cb292(0x169)===_0x1b0059[_0x2cb292(0xf3)]&&_0x1b0059[_0x2cb292(0x110)][_0x2cb292(0xf2)](_0x2cb292(0xcf))),_0x9a6aff={'document':_0x29034a[_0x2cb292(0x131)][_0x2cb292(0x156)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3f0c1=_0x4a844a(_0x4989bf,_0x4f551e,_0x9a6aff)[_0x2cb292(0x11c)];for(const _0x5d5146 of _0x3f0c1)if(_0x2cb292(0xd2)===_0x5d5146[_0x2cb292(0xf3)]){const _0x3027ed=_0x5d5146,_0x3f2b71=_0x3027ed[_0x2cb292(0x159)];let _0x32ca65='';for(const _0x239468 of _0x3f2b71)_0x239468&&_0x239468['is'](_0x2cb292(0x12b))&&(_0x32ca65+=_0x239468[_0x2cb292(0xcb)]);_0x520f4e[_0x2cb292(0x18c)]({'start':_0x3027ed[_0x2cb292(0x116)],'end':_0x3027ed[_0x2cb292(0x116)],'type':_0x2cb292(0xd2),'groupId':_0x500631['id'],'text':_0x32ca65});}else{if(_0x2cb292(0x169)===_0x5d5146[_0x2cb292(0xf3)]&&_0x5d5146[_0x2cb292(0x110)][_0x2cb292(0xf2)](_0x2cb292(0xcf))){const _0x3692a9=_0x5d5146;let _0x4bb4bb=_0x2cb292(0xc5);if(_0x1e84c4){const _0x286382=this[_0x2cb292(0x13a)](_0x3692a9[_0x2cb292(0x14e)][_0x2cb292(0xa4)],_0x2cb292(0x155),_0x29034a[_0x2cb292(0x131)][_0x2cb292(0xda)]),_0x16cf79=this[_0x2cb292(0x13a)](_0x3692a9[_0x2cb292(0x14e)][_0x2cb292(0x113)],_0x2cb292(0x129),_0x29034a[_0x2cb292(0x131)][_0x2cb292(0xda)]);if(_0x286382||_0x16cf79){const _0x7709b7=_0x3692a9[_0x2cb292(0x14e)][_0x2cb292(0xa4)][_0x2cb292(0x171)](-_0x286382),_0x3cb730=_0x3692a9[_0x2cb292(0x14e)][_0x2cb292(0x113)][_0x2cb292(0x171)](_0x16cf79);_0x520f4e[_0x2cb292(0x18c)]({'start':_0x7709b7,'end':_0x3cb730,'groupId':_0x500631['id'],'type':_0x2cb292(0xe8)});}else _0x4bb4bb=_0x2cb292(0xb6);}_0x520f4e[_0x2cb292(0x18c)]({'start':_0x3692a9[_0x2cb292(0x14e)][_0x2cb292(0xa4)],'end':_0x3692a9[_0x2cb292(0x14e)][_0x2cb292(0x113)],'groupId':_0x500631['id'],'type':_0x4bb4bb});}}}this[_0x2cb292(0x146)](_0x520f4e);}[_0x5dfc02(0x18d)](){const _0x4bf08e=_0x5dfc02,_0x1b5c17=_0x17e94d(this[_0x4bf08e(0x103)]);_0x1b5c17[_0x4bf08e(0x131)][_0x4bf08e(0x145)](_0x43614b=>{const _0x185a09=_0x4bf08e;for(const _0x523109 of this[_0x185a09(0xef)][_0x185a09(0x127)]())_0x1b5c17[_0x185a09(0x131)][_0x185a09(0x109)][_0x185a09(0x193)](_0x523109)&&_0x43614b[_0x185a09(0x134)](_0x523109);}),this[_0x4bf08e(0xef)][_0x4bf08e(0x115)]();}[_0x5dfc02(0x153)](){const _0x30fb52=_0x5dfc02;_0x17e94d(this[_0x30fb52(0x103)])[_0x30fb52(0xd6)](_0x30fb52(0x117));}[_0x5dfc02(0x174)](){const _0x53a008=_0x5dfc02;_0x17e94d(this[_0x53a008(0x103)])[_0x53a008(0x14d)](_0x53a008(0x117));}[_0x5dfc02(0x135)](_0x4556b3){const _0x4bfe68=_0x5dfc02,_0x1cc1a1=_0x17e94d(this[_0x4bfe68(0x103)]),_0x186c40=_0x1cc1a1[_0x4bfe68(0x131)],_0x1a36d1=_0x4556b3[_0x4bfe68(0xdf)](_0x5e577a=>this[_0x4bfe68(0xeb)](_0x5e577a))[_0x4bfe68(0x108)]();_0x186c40[_0x4bfe68(0x145)](_0x5347b0=>{const _0x4afb7b=_0x4bfe68;for(const _0x419df8 of _0x1a36d1){const _0x511ad6=_0x1cc1a1[_0x4afb7b(0x131)][_0x4afb7b(0x109)][_0x4afb7b(0x193)](_0x419df8['id']);_0x511ad6&&(_0x4afb7b(0xd2)===_0x419df8[_0x4afb7b(0xf3)]?_0x186c40[_0x4afb7b(0x138)](_0x5347b0[_0x4afb7b(0xff)](_0x419df8[_0x4afb7b(0xbd)]||''),_0x511ad6[_0x4afb7b(0xa3)]()[_0x4afb7b(0xa4)]):_0x4afb7b(0xc5)!==_0x419df8[_0x4afb7b(0xf3)]&&_0x4afb7b(0xb6)!==_0x419df8[_0x4afb7b(0xf3)]||_0x186c40[_0x4afb7b(0x183)](_0x186c40[_0x4afb7b(0xa8)](_0x511ad6[_0x4afb7b(0xa3)]())),_0x5347b0[_0x4afb7b(0x134)](_0x419df8['id']),this[_0x4afb7b(0xef)][_0x4afb7b(0xe6)](_0x419df8['id']));}});}[_0x5dfc02(0x104)](_0x9234e6){const _0x76af1b=_0x5dfc02,_0x40524b=_0x17e94d(this[_0x76af1b(0x103)]),_0x41550c=this[_0x76af1b(0xeb)](_0x9234e6);_0x40524b[_0x76af1b(0x131)][_0x76af1b(0x145)](_0x35c397=>{const _0x1384e2=_0x76af1b;for(const _0x2e04c5 of _0x41550c)_0x35c397[_0x1384e2(0x134)](_0x2e04c5['id']),this[_0x1384e2(0xef)][_0x1384e2(0xe6)](_0x2e04c5['id']);});}[_0x5dfc02(0x13b)](){const _0x7b5e4c=_0x5dfc02;return _0x17e94d(this[_0x7b5e4c(0x103)]);}[_0x5dfc02(0x14b)](_0x101010){const _0x2650fa=_0x5dfc02,_0x2c4485=Array[_0x2650fa(0x179)](this[_0x2650fa(0xef)][_0x2650fa(0xf0)]())[_0x2650fa(0x158)](_0xe71c80=>_0xe71c80[_0x2650fa(0x114)]===_0x101010);if(!_0x2c4485[_0x2650fa(0xf7)])return null;const _0x552b05=0x1===_0x2c4485[_0x2650fa(0xf7)]?_0x2c4485[0x0]:this[_0x2650fa(0x139)](_0x2c4485)[0x0],_0x1f2446=_0x17e94d(this[_0x2650fa(0x103)]),_0x3da729=_0x1f2446[_0x2650fa(0x131)][_0x2650fa(0x109)][_0x2650fa(0x193)](_0x552b05['id']);if(!_0x3da729)return null;const _0x446720=_0x3da729[_0x2650fa(0xa3)](),_0x85f4a1=_0x1f2446[_0x2650fa(0x148)][_0x2650fa(0x13e)][_0x2650fa(0xde)]();if(!_0x85f4a1||!_0x446720)return null;const _0x2a3879=_0x85f4a1[_0x2650fa(0x11d)](_0x2650fa(0x10d)+_0x552b05['id']+'\x22]');return _0x2a3879?{'modelRange':_0x446720,'domElement':_0x2a3879}:null;}[_0x5dfc02(0xe3)](_0x29cb1c,_0x4af19f){const _0x23c592=_0x5dfc02,_0x539ac3=Array[_0x23c592(0x179)](this[_0x23c592(0xef)][_0x23c592(0x127)]()),_0x2c122f=new Map();for(const _0x1dc195 of _0x539ac3){const _0x1f2c1d=_0x29cb1c[_0x23c592(0x131)][_0x23c592(0x109)][_0x23c592(0x193)](_0x1dc195);if(!_0x1f2c1d)continue;const _0x2aa15a=_0x1f2c1d[_0x23c592(0x17d)]()[_0x23c592(0xbe)][0x0];_0x2c122f[_0x23c592(0x11b)](_0x2aa15a)||_0x2c122f[_0x23c592(0xa2)](_0x2aa15a,[]),_0x2c122f[_0x23c592(0x193)](_0x2aa15a)[_0x23c592(0x18c)](_0x1f2c1d);}const _0x1a5878=new Set();for(const _0x21e204 of _0x29cb1c[_0x23c592(0x131)][_0x23c592(0x156)][_0x23c592(0x192)][_0x23c592(0xa7)]()){let _0x17ba38=-0x1,_0x367551=null;if(_0x23c592(0xd2)===_0x21e204[_0x23c592(0xf3)])_0x367551=new _0x31feb8(_0x21e204[_0x23c592(0x116)],_0x21e204[_0x23c592(0x116)][_0x23c592(0x171)](_0x21e204[_0x23c592(0xf7)])),_0x17ba38=_0x21e204[_0x23c592(0x116)][_0x23c592(0xbe)][0x0];else{if(_0x23c592(0x173)!==_0x21e204[_0x23c592(0xf3)])continue;_0x367551=new _0x31feb8(_0x21e204[_0x23c592(0x116)]),_0x17ba38=_0x21e204[_0x23c592(0x116)][_0x23c592(0xbe)][0x0];}const _0x1594c8=_0x2c122f[_0x23c592(0x193)](_0x17ba38)||[];if(_0x1594c8[_0x23c592(0xf7)]){for(const _0x2d892a of _0x1594c8)if(_0x367551[_0x23c592(0xc3)][_0x23c592(0xb0)]===_0x2d892a[_0x23c592(0xa3)]()[_0x23c592(0xc3)][_0x23c592(0xb0)]&&(_0x23c592(0xd2)!==_0x21e204[_0x23c592(0xf3)]||!_0x367551[_0x23c592(0x142)](_0x2d892a[_0x23c592(0xa3)]()))&&(_0x367551[_0x23c592(0x184)](_0x2d892a[_0x23c592(0xa3)]())||_0x367551[_0x23c592(0xa4)][_0x23c592(0x133)](_0x2d892a[_0x23c592(0xa3)]()[_0x23c592(0x113)])||_0x367551[_0x23c592(0x113)][_0x23c592(0x133)](_0x2d892a[_0x23c592(0xa3)]()[_0x23c592(0xa4)]))){const _0x1ee744=this[_0x23c592(0xb3)](_0x2d892a[_0x23c592(0x110)]);Array[_0x23c592(0x179)](this[_0x23c592(0xef)][_0x23c592(0xf0)]())[_0x23c592(0x158)](_0x2d592a=>_0x2d592a[_0x23c592(0x114)]===_0x1ee744[_0x23c592(0x114)])[_0x23c592(0x16c)](_0x2dd5d1=>_0x1a5878[_0x23c592(0x17a)](_0x2dd5d1['id']));}}}if(_0x1a5878[_0x23c592(0x18a)]){for(const _0xb91943 of _0x1a5878)_0x4af19f[_0x23c592(0x134)](_0xb91943);return!0x0;}return!0x1;}[_0x5dfc02(0x177)](_0x35a478){const _0x504ec4=_0x5dfc02;for(const {name:_0x4316f4,data:_0x13c2ea}of _0x35a478[_0x504ec4(0x131)][_0x504ec4(0x156)][_0x504ec4(0x192)][_0x504ec4(0x11a)]()){if(!_0x4316f4[_0x504ec4(0xf2)](ge))continue;const _0xfb9a7=_0x13c2ea[_0x504ec4(0x12a)],_0x345fb3=_0x13c2ea[_0x504ec4(0x14e)],_0x59bb5c=_0xfb9a7&&_0x504ec4(0xf1)===_0xfb9a7[_0x504ec4(0xc3)][_0x504ec4(0xb0)],_0x2d4eea=_0x345fb3&&_0x504ec4(0xf1)===_0x345fb3[_0x504ec4(0xc3)][_0x504ec4(0xb0)];if(_0x59bb5c&&_0x2d4eea)continue;const _0x42c27a=this[_0x504ec4(0xb3)](_0x4316f4);this[_0x504ec4(0xef)][_0x504ec4(0x193)](_0x4316f4)&&(_0x2d4eea||!_0x345fb3?this[_0x504ec4(0x121)][_0x504ec4(0x185)](_0x504ec4(0x154),{'markerId':_0x4316f4,'changeId':_0x42c27a[_0x504ec4(0x114)]}):_0x59bb5c&&_0x345fb3&&this[_0x504ec4(0x121)][_0x504ec4(0x185)](_0x504ec4(0x13f),{'markerId':_0x4316f4,'changeId':_0x42c27a[_0x504ec4(0x114)]}));}}[_0x5dfc02(0xb3)](_0x54839c){const _0x10ed5d=_0x5dfc02,_0x410f84=_0x54839c[_0x10ed5d(0xc1)](':'),_0x26ae9b=(_0x410f84[0x1]||'')[_0x10ed5d(0xc1)]('_');return{'prefix':_0x410f84[0x0],'groupId':_0x26ae9b[0x0],'suffix':_0x26ae9b[0x1]};}[_0x5dfc02(0x175)](_0x28dc83,_0x21ba68,_0x572f5d){const _0x2fef69=_0x5dfc02;if(_0x2fef69(0xd2)===_0x28dc83[_0x2fef69(0xf3)]){const _0x3c11af=_0x28dc83;return new _0x4718bb(this[_0x2fef69(0x126)](_0x21ba68[_0x2fef69(0x164)](_0x3c11af[_0x2fef69(0x116)][_0x2fef69(0x180)]),_0x572f5d),_0x3c11af[_0x2fef69(0x159)],_0x3c11af[_0x2fef69(0xa9)]);}if(_0x2fef69(0x169)===_0x28dc83[_0x2fef69(0xf3)]&&_0x28dc83[_0x2fef69(0x110)][_0x2fef69(0xf2)](_0x2fef69(0xcf))){const _0x184385=_0x28dc83;return new _0x573b51(_0x184385[_0x2fef69(0x110)],_0x184385[_0x2fef69(0x12a)],this[_0x2fef69(0xbf)](_0x184385[_0x2fef69(0x14e)],_0x21ba68[_0x2fef69(0x164)](_0x184385[_0x2fef69(0x14e)][_0x2fef69(0xa4)][_0x2fef69(0x180)]),_0x21ba68[_0x2fef69(0x164)](_0x184385[_0x2fef69(0x14e)][_0x2fef69(0x113)][_0x2fef69(0x180)]),_0x572f5d),_0x184385[_0x2fef69(0xef)],_0x184385[_0x2fef69(0x136)],_0x184385[_0x2fef69(0xa9)]);}return _0x28dc83;}[_0x5dfc02(0x168)](_0x2fcf67){const _0x39c824=_0x5dfc02;if(!_0x2fcf67[_0x39c824(0xf7)])return[];const _0x11ba05=[];let _0x2232fe=0x0,_0xa40b3=0x0,_0x482514=[];for(let _0x1b9f5b=0x0;_0x1b9f5b<=_0x2fcf67[_0x39c824(0xf7)];_0x1b9f5b++){const _0xf7e9a0=_0x2fcf67[_0x1b9f5b],_0x545ded=_0x2fcf67[_0x1b9f5b-0x1];!_0xf7e9a0||_0x545ded&&!this[_0x39c824(0x186)](_0x545ded)[_0x39c824(0x133)](this[_0x39c824(0x172)](_0xf7e9a0))?(_0x11ba05[_0x39c824(0x18c)]({'operations':_0x482514,'operationsIsolated':_0x482514[_0x39c824(0xdf)](_0x49495c=>this[_0x39c824(0x161)](_0x49495c[_0x39c824(0x102)](),-_0xa40b3)),'groupOffset':_0x2232fe}),_0x482514=_0xf7e9a0?[_0xf7e9a0]:[],_0xa40b3+=_0x2232fe,_0x2232fe=0x0):_0x482514[_0x39c824(0x18c)](_0xf7e9a0),_0xf7e9a0&&_0x39c824(0xd2)===_0xf7e9a0[_0x39c824(0xf3)]&&(_0x2232fe+=_0xf7e9a0[_0x39c824(0x195)]);}return _0x11ba05;}[_0x5dfc02(0x13a)](_0x1d85e9,_0x431c18,_0x231ab9,_0xa90f32=0x1){const _0x25e1bf=_0x5dfc02,_0x506920=new _0x3efa78({'startPosition':_0x1d85e9,'direction':_0x431c18});let _0x1d1182=0x0;for(let _0x980fa=0x0;_0x980fa<_0xa90f32;_0x980fa++){let _0x4d1b68=0x0,_0x556439=!0x1,_0x2dc70b=_0x25e1bf(0x129)===_0x431c18?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x1fb588}of _0x506920)if(_0x1fb588['is'](_0x25e1bf(0x140))){const _0x5a8168=_0x2dc70b[_0x25e1bf(0x118)](_0x1fb588[_0x25e1bf(0xcb)]);if(_0x5a8168&&_0x5a8168[_0x25e1bf(0xf7)]){if(_0x4d1b68+=_0x25e1bf(0x129)===_0x431c18?_0x5a8168[_0x25e1bf(0x12d)]+_0x5a8168[0x0][_0x25e1bf(0xf7)]:_0x1fb588[_0x25e1bf(0xcb)][_0x25e1bf(0xf7)]-_0x5a8168[_0x25e1bf(0x12d)],_0x5a8168[0x0][_0x25e1bf(0xf7)]!==_0x1fb588[_0x25e1bf(0xcb)][_0x25e1bf(0xf7)])break;_0x556439=!0x0,_0x2dc70b=_0x25e1bf(0x129)===_0x431c18?/^\w+/:/\w+$/;}else{if(_0x556439)break;_0x4d1b68+=_0x1fb588[_0x25e1bf(0x17f)];}}else{if(_0x1fb588['is'](_0x25e1bf(0xc9))){_0x231ab9[_0x25e1bf(0x190)](_0x1fb588)&&!_0x556439&&(_0x4d1b68+=0x1);break;}}_0x1d1182+=_0x4d1b68,_0x506920[_0x25e1bf(0x15c)](_0x1d85e9[_0x25e1bf(0x171)](_0x25e1bf(0x129)===_0x431c18?_0x1d1182:-_0x1d1182));}return _0x1d1182;}[_0x5dfc02(0x10a)](_0x293680,_0x56367a){const _0x419215=_0x5dfc02,_0x10b6f4=_0x17e94d(this[_0x419215(0x103)])[_0x419215(0x131)][_0x419215(0xda)],_0x1d46e8=this[_0x419215(0x13a)](_0x293680,_0x419215(0x155),_0x10b6f4,0x6),_0x305e75=this[_0x419215(0x13a)](_0x56367a,_0x419215(0x129),_0x10b6f4,0x6),_0x341c4d=_0x293680[_0x419215(0x171)](-_0x1d46e8),_0xea4fd=_0x56367a[_0x419215(0x171)](_0x305e75);return{'start':_0x341c4d,'end':_0xea4fd,'hasContentBefore':!_0x341c4d[_0x419215(0xd9)],'hasContentAfter':!_0xea4fd[_0x419215(0x12e)]};}[_0x5dfc02(0x146)](_0x4ee88d){const _0x385fbd=_0x5dfc02,_0x21f094=this[_0x385fbd(0x103)][_0x385fbd(0xa6)][_0x385fbd(0x193)](_0x385fbd(0x9f)),_0x20a65f=new Set();_0x17e94d(this[_0x385fbd(0x103)])[_0x385fbd(0x131)][_0x385fbd(0x145)](_0xc4ff2c=>{const _0x18611e=_0x385fbd;for(const _0x4b310c of _0x4ee88d){const _0x5a5eb8=''+ge+_0x4b310c[_0x18611e(0xf3)]+':'+_0x4b310c[_0x18611e(0x114)]+'_'+_0x21f094[_0x18611e(0x170)](_0x20a65f);this[_0x18611e(0xef)][_0x18611e(0xa2)](_0x5a5eb8,{'id':_0x5a5eb8,'groupId':_0x4b310c[_0x18611e(0x114)],'type':_0x4b310c[_0x18611e(0xf3)],'text':_0x4b310c[_0x18611e(0xbd)]}),_0xc4ff2c[_0x18611e(0xec)](_0x5a5eb8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xc4ff2c[_0x18611e(0xe4)](_0x4b310c[_0x18611e(0xa4)],_0x4b310c[_0x18611e(0x113)])});}});}[_0x5dfc02(0xab)](_0x5d81bd,_0x149a72,_0x5f528b){let _0x3f0758='';return()=>{const _0x37fe24=_0x52ef;if(!_0x3f0758){const _0x4392a9=_0x149a72[_0x37fe24(0x150)](_0x5d81bd,{'showSuggestionHighlights':!0x0});let _0x28ac4a=_0x4392a9[_0x37fe24(0x15f)](0x0);if(_0x28ac4a['is'](_0x37fe24(0xc2))||(_0x28ac4a=_0x4392a9),!_0x28ac4a)return'';let _0x4c0f90=!0x1;const _0x1d1ea7=[];for(const _0x2300b0 of _0x28ac4a[_0x37fe24(0xd8)]())_0x2300b0['is'](_0x37fe24(0xc9),_0x37fe24(0x10e))&&_0x2300b0[_0x37fe24(0x130)](_0x37fe24(0x11f))&&(_0x4c0f90=!0x1),_0x4c0f90&&_0x1d1ea7[_0x37fe24(0x18c)](_0x2300b0),_0x2300b0['is'](_0x37fe24(0xc9),_0x37fe24(0x10e))&&_0x2300b0[_0x37fe24(0x130)](_0x37fe24(0xe5))&&(_0x4c0f90=!0x0);_0x28ac4a[_0x37fe24(0x191)](0x0,_0x28ac4a[_0x37fe24(0x15e)]),_0x5f528b?.[_0x37fe24(0xd4)]&&_0x28ac4a[_0x37fe24(0xbb)]('…'),_0x28ac4a[_0x37fe24(0xbb)](_0x1d1ea7),_0x5f528b?.[_0x37fe24(0xd5)]&&_0x28ac4a[_0x37fe24(0xbb)]('…');const _0x1ee8c9=_0x149a72[_0x37fe24(0xc6)][_0x37fe24(0x120)][_0x37fe24(0xca)](_0x4392a9),_0x31cf3a=_0x149a72[_0x37fe24(0xc6)][_0x37fe24(0xb5)][_0x37fe24(0xfa)](_0x1ee8c9);_0x3f0758=_0x31cf3a;}return _0x3f0758;};}[_0x5dfc02(0x18b)](_0x843a4b,_0x4e6104){const _0xdc133d=_0x5dfc02;let _0x4be3ef='';return()=>(_0x4be3ef||(_0x4be3ef=_0x4e6104[_0xdc133d(0x13d)](_0x843a4b,{'showSuggestionHighlights':!0x0})),_0x4be3ef);}[_0x5dfc02(0xd0)](_0x4fd0c9,_0x5db3cb,_0xb71f){let _0x4e5440='';return()=>{const _0x54cf84=_0x52ef;if(!_0x4e5440){const _0x144ead=_0xb71f[_0x54cf84(0x150)](new _0x1f4f36(_0x4fd0c9)),_0x543b85=_0xb71f[_0x54cf84(0xc6)][_0x54cf84(0x120)][_0x54cf84(0xca)](_0x144ead)[_0x54cf84(0x11d)](_0x54cf84(0x10c)+_0x5db3cb+'\x22]');_0x4e5440=_0x543b85?.[_0x54cf84(0xaf)]||'';}return _0x4e5440;};}[_0x5dfc02(0x17e)](_0xaf9638,_0x4e2045=0x5){const _0x4f49c0=_0x5dfc02;let _0x39f0fc=_0xaf9638,_0x4dfeca=null;for(let _0x31e402=0x0;_0x31e402<_0x4e2045&&_0x39f0fc;_0x31e402++){if(!_0x39f0fc[_0x4f49c0(0xfb)]){_0x39f0fc=_0x39f0fc[_0x4f49c0(0xf6)];continue;}if(!(''+_0x39f0fc[_0x4f49c0(0xfb)])[_0x4f49c0(0x162)](_0x4f49c0(0x137))){_0x39f0fc=_0x39f0fc[_0x4f49c0(0xf6)];continue;}if(!_0x39f0fc[_0x4f49c0(0x101)](_0x4f49c0(0xf8)))break;_0x4dfeca=_0x39f0fc;break;}return _0x4dfeca;}[_0x5dfc02(0xeb)](_0x3914e8){const _0x33c68a=_0x5dfc02;return Array[_0x33c68a(0x179)](this[_0x33c68a(0xef)][_0x33c68a(0xf0)]())[_0x33c68a(0x158)](_0x300520=>_0x300520[_0x33c68a(0x114)]===_0x3914e8);}[_0x5dfc02(0x172)](_0x1c1691){const _0x991f81=_0x5dfc02;return _0x991f81(0xd2)===_0x1c1691[_0x991f81(0xf3)]?_0x1c1691[_0x991f81(0x116)]:_0x1c1691[_0x991f81(0x14e)][_0x991f81(0xa4)];}[_0x5dfc02(0x186)](_0x43f15f,_0x2cf8ff=!0x1){const _0x5cf6eb=_0x5dfc02;return _0x5cf6eb(0xd2)===_0x43f15f[_0x5cf6eb(0xf3)]?_0x2cf8ff?_0x43f15f[_0x5cf6eb(0x116)]:_0x43f15f[_0x5cf6eb(0x116)][_0x5cf6eb(0x171)](_0x43f15f[_0x5cf6eb(0x195)]):_0x43f15f[_0x5cf6eb(0x14e)][_0x5cf6eb(0x113)];}[_0x5dfc02(0x161)](_0x3492a9,_0xbaaf0d){const _0x31c507=_0x5dfc02;return _0x31c507(0xd2)===_0x3492a9[_0x31c507(0xf3)]?_0x3492a9[_0x31c507(0x116)]=_0x3492a9[_0x31c507(0x116)][_0x31c507(0x171)](_0xbaaf0d):_0x31c507(0x169)===_0x3492a9[_0x31c507(0xf3)]&&_0x3492a9[_0x31c507(0x14e)]&&(_0x3492a9[_0x31c507(0x14e)]=new _0x31feb8(_0x3492a9[_0x31c507(0x14e)][_0x31c507(0xa4)][_0x31c507(0x171)](_0xbaaf0d),_0x3492a9[_0x31c507(0x14e)][_0x31c507(0x113)][_0x31c507(0x171)](_0xbaaf0d))),_0x3492a9;}[_0x5dfc02(0x16f)](_0x12fff4,_0x1b00f0){const _0x91bc08=_0x5dfc02;_0x91bc08(0xd2)===_0x12fff4[_0x91bc08(0xf3)]?_0x12fff4[_0x91bc08(0x116)]=this[_0x91bc08(0xdd)](_0x12fff4[_0x91bc08(0x116)],_0x1b00f0):_0x91bc08(0x169)===_0x12fff4[_0x91bc08(0xf3)]&&_0x12fff4[_0x91bc08(0x14e)]&&(_0x12fff4[_0x91bc08(0x14e)]=this[_0x91bc08(0x147)](_0x12fff4[_0x91bc08(0x14e)],_0x1b00f0));}[_0x5dfc02(0xdd)](_0x1e4604,_0x4fe817){const _0x39bf71=_0x5dfc02;return new _0x30d065(_0x4fe817,_0x1e4604[_0x39bf71(0xbe)]);}[_0x5dfc02(0x147)](_0xfee265,_0x3132b2){const _0x4ec15c=_0x5dfc02;return new _0x31feb8(this[_0x4ec15c(0xdd)](_0xfee265[_0x4ec15c(0xa4)],_0x3132b2),this[_0x4ec15c(0xdd)](_0xfee265[_0x4ec15c(0x113)],_0x3132b2));}[_0x5dfc02(0x126)](_0x43a9f8,_0x435bb4){return new _0x30d065(_0x435bb4,[..._0x43a9f8]);}[_0x5dfc02(0xbf)](_0x5f0f37,_0x1cdccd,_0x2b9120,_0x7e2ec7){const _0x27af02=_0x5dfc02;return new _0x31feb8(this[_0x27af02(0x126)](_0x1cdccd,_0x7e2ec7),this[_0x27af02(0x126)](_0x2b9120,_0x7e2ec7));}[_0x5dfc02(0x139)](_0x559b0b){const _0x2b3504=_0x5dfc02,_0x3251e5=_0x5df2ec=>{const _0x3b1d2d=_0x52ef;switch(_0x5df2ec){case _0x3b1d2d(0xd2):return 0x1;case _0x3b1d2d(0xe8):return 0x2;case _0x3b1d2d(0xb6):return 0x3;case _0x3b1d2d(0xc5):return 0x4;}};return _0x559b0b[_0x2b3504(0xea)]((_0x26651f,_0x3c9b27)=>_0x3251e5(_0x26651f[_0x2b3504(0xf3)])-_0x3251e5(_0x3c9b27[_0x2b3504(0xf3)]));}[_0x5dfc02(0x12c)](_0x32aaa5,_0x14f4b2){const _0xa309b=_0x5dfc02,_0x580dda=_0x32aaa5[_0xa309b(0x15f)](0x0),_0x5cbfc5=_0x14f4b2[_0xa309b(0x15f)](0x0);return!(!_0x580dda||!_0x5cbfc5)&&((!_0x580dda['is'](_0xa309b(0xc9))||!_0x5cbfc5['is'](_0xa309b(0xc9))||_0x580dda[_0xa309b(0x110)]===_0x5cbfc5[_0xa309b(0x110)])&&!(_0x580dda['is'](_0xa309b(0xc9))&&!_0x5cbfc5['is'](_0xa309b(0xc9))||!_0x580dda['is'](_0xa309b(0xc9))&&_0x5cbfc5['is'](_0xa309b(0xc9))));}[_0x5dfc02(0x182)](_0x5f3dd0){const _0x28f753=_0x5dfc02;return 0x1===_0x5f3dd0[_0x28f753(0x15e)];}[_0x5dfc02(0xd3)](_0x561e21,_0x34f688){const _0x380cd8=_0x5dfc02;for(const _0x55aff1 of _0x561e21[_0x380cd8(0xd8)]())if(_0x55aff1['is'](_0x380cd8(0xc9))&&!_0x34f688[_0x380cd8(0x190)](_0x55aff1))return!0x1;return!0x0;}[_0x5dfc02(0x160)](_0xf06590,_0x2f8f3e){const _0x509417=_0x5dfc02;let _0x485b69=_0xf06590[_0x509417(0x101)](_0x339077);return _0x485b69||(_0x485b69=_0x2f8f3e(),_0xf06590[_0x509417(0x125)](_0x339077,_0x485b69)),_0x485b69;}}
23
+ const _0x22ca59=_0x4759;(function(_0x18c1cc,_0x4ee725){const _0x34f801=_0x4759,_0x2926b1=_0x18c1cc();while(!![]){try{const _0x28a56d=parseInt(_0x34f801(0x27c))/0x1*(parseInt(_0x34f801(0x290))/0x2)+-parseInt(_0x34f801(0x240))/0x3+parseInt(_0x34f801(0x25c))/0x4+-parseInt(_0x34f801(0x1fc))/0x5+-parseInt(_0x34f801(0x254))/0x6*(-parseInt(_0x34f801(0x28f))/0x7)+-parseInt(_0x34f801(0x2da))/0x8+parseInt(_0x34f801(0x203))/0x9*(parseInt(_0x34f801(0x25a))/0xa);if(_0x28a56d===_0x4ee725)break;else _0x2926b1['push'](_0x2926b1['shift']());}catch(_0x30c3e3){_0x2926b1['push'](_0x2926b1['shift']());}}}(_0x2a47,0xe8c6d));function _0x4759(_0x5e2ccd,_0x1360a3){const _0x2a47d7=_0x2a47();return _0x4759=function(_0x4759a1,_0x2c5813){_0x4759a1=_0x4759a1-0x1ee;let _0x4b5c1b=_0x2a47d7[_0x4759a1];return _0x4b5c1b;},_0x4759(_0x5e2ccd,_0x1360a3);}function _0x2a47(){const _0x21061d=['remove-text','_getMarkersDataForGroup','_groupAdjacentOperations','getDomRoot','toDomElement','_removeChildren','fire','oldRange','isInline','disableReadOnlyMode','containsRange','ck-ai_review-mode-marker_add','root','createPositionAt','switchToEdit','addOperation','switchToReadOnly','documentFragment','map','conversion','12337768LLtKAw','hasClass','applyOperation','elements','operationsA','push','htmlProcessor','groupId','end','getEditor','_validateMarkers','addMarker','get','rootName','from','parent','name','click','attributeToAttribute','includes','relatedTarget','howMany','getStart','_haveOnlyInlineContent','hasAttribute','6832680TvWvRH','document','position','getShiftedBy','history','changeMarkerHovered','getChildren','13148127BdJpQo','isOpening','keys','closest','jumpTo','_translateOperationToEditorContent','markChangePositionInEditorContent','removeMarker','getOperations','No\x20element\x20found\x20for\x20ID:\x20','domConverter','text','registerPostFixer','sort','hasContentBefore','size','ai-review-mode','className','_eventEmitter','toView','model','suggestion-context','markerToHighlight','batch','remove-context','toData','version','isAtStart','_createGetContentFn','isIntersecting','AIEditing','getChanges','ellipsisBefore','_findMarkerElement','_nextDataId','ck-ai_review-mode-marker_context-start','reviewmode-','span','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','schema','dataDowncast','startsWith','ck-ai_review-mode-marker_','_createGetContentUsingDataIdFn','_changePosition','editingDowncast','AIReviewModeEditing','hasContentAfter','_haveSingleTopLevelElement','change','_createGetContextFn','changeMarkerRemoved','filter','deleteContent','_hasSameTopLevelElement','clear','_domEmitter','_sortMarkers','insert','getPath','containerElement','4084434zBlUvc','suggestion:insertion:id:authorId:','getChild','afterInit','append','requires','markerName','_changeRange','createText','createSelection','rejectChange','querySelector','baseVersion','clone','_getOperationStart','editing','changeMarkerClick','insertContent','differ','_changePositionOwnerDocument','12gCIbbH','ck-ai_review-mode-marker_strikethrough','start','$graveyard','outerHTML','DocumentCompare','20ZYRQEM','applyChange','7364608aRbSWf','forward','index','createUIElement','set','diffContent','ck-ai_review-mode-marker_hide','isDocumentOperation','_handleMarkerChanges','createDocumentFragment','element','_removeAttribute','markers','remove','_getOperationEnd','isTouching','_appendChild','stringify','createPositionAfter','createRange','viewToDom','data','getRange','has','split','_changeOperationOwnerDocument','path','innerHTML','suggestion:deletion:id:authorId:','nodes','concat','pop','4VKaLhg','clearAllMarkers','_findAdjacentContextDistance','backward','plugins','isOfficialPlugin','enableReadOnlyMode','target','pluginName','data-marker-id','isPremiumPlugin','getHtml','changeMarkerRestored','_changeRangeOwnerDocument','affectsData','processor','$markedRemove','newRange','parentElement','884261PkYkPl','104042nNgluY','_parseMarkerName','remove-only','$documentFragment','every','getMarkerElementForChange','listenTo','_getChangeContext','downcast','changeMarkerBlurred','_insertMarkers','[data-id=\x22','_shiftOperation','warn','flat','[data-marker-id=\x22','createRawElement','delete','mouseover','isAtEnd','_clone','ck-ai_review-mode-marker_context-end','$textProxy','_markers','_upsertDataId','emitter','getDiff','getDocumentData','htmlWriter','offset','getAttribute','add','getRoot','_setAttribute','exec','length','ck-ai_review-mode-marker_underline','childCount','context','ellipsisAfter','markerToElement','model:$text','view','forEach','getRoots','type','getChangedMarkers','parse','ck-ai_review-mode-marker_context-','offsetSize','operationsIsolated','for','values','marker'];_0x2a47=function(){return _0x21061d;};return _0x2a47();}import{InsertOperation as _0x25b403,MarkerOperation as _0x2b918a,ModelDocumentFragment as _0xf4b5b7,ModelPosition as _0x30ace0,ModelRange as _0xe74e3a,ModelTreeWalker as _0x161fc9,transformOperationSets as _0x448041}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x4bfc1a,EmitterMixin as _0x1c0352}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x467060}from'ckeditor5/src/core.js';import{DocumentCompare as _0x57bc02,DATA_ID_MODEL_ATTRIBUTE as _0x30206f,DATA_ID_VIEW_ATTRIBUTE as _0x189f13}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x5a34dc}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x4cc78e}from'../aicore/aiediting.js';import{debounce as _0x157e00}from'es-toolkit/compat';const le=_0x22ca59(0x227);export class AIReviewModeEditing extends _0x467060{static get[_0x22ca59(0x284)](){const _0x3941d9=_0x22ca59;return _0x3941d9(0x231);}static get[_0x22ca59(0x245)](){return[_0x57bc02,_0x4cc78e];}static get[_0x22ca59(0x281)](){return!0x0;}static get[_0x22ca59(0x286)](){return!0x0;}[_0x22ca59(0x2a7)]=new Map();[_0x22ca59(0x23b)];[_0x22ca59(0x215)];constructor(_0x33a05f){const _0x14c962=_0x22ca59;super(_0x33a05f),this[_0x14c962(0x23b)]=new(_0x4bfc1a())(),this[_0x14c962(0x215)]=new(_0x1c0352())();}get[_0x22ca59(0x2a9)](){const _0x3d0190=_0x22ca59;return this[_0x3d0190(0x215)];}[_0x22ca59(0x243)](){const _0x72057b=_0x22ca59,_0x265a86=_0x5a34dc(this[_0x72057b(0x2b6)]);_0x265a86[_0x72057b(0x2d9)][_0x72057b(0x2c3)](_0x72057b(0x230))[_0x72057b(0x2b8)]({'model':le+_0x72057b(0x23d),'view':(_0x951bc5,{writer:_0x4eed0d})=>{const _0x374ecc=_0x72057b,_0x20452a=this[_0x374ecc(0x2a7)][_0x374ecc(0x1ef)](_0x951bc5[_0x374ecc(0x246)]),_0x1775ba={'class':_0x374ecc(0x2d1),'data-marker-id':_0x951bc5[_0x374ecc(0x246)]};return _0x4eed0d[_0x374ecc(0x25f)](_0x374ecc(0x228),_0x1775ba,function(_0x275f61){const _0xd373ba=_0x374ecc,_0xb0a5a9=this[_0xd373ba(0x2ca)](_0x275f61);return _0xb0a5a9[_0xd373ba(0x277)]=_0x20452a?.[_0xd373ba(0x20e)]||'',_0xb0a5a9;});}}),_0x265a86[_0x72057b(0x2d9)][_0x72057b(0x2c3)](_0x72057b(0x230))[_0x72057b(0x219)]({'model':le+_0x72057b(0x292),'view':_0x18ea59=>({'classes':_0x72057b(0x255),'attributes':{'data-marker-id':_0x18ea59[_0x72057b(0x246)]}})}),_0x265a86[_0x72057b(0x2d9)][_0x72057b(0x2c3)](_0x72057b(0x230))[_0x72057b(0x219)]({'model':le+_0x72057b(0x21b),'view':_0x1357e4=>({'classes':_0x72057b(0x2b4),'attributes':{'data-marker-id':_0x1357e4[_0x72057b(0x246)]}})}),_0x265a86[_0x72057b(0x2d9)][_0x72057b(0x2c3)](_0x72057b(0x230))[_0x72057b(0x219)]({'model':le+_0x72057b(0x2c6),'view':_0x241aa6=>({'classes':_0x72057b(0x262),'attributes':{'data-marker-id':_0x241aa6[_0x72057b(0x246)]}})}),_0x265a86[_0x72057b(0x2d9)][_0x72057b(0x2c3)](_0x72057b(0x22b))[_0x72057b(0x2b8)]({'model':le+_0x72057b(0x218),'view':(_0x459cc2,{writer:_0x47101b})=>_0x47101b[_0x72057b(0x2a0)](_0x72057b(0x228),{'class':_0x72057b(0x2c0)+(_0x459cc2[_0x72057b(0x204)]?_0x72057b(0x256):_0x72057b(0x2e2))})}),_0x265a86[_0x72057b(0x2d9)][_0x72057b(0x2c3)](_0x72057b(0x298))[_0x72057b(0x1f5)]({'model':_0x30206f,'view':_0x189f13}),this[_0x72057b(0x23b)][_0x72057b(0x296)](document,_0x72057b(0x1f4),(_0x5623b1,_0x4c8463)=>{const _0x49d41b=_0x72057b,_0x51b82e=_0x4c8463[_0x49d41b(0x283)],_0xe63909=this[_0x49d41b(0x224)](_0x51b82e);if(!_0xe63909)return;const _0x347152=_0xe63909[_0x49d41b(0x2ae)](_0x49d41b(0x285)),_0x2bee72=_0x347152[_0x49d41b(0x274)](':')[_0x49d41b(0x27b)]()?.[_0x49d41b(0x274)]('_')[0x0];this[_0x49d41b(0x215)][_0x49d41b(0x2cc)](_0x49d41b(0x250),{'markerId':_0x347152,'changeId':_0x2bee72,'markerElement':_0xe63909,'domEvent':_0x4c8463});}),this[_0x72057b(0x23b)][_0x72057b(0x296)](document,_0x72057b(0x2a2),(_0x1f6c2f,_0x433850)=>{const _0x4ed0a1=_0x72057b,_0x4b9f39=_0x433850[_0x4ed0a1(0x283)],_0x5f0577=_0x433850[_0x4ed0a1(0x1f7)];let _0x3b3f55=this[_0x4ed0a1(0x224)](_0x4b9f39);if(!_0x3b3f55&&_0x5f0577&&(_0x3b3f55=this[_0x4ed0a1(0x224)](_0x5f0577)),!_0x3b3f55)return;const _0x1edc8c=_0x3b3f55[_0x4ed0a1(0x2ae)](_0x4ed0a1(0x285)),_0x5b1fba=_0x1edc8c[_0x4ed0a1(0x274)](':')[_0x4ed0a1(0x27b)]()?.[_0x4ed0a1(0x274)]('_')[0x0];this[_0x4ed0a1(0x215)][_0x4ed0a1(0x2cc)](_0x4ed0a1(0x201),{'changeId':_0x5b1fba,'markerElement':_0x3b3f55,'domEvent':_0x433850});}),this[_0x72057b(0x23b)][_0x72057b(0x296)](document,_0x72057b(0x2a2),_0x157e00((_0x1d188f,_0x3d7882)=>{const _0x192ac0=_0x72057b,_0x2703de=_0x3d7882[_0x192ac0(0x283)];if(this[_0x192ac0(0x224)](_0x2703de))return;_0x2703de[_0x192ac0(0x206)](_0x192ac0(0x229))||this[_0x192ac0(0x215)][_0x192ac0(0x2cc)](_0x192ac0(0x299));},0xc8)),_0x265a86[_0x72057b(0x217)][_0x72057b(0x1fd)][_0x72057b(0x20f)](_0x9a1a81=>this[_0x72057b(0x2e4)](_0x265a86,_0x9a1a81)),_0x265a86[_0x72057b(0x217)][_0x72057b(0x1fd)]['on'](_0x72057b(0x234),()=>this[_0x72057b(0x264)](_0x265a86));}[_0x22ca59(0x2ab)](){const _0x4222d4=_0x22ca59,_0x245f4e=this[_0x4222d4(0x2b6)][_0x4222d4(0x280)][_0x4222d4(0x1ef)](_0x4222d4(0x221)),_0x4ce3c3=_0x5a34dc(this[_0x4222d4(0x2b6)]),_0x5791db=_0x4ce3c3[_0x4222d4(0x217)],_0xa4ef32=new _0xf4b5b7();for(const _0x4b3b39 of _0x5791db[_0x4222d4(0x1fd)][_0x4222d4(0x2b0)]()[_0x4222d4(0x202)]()){const _0x1d7de1=_0x4b3b39[_0x4222d4(0x2a4)](!0x0);_0xa4ef32[_0x4222d4(0x26c)](_0x1d7de1);}for(const _0x30ede8 of _0x5791db[_0x4222d4(0x268)])_0xa4ef32[_0x4222d4(0x268)][_0x4222d4(0x260)](_0x30ede8[_0x4222d4(0x1f3)],this[_0x4222d4(0x289)](_0x30ede8[_0x4222d4(0x272)]()[_0x4222d4(0x24d)](),_0xa4ef32));const _0x3d17a6=new _0x161fc9({'ignoreElementEnd':!0x0,'startPosition':_0x5791db[_0x4222d4(0x2d3)](_0xa4ef32,0x0)}),_0x72af7e=new Set(),_0x12147a=new Map();for(const {item:_0x39a1ce}of _0x3d17a6){if(!_0x39a1ce['is'](_0x4222d4(0x2a6)))continue;const _0x25a503=_0x39a1ce[_0x4222d4(0x1f2)];if(_0x25a503&&_0x25a503['is'](_0x4222d4(0x266))){const _0x4c3d37=this[_0x4222d4(0x2a8)](_0x25a503,()=>_0x245f4e[_0x4222d4(0x225)](_0x72af7e));_0x72af7e[_0x4222d4(0x2af)](_0x4c3d37);for(const _0x13a99b of _0x25a503[_0x4222d4(0x202)]())_0x13a99b['is'](_0x4222d4(0x266))&&_0x72af7e[_0x4222d4(0x2af)](this[_0x4222d4(0x2a8)](_0x13a99b,()=>_0x245f4e[_0x4222d4(0x225)](_0x72af7e)));let _0x2b9c51=_0x25a503;for(;_0x2b9c51[_0x4222d4(0x1f2)]&&!_0x2b9c51[_0x4222d4(0x1f2)]['is'](_0x4222d4(0x2d7));)_0x2b9c51=_0x2b9c51[_0x4222d4(0x1f2)],_0x2b9c51[_0x4222d4(0x1fb)](_0x30206f)&&_0x2b9c51[_0x4222d4(0x267)](_0x30206f);_0x12147a[_0x4222d4(0x260)](_0x4c3d37,{'path':_0x25a503[_0x4222d4(0x23e)](),'getContent':this[_0x4222d4(0x22e)](_0x2b9c51[_0x4222d4(0x2a4)](!0x0),_0x4c3d37,_0x4ce3c3[_0x4222d4(0x271)])}),_0x3d17a6[_0x4222d4(0x207)](_0x5791db[_0x4222d4(0x26e)](_0x25a503));}}return{'content':_0x4ce3c3[_0x4222d4(0x271)][_0x4222d4(0x28b)][_0x4222d4(0x21c)](_0x4ce3c3[_0x4222d4(0x271)][_0x4222d4(0x216)](_0xa4ef32)),'version':_0x4ce3c3[_0x4222d4(0x217)][_0x4222d4(0x1fd)][_0x4222d4(0x21d)],'elements':_0x12147a};}[_0x22ca59(0x261)](_0x2fd4e3,_0x4a00bd){const _0x51a001=_0x22ca59,_0x793ab0=[],_0x1df8e1=_0x5a34dc(this[_0x51a001(0x2b6)]),_0x28dcfd=_0x1df8e1[_0x51a001(0x271)][_0x51a001(0x2bf)](_0x4a00bd,_0x51a001(0x293)),_0x45ed92=_0x1df8e1[_0x51a001(0x271)][_0x51a001(0x2bf)](_0x2fd4e3,_0x51a001(0x293)),_0x1c533c=_0x1df8e1[_0x51a001(0x217)][_0x51a001(0x2d3)](_0x45ed92,0x0);if(this[_0x51a001(0x233)](_0x28dcfd)){if(!this[_0x51a001(0x239)](_0x45ed92,_0x28dcfd))return _0x793ab0;}else{const _0x3ab2ca=_0x1df8e1[_0x51a001(0x217)][_0x51a001(0x22a)];if(!this[_0x51a001(0x1fa)](_0x45ed92,_0x3ab2ca)||!this[_0x51a001(0x1fa)](_0x28dcfd,_0x3ab2ca))return _0x793ab0;}const _0xc1d911=this[_0x51a001(0x2b6)][_0x51a001(0x280)][_0x51a001(0x1ef)](_0x51a001(0x259))[_0x51a001(0x2aa)](_0x2fd4e3,_0x4a00bd,{'anchor':_0x1c533c,'markDeletions':!0x0})[_0x51a001(0x20b)]()[_0x51a001(0x237)](_0xd63721=>_0x51a001(0x23d)===_0xd63721[_0x51a001(0x2bd)]||_0x51a001(0x2c5)===_0xd63721[_0x51a001(0x2bd)]&&_0xd63721[_0x51a001(0x1f3)][_0x51a001(0x22c)](_0x51a001(0x28c))),_0x255b59=this[_0x51a001(0x2c8)](_0xc1d911);let _0x5bde23=0x0;return _0x1df8e1[_0x51a001(0x217)][_0x51a001(0x234)](_0x42c251=>{const _0x2c3e47=_0x51a001;for(let _0x289538=0x0;_0x289538<_0x255b59[_0x2c3e47(0x2b3)];_0x289538++){const _0x1d3d9d=_0x255b59[_0x289538],_0x10801e=_0x42c251[_0x2c3e47(0x265)]();for(const _0x50568d of _0x45ed92[_0x2c3e47(0x202)]())_0x42c251[_0x2c3e47(0x244)](_0x50568d[_0x2c3e47(0x2a4)](!0x0),_0x10801e);for(const _0x11331d of _0x1d3d9d[_0x2c3e47(0x2c2)])if(_0x2c3e47(0x23d)===_0x11331d[_0x2c3e47(0x2bd)]){const _0x5072ee=_0x11331d;_0x5072ee[_0x2c3e47(0x24c)]=null,_0x5072ee[_0x2c3e47(0x263)]=!0x1,this[_0x2c3e47(0x275)](_0x5072ee,_0x10801e),_0x42c251[_0x2c3e47(0x21a)][_0x2c3e47(0x2d5)](_0x11331d),_0x1df8e1[_0x2c3e47(0x217)][_0x2c3e47(0x2dc)](_0x11331d);const _0x7cdd1d=_0x2c3e47(0x241)+_0x5bde23++,_0x48de40=_0x1df8e1[_0x2c3e47(0x217)][_0x2c3e47(0x26f)](_0x5072ee[_0x2c3e47(0x1fe)],_0x5072ee[_0x2c3e47(0x1fe)][_0x2c3e47(0x1ff)](_0x5072ee[_0x2c3e47(0x1f8)]));_0x10801e[_0x2c3e47(0x268)][_0x2c3e47(0x260)](_0x7cdd1d,_0x48de40);}else{if(_0x2c3e47(0x2c5)===_0x11331d[_0x2c3e47(0x2bd)]&&_0x11331d[_0x2c3e47(0x1f3)][_0x2c3e47(0x22c)](_0x2c3e47(0x28c))){const _0x547965=_0x11331d,_0x216731=_0x2c3e47(0x278)+_0x5bde23++;this[_0x2c3e47(0x275)](_0x547965,_0x10801e),_0x10801e[_0x2c3e47(0x268)][_0x2c3e47(0x260)](_0x216731,_0x547965[_0x2c3e47(0x28d)]);}}const _0x30bafe=this[_0x2c3e47(0x297)](this[_0x2c3e47(0x253)](this[_0x2c3e47(0x24e)](_0x1d3d9d[_0x2c3e47(0x2c2)][0x0]),_0x10801e),this[_0x2c3e47(0x253)](this[_0x2c3e47(0x26a)](_0x1d3d9d[_0x2c3e47(0x2c2)][_0x1d3d9d[_0x2c3e47(0x2c2)][_0x2c3e47(0x2b3)]-0x1]),_0x10801e));_0x10801e[_0x2c3e47(0x268)][_0x2c3e47(0x260)](le+_0x2c3e47(0x218),new _0xe74e3a(_0x30bafe[_0x2c3e47(0x256)],_0x30bafe[_0x2c3e47(0x2e2)])),_0x793ab0[_0x2c3e47(0x2df)]({..._0x1d3d9d,'context':this[_0x2c3e47(0x235)](_0x10801e,_0x1df8e1[_0x2c3e47(0x271)],{'ellipsisBefore':_0x30bafe[_0x2c3e47(0x211)],'ellipsisAfter':_0x30bafe[_0x2c3e47(0x232)]}),'content':this[_0x2c3e47(0x21f)](_0x10801e,_0x1df8e1[_0x2c3e47(0x271)])});}}),_0x793ab0;}[_0x22ca59(0x209)](_0x548cb5,_0x29f7fb){const _0x196613=_0x22ca59;if(!_0x548cb5[_0x196613(0x2b3)])return;const _0x49448a=_0x548cb5[0x0][_0x196613(0x1f2)]['id'],_0x57796f=_0x29f7fb[_0x196613(0x2dd)][_0x196613(0x1ef)](_0x49448a);if(!_0x57796f)return void console[_0x196613(0x29d)](_0x196613(0x20c)+_0x49448a);const _0x3b1b65=_0x57796f[_0x196613(0x276)],_0x5a2d6e=_0x5a34dc(this[_0x196613(0x2b6)]),_0x345ae0=_0x5a2d6e[_0x196613(0x217)][_0x196613(0x1fd)][_0x196613(0x200)][_0x196613(0x20b)](_0x29f7fb[_0x196613(0x21d)]),_0x17dba6=[];for(const _0x1e6ac1 of _0x548cb5){const _0x51a5ad=_0x1e6ac1[_0x196613(0x2c2)][_0x196613(0x2d8)](_0x42f29c=>this[_0x196613(0x208)](_0x42f29c,_0x3b1b65,_0x5a2d6e[_0x196613(0x217)][_0x196613(0x1fd)][_0x196613(0x2bc)]()[0x0]));if(!_0x51a5ad||!_0x51a5ad[_0x196613(0x2b3)])continue;const _0x5aea10=_0x51a5ad[_0x196613(0x294)](_0x410842=>_0x196613(0x2c5)===_0x410842[_0x196613(0x2bd)]&&_0x410842[_0x196613(0x1f3)][_0x196613(0x22c)](_0x196613(0x28c))),_0x2f50b1={'document':_0x5a2d6e[_0x196613(0x217)][_0x196613(0x1fd)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5d5ea7=_0x448041(_0x51a5ad,_0x345ae0,_0x2f50b1)[_0x196613(0x2de)];for(const _0x1d72c9 of _0x5d5ea7)if(_0x196613(0x23d)===_0x1d72c9[_0x196613(0x2bd)]){const _0x5d89f5=_0x1d72c9,_0x2f5e1a=_0x5d89f5[_0x196613(0x279)];let _0x2f9ee9='';for(const _0x3d1a25 of _0x2f5e1a)_0x3d1a25&&_0x3d1a25['is'](_0x196613(0x2b9))&&(_0x2f9ee9+=_0x3d1a25[_0x196613(0x271)]);_0x17dba6[_0x196613(0x2df)]({'start':_0x5d89f5[_0x196613(0x1fe)],'end':_0x5d89f5[_0x196613(0x1fe)],'type':_0x196613(0x23d),'groupId':_0x1e6ac1['id'],'text':_0x2f9ee9});}else{if(_0x196613(0x2c5)===_0x1d72c9[_0x196613(0x2bd)]&&_0x1d72c9[_0x196613(0x1f3)][_0x196613(0x22c)](_0x196613(0x28c))){const _0xb8253d=_0x1d72c9;let _0x3e45dd=_0x196613(0x2c6);if(_0x5aea10){const _0x3ad009=this[_0x196613(0x27e)](_0xb8253d[_0x196613(0x28d)][_0x196613(0x256)],_0x196613(0x27f),_0x5a2d6e[_0x196613(0x217)][_0x196613(0x22a)]),_0x223394=this[_0x196613(0x27e)](_0xb8253d[_0x196613(0x28d)][_0x196613(0x2e2)],_0x196613(0x25d),_0x5a2d6e[_0x196613(0x217)][_0x196613(0x22a)]);if(_0x3ad009||_0x223394){const _0x4d797d=_0xb8253d[_0x196613(0x28d)][_0x196613(0x256)][_0x196613(0x1ff)](-_0x3ad009),_0x5bb20a=_0xb8253d[_0x196613(0x28d)][_0x196613(0x2e2)][_0x196613(0x1ff)](_0x223394);_0x17dba6[_0x196613(0x2df)]({'start':_0x4d797d,'end':_0x5bb20a,'groupId':_0x1e6ac1['id'],'type':_0x196613(0x21b)});}else _0x3e45dd=_0x196613(0x292);}_0x17dba6[_0x196613(0x2df)]({'start':_0xb8253d[_0x196613(0x28d)][_0x196613(0x256)],'end':_0xb8253d[_0x196613(0x28d)][_0x196613(0x2e2)],'groupId':_0x1e6ac1['id'],'type':_0x3e45dd});}}}this[_0x196613(0x29a)](_0x17dba6);}[_0x22ca59(0x27d)](){const _0x11c388=_0x22ca59,_0x385e35=_0x5a34dc(this[_0x11c388(0x2b6)]);_0x385e35[_0x11c388(0x217)][_0x11c388(0x234)](_0x169bfb=>{const _0xffbb86=_0x11c388;for(const _0x5b8295 of this[_0xffbb86(0x2a7)][_0xffbb86(0x205)]())_0x385e35[_0xffbb86(0x217)][_0xffbb86(0x268)][_0xffbb86(0x1ef)](_0x5b8295)&&_0x169bfb[_0xffbb86(0x20a)](_0x5b8295);}),this[_0x11c388(0x2a7)][_0x11c388(0x23a)]();}[_0x22ca59(0x2d6)](){const _0x2a1c4=_0x22ca59;_0x5a34dc(this[_0x2a1c4(0x2b6)])[_0x2a1c4(0x282)](_0x2a1c4(0x213));}[_0x22ca59(0x2d4)](){const _0x57643a=_0x22ca59;_0x5a34dc(this[_0x57643a(0x2b6)])[_0x57643a(0x2cf)](_0x57643a(0x213));}[_0x22ca59(0x25b)](_0x1e89f0){const _0x29e349=_0x22ca59,_0x3ba96a=_0x5a34dc(this[_0x29e349(0x2b6)]),_0x86c4d8=_0x3ba96a[_0x29e349(0x217)],_0x475d0c=_0x1e89f0[_0x29e349(0x2d8)](_0x317bd3=>this[_0x29e349(0x2c7)](_0x317bd3))[_0x29e349(0x29e)]();_0x86c4d8[_0x29e349(0x234)](_0x465389=>{const _0x1df9ee=_0x29e349;for(const _0x19355e of _0x475d0c){const _0x5c30a3=_0x3ba96a[_0x1df9ee(0x217)][_0x1df9ee(0x268)][_0x1df9ee(0x1ef)](_0x19355e['id']);_0x5c30a3&&(_0x1df9ee(0x23d)===_0x19355e[_0x1df9ee(0x2bd)]?_0x86c4d8[_0x1df9ee(0x251)](_0x465389[_0x1df9ee(0x248)](_0x19355e[_0x1df9ee(0x20e)]||''),_0x5c30a3[_0x1df9ee(0x272)]()[_0x1df9ee(0x256)]):_0x1df9ee(0x2c6)!==_0x19355e[_0x1df9ee(0x2bd)]&&_0x1df9ee(0x292)!==_0x19355e[_0x1df9ee(0x2bd)]||_0x86c4d8[_0x1df9ee(0x238)](_0x86c4d8[_0x1df9ee(0x249)](_0x5c30a3[_0x1df9ee(0x272)]())),_0x465389[_0x1df9ee(0x20a)](_0x19355e['id']),this[_0x1df9ee(0x2a7)][_0x1df9ee(0x2a1)](_0x19355e['id']));}});}[_0x22ca59(0x24a)](_0x3ddabb){const _0xedd98b=_0x22ca59,_0x4613f2=_0x5a34dc(this[_0xedd98b(0x2b6)]),_0x466bf0=this[_0xedd98b(0x2c7)](_0x3ddabb);_0x4613f2[_0xedd98b(0x217)][_0xedd98b(0x234)](_0x164fd8=>{const _0x437ca4=_0xedd98b;for(const _0x48cd04 of _0x466bf0)_0x164fd8[_0x437ca4(0x20a)](_0x48cd04['id']),this[_0x437ca4(0x2a7)][_0x437ca4(0x2a1)](_0x48cd04['id']);});}[_0x22ca59(0x2e3)](){const _0x460e76=_0x22ca59;return _0x5a34dc(this[_0x460e76(0x2b6)]);}[_0x22ca59(0x295)](_0x5535ad){const _0x38848b=_0x22ca59,_0x68d555=Array[_0x38848b(0x1f1)](this[_0x38848b(0x2a7)][_0x38848b(0x2c4)]())[_0x38848b(0x237)](_0x53d0a3=>_0x53d0a3[_0x38848b(0x2e1)]===_0x5535ad);if(!_0x68d555[_0x38848b(0x2b3)])return null;const _0x285c2d=0x1===_0x68d555[_0x38848b(0x2b3)]?_0x68d555[0x0]:this[_0x38848b(0x23c)](_0x68d555)[0x0],_0x10e8c3=_0x5a34dc(this[_0x38848b(0x2b6)]),_0x4ab7e1=_0x10e8c3[_0x38848b(0x217)][_0x38848b(0x268)][_0x38848b(0x1ef)](_0x285c2d['id']);if(!_0x4ab7e1)return null;const _0x43c5e4=_0x4ab7e1[_0x38848b(0x272)](),_0x5a4799=_0x10e8c3[_0x38848b(0x24f)][_0x38848b(0x2ba)][_0x38848b(0x2c9)]();if(!_0x5a4799||!_0x43c5e4)return null;const _0x48e0bb=_0x5a4799[_0x38848b(0x24b)](_0x38848b(0x29f)+_0x285c2d['id']+'\x22]');return _0x48e0bb?{'modelRange':_0x43c5e4,'domElement':_0x48e0bb}:null;}[_0x22ca59(0x2e4)](_0x1410cd,_0x3215b5){const _0x3929d7=_0x22ca59,_0x508c74=Array[_0x3929d7(0x1f1)](this[_0x3929d7(0x2a7)][_0x3929d7(0x205)]()),_0x28f071=new Map();for(const _0x5df1f9 of _0x508c74){const _0x17c274=_0x1410cd[_0x3929d7(0x217)][_0x3929d7(0x268)][_0x3929d7(0x1ef)](_0x5df1f9);if(!_0x17c274)continue;const _0x2f4b33=_0x17c274[_0x3929d7(0x1f9)]()[_0x3929d7(0x276)][0x0];_0x28f071[_0x3929d7(0x273)](_0x2f4b33)||_0x28f071[_0x3929d7(0x260)](_0x2f4b33,[]),_0x28f071[_0x3929d7(0x1ef)](_0x2f4b33)[_0x3929d7(0x2df)](_0x17c274);}const _0x4ac663=new Set();for(const _0x2b26a8 of _0x1410cd[_0x3929d7(0x217)][_0x3929d7(0x1fd)][_0x3929d7(0x252)][_0x3929d7(0x222)]()){let _0x19fe7d=-0x1,_0x12f256=null;if(_0x3929d7(0x23d)===_0x2b26a8[_0x3929d7(0x2bd)])_0x12f256=new _0xe74e3a(_0x2b26a8[_0x3929d7(0x1fe)],_0x2b26a8[_0x3929d7(0x1fe)][_0x3929d7(0x1ff)](_0x2b26a8[_0x3929d7(0x2b3)])),_0x19fe7d=_0x2b26a8[_0x3929d7(0x1fe)][_0x3929d7(0x276)][0x0];else{if(_0x3929d7(0x269)!==_0x2b26a8[_0x3929d7(0x2bd)])continue;_0x12f256=new _0xe74e3a(_0x2b26a8[_0x3929d7(0x1fe)]),_0x19fe7d=_0x2b26a8[_0x3929d7(0x1fe)][_0x3929d7(0x276)][0x0];}const _0x43584a=_0x28f071[_0x3929d7(0x1ef)](_0x19fe7d)||[];if(_0x43584a[_0x3929d7(0x2b3)]){for(const _0x5e7960 of _0x43584a)if(_0x12f256[_0x3929d7(0x2d2)][_0x3929d7(0x1f0)]===_0x5e7960[_0x3929d7(0x272)]()[_0x3929d7(0x2d2)][_0x3929d7(0x1f0)]&&(_0x3929d7(0x23d)!==_0x2b26a8[_0x3929d7(0x2bd)]||!_0x12f256[_0x3929d7(0x2d0)](_0x5e7960[_0x3929d7(0x272)]()))&&(_0x12f256[_0x3929d7(0x220)](_0x5e7960[_0x3929d7(0x272)]())||_0x12f256[_0x3929d7(0x256)][_0x3929d7(0x26b)](_0x5e7960[_0x3929d7(0x272)]()[_0x3929d7(0x2e2)])||_0x12f256[_0x3929d7(0x2e2)][_0x3929d7(0x26b)](_0x5e7960[_0x3929d7(0x272)]()[_0x3929d7(0x256)]))){const _0x35d39d=this[_0x3929d7(0x291)](_0x5e7960[_0x3929d7(0x1f3)]);Array[_0x3929d7(0x1f1)](this[_0x3929d7(0x2a7)][_0x3929d7(0x2c4)]())[_0x3929d7(0x237)](_0xbd5b1b=>_0xbd5b1b[_0x3929d7(0x2e1)]===_0x35d39d[_0x3929d7(0x2e1)])[_0x3929d7(0x2bb)](_0x218aaa=>_0x4ac663[_0x3929d7(0x2af)](_0x218aaa['id']));}}}if(_0x4ac663[_0x3929d7(0x212)]){for(const _0xa2f3c4 of _0x4ac663)_0x3215b5[_0x3929d7(0x20a)](_0xa2f3c4);return!0x0;}return!0x1;}[_0x22ca59(0x264)](_0xb30c3b){const _0x374022=_0x22ca59;for(const {name:_0x133508,data:_0x42f307}of _0xb30c3b[_0x374022(0x217)][_0x374022(0x1fd)][_0x374022(0x252)][_0x374022(0x2be)]()){if(!_0x133508[_0x374022(0x22c)](le))continue;const _0x2db0ce=_0x42f307[_0x374022(0x2cd)],_0x59520c=_0x42f307[_0x374022(0x28d)],_0xa54658=_0x2db0ce&&_0x374022(0x257)===_0x2db0ce[_0x374022(0x2d2)][_0x374022(0x1f0)],_0xd39d39=_0x59520c&&_0x374022(0x257)===_0x59520c[_0x374022(0x2d2)][_0x374022(0x1f0)];if(_0xa54658&&_0xd39d39)continue;const _0x1a974c=this[_0x374022(0x291)](_0x133508);this[_0x374022(0x2a7)][_0x374022(0x1ef)](_0x133508)&&(_0xd39d39||!_0x59520c?this[_0x374022(0x215)][_0x374022(0x2cc)](_0x374022(0x236),{'markerId':_0x133508,'changeId':_0x1a974c[_0x374022(0x2e1)]}):_0xa54658&&_0x59520c&&this[_0x374022(0x215)][_0x374022(0x2cc)](_0x374022(0x288),{'markerId':_0x133508,'changeId':_0x1a974c[_0x374022(0x2e1)]}));}}[_0x22ca59(0x291)](_0xd0c925){const _0x3c2748=_0x22ca59,_0x43e991=_0xd0c925[_0x3c2748(0x274)](':'),_0xa3c4d4=(_0x43e991[0x1]||'')[_0x3c2748(0x274)]('_');return{'prefix':_0x43e991[0x0],'groupId':_0xa3c4d4[0x0],'suffix':_0xa3c4d4[0x1]};}[_0x22ca59(0x208)](_0x3ce679,_0x14c19f,_0xf2b7e){const _0x45430d=_0x22ca59;if(_0x45430d(0x23d)===_0x3ce679[_0x45430d(0x2bd)]){const _0x2e15e7=_0x3ce679;return new _0x25b403(this[_0x45430d(0x22f)](_0x14c19f[_0x45430d(0x27a)](_0x2e15e7[_0x45430d(0x1fe)][_0x45430d(0x2ad)]),_0xf2b7e),_0x2e15e7[_0x45430d(0x279)],_0x2e15e7[_0x45430d(0x24c)]);}if(_0x45430d(0x2c5)===_0x3ce679[_0x45430d(0x2bd)]&&_0x3ce679[_0x45430d(0x1f3)][_0x45430d(0x22c)](_0x45430d(0x28c))){const _0x3563c9=_0x3ce679;return new _0x2b918a(_0x3563c9[_0x45430d(0x1f3)],_0x3563c9[_0x45430d(0x2cd)],this[_0x45430d(0x247)](_0x3563c9[_0x45430d(0x28d)],_0x14c19f[_0x45430d(0x27a)](_0x3563c9[_0x45430d(0x28d)][_0x45430d(0x256)][_0x45430d(0x2ad)]),_0x14c19f[_0x45430d(0x27a)](_0x3563c9[_0x45430d(0x28d)][_0x45430d(0x2e2)][_0x45430d(0x2ad)]),_0xf2b7e),_0x3563c9[_0x45430d(0x2a7)],_0x3563c9[_0x45430d(0x28a)],_0x3563c9[_0x45430d(0x24c)]);}return _0x3ce679;}[_0x22ca59(0x2c8)](_0x397a91){const _0x1caa96=_0x22ca59;if(!_0x397a91[_0x1caa96(0x2b3)])return[];const _0x4be6b5=[];let _0x529aa1=0x0,_0x4966a1=0x0,_0x2c9fd5=[];for(let _0x4eaf38=0x0;_0x4eaf38<=_0x397a91[_0x1caa96(0x2b3)];_0x4eaf38++){const _0x31c73c=_0x397a91[_0x4eaf38],_0x51de4a=_0x397a91[_0x4eaf38-0x1];!_0x31c73c||_0x51de4a&&!this[_0x1caa96(0x26a)](_0x51de4a)[_0x1caa96(0x26b)](this[_0x1caa96(0x24e)](_0x31c73c))?(_0x4be6b5[_0x1caa96(0x2df)]({'operations':_0x2c9fd5,'operationsIsolated':_0x2c9fd5[_0x1caa96(0x2d8)](_0x3c3405=>this[_0x1caa96(0x29c)](_0x3c3405[_0x1caa96(0x24d)](),-_0x4966a1)),'groupOffset':_0x529aa1}),_0x2c9fd5=_0x31c73c?[_0x31c73c]:[],_0x4966a1+=_0x529aa1,_0x529aa1=0x0):_0x2c9fd5[_0x1caa96(0x2df)](_0x31c73c),_0x31c73c&&_0x1caa96(0x23d)===_0x31c73c[_0x1caa96(0x2bd)]&&(_0x529aa1+=_0x31c73c[_0x1caa96(0x1f8)]);}return _0x4be6b5;}[_0x22ca59(0x27e)](_0x1bdfa2,_0x1d9a1a,_0x2cede2,_0x2e4ccf=0x1){const _0xb7cf4c=_0x22ca59,_0x48e1bf=new _0x161fc9({'startPosition':_0x1bdfa2,'direction':_0x1d9a1a});let _0x4bd6c8=0x0;for(let _0x5ca7cd=0x0;_0x5ca7cd<_0x2e4ccf;_0x5ca7cd++){let _0x351cfe=0x0,_0x165882=!0x1,_0x5a427b=_0xb7cf4c(0x25d)===_0x1d9a1a?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x17dbc2}of _0x48e1bf)if(_0x17dbc2['is'](_0xb7cf4c(0x2a6))){const _0x538704=_0x5a427b[_0xb7cf4c(0x2b2)](_0x17dbc2[_0xb7cf4c(0x271)]);if(_0x538704&&_0x538704[_0xb7cf4c(0x2b3)]){if(_0x351cfe+=_0xb7cf4c(0x25d)===_0x1d9a1a?_0x538704[_0xb7cf4c(0x25e)]+_0x538704[0x0][_0xb7cf4c(0x2b3)]:_0x17dbc2[_0xb7cf4c(0x271)][_0xb7cf4c(0x2b3)]-_0x538704[_0xb7cf4c(0x25e)],_0x538704[0x0][_0xb7cf4c(0x2b3)]!==_0x17dbc2[_0xb7cf4c(0x271)][_0xb7cf4c(0x2b3)])break;_0x165882=!0x0,_0x5a427b=_0xb7cf4c(0x25d)===_0x1d9a1a?/^\w+/:/\w+$/;}else{if(_0x165882)break;_0x351cfe+=_0x17dbc2[_0xb7cf4c(0x2c1)];}}else{if(_0x17dbc2['is'](_0xb7cf4c(0x266))){_0x2cede2[_0xb7cf4c(0x2ce)](_0x17dbc2)&&!_0x165882&&(_0x351cfe+=0x1);break;}}_0x4bd6c8+=_0x351cfe,_0x48e1bf[_0xb7cf4c(0x207)](_0x1bdfa2[_0xb7cf4c(0x1ff)](_0xb7cf4c(0x25d)===_0x1d9a1a?_0x4bd6c8:-_0x4bd6c8));}return _0x4bd6c8;}[_0x22ca59(0x297)](_0x304f86,_0x57fbb8){const _0x43da04=_0x22ca59,_0x4e7526=_0x5a34dc(this[_0x43da04(0x2b6)])[_0x43da04(0x217)][_0x43da04(0x22a)],_0x18a7e6=this[_0x43da04(0x27e)](_0x304f86,_0x43da04(0x27f),_0x4e7526,0x6),_0x6a304f=this[_0x43da04(0x27e)](_0x57fbb8,_0x43da04(0x25d),_0x4e7526,0x6),_0x5758a7=_0x304f86[_0x43da04(0x1ff)](-_0x18a7e6),_0x1a61c1=_0x57fbb8[_0x43da04(0x1ff)](_0x6a304f);return{'start':_0x5758a7,'end':_0x1a61c1,'hasContentBefore':!_0x5758a7[_0x43da04(0x21e)],'hasContentAfter':!_0x1a61c1[_0x43da04(0x2a3)]};}[_0x22ca59(0x29a)](_0x2cba6d){const _0x6bc2ba=_0x22ca59,_0x200b0d=this[_0x6bc2ba(0x2b6)][_0x6bc2ba(0x280)][_0x6bc2ba(0x1ef)](_0x6bc2ba(0x221)),_0x397323=new Set();_0x5a34dc(this[_0x6bc2ba(0x2b6)])[_0x6bc2ba(0x217)][_0x6bc2ba(0x234)](_0xbac727=>{const _0x3a7753=_0x6bc2ba;for(const _0x2237dd of _0x2cba6d){const _0x317a1c=''+le+_0x2237dd[_0x3a7753(0x2bd)]+':'+_0x2237dd[_0x3a7753(0x2e1)]+'_'+_0x200b0d[_0x3a7753(0x225)](_0x397323);this[_0x3a7753(0x2a7)][_0x3a7753(0x260)](_0x317a1c,{'id':_0x317a1c,'groupId':_0x2237dd[_0x3a7753(0x2e1)],'type':_0x2237dd[_0x3a7753(0x2bd)],'text':_0x2237dd[_0x3a7753(0x20e)]}),_0xbac727[_0x3a7753(0x1ee)](_0x317a1c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xbac727[_0x3a7753(0x26f)](_0x2237dd[_0x3a7753(0x256)],_0x2237dd[_0x3a7753(0x2e2)])});}});}[_0x22ca59(0x235)](_0x216028,_0x209f4b,_0x4c743f){let _0xf4300e='';return()=>{const _0x44a7fb=_0x4759;if(!_0xf4300e){const _0x2ac5f1=_0x209f4b[_0x44a7fb(0x216)](_0x216028,{'showSuggestionHighlights':!0x0});let _0x38b148=_0x2ac5f1[_0x44a7fb(0x242)](0x0);if(_0x38b148['is'](_0x44a7fb(0x23f))||(_0x38b148=_0x2ac5f1),!_0x38b148)return'';let _0x2ba754=!0x1;const _0x5f4562=[];for(const _0x5a7f57 of _0x38b148[_0x44a7fb(0x202)]())_0x5a7f57['is'](_0x44a7fb(0x266),_0x44a7fb(0x228))&&_0x5a7f57[_0x44a7fb(0x2db)](_0x44a7fb(0x2a5))&&(_0x2ba754=!0x1),_0x2ba754&&_0x5f4562[_0x44a7fb(0x2df)](_0x5a7f57),_0x5a7f57['is'](_0x44a7fb(0x266),_0x44a7fb(0x228))&&_0x5a7f57[_0x44a7fb(0x2db)](_0x44a7fb(0x226))&&(_0x2ba754=!0x0);_0x38b148[_0x44a7fb(0x2cb)](0x0,_0x38b148[_0x44a7fb(0x2b5)]),_0x4c743f?.[_0x44a7fb(0x223)]&&_0x38b148[_0x44a7fb(0x26c)]('…'),_0x38b148[_0x44a7fb(0x26c)](_0x5f4562),_0x4c743f?.[_0x44a7fb(0x2b7)]&&_0x38b148[_0x44a7fb(0x26c)]('…');const _0x4b7cfb=_0x209f4b[_0x44a7fb(0x2e0)][_0x44a7fb(0x20d)][_0x44a7fb(0x270)](_0x2ac5f1),_0x3b2abe=_0x209f4b[_0x44a7fb(0x2e0)][_0x44a7fb(0x2ac)][_0x44a7fb(0x287)](_0x4b7cfb);_0xf4300e=_0x3b2abe;}return _0xf4300e;};}[_0x22ca59(0x21f)](_0x21dd01,_0x1443fe){const _0x128d0e=_0x22ca59;let _0x2ab13d='';return()=>(_0x2ab13d||(_0x2ab13d=_0x1443fe[_0x128d0e(0x26d)](_0x21dd01,{'showSuggestionHighlights':!0x0})),_0x2ab13d);}[_0x22ca59(0x22e)](_0x4f0abf,_0x5d5f67,_0x2f79fd){let _0x1818b8='';return()=>{const _0x4c6c8f=_0x4759;if(!_0x1818b8){const _0xc0514a=_0x2f79fd[_0x4c6c8f(0x216)](new _0xf4b5b7(_0x4f0abf)),_0x2f6edd=_0x2f79fd[_0x4c6c8f(0x2e0)][_0x4c6c8f(0x20d)][_0x4c6c8f(0x270)](_0xc0514a)[_0x4c6c8f(0x24b)](_0x4c6c8f(0x29b)+_0x5d5f67+'\x22]');_0x1818b8=_0x2f6edd?.[_0x4c6c8f(0x258)]||'';}return _0x1818b8;};}[_0x22ca59(0x224)](_0x38beb1,_0xa1865f=0x5){const _0x30683a=_0x22ca59;let _0x40643f=_0x38beb1,_0x4c988a=null;for(let _0x103727=0x0;_0x103727<_0xa1865f&&_0x40643f;_0x103727++){if(!_0x40643f[_0x30683a(0x214)]){_0x40643f=_0x40643f[_0x30683a(0x28e)];continue;}if(!(''+_0x40643f[_0x30683a(0x214)])[_0x30683a(0x1f6)](_0x30683a(0x22d))){_0x40643f=_0x40643f[_0x30683a(0x28e)];continue;}if(!_0x40643f[_0x30683a(0x2ae)](_0x30683a(0x285)))break;_0x4c988a=_0x40643f;break;}return _0x4c988a;}[_0x22ca59(0x2c7)](_0x3d267d){const _0x2b130d=_0x22ca59;return Array[_0x2b130d(0x1f1)](this[_0x2b130d(0x2a7)][_0x2b130d(0x2c4)]())[_0x2b130d(0x237)](_0x2b5a6a=>_0x2b5a6a[_0x2b130d(0x2e1)]===_0x3d267d);}[_0x22ca59(0x24e)](_0x504896){const _0x319c12=_0x22ca59;return _0x319c12(0x23d)===_0x504896[_0x319c12(0x2bd)]?_0x504896[_0x319c12(0x1fe)]:_0x504896[_0x319c12(0x28d)][_0x319c12(0x256)];}[_0x22ca59(0x26a)](_0x2db6bd,_0x5ecca6=!0x1){const _0x537845=_0x22ca59;return _0x537845(0x23d)===_0x2db6bd[_0x537845(0x2bd)]?_0x5ecca6?_0x2db6bd[_0x537845(0x1fe)]:_0x2db6bd[_0x537845(0x1fe)][_0x537845(0x1ff)](_0x2db6bd[_0x537845(0x1f8)]):_0x2db6bd[_0x537845(0x28d)][_0x537845(0x2e2)];}[_0x22ca59(0x29c)](_0x1c930e,_0xfb03bf){const _0xd05b53=_0x22ca59;return _0xd05b53(0x23d)===_0x1c930e[_0xd05b53(0x2bd)]?_0x1c930e[_0xd05b53(0x1fe)]=_0x1c930e[_0xd05b53(0x1fe)][_0xd05b53(0x1ff)](_0xfb03bf):_0xd05b53(0x2c5)===_0x1c930e[_0xd05b53(0x2bd)]&&_0x1c930e[_0xd05b53(0x28d)]&&(_0x1c930e[_0xd05b53(0x28d)]=new _0xe74e3a(_0x1c930e[_0xd05b53(0x28d)][_0xd05b53(0x256)][_0xd05b53(0x1ff)](_0xfb03bf),_0x1c930e[_0xd05b53(0x28d)][_0xd05b53(0x2e2)][_0xd05b53(0x1ff)](_0xfb03bf))),_0x1c930e;}[_0x22ca59(0x275)](_0x532f33,_0x4677e3){const _0x355960=_0x22ca59;_0x355960(0x23d)===_0x532f33[_0x355960(0x2bd)]?_0x532f33[_0x355960(0x1fe)]=this[_0x355960(0x253)](_0x532f33[_0x355960(0x1fe)],_0x4677e3):_0x355960(0x2c5)===_0x532f33[_0x355960(0x2bd)]&&_0x532f33[_0x355960(0x28d)]&&(_0x532f33[_0x355960(0x28d)]=this[_0x355960(0x289)](_0x532f33[_0x355960(0x28d)],_0x4677e3));}[_0x22ca59(0x253)](_0x583060,_0x2326c2){const _0x3d2153=_0x22ca59;return new _0x30ace0(_0x2326c2,_0x583060[_0x3d2153(0x276)]);}[_0x22ca59(0x289)](_0x5729de,_0x51e44b){const _0x518d60=_0x22ca59;return new _0xe74e3a(this[_0x518d60(0x253)](_0x5729de[_0x518d60(0x256)],_0x51e44b),this[_0x518d60(0x253)](_0x5729de[_0x518d60(0x2e2)],_0x51e44b));}[_0x22ca59(0x22f)](_0x158ac3,_0x584f5f){return new _0x30ace0(_0x584f5f,[..._0x158ac3]);}[_0x22ca59(0x247)](_0xe4c7b0,_0x8b065d,_0x145a76,_0x57493d){const _0x18440b=_0x22ca59;return new _0xe74e3a(this[_0x18440b(0x22f)](_0x8b065d,_0x57493d),this[_0x18440b(0x22f)](_0x145a76,_0x57493d));}[_0x22ca59(0x23c)](_0x550463){const _0x34f780=_0x22ca59,_0x149076=_0x5b476f=>{const _0x1a9477=_0x4759;switch(_0x5b476f){case _0x1a9477(0x23d):return 0x1;case _0x1a9477(0x21b):return 0x2;case _0x1a9477(0x292):return 0x3;case _0x1a9477(0x2c6):return 0x4;}};return _0x550463[_0x34f780(0x210)]((_0x219ba2,_0x349b06)=>_0x149076(_0x219ba2[_0x34f780(0x2bd)])-_0x149076(_0x349b06[_0x34f780(0x2bd)]));}[_0x22ca59(0x239)](_0x447474,_0x3191b4){const _0x5ba20f=_0x22ca59,_0x2744f8=_0x447474[_0x5ba20f(0x242)](0x0),_0x500cbd=_0x3191b4[_0x5ba20f(0x242)](0x0);return!(!_0x2744f8||!_0x500cbd)&&((!_0x2744f8['is'](_0x5ba20f(0x266))||!_0x500cbd['is'](_0x5ba20f(0x266))||_0x2744f8[_0x5ba20f(0x1f3)]===_0x500cbd[_0x5ba20f(0x1f3)])&&!(_0x2744f8['is'](_0x5ba20f(0x266))&&!_0x500cbd['is'](_0x5ba20f(0x266))||!_0x2744f8['is'](_0x5ba20f(0x266))&&_0x500cbd['is'](_0x5ba20f(0x266))));}[_0x22ca59(0x233)](_0xa1064b){const _0x31f422=_0x22ca59;return 0x1===_0xa1064b[_0x31f422(0x2b5)];}[_0x22ca59(0x1fa)](_0x2ae1d4,_0x575f30){const _0x3e1aab=_0x22ca59;for(const _0x13fa14 of _0x2ae1d4[_0x3e1aab(0x202)]())if(_0x13fa14['is'](_0x3e1aab(0x266))&&!_0x575f30[_0x3e1aab(0x2ce)](_0x13fa14))return!0x1;return!0x0;}[_0x22ca59(0x2a8)](_0x3e7182,_0x3fc947){const _0x4789ad=_0x22ca59;let _0x2d4356=_0x3e7182[_0x4789ad(0x2ae)](_0x30206f);return _0x2d4356||(_0x2d4356=_0x3fc947(),_0x3e7182[_0x4789ad(0x2b1)](_0x30206f,_0x2d4356)),_0x2d4356;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1746d6=_0x1e69;(function(_0x5e1c8e,_0x587c5a){const _0x2d6816=_0x1e69,_0x1ec83f=_0x5e1c8e();while(!![]){try{const _0x2cd770=-parseInt(_0x2d6816(0x1ce))/0x1*(-parseInt(_0x2d6816(0x1ef))/0x2)+-parseInt(_0x2d6816(0x1d2))/0x3+parseInt(_0x2d6816(0x20e))/0x4+-parseInt(_0x2d6816(0x1e4))/0x5*(-parseInt(_0x2d6816(0x1e1))/0x6)+parseInt(_0x2d6816(0x20f))/0x7+parseInt(_0x2d6816(0x1c9))/0x8*(parseInt(_0x2d6816(0x20b))/0x9)+-parseInt(_0x2d6816(0x1cf))/0xa;if(_0x2cd770===_0x587c5a)break;else _0x1ec83f['push'](_0x1ec83f['shift']());}catch(_0x2e1816){_0x1ec83f['push'](_0x1ec83f['shift']());}}}(_0x6e0a,0x47319));import{ContextPlugin as _0x1f58a8}from'ckeditor5/src/core.js';import{IconAIReview as _0x201759}from'ckeditor5/src/icons.js';import{BodyCollection as _0x1c93b8}from'ckeditor5/src/ui.js';function _0x1e69(_0x29d7db,_0x16a0bb){const _0x6e0a5b=_0x6e0a();return _0x1e69=function(_0x1e692a,_0x4f6933){_0x1e692a=_0x1e692a-0x1c7;let _0x209e17=_0x6e0a5b[_0x1e692a];return _0x209e17;},_0x1e69(_0x29d7db,_0x16a0bb);}import{AITabs as _0x34c9e9}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x33da19}from'./ui/aireviewmodeview.js';function _0x6e0a(){const _0x5220c8=['error-general','31037IyAsHh','6039080QKpqJi','get','_reviewModeView','66702TmxfOT','attachToDom','dismissChange','destroy','setTitle','delegate','AIReviewModeUI','acceptChange','getChangeElement','showReviewCompletedView','forEach','finishReview','leaveReviewModeResultList','showReviewCheckList','reviewCheckListView','498AVkvWQ','status','AITabs','5770GimmOD','setActiveStateInResults','init','setCheckResultTitle','showActionsWhenResultIsReady','showReviewCheckResultsView','getResults','addTab','hideChangeBalloon','isPremiumPlugin','AI_REVIEW_MODE','18liZZMP','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','reviewCheckResultsView','showChunkErrorView','pluginName','showBalloon','activateTab','context','addCheckRunResult','isOfficialPlugin','showNoChangesView','view','_bodyCollection','setItemAsInactive','toggleDiff','locale','learnMore','resetActiveStateInResults','showCheckRunResult','rejected','outdated','runReviewCheck','element','deactivateChange','error-chunk','accepted','requires','showReviewCheckListView','9TJlXyv','_reviewModeBalloonSuggestionItemView','showGeneralResultsErrorView','252360hxhpGh','3071551BratvO','activateChange','abortReviewStream','setItemAsActive','hideBalloon','hideDiffInBalloon','showCheckRunResults','setAvailableChecks','showResult','hideActionsWhenResultIsReady','plugins','getReviewCheckList','showChangeBalloon','retryReview','reviewMode','acceptAllChanges','hasChecks','leaveReviewMode','updateChangeState','hideResult','setChecks','fire','showDiffInBalloon','326024RZrXrz','detachFromDom','showGeneralReviewModeErrorView','find'];_0x6e0a=function(){return _0x5220c8;};return _0x6e0a();}import{getTranslation as _0x5baad2}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x502280}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x1746d6(0x21a),_0x1746d6(0x204),_0x1746d6(0x211),_0x1746d6(0x1fd),_0x1746d6(0x21e),_0x1746d6(0x1de),_0x1746d6(0x210),_0x1746d6(0x1d9),_0x1746d6(0x1d4),_0x1746d6(0x1ff),_0x1746d6(0x1dd),_0x1746d6(0x21c)];export class AIReviewModeUI extends _0x1f58a8{[_0x1746d6(0x1d1)];[_0x1746d6(0x20c)];[_0x1746d6(0x1fb)];static get[_0x1746d6(0x209)](){return[_0x34c9e9];}static get[_0x1746d6(0x1f3)](){const _0x521c79=_0x1746d6;return _0x521c79(0x1d8);}static get[_0x1746d6(0x1f8)](){return!0x0;}static get[_0x1746d6(0x1ed)](){return!0x0;}constructor(_0x3c198f){const _0x49f83d=_0x1746d6;super(_0x3c198f),this[_0x49f83d(0x1fb)]=new _0x1c93b8(this[_0x49f83d(0x1f6)][_0x49f83d(0x1fe)]),this[_0x49f83d(0x1fb)][_0x49f83d(0x1d3)](),this[_0x49f83d(0x1d1)]=new _0x33da19(this[_0x49f83d(0x1f6)][_0x49f83d(0x1fe)]),this[_0x49f83d(0x1d1)][_0x49f83d(0x1d7)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x49f83d(0x20c)]=new _0x502280(this[_0x49f83d(0x1f6)][_0x49f83d(0x1fe)],this[_0x49f83d(0x1fb)]),this[_0x49f83d(0x20c)][_0x49f83d(0x1d7)](_0x49f83d(0x1d9),_0x49f83d(0x1d4),_0x49f83d(0x206))['to'](this);}[_0x1746d6(0x1e6)](){const _0x5bb83=_0x1746d6,_0x427d2e=this[_0x5bb83(0x1f6)][_0x5bb83(0x219)][_0x5bb83(0x1d0)](_0x5bb83(0x1e3));_0x427d2e[_0x5bb83(0x1fa)]['on'](_0x5bb83(0x1f5),(_0x53a7ba,_0xadb2ab)=>{const _0x154b50=_0x5bb83;_0x154b50(0x21d)===_0xadb2ab?this[_0x154b50(0x1c7)](_0x154b50(0x21a)):this[_0x154b50(0x1c7)](_0x154b50(0x220));}),_0x427d2e[_0x5bb83(0x1fa)][_0x5bb83(0x1eb)]({'id':_0x5bb83(0x21d),'buttonLabel':_0x5baad2(this[_0x5bb83(0x1f6)][_0x5bb83(0x1fe)],_0x5bb83(0x1ee)),'buttonIcon':_0x201759,'order':0x0,'content':this[_0x5bb83(0x1d1)]});}[_0x1746d6(0x1d5)](){const _0x2827e4=_0x1746d6;this[_0x2827e4(0x1fb)][_0x2827e4(0x1ca)](),super[_0x2827e4(0x1d5)]();}[_0x1746d6(0x216)](_0x28e02a){const _0x43141d=_0x1746d6;this[_0x43141d(0x1d1)][_0x43141d(0x1e0)][_0x43141d(0x21f)]()||this[_0x43141d(0x1d1)][_0x43141d(0x1e0)][_0x43141d(0x223)](_0x28e02a),this[_0x43141d(0x1d1)][_0x43141d(0x20a)]();}[_0x1746d6(0x1df)](){const _0x52e386=_0x1746d6;this[_0x52e386(0x1c7)](_0x52e386(0x21a));}[_0x1746d6(0x215)](_0xe39a3e){const _0x31456a=_0x1746d6;_0xe39a3e&&(_0x31456a(0x1cd)!==_0xe39a3e[_0x31456a(0x1e2)]?_0x31456a(0x207)!==_0xe39a3e[_0x31456a(0x1e2)]?this[_0x31456a(0x1d1)][_0x31456a(0x1e9)]():this[_0x31456a(0x1f2)]():this[_0x31456a(0x20d)]());}[_0x1746d6(0x201)](_0xccee37){const _0x1e7d2b=_0x1746d6;this[_0x1e7d2b(0x1d1)][_0x1e7d2b(0x1f7)](_0xccee37);}[_0x1746d6(0x20d)](){const _0x5c7fb4=_0x1746d6;this[_0x5c7fb4(0x1d1)][_0x5c7fb4(0x20d)]();}[_0x1746d6(0x1cb)](_0x3466f1){const _0x363b80=_0x1746d6;this[_0x363b80(0x1d1)][_0x363b80(0x1cb)](_0x3466f1??_0x5baad2(this[_0x363b80(0x1f6)][_0x363b80(0x1fe)],_0x363b80(0x1f0)));}[_0x1746d6(0x1f2)](){const _0xebf643=_0x1746d6;this[_0xebf643(0x1d1)][_0xebf643(0x1f2)]();}[_0x1746d6(0x1e7)](_0x4b7dae,_0x44b3ef){const _0x42835d=_0x1746d6;this[_0x42835d(0x1d1)][_0x42835d(0x1f1)][_0x42835d(0x1d6)](_0x4b7dae,_0x44b3ef);}[_0x1746d6(0x1e5)](_0x3d20f1){const _0x566a10=_0x1746d6;this[_0x566a10(0x1d1)][_0x566a10(0x1f1)][_0x566a10(0x1ea)]()[_0x566a10(0x1dc)](_0x588d40=>{const _0x4ee21d=_0x566a10;_0x588d40['id']===_0x3d20f1&&_0x588d40[_0x4ee21d(0x212)]();});}[_0x1746d6(0x200)](){const _0x5cc6ff=_0x1746d6;this[_0x5cc6ff(0x1d1)][_0x5cc6ff(0x1f1)][_0x5cc6ff(0x1ea)]()[_0x5cc6ff(0x1dc)](_0x127c96=>_0x127c96[_0x5cc6ff(0x1fc)]());}[_0x1746d6(0x221)](_0x47a237,_0x28ba32){const _0x304d40=_0x1746d6;_0x304d40(0x208)===_0x28ba32||_0x304d40(0x202)===_0x28ba32||_0x304d40(0x203)===_0x28ba32?this[_0x304d40(0x1d1)][_0x304d40(0x1f1)][_0x304d40(0x222)](_0x47a237,_0x28ba32):this[_0x304d40(0x1d1)][_0x304d40(0x1f1)][_0x304d40(0x217)](_0x47a237,_0x28ba32);}[_0x1746d6(0x1db)](){const _0x1e138b=_0x1746d6;this[_0x1e138b(0x1d1)][_0x1e138b(0x1db)]();}[_0x1746d6(0x1e8)](){const _0x2ac5f4=_0x1746d6;this[_0x2ac5f4(0x1d1)][_0x2ac5f4(0x1e8)]();}[_0x1746d6(0x1f9)](){const _0x3f02d9=_0x1746d6;this[_0x3f02d9(0x1d1)][_0x3f02d9(0x1f9)]();}[_0x1746d6(0x218)](){const _0x2f5458=_0x1746d6;this[_0x2f5458(0x1d1)][_0x2f5458(0x218)]();}[_0x1746d6(0x21b)](_0x4317c4,_0x30681c,_0x2695aa,_0x4fb781,_0x47e87e,_0x36967f){const _0x1293f9=_0x1746d6;this[_0x1293f9(0x20c)][_0x1293f9(0x1f4)](_0x4317c4,_0x30681c,_0x2695aa,_0x4fb781,_0x47e87e,_0x36967f);}[_0x1746d6(0x1ec)](){const _0x3f798a=_0x1746d6;this[_0x3f798a(0x20c)][_0x3f798a(0x213)]();}[_0x1746d6(0x214)](){const _0x414533=_0x1746d6;this[_0x414533(0x20c)][_0x414533(0x214)]();}[_0x1746d6(0x1c8)](){const _0x22fc05=_0x1746d6;this[_0x22fc05(0x20c)][_0x22fc05(0x1c8)]();}[_0x1746d6(0x1da)](_0x3fbd03){const _0x1350b8=_0x1746d6,_0x4ed8d4=this[_0x1350b8(0x1d1)][_0x1350b8(0x1f1)][_0x1350b8(0x1ea)]()[_0x1350b8(0x1cc)](_0x2455a0=>_0x2455a0['id']===_0x3fbd03);return _0x4ed8d4?_0x4ed8d4[_0x1350b8(0x205)]:null;}[_0x1746d6(0x206)](){const _0x4c6e91=_0x1746d6;this[_0x4c6e91(0x20c)][_0x4c6e91(0x206)]();}}
23
+ const _0x601046=_0xa149;(function(_0x2a76ac,_0x41d707){const _0x1339cd=_0xa149,_0x2482ae=_0x2a76ac();while(!![]){try{const _0x23c845=parseInt(_0x1339cd(0x179))/0x1*(-parseInt(_0x1339cd(0x17d))/0x2)+parseInt(_0x1339cd(0x19f))/0x3*(parseInt(_0x1339cd(0x1a1))/0x4)+-parseInt(_0x1339cd(0x196))/0x5*(-parseInt(_0x1339cd(0x199))/0x6)+-parseInt(_0x1339cd(0x19c))/0x7*(-parseInt(_0x1339cd(0x1a7))/0x8)+parseInt(_0x1339cd(0x161))/0x9*(-parseInt(_0x1339cd(0x187))/0xa)+-parseInt(_0x1339cd(0x1a0))/0xb+-parseInt(_0x1339cd(0x160))/0xc;if(_0x23c845===_0x41d707)break;else _0x2482ae['push'](_0x2482ae['shift']());}catch(_0x2941dc){_0x2482ae['push'](_0x2482ae['shift']());}}}(_0x4fdc,0x45c2f));import{ContextPlugin as _0x5965f7}from'ckeditor5/src/core.js';import{IconAIReview as _0x37bb97}from'ckeditor5/src/icons.js';import{BodyCollection as _0x230c69}from'ckeditor5/src/ui.js';import{AITabs as _0x26c5e8}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x29db65}from'./ui/aireviewmodeview.js';function _0xa149(_0x54c62f,_0x2416d9){const _0x4fdc3a=_0x4fdc();return _0xa149=function(_0xa14975,_0x450b33){_0xa14975=_0xa14975-0x158;let _0x1948c4=_0x4fdc3a[_0xa14975];return _0x1948c4;},_0xa149(_0x54c62f,_0x2416d9);}import{getTranslation as _0x3909f8}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x1c53b4}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';function _0x4fdc(){const _0x3f961f=['activateTab','setCheckResultTitle','showDiffInBalloon','error-general','19450LYaptj','detachFromDom','addTab','isPremiumPlugin','34USLcEC','setChecks','hideActionsWhenResultIsReady','hasChecks','showNoChangesView','showCheckRunResult','reviewCheckListView','showChunkErrorView','showReviewCheckListView','getReviewCheckList','60FDRtzI','outdated','delegate','pluginName','retryReview','showReviewCompletedView','accepted','context','showResult','hideBalloon','setAvailableChecks','showReviewCheckResultsView','getResults','showGeneralReviewModeErrorView','activateChange','120145QUSEoD','deactivateChange','view','126WsPRYR','toggleDiff','abortReviewStream','7RxlDks','acceptAllChanges','showCheckRunResults','6mBcXGd','2888820FsZNzf','220536bfhbyC','leaveReviewMode','_bodyCollection','setTitle','attachToDom','resetActiveStateInResults','2865056JjokqP','showChangeBalloon','find','plugins','acceptChange','AI_REVIEW_MODE','leaveReviewModeResultList','isOfficialPlugin','AIReviewModeUI','setActiveStateInResults','init','error-chunk','hideDiffInBalloon','forEach','showBalloon','fire','rejected','updateChangeState','finishReview','hideResult','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','setItemAsInactive','getChangeElement','reviewMode','461376cVUUXf','83322znLxII','get','hideChangeBalloon','locale','learnMore','addCheckRunResult','_reviewModeView','requires','setItemAsActive','runReviewCheck','destroy','element','showActionsWhenResultIsReady','showReviewCheckList','status','dismissChange','_reviewModeBalloonSuggestionItemView','reviewCheckResultsView','showGeneralResultsErrorView','AITabs'];_0x4fdc=function(){return _0x3f961f;};return _0x4fdc();}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x601046(0x186),_0x601046(0x16a),_0x601046(0x19b),_0x601046(0x19a),_0x601046(0x19d),_0x601046(0x1ad),_0x601046(0x195),_0x601046(0x1ab),_0x601046(0x170),_0x601046(0x165),_0x601046(0x15a),_0x601046(0x18b)];export class AIReviewModeUI extends _0x5965f7{[_0x601046(0x167)];[_0x601046(0x171)];[_0x601046(0x1a3)];static get[_0x601046(0x168)](){return[_0x26c5e8];}static get[_0x601046(0x18a)](){const _0x17cdab=_0x601046;return _0x17cdab(0x1af);}static get[_0x601046(0x1ae)](){return!0x0;}static get[_0x601046(0x17c)](){return!0x0;}constructor(_0x592c7c){const _0x2e2aa4=_0x601046;super(_0x592c7c),this[_0x2e2aa4(0x1a3)]=new _0x230c69(this[_0x2e2aa4(0x18e)][_0x2e2aa4(0x164)]),this[_0x2e2aa4(0x1a3)][_0x2e2aa4(0x1a5)](),this[_0x2e2aa4(0x167)]=new _0x29db65(this[_0x2e2aa4(0x18e)][_0x2e2aa4(0x164)]),this[_0x2e2aa4(0x167)][_0x2e2aa4(0x189)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x2e2aa4(0x171)]=new _0x1c53b4(this[_0x2e2aa4(0x18e)][_0x2e2aa4(0x164)],this[_0x2e2aa4(0x1a3)]),this[_0x2e2aa4(0x171)][_0x2e2aa4(0x189)](_0x2e2aa4(0x1ab),_0x2e2aa4(0x170),_0x2e2aa4(0x197))['to'](this);}[_0x601046(0x1b1)](){const _0x3d20bd=_0x601046,_0x2a9375=this[_0x3d20bd(0x18e)][_0x3d20bd(0x1aa)][_0x3d20bd(0x162)](_0x3d20bd(0x174));_0x2a9375[_0x3d20bd(0x198)]['on'](_0x3d20bd(0x175),(_0x3b320c,_0x307b7e)=>{const _0x1d56f9=_0x3d20bd;_0x1d56f9(0x15f)===_0x307b7e?this[_0x1d56f9(0x1b6)](_0x1d56f9(0x186)):this[_0x1d56f9(0x1b6)](_0x1d56f9(0x1a2));}),_0x2a9375[_0x3d20bd(0x198)][_0x3d20bd(0x17b)]({'id':_0x3d20bd(0x15f),'buttonLabel':_0x3909f8(this[_0x3d20bd(0x18e)][_0x3d20bd(0x164)],_0x3d20bd(0x1ac)),'buttonIcon':_0x37bb97,'order':0x0,'content':this[_0x3d20bd(0x167)]});}[_0x601046(0x16b)](){const _0x5877b7=_0x601046;this[_0x5877b7(0x1a3)][_0x5877b7(0x17a)](),super[_0x5877b7(0x16b)]();}[_0x601046(0x191)](_0x329662){const _0x590f37=_0x601046;this[_0x590f37(0x167)][_0x590f37(0x183)][_0x590f37(0x180)]()||this[_0x590f37(0x167)][_0x590f37(0x183)][_0x590f37(0x17e)](_0x329662),this[_0x590f37(0x167)][_0x590f37(0x185)]();}[_0x601046(0x16e)](){const _0x50fbd8=_0x601046;this[_0x50fbd8(0x1b6)](_0x50fbd8(0x186));}[_0x601046(0x19e)](_0x4573f2){const _0x375260=_0x601046;_0x4573f2&&(_0x375260(0x178)!==_0x4573f2[_0x375260(0x16f)]?_0x375260(0x1b2)!==_0x4573f2[_0x375260(0x16f)]?this[_0x375260(0x167)][_0x375260(0x192)]():this[_0x375260(0x184)]():this[_0x375260(0x173)]());}[_0x601046(0x182)](_0xd9baa1){const _0x371395=_0x601046;this[_0x371395(0x167)][_0x371395(0x166)](_0xd9baa1);}[_0x601046(0x173)](){const _0x26ee70=_0x601046;this[_0x26ee70(0x167)][_0x26ee70(0x173)]();}[_0x601046(0x194)](_0x549305){const _0xe88fd=_0x601046;this[_0xe88fd(0x167)][_0xe88fd(0x194)](_0x549305??_0x3909f8(this[_0xe88fd(0x18e)][_0xe88fd(0x164)],_0xe88fd(0x15c)));}[_0x601046(0x184)](){const _0x154ec0=_0x601046;this[_0x154ec0(0x167)][_0x154ec0(0x184)]();}[_0x601046(0x176)](_0x5a4979,_0x2f0100){const _0x19d1dc=_0x601046;this[_0x19d1dc(0x167)][_0x19d1dc(0x172)][_0x19d1dc(0x1a4)](_0x5a4979,_0x2f0100);}[_0x601046(0x1b0)](_0x33516d){const _0x4743bc=_0x601046;this[_0x4743bc(0x167)][_0x4743bc(0x172)][_0x4743bc(0x193)]()[_0x4743bc(0x1b4)](_0x27a66c=>{const _0x45ad02=_0x4743bc;_0x27a66c['id']===_0x33516d&&_0x27a66c[_0x45ad02(0x169)]();});}[_0x601046(0x1a6)](){const _0x500327=_0x601046;this[_0x500327(0x167)][_0x500327(0x172)][_0x500327(0x193)]()[_0x500327(0x1b4)](_0x55f5e3=>_0x55f5e3[_0x500327(0x15d)]());}[_0x601046(0x159)](_0xfe4391,_0x11465d){const _0x483693=_0x601046;_0x483693(0x18d)===_0x11465d||_0x483693(0x158)===_0x11465d||_0x483693(0x188)===_0x11465d?this[_0x483693(0x167)][_0x483693(0x172)][_0x483693(0x15b)](_0xfe4391,_0x11465d):this[_0x483693(0x167)][_0x483693(0x172)][_0x483693(0x18f)](_0xfe4391,_0x11465d);}[_0x601046(0x18c)](){const _0x58e5c7=_0x601046;this[_0x58e5c7(0x167)][_0x58e5c7(0x18c)]();}[_0x601046(0x16d)](){const _0x551508=_0x601046;this[_0x551508(0x167)][_0x551508(0x16d)]();}[_0x601046(0x181)](){const _0x2911d7=_0x601046;this[_0x2911d7(0x167)][_0x2911d7(0x181)]();}[_0x601046(0x17f)](){const _0x4119a5=_0x601046;this[_0x4119a5(0x167)][_0x4119a5(0x17f)]();}[_0x601046(0x1a8)](_0xd67b33,_0x18fe7d,_0x44b2b2,_0x3564f6,_0x77a45b,_0x42a55d){const _0x5eb4d3=_0x601046;this[_0x5eb4d3(0x171)][_0x5eb4d3(0x1b5)](_0xd67b33,_0x18fe7d,_0x44b2b2,_0x3564f6,_0x77a45b,_0x42a55d);}[_0x601046(0x163)](){const _0x2cd5b8=_0x601046;this[_0x2cd5b8(0x171)][_0x2cd5b8(0x190)]();}[_0x601046(0x1b3)](){const _0x29622d=_0x601046;this[_0x29622d(0x171)][_0x29622d(0x1b3)]();}[_0x601046(0x177)](){const _0x2e024a=_0x601046;this[_0x2e024a(0x171)][_0x2e024a(0x177)]();}[_0x601046(0x15e)](_0x1e5b46){const _0x366bac=_0x601046,_0x337109=this[_0x366bac(0x167)][_0x366bac(0x172)][_0x366bac(0x193)]()[_0x366bac(0x1a9)](_0x502c28=>_0x502c28['id']===_0x1e5b46);return _0x337109?_0x337109[_0x366bac(0x16c)]:null;}[_0x601046(0x197)](){const _0x58d8ea=_0x601046;this[_0x58d8ea(0x171)][_0x58d8ea(0x197)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1cdc34=_0x26ef;function _0x10c8(){var _0xbecec3=['2455372uluseZ','14728ixSNwX','contentInitial','176641WJwxSV','2VhKxte','contentNew','1377219eKRvKz','13698576aOyvkG','2546570hWVrBI','documentVersion','3143BVfzrP','2227836cmbusi'];_0x10c8=function(){return _0xbecec3;};return _0x10c8();}function _0x26ef(_0x2952ab,_0xabb913){var _0x10c889=_0x10c8();return _0x26ef=function(_0x26ef7b,_0x13cb61){_0x26ef7b=_0x26ef7b-0x7a;var _0x3d765a=_0x10c889[_0x26ef7b];return _0x3d765a;},_0x26ef(_0x2952ab,_0xabb913);}(function(_0x57b35e,_0x2b3aab){var _0x1d5acb=_0x26ef,_0x379715=_0x57b35e();while(!![]){try{var _0x335f9e=parseInt(_0x1d5acb(0x80))/0x1*(parseInt(_0x1d5acb(0x81))/0x2)+-parseInt(_0x1d5acb(0x83))/0x3+-parseInt(_0x1d5acb(0x7d))/0x4+-parseInt(_0x1d5acb(0x85))/0x5+-parseInt(_0x1d5acb(0x7c))/0x6+-parseInt(_0x1d5acb(0x7b))/0x7*(-parseInt(_0x1d5acb(0x7e))/0x8)+parseInt(_0x1d5acb(0x84))/0x9;if(_0x335f9e===_0x2b3aab)break;else _0x379715['push'](_0x379715['shift']());}catch(_0xd24284){_0x379715['push'](_0x379715['shift']());}}}(_0x10c8,0x8b982));import{EmitterMixin as _0x275765}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x275765(){['id'];[_0x1cdc34(0x82)];[_0x1cdc34(0x7f)];[_0x1cdc34(0x7a)];constructor({id:_0x4fc5d8,contentNew:_0x3c5179,contentInitial:_0xca393e,documentVersion:_0x52435b}){var _0x163a8f=_0x1cdc34;super(),this['id']=_0x4fc5d8,this[_0x163a8f(0x82)]=_0x3c5179,this[_0x163a8f(0x7f)]=_0xca393e,this[_0x163a8f(0x7a)]=_0x52435b;}}
23
+ var _0x2602da=_0x4db4;function _0x14c3(){var _0x43af36=['5IlnyXG','7277710HhllKX','3ddIhIR','contentInitial','17843PLhzsW','505050aSqKZv','contentNew','12849030NitgFz','1381910VQySTW','2176526QsXfzF','4072XqDMLy','documentVersion','1822316VjJTht'];_0x14c3=function(){return _0x43af36;};return _0x14c3();}function _0x4db4(_0x297f16,_0x1f0277){var _0x14c311=_0x14c3();return _0x4db4=function(_0x4db4f1,_0x5c8e05){_0x4db4f1=_0x4db4f1-0x90;var _0x2ea114=_0x14c311[_0x4db4f1];return _0x2ea114;},_0x4db4(_0x297f16,_0x1f0277);}(function(_0x5861ea,_0x4e1567){var _0x4737c2=_0x4db4,_0x2d3294=_0x5861ea();while(!![]){try{var _0x5a9e13=parseInt(_0x4737c2(0x90))/0x1+-parseInt(_0x4737c2(0x91))/0x2+parseInt(_0x4737c2(0x97))/0x3*(-parseInt(_0x4737c2(0x94))/0x4)+-parseInt(_0x4737c2(0x95))/0x5*(-parseInt(_0x4737c2(0x9a))/0x6)+-parseInt(_0x4737c2(0x99))/0x7*(parseInt(_0x4737c2(0x92))/0x8)+parseInt(_0x4737c2(0x9c))/0x9+parseInt(_0x4737c2(0x96))/0xa;if(_0x5a9e13===_0x4e1567)break;else _0x2d3294['push'](_0x2d3294['shift']());}catch(_0x3ec505){_0x2d3294['push'](_0x2d3294['shift']());}}}(_0x14c3,0xbe7d3));import{EmitterMixin as _0x2c0531}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x2c0531(){['id'];[_0x2602da(0x9b)];[_0x2602da(0x98)];[_0x2602da(0x93)];constructor({id:_0x2270c3,contentNew:_0xa78047,contentInitial:_0x22dfe0,documentVersion:_0xc72175}){var _0x5c0c0e=_0x2602da;super(),this['id']=_0x2270c3,this[_0x5c0c0e(0x9b)]=_0xa78047,this[_0x5c0c0e(0x98)]=_0x22dfe0,this[_0x5c0c0e(0x93)]=_0xc72175;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x25a6(){const _0x2d92f3=['1591503iuMbWe','size','filter','event','forEach','textDelta','6472pEHviy','149402apliAK','55GJewwJ','abort','some','activateChange','parent','callId','isActivated','isRated','sendRating','_results','title','clear','get','finished','_currentError','markChangeAsAccepted','set','unmodified','documentData','currentError','change:isActivated','status','abortController','data','subTitle','markChangeAsOutdated','934020bBQgam','_aiConnector','change:status','message','reviewCheckResultActivated','reviewCheckResultChangeStatusUpdated','addResultChanges','hasModifications','reviewCheckResultReady','isChangeActive','error-chunk','push','length','_checkIfFinished','getContent','fire','dataId','updateDocumentData','10048430cUUsrU','6327VPPmYy','error-general','version','isAnyChangeActivated','review-metadata','forceReadyState','aborted','ready','loading','includes','6931519jfhbjX','processedResultsCount','_sourceCheck','4pOKRcs','484RolmiR','rejected','_documentData','_addReviewCheckResult','find','error','operation','deactivateChange','outdated','reviewCheckRunUpdated','_reviewArgs','markAllChangesAsAccepted','_activeRequest','getChangeById','_reviewParams','ai-request-aborted','reviewName','accepted','initialized','_sendRatingRequest','getActiveChanges','markChangeAsRejected','pending','getStream','elements','_createApiRequest','markChangeAsPending','reviewCheckResultAdded','restart','4jtrvOj','_changes','every','177666QbOdkq','start','reviewCheckResultDeactivated'];_0x25a6=function(){return _0x2d92f3;};return _0x25a6();}const _0x3d3de6=_0x1674;(function(_0x3eab27,_0x1803ae){const _0x1432c2=_0x1674,_0x44fbef=_0x3eab27();while(!![]){try{const _0x2578e1=parseInt(_0x1432c2(0x237))/0x1*(-parseInt(_0x1432c2(0x244))/0x2)+parseInt(_0x1432c2(0x23d))/0x3*(parseInt(_0x1432c2(0x219))/0x4)+parseInt(_0x1432c2(0x245))/0x5*(-parseInt(_0x1432c2(0x23a))/0x6)+-parseInt(_0x1432c2(0x216))/0x7+parseInt(_0x1432c2(0x243))/0x8*(-parseInt(_0x1432c2(0x20c))/0x9)+-parseInt(_0x1432c2(0x20b))/0xa+-parseInt(_0x1432c2(0x21a))/0xb*(-parseInt(_0x1432c2(0x1f9))/0xc);if(_0x2578e1===_0x1803ae)break;else _0x44fbef['push'](_0x44fbef['shift']());}catch(_0xff5913){_0x44fbef['push'](_0x44fbef['shift']());}}}(_0x25a6,0xbb3d1));import{ObservableMixin as _0x221ade,uid as _0x1c64ed}from'ckeditor5/src/utils.js';function _0x1674(_0x3e9a38,_0x4db7b8){const _0x25a62c=_0x25a6();return _0x1674=function(_0x167472,_0x1e8aaf){_0x167472=_0x167472-0x1ed;let _0x1d4db8=_0x25a62c[_0x167472];return _0x1d4db8;},_0x1674(_0x3e9a38,_0x4db7b8);}import{AIReviewCheckResult as _0x4b000d}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x23cc56}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x221ade(){['id']=_0x1c64ed();[_0x3d3de6(0x24a)];[_0x3d3de6(0x24e)]=new Map();[_0x3d3de6(0x238)]=[];[_0x3d3de6(0x218)];[_0x3d3de6(0x21c)];[_0x3d3de6(0x1fa)];[_0x3d3de6(0x228)];[_0x3d3de6(0x224)];[_0x3d3de6(0x226)]=null;[_0x3d3de6(0x1ed)];constructor(_0x218fed,_0x4a7f19,_0x3f920a,_0x3472b7,_0xdae6b1){const _0x36ce2b=_0x3d3de6;super(),this[_0x36ce2b(0x218)]=_0x4a7f19,this[_0x36ce2b(0x21c)]=_0x218fed,this[_0x36ce2b(0x1fa)]=_0x3f920a,this[_0x36ce2b(0x228)]=_0x3472b7,this[_0x36ce2b(0x224)]=_0xdae6b1,this['on'](_0x36ce2b(0x1fb),(_0x2dcf23,_0x2910e9,_0x2d0dab)=>{const _0x334df8=_0x36ce2b;this[_0x334df8(0x208)](_0x334df8(0x223),{'status':_0x2d0dab,'run':this,'error':this[_0x334df8(0x1ed)]});}),this[_0x36ce2b(0x1ef)](_0x36ce2b(0x1f4),_0x36ce2b(0x22c));}get[_0x3d3de6(0x1f1)](){const _0xd8c863=_0x3d3de6;return this[_0xd8c863(0x21c)];}get[_0x3d3de6(0x217)](){const _0x1aaa26=_0x3d3de6;return this[_0x1aaa26(0x24e)][_0x1aaa26(0x23e)];}get[_0x3d3de6(0x24f)](){const _0x276d10=_0x3d3de6;return this[_0x276d10(0x218)][_0x276d10(0x24f)];}get[_0x3d3de6(0x1f7)](){return'';}get[_0x3d3de6(0x22a)](){const _0x191bd8=_0x3d3de6;return this[_0x191bd8(0x218)]['id'];}get[_0x3d3de6(0x200)](){const _0x404dbe=_0x3d3de6;return!this[_0x404dbe(0x238)][_0x404dbe(0x239)](_0xb4713=>_0x404dbe(0x230)===_0xb4713[_0x404dbe(0x1f4)]);}get[_0x3d3de6(0x1f2)](){const _0x50bd87=_0x3d3de6;return this[_0x50bd87(0x1ed)];}[_0x3d3de6(0x20a)](_0xcc2abe){const _0x228dee=_0x3d3de6;this[_0x228dee(0x21c)]=_0xcc2abe;}async[_0x3d3de6(0x23b)](){const _0x27a4e3=_0x3d3de6;this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x214),this[_0x27a4e3(0x1ed)]=void 0x0;try{this[_0x27a4e3(0x226)]=this[_0x27a4e3(0x233)]();const _0x4aa824=await this[_0x27a4e3(0x226)][_0x27a4e3(0x231)]();this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x1f6);for await(const _0x5e0c02 of _0x4aa824)_0x27a4e3(0x1f0)!==_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x220)]&&(_0x27a4e3(0x21f)!==_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x220)]?_0x27a4e3(0x210)!==_0x5e0c02[_0x27a4e3(0x240)]?this[_0x27a4e3(0x21d)](_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x209)],_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x242)]):this[_0x27a4e3(0x24a)]=_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x24a)]:this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x203));_0x27a4e3(0x203)!==this[_0x27a4e3(0x1f4)]&&(0x0===this[_0x27a4e3(0x24e)][_0x27a4e3(0x23e)]||0x0===this[_0x27a4e3(0x238)][_0x27a4e3(0x205)]?this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x1f0):this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x213));}catch(_0x154355){this[_0x27a4e3(0x1ed)]=_0x154355,_0x154355 instanceof Error&&_0x154355[_0x27a4e3(0x1fc)][_0x27a4e3(0x215)](_0x27a4e3(0x229))?this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x212):this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x20d);}finally{this[_0x27a4e3(0x226)]=null;}}async[_0x3d3de6(0x236)](){const _0x3d4f89=_0x3d3de6;this[_0x3d4f89(0x24e)][_0x3d4f89(0x250)](),this[_0x3d4f89(0x238)][_0x3d4f89(0x205)]=0x0,this[_0x3d4f89(0x1ed)]=void 0x0,await this[_0x3d4f89(0x23b)]();}[_0x3d3de6(0x1ff)](_0x38feaf,_0x334b93){const _0x40b0e8=_0x3d3de6,_0x2ed039=this[_0x40b0e8(0x24e)][_0x40b0e8(0x251)](_0x38feaf);if(!_0x2ed039)return;if(0x0===_0x334b93[_0x40b0e8(0x205)])return;const _0x275e2c=[];_0x334b93[_0x40b0e8(0x241)]((_0x2b97df,_0x2f9b10)=>{const _0x3ebddd=_0x40b0e8,_0x2aea76=new _0x23cc56(_0x2ed039['id']+'-'+_0x2f9b10,_0x2b97df,_0x2ed039);_0x2aea76['on'](_0x3ebddd(0x1fb),()=>{const _0x4ceef2=_0x3ebddd;this[_0x4ceef2(0x208)](_0x4ceef2(0x1fe),{'change':_0x2aea76,'status':_0x2aea76[_0x4ceef2(0x1f4)]});}),_0x2aea76['on'](_0x3ebddd(0x1f3),()=>{const _0x3601ce=_0x3ebddd;_0x2aea76[_0x3601ce(0x24b)]?this[_0x3601ce(0x208)](_0x3601ce(0x1fd),{'change':_0x2aea76}):this[_0x3601ce(0x208)](_0x3601ce(0x23c),{'change':_0x2aea76});}),this[_0x3ebddd(0x238)][_0x3ebddd(0x204)](_0x2aea76),_0x275e2c[_0x3ebddd(0x204)](_0x2aea76);}),this[_0x40b0e8(0x208)](_0x40b0e8(0x201),{'changes':_0x275e2c,'result':_0x2ed039,'source':this});}[_0x3d3de6(0x246)](){const _0x491f04=_0x3d3de6;this[_0x491f04(0x226)]&&(this[_0x491f04(0x226)][_0x491f04(0x1f5)][_0x491f04(0x246)](),this[_0x491f04(0x226)]=null,this[_0x491f04(0x1f4)]=_0x491f04(0x212));}[_0x3d3de6(0x202)](_0x5ac0f3){const _0x3c9e4f=_0x3d3de6,_0x73a47=this[_0x3c9e4f(0x238)][_0x3c9e4f(0x21e)](_0x165486=>_0x165486['id']===_0x5ac0f3);return!(!_0x73a47||_0x3c9e4f(0x230)!==_0x73a47[_0x3c9e4f(0x1f4)]);}[_0x3d3de6(0x20f)](){const _0x564b0b=_0x3d3de6;return this[_0x564b0b(0x238)][_0x564b0b(0x247)](_0x184ab1=>!0x0===_0x184ab1[_0x564b0b(0x24b)]);}[_0x3d3de6(0x22e)](){const _0x46d76d=_0x3d3de6;return this[_0x46d76d(0x238)][_0x46d76d(0x23f)](_0xb29db1=>_0x46d76d(0x230)===_0xb29db1[_0x46d76d(0x1f4)]);}[_0x3d3de6(0x227)](_0x38ec13){const _0x2ed9ac=_0x3d3de6;return this[_0x2ed9ac(0x238)][_0x2ed9ac(0x21e)](_0x3ef4a7=>_0x3ef4a7['id']===_0x38ec13);}[_0x3d3de6(0x225)](){const _0x1ab6ee=_0x3d3de6;for(const _0x19b876 of this[_0x1ab6ee(0x238)])_0x1ab6ee(0x230)===_0x19b876[_0x1ab6ee(0x1f4)]&&(_0x19b876[_0x1ab6ee(0x1f4)]=_0x1ab6ee(0x22b));this[_0x1ab6ee(0x206)]();}[_0x3d3de6(0x1ee)](_0x453c76){const _0x44bc9d=_0x3d3de6,_0x5c7e82=this[_0x44bc9d(0x238)][_0x44bc9d(0x21e)](_0x577cfc=>_0x577cfc['id']===_0x453c76);_0x5c7e82&&_0x44bc9d(0x230)===_0x5c7e82[_0x44bc9d(0x1f4)]&&(_0x5c7e82[_0x44bc9d(0x1f4)]=_0x44bc9d(0x22b)),this[_0x44bc9d(0x206)]();}[_0x3d3de6(0x22f)](_0x5ae3db){const _0x11ab22=_0x3d3de6,_0x1ee209=this[_0x11ab22(0x238)][_0x11ab22(0x21e)](_0x4f6db6=>_0x4f6db6['id']===_0x5ae3db);_0x1ee209&&_0x11ab22(0x230)===_0x1ee209[_0x11ab22(0x1f4)]&&(_0x1ee209[_0x11ab22(0x1f4)]=_0x11ab22(0x21b)),this[_0x11ab22(0x206)]();}[_0x3d3de6(0x1f8)](_0x38dddb){const _0x3468ca=_0x3d3de6,_0x5ac4ca=this[_0x3468ca(0x238)][_0x3468ca(0x21e)](_0x2f47dc=>_0x2f47dc['id']===_0x38dddb);_0x5ac4ca&&_0x3468ca(0x230)===_0x5ac4ca[_0x3468ca(0x1f4)]&&(_0x5ac4ca[_0x3468ca(0x1f4)]=_0x3468ca(0x222)),this[_0x3468ca(0x206)]();}[_0x3d3de6(0x234)](_0x5bd2ce){const _0x50a89d=_0x3d3de6,_0x3fcd97=this[_0x50a89d(0x238)][_0x50a89d(0x21e)](_0x50a9fe=>_0x50a9fe['id']===_0x5bd2ce);_0x3fcd97&&_0x50a89d(0x222)===_0x3fcd97[_0x50a89d(0x1f4)]&&(_0x3fcd97[_0x50a89d(0x1f4)]=_0x50a89d(0x230)),this[_0x50a89d(0x206)]();}[_0x3d3de6(0x248)](_0x18f05b){const _0x1275f3=_0x3d3de6;this[_0x1275f3(0x238)][_0x1275f3(0x23f)](_0x4c8bab=>_0x4c8bab[_0x1275f3(0x24b)]&&_0x4c8bab['id']!==_0x18f05b)[_0x1275f3(0x241)](_0x353923=>{const _0x5e02ee=_0x1275f3;_0x353923[_0x5e02ee(0x24b)]=!0x1;});const _0xeb07cf=this[_0x1275f3(0x238)][_0x1275f3(0x21e)](_0x5c222d=>_0x5c222d['id']===_0x18f05b);_0xeb07cf&&_0x1275f3(0x230)===_0xeb07cf[_0x1275f3(0x1f4)]&&(_0xeb07cf[_0x1275f3(0x24b)]=!0x0);}[_0x3d3de6(0x221)](){const _0x82cd54=_0x3d3de6;this[_0x82cd54(0x238)][_0x82cd54(0x23f)](_0x294fbb=>_0x294fbb[_0x82cd54(0x24b)])[_0x82cd54(0x241)](_0x4cb2f8=>{const _0x389ac1=_0x82cd54;_0x4cb2f8[_0x389ac1(0x24b)]=!0x1;});}[_0x3d3de6(0x211)](){const _0x47ce7d=_0x3d3de6;this[_0x47ce7d(0x1f4)]=_0x47ce7d(0x213);}async[_0x3d3de6(0x24d)](_0x48b4dc){const _0x2e192d=_0x3d3de6;if(_0x2e192d(0x22c)===this[_0x2e192d(0x1f4)]||_0x2e192d(0x214)===this[_0x2e192d(0x1f4)]||_0x2e192d(0x1f6)===this[_0x2e192d(0x1f4)])return;if(!this[_0x2e192d(0x24a)]||0x0===this[_0x2e192d(0x238)][_0x2e192d(0x205)])return;let _0x4f1202;if(_0x48b4dc){const _0x2a0577=this[_0x2e192d(0x238)][_0x2e192d(0x21e)](_0x142151=>_0x142151['id']===_0x48b4dc);if(_0x2a0577&&_0x2a0577[_0x2e192d(0x24c)])return;_0x2a0577&&(_0x4f1202=_0x2a0577[_0x2e192d(0x249)]['id'],_0x2a0577[_0x2e192d(0x24c)]=!0x0);}const _0x14f383={'positiveCount':this[_0x2e192d(0x238)][_0x2e192d(0x23f)](_0x5aaae5=>_0x2e192d(0x22b)===_0x5aaae5[_0x2e192d(0x1f4)])[_0x2e192d(0x205)],'totalCount':this[_0x2e192d(0x238)][_0x2e192d(0x205)]};this[_0x2e192d(0x22d)](_0x14f383,this[_0x2e192d(0x24a)],_0x4f1202);}[_0x3d3de6(0x21d)](_0x5d3a24,_0x195e17){const _0x3dac6e=_0x3d3de6,_0x4c8513=this[_0x3dac6e(0x21c)][_0x3dac6e(0x232)][_0x3dac6e(0x251)](_0x5d3a24);if(!_0x4c8513)return;const _0x57b68e=_0x4c8513[_0x3dac6e(0x207)]();if(_0x57b68e===_0x195e17)return;const _0x4041fb=new _0x4b000d({'id':_0x5d3a24,'contentInitial':_0x57b68e,'contentNew':_0x195e17,'documentVersion':this[_0x3dac6e(0x21c)][_0x3dac6e(0x20e)]});this[_0x3dac6e(0x24e)][_0x3dac6e(0x1ef)](_0x4041fb['id'],_0x4041fb),this[_0x3dac6e(0x208)](_0x3dac6e(0x235),{'result':_0x4041fb,'source':this});}[_0x3d3de6(0x206)](){const _0x3d5891=_0x3d3de6;_0x3d5891(0x252)===this[_0x3d5891(0x1f4)]&&(this[_0x3d5891(0x238)][_0x3d5891(0x23f)](_0x3a3f95=>_0x3d5891(0x230)===_0x3a3f95[_0x3d5891(0x1f4)])[_0x3d5891(0x205)]>0x0&&(this[_0x3d5891(0x1f4)]=_0x3d5891(0x213))),_0x3d5891(0x213)===this[_0x3d5891(0x1f4)]&&(0x0===this[_0x3d5891(0x238)][_0x3d5891(0x23f)](_0x21f271=>_0x3d5891(0x230)===_0x21f271[_0x3d5891(0x1f4)])[_0x3d5891(0x205)]&&(this[_0x3d5891(0x1f4)]=_0x3d5891(0x252)));}}
23
+ function _0x3a79(){const _0x5146a5=['markChangeAsAccepted','some','parent','_checkIfFinished','push','forceReadyState','ai-request-aborted','reviewName','fire','isAnyChangeActivated','restart','size','operation','reviewCheckRunUpdated','reviewCheckResultActivated','error','set','_activeRequest','unmodified','error-general','markChangeAsOutdated','_documentData','initialized','_aiConnector','every','aborted','18Kkgpcg','rejected','715947PiSpKO','_createApiRequest','deactivateChange','addResultChanges','712180GiDeQK','status','filter','processedResultsCount','dataId','_results','subTitle','isRated','563dsfqUe','abort','markAllChangesAsAccepted','reviewCheckResultReady','getChangeById','pending','hasModifications','isActivated','documentData','updateDocumentData','length','isChangeActive','getActiveChanges','change:status','_reviewArgs','start','reviewCheckResultChangeStatusUpdated','activateChange','finished','_sendRatingRequest','9131050jCcoei','getContent','get','_changes','change:isActivated','event','currentError','find','accepted','forEach','abortController','callId','message','1618AHcGqR','1119430Vkktkr','review-metadata','_addReviewCheckResult','loading','sendRating','984968SYoSbv','reviewCheckResultAdded','_sourceCheck','includes','markChangeAsPending','_reviewParams','markChangeAsRejected','textDelta','data','2136vMZBEy','version','outdated','ready','getStream','_currentError','2730kxfgZG','clear','reviewCheckResultDeactivated','elements','title','error-chunk'];_0x3a79=function(){return _0x5146a5;};return _0x3a79();}const _0x6f73de=_0x54e6;(function(_0x2a2137,_0x4bad25){const _0x18ca23=_0x54e6,_0x16234d=_0x2a2137();while(!![]){try{const _0x1096fa=-parseInt(_0x18ca23(0x23d))/0x1*(parseInt(_0x18ca23(0x1fa))/0x2)+-parseInt(_0x18ca23(0x231))/0x3+parseInt(_0x18ca23(0x235))/0x4+-parseInt(_0x18ca23(0x1fb))/0x5+parseInt(_0x18ca23(0x209))/0x6*(-parseInt(_0x18ca23(0x20f))/0x7)+parseInt(_0x18ca23(0x200))/0x8*(parseInt(_0x18ca23(0x22f))/0x9)+parseInt(_0x18ca23(0x251))/0xa;if(_0x1096fa===_0x4bad25)break;else _0x16234d['push'](_0x16234d['shift']());}catch(_0x2ed1d8){_0x16234d['push'](_0x16234d['shift']());}}}(_0x3a79,0x447e6));import{ObservableMixin as _0x4b2657,uid as _0x576f11}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2368ae}from'./aireviewcheckresult.js';function _0x54e6(_0x1a3b3e,_0x1f47b2){const _0x3a795e=_0x3a79();return _0x54e6=function(_0x54e6eb,_0x59fe3b){_0x54e6eb=_0x54e6eb-0x1f4;let _0x134f9c=_0x3a795e[_0x54e6eb];return _0x134f9c;},_0x54e6(_0x1a3b3e,_0x1f47b2);}import{AIReviewCheckResultChange as _0x4284e2}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x4b2657(){['id']=_0x576f11();[_0x6f73de(0x1f8)];[_0x6f73de(0x23a)]=new Map();[_0x6f73de(0x254)]=[];[_0x6f73de(0x202)];[_0x6f73de(0x22a)];[_0x6f73de(0x22c)];[_0x6f73de(0x205)];[_0x6f73de(0x24b)];[_0x6f73de(0x226)]=null;[_0x6f73de(0x20e)];constructor(_0x45c319,_0x4350e7,_0x6e5fb7,_0x18fd6b,_0x97854a){const _0x523b8c=_0x6f73de;super(),this[_0x523b8c(0x202)]=_0x4350e7,this[_0x523b8c(0x22a)]=_0x45c319,this[_0x523b8c(0x22c)]=_0x6e5fb7,this[_0x523b8c(0x205)]=_0x18fd6b,this[_0x523b8c(0x24b)]=_0x97854a,this['on'](_0x523b8c(0x24a),(_0x459ad7,_0xf1f29e,_0x2605b0)=>{const _0x2df255=_0x523b8c;this[_0x2df255(0x21d)](_0x2df255(0x222),{'status':_0x2605b0,'run':this,'error':this[_0x2df255(0x20e)]});}),this[_0x523b8c(0x225)](_0x523b8c(0x236),_0x523b8c(0x22b));}get[_0x6f73de(0x245)](){const _0x47f77c=_0x6f73de;return this[_0x47f77c(0x22a)];}get[_0x6f73de(0x238)](){const _0x2c409f=_0x6f73de;return this[_0x2c409f(0x23a)][_0x2c409f(0x220)];}get[_0x6f73de(0x213)](){const _0x565b32=_0x6f73de;return this[_0x565b32(0x202)][_0x565b32(0x213)];}get[_0x6f73de(0x23b)](){return'';}get[_0x6f73de(0x21c)](){const _0x4a96f6=_0x6f73de;return this[_0x4a96f6(0x202)]['id'];}get[_0x6f73de(0x243)](){const _0x509d5c=_0x6f73de;return!this[_0x509d5c(0x254)][_0x509d5c(0x22d)](_0x8399b5=>_0x509d5c(0x242)===_0x8399b5[_0x509d5c(0x236)]);}get[_0x6f73de(0x257)](){const _0x548edf=_0x6f73de;return this[_0x548edf(0x20e)];}[_0x6f73de(0x246)](_0x515509){const _0x3c14fb=_0x6f73de;this[_0x3c14fb(0x22a)]=_0x515509;}async[_0x6f73de(0x24c)](){const _0x31e5e2=_0x6f73de;this[_0x31e5e2(0x236)]=_0x31e5e2(0x1fe),this[_0x31e5e2(0x20e)]=void 0x0;try{this[_0x31e5e2(0x226)]=this[_0x31e5e2(0x232)]();const _0x3f4639=await this[_0x31e5e2(0x226)][_0x31e5e2(0x20d)]();this[_0x31e5e2(0x236)]=_0x31e5e2(0x208);for await(const _0x3b3757 of _0x3f4639)_0x31e5e2(0x227)!==_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x221)]&&(_0x31e5e2(0x224)!==_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x221)]?_0x31e5e2(0x1fc)!==_0x3b3757[_0x31e5e2(0x256)]?this[_0x31e5e2(0x1fd)](_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x239)],_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x207)]):this[_0x31e5e2(0x1f8)]=_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x1f8)]:this[_0x31e5e2(0x236)]=_0x31e5e2(0x214));_0x31e5e2(0x214)!==this[_0x31e5e2(0x236)]&&(0x0===this[_0x31e5e2(0x23a)][_0x31e5e2(0x220)]||0x0===this[_0x31e5e2(0x254)][_0x31e5e2(0x247)]?this[_0x31e5e2(0x236)]=_0x31e5e2(0x227):this[_0x31e5e2(0x236)]=_0x31e5e2(0x20c));}catch(_0x4111ce){this[_0x31e5e2(0x20e)]=_0x4111ce,_0x4111ce instanceof Error&&_0x4111ce[_0x31e5e2(0x1f9)][_0x31e5e2(0x203)](_0x31e5e2(0x21b))?this[_0x31e5e2(0x236)]=_0x31e5e2(0x22e):this[_0x31e5e2(0x236)]=_0x31e5e2(0x228);}finally{this[_0x31e5e2(0x226)]=null;}}async[_0x6f73de(0x21f)](){const _0x4996d5=_0x6f73de;this[_0x4996d5(0x23a)][_0x4996d5(0x210)](),this[_0x4996d5(0x254)][_0x4996d5(0x247)]=0x0,this[_0x4996d5(0x20e)]=void 0x0,await this[_0x4996d5(0x24c)]();}[_0x6f73de(0x234)](_0x19a15d,_0x7178ef){const _0x2be048=_0x6f73de,_0x62aba6=this[_0x2be048(0x23a)][_0x2be048(0x253)](_0x19a15d);if(!_0x62aba6)return;if(0x0===_0x7178ef[_0x2be048(0x247)])return;const _0x20b96d=[];_0x7178ef[_0x2be048(0x1f6)]((_0x361ca0,_0x5ebae8)=>{const _0x307ebd=_0x2be048,_0x13ee3d=new _0x4284e2(_0x62aba6['id']+'-'+_0x5ebae8,_0x361ca0,_0x62aba6);_0x13ee3d['on'](_0x307ebd(0x24a),()=>{const _0x588d18=_0x307ebd;this[_0x588d18(0x21d)](_0x588d18(0x24d),{'change':_0x13ee3d,'status':_0x13ee3d[_0x588d18(0x236)]});}),_0x13ee3d['on'](_0x307ebd(0x255),()=>{const _0x161d68=_0x307ebd;_0x13ee3d[_0x161d68(0x244)]?this[_0x161d68(0x21d)](_0x161d68(0x223),{'change':_0x13ee3d}):this[_0x161d68(0x21d)](_0x161d68(0x211),{'change':_0x13ee3d});}),this[_0x307ebd(0x254)][_0x307ebd(0x219)](_0x13ee3d),_0x20b96d[_0x307ebd(0x219)](_0x13ee3d);}),this[_0x2be048(0x21d)](_0x2be048(0x240),{'changes':_0x20b96d,'result':_0x62aba6,'source':this});}[_0x6f73de(0x23e)](){const _0x58a9e8=_0x6f73de;this[_0x58a9e8(0x226)]&&(this[_0x58a9e8(0x226)][_0x58a9e8(0x1f7)][_0x58a9e8(0x23e)](),this[_0x58a9e8(0x226)]=null,this[_0x58a9e8(0x236)]=_0x58a9e8(0x22e));}[_0x6f73de(0x248)](_0x446909){const _0x128db7=_0x6f73de,_0x2107a0=this[_0x128db7(0x254)][_0x128db7(0x1f4)](_0x135dfb=>_0x135dfb['id']===_0x446909);return!(!_0x2107a0||_0x128db7(0x242)!==_0x2107a0[_0x128db7(0x236)]);}[_0x6f73de(0x21e)](){const _0x53424a=_0x6f73de;return this[_0x53424a(0x254)][_0x53424a(0x216)](_0x470ba2=>!0x0===_0x470ba2[_0x53424a(0x244)]);}[_0x6f73de(0x249)](){const _0x498be0=_0x6f73de;return this[_0x498be0(0x254)][_0x498be0(0x237)](_0x5a217d=>_0x498be0(0x242)===_0x5a217d[_0x498be0(0x236)]);}[_0x6f73de(0x241)](_0x8701e4){const _0x56c2ff=_0x6f73de;return this[_0x56c2ff(0x254)][_0x56c2ff(0x1f4)](_0x18fd1f=>_0x18fd1f['id']===_0x8701e4);}[_0x6f73de(0x23f)](){const _0x5986b5=_0x6f73de;for(const _0x2e897d of this[_0x5986b5(0x254)])_0x5986b5(0x242)===_0x2e897d[_0x5986b5(0x236)]&&(_0x2e897d[_0x5986b5(0x236)]=_0x5986b5(0x1f5));this[_0x5986b5(0x218)]();}[_0x6f73de(0x215)](_0x338a05){const _0x4071f8=_0x6f73de,_0x56602c=this[_0x4071f8(0x254)][_0x4071f8(0x1f4)](_0x291b82=>_0x291b82['id']===_0x338a05);_0x56602c&&_0x4071f8(0x242)===_0x56602c[_0x4071f8(0x236)]&&(_0x56602c[_0x4071f8(0x236)]=_0x4071f8(0x1f5)),this[_0x4071f8(0x218)]();}[_0x6f73de(0x206)](_0x2bd838){const _0x52ba7a=_0x6f73de,_0x372f0f=this[_0x52ba7a(0x254)][_0x52ba7a(0x1f4)](_0x5a2b7e=>_0x5a2b7e['id']===_0x2bd838);_0x372f0f&&_0x52ba7a(0x242)===_0x372f0f[_0x52ba7a(0x236)]&&(_0x372f0f[_0x52ba7a(0x236)]=_0x52ba7a(0x230)),this[_0x52ba7a(0x218)]();}[_0x6f73de(0x229)](_0x501d43){const _0x383f28=_0x6f73de,_0x892509=this[_0x383f28(0x254)][_0x383f28(0x1f4)](_0x42e734=>_0x42e734['id']===_0x501d43);_0x892509&&_0x383f28(0x242)===_0x892509[_0x383f28(0x236)]&&(_0x892509[_0x383f28(0x236)]=_0x383f28(0x20b)),this[_0x383f28(0x218)]();}[_0x6f73de(0x204)](_0x54e002){const _0x5235b8=_0x6f73de,_0x2221c5=this[_0x5235b8(0x254)][_0x5235b8(0x1f4)](_0x574b42=>_0x574b42['id']===_0x54e002);_0x2221c5&&_0x5235b8(0x20b)===_0x2221c5[_0x5235b8(0x236)]&&(_0x2221c5[_0x5235b8(0x236)]=_0x5235b8(0x242)),this[_0x5235b8(0x218)]();}[_0x6f73de(0x24e)](_0x1b3e39){const _0x29d03f=_0x6f73de;this[_0x29d03f(0x254)][_0x29d03f(0x237)](_0x51345d=>_0x51345d[_0x29d03f(0x244)]&&_0x51345d['id']!==_0x1b3e39)[_0x29d03f(0x1f6)](_0xb8f8d0=>{const _0x168898=_0x29d03f;_0xb8f8d0[_0x168898(0x244)]=!0x1;});const _0x2d2202=this[_0x29d03f(0x254)][_0x29d03f(0x1f4)](_0x4d281e=>_0x4d281e['id']===_0x1b3e39);_0x2d2202&&_0x29d03f(0x242)===_0x2d2202[_0x29d03f(0x236)]&&(_0x2d2202[_0x29d03f(0x244)]=!0x0);}[_0x6f73de(0x233)](){const _0x4c1b52=_0x6f73de;this[_0x4c1b52(0x254)][_0x4c1b52(0x237)](_0x22c91f=>_0x22c91f[_0x4c1b52(0x244)])[_0x4c1b52(0x1f6)](_0x3f8989=>{const _0x231f0a=_0x4c1b52;_0x3f8989[_0x231f0a(0x244)]=!0x1;});}[_0x6f73de(0x21a)](){const _0x5d9ef8=_0x6f73de;this[_0x5d9ef8(0x236)]=_0x5d9ef8(0x20c);}async[_0x6f73de(0x1ff)](_0x463666){const _0x14584b=_0x6f73de;if(_0x14584b(0x22b)===this[_0x14584b(0x236)]||_0x14584b(0x1fe)===this[_0x14584b(0x236)]||_0x14584b(0x208)===this[_0x14584b(0x236)])return;if(!this[_0x14584b(0x1f8)]||0x0===this[_0x14584b(0x254)][_0x14584b(0x247)])return;let _0x2916b4;if(_0x463666){const _0x1bd736=this[_0x14584b(0x254)][_0x14584b(0x1f4)](_0x474e4c=>_0x474e4c['id']===_0x463666);if(_0x1bd736&&_0x1bd736[_0x14584b(0x23c)])return;_0x1bd736&&(_0x2916b4=_0x1bd736[_0x14584b(0x217)]['id'],_0x1bd736[_0x14584b(0x23c)]=!0x0);}const _0xf69d36={'positiveCount':this[_0x14584b(0x254)][_0x14584b(0x237)](_0x5cc9c6=>_0x14584b(0x1f5)===_0x5cc9c6[_0x14584b(0x236)])[_0x14584b(0x247)],'totalCount':this[_0x14584b(0x254)][_0x14584b(0x247)]};this[_0x14584b(0x250)](_0xf69d36,this[_0x14584b(0x1f8)],_0x2916b4);}[_0x6f73de(0x1fd)](_0x53450e,_0x50ba11){const _0x38457c=_0x6f73de,_0x44dc67=this[_0x38457c(0x22a)][_0x38457c(0x212)][_0x38457c(0x253)](_0x53450e);if(!_0x44dc67)return;const _0x365ab3=_0x44dc67[_0x38457c(0x252)]();if(_0x365ab3===_0x50ba11)return;const _0x2c5b38=new _0x2368ae({'id':_0x53450e,'contentInitial':_0x365ab3,'contentNew':_0x50ba11,'documentVersion':this[_0x38457c(0x22a)][_0x38457c(0x20a)]});this[_0x38457c(0x23a)][_0x38457c(0x225)](_0x2c5b38['id'],_0x2c5b38),this[_0x38457c(0x21d)](_0x38457c(0x201),{'result':_0x2c5b38,'source':this});}[_0x6f73de(0x218)](){const _0x4be1a7=_0x6f73de;_0x4be1a7(0x24f)===this[_0x4be1a7(0x236)]&&(this[_0x4be1a7(0x254)][_0x4be1a7(0x237)](_0x3f7610=>_0x4be1a7(0x242)===_0x3f7610[_0x4be1a7(0x236)])[_0x4be1a7(0x247)]>0x0&&(this[_0x4be1a7(0x236)]=_0x4be1a7(0x20c))),_0x4be1a7(0x20c)===this[_0x4be1a7(0x236)]&&(0x0===this[_0x4be1a7(0x254)][_0x4be1a7(0x237)](_0x3374a1=>_0x4be1a7(0x242)===_0x3374a1[_0x4be1a7(0x236)])[_0x4be1a7(0x247)]&&(this[_0x4be1a7(0x236)]=_0x4be1a7(0x24f)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x236316=_0x4f8b;(function(_0x821f76,_0x574858){var _0x390c93=_0x4f8b,_0x2e6034=_0x821f76();while(!![]){try{var _0x2a8e78=parseInt(_0x390c93(0x7b))/0x1*(parseInt(_0x390c93(0x8e))/0x2)+-parseInt(_0x390c93(0x7f))/0x3+-parseInt(_0x390c93(0x8d))/0x4*(-parseInt(_0x390c93(0x86))/0x5)+parseInt(_0x390c93(0x88))/0x6+parseInt(_0x390c93(0x83))/0x7*(-parseInt(_0x390c93(0x85))/0x8)+parseInt(_0x390c93(0x82))/0x9*(-parseInt(_0x390c93(0x84))/0xa)+parseInt(_0x390c93(0x8f))/0xb;if(_0x2a8e78===_0x574858)break;else _0x2e6034['push'](_0x2e6034['shift']());}catch(_0x4da1de){_0x2e6034['push'](_0x2e6034['shift']());}}}(_0x4005,0x1d761));function _0x4005(){var _0x34c944=['323895umrtmz','update','trim','ck-review-mode__prompt-input','keystrokes','listenTo','set','532eCXOXs','MIN_ROWS','extendTemplate','MAX_ROWS','489390DigErt','minRows','ai-review-mode-prompt-input','18pSBCKn','7MrjXVd','364670RPHCNu','276088ZYshwT','75035tJjuKE','maxRows','270108TxiXWZ','value','element','render','isEmpty','28hOjoil','796gaFYyQ'];_0x4005=function(){return _0x34c944;};return _0x4005();}import{TextareaView as _0x2ded68}from'ckeditor5/src/ui.js';function _0x4f8b(_0x3311b1,_0x3abb69){var _0x400592=_0x4005();return _0x4f8b=function(_0x4f8beb,_0x2c88e3){_0x4f8beb=_0x4f8beb-0x7a;var _0x5d4b84=_0x400592[_0x4f8beb];return _0x5d4b84;},_0x4f8b(_0x3311b1,_0x3abb69);}import{KeystrokeHandler as _0x44cc4e}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x2ded68{[_0x236316(0x93)];static [_0x236316(0x7c)]=0x1;static [_0x236316(0x7e)]=0xc;constructor(_0x3b8631){var _0x2b73d4=_0x236316;super(_0x3b8631),this[_0x2b73d4(0x7a)](_0x2b73d4(0x8c),!0x0),this[_0x2b73d4(0x93)]=new _0x44cc4e(),this[_0x2b73d4(0x80)]=AIReviewModePromptInputView[_0x2b73d4(0x7c)],this[_0x2b73d4(0x87)]=AIReviewModePromptInputView[_0x2b73d4(0x7e)],this[_0x2b73d4(0x7d)]({'attributes':{'id':_0x2b73d4(0x81),'class':['ck',_0x2b73d4(0x92)]}});}[_0x236316(0x8b)](){var _0x42a130=_0x236316;super[_0x42a130(0x8b)](),this['on'](_0x42a130(0x90),()=>{var _0x289b49=_0x42a130;this[_0x289b49(0x8c)]=''===this[_0x289b49(0x8a)][_0x289b49(0x89)]?.[_0x289b49(0x91)]();}),this[_0x42a130(0x93)][_0x42a130(0x94)](this[_0x42a130(0x8a)]);}}
23
+ var _0x329d90=_0x24ce;(function(_0xe1bd37,_0x2a2049){var _0x9129c=_0x24ce,_0x4e99a5=_0xe1bd37();while(!![]){try{var _0x319870=parseInt(_0x9129c(0x1b5))/0x1+-parseInt(_0x9129c(0x1ad))/0x2*(-parseInt(_0x9129c(0x1ae))/0x3)+parseInt(_0x9129c(0x1a4))/0x4*(parseInt(_0x9129c(0x1ac))/0x5)+parseInt(_0x9129c(0x1b0))/0x6+parseInt(_0x9129c(0x1b6))/0x7+-parseInt(_0x9129c(0x1a0))/0x8+-parseInt(_0x9129c(0x1a2))/0x9;if(_0x319870===_0x2a2049)break;else _0x4e99a5['push'](_0x4e99a5['shift']());}catch(_0x3c6f08){_0x4e99a5['push'](_0x4e99a5['shift']());}}}(_0x3d56,0x8991d));function _0x24ce(_0x5926d1,_0x1cbe9e){var _0x3d56cf=_0x3d56();return _0x24ce=function(_0x24cecf,_0x56bc59){_0x24cecf=_0x24cecf-0x19e;var _0x1177d9=_0x3d56cf[_0x24cecf];return _0x1177d9;},_0x24ce(_0x5926d1,_0x1cbe9e);}import{TextareaView as _0x1978ac}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x133950}from'ckeditor5/src/utils.js';function _0x3d56(){var _0x33428c=['16254243bzBAYV','ai-review-mode-prompt-input','300qXicvo','listenTo','value','MIN_ROWS','update','minRows','render','trim','62935AsAIhf','2RMfwmO','1627869qnNkiy','MAX_ROWS','5382108iHyRWx','keystrokes','extendTemplate','ck-review-mode__prompt-input','set','180998nSDNgx','3554747okekCm','maxRows','isEmpty','5623784bslAJh','element'];_0x3d56=function(){return _0x33428c;};return _0x3d56();}export class AIReviewModePromptInputView extends _0x1978ac{[_0x329d90(0x1b1)];static [_0x329d90(0x1a7)]=0x1;static [_0x329d90(0x1af)]=0xc;constructor(_0x26255b){var _0x1ca51a=_0x329d90;super(_0x26255b),this[_0x1ca51a(0x1b4)](_0x1ca51a(0x19f),!0x0),this[_0x1ca51a(0x1b1)]=new _0x133950(),this[_0x1ca51a(0x1a9)]=AIReviewModePromptInputView[_0x1ca51a(0x1a7)],this[_0x1ca51a(0x19e)]=AIReviewModePromptInputView[_0x1ca51a(0x1af)],this[_0x1ca51a(0x1b2)]({'attributes':{'id':_0x1ca51a(0x1a3),'class':['ck',_0x1ca51a(0x1b3)]}});}[_0x329d90(0x1aa)](){var _0x159887=_0x329d90;super[_0x159887(0x1aa)](),this['on'](_0x159887(0x1a8),()=>{var _0x481466=_0x159887;this[_0x481466(0x19f)]=''===this[_0x481466(0x1a1)][_0x481466(0x1a6)]?.[_0x481466(0x1ab)]();}),this[_0x159887(0x1b1)][_0x159887(0x1a5)](this[_0x159887(0x1a1)]);}}