@ckeditor/ckeditor5-ai 47.2.0-alpha.5 → 47.2.0-alpha.7
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.d.ts +10 -2
- 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
|
+
const _0x1ac8eb=_0x5af6;function _0x5af6(_0x5b1501,_0x5e19c6){const _0x5d6359=_0x5d63();return _0x5af6=function(_0x5af6f6,_0x2a633c){_0x5af6f6=_0x5af6f6-0xa2;let _0x1791a4=_0x5d6359[_0x5af6f6];return _0x1791a4;},_0x5af6(_0x5b1501,_0x5e19c6);}(function(_0x5a56d7,_0x3bf84d){const _0x5c4c62=_0x5af6,_0x391106=_0x5a56d7();while(!![]){try{const _0x47486d=-parseInt(_0x5c4c62(0xcf))/0x1+-parseInt(_0x5c4c62(0xe4))/0x2*(-parseInt(_0x5c4c62(0xe8))/0x3)+parseInt(_0x5c4c62(0xcb))/0x4+parseInt(_0x5c4c62(0xe3))/0x5*(-parseInt(_0x5c4c62(0xc8))/0x6)+-parseInt(_0x5c4c62(0xee))/0x7+parseInt(_0x5c4c62(0xdd))/0x8*(-parseInt(_0x5c4c62(0xa3))/0x9)+parseInt(_0x5c4c62(0xd1))/0xa;if(_0x47486d===_0x3bf84d)break;else _0x391106['push'](_0x391106['shift']());}catch(_0x2a2cbc){_0x391106['push'](_0x391106['shift']());}}}(_0x5d63,0xab9a3));import{View as _0x51fdb5,ListItemView as _0x97605e,ListView as _0x4a3df5,BalloonPanelView as _0x4da132,DropdownMenuPanelPositioningFunctions as _0x55b87e,DropdownMenuButtonView as _0xb4aa7,ViewCollection as _0x388d31,FocusCycler as _0x478675}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2b11b8}from'@ckeditor/ckeditor5-icons';function _0x5d63(){const _0x520561=['_showNestedPanel','_openNestedPanels','ck-ai-quick-actions-group-button','_hideAllNestedPanels','ck-ai-quick-actions','content','178554cewqsz','addMany','ck-ai-quick-actions-group-list','358532zgNJOK','menuitem','closest','locale','813782abazIZ','.ck-ai-quick-actions-group-panel','33045350lnbZIS','key','items','extendTemplate','optionsListView','_createActionButton','focus','set','ck-ai-quick-actions-group-panel','keystrokes','.ck-ai-quick-actions-group-button','_focusables','6118808SsZSwz','eastSouth','focusTracker','_createActionGroupButton','pin','menu','95Cqgqmj','4TfDEub','destroy','icon','uiLanguageDirection','317907CmWwmR','.ck-ai-quick-actions-group-list','detachFromDom','bindTemplate','isVisible','rtl','5314183yLNnPb','isOn','_createGroupActionsList','delete','contains','9CXiTXc','children','role','ArrowRight','focusCycler','show','render','relatedTarget','ck-dropdown-menu-list','label','mouseleave','addEventListener','_createListItems','forEach','ArrowLeft','actions','add','setTemplate','_isMovingToNestedMenu','clear','get','_bodyCollection','_hideNestedPanel','element','ck-rounded-corners','ck-reset_all','bind','_setupGroupMenuBehavior','ck-dropdown-menu__nested-menu__panel','div','hide'];_0x5d63=function(){return _0x520561;};return _0x5d63();}import{FocusTracker as _0x3ba970,KeystrokeHandler as _0x4622dc}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0xcc5fcc}from'./aiquickactionsbuttoncreator.js';const Ls=_0x1ac8eb(0xe2),Ns=_0x1ac8eb(0xcc);export class AIQuickActionsDropdownContentView extends _0x51fdb5{[_0x1ac8eb(0xb8)];[_0x1ac8eb(0xd5)];[_0x1ac8eb(0xdf)];[_0x1ac8eb(0xda)];[_0x1ac8eb(0xdc)];[_0x1ac8eb(0xa7)];[_0x1ac8eb(0xc3)]=new Set();constructor(_0x197e58,_0x15ba2c,_0x2a0726,_0x1e78b8){const _0x331472=_0x1ac8eb,_0x5b9b57=_0x197e58[_0x331472(0xce)];super(_0x5b9b57),this[_0x331472(0xb8)]=_0x1e78b8;const _0x49d428=this[_0x331472(0xaf)](_0x197e58,_0x15ba2c,_0x2a0726);this[_0x331472(0xd5)]=new _0x4a3df5(_0x5b9b57),this[_0x331472(0xd5)][_0x331472(0xa5)]=Ls,this[_0x331472(0xd5)][_0x331472(0xd3)][_0x331472(0xc9)](_0x49d428),this[_0x331472(0xdf)]=new _0x3ba970(),this[_0x331472(0xda)]=new _0x4622dc(),this[_0x331472(0xdc)]=_0x49d428,this[_0x331472(0xa7)]=new _0x478675({'focusables':this[_0x331472(0xdc)],'focusTracker':this[_0x331472(0xdf)],'keystrokeHandler':this[_0x331472(0xda)]}),this[_0x331472(0xb4)]({'tag':_0x331472(0xc0),'attributes':{'class':['ck',_0x331472(0xbc),_0x331472(0xc6),_0x331472(0xbb)],'dir':_0x5b9b57[_0x331472(0xe7)]},'children':[this[_0x331472(0xd5)]]});}[_0x1ac8eb(0xaf)](_0x3fc4d9,_0x16e338,_0x3f714){const _0x168248=_0x1ac8eb,_0x3819d5=new _0x388d31();return _0x16e338[_0x168248(0xb0)](_0x473a32=>{const _0x37cf86=_0x168248;_0x37cf86(0xb2)in _0x473a32?_0x3819d5[_0x37cf86(0xb3)](this[_0x37cf86(0xe0)](_0x3fc4d9,_0x473a32,_0x3f714)):_0x3819d5[_0x37cf86(0xb3)](this[_0x37cf86(0xd6)](_0x3fc4d9,_0x473a32));}),_0x3819d5;}[_0x1ac8eb(0xd6)](_0x286ba8,_0x26d3ba){const _0x42bbfe=_0x1ac8eb,_0x273606=new _0x97605e(this[_0x42bbfe(0xce)]),_0x5bd840=_0xcc5fcc(_0x286ba8,_0x26d3ba,!0x0,void 0x0!==_0x26d3ba[_0x42bbfe(0xe6)])();return _0x273606[_0x42bbfe(0xa4)][_0x42bbfe(0xb3)](_0x5bd840),_0x273606;}[_0x1ac8eb(0xe0)](_0x4cd8ed,_0x4b6ec2,_0x4fb812){const _0x87c725=_0x1ac8eb,_0x1772dd=new _0x97605e(this[_0x87c725(0xce)]),_0x403b9b=new _0xb4aa7(this[_0x87c725(0xce)]),_0xb6499a=_0x403b9b[_0x87c725(0xeb)],_0x59f1ac=_0x87c725(0xed)===_0x4fb812[_0x87c725(0xce)][_0x87c725(0xe7)]?_0x87c725(0xa6):_0x87c725(0xb1),_0x25f33e=this[_0x87c725(0xf0)](_0x4cd8ed,_0x4b6ec2[_0x87c725(0xb2)],_0x4fb812);_0x403b9b[_0x87c725(0xd8)]({'label':_0x4b6ec2[_0x87c725(0xac)],'withText':!0x0,'role':Ns,'icon':_0x4b6ec2[_0x87c725(0xe6)]??_0x2b11b8}),_0x403b9b[_0x87c725(0xd4)]({'on':{'mouseenter':_0xb6499a['to'](()=>{const _0x21285c=_0x87c725;_0x403b9b[_0x21285c(0xd7)]();})}});const _0x5035a0=new _0x4da132(this[_0x87c725(0xce)]);return _0x5035a0[_0x87c725(0xd4)]({'attributes':{'class':['ck',_0x87c725(0xbc),_0x87c725(0xd9),_0x87c725(0xbf)]},'on':{'keydown':_0xb6499a['to'](_0x1807ef=>{const _0x3031a9=_0x87c725;_0x1807ef[_0x3031a9(0xd2)]==_0x59f1ac&&(_0x403b9b[_0x3031a9(0xd7)](),this[_0x3031a9(0xb9)](_0x5035a0));})}}),_0x403b9b[_0x87c725(0xbd)](_0x87c725(0xef))['to'](_0x5035a0,_0x87c725(0xec)),this[_0x87c725(0xb8)][_0x87c725(0xb3)](_0x5035a0),_0x5035a0[_0x87c725(0xc7)][_0x87c725(0xb3)](_0x25f33e),this[_0x87c725(0xbe)](_0x403b9b,_0x5035a0),_0x1772dd[_0x87c725(0xa4)][_0x87c725(0xb3)](_0x403b9b),_0x1772dd;}[_0x1ac8eb(0xf0)](_0x49f610,_0x230ca5,_0x3e0284){const _0x3624b9=_0x1ac8eb,_0x5d47d7=new _0x4a3df5(this[_0x3624b9(0xce)]);return _0x5d47d7[_0x3624b9(0xd4)]({'attributes':{'class':['ck',_0x3624b9(0xbc),_0x3624b9(0xca),_0x3624b9(0xab)]}}),_0x230ca5[_0x3624b9(0xb0)](_0x544a6=>{const _0x3cbbde=_0x3624b9,_0x1e61c8=new _0x97605e(this[_0x3cbbde(0xce)]),_0x5cc9ee=_0xcc5fcc(_0x49f610,_0x544a6,!0x0,!0x1)();_0x1e61c8[_0x3cbbde(0xa4)][_0x3cbbde(0xb3)](_0x5cc9ee),_0x3e0284[_0x3cbbde(0xdf)][_0x3cbbde(0xb3)](_0x5cc9ee),_0x5d47d7[_0x3cbbde(0xd3)][_0x3cbbde(0xb3)](_0x1e61c8);}),_0x5d47d7;}[_0x1ac8eb(0xbe)](_0x5319bd,_0x453625){const _0x19dc2c=_0x1ac8eb,_0x380a63=_0x5319bd[_0x19dc2c(0xeb)],_0x3edef5=_0x19dc2c(0xed)===_0x5319bd[_0x19dc2c(0xce)][_0x19dc2c(0xe7)]?_0x19dc2c(0xb1):_0x19dc2c(0xa6);_0x5319bd[_0x19dc2c(0xd4)]({'attributes':{'class':[_0x19dc2c(0xc4)]},'on':{'mouseenter':_0x380a63['to'](()=>{const _0x22a127=_0x19dc2c;this[_0x22a127(0xc2)](_0x453625,_0x5319bd);}),'mouseleave':_0x380a63['to'](_0x11a80e=>{const _0x1e795a=_0x19dc2c,_0x259b26=_0x11a80e[_0x1e795a(0xaa)];this[_0x1e795a(0xb5)](_0x259b26,_0x453625)||this[_0x1e795a(0xb9)](_0x453625);}),'keydown':_0x380a63['to'](_0x2966ab=>{const _0x213de5=_0x19dc2c;_0x2966ab[_0x213de5(0xd2)]==_0x3edef5&&(this[_0x213de5(0xc2)](_0x453625,_0x5319bd),_0x453625[_0x213de5(0xc7)][_0x213de5(0xb7)](0x0)[_0x213de5(0xd7)]());})}}),_0x453625['on'](_0x19dc2c(0xa9),()=>{const _0x9815e4=_0x19dc2c;_0x453625[_0x9815e4(0xba)]?.[_0x9815e4(0xae)](_0x9815e4(0xad),_0x24e72d=>{const _0x35285d=_0x9815e4,_0x476f2a=_0x24e72d[_0x35285d(0xaa)];_0x5319bd[_0x35285d(0xba)]?.[_0x35285d(0xa2)](_0x476f2a)||this[_0x35285d(0xb5)](_0x476f2a,_0x453625)||this[_0x35285d(0xb9)](_0x453625);});});}[_0x1ac8eb(0xc2)](_0x4e64fc,_0x511596){const _0x183bd5=_0x1ac8eb;this[_0x183bd5(0xc3)][_0x183bd5(0xb0)](_0x4eebce=>{const _0x54afd5=_0x183bd5;_0x4eebce!==_0x4e64fc&&_0x4eebce[_0x54afd5(0xec)]&&_0x4eebce[_0x54afd5(0xc1)]();}),_0x4e64fc[_0x183bd5(0xa8)](),_0x4e64fc[_0x183bd5(0xe1)]({'positions':[_0x55b87e[_0x183bd5(0xde)]],'target':_0x511596[_0x183bd5(0xba)],'fitInViewport':!0x0}),this[_0x183bd5(0xc3)][_0x183bd5(0xb3)](_0x4e64fc);}[_0x1ac8eb(0xb9)](_0x348f41){const _0x2e1ffd=_0x1ac8eb;_0x348f41[_0x2e1ffd(0xc1)](),this[_0x2e1ffd(0xc3)][_0x2e1ffd(0xf1)](_0x348f41);}[_0x1ac8eb(0xc5)](){const _0x1774f8=_0x1ac8eb;this[_0x1774f8(0xc3)][_0x1774f8(0xb0)](_0x47917f=>_0x47917f[_0x1774f8(0xc1)]()),this[_0x1774f8(0xc3)][_0x1774f8(0xb6)]();}[_0x1ac8eb(0xb5)](_0x1391e,_0x34d173){const _0x475623=_0x1ac8eb;if(!_0x1391e)return!0x1;if(_0x34d173[_0x475623(0xba)]?.[_0x475623(0xa2)](_0x1391e))return!0x0;const _0x50d3a9=_0x1391e;return _0x50d3a9[_0x475623(0xcd)]&&(null!==_0x50d3a9[_0x475623(0xcd)](_0x475623(0xd0))||null!==_0x50d3a9[_0x475623(0xcd)](_0x475623(0xe9))||null!==_0x50d3a9[_0x475623(0xcd)](_0x475623(0xdb)));}[_0x1ac8eb(0xe5)](){const _0x4e60ac=_0x1ac8eb;this[_0x4e60ac(0xc5)](),this[_0x4e60ac(0xb8)][_0x4e60ac(0xea)](),super[_0x4e60ac(0xe5)]();}[_0x1ac8eb(0xd7)](){const _0x1db4c2=_0x1ac8eb;this[_0x1db4c2(0xd5)][_0x1db4c2(0xd7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x440aeb,_0x79d4ee){const _0x3f7e07=_0x2afe,_0xff7349=_0x440aeb();while(!![]){try{const _0x270475=parseInt(_0x3f7e07(0x6d))/0x1+-parseInt(_0x3f7e07(0x79))/0x2*(parseInt(_0x3f7e07(0x7e))/0x3)+-parseInt(_0x3f7e07(0x76))/0x4+parseInt(_0x3f7e07(0x77))/0x5+parseInt(_0x3f7e07(0x6f))/0x6*(parseInt(_0x3f7e07(0x7f))/0x7)+parseInt(_0x3f7e07(0x71))/0x8+parseInt(_0x3f7e07(0x78))/0x9*(-parseInt(_0x3f7e07(0x75))/0xa);if(_0x270475===_0x79d4ee)break;else _0xff7349['push'](_0xff7349['shift']());}catch(_0x475b01){_0xff7349['push'](_0xff7349['shift']());}}}(_0x2953,0x47a65));import{createDropdown as _0x3a2457}from'ckeditor5/src/ui.js';function _0x2953(){const _0x186c4a=['347339vEdyJS','label','2005446xJCHyH','children','15192DouxtD','panelView','set','add','20ZtfhbB','1799208sXiDYm','2860615iFOhQR','705141DZGdbm','2fyTtJf','ck-ai-quick-actions-dropdown','locale','icon','buttonView','1066875vGKCPX','7DQHEfF'];_0x2953=function(){return _0x186c4a;};return _0x2953();}import{IconAIQuickActions as _0x309658}from'@ckeditor/ckeditor5-icons';function _0x2afe(_0x3ca673,_0x5c1a33){const _0x2953fd=_0x2953();return _0x2afe=function(_0x2afee0,_0x13ce3b){_0x2afee0=_0x2afee0-0x6d;let _0xdc9cc6=_0x2953fd[_0x2afee0];return _0xdc9cc6;},_0x2afe(_0x3ca673,_0x5c1a33);}import{AIQuickActionsDropdownContentView as _0x1b6cc6}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x132f47,_0x4ebb78,_0x51372c,_0x52c954){return()=>{const _0x280fe3=_0x2afe,_0x49e23c=_0x132f47[_0x280fe3(0x7b)],_0x18f575=_0x3a2457(_0x49e23c);_0x18f575[_0x280fe3(0x7d)][_0x280fe3(0x73)]({'icon':_0x51372c[_0x280fe3(0x7c)]??_0x309658,'label':_0x51372c[_0x280fe3(0x6e)],'tooltip':!0x0}),_0x18f575[_0x280fe3(0x73)]({'class':_0x280fe3(0x7a)});const _0x4d011c=new _0x1b6cc6(_0x132f47,_0x4ebb78,_0x18f575,_0x52c954);return _0x18f575[_0x280fe3(0x72)][_0x280fe3(0x70)][_0x280fe3(0x74)](_0x4d011c),_0x18f575;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x20b4(){const _0x10ac90=['Translate','Friendly','2721970qMLNbi','russian','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','korean','Translate\x20the\x20text\x20into\x20another\x20language.','longer','Correctness','Italian','make','2069582PVCkeb','chinese','81390aogazo','casual','shorter','Adjust\x20tone\x20and\x20style','dropdown','Professional','French','direct','Readability','language','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','italian','Longer','Shorter','Direct','Adjust\x20length','Japanese','5476513uubhyC','translate','custom','1759505AqPOMY','professional','Chinese\x20(Simplified)','readability','Casual','english','portuguese','spanish','french','japanese','5648466hlJzjz','German','confident','English','german','12MUvwKw','make-tone','Russian','friendly','Select\x20language','Portuguese','clarity','Korean','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Clarity','correctness','892020WDmpGW','531wXdFXy','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Custom\x20command','Spanish','8qEcnRU','Confident'];_0x20b4=function(){return _0x10ac90;};return _0x20b4();}const _0x35a58a=_0x49bb;(function(_0x35b3d6,_0x1980a1){const _0x1210ef=_0x49bb,_0x1ef1b9=_0x35b3d6();while(!![]){try{const _0x54f847=parseInt(_0x1210ef(0xf8))/0x1+-parseInt(_0x1210ef(0xe2))/0x2+parseInt(_0x1210ef(0x102))/0x3+-parseInt(_0x1210ef(0x113))/0x4+-parseInt(_0x1210ef(0x11c))/0x5*(parseInt(_0x1210ef(0x107))/0x6)+parseInt(_0x1210ef(0xf5))/0x7*(-parseInt(_0x1210ef(0x118))/0x8)+-parseInt(_0x1210ef(0x114))/0x9*(-parseInt(_0x1210ef(0xe4))/0xa);if(_0x54f847===_0x1980a1)break;else _0x1ef1b9['push'](_0x1ef1b9['shift']());}catch(_0x3c99cd){_0x1ef1b9['push'](_0x1ef1b9['shift']());}}}(_0x20b4,0xf2931));function _0x49bb(_0xdd29c5,_0x2c9e64){const _0x20b4cb=_0x20b4();return _0x49bb=function(_0x49bba2,_0x3fb0f8){_0x49bba2=_0x49bba2-0xdb;let _0x441249=_0x20b4cb[_0x49bba2];return _0x441249;},_0x49bb(_0xdd29c5,_0x2c9e64);}export const AI_REVIEW_CHECKS=[{'id':_0x35a58a(0xf7),'title':_0x35a58a(0x116),'description':_0x35a58a(0xdb),'isParameterized':!0x0},{'id':_0x35a58a(0x112),'title':_0x35a58a(0xdf),'description':_0x35a58a(0x115),'isParameterized':!0x1},{'id':_0x35a58a(0x10d),'title':_0x35a58a(0x111),'description':_0x35a58a(0x11e),'isParameterized':!0x1},{'id':_0x35a58a(0xfb),'title':_0x35a58a(0xec),'description':_0x35a58a(0x10f),'isParameterized':!0x1},{'id':_0x35a58a(0xe1),'title':_0x35a58a(0xf3),'description':_0x35a58a(0xee),'isParameterized':!0x0,'options':[{'formType':_0x35a58a(0xe8),'label':_0x35a58a(0xf3),'default':_0x35a58a(0xde),'data':[{'label':_0x35a58a(0xf0),'id':_0x35a58a(0xde)},{'label':_0x35a58a(0xf1),'id':_0x35a58a(0xe6)}]}]},{'id':_0x35a58a(0x108),'title':_0x35a58a(0xe7),'description':_0x35a58a(0x110),'isParameterized':!0x0,'options':[{'formType':_0x35a58a(0xe8),'label':_0x35a58a(0xe7),'default':_0x35a58a(0xe5),'data':[{'label':_0x35a58a(0xfc),'id':_0x35a58a(0xe5)},{'label':_0x35a58a(0xf2),'id':_0x35a58a(0xeb)},{'label':_0x35a58a(0x11b),'id':_0x35a58a(0x10a)},{'label':_0x35a58a(0x119),'id':_0x35a58a(0x104)},{'label':_0x35a58a(0xe9),'id':_0x35a58a(0xf9)}]}]},{'id':_0x35a58a(0xf6),'title':_0x35a58a(0x11a),'description':_0x35a58a(0xdd),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x35a58a(0xe8),'label':_0x35a58a(0x10b),'argsKey':_0x35a58a(0xed),'data':[{'label':_0x35a58a(0x105),'id':_0x35a58a(0xfd)},{'label':_0x35a58a(0x117),'id':_0x35a58a(0xff)},{'label':_0x35a58a(0xea),'id':_0x35a58a(0x100)},{'label':_0x35a58a(0x103),'id':_0x35a58a(0x106)},{'label':_0x35a58a(0xfa),'id':_0x35a58a(0xe3)},{'label':_0x35a58a(0xf4),'id':_0x35a58a(0x101)},{'label':_0x35a58a(0x109),'id':_0x35a58a(0x11d)},{'label':_0x35a58a(0x10c),'id':_0x35a58a(0xfe)},{'label':_0x35a58a(0x10e),'id':_0x35a58a(0xdc)},{'label':_0x35a58a(0xe0),'id':_0x35a58a(0xef)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x290514=_0x59b8;function _0x1d83(){var _0xb1c445=['5165060dwtDBZ','isOfficialPlugin','11950ufpiZZ','3260168XeMGKx','17pptpem','requires','AIReviewMode','7216143svXOcO','1085PUgEzR','pluginName','130922XUaqwA','isPremiumPlugin','625440NuMWOS','44904JhIeeM','20aRxtdK','7011NrVhbg'];_0x1d83=function(){return _0xb1c445;};return _0x1d83();}(function(_0x5378a3,_0x21d3fb){var _0x5d1f78=_0x59b8,_0x4d1132=_0x5378a3();while(!![]){try{var _0x5078f4=-parseInt(_0x5d1f78(0x79))/0x1*(-parseInt(_0x5d1f78(0x6f))/0x2)+-parseInt(_0x5d1f78(0x71))/0x3*(-parseInt(_0x5d1f78(0x73))/0x4)+-parseInt(_0x5d1f78(0x75))/0x5+parseInt(_0x5d1f78(0x72))/0x6*(-parseInt(_0x5d1f78(0x6d))/0x7)+parseInt(_0x5d1f78(0x78))/0x8+-parseInt(_0x5d1f78(0x74))/0x9*(-parseInt(_0x5d1f78(0x77))/0xa)+-parseInt(_0x5d1f78(0x6c))/0xb;if(_0x5078f4===_0x21d3fb)break;else _0x4d1132['push'](_0x4d1132['shift']());}catch(_0x534449){_0x4d1132['push'](_0x4d1132['shift']());}}}(_0x1d83,0x9d60a));import{ContextPlugin as _0x1bf58f}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x16abce}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x2041fb}from'./aireviewmodeui.js';function _0x59b8(_0x217224,_0x111cb0){var _0x1d83d7=_0x1d83();return _0x59b8=function(_0x59b8b0,_0x30626f){_0x59b8b0=_0x59b8b0-0x6b;var _0x46c0c7=_0x1d83d7[_0x59b8b0];return _0x46c0c7;},_0x59b8(_0x217224,_0x111cb0);}import{AIReviewModeEditing as _0x273c78}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x1bf58f{static get[_0x290514(0x7a)](){return[_0x16abce,_0x2041fb,_0x273c78];}static get[_0x290514(0x6e)](){var _0x5567a3=_0x290514;return _0x5567a3(0x6b);}static get[_0x290514(0x76)](){return!0x0;}static get[_0x290514(0x70)](){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
|
+
const _0x1aa025=_0x4b83;(function(_0x567f0e,_0x4c7e7b){const _0x56c5dd=_0x4b83,_0x225d5d=_0x567f0e();while(!![]){try{const _0x4741a3=-parseInt(_0x56c5dd(0x174))/0x1*(parseInt(_0x56c5dd(0x208))/0x2)+-parseInt(_0x56c5dd(0x1e9))/0x3+parseInt(_0x56c5dd(0x187))/0x4*(parseInt(_0x56c5dd(0x193))/0x5)+parseInt(_0x56c5dd(0x18f))/0x6+-parseInt(_0x56c5dd(0x16d))/0x7+parseInt(_0x56c5dd(0x173))/0x8*(-parseInt(_0x56c5dd(0x1f4))/0x9)+parseInt(_0x56c5dd(0x1ff))/0xa;if(_0x4741a3===_0x4c7e7b)break;else _0x225d5d['push'](_0x225d5d['shift']());}catch(_0x13cf3a){_0x225d5d['push'](_0x225d5d['shift']());}}}(_0x281f,0x3e690));import{ContextPlugin as _0x494ec3}from'ckeditor5/src/core.js';import{CKEditorError as _0x41f3db,logError as _0x23d9db,scrollAncestorsToShowTarget as _0xe6cbf3,scrollViewportToShowTarget as _0x37398f}from'ckeditor5/src/utils.js';import{AIConnector as _0x295a15}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x31b34f}from'./model/aireviewchecklist.js';function _0x4b83(_0x54f720,_0x372184){const _0x281f92=_0x281f();return _0x4b83=function(_0x4b83f7,_0x34b6c1){_0x4b83f7=_0x4b83f7-0x165;let _0x5bacb5=_0x281f92[_0x4b83f7];return _0x5bacb5;},_0x4b83(_0x54f720,_0x372184);}import{AIReviewSystemCheckRun as _0x2a0637}from'./model/aireviewsystemcheckrun.js';function _0x281f(){const _0x13d860=['abortReviewStream','_aiReviewModeUi','activateChange','result','finished','getCheckById','length','ai-review-mode-check-run-chunk-error','removeClass','acceptAllChanges','_currentReviewCheckRun','applyChange','AIReviewModeController','change','editing','ai-request-aborted','_DESCRIPTION','prompt','locale','title','238896iRCIiv','label','AIReviewModeEditing','addClass','requires','ck-ai-review-mode-diff','.ck-ai-review-mode__check-run-result','ai-review-mode-no-current-check-run','description','deactivateChange','reviewCheckResultAdded','932013GsnPYS','changeMarkerClick','addResultChanges','getEditor','getAll','context','ai-review-mode-check-run-failed','setAvailableChecks','error-chunk','toUpperCase','domElement','4725400wLSQBz','reviewCheckResultDeactivated','source','_onDiffChange','pluginName','contentNew','reviewCheckResultActivated','AIConnector','model','3056EVEFrH','_aiReviewModeEditing','emitter','showReviewCompletedView','message','aborted','setCheckResultTitle','markChangeAsRejected','closest','options','documentData','_OPTIONS_DATA_','showChunkErrorView','custom','showGeneralErrorView','_aiReviewCheckList','1751358IOqSPV','markChangePositionInEditorContent','data','acceptChange','diffContent','_isDiffOn','16fPWzMY','237WnrMmn','_logError','contentInitial','runReviewCheck','stopListening','dismissChange','getRoot','changes','showNoChangesView','reviewCheckRunUpdated','getReviewCheckList','showCheckRunResults','listenTo','isCustom','getChangeElement','reviewCheckResultChangeStatusUpdated','models','markChangeAsAccepted','abort','4zaZJmG','changeMarkerRestored','_aiConnector','switchToReadOnly','includes','ready','config','_changeActivationSource','3055926wIplEH','leaveReviewMode','replaceAll','_onReviewModeRunLeave','864235yjzpAJ','processedResultsCount','AI_REVIEW_CHECK_','panel','getDocumentData','currentError','ai-review-mode-check-run-general-error','getActiveChanges','ck-ai-review-mode-highlights','AIReviewModeUI','forceReadyState','changeMarkerRemoved','setActiveStateInResults','map','loading','find','ai-review-mode-source-check-not-found','status','reviewCheckResultReady','isPremiumPlugin','showReviewCheckList','init','subTitle','unmodified','isChangeActive','hideDiffInBalloon','retryReview','switchToEdit','restart','_TITLE','content','document','rejectChange','markChangeAsOutdated','hasModifications','_getTranslationWithDefault','resetActiveStateInResults','showDiffInBalloon','hideChangeBalloon','sendRating','start','updateChangeState','showActionsWhenResultIsReady','get','translate','markChangeAsPending','params','error-general','toggleDiff','showCheckRunResult','markAllChangesAsAccepted','clearAllMarkers','checks','getMarkerElementForChange','changeId','showChangeBalloon','finishReview','view','args','AI_MODEL_DESCRIPTION_','plugins','leaveReviewModeResultList','ai.reviewMode.translations','_OPTIONS_LABEL','_translateReviewChecks','isOfficialPlugin'];_0x281f=function(){return _0x13d860;};return _0x281f();}import{AIReviewCustomCheckRun as _0x28a381}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x572835}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x5144b0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x460d6a}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x494ec3{[_0x1aa025(0x189)];[_0x1aa025(0x1d6)];[_0x1aa025(0x209)];[_0x1aa025(0x16c)];[_0x1aa025(0x1df)];[_0x1aa025(0x172)]=!0x1;[_0x1aa025(0x18e)]=null;static get[_0x1aa025(0x1ed)](){return[_0x295a15];}static get[_0x1aa025(0x203)](){const _0x21cee4=_0x1aa025;return _0x21cee4(0x1e1);}static get[_0x1aa025(0x1d4)](){return!0x0;}static get[_0x1aa025(0x1a6)](){return!0x0;}async[_0x1aa025(0x1a8)](){const _0x59e6c8=_0x1aa025;this[_0x59e6c8(0x189)]=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x1cf)][_0x59e6c8(0x1be)](_0x59e6c8(0x206)),this[_0x59e6c8(0x1d6)]=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x1cf)][_0x59e6c8(0x1be)](_0x59e6c8(0x19c)),this[_0x59e6c8(0x209)]=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x1cf)][_0x59e6c8(0x1be)](_0x59e6c8(0x1eb));const _0x136cfd=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x18d)][_0x59e6c8(0x1be)](_0x59e6c8(0x1d1));if(_0x136cfd){for(const _0x3a863d of _0x5144b0)_0x59e6c8(0x1bf)===_0x3a863d['id']&&(_0x3a863d[_0x59e6c8(0x166)][0x0][_0x59e6c8(0x16f)]=_0x136cfd);}const _0x3a906b=this[_0x59e6c8(0x1d3)](_0x5144b0);this[_0x59e6c8(0x16c)]=new _0x31b34f(_0x3a906b);const _0x22dd16=this[_0x59e6c8(0x16c)][_0x59e6c8(0x1c7)][_0x59e6c8(0x1a2)](_0x1ed798=>_0x59e6c8(0x16a)===_0x1ed798['id']);if(_0x22dd16){const _0x400d09=await new _0x572835({'connector':this[_0x59e6c8(0x189)]})[_0x59e6c8(0x1f8)]();_0x22dd16[_0x59e6c8(0x184)]=_0x400d09[_0x59e6c8(0x1a0)](_0x4e98d9=>({..._0x4e98d9,'description':this[_0x59e6c8(0x1b6)](_0x59e6c8(0x1ce)+_0x4e98d9['id'][_0x59e6c8(0x1fd)](),_0x4e98d9[_0x59e6c8(0x1f1)])}));}this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x17e),()=>{const _0xc89e26=_0x59e6c8;this[_0xc89e26(0x1d6)][_0xc89e26(0x1fb)](this[_0xc89e26(0x16c)][_0xc89e26(0x1c7)]);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x177),async(_0xb0479e,_0x559411)=>{const _0x56c73f=_0x59e6c8,_0x4ba7cb=this[_0x56c73f(0x16c)][_0x56c73f(0x1da)](_0x559411['id']);if(_0x4ba7cb){this[_0x56c73f(0x202)](this[_0x56c73f(0x172)]),_0x559411[_0x56c73f(0x181)]?this[_0x56c73f(0x1df)]=new _0x28a381(_0x559411[_0x56c73f(0x1cd)][_0x56c73f(0x1e6)],_0x559411[_0x56c73f(0x1cd)][_0x56c73f(0x207)],this[_0x56c73f(0x209)][_0x56c73f(0x197)](),_0x4ba7cb,this[_0x56c73f(0x189)]):this[_0x56c73f(0x1df)]=new _0x2a0637(this[_0x56c73f(0x209)][_0x56c73f(0x197)](),_0x4ba7cb,this[_0x56c73f(0x189)],_0x559411[_0x56c73f(0x1c1)],_0x559411[_0x56c73f(0x1cd)]),this[_0x56c73f(0x1d6)][_0x56c73f(0x20e)](this[_0x56c73f(0x1df)][_0x56c73f(0x1e8)],this[_0x56c73f(0x1df)][_0x56c73f(0x1a9)]),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x17d),(_0x1fb39b,_0x39abce)=>{const _0x2e4039=_0x56c73f;_0x2e4039(0x16f)===_0x39abce[_0x2e4039(0x1a4)]||_0x2e4039(0x1a1)===_0x39abce[_0x2e4039(0x1a4)]?(this[_0x2e4039(0x209)][_0x2e4039(0x18a)](),this[_0x2e4039(0x1d6)][_0x2e4039(0x17f)](_0x39abce)):_0x2e4039(0x1d9)===_0x39abce[_0x2e4039(0x1a4)]?this[_0x2e4039(0x1d6)][_0x2e4039(0x20b)]():_0x2e4039(0x18c)===_0x39abce[_0x2e4039(0x1a4)]?this[_0x2e4039(0x1d6)][_0x2e4039(0x1bd)]():_0x2e4039(0x1aa)===_0x39abce[_0x2e4039(0x1a4)]?this[_0x2e4039(0x1d6)][_0x2e4039(0x17c)]():_0x2e4039(0x1c2)===_0x39abce[_0x2e4039(0x1a4)]?(this[_0x2e4039(0x1d6)][_0x2e4039(0x16b)](),this[_0x2e4039(0x175)](new _0x41f3db(_0x2e4039(0x199),this,this[_0x2e4039(0x1df)]?.[_0x2e4039(0x198)]))):_0x2e4039(0x1fc)===_0x39abce[_0x2e4039(0x1a4)]?(this[_0x2e4039(0x1d6)][_0x2e4039(0x169)](),this[_0x2e4039(0x175)](new _0x41f3db(_0x2e4039(0x1dc),this,this[_0x2e4039(0x1df)]?.[_0x2e4039(0x198)]))):_0x2e4039(0x20d)===_0x39abce[_0x2e4039(0x1a4)]&&(this[_0x2e4039(0x1df)]&&this[_0x2e4039(0x1df)][_0x2e4039(0x194)]>0x0?setTimeout(()=>{const _0x419145=_0x2e4039;this[_0x419145(0x1df)]?.[_0x419145(0x19d)]();},0x0):this[_0x2e4039(0x192)](!0x0)),_0x2e4039(0x18c)!==_0x39abce[_0x2e4039(0x1a4)]&&_0x2e4039(0x1fc)!==_0x39abce[_0x2e4039(0x1a4)]&&_0x2e4039(0x1c2)!==_0x39abce[_0x2e4039(0x1a4)]||this[_0x2e4039(0x1df)]?.[_0x2e4039(0x1ba)]();}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x1f3),(_0x2381e5,_0x5b2583)=>{const _0x1de109=_0x56c73f;if(!this[_0x1de109(0x1df)])throw new _0x41f3db(_0x1de109(0x1f0),this);const _0x48eeda=this[_0x1de109(0x209)][_0x1de109(0x171)](_0x5b2583[_0x1de109(0x1d8)][_0x1de109(0x176)],_0x5b2583[_0x1de109(0x1d8)][_0x1de109(0x204)]);_0x5b2583[_0x1de109(0x201)][_0x1de109(0x1f6)](_0x5b2583[_0x1de109(0x1d8)]['id'],_0x48eeda);}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x1a5),(_0x351f1b,_0x778abb)=>{const _0x89fc8d=_0x56c73f;for(const _0x4a12d8 of _0x778abb[_0x89fc8d(0x17b)])this[_0x89fc8d(0x1d6)][_0x89fc8d(0x1c4)](_0x4a12d8);this[_0x89fc8d(0x209)][_0x89fc8d(0x16e)](_0x778abb[_0x89fc8d(0x17b)],_0x778abb[_0x89fc8d(0x201)][_0x89fc8d(0x167)]);}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x183),(_0x14accd,_0xf5d1c)=>{const _0x29bc5d=_0x56c73f;this[_0x29bc5d(0x1d6)][_0x29bc5d(0x1bc)](_0xf5d1c[_0x29bc5d(0x1e2)]['id'],_0xf5d1c[_0x29bc5d(0x1a4)]);}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x205),(_0x309b31,_0x213e0a)=>{const _0x10f55f=_0x56c73f;this[_0x10f55f(0x1d6)][_0x10f55f(0x19f)](_0x213e0a[_0x10f55f(0x1e2)]['id']);const _0x37f236=this[_0x10f55f(0x209)][_0x10f55f(0x1c8)](_0x213e0a[_0x10f55f(0x1e2)]['id']);if(_0x37f236){if(_0x10f55f(0x1b1)===this[_0x10f55f(0x18e)]){const _0x4accee=this[_0x10f55f(0x1d6)][_0x10f55f(0x182)](_0x213e0a[_0x10f55f(0x1e2)]['id']);_0x4accee&&_0xe6cbf3(_0x4accee[_0x10f55f(0x165)](_0x10f55f(0x1ef))||_0x4accee);}else{if(_0x10f55f(0x196)===this[_0x10f55f(0x18e)]){const _0x468e01={'target':_0x37f236[_0x10f55f(0x1fe)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x37398f(_0x468e01);}}this[_0x10f55f(0x1d6)][_0x10f55f(0x1ca)](_0x213e0a[_0x10f55f(0x1e2)],_0x37f236[_0x10f55f(0x1fe)]);}}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x200),()=>{const _0xdbd698=_0x56c73f;this[_0xdbd698(0x1d6)][_0xdbd698(0x1b7)](),this[_0xdbd698(0x1d6)][_0xdbd698(0x1b9)]();});try{await this[_0x56c73f(0x1df)][_0x56c73f(0x1bb)]();}catch(_0x5d3909){_0x5d3909 instanceof Error&&_0x5d3909[_0x56c73f(0x20c)][_0x56c73f(0x18b)](_0x56c73f(0x1e4))||(_0x5d3909 instanceof _0x41f3db?this[_0x56c73f(0x175)](_0x5d3909):this[_0x56c73f(0x175)](new _0x41f3db(_0x56c73f(0x1fa),this,{'error':_0x5d3909})));}}else this[_0x56c73f(0x175)](new _0x41f3db(_0x56c73f(0x1a3),this,{'checkId':_0x559411['id']}));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x190),()=>{const _0x14111b=_0x59e6c8;this[_0x14111b(0x192)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1d0),()=>{const _0x1d493d=_0x59e6c8;this[_0x1d493d(0x192)](!0x0);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1d5),()=>{const _0x8feb08=_0x59e6c8;this[_0x8feb08(0x1df)]&&this[_0x8feb08(0x1df)][_0x8feb08(0x186)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1cb),()=>{const _0x3a5d8c=_0x59e6c8;this[_0x3a5d8c(0x192)](!0x0);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1de),()=>{const _0x1afb98=_0x59e6c8;if(!this[_0x1afb98(0x1df)])return;const _0x27d6f7=this[_0x1afb98(0x1df)][_0x1afb98(0x19a)]();_0x27d6f7[_0x1afb98(0x1db)]&&(this[_0x1afb98(0x209)][_0x1afb98(0x1e0)](_0x27d6f7[_0x1afb98(0x1a0)](_0x5bf972=>_0x5bf972['id'])),this[_0x1afb98(0x1df)][_0x1afb98(0x1c5)](),this[_0x1afb98(0x1df)][_0x1afb98(0x1ba)]());}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x170),(_0x55c8f5,_0x517f83)=>{const _0x4ab0c9=_0x59e6c8;this[_0x4ab0c9(0x1df)]&&this[_0x4ab0c9(0x1df)][_0x4ab0c9(0x1ab)](_0x517f83['id'])&&(this[_0x4ab0c9(0x209)][_0x4ab0c9(0x1e0)]([_0x517f83['id']]),this[_0x4ab0c9(0x1df)][_0x4ab0c9(0x185)](_0x517f83['id']),this[_0x4ab0c9(0x1d6)][_0x4ab0c9(0x1b9)](),this[_0x4ab0c9(0x1df)][_0x4ab0c9(0x1ba)](_0x517f83['id']));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x179),(_0x3b70e3,_0xa1616d)=>{const _0x3eac5f=_0x59e6c8;this[_0x3eac5f(0x1df)]&&this[_0x3eac5f(0x1df)][_0x3eac5f(0x1ab)](_0xa1616d['id'])&&(this[_0x3eac5f(0x209)][_0x3eac5f(0x1b3)](_0xa1616d['id']),this[_0x3eac5f(0x1df)][_0x3eac5f(0x20f)](_0xa1616d['id']),this[_0x3eac5f(0x1d6)][_0x3eac5f(0x1b9)](),this[_0x3eac5f(0x1df)][_0x3eac5f(0x1ba)](_0xa1616d['id']));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1c3),(_0x23ebc8,_0x1bdab3)=>{const _0x28216e=_0x59e6c8;this[_0x28216e(0x172)]=_0x1bdab3['on'],this[_0x28216e(0x202)](this[_0x28216e(0x172)]);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1ad),async()=>{const _0x4ca516=_0x59e6c8;this[_0x4ca516(0x1df)]&&await this[_0x4ca516(0x1df)][_0x4ca516(0x1af)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1d7),(_0x2872c7,_0x20e5a5)=>{const _0x37fe5b=_0x59e6c8;this[_0x37fe5b(0x1df)]&&(this[_0x37fe5b(0x18e)]=_0x37fe5b(0x196),this[_0x37fe5b(0x1df)][_0x37fe5b(0x1d7)](_0x20e5a5['id']));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1f2),()=>{const _0x534eee=_0x59e6c8;this[_0x534eee(0x1df)]&&this[_0x534eee(0x1df)][_0x534eee(0x1f2)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x209)][_0x59e6c8(0x20a)],_0x59e6c8(0x1f5),(_0x4e74f9,_0x22edbc)=>{const _0xbad6ef=_0x59e6c8;this[_0xbad6ef(0x1df)]&&(this[_0xbad6ef(0x18e)]=_0xbad6ef(0x1b1),this[_0xbad6ef(0x1df)][_0xbad6ef(0x1d7)](_0x22edbc[_0xbad6ef(0x1c9)]));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x209)][_0x59e6c8(0x20a)],_0x59e6c8(0x19e),(_0x43a96a,_0x1fd9cb)=>{const _0x5a1730=_0x59e6c8;this[_0x5a1730(0x1df)]&&this[_0x5a1730(0x1df)][_0x5a1730(0x1b4)](_0x1fd9cb[_0x5a1730(0x1c9)]);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x209)][_0x59e6c8(0x20a)],_0x59e6c8(0x188),(_0x586054,_0x4514bb)=>{const _0x46e9b7=_0x59e6c8;this[_0x46e9b7(0x1df)]&&this[_0x46e9b7(0x1df)][_0x46e9b7(0x1c0)](_0x4514bb[_0x46e9b7(0x1c9)]);});}[_0x1aa025(0x192)](_0x1290b9=!0x1){const _0xc1aa35=_0x1aa025;this[_0xc1aa35(0x1df)]&&(this[_0xc1aa35(0x1df)][_0xc1aa35(0x1b5)]||this[_0xc1aa35(0x1df)][_0xc1aa35(0x1ba)](),this[_0xc1aa35(0x1df)][_0xc1aa35(0x178)](),this[_0xc1aa35(0x1df)][_0xc1aa35(0x186)](),this[_0xc1aa35(0x1df)]=void 0x0),_0x1290b9&&this[_0xc1aa35(0x1d6)][_0xc1aa35(0x1a7)](),this[_0xc1aa35(0x209)][_0xc1aa35(0x1c6)](),this[_0xc1aa35(0x209)][_0xc1aa35(0x1ae)](),this[_0xc1aa35(0x18e)]=null;const _0x8c8c18=this[_0xc1aa35(0x209)][_0xc1aa35(0x1f7)]();_0x8c8c18&&_0x8c8c18[_0xc1aa35(0x1e3)][_0xc1aa35(0x1cc)][_0xc1aa35(0x1e2)](_0x2c6d0b=>{const _0x4f4394=_0xc1aa35,_0x34ac7f=_0x8c8c18[_0x4f4394(0x1e3)][_0x4f4394(0x1cc)][_0x4f4394(0x1b2)][_0x4f4394(0x17a)]();_0x2c6d0b[_0x4f4394(0x1dd)](_0x4f4394(0x1ee),_0x34ac7f),_0x2c6d0b[_0x4f4394(0x1dd)](_0x4f4394(0x19b),_0x34ac7f);});}[_0x1aa025(0x202)](_0x4798e8){const _0x5031a5=_0x1aa025,_0x2c4ba5=this[_0x5031a5(0x209)][_0x5031a5(0x1f7)]();_0x4798e8?this[_0x5031a5(0x1d6)][_0x5031a5(0x1ac)]():this[_0x5031a5(0x1d6)][_0x5031a5(0x1b8)](),_0x2c4ba5&&_0x2c4ba5[_0x5031a5(0x1e3)][_0x5031a5(0x1cc)][_0x5031a5(0x1e2)](_0x1ffa37=>{const _0x31127d=_0x5031a5,_0x47af30=_0x2c4ba5[_0x31127d(0x1e3)][_0x31127d(0x1cc)][_0x31127d(0x1b2)][_0x31127d(0x17a)]();_0x1ffa37[_0x31127d(0x1dd)](_0x31127d(0x1ee),_0x47af30),_0x1ffa37[_0x31127d(0x1dd)](_0x31127d(0x19b),_0x47af30),_0x1ffa37[_0x31127d(0x1ec)](_0x4798e8?_0x31127d(0x1ee):_0x31127d(0x19b),_0x47af30);});}[_0x1aa025(0x1d3)](_0x47ae49){const _0x4a6571=_0x1aa025;return _0x47ae49[_0x4a6571(0x1a0)](_0x5bafd8=>{const _0x3b36f3=_0x4a6571,_0x59845c=_0x3b36f3(0x195)+_0x5bafd8['id'][_0x3b36f3(0x1fd)]()[_0x3b36f3(0x191)]('-','_'),_0x421691={..._0x5bafd8,'title':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x1b0),_0x5bafd8[_0x3b36f3(0x1e8)]),'description':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x1e5),_0x5bafd8[_0x3b36f3(0x1f1)])};return _0x5bafd8[_0x3b36f3(0x166)]&&(_0x421691[_0x3b36f3(0x166)]=_0x5bafd8[_0x3b36f3(0x166)][_0x3b36f3(0x1a0)](_0x161b69=>({..._0x161b69,'label':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x1d2),_0x161b69[_0x3b36f3(0x1ea)]||''),'data':_0x161b69[_0x3b36f3(0x16f)]?_0x161b69[_0x3b36f3(0x16f)][_0x3b36f3(0x1a0)](_0x4e1a1f=>({..._0x4e1a1f,'label':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x168)+_0x4e1a1f['id'][_0x3b36f3(0x1fd)](),_0x4e1a1f[_0x3b36f3(0x1ea)])})):void 0x0}))),_0x421691;});}[_0x1aa025(0x1b6)](_0x2dd2db,_0x49df4d){const _0x3ea11a=_0x1aa025,_0xba1332=this[_0x3ea11a(0x1f9)][_0x3ea11a(0x1e7)],_0x34c842=_0x460d6a(_0xba1332,_0x2dd2db);return _0x34c842===_0x2dd2db?_0x49df4d:_0x34c842;}[_0x1aa025(0x175)](_0x2898b8){const _0x19dcda=_0x1aa025;_0x23d9db(_0x2898b8[_0x19dcda(0x20c)]),this[_0x19dcda(0x1d6)][_0x19dcda(0x16b)]();}}
|
|
@@ -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 _0x222a(_0x29e2b7,_0x2951f6){const _0x2bb341=_0x2bb3();return _0x222a=function(_0x222aeb,_0x335f12){_0x222aeb=_0x222aeb-0xda;let _0x381010=_0x2bb341[_0x222aeb];return _0x381010;},_0x222a(_0x29e2b7,_0x2951f6);}const _0x28cd29=_0x222a;(function(_0x43f5ac,_0x53d5b1){const _0x55727d=_0x222a,_0x37d167=_0x43f5ac();while(!![]){try{const _0x549f62=-parseInt(_0x55727d(0x13d))/0x1+parseInt(_0x55727d(0x159))/0x2*(-parseInt(_0x55727d(0xe6))/0x3)+-parseInt(_0x55727d(0x1ab))/0x4*(-parseInt(_0x55727d(0x17f))/0x5)+parseInt(_0x55727d(0x194))/0x6*(parseInt(_0x55727d(0x1bf))/0x7)+-parseInt(_0x55727d(0xf8))/0x8+parseInt(_0x55727d(0x181))/0x9+parseInt(_0x55727d(0xeb))/0xa;if(_0x549f62===_0x53d5b1)break;else _0x37d167['push'](_0x37d167['shift']());}catch(_0x11bfd4){_0x37d167['push'](_0x37d167['shift']());}}}(_0x2bb3,0xeb3b8));import{InsertOperation as _0xcc3b8c,MarkerOperation as _0x2fa0df,ModelDocumentFragment as _0x234b28,ModelPosition as _0x3c6d10,ModelRange as _0x4af4fe,ModelTreeWalker as _0xfa2a36,transformOperationSets as _0x3d470e}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x32c5d8,EmitterMixin as _0x3e1b75}from'ckeditor5/src/utils.js';function _0x2bb3(){const _0x3e3a9b=['getHtml','markerToElement','size','isOfficialPlugin','className','schema','1319624SbZszI','root','createRange','editingDowncast','pluginName','add','hasContentBefore','_translateOperationToEditorContent','model:$text','getShiftedBy','markerName','isPremiumPlugin','click','hasClass','_findMarkerElement','text','viewToDom','htmlProcessor','$documentFragment','isAtEnd','flat','documentFragment','removeMarker','remove-text','startsWith','for','createRawElement','getPath','25136mneITt','getDocumentData','insert','version','_parseMarkerName','_getChangeContext','getRoot','map','_markers','addOperation','position','createDocumentFragment','howMany','disableReadOnlyMode','parse','[data-id=\x22','element','createText','enableReadOnlyMode','exec','parent','$textProxy','has','change','ck-ai_review-mode-marker_','getChildren','baseVersion','caption','createUIElement','_getOperationStart','childCount','context','_clone','isAtStart','remove','markers','clone','_hasSameTopLevelElement','10950KLPtbq','emitter','16008417fokVkV','keys','newRange','history','view','ck-ai_review-mode-marker_hide','_changePositionOwnerDocument','AIEditing','suggestion:insertion:id:authorId:','index','applyChange','_appendChild','getChanges','document','conversion','listenTo','split','differ','_eventEmitter','72894zAETBO','toData','isInline','getChild','parentElement','type','values','rejectChange','offset','from','isIntersecting','ck-ai_review-mode-marker_context-end','innerHTML','append','hasAttribute','ck-ai_review-mode-marker_context-','AIReviewModeEditing','getMarkerElementForChange','applyOperation','span','editing','htmlWriter','model','816rcsVnZ','afterInit','jumpTo','$markedRemove','getOperations','sort','getRange','plugins','deleteContent','getEditor','forEach','_findAdjacentContextDistance','nodes','_getMarkersDataForGroup','_changePosition','operationsIsolated','data','_changeRange','clear','length','406FxgZTd','containsRange','getDomRoot','ck-ai_review-mode-marker_add','_domEmitter','changeMarkerRemoved','_createGetContentFn','_changeRangeOwnerDocument','operationsA','addMarker','includes','target','batch','getAttribute','_createGetContextFn','backward','push','end','ck-ai_review-mode-marker_underline','get','_createGetContentUsingDataIdFn','186GsnqQX','_nextDataId','requires','dataDowncast','_getOperationEnd','13933890qUEfRM','[data-marker-id=\x22','_sortMarkers','processor','diffContent','createSelection','pop','ai-review-mode','createPositionAfter','markerToHighlight','toView','markChangePositionInEditorContent','_validateMarkers','10089216kfmILz','insertContent','fire','remove-only','switchToReadOnly','createPositionAt','clearAllMarkers','oldRange','getChangedMarkers','hasContentAfter','offsetSize','isTouching','suggestion-context','marker','$graveyard','elements','ck-ai_review-mode-marker_strikethrough','name','DocumentCompare','attributeToAttribute','_setAttribute','isOpening','concat','changeMarkerRestored','suggestion:deletion:id:authorId:','_handleMarkerChanges','groupId','_insertMarkers','getRoots','stringify','_groupAdjacentOperations','ck-ai_review-mode-marker_context-start','getDiff','rootName','set','isDocumentOperation','_removeAttribute','registerPostFixer','delete','every','reviewmode-','getStart','_changeOperationOwnerDocument','downcast','filter','switchToEdit','warn','No\x20element\x20found\x20for\x20ID:\x20','_removeChildren','data-marker-id','domConverter','toDomElement','ellipsisBefore','forward','affectsData','outerHTML','start','querySelector','_shiftOperation','path','ellipsisAfter','changeMarkerClick','remove-context'];_0x2bb3=function(){return _0x3e3a9b;};return _0x2bb3();}import{ContextPlugin as _0x3d42ac}from'ckeditor5/src/core.js';import{DocumentCompare as _0x187bcb,DATA_ID_MODEL_ATTRIBUTE as _0x2f28bd,DATA_ID_VIEW_ATTRIBUTE as _0x3929c}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x147c02}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x48eb4a}from'../aicore/aiediting.js';const me=_0x28cd29(0x120);export class AIReviewModeEditing extends _0x3d42ac{static get[_0x28cd29(0x141)](){const _0x109285=_0x28cd29;return _0x109285(0x1a4);}static get[_0x28cd29(0xe8)](){return[_0x187bcb,_0x48eb4a];}static get[_0x28cd29(0x13a)](){return!0x0;}static get[_0x28cd29(0x148)](){return!0x0;}[_0x28cd29(0x161)]=new Map();[_0x28cd29(0x1c3)];[_0x28cd29(0x193)];constructor(_0x55000d){const _0x373001=_0x28cd29;super(_0x55000d),this[_0x373001(0x1c3)]=new(_0x32c5d8())(),this[_0x373001(0x193)]=new(_0x3e1b75())();}get[_0x28cd29(0x180)](){const _0x1b951e=_0x28cd29;return this[_0x1b951e(0x193)];}[_0x28cd29(0x1ac)](){const _0xbf4e49=_0x28cd29,_0x11a059=_0x147c02(this[_0xbf4e49(0x178)]);_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0x138)]({'model':me+_0xbf4e49(0x15b),'view':(_0x1c8fc4,{writer:_0x12f174})=>{const _0x3fef49=_0xbf4e49,_0x5af366=this[_0x3fef49(0x161)][_0x3fef49(0xe4)](_0x1c8fc4[_0x3fef49(0x147)]),_0x2ece17={'class':_0x3fef49(0x1c2),'data-marker-id':_0x1c8fc4[_0x3fef49(0x147)]};return _0x12f174[_0x3fef49(0x175)](_0x3fef49(0x1a7),_0x2ece17,function(_0x137143){const _0x3ede40=_0x3fef49,_0x8afca4=this[_0x3ede40(0x12b)](_0x137143);return _0x8afca4[_0x3ede40(0x1a0)]=_0x5af366?.[_0x3ede40(0x14c)]||'',_0x8afca4;});}}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0xf4)]({'model':me+_0xbf4e49(0xfb),'view':_0x4d66f8=>({'classes':_0xbf4e49(0x108),'attributes':{'data-marker-id':_0x4d66f8[_0xbf4e49(0x147)]}})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0xf4)]({'model':me+_0xbf4e49(0x136),'view':_0x599792=>({'classes':_0xbf4e49(0xe3),'attributes':{'data-marker-id':_0x599792[_0xbf4e49(0x147)]}})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0xf4)]({'model':me+_0xbf4e49(0x154),'view':_0x280a35=>({'classes':_0xbf4e49(0x186),'attributes':{'data-marker-id':_0x280a35[_0xbf4e49(0x147)]}})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0xe9))[_0xbf4e49(0x138)]({'model':me+_0xbf4e49(0x104),'view':(_0x23ef2c,{writer:_0x4d09ee})=>_0x4d09ee[_0xbf4e49(0x157)](_0xbf4e49(0x1a7),{'class':_0xbf4e49(0x1a3)+(_0x23ef2c[_0xbf4e49(0x10d)]?_0xbf4e49(0x130):_0xbf4e49(0xe2))})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x123))[_0xbf4e49(0x10b)]({'model':_0x2f28bd,'view':_0x3929c}),this[_0xbf4e49(0x1c3)][_0xbf4e49(0x190)](document,_0xbf4e49(0x149),(_0x1edbef,_0x2708b0)=>{const _0x484889=_0xbf4e49,_0x2bbbe2=_0x2708b0[_0x484889(0xdc)],_0x28962d=this[_0x484889(0x14b)](_0x2bbbe2);if(!_0x28962d)return;const _0x3fb0bd=_0x28962d[_0x484889(0xde)](_0x484889(0x129)),_0x8ae227=_0x3fb0bd[_0x484889(0x191)](':')[_0x484889(0xf1)]()?.[_0x484889(0x191)]('_')[0x0];this[_0x484889(0x193)][_0x484889(0xfa)](_0x484889(0x135),{'markerId':_0x3fb0bd,'changeId':_0x8ae227});}),_0x11a059[_0xbf4e49(0x1aa)][_0xbf4e49(0x18e)][_0xbf4e49(0x11d)](_0x22dded=>this[_0xbf4e49(0xf7)](_0x11a059,_0x22dded)),_0x11a059[_0xbf4e49(0x1aa)][_0xbf4e49(0x18e)]['on'](_0xbf4e49(0x170),()=>this[_0xbf4e49(0x111)](_0x11a059));}[_0x28cd29(0x15a)](){const _0x246b3c=_0x28cd29,_0x44e610=this[_0x246b3c(0x178)][_0x246b3c(0x1b2)][_0x246b3c(0xe4)](_0x246b3c(0x188)),_0x2ef577=_0x147c02(this[_0x246b3c(0x178)]),_0x2fd171=_0x2ef577[_0x246b3c(0x1aa)],_0x492009=new _0x234b28();for(const _0x121100 of _0x2fd171[_0x246b3c(0x18e)][_0x246b3c(0x15f)]()[_0x246b3c(0x172)]()){const _0x150dcd=_0x121100[_0x246b3c(0x179)](!0x0);_0x492009[_0x246b3c(0x18c)](_0x150dcd);}for(const _0x78443f of _0x2fd171[_0x246b3c(0x17c)])_0x492009[_0x246b3c(0x17c)][_0x246b3c(0x11a)](_0x78443f[_0x246b3c(0x109)],this[_0x246b3c(0x1c6)](_0x78443f[_0x246b3c(0x1b1)]()[_0x246b3c(0x17d)](),_0x492009));const _0x36950c=new _0xfa2a36({'ignoreElementEnd':!0x0,'startPosition':_0x2fd171[_0x246b3c(0xfd)](_0x492009,0x0)}),_0x5cb08b=new Set(),_0x2baf57=new Map();for(const {item:_0x68854e}of _0x36950c){if(!_0x68854e['is'](_0x246b3c(0x16e)))continue;const _0x5906a4=_0x68854e[_0x246b3c(0x16d)];if((!_0x5906a4||!_0x5906a4['is'](_0x246b3c(0x169),_0x246b3c(0x174)))&&(_0x5906a4&&_0x5906a4['is'](_0x246b3c(0x169)))){let _0x4772b8=_0x5906a4[_0x246b3c(0xde)](_0x2f28bd);_0x4772b8||(_0x4772b8=_0x44e610[_0x246b3c(0xe7)](_0x5cb08b),_0x5906a4[_0x246b3c(0x10c)](_0x2f28bd,_0x4772b8)),_0x5cb08b[_0x246b3c(0x142)](_0x4772b8);let _0x5b30a9=_0x5906a4;for(;_0x5b30a9[_0x246b3c(0x16d)]&&!_0x5b30a9[_0x246b3c(0x16d)]['is'](_0x246b3c(0x152));)_0x5b30a9=_0x5b30a9[_0x246b3c(0x16d)],_0x5b30a9[_0x246b3c(0x1a2)](_0x2f28bd)&&_0x5b30a9[_0x246b3c(0x11c)](_0x2f28bd);_0x2baf57[_0x246b3c(0x11a)](_0x4772b8,{'path':_0x5906a4[_0x246b3c(0x158)](),'getContent':this[_0x246b3c(0xe5)](_0x5b30a9[_0x246b3c(0x179)](!0x0),_0x4772b8,_0x2ef577[_0x246b3c(0x1bb)])}),_0x36950c[_0x246b3c(0x1ad)](_0x2fd171[_0x246b3c(0xf3)](_0x5906a4));}}return{'content':_0x2ef577[_0x246b3c(0x1bb)][_0x246b3c(0xee)][_0x246b3c(0x195)](_0x2ef577[_0x246b3c(0x1bb)][_0x246b3c(0xf5)](_0x492009)),'version':_0x2ef577[_0x246b3c(0x1aa)][_0x246b3c(0x18e)][_0x246b3c(0x15c)],'elements':_0x2baf57};}[_0x28cd29(0xef)](_0x15c656,_0x319a12){const _0xac0132=_0x28cd29,_0x5615ce=[],_0xa00c3e=_0x147c02(this[_0xac0132(0x178)]),_0x59e580=_0xa00c3e[_0xac0132(0x1bb)][_0xac0132(0x167)](_0x15c656,_0xac0132(0x14f)),_0xa92c2a=_0xa00c3e[_0xac0132(0x1aa)][_0xac0132(0xfd)](_0x59e580,0x0),_0x4603d8=_0xa00c3e[_0xac0132(0x1bb)][_0xac0132(0x167)](_0x319a12,_0xac0132(0x14f));if(!this[_0xac0132(0x17e)](_0x59e580,_0x4603d8))return _0x5615ce;const _0x432e68=this[_0xac0132(0x178)][_0xac0132(0x1b2)][_0xac0132(0xe4)](_0xac0132(0x10a))[_0xac0132(0x118)](_0x15c656,_0x319a12,{'anchor':_0xa92c2a,'markDeletions':!0x0})[_0xac0132(0x1af)]()[_0xac0132(0x124)](_0x12b65a=>_0xac0132(0x15b)===_0x12b65a[_0xac0132(0x199)]||_0xac0132(0x105)===_0x12b65a[_0xac0132(0x199)]&&_0x12b65a[_0xac0132(0x109)][_0xac0132(0x155)](_0xac0132(0x1ae))),_0x21d006=this[_0xac0132(0x116)](_0x432e68);let _0x494db8=0x0;return _0xa00c3e[_0xac0132(0x1aa)][_0xac0132(0x170)](_0x4c548a=>{const _0x2b9097=_0xac0132;for(let _0x2969f6=0x0;_0x2969f6<_0x21d006[_0x2b9097(0x1be)];_0x2969f6++){const _0x56869d=_0x21d006[_0x2969f6],_0x490b58=_0x4c548a[_0x2b9097(0x164)]();for(const _0x53a0d3 of _0x59e580[_0x2b9097(0x172)]())_0x4c548a[_0x2b9097(0x1a1)](_0x53a0d3[_0x2b9097(0x179)](!0x0),_0x490b58);for(const _0x2ebbec of _0x56869d[_0x2b9097(0x1ba)])if(_0x2b9097(0x15b)===_0x2ebbec[_0x2b9097(0x199)]){const _0x43bcea=_0x2ebbec;_0x43bcea[_0x2b9097(0x173)]=null,_0x43bcea[_0x2b9097(0x11b)]=!0x1,this[_0x2b9097(0x122)](_0x43bcea,_0x490b58),_0x4c548a[_0x2b9097(0xdd)][_0x2b9097(0x162)](_0x2ebbec),_0xa00c3e[_0x2b9097(0x1aa)][_0x2b9097(0x1a6)](_0x2ebbec);const _0x230eff=_0x2b9097(0x189)+_0x494db8++,_0x21fa4a=_0xa00c3e[_0x2b9097(0x1aa)][_0x2b9097(0x13f)](_0x43bcea[_0x2b9097(0x163)],_0x43bcea[_0x2b9097(0x163)][_0x2b9097(0x146)](_0x43bcea[_0x2b9097(0x165)]));_0x490b58[_0x2b9097(0x17c)][_0x2b9097(0x11a)](_0x230eff,_0x21fa4a);}else{if(_0x2b9097(0x105)===_0x2ebbec[_0x2b9097(0x199)]&&_0x2ebbec[_0x2b9097(0x109)][_0x2b9097(0x155)](_0x2b9097(0x1ae))){const _0x2ccd54=_0x2ebbec,_0x60a06b=_0x2b9097(0x110)+_0x494db8++;this[_0x2b9097(0x122)](_0x2ccd54,_0x490b58),_0x490b58[_0x2b9097(0x17c)][_0x2b9097(0x11a)](_0x60a06b,_0x2ccd54[_0x2b9097(0x183)]);}}const _0x2ae6f8=this[_0x2b9097(0x15e)](this[_0x2b9097(0x187)](this[_0x2b9097(0x176)](_0x56869d[_0x2b9097(0x1ba)][0x0]),_0x490b58),this[_0x2b9097(0x187)](this[_0x2b9097(0xea)](_0x56869d[_0x2b9097(0x1ba)][_0x56869d[_0x2b9097(0x1ba)][_0x2b9097(0x1be)]-0x1]),_0x490b58));_0x490b58[_0x2b9097(0x17c)][_0x2b9097(0x11a)](me+_0x2b9097(0x104),new _0x4af4fe(_0x2ae6f8[_0x2b9097(0x130)],_0x2ae6f8[_0x2b9097(0xe2)])),_0x5615ce[_0x2b9097(0xe1)]({..._0x56869d,'context':this[_0x2b9097(0xdf)](_0x490b58,_0xa00c3e[_0x2b9097(0x1bb)],{'ellipsisBefore':_0x2ae6f8[_0x2b9097(0x143)],'ellipsisAfter':_0x2ae6f8[_0x2b9097(0x101)]}),'content':this[_0x2b9097(0x1c5)](_0x490b58,_0xa00c3e[_0x2b9097(0x1bb)])});}}),_0x5615ce;}[_0x28cd29(0xf6)](_0x599976,_0x3b59ff){const _0x588a0e=_0x28cd29;if(!_0x599976[_0x588a0e(0x1be)])return;const _0x2f9ece=_0x599976[0x0][_0x588a0e(0x16d)]['id'],_0x367e17=_0x3b59ff[_0x588a0e(0x107)][_0x588a0e(0xe4)](_0x2f9ece);if(!_0x367e17)return void console[_0x588a0e(0x126)](_0x588a0e(0x127)+_0x2f9ece);const _0x45a5e0=_0x367e17[_0x588a0e(0x133)],_0x27431f=_0x147c02(this[_0x588a0e(0x178)]),_0x577e37=_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x18e)][_0x588a0e(0x184)][_0x588a0e(0x1af)](_0x3b59ff[_0x588a0e(0x15c)]),_0x33c24d=[];for(const _0x2662f0 of _0x599976){const _0x3c110c=_0x2662f0[_0x588a0e(0x1ba)][_0x588a0e(0x160)](_0x17734a=>this[_0x588a0e(0x144)](_0x17734a,_0x45a5e0,_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x18e)][_0x588a0e(0x114)]()[0x0]));if(!_0x3c110c||!_0x3c110c[_0x588a0e(0x1be)])continue;const _0x337c39=_0x3c110c[_0x588a0e(0x11f)](_0xdbc9f6=>_0x588a0e(0x105)===_0xdbc9f6[_0x588a0e(0x199)]&&_0xdbc9f6[_0x588a0e(0x109)][_0x588a0e(0x155)](_0x588a0e(0x1ae))),_0x4a99c8={'document':_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x18e)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x111ad8=_0x3d470e(_0x3c110c,_0x577e37,_0x4a99c8)[_0x588a0e(0x1c7)];for(const _0x59f639 of _0x111ad8)if(_0x588a0e(0x15b)===_0x59f639[_0x588a0e(0x199)]){const _0x48ae12=_0x59f639,_0x2474e3=_0x48ae12[_0x588a0e(0x1b7)];let _0x4aa894='';for(const _0x4e5c21 of _0x2474e3)_0x4e5c21&&_0x4e5c21['is'](_0x588a0e(0x145))&&(_0x4aa894+=_0x4e5c21[_0x588a0e(0x1bb)]);_0x33c24d[_0x588a0e(0xe1)]({'start':_0x48ae12[_0x588a0e(0x163)],'end':_0x48ae12[_0x588a0e(0x163)],'type':_0x588a0e(0x15b),'groupId':_0x2662f0['id'],'text':_0x4aa894});}else{if(_0x588a0e(0x105)===_0x59f639[_0x588a0e(0x199)]&&_0x59f639[_0x588a0e(0x109)][_0x588a0e(0x155)](_0x588a0e(0x1ae))){const _0x2d8aa0=_0x59f639;let _0x24e766=_0x588a0e(0x154);if(_0x337c39){const _0x2e89d8=this[_0x588a0e(0x1b6)](_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0x130)],_0x588a0e(0xe0),_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x13c)]),_0x40cf76=this[_0x588a0e(0x1b6)](_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0xe2)],_0x588a0e(0x12d),_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x13c)]);if(_0x2e89d8||_0x40cf76){const _0x1950fc=_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0x130)][_0x588a0e(0x146)](-_0x2e89d8),_0x306da4=_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0xe2)][_0x588a0e(0x146)](_0x40cf76);_0x33c24d[_0x588a0e(0xe1)]({'start':_0x1950fc,'end':_0x306da4,'groupId':_0x2662f0['id'],'type':_0x588a0e(0x136)});}else _0x24e766=_0x588a0e(0xfb);}_0x33c24d[_0x588a0e(0xe1)]({'start':_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0x130)],'end':_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0xe2)],'groupId':_0x2662f0['id'],'type':_0x24e766});}}}this[_0x588a0e(0x113)](_0x33c24d);}[_0x28cd29(0xfe)](){const _0x5557e7=_0x28cd29,_0x50e44f=_0x147c02(this[_0x5557e7(0x178)]);_0x50e44f[_0x5557e7(0x1aa)][_0x5557e7(0x170)](_0x371a84=>{const _0x3a4684=_0x5557e7;for(const _0xb4aa96 of this[_0x3a4684(0x161)][_0x3a4684(0x182)]())_0x50e44f[_0x3a4684(0x1aa)][_0x3a4684(0x17c)][_0x3a4684(0xe4)](_0xb4aa96)&&_0x371a84[_0x3a4684(0x153)](_0xb4aa96);}),this[_0x5557e7(0x161)][_0x5557e7(0x1bd)]();}[_0x28cd29(0xfc)](){const _0xc52833=_0x28cd29;_0x147c02(this[_0xc52833(0x178)])[_0xc52833(0x16b)](_0xc52833(0xf2));}[_0x28cd29(0x125)](){const _0x5df08d=_0x28cd29;_0x147c02(this[_0x5df08d(0x178)])[_0x5df08d(0x166)](_0x5df08d(0xf2));}[_0x28cd29(0x18b)](_0x4a57cf){const _0x12f614=_0x28cd29,_0x42a6e7=_0x147c02(this[_0x12f614(0x178)]),_0x378d17=_0x42a6e7[_0x12f614(0x1aa)],_0x8b325c=_0x4a57cf[_0x12f614(0x160)](_0x5c7350=>this[_0x12f614(0x1b8)](_0x5c7350))[_0x12f614(0x151)]();_0x378d17[_0x12f614(0x170)](_0x53a65e=>{const _0x3f2975=_0x12f614;for(const _0xde3c1d of _0x8b325c){const _0x5742c5=_0x42a6e7[_0x3f2975(0x1aa)][_0x3f2975(0x17c)][_0x3f2975(0xe4)](_0xde3c1d['id']);_0x5742c5&&(_0x3f2975(0x15b)===_0xde3c1d[_0x3f2975(0x199)]?_0x378d17[_0x3f2975(0xf9)](_0x53a65e[_0x3f2975(0x16a)](_0xde3c1d[_0x3f2975(0x14c)]||''),_0x5742c5[_0x3f2975(0x1b1)]()[_0x3f2975(0x130)]):_0x3f2975(0x154)!==_0xde3c1d[_0x3f2975(0x199)]&&_0x3f2975(0xfb)!==_0xde3c1d[_0x3f2975(0x199)]||_0x378d17[_0x3f2975(0x1b3)](_0x378d17[_0x3f2975(0xf0)](_0x5742c5[_0x3f2975(0x1b1)]())),_0x53a65e[_0x3f2975(0x153)](_0xde3c1d['id']),this[_0x3f2975(0x161)][_0x3f2975(0x11e)](_0xde3c1d['id']));}});}[_0x28cd29(0x19b)](_0x475798){const _0x322dcc=_0x28cd29,_0x4db6db=_0x147c02(this[_0x322dcc(0x178)]),_0x558095=this[_0x322dcc(0x1b8)](_0x475798);_0x4db6db[_0x322dcc(0x1aa)][_0x322dcc(0x170)](_0x1ec2ed=>{const _0xd69185=_0x322dcc;for(const _0x3b9522 of _0x558095)_0x1ec2ed[_0xd69185(0x153)](_0x3b9522['id']),this[_0xd69185(0x161)][_0xd69185(0x11e)](_0x3b9522['id']);});}[_0x28cd29(0x1b4)](){const _0x3614cf=_0x28cd29;return _0x147c02(this[_0x3614cf(0x178)]);}[_0x28cd29(0x1a5)](_0x303eee){const _0xd5d31b=_0x28cd29,_0x5e1d6f=Array[_0xd5d31b(0x19d)](this[_0xd5d31b(0x161)][_0xd5d31b(0x19a)]())[_0xd5d31b(0x124)](_0x1994c5=>_0x1994c5[_0xd5d31b(0x112)]===_0x303eee);if(!_0x5e1d6f[_0xd5d31b(0x1be)])return null;const _0x17e594=0x1===_0x5e1d6f[_0xd5d31b(0x1be)]?_0x5e1d6f[0x0]:this[_0xd5d31b(0xed)](_0x5e1d6f)[0x0],_0x2dcf33=_0x147c02(this[_0xd5d31b(0x178)]),_0x44c1ba=_0x2dcf33[_0xd5d31b(0x1aa)][_0xd5d31b(0x17c)][_0xd5d31b(0xe4)](_0x17e594['id']);if(!_0x44c1ba)return null;const _0x15cef9=_0x44c1ba[_0xd5d31b(0x1b1)](),_0x1b8a69=_0x2dcf33[_0xd5d31b(0x1a8)][_0xd5d31b(0x185)][_0xd5d31b(0x1c1)]();if(!_0x1b8a69||!_0x15cef9)return null;const _0x318cae=_0x1b8a69[_0xd5d31b(0x131)](_0xd5d31b(0xec)+_0x17e594['id']+'\x22]');return _0x318cae?{'modelRange':_0x15cef9,'domElement':_0x318cae}:null;}[_0x28cd29(0xf7)](_0x1cada2,_0x46f635){const _0x37e074=_0x28cd29,_0x320434=Array[_0x37e074(0x19d)](this[_0x37e074(0x161)][_0x37e074(0x182)]()),_0x2df57d=new Map();for(const _0x47bdca of _0x320434){const _0x82e359=_0x1cada2[_0x37e074(0x1aa)][_0x37e074(0x17c)][_0x37e074(0xe4)](_0x47bdca);if(!_0x82e359)continue;const _0x3fd98a=_0x82e359[_0x37e074(0x121)]()[_0x37e074(0x133)][0x0];_0x2df57d[_0x37e074(0x16f)](_0x3fd98a)||_0x2df57d[_0x37e074(0x11a)](_0x3fd98a,[]),_0x2df57d[_0x37e074(0xe4)](_0x3fd98a)[_0x37e074(0xe1)](_0x82e359);}const _0x5b7807=new Set();for(const _0x30160f of _0x1cada2[_0x37e074(0x1aa)][_0x37e074(0x18e)][_0x37e074(0x192)][_0x37e074(0x18d)]()){let _0x1e6e99=-0x1,_0x5c8f85=null;if(_0x37e074(0x15b)===_0x30160f[_0x37e074(0x199)])_0x5c8f85=new _0x4af4fe(_0x30160f[_0x37e074(0x163)],_0x30160f[_0x37e074(0x163)][_0x37e074(0x146)](_0x30160f[_0x37e074(0x1be)])),_0x1e6e99=_0x30160f[_0x37e074(0x163)][_0x37e074(0x133)][0x0];else{if(_0x37e074(0x17b)!==_0x30160f[_0x37e074(0x199)])continue;_0x5c8f85=new _0x4af4fe(_0x30160f[_0x37e074(0x163)]),_0x1e6e99=_0x30160f[_0x37e074(0x163)][_0x37e074(0x133)][0x0];}const _0x3ab644=_0x2df57d[_0x37e074(0xe4)](_0x1e6e99)||[];if(_0x3ab644[_0x37e074(0x1be)]){for(const _0x583b8e of _0x3ab644)if(_0x5c8f85[_0x37e074(0x13e)][_0x37e074(0x119)]===_0x583b8e[_0x37e074(0x1b1)]()[_0x37e074(0x13e)][_0x37e074(0x119)]&&(_0x37e074(0x15b)!==_0x30160f[_0x37e074(0x199)]||!_0x5c8f85[_0x37e074(0x1c0)](_0x583b8e[_0x37e074(0x1b1)]()))&&(_0x5c8f85[_0x37e074(0x19e)](_0x583b8e[_0x37e074(0x1b1)]())||_0x5c8f85[_0x37e074(0x130)][_0x37e074(0x103)](_0x583b8e[_0x37e074(0x1b1)]()[_0x37e074(0xe2)])||_0x5c8f85[_0x37e074(0xe2)][_0x37e074(0x103)](_0x583b8e[_0x37e074(0x1b1)]()[_0x37e074(0x130)]))){const _0x2df0cf=this[_0x37e074(0x15d)](_0x583b8e[_0x37e074(0x109)]);Array[_0x37e074(0x19d)](this[_0x37e074(0x161)][_0x37e074(0x19a)]())[_0x37e074(0x124)](_0x528f66=>_0x528f66[_0x37e074(0x112)]===_0x2df0cf[_0x37e074(0x112)])[_0x37e074(0x1b5)](_0x3a77ef=>_0x5b7807[_0x37e074(0x142)](_0x3a77ef['id']));}}}if(_0x5b7807[_0x37e074(0x139)]){for(const _0x4e97ed of _0x5b7807)_0x46f635[_0x37e074(0x153)](_0x4e97ed);return!0x0;}return!0x1;}[_0x28cd29(0x111)](_0x3c7276){const _0x247d02=_0x28cd29;for(const {name:_0x9747cf,data:_0x19ba77}of _0x3c7276[_0x247d02(0x1aa)][_0x247d02(0x18e)][_0x247d02(0x192)][_0x247d02(0x100)]()){if(!_0x9747cf[_0x247d02(0x155)](me))continue;const _0x5870a9=_0x19ba77[_0x247d02(0xff)],_0x3efd3a=_0x19ba77[_0x247d02(0x183)],_0x2bdee2=_0x5870a9&&_0x247d02(0x106)===_0x5870a9[_0x247d02(0x13e)][_0x247d02(0x119)],_0xefb11a=_0x3efd3a&&_0x247d02(0x106)===_0x3efd3a[_0x247d02(0x13e)][_0x247d02(0x119)];if(_0x2bdee2&&_0xefb11a)continue;const _0x3d034b=this[_0x247d02(0x15d)](_0x9747cf);this[_0x247d02(0x161)][_0x247d02(0xe4)](_0x9747cf)&&(_0xefb11a||!_0x3efd3a?this[_0x247d02(0x193)][_0x247d02(0xfa)](_0x247d02(0x1c4),{'markerId':_0x9747cf,'changeId':_0x3d034b[_0x247d02(0x112)]}):_0x2bdee2&&_0x3efd3a&&this[_0x247d02(0x193)][_0x247d02(0xfa)](_0x247d02(0x10f),{'markerId':_0x9747cf,'changeId':_0x3d034b[_0x247d02(0x112)]}));}}[_0x28cd29(0x15d)](_0x2f61d2){const _0x47e066=_0x28cd29,_0x3c2302=_0x2f61d2[_0x47e066(0x191)](':'),_0x438f33=(_0x3c2302[0x1]||'')[_0x47e066(0x191)]('_');return{'prefix':_0x3c2302[0x0],'groupId':_0x438f33[0x0],'suffix':_0x438f33[0x1]};}[_0x28cd29(0x144)](_0x21ec1e,_0x1dbb1,_0x2c1f33){const _0x17da45=_0x28cd29;if(_0x17da45(0x15b)===_0x21ec1e[_0x17da45(0x199)]){const _0x407a78=_0x21ec1e;return new _0xcc3b8c(this[_0x17da45(0x1b9)](_0x1dbb1[_0x17da45(0x10e)](_0x407a78[_0x17da45(0x163)][_0x17da45(0x19c)]),_0x2c1f33),_0x407a78[_0x17da45(0x1b7)],_0x407a78[_0x17da45(0x173)]);}if(_0x17da45(0x105)===_0x21ec1e[_0x17da45(0x199)]&&_0x21ec1e[_0x17da45(0x109)][_0x17da45(0x155)](_0x17da45(0x1ae))){const _0x288c55=_0x21ec1e;return new _0x2fa0df(_0x288c55[_0x17da45(0x109)],_0x288c55[_0x17da45(0xff)],this[_0x17da45(0x1bc)](_0x288c55[_0x17da45(0x183)],_0x1dbb1[_0x17da45(0x10e)](_0x288c55[_0x17da45(0x183)][_0x17da45(0x130)][_0x17da45(0x19c)]),_0x1dbb1[_0x17da45(0x10e)](_0x288c55[_0x17da45(0x183)][_0x17da45(0xe2)][_0x17da45(0x19c)]),_0x2c1f33),_0x288c55[_0x17da45(0x161)],_0x288c55[_0x17da45(0x12e)],_0x288c55[_0x17da45(0x173)]);}return _0x21ec1e;}[_0x28cd29(0x116)](_0xe767b9){const _0x56bbdd=_0x28cd29;if(!_0xe767b9[_0x56bbdd(0x1be)])return[];const _0x471062=[];let _0x53d749=0x0,_0x17226f=0x0,_0x4ffc24=[];for(let _0x5227ba=0x0;_0x5227ba<=_0xe767b9[_0x56bbdd(0x1be)];_0x5227ba++){const _0x37db9d=_0xe767b9[_0x5227ba],_0x18b6c2=_0xe767b9[_0x5227ba-0x1];!_0x37db9d||_0x18b6c2&&!this[_0x56bbdd(0xea)](_0x18b6c2)[_0x56bbdd(0x103)](this[_0x56bbdd(0x176)](_0x37db9d))?(_0x471062[_0x56bbdd(0xe1)]({'operations':_0x4ffc24,'operationsIsolated':_0x4ffc24[_0x56bbdd(0x160)](_0x3bc27f=>this[_0x56bbdd(0x132)](_0x3bc27f[_0x56bbdd(0x17d)](),-_0x17226f)),'groupOffset':_0x53d749}),_0x4ffc24=_0x37db9d?[_0x37db9d]:[],_0x17226f+=_0x53d749,_0x53d749=0x0):_0x4ffc24[_0x56bbdd(0xe1)](_0x37db9d),_0x37db9d&&_0x56bbdd(0x15b)===_0x37db9d[_0x56bbdd(0x199)]&&(_0x53d749+=_0x37db9d[_0x56bbdd(0x165)]);}return _0x471062;}[_0x28cd29(0x1b6)](_0x31d9ed,_0x236ae1,_0x44ac60,_0x2f926a=0x1){const _0x444858=_0x28cd29,_0x154065=new _0xfa2a36({'startPosition':_0x31d9ed,'direction':_0x236ae1});let _0x190012=0x0;for(let _0x59f8ca=0x0;_0x59f8ca<_0x2f926a;_0x59f8ca++){let _0x13ed4e=0x0,_0x5ced92=!0x1,_0x3e39fc=_0x444858(0x12d)===_0x236ae1?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x16abd3}of _0x154065)if(_0x16abd3['is'](_0x444858(0x16e))){const _0x566163=_0x3e39fc[_0x444858(0x16c)](_0x16abd3[_0x444858(0x1bb)]);if(_0x566163&&_0x566163[_0x444858(0x1be)]){if(_0x13ed4e+=_0x444858(0x12d)===_0x236ae1?_0x566163[_0x444858(0x18a)]+_0x566163[0x0][_0x444858(0x1be)]:_0x16abd3[_0x444858(0x1bb)][_0x444858(0x1be)]-_0x566163[_0x444858(0x18a)],_0x566163[0x0][_0x444858(0x1be)]!==_0x16abd3[_0x444858(0x1bb)][_0x444858(0x1be)])break;_0x5ced92=!0x0,_0x3e39fc=_0x444858(0x12d)===_0x236ae1?/^\w+/:/\w+$/;}else{if(_0x5ced92)break;_0x13ed4e+=_0x16abd3[_0x444858(0x102)];}}else{if(_0x16abd3['is'](_0x444858(0x169))){_0x44ac60[_0x444858(0x196)](_0x16abd3)&&!_0x5ced92&&(_0x13ed4e+=0x1);break;}}_0x190012+=_0x13ed4e,_0x154065[_0x444858(0x1ad)](_0x31d9ed[_0x444858(0x146)](_0x444858(0x12d)===_0x236ae1?_0x190012:-_0x190012));}return _0x190012;}[_0x28cd29(0x15e)](_0x7636e8,_0x59df46){const _0x47de87=_0x28cd29,_0xc0906b=_0x147c02(this[_0x47de87(0x178)])[_0x47de87(0x1aa)][_0x47de87(0x13c)],_0x5375d8=this[_0x47de87(0x1b6)](_0x7636e8,_0x47de87(0xe0),_0xc0906b,0x6),_0x2c7fe2=this[_0x47de87(0x1b6)](_0x59df46,_0x47de87(0x12d),_0xc0906b,0x6),_0x586c07=_0x7636e8[_0x47de87(0x146)](-_0x5375d8),_0x298d73=_0x59df46[_0x47de87(0x146)](_0x2c7fe2);return{'start':_0x586c07,'end':_0x298d73,'hasContentBefore':!_0x586c07[_0x47de87(0x17a)],'hasContentAfter':!_0x298d73[_0x47de87(0x150)]};}[_0x28cd29(0x113)](_0x115dbf){const _0x45e10b=_0x28cd29,_0x4dfc02=this[_0x45e10b(0x178)][_0x45e10b(0x1b2)][_0x45e10b(0xe4)](_0x45e10b(0x188)),_0x23b827=new Set();_0x147c02(this[_0x45e10b(0x178)])[_0x45e10b(0x1aa)][_0x45e10b(0x170)](_0x5742b6=>{const _0x3799d9=_0x45e10b;for(const _0xec4fd of _0x115dbf){const _0x3822ff=''+me+_0xec4fd[_0x3799d9(0x199)]+':'+_0xec4fd[_0x3799d9(0x112)]+'_'+_0x4dfc02[_0x3799d9(0xe7)](_0x23b827);this[_0x3799d9(0x161)][_0x3799d9(0x11a)](_0x3822ff,{'id':_0x3822ff,'groupId':_0xec4fd[_0x3799d9(0x112)],'type':_0xec4fd[_0x3799d9(0x199)],'text':_0xec4fd[_0x3799d9(0x14c)]}),_0x5742b6[_0x3799d9(0xda)](_0x3822ff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5742b6[_0x3799d9(0x13f)](_0xec4fd[_0x3799d9(0x130)],_0xec4fd[_0x3799d9(0xe2)])});}});}[_0x28cd29(0xdf)](_0x456d21,_0x160e82,_0xda189a){let _0x52b998='';return()=>{const _0x1fef8a=_0x222a;if(!_0x52b998){const _0x5e4201=_0x160e82[_0x1fef8a(0xf5)](_0x456d21,{'showSuggestionHighlights':!0x0}),_0x327435=_0x5e4201[_0x1fef8a(0x197)](0x0);if(!_0x327435)return'';let _0xed8edf=!0x1;const _0x2b6692=[];for(const _0x278175 of _0x327435[_0x1fef8a(0x172)]())_0x278175['is'](_0x1fef8a(0x169),_0x1fef8a(0x1a7))&&_0x278175[_0x1fef8a(0x14a)](_0x1fef8a(0x19f))&&(_0xed8edf=!0x1),_0xed8edf&&_0x2b6692[_0x1fef8a(0xe1)](_0x278175),_0x278175['is'](_0x1fef8a(0x169),_0x1fef8a(0x1a7))&&_0x278175[_0x1fef8a(0x14a)](_0x1fef8a(0x117))&&(_0xed8edf=!0x0);_0x327435[_0x1fef8a(0x128)](0x0,_0x327435[_0x1fef8a(0x177)]),_0xda189a?.[_0x1fef8a(0x12c)]&&_0x327435[_0x1fef8a(0x18c)]('…'),_0x327435[_0x1fef8a(0x18c)](_0x2b6692),_0xda189a?.[_0x1fef8a(0x134)]&&_0x327435[_0x1fef8a(0x18c)]('…');const _0x4bec12=_0x160e82[_0x1fef8a(0x14e)][_0x1fef8a(0x12a)][_0x1fef8a(0x14d)](_0x5e4201),_0x1b5f40=_0x160e82[_0x1fef8a(0x14e)][_0x1fef8a(0x1a9)][_0x1fef8a(0x137)](_0x4bec12);_0x52b998=_0x1b5f40;}return _0x52b998;};}[_0x28cd29(0x1c5)](_0x2a87d3,_0x40d287){const _0x5d6d8a=_0x28cd29;let _0x5332dc='';return()=>(_0x5332dc||(_0x5332dc=_0x40d287[_0x5d6d8a(0x115)](_0x2a87d3,{'showSuggestionHighlights':!0x0})),_0x5332dc);}[_0x28cd29(0xe5)](_0x39d3b0,_0x5e2178,_0x6689a6){let _0x139954='';return()=>{const _0x715e6=_0x222a;if(!_0x139954){const _0x4a8846=_0x6689a6[_0x715e6(0xf5)](new _0x234b28(_0x39d3b0)),_0xf9345c=_0x6689a6[_0x715e6(0x14e)][_0x715e6(0x12a)][_0x715e6(0x14d)](_0x4a8846)[_0x715e6(0x131)](_0x715e6(0x168)+_0x5e2178+'\x22]');_0x139954=_0xf9345c?.[_0x715e6(0x12f)]||'';}return _0x139954;};}[_0x28cd29(0x14b)](_0x5741cc,_0x24e7d3=0x5){const _0x57c5cf=_0x28cd29;let _0x1ee6fb=_0x5741cc,_0xf37c62=null;for(let _0x303ea4=0x0;_0x303ea4<_0x24e7d3&&_0x1ee6fb;_0x303ea4++){if(!_0x1ee6fb[_0x57c5cf(0x13b)]){_0x1ee6fb=_0x1ee6fb[_0x57c5cf(0x198)];continue;}if(!(''+_0x1ee6fb[_0x57c5cf(0x13b)])[_0x57c5cf(0xdb)](_0x57c5cf(0x171))){_0x1ee6fb=_0x1ee6fb[_0x57c5cf(0x198)];continue;}if(!_0x1ee6fb[_0x57c5cf(0xde)](_0x57c5cf(0x129)))break;_0xf37c62=_0x1ee6fb;break;}return _0xf37c62;}[_0x28cd29(0x1b8)](_0x5a7646){const _0xf5524b=_0x28cd29;return Array[_0xf5524b(0x19d)](this[_0xf5524b(0x161)][_0xf5524b(0x19a)]())[_0xf5524b(0x124)](_0x267f0a=>_0x267f0a[_0xf5524b(0x112)]===_0x5a7646);}[_0x28cd29(0x176)](_0x25d713){const _0x4c59cf=_0x28cd29;return _0x4c59cf(0x15b)===_0x25d713[_0x4c59cf(0x199)]?_0x25d713[_0x4c59cf(0x163)]:_0x25d713[_0x4c59cf(0x183)][_0x4c59cf(0x130)];}[_0x28cd29(0xea)](_0x4bc513,_0x3e4362=!0x1){const _0xfdb6be=_0x28cd29;return _0xfdb6be(0x15b)===_0x4bc513[_0xfdb6be(0x199)]?_0x3e4362?_0x4bc513[_0xfdb6be(0x163)]:_0x4bc513[_0xfdb6be(0x163)][_0xfdb6be(0x146)](_0x4bc513[_0xfdb6be(0x165)]):_0x4bc513[_0xfdb6be(0x183)][_0xfdb6be(0xe2)];}[_0x28cd29(0x132)](_0x5b6d52,_0x1c2277){const _0x5b424c=_0x28cd29;return _0x5b424c(0x15b)===_0x5b6d52[_0x5b424c(0x199)]?_0x5b6d52[_0x5b424c(0x163)]=_0x5b6d52[_0x5b424c(0x163)][_0x5b424c(0x146)](_0x1c2277):_0x5b424c(0x105)===_0x5b6d52[_0x5b424c(0x199)]&&_0x5b6d52[_0x5b424c(0x183)]&&(_0x5b6d52[_0x5b424c(0x183)]=new _0x4af4fe(_0x5b6d52[_0x5b424c(0x183)][_0x5b424c(0x130)][_0x5b424c(0x146)](_0x1c2277),_0x5b6d52[_0x5b424c(0x183)][_0x5b424c(0xe2)][_0x5b424c(0x146)](_0x1c2277))),_0x5b6d52;}[_0x28cd29(0x122)](_0x3f82e9,_0x18eb9a){const _0x5385cd=_0x28cd29;_0x5385cd(0x15b)===_0x3f82e9[_0x5385cd(0x199)]?_0x3f82e9[_0x5385cd(0x163)]=this[_0x5385cd(0x187)](_0x3f82e9[_0x5385cd(0x163)],_0x18eb9a):_0x5385cd(0x105)===_0x3f82e9[_0x5385cd(0x199)]&&_0x3f82e9[_0x5385cd(0x183)]&&(_0x3f82e9[_0x5385cd(0x183)]=this[_0x5385cd(0x1c6)](_0x3f82e9[_0x5385cd(0x183)],_0x18eb9a));}[_0x28cd29(0x187)](_0x4e3d12,_0x5af9f3){const _0x2899e5=_0x28cd29;return new _0x3c6d10(_0x5af9f3,_0x4e3d12[_0x2899e5(0x133)]);}[_0x28cd29(0x1c6)](_0x140d16,_0x3635f6){const _0x1f5ac0=_0x28cd29;return new _0x4af4fe(this[_0x1f5ac0(0x187)](_0x140d16[_0x1f5ac0(0x130)],_0x3635f6),this[_0x1f5ac0(0x187)](_0x140d16[_0x1f5ac0(0xe2)],_0x3635f6));}[_0x28cd29(0x1b9)](_0x1fa199,_0x520f00){return new _0x3c6d10(_0x520f00,[..._0x1fa199]);}[_0x28cd29(0x1bc)](_0x1af65e,_0x4d112a,_0x3999c1,_0x3e71be){const _0x39eed1=_0x28cd29;return new _0x4af4fe(this[_0x39eed1(0x1b9)](_0x4d112a,_0x3e71be),this[_0x39eed1(0x1b9)](_0x3999c1,_0x3e71be));}[_0x28cd29(0xed)](_0x11b428){const _0x4b209b=_0x28cd29,_0x2b7292=_0x266c6e=>{const _0x54e1ed=_0x222a;switch(_0x266c6e){case _0x54e1ed(0x15b):return 0x1;case _0x54e1ed(0x136):return 0x2;case _0x54e1ed(0xfb):return 0x3;case _0x54e1ed(0x154):return 0x4;}};return _0x11b428[_0x4b209b(0x1b0)]((_0xa2c64e,_0x8db866)=>_0x2b7292(_0xa2c64e[_0x4b209b(0x199)])-_0x2b7292(_0x8db866[_0x4b209b(0x199)]));}[_0x28cd29(0x17e)](_0x3a2e9c,_0x1aefe3){const _0x3e7f20=_0x28cd29,_0x3eb1a9=_0x3a2e9c[_0x3e7f20(0x197)](0x0),_0x2e172c=_0x1aefe3[_0x3e7f20(0x197)](0x0);return!(!_0x3eb1a9||!_0x2e172c)&&((!_0x3eb1a9['is'](_0x3e7f20(0x169))||!_0x2e172c['is'](_0x3e7f20(0x169))||_0x3eb1a9[_0x3e7f20(0x109)]===_0x2e172c[_0x3e7f20(0x109)])&&!(_0x3eb1a9['is'](_0x3e7f20(0x169))&&!_0x2e172c['is'](_0x3e7f20(0x169))||!_0x3eb1a9['is'](_0x3e7f20(0x169))&&_0x2e172c['is'](_0x3e7f20(0x169))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3623ed=_0x3a23;function _0x42d6(){const _0x250e14=['find','setCheckResultTitle','leaveReviewModeResultList','addTab','reviewCheckListView','view','showChunkErrorView','showCheckRunResult','forEach','showResult','_reviewModeView','get','AI_REVIEW_MODE','hideResult','retryReview','acceptAllChanges','_reviewModeBalloonSuggestionItemView','requires','showReviewCompletedView','hasChecks','hideBalloon','36oVUtwm','addCheckRunResult','status','showGeneralErrorView','showNoChangesView','showCheckRunResults','detachFromDom','isOfficialPlugin','leaveReviewMode','AIReviewModeUI','showActionsWhenResultIsReady','fire','acceptChange','plugins','3ULcsDm','showBalloon','setAvailableChecks','3346063NrwJGY','1933960nGtgCL','setActiveStateInResults','setChecks','learnMore','runReviewCheck','context','6117792ANAljE','element','locale','4708wOYaVh','setTitle','reviewCheckResultsView','delegate','hideChangeBalloon','resetActiveStateInResults','hideActionsWhenResultIsReady','toggleDiff','rejected','reviewMode','showChangeBalloon','pluginName','dismissChange','2860972JkNMHZ','23135690fzSrGk','hideDiffInBalloon','error-general','getResults','outdated','deactivateChange','abortReviewStream','attachToDom','showDiffInBalloon','activateChange','finishReview','getChangeElement','setItemAsActive','activateTab','setItemAsInactive','getReviewCheckList','showReviewCheckResultsView','21iHLsBD','AITabs','accepted','init','destroy','error-chunk','showReviewCheckList','_bodyCollection','updateChangeState','407464EERmiW','isPremiumPlugin','showReviewCheckListView'];_0x42d6=function(){return _0x250e14;};return _0x42d6();}(function(_0x46969e,_0x5e74b5){const _0xd1b686=_0x3a23,_0x212e16=_0x46969e();while(!![]){try{const _0x1c6381=parseInt(_0xd1b686(0x217))/0x1*(parseInt(_0xd1b686(0x1f8))/0x2)+-parseInt(_0xd1b686(0x1eb))/0x3*(parseInt(_0xd1b686(0x205))/0x4)+-parseInt(_0xd1b686(0x1ef))/0x5+-parseInt(_0xd1b686(0x1f5))/0x6+parseInt(_0xd1b686(0x1ee))/0x7+-parseInt(_0xd1b686(0x220))/0x8*(parseInt(_0xd1b686(0x1dd))/0x9)+parseInt(_0xd1b686(0x206))/0xa;if(_0x1c6381===_0x5e74b5)break;else _0x212e16['push'](_0x212e16['shift']());}catch(_0xea23b9){_0x212e16['push'](_0x212e16['shift']());}}}(_0x42d6,0x7de1d));import{ContextPlugin as _0x3d1969}from'ckeditor5/src/core.js';import{IconAIReview as _0x1497c5}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5878be}from'ckeditor5/src/ui.js';import{AITabs as _0x24b18c}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x5f3ed1}from'./ui/aireviewmodeview.js';import{getTranslation as _0x36c14e}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x353c0a}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';function _0x3a23(_0x174a49,_0x5ef359){const _0x42d64c=_0x42d6();return _0x3a23=function(_0x3a2324,_0xfd8973){_0x3a2324=_0x3a2324-0x1d3;let _0xa18664=_0x42d64c[_0x3a2324];return _0xa18664;},_0x3a23(_0x174a49,_0x5ef359);}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x3623ed(0x215),_0x3623ed(0x1f3),_0x3623ed(0x20c),_0x3623ed(0x1ff),_0x3623ed(0x1d7),_0x3623ed(0x225),_0x3623ed(0x20f),_0x3623ed(0x1e9),_0x3623ed(0x204),_0x3623ed(0x1f2),_0x3623ed(0x210),_0x3623ed(0x1d6)];export class AIReviewModeUI extends _0x3d1969{[_0x3623ed(0x22d)];[_0x3623ed(0x1d8)];[_0x3623ed(0x21e)];static get[_0x3623ed(0x1d9)](){return[_0x24b18c];}static get[_0x3623ed(0x203)](){const _0x382442=_0x3623ed;return _0x382442(0x1e6);}static get[_0x3623ed(0x1e4)](){return!0x0;}static get[_0x3623ed(0x221)](){return!0x0;}constructor(_0x4a38ab){const _0x44c41c=_0x3623ed;super(_0x4a38ab),this[_0x44c41c(0x21e)]=new _0x5878be(this[_0x44c41c(0x1f4)][_0x44c41c(0x1f7)]),this[_0x44c41c(0x21e)][_0x44c41c(0x20d)](),this[_0x44c41c(0x22d)]=new _0x5f3ed1(this[_0x44c41c(0x1f4)][_0x44c41c(0x1f7)]),this[_0x44c41c(0x22d)][_0x44c41c(0x1fb)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x44c41c(0x1d8)]=new _0x353c0a(this[_0x44c41c(0x1f4)][_0x44c41c(0x1f7)],this[_0x44c41c(0x21e)]),this[_0x44c41c(0x1d8)][_0x44c41c(0x1fb)](_0x44c41c(0x1e9),_0x44c41c(0x204),_0x44c41c(0x20b))['to'](this);}[_0x3623ed(0x21a)](){const _0x20b51f=_0x3623ed,_0x52cdff=this[_0x20b51f(0x1f4)][_0x20b51f(0x1ea)][_0x20b51f(0x1d3)](_0x20b51f(0x218));_0x52cdff[_0x20b51f(0x228)]['on'](_0x20b51f(0x213),(_0x4e5640,_0x28a613)=>{const _0x201225=_0x20b51f;_0x201225(0x201)===_0x28a613?this[_0x201225(0x1e8)](_0x201225(0x215)):this[_0x201225(0x1e8)](_0x201225(0x1e5));}),_0x52cdff[_0x20b51f(0x228)][_0x20b51f(0x226)]({'id':_0x20b51f(0x201),'buttonLabel':_0x36c14e(this[_0x20b51f(0x1f4)][_0x20b51f(0x1f7)],_0x20b51f(0x1d4)),'buttonIcon':_0x1497c5,'order':0x0,'content':this[_0x20b51f(0x22d)]});}[_0x3623ed(0x21b)](){const _0x267a6c=_0x3623ed;this[_0x267a6c(0x21e)][_0x267a6c(0x1e3)](),super[_0x267a6c(0x21b)]();}[_0x3623ed(0x1ed)](_0x2aa791){const _0x87f97b=_0x3623ed;this[_0x87f97b(0x22d)][_0x87f97b(0x227)][_0x87f97b(0x1db)]()||this[_0x87f97b(0x22d)][_0x87f97b(0x227)][_0x87f97b(0x1f1)](_0x2aa791),this[_0x87f97b(0x22d)][_0x87f97b(0x222)]();}[_0x3623ed(0x21d)](){const _0x178cbe=_0x3623ed;this[_0x178cbe(0x1e8)](_0x178cbe(0x215));}[_0x3623ed(0x1e2)](_0xc749f7){const _0x56abcb=_0x3623ed;_0xc749f7&&(_0x56abcb(0x208)!==_0xc749f7[_0x56abcb(0x1df)]?_0x56abcb(0x21c)!==_0xc749f7[_0x56abcb(0x1df)]?this[_0x56abcb(0x22d)][_0x56abcb(0x216)]():this[_0x56abcb(0x229)]():this[_0x56abcb(0x1e0)]());}[_0x3623ed(0x22a)](_0x3bf0bf){const _0x30e58d=_0x3623ed;this[_0x30e58d(0x22d)][_0x30e58d(0x1de)](_0x3bf0bf);}[_0x3623ed(0x1e0)](){const _0x200ddf=_0x3623ed;this[_0x200ddf(0x22d)][_0x200ddf(0x1e0)]();}[_0x3623ed(0x229)](){const _0x21e298=_0x3623ed;this[_0x21e298(0x22d)][_0x21e298(0x229)]();}[_0x3623ed(0x224)](_0x41c8ff,_0x2cbeeb){const _0x2e500c=_0x3623ed;this[_0x2e500c(0x22d)][_0x2e500c(0x1fa)][_0x2e500c(0x1f9)](_0x41c8ff,_0x2cbeeb);}[_0x3623ed(0x1f0)](_0xfc1e15){const _0xb7db7f=_0x3623ed;this[_0xb7db7f(0x22d)][_0xb7db7f(0x1fa)][_0xb7db7f(0x209)]()[_0xb7db7f(0x22b)](_0x5d8049=>{const _0x3d83e2=_0xb7db7f;_0x5d8049['id']===_0xfc1e15&&_0x5d8049[_0x3d83e2(0x212)]();});}[_0x3623ed(0x1fd)](){const _0x50adc9=_0x3623ed;this[_0x50adc9(0x22d)][_0x50adc9(0x1fa)][_0x50adc9(0x209)]()[_0x50adc9(0x22b)](_0x8734f5=>_0x8734f5[_0x50adc9(0x214)]());}[_0x3623ed(0x21f)](_0x16f70f,_0x4a1ebe){const _0x1f8501=_0x3623ed;_0x1f8501(0x219)===_0x4a1ebe||_0x1f8501(0x200)===_0x4a1ebe||_0x1f8501(0x20a)===_0x4a1ebe?this[_0x1f8501(0x22d)][_0x1f8501(0x1fa)][_0x1f8501(0x1d5)](_0x16f70f,_0x4a1ebe):this[_0x1f8501(0x22d)][_0x1f8501(0x1fa)][_0x1f8501(0x22c)](_0x16f70f,_0x4a1ebe);}[_0x3623ed(0x1da)](){const _0x242768=_0x3623ed;this[_0x242768(0x22d)][_0x242768(0x1da)]();}[_0x3623ed(0x1e7)](){const _0x1109a1=_0x3623ed;this[_0x1109a1(0x22d)][_0x1109a1(0x1e7)]();}[_0x3623ed(0x1e1)](){const _0x347b9d=_0x3623ed;this[_0x347b9d(0x22d)][_0x347b9d(0x1e1)]();}[_0x3623ed(0x1fe)](){const _0x12e930=_0x3623ed;this[_0x12e930(0x22d)][_0x12e930(0x1fe)]();}[_0x3623ed(0x202)](_0x1b8fb3,_0x57fb1e){const _0x2401b1=_0x3623ed;this[_0x2401b1(0x1d8)][_0x2401b1(0x1ec)](_0x1b8fb3,_0x57fb1e);}[_0x3623ed(0x1fc)](){const _0x47083f=_0x3623ed;this[_0x47083f(0x1d8)][_0x47083f(0x1dc)]();}[_0x3623ed(0x207)](){const _0x18edd5=_0x3623ed;this[_0x18edd5(0x1d8)][_0x18edd5(0x207)]();}[_0x3623ed(0x20e)](){const _0x54401a=_0x3623ed;this[_0x54401a(0x1d8)][_0x54401a(0x20e)]();}[_0x3623ed(0x211)](_0x183134){const _0x215c73=_0x3623ed,_0x2115f1=this[_0x215c73(0x22d)][_0x215c73(0x1fa)][_0x215c73(0x209)]()[_0x215c73(0x223)](_0x16c008=>_0x16c008['id']===_0x183134);return _0x2115f1?_0x2115f1[_0x215c73(0x1f6)]:null;}[_0x3623ed(0x20b)](){const _0x12097c=_0x3623ed;this[_0x12097c(0x1d8)][_0x12097c(0x20b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x421afc=_0x4598;(function(_0xcc8ab7,_0x2e7044){var _0x3b5f14=_0x4598,_0x163edc=_0xcc8ab7();while(!![]){try{var _0xba8ec3=parseInt(_0x3b5f14(0x1fc))/0x1+parseInt(_0x3b5f14(0x1fd))/0x2+parseInt(_0x3b5f14(0x1f2))/0x3+-parseInt(_0x3b5f14(0x1f3))/0x4+-parseInt(_0x3b5f14(0x1f5))/0x5*(parseInt(_0x3b5f14(0x1fe))/0x6)+parseInt(_0x3b5f14(0x1f9))/0x7+-parseInt(_0x3b5f14(0x1f6))/0x8*(parseInt(_0x3b5f14(0x1ff))/0x9);if(_0xba8ec3===_0x2e7044)break;else _0x163edc['push'](_0x163edc['shift']());}catch(_0x4b8e98){_0x163edc['push'](_0x163edc['shift']());}}}(_0x110f,0xc3be2));function _0x4598(_0x48987a,_0x5934b2){var _0x110fe1=_0x110f();return _0x4598=function(_0x4598a8,_0x336488){_0x4598a8=_0x4598a8-0x1f2;var _0x33c33d=_0x110fe1[_0x4598a8];return _0x33c33d;},_0x4598(_0x48987a,_0x5934b2);}function _0x110f(){var _0x118fc0=['title','5KPdtXk','568OVJMQH','options','description','5632942gkOQst','useArgs','isParameterized','285855JCsgDQ','523124YoJBPw','467184hRrUUb','4509SrUUrG','1617960GPoJVV','3904984ArFwdk'];_0x110f=function(){return _0x118fc0;};return _0x110f();}export class AIReviewCheck{['id'];[_0x421afc(0x1f4)];[_0x421afc(0x1f8)];[_0x421afc(0x1fb)];[_0x421afc(0x1fa)];[_0x421afc(0x1f7)];constructor({id:_0x1bc165,title:_0x190253,description:_0xee51e7,isParameterized:_0x3082a4,useArgs:_0xf2eb09,options:_0x530248}){var _0x5b3ace=_0x421afc;this['id']=_0x1bc165,this[_0x5b3ace(0x1f4)]=_0x190253,this[_0x5b3ace(0x1f8)]=_0xee51e7,this[_0x5b3ace(0x1fb)]=_0x3082a4,this[_0x5b3ace(0x1fa)]=_0xf2eb09,this[_0x5b3ace(0x1f7)]=_0x530248;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0xc1b212=_0x575f;function _0x24d1(){var _0x4c9e1c=['3689yrQsFB','5736992ArHnDI','8923705bSXWro','1170WLLxgS','1958832yQpakK','_models','1025128RcyjDl','2WBxpQp','357843gapAmi','models','29309490QfBKdE'];_0x24d1=function(){return _0x4c9e1c;};return _0x24d1();}(function(_0x480b4b,_0x5ae2a6){var _0x387c38=_0x575f,_0x3db7d4=_0x480b4b();while(!![]){try{var _0x4eaf49=-parseInt(_0x387c38(0xf0))/0x1+parseInt(_0x387c38(0xf1))/0x2*(parseInt(_0x387c38(0xf2))/0x3)+-parseInt(_0x387c38(0xee))/0x4+-parseInt(_0x387c38(0xec))/0x5+parseInt(_0x387c38(0xed))/0x6*(parseInt(_0x387c38(0xea))/0x7)+parseInt(_0x387c38(0xeb))/0x8+parseInt(_0x387c38(0xf4))/0x9;if(_0x4eaf49===_0x5ae2a6)break;else _0x3db7d4['push'](_0x3db7d4['shift']());}catch(_0x299667){_0x3db7d4['push'](_0x3db7d4['shift']());}}}(_0x24d1,0xdaccb));function _0x575f(_0x5b17c3,_0x1d93fb){var _0x24d16e=_0x24d1();return _0x575f=function(_0x575fc0,_0x3d4f8e){_0x575fc0=_0x575fc0-0xea;var _0x23f822=_0x24d16e[_0x575fc0];return _0x23f822;},_0x575f(_0x5b17c3,_0x1d93fb);}import{AIReviewCheck as _0x3bc3a7}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x3bc3a7{[_0xc1b212(0xef)]=[];get[_0xc1b212(0xf3)](){var _0x4a9b84=_0xc1b212;return this[_0x4a9b84(0xef)];}set[_0xc1b212(0xf3)](_0x482127){var _0x1fbe70=_0xc1b212;this[_0x1fbe70(0xef)]=_0x482127;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4e74c1=_0x2371;(function(_0x30e886,_0x3d4c89){var _0x188f15=_0x2371,_0x1e1771=_0x30e886();while(!![]){try{var _0x54ed10=parseInt(_0x188f15(0xc2))/0x1+-parseInt(_0x188f15(0xba))/0x2+parseInt(_0x188f15(0xc4))/0x3+-parseInt(_0x188f15(0xc9))/0x4+parseInt(_0x188f15(0xc8))/0x5*(parseInt(_0x188f15(0xc5))/0x6)+parseInt(_0x188f15(0xbc))/0x7*(parseInt(_0x188f15(0xc1))/0x8)+-parseInt(_0x188f15(0xbd))/0x9*(-parseInt(_0x188f15(0xc7))/0xa);if(_0x54ed10===_0x3d4c89)break;else _0x1e1771['push'](_0x1e1771['shift']());}catch(_0x6d45d6){_0x1e1771['push'](_0x1e1771['shift']());}}}(_0xa762,0x75d92));function _0x2371(_0x228e2a,_0x85af0d){var _0xa76230=_0xa762();return _0x2371=function(_0x2371a5,_0x43b971){_0x2371a5=_0x2371a5-0xb9;var _0x31c449=_0xa76230[_0x2371a5];return _0x31c449;},_0x2371(_0x228e2a,_0x85af0d);}import{ObservableMixin as _0x3b54c4}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x1daf90}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x111551}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x3b54c4(){[_0x4e74c1(0xc6)];constructor(_0x5c7f52){var _0x1d6132=_0x4e74c1;super(),this[_0x1d6132(0xc6)]=this[_0x1d6132(0xbb)](_0x5c7f52);}get[_0x4e74c1(0xbe)](){var _0x3cf8c=_0x4e74c1;return this[_0x3cf8c(0xc6)];}[_0x4e74c1(0xbf)](_0x3e2aa1){var _0x526e7d=_0x4e74c1;return this[_0x526e7d(0xbe)][_0x526e7d(0xc3)](_0x38f51e=>_0x38f51e['id']===_0x3e2aa1);}[_0x4e74c1(0xbb)](_0x123d45){var _0x284af9=_0x4e74c1;return _0x123d45[_0x284af9(0xb9)](_0x13ae18=>_0x284af9(0xc0)===_0x13ae18['id']?new _0x111551(_0x13ae18):new _0x1daf90(_0x13ae18));}}function _0xa762(){var _0xe65f3=['map','362670PIzDux','_mapCheckDefinitions','140JGiEWU','1314sIEJKz','checks','getCheckById','custom','145256JCYXoh','654661SQzCQA','find','386745EzvHXY','48894awZthk','_checks','30590Ctpmlh','5PudhhC','3749752gwTMzu'];_0xa762=function(){return _0xe65f3;};return _0xa762();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x30b9(_0x5b1c53,_0x3b5911){var _0x3ff109=_0x3ff1();return _0x30b9=function(_0x30b931,_0x43d4be){_0x30b931=_0x30b931-0x19f;var _0x133e0b=_0x3ff109[_0x30b931];return _0x133e0b;},_0x30b9(_0x5b1c53,_0x3b5911);}var _0x2f51f7=_0x30b9;(function(_0x404e86,_0x3ab6db){var _0x391d9b=_0x30b9,_0x4a9784=_0x404e86();while(!![]){try{var _0x4b021f=-parseInt(_0x391d9b(0x1a4))/0x1+parseInt(_0x391d9b(0x1a2))/0x2+-parseInt(_0x391d9b(0x1a9))/0x3+parseInt(_0x391d9b(0x1a5))/0x4+-parseInt(_0x391d9b(0x1a0))/0x5*(-parseInt(_0x391d9b(0x1a7))/0x6)+-parseInt(_0x391d9b(0x1a6))/0x7+parseInt(_0x391d9b(0x19f))/0x8;if(_0x4b021f===_0x3ab6db)break;else _0x4a9784['push'](_0x4a9784['shift']());}catch(_0x35885c){_0x4a9784['push'](_0x4a9784['shift']());}}}(_0x3ff1,0xab73e));import{EmitterMixin as _0x4a8ce7}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4a8ce7(){['id'];[_0x2f51f7(0x1a3)];[_0x2f51f7(0x1a8)];[_0x2f51f7(0x1a1)];constructor({id:_0x2bd04f,contentNew:_0x153543,contentInitial:_0x4379de,documentVersion:_0x17a25e}){var _0x347ae9=_0x2f51f7;super(),this['id']=_0x2bd04f,this[_0x347ae9(0x1a3)]=_0x153543,this[_0x347ae9(0x1a8)]=_0x4379de,this[_0x347ae9(0x1a1)]=_0x17a25e;}}function _0x3ff1(){var _0x2477b6=['1392111rerHsB','6537112sxVmgE','437305PTTkPZ','documentVersion','2734008qsNtsI','contentNew','1186073XnYRbd','436112WbpRQw','197764zemWUe','6wiqiAs','contentInitial'];_0x3ff1=function(){return _0x2477b6;};return _0x3ff1();}
|