@ckeditor/ckeditor5-ai 47.2.0-alpha.5 → 47.2.0-alpha.6
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/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- 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/legacyerrors.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/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.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/common-translations.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/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.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/aireviewcheck.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/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/aitabsmainview.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
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1a12(_0x5c179f,_0xf058ed){const _0x35a4be=_0x35a4();return _0x1a12=function(_0x1a123e,_0x44d303){_0x1a123e=_0x1a123e-0xd1;let _0x56aef6=_0x35a4be[_0x1a123e];return _0x56aef6;},_0x1a12(_0x5c179f,_0xf058ed);}const _0x1e81b3=_0x1a12;(function(_0x475768,_0x18075c){const _0x568ab0=_0x1a12,_0x2aff16=_0x475768();while(!![]){try{const _0x4257bf=-parseInt(_0x568ab0(0x114))/0x1+parseInt(_0x568ab0(0xe5))/0x2*(-parseInt(_0x568ab0(0xff))/0x3)+-parseInt(_0x568ab0(0x11e))/0x4*(parseInt(_0x568ab0(0xf8))/0x5)+-parseInt(_0x568ab0(0x10b))/0x6+-parseInt(_0x568ab0(0x11a))/0x7+parseInt(_0x568ab0(0xe2))/0x8*(parseInt(_0x568ab0(0x100))/0x9)+parseInt(_0x568ab0(0x10c))/0xa;if(_0x4257bf===_0x18075c)break;else _0x2aff16['push'](_0x2aff16['shift']());}catch(_0x387950){_0x2aff16['push'](_0x2aff16['shift']());}}}(_0x35a4,0xbbab0));import{View as _0x1d4985,ListItemView as _0x27f69e,ListView as _0x2e588b,BalloonPanelView as _0x162f8d,DropdownMenuPanelPositioningFunctions as _0x2be76e,DropdownMenuButtonView as _0x17f6a1,ViewCollection as _0x31ae0a,FocusCycler as _0x3a16ed}from'ckeditor5/src/ui.js';function _0x35a4(){const _0x146572=['_setupGroupMenuBehavior','_isMovingToNestedMenu','focusCycler','ck-ai-quick-actions-group-panel','_createActionButton','6471948zAApEH','show','relatedTarget','addEventListener','976dTShVj','_showNestedPanel','ck-ai-quick-actions-group-button','addMany','hide','uiLanguageDirection','ck-reset_all','clear','closest','destroy','element','menuitem','bind','ck-rounded-corners','ck-ai-quick-actions-group-list','ck-dropdown-menu-list','_focusables','rtl','keystrokes','focus','314920VVqswL','.ck-ai-quick-actions-group-panel','children','4PZfEpP','setTemplate','key','_openNestedPanels','icon','role','_hideAllNestedPanels','.ck-ai-quick-actions-group-button','contains','optionsListView','mouseleave','forEach','get','ArrowRight','_createListItems','menu','ck-ai-quick-actions','_createGroupActionsList','set','6340cnWMXq','detachFromDom','content','_bodyCollection','bindTemplate','add','pin','674421jQhZSo','333GCdIqd','_hideNestedPanel','label','delete','ck-dropdown-menu__nested-menu__panel','extendTemplate','isVisible','isOn','_createActionGroupButton','div','actions','7671936suqXYu','32754590RGMNeZ','ArrowLeft','locale','items','.ck-ai-quick-actions-group-list','focusTracker','render','eastSouth','1001050OvAaJf'];_0x35a4=function(){return _0x146572;};return _0x35a4();}import{IconAIQuickActions as _0x3ad20e}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x22169b,KeystrokeHandler as _0x5f07af}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x5ed03a}from'./aiquickactionsbuttoncreator.js';const vs=_0x1e81b3(0xf4),Ls=_0x1e81b3(0xd9);export class AIQuickActionsDropdownContentView extends _0x1d4985{[_0x1e81b3(0xfb)];[_0x1e81b3(0xee)];[_0x1e81b3(0x111)];[_0x1e81b3(0xe0)];[_0x1e81b3(0xde)];[_0x1e81b3(0x117)];[_0x1e81b3(0xe8)]=new Set();constructor(_0x5d3934,_0x4ccc44,_0x4a610b,_0xe09056){const _0x11c0f3=_0x1e81b3,_0x281fde=_0x5d3934[_0x11c0f3(0x10e)];super(_0x281fde),this[_0x11c0f3(0xfb)]=_0xe09056;const _0x210898=this[_0x11c0f3(0xf3)](_0x5d3934,_0x4ccc44,_0x4a610b);this[_0x11c0f3(0xee)]=new _0x2e588b(_0x281fde),this[_0x11c0f3(0xee)][_0x11c0f3(0xea)]=vs,this[_0x11c0f3(0xee)][_0x11c0f3(0x10f)][_0x11c0f3(0xd1)](_0x210898),this[_0x11c0f3(0x111)]=new _0x22169b(),this[_0x11c0f3(0xe0)]=new _0x5f07af(),this[_0x11c0f3(0xde)]=_0x210898,this[_0x11c0f3(0x117)]=new _0x3a16ed({'focusables':this[_0x11c0f3(0xde)],'focusTracker':this[_0x11c0f3(0x111)],'keystrokeHandler':this[_0x11c0f3(0xe0)]}),this[_0x11c0f3(0xe6)]({'tag':_0x11c0f3(0x109),'attributes':{'class':['ck',_0x11c0f3(0xd4),_0x11c0f3(0xf5),_0x11c0f3(0xdb)],'dir':_0x281fde[_0x11c0f3(0xd3)]},'children':[this[_0x11c0f3(0xee)]]});}[_0x1e81b3(0xf3)](_0x51bed9,_0x337d24,_0x2d59ab){const _0x20ee7d=_0x1e81b3,_0x4f0313=new _0x31ae0a();return _0x337d24[_0x20ee7d(0xf0)](_0x337b7d=>{const _0x56daff=_0x20ee7d;_0x56daff(0x10a)in _0x337b7d?_0x4f0313[_0x56daff(0xfd)](this[_0x56daff(0x108)](_0x51bed9,_0x337b7d,_0x2d59ab)):_0x4f0313[_0x56daff(0xfd)](this[_0x56daff(0x119)](_0x51bed9,_0x337b7d));}),_0x4f0313;}[_0x1e81b3(0x119)](_0x13d09d,_0x3a59db){const _0x20274f=_0x1e81b3,_0x391cb4=new _0x27f69e(this[_0x20274f(0x10e)]),_0x2f117b=_0x5ed03a(_0x13d09d,_0x3a59db,!0x0,void 0x0!==_0x3a59db[_0x20274f(0xe9)])();return _0x391cb4[_0x20274f(0xe4)][_0x20274f(0xfd)](_0x2f117b),_0x391cb4;}[_0x1e81b3(0x108)](_0x51a2b6,_0xffe876,_0x9c9ecc){const _0x4bc160=_0x1e81b3,_0x48b1de=new _0x27f69e(this[_0x4bc160(0x10e)]),_0x43f5f3=new _0x17f6a1(this[_0x4bc160(0x10e)]),_0xe76408=_0x43f5f3[_0x4bc160(0xfc)],_0x59923d=_0x4bc160(0xdf)===_0x9c9ecc[_0x4bc160(0x10e)][_0x4bc160(0xd3)]?_0x4bc160(0xf2):_0x4bc160(0x10d),_0x13934d=this[_0x4bc160(0xf6)](_0x51a2b6,_0xffe876[_0x4bc160(0x10a)],_0x9c9ecc);_0x43f5f3[_0x4bc160(0xf7)]({'label':_0xffe876[_0x4bc160(0x102)],'withText':!0x0,'role':Ls,'icon':_0xffe876[_0x4bc160(0xe9)]??_0x3ad20e}),_0x43f5f3[_0x4bc160(0x105)]({'on':{'mouseenter':_0xe76408['to'](()=>{const _0x94b7d=_0x4bc160;_0x43f5f3[_0x94b7d(0xe1)]();})}});const _0x3567d2=new _0x162f8d(this[_0x4bc160(0x10e)]);return _0x3567d2[_0x4bc160(0x105)]({'attributes':{'class':['ck',_0x4bc160(0xd4),_0x4bc160(0x118),_0x4bc160(0x104)]},'on':{'keydown':_0xe76408['to'](_0x23a195=>{const _0x5b8381=_0x4bc160;_0x23a195[_0x5b8381(0xe7)]==_0x59923d&&(_0x43f5f3[_0x5b8381(0xe1)](),this[_0x5b8381(0x101)](_0x3567d2));})}}),_0x43f5f3[_0x4bc160(0xda)](_0x4bc160(0x107))['to'](_0x3567d2,_0x4bc160(0x106)),this[_0x4bc160(0xfb)][_0x4bc160(0xfd)](_0x3567d2),_0x3567d2[_0x4bc160(0xfa)][_0x4bc160(0xfd)](_0x13934d),this[_0x4bc160(0x115)](_0x43f5f3,_0x3567d2),_0x48b1de[_0x4bc160(0xe4)][_0x4bc160(0xfd)](_0x43f5f3),_0x48b1de;}[_0x1e81b3(0xf6)](_0x363dbe,_0x4fae50,_0x3ee46d){const _0x51e768=_0x1e81b3,_0x33cd1d=new _0x2e588b(this[_0x51e768(0x10e)]);return _0x33cd1d[_0x51e768(0x105)]({'attributes':{'class':['ck',_0x51e768(0xd4),_0x51e768(0xdc),_0x51e768(0xdd)]}}),_0x4fae50[_0x51e768(0xf0)](_0x715393=>{const _0x39f385=_0x51e768,_0x18307e=new _0x27f69e(this[_0x39f385(0x10e)]),_0xbdf9d2=_0x5ed03a(_0x363dbe,_0x715393,!0x0,!0x1)();_0x18307e[_0x39f385(0xe4)][_0x39f385(0xfd)](_0xbdf9d2),_0x3ee46d[_0x39f385(0x111)][_0x39f385(0xfd)](_0xbdf9d2),_0x33cd1d[_0x39f385(0x10f)][_0x39f385(0xfd)](_0x18307e);}),_0x33cd1d;}[_0x1e81b3(0x115)](_0x276a3b,_0x54da1c){const _0x1bd2a4=_0x1e81b3,_0x208d83=_0x276a3b[_0x1bd2a4(0xfc)],_0x394b57=_0x1bd2a4(0xdf)===_0x276a3b[_0x1bd2a4(0x10e)][_0x1bd2a4(0xd3)]?_0x1bd2a4(0x10d):_0x1bd2a4(0xf2);_0x276a3b[_0x1bd2a4(0x105)]({'attributes':{'class':[_0x1bd2a4(0x120)]},'on':{'mouseenter':_0x208d83['to'](()=>{const _0x35847c=_0x1bd2a4;this[_0x35847c(0x11f)](_0x54da1c,_0x276a3b);}),'mouseleave':_0x208d83['to'](_0x531f1b=>{const _0x1d5626=_0x1bd2a4,_0xa79a86=_0x531f1b[_0x1d5626(0x11c)];this[_0x1d5626(0x116)](_0xa79a86,_0x54da1c)||this[_0x1d5626(0x101)](_0x54da1c);}),'keydown':_0x208d83['to'](_0xe4ca6c=>{const _0x14b9a7=_0x1bd2a4;_0xe4ca6c[_0x14b9a7(0xe7)]==_0x394b57&&(this[_0x14b9a7(0x11f)](_0x54da1c,_0x276a3b),_0x54da1c[_0x14b9a7(0xfa)][_0x14b9a7(0xf1)](0x0)[_0x14b9a7(0xe1)]());})}}),_0x54da1c['on'](_0x1bd2a4(0x112),()=>{const _0x23e509=_0x1bd2a4;_0x54da1c[_0x23e509(0xd8)]?.[_0x23e509(0x11d)](_0x23e509(0xef),_0x5dce6f=>{const _0x396531=_0x23e509,_0x22d249=_0x5dce6f[_0x396531(0x11c)];_0x276a3b[_0x396531(0xd8)]?.[_0x396531(0xed)](_0x22d249)||this[_0x396531(0x116)](_0x22d249,_0x54da1c)||this[_0x396531(0x101)](_0x54da1c);});});}[_0x1e81b3(0x11f)](_0x390838,_0x36fe04){const _0x1d70d7=_0x1e81b3;this[_0x1d70d7(0xe8)][_0x1d70d7(0xf0)](_0x55adf9=>{const _0xccd142=_0x1d70d7;_0x55adf9!==_0x390838&&_0x55adf9[_0xccd142(0x106)]&&_0x55adf9[_0xccd142(0xd2)]();}),_0x390838[_0x1d70d7(0x11b)](),_0x390838[_0x1d70d7(0xfe)]({'positions':[_0x2be76e[_0x1d70d7(0x113)]],'target':_0x36fe04[_0x1d70d7(0xd8)],'fitInViewport':!0x0}),this[_0x1d70d7(0xe8)][_0x1d70d7(0xfd)](_0x390838);}[_0x1e81b3(0x101)](_0x3f909a){const _0x5ae14b=_0x1e81b3;_0x3f909a[_0x5ae14b(0xd2)](),this[_0x5ae14b(0xe8)][_0x5ae14b(0x103)](_0x3f909a);}[_0x1e81b3(0xeb)](){const _0x1c3b3c=_0x1e81b3;this[_0x1c3b3c(0xe8)][_0x1c3b3c(0xf0)](_0x1ebfdb=>_0x1ebfdb[_0x1c3b3c(0xd2)]()),this[_0x1c3b3c(0xe8)][_0x1c3b3c(0xd5)]();}[_0x1e81b3(0x116)](_0x32231f,_0x49514a){const _0x2a059f=_0x1e81b3;if(!_0x32231f)return!0x1;if(_0x49514a[_0x2a059f(0xd8)]?.[_0x2a059f(0xed)](_0x32231f))return!0x0;const _0x43cdde=_0x32231f;return _0x43cdde[_0x2a059f(0xd6)]&&(null!==_0x43cdde[_0x2a059f(0xd6)](_0x2a059f(0xe3))||null!==_0x43cdde[_0x2a059f(0xd6)](_0x2a059f(0x110))||null!==_0x43cdde[_0x2a059f(0xd6)](_0x2a059f(0xec)));}[_0x1e81b3(0xd7)](){const _0x2443d2=_0x1e81b3;this[_0x2443d2(0xeb)](),this[_0x2443d2(0xfb)][_0x2443d2(0xf9)](),super[_0x2443d2(0xd7)]();}[_0x1e81b3(0xe1)](){const _0x442eae=_0x1e81b3;this[_0x442eae(0xee)][_0x442eae(0xe1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ec03e,_0x3bfc86){const _0x412a64=_0x553c,_0x3caa4=_0x4ec03e();while(!![]){try{const _0x22ae15=-parseInt(_0x412a64(0x103))/0x1+parseInt(_0x412a64(0x104))/0x2*(parseInt(_0x412a64(0xf8))/0x3)+-parseInt(_0x412a64(0xf9))/0x4*(parseInt(_0x412a64(0xfc))/0x5)+-parseInt(_0x412a64(0xf7))/0x6+-parseInt(_0x412a64(0x105))/0x7+-parseInt(_0x412a64(0xfe))/0x8+parseInt(_0x412a64(0xfa))/0x9*(parseInt(_0x412a64(0x106))/0xa);if(_0x22ae15===_0x3bfc86)break;else _0x3caa4['push'](_0x3caa4['shift']());}catch(_0x1c8d7e){_0x3caa4['push'](_0x3caa4['shift']());}}}(_0x3045,0x3bc8e));function _0x3045(){const _0x589425=['1153383Pslata','15870LepvxF','ck-ai-quick-actions-dropdown','icon','locale','1165494jyIjSc','216GYHHbd','204zpHeOw','6021rEwQSq','add','42495xiUYeZ','set','1728336aFSgHj','label','children','buttonView','panelView','89044uNCOIp','7798wmtGan'];_0x3045=function(){return _0x589425;};return _0x3045();}function _0x553c(_0xc5ac9,_0x47ed18){const _0x3045a3=_0x3045();return _0x553c=function(_0x553c0f,_0x4b610a){_0x553c0f=_0x553c0f-0xf6;let _0x2656fb=_0x3045a3[_0x553c0f];return _0x2656fb;},_0x553c(_0xc5ac9,_0x47ed18);}import{createDropdown as _0x3b08f4}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5c0d23}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x4dd846}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x21a8ea,_0x200dd7,_0x5501e6,_0x450e31){return()=>{const _0xb2f2da=_0x553c,_0x230610=_0x21a8ea[_0xb2f2da(0xf6)],_0x44b0d8=_0x3b08f4(_0x230610);_0x44b0d8[_0xb2f2da(0x101)][_0xb2f2da(0xfd)]({'icon':_0x5501e6[_0xb2f2da(0x108)]??_0x5c0d23,'label':_0x5501e6[_0xb2f2da(0xff)],'tooltip':!0x0}),_0x44b0d8[_0xb2f2da(0xfd)]({'class':_0xb2f2da(0x107)});const _0x310a6e=new _0x4dd846(_0x21a8ea,_0x200dd7,_0x44b0d8,_0x450e31);return _0x44b0d8[_0xb2f2da(0x102)][_0xb2f2da(0x100)][_0xb2f2da(0xfb)](_0x310a6e),_0x44b0d8;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x315004=_0x22c7;function _0x3322(){const _0x3f8c0a=['1aGfFbY','20tbmrDL','Readability','Confident','837340nRXmuo','friendly','Direct','Adjust\x20tone\x20and\x20style','Clarity','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Spanish','3249402lAvFix','italian','make','Custom\x20command','Professional','correctness','casual','Translate\x20the\x20text\x20into\x20another\x20language.','Translate','14091440NSwgQw','Italian','readability','dropdown','29406zrmqpn','French','professional','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','french','2403528sDGvZs','chinese','Shorter','Portuguese','confident','Adjust\x20length','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','translate','English','korean','Correctness','make-tone','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Friendly','Longer','spanish','german','direct','German','Russian','Chinese\x20(Simplified)','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','portuguese','318722IrQsak','Select\x20language','clarity','japanese','1386036vsSXEI','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','shorter','russian','322NELBek','custom','Casual','Japanese','language','Korean','longer','english'];_0x3322=function(){return _0x3f8c0a;};return _0x3322();}function _0x22c7(_0x55914a,_0xa3294c){const _0x332244=_0x3322();return _0x22c7=function(_0x22c78c,_0x3cc596){_0x22c78c=_0x22c78c-0xd4;let _0x383c25=_0x332244[_0x22c78c];return _0x383c25;},_0x22c7(_0x55914a,_0xa3294c);}(function(_0x37820c,_0x3f50c0){const _0x3642a1=_0x22c7,_0x2f0d41=_0x37820c();while(!![]){try{const _0x1faf3b=parseInt(_0x3642a1(0xe4))/0x1*(parseInt(_0x3642a1(0xd4))/0x2)+parseInt(_0x3642a1(0xef))/0x3+parseInt(_0x3642a1(0xe5))/0x4*(parseInt(_0x3642a1(0xe8))/0x5)+-parseInt(_0x3642a1(0xfc))/0x6*(parseInt(_0x3642a1(0xdc))/0x7)+parseInt(_0x3642a1(0x101))/0x8+-parseInt(_0x3642a1(0xd8))/0x9+-parseInt(_0x3642a1(0xf8))/0xa;if(_0x1faf3b===_0x3f50c0)break;else _0x2f0d41['push'](_0x2f0d41['shift']());}catch(_0x4c7220){_0x2f0d41['push'](_0x2f0d41['shift']());}}}(_0x3322,0x90742));export const AI_REVIEW_CHECKS=[{'id':_0x315004(0xdd),'title':_0x315004(0xf2),'description':_0x315004(0xd9),'isParameterized':!0x0},{'id':_0x315004(0xf4),'title':_0x315004(0x10b),'description':_0x315004(0xff),'isParameterized':!0x1},{'id':_0x315004(0xd6),'title':_0x315004(0xec),'description':_0x315004(0x116),'isParameterized':!0x1},{'id':_0x315004(0xfa),'title':_0x315004(0xe6),'description':_0x315004(0x107),'isParameterized':!0x1},{'id':_0x315004(0xf1),'title':_0x315004(0x106),'description':_0x315004(0xed),'isParameterized':!0x0,'options':[{'formType':_0x315004(0xfb),'label':_0x315004(0x106),'default':_0x315004(0xe2),'data':[{'label':_0x315004(0x10f),'id':_0x315004(0xe2)},{'label':_0x315004(0x103),'id':_0x315004(0xda)}]}]},{'id':_0x315004(0x10c),'title':_0x315004(0xeb),'description':_0x315004(0x10d),'isParameterized':!0x0,'options':[{'formType':_0x315004(0xfb),'label':_0x315004(0xeb),'default':_0x315004(0xf5),'data':[{'label':_0x315004(0xde),'id':_0x315004(0xf5)},{'label':_0x315004(0xea),'id':_0x315004(0x112)},{'label':_0x315004(0x10e),'id':_0x315004(0xe9)},{'label':_0x315004(0xe7),'id':_0x315004(0x105)},{'label':_0x315004(0xf3),'id':_0x315004(0xfe)}]}]},{'id':_0x315004(0x108),'title':_0x315004(0xf7),'description':_0x315004(0xf6),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x315004(0xfb),'label':_0x315004(0xd5),'argsKey':_0x315004(0xe0),'data':[{'label':_0x315004(0x109),'id':_0x315004(0xe3)},{'label':_0x315004(0xee),'id':_0x315004(0x110)},{'label':_0x315004(0xfd),'id':_0x315004(0x100)},{'label':_0x315004(0x113),'id':_0x315004(0x111)},{'label':_0x315004(0x115),'id':_0x315004(0x102)},{'label':_0x315004(0xdf),'id':_0x315004(0xd7)},{'label':_0x315004(0x114),'id':_0x315004(0xdb)},{'label':_0x315004(0x104),'id':_0x315004(0x117)},{'label':_0x315004(0xe1),'id':_0x315004(0x10a)},{'label':_0x315004(0xf9),'id':_0x315004(0xf0)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x154f98=_0x4169;(function(_0xa62800,_0xdb98dd){var _0x143cce=_0x4169,_0x2b3006=_0xa62800();while(!![]){try{var _0x50cc56=parseInt(_0x143cce(0x12b))/0x1*(parseInt(_0x143cce(0x120))/0x2)+-parseInt(_0x143cce(0x12a))/0x3*(-parseInt(_0x143cce(0x129))/0x4)+parseInt(_0x143cce(0x12d))/0x5+-parseInt(_0x143cce(0x12f))/0x6+parseInt(_0x143cce(0x12e))/0x7*(-parseInt(_0x143cce(0x128))/0x8)+parseInt(_0x143cce(0x121))/0x9*(parseInt(_0x143cce(0x122))/0xa)+-parseInt(_0x143cce(0x124))/0xb;if(_0x50cc56===_0xdb98dd)break;else _0x2b3006['push'](_0x2b3006['shift']());}catch(_0x44f812){_0x2b3006['push'](_0x2b3006['shift']());}}}(_0x36ce,0x437f8));import{ContextPlugin as _0xc6d80f}from'ckeditor5/src/core.js';function _0x4169(_0x34e86c,_0x5b6ba0){var _0x36cef4=_0x36ce();return _0x4169=function(_0x416982,_0x2b9c27){_0x416982=_0x416982-0x120;var _0x3507bb=_0x36cef4[_0x416982];return _0x3507bb;},_0x4169(_0x34e86c,_0x5b6ba0);}import{AIReviewModeController as _0x536884}from'./aireviewmodecontroller.js';function _0x36ce(){var _0x3cf737=['1644875DZATUZ','222719vEDEgq','307776UnMkQb','34JlQDFZ','9PuXNgh','5154710IjiGjw','pluginName','12714867INGUfs','requires','isPremiumPlugin','AIReviewMode','40OlwGIH','508jMGIFk','10143nLVzuN','21701ngqLGM','isOfficialPlugin'];_0x36ce=function(){return _0x3cf737;};return _0x36ce();}import{AIReviewModeUI as _0xa9eaf0}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x33c2f9}from'./aireviewmodeediting.js';export class AIReviewMode extends _0xc6d80f{static get[_0x154f98(0x125)](){return[_0x536884,_0xa9eaf0,_0x33c2f9];}static get[_0x154f98(0x123)](){var _0x2124cc=_0x154f98;return _0x2124cc(0x127);}static get[_0x154f98(0x12c)](){return!0x0;}static get[_0x154f98(0x126)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bd8d2=_0x2e4c;(function(_0x2b1355,_0x33c384){const _0x348722=_0x2e4c,_0x4fd923=_0x2b1355();while(!![]){try{const _0x357f25=parseInt(_0x348722(0x114))/0x1+-parseInt(_0x348722(0x16d))/0x2+parseInt(_0x348722(0xf6))/0x3+-parseInt(_0x348722(0x17c))/0x4*(parseInt(_0x348722(0x10e))/0x5)+-parseInt(_0x348722(0x10c))/0x6*(parseInt(_0x348722(0xff))/0x7)+parseInt(_0x348722(0x17b))/0x8*(-parseInt(_0x348722(0x136))/0x9)+-parseInt(_0x348722(0x126))/0xa*(-parseInt(_0x348722(0x129))/0xb);if(_0x357f25===_0x33c384)break;else _0x4fd923['push'](_0x4fd923['shift']());}catch(_0x5d4ee5){_0x4fd923['push'](_0x4fd923['shift']());}}}(_0x24fe,0xa7dd7));import{ContextPlugin as _0x5d8415}from'ckeditor5/src/core.js';function _0x2e4c(_0x41feb7,_0xb4ca34){const _0x24feec=_0x24fe();return _0x2e4c=function(_0x2e4c6f,_0x4d76c8){_0x2e4c6f=_0x2e4c6f-0xe7;let _0x4e0118=_0x24feec[_0x2e4c6f];return _0x4e0118;},_0x2e4c(_0x41feb7,_0xb4ca34);}import{CKEditorError as _0x730cca,logError as _0x4fb811,scrollAncestorsToShowTarget as _0xfdfea9,scrollViewportToShowTarget as _0x48105b}from'ckeditor5/src/utils.js';import{AIConnector as _0x3e9b6d}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x1cf840}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x3d59e3}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1e59ad}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x26025c}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0xe7cda2}from'./aireviewcheckdefinitions.js';function _0x24fe(){const _0x25651a=['change','loading','restart','reviewCheckResultReady','_OPTIONS_DATA_','_getTranslationWithDefault','7riPPTL','currentError','_aiReviewCheckList','error-chunk','AI_MODEL_DESCRIPTION_','data','description','requires','init','length','context','unmodified','acceptAllChanges','3086004kMoVFB','domElement','115kzHyga','error-general','title','activateChange','showDiffInBalloon','getAll','656871wDAjUI','label','switchToEdit','status','contentNew','options','documentData','ck-ai-review-mode-highlights','_aiConnector','finished','showGeneralErrorView','reviewCheckResultChangeStatusUpdated','models','rejectChange','subTitle','_onReviewModeRunLeave','addResultChanges','prompt','650RPzbBo','_translateReviewChecks','dismissChange','341407UzPvNU','_aiReviewModeEditing','panel','ai-review-mode-no-current-check-run','showCheckRunResult','showChangeBalloon','hideDiffInBalloon','updateChangeState','setActiveStateInResults','showChunkErrorView','isPremiumPlugin','get','listenTo','9AyVKAV','document','ai-review-mode-check-run-failed','getRoot','ai-review-mode-check-run-chunk-error','getDocumentData','start','showReviewCheckList','markChangePositionInEditorContent','getActiveChanges','setCheckResultTitle','markChangeAsRejected','leaveReviewModeResultList','forceReadyState','reviewCheckResultAdded','stopListening','addClass','showActionsWhenResultIsReady','isCustom','_onDiffChange','_DESCRIPTION','changeMarkerRestored','config','_TITLE','sendRating','finishReview','args','map','toUpperCase','checks','ai-review-mode-source-check-not-found','view','showCheckRunResults','plugins','toggleDiff','reviewCheckRunUpdated','markChangeAsAccepted','markChangeAsPending','clearAllMarkers','replaceAll','ready','leaveReviewMode','runReviewCheck','resetActiveStateInResults','setAvailableChecks','ai-review-mode-check-run-general-error','_logError','markAllChangesAsAccepted','diffContent','AI_REVIEW_CHECK_','content','deactivateChange','model','translate','pluginName','1172074AGQGdn','hasModifications','locale','abortReviewStream','hideChangeBalloon','getMarkerElementForChange','markChangeAsOutdated','message','changeMarkerRemoved','contentInitial','applyChange','source','getEditor','reviewCheckResultActivated','10854832TMJASK','71956lKGnoP','getChangeElement','showNoChangesView','getReviewCheckList','emitter','aborted','AIReviewModeEditing','showReviewCompletedView','isChangeActive','changeId','switchToReadOnly','find','changeMarkerClick','AIConnector','AIReviewModeUI','reviewCheckResultDeactivated','ck-ai-review-mode-diff','params','closest','editing','ai-request-aborted','acceptChange','AIReviewModeController','removeClass','includes','_OPTIONS_LABEL','retryReview','_aiReviewModeUi','ai.reviewMode.translations','custom','result','_isDiffOn','.ck-ai-review-mode__check-run-result','changes','_currentReviewCheckRun','processedResultsCount','getCheckById','isOfficialPlugin','2652813dmSQaG','abort','_changeActivationSource'];_0x24fe=function(){return _0x25651a;};return _0x24fe();}import{getTranslation as _0x43f457}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x5d8415{[_0x1bd8d2(0x11c)];[_0x1bd8d2(0xeb)];[_0x1bd8d2(0x12a)];[_0x1bd8d2(0x101)];[_0x1bd8d2(0xf2)];[_0x1bd8d2(0xef)]=!0x1;[_0x1bd8d2(0xf8)]=null;static get[_0x1bd8d2(0x106)](){return[_0x3e9b6d];}static get[_0x1bd8d2(0x16c)](){const _0x571fd1=_0x1bd8d2;return _0x571fd1(0x192);}static get[_0x1bd8d2(0xf5)](){return!0x0;}static get[_0x1bd8d2(0x133)](){return!0x0;}async[_0x1bd8d2(0x107)](){const _0x373780=_0x1bd8d2;this[_0x373780(0x11c)]=this[_0x373780(0x109)][_0x373780(0x157)][_0x373780(0x134)](_0x373780(0x189)),this[_0x373780(0xeb)]=this[_0x373780(0x109)][_0x373780(0x157)][_0x373780(0x134)](_0x373780(0x18a)),this[_0x373780(0x12a)]=this[_0x373780(0x109)][_0x373780(0x157)][_0x373780(0x134)](_0x373780(0x182));const _0x487886=this[_0x373780(0x109)][_0x373780(0x14c)][_0x373780(0x134)](_0x373780(0xec));if(_0x487886){for(const _0x52167f of _0xe7cda2)_0x373780(0x16b)===_0x52167f['id']&&(_0x52167f[_0x373780(0x119)][0x0][_0x373780(0x104)]=_0x487886);}const _0x2a7809=this[_0x373780(0x127)](_0xe7cda2);this[_0x373780(0x101)]=new _0x1cf840(_0x2a7809);const _0x4628a8=this[_0x373780(0x101)][_0x373780(0x153)][_0x373780(0x187)](_0x4e8e98=>_0x373780(0xed)===_0x4e8e98['id']);if(_0x4628a8){const _0x3d4f5b=await new _0x26025c({'connector':this[_0x373780(0x11c)]})[_0x373780(0x113)]();_0x4628a8[_0x373780(0x120)]=_0x3d4f5b[_0x373780(0x151)](_0x16dc83=>({..._0x16dc83,'description':this[_0x373780(0xfe)](_0x373780(0x103)+_0x16dc83['id'][_0x373780(0x152)](),_0x16dc83[_0x373780(0x105)])}));}this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x17f),()=>{const _0x243b83=_0x373780;this[_0x243b83(0xeb)][_0x243b83(0x162)](this[_0x243b83(0x101)][_0x243b83(0x153)]);}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x160),async(_0x2d37c2,_0x5c37ec)=>{const _0x7a8de1=_0x373780,_0x38c465=this[_0x7a8de1(0x101)][_0x7a8de1(0xf4)](_0x5c37ec['id']);if(_0x38c465){this[_0x7a8de1(0x149)](this[_0x7a8de1(0xef)]),_0x5c37ec[_0x7a8de1(0x148)]?this[_0x7a8de1(0xf2)]=new _0x1e59ad(_0x5c37ec[_0x7a8de1(0x150)][_0x7a8de1(0x125)],_0x5c37ec[_0x7a8de1(0x150)][_0x7a8de1(0x16a)],this[_0x7a8de1(0x12a)][_0x7a8de1(0x13b)](),_0x38c465,this[_0x7a8de1(0x11c)]):this[_0x7a8de1(0xf2)]=new _0x3d59e3(this[_0x7a8de1(0x12a)][_0x7a8de1(0x13b)](),_0x38c465,this[_0x7a8de1(0x11c)],_0x5c37ec[_0x7a8de1(0x18d)],_0x5c37ec[_0x7a8de1(0x150)]),this[_0x7a8de1(0xeb)][_0x7a8de1(0x140)](this[_0x7a8de1(0xf2)][_0x7a8de1(0x110)],this[_0x7a8de1(0xf2)][_0x7a8de1(0x122)]),this[_0x7a8de1(0xf2)]['on'](_0x7a8de1(0x159),(_0x5e7a71,_0x30d2b4)=>{const _0x3f5bf1=_0x7a8de1;_0x3f5bf1(0x104)===_0x30d2b4[_0x3f5bf1(0x117)]||_0x3f5bf1(0xfa)===_0x30d2b4[_0x3f5bf1(0x117)]?(this[_0x3f5bf1(0x12a)][_0x3f5bf1(0x186)](),this[_0x3f5bf1(0xeb)][_0x3f5bf1(0x156)](_0x30d2b4)):_0x3f5bf1(0x11d)===_0x30d2b4[_0x3f5bf1(0x117)]?this[_0x3f5bf1(0xeb)][_0x3f5bf1(0x183)]():_0x3f5bf1(0x15e)===_0x30d2b4[_0x3f5bf1(0x117)]?this[_0x3f5bf1(0xeb)][_0x3f5bf1(0x147)]():_0x3f5bf1(0x10a)===_0x30d2b4[_0x3f5bf1(0x117)]?this[_0x3f5bf1(0xeb)][_0x3f5bf1(0x17e)]():_0x3f5bf1(0x10f)===_0x30d2b4[_0x3f5bf1(0x117)]?(this[_0x3f5bf1(0xeb)][_0x3f5bf1(0x11e)](),this[_0x3f5bf1(0x164)](new _0x730cca(_0x3f5bf1(0x163),this,this[_0x3f5bf1(0xf2)]?.[_0x3f5bf1(0x100)]))):_0x3f5bf1(0x102)===_0x30d2b4[_0x3f5bf1(0x117)]?(this[_0x3f5bf1(0xeb)][_0x3f5bf1(0x132)](),this[_0x3f5bf1(0x164)](new _0x730cca(_0x3f5bf1(0x13a),this,this[_0x3f5bf1(0xf2)]?.[_0x3f5bf1(0x100)]))):_0x3f5bf1(0x181)===_0x30d2b4[_0x3f5bf1(0x117)]&&(this[_0x3f5bf1(0xf2)]&&this[_0x3f5bf1(0xf2)][_0x3f5bf1(0xf3)]>0x0?setTimeout(()=>{const _0x44a2da=_0x3f5bf1;this[_0x44a2da(0xf2)]?.[_0x44a2da(0x143)]();},0x0):this[_0x3f5bf1(0x123)](!0x0)),_0x3f5bf1(0x15e)!==_0x30d2b4[_0x3f5bf1(0x117)]&&_0x3f5bf1(0x102)!==_0x30d2b4[_0x3f5bf1(0x117)]&&_0x3f5bf1(0x10f)!==_0x30d2b4[_0x3f5bf1(0x117)]||this[_0x3f5bf1(0xf2)]?.[_0x3f5bf1(0x14e)]();}),this[_0x7a8de1(0xf2)]['on'](_0x7a8de1(0x144),(_0x37e3c0,_0x33aed9)=>{const _0xf6094d=_0x7a8de1;if(!this[_0xf6094d(0xf2)])throw new _0x730cca(_0xf6094d(0x12c),this);const _0x37a081=this[_0xf6094d(0x12a)][_0xf6094d(0x166)](_0x33aed9[_0xf6094d(0xee)][_0xf6094d(0x176)],_0x33aed9[_0xf6094d(0xee)][_0xf6094d(0x118)]);_0x33aed9[_0xf6094d(0x178)][_0xf6094d(0x124)](_0x33aed9[_0xf6094d(0xee)]['id'],_0x37a081);}),this[_0x7a8de1(0xf2)]['on'](_0x7a8de1(0xfc),(_0x494c6d,_0x4619c3)=>{const _0x150de7=_0x7a8de1;for(const _0xdcbafa of _0x4619c3[_0x150de7(0xf1)])this[_0x150de7(0xeb)][_0x150de7(0x12d)](_0xdcbafa);this[_0x150de7(0x12a)][_0x150de7(0x13e)](_0x4619c3[_0x150de7(0xf1)],_0x4619c3[_0x150de7(0x178)][_0x150de7(0x11a)]);}),this[_0x7a8de1(0xf2)]['on'](_0x7a8de1(0x11f),(_0x15ca2e,_0xb511ec)=>{const _0x1c0e78=_0x7a8de1;this[_0x1c0e78(0xeb)][_0x1c0e78(0x130)](_0xb511ec[_0x1c0e78(0xf9)]['id'],_0xb511ec[_0x1c0e78(0x117)]);}),this[_0x7a8de1(0xf2)]['on'](_0x7a8de1(0x17a),(_0x1a2c85,_0x20338e)=>{const _0x2e7721=_0x7a8de1;this[_0x2e7721(0xeb)][_0x2e7721(0x131)](_0x20338e[_0x2e7721(0xf9)]['id']);const _0x1a935b=this[_0x2e7721(0x12a)][_0x2e7721(0x172)](_0x20338e[_0x2e7721(0xf9)]['id']);if(_0x1a935b){if(_0x2e7721(0x168)===this[_0x2e7721(0xf8)]){const _0x101511=this[_0x2e7721(0xeb)][_0x2e7721(0x17d)](_0x20338e[_0x2e7721(0xf9)]['id']);_0x101511&&_0xfdfea9(_0x101511[_0x2e7721(0x18e)](_0x2e7721(0xf0))||_0x101511);}else{if(_0x2e7721(0x12b)===this[_0x2e7721(0xf8)]){const _0x58d566={'target':_0x1a935b[_0x2e7721(0x10d)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x48105b(_0x58d566);}}this[_0x2e7721(0xeb)][_0x2e7721(0x12e)](_0x20338e[_0x2e7721(0xf9)],_0x1a935b[_0x2e7721(0x10d)]);}}),this[_0x7a8de1(0xf2)]['on'](_0x7a8de1(0x18b),()=>{const _0xd6b45c=_0x7a8de1;this[_0xd6b45c(0xeb)][_0xd6b45c(0x161)](),this[_0xd6b45c(0xeb)][_0xd6b45c(0x171)]();});try{await this[_0x7a8de1(0xf2)][_0x7a8de1(0x13c)]();}catch(_0x316f98){_0x316f98 instanceof Error&&_0x316f98[_0x7a8de1(0x174)][_0x7a8de1(0xe8)](_0x7a8de1(0x190))||(_0x316f98 instanceof _0x730cca?this[_0x7a8de1(0x164)](_0x316f98):this[_0x7a8de1(0x164)](new _0x730cca(_0x7a8de1(0x138),this,{'error':_0x316f98})));}}else this[_0x7a8de1(0x164)](new _0x730cca(_0x7a8de1(0x154),this,{'checkId':_0x5c37ec['id']}));}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x15f),()=>{const _0x30838b=_0x373780;this[_0x30838b(0x123)]();}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x142),()=>{const _0x167803=_0x373780;this[_0x167803(0x123)](!0x0);}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x170),()=>{const _0x3586b9=_0x373780;this[_0x3586b9(0xf2)]&&this[_0x3586b9(0xf2)][_0x3586b9(0xf7)]();}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x14f),()=>{const _0x39ff0d=_0x373780;this[_0x39ff0d(0x123)](!0x0);}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x10b),()=>{const _0x40a438=_0x373780;if(!this[_0x40a438(0xf2)])return;const _0x515c4b=this[_0x40a438(0xf2)][_0x40a438(0x13f)]();_0x515c4b[_0x40a438(0x108)]&&(this[_0x40a438(0x12a)][_0x40a438(0x177)](_0x515c4b[_0x40a438(0x151)](_0x4c0a90=>_0x4c0a90['id'])),this[_0x40a438(0xf2)][_0x40a438(0x165)](),this[_0x40a438(0xf2)][_0x40a438(0x14e)]());}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x191),(_0x240257,_0x31573a)=>{const _0x4803b9=_0x373780;this[_0x4803b9(0xf2)]&&this[_0x4803b9(0xf2)][_0x4803b9(0x184)](_0x31573a['id'])&&(this[_0x4803b9(0x12a)][_0x4803b9(0x177)]([_0x31573a['id']]),this[_0x4803b9(0xf2)][_0x4803b9(0x15a)](_0x31573a['id']),this[_0x4803b9(0xeb)][_0x4803b9(0x171)](),this[_0x4803b9(0xf2)][_0x4803b9(0x14e)](_0x31573a['id']));}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x128),(_0x39c249,_0xe5c756)=>{const _0x4e21f4=_0x373780;this[_0x4e21f4(0xf2)]&&this[_0x4e21f4(0xf2)][_0x4e21f4(0x184)](_0xe5c756['id'])&&(this[_0x4e21f4(0x12a)][_0x4e21f4(0x121)](_0xe5c756['id']),this[_0x4e21f4(0xf2)][_0x4e21f4(0x141)](_0xe5c756['id']),this[_0x4e21f4(0xeb)][_0x4e21f4(0x171)](),this[_0x4e21f4(0xf2)][_0x4e21f4(0x14e)](_0xe5c756['id']));}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x158),(_0xeb04d9,_0x17d5b6)=>{const _0x428ebc=_0x373780;this[_0x428ebc(0xef)]=_0x17d5b6['on'],this[_0x428ebc(0x149)](this[_0x428ebc(0xef)]);}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0xea),async()=>{const _0x339914=_0x373780;this[_0x339914(0xf2)]&&await this[_0x339914(0xf2)][_0x339914(0xfb)]();}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x111),(_0x3c8985,_0x5442b8)=>{const _0x2b5901=_0x373780;this[_0x2b5901(0xf2)]&&(this[_0x2b5901(0xf8)]=_0x2b5901(0x12b),this[_0x2b5901(0xf2)][_0x2b5901(0x111)](_0x5442b8['id']));}),this[_0x373780(0x135)](this[_0x373780(0xeb)],_0x373780(0x169),()=>{const _0x1fa6c0=_0x373780;this[_0x1fa6c0(0xf2)]&&this[_0x1fa6c0(0xf2)][_0x1fa6c0(0x169)]();}),this[_0x373780(0x135)](this[_0x373780(0x12a)][_0x373780(0x180)],_0x373780(0x188),(_0x33dd5b,_0x343475)=>{const _0x58a71c=_0x373780;this[_0x58a71c(0xf2)]&&(this[_0x58a71c(0xf8)]=_0x58a71c(0x168),this[_0x58a71c(0xf2)][_0x58a71c(0x111)](_0x343475[_0x58a71c(0x185)]));}),this[_0x373780(0x135)](this[_0x373780(0x12a)][_0x373780(0x180)],_0x373780(0x175),(_0x11cec7,_0x8d78af)=>{const _0x43078f=_0x373780;this[_0x43078f(0xf2)]&&this[_0x43078f(0xf2)][_0x43078f(0x173)](_0x8d78af[_0x43078f(0x185)]);}),this[_0x373780(0x135)](this[_0x373780(0x12a)][_0x373780(0x180)],_0x373780(0x14b),(_0x12b9d5,_0x7d4af6)=>{const _0xa748b6=_0x373780;this[_0xa748b6(0xf2)]&&this[_0xa748b6(0xf2)][_0xa748b6(0x15b)](_0x7d4af6[_0xa748b6(0x185)]);});}[_0x1bd8d2(0x123)](_0x4f41e3=!0x1){const _0x532df0=_0x1bd8d2;this[_0x532df0(0xf2)]&&(this[_0x532df0(0xf2)][_0x532df0(0x16e)]||this[_0x532df0(0xf2)][_0x532df0(0x14e)](),this[_0x532df0(0xf2)][_0x532df0(0x145)](),this[_0x532df0(0xf2)][_0x532df0(0xf7)](),this[_0x532df0(0xf2)]=void 0x0),_0x4f41e3&&this[_0x532df0(0xeb)][_0x532df0(0x13d)](),this[_0x532df0(0x12a)][_0x532df0(0x15c)](),this[_0x532df0(0x12a)][_0x532df0(0x116)](),this[_0x532df0(0xf8)]=null;const _0x42e31a=this[_0x532df0(0x12a)][_0x532df0(0x179)]();_0x42e31a&&_0x42e31a[_0x532df0(0x18f)][_0x532df0(0x155)][_0x532df0(0xf9)](_0x2aa4f9=>{const _0x5acf7a=_0x532df0,_0x486d85=_0x42e31a[_0x5acf7a(0x18f)][_0x5acf7a(0x155)][_0x5acf7a(0x137)][_0x5acf7a(0x139)]();_0x2aa4f9[_0x5acf7a(0xe7)](_0x5acf7a(0x18c),_0x486d85),_0x2aa4f9[_0x5acf7a(0xe7)](_0x5acf7a(0x11b),_0x486d85);});}[_0x1bd8d2(0x149)](_0x54d8bb){const _0x4b8ff2=_0x1bd8d2,_0x7e170b=this[_0x4b8ff2(0x12a)][_0x4b8ff2(0x179)]();_0x54d8bb?this[_0x4b8ff2(0xeb)][_0x4b8ff2(0x12f)]():this[_0x4b8ff2(0xeb)][_0x4b8ff2(0x112)](),_0x7e170b&&_0x7e170b[_0x4b8ff2(0x18f)][_0x4b8ff2(0x155)][_0x4b8ff2(0xf9)](_0x422912=>{const _0x1865c7=_0x4b8ff2,_0x443406=_0x7e170b[_0x1865c7(0x18f)][_0x1865c7(0x155)][_0x1865c7(0x137)][_0x1865c7(0x139)]();_0x422912[_0x1865c7(0xe7)](_0x1865c7(0x18c),_0x443406),_0x422912[_0x1865c7(0xe7)](_0x1865c7(0x11b),_0x443406),_0x422912[_0x1865c7(0x146)](_0x54d8bb?_0x1865c7(0x18c):_0x1865c7(0x11b),_0x443406);});}[_0x1bd8d2(0x127)](_0x4db01a){const _0x3cc38d=_0x1bd8d2;return _0x4db01a[_0x3cc38d(0x151)](_0x5819c3=>{const _0x30af6c=_0x3cc38d,_0xa0aaac=_0x30af6c(0x167)+_0x5819c3['id'][_0x30af6c(0x152)]()[_0x30af6c(0x15d)]('-','_'),_0x286dac={..._0x5819c3,'title':this[_0x30af6c(0xfe)](_0xa0aaac+_0x30af6c(0x14d),_0x5819c3[_0x30af6c(0x110)]),'description':this[_0x30af6c(0xfe)](_0xa0aaac+_0x30af6c(0x14a),_0x5819c3[_0x30af6c(0x105)])};return _0x5819c3[_0x30af6c(0x119)]&&(_0x286dac[_0x30af6c(0x119)]=_0x5819c3[_0x30af6c(0x119)][_0x30af6c(0x151)](_0x27328d=>({..._0x27328d,'label':this[_0x30af6c(0xfe)](_0xa0aaac+_0x30af6c(0xe9),_0x27328d[_0x30af6c(0x115)]||''),'data':_0x27328d[_0x30af6c(0x104)]?_0x27328d[_0x30af6c(0x104)][_0x30af6c(0x151)](_0x2a71a8=>({..._0x2a71a8,'label':this[_0x30af6c(0xfe)](_0xa0aaac+_0x30af6c(0xfd)+_0x2a71a8['id'][_0x30af6c(0x152)](),_0x2a71a8[_0x30af6c(0x115)])})):void 0x0}))),_0x286dac;});}[_0x1bd8d2(0xfe)](_0x5172f4,_0x1a5665){const _0xba95df=_0x1bd8d2,_0x30033c=this[_0xba95df(0x109)][_0xba95df(0x16f)],_0x5d7476=_0x43f457(_0x30033c,_0x5172f4);return _0x5d7476===_0x5172f4?_0x1a5665:_0x5d7476;}[_0x1bd8d2(0x164)](_0x361122){const _0x361df3=_0x1bd8d2;_0x4fb811(_0x361122[_0x361df3(0x174)]),this[_0x361df3(0xeb)][_0x361df3(0x11e)]();}}
|
|
23
|
+
function _0x4538(){const _0x13ffe5=['ai-review-mode-check-run-chunk-error','ai-review-mode-no-current-check-run','domElement','9MYPxLV','_logError','sendRating','reviewCheckRunUpdated','switchToReadOnly','23934syAbmX','showCheckRunResults','runReviewCheck','isPremiumPlugin','96xxgEPE','data','change','contentInitial','leaveReviewModeResultList','get','content','5704024ponPYa','resetActiveStateInResults','3cUSGdf','getAll','changes','abortReviewStream','setCheckResultTitle','panel','_aiReviewModeEditing','currentError','message','AI_MODEL_DESCRIPTION_','changeMarkerClick','addClass','showChangeBalloon','applyChange','_changeActivationSource','AI_REVIEW_CHECK_','checks','26hgHdsU','_aiReviewModeUi','clearAllMarkers','getMarkerElementForChange','context','showGeneralErrorView','_onReviewModeRunLeave','AIConnector','switchToEdit','restart','ck-ai-review-mode-diff','setAvailableChecks','params','translate','isOfficialPlugin','status','view','error-chunk','getActiveChanges','9117204ceXZuK','getCheckById','models','1020420lGuRdH','contentNew','ai.reviewMode.translations','showActionsWhenResultIsReady','updateChangeState','changeId','548140vLHiAA','config','diffContent','unmodified','82298yJQuuB','hideDiffInBalloon','aborted','rejectChange','48645vjqWul','getReviewCheckList','isChangeActive','showChunkErrorView','showCheckRunResult','changeMarkerRestored','subTitle','processedResultsCount','requires','_getTranslationWithDefault','removeClass','AIReviewModeController','finished','replaceAll','abort','stopListening','setActiveStateInResults','finishReview','reviewCheckResultReady','getChangeElement','plugins','getEditor','retryReview','_DESCRIPTION','_OPTIONS_DATA_','isCustom','_aiReviewCheckList','_translateReviewChecks','_onDiffChange','_isDiffOn','find','showNoChangesView','markChangeAsPending','closest','forceReadyState','hasModifications','_OPTIONS_LABEL','map','markChangePositionInEditorContent','document','hideChangeBalloon','.ck-ai-review-mode__check-run-result','toUpperCase','ai-review-mode-source-check-not-found','reviewCheckResultDeactivated','ai-request-aborted','acceptChange','editing','activateChange','showReviewCheckList','model','ai-review-mode-check-run-general-error','args','documentData','reviewCheckResultChangeStatusUpdated','showReviewCompletedView','leaveReviewMode','result','title','label','acceptAllChanges','addResultChanges','custom','includes','markChangeAsRejected','emitter','init','markChangeAsOutdated','options','AIReviewModeEditing','ck-ai-review-mode-highlights','getDocumentData','ai-review-mode-check-run-failed','reviewCheckResultAdded','pluginName','toggleDiff','44prCONr','changeMarkerRemoved','listenTo','length','1029hSoQrF','deactivateChange','description','getRoot','AIReviewModeUI','reviewCheckResultActivated','_currentReviewCheckRun','locale','start','loading','dismissChange','ready','markAllChangesAsAccepted','error-general','source','markChangeAsAccepted','prompt','_TITLE','_aiConnector','showDiffInBalloon'];_0x4538=function(){return _0x13ffe5;};return _0x4538();}const _0x1af323=_0x429c;(function(_0x520af9,_0x365431){const _0x5be197=_0x429c,_0xe33013=_0x520af9();while(!![]){try{const _0x5e39ee=-parseInt(_0x5be197(0x1ea))/0x1*(parseInt(_0x5be197(0x21b))/0x2)+parseInt(_0x5be197(0x21f))/0x3*(-parseInt(_0x5be197(0x1e1))/0x4)+-parseInt(_0x5be197(0x217))/0x5+-parseInt(_0x5be197(0x1dd))/0x6*(-parseInt(_0x5be197(0x1c1))/0x7)+parseInt(_0x5be197(0x1e8))/0x8*(-parseInt(_0x5be197(0x1d8))/0x9)+-parseInt(_0x5be197(0x211))/0xa*(parseInt(_0x5be197(0x1bd))/0xb)+parseInt(_0x5be197(0x20e))/0xc*(parseInt(_0x5be197(0x1fb))/0xd);if(_0x5e39ee===_0x365431)break;else _0xe33013['push'](_0xe33013['shift']());}catch(_0x5e8ba8){_0xe33013['push'](_0xe33013['shift']());}}}(_0x4538,0x5880f));import{ContextPlugin as _0x4dc7d1}from'ckeditor5/src/core.js';import{CKEditorError as _0x15b7f3,logError as _0x34b2fd,scrollAncestorsToShowTarget as _0x408425,scrollViewportToShowTarget as _0x386065}from'ckeditor5/src/utils.js';import{AIConnector as _0x674f3c}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x5f05e4}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x136f73}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x5b1022}from'./model/aireviewcustomcheckrun.js';function _0x429c(_0x4bd878,_0x16fcf7){const _0x45381f=_0x4538();return _0x429c=function(_0x429cc6,_0x46b584){_0x429cc6=_0x429cc6-0x18a;let _0x2c8927=_0x45381f[_0x429cc6];return _0x2c8927;},_0x429c(_0x4bd878,_0x16fcf7);}import{AIModels as _0x5bebe2}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x3922e0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x1d25d6}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x4dc7d1{[_0x1af323(0x1d3)];[_0x1af323(0x1fc)];[_0x1af323(0x1f0)];[_0x1af323(0x18b)];[_0x1af323(0x1c7)];[_0x1af323(0x18e)]=!0x1;[_0x1af323(0x1f8)]=null;static get[_0x1af323(0x227)](){return[_0x674f3c];}static get[_0x1af323(0x1bb)](){const _0x2852e2=_0x1af323;return _0x2852e2(0x22a);}static get[_0x1af323(0x209)](){return!0x0;}static get[_0x1af323(0x1e0)](){return!0x0;}async[_0x1af323(0x1b3)](){const _0x4527de=_0x1af323;this[_0x4527de(0x1d3)]=this[_0x4527de(0x1ff)][_0x4527de(0x233)][_0x4527de(0x1e6)](_0x4527de(0x202)),this[_0x4527de(0x1fc)]=this[_0x4527de(0x1ff)][_0x4527de(0x233)][_0x4527de(0x1e6)](_0x4527de(0x1c5)),this[_0x4527de(0x1f0)]=this[_0x4527de(0x1ff)][_0x4527de(0x233)][_0x4527de(0x1e6)](_0x4527de(0x1b6));const _0x20315b=this[_0x4527de(0x1ff)][_0x4527de(0x218)][_0x4527de(0x1e6)](_0x4527de(0x213));if(_0x20315b){for(const _0x4cb817 of _0x3922e0)_0x4527de(0x208)===_0x4cb817['id']&&(_0x4cb817[_0x4527de(0x1b5)][0x0][_0x4527de(0x1e2)]=_0x20315b);}const _0x1221a7=this[_0x4527de(0x18c)](_0x3922e0);this[_0x4527de(0x18b)]=new _0x5f05e4(_0x1221a7);const _0x3a438c=this[_0x4527de(0x18b)][_0x4527de(0x1fa)][_0x4527de(0x18f)](_0x2dda55=>_0x4527de(0x1af)===_0x2dda55['id']);if(_0x3a438c){const _0x4e8eb2=await new _0x5bebe2({'connector':this[_0x4527de(0x1d3)]})[_0x4527de(0x1eb)]();_0x3a438c[_0x4527de(0x210)]=_0x4e8eb2[_0x4527de(0x196)](_0x102264=>({..._0x102264,'description':this[_0x4527de(0x228)](_0x4527de(0x1f3)+_0x102264['id'][_0x4527de(0x19b)](),_0x102264[_0x4527de(0x1c3)])}));}this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x220),()=>{const _0x5cdc16=_0x4527de;this[_0x5cdc16(0x1fc)][_0x5cdc16(0x206)](this[_0x5cdc16(0x18b)][_0x5cdc16(0x1fa)]);}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x1df),async(_0x4fba19,_0x1b438e)=>{const _0x3b2a6b=_0x4527de,_0x1a521b=this[_0x3b2a6b(0x18b)][_0x3b2a6b(0x20f)](_0x1b438e['id']);if(_0x1a521b){this[_0x3b2a6b(0x18d)](this[_0x3b2a6b(0x18e)]),_0x1b438e[_0x3b2a6b(0x18a)]?this[_0x3b2a6b(0x1c7)]=new _0x5b1022(_0x1b438e[_0x3b2a6b(0x1a5)][_0x3b2a6b(0x1d1)],_0x1b438e[_0x3b2a6b(0x1a5)][_0x3b2a6b(0x1a3)],this[_0x3b2a6b(0x1f0)][_0x3b2a6b(0x1b8)](),_0x1a521b,this[_0x3b2a6b(0x1d3)]):this[_0x3b2a6b(0x1c7)]=new _0x136f73(this[_0x3b2a6b(0x1f0)][_0x3b2a6b(0x1b8)](),_0x1a521b,this[_0x3b2a6b(0x1d3)],_0x1b438e[_0x3b2a6b(0x207)],_0x1b438e[_0x3b2a6b(0x1a5)]),this[_0x3b2a6b(0x1fc)][_0x3b2a6b(0x1ee)](this[_0x3b2a6b(0x1c7)][_0x3b2a6b(0x1ab)],this[_0x3b2a6b(0x1c7)][_0x3b2a6b(0x225)]),this[_0x3b2a6b(0x1c7)]['on'](_0x3b2a6b(0x1db),(_0x17cc4b,_0x3134a0)=>{const _0x32f871=_0x3b2a6b;_0x32f871(0x1e2)===_0x3134a0[_0x32f871(0x20a)]||_0x32f871(0x1ca)===_0x3134a0[_0x32f871(0x20a)]?(this[_0x32f871(0x1f0)][_0x32f871(0x1dc)](),this[_0x32f871(0x1fc)][_0x32f871(0x1de)](_0x3134a0)):_0x32f871(0x22b)===_0x3134a0[_0x32f871(0x20a)]?this[_0x32f871(0x1fc)][_0x32f871(0x1a8)]():_0x32f871(0x1cc)===_0x3134a0[_0x32f871(0x20a)]?this[_0x32f871(0x1fc)][_0x32f871(0x214)]():_0x32f871(0x21a)===_0x3134a0[_0x32f871(0x20a)]?this[_0x32f871(0x1fc)][_0x32f871(0x190)]():_0x32f871(0x1ce)===_0x3134a0[_0x32f871(0x20a)]?(this[_0x32f871(0x1fc)][_0x32f871(0x200)](),this[_0x32f871(0x1d9)](new _0x15b7f3(_0x32f871(0x1a4),this,this[_0x32f871(0x1c7)]?.[_0x32f871(0x1f1)]))):_0x32f871(0x20c)===_0x3134a0[_0x32f871(0x20a)]?(this[_0x32f871(0x1fc)][_0x32f871(0x222)](),this[_0x32f871(0x1d9)](new _0x15b7f3(_0x32f871(0x1d5),this,this[_0x32f871(0x1c7)]?.[_0x32f871(0x1f1)]))):_0x32f871(0x21d)===_0x3134a0[_0x32f871(0x20a)]&&(this[_0x32f871(0x1c7)]&&this[_0x32f871(0x1c7)][_0x32f871(0x226)]>0x0?setTimeout(()=>{const _0x32fb87=_0x32f871;this[_0x32fb87(0x1c7)]?.[_0x32fb87(0x193)]();},0x0):this[_0x32f871(0x201)](!0x0)),_0x32f871(0x1cc)!==_0x3134a0[_0x32f871(0x20a)]&&_0x32f871(0x20c)!==_0x3134a0[_0x32f871(0x20a)]&&_0x32f871(0x1ce)!==_0x3134a0[_0x32f871(0x20a)]||this[_0x32f871(0x1c7)]?.[_0x32f871(0x1da)]();}),this[_0x3b2a6b(0x1c7)]['on'](_0x3b2a6b(0x1ba),(_0x33eb17,_0x2e67e3)=>{const _0x2382f5=_0x3b2a6b;if(!this[_0x2382f5(0x1c7)])throw new _0x15b7f3(_0x2382f5(0x1d6),this);const _0x1882a9=this[_0x2382f5(0x1f0)][_0x2382f5(0x219)](_0x2e67e3[_0x2382f5(0x1aa)][_0x2382f5(0x1e4)],_0x2e67e3[_0x2382f5(0x1aa)][_0x2382f5(0x212)]);_0x2e67e3[_0x2382f5(0x1cf)][_0x2382f5(0x1ae)](_0x2e67e3[_0x2382f5(0x1aa)]['id'],_0x1882a9);}),this[_0x3b2a6b(0x1c7)]['on'](_0x3b2a6b(0x231),(_0x24f746,_0x1b209)=>{const _0x2eef7c=_0x3b2a6b;for(const _0x2aa517 of _0x1b209[_0x2eef7c(0x1ec)])this[_0x2eef7c(0x1fc)][_0x2eef7c(0x223)](_0x2aa517);this[_0x2eef7c(0x1f0)][_0x2eef7c(0x197)](_0x1b209[_0x2eef7c(0x1ec)],_0x1b209[_0x2eef7c(0x1cf)][_0x2eef7c(0x1a6)]);}),this[_0x3b2a6b(0x1c7)]['on'](_0x3b2a6b(0x1a7),(_0x1d7df9,_0x3e3edc)=>{const _0x599a36=_0x3b2a6b;this[_0x599a36(0x1fc)][_0x599a36(0x215)](_0x3e3edc[_0x599a36(0x1e3)]['id'],_0x3e3edc[_0x599a36(0x20a)]);}),this[_0x3b2a6b(0x1c7)]['on'](_0x3b2a6b(0x1c6),(_0x2d1ec9,_0x2072e7)=>{const _0x158948=_0x3b2a6b;this[_0x158948(0x1fc)][_0x158948(0x22f)](_0x2072e7[_0x158948(0x1e3)]['id']);const _0x5eab9d=this[_0x158948(0x1f0)][_0x158948(0x1fe)](_0x2072e7[_0x158948(0x1e3)]['id']);if(_0x5eab9d){if(_0x158948(0x1e7)===this[_0x158948(0x1f8)]){const _0x262707=this[_0x158948(0x1fc)][_0x158948(0x232)](_0x2072e7[_0x158948(0x1e3)]['id']);_0x262707&&_0x408425(_0x262707[_0x158948(0x192)](_0x158948(0x19a))||_0x262707);}else{if(_0x158948(0x1ef)===this[_0x158948(0x1f8)]){const _0x317601={'target':_0x5eab9d[_0x158948(0x1d7)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x386065(_0x317601);}}this[_0x158948(0x1fc)][_0x158948(0x1f6)](_0x2072e7[_0x158948(0x1e3)],_0x5eab9d[_0x158948(0x1d7)]);}}),this[_0x3b2a6b(0x1c7)]['on'](_0x3b2a6b(0x19d),()=>{const _0x4c552f=_0x3b2a6b;this[_0x4c552f(0x1fc)][_0x4c552f(0x1e9)](),this[_0x4c552f(0x1fc)][_0x4c552f(0x199)]();});try{await this[_0x3b2a6b(0x1c7)][_0x3b2a6b(0x1c9)]();}catch(_0x2781e3){_0x2781e3 instanceof Error&&_0x2781e3[_0x3b2a6b(0x1f2)][_0x3b2a6b(0x1b0)](_0x3b2a6b(0x19e))||(_0x2781e3 instanceof _0x15b7f3?this[_0x3b2a6b(0x1d9)](_0x2781e3):this[_0x3b2a6b(0x1d9)](new _0x15b7f3(_0x3b2a6b(0x1b9),this,{'error':_0x2781e3})));}}else this[_0x3b2a6b(0x1d9)](new _0x15b7f3(_0x3b2a6b(0x19c),this,{'checkId':_0x1b438e['id']}));}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x1a9),()=>{const _0x464f4a=_0x4527de;this[_0x464f4a(0x201)]();}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x1e5),()=>{const _0x25b603=_0x4527de;this[_0x25b603(0x201)](!0x0);}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x1ed),()=>{const _0x1b17c3=_0x4527de;this[_0x1b17c3(0x1c7)]&&this[_0x1b17c3(0x1c7)][_0x1b17c3(0x22d)]();}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x230),()=>{const _0x453dcb=_0x4527de;this[_0x453dcb(0x201)](!0x0);}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x1ad),()=>{const _0x7a354f=_0x4527de;if(!this[_0x7a354f(0x1c7)])return;const _0xb9ebe4=this[_0x7a354f(0x1c7)][_0x7a354f(0x20d)]();_0xb9ebe4[_0x7a354f(0x1c0)]&&(this[_0x7a354f(0x1f0)][_0x7a354f(0x1f7)](_0xb9ebe4[_0x7a354f(0x196)](_0x16af4f=>_0x16af4f['id'])),this[_0x7a354f(0x1c7)][_0x7a354f(0x1cd)](),this[_0x7a354f(0x1c7)][_0x7a354f(0x1da)]());}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x19f),(_0x63554b,_0x4cf104)=>{const _0xeca759=_0x4527de;this[_0xeca759(0x1c7)]&&this[_0xeca759(0x1c7)][_0xeca759(0x221)](_0x4cf104['id'])&&(this[_0xeca759(0x1f0)][_0xeca759(0x1f7)]([_0x4cf104['id']]),this[_0xeca759(0x1c7)][_0xeca759(0x1d0)](_0x4cf104['id']),this[_0xeca759(0x1fc)][_0xeca759(0x199)](),this[_0xeca759(0x1c7)][_0xeca759(0x1da)](_0x4cf104['id']));}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x1cb),(_0x3d0537,_0x211846)=>{const _0x1d7ef9=_0x4527de;this[_0x1d7ef9(0x1c7)]&&this[_0x1d7ef9(0x1c7)][_0x1d7ef9(0x221)](_0x211846['id'])&&(this[_0x1d7ef9(0x1f0)][_0x1d7ef9(0x21e)](_0x211846['id']),this[_0x1d7ef9(0x1c7)][_0x1d7ef9(0x1b1)](_0x211846['id']),this[_0x1d7ef9(0x1fc)][_0x1d7ef9(0x199)](),this[_0x1d7ef9(0x1c7)][_0x1d7ef9(0x1da)](_0x211846['id']));}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x1bc),(_0x488907,_0x2cb60d)=>{const _0x247b92=_0x4527de;this[_0x247b92(0x18e)]=_0x2cb60d['on'],this[_0x247b92(0x18d)](this[_0x247b92(0x18e)]);}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x235),async()=>{const _0x1b58fb=_0x4527de;this[_0x1b58fb(0x1c7)]&&await this[_0x1b58fb(0x1c7)][_0x1b58fb(0x204)]();}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x1a1),(_0x162a38,_0x1faf8b)=>{const _0x392c8a=_0x4527de;this[_0x392c8a(0x1c7)]&&(this[_0x392c8a(0x1f8)]=_0x392c8a(0x1ef),this[_0x392c8a(0x1c7)][_0x392c8a(0x1a1)](_0x1faf8b['id']));}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1fc)],_0x4527de(0x1c2),()=>{const _0x50854c=_0x4527de;this[_0x50854c(0x1c7)]&&this[_0x50854c(0x1c7)][_0x50854c(0x1c2)]();}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1f0)][_0x4527de(0x1b2)],_0x4527de(0x1f4),(_0xdbeee2,_0x3d6c98)=>{const _0x508ad=_0x4527de;this[_0x508ad(0x1c7)]&&(this[_0x508ad(0x1f8)]=_0x508ad(0x1e7),this[_0x508ad(0x1c7)][_0x508ad(0x1a1)](_0x3d6c98[_0x508ad(0x216)]));}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1f0)][_0x4527de(0x1b2)],_0x4527de(0x1be),(_0x545865,_0x15b10a)=>{const _0x37ea21=_0x4527de;this[_0x37ea21(0x1c7)]&&this[_0x37ea21(0x1c7)][_0x37ea21(0x1b4)](_0x15b10a[_0x37ea21(0x216)]);}),this[_0x4527de(0x1bf)](this[_0x4527de(0x1f0)][_0x4527de(0x1b2)],_0x4527de(0x224),(_0x122687,_0x1f51bc)=>{const _0x26c45c=_0x4527de;this[_0x26c45c(0x1c7)]&&this[_0x26c45c(0x1c7)][_0x26c45c(0x191)](_0x1f51bc[_0x26c45c(0x216)]);});}[_0x1af323(0x201)](_0x3f6826=!0x1){const _0x1a75db=_0x1af323;this[_0x1a75db(0x1c7)]&&(this[_0x1a75db(0x1c7)][_0x1a75db(0x194)]||this[_0x1a75db(0x1c7)][_0x1a75db(0x1da)](),this[_0x1a75db(0x1c7)][_0x1a75db(0x22e)](),this[_0x1a75db(0x1c7)][_0x1a75db(0x22d)](),this[_0x1a75db(0x1c7)]=void 0x0),_0x3f6826&&this[_0x1a75db(0x1fc)][_0x1a75db(0x1a2)](),this[_0x1a75db(0x1f0)][_0x1a75db(0x1fd)](),this[_0x1a75db(0x1f0)][_0x1a75db(0x203)](),this[_0x1a75db(0x1f8)]=null;const _0x48bc7b=this[_0x1a75db(0x1f0)][_0x1a75db(0x234)]();_0x48bc7b&&_0x48bc7b[_0x1a75db(0x1a0)][_0x1a75db(0x20b)][_0x1a75db(0x1e3)](_0x17dccc=>{const _0x5855f4=_0x1a75db,_0x48261e=_0x48bc7b[_0x5855f4(0x1a0)][_0x5855f4(0x20b)][_0x5855f4(0x198)][_0x5855f4(0x1c4)]();_0x17dccc[_0x5855f4(0x229)](_0x5855f4(0x205),_0x48261e),_0x17dccc[_0x5855f4(0x229)](_0x5855f4(0x1b7),_0x48261e);});}[_0x1af323(0x18d)](_0x172e33){const _0x5cd96d=_0x1af323,_0xdb3e3f=this[_0x5cd96d(0x1f0)][_0x5cd96d(0x234)]();_0x172e33?this[_0x5cd96d(0x1fc)][_0x5cd96d(0x21c)]():this[_0x5cd96d(0x1fc)][_0x5cd96d(0x1d4)](),_0xdb3e3f&&_0xdb3e3f[_0x5cd96d(0x1a0)][_0x5cd96d(0x20b)][_0x5cd96d(0x1e3)](_0x10cdd5=>{const _0x24117a=_0x5cd96d,_0x20f552=_0xdb3e3f[_0x24117a(0x1a0)][_0x24117a(0x20b)][_0x24117a(0x198)][_0x24117a(0x1c4)]();_0x10cdd5[_0x24117a(0x229)](_0x24117a(0x205),_0x20f552),_0x10cdd5[_0x24117a(0x229)](_0x24117a(0x1b7),_0x20f552),_0x10cdd5[_0x24117a(0x1f5)](_0x172e33?_0x24117a(0x205):_0x24117a(0x1b7),_0x20f552);});}[_0x1af323(0x18c)](_0x2922b1){const _0x382f7c=_0x1af323;return _0x2922b1[_0x382f7c(0x196)](_0x155338=>{const _0x2c1bf5=_0x382f7c,_0x482776=_0x2c1bf5(0x1f9)+_0x155338['id'][_0x2c1bf5(0x19b)]()[_0x2c1bf5(0x22c)]('-','_'),_0x3816f1={..._0x155338,'title':this[_0x2c1bf5(0x228)](_0x482776+_0x2c1bf5(0x1d2),_0x155338[_0x2c1bf5(0x1ab)]),'description':this[_0x2c1bf5(0x228)](_0x482776+_0x2c1bf5(0x236),_0x155338[_0x2c1bf5(0x1c3)])};return _0x155338[_0x2c1bf5(0x1b5)]&&(_0x3816f1[_0x2c1bf5(0x1b5)]=_0x155338[_0x2c1bf5(0x1b5)][_0x2c1bf5(0x196)](_0xa6e48=>({..._0xa6e48,'label':this[_0x2c1bf5(0x228)](_0x482776+_0x2c1bf5(0x195),_0xa6e48[_0x2c1bf5(0x1ac)]||''),'data':_0xa6e48[_0x2c1bf5(0x1e2)]?_0xa6e48[_0x2c1bf5(0x1e2)][_0x2c1bf5(0x196)](_0x5bddc8=>({..._0x5bddc8,'label':this[_0x2c1bf5(0x228)](_0x482776+_0x2c1bf5(0x237)+_0x5bddc8['id'][_0x2c1bf5(0x19b)](),_0x5bddc8[_0x2c1bf5(0x1ac)])})):void 0x0}))),_0x3816f1;});}[_0x1af323(0x228)](_0x3a55cb,_0x589e52){const _0x4f4123=_0x1af323,_0x1c764d=this[_0x4f4123(0x1ff)][_0x4f4123(0x1c8)],_0x2e4cc1=_0x1d25d6(_0x1c764d,_0x3a55cb);return _0x2e4cc1===_0x3a55cb?_0x589e52:_0x2e4cc1;}[_0x1af323(0x1d9)](_0x48e9aa){const _0x30b653=_0x1af323;_0x34b2fd(_0x48e9aa[_0x30b653(0x1f2)]),this[_0x30b653(0x1fc)][_0x30b653(0x200)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2ccc6d=_0x3267;(function(_0x20c6e9,_0x475ade){const _0x42e5cb=_0x3267,_0x24c8fa=_0x20c6e9();while(!![]){try{const _0x1e7db7=parseInt(_0x42e5cb(0x120))/0x1+parseInt(_0x42e5cb(0x17d))/0x2*(-parseInt(_0x42e5cb(0x201))/0x3)+-parseInt(_0x42e5cb(0x1f3))/0x4+-parseInt(_0x42e5cb(0x14d))/0x5+-parseInt(_0x42e5cb(0x172))/0x6*(-parseInt(_0x42e5cb(0x1f2))/0x7)+parseInt(_0x42e5cb(0x200))/0x8*(parseInt(_0x42e5cb(0x167))/0x9)+parseInt(_0x42e5cb(0x19f))/0xa;if(_0x1e7db7===_0x475ade)break;else _0x24c8fa['push'](_0x24c8fa['shift']());}catch(_0x4c46dd){_0x24c8fa['push'](_0x24c8fa['shift']());}}}(_0x4c5a,0x2ccbc));function _0x3267(_0x1cedda,_0x555d47){const _0x4c5afd=_0x4c5a();return _0x3267=function(_0x3267f3,_0x13a1fd){_0x3267f3=_0x3267f3-0x11b;let _0x5cfcd8=_0x4c5afd[_0x3267f3];return _0x5cfcd8;},_0x3267(_0x1cedda,_0x555d47);}function _0x4c5a(){const _0x5c0205=['emitter','editing','data','change','dataDowncast','model:$text','isTouching','filter','_changePositionOwnerDocument','markers','pluginName','getDomRoot','switchToReadOnly','$textProxy','AIEditing','_hasSameTopLevelElement','_removeAttribute','_createGetContentUsingDataIdFn','target','_clone','ellipsisAfter','newRange','getChanges','_shiftOperation','getChangedMarkers','htmlProcessor','_handleMarkerChanges','ellipsisBefore','name','parse','batch','length','context','has','1615085vWVGFH','getAttribute','remove','createRawElement','$graveyard','hasContentBefore','disableReadOnlyMode','changeMarkerRestored','getRange','nodes','_changeOperationOwnerDocument','afterInit','baseVersion','backward','_findAdjacentContextDistance','position','rejectChange','jumpTo','isDocumentOperation','ck-ai_review-mode-marker_context-end','getRoots','operationsIsolated','isPremiumPlugin','append','getPath','click','9qsRcJT','groupId','downcast','documentFragment','flat','keys','$documentFragment','get','sort','_changeRangeOwnerDocument','insert','6eRFope','isOfficialPlugin','_eventEmitter','diffContent','offset','startsWith','suggestion-context','caption','ck-ai_review-mode-marker_context-','ck-ai_review-mode-marker_','split','30teCejv','_domEmitter','index','marker','insertContent','_createGetContentFn','parent','_setAttribute','stringify','from','_changeRange','_appendChild','ck-ai_review-mode-marker_add','values','editingDowncast','exec','conversion','isAtEnd','childCount','domConverter','_getChangeContext','root','size','hasAttribute','end','markerName','markerToElement','toData','deleteContent','path','ai-review-mode','element','howMany','changeMarkerClick','6552930CDEMrx','getDocumentData','model','isIntersecting','pop','_findMarkerElement','_nextDataId','_changePosition','markChangePositionInEditorContent','_getOperationStart','ck-ai_review-mode-marker_hide','removeMarker','getEditor','switchToEdit','createRange','_getOperationEnd','addMarker','offsetSize','suggestion:deletion:id:authorId:','operationsA','schema','listenTo','attributeToAttribute','_insertMarkers','suggestion:insertion:id:authorId:','isInline','_translateOperationToEditorContent','processor','htmlWriter','isAtStart','oldRange','clone','elements','requires','clearAllMarkers','toView','affectsData','_getMarkersDataForGroup','data-marker-id','createText','enableReadOnlyMode','createPositionAt','markerToHighlight','getRoot','getHtml','hasContentAfter','every','DocumentCompare','ck-ai_review-mode-marker_context-start','start','remove-context','getShiftedBy','forEach','applyChange','_validateMarkers','viewToDom','clear','createUIElement','getChild','forward','_markers','delete','outerHTML','version','ck-ai_review-mode-marker_strikethrough','differ','set','_parseMarkerName','createPositionAfter','applyOperation','map','view','plugins','for','getDiff','push','changeMarkerRemoved','getChildren','isOpening','text','_groupAdjacentOperations','containsRange','concat','233359bVyKbI','1168620HUZiNq','fire','className','AIReviewModeEditing','span','getMarkerElementForChange','addOperation','remove-only','type','reviewmode-','querySelector','_sortMarkers','parentElement','1897496SbJnLe','43479tQEjmj','history','[data-id=\x22','innerHTML','ck-ai_review-mode-marker_underline','rootName','createDocumentFragment','$markedRemove','remove-text','getStart','hasClass','No\x20element\x20found\x20for\x20ID:\x20','warn','90234KaYpTx','add','createSelection','_removeChildren','document','_createGetContextFn','registerPostFixer','toDomElement','includes','[data-marker-id=\x22','getOperations'];_0x4c5a=function(){return _0x5c0205;};return _0x4c5a();}import{InsertOperation as _0x306eb8,MarkerOperation as _0x19960a,ModelDocumentFragment as _0x42d8d3,ModelPosition as _0x5e0573,ModelRange as _0x2b8216,ModelTreeWalker as _0x189fbf,transformOperationSets as _0x2106c1}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x4e3174,EmitterMixin as _0x15d6ea}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x3b2c10}from'ckeditor5/src/core.js';import{DocumentCompare as _0x287fed,DATA_ID_MODEL_ATTRIBUTE as _0x9c4e29,DATA_ID_VIEW_ATTRIBUTE as _0x4a8714}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2a3c6c}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x3865aa}from'../aicore/aiediting.js';const we=_0x2ccc6d(0x1fc);export class AIReviewModeEditing extends _0x3b2c10{static get[_0x2ccc6d(0x135)](){const _0x1d58da=_0x2ccc6d;return _0x1d58da(0x1f6);}static get[_0x2ccc6d(0x1c0)](){return[_0x287fed,_0x3865aa];}static get[_0x2ccc6d(0x173)](){return!0x0;}static get[_0x2ccc6d(0x163)](){return!0x0;}[_0x2ccc6d(0x1db)]=new Map();[_0x2ccc6d(0x17e)];[_0x2ccc6d(0x174)];constructor(_0x38ea1f){const _0xfa38cf=_0x2ccc6d;super(_0x38ea1f),this[_0xfa38cf(0x17e)]=new(_0x4e3174())(),this[_0xfa38cf(0x174)]=new(_0x15d6ea())();}get[_0x2ccc6d(0x12b)](){const _0x28f850=_0x2ccc6d;return this[_0x28f850(0x174)];}[_0x2ccc6d(0x158)](){const _0x505bb4=_0x2ccc6d,_0x279cad=_0x2a3c6c(this[_0x505bb4(0x14b)]);_0x279cad[_0x505bb4(0x18d)][_0x505bb4(0x1e8)](_0x505bb4(0x18b))[_0x505bb4(0x197)]({'model':we+_0x505bb4(0x171),'view':(_0x1154c7,{writer:_0x35a366})=>{const _0x410bf2=_0x505bb4,_0x2c133c=this[_0x410bf2(0x1db)][_0x410bf2(0x16e)](_0x1154c7[_0x410bf2(0x196)]),_0x459115={'class':_0x410bf2(0x189),'data-marker-id':_0x1154c7[_0x410bf2(0x196)]};return _0x35a366[_0x410bf2(0x1d8)](_0x410bf2(0x1f7),_0x459115,function(_0x16afda){const _0x44ea27=_0x410bf2,_0x359731=this[_0x44ea27(0x127)](_0x16afda);return _0x359731[_0x44ea27(0x204)]=_0x2c133c?.[_0x44ea27(0x1ee)]||'',_0x359731;});}}),_0x279cad[_0x505bb4(0x18d)][_0x505bb4(0x1e8)](_0x505bb4(0x18b))[_0x505bb4(0x1c9)]({'model':we+_0x505bb4(0x1fa),'view':_0x3f4140=>({'classes':_0x505bb4(0x1df),'attributes':{'data-marker-id':_0x3f4140[_0x505bb4(0x196)]}})}),_0x279cad[_0x505bb4(0x18d)][_0x505bb4(0x1e8)](_0x505bb4(0x18b))[_0x505bb4(0x1c9)]({'model':we+_0x505bb4(0x1d1),'view':_0x24608b=>({'classes':_0x505bb4(0x205),'attributes':{'data-marker-id':_0x24608b[_0x505bb4(0x196)]}})}),_0x279cad[_0x505bb4(0x18d)][_0x505bb4(0x1e8)](_0x505bb4(0x18b))[_0x505bb4(0x1c9)]({'model':we+_0x505bb4(0x11b),'view':_0x16b197=>({'classes':_0x505bb4(0x1a9),'attributes':{'data-marker-id':_0x16b197[_0x505bb4(0x196)]}})}),_0x279cad[_0x505bb4(0x18d)][_0x505bb4(0x1e8)](_0x505bb4(0x12f))[_0x505bb4(0x197)]({'model':we+_0x505bb4(0x178),'view':(_0xd2854a,{writer:_0x2d11c2})=>_0x2d11c2[_0x505bb4(0x150)](_0x505bb4(0x1f7),{'class':_0x505bb4(0x17a)+(_0xd2854a[_0x505bb4(0x1ed)]?_0x505bb4(0x1d0):_0x505bb4(0x195))})}),_0x279cad[_0x505bb4(0x18d)][_0x505bb4(0x1e8)](_0x505bb4(0x169))[_0x505bb4(0x1b5)]({'model':_0x9c4e29,'view':_0x4a8714}),this[_0x505bb4(0x17e)][_0x505bb4(0x1b4)](document,_0x505bb4(0x166),(_0x33585e,_0x182f4d)=>{const _0x51d89e=_0x505bb4,_0x2fd443=_0x182f4d[_0x51d89e(0x13d)],_0x2c1642=this[_0x51d89e(0x1a4)](_0x2fd443);if(!_0x2c1642)return;const _0x40d2eb=_0x2c1642[_0x51d89e(0x14e)](_0x51d89e(0x1c5)),_0x25b6f3=_0x40d2eb[_0x51d89e(0x17c)](':')[_0x51d89e(0x1a3)]()?.[_0x51d89e(0x17c)]('_')[0x0];this[_0x51d89e(0x174)][_0x51d89e(0x1f4)](_0x51d89e(0x19e),{'markerId':_0x40d2eb,'changeId':_0x25b6f3});}),_0x279cad[_0x505bb4(0x1a1)][_0x505bb4(0x124)][_0x505bb4(0x126)](_0x2be115=>this[_0x505bb4(0x1d5)](_0x279cad,_0x2be115)),_0x279cad[_0x505bb4(0x1a1)][_0x505bb4(0x124)]['on'](_0x505bb4(0x12e),()=>this[_0x505bb4(0x145)](_0x279cad));}[_0x2ccc6d(0x1a0)](){const _0x2bc611=_0x2ccc6d,_0x14ec6c=this[_0x2bc611(0x14b)][_0x2bc611(0x1e7)][_0x2bc611(0x16e)](_0x2bc611(0x139)),_0xa01578=_0x2a3c6c(this[_0x2bc611(0x14b)]),_0x4c1039=_0xa01578[_0x2bc611(0x1a1)],_0x125853=new _0x42d8d3();for(const _0x3149db of _0x4c1039[_0x2bc611(0x124)][_0x2bc611(0x1ca)]()[_0x2bc611(0x1ec)]()){const _0x20b7fc=_0x3149db[_0x2bc611(0x13e)](!0x0);_0x125853[_0x2bc611(0x188)](_0x20b7fc);}for(const _0x15feab of _0x4c1039[_0x2bc611(0x134)])_0x125853[_0x2bc611(0x134)][_0x2bc611(0x1e1)](_0x15feab[_0x2bc611(0x147)],this[_0x2bc611(0x170)](_0x15feab[_0x2bc611(0x155)]()[_0x2bc611(0x1be)](),_0x125853));const _0x7ae315=new _0x189fbf({'ignoreElementEnd':!0x0,'startPosition':_0x4c1039[_0x2bc611(0x1c8)](_0x125853,0x0)}),_0x2c2cac=new Set(),_0x6e3660=new Map();for(const {item:_0x119016}of _0x7ae315){if(!_0x119016['is'](_0x2bc611(0x138)))continue;const _0x1df003=_0x119016[_0x2bc611(0x183)];if((!_0x1df003||!_0x1df003['is'](_0x2bc611(0x19c),_0x2bc611(0x179)))&&(_0x1df003&&_0x1df003['is'](_0x2bc611(0x19c)))){let _0x1d90f7=_0x1df003[_0x2bc611(0x14e)](_0x9c4e29);_0x1d90f7||(_0x1d90f7=_0x14ec6c[_0x2bc611(0x1a5)](_0x2c2cac),_0x1df003[_0x2bc611(0x184)](_0x9c4e29,_0x1d90f7)),_0x2c2cac[_0x2bc611(0x121)](_0x1d90f7);let _0x5daefd=_0x1df003;for(;_0x5daefd[_0x2bc611(0x183)]&&!_0x5daefd[_0x2bc611(0x183)]['is'](_0x2bc611(0x16a));)_0x5daefd=_0x5daefd[_0x2bc611(0x183)],_0x5daefd[_0x2bc611(0x194)](_0x9c4e29)&&_0x5daefd[_0x2bc611(0x13b)](_0x9c4e29);_0x6e3660[_0x2bc611(0x1e1)](_0x1d90f7,{'path':_0x1df003[_0x2bc611(0x165)](),'getContent':this[_0x2bc611(0x13c)](_0x5daefd[_0x2bc611(0x13e)](!0x0),_0x1d90f7,_0xa01578[_0x2bc611(0x12d)])}),_0x7ae315[_0x2bc611(0x15e)](_0x4c1039[_0x2bc611(0x1e3)](_0x1df003));}}return{'content':_0xa01578[_0x2bc611(0x12d)][_0x2bc611(0x1ba)][_0x2bc611(0x198)](_0xa01578[_0x2bc611(0x12d)][_0x2bc611(0x1c2)](_0x125853)),'version':_0xa01578[_0x2bc611(0x1a1)][_0x2bc611(0x124)][_0x2bc611(0x1de)],'elements':_0x6e3660};}[_0x2ccc6d(0x175)](_0xcd9623,_0x499e52){const _0x217fc8=_0x2ccc6d,_0x2b1c10=[],_0x5a10cb=_0x2a3c6c(this[_0x217fc8(0x14b)]),_0x4f9626=_0x5a10cb[_0x217fc8(0x12d)][_0x217fc8(0x148)](_0xcd9623,_0x217fc8(0x16d)),_0x57ca04=_0x5a10cb[_0x217fc8(0x1a1)][_0x217fc8(0x1c8)](_0x4f9626,0x0),_0xa11e22=_0x5a10cb[_0x217fc8(0x12d)][_0x217fc8(0x148)](_0x499e52,_0x217fc8(0x16d));if(!this[_0x217fc8(0x13a)](_0x4f9626,_0xa11e22))return _0x2b1c10;const _0x7885e1=this[_0x217fc8(0x14b)][_0x217fc8(0x1e7)][_0x217fc8(0x16e)](_0x217fc8(0x1ce))[_0x217fc8(0x1e9)](_0xcd9623,_0x499e52,{'anchor':_0x57ca04,'markDeletions':!0x0})[_0x217fc8(0x12a)]()[_0x217fc8(0x132)](_0x567d4e=>_0x217fc8(0x171)===_0x567d4e[_0x217fc8(0x1fb)]||_0x217fc8(0x180)===_0x567d4e[_0x217fc8(0x1fb)]&&_0x567d4e[_0x217fc8(0x147)][_0x217fc8(0x177)](_0x217fc8(0x208))),_0x644fa4=this[_0x217fc8(0x1ef)](_0x7885e1);let _0x1b510c=0x0;return _0x5a10cb[_0x217fc8(0x1a1)][_0x217fc8(0x12e)](_0x331931=>{const _0x303842=_0x217fc8;for(let _0x2c0d93=0x0;_0x2c0d93<_0x644fa4[_0x303842(0x14a)];_0x2c0d93++){const _0x129c60=_0x644fa4[_0x2c0d93],_0x2903a4=_0x331931[_0x303842(0x207)]();for(const _0x25a9ef of _0x4f9626[_0x303842(0x1ec)]())_0x331931[_0x303842(0x164)](_0x25a9ef[_0x303842(0x13e)](!0x0),_0x2903a4);for(const _0x49da7a of _0x129c60[_0x303842(0x162)])if(_0x303842(0x171)===_0x49da7a[_0x303842(0x1fb)]){const _0x4a8a0f=_0x49da7a;_0x4a8a0f[_0x303842(0x159)]=null,_0x4a8a0f[_0x303842(0x15f)]=!0x1,this[_0x303842(0x157)](_0x4a8a0f,_0x2903a4),_0x331931[_0x303842(0x149)][_0x303842(0x1f9)](_0x49da7a),_0x5a10cb[_0x303842(0x1a1)][_0x303842(0x1e4)](_0x49da7a);const _0x500238=_0x303842(0x1b7)+_0x1b510c++,_0x51eb8b=_0x5a10cb[_0x303842(0x1a1)][_0x303842(0x1ad)](_0x4a8a0f[_0x303842(0x15c)],_0x4a8a0f[_0x303842(0x15c)][_0x303842(0x1d2)](_0x4a8a0f[_0x303842(0x19d)]));_0x2903a4[_0x303842(0x134)][_0x303842(0x1e1)](_0x500238,_0x51eb8b);}else{if(_0x303842(0x180)===_0x49da7a[_0x303842(0x1fb)]&&_0x49da7a[_0x303842(0x147)][_0x303842(0x177)](_0x303842(0x208))){const _0x169fe7=_0x49da7a,_0x2fef71=_0x303842(0x1b1)+_0x1b510c++;this[_0x303842(0x157)](_0x169fe7,_0x2903a4),_0x2903a4[_0x303842(0x134)][_0x303842(0x1e1)](_0x2fef71,_0x169fe7[_0x303842(0x140)]);}}const _0x50fb26=this[_0x303842(0x191)](this[_0x303842(0x133)](this[_0x303842(0x1a8)](_0x129c60[_0x303842(0x162)][0x0]),_0x2903a4),this[_0x303842(0x133)](this[_0x303842(0x1ae)](_0x129c60[_0x303842(0x162)][_0x129c60[_0x303842(0x162)][_0x303842(0x14a)]-0x1]),_0x2903a4));_0x2903a4[_0x303842(0x134)][_0x303842(0x1e1)](we+_0x303842(0x178),new _0x2b8216(_0x50fb26[_0x303842(0x1d0)],_0x50fb26[_0x303842(0x195)])),_0x2b1c10[_0x303842(0x1ea)]({..._0x129c60,'context':this[_0x303842(0x125)](_0x2903a4,_0x5a10cb[_0x303842(0x12d)],{'ellipsisBefore':_0x50fb26[_0x303842(0x152)],'ellipsisAfter':_0x50fb26[_0x303842(0x1cc)]}),'content':this[_0x303842(0x182)](_0x2903a4,_0x5a10cb[_0x303842(0x12d)])});}}),_0x2b1c10;}[_0x2ccc6d(0x1a7)](_0x40e57c,_0x3e4aad){const _0xe6e48f=_0x2ccc6d;if(!_0x40e57c[_0xe6e48f(0x14a)])return;const _0x4dcfae=_0x40e57c[0x0][_0xe6e48f(0x183)]['id'],_0x504a4a=_0x3e4aad[_0xe6e48f(0x1bf)][_0xe6e48f(0x16e)](_0x4dcfae);if(!_0x504a4a)return void console[_0xe6e48f(0x11f)](_0xe6e48f(0x11e)+_0x4dcfae);const _0x41ed3a=_0x504a4a[_0xe6e48f(0x19a)],_0x54da1b=_0x2a3c6c(this[_0xe6e48f(0x14b)]),_0xba9f7c=_0x54da1b[_0xe6e48f(0x1a1)][_0xe6e48f(0x124)][_0xe6e48f(0x202)][_0xe6e48f(0x12a)](_0x3e4aad[_0xe6e48f(0x1de)]),_0x15b7fc=[];for(const _0x1079ab of _0x40e57c){const _0x52d9e0=_0x1079ab[_0xe6e48f(0x162)][_0xe6e48f(0x1e5)](_0x5a9029=>this[_0xe6e48f(0x1b9)](_0x5a9029,_0x41ed3a,_0x54da1b[_0xe6e48f(0x1a1)][_0xe6e48f(0x124)][_0xe6e48f(0x161)]()[0x0]));if(!_0x52d9e0||!_0x52d9e0[_0xe6e48f(0x14a)])continue;const _0x996551=_0x52d9e0[_0xe6e48f(0x1cd)](_0x4b0240=>_0xe6e48f(0x180)===_0x4b0240[_0xe6e48f(0x1fb)]&&_0x4b0240[_0xe6e48f(0x147)][_0xe6e48f(0x177)](_0xe6e48f(0x208))),_0x332eae={'document':_0x54da1b[_0xe6e48f(0x1a1)][_0xe6e48f(0x124)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3ae8e6=_0x2106c1(_0x52d9e0,_0xba9f7c,_0x332eae)[_0xe6e48f(0x1b2)];for(const _0x252b93 of _0x3ae8e6)if(_0xe6e48f(0x171)===_0x252b93[_0xe6e48f(0x1fb)]){const _0x416b5d=_0x252b93,_0x4c0c6c=_0x416b5d[_0xe6e48f(0x156)];let _0x2f8702='';for(const _0x1efcab of _0x4c0c6c)_0x1efcab&&_0x1efcab['is'](_0xe6e48f(0x130))&&(_0x2f8702+=_0x1efcab[_0xe6e48f(0x12d)]);_0x15b7fc[_0xe6e48f(0x1ea)]({'start':_0x416b5d[_0xe6e48f(0x15c)],'end':_0x416b5d[_0xe6e48f(0x15c)],'type':_0xe6e48f(0x171),'groupId':_0x1079ab['id'],'text':_0x2f8702});}else{if(_0xe6e48f(0x180)===_0x252b93[_0xe6e48f(0x1fb)]&&_0x252b93[_0xe6e48f(0x147)][_0xe6e48f(0x177)](_0xe6e48f(0x208))){const _0x1c1f61=_0x252b93;let _0x331621=_0xe6e48f(0x11b);if(_0x996551){const _0x5611ce=this[_0xe6e48f(0x15b)](_0x1c1f61[_0xe6e48f(0x140)][_0xe6e48f(0x1d0)],_0xe6e48f(0x15a),_0x54da1b[_0xe6e48f(0x1a1)][_0xe6e48f(0x1b3)]),_0x568c13=this[_0xe6e48f(0x15b)](_0x1c1f61[_0xe6e48f(0x140)][_0xe6e48f(0x195)],_0xe6e48f(0x1da),_0x54da1b[_0xe6e48f(0x1a1)][_0xe6e48f(0x1b3)]);if(_0x5611ce||_0x568c13){const _0x1038b1=_0x1c1f61[_0xe6e48f(0x140)][_0xe6e48f(0x1d0)][_0xe6e48f(0x1d2)](-_0x5611ce),_0xedbe6=_0x1c1f61[_0xe6e48f(0x140)][_0xe6e48f(0x195)][_0xe6e48f(0x1d2)](_0x568c13);_0x15b7fc[_0xe6e48f(0x1ea)]({'start':_0x1038b1,'end':_0xedbe6,'groupId':_0x1079ab['id'],'type':_0xe6e48f(0x1d1)});}else _0x331621=_0xe6e48f(0x1fa);}_0x15b7fc[_0xe6e48f(0x1ea)]({'start':_0x1c1f61[_0xe6e48f(0x140)][_0xe6e48f(0x1d0)],'end':_0x1c1f61[_0xe6e48f(0x140)][_0xe6e48f(0x195)],'groupId':_0x1079ab['id'],'type':_0x331621});}}}this[_0xe6e48f(0x1b6)](_0x15b7fc);}[_0x2ccc6d(0x1c1)](){const _0x12b9cd=_0x2ccc6d,_0x581c99=_0x2a3c6c(this[_0x12b9cd(0x14b)]);_0x581c99[_0x12b9cd(0x1a1)][_0x12b9cd(0x12e)](_0x55f8b2=>{const _0xcf0686=_0x12b9cd;for(const _0x40dcec of this[_0xcf0686(0x1db)][_0xcf0686(0x16c)]())_0x581c99[_0xcf0686(0x1a1)][_0xcf0686(0x134)][_0xcf0686(0x16e)](_0x40dcec)&&_0x55f8b2[_0xcf0686(0x1aa)](_0x40dcec);}),this[_0x12b9cd(0x1db)][_0x12b9cd(0x1d7)]();}[_0x2ccc6d(0x137)](){const _0x446721=_0x2ccc6d;_0x2a3c6c(this[_0x446721(0x14b)])[_0x446721(0x1c7)](_0x446721(0x19b));}[_0x2ccc6d(0x1ac)](){const _0xb9bb29=_0x2ccc6d;_0x2a3c6c(this[_0xb9bb29(0x14b)])[_0xb9bb29(0x153)](_0xb9bb29(0x19b));}[_0x2ccc6d(0x1d4)](_0x357b1c){const _0x49b8ff=_0x2ccc6d,_0x38f0ee=_0x2a3c6c(this[_0x49b8ff(0x14b)]),_0x59c747=_0x38f0ee[_0x49b8ff(0x1a1)],_0x4e7e8d=_0x357b1c[_0x49b8ff(0x1e5)](_0x54240a=>this[_0x49b8ff(0x1c4)](_0x54240a))[_0x49b8ff(0x16b)]();_0x59c747[_0x49b8ff(0x12e)](_0x5d6c95=>{const _0x29e9f0=_0x49b8ff;for(const _0x3920dc of _0x4e7e8d){const _0xb9fc64=_0x38f0ee[_0x29e9f0(0x1a1)][_0x29e9f0(0x134)][_0x29e9f0(0x16e)](_0x3920dc['id']);_0xb9fc64&&(_0x29e9f0(0x171)===_0x3920dc[_0x29e9f0(0x1fb)]?_0x59c747[_0x29e9f0(0x181)](_0x5d6c95[_0x29e9f0(0x1c6)](_0x3920dc[_0x29e9f0(0x1ee)]||''),_0xb9fc64[_0x29e9f0(0x155)]()[_0x29e9f0(0x1d0)]):_0x29e9f0(0x11b)!==_0x3920dc[_0x29e9f0(0x1fb)]&&_0x29e9f0(0x1fa)!==_0x3920dc[_0x29e9f0(0x1fb)]||_0x59c747[_0x29e9f0(0x199)](_0x59c747[_0x29e9f0(0x122)](_0xb9fc64[_0x29e9f0(0x155)]())),_0x5d6c95[_0x29e9f0(0x1aa)](_0x3920dc['id']),this[_0x29e9f0(0x1db)][_0x29e9f0(0x1dc)](_0x3920dc['id']));}});}[_0x2ccc6d(0x15d)](_0x451717){const _0x2aec3f=_0x2ccc6d,_0xed2591=_0x2a3c6c(this[_0x2aec3f(0x14b)]),_0x5ab833=this[_0x2aec3f(0x1c4)](_0x451717);_0xed2591[_0x2aec3f(0x1a1)][_0x2aec3f(0x12e)](_0xfa5f4a=>{const _0x14599b=_0x2aec3f;for(const _0x15bef7 of _0x5ab833)_0xfa5f4a[_0x14599b(0x1aa)](_0x15bef7['id']),this[_0x14599b(0x1db)][_0x14599b(0x1dc)](_0x15bef7['id']);});}[_0x2ccc6d(0x1ab)](){const _0x5c9bfa=_0x2ccc6d;return _0x2a3c6c(this[_0x5c9bfa(0x14b)]);}[_0x2ccc6d(0x1f8)](_0x264ce7){const _0x3d21b4=_0x2ccc6d,_0x489d4d=Array[_0x3d21b4(0x186)](this[_0x3d21b4(0x1db)][_0x3d21b4(0x18a)]())[_0x3d21b4(0x132)](_0x4c492c=>_0x4c492c[_0x3d21b4(0x168)]===_0x264ce7);if(!_0x489d4d[_0x3d21b4(0x14a)])return null;const _0x1c7f52=0x1===_0x489d4d[_0x3d21b4(0x14a)]?_0x489d4d[0x0]:this[_0x3d21b4(0x1fe)](_0x489d4d)[0x0],_0x4fbb16=_0x2a3c6c(this[_0x3d21b4(0x14b)]),_0x4cf4cf=_0x4fbb16[_0x3d21b4(0x1a1)][_0x3d21b4(0x134)][_0x3d21b4(0x16e)](_0x1c7f52['id']);if(!_0x4cf4cf)return null;const _0x24ac13=_0x4cf4cf[_0x3d21b4(0x155)](),_0x208358=_0x4fbb16[_0x3d21b4(0x12c)][_0x3d21b4(0x1e6)][_0x3d21b4(0x136)]();if(!_0x208358||!_0x24ac13)return null;const _0x3c44e3=_0x208358[_0x3d21b4(0x1fd)](_0x3d21b4(0x129)+_0x1c7f52['id']+'\x22]');return _0x3c44e3?{'modelRange':_0x24ac13,'domElement':_0x3c44e3}:null;}[_0x2ccc6d(0x1d5)](_0x3ea593,_0x60aa21){const _0x180277=_0x2ccc6d,_0x16bdd1=Array[_0x180277(0x186)](this[_0x180277(0x1db)][_0x180277(0x16c)]()),_0x1a7b36=new Map();for(const _0x5e7c0d of _0x16bdd1){const _0x322015=_0x3ea593[_0x180277(0x1a1)][_0x180277(0x134)][_0x180277(0x16e)](_0x5e7c0d);if(!_0x322015)continue;const _0x3118d3=_0x322015[_0x180277(0x11c)]()[_0x180277(0x19a)][0x0];_0x1a7b36[_0x180277(0x14c)](_0x3118d3)||_0x1a7b36[_0x180277(0x1e1)](_0x3118d3,[]),_0x1a7b36[_0x180277(0x16e)](_0x3118d3)[_0x180277(0x1ea)](_0x322015);}const _0x2b4817=new Set();for(const _0x231a32 of _0x3ea593[_0x180277(0x1a1)][_0x180277(0x124)][_0x180277(0x1e0)][_0x180277(0x141)]()){let _0x25ef58=-0x1,_0x41d027=null;if(_0x180277(0x171)===_0x231a32[_0x180277(0x1fb)])_0x41d027=new _0x2b8216(_0x231a32[_0x180277(0x15c)],_0x231a32[_0x180277(0x15c)][_0x180277(0x1d2)](_0x231a32[_0x180277(0x14a)])),_0x25ef58=_0x231a32[_0x180277(0x15c)][_0x180277(0x19a)][0x0];else{if(_0x180277(0x14f)!==_0x231a32[_0x180277(0x1fb)])continue;_0x41d027=new _0x2b8216(_0x231a32[_0x180277(0x15c)]),_0x25ef58=_0x231a32[_0x180277(0x15c)][_0x180277(0x19a)][0x0];}const _0x413b3c=_0x1a7b36[_0x180277(0x16e)](_0x25ef58)||[];if(_0x413b3c[_0x180277(0x14a)]){for(const _0x1306b4 of _0x413b3c)if(_0x41d027[_0x180277(0x192)][_0x180277(0x206)]===_0x1306b4[_0x180277(0x155)]()[_0x180277(0x192)][_0x180277(0x206)]&&(_0x180277(0x171)!==_0x231a32[_0x180277(0x1fb)]||!_0x41d027[_0x180277(0x1f0)](_0x1306b4[_0x180277(0x155)]()))&&(_0x41d027[_0x180277(0x1a2)](_0x1306b4[_0x180277(0x155)]())||_0x41d027[_0x180277(0x1d0)][_0x180277(0x131)](_0x1306b4[_0x180277(0x155)]()[_0x180277(0x195)])||_0x41d027[_0x180277(0x195)][_0x180277(0x131)](_0x1306b4[_0x180277(0x155)]()[_0x180277(0x1d0)]))){const _0x13da65=this[_0x180277(0x1e2)](_0x1306b4[_0x180277(0x147)]);Array[_0x180277(0x186)](this[_0x180277(0x1db)][_0x180277(0x18a)]())[_0x180277(0x132)](_0xa74a52=>_0xa74a52[_0x180277(0x168)]===_0x13da65[_0x180277(0x168)])[_0x180277(0x1d3)](_0x3f085e=>_0x2b4817[_0x180277(0x121)](_0x3f085e['id']));}}}if(_0x2b4817[_0x180277(0x193)]){for(const _0x4f746e of _0x2b4817)_0x60aa21[_0x180277(0x1aa)](_0x4f746e);return!0x0;}return!0x1;}[_0x2ccc6d(0x145)](_0x14c4dd){const _0x38c4f9=_0x2ccc6d;for(const {name:_0x10256b,data:_0x22faa3}of _0x14c4dd[_0x38c4f9(0x1a1)][_0x38c4f9(0x124)][_0x38c4f9(0x1e0)][_0x38c4f9(0x143)]()){if(!_0x10256b[_0x38c4f9(0x177)](we))continue;const _0x3b7a19=_0x22faa3[_0x38c4f9(0x1bd)],_0x36fbaf=_0x22faa3[_0x38c4f9(0x140)],_0x4f9ddb=_0x3b7a19&&_0x38c4f9(0x151)===_0x3b7a19[_0x38c4f9(0x192)][_0x38c4f9(0x206)],_0x56dea1=_0x36fbaf&&_0x38c4f9(0x151)===_0x36fbaf[_0x38c4f9(0x192)][_0x38c4f9(0x206)];if(_0x4f9ddb&&_0x56dea1)continue;const _0x151446=this[_0x38c4f9(0x1e2)](_0x10256b);this[_0x38c4f9(0x1db)][_0x38c4f9(0x16e)](_0x10256b)&&(_0x56dea1||!_0x36fbaf?this[_0x38c4f9(0x174)][_0x38c4f9(0x1f4)](_0x38c4f9(0x1eb),{'markerId':_0x10256b,'changeId':_0x151446[_0x38c4f9(0x168)]}):_0x4f9ddb&&_0x36fbaf&&this[_0x38c4f9(0x174)][_0x38c4f9(0x1f4)](_0x38c4f9(0x154),{'markerId':_0x10256b,'changeId':_0x151446[_0x38c4f9(0x168)]}));}}[_0x2ccc6d(0x1e2)](_0x3eec28){const _0x2e3b60=_0x2ccc6d,_0x1dfbd4=_0x3eec28[_0x2e3b60(0x17c)](':'),_0x20a0ee=(_0x1dfbd4[0x1]||'')[_0x2e3b60(0x17c)]('_');return{'prefix':_0x1dfbd4[0x0],'groupId':_0x20a0ee[0x0],'suffix':_0x20a0ee[0x1]};}[_0x2ccc6d(0x1b9)](_0x48f5ea,_0x5ccea2,_0x1085e7){const _0x25819d=_0x2ccc6d;if(_0x25819d(0x171)===_0x48f5ea[_0x25819d(0x1fb)]){const _0x21c56e=_0x48f5ea;return new _0x306eb8(this[_0x25819d(0x1a6)](_0x5ccea2[_0x25819d(0x1f1)](_0x21c56e[_0x25819d(0x15c)][_0x25819d(0x176)]),_0x1085e7),_0x21c56e[_0x25819d(0x156)],_0x21c56e[_0x25819d(0x159)]);}if(_0x25819d(0x180)===_0x48f5ea[_0x25819d(0x1fb)]&&_0x48f5ea[_0x25819d(0x147)][_0x25819d(0x177)](_0x25819d(0x208))){const _0x20571a=_0x48f5ea;return new _0x19960a(_0x20571a[_0x25819d(0x147)],_0x20571a[_0x25819d(0x1bd)],this[_0x25819d(0x187)](_0x20571a[_0x25819d(0x140)],_0x5ccea2[_0x25819d(0x1f1)](_0x20571a[_0x25819d(0x140)][_0x25819d(0x1d0)][_0x25819d(0x176)]),_0x5ccea2[_0x25819d(0x1f1)](_0x20571a[_0x25819d(0x140)][_0x25819d(0x195)][_0x25819d(0x176)]),_0x1085e7),_0x20571a[_0x25819d(0x1db)],_0x20571a[_0x25819d(0x1c3)],_0x20571a[_0x25819d(0x159)]);}return _0x48f5ea;}[_0x2ccc6d(0x1ef)](_0x351bcd){const _0x28829c=_0x2ccc6d;if(!_0x351bcd[_0x28829c(0x14a)])return[];const _0x2bb47e=[];let _0x21d970=0x0,_0x18f193=0x0,_0x375448=[];for(let _0x960cfe=0x0;_0x960cfe<=_0x351bcd[_0x28829c(0x14a)];_0x960cfe++){const _0x79850b=_0x351bcd[_0x960cfe],_0x9a2ee5=_0x351bcd[_0x960cfe-0x1];!_0x79850b||_0x9a2ee5&&!this[_0x28829c(0x1ae)](_0x9a2ee5)[_0x28829c(0x131)](this[_0x28829c(0x1a8)](_0x79850b))?(_0x2bb47e[_0x28829c(0x1ea)]({'operations':_0x375448,'operationsIsolated':_0x375448[_0x28829c(0x1e5)](_0x56ca26=>this[_0x28829c(0x142)](_0x56ca26[_0x28829c(0x1be)](),-_0x18f193)),'groupOffset':_0x21d970}),_0x375448=_0x79850b?[_0x79850b]:[],_0x18f193+=_0x21d970,_0x21d970=0x0):_0x375448[_0x28829c(0x1ea)](_0x79850b),_0x79850b&&_0x28829c(0x171)===_0x79850b[_0x28829c(0x1fb)]&&(_0x21d970+=_0x79850b[_0x28829c(0x19d)]);}return _0x2bb47e;}[_0x2ccc6d(0x15b)](_0x5a5877,_0x4f31b5,_0x4e2099,_0x1250b0=0x1){const _0x5ef5a9=_0x2ccc6d,_0x1341b5=new _0x189fbf({'startPosition':_0x5a5877,'direction':_0x4f31b5});let _0x52e976=0x0;for(let _0x4436af=0x0;_0x4436af<_0x1250b0;_0x4436af++){let _0x3c8ecc=0x0,_0x212406=!0x1,_0x2e30ae=_0x5ef5a9(0x1da)===_0x4f31b5?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x35641c}of _0x1341b5)if(_0x35641c['is'](_0x5ef5a9(0x138))){const _0x182adf=_0x2e30ae[_0x5ef5a9(0x18c)](_0x35641c[_0x5ef5a9(0x12d)]);if(_0x182adf&&_0x182adf[_0x5ef5a9(0x14a)]){if(_0x3c8ecc+=_0x5ef5a9(0x1da)===_0x4f31b5?_0x182adf[_0x5ef5a9(0x17f)]+_0x182adf[0x0][_0x5ef5a9(0x14a)]:_0x35641c[_0x5ef5a9(0x12d)][_0x5ef5a9(0x14a)]-_0x182adf[_0x5ef5a9(0x17f)],_0x182adf[0x0][_0x5ef5a9(0x14a)]!==_0x35641c[_0x5ef5a9(0x12d)][_0x5ef5a9(0x14a)])break;_0x212406=!0x0,_0x2e30ae=_0x5ef5a9(0x1da)===_0x4f31b5?/^\w+/:/\w+$/;}else{if(_0x212406)break;_0x3c8ecc+=_0x35641c[_0x5ef5a9(0x1b0)];}}else{if(_0x35641c['is'](_0x5ef5a9(0x19c))){_0x4e2099[_0x5ef5a9(0x1b8)](_0x35641c)&&!_0x212406&&(_0x3c8ecc+=0x1);break;}}_0x52e976+=_0x3c8ecc,_0x1341b5[_0x5ef5a9(0x15e)](_0x5a5877[_0x5ef5a9(0x1d2)](_0x5ef5a9(0x1da)===_0x4f31b5?_0x52e976:-_0x52e976));}return _0x52e976;}[_0x2ccc6d(0x191)](_0x26583c,_0x4d72e6){const _0x4847c5=_0x2ccc6d,_0x5f56a2=_0x2a3c6c(this[_0x4847c5(0x14b)])[_0x4847c5(0x1a1)][_0x4847c5(0x1b3)],_0x979640=this[_0x4847c5(0x15b)](_0x26583c,_0x4847c5(0x15a),_0x5f56a2,0x6),_0x47717c=this[_0x4847c5(0x15b)](_0x4d72e6,_0x4847c5(0x1da),_0x5f56a2,0x6),_0x197afd=_0x26583c[_0x4847c5(0x1d2)](-_0x979640),_0x3f748b=_0x4d72e6[_0x4847c5(0x1d2)](_0x47717c);return{'start':_0x197afd,'end':_0x3f748b,'hasContentBefore':!_0x197afd[_0x4847c5(0x1bc)],'hasContentAfter':!_0x3f748b[_0x4847c5(0x18e)]};}[_0x2ccc6d(0x1b6)](_0x2a5c78){const _0x229f31=_0x2ccc6d,_0x132632=this[_0x229f31(0x14b)][_0x229f31(0x1e7)][_0x229f31(0x16e)](_0x229f31(0x139)),_0xd38359=new Set();_0x2a3c6c(this[_0x229f31(0x14b)])[_0x229f31(0x1a1)][_0x229f31(0x12e)](_0x4c5f36=>{const _0x16bf6a=_0x229f31;for(const _0x2e14f8 of _0x2a5c78){const _0x2d9a4b=''+we+_0x2e14f8[_0x16bf6a(0x1fb)]+':'+_0x2e14f8[_0x16bf6a(0x168)]+'_'+_0x132632[_0x16bf6a(0x1a5)](_0xd38359);this[_0x16bf6a(0x1db)][_0x16bf6a(0x1e1)](_0x2d9a4b,{'id':_0x2d9a4b,'groupId':_0x2e14f8[_0x16bf6a(0x168)],'type':_0x2e14f8[_0x16bf6a(0x1fb)],'text':_0x2e14f8[_0x16bf6a(0x1ee)]}),_0x4c5f36[_0x16bf6a(0x1af)](_0x2d9a4b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4c5f36[_0x16bf6a(0x1ad)](_0x2e14f8[_0x16bf6a(0x1d0)],_0x2e14f8[_0x16bf6a(0x195)])});}});}[_0x2ccc6d(0x125)](_0x2cbbc5,_0x4ce8b7,_0x2a1702){let _0x4f457c='';return()=>{const _0x289c5a=_0x3267;if(!_0x4f457c){const _0x37c6c4=_0x4ce8b7[_0x289c5a(0x1c2)](_0x2cbbc5,{'showSuggestionHighlights':!0x0}),_0x282da9=_0x37c6c4[_0x289c5a(0x1d9)](0x0);if(!_0x282da9)return'';let _0x8c7a7e=!0x1;const _0xeae5af=[];for(const _0x2f836c of _0x282da9[_0x289c5a(0x1ec)]())_0x2f836c['is'](_0x289c5a(0x19c),_0x289c5a(0x1f7))&&_0x2f836c[_0x289c5a(0x11d)](_0x289c5a(0x160))&&(_0x8c7a7e=!0x1),_0x8c7a7e&&_0xeae5af[_0x289c5a(0x1ea)](_0x2f836c),_0x2f836c['is'](_0x289c5a(0x19c),_0x289c5a(0x1f7))&&_0x2f836c[_0x289c5a(0x11d)](_0x289c5a(0x1cf))&&(_0x8c7a7e=!0x0);_0x282da9[_0x289c5a(0x123)](0x0,_0x282da9[_0x289c5a(0x18f)]),_0x2a1702?.[_0x289c5a(0x146)]&&_0x282da9[_0x289c5a(0x188)]('…'),_0x282da9[_0x289c5a(0x188)](_0xeae5af),_0x2a1702?.[_0x289c5a(0x13f)]&&_0x282da9[_0x289c5a(0x188)]('…');const _0x14139c=_0x4ce8b7[_0x289c5a(0x144)][_0x289c5a(0x190)][_0x289c5a(0x1d6)](_0x37c6c4),_0xb4e02c=_0x4ce8b7[_0x289c5a(0x144)][_0x289c5a(0x1bb)][_0x289c5a(0x1cb)](_0x14139c);_0x4f457c=_0xb4e02c;}return _0x4f457c;};}[_0x2ccc6d(0x182)](_0x19fe31,_0x172683){const _0x14f86b=_0x2ccc6d;let _0x197363='';return()=>(_0x197363||(_0x197363=_0x172683[_0x14f86b(0x185)](_0x19fe31,{'showSuggestionHighlights':!0x0})),_0x197363);}[_0x2ccc6d(0x13c)](_0x98eb93,_0x44e660,_0x12763b){let _0x2f5c8a='';return()=>{const _0x4cca38=_0x3267;if(!_0x2f5c8a){const _0x1eeee3=_0x12763b[_0x4cca38(0x1c2)](new _0x42d8d3(_0x98eb93)),_0x1ba8fb=_0x12763b[_0x4cca38(0x144)][_0x4cca38(0x190)][_0x4cca38(0x1d6)](_0x1eeee3)[_0x4cca38(0x1fd)](_0x4cca38(0x203)+_0x44e660+'\x22]');_0x2f5c8a=_0x1ba8fb?.[_0x4cca38(0x1dd)]||'';}return _0x2f5c8a;};}[_0x2ccc6d(0x1a4)](_0x4a1e9a,_0x3b2385=0x5){const _0x686f3e=_0x2ccc6d;let _0x36b179=_0x4a1e9a,_0x89eec8=null;for(let _0x184028=0x0;_0x184028<_0x3b2385&&_0x36b179;_0x184028++){if(!_0x36b179[_0x686f3e(0x1f5)]){_0x36b179=_0x36b179[_0x686f3e(0x1ff)];continue;}if(!(''+_0x36b179[_0x686f3e(0x1f5)])[_0x686f3e(0x128)](_0x686f3e(0x17b))){_0x36b179=_0x36b179[_0x686f3e(0x1ff)];continue;}if(!_0x36b179[_0x686f3e(0x14e)](_0x686f3e(0x1c5)))break;_0x89eec8=_0x36b179;break;}return _0x89eec8;}[_0x2ccc6d(0x1c4)](_0x1f9dd4){const _0x500128=_0x2ccc6d;return Array[_0x500128(0x186)](this[_0x500128(0x1db)][_0x500128(0x18a)]())[_0x500128(0x132)](_0xc798b6=>_0xc798b6[_0x500128(0x168)]===_0x1f9dd4);}[_0x2ccc6d(0x1a8)](_0x2a51e5){const _0x25306c=_0x2ccc6d;return _0x25306c(0x171)===_0x2a51e5[_0x25306c(0x1fb)]?_0x2a51e5[_0x25306c(0x15c)]:_0x2a51e5[_0x25306c(0x140)][_0x25306c(0x1d0)];}[_0x2ccc6d(0x1ae)](_0x43b0ed,_0x4f8d8b=!0x1){const _0x171ac1=_0x2ccc6d;return _0x171ac1(0x171)===_0x43b0ed[_0x171ac1(0x1fb)]?_0x4f8d8b?_0x43b0ed[_0x171ac1(0x15c)]:_0x43b0ed[_0x171ac1(0x15c)][_0x171ac1(0x1d2)](_0x43b0ed[_0x171ac1(0x19d)]):_0x43b0ed[_0x171ac1(0x140)][_0x171ac1(0x195)];}[_0x2ccc6d(0x142)](_0x5bab4b,_0x327524){const _0x554839=_0x2ccc6d;return _0x554839(0x171)===_0x5bab4b[_0x554839(0x1fb)]?_0x5bab4b[_0x554839(0x15c)]=_0x5bab4b[_0x554839(0x15c)][_0x554839(0x1d2)](_0x327524):_0x554839(0x180)===_0x5bab4b[_0x554839(0x1fb)]&&_0x5bab4b[_0x554839(0x140)]&&(_0x5bab4b[_0x554839(0x140)]=new _0x2b8216(_0x5bab4b[_0x554839(0x140)][_0x554839(0x1d0)][_0x554839(0x1d2)](_0x327524),_0x5bab4b[_0x554839(0x140)][_0x554839(0x195)][_0x554839(0x1d2)](_0x327524))),_0x5bab4b;}[_0x2ccc6d(0x157)](_0x34dc75,_0x3a481a){const _0x3f07e8=_0x2ccc6d;_0x3f07e8(0x171)===_0x34dc75[_0x3f07e8(0x1fb)]?_0x34dc75[_0x3f07e8(0x15c)]=this[_0x3f07e8(0x133)](_0x34dc75[_0x3f07e8(0x15c)],_0x3a481a):_0x3f07e8(0x180)===_0x34dc75[_0x3f07e8(0x1fb)]&&_0x34dc75[_0x3f07e8(0x140)]&&(_0x34dc75[_0x3f07e8(0x140)]=this[_0x3f07e8(0x170)](_0x34dc75[_0x3f07e8(0x140)],_0x3a481a));}[_0x2ccc6d(0x133)](_0x33588e,_0x1bf89a){const _0x3d91b5=_0x2ccc6d;return new _0x5e0573(_0x1bf89a,_0x33588e[_0x3d91b5(0x19a)]);}[_0x2ccc6d(0x170)](_0x1c5cfe,_0x39ea35){const _0x3124e6=_0x2ccc6d;return new _0x2b8216(this[_0x3124e6(0x133)](_0x1c5cfe[_0x3124e6(0x1d0)],_0x39ea35),this[_0x3124e6(0x133)](_0x1c5cfe[_0x3124e6(0x195)],_0x39ea35));}[_0x2ccc6d(0x1a6)](_0x3b6081,_0x4ae0fb){return new _0x5e0573(_0x4ae0fb,[..._0x3b6081]);}[_0x2ccc6d(0x187)](_0x57c275,_0x423b2d,_0x300027,_0x2ff1b6){const _0x59f53c=_0x2ccc6d;return new _0x2b8216(this[_0x59f53c(0x1a6)](_0x423b2d,_0x2ff1b6),this[_0x59f53c(0x1a6)](_0x300027,_0x2ff1b6));}[_0x2ccc6d(0x1fe)](_0x512e77){const _0x1493c6=_0x2ccc6d,_0x2f150c=_0x48e277=>{const _0x573ab6=_0x3267;switch(_0x48e277){case _0x573ab6(0x171):return 0x1;case _0x573ab6(0x1d1):return 0x2;case _0x573ab6(0x1fa):return 0x3;case _0x573ab6(0x11b):return 0x4;}};return _0x512e77[_0x1493c6(0x16f)]((_0x4f074c,_0x465a3d)=>_0x2f150c(_0x4f074c[_0x1493c6(0x1fb)])-_0x2f150c(_0x465a3d[_0x1493c6(0x1fb)]));}[_0x2ccc6d(0x13a)](_0x34c054,_0x9150c2){const _0x2d8600=_0x2ccc6d,_0x5354a2=_0x34c054[_0x2d8600(0x1d9)](0x0),_0x2c7838=_0x9150c2[_0x2d8600(0x1d9)](0x0);return!(!_0x5354a2||!_0x2c7838)&&((!_0x5354a2['is'](_0x2d8600(0x19c))||!_0x2c7838['is'](_0x2d8600(0x19c))||_0x5354a2[_0x2d8600(0x147)]===_0x2c7838[_0x2d8600(0x147)])&&!(_0x5354a2['is'](_0x2d8600(0x19c))&&!_0x2c7838['is'](_0x2d8600(0x19c))||!_0x5354a2['is'](_0x2d8600(0x19c))&&_0x2c7838['is'](_0x2d8600(0x19c))));}}
|
|
23
|
+
function _0x2d2a(){const _0x33bb7a=['has','flat','getRange','342474HHGiIe','disableReadOnlyMode','forward','createUIElement','toData','attributeToAttribute','isInline','every','className','getShiftedBy','hasContentAfter','affectsData','hasContentBefore','add','addMarker','_translateOperationToEditorContent','_eventEmitter','length','diffContent','index','changeMarkerRestored','_handleMarkerChanges','parentElement','addOperation','start','text','differ','clone','context','remove-context','markers','set','remove-text','_markers','createSelection','root','nodes','getStart','getChangedMarkers','143676yXwUHi','_changeRange','history','forEach','oldRange','AIReviewModeEditing','isAtEnd','version','ai-review-mode','getRoots','emitter','ck-ai_review-mode-marker_context-start','listenTo','getDomRoot','data','getPath','get','for','enableReadOnlyMode','viewToDom','No\x20element\x20found\x20for\x20ID:\x20','htmlProcessor','createRawElement','model:$text','_groupAdjacentOperations','getMarkerElementForChange','$textProxy','getDiff','_getOperationEnd','_hasSameTopLevelElement','_findMarkerElement','data-marker-id','exec','fire','_removeAttribute','size','$markedRemove','batch','_clone','ck-ai_review-mode-marker_hide','_getChangeContext','name','dataDowncast','[data-marker-id=\x22','editing','removeMarker','isPremiumPlugin','type','switchToEdit','getAttribute','ellipsisBefore','howMany','_createGetContentUsingDataIdFn','outerHTML','suggestion:deletion:id:authorId:','reviewmode-','suggestion:insertion:id:authorId:','span','isTouching','htmlWriter','isIntersecting','ck-ai_review-mode-marker_add','DocumentCompare','operationsIsolated','map','baseVersion','suggestion-context','_nextDataId','downcast','createPositionAfter','_changeRangeOwnerDocument','includes','containsRange','_shiftOperation','getEditor','getChanges','newRange','_parseMarkerName','switchToReadOnly','plugins','ck-ai_review-mode-marker_strikethrough','parent','push','domConverter','click','changeMarkerClick','startsWith','$documentFragment','applyChange','_appendChild','pop','groupId','processor','createText','_changePositionOwnerDocument','getDocumentData','pluginName','offsetSize','toDomElement','append','_removeChildren','getOperations','conversion','isDocumentOperation','model','afterInit','split','remove','markChangePositionInEditorContent','jumpTo','view','documentFragment','changeMarkerRemoved','createPositionAt','from','_insertMarkers','_changeOperationOwnerDocument','registerPostFixer','markerName','ck-ai_review-mode-marker_context-','getHtml','$graveyard','operationsA','childCount','applyOperation','marker','301698dYxunU','_setAttribute','_validateMarkers','hasClass','_sortMarkers','8pblDBw','end','keys','target','getChild','[data-id=\x22','concat','element','306666QCAnOp','backward','markerToElement','offset','getRoot','toView','ck-ai_review-mode-marker_','_getMarkersDataForGroup','position','delete','innerHTML','change','isOfficialPlugin','isAtStart','isOpening','656152zGlDrl','_createGetContextFn','requires','values','51609ZdtLqk','createDocumentFragment','document','deleteContent','getChildren','path','ck-ai_review-mode-marker_underline','editingDowncast','elements','querySelector','rejectChange','parse','insert','markerToHighlight','clear','_domEmitter','ellipsisAfter','sort','schema','5nboOuX','rootName','warn','hasAttribute','_getOperationStart','remove-only','_findAdjacentContextDistance','ck-ai_review-mode-marker_context-end','_createGetContentFn','caption','1297331ALwsoX','filter','stringify','_changePosition','AIEditing','createRange','clearAllMarkers','insertContent'];_0x2d2a=function(){return _0x33bb7a;};return _0x2d2a();}const _0x2280fc=_0x41c5;(function(_0x11c321,_0x24796f){const _0xdb6388=_0x41c5,_0x40c8ce=_0x11c321();while(!![]){try{const _0x1633a4=-parseInt(_0xdb6388(0xf3))/0x1+-parseInt(_0xdb6388(0x142))/0x2+-parseInt(_0xdb6388(0xe0))/0x3+parseInt(_0xdb6388(0xef))/0x4+parseInt(_0xdb6388(0x106))/0x5*(-parseInt(_0xdb6388(0x11b))/0x6)+-parseInt(_0xdb6388(0x110))/0x7*(-parseInt(_0xdb6388(0xd8))/0x8)+parseInt(_0xdb6388(0xd3))/0x9;if(_0x1633a4===_0x24796f)break;else _0x40c8ce['push'](_0x40c8ce['shift']());}catch(_0x97f670){_0x40c8ce['push'](_0x40c8ce['shift']());}}}(_0x2d2a,0x18731));import{InsertOperation as _0x24c24c,MarkerOperation as _0x2cfe7f,ModelDocumentFragment as _0x534e08,ModelPosition as _0x2d59c5,ModelRange as _0x648aa6,ModelTreeWalker as _0x5e8fa2,transformOperationSets as _0x496a0e}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x59b7a6,EmitterMixin as _0x378ddc}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x193b5e}from'ckeditor5/src/core.js';function _0x41c5(_0x3230b1,_0x3e1748){const _0x2d2ab5=_0x2d2a();return _0x41c5=function(_0x41c581,_0x5df125){_0x41c581=_0x41c581-0xcc;let _0x1abe26=_0x2d2ab5[_0x41c581];return _0x1abe26;},_0x41c5(_0x3230b1,_0x3e1748);}import{DocumentCompare as _0x5838fd,DATA_ID_MODEL_ATTRIBUTE as _0x66ddf2,DATA_ID_VIEW_ATTRIBUTE as _0x35152b}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x16f755}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x1ddc11}from'../aicore/aiediting.js';const we=_0x2280fc(0x179);export class AIReviewModeEditing extends _0x193b5e{static get[_0x2280fc(0x1a2)](){const _0x3aa5fe=_0x2280fc;return _0x3aa5fe(0x147);}static get[_0x2280fc(0xf1)](){return[_0x5838fd,_0x1ddc11];}static get[_0x2280fc(0xec)](){return!0x0;}static get[_0x2280fc(0x170)](){return!0x0;}[_0x2280fc(0x13c)]=new Map();[_0x2280fc(0x102)];[_0x2280fc(0x12b)];constructor(_0x314c19){const _0x589ca0=_0x2280fc;super(_0x314c19),this[_0x589ca0(0x102)]=new(_0x59b7a6())(),this[_0x589ca0(0x12b)]=new(_0x378ddc())();}get[_0x2280fc(0x14c)](){const _0x44d585=_0x2280fc;return this[_0x44d585(0x12b)];}[_0x2280fc(0x1ab)](){const _0x542bd0=_0x2280fc,_0x2a8a43=_0x16f755(this[_0x542bd0(0x137)]);_0x2a8a43[_0x542bd0(0x1a8)][_0x542bd0(0x153)](_0x542bd0(0xfa))[_0x542bd0(0xe2)]({'model':we+_0x542bd0(0xff),'view':(_0xcf30bd,{writer:_0x1ce154})=>{const _0x1c5e9c=_0x542bd0,_0x199c8f=this[_0x1c5e9c(0x13c)][_0x1c5e9c(0x152)](_0xcf30bd[_0x1c5e9c(0x1b8)]),_0x1a0124={'class':_0x1c5e9c(0x17f),'data-marker-id':_0xcf30bd[_0x1c5e9c(0x1b8)]};return _0x1ce154[_0x1c5e9c(0x11e)](_0x1c5e9c(0x17b),_0x1a0124,function(_0x43a087){const _0x54426d=_0x1c5e9c,_0x4006b1=this[_0x54426d(0x1a4)](_0x43a087);return _0x4006b1[_0x54426d(0xea)]=_0x199c8f?.[_0x54426d(0x134)]||'',_0x4006b1;});}}),_0x2a8a43[_0x542bd0(0x1a8)][_0x542bd0(0x153)](_0x542bd0(0xfa))[_0x542bd0(0x100)]({'model':we+_0x542bd0(0x10b),'view':_0x2cb2ab=>({'classes':_0x542bd0(0x192),'attributes':{'data-marker-id':_0x2cb2ab[_0x542bd0(0x1b8)]}})}),_0x2a8a43[_0x542bd0(0x1a8)][_0x542bd0(0x153)](_0x542bd0(0xfa))[_0x542bd0(0x100)]({'model':we+_0x542bd0(0x138),'view':_0x235e90=>({'classes':_0x542bd0(0xf9),'attributes':{'data-marker-id':_0x235e90[_0x542bd0(0x1b8)]}})}),_0x2a8a43[_0x542bd0(0x1a8)][_0x542bd0(0x153)](_0x542bd0(0xfa))[_0x542bd0(0x100)]({'model':we+_0x542bd0(0x13b),'view':_0x4c282c=>({'classes':_0x542bd0(0x169),'attributes':{'data-marker-id':_0x4c282c[_0x542bd0(0x1b8)]}})}),_0x2a8a43[_0x542bd0(0x1a8)][_0x542bd0(0x153)](_0x542bd0(0x16c))[_0x542bd0(0xe2)]({'model':we+_0x542bd0(0x184),'view':(_0x2c5cea,{writer:_0x4f6d7e})=>_0x4f6d7e[_0x542bd0(0x158)](_0x542bd0(0x17b),{'class':_0x542bd0(0xcc)+(_0x2c5cea[_0x542bd0(0xee)]?_0x542bd0(0x133):_0x542bd0(0xd9))})}),_0x2a8a43[_0x542bd0(0x1a8)][_0x542bd0(0x153)](_0x542bd0(0x186))[_0x542bd0(0x120)]({'model':_0x66ddf2,'view':_0x35152b}),this[_0x542bd0(0x102)][_0x542bd0(0x14e)](document,_0x542bd0(0x196),(_0x45cb8e,_0x49c02e)=>{const _0x4610f8=_0x542bd0,_0x1f6f32=_0x49c02e[_0x4610f8(0xdb)],_0x4594ac=this[_0x4610f8(0x160)](_0x1f6f32);if(!_0x4594ac)return;const _0x295018=_0x4594ac[_0x4610f8(0x173)](_0x4610f8(0x161)),_0x3cc87d=_0x295018[_0x4610f8(0x1ac)](':')[_0x4610f8(0x19c)]()?.[_0x4610f8(0x1ac)]('_')[0x0];this[_0x4610f8(0x12b)][_0x4610f8(0x163)](_0x4610f8(0x197),{'markerId':_0x295018,'changeId':_0x3cc87d});}),_0x2a8a43[_0x542bd0(0x1aa)][_0x542bd0(0xf5)][_0x542bd0(0x1b7)](_0x1750ed=>this[_0x542bd0(0xd5)](_0x2a8a43,_0x1750ed)),_0x2a8a43[_0x542bd0(0x1aa)][_0x542bd0(0xf5)]['on'](_0x542bd0(0xeb),()=>this[_0x542bd0(0x130)](_0x2a8a43));}[_0x2280fc(0x1a1)](){const _0x2770b9=_0x2280fc,_0x29c2d8=this[_0x2770b9(0x137)][_0x2770b9(0x191)][_0x2770b9(0x152)](_0x2770b9(0x114)),_0x3d2c67=_0x16f755(this[_0x2770b9(0x137)]),_0x2e2f27=_0x3d2c67[_0x2770b9(0x1aa)],_0x55fec8=new _0x534e08();for(const _0x3cd3a6 of _0x2e2f27[_0x2770b9(0xf5)][_0x2770b9(0xe4)]()[_0x2770b9(0xf7)]()){const _0x5c5ac4=_0x3cd3a6[_0x2770b9(0x168)](!0x0);_0x55fec8[_0x2770b9(0x19b)](_0x5c5ac4);}for(const _0x334334 of _0x2e2f27[_0x2770b9(0x139)])_0x55fec8[_0x2770b9(0x139)][_0x2770b9(0x13a)](_0x334334[_0x2770b9(0x16b)],this[_0x2770b9(0x188)](_0x334334[_0x2770b9(0x11a)]()[_0x2770b9(0x136)](),_0x55fec8));const _0xa035d=new _0x5e8fa2({'ignoreElementEnd':!0x0,'startPosition':_0x2e2f27[_0x2770b9(0x1b3)](_0x55fec8,0x0)}),_0x1da16f=new Set(),_0x173dc0=new Map();for(const {item:_0x555bbe}of _0xa035d){if(!_0x555bbe['is'](_0x2770b9(0x15c)))continue;const _0x2ca317=_0x555bbe[_0x2770b9(0x193)];if((!_0x2ca317||!_0x2ca317['is'](_0x2770b9(0xdf),_0x2770b9(0x10f)))&&(_0x2ca317&&_0x2ca317['is'](_0x2770b9(0xdf)))){let _0x878c25=_0x2ca317[_0x2770b9(0x173)](_0x66ddf2);_0x878c25||(_0x878c25=_0x29c2d8[_0x2770b9(0x185)](_0x1da16f),_0x2ca317[_0x2770b9(0xd4)](_0x66ddf2,_0x878c25)),_0x1da16f[_0x2770b9(0x128)](_0x878c25);let _0x457380=_0x2ca317;for(;_0x457380[_0x2770b9(0x193)]&&!_0x457380[_0x2770b9(0x193)]['is'](_0x2770b9(0x1b1));)_0x457380=_0x457380[_0x2770b9(0x193)],_0x457380[_0x2770b9(0x109)](_0x66ddf2)&&_0x457380[_0x2770b9(0x164)](_0x66ddf2);_0x173dc0[_0x2770b9(0x13a)](_0x878c25,{'path':_0x2ca317[_0x2770b9(0x151)](),'getContent':this[_0x2770b9(0x176)](_0x457380[_0x2770b9(0x168)](!0x0),_0x878c25,_0x3d2c67[_0x2770b9(0x150)])}),_0xa035d[_0x2770b9(0x1af)](_0x2e2f27[_0x2770b9(0x187)](_0x2ca317));}}return{'content':_0x3d2c67[_0x2770b9(0x150)][_0x2770b9(0x19e)][_0x2770b9(0x11f)](_0x3d2c67[_0x2770b9(0x150)][_0x2770b9(0xe5)](_0x55fec8)),'version':_0x3d2c67[_0x2770b9(0x1aa)][_0x2770b9(0xf5)][_0x2770b9(0x149)],'elements':_0x173dc0};}[_0x2280fc(0x12d)](_0x4c7050,_0x1ec363){const _0x113b7a=_0x2280fc,_0x3356d9=[],_0x3e908b=_0x16f755(this[_0x113b7a(0x137)]),_0x15be1d=_0x3e908b[_0x113b7a(0x150)][_0x113b7a(0xfe)](_0x4c7050,_0x113b7a(0x199)),_0x1b243d=_0x3e908b[_0x113b7a(0x1aa)][_0x113b7a(0x1b3)](_0x15be1d,0x0),_0x101cb3=_0x3e908b[_0x113b7a(0x150)][_0x113b7a(0xfe)](_0x1ec363,_0x113b7a(0x199));if(!this[_0x113b7a(0x15f)](_0x15be1d,_0x101cb3))return _0x3356d9;const _0x436fda=this[_0x113b7a(0x137)][_0x113b7a(0x191)][_0x113b7a(0x152)](_0x113b7a(0x180))[_0x113b7a(0x15d)](_0x4c7050,_0x1ec363,{'anchor':_0x1b243d,'markDeletions':!0x0})[_0x113b7a(0x1a7)]()[_0x113b7a(0x111)](_0x545cd0=>_0x113b7a(0xff)===_0x545cd0[_0x113b7a(0x171)]||_0x113b7a(0xd2)===_0x545cd0[_0x113b7a(0x171)]&&_0x545cd0[_0x113b7a(0x16b)][_0x113b7a(0x198)](_0x113b7a(0x166))),_0x24575c=this[_0x113b7a(0x15a)](_0x436fda);let _0x43f0aa=0x0;return _0x3e908b[_0x113b7a(0x1aa)][_0x113b7a(0xeb)](_0x374d17=>{const _0x44df12=_0x113b7a;for(let _0x5e4f1d=0x0;_0x5e4f1d<_0x24575c[_0x44df12(0x12c)];_0x5e4f1d++){const _0x4cdcbf=_0x24575c[_0x5e4f1d],_0x159932=_0x374d17[_0x44df12(0xf4)]();for(const _0x4d0b6c of _0x15be1d[_0x44df12(0xf7)]())_0x374d17[_0x44df12(0x1a5)](_0x4d0b6c[_0x44df12(0x168)](!0x0),_0x159932);for(const _0x16a90f of _0x4cdcbf[_0x44df12(0x181)])if(_0x44df12(0xff)===_0x16a90f[_0x44df12(0x171)]){const _0x51ed73=_0x16a90f;_0x51ed73[_0x44df12(0x183)]=null,_0x51ed73[_0x44df12(0x1a9)]=!0x1,this[_0x44df12(0x1b6)](_0x51ed73,_0x159932),_0x374d17[_0x44df12(0x167)][_0x44df12(0x132)](_0x16a90f),_0x3e908b[_0x44df12(0x1aa)][_0x44df12(0xd1)](_0x16a90f);const _0xe7d7bc=_0x44df12(0x17a)+_0x43f0aa++,_0x2bcd7d=_0x3e908b[_0x44df12(0x1aa)][_0x44df12(0x115)](_0x51ed73[_0x44df12(0xe8)],_0x51ed73[_0x44df12(0xe8)][_0x44df12(0x124)](_0x51ed73[_0x44df12(0x175)]));_0x159932[_0x44df12(0x139)][_0x44df12(0x13a)](_0xe7d7bc,_0x2bcd7d);}else{if(_0x44df12(0xd2)===_0x16a90f[_0x44df12(0x171)]&&_0x16a90f[_0x44df12(0x16b)][_0x44df12(0x198)](_0x44df12(0x166))){const _0x5056f3=_0x16a90f,_0x5b70a2=_0x44df12(0x178)+_0x43f0aa++;this[_0x44df12(0x1b6)](_0x5056f3,_0x159932),_0x159932[_0x44df12(0x139)][_0x44df12(0x13a)](_0x5b70a2,_0x5056f3[_0x44df12(0x18e)]);}}const _0x5a4302=this[_0x44df12(0x16a)](this[_0x44df12(0x1a0)](this[_0x44df12(0x10a)](_0x4cdcbf[_0x44df12(0x181)][0x0]),_0x159932),this[_0x44df12(0x1a0)](this[_0x44df12(0x15e)](_0x4cdcbf[_0x44df12(0x181)][_0x4cdcbf[_0x44df12(0x181)][_0x44df12(0x12c)]-0x1]),_0x159932));_0x159932[_0x44df12(0x139)][_0x44df12(0x13a)](we+_0x44df12(0x184),new _0x648aa6(_0x5a4302[_0x44df12(0x133)],_0x5a4302[_0x44df12(0xd9)])),_0x3356d9[_0x44df12(0x194)]({..._0x4cdcbf,'context':this[_0x44df12(0xf0)](_0x159932,_0x3e908b[_0x44df12(0x150)],{'ellipsisBefore':_0x5a4302[_0x44df12(0x127)],'ellipsisAfter':_0x5a4302[_0x44df12(0x125)]}),'content':this[_0x44df12(0x10e)](_0x159932,_0x3e908b[_0x44df12(0x150)])});}}),_0x3356d9;}[_0x2280fc(0x1ae)](_0x32376c,_0x433c38){const _0x93aeef=_0x2280fc;if(!_0x32376c[_0x93aeef(0x12c)])return;const _0x314b9e=_0x32376c[0x0][_0x93aeef(0x193)]['id'],_0x1bd7e9=_0x433c38[_0x93aeef(0xfb)][_0x93aeef(0x152)](_0x314b9e);if(!_0x1bd7e9)return void console[_0x93aeef(0x108)](_0x93aeef(0x156)+_0x314b9e);const _0x2cf76f=_0x1bd7e9[_0x93aeef(0xf8)],_0xaa1ffa=_0x16f755(this[_0x93aeef(0x137)]),_0x19d34d=_0xaa1ffa[_0x93aeef(0x1aa)][_0x93aeef(0xf5)][_0x93aeef(0x144)][_0x93aeef(0x1a7)](_0x433c38[_0x93aeef(0x149)]),_0x120177=[];for(const _0x273bd1 of _0x32376c){const _0x5a3ae7=_0x273bd1[_0x93aeef(0x181)][_0x93aeef(0x182)](_0x338d87=>this[_0x93aeef(0x12a)](_0x338d87,_0x2cf76f,_0xaa1ffa[_0x93aeef(0x1aa)][_0x93aeef(0xf5)][_0x93aeef(0x14b)]()[0x0]));if(!_0x5a3ae7||!_0x5a3ae7[_0x93aeef(0x12c)])continue;const _0x23c696=_0x5a3ae7[_0x93aeef(0x122)](_0x4886d6=>_0x93aeef(0xd2)===_0x4886d6[_0x93aeef(0x171)]&&_0x4886d6[_0x93aeef(0x16b)][_0x93aeef(0x198)](_0x93aeef(0x166))),_0x4a3872={'document':_0xaa1ffa[_0x93aeef(0x1aa)][_0x93aeef(0xf5)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x384b65=_0x496a0e(_0x5a3ae7,_0x19d34d,_0x4a3872)[_0x93aeef(0xcf)];for(const _0xa98a0 of _0x384b65)if(_0x93aeef(0xff)===_0xa98a0[_0x93aeef(0x171)]){const _0x723ab4=_0xa98a0,_0x22df75=_0x723ab4[_0x93aeef(0x13f)];let _0x74e6ee='';for(const _0x144ca8 of _0x22df75)_0x144ca8&&_0x144ca8['is'](_0x93aeef(0x159))&&(_0x74e6ee+=_0x144ca8[_0x93aeef(0x150)]);_0x120177[_0x93aeef(0x194)]({'start':_0x723ab4[_0x93aeef(0xe8)],'end':_0x723ab4[_0x93aeef(0xe8)],'type':_0x93aeef(0xff),'groupId':_0x273bd1['id'],'text':_0x74e6ee});}else{if(_0x93aeef(0xd2)===_0xa98a0[_0x93aeef(0x171)]&&_0xa98a0[_0x93aeef(0x16b)][_0x93aeef(0x198)](_0x93aeef(0x166))){const _0x434177=_0xa98a0;let _0x1201b5=_0x93aeef(0x13b);if(_0x23c696){const _0x7a113f=this[_0x93aeef(0x10c)](_0x434177[_0x93aeef(0x18e)][_0x93aeef(0x133)],_0x93aeef(0xe1),_0xaa1ffa[_0x93aeef(0x1aa)][_0x93aeef(0x105)]),_0x5e9734=this[_0x93aeef(0x10c)](_0x434177[_0x93aeef(0x18e)][_0x93aeef(0xd9)],_0x93aeef(0x11d),_0xaa1ffa[_0x93aeef(0x1aa)][_0x93aeef(0x105)]);if(_0x7a113f||_0x5e9734){const _0x6ba5a9=_0x434177[_0x93aeef(0x18e)][_0x93aeef(0x133)][_0x93aeef(0x124)](-_0x7a113f),_0x50d0ca=_0x434177[_0x93aeef(0x18e)][_0x93aeef(0xd9)][_0x93aeef(0x124)](_0x5e9734);_0x120177[_0x93aeef(0x194)]({'start':_0x6ba5a9,'end':_0x50d0ca,'groupId':_0x273bd1['id'],'type':_0x93aeef(0x138)});}else _0x1201b5=_0x93aeef(0x10b);}_0x120177[_0x93aeef(0x194)]({'start':_0x434177[_0x93aeef(0x18e)][_0x93aeef(0x133)],'end':_0x434177[_0x93aeef(0x18e)][_0x93aeef(0xd9)],'groupId':_0x273bd1['id'],'type':_0x1201b5});}}}this[_0x93aeef(0x1b5)](_0x120177);}[_0x2280fc(0x116)](){const _0x2d973d=_0x2280fc,_0x4b09ae=_0x16f755(this[_0x2d973d(0x137)]);_0x4b09ae[_0x2d973d(0x1aa)][_0x2d973d(0xeb)](_0x3852f7=>{const _0x21b3c4=_0x2d973d;for(const _0x5f08c9 of this[_0x21b3c4(0x13c)][_0x21b3c4(0xda)]())_0x4b09ae[_0x21b3c4(0x1aa)][_0x21b3c4(0x139)][_0x21b3c4(0x152)](_0x5f08c9)&&_0x3852f7[_0x21b3c4(0x16f)](_0x5f08c9);}),this[_0x2d973d(0x13c)][_0x2d973d(0x101)]();}[_0x2280fc(0x190)](){const _0x37d8cc=_0x2280fc;_0x16f755(this[_0x37d8cc(0x137)])[_0x37d8cc(0x154)](_0x37d8cc(0x14a));}[_0x2280fc(0x172)](){const _0x57685e=_0x2280fc;_0x16f755(this[_0x57685e(0x137)])[_0x57685e(0x11c)](_0x57685e(0x14a));}[_0x2280fc(0x19a)](_0x3cf26b){const _0x5b45b3=_0x2280fc,_0x5456c5=_0x16f755(this[_0x5b45b3(0x137)]),_0x1f6c93=_0x5456c5[_0x5b45b3(0x1aa)],_0x17b674=_0x3cf26b[_0x5b45b3(0x182)](_0xd86aa2=>this[_0x5b45b3(0xe7)](_0xd86aa2))[_0x5b45b3(0x119)]();_0x1f6c93[_0x5b45b3(0xeb)](_0x5da699=>{const _0x38596c=_0x5b45b3;for(const _0x47d266 of _0x17b674){const _0x3c14fa=_0x5456c5[_0x38596c(0x1aa)][_0x38596c(0x139)][_0x38596c(0x152)](_0x47d266['id']);_0x3c14fa&&(_0x38596c(0xff)===_0x47d266[_0x38596c(0x171)]?_0x1f6c93[_0x38596c(0x117)](_0x5da699[_0x38596c(0x19f)](_0x47d266[_0x38596c(0x134)]||''),_0x3c14fa[_0x38596c(0x11a)]()[_0x38596c(0x133)]):_0x38596c(0x13b)!==_0x47d266[_0x38596c(0x171)]&&_0x38596c(0x10b)!==_0x47d266[_0x38596c(0x171)]||_0x1f6c93[_0x38596c(0xf6)](_0x1f6c93[_0x38596c(0x13d)](_0x3c14fa[_0x38596c(0x11a)]())),_0x5da699[_0x38596c(0x16f)](_0x47d266['id']),this[_0x38596c(0x13c)][_0x38596c(0xe9)](_0x47d266['id']));}});}[_0x2280fc(0xfd)](_0x28d50a){const _0x387c62=_0x2280fc,_0x1f6185=_0x16f755(this[_0x387c62(0x137)]),_0x1552d8=this[_0x387c62(0xe7)](_0x28d50a);_0x1f6185[_0x387c62(0x1aa)][_0x387c62(0xeb)](_0x4efa84=>{const _0x6de15b=_0x387c62;for(const _0x4c6acf of _0x1552d8)_0x4efa84[_0x6de15b(0x16f)](_0x4c6acf['id']),this[_0x6de15b(0x13c)][_0x6de15b(0xe9)](_0x4c6acf['id']);});}[_0x2280fc(0x18c)](){const _0x2d9986=_0x2280fc;return _0x16f755(this[_0x2d9986(0x137)]);}[_0x2280fc(0x15b)](_0x59c5f8){const _0x1c3d94=_0x2280fc,_0x5985ac=Array[_0x1c3d94(0x1b4)](this[_0x1c3d94(0x13c)][_0x1c3d94(0xf2)]())[_0x1c3d94(0x111)](_0x4fef2f=>_0x4fef2f[_0x1c3d94(0x19d)]===_0x59c5f8);if(!_0x5985ac[_0x1c3d94(0x12c)])return null;const _0x39031e=0x1===_0x5985ac[_0x1c3d94(0x12c)]?_0x5985ac[0x0]:this[_0x1c3d94(0xd7)](_0x5985ac)[0x0],_0x11075d=_0x16f755(this[_0x1c3d94(0x137)]),_0x48382d=_0x11075d[_0x1c3d94(0x1aa)][_0x1c3d94(0x139)][_0x1c3d94(0x152)](_0x39031e['id']);if(!_0x48382d)return null;const _0x4347fd=_0x48382d[_0x1c3d94(0x11a)](),_0x3bbe7a=_0x11075d[_0x1c3d94(0x16e)][_0x1c3d94(0x1b0)][_0x1c3d94(0x14f)]();if(!_0x3bbe7a||!_0x4347fd)return null;const _0x3b3e87=_0x3bbe7a[_0x1c3d94(0xfc)](_0x1c3d94(0x16d)+_0x39031e['id']+'\x22]');return _0x3b3e87?{'modelRange':_0x4347fd,'domElement':_0x3b3e87}:null;}[_0x2280fc(0xd5)](_0x595bed,_0x45d1bd){const _0x5f3392=_0x2280fc,_0x20e65c=Array[_0x5f3392(0x1b4)](this[_0x5f3392(0x13c)][_0x5f3392(0xda)]()),_0x2d9a18=new Map();for(const _0x545468 of _0x20e65c){const _0x420da8=_0x595bed[_0x5f3392(0x1aa)][_0x5f3392(0x139)][_0x5f3392(0x152)](_0x545468);if(!_0x420da8)continue;const _0x585322=_0x420da8[_0x5f3392(0x140)]()[_0x5f3392(0xf8)][0x0];_0x2d9a18[_0x5f3392(0x118)](_0x585322)||_0x2d9a18[_0x5f3392(0x13a)](_0x585322,[]),_0x2d9a18[_0x5f3392(0x152)](_0x585322)[_0x5f3392(0x194)](_0x420da8);}const _0x32741d=new Set();for(const _0x1489c8 of _0x595bed[_0x5f3392(0x1aa)][_0x5f3392(0xf5)][_0x5f3392(0x135)][_0x5f3392(0x18d)]()){let _0x123c32=-0x1,_0x46c81c=null;if(_0x5f3392(0xff)===_0x1489c8[_0x5f3392(0x171)])_0x46c81c=new _0x648aa6(_0x1489c8[_0x5f3392(0xe8)],_0x1489c8[_0x5f3392(0xe8)][_0x5f3392(0x124)](_0x1489c8[_0x5f3392(0x12c)])),_0x123c32=_0x1489c8[_0x5f3392(0xe8)][_0x5f3392(0xf8)][0x0];else{if(_0x5f3392(0x1ad)!==_0x1489c8[_0x5f3392(0x171)])continue;_0x46c81c=new _0x648aa6(_0x1489c8[_0x5f3392(0xe8)]),_0x123c32=_0x1489c8[_0x5f3392(0xe8)][_0x5f3392(0xf8)][0x0];}const _0xf81611=_0x2d9a18[_0x5f3392(0x152)](_0x123c32)||[];if(_0xf81611[_0x5f3392(0x12c)]){for(const _0x52194b of _0xf81611)if(_0x46c81c[_0x5f3392(0x13e)][_0x5f3392(0x107)]===_0x52194b[_0x5f3392(0x11a)]()[_0x5f3392(0x13e)][_0x5f3392(0x107)]&&(_0x5f3392(0xff)!==_0x1489c8[_0x5f3392(0x171)]||!_0x46c81c[_0x5f3392(0x18a)](_0x52194b[_0x5f3392(0x11a)]()))&&(_0x46c81c[_0x5f3392(0x17e)](_0x52194b[_0x5f3392(0x11a)]())||_0x46c81c[_0x5f3392(0x133)][_0x5f3392(0x17c)](_0x52194b[_0x5f3392(0x11a)]()[_0x5f3392(0xd9)])||_0x46c81c[_0x5f3392(0xd9)][_0x5f3392(0x17c)](_0x52194b[_0x5f3392(0x11a)]()[_0x5f3392(0x133)]))){const _0x1e1a80=this[_0x5f3392(0x18f)](_0x52194b[_0x5f3392(0x16b)]);Array[_0x5f3392(0x1b4)](this[_0x5f3392(0x13c)][_0x5f3392(0xf2)]())[_0x5f3392(0x111)](_0x5171db=>_0x5171db[_0x5f3392(0x19d)]===_0x1e1a80[_0x5f3392(0x19d)])[_0x5f3392(0x145)](_0x4c048a=>_0x32741d[_0x5f3392(0x128)](_0x4c048a['id']));}}}if(_0x32741d[_0x5f3392(0x165)]){for(const _0x1bb3d3 of _0x32741d)_0x45d1bd[_0x5f3392(0x16f)](_0x1bb3d3);return!0x0;}return!0x1;}[_0x2280fc(0x130)](_0x57ecb1){const _0xb216a4=_0x2280fc;for(const {name:_0x1b2db8,data:_0x128ad4}of _0x57ecb1[_0xb216a4(0x1aa)][_0xb216a4(0xf5)][_0xb216a4(0x135)][_0xb216a4(0x141)]()){if(!_0x1b2db8[_0xb216a4(0x198)](we))continue;const _0x1ba419=_0x128ad4[_0xb216a4(0x146)],_0x2aeb26=_0x128ad4[_0xb216a4(0x18e)],_0x47efa4=_0x1ba419&&_0xb216a4(0xce)===_0x1ba419[_0xb216a4(0x13e)][_0xb216a4(0x107)],_0x443583=_0x2aeb26&&_0xb216a4(0xce)===_0x2aeb26[_0xb216a4(0x13e)][_0xb216a4(0x107)];if(_0x47efa4&&_0x443583)continue;const _0x286af3=this[_0xb216a4(0x18f)](_0x1b2db8);this[_0xb216a4(0x13c)][_0xb216a4(0x152)](_0x1b2db8)&&(_0x443583||!_0x2aeb26?this[_0xb216a4(0x12b)][_0xb216a4(0x163)](_0xb216a4(0x1b2),{'markerId':_0x1b2db8,'changeId':_0x286af3[_0xb216a4(0x19d)]}):_0x47efa4&&_0x2aeb26&&this[_0xb216a4(0x12b)][_0xb216a4(0x163)](_0xb216a4(0x12f),{'markerId':_0x1b2db8,'changeId':_0x286af3[_0xb216a4(0x19d)]}));}}[_0x2280fc(0x18f)](_0x3f5c3c){const _0x2359cd=_0x2280fc,_0x1cc71c=_0x3f5c3c[_0x2359cd(0x1ac)](':'),_0x20f711=(_0x1cc71c[0x1]||'')[_0x2359cd(0x1ac)]('_');return{'prefix':_0x1cc71c[0x0],'groupId':_0x20f711[0x0],'suffix':_0x20f711[0x1]};}[_0x2280fc(0x12a)](_0x1ca546,_0x214a5c,_0x59ece7){const _0x29181d=_0x2280fc;if(_0x29181d(0xff)===_0x1ca546[_0x29181d(0x171)]){const _0x45194c=_0x1ca546;return new _0x24c24c(this[_0x29181d(0x113)](_0x214a5c[_0x29181d(0xde)](_0x45194c[_0x29181d(0xe8)][_0x29181d(0xe3)]),_0x59ece7),_0x45194c[_0x29181d(0x13f)],_0x45194c[_0x29181d(0x183)]);}if(_0x29181d(0xd2)===_0x1ca546[_0x29181d(0x171)]&&_0x1ca546[_0x29181d(0x16b)][_0x29181d(0x198)](_0x29181d(0x166))){const _0x3b9acd=_0x1ca546;return new _0x2cfe7f(_0x3b9acd[_0x29181d(0x16b)],_0x3b9acd[_0x29181d(0x146)],this[_0x29181d(0x143)](_0x3b9acd[_0x29181d(0x18e)],_0x214a5c[_0x29181d(0xde)](_0x3b9acd[_0x29181d(0x18e)][_0x29181d(0x133)][_0x29181d(0xe3)]),_0x214a5c[_0x29181d(0xde)](_0x3b9acd[_0x29181d(0x18e)][_0x29181d(0xd9)][_0x29181d(0xe3)]),_0x59ece7),_0x3b9acd[_0x29181d(0x13c)],_0x3b9acd[_0x29181d(0x126)],_0x3b9acd[_0x29181d(0x183)]);}return _0x1ca546;}[_0x2280fc(0x15a)](_0x5d61d7){const _0x1ee4cd=_0x2280fc;if(!_0x5d61d7[_0x1ee4cd(0x12c)])return[];const _0x5233d1=[];let _0x504676=0x0,_0x3751b9=0x0,_0x2980a5=[];for(let _0x11919f=0x0;_0x11919f<=_0x5d61d7[_0x1ee4cd(0x12c)];_0x11919f++){const _0x59a08b=_0x5d61d7[_0x11919f],_0x518df4=_0x5d61d7[_0x11919f-0x1];!_0x59a08b||_0x518df4&&!this[_0x1ee4cd(0x15e)](_0x518df4)[_0x1ee4cd(0x17c)](this[_0x1ee4cd(0x10a)](_0x59a08b))?(_0x5233d1[_0x1ee4cd(0x194)]({'operations':_0x2980a5,'operationsIsolated':_0x2980a5[_0x1ee4cd(0x182)](_0x11472e=>this[_0x1ee4cd(0x18b)](_0x11472e[_0x1ee4cd(0x136)](),-_0x3751b9)),'groupOffset':_0x504676}),_0x2980a5=_0x59a08b?[_0x59a08b]:[],_0x3751b9+=_0x504676,_0x504676=0x0):_0x2980a5[_0x1ee4cd(0x194)](_0x59a08b),_0x59a08b&&_0x1ee4cd(0xff)===_0x59a08b[_0x1ee4cd(0x171)]&&(_0x504676+=_0x59a08b[_0x1ee4cd(0x175)]);}return _0x5233d1;}[_0x2280fc(0x10c)](_0x21b6b3,_0x49ae2,_0x260a03,_0xcbcd6c=0x1){const _0x316ebf=_0x2280fc,_0x2e87da=new _0x5e8fa2({'startPosition':_0x21b6b3,'direction':_0x49ae2});let _0x2c589e=0x0;for(let _0x2fd203=0x0;_0x2fd203<_0xcbcd6c;_0x2fd203++){let _0x4100ac=0x0,_0x588354=!0x1,_0x4c278c=_0x316ebf(0x11d)===_0x49ae2?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5e1a24}of _0x2e87da)if(_0x5e1a24['is'](_0x316ebf(0x15c))){const _0x26047c=_0x4c278c[_0x316ebf(0x162)](_0x5e1a24[_0x316ebf(0x150)]);if(_0x26047c&&_0x26047c[_0x316ebf(0x12c)]){if(_0x4100ac+=_0x316ebf(0x11d)===_0x49ae2?_0x26047c[_0x316ebf(0x12e)]+_0x26047c[0x0][_0x316ebf(0x12c)]:_0x5e1a24[_0x316ebf(0x150)][_0x316ebf(0x12c)]-_0x26047c[_0x316ebf(0x12e)],_0x26047c[0x0][_0x316ebf(0x12c)]!==_0x5e1a24[_0x316ebf(0x150)][_0x316ebf(0x12c)])break;_0x588354=!0x0,_0x4c278c=_0x316ebf(0x11d)===_0x49ae2?/^\w+/:/\w+$/;}else{if(_0x588354)break;_0x4100ac+=_0x5e1a24[_0x316ebf(0x1a3)];}}else{if(_0x5e1a24['is'](_0x316ebf(0xdf))){_0x260a03[_0x316ebf(0x121)](_0x5e1a24)&&!_0x588354&&(_0x4100ac+=0x1);break;}}_0x2c589e+=_0x4100ac,_0x2e87da[_0x316ebf(0x1af)](_0x21b6b3[_0x316ebf(0x124)](_0x316ebf(0x11d)===_0x49ae2?_0x2c589e:-_0x2c589e));}return _0x2c589e;}[_0x2280fc(0x16a)](_0x2c5fb3,_0x11f143){const _0x3ad0a0=_0x2280fc,_0x46c107=_0x16f755(this[_0x3ad0a0(0x137)])[_0x3ad0a0(0x1aa)][_0x3ad0a0(0x105)],_0x8bfb43=this[_0x3ad0a0(0x10c)](_0x2c5fb3,_0x3ad0a0(0xe1),_0x46c107,0x6),_0x1c327e=this[_0x3ad0a0(0x10c)](_0x11f143,_0x3ad0a0(0x11d),_0x46c107,0x6),_0x28dfab=_0x2c5fb3[_0x3ad0a0(0x124)](-_0x8bfb43),_0xced9af=_0x11f143[_0x3ad0a0(0x124)](_0x1c327e);return{'start':_0x28dfab,'end':_0xced9af,'hasContentBefore':!_0x28dfab[_0x3ad0a0(0xed)],'hasContentAfter':!_0xced9af[_0x3ad0a0(0x148)]};}[_0x2280fc(0x1b5)](_0x5742e0){const _0x520c7e=_0x2280fc,_0x35ac3f=this[_0x520c7e(0x137)][_0x520c7e(0x191)][_0x520c7e(0x152)](_0x520c7e(0x114)),_0x1f8e3f=new Set();_0x16f755(this[_0x520c7e(0x137)])[_0x520c7e(0x1aa)][_0x520c7e(0xeb)](_0x5c9dee=>{const _0x22754=_0x520c7e;for(const _0xcfa4ed of _0x5742e0){const _0x562cff=''+we+_0xcfa4ed[_0x22754(0x171)]+':'+_0xcfa4ed[_0x22754(0x19d)]+'_'+_0x35ac3f[_0x22754(0x185)](_0x1f8e3f);this[_0x22754(0x13c)][_0x22754(0x13a)](_0x562cff,{'id':_0x562cff,'groupId':_0xcfa4ed[_0x22754(0x19d)],'type':_0xcfa4ed[_0x22754(0x171)],'text':_0xcfa4ed[_0x22754(0x134)]}),_0x5c9dee[_0x22754(0x129)](_0x562cff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5c9dee[_0x22754(0x115)](_0xcfa4ed[_0x22754(0x133)],_0xcfa4ed[_0x22754(0xd9)])});}});}[_0x2280fc(0xf0)](_0x28c5ca,_0x5df29a,_0x27a98a){let _0x429323='';return()=>{const _0x4ddae2=_0x41c5;if(!_0x429323){const _0x467f90=_0x5df29a[_0x4ddae2(0xe5)](_0x28c5ca,{'showSuggestionHighlights':!0x0}),_0x49f232=_0x467f90[_0x4ddae2(0xdc)](0x0);if(!_0x49f232)return'';let _0x2c9c70=!0x1;const _0x2587af=[];for(const _0x2c2faa of _0x49f232[_0x4ddae2(0xf7)]())_0x2c2faa['is'](_0x4ddae2(0xdf),_0x4ddae2(0x17b))&&_0x2c2faa[_0x4ddae2(0xd6)](_0x4ddae2(0x10d))&&(_0x2c9c70=!0x1),_0x2c9c70&&_0x2587af[_0x4ddae2(0x194)](_0x2c2faa),_0x2c2faa['is'](_0x4ddae2(0xdf),_0x4ddae2(0x17b))&&_0x2c2faa[_0x4ddae2(0xd6)](_0x4ddae2(0x14d))&&(_0x2c9c70=!0x0);_0x49f232[_0x4ddae2(0x1a6)](0x0,_0x49f232[_0x4ddae2(0xd0)]),_0x27a98a?.[_0x4ddae2(0x174)]&&_0x49f232[_0x4ddae2(0x19b)]('…'),_0x49f232[_0x4ddae2(0x19b)](_0x2587af),_0x27a98a?.[_0x4ddae2(0x103)]&&_0x49f232[_0x4ddae2(0x19b)]('…');const _0x265490=_0x5df29a[_0x4ddae2(0x157)][_0x4ddae2(0x195)][_0x4ddae2(0x155)](_0x467f90),_0x3ca27d=_0x5df29a[_0x4ddae2(0x157)][_0x4ddae2(0x17d)][_0x4ddae2(0xcd)](_0x265490);_0x429323=_0x3ca27d;}return _0x429323;};}[_0x2280fc(0x10e)](_0xaf4806,_0x36eee7){const _0x3cb436=_0x2280fc;let _0x4ef84e='';return()=>(_0x4ef84e||(_0x4ef84e=_0x36eee7[_0x3cb436(0x112)](_0xaf4806,{'showSuggestionHighlights':!0x0})),_0x4ef84e);}[_0x2280fc(0x176)](_0x21b90e,_0x583067,_0x5b3d2f){let _0x2eea2b='';return()=>{const _0x4e6ab5=_0x41c5;if(!_0x2eea2b){const _0x46bbb1=_0x5b3d2f[_0x4e6ab5(0xe5)](new _0x534e08(_0x21b90e)),_0x176097=_0x5b3d2f[_0x4e6ab5(0x157)][_0x4e6ab5(0x195)][_0x4e6ab5(0x155)](_0x46bbb1)[_0x4e6ab5(0xfc)](_0x4e6ab5(0xdd)+_0x583067+'\x22]');_0x2eea2b=_0x176097?.[_0x4e6ab5(0x177)]||'';}return _0x2eea2b;};}[_0x2280fc(0x160)](_0x404c14,_0x1654ff=0x5){const _0x293aa3=_0x2280fc;let _0x17c6b5=_0x404c14,_0x44561f=null;for(let _0x1d5c7d=0x0;_0x1d5c7d<_0x1654ff&&_0x17c6b5;_0x1d5c7d++){if(!_0x17c6b5[_0x293aa3(0x123)]){_0x17c6b5=_0x17c6b5[_0x293aa3(0x131)];continue;}if(!(''+_0x17c6b5[_0x293aa3(0x123)])[_0x293aa3(0x189)](_0x293aa3(0xe6))){_0x17c6b5=_0x17c6b5[_0x293aa3(0x131)];continue;}if(!_0x17c6b5[_0x293aa3(0x173)](_0x293aa3(0x161)))break;_0x44561f=_0x17c6b5;break;}return _0x44561f;}[_0x2280fc(0xe7)](_0x316464){const _0x2028d1=_0x2280fc;return Array[_0x2028d1(0x1b4)](this[_0x2028d1(0x13c)][_0x2028d1(0xf2)]())[_0x2028d1(0x111)](_0x442441=>_0x442441[_0x2028d1(0x19d)]===_0x316464);}[_0x2280fc(0x10a)](_0x4fb92c){const _0x26c04e=_0x2280fc;return _0x26c04e(0xff)===_0x4fb92c[_0x26c04e(0x171)]?_0x4fb92c[_0x26c04e(0xe8)]:_0x4fb92c[_0x26c04e(0x18e)][_0x26c04e(0x133)];}[_0x2280fc(0x15e)](_0x5451f0,_0x50f448=!0x1){const _0x12e0e8=_0x2280fc;return _0x12e0e8(0xff)===_0x5451f0[_0x12e0e8(0x171)]?_0x50f448?_0x5451f0[_0x12e0e8(0xe8)]:_0x5451f0[_0x12e0e8(0xe8)][_0x12e0e8(0x124)](_0x5451f0[_0x12e0e8(0x175)]):_0x5451f0[_0x12e0e8(0x18e)][_0x12e0e8(0xd9)];}[_0x2280fc(0x18b)](_0x1aeb6d,_0x744cbe){const _0xd126a5=_0x2280fc;return _0xd126a5(0xff)===_0x1aeb6d[_0xd126a5(0x171)]?_0x1aeb6d[_0xd126a5(0xe8)]=_0x1aeb6d[_0xd126a5(0xe8)][_0xd126a5(0x124)](_0x744cbe):_0xd126a5(0xd2)===_0x1aeb6d[_0xd126a5(0x171)]&&_0x1aeb6d[_0xd126a5(0x18e)]&&(_0x1aeb6d[_0xd126a5(0x18e)]=new _0x648aa6(_0x1aeb6d[_0xd126a5(0x18e)][_0xd126a5(0x133)][_0xd126a5(0x124)](_0x744cbe),_0x1aeb6d[_0xd126a5(0x18e)][_0xd126a5(0xd9)][_0xd126a5(0x124)](_0x744cbe))),_0x1aeb6d;}[_0x2280fc(0x1b6)](_0x212300,_0x322b52){const _0x301c20=_0x2280fc;_0x301c20(0xff)===_0x212300[_0x301c20(0x171)]?_0x212300[_0x301c20(0xe8)]=this[_0x301c20(0x1a0)](_0x212300[_0x301c20(0xe8)],_0x322b52):_0x301c20(0xd2)===_0x212300[_0x301c20(0x171)]&&_0x212300[_0x301c20(0x18e)]&&(_0x212300[_0x301c20(0x18e)]=this[_0x301c20(0x188)](_0x212300[_0x301c20(0x18e)],_0x322b52));}[_0x2280fc(0x1a0)](_0x2f6287,_0x590c27){const _0x2995ad=_0x2280fc;return new _0x2d59c5(_0x590c27,_0x2f6287[_0x2995ad(0xf8)]);}[_0x2280fc(0x188)](_0x1249df,_0x295492){const _0x585032=_0x2280fc;return new _0x648aa6(this[_0x585032(0x1a0)](_0x1249df[_0x585032(0x133)],_0x295492),this[_0x585032(0x1a0)](_0x1249df[_0x585032(0xd9)],_0x295492));}[_0x2280fc(0x113)](_0x3d1e5e,_0x245301){return new _0x2d59c5(_0x245301,[..._0x3d1e5e]);}[_0x2280fc(0x143)](_0x40c1de,_0x1bfc97,_0x3a3aae,_0x271f62){const _0x58beea=_0x2280fc;return new _0x648aa6(this[_0x58beea(0x113)](_0x1bfc97,_0x271f62),this[_0x58beea(0x113)](_0x3a3aae,_0x271f62));}[_0x2280fc(0xd7)](_0x588d77){const _0x527019=_0x2280fc,_0x4194f0=_0x4ddb36=>{const _0x334fdf=_0x41c5;switch(_0x4ddb36){case _0x334fdf(0xff):return 0x1;case _0x334fdf(0x138):return 0x2;case _0x334fdf(0x10b):return 0x3;case _0x334fdf(0x13b):return 0x4;}};return _0x588d77[_0x527019(0x104)]((_0x4fba14,_0x2056ac)=>_0x4194f0(_0x4fba14[_0x527019(0x171)])-_0x4194f0(_0x2056ac[_0x527019(0x171)]));}[_0x2280fc(0x15f)](_0x481232,_0xdeff0b){const _0x40b55d=_0x2280fc,_0x3645b4=_0x481232[_0x40b55d(0xdc)](0x0),_0xb6c15a=_0xdeff0b[_0x40b55d(0xdc)](0x0);return!(!_0x3645b4||!_0xb6c15a)&&((!_0x3645b4['is'](_0x40b55d(0xdf))||!_0xb6c15a['is'](_0x40b55d(0xdf))||_0x3645b4[_0x40b55d(0x16b)]===_0xb6c15a[_0x40b55d(0x16b)])&&!(_0x3645b4['is'](_0x40b55d(0xdf))&&!_0xb6c15a['is'](_0x40b55d(0xdf))||!_0x3645b4['is'](_0x40b55d(0xdf))&&_0xb6c15a['is'](_0x40b55d(0xdf))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x18d6(_0x392b43,_0x2f5d59){const _0x5abad0=_0x5aba();return _0x18d6=function(_0x18d654,_0x4002fc){_0x18d654=_0x18d654-0x1ca;let _0x28be6b=_0x5abad0[_0x18d654];return _0x28be6b;},_0x18d6(_0x392b43,_0x2f5d59);}const _0x1a117d=_0x18d6;(function(_0x1eaf4f,_0x587af7){const _0x4a8891=_0x18d6,_0x3b2d98=_0x1eaf4f();while(!![]){try{const _0x44b80c=-parseInt(_0x4a8891(0x1d1))/0x1*(parseInt(_0x4a8891(0x222))/0x2)+-parseInt(_0x4a8891(0x1ca))/0x3*(-parseInt(_0x4a8891(0x1ea))/0x4)+parseInt(_0x4a8891(0x1ef))/0x5*(-parseInt(_0x4a8891(0x1e4))/0x6)+parseInt(_0x4a8891(0x217))/0x7*(parseInt(_0x4a8891(0x210))/0x8)+parseInt(_0x4a8891(0x1f0))/0x9+parseInt(_0x4a8891(0x1e2))/0xa+-parseInt(_0x4a8891(0x21b))/0xb;if(_0x44b80c===_0x587af7)break;else _0x3b2d98['push'](_0x3b2d98['shift']());}catch(_0x6637d6){_0x3b2d98['push'](_0x3b2d98['shift']());}}}(_0x5aba,0x1922a));import{ContextPlugin as _0x607d8a}from'ckeditor5/src/core.js';import{IconAIReview as _0x2e59d7}from'ckeditor5/src/icons.js';import{BodyCollection as _0x15f30c}from'ckeditor5/src/ui.js';import{AITabs as _0x42fe12}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x951473}from'./ui/aireviewmodeview.js';function _0x5aba(){const _0x5d17c7=['getReviewCheckList','AI_REVIEW_MODE','acceptAllChanges','rejected','getResults','1686emSuUo','_reviewModeView','AIReviewModeUI','learnMore','3zQXIIt','showDiffInBalloon','finishReview','view','showReviewCheckList','showBalloon','attachToDom','38YGRMtl','_bodyCollection','setAvailableChecks','hideDiffInBalloon','showChunkErrorView','setItemAsInactive','retryReview','detachFromDom','hideResult','showActionsWhenResultIsReady','setActiveStateInResults','requires','_reviewModeBalloonSuggestionItemView','error-chunk','leaveReviewModeResultList','reviewCheckListView','addTab','929700jfekXc','toggleDiff','12lNAiyQ','deactivateChange','hideBalloon','AITabs','outdated','plugins','380972bKdhEy','isOfficialPlugin','init','showReviewCompletedView','setItemAsActive','351975hIPVaS','1691784CaGXfF','error-general','element','showReviewCheckListView','abortReviewStream','fire','hasChecks','activateChange','leaveReviewMode','find','hideChangeBalloon','pluginName','showChangeBalloon','setTitle','showGeneralErrorView','forEach','showCheckRunResult','reviewCheckResultsView','setChecks','get','status','isPremiumPlugin','runReviewCheck','getChangeElement','resetActiveStateInResults','accepted','setCheckResultTitle','addCheckRunResult','showResult','destroy','showReviewCheckResultsView','locale','408FVhYVq','delegate','hideActionsWhenResultIsReady','showNoChangesView','reviewMode','dismissChange','updateChangeState','4277DIhzUz','context','activateTab','showCheckRunResults','1447292HjJwEe','acceptChange'];_0x5aba=function(){return _0x5d17c7;};return _0x5aba();}import{getTranslation as _0x3ef25d}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x390370}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x1a117d(0x21d),_0x1a117d(0x206),_0x1a117d(0x1f4),_0x1a117d(0x1e3),_0x1a117d(0x21f),_0x1a117d(0x1df),_0x1a117d(0x1f7),_0x1a117d(0x21c),_0x1a117d(0x215),_0x1a117d(0x225),_0x1a117d(0x1cc),_0x1a117d(0x1d7)];export class AIReviewModeUI extends _0x607d8a{[_0x1a117d(0x223)];[_0x1a117d(0x1dd)];[_0x1a117d(0x1d2)];static get[_0x1a117d(0x1dc)](){return[_0x42fe12];}static get[_0x1a117d(0x1fb)](){const _0x456aca=_0x1a117d;return _0x456aca(0x224);}static get[_0x1a117d(0x1eb)](){return!0x0;}static get[_0x1a117d(0x205)](){return!0x0;}constructor(_0x41d29f){const _0x381bc8=_0x1a117d;super(_0x41d29f),this[_0x381bc8(0x1d2)]=new _0x15f30c(this[_0x381bc8(0x218)][_0x381bc8(0x20f)]),this[_0x381bc8(0x1d2)][_0x381bc8(0x1d0)](),this[_0x381bc8(0x223)]=new _0x951473(this[_0x381bc8(0x218)][_0x381bc8(0x20f)]),this[_0x381bc8(0x223)][_0x381bc8(0x211)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x381bc8(0x1dd)]=new _0x390370(this[_0x381bc8(0x218)][_0x381bc8(0x20f)],this[_0x381bc8(0x1d2)]),this[_0x381bc8(0x1dd)][_0x381bc8(0x211)](_0x381bc8(0x21c),_0x381bc8(0x215),_0x381bc8(0x1e5))['to'](this);}[_0x1a117d(0x1ec)](){const _0x2b3e39=_0x1a117d,_0x423c3=this[_0x2b3e39(0x218)][_0x2b3e39(0x1e9)][_0x2b3e39(0x203)](_0x2b3e39(0x1e7));_0x423c3[_0x2b3e39(0x1cd)]['on'](_0x2b3e39(0x219),(_0x14de8a,_0x48a7b7)=>{const _0x19270b=_0x2b3e39;_0x19270b(0x214)===_0x48a7b7?this[_0x19270b(0x1f5)](_0x19270b(0x21d)):this[_0x19270b(0x1f5)](_0x19270b(0x1f8));}),_0x423c3[_0x2b3e39(0x1cd)][_0x2b3e39(0x1e1)]({'id':_0x2b3e39(0x214),'buttonLabel':_0x3ef25d(this[_0x2b3e39(0x218)][_0x2b3e39(0x20f)],_0x2b3e39(0x21e)),'buttonIcon':_0x2e59d7,'order':0x0,'content':this[_0x2b3e39(0x223)]});}[_0x1a117d(0x20d)](){const _0x36575d=_0x1a117d;this[_0x36575d(0x1d2)][_0x36575d(0x1d8)](),super[_0x36575d(0x20d)]();}[_0x1a117d(0x1d3)](_0x3a67fc){const _0x26596c=_0x1a117d;this[_0x26596c(0x223)][_0x26596c(0x1e0)][_0x26596c(0x1f6)]()||this[_0x26596c(0x223)][_0x26596c(0x1e0)][_0x26596c(0x202)](_0x3a67fc),this[_0x26596c(0x223)][_0x26596c(0x1f3)]();}[_0x1a117d(0x1ce)](){const _0x4601aa=_0x1a117d;this[_0x4601aa(0x1f5)](_0x4601aa(0x21d));}[_0x1a117d(0x21a)](_0x1cae11){const _0x453456=_0x1a117d;_0x1cae11&&(_0x453456(0x1f1)!==_0x1cae11[_0x453456(0x204)]?_0x453456(0x1de)!==_0x1cae11[_0x453456(0x204)]?this[_0x453456(0x223)][_0x453456(0x20e)]():this[_0x453456(0x1d5)]():this[_0x453456(0x1fe)]());}[_0x1a117d(0x200)](_0x5849f2){const _0x17026a=_0x1a117d;this[_0x17026a(0x223)][_0x17026a(0x20b)](_0x5849f2);}[_0x1a117d(0x1fe)](){const _0x282023=_0x1a117d;this[_0x282023(0x223)][_0x282023(0x1fe)]();}[_0x1a117d(0x1d5)](){const _0x3ff773=_0x1a117d;this[_0x3ff773(0x223)][_0x3ff773(0x1d5)]();}[_0x1a117d(0x20a)](_0x2cf1f0,_0xf76dd3){const _0x232dc6=_0x1a117d;this[_0x232dc6(0x223)][_0x232dc6(0x201)][_0x232dc6(0x1fd)](_0x2cf1f0,_0xf76dd3);}[_0x1a117d(0x1db)](_0x13175a){const _0x613045=_0x1a117d;this[_0x613045(0x223)][_0x613045(0x201)][_0x613045(0x221)]()[_0x613045(0x1ff)](_0x5a85d5=>{const _0x50f373=_0x613045;_0x5a85d5['id']===_0x13175a&&_0x5a85d5[_0x50f373(0x1ee)]();});}[_0x1a117d(0x208)](){const _0x1011ca=_0x1a117d;this[_0x1011ca(0x223)][_0x1011ca(0x201)][_0x1011ca(0x221)]()[_0x1011ca(0x1ff)](_0x2338ee=>_0x2338ee[_0x1011ca(0x1d6)]());}[_0x1a117d(0x216)](_0x1e2594,_0x1bcabb){const _0x5cfceb=_0x1a117d;_0x5cfceb(0x209)===_0x1bcabb||_0x5cfceb(0x220)===_0x1bcabb||_0x5cfceb(0x1e8)===_0x1bcabb?this[_0x5cfceb(0x223)][_0x5cfceb(0x201)][_0x5cfceb(0x1d9)](_0x1e2594,_0x1bcabb):this[_0x5cfceb(0x223)][_0x5cfceb(0x201)][_0x5cfceb(0x20c)](_0x1e2594,_0x1bcabb);}[_0x1a117d(0x1ed)](){const _0xc9bdd7=_0x1a117d;this[_0xc9bdd7(0x223)][_0xc9bdd7(0x1ed)]();}[_0x1a117d(0x1da)](){const _0x43875d=_0x1a117d;this[_0x43875d(0x223)][_0x43875d(0x1da)]();}[_0x1a117d(0x213)](){const _0x540fbd=_0x1a117d;this[_0x540fbd(0x223)][_0x540fbd(0x213)]();}[_0x1a117d(0x212)](){const _0x308232=_0x1a117d;this[_0x308232(0x223)][_0x308232(0x212)]();}[_0x1a117d(0x1fc)](_0x43fa76,_0x524b00){const _0x2fb7a7=_0x1a117d;this[_0x2fb7a7(0x1dd)][_0x2fb7a7(0x1cf)](_0x43fa76,_0x524b00);}[_0x1a117d(0x1fa)](){const _0x3a5856=_0x1a117d;this[_0x3a5856(0x1dd)][_0x3a5856(0x1e6)]();}[_0x1a117d(0x1d4)](){const _0x1628ed=_0x1a117d;this[_0x1628ed(0x1dd)][_0x1628ed(0x1d4)]();}[_0x1a117d(0x1cb)](){const _0x107106=_0x1a117d;this[_0x107106(0x1dd)][_0x107106(0x1cb)]();}[_0x1a117d(0x207)](_0xcf81c5){const _0x2c7ab9=_0x1a117d,_0x5e8a6f=this[_0x2c7ab9(0x223)][_0x2c7ab9(0x201)][_0x2c7ab9(0x221)]()[_0x2c7ab9(0x1f9)](_0x199574=>_0x199574['id']===_0xcf81c5);return _0x5e8a6f?_0x5e8a6f[_0x2c7ab9(0x1f2)]:null;}[_0x1a117d(0x1e5)](){const _0x108499=_0x1a117d;this[_0x108499(0x1dd)][_0x108499(0x1e5)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x42c5(){var _0x35083a=['9kbWiVZ','title','isParameterized','3fLYQSp','20JGCQkT','30383LZdoAi','175FkVbZd','options','77586YBLJTf','199730fyVxQb','20INKXmB','2704031KQNxFK','description','useArgs','325652OLUwvm','11223792zUpHlg','4186888mAntne'];_0x42c5=function(){return _0x35083a;};return _0x42c5();}var _0x508117=_0x599f;function _0x599f(_0x17cf82,_0x3f2e21){var _0x42c535=_0x42c5();return _0x599f=function(_0x599fe9,_0x33f9a6){_0x599fe9=_0x599fe9-0x100;var _0x15a27b=_0x42c535[_0x599fe9];return _0x15a27b;},_0x599f(_0x17cf82,_0x3f2e21);}(function(_0x5434d6,_0x3da037){var _0x285d9e=_0x599f,_0x3eb034=_0x5434d6();while(!![]){try{var _0x2e4531=-parseInt(_0x285d9e(0x107))/0x1+parseInt(_0x285d9e(0x10b))/0x2*(parseInt(_0x285d9e(0x105))/0x3)+-parseInt(_0x285d9e(0x110))/0x4*(parseInt(_0x285d9e(0x106))/0x5)+-parseInt(_0x285d9e(0x10a))/0x6*(parseInt(_0x285d9e(0x108))/0x7)+-parseInt(_0x285d9e(0x101))/0x8*(parseInt(_0x285d9e(0x102))/0x9)+parseInt(_0x285d9e(0x10c))/0xa*(parseInt(_0x285d9e(0x10d))/0xb)+parseInt(_0x285d9e(0x100))/0xc;if(_0x2e4531===_0x3da037)break;else _0x3eb034['push'](_0x3eb034['shift']());}catch(_0x2f57e1){_0x3eb034['push'](_0x3eb034['shift']());}}}(_0x42c5,0x4f238));export class AIReviewCheck{['id'];[_0x508117(0x103)];[_0x508117(0x10e)];[_0x508117(0x104)];[_0x508117(0x10f)];[_0x508117(0x109)];constructor({id:_0x39fe33,title:_0x5315d8,description:_0x3f12b5,isParameterized:_0x5a0338,useArgs:_0x289b5e,options:_0x59335b}){var _0x2b7d65=_0x508117;this['id']=_0x39fe33,this[_0x2b7d65(0x103)]=_0x5315d8,this[_0x2b7d65(0x10e)]=_0x3f12b5,this[_0x2b7d65(0x104)]=_0x5a0338,this[_0x2b7d65(0x10f)]=_0x289b5e,this[_0x2b7d65(0x109)]=_0x59335b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x56ee93=_0xd690;(function(_0x1bb82f,_0x38e8ca){var _0x5c4e8d=_0xd690,_0x4bb7e3=_0x1bb82f();while(!![]){try{var _0x59195a=parseInt(_0x5c4e8d(0x8a))/0x1*(-parseInt(_0x5c4e8d(0x8f))/0x2)+-parseInt(_0x5c4e8d(0x90))/0x3+-parseInt(_0x5c4e8d(0x88))/0x4*(parseInt(_0x5c4e8d(0x91))/0x5)+-parseInt(_0x5c4e8d(0x8d))/0x6*(parseInt(_0x5c4e8d(0x8e))/0x7)+parseInt(_0x5c4e8d(0x87))/0x8+parseInt(_0x5c4e8d(0x89))/0x9*(-parseInt(_0x5c4e8d(0x8c))/0xa)+parseInt(_0x5c4e8d(0x93))/0xb;if(_0x59195a===_0x38e8ca)break;else _0x4bb7e3['push'](_0x4bb7e3['shift']());}catch(_0x2e8dc5){_0x4bb7e3['push'](_0x4bb7e3['shift']());}}}(_0x4115,0x6775c));import{AIReviewCheck as _0x16141e}from'./aireviewcheck.js';function _0xd690(_0x19fcc1,_0x569422){var _0x41159b=_0x4115();return _0xd690=function(_0xd690cb,_0x42919d){_0xd690cb=_0xd690cb-0x87;var _0x4570b1=_0x41159b[_0xd690cb];return _0x4570b1;},_0xd690(_0x19fcc1,_0x569422);}export class AIReviewCheckCustom extends _0x16141e{[_0x56ee93(0x92)]=[];get[_0x56ee93(0x8b)](){var _0x4d104b=_0x56ee93;return this[_0x4d104b(0x92)];}set[_0x56ee93(0x8b)](_0x3a211e){var _0x49c4da=_0x56ee93;this[_0x49c4da(0x92)]=_0x3a211e;}}function _0x4115(){var _0x31bf2f=['250dNhTZs','17322yiWkjm','1519NkwycQ','411418PWSGRM','644358IOEYms','1887685eDHFwD','_models','28888343SeHsHZ','4155672oqRGWs','8BqjxeU','108981VMwvqh','4sBziBN','models'];_0x4115=function(){return _0x31bf2f;};return _0x4115();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1b3b36=_0x40cd;(function(_0x3df22d,_0x1e7eef){var _0x127116=_0x40cd,_0x5615a7=_0x3df22d();while(!![]){try{var _0x303d47=parseInt(_0x127116(0xb0))/0x1*(parseInt(_0x127116(0xb6))/0x2)+parseInt(_0x127116(0xb2))/0x3+-parseInt(_0x127116(0xb5))/0x4*(-parseInt(_0x127116(0xc0))/0x5)+-parseInt(_0x127116(0xb9))/0x6+-parseInt(_0x127116(0xb4))/0x7+-parseInt(_0x127116(0xb3))/0x8*(-parseInt(_0x127116(0xbf))/0x9)+-parseInt(_0x127116(0xbb))/0xa;if(_0x303d47===_0x1e7eef)break;else _0x5615a7['push'](_0x5615a7['shift']());}catch(_0x2784df){_0x5615a7['push'](_0x5615a7['shift']());}}}(_0x3e1f,0x93654));function _0x40cd(_0x2a81ce,_0xf02fa5){var _0x3e1fe8=_0x3e1f();return _0x40cd=function(_0x40cd8b,_0x2a4367){_0x40cd8b=_0x40cd8b-0xb0;var _0x362b75=_0x3e1fe8[_0x40cd8b];return _0x362b75;},_0x40cd(_0x2a81ce,_0xf02fa5);}import{ObservableMixin as _0x5d175d}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x5c9121}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x214852}from'./aireviewcheckcustom.js';function _0x3e1f(){var _0x318cc1=['167hxcCDe','custom','654882sYocmO','8GTxakg','8245314nnudEM','628RDxDzQ','8448UbiERa','getCheckById','_mapCheckDefinitions','787146GMlmaE','map','8172160gFQPFs','find','_checks','checks','9180747QQdmah','25040SileGA'];_0x3e1f=function(){return _0x318cc1;};return _0x3e1f();}export class AIReviewCheckList extends _0x5d175d(){[_0x1b3b36(0xbd)];constructor(_0x444776){var _0x52260a=_0x1b3b36;super(),this[_0x52260a(0xbd)]=this[_0x52260a(0xb8)](_0x444776);}get[_0x1b3b36(0xbe)](){var _0x48f1cb=_0x1b3b36;return this[_0x48f1cb(0xbd)];}[_0x1b3b36(0xb7)](_0x58885f){var _0x467597=_0x1b3b36;return this[_0x467597(0xbe)][_0x467597(0xbc)](_0x7f77fb=>_0x7f77fb['id']===_0x58885f);}[_0x1b3b36(0xb8)](_0x228572){var _0x18713f=_0x1b3b36;return _0x228572[_0x18713f(0xba)](_0x2df12b=>_0x18713f(0xb1)===_0x2df12b['id']?new _0x214852(_0x2df12b):new _0x5c9121(_0x2df12b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x295c25=_0x440b;function _0x440b(_0x43120c,_0x4b0259){var _0x40a71c=_0x40a7();return _0x440b=function(_0x440b31,_0x3d6d36){_0x440b31=_0x440b31-0x150;var _0x56a2d8=_0x40a71c[_0x440b31];return _0x56a2d8;},_0x440b(_0x43120c,_0x4b0259);}(function(_0x53023f,_0x4fb413){var _0x2179b0=_0x440b,_0x2eeb88=_0x53023f();while(!![]){try{var _0x4cdaff=parseInt(_0x2179b0(0x150))/0x1*(-parseInt(_0x2179b0(0x156))/0x2)+parseInt(_0x2179b0(0x15d))/0x3*(-parseInt(_0x2179b0(0x157))/0x4)+-parseInt(_0x2179b0(0x15c))/0x5*(-parseInt(_0x2179b0(0x15e))/0x6)+-parseInt(_0x2179b0(0x153))/0x7*(-parseInt(_0x2179b0(0x151))/0x8)+parseInt(_0x2179b0(0x15b))/0x9+-parseInt(_0x2179b0(0x15a))/0xa*(parseInt(_0x2179b0(0x152))/0xb)+-parseInt(_0x2179b0(0x158))/0xc;if(_0x4cdaff===_0x4fb413)break;else _0x2eeb88['push'](_0x2eeb88['shift']());}catch(_0x842fba){_0x2eeb88['push'](_0x2eeb88['shift']());}}}(_0x40a7,0x9e1dc));function _0x40a7(){var _0x191c5a=['341142CIXhyi','606hXCUCz','551ZCoFTy','101856HvFiCF','26103bowSSF','623drjtvq','contentNew','documentVersion','1542OIEUUo','8fnpaAr','15455076jftqoJ','contentInitial','20GuxSvZ','6087249OqVPpf','38765avcBZj'];_0x40a7=function(){return _0x191c5a;};return _0x40a7();}import{EmitterMixin as _0x4ed2c8}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4ed2c8(){['id'];[_0x295c25(0x154)];[_0x295c25(0x159)];[_0x295c25(0x155)];constructor({id:_0x4e864b,contentNew:_0x13102e,contentInitial:_0x496406,documentVersion:_0x229987}){var _0x3a9a0d=_0x295c25;super(),this['id']=_0x4e864b,this[_0x3a9a0d(0x154)]=_0x13102e,this[_0x3a9a0d(0x159)]=_0x496406,this[_0x3a9a0d(0x155)]=_0x229987;}}
|