@ckeditor/ckeditor5-ai 47.4.0-alpha.2 → 47.4.0-alpha.3

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 (71) 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/aiassistant/aiassistantediting.js +1 -1
  6. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  7. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  8. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  9. package/src/aiassistant/ui/form/aiformview.js +1 -1
  10. package/src/aiballoon/aiballoon.js +1 -1
  11. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  12. package/src/aiballoon/ui/aiballoonview.js +1 -1
  13. package/src/aichat/aichat.js +1 -1
  14. package/src/aichat/aichatcontroller.js +1 -1
  15. package/src/aichat/aichatui.js +1 -1
  16. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  17. package/src/aichat/ui/aichatfeedview.js +1 -1
  18. package/src/aichat/ui/aichatview.js +1 -1
  19. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  20. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  21. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  22. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  23. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  24. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  25. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  26. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  27. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  28. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  29. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  30. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  31. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  32. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  33. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  34. package/src/aichathistory/aichathistory.js +1 -1
  35. package/src/aichathistory/aichathistorycontroller.js +1 -1
  36. package/src/aichathistory/aichathistoryui.js +1 -1
  37. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  38. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  39. package/src/aicore/aiconnector.js +1 -1
  40. package/src/aicore/aiediting.js +1 -1
  41. package/src/aicore/model/aireply.js +1 -1
  42. package/src/aicore/ui/aidisclaimerview.js +1 -1
  43. package/src/aicore/ui/aiskeleton.js +1 -1
  44. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  45. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  46. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  47. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  48. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  49. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  50. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  51. package/src/aiquickactions/aiquickactionsui.js +1 -1
  52. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  53. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  54. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  55. package/src/aireviewmode/aireviewmode.js +1 -1
  56. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  57. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  58. package/src/aireviewmode/aireviewmodeui.js +1 -1
  59. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  60. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  61. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  62. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  63. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  64. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  65. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  66. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  67. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  68. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  69. package/src/aitabs/aitabs.js +1 -1
  70. package/src/aitabs/tabs/aitabsview.js +1 -1
  71. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1824af,_0x17fcda){const _0xe311dd=_0x284d,_0x1ccf6f=_0x1824af();while(!![]){try{const _0xa78a1b=parseInt(_0xe311dd(0x183))/0x1*(parseInt(_0xe311dd(0x186))/0x2)+parseInt(_0xe311dd(0x19c))/0x3+-parseInt(_0xe311dd(0x187))/0x4+-parseInt(_0xe311dd(0x19b))/0x5*(-parseInt(_0xe311dd(0x190))/0x6)+parseInt(_0xe311dd(0x18a))/0x7+-parseInt(_0xe311dd(0x17e))/0x8*(parseInt(_0xe311dd(0x19a))/0x9)+parseInt(_0xe311dd(0x196))/0xa;if(_0xa78a1b===_0x17fcda)break;else _0x1ccf6f['push'](_0x1ccf6f['shift']());}catch(_0xf7cf14){_0x1ccf6f['push'](_0x1ccf6f['shift']());}}}(_0x3979,0x26d30));import{createDropdown as _0x2e27f5}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xc1653d}from'@ckeditor/ckeditor5-icons';function _0x3979(){const _0x18c962=['ck-ai-quick-actions-dropdown','buttonView','1332664eSLKSe','children','from','getRanges','has','3718hVblNV','length','icon','118svYRXh','798704eYlaoA','label','selection','39949ZRRMao','showFakeVisualSelection','set','model','get','ai-quick-actions-dropdown-selection','49200IKqDPD','document','plugins','hideFakeVisualSelection','locale','resetSearch','1412470ddsAfB','AIEditing','add','change:isOpen','9bAKDZL','25AKQzri','353901iAyHfQ','panelView'];_0x3979=function(){return _0x18c962;};return _0x3979();}import{AIQuickActionsDropdownContentView as _0x22826c}from'./aiquickactionsdropdowncontentview.js';function _0x284d(_0x41e9ed,_0x5cb7d5){const _0x39791d=_0x3979();return _0x284d=function(_0x284da6,_0x47d29e){_0x284da6=_0x284da6-0x17d;let _0xa2cd85=_0x39791d[_0x284da6];return _0xa2cd85;},_0x284d(_0x41e9ed,_0x5cb7d5);}import{AIEditing as _0x9389c}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x459083){const {editor:_0x301a05,content:_0x5a1263,buttonDefinition:_0x1176c7,bodyCollection:_0x46edbe,hasSearch:_0x2d92ce=!0x1}=_0x459083;return()=>{const _0x42e3a7=_0x284d,_0x2eb171=_0x301a05[_0x42e3a7(0x194)],_0x140d12=_0x2e27f5(_0x2eb171);_0x140d12[_0x42e3a7(0x17d)][_0x42e3a7(0x18c)]({'icon':_0x1176c7[_0x42e3a7(0x185)]??_0xc1653d,'label':_0x1176c7[_0x42e3a7(0x188)],'tooltip':!0x0}),_0x140d12[_0x42e3a7(0x18c)]({'class':_0x42e3a7(0x19e)});const _0xca3aa4=new _0x22826c(_0x301a05,_0x5a1263,_0x140d12,_0x46edbe,_0x2d92ce);if(_0x140d12[_0x42e3a7(0x19d)][_0x42e3a7(0x17f)][_0x42e3a7(0x198)](_0xca3aa4),_0x2d92ce){const _0x5287c4=_0x42e3a7(0x18f);_0x140d12['on'](_0x42e3a7(0x199),(_0x22a313,_0x3c45ba,_0x281be5)=>{const _0x2bf4e9=_0x42e3a7;if(_0x281be5){if(_0x301a05[_0x2bf4e9(0x192)][_0x2bf4e9(0x182)](_0x2bf4e9(0x197))){const _0x1c9ddf=_0x301a05[_0x2bf4e9(0x192)][_0x2bf4e9(0x18e)](_0x9389c),_0x3efa3d=_0x301a05[_0x2bf4e9(0x18d)][_0x2bf4e9(0x191)][_0x2bf4e9(0x189)],_0x4a83be=Array[_0x2bf4e9(0x180)](_0x3efa3d[_0x2bf4e9(0x181)]());_0x4a83be[_0x2bf4e9(0x184)]>0x0&&_0x1c9ddf[_0x2bf4e9(0x18b)](_0x4a83be,_0x5287c4,!0x1,!0x0);}}else _0x301a05[_0x2bf4e9(0x192)][_0x2bf4e9(0x182)](_0x2bf4e9(0x197))&&_0x301a05[_0x2bf4e9(0x192)][_0x2bf4e9(0x18e)](_0x9389c)[_0x2bf4e9(0x193)](_0x5287c4),_0xca3aa4[_0x2bf4e9(0x195)]();});}return _0x140d12;};}
23
+ (function(_0x5ed5c9,_0x76b7c3){const _0x3bfe03=_0x525b,_0xfaa352=_0x5ed5c9();while(!![]){try{const _0x3e9c1f=parseInt(_0x3bfe03(0xed))/0x1+parseInt(_0x3bfe03(0x10a))/0x2*(-parseInt(_0x3bfe03(0xee))/0x3)+parseInt(_0x3bfe03(0xff))/0x4+parseInt(_0x3bfe03(0xf5))/0x5+parseInt(_0x3bfe03(0xf7))/0x6*(parseInt(_0x3bfe03(0x109))/0x7)+parseInt(_0x3bfe03(0xfa))/0x8*(-parseInt(_0x3bfe03(0x100))/0x9)+-parseInt(_0x3bfe03(0x10c))/0xa*(parseInt(_0x3bfe03(0x105))/0xb);if(_0x3e9c1f===_0x76b7c3)break;else _0xfaa352['push'](_0xfaa352['shift']());}catch(_0xc9c233){_0xfaa352['push'](_0xfaa352['shift']());}}}(_0x3315,0xda8d3));import{createDropdown as _0x14706f}from'ckeditor5/src/ui.js';function _0x3315(){const _0xbfc12f=['plugins','ai-quick-actions-dropdown-selection','has','14AxCTQC','690082GbKCCh','label','6070wtLBAx','AIEditing','model','resetSearch','1468200Zupnba','3NikLxw','getRanges','selection','add','change:isOpen','showFakeVisualSelection','buttonView','2437240NdZszl','from','3310830hfRSSN','set','locale','16ECNVto','document','length','panelView','hideFakeVisualSelection','5538044UXuHTZ','3143034CbYNmd','children','icon','ck-ai-quick-actions-dropdown','get','45397OwsdKO'];_0x3315=function(){return _0xbfc12f;};return _0x3315();}import{IconAIQuickActions as _0x4dcbb1}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x5e54be}from'./aiquickactionsdropdowncontentview.js';function _0x525b(_0x3f9fde,_0x2004a9){const _0x33158f=_0x3315();return _0x525b=function(_0x525b07,_0x344de2){_0x525b07=_0x525b07-0xea;let _0x39c13c=_0x33158f[_0x525b07];return _0x39c13c;},_0x525b(_0x3f9fde,_0x2004a9);}import{AIEditing as _0x21e6cf}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0xf0b44a){const {editor:_0x4f0471,content:_0x1cac06,buttonDefinition:_0x1c4e8b,bodyCollection:_0x4ae35b,hasSearch:_0x213f4b=!0x1}=_0xf0b44a;return()=>{const _0x244b27=_0x525b,_0x213030=_0x4f0471[_0x244b27(0xf9)],_0x30677c=_0x14706f(_0x213030);_0x30677c[_0x244b27(0xf4)][_0x244b27(0xf8)]({'icon':_0x1c4e8b[_0x244b27(0x102)]??_0x4dcbb1,'label':_0x1c4e8b[_0x244b27(0x10b)],'tooltip':!0x0}),_0x30677c[_0x244b27(0xf8)]({'class':_0x244b27(0x103)});const _0x321a18=new _0x5e54be(_0x4f0471,_0x1cac06,_0x30677c,_0x4ae35b,_0x213f4b);if(_0x30677c[_0x244b27(0xfd)][_0x244b27(0x101)][_0x244b27(0xf1)](_0x321a18),_0x213f4b){const _0x309ddc=_0x244b27(0x107);_0x30677c['on'](_0x244b27(0xf2),(_0xbbf90e,_0x21c40a,_0x5f47a1)=>{const _0x58eb9a=_0x244b27;if(_0x5f47a1){if(_0x4f0471[_0x58eb9a(0x106)][_0x58eb9a(0x108)](_0x58eb9a(0xea))){const _0x1a4a6b=_0x4f0471[_0x58eb9a(0x106)][_0x58eb9a(0x104)](_0x21e6cf),_0x437f17=_0x4f0471[_0x58eb9a(0xeb)][_0x58eb9a(0xfb)][_0x58eb9a(0xf0)],_0xe97e5a=Array[_0x58eb9a(0xf6)](_0x437f17[_0x58eb9a(0xef)]());_0xe97e5a[_0x58eb9a(0xfc)]>0x0&&_0x1a4a6b[_0x58eb9a(0xf3)](_0xe97e5a,_0x309ddc,!0x1,!0x0);}}else _0x4f0471[_0x58eb9a(0x106)][_0x58eb9a(0x108)](_0x58eb9a(0xea))&&_0x4f0471[_0x58eb9a(0x106)][_0x58eb9a(0x104)](_0x21e6cf)[_0x58eb9a(0xfe)](_0x309ddc),_0x321a18[_0x58eb9a(0xec)]();});}return _0x30677c;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x244e44=_0x1d23;(function(_0x2c7f59,_0x3f93e6){var _0x18f853=_0x1d23,_0x137d22=_0x2c7f59();while(!![]){try{var _0x738957=parseInt(_0x18f853(0xcb))/0x1+-parseInt(_0x18f853(0xc8))/0x2+-parseInt(_0x18f853(0xc2))/0x3+parseInt(_0x18f853(0xc3))/0x4+-parseInt(_0x18f853(0xc5))/0x5*(parseInt(_0x18f853(0xc9))/0x6)+-parseInt(_0x18f853(0xc7))/0x7+parseInt(_0x18f853(0xc0))/0x8*(parseInt(_0x18f853(0xcc))/0x9);if(_0x738957===_0x3f93e6)break;else _0x137d22['push'](_0x137d22['shift']());}catch(_0x55964a){_0x137d22['push'](_0x137d22['shift']());}}}(_0x4e1f,0xe5082));import{ContextPlugin as _0x2d660e}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x2cf5d7}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0xb80e45}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x3d90ed}from'./aireviewmodeediting.js';function _0x1d23(_0x390fae,_0x4ca4c9){var _0x4e1f43=_0x4e1f();return _0x1d23=function(_0x1d2301,_0x561e65){_0x1d2301=_0x1d2301-0xc0;var _0x1cc78d=_0x4e1f43[_0x1d2301];return _0x1cc78d;},_0x1d23(_0x390fae,_0x4ca4c9);}function _0x4e1f(){var _0x5d42c9=['requires','6255gFxsEq','AIReviewMode','4295949TURyUF','2828702aelimD','4794dzezGG','isOfficialPlugin','907023tlQkWN','9158382FTXyjp','isPremiumPlugin','24teTyxW','pluginName','4456884yRCyuL','5966128MCzLTy'];_0x4e1f=function(){return _0x5d42c9;};return _0x4e1f();}export class AIReviewMode extends _0x2d660e{static get[_0x244e44(0xc4)](){return[_0x2cf5d7,_0xb80e45,_0x3d90ed];}static get[_0x244e44(0xc1)](){var _0x343dfa=_0x244e44;return _0x343dfa(0xc6);}static get[_0x244e44(0xca)](){return!0x0;}static get[_0x244e44(0xcd)](){return!0x0;}}
23
+ var _0x2b599c=_0x3a1a;(function(_0x564a80,_0x51fe73){var _0x4a8290=_0x3a1a,_0x268e8d=_0x564a80();while(!![]){try{var _0x229f36=parseInt(_0x4a8290(0x9f))/0x1+-parseInt(_0x4a8290(0x9d))/0x2+parseInt(_0x4a8290(0x9c))/0x3*(parseInt(_0x4a8290(0xa1))/0x4)+parseInt(_0x4a8290(0x9e))/0x5+parseInt(_0x4a8290(0xa4))/0x6+-parseInt(_0x4a8290(0xa6))/0x7*(parseInt(_0x4a8290(0xa2))/0x8)+parseInt(_0x4a8290(0xa7))/0x9*(-parseInt(_0x4a8290(0xa0))/0xa);if(_0x229f36===_0x51fe73)break;else _0x268e8d['push'](_0x268e8d['shift']());}catch(_0x772e22){_0x268e8d['push'](_0x268e8d['shift']());}}}(_0x5730,0x1d89e));import{ContextPlugin as _0x3abfb9}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x463cf4}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x33affe}from'./aireviewmodeui.js';function _0x5730(){var _0x539db5=['15GJmrqH','165974CWjhXx','695055wxILwg','126870jcyCRX','34360jECWMj','88756LNgKOI','16frAKPv','isOfficialPlugin','7302slkOZT','requires','224399NGSSxg','288HCozfk','AIReviewMode','pluginName','isPremiumPlugin'];_0x5730=function(){return _0x539db5;};return _0x5730();}import{AIReviewModeEditing as _0x458782}from'./aireviewmodeediting.js';function _0x3a1a(_0x76c766,_0x7d11bd){var _0x5730ef=_0x5730();return _0x3a1a=function(_0x3a1af2,_0x3541ee){_0x3a1af2=_0x3a1af2-0x99;var _0x429c69=_0x5730ef[_0x3a1af2];return _0x429c69;},_0x3a1a(_0x76c766,_0x7d11bd);}export class AIReviewMode extends _0x3abfb9{static get[_0x2b599c(0xa5)](){return[_0x463cf4,_0x33affe,_0x458782];}static get[_0x2b599c(0x9a)](){var _0x40a06e=_0x2b599c;return _0x40a06e(0x99);}static get[_0x2b599c(0xa3)](){return!0x0;}static get[_0x2b599c(0x9b)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19c68e=_0x1eae;(function(_0x4018c6,_0x5c2986){const _0x98987e=_0x1eae,_0x2f81c0=_0x4018c6();while(!![]){try{const _0x5a6510=-parseInt(_0x98987e(0x12f))/0x1*(-parseInt(_0x98987e(0x12a))/0x2)+-parseInt(_0x98987e(0x139))/0x3+-parseInt(_0x98987e(0xe6))/0x4+parseInt(_0x98987e(0x136))/0x5*(parseInt(_0x98987e(0x11e))/0x6)+parseInt(_0x98987e(0x149))/0x7+parseInt(_0x98987e(0x10b))/0x8*(parseInt(_0x98987e(0xd9))/0x9)+-parseInt(_0x98987e(0xb3))/0xa;if(_0x5a6510===_0x5c2986)break;else _0x2f81c0['push'](_0x2f81c0['shift']());}catch(_0x418700){_0x2f81c0['push'](_0x2f81c0['shift']());}}}(_0x3d49,0x8d576));import{ContextPlugin as _0xb194f6}from'ckeditor5/src/core.js';import{CKEditorError as _0xa28a7a,logError as _0x13c6cb,scrollAncestorsToShowTarget as _0x1abad6,scrollViewportToShowTarget as _0x159fae}from'ckeditor5/src/utils.js';function _0x1eae(_0x3a42a7,_0x48c481){const _0x3d49c8=_0x3d49();return _0x1eae=function(_0x1eaea5,_0x126459){_0x1eaea5=_0x1eaea5-0xa9;let _0x5e00c6=_0x3d49c8[_0x1eaea5];return _0x5e00c6;},_0x1eae(_0x3a42a7,_0x48c481);}import{AIConnector as _0x1e51fb}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x36944d}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x2719c3}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x3f65bb}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4baffd}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x2d1893}from'./aireviewcheckdefinitions.js';function _0x3d49(){const _0x582128=['ck-ai-review-mode-diff','addClass','switchToReadOnly','changeMarkerBlurred','unmodified','reviewCheckResultReady','prompt','stopListening','AIReviewModeEditing','_currentReviewCheckRun','getRoot','showChangeBalloon','pluginName','params','viewportOffset','11133380ObziEO','showNoChangesView','_isDiffOn','setAvailableChecks','acceptAllChanges','_aiReviewModeUi','forceReadyState','ai-review-mode-no-current-check-run','acceptChange','_OPTIONS_DATA_','activateChange','deactivateChange','closest','ready','_TITLE','includes','_aiReviewModeEditing','document','change','replaceAll','showGeneralReviewModeErrorView','context','reviewCheckRunUpdated','markChangeAsPending','ai-review-mode-check-run-failed','showChunkErrorView','config','changeMarkerRestored','getAll','isChangeActive','listenTo','panel','contentNew','getDocumentData','setActiveStateInResults','retryReview','AIReviewModeUI','message','4386483sXKjaW','custom','init','ai-review-mode-source-check-not-found','markChangeAsAccepted','data','showCheckRunResult','runReviewCheck','reviewCheckResultActivated','updateChangeState','hover','showGeneralResultsErrorView','showDiffInBalloon','406072xOOiYd','changeId','markerElement','abortReviewStream','description','markChangeAsRejected','resetActiveStateInResults','map','contentInitial','label','markChangePositionInEditorContent','loading','ck-ai-review-mode-highlights','find','locale','get','reviewCheckResultChangeStatusUpdated','click','clearAllMarkers','reviewCheckResultAdded','_aiConnector','showCheckRunResults','domElement','error-chunk','changeMarkerHovered','switchToEdit','domEvent','markAllChangesAsAccepted','ai-review-mode-check-run-general-error','editing','removeCheckById','checks','_OPTIONS_LABEL','getEditor','requires','markChangeAsOutdated','getMarkerElementForChange','16FJiQcV','finishReview','applyChange','AIConnector','hideDiffInBalloon','diffContent','dismissChange','getChangeElement','getCheckById','getReviewCheckList','hasModifications','showReviewCompletedView','_DESCRIPTION','emitter','isOfficialPlugin','ai-review-mode-models-unable-to-retrieve','models','abort','view','24rDLIdM','ai.reviewMode.translations','source','subTitle','AI_REVIEW_CHECK_','isAnyChangeActivated','leaveReviewMode','_translateReviewChecks','changes','changeMarkerClick','_onReviewModeRunLeave','isPremiumPlugin','22KuDBaQ','documentData','setCheckResultTitle','addResultChanges','status','18089cToVCF','toggleDiff','rejectChange','length','hideChangeBalloon','model','_changeActivationSource','1288820IimpCv','_onDiffChange','ai-review-mode-check-run-chunk-error','2676573eLPweq','currentError','processedResultsCount','_logError','AIReviewModeController','updateDocumentData','showActionsWhenResultIsReady','restart','getChangeById','translate','removeClass','title','_aiReviewCheckList','changeMarkerRemoved','ai-request-aborted','content','3368204UWXsnO','sendRating','.ck-ai-review-mode__check-run-result','finished','leaveReviewModeResultList','getDomRoot','start','options','isCustom','getActiveChanges','error-general','toUpperCase','plugins','showReviewCheckList','reviewCheckResultDeactivated','aborted','args','startsWith','result','_getTranslationWithDefault'];_0x3d49=function(){return _0x582128;};return _0x3d49();}import{getTranslation as _0x48eb06}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0xb194f6{[_0x19c68e(0xfa)];[_0x19c68e(0xb8)];[_0x19c68e(0xc3)];[_0x19c68e(0x145)];[_0x19c68e(0xad)];[_0x19c68e(0xb5)]=!0x1;[_0x19c68e(0x135)]=null;static get[_0x19c68e(0x108)](){return[_0x1e51fb];}static get[_0x19c68e(0xb0)](){const _0x1a15d4=_0x19c68e;return _0x1a15d4(0x13d);}static get[_0x19c68e(0x119)](){return!0x0;}static get[_0x19c68e(0x129)](){return!0x0;}async[_0x19c68e(0xdb)](){const _0x236c68=_0x19c68e;this[_0x236c68(0xfa)]=this[_0x236c68(0xc8)][_0x236c68(0x155)][_0x236c68(0xf5)](_0x236c68(0x10e)),this[_0x236c68(0xb8)]=this[_0x236c68(0xc8)][_0x236c68(0x155)][_0x236c68(0xf5)](_0x236c68(0xd7)),this[_0x236c68(0xc3)]=this[_0x236c68(0xc8)][_0x236c68(0x155)][_0x236c68(0xf5)](_0x236c68(0xac));const _0x1ee95b=this[_0x236c68(0xc8)][_0x236c68(0xcd)][_0x236c68(0xf5)](_0x236c68(0x11f));if(_0x1ee95b){for(const _0x4ae68e of _0x2d1893)_0x236c68(0x142)===_0x4ae68e['id']&&(_0x4ae68e[_0x236c68(0x150)][0x0][_0x236c68(0xde)]=_0x1ee95b);}const _0x18270f=this[_0x236c68(0x125)](_0x2d1893);this[_0x236c68(0x145)]=new _0x36944d(_0x18270f);const _0x18ba3e=this[_0x236c68(0x145)][_0x236c68(0x105)][_0x236c68(0xf3)](_0x35550f=>_0x236c68(0xda)===_0x35550f['id']);if(_0x18ba3e)try{_0x18ba3e[_0x236c68(0x11b)]=await new _0x4baffd({'connector':this[_0x236c68(0xfa)],'locale':this[_0x236c68(0xc8)][_0x236c68(0xf4)]})[_0x236c68(0xcf)]();}catch(_0x2006f1){this[_0x236c68(0x145)][_0x236c68(0x104)](_0x236c68(0xda)),this[_0x236c68(0x13c)](new _0xa28a7a(_0x236c68(0x11a),this,{'error':_0x2006f1}));}this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0x114),()=>{const _0x46eb89=_0x236c68;this[_0x46eb89(0xb8)][_0x46eb89(0xb6)](this[_0x46eb89(0x145)][_0x46eb89(0x105)]);}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0xe0),async(_0xe0982,_0x263af8)=>{const _0x164a0a=_0x236c68,_0x1bd0f1=this[_0x164a0a(0x145)][_0x164a0a(0x113)](_0x263af8['id']);if(_0x1bd0f1){this[_0x164a0a(0x137)](this[_0x164a0a(0xb5)]),_0x263af8[_0x164a0a(0x151)]?this[_0x164a0a(0xad)]=new _0x3f65bb(_0x263af8[_0x164a0a(0x159)][_0x164a0a(0xaa)],_0x263af8[_0x164a0a(0x159)][_0x164a0a(0x134)],this[_0x164a0a(0xc3)][_0x164a0a(0xd4)](),_0x1bd0f1,this[_0x164a0a(0xfa)]):this[_0x164a0a(0xad)]=new _0x2719c3(this[_0x164a0a(0xc3)][_0x164a0a(0xd4)](),_0x1bd0f1,this[_0x164a0a(0xfa)],_0x263af8[_0x164a0a(0xb1)],_0x263af8[_0x164a0a(0x159)]),this[_0x164a0a(0xb8)][_0x164a0a(0x12c)](this[_0x164a0a(0xad)][_0x164a0a(0x144)],this[_0x164a0a(0xad)][_0x164a0a(0x121)]),this[_0x164a0a(0xad)]['on'](_0x164a0a(0xc9),(_0x462636,_0x16e0af)=>{const _0x216b7a=_0x164a0a;switch(_0x16e0af[_0x216b7a(0x12e)]){case _0x216b7a(0xde):case _0x216b7a(0xf1):this[_0x216b7a(0xc3)][_0x216b7a(0x15f)](),this[_0x216b7a(0xb8)][_0x216b7a(0xfb)](_0x16e0af);break;case _0x216b7a(0x14c):this[_0x216b7a(0xb8)][_0x216b7a(0x116)]();break;case _0x216b7a(0xc0):this[_0x216b7a(0xb8)][_0x216b7a(0x13f)]();break;case _0x216b7a(0x161):this[_0x216b7a(0xb8)][_0x216b7a(0xb4)]();break;case _0x216b7a(0x153):this[_0x216b7a(0xb8)][_0x216b7a(0xe4)](),this[_0x216b7a(0x13c)](new _0xa28a7a(_0x216b7a(0x102),this,this[_0x216b7a(0xad)]?.[_0x216b7a(0x13a)]));break;case _0x216b7a(0xfd):this[_0x216b7a(0xb8)][_0x216b7a(0xcc)](),this[_0x216b7a(0x13c)](new _0xa28a7a(_0x216b7a(0x138),this,this[_0x216b7a(0xad)]?.[_0x216b7a(0x13a)]));break;case _0x216b7a(0x158):this[_0x216b7a(0xad)]&&this[_0x216b7a(0xad)][_0x216b7a(0x13b)]>0x0?setTimeout(()=>{const _0x455d7e=_0x216b7a;this[_0x455d7e(0xad)]?.[_0x455d7e(0xb9)]();},0x0):this[_0x216b7a(0x128)](!0x0);}_0x216b7a(0xc0)!==_0x16e0af[_0x216b7a(0x12e)]&&_0x216b7a(0xfd)!==_0x16e0af[_0x216b7a(0x12e)]&&_0x216b7a(0x153)!==_0x16e0af[_0x216b7a(0x12e)]||this[_0x216b7a(0xad)]?.[_0x216b7a(0x14a)]();}),this[_0x164a0a(0xad)]['on'](_0x164a0a(0xf9),(_0x15ce44,_0x4145fb)=>{const _0x7157e7=_0x164a0a;if(!this[_0x7157e7(0xad)])throw new _0xa28a7a(_0x7157e7(0xba),this);const _0x4e1b07=this[_0x7157e7(0xc3)][_0x7157e7(0x110)](_0x4145fb[_0x7157e7(0x15b)][_0x7157e7(0xee)],_0x4145fb[_0x7157e7(0x15b)][_0x7157e7(0xd3)]);_0x4145fb[_0x7157e7(0x120)][_0x7157e7(0x12d)](_0x4145fb[_0x7157e7(0x15b)]['id'],_0x4e1b07);}),this[_0x164a0a(0xad)]['on'](_0x164a0a(0xa9),(_0x5d4894,_0x2dd96a)=>{const _0x2cff5d=_0x164a0a;for(const _0x2d4e23 of _0x2dd96a[_0x2cff5d(0x126)])this[_0x2cff5d(0xb8)][_0x2cff5d(0xdf)](_0x2d4e23);this[_0x2cff5d(0xc3)][_0x2cff5d(0xf0)](_0x2dd96a[_0x2cff5d(0x126)],_0x2dd96a[_0x2cff5d(0x120)][_0x2cff5d(0x12b)]);}),this[_0x164a0a(0xad)]['on'](_0x164a0a(0xf6),(_0x272b4c,_0x40d53b)=>{const _0x3f2f6c=_0x164a0a;this[_0x3f2f6c(0xb8)][_0x3f2f6c(0xe2)](_0x40d53b[_0x3f2f6c(0xc5)]['id'],_0x40d53b[_0x3f2f6c(0x12e)]);}),this[_0x164a0a(0xad)]['on'](_0x164a0a(0xe1),(_0xd2a0cb,_0x5ed6a2)=>{const _0x162583=_0x164a0a;this[_0x162583(0xb8)][_0x162583(0xd5)](_0x5ed6a2[_0x162583(0xc5)]['id']);const _0x5961d9=this[_0x162583(0xc3)][_0x162583(0x10a)](_0x5ed6a2[_0x162583(0xc5)]['id']);if(!_0x5961d9)return;if(_0x162583(0x148)===this[_0x162583(0x135)]){const _0x5a9435=this[_0x162583(0xb8)][_0x162583(0x112)](_0x5ed6a2[_0x162583(0xc5)]['id']);_0x5a9435&&_0x1abad6(_0x5a9435[_0x162583(0xbf)](_0x162583(0x14b))||_0x5a9435);}else{if(_0x162583(0xd2)===this[_0x162583(0x135)]){const _0x1a87fe={'target':_0x5961d9[_0x162583(0xfc)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x159fae(_0x1a87fe);}}const _0x5a5814=this[_0x162583(0xc3)][_0x162583(0x107)]();this[_0x162583(0xb8)][_0x162583(0xaf)](_0x5ed6a2[_0x162583(0xc5)],_0x5961d9[_0x162583(0xfc)],void 0x0,_0x162583(0xf7),_0x5a5814?.[_0x162583(0x103)]?.[_0x162583(0x11d)]?.[_0x162583(0x14e)](),_0x5a5814?.['ui']?.[_0x162583(0xb2)]);}),this[_0x164a0a(0xad)]['on'](_0x164a0a(0x157),()=>{const _0x14421b=_0x164a0a;this[_0x14421b(0xb8)][_0x14421b(0xec)](),this[_0x14421b(0xb8)][_0x14421b(0x133)]();});try{await this[_0x164a0a(0xad)][_0x164a0a(0x14f)]();}catch(_0x471763){_0x471763 instanceof Error&&_0x471763[_0x164a0a(0xd8)][_0x164a0a(0xc2)](_0x164a0a(0x147))||(_0x471763 instanceof _0xa28a7a?this[_0x164a0a(0x13c)](_0x471763):this[_0x164a0a(0x13c)](new _0xa28a7a(_0x164a0a(0xcb),this,{'error':_0x471763})));}}else this[_0x164a0a(0x13c)](new _0xa28a7a(_0x164a0a(0xdc),this,{'checkId':_0x263af8['id']}));}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0x124),()=>{const _0x279fd0=_0x236c68;this[_0x279fd0(0x128)]();}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0x14d),()=>{const _0x34feea=_0x236c68;this[_0x34feea(0x128)](!0x0);}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0xe9),()=>{const _0x34849c=_0x236c68;this[_0x34849c(0xad)]&&this[_0x34849c(0xad)][_0x34849c(0x11c)]();}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0x10c),()=>{const _0x22f750=_0x236c68;this[_0x22f750(0x128)](!0x0);}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0xb7),()=>{const _0x4b6283=_0x236c68;if(!this[_0x4b6283(0xad)])return;const _0x5db39e=this[_0x4b6283(0xad)][_0x4b6283(0x152)]();_0x5db39e[_0x4b6283(0x132)]&&(this[_0x4b6283(0xc3)][_0x4b6283(0x10d)](_0x5db39e[_0x4b6283(0xed)](_0x168c1c=>_0x168c1c['id'])),this[_0x4b6283(0xad)][_0x4b6283(0x101)](),this[_0x4b6283(0xad)][_0x4b6283(0x14a)]());}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0xbb),(_0x28e71b,_0x420037)=>{const _0x19349c=_0x236c68;this[_0x19349c(0xad)]&&this[_0x19349c(0xad)][_0x19349c(0xd0)](_0x420037['id'])&&(this[_0x19349c(0xc3)][_0x19349c(0x10d)]([_0x420037['id']]),this[_0x19349c(0xad)][_0x19349c(0xdd)](_0x420037['id']),this[_0x19349c(0xb8)][_0x19349c(0x133)](),this[_0x19349c(0xad)][_0x19349c(0x14a)](_0x420037['id']));}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0x111),(_0xfe96b8,_0x190976)=>{const _0x5939b4=_0x236c68;this[_0x5939b4(0xad)]&&this[_0x5939b4(0xad)][_0x5939b4(0xd0)](_0x190976['id'])&&(this[_0x5939b4(0xc3)][_0x5939b4(0x131)](_0x190976['id']),this[_0x5939b4(0xad)][_0x5939b4(0xeb)](_0x190976['id']),this[_0x5939b4(0xb8)][_0x5939b4(0x133)](),this[_0x5939b4(0xad)][_0x5939b4(0x14a)](_0x190976['id']));}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0x130),(_0x57379b,_0x4e45d1)=>{const _0x188140=_0x236c68;this[_0x188140(0xb5)]=_0x4e45d1['on'],this[_0x188140(0x137)](this[_0x188140(0xb5)]);}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0xd6),async()=>{const _0x39b796=_0x236c68;this[_0x39b796(0xad)]&&(this[_0x39b796(0xc3)][_0x39b796(0xf8)](),this[_0x39b796(0xad)][_0x39b796(0x13e)](this[_0x39b796(0xc3)][_0x39b796(0xd4)]()),await this[_0x39b796(0xad)][_0x39b796(0x140)]());}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0xbd),(_0x4cf84d,_0x5490fa)=>{const _0x4e450a=_0x236c68;this[_0x4e450a(0xad)]&&(this[_0x4e450a(0x135)]=_0x4e450a(0xd2),this[_0x4e450a(0xad)][_0x4e450a(0xbd)](_0x5490fa['id']));}),this[_0x236c68(0xd1)](this[_0x236c68(0xb8)],_0x236c68(0xbe),()=>{const _0x3f966b=_0x236c68;this[_0x3f966b(0xad)]&&this[_0x3f966b(0xad)][_0x3f966b(0xbe)]();}),this[_0x236c68(0xd1)](this[_0x236c68(0xc3)][_0x236c68(0x118)],_0x236c68(0x127),(_0xf24006,_0x3cab00)=>{const _0x50d6b6=_0x236c68;if(!this[_0x50d6b6(0xad)])return;this[_0x50d6b6(0x135)]=_0x50d6b6(0x148),this[_0x50d6b6(0xad)][_0x50d6b6(0xbd)](_0x3cab00[_0x50d6b6(0xe7)]);const _0xaffece=this[_0x50d6b6(0xad)][_0x50d6b6(0x141)](_0x3cab00[_0x50d6b6(0xe7)]);if(!_0xaffece)return;const _0x14b5b0=this[_0x50d6b6(0xc3)][_0x50d6b6(0x107)]();this[_0x50d6b6(0xb8)][_0x50d6b6(0xaf)](_0xaffece,_0x3cab00[_0x50d6b6(0xe8)],_0x3cab00[_0x50d6b6(0x100)],_0x50d6b6(0xf7),_0x14b5b0?.[_0x50d6b6(0x103)]?.[_0x50d6b6(0x11d)]?.[_0x50d6b6(0x14e)](),_0x14b5b0?.['ui']?.[_0x50d6b6(0xb2)]);}),this[_0x236c68(0xd1)](this[_0x236c68(0xc3)][_0x236c68(0x118)],_0x236c68(0xfe),(_0x16314d,_0x3f72c5)=>{const _0x4d69db=_0x236c68;if(!this[_0x4d69db(0xad)])return;if(this[_0x4d69db(0xad)][_0x4d69db(0x123)]())return;const _0x144a11=this[_0x4d69db(0xad)][_0x4d69db(0x141)](_0x3f72c5[_0x4d69db(0xe7)]);if(!_0x144a11)return;const _0x500e35=this[_0x4d69db(0xc3)][_0x4d69db(0x107)]();this[_0x4d69db(0xb8)][_0x4d69db(0xaf)](_0x144a11,_0x3f72c5[_0x4d69db(0xe8)],_0x3f72c5[_0x4d69db(0x100)],_0x4d69db(0xe3),_0x500e35?.[_0x4d69db(0x103)]?.[_0x4d69db(0x11d)]?.[_0x4d69db(0x14e)](),_0x500e35?.['ui']?.[_0x4d69db(0xb2)]);}),this[_0x236c68(0xd1)](this[_0x236c68(0xc3)][_0x236c68(0x118)],_0x236c68(0x160),()=>{const _0x53df3e=_0x236c68;if(!this[_0x53df3e(0xad)])return;this[_0x53df3e(0xad)][_0x53df3e(0x123)]()||this[_0x53df3e(0xb8)][_0x53df3e(0x133)]();}),this[_0x236c68(0xd1)](this[_0x236c68(0xc3)][_0x236c68(0x118)],_0x236c68(0x146),(_0x572d90,_0xcb8455)=>{const _0x54d601=_0x236c68;this[_0x54d601(0xad)]&&this[_0x54d601(0xad)][_0x54d601(0x109)](_0xcb8455[_0x54d601(0xe7)]);}),this[_0x236c68(0xd1)](this[_0x236c68(0xc3)][_0x236c68(0x118)],_0x236c68(0xce),(_0x4a0e1f,_0x3ba8dc)=>{const _0x1af46f=_0x236c68;this[_0x1af46f(0xad)]&&this[_0x1af46f(0xad)][_0x1af46f(0xca)](_0x3ba8dc[_0x1af46f(0xe7)]);});}[_0x19c68e(0x128)](_0x4b3c4a=!0x1){const _0x541647=_0x19c68e;this[_0x541647(0xad)]&&(this[_0x541647(0xad)][_0x541647(0x115)]||this[_0x541647(0xad)][_0x541647(0x14a)](),this[_0x541647(0xad)][_0x541647(0xab)](),this[_0x541647(0xad)][_0x541647(0x11c)](),this[_0x541647(0xad)]=void 0x0),_0x4b3c4a&&this[_0x541647(0xb8)][_0x541647(0x156)](),this[_0x541647(0xc3)][_0x541647(0xf8)](),this[_0x541647(0xc3)][_0x541647(0xff)](),this[_0x541647(0x135)]=null;const _0x3f2c02=this[_0x541647(0xc3)][_0x541647(0x107)]();_0x3f2c02&&_0x3f2c02[_0x541647(0x103)][_0x541647(0x11d)][_0x541647(0xc5)](_0x1a5487=>{const _0x508019=_0x541647,_0x57e394=_0x3f2c02[_0x508019(0x103)][_0x508019(0x11d)][_0x508019(0xc4)][_0x508019(0xae)]();_0x1a5487[_0x508019(0x143)](_0x508019(0x15d),_0x57e394),_0x1a5487[_0x508019(0x143)](_0x508019(0xf2),_0x57e394);});}[_0x19c68e(0x137)](_0x520301){const _0xc7689d=_0x19c68e,_0x3c8527=this[_0xc7689d(0xc3)][_0xc7689d(0x107)]();_0x520301?this[_0xc7689d(0xb8)][_0xc7689d(0x10f)]():this[_0xc7689d(0xb8)][_0xc7689d(0xe5)](),_0x3c8527&&_0x3c8527[_0xc7689d(0x103)][_0xc7689d(0x11d)][_0xc7689d(0xc5)](_0x24b36d=>{const _0x21de08=_0xc7689d,_0x492519=_0x3c8527[_0x21de08(0x103)][_0x21de08(0x11d)][_0x21de08(0xc4)][_0x21de08(0xae)]();_0x24b36d[_0x21de08(0x143)](_0x21de08(0x15d),_0x492519),_0x24b36d[_0x21de08(0x143)](_0x21de08(0xf2),_0x492519),_0x24b36d[_0x21de08(0x15e)](_0x520301?_0x21de08(0x15d):_0x21de08(0xf2),_0x492519);});}[_0x19c68e(0x125)](_0x4f1d6f){const _0x79f657=_0x19c68e;return _0x4f1d6f[_0x79f657(0xed)](_0x2b8670=>{const _0x263cb4=_0x79f657,_0x3b52c7=_0x263cb4(0x122)+_0x2b8670['id'][_0x263cb4(0x154)]()[_0x263cb4(0xc6)]('-','_'),_0x475323={..._0x2b8670,'title':this[_0x263cb4(0x15c)](_0x3b52c7+_0x263cb4(0xc1),_0x2b8670[_0x263cb4(0x144)]),'description':this[_0x263cb4(0x15c)](_0x3b52c7+_0x263cb4(0x117),_0x2b8670[_0x263cb4(0xea)])};return _0x2b8670[_0x263cb4(0x150)]&&(_0x475323[_0x263cb4(0x150)]=_0x2b8670[_0x263cb4(0x150)][_0x263cb4(0xed)](_0x586006=>({..._0x586006,'label':this[_0x263cb4(0x15c)](_0x3b52c7+_0x263cb4(0x106),_0x586006[_0x263cb4(0xef)]||''),'data':_0x586006[_0x263cb4(0xde)]?_0x586006[_0x263cb4(0xde)][_0x263cb4(0xed)](_0x24e6b2=>({..._0x24e6b2,'label':this[_0x263cb4(0x15c)](_0x3b52c7+_0x263cb4(0xbc)+_0x24e6b2['id'][_0x263cb4(0x154)](),_0x24e6b2[_0x263cb4(0xef)])})):void 0x0}))),_0x475323;});}[_0x19c68e(0x15c)](_0x58db02,_0x5cef67){const _0x40c952=_0x19c68e,_0x142afe=this[_0x40c952(0xc8)][_0x40c952(0xf4)],_0x4c85ae=_0x48eb06(_0x142afe,_0x58db02);return _0x4c85ae===_0x58db02?_0x5cef67:_0x4c85ae;}[_0x19c68e(0x13c)](_0x295a91){const _0x298669=_0x19c68e;_0x13c6cb(_0x295a91[_0x298669(0xd8)]),_0x295a91[_0x298669(0xd8)][_0x298669(0x15a)](_0x298669(0x11a))?this[_0x298669(0xb8)][_0x298669(0xc7)]():this[_0x298669(0xb8)][_0x298669(0xe4)]();}}
23
+ const _0x3c2c4b=_0x4ebd;(function(_0x38b4c9,_0x22e977){const _0x5537fb=_0x4ebd,_0x5a690d=_0x38b4c9();while(!![]){try{const _0x41b994=parseInt(_0x5537fb(0x185))/0x1+parseInt(_0x5537fb(0xf3))/0x2*(parseInt(_0x5537fb(0x178))/0x3)+-parseInt(_0x5537fb(0x16f))/0x4*(-parseInt(_0x5537fb(0x164))/0x5)+-parseInt(_0x5537fb(0x136))/0x6*(-parseInt(_0x5537fb(0x159))/0x7)+parseInt(_0x5537fb(0x12e))/0x8*(parseInt(_0x5537fb(0x12f))/0x9)+parseInt(_0x5537fb(0x165))/0xa*(parseInt(_0x5537fb(0xfe))/0xb)+-parseInt(_0x5537fb(0x112))/0xc*(parseInt(_0x5537fb(0x145))/0xd);if(_0x41b994===_0x22e977)break;else _0x5a690d['push'](_0x5a690d['shift']());}catch(_0x475d45){_0x5a690d['push'](_0x5a690d['shift']());}}}(_0x5e0f,0x20db9));import{ContextPlugin as _0x2d6cfd}from'ckeditor5/src/core.js';function _0x5e0f(){const _0x29ff73=['getChangeById','switchToReadOnly','changeMarkerHovered','emitter','changes','acceptAllChanges','restart','markChangeAsRejected','4kKdGVy','getActiveChanges','reviewCheckResultChangeStatusUpdated','_getTranslationWithDefault','reviewCheckResultDeactivated','showCheckRunResults','ck-ai-review-mode-highlights','isPremiumPlugin','contentNew','title','processedResultsCount','248083OKlKjI','changeId','options','error-chunk','translate','listenTo','AI_REVIEW_CHECK_','updateChangeState','acceptChange','changeMarkerClick','init','ai-review-mode-check-run-failed','ai-request-aborted','source','args','data','isChangeActive','find','context','contentInitial','73812dLmgRb','content','isOfficialPlugin','getMarkerElementForChange','addClass','aborted','updateDocumentData','get','view','reviewCheckResultAdded','prompt','showGeneralReviewModeErrorView','reviewCheckResultActivated','map','forceReadyState','resetActiveStateInResults','AIReviewModeUI','ai.reviewMode.translations','showChangeBalloon','changeMarkerBlurred','plugins','applyChange','ck-ai-review-mode-diff','viewportOffset','subTitle','label','_isDiffOn','setAvailableChecks','8QubCQK','132417qtorGk','getRoot','domElement','leaveReviewModeResultList','showChunkErrorView','getDomRoot','getAll','6XisTKL','_currentReviewCheckRun','rejectChange','status','AIReviewModeController','showNoChangesView','_aiConnector','isAnyChangeActivated','markAllChangesAsAccepted','_DESCRIPTION','setCheckResultTitle','showActionsWhenResultIsReady','click','getEditor','models','1066sbQrVP','model','_aiReviewCheckList','panel','.ck-ai-review-mode__check-run-result','markChangePositionInEditorContent','showGeneralResultsErrorView','_logError','activateChange','markChangeAsPending','leaveReviewMode','length','hideDiffInBalloon','startsWith','hasModifications','_TITLE','document','finishReview','loading','ai-review-mode-check-run-general-error','839797hHjNnY','_onDiffChange','AIReviewModeEditing','showReviewCheckList','message','finished','getCheckById','_OPTIONS_LABEL','getChangeElement','closest','markChangeAsAccepted','445WZwOOQ','110HxUNFQ','hover','_aiReviewModeUi','diffContent','isCustom','hideChangeBalloon','ai-review-mode-no-current-check-run','documentData','currentError','requires','604wzIOYP','change','ai-review-mode-check-run-chunk-error','_aiReviewModeEditing','getDocumentData','markerElement','custom','replaceAll','sendRating','54171qphASd','_changeActivationSource','ai-review-mode-source-check-not-found','editing','showReviewCompletedView','stopListening','changeMarkerRestored','_onReviewModeRunLeave','AIConnector','unmodified','reviewCheckResultReady','pluginName','removeCheckById','206647JVduxj','getReviewCheckList','_translateReviewChecks','clearAllMarkers','changeMarkerRemoved','includes','ai-review-mode-models-unable-to-retrieve','switchToEdit','domEvent','ready','showDiffInBalloon','description','params','_OPTIONS_DATA_','removeClass','retryReview','runReviewCheck','toUpperCase','markChangeAsOutdated','result','reviewCheckRunUpdated','showCheckRunResult','deactivateChange','start','checks','addResultChanges','dismissChange','toggleDiff','setActiveStateInResults','abortReviewStream','locale','abort','error-general','config'];_0x5e0f=function(){return _0x29ff73;};return _0x5e0f();}import{CKEditorError as _0x1b63b9,logError as _0x2e7983,scrollAncestorsToShowTarget as _0x385093,scrollViewportToShowTarget as _0x20d0cc}from'ckeditor5/src/utils.js';import{AIConnector as _0xde7e5}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x30d3fe}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x36b5f3}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x45d044}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4cf6e1}from'../aicore/model/aimodels.js';function _0x4ebd(_0x52ba3d,_0x33f9d8){const _0x5e0f20=_0x5e0f();return _0x4ebd=function(_0x4ebd06,_0x5a9eb1){_0x4ebd06=_0x4ebd06-0xd8;let _0x385e66=_0x5e0f20[_0x4ebd06];return _0x385e66;},_0x4ebd(_0x52ba3d,_0x33f9d8);}import{AI_REVIEW_CHECKS as _0x5cf220}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x47446f}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2d6cfd{[_0x3c2c4b(0x13c)];[_0x3c2c4b(0x167)];[_0x3c2c4b(0x172)];[_0x3c2c4b(0x147)];[_0x3c2c4b(0x137)];[_0x3c2c4b(0x12c)]=!0x1;[_0x3c2c4b(0x179)]=null;static get[_0x3c2c4b(0x16e)](){return[_0xde7e5];}static get[_0x3c2c4b(0x183)](){const _0x13a3ef=_0x3c2c4b;return _0x13a3ef(0x13a);}static get[_0x3c2c4b(0x114)](){return!0x0;}static get[_0x3c2c4b(0xfa)](){return!0x0;}async[_0x3c2c4b(0x108)](){const _0x7b7e5f=_0x3c2c4b;this[_0x7b7e5f(0x13c)]=this[_0x7b7e5f(0x110)][_0x7b7e5f(0x126)][_0x7b7e5f(0x119)](_0x7b7e5f(0x180)),this[_0x7b7e5f(0x167)]=this[_0x7b7e5f(0x110)][_0x7b7e5f(0x126)][_0x7b7e5f(0x119)](_0x7b7e5f(0x122)),this[_0x7b7e5f(0x172)]=this[_0x7b7e5f(0x110)][_0x7b7e5f(0x126)][_0x7b7e5f(0x119)](_0x7b7e5f(0x15b));const _0x16f256=this[_0x7b7e5f(0x110)][_0x7b7e5f(0xea)][_0x7b7e5f(0x119)](_0x7b7e5f(0x123));if(_0x16f256){for(const _0x3c1296 of _0x5cf220)_0x7b7e5f(0x102)===_0x3c1296['id']&&(_0x3c1296[_0x7b7e5f(0x100)][0x0][_0x7b7e5f(0x10d)]=_0x16f256);}const _0x2e68b1=this[_0x7b7e5f(0x187)](_0x5cf220);this[_0x7b7e5f(0x147)]=new _0x30d3fe(_0x2e68b1);const _0x56bcfb=this[_0x7b7e5f(0x147)][_0x7b7e5f(0xe1)][_0x7b7e5f(0x10f)](_0x48f177=>_0x7b7e5f(0x175)===_0x48f177['id']);if(_0x56bcfb)try{_0x56bcfb[_0x7b7e5f(0x144)]=await new _0x4cf6e1({'connector':this[_0x7b7e5f(0x13c)],'locale':this[_0x7b7e5f(0x110)][_0x7b7e5f(0xe7)]})[_0x7b7e5f(0x135)]();}catch(_0x44297d){this[_0x7b7e5f(0x147)][_0x7b7e5f(0x184)](_0x7b7e5f(0x175)),this[_0x7b7e5f(0x14c)](new _0x1b63b9(_0x7b7e5f(0x18b),this,{'error':_0x44297d}));}this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x186),()=>{const _0x5022ba=_0x7b7e5f;this[_0x5022ba(0x167)][_0x5022ba(0x12d)](this[_0x5022ba(0x147)][_0x5022ba(0xe1)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xd9),async(_0xd13012,_0x4b9698)=>{const _0x4bc900=_0x7b7e5f,_0x13454f=this[_0x4bc900(0x147)][_0x4bc900(0x15f)](_0x4b9698['id']);if(_0x13454f){this[_0x4bc900(0x15a)](this[_0x4bc900(0x12c)]),_0x4b9698[_0x4bc900(0x169)]?this[_0x4bc900(0x137)]=new _0x45d044(_0x4b9698[_0x4bc900(0x10c)][_0x4bc900(0x11c)],_0x4b9698[_0x4bc900(0x10c)][_0x4bc900(0x146)],this[_0x4bc900(0x172)][_0x4bc900(0x173)](),_0x13454f,this[_0x4bc900(0x13c)]):this[_0x4bc900(0x137)]=new _0x36b5f3(this[_0x4bc900(0x172)][_0x4bc900(0x173)](),_0x13454f,this[_0x4bc900(0x13c)],_0x4b9698[_0x4bc900(0x191)],_0x4b9698[_0x4bc900(0x10c)]),this[_0x4bc900(0x167)][_0x4bc900(0x140)](this[_0x4bc900(0x137)][_0x4bc900(0xfc)],this[_0x4bc900(0x137)][_0x4bc900(0x12a)]),this[_0x4bc900(0x137)]['on'](_0x4bc900(0xdd),(_0x1bf5ee,_0x175c31)=>{const _0x3a07aa=_0x4bc900;switch(_0x175c31[_0x3a07aa(0x139)]){case _0x3a07aa(0x10d):case _0x3a07aa(0x157):this[_0x3a07aa(0x172)][_0x3a07aa(0xec)](),this[_0x3a07aa(0x167)][_0x3a07aa(0xf8)](_0x175c31);break;case _0x3a07aa(0x15e):this[_0x3a07aa(0x167)][_0x3a07aa(0x17c)]();break;case _0x3a07aa(0x18e):this[_0x3a07aa(0x167)][_0x3a07aa(0x141)]();break;case _0x3a07aa(0x181):this[_0x3a07aa(0x167)][_0x3a07aa(0x13b)]();break;case _0x3a07aa(0xe9):this[_0x3a07aa(0x167)][_0x3a07aa(0x14b)](),this[_0x3a07aa(0x14c)](new _0x1b63b9(_0x3a07aa(0x158),this,this[_0x3a07aa(0x137)]?.[_0x3a07aa(0x16d)]));break;case _0x3a07aa(0x101):this[_0x3a07aa(0x167)][_0x3a07aa(0x133)](),this[_0x3a07aa(0x14c)](new _0x1b63b9(_0x3a07aa(0x171),this,this[_0x3a07aa(0x137)]?.[_0x3a07aa(0x16d)]));break;case _0x3a07aa(0x117):this[_0x3a07aa(0x137)]&&this[_0x3a07aa(0x137)][_0x3a07aa(0xfd)]>0x0?setTimeout(()=>{const _0x25e254=_0x3a07aa;this[_0x25e254(0x137)]?.[_0x25e254(0x120)]();},0x0):this[_0x3a07aa(0x17f)](!0x0);}_0x3a07aa(0x18e)!==_0x175c31[_0x3a07aa(0x139)]&&_0x3a07aa(0x101)!==_0x175c31[_0x3a07aa(0x139)]&&_0x3a07aa(0xe9)!==_0x175c31[_0x3a07aa(0x139)]||this[_0x3a07aa(0x137)]?.[_0x3a07aa(0x177)]();}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0x11b),(_0x121399,_0x4c7252)=>{const _0x2e6538=_0x4bc900;if(!this[_0x2e6538(0x137)])throw new _0x1b63b9(_0x2e6538(0x16b),this);const _0x1fd290=this[_0x2e6538(0x172)][_0x2e6538(0x168)](_0x4c7252[_0x2e6538(0xdc)][_0x2e6538(0x111)],_0x4c7252[_0x2e6538(0xdc)][_0x2e6538(0xfb)]);_0x4c7252[_0x2e6538(0x10b)][_0x2e6538(0xe2)](_0x4c7252[_0x2e6538(0xdc)]['id'],_0x1fd290);}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0x182),(_0x3b8347,_0x4f22d4)=>{const _0x597e1c=_0x4bc900;for(const _0x3ca676 of _0x4f22d4[_0x597e1c(0xef)])this[_0x597e1c(0x167)][_0x597e1c(0xde)](_0x3ca676);this[_0x597e1c(0x172)][_0x597e1c(0x14a)](_0x4f22d4[_0x597e1c(0xef)],_0x4f22d4[_0x597e1c(0x10b)][_0x597e1c(0x16c)]);}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0xf5),(_0x442be2,_0x410df4)=>{const _0x274390=_0x4bc900;this[_0x274390(0x167)][_0x274390(0x105)](_0x410df4[_0x274390(0x170)]['id'],_0x410df4[_0x274390(0x139)]);}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0x11e),(_0x4fc337,_0x1a0260)=>{const _0x11b45f=_0x4bc900;this[_0x11b45f(0x167)][_0x11b45f(0xe5)](_0x1a0260[_0x11b45f(0x170)]['id']);const _0x14d644=this[_0x11b45f(0x172)][_0x11b45f(0x115)](_0x1a0260[_0x11b45f(0x170)]['id']);if(!_0x14d644)return;if(_0x11b45f(0x113)===this[_0x11b45f(0x179)]){const _0x9ab401=this[_0x11b45f(0x167)][_0x11b45f(0x161)](_0x1a0260[_0x11b45f(0x170)]['id']);_0x9ab401&&_0x385093(_0x9ab401[_0x11b45f(0x162)](_0x11b45f(0x149))||_0x9ab401);}else{if(_0x11b45f(0x148)===this[_0x11b45f(0x179)]){const _0x2be50a={'target':_0x14d644[_0x11b45f(0x131)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x20d0cc(_0x2be50a);}}const _0x508939=this[_0x11b45f(0x172)][_0x11b45f(0x143)]();this[_0x11b45f(0x167)][_0x11b45f(0x124)](_0x1a0260[_0x11b45f(0x170)],_0x14d644[_0x11b45f(0x131)],void 0x0,_0x11b45f(0x142),_0x508939?.[_0x11b45f(0x17b)]?.[_0x11b45f(0x11a)]?.[_0x11b45f(0x134)](),_0x508939?.['ui']?.[_0x11b45f(0x129)]);}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0xf7),()=>{const _0x56edf0=_0x4bc900;this[_0x56edf0(0x167)][_0x56edf0(0x121)](),this[_0x56edf0(0x167)][_0x56edf0(0x16a)]();});try{await this[_0x4bc900(0x137)][_0x4bc900(0xe0)]();}catch(_0xf9604d){_0xf9604d instanceof Error&&_0xf9604d[_0x4bc900(0x15d)][_0x4bc900(0x18a)](_0x4bc900(0x10a))||(_0xf9604d instanceof _0x1b63b9?this[_0x4bc900(0x14c)](_0xf9604d):this[_0x4bc900(0x14c)](new _0x1b63b9(_0x4bc900(0x109),this,{'error':_0xf9604d})));}}else this[_0x4bc900(0x14c)](new _0x1b63b9(_0x4bc900(0x17a),this,{'checkId':_0x4b9698['id']}));}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x14f),()=>{const _0x450156=_0x7b7e5f;this[_0x450156(0x17f)]();}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x132),()=>{const _0x3a8426=_0x7b7e5f;this[_0x3a8426(0x17f)](!0x0);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xe6),()=>{const _0x5cb270=_0x7b7e5f;this[_0x5cb270(0x137)]&&this[_0x5cb270(0x137)][_0x5cb270(0xe8)]();}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x156),()=>{const _0x22e3e5=_0x7b7e5f;this[_0x22e3e5(0x17f)](!0x0);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xf0),()=>{const _0x2fd8a5=_0x7b7e5f;if(!this[_0x2fd8a5(0x137)])return;const _0x226839=this[_0x2fd8a5(0x137)][_0x2fd8a5(0xf4)]();_0x226839[_0x2fd8a5(0x150)]&&(this[_0x2fd8a5(0x172)][_0x2fd8a5(0x127)](_0x226839[_0x2fd8a5(0x11f)](_0x1c241c=>_0x1c241c['id'])),this[_0x2fd8a5(0x137)][_0x2fd8a5(0x13e)](),this[_0x2fd8a5(0x137)][_0x2fd8a5(0x177)]());}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x106),(_0x5d2ae0,_0x50a84b)=>{const _0x3e2f2b=_0x7b7e5f;this[_0x3e2f2b(0x137)]&&this[_0x3e2f2b(0x137)][_0x3e2f2b(0x10e)](_0x50a84b['id'])&&(this[_0x3e2f2b(0x172)][_0x3e2f2b(0x127)]([_0x50a84b['id']]),this[_0x3e2f2b(0x137)][_0x3e2f2b(0x163)](_0x50a84b['id']),this[_0x3e2f2b(0x167)][_0x3e2f2b(0x16a)](),this[_0x3e2f2b(0x137)][_0x3e2f2b(0x177)](_0x50a84b['id']));}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xe3),(_0x1961c7,_0x344954)=>{const _0x3e32b4=_0x7b7e5f;this[_0x3e32b4(0x137)]&&this[_0x3e32b4(0x137)][_0x3e32b4(0x10e)](_0x344954['id'])&&(this[_0x3e32b4(0x172)][_0x3e32b4(0x138)](_0x344954['id']),this[_0x3e32b4(0x137)][_0x3e32b4(0xf2)](_0x344954['id']),this[_0x3e32b4(0x167)][_0x3e32b4(0x16a)](),this[_0x3e32b4(0x137)][_0x3e32b4(0x177)](_0x344954['id']));}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xe4),(_0x357290,_0x23548d)=>{const _0x324d69=_0x7b7e5f;this[_0x324d69(0x12c)]=_0x23548d['on'],this[_0x324d69(0x15a)](this[_0x324d69(0x12c)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xd8),async()=>{const _0x4b2157=_0x7b7e5f;this[_0x4b2157(0x137)]&&(this[_0x4b2157(0x172)][_0x4b2157(0x188)](),this[_0x4b2157(0x137)][_0x4b2157(0x118)](this[_0x4b2157(0x172)][_0x4b2157(0x173)]()),await this[_0x4b2157(0x137)][_0x4b2157(0xf1)]());}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x14d),(_0x5bd428,_0x2cff54)=>{const _0x55a4d3=_0x7b7e5f;this[_0x55a4d3(0x137)]&&(this[_0x55a4d3(0x179)]=_0x55a4d3(0x148),this[_0x55a4d3(0x137)][_0x55a4d3(0x14d)](_0x2cff54['id']));}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xdf),()=>{const _0x2fa717=_0x7b7e5f;this[_0x2fa717(0x137)]&&this[_0x2fa717(0x137)][_0x2fa717(0xdf)]();}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0x107),(_0x5bfed9,_0x229e27)=>{const _0x2e8df8=_0x7b7e5f;if(!this[_0x2e8df8(0x137)])return;this[_0x2e8df8(0x179)]=_0x2e8df8(0x113),this[_0x2e8df8(0x137)][_0x2e8df8(0x14d)](_0x229e27[_0x2e8df8(0xff)]);const _0x4ae128=this[_0x2e8df8(0x137)][_0x2e8df8(0xeb)](_0x229e27[_0x2e8df8(0xff)]);if(!_0x4ae128)return;const _0x7dbaf6=this[_0x2e8df8(0x172)][_0x2e8df8(0x143)]();this[_0x2e8df8(0x167)][_0x2e8df8(0x124)](_0x4ae128,_0x229e27[_0x2e8df8(0x174)],_0x229e27[_0x2e8df8(0x18d)],_0x2e8df8(0x142),_0x7dbaf6?.[_0x2e8df8(0x17b)]?.[_0x2e8df8(0x11a)]?.[_0x2e8df8(0x134)](),_0x7dbaf6?.['ui']?.[_0x2e8df8(0x129)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0xed),(_0x4ce39c,_0x2d186f)=>{const _0x20b8e4=_0x7b7e5f;if(!this[_0x20b8e4(0x137)])return;if(this[_0x20b8e4(0x137)][_0x20b8e4(0x13d)]())return;const _0xb718cb=this[_0x20b8e4(0x137)][_0x20b8e4(0xeb)](_0x2d186f[_0x20b8e4(0xff)]);if(!_0xb718cb)return;const _0xb3ed26=this[_0x20b8e4(0x172)][_0x20b8e4(0x143)]();this[_0x20b8e4(0x167)][_0x20b8e4(0x124)](_0xb718cb,_0x2d186f[_0x20b8e4(0x174)],_0x2d186f[_0x20b8e4(0x18d)],_0x20b8e4(0x166),_0xb3ed26?.[_0x20b8e4(0x17b)]?.[_0x20b8e4(0x11a)]?.[_0x20b8e4(0x134)](),_0xb3ed26?.['ui']?.[_0x20b8e4(0x129)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0x125),()=>{const _0x39b426=_0x7b7e5f;if(!this[_0x39b426(0x137)])return;this[_0x39b426(0x137)][_0x39b426(0x13d)]()||this[_0x39b426(0x167)][_0x39b426(0x16a)]();}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0x189),(_0x18c182,_0x5c4d96)=>{const _0xf0f406=_0x7b7e5f;this[_0xf0f406(0x137)]&&this[_0xf0f406(0x137)][_0xf0f406(0xdb)](_0x5c4d96[_0xf0f406(0xff)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0x17e),(_0x35334c,_0x5d7acd)=>{const _0x363616=_0x7b7e5f;this[_0x363616(0x137)]&&this[_0x363616(0x137)][_0x363616(0x14e)](_0x5d7acd[_0x363616(0xff)]);});}[_0x3c2c4b(0x17f)](_0x29acf9=!0x1){const _0x181ef4=_0x3c2c4b;this[_0x181ef4(0x137)]&&(this[_0x181ef4(0x137)][_0x181ef4(0x153)]||this[_0x181ef4(0x137)][_0x181ef4(0x177)](),this[_0x181ef4(0x137)][_0x181ef4(0x17d)](),this[_0x181ef4(0x137)][_0x181ef4(0xe8)](),this[_0x181ef4(0x137)]=void 0x0),_0x29acf9&&this[_0x181ef4(0x167)][_0x181ef4(0x15c)](),this[_0x181ef4(0x172)][_0x181ef4(0x188)](),this[_0x181ef4(0x172)][_0x181ef4(0x18c)](),this[_0x181ef4(0x179)]=null;const _0x356ad2=this[_0x181ef4(0x172)][_0x181ef4(0x143)]();_0x356ad2&&_0x356ad2[_0x181ef4(0x17b)][_0x181ef4(0x11a)][_0x181ef4(0x170)](_0x5531f3=>{const _0x5248c8=_0x181ef4,_0x557f59=_0x356ad2[_0x5248c8(0x17b)][_0x5248c8(0x11a)][_0x5248c8(0x155)][_0x5248c8(0x130)]();_0x5531f3[_0x5248c8(0x193)](_0x5248c8(0x128),_0x557f59),_0x5531f3[_0x5248c8(0x193)](_0x5248c8(0xf9),_0x557f59);});}[_0x3c2c4b(0x15a)](_0x1f493a){const _0x1b8866=_0x3c2c4b,_0x130482=this[_0x1b8866(0x172)][_0x1b8866(0x143)]();_0x1f493a?this[_0x1b8866(0x167)][_0x1b8866(0x151)]():this[_0x1b8866(0x167)][_0x1b8866(0x18f)](),_0x130482&&_0x130482[_0x1b8866(0x17b)][_0x1b8866(0x11a)][_0x1b8866(0x170)](_0x5c572b=>{const _0x13525b=_0x1b8866,_0x4bf61f=_0x130482[_0x13525b(0x17b)][_0x13525b(0x11a)][_0x13525b(0x155)][_0x13525b(0x130)]();_0x5c572b[_0x13525b(0x193)](_0x13525b(0x128),_0x4bf61f),_0x5c572b[_0x13525b(0x193)](_0x13525b(0xf9),_0x4bf61f),_0x5c572b[_0x13525b(0x116)](_0x1f493a?_0x13525b(0x128):_0x13525b(0xf9),_0x4bf61f);});}[_0x3c2c4b(0x187)](_0x132606){const _0x807cf7=_0x3c2c4b;return _0x132606[_0x807cf7(0x11f)](_0xee6bd5=>{const _0x472234=_0x807cf7,_0x1d1a45=_0x472234(0x104)+_0xee6bd5['id'][_0x472234(0xda)]()[_0x472234(0x176)]('-','_'),_0x2053c3={..._0xee6bd5,'title':this[_0x472234(0xf6)](_0x1d1a45+_0x472234(0x154),_0xee6bd5[_0x472234(0xfc)]),'description':this[_0x472234(0xf6)](_0x1d1a45+_0x472234(0x13f),_0xee6bd5[_0x472234(0x190)])};return _0xee6bd5[_0x472234(0x100)]&&(_0x2053c3[_0x472234(0x100)]=_0xee6bd5[_0x472234(0x100)][_0x472234(0x11f)](_0x70f564=>({..._0x70f564,'label':this[_0x472234(0xf6)](_0x1d1a45+_0x472234(0x160),_0x70f564[_0x472234(0x12b)]||''),'data':_0x70f564[_0x472234(0x10d)]?_0x70f564[_0x472234(0x10d)][_0x472234(0x11f)](_0x1520c8=>({..._0x1520c8,'label':this[_0x472234(0xf6)](_0x1d1a45+_0x472234(0x192)+_0x1520c8['id'][_0x472234(0xda)](),_0x1520c8[_0x472234(0x12b)])})):void 0x0}))),_0x2053c3;});}[_0x3c2c4b(0xf6)](_0x239f83,_0x157886){const _0x5b222b=_0x3c2c4b,_0x35a682=this[_0x5b222b(0x110)][_0x5b222b(0xe7)],_0x1a0815=_0x47446f(_0x35a682,_0x239f83);return _0x1a0815===_0x239f83?_0x157886:_0x1a0815;}[_0x3c2c4b(0x14c)](_0x3813da){const _0x289daa=_0x3c2c4b;_0x2e7983(_0x3813da[_0x289daa(0x15d)]),_0x3813da[_0x289daa(0x15d)][_0x289daa(0x152)](_0x289daa(0x18b))?this[_0x289daa(0x167)][_0x289daa(0x11d)]():this[_0x289daa(0x167)][_0x289daa(0x14b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e9b46=_0x5857;function _0x15dc(){const _0x4697ed=['childCount','switchToReadOnly','[data-id=\x22','data','_parseMarkerName','addMarker','clone','1024592wNBZWE','pop','marker','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','includes','_findAdjacentContextDistance','getChanges','getHtml','requires','isOfficialPlugin','batch','baseVersion','pluginName','mouseover','_changePositionOwnerDocument','outerHTML','addOperation','keys','insert','plugins','click','_haveOnlyInlineContent','split','_insertMarkers','isAtEnd','createRawElement','reviewmode-','_getOperationStart','attributeToAttribute','$markedRemove','sort','enableReadOnlyMode','_changeOperationOwnerDocument','document','getDiff','startsWith','target','createUIElement','innerHTML','markers','clear','hasContentAfter','isTouching','530755OKHmuc','position','viewToDom','ck-ai_review-mode-marker_hide','isInline','changeMarkerClick','createRange','getRoot','data-marker-id','map','filter','ck-ai_review-mode-marker_','backward','markChangePositionInEditorContent','12EtzmJX','view','containerElement','getStart','concat','version','model:$text','forEach','removeMarker','No\x20element\x20found\x20for\x20ID:\x20','_getChangeContext','clearAllMarkers','markerToHighlight','isOpening','$textProxy','isAtStart','isIntersecting','offsetSize','AIReviewModeEditing','className','_domEmitter','conversion','rootName','getEditor','_markers','_nextDataId','closest','_haveSingleTopLevelElement','operationsIsolated','for','change','ai-review-mode','getRange','newRange','323472MnJdzG','add','$documentFragment','936006gVzjYF','_changePosition','getPath','flat','suggestion-context','documentFragment','emitter','nodes','toDomElement','processor','end','getChangedMarkers','_getMarkersDataForGroup','_findMarkerElement','getShiftedBy','applyOperation','querySelector','domConverter','ck-ai_review-mode-marker_context-end','model','operationsA','groupId','rejectChange','oldRange','affectsData','applyChange','suggestion:deletion:id:authorId:','createDocumentFragment','ck-ai_review-mode-marker_context-','getOperations','path','length','changeMarkerBlurred','exec','afterInit','getAttribute','_appendChild','hasClass','schema','suggestion:insertion:id:authorId:','getChild','changeMarkerRestored','append','_sortMarkers','relatedTarget','push','editingDowncast','[data-marker-id=\x22','jumpTo','remove','54bQfRon','isPremiumPlugin','get','ellipsisBefore','elements','name','parse','_eventEmitter','_createGetContentFn','AIEditing','createText','root','DocumentCompare','createSelection','_changeRangeOwnerDocument','set','index','parentElement','offset','ck-ai_review-mode-marker_strikethrough','_hasSameTopLevelElement','getDocumentData','_changeRange','_createGetContentUsingDataIdFn','_handleMarkerChanges','_removeChildren','getChildren','ck-ai_review-mode-marker_add','_getOperationEnd','getMarkerElementForChange','_translateOperationToEditorContent','insertContent','downcast','context','_upsertDataId','type','delete','_removeAttribute','dataDowncast','toData','fire','registerPostFixer','text','getDomRoot','isDocumentOperation','diffContent','editing','values','remove-only','createPositionAt','every','switchToEdit','7BIFRPC','_groupAdjacentOperations','toView','getRoots','listenTo','start','remove-context','ck-ai_review-mode-marker_context-start','containsRange','11053528dgWHPO','differ','warn','htmlProcessor','changeMarkerRemoved','markerName','hasContentBefore','remove-text','element','1316490pZguCC','has','from','changeMarkerHovered','ck-ai_review-mode-marker_underline','markerToElement','deleteContent','ellipsisAfter','_clone','howMany','649616rFWjny','$graveyard','createPositionAfter','forward','_createGetContextFn','span','hasAttribute','stringify','disableReadOnlyMode','_setAttribute','parent','history','size','_validateMarkers','htmlWriter','_shiftOperation'];_0x15dc=function(){return _0x4697ed;};return _0x15dc();}(function(_0x24df59,_0x3c84e8){const _0x5a7ff5=_0x5857,_0x3ed056=_0x24df59();while(!![]){try{const _0x19e7bc=-parseInt(_0x5a7ff5(0x270))/0x1+parseInt(_0x5a7ff5(0x1eb))/0x2+parseInt(_0x5a7ff5(0x2c0))/0x3*(-parseInt(_0x5a7ff5(0x287))/0x4)+-parseInt(_0x5a7ff5(0x2b2))/0x5+parseInt(_0x5a7ff5(0x1ee))/0x6+-parseInt(_0x5a7ff5(0x254))/0x7*(-parseInt(_0x5a7ff5(0x25d))/0x8)+-parseInt(_0x5a7ff5(0x220))/0x9*(-parseInt(_0x5a7ff5(0x266))/0xa);if(_0x19e7bc===_0x3c84e8)break;else _0x3ed056['push'](_0x3ed056['shift']());}catch(_0x536165){_0x3ed056['push'](_0x3ed056['shift']());}}}(_0x15dc,0xad163));import{InsertOperation as _0x88fd90,MarkerOperation as _0x515cb9,ModelDocumentFragment as _0x245d32,ModelPosition as _0x15113d,ModelRange as _0x400b42,ModelTreeWalker as _0x2b634f,transformOperationSets as _0x3d30db}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x13555a,EmitterMixin as _0x13ef62}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x1e83c7}from'ckeditor5/src/core.js';import{DocumentCompare as _0x561be5,DATA_ID_MODEL_ATTRIBUTE as _0x259e80,DATA_ID_VIEW_ATTRIBUTE as _0x129811}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x564464}from'../aicore/utils/geteditorfromcontext.js';function _0x5857(_0x2da5d6,_0x1a7415){const _0x15dc2a=_0x15dc();return _0x5857=function(_0x5857a6,_0x1fae74){_0x5857a6=_0x5857a6-0x1e9;let _0x29e4bc=_0x15dc2a[_0x5857a6];return _0x29e4bc;},_0x5857(_0x2da5d6,_0x1a7415);}import{AIEditing as _0x4088de}from'../aicore/aiediting.js';import{debounce as _0x40b3c0}from'es-toolkit/compat';const we=_0x1e9b46(0x2a1);export class AIReviewModeEditing extends _0x1e83c7{static get[_0x1e9b46(0x293)](){const _0xd6c243=_0x1e9b46;return _0xd6c243(0x2d2);}static get[_0x1e9b46(0x28f)](){return[_0x561be5,_0x4088de];}static get[_0x1e9b46(0x290)](){return!0x0;}static get[_0x1e9b46(0x221)](){return!0x0;}[_0x1e9b46(0x2d8)]=new Map();[_0x1e9b46(0x2d4)];[_0x1e9b46(0x227)];constructor(_0x350e09){const _0x24f46a=_0x1e9b46;super(_0x350e09),this[_0x24f46a(0x2d4)]=new(_0x13555a())(),this[_0x24f46a(0x227)]=new(_0x13ef62())();}get[_0x1e9b46(0x1f4)](){const _0x5c8cbd=_0x1e9b46;return this[_0x5c8cbd(0x227)];}[_0x1e9b46(0x210)](){const _0x2b8361=_0x1e9b46,_0x25cc8a=_0x564464(this[_0x2b8361(0x241)]);_0x25cc8a[_0x2b8361(0x2d5)][_0x2b8361(0x2dd)](_0x2b8361(0x21c))[_0x2b8361(0x26b)]({'model':we+_0x2b8361(0x299),'view':(_0x15c8b6,{writer:_0x507dd8})=>{const _0x10a410=_0x2b8361,_0x4c85da=this[_0x10a410(0x2d8)][_0x10a410(0x222)](_0x15c8b6[_0x10a410(0x262)]),_0x12c062={'class':_0x10a410(0x23b),'data-marker-id':_0x15c8b6[_0x10a410(0x262)]};return _0x507dd8[_0x10a410(0x2ac)](_0x10a410(0x275),_0x12c062,function(_0x3da217){const _0x1c6c0e=_0x10a410,_0x4125a9=this[_0x1c6c0e(0x1f6)](_0x3da217);return _0x4125a9[_0x1c6c0e(0x2ad)]=_0x4c85da?.[_0x1c6c0e(0x24a)]||'',_0x4125a9;});}}),_0x25cc8a[_0x2b8361(0x2d5)][_0x2b8361(0x2dd)](_0x2b8361(0x21c))[_0x2b8361(0x2cc)]({'model':we+_0x2b8361(0x250),'view':_0x57ae4b=>({'classes':_0x2b8361(0x233),'attributes':{'data-marker-id':_0x57ae4b[_0x2b8361(0x262)]}})}),_0x25cc8a[_0x2b8361(0x2d5)][_0x2b8361(0x2dd)](_0x2b8361(0x21c))[_0x2b8361(0x2cc)]({'model':we+_0x2b8361(0x25a),'view':_0x3a6d1c=>({'classes':_0x2b8361(0x26a),'attributes':{'data-marker-id':_0x3a6d1c[_0x2b8361(0x262)]}})}),_0x25cc8a[_0x2b8361(0x2d5)][_0x2b8361(0x2dd)](_0x2b8361(0x21c))[_0x2b8361(0x2cc)]({'model':we+_0x2b8361(0x264),'view':_0x271f38=>({'classes':_0x2b8361(0x2b5),'attributes':{'data-marker-id':_0x271f38[_0x2b8361(0x262)]}})}),_0x25cc8a[_0x2b8361(0x2d5)][_0x2b8361(0x2dd)](_0x2b8361(0x246))[_0x2b8361(0x26b)]({'model':we+_0x2b8361(0x1f2),'view':(_0x32e690,{writer:_0x1e6428})=>_0x1e6428[_0x2b8361(0x2a0)](_0x2b8361(0x275),{'class':_0x2b8361(0x20a)+(_0x32e690[_0x2b8361(0x2cd)]?_0x2b8361(0x259):_0x2b8361(0x1f8))})}),_0x25cc8a[_0x2b8361(0x2d5)][_0x2b8361(0x2dd)](_0x2b8361(0x240))[_0x2b8361(0x2a3)]({'model':_0x259e80,'view':_0x129811}),this[_0x2b8361(0x2d4)][_0x2b8361(0x258)](document,_0x2b8361(0x29b),(_0x42ae3a,_0x35c14d)=>{const _0x4e85ab=_0x2b8361,_0x29ce4b=_0x35c14d[_0x4e85ab(0x2ab)],_0x1e5970=this[_0x4e85ab(0x1fb)](_0x29ce4b);if(!_0x1e5970)return;const _0x1ddc15=_0x1e5970[_0x4e85ab(0x211)](_0x4e85ab(0x2ba)),_0x5642c2=_0x1ddc15[_0x4e85ab(0x29d)](':')[_0x4e85ab(0x288)]()?.[_0x4e85ab(0x29d)]('_')[0x0];this[_0x4e85ab(0x227)][_0x4e85ab(0x248)](_0x4e85ab(0x2b7),{'markerId':_0x1ddc15,'changeId':_0x5642c2,'markerElement':_0x1e5970,'domEvent':_0x35c14d});}),this[_0x2b8361(0x2d4)][_0x2b8361(0x258)](document,_0x2b8361(0x294),(_0x4cdbbc,_0x4315d9)=>{const _0x48200a=_0x2b8361,_0x59c934=_0x4315d9[_0x48200a(0x2ab)],_0x1d5098=_0x4315d9[_0x48200a(0x21a)];let _0x51d148=this[_0x48200a(0x1fb)](_0x59c934);if(!_0x51d148&&_0x1d5098&&(_0x51d148=this[_0x48200a(0x1fb)](_0x1d5098)),!_0x51d148)return;const _0x48924e=_0x51d148[_0x48200a(0x211)](_0x48200a(0x2ba)),_0x3e5f5b=_0x48924e[_0x48200a(0x29d)](':')[_0x48200a(0x288)]()?.[_0x48200a(0x29d)]('_')[0x0];this[_0x48200a(0x227)][_0x48200a(0x248)](_0x48200a(0x269),{'changeId':_0x3e5f5b,'markerElement':_0x51d148,'domEvent':_0x4315d9});}),this[_0x2b8361(0x2d4)][_0x2b8361(0x258)](document,_0x2b8361(0x294),_0x40b3c0((_0x3876e1,_0x423ca2)=>{const _0xeec79c=_0x2b8361,_0x2f4250=_0x423ca2[_0xeec79c(0x2ab)];if(this[_0xeec79c(0x1fb)](_0x2f4250))return;_0x2f4250[_0xeec79c(0x2da)](_0xeec79c(0x28a))||this[_0xeec79c(0x227)][_0xeec79c(0x248)](_0xeec79c(0x20e));},0xc8)),_0x25cc8a[_0x2b8361(0x201)][_0x2b8361(0x2a8)][_0x2b8361(0x249)](_0x397d47=>this[_0x2b8361(0x27d)](_0x25cc8a,_0x397d47)),_0x25cc8a[_0x2b8361(0x201)][_0x2b8361(0x2a8)]['on'](_0x2b8361(0x2de),()=>this[_0x2b8361(0x238)](_0x25cc8a));}[_0x1e9b46(0x235)](){const _0x31cd4b=_0x1e9b46,_0xd247de=this[_0x31cd4b(0x241)][_0x31cd4b(0x29a)][_0x31cd4b(0x222)](_0x31cd4b(0x229)),_0xb8b96=_0x564464(this[_0x31cd4b(0x241)]),_0x4b00e1=_0xb8b96[_0x31cd4b(0x201)],_0x217019=new _0x245d32();for(const _0x239a3d of _0x4b00e1[_0x31cd4b(0x2a8)][_0x31cd4b(0x2b9)]()[_0x31cd4b(0x23a)]()){const _0x202fa2=_0x239a3d[_0x31cd4b(0x26e)](!0x0);_0x217019[_0x31cd4b(0x212)](_0x202fa2);}for(const _0x4e01d3 of _0x4b00e1[_0x31cd4b(0x2ae)])_0x217019[_0x31cd4b(0x2ae)][_0x31cd4b(0x22f)](_0x4e01d3[_0x31cd4b(0x225)],this[_0x31cd4b(0x22e)](_0x4e01d3[_0x31cd4b(0x1e9)]()[_0x31cd4b(0x286)](),_0x217019));const _0x3905bf=new _0x2b634f({'ignoreElementEnd':!0x0,'startPosition':_0x4b00e1[_0x31cd4b(0x251)](_0x217019,0x0)}),_0x104273=new Set(),_0x2ce854=new Map();for(const {item:_0x323a6b}of _0x3905bf){if(!_0x323a6b['is'](_0x31cd4b(0x2ce)))continue;const _0x207950=_0x323a6b[_0x31cd4b(0x27a)];if(_0x207950&&_0x207950['is'](_0x31cd4b(0x265))){const _0x406640=this[_0x31cd4b(0x242)](_0x207950,()=>_0xd247de[_0x31cd4b(0x2d9)](_0x104273));_0x104273[_0x31cd4b(0x1ec)](_0x406640);for(const _0x2bc815 of _0x207950[_0x31cd4b(0x23a)]())_0x2bc815['is'](_0x31cd4b(0x265))&&_0x104273[_0x31cd4b(0x1ec)](this[_0x31cd4b(0x242)](_0x2bc815,()=>_0xd247de[_0x31cd4b(0x2d9)](_0x104273)));let _0x2c97c0=_0x207950;for(;_0x2c97c0[_0x31cd4b(0x27a)]&&!_0x2c97c0[_0x31cd4b(0x27a)]['is'](_0x31cd4b(0x1f3));)_0x2c97c0=_0x2c97c0[_0x31cd4b(0x27a)],_0x2c97c0[_0x31cd4b(0x276)](_0x259e80)&&_0x2c97c0[_0x31cd4b(0x245)](_0x259e80);_0x2ce854[_0x31cd4b(0x22f)](_0x406640,{'path':_0x207950[_0x31cd4b(0x1f0)](),'getContent':this[_0x31cd4b(0x237)](_0x2c97c0[_0x31cd4b(0x26e)](!0x0),_0x406640,_0xb8b96[_0x31cd4b(0x283)])}),_0x3905bf[_0x31cd4b(0x21e)](_0x4b00e1[_0x31cd4b(0x272)](_0x207950));}}return{'content':_0xb8b96[_0x31cd4b(0x283)][_0x31cd4b(0x1f7)][_0x31cd4b(0x247)](_0xb8b96[_0x31cd4b(0x283)][_0x31cd4b(0x256)](_0x217019)),'version':_0xb8b96[_0x31cd4b(0x201)][_0x31cd4b(0x2a8)][_0x31cd4b(0x2c5)],'elements':_0x2ce854};}[_0x1e9b46(0x24d)](_0x25e81f,_0x25df26){const _0x159491=_0x1e9b46,_0x238f7d=[],_0x5f4f94=_0x564464(this[_0x159491(0x241)]),_0x5bbba9=_0x5f4f94[_0x159491(0x283)][_0x159491(0x226)](_0x25df26,_0x159491(0x1ed)),_0x5a310d=_0x5f4f94[_0x159491(0x283)][_0x159491(0x226)](_0x25e81f,_0x159491(0x1ed)),_0x1b2a46=_0x5f4f94[_0x159491(0x201)][_0x159491(0x251)](_0x5a310d,0x0);if(this[_0x159491(0x2db)](_0x5bbba9)){if(!this[_0x159491(0x234)](_0x5a310d,_0x5bbba9))return _0x238f7d;}else{const _0x2611e8=_0x5f4f94[_0x159491(0x201)][_0x159491(0x214)];if(!this[_0x159491(0x29c)](_0x5a310d,_0x2611e8)||!this[_0x159491(0x29c)](_0x5bbba9,_0x2611e8))return _0x238f7d;}const _0x225cf4=this[_0x159491(0x241)][_0x159491(0x29a)][_0x159491(0x222)](_0x159491(0x22c))[_0x159491(0x2a9)](_0x25e81f,_0x25df26,{'anchor':_0x1b2a46,'markDeletions':!0x0})[_0x159491(0x20b)]()[_0x159491(0x2bc)](_0x5c93df=>_0x159491(0x299)===_0x5c93df[_0x159491(0x243)]||_0x159491(0x289)===_0x5c93df[_0x159491(0x243)]&&_0x5c93df[_0x159491(0x225)][_0x159491(0x2aa)](_0x159491(0x2a4))),_0x3c67f3=this[_0x159491(0x255)](_0x225cf4);let _0x386c76=0x0;return _0x5f4f94[_0x159491(0x201)][_0x159491(0x2de)](_0x237628=>{const _0x1e8a55=_0x159491;for(let _0x34f601=0x0;_0x34f601<_0x3c67f3[_0x1e8a55(0x20d)];_0x34f601++){const _0x3da371=_0x3c67f3[_0x34f601],_0x2ef310=_0x237628[_0x1e8a55(0x209)]();for(const _0x2d4371 of _0x5a310d[_0x1e8a55(0x23a)]())_0x237628[_0x1e8a55(0x218)](_0x2d4371[_0x1e8a55(0x26e)](!0x0),_0x2ef310);for(const _0x1c41c4 of _0x3da371[_0x1e8a55(0x2dc)])if(_0x1e8a55(0x299)===_0x1c41c4[_0x1e8a55(0x243)]){const _0x36e656=_0x1c41c4;_0x36e656[_0x1e8a55(0x292)]=null,_0x36e656[_0x1e8a55(0x24c)]=!0x1,this[_0x1e8a55(0x2a7)](_0x36e656,_0x2ef310),_0x237628[_0x1e8a55(0x291)][_0x1e8a55(0x297)](_0x1c41c4),_0x5f4f94[_0x1e8a55(0x201)][_0x1e8a55(0x1fd)](_0x1c41c4);const _0x270e21=_0x1e8a55(0x215)+_0x386c76++,_0x3469cd=_0x5f4f94[_0x1e8a55(0x201)][_0x1e8a55(0x2b8)](_0x36e656[_0x1e8a55(0x2b3)],_0x36e656[_0x1e8a55(0x2b3)][_0x1e8a55(0x1fc)](_0x36e656[_0x1e8a55(0x26f)]));_0x2ef310[_0x1e8a55(0x2ae)][_0x1e8a55(0x22f)](_0x270e21,_0x3469cd);}else{if(_0x1e8a55(0x289)===_0x1c41c4[_0x1e8a55(0x243)]&&_0x1c41c4[_0x1e8a55(0x225)][_0x1e8a55(0x2aa)](_0x1e8a55(0x2a4))){const _0x2800f1=_0x1c41c4,_0x259189=_0x1e8a55(0x208)+_0x386c76++;this[_0x1e8a55(0x2a7)](_0x2800f1,_0x2ef310),_0x2ef310[_0x1e8a55(0x2ae)][_0x1e8a55(0x22f)](_0x259189,_0x2800f1[_0x1e8a55(0x1ea)]);}}const _0x2c6461=this[_0x1e8a55(0x2ca)](this[_0x1e8a55(0x295)](this[_0x1e8a55(0x2a2)](_0x3da371[_0x1e8a55(0x2dc)][0x0]),_0x2ef310),this[_0x1e8a55(0x295)](this[_0x1e8a55(0x23c)](_0x3da371[_0x1e8a55(0x2dc)][_0x3da371[_0x1e8a55(0x2dc)][_0x1e8a55(0x20d)]-0x1]),_0x2ef310));_0x2ef310[_0x1e8a55(0x2ae)][_0x1e8a55(0x22f)](we+_0x1e8a55(0x1f2),new _0x400b42(_0x2c6461[_0x1e8a55(0x259)],_0x2c6461[_0x1e8a55(0x1f8)])),_0x238f7d[_0x1e8a55(0x21b)]({..._0x3da371,'context':this[_0x1e8a55(0x274)](_0x2ef310,_0x5f4f94[_0x1e8a55(0x283)],{'ellipsisBefore':_0x2c6461[_0x1e8a55(0x263)],'ellipsisAfter':_0x2c6461[_0x1e8a55(0x2b0)]}),'content':this[_0x1e8a55(0x228)](_0x2ef310,_0x5f4f94[_0x1e8a55(0x283)])});}}),_0x238f7d;}[_0x1e9b46(0x2bf)](_0x5bf817,_0x4592bb){const _0x35513b=_0x1e9b46;if(!_0x5bf817[_0x35513b(0x20d)])return;const _0x4686b8=_0x5bf817[0x0][_0x35513b(0x27a)]['id'],_0x177747=_0x4592bb[_0x35513b(0x224)][_0x35513b(0x222)](_0x4686b8);if(!_0x177747)return void console[_0x35513b(0x25f)](_0x35513b(0x2c9)+_0x4686b8);const _0x16c4cb=_0x177747[_0x35513b(0x20c)],_0x479c0b=_0x564464(this[_0x35513b(0x241)]),_0x5387d4=_0x479c0b[_0x35513b(0x201)][_0x35513b(0x2a8)][_0x35513b(0x27b)][_0x35513b(0x20b)](_0x4592bb[_0x35513b(0x2c5)]),_0x47414a=[];for(const _0x11f819 of _0x5bf817){const _0x4ddc80=_0x11f819[_0x35513b(0x2dc)][_0x35513b(0x2bb)](_0x4b49d6=>this[_0x35513b(0x23e)](_0x4b49d6,_0x16c4cb,_0x479c0b[_0x35513b(0x201)][_0x35513b(0x2a8)][_0x35513b(0x257)]()[0x0]));if(!_0x4ddc80||!_0x4ddc80[_0x35513b(0x20d)])continue;const _0x472a63=_0x4ddc80[_0x35513b(0x252)](_0x347a32=>_0x35513b(0x289)===_0x347a32[_0x35513b(0x243)]&&_0x347a32[_0x35513b(0x225)][_0x35513b(0x2aa)](_0x35513b(0x2a4))),_0x403945={'document':_0x479c0b[_0x35513b(0x201)][_0x35513b(0x2a8)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3432a9=_0x3d30db(_0x4ddc80,_0x5387d4,_0x403945)[_0x35513b(0x202)];for(const _0x1a1d3e of _0x3432a9)if(_0x35513b(0x299)===_0x1a1d3e[_0x35513b(0x243)]){const _0x649fdf=_0x1a1d3e,_0x5585c6=_0x649fdf[_0x35513b(0x1f5)];let _0x367257='';for(const _0x4d7c74 of _0x5585c6)_0x4d7c74&&_0x4d7c74['is'](_0x35513b(0x2c6))&&(_0x367257+=_0x4d7c74[_0x35513b(0x283)]);_0x47414a[_0x35513b(0x21b)]({'start':_0x649fdf[_0x35513b(0x2b3)],'end':_0x649fdf[_0x35513b(0x2b3)],'type':_0x35513b(0x299),'groupId':_0x11f819['id'],'text':_0x367257});}else{if(_0x35513b(0x289)===_0x1a1d3e[_0x35513b(0x243)]&&_0x1a1d3e[_0x35513b(0x225)][_0x35513b(0x2aa)](_0x35513b(0x2a4))){const _0x14f171=_0x1a1d3e;let _0x3b9b7e=_0x35513b(0x264);if(_0x472a63){const _0x41b97a=this[_0x35513b(0x28c)](_0x14f171[_0x35513b(0x1ea)][_0x35513b(0x259)],_0x35513b(0x2be),_0x479c0b[_0x35513b(0x201)][_0x35513b(0x214)]),_0x34ee8b=this[_0x35513b(0x28c)](_0x14f171[_0x35513b(0x1ea)][_0x35513b(0x1f8)],_0x35513b(0x273),_0x479c0b[_0x35513b(0x201)][_0x35513b(0x214)]);if(_0x41b97a||_0x34ee8b){const _0x5d5cc4=_0x14f171[_0x35513b(0x1ea)][_0x35513b(0x259)][_0x35513b(0x1fc)](-_0x41b97a),_0x2ea8fd=_0x14f171[_0x35513b(0x1ea)][_0x35513b(0x1f8)][_0x35513b(0x1fc)](_0x34ee8b);_0x47414a[_0x35513b(0x21b)]({'start':_0x5d5cc4,'end':_0x2ea8fd,'groupId':_0x11f819['id'],'type':_0x35513b(0x25a)});}else _0x3b9b7e=_0x35513b(0x250);}_0x47414a[_0x35513b(0x21b)]({'start':_0x14f171[_0x35513b(0x1ea)][_0x35513b(0x259)],'end':_0x14f171[_0x35513b(0x1ea)][_0x35513b(0x1f8)],'groupId':_0x11f819['id'],'type':_0x3b9b7e});}}}this[_0x35513b(0x29e)](_0x47414a);}[_0x1e9b46(0x2cb)](){const _0x179bbb=_0x1e9b46,_0x18db7a=_0x564464(this[_0x179bbb(0x241)]);_0x18db7a[_0x179bbb(0x201)][_0x179bbb(0x2de)](_0x2260b9=>{const _0x16d07e=_0x179bbb;for(const _0x15ec34 of this[_0x16d07e(0x2d8)][_0x16d07e(0x298)]())_0x18db7a[_0x16d07e(0x201)][_0x16d07e(0x2ae)][_0x16d07e(0x222)](_0x15ec34)&&_0x2260b9[_0x16d07e(0x2c8)](_0x15ec34);}),this[_0x179bbb(0x2d8)][_0x179bbb(0x2af)]();}[_0x1e9b46(0x281)](){const _0xf78820=_0x1e9b46;_0x564464(this[_0xf78820(0x241)])[_0xf78820(0x2a6)](_0xf78820(0x2df));}[_0x1e9b46(0x253)](){const _0x349631=_0x1e9b46;_0x564464(this[_0x349631(0x241)])[_0x349631(0x278)](_0x349631(0x2df));}[_0x1e9b46(0x207)](_0x2cfed9){const _0x12e0c5=_0x1e9b46,_0x100619=_0x564464(this[_0x12e0c5(0x241)]),_0x1056f6=_0x100619[_0x12e0c5(0x201)],_0x1b21e8=_0x2cfed9[_0x12e0c5(0x2bb)](_0x4ffa94=>this[_0x12e0c5(0x1fa)](_0x4ffa94))[_0x12e0c5(0x1f1)]();_0x1056f6[_0x12e0c5(0x2de)](_0x5864c5=>{const _0x34fe8d=_0x12e0c5;for(const _0x3bf0e4 of _0x1b21e8){const _0x36655d=_0x100619[_0x34fe8d(0x201)][_0x34fe8d(0x2ae)][_0x34fe8d(0x222)](_0x3bf0e4['id']);_0x36655d&&(_0x34fe8d(0x299)===_0x3bf0e4[_0x34fe8d(0x243)]?_0x1056f6[_0x34fe8d(0x23f)](_0x5864c5[_0x34fe8d(0x22a)](_0x3bf0e4[_0x34fe8d(0x24a)]||''),_0x36655d[_0x34fe8d(0x1e9)]()[_0x34fe8d(0x259)]):_0x34fe8d(0x264)!==_0x3bf0e4[_0x34fe8d(0x243)]&&_0x34fe8d(0x250)!==_0x3bf0e4[_0x34fe8d(0x243)]||_0x1056f6[_0x34fe8d(0x26c)](_0x1056f6[_0x34fe8d(0x22d)](_0x36655d[_0x34fe8d(0x1e9)]())),_0x5864c5[_0x34fe8d(0x2c8)](_0x3bf0e4['id']),this[_0x34fe8d(0x2d8)][_0x34fe8d(0x244)](_0x3bf0e4['id']));}});}[_0x1e9b46(0x204)](_0x5be9d2){const _0x49e779=_0x1e9b46,_0x45a60f=_0x564464(this[_0x49e779(0x241)]),_0x128180=this[_0x49e779(0x1fa)](_0x5be9d2);_0x45a60f[_0x49e779(0x201)][_0x49e779(0x2de)](_0x33ab7e=>{const _0x2b91a2=_0x49e779;for(const _0x1789e2 of _0x128180)_0x33ab7e[_0x2b91a2(0x2c8)](_0x1789e2['id']),this[_0x2b91a2(0x2d8)][_0x2b91a2(0x244)](_0x1789e2['id']);});}[_0x1e9b46(0x2d7)](){const _0x2a9743=_0x1e9b46;return _0x564464(this[_0x2a9743(0x241)]);}[_0x1e9b46(0x23d)](_0x30a86e){const _0x30f6a1=_0x1e9b46,_0x51ce2a=Array[_0x30f6a1(0x268)](this[_0x30f6a1(0x2d8)][_0x30f6a1(0x24f)]())[_0x30f6a1(0x2bc)](_0x44226e=>_0x44226e[_0x30f6a1(0x203)]===_0x30a86e);if(!_0x51ce2a[_0x30f6a1(0x20d)])return null;const _0x464225=0x1===_0x51ce2a[_0x30f6a1(0x20d)]?_0x51ce2a[0x0]:this[_0x30f6a1(0x219)](_0x51ce2a)[0x0],_0x59338c=_0x564464(this[_0x30f6a1(0x241)]),_0x4c36ed=_0x59338c[_0x30f6a1(0x201)][_0x30f6a1(0x2ae)][_0x30f6a1(0x222)](_0x464225['id']);if(!_0x4c36ed)return null;const _0x108f4e=_0x4c36ed[_0x30f6a1(0x1e9)](),_0x182520=_0x59338c[_0x30f6a1(0x24e)][_0x30f6a1(0x2c1)][_0x30f6a1(0x24b)]();if(!_0x182520||!_0x108f4e)return null;const _0x3a0408=_0x182520[_0x30f6a1(0x1fe)](_0x30f6a1(0x21d)+_0x464225['id']+'\x22]');return _0x3a0408?{'modelRange':_0x108f4e,'domElement':_0x3a0408}:null;}[_0x1e9b46(0x27d)](_0x220908,_0x445fb9){const _0x516fd5=_0x1e9b46,_0x27ba8c=Array[_0x516fd5(0x268)](this[_0x516fd5(0x2d8)][_0x516fd5(0x298)]()),_0x51b648=new Map();for(const _0x398dd9 of _0x27ba8c){const _0x3d9c5c=_0x220908[_0x516fd5(0x201)][_0x516fd5(0x2ae)][_0x516fd5(0x222)](_0x398dd9);if(!_0x3d9c5c)continue;const _0x478d69=_0x3d9c5c[_0x516fd5(0x2c3)]()[_0x516fd5(0x20c)][0x0];_0x51b648[_0x516fd5(0x267)](_0x478d69)||_0x51b648[_0x516fd5(0x22f)](_0x478d69,[]),_0x51b648[_0x516fd5(0x222)](_0x478d69)[_0x516fd5(0x21b)](_0x3d9c5c);}const _0x777e05=new Set();for(const _0x30a7b0 of _0x220908[_0x516fd5(0x201)][_0x516fd5(0x2a8)][_0x516fd5(0x25e)][_0x516fd5(0x28d)]()){let _0x333a0f=-0x1,_0x10d50d=null;if(_0x516fd5(0x299)===_0x30a7b0[_0x516fd5(0x243)])_0x10d50d=new _0x400b42(_0x30a7b0[_0x516fd5(0x2b3)],_0x30a7b0[_0x516fd5(0x2b3)][_0x516fd5(0x1fc)](_0x30a7b0[_0x516fd5(0x20d)])),_0x333a0f=_0x30a7b0[_0x516fd5(0x2b3)][_0x516fd5(0x20c)][0x0];else{if(_0x516fd5(0x21f)!==_0x30a7b0[_0x516fd5(0x243)])continue;_0x10d50d=new _0x400b42(_0x30a7b0[_0x516fd5(0x2b3)]),_0x333a0f=_0x30a7b0[_0x516fd5(0x2b3)][_0x516fd5(0x20c)][0x0];}const _0x2e7605=_0x51b648[_0x516fd5(0x222)](_0x333a0f)||[];if(_0x2e7605[_0x516fd5(0x20d)]){for(const _0x54dcc1 of _0x2e7605)if(_0x10d50d[_0x516fd5(0x22b)][_0x516fd5(0x2d6)]===_0x54dcc1[_0x516fd5(0x1e9)]()[_0x516fd5(0x22b)][_0x516fd5(0x2d6)]&&(_0x516fd5(0x299)!==_0x30a7b0[_0x516fd5(0x243)]||!_0x10d50d[_0x516fd5(0x25c)](_0x54dcc1[_0x516fd5(0x1e9)]()))&&(_0x10d50d[_0x516fd5(0x2d0)](_0x54dcc1[_0x516fd5(0x1e9)]())||_0x10d50d[_0x516fd5(0x259)][_0x516fd5(0x2b1)](_0x54dcc1[_0x516fd5(0x1e9)]()[_0x516fd5(0x1f8)])||_0x10d50d[_0x516fd5(0x1f8)][_0x516fd5(0x2b1)](_0x54dcc1[_0x516fd5(0x1e9)]()[_0x516fd5(0x259)]))){const _0x3ea35c=this[_0x516fd5(0x284)](_0x54dcc1[_0x516fd5(0x225)]);Array[_0x516fd5(0x268)](this[_0x516fd5(0x2d8)][_0x516fd5(0x24f)]())[_0x516fd5(0x2bc)](_0x2ef452=>_0x2ef452[_0x516fd5(0x203)]===_0x3ea35c[_0x516fd5(0x203)])[_0x516fd5(0x2c7)](_0x27daba=>_0x777e05[_0x516fd5(0x1ec)](_0x27daba['id']));}}}if(_0x777e05[_0x516fd5(0x27c)]){for(const _0x2db220 of _0x777e05)_0x445fb9[_0x516fd5(0x2c8)](_0x2db220);return!0x0;}return!0x1;}[_0x1e9b46(0x238)](_0x5786bc){const _0xaba999=_0x1e9b46;for(const {name:_0x592f2d,data:_0x7d3de4}of _0x5786bc[_0xaba999(0x201)][_0xaba999(0x2a8)][_0xaba999(0x25e)][_0xaba999(0x1f9)]()){if(!_0x592f2d[_0xaba999(0x2aa)](we))continue;const _0x1b3dc2=_0x7d3de4[_0xaba999(0x205)],_0x513d8b=_0x7d3de4[_0xaba999(0x1ea)],_0x1cbf90=_0x1b3dc2&&_0xaba999(0x271)===_0x1b3dc2[_0xaba999(0x22b)][_0xaba999(0x2d6)],_0x9f0e06=_0x513d8b&&_0xaba999(0x271)===_0x513d8b[_0xaba999(0x22b)][_0xaba999(0x2d6)];if(_0x1cbf90&&_0x9f0e06)continue;const _0x1b4155=this[_0xaba999(0x284)](_0x592f2d);this[_0xaba999(0x2d8)][_0xaba999(0x222)](_0x592f2d)&&(_0x9f0e06||!_0x513d8b?this[_0xaba999(0x227)][_0xaba999(0x248)](_0xaba999(0x261),{'markerId':_0x592f2d,'changeId':_0x1b4155[_0xaba999(0x203)]}):_0x1cbf90&&_0x513d8b&&this[_0xaba999(0x227)][_0xaba999(0x248)](_0xaba999(0x217),{'markerId':_0x592f2d,'changeId':_0x1b4155[_0xaba999(0x203)]}));}}[_0x1e9b46(0x284)](_0xdd856){const _0x4db046=_0x1e9b46,_0x4bac21=_0xdd856[_0x4db046(0x29d)](':'),_0x5bc572=(_0x4bac21[0x1]||'')[_0x4db046(0x29d)]('_');return{'prefix':_0x4bac21[0x0],'groupId':_0x5bc572[0x0],'suffix':_0x5bc572[0x1]};}[_0x1e9b46(0x23e)](_0x3d10ab,_0x2aae08,_0xbfc8f7){const _0x50d1bd=_0x1e9b46;if(_0x50d1bd(0x299)===_0x3d10ab[_0x50d1bd(0x243)]){const _0x5bb4b6=_0x3d10ab;return new _0x88fd90(this[_0x50d1bd(0x1ef)](_0x2aae08[_0x50d1bd(0x2c4)](_0x5bb4b6[_0x50d1bd(0x2b3)][_0x50d1bd(0x232)]),_0xbfc8f7),_0x5bb4b6[_0x50d1bd(0x1f5)],_0x5bb4b6[_0x50d1bd(0x292)]);}if(_0x50d1bd(0x289)===_0x3d10ab[_0x50d1bd(0x243)]&&_0x3d10ab[_0x50d1bd(0x225)][_0x50d1bd(0x2aa)](_0x50d1bd(0x2a4))){const _0x60e0ef=_0x3d10ab;return new _0x515cb9(_0x60e0ef[_0x50d1bd(0x225)],_0x60e0ef[_0x50d1bd(0x205)],this[_0x50d1bd(0x236)](_0x60e0ef[_0x50d1bd(0x1ea)],_0x2aae08[_0x50d1bd(0x2c4)](_0x60e0ef[_0x50d1bd(0x1ea)][_0x50d1bd(0x259)][_0x50d1bd(0x232)]),_0x2aae08[_0x50d1bd(0x2c4)](_0x60e0ef[_0x50d1bd(0x1ea)][_0x50d1bd(0x1f8)][_0x50d1bd(0x232)]),_0xbfc8f7),_0x60e0ef[_0x50d1bd(0x2d8)],_0x60e0ef[_0x50d1bd(0x206)],_0x60e0ef[_0x50d1bd(0x292)]);}return _0x3d10ab;}[_0x1e9b46(0x255)](_0x431ece){const _0x10b2fd=_0x1e9b46;if(!_0x431ece[_0x10b2fd(0x20d)])return[];const _0x255d7d=[];let _0x5e1075=0x0,_0x4cd3f6=0x0,_0x2c94ca=[];for(let _0x2dbf79=0x0;_0x2dbf79<=_0x431ece[_0x10b2fd(0x20d)];_0x2dbf79++){const _0x5e27ed=_0x431ece[_0x2dbf79],_0x54c5c0=_0x431ece[_0x2dbf79-0x1];!_0x5e27ed||_0x54c5c0&&!this[_0x10b2fd(0x23c)](_0x54c5c0)[_0x10b2fd(0x2b1)](this[_0x10b2fd(0x2a2)](_0x5e27ed))?(_0x255d7d[_0x10b2fd(0x21b)]({'operations':_0x2c94ca,'operationsIsolated':_0x2c94ca[_0x10b2fd(0x2bb)](_0x5a8f49=>this[_0x10b2fd(0x27f)](_0x5a8f49[_0x10b2fd(0x286)](),-_0x4cd3f6)),'groupOffset':_0x5e1075}),_0x2c94ca=_0x5e27ed?[_0x5e27ed]:[],_0x4cd3f6+=_0x5e1075,_0x5e1075=0x0):_0x2c94ca[_0x10b2fd(0x21b)](_0x5e27ed),_0x5e27ed&&_0x10b2fd(0x299)===_0x5e27ed[_0x10b2fd(0x243)]&&(_0x5e1075+=_0x5e27ed[_0x10b2fd(0x26f)]);}return _0x255d7d;}[_0x1e9b46(0x28c)](_0x5d5bf5,_0x1120f4,_0x431981,_0x4f644c=0x1){const _0x16b1b5=_0x1e9b46,_0x117883=new _0x2b634f({'startPosition':_0x5d5bf5,'direction':_0x1120f4});let _0x563f34=0x0;for(let _0x3e0c5b=0x0;_0x3e0c5b<_0x4f644c;_0x3e0c5b++){let _0x179eba=0x0,_0x14b008=!0x1,_0x3e3ab9=_0x16b1b5(0x273)===_0x1120f4?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x49f249}of _0x117883)if(_0x49f249['is'](_0x16b1b5(0x2ce))){const _0x3d1dab=_0x3e3ab9[_0x16b1b5(0x20f)](_0x49f249[_0x16b1b5(0x283)]);if(_0x3d1dab&&_0x3d1dab[_0x16b1b5(0x20d)]){if(_0x179eba+=_0x16b1b5(0x273)===_0x1120f4?_0x3d1dab[_0x16b1b5(0x230)]+_0x3d1dab[0x0][_0x16b1b5(0x20d)]:_0x49f249[_0x16b1b5(0x283)][_0x16b1b5(0x20d)]-_0x3d1dab[_0x16b1b5(0x230)],_0x3d1dab[0x0][_0x16b1b5(0x20d)]!==_0x49f249[_0x16b1b5(0x283)][_0x16b1b5(0x20d)])break;_0x14b008=!0x0,_0x3e3ab9=_0x16b1b5(0x273)===_0x1120f4?/^\w+/:/\w+$/;}else{if(_0x14b008)break;_0x179eba+=_0x49f249[_0x16b1b5(0x2d1)];}}else{if(_0x49f249['is'](_0x16b1b5(0x265))){_0x431981[_0x16b1b5(0x2b6)](_0x49f249)&&!_0x14b008&&(_0x179eba+=0x1);break;}}_0x563f34+=_0x179eba,_0x117883[_0x16b1b5(0x21e)](_0x5d5bf5[_0x16b1b5(0x1fc)](_0x16b1b5(0x273)===_0x1120f4?_0x563f34:-_0x563f34));}return _0x563f34;}[_0x1e9b46(0x2ca)](_0x4a6b93,_0x528d6d){const _0x5ed4b6=_0x1e9b46,_0x39769c=_0x564464(this[_0x5ed4b6(0x241)])[_0x5ed4b6(0x201)][_0x5ed4b6(0x214)],_0x409df9=this[_0x5ed4b6(0x28c)](_0x4a6b93,_0x5ed4b6(0x2be),_0x39769c,0x6),_0x47e7a6=this[_0x5ed4b6(0x28c)](_0x528d6d,_0x5ed4b6(0x273),_0x39769c,0x6),_0x51f5dc=_0x4a6b93[_0x5ed4b6(0x1fc)](-_0x409df9),_0x580341=_0x528d6d[_0x5ed4b6(0x1fc)](_0x47e7a6);return{'start':_0x51f5dc,'end':_0x580341,'hasContentBefore':!_0x51f5dc[_0x5ed4b6(0x2cf)],'hasContentAfter':!_0x580341[_0x5ed4b6(0x29f)]};}[_0x1e9b46(0x29e)](_0x5740e0){const _0x89e77d=_0x1e9b46,_0x1cecaa=this[_0x89e77d(0x241)][_0x89e77d(0x29a)][_0x89e77d(0x222)](_0x89e77d(0x229)),_0x171037=new Set();_0x564464(this[_0x89e77d(0x241)])[_0x89e77d(0x201)][_0x89e77d(0x2de)](_0x3e6a45=>{const _0x51146e=_0x89e77d;for(const _0x37eb90 of _0x5740e0){const _0x5c6516=''+we+_0x37eb90[_0x51146e(0x243)]+':'+_0x37eb90[_0x51146e(0x203)]+'_'+_0x1cecaa[_0x51146e(0x2d9)](_0x171037);this[_0x51146e(0x2d8)][_0x51146e(0x22f)](_0x5c6516,{'id':_0x5c6516,'groupId':_0x37eb90[_0x51146e(0x203)],'type':_0x37eb90[_0x51146e(0x243)],'text':_0x37eb90[_0x51146e(0x24a)]}),_0x3e6a45[_0x51146e(0x285)](_0x5c6516,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3e6a45[_0x51146e(0x2b8)](_0x37eb90[_0x51146e(0x259)],_0x37eb90[_0x51146e(0x1f8)])});}});}[_0x1e9b46(0x274)](_0xae2405,_0x3d5041,_0x1e6906){let _0x45f6b5='';return()=>{const _0x2da17c=_0x5857;if(!_0x45f6b5){const _0x224b41=_0x3d5041[_0x2da17c(0x256)](_0xae2405,{'showSuggestionHighlights':!0x0});let _0x33454a=_0x224b41[_0x2da17c(0x216)](0x0);if(_0x33454a['is'](_0x2da17c(0x2c2))||(_0x33454a=_0x224b41),!_0x33454a)return'';let _0xc74bba=!0x1;const _0x426fdf=[];for(const _0x4a6460 of _0x33454a[_0x2da17c(0x23a)]())_0x4a6460['is'](_0x2da17c(0x265),_0x2da17c(0x275))&&_0x4a6460[_0x2da17c(0x213)](_0x2da17c(0x200))&&(_0xc74bba=!0x1),_0xc74bba&&_0x426fdf[_0x2da17c(0x21b)](_0x4a6460),_0x4a6460['is'](_0x2da17c(0x265),_0x2da17c(0x275))&&_0x4a6460[_0x2da17c(0x213)](_0x2da17c(0x25b))&&(_0xc74bba=!0x0);_0x33454a[_0x2da17c(0x239)](0x0,_0x33454a[_0x2da17c(0x280)]),_0x1e6906?.[_0x2da17c(0x223)]&&_0x33454a[_0x2da17c(0x212)]('…'),_0x33454a[_0x2da17c(0x212)](_0x426fdf),_0x1e6906?.[_0x2da17c(0x26d)]&&_0x33454a[_0x2da17c(0x212)]('…');const _0x5d254b=_0x3d5041[_0x2da17c(0x260)][_0x2da17c(0x1ff)][_0x2da17c(0x2b4)](_0x224b41),_0xad2c56=_0x3d5041[_0x2da17c(0x260)][_0x2da17c(0x27e)][_0x2da17c(0x28e)](_0x5d254b);_0x45f6b5=_0xad2c56;}return _0x45f6b5;};}[_0x1e9b46(0x228)](_0x835cdd,_0x44726b){const _0x352649=_0x1e9b46;let _0x30b9cf='';return()=>(_0x30b9cf||(_0x30b9cf=_0x44726b[_0x352649(0x277)](_0x835cdd,{'showSuggestionHighlights':!0x0})),_0x30b9cf);}[_0x1e9b46(0x237)](_0x8ba91b,_0x348f41,_0x160b38){let _0x3157c9='';return()=>{const _0x3d8bbf=_0x5857;if(!_0x3157c9){const _0x4492f1=_0x160b38[_0x3d8bbf(0x256)](new _0x245d32(_0x8ba91b)),_0x2112c4=_0x160b38[_0x3d8bbf(0x260)][_0x3d8bbf(0x1ff)][_0x3d8bbf(0x2b4)](_0x4492f1)[_0x3d8bbf(0x1fe)](_0x3d8bbf(0x282)+_0x348f41+'\x22]');_0x3157c9=_0x2112c4?.[_0x3d8bbf(0x296)]||'';}return _0x3157c9;};}[_0x1e9b46(0x1fb)](_0x483a9b,_0x30b453=0x5){const _0x152d95=_0x1e9b46;let _0xee6596=_0x483a9b,_0x24bc31=null;for(let _0xe7589e=0x0;_0xe7589e<_0x30b453&&_0xee6596;_0xe7589e++){if(!_0xee6596[_0x152d95(0x2d3)]){_0xee6596=_0xee6596[_0x152d95(0x231)];continue;}if(!(''+_0xee6596[_0x152d95(0x2d3)])[_0x152d95(0x28b)](_0x152d95(0x2bd))){_0xee6596=_0xee6596[_0x152d95(0x231)];continue;}if(!_0xee6596[_0x152d95(0x211)](_0x152d95(0x2ba)))break;_0x24bc31=_0xee6596;break;}return _0x24bc31;}[_0x1e9b46(0x1fa)](_0x5c30c6){const _0x2cf9fd=_0x1e9b46;return Array[_0x2cf9fd(0x268)](this[_0x2cf9fd(0x2d8)][_0x2cf9fd(0x24f)]())[_0x2cf9fd(0x2bc)](_0x230d77=>_0x230d77[_0x2cf9fd(0x203)]===_0x5c30c6);}[_0x1e9b46(0x2a2)](_0x3c8035){const _0x28dc7a=_0x1e9b46;return _0x28dc7a(0x299)===_0x3c8035[_0x28dc7a(0x243)]?_0x3c8035[_0x28dc7a(0x2b3)]:_0x3c8035[_0x28dc7a(0x1ea)][_0x28dc7a(0x259)];}[_0x1e9b46(0x23c)](_0x4de51e,_0x3200f0=!0x1){const _0x1117fd=_0x1e9b46;return _0x1117fd(0x299)===_0x4de51e[_0x1117fd(0x243)]?_0x3200f0?_0x4de51e[_0x1117fd(0x2b3)]:_0x4de51e[_0x1117fd(0x2b3)][_0x1117fd(0x1fc)](_0x4de51e[_0x1117fd(0x26f)]):_0x4de51e[_0x1117fd(0x1ea)][_0x1117fd(0x1f8)];}[_0x1e9b46(0x27f)](_0x52e5a4,_0x2a17b2){const _0x267d20=_0x1e9b46;return _0x267d20(0x299)===_0x52e5a4[_0x267d20(0x243)]?_0x52e5a4[_0x267d20(0x2b3)]=_0x52e5a4[_0x267d20(0x2b3)][_0x267d20(0x1fc)](_0x2a17b2):_0x267d20(0x289)===_0x52e5a4[_0x267d20(0x243)]&&_0x52e5a4[_0x267d20(0x1ea)]&&(_0x52e5a4[_0x267d20(0x1ea)]=new _0x400b42(_0x52e5a4[_0x267d20(0x1ea)][_0x267d20(0x259)][_0x267d20(0x1fc)](_0x2a17b2),_0x52e5a4[_0x267d20(0x1ea)][_0x267d20(0x1f8)][_0x267d20(0x1fc)](_0x2a17b2))),_0x52e5a4;}[_0x1e9b46(0x2a7)](_0x38ec7a,_0x3d5086){const _0x1703c9=_0x1e9b46;_0x1703c9(0x299)===_0x38ec7a[_0x1703c9(0x243)]?_0x38ec7a[_0x1703c9(0x2b3)]=this[_0x1703c9(0x295)](_0x38ec7a[_0x1703c9(0x2b3)],_0x3d5086):_0x1703c9(0x289)===_0x38ec7a[_0x1703c9(0x243)]&&_0x38ec7a[_0x1703c9(0x1ea)]&&(_0x38ec7a[_0x1703c9(0x1ea)]=this[_0x1703c9(0x22e)](_0x38ec7a[_0x1703c9(0x1ea)],_0x3d5086));}[_0x1e9b46(0x295)](_0x4a1590,_0x2cd825){const _0x110845=_0x1e9b46;return new _0x15113d(_0x2cd825,_0x4a1590[_0x110845(0x20c)]);}[_0x1e9b46(0x22e)](_0x2ca48f,_0x20c00f){const _0x30b418=_0x1e9b46;return new _0x400b42(this[_0x30b418(0x295)](_0x2ca48f[_0x30b418(0x259)],_0x20c00f),this[_0x30b418(0x295)](_0x2ca48f[_0x30b418(0x1f8)],_0x20c00f));}[_0x1e9b46(0x1ef)](_0x4ff342,_0x200f54){return new _0x15113d(_0x200f54,[..._0x4ff342]);}[_0x1e9b46(0x236)](_0x3e3201,_0x517d3f,_0x4c9883,_0x22695a){const _0x398cea=_0x1e9b46;return new _0x400b42(this[_0x398cea(0x1ef)](_0x517d3f,_0x22695a),this[_0x398cea(0x1ef)](_0x4c9883,_0x22695a));}[_0x1e9b46(0x219)](_0x508ea2){const _0x27377c=_0x1e9b46,_0x4530f3=_0x706a3a=>{const _0x433153=_0x5857;switch(_0x706a3a){case _0x433153(0x299):return 0x1;case _0x433153(0x25a):return 0x2;case _0x433153(0x250):return 0x3;case _0x433153(0x264):return 0x4;}};return _0x508ea2[_0x27377c(0x2a5)]((_0x115796,_0x186201)=>_0x4530f3(_0x115796[_0x27377c(0x243)])-_0x4530f3(_0x186201[_0x27377c(0x243)]));}[_0x1e9b46(0x234)](_0x3e3f72,_0x88554a){const _0x52f0e1=_0x1e9b46,_0x41fac0=_0x3e3f72[_0x52f0e1(0x216)](0x0),_0x10861f=_0x88554a[_0x52f0e1(0x216)](0x0);return!(!_0x41fac0||!_0x10861f)&&((!_0x41fac0['is'](_0x52f0e1(0x265))||!_0x10861f['is'](_0x52f0e1(0x265))||_0x41fac0[_0x52f0e1(0x225)]===_0x10861f[_0x52f0e1(0x225)])&&!(_0x41fac0['is'](_0x52f0e1(0x265))&&!_0x10861f['is'](_0x52f0e1(0x265))||!_0x41fac0['is'](_0x52f0e1(0x265))&&_0x10861f['is'](_0x52f0e1(0x265))));}[_0x1e9b46(0x2db)](_0x4be80a){const _0x13b7ff=_0x1e9b46;return 0x1===_0x4be80a[_0x13b7ff(0x280)];}[_0x1e9b46(0x29c)](_0x3c2d2d,_0x5c6e96){const _0x3894d1=_0x1e9b46;for(const _0x3c809d of _0x3c2d2d[_0x3894d1(0x23a)]())if(_0x3c809d['is'](_0x3894d1(0x265))&&!_0x5c6e96[_0x3894d1(0x2b6)](_0x3c809d))return!0x1;return!0x0;}[_0x1e9b46(0x242)](_0x560120,_0x26a05e){const _0x463c98=_0x1e9b46;let _0x5c5194=_0x560120[_0x463c98(0x211)](_0x259e80);return _0x5c5194||(_0x5c5194=_0x26a05e(),_0x560120[_0x463c98(0x279)](_0x259e80,_0x5c5194)),_0x5c5194;}}
23
+ function _0x5d2f(_0x4ab6ac,_0x486702){const _0x50651b=_0x5065();return _0x5d2f=function(_0x5d2f1f,_0x2fa659){_0x5d2f1f=_0x5d2f1f-0x1eb;let _0x45f55a=_0x50651b[_0x5d2f1f];return _0x45f55a;},_0x5d2f(_0x4ab6ac,_0x486702);}const _0x31c6e6=_0x5d2f;(function(_0x94e81e,_0x363b18){const _0x53b914=_0x5d2f,_0x2c08a2=_0x94e81e();while(!![]){try{const _0x4f4803=parseInt(_0x53b914(0x25c))/0x1*(parseInt(_0x53b914(0x20d))/0x2)+parseInt(_0x53b914(0x1f5))/0x3*(-parseInt(_0x53b914(0x24d))/0x4)+parseInt(_0x53b914(0x2d9))/0x5*(parseInt(_0x53b914(0x247))/0x6)+parseInt(_0x53b914(0x273))/0x7+-parseInt(_0x53b914(0x226))/0x8+-parseInt(_0x53b914(0x2d2))/0x9*(-parseInt(_0x53b914(0x23e))/0xa)+parseInt(_0x53b914(0x243))/0xb;if(_0x4f4803===_0x363b18)break;else _0x2c08a2['push'](_0x2c08a2['shift']());}catch(_0x8eb80d){_0x2c08a2['push'](_0x2c08a2['shift']());}}}(_0x5065,0xc6cdc));import{InsertOperation as _0x33b408,MarkerOperation as _0x2f2032,ModelDocumentFragment as _0x5e895e,ModelPosition as _0x20fb9b,ModelRange as _0x209645,ModelTreeWalker as _0x30c98b,transformOperationSets as _0x50fe86}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x59d68b,EmitterMixin as _0xe1a427}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x35615b}from'ckeditor5/src/core.js';import{DocumentCompare as _0x444061,DATA_ID_MODEL_ATTRIBUTE as _0x236358,DATA_ID_VIEW_ATTRIBUTE as _0x56224b}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x13137f}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x2d508e}from'../aicore/aiediting.js';import{debounce as _0x470a52}from'es-toolkit/compat';const we=_0x31c6e6(0x230);export class AIReviewModeEditing extends _0x35615b{static get[_0x31c6e6(0x245)](){const _0x102a25=_0x31c6e6;return _0x102a25(0x254);}static get[_0x31c6e6(0x276)](){return[_0x444061,_0x2d508e];}static get[_0x31c6e6(0x2b6)](){return!0x0;}static get[_0x31c6e6(0x27a)](){return!0x0;}[_0x31c6e6(0x20a)]=new Map();[_0x31c6e6(0x2ca)];[_0x31c6e6(0x29b)];constructor(_0xbf38c1){const _0x20e35c=_0x31c6e6;super(_0xbf38c1),this[_0x20e35c(0x2ca)]=new(_0x59d68b())(),this[_0x20e35c(0x29b)]=new(_0xe1a427())();}get[_0x31c6e6(0x212)](){const _0x19e787=_0x31c6e6;return this[_0x19e787(0x29b)];}[_0x31c6e6(0x27d)](){const _0x297580=_0x31c6e6,_0x1e3af2=_0x13137f(this[_0x297580(0x1ec)]);_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x271))[_0x297580(0x291)]({'model':we+_0x297580(0x21d),'view':(_0x292c92,{writer:_0x5cf9d0})=>{const _0x7d7bb7=_0x297580,_0x213af6=this[_0x7d7bb7(0x20a)][_0x7d7bb7(0x2b8)](_0x292c92[_0x7d7bb7(0x292)]),_0x2a354e={'class':_0x7d7bb7(0x21a),'data-marker-id':_0x292c92[_0x7d7bb7(0x292)]};return _0x5cf9d0[_0x7d7bb7(0x250)](_0x7d7bb7(0x26b),_0x2a354e,function(_0x5435d3){const _0x1984b9=_0x7d7bb7,_0x3b7362=this[_0x1984b9(0x2b9)](_0x5435d3);return _0x3b7362[_0x1984b9(0x238)]=_0x213af6?.[_0x1984b9(0x221)]||'',_0x3b7362;});}}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x271))[_0x297580(0x2c3)]({'model':we+_0x297580(0x2c7),'view':_0x3b729a=>({'classes':_0x297580(0x2d0),'attributes':{'data-marker-id':_0x3b729a[_0x297580(0x292)]}})}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x271))[_0x297580(0x2c3)]({'model':we+_0x297580(0x2de),'view':_0x171cca=>({'classes':_0x297580(0x215),'attributes':{'data-marker-id':_0x171cca[_0x297580(0x292)]}})}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x271))[_0x297580(0x2c3)]({'model':we+_0x297580(0x246),'view':_0x160508=>({'classes':_0x297580(0x280),'attributes':{'data-marker-id':_0x160508[_0x297580(0x292)]}})}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x236))[_0x297580(0x291)]({'model':we+_0x297580(0x2ae),'view':(_0x2fb65e,{writer:_0x57141a})=>_0x57141a[_0x297580(0x239)](_0x297580(0x26b),{'class':_0x297580(0x2d1)+(_0x2fb65e[_0x297580(0x21c)]?_0x297580(0x2c1):_0x297580(0x224))})}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x2dd))[_0x297580(0x2da)]({'model':_0x236358,'view':_0x56224b}),this[_0x297580(0x2ca)][_0x297580(0x282)](document,_0x297580(0x22a),(_0x402acd,_0x126497)=>{const _0x167257=_0x297580,_0x3bb133=_0x126497[_0x167257(0x1f2)],_0xdda711=this[_0x167257(0x2e2)](_0x3bb133);if(!_0xdda711)return;const _0x47137b=_0xdda711[_0x167257(0x253)](_0x167257(0x1eb)),_0x1c5e7d=_0x47137b[_0x167257(0x2ad)](':')[_0x167257(0x2b4)]()?.[_0x167257(0x2ad)]('_')[0x0];this[_0x167257(0x29b)][_0x167257(0x296)](_0x167257(0x235),{'markerId':_0x47137b,'changeId':_0x1c5e7d,'markerElement':_0xdda711,'domEvent':_0x126497});}),this[_0x297580(0x2ca)][_0x297580(0x282)](document,_0x297580(0x2c8),(_0x15707f,_0x53bcce)=>{const _0x19b131=_0x297580,_0x27b1f8=_0x53bcce[_0x19b131(0x1f2)],_0x2d1581=_0x53bcce[_0x19b131(0x26d)];let _0x48d0b0=this[_0x19b131(0x2e2)](_0x27b1f8);if(!_0x48d0b0&&_0x2d1581&&(_0x48d0b0=this[_0x19b131(0x2e2)](_0x2d1581)),!_0x48d0b0)return;const _0x163833=_0x48d0b0[_0x19b131(0x253)](_0x19b131(0x1eb)),_0x57430e=_0x163833[_0x19b131(0x2ad)](':')[_0x19b131(0x2b4)]()?.[_0x19b131(0x2ad)]('_')[0x0];this[_0x19b131(0x29b)][_0x19b131(0x296)](_0x19b131(0x205),{'changeId':_0x57430e,'markerElement':_0x48d0b0,'domEvent':_0x53bcce});}),this[_0x297580(0x2ca)][_0x297580(0x282)](document,_0x297580(0x2c8),_0x470a52((_0x338293,_0x75279e)=>{const _0x499af2=_0x297580,_0xe491c6=_0x75279e[_0x499af2(0x1f2)];if(this[_0x499af2(0x2e2)](_0xe491c6))return;_0xe491c6[_0x499af2(0x2b0)](_0x499af2(0x1f1))||this[_0x499af2(0x29b)][_0x499af2(0x296)](_0x499af2(0x213));},0xc8)),_0x1e3af2[_0x297580(0x252)][_0x297580(0x267)][_0x297580(0x2a5)](_0x58ead7=>this[_0x297580(0x234)](_0x1e3af2,_0x58ead7)),_0x1e3af2[_0x297580(0x252)][_0x297580(0x267)]['on'](_0x297580(0x29f),()=>this[_0x297580(0x1f3)](_0x1e3af2));}[_0x31c6e6(0x201)](){const _0x30626f=_0x31c6e6,_0x71bee0=this[_0x30626f(0x1ec)][_0x30626f(0x202)][_0x30626f(0x2b8)](_0x30626f(0x217)),_0xda3cdc=_0x13137f(this[_0x30626f(0x1ec)]),_0x5ef0ab=_0xda3cdc[_0x30626f(0x252)],_0x365ac2=new _0x5e895e();for(const _0x33c160 of _0x5ef0ab[_0x30626f(0x267)][_0x30626f(0x2a4)]()[_0x30626f(0x24a)]()){const _0x10cd1a=_0x33c160[_0x30626f(0x2a3)](!0x0);_0x365ac2[_0x30626f(0x22e)](_0x10cd1a);}for(const _0xc58e59 of _0x5ef0ab[_0x30626f(0x1fa)])_0x365ac2[_0x30626f(0x1fa)][_0x30626f(0x2d6)](_0xc58e59[_0x30626f(0x2b5)],this[_0x30626f(0x2c6)](_0xc58e59[_0x30626f(0x288)]()[_0x30626f(0x2c0)](),_0x365ac2));const _0x376437=new _0x30c98b({'ignoreElementEnd':!0x0,'startPosition':_0x5ef0ab[_0x30626f(0x2b2)](_0x365ac2,0x0)}),_0x24fe1f=new Set(),_0x124f83=new Map();for(const {item:_0x4c1d36}of _0x376437){if(!_0x4c1d36['is'](_0x30626f(0x2d3)))continue;const _0x5d88cb=_0x4c1d36[_0x30626f(0x2c4)];if(_0x5d88cb&&_0x5d88cb['is'](_0x30626f(0x1fe))){const _0x96de7d=this[_0x30626f(0x20b)](_0x5d88cb,()=>_0x71bee0[_0x30626f(0x23c)](_0x24fe1f));_0x24fe1f[_0x30626f(0x2a2)](_0x96de7d);for(const _0x43a408 of _0x5d88cb[_0x30626f(0x24a)]())_0x43a408['is'](_0x30626f(0x1fe))&&_0x24fe1f[_0x30626f(0x2a2)](this[_0x30626f(0x20b)](_0x43a408,()=>_0x71bee0[_0x30626f(0x23c)](_0x24fe1f)));let _0x3616a9=_0x5d88cb;for(;_0x3616a9[_0x30626f(0x2c4)]&&!_0x3616a9[_0x30626f(0x2c4)]['is'](_0x30626f(0x29d));)_0x3616a9=_0x3616a9[_0x30626f(0x2c4)],_0x3616a9[_0x30626f(0x227)](_0x236358)&&_0x3616a9[_0x30626f(0x28b)](_0x236358);_0x124f83[_0x30626f(0x2d6)](_0x96de7d,{'path':_0x5d88cb[_0x30626f(0x20e)](),'getContent':this[_0x30626f(0x1ef)](_0x3616a9[_0x30626f(0x2a3)](!0x0),_0x96de7d,_0xda3cdc[_0x30626f(0x285)])}),_0x376437[_0x30626f(0x2ce)](_0x5ef0ab[_0x30626f(0x268)](_0x5d88cb));}}return{'content':_0xda3cdc[_0x30626f(0x285)][_0x30626f(0x1fc)][_0x30626f(0x210)](_0xda3cdc[_0x30626f(0x285)][_0x30626f(0x28a)](_0x365ac2)),'version':_0xda3cdc[_0x30626f(0x252)][_0x30626f(0x267)][_0x30626f(0x22c)],'elements':_0x124f83};}[_0x31c6e6(0x1ee)](_0x1bf990,_0x507544){const _0x142cef=_0x31c6e6,_0x2b70eb=[],_0x36cd85=_0x13137f(this[_0x142cef(0x1ec)]),_0x18cdac=_0x36cd85[_0x142cef(0x285)][_0x142cef(0x240)](_0x507544,_0x142cef(0x272)),_0x394d66=_0x36cd85[_0x142cef(0x285)][_0x142cef(0x240)](_0x1bf990,_0x142cef(0x272)),_0x947de3=_0x36cd85[_0x142cef(0x252)][_0x142cef(0x2b2)](_0x394d66,0x0);if(this[_0x142cef(0x24c)](_0x18cdac)){if(!this[_0x142cef(0x200)](_0x394d66,_0x18cdac))return _0x2b70eb;}else{const _0x5e55e2=_0x36cd85[_0x142cef(0x252)][_0x142cef(0x228)];if(!this[_0x142cef(0x2e0)](_0x394d66,_0x5e55e2)||!this[_0x142cef(0x2e0)](_0x18cdac,_0x5e55e2))return _0x2b70eb;}const _0x46adfe=this[_0x142cef(0x1ec)][_0x142cef(0x202)][_0x142cef(0x2b8)](_0x142cef(0x298))[_0x142cef(0x290)](_0x1bf990,_0x507544,{'anchor':_0x947de3,'markDeletions':!0x0})[_0x142cef(0x260)]()[_0x142cef(0x28c)](_0x3c2138=>_0x142cef(0x21d)===_0x3c2138[_0x142cef(0x222)]||_0x142cef(0x263)===_0x3c2138[_0x142cef(0x222)]&&_0x3c2138[_0x142cef(0x2b5)][_0x142cef(0x26c)](_0x142cef(0x21e))),_0x2ce7a8=this[_0x142cef(0x29a)](_0x46adfe);let _0x5c65ad=0x0;return _0x36cd85[_0x142cef(0x252)][_0x142cef(0x29f)](_0x17f9b3=>{const _0x478ed5=_0x142cef;for(let _0x2db94=0x0;_0x2db94<_0x2ce7a8[_0x478ed5(0x257)];_0x2db94++){const _0x575f5b=_0x2ce7a8[_0x2db94],_0x2da7ab=_0x17f9b3[_0x478ed5(0x2ba)]();for(const _0x40704d of _0x394d66[_0x478ed5(0x24a)]())_0x17f9b3[_0x478ed5(0x208)](_0x40704d[_0x478ed5(0x2a3)](!0x0),_0x2da7ab);for(const _0x17f009 of _0x575f5b[_0x478ed5(0x28e)])if(_0x478ed5(0x21d)===_0x17f009[_0x478ed5(0x222)]){const _0x3555ff=_0x17f009;_0x3555ff[_0x478ed5(0x211)]=null,_0x3555ff[_0x478ed5(0x2be)]=!0x1,this[_0x478ed5(0x237)](_0x3555ff,_0x2da7ab),_0x17f9b3[_0x478ed5(0x2cb)][_0x478ed5(0x1ed)](_0x17f009),_0x36cd85[_0x478ed5(0x252)][_0x478ed5(0x1f4)](_0x17f009);const _0x235bde=_0x478ed5(0x28f)+_0x5c65ad++,_0x3be856=_0x36cd85[_0x478ed5(0x252)][_0x478ed5(0x2bf)](_0x3555ff[_0x478ed5(0x259)],_0x3555ff[_0x478ed5(0x259)][_0x478ed5(0x1f7)](_0x3555ff[_0x478ed5(0x255)]));_0x2da7ab[_0x478ed5(0x1fa)][_0x478ed5(0x2d6)](_0x235bde,_0x3be856);}else{if(_0x478ed5(0x263)===_0x17f009[_0x478ed5(0x222)]&&_0x17f009[_0x478ed5(0x2b5)][_0x478ed5(0x26c)](_0x478ed5(0x21e))){const _0x32b294=_0x17f009,_0x27d179=_0x478ed5(0x299)+_0x5c65ad++;this[_0x478ed5(0x237)](_0x32b294,_0x2da7ab),_0x2da7ab[_0x478ed5(0x1fa)][_0x478ed5(0x2d6)](_0x27d179,_0x32b294[_0x478ed5(0x2a9)]);}}const _0x2a6256=this[_0x478ed5(0x251)](this[_0x478ed5(0x297)](this[_0x478ed5(0x258)](_0x575f5b[_0x478ed5(0x28e)][0x0]),_0x2da7ab),this[_0x478ed5(0x297)](this[_0x478ed5(0x229)](_0x575f5b[_0x478ed5(0x28e)][_0x575f5b[_0x478ed5(0x28e)][_0x478ed5(0x257)]-0x1]),_0x2da7ab));_0x2da7ab[_0x478ed5(0x1fa)][_0x478ed5(0x2d6)](we+_0x478ed5(0x2ae),new _0x209645(_0x2a6256[_0x478ed5(0x2c1)],_0x2a6256[_0x478ed5(0x224)])),_0x2b70eb[_0x478ed5(0x277)]({..._0x575f5b,'context':this[_0x478ed5(0x286)](_0x2da7ab,_0x36cd85[_0x478ed5(0x285)],{'ellipsisBefore':_0x2a6256[_0x478ed5(0x2e1)],'ellipsisAfter':_0x2a6256[_0x478ed5(0x25e)]}),'content':this[_0x478ed5(0x28d)](_0x2da7ab,_0x36cd85[_0x478ed5(0x285)])});}}),_0x2b70eb;}[_0x31c6e6(0x23d)](_0x5af564,_0x13627c){const _0x44f884=_0x31c6e6;if(!_0x5af564[_0x44f884(0x257)])return;const _0x556c17=_0x5af564[0x0][_0x44f884(0x2c4)]['id'],_0x2a0b4f=_0x13627c[_0x44f884(0x231)][_0x44f884(0x2b8)](_0x556c17);if(!_0x2a0b4f)return void console[_0x44f884(0x283)](_0x44f884(0x24f)+_0x556c17);const _0x52ca9d=_0x2a0b4f[_0x44f884(0x23a)],_0x76dc90=_0x13137f(this[_0x44f884(0x1ec)]),_0x30011e=_0x76dc90[_0x44f884(0x252)][_0x44f884(0x267)][_0x44f884(0x295)][_0x44f884(0x260)](_0x13627c[_0x44f884(0x22c)]),_0x3687f1=[];for(const _0x3929f4 of _0x5af564){const _0x54abe1=_0x3929f4[_0x44f884(0x28e)][_0x44f884(0x22f)](_0x270be5=>this[_0x44f884(0x223)](_0x270be5,_0x52ca9d,_0x76dc90[_0x44f884(0x252)][_0x44f884(0x267)][_0x44f884(0x261)]()[0x0]));if(!_0x54abe1||!_0x54abe1[_0x44f884(0x257)])continue;const _0x3da59f=_0x54abe1[_0x44f884(0x216)](_0x1c31d3=>_0x44f884(0x263)===_0x1c31d3[_0x44f884(0x222)]&&_0x1c31d3[_0x44f884(0x2b5)][_0x44f884(0x26c)](_0x44f884(0x21e))),_0x155c17={'document':_0x76dc90[_0x44f884(0x252)][_0x44f884(0x267)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x20983=_0x50fe86(_0x54abe1,_0x30011e,_0x155c17)[_0x44f884(0x264)];for(const _0x491d83 of _0x20983)if(_0x44f884(0x21d)===_0x491d83[_0x44f884(0x222)]){const _0x9f13ef=_0x491d83,_0x477e8e=_0x9f13ef[_0x44f884(0x274)];let _0x58e871='';for(const _0x3f56e6 of _0x477e8e)_0x3f56e6&&_0x3f56e6['is'](_0x44f884(0x275))&&(_0x58e871+=_0x3f56e6[_0x44f884(0x285)]);_0x3687f1[_0x44f884(0x277)]({'start':_0x9f13ef[_0x44f884(0x259)],'end':_0x9f13ef[_0x44f884(0x259)],'type':_0x44f884(0x21d),'groupId':_0x3929f4['id'],'text':_0x58e871});}else{if(_0x44f884(0x263)===_0x491d83[_0x44f884(0x222)]&&_0x491d83[_0x44f884(0x2b5)][_0x44f884(0x26c)](_0x44f884(0x21e))){const _0x420213=_0x491d83;let _0x4ef3c8=_0x44f884(0x246);if(_0x3da59f){const _0x5c861a=this[_0x44f884(0x2c2)](_0x420213[_0x44f884(0x2a9)][_0x44f884(0x2c1)],_0x44f884(0x219),_0x76dc90[_0x44f884(0x252)][_0x44f884(0x228)]),_0x37449b=this[_0x44f884(0x2c2)](_0x420213[_0x44f884(0x2a9)][_0x44f884(0x224)],_0x44f884(0x23b),_0x76dc90[_0x44f884(0x252)][_0x44f884(0x228)]);if(_0x5c861a||_0x37449b){const _0x436b50=_0x420213[_0x44f884(0x2a9)][_0x44f884(0x2c1)][_0x44f884(0x1f7)](-_0x5c861a),_0x11e528=_0x420213[_0x44f884(0x2a9)][_0x44f884(0x224)][_0x44f884(0x1f7)](_0x37449b);_0x3687f1[_0x44f884(0x277)]({'start':_0x436b50,'end':_0x11e528,'groupId':_0x3929f4['id'],'type':_0x44f884(0x2de)});}else _0x4ef3c8=_0x44f884(0x2c7);}_0x3687f1[_0x44f884(0x277)]({'start':_0x420213[_0x44f884(0x2a9)][_0x44f884(0x2c1)],'end':_0x420213[_0x44f884(0x2a9)][_0x44f884(0x224)],'groupId':_0x3929f4['id'],'type':_0x4ef3c8});}}}this[_0x44f884(0x204)](_0x3687f1);}[_0x31c6e6(0x21b)](){const _0x37b751=_0x31c6e6,_0x44f251=_0x13137f(this[_0x37b751(0x1ec)]);_0x44f251[_0x37b751(0x252)][_0x37b751(0x29f)](_0x7dfa4f=>{const _0x5f0d33=_0x37b751;for(const _0x22e3a0 of this[_0x5f0d33(0x20a)][_0x5f0d33(0x214)]())_0x44f251[_0x5f0d33(0x252)][_0x5f0d33(0x1fa)][_0x5f0d33(0x2b8)](_0x22e3a0)&&_0x7dfa4f[_0x5f0d33(0x244)](_0x22e3a0);}),this[_0x37b751(0x20a)][_0x37b751(0x20f)]();}[_0x31c6e6(0x2cc)](){const _0x5515df=_0x31c6e6;_0x13137f(this[_0x5515df(0x1ec)])[_0x5515df(0x24b)](_0x5515df(0x284));}[_0x31c6e6(0x233)](){const _0x207fc9=_0x31c6e6;_0x13137f(this[_0x207fc9(0x1ec)])[_0x207fc9(0x25d)](_0x207fc9(0x284));}[_0x31c6e6(0x2bb)](_0x306989){const _0x5a4412=_0x31c6e6,_0x318fa4=_0x13137f(this[_0x5a4412(0x1ec)]),_0x115fcb=_0x318fa4[_0x5a4412(0x252)],_0x1c1417=_0x306989[_0x5a4412(0x22f)](_0x2f7f8f=>this[_0x5a4412(0x2c5)](_0x2f7f8f))[_0x5a4412(0x249)]();_0x115fcb[_0x5a4412(0x29f)](_0x178448=>{const _0x304dd2=_0x5a4412;for(const _0x256a0a of _0x1c1417){const _0xa6c0ad=_0x318fa4[_0x304dd2(0x252)][_0x304dd2(0x1fa)][_0x304dd2(0x2b8)](_0x256a0a['id']);_0xa6c0ad&&(_0x304dd2(0x21d)===_0x256a0a[_0x304dd2(0x222)]?_0x115fcb[_0x304dd2(0x289)](_0x178448[_0x304dd2(0x22d)](_0x256a0a[_0x304dd2(0x221)]||''),_0xa6c0ad[_0x304dd2(0x288)]()[_0x304dd2(0x2c1)]):_0x304dd2(0x246)!==_0x256a0a[_0x304dd2(0x222)]&&_0x304dd2(0x2c7)!==_0x256a0a[_0x304dd2(0x222)]||_0x115fcb[_0x304dd2(0x269)](_0x115fcb[_0x304dd2(0x1ff)](_0xa6c0ad[_0x304dd2(0x288)]())),_0x178448[_0x304dd2(0x244)](_0x256a0a['id']),this[_0x304dd2(0x20a)][_0x304dd2(0x26e)](_0x256a0a['id']));}});}[_0x31c6e6(0x2d8)](_0x59f57e){const _0xcef3d3=_0x31c6e6,_0x254005=_0x13137f(this[_0xcef3d3(0x1ec)]),_0x10b361=this[_0xcef3d3(0x2c5)](_0x59f57e);_0x254005[_0xcef3d3(0x252)][_0xcef3d3(0x29f)](_0x4cf3f8=>{const _0x63c4b4=_0xcef3d3;for(const _0x244110 of _0x10b361)_0x4cf3f8[_0x63c4b4(0x244)](_0x244110['id']),this[_0x63c4b4(0x20a)][_0x63c4b4(0x26e)](_0x244110['id']);});}[_0x31c6e6(0x27c)](){const _0x94a72d=_0x31c6e6;return _0x13137f(this[_0x94a72d(0x1ec)]);}[_0x31c6e6(0x2a8)](_0x39f203){const _0x326813=_0x31c6e6,_0x25e2ff=Array[_0x326813(0x1f0)](this[_0x326813(0x20a)][_0x326813(0x29e)]())[_0x326813(0x28c)](_0x316fd7=>_0x316fd7[_0x326813(0x27e)]===_0x39f203);if(!_0x25e2ff[_0x326813(0x257)])return null;const _0x5b0577=0x1===_0x25e2ff[_0x326813(0x257)]?_0x25e2ff[0x0]:this[_0x326813(0x23f)](_0x25e2ff)[0x0],_0x45dc08=_0x13137f(this[_0x326813(0x1ec)]),_0x50f126=_0x45dc08[_0x326813(0x252)][_0x326813(0x1fa)][_0x326813(0x2b8)](_0x5b0577['id']);if(!_0x50f126)return null;const _0x2ae85d=_0x50f126[_0x326813(0x288)](),_0x29c9ed=_0x45dc08[_0x326813(0x2d4)][_0x326813(0x248)][_0x326813(0x24e)]();if(!_0x29c9ed||!_0x2ae85d)return null;const _0x17e3aa=_0x29c9ed[_0x326813(0x225)](_0x326813(0x2db)+_0x5b0577['id']+'\x22]');return _0x17e3aa?{'modelRange':_0x2ae85d,'domElement':_0x17e3aa}:null;}[_0x31c6e6(0x234)](_0x1016cf,_0x4537eb){const _0x16b215=_0x31c6e6,_0x1cdf0e=Array[_0x16b215(0x1f0)](this[_0x16b215(0x20a)][_0x16b215(0x214)]()),_0x37ff79=new Map();for(const _0xd630d0 of _0x1cdf0e){const _0x201db2=_0x1016cf[_0x16b215(0x252)][_0x16b215(0x1fa)][_0x16b215(0x2b8)](_0xd630d0);if(!_0x201db2)continue;const _0x308ddd=_0x201db2[_0x16b215(0x2ac)]()[_0x16b215(0x23a)][0x0];_0x37ff79[_0x16b215(0x2a1)](_0x308ddd)||_0x37ff79[_0x16b215(0x2d6)](_0x308ddd,[]),_0x37ff79[_0x16b215(0x2b8)](_0x308ddd)[_0x16b215(0x277)](_0x201db2);}const _0x30222f=new Set();for(const _0x3e2dbb of _0x1016cf[_0x16b215(0x252)][_0x16b215(0x267)][_0x16b215(0x2c9)][_0x16b215(0x2b1)]()){let _0xde0ee8=-0x1,_0x46ce74=null;if(_0x16b215(0x21d)===_0x3e2dbb[_0x16b215(0x222)])_0x46ce74=new _0x209645(_0x3e2dbb[_0x16b215(0x259)],_0x3e2dbb[_0x16b215(0x259)][_0x16b215(0x1f7)](_0x3e2dbb[_0x16b215(0x257)])),_0xde0ee8=_0x3e2dbb[_0x16b215(0x259)][_0x16b215(0x23a)][0x0];else{if(_0x16b215(0x25b)!==_0x3e2dbb[_0x16b215(0x222)])continue;_0x46ce74=new _0x209645(_0x3e2dbb[_0x16b215(0x259)]),_0xde0ee8=_0x3e2dbb[_0x16b215(0x259)][_0x16b215(0x23a)][0x0];}const _0x166ea6=_0x37ff79[_0x16b215(0x2b8)](_0xde0ee8)||[];if(_0x166ea6[_0x16b215(0x257)]){for(const _0x747683 of _0x166ea6)if(_0x46ce74[_0x16b215(0x25f)][_0x16b215(0x2b7)]===_0x747683[_0x16b215(0x288)]()[_0x16b215(0x25f)][_0x16b215(0x2b7)]&&(_0x16b215(0x21d)!==_0x3e2dbb[_0x16b215(0x222)]||!_0x46ce74[_0x16b215(0x2d7)](_0x747683[_0x16b215(0x288)]()))&&(_0x46ce74[_0x16b215(0x2a0)](_0x747683[_0x16b215(0x288)]())||_0x46ce74[_0x16b215(0x2c1)][_0x16b215(0x2af)](_0x747683[_0x16b215(0x288)]()[_0x16b215(0x224)])||_0x46ce74[_0x16b215(0x224)][_0x16b215(0x2af)](_0x747683[_0x16b215(0x288)]()[_0x16b215(0x2c1)]))){const _0x42acca=this[_0x16b215(0x241)](_0x747683[_0x16b215(0x2b5)]);Array[_0x16b215(0x1f0)](this[_0x16b215(0x20a)][_0x16b215(0x29e)]())[_0x16b215(0x28c)](_0x592bcf=>_0x592bcf[_0x16b215(0x27e)]===_0x42acca[_0x16b215(0x27e)])[_0x16b215(0x26f)](_0x3631f4=>_0x30222f[_0x16b215(0x2a2)](_0x3631f4['id']));}}}if(_0x30222f[_0x16b215(0x26a)]){for(const _0x2d41d1 of _0x30222f)_0x4537eb[_0x16b215(0x244)](_0x2d41d1);return!0x0;}return!0x1;}[_0x31c6e6(0x1f3)](_0x890524){const _0x104cef=_0x31c6e6;for(const {name:_0x17058f,data:_0x4d8170}of _0x890524[_0x104cef(0x252)][_0x104cef(0x267)][_0x104cef(0x2c9)][_0x104cef(0x1fd)]()){if(!_0x17058f[_0x104cef(0x26c)](we))continue;const _0x1eb8ef=_0x4d8170[_0x104cef(0x281)],_0x1963f8=_0x4d8170[_0x104cef(0x2a9)],_0xa45cdf=_0x1eb8ef&&_0x104cef(0x1f8)===_0x1eb8ef[_0x104cef(0x25f)][_0x104cef(0x2b7)],_0x34ef6f=_0x1963f8&&_0x104cef(0x1f8)===_0x1963f8[_0x104cef(0x25f)][_0x104cef(0x2b7)];if(_0xa45cdf&&_0x34ef6f)continue;const _0x5e06ba=this[_0x104cef(0x241)](_0x17058f);this[_0x104cef(0x20a)][_0x104cef(0x2b8)](_0x17058f)&&(_0x34ef6f||!_0x1963f8?this[_0x104cef(0x29b)][_0x104cef(0x296)](_0x104cef(0x2ab),{'markerId':_0x17058f,'changeId':_0x5e06ba[_0x104cef(0x27e)]}):_0xa45cdf&&_0x1963f8&&this[_0x104cef(0x29b)][_0x104cef(0x296)](_0x104cef(0x256),{'markerId':_0x17058f,'changeId':_0x5e06ba[_0x104cef(0x27e)]}));}}[_0x31c6e6(0x241)](_0x1db545){const _0x3c4532=_0x31c6e6,_0x36aa3b=_0x1db545[_0x3c4532(0x2ad)](':'),_0x2e2abb=(_0x36aa3b[0x1]||'')[_0x3c4532(0x2ad)]('_');return{'prefix':_0x36aa3b[0x0],'groupId':_0x2e2abb[0x0],'suffix':_0x2e2abb[0x1]};}[_0x31c6e6(0x223)](_0x437169,_0x1e029e,_0x122c89){const _0x5eaf6a=_0x31c6e6;if(_0x5eaf6a(0x21d)===_0x437169[_0x5eaf6a(0x222)]){const _0x29ed2f=_0x437169;return new _0x33b408(this[_0x5eaf6a(0x25a)](_0x1e029e[_0x5eaf6a(0x2bd)](_0x29ed2f[_0x5eaf6a(0x259)][_0x5eaf6a(0x1f9)]),_0x122c89),_0x29ed2f[_0x5eaf6a(0x274)],_0x29ed2f[_0x5eaf6a(0x211)]);}if(_0x5eaf6a(0x263)===_0x437169[_0x5eaf6a(0x222)]&&_0x437169[_0x5eaf6a(0x2b5)][_0x5eaf6a(0x26c)](_0x5eaf6a(0x21e))){const _0x379b26=_0x437169;return new _0x2f2032(_0x379b26[_0x5eaf6a(0x2b5)],_0x379b26[_0x5eaf6a(0x281)],this[_0x5eaf6a(0x2b3)](_0x379b26[_0x5eaf6a(0x2a9)],_0x1e029e[_0x5eaf6a(0x2bd)](_0x379b26[_0x5eaf6a(0x2a9)][_0x5eaf6a(0x2c1)][_0x5eaf6a(0x1f9)]),_0x1e029e[_0x5eaf6a(0x2bd)](_0x379b26[_0x5eaf6a(0x2a9)][_0x5eaf6a(0x224)][_0x5eaf6a(0x1f9)]),_0x122c89),_0x379b26[_0x5eaf6a(0x20a)],_0x379b26[_0x5eaf6a(0x270)],_0x379b26[_0x5eaf6a(0x211)]);}return _0x437169;}[_0x31c6e6(0x29a)](_0x498da6){const _0x2cb0c7=_0x31c6e6;if(!_0x498da6[_0x2cb0c7(0x257)])return[];const _0x1f3fd4=[];let _0x39d3a1=0x0,_0x39f7e5=0x0,_0x14bdd1=[];for(let _0x3bdc01=0x0;_0x3bdc01<=_0x498da6[_0x2cb0c7(0x257)];_0x3bdc01++){const _0xc6116d=_0x498da6[_0x3bdc01],_0x3c7cdd=_0x498da6[_0x3bdc01-0x1];!_0xc6116d||_0x3c7cdd&&!this[_0x2cb0c7(0x229)](_0x3c7cdd)[_0x2cb0c7(0x2af)](this[_0x2cb0c7(0x258)](_0xc6116d))?(_0x1f3fd4[_0x2cb0c7(0x277)]({'operations':_0x14bdd1,'operationsIsolated':_0x14bdd1[_0x2cb0c7(0x22f)](_0x187dbf=>this[_0x2cb0c7(0x21f)](_0x187dbf[_0x2cb0c7(0x2c0)](),-_0x39f7e5)),'groupOffset':_0x39d3a1}),_0x14bdd1=_0xc6116d?[_0xc6116d]:[],_0x39f7e5+=_0x39d3a1,_0x39d3a1=0x0):_0x14bdd1[_0x2cb0c7(0x277)](_0xc6116d),_0xc6116d&&_0x2cb0c7(0x21d)===_0xc6116d[_0x2cb0c7(0x222)]&&(_0x39d3a1+=_0xc6116d[_0x2cb0c7(0x255)]);}return _0x1f3fd4;}[_0x31c6e6(0x2c2)](_0x22fc7e,_0x4b0264,_0xe2d949,_0x415c81=0x1){const _0x5a788b=_0x31c6e6,_0x3e0e9f=new _0x30c98b({'startPosition':_0x22fc7e,'direction':_0x4b0264});let _0x2883b1=0x0;for(let _0x402857=0x0;_0x402857<_0x415c81;_0x402857++){let _0x26e9f2=0x0,_0x468254=!0x1,_0x55a67c=_0x5a788b(0x23b)===_0x4b0264?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x2a9869}of _0x3e0e9f)if(_0x2a9869['is'](_0x5a788b(0x2d3))){const _0x204891=_0x55a67c[_0x5a788b(0x279)](_0x2a9869[_0x5a788b(0x285)]);if(_0x204891&&_0x204891[_0x5a788b(0x257)]){if(_0x26e9f2+=_0x5a788b(0x23b)===_0x4b0264?_0x204891[_0x5a788b(0x294)]+_0x204891[0x0][_0x5a788b(0x257)]:_0x2a9869[_0x5a788b(0x285)][_0x5a788b(0x257)]-_0x204891[_0x5a788b(0x294)],_0x204891[0x0][_0x5a788b(0x257)]!==_0x2a9869[_0x5a788b(0x285)][_0x5a788b(0x257)])break;_0x468254=!0x0,_0x55a67c=_0x5a788b(0x23b)===_0x4b0264?/^\w+/:/\w+$/;}else{if(_0x468254)break;_0x26e9f2+=_0x2a9869[_0x5a788b(0x2d5)];}}else{if(_0x2a9869['is'](_0x5a788b(0x1fe))){_0xe2d949[_0x5a788b(0x2dc)](_0x2a9869)&&!_0x468254&&(_0x26e9f2+=0x1);break;}}_0x2883b1+=_0x26e9f2,_0x3e0e9f[_0x5a788b(0x2ce)](_0x22fc7e[_0x5a788b(0x1f7)](_0x5a788b(0x23b)===_0x4b0264?_0x2883b1:-_0x2883b1));}return _0x2883b1;}[_0x31c6e6(0x251)](_0x15638b,_0x5caa2c){const _0x361857=_0x31c6e6,_0xe70000=_0x13137f(this[_0x361857(0x1ec)])[_0x361857(0x252)][_0x361857(0x228)],_0x2ebc0d=this[_0x361857(0x2c2)](_0x15638b,_0x361857(0x219),_0xe70000,0x6),_0x49a02d=this[_0x361857(0x2c2)](_0x5caa2c,_0x361857(0x23b),_0xe70000,0x6),_0x6e4e4d=_0x15638b[_0x361857(0x1f7)](-_0x2ebc0d),_0x57beac=_0x5caa2c[_0x361857(0x1f7)](_0x49a02d);return{'start':_0x6e4e4d,'end':_0x57beac,'hasContentBefore':!_0x6e4e4d[_0x361857(0x220)],'hasContentAfter':!_0x57beac[_0x361857(0x266)]};}[_0x31c6e6(0x204)](_0x382e74){const _0x4d30c9=_0x31c6e6,_0x4f7df6=this[_0x4d30c9(0x1ec)][_0x4d30c9(0x202)][_0x4d30c9(0x2b8)](_0x4d30c9(0x217)),_0xa21128=new Set();_0x13137f(this[_0x4d30c9(0x1ec)])[_0x4d30c9(0x252)][_0x4d30c9(0x29f)](_0x55168c=>{const _0x56b4c4=_0x4d30c9;for(const _0x11749b of _0x382e74){const _0x4789b3=''+we+_0x11749b[_0x56b4c4(0x222)]+':'+_0x11749b[_0x56b4c4(0x27e)]+'_'+_0x4f7df6[_0x56b4c4(0x23c)](_0xa21128);this[_0x56b4c4(0x20a)][_0x56b4c4(0x2d6)](_0x4789b3,{'id':_0x4789b3,'groupId':_0x11749b[_0x56b4c4(0x27e)],'type':_0x11749b[_0x56b4c4(0x222)],'text':_0x11749b[_0x56b4c4(0x221)]}),_0x55168c[_0x56b4c4(0x207)](_0x4789b3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x55168c[_0x56b4c4(0x2bf)](_0x11749b[_0x56b4c4(0x2c1)],_0x11749b[_0x56b4c4(0x224)])});}});}[_0x31c6e6(0x286)](_0x18fcd0,_0x3c0a07,_0x2d697a){let _0x428b59='';return()=>{const _0x27a78d=_0x5d2f;if(!_0x428b59){const _0x18aea2=_0x3c0a07[_0x27a78d(0x28a)](_0x18fcd0,{'showSuggestionHighlights':!0x0});let _0x205d30=_0x18aea2[_0x27a78d(0x293)](0x0);if(_0x205d30['is'](_0x27a78d(0x209))||(_0x205d30=_0x18aea2),!_0x205d30)return'';let _0x437ada=!0x1;const _0xd2f880=[];for(const _0x1015b0 of _0x205d30[_0x27a78d(0x24a)]())_0x1015b0['is'](_0x27a78d(0x1fe),_0x27a78d(0x26b))&&_0x1015b0[_0x27a78d(0x2df)](_0x27a78d(0x2a7))&&(_0x437ada=!0x1),_0x437ada&&_0xd2f880[_0x27a78d(0x277)](_0x1015b0),_0x1015b0['is'](_0x27a78d(0x1fe),_0x27a78d(0x26b))&&_0x1015b0[_0x27a78d(0x2df)](_0x27a78d(0x242))&&(_0x437ada=!0x0);_0x205d30[_0x27a78d(0x232)](0x0,_0x205d30[_0x27a78d(0x2aa)]),_0x2d697a?.[_0x27a78d(0x22b)]&&_0x205d30[_0x27a78d(0x22e)]('…'),_0x205d30[_0x27a78d(0x22e)](_0xd2f880),_0x2d697a?.[_0x27a78d(0x218)]&&_0x205d30[_0x27a78d(0x22e)]('…');const _0x427343=_0x3c0a07[_0x27a78d(0x2cf)][_0x27a78d(0x265)][_0x27a78d(0x278)](_0x18aea2),_0x3f904d=_0x3c0a07[_0x27a78d(0x2cf)][_0x27a78d(0x27b)][_0x27a78d(0x1f6)](_0x427343);_0x428b59=_0x3f904d;}return _0x428b59;};}[_0x31c6e6(0x28d)](_0x50f6df,_0x4fd691){const _0x2f5fa3=_0x31c6e6;let _0x241217='';return()=>(_0x241217||(_0x241217=_0x4fd691[_0x2f5fa3(0x29c)](_0x50f6df,{'showSuggestionHighlights':!0x0})),_0x241217);}[_0x31c6e6(0x1ef)](_0x158244,_0x5c41f5,_0x3cac71){let _0x1b7e79='';return()=>{const _0x118f0f=_0x5d2f;if(!_0x1b7e79){const _0xb01e99=_0x3cac71[_0x118f0f(0x28a)](new _0x5e895e(_0x158244)),_0x186806=_0x3cac71[_0x118f0f(0x2cf)][_0x118f0f(0x265)][_0x118f0f(0x278)](_0xb01e99)[_0x118f0f(0x225)](_0x118f0f(0x203)+_0x5c41f5+'\x22]');_0x1b7e79=_0x186806?.[_0x118f0f(0x287)]||'';}return _0x1b7e79;};}[_0x31c6e6(0x2e2)](_0xf3e90,_0x868cb6=0x5){const _0x46cc32=_0x31c6e6;let _0x2355b2=_0xf3e90,_0x1f57e2=null;for(let _0x2fd6ac=0x0;_0x2fd6ac<_0x868cb6&&_0x2355b2;_0x2fd6ac++){if(!_0x2355b2[_0x46cc32(0x1fb)]){_0x2355b2=_0x2355b2[_0x46cc32(0x206)];continue;}if(!(''+_0x2355b2[_0x46cc32(0x1fb)])[_0x46cc32(0x20c)](_0x46cc32(0x2a6))){_0x2355b2=_0x2355b2[_0x46cc32(0x206)];continue;}if(!_0x2355b2[_0x46cc32(0x253)](_0x46cc32(0x1eb)))break;_0x1f57e2=_0x2355b2;break;}return _0x1f57e2;}[_0x31c6e6(0x2c5)](_0x423964){const _0x34c03b=_0x31c6e6;return Array[_0x34c03b(0x1f0)](this[_0x34c03b(0x20a)][_0x34c03b(0x29e)]())[_0x34c03b(0x28c)](_0x2a1eac=>_0x2a1eac[_0x34c03b(0x27e)]===_0x423964);}[_0x31c6e6(0x258)](_0x536c92){const _0x38e5a5=_0x31c6e6;return _0x38e5a5(0x21d)===_0x536c92[_0x38e5a5(0x222)]?_0x536c92[_0x38e5a5(0x259)]:_0x536c92[_0x38e5a5(0x2a9)][_0x38e5a5(0x2c1)];}[_0x31c6e6(0x229)](_0x1e3c9c,_0x54d25e=!0x1){const _0x45b79c=_0x31c6e6;return _0x45b79c(0x21d)===_0x1e3c9c[_0x45b79c(0x222)]?_0x54d25e?_0x1e3c9c[_0x45b79c(0x259)]:_0x1e3c9c[_0x45b79c(0x259)][_0x45b79c(0x1f7)](_0x1e3c9c[_0x45b79c(0x255)]):_0x1e3c9c[_0x45b79c(0x2a9)][_0x45b79c(0x224)];}[_0x31c6e6(0x21f)](_0x3d7e29,_0x5a5666){const _0x6c70f5=_0x31c6e6;return _0x6c70f5(0x21d)===_0x3d7e29[_0x6c70f5(0x222)]?_0x3d7e29[_0x6c70f5(0x259)]=_0x3d7e29[_0x6c70f5(0x259)][_0x6c70f5(0x1f7)](_0x5a5666):_0x6c70f5(0x263)===_0x3d7e29[_0x6c70f5(0x222)]&&_0x3d7e29[_0x6c70f5(0x2a9)]&&(_0x3d7e29[_0x6c70f5(0x2a9)]=new _0x209645(_0x3d7e29[_0x6c70f5(0x2a9)][_0x6c70f5(0x2c1)][_0x6c70f5(0x1f7)](_0x5a5666),_0x3d7e29[_0x6c70f5(0x2a9)][_0x6c70f5(0x224)][_0x6c70f5(0x1f7)](_0x5a5666))),_0x3d7e29;}[_0x31c6e6(0x237)](_0x6247dc,_0x4731f5){const _0x450033=_0x31c6e6;_0x450033(0x21d)===_0x6247dc[_0x450033(0x222)]?_0x6247dc[_0x450033(0x259)]=this[_0x450033(0x297)](_0x6247dc[_0x450033(0x259)],_0x4731f5):_0x450033(0x263)===_0x6247dc[_0x450033(0x222)]&&_0x6247dc[_0x450033(0x2a9)]&&(_0x6247dc[_0x450033(0x2a9)]=this[_0x450033(0x2c6)](_0x6247dc[_0x450033(0x2a9)],_0x4731f5));}[_0x31c6e6(0x297)](_0x5697ff,_0x479cf0){const _0x4cfe21=_0x31c6e6;return new _0x20fb9b(_0x479cf0,_0x5697ff[_0x4cfe21(0x23a)]);}[_0x31c6e6(0x2c6)](_0x4127bf,_0x50440a){const _0x2f3703=_0x31c6e6;return new _0x209645(this[_0x2f3703(0x297)](_0x4127bf[_0x2f3703(0x2c1)],_0x50440a),this[_0x2f3703(0x297)](_0x4127bf[_0x2f3703(0x224)],_0x50440a));}[_0x31c6e6(0x25a)](_0x329b49,_0x423b7b){return new _0x20fb9b(_0x423b7b,[..._0x329b49]);}[_0x31c6e6(0x2b3)](_0x4a089f,_0x191d70,_0x1440c9,_0x469790){const _0x8f77c1=_0x31c6e6;return new _0x209645(this[_0x8f77c1(0x25a)](_0x191d70,_0x469790),this[_0x8f77c1(0x25a)](_0x1440c9,_0x469790));}[_0x31c6e6(0x23f)](_0x1622a9){const _0x24f61a=_0x31c6e6,_0x284926=_0x4b5279=>{const _0x5b93df=_0x5d2f;switch(_0x4b5279){case _0x5b93df(0x21d):return 0x1;case _0x5b93df(0x2de):return 0x2;case _0x5b93df(0x2c7):return 0x3;case _0x5b93df(0x246):return 0x4;}};return _0x1622a9[_0x24f61a(0x27f)]((_0x114854,_0x55f63)=>_0x284926(_0x114854[_0x24f61a(0x222)])-_0x284926(_0x55f63[_0x24f61a(0x222)]));}[_0x31c6e6(0x200)](_0x29cd97,_0x5356d6){const _0x3933c8=_0x31c6e6,_0x16bf3b=_0x29cd97[_0x3933c8(0x293)](0x0),_0x583fb8=_0x5356d6[_0x3933c8(0x293)](0x0);return!(!_0x16bf3b||!_0x583fb8)&&((!_0x16bf3b['is'](_0x3933c8(0x1fe))||!_0x583fb8['is'](_0x3933c8(0x1fe))||_0x16bf3b[_0x3933c8(0x2b5)]===_0x583fb8[_0x3933c8(0x2b5)])&&!(_0x16bf3b['is'](_0x3933c8(0x1fe))&&!_0x583fb8['is'](_0x3933c8(0x1fe))||!_0x16bf3b['is'](_0x3933c8(0x1fe))&&_0x583fb8['is'](_0x3933c8(0x1fe))));}[_0x31c6e6(0x24c)](_0x50f247){const _0x24c892=_0x31c6e6;return 0x1===_0x50f247[_0x24c892(0x2aa)];}[_0x31c6e6(0x2e0)](_0x5acc5d,_0x10da45){const _0x3911e4=_0x31c6e6;for(const _0x5abd34 of _0x5acc5d[_0x3911e4(0x24a)]())if(_0x5abd34['is'](_0x3911e4(0x1fe))&&!_0x10da45[_0x3911e4(0x2dc)](_0x5abd34))return!0x1;return!0x0;}[_0x31c6e6(0x20b)](_0x254dc8,_0x5fe9f4){const _0x1dc76d=_0x31c6e6;let _0x150d79=_0x254dc8[_0x1dc76d(0x253)](_0x236358);return _0x150d79||(_0x150d79=_0x5fe9f4(),_0x254dc8[_0x1dc76d(0x262)](_0x236358,_0x150d79)),_0x150d79;}}function _0x5065(){const _0x5bb26b=['_parseMarkerName','ck-ai_review-mode-marker_context-start','82137Brgewi','removeMarker','pluginName','remove-text','6SxAOaC','view','flat','getChildren','enableReadOnlyMode','_haveSingleTopLevelElement','12oIXCwn','getDomRoot','No\x20element\x20found\x20for\x20ID:\x20','createUIElement','_getChangeContext','model','getAttribute','AIReviewModeEditing','howMany','changeMarkerRestored','length','_getOperationStart','position','_changePosition','remove','1032GOhbCV','disableReadOnlyMode','hasContentAfter','root','getOperations','getRoots','_setAttribute','marker','operationsA','domConverter','isAtEnd','document','createPositionAfter','deleteContent','size','span','startsWith','relatedTarget','delete','forEach','affectsData','editingDowncast','$documentFragment','1042237oyILzw','nodes','model:$text','requires','push','viewToDom','exec','isPremiumPlugin','htmlWriter','getEditor','afterInit','groupId','sort','ck-ai_review-mode-marker_hide','oldRange','listenTo','warn','ai-review-mode','data','_createGetContextFn','outerHTML','getRange','insertContent','toView','_removeAttribute','filter','_createGetContentFn','operationsIsolated','suggestion:insertion:id:authorId:','getDiff','markerToElement','markerName','getChild','index','history','fire','_changePositionOwnerDocument','DocumentCompare','suggestion:deletion:id:authorId:','_groupAdjacentOperations','_eventEmitter','stringify','documentFragment','values','change','isIntersecting','has','add','_clone','getRoot','registerPostFixer','ck-ai_review-mode-marker_','ck-ai_review-mode-marker_context-end','getMarkerElementForChange','newRange','childCount','changeMarkerRemoved','getStart','split','suggestion-context','isTouching','closest','getChanges','createPositionAt','_changeRange','pop','name','isOfficialPlugin','rootName','get','toDomElement','createDocumentFragment','applyChange','for','concat','isDocumentOperation','createRange','clone','start','_findAdjacentContextDistance','markerToHighlight','parent','_getMarkersDataForGroup','_changeRangeOwnerDocument','remove-only','mouseover','differ','_domEmitter','batch','switchToReadOnly','conversion','jumpTo','htmlProcessor','ck-ai_review-mode-marker_strikethrough','ck-ai_review-mode-marker_context-','45yEmvim','$textProxy','editing','offsetSize','set','containsRange','rejectChange','2125745GJPmdz','attributeToAttribute','[data-marker-id=\x22','isInline','downcast','remove-context','hasClass','_haveOnlyInlineContent','hasContentBefore','_findMarkerElement','data-marker-id','context','addOperation','diffContent','_createGetContentUsingDataIdFn','from','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','target','_handleMarkerChanges','applyOperation','865938UqHYLV','getHtml','getShiftedBy','$graveyard','offset','markers','className','processor','getChangedMarkers','element','createSelection','_hasSameTopLevelElement','getDocumentData','plugins','[data-id=\x22','_insertMarkers','changeMarkerHovered','parentElement','addMarker','append','containerElement','_markers','_upsertDataId','includes','584RFwbBd','getPath','clear','toData','baseVersion','emitter','changeMarkerBlurred','keys','ck-ai_review-mode-marker_underline','every','AIEditing','ellipsisAfter','backward','ck-ai_review-mode-marker_add','clearAllMarkers','isOpening','insert','$markedRemove','_shiftOperation','isAtStart','text','type','_translateOperationToEditorContent','end','querySelector','5093944zBmXxs','hasAttribute','schema','_getOperationEnd','click','ellipsisBefore','version','createText','_appendChild','map','reviewmode-','elements','_removeChildren','switchToEdit','_validateMarkers','changeMarkerClick','dataDowncast','_changeOperationOwnerDocument','innerHTML','createRawElement','path','forward','_nextDataId','markChangePositionInEditorContent','2868260XLeUXu','_sortMarkers','parse'];_0x5065=function(){return _0x5bb26b;};return _0x5065();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x510ea6=_0xf04d;(function(_0x426cfd,_0x151547){const _0x57d6dc=_0xf04d,_0x2aadc1=_0x426cfd();while(!![]){try{const _0x4757bd=parseInt(_0x57d6dc(0x153))/0x1+parseInt(_0x57d6dc(0x143))/0x2*(-parseInt(_0x57d6dc(0x13b))/0x3)+-parseInt(_0x57d6dc(0x106))/0x4+parseInt(_0x57d6dc(0x14a))/0x5*(-parseInt(_0x57d6dc(0x130))/0x6)+parseInt(_0x57d6dc(0x138))/0x7*(-parseInt(_0x57d6dc(0x10b))/0x8)+-parseInt(_0x57d6dc(0x10e))/0x9+parseInt(_0x57d6dc(0x104))/0xa*(parseInt(_0x57d6dc(0x14c))/0xb);if(_0x4757bd===_0x151547)break;else _0x2aadc1['push'](_0x2aadc1['shift']());}catch(_0x1923af){_0x2aadc1['push'](_0x2aadc1['shift']());}}}(_0x3107,0xb860b));import{ContextPlugin as _0xc85d04}from'ckeditor5/src/core.js';import{IconAIReview as _0x5b28ba}from'ckeditor5/src/icons.js';import{BodyCollection as _0x11c106}from'ckeditor5/src/ui.js';import{AITabs as _0x42caf3}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x4168b0}from'./ui/aireviewmodeview.js';import{getTranslation as _0x4606fc}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x4acd72}from'./ui/aireviewmodeballoonsuggestionview.js';function _0xf04d(_0x520f5a,_0x437b1b){const _0x3107ce=_0x3107();return _0xf04d=function(_0xf04d8c,_0x435d3b){_0xf04d8c=_0xf04d8c-0xfd;let _0x2ca3d2=_0x3107ce[_0xf04d8c];return _0x2ca3d2;},_0xf04d(_0x520f5a,_0x437b1b);}import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x510ea6(0x158),_0x510ea6(0x12e),_0x510ea6(0x139),_0x510ea6(0x114),_0x510ea6(0x108),_0x510ea6(0x131),_0x510ea6(0xff),_0x510ea6(0x107),_0x510ea6(0xfe),_0x510ea6(0x13d),_0x510ea6(0x140),_0x510ea6(0x155)];function _0x3107(){const _0x570ab6=['showReviewCheckListView','setTitle','addCheckRunResult','leaveReviewMode','showDiffInBalloon','hideChangeBalloon','showCheckRunResult','showGeneralReviewModeErrorView','_reviewModeView','requires','error-general','forEach','runReviewCheck','resetActiveStateInResults','894DazlLr','leaveReviewModeResultList','showReviewCheckResultsView','hideDiffInBalloon','getChangeElement','init','AITabs','showReviewCheckList','6647116ojemhh','abortReviewStream','reviewMode','144MaScWO','locale','learnMore','destroy','hideActionsWhenResultIsReady','finishReview','outdated','reviewCheckListView','24294JNETxS','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','updateChangeState','showResult','context','showChunkErrorView','_bodyCollection','45040sPHpvn','deactivateChange','39458969ETxPHm','setItemAsActive','attachToDom','showNoChangesView','showActionsWhenResultIsReady','showBalloon','rejected','1169153ubsang','hideBalloon','retryReview','isOfficialPlugin','setChecks','getReviewCheckList','addTab','hasChecks','AIReviewModeUI','dismissChange','activateChange','view','showReviewCompletedView','isPremiumPlugin','accepted','10CzBkuR','hideResult','2239704AoSThF','acceptChange','acceptAllChanges','AI_REVIEW_MODE','activateTab','8XpflUQ','showGeneralResultsErrorView','setActiveStateInResults','5097231vkBEjf','plugins','element','showChangeBalloon','get','getResults','toggleDiff','_reviewModeBalloonSuggestionItemView','status','detachFromDom','error-chunk','fire','setAvailableChecks','delegate','find','showCheckRunResults','setItemAsInactive','pluginName','setCheckResultTitle','reviewCheckResultsView'];_0x3107=function(){return _0x570ab6;};return _0x3107();}export class AIReviewModeUI extends _0xc85d04{[_0x510ea6(0x12a)];[_0x510ea6(0x115)];[_0x510ea6(0x149)];static get[_0x510ea6(0x12b)](){return[_0x42caf3];}static get[_0x510ea6(0x11f)](){const _0x3d76ea=_0x510ea6;return _0x3d76ea(0xfd);}static get[_0x510ea6(0x156)](){return!0x0;}static get[_0x510ea6(0x102)](){return!0x0;}constructor(_0xf0097d){const _0x3f6105=_0x510ea6;super(_0xf0097d),this[_0x3f6105(0x149)]=new _0x11c106(this[_0x3f6105(0x147)][_0x3f6105(0x13c)]),this[_0x3f6105(0x149)][_0x3f6105(0x14e)](),this[_0x3f6105(0x12a)]=new _0x4168b0(this[_0x3f6105(0x147)][_0x3f6105(0x13c)]),this[_0x3f6105(0x12a)][_0x3f6105(0x11b)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x3f6105(0x115)]=new _0x4acd72(this[_0x3f6105(0x147)][_0x3f6105(0x13c)],this[_0x3f6105(0x149)]),this[_0x3f6105(0x115)][_0x3f6105(0x11b)](_0x3f6105(0x107),_0x3f6105(0xfe),_0x3f6105(0x14b))['to'](this);}[_0x510ea6(0x135)](){const _0x3d7c93=_0x510ea6,_0x1defb3=this[_0x3d7c93(0x147)][_0x3d7c93(0x10f)][_0x3d7c93(0x112)](_0x3d7c93(0x136));_0x1defb3[_0x3d7c93(0x100)]['on'](_0x3d7c93(0x10a),(_0x31aedc,_0x233cc0)=>{const _0x2a1ed5=_0x3d7c93;_0x2a1ed5(0x13a)===_0x233cc0?this[_0x2a1ed5(0x119)](_0x2a1ed5(0x158)):this[_0x2a1ed5(0x119)](_0x2a1ed5(0x125));}),_0x1defb3[_0x3d7c93(0x100)][_0x3d7c93(0x159)]({'id':_0x3d7c93(0x13a),'buttonLabel':_0x4606fc(this[_0x3d7c93(0x147)][_0x3d7c93(0x13c)],_0x3d7c93(0x109)),'buttonIcon':_0x5b28ba,'order':0x0,'content':this[_0x3d7c93(0x12a)]});}[_0x510ea6(0x13e)](){const _0x186e86=_0x510ea6;this[_0x186e86(0x149)][_0x186e86(0x117)](),super[_0x186e86(0x13e)]();}[_0x510ea6(0x11a)](_0x41d70b){const _0x18e093=_0x510ea6;this[_0x18e093(0x12a)][_0x18e093(0x142)][_0x18e093(0x15a)]()||this[_0x18e093(0x12a)][_0x18e093(0x142)][_0x18e093(0x157)](_0x41d70b),this[_0x18e093(0x12a)][_0x18e093(0x122)]();}[_0x510ea6(0x137)](){const _0x4770ec=_0x510ea6;this[_0x4770ec(0x119)](_0x4770ec(0x158));}[_0x510ea6(0x11d)](_0x41e9eb){const _0x37f8=_0x510ea6;_0x41e9eb&&(_0x37f8(0x12c)!==_0x41e9eb[_0x37f8(0x116)]?_0x37f8(0x118)!==_0x41e9eb[_0x37f8(0x116)]?this[_0x37f8(0x12a)][_0x37f8(0x132)]():this[_0x37f8(0x148)]():this[_0x37f8(0x10c)]());}[_0x510ea6(0x128)](_0x46c7f8){const _0x40fcef=_0x510ea6;this[_0x40fcef(0x12a)][_0x40fcef(0x124)](_0x46c7f8);}[_0x510ea6(0x10c)](){const _0x351cba=_0x510ea6;this[_0x351cba(0x12a)][_0x351cba(0x10c)]();}[_0x510ea6(0x129)](_0x1f0fa8){const _0x1f6e0d=_0x510ea6;this[_0x1f6e0d(0x12a)][_0x1f6e0d(0x129)](_0x1f0fa8??_0x4606fc(this[_0x1f6e0d(0x147)][_0x1f6e0d(0x13c)],_0x1f6e0d(0x144)));}[_0x510ea6(0x148)](){const _0x41dfab=_0x510ea6;this[_0x41dfab(0x12a)][_0x41dfab(0x148)]();}[_0x510ea6(0x120)](_0x2012e3,_0x298f01){const _0x22a75a=_0x510ea6;this[_0x22a75a(0x12a)][_0x22a75a(0x121)][_0x22a75a(0x123)](_0x2012e3,_0x298f01);}[_0x510ea6(0x10d)](_0x32f912){const _0x4addc8=_0x510ea6;this[_0x4addc8(0x12a)][_0x4addc8(0x121)][_0x4addc8(0x113)]()[_0x4addc8(0x12d)](_0x236047=>{const _0x515026=_0x4addc8;_0x236047['id']===_0x32f912&&_0x236047[_0x515026(0x14d)]();});}[_0x510ea6(0x12f)](){const _0x20fc63=_0x510ea6;this[_0x20fc63(0x12a)][_0x20fc63(0x121)][_0x20fc63(0x113)]()[_0x20fc63(0x12d)](_0x1faa49=>_0x1faa49[_0x20fc63(0x11e)]());}[_0x510ea6(0x145)](_0x193f3c,_0x6d069a){const _0x3e52c0=_0x510ea6;_0x3e52c0(0x103)===_0x6d069a||_0x3e52c0(0x152)===_0x6d069a||_0x3e52c0(0x141)===_0x6d069a?this[_0x3e52c0(0x12a)][_0x3e52c0(0x121)][_0x3e52c0(0x105)](_0x193f3c,_0x6d069a):this[_0x3e52c0(0x12a)][_0x3e52c0(0x121)][_0x3e52c0(0x146)](_0x193f3c,_0x6d069a);}[_0x510ea6(0x101)](){const _0x5e7175=_0x510ea6;this[_0x5e7175(0x12a)][_0x5e7175(0x101)]();}[_0x510ea6(0x150)](){const _0x451d14=_0x510ea6;this[_0x451d14(0x12a)][_0x451d14(0x150)]();}[_0x510ea6(0x14f)](){const _0x1187c3=_0x510ea6;this[_0x1187c3(0x12a)][_0x1187c3(0x14f)]();}[_0x510ea6(0x13f)](){const _0x509f48=_0x510ea6;this[_0x509f48(0x12a)][_0x509f48(0x13f)]();}[_0x510ea6(0x111)](_0x249e36,_0x401f76,_0x5b6780,_0x596131,_0x286c68,_0x52ab48){const _0x2f8e06=_0x510ea6;this[_0x2f8e06(0x115)][_0x2f8e06(0x151)](_0x249e36,_0x401f76,_0x5b6780,_0x596131,_0x286c68,_0x52ab48);}[_0x510ea6(0x127)](){const _0x5c5f3d=_0x510ea6;this[_0x5c5f3d(0x115)][_0x5c5f3d(0x154)]();}[_0x510ea6(0x133)](){const _0x1e699b=_0x510ea6;this[_0x1e699b(0x115)][_0x1e699b(0x133)]();}[_0x510ea6(0x126)](){const _0x43b14e=_0x510ea6;this[_0x43b14e(0x115)][_0x43b14e(0x126)]();}[_0x510ea6(0x134)](_0x143d74){const _0x345035=_0x510ea6,_0x128091=this[_0x345035(0x12a)][_0x345035(0x121)][_0x345035(0x113)]()[_0x345035(0x11c)](_0x1439c8=>_0x1439c8['id']===_0x143d74);return _0x128091?_0x128091[_0x345035(0x110)]:null;}[_0x510ea6(0x14b)](){const _0x186712=_0x510ea6;this[_0x186712(0x115)][_0x186712(0x14b)]();}}
23
+ const _0x232e7b=_0x33e8;(function(_0x14057b,_0x165525){const _0x24eefc=_0x33e8,_0x202b86=_0x14057b();while(!![]){try{const _0x440748=-parseInt(_0x24eefc(0x1b2))/0x1+parseInt(_0x24eefc(0x1b0))/0x2*(parseInt(_0x24eefc(0x1a2))/0x3)+parseInt(_0x24eefc(0x190))/0x4*(parseInt(_0x24eefc(0x1b7))/0x5)+parseInt(_0x24eefc(0x163))/0x6*(-parseInt(_0x24eefc(0x174))/0x7)+-parseInt(_0x24eefc(0x173))/0x8*(-parseInt(_0x24eefc(0x1a4))/0x9)+-parseInt(_0x24eefc(0x1ae))/0xa+-parseInt(_0x24eefc(0x184))/0xb*(-parseInt(_0x24eefc(0x18d))/0xc);if(_0x440748===_0x165525)break;else _0x202b86['push'](_0x202b86['shift']());}catch(_0x31fa0d){_0x202b86['push'](_0x202b86['shift']());}}}(_0xfa3d,0x34ab1));import{ContextPlugin as _0x3ce22d}from'ckeditor5/src/core.js';import{IconAIReview as _0x56073e}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5ab6bc}from'ckeditor5/src/ui.js';import{AITabs as _0x786c10}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x19e311}from'./ui/aireviewmodeview.js';function _0x33e8(_0x4c38f9,_0x2e8c36){const _0xfa3d9b=_0xfa3d();return _0x33e8=function(_0x33e8e1,_0x760c98){_0x33e8e1=_0x33e8e1-0x161;let _0x13c19d=_0xfa3d9b[_0x33e8e1];return _0x13c19d;},_0x33e8(_0x4c38f9,_0x2e8c36);}import{getTranslation as _0x4e0f8f}from'../aicore/utils/common-translations.js';function _0xfa3d(){const _0x26b1ad=['isOfficialPlugin','leaveReviewMode','deactivateChange','runReviewCheck','outdated','setAvailableChecks','showCheckRunResults','showReviewCheckListView','setChecks','89023bobzLA','AI_REVIEW_MODE','reviewMode','status','hasChecks','delegate','showReviewCheckResultsView','showCheckRunResult','reviewCheckListView','216CJsOCM','init','setItemAsInactive','268otjBpA','_reviewModeView','requires','addTab','setTitle','activateChange','showChunkErrorView','showGeneralReviewModeErrorView','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','abortReviewStream','hideBalloon','hideDiffInBalloon','plugins','detachFromDom','addCheckRunResult','showBalloon','showNoChangesView','activateTab','306237iEbCbB','showReviewCompletedView','9YGqkAP','setItemAsActive','error-general','leaveReviewModeResultList','getChangeElement','acceptAllChanges','fire','showChangeBalloon','error-chunk','retryReview','2314070OXwNXS','get','4MHMxDW','showDiffInBalloon','6977FtvPDb','isPremiumPlugin','setCheckResultTitle','finishReview','destroy','26095ZHMMvw','hideActionsWhenResultIsReady','find','getResults','rejected','getReviewCheckList','accepted','dismissChange','showActionsWhenResultIsReady','hideChangeBalloon','forEach','228UFwGRG','learnMore','reviewCheckResultsView','AIReviewModeUI','attachToDom','_bodyCollection','toggleDiff','hideResult','_reviewModeBalloonSuggestionItemView','showGeneralResultsErrorView','showReviewCheckList','resetActiveStateInResults','pluginName','AITabs','view','locale','661904jwJrlv','60445XNnxqr','context','acceptChange','element','updateChangeState','setActiveStateInResults','showResult'];_0xfa3d=function(){return _0x26b1ad;};return _0xfa3d();}import{AIReviewModeBalloonSuggestionItemView as _0x35773d}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x232e7b(0x1bc),_0x232e7b(0x17e),_0x232e7b(0x199),_0x232e7b(0x169),_0x232e7b(0x1a9),_0x232e7b(0x1a7),_0x232e7b(0x195),_0x232e7b(0x176),_0x232e7b(0x1be),_0x232e7b(0x164),_0x232e7b(0x1b5),_0x232e7b(0x1ad)];export class AIReviewModeUI extends _0x3ce22d{[_0x232e7b(0x191)];[_0x232e7b(0x16b)];[_0x232e7b(0x168)];static get[_0x232e7b(0x192)](){return[_0x786c10];}static get[_0x232e7b(0x16f)](){const _0x163f6b=_0x232e7b;return _0x163f6b(0x166);}static get[_0x232e7b(0x17b)](){return!0x0;}static get[_0x232e7b(0x1b3)](){return!0x0;}constructor(_0x480d83){const _0x1709e2=_0x232e7b;super(_0x480d83),this[_0x1709e2(0x168)]=new _0x5ab6bc(this[_0x1709e2(0x175)][_0x1709e2(0x172)]),this[_0x1709e2(0x168)][_0x1709e2(0x167)](),this[_0x1709e2(0x191)]=new _0x19e311(this[_0x1709e2(0x175)][_0x1709e2(0x172)]),this[_0x1709e2(0x191)][_0x1709e2(0x189)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x1709e2(0x16b)]=new _0x35773d(this[_0x1709e2(0x175)][_0x1709e2(0x172)],this[_0x1709e2(0x168)]),this[_0x1709e2(0x16b)][_0x1709e2(0x189)](_0x1709e2(0x176),_0x1709e2(0x1be),_0x1709e2(0x17d))['to'](this);}[_0x232e7b(0x18e)](){const _0x5c530d=_0x232e7b,_0x3eca75=this[_0x5c530d(0x175)][_0x5c530d(0x19c)][_0x5c530d(0x1af)](_0x5c530d(0x170));_0x3eca75[_0x5c530d(0x171)]['on'](_0x5c530d(0x1a1),(_0x7814c2,_0x1923c3)=>{const _0x18a69a=_0x5c530d;_0x18a69a(0x186)===_0x1923c3?this[_0x18a69a(0x1aa)](_0x18a69a(0x1bc)):this[_0x18a69a(0x1aa)](_0x18a69a(0x17c));}),_0x3eca75[_0x5c530d(0x171)][_0x5c530d(0x193)]({'id':_0x5c530d(0x186),'buttonLabel':_0x4e0f8f(this[_0x5c530d(0x175)][_0x5c530d(0x172)],_0x5c530d(0x185)),'buttonIcon':_0x56073e,'order':0x0,'content':this[_0x5c530d(0x191)]});}[_0x232e7b(0x1b6)](){const _0x2ff1d4=_0x232e7b;this[_0x2ff1d4(0x168)][_0x2ff1d4(0x19d)](),super[_0x2ff1d4(0x1b6)]();}[_0x232e7b(0x180)](_0x435465){const _0x358ad6=_0x232e7b;this[_0x358ad6(0x191)][_0x358ad6(0x18c)][_0x358ad6(0x188)]()||this[_0x358ad6(0x191)][_0x358ad6(0x18c)][_0x358ad6(0x183)](_0x435465),this[_0x358ad6(0x191)][_0x358ad6(0x182)]();}[_0x232e7b(0x16d)](){const _0x154a9b=_0x232e7b;this[_0x154a9b(0x1aa)](_0x154a9b(0x1bc));}[_0x232e7b(0x181)](_0x368d30){const _0x30b47b=_0x232e7b;_0x368d30&&(_0x30b47b(0x1a6)!==_0x368d30[_0x30b47b(0x187)]?_0x30b47b(0x1ac)!==_0x368d30[_0x30b47b(0x187)]?this[_0x30b47b(0x191)][_0x30b47b(0x18a)]():this[_0x30b47b(0x196)]():this[_0x30b47b(0x16c)]());}[_0x232e7b(0x18b)](_0x2285fa){const _0xf78bfa=_0x232e7b;this[_0xf78bfa(0x191)][_0xf78bfa(0x19e)](_0x2285fa);}[_0x232e7b(0x16c)](){const _0x5213d5=_0x232e7b;this[_0x5213d5(0x191)][_0x5213d5(0x16c)]();}[_0x232e7b(0x197)](_0x31b825){const _0x4343bc=_0x232e7b;this[_0x4343bc(0x191)][_0x4343bc(0x197)](_0x31b825??_0x4e0f8f(this[_0x4343bc(0x175)][_0x4343bc(0x172)],_0x4343bc(0x198)));}[_0x232e7b(0x196)](){const _0x4e4d78=_0x232e7b;this[_0x4e4d78(0x191)][_0x4e4d78(0x196)]();}[_0x232e7b(0x1b4)](_0x35400a,_0x36c87e){const _0x5a5996=_0x232e7b;this[_0x5a5996(0x191)][_0x5a5996(0x165)][_0x5a5996(0x194)](_0x35400a,_0x36c87e);}[_0x232e7b(0x179)](_0x3fd08){const _0x8afb0c=_0x232e7b;this[_0x8afb0c(0x191)][_0x8afb0c(0x165)][_0x8afb0c(0x1ba)]()[_0x8afb0c(0x162)](_0x79b570=>{const _0x4e6014=_0x8afb0c;_0x79b570['id']===_0x3fd08&&_0x79b570[_0x4e6014(0x1a5)]();});}[_0x232e7b(0x16e)](){const _0x5adbe5=_0x232e7b;this[_0x5adbe5(0x191)][_0x5adbe5(0x165)][_0x5adbe5(0x1ba)]()[_0x5adbe5(0x162)](_0x5ce624=>_0x5ce624[_0x5adbe5(0x18f)]());}[_0x232e7b(0x178)](_0x569377,_0x300b4a){const _0x51a559=_0x232e7b;_0x51a559(0x1bd)===_0x300b4a||_0x51a559(0x1bb)===_0x300b4a||_0x51a559(0x17f)===_0x300b4a?this[_0x51a559(0x191)][_0x51a559(0x165)][_0x51a559(0x16a)](_0x569377,_0x300b4a):this[_0x51a559(0x191)][_0x51a559(0x165)][_0x51a559(0x17a)](_0x569377,_0x300b4a);}[_0x232e7b(0x1a3)](){const _0x292541=_0x232e7b;this[_0x292541(0x191)][_0x292541(0x1a3)]();}[_0x232e7b(0x1bf)](){const _0x169e60=_0x232e7b;this[_0x169e60(0x191)][_0x169e60(0x1bf)]();}[_0x232e7b(0x1a0)](){const _0x273f61=_0x232e7b;this[_0x273f61(0x191)][_0x273f61(0x1a0)]();}[_0x232e7b(0x1b8)](){const _0x3259c2=_0x232e7b;this[_0x3259c2(0x191)][_0x3259c2(0x1b8)]();}[_0x232e7b(0x1ab)](_0x5c2697,_0x3dedc7,_0x1267c5,_0xa1ca36,_0x3ddbac,_0x5d1578){const _0xb144bb=_0x232e7b;this[_0xb144bb(0x16b)][_0xb144bb(0x19f)](_0x5c2697,_0x3dedc7,_0x1267c5,_0xa1ca36,_0x3ddbac,_0x5d1578);}[_0x232e7b(0x161)](){const _0x2bc1a0=_0x232e7b;this[_0x2bc1a0(0x16b)][_0x2bc1a0(0x19a)]();}[_0x232e7b(0x19b)](){const _0x28d817=_0x232e7b;this[_0x28d817(0x16b)][_0x28d817(0x19b)]();}[_0x232e7b(0x1b1)](){const _0xb34f5f=_0x232e7b;this[_0xb34f5f(0x16b)][_0xb34f5f(0x1b1)]();}[_0x232e7b(0x1a8)](_0x33cff0){const _0x9a7997=_0x232e7b,_0x1c0ad2=this[_0x9a7997(0x191)][_0x9a7997(0x165)][_0x9a7997(0x1ba)]()[_0x9a7997(0x1b9)](_0x19d56b=>_0x19d56b['id']===_0x33cff0);return _0x1c0ad2?_0x1c0ad2[_0x9a7997(0x177)]:null;}[_0x232e7b(0x17d)](){const _0x1be78d=_0x232e7b;this[_0x1be78d(0x16b)][_0x1be78d(0x17d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49aa92=_0x4eb7;(function(_0x17df4d,_0x20f2d4){const _0x46cba8=_0x4eb7,_0x311f11=_0x17df4d();while(!![]){try{const _0x239430=parseInt(_0x46cba8(0xb5))/0x1+-parseInt(_0x46cba8(0xed))/0x2*(-parseInt(_0x46cba8(0xe5))/0x3)+-parseInt(_0x46cba8(0xc3))/0x4+parseInt(_0x46cba8(0xd3))/0x5*(-parseInt(_0x46cba8(0xf1))/0x6)+parseInt(_0x46cba8(0xce))/0x7+parseInt(_0x46cba8(0xbb))/0x8+parseInt(_0x46cba8(0xf9))/0x9*(-parseInt(_0x46cba8(0xc9))/0xa);if(_0x239430===_0x20f2d4)break;else _0x311f11['push'](_0x311f11['shift']());}catch(_0x2143f5){_0x311f11['push'](_0x311f11['shift']());}}}(_0x33a3,0xe3591));function _0x33a3(){const _0x52d5ee=['isVisible','span[data-marker-id*=\x22','.ck-ai-review-mode__change_active','acceptChange','setTemplate','655581WvcmqE','arrow_se','_getBestRectPositionOnClick','ck-ai-review-mode-balloon-panel-suggestion','_pinnedRectIndex','contentDiffed','12665096YwzgHM','extendTemplate','right','unpin','ck-content','deactivateChange','ck-ai-review-mode__change_active','dismissChange','5240852EtLZyi','hide','content','classList','querySelectorAll','element','80sNGmWS','click','left','length','innerHTML','9030455TGVSIs','width','show','reverse','delegate','1835UlcDrU','hideBalloon','changeId','getBoundingClientRect','_setupClickOutsideHandler','replace','_getPointedRectIndexFromEvent','render','documentElement','locale','fire','clientX','_getBestRectPositionOnHover','getIntersection','bottom','add','position','hideDiffInBalloon','6717TtwOwN','top','_isPinnedRectVisible','div','set','hover','_createContentView','forEach','1182WpKVRF','document','bindTemplate','ck-reset','11460axlcks','_removeActiveClassFromMarkers','showDiffInBalloon','resultItemView','_setActiveClassOnMarker','clientY','arrow_','_pinnedTargetElement','2148336QbvgoQ','ck-ai-review-mode__suggestion-text','from','updateContent','remove','showDiff','isDiffActive','pin','resultResponseView','getClientRects','_pinnedTargetChangeId','push','showBalloon','ck-ai-review-mode-balloon-panel-suggestion_diff-active'];_0x33a3=function(){return _0x52d5ee;};return _0x33a3();}import{Rect as _0x308dbd,getConstrainedViewportRect as _0x326ff9,global as _0x4afeb9}from'ckeditor5/src/utils.js';function _0x4eb7(_0x4775d7,_0x1dc562){const _0x33a33b=_0x33a3();return _0x4eb7=function(_0x4eb750,_0xedfc79){_0x4eb750=_0x4eb750-0xa6;let _0x970c4a=_0x33a33b[_0x4eb750];return _0x970c4a;},_0x4eb7(_0x4775d7,_0x1dc562);}import{BalloonPanelView as _0x26502a,View as _0x343b20,clickOutsideHandler as _0x16413f}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0xb5a62b}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x26502a{[_0x49aa92(0xf4)];[_0x49aa92(0xb9)]=void 0x0;[_0x49aa92(0xf8)]=void 0x0;[_0x49aa92(0xac)]=void 0x0;constructor(_0x2cb42a,_0x4f5f3c){const _0x3b3cbf=_0x49aa92;super(_0x2cb42a),this[_0x3b3cbf(0xe9)]({'isVisible':!0x1,'position':_0x3b3cbf(0xb6),'class':null,'top':0x0,'left':0x0}),this[_0x3b3cbf(0xbc)]({'tag':_0x3b3cbf(0xe8),'attributes':{'class':[_0x3b3cbf(0xf0)],'tabindex':'-1'}}),this[_0x3b3cbf(0xe9)](_0x3b3cbf(0xa8),!0x1),this[_0x3b3cbf(0xc5)][_0x3b3cbf(0xe2)](this[_0x3b3cbf(0xeb)]()),_0x4f5f3c[_0x3b3cbf(0xe2)](this);}[_0x49aa92(0xda)](){const _0x25b810=_0x49aa92;super[_0x25b810(0xda)](),this[_0x25b810(0xd7)]();}[_0x49aa92(0xfc)](_0x5246c8){const _0x1bfcca=_0x49aa92;this[_0x1bfcca(0xf4)][_0x1bfcca(0xd5)]=_0x5246c8['id'],this[_0x1bfcca(0xf4)][_0x1bfcca(0xaa)][_0x1bfcca(0xc8)][_0x1bfcca(0xcd)]=_0x5246c8[_0x1bfcca(0xba)];}[_0x49aa92(0xae)](_0x46adcb,_0xd336e9,_0x487909,_0x353717,_0x11fe7b,_0x1bc88a){const _0x18f428=_0x49aa92;this[_0x18f428(0xf2)](),this[_0x18f428(0xfc)](_0x46adcb),this[_0x18f428(0xd0)]();const _0x1029cb=Array[_0x18f428(0xfb)](_0xd336e9[_0x18f428(0xab)]())[_0x18f428(0xd1)](),_0x5a784d=this[_0x18f428(0xd9)](_0x487909,_0x1029cb);_0x18f428(0xca)===_0x353717?(this[_0x18f428(0xa8)]=!0x0,this[_0x18f428(0xf5)](_0x46adcb['id']),this[_0x18f428(0xa9)]({'target':()=>this[_0x18f428(0xb7)](_0xd336e9,_0x5a784d,_0x46adcb['id'],_0x11fe7b,_0x1bc88a)})):_0x18f428(0xea)===_0x353717&&(this[_0x18f428(0xa8)]=!0x1,this[_0x18f428(0xa9)]({'target':()=>this[_0x18f428(0xdf)](_0xd336e9,_0x5a784d,_0x46adcb['id'])}));}[_0x49aa92(0xd4)](){const _0x685a2c=_0x49aa92;this[_0x685a2c(0xc4)](),this[_0x685a2c(0xbe)](),this[_0x685a2c(0xf2)](),this[_0x685a2c(0xb9)]=void 0x0,this[_0x685a2c(0xf8)]=void 0x0,this[_0x685a2c(0xac)]=void 0x0;}[_0x49aa92(0xe4)](){const _0x24b4be=_0x49aa92;this[_0x24b4be(0xf4)][_0x24b4be(0xa7)]=!0x1;}[_0x49aa92(0xf3)](){const _0x201a6a=_0x49aa92;this[_0x201a6a(0xf4)][_0x201a6a(0xa7)]=!0x0;}[_0x49aa92(0xc0)](){const _0x3ca122=_0x49aa92;this[_0x3ca122(0xdd)](_0x3ca122(0xc0));}[_0x49aa92(0xf2)](){const _0x485a62=_0x49aa92;_0x4afeb9[_0x485a62(0xee)][_0x485a62(0xc7)](_0x485a62(0xb2))[_0x485a62(0xec)](_0x7e5980=>{const _0x1bc5aa=_0x485a62;_0x7e5980[_0x1bc5aa(0xc6)][_0x1bc5aa(0xa6)](_0x1bc5aa(0xc1));});}[_0x49aa92(0xf5)](_0x2fb4d2){const _0x4a024b=_0x49aa92;_0x4afeb9[_0x4a024b(0xee)][_0x4a024b(0xc7)](_0x4a024b(0xb1)+_0x2fb4d2+'\x22]')[_0x4a024b(0xec)](_0x4d513f=>{const _0x24bb71=_0x4a024b;_0x4d513f[_0x24bb71(0xc6)][_0x24bb71(0xe2)](_0x24bb71(0xc1));});}[_0x49aa92(0xd7)](){const _0x14d64f=_0x49aa92;_0x16413f({'emitter':this,'activator':()=>this[_0x14d64f(0xb0)],'contextElements':()=>{const _0x26587e=_0x14d64f,_0x2da7c4=[this[_0x26587e(0xc8)]];return this[_0x26587e(0xf8)]&&_0x2da7c4[_0x26587e(0xad)](this[_0x26587e(0xf8)]),_0x2da7c4;},'callback':()=>{const _0x264e5e=_0x14d64f;this[_0x264e5e(0xc4)](),this[_0x264e5e(0xbe)](),this[_0x264e5e(0xf2)](),this[_0x264e5e(0xc0)](),this[_0x264e5e(0xf8)]=void 0x0,this[_0x264e5e(0xb9)]=void 0x0,this[_0x264e5e(0xac)]=void 0x0;}});}[_0x49aa92(0xeb)](){const _0x566533=_0x49aa92,_0x10661e=new _0x343b20();return this[_0x566533(0xf4)]=new _0xb5a62b(this[_0x566533(0xdc)],''),this[_0x566533(0xf4)][_0x566533(0xaa)][_0x566533(0xbc)]({'attributes':{'class':[_0x566533(0xbf)]}}),this[_0x566533(0xf4)][_0x566533(0xd2)](_0x566533(0xb3),_0x566533(0xc2))['to'](this),_0x10661e[_0x566533(0xb4)]({'tag':_0x566533(0xe8),'attributes':{'class':[_0x566533(0xf0),_0x566533(0xb8),this[_0x566533(0xef)]['if'](_0x566533(0xa8),_0x566533(0xaf))]},'children':[{'tag':'p','attributes':{'class':[_0x566533(0xfa)]},'children':[this[_0x566533(0xf4)]]}]}),_0x10661e;}[_0x49aa92(0xb7)](_0x2851fb,_0x2e4863,_0x17a4ac,_0x4ac0bf,_0x4f1de0){const _0x23145e=_0x49aa92,_0x5f367d=this[_0x23145e(0xe3)][_0x23145e(0xd8)](_0x23145e(0xf7),''),_0x5c517c=Array[_0x23145e(0xfb)](_0x2851fb[_0x23145e(0xab)]());let _0x19b851,_0x1866f5=_0x5c517c[_0x23145e(0xd1)]();return void 0x0!==_0x2e4863&&this[_0x23145e(0xe7)](_0x1866f5[_0x2e4863],_0x4ac0bf,_0x4f1de0)?(_0x19b851=_0x1866f5[_0x2e4863],this[_0x23145e(0xb9)]=_0x2e4863):this[_0x23145e(0xe7)](_0x1866f5[0x0],_0x4ac0bf,_0x4f1de0)&&void 0x0===_0x2e4863?_0x19b851=_0x1866f5[0x0]:(_0x1866f5='s'==_0x5f367d[0x0]?[..._0x5c517c][_0x23145e(0xd1)]():_0x5c517c,_0x1866f5[_0x23145e(0xec)](_0xaf2550=>{const _0x1a1ce3=_0x23145e;this[_0x1a1ce3(0xe7)](_0xaf2550,_0x4ac0bf,_0x4f1de0)&&(_0x19b851=_0xaf2550);})),this[_0x23145e(0xac)]=_0x17a4ac,this[_0x23145e(0xf8)]=_0x2851fb,_0x19b851||_0x2851fb[_0x23145e(0xd6)]();}[_0x49aa92(0xdf)](_0x291156,_0x7c9966,_0x2038f3){const _0x12d559=_0x49aa92,_0x3c7af8=Array[_0x12d559(0xfb)](_0x291156[_0x12d559(0xab)]())[_0x12d559(0xd1)]();if(void 0x0===this[_0x12d559(0xb9)]&&void 0x0!==_0x7c9966&&this[_0x12d559(0xac)]!==_0x2038f3)return this[_0x12d559(0xb9)]=_0x7c9966,this[_0x12d559(0xf8)]=_0x291156,this[_0x12d559(0xac)]=_0x2038f3,_0x3c7af8[_0x7c9966];if(void 0x0!==this[_0x12d559(0xb9)]&&this[_0x12d559(0xac)]===_0x2038f3){if(_0x291156!==this[_0x12d559(0xf8)])return Array[_0x12d559(0xfb)](this[_0x12d559(0xf8)][_0x12d559(0xab)]())[_0x12d559(0xd1)]()[this[_0x12d559(0xb9)]];return _0x3c7af8[this[_0x12d559(0xb9)]];}return void 0x0!==_0x7c9966&&this[_0x12d559(0xac)]!==_0x2038f3?(this[_0x12d559(0xb9)]=_0x7c9966,this[_0x12d559(0xf8)]=_0x291156,this[_0x12d559(0xac)]=_0x2038f3,_0x3c7af8[_0x7c9966]):_0x291156[_0x12d559(0xd6)]();}[_0x49aa92(0xd9)](_0x22454d,_0x9a43cf){const _0x4b9fe4=_0x49aa92;if(_0x22454d)for(let _0x1cf7ca=0x0;_0x1cf7ca<_0x9a43cf[_0x4b9fe4(0xcc)];_0x1cf7ca++){const _0x495107=_0x9a43cf[_0x1cf7ca];if(_0x22454d[_0x4b9fe4(0xde)]>=_0x495107[_0x4b9fe4(0xcb)]-0x3&&_0x22454d[_0x4b9fe4(0xde)]<=_0x495107[_0x4b9fe4(0xbd)]+0x3&&_0x22454d[_0x4b9fe4(0xf6)]>=_0x495107[_0x4b9fe4(0xe6)]-0x3&&_0x22454d[_0x4b9fe4(0xf6)]<=_0x495107[_0x4b9fe4(0xe1)]+0x3)return _0x1cf7ca;}}[_0x49aa92(0xe7)](_0x5cdad1,_0xf8b6cb,_0x1beef6){const _0x503977=_0x49aa92,_0x56fef6=new _0x308dbd(_0x5cdad1),_0x432446=_0xf8b6cb||document[_0x503977(0xdb)],_0x2867aa=_0x56fef6[_0x503977(0xe0)](_0x326ff9(_0x1beef6)),_0x149ca7=new _0x308dbd(_0x432446)[_0x503977(0xe0)](_0x56fef6);return!!(_0x2867aa&&_0x149ca7&&_0x56fef6[_0x503977(0xcf)]>0x0);}}
23
+ function _0x523d(_0x23ffa4,_0x53f69e){const _0x26fd6b=_0x26fd();return _0x523d=function(_0x523de1,_0x4ee91e){_0x523de1=_0x523de1-0x138;let _0x289f5a=_0x26fd6b[_0x523de1];return _0x289f5a;},_0x523d(_0x23ffa4,_0x53f69e);}const _0x4c9708=_0x523d;(function(_0x3d2edc,_0x1b5932){const _0x1140d6=_0x523d,_0x55e1c1=_0x3d2edc();while(!![]){try{const _0x122c75=-parseInt(_0x1140d6(0x16a))/0x1*(-parseInt(_0x1140d6(0x146))/0x2)+-parseInt(_0x1140d6(0x145))/0x3*(parseInt(_0x1140d6(0x18b))/0x4)+parseInt(_0x1140d6(0x152))/0x5+parseInt(_0x1140d6(0x160))/0x6+-parseInt(_0x1140d6(0x18e))/0x7*(-parseInt(_0x1140d6(0x13e))/0x8)+parseInt(_0x1140d6(0x14a))/0x9*(-parseInt(_0x1140d6(0x142))/0xa)+-parseInt(_0x1140d6(0x171))/0xb*(parseInt(_0x1140d6(0x16c))/0xc);if(_0x122c75===_0x1b5932)break;else _0x55e1c1['push'](_0x55e1c1['shift']());}catch(_0x486658){_0x55e1c1['push'](_0x55e1c1['shift']());}}}(_0x26fd,0x5fc56));import{Rect as _0x5173d3,getConstrainedViewportRect as _0x34c7c9,global as _0x3b26ad}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x42669d,View as _0x3c9bcc,clickOutsideHandler as _0x971788}from'ckeditor5/src/ui.js';function _0x26fd(){const _0x424ae8=['_isPinnedRectVisible','top','classList','arrow_se','ck-ai-review-mode__suggestion-text','updateContent','resultResponseView','showDiff','fire','arrow_','showDiffInBalloon','_setupClickOutsideHandler','delegate','unpin','div','innerHTML','_pinnedTargetElement','_setActiveClassOnMarker','forEach','316FQHjZD','clientY','_createContentView','7HjJanO','reverse','_getBestRectPositionOnHover','push','span[data-marker-id*=\x22','element','_getPointedRectIndexFromEvent','ck-ai-review-mode__change_active','_removeActiveClassFromMarkers','4182488brzDjF','showBalloon','pin','isDiffActive','10BpDEGW','document','documentElement','17349xrWsYZ','134GsFZOx','resultItemView','click','getBoundingClientRect','1609371qLKBjR','right','changeId','width','hideDiffInBalloon','isVisible','getIntersection','render','1358000uDBhky','_pinnedRectIndex','locale','content','contentDiffed','ck-content','_pinnedTargetChangeId','extendTemplate','ck-reset','dismissChange','ck-ai-review-mode-balloon-panel-suggestion_diff-active','set','acceptChange','hideBalloon','415848tOTxcW','from','bindTemplate','hover','getClientRects','querySelectorAll','replace','hide','left','deactivateChange','8577rkOMQQ','bottom','4704MbQCWm','_getBestRectPositionOnClick','add','length','position','11517WkTBtd','remove','show','clientX','ck-ai-review-mode-balloon-panel-suggestion','setTemplate','.ck-ai-review-mode__change_active'];_0x26fd=function(){return _0x424ae8;};return _0x26fd();}import{AIReviewModeReviewCheckListItemResultsView as _0xb7e54}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x42669d{[_0x4c9708(0x147)];[_0x4c9708(0x153)]=void 0x0;[_0x4c9708(0x188)]=void 0x0;[_0x4c9708(0x158)]=void 0x0;constructor(_0x405347,_0x2c0543){const _0x4fbf0b=_0x4c9708;super(_0x405347),this[_0x4fbf0b(0x15d)]({'isVisible':!0x1,'position':_0x4fbf0b(0x17b),'class':null,'top':0x0,'left':0x0}),this[_0x4fbf0b(0x159)]({'tag':_0x4fbf0b(0x186),'attributes':{'class':[_0x4fbf0b(0x15a)],'tabindex':'-1'}}),this[_0x4fbf0b(0x15d)](_0x4fbf0b(0x141),!0x1),this[_0x4fbf0b(0x155)][_0x4fbf0b(0x16e)](this[_0x4fbf0b(0x18d)]()),_0x2c0543[_0x4fbf0b(0x16e)](this);}[_0x4c9708(0x151)](){const _0x4dab7b=_0x4c9708;super[_0x4dab7b(0x151)](),this[_0x4dab7b(0x183)]();}[_0x4c9708(0x17d)](_0x15a796){const _0x44741c=_0x4c9708;this[_0x44741c(0x147)][_0x44741c(0x14c)]=_0x15a796['id'],this[_0x44741c(0x147)][_0x44741c(0x17e)][_0x44741c(0x13a)][_0x44741c(0x187)]=_0x15a796[_0x44741c(0x156)];}[_0x4c9708(0x13f)](_0x40143f,_0x36ed2c,_0x43914c,_0x5283cb,_0x4c488d,_0x594668){const _0x4b4a39=_0x4c9708;this[_0x4b4a39(0x13d)](),this[_0x4b4a39(0x17d)](_0x40143f),this[_0x4b4a39(0x173)]();const _0x6ab895=Array[_0x4b4a39(0x161)](_0x36ed2c[_0x4b4a39(0x164)]())[_0x4b4a39(0x18f)](),_0x5c2e13=this[_0x4b4a39(0x13b)](_0x43914c,_0x6ab895);_0x4b4a39(0x148)===_0x5283cb?(this[_0x4b4a39(0x141)]=!0x0,this[_0x4b4a39(0x189)](_0x40143f['id']),this[_0x4b4a39(0x140)]({'target':()=>this[_0x4b4a39(0x16d)](_0x36ed2c,_0x5c2e13,_0x40143f['id'],_0x4c488d,_0x594668)})):_0x4b4a39(0x163)===_0x5283cb&&(this[_0x4b4a39(0x141)]=!0x1,this[_0x4b4a39(0x140)]({'target':()=>this[_0x4b4a39(0x190)](_0x36ed2c,_0x5c2e13,_0x40143f['id'])}));}[_0x4c9708(0x15f)](){const _0x50f215=_0x4c9708;this[_0x50f215(0x167)](),this[_0x50f215(0x185)](),this[_0x50f215(0x13d)](),this[_0x50f215(0x153)]=void 0x0,this[_0x50f215(0x188)]=void 0x0,this[_0x50f215(0x158)]=void 0x0;}[_0x4c9708(0x14e)](){const _0x2e4e3c=_0x4c9708;this[_0x2e4e3c(0x147)][_0x2e4e3c(0x17f)]=!0x1;}[_0x4c9708(0x182)](){const _0x357048=_0x4c9708;this[_0x357048(0x147)][_0x357048(0x17f)]=!0x0;}[_0x4c9708(0x169)](){const _0x72b7d8=_0x4c9708;this[_0x72b7d8(0x180)](_0x72b7d8(0x169));}[_0x4c9708(0x13d)](){const _0x53815c=_0x4c9708;_0x3b26ad[_0x53815c(0x143)][_0x53815c(0x165)](_0x53815c(0x177))[_0x53815c(0x18a)](_0x5a998f=>{const _0xdb242f=_0x53815c;_0x5a998f[_0xdb242f(0x17a)][_0xdb242f(0x172)](_0xdb242f(0x13c));});}[_0x4c9708(0x189)](_0x300221){const _0x1d4530=_0x4c9708;_0x3b26ad[_0x1d4530(0x143)][_0x1d4530(0x165)](_0x1d4530(0x139)+_0x300221+'\x22]')[_0x1d4530(0x18a)](_0x45475b=>{const _0x3b0640=_0x1d4530;_0x45475b[_0x3b0640(0x17a)][_0x3b0640(0x16e)](_0x3b0640(0x13c));});}[_0x4c9708(0x183)](){const _0x296581=_0x4c9708;_0x971788({'emitter':this,'activator':()=>this[_0x296581(0x14f)],'contextElements':()=>{const _0x356414=_0x296581,_0x949436=[this[_0x356414(0x13a)]];return this[_0x356414(0x188)]&&_0x949436[_0x356414(0x138)](this[_0x356414(0x188)]),_0x949436;},'callback':()=>{const _0x5070c4=_0x296581;this[_0x5070c4(0x167)](),this[_0x5070c4(0x185)](),this[_0x5070c4(0x13d)](),this[_0x5070c4(0x169)](),this[_0x5070c4(0x188)]=void 0x0,this[_0x5070c4(0x153)]=void 0x0,this[_0x5070c4(0x158)]=void 0x0;}});}[_0x4c9708(0x18d)](){const _0x4949b6=_0x4c9708,_0x3151c9=new _0x3c9bcc();return this[_0x4949b6(0x147)]=new _0xb7e54(this[_0x4949b6(0x154)],''),this[_0x4949b6(0x147)][_0x4949b6(0x17e)][_0x4949b6(0x159)]({'attributes':{'class':[_0x4949b6(0x157)]}}),this[_0x4949b6(0x147)][_0x4949b6(0x184)](_0x4949b6(0x15e),_0x4949b6(0x15b))['to'](this),_0x3151c9[_0x4949b6(0x176)]({'tag':_0x4949b6(0x186),'attributes':{'class':[_0x4949b6(0x15a),_0x4949b6(0x175),this[_0x4949b6(0x162)]['if'](_0x4949b6(0x141),_0x4949b6(0x15c))]},'children':[{'tag':'p','attributes':{'class':[_0x4949b6(0x17c)]},'children':[this[_0x4949b6(0x147)]]}]}),_0x3151c9;}[_0x4c9708(0x16d)](_0x59f216,_0x163516,_0x132a3f,_0xe59769,_0x1d7c00){const _0x56f1b1=_0x4c9708,_0x372c6e=this[_0x56f1b1(0x170)][_0x56f1b1(0x166)](_0x56f1b1(0x181),''),_0x7f476b=Array[_0x56f1b1(0x161)](_0x59f216[_0x56f1b1(0x164)]());let _0x29c78a,_0x520f55=_0x7f476b[_0x56f1b1(0x18f)]();return void 0x0!==_0x163516&&this[_0x56f1b1(0x178)](_0x520f55[_0x163516],_0xe59769,_0x1d7c00)?(_0x29c78a=_0x520f55[_0x163516],this[_0x56f1b1(0x153)]=_0x163516):this[_0x56f1b1(0x178)](_0x520f55[0x0],_0xe59769,_0x1d7c00)&&void 0x0===_0x163516?_0x29c78a=_0x520f55[0x0]:(_0x520f55='s'==_0x372c6e[0x0]?[..._0x7f476b][_0x56f1b1(0x18f)]():_0x7f476b,_0x520f55[_0x56f1b1(0x18a)](_0x5329c8=>{const _0xc70c4=_0x56f1b1;this[_0xc70c4(0x178)](_0x5329c8,_0xe59769,_0x1d7c00)&&(_0x29c78a=_0x5329c8);})),this[_0x56f1b1(0x158)]=_0x132a3f,this[_0x56f1b1(0x188)]=_0x59f216,_0x29c78a||_0x59f216[_0x56f1b1(0x149)]();}[_0x4c9708(0x190)](_0x48e318,_0x3c60b1,_0x56282d){const _0x3ce207=_0x4c9708,_0x1b39e1=Array[_0x3ce207(0x161)](_0x48e318[_0x3ce207(0x164)]())[_0x3ce207(0x18f)]();if(void 0x0===this[_0x3ce207(0x153)]&&void 0x0!==_0x3c60b1&&this[_0x3ce207(0x158)]!==_0x56282d)return this[_0x3ce207(0x153)]=_0x3c60b1,this[_0x3ce207(0x188)]=_0x48e318,this[_0x3ce207(0x158)]=_0x56282d,_0x1b39e1[_0x3c60b1];if(void 0x0!==this[_0x3ce207(0x153)]&&this[_0x3ce207(0x158)]===_0x56282d){if(_0x48e318!==this[_0x3ce207(0x188)])return Array[_0x3ce207(0x161)](this[_0x3ce207(0x188)][_0x3ce207(0x164)]())[_0x3ce207(0x18f)]()[this[_0x3ce207(0x153)]];return _0x1b39e1[this[_0x3ce207(0x153)]];}return void 0x0!==_0x3c60b1&&this[_0x3ce207(0x158)]!==_0x56282d?(this[_0x3ce207(0x153)]=_0x3c60b1,this[_0x3ce207(0x188)]=_0x48e318,this[_0x3ce207(0x158)]=_0x56282d,_0x1b39e1[_0x3c60b1]):_0x48e318[_0x3ce207(0x149)]();}[_0x4c9708(0x13b)](_0x1b1fad,_0x4b7330){const _0x3a8d2a=_0x4c9708;if(_0x1b1fad)for(let _0x317298=0x0;_0x317298<_0x4b7330[_0x3a8d2a(0x16f)];_0x317298++){const _0x35b928=_0x4b7330[_0x317298];if(_0x1b1fad[_0x3a8d2a(0x174)]>=_0x35b928[_0x3a8d2a(0x168)]-0x3&&_0x1b1fad[_0x3a8d2a(0x174)]<=_0x35b928[_0x3a8d2a(0x14b)]+0x3&&_0x1b1fad[_0x3a8d2a(0x18c)]>=_0x35b928[_0x3a8d2a(0x179)]-0x3&&_0x1b1fad[_0x3a8d2a(0x18c)]<=_0x35b928[_0x3a8d2a(0x16b)]+0x3)return _0x317298;}}[_0x4c9708(0x178)](_0x518dd8,_0x5eea3,_0x2760c6){const _0x4ad1f8=_0x4c9708,_0x573310=new _0x5173d3(_0x518dd8),_0x2161cb=_0x5eea3||document[_0x4ad1f8(0x144)],_0x26d917=_0x573310[_0x4ad1f8(0x150)](_0x34c7c9(_0x2760c6)),_0x36a7e5=new _0x5173d3(_0x2161cb)[_0x4ad1f8(0x150)](_0x573310);return!!(_0x26d917&&_0x36a7e5&&_0x573310[_0x4ad1f8(0x14d)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44cce8=_0x2bde;(function(_0x51f4e6,_0x3491ef){const _0x4fb4df=_0x2bde,_0x231801=_0x51f4e6();while(!![]){try{const _0x16873c=parseInt(_0x4fb4df(0x1fd))/0x1+-parseInt(_0x4fb4df(0x208))/0x2*(parseInt(_0x4fb4df(0x1e1))/0x3)+-parseInt(_0x4fb4df(0x1c4))/0x4+-parseInt(_0x4fb4df(0x1fa))/0x5*(parseInt(_0x4fb4df(0x1d2))/0x6)+parseInt(_0x4fb4df(0x1dd))/0x7*(parseInt(_0x4fb4df(0x1de))/0x8)+parseInt(_0x4fb4df(0x1c0))/0x9+-parseInt(_0x4fb4df(0x206))/0xa*(parseInt(_0x4fb4df(0x1db))/0xb);if(_0x16873c===_0x3491ef)break;else _0x231801['push'](_0x231801['shift']());}catch(_0x5a8366){_0x231801['push'](_0x231801['shift']());}}}(_0xec2a,0x316e8));import{View as _0x36f6e5,ButtonView as _0x2d45be}from'ckeditor5/src/ui.js';import{IconInfo as _0x4f4c00,IconCheck as _0x4b01ab,IconCancel as _0x27155e,IconOutdated as _0x1e8042}from'ckeditor5/src/icons.js';import{getTranslation as _0x94fae9}from'../../aicore/utils/common-translations.js';function _0x2bde(_0x3271b2,_0x4c546a){const _0xec2a85=_0xec2a();return _0x2bde=function(_0x2bde69,_0x2d8140){_0x2bde69=_0x2bde69-0x1c0;let _0x450ac1=_0xec2a85[_0x2bde69];return _0x450ac1;},_0x2bde(_0x3271b2,_0x4c546a);}export class AIReviewModeReviewCheckListItemResultsView extends _0x36f6e5{[_0x44cce8(0x205)];[_0x44cce8(0x1e4)];[_0x44cce8(0x1f8)];[_0x44cce8(0x1ed)];[_0x44cce8(0x1cf)];constructor(_0x242c0c,_0x544f42){const _0x262e6b=_0x44cce8;super(_0x242c0c),this['id']=_0x544f42,this[_0x262e6b(0x1d9)](_0x262e6b(0x200),_0x262e6b(0x1e3)),this[_0x262e6b(0x1d9)](_0x262e6b(0x1f1),_0x544f42),this[_0x262e6b(0x205)]=this[_0x262e6b(0x1f7)](),this[_0x262e6b(0x1e4)]=this[_0x262e6b(0x203)](),this[_0x262e6b(0x1f8)]=this[_0x262e6b(0x1d6)](),this[_0x262e6b(0x1ed)]=this[_0x262e6b(0x1f9)](),this[_0x262e6b(0x1cf)]=this[_0x262e6b(0x1f0)](),this[_0x262e6b(0x1d9)](_0x262e6b(0x1eb),!0x1),this[_0x262e6b(0x1d9)](_0x262e6b(0x1cd),!0x1),this[_0x262e6b(0x1d9)](_0x262e6b(0x1fe),!0x0),this[_0x262e6b(0x1c6)]({'tag':_0x262e6b(0x1e0),'attributes':{'class':[_0x262e6b(0x1f5),this[_0x262e6b(0x207)]['if'](_0x262e6b(0x1cd),_0x262e6b(0x1f3))]},'on':{'click':this[_0x262e6b(0x207)]['to'](_0x262e6b(0x1fc))},'children':[this[_0x262e6b(0x205)],{'tag':_0x262e6b(0x1e0),'attributes':{'class':[_0x262e6b(0x1da)]},'children':[{'tag':_0x262e6b(0x1e0),'attributes':{'class':[_0x262e6b(0x1fb)]},'children':[this[_0x262e6b(0x1e4)],this[_0x262e6b(0x1f8)],this[_0x262e6b(0x1cf)]]},this[_0x262e6b(0x1ed)]]}]}),this['on'](_0x262e6b(0x1fc),()=>{const _0xab6038=_0x262e6b;this[_0xab6038(0x1d4)](_0xab6038(0x1d8),{'id':_0x544f42,'source':this});});}[_0x44cce8(0x1d5)](){const _0x300054=_0x44cce8;this[_0x300054(0x1cd)]=!0x0;}[_0x44cce8(0x1f6)](){const _0x45549c=_0x44cce8;this[_0x45549c(0x1cd)]=!0x1;}[_0x44cce8(0x1f7)](){const _0x328999=_0x44cce8,_0xa972c4=new _0x36f6e5(this[_0x328999(0x1c9)]);return _0xa972c4[_0x328999(0x1c6)]({'tag':_0x328999(0x1e0),'attributes':{'class':['ck',_0x328999(0x1c7),_0x328999(0x204),_0x328999(0x1ea),this[_0x328999(0x207)]['if'](_0x328999(0x1fe),_0x328999(0x1e2),_0x5d2671=>!_0x5d2671)]}}),_0xa972c4;}[_0x44cce8(0x203)](){const _0x4a0450=_0x44cce8,_0x49ac43=new _0x2d45be(this[_0x4a0450(0x1c9)]);return _0x49ac43[_0x4a0450(0x1d9)]({'label':_0x94fae9(this[_0x4a0450(0x1c9)],_0x4a0450(0x1ec)),'withText':!0x0}),_0x49ac43[_0x4a0450(0x1c8)]({'on':{'click':this[_0x4a0450(0x207)]['to'](_0x1eea3b=>{const _0x37cb28=_0x4a0450;this[_0x37cb28(0x1d4)](_0x37cb28(0x1d7),{'id':this[_0x37cb28(0x1f1)]}),_0x1eea3b[_0x37cb28(0x1c1)]();})},'attributes':{'class':[_0x4a0450(0x1ef),_0x4a0450(0x1f2),this[_0x4a0450(0x207)]['if'](_0x4a0450(0x200),_0x4a0450(0x1e2),_0x3be857=>_0x4a0450(0x1e3)!==_0x3be857&&_0x4a0450(0x1cc)!==_0x3be857),this[_0x4a0450(0x207)]['if'](_0x4a0450(0x200),_0x4a0450(0x1f2),_0x16b509=>_0x4a0450(0x1e3)===_0x16b509),this[_0x4a0450(0x207)]['if'](_0x4a0450(0x200),_0x4a0450(0x1c2),_0x1d0684=>_0x4a0450(0x1cc)===_0x1d0684)]}}),this['on'](_0x4a0450(0x1c3),(_0x56c3ae,_0x1b0788,_0x109cce)=>{const _0x1ad7e6=_0x4a0450;_0x49ac43[_0x1ad7e6(0x1e6)]=!0x1,_0x1ad7e6(0x1cc)===_0x109cce&&(_0x49ac43[_0x1ad7e6(0x1e7)]=_0x94fae9(this[_0x1ad7e6(0x1c9)],_0x1ad7e6(0x201)),_0x49ac43[_0x1ad7e6(0x1e9)]=_0x4b01ab);}),_0x49ac43;}[_0x44cce8(0x1d6)](){const _0x26143a=_0x44cce8,_0x2e0929=new _0x2d45be(this[_0x26143a(0x1c9)]);return _0x2e0929[_0x26143a(0x1d9)]({'label':_0x94fae9(this[_0x26143a(0x1c9)],_0x26143a(0x1ca)),'withText':!0x0}),_0x2e0929[_0x26143a(0x1c8)]({'on':{'click':this[_0x26143a(0x207)]['to'](_0x3bf2d6=>{const _0x3adea5=_0x26143a;this[_0x3adea5(0x1d4)](_0x3adea5(0x1e5),{'id':this[_0x3adea5(0x1f1)]}),_0x3bf2d6[_0x3adea5(0x1c1)]();})},'attributes':{'class':[_0x26143a(0x1df),this[_0x26143a(0x207)]['if'](_0x26143a(0x200),_0x26143a(0x1e2),_0x5e8daf=>_0x26143a(0x1e3)!==_0x5e8daf&&_0x26143a(0x1c5)!==_0x5e8daf),this[_0x26143a(0x207)]['if'](_0x26143a(0x200),_0x26143a(0x1ee),_0x1dd8b7=>_0x26143a(0x1e3)===_0x1dd8b7),this[_0x26143a(0x207)]['if'](_0x26143a(0x200),_0x26143a(0x1c2),_0x1ef8fb=>_0x26143a(0x1c5)===_0x1ef8fb)]}}),this['on'](_0x26143a(0x1c3),(_0x3e4a48,_0xda64f0,_0x4c7888)=>{const _0x51ca08=_0x26143a;_0x2e0929[_0x51ca08(0x1e6)]=!0x1,_0x51ca08(0x1c5)===_0x4c7888&&(_0x2e0929[_0x51ca08(0x1e7)]=_0x94fae9(this[_0x51ca08(0x1c9)],_0x51ca08(0x1f4)),_0x2e0929[_0x51ca08(0x1e9)]=_0x27155e);}),_0x2e0929;}[_0x44cce8(0x1f9)](){const _0x49a8b1=_0x44cce8,_0x5c9d09=new _0x2d45be(this[_0x49a8b1(0x1c9)]);return _0x5c9d09[_0x49a8b1(0x1d9)]({'label':_0x94fae9(this[_0x49a8b1(0x1c9)],_0x49a8b1(0x1dc)),'icon':_0x4f4c00,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x49a8b1(0x1e8),'class':_0x49a8b1(0x202)}),_0x5c9d09[_0x49a8b1(0x1ff)](_0x49a8b1(0x1d1))['to'](this,_0x49a8b1(0x1eb),_0x2def13=>_0x2def13),_0x5c9d09['on'](_0x49a8b1(0x1ce),()=>{const _0x547816=_0x49a8b1;this[_0x547816(0x1eb)]=!this[_0x547816(0x1eb)];}),_0x5c9d09;}[_0x44cce8(0x1f0)](){const _0x4a3596=_0x44cce8,_0x21f407=new _0x2d45be(this[_0x4a3596(0x1c9)]);return _0x21f407[_0x4a3596(0x1d9)]({'label':_0x94fae9(this[_0x4a3596(0x1c9)],_0x4a3596(0x1d0)),'icon':_0x1e8042,'withText':!0x0,'isEnabled':!0x1}),_0x21f407[_0x4a3596(0x1c8)]({'attributes':{'class':[_0x4a3596(0x1ef),_0x4a3596(0x1c2),this[_0x4a3596(0x207)]['if'](_0x4a3596(0x200),_0x4a3596(0x1e2),_0x52ca28=>_0x4a3596(0x1cb)!==_0x52ca28)],'disabled':_0x4a3596(0x1d3)}}),_0x21f407;}}function _0xec2a(){const _0x28b99e=['infoButtonView','ck-ai-review-mode__check-run-result-dismiss-button','ck-ai-button-secondary','_createOutdatedButtonView','changeId','ck-ai-review-mode__check-run-result-accept-button','ck-ai-review-mode__check-run-result_active','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','ck-ai-review-mode__check-run-result','setItemAsInactive','_createResultResponseView','dismissButtonView','_createInfoButtonView','25zknupQ','ck-ai-review-mode__check-run-result-action-buttons','click','187012uPHYJU','showDiff','bind','status','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','_createAcceptButtonView','ck-content-direct-excluded','resultResponseView','522050tKjdJT','bindTemplate','2NmYOHq','327195tCgJim','stopPropagation','ck-ai-review-mode__check-run-result-status-button','change:status','30940wDuhCe','rejected','setTemplate','ck-content','extendTemplate','locale','AI_REVIEW_MODE_DISMISS_CHANGE','outdated','accepted','isActive','execute','outdatedButtonView','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','isOn','180552VwPgJy','disabled','fire','setItemAsActive','_createDismissButtonView','acceptChange','activateChange','set','ck-ai-review-mode__check-run-result-footer','22KpVLus','AI_REVIEW_MODE_LEARN_MORE','2775353pZCtrg','8mXKBiV','ck-ai-button-tertiary-filled','div','464307ndGKic','ck-hidden','pending','acceptButtonView','dismissChange','isEnabled','label','menuitemcheckbox','icon','ck-ai-review-mode__check-run-result-response','isInfoToggleOn','AI_REVIEW_MODE_ACCEPT_CHANGE'];_0xec2a=function(){return _0x28b99e;};return _0xec2a();}
23
+ function _0x101d(_0x2ef088,_0x45f430){const _0x1688be=_0x1688();return _0x101d=function(_0x101dde,_0x39962a){_0x101dde=_0x101dde-0xdb;let _0xdfe006=_0x1688be[_0x101dde];return _0xdfe006;},_0x101d(_0x2ef088,_0x45f430);}function _0x1688(){const _0xddc19c=['disabled','ck-ai-review-mode__check-run-result-action-buttons','resultResponseView','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','ck-ai-button-secondary','pending','98790ocUGLt','rejected','setTemplate','_createDismissButtonView','isInfoToggleOn','fire','click','extendTemplate','isEnabled','execute','_createOutdatedButtonView','ck-hidden','637263YBYMyT','setItemAsActive','status','dismissButtonView','showDiff','_createAcceptButtonView','setItemAsInactive','acceptChange','activateChange','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','1314bhuFOG','ck-ai-review-mode__check-run-result-footer','change:status','acceptButtonView','menuitemcheckbox','div','outdated','stopPropagation','accepted','ck-ai-review-mode__check-run-result-dismiss-button','locale','1023844MZlKTh','AI_REVIEW_MODE_LEARN_MORE','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','562120fkFODv','3618237mZpcHG','ck-content','isOn','1322336ztufXk','ck-ai-review-mode__check-run-result-accept-button','AI_REVIEW_MODE_DISMISS_CHANGE','dismissChange','ck-ai-button-tertiary-filled','_createResultResponseView','ck-content-direct-excluded','outdatedButtonView','ck-ai-review-mode__check-run-result-status-button','bind','icon','ck-ai-review-mode__check-run-result-response','infoButtonView','AI_REVIEW_MODE_ACCEPT_CHANGE','isActive','changeId','label','ck-ai-review-mode__check-run-result_active','3025NNnPAP','set','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-review-mode__check-run-result','_createInfoButtonView','bindTemplate'];_0x1688=function(){return _0xddc19c;};return _0x1688();}const _0x358336=_0x101d;(function(_0x276ca2,_0x419dc9){const _0x5ceccb=_0x101d,_0x2b9c5a=_0x276ca2();while(!![]){try{const _0x8d4010=parseInt(_0x5ceccb(0x117))/0x1+-parseInt(_0x5ceccb(0xed))/0x2+parseInt(_0x5ceccb(0x10b))/0x3+-parseInt(_0x5ceccb(0xe6))/0x4+-parseInt(_0x5ceccb(0xff))/0x5*(-parseInt(_0x5ceccb(0xdb))/0x6)+parseInt(_0x5ceccb(0xea))/0x7+-parseInt(_0x5ceccb(0xe9))/0x8;if(_0x8d4010===_0x419dc9)break;else _0x2b9c5a['push'](_0x2b9c5a['shift']());}catch(_0x589035){_0x2b9c5a['push'](_0x2b9c5a['shift']());}}}(_0x1688,0x51199));import{View as _0x495832,ButtonView as _0x2c8b02}from'ckeditor5/src/ui.js';import{IconInfo as _0x2e94fa,IconCheck as _0x34e849,IconCancel as _0x187729,IconOutdated as _0x349a47}from'ckeditor5/src/icons.js';import{getTranslation as _0x15c18f}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x495832{[_0x358336(0x107)];[_0x358336(0xde)];[_0x358336(0x11a)];[_0x358336(0xf9)];[_0x358336(0xf4)];constructor(_0x1c0c82,_0x37c320){const _0x29013f=_0x358336;super(_0x1c0c82),this['id']=_0x37c320,this[_0x29013f(0x100)](_0x29013f(0x119),_0x29013f(0x10a)),this[_0x29013f(0x100)](_0x29013f(0xfc),_0x37c320),this[_0x29013f(0x107)]=this[_0x29013f(0xf2)](),this[_0x29013f(0xde)]=this[_0x29013f(0x11c)](),this[_0x29013f(0x11a)]=this[_0x29013f(0x10e)](),this[_0x29013f(0xf9)]=this[_0x29013f(0x103)](),this[_0x29013f(0xf4)]=this[_0x29013f(0x115)](),this[_0x29013f(0x100)](_0x29013f(0x10f),!0x1),this[_0x29013f(0x100)](_0x29013f(0xfb),!0x1),this[_0x29013f(0x100)](_0x29013f(0x11b),!0x0),this[_0x29013f(0x10d)]({'tag':_0x29013f(0xe0),'attributes':{'class':[_0x29013f(0x102),this[_0x29013f(0x104)]['if'](_0x29013f(0xfb),_0x29013f(0xfe))]},'on':{'click':this[_0x29013f(0x104)]['to'](_0x29013f(0x111))},'children':[this[_0x29013f(0x107)],{'tag':_0x29013f(0xe0),'attributes':{'class':[_0x29013f(0xdc)]},'children':[{'tag':_0x29013f(0xe0),'attributes':{'class':[_0x29013f(0x106)]},'children':[this[_0x29013f(0xde)],this[_0x29013f(0x11a)],this[_0x29013f(0xf4)]]},this[_0x29013f(0xf9)]]}]}),this['on'](_0x29013f(0x111),()=>{const _0x590464=_0x29013f;this[_0x590464(0x110)](_0x590464(0x11f),{'id':_0x37c320,'source':this});});}[_0x358336(0x118)](){const _0x39d979=_0x358336;this[_0x39d979(0xfb)]=!0x0;}[_0x358336(0x11d)](){const _0x4aaf42=_0x358336;this[_0x4aaf42(0xfb)]=!0x1;}[_0x358336(0xf2)](){const _0x5c0401=_0x358336,_0x55ccc6=new _0x495832(this[_0x5c0401(0xe5)]);return _0x55ccc6[_0x5c0401(0x10d)]({'tag':_0x5c0401(0xe0),'attributes':{'class':['ck',_0x5c0401(0xeb),_0x5c0401(0xf3),_0x5c0401(0xf8),this[_0x5c0401(0x104)]['if'](_0x5c0401(0x11b),_0x5c0401(0x116),_0x536a44=>!_0x536a44)]}}),_0x55ccc6;}[_0x358336(0x11c)](){const _0xfd765a=_0x358336,_0x78c21=new _0x2c8b02(this[_0xfd765a(0xe5)]);return _0x78c21[_0xfd765a(0x100)]({'label':_0x15c18f(this[_0xfd765a(0xe5)],_0xfd765a(0xfa)),'withText':!0x0}),_0x78c21[_0xfd765a(0x112)]({'on':{'click':this[_0xfd765a(0x104)]['to'](_0x2eb007=>{const _0x525935=_0xfd765a;this[_0x525935(0x110)](_0x525935(0x11e),{'id':this[_0x525935(0xfc)]}),_0x2eb007[_0x525935(0xe2)]();})},'attributes':{'class':[_0xfd765a(0x109),_0xfd765a(0xee),this[_0xfd765a(0x104)]['if'](_0xfd765a(0x119),_0xfd765a(0x116),_0x510a05=>_0xfd765a(0x10a)!==_0x510a05&&_0xfd765a(0xe3)!==_0x510a05),this[_0xfd765a(0x104)]['if'](_0xfd765a(0x119),_0xfd765a(0xee),_0x15bf7a=>_0xfd765a(0x10a)===_0x15bf7a),this[_0xfd765a(0x104)]['if'](_0xfd765a(0x119),_0xfd765a(0xf5),_0x24bd39=>_0xfd765a(0xe3)===_0x24bd39)]}}),this['on'](_0xfd765a(0xdd),(_0x45797d,_0x591dda,_0x3dfade)=>{const _0x5ea3f7=_0xfd765a;_0x78c21[_0x5ea3f7(0x113)]=!0x1,_0x5ea3f7(0xe3)===_0x3dfade&&(_0x78c21[_0x5ea3f7(0xfd)]=_0x15c18f(this[_0x5ea3f7(0xe5)],_0x5ea3f7(0x101)),_0x78c21[_0x5ea3f7(0xf7)]=_0x34e849);}),_0x78c21;}[_0x358336(0x10e)](){const _0xefaafd=_0x358336,_0x56b6fa=new _0x2c8b02(this[_0xefaafd(0xe5)]);return _0x56b6fa[_0xefaafd(0x100)]({'label':_0x15c18f(this[_0xefaafd(0xe5)],_0xefaafd(0xef)),'withText':!0x0}),_0x56b6fa[_0xefaafd(0x112)]({'on':{'click':this[_0xefaafd(0x104)]['to'](_0x444911=>{const _0x4bf57d=_0xefaafd;this[_0x4bf57d(0x110)](_0x4bf57d(0xf0),{'id':this[_0x4bf57d(0xfc)]}),_0x444911[_0x4bf57d(0xe2)]();})},'attributes':{'class':[_0xefaafd(0xf1),this[_0xefaafd(0x104)]['if'](_0xefaafd(0x119),_0xefaafd(0x116),_0xd2604a=>_0xefaafd(0x10a)!==_0xd2604a&&_0xefaafd(0x10c)!==_0xd2604a),this[_0xefaafd(0x104)]['if'](_0xefaafd(0x119),_0xefaafd(0xe4),_0x250f8b=>_0xefaafd(0x10a)===_0x250f8b),this[_0xefaafd(0x104)]['if'](_0xefaafd(0x119),_0xefaafd(0xf5),_0xd16f47=>_0xefaafd(0x10c)===_0xd16f47)]}}),this['on'](_0xefaafd(0xdd),(_0x5ea381,_0x524460,_0xfa5c96)=>{const _0x1edefd=_0xefaafd;_0x56b6fa[_0x1edefd(0x113)]=!0x1,_0x1edefd(0x10c)===_0xfa5c96&&(_0x56b6fa[_0x1edefd(0xfd)]=_0x15c18f(this[_0x1edefd(0xe5)],_0x1edefd(0x120)),_0x56b6fa[_0x1edefd(0xf7)]=_0x187729);}),_0x56b6fa;}[_0x358336(0x103)](){const _0x18a3a6=_0x358336,_0x3c5db5=new _0x2c8b02(this[_0x18a3a6(0xe5)]);return _0x3c5db5[_0x18a3a6(0x100)]({'label':_0x15c18f(this[_0x18a3a6(0xe5)],_0x18a3a6(0xe7)),'icon':_0x2e94fa,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x18a3a6(0xdf),'class':_0x18a3a6(0xe8)}),_0x3c5db5[_0x18a3a6(0xf6)](_0x18a3a6(0xec))['to'](this,_0x18a3a6(0x10f),_0x574721=>_0x574721),_0x3c5db5['on'](_0x18a3a6(0x114),()=>{const _0x8d008=_0x18a3a6;this[_0x8d008(0x10f)]=!this[_0x8d008(0x10f)];}),_0x3c5db5;}[_0x358336(0x115)](){const _0x5a0ed1=_0x358336,_0x518c98=new _0x2c8b02(this[_0x5a0ed1(0xe5)]);return _0x518c98[_0x5a0ed1(0x100)]({'label':_0x15c18f(this[_0x5a0ed1(0xe5)],_0x5a0ed1(0x108)),'icon':_0x349a47,'withText':!0x0,'isEnabled':!0x1}),_0x518c98[_0x5a0ed1(0x112)]({'attributes':{'class':[_0x5a0ed1(0x109),_0x5a0ed1(0xf5),this[_0x5a0ed1(0x104)]['if'](_0x5a0ed1(0x119),_0x5a0ed1(0x116),_0x2e0d5f=>_0x5a0ed1(0xe1)!==_0x2e0d5f)],'disabled':_0x5a0ed1(0x105)}}),_0x518c98;}}