@ckeditor/ckeditor5-ai 47.4.0-alpha.6 → 47.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/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/aispinner.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/documentposition.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/aicore/utils/scrollmanager.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/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.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/aireviewmodegeneralerrorview.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
|
-
(function(
|
|
23
|
+
(function(_0x24f808,_0x108b8f){const _0x785c61=_0x5bd0,_0x2c22e5=_0x24f808();while(!![]){try{const _0x579803=-parseInt(_0x785c61(0x113))/0x1+-parseInt(_0x785c61(0x103))/0x2+parseInt(_0x785c61(0x116))/0x3*(-parseInt(_0x785c61(0x112))/0x4)+parseInt(_0x785c61(0x118))/0x5+-parseInt(_0x785c61(0x10d))/0x6*(parseInt(_0x785c61(0x117))/0x7)+parseInt(_0x785c61(0x110))/0x8+parseInt(_0x785c61(0x108))/0x9*(parseInt(_0x785c61(0x10e))/0xa);if(_0x579803===_0x108b8f)break;else _0x2c22e5['push'](_0x2c22e5['shift']());}catch(_0x1aa89b){_0x2c22e5['push'](_0x2c22e5['shift']());}}}(_0x3f36,0xa6528));function _0x3f36(){const _0x380935=['aiQuickAction','ck-ai-quick-actions-button','bindTemplate','locale','57366fyGTno','execute','parent','editing','focus','162BMbhNu','1990XbTYHX','view','318688rgjHQp','menuitem','2045372lVZueI','113025trYwYm','displayedPrompt','extendTemplate','6qmwaLV','90685DqhUvd','6766300GKhQJG','commands','isEnabled','set','icon','989540LIcMVC'];_0x3f36=function(){return _0x380935;};return _0x3f36();}function _0x5bd0(_0x41f50e,_0x56e87d){const _0x3f36e6=_0x3f36();return _0x5bd0=function(_0x5bd0d2,_0x2bae4f){_0x5bd0d2=_0x5bd0d2-0x103;let _0x9db2f0=_0x3f36e6[_0x5bd0d2];return _0x9db2f0;},_0x5bd0(_0x41f50e,_0x56e87d);}import{ButtonView as _0x28b258}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x29c573}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x201acf){const {editor:_0x4fef47,action:_0x442f52,withText:_0x3f6a9b=!0x1,withIcon:_0x87b091=!0x0,isInDropdown:_0x4ee3c4=!0x0,shouldPreventFocus:_0x5a8d62=!0x1}=_0x201acf;return()=>{const _0x26a1f4=_0x5bd0,_0x3c10d3=_0x4fef47[_0x26a1f4(0x107)],_0x6f3811=new _0x28b258(_0x3c10d3),_0x3698f4=_0x6f3811[_0x26a1f4(0x106)];_0x4ee3c4&&_0x6f3811[_0x26a1f4(0x115)]({'on':{'mouseenter':_0x3698f4['to'](()=>{const _0x557bb9=_0x26a1f4;_0x5a8d62&&_0x5a8d62()||_0x6f3811[_0x557bb9(0x10c)]();})}});const _0x59b870=_0x442f52[_0x26a1f4(0x11c)]??_0x442f52[_0x26a1f4(0x10a)]?.[_0x26a1f4(0x11c)];return _0x6f3811[_0x26a1f4(0x11b)]({'label':_0x442f52[_0x26a1f4(0x114)],'withText':_0x3f6a9b,'role':_0x26a1f4(0x111),'icon':_0x87b091?_0x59b870??_0x29c573:void 0x0,'tooltip':!_0x3f6a9b,'class':_0x26a1f4(0x105),'isEnabled':_0x442f52[_0x26a1f4(0x11a)]}),_0x6f3811['on'](_0x26a1f4(0x109),()=>{const _0x5d4b5c=_0x26a1f4;_0x4fef47[_0x5d4b5c(0x10b)][_0x5d4b5c(0x10f)][_0x5d4b5c(0x10c)](),_0x4fef47[_0x5d4b5c(0x119)][_0x5d4b5c(0x109)](_0x5d4b5c(0x104),_0x442f52);}),_0x6f3811;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2e6ff7=_0x3aad;(function(_0x4634d2,_0x4694ef){const _0x271e77=_0x3aad,_0x3b76dd=_0x4634d2();while(!![]){try{const _0x5b7b24=parseInt(_0x271e77(0x114))/0x1+parseInt(_0x271e77(0xad))/0x2+-parseInt(_0x271e77(0xd8))/0x3+parseInt(_0x271e77(0xcc))/0x4*(-parseInt(_0x271e77(0xf4))/0x5)+parseInt(_0x271e77(0xe9))/0x6*(-parseInt(_0x271e77(0xe8))/0x7)+-parseInt(_0x271e77(0xeb))/0x8*(parseInt(_0x271e77(0xa5))/0x9)+parseInt(_0x271e77(0xd9))/0xa;if(_0x5b7b24===_0x4694ef)break;else _0x3b76dd['push'](_0x3b76dd['shift']());}catch(_0x272297){_0x3b76dd['push'](_0x3b76dd['shift']());}}}(_0x3107,0xd310e));function _0x3aad(_0x4ad329,_0x3e9277){const _0x310708=_0x3107();return _0x3aad=function(_0x3aad25,_0x4a125c){_0x3aad25=_0x3aad25-0xa1;let _0x3c1271=_0x310708[_0x3aad25];return _0x3c1271;},_0x3aad(_0x4ad329,_0x3e9277);}function _0x3107(){const _0x1e3172=['aiQuickAction','button','eastSouth','_createSearchResultGroupedActionButton','contains','_hasSearch','505764MGdtxS','reset','span','ck-button','isOn','ownerDocument','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','key','ck-ai-quick-actions-button','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','.ck-ai-quick-actions-group-panel','_createSearchResultContentView','uiLanguageDirection','_createSearchResultGroupRow','displayedPrompt','push','_createSearchTextView','activeElement','ck-ai-quick-actions-button__group-icon','focusTracker','icon','menuitem','actions','_openNestedPanels','focusCycler','_handleSearchResultButtonClick','some','commands','_setupActionButtonExecution','_setupGroupMenuBehavior','_createSearchResultIndividualActionButton','7324XMVxAg','ck-ai-quick-actions-button_with-group__open-paren','element','addMany','detachFromDom','ck-button_with-text','_showNestedPanel','isEnabled','_handlePanelKeydown','_searchTextView','queryView','ck-ai-quick-actions-search-result__action-row','2412936ZMDSci','36252000DedMdh','_focusables','bind','_createActionButton','fire','ArrowLeft','set','ck-ai-quick-actions-button_with-group','relatedTarget','mouseleave','isVisible','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createSearchResultActionRow','ck-reset_all','focus','7473053pmisoR','6oKPUdD','items','6504jdLoCO','menu','label','view','ck-ai-quick-actions','_allSearchableItems','ck-ai-quick-actions-search','_hideNestedPanel','hide','35CtQDso','get','render','bindTemplate','div','_isMovingToNestedMenu','parent','optionsListView','_isSearchFocused','role','show','content','pin','closest','ck-ai-quick-actions-button_with-group__close-paren','ck-dropdown-menu-list','locale','destroy','chain','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search-result-button_with-group','.ck-ai-quick-actions-group-list','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__group-row','addEventListener','_createGroupActionsList','ck-ai-quick-actions-group-list','_createActionGroupButton','text','extendTemplate','_bodyCollection','ck-ai-quick-actions-group-button','32929BKBTNj','forEach','delete','clear','execute','_createSearchResultActionButton','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','fieldView','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-search-result__content','rtl','_hideAllNestedPanels','editing','_getButtonKeystroke','ArrowRight','ck-ai-quick-actions-search-result-button','_createListItems','_getPanelKeystroke','keystrokes','children','resetSearch','add','first','ck-rounded-corners','setTemplate','12861zbRWGL','AI_QUICK_ACTIONS_SEARCH'];_0x3107=function(){return _0x1e3172;};return _0x3107();}import{View as _0x2ce9b6,ListItemView as _0x4e2a93,ListView as _0x2c4004,BalloonPanelView as _0x5128b8,DropdownMenuPanelPositioningFunctions as _0x4219d0,ViewCollection as _0x38eea1,FocusCycler as _0x360de8,ButtonView as _0x1c8f39,IconView as _0x17d52b,HighlightedTextView as _0x4b531f,ButtonLabelWithHighlightView as _0xd074e4,SearchTextView as _0x36b159}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x580060}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x36f938,KeystrokeHandler as _0x22a3ef}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x4131cd}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x49360f}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x326de0}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x5effd6}from'./aiquickactionsfilteredlistview.js';const Ps=_0x2e6ff7(0xec),js=_0x2e6ff7(0xc2);export class AIQuickActionsDropdownContentView extends _0x2ce9b6{[_0x2e6ff7(0x112)];[_0x2e6ff7(0xfb)];[_0x2e6ff7(0xd5)]=null;[_0x2e6ff7(0xf0)]=[];[_0x2e6ff7(0x127)];[_0x2e6ff7(0xc0)];[_0x2e6ff7(0x126)];[_0x2e6ff7(0xda)];[_0x2e6ff7(0xc5)];[_0x2e6ff7(0xc4)]=new Set();[_0x2e6ff7(0xac)];constructor(_0x2ccc83,_0x27c8ff,_0x133d41,_0x38c957,_0x25c3a8=!0x1){const _0x14623d=_0x2e6ff7,_0x48246c=_0x2ccc83[_0x14623d(0x104)];super(_0x48246c),this[_0x14623d(0x112)]=_0x38c957,this[_0x14623d(0xac)]=_0x25c3a8;const _0x43ee69=this[_0x14623d(0x124)](_0x2ccc83,_0x27c8ff,_0x133d41);this[_0x14623d(0xfb)]=new _0x5effd6(_0x48246c,_0x43ee69,this[_0x14623d(0xf0)]),this[_0x14623d(0xfb)][_0x14623d(0xfd)]=Ps,this[_0x14623d(0xfb)][_0x14623d(0xea)][_0x14623d(0xcf)](_0x43ee69),this[_0x14623d(0xc0)]=new _0x36f938(),this[_0x14623d(0x126)]=new _0x22a3ef(),_0x25c3a8&&(this[_0x14623d(0xd5)]=this[_0x14623d(0xbd)]()),this[_0x14623d(0xda)]=_0x43ee69,this[_0x14623d(0xc5)]=new _0x360de8({'focusables':this[_0x14623d(0xda)],'focusTracker':this[_0x14623d(0xc0)],'keystrokeHandler':this[_0x14623d(0x126)]}),_0x25c3a8&&this[_0x14623d(0xd5)]&&this[_0x14623d(0xc5)][_0x14623d(0x106)](this[_0x14623d(0xd5)][_0x14623d(0xc5)]);const _0xd006e=_0x25c3a8&&this[_0x14623d(0xd5)]?[this[_0x14623d(0xd5)]]:[this[_0x14623d(0xfb)]];this[_0x14623d(0x127)]=new _0x38eea1(_0xd006e),this[_0x14623d(0xa4)]({'tag':_0x14623d(0xf8),'attributes':{'class':['ck',_0x14623d(0xe6),_0x14623d(0xef),_0x14623d(0xa3)],'dir':_0x48246c[_0x14623d(0xb9)]},'children':this[_0x14623d(0x127)]});}[_0x2e6ff7(0xbd)](){const _0x4c868a=_0x2e6ff7;return new _0x36b159(this[_0x4c868a(0x104)],{'filteredView':this[_0x4c868a(0xfb)],'queryView':{'label':_0x326de0(this[_0x4c868a(0x104)],_0x4c868a(0xa6))},'class':_0x4c868a(0xf1),'infoView':{'text':{'notFound':{'primary':_0x326de0(this[_0x4c868a(0x104)],_0x4c868a(0xe4))}}}});}[_0x2e6ff7(0xfc)](){const _0x42fc32=_0x2e6ff7;if(!this[_0x42fc32(0xac)]||!this[_0x42fc32(0xd5)]||!this[_0x42fc32(0xd5)][_0x42fc32(0xd6)][_0x42fc32(0x11b)][_0x42fc32(0xce)])return!0x1;const _0x412bf9=this[_0x42fc32(0xd5)][_0x42fc32(0xd6)][_0x42fc32(0x11b)][_0x42fc32(0xce)][_0x42fc32(0xb2)]?.[_0x42fc32(0xbe)];return this[_0x42fc32(0xd5)][_0x42fc32(0xd6)][_0x42fc32(0x11b)][_0x42fc32(0xce)][_0x42fc32(0xab)](_0x412bf9);}[_0x2e6ff7(0x124)](_0x20228f,_0x5ce490,_0x4b2162){const _0x376755=_0x2e6ff7,_0x18c31b=new _0x38eea1();return _0x5ce490[_0x376755(0x115)](_0x1dce7a=>{const _0x1148e9=_0x376755;if(_0x1148e9(0xc3)in _0x1dce7a){const {listItem:_0xd7219d}=this[_0x1148e9(0x10f)](_0x20228f,_0x1dce7a,_0x4b2162);_0x18c31b[_0x1148e9(0xa1)](_0xd7219d),_0x1dce7a[_0x1148e9(0xc3)][_0x1148e9(0x115)](_0x49ae48=>{const _0x3ac208=_0x1148e9;this[_0x3ac208(0xdc)](_0x20228f,_0x49ae48,_0x1dce7a[_0x3ac208(0xed)],_0x1dce7a[_0x3ac208(0xc1)]);const {listItem:_0x387c7e,highlightViews:_0x399daf}=this[_0x3ac208(0x119)](_0x20228f,_0x49ae48,_0x1dce7a[_0x3ac208(0xed)],_0x1dce7a[_0x3ac208(0xc1)]);this[_0x3ac208(0xf0)][_0x3ac208(0xbc)]({'item':_0x387c7e,'label':_0x49ae48[_0x3ac208(0xbb)],'groupLabel':_0x1dce7a[_0x3ac208(0xed)],'highlightViews':_0x399daf});});}else{const {listItem:_0x592a5d}=this[_0x1148e9(0xdc)](_0x20228f,_0x1dce7a);_0x18c31b[_0x1148e9(0xa1)](_0x592a5d);const _0x38c8f=_0x592a5d[_0x1148e9(0x127)][_0x1148e9(0xa2)];if(_0x38c8f){const {listItem:_0x4ee5c7,highlightViews:_0x104920}=this[_0x1148e9(0x119)](_0x20228f,_0x1dce7a);this[_0x1148e9(0xf0)][_0x1148e9(0xbc)]({'item':_0x4ee5c7,'label':_0x38c8f[_0x1148e9(0xed)]||'','highlightViews':_0x104920});}}}),_0x18c31b;}[_0x2e6ff7(0xdc)](_0x42cdab,_0x26355f,_0xbda6df,_0x11884c){const _0x51e8ab=_0x2e6ff7,_0x195fec=new _0x4e2a93(this[_0x51e8ab(0x104)]);if(_0xbda6df&&_0x11884c){const _0x26c2a7=new _0x1c8f39(this[_0x51e8ab(0x104)]),_0x2f82cd=_0x26c2a7[_0x51e8ab(0xf7)],_0x34084d=new _0x4b531f();_0x34084d[_0x51e8ab(0x110)]=_0x26355f[_0x51e8ab(0xbb)];const _0x366e2f=new _0x4b531f();_0x366e2f[_0x51e8ab(0x110)]=_0xbda6df;const _0x1d0d71=new _0x17d52b();_0x1d0d71[_0x51e8ab(0xff)]=_0x11884c,_0x1d0d71[_0x51e8ab(0x111)]({'attributes':{'class':_0x51e8ab(0xbf)}});const _0x267834=new _0x2ce9b6(this[_0x51e8ab(0x104)]);_0x267834[_0x51e8ab(0xa4)]({'tag':_0x51e8ab(0xaf),'attributes':{'class':_0x51e8ab(0xcd)},'children':[{'text':'\x20('}]});const _0x41ee5b=new _0x2ce9b6(this[_0x51e8ab(0x104)]);return _0x41ee5b[_0x51e8ab(0xa4)]({'tag':_0x51e8ab(0xaf),'attributes':{'class':_0x51e8ab(0x102)},'children':[{'text':')'}]}),_0x26c2a7[_0x51e8ab(0xdf)]({'label':_0x26355f[_0x51e8ab(0xbb)]+'\x20('+_0xbda6df+')','withText':!0x0,'role':_0x51e8ab(0xc2),'class':_0x51e8ab(0xb6),'tooltip':!0x1}),_0x26c2a7[_0x51e8ab(0xa4)]({'tag':_0x51e8ab(0xa8),'attributes':{'class':['ck',_0x51e8ab(0xb0),_0x51e8ab(0xd1),_0x51e8ab(0xb5),_0x51e8ab(0xe0)],'type':_0x51e8ab(0xa8),'role':_0x51e8ab(0xc2),'tabindex':'-1'},'children':[_0x34084d,_0x267834,_0x1d0d71,_0x366e2f,_0x41ee5b],'on':{'mouseenter':_0x2f82cd['to'](()=>{const _0x2ee301=_0x51e8ab;this[_0x2ee301(0xfc)]()||_0x26c2a7[_0x2ee301(0xe7)]();}),'click':_0x2f82cd['to'](()=>{const _0x1dd719=_0x51e8ab;_0x26c2a7[_0x1dd719(0xdd)](_0x1dd719(0x118));})}}),_0x26c2a7['on'](_0x51e8ab(0x118),()=>{const _0x43130b=_0x51e8ab;_0x42cdab[_0x43130b(0x120)][_0x43130b(0xee)][_0x43130b(0xe7)](),_0x42cdab[_0x43130b(0xc8)][_0x43130b(0x118)](_0x43130b(0xa7),_0x26355f);}),_0x195fec[_0x51e8ab(0x127)][_0x51e8ab(0xa1)](_0x26c2a7),{'listItem':_0x195fec,'highlightViews':[_0x34084d,_0x366e2f]};}{const _0x27a063=new _0xd074e4(),_0x55c6e3=new _0x1c8f39(this[_0x51e8ab(0x104)],_0x27a063),_0x13343d=_0x55c6e3[_0x51e8ab(0xf7)],_0x3d66d1=_0x26355f[_0x51e8ab(0xc1)]??_0x26355f[_0x51e8ab(0xfa)]?.[_0x51e8ab(0xc1)],_0x490994=void 0x0!==_0x26355f[_0x51e8ab(0xc1)];return _0x55c6e3[_0x51e8ab(0xdf)]({'label':_0x26355f[_0x51e8ab(0xbb)],'withText':!0x0,'role':_0x51e8ab(0xc2),'icon':_0x490994?_0x3d66d1??_0x580060:void 0x0,'tooltip':!0x1,'class':_0x51e8ab(0xb5)}),_0x55c6e3[_0x51e8ab(0x111)]({'on':{'mouseenter':_0x13343d['to'](()=>{const _0x2e0cdb=_0x51e8ab;this[_0x2e0cdb(0xfc)]()||_0x55c6e3[_0x2e0cdb(0xe7)]();})}}),_0x55c6e3['on'](_0x51e8ab(0x118),()=>{const _0x3eae02=_0x51e8ab;_0x42cdab[_0x3eae02(0x120)][_0x3eae02(0xee)][_0x3eae02(0xe7)](),_0x42cdab[_0x3eae02(0xc8)][_0x3eae02(0x118)](_0x3eae02(0xa7),_0x26355f);}),_0x195fec[_0x51e8ab(0x127)][_0x51e8ab(0xa1)](_0x55c6e3),{'listItem':_0x195fec,'highlightViews':[_0x27a063]};}}[_0x2e6ff7(0x119)](_0x324ff3,_0x3adb46,_0x460ea0,_0x577cb6){const _0x917dab=_0x2e6ff7;return _0x460ea0&&_0x577cb6?this[_0x917dab(0xaa)](_0x324ff3,_0x3adb46,_0x460ea0,_0x577cb6):this[_0x917dab(0xcb)](_0x324ff3,_0x3adb46);}[_0x2e6ff7(0xaa)](_0x276941,_0x2370b5,_0x473ecb,_0x4306d5){const _0x330b77=_0x2e6ff7,_0x507a83=new _0x4e2a93(this[_0x330b77(0x104)]),_0x5af4f0=new _0x1c8f39(this[_0x330b77(0x104)]),_0x138bae=_0x5af4f0[_0x330b77(0xf7)],{view:_0x2744c7,highlightView:_0x4185e5}=this[_0x330b77(0xba)](_0x473ecb,_0x4306d5),{view:_0x5a3af8,highlightView:_0x2dcfb6}=this[_0x330b77(0xe5)](_0x2370b5[_0x330b77(0xbb)]),_0x3dba4d=this[_0x330b77(0xb8)](_0x2744c7,_0x5a3af8);return _0x5af4f0[_0x330b77(0xdf)]({'label':_0x2370b5[_0x330b77(0xbb)],'withText':!0x0,'role':_0x330b77(0xc2),'class':_0x330b77(0x11a),'tooltip':!0x1}),_0x5af4f0[_0x330b77(0xa4)]({'tag':_0x330b77(0xa8),'attributes':{'class':['ck',_0x330b77(0xb0),_0x330b77(0xd1),_0x330b77(0xb5),_0x330b77(0x123),_0x330b77(0x108)],'type':_0x330b77(0xa8),'role':_0x330b77(0xc2),'tabindex':'-1'},'children':[_0x3dba4d],'on':{'mouseenter':_0x138bae['to'](()=>{const _0x57bc95=_0x330b77;this[_0x57bc95(0xfc)]()||_0x5af4f0[_0x57bc95(0xe7)]();}),'click':_0x138bae['to'](()=>{const _0x2b47cf=_0x330b77;this[_0x2b47cf(0xc6)](_0x5af4f0);})}}),this[_0x330b77(0xc9)](_0x5af4f0,_0x276941,_0x2370b5),_0x507a83[_0x330b77(0x127)][_0x330b77(0xa1)](_0x5af4f0),{'listItem':_0x507a83,'highlightViews':[_0x4185e5,_0x2dcfb6]};}[_0x2e6ff7(0xcb)](_0x14caf6,_0x3ff9f2){const _0x31df50=_0x2e6ff7,_0x1c39cb=new _0x4e2a93(this[_0x31df50(0x104)]),_0x3b4f71=new _0xd074e4(),_0x1c11e1=new _0x1c8f39(this[_0x31df50(0x104)],_0x3b4f71),_0x18b203=_0x1c11e1[_0x31df50(0xf7)];return _0x1c11e1[_0x31df50(0xdf)]({'label':_0x3ff9f2[_0x31df50(0xbb)],'withText':!0x0,'role':_0x31df50(0xc2),'icon':void 0x0,'tooltip':!0x1,'class':_0x31df50(0xb3)}),_0x1c11e1[_0x31df50(0x111)]({'on':{'mouseenter':_0x18b203['to'](()=>{const _0x2cea4f=_0x31df50;this[_0x2cea4f(0xfc)]()||_0x1c11e1[_0x2cea4f(0xe7)]();})}}),this[_0x31df50(0xc9)](_0x1c11e1,_0x14caf6,_0x3ff9f2),_0x1c39cb[_0x31df50(0x127)][_0x31df50(0xa1)](_0x1c11e1),{'listItem':_0x1c39cb,'highlightViews':[_0x3b4f71]};}[_0x2e6ff7(0xba)](_0x473ea0,_0x1aebfd){const _0x1fc0cb=_0x2e6ff7,_0x532b1e=new _0x2ce9b6(this[_0x1fc0cb(0x104)]),_0x2bc29a=new _0x17d52b();_0x2bc29a[_0x1fc0cb(0xff)]=_0x1aebfd,_0x2bc29a[_0x1fc0cb(0x111)]({'attributes':{'class':_0x1fc0cb(0xbf)}});const _0x18efe4=new _0x4b531f();return _0x18efe4[_0x1fc0cb(0x110)]=_0x473ea0,_0x532b1e[_0x1fc0cb(0xa4)]({'tag':_0x1fc0cb(0xf8),'attributes':{'class':_0x1fc0cb(0x10b)},'children':[_0x2bc29a,_0x18efe4]}),{'view':_0x532b1e,'highlightView':_0x18efe4};}[_0x2e6ff7(0xe5)](_0x15ddcc){const _0x24db00=_0x2e6ff7,_0x33b69f=new _0x2ce9b6(this[_0x24db00(0x104)]),_0x2c8d2c=new _0x4b531f();return _0x2c8d2c[_0x24db00(0x110)]=_0x15ddcc,_0x33b69f[_0x24db00(0xa4)]({'tag':_0x24db00(0xf8),'attributes':{'class':_0x24db00(0xd7)},'children':[_0x2c8d2c]}),{'view':_0x33b69f,'highlightView':_0x2c8d2c};}[_0x2e6ff7(0xb8)](_0x598c28,_0x5bdcab){const _0x5e4d79=_0x2e6ff7,_0x1c3c9a=new _0x2ce9b6(this[_0x5e4d79(0x104)]);return _0x1c3c9a[_0x5e4d79(0xa4)]({'tag':_0x5e4d79(0xf8),'attributes':{'class':_0x5e4d79(0x11d)},'children':[_0x598c28,_0x5bdcab]}),_0x1c3c9a;}[_0x2e6ff7(0xc9)](_0x328cca,_0x3894d4,_0x15cc3d){const _0x5edc97=_0x2e6ff7;_0x328cca['on'](_0x5edc97(0x118),()=>{const _0x2c109b=_0x5edc97;_0x3894d4[_0x2c109b(0x120)][_0x2c109b(0xee)][_0x2c109b(0xe7)](),_0x3894d4[_0x2c109b(0xc8)][_0x2c109b(0x118)](_0x2c109b(0xa7),_0x15cc3d);});}[_0x2e6ff7(0x10f)](_0x1f94dc,_0x592c88,_0x441412){const _0x5e466a=_0x2e6ff7,_0x1d753d=new _0x4e2a93(this[_0x5e466a(0x104)]),_0x5c2459=new _0xd074e4(),_0x3adfd0=new _0x49360f(this[_0x5e466a(0x104)],_0x5c2459),_0x300bee=_0x3adfd0[_0x5e466a(0xf7)],_0x2b3c69=this[_0x5e466a(0x125)](_0x441412),_0x5b1011=this[_0x5e466a(0x10d)](_0x1f94dc,_0x592c88[_0x5e466a(0xc3)],_0x441412);_0x3adfd0[_0x5e466a(0xdf)]({'label':_0x592c88[_0x5e466a(0xed)],'withText':!0x0,'role':js,'icon':_0x592c88[_0x5e466a(0xc1)]??_0x580060,'isEnabled':_0x592c88[_0x5e466a(0xc3)][_0x5e466a(0xc7)](_0x4e78ca=>_0x4e78ca[_0x5e466a(0xd3)])}),_0x3adfd0[_0x5e466a(0x111)]({'on':{'mouseenter':_0x300bee['to'](()=>{const _0x466176=_0x5e466a;this[_0x466176(0xfc)]()||_0x3adfd0[_0x466176(0xe7)]();})}});const _0x4c69a5=new _0x5128b8(this[_0x5e466a(0x104)]);return _0x4c69a5[_0x5e466a(0x111)]({'attributes':{'class':['ck',_0x5e466a(0xe6),_0x5e466a(0x107),_0x5e466a(0x11c)]},'on':{'keydown':_0x300bee['to'](_0x4e6d3e=>{const _0x5a698c=_0x5e466a;this[_0x5a698c(0xd4)](_0x4e6d3e,_0x2b3c69,_0x3adfd0,_0x4c69a5);})}}),_0x3adfd0[_0x5e466a(0xdb)](_0x5e466a(0xb1))['to'](_0x4c69a5,_0x5e466a(0xe3)),this[_0x5e466a(0x112)][_0x5e466a(0xa1)](_0x4c69a5),_0x4c69a5[_0x5e466a(0xff)][_0x5e466a(0xa1)](_0x5b1011),this[_0x5e466a(0xca)](_0x3adfd0,_0x4c69a5),_0x1d753d[_0x5e466a(0x127)][_0x5e466a(0xa1)](_0x3adfd0),{'listItem':_0x1d753d,'highlightView':_0x5c2459};}[_0x2e6ff7(0x10d)](_0x8eb479,_0x50ef62,_0x27296c){const _0x26487c=_0x2e6ff7,_0x2790f2=new _0x2c4004(this[_0x26487c(0x104)]);return _0x2790f2[_0x26487c(0x111)]({'attributes':{'class':['ck',_0x26487c(0xe6),_0x26487c(0x10e),_0x26487c(0x103)]}}),_0x50ef62[_0x26487c(0x115)](_0x416b6b=>{const _0x202e73=_0x26487c,_0x2b8f6a=new _0x4e2a93(this[_0x202e73(0x104)]),_0x14f83e=_0x4131cd({'editor':_0x8eb479,'action':_0x416b6b,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x202e73(0xfc)]()})();_0x2b8f6a[_0x202e73(0x127)][_0x202e73(0xa1)](_0x14f83e),_0x27296c[_0x202e73(0xc0)][_0x202e73(0xa1)](_0x14f83e),_0x2790f2[_0x202e73(0xea)][_0x202e73(0xa1)](_0x2b8f6a);}),_0x2790f2;}[_0x2e6ff7(0xca)](_0x64b920,_0x242bee){const _0x438c53=_0x2e6ff7,_0x11a433=_0x64b920[_0x438c53(0xf7)],_0x3c200b=this[_0x438c53(0x121)](_0x64b920);_0x64b920[_0x438c53(0x111)]({'attributes':{'class':[_0x438c53(0x113)]},'on':{'mouseenter':_0x11a433['to'](()=>{const _0x28b875=_0x438c53;this[_0x28b875(0xd2)](_0x242bee,_0x64b920);}),'mouseleave':_0x11a433['to'](_0x1e17b9=>{const _0x3e4faf=_0x438c53,_0x15085d=_0x1e17b9[_0x3e4faf(0xe1)];this[_0x3e4faf(0xf9)](_0x15085d,_0x242bee)||this[_0x3e4faf(0xf2)](_0x242bee);}),'keydown':_0x11a433['to'](_0x4e61d5=>{const _0x50e9bb=_0x438c53;_0x4e61d5[_0x50e9bb(0xb4)]==_0x3c200b&&(this[_0x50e9bb(0xd2)](_0x242bee,_0x64b920),_0x242bee[_0x50e9bb(0xff)][_0x50e9bb(0xf5)](0x0)[_0x50e9bb(0xe7)]());})}}),_0x242bee['on'](_0x438c53(0xf6),()=>{const _0x235659=_0x438c53;_0x242bee[_0x235659(0xce)]?.[_0x235659(0x10c)](_0x235659(0xe2),_0x26547c=>{const _0x4336f0=_0x235659,_0x518441=_0x26547c[_0x4336f0(0xe1)];_0x64b920[_0x4336f0(0xce)]?.[_0x4336f0(0xab)](_0x518441)||this[_0x4336f0(0xf9)](_0x518441,_0x242bee)||this[_0x4336f0(0xf2)](_0x242bee);});});}[_0x2e6ff7(0xd2)](_0x2f2451,_0xa0b48d){const _0x24f25e=_0x2e6ff7;this[_0x24f25e(0xc4)][_0x24f25e(0x115)](_0x44c4e4=>{const _0x3ae621=_0x24f25e;_0x44c4e4!==_0x2f2451&&_0x44c4e4[_0x3ae621(0xe3)]&&_0x44c4e4[_0x3ae621(0xf3)]();}),_0x2f2451[_0x24f25e(0xfe)](),_0x2f2451[_0x24f25e(0x100)]({'positions':[_0x4219d0[_0x24f25e(0xa9)]],'target':_0xa0b48d[_0x24f25e(0xce)],'fitInViewport':!0x0}),this[_0x24f25e(0xc4)][_0x24f25e(0xa1)](_0x2f2451);}[_0x2e6ff7(0xf2)](_0x1b4684){const _0x3b8fab=_0x2e6ff7;_0x1b4684[_0x3b8fab(0xf3)](),this[_0x3b8fab(0xc4)][_0x3b8fab(0x116)](_0x1b4684);}[_0x2e6ff7(0x11f)](){const _0x25480b=_0x2e6ff7;this[_0x25480b(0xc4)][_0x25480b(0x115)](_0x597d10=>_0x597d10[_0x25480b(0xf3)]()),this[_0x25480b(0xc4)][_0x25480b(0x117)]();}[_0x2e6ff7(0xf9)](_0x16b912,_0x3b5caf){const _0xd31106=_0x2e6ff7;if(!_0x16b912)return!0x1;if(_0x3b5caf[_0xd31106(0xce)]?.[_0xd31106(0xab)](_0x16b912))return!0x0;const _0x4414b4=_0x16b912;return _0x4414b4[_0xd31106(0x101)]&&(null!==_0x4414b4[_0xd31106(0x101)](_0xd31106(0xb7))||null!==_0x4414b4[_0xd31106(0x101)](_0xd31106(0x109))||null!==_0x4414b4[_0xd31106(0x101)](_0xd31106(0x10a)));}[_0x2e6ff7(0x128)](){const _0x590f5a=_0x2e6ff7;this[_0x590f5a(0xd5)]&&this[_0x590f5a(0xd5)][_0x590f5a(0xae)]();}[_0x2e6ff7(0x105)](){const _0x1b9357=_0x2e6ff7;this[_0x1b9357(0x11f)](),this[_0x1b9357(0x112)][_0x1b9357(0xd0)](),super[_0x1b9357(0x105)]();}[_0x2e6ff7(0xe7)](){const _0x387dbd=_0x2e6ff7;this[_0x387dbd(0xd5)]?this[_0x387dbd(0xd5)][_0x387dbd(0xe7)]():this[_0x387dbd(0xfb)][_0x387dbd(0xe7)]();}[_0x2e6ff7(0x125)](_0x1c8ff4){const _0x2eff25=_0x2e6ff7;return _0x2eff25(0x11e)===_0x1c8ff4[_0x2eff25(0x104)][_0x2eff25(0xb9)]?_0x2eff25(0x122):_0x2eff25(0xde);}[_0x2e6ff7(0x121)](_0x2926db){const _0x31ccc3=_0x2e6ff7;return _0x31ccc3(0x11e)===_0x2926db[_0x31ccc3(0x104)][_0x31ccc3(0xb9)]?_0x31ccc3(0xde):_0x31ccc3(0x122);}[_0x2e6ff7(0xd4)](_0x2a7273,_0x4a85e2,_0x373045,_0xe79cd3){const _0x3a9db9=_0x2e6ff7;_0x2a7273[_0x3a9db9(0xb4)]==_0x4a85e2&&(_0x373045[_0x3a9db9(0xe7)](),this[_0x3a9db9(0xf2)](_0xe79cd3));}[_0x2e6ff7(0xc6)](_0x3048a9){const _0x3dbeb0=_0x2e6ff7;_0x3048a9[_0x3dbeb0(0xdd)](_0x3dbeb0(0x118));}}
|
|
23
|
+
const _0x29cb80=_0xeb9e;(function(_0x5a8f05,_0x3bcd78){const _0x46f89f=_0xeb9e,_0x1efe3e=_0x5a8f05();while(!![]){try{const _0x23fe0a=-parseInt(_0x46f89f(0xe4))/0x1+parseInt(_0x46f89f(0x11f))/0x2+parseInt(_0x46f89f(0xf0))/0x3+parseInt(_0x46f89f(0xbb))/0x4*(-parseInt(_0x46f89f(0xd0))/0x5)+parseInt(_0x46f89f(0x108))/0x6+-parseInt(_0x46f89f(0xcd))/0x7+parseInt(_0x46f89f(0xca))/0x8*(parseInt(_0x46f89f(0xce))/0x9);if(_0x23fe0a===_0x3bcd78)break;else _0x1efe3e['push'](_0x1efe3e['shift']());}catch(_0x415083){_0x1efe3e['push'](_0x1efe3e['shift']());}}}(_0x3346,0xf330f));import{View as _0x3aea7b,ListItemView as _0x5295f3,ListView as _0x497cd3,BalloonPanelView as _0x56bb0d,DropdownMenuPanelPositioningFunctions as _0x3f4a85,ViewCollection as _0x4e53ba,FocusCycler as _0x41306c,ButtonView as _0x43f908,IconView as _0x20e5a3,HighlightedTextView as _0x20d0fb,ButtonLabelWithHighlightView as _0x589440,SearchTextView as _0x2365d3}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xec60d9}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x5d25ff,KeystrokeHandler as _0x5c4a32}from'ckeditor5/src/utils.js';function _0xeb9e(_0x11bea0,_0x115af5){const _0x33467e=_0x3346();return _0xeb9e=function(_0xeb9e6c,_0x5dab86){_0xeb9e6c=_0xeb9e6c-0xb3;let _0x32fc43=_0x33467e[_0xeb9e6c];return _0x32fc43;},_0xeb9e(_0x11bea0,_0x115af5);}import{aiQuickActionsButtonCreator as _0x3a440a}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x2a1080}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x28a64e}from'../../aicore/utils/common-translations.js';function _0x3346(){const _0x39cedf=['ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','role','show','addEventListener','ck-ai-quick-actions-group-panel','mouseleave','ck-ai-quick-actions-search-result__group-row','_showNestedPanel','pin','set','button','isOn','_hideNestedPanel','label','6843204QuDBCK','ck-button','ck-reset_all','ck-rounded-corners','_createListItems','extendTemplate','menu','ck-button_with-text','bindTemplate','focusTracker','render','add','element','_isSearchFocused','ownerDocument','6659536NiSEcj','_getButtonKeystroke','editing','5600679GHIeAj','27CMYVPp','push','5CoTruq','delete','ck-ai-quick-actions-group-button','ck-ai-quick-actions-button__group-icon','eastSouth','queryView','children','activeElement','forEach','chain','rtl','ck-ai-quick-actions-button_with-group__close-paren','ck-dropdown-menu__nested-menu__panel','fire','_getPanelKeystroke','_createActionGroupButton','hide','_hideAllNestedPanels','_isMovingToNestedMenu','ArrowLeft','875792YoitBC','items','_createSearchResultContentView','contains','span','isVisible','_allSearchableItems','_createGroupActionsList','_handleSearchResultButtonClick','_createActionButton','_focusables','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','2822556GOabNk','ck-ai-quick-actions-search-result-button','parent','ck-ai-quick-actions-search-result__action-row','displayedPrompt','key','clear','div','fieldView','ArrowRight','aiQuickAction','detachFromDom','ck-dropdown-menu-list','ck-ai-quick-actions','isEnabled','_createSearchTextView','view','.ck-ai-quick-actions-group-list','commands','ck-ai-quick-actions-button','some','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultIndividualActionButton','optionsListView','1272180juHRNv','reset','_openNestedPanels','content','bind','ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-search-result-button_with-group','_createSearchResultActionButton','AI_QUICK_ACTIONS_SEARCH','first','_handlePanelKeydown','_createSearchResultActionRow','resetSearch','_setupGroupMenuBehavior','ck-ai-quick-actions-group-list','locale','_setupActionButtonExecution','_searchTextView','.ck-ai-quick-actions-group-panel','focus','_createSearchResultGroupedActionButton','ck-ai-quick-actions-search','addMany','1465186fWkEOF','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-search-result__content','uiLanguageDirection','destroy','execute','setTemplate','get','keystrokes','text','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-button_with-group__open-paren','_hasSearch','closest','_createSearchResultGroupRow','focusCycler','relatedTarget','icon','actions','_bodyCollection','menuitem'];_0x3346=function(){return _0x39cedf;};return _0x3346();}import{AIQuickActionsFilteredListView as _0x154581}from'./aiquickactionsfilteredlistview.js';const vs=_0x29cb80(0xc1),Ss=_0x29cb80(0x133);export class AIQuickActionsDropdownContentView extends _0x3aea7b{[_0x29cb80(0x132)];[_0x29cb80(0x107)];[_0x29cb80(0x119)]=null;[_0x29cb80(0xea)]=[];[_0x29cb80(0xd6)];[_0x29cb80(0xc4)];[_0x29cb80(0x127)];[_0x29cb80(0xee)];[_0x29cb80(0x12e)];[_0x29cb80(0x10a)]=new Set();[_0x29cb80(0x12b)];constructor(_0x1755fd,_0x5b236e,_0x250188,_0x389a13,_0x411406=!0x1){const _0x1d33d2=_0x29cb80,_0x2e07a8=_0x1755fd[_0x1d33d2(0x117)];super(_0x2e07a8),this[_0x1d33d2(0x132)]=_0x389a13,this[_0x1d33d2(0x12b)]=_0x411406;const _0x47ecd8=this[_0x1d33d2(0xbf)](_0x1755fd,_0x5b236e,_0x250188);this[_0x1d33d2(0x107)]=new _0x154581(_0x2e07a8,_0x47ecd8,this[_0x1d33d2(0xea)]),this[_0x1d33d2(0x107)][_0x1d33d2(0x135)]=vs,this[_0x1d33d2(0x107)][_0x1d33d2(0xe5)][_0x1d33d2(0x11e)](_0x47ecd8),this[_0x1d33d2(0xc4)]=new _0x5d25ff(),this[_0x1d33d2(0x127)]=new _0x5c4a32(),_0x411406&&(this[_0x1d33d2(0x119)]=this[_0x1d33d2(0xff)]()),this[_0x1d33d2(0xee)]=_0x47ecd8,this[_0x1d33d2(0x12e)]=new _0x41306c({'focusables':this[_0x1d33d2(0xee)],'focusTracker':this[_0x1d33d2(0xc4)],'keystrokeHandler':this[_0x1d33d2(0x127)]}),_0x411406&&this[_0x1d33d2(0x119)]&&this[_0x1d33d2(0x12e)][_0x1d33d2(0xd9)](this[_0x1d33d2(0x119)][_0x1d33d2(0x12e)]);const _0x144529=_0x411406&&this[_0x1d33d2(0x119)]?[this[_0x1d33d2(0x119)]]:[this[_0x1d33d2(0x107)]];this[_0x1d33d2(0xd6)]=new _0x4e53ba(_0x144529),this[_0x1d33d2(0x125)]({'tag':_0x1d33d2(0xf7),'attributes':{'class':['ck',_0x1d33d2(0xbd),_0x1d33d2(0xfd),_0x1d33d2(0xbe)],'dir':_0x2e07a8[_0x1d33d2(0x122)]},'children':this[_0x1d33d2(0xd6)]});}[_0x29cb80(0xff)](){const _0x93df79=_0x29cb80;return new _0x2365d3(this[_0x93df79(0x117)],{'filteredView':this[_0x93df79(0x107)],'queryView':{'label':_0x28a64e(this[_0x93df79(0x117)],_0x93df79(0x110))},'class':_0x93df79(0x11d),'infoView':{'text':{'notFound':{'primary':_0x28a64e(this[_0x93df79(0x117)],_0x93df79(0x120))}}}});}[_0x29cb80(0xc8)](){const _0x8b968b=_0x29cb80;if(!this[_0x8b968b(0x12b)]||!this[_0x8b968b(0x119)]||!this[_0x8b968b(0x119)][_0x8b968b(0xd5)][_0x8b968b(0xf8)][_0x8b968b(0xc7)])return!0x1;const _0x47a225=this[_0x8b968b(0x119)][_0x8b968b(0xd5)][_0x8b968b(0xf8)][_0x8b968b(0xc7)][_0x8b968b(0xc9)]?.[_0x8b968b(0xd7)];return this[_0x8b968b(0x119)][_0x8b968b(0xd5)][_0x8b968b(0xf8)][_0x8b968b(0xc7)][_0x8b968b(0xe7)](_0x47a225);}[_0x29cb80(0xbf)](_0x30f6a4,_0x552f33,_0x4a49aa){const _0x243537=_0x29cb80,_0x291e90=new _0x4e53ba();return _0x552f33[_0x243537(0xd8)](_0x4484ea=>{const _0x40f8be=_0x243537;if(_0x40f8be(0x131)in _0x4484ea){const {listItem:_0x3c74ad}=this[_0x40f8be(0xdf)](_0x30f6a4,_0x4484ea,_0x4a49aa);_0x291e90[_0x40f8be(0xc6)](_0x3c74ad),_0x4484ea[_0x40f8be(0x131)][_0x40f8be(0xd8)](_0x1af53f=>{const _0x56ba25=_0x40f8be;this[_0x56ba25(0xed)](_0x30f6a4,_0x1af53f,_0x4484ea[_0x56ba25(0xba)],_0x4484ea[_0x56ba25(0x130)]);const {listItem:_0x1af382,highlightViews:_0x332529}=this[_0x56ba25(0x10f)](_0x30f6a4,_0x1af53f,_0x4484ea[_0x56ba25(0xba)],_0x4484ea[_0x56ba25(0x130)]);this[_0x56ba25(0xea)][_0x56ba25(0xcf)]({'item':_0x1af382,'label':_0x1af53f[_0x56ba25(0xf4)],'groupLabel':_0x4484ea[_0x56ba25(0xba)],'highlightViews':_0x332529});});}else{const {listItem:_0x1cfa10}=this[_0x40f8be(0xed)](_0x30f6a4,_0x4484ea);_0x291e90[_0x40f8be(0xc6)](_0x1cfa10);const _0x56ebbb=_0x1cfa10[_0x40f8be(0xd6)][_0x40f8be(0x111)];if(_0x56ebbb){const {listItem:_0x54376f,highlightViews:_0x2ef34f}=this[_0x40f8be(0x10f)](_0x30f6a4,_0x4484ea);this[_0x40f8be(0xea)][_0x40f8be(0xcf)]({'item':_0x54376f,'label':_0x56ebbb[_0x40f8be(0xba)]||'','highlightViews':_0x2ef34f});}}}),_0x291e90;}[_0x29cb80(0xed)](_0x159808,_0x17278e,_0x4a28d2,_0x10fa3c){const _0x3266a4=_0x29cb80,_0x28e98a=new _0x5295f3(this[_0x3266a4(0x117)]);if(_0x4a28d2&&_0x10fa3c){const _0x5505ad=new _0x43f908(this[_0x3266a4(0x117)]),_0x3d1a8f=_0x5505ad[_0x3266a4(0xc3)],_0x2ada83=new _0x20d0fb();_0x2ada83[_0x3266a4(0x128)]=_0x17278e[_0x3266a4(0xf4)];const _0xdef6a6=new _0x20d0fb();_0xdef6a6[_0x3266a4(0x128)]=_0x4a28d2;const _0x309f01=new _0x20e5a3();_0x309f01[_0x3266a4(0x10b)]=_0x10fa3c,_0x309f01[_0x3266a4(0xc0)]({'attributes':{'class':_0x3266a4(0xd3)}});const _0x1e8464=new _0x3aea7b(this[_0x3266a4(0x117)]);_0x1e8464[_0x3266a4(0x125)]({'tag':_0x3266a4(0xe8),'attributes':{'class':_0x3266a4(0x12a)},'children':[{'text':'\x20('}]});const _0x36b65a=new _0x3aea7b(this[_0x3266a4(0x117)]);return _0x36b65a[_0x3266a4(0x125)]({'tag':_0x3266a4(0xe8),'attributes':{'class':_0x3266a4(0xdb)},'children':[{'text':')'}]}),_0x5505ad[_0x3266a4(0xb6)]({'label':_0x17278e[_0x3266a4(0xf4)]+'\x20('+_0x4a28d2+')','withText':!0x0,'role':_0x3266a4(0x133),'class':_0x3266a4(0x105),'tooltip':!0x1}),_0x5505ad[_0x3266a4(0x125)]({'tag':_0x3266a4(0xb7),'attributes':{'class':['ck',_0x3266a4(0xbc),_0x3266a4(0xc2),_0x3266a4(0x103),_0x3266a4(0x10d)],'type':_0x3266a4(0xb7),'role':_0x3266a4(0x133),'tabindex':'-1'},'children':[_0x2ada83,_0x1e8464,_0x309f01,_0xdef6a6,_0x36b65a],'on':{'mouseenter':_0x3d1a8f['to'](()=>{const _0x2f489d=_0x3266a4;this[_0x2f489d(0xc8)]()||_0x5505ad[_0x2f489d(0x11b)]();}),'click':_0x3d1a8f['to'](()=>{const _0xcd827e=_0x3266a4;_0x5505ad[_0xcd827e(0xdd)](_0xcd827e(0x124));})}}),_0x5505ad['on'](_0x3266a4(0x124),()=>{const _0x58c63a=_0x3266a4;_0x159808[_0x58c63a(0xcc)][_0x58c63a(0x100)][_0x58c63a(0x11b)](),_0x159808[_0x58c63a(0x102)][_0x58c63a(0x124)](_0x58c63a(0xfa),_0x17278e);}),_0x28e98a[_0x3266a4(0xd6)][_0x3266a4(0xc6)](_0x5505ad),{'listItem':_0x28e98a,'highlightViews':[_0x2ada83,_0xdef6a6]};}{const _0xe834ab=new _0x589440(),_0x22a387=new _0x43f908(this[_0x3266a4(0x117)],_0xe834ab),_0xed80b=_0x22a387[_0x3266a4(0xc3)],_0x35d115=_0x17278e[_0x3266a4(0x130)]??_0x17278e[_0x3266a4(0xf2)]?.[_0x3266a4(0x130)],_0x2dc3a9=void 0x0!==_0x17278e[_0x3266a4(0x130)];return _0x22a387[_0x3266a4(0xb6)]({'label':_0x17278e[_0x3266a4(0xf4)],'withText':!0x0,'role':_0x3266a4(0x133),'icon':_0x2dc3a9?_0x35d115??_0xec60d9:void 0x0,'tooltip':!0x1,'class':_0x3266a4(0x103)}),_0x22a387[_0x3266a4(0xc0)]({'on':{'mouseenter':_0xed80b['to'](()=>{const _0x3b016c=_0x3266a4;this[_0x3b016c(0xc8)]()||_0x22a387[_0x3b016c(0x11b)]();})}}),_0x22a387['on'](_0x3266a4(0x124),()=>{const _0xe97cc6=_0x3266a4;_0x159808[_0xe97cc6(0xcc)][_0xe97cc6(0x100)][_0xe97cc6(0x11b)](),_0x159808[_0xe97cc6(0x102)][_0xe97cc6(0x124)](_0xe97cc6(0xfa),_0x17278e);}),_0x28e98a[_0x3266a4(0xd6)][_0x3266a4(0xc6)](_0x22a387),{'listItem':_0x28e98a,'highlightViews':[_0xe834ab]};}}[_0x29cb80(0x10f)](_0x30af84,_0x29bfeb,_0x33e3a2,_0x5be176){const _0x53577b=_0x29cb80;return _0x33e3a2&&_0x5be176?this[_0x53577b(0x11c)](_0x30af84,_0x29bfeb,_0x33e3a2,_0x5be176):this[_0x53577b(0x106)](_0x30af84,_0x29bfeb);}[_0x29cb80(0x11c)](_0x5d7910,_0x5dcbfe,_0x151331,_0xb1bf83){const _0x145946=_0x29cb80,_0x5e8598=new _0x5295f3(this[_0x145946(0x117)]),_0x48107d=new _0x43f908(this[_0x145946(0x117)]),_0x288ae6=_0x48107d[_0x145946(0xc3)],{view:_0x307804,highlightView:_0x5c3e69}=this[_0x145946(0x12d)](_0x151331,_0xb1bf83),{view:_0x57e7f5,highlightView:_0xff4431}=this[_0x145946(0x113)](_0x5dcbfe[_0x145946(0xf4)]),_0x1b1a0b=this[_0x145946(0xe6)](_0x307804,_0x57e7f5);return _0x48107d[_0x145946(0xb6)]({'label':_0x5dcbfe[_0x145946(0xf4)],'withText':!0x0,'role':_0x145946(0x133),'class':_0x145946(0xef),'tooltip':!0x1}),_0x48107d[_0x145946(0x125)]({'tag':_0x145946(0xb7),'attributes':{'class':['ck',_0x145946(0xbc),_0x145946(0xc2),_0x145946(0x103),_0x145946(0xf1),_0x145946(0x10e)],'type':_0x145946(0xb7),'role':_0x145946(0x133),'tabindex':'-1'},'children':[_0x1b1a0b],'on':{'mouseenter':_0x288ae6['to'](()=>{const _0x45964d=_0x145946;this[_0x45964d(0xc8)]()||_0x48107d[_0x45964d(0x11b)]();}),'click':_0x288ae6['to'](()=>{const _0x4ef8ba=_0x145946;this[_0x4ef8ba(0xec)](_0x48107d);})}}),this[_0x145946(0x118)](_0x48107d,_0x5d7910,_0x5dcbfe),_0x5e8598[_0x145946(0xd6)][_0x145946(0xc6)](_0x48107d),{'listItem':_0x5e8598,'highlightViews':[_0x5c3e69,_0xff4431]};}[_0x29cb80(0x106)](_0x33689e,_0x27ee05){const _0x24f87f=_0x29cb80,_0x3483d5=new _0x5295f3(this[_0x24f87f(0x117)]),_0x28e48f=new _0x589440(),_0x5c6c5b=new _0x43f908(this[_0x24f87f(0x117)],_0x28e48f),_0x4c449a=_0x5c6c5b[_0x24f87f(0xc3)];return _0x5c6c5b[_0x24f87f(0xb6)]({'label':_0x27ee05[_0x24f87f(0xf4)],'withText':!0x0,'role':_0x24f87f(0x133),'icon':void 0x0,'tooltip':!0x1,'class':_0x24f87f(0x134)}),_0x5c6c5b[_0x24f87f(0xc0)]({'on':{'mouseenter':_0x4c449a['to'](()=>{const _0x4ef800=_0x24f87f;this[_0x4ef800(0xc8)]()||_0x5c6c5b[_0x4ef800(0x11b)]();})}}),this[_0x24f87f(0x118)](_0x5c6c5b,_0x33689e,_0x27ee05),_0x3483d5[_0x24f87f(0xd6)][_0x24f87f(0xc6)](_0x5c6c5b),{'listItem':_0x3483d5,'highlightViews':[_0x28e48f]};}[_0x29cb80(0x12d)](_0x125877,_0x5ebfee){const _0x5b2a4c=_0x29cb80,_0x4fbb91=new _0x3aea7b(this[_0x5b2a4c(0x117)]),_0x2a92da=new _0x20e5a3();_0x2a92da[_0x5b2a4c(0x10b)]=_0x5ebfee,_0x2a92da[_0x5b2a4c(0xc0)]({'attributes':{'class':_0x5b2a4c(0xd3)}});const _0xe4dc69=new _0x20d0fb();return _0xe4dc69[_0x5b2a4c(0x128)]=_0x125877,_0x4fbb91[_0x5b2a4c(0x125)]({'tag':_0x5b2a4c(0xf7),'attributes':{'class':_0x5b2a4c(0xb3)},'children':[_0x2a92da,_0xe4dc69]}),{'view':_0x4fbb91,'highlightView':_0xe4dc69};}[_0x29cb80(0x113)](_0x37c737){const _0x5ec9ca=_0x29cb80,_0x568a9b=new _0x3aea7b(this[_0x5ec9ca(0x117)]),_0x1159df=new _0x20d0fb();return _0x1159df[_0x5ec9ca(0x128)]=_0x37c737,_0x568a9b[_0x5ec9ca(0x125)]({'tag':_0x5ec9ca(0xf7),'attributes':{'class':_0x5ec9ca(0xf3)},'children':[_0x1159df]}),{'view':_0x568a9b,'highlightView':_0x1159df};}[_0x29cb80(0xe6)](_0x4ae730,_0xf01345){const _0xf3fd2e=_0x29cb80,_0x536008=new _0x3aea7b(this[_0xf3fd2e(0x117)]);return _0x536008[_0xf3fd2e(0x125)]({'tag':_0xf3fd2e(0xf7),'attributes':{'class':_0xf3fd2e(0x121)},'children':[_0x4ae730,_0xf01345]}),_0x536008;}[_0x29cb80(0x118)](_0x4d65fe,_0x496842,_0x104b86){const _0x2adf52=_0x29cb80;_0x4d65fe['on'](_0x2adf52(0x124),()=>{const _0x251f9d=_0x2adf52;_0x496842[_0x251f9d(0xcc)][_0x251f9d(0x100)][_0x251f9d(0x11b)](),_0x496842[_0x251f9d(0x102)][_0x251f9d(0x124)](_0x251f9d(0xfa),_0x104b86);});}[_0x29cb80(0xdf)](_0x586015,_0x31bc81,_0x5778dd){const _0xf17689=_0x29cb80,_0x3f26dd=new _0x5295f3(this[_0xf17689(0x117)]),_0x8fca4a=new _0x589440(),_0x1f6776=new _0x2a1080(this[_0xf17689(0x117)],_0x8fca4a),_0x343930=_0x1f6776[_0xf17689(0xc3)],_0x3846af=this[_0xf17689(0xde)](_0x5778dd),_0x48b690=this[_0xf17689(0xeb)](_0x586015,_0x31bc81[_0xf17689(0x131)],_0x5778dd);_0x1f6776[_0xf17689(0xb6)]({'label':_0x31bc81[_0xf17689(0xba)],'withText':!0x0,'role':Ss,'icon':_0x31bc81[_0xf17689(0x130)]??_0xec60d9,'isEnabled':_0x31bc81[_0xf17689(0x131)][_0xf17689(0x104)](_0x3da0a0=>_0x3da0a0[_0xf17689(0xfe)])}),_0x1f6776[_0xf17689(0xc0)]({'on':{'mouseenter':_0x343930['to'](()=>{const _0x226106=_0xf17689;this[_0x226106(0xc8)]()||_0x1f6776[_0x226106(0x11b)]();})}});const _0x100f85=new _0x56bb0d(this[_0xf17689(0x117)]);return _0x100f85[_0xf17689(0xc0)]({'attributes':{'class':['ck',_0xf17689(0xbd),_0xf17689(0x138),_0xf17689(0xdc)]},'on':{'keydown':_0x343930['to'](_0x5198ef=>{const _0xb86775=_0xf17689;this[_0xb86775(0x112)](_0x5198ef,_0x3846af,_0x1f6776,_0x100f85);})}}),_0x1f6776[_0xf17689(0x10c)](_0xf17689(0xb8))['to'](_0x100f85,_0xf17689(0xe9)),this[_0xf17689(0x132)][_0xf17689(0xc6)](_0x100f85),_0x100f85[_0xf17689(0x10b)][_0xf17689(0xc6)](_0x48b690),this[_0xf17689(0x115)](_0x1f6776,_0x100f85),_0x3f26dd[_0xf17689(0xd6)][_0xf17689(0xc6)](_0x1f6776),{'listItem':_0x3f26dd,'highlightView':_0x8fca4a};}[_0x29cb80(0xeb)](_0x3bd719,_0x1af3d5,_0x82f704){const _0x42eb11=_0x29cb80,_0xf9ee38=new _0x497cd3(this[_0x42eb11(0x117)]);return _0xf9ee38[_0x42eb11(0xc0)]({'attributes':{'class':['ck',_0x42eb11(0xbd),_0x42eb11(0x116),_0x42eb11(0xfc)]}}),_0x1af3d5[_0x42eb11(0xd8)](_0x39e3da=>{const _0xc6706c=_0x42eb11,_0x4c5f2d=new _0x5295f3(this[_0xc6706c(0x117)]),_0x5101db=_0x3a440a({'editor':_0x3bd719,'action':_0x39e3da,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0xc6706c(0xc8)]()})();_0x4c5f2d[_0xc6706c(0xd6)][_0xc6706c(0xc6)](_0x5101db),_0x82f704[_0xc6706c(0xc4)][_0xc6706c(0xc6)](_0x5101db),_0xf9ee38[_0xc6706c(0xe5)][_0xc6706c(0xc6)](_0x4c5f2d);}),_0xf9ee38;}[_0x29cb80(0x115)](_0x5249c4,_0x4a909c){const _0x416bc6=_0x29cb80,_0x576447=_0x5249c4[_0x416bc6(0xc3)],_0x8a40e8=this[_0x416bc6(0xcb)](_0x5249c4);_0x5249c4[_0x416bc6(0xc0)]({'attributes':{'class':[_0x416bc6(0xd2)]},'on':{'mouseenter':_0x576447['to'](()=>{const _0x4c7aa9=_0x416bc6;this[_0x4c7aa9(0xb4)](_0x4a909c,_0x5249c4);}),'mouseleave':_0x576447['to'](_0xee0ce=>{const _0x2e9e34=_0x416bc6,_0x259879=_0xee0ce[_0x2e9e34(0x12f)];this[_0x2e9e34(0xe2)](_0x259879,_0x4a909c)||this[_0x2e9e34(0xb9)](_0x4a909c);}),'keydown':_0x576447['to'](_0x5f2689=>{const _0x44c13b=_0x416bc6;_0x5f2689[_0x44c13b(0xf5)]==_0x8a40e8&&(this[_0x44c13b(0xb4)](_0x4a909c,_0x5249c4),_0x4a909c[_0x44c13b(0x10b)][_0x44c13b(0x126)](0x0)[_0x44c13b(0x11b)]());})}}),_0x4a909c['on'](_0x416bc6(0xc5),()=>{const _0x2354b1=_0x416bc6;_0x4a909c[_0x2354b1(0xc7)]?.[_0x2354b1(0x137)](_0x2354b1(0x139),_0x4f44cc=>{const _0x20da3e=_0x2354b1,_0x4a672c=_0x4f44cc[_0x20da3e(0x12f)];_0x5249c4[_0x20da3e(0xc7)]?.[_0x20da3e(0xe7)](_0x4a672c)||this[_0x20da3e(0xe2)](_0x4a672c,_0x4a909c)||this[_0x20da3e(0xb9)](_0x4a909c);});});}[_0x29cb80(0xb4)](_0x21f41a,_0x1b70e5){const _0x5f2c43=_0x29cb80;this[_0x5f2c43(0x10a)][_0x5f2c43(0xd8)](_0x4901de=>{const _0x1390fb=_0x5f2c43;_0x4901de!==_0x21f41a&&_0x4901de[_0x1390fb(0xe9)]&&_0x4901de[_0x1390fb(0xe0)]();}),_0x21f41a[_0x5f2c43(0x136)](),_0x21f41a[_0x5f2c43(0xb5)]({'positions':[_0x3f4a85[_0x5f2c43(0xd4)]],'target':_0x1b70e5[_0x5f2c43(0xc7)],'fitInViewport':!0x0}),this[_0x5f2c43(0x10a)][_0x5f2c43(0xc6)](_0x21f41a);}[_0x29cb80(0xb9)](_0x18fed1){const _0x3fbfd4=_0x29cb80;_0x18fed1[_0x3fbfd4(0xe0)](),this[_0x3fbfd4(0x10a)][_0x3fbfd4(0xd1)](_0x18fed1);}[_0x29cb80(0xe1)](){const _0xa518a9=_0x29cb80;this[_0xa518a9(0x10a)][_0xa518a9(0xd8)](_0x319180=>_0x319180[_0xa518a9(0xe0)]()),this[_0xa518a9(0x10a)][_0xa518a9(0xf6)]();}[_0x29cb80(0xe2)](_0x41c69d,_0x1032ec){const _0x200682=_0x29cb80;if(!_0x41c69d)return!0x1;if(_0x1032ec[_0x200682(0xc7)]?.[_0x200682(0xe7)](_0x41c69d))return!0x0;const _0x32dfc5=_0x41c69d;return _0x32dfc5[_0x200682(0x12c)]&&(null!==_0x32dfc5[_0x200682(0x12c)](_0x200682(0x11a))||null!==_0x32dfc5[_0x200682(0x12c)](_0x200682(0x101))||null!==_0x32dfc5[_0x200682(0x12c)](_0x200682(0x129)));}[_0x29cb80(0x114)](){const _0x1423ed=_0x29cb80;this[_0x1423ed(0x119)]&&this[_0x1423ed(0x119)][_0x1423ed(0x109)]();}[_0x29cb80(0x123)](){const _0x5e24a4=_0x29cb80;this[_0x5e24a4(0xe1)](),this[_0x5e24a4(0x132)][_0x5e24a4(0xfb)](),super[_0x5e24a4(0x123)]();}[_0x29cb80(0x11b)](){const _0x28a8f9=_0x29cb80;this[_0x28a8f9(0x119)]?this[_0x28a8f9(0x119)][_0x28a8f9(0x11b)]():this[_0x28a8f9(0x107)][_0x28a8f9(0x11b)]();}[_0x29cb80(0xde)](_0x4b3930){const _0x5f529a=_0x29cb80;return _0x5f529a(0xda)===_0x4b3930[_0x5f529a(0x117)][_0x5f529a(0x122)]?_0x5f529a(0xf9):_0x5f529a(0xe3);}[_0x29cb80(0xcb)](_0x42034e){const _0x34701b=_0x29cb80;return _0x34701b(0xda)===_0x42034e[_0x34701b(0x117)][_0x34701b(0x122)]?_0x34701b(0xe3):_0x34701b(0xf9);}[_0x29cb80(0x112)](_0x22c11c,_0x2ec873,_0x190591,_0xfdd74f){const _0x53761d=_0x29cb80;_0x22c11c[_0x53761d(0xf5)]==_0x2ec873&&(_0x190591[_0x53761d(0x11b)](),this[_0x53761d(0xb9)](_0xfdd74f));}[_0x29cb80(0xec)](_0x5a7b1a){const _0x835e8c=_0x29cb80;_0x5a7b1a[_0x835e8c(0xdd)](_0x835e8c(0x124));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1a0163,_0x43dc05){const _0x53c6dc=_0x3ed2,_0x573a55=_0x1a0163();while(!![]){try{const _0x452262=parseInt(_0x53c6dc(0x161))/0x1*(-parseInt(_0x53c6dc(0x157))/0x2)+-parseInt(_0x53c6dc(0x14d))/0x3*(parseInt(_0x53c6dc(0x162))/0x4)+parseInt(_0x53c6dc(0x165))/0x5*(parseInt(_0x53c6dc(0x14c))/0x6)+parseInt(_0x53c6dc(0x155))/0x7+-parseInt(_0x53c6dc(0x15d))/0x8*(-parseInt(_0x53c6dc(0x160))/0x9)+parseInt(_0x53c6dc(0x15e))/0xa*(-parseInt(_0x53c6dc(0x169))/0xb)+parseInt(_0x53c6dc(0x151))/0xc*(parseInt(_0x53c6dc(0x16f))/0xd);if(_0x452262===_0x43dc05)break;else _0x573a55['push'](_0x573a55['shift']());}catch(_0x5084c0){_0x573a55['push'](_0x573a55['shift']());}}}(_0x153e,0xeb58d));function _0x153e(){const _0x4a6fc5=['buttonView','change:isOpen','ai-quick-actions-dropdown-selection','1429134PznHWq','AIEditing','426606raKQHC','set','add','children','ck-ai-quick-actions-dropdown','label','61784zZRTcv','20beHwqo','from','54fOVVBl','9oofdFT','60648KIkYza','model','showFakeVisualSelection','14335txzAQr','selection','resetSearch','panelView','2673759gMCWTU','getRanges','length','icon','has','document','429LaDLwY','locale','3906yaNmcg','168sGVPzo','hideFakeVisualSelection','get','plugins','764364hOHOZl'];_0x153e=function(){return _0x4a6fc5;};return _0x153e();}import{createDropdown as _0x5c25de}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4cea92}from'@ckeditor/ckeditor5-icons';function _0x3ed2(_0x5967f7,_0x501428){const _0x153eac=_0x153e();return _0x3ed2=function(_0x3ed2d6,_0x538073){_0x3ed2d6=_0x3ed2d6-0x14c;let _0x3eaedf=_0x153eac[_0x3ed2d6];return _0x3eaedf;},_0x3ed2(_0x5967f7,_0x501428);}import{AIQuickActionsDropdownContentView as _0x2565aa}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x182bc8}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x53e94a){const {editor:_0x505b5d,content:_0x1d36dc,buttonDefinition:_0x5b06fd,bodyCollection:_0x15e333,hasSearch:_0x2cc26a=!0x1}=_0x53e94a;return()=>{const _0x5ab8c7=_0x3ed2,_0x48bee4=_0x505b5d[_0x5ab8c7(0x170)],_0x5187aa=_0x5c25de(_0x48bee4);_0x5187aa[_0x5ab8c7(0x152)][_0x5ab8c7(0x158)]({'icon':_0x5b06fd[_0x5ab8c7(0x16c)]??_0x4cea92,'label':_0x5b06fd[_0x5ab8c7(0x15c)],'tooltip':!0x0}),_0x5187aa[_0x5ab8c7(0x158)]({'class':_0x5ab8c7(0x15b)});const _0x4e772f=new _0x2565aa(_0x505b5d,_0x1d36dc,_0x5187aa,_0x15e333,_0x2cc26a);if(_0x5187aa[_0x5ab8c7(0x168)][_0x5ab8c7(0x15a)][_0x5ab8c7(0x159)](_0x4e772f),_0x2cc26a){const _0x2ab809=_0x5ab8c7(0x154);_0x5187aa['on'](_0x5ab8c7(0x153),(_0x51558c,_0x2f3af8,_0x78f390)=>{const _0x2bae45=_0x5ab8c7;if(_0x78f390){if(_0x505b5d[_0x2bae45(0x150)][_0x2bae45(0x16d)](_0x2bae45(0x156))){const _0x986bf9=_0x505b5d[_0x2bae45(0x150)][_0x2bae45(0x14f)](_0x182bc8),_0x522317=_0x505b5d[_0x2bae45(0x163)][_0x2bae45(0x16e)][_0x2bae45(0x166)],_0x5f4d29=Array[_0x2bae45(0x15f)](_0x522317[_0x2bae45(0x16a)]());_0x5f4d29[_0x2bae45(0x16b)]>0x0&&_0x986bf9[_0x2bae45(0x164)](_0x5f4d29,_0x2ab809,!0x1,!0x0);}}else _0x505b5d[_0x2bae45(0x150)][_0x2bae45(0x16d)](_0x2bae45(0x156))&&_0x505b5d[_0x2bae45(0x150)][_0x2bae45(0x14f)](_0x182bc8)[_0x2bae45(0x14e)](_0x2ab809),_0x4e772f[_0x2bae45(0x167)]();});}return _0x5187aa;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4eb329=_0x415c;(function(_0xe1ab17,_0x2d6090){const _0x5374e8=_0x415c,_0x326676=_0xe1ab17();while(!![]){try{const _0x1f1b31=-parseInt(_0x5374e8(0x171))/0x1*(parseInt(_0x5374e8(0x17d))/0x2)+parseInt(_0x5374e8(0x17c))/0x3+-parseInt(_0x5374e8(0x17a))/0x4+parseInt(_0x5374e8(0x16b))/0x5+parseInt(_0x5374e8(0x164))/0x6*(parseInt(_0x5374e8(0x16f))/0x7)+parseInt(_0x5374e8(0x174))/0x8+parseInt(_0x5374e8(0x172))/0x9;if(_0x1f1b31===_0x2d6090)break;else _0x326676['push'](_0x326676['shift']());}catch(_0x9e38b4){_0x326676['push'](_0x326676['shift']());}}}(_0x3d6b,0x96b40));import{ListView as _0x4aa17d}from'ckeditor5/src/ui.js';function _0x3d6b(){const _0x551317=['highlightText','trim','filter','6XamRqO','function','forEach','item','addMany','toLowerCase','label','2709885jtxAFl','sort','length','_clearHighlight','5332313TTlSnI','items','148706HNSIGF','6164064dEXbCc','groupLabel','2351112hHCvHj','_highlightQuery','_allSearchableItems','source','includes','_allListItems','2651380Gtczoa','highlightViews','561756dCyybe','16neYBzA','clear','map'];_0x3d6b=function(){return _0x551317;};return _0x3d6b();}import{escapeRegExp as _0x4f6531}from'es-toolkit/compat';function _0x415c(_0x195a55,_0x1248bf){const _0x3d6bc9=_0x3d6b();return _0x415c=function(_0x415c2e,_0x1ac212){_0x415c2e=_0x415c2e-0x15f;let _0x522411=_0x3d6bc9[_0x415c2e];return _0x522411;},_0x415c(_0x195a55,_0x1248bf);}export class AIQuickActionsFilteredListView extends _0x4aa17d{[_0x4eb329(0x179)];[_0x4eb329(0x176)];constructor(_0x1734ce,_0x548759,_0x27bde3){const _0x1eb557=_0x4eb329;super(_0x1734ce),this[_0x1eb557(0x179)]=_0x548759,this[_0x1eb557(0x176)]=_0x27bde3;}[_0x4eb329(0x163)](_0x1916e9){const _0x2ebf1e=_0x4eb329;if(!_0x1916e9)return this[_0x2ebf1e(0x170)][_0x2ebf1e(0x15f)](),this[_0x2ebf1e(0x170)][_0x2ebf1e(0x168)](this[_0x2ebf1e(0x179)]),this[_0x2ebf1e(0x16e)](),{'resultsCount':this[_0x2ebf1e(0x179)][_0x2ebf1e(0x16d)],'totalItemsCount':this[_0x2ebf1e(0x179)][_0x2ebf1e(0x16d)]};const _0x410d6e=_0x1916e9[_0x2ebf1e(0x177)][_0x2ebf1e(0x169)]()[_0x2ebf1e(0x162)](),_0x327f81=this[_0x2ebf1e(0x176)][_0x2ebf1e(0x163)](_0x51224a=>(_0x51224a[_0x2ebf1e(0x173)]?_0x51224a[_0x2ebf1e(0x16a)]+'\x20('+_0x51224a[_0x2ebf1e(0x173)]+')':_0x51224a[_0x2ebf1e(0x16a)])[_0x2ebf1e(0x169)]()[_0x2ebf1e(0x178)](_0x410d6e));return this[_0x2ebf1e(0x170)][_0x2ebf1e(0x15f)](),this[_0x2ebf1e(0x170)][_0x2ebf1e(0x168)](_0x327f81[_0x2ebf1e(0x16c)]((_0x53a926,_0x39a1ea)=>{const _0x319c27=_0x2ebf1e,_0x1cb0c2=_0x53a926[_0x319c27(0x173)],_0x2b6410=_0x39a1ea[_0x319c27(0x173)];return _0x1cb0c2||_0x2b6410?_0x1cb0c2?0x1:-0x1:0x0;})[_0x2ebf1e(0x160)](_0x187211=>_0x187211[_0x2ebf1e(0x167)])),this[_0x2ebf1e(0x175)](_0x410d6e,_0x327f81),{'resultsCount':_0x327f81[_0x2ebf1e(0x16d)],'totalItemsCount':this[_0x2ebf1e(0x176)][_0x2ebf1e(0x16d)]};}[_0x4eb329(0x175)](_0x1a22a1,_0x3200a2){const _0x388c9e=_0x4eb329;if(!_0x1a22a1)return;const _0x18e5cc=new RegExp(_0x4f6531(_0x1a22a1),'gi');_0x3200a2[_0x388c9e(0x166)](_0x2f279f=>{const _0x348a72=_0x388c9e;_0x2f279f[_0x348a72(0x17b)]&&_0x2f279f[_0x348a72(0x17b)][_0x348a72(0x166)](_0x273262=>{const _0x58b651=_0x348a72;_0x58b651(0x165)==typeof _0x273262[_0x58b651(0x161)]&&_0x273262[_0x58b651(0x161)](_0x18e5cc);});});}[_0x4eb329(0x16e)](){const _0xa7a51a=_0x4eb329;this[_0xa7a51a(0x176)][_0xa7a51a(0x166)](_0x315f8a=>{const _0x5d9653=_0xa7a51a;_0x315f8a[_0x5d9653(0x17b)]&&_0x315f8a[_0x5d9653(0x17b)][_0x5d9653(0x166)](_0x58f798=>{const _0x1abb48=_0x5d9653;_0x1abb48(0x165)==typeof _0x58f798[_0x1abb48(0x161)]&&_0x58f798[_0x1abb48(0x161)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5a55(_0x559e48,_0x4a9277){const _0x314a5f=_0x314a();return _0x5a55=function(_0x5a55e3,_0x147491){_0x5a55e3=_0x5a55e3-0xc5;let _0x242a63=_0x314a5f[_0x5a55e3];return _0x242a63;},_0x5a55(_0x559e48,_0x4a9277);}const _0x2f155b=_0x5a55;(function(_0x3a53a6,_0x3765ad){const _0x26c33c=_0x5a55,_0x19d431=_0x3a53a6();while(!![]){try{const _0x828a08=-parseInt(_0x26c33c(0xd1))/0x1*(-parseInt(_0x26c33c(0xca))/0x2)+parseInt(_0x26c33c(0xdb))/0x3+-parseInt(_0x26c33c(0xc7))/0x4*(-parseInt(_0x26c33c(0xcf))/0x5)+-parseInt(_0x26c33c(0xd7))/0x6+parseInt(_0x26c33c(0xdc))/0x7+parseInt(_0x26c33c(0xc5))/0x8*(-parseInt(_0x26c33c(0xd2))/0x9)+-parseInt(_0x26c33c(0xc8))/0xa*(parseInt(_0x26c33c(0xd9))/0xb);if(_0x828a08===_0x3765ad)break;else _0x19d431['push'](_0x19d431['shift']());}catch(_0x5b90ec){_0x19d431['push'](_0x19d431['shift']());}}}(_0x314a,0x5af2a));import{IconView as _0x98f318,ListItemButtonView as _0x42034b}from'ckeditor5/src/ui.js';function _0x314a(){const _0x5a7a28=['4620847CkazPY','children','14488bNXQjC','set','240728ubhNUm','182150mKuhLz','_createArrowView','187268FIBmno','content','render','add','arrowView','15yTfrrx','menuitem','6djKJZm','3627UfyPQk','ck-dropdown-menu-list__nested-menu__button__arrow','extendTemplate','mouseenter','bindTemplate','1661490fKWCUb','isOn','143giXsPG','ck-dropdown-menu-list__nested-menu__button','640782wZSSON'];_0x314a=function(){return _0x5a7a28;};return _0x314a();}import{IconDropdownArrow as _0x28a8c0}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x42034b{[_0x2f155b(0xce)];constructor(_0x4c3b79,_0x796055){const _0x48ac11=_0x2f155b;super(_0x4c3b79,_0x796055);const _0x34c703=this[_0x48ac11(0xd6)];this[_0x48ac11(0xc6)]({'withText':!0x0,'role':_0x48ac11(0xd0)}),this[_0x48ac11(0xce)]=this[_0x48ac11(0xc9)](),this[_0x48ac11(0xd4)]({'attributes':{'class':[_0x48ac11(0xda)],'aria-haspopup':!0x0,'aria-expanded':this[_0x48ac11(0xd6)]['to'](_0x48ac11(0xd8),_0x16a0d1=>String(_0x16a0d1)),'data-cke-tooltip-disabled':_0x34c703['to'](_0x48ac11(0xd8))},'on':{'mouseenter':_0x34c703['to'](_0x48ac11(0xd5))}});}[_0x2f155b(0xcc)](){const _0x48c4ca=_0x2f155b;super[_0x48c4ca(0xcc)](),this[_0x48c4ca(0xdd)][_0x48c4ca(0xcd)](this[_0x48c4ca(0xce)]);}[_0x2f155b(0xc9)](){const _0x566586=_0x2f155b,_0xebb020=new _0x98f318();return _0xebb020[_0x566586(0xcb)]=_0x28a8c0,_0xebb020[_0x566586(0xd4)]({'attributes':{'class':_0x566586(0xd3)}}),_0xebb020;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x41cad2=_0x13c0;(function(_0x635eb6,_0x302603){var _0x312e46=_0x13c0,_0x1cb043=_0x635eb6();while(!![]){try{var _0x3adc2c=-parseInt(_0x312e46(0xdc))/0x1*(parseInt(_0x312e46(0xdb))/0x2)+-parseInt(_0x312e46(0xe1))/0x3*(-parseInt(_0x312e46(0xe4))/0x4)+parseInt(_0x312e46(0xe0))/0x5+parseInt(_0x312e46(0xe3))/0x6*(-parseInt(_0x312e46(0xd9))/0x7)+-parseInt(_0x312e46(0xe8))/0x8*(parseInt(_0x312e46(0xe6))/0x9)+parseInt(_0x312e46(0xe7))/0xa+parseInt(_0x312e46(0xe5))/0xb*(parseInt(_0x312e46(0xdf))/0xc);if(_0x3adc2c===_0x302603)break;else _0x1cb043['push'](_0x1cb043['shift']());}catch(_0x26e3a4){_0x1cb043['push'](_0x1cb043['shift']());}}}(_0x39bd,0xf0185));function _0x13c0(_0x1e3d8d,_0x16361d){var _0x39bd11=_0x39bd();return _0x13c0=function(_0x13c011,_0x1898d8){_0x13c011=_0x13c011-0xd9;var _0x3e391f=_0x39bd11[_0x13c011];return _0x3e391f;},_0x13c0(_0x1e3d8d,_0x16361d);}import{ContextPlugin as _0x1d5112}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4c52c5}from'./aireviewmodecontroller.js';function _0x39bd(){var _0x2a2b10=['8728frAOyE','200puzMlT','isOfficialPlugin','pluginName','24EKKkfG','7462990IvDfsu','3MRLxhw','AIReviewMode','6klKamM','6943292iHvQCC','4089558UAbeHD','6650442ySykme','5720060pCXgxF','16OGXTgl','requires','8469146AFTWtq','isPremiumPlugin'];_0x39bd=function(){return _0x2a2b10;};return _0x39bd();}import{AIReviewModeUI as _0x4591c4}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x382f2e}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x1d5112{static get[_0x41cad2(0xe9)](){return[_0x4c52c5,_0x4591c4,_0x382f2e];}static get[_0x41cad2(0xde)](){var _0x16c5c8=_0x41cad2;return _0x16c5c8(0xe2);}static get[_0x41cad2(0xdd)](){return!0x0;}static get[_0x41cad2(0xda)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x38a0f8=_0x4e02;(function(_0x236731,_0xd57bd9){const _0x2d17bc=_0x4e02,_0x5a3719=_0x236731();while(!![]){try{const _0x57681b=parseInt(_0x2d17bc(0x1c2))/0x1*(-parseInt(_0x2d17bc(0x124))/0x2)+-parseInt(_0x2d17bc(0x118))/0x3*(-parseInt(_0x2d17bc(0x157))/0x4)+parseInt(_0x2d17bc(0x197))/0x5+parseInt(_0x2d17bc(0x1a9))/0x6*(parseInt(_0x2d17bc(0x159))/0x7)+parseInt(_0x2d17bc(0x15b))/0x8+-parseInt(_0x2d17bc(0x1be))/0x9*(-parseInt(_0x2d17bc(0x1cc))/0xa)+-parseInt(_0x2d17bc(0x19c))/0xb*(parseInt(_0x2d17bc(0x1ab))/0xc);if(_0x57681b===_0xd57bd9)break;else _0x5a3719['push'](_0x5a3719['shift']());}catch(_0x3189f3){_0x5a3719['push'](_0x5a3719['shift']());}}}(_0x4a14,0x25038));import{ContextPlugin as _0x4dfea3}from'ckeditor5/src/core.js';function _0x4e02(_0x57088c,_0x29fe5b){const _0x4a1429=_0x4a14();return _0x4e02=function(_0x4e0225,_0x12b5a6){_0x4e0225=_0x4e0225-0x116;let _0x94d364=_0x4a1429[_0x4e0225];return _0x94d364;},_0x4e02(_0x57088c,_0x29fe5b);}import{CKEditorError as _0x3c944c,logError as _0x21e434,scrollAncestorsToShowTarget as _0x5120ce,scrollViewportToShowTarget as _0x376c6f}from'ckeditor5/src/utils.js';import{AIConnector as _0x4749a1}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x527a38}from'./model/aireviewchecklist.js';function _0x4a14(){const _0x494588=['domEvent','leaveReviewModeResultList','status','hover','restart','changeMarkerRemoved','translate','_onReviewModeRunLeave','getReviewCheckList','options','content','removeCheckById','retryReview','requires','replaceAll','changes','unmodified','args','emitter','_TITLE','domElement','AIReviewModeEditing','ai-review-mode-check-run-failed','ai.reviewMode.translations','diffContent','viewportOffset','markChangeAsRejected','reviewCheckResultReady','getActiveChanges','markChangeAsAccepted','showGeneralReviewModeErrorView','showCheckRunResults','setActiveStateInResults','custom','setAvailableChecks','dismissChange','_isDiffOn','showCheckRunResult','markerElement','find','runReviewCheck','reviewCheckResultDeactivated','start','data','getChangeElement','AI_REVIEW_CHECK_','acceptAllChanges','.ck-ai-review-mode__check-run-result','showReviewCompletedView','forceReadyState','_aiConnector','reviewCheckResultChangeStatusUpdated','title','locale','_aiReviewCheckList','ai-review-mode-models-unable-to-retrieve','markChangeAsPending','checks','markAllChangesAsAccepted','753955ihlCdI','editing','documentData','finishReview','changeId','3182685fNDBon','AIReviewModeUI','click','config','sendRating','getMarkerElementForChange','_currentReviewCheckRun','updateDocumentData','reviewCheckResultActivated','models','change','params','view','202422gDrrsx','prompt','12aSrClg','toUpperCase','_OPTIONS_DATA_','showChunkErrorView','abort','getDocumentData','ck-ai-review-mode-highlights','_logError','switchToEdit','applyChange','clearAllMarkers','_changeActivationSource','pluginName','ai-review-mode-check-run-chunk-error','ai-request-aborted','startsWith','getEditor','_OPTIONS_LABEL','context','126387TTFAfB','addClass','document','removeClass','61JyXeGe','changeMarkerBlurred','subTitle','showChangeBalloon','contentNew','hasModifications','error-general','map','showReviewCheckList','activateChange','50GARajr','addResultChanges','model','_onDiffChange','getRoot','rejectChange','AIReviewModeController','3kyowBq','panel','showGeneralResultsErrorView','ck-ai-review-mode-diff','result','changeMarkerRestored','contentInitial','abortReviewStream','setCheckResultTitle','isAnyChangeActivated','getDomRoot','isCustom','9094ISGFnd','reviewCheckRunUpdated','showActionsWhenResultIsReady','length','getAll','isPremiumPlugin','finished','switchToReadOnly','ai-review-mode-check-run-general-error','processedResultsCount','showDiffInBalloon','ai-review-mode-source-check-not-found','_DESCRIPTION','get','leaveReviewMode','_aiReviewModeUi','hideDiffInBalloon','init','resetActiveStateInResults','_aiReviewModeEditing','changeMarkerClick','closest','AIConnector','_translateReviewChecks','deactivateChange','ready','_getTranslationWithDefault','getChangeById','ai-review-mode-no-current-check-run','markChangeAsOutdated','loading','markChangePositionInEditorContent','currentError','includes','toggleDiff','reviewCheckResultAdded','description','stopListening','changeMarkerHovered','updateChangeState','error-chunk','plugins','getCheckById','message','listenTo','label','showNoChangesView','acceptChange','hideChangeBalloon','aborted','isOfficialPlugin','1185116MohOYw','isChangeActive','35zqnebh','source','258720CknHwO'];_0x4a14=function(){return _0x494588;};return _0x4a14();}import{AIReviewSystemCheckRun as _0x10dca5}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x29e316}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x1812cc}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x3b926e}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x123166}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x4dfea3{[_0x38a0f8(0x18e)];[_0x38a0f8(0x133)];[_0x38a0f8(0x137)];[_0x38a0f8(0x192)];[_0x38a0f8(0x1a2)];[_0x38a0f8(0x180)]=!0x1;[_0x38a0f8(0x1b6)]=null;static get[_0x38a0f8(0x169)](){return[_0x4749a1];}static get[_0x38a0f8(0x1b7)](){const _0x1ecc58=_0x38a0f8;return _0x1ecc58(0x117);}static get[_0x38a0f8(0x156)](){return!0x0;}static get[_0x38a0f8(0x129)](){return!0x0;}async[_0x38a0f8(0x135)](){const _0x125b54=_0x38a0f8;this[_0x125b54(0x18e)]=this[_0x125b54(0x1bd)][_0x125b54(0x14d)][_0x125b54(0x131)](_0x125b54(0x13a)),this[_0x125b54(0x133)]=this[_0x125b54(0x1bd)][_0x125b54(0x14d)][_0x125b54(0x131)](_0x125b54(0x19d)),this[_0x125b54(0x137)]=this[_0x125b54(0x1bd)][_0x125b54(0x14d)][_0x125b54(0x131)](_0x125b54(0x171));const _0x37d6c6=this[_0x125b54(0x1bd)][_0x125b54(0x19f)][_0x125b54(0x131)](_0x125b54(0x173));if(_0x37d6c6){for(const _0x512168 of _0x3b926e)_0x125b54(0x162)===_0x512168['id']&&(_0x512168[_0x125b54(0x165)][0x0][_0x125b54(0x187)]=_0x37d6c6);}const _0x435583=this[_0x125b54(0x13b)](_0x3b926e);this[_0x125b54(0x192)]=new _0x527a38(_0x435583);const _0x569f04=this[_0x125b54(0x192)][_0x125b54(0x195)][_0x125b54(0x183)](_0x4e8d98=>_0x125b54(0x17d)===_0x4e8d98['id']);if(_0x569f04)try{_0x569f04[_0x125b54(0x1a5)]=await new _0x1812cc({'connector':this[_0x125b54(0x18e)],'locale':this[_0x125b54(0x1bd)][_0x125b54(0x191)]})[_0x125b54(0x128)]();}catch(_0x22f420){this[_0x125b54(0x192)][_0x125b54(0x167)](_0x125b54(0x17d)),this[_0x125b54(0x1b2)](new _0x3c944c(_0x125b54(0x193),this,{'error':_0x22f420}));}this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x164),()=>{const _0x3fd04b=_0x125b54;this[_0x3fd04b(0x133)][_0x3fd04b(0x17e)](this[_0x3fd04b(0x192)][_0x3fd04b(0x195)]);}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x184),async(_0x47daa5,_0x1442ba)=>{const _0xbbdfd7=_0x125b54,_0x4f36e5=this[_0xbbdfd7(0x192)][_0xbbdfd7(0x14e)](_0x1442ba['id']);if(_0x4f36e5){this[_0xbbdfd7(0x1cf)](this[_0xbbdfd7(0x180)]),_0x1442ba[_0xbbdfd7(0x123)]?this[_0xbbdfd7(0x1a2)]=new _0x29e316(_0x1442ba[_0xbbdfd7(0x16d)][_0xbbdfd7(0x1aa)],_0x1442ba[_0xbbdfd7(0x16d)][_0xbbdfd7(0x1ce)],this[_0xbbdfd7(0x137)][_0xbbdfd7(0x1b0)](),_0x4f36e5,this[_0xbbdfd7(0x18e)]):this[_0xbbdfd7(0x1a2)]=new _0x10dca5(this[_0xbbdfd7(0x137)][_0xbbdfd7(0x1b0)](),_0x4f36e5,this[_0xbbdfd7(0x18e)],_0x1442ba[_0xbbdfd7(0x1a7)],_0x1442ba[_0xbbdfd7(0x16d)]),this[_0xbbdfd7(0x133)][_0xbbdfd7(0x120)](this[_0xbbdfd7(0x1a2)][_0xbbdfd7(0x190)],this[_0xbbdfd7(0x1a2)][_0xbbdfd7(0x1c4)]),this[_0xbbdfd7(0x1a2)]['on'](_0xbbdfd7(0x125),(_0x163d22,_0x3aa02d)=>{const _0x5041ff=_0xbbdfd7;switch(_0x3aa02d[_0x5041ff(0x15e)]){case _0x5041ff(0x187):case _0x5041ff(0x142):this[_0x5041ff(0x137)][_0x5041ff(0x12b)](),this[_0x5041ff(0x133)][_0x5041ff(0x17b)](_0x3aa02d);break;case _0x5041ff(0x12a):this[_0x5041ff(0x133)][_0x5041ff(0x18c)]();break;case _0x5041ff(0x13d):this[_0x5041ff(0x133)][_0x5041ff(0x126)]();break;case _0x5041ff(0x16c):this[_0x5041ff(0x133)][_0x5041ff(0x152)]();break;case _0x5041ff(0x1c8):this[_0x5041ff(0x133)][_0x5041ff(0x11a)](),this[_0x5041ff(0x1b2)](new _0x3c944c(_0x5041ff(0x12c),this,this[_0x5041ff(0x1a2)]?.[_0x5041ff(0x144)]));break;case _0x5041ff(0x14c):this[_0x5041ff(0x133)][_0x5041ff(0x1ae)](),this[_0x5041ff(0x1b2)](new _0x3c944c(_0x5041ff(0x1b8),this,this[_0x5041ff(0x1a2)]?.[_0x5041ff(0x144)]));break;case _0x5041ff(0x155):this[_0x5041ff(0x1a2)]&&this[_0x5041ff(0x1a2)][_0x5041ff(0x12d)]>0x0?setTimeout(()=>{const _0x53781b=_0x5041ff;this[_0x53781b(0x1a2)]?.[_0x53781b(0x18d)]();},0x0):this[_0x5041ff(0x163)](!0x0);}_0x5041ff(0x13d)!==_0x3aa02d[_0x5041ff(0x15e)]&&_0x5041ff(0x14c)!==_0x3aa02d[_0x5041ff(0x15e)]&&_0x5041ff(0x1c8)!==_0x3aa02d[_0x5041ff(0x15e)]||this[_0x5041ff(0x1a2)]?.[_0x5041ff(0x1a0)]();}),this[_0xbbdfd7(0x1a2)]['on'](_0xbbdfd7(0x147),(_0x4ff9c6,_0x119c2e)=>{const _0x1fda54=_0xbbdfd7;if(!this[_0x1fda54(0x1a2)])throw new _0x3c944c(_0x1fda54(0x140),this);const _0x1cb465=this[_0x1fda54(0x137)][_0x1fda54(0x174)](_0x119c2e[_0x1fda54(0x11c)][_0x1fda54(0x11e)],_0x119c2e[_0x1fda54(0x11c)][_0x1fda54(0x1c6)]);_0x119c2e[_0x1fda54(0x15a)][_0x1fda54(0x1cd)](_0x119c2e[_0x1fda54(0x11c)]['id'],_0x1cb465);}),this[_0xbbdfd7(0x1a2)]['on'](_0xbbdfd7(0x177),(_0x593253,_0x3bc431)=>{const _0x32bcc3=_0xbbdfd7;for(const _0x2587f8 of _0x3bc431[_0x32bcc3(0x16b)])this[_0x32bcc3(0x133)][_0x32bcc3(0x181)](_0x2587f8);this[_0x32bcc3(0x137)][_0x32bcc3(0x143)](_0x3bc431[_0x32bcc3(0x16b)],_0x3bc431[_0x32bcc3(0x15a)][_0x32bcc3(0x199)]);}),this[_0xbbdfd7(0x1a2)]['on'](_0xbbdfd7(0x18f),(_0x5648bf,_0x88b18a)=>{const _0x40827e=_0xbbdfd7;this[_0x40827e(0x133)][_0x40827e(0x14b)](_0x88b18a[_0x40827e(0x1a6)]['id'],_0x88b18a[_0x40827e(0x15e)]);}),this[_0xbbdfd7(0x1a2)]['on'](_0xbbdfd7(0x1a4),(_0x510977,_0x4f6125)=>{const _0x5ac4b7=_0xbbdfd7;this[_0x5ac4b7(0x133)][_0x5ac4b7(0x17c)](_0x4f6125[_0x5ac4b7(0x1a6)]['id']);const _0xdb7dd9=this[_0x5ac4b7(0x137)][_0x5ac4b7(0x1a1)](_0x4f6125[_0x5ac4b7(0x1a6)]['id']);if(!_0xdb7dd9)return;if(_0x5ac4b7(0x166)===this[_0x5ac4b7(0x1b6)]){const _0x4c9810=this[_0x5ac4b7(0x133)][_0x5ac4b7(0x188)](_0x4f6125[_0x5ac4b7(0x1a6)]['id']);_0x4c9810&&_0x5120ce(_0x4c9810[_0x5ac4b7(0x139)](_0x5ac4b7(0x18b))||_0x4c9810);}else{if(_0x5ac4b7(0x119)===this[_0x5ac4b7(0x1b6)]){const _0x285f8a={'target':_0xdb7dd9[_0x5ac4b7(0x170)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x376c6f(_0x285f8a);}}const _0x32101d=this[_0x5ac4b7(0x137)][_0x5ac4b7(0x1bb)]();this[_0x5ac4b7(0x133)][_0x5ac4b7(0x1c5)](_0x4f6125[_0x5ac4b7(0x1a6)],_0xdb7dd9[_0x5ac4b7(0x170)],void 0x0,_0x5ac4b7(0x19e),_0x32101d?.[_0x5ac4b7(0x198)]?.[_0x5ac4b7(0x1a8)]?.[_0x5ac4b7(0x122)](),_0x32101d?.['ui']?.[_0x5ac4b7(0x175)]);}),this[_0xbbdfd7(0x1a2)]['on'](_0xbbdfd7(0x185),()=>{const _0x3d8f38=_0xbbdfd7;this[_0x3d8f38(0x133)][_0x3d8f38(0x136)](),this[_0x3d8f38(0x133)][_0x3d8f38(0x154)]();});try{await this[_0xbbdfd7(0x1a2)][_0xbbdfd7(0x186)]();}catch(_0xab1522){_0xab1522 instanceof Error&&_0xab1522[_0xbbdfd7(0x14f)][_0xbbdfd7(0x145)](_0xbbdfd7(0x1b9))||(_0xab1522 instanceof _0x3c944c?this[_0xbbdfd7(0x1b2)](_0xab1522):this[_0xbbdfd7(0x1b2)](new _0x3c944c(_0xbbdfd7(0x172),this,{'error':_0xab1522})));}}else this[_0xbbdfd7(0x1b2)](new _0x3c944c(_0xbbdfd7(0x12f),this,{'checkId':_0x1442ba['id']}));}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x132),()=>{const _0x5bd164=_0x125b54;this[_0x5bd164(0x163)]();}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x15d),()=>{const _0x263fb6=_0x125b54;this[_0x263fb6(0x163)](!0x0);}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x11f),()=>{const _0xd6f7ec=_0x125b54;this[_0xd6f7ec(0x1a2)]&&this[_0xd6f7ec(0x1a2)][_0xd6f7ec(0x1af)]();}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x19a),()=>{const _0x1fd8fb=_0x125b54;this[_0x1fd8fb(0x163)](!0x0);}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x18a),()=>{const _0x4b2f6b=_0x125b54;if(!this[_0x4b2f6b(0x1a2)])return;const _0xc3bde0=this[_0x4b2f6b(0x1a2)][_0x4b2f6b(0x178)]();_0xc3bde0[_0x4b2f6b(0x127)]&&(this[_0x4b2f6b(0x137)][_0x4b2f6b(0x1b4)](_0xc3bde0[_0x4b2f6b(0x1c9)](_0x1cc3c2=>_0x1cc3c2['id'])),this[_0x4b2f6b(0x1a2)][_0x4b2f6b(0x196)](),this[_0x4b2f6b(0x1a2)][_0x4b2f6b(0x1a0)]());}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x153),(_0x9ada8a,_0x73f21a)=>{const _0x24f89e=_0x125b54;this[_0x24f89e(0x1a2)]&&this[_0x24f89e(0x1a2)][_0x24f89e(0x158)](_0x73f21a['id'])&&(this[_0x24f89e(0x137)][_0x24f89e(0x1b4)]([_0x73f21a['id']]),this[_0x24f89e(0x1a2)][_0x24f89e(0x179)](_0x73f21a['id']),this[_0x24f89e(0x133)][_0x24f89e(0x154)](),this[_0x24f89e(0x1a2)][_0x24f89e(0x1a0)](_0x73f21a['id']));}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x17f),(_0x14b89e,_0x44f7f7)=>{const _0xa90455=_0x125b54;this[_0xa90455(0x1a2)]&&this[_0xa90455(0x1a2)][_0xa90455(0x158)](_0x44f7f7['id'])&&(this[_0xa90455(0x137)][_0xa90455(0x116)](_0x44f7f7['id']),this[_0xa90455(0x1a2)][_0xa90455(0x176)](_0x44f7f7['id']),this[_0xa90455(0x133)][_0xa90455(0x154)](),this[_0xa90455(0x1a2)][_0xa90455(0x1a0)](_0x44f7f7['id']));}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x146),(_0x208e13,_0x2ed5dd)=>{const _0xe984ce=_0x125b54;this[_0xe984ce(0x180)]=_0x2ed5dd['on'],this[_0xe984ce(0x1cf)](this[_0xe984ce(0x180)]);}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x168),async()=>{const _0x59c2c6=_0x125b54;this[_0x59c2c6(0x1a2)]&&(this[_0x59c2c6(0x137)][_0x59c2c6(0x1b5)](),this[_0x59c2c6(0x1a2)][_0x59c2c6(0x1a3)](this[_0x59c2c6(0x137)][_0x59c2c6(0x1b0)]()),await this[_0x59c2c6(0x1a2)][_0x59c2c6(0x160)]());}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x1cb),(_0x37b6c1,_0x4c72cc)=>{const _0x832b7c=_0x125b54;this[_0x832b7c(0x1a2)]&&(this[_0x832b7c(0x1b6)]=_0x832b7c(0x119),this[_0x832b7c(0x1a2)][_0x832b7c(0x1cb)](_0x4c72cc['id']));}),this[_0x125b54(0x150)](this[_0x125b54(0x133)],_0x125b54(0x13c),()=>{const _0x3f9b00=_0x125b54;this[_0x3f9b00(0x1a2)]&&this[_0x3f9b00(0x1a2)][_0x3f9b00(0x13c)]();}),this[_0x125b54(0x150)](this[_0x125b54(0x137)][_0x125b54(0x16e)],_0x125b54(0x138),(_0x55618f,_0x29928c)=>{const _0x4fe6c7=_0x125b54;if(!this[_0x4fe6c7(0x1a2)])return;this[_0x4fe6c7(0x1b6)]=_0x4fe6c7(0x166),this[_0x4fe6c7(0x1a2)][_0x4fe6c7(0x1cb)](_0x29928c[_0x4fe6c7(0x19b)]);const _0x47e761=this[_0x4fe6c7(0x1a2)][_0x4fe6c7(0x13f)](_0x29928c[_0x4fe6c7(0x19b)]);if(!_0x47e761)return;const _0x164705=this[_0x4fe6c7(0x137)][_0x4fe6c7(0x1bb)]();this[_0x4fe6c7(0x133)][_0x4fe6c7(0x1c5)](_0x47e761,_0x29928c[_0x4fe6c7(0x182)],_0x29928c[_0x4fe6c7(0x15c)],_0x4fe6c7(0x19e),_0x164705?.[_0x4fe6c7(0x198)]?.[_0x4fe6c7(0x1a8)]?.[_0x4fe6c7(0x122)](),_0x164705?.['ui']?.[_0x4fe6c7(0x175)]);}),this[_0x125b54(0x150)](this[_0x125b54(0x137)][_0x125b54(0x16e)],_0x125b54(0x14a),(_0x4b2998,_0x295c29)=>{const _0x32a2c7=_0x125b54;if(!this[_0x32a2c7(0x1a2)])return;if(this[_0x32a2c7(0x1a2)][_0x32a2c7(0x121)]())return;const _0x5192a1=this[_0x32a2c7(0x1a2)][_0x32a2c7(0x13f)](_0x295c29[_0x32a2c7(0x19b)]);if(!_0x5192a1)return;const _0x304f63=this[_0x32a2c7(0x137)][_0x32a2c7(0x1bb)]();this[_0x32a2c7(0x133)][_0x32a2c7(0x1c5)](_0x5192a1,_0x295c29[_0x32a2c7(0x182)],_0x295c29[_0x32a2c7(0x15c)],_0x32a2c7(0x15f),_0x304f63?.[_0x32a2c7(0x198)]?.[_0x32a2c7(0x1a8)]?.[_0x32a2c7(0x122)](),_0x304f63?.['ui']?.[_0x32a2c7(0x175)]);}),this[_0x125b54(0x150)](this[_0x125b54(0x137)][_0x125b54(0x16e)],_0x125b54(0x1c3),()=>{const _0x4a97a1=_0x125b54;if(!this[_0x4a97a1(0x1a2)])return;this[_0x4a97a1(0x1a2)][_0x4a97a1(0x121)]()||this[_0x4a97a1(0x133)][_0x4a97a1(0x154)]();}),this[_0x125b54(0x150)](this[_0x125b54(0x137)][_0x125b54(0x16e)],_0x125b54(0x161),(_0x63cc9a,_0x3f15d8)=>{const _0x5c5dcf=_0x125b54;this[_0x5c5dcf(0x1a2)]&&this[_0x5c5dcf(0x1a2)][_0x5c5dcf(0x141)](_0x3f15d8[_0x5c5dcf(0x19b)]);}),this[_0x125b54(0x150)](this[_0x125b54(0x137)][_0x125b54(0x16e)],_0x125b54(0x11d),(_0x3a2141,_0x485eee)=>{const _0xfb9b5a=_0x125b54;this[_0xfb9b5a(0x1a2)]&&this[_0xfb9b5a(0x1a2)][_0xfb9b5a(0x194)](_0x485eee[_0xfb9b5a(0x19b)]);});}[_0x38a0f8(0x163)](_0x51345d=!0x1){const _0x4d3007=_0x38a0f8;this[_0x4d3007(0x1a2)]&&(this[_0x4d3007(0x1a2)][_0x4d3007(0x1c7)]||this[_0x4d3007(0x1a2)][_0x4d3007(0x1a0)](),this[_0x4d3007(0x1a2)][_0x4d3007(0x149)](),this[_0x4d3007(0x1a2)][_0x4d3007(0x1af)](),this[_0x4d3007(0x1a2)]=void 0x0),_0x51345d&&this[_0x4d3007(0x133)][_0x4d3007(0x1ca)](),this[_0x4d3007(0x137)][_0x4d3007(0x1b5)](),this[_0x4d3007(0x137)][_0x4d3007(0x1b3)](),this[_0x4d3007(0x1b6)]=null;const _0x14f7ac=this[_0x4d3007(0x137)][_0x4d3007(0x1bb)]();_0x14f7ac&&_0x14f7ac[_0x4d3007(0x198)][_0x4d3007(0x1a8)][_0x4d3007(0x1a6)](_0x11c4cb=>{const _0x221a9d=_0x4d3007,_0x1e9340=_0x14f7ac[_0x221a9d(0x198)][_0x221a9d(0x1a8)][_0x221a9d(0x1c0)][_0x221a9d(0x1d0)]();_0x11c4cb[_0x221a9d(0x1c1)](_0x221a9d(0x11b),_0x1e9340),_0x11c4cb[_0x221a9d(0x1c1)](_0x221a9d(0x1b1),_0x1e9340);});}[_0x38a0f8(0x1cf)](_0x2f1bd1){const _0x19bec5=_0x38a0f8,_0x564401=this[_0x19bec5(0x137)][_0x19bec5(0x1bb)]();_0x2f1bd1?this[_0x19bec5(0x133)][_0x19bec5(0x134)]():this[_0x19bec5(0x133)][_0x19bec5(0x12e)](),_0x564401&&_0x564401[_0x19bec5(0x198)][_0x19bec5(0x1a8)][_0x19bec5(0x1a6)](_0x17f04c=>{const _0x203e2e=_0x19bec5,_0x29910f=_0x564401[_0x203e2e(0x198)][_0x203e2e(0x1a8)][_0x203e2e(0x1c0)][_0x203e2e(0x1d0)]();_0x17f04c[_0x203e2e(0x1c1)](_0x203e2e(0x11b),_0x29910f),_0x17f04c[_0x203e2e(0x1c1)](_0x203e2e(0x1b1),_0x29910f),_0x17f04c[_0x203e2e(0x1bf)](_0x2f1bd1?_0x203e2e(0x11b):_0x203e2e(0x1b1),_0x29910f);});}[_0x38a0f8(0x13b)](_0x85a283){const _0x1d2ce1=_0x38a0f8;return _0x85a283[_0x1d2ce1(0x1c9)](_0x4397b9=>{const _0x459a81=_0x1d2ce1,_0x133697=_0x459a81(0x189)+_0x4397b9['id'][_0x459a81(0x1ac)]()[_0x459a81(0x16a)]('-','_'),_0xa83c00={..._0x4397b9,'title':this[_0x459a81(0x13e)](_0x133697+_0x459a81(0x16f),_0x4397b9[_0x459a81(0x190)]),'description':this[_0x459a81(0x13e)](_0x133697+_0x459a81(0x130),_0x4397b9[_0x459a81(0x148)])};return _0x4397b9[_0x459a81(0x165)]&&(_0xa83c00[_0x459a81(0x165)]=_0x4397b9[_0x459a81(0x165)][_0x459a81(0x1c9)](_0x56e559=>({..._0x56e559,'label':this[_0x459a81(0x13e)](_0x133697+_0x459a81(0x1bc),_0x56e559[_0x459a81(0x151)]||''),'data':_0x56e559[_0x459a81(0x187)]?_0x56e559[_0x459a81(0x187)][_0x459a81(0x1c9)](_0x8937eb=>({..._0x8937eb,'label':this[_0x459a81(0x13e)](_0x133697+_0x459a81(0x1ad)+_0x8937eb['id'][_0x459a81(0x1ac)](),_0x8937eb[_0x459a81(0x151)])})):void 0x0}))),_0xa83c00;});}[_0x38a0f8(0x13e)](_0x295876,_0x24d2a8){const _0x3f2003=_0x38a0f8,_0x2fd85b=this[_0x3f2003(0x1bd)][_0x3f2003(0x191)],_0x2fdcb7=_0x123166(_0x2fd85b,_0x295876);return _0x2fdcb7===_0x295876?_0x24d2a8:_0x2fdcb7;}[_0x38a0f8(0x1b2)](_0x297752){const _0x3ca006=_0x38a0f8;_0x21e434(_0x297752[_0x3ca006(0x14f)]),_0x297752[_0x3ca006(0x14f)][_0x3ca006(0x1ba)](_0x3ca006(0x193))?this[_0x3ca006(0x133)][_0x3ca006(0x17a)]():this[_0x3ca006(0x133)][_0x3ca006(0x11a)]();}}
|
|
23
|
+
const _0x4b64bc=_0x4f6d;(function(_0x6f65ee,_0xdaea36){const _0x51af75=_0x4f6d,_0x3591f9=_0x6f65ee();while(!![]){try{const _0x7b4151=parseInt(_0x51af75(0x14e))/0x1*(parseInt(_0x51af75(0x1cf))/0x2)+parseInt(_0x51af75(0x140))/0x3+parseInt(_0x51af75(0x12d))/0x4*(parseInt(_0x51af75(0x1bb))/0x5)+-parseInt(_0x51af75(0x17f))/0x6+-parseInt(_0x51af75(0x1c8))/0x7*(-parseInt(_0x51af75(0x1d3))/0x8)+parseInt(_0x51af75(0x16e))/0x9+-parseInt(_0x51af75(0x170))/0xa;if(_0x7b4151===_0xdaea36)break;else _0x3591f9['push'](_0x3591f9['shift']());}catch(_0x141377){_0x3591f9['push'](_0x3591f9['shift']());}}}(_0x5293,0x19209));import{ContextPlugin as _0x9c4f1f}from'ckeditor5/src/core.js';import{CKEditorError as _0x5541e0,logError as _0x354fe4,scrollAncestorsToShowTarget as _0x1deebf,scrollViewportToShowTarget as _0x1b14f0}from'ckeditor5/src/utils.js';import{AIConnector as _0x71740e}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x560f48}from'./model/aireviewchecklist.js';function _0x5293(){const _0x51dbe0=['switchToReadOnly','find','24784sSIHjf','emitter','isOfficialPlugin','_onDiffChange','addResultChanges','aborted','markChangeAsOutdated','changeMarkerClick','dismissChange','.ck-ai-review-mode__check-run-result','_currentReviewCheckRun','markChangeAsRejected','start','_aiReviewModeUi','_aiReviewCheckList','getEditor','abort','showCheckRunResult','ai-review-mode-check-run-failed','338934zhUUCS','contentNew','_getTranslationWithDefault','getReviewCheckList','leaveReviewMode','showCheckRunResults','applyChange','changeMarkerBlurred','_translateReviewChecks','diffContent','changeMarkerRestored','error-chunk','activateChange','description','86uLVVqP','AI_REVIEW_CHECK_','showReviewCheckList','loading','clearAllMarkers','setAvailableChecks','getDomRoot','ai.reviewMode.translations','translate','label','showChangeBalloon','closest','ai-review-mode-source-check-not-found','markChangePositionInEditorContent','editing','changeId','_onReviewModeRunLeave','stopListening','showChunkErrorView','map','_isDiffOn','params','showGeneralResultsErrorView','leaveReviewModeResultList','getChangeById','getActiveChanges','setActiveStateInResults','isPremiumPlugin','click','_aiReviewModeEditing','reviewCheckResultDeactivated','getDocumentData','973224UlsiSs','includes','2918270AqDYdr','AIReviewModeEditing','document','getMarkerElementForChange','AIConnector','resetActiveStateInResults','showGeneralReviewModeErrorView','result','contentInitial','length','viewportOffset','switchToEdit','subTitle','showActionsWhenResultIsReady','config','1100574QwkkSQ','abortReviewStream','reviewCheckRunUpdated','toggleDiff','_TITLE','init','reviewCheckResultAdded','getRoot','_logError','changeMarkerRemoved','checks','markAllChangesAsAccepted','message','view','sendRating','ai-review-mode-no-current-check-run','args','panel','_DESCRIPTION','runReviewCheck','domElement','removeClass','ck-ai-review-mode-diff','hasModifications','documentData','showReviewCompletedView','reviewCheckResultChangeStatusUpdated','AIReviewModeController','updateDocumentData','models','ai-review-mode-models-unable-to-retrieve','forceReadyState','plugins','change','retryReview','addClass','acceptChange','showDiffInBalloon','isChangeActive','rejectChange','markerElement','getCheckById','reviewCheckResultActivated','requires','ck-ai-review-mode-highlights','deactivateChange','hideChangeBalloon','changeMarkerHovered','reviewCheckResultReady','options','_changeActivationSource','data','_aiConnector','getChangeElement','acceptAllChanges','status','listenTo','isCustom','prompt','processedResultsCount','55qiUtVJ','content','pluginName','hideDiffInBalloon','isAnyChangeActivated','getAll','context','title','source','ai-review-mode-check-run-general-error','_OPTIONS_DATA_','removeCheckById','model','7VwNdOm','toUpperCase','replaceAll','updateChangeState','domEvent','ready','error-general','2288hIHVab','get','startsWith','showNoChangesView','1524184XzTcKe','_OPTIONS_LABEL','setCheckResultTitle','restart','finishReview','changes','locale','markChangeAsAccepted','AIReviewModeUI','custom','ai-request-aborted','currentError','markChangeAsPending','unmodified','hover','ai-review-mode-check-run-chunk-error','finished'];_0x5293=function(){return _0x51dbe0;};return _0x5293();}import{AIReviewSystemCheckRun as _0x51127e}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1e28f4}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x1a42b4}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x4f9e8b}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x417a28}from'../aicore/utils/common-translations.js';function _0x4f6d(_0x2dc33f,_0x2e5e89){const _0x5293f4=_0x5293();return _0x4f6d=function(_0x4f6d51,_0x10b2ca){_0x4f6d51=_0x4f6d51-0x127;let _0x30983a=_0x5293f4[_0x4f6d51];return _0x30983a;},_0x4f6d(_0x2dc33f,_0x2e5e89);}export class AIReviewModeController extends _0x9c4f1f{[_0x4b64bc(0x1b3)];[_0x4b64bc(0x13a)];[_0x4b64bc(0x16b)];[_0x4b64bc(0x13b)];[_0x4b64bc(0x137)];[_0x4b64bc(0x162)]=!0x1;[_0x4b64bc(0x1b1)]=null;static get[_0x4b64bc(0x1aa)](){return[_0x71740e];}static get[_0x4b64bc(0x1bd)](){const _0x2e15e9=_0x4b64bc;return _0x2e15e9(0x19a);}static get[_0x4b64bc(0x12f)](){return!0x0;}static get[_0x4b64bc(0x169)](){return!0x0;}async[_0x4b64bc(0x184)](){const _0x8ffd71=_0x4b64bc;this[_0x8ffd71(0x1b3)]=this[_0x8ffd71(0x1c1)][_0x8ffd71(0x19f)][_0x8ffd71(0x1d0)](_0x8ffd71(0x174)),this[_0x8ffd71(0x13a)]=this[_0x8ffd71(0x1c1)][_0x8ffd71(0x19f)][_0x8ffd71(0x1d0)](_0x8ffd71(0x1db)),this[_0x8ffd71(0x16b)]=this[_0x8ffd71(0x1c1)][_0x8ffd71(0x19f)][_0x8ffd71(0x1d0)](_0x8ffd71(0x171));const _0x1f141a=this[_0x8ffd71(0x1c1)][_0x8ffd71(0x17e)][_0x8ffd71(0x1d0)](_0x8ffd71(0x155));if(_0x1f141a){for(const _0x5bc754 of _0x4f9e8b)_0x8ffd71(0x156)===_0x5bc754['id']&&(_0x5bc754[_0x8ffd71(0x1b0)][0x0][_0x8ffd71(0x1b2)]=_0x1f141a);}const _0x21f2a9=this[_0x8ffd71(0x148)](_0x4f9e8b);this[_0x8ffd71(0x13b)]=new _0x560f48(_0x21f2a9);const _0x40cb3a=this[_0x8ffd71(0x13b)][_0x8ffd71(0x189)][_0x8ffd71(0x12c)](_0x672cff=>_0x8ffd71(0x1dc)===_0x672cff['id']);if(_0x40cb3a)try{_0x40cb3a[_0x8ffd71(0x19c)]=await new _0x1a42b4({'connector':this[_0x8ffd71(0x1b3)],'locale':this[_0x8ffd71(0x1c1)][_0x8ffd71(0x1d9)]})[_0x8ffd71(0x1c0)]();}catch(_0x9bae50){this[_0x8ffd71(0x13b)][_0x8ffd71(0x1c6)](_0x8ffd71(0x1dc)),this[_0x8ffd71(0x187)](new _0x5541e0(_0x8ffd71(0x19d),this,{'error':_0x9bae50}));}this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x143),()=>{const _0xde3cd9=_0x8ffd71;this[_0xde3cd9(0x13a)][_0xde3cd9(0x153)](this[_0xde3cd9(0x13b)][_0xde3cd9(0x189)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x192),async(_0x3736bf,_0x19a395)=>{const _0x39bb1d=_0x8ffd71,_0x567e68=this[_0x39bb1d(0x13b)][_0x39bb1d(0x1a8)](_0x19a395['id']);if(_0x567e68){this[_0x39bb1d(0x130)](this[_0x39bb1d(0x162)]),_0x19a395[_0x39bb1d(0x1b8)]?this[_0x39bb1d(0x137)]=new _0x1e28f4(_0x19a395[_0x39bb1d(0x18f)][_0x39bb1d(0x1b9)],_0x19a395[_0x39bb1d(0x18f)][_0x39bb1d(0x1c7)],this[_0x39bb1d(0x16b)][_0x39bb1d(0x16d)](),_0x567e68,this[_0x39bb1d(0x1b3)]):this[_0x39bb1d(0x137)]=new _0x51127e(this[_0x39bb1d(0x16b)][_0x39bb1d(0x16d)](),_0x567e68,this[_0x39bb1d(0x1b3)],_0x19a395[_0x39bb1d(0x163)],_0x19a395[_0x39bb1d(0x18f)]),this[_0x39bb1d(0x13a)][_0x39bb1d(0x1d5)](this[_0x39bb1d(0x137)][_0x39bb1d(0x1c2)],this[_0x39bb1d(0x137)][_0x39bb1d(0x17c)]),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x181),(_0x45b4bf,_0x3d91b9)=>{const _0x3e6e0d=_0x39bb1d;switch(_0x3d91b9[_0x3e6e0d(0x1b6)]){case _0x3e6e0d(0x1b2):case _0x3e6e0d(0x151):this[_0x3e6e0d(0x16b)][_0x3e6e0d(0x12b)](),this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x145)](_0x3d91b9);break;case _0x3e6e0d(0x12a):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x198)]();break;case _0x3e6e0d(0x1cd):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x17d)]();break;case _0x3e6e0d(0x127):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x1d2)]();break;case _0x3e6e0d(0x1ce):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x164)](),this[_0x3e6e0d(0x187)](new _0x5541e0(_0x3e6e0d(0x1c4),this,this[_0x3e6e0d(0x137)]?.[_0x3e6e0d(0x1de)]));break;case _0x3e6e0d(0x14b):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x160)](),this[_0x3e6e0d(0x187)](new _0x5541e0(_0x3e6e0d(0x129),this,this[_0x3e6e0d(0x137)]?.[_0x3e6e0d(0x1de)]));break;case _0x3e6e0d(0x132):this[_0x3e6e0d(0x137)]&&this[_0x3e6e0d(0x137)][_0x3e6e0d(0x1ba)]>0x0?setTimeout(()=>{const _0x54f39c=_0x3e6e0d;this[_0x54f39c(0x137)]?.[_0x54f39c(0x19e)]();},0x0):this[_0x3e6e0d(0x15e)](!0x0);}_0x3e6e0d(0x1cd)!==_0x3d91b9[_0x3e6e0d(0x1b6)]&&_0x3e6e0d(0x14b)!==_0x3d91b9[_0x3e6e0d(0x1b6)]&&_0x3e6e0d(0x1ce)!==_0x3d91b9[_0x3e6e0d(0x1b6)]||this[_0x3e6e0d(0x137)]?.[_0x3e6e0d(0x18d)]();}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x185),(_0x1698b2,_0xfccc69)=>{const _0x1b42bd=_0x39bb1d;if(!this[_0x1b42bd(0x137)])throw new _0x5541e0(_0x1b42bd(0x18e),this);const _0x5475ab=this[_0x1b42bd(0x16b)][_0x1b42bd(0x149)](_0xfccc69[_0x1b42bd(0x177)][_0x1b42bd(0x178)],_0xfccc69[_0x1b42bd(0x177)][_0x1b42bd(0x141)]);_0xfccc69[_0x1b42bd(0x1c3)][_0x1b42bd(0x131)](_0xfccc69[_0x1b42bd(0x177)]['id'],_0x5475ab);}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x1af),(_0x3879a0,_0x4b2738)=>{const _0x62749c=_0x39bb1d;for(const _0x335303 of _0x4b2738[_0x62749c(0x1d8)])this[_0x62749c(0x13a)][_0x62749c(0x13e)](_0x335303);this[_0x62749c(0x16b)][_0x62749c(0x15b)](_0x4b2738[_0x62749c(0x1d8)],_0x4b2738[_0x62749c(0x1c3)][_0x62749c(0x197)]);}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x199),(_0xdac48b,_0x379cc8)=>{const _0x5e9a55=_0x39bb1d;this[_0x5e9a55(0x13a)][_0x5e9a55(0x1cb)](_0x379cc8[_0x5e9a55(0x1a0)]['id'],_0x379cc8[_0x5e9a55(0x1b6)]);}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x1a9),(_0x53c5dc,_0x291398)=>{const _0xf5ec38=_0x39bb1d;this[_0xf5ec38(0x13a)][_0xf5ec38(0x168)](_0x291398[_0xf5ec38(0x1a0)]['id']);const _0x5c223b=this[_0xf5ec38(0x16b)][_0xf5ec38(0x173)](_0x291398[_0xf5ec38(0x1a0)]['id']);if(!_0x5c223b)return;if(_0xf5ec38(0x1bc)===this[_0xf5ec38(0x1b1)]){const _0x30299e=this[_0xf5ec38(0x13a)][_0xf5ec38(0x1b4)](_0x291398[_0xf5ec38(0x1a0)]['id']);_0x30299e&&_0x1deebf(_0x30299e[_0xf5ec38(0x159)](_0xf5ec38(0x136))||_0x30299e);}else{if(_0xf5ec38(0x190)===this[_0xf5ec38(0x1b1)]){const _0x3e83d3={'target':_0x5c223b[_0xf5ec38(0x193)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x1b14f0(_0x3e83d3);}}const _0x2367ca=this[_0xf5ec38(0x16b)][_0xf5ec38(0x13c)]();this[_0xf5ec38(0x13a)][_0xf5ec38(0x158)](_0x291398[_0xf5ec38(0x1a0)],_0x5c223b[_0xf5ec38(0x193)],void 0x0,_0xf5ec38(0x16a),_0x2367ca?.[_0xf5ec38(0x15c)]?.[_0xf5ec38(0x18c)]?.[_0xf5ec38(0x154)](),_0x2367ca?.['ui']?.[_0xf5ec38(0x17a)]);}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x16c),()=>{const _0x35ac77=_0x39bb1d;this[_0x35ac77(0x13a)][_0x35ac77(0x175)](),this[_0x35ac77(0x13a)][_0x35ac77(0x1ad)]();});try{await this[_0x39bb1d(0x137)][_0x39bb1d(0x139)]();}catch(_0x272404){_0x272404 instanceof Error&&_0x272404[_0x39bb1d(0x18b)][_0x39bb1d(0x16f)](_0x39bb1d(0x1dd))||(_0x272404 instanceof _0x5541e0?this[_0x39bb1d(0x187)](_0x272404):this[_0x39bb1d(0x187)](new _0x5541e0(_0x39bb1d(0x13f),this,{'error':_0x272404})));}}else this[_0x39bb1d(0x187)](new _0x5541e0(_0x39bb1d(0x15a),this,{'checkId':_0x19a395['id']}));}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x144),()=>{const _0x3d36b4=_0x8ffd71;this[_0x3d36b4(0x15e)]();}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x165),()=>{const _0x1b01f6=_0x8ffd71;this[_0x1b01f6(0x15e)](!0x0);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x180),()=>{const _0x5b9098=_0x8ffd71;this[_0x5b9098(0x137)]&&this[_0x5b9098(0x137)][_0x5b9098(0x13d)]();}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1d7),()=>{const _0x5d74fe=_0x8ffd71;this[_0x5d74fe(0x15e)](!0x0);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1b5),()=>{const _0x200c2e=_0x8ffd71;if(!this[_0x200c2e(0x137)])return;const _0x49c17c=this[_0x200c2e(0x137)][_0x200c2e(0x167)]();_0x49c17c[_0x200c2e(0x179)]&&(this[_0x200c2e(0x16b)][_0x200c2e(0x146)](_0x49c17c[_0x200c2e(0x161)](_0x21dd11=>_0x21dd11['id'])),this[_0x200c2e(0x137)][_0x200c2e(0x18a)](),this[_0x200c2e(0x137)][_0x200c2e(0x18d)]());}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1a3),(_0x58f920,_0x5e1cd8)=>{const _0x20cd8e=_0x8ffd71;this[_0x20cd8e(0x137)]&&this[_0x20cd8e(0x137)][_0x20cd8e(0x1a5)](_0x5e1cd8['id'])&&(this[_0x20cd8e(0x16b)][_0x20cd8e(0x146)]([_0x5e1cd8['id']]),this[_0x20cd8e(0x137)][_0x20cd8e(0x1da)](_0x5e1cd8['id']),this[_0x20cd8e(0x13a)][_0x20cd8e(0x1ad)](),this[_0x20cd8e(0x137)][_0x20cd8e(0x18d)](_0x5e1cd8['id']));}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x135),(_0x34775f,_0x48b61f)=>{const _0x51f4cd=_0x8ffd71;this[_0x51f4cd(0x137)]&&this[_0x51f4cd(0x137)][_0x51f4cd(0x1a5)](_0x48b61f['id'])&&(this[_0x51f4cd(0x16b)][_0x51f4cd(0x1a6)](_0x48b61f['id']),this[_0x51f4cd(0x137)][_0x51f4cd(0x138)](_0x48b61f['id']),this[_0x51f4cd(0x13a)][_0x51f4cd(0x1ad)](),this[_0x51f4cd(0x137)][_0x51f4cd(0x18d)](_0x48b61f['id']));}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x182),(_0x5ccd90,_0x5f0685)=>{const _0x19b29c=_0x8ffd71;this[_0x19b29c(0x162)]=_0x5f0685['on'],this[_0x19b29c(0x130)](this[_0x19b29c(0x162)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1a1),async()=>{const _0x389177=_0x8ffd71;this[_0x389177(0x137)]&&(this[_0x389177(0x16b)][_0x389177(0x152)](),this[_0x389177(0x137)][_0x389177(0x19b)](this[_0x389177(0x16b)][_0x389177(0x16d)]()),await this[_0x389177(0x137)][_0x389177(0x1d6)]());}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x14c),(_0x1643f8,_0x2e412e)=>{const _0x33f12a=_0x8ffd71;this[_0x33f12a(0x137)]&&(this[_0x33f12a(0x1b1)]=_0x33f12a(0x190),this[_0x33f12a(0x137)][_0x33f12a(0x14c)](_0x2e412e['id']));}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1ac),()=>{const _0x3eb692=_0x8ffd71;this[_0x3eb692(0x137)]&&this[_0x3eb692(0x137)][_0x3eb692(0x1ac)]();}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x134),(_0x2f4361,_0x5ba84f)=>{const _0x196a76=_0x8ffd71;if(!this[_0x196a76(0x137)])return;this[_0x196a76(0x1b1)]=_0x196a76(0x1bc),this[_0x196a76(0x137)][_0x196a76(0x14c)](_0x5ba84f[_0x196a76(0x15d)]);const _0x4fefde=this[_0x196a76(0x137)][_0x196a76(0x166)](_0x5ba84f[_0x196a76(0x15d)]);if(!_0x4fefde)return;const _0x2a220a=this[_0x196a76(0x16b)][_0x196a76(0x13c)]();this[_0x196a76(0x13a)][_0x196a76(0x158)](_0x4fefde,_0x5ba84f[_0x196a76(0x1a7)],_0x5ba84f[_0x196a76(0x1cc)],_0x196a76(0x16a),_0x2a220a?.[_0x196a76(0x15c)]?.[_0x196a76(0x18c)]?.[_0x196a76(0x154)](),_0x2a220a?.['ui']?.[_0x196a76(0x17a)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x1ae),(_0xdc62c3,_0x197c8a)=>{const _0x3fcf94=_0x8ffd71;if(!this[_0x3fcf94(0x137)])return;if(this[_0x3fcf94(0x137)][_0x3fcf94(0x1bf)]())return;const _0x1b87e1=this[_0x3fcf94(0x137)][_0x3fcf94(0x166)](_0x197c8a[_0x3fcf94(0x15d)]);if(!_0x1b87e1)return;const _0xae9814=this[_0x3fcf94(0x16b)][_0x3fcf94(0x13c)]();this[_0x3fcf94(0x13a)][_0x3fcf94(0x158)](_0x1b87e1,_0x197c8a[_0x3fcf94(0x1a7)],_0x197c8a[_0x3fcf94(0x1cc)],_0x3fcf94(0x128),_0xae9814?.[_0x3fcf94(0x15c)]?.[_0x3fcf94(0x18c)]?.[_0x3fcf94(0x154)](),_0xae9814?.['ui']?.[_0x3fcf94(0x17a)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x147),()=>{const _0x252d01=_0x8ffd71;if(!this[_0x252d01(0x137)])return;this[_0x252d01(0x137)][_0x252d01(0x1bf)]()||this[_0x252d01(0x13a)][_0x252d01(0x1ad)]();}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x188),(_0x1cbf23,_0x658558)=>{const _0x488414=_0x8ffd71;this[_0x488414(0x137)]&&this[_0x488414(0x137)][_0x488414(0x133)](_0x658558[_0x488414(0x15d)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x14a),(_0x53e0d8,_0x48e433)=>{const _0x26b318=_0x8ffd71;this[_0x26b318(0x137)]&&this[_0x26b318(0x137)][_0x26b318(0x1df)](_0x48e433[_0x26b318(0x15d)]);});}[_0x4b64bc(0x15e)](_0x141177=!0x1){const _0x277988=_0x4b64bc;this[_0x277988(0x137)]&&(this[_0x277988(0x137)][_0x277988(0x196)]||this[_0x277988(0x137)][_0x277988(0x18d)](),this[_0x277988(0x137)][_0x277988(0x15f)](),this[_0x277988(0x137)][_0x277988(0x13d)](),this[_0x277988(0x137)]=void 0x0),_0x141177&&this[_0x277988(0x13a)][_0x277988(0x150)](),this[_0x277988(0x16b)][_0x277988(0x152)](),this[_0x277988(0x16b)][_0x277988(0x17b)](),this[_0x277988(0x1b1)]=null;const _0x271bea=this[_0x277988(0x16b)][_0x277988(0x13c)]();_0x271bea&&_0x271bea[_0x277988(0x15c)][_0x277988(0x18c)][_0x277988(0x1a0)](_0x349b25=>{const _0x47ccfb=_0x277988,_0x1af593=_0x271bea[_0x47ccfb(0x15c)][_0x47ccfb(0x18c)][_0x47ccfb(0x172)][_0x47ccfb(0x186)]();_0x349b25[_0x47ccfb(0x194)](_0x47ccfb(0x195),_0x1af593),_0x349b25[_0x47ccfb(0x194)](_0x47ccfb(0x1ab),_0x1af593);});}[_0x4b64bc(0x130)](_0x445ae3){const _0x4d8f33=_0x4b64bc,_0x2135dd=this[_0x4d8f33(0x16b)][_0x4d8f33(0x13c)]();_0x445ae3?this[_0x4d8f33(0x13a)][_0x4d8f33(0x1be)]():this[_0x4d8f33(0x13a)][_0x4d8f33(0x1a4)](),_0x2135dd&&_0x2135dd[_0x4d8f33(0x15c)][_0x4d8f33(0x18c)][_0x4d8f33(0x1a0)](_0x2df1f7=>{const _0x92b66b=_0x4d8f33,_0x44a2c2=_0x2135dd[_0x92b66b(0x15c)][_0x92b66b(0x18c)][_0x92b66b(0x172)][_0x92b66b(0x186)]();_0x2df1f7[_0x92b66b(0x194)](_0x92b66b(0x195),_0x44a2c2),_0x2df1f7[_0x92b66b(0x194)](_0x92b66b(0x1ab),_0x44a2c2),_0x2df1f7[_0x92b66b(0x1a2)](_0x445ae3?_0x92b66b(0x195):_0x92b66b(0x1ab),_0x44a2c2);});}[_0x4b64bc(0x148)](_0x29b136){const _0x3d6290=_0x4b64bc;return _0x29b136[_0x3d6290(0x161)](_0x14a456=>{const _0x135d51=_0x3d6290,_0x403590=_0x135d51(0x14f)+_0x14a456['id'][_0x135d51(0x1c9)]()[_0x135d51(0x1ca)]('-','_'),_0x153d82={..._0x14a456,'title':this[_0x135d51(0x142)](_0x403590+_0x135d51(0x183),_0x14a456[_0x135d51(0x1c2)]),'description':this[_0x135d51(0x142)](_0x403590+_0x135d51(0x191),_0x14a456[_0x135d51(0x14d)])};return _0x14a456[_0x135d51(0x1b0)]&&(_0x153d82[_0x135d51(0x1b0)]=_0x14a456[_0x135d51(0x1b0)][_0x135d51(0x161)](_0x5bbb65=>({..._0x5bbb65,'label':this[_0x135d51(0x142)](_0x403590+_0x135d51(0x1d4),_0x5bbb65[_0x135d51(0x157)]||''),'data':_0x5bbb65[_0x135d51(0x1b2)]?_0x5bbb65[_0x135d51(0x1b2)][_0x135d51(0x161)](_0xdd4cac=>({..._0xdd4cac,'label':this[_0x135d51(0x142)](_0x403590+_0x135d51(0x1c5)+_0xdd4cac['id'][_0x135d51(0x1c9)](),_0xdd4cac[_0x135d51(0x157)])})):void 0x0}))),_0x153d82;});}[_0x4b64bc(0x142)](_0x115eb7,_0x2255e3){const _0x18a399=_0x4b64bc,_0x442fa9=this[_0x18a399(0x1c1)][_0x18a399(0x1d9)],_0x573dc5=_0x417a28(_0x442fa9,_0x115eb7);return _0x573dc5===_0x115eb7?_0x2255e3:_0x573dc5;}[_0x4b64bc(0x187)](_0x18d3f1){const _0x9438b6=_0x4b64bc;_0x354fe4(_0x18d3f1[_0x9438b6(0x18b)]),_0x18d3f1[_0x9438b6(0x18b)][_0x9438b6(0x1d1)](_0x9438b6(0x19d))?this[_0x9438b6(0x13a)][_0x9438b6(0x176)]():this[_0x9438b6(0x13a)][_0x9438b6(0x164)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5b0cae=_0xbbe3;(function(_0x3f55dd,_0x286bc7){const _0x4f0d35=_0xbbe3,_0x84217a=_0x3f55dd();while(!![]){try{const _0x4eac4e=parseInt(_0x4f0d35(0x1dc))/0x1*(-parseInt(_0x4f0d35(0x248))/0x2)+-parseInt(_0x4f0d35(0x244))/0x3*(-parseInt(_0x4f0d35(0x208))/0x4)+parseInt(_0x4f0d35(0x1f2))/0x5*(-parseInt(_0x4f0d35(0x20a))/0x6)+parseInt(_0x4f0d35(0x1ae))/0x7+parseInt(_0x4f0d35(0x266))/0x8+-parseInt(_0x4f0d35(0x1b1))/0x9+-parseInt(_0x4f0d35(0x273))/0xa*(-parseInt(_0x4f0d35(0x1ee))/0xb);if(_0x4eac4e===_0x286bc7)break;else _0x84217a['push'](_0x84217a['shift']());}catch(_0x145802){_0x84217a['push'](_0x84217a['shift']());}}}(_0x38b3,0x54be9));function _0x38b3(){const _0x4b1aa2=['_setAttribute','version','target','offset','registerPostFixer','hasAttribute','backward','marker','remove-text','listenTo','model','containsRange','jumpTo','processor','hasContentBefore','suggestion-context','markerToHighlight','filter','getChild','removeMarker','_changeRange','querySelector','suggestion:deletion:id:authorId:','_insertMarkers','markChangePositionInEditorContent','downcast','add','howMany','clear','AIEditing','3770809hHHtqj','hasContentAfter','rootName','951984WctldU','changeMarkerRemoved','remove-only','history','getMarkerElementForChange','_validateMarkers','isIntersecting','forward','document','warn','ck-ai_review-mode-marker_strikethrough','createSelection','getChildren','outerHTML','getDiff','length','htmlProcessor','nodes','markers','set','enableReadOnlyMode','isPremiumPlugin','fire','_changePosition','toData','_getOperationStart','AIReviewModeEditing','append','groupId','batch','_createGetContextFn','domConverter','mouseover','ck-ai_review-mode-marker_','getRoots','createPositionAfter','emitter','view','editingDowncast','changeMarkerHovered','type','getPath','applyOperation','1hcSjNa','ck-ai_review-mode-marker_context-start','getAttribute','getChangedMarkers','isDocumentOperation','toDomElement','_upsertDataId','getDocumentData','start','_getOperationEnd','getDomRoot','concat','getChanges','_createGetContentUsingDataIdFn','createDocumentFragment','_markers','afterInit','data','275AFiKWM','startsWith','$markedRemove','_changeOperationOwnerDocument','5tOamZF','_getMarkersDataForGroup','baseVersion','element','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','isAtEnd','click','getRange','addOperation','every','isAtStart','changeMarkerRestored','_findAdjacentContextDistance','changeMarkerClick','for','get','_changeRangeOwnerDocument','childCount','_appendChild','operationsA','attributeToAttribute','operationsIsolated','909384ifvuEU','No\x20element\x20found\x20for\x20ID:\x20','1396614ZjKivM','isOpening','DocumentCompare','parse','insertContent','isTouching','split','end','getShiftedBy','data-marker-id','className','name','[data-marker-id=\x22','switchToReadOnly','$graveyard','isInline','_shiftOperation','ellipsisAfter','_translateOperationToEditorContent','createUIElement','remove','_findMarkerElement','addMarker','_hasSameTopLevelElement','newRange','values','flat','dataDowncast','diffContent','text','model:$text','disableReadOnlyMode','includes','delete','position','requires','_getChangeContext','getOperations','_eventEmitter','htmlWriter','getEditor','clone','ck-ai_review-mode-marker_underline','rejectChange','oldRange','differ','isOfficialPlugin','change','exec','sort','_groupAdjacentOperations','parentElement','size','_sortMarkers','viewToDom','remove-context','createPositionAt','markerName','3tvFxZe','affectsData','_handleMarkerChanges','applyChange','405472Rxpeis','closest','createRawElement','span','offsetSize','root','_haveSingleTopLevelElement','context','containerElement','stringify','_removeChildren','plugins','innerHTML','ck-ai_review-mode-marker_context-end','_domEmitter','[data-id=\x22','ai-review-mode','map','getHtml','_nextDataId','forEach','keys','_parseMarkerName','switchToEdit','pop','pluginName','ellipsisBefore','_removeAttribute','createRange','_changePositionOwnerDocument','500688mYHobK','_haveOnlyInlineContent','_createGetContentFn','_clone','documentFragment','suggestion:insertion:id:authorId:','ck-ai_review-mode-marker_add','deleteContent','index','getStart','markerToElement','toView','insert','23910FQCquv','schema','relatedTarget','hasClass','$documentFragment','reviewmode-','parent','has','getRoot','elements','conversion','from','$textProxy','ck-ai_review-mode-marker_hide','clearAllMarkers','path','ck-ai_review-mode-marker_context-','editing','changeMarkerBlurred','push','createText'];_0x38b3=function(){return _0x4b1aa2;};return _0x38b3();}import{InsertOperation as _0x59738f,MarkerOperation as _0x313ec0,ModelDocumentFragment as _0xa88d6d,ModelPosition as _0x21dffe,ModelRange as _0x1a7d94,ModelTreeWalker as _0x218489,transformOperationSets as _0x3e6590}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x1f46e9,EmitterMixin as _0x158d97}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x43f744}from'ckeditor5/src/core.js';import{DocumentCompare as _0x3d0b1c,DATA_ID_MODEL_ATTRIBUTE as _0x552f21,DATA_ID_VIEW_ATTRIBUTE as _0x56c55f}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x10a5db}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x1f9cec}from'../aicore/aiediting.js';function _0xbbe3(_0x4dfc35,_0x42c096){const _0x38b332=_0x38b3();return _0xbbe3=function(_0xbbe34d,_0x3eb5bd){_0xbbe34d=_0xbbe34d-0x19f;let _0x5eb1b1=_0x38b332[_0xbbe34d];return _0x5eb1b1;},_0xbbe3(_0x4dfc35,_0x42c096);}import{debounce as _0x320744}from'es-toolkit/compat';const he=_0x5b0cae(0x278);export class AIReviewModeEditing extends _0x43f744{static get[_0x5b0cae(0x261)](){const _0x5c4dfc=_0x5b0cae;return _0x5c4dfc(0x1cb);}static get[_0x5b0cae(0x22d)](){return[_0x3d0b1c,_0x1f9cec];}static get[_0x5b0cae(0x238)](){return!0x0;}static get[_0x5b0cae(0x1c6)](){return!0x0;}[_0x5b0cae(0x1eb)]=new Map();[_0x5b0cae(0x256)];[_0x5b0cae(0x230)];constructor(_0x93a162){const _0x48cc9f=_0x5b0cae;super(_0x93a162),this[_0x48cc9f(0x256)]=new(_0x1f46e9())(),this[_0x48cc9f(0x230)]=new(_0x158d97())();}get[_0x5b0cae(0x1d5)](){const _0x2bce8a=_0x5b0cae;return this[_0x2bce8a(0x230)];}[_0x5b0cae(0x1ec)](){const _0x3fb425=_0x5b0cae,_0x4f4a3e=_0x10a5db(this[_0x3fb425(0x24f)]);_0x4f4a3e[_0x3fb425(0x27d)][_0x3fb425(0x200)](_0x3fb425(0x1d7))[_0x3fb425(0x270)]({'model':he+_0x3fb425(0x272),'view':(_0xbc7383,{writer:_0x5efd9e})=>{const _0x2896df=_0x3fb425,_0x14153d=this[_0x2896df(0x1eb)][_0x2896df(0x201)](_0xbc7383[_0x2896df(0x243)]),_0x3411ac={'class':_0x2896df(0x26c),'data-marker-id':_0xbc7383[_0x2896df(0x243)]};return _0x5efd9e[_0x2896df(0x21d)](_0x2896df(0x24b),_0x3411ac,function(_0x557673){const _0x407764=_0x2896df,_0x1a4e2e=this[_0x407764(0x1e1)](_0x557673);return _0x1a4e2e[_0x407764(0x254)]=_0x14153d?.[_0x407764(0x227)]||'',_0x1a4e2e;});}}),_0x4f4a3e[_0x3fb425(0x27d)][_0x3fb425(0x200)](_0x3fb425(0x1d7))[_0x3fb425(0x1a0)]({'model':he+_0x3fb425(0x1b3),'view':_0x2e790c=>({'classes':_0x3fb425(0x1bb),'attributes':{'data-marker-id':_0x2e790c[_0x3fb425(0x243)]}})}),_0x4f4a3e[_0x3fb425(0x27d)][_0x3fb425(0x200)](_0x3fb425(0x1d7))[_0x3fb425(0x1a0)]({'model':he+_0x3fb425(0x241),'view':_0x1978d2=>({'classes':_0x3fb425(0x234),'attributes':{'data-marker-id':_0x1978d2[_0x3fb425(0x243)]}})}),_0x4f4a3e[_0x3fb425(0x27d)][_0x3fb425(0x200)](_0x3fb425(0x1d7))[_0x3fb425(0x1a0)]({'model':he+_0x3fb425(0x290),'view':_0x5ec37e=>({'classes':_0x3fb425(0x280),'attributes':{'data-marker-id':_0x5ec37e[_0x3fb425(0x243)]}})}),_0x4f4a3e[_0x3fb425(0x27d)][_0x3fb425(0x200)](_0x3fb425(0x225))[_0x3fb425(0x270)]({'model':he+_0x3fb425(0x19f),'view':(_0x336a1b,{writer:_0x3881a4})=>_0x3881a4[_0x3fb425(0x24a)](_0x3fb425(0x24b),{'class':_0x3fb425(0x283)+(_0x336a1b[_0x3fb425(0x20b)]?_0x3fb425(0x1e4):_0x3fb425(0x211))})}),_0x4f4a3e[_0x3fb425(0x27d)][_0x3fb425(0x200)](_0x3fb425(0x1a9))[_0x3fb425(0x206)]({'model':_0x552f21,'view':_0x56c55f}),this[_0x3fb425(0x256)][_0x3fb425(0x291)](document,_0x3fb425(0x1f8),(_0xa0df67,_0x45a87c)=>{const _0xe8048d=_0x3fb425,_0x38affa=_0x45a87c[_0xe8048d(0x28a)],_0x412415=this[_0xe8048d(0x21f)](_0x38affa);if(!_0x412415)return;const _0x39c0cb=_0x412415[_0xe8048d(0x1de)](_0xe8048d(0x213)),_0x31184e=_0x39c0cb[_0xe8048d(0x210)](':')[_0xe8048d(0x260)]()?.[_0xe8048d(0x210)]('_')[0x0];this[_0xe8048d(0x230)][_0xe8048d(0x1c7)](_0xe8048d(0x1ff),{'markerId':_0x39c0cb,'changeId':_0x31184e,'markerElement':_0x412415,'domEvent':_0x45a87c});}),this[_0x3fb425(0x256)][_0x3fb425(0x291)](document,_0x3fb425(0x1d1),(_0x467afb,_0x4936a6)=>{const _0x19d5e3=_0x3fb425,_0x15cc21=_0x4936a6[_0x19d5e3(0x28a)],_0x3f6149=_0x4936a6[_0x19d5e3(0x275)];let _0x48eb99=this[_0x19d5e3(0x21f)](_0x15cc21);if(!_0x48eb99&&_0x3f6149&&(_0x48eb99=this[_0x19d5e3(0x21f)](_0x3f6149)),!_0x48eb99)return;const _0x1bc9db=_0x48eb99[_0x19d5e3(0x1de)](_0x19d5e3(0x213)),_0x256d16=_0x1bc9db[_0x19d5e3(0x210)](':')[_0x19d5e3(0x260)]()?.[_0x19d5e3(0x210)]('_')[0x0];this[_0x19d5e3(0x230)][_0x19d5e3(0x1c7)](_0x19d5e3(0x1d8),{'changeId':_0x256d16,'markerElement':_0x48eb99,'domEvent':_0x4936a6});}),this[_0x3fb425(0x256)][_0x3fb425(0x291)](document,_0x3fb425(0x1d1),_0x320744((_0x1608b8,_0x48d0bc)=>{const _0x7b60d=_0x3fb425,_0x236547=_0x48d0bc[_0x7b60d(0x28a)];if(this[_0x7b60d(0x21f)](_0x236547))return;_0x236547[_0x7b60d(0x249)](_0x7b60d(0x1f6))||this[_0x7b60d(0x230)][_0x7b60d(0x1c7)](_0x7b60d(0x285));},0xc8)),_0x4f4a3e[_0x3fb425(0x292)][_0x3fb425(0x1b9)][_0x3fb425(0x28c)](_0x2ae3c6=>this[_0x3fb425(0x1b6)](_0x4f4a3e,_0x2ae3c6)),_0x4f4a3e[_0x3fb425(0x292)][_0x3fb425(0x1b9)]['on'](_0x3fb425(0x239),()=>this[_0x3fb425(0x246)](_0x4f4a3e));}[_0x5b0cae(0x1e3)](){const _0x5233a2=_0x5b0cae,_0x1b6f8c=this[_0x5233a2(0x24f)][_0x5233a2(0x253)][_0x5233a2(0x201)](_0x5233a2(0x1ad)),_0x225f0c=_0x10a5db(this[_0x5233a2(0x24f)]),_0x4cc1dd=_0x225f0c[_0x5233a2(0x292)],_0x49068a=new _0xa88d6d();for(const _0x5ef086 of _0x4cc1dd[_0x5233a2(0x1b9)][_0x5233a2(0x27b)]()[_0x5233a2(0x1bd)]()){const _0x16c7ed=_0x5ef086[_0x5233a2(0x269)](!0x0);_0x49068a[_0x5233a2(0x204)](_0x16c7ed);}for(const _0x3eb8c0 of _0x4cc1dd[_0x5233a2(0x1c3)])_0x49068a[_0x5233a2(0x1c3)][_0x5233a2(0x1c4)](_0x3eb8c0[_0x5233a2(0x215)],this[_0x5233a2(0x202)](_0x3eb8c0[_0x5233a2(0x1f9)]()[_0x5233a2(0x233)](),_0x49068a));const _0x58e81a=new _0x218489({'ignoreElementEnd':!0x0,'startPosition':_0x4cc1dd[_0x5233a2(0x242)](_0x49068a,0x0)}),_0x162c11=new Set(),_0x2b0958=new Map();for(const {item:_0xc1fe50}of _0x58e81a){if(!_0xc1fe50['is'](_0x5233a2(0x27f)))continue;const _0x2d1678=_0xc1fe50[_0x5233a2(0x279)];if(_0x2d1678&&_0x2d1678['is'](_0x5233a2(0x1f5))){const _0x325acc=this[_0x5233a2(0x1e2)](_0x2d1678,()=>_0x1b6f8c[_0x5233a2(0x25b)](_0x162c11));_0x162c11[_0x5233a2(0x1aa)](_0x325acc);for(const _0x1ddc77 of _0x2d1678[_0x5233a2(0x1bd)]())_0x1ddc77['is'](_0x5233a2(0x1f5))&&_0x162c11[_0x5233a2(0x1aa)](this[_0x5233a2(0x1e2)](_0x1ddc77,()=>_0x1b6f8c[_0x5233a2(0x25b)](_0x162c11)));let _0x65dcf9=_0x2d1678;for(;_0x65dcf9[_0x5233a2(0x279)]&&!_0x65dcf9[_0x5233a2(0x279)]['is'](_0x5233a2(0x26a));)_0x65dcf9=_0x65dcf9[_0x5233a2(0x279)],_0x65dcf9[_0x5233a2(0x28d)](_0x552f21)&&_0x65dcf9[_0x5233a2(0x263)](_0x552f21);_0x2b0958[_0x5233a2(0x1c4)](_0x325acc,{'path':_0x2d1678[_0x5233a2(0x1da)](),'getContent':this[_0x5233a2(0x1e9)](_0x65dcf9[_0x5233a2(0x269)](!0x0),_0x325acc,_0x225f0c[_0x5233a2(0x1ed)])}),_0x58e81a[_0x5233a2(0x294)](_0x4cc1dd[_0x5233a2(0x1d4)](_0x2d1678));}}return{'content':_0x225f0c[_0x5233a2(0x1ed)][_0x5233a2(0x295)][_0x5233a2(0x1c9)](_0x225f0c[_0x5233a2(0x1ed)][_0x5233a2(0x271)](_0x49068a)),'version':_0x225f0c[_0x5233a2(0x292)][_0x5233a2(0x1b9)][_0x5233a2(0x289)],'elements':_0x2b0958};}[_0x5b0cae(0x226)](_0x64e92f,_0x4ffc70){const _0x5e2999=_0x5b0cae,_0x543755=[],_0x3ed3e9=_0x10a5db(this[_0x5e2999(0x24f)]),_0x33b04a=_0x3ed3e9[_0x5e2999(0x1ed)][_0x5e2999(0x20d)](_0x4ffc70,_0x5e2999(0x277)),_0x5e47bb=_0x3ed3e9[_0x5e2999(0x1ed)][_0x5e2999(0x20d)](_0x64e92f,_0x5e2999(0x277)),_0x60944f=_0x3ed3e9[_0x5e2999(0x292)][_0x5e2999(0x242)](_0x5e47bb,0x0);if(this[_0x5e2999(0x24e)](_0x33b04a)){if(!this[_0x5e2999(0x221)](_0x5e47bb,_0x33b04a))return _0x543755;}else{const _0x5a7fc9=_0x3ed3e9[_0x5e2999(0x292)][_0x5e2999(0x274)];if(!this[_0x5e2999(0x267)](_0x5e47bb,_0x5a7fc9)||!this[_0x5e2999(0x267)](_0x33b04a,_0x5a7fc9))return _0x543755;}const _0x2fc121=this[_0x5e2999(0x24f)][_0x5e2999(0x253)][_0x5e2999(0x201)](_0x5e2999(0x20c))[_0x5e2999(0x1bf)](_0x64e92f,_0x4ffc70,{'anchor':_0x60944f,'markDeletions':!0x0})[_0x5e2999(0x22f)]()[_0x5e2999(0x1a1)](_0x448974=>_0x5e2999(0x272)===_0x448974[_0x5e2999(0x1d9)]||_0x5e2999(0x28f)===_0x448974[_0x5e2999(0x1d9)]&&_0x448974[_0x5e2999(0x215)][_0x5e2999(0x1ef)](_0x5e2999(0x1f0))),_0xc3a643=this[_0x5e2999(0x23c)](_0x2fc121);let _0xc4560c=0x0;return _0x3ed3e9[_0x5e2999(0x292)][_0x5e2999(0x239)](_0x235b92=>{const _0x52d294=_0x5e2999;for(let _0x4759a3=0x0;_0x4759a3<_0xc3a643[_0x52d294(0x1c0)];_0x4759a3++){const _0x233b4a=_0xc3a643[_0x4759a3],_0x3ee558=_0x235b92[_0x52d294(0x1ea)]();for(const _0x363d12 of _0x5e47bb[_0x52d294(0x1bd)]())_0x235b92[_0x52d294(0x1cc)](_0x363d12[_0x52d294(0x269)](!0x0),_0x3ee558);for(const _0x250c89 of _0x233b4a[_0x52d294(0x207)])if(_0x52d294(0x272)===_0x250c89[_0x52d294(0x1d9)]){const _0x1793d3=_0x250c89;_0x1793d3[_0x52d294(0x1f4)]=null,_0x1793d3[_0x52d294(0x1e0)]=!0x1,this[_0x52d294(0x1f1)](_0x1793d3,_0x3ee558),_0x235b92[_0x52d294(0x1ce)][_0x52d294(0x1fa)](_0x250c89),_0x3ed3e9[_0x52d294(0x292)][_0x52d294(0x1db)](_0x250c89);const _0x541d85=_0x52d294(0x26b)+_0xc4560c++,_0x3d18bf=_0x3ed3e9[_0x52d294(0x292)][_0x52d294(0x264)](_0x1793d3[_0x52d294(0x22c)],_0x1793d3[_0x52d294(0x22c)][_0x52d294(0x212)](_0x1793d3[_0x52d294(0x1ab)]));_0x3ee558[_0x52d294(0x1c3)][_0x52d294(0x1c4)](_0x541d85,_0x3d18bf);}else{if(_0x52d294(0x28f)===_0x250c89[_0x52d294(0x1d9)]&&_0x250c89[_0x52d294(0x215)][_0x52d294(0x1ef)](_0x52d294(0x1f0))){const _0x5461db=_0x250c89,_0x43e114=_0x52d294(0x1a6)+_0xc4560c++;this[_0x52d294(0x1f1)](_0x5461db,_0x3ee558),_0x3ee558[_0x52d294(0x1c3)][_0x52d294(0x1c4)](_0x43e114,_0x5461db[_0x52d294(0x222)]);}}const _0x386c7d=this[_0x52d294(0x22e)](this[_0x52d294(0x265)](this[_0x52d294(0x1ca)](_0x233b4a[_0x52d294(0x207)][0x0]),_0x3ee558),this[_0x52d294(0x265)](this[_0x52d294(0x1e5)](_0x233b4a[_0x52d294(0x207)][_0x233b4a[_0x52d294(0x207)][_0x52d294(0x1c0)]-0x1]),_0x3ee558));_0x3ee558[_0x52d294(0x1c3)][_0x52d294(0x1c4)](he+_0x52d294(0x19f),new _0x1a7d94(_0x386c7d[_0x52d294(0x1e4)],_0x386c7d[_0x52d294(0x211)])),_0x543755[_0x52d294(0x286)]({..._0x233b4a,'context':this[_0x52d294(0x1cf)](_0x3ee558,_0x3ed3e9[_0x52d294(0x1ed)],{'ellipsisBefore':_0x386c7d[_0x52d294(0x296)],'ellipsisAfter':_0x386c7d[_0x52d294(0x1af)]}),'content':this[_0x52d294(0x268)](_0x3ee558,_0x3ed3e9[_0x52d294(0x1ed)])});}}),_0x543755;}[_0x5b0cae(0x1a8)](_0x4aee72,_0x5b4470){const _0x3dfa81=_0x5b0cae;if(!_0x4aee72[_0x3dfa81(0x1c0)])return;const _0x4cee63=_0x4aee72[0x0][_0x3dfa81(0x279)]['id'],_0x5da344=_0x5b4470[_0x3dfa81(0x27c)][_0x3dfa81(0x201)](_0x4cee63);if(!_0x5da344)return void console[_0x3dfa81(0x1ba)](_0x3dfa81(0x209)+_0x4cee63);const _0x58304e=_0x5da344[_0x3dfa81(0x282)],_0x3b033c=_0x10a5db(this[_0x3dfa81(0x24f)]),_0xb43d76=_0x3b033c[_0x3dfa81(0x292)][_0x3dfa81(0x1b9)][_0x3dfa81(0x1b4)][_0x3dfa81(0x22f)](_0x5b4470[_0x3dfa81(0x289)]),_0x4179b7=[];for(const _0xdec0cb of _0x4aee72){const _0x1e01ee=_0xdec0cb[_0x3dfa81(0x207)][_0x3dfa81(0x259)](_0x42efb2=>this[_0x3dfa81(0x21c)](_0x42efb2,_0x58304e,_0x3b033c[_0x3dfa81(0x292)][_0x3dfa81(0x1b9)][_0x3dfa81(0x1d3)]()[0x0]));if(!_0x1e01ee||!_0x1e01ee[_0x3dfa81(0x1c0)])continue;const _0x3d1ab1=_0x1e01ee[_0x3dfa81(0x1fb)](_0x54c3d6=>_0x3dfa81(0x28f)===_0x54c3d6[_0x3dfa81(0x1d9)]&&_0x54c3d6[_0x3dfa81(0x215)][_0x3dfa81(0x1ef)](_0x3dfa81(0x1f0))),_0x6f279={'document':_0x3b033c[_0x3dfa81(0x292)][_0x3dfa81(0x1b9)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2a9444=_0x3e6590(_0x1e01ee,_0xb43d76,_0x6f279)[_0x3dfa81(0x205)];for(const _0xa4449d of _0x2a9444)if(_0x3dfa81(0x272)===_0xa4449d[_0x3dfa81(0x1d9)]){const _0x5cc8be=_0xa4449d,_0x52b023=_0x5cc8be[_0x3dfa81(0x1c2)];let _0x36753d='';for(const _0x472f1b of _0x52b023)_0x472f1b&&_0x472f1b['is'](_0x3dfa81(0x228))&&(_0x36753d+=_0x472f1b[_0x3dfa81(0x1ed)]);_0x4179b7[_0x3dfa81(0x286)]({'start':_0x5cc8be[_0x3dfa81(0x22c)],'end':_0x5cc8be[_0x3dfa81(0x22c)],'type':_0x3dfa81(0x272),'groupId':_0xdec0cb['id'],'text':_0x36753d});}else{if(_0x3dfa81(0x28f)===_0xa4449d[_0x3dfa81(0x1d9)]&&_0xa4449d[_0x3dfa81(0x215)][_0x3dfa81(0x1ef)](_0x3dfa81(0x1f0))){const _0x3a2c10=_0xa4449d;let _0xb37818=_0x3dfa81(0x290);if(_0x3d1ab1){const _0x1375fa=this[_0x3dfa81(0x1fe)](_0x3a2c10[_0x3dfa81(0x222)][_0x3dfa81(0x1e4)],_0x3dfa81(0x28e),_0x3b033c[_0x3dfa81(0x292)][_0x3dfa81(0x274)]),_0x47d398=this[_0x3dfa81(0x1fe)](_0x3a2c10[_0x3dfa81(0x222)][_0x3dfa81(0x211)],_0x3dfa81(0x1b8),_0x3b033c[_0x3dfa81(0x292)][_0x3dfa81(0x274)]);if(_0x1375fa||_0x47d398){const _0x36d50b=_0x3a2c10[_0x3dfa81(0x222)][_0x3dfa81(0x1e4)][_0x3dfa81(0x212)](-_0x1375fa),_0x2ac92f=_0x3a2c10[_0x3dfa81(0x222)][_0x3dfa81(0x211)][_0x3dfa81(0x212)](_0x47d398);_0x4179b7[_0x3dfa81(0x286)]({'start':_0x36d50b,'end':_0x2ac92f,'groupId':_0xdec0cb['id'],'type':_0x3dfa81(0x241)});}else _0xb37818=_0x3dfa81(0x1b3);}_0x4179b7[_0x3dfa81(0x286)]({'start':_0x3a2c10[_0x3dfa81(0x222)][_0x3dfa81(0x1e4)],'end':_0x3a2c10[_0x3dfa81(0x222)][_0x3dfa81(0x211)],'groupId':_0xdec0cb['id'],'type':_0xb37818});}}}this[_0x3dfa81(0x1a7)](_0x4179b7);}[_0x5b0cae(0x281)](){const _0x25bf0=_0x5b0cae,_0x3d5e07=_0x10a5db(this[_0x25bf0(0x24f)]);_0x3d5e07[_0x25bf0(0x292)][_0x25bf0(0x239)](_0x2d2595=>{const _0x4ccda7=_0x25bf0;for(const _0x28f678 of this[_0x4ccda7(0x1eb)][_0x4ccda7(0x25d)]())_0x3d5e07[_0x4ccda7(0x292)][_0x4ccda7(0x1c3)][_0x4ccda7(0x201)](_0x28f678)&&_0x2d2595[_0x4ccda7(0x1a3)](_0x28f678);}),this[_0x25bf0(0x1eb)][_0x25bf0(0x1ac)]();}[_0x5b0cae(0x217)](){const _0x28c6ba=_0x5b0cae;_0x10a5db(this[_0x28c6ba(0x24f)])[_0x28c6ba(0x1c5)](_0x28c6ba(0x258));}[_0x5b0cae(0x25f)](){const _0x575697=_0x5b0cae;_0x10a5db(this[_0x575697(0x24f)])[_0x575697(0x229)](_0x575697(0x258));}[_0x5b0cae(0x247)](_0x45b9c9){const _0xc62e84=_0x5b0cae,_0xe34ee9=_0x10a5db(this[_0xc62e84(0x24f)]),_0x26d0a7=_0xe34ee9[_0xc62e84(0x292)],_0x25f4fe=_0x45b9c9[_0xc62e84(0x259)](_0x5a0bda=>this[_0xc62e84(0x1f3)](_0x5a0bda))[_0xc62e84(0x224)]();_0x26d0a7[_0xc62e84(0x239)](_0x589012=>{const _0x504255=_0xc62e84;for(const _0x2b0aed of _0x25f4fe){const _0x39851e=_0xe34ee9[_0x504255(0x292)][_0x504255(0x1c3)][_0x504255(0x201)](_0x2b0aed['id']);_0x39851e&&(_0x504255(0x272)===_0x2b0aed[_0x504255(0x1d9)]?_0x26d0a7[_0x504255(0x20e)](_0x589012[_0x504255(0x287)](_0x2b0aed[_0x504255(0x227)]||''),_0x39851e[_0x504255(0x1f9)]()[_0x504255(0x1e4)]):_0x504255(0x290)!==_0x2b0aed[_0x504255(0x1d9)]&&_0x504255(0x1b3)!==_0x2b0aed[_0x504255(0x1d9)]||_0x26d0a7[_0x504255(0x26d)](_0x26d0a7[_0x504255(0x1bc)](_0x39851e[_0x504255(0x1f9)]())),_0x589012[_0x504255(0x1a3)](_0x2b0aed['id']),this[_0x504255(0x1eb)][_0x504255(0x22b)](_0x2b0aed['id']));}});}[_0x5b0cae(0x235)](_0x197195){const _0x41a25e=_0x5b0cae,_0x3e4864=_0x10a5db(this[_0x41a25e(0x24f)]),_0x154c31=this[_0x41a25e(0x1f3)](_0x197195);_0x3e4864[_0x41a25e(0x292)][_0x41a25e(0x239)](_0x36df7d=>{const _0x11596a=_0x41a25e;for(const _0x1398fa of _0x154c31)_0x36df7d[_0x11596a(0x1a3)](_0x1398fa['id']),this[_0x11596a(0x1eb)][_0x11596a(0x22b)](_0x1398fa['id']);});}[_0x5b0cae(0x232)](){const _0x4c8709=_0x5b0cae;return _0x10a5db(this[_0x4c8709(0x24f)]);}[_0x5b0cae(0x1b5)](_0x295d99){const _0x1c57bd=_0x5b0cae,_0x507fd8=Array[_0x1c57bd(0x27e)](this[_0x1c57bd(0x1eb)][_0x1c57bd(0x223)]())[_0x1c57bd(0x1a1)](_0x2c2f3f=>_0x2c2f3f[_0x1c57bd(0x1cd)]===_0x295d99);if(!_0x507fd8[_0x1c57bd(0x1c0)])return null;const _0x10bf16=0x1===_0x507fd8[_0x1c57bd(0x1c0)]?_0x507fd8[0x0]:this[_0x1c57bd(0x23f)](_0x507fd8)[0x0],_0x4eac23=_0x10a5db(this[_0x1c57bd(0x24f)]),_0x4280f1=_0x4eac23[_0x1c57bd(0x292)][_0x1c57bd(0x1c3)][_0x1c57bd(0x201)](_0x10bf16['id']);if(!_0x4280f1)return null;const _0x35b8c3=_0x4280f1[_0x1c57bd(0x1f9)](),_0x213efc=_0x4eac23[_0x1c57bd(0x284)][_0x1c57bd(0x1d6)][_0x1c57bd(0x1e6)]();if(!_0x213efc||!_0x35b8c3)return null;const _0x5df112=_0x213efc[_0x1c57bd(0x1a5)](_0x1c57bd(0x216)+_0x10bf16['id']+'\x22]');return _0x5df112?{'modelRange':_0x35b8c3,'domElement':_0x5df112}:null;}[_0x5b0cae(0x1b6)](_0x59aa1a,_0x1f361d){const _0x115fcc=_0x5b0cae,_0x1b0be8=Array[_0x115fcc(0x27e)](this[_0x115fcc(0x1eb)][_0x115fcc(0x25d)]()),_0x2b1159=new Map();for(const _0x135cd4 of _0x1b0be8){const _0xa77c0=_0x59aa1a[_0x115fcc(0x292)][_0x115fcc(0x1c3)][_0x115fcc(0x201)](_0x135cd4);if(!_0xa77c0)continue;const _0x31c0bf=_0xa77c0[_0x115fcc(0x26f)]()[_0x115fcc(0x282)][0x0];_0x2b1159[_0x115fcc(0x27a)](_0x31c0bf)||_0x2b1159[_0x115fcc(0x1c4)](_0x31c0bf,[]),_0x2b1159[_0x115fcc(0x201)](_0x31c0bf)[_0x115fcc(0x286)](_0xa77c0);}const _0x130940=new Set();for(const _0x1fd4eb of _0x59aa1a[_0x115fcc(0x292)][_0x115fcc(0x1b9)][_0x115fcc(0x237)][_0x115fcc(0x1e8)]()){let _0x1d6471=-0x1,_0x2e408e=null;if(_0x115fcc(0x272)===_0x1fd4eb[_0x115fcc(0x1d9)])_0x2e408e=new _0x1a7d94(_0x1fd4eb[_0x115fcc(0x22c)],_0x1fd4eb[_0x115fcc(0x22c)][_0x115fcc(0x212)](_0x1fd4eb[_0x115fcc(0x1c0)])),_0x1d6471=_0x1fd4eb[_0x115fcc(0x22c)][_0x115fcc(0x282)][0x0];else{if(_0x115fcc(0x21e)!==_0x1fd4eb[_0x115fcc(0x1d9)])continue;_0x2e408e=new _0x1a7d94(_0x1fd4eb[_0x115fcc(0x22c)]),_0x1d6471=_0x1fd4eb[_0x115fcc(0x22c)][_0x115fcc(0x282)][0x0];}const _0x152507=_0x2b1159[_0x115fcc(0x201)](_0x1d6471)||[];if(_0x152507[_0x115fcc(0x1c0)]){for(const _0x11d14a of _0x152507)if(_0x2e408e[_0x115fcc(0x24d)][_0x115fcc(0x1b0)]===_0x11d14a[_0x115fcc(0x1f9)]()[_0x115fcc(0x24d)][_0x115fcc(0x1b0)]&&(_0x115fcc(0x272)!==_0x1fd4eb[_0x115fcc(0x1d9)]||!_0x2e408e[_0x115fcc(0x293)](_0x11d14a[_0x115fcc(0x1f9)]()))&&(_0x2e408e[_0x115fcc(0x1b7)](_0x11d14a[_0x115fcc(0x1f9)]())||_0x2e408e[_0x115fcc(0x1e4)][_0x115fcc(0x20f)](_0x11d14a[_0x115fcc(0x1f9)]()[_0x115fcc(0x211)])||_0x2e408e[_0x115fcc(0x211)][_0x115fcc(0x20f)](_0x11d14a[_0x115fcc(0x1f9)]()[_0x115fcc(0x1e4)]))){const _0x4ce443=this[_0x115fcc(0x25e)](_0x11d14a[_0x115fcc(0x215)]);Array[_0x115fcc(0x27e)](this[_0x115fcc(0x1eb)][_0x115fcc(0x223)]())[_0x115fcc(0x1a1)](_0x5ee52b=>_0x5ee52b[_0x115fcc(0x1cd)]===_0x4ce443[_0x115fcc(0x1cd)])[_0x115fcc(0x25c)](_0xa44dc6=>_0x130940[_0x115fcc(0x1aa)](_0xa44dc6['id']));}}}if(_0x130940[_0x115fcc(0x23e)]){for(const _0xec7b4 of _0x130940)_0x1f361d[_0x115fcc(0x1a3)](_0xec7b4);return!0x0;}return!0x1;}[_0x5b0cae(0x246)](_0x38bd07){const _0x265daf=_0x5b0cae;for(const {name:_0x2ac202,data:_0x34720f}of _0x38bd07[_0x265daf(0x292)][_0x265daf(0x1b9)][_0x265daf(0x237)][_0x265daf(0x1df)]()){if(!_0x2ac202[_0x265daf(0x1ef)](he))continue;const _0x20d09f=_0x34720f[_0x265daf(0x236)],_0xf8096c=_0x34720f[_0x265daf(0x222)],_0x7c0dc1=_0x20d09f&&_0x265daf(0x218)===_0x20d09f[_0x265daf(0x24d)][_0x265daf(0x1b0)],_0x3604ac=_0xf8096c&&_0x265daf(0x218)===_0xf8096c[_0x265daf(0x24d)][_0x265daf(0x1b0)];if(_0x7c0dc1&&_0x3604ac)continue;const _0x8388f=this[_0x265daf(0x25e)](_0x2ac202);this[_0x265daf(0x1eb)][_0x265daf(0x201)](_0x2ac202)&&(_0x3604ac||!_0xf8096c?this[_0x265daf(0x230)][_0x265daf(0x1c7)](_0x265daf(0x1b2),{'markerId':_0x2ac202,'changeId':_0x8388f[_0x265daf(0x1cd)]}):_0x7c0dc1&&_0xf8096c&&this[_0x265daf(0x230)][_0x265daf(0x1c7)](_0x265daf(0x1fd),{'markerId':_0x2ac202,'changeId':_0x8388f[_0x265daf(0x1cd)]}));}}[_0x5b0cae(0x25e)](_0x4a9e45){const _0x52a223=_0x5b0cae,_0x159bda=_0x4a9e45[_0x52a223(0x210)](':'),_0xe19a7b=(_0x159bda[0x1]||'')[_0x52a223(0x210)]('_');return{'prefix':_0x159bda[0x0],'groupId':_0xe19a7b[0x0],'suffix':_0xe19a7b[0x1]};}[_0x5b0cae(0x21c)](_0x54788f,_0x4276ab,_0x45416b){const _0x42395b=_0x5b0cae;if(_0x42395b(0x272)===_0x54788f[_0x42395b(0x1d9)]){const _0x5f254c=_0x54788f;return new _0x59738f(this[_0x42395b(0x1c8)](_0x4276ab[_0x42395b(0x1e7)](_0x5f254c[_0x42395b(0x22c)][_0x42395b(0x28b)]),_0x45416b),_0x5f254c[_0x42395b(0x1c2)],_0x5f254c[_0x42395b(0x1f4)]);}if(_0x42395b(0x28f)===_0x54788f[_0x42395b(0x1d9)]&&_0x54788f[_0x42395b(0x215)][_0x42395b(0x1ef)](_0x42395b(0x1f0))){const _0x591b97=_0x54788f;return new _0x313ec0(_0x591b97[_0x42395b(0x215)],_0x591b97[_0x42395b(0x236)],this[_0x42395b(0x1a4)](_0x591b97[_0x42395b(0x222)],_0x4276ab[_0x42395b(0x1e7)](_0x591b97[_0x42395b(0x222)][_0x42395b(0x1e4)][_0x42395b(0x28b)]),_0x4276ab[_0x42395b(0x1e7)](_0x591b97[_0x42395b(0x222)][_0x42395b(0x211)][_0x42395b(0x28b)]),_0x45416b),_0x591b97[_0x42395b(0x1eb)],_0x591b97[_0x42395b(0x245)],_0x591b97[_0x42395b(0x1f4)]);}return _0x54788f;}[_0x5b0cae(0x23c)](_0x190d74){const _0x8ad82b=_0x5b0cae;if(!_0x190d74[_0x8ad82b(0x1c0)])return[];const _0x1e6bf9=[];let _0x385342=0x0,_0xe675b4=0x0,_0x80a298=[];for(let _0x447deb=0x0;_0x447deb<=_0x190d74[_0x8ad82b(0x1c0)];_0x447deb++){const _0x1b2439=_0x190d74[_0x447deb],_0x5dad41=_0x190d74[_0x447deb-0x1];!_0x1b2439||_0x5dad41&&!this[_0x8ad82b(0x1e5)](_0x5dad41)[_0x8ad82b(0x20f)](this[_0x8ad82b(0x1ca)](_0x1b2439))?(_0x1e6bf9[_0x8ad82b(0x286)]({'operations':_0x80a298,'operationsIsolated':_0x80a298[_0x8ad82b(0x259)](_0xacc98d=>this[_0x8ad82b(0x21a)](_0xacc98d[_0x8ad82b(0x233)](),-_0xe675b4)),'groupOffset':_0x385342}),_0x80a298=_0x1b2439?[_0x1b2439]:[],_0xe675b4+=_0x385342,_0x385342=0x0):_0x80a298[_0x8ad82b(0x286)](_0x1b2439),_0x1b2439&&_0x8ad82b(0x272)===_0x1b2439[_0x8ad82b(0x1d9)]&&(_0x385342+=_0x1b2439[_0x8ad82b(0x1ab)]);}return _0x1e6bf9;}[_0x5b0cae(0x1fe)](_0x26b65b,_0x5c7751,_0x2a3699,_0x1e9f55=0x1){const _0xb318f1=_0x5b0cae,_0x7b5c36=new _0x218489({'startPosition':_0x26b65b,'direction':_0x5c7751});let _0x5df77b=0x0;for(let _0x225cfc=0x0;_0x225cfc<_0x1e9f55;_0x225cfc++){let _0x4f5305=0x0,_0x1002c9=!0x1,_0x1f014d=_0xb318f1(0x1b8)===_0x5c7751?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x413fd0}of _0x7b5c36)if(_0x413fd0['is'](_0xb318f1(0x27f))){const _0x50cbd3=_0x1f014d[_0xb318f1(0x23a)](_0x413fd0[_0xb318f1(0x1ed)]);if(_0x50cbd3&&_0x50cbd3[_0xb318f1(0x1c0)]){if(_0x4f5305+=_0xb318f1(0x1b8)===_0x5c7751?_0x50cbd3[_0xb318f1(0x26e)]+_0x50cbd3[0x0][_0xb318f1(0x1c0)]:_0x413fd0[_0xb318f1(0x1ed)][_0xb318f1(0x1c0)]-_0x50cbd3[_0xb318f1(0x26e)],_0x50cbd3[0x0][_0xb318f1(0x1c0)]!==_0x413fd0[_0xb318f1(0x1ed)][_0xb318f1(0x1c0)])break;_0x1002c9=!0x0,_0x1f014d=_0xb318f1(0x1b8)===_0x5c7751?/^\w+/:/\w+$/;}else{if(_0x1002c9)break;_0x4f5305+=_0x413fd0[_0xb318f1(0x24c)];}}else{if(_0x413fd0['is'](_0xb318f1(0x1f5))){_0x2a3699[_0xb318f1(0x219)](_0x413fd0)&&!_0x1002c9&&(_0x4f5305+=0x1);break;}}_0x5df77b+=_0x4f5305,_0x7b5c36[_0xb318f1(0x294)](_0x26b65b[_0xb318f1(0x212)](_0xb318f1(0x1b8)===_0x5c7751?_0x5df77b:-_0x5df77b));}return _0x5df77b;}[_0x5b0cae(0x22e)](_0x3eb59e,_0x2ddc52){const _0x30d1f3=_0x5b0cae,_0x3e6a0e=_0x10a5db(this[_0x30d1f3(0x24f)])[_0x30d1f3(0x292)][_0x30d1f3(0x274)],_0xeb9384=this[_0x30d1f3(0x1fe)](_0x3eb59e,_0x30d1f3(0x28e),_0x3e6a0e,0x6),_0x113d89=this[_0x30d1f3(0x1fe)](_0x2ddc52,_0x30d1f3(0x1b8),_0x3e6a0e,0x6),_0x70a144=_0x3eb59e[_0x30d1f3(0x212)](-_0xeb9384),_0x486fa0=_0x2ddc52[_0x30d1f3(0x212)](_0x113d89);return{'start':_0x70a144,'end':_0x486fa0,'hasContentBefore':!_0x70a144[_0x30d1f3(0x1fc)],'hasContentAfter':!_0x486fa0[_0x30d1f3(0x1f7)]};}[_0x5b0cae(0x1a7)](_0x27c5b6){const _0xc87f46=_0x5b0cae,_0x31d4d6=this[_0xc87f46(0x24f)][_0xc87f46(0x253)][_0xc87f46(0x201)](_0xc87f46(0x1ad)),_0x1d1fdb=new Set();_0x10a5db(this[_0xc87f46(0x24f)])[_0xc87f46(0x292)][_0xc87f46(0x239)](_0x26ae2=>{const _0x42a883=_0xc87f46;for(const _0x3eed02 of _0x27c5b6){const _0x4e4193=''+he+_0x3eed02[_0x42a883(0x1d9)]+':'+_0x3eed02[_0x42a883(0x1cd)]+'_'+_0x31d4d6[_0x42a883(0x25b)](_0x1d1fdb);this[_0x42a883(0x1eb)][_0x42a883(0x1c4)](_0x4e4193,{'id':_0x4e4193,'groupId':_0x3eed02[_0x42a883(0x1cd)],'type':_0x3eed02[_0x42a883(0x1d9)],'text':_0x3eed02[_0x42a883(0x227)]}),_0x26ae2[_0x42a883(0x220)](_0x4e4193,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x26ae2[_0x42a883(0x264)](_0x3eed02[_0x42a883(0x1e4)],_0x3eed02[_0x42a883(0x211)])});}});}[_0x5b0cae(0x1cf)](_0x3e7e5d,_0x2424b1,_0x1aee4c){let _0x280d07='';return()=>{const _0x28a6cf=_0xbbe3;if(!_0x280d07){const _0x1bb441=_0x2424b1[_0x28a6cf(0x271)](_0x3e7e5d,{'showSuggestionHighlights':!0x0});let _0x49fa37=_0x1bb441[_0x28a6cf(0x1a2)](0x0);if(_0x49fa37['is'](_0x28a6cf(0x250))||(_0x49fa37=_0x1bb441),!_0x49fa37)return'';let _0x5656b2=!0x1;const _0x570fd6=[];for(const _0x5075fc of _0x49fa37[_0x28a6cf(0x1bd)]())_0x5075fc['is'](_0x28a6cf(0x1f5),_0x28a6cf(0x24b))&&_0x5075fc[_0x28a6cf(0x276)](_0x28a6cf(0x255))&&(_0x5656b2=!0x1),_0x5656b2&&_0x570fd6[_0x28a6cf(0x286)](_0x5075fc),_0x5075fc['is'](_0x28a6cf(0x1f5),_0x28a6cf(0x24b))&&_0x5075fc[_0x28a6cf(0x276)](_0x28a6cf(0x1dd))&&(_0x5656b2=!0x0);_0x49fa37[_0x28a6cf(0x252)](0x0,_0x49fa37[_0x28a6cf(0x203)]),_0x1aee4c?.[_0x28a6cf(0x262)]&&_0x49fa37[_0x28a6cf(0x204)]('…'),_0x49fa37[_0x28a6cf(0x204)](_0x570fd6),_0x1aee4c?.[_0x28a6cf(0x21b)]&&_0x49fa37[_0x28a6cf(0x204)]('…');const _0x2e6759=_0x2424b1[_0x28a6cf(0x1c1)][_0x28a6cf(0x1d0)][_0x28a6cf(0x240)](_0x1bb441),_0x2bb5e0=_0x2424b1[_0x28a6cf(0x1c1)][_0x28a6cf(0x231)][_0x28a6cf(0x25a)](_0x2e6759);_0x280d07=_0x2bb5e0;}return _0x280d07;};}[_0x5b0cae(0x268)](_0x2d3f9d,_0x45214){const _0x1c2183=_0x5b0cae;let _0x33d359='';return()=>(_0x33d359||(_0x33d359=_0x45214[_0x1c2183(0x251)](_0x2d3f9d,{'showSuggestionHighlights':!0x0})),_0x33d359);}[_0x5b0cae(0x1e9)](_0x467fcc,_0x40a78a,_0x2400c8){let _0x177041='';return()=>{const _0x1e56d1=_0xbbe3;if(!_0x177041){const _0x219964=_0x2400c8[_0x1e56d1(0x271)](new _0xa88d6d(_0x467fcc)),_0x34be54=_0x2400c8[_0x1e56d1(0x1c1)][_0x1e56d1(0x1d0)][_0x1e56d1(0x240)](_0x219964)[_0x1e56d1(0x1a5)](_0x1e56d1(0x257)+_0x40a78a+'\x22]');_0x177041=_0x34be54?.[_0x1e56d1(0x1be)]||'';}return _0x177041;};}[_0x5b0cae(0x21f)](_0x14d490,_0x5274c0=0x5){const _0x1c82f7=_0x5b0cae;let _0x5f28af=_0x14d490,_0x1a742e=null;for(let _0x57139f=0x0;_0x57139f<_0x5274c0&&_0x5f28af;_0x57139f++){if(!_0x5f28af[_0x1c82f7(0x214)]){_0x5f28af=_0x5f28af[_0x1c82f7(0x23d)];continue;}if(!(''+_0x5f28af[_0x1c82f7(0x214)])[_0x1c82f7(0x22a)](_0x1c82f7(0x1d2))){_0x5f28af=_0x5f28af[_0x1c82f7(0x23d)];continue;}if(!_0x5f28af[_0x1c82f7(0x1de)](_0x1c82f7(0x213)))break;_0x1a742e=_0x5f28af;break;}return _0x1a742e;}[_0x5b0cae(0x1f3)](_0x443d80){const _0x17ce37=_0x5b0cae;return Array[_0x17ce37(0x27e)](this[_0x17ce37(0x1eb)][_0x17ce37(0x223)]())[_0x17ce37(0x1a1)](_0x5d47d3=>_0x5d47d3[_0x17ce37(0x1cd)]===_0x443d80);}[_0x5b0cae(0x1ca)](_0x514b4b){const _0x29ec42=_0x5b0cae;return _0x29ec42(0x272)===_0x514b4b[_0x29ec42(0x1d9)]?_0x514b4b[_0x29ec42(0x22c)]:_0x514b4b[_0x29ec42(0x222)][_0x29ec42(0x1e4)];}[_0x5b0cae(0x1e5)](_0x2ac6ff,_0x145f9e=!0x1){const _0x3d0cfe=_0x5b0cae;return _0x3d0cfe(0x272)===_0x2ac6ff[_0x3d0cfe(0x1d9)]?_0x145f9e?_0x2ac6ff[_0x3d0cfe(0x22c)]:_0x2ac6ff[_0x3d0cfe(0x22c)][_0x3d0cfe(0x212)](_0x2ac6ff[_0x3d0cfe(0x1ab)]):_0x2ac6ff[_0x3d0cfe(0x222)][_0x3d0cfe(0x211)];}[_0x5b0cae(0x21a)](_0x14700c,_0x380573){const _0x3cfb2d=_0x5b0cae;return _0x3cfb2d(0x272)===_0x14700c[_0x3cfb2d(0x1d9)]?_0x14700c[_0x3cfb2d(0x22c)]=_0x14700c[_0x3cfb2d(0x22c)][_0x3cfb2d(0x212)](_0x380573):_0x3cfb2d(0x28f)===_0x14700c[_0x3cfb2d(0x1d9)]&&_0x14700c[_0x3cfb2d(0x222)]&&(_0x14700c[_0x3cfb2d(0x222)]=new _0x1a7d94(_0x14700c[_0x3cfb2d(0x222)][_0x3cfb2d(0x1e4)][_0x3cfb2d(0x212)](_0x380573),_0x14700c[_0x3cfb2d(0x222)][_0x3cfb2d(0x211)][_0x3cfb2d(0x212)](_0x380573))),_0x14700c;}[_0x5b0cae(0x1f1)](_0x302504,_0x51391a){const _0x5783cd=_0x5b0cae;_0x5783cd(0x272)===_0x302504[_0x5783cd(0x1d9)]?_0x302504[_0x5783cd(0x22c)]=this[_0x5783cd(0x265)](_0x302504[_0x5783cd(0x22c)],_0x51391a):_0x5783cd(0x28f)===_0x302504[_0x5783cd(0x1d9)]&&_0x302504[_0x5783cd(0x222)]&&(_0x302504[_0x5783cd(0x222)]=this[_0x5783cd(0x202)](_0x302504[_0x5783cd(0x222)],_0x51391a));}[_0x5b0cae(0x265)](_0x51b611,_0x1a033f){const _0x14bd09=_0x5b0cae;return new _0x21dffe(_0x1a033f,_0x51b611[_0x14bd09(0x282)]);}[_0x5b0cae(0x202)](_0x4f5589,_0x2e906d){const _0x2bff81=_0x5b0cae;return new _0x1a7d94(this[_0x2bff81(0x265)](_0x4f5589[_0x2bff81(0x1e4)],_0x2e906d),this[_0x2bff81(0x265)](_0x4f5589[_0x2bff81(0x211)],_0x2e906d));}[_0x5b0cae(0x1c8)](_0x55b1ec,_0x2900ae){return new _0x21dffe(_0x2900ae,[..._0x55b1ec]);}[_0x5b0cae(0x1a4)](_0x2dac19,_0x395c53,_0x144f56,_0x549b62){const _0x1df313=_0x5b0cae;return new _0x1a7d94(this[_0x1df313(0x1c8)](_0x395c53,_0x549b62),this[_0x1df313(0x1c8)](_0x144f56,_0x549b62));}[_0x5b0cae(0x23f)](_0x4030bb){const _0x34c5d6=_0x5b0cae,_0x1fd136=_0x59125c=>{const _0xb27527=_0xbbe3;switch(_0x59125c){case _0xb27527(0x272):return 0x1;case _0xb27527(0x241):return 0x2;case _0xb27527(0x1b3):return 0x3;case _0xb27527(0x290):return 0x4;}};return _0x4030bb[_0x34c5d6(0x23b)]((_0x5ac23c,_0x2c7d21)=>_0x1fd136(_0x5ac23c[_0x34c5d6(0x1d9)])-_0x1fd136(_0x2c7d21[_0x34c5d6(0x1d9)]));}[_0x5b0cae(0x221)](_0x5255b0,_0x2d3b32){const _0x4a5a22=_0x5b0cae,_0x2b4638=_0x5255b0[_0x4a5a22(0x1a2)](0x0),_0x1c6f03=_0x2d3b32[_0x4a5a22(0x1a2)](0x0);return!(!_0x2b4638||!_0x1c6f03)&&((!_0x2b4638['is'](_0x4a5a22(0x1f5))||!_0x1c6f03['is'](_0x4a5a22(0x1f5))||_0x2b4638[_0x4a5a22(0x215)]===_0x1c6f03[_0x4a5a22(0x215)])&&!(_0x2b4638['is'](_0x4a5a22(0x1f5))&&!_0x1c6f03['is'](_0x4a5a22(0x1f5))||!_0x2b4638['is'](_0x4a5a22(0x1f5))&&_0x1c6f03['is'](_0x4a5a22(0x1f5))));}[_0x5b0cae(0x24e)](_0xe5f1d9){const _0x311e2b=_0x5b0cae;return 0x1===_0xe5f1d9[_0x311e2b(0x203)];}[_0x5b0cae(0x267)](_0x187af0,_0xe90b9d){const _0x4f998b=_0x5b0cae;for(const _0x259637 of _0x187af0[_0x4f998b(0x1bd)]())if(_0x259637['is'](_0x4f998b(0x1f5))&&!_0xe90b9d[_0x4f998b(0x219)](_0x259637))return!0x1;return!0x0;}[_0x5b0cae(0x1e2)](_0x43a8ef,_0x444e9e){const _0x22ef1c=_0x5b0cae;let _0x1d05b4=_0x43a8ef[_0x22ef1c(0x1de)](_0x552f21);return _0x1d05b4||(_0x1d05b4=_0x444e9e(),_0x43a8ef[_0x22ef1c(0x288)](_0x552f21,_0x1d05b4)),_0x1d05b4;}}
|
|
23
|
+
function _0x3818(){const _0x220682=['createText','[data-marker-id=\x22','isInline','_hasSameTopLevelElement','listenTo','_removeAttribute','getDiff','mouseover','ellipsisAfter','1341324PRLUDP','suggestion:insertion:id:authorId:','howMany','_changePositionOwnerDocument','_groupAdjacentOperations','getStart','_domEmitter','10425765BGjLXX','querySelector','dataDowncast','markerName','hasContentAfter','clone','_removeChildren','_getOperationEnd','every','_changeOperationOwnerDocument','viewToDom','ck-ai_review-mode-marker_add','start','_getMarkersDataForGroup','_shiftOperation','exec','_getOperationStart','model','ck-ai_review-mode-marker_underline','forEach','_createGetContentUsingDataIdFn','_nextDataId','baseVersion','_setAttribute','markChangePositionInEditorContent','getRoot','_findMarkerElement','isAtEnd','isIntersecting','history','values','26200vdgkcV','switchToEdit','data-marker-id','_parseMarkerName','remove-text','forward','insert','getPath','_changeRange','push','remove','_changePosition','createDocumentFragment','ck-ai_review-mode-marker_context-','diffContent','hasAttribute','editing','96682EEzpnh','delete','view','differ','map','ck-ai_review-mode-marker_context-end','clearAllMarkers','remove-context','innerHTML','root','_findAdjacentContextDistance','end','_insertMarkers','element','change','add','deleteContent','reviewmode-','nodes','changeMarkerClick','suggestion-context','isPremiumPlugin','startsWith','newRange','hasContentBefore','split','length','ck-ai_review-mode-marker_','5166884FIEMNL','getOperations','getDocumentData','stringify','getHtml','model:$text','createRawElement','_translateOperationToEditorContent','getChildren','editingDowncast','ck-ai_review-mode-marker_hide','getRoots','addMarker','className','keys','111lcqqLd','78AiFIQc','warn','_eventEmitter','includes','disableReadOnlyMode','addOperation','markerToElement','containsRange','fire','$textProxy','removeMarker','parse','insertContent','No\x20element\x20found\x20for\x20ID:\x20','conversion','createPositionAt','7461UIYzJv','_clone','_validateMarkers','_sortMarkers','parentElement','groupId','_appendChild','name','applyOperation','document','htmlWriter','flat','markers','_createGetContextFn','416895UeNFjV','getChanges','createRange','elements','applyChange','text','pop','closest','processor','_haveOnlyInlineContent','registerPostFixer','append','documentFragment','[data-id=\x22','backward','_upsertDataId','offset','suggestion:deletion:id:authorId:','concat','createUIElement','childCount','remove-only','htmlProcessor','afterInit','getAttribute','_getChangeContext','getDomRoot','position','_createGetContentFn','ck-ai_review-mode-marker_strikethrough','hasClass','get','isOpening','outerHTML','$documentFragment','getChangedMarkers','_handleMarkerChanges','getEditor','rejectChange','operationsA','index','9208JYNIbL','AIEditing','affectsData','version','changeMarkerBlurred','createSelection','filter','toData','clear','type','context','isAtStart','parent','ai-review-mode','offsetSize','changeMarkerRemoved','span','data','changeMarkerHovered','toView','getMarkerElementForChange','marker','toDomElement','AIReviewModeEditing','relatedTarget','$markedRemove','emitter','target','batch','operationsIsolated','isOfficialPlugin','DocumentCompare','path','domConverter','rootName','switchToReadOnly','ellipsisBefore','getShiftedBy','enableReadOnlyMode','for','sort','oldRange','plugins','getRange','_haveSingleTopLevelElement','click','set','_markers','2222nueErs','pluginName','requires','from','jumpTo','schema','attributeToAttribute','changeMarkerRestored','ck-ai_review-mode-marker_context-start','_changeRangeOwnerDocument','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','markerToHighlight','isDocumentOperation','isTouching','containerElement','size','downcast','createPositionAfter','getChild','$graveyard','has'];_0x3818=function(){return _0x220682;};return _0x3818();}const _0x195745=_0x3aac;function _0x3aac(_0x34ab5c,_0x42312c){const _0x3818ef=_0x3818();return _0x3aac=function(_0x3aac09,_0x502141){_0x3aac09=_0x3aac09-0x14c;let _0x25c67c=_0x3818ef[_0x3aac09];return _0x25c67c;},_0x3aac(_0x34ab5c,_0x42312c);}(function(_0x5df552,_0x52f6d3){const _0x21ac6a=_0x3aac,_0x392d81=_0x5df552();while(!![]){try{const _0x256c70=-parseInt(_0x21ac6a(0x17f))/0x1+-parseInt(_0x21ac6a(0x1b6))/0x2*(-parseInt(_0x21ac6a(0x1e1))/0x3)+parseInt(_0x21ac6a(0x1d2))/0x4+parseInt(_0x21ac6a(0x200))/0x5*(parseInt(_0x21ac6a(0x1e2))/0x6)+-parseInt(_0x21ac6a(0x186))/0x7+-parseInt(_0x21ac6a(0x229))/0x8*(parseInt(_0x21ac6a(0x1f2))/0x9)+parseInt(_0x21ac6a(0x1a5))/0xa*(parseInt(_0x21ac6a(0x161))/0xb);if(_0x256c70===_0x52f6d3)break;else _0x392d81['push'](_0x392d81['shift']());}catch(_0xc4fb23){_0x392d81['push'](_0x392d81['shift']());}}}(_0x3818,0xddd3f));import{InsertOperation as _0x136907,MarkerOperation as _0xb9f64e,ModelDocumentFragment as _0xf8f223,ModelPosition as _0x20cfa2,ModelRange as _0x3cbfe2,ModelTreeWalker as _0x142737,transformOperationSets as _0x21c2b7}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x23cf40,EmitterMixin as _0x513548}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5a8ae3}from'ckeditor5/src/core.js';import{DocumentCompare as _0x2775c9,DATA_ID_MODEL_ATTRIBUTE as _0x1022f4,DATA_ID_VIEW_ATTRIBUTE as _0x27eefc}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x4532a2}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x484e39}from'../aicore/aiediting.js';import{debounce as _0x37eadb}from'es-toolkit/compat';const le=_0x195745(0x1c7);export class AIReviewModeEditing extends _0x5a8ae3{static get[_0x195745(0x162)](){const _0x4098e0=_0x195745;return _0x4098e0(0x240);}static get[_0x195745(0x163)](){return[_0x2775c9,_0x484e39];}static get[_0x195745(0x14f)](){return!0x0;}static get[_0x195745(0x1cb)](){return!0x0;}[_0x195745(0x160)]=new Map();[_0x195745(0x185)];[_0x195745(0x1e4)];constructor(_0x11e138){const _0x26068f=_0x195745;super(_0x11e138),this[_0x26068f(0x185)]=new(_0x23cf40())(),this[_0x26068f(0x1e4)]=new(_0x513548())();}get[_0x195745(0x243)](){const _0x13c0ba=_0x195745;return this[_0x13c0ba(0x1e4)];}[_0x195745(0x217)](){const _0x18de65=_0x195745,_0x2e766e=_0x4532a2(this[_0x18de65(0x233)]);_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x1db))[_0x18de65(0x1e8)]({'model':le+_0x18de65(0x1ab),'view':(_0x17a6df,{writer:_0x2de06f})=>{const _0x764b28=_0x18de65,_0x2afc30=this[_0x764b28(0x160)][_0x764b28(0x21f)](_0x17a6df[_0x764b28(0x189)]),_0x3da636={'class':_0x764b28(0x191),'data-marker-id':_0x17a6df[_0x764b28(0x189)]};return _0x2de06f[_0x764b28(0x213)](_0x764b28(0x239),_0x3da636,function(_0x3c36bf){const _0x42c3c0=_0x764b28,_0x16b758=this[_0x42c3c0(0x23f)](_0x3c36bf);return _0x16b758[_0x42c3c0(0x1be)]=_0x2afc30?.[_0x42c3c0(0x205)]||'',_0x16b758;});}}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x1db))[_0x18de65(0x16c)]({'model':le+_0x18de65(0x215),'view':_0x3f950e=>({'classes':_0x18de65(0x21d),'attributes':{'data-marker-id':_0x3f950e[_0x18de65(0x189)]}})}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x1db))[_0x18de65(0x16c)]({'model':le+_0x18de65(0x1bd),'view':_0x596215=>({'classes':_0x18de65(0x198),'attributes':{'data-marker-id':_0x596215[_0x18de65(0x189)]}})}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x1db))[_0x18de65(0x16c)]({'model':le+_0x18de65(0x1a9),'view':_0x1fed4f=>({'classes':_0x18de65(0x1dc),'attributes':{'data-marker-id':_0x1fed4f[_0x18de65(0x189)]}})}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x188))[_0x18de65(0x1e8)]({'model':le+_0x18de65(0x1ca),'view':(_0x429681,{writer:_0x459f01})=>_0x459f01[_0x18de65(0x1d8)](_0x18de65(0x239),{'class':_0x18de65(0x1b2)+(_0x429681[_0x18de65(0x220)]?_0x18de65(0x192):_0x18de65(0x1c1))})}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x171))[_0x18de65(0x167)]({'model':_0x1022f4,'view':_0x27eefc}),this[_0x18de65(0x185)][_0x18de65(0x17a)](document,_0x18de65(0x15e),(_0x1cc748,_0x9c0c99)=>{const _0x4d8d13=_0x18de65,_0x38efca=_0x9c0c99[_0x4d8d13(0x14c)],_0x9025dc=this[_0x4d8d13(0x1a0)](_0x38efca);if(!_0x9025dc)return;const _0x3f1594=_0x9025dc[_0x4d8d13(0x218)](_0x4d8d13(0x1a7)),_0x895647=_0x3f1594[_0x4d8d13(0x1cf)](':')[_0x4d8d13(0x206)]()?.[_0x4d8d13(0x1cf)]('_')[0x0];this[_0x4d8d13(0x1e4)][_0x4d8d13(0x1ea)](_0x4d8d13(0x1c9),{'markerId':_0x3f1594,'changeId':_0x895647,'markerElement':_0x9025dc,'domEvent':_0x9c0c99});}),this[_0x18de65(0x185)][_0x18de65(0x17a)](document,_0x18de65(0x17d),(_0x2ef3c7,_0x537ee3)=>{const _0x31929a=_0x18de65,_0x4c67f1=_0x537ee3[_0x31929a(0x14c)],_0x4d8be4=_0x537ee3[_0x31929a(0x241)];let _0x663fb3=this[_0x31929a(0x1a0)](_0x4c67f1);if(!_0x663fb3&&_0x4d8be4&&(_0x663fb3=this[_0x31929a(0x1a0)](_0x4d8be4)),!_0x663fb3)return;const _0x28665c=_0x663fb3[_0x31929a(0x218)](_0x31929a(0x1a7)),_0x27f181=_0x28665c[_0x31929a(0x1cf)](':')[_0x31929a(0x206)]()?.[_0x31929a(0x1cf)]('_')[0x0];this[_0x31929a(0x1e4)][_0x31929a(0x1ea)](_0x31929a(0x23b),{'changeId':_0x27f181,'markerElement':_0x663fb3,'domEvent':_0x537ee3});}),this[_0x18de65(0x185)][_0x18de65(0x17a)](document,_0x18de65(0x17d),_0x37eadb((_0x52851e,_0x12b55a)=>{const _0x3f41c8=_0x18de65,_0x55d79f=_0x12b55a[_0x3f41c8(0x14c)];if(this[_0x3f41c8(0x1a0)](_0x55d79f))return;_0x55d79f[_0x3f41c8(0x207)](_0x3f41c8(0x16b))||this[_0x3f41c8(0x1e4)][_0x3f41c8(0x1ea)](_0x3f41c8(0x22d));},0xc8)),_0x2e766e[_0x18de65(0x197)][_0x18de65(0x1fb)][_0x18de65(0x20a)](_0x154d42=>this[_0x18de65(0x1f4)](_0x2e766e,_0x154d42)),_0x2e766e[_0x18de65(0x197)][_0x18de65(0x1fb)]['on'](_0x18de65(0x1c4),()=>this[_0x18de65(0x224)](_0x2e766e));}[_0x195745(0x1d4)](){const _0x5beae2=_0x195745,_0x47239a=this[_0x5beae2(0x233)][_0x5beae2(0x15b)][_0x5beae2(0x21f)](_0x5beae2(0x22a)),_0x2345c5=_0x4532a2(this[_0x5beae2(0x233)]),_0x12b31c=_0x2345c5[_0x5beae2(0x197)],_0x2f4aa0=new _0xf8f223();for(const _0x12203f of _0x12b31c[_0x5beae2(0x1fb)][_0x5beae2(0x19f)]()[_0x5beae2(0x1da)]()){const _0x50d03a=_0x12203f[_0x5beae2(0x1f3)](!0x0);_0x2f4aa0[_0x5beae2(0x1f8)](_0x50d03a);}for(const _0x54ad77 of _0x12b31c[_0x5beae2(0x1fe)])_0x2f4aa0[_0x5beae2(0x1fe)][_0x5beae2(0x15f)](_0x54ad77[_0x5beae2(0x1f9)],this[_0x5beae2(0x16a)](_0x54ad77[_0x5beae2(0x15c)]()[_0x5beae2(0x18b)](),_0x2f4aa0));const _0x35e075=new _0x142737({'ignoreElementEnd':!0x0,'startPosition':_0x12b31c[_0x5beae2(0x1f1)](_0x2f4aa0,0x0)}),_0x440771=new Set(),_0x3fe9e8=new Map();for(const {item:_0x556c57}of _0x35e075){if(!_0x556c57['is'](_0x5beae2(0x1eb)))continue;const _0x32b8e9=_0x556c57[_0x5beae2(0x235)];if(_0x32b8e9&&_0x32b8e9['is'](_0x5beae2(0x1c3))){const _0x5ed21d=this[_0x5beae2(0x20f)](_0x32b8e9,()=>_0x47239a[_0x5beae2(0x19b)](_0x440771));_0x440771[_0x5beae2(0x1c5)](_0x5ed21d);for(const _0x1e80f9 of _0x32b8e9[_0x5beae2(0x1da)]())_0x1e80f9['is'](_0x5beae2(0x1c3))&&_0x440771[_0x5beae2(0x1c5)](this[_0x5beae2(0x20f)](_0x1e80f9,()=>_0x47239a[_0x5beae2(0x19b)](_0x440771)));let _0x5f12b8=_0x32b8e9;for(;_0x5f12b8[_0x5beae2(0x235)]&&!_0x5f12b8[_0x5beae2(0x235)]['is'](_0x5beae2(0x20c));)_0x5f12b8=_0x5f12b8[_0x5beae2(0x235)],_0x5f12b8[_0x5beae2(0x1b4)](_0x1022f4)&&_0x5f12b8[_0x5beae2(0x17b)](_0x1022f4);_0x3fe9e8[_0x5beae2(0x15f)](_0x5ed21d,{'path':_0x32b8e9[_0x5beae2(0x1ac)](),'getContent':this[_0x5beae2(0x19a)](_0x5f12b8[_0x5beae2(0x1f3)](!0x0),_0x5ed21d,_0x2345c5[_0x5beae2(0x23a)])}),_0x35e075[_0x5beae2(0x165)](_0x12b31c[_0x5beae2(0x172)](_0x32b8e9));}}return{'content':_0x2345c5[_0x5beae2(0x23a)][_0x5beae2(0x208)][_0x5beae2(0x230)](_0x2345c5[_0x5beae2(0x23a)][_0x5beae2(0x23c)](_0x2f4aa0)),'version':_0x2345c5[_0x5beae2(0x197)][_0x5beae2(0x1fb)][_0x5beae2(0x22c)],'elements':_0x3fe9e8};}[_0x195745(0x1b3)](_0x58d6ce,_0x1290fd){const _0x1eb557=_0x195745,_0x1de7d7=[],_0x28435a=_0x4532a2(this[_0x1eb557(0x233)]),_0x154268=_0x28435a[_0x1eb557(0x23a)][_0x1eb557(0x1ed)](_0x1290fd,_0x1eb557(0x222)),_0x3b2325=_0x28435a[_0x1eb557(0x23a)][_0x1eb557(0x1ed)](_0x58d6ce,_0x1eb557(0x222)),_0x370e02=_0x28435a[_0x1eb557(0x197)][_0x1eb557(0x1f1)](_0x3b2325,0x0);if(this[_0x1eb557(0x15d)](_0x154268)){if(!this[_0x1eb557(0x179)](_0x3b2325,_0x154268))return _0x1de7d7;}else{const _0x101da4=_0x28435a[_0x1eb557(0x197)][_0x1eb557(0x166)];if(!this[_0x1eb557(0x209)](_0x3b2325,_0x101da4)||!this[_0x1eb557(0x209)](_0x154268,_0x101da4))return _0x1de7d7;}const _0x3884d7=this[_0x1eb557(0x233)][_0x1eb557(0x15b)][_0x1eb557(0x21f)](_0x1eb557(0x150))[_0x1eb557(0x17c)](_0x58d6ce,_0x1290fd,{'anchor':_0x370e02,'markDeletions':!0x0})[_0x1eb557(0x1d3)]()[_0x1eb557(0x22f)](_0x4ad10c=>_0x1eb557(0x1ab)===_0x4ad10c[_0x1eb557(0x232)]||_0x1eb557(0x23e)===_0x4ad10c[_0x1eb557(0x232)]&&_0x4ad10c[_0x1eb557(0x1f9)][_0x1eb557(0x1cc)](_0x1eb557(0x242))),_0x5a213e=this[_0x1eb557(0x183)](_0x3884d7);let _0x245d46=0x0;return _0x28435a[_0x1eb557(0x197)][_0x1eb557(0x1c4)](_0x8ed800=>{const _0x356c73=_0x1eb557;for(let _0x4bcb97=0x0;_0x4bcb97<_0x5a213e[_0x356c73(0x1d0)];_0x4bcb97++){const _0x1cd2ca=_0x5a213e[_0x4bcb97],_0xb16477=_0x8ed800[_0x356c73(0x1b1)]();for(const _0x25422f of _0x3b2325[_0x356c73(0x1da)]())_0x8ed800[_0x356c73(0x20b)](_0x25422f[_0x356c73(0x1f3)](!0x0),_0xb16477);for(const _0x31991e of _0x1cd2ca[_0x356c73(0x14e)])if(_0x356c73(0x1ab)===_0x31991e[_0x356c73(0x232)]){const _0x5d71ac=_0x31991e;_0x5d71ac[_0x356c73(0x19c)]=null,_0x5d71ac[_0x356c73(0x16d)]=!0x1,this[_0x356c73(0x18f)](_0x5d71ac,_0xb16477),_0x8ed800[_0x356c73(0x14d)][_0x356c73(0x1e7)](_0x31991e),_0x28435a[_0x356c73(0x197)][_0x356c73(0x1fa)](_0x31991e);const _0xa49c86=_0x356c73(0x180)+_0x245d46++,_0x106ca0=_0x28435a[_0x356c73(0x197)][_0x356c73(0x202)](_0x5d71ac[_0x356c73(0x21b)],_0x5d71ac[_0x356c73(0x21b)][_0x356c73(0x156)](_0x5d71ac[_0x356c73(0x181)]));_0xb16477[_0x356c73(0x1fe)][_0x356c73(0x15f)](_0xa49c86,_0x106ca0);}else{if(_0x356c73(0x23e)===_0x31991e[_0x356c73(0x232)]&&_0x31991e[_0x356c73(0x1f9)][_0x356c73(0x1cc)](_0x356c73(0x242))){const _0x396dfe=_0x31991e,_0x365c83=_0x356c73(0x211)+_0x245d46++;this[_0x356c73(0x18f)](_0x396dfe,_0xb16477),_0xb16477[_0x356c73(0x1fe)][_0x356c73(0x15f)](_0x365c83,_0x396dfe[_0x356c73(0x1cd)]);}}const _0x30edab=this[_0x356c73(0x219)](this[_0x356c73(0x182)](this[_0x356c73(0x196)](_0x1cd2ca[_0x356c73(0x14e)][0x0]),_0xb16477),this[_0x356c73(0x182)](this[_0x356c73(0x18d)](_0x1cd2ca[_0x356c73(0x14e)][_0x1cd2ca[_0x356c73(0x14e)][_0x356c73(0x1d0)]-0x1]),_0xb16477));_0xb16477[_0x356c73(0x1fe)][_0x356c73(0x15f)](le+_0x356c73(0x1ca),new _0x3cbfe2(_0x30edab[_0x356c73(0x192)],_0x30edab[_0x356c73(0x1c1)])),_0x1de7d7[_0x356c73(0x1ae)]({..._0x1cd2ca,'context':this[_0x356c73(0x1ff)](_0xb16477,_0x28435a[_0x356c73(0x23a)],{'ellipsisBefore':_0x30edab[_0x356c73(0x1ce)],'ellipsisAfter':_0x30edab[_0x356c73(0x18a)]}),'content':this[_0x356c73(0x21c)](_0xb16477,_0x28435a[_0x356c73(0x23a)])});}}),_0x1de7d7;}[_0x195745(0x19e)](_0x5cf178,_0x34292f){const _0x4558e9=_0x195745;if(!_0x5cf178[_0x4558e9(0x1d0)])return;const _0x3bf05c=_0x5cf178[0x0][_0x4558e9(0x235)]['id'],_0x388c4a=_0x34292f[_0x4558e9(0x203)][_0x4558e9(0x21f)](_0x3bf05c);if(!_0x388c4a)return void console[_0x4558e9(0x1e3)](_0x4558e9(0x1ef)+_0x3bf05c);const _0x501530=_0x388c4a[_0x4558e9(0x151)],_0x5792a2=_0x4532a2(this[_0x4558e9(0x233)]),_0x2eb03b=_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x1fb)][_0x4558e9(0x1a3)][_0x4558e9(0x1d3)](_0x34292f[_0x4558e9(0x22c)]),_0x229f49=[];for(const _0x324cfe of _0x5cf178){const _0x51b475=_0x324cfe[_0x4558e9(0x14e)][_0x4558e9(0x1ba)](_0x5bd9f8=>this[_0x4558e9(0x1d9)](_0x5bd9f8,_0x501530,_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x1fb)][_0x4558e9(0x1dd)]()[0x0]));if(!_0x51b475||!_0x51b475[_0x4558e9(0x1d0)])continue;const _0x35571f=_0x51b475[_0x4558e9(0x18e)](_0x83c222=>_0x4558e9(0x23e)===_0x83c222[_0x4558e9(0x232)]&&_0x83c222[_0x4558e9(0x1f9)][_0x4558e9(0x1cc)](_0x4558e9(0x242))),_0xe4d251={'document':_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x1fb)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x38e561=_0x21c2b7(_0x51b475,_0x2eb03b,_0xe4d251)[_0x4558e9(0x227)];for(const _0x37610f of _0x38e561)if(_0x4558e9(0x1ab)===_0x37610f[_0x4558e9(0x232)]){const _0x4792cc=_0x37610f,_0x2da9b8=_0x4792cc[_0x4558e9(0x1c8)];let _0x587b81='';for(const _0x564098 of _0x2da9b8)_0x564098&&_0x564098['is'](_0x4558e9(0x1d7))&&(_0x587b81+=_0x564098[_0x4558e9(0x23a)]);_0x229f49[_0x4558e9(0x1ae)]({'start':_0x4792cc[_0x4558e9(0x21b)],'end':_0x4792cc[_0x4558e9(0x21b)],'type':_0x4558e9(0x1ab),'groupId':_0x324cfe['id'],'text':_0x587b81});}else{if(_0x4558e9(0x23e)===_0x37610f[_0x4558e9(0x232)]&&_0x37610f[_0x4558e9(0x1f9)][_0x4558e9(0x1cc)](_0x4558e9(0x242))){const _0x531c86=_0x37610f;let _0x579470=_0x4558e9(0x1a9);if(_0x35571f){const _0x31ce2e=this[_0x4558e9(0x1c0)](_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x192)],_0x4558e9(0x20e),_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x166)]),_0x33cf20=this[_0x4558e9(0x1c0)](_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x1c1)],_0x4558e9(0x1aa),_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x166)]);if(_0x31ce2e||_0x33cf20){const _0x2a59f9=_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x192)][_0x4558e9(0x156)](-_0x31ce2e),_0x28d8d6=_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x1c1)][_0x4558e9(0x156)](_0x33cf20);_0x229f49[_0x4558e9(0x1ae)]({'start':_0x2a59f9,'end':_0x28d8d6,'groupId':_0x324cfe['id'],'type':_0x4558e9(0x1bd)});}else _0x579470=_0x4558e9(0x215);}_0x229f49[_0x4558e9(0x1ae)]({'start':_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x192)],'end':_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x1c1)],'groupId':_0x324cfe['id'],'type':_0x579470});}}}this[_0x4558e9(0x1c2)](_0x229f49);}[_0x195745(0x1bc)](){const _0x2a7e87=_0x195745,_0x34e99f=_0x4532a2(this[_0x2a7e87(0x233)]);_0x34e99f[_0x2a7e87(0x197)][_0x2a7e87(0x1c4)](_0x2e216c=>{const _0x515570=_0x2a7e87;for(const _0x2bf9eb of this[_0x515570(0x160)][_0x515570(0x1e0)]())_0x34e99f[_0x515570(0x197)][_0x515570(0x1fe)][_0x515570(0x21f)](_0x2bf9eb)&&_0x2e216c[_0x515570(0x1ec)](_0x2bf9eb);}),this[_0x2a7e87(0x160)][_0x2a7e87(0x231)]();}[_0x195745(0x154)](){const _0x2b3a31=_0x195745;_0x4532a2(this[_0x2b3a31(0x233)])[_0x2b3a31(0x157)](_0x2b3a31(0x236));}[_0x195745(0x1a6)](){const _0x894fc5=_0x195745;_0x4532a2(this[_0x894fc5(0x233)])[_0x894fc5(0x1e6)](_0x894fc5(0x236));}[_0x195745(0x204)](_0x421f30){const _0x3c9cc8=_0x195745,_0x164d95=_0x4532a2(this[_0x3c9cc8(0x233)]),_0xc1daf1=_0x164d95[_0x3c9cc8(0x197)],_0x8cdeb1=_0x421f30[_0x3c9cc8(0x1ba)](_0x8ccfee=>this[_0x3c9cc8(0x193)](_0x8ccfee))[_0x3c9cc8(0x1fd)]();_0xc1daf1[_0x3c9cc8(0x1c4)](_0x17715a=>{const _0x3c9dd7=_0x3c9cc8;for(const _0x33fded of _0x8cdeb1){const _0x75963c=_0x164d95[_0x3c9dd7(0x197)][_0x3c9dd7(0x1fe)][_0x3c9dd7(0x21f)](_0x33fded['id']);_0x75963c&&(_0x3c9dd7(0x1ab)===_0x33fded[_0x3c9dd7(0x232)]?_0xc1daf1[_0x3c9dd7(0x1ee)](_0x17715a[_0x3c9dd7(0x176)](_0x33fded[_0x3c9dd7(0x205)]||''),_0x75963c[_0x3c9dd7(0x15c)]()[_0x3c9dd7(0x192)]):_0x3c9dd7(0x1a9)!==_0x33fded[_0x3c9dd7(0x232)]&&_0x3c9dd7(0x215)!==_0x33fded[_0x3c9dd7(0x232)]||_0xc1daf1[_0x3c9dd7(0x1c6)](_0xc1daf1[_0x3c9dd7(0x22e)](_0x75963c[_0x3c9dd7(0x15c)]())),_0x17715a[_0x3c9dd7(0x1ec)](_0x33fded['id']),this[_0x3c9dd7(0x160)][_0x3c9dd7(0x1b7)](_0x33fded['id']));}});}[_0x195745(0x226)](_0x29e68a){const _0x7b60e3=_0x195745,_0x43f163=_0x4532a2(this[_0x7b60e3(0x233)]),_0x294085=this[_0x7b60e3(0x193)](_0x29e68a);_0x43f163[_0x7b60e3(0x197)][_0x7b60e3(0x1c4)](_0x3dd902=>{const _0xdb1e53=_0x7b60e3;for(const _0x2befb5 of _0x294085)_0x3dd902[_0xdb1e53(0x1ec)](_0x2befb5['id']),this[_0xdb1e53(0x160)][_0xdb1e53(0x1b7)](_0x2befb5['id']);});}[_0x195745(0x225)](){const _0x333dd=_0x195745;return _0x4532a2(this[_0x333dd(0x233)]);}[_0x195745(0x23d)](_0x2086d5){const _0x5201cb=_0x195745,_0x7ed897=Array[_0x5201cb(0x164)](this[_0x5201cb(0x160)][_0x5201cb(0x1a4)]())[_0x5201cb(0x22f)](_0x4a0e05=>_0x4a0e05[_0x5201cb(0x1f7)]===_0x2086d5);if(!_0x7ed897[_0x5201cb(0x1d0)])return null;const _0xe68e07=0x1===_0x7ed897[_0x5201cb(0x1d0)]?_0x7ed897[0x0]:this[_0x5201cb(0x1f5)](_0x7ed897)[0x0],_0x148bd1=_0x4532a2(this[_0x5201cb(0x233)]),_0xf60e37=_0x148bd1[_0x5201cb(0x197)][_0x5201cb(0x1fe)][_0x5201cb(0x21f)](_0xe68e07['id']);if(!_0xf60e37)return null;const _0xd30956=_0xf60e37[_0x5201cb(0x15c)](),_0x16c853=_0x148bd1[_0x5201cb(0x1b5)][_0x5201cb(0x1b8)][_0x5201cb(0x21a)]();if(!_0x16c853||!_0xd30956)return null;const _0x4ada4f=_0x16c853[_0x5201cb(0x187)](_0x5201cb(0x177)+_0xe68e07['id']+'\x22]');return _0x4ada4f?{'modelRange':_0xd30956,'domElement':_0x4ada4f}:null;}[_0x195745(0x1f4)](_0x211742,_0x830bf0){const _0x2b9582=_0x195745,_0x561988=Array[_0x2b9582(0x164)](this[_0x2b9582(0x160)][_0x2b9582(0x1e0)]()),_0x4b089f=new Map();for(const _0x9b1571 of _0x561988){const _0x5aa4f0=_0x211742[_0x2b9582(0x197)][_0x2b9582(0x1fe)][_0x2b9582(0x21f)](_0x9b1571);if(!_0x5aa4f0)continue;const _0x3e61d4=_0x5aa4f0[_0x2b9582(0x184)]()[_0x2b9582(0x151)][0x0];_0x4b089f[_0x2b9582(0x175)](_0x3e61d4)||_0x4b089f[_0x2b9582(0x15f)](_0x3e61d4,[]),_0x4b089f[_0x2b9582(0x21f)](_0x3e61d4)[_0x2b9582(0x1ae)](_0x5aa4f0);}const _0x2597dd=new Set();for(const _0x1b6acc of _0x211742[_0x2b9582(0x197)][_0x2b9582(0x1fb)][_0x2b9582(0x1b9)][_0x2b9582(0x201)]()){let _0x56a60f=-0x1,_0x59e0fd=null;if(_0x2b9582(0x1ab)===_0x1b6acc[_0x2b9582(0x232)])_0x59e0fd=new _0x3cbfe2(_0x1b6acc[_0x2b9582(0x21b)],_0x1b6acc[_0x2b9582(0x21b)][_0x2b9582(0x156)](_0x1b6acc[_0x2b9582(0x1d0)])),_0x56a60f=_0x1b6acc[_0x2b9582(0x21b)][_0x2b9582(0x151)][0x0];else{if(_0x2b9582(0x1af)!==_0x1b6acc[_0x2b9582(0x232)])continue;_0x59e0fd=new _0x3cbfe2(_0x1b6acc[_0x2b9582(0x21b)]),_0x56a60f=_0x1b6acc[_0x2b9582(0x21b)][_0x2b9582(0x151)][0x0];}const _0x40d75f=_0x4b089f[_0x2b9582(0x21f)](_0x56a60f)||[];if(_0x40d75f[_0x2b9582(0x1d0)]){for(const _0x2f563f of _0x40d75f)if(_0x59e0fd[_0x2b9582(0x1bf)][_0x2b9582(0x153)]===_0x2f563f[_0x2b9582(0x15c)]()[_0x2b9582(0x1bf)][_0x2b9582(0x153)]&&(_0x2b9582(0x1ab)!==_0x1b6acc[_0x2b9582(0x232)]||!_0x59e0fd[_0x2b9582(0x1e9)](_0x2f563f[_0x2b9582(0x15c)]()))&&(_0x59e0fd[_0x2b9582(0x1a2)](_0x2f563f[_0x2b9582(0x15c)]())||_0x59e0fd[_0x2b9582(0x192)][_0x2b9582(0x16e)](_0x2f563f[_0x2b9582(0x15c)]()[_0x2b9582(0x1c1)])||_0x59e0fd[_0x2b9582(0x1c1)][_0x2b9582(0x16e)](_0x2f563f[_0x2b9582(0x15c)]()[_0x2b9582(0x192)]))){const _0x56250f=this[_0x2b9582(0x1a8)](_0x2f563f[_0x2b9582(0x1f9)]);Array[_0x2b9582(0x164)](this[_0x2b9582(0x160)][_0x2b9582(0x1a4)]())[_0x2b9582(0x22f)](_0x5e8067=>_0x5e8067[_0x2b9582(0x1f7)]===_0x56250f[_0x2b9582(0x1f7)])[_0x2b9582(0x199)](_0x134858=>_0x2597dd[_0x2b9582(0x1c5)](_0x134858['id']));}}}if(_0x2597dd[_0x2b9582(0x170)]){for(const _0x4b79aa of _0x2597dd)_0x830bf0[_0x2b9582(0x1ec)](_0x4b79aa);return!0x0;}return!0x1;}[_0x195745(0x224)](_0x16a696){const _0xb38ecd=_0x195745;for(const {name:_0x58ae24,data:_0x421bf7}of _0x16a696[_0xb38ecd(0x197)][_0xb38ecd(0x1fb)][_0xb38ecd(0x1b9)][_0xb38ecd(0x223)]()){if(!_0x58ae24[_0xb38ecd(0x1cc)](le))continue;const _0x1fcfc4=_0x421bf7[_0xb38ecd(0x15a)],_0x2613e6=_0x421bf7[_0xb38ecd(0x1cd)],_0x32f101=_0x1fcfc4&&_0xb38ecd(0x174)===_0x1fcfc4[_0xb38ecd(0x1bf)][_0xb38ecd(0x153)],_0x4e3dbd=_0x2613e6&&_0xb38ecd(0x174)===_0x2613e6[_0xb38ecd(0x1bf)][_0xb38ecd(0x153)];if(_0x32f101&&_0x4e3dbd)continue;const _0x86745b=this[_0xb38ecd(0x1a8)](_0x58ae24);this[_0xb38ecd(0x160)][_0xb38ecd(0x21f)](_0x58ae24)&&(_0x4e3dbd||!_0x2613e6?this[_0xb38ecd(0x1e4)][_0xb38ecd(0x1ea)](_0xb38ecd(0x238),{'markerId':_0x58ae24,'changeId':_0x86745b[_0xb38ecd(0x1f7)]}):_0x32f101&&_0x2613e6&&this[_0xb38ecd(0x1e4)][_0xb38ecd(0x1ea)](_0xb38ecd(0x168),{'markerId':_0x58ae24,'changeId':_0x86745b[_0xb38ecd(0x1f7)]}));}}[_0x195745(0x1a8)](_0x503165){const _0x52de8a=_0x195745,_0x6d6ab6=_0x503165[_0x52de8a(0x1cf)](':'),_0x40a7cc=(_0x6d6ab6[0x1]||'')[_0x52de8a(0x1cf)]('_');return{'prefix':_0x6d6ab6[0x0],'groupId':_0x40a7cc[0x0],'suffix':_0x40a7cc[0x1]};}[_0x195745(0x1d9)](_0x48f915,_0x5198c9,_0x2da9b2){const _0x2b5f57=_0x195745;if(_0x2b5f57(0x1ab)===_0x48f915[_0x2b5f57(0x232)]){const _0x5b7283=_0x48f915;return new _0x136907(this[_0x2b5f57(0x1b0)](_0x5198c9[_0x2b5f57(0x212)](_0x5b7283[_0x2b5f57(0x21b)][_0x2b5f57(0x210)]),_0x2da9b2),_0x5b7283[_0x2b5f57(0x1c8)],_0x5b7283[_0x2b5f57(0x19c)]);}if(_0x2b5f57(0x23e)===_0x48f915[_0x2b5f57(0x232)]&&_0x48f915[_0x2b5f57(0x1f9)][_0x2b5f57(0x1cc)](_0x2b5f57(0x242))){const _0x1651c6=_0x48f915;return new _0xb9f64e(_0x1651c6[_0x2b5f57(0x1f9)],_0x1651c6[_0x2b5f57(0x15a)],this[_0x2b5f57(0x1ad)](_0x1651c6[_0x2b5f57(0x1cd)],_0x5198c9[_0x2b5f57(0x212)](_0x1651c6[_0x2b5f57(0x1cd)][_0x2b5f57(0x192)][_0x2b5f57(0x210)]),_0x5198c9[_0x2b5f57(0x212)](_0x1651c6[_0x2b5f57(0x1cd)][_0x2b5f57(0x1c1)][_0x2b5f57(0x210)]),_0x2da9b2),_0x1651c6[_0x2b5f57(0x160)],_0x1651c6[_0x2b5f57(0x22b)],_0x1651c6[_0x2b5f57(0x19c)]);}return _0x48f915;}[_0x195745(0x183)](_0x1a915c){const _0x33685f=_0x195745;if(!_0x1a915c[_0x33685f(0x1d0)])return[];const _0x3522de=[];let _0x429848=0x0,_0x30ce1e=0x0,_0x2ecc8b=[];for(let _0x2d80fd=0x0;_0x2d80fd<=_0x1a915c[_0x33685f(0x1d0)];_0x2d80fd++){const _0x599c7e=_0x1a915c[_0x2d80fd],_0x2ce7fb=_0x1a915c[_0x2d80fd-0x1];!_0x599c7e||_0x2ce7fb&&!this[_0x33685f(0x18d)](_0x2ce7fb)[_0x33685f(0x16e)](this[_0x33685f(0x196)](_0x599c7e))?(_0x3522de[_0x33685f(0x1ae)]({'operations':_0x2ecc8b,'operationsIsolated':_0x2ecc8b[_0x33685f(0x1ba)](_0x3f5d0d=>this[_0x33685f(0x194)](_0x3f5d0d[_0x33685f(0x18b)](),-_0x30ce1e)),'groupOffset':_0x429848}),_0x2ecc8b=_0x599c7e?[_0x599c7e]:[],_0x30ce1e+=_0x429848,_0x429848=0x0):_0x2ecc8b[_0x33685f(0x1ae)](_0x599c7e),_0x599c7e&&_0x33685f(0x1ab)===_0x599c7e[_0x33685f(0x232)]&&(_0x429848+=_0x599c7e[_0x33685f(0x181)]);}return _0x3522de;}[_0x195745(0x1c0)](_0x3ba860,_0x20b6f9,_0x307345,_0x4523bc=0x1){const _0xadcca6=_0x195745,_0x4b4d1d=new _0x142737({'startPosition':_0x3ba860,'direction':_0x20b6f9});let _0x277a23=0x0;for(let _0x594d7c=0x0;_0x594d7c<_0x4523bc;_0x594d7c++){let _0xc95cdd=0x0,_0x742d4c=!0x1,_0x17f341=_0xadcca6(0x1aa)===_0x20b6f9?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x3287c3}of _0x4b4d1d)if(_0x3287c3['is'](_0xadcca6(0x1eb))){const _0x1abb4b=_0x17f341[_0xadcca6(0x195)](_0x3287c3[_0xadcca6(0x23a)]);if(_0x1abb4b&&_0x1abb4b[_0xadcca6(0x1d0)]){if(_0xc95cdd+=_0xadcca6(0x1aa)===_0x20b6f9?_0x1abb4b[_0xadcca6(0x228)]+_0x1abb4b[0x0][_0xadcca6(0x1d0)]:_0x3287c3[_0xadcca6(0x23a)][_0xadcca6(0x1d0)]-_0x1abb4b[_0xadcca6(0x228)],_0x1abb4b[0x0][_0xadcca6(0x1d0)]!==_0x3287c3[_0xadcca6(0x23a)][_0xadcca6(0x1d0)])break;_0x742d4c=!0x0,_0x17f341=_0xadcca6(0x1aa)===_0x20b6f9?/^\w+/:/\w+$/;}else{if(_0x742d4c)break;_0xc95cdd+=_0x3287c3[_0xadcca6(0x237)];}}else{if(_0x3287c3['is'](_0xadcca6(0x1c3))){_0x307345[_0xadcca6(0x178)](_0x3287c3)&&!_0x742d4c&&(_0xc95cdd+=0x1);break;}}_0x277a23+=_0xc95cdd,_0x4b4d1d[_0xadcca6(0x165)](_0x3ba860[_0xadcca6(0x156)](_0xadcca6(0x1aa)===_0x20b6f9?_0x277a23:-_0x277a23));}return _0x277a23;}[_0x195745(0x219)](_0x37a400,_0x25ff83){const _0x53818c=_0x195745,_0x554ae2=_0x4532a2(this[_0x53818c(0x233)])[_0x53818c(0x197)][_0x53818c(0x166)],_0x172f3b=this[_0x53818c(0x1c0)](_0x37a400,_0x53818c(0x20e),_0x554ae2,0x6),_0x2f8535=this[_0x53818c(0x1c0)](_0x25ff83,_0x53818c(0x1aa),_0x554ae2,0x6),_0x17c7d1=_0x37a400[_0x53818c(0x156)](-_0x172f3b),_0x4a90e9=_0x25ff83[_0x53818c(0x156)](_0x2f8535);return{'start':_0x17c7d1,'end':_0x4a90e9,'hasContentBefore':!_0x17c7d1[_0x53818c(0x234)],'hasContentAfter':!_0x4a90e9[_0x53818c(0x1a1)]};}[_0x195745(0x1c2)](_0x3e52ad){const _0x404edd=_0x195745,_0x29d62e=this[_0x404edd(0x233)][_0x404edd(0x15b)][_0x404edd(0x21f)](_0x404edd(0x22a)),_0x12322f=new Set();_0x4532a2(this[_0x404edd(0x233)])[_0x404edd(0x197)][_0x404edd(0x1c4)](_0x5d8cd6=>{const _0x2fd1af=_0x404edd;for(const _0x25d567 of _0x3e52ad){const _0x45c211=''+le+_0x25d567[_0x2fd1af(0x232)]+':'+_0x25d567[_0x2fd1af(0x1f7)]+'_'+_0x29d62e[_0x2fd1af(0x19b)](_0x12322f);this[_0x2fd1af(0x160)][_0x2fd1af(0x15f)](_0x45c211,{'id':_0x45c211,'groupId':_0x25d567[_0x2fd1af(0x1f7)],'type':_0x25d567[_0x2fd1af(0x232)],'text':_0x25d567[_0x2fd1af(0x205)]}),_0x5d8cd6[_0x2fd1af(0x1de)](_0x45c211,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5d8cd6[_0x2fd1af(0x202)](_0x25d567[_0x2fd1af(0x192)],_0x25d567[_0x2fd1af(0x1c1)])});}});}[_0x195745(0x1ff)](_0x4ad2b7,_0x544b31,_0x1fef81){let _0x2a3894='';return()=>{const _0x4271f2=_0x3aac;if(!_0x2a3894){const _0x39ddb7=_0x544b31[_0x4271f2(0x23c)](_0x4ad2b7,{'showSuggestionHighlights':!0x0});let _0x47fbb3=_0x39ddb7[_0x4271f2(0x173)](0x0);if(_0x47fbb3['is'](_0x4271f2(0x16f))||(_0x47fbb3=_0x39ddb7),!_0x47fbb3)return'';let _0xefc6ad=!0x1;const _0x11d205=[];for(const _0x221a2d of _0x47fbb3[_0x4271f2(0x1da)]())_0x221a2d['is'](_0x4271f2(0x1c3),_0x4271f2(0x239))&&_0x221a2d[_0x4271f2(0x21e)](_0x4271f2(0x1bb))&&(_0xefc6ad=!0x1),_0xefc6ad&&_0x11d205[_0x4271f2(0x1ae)](_0x221a2d),_0x221a2d['is'](_0x4271f2(0x1c3),_0x4271f2(0x239))&&_0x221a2d[_0x4271f2(0x21e)](_0x4271f2(0x169))&&(_0xefc6ad=!0x0);_0x47fbb3[_0x4271f2(0x18c)](0x0,_0x47fbb3[_0x4271f2(0x214)]),_0x1fef81?.[_0x4271f2(0x155)]&&_0x47fbb3[_0x4271f2(0x1f8)]('…'),_0x47fbb3[_0x4271f2(0x1f8)](_0x11d205),_0x1fef81?.[_0x4271f2(0x17e)]&&_0x47fbb3[_0x4271f2(0x1f8)]('…');const _0x18dcdc=_0x544b31[_0x4271f2(0x216)][_0x4271f2(0x152)][_0x4271f2(0x190)](_0x39ddb7),_0x57a3a4=_0x544b31[_0x4271f2(0x216)][_0x4271f2(0x1fc)][_0x4271f2(0x1d6)](_0x18dcdc);_0x2a3894=_0x57a3a4;}return _0x2a3894;};}[_0x195745(0x21c)](_0x539eea,_0x2d899b){const _0x69f8c2=_0x195745;let _0x2b22fb='';return()=>(_0x2b22fb||(_0x2b22fb=_0x2d899b[_0x69f8c2(0x1d5)](_0x539eea,{'showSuggestionHighlights':!0x0})),_0x2b22fb);}[_0x195745(0x19a)](_0x535d8c,_0x4936ac,_0x4ed21b){let _0x1df609='';return()=>{const _0x5c1d1e=_0x3aac;if(!_0x1df609){const _0x2ae0ae=_0x4ed21b[_0x5c1d1e(0x23c)](new _0xf8f223(_0x535d8c)),_0xed28cf=_0x4ed21b[_0x5c1d1e(0x216)][_0x5c1d1e(0x152)][_0x5c1d1e(0x190)](_0x2ae0ae)[_0x5c1d1e(0x187)](_0x5c1d1e(0x20d)+_0x4936ac+'\x22]');_0x1df609=_0xed28cf?.[_0x5c1d1e(0x221)]||'';}return _0x1df609;};}[_0x195745(0x1a0)](_0x473110,_0x4abea1=0x5){const _0x2987e9=_0x195745;let _0x22c335=_0x473110,_0x1e666a=null;for(let _0x1769d9=0x0;_0x1769d9<_0x4abea1&&_0x22c335;_0x1769d9++){if(!_0x22c335[_0x2987e9(0x1df)]){_0x22c335=_0x22c335[_0x2987e9(0x1f6)];continue;}if(!(''+_0x22c335[_0x2987e9(0x1df)])[_0x2987e9(0x1e5)](_0x2987e9(0x1d1))){_0x22c335=_0x22c335[_0x2987e9(0x1f6)];continue;}if(!_0x22c335[_0x2987e9(0x218)](_0x2987e9(0x1a7)))break;_0x1e666a=_0x22c335;break;}return _0x1e666a;}[_0x195745(0x193)](_0x5f4eb7){const _0x4c5c9b=_0x195745;return Array[_0x4c5c9b(0x164)](this[_0x4c5c9b(0x160)][_0x4c5c9b(0x1a4)]())[_0x4c5c9b(0x22f)](_0xb905a8=>_0xb905a8[_0x4c5c9b(0x1f7)]===_0x5f4eb7);}[_0x195745(0x196)](_0x1657eb){const _0x9fd1f5=_0x195745;return _0x9fd1f5(0x1ab)===_0x1657eb[_0x9fd1f5(0x232)]?_0x1657eb[_0x9fd1f5(0x21b)]:_0x1657eb[_0x9fd1f5(0x1cd)][_0x9fd1f5(0x192)];}[_0x195745(0x18d)](_0x4c7e63,_0x22b480=!0x1){const _0x3dccc9=_0x195745;return _0x3dccc9(0x1ab)===_0x4c7e63[_0x3dccc9(0x232)]?_0x22b480?_0x4c7e63[_0x3dccc9(0x21b)]:_0x4c7e63[_0x3dccc9(0x21b)][_0x3dccc9(0x156)](_0x4c7e63[_0x3dccc9(0x181)]):_0x4c7e63[_0x3dccc9(0x1cd)][_0x3dccc9(0x1c1)];}[_0x195745(0x194)](_0x35d6b3,_0x58c2c4){const _0x3a68d9=_0x195745;return _0x3a68d9(0x1ab)===_0x35d6b3[_0x3a68d9(0x232)]?_0x35d6b3[_0x3a68d9(0x21b)]=_0x35d6b3[_0x3a68d9(0x21b)][_0x3a68d9(0x156)](_0x58c2c4):_0x3a68d9(0x23e)===_0x35d6b3[_0x3a68d9(0x232)]&&_0x35d6b3[_0x3a68d9(0x1cd)]&&(_0x35d6b3[_0x3a68d9(0x1cd)]=new _0x3cbfe2(_0x35d6b3[_0x3a68d9(0x1cd)][_0x3a68d9(0x192)][_0x3a68d9(0x156)](_0x58c2c4),_0x35d6b3[_0x3a68d9(0x1cd)][_0x3a68d9(0x1c1)][_0x3a68d9(0x156)](_0x58c2c4))),_0x35d6b3;}[_0x195745(0x18f)](_0x6c4642,_0x212440){const _0x5c5abc=_0x195745;_0x5c5abc(0x1ab)===_0x6c4642[_0x5c5abc(0x232)]?_0x6c4642[_0x5c5abc(0x21b)]=this[_0x5c5abc(0x182)](_0x6c4642[_0x5c5abc(0x21b)],_0x212440):_0x5c5abc(0x23e)===_0x6c4642[_0x5c5abc(0x232)]&&_0x6c4642[_0x5c5abc(0x1cd)]&&(_0x6c4642[_0x5c5abc(0x1cd)]=this[_0x5c5abc(0x16a)](_0x6c4642[_0x5c5abc(0x1cd)],_0x212440));}[_0x195745(0x182)](_0x56200a,_0x563acc){const _0x268d55=_0x195745;return new _0x20cfa2(_0x563acc,_0x56200a[_0x268d55(0x151)]);}[_0x195745(0x16a)](_0x3af688,_0x16ff8c){const _0x409324=_0x195745;return new _0x3cbfe2(this[_0x409324(0x182)](_0x3af688[_0x409324(0x192)],_0x16ff8c),this[_0x409324(0x182)](_0x3af688[_0x409324(0x1c1)],_0x16ff8c));}[_0x195745(0x1b0)](_0x97865d,_0x1bcff2){return new _0x20cfa2(_0x1bcff2,[..._0x97865d]);}[_0x195745(0x1ad)](_0x4c2a0d,_0x2b1c00,_0x3bc4d8,_0x314a68){const _0x5d59c5=_0x195745;return new _0x3cbfe2(this[_0x5d59c5(0x1b0)](_0x2b1c00,_0x314a68),this[_0x5d59c5(0x1b0)](_0x3bc4d8,_0x314a68));}[_0x195745(0x1f5)](_0x210dbb){const _0x58005c=_0x195745,_0x248d5a=_0x10a806=>{const _0xa55cc7=_0x3aac;switch(_0x10a806){case _0xa55cc7(0x1ab):return 0x1;case _0xa55cc7(0x1bd):return 0x2;case _0xa55cc7(0x215):return 0x3;case _0xa55cc7(0x1a9):return 0x4;}};return _0x210dbb[_0x58005c(0x159)]((_0x4de985,_0x22a7ce)=>_0x248d5a(_0x4de985[_0x58005c(0x232)])-_0x248d5a(_0x22a7ce[_0x58005c(0x232)]));}[_0x195745(0x179)](_0x51bdbf,_0x473e0e){const _0x40dc07=_0x195745,_0x5ca897=_0x51bdbf[_0x40dc07(0x173)](0x0),_0x4f8cee=_0x473e0e[_0x40dc07(0x173)](0x0);return!(!_0x5ca897||!_0x4f8cee)&&((!_0x5ca897['is'](_0x40dc07(0x1c3))||!_0x4f8cee['is'](_0x40dc07(0x1c3))||_0x5ca897[_0x40dc07(0x1f9)]===_0x4f8cee[_0x40dc07(0x1f9)])&&!(_0x5ca897['is'](_0x40dc07(0x1c3))&&!_0x4f8cee['is'](_0x40dc07(0x1c3))||!_0x5ca897['is'](_0x40dc07(0x1c3))&&_0x4f8cee['is'](_0x40dc07(0x1c3))));}[_0x195745(0x15d)](_0x5c4712){const _0x13891e=_0x195745;return 0x1===_0x5c4712[_0x13891e(0x214)];}[_0x195745(0x209)](_0x2e6ee2,_0x55d3eb){const _0x3d8f7c=_0x195745;for(const _0x5b635c of _0x2e6ee2[_0x3d8f7c(0x1da)]())if(_0x5b635c['is'](_0x3d8f7c(0x1c3))&&!_0x55d3eb[_0x3d8f7c(0x178)](_0x5b635c))return!0x1;return!0x0;}[_0x195745(0x20f)](_0x35b151,_0x266964){const _0x5b55c7=_0x195745;let _0x4995d2=_0x35b151[_0x5b55c7(0x218)](_0x1022f4);return _0x4995d2||(_0x4995d2=_0x266964(),_0x35b151[_0x5b55c7(0x19d)](_0x1022f4,_0x4995d2)),_0x4995d2;}}
|