@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 47.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43a269=_0x33ea;(function(_0x365631,_0x188944){const _0x530e8c=_0x33ea,_0x3956bb=_0x365631();while(!![]){try{const _0x47dd9b=-parseInt(_0x530e8c(0x1a0))/0x1+-parseInt(_0x530e8c(0x17b))/0x2+parseInt(_0x530e8c(0x16e))/0x3+parseInt(_0x530e8c(0x171))/0x4*(parseInt(_0x530e8c(0x1a7))/0x5)+parseInt(_0x530e8c(0x186))/0x6*(parseInt(_0x530e8c(0x187))/0x7)+-parseInt(_0x530e8c(0x185))/0x8+-parseInt(_0x530e8c(0x193))/0x9;if(_0x47dd9b===_0x188944)break;else _0x3956bb['push'](_0x3956bb['shift']());}catch(_0x1c9c9d){_0x3956bb['push'](_0x3956bb['shift']());}}}(_0xc699,0x9de3f));function _0xc699(){const _0x1ea1d3=['_createActionButton','role','.ck-ai-quick-actions-group-button','show','menu','actions','icon','_createGroupActionsList','729344lFUmLS','focus','ck-ai-quick-actions','focusTracker','ck-ai-quick-actions-group-list','optionsListView','eastSouth','120350NhNjCz','detachFromDom','setTemplate','ck-dropdown-menu-list','clear','forEach','ArrowRight','keystrokes','delete','_isMovingToNestedMenu','addMany','_openNestedPanels','key','rtl','get','_setupGroupMenuBehavior','element','ck-reset_all','addEventListener','bindTemplate','pin','relatedTarget','2590392DLxHAp','div','isVisible','136NHGJFA','uiLanguageDirection','hide','content','menuitem','contains','_bodyCollection','_hideAllNestedPanels','.ck-ai-quick-actions-group-list','ArrowLeft','1051492xEtAsG','ck-ai-quick-actions-group-panel','items','_showNestedPanel','.ck-ai-quick-actions-group-panel','extendTemplate','ck-ai-quick-actions-group-button','children','_createActionGroupButton','focusCycler','6847704sudSHw','982266LieUNv','49ndrWXl','ck-rounded-corners','_hideNestedPanel','locale','isOn','add','label','closest','render','_focusables','_createListItems','bind','630441OyQSrT','ck-dropdown-menu__nested-menu__panel','mouseleave','set','destroy'];_0xc699=function(){return _0x1ea1d3;};return _0xc699();}import{View as _0x3fa52c,ListItemView as _0x16334b,ListView as _0x3c7bae,BalloonPanelView as _0x509522,DropdownMenuPanelPositioningFunctions as _0x3f043c,DropdownMenuButtonView as _0x478feb,ViewCollection as _0x354668,FocusCycler as _0x55177f}from'ckeditor5/src/ui.js';function _0x33ea(_0x3fd80f,_0x2caa44){const _0xc6995d=_0xc699();return _0x33ea=function(_0x33ea6b,_0x4dc583){_0x33ea6b=_0x33ea6b-0x16b;let _0x1ff75c=_0xc6995d[_0x33ea6b];return _0x1ff75c;},_0x33ea(_0x3fd80f,_0x2caa44);}import{IconAIQuickActions as _0x443748}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0xd0bc01,KeystrokeHandler as _0x2a367e}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x2542e4}from'./aiquickactionsbuttoncreator.js';const ys=_0x43a269(0x19c),vs=_0x43a269(0x175);export class AIQuickActionsDropdownContentView extends _0x3fa52c{[_0x43a269(0x177)];[_0x43a269(0x1a5)];[_0x43a269(0x1a3)];[_0x43a269(0x1ae)];[_0x43a269(0x190)];[_0x43a269(0x184)];[_0x43a269(0x1b2)]=new Set();constructor(_0x5f375f,_0x58a96a,_0x5bcee2,_0x79d5ac){const _0x1611a1=_0x43a269,_0xacc1ea=_0x5f375f[_0x1611a1(0x18a)];super(_0xacc1ea),this[_0x1611a1(0x177)]=_0x79d5ac;const _0x1e8358=this[_0x1611a1(0x191)](_0x5f375f,_0x58a96a,_0x5bcee2);this[_0x1611a1(0x1a5)]=new _0x3c7bae(_0xacc1ea),this[_0x1611a1(0x1a5)][_0x1611a1(0x199)]=ys,this[_0x1611a1(0x1a5)][_0x1611a1(0x17d)][_0x1611a1(0x1b1)](_0x1e8358),this[_0x1611a1(0x1a3)]=new _0xd0bc01(),this[_0x1611a1(0x1ae)]=new _0x2a367e(),this[_0x1611a1(0x190)]=_0x1e8358,this[_0x1611a1(0x184)]=new _0x55177f({'focusables':this[_0x1611a1(0x190)],'focusTracker':this[_0x1611a1(0x1a3)],'keystrokeHandler':this[_0x1611a1(0x1ae)]}),this[_0x1611a1(0x1a9)]({'tag':_0x1611a1(0x16f),'attributes':{'class':['ck',_0x1611a1(0x1b8),_0x1611a1(0x1a2),_0x1611a1(0x188)],'dir':_0xacc1ea[_0x1611a1(0x172)]},'children':[this[_0x1611a1(0x1a5)]]});}[_0x43a269(0x191)](_0x5c0ce4,_0x1eb6fd,_0x18faf0){const _0x3102b8=_0x43a269,_0x474694=new _0x354668();return _0x1eb6fd[_0x3102b8(0x1ac)](_0xfbabc2=>{const _0x434f37=_0x3102b8;_0x434f37(0x19d)in _0xfbabc2?_0x474694[_0x434f37(0x18c)](this[_0x434f37(0x183)](_0x5c0ce4,_0xfbabc2,_0x18faf0)):_0x474694[_0x434f37(0x18c)](this[_0x434f37(0x198)](_0x5c0ce4,_0xfbabc2));}),_0x474694;}[_0x43a269(0x198)](_0x387197,_0x1fe2b0){const _0x47eac9=_0x43a269,_0x6a14bc=new _0x16334b(this[_0x47eac9(0x18a)]),_0x320882=_0x2542e4(_0x387197,_0x1fe2b0,!0x0,void 0x0!==_0x1fe2b0[_0x47eac9(0x19e)])();return _0x6a14bc[_0x47eac9(0x182)][_0x47eac9(0x18c)](_0x320882),_0x6a14bc;}[_0x43a269(0x183)](_0x2be897,_0x2cdc59,_0x158391){const _0xa892d=_0x43a269,_0x86f51c=new _0x16334b(this[_0xa892d(0x18a)]),_0x475403=new _0x478feb(this[_0xa892d(0x18a)]),_0x5a97d6=_0x475403[_0xa892d(0x16b)],_0x586cba=_0xa892d(0x1b4)===_0x158391[_0xa892d(0x18a)][_0xa892d(0x172)]?_0xa892d(0x1ad):_0xa892d(0x17a),_0x55c3fe=this[_0xa892d(0x19f)](_0x2be897,_0x2cdc59[_0xa892d(0x19d)],_0x158391);_0x475403[_0xa892d(0x196)]({'label':_0x2cdc59[_0xa892d(0x18d)],'withText':!0x0,'role':vs,'icon':_0x2cdc59[_0xa892d(0x19e)]??_0x443748}),_0x475403[_0xa892d(0x180)]({'on':{'mouseenter':_0x5a97d6['to'](()=>{const _0x4c8b78=_0xa892d;_0x475403[_0x4c8b78(0x1a1)]();})}});const _0x1af9e2=new _0x509522(this[_0xa892d(0x18a)]);return _0x1af9e2[_0xa892d(0x180)]({'attributes':{'class':['ck',_0xa892d(0x1b8),_0xa892d(0x17c),_0xa892d(0x194)]},'on':{'keydown':_0x5a97d6['to'](_0x80ad6b=>{const _0x9c5dad=_0xa892d;_0x80ad6b[_0x9c5dad(0x1b3)]==_0x586cba&&(_0x475403[_0x9c5dad(0x1a1)](),this[_0x9c5dad(0x189)](_0x1af9e2));})}}),_0x475403[_0xa892d(0x192)](_0xa892d(0x18b))['to'](_0x1af9e2,_0xa892d(0x170)),this[_0xa892d(0x177)][_0xa892d(0x18c)](_0x1af9e2),_0x1af9e2[_0xa892d(0x174)][_0xa892d(0x18c)](_0x55c3fe),this[_0xa892d(0x1b6)](_0x475403,_0x1af9e2),_0x86f51c[_0xa892d(0x182)][_0xa892d(0x18c)](_0x475403),_0x86f51c;}[_0x43a269(0x19f)](_0x899618,_0xed7f86,_0x16d19c){const _0x3ebb19=_0x43a269,_0x4a0cdc=new _0x3c7bae(this[_0x3ebb19(0x18a)]);return _0x4a0cdc[_0x3ebb19(0x180)]({'attributes':{'class':['ck',_0x3ebb19(0x1b8),_0x3ebb19(0x1a4),_0x3ebb19(0x1aa)]}}),_0xed7f86[_0x3ebb19(0x1ac)](_0x40a154=>{const _0x46c420=_0x3ebb19,_0x209914=new _0x16334b(this[_0x46c420(0x18a)]),_0x16539a=_0x2542e4(_0x899618,_0x40a154,!0x0,!0x1)();_0x209914[_0x46c420(0x182)][_0x46c420(0x18c)](_0x16539a),_0x16d19c[_0x46c420(0x1a3)][_0x46c420(0x18c)](_0x16539a),_0x4a0cdc[_0x46c420(0x17d)][_0x46c420(0x18c)](_0x209914);}),_0x4a0cdc;}[_0x43a269(0x1b6)](_0xdf6786,_0x249485){const _0x1f26f7=_0x43a269,_0x3bc355=_0xdf6786[_0x1f26f7(0x16b)],_0x4bbe7a=_0x1f26f7(0x1b4)===_0xdf6786[_0x1f26f7(0x18a)][_0x1f26f7(0x172)]?_0x1f26f7(0x17a):_0x1f26f7(0x1ad);_0xdf6786[_0x1f26f7(0x180)]({'attributes':{'class':[_0x1f26f7(0x181)]},'on':{'mouseenter':_0x3bc355['to'](()=>{const _0x32cedb=_0x1f26f7;this[_0x32cedb(0x17e)](_0x249485,_0xdf6786);}),'mouseleave':_0x3bc355['to'](_0x16b276=>{const _0xb6a4b7=_0x1f26f7,_0x29e22a=_0x16b276[_0xb6a4b7(0x16d)];this[_0xb6a4b7(0x1b0)](_0x29e22a,_0x249485)||this[_0xb6a4b7(0x189)](_0x249485);}),'keydown':_0x3bc355['to'](_0x3db692=>{const _0x57098d=_0x1f26f7;_0x3db692[_0x57098d(0x1b3)]==_0x4bbe7a&&(this[_0x57098d(0x17e)](_0x249485,_0xdf6786),_0x249485[_0x57098d(0x174)][_0x57098d(0x1b5)](0x0)[_0x57098d(0x1a1)]());})}}),_0x249485['on'](_0x1f26f7(0x18f),()=>{const _0x2595e1=_0x1f26f7;_0x249485[_0x2595e1(0x1b7)]?.[_0x2595e1(0x1b9)](_0x2595e1(0x195),_0x511a60=>{const _0x13ba9a=_0x2595e1,_0xa5688a=_0x511a60[_0x13ba9a(0x16d)];_0xdf6786[_0x13ba9a(0x1b7)]?.[_0x13ba9a(0x176)](_0xa5688a)||this[_0x13ba9a(0x1b0)](_0xa5688a,_0x249485)||this[_0x13ba9a(0x189)](_0x249485);});});}[_0x43a269(0x17e)](_0x9c4772,_0x21e760){const _0xd09162=_0x43a269;this[_0xd09162(0x1b2)][_0xd09162(0x1ac)](_0x3d1256=>{const _0x5bba62=_0xd09162;_0x3d1256!==_0x9c4772&&_0x3d1256[_0x5bba62(0x170)]&&_0x3d1256[_0x5bba62(0x173)]();}),_0x9c4772[_0xd09162(0x19b)](),_0x9c4772[_0xd09162(0x16c)]({'positions':[_0x3f043c[_0xd09162(0x1a6)]],'target':_0x21e760[_0xd09162(0x1b7)],'fitInViewport':!0x0}),this[_0xd09162(0x1b2)][_0xd09162(0x18c)](_0x9c4772);}[_0x43a269(0x189)](_0x58e36d){const _0x116654=_0x43a269;_0x58e36d[_0x116654(0x173)](),this[_0x116654(0x1b2)][_0x116654(0x1af)](_0x58e36d);}[_0x43a269(0x178)](){const _0x5d24e4=_0x43a269;this[_0x5d24e4(0x1b2)][_0x5d24e4(0x1ac)](_0x4d289f=>_0x4d289f[_0x5d24e4(0x173)]()),this[_0x5d24e4(0x1b2)][_0x5d24e4(0x1ab)]();}[_0x43a269(0x1b0)](_0x405ebe,_0x16d600){const _0x5a38ea=_0x43a269;if(!_0x405ebe)return!0x1;if(_0x16d600[_0x5a38ea(0x1b7)]?.[_0x5a38ea(0x176)](_0x405ebe))return!0x0;const _0x2f2c5b=_0x405ebe;return _0x2f2c5b[_0x5a38ea(0x18e)]&&(null!==_0x2f2c5b[_0x5a38ea(0x18e)](_0x5a38ea(0x17f))||null!==_0x2f2c5b[_0x5a38ea(0x18e)](_0x5a38ea(0x179))||null!==_0x2f2c5b[_0x5a38ea(0x18e)](_0x5a38ea(0x19a)));}[_0x43a269(0x197)](){const _0x39b329=_0x43a269;this[_0x39b329(0x178)](),this[_0x39b329(0x177)][_0x39b329(0x1a8)](),super[_0x39b329(0x197)]();}[_0x43a269(0x1a1)](){const _0x5440c8=_0x43a269;this[_0x5440c8(0x1a5)][_0x5440c8(0x1a1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x45c889,_0x2e3233){const _0x2dd06e=_0xdc11,_0x5ba70d=_0x45c889();while(!![]){try{const _0x576578=parseInt(_0x2dd06e(0x180))/0x1+parseInt(_0x2dd06e(0x17a))/0x2*(-parseInt(_0x2dd06e(0x185))/0x3)+-parseInt(_0x2dd06e(0x181))/0x4+-parseInt(_0x2dd06e(0x182))/0x5+-parseInt(_0x2dd06e(0x17f))/0x6*(-parseInt(_0x2dd06e(0x17e))/0x7)+-parseInt(_0x2dd06e(0x178))/0x8*(parseInt(_0x2dd06e(0x188))/0x9)+parseInt(_0x2dd06e(0x18a))/0xa;if(_0x576578===_0x2e3233)break;else _0x5ba70d['push'](_0x5ba70d['shift']());}catch(_0x1e4f55){_0x5ba70d['push'](_0x5ba70d['shift']());}}}(_0x281b,0x207e2));import{createDropdown as _0x269db5}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x20d79e}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x450aee}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x40d360,_0x22b67b,_0x1e6540,_0x83c5b8){return()=>{const _0x1b625a=_0xdc11,_0x4e80e7=_0x40d360[_0x1b625a(0x187)],_0x2822cc=_0x269db5(_0x4e80e7);_0x2822cc[_0x1b625a(0x184)][_0x1b625a(0x189)]({'icon':_0x1e6540[_0x1b625a(0x17b)]??_0x20d79e,'label':_0x1e6540[_0x1b625a(0x186)],'tooltip':!0x0}),_0x2822cc[_0x1b625a(0x189)]({'class':_0x1b625a(0x179)});const _0x96e663=new _0x450aee(_0x40d360,_0x22b67b,_0x2822cc,_0x83c5b8);return _0x2822cc[_0x1b625a(0x17c)][_0x1b625a(0x17d)][_0x1b625a(0x183)](_0x96e663),_0x2822cc;};}function _0xdc11(_0x18e437,_0x4e3474){const _0x281b5c=_0x281b();return _0xdc11=function(_0xdc11cf,_0x4435fa){_0xdc11cf=_0xdc11cf-0x178;let _0x4ab6e3=_0x281b5c[_0xdc11cf];return _0x4ab6e3;},_0xdc11(_0x18e437,_0x4e3474);}function _0x281b(){const _0x27cd53=['3961040NnHUCS','664FPZLae','ck-ai-quick-actions-dropdown','5834dYchku','icon','panelView','children','262745BoJbiD','12UQthLs','44011pSPIFO','423568WOetNW','661100xZLWJI','add','buttonView','36EfLbSN','label','locale','11817QDhXbd','set'];_0x281b=function(){return _0x27cd53;};return _0x281b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2116e8=_0x35bf;(function(_0x466b81,_0x365b41){var _0x59c122=_0x35bf,_0x48337d=_0x466b81();while(!![]){try{var _0x1d1c42=-parseInt(_0x59c122(0xb6))/0x1+parseInt(_0x59c122(0xbd))/0x2+-parseInt(_0x59c122(0xc1))/0x3*(-parseInt(_0x59c122(0xb5))/0x4)+parseInt(_0x59c122(0xb3))/0x5*(parseInt(_0x59c122(0xbc))/0x6)+parseInt(_0x59c122(0xc0))/0x7*(parseInt(_0x59c122(0xc2))/0x8)+-parseInt(_0x59c122(0xbb))/0x9+parseInt(_0x59c122(0xb8))/0xa*(-parseInt(_0x59c122(0xb7))/0xb);if(_0x1d1c42===_0x365b41)break;else _0x48337d['push'](_0x48337d['shift']());}catch(_0x2eb99e){_0x48337d['push'](_0x48337d['shift']());}}}(_0xcd65,0x70a66));import{ContextPlugin as _0x1c26d9}from'ckeditor5/src/core.js';import{AIReviewModeController as _0xaf7617}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x57fd73}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x564aef}from'./aireviewmodeediting.js';function _0x35bf(_0x931d4d,_0x4e151c){var _0xcd6560=_0xcd65();return _0x35bf=function(_0x35bfa2,_0x4049da){_0x35bfa2=_0x35bfa2-0xb3;var _0x2c646f=_0xcd6560[_0x35bfa2];return _0x2c646f;},_0x35bf(_0x931d4d,_0x4e151c);}export class AIReviewMode extends _0x1c26d9{static get[_0x2116e8(0xbf)](){return[_0xaf7617,_0x57fd73,_0x564aef];}static get[_0x2116e8(0xb4)](){var _0x1a5685=_0x2116e8;return _0x1a5685(0xbe);}static get[_0x2116e8(0xb9)](){return!0x0;}static get[_0x2116e8(0xba)](){return!0x0;}}function _0xcd65(){var _0x56e694=['isPremiumPlugin','852201xvQajX','6NhLiLb','384728xtCUvs','AIReviewMode','requires','14OkakAs','15CRQBXh','1290488AQyLsl','1793645EUqEsE','pluginName','520192HDKPin','388917kmoStb','1529OkbBwM','41650ISOCMP','isOfficialPlugin'];_0xcd65=function(){return _0x56e694;};return _0xcd65();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1aff0b=_0x3466;(function(_0x3fd833,_0x5a72e9){const _0x2e44cc=_0x3466,_0x953800=_0x3fd833();while(!![]){try{const _0x2b404d=-parseInt(_0x2e44cc(0x23b))/0x1*(-parseInt(_0x2e44cc(0x1aa))/0x2)+-parseInt(_0x2e44cc(0x22a))/0x3*(-parseInt(_0x2e44cc(0x214))/0x4)+-parseInt(_0x2e44cc(0x1b4))/0x5*(-parseInt(_0x2e44cc(0x246))/0x6)+parseInt(_0x2e44cc(0x219))/0x7+parseInt(_0x2e44cc(0x1f6))/0x8+-parseInt(_0x2e44cc(0x20e))/0x9*(-parseInt(_0x2e44cc(0x213))/0xa)+parseInt(_0x2e44cc(0x239))/0xb*(-parseInt(_0x2e44cc(0x1c4))/0xc);if(_0x2b404d===_0x5a72e9)break;else _0x953800['push'](_0x953800['shift']());}catch(_0x4e3d31){_0x953800['push'](_0x953800['shift']());}}}(_0x447d,0x39a22));import{ContextPlugin as _0x3d0f09}from'ckeditor5/src/core.js';import{CKEditorError as _0x50c1c0,logError as _0x51da8c,scrollAncestorsToShowTarget as _0x654390,scrollViewportToShowTarget as _0x542a20}from'ckeditor5/src/utils.js';import{AIConnector as _0x30bf70}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x2548b1}from'./model/aireviewchecklist.js';function _0x447d(){const _0xf28f09=['948670XRVtdg','28XOYMmb','_TITLE','message','showReviewCheckList','getEditor','1031583dHadlH','aborted','leaveReviewMode','switchToEdit','changeMarkerRemoved','_onDiffChange','source','model','getChangeElement','changeMarkerClick','args','ai-review-mode-source-check-not-found','ck-ai-review-mode-highlights','_aiReviewModeUi','prompt','addClass','_aiReviewModeEditing','20955fmVAeP','_OPTIONS_LABEL','rejectChange','label','_aiConnector','plugins','showChangeBalloon','AIReviewModeController','options','document','_logError','showNoChangesView','abort','showCheckRunResult','clearAllMarkers','2838GJzevc','documentData','60842lGALbw','isChangeActive','description','finished','isCustom','getMarkerElementForChange','processedResultsCount','_aiReviewCheckList','panel','ai-review-mode-check-run-failed','restart','2603574thqrBI','config','markChangeAsRejected','forceReadyState','sendRating','_OPTIONS_DATA_','acceptChange','resetActiveStateInResults','toUpperCase','error-general','AIConnector','removeClass','changes','updateChangeState','changeMarkerRestored','isOfficialPlugin','abortReviewStream','6KKAPTu','_onReviewModeRunLeave','hideChangeBalloon','finishReview','data','markChangeAsOutdated','context','markChangeAsPending','find','reviewCheckResultActivated','5UPdtyd','reviewCheckRunUpdated','editing','hideDiffInBalloon','ai-review-mode-check-run-general-error','domElement','getDocumentData','contentInitial','length','showActionsWhenResultIsReady','AIReviewModeEditing','content','hasModifications','includes','custom','applyChange','52572ZnKdKt','setActiveStateInResults','setCheckResultTitle','markChangeAsAccepted','title','.ck-ai-review-mode__check-run-result','runReviewCheck','reviewCheckResultChangeStatusUpdated','view','currentError','_DESCRIPTION','reviewCheckResultReady','ai-request-aborted','loading','map','_translateReviewChecks','diffContent','dismissChange','translate','showDiffInBalloon','changeId','activateChange','locale','get','stopListening','markChangePositionInEditorContent','deactivateChange','closest','contentNew','_changeActivationSource','setAvailableChecks','_currentReviewCheckRun','ai-review-mode-check-run-chunk-error','models','change','params','ai.reviewMode.translations','retryReview','addResultChanges','getRoot','getCheckById','getActiveChanges','pluginName','result','ready','showGeneralErrorView','error-chunk','status','_isDiffOn','leaveReviewModeResultList','2152352lvFGIv','getReviewCheckList','reviewCheckResultDeactivated','start','ck-ai-review-mode-diff','listenTo','_getTranslationWithDefault','unmodified','emitter','ai-review-mode-no-current-check-run','requires','acceptAllChanges','AIReviewModeUI','getAll','AI_MODEL_DESCRIPTION_','switchToReadOnly','init','markAllChangesAsAccepted','isPremiumPlugin','replaceAll','reviewCheckResultAdded','toggleDiff','AI_REVIEW_CHECK_','subTitle','27BynfCA','showChunkErrorView','showCheckRunResults','showReviewCompletedView','checks'];_0x447d=function(){return _0xf28f09;};return _0x447d();}import{AIReviewSystemCheckRun as _0x1d335e}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x144533}from'./model/aireviewcustomcheckrun.js';function _0x3466(_0x521669,_0x254add){const _0x447df9=_0x447d();return _0x3466=function(_0x34667b,_0x209d17){_0x34667b=_0x34667b-0x1a5;let _0x585e18=_0x447df9[_0x34667b];return _0x585e18;},_0x3466(_0x521669,_0x254add);}import{AIModels as _0xbe7a63}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x2923e7}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2b07ac}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x3d0f09{[_0x1aff0b(0x22e)];[_0x1aff0b(0x226)];[_0x1aff0b(0x229)];[_0x1aff0b(0x242)];[_0x1aff0b(0x1e3)];[_0x1aff0b(0x1f4)]=!0x1;[_0x1aff0b(0x1e1)]=null;static get[_0x1aff0b(0x200)](){return[_0x30bf70];}static get[_0x1aff0b(0x1ee)](){const _0x2b77c0=_0x1aff0b;return _0x2b77c0(0x231);}static get[_0x1aff0b(0x1a8)](){return!0x0;}static get[_0x1aff0b(0x208)](){return!0x0;}async[_0x1aff0b(0x206)](){const _0x1d9e14=_0x1aff0b;this[_0x1d9e14(0x22e)]=this[_0x1d9e14(0x1b0)][_0x1d9e14(0x22f)][_0x1d9e14(0x1db)](_0x1d9e14(0x250)),this[_0x1d9e14(0x226)]=this[_0x1d9e14(0x1b0)][_0x1d9e14(0x22f)][_0x1d9e14(0x1db)](_0x1d9e14(0x202)),this[_0x1d9e14(0x229)]=this[_0x1d9e14(0x1b0)][_0x1d9e14(0x22f)][_0x1d9e14(0x1db)](_0x1d9e14(0x1be));const _0xc194d1=this[_0x1d9e14(0x1b0)][_0x1d9e14(0x247)][_0x1d9e14(0x1db)](_0x1d9e14(0x1e8));if(_0xc194d1){for(const _0x4ff51d of _0x2923e7)_0x1d9e14(0x1d6)===_0x4ff51d['id']&&(_0x4ff51d[_0x1d9e14(0x232)][0x0][_0x1d9e14(0x1ae)]=_0xc194d1);}const _0xd57564=this[_0x1d9e14(0x1d3)](_0x2923e7);this[_0x1d9e14(0x242)]=new _0x2548b1(_0xd57564);const _0x2304d6=this[_0x1d9e14(0x242)][_0x1d9e14(0x212)][_0x1d9e14(0x1b2)](_0x4e6176=>_0x1d9e14(0x1c2)===_0x4e6176['id']);if(_0x2304d6){const _0x4c15ac=await new _0xbe7a63({'connector':this[_0x1d9e14(0x22e)]})[_0x1d9e14(0x203)]();_0x2304d6[_0x1d9e14(0x1e5)]=_0x4c15ac[_0x1d9e14(0x1d2)](_0xc56177=>({..._0xc56177,'description':this[_0x1d9e14(0x1fc)](_0x1d9e14(0x204)+_0xc56177['id'][_0x1d9e14(0x24e)](),_0xc56177[_0x1d9e14(0x23d)])}));}this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1f7),()=>{const _0xe7ebd9=_0x1d9e14;this[_0xe7ebd9(0x226)][_0xe7ebd9(0x1e2)](this[_0xe7ebd9(0x242)][_0xe7ebd9(0x212)]);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1ca),async(_0x5a6080,_0x22a74b)=>{const _0x138464=_0x1d9e14,_0x460dd4=this[_0x138464(0x242)][_0x138464(0x1ec)](_0x22a74b['id']);if(_0x460dd4){this[_0x138464(0x21e)](this[_0x138464(0x1f4)]),_0x22a74b[_0x138464(0x23f)]?this[_0x138464(0x1e3)]=new _0x144533(_0x22a74b[_0x138464(0x223)][_0x138464(0x227)],_0x22a74b[_0x138464(0x223)][_0x138464(0x220)],this[_0x138464(0x229)][_0x138464(0x1ba)](),_0x460dd4,this[_0x138464(0x22e)]):this[_0x138464(0x1e3)]=new _0x1d335e(this[_0x138464(0x229)][_0x138464(0x1ba)](),_0x460dd4,this[_0x138464(0x22e)],_0x22a74b[_0x138464(0x1e7)],_0x22a74b[_0x138464(0x223)]),this[_0x138464(0x226)][_0x138464(0x1c6)](this[_0x138464(0x1e3)][_0x138464(0x1c8)],this[_0x138464(0x1e3)][_0x138464(0x20d)]),this[_0x138464(0x1e3)]['on'](_0x138464(0x1b5),(_0x3bd1b3,_0x5dbdbe)=>{const _0x312e5f=_0x138464;_0x312e5f(0x1ae)===_0x5dbdbe[_0x312e5f(0x1f3)]||_0x312e5f(0x1d1)===_0x5dbdbe[_0x312e5f(0x1f3)]?(this[_0x312e5f(0x229)][_0x312e5f(0x205)](),this[_0x312e5f(0x226)][_0x312e5f(0x210)](_0x5dbdbe)):_0x312e5f(0x23e)===_0x5dbdbe[_0x312e5f(0x1f3)]?this[_0x312e5f(0x226)][_0x312e5f(0x211)]():_0x312e5f(0x1f0)===_0x5dbdbe[_0x312e5f(0x1f3)]?this[_0x312e5f(0x226)][_0x312e5f(0x1bd)]():_0x312e5f(0x1fd)===_0x5dbdbe[_0x312e5f(0x1f3)]?this[_0x312e5f(0x226)][_0x312e5f(0x235)]():_0x312e5f(0x24f)===_0x5dbdbe[_0x312e5f(0x1f3)]?(this[_0x312e5f(0x226)][_0x312e5f(0x1f1)](),this[_0x312e5f(0x234)](new _0x50c1c0(_0x312e5f(0x1b8),this,this[_0x312e5f(0x1e3)]?.[_0x312e5f(0x1cd)]))):_0x312e5f(0x1f2)===_0x5dbdbe[_0x312e5f(0x1f3)]?(this[_0x312e5f(0x226)][_0x312e5f(0x20f)](),this[_0x312e5f(0x234)](new _0x50c1c0(_0x312e5f(0x1e4),this,this[_0x312e5f(0x1e3)]?.[_0x312e5f(0x1cd)]))):_0x312e5f(0x21a)===_0x5dbdbe[_0x312e5f(0x1f3)]&&(this[_0x312e5f(0x1e3)]&&this[_0x312e5f(0x1e3)][_0x312e5f(0x241)]>0x0?setTimeout(()=>{const _0x1ffce8=_0x312e5f;this[_0x1ffce8(0x1e3)]?.[_0x1ffce8(0x249)]();},0x0):this[_0x312e5f(0x1ab)](!0x0)),_0x312e5f(0x1f0)!==_0x5dbdbe[_0x312e5f(0x1f3)]&&_0x312e5f(0x1f2)!==_0x5dbdbe[_0x312e5f(0x1f3)]&&_0x312e5f(0x24f)!==_0x5dbdbe[_0x312e5f(0x1f3)]||this[_0x312e5f(0x1e3)]?.[_0x312e5f(0x24a)]();}),this[_0x138464(0x1e3)]['on'](_0x138464(0x20a),(_0x401ad2,_0x4ccee8)=>{const _0x2b8045=_0x138464;if(!this[_0x2b8045(0x1e3)])throw new _0x50c1c0(_0x2b8045(0x1ff),this);const _0xa7b9a3=this[_0x2b8045(0x229)][_0x2b8045(0x1d4)](_0x4ccee8[_0x2b8045(0x1ef)][_0x2b8045(0x1bb)],_0x4ccee8[_0x2b8045(0x1ef)][_0x2b8045(0x1e0)]);_0x4ccee8[_0x2b8045(0x21f)][_0x2b8045(0x1ea)](_0x4ccee8[_0x2b8045(0x1ef)]['id'],_0xa7b9a3);}),this[_0x138464(0x1e3)]['on'](_0x138464(0x1cf),(_0x2c9726,_0xbfbf2)=>{const _0x2239d2=_0x138464;for(const _0x46838e of _0xbfbf2[_0x2239d2(0x1a5)])this[_0x2239d2(0x226)][_0x2239d2(0x237)](_0x46838e);this[_0x2239d2(0x229)][_0x2239d2(0x1dd)](_0xbfbf2[_0x2239d2(0x1a5)],_0xbfbf2[_0x2239d2(0x21f)][_0x2239d2(0x23a)]);}),this[_0x138464(0x1e3)]['on'](_0x138464(0x1cb),(_0x1a8f45,_0x382583)=>{const _0x9622c9=_0x138464;this[_0x9622c9(0x226)][_0x9622c9(0x1a6)](_0x382583[_0x9622c9(0x1e6)]['id'],_0x382583[_0x9622c9(0x1f3)]);}),this[_0x138464(0x1e3)]['on'](_0x138464(0x1b3),(_0x1cff2a,_0x307add)=>{const _0x5ca02f=_0x138464;this[_0x5ca02f(0x226)][_0x5ca02f(0x1c5)](_0x307add[_0x5ca02f(0x1e6)]['id']);const _0x5c6f82=this[_0x5ca02f(0x229)][_0x5ca02f(0x240)](_0x307add[_0x5ca02f(0x1e6)]['id']);if(_0x5c6f82){if(_0x5ca02f(0x1bf)===this[_0x5ca02f(0x1e1)]){const _0x1bd66a=this[_0x5ca02f(0x226)][_0x5ca02f(0x221)](_0x307add[_0x5ca02f(0x1e6)]['id']);_0x1bd66a&&_0x654390(_0x1bd66a[_0x5ca02f(0x1df)](_0x5ca02f(0x1c9))||_0x1bd66a);}else{if(_0x5ca02f(0x243)===this[_0x5ca02f(0x1e1)]){const _0x38d6d2={'target':_0x5c6f82[_0x5ca02f(0x1b9)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x542a20(_0x38d6d2);}}this[_0x5ca02f(0x226)][_0x5ca02f(0x230)](_0x307add[_0x5ca02f(0x1e6)],_0x5c6f82[_0x5ca02f(0x1b9)]);}}),this[_0x138464(0x1e3)]['on'](_0x138464(0x1f8),()=>{const _0x3c9613=_0x138464;this[_0x3c9613(0x226)][_0x3c9613(0x24d)](),this[_0x3c9613(0x226)][_0x3c9613(0x1ac)]();});try{await this[_0x138464(0x1e3)][_0x138464(0x1f9)]();}catch(_0x2a4cce){_0x2a4cce instanceof Error&&_0x2a4cce[_0x138464(0x216)][_0x138464(0x1c1)](_0x138464(0x1d0))||(_0x2a4cce instanceof _0x50c1c0?this[_0x138464(0x234)](_0x2a4cce):this[_0x138464(0x234)](new _0x50c1c0(_0x138464(0x244),this,{'error':_0x2a4cce})));}}else this[_0x138464(0x234)](new _0x50c1c0(_0x138464(0x224),this,{'checkId':_0x22a74b['id']}));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x21b),()=>{const _0x3df4c4=_0x1d9e14;this[_0x3df4c4(0x1ab)]();}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1f5),()=>{const _0x5202c0=_0x1d9e14;this[_0x5202c0(0x1ab)](!0x0);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1a9),()=>{const _0x2475af=_0x1d9e14;this[_0x2475af(0x1e3)]&&this[_0x2475af(0x1e3)][_0x2475af(0x236)]();}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1ad),()=>{const _0x596940=_0x1d9e14;this[_0x596940(0x1ab)](!0x0);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x201),()=>{const _0x4ad5d5=_0x1d9e14;if(!this[_0x4ad5d5(0x1e3)])return;const _0xb88e00=this[_0x4ad5d5(0x1e3)][_0x4ad5d5(0x1ed)]();_0xb88e00[_0x4ad5d5(0x1bc)]&&(this[_0x4ad5d5(0x229)][_0x4ad5d5(0x1c3)](_0xb88e00[_0x4ad5d5(0x1d2)](_0x327d6d=>_0x327d6d['id'])),this[_0x4ad5d5(0x1e3)][_0x4ad5d5(0x207)](),this[_0x4ad5d5(0x1e3)][_0x4ad5d5(0x24a)]());}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x24c),(_0x74d89e,_0x1607ec)=>{const _0x1015ae=_0x1d9e14;this[_0x1015ae(0x1e3)]&&this[_0x1015ae(0x1e3)][_0x1015ae(0x23c)](_0x1607ec['id'])&&(this[_0x1015ae(0x229)][_0x1015ae(0x1c3)]([_0x1607ec['id']]),this[_0x1015ae(0x1e3)][_0x1015ae(0x1c7)](_0x1607ec['id']),this[_0x1015ae(0x226)][_0x1015ae(0x1ac)](),this[_0x1015ae(0x1e3)][_0x1015ae(0x24a)](_0x1607ec['id']));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1d5),(_0x1d551b,_0xdd9ee0)=>{const _0x3ff904=_0x1d9e14;this[_0x3ff904(0x1e3)]&&this[_0x3ff904(0x1e3)][_0x3ff904(0x23c)](_0xdd9ee0['id'])&&(this[_0x3ff904(0x229)][_0x3ff904(0x22c)](_0xdd9ee0['id']),this[_0x3ff904(0x1e3)][_0x3ff904(0x248)](_0xdd9ee0['id']),this[_0x3ff904(0x226)][_0x3ff904(0x1ac)](),this[_0x3ff904(0x1e3)][_0x3ff904(0x24a)](_0xdd9ee0['id']));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x20b),(_0x523c19,_0x2c4b2a)=>{const _0x493a8d=_0x1d9e14;this[_0x493a8d(0x1f4)]=_0x2c4b2a['on'],this[_0x493a8d(0x21e)](this[_0x493a8d(0x1f4)]);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1e9),async()=>{const _0x1a23db=_0x1d9e14;this[_0x1a23db(0x1e3)]&&await this[_0x1a23db(0x1e3)][_0x1a23db(0x245)]();}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1d9),(_0x492908,_0x2644a1)=>{const _0x41e5d9=_0x1d9e14;this[_0x41e5d9(0x1e3)]&&(this[_0x41e5d9(0x1e1)]=_0x41e5d9(0x243),this[_0x41e5d9(0x1e3)][_0x41e5d9(0x1d9)](_0x2644a1['id']));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1de),()=>{const _0x41e501=_0x1d9e14;this[_0x41e501(0x1e3)]&&this[_0x41e501(0x1e3)][_0x41e501(0x1de)]();}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x229)][_0x1d9e14(0x1fe)],_0x1d9e14(0x222),(_0x13d033,_0x140f91)=>{const _0x33e82f=_0x1d9e14;this[_0x33e82f(0x1e3)]&&(this[_0x33e82f(0x1e1)]=_0x33e82f(0x1bf),this[_0x33e82f(0x1e3)][_0x33e82f(0x1d9)](_0x140f91[_0x33e82f(0x1d8)]));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x229)][_0x1d9e14(0x1fe)],_0x1d9e14(0x21d),(_0x5e6065,_0x52f55c)=>{const _0x282f60=_0x1d9e14;this[_0x282f60(0x1e3)]&&this[_0x282f60(0x1e3)][_0x282f60(0x1af)](_0x52f55c[_0x282f60(0x1d8)]);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x229)][_0x1d9e14(0x1fe)],_0x1d9e14(0x1a7),(_0x1eb448,_0x39bd3c)=>{const _0x194a49=_0x1d9e14;this[_0x194a49(0x1e3)]&&this[_0x194a49(0x1e3)][_0x194a49(0x1b1)](_0x39bd3c[_0x194a49(0x1d8)]);});}[_0x1aff0b(0x1ab)](_0x18f165=!0x1){const _0x1865e0=_0x1aff0b;this[_0x1865e0(0x1e3)]&&(this[_0x1865e0(0x1e3)][_0x1865e0(0x1c0)]||this[_0x1865e0(0x1e3)][_0x1865e0(0x24a)](),this[_0x1865e0(0x1e3)][_0x1865e0(0x1dc)](),this[_0x1865e0(0x1e3)][_0x1865e0(0x236)](),this[_0x1865e0(0x1e3)]=void 0x0),_0x18f165&&this[_0x1865e0(0x226)][_0x1865e0(0x217)](),this[_0x1865e0(0x229)][_0x1865e0(0x238)](),this[_0x1865e0(0x229)][_0x1865e0(0x21c)](),this[_0x1865e0(0x1e1)]=null;const _0x17dd5b=this[_0x1865e0(0x229)][_0x1865e0(0x218)]();_0x17dd5b&&_0x17dd5b[_0x1865e0(0x1b6)][_0x1865e0(0x1cc)][_0x1865e0(0x1e6)](_0x4ee98c=>{const _0x465ff0=_0x1865e0,_0x5757c9=_0x17dd5b[_0x465ff0(0x1b6)][_0x465ff0(0x1cc)][_0x465ff0(0x233)][_0x465ff0(0x1eb)]();_0x4ee98c[_0x465ff0(0x251)](_0x465ff0(0x1fa),_0x5757c9),_0x4ee98c[_0x465ff0(0x251)](_0x465ff0(0x225),_0x5757c9);});}[_0x1aff0b(0x21e)](_0x1fa0cf){const _0xf78cf7=_0x1aff0b,_0x3e89fc=this[_0xf78cf7(0x229)][_0xf78cf7(0x218)]();_0x1fa0cf?this[_0xf78cf7(0x226)][_0xf78cf7(0x1b7)]():this[_0xf78cf7(0x226)][_0xf78cf7(0x1d7)](),_0x3e89fc&&_0x3e89fc[_0xf78cf7(0x1b6)][_0xf78cf7(0x1cc)][_0xf78cf7(0x1e6)](_0x2a2254=>{const _0x1e327e=_0xf78cf7,_0x109808=_0x3e89fc[_0x1e327e(0x1b6)][_0x1e327e(0x1cc)][_0x1e327e(0x233)][_0x1e327e(0x1eb)]();_0x2a2254[_0x1e327e(0x251)](_0x1e327e(0x1fa),_0x109808),_0x2a2254[_0x1e327e(0x251)](_0x1e327e(0x225),_0x109808),_0x2a2254[_0x1e327e(0x228)](_0x1fa0cf?_0x1e327e(0x1fa):_0x1e327e(0x225),_0x109808);});}[_0x1aff0b(0x1d3)](_0x1f8637){const _0x440e17=_0x1aff0b;return _0x1f8637[_0x440e17(0x1d2)](_0x409883=>{const _0x2ce91c=_0x440e17,_0xe5420f=_0x2ce91c(0x20c)+_0x409883['id'][_0x2ce91c(0x24e)]()[_0x2ce91c(0x209)]('-','_'),_0x1f21e5={..._0x409883,'title':this[_0x2ce91c(0x1fc)](_0xe5420f+_0x2ce91c(0x215),_0x409883[_0x2ce91c(0x1c8)]),'description':this[_0x2ce91c(0x1fc)](_0xe5420f+_0x2ce91c(0x1ce),_0x409883[_0x2ce91c(0x23d)])};return _0x409883[_0x2ce91c(0x232)]&&(_0x1f21e5[_0x2ce91c(0x232)]=_0x409883[_0x2ce91c(0x232)][_0x2ce91c(0x1d2)](_0x4d1147=>({..._0x4d1147,'label':this[_0x2ce91c(0x1fc)](_0xe5420f+_0x2ce91c(0x22b),_0x4d1147[_0x2ce91c(0x22d)]||''),'data':_0x4d1147[_0x2ce91c(0x1ae)]?_0x4d1147[_0x2ce91c(0x1ae)][_0x2ce91c(0x1d2)](_0x55e29b=>({..._0x55e29b,'label':this[_0x2ce91c(0x1fc)](_0xe5420f+_0x2ce91c(0x24b)+_0x55e29b['id'][_0x2ce91c(0x24e)](),_0x55e29b[_0x2ce91c(0x22d)])})):void 0x0}))),_0x1f21e5;});}[_0x1aff0b(0x1fc)](_0x365c41,_0x6af8ec){const _0x5035b2=_0x1aff0b,_0x5c339f=this[_0x5035b2(0x1b0)][_0x5035b2(0x1da)],_0x391165=_0x2b07ac(_0x5c339f,_0x365c41);return _0x391165===_0x365c41?_0x6af8ec:_0x391165;}[_0x1aff0b(0x234)](_0x492267){const _0x50fa55=_0x1aff0b;_0x51da8c(_0x492267[_0x50fa55(0x216)]),this[_0x50fa55(0x226)][_0x50fa55(0x1f1)]();}}
|
|
23
|
+
const _0x5470f7=_0xe6eb;(function(_0x2210c5,_0x4e10fa){const _0x308efa=_0xe6eb,_0x1cd3a7=_0x2210c5();while(!![]){try{const _0x2fedde=-parseInt(_0x308efa(0x1b9))/0x1*(-parseInt(_0x308efa(0x1d0))/0x2)+-parseInt(_0x308efa(0x1f0))/0x3*(parseInt(_0x308efa(0x21c))/0x4)+parseInt(_0x308efa(0x18a))/0x5*(parseInt(_0x308efa(0x22e))/0x6)+parseInt(_0x308efa(0x21b))/0x7*(parseInt(_0x308efa(0x1b4))/0x8)+parseInt(_0x308efa(0x215))/0x9+parseInt(_0x308efa(0x1df))/0xa+-parseInt(_0x308efa(0x1d8))/0xb;if(_0x2fedde===_0x4e10fa)break;else _0x1cd3a7['push'](_0x1cd3a7['shift']());}catch(_0x13e1c1){_0x1cd3a7['push'](_0x1cd3a7['shift']());}}}(_0x478b,0x8d8aa));import{ContextPlugin as _0x38c594}from'ckeditor5/src/core.js';import{CKEditorError as _0x230e34,logError as _0x28727c,scrollAncestorsToShowTarget as _0x5a2b78,scrollViewportToShowTarget as _0x1703b8}from'ckeditor5/src/utils.js';function _0x478b(){const _0x33f22c=['retryReview','config','source','replaceAll','getChangeElement','toggleDiff','custom','isOfficialPlugin','closest','leaveReviewMode','ai.reviewMode.translations','showReviewCompletedView','getCheckById','plugins','editing','getAll','_getTranslationWithDefault','deactivateChange','isPremiumPlugin','showCheckRunResult','_aiReviewModeEditing','domElement','markChangeAsRejected','_OPTIONS_DATA_','reviewCheckResultActivated','_aiReviewCheckList','showGeneralErrorView','4717179LHwTAW','runReviewCheck','reviewCheckResultChangeStatusUpdated','acceptChange','forceReadyState','sendRating','2702BZIQlu','65744QVxpPl','removeClass','showCheckRunResults','setActiveStateInResults','ai-review-mode-check-run-general-error','change','hideChangeBalloon','_TITLE','changeId','listenTo','markChangePositionInEditorContent','_aiReviewModeUi','stopListening','context','_onReviewModeRunLeave','prompt','subTitle','finished','139866OMgKDd','_isDiffOn','dismissChange','emitter','restart','ck-ai-review-mode-highlights','_changeActivationSource','map','145SHmQhx','content','showActionsWhenResultIsReady','resetActiveStateInResults','abort','reviewCheckResultAdded','includes','acceptAllChanges','unmodified','getActiveChanges','addClass','options','setAvailableChecks','AIReviewModeController','ai-review-mode-source-check-not-found','status','showNoChangesView','ai-request-aborted','.ck-ai-review-mode__check-run-result','pluginName','_OPTIONS_LABEL','activateChange','getReviewCheckList','document','addResultChanges','changeMarkerRestored','documentData','_logError','changeMarkerClick','error-general','processedResultsCount','getMarkerElementForChange','setCheckResultTitle','isCustom','showReviewCheckList','getDocumentData','description','toUpperCase','reviewCheckResultDeactivated','diffContent','label','find','2696YlzmPj','_currentReviewCheckRun','contentInitial','updateChangeState','applyChange','184958rMyLPw','finishReview','models','model','title','_translateReviewChecks','contentNew','changes','start','AIReviewModeEditing','message','init','panel','currentError','ai-review-mode-no-current-check-run','getRoot','getEditor','_onDiffChange','_aiConnector','isChangeActive','showDiffInBalloon','ck-ai-review-mode-diff','abortReviewStream','2FLsuEM','hasModifications','AI_MODEL_DESCRIPTION_','hideDiffInBalloon','aborted','showChangeBalloon','locale','markAllChangesAsAccepted','8735485uprhtt','view','AI_REVIEW_CHECK_','data','leaveReviewModeResultList','switchToReadOnly','reviewCheckResultReady','6640630ndylMf','ai-review-mode-check-run-failed','clearAllMarkers','AIReviewModeUI','checks','changeMarkerRemoved','showChunkErrorView','markChangeAsAccepted','result','switchToEdit','loading','translate','reviewCheckRunUpdated','ai-review-mode-check-run-chunk-error','_DESCRIPTION','get','ready','147nXaaIS','markChangeAsOutdated','args','AIConnector','params','rejectChange','markChangeAsPending','requires','error-chunk','length'];_0x478b=function(){return _0x33f22c;};return _0x478b();}import{AIConnector as _0x1ebebf}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x40cb9c}from'./model/aireviewchecklist.js';function _0xe6eb(_0xf83367,_0xa0d452){const _0x478b72=_0x478b();return _0xe6eb=function(_0xe6eb07,_0x1f8738){_0xe6eb07=_0xe6eb07-0x189;let _0x4aafd9=_0x478b72[_0xe6eb07];return _0x4aafd9;},_0xe6eb(_0xf83367,_0xa0d452);}import{AIReviewSystemCheckRun as _0x512302}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x3702e5}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x1c62b7}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x48f653}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x531b53}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x38c594{[_0x5470f7(0x1cb)];[_0x5470f7(0x227)];[_0x5470f7(0x20e)];[_0x5470f7(0x213)];[_0x5470f7(0x1b5)];[_0x5470f7(0x22f)]=!0x1;[_0x5470f7(0x234)]=null;static get[_0x5470f7(0x1f7)](){return[_0x1ebebf];}static get[_0x5470f7(0x19d)](){const _0x17b01e=_0x5470f7;return _0x17b01e(0x197);}static get[_0x5470f7(0x201)](){return!0x0;}static get[_0x5470f7(0x20c)](){return!0x0;}async[_0x5470f7(0x1c4)](){const _0x4ab170=_0x5470f7;this[_0x4ab170(0x1cb)]=this[_0x4ab170(0x229)][_0x4ab170(0x207)][_0x4ab170(0x1ee)](_0x4ab170(0x1f3)),this[_0x4ab170(0x227)]=this[_0x4ab170(0x229)][_0x4ab170(0x207)][_0x4ab170(0x1ee)](_0x4ab170(0x1e2)),this[_0x4ab170(0x20e)]=this[_0x4ab170(0x229)][_0x4ab170(0x207)][_0x4ab170(0x1ee)](_0x4ab170(0x1c2));const _0x57829e=this[_0x4ab170(0x229)][_0x4ab170(0x1fb)][_0x4ab170(0x1ee)](_0x4ab170(0x204));if(_0x57829e){for(const _0x4b0ffa of _0x48f653)_0x4ab170(0x1ea)===_0x4b0ffa['id']&&(_0x4b0ffa[_0x4ab170(0x195)][0x0][_0x4ab170(0x1db)]=_0x57829e);}const _0x405e08=this[_0x4ab170(0x1be)](_0x48f653);this[_0x4ab170(0x213)]=new _0x40cb9c(_0x405e08);const _0x1d809c=this[_0x4ab170(0x213)][_0x4ab170(0x1e3)][_0x4ab170(0x1b3)](_0x43b03e=>_0x4ab170(0x200)===_0x43b03e['id']);if(_0x1d809c){const _0xcc4434=await new _0x1c62b7({'connector':this[_0x4ab170(0x1cb)]})[_0x4ab170(0x209)]();_0x1d809c[_0x4ab170(0x1bb)]=_0xcc4434[_0x4ab170(0x189)](_0x56e790=>({..._0x56e790,'description':this[_0x4ab170(0x20a)](_0x4ab170(0x1d2)+_0x56e790['id'][_0x4ab170(0x1af)](),_0x56e790[_0x4ab170(0x1ae)])}));}this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x1a0),()=>{const _0x3c53dc=_0x4ab170;this[_0x3c53dc(0x227)][_0x3c53dc(0x196)](this[_0x3c53dc(0x213)][_0x3c53dc(0x1e3)]);}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x216),async(_0x2fbade,_0x1247fb)=>{const _0x596ad7=_0x4ab170,_0x10121b=this[_0x596ad7(0x213)][_0x596ad7(0x206)](_0x1247fb['id']);if(_0x10121b){this[_0x596ad7(0x1ca)](this[_0x596ad7(0x22f)]),_0x1247fb[_0x596ad7(0x1ab)]?this[_0x596ad7(0x1b5)]=new _0x3702e5(_0x1247fb[_0x596ad7(0x1f2)][_0x596ad7(0x22b)],_0x1247fb[_0x596ad7(0x1f2)][_0x596ad7(0x1bc)],this[_0x596ad7(0x20e)][_0x596ad7(0x1ad)](),_0x10121b,this[_0x596ad7(0x1cb)]):this[_0x596ad7(0x1b5)]=new _0x512302(this[_0x596ad7(0x20e)][_0x596ad7(0x1ad)](),_0x10121b,this[_0x596ad7(0x1cb)],_0x1247fb[_0x596ad7(0x1f4)],_0x1247fb[_0x596ad7(0x1f2)]),this[_0x596ad7(0x227)][_0x596ad7(0x1aa)](this[_0x596ad7(0x1b5)][_0x596ad7(0x1bd)],this[_0x596ad7(0x1b5)][_0x596ad7(0x22c)]),this[_0x596ad7(0x1b5)]['on'](_0x596ad7(0x1eb),(_0x127071,_0xebf86)=>{const _0x11a46d=_0x596ad7;_0x11a46d(0x1db)===_0xebf86[_0x11a46d(0x199)]||_0x11a46d(0x1e9)===_0xebf86[_0x11a46d(0x199)]?(this[_0x11a46d(0x20e)][_0x11a46d(0x1dd)](),this[_0x11a46d(0x227)][_0x11a46d(0x21e)](_0xebf86)):_0x11a46d(0x22d)===_0xebf86[_0x11a46d(0x199)]?this[_0x11a46d(0x227)][_0x11a46d(0x205)]():_0x11a46d(0x1ef)===_0xebf86[_0x11a46d(0x199)]?this[_0x11a46d(0x227)][_0x11a46d(0x18c)]():_0x11a46d(0x192)===_0xebf86[_0x11a46d(0x199)]?this[_0x11a46d(0x227)][_0x11a46d(0x19a)]():_0x11a46d(0x1a7)===_0xebf86[_0x11a46d(0x199)]?(this[_0x11a46d(0x227)][_0x11a46d(0x214)](),this[_0x11a46d(0x1a5)](new _0x230e34(_0x11a46d(0x220),this,this[_0x11a46d(0x1b5)]?.[_0x11a46d(0x1c6)]))):_0x11a46d(0x1f8)===_0xebf86[_0x11a46d(0x199)]?(this[_0x11a46d(0x227)][_0x11a46d(0x1e5)](),this[_0x11a46d(0x1a5)](new _0x230e34(_0x11a46d(0x1ec),this,this[_0x11a46d(0x1b5)]?.[_0x11a46d(0x1c6)]))):_0x11a46d(0x1d4)===_0xebf86[_0x11a46d(0x199)]&&(this[_0x11a46d(0x1b5)]&&this[_0x11a46d(0x1b5)][_0x11a46d(0x1a8)]>0x0?setTimeout(()=>{const _0x204eb1=_0x11a46d;this[_0x204eb1(0x1b5)]?.[_0x204eb1(0x219)]();},0x0):this[_0x11a46d(0x22a)](!0x0)),_0x11a46d(0x1ef)!==_0xebf86[_0x11a46d(0x199)]&&_0x11a46d(0x1f8)!==_0xebf86[_0x11a46d(0x199)]&&_0x11a46d(0x1a7)!==_0xebf86[_0x11a46d(0x199)]||this[_0x11a46d(0x1b5)]?.[_0x11a46d(0x21a)]();}),this[_0x596ad7(0x1b5)]['on'](_0x596ad7(0x18f),(_0x1e98dc,_0x4e525c)=>{const _0x44e676=_0x596ad7;if(!this[_0x44e676(0x1b5)])throw new _0x230e34(_0x44e676(0x1c7),this);const _0x2742ae=this[_0x44e676(0x20e)][_0x44e676(0x1b1)](_0x4e525c[_0x44e676(0x1e7)][_0x44e676(0x1b6)],_0x4e525c[_0x44e676(0x1e7)][_0x44e676(0x1bf)]);_0x4e525c[_0x44e676(0x1fc)][_0x44e676(0x1a2)](_0x4e525c[_0x44e676(0x1e7)]['id'],_0x2742ae);}),this[_0x596ad7(0x1b5)]['on'](_0x596ad7(0x1de),(_0x52fa57,_0x3e4027)=>{const _0x3e4e7c=_0x596ad7;for(const _0x26c8e7 of _0x3e4027[_0x3e4e7c(0x1c0)])this[_0x3e4e7c(0x227)][_0x3e4e7c(0x20d)](_0x26c8e7);this[_0x3e4e7c(0x20e)][_0x3e4e7c(0x226)](_0x3e4027[_0x3e4e7c(0x1c0)],_0x3e4027[_0x3e4e7c(0x1fc)][_0x3e4e7c(0x1a4)]);}),this[_0x596ad7(0x1b5)]['on'](_0x596ad7(0x217),(_0xa4d2f,_0x256b8e)=>{const _0x321b97=_0x596ad7;this[_0x321b97(0x227)][_0x321b97(0x1b7)](_0x256b8e[_0x321b97(0x221)]['id'],_0x256b8e[_0x321b97(0x199)]);}),this[_0x596ad7(0x1b5)]['on'](_0x596ad7(0x212),(_0x5bb7ac,_0x33dc41)=>{const _0x3c6701=_0x596ad7;this[_0x3c6701(0x227)][_0x3c6701(0x21f)](_0x33dc41[_0x3c6701(0x221)]['id']);const _0x4ebaa1=this[_0x3c6701(0x20e)][_0x3c6701(0x1a9)](_0x33dc41[_0x3c6701(0x221)]['id']);if(_0x4ebaa1){if(_0x3c6701(0x18b)===this[_0x3c6701(0x234)]){const _0x1565cf=this[_0x3c6701(0x227)][_0x3c6701(0x1fe)](_0x33dc41[_0x3c6701(0x221)]['id']);_0x1565cf&&_0x5a2b78(_0x1565cf[_0x3c6701(0x202)](_0x3c6701(0x19c))||_0x1565cf);}else{if(_0x3c6701(0x1c5)===this[_0x3c6701(0x234)]){const _0xb1b8ca={'target':_0x4ebaa1[_0x3c6701(0x20f)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x1703b8(_0xb1b8ca);}}this[_0x3c6701(0x227)][_0x3c6701(0x1d5)](_0x33dc41[_0x3c6701(0x221)],_0x4ebaa1[_0x3c6701(0x20f)]);}}),this[_0x596ad7(0x1b5)]['on'](_0x596ad7(0x1b0),()=>{const _0x2f1aa4=_0x596ad7;this[_0x2f1aa4(0x227)][_0x2f1aa4(0x18d)](),this[_0x2f1aa4(0x227)][_0x2f1aa4(0x222)]();});try{await this[_0x596ad7(0x1b5)][_0x596ad7(0x1c1)]();}catch(_0x50d125){_0x50d125 instanceof Error&&_0x50d125[_0x596ad7(0x1c3)][_0x596ad7(0x190)](_0x596ad7(0x19b))||(_0x50d125 instanceof _0x230e34?this[_0x596ad7(0x1a5)](_0x50d125):this[_0x596ad7(0x1a5)](new _0x230e34(_0x596ad7(0x1e0),this,{'error':_0x50d125})));}}else this[_0x596ad7(0x1a5)](new _0x230e34(_0x596ad7(0x198),this,{'checkId':_0x1247fb['id']}));}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x203),()=>{const _0x12109c=_0x4ab170;this[_0x12109c(0x22a)]();}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x1dc),()=>{const _0x32799a=_0x4ab170;this[_0x32799a(0x22a)](!0x0);}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x1cf),()=>{const _0x1dcb7b=_0x4ab170;this[_0x1dcb7b(0x1b5)]&&this[_0x1dcb7b(0x1b5)][_0x1dcb7b(0x18e)]();}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x1ba),()=>{const _0x5100dc=_0x4ab170;this[_0x5100dc(0x22a)](!0x0);}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x191),()=>{const _0x524d7d=_0x4ab170;if(!this[_0x524d7d(0x1b5)])return;const _0xd9b591=this[_0x524d7d(0x1b5)][_0x524d7d(0x193)]();_0xd9b591[_0x524d7d(0x1f9)]&&(this[_0x524d7d(0x20e)][_0x524d7d(0x1b8)](_0xd9b591[_0x524d7d(0x189)](_0x550e33=>_0x550e33['id'])),this[_0x524d7d(0x1b5)][_0x524d7d(0x1d7)](),this[_0x524d7d(0x1b5)][_0x524d7d(0x21a)]());}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x218),(_0x533b2b,_0x3c85d9)=>{const _0x5d796d=_0x4ab170;this[_0x5d796d(0x1b5)]&&this[_0x5d796d(0x1b5)][_0x5d796d(0x1cc)](_0x3c85d9['id'])&&(this[_0x5d796d(0x20e)][_0x5d796d(0x1b8)]([_0x3c85d9['id']]),this[_0x5d796d(0x1b5)][_0x5d796d(0x1e6)](_0x3c85d9['id']),this[_0x5d796d(0x227)][_0x5d796d(0x222)](),this[_0x5d796d(0x1b5)][_0x5d796d(0x21a)](_0x3c85d9['id']));}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x230),(_0x3dde82,_0x437840)=>{const _0x49b733=_0x4ab170;this[_0x49b733(0x1b5)]&&this[_0x49b733(0x1b5)][_0x49b733(0x1cc)](_0x437840['id'])&&(this[_0x49b733(0x20e)][_0x49b733(0x1f5)](_0x437840['id']),this[_0x49b733(0x1b5)][_0x49b733(0x210)](_0x437840['id']),this[_0x49b733(0x227)][_0x49b733(0x222)](),this[_0x49b733(0x1b5)][_0x49b733(0x21a)](_0x437840['id']));}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x1ff),(_0x281b22,_0xe47409)=>{const _0x233d4e=_0x4ab170;this[_0x233d4e(0x22f)]=_0xe47409['on'],this[_0x233d4e(0x1ca)](this[_0x233d4e(0x22f)]);}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x1fa),async()=>{const _0x404a41=_0x4ab170;this[_0x404a41(0x1b5)]&&await this[_0x404a41(0x1b5)][_0x404a41(0x232)]();}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x19f),(_0x51e9c9,_0x57a753)=>{const _0x222656=_0x4ab170;this[_0x222656(0x1b5)]&&(this[_0x222656(0x234)]=_0x222656(0x1c5),this[_0x222656(0x1b5)][_0x222656(0x19f)](_0x57a753['id']));}),this[_0x4ab170(0x225)](this[_0x4ab170(0x227)],_0x4ab170(0x20b),()=>{const _0x50b989=_0x4ab170;this[_0x50b989(0x1b5)]&&this[_0x50b989(0x1b5)][_0x50b989(0x20b)]();}),this[_0x4ab170(0x225)](this[_0x4ab170(0x20e)][_0x4ab170(0x231)],_0x4ab170(0x1a6),(_0x3d406b,_0x27d2cc)=>{const _0x10be60=_0x4ab170;this[_0x10be60(0x1b5)]&&(this[_0x10be60(0x234)]=_0x10be60(0x18b),this[_0x10be60(0x1b5)][_0x10be60(0x19f)](_0x27d2cc[_0x10be60(0x224)]));}),this[_0x4ab170(0x225)](this[_0x4ab170(0x20e)][_0x4ab170(0x231)],_0x4ab170(0x1e4),(_0x26e898,_0x32f153)=>{const _0x4916ed=_0x4ab170;this[_0x4916ed(0x1b5)]&&this[_0x4916ed(0x1b5)][_0x4916ed(0x1f1)](_0x32f153[_0x4916ed(0x224)]);}),this[_0x4ab170(0x225)](this[_0x4ab170(0x20e)][_0x4ab170(0x231)],_0x4ab170(0x1a3),(_0x1c368a,_0x11f7bc)=>{const _0xf2b9aa=_0x4ab170;this[_0xf2b9aa(0x1b5)]&&this[_0xf2b9aa(0x1b5)][_0xf2b9aa(0x1f6)](_0x11f7bc[_0xf2b9aa(0x224)]);});}[_0x5470f7(0x22a)](_0x22c1e3=!0x1){const _0x2062f4=_0x5470f7;this[_0x2062f4(0x1b5)]&&(this[_0x2062f4(0x1b5)][_0x2062f4(0x1d1)]||this[_0x2062f4(0x1b5)][_0x2062f4(0x21a)](),this[_0x2062f4(0x1b5)][_0x2062f4(0x228)](),this[_0x2062f4(0x1b5)][_0x2062f4(0x18e)](),this[_0x2062f4(0x1b5)]=void 0x0),_0x22c1e3&&this[_0x2062f4(0x227)][_0x2062f4(0x1ac)](),this[_0x2062f4(0x20e)][_0x2062f4(0x1e1)](),this[_0x2062f4(0x20e)][_0x2062f4(0x1e8)](),this[_0x2062f4(0x234)]=null;const _0x7c652e=this[_0x2062f4(0x20e)][_0x2062f4(0x1c9)]();_0x7c652e&&_0x7c652e[_0x2062f4(0x208)][_0x2062f4(0x1d9)][_0x2062f4(0x221)](_0x4a1f18=>{const _0x1446df=_0x2062f4,_0x299baf=_0x7c652e[_0x1446df(0x208)][_0x1446df(0x1d9)][_0x1446df(0x1a1)][_0x1446df(0x1c8)]();_0x4a1f18[_0x1446df(0x21d)](_0x1446df(0x1ce),_0x299baf),_0x4a1f18[_0x1446df(0x21d)](_0x1446df(0x233),_0x299baf);});}[_0x5470f7(0x1ca)](_0x3da37e){const _0x5f5d1b=_0x5470f7,_0x56728f=this[_0x5f5d1b(0x20e)][_0x5f5d1b(0x1c9)]();_0x3da37e?this[_0x5f5d1b(0x227)][_0x5f5d1b(0x1d3)]():this[_0x5f5d1b(0x227)][_0x5f5d1b(0x1cd)](),_0x56728f&&_0x56728f[_0x5f5d1b(0x208)][_0x5f5d1b(0x1d9)][_0x5f5d1b(0x221)](_0x88796c=>{const _0x3c0e5b=_0x5f5d1b,_0x2c5fde=_0x56728f[_0x3c0e5b(0x208)][_0x3c0e5b(0x1d9)][_0x3c0e5b(0x1a1)][_0x3c0e5b(0x1c8)]();_0x88796c[_0x3c0e5b(0x21d)](_0x3c0e5b(0x1ce),_0x2c5fde),_0x88796c[_0x3c0e5b(0x21d)](_0x3c0e5b(0x233),_0x2c5fde),_0x88796c[_0x3c0e5b(0x194)](_0x3da37e?_0x3c0e5b(0x1ce):_0x3c0e5b(0x233),_0x2c5fde);});}[_0x5470f7(0x1be)](_0x38064c){const _0x1c7b35=_0x5470f7;return _0x38064c[_0x1c7b35(0x189)](_0x204188=>{const _0x3fd7c2=_0x1c7b35,_0x4a992b=_0x3fd7c2(0x1da)+_0x204188['id'][_0x3fd7c2(0x1af)]()[_0x3fd7c2(0x1fd)]('-','_'),_0x553f38={..._0x204188,'title':this[_0x3fd7c2(0x20a)](_0x4a992b+_0x3fd7c2(0x223),_0x204188[_0x3fd7c2(0x1bd)]),'description':this[_0x3fd7c2(0x20a)](_0x4a992b+_0x3fd7c2(0x1ed),_0x204188[_0x3fd7c2(0x1ae)])};return _0x204188[_0x3fd7c2(0x195)]&&(_0x553f38[_0x3fd7c2(0x195)]=_0x204188[_0x3fd7c2(0x195)][_0x3fd7c2(0x189)](_0x3256a9=>({..._0x3256a9,'label':this[_0x3fd7c2(0x20a)](_0x4a992b+_0x3fd7c2(0x19e),_0x3256a9[_0x3fd7c2(0x1b2)]||''),'data':_0x3256a9[_0x3fd7c2(0x1db)]?_0x3256a9[_0x3fd7c2(0x1db)][_0x3fd7c2(0x189)](_0x37a395=>({..._0x37a395,'label':this[_0x3fd7c2(0x20a)](_0x4a992b+_0x3fd7c2(0x211)+_0x37a395['id'][_0x3fd7c2(0x1af)](),_0x37a395[_0x3fd7c2(0x1b2)])})):void 0x0}))),_0x553f38;});}[_0x5470f7(0x20a)](_0x425c0b,_0x2aca1c){const _0x1b7515=_0x5470f7,_0x2276b5=this[_0x1b7515(0x229)][_0x1b7515(0x1d6)],_0x779ff7=_0x531b53(_0x2276b5,_0x425c0b);return _0x779ff7===_0x425c0b?_0x2aca1c:_0x779ff7;}[_0x5470f7(0x1a5)](_0x120a10){const _0x945c0d=_0x5470f7;_0x28727c(_0x120a10[_0x945c0d(0x1c3)]),this[_0x945c0d(0x227)][_0x945c0d(0x214)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x388d04=_0x16d0;(function(_0x19f11c,_0x4fd8f0){const _0x28c542=_0x16d0,_0x10e029=_0x19f11c();while(!![]){try{const _0x6e60d=parseInt(_0x28c542(0x13a))/0x1+parseInt(_0x28c542(0x143))/0x2+parseInt(_0x28c542(0x92))/0x3*(parseInt(_0x28c542(0xa8))/0x4)+parseInt(_0x28c542(0xe8))/0x5*(parseInt(_0x28c542(0x117))/0x6)+parseInt(_0x28c542(0x136))/0x7*(parseInt(_0x28c542(0xf6))/0x8)+-parseInt(_0x28c542(0xa5))/0x9+parseInt(_0x28c542(0x114))/0xa*(-parseInt(_0x28c542(0x9f))/0xb);if(_0x6e60d===_0x4fd8f0)break;else _0x10e029['push'](_0x10e029['shift']());}catch(_0xd14e4a){_0x10e029['push'](_0x10e029['shift']());}}}(_0x595b,0x1eb9b));function _0x595b(){const _0x3f4c78=['_findAdjacentContextDistance','hasAttribute','getChangedMarkers','parent','ellipsisAfter','_domEmitter','No\x20element\x20found\x20for\x20ID:\x20','ck-ai_review-mode-marker_context-','htmlWriter','applyChange','context','_insertMarkers','downcast','history','delete','$documentFragment','plugins','forward','text','[data-id=\x22','disableReadOnlyMode','forEach','1195rTkcij','remove-only','version','getHtml','ck-ai_review-mode-marker_','isOpening','type','getChildren','nodes','markChangePositionInEditorContent','oldRange','jumpTo','clone','affectsData','215056PioBss','createRawElement','_hasSameTopLevelElement','_getChangeContext','document','_appendChild','index','newRange','createUIElement','_getOperationEnd','clearAllMarkers','howMany','remove-context','createRange','flat','pop','getDiff','reviewmode-','batch','getAttribute','insertContent','isAtEnd','ai-review-mode','createPositionAt','_createGetContentFn','$markedRemove','fire','toDomElement','htmlProcessor','from','30ZmlyqA','suggestion:insertion:id:authorId:','start','5826wjCSRw','suggestion:deletion:id:authorId:','set','createPositionAfter','concat','_changePosition','isInline','_handleMarkerChanges','backward','filter','registerPostFixer','editing','requires','_createGetContentUsingDataIdFn','parse','markerToHighlight','getPath','ck-ai_review-mode-marker_add','get','afterInit','for','addOperation','_shiftOperation','_clone','innerHTML','size','keys','addMarker','AIReviewModeEditing','getChild','schema','7dlaaSF','data-marker-id','_getOperationStart','documentFragment','207417FVjnOO','domConverter','changeMarkerRestored','_changePositionOwnerDocument','_changeRange','elements','path','_translateOperationToEditorContent','rootName','104664bnYPSO','offset','AIEditing','hasContentAfter','split','sort','removeMarker','getEditor','target','groupId','getDomRoot','isIntersecting','toData','getDocumentData','ellipsisBefore','getRoots','dataDowncast','_createGetContextFn','warn','getMarkerElementForChange','model','getRoot','isOfficialPlugin','hasContentBefore','add','includes','emitter','applyOperation','_groupAdjacentOperations','_changeOperationOwnerDocument','enableReadOnlyMode','createText','ck-ai_review-mode-marker_hide','_findMarkerElement','differ','getShiftedBy','insert','_setAttribute','_markers','clear','ck-ai_review-mode-marker_context-end','view','DocumentCompare','end','editingDowncast','caption','length','remove-text','data','_changeRangeOwnerDocument','element','offsetSize','isPremiumPlugin','containsRange','className','position','root','createSelection','switchToReadOnly','startsWith','exec','getStart','6rjvmDJ','stringify','map','querySelector','$textProxy','_getMarkersDataForGroup','values','change','changeMarkerRemoved','_removeChildren','markers','span','operationsIsolated','1926221twlMul','switchToEdit','deleteContent','baseVersion','getOperations','getChanges','186246OFkPyJ','isDocumentOperation','diffContent','306356xCvYsM','_sortMarkers','click','toView','hasClass','parentElement','createDocumentFragment','pluginName','suggestion-context','markerToElement','conversion','listenTo','viewToDom','_validateMarkers','ck-ai_review-mode-marker_underline','childCount','outerHTML','[data-marker-id=\x22','has','markerName','_parseMarkerName','isAtStart','ck-ai_review-mode-marker_context-start','changeMarkerClick','processor','rejectChange','ck-ai_review-mode-marker_strikethrough','name','_nextDataId','every','_eventEmitter','$graveyard','push','getRange','model:$text','remove','attributeToAttribute','_removeAttribute','marker','operationsA','isTouching','append'];_0x595b=function(){return _0x3f4c78;};return _0x595b();}import{InsertOperation as _0x3dbfbf,MarkerOperation as _0x51fb45,ModelDocumentFragment as _0x180523,ModelPosition as _0x103c63,ModelRange as _0x3f99d3,ModelTreeWalker as _0x311394,transformOperationSets as _0x1610ac}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x643620,EmitterMixin as _0x55eef0}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4671ce}from'ckeditor5/src/core.js';import{DocumentCompare as _0x127954,DATA_ID_MODEL_ATTRIBUTE as _0x1edfd5,DATA_ID_VIEW_ATTRIBUTE as _0xe81ccc}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x252e44}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x1f0247}from'../aicore/aiediting.js';function _0x16d0(_0x543128,_0x1b586a){const _0x595b19=_0x595b();return _0x16d0=function(_0x16d057,_0x1b5201){_0x16d057=_0x16d057-0x75;let _0x6e1b8c=_0x595b19[_0x16d057];return _0x6e1b8c;},_0x16d0(_0x543128,_0x1b586a);}const me=_0x388d04(0x107);export class AIReviewModeEditing extends _0x4671ce{static get[_0x388d04(0xaf)](){const _0xc1ffc0=_0x388d04;return _0xc1ffc0(0x133);}static get[_0x388d04(0x123)](){return[_0x127954,_0x1f0247];}static get[_0x388d04(0x159)](){return!0x0;}static get[_0x388d04(0x88)](){return!0x0;}[_0x388d04(0x7a)]=new Map();[_0x388d04(0xd7)];[_0x388d04(0xc6)];constructor(_0x3dc728){const _0x4c3cfe=_0x388d04;super(_0x3dc728),this[_0x4c3cfe(0xd7)]=new(_0x643620())(),this[_0x4c3cfe(0xc6)]=new(_0x55eef0())();}get[_0x388d04(0x15d)](){const _0x290803=_0x388d04;return this[_0x290803(0xc6)];}[_0x388d04(0x12a)](){const _0x2280ed=_0x388d04,_0x274ae4=_0x252e44(this[_0x2280ed(0xdc)]);_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x80))[_0x2280ed(0xb1)]({'model':me+_0x2280ed(0x78),'view':(_0x51b72a,{writer:_0x10b48b})=>{const _0xed2a8b=_0x2280ed,_0x1e1fc4=this[_0xed2a8b(0x7a)][_0xed2a8b(0x129)](_0x51b72a[_0xed2a8b(0xbb)]),_0x30c2ef={'class':_0xed2a8b(0x128),'data-marker-id':_0x51b72a[_0xed2a8b(0xbb)]};return _0x10b48b[_0xed2a8b(0xfe)](_0xed2a8b(0x9d),_0x30c2ef,function(_0x565e97){const _0x5728a3=_0xed2a8b,_0x4b8ead=this[_0x5728a3(0x111)](_0x565e97);return _0x4b8ead[_0x5728a3(0x12f)]=_0x1e1fc4?.[_0x5728a3(0xe4)]||'',_0x4b8ead;});}}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x80))[_0x2280ed(0x126)]({'model':me+_0x2280ed(0xe9),'view':_0x472fc8=>({'classes':_0x2280ed(0xc2),'attributes':{'data-marker-id':_0x472fc8[_0x2280ed(0xbb)]}})}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x80))[_0x2280ed(0x126)]({'model':me+_0x2280ed(0x102),'view':_0x515ea9=>({'classes':_0x2280ed(0xb6),'attributes':{'data-marker-id':_0x515ea9[_0x2280ed(0xbb)]}})}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x80))[_0x2280ed(0x126)]({'model':me+_0x2280ed(0x83),'view':_0x4a4347=>({'classes':_0x2280ed(0x163),'attributes':{'data-marker-id':_0x4a4347[_0x2280ed(0xbb)]}})}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x153))[_0x2280ed(0xb1)]({'model':me+_0x2280ed(0xb0),'view':(_0x229bda,{writer:_0x2060fe})=>_0x2060fe[_0x2280ed(0xf7)](_0x2280ed(0x9d),{'class':_0x2280ed(0xd9)+(_0x229bda[_0x2280ed(0xed)]?_0x2280ed(0x116):_0x2280ed(0x7f))})}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0xde))[_0x2280ed(0xcc)]({'model':_0x1edfd5,'view':_0xe81ccc}),this[_0x2280ed(0xd7)][_0x2280ed(0xb3)](document,_0x2280ed(0xaa),(_0x27227b,_0x4c00f9)=>{const _0x48e8e9=_0x2280ed,_0x485408=_0x4c00f9[_0x48e8e9(0x14b)],_0x4e2e39=this[_0x48e8e9(0x75)](_0x485408);if(!_0x4e2e39)return;const _0x48a32a=_0x4e2e39[_0x48e8e9(0x109)](_0x48e8e9(0x137)),_0x586be6=_0x48a32a[_0x48e8e9(0x147)](':')[_0x48e8e9(0x105)]()?.[_0x48e8e9(0x147)]('_')[0x0];this[_0x48e8e9(0xc6)][_0x48e8e9(0x110)](_0x48e8e9(0xbf),{'markerId':_0x48a32a,'changeId':_0x586be6});}),_0x274ae4[_0x2280ed(0x157)][_0x2280ed(0xfa)][_0x2280ed(0x121)](_0x31e9c0=>this[_0x2280ed(0xb5)](_0x274ae4,_0x31e9c0)),_0x274ae4[_0x2280ed(0x157)][_0x2280ed(0xfa)]['on'](_0x2280ed(0x99),()=>this[_0x2280ed(0x11e)](_0x274ae4));}[_0x388d04(0x150)](){const _0x32b81f=_0x388d04,_0x2ea0f2=this[_0x32b81f(0xdc)][_0x32b81f(0xe2)][_0x32b81f(0x129)](_0x32b81f(0x145)),_0x4b070a=_0x252e44(this[_0x32b81f(0xdc)]),_0x173bd4=_0x4b070a[_0x32b81f(0x157)],_0x2d7462=new _0x180523();for(const _0x194839 of _0x173bd4[_0x32b81f(0xfa)][_0x32b81f(0x158)]()[_0x32b81f(0xef)]()){const _0x266384=_0x194839[_0x32b81f(0x12e)](!0x0);_0x2d7462[_0x32b81f(0xfb)](_0x266384);}for(const _0x11a32a of _0x173bd4[_0x32b81f(0x9c)])_0x2d7462[_0x32b81f(0x9c)][_0x32b81f(0x119)](_0x11a32a[_0x32b81f(0xc3)],this[_0x32b81f(0x85)](_0x11a32a[_0x32b81f(0xc9)]()[_0x32b81f(0xf4)](),_0x2d7462));const _0x5675a4=new _0x311394({'ignoreElementEnd':!0x0,'startPosition':_0x173bd4[_0x32b81f(0x10d)](_0x2d7462,0x0)}),_0x2931cf=new Set(),_0x333a82=new Map();for(const {item:_0x14cd4b}of _0x5675a4){if(!_0x14cd4b['is'](_0x32b81f(0x96)))continue;const _0x9e0c85=_0x14cd4b[_0x32b81f(0xd5)];if((!_0x9e0c85||!_0x9e0c85['is'](_0x32b81f(0x86),_0x32b81f(0x81)))&&(_0x9e0c85&&_0x9e0c85['is'](_0x32b81f(0x86)))){let _0xbb3361=_0x9e0c85[_0x32b81f(0x109)](_0x1edfd5);_0xbb3361||(_0xbb3361=_0x2ea0f2[_0x32b81f(0xc4)](_0x2931cf),_0x9e0c85[_0x32b81f(0x79)](_0x1edfd5,_0xbb3361)),_0x2931cf[_0x32b81f(0x15b)](_0xbb3361);let _0x140d14=_0x9e0c85;for(;_0x140d14[_0x32b81f(0xd5)]&&!_0x140d14[_0x32b81f(0xd5)]['is'](_0x32b81f(0x139));)_0x140d14=_0x140d14[_0x32b81f(0xd5)],_0x140d14[_0x32b81f(0xd3)](_0x1edfd5)&&_0x140d14[_0x32b81f(0xcd)](_0x1edfd5);_0x333a82[_0x32b81f(0x119)](_0xbb3361,{'path':_0x9e0c85[_0x32b81f(0x127)](),'getContent':this[_0x32b81f(0x124)](_0x140d14[_0x32b81f(0x12e)](!0x0),_0xbb3361,_0x4b070a[_0x32b81f(0x84)])}),_0x5675a4[_0x32b81f(0xf3)](_0x173bd4[_0x32b81f(0x11a)](_0x9e0c85));}}return{'content':_0x4b070a[_0x32b81f(0x84)][_0x32b81f(0xc0)][_0x32b81f(0x14f)](_0x4b070a[_0x32b81f(0x84)][_0x32b81f(0xab)](_0x2d7462)),'version':_0x4b070a[_0x32b81f(0x157)][_0x32b81f(0xfa)][_0x32b81f(0xea)],'elements':_0x333a82};}[_0x388d04(0xa7)](_0x1f93f5,_0x50a462){const _0x1d281a=_0x388d04,_0x213b0f=[],_0x3ff213=_0x252e44(this[_0x1d281a(0xdc)]),_0x3f91ef=_0x3ff213[_0x1d281a(0x84)][_0x1d281a(0x125)](_0x1f93f5,_0x1d281a(0xe1)),_0x40e814=_0x3ff213[_0x1d281a(0x157)][_0x1d281a(0x10d)](_0x3f91ef,0x0),_0x1f9a34=_0x3ff213[_0x1d281a(0x84)][_0x1d281a(0x125)](_0x50a462,_0x1d281a(0xe1));if(!this[_0x1d281a(0xf8)](_0x3f91ef,_0x1f9a34))return _0x213b0f;const _0x372469=this[_0x1d281a(0xdc)][_0x1d281a(0xe2)][_0x1d281a(0x129)](_0x1d281a(0x7e))[_0x1d281a(0x106)](_0x1f93f5,_0x50a462,{'anchor':_0x40e814,'markDeletions':!0x0})[_0x1d281a(0xa3)]()[_0x1d281a(0x120)](_0x137baa=>_0x1d281a(0x78)===_0x137baa[_0x1d281a(0xee)]||_0x1d281a(0xce)===_0x137baa[_0x1d281a(0xee)]&&_0x137baa[_0x1d281a(0xc3)][_0x1d281a(0x8f)](_0x1d281a(0x10f))),_0x39c6e5=this[_0x1d281a(0x15f)](_0x372469);let _0x598e6d=0x0;return _0x3ff213[_0x1d281a(0x157)][_0x1d281a(0x99)](_0x2ade00=>{const _0x3fb6e9=_0x1d281a;for(let _0x141a8a=0x0;_0x141a8a<_0x39c6e5[_0x3fb6e9(0x82)];_0x141a8a++){const _0x49db78=_0x39c6e5[_0x141a8a],_0x5ea6d9=_0x2ade00[_0x3fb6e9(0xae)]();for(const _0x2ba8c2 of _0x3f91ef[_0x3fb6e9(0xef)]())_0x2ade00[_0x3fb6e9(0xd1)](_0x2ba8c2[_0x3fb6e9(0x12e)](!0x0),_0x5ea6d9);for(const _0x5ae631 of _0x49db78[_0x3fb6e9(0x9e)])if(_0x3fb6e9(0x78)===_0x5ae631[_0x3fb6e9(0xee)]){const _0x58a015=_0x5ae631;_0x58a015[_0x3fb6e9(0xa2)]=null,_0x58a015[_0x3fb6e9(0xa6)]=!0x1,this[_0x3fb6e9(0x160)](_0x58a015,_0x5ea6d9),_0x2ade00[_0x3fb6e9(0x108)][_0x3fb6e9(0x12c)](_0x5ae631),_0x3ff213[_0x3fb6e9(0x157)][_0x3fb6e9(0x15e)](_0x5ae631);const _0x193901=_0x3fb6e9(0x115)+_0x598e6d++,_0x27ed77=_0x3ff213[_0x3fb6e9(0x157)][_0x3fb6e9(0x103)](_0x58a015[_0x3fb6e9(0x8b)],_0x58a015[_0x3fb6e9(0x8b)][_0x3fb6e9(0x77)](_0x58a015[_0x3fb6e9(0x101)]));_0x5ea6d9[_0x3fb6e9(0x9c)][_0x3fb6e9(0x119)](_0x193901,_0x27ed77);}else{if(_0x3fb6e9(0xce)===_0x5ae631[_0x3fb6e9(0xee)]&&_0x5ae631[_0x3fb6e9(0xc3)][_0x3fb6e9(0x8f)](_0x3fb6e9(0x10f))){const _0x583a01=_0x5ae631,_0x6271a=_0x3fb6e9(0x118)+_0x598e6d++;this[_0x3fb6e9(0x160)](_0x583a01,_0x5ea6d9),_0x5ea6d9[_0x3fb6e9(0x9c)][_0x3fb6e9(0x119)](_0x6271a,_0x583a01[_0x3fb6e9(0xfd)]);}}const _0x195898=this[_0x3fb6e9(0xf9)](this[_0x3fb6e9(0x13d)](this[_0x3fb6e9(0x138)](_0x49db78[_0x3fb6e9(0x9e)][0x0]),_0x5ea6d9),this[_0x3fb6e9(0x13d)](this[_0x3fb6e9(0xff)](_0x49db78[_0x3fb6e9(0x9e)][_0x49db78[_0x3fb6e9(0x9e)][_0x3fb6e9(0x82)]-0x1]),_0x5ea6d9));_0x5ea6d9[_0x3fb6e9(0x9c)][_0x3fb6e9(0x119)](me+_0x3fb6e9(0xb0),new _0x3f99d3(_0x195898[_0x3fb6e9(0x116)],_0x195898[_0x3fb6e9(0x7f)])),_0x213b0f[_0x3fb6e9(0xc8)]({..._0x49db78,'context':this[_0x3fb6e9(0x154)](_0x5ea6d9,_0x3ff213[_0x3fb6e9(0x84)],{'ellipsisBefore':_0x195898[_0x3fb6e9(0x15a)],'ellipsisAfter':_0x195898[_0x3fb6e9(0x146)]}),'content':this[_0x3fb6e9(0x10e)](_0x5ea6d9,_0x3ff213[_0x3fb6e9(0x84)])});}}),_0x213b0f;}[_0x388d04(0xf1)](_0x3ad224,_0x2b0ea2){const _0xd54724=_0x388d04;if(!_0x3ad224[_0xd54724(0x82)])return;const _0x564d11=_0x3ad224[0x0][_0xd54724(0xd5)]['id'],_0x36835d=_0x2b0ea2[_0xd54724(0x13f)][_0xd54724(0x129)](_0x564d11);if(!_0x36835d)return void console[_0xd54724(0x155)](_0xd54724(0xd8)+_0x564d11);const _0x109fb0=_0x36835d[_0xd54724(0x140)],_0x2ffeda=_0x252e44(this[_0xd54724(0xdc)]),_0x5a845c=_0x2ffeda[_0xd54724(0x157)][_0xd54724(0xfa)][_0xd54724(0xdf)][_0xd54724(0xa3)](_0x2b0ea2[_0xd54724(0xea)]),_0x42d53a=[];for(const _0x53216b of _0x3ad224){const _0x4a9ae9=_0x53216b[_0xd54724(0x9e)][_0xd54724(0x94)](_0x23f1a2=>this[_0xd54724(0x141)](_0x23f1a2,_0x109fb0,_0x2ffeda[_0xd54724(0x157)][_0xd54724(0xfa)][_0xd54724(0x152)]()[0x0]));if(!_0x4a9ae9||!_0x4a9ae9[_0xd54724(0x82)])continue;const _0xc02a77=_0x4a9ae9[_0xd54724(0xc5)](_0x4177bb=>_0xd54724(0xce)===_0x4177bb[_0xd54724(0xee)]&&_0x4177bb[_0xd54724(0xc3)][_0xd54724(0x8f)](_0xd54724(0x10f))),_0x48b2e0={'document':_0x2ffeda[_0xd54724(0x157)][_0xd54724(0xfa)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1f8043=_0x1610ac(_0x4a9ae9,_0x5a845c,_0x48b2e0)[_0xd54724(0xcf)];for(const _0x1ad310 of _0x1f8043)if(_0xd54724(0x78)===_0x1ad310[_0xd54724(0xee)]){const _0xd18664=_0x1ad310,_0x39e526=_0xd18664[_0xd54724(0xf0)];let _0x5b542b='';for(const _0x1f08b6 of _0x39e526)_0x1f08b6&&_0x1f08b6['is'](_0xd54724(0xca))&&(_0x5b542b+=_0x1f08b6[_0xd54724(0x84)]);_0x42d53a[_0xd54724(0xc8)]({'start':_0xd18664[_0xd54724(0x8b)],'end':_0xd18664[_0xd54724(0x8b)],'type':_0xd54724(0x78),'groupId':_0x53216b['id'],'text':_0x5b542b});}else{if(_0xd54724(0xce)===_0x1ad310[_0xd54724(0xee)]&&_0x1ad310[_0xd54724(0xc3)][_0xd54724(0x8f)](_0xd54724(0x10f))){const _0x482361=_0x1ad310;let _0x46890f=_0xd54724(0x83);if(_0xc02a77){const _0x4ce615=this[_0xd54724(0xd2)](_0x482361[_0xd54724(0xfd)][_0xd54724(0x116)],_0xd54724(0x11f),_0x2ffeda[_0xd54724(0x157)][_0xd54724(0x135)]),_0x15f60b=this[_0xd54724(0xd2)](_0x482361[_0xd54724(0xfd)][_0xd54724(0x7f)],_0xd54724(0xe3),_0x2ffeda[_0xd54724(0x157)][_0xd54724(0x135)]);if(_0x4ce615||_0x15f60b){const _0x83b495=_0x482361[_0xd54724(0xfd)][_0xd54724(0x116)][_0xd54724(0x77)](-_0x4ce615),_0x323d2=_0x482361[_0xd54724(0xfd)][_0xd54724(0x7f)][_0xd54724(0x77)](_0x15f60b);_0x42d53a[_0xd54724(0xc8)]({'start':_0x83b495,'end':_0x323d2,'groupId':_0x53216b['id'],'type':_0xd54724(0x102)});}else _0x46890f=_0xd54724(0xe9);}_0x42d53a[_0xd54724(0xc8)]({'start':_0x482361[_0xd54724(0xfd)][_0xd54724(0x116)],'end':_0x482361[_0xd54724(0xfd)][_0xd54724(0x7f)],'groupId':_0x53216b['id'],'type':_0x46890f});}}}this[_0xd54724(0xdd)](_0x42d53a);}[_0x388d04(0x100)](){const _0x536366=_0x388d04,_0x13f7f6=_0x252e44(this[_0x536366(0xdc)]);_0x13f7f6[_0x536366(0x157)][_0x536366(0x99)](_0x419801=>{const _0x3e90c6=_0x536366;for(const _0x2fa900 of this[_0x3e90c6(0x7a)][_0x3e90c6(0x131)]())_0x13f7f6[_0x3e90c6(0x157)][_0x3e90c6(0x9c)][_0x3e90c6(0x129)](_0x2fa900)&&_0x419801[_0x3e90c6(0x149)](_0x2fa900);}),this[_0x536366(0x7a)][_0x536366(0x7b)]();}[_0x388d04(0x8e)](){const _0x5e4806=_0x388d04;_0x252e44(this[_0x5e4806(0xdc)])[_0x5e4806(0x161)](_0x5e4806(0x10c));}[_0x388d04(0xa0)](){const _0x4953a3=_0x388d04;_0x252e44(this[_0x4953a3(0xdc)])[_0x4953a3(0xe6)](_0x4953a3(0x10c));}[_0x388d04(0xdb)](_0x5a6cf2){const _0x5de57b=_0x388d04,_0x230282=_0x252e44(this[_0x5de57b(0xdc)]),_0x2ead44=_0x230282[_0x5de57b(0x157)],_0x17cbee=_0x5a6cf2[_0x5de57b(0x94)](_0x8477e8=>this[_0x5de57b(0x97)](_0x8477e8))[_0x5de57b(0x104)]();_0x2ead44[_0x5de57b(0x99)](_0x1ed17b=>{const _0x322fa8=_0x5de57b;for(const _0x466f79 of _0x17cbee){const _0xa8ecb2=_0x230282[_0x322fa8(0x157)][_0x322fa8(0x9c)][_0x322fa8(0x129)](_0x466f79['id']);_0xa8ecb2&&(_0x322fa8(0x78)===_0x466f79[_0x322fa8(0xee)]?_0x2ead44[_0x322fa8(0x10a)](_0x1ed17b[_0x322fa8(0x162)](_0x466f79[_0x322fa8(0xe4)]||''),_0xa8ecb2[_0x322fa8(0xc9)]()[_0x322fa8(0x116)]):_0x322fa8(0x83)!==_0x466f79[_0x322fa8(0xee)]&&_0x322fa8(0xe9)!==_0x466f79[_0x322fa8(0xee)]||_0x2ead44[_0x322fa8(0xa1)](_0x2ead44[_0x322fa8(0x8d)](_0xa8ecb2[_0x322fa8(0xc9)]())),_0x1ed17b[_0x322fa8(0x149)](_0x466f79['id']),this[_0x322fa8(0x7a)][_0x322fa8(0xe0)](_0x466f79['id']));}});}[_0x388d04(0xc1)](_0x152c42){const _0xa3d1b9=_0x388d04,_0x5bb076=_0x252e44(this[_0xa3d1b9(0xdc)]),_0x2766e5=this[_0xa3d1b9(0x97)](_0x152c42);_0x5bb076[_0xa3d1b9(0x157)][_0xa3d1b9(0x99)](_0x20f9d0=>{const _0x22ef1a=_0xa3d1b9;for(const _0x493105 of _0x2766e5)_0x20f9d0[_0x22ef1a(0x149)](_0x493105['id']),this[_0x22ef1a(0x7a)][_0x22ef1a(0xe0)](_0x493105['id']);});}[_0x388d04(0x14a)](){const _0x4f7439=_0x388d04;return _0x252e44(this[_0x4f7439(0xdc)]);}[_0x388d04(0x156)](_0x12931c){const _0x375641=_0x388d04,_0x2e042a=Array[_0x375641(0x113)](this[_0x375641(0x7a)][_0x375641(0x98)]())[_0x375641(0x120)](_0x252f72=>_0x252f72[_0x375641(0x14c)]===_0x12931c);if(!_0x2e042a[_0x375641(0x82)])return null;const _0x3102d0=0x1===_0x2e042a[_0x375641(0x82)]?_0x2e042a[0x0]:this[_0x375641(0xa9)](_0x2e042a)[0x0],_0x1ca885=_0x252e44(this[_0x375641(0xdc)]),_0x346ff4=_0x1ca885[_0x375641(0x157)][_0x375641(0x9c)][_0x375641(0x129)](_0x3102d0['id']);if(!_0x346ff4)return null;const _0x27c0bf=_0x346ff4[_0x375641(0xc9)](),_0x5de58c=_0x1ca885[_0x375641(0x122)][_0x375641(0x7d)][_0x375641(0x14d)]();if(!_0x5de58c||!_0x27c0bf)return null;const _0x4ce816=_0x5de58c[_0x375641(0x95)](_0x375641(0xb9)+_0x3102d0['id']+'\x22]');return _0x4ce816?{'modelRange':_0x27c0bf,'domElement':_0x4ce816}:null;}[_0x388d04(0xb5)](_0x4063c5,_0x24065f){const _0xfe312c=_0x388d04,_0x74d541=Array[_0xfe312c(0x113)](this[_0xfe312c(0x7a)][_0xfe312c(0x131)]()),_0x11c543=new Map();for(const _0x3380d3 of _0x74d541){const _0x28a783=_0x4063c5[_0xfe312c(0x157)][_0xfe312c(0x9c)][_0xfe312c(0x129)](_0x3380d3);if(!_0x28a783)continue;const _0x4af09f=_0x28a783[_0xfe312c(0x91)]()[_0xfe312c(0x140)][0x0];_0x11c543[_0xfe312c(0xba)](_0x4af09f)||_0x11c543[_0xfe312c(0x119)](_0x4af09f,[]),_0x11c543[_0xfe312c(0x129)](_0x4af09f)[_0xfe312c(0xc8)](_0x28a783);}const _0x3fb859=new Set();for(const _0x1231dc of _0x4063c5[_0xfe312c(0x157)][_0xfe312c(0xfa)][_0xfe312c(0x76)][_0xfe312c(0xa4)]()){let _0xf1639=-0x1,_0x357090=null;if(_0xfe312c(0x78)===_0x1231dc[_0xfe312c(0xee)])_0x357090=new _0x3f99d3(_0x1231dc[_0xfe312c(0x8b)],_0x1231dc[_0xfe312c(0x8b)][_0xfe312c(0x77)](_0x1231dc[_0xfe312c(0x82)])),_0xf1639=_0x1231dc[_0xfe312c(0x8b)][_0xfe312c(0x140)][0x0];else{if(_0xfe312c(0xcb)!==_0x1231dc[_0xfe312c(0xee)])continue;_0x357090=new _0x3f99d3(_0x1231dc[_0xfe312c(0x8b)]),_0xf1639=_0x1231dc[_0xfe312c(0x8b)][_0xfe312c(0x140)][0x0];}const _0x592900=_0x11c543[_0xfe312c(0x129)](_0xf1639)||[];if(_0x592900[_0xfe312c(0x82)]){for(const _0x3b08d7 of _0x592900)if(_0x357090[_0xfe312c(0x8c)][_0xfe312c(0x142)]===_0x3b08d7[_0xfe312c(0xc9)]()[_0xfe312c(0x8c)][_0xfe312c(0x142)]&&(_0xfe312c(0x78)!==_0x1231dc[_0xfe312c(0xee)]||!_0x357090[_0xfe312c(0x89)](_0x3b08d7[_0xfe312c(0xc9)]()))&&(_0x357090[_0xfe312c(0x14e)](_0x3b08d7[_0xfe312c(0xc9)]())||_0x357090[_0xfe312c(0x116)][_0xfe312c(0xd0)](_0x3b08d7[_0xfe312c(0xc9)]()[_0xfe312c(0x7f)])||_0x357090[_0xfe312c(0x7f)][_0xfe312c(0xd0)](_0x3b08d7[_0xfe312c(0xc9)]()[_0xfe312c(0x116)]))){const _0x59f035=this[_0xfe312c(0xbc)](_0x3b08d7[_0xfe312c(0xc3)]);Array[_0xfe312c(0x113)](this[_0xfe312c(0x7a)][_0xfe312c(0x98)]())[_0xfe312c(0x120)](_0x574ee0=>_0x574ee0[_0xfe312c(0x14c)]===_0x59f035[_0xfe312c(0x14c)])[_0xfe312c(0xe7)](_0x3d04e9=>_0x3fb859[_0xfe312c(0x15b)](_0x3d04e9['id']));}}}if(_0x3fb859[_0xfe312c(0x130)]){for(const _0x34caeb of _0x3fb859)_0x24065f[_0xfe312c(0x149)](_0x34caeb);return!0x0;}return!0x1;}[_0x388d04(0x11e)](_0x2b81f3){const _0x1ea998=_0x388d04;for(const {name:_0x20be75,data:_0x1cbac7}of _0x2b81f3[_0x1ea998(0x157)][_0x1ea998(0xfa)][_0x1ea998(0x76)][_0x1ea998(0xd4)]()){if(!_0x20be75[_0x1ea998(0x8f)](me))continue;const _0x2fdc8f=_0x1cbac7[_0x1ea998(0xf2)],_0x3e16a9=_0x1cbac7[_0x1ea998(0xfd)],_0x122009=_0x2fdc8f&&_0x1ea998(0xc7)===_0x2fdc8f[_0x1ea998(0x8c)][_0x1ea998(0x142)],_0x2645c0=_0x3e16a9&&_0x1ea998(0xc7)===_0x3e16a9[_0x1ea998(0x8c)][_0x1ea998(0x142)];if(_0x122009&&_0x2645c0)continue;const _0x46d0af=this[_0x1ea998(0xbc)](_0x20be75);this[_0x1ea998(0x7a)][_0x1ea998(0x129)](_0x20be75)&&(_0x2645c0||!_0x3e16a9?this[_0x1ea998(0xc6)][_0x1ea998(0x110)](_0x1ea998(0x9a),{'markerId':_0x20be75,'changeId':_0x46d0af[_0x1ea998(0x14c)]}):_0x122009&&_0x3e16a9&&this[_0x1ea998(0xc6)][_0x1ea998(0x110)](_0x1ea998(0x13c),{'markerId':_0x20be75,'changeId':_0x46d0af[_0x1ea998(0x14c)]}));}}[_0x388d04(0xbc)](_0x2d63ac){const _0xad6c4=_0x388d04,_0x2b8533=_0x2d63ac[_0xad6c4(0x147)](':'),_0x47810e=(_0x2b8533[0x1]||'')[_0xad6c4(0x147)]('_');return{'prefix':_0x2b8533[0x0],'groupId':_0x47810e[0x0],'suffix':_0x47810e[0x1]};}[_0x388d04(0x141)](_0x58695e,_0x610a39,_0x2e6aee){const _0x9c438b=_0x388d04;if(_0x9c438b(0x78)===_0x58695e[_0x9c438b(0xee)]){const _0x467ba9=_0x58695e;return new _0x3dbfbf(this[_0x9c438b(0x11c)](_0x610a39[_0x9c438b(0x11b)](_0x467ba9[_0x9c438b(0x8b)][_0x9c438b(0x144)]),_0x2e6aee),_0x467ba9[_0x9c438b(0xf0)],_0x467ba9[_0x9c438b(0xa2)]);}if(_0x9c438b(0xce)===_0x58695e[_0x9c438b(0xee)]&&_0x58695e[_0x9c438b(0xc3)][_0x9c438b(0x8f)](_0x9c438b(0x10f))){const _0x34fc5d=_0x58695e;return new _0x51fb45(_0x34fc5d[_0x9c438b(0xc3)],_0x34fc5d[_0x9c438b(0xf2)],this[_0x9c438b(0x13e)](_0x34fc5d[_0x9c438b(0xfd)],_0x610a39[_0x9c438b(0x11b)](_0x34fc5d[_0x9c438b(0xfd)][_0x9c438b(0x116)][_0x9c438b(0x144)]),_0x610a39[_0x9c438b(0x11b)](_0x34fc5d[_0x9c438b(0xfd)][_0x9c438b(0x7f)][_0x9c438b(0x144)]),_0x2e6aee),_0x34fc5d[_0x9c438b(0x7a)],_0x34fc5d[_0x9c438b(0xf5)],_0x34fc5d[_0x9c438b(0xa2)]);}return _0x58695e;}[_0x388d04(0x15f)](_0x23e2c9){const _0x49ab42=_0x388d04;if(!_0x23e2c9[_0x49ab42(0x82)])return[];const _0x42bcbd=[];let _0x1d5ffd=0x0,_0x484b3e=0x0,_0x2f8fe6=[];for(let _0x5b2c78=0x0;_0x5b2c78<=_0x23e2c9[_0x49ab42(0x82)];_0x5b2c78++){const _0x2a67f2=_0x23e2c9[_0x5b2c78],_0x5961b4=_0x23e2c9[_0x5b2c78-0x1];!_0x2a67f2||_0x5961b4&&!this[_0x49ab42(0xff)](_0x5961b4)[_0x49ab42(0xd0)](this[_0x49ab42(0x138)](_0x2a67f2))?(_0x42bcbd[_0x49ab42(0xc8)]({'operations':_0x2f8fe6,'operationsIsolated':_0x2f8fe6[_0x49ab42(0x94)](_0x430ce3=>this[_0x49ab42(0x12d)](_0x430ce3[_0x49ab42(0xf4)](),-_0x484b3e)),'groupOffset':_0x1d5ffd}),_0x2f8fe6=_0x2a67f2?[_0x2a67f2]:[],_0x484b3e+=_0x1d5ffd,_0x1d5ffd=0x0):_0x2f8fe6[_0x49ab42(0xc8)](_0x2a67f2),_0x2a67f2&&_0x49ab42(0x78)===_0x2a67f2[_0x49ab42(0xee)]&&(_0x1d5ffd+=_0x2a67f2[_0x49ab42(0x101)]);}return _0x42bcbd;}[_0x388d04(0xd2)](_0xd665c4,_0x433475,_0x5e2a14,_0x4a8417=0x1){const _0x515c37=_0x388d04,_0x21041c=new _0x311394({'startPosition':_0xd665c4,'direction':_0x433475});let _0x48d290=0x0;for(let _0x9702d1=0x0;_0x9702d1<_0x4a8417;_0x9702d1++){let _0x33f42e=0x0,_0x5b7478=!0x1,_0x153f99=_0x515c37(0xe3)===_0x433475?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x210a4}of _0x21041c)if(_0x210a4['is'](_0x515c37(0x96))){const _0x94ed10=_0x153f99[_0x515c37(0x90)](_0x210a4[_0x515c37(0x84)]);if(_0x94ed10&&_0x94ed10[_0x515c37(0x82)]){if(_0x33f42e+=_0x515c37(0xe3)===_0x433475?_0x94ed10[_0x515c37(0xfc)]+_0x94ed10[0x0][_0x515c37(0x82)]:_0x210a4[_0x515c37(0x84)][_0x515c37(0x82)]-_0x94ed10[_0x515c37(0xfc)],_0x94ed10[0x0][_0x515c37(0x82)]!==_0x210a4[_0x515c37(0x84)][_0x515c37(0x82)])break;_0x5b7478=!0x0,_0x153f99=_0x515c37(0xe3)===_0x433475?/^\w+/:/\w+$/;}else{if(_0x5b7478)break;_0x33f42e+=_0x210a4[_0x515c37(0x87)];}}else{if(_0x210a4['is'](_0x515c37(0x86))){_0x5e2a14[_0x515c37(0x11d)](_0x210a4)&&!_0x5b7478&&(_0x33f42e+=0x1);break;}}_0x48d290+=_0x33f42e,_0x21041c[_0x515c37(0xf3)](_0xd665c4[_0x515c37(0x77)](_0x515c37(0xe3)===_0x433475?_0x48d290:-_0x48d290));}return _0x48d290;}[_0x388d04(0xf9)](_0x42849e,_0x371d5d){const _0x41fb7b=_0x388d04,_0xdc80b7=_0x252e44(this[_0x41fb7b(0xdc)])[_0x41fb7b(0x157)][_0x41fb7b(0x135)],_0x134e78=this[_0x41fb7b(0xd2)](_0x42849e,_0x41fb7b(0x11f),_0xdc80b7,0x6),_0x2a28a0=this[_0x41fb7b(0xd2)](_0x371d5d,_0x41fb7b(0xe3),_0xdc80b7,0x6),_0x2bc200=_0x42849e[_0x41fb7b(0x77)](-_0x134e78),_0x40b6a9=_0x371d5d[_0x41fb7b(0x77)](_0x2a28a0);return{'start':_0x2bc200,'end':_0x40b6a9,'hasContentBefore':!_0x2bc200[_0x41fb7b(0xbd)],'hasContentAfter':!_0x40b6a9[_0x41fb7b(0x10b)]};}[_0x388d04(0xdd)](_0x3e6707){const _0x24515e=_0x388d04,_0x17b5bc=this[_0x24515e(0xdc)][_0x24515e(0xe2)][_0x24515e(0x129)](_0x24515e(0x145)),_0x15ebe2=new Set();_0x252e44(this[_0x24515e(0xdc)])[_0x24515e(0x157)][_0x24515e(0x99)](_0x25207e=>{const _0x2fc58b=_0x24515e;for(const _0x18628e of _0x3e6707){const _0x744099=''+me+_0x18628e[_0x2fc58b(0xee)]+':'+_0x18628e[_0x2fc58b(0x14c)]+'_'+_0x17b5bc[_0x2fc58b(0xc4)](_0x15ebe2);this[_0x2fc58b(0x7a)][_0x2fc58b(0x119)](_0x744099,{'id':_0x744099,'groupId':_0x18628e[_0x2fc58b(0x14c)],'type':_0x18628e[_0x2fc58b(0xee)],'text':_0x18628e[_0x2fc58b(0xe4)]}),_0x25207e[_0x2fc58b(0x132)](_0x744099,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x25207e[_0x2fc58b(0x103)](_0x18628e[_0x2fc58b(0x116)],_0x18628e[_0x2fc58b(0x7f)])});}});}[_0x388d04(0x154)](_0x4686e0,_0x3fa5a4,_0x325cb2){let _0x5c2827='';return()=>{const _0x19cf80=_0x16d0;if(!_0x5c2827){const _0x540e5d=_0x3fa5a4[_0x19cf80(0xab)](_0x4686e0,{'showSuggestionHighlights':!0x0}),_0x542bc4=_0x540e5d[_0x19cf80(0x134)](0x0);if(!_0x542bc4)return'';let _0x5065c0=!0x1;const _0x210ce3=[];for(const _0x3248fe of _0x542bc4[_0x19cf80(0xef)]())_0x3248fe['is'](_0x19cf80(0x86),_0x19cf80(0x9d))&&_0x3248fe[_0x19cf80(0xac)](_0x19cf80(0x7c))&&(_0x5065c0=!0x1),_0x5065c0&&_0x210ce3[_0x19cf80(0xc8)](_0x3248fe),_0x3248fe['is'](_0x19cf80(0x86),_0x19cf80(0x9d))&&_0x3248fe[_0x19cf80(0xac)](_0x19cf80(0xbe))&&(_0x5065c0=!0x0);_0x542bc4[_0x19cf80(0x9b)](0x0,_0x542bc4[_0x19cf80(0xb7)]),_0x325cb2?.[_0x19cf80(0x151)]&&_0x542bc4[_0x19cf80(0xfb)]('…'),_0x542bc4[_0x19cf80(0xfb)](_0x210ce3),_0x325cb2?.[_0x19cf80(0xd6)]&&_0x542bc4[_0x19cf80(0xfb)]('…');const _0x313fd6=_0x3fa5a4[_0x19cf80(0x112)][_0x19cf80(0x13b)][_0x19cf80(0xb4)](_0x540e5d),_0x1d3290=_0x3fa5a4[_0x19cf80(0x112)][_0x19cf80(0xda)][_0x19cf80(0xeb)](_0x313fd6);_0x5c2827=_0x1d3290;}return _0x5c2827;};}[_0x388d04(0x10e)](_0x5e92cb,_0x48b713){const _0x493b16=_0x388d04;let _0x2c933b='';return()=>(_0x2c933b||(_0x2c933b=_0x48b713[_0x493b16(0x93)](_0x5e92cb,{'showSuggestionHighlights':!0x0})),_0x2c933b);}[_0x388d04(0x124)](_0x137ff2,_0x23e687,_0x49bb4b){let _0x64ce73='';return()=>{const _0x261615=_0x16d0;if(!_0x64ce73){const _0x5de81b=_0x49bb4b[_0x261615(0xab)](new _0x180523(_0x137ff2)),_0x10cb97=_0x49bb4b[_0x261615(0x112)][_0x261615(0x13b)][_0x261615(0xb4)](_0x5de81b)[_0x261615(0x95)](_0x261615(0xe5)+_0x23e687+'\x22]');_0x64ce73=_0x10cb97?.[_0x261615(0xb8)]||'';}return _0x64ce73;};}[_0x388d04(0x75)](_0x2f375e,_0x265418=0x5){const _0x5dbe1c=_0x388d04;let _0xf4989c=_0x2f375e,_0x1a1401=null;for(let _0x24ea9c=0x0;_0x24ea9c<_0x265418&&_0xf4989c;_0x24ea9c++){if(!_0xf4989c[_0x5dbe1c(0x8a)]){_0xf4989c=_0xf4989c[_0x5dbe1c(0xad)];continue;}if(!(''+_0xf4989c[_0x5dbe1c(0x8a)])[_0x5dbe1c(0x15c)](_0x5dbe1c(0xec))){_0xf4989c=_0xf4989c[_0x5dbe1c(0xad)];continue;}if(!_0xf4989c[_0x5dbe1c(0x109)](_0x5dbe1c(0x137)))break;_0x1a1401=_0xf4989c;break;}return _0x1a1401;}[_0x388d04(0x97)](_0x136525){const _0x17959f=_0x388d04;return Array[_0x17959f(0x113)](this[_0x17959f(0x7a)][_0x17959f(0x98)]())[_0x17959f(0x120)](_0x51867e=>_0x51867e[_0x17959f(0x14c)]===_0x136525);}[_0x388d04(0x138)](_0xc71387){const _0x2093f7=_0x388d04;return _0x2093f7(0x78)===_0xc71387[_0x2093f7(0xee)]?_0xc71387[_0x2093f7(0x8b)]:_0xc71387[_0x2093f7(0xfd)][_0x2093f7(0x116)];}[_0x388d04(0xff)](_0x151b3a,_0x303c98=!0x1){const _0x8a478=_0x388d04;return _0x8a478(0x78)===_0x151b3a[_0x8a478(0xee)]?_0x303c98?_0x151b3a[_0x8a478(0x8b)]:_0x151b3a[_0x8a478(0x8b)][_0x8a478(0x77)](_0x151b3a[_0x8a478(0x101)]):_0x151b3a[_0x8a478(0xfd)][_0x8a478(0x7f)];}[_0x388d04(0x12d)](_0x5007a8,_0x448c9a){const _0xc2f685=_0x388d04;return _0xc2f685(0x78)===_0x5007a8[_0xc2f685(0xee)]?_0x5007a8[_0xc2f685(0x8b)]=_0x5007a8[_0xc2f685(0x8b)][_0xc2f685(0x77)](_0x448c9a):_0xc2f685(0xce)===_0x5007a8[_0xc2f685(0xee)]&&_0x5007a8[_0xc2f685(0xfd)]&&(_0x5007a8[_0xc2f685(0xfd)]=new _0x3f99d3(_0x5007a8[_0xc2f685(0xfd)][_0xc2f685(0x116)][_0xc2f685(0x77)](_0x448c9a),_0x5007a8[_0xc2f685(0xfd)][_0xc2f685(0x7f)][_0xc2f685(0x77)](_0x448c9a))),_0x5007a8;}[_0x388d04(0x160)](_0x2d3dcf,_0x4dab2d){const _0x15d988=_0x388d04;_0x15d988(0x78)===_0x2d3dcf[_0x15d988(0xee)]?_0x2d3dcf[_0x15d988(0x8b)]=this[_0x15d988(0x13d)](_0x2d3dcf[_0x15d988(0x8b)],_0x4dab2d):_0x15d988(0xce)===_0x2d3dcf[_0x15d988(0xee)]&&_0x2d3dcf[_0x15d988(0xfd)]&&(_0x2d3dcf[_0x15d988(0xfd)]=this[_0x15d988(0x85)](_0x2d3dcf[_0x15d988(0xfd)],_0x4dab2d));}[_0x388d04(0x13d)](_0x30248c,_0x5e8260){const _0x3a09c8=_0x388d04;return new _0x103c63(_0x5e8260,_0x30248c[_0x3a09c8(0x140)]);}[_0x388d04(0x85)](_0x14c3e1,_0x213e71){const _0x19945a=_0x388d04;return new _0x3f99d3(this[_0x19945a(0x13d)](_0x14c3e1[_0x19945a(0x116)],_0x213e71),this[_0x19945a(0x13d)](_0x14c3e1[_0x19945a(0x7f)],_0x213e71));}[_0x388d04(0x11c)](_0x1fac82,_0x53706c){return new _0x103c63(_0x53706c,[..._0x1fac82]);}[_0x388d04(0x13e)](_0x1da552,_0x9121ef,_0x1e0e5a,_0x2adf94){const _0x5c53a4=_0x388d04;return new _0x3f99d3(this[_0x5c53a4(0x11c)](_0x9121ef,_0x2adf94),this[_0x5c53a4(0x11c)](_0x1e0e5a,_0x2adf94));}[_0x388d04(0xa9)](_0x2e6451){const _0x409296=_0x388d04,_0x3cf96e=_0x286502=>{const _0x41b0ed=_0x16d0;switch(_0x286502){case _0x41b0ed(0x78):return 0x1;case _0x41b0ed(0x102):return 0x2;case _0x41b0ed(0xe9):return 0x3;case _0x41b0ed(0x83):return 0x4;}};return _0x2e6451[_0x409296(0x148)]((_0x1c95d2,_0x7c0262)=>_0x3cf96e(_0x1c95d2[_0x409296(0xee)])-_0x3cf96e(_0x7c0262[_0x409296(0xee)]));}[_0x388d04(0xf8)](_0x41f97e,_0x5b9920){const _0x19ead2=_0x388d04,_0x52d32b=_0x41f97e[_0x19ead2(0x134)](0x0),_0x5acfcd=_0x5b9920[_0x19ead2(0x134)](0x0);return!(!_0x52d32b||!_0x5acfcd)&&((!_0x52d32b['is'](_0x19ead2(0x86))||!_0x5acfcd['is'](_0x19ead2(0x86))||_0x52d32b[_0x19ead2(0xc3)]===_0x5acfcd[_0x19ead2(0xc3)])&&!(_0x52d32b['is'](_0x19ead2(0x86))&&!_0x5acfcd['is'](_0x19ead2(0x86))||!_0x52d32b['is'](_0x19ead2(0x86))&&_0x5acfcd['is'](_0x19ead2(0x86))));}}
|
|
23
|
+
const _0x124fa1=_0x160c;(function(_0x5ccdc6,_0x5d1f97){const _0x38636d=_0x160c,_0x3768a2=_0x5ccdc6();while(!![]){try{const _0x58e712=parseInt(_0x38636d(0x174))/0x1+-parseInt(_0x38636d(0x14e))/0x2+-parseInt(_0x38636d(0x12d))/0x3+-parseInt(_0x38636d(0x161))/0x4*(-parseInt(_0x38636d(0x17d))/0x5)+parseInt(_0x38636d(0x1ae))/0x6*(parseInt(_0x38636d(0x165))/0x7)+parseInt(_0x38636d(0x1d1))/0x8*(parseInt(_0x38636d(0x15e))/0x9)+-parseInt(_0x38636d(0x15d))/0xa*(parseInt(_0x38636d(0x122))/0xb);if(_0x58e712===_0x5d1f97)break;else _0x3768a2['push'](_0x3768a2['shift']());}catch(_0x1cbd14){_0x3768a2['push'](_0x3768a2['shift']());}}}(_0x5a36,0x6ae15));function _0x160c(_0x532986,_0x2f7330){const _0x5a36e0=_0x5a36();return _0x160c=function(_0x160c60,_0x3abb44){_0x160c60=_0x160c60-0x122;let _0x2ceb92=_0x5a36e0[_0x160c60];return _0x2ceb92;},_0x160c(_0x532986,_0x2f7330);}import{InsertOperation as _0x1163b7,MarkerOperation as _0xdd2f0a,ModelDocumentFragment as _0x5cbc43,ModelPosition as _0x3c9f8d,ModelRange as _0x2395bb,ModelTreeWalker as _0x2d2d84,transformOperationSets as _0x22202e}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x4d97ea,EmitterMixin as _0x5ab14e}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x1e2b28}from'ckeditor5/src/core.js';import{DocumentCompare as _0x3f9b97,DATA_ID_MODEL_ATTRIBUTE as _0x15b0c2,DATA_ID_VIEW_ATTRIBUTE as _0x14e896}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5a36(){const _0x1953e4=['applyChange','append','toData','ck-ai_review-mode-marker_context-','insert','$graveyard','disableReadOnlyMode','attributeToAttribute','markerToElement','isPremiumPlugin','isAtEnd','ck-ai_review-mode-marker_context-end','_groupAdjacentOperations','isAtStart','conversion','_clone','ck-ai_review-mode-marker_hide','howMany','target','switchToReadOnly','ck-ai_review-mode-marker_add','suggestion-context','position','2915988GujotN','marker','ck-ai_review-mode-marker_strikethrough','AIReviewModeEditing','end','change','_sortMarkers','_getOperationStart','remove','processor','getRoot','isInline','htmlWriter','name','className','text','root','suggestion:deletion:id:authorId:','offset','_translateOperationToEditorContent','newRange','_shiftOperation','elements','hasAttribute','[data-marker-id=\x22','markers','getDomRoot','outerHTML','getShiftedBy','forward','deleteContent','stringify','getChildren','htmlProcessor','includes','296iRXBAp','_getChangeContext','createSelection','ai-review-mode','index','jumpTo','parse','_changeRangeOwnerDocument','remove-only','operationsIsolated','_domEmitter','hasClass','_setAttribute','_createGetContentUsingDataIdFn','addMarker','$textProxy','schema','_getOperationEnd','nodes','getHtml','changeMarkerRestored','map','_getMarkersDataForGroup','ck-ai_review-mode-marker_underline','push','afterInit','markerName','markerToHighlight','version','_validateMarkers','_nextDataId','add','baseVersion','_changeRange','exec','groupId','data-marker-id','document','length','model','getOperations','remove-context','getAttribute','filter','getChanges','sort','emitter','pluginName','pop','enableReadOnlyMode','span','No\x20element\x20found\x20for\x20ID:\x20','innerHTML','getChangedMarkers','viewToDom','_changePosition','delete','_handleMarkerChanges','getDocumentData','editing','ck-ai_review-mode-marker_','isOfficialPlugin','_eventEmitter','_markers','11TLLAwN','start','_removeAttribute','affectsData','rejectChange','history','_changePositionOwnerDocument','insertContent','_removeChildren','editingDowncast','dataDowncast','1246374KRXhKx','rootName','set','diffContent','oldRange','ck-ai_review-mode-marker_context-start','applyOperation','getChild','split','operationsA','backward','for','getMarkerElementForChange','plugins','isDocumentOperation','createDocumentFragment','flat','clear','createUIElement','parent','values','AIEditing','changeMarkerRemoved','element','path','DocumentCompare','isOpening','createRange','registerPostFixer','removeMarker','getRange','keys','_findAdjacentContextDistance','1271254AykFRR','listenTo','getRoots','createPositionAfter','model:$text','caption','clone','$documentFragment','changeMarkerClick','get','ellipsisAfter','domConverter','$markedRemove','fire','isIntersecting','4511090JLspKI','76689KsbxBl','downcast','hasContentBefore','4212woXLCk','startsWith','_findMarkerElement','suggestion:insertion:id:authorId:','7mpZmSE','createPositionAt','data','createText','batch','getEditor','_changeOperationOwnerDocument','toView','addOperation','reviewmode-','_createGetContextFn','childCount','clearAllMarkers','_insertMarkers','_parseMarkerName','659585zQXtHx','remove-text','context','every','requires','createRawElement','_createGetContentFn','type','getPath','2275qJftDG','concat','offsetSize','markChangePositionInEditorContent','warn','isTouching','_hasSameTopLevelElement','from','differ','click','getStart','toDomElement','forEach','size','has','switchToEdit','parentElement','hasContentAfter','[data-id=\x22','_appendChild','view','querySelector','ellipsisBefore','containsRange','documentFragment','getDiff'];_0x5a36=function(){return _0x1953e4;};return _0x5a36();}import{getEditorFromContext as _0x321e1b}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x4053fc}from'../aicore/aiediting.js';const he=_0x124fa1(0x16e);export class AIReviewModeEditing extends _0x1e2b28{static get[_0x124fa1(0x200)](){const _0x505b8c=_0x124fa1;return _0x505b8c(0x1b1);}static get[_0x124fa1(0x178)](){return[_0x3f9b97,_0x4053fc];}static get[_0x124fa1(0x20e)](){return!0x0;}static get[_0x124fa1(0x1a0)](){return!0x0;}[_0x124fa1(0x210)]=new Map();[_0x124fa1(0x1db)];[_0x124fa1(0x20f)];constructor(_0x1c692a){const _0x653ca5=_0x124fa1;super(_0x1c692a),this[_0x653ca5(0x1db)]=new(_0x4d97ea())(),this[_0x653ca5(0x20f)]=new(_0x5ab14e())();}get[_0x124fa1(0x1ff)](){const _0x5a4cc4=_0x124fa1;return this[_0x5a4cc4(0x20f)];}[_0x124fa1(0x1ea)](){const _0x594a5d=_0x124fa1,_0x55bae7=_0x321e1b(this[_0x594a5d(0x176)]);_0x55bae7[_0x594a5d(0x1a5)][_0x594a5d(0x138)](_0x594a5d(0x12b))[_0x594a5d(0x19f)]({'model':he+_0x594a5d(0x19b),'view':(_0x6db892,{writer:_0x2f1c49})=>{const _0x59fd18=_0x594a5d,_0x4eefed=this[_0x59fd18(0x210)][_0x59fd18(0x157)](_0x6db892[_0x59fd18(0x1eb)]),_0x2ea3b2={'class':_0x59fd18(0x1ab),'data-marker-id':_0x6db892[_0x59fd18(0x1eb)]};return _0x2f1c49[_0x59fd18(0x13f)](_0x59fd18(0x203),_0x2ea3b2,function(_0x4211ff){const _0x41417f=_0x59fd18,_0x1c4eeb=this[_0x41417f(0x188)](_0x4211ff);return _0x1c4eeb[_0x41417f(0x205)]=_0x4eefed?.[_0x41417f(0x1bd)]||'',_0x1c4eeb;});}}),_0x55bae7[_0x594a5d(0x1a5)][_0x594a5d(0x138)](_0x594a5d(0x12b))[_0x594a5d(0x1ec)]({'model':he+_0x594a5d(0x1d9),'view':_0x414050=>({'classes':_0x594a5d(0x1b0),'attributes':{'data-marker-id':_0x414050[_0x594a5d(0x1eb)]}})}),_0x55bae7[_0x594a5d(0x1a5)][_0x594a5d(0x138)](_0x594a5d(0x12b))[_0x594a5d(0x1ec)]({'model':he+_0x594a5d(0x1fa),'view':_0x1320fd=>({'classes':_0x594a5d(0x1e8),'attributes':{'data-marker-id':_0x1320fd[_0x594a5d(0x1eb)]}})}),_0x55bae7[_0x594a5d(0x1a5)][_0x594a5d(0x138)](_0x594a5d(0x12b))[_0x594a5d(0x1ec)]({'model':he+_0x594a5d(0x175),'view':_0x141d52=>({'classes':_0x594a5d(0x1a7),'attributes':{'data-marker-id':_0x141d52[_0x594a5d(0x1eb)]}})}),_0x55bae7[_0x594a5d(0x1a5)][_0x594a5d(0x138)](_0x594a5d(0x12c))[_0x594a5d(0x19f)]({'model':he+_0x594a5d(0x1ac),'view':(_0x204f0f,{writer:_0x4c69c4})=>_0x4c69c4[_0x594a5d(0x179)](_0x594a5d(0x203),{'class':_0x594a5d(0x19a)+(_0x204f0f[_0x594a5d(0x147)]?_0x594a5d(0x123):_0x594a5d(0x1b2))})}),_0x55bae7[_0x594a5d(0x1a5)][_0x594a5d(0x138)](_0x594a5d(0x15f))[_0x594a5d(0x19e)]({'model':_0x15b0c2,'view':_0x14e896}),this[_0x594a5d(0x1db)][_0x594a5d(0x14f)](document,_0x594a5d(0x186),(_0x4510c7,_0x576935)=>{const _0x4b5299=_0x594a5d,_0x449421=_0x576935[_0x4b5299(0x1a9)],_0x15617f=this[_0x4b5299(0x163)](_0x449421);if(!_0x15617f)return;const _0x441db3=_0x15617f[_0x4b5299(0x1fb)](_0x4b5299(0x1f5)),_0x53a8b8=_0x441db3[_0x4b5299(0x135)](':')[_0x4b5299(0x201)]()?.[_0x4b5299(0x135)]('_')[0x0];this[_0x4b5299(0x20f)][_0x4b5299(0x15b)](_0x4b5299(0x156),{'markerId':_0x441db3,'changeId':_0x53a8b8});}),_0x55bae7[_0x594a5d(0x1f8)][_0x594a5d(0x1f6)][_0x594a5d(0x149)](_0x2cee1e=>this[_0x594a5d(0x1ee)](_0x55bae7,_0x2cee1e)),_0x55bae7[_0x594a5d(0x1f8)][_0x594a5d(0x1f6)]['on'](_0x594a5d(0x1b3),()=>this[_0x594a5d(0x20a)](_0x55bae7));}[_0x124fa1(0x20b)](){const _0x33cba1=_0x124fa1,_0x2d60bd=this[_0x33cba1(0x176)][_0x33cba1(0x13a)][_0x33cba1(0x157)](_0x33cba1(0x142)),_0xe96fd0=_0x321e1b(this[_0x33cba1(0x176)]),_0x42f1d5=_0xe96fd0[_0x33cba1(0x1f8)],_0x1cb77f=new _0x5cbc43();for(const _0x2ef383 of _0x42f1d5[_0x33cba1(0x1f6)][_0x33cba1(0x1b8)]()[_0x33cba1(0x1ce)]()){const _0xd08432=_0x2ef383[_0x33cba1(0x1a6)](!0x0);_0x1cb77f[_0x33cba1(0x190)](_0xd08432);}for(const _0x49214f of _0x42f1d5[_0x33cba1(0x1c7)])_0x1cb77f[_0x33cba1(0x1c7)][_0x33cba1(0x12f)](_0x49214f[_0x33cba1(0x1bb)],this[_0x33cba1(0x1d8)](_0x49214f[_0x33cba1(0x14b)]()[_0x33cba1(0x154)](),_0x1cb77f));const _0x16fd68=new _0x2d2d84({'ignoreElementEnd':!0x0,'startPosition':_0x42f1d5[_0x33cba1(0x166)](_0x1cb77f,0x0)}),_0x54492f=new Set(),_0x5373e4=new Map();for(const {item:_0xb3860d}of _0x16fd68){if(!_0xb3860d['is'](_0x33cba1(0x1e0)))continue;const _0x56adc9=_0xb3860d[_0x33cba1(0x140)];if((!_0x56adc9||!_0x56adc9['is'](_0x33cba1(0x144),_0x33cba1(0x153)))&&(_0x56adc9&&_0x56adc9['is'](_0x33cba1(0x144)))){let _0x35a349=_0x56adc9[_0x33cba1(0x1fb)](_0x15b0c2);_0x35a349||(_0x35a349=_0x2d60bd[_0x33cba1(0x1ef)](_0x54492f),_0x56adc9[_0x33cba1(0x1dd)](_0x15b0c2,_0x35a349)),_0x54492f[_0x33cba1(0x1f0)](_0x35a349);let _0x25bac3=_0x56adc9;for(;_0x25bac3[_0x33cba1(0x140)]&&!_0x25bac3[_0x33cba1(0x140)]['is'](_0x33cba1(0x195));)_0x25bac3=_0x25bac3[_0x33cba1(0x140)],_0x25bac3[_0x33cba1(0x1c5)](_0x15b0c2)&&_0x25bac3[_0x33cba1(0x124)](_0x15b0c2);_0x5373e4[_0x33cba1(0x12f)](_0x35a349,{'path':_0x56adc9[_0x33cba1(0x17c)](),'getContent':this[_0x33cba1(0x1de)](_0x25bac3[_0x33cba1(0x1a6)](!0x0),_0x35a349,_0xe96fd0[_0x33cba1(0x167)])}),_0x16fd68[_0x33cba1(0x1d6)](_0x42f1d5[_0x33cba1(0x151)](_0x56adc9));}}return{'content':_0xe96fd0[_0x33cba1(0x167)][_0x33cba1(0x1b7)][_0x33cba1(0x199)](_0xe96fd0[_0x33cba1(0x167)][_0x33cba1(0x16c)](_0x1cb77f)),'version':_0xe96fd0[_0x33cba1(0x1f8)][_0x33cba1(0x1f6)][_0x33cba1(0x1ed)],'elements':_0x5373e4};}[_0x124fa1(0x130)](_0x36e7cf,_0x5708e5){const _0xe19c2b=_0x124fa1,_0x1faab2=[],_0x44a3bd=_0x321e1b(this[_0xe19c2b(0x176)]),_0xa2fd40=_0x44a3bd[_0xe19c2b(0x167)][_0xe19c2b(0x1d7)](_0x36e7cf,_0xe19c2b(0x155)),_0x23a4e4=_0x44a3bd[_0xe19c2b(0x1f8)][_0xe19c2b(0x166)](_0xa2fd40,0x0),_0x1007ab=_0x44a3bd[_0xe19c2b(0x167)][_0xe19c2b(0x1d7)](_0x5708e5,_0xe19c2b(0x155));if(!this[_0xe19c2b(0x183)](_0xa2fd40,_0x1007ab))return _0x1faab2;const _0x281666=this[_0xe19c2b(0x176)][_0xe19c2b(0x13a)][_0xe19c2b(0x157)](_0xe19c2b(0x146))[_0xe19c2b(0x196)](_0x36e7cf,_0x5708e5,{'anchor':_0x23a4e4,'markDeletions':!0x0})[_0xe19c2b(0x1f9)]()[_0xe19c2b(0x1fc)](_0x57a37c=>_0xe19c2b(0x19b)===_0x57a37c[_0xe19c2b(0x17b)]||_0xe19c2b(0x1af)===_0x57a37c[_0xe19c2b(0x17b)]&&_0x57a37c[_0xe19c2b(0x1bb)][_0xe19c2b(0x162)](_0xe19c2b(0x15a))),_0x2fabcf=this[_0xe19c2b(0x1a3)](_0x281666);let _0x46b321=0x0;return _0x44a3bd[_0xe19c2b(0x1f8)][_0xe19c2b(0x1b3)](_0x4a7456=>{const _0x327dbc=_0xe19c2b;for(let _0x55668b=0x0;_0x55668b<_0x2fabcf[_0x327dbc(0x1f7)];_0x55668b++){const _0x16e895=_0x2fabcf[_0x55668b],_0x1ca762=_0x4a7456[_0x327dbc(0x13c)]();for(const _0x812cde of _0xa2fd40[_0x327dbc(0x1ce)]())_0x4a7456[_0x327dbc(0x198)](_0x812cde[_0x327dbc(0x1a6)](!0x0),_0x1ca762);for(const _0x126875 of _0x16e895[_0x327dbc(0x1da)])if(_0x327dbc(0x19b)===_0x126875[_0x327dbc(0x17b)]){const _0x1ae51e=_0x126875;_0x1ae51e[_0x327dbc(0x1f1)]=null,_0x1ae51e[_0x327dbc(0x13b)]=!0x1,this[_0x327dbc(0x16b)](_0x1ae51e,_0x1ca762),_0x4a7456[_0x327dbc(0x169)][_0x327dbc(0x16d)](_0x126875),_0x44a3bd[_0x327dbc(0x1f8)][_0x327dbc(0x133)](_0x126875);const _0xec278d=_0x327dbc(0x164)+_0x46b321++,_0x4bdeb2=_0x44a3bd[_0x327dbc(0x1f8)][_0x327dbc(0x148)](_0x1ae51e[_0x327dbc(0x1ad)],_0x1ae51e[_0x327dbc(0x1ad)][_0x327dbc(0x1ca)](_0x1ae51e[_0x327dbc(0x1a8)]));_0x1ca762[_0x327dbc(0x1c7)][_0x327dbc(0x12f)](_0xec278d,_0x4bdeb2);}else{if(_0x327dbc(0x1af)===_0x126875[_0x327dbc(0x17b)]&&_0x126875[_0x327dbc(0x1bb)][_0x327dbc(0x162)](_0x327dbc(0x15a))){const _0x2c1219=_0x126875,_0x3e91ab=_0x327dbc(0x1bf)+_0x46b321++;this[_0x327dbc(0x16b)](_0x2c1219,_0x1ca762),_0x1ca762[_0x327dbc(0x1c7)][_0x327dbc(0x12f)](_0x3e91ab,_0x2c1219[_0x327dbc(0x1c2)]);}}const _0x4066fb=this[_0x327dbc(0x1d2)](this[_0x327dbc(0x128)](this[_0x327dbc(0x1b5)](_0x16e895[_0x327dbc(0x1da)][0x0]),_0x1ca762),this[_0x327dbc(0x128)](this[_0x327dbc(0x1e2)](_0x16e895[_0x327dbc(0x1da)][_0x16e895[_0x327dbc(0x1da)][_0x327dbc(0x1f7)]-0x1]),_0x1ca762));_0x1ca762[_0x327dbc(0x1c7)][_0x327dbc(0x12f)](he+_0x327dbc(0x1ac),new _0x2395bb(_0x4066fb[_0x327dbc(0x123)],_0x4066fb[_0x327dbc(0x1b2)])),_0x1faab2[_0x327dbc(0x1e9)]({..._0x16e895,'context':this[_0x327dbc(0x16f)](_0x1ca762,_0x44a3bd[_0x327dbc(0x167)],{'ellipsisBefore':_0x4066fb[_0x327dbc(0x160)],'ellipsisAfter':_0x4066fb[_0x327dbc(0x18e)]}),'content':this[_0x327dbc(0x17a)](_0x1ca762,_0x44a3bd[_0x327dbc(0x167)])});}}),_0x1faab2;}[_0x124fa1(0x180)](_0x5b2caa,_0x2cca0c){const _0x122185=_0x124fa1;if(!_0x5b2caa[_0x122185(0x1f7)])return;const _0x2d5c92=_0x5b2caa[0x0][_0x122185(0x140)]['id'],_0xe73376=_0x2cca0c[_0x122185(0x1c4)][_0x122185(0x157)](_0x2d5c92);if(!_0xe73376)return void console[_0x122185(0x181)](_0x122185(0x204)+_0x2d5c92);const _0x31afb2=_0xe73376[_0x122185(0x145)],_0x351e9a=_0x321e1b(this[_0x122185(0x176)]),_0x51844d=_0x351e9a[_0x122185(0x1f8)][_0x122185(0x1f6)][_0x122185(0x127)][_0x122185(0x1f9)](_0x2cca0c[_0x122185(0x1ed)]),_0x29acad=[];for(const _0x1473f9 of _0x5b2caa){const _0x53a539=_0x1473f9[_0x122185(0x1da)][_0x122185(0x1e6)](_0x4dc899=>this[_0x122185(0x1c1)](_0x4dc899,_0x31afb2,_0x351e9a[_0x122185(0x1f8)][_0x122185(0x1f6)][_0x122185(0x150)]()[0x0]));if(!_0x53a539||!_0x53a539[_0x122185(0x1f7)])continue;const _0x42d604=_0x53a539[_0x122185(0x177)](_0x5f8570=>_0x122185(0x1af)===_0x5f8570[_0x122185(0x17b)]&&_0x5f8570[_0x122185(0x1bb)][_0x122185(0x162)](_0x122185(0x15a))),_0x12883b={'document':_0x351e9a[_0x122185(0x1f8)][_0x122185(0x1f6)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3639c7=_0x22202e(_0x53a539,_0x51844d,_0x12883b)[_0x122185(0x136)];for(const _0x25b22a of _0x3639c7)if(_0x122185(0x19b)===_0x25b22a[_0x122185(0x17b)]){const _0x52aac8=_0x25b22a,_0x1a5868=_0x52aac8[_0x122185(0x1e3)];let _0x339ed1='';for(const _0x1d5c15 of _0x1a5868)_0x1d5c15&&_0x1d5c15['is'](_0x122185(0x152))&&(_0x339ed1+=_0x1d5c15[_0x122185(0x167)]);_0x29acad[_0x122185(0x1e9)]({'start':_0x52aac8[_0x122185(0x1ad)],'end':_0x52aac8[_0x122185(0x1ad)],'type':_0x122185(0x19b),'groupId':_0x1473f9['id'],'text':_0x339ed1});}else{if(_0x122185(0x1af)===_0x25b22a[_0x122185(0x17b)]&&_0x25b22a[_0x122185(0x1bb)][_0x122185(0x162)](_0x122185(0x15a))){const _0x31ea10=_0x25b22a;let _0x592bfe=_0x122185(0x175);if(_0x42d604){const _0x5a6ebf=this[_0x122185(0x14d)](_0x31ea10[_0x122185(0x1c2)][_0x122185(0x123)],_0x122185(0x137),_0x351e9a[_0x122185(0x1f8)][_0x122185(0x1e1)]),_0x3fc6da=this[_0x122185(0x14d)](_0x31ea10[_0x122185(0x1c2)][_0x122185(0x1b2)],_0x122185(0x1cb),_0x351e9a[_0x122185(0x1f8)][_0x122185(0x1e1)]);if(_0x5a6ebf||_0x3fc6da){const _0x30cda2=_0x31ea10[_0x122185(0x1c2)][_0x122185(0x123)][_0x122185(0x1ca)](-_0x5a6ebf),_0x21c2ce=_0x31ea10[_0x122185(0x1c2)][_0x122185(0x1b2)][_0x122185(0x1ca)](_0x3fc6da);_0x29acad[_0x122185(0x1e9)]({'start':_0x30cda2,'end':_0x21c2ce,'groupId':_0x1473f9['id'],'type':_0x122185(0x1fa)});}else _0x592bfe=_0x122185(0x1d9);}_0x29acad[_0x122185(0x1e9)]({'start':_0x31ea10[_0x122185(0x1c2)][_0x122185(0x123)],'end':_0x31ea10[_0x122185(0x1c2)][_0x122185(0x1b2)],'groupId':_0x1473f9['id'],'type':_0x592bfe});}}}this[_0x122185(0x172)](_0x29acad);}[_0x124fa1(0x171)](){const _0x187e15=_0x124fa1,_0x53a640=_0x321e1b(this[_0x187e15(0x176)]);_0x53a640[_0x187e15(0x1f8)][_0x187e15(0x1b3)](_0x14b068=>{const _0x1da8bd=_0x187e15;for(const _0xcb7bd8 of this[_0x1da8bd(0x210)][_0x1da8bd(0x14c)]())_0x53a640[_0x1da8bd(0x1f8)][_0x1da8bd(0x1c7)][_0x1da8bd(0x157)](_0xcb7bd8)&&_0x14b068[_0x1da8bd(0x14a)](_0xcb7bd8);}),this[_0x187e15(0x210)][_0x187e15(0x13e)]();}[_0x124fa1(0x1aa)](){const _0x1142a6=_0x124fa1;_0x321e1b(this[_0x1142a6(0x176)])[_0x1142a6(0x202)](_0x1142a6(0x1d4));}[_0x124fa1(0x18c)](){const _0x29901f=_0x124fa1;_0x321e1b(this[_0x29901f(0x176)])[_0x29901f(0x19d)](_0x29901f(0x1d4));}[_0x124fa1(0x197)](_0x26369a){const _0x1f115f=_0x124fa1,_0x57da3f=_0x321e1b(this[_0x1f115f(0x176)]),_0x1fa87a=_0x57da3f[_0x1f115f(0x1f8)],_0x19919c=_0x26369a[_0x1f115f(0x1e6)](_0x276f13=>this[_0x1f115f(0x1e7)](_0x276f13))[_0x1f115f(0x13d)]();_0x1fa87a[_0x1f115f(0x1b3)](_0x221481=>{const _0x1d0109=_0x1f115f;for(const _0x1227f1 of _0x19919c){const _0x5a651c=_0x57da3f[_0x1d0109(0x1f8)][_0x1d0109(0x1c7)][_0x1d0109(0x157)](_0x1227f1['id']);_0x5a651c&&(_0x1d0109(0x19b)===_0x1227f1[_0x1d0109(0x17b)]?_0x1fa87a[_0x1d0109(0x129)](_0x221481[_0x1d0109(0x168)](_0x1227f1[_0x1d0109(0x1bd)]||''),_0x5a651c[_0x1d0109(0x14b)]()[_0x1d0109(0x123)]):_0x1d0109(0x175)!==_0x1227f1[_0x1d0109(0x17b)]&&_0x1d0109(0x1d9)!==_0x1227f1[_0x1d0109(0x17b)]||_0x1fa87a[_0x1d0109(0x1cc)](_0x1fa87a[_0x1d0109(0x1d3)](_0x5a651c[_0x1d0109(0x14b)]())),_0x221481[_0x1d0109(0x14a)](_0x1227f1['id']),this[_0x1d0109(0x210)][_0x1d0109(0x209)](_0x1227f1['id']));}});}[_0x124fa1(0x126)](_0x4a1b1f){const _0x1a44b7=_0x124fa1,_0x8d62c7=_0x321e1b(this[_0x1a44b7(0x176)]),_0x4cbff4=this[_0x1a44b7(0x1e7)](_0x4a1b1f);_0x8d62c7[_0x1a44b7(0x1f8)][_0x1a44b7(0x1b3)](_0x2b5699=>{const _0x24d354=_0x1a44b7;for(const _0x1b2e83 of _0x4cbff4)_0x2b5699[_0x24d354(0x14a)](_0x1b2e83['id']),this[_0x24d354(0x210)][_0x24d354(0x209)](_0x1b2e83['id']);});}[_0x124fa1(0x16a)](){const _0x5d6a6e=_0x124fa1;return _0x321e1b(this[_0x5d6a6e(0x176)]);}[_0x124fa1(0x139)](_0x5acd97){const _0xca650c=_0x124fa1,_0x59dfda=Array[_0xca650c(0x184)](this[_0xca650c(0x210)][_0xca650c(0x141)]())[_0xca650c(0x1fc)](_0x5cc634=>_0x5cc634[_0xca650c(0x1f4)]===_0x5acd97);if(!_0x59dfda[_0xca650c(0x1f7)])return null;const _0x3a61d5=0x1===_0x59dfda[_0xca650c(0x1f7)]?_0x59dfda[0x0]:this[_0xca650c(0x1b4)](_0x59dfda)[0x0],_0x23d7ff=_0x321e1b(this[_0xca650c(0x176)]),_0x30fdc6=_0x23d7ff[_0xca650c(0x1f8)][_0xca650c(0x1c7)][_0xca650c(0x157)](_0x3a61d5['id']);if(!_0x30fdc6)return null;const _0x5deba6=_0x30fdc6[_0xca650c(0x14b)](),_0x1c4795=_0x23d7ff[_0xca650c(0x20c)][_0xca650c(0x191)][_0xca650c(0x1c8)]();if(!_0x1c4795||!_0x5deba6)return null;const _0x496963=_0x1c4795[_0xca650c(0x192)](_0xca650c(0x1c6)+_0x3a61d5['id']+'\x22]');return _0x496963?{'modelRange':_0x5deba6,'domElement':_0x496963}:null;}[_0x124fa1(0x1ee)](_0x1f3e4a,_0x288f46){const _0x208812=_0x124fa1,_0x47d033=Array[_0x208812(0x184)](this[_0x208812(0x210)][_0x208812(0x14c)]()),_0x325099=new Map();for(const _0x421bc3 of _0x47d033){const _0x5df5b4=_0x1f3e4a[_0x208812(0x1f8)][_0x208812(0x1c7)][_0x208812(0x157)](_0x421bc3);if(!_0x5df5b4)continue;const _0x3eb00c=_0x5df5b4[_0x208812(0x187)]()[_0x208812(0x145)][0x0];_0x325099[_0x208812(0x18b)](_0x3eb00c)||_0x325099[_0x208812(0x12f)](_0x3eb00c,[]),_0x325099[_0x208812(0x157)](_0x3eb00c)[_0x208812(0x1e9)](_0x5df5b4);}const _0x519788=new Set();for(const _0x184ad3 of _0x1f3e4a[_0x208812(0x1f8)][_0x208812(0x1f6)][_0x208812(0x185)][_0x208812(0x1fd)]()){let _0x4bfd16=-0x1,_0x390280=null;if(_0x208812(0x19b)===_0x184ad3[_0x208812(0x17b)])_0x390280=new _0x2395bb(_0x184ad3[_0x208812(0x1ad)],_0x184ad3[_0x208812(0x1ad)][_0x208812(0x1ca)](_0x184ad3[_0x208812(0x1f7)])),_0x4bfd16=_0x184ad3[_0x208812(0x1ad)][_0x208812(0x145)][0x0];else{if(_0x208812(0x1b6)!==_0x184ad3[_0x208812(0x17b)])continue;_0x390280=new _0x2395bb(_0x184ad3[_0x208812(0x1ad)]),_0x4bfd16=_0x184ad3[_0x208812(0x1ad)][_0x208812(0x145)][0x0];}const _0x710160=_0x325099[_0x208812(0x157)](_0x4bfd16)||[];if(_0x710160[_0x208812(0x1f7)]){for(const _0x3c52ca of _0x710160)if(_0x390280[_0x208812(0x1be)][_0x208812(0x12e)]===_0x3c52ca[_0x208812(0x14b)]()[_0x208812(0x1be)][_0x208812(0x12e)]&&(_0x208812(0x19b)!==_0x184ad3[_0x208812(0x17b)]||!_0x390280[_0x208812(0x194)](_0x3c52ca[_0x208812(0x14b)]()))&&(_0x390280[_0x208812(0x15c)](_0x3c52ca[_0x208812(0x14b)]())||_0x390280[_0x208812(0x123)][_0x208812(0x182)](_0x3c52ca[_0x208812(0x14b)]()[_0x208812(0x1b2)])||_0x390280[_0x208812(0x1b2)][_0x208812(0x182)](_0x3c52ca[_0x208812(0x14b)]()[_0x208812(0x123)]))){const _0x1b6b4c=this[_0x208812(0x173)](_0x3c52ca[_0x208812(0x1bb)]);Array[_0x208812(0x184)](this[_0x208812(0x210)][_0x208812(0x141)]())[_0x208812(0x1fc)](_0x3979c4=>_0x3979c4[_0x208812(0x1f4)]===_0x1b6b4c[_0x208812(0x1f4)])[_0x208812(0x189)](_0x3f077b=>_0x519788[_0x208812(0x1f0)](_0x3f077b['id']));}}}if(_0x519788[_0x208812(0x18a)]){for(const _0x3217aa of _0x519788)_0x288f46[_0x208812(0x14a)](_0x3217aa);return!0x0;}return!0x1;}[_0x124fa1(0x20a)](_0x5c7dee){const _0x3b25c1=_0x124fa1;for(const {name:_0x1b2bfb,data:_0x23a4f6}of _0x5c7dee[_0x3b25c1(0x1f8)][_0x3b25c1(0x1f6)][_0x3b25c1(0x185)][_0x3b25c1(0x206)]()){if(!_0x1b2bfb[_0x3b25c1(0x162)](he))continue;const _0x19c402=_0x23a4f6[_0x3b25c1(0x131)],_0x583a4d=_0x23a4f6[_0x3b25c1(0x1c2)],_0x4fa67a=_0x19c402&&_0x3b25c1(0x19c)===_0x19c402[_0x3b25c1(0x1be)][_0x3b25c1(0x12e)],_0x2c401a=_0x583a4d&&_0x3b25c1(0x19c)===_0x583a4d[_0x3b25c1(0x1be)][_0x3b25c1(0x12e)];if(_0x4fa67a&&_0x2c401a)continue;const _0x5dd398=this[_0x3b25c1(0x173)](_0x1b2bfb);this[_0x3b25c1(0x210)][_0x3b25c1(0x157)](_0x1b2bfb)&&(_0x2c401a||!_0x583a4d?this[_0x3b25c1(0x20f)][_0x3b25c1(0x15b)](_0x3b25c1(0x143),{'markerId':_0x1b2bfb,'changeId':_0x5dd398[_0x3b25c1(0x1f4)]}):_0x4fa67a&&_0x583a4d&&this[_0x3b25c1(0x20f)][_0x3b25c1(0x15b)](_0x3b25c1(0x1e5),{'markerId':_0x1b2bfb,'changeId':_0x5dd398[_0x3b25c1(0x1f4)]}));}}[_0x124fa1(0x173)](_0x3bfe18){const _0x175619=_0x124fa1,_0xf70a70=_0x3bfe18[_0x175619(0x135)](':'),_0x24d128=(_0xf70a70[0x1]||'')[_0x175619(0x135)]('_');return{'prefix':_0xf70a70[0x0],'groupId':_0x24d128[0x0],'suffix':_0x24d128[0x1]};}[_0x124fa1(0x1c1)](_0x551a7e,_0x36883d,_0xbde246){const _0x4b48f2=_0x124fa1;if(_0x4b48f2(0x19b)===_0x551a7e[_0x4b48f2(0x17b)]){const _0x309955=_0x551a7e;return new _0x1163b7(this[_0x4b48f2(0x208)](_0x36883d[_0x4b48f2(0x17e)](_0x309955[_0x4b48f2(0x1ad)][_0x4b48f2(0x1c0)]),_0xbde246),_0x309955[_0x4b48f2(0x1e3)],_0x309955[_0x4b48f2(0x1f1)]);}if(_0x4b48f2(0x1af)===_0x551a7e[_0x4b48f2(0x17b)]&&_0x551a7e[_0x4b48f2(0x1bb)][_0x4b48f2(0x162)](_0x4b48f2(0x15a))){const _0x2f0706=_0x551a7e;return new _0xdd2f0a(_0x2f0706[_0x4b48f2(0x1bb)],_0x2f0706[_0x4b48f2(0x131)],this[_0x4b48f2(0x1f2)](_0x2f0706[_0x4b48f2(0x1c2)],_0x36883d[_0x4b48f2(0x17e)](_0x2f0706[_0x4b48f2(0x1c2)][_0x4b48f2(0x123)][_0x4b48f2(0x1c0)]),_0x36883d[_0x4b48f2(0x17e)](_0x2f0706[_0x4b48f2(0x1c2)][_0x4b48f2(0x1b2)][_0x4b48f2(0x1c0)]),_0xbde246),_0x2f0706[_0x4b48f2(0x210)],_0x2f0706[_0x4b48f2(0x125)],_0x2f0706[_0x4b48f2(0x1f1)]);}return _0x551a7e;}[_0x124fa1(0x1a3)](_0x5aee9d){const _0x3b1e42=_0x124fa1;if(!_0x5aee9d[_0x3b1e42(0x1f7)])return[];const _0x26f82b=[];let _0x8dca57=0x0,_0x2a9896=0x0,_0x50c098=[];for(let _0x1084bf=0x0;_0x1084bf<=_0x5aee9d[_0x3b1e42(0x1f7)];_0x1084bf++){const _0x1eefa5=_0x5aee9d[_0x1084bf],_0x578ec8=_0x5aee9d[_0x1084bf-0x1];!_0x1eefa5||_0x578ec8&&!this[_0x3b1e42(0x1e2)](_0x578ec8)[_0x3b1e42(0x182)](this[_0x3b1e42(0x1b5)](_0x1eefa5))?(_0x26f82b[_0x3b1e42(0x1e9)]({'operations':_0x50c098,'operationsIsolated':_0x50c098[_0x3b1e42(0x1e6)](_0x39d18d=>this[_0x3b1e42(0x1c3)](_0x39d18d[_0x3b1e42(0x154)](),-_0x2a9896)),'groupOffset':_0x8dca57}),_0x50c098=_0x1eefa5?[_0x1eefa5]:[],_0x2a9896+=_0x8dca57,_0x8dca57=0x0):_0x50c098[_0x3b1e42(0x1e9)](_0x1eefa5),_0x1eefa5&&_0x3b1e42(0x19b)===_0x1eefa5[_0x3b1e42(0x17b)]&&(_0x8dca57+=_0x1eefa5[_0x3b1e42(0x1a8)]);}return _0x26f82b;}[_0x124fa1(0x14d)](_0x18f2a5,_0x601fe6,_0x3b2797,_0x2cac20=0x1){const _0xa7ceb2=_0x124fa1,_0x55d10c=new _0x2d2d84({'startPosition':_0x18f2a5,'direction':_0x601fe6});let _0x3ec07e=0x0;for(let _0x1354cd=0x0;_0x1354cd<_0x2cac20;_0x1354cd++){let _0x12ad3f=0x0,_0x18ff68=!0x1,_0x11fe14=_0xa7ceb2(0x1cb)===_0x601fe6?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x8487a4}of _0x55d10c)if(_0x8487a4['is'](_0xa7ceb2(0x1e0))){const _0x1f35e7=_0x11fe14[_0xa7ceb2(0x1f3)](_0x8487a4[_0xa7ceb2(0x167)]);if(_0x1f35e7&&_0x1f35e7[_0xa7ceb2(0x1f7)]){if(_0x12ad3f+=_0xa7ceb2(0x1cb)===_0x601fe6?_0x1f35e7[_0xa7ceb2(0x1d5)]+_0x1f35e7[0x0][_0xa7ceb2(0x1f7)]:_0x8487a4[_0xa7ceb2(0x167)][_0xa7ceb2(0x1f7)]-_0x1f35e7[_0xa7ceb2(0x1d5)],_0x1f35e7[0x0][_0xa7ceb2(0x1f7)]!==_0x8487a4[_0xa7ceb2(0x167)][_0xa7ceb2(0x1f7)])break;_0x18ff68=!0x0,_0x11fe14=_0xa7ceb2(0x1cb)===_0x601fe6?/^\w+/:/\w+$/;}else{if(_0x18ff68)break;_0x12ad3f+=_0x8487a4[_0xa7ceb2(0x17f)];}}else{if(_0x8487a4['is'](_0xa7ceb2(0x144))){_0x3b2797[_0xa7ceb2(0x1b9)](_0x8487a4)&&!_0x18ff68&&(_0x12ad3f+=0x1);break;}}_0x3ec07e+=_0x12ad3f,_0x55d10c[_0xa7ceb2(0x1d6)](_0x18f2a5[_0xa7ceb2(0x1ca)](_0xa7ceb2(0x1cb)===_0x601fe6?_0x3ec07e:-_0x3ec07e));}return _0x3ec07e;}[_0x124fa1(0x1d2)](_0x252383,_0x46cb58){const _0x353020=_0x124fa1,_0x2898c7=_0x321e1b(this[_0x353020(0x176)])[_0x353020(0x1f8)][_0x353020(0x1e1)],_0x25eb09=this[_0x353020(0x14d)](_0x252383,_0x353020(0x137),_0x2898c7,0x6),_0x111cbb=this[_0x353020(0x14d)](_0x46cb58,_0x353020(0x1cb),_0x2898c7,0x6),_0x4cfee3=_0x252383[_0x353020(0x1ca)](-_0x25eb09),_0x148740=_0x46cb58[_0x353020(0x1ca)](_0x111cbb);return{'start':_0x4cfee3,'end':_0x148740,'hasContentBefore':!_0x4cfee3[_0x353020(0x1a4)],'hasContentAfter':!_0x148740[_0x353020(0x1a1)]};}[_0x124fa1(0x172)](_0x1ebdd1){const _0x5cbbcb=_0x124fa1,_0x303fab=this[_0x5cbbcb(0x176)][_0x5cbbcb(0x13a)][_0x5cbbcb(0x157)](_0x5cbbcb(0x142)),_0x1156c7=new Set();_0x321e1b(this[_0x5cbbcb(0x176)])[_0x5cbbcb(0x1f8)][_0x5cbbcb(0x1b3)](_0x4b73de=>{const _0x50f00a=_0x5cbbcb;for(const _0x15e8f6 of _0x1ebdd1){const _0x5b0f8c=''+he+_0x15e8f6[_0x50f00a(0x17b)]+':'+_0x15e8f6[_0x50f00a(0x1f4)]+'_'+_0x303fab[_0x50f00a(0x1ef)](_0x1156c7);this[_0x50f00a(0x210)][_0x50f00a(0x12f)](_0x5b0f8c,{'id':_0x5b0f8c,'groupId':_0x15e8f6[_0x50f00a(0x1f4)],'type':_0x15e8f6[_0x50f00a(0x17b)],'text':_0x15e8f6[_0x50f00a(0x1bd)]}),_0x4b73de[_0x50f00a(0x1df)](_0x5b0f8c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4b73de[_0x50f00a(0x148)](_0x15e8f6[_0x50f00a(0x123)],_0x15e8f6[_0x50f00a(0x1b2)])});}});}[_0x124fa1(0x16f)](_0x3ce509,_0x32aafb,_0x3c5f40){let _0x3c36aa='';return()=>{const _0x316963=_0x160c;if(!_0x3c36aa){const _0x590142=_0x32aafb[_0x316963(0x16c)](_0x3ce509,{'showSuggestionHighlights':!0x0}),_0x15f69e=_0x590142[_0x316963(0x134)](0x0);if(!_0x15f69e)return'';let _0x34bf95=!0x1;const _0x154afc=[];for(const _0x29342c of _0x15f69e[_0x316963(0x1ce)]())_0x29342c['is'](_0x316963(0x144),_0x316963(0x203))&&_0x29342c[_0x316963(0x1dc)](_0x316963(0x1a2))&&(_0x34bf95=!0x1),_0x34bf95&&_0x154afc[_0x316963(0x1e9)](_0x29342c),_0x29342c['is'](_0x316963(0x144),_0x316963(0x203))&&_0x29342c[_0x316963(0x1dc)](_0x316963(0x132))&&(_0x34bf95=!0x0);_0x15f69e[_0x316963(0x12a)](0x0,_0x15f69e[_0x316963(0x170)]),_0x3c5f40?.[_0x316963(0x193)]&&_0x15f69e[_0x316963(0x190)]('…'),_0x15f69e[_0x316963(0x190)](_0x154afc),_0x3c5f40?.[_0x316963(0x158)]&&_0x15f69e[_0x316963(0x190)]('…');const _0x545377=_0x32aafb[_0x316963(0x1cf)][_0x316963(0x159)][_0x316963(0x207)](_0x590142),_0x541900=_0x32aafb[_0x316963(0x1cf)][_0x316963(0x1ba)][_0x316963(0x1e4)](_0x545377);_0x3c36aa=_0x541900;}return _0x3c36aa;};}[_0x124fa1(0x17a)](_0x22f6f4,_0x5ae79e){const _0x1c4442=_0x124fa1;let _0x1afba2='';return()=>(_0x1afba2||(_0x1afba2=_0x5ae79e[_0x1c4442(0x1cd)](_0x22f6f4,{'showSuggestionHighlights':!0x0})),_0x1afba2);}[_0x124fa1(0x1de)](_0x263de5,_0x4dee28,_0x49368e){let _0x276200='';return()=>{const _0x57dae6=_0x160c;if(!_0x276200){const _0x4e6264=_0x49368e[_0x57dae6(0x16c)](new _0x5cbc43(_0x263de5)),_0x4722d7=_0x49368e[_0x57dae6(0x1cf)][_0x57dae6(0x159)][_0x57dae6(0x207)](_0x4e6264)[_0x57dae6(0x192)](_0x57dae6(0x18f)+_0x4dee28+'\x22]');_0x276200=_0x4722d7?.[_0x57dae6(0x1c9)]||'';}return _0x276200;};}[_0x124fa1(0x163)](_0x3a0e3f,_0x3fc8d9=0x5){const _0x55ba59=_0x124fa1;let _0x1dc278=_0x3a0e3f,_0x2aacfd=null;for(let _0x23d453=0x0;_0x23d453<_0x3fc8d9&&_0x1dc278;_0x23d453++){if(!_0x1dc278[_0x55ba59(0x1bc)]){_0x1dc278=_0x1dc278[_0x55ba59(0x18d)];continue;}if(!(''+_0x1dc278[_0x55ba59(0x1bc)])[_0x55ba59(0x1d0)](_0x55ba59(0x20d))){_0x1dc278=_0x1dc278[_0x55ba59(0x18d)];continue;}if(!_0x1dc278[_0x55ba59(0x1fb)](_0x55ba59(0x1f5)))break;_0x2aacfd=_0x1dc278;break;}return _0x2aacfd;}[_0x124fa1(0x1e7)](_0x187bb5){const _0x15afd1=_0x124fa1;return Array[_0x15afd1(0x184)](this[_0x15afd1(0x210)][_0x15afd1(0x141)]())[_0x15afd1(0x1fc)](_0x173216=>_0x173216[_0x15afd1(0x1f4)]===_0x187bb5);}[_0x124fa1(0x1b5)](_0x23e97e){const _0x25dc22=_0x124fa1;return _0x25dc22(0x19b)===_0x23e97e[_0x25dc22(0x17b)]?_0x23e97e[_0x25dc22(0x1ad)]:_0x23e97e[_0x25dc22(0x1c2)][_0x25dc22(0x123)];}[_0x124fa1(0x1e2)](_0x1fa747,_0x3e98b6=!0x1){const _0x3f6c02=_0x124fa1;return _0x3f6c02(0x19b)===_0x1fa747[_0x3f6c02(0x17b)]?_0x3e98b6?_0x1fa747[_0x3f6c02(0x1ad)]:_0x1fa747[_0x3f6c02(0x1ad)][_0x3f6c02(0x1ca)](_0x1fa747[_0x3f6c02(0x1a8)]):_0x1fa747[_0x3f6c02(0x1c2)][_0x3f6c02(0x1b2)];}[_0x124fa1(0x1c3)](_0x396f76,_0x1b0cb5){const _0xef2c49=_0x124fa1;return _0xef2c49(0x19b)===_0x396f76[_0xef2c49(0x17b)]?_0x396f76[_0xef2c49(0x1ad)]=_0x396f76[_0xef2c49(0x1ad)][_0xef2c49(0x1ca)](_0x1b0cb5):_0xef2c49(0x1af)===_0x396f76[_0xef2c49(0x17b)]&&_0x396f76[_0xef2c49(0x1c2)]&&(_0x396f76[_0xef2c49(0x1c2)]=new _0x2395bb(_0x396f76[_0xef2c49(0x1c2)][_0xef2c49(0x123)][_0xef2c49(0x1ca)](_0x1b0cb5),_0x396f76[_0xef2c49(0x1c2)][_0xef2c49(0x1b2)][_0xef2c49(0x1ca)](_0x1b0cb5))),_0x396f76;}[_0x124fa1(0x16b)](_0x20584b,_0x37f6da){const _0xd15e9d=_0x124fa1;_0xd15e9d(0x19b)===_0x20584b[_0xd15e9d(0x17b)]?_0x20584b[_0xd15e9d(0x1ad)]=this[_0xd15e9d(0x128)](_0x20584b[_0xd15e9d(0x1ad)],_0x37f6da):_0xd15e9d(0x1af)===_0x20584b[_0xd15e9d(0x17b)]&&_0x20584b[_0xd15e9d(0x1c2)]&&(_0x20584b[_0xd15e9d(0x1c2)]=this[_0xd15e9d(0x1d8)](_0x20584b[_0xd15e9d(0x1c2)],_0x37f6da));}[_0x124fa1(0x128)](_0x1b7fc2,_0x17ff91){const _0x451ffa=_0x124fa1;return new _0x3c9f8d(_0x17ff91,_0x1b7fc2[_0x451ffa(0x145)]);}[_0x124fa1(0x1d8)](_0x1f716b,_0x4c2585){const _0x29db39=_0x124fa1;return new _0x2395bb(this[_0x29db39(0x128)](_0x1f716b[_0x29db39(0x123)],_0x4c2585),this[_0x29db39(0x128)](_0x1f716b[_0x29db39(0x1b2)],_0x4c2585));}[_0x124fa1(0x208)](_0x479c53,_0x4f42ec){return new _0x3c9f8d(_0x4f42ec,[..._0x479c53]);}[_0x124fa1(0x1f2)](_0x488ff0,_0xf01bd1,_0x50e060,_0x305f5b){const _0x1168ed=_0x124fa1;return new _0x2395bb(this[_0x1168ed(0x208)](_0xf01bd1,_0x305f5b),this[_0x1168ed(0x208)](_0x50e060,_0x305f5b));}[_0x124fa1(0x1b4)](_0x30a245){const _0x3a9923=_0x124fa1,_0x8161e4=_0x1a3cd4=>{const _0x485c73=_0x160c;switch(_0x1a3cd4){case _0x485c73(0x19b):return 0x1;case _0x485c73(0x1fa):return 0x2;case _0x485c73(0x1d9):return 0x3;case _0x485c73(0x175):return 0x4;}};return _0x30a245[_0x3a9923(0x1fe)]((_0x4d48ff,_0x1ebcda)=>_0x8161e4(_0x4d48ff[_0x3a9923(0x17b)])-_0x8161e4(_0x1ebcda[_0x3a9923(0x17b)]));}[_0x124fa1(0x183)](_0x69271,_0x42ff3a){const _0x3b3d5c=_0x124fa1,_0x2c1da2=_0x69271[_0x3b3d5c(0x134)](0x0),_0x2856fa=_0x42ff3a[_0x3b3d5c(0x134)](0x0);return!(!_0x2c1da2||!_0x2856fa)&&((!_0x2c1da2['is'](_0x3b3d5c(0x144))||!_0x2856fa['is'](_0x3b3d5c(0x144))||_0x2c1da2[_0x3b3d5c(0x1bb)]===_0x2856fa[_0x3b3d5c(0x1bb)])&&!(_0x2c1da2['is'](_0x3b3d5c(0x144))&&!_0x2856fa['is'](_0x3b3d5c(0x144))||!_0x2c1da2['is'](_0x3b3d5c(0x144))&&_0x2856fa['is'](_0x3b3d5c(0x144))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x15a9e7=_0x46ca;(function(_0x4a6bc8,_0x48bad9){const _0xf29e93=_0x46ca,_0x15c07e=_0x4a6bc8();while(!![]){try{const _0x23f147=parseInt(_0xf29e93(0x1a8))/0x1+-parseInt(_0xf29e93(0x1c8))/0x2+-parseInt(_0xf29e93(0x1aa))/0x3+parseInt(_0xf29e93(0x1ba))/0x4+-parseInt(_0xf29e93(0x1e0))/0x5+-parseInt(_0xf29e93(0x1b8))/0x6*(parseInt(_0xf29e93(0x1e9))/0x7)+parseInt(_0xf29e93(0x1b6))/0x8;if(_0x23f147===_0x48bad9)break;else _0x15c07e['push'](_0x15c07e['shift']());}catch(_0x84b9c4){_0x15c07e['push'](_0x15c07e['shift']());}}}(_0x1c1d,0xadffd));import{ContextPlugin as _0xaf6342}from'ckeditor5/src/core.js';import{IconAIReview as _0x5cdd22}from'ckeditor5/src/icons.js';import{BodyCollection as _0x859eed}from'ckeditor5/src/ui.js';import{AITabs as _0x56ffd2}from'../aitabs/aitabs.js';function _0x1c1d(){const _0x4456ac=['_reviewModeBalloonSuggestionItemView','showReviewCompletedView','forEach','showChunkErrorView','reviewCheckResultsView','1762625RdDOyt','dismissChange','resetActiveStateInResults','accepted','showResult','AIReviewModeUI','showGeneralErrorView','reviewCheckListView','showCheckRunResults','1579879EgoFaP','context','toggleDiff','acceptAllChanges','retryReview','setAvailableChecks','showCheckRunResult','updateChangeState','setItemAsInactive','fire','hideResult','setCheckResultTitle','leaveReviewMode','showActionsWhenResultIsReady','acceptChange','getResults','runReviewCheck','showReviewCheckListView','AI_REVIEW_MODE','setChecks','rejected','activateTab','learnMore','plugins','642315xXascl','attachToDom','2516010wEnQVM','setTitle','deactivateChange','locale','hideDiffInBalloon','error-chunk','status','addCheckRunResult','addTab','leaveReviewModeResultList','_bodyCollection','isPremiumPlugin','21027536PGoACg','setActiveStateInResults','30WHplQe','delegate','731524XJhOUx','AITabs','requires','abortReviewStream','pluginName','reviewMode','showReviewCheckList','setItemAsActive','getReviewCheckList','hideChangeBalloon','get','showBalloon','finishReview','showReviewCheckResultsView','842514tpEVsO','showNoChangesView','isOfficialPlugin','hasChecks','init','showChangeBalloon','find','_reviewModeView','detachFromDom','activateChange','element','outdated','error-general','showDiffInBalloon','destroy','getChangeElement','hideBalloon','hideActionsWhenResultIsReady','view'];_0x1c1d=function(){return _0x4456ac;};return _0x1c1d();}import{AIReviewModeView as _0x5f0aad}from'./ui/aireviewmodeview.js';import{getTranslation as _0x272a7f}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x397c41}from'./ui/aireviewmodeballoonsuggestionview.js';function _0x46ca(_0x19be9b,_0x3abf59){const _0x1c1d04=_0x1c1d();return _0x46ca=function(_0x46cab3,_0x14721d){_0x46cab3=_0x46cab3-0x19c;let _0x1f93ef=_0x1c1d04[_0x46cab3];return _0x1f93ef;},_0x46ca(_0x19be9b,_0x3abf59);}import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x15a9e7(0x1c2),_0x15a9e7(0x1a0),_0x15a9e7(0x1bd),_0x15a9e7(0x1eb),_0x15a9e7(0x1ec),_0x15a9e7(0x1b3),_0x15a9e7(0x1d1),_0x15a9e7(0x19e),_0x15a9e7(0x1e1),_0x15a9e7(0x1a6),_0x15a9e7(0x1c6),_0x15a9e7(0x1ed)];export class AIReviewModeUI extends _0xaf6342{[_0x15a9e7(0x1cf)];[_0x15a9e7(0x1db)];[_0x15a9e7(0x1b4)];static get[_0x15a9e7(0x1bc)](){return[_0x56ffd2];}static get[_0x15a9e7(0x1be)](){const _0x3d1630=_0x15a9e7;return _0x3d1630(0x1e5);}static get[_0x15a9e7(0x1ca)](){return!0x0;}static get[_0x15a9e7(0x1b5)](){return!0x0;}constructor(_0x352078){const _0x3d40e7=_0x15a9e7;super(_0x352078),this[_0x3d40e7(0x1b4)]=new _0x859eed(this[_0x3d40e7(0x1ea)][_0x3d40e7(0x1ad)]),this[_0x3d40e7(0x1b4)][_0x3d40e7(0x1a9)](),this[_0x3d40e7(0x1cf)]=new _0x5f0aad(this[_0x3d40e7(0x1ea)][_0x3d40e7(0x1ad)]),this[_0x3d40e7(0x1cf)][_0x3d40e7(0x1b9)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x3d40e7(0x1db)]=new _0x397c41(this[_0x3d40e7(0x1ea)][_0x3d40e7(0x1ad)],this[_0x3d40e7(0x1b4)]),this[_0x3d40e7(0x1db)][_0x3d40e7(0x1b9)](_0x3d40e7(0x19e),_0x3d40e7(0x1e1),_0x3d40e7(0x1ac))['to'](this);}[_0x15a9e7(0x1cc)](){const _0x1cc15d=_0x15a9e7,_0x542ab3=this[_0x1cc15d(0x1ea)][_0x1cc15d(0x1a7)][_0x1cc15d(0x1c4)](_0x1cc15d(0x1bb));_0x542ab3[_0x1cc15d(0x1da)]['on'](_0x1cc15d(0x1a5),(_0x2e4bfe,_0x114468)=>{const _0x309fa6=_0x1cc15d;_0x309fa6(0x1bf)===_0x114468?this[_0x309fa6(0x1f2)](_0x309fa6(0x1c2)):this[_0x309fa6(0x1f2)](_0x309fa6(0x19c));}),_0x542ab3[_0x1cc15d(0x1da)][_0x1cc15d(0x1b2)]({'id':_0x1cc15d(0x1bf),'buttonLabel':_0x272a7f(this[_0x1cc15d(0x1ea)][_0x1cc15d(0x1ad)],_0x1cc15d(0x1a2)),'buttonIcon':_0x5cdd22,'order':0x0,'content':this[_0x1cc15d(0x1cf)]});}[_0x15a9e7(0x1d6)](){const _0x4bd8e5=_0x15a9e7;this[_0x4bd8e5(0x1b4)][_0x4bd8e5(0x1d0)](),super[_0x4bd8e5(0x1d6)]();}[_0x15a9e7(0x1ee)](_0x41ec8a){const _0x70b625=_0x15a9e7;this[_0x70b625(0x1cf)][_0x70b625(0x1e7)][_0x70b625(0x1cb)]()||this[_0x70b625(0x1cf)][_0x70b625(0x1e7)][_0x70b625(0x1a3)](_0x41ec8a),this[_0x70b625(0x1cf)][_0x70b625(0x1a1)]();}[_0x15a9e7(0x1c0)](){const _0x99a7af=_0x15a9e7;this[_0x99a7af(0x1f2)](_0x99a7af(0x1c2));}[_0x15a9e7(0x1e8)](_0x1aae2f){const _0x47340c=_0x15a9e7;_0x1aae2f&&(_0x47340c(0x1d4)!==_0x1aae2f[_0x47340c(0x1b0)]?_0x47340c(0x1af)!==_0x1aae2f[_0x47340c(0x1b0)]?this[_0x47340c(0x1cf)][_0x47340c(0x1c7)]():this[_0x47340c(0x1de)]():this[_0x47340c(0x1e6)]());}[_0x15a9e7(0x1ef)](_0x642b54){const _0x1b1478=_0x15a9e7;this[_0x1b1478(0x1cf)][_0x1b1478(0x1b1)](_0x642b54);}[_0x15a9e7(0x1e6)](){const _0x42fec4=_0x15a9e7;this[_0x42fec4(0x1cf)][_0x42fec4(0x1e6)]();}[_0x15a9e7(0x1de)](){const _0x41b16f=_0x15a9e7;this[_0x41b16f(0x1cf)][_0x41b16f(0x1de)]();}[_0x15a9e7(0x1f4)](_0x329401,_0x8649b){const _0x8f0004=_0x15a9e7;this[_0x8f0004(0x1cf)][_0x8f0004(0x1df)][_0x8f0004(0x1ab)](_0x329401,_0x8649b);}[_0x15a9e7(0x1b7)](_0xab2eba){const _0x4fe9a4=_0x15a9e7;this[_0x4fe9a4(0x1cf)][_0x4fe9a4(0x1df)][_0x4fe9a4(0x19f)]()[_0x4fe9a4(0x1dd)](_0x4c094=>{const _0x1cb0e8=_0x4fe9a4;_0x4c094['id']===_0xab2eba&&_0x4c094[_0x1cb0e8(0x1c1)]();});}[_0x15a9e7(0x1e2)](){const _0x48c4d7=_0x15a9e7;this[_0x48c4d7(0x1cf)][_0x48c4d7(0x1df)][_0x48c4d7(0x19f)]()[_0x48c4d7(0x1dd)](_0x4eaf42=>_0x4eaf42[_0x48c4d7(0x1f1)]());}[_0x15a9e7(0x1f0)](_0x59bf0c,_0x5f1f75){const _0x295b41=_0x15a9e7;_0x295b41(0x1e3)===_0x5f1f75||_0x295b41(0x1a4)===_0x5f1f75||_0x295b41(0x1d3)===_0x5f1f75?this[_0x295b41(0x1cf)][_0x295b41(0x1df)][_0x295b41(0x1f3)](_0x59bf0c,_0x5f1f75):this[_0x295b41(0x1cf)][_0x295b41(0x1df)][_0x295b41(0x1e4)](_0x59bf0c,_0x5f1f75);}[_0x15a9e7(0x1dc)](){const _0x9a0281=_0x15a9e7;this[_0x9a0281(0x1cf)][_0x9a0281(0x1dc)]();}[_0x15a9e7(0x19d)](){const _0x5269a6=_0x15a9e7;this[_0x5269a6(0x1cf)][_0x5269a6(0x19d)]();}[_0x15a9e7(0x1c9)](){const _0xbb52eb=_0x15a9e7;this[_0xbb52eb(0x1cf)][_0xbb52eb(0x1c9)]();}[_0x15a9e7(0x1d9)](){const _0x27e4d8=_0x15a9e7;this[_0x27e4d8(0x1cf)][_0x27e4d8(0x1d9)]();}[_0x15a9e7(0x1cd)](_0x5d5caf,_0x1d161c){const _0x4c2e0d=_0x15a9e7;this[_0x4c2e0d(0x1db)][_0x4c2e0d(0x1c5)](_0x5d5caf,_0x1d161c);}[_0x15a9e7(0x1c3)](){const _0x58c7b0=_0x15a9e7;this[_0x58c7b0(0x1db)][_0x58c7b0(0x1d8)]();}[_0x15a9e7(0x1ae)](){const _0x47f48c=_0x15a9e7;this[_0x47f48c(0x1db)][_0x47f48c(0x1ae)]();}[_0x15a9e7(0x1d5)](){const _0x286a40=_0x15a9e7;this[_0x286a40(0x1db)][_0x286a40(0x1d5)]();}[_0x15a9e7(0x1d7)](_0x4093c7){const _0x5d2d35=_0x15a9e7,_0x5a7998=this[_0x5d2d35(0x1cf)][_0x5d2d35(0x1df)][_0x5d2d35(0x19f)]()[_0x5d2d35(0x1ce)](_0x3bae90=>_0x3bae90['id']===_0x4093c7);return _0x5a7998?_0x5a7998[_0x5d2d35(0x1d2)]:null;}[_0x15a9e7(0x1ac)](){const _0x2fb338=_0x15a9e7;this[_0x2fb338(0x1db)][_0x2fb338(0x1ac)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x595d(){var _0x196f8a=['2562228QoLYYt','11667177Nivuvr','3252520yYarjz','_models','21QjVwsG','models','4SWcDdx','6066055uxFSnW','511506HqgAvt','161094lIzFkr','4019325LnGWdQ'];_0x595d=function(){return _0x196f8a;};return _0x595d();}var _0x3f6ab1=_0xccd7;function _0xccd7(_0x4ff319,_0x27a941){var _0x595d6a=_0x595d();return _0xccd7=function(_0xccd790,_0x3e96be){_0xccd790=_0xccd790-0x115;var _0x4a0cf7=_0x595d6a[_0xccd790];return _0x4a0cf7;},_0xccd7(_0x4ff319,_0x27a941);}(function(_0x3d55a8,_0x27e85e){var _0x4bf18d=_0xccd7,_0x16a5e3=_0x3d55a8();while(!![]){try{var _0x369a3b=parseInt(_0x4bf18d(0x117))/0x1+-parseInt(_0x4bf18d(0x11a))/0x2+parseInt(_0x4bf18d(0x119))/0x3+parseInt(_0x4bf18d(0x115))/0x4*(-parseInt(_0x4bf18d(0x116))/0x5)+-parseInt(_0x4bf18d(0x118))/0x6*(parseInt(_0x4bf18d(0x11e))/0x7)+parseInt(_0x4bf18d(0x11c))/0x8+parseInt(_0x4bf18d(0x11b))/0x9;if(_0x369a3b===_0x27e85e)break;else _0x16a5e3['push'](_0x16a5e3['shift']());}catch(_0x5adc04){_0x16a5e3['push'](_0x16a5e3['shift']());}}}(_0x595d,0xef17f));import{AIReviewCheck as _0x3f8d5d}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x3f8d5d{[_0x3f6ab1(0x11d)]=[];get[_0x3f6ab1(0x11f)](){var _0x30756f=_0x3f6ab1;return this[_0x30756f(0x11d)];}set[_0x3f6ab1(0x11f)](_0x458d1e){var _0x42e0ae=_0x3f6ab1;this[_0x42e0ae(0x11d)]=_0x458d1e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5dab05=_0x50c8;function _0x1051(){var _0x27ebd3=['custom','17227wbPotC','1854756AboEdu','13790KSLklt','getCheckById','checks','171888avojYV','4544419BSsYMm','46YqbrAZ','1479276PvZttT','404ThrYfg','5492130UIdkal','153SkiZnE','map','10kxdQEs','_checks','_mapCheckDefinitions','find'];_0x1051=function(){return _0x27ebd3;};return _0x1051();}(function(_0x36cabb,_0x39939f){var _0x3ee1da=_0x50c8,_0x1a9308=_0x36cabb();while(!![]){try{var _0x4b9859=-parseInt(_0x3ee1da(0x194))/0x1*(parseInt(_0x3ee1da(0x19b))/0x2)+parseInt(_0x3ee1da(0x195))/0x3+-parseInt(_0x3ee1da(0x19d))/0x4*(parseInt(_0x3ee1da(0x196))/0x5)+-parseInt(_0x3ee1da(0x19c))/0x6+parseInt(_0x3ee1da(0x19e))/0x7+parseInt(_0x3ee1da(0x199))/0x8*(parseInt(_0x3ee1da(0x19f))/0x9)+parseInt(_0x3ee1da(0x1a1))/0xa*(-parseInt(_0x3ee1da(0x19a))/0xb);if(_0x4b9859===_0x39939f)break;else _0x1a9308['push'](_0x1a9308['shift']());}catch(_0x2266ac){_0x1a9308['push'](_0x1a9308['shift']());}}}(_0x1051,0x69df2));function _0x50c8(_0x282101,_0x55ebfa){var _0x1051ac=_0x1051();return _0x50c8=function(_0x50c84e,_0x372f7d){_0x50c84e=_0x50c84e-0x193;var _0x480500=_0x1051ac[_0x50c84e];return _0x480500;},_0x50c8(_0x282101,_0x55ebfa);}import{ObservableMixin as _0x263cc7}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x1cdfc6}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x41ae17}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x263cc7(){[_0x5dab05(0x1a2)];constructor(_0x541a9d){var _0x5bfa4c=_0x5dab05;super(),this[_0x5bfa4c(0x1a2)]=this[_0x5bfa4c(0x1a3)](_0x541a9d);}get[_0x5dab05(0x198)](){var _0x2ac2d9=_0x5dab05;return this[_0x2ac2d9(0x1a2)];}[_0x5dab05(0x197)](_0x4cfc64){var _0x37f63c=_0x5dab05;return this[_0x37f63c(0x198)][_0x37f63c(0x1a4)](_0x45f6e8=>_0x45f6e8['id']===_0x4cfc64);}[_0x5dab05(0x1a3)](_0x323d3b){var _0x51f633=_0x5dab05;return _0x323d3b[_0x51f633(0x1a0)](_0x41ea79=>_0x51f633(0x193)===_0x41ea79['id']?new _0x41ae17(_0x41ea79):new _0x1cdfc6(_0x41ea79));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xc3ecd2=_0xfa02;(function(_0x56962a,_0x19163){var _0x5b7368=_0xfa02,_0x4f2f63=_0x56962a();while(!![]){try{var _0x169b34=parseInt(_0x5b7368(0x106))/0x1+parseInt(_0x5b7368(0x10c))/0x2+parseInt(_0x5b7368(0x10e))/0x3+-parseInt(_0x5b7368(0x109))/0x4*(-parseInt(_0x5b7368(0x104))/0x5)+parseInt(_0x5b7368(0x10d))/0x6*(parseInt(_0x5b7368(0x102))/0x7)+-parseInt(_0x5b7368(0x10b))/0x8*(-parseInt(_0x5b7368(0x10a))/0x9)+-parseInt(_0x5b7368(0x105))/0xa;if(_0x169b34===_0x19163)break;else _0x4f2f63['push'](_0x4f2f63['shift']());}catch(_0x2baf5d){_0x4f2f63['push'](_0x4f2f63['shift']());}}}(_0x4404,0x97f74));function _0xfa02(_0x4dd7bb,_0x2b41e0){var _0x440441=_0x4404();return _0xfa02=function(_0xfa026c,_0x4cf3a1){_0xfa026c=_0xfa026c-0x102;var _0x440132=_0x440441[_0xfa026c];return _0x440132;},_0xfa02(_0x4dd7bb,_0x2b41e0);}import{EmitterMixin as _0x4c2665}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4c2665(){['id'];[_0xc3ecd2(0x108)];[_0xc3ecd2(0x103)];[_0xc3ecd2(0x107)];constructor({id:_0xa6cc84,contentNew:_0x339c0e,contentInitial:_0x52933b,documentVersion:_0x3edba9}){var _0x14df17=_0xc3ecd2;super(),this['id']=_0xa6cc84,this[_0x14df17(0x108)]=_0x339c0e,this[_0x14df17(0x103)]=_0x52933b,this[_0x14df17(0x107)]=_0x3edba9;}}function _0x4404(){var _0x49422c=['18333510bfLnNi','813699mdqWWL','documentVersion','contentNew','4YrHXtz','188595AernZt','56TddzFV','234150CyzKDY','5551668gJhnlu','814461zqaOoY','7XnyFQU','contentInitial','907895NfRfqR'];_0x4404=function(){return _0x49422c;};return _0x4404();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x52abb6=_0x4bc6;(function(_0x348840,_0x29b34a){var _0x3e0f35=_0x4bc6,_0x1469a1=_0x348840();while(!![]){try{var _0x405fc0=-parseInt(_0x3e0f35(0x15a))/0x1*(-parseInt(_0x3e0f35(0x161))/0x2)+-parseInt(_0x3e0f35(0x160))/0x3*(-parseInt(_0x3e0f35(0x15e))/0x4)+-parseInt(_0x3e0f35(0x168))/0x5*(-parseInt(_0x3e0f35(0x163))/0x6)+-parseInt(_0x3e0f35(0x158))/0x7+parseInt(_0x3e0f35(0x166))/0x8+-parseInt(_0x3e0f35(0x155))/0x9+-parseInt(_0x3e0f35(0x15b))/0xa;if(_0x405fc0===_0x29b34a)break;else _0x1469a1['push'](_0x1469a1['shift']());}catch(_0x37aae2){_0x1469a1['push'](_0x1469a1['shift']());}}}(_0xc643,0xc95a3));function _0x4bc6(_0x41738e,_0x502d78){var _0xc643a2=_0xc643();return _0x4bc6=function(_0x4bc6d3,_0x8bb3a4){_0x4bc6d3=_0x4bc6d3-0x153;var _0xc8a289=_0xc643a2[_0x4bc6d3];return _0xc8a289;},_0x4bc6(_0x41738e,_0x502d78);}import{ObservableMixin as _0x2c99ad}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x2c99ad(){['id'];[_0x52abb6(0x169)];[_0x52abb6(0x164)];[_0x52abb6(0x162)]=[];constructor(_0x480bdb,_0xdfa4e6,_0xb73a24){var _0x21ed7d=_0x52abb6;super(),this['id']=_0x480bdb,this[_0x21ed7d(0x169)]=_0xb73a24,this[_0x21ed7d(0x164)]=_0xdfa4e6,this[_0x21ed7d(0x157)](_0x21ed7d(0x15d),!0x1),this[_0x21ed7d(0x157)](_0x21ed7d(0x154),!0x1),this[_0x21ed7d(0x157)](_0x21ed7d(0x165),_0x21ed7d(0x167)),this['on'](_0x21ed7d(0x153),()=>{var _0xc226f1=_0x21ed7d;_0xc226f1(0x167)!==this[_0xc226f1(0x165)]&&this[_0xc226f1(0x15d)]&&(this[_0xc226f1(0x15d)]=!0x1);});}get[_0x52abb6(0x15c)](){var _0xd30b35=_0x52abb6;return this[_0xd30b35(0x164)][_0xd30b35(0x159)]();}get[_0x52abb6(0x156)](){var _0x4bde27=_0x52abb6;return this[_0x4bde27(0x164)][_0x4bde27(0x156)];}get[_0x52abb6(0x15f)](){var _0x45a50f=_0x52abb6;return this[_0x45a50f(0x164)][_0x45a50f(0x15f)];}}function _0xc643(){var _0x40f8c8=['9018472dxmQjh','pending','5084325AlCXmA','parent','change:status','isRated','1835082UHlfjC','operations','set','10561775KoSWBg','context','29527urVxRS','12571000unMgVn','contentDiffed','isActivated','4829932BwmvaU','operationsIsolated','3cfbiYW','30XrRkPn','_editorOperations','6qfeScd','_data','status'];_0xc643=function(){return _0x40f8c8;};return _0xc643();}
|