@ckeditor/ckeditor5-ai 47.0.0-alpha.4 → 47.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/ckeditor5-metadata.json +14 -0
- package/dist/index-editor.css +27 -3
- package/dist/index.css +28 -3
- package/dist/index.js +4 -4
- 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/lang/contexts.json +1 -0
- 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.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +2 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
- 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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.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 +1 -1
- 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/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.d.ts +35 -0
- package/src/aieditorintegration/aieditorintegration.js +23 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.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/aireviewmodels.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/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/aireviewmodeformamanager.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.d.ts +6 -0
- 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/augmentation.d.ts +6 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls.css +6 -0
- package/theme/aichat/aichat.css +2 -0
- package/theme/aichat/aisuggestioncontainer.css +8 -2
- package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
- package/theme/aireviewmode/aireviewmode-check-run-result.css +5 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x488e21=_0x55c6;(function(_0x140f24,_0x403f20){const _0x44d378=_0x55c6,_0x5754c6=_0x140f24();while(!![]){try{const _0x242479=parseInt(_0x44d378(0x194))/0x1+parseInt(_0x44d378(0x1d5))/0x2+parseInt(_0x44d378(0x1cb))/0x3+-parseInt(_0x44d378(0x19b))/0x4*(-parseInt(_0x44d378(0x1a9))/0x5)+-parseInt(_0x44d378(0x1b2))/0x6+-parseInt(_0x44d378(0x1d2))/0x7+parseInt(_0x44d378(0x1a3))/0x8*(-parseInt(_0x44d378(0x1d1))/0x9);if(_0x242479===_0x403f20)break;else _0x5754c6['push'](_0x5754c6['shift']());}catch(_0x2cb19b){_0x5754c6['push'](_0x5754c6['shift']());}}}(_0xcec1,0xe2ec3));import{View as _0x250b35,ListItemView as _0x528699,ListView as _0x4fe0f3,BalloonPanelView as _0x341d97,DropdownMenuPanelPositioningFunctions as _0x37b605,DropdownMenuButtonView as _0x5a2581,ViewCollection as _0x18bb4d,FocusCycler as _0x380726}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3d8bb9}from'@ckeditor/ckeditor5-icons';function _0xcec1(){const _0x3b579d=['contains','18400995zuWWZy','1963290VTKdJb','_focusables','isVisible','1967090qXGGHK','ck-dropdown-menu-list','setTemplate','forEach','key','ArrowLeft','children','focusCycler','add','ck-ai-quick-actions-group-panel','bindTemplate','.ck-ai-quick-actions-group-panel','rtl','content','1764699SIPAnt','optionsListView','_showNestedPanel','detachFromDom','hide','keystrokes','render','78728SHmLiq','show','_createGroupActionsList','_bodyCollection','ArrowRight','element','_isMovingToNestedMenu','closest','8YiuxXH','ck-reset_all','addMany','.ck-ai-quick-actions-group-button','focusTracker','eastSouth','25rQVKHU','ck-ai-quick-actions','label','addEventListener','div','focus','uiLanguageDirection','set','extendTemplate','1294374GBeBdX','menuitem','mouseleave','_openNestedPanels','ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','_setupGroupMenuBehavior','pin','actions','delete','icon','clear','role','isOn','.ck-ai-quick-actions-group-list','bind','items','_createListItems','_createActionButton','get','_hideNestedPanel','_hideAllNestedPanels','_createActionGroupButton','locale','ck-rounded-corners','1870725YcAiEE','menu','relatedTarget','destroy','ck-ai-quick-actions-group-button'];_0xcec1=function(){return _0x3b579d;};return _0xcec1();}import{FocusTracker as _0x1c04a8,KeystrokeHandler as _0x18b2c9}from'ckeditor5/src/utils.js';function _0x55c6(_0x12e2fb,_0x25e4a0){const _0xcec1d9=_0xcec1();return _0x55c6=function(_0x55c679,_0x224581){_0x55c679=_0x55c679-0x18e;let _0x341f01=_0xcec1d9[_0x55c679];return _0x341f01;},_0x55c6(_0x12e2fb,_0x25e4a0);}import{aiQuickActionsButtonCreator as _0x2ece56}from'./aiquickactionsbuttoncreator.js';const qs=_0x488e21(0x1cc),ys=_0x488e21(0x1b3);export class AIQuickActionsDropdownContentView extends _0x250b35{[_0x488e21(0x19e)];[_0x488e21(0x195)];[_0x488e21(0x1a7)];[_0x488e21(0x199)];[_0x488e21(0x1d3)];[_0x488e21(0x1dc)];[_0x488e21(0x1b5)]=new Set();constructor(_0x269c09,_0x3c30dc,_0x2c18ae,_0x176825){const _0xea10a3=_0x488e21,_0x4dcf45=_0x269c09[_0xea10a3(0x1c9)];super(_0x4dcf45),this[_0xea10a3(0x19e)]=_0x176825;const _0x2669f5=this[_0xea10a3(0x1c3)](_0x269c09,_0x3c30dc,_0x2c18ae);this[_0xea10a3(0x195)]=new _0x4fe0f3(_0x4dcf45),this[_0xea10a3(0x195)][_0xea10a3(0x1be)]=qs,this[_0xea10a3(0x195)][_0xea10a3(0x1c2)][_0xea10a3(0x1a5)](_0x2669f5),this[_0xea10a3(0x1a7)]=new _0x1c04a8(),this[_0xea10a3(0x199)]=new _0x18b2c9(),this[_0xea10a3(0x1d3)]=_0x2669f5,this[_0xea10a3(0x1dc)]=new _0x380726({'focusables':this[_0xea10a3(0x1d3)],'focusTracker':this[_0xea10a3(0x1a7)],'keystrokeHandler':this[_0xea10a3(0x199)]}),this[_0xea10a3(0x1d7)]({'tag':_0xea10a3(0x1ad),'attributes':{'class':['ck',_0xea10a3(0x1a4),_0xea10a3(0x1aa),_0xea10a3(0x1ca)],'dir':_0x4dcf45[_0xea10a3(0x1af)]},'children':[this[_0xea10a3(0x195)]]});}[_0x488e21(0x1c3)](_0x1f9b5b,_0x4a04a1,_0x40f59c){const _0x586dba=_0x488e21,_0x1d6543=new _0x18bb4d();return _0x4a04a1[_0x586dba(0x1d8)](_0x4d6fdc=>{const _0x98dc64=_0x586dba;_0x98dc64(0x1ba)in _0x4d6fdc?_0x1d6543[_0x98dc64(0x18e)](this[_0x98dc64(0x1c8)](_0x1f9b5b,_0x4d6fdc,_0x40f59c)):_0x1d6543[_0x98dc64(0x18e)](this[_0x98dc64(0x1c4)](_0x1f9b5b,_0x4d6fdc));}),_0x1d6543;}[_0x488e21(0x1c4)](_0x3d0262,_0x5c2abd){const _0x4370db=_0x488e21,_0x54c8e4=new _0x528699(this[_0x4370db(0x1c9)]),_0x36cf74=_0x2ece56(_0x3d0262,_0x5c2abd,!0x0)();return _0x54c8e4[_0x4370db(0x1db)][_0x4370db(0x18e)](_0x36cf74),_0x54c8e4;}[_0x488e21(0x1c8)](_0x4ac865,_0x2e0e0a,_0x5e85a6){const _0xe49c3=_0x488e21,_0x268ab4=new _0x528699(this[_0xe49c3(0x1c9)]),_0x34c782=new _0x5a2581(this[_0xe49c3(0x1c9)]),_0x2fb2bf=_0x34c782[_0xe49c3(0x190)],_0x2636de=_0xe49c3(0x192)===_0x5e85a6[_0xe49c3(0x1c9)][_0xe49c3(0x1af)]?_0xe49c3(0x19f):_0xe49c3(0x1da),_0x5ad318=this[_0xe49c3(0x19d)](_0x4ac865,_0x2e0e0a[_0xe49c3(0x1ba)],_0x5e85a6);_0x34c782[_0xe49c3(0x1b0)]({'label':_0x2e0e0a[_0xe49c3(0x1ab)],'withText':!0x0,'role':ys,'icon':_0x2e0e0a[_0xe49c3(0x1bc)]??_0x3d8bb9}),_0x34c782[_0xe49c3(0x1b1)]({'on':{'mouseenter':_0x2fb2bf['to'](()=>{const _0xf22c2=_0xe49c3;_0x34c782[_0xf22c2(0x1ae)]();})}});const _0x5e0b2b=new _0x341d97(this[_0xe49c3(0x1c9)]);return _0x5e0b2b[_0xe49c3(0x1b1)]({'attributes':{'class':['ck',_0xe49c3(0x1a4),_0xe49c3(0x18f),_0xe49c3(0x1b7)]},'on':{'keydown':_0x2fb2bf['to'](_0x16efd4=>{const _0x554abe=_0xe49c3;_0x16efd4[_0x554abe(0x1d9)]==_0x2636de&&(_0x34c782[_0x554abe(0x1ae)](),this[_0x554abe(0x1c6)](_0x5e0b2b));})}}),_0x34c782[_0xe49c3(0x1c1)](_0xe49c3(0x1bf))['to'](_0x5e0b2b,_0xe49c3(0x1d4)),this[_0xe49c3(0x19e)][_0xe49c3(0x18e)](_0x5e0b2b),_0x5e0b2b[_0xe49c3(0x193)][_0xe49c3(0x18e)](_0x5ad318),this[_0xe49c3(0x1b8)](_0x34c782,_0x5e0b2b),_0x268ab4[_0xe49c3(0x1db)][_0xe49c3(0x18e)](_0x34c782),_0x268ab4;}[_0x488e21(0x19d)](_0x48bf17,_0x3212e8,_0x56b777){const _0x4969ac=_0x488e21,_0x2c3352=new _0x4fe0f3(this[_0x4969ac(0x1c9)]);return _0x2c3352[_0x4969ac(0x1b1)]({'attributes':{'class':['ck',_0x4969ac(0x1a4),_0x4969ac(0x1b6),_0x4969ac(0x1d6)]}}),_0x3212e8[_0x4969ac(0x1d8)](_0x57c417=>{const _0xe65381=_0x4969ac,_0x3724bc=new _0x528699(this[_0xe65381(0x1c9)]),_0x22da99=_0x2ece56(_0x48bf17,_0x57c417,!0x0,!0x1)();_0x3724bc[_0xe65381(0x1db)][_0xe65381(0x18e)](_0x22da99),_0x56b777[_0xe65381(0x1a7)][_0xe65381(0x18e)](_0x22da99),_0x2c3352[_0xe65381(0x1c2)][_0xe65381(0x18e)](_0x3724bc);}),_0x2c3352;}[_0x488e21(0x1b8)](_0x312756,_0x338cd3){const _0x4ce813=_0x488e21,_0x17512b=_0x312756[_0x4ce813(0x190)],_0x8318e7=_0x4ce813(0x192)===_0x312756[_0x4ce813(0x1c9)][_0x4ce813(0x1af)]?_0x4ce813(0x1da):_0x4ce813(0x19f);_0x312756[_0x4ce813(0x1b1)]({'attributes':{'class':[_0x4ce813(0x1cf)]},'on':{'mouseenter':_0x17512b['to'](()=>{const _0x5a05b5=_0x4ce813;this[_0x5a05b5(0x196)](_0x338cd3,_0x312756);}),'mouseleave':_0x17512b['to'](_0x278770=>{const _0x41afc3=_0x4ce813,_0x2dde94=_0x278770[_0x41afc3(0x1cd)];this[_0x41afc3(0x1a1)](_0x2dde94,_0x338cd3)||this[_0x41afc3(0x1c6)](_0x338cd3);}),'keydown':_0x17512b['to'](_0x3397b4=>{const _0x49181e=_0x4ce813;_0x3397b4[_0x49181e(0x1d9)]==_0x8318e7&&(this[_0x49181e(0x196)](_0x338cd3,_0x312756),_0x338cd3[_0x49181e(0x193)][_0x49181e(0x1c5)](0x0)[_0x49181e(0x1ae)]());})}}),_0x338cd3['on'](_0x4ce813(0x19a),()=>{const _0x5e9a80=_0x4ce813;_0x338cd3[_0x5e9a80(0x1a0)]?.[_0x5e9a80(0x1ac)](_0x5e9a80(0x1b4),_0x1f7d34=>{const _0x1cb9c4=_0x5e9a80,_0x15780a=_0x1f7d34[_0x1cb9c4(0x1cd)];_0x312756[_0x1cb9c4(0x1a0)]?.[_0x1cb9c4(0x1d0)](_0x15780a)||this[_0x1cb9c4(0x1a1)](_0x15780a,_0x338cd3)||this[_0x1cb9c4(0x1c6)](_0x338cd3);});});}[_0x488e21(0x196)](_0x321647,_0x145c7a){const _0x45ec68=_0x488e21;this[_0x45ec68(0x1b5)][_0x45ec68(0x1d8)](_0x3fbcab=>{const _0x427d5a=_0x45ec68;_0x3fbcab!==_0x321647&&_0x3fbcab[_0x427d5a(0x1d4)]&&_0x3fbcab[_0x427d5a(0x198)]();}),_0x321647[_0x45ec68(0x19c)](),_0x321647[_0x45ec68(0x1b9)]({'positions':[_0x37b605[_0x45ec68(0x1a8)]],'target':_0x145c7a[_0x45ec68(0x1a0)],'fitInViewport':!0x0}),this[_0x45ec68(0x1b5)][_0x45ec68(0x18e)](_0x321647);}[_0x488e21(0x1c6)](_0x579e2c){const _0xbaf52a=_0x488e21;_0x579e2c[_0xbaf52a(0x198)](),this[_0xbaf52a(0x1b5)][_0xbaf52a(0x1bb)](_0x579e2c);}[_0x488e21(0x1c7)](){const _0x423589=_0x488e21;this[_0x423589(0x1b5)][_0x423589(0x1d8)](_0x46ac4a=>_0x46ac4a[_0x423589(0x198)]()),this[_0x423589(0x1b5)][_0x423589(0x1bd)]();}[_0x488e21(0x1a1)](_0x7e8ae0,_0x3edf10){const _0xe8d523=_0x488e21;if(!_0x7e8ae0)return!0x1;if(_0x3edf10[_0xe8d523(0x1a0)]?.[_0xe8d523(0x1d0)](_0x7e8ae0))return!0x0;const _0x84b8b9=_0x7e8ae0;return _0x84b8b9[_0xe8d523(0x1a2)]&&(null!==_0x84b8b9[_0xe8d523(0x1a2)](_0xe8d523(0x191))||null!==_0x84b8b9[_0xe8d523(0x1a2)](_0xe8d523(0x1c0))||null!==_0x84b8b9[_0xe8d523(0x1a2)](_0xe8d523(0x1a6)));}[_0x488e21(0x1ce)](){const _0x2c026e=_0x488e21;this[_0x2c026e(0x1c7)](),this[_0x2c026e(0x19e)][_0x2c026e(0x197)](),super[_0x2c026e(0x1ce)]();}[_0x488e21(0x1ae)](){const _0x328398=_0x488e21;this[_0x328398(0x195)][_0x328398(0x1ae)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x29ce(){const _0x3fd7fe=['label','30aIggQL','497xgWEMz','ck-ai-quick-actions-dropdown','1095678bGezTm','29536zDPRAj','buttonView','add','set','387896NiYMme','2318055QDlrBw','795996LKPckd','panelView','657594tzRKKa','icon','971596BNWDSL','children','locale','6XvwsLR'];_0x29ce=function(){return _0x3fd7fe;};return _0x29ce();}(function(_0x4e646f,_0x5e0b36){const _0x4f49bb=_0xeae7,_0x3566c2=_0x4e646f();while(!![]){try{const _0x4be789=-parseInt(_0x4f49bb(0xc2))/0x1+parseInt(_0x4f49bb(0xb3))/0x2+-parseInt(_0x4f49bb(0xb1))/0x3+parseInt(_0x4f49bb(0xb5))/0x4+-parseInt(_0x4f49bb(0xb0))/0x5*(-parseInt(_0x4f49bb(0xb8))/0x6)+-parseInt(_0x4f49bb(0xbb))/0x7*(-parseInt(_0x4f49bb(0xbe))/0x8)+-parseInt(_0x4f49bb(0xbd))/0x9*(parseInt(_0x4f49bb(0xba))/0xa);if(_0x4be789===_0x5e0b36)break;else _0x3566c2['push'](_0x3566c2['shift']());}catch(_0x12b339){_0x3566c2['push'](_0x3566c2['shift']());}}}(_0x29ce,0x441c9));function _0xeae7(_0x3bdb69,_0x2b8497){const _0x29ce05=_0x29ce();return _0xeae7=function(_0xeae735,_0xf66d23){_0xeae735=_0xeae735-0xb0;let _0xfd4672=_0x29ce05[_0xeae735];return _0xfd4672;},_0xeae7(_0x3bdb69,_0x2b8497);}import{createDropdown as _0x2aa318}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x52b048}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x3b4d76}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x3bd258,_0x5adcc2,_0x384e92,_0xcfd3a2){return()=>{const _0x38f9ce=_0xeae7,_0x2d22b9=_0x3bd258[_0x38f9ce(0xb7)],_0x272eaf=_0x2aa318(_0x2d22b9);_0x272eaf[_0x38f9ce(0xbf)][_0x38f9ce(0xc1)]({'icon':_0x384e92[_0x38f9ce(0xb4)]??_0x52b048,'label':_0x384e92[_0x38f9ce(0xb9)],'tooltip':!0x0}),_0x272eaf[_0x38f9ce(0xc1)]({'class':_0x38f9ce(0xbc)});const _0x10f060=new _0x3b4d76(_0x3bd258,_0x5adcc2,_0x272eaf,_0xcfd3a2);return _0x272eaf[_0x38f9ce(0xb2)][_0x38f9ce(0xb6)][_0x38f9ce(0xc0)](_0x10f060),_0x272eaf;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x104f67,_0x232d74,_0x5ef8ad){const t=_0x104f67['t'];switch(_0x232d74){case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});case'AI_QUICK_ACTIONS_ASK_AI':return t({'id':'AI_QUICK_ACTIONS_ASK_AI','string':'Ask\x20AI'});case'AI_QUICK_ACTIONS_CHAT_COMMANDS':return t({'id':'AI_QUICK_ACTIONS_CHAT_COMMANDS','string':'Chat\x20commands'});case'AI_QUICK_ACTIONS_IMPROVE_WRITING':return t({'id':'AI_QUICK_ACTIONS_IMPROVE_WRITING','string':'Improve\x20writing'});case'AI_QUICK_ACTIONS_CONTINUE_WRITING':return t({'id':'AI_QUICK_ACTIONS_CONTINUE_WRITING','string':'Continue\x20writing'});case'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING':return t({'id':'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','string':'Fix\x20grammar\x20&\x20spelling'});case'AI_QUICK_ACTIONS_ADJUST_LENGTH':return t({'id':'AI_QUICK_ACTIONS_ADJUST_LENGTH','string':'Adjust\x20length'});case'AI_QUICK_ACTIONS_CHANGE_TONE':return t({'id':'AI_QUICK_ACTIONS_CHANGE_TONE','string':'Change\x20tone'});case'AI_QUICK_ACTIONS_TRANSLATE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE','string':'Translate'});case'AI_QUICK_ACTIONS_EXPLAIN':return t({'id':'AI_QUICK_ACTIONS_EXPLAIN','string':'Explain'});case'AI_QUICK_ACTIONS_SUMMARIZE':return t({'id':'AI_QUICK_ACTIONS_SUMMARIZE','string':'Summarize'});case'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS':return t({'id':'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','string':'Highlight\x20key\x20points'});case'AI_QUICK_ACTIONS_MAKE_SHORTER':return t({'id':'AI_QUICK_ACTIONS_MAKE_SHORTER','string':'Make\x20shorter'});case'AI_QUICK_ACTIONS_MAKE_LONGER':return t({'id':'AI_QUICK_ACTIONS_MAKE_LONGER','string':'Make\x20longer'});case'AI_QUICK_ACTIONS_MORE_CASUAL':return t({'id':'AI_QUICK_ACTIONS_MORE_CASUAL','string':'More\x20casual'});case'AI_QUICK_ACTIONS_MORE_DIRECT':return t({'id':'AI_QUICK_ACTIONS_MORE_DIRECT','string':'More\x20direct'});case'AI_QUICK_ACTIONS_MORE_FRIENDLY':return t({'id':'AI_QUICK_ACTIONS_MORE_FRIENDLY','string':'More\x20friendly'});case'AI_QUICK_ACTIONS_MORE_CONFIDENT':return t({'id':'AI_QUICK_ACTIONS_MORE_CONFIDENT','string':'More\x20confident'});case'AI_QUICK_ACTIONS_MORE_PROFESSIONAL':return t({'id':'AI_QUICK_ACTIONS_MORE_PROFESSIONAL','string':'More\x20professional'});case'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT':return t({'id':'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT','string':'Adjust\x20based\x20on\x20the\x20rest\x20of\x20the\x20document'});case'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','string':'English'});case'AI_QUICK_ACTIONS_TRANSLATE_CHINESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_QUICK_ACTIONS_TRANSLATE_FRENCH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_FRENCH','string':'French'});case'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','string':'Japanese'});case'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','string':'Portuguese'});case'AI_QUICK_ACTIONS_TRANSLATE_KOREAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_KOREAN','string':'Korean'});case'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','string':'Italian'});case'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','string':'Russian'});case'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','string':'%0\x20plugin\x20is\x20required\x20but\x20not\x20found.'},_0x5ef8ad);case'AI_QUICK_ACTIONS_OTHER':return t({'id':'AI_QUICK_ACTIONS_OTHER','string':'Other'});default:return _0x232d74;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x302c(){const _0x13ed69=['4069242iIjiDz','english','custom','4029780STtLPn','Professional','4261220WvoJbl','Casual','8880216hoFcsr','correctness','russian','Select\x20language','Chinese\x20(Simplified)','shorter','german','Correctness','Shorter','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','German','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','6089wQQxCP','clarity','Portuguese','longer','french','confident','Spanish','readability','Translate\x20the\x20text\x20into\x20another\x20language.','korean','direct','Friendly','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','dropdown','46MdRhaT','18vsNQjh','friendly','language','Readability','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Direct','Adjust\x20tone\x20and\x20style','Russian','casual','professional','Clarity','Longer','Italian','spanish','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Korean','French','make','make-tone','translate','English','japanese','Japanese','Adjust\x20length','portuguese','Custom\x20command','Confident','Translate','4180106dKHojP','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','italian','chinese','8479184wkhJjs'];_0x302c=function(){return _0x13ed69;};return _0x302c();}function _0xf002(_0x13a456,_0x4432b6){const _0x302c31=_0x302c();return _0xf002=function(_0xf0022b,_0x5b5c64){_0xf0022b=_0xf0022b-0x8f;let _0x2007b6=_0x302c31[_0xf0022b];return _0x2007b6;},_0xf002(_0x13a456,_0x4432b6);}const _0x1d5548=_0xf002;(function(_0x2abf1c,_0x2e6c8d){const _0x5e1773=_0xf002,_0x24e95e=_0x2abf1c();while(!![]){try{const _0x56b383=parseInt(_0x5e1773(0x8f))/0x1*(-parseInt(_0x5e1773(0x9d))/0x2)+-parseInt(_0x5e1773(0xbf))/0x3+-parseInt(_0x5e1773(0xc4))/0x4+-parseInt(_0x5e1773(0xc2))/0x5+parseInt(_0x5e1773(0xc6))/0x6+parseInt(_0x5e1773(0xba))/0x7+parseInt(_0x5e1773(0xbe))/0x8*(parseInt(_0x5e1773(0x9e))/0x9);if(_0x56b383===_0x2e6c8d)break;else _0x24e95e['push'](_0x24e95e['shift']());}catch(_0x1bea1c){_0x24e95e['push'](_0x24e95e['shift']());}}}(_0x302c,0xca754));export const AI_REVIEW_CHECKS=[{'id':_0x1d5548(0xc1),'title':_0x1d5548(0xb7),'description':_0x1d5548(0xac),'isParameterized':!0x0},{'id':_0x1d5548(0xc7),'title':_0x1d5548(0xcd),'description':_0x1d5548(0xa2),'isParameterized':!0x1},{'id':_0x1d5548(0x90),'title':_0x1d5548(0xa8),'description':_0x1d5548(0xcf),'isParameterized':!0x1},{'id':_0x1d5548(0x96),'title':_0x1d5548(0xa1),'description':_0x1d5548(0xbb),'isParameterized':!0x1},{'id':_0x1d5548(0xaf),'title':_0x1d5548(0xb5),'description':_0x1d5548(0xd1),'isParameterized':!0x0,'options':[{'formType':_0x1d5548(0x9c),'label':_0x1d5548(0xb5),'default':_0x1d5548(0x92),'data':[{'label':_0x1d5548(0xa9),'id':_0x1d5548(0x92)},{'label':_0x1d5548(0xce),'id':_0x1d5548(0xcb)}]}]},{'id':_0x1d5548(0xb0),'title':_0x1d5548(0xa4),'description':_0x1d5548(0x9b),'isParameterized':!0x0,'options':[{'formType':_0x1d5548(0x9c),'label':_0x1d5548(0xa4),'default':_0x1d5548(0xa6),'data':[{'label':_0x1d5548(0xc5),'id':_0x1d5548(0xa6)},{'label':_0x1d5548(0xa3),'id':_0x1d5548(0x99)},{'label':_0x1d5548(0x9a),'id':_0x1d5548(0x9f)},{'label':_0x1d5548(0xb8),'id':_0x1d5548(0x94)},{'label':_0x1d5548(0xc3),'id':_0x1d5548(0xa7)}]}]},{'id':_0x1d5548(0xb1),'title':_0x1d5548(0xb9),'description':_0x1d5548(0x97),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x1d5548(0x9c),'label':_0x1d5548(0xc9),'argsKey':_0x1d5548(0xa0),'data':[{'label':_0x1d5548(0xb2),'id':_0x1d5548(0xc0)},{'label':_0x1d5548(0x95),'id':_0x1d5548(0xab)},{'label':_0x1d5548(0xae),'id':_0x1d5548(0x93)},{'label':_0x1d5548(0xd0),'id':_0x1d5548(0xcc)},{'label':_0x1d5548(0xca),'id':_0x1d5548(0xbd)},{'label':_0x1d5548(0xb4),'id':_0x1d5548(0xb3)},{'label':_0x1d5548(0xa5),'id':_0x1d5548(0xc8)},{'label':_0x1d5548(0x91),'id':_0x1d5548(0xb6)},{'label':_0x1d5548(0xad),'id':_0x1d5548(0x98)},{'label':_0x1d5548(0xaa),'id':_0x1d5548(0xbc)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2d8cff=_0x1ecb;(function(_0x2b8921,_0x5ea0b3){var _0x3ca2c3=_0x1ecb,_0x4e125b=_0x2b8921();while(!![]){try{var _0x167a47=parseInt(_0x3ca2c3(0x12b))/0x1*(parseInt(_0x3ca2c3(0x124))/0x2)+parseInt(_0x3ca2c3(0x121))/0x3*(parseInt(_0x3ca2c3(0x11f))/0x4)+parseInt(_0x3ca2c3(0x11e))/0x5*(-parseInt(_0x3ca2c3(0x128))/0x6)+parseInt(_0x3ca2c3(0x129))/0x7+-parseInt(_0x3ca2c3(0x11d))/0x8*(parseInt(_0x3ca2c3(0x120))/0x9)+-parseInt(_0x3ca2c3(0x12a))/0xa+parseInt(_0x3ca2c3(0x11c))/0xb;if(_0x167a47===_0x5ea0b3)break;else _0x4e125b['push'](_0x4e125b['shift']());}catch(_0x28263d){_0x4e125b['push'](_0x4e125b['shift']());}}}(_0x27f6,0xa9c34));import{ContextPlugin as _0x4a10a4}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x1b54f0}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x47ceb1}from'./aireviewmodeui.js';function _0x1ecb(_0x315074,_0x1395bd){var _0x27f6ea=_0x27f6();return _0x1ecb=function(_0x1ecbdb,_0x1fc117){_0x1ecbdb=_0x1ecbdb-0x11c;var _0x36458d=_0x27f6ea[_0x1ecbdb];return _0x36458d;},_0x1ecb(_0x315074,_0x1395bd);}import{AIReviewModeEditing as _0x26b11e}from'./aireviewmodeediting.js';function _0x27f6(){var _0x4caaaf=['AIReviewMode','isOfficialPlugin','1356qWLAwA','pluginName','isPremiumPlugin','requires','566616ERPpHQ','2245096aGuvwt','1445100KFvanh','595tnRmpT','14603303nQlUwT','8HgWZAd','70yvrdHC','627988bxFxsw','7485579hfvweg','18JKMSdE'];_0x27f6=function(){return _0x4caaaf;};return _0x27f6();}export class AIReviewMode extends _0x4a10a4{static get[_0x2d8cff(0x127)](){return[_0x1b54f0,_0x47ceb1,_0x26b11e];}static get[_0x2d8cff(0x125)](){var _0x5a7cd1=_0x2d8cff;return _0x5a7cd1(0x122);}static get[_0x2d8cff(0x123)](){return!0x0;}static get[_0x2d8cff(0x126)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x251b1f=_0x2061;(function(_0x1ed74e,_0x535896){const _0x43392f=_0x2061,_0x3d99ac=_0x1ed74e();while(!![]){try{const _0xd4ceed=-parseInt(_0x43392f(0x166))/0x1+-parseInt(_0x43392f(0xe5))/0x2*(-parseInt(_0x43392f(0x13c))/0x3)+parseInt(_0x43392f(0xee))/0x4*(parseInt(_0x43392f(0xdc))/0x5)+-parseInt(_0x43392f(0x127))/0x6*(parseInt(_0x43392f(0x128))/0x7)+-parseInt(_0x43392f(0x106))/0x8+parseInt(_0x43392f(0x177))/0x9*(-parseInt(_0x43392f(0x130))/0xa)+parseInt(_0x43392f(0x146))/0xb;if(_0xd4ceed===_0x535896)break;else _0x3d99ac['push'](_0x3d99ac['shift']());}catch(_0x46a1bf){_0x3d99ac['push'](_0x3d99ac['shift']());}}}(_0x47a0,0xdcb61));import{ContextPlugin as _0x447ad4}from'ckeditor5/src/core.js';import{CKEditorError as _0x401a4a,logError as _0x313c3d,scrollAncestorsToShowTarget as _0x696a62,scrollViewportToShowTarget as _0x85accb}from'ckeditor5/src/utils.js';import{AIConnector as _0x55d274}from'../aicore/aiconnector.js';function _0x47a0(){const _0x23c5f3=['showGeneralErrorView','showReviewCheckList','getChangeElement','80lsBtJp','params','aireviewmode-check-run-failed','contentInitial','panel','acceptChange','AI_MODEL_DESCRIPTION_','_aiReviewModeEditing','showChangeBalloon','emitter','_aiConnector','pluginName','reviewCheckRunUpdated','reviewCheckResultAccepted','getMarkerElementForChange','switchToReadOnly','diffContent','showCheckRunResults','start','args','contentNew','rejectChange','AIReviewModeController','aireviewmode-source-check-not-found','13705720ShaptN','documentData','loading','closest','isChangeActive','abortReviewStream','abort','content','changeId','plugins','length','_changeActivationSource','isCustom','hideChangeBalloon','.ck-ai-review-mode__check-run-result','reviewCheckResultActivated','label','setActiveStateInResults','showActionsWhenResultIsReady','markAllChangesAsAccepted','AI_REVIEW_CHECK_','activateChange','error-chunk','AIReviewModeEditing','AIConnector','prompt','description','_aiReviewCheckList','finishReview','ai-request-aborted','getReviewCheckList','runReviewCheck','toggleDiff','2176134uFVsIh','28AMwAxX','get','changes','restart','replaceAll','showReviewCompletedView','getActiveChanges','includes','4220mYLWvx','model','getDocumentData','clearAllMarkers','setCheckResultTitle','markChangePositionInEditorContent','showChunkErrorView','_translateReviewChecks','retryReview','message','_currentReviewCheckRun','rejected','1473OxevOB','ai.reviewMode.translations','getContentElement','source','getAll','addResultChanges','_OPTIONS_DATA_','accepted','change','leaveReviewMode','25426082kxlRTV','_aiReviewModeUi','leaveReviewModeResultList','dismissChange','_getTranslationWithDefault','options','reviewCheckResultAdded','aborted','switchToEdit','status','_onReviewModeRunLeave','updateChangeState','_onDiffChange','reviewCheckResultDeactivated','translate','applyChange','remove','classList','listenTo','isPremiumPlugin','showCheckRunResult','add','forceReadyState','title','_isDiffOn','find','reviewCheckResultRejected','domElement','config','deactivateChange','data','ready','568663IwcxMH','result','context','_TITLE','error-general','reviewCheckResultReady','custom','changeMarkerClick','acceptAllChanges','markChangeAsAccepted','aireviewmode-no-current-check-run','_OPTIONS_LABEL','_logError','isOfficialPlugin','setAvailableChecks','getCheckById','toUpperCase','9432TNeSZO','processedResultsCount','stopListening','models','map','447470PkEDAw','checks','showNoChangesView','_DESCRIPTION','resetActiveStateInResults','finished','AIReviewModeUI','ck-ai-review-mode-diff','markChangeAsRejected','3982snoQkt','locale','init','requires','unmodified','ck-ai-review-mode-highlights'];_0x47a0=function(){return _0x23c5f3;};return _0x47a0();}import{AIReviewCheckList as _0x1a1afd}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x5d0a75}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1eda90}from'./model/aireviewcustomcheckrun.js';function _0x2061(_0x2d2768,_0x4899ab){const _0x47a096=_0x47a0();return _0x2061=function(_0x20616f,_0x4b6000){_0x20616f=_0x20616f-0xda;let _0x25c27=_0x47a096[_0x20616f];return _0x25c27;},_0x2061(_0x2d2768,_0x4899ab);}import{AIReviewModels as _0x5cb2e2}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x54f0fe}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2eb01}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x447ad4{[_0x251b1f(0xf8)];[_0x251b1f(0x147)];[_0x251b1f(0xf5)];[_0x251b1f(0x121)];[_0x251b1f(0x13a)];[_0x251b1f(0x15e)]=!0x1;[_0x251b1f(0x111)]=null;static get[_0x251b1f(0xe8)](){return[_0x55d274];}static get[_0x251b1f(0xf9)](){const _0x2ba12a=_0x251b1f;return _0x2ba12a(0x104);}static get[_0x251b1f(0x173)](){return!0x0;}static get[_0x251b1f(0x159)](){return!0x0;}async[_0x251b1f(0xe7)](){const _0x4d27c1=_0x251b1f;this[_0x4d27c1(0xf8)]=this[_0x4d27c1(0x168)][_0x4d27c1(0x10f)][_0x4d27c1(0x129)](_0x4d27c1(0x11e)),this[_0x4d27c1(0x147)]=this[_0x4d27c1(0x168)][_0x4d27c1(0x10f)][_0x4d27c1(0x129)](_0x4d27c1(0xe2)),this[_0x4d27c1(0xf5)]=this[_0x4d27c1(0x168)][_0x4d27c1(0x10f)][_0x4d27c1(0x129)](_0x4d27c1(0x11d));const _0x246adc=this[_0x4d27c1(0x168)][_0x4d27c1(0x162)][_0x4d27c1(0x129)](_0x4d27c1(0x13d));if(_0x246adc){for(const _0x49d9c5 of _0x54f0fe)_0x4d27c1(0x154)===_0x49d9c5['id']&&(_0x49d9c5[_0x4d27c1(0x14b)][0x0][_0x4d27c1(0x164)]=_0x246adc);}const _0x29fab7=this[_0x4d27c1(0x137)](_0x54f0fe);this[_0x4d27c1(0x121)]=new _0x1a1afd(_0x29fab7);const _0x4d6e1a=this[_0x4d27c1(0x121)][_0x4d27c1(0xdd)][_0x4d27c1(0x15f)](_0x3ca305=>_0x4d27c1(0x16c)===_0x3ca305['id']);if(_0x4d6e1a){const _0x4d29d1=await new _0x5cb2e2({'connector':this[_0x4d27c1(0xf8)]})[_0x4d27c1(0x140)]();_0x4d6e1a[_0x4d27c1(0xda)]=_0x4d29d1[_0x4d27c1(0xdb)](_0x108c0a=>({..._0x108c0a,'description':this[_0x4d27c1(0x14a)](_0x4d27c1(0xf4)+_0x108c0a['id'][_0x4d27c1(0x176)](),_0x108c0a[_0x4d27c1(0x120)])}));}this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x124),()=>{const _0x590ea1=_0x4d27c1;this[_0x590ea1(0x147)][_0x590ea1(0x174)](this[_0x590ea1(0x121)][_0x590ea1(0xdd)]);}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x125),async(_0x36b671,_0x1e02a4)=>{const _0x31494d=_0x4d27c1,_0x50ec6d=this[_0x31494d(0x121)][_0x31494d(0x175)](_0x1e02a4['id']);if(_0x50ec6d){this[_0x31494d(0x152)](this[_0x31494d(0x15e)]),_0x1e02a4[_0x31494d(0x112)]?this[_0x31494d(0x13a)]=new _0x1eda90(_0x1e02a4[_0x31494d(0x101)][_0x31494d(0x11f)],_0x1e02a4[_0x31494d(0x101)][_0x31494d(0x131)],this[_0x31494d(0xf5)][_0x31494d(0x132)](),_0x50ec6d,this[_0x31494d(0xf8)]):this[_0x31494d(0x13a)]=new _0x5d0a75(this[_0x31494d(0xf5)][_0x31494d(0x132)](),_0x50ec6d,this[_0x31494d(0xf8)],_0x1e02a4[_0x31494d(0xef)],_0x1e02a4[_0x31494d(0x101)]),this[_0x31494d(0x147)][_0x31494d(0x134)](this[_0x31494d(0x13a)][_0x31494d(0x15d)]),this[_0x31494d(0x13a)]['on'](_0x31494d(0xfa),(_0x7c7050,_0x4cbd45)=>{const _0x4fc284=_0x31494d;_0x4fc284(0x164)===_0x4cbd45[_0x4fc284(0x14f)]||_0x4fc284(0x108)===_0x4cbd45[_0x4fc284(0x14f)]?(this[_0x4fc284(0xf5)][_0x4fc284(0xfd)](),this[_0x4fc284(0x147)][_0x4fc284(0xff)](_0x4cbd45)):_0x4fc284(0xe1)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0x12d)]():_0x4fc284(0x165)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0x118)]():_0x4fc284(0xe9)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0xde)]():_0x4fc284(0x16a)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0xeb)]():_0x4fc284(0x11c)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0x136)]():_0x4fc284(0x14d)===_0x4cbd45[_0x4fc284(0x14f)]&&(this[_0x4fc284(0x13a)]&&this[_0x4fc284(0x13a)][_0x4fc284(0x178)]>0x0?setTimeout(()=>{const _0x350ef4=_0x4fc284;this[_0x350ef4(0x13a)]?.[_0x350ef4(0x15c)]();},0x0):this[_0x4fc284(0x150)](!0x0));}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x14c),(_0xf745df,_0x47fe27)=>{const _0x31d401=_0x31494d;if(!this[_0x31d401(0x13a)])throw new _0x401a4a(_0x31d401(0x170),this);const _0xf34ea1=this[_0x31d401(0xf5)][_0x31d401(0xfe)](_0x47fe27[_0x31d401(0x167)][_0x31d401(0xf1)],_0x47fe27[_0x31d401(0x167)][_0x31d401(0x102)]);_0x47fe27[_0x31d401(0x13f)][_0x31d401(0x141)](_0x47fe27[_0x31d401(0x167)]['id'],_0xf34ea1);}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x16b),(_0x5e9677,_0x3b0183)=>{const _0x13b151=_0x31494d;for(const _0x363737 of _0x3b0183[_0x13b151(0x12a)])this[_0x13b151(0x147)][_0x13b151(0x15a)](_0x363737);this[_0x13b151(0xf5)][_0x13b151(0x135)](_0x3b0183[_0x13b151(0x12a)],_0x3b0183[_0x13b151(0x13f)][_0x13b151(0x107)]);}),this[_0x31494d(0x13a)]['on'](_0x31494d(0xfb),(_0x48a820,_0x3cb5ac)=>{const _0x31a116=_0x31494d;this[_0x31a116(0x147)][_0x31a116(0x151)](_0x3cb5ac[_0x31a116(0x144)]['id'],_0x31a116(0x143));}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x160),(_0x37c189,_0x2aea40)=>{const _0x530835=_0x31494d;this[_0x530835(0x147)][_0x530835(0x151)](_0x2aea40[_0x530835(0x144)]['id'],_0x530835(0x13b));}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x115),(_0x15a99b,_0x28139f)=>{const _0x1b6c30=_0x31494d;this[_0x1b6c30(0x147)][_0x1b6c30(0x117)](_0x28139f[_0x1b6c30(0x144)]['id']);const _0x16f13=this[_0x1b6c30(0xf5)][_0x1b6c30(0xfc)](_0x28139f[_0x1b6c30(0x144)]['id']);if(_0x16f13){if(_0x1b6c30(0x10d)===this[_0x1b6c30(0x111)]){const _0x3455d0=this[_0x1b6c30(0x147)][_0x1b6c30(0xed)](_0x28139f[_0x1b6c30(0x144)]['id']);_0x3455d0&&_0x696a62(_0x3455d0[_0x1b6c30(0x109)](_0x1b6c30(0x114))||_0x3455d0);}else{if(_0x1b6c30(0xf2)===this[_0x1b6c30(0x111)]){const _0x3033c9={'target':_0x16f13[_0x1b6c30(0x161)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x85accb(_0x3033c9);}}this[_0x1b6c30(0x147)][_0x1b6c30(0xf6)](_0x28139f[_0x1b6c30(0x144)],_0x16f13[_0x1b6c30(0x161)]);}}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x153),()=>{const _0x33c53a=_0x31494d;this[_0x33c53a(0x147)][_0x33c53a(0xe0)]();});try{await this[_0x31494d(0x13a)][_0x31494d(0x100)]();}catch(_0x328458){_0x328458 instanceof Error&&_0x328458[_0x31494d(0x139)][_0x31494d(0x12f)](_0x31494d(0x123))||(_0x328458 instanceof _0x401a4a?this[_0x31494d(0x172)](_0x328458):this[_0x31494d(0x172)](new _0x401a4a(_0x31494d(0xf0),this,{'error':_0x328458})));}}else this[_0x31494d(0x172)](new _0x401a4a(_0x31494d(0x105),this,{'checkId':_0x1e02a4['id']}));}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x145),()=>{const _0x4d23ad=_0x4d27c1;this[_0x4d23ad(0x150)]();}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x148),()=>{const _0x70cd9c=_0x4d27c1;this[_0x70cd9c(0x150)](!0x0);}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x10b),()=>{const _0x224e15=_0x4d27c1;this[_0x224e15(0x13a)]&&this[_0x224e15(0x13a)][_0x224e15(0x10c)]();}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x122),()=>{const _0x1ed530=_0x4d27c1;this[_0x1ed530(0x150)](!0x0);}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x16e),()=>{const _0x30ab83=_0x4d27c1;if(!this[_0x30ab83(0x13a)])return;const _0x4d054d=this[_0x30ab83(0x13a)][_0x30ab83(0x12e)]();_0x4d054d[_0x30ab83(0x110)]&&(this[_0x30ab83(0xf5)][_0x30ab83(0x155)](_0x4d054d[_0x30ab83(0xdb)](_0x4c2b5f=>_0x4c2b5f['id'])),this[_0x30ab83(0x13a)][_0x30ab83(0x119)]());}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0xf3),(_0x17dcb4,_0x5ca9d2)=>{const _0x9ba4a9=_0x4d27c1;this[_0x9ba4a9(0x13a)]&&this[_0x9ba4a9(0x13a)][_0x9ba4a9(0x10a)](_0x5ca9d2['id'])&&(this[_0x9ba4a9(0xf5)][_0x9ba4a9(0x155)]([_0x5ca9d2['id']]),this[_0x9ba4a9(0x13a)][_0x9ba4a9(0x16f)](_0x5ca9d2['id']),this[_0x9ba4a9(0x147)][_0x9ba4a9(0x113)]());}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x149),(_0x556180,_0x40432e)=>{const _0x2e7269=_0x4d27c1;this[_0x2e7269(0x13a)]&&this[_0x2e7269(0x13a)][_0x2e7269(0x10a)](_0x40432e['id'])&&(this[_0x2e7269(0xf5)][_0x2e7269(0x103)](_0x40432e['id']),this[_0x2e7269(0x13a)][_0x2e7269(0xe4)](_0x40432e['id']),this[_0x2e7269(0x147)][_0x2e7269(0x113)]());}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x126),(_0x2d4466,_0x33432a)=>{const _0x188269=_0x4d27c1;this[_0x188269(0x15e)]=_0x33432a['on'],this[_0x188269(0x152)](this[_0x188269(0x15e)]);}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x138),async()=>{const _0x5706b0=_0x4d27c1;this[_0x5706b0(0x13a)]&&await this[_0x5706b0(0x13a)][_0x5706b0(0x12b)]();}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x11b),(_0x4ef9f1,_0x2bc15d)=>{const _0x5ea645=_0x4d27c1;this[_0x5ea645(0x13a)]&&(this[_0x5ea645(0x111)]=_0x5ea645(0xf2),this[_0x5ea645(0x13a)][_0x5ea645(0x11b)](_0x2bc15d['id']));}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x163),()=>{const _0xebe239=_0x4d27c1;this[_0xebe239(0x13a)]&&this[_0xebe239(0x13a)][_0xebe239(0x163)]();}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0xf5)][_0x4d27c1(0xf7)],_0x4d27c1(0x16d),(_0x386b84,_0x32a42e)=>{const _0x7b4d2d=_0x4d27c1;this[_0x7b4d2d(0x13a)]&&(this[_0x7b4d2d(0x111)]=_0x7b4d2d(0x10d),this[_0x7b4d2d(0x13a)][_0x7b4d2d(0x11b)](_0x32a42e[_0x7b4d2d(0x10e)]));});}[_0x251b1f(0x150)](_0x9b9c63=!0x1){const _0x3217f7=_0x251b1f;this[_0x3217f7(0x13a)]&&(this[_0x3217f7(0x13a)][_0x3217f7(0x10c)](),this[_0x3217f7(0x13a)][_0x3217f7(0x179)](),this[_0x3217f7(0x13a)]=void 0x0),_0x9b9c63&&this[_0x3217f7(0x147)][_0x3217f7(0xec)](),this[_0x3217f7(0xf5)][_0x3217f7(0x133)](),this[_0x3217f7(0xf5)][_0x3217f7(0x14e)](),this[_0x3217f7(0x111)]=null;const _0x40687e=this[_0x3217f7(0xf5)][_0x3217f7(0x13e)]();_0x40687e&&(_0x40687e[_0x3217f7(0x157)][_0x3217f7(0x156)](_0x3217f7(0xe3)),_0x40687e[_0x3217f7(0x157)][_0x3217f7(0x156)](_0x3217f7(0xea)));}[_0x251b1f(0x152)](_0x361c90){const _0x3f995e=_0x251b1f,_0x1647b0=this[_0x3f995e(0xf5)][_0x3f995e(0x13e)]();_0x1647b0&&(_0x1647b0[_0x3f995e(0x157)][_0x3f995e(0x156)](_0x3f995e(0xe3)),_0x1647b0[_0x3f995e(0x157)][_0x3f995e(0x156)](_0x3f995e(0xea)),_0x1647b0[_0x3f995e(0x157)][_0x3f995e(0x15b)](_0x361c90?_0x3f995e(0xe3):_0x3f995e(0xea)));}[_0x251b1f(0x137)](_0x345ef){const _0x39daba=_0x251b1f;return _0x345ef[_0x39daba(0xdb)](_0x273a2f=>{const _0x31793f=_0x39daba,_0x5cff14=_0x31793f(0x11a)+_0x273a2f['id'][_0x31793f(0x176)]()[_0x31793f(0x12c)]('-','_'),_0x56dd02={..._0x273a2f,'title':this[_0x31793f(0x14a)](_0x5cff14+_0x31793f(0x169),_0x273a2f[_0x31793f(0x15d)]),'description':this[_0x31793f(0x14a)](_0x5cff14+_0x31793f(0xdf),_0x273a2f[_0x31793f(0x120)])};return _0x273a2f[_0x31793f(0x14b)]&&(_0x56dd02[_0x31793f(0x14b)]=_0x273a2f[_0x31793f(0x14b)][_0x31793f(0xdb)](_0x5f22be=>({..._0x5f22be,'label':this[_0x31793f(0x14a)](_0x5cff14+_0x31793f(0x171),_0x5f22be[_0x31793f(0x116)]||''),'data':_0x5f22be[_0x31793f(0x164)]?_0x5f22be[_0x31793f(0x164)][_0x31793f(0xdb)](_0x196732=>({..._0x196732,'label':this[_0x31793f(0x14a)](_0x5cff14+_0x31793f(0x142)+_0x196732['id'][_0x31793f(0x176)](),_0x196732[_0x31793f(0x116)])})):void 0x0}))),_0x56dd02;});}[_0x251b1f(0x14a)](_0x9fb945,_0x7c6323){const _0x47b565=_0x251b1f,_0x16cc25=this[_0x47b565(0x168)][_0x47b565(0xe6)],_0x586675=_0x2eb01(_0x16cc25,_0x9fb945);return _0x586675===_0x9fb945?_0x7c6323:_0x586675;}[_0x251b1f(0x172)](_0xff8c16){const _0x1f3dab=_0x251b1f;_0x313c3d(_0xff8c16[_0x1f3dab(0x139)]),this[_0x1f3dab(0x147)][_0x1f3dab(0xeb)]();}}
|
|
23
|
+
const _0x539e87=_0x551a;(function(_0x491b61,_0x3cc7c9){const _0x455ce2=_0x551a,_0x531107=_0x491b61();while(!![]){try{const _0x5eb86d=-parseInt(_0x455ce2(0x234))/0x1*(-parseInt(_0x455ce2(0x204))/0x2)+parseInt(_0x455ce2(0x231))/0x3+-parseInt(_0x455ce2(0x20b))/0x4*(parseInt(_0x455ce2(0x1e4))/0x5)+-parseInt(_0x455ce2(0x205))/0x6+parseInt(_0x455ce2(0x1b5))/0x7*(parseInt(_0x455ce2(0x22e))/0x8)+-parseInt(_0x455ce2(0x248))/0x9*(-parseInt(_0x455ce2(0x224))/0xa)+parseInt(_0x455ce2(0x23c))/0xb;if(_0x5eb86d===_0x3cc7c9)break;else _0x531107['push'](_0x531107['shift']());}catch(_0x27faf6){_0x531107['push'](_0x531107['shift']());}}}(_0x1f38,0x8dcf2));import{ContextPlugin as _0x1449c1}from'ckeditor5/src/core.js';import{CKEditorError as _0x52910b,logError as _0x35ae9d,scrollAncestorsToShowTarget as _0xe6619b,scrollViewportToShowTarget as _0x2144d5}from'ckeditor5/src/utils.js';import{AIConnector as _0x1e35b4}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3b2cdd}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x101f36}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x355a84}from'./model/aireviewcustomcheckrun.js';function _0x551a(_0x3363aa,_0x18aab8){const _0x1f38e8=_0x1f38();return _0x551a=function(_0x551a43,_0x1f79dc){_0x551a43=_0x551a43-0x1a9;let _0x328597=_0x1f38e8[_0x551a43];return _0x328597;},_0x551a(_0x3363aa,_0x18aab8);}import{AIReviewModels as _0x5840d}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0xd266e7}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x17e50d}from'../aicore/utils/common-translations.js';function _0x1f38(){const _0x1e3e36=['plugins','get','config','map','_translateReviewChecks','setAvailableChecks','ready','_aiReviewModeUi','models','translate','reviewCheckRunUpdated','hideChangeBalloon','leaveReviewMode','restart','listenTo','_currentReviewCheckRun','checks','start','reviewCheckResultDeactivated','title','showReviewCompletedView','AIReviewModeEditing','prompt','_getTranslationWithDefault','data','args','showReviewCheckList','add','markChangePositionInEditorContent','2wUQygK','4366980Wrnlbq','getCheckById','reviewCheckResultAdded','showActionsWhenResultIsReady','reviewCheckResultRejected','toUpperCase','2452CvCZEh','init','label','_changeActivationSource','replaceAll','finishReview','aireviewmode-no-current-check-run','showChangeBalloon','clearAllMarkers','AI_MODEL_DESCRIPTION_','ai-request-aborted','result','isCustom','locale','processedResultsCount','finished','find','acceptAllChanges','reviewCheckResultActivated','documentData','changeMarkerClick','status','description','length','changeId','646010hbwjic','source','getContentElement','showCheckRunResults','updateChangeState','switchToReadOnly','classList','closest','custom','forceReadyState','1026072svEXud','_logError','_aiReviewModeEditing','205290kkzpaw','isOfficialPlugin','AI_REVIEW_CHECK_','878349MoqGjk','options','abortReviewStream','reviewCheckResultAccepted','_onReviewModeRunLeave','markChangeAsAccepted','leaveReviewModeResultList','acceptChange','1855293KJeBFU','context','_isDiffOn','AIConnector','ai.reviewMode.translations','markChangeAsRejected','remove','reviewCheckResultReady','content','isPremiumPlugin','resetActiveStateInResults','_aiReviewCheckList','18mVasXC','deactivateChange','_onDiffChange','loading','getActiveChanges','abort','showGeneralErrorView','accepted','addResultChanges','getAll','_OPTIONS_LABEL','includes','.ck-ai-review-mode__check-run-result','14hWjAOK','pluginName','switchToEdit','domElement','_OPTIONS_DATA_','requires','unmodified','ck-ai-review-mode-diff','_DESCRIPTION','getReviewCheckList','AIReviewModeController','error-chunk','AIReviewModeUI','rejectChange','aireviewmode-source-check-not-found','getDocumentData','showChunkErrorView','aborted','emitter','panel','getMarkerElementForChange','runReviewCheck','error-general','markAllChangesAsAccepted','params','dismissChange','model','ck-ai-review-mode-highlights','aireviewmode-check-run-failed','rejected','setActiveStateInResults','applyChange','isChangeActive','change','setCheckResultTitle','contentInitial','showNoChangesView','diffContent','toggleDiff','getChangeElement','showCheckRunResult','activateChange','changes','message','_aiConnector','_TITLE','contentNew','1570LCQaxy','retryReview','stopListening'];_0x1f38=function(){return _0x1e3e36;};return _0x1f38();}export class AIReviewModeController extends _0x1449c1{[_0x539e87(0x1e1)];[_0x539e87(0x1ee)];[_0x539e87(0x230)];[_0x539e87(0x247)];[_0x539e87(0x1f6)];[_0x539e87(0x23e)]=!0x1;[_0x539e87(0x20e)]=null;static get[_0x539e87(0x1ba)](){return[_0x1e35b4];}static get[_0x539e87(0x1b6)](){const _0x76881d=_0x539e87;return _0x76881d(0x1bf);}static get[_0x539e87(0x232)](){return!0x0;}static get[_0x539e87(0x245)](){return!0x0;}async[_0x539e87(0x20c)](){const _0x78b89b=_0x539e87;this[_0x78b89b(0x1e1)]=this[_0x78b89b(0x23d)][_0x78b89b(0x1e7)][_0x78b89b(0x1e8)](_0x78b89b(0x23f)),this[_0x78b89b(0x1ee)]=this[_0x78b89b(0x23d)][_0x78b89b(0x1e7)][_0x78b89b(0x1e8)](_0x78b89b(0x1c1)),this[_0x78b89b(0x230)]=this[_0x78b89b(0x23d)][_0x78b89b(0x1e7)][_0x78b89b(0x1e8)](_0x78b89b(0x1fc));const _0x49104d=this[_0x78b89b(0x23d)][_0x78b89b(0x1e9)][_0x78b89b(0x1e8)](_0x78b89b(0x240));if(_0x49104d){for(const _0x19fd17 of _0xd266e7)_0x78b89b(0x1f0)===_0x19fd17['id']&&(_0x19fd17[_0x78b89b(0x235)][0x0][_0x78b89b(0x1ff)]=_0x49104d);}const _0x29f8b6=this[_0x78b89b(0x1eb)](_0xd266e7);this[_0x78b89b(0x247)]=new _0x3b2cdd(_0x29f8b6);const _0x4bb3ce=this[_0x78b89b(0x247)][_0x78b89b(0x1f7)][_0x78b89b(0x21b)](_0x3ba97c=>_0x78b89b(0x22c)===_0x3ba97c['id']);if(_0x4bb3ce){const _0x45f74e=await new _0x5840d({'connector':this[_0x78b89b(0x1e1)]})[_0x78b89b(0x1b1)]();_0x4bb3ce[_0x78b89b(0x1ef)]=_0x45f74e[_0x78b89b(0x1ea)](_0x1ea5df=>({..._0x1ea5df,'description':this[_0x78b89b(0x1fe)](_0x78b89b(0x214)+_0x1ea5df['id'][_0x78b89b(0x20a)](),_0x1ea5df[_0x78b89b(0x221)])}));}this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1be),()=>{const _0x40cb10=_0x78b89b;this[_0x40cb10(0x1ee)][_0x40cb10(0x1ec)](this[_0x40cb10(0x247)][_0x40cb10(0x1f7)]);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1ca),async(_0x49295f,_0x52972e)=>{const _0x5af60b=_0x78b89b,_0x1df7da=this[_0x5af60b(0x247)][_0x5af60b(0x206)](_0x52972e['id']);if(_0x1df7da){this[_0x5af60b(0x1aa)](this[_0x5af60b(0x23e)]),_0x52972e[_0x5af60b(0x217)]?this[_0x5af60b(0x1f6)]=new _0x355a84(_0x52972e[_0x5af60b(0x200)][_0x5af60b(0x1fd)],_0x52972e[_0x5af60b(0x200)][_0x5af60b(0x1cf)],this[_0x5af60b(0x230)][_0x5af60b(0x1c4)](),_0x1df7da,this[_0x5af60b(0x1e1)]):this[_0x5af60b(0x1f6)]=new _0x101f36(this[_0x5af60b(0x230)][_0x5af60b(0x1c4)](),_0x1df7da,this[_0x5af60b(0x1e1)],_0x52972e[_0x5af60b(0x1cd)],_0x52972e[_0x5af60b(0x200)]),this[_0x5af60b(0x1ee)][_0x5af60b(0x1d7)](this[_0x5af60b(0x1f6)][_0x5af60b(0x1fa)]),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x1f1),(_0x3a65eb,_0x4b8341)=>{const _0x516540=_0x5af60b;_0x516540(0x1ff)===_0x4b8341[_0x516540(0x220)]||_0x516540(0x1ab)===_0x4b8341[_0x516540(0x220)]?(this[_0x516540(0x230)][_0x516540(0x229)](),this[_0x516540(0x1ee)][_0x516540(0x227)](_0x4b8341)):_0x516540(0x21a)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1fb)]():_0x516540(0x1ed)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x208)]():_0x516540(0x1bb)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1d9)]():_0x516540(0x1cb)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1ae)]():_0x516540(0x1c0)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1c5)]():_0x516540(0x1c6)===_0x4b8341[_0x516540(0x220)]&&(this[_0x516540(0x1f6)]&&this[_0x516540(0x1f6)][_0x516540(0x219)]>0x0?setTimeout(()=>{const _0x964fe=_0x516540;this[_0x964fe(0x1f6)]?.[_0x964fe(0x22d)]();},0x0):this[_0x516540(0x238)](!0x0));}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x207),(_0xe8574b,_0x50023f)=>{const _0x52e22a=_0x5af60b;if(!this[_0x52e22a(0x1f6)])throw new _0x52910b(_0x52e22a(0x211),this);const _0xc2a48f=this[_0x52e22a(0x230)][_0x52e22a(0x1da)](_0x50023f[_0x52e22a(0x216)][_0x52e22a(0x1d8)],_0x50023f[_0x52e22a(0x216)][_0x52e22a(0x1e3)]);_0x50023f[_0x52e22a(0x225)][_0x52e22a(0x1b0)](_0x50023f[_0x52e22a(0x216)]['id'],_0xc2a48f);}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x243),(_0x38f7d7,_0x968981)=>{const _0x524b24=_0x5af60b;for(const _0x47f145 of _0x968981[_0x524b24(0x1df)])this[_0x524b24(0x1ee)][_0x524b24(0x1dd)](_0x47f145);this[_0x524b24(0x230)][_0x524b24(0x203)](_0x968981[_0x524b24(0x1df)],_0x968981[_0x524b24(0x225)][_0x524b24(0x21e)]);}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x237),(_0x8deb46,_0x524eab)=>{const _0x3f778d=_0x5af60b;this[_0x3f778d(0x1ee)][_0x3f778d(0x228)](_0x524eab[_0x3f778d(0x1d6)]['id'],_0x3f778d(0x1af));}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x209),(_0x494b83,_0x49dd08)=>{const _0x3ae809=_0x5af60b;this[_0x3ae809(0x1ee)][_0x3ae809(0x228)](_0x49dd08[_0x3ae809(0x1d6)]['id'],_0x3ae809(0x1d2));}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x21d),(_0x5193da,_0x418b72)=>{const _0x58e4d2=_0x5af60b;this[_0x58e4d2(0x1ee)][_0x58e4d2(0x1d3)](_0x418b72[_0x58e4d2(0x1d6)]['id']);const _0x19fcd1=this[_0x58e4d2(0x230)][_0x58e4d2(0x1c9)](_0x418b72[_0x58e4d2(0x1d6)]['id']);if(_0x19fcd1){if(_0x58e4d2(0x244)===this[_0x58e4d2(0x20e)]){const _0x2e79b2=this[_0x58e4d2(0x1ee)][_0x58e4d2(0x1dc)](_0x418b72[_0x58e4d2(0x1d6)]['id']);_0x2e79b2&&_0xe6619b(_0x2e79b2[_0x58e4d2(0x22b)](_0x58e4d2(0x1b4))||_0x2e79b2);}else{if(_0x58e4d2(0x1c8)===this[_0x58e4d2(0x20e)]){const _0x185638={'target':_0x19fcd1[_0x58e4d2(0x1b8)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x2144d5(_0x185638);}}this[_0x58e4d2(0x1ee)][_0x58e4d2(0x212)](_0x418b72[_0x58e4d2(0x1d6)],_0x19fcd1[_0x58e4d2(0x1b8)]);}}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x1f9),()=>{const _0x5abc36=_0x5af60b;this[_0x5abc36(0x1ee)][_0x5abc36(0x246)]();});try{await this[_0x5af60b(0x1f6)][_0x5af60b(0x1f8)]();}catch(_0x3135cc){_0x3135cc instanceof Error&&_0x3135cc[_0x5af60b(0x1e0)][_0x5af60b(0x1b3)](_0x5af60b(0x215))||(_0x3135cc instanceof _0x52910b?this[_0x5af60b(0x22f)](_0x3135cc):this[_0x5af60b(0x22f)](new _0x52910b(_0x5af60b(0x1d1),this,{'error':_0x3135cc})));}}else this[_0x5af60b(0x22f)](new _0x52910b(_0x5af60b(0x1c3),this,{'checkId':_0x52972e['id']}));}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1f3),()=>{const _0x2d623f=_0x78b89b;this[_0x2d623f(0x238)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x23a),()=>{const _0x4d4edd=_0x78b89b;this[_0x4d4edd(0x238)](!0x0);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x236),()=>{const _0x359484=_0x78b89b;this[_0x359484(0x1f6)]&&this[_0x359484(0x1f6)][_0x359484(0x1ad)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x210),()=>{const _0x59e2fd=_0x78b89b;this[_0x59e2fd(0x238)](!0x0);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x21c),()=>{const _0x16ce90=_0x78b89b;if(!this[_0x16ce90(0x1f6)])return;const _0x132b65=this[_0x16ce90(0x1f6)][_0x16ce90(0x1ac)]();_0x132b65[_0x16ce90(0x222)]&&(this[_0x16ce90(0x230)][_0x16ce90(0x1d4)](_0x132b65[_0x16ce90(0x1ea)](_0x1d16b1=>_0x1d16b1['id'])),this[_0x16ce90(0x1f6)][_0x16ce90(0x1cc)]());}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x23b),(_0x408e65,_0x470f7a)=>{const _0x2a1fac=_0x78b89b;this[_0x2a1fac(0x1f6)]&&this[_0x2a1fac(0x1f6)][_0x2a1fac(0x1d5)](_0x470f7a['id'])&&(this[_0x2a1fac(0x230)][_0x2a1fac(0x1d4)]([_0x470f7a['id']]),this[_0x2a1fac(0x1f6)][_0x2a1fac(0x239)](_0x470f7a['id']),this[_0x2a1fac(0x1ee)][_0x2a1fac(0x1f2)]());}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1ce),(_0x2c63b4,_0x276ac1)=>{const _0x1b69e9=_0x78b89b;this[_0x1b69e9(0x1f6)]&&this[_0x1b69e9(0x1f6)][_0x1b69e9(0x1d5)](_0x276ac1['id'])&&(this[_0x1b69e9(0x230)][_0x1b69e9(0x1c2)](_0x276ac1['id']),this[_0x1b69e9(0x1f6)][_0x1b69e9(0x241)](_0x276ac1['id']),this[_0x1b69e9(0x1ee)][_0x1b69e9(0x1f2)]());}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1db),(_0x5bbc92,_0x2f6c9)=>{const _0x413e6f=_0x78b89b;this[_0x413e6f(0x23e)]=_0x2f6c9['on'],this[_0x413e6f(0x1aa)](this[_0x413e6f(0x23e)]);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1e5),async()=>{const _0x5d41e9=_0x78b89b;this[_0x5d41e9(0x1f6)]&&await this[_0x5d41e9(0x1f6)][_0x5d41e9(0x1f4)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1de),(_0xe50a95,_0x497c43)=>{const _0x57b635=_0x78b89b;this[_0x57b635(0x1f6)]&&(this[_0x57b635(0x20e)]=_0x57b635(0x1c8),this[_0x57b635(0x1f6)][_0x57b635(0x1de)](_0x497c43['id']));}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1a9),()=>{const _0x4df327=_0x78b89b;this[_0x4df327(0x1f6)]&&this[_0x4df327(0x1f6)][_0x4df327(0x1a9)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x230)][_0x78b89b(0x1c7)],_0x78b89b(0x21f),(_0xbff2a2,_0x272078)=>{const _0x371f6c=_0x78b89b;this[_0x371f6c(0x1f6)]&&(this[_0x371f6c(0x20e)]=_0x371f6c(0x244),this[_0x371f6c(0x1f6)][_0x371f6c(0x1de)](_0x272078[_0x371f6c(0x223)]));});}[_0x539e87(0x238)](_0x272447=!0x1){const _0x5b3109=_0x539e87;this[_0x5b3109(0x1f6)]&&(this[_0x5b3109(0x1f6)][_0x5b3109(0x1ad)](),this[_0x5b3109(0x1f6)][_0x5b3109(0x1e6)](),this[_0x5b3109(0x1f6)]=void 0x0),_0x272447&&this[_0x5b3109(0x1ee)][_0x5b3109(0x201)](),this[_0x5b3109(0x230)][_0x5b3109(0x213)](),this[_0x5b3109(0x230)][_0x5b3109(0x1b7)](),this[_0x5b3109(0x20e)]=null;const _0x32b815=this[_0x5b3109(0x230)][_0x5b3109(0x226)]();_0x32b815&&(_0x32b815[_0x5b3109(0x22a)][_0x5b3109(0x242)](_0x5b3109(0x1bc)),_0x32b815[_0x5b3109(0x22a)][_0x5b3109(0x242)](_0x5b3109(0x1d0)));}[_0x539e87(0x1aa)](_0x207beb){const _0x11fc12=_0x539e87,_0x1738ef=this[_0x11fc12(0x230)][_0x11fc12(0x226)]();_0x1738ef&&(_0x1738ef[_0x11fc12(0x22a)][_0x11fc12(0x242)](_0x11fc12(0x1bc)),_0x1738ef[_0x11fc12(0x22a)][_0x11fc12(0x242)](_0x11fc12(0x1d0)),_0x1738ef[_0x11fc12(0x22a)][_0x11fc12(0x202)](_0x207beb?_0x11fc12(0x1bc):_0x11fc12(0x1d0)));}[_0x539e87(0x1eb)](_0x4cf7a8){const _0x10edef=_0x539e87;return _0x4cf7a8[_0x10edef(0x1ea)](_0xf4cc84=>{const _0xfdaa53=_0x10edef,_0x52f7b2=_0xfdaa53(0x233)+_0xf4cc84['id'][_0xfdaa53(0x20a)]()[_0xfdaa53(0x20f)]('-','_'),_0x13788b={..._0xf4cc84,'title':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1e2),_0xf4cc84[_0xfdaa53(0x1fa)]),'description':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1bd),_0xf4cc84[_0xfdaa53(0x221)])};return _0xf4cc84[_0xfdaa53(0x235)]&&(_0x13788b[_0xfdaa53(0x235)]=_0xf4cc84[_0xfdaa53(0x235)][_0xfdaa53(0x1ea)](_0x2b02af=>({..._0x2b02af,'label':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1b2),_0x2b02af[_0xfdaa53(0x20d)]||''),'data':_0x2b02af[_0xfdaa53(0x1ff)]?_0x2b02af[_0xfdaa53(0x1ff)][_0xfdaa53(0x1ea)](_0x17cdba=>({..._0x17cdba,'label':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1b9)+_0x17cdba['id'][_0xfdaa53(0x20a)](),_0x17cdba[_0xfdaa53(0x20d)])})):void 0x0}))),_0x13788b;});}[_0x539e87(0x1fe)](_0x11b3cf,_0x56fe99){const _0x1a7df3=_0x539e87,_0x3d447a=this[_0x1a7df3(0x23d)][_0x1a7df3(0x218)],_0x1371db=_0x17e50d(_0x3d447a,_0x11b3cf);return _0x1371db===_0x11b3cf?_0x56fe99:_0x1371db;}[_0x539e87(0x22f)](_0xc93aa5){const _0x330a40=_0x539e87;_0x35ae9d(_0xc93aa5[_0x330a40(0x1e0)]),this[_0x330a40(0x1ee)][_0x330a40(0x1ae)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55731f=_0x43ee;(function(_0x5a2f70,_0x4ceed5){const _0x44c21e=_0x43ee,_0x2d9126=_0x5a2f70();while(!![]){try{const _0x3ecc0f=-parseInt(_0x44c21e(0x2b1))/0x1*(-parseInt(_0x44c21e(0x2a5))/0x2)+parseInt(_0x44c21e(0x219))/0x3+parseInt(_0x44c21e(0x1da))/0x4+-parseInt(_0x44c21e(0x236))/0x5*(-parseInt(_0x44c21e(0x2af))/0x6)+-parseInt(_0x44c21e(0x273))/0x7*(-parseInt(_0x44c21e(0x1e3))/0x8)+parseInt(_0x44c21e(0x267))/0x9*(parseInt(_0x44c21e(0x2a3))/0xa)+-parseInt(_0x44c21e(0x27f))/0xb;if(_0x3ecc0f===_0x4ceed5)break;else _0x2d9126['push'](_0x2d9126['shift']());}catch(_0x48c5bc){_0x2d9126['push'](_0x2d9126['shift']());}}}(_0x541a,0x34ac7));function _0x43ee(_0xc5d033,_0x5a4f3e){const _0x541a03=_0x541a();return _0x43ee=function(_0x43ee4a,_0x5c77da){_0x43ee4a=_0x43ee4a-0x1da;let _0x542831=_0x541a03[_0x43ee4a];return _0x542831;},_0x43ee(_0xc5d033,_0x5a4f3e);}import{InsertOperation as _0x459e73,MarkerOperation as _0x43aad1,ModelDocumentFragment as _0x41dfcc,ModelPosition as _0x450e8b,ModelRange as _0x4bb759,ModelTreeWalker as _0x1d9402,transformOperationSets as _0x441e2f}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x153a02,EmitterMixin as _0xa0eb5e}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x3aa7ea}from'ckeditor5/src/core.js';import{DocumentCompare as _0x4b153b,DATA_ID_MODEL_ATTRIBUTE as _0x31e03e,DATA_ID_VIEW_ATTRIBUTE as _0x5dfe40}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x47fe83}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x3f2875}from'../aicore/aiediting.js';function _0x541a(){const _0x596f28=['baseVersion','288573RswVuR','remove-only','version','1467412kYpYVZ','getOperations','history','requires','AIEditing','_createGetContextFn','afterInit','keys','getPath','2518616ALaukK','createPositionAfter','stringify','backward','createRawElement','[data-id=\x22','createRange','_removeChildren','getAttribute','text','getShiftedBy','AIReviewModeEditing','clearAllMarkers','disableReadOnlyMode','set','_getOperationStart','isInline','dataDowncast','getDomRoot','applyOperation','_domEmitter','insert','exec','_shiftOperation','path','groupId','suggestion:insertion:id:authorId:','markerToElement','conversion','position','jumpTo','_changeRangeOwnerDocument','isAtEnd','span','markerName','_setAttribute','outerHTML','innerHTML','isDocumentOperation','ck-ai_review-mode-marker_underline','remove-context','querySelector','markChangePositionInEditorContent','type','plugins','operationsA','howMany','target','every','_insertMarkers','includes','offset','parentElement','getChildren','946794GHRxXy','schema','_getChangeContext','$markedRemove','ck-ai_review-mode-marker_add','_changePosition','change','warn','fire','applyChange','affectsData','document','_changeOperationOwnerDocument','markers','_findMarkerElement','_sortMarkers','element','toView','downcast','isOfficialPlugin','getContentElement','pluginName','getRoot','for','sort','className','clear','getRoots','getRange','1030475XJSoDx','isTouching','_createGetContentFn','_translateOperationToEditorContent','[data-marker-id=\x22','add','newRange','hasContentAfter','ai-review-mode','end','concat','_appendChild','split','ck-ai_review-mode-marker_','from','suggestion:deletion:id:authorId:','createUIElement','filter','getMarkerElementForChange','oldRange','remove-text','get','ck-ai_review-mode-marker_context-','_clone','enableReadOnlyMode','pop','values','operationsIsolated','parse','attributeToAttribute','getDocumentData','createDocumentFragment','name','getDiff','changeMarkerClick','createSelection','$textProxy','ck-ai_review-mode-marker_strikethrough','processor','childCount','context','htmlWriter','push','markerToHighlight','htmlProcessor','_getMarkersDataForGroup','hasContentBefore','switchToEdit','isAtStart','820467HDTUDf','start','_nextDataId','offsetSize','_createGetContentUsingDataIdFn','ellipsisBefore','addMarker','ellipsisAfter','index','marker','switchToReadOnly','length','7WKEYie','clone','data-marker-id','documentFragment','flat','data','elements','deleteContent','reviewmode-','DocumentCompare','ck-ai_review-mode-marker_hide','$documentFragment','18049317fpbNdd','toData','editingDowncast','click','suggestion-context','caption','addOperation','_findAdjacentContextDistance','isPremiumPlugin','_changePositionOwnerDocument','isOpening','startsWith','_markers','getChild','editing','map','ck-ai_review-mode-marker_context-end','_groupAdjacentOperations','append','No\x20element\x20found\x20for\x20ID:\x20','model:$text','removeMarker','_changeRange','emitter','diffContent','getHtml','view','domConverter','createPositionAt','delete','forward','rejectChange','insertContent','toDomElement','model','listenTo','40HYGBTm','hasClass','2dGrrTT','createText','_getTopElement','viewToDom','_eventEmitter','nodes','_getOperationEnd','batch','parent','ck-ai_review-mode-marker_context-start','6ffOCek'];_0x541a=function(){return _0x596f28;};return _0x541a();}const se=_0x55731f(0x27b);export class AIReviewModeEditing extends _0x3aa7ea{static get[_0x55731f(0x22e)](){const _0x4f71bc=_0x55731f;return _0x4f71bc(0x1ee);}static get[_0x55731f(0x1dd)](){return[_0x4b153b,_0x3f2875];}static get[_0x55731f(0x22c)](){return!0x0;}static get[_0x55731f(0x287)](){return!0x0;}[_0x55731f(0x28b)]=new Map();[_0x55731f(0x1f7)];[_0x55731f(0x2a9)];constructor(_0x4e6e76){const _0x6ec838=_0x55731f;super(_0x4e6e76),this[_0x6ec838(0x1f7)]=new(_0x153a02())(),this[_0x6ec838(0x2a9)]=new(_0xa0eb5e())();}get[_0x55731f(0x296)](){const _0x1e05b9=_0x55731f;return this[_0x1e05b9(0x2a9)];}[_0x55731f(0x1e0)](){const _0x483696=_0x55731f,_0x3f4c77=_0x47fe83(this[_0x483696(0x25e)]);_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x1fe)]({'model':se+_0x483696(0x1f8),'view':(_0x401b0a,{writer:_0x52f43a})=>{const _0x5b5a60=_0x483696,_0xdab9e0=this[_0x5b5a60(0x28b)][_0x5b5a60(0x24b)](_0x401b0a[_0x5b5a60(0x205)]),_0x125272={'class':_0x5b5a60(0x21d),'data-marker-id':_0x401b0a[_0x5b5a60(0x205)]};return _0x52f43a[_0x5b5a60(0x246)](_0x5b5a60(0x204),_0x125272,function(_0x58d10d){const _0x3e3462=_0x5b5a60,_0xc1a477=this[_0x3e3462(0x2a0)](_0x58d10d);return _0xc1a477[_0x3e3462(0x208)]=_0xdab9e0?.[_0x3e3462(0x1ec)]||'',_0xc1a477;});}}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x261)]({'model':se+_0x483696(0x2b2),'view':_0x404ab7=>({'classes':_0x483696(0x25b),'attributes':{'data-marker-id':_0x404ab7[_0x483696(0x205)]}})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x261)]({'model':se+_0x483696(0x20b),'view':_0x1a2769=>({'classes':_0x483696(0x20a),'attributes':{'data-marker-id':_0x1a2769[_0x483696(0x205)]}})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x261)]({'model':se+_0x483696(0x24a),'view':_0x23ba92=>({'classes':_0x483696(0x27d),'attributes':{'data-marker-id':_0x23ba92[_0x483696(0x205)]}})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x1f4))[_0x483696(0x1fe)]({'model':se+_0x483696(0x283),'view':(_0x61b99d,{writer:_0x59592e})=>_0x59592e[_0x483696(0x1e7)](_0x483696(0x204),{'class':_0x483696(0x24c)+(_0x61b99d[_0x483696(0x289)]?_0x483696(0x268):_0x483696(0x23f))})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x22b))[_0x483696(0x253)]({'model':_0x31e03e,'view':_0x5dfe40}),this[_0x483696(0x1f7)][_0x483696(0x2a2)](document,_0x483696(0x282),(_0x3a0a24,_0x59172f)=>{const _0x40d9da=_0x483696,_0x2e29cc=_0x59172f[_0x40d9da(0x212)],_0x3e1662=this[_0x40d9da(0x227)](_0x2e29cc);if(!_0x3e1662)return;const _0x452f15=_0x3e1662[_0x40d9da(0x1eb)](_0x40d9da(0x275)),_0x30e7ae=_0x452f15[_0x40d9da(0x242)](':')[_0x40d9da(0x24f)]()?.[_0x40d9da(0x242)]('_')[0x0];this[_0x40d9da(0x2a9)][_0x40d9da(0x221)](_0x40d9da(0x258),{'markerId':_0x452f15,'changeId':_0x30e7ae});});}[_0x55731f(0x254)](){const _0x310222=_0x55731f,_0xaa642d=this[_0x310222(0x25e)][_0x310222(0x20f)][_0x310222(0x24b)](_0x310222(0x1de)),_0x6fabf1=_0x47fe83(this[_0x310222(0x25e)]),_0x2a287e=_0x6fabf1[_0x310222(0x2a1)],_0x4e48c9=new _0x41dfcc();for(const _0x825996 of _0x2a287e[_0x310222(0x224)][_0x310222(0x22f)]()[_0x310222(0x218)]()){const _0x3041f8=_0x825996[_0x310222(0x24d)](!0x0);_0x4e48c9[_0x310222(0x241)](_0x3041f8);}for(const _0x1d6de9 of _0x2a287e[_0x310222(0x226)])_0x4e48c9[_0x310222(0x226)][_0x310222(0x1f1)](_0x1d6de9[_0x310222(0x256)],this[_0x310222(0x202)](_0x1d6de9[_0x310222(0x235)]()[_0x310222(0x274)](),_0x4e48c9));const _0x1f96de=new _0x1d9402({'ignoreElementEnd':!0x0,'startPosition':_0x2a287e[_0x310222(0x29b)](_0x4e48c9,0x0)}),_0xfd99d5=new Set(),_0x4df985=new Map();for(const {item:_0x5a1a6d}of _0x1f96de){if(!_0x5a1a6d['is'](_0x310222(0x25a)))continue;const _0x319695=_0x5a1a6d[_0x310222(0x2ad)];if((!_0x319695||!_0x319695['is'](_0x310222(0x229),_0x310222(0x284)))&&(_0x319695&&_0x319695['is'](_0x310222(0x229)))){let _0x3ebfaa=_0x319695[_0x310222(0x1eb)](_0x31e03e);_0x3ebfaa||(_0x3ebfaa=_0xaa642d[_0x310222(0x269)](_0xfd99d5),_0x319695[_0x310222(0x206)](_0x31e03e,_0x3ebfaa)),_0xfd99d5[_0x310222(0x23b)](_0x3ebfaa);const _0x567883=this[_0x310222(0x2a7)](_0x319695);_0x4df985[_0x310222(0x1f1)](_0x3ebfaa,{'path':_0x319695[_0x310222(0x1e2)](),'getContent':this[_0x310222(0x26b)](_0x567883[_0x310222(0x24d)](!0x0),_0x3ebfaa,_0x6fabf1[_0x310222(0x278)])}),_0x1f96de[_0x310222(0x201)](_0x2a287e[_0x310222(0x1e4)](_0x319695));}}return{'content':_0x6fabf1[_0x310222(0x278)][_0x310222(0x25c)][_0x310222(0x280)](_0x6fabf1[_0x310222(0x278)][_0x310222(0x22a)](_0x4e48c9)),'version':_0x6fabf1[_0x310222(0x2a1)][_0x310222(0x224)][_0x310222(0x2b3)],'elements':_0x4df985};}[_0x55731f(0x297)](_0x1f1f3d,_0x49ea61){const _0x2587ed=_0x55731f,_0x1f1494=_0x47fe83(this[_0x2587ed(0x25e)]),_0x64aaa4=_0x1f1494[_0x2587ed(0x278)][_0x2587ed(0x252)](_0x1f1f3d,_0x2587ed(0x27e)),_0x39fde8=_0x1f1494[_0x2587ed(0x2a1)][_0x2587ed(0x29b)](_0x64aaa4,0x0),_0x5c0de5=this[_0x2587ed(0x25e)][_0x2587ed(0x20f)][_0x2587ed(0x24b)](_0x2587ed(0x27c))[_0x2587ed(0x257)](_0x1f1f3d,_0x49ea61,{'anchor':_0x39fde8,'markDeletions':!0x0})[_0x2587ed(0x1db)]()[_0x2587ed(0x247)](_0x269a90=>_0x2587ed(0x1f8)===_0x269a90[_0x2587ed(0x20e)]||_0x2587ed(0x270)===_0x269a90[_0x2587ed(0x20e)]&&_0x269a90[_0x2587ed(0x256)][_0x2587ed(0x28a)](_0x2587ed(0x21c))),_0x33e8a3=this[_0x2587ed(0x290)](_0x5c0de5),_0x1e4fd4=[];let _0x3d392b=0x0;return _0x1f1494[_0x2587ed(0x2a1)][_0x2587ed(0x21f)](_0x33531a=>{const _0x1a570c=_0x2587ed;for(let _0x214027=0x0;_0x214027<_0x33e8a3[_0x1a570c(0x272)];_0x214027++){const _0x32ed9c=_0x33e8a3[_0x214027],_0x4e65e5=_0x33531a[_0x1a570c(0x255)]();for(const _0x26e028 of _0x64aaa4[_0x1a570c(0x218)]())_0x33531a[_0x1a570c(0x291)](_0x26e028[_0x1a570c(0x24d)](!0x0),_0x4e65e5);for(const _0x38c1c3 of _0x32ed9c[_0x1a570c(0x251)])if(_0x1a570c(0x1f8)===_0x38c1c3[_0x1a570c(0x20e)]){const _0x38760d=_0x38c1c3;_0x38760d[_0x1a570c(0x2b0)]=null,_0x38760d[_0x1a570c(0x209)]=!0x1,this[_0x1a570c(0x225)](_0x38760d,_0x4e65e5),_0x33531a[_0x1a570c(0x2ac)][_0x1a570c(0x285)](_0x38c1c3),_0x1f1494[_0x1a570c(0x2a1)][_0x1a570c(0x1f6)](_0x38c1c3);const _0x3396d1=_0x1a570c(0x1fd)+_0x3d392b++,_0x4960b7=_0x1f1494[_0x1a570c(0x2a1)][_0x1a570c(0x1e9)](_0x38760d[_0x1a570c(0x200)],_0x38760d[_0x1a570c(0x200)][_0x1a570c(0x1ed)](_0x38760d[_0x1a570c(0x211)]));_0x4e65e5[_0x1a570c(0x226)][_0x1a570c(0x1f1)](_0x3396d1,_0x4960b7);}else{if(_0x1a570c(0x270)===_0x38c1c3[_0x1a570c(0x20e)]&&_0x38c1c3[_0x1a570c(0x256)][_0x1a570c(0x28a)](_0x1a570c(0x21c))){const _0x384053=_0x38c1c3,_0x25e31d=_0x1a570c(0x245)+_0x3d392b++;this[_0x1a570c(0x225)](_0x384053,_0x4e65e5),_0x4e65e5[_0x1a570c(0x226)][_0x1a570c(0x1f1)](_0x25e31d,_0x384053[_0x1a570c(0x23c)]);}}const _0x5579f3=this[_0x1a570c(0x21b)](this[_0x1a570c(0x288)](this[_0x1a570c(0x1f2)](_0x32ed9c[_0x1a570c(0x251)][0x0]),_0x4e65e5),this[_0x1a570c(0x288)](this[_0x1a570c(0x2ab)](_0x32ed9c[_0x1a570c(0x251)][_0x32ed9c[_0x1a570c(0x251)][_0x1a570c(0x272)]-0x1]),_0x4e65e5));_0x4e65e5[_0x1a570c(0x226)][_0x1a570c(0x1f1)](se+_0x1a570c(0x283),new _0x4bb759(_0x5579f3[_0x1a570c(0x268)],_0x5579f3[_0x1a570c(0x23f)])),_0x1e4fd4[_0x1a570c(0x260)]({..._0x32ed9c,'context':this[_0x1a570c(0x1df)](_0x4e65e5,_0x1f1494[_0x1a570c(0x278)],{'ellipsisBefore':_0x5579f3[_0x1a570c(0x264)],'ellipsisAfter':_0x5579f3[_0x1a570c(0x23d)]}),'content':this[_0x1a570c(0x238)](_0x4e65e5,_0x1f1494[_0x1a570c(0x278)])});}}),_0x1e4fd4;}[_0x55731f(0x20d)](_0x6cb467,_0x3ba830){const _0x282a19=_0x55731f,_0x2729e6=_0x6cb467[0x0][_0x282a19(0x2ad)]['id'],_0x2f3536=_0x3ba830[_0x282a19(0x279)][_0x282a19(0x24b)](_0x2729e6);if(!_0x2f3536)return void console[_0x282a19(0x220)](_0x282a19(0x292)+_0x2729e6);const _0x5003ab=_0x2f3536[_0x282a19(0x1fb)],_0xfdf08a=_0x47fe83(this[_0x282a19(0x25e)]),_0x5ef8e7=_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x224)][_0x282a19(0x1dc)][_0x282a19(0x1db)](_0x3ba830[_0x282a19(0x2b3)]),_0xbfa3e8=[];for(const _0x458b5f of _0x6cb467){const _0x5ba02d=_0x458b5f[_0x282a19(0x251)][_0x282a19(0x28e)](_0x1803ad=>this[_0x282a19(0x239)](_0x1803ad,_0x5003ab,_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x224)][_0x282a19(0x234)]()[0x0]));if(!_0x5ba02d||!_0x5ba02d[_0x282a19(0x272)])continue;const _0x41a2c4=_0x5ba02d[_0x282a19(0x213)](_0x402db5=>_0x282a19(0x270)===_0x402db5[_0x282a19(0x20e)]&&_0x402db5[_0x282a19(0x256)][_0x282a19(0x28a)](_0x282a19(0x21c))),_0x47bfe7={'document':_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x224)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2e4886=_0x441e2f(_0x5ba02d,_0x5ef8e7,_0x47bfe7)[_0x282a19(0x210)];for(const _0x1e1eee of _0x2e4886)if(_0x282a19(0x1f8)===_0x1e1eee[_0x282a19(0x20e)]){const _0x13c06e=_0x1e1eee,_0x4defac=_0x13c06e[_0x282a19(0x2aa)];let _0x571045='';for(const _0x26c160 of _0x4defac)_0x26c160&&_0x26c160['is'](_0x282a19(0x293))&&(_0x571045+=_0x26c160[_0x282a19(0x278)]);_0xbfa3e8[_0x282a19(0x260)]({'start':_0x13c06e[_0x282a19(0x200)],'end':_0x13c06e[_0x282a19(0x200)],'type':_0x282a19(0x1f8),'groupId':_0x458b5f['id'],'text':_0x571045});}else{if(_0x282a19(0x270)===_0x1e1eee[_0x282a19(0x20e)]&&_0x1e1eee[_0x282a19(0x256)][_0x282a19(0x28a)](_0x282a19(0x21c))){const _0x175ce4=_0x1e1eee;let _0xc15c64=_0x282a19(0x24a);if(_0x41a2c4){const _0x449f03=this[_0x282a19(0x286)](_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x268)],_0x282a19(0x1e6),_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x21a)]),_0x52ff54=this[_0x282a19(0x286)](_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x23f)],_0x282a19(0x29d),_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x21a)]);if(_0x449f03||_0x52ff54){const _0x12ceb7=_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x268)][_0x282a19(0x1ed)](-_0x449f03),_0x41563b=_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x23f)][_0x282a19(0x1ed)](_0x52ff54);_0xbfa3e8[_0x282a19(0x260)]({'start':_0x12ceb7,'end':_0x41563b,'groupId':_0x458b5f['id'],'type':_0x282a19(0x20b)});}else _0xc15c64=_0x282a19(0x2b2);}_0xbfa3e8[_0x282a19(0x260)]({'start':_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x268)],'end':_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x23f)],'groupId':_0x458b5f['id'],'type':_0xc15c64});}}}this[_0x282a19(0x214)](_0xbfa3e8);}[_0x55731f(0x1ef)](){const _0x216b27=_0x55731f;_0x47fe83(this[_0x216b27(0x25e)])[_0x216b27(0x2a1)][_0x216b27(0x21f)](_0x3b6ed2=>{const _0x4410a4=_0x216b27;for(const _0x41fd9d of this[_0x4410a4(0x28b)][_0x4410a4(0x1e1)]())_0x3b6ed2[_0x4410a4(0x294)](_0x41fd9d);}),this[_0x216b27(0x28b)][_0x216b27(0x233)]();}[_0x55731f(0x271)](){const _0x2b63ef=_0x55731f;_0x47fe83(this[_0x2b63ef(0x25e)])[_0x2b63ef(0x24e)](_0x2b63ef(0x23e));}[_0x55731f(0x265)](){const _0x58066e=_0x55731f;_0x47fe83(this[_0x58066e(0x25e)])[_0x58066e(0x1f0)](_0x58066e(0x23e));}[_0x55731f(0x222)](_0x532100){const _0x1a640d=_0x55731f,_0x15f3e5=_0x47fe83(this[_0x1a640d(0x25e)]),_0x27a18a=_0x15f3e5[_0x1a640d(0x2a1)],_0x5be9d3=_0x532100[_0x1a640d(0x28e)](_0x304dda=>this[_0x1a640d(0x263)](_0x304dda))[_0x1a640d(0x277)]();_0x27a18a[_0x1a640d(0x21f)](_0x293c2c=>{const _0x1d0dc4=_0x1a640d;for(const _0x550fb1 of _0x5be9d3){const _0x34549d=_0x15f3e5[_0x1d0dc4(0x2a1)][_0x1d0dc4(0x226)][_0x1d0dc4(0x24b)](_0x550fb1['id']);_0x34549d&&(_0x1d0dc4(0x1f8)===_0x550fb1[_0x1d0dc4(0x20e)]?_0x27a18a[_0x1d0dc4(0x29f)](_0x293c2c[_0x1d0dc4(0x2a6)](_0x550fb1[_0x1d0dc4(0x1ec)]||''),_0x34549d[_0x1d0dc4(0x235)]()[_0x1d0dc4(0x268)]):_0x1d0dc4(0x24a)!==_0x550fb1[_0x1d0dc4(0x20e)]&&_0x1d0dc4(0x2b2)!==_0x550fb1[_0x1d0dc4(0x20e)]||_0x27a18a[_0x1d0dc4(0x27a)](_0x27a18a[_0x1d0dc4(0x259)](_0x34549d[_0x1d0dc4(0x235)]())),_0x293c2c[_0x1d0dc4(0x294)](_0x550fb1['id']),this[_0x1d0dc4(0x28b)][_0x1d0dc4(0x29c)](_0x550fb1['id']));}});}[_0x55731f(0x29e)](_0xa82a5b){const _0x31f272=_0x55731f,_0x491c23=_0x47fe83(this[_0x31f272(0x25e)]),_0x294d27=this[_0x31f272(0x263)](_0xa82a5b);_0x491c23[_0x31f272(0x2a1)][_0x31f272(0x21f)](_0x3c2a2e=>{const _0x50e255=_0x31f272;for(const _0x3bc8b9 of _0x294d27)_0x3c2a2e[_0x50e255(0x294)](_0x3bc8b9['id']),this[_0x50e255(0x28b)][_0x50e255(0x29c)](_0x3bc8b9['id']);});}[_0x55731f(0x22d)](){const _0xef8917=_0x55731f,_0x23c6d1=_0x47fe83(this[_0xef8917(0x25e)]);return _0x23c6d1&&_0x23c6d1['ui']&&_0x23c6d1['ui'][_0xef8917(0x229)]?_0x23c6d1['ui'][_0xef8917(0x229)]:null;}[_0x55731f(0x248)](_0x12c0cf){const _0xdaa3de=_0x55731f,_0x59c7e0=Array[_0xdaa3de(0x244)](this[_0xdaa3de(0x28b)][_0xdaa3de(0x250)]())[_0xdaa3de(0x247)](_0x1d2143=>_0x1d2143[_0xdaa3de(0x1fc)]===_0x12c0cf);if(!_0x59c7e0[_0xdaa3de(0x272)])return null;const _0x4bb57a=0x1===_0x59c7e0[_0xdaa3de(0x272)]?_0x59c7e0[0x0]:this[_0xdaa3de(0x228)](_0x59c7e0)[0x0],_0x17e325=_0x47fe83(this[_0xdaa3de(0x25e)]),_0x555aea=_0x17e325[_0xdaa3de(0x2a1)][_0xdaa3de(0x226)][_0xdaa3de(0x24b)](_0x4bb57a['id']);if(!_0x555aea)return null;const _0x550223=_0x555aea[_0xdaa3de(0x235)](),_0x2c5697=_0x17e325[_0xdaa3de(0x28d)][_0xdaa3de(0x299)][_0xdaa3de(0x1f5)]();if(!_0x2c5697||!_0x550223)return null;const _0x1b8895=_0x2c5697[_0xdaa3de(0x20c)](_0xdaa3de(0x23a)+_0x4bb57a['id']+'\x22]');return _0x1b8895?{'modelRange':_0x550223,'domElement':_0x1b8895}:null;}[_0x55731f(0x239)](_0x1dd8b0,_0x5cc80f,_0x414b6c){const _0x52c769=_0x55731f;if(_0x52c769(0x1f8)===_0x1dd8b0[_0x52c769(0x20e)]){const _0x333d80=_0x1dd8b0;return new _0x459e73(this[_0x52c769(0x21e)](_0x333d80[_0x52c769(0x200)],_0x5cc80f[_0x52c769(0x240)](_0x333d80[_0x52c769(0x200)][_0x52c769(0x216)]),_0x414b6c),_0x333d80[_0x52c769(0x2aa)],_0x333d80[_0x52c769(0x2b0)]);}if(_0x52c769(0x270)===_0x1dd8b0[_0x52c769(0x20e)]&&_0x1dd8b0[_0x52c769(0x256)][_0x52c769(0x28a)](_0x52c769(0x21c))){const _0x35679e=_0x1dd8b0;return new _0x43aad1(_0x35679e[_0x52c769(0x256)],_0x35679e[_0x52c769(0x249)],this[_0x52c769(0x295)](_0x35679e[_0x52c769(0x23c)],_0x5cc80f[_0x52c769(0x240)](_0x35679e[_0x52c769(0x23c)][_0x52c769(0x268)][_0x52c769(0x216)]),_0x5cc80f[_0x52c769(0x240)](_0x35679e[_0x52c769(0x23c)][_0x52c769(0x23f)][_0x52c769(0x216)]),_0x414b6c),_0x35679e[_0x52c769(0x28b)],_0x35679e[_0x52c769(0x223)],_0x35679e[_0x52c769(0x2b0)]);}return _0x1dd8b0;}[_0x55731f(0x290)](_0x1a6705){const _0x5b3f48=_0x55731f;if(!_0x1a6705[_0x5b3f48(0x272)])return[];const _0x1dfaf5=[];let _0x567daa=0x0,_0x335505=0x0,_0x25d606=[];for(let _0x1cffc4=0x0;_0x1cffc4<=_0x1a6705[_0x5b3f48(0x272)];_0x1cffc4++){const _0x4bf508=_0x1a6705[_0x1cffc4],_0x4f9f96=_0x1a6705[_0x1cffc4-0x1];!_0x4bf508||_0x4f9f96&&!this[_0x5b3f48(0x2ab)](_0x4f9f96)[_0x5b3f48(0x237)](this[_0x5b3f48(0x1f2)](_0x4bf508))?(_0x1dfaf5[_0x5b3f48(0x260)]({'operations':_0x25d606,'operationsIsolated':_0x25d606[_0x5b3f48(0x28e)](_0x2538dc=>this[_0x5b3f48(0x1fa)](_0x2538dc[_0x5b3f48(0x274)](),-_0x335505)),'groupOffset':_0x567daa}),_0x25d606=_0x4bf508?[_0x4bf508]:[],_0x335505+=_0x567daa,_0x567daa=0x0):_0x25d606[_0x5b3f48(0x260)](_0x4bf508),_0x4bf508&&_0x5b3f48(0x1f8)===_0x4bf508[_0x5b3f48(0x20e)]&&(_0x567daa+=_0x4bf508[_0x5b3f48(0x211)]);}return _0x1dfaf5;}[_0x55731f(0x286)](_0x18a5e3,_0x8dd133,_0x33ab29,_0x395344=0x1){const _0x15821d=_0x55731f,_0x16e788=new _0x1d9402({'startPosition':_0x18a5e3,'direction':_0x8dd133});let _0x5390d8=0x0;for(let _0x4e6c43=0x0;_0x4e6c43<_0x395344;_0x4e6c43++){let _0x4b9396=0x0,_0x5e4319=!0x1,_0x148b27=_0x15821d(0x29d)===_0x8dd133?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4252c5}of _0x16e788)if(_0x4252c5['is'](_0x15821d(0x25a))){const _0x2cc059=_0x148b27[_0x15821d(0x1f9)](_0x4252c5[_0x15821d(0x278)]);if(_0x2cc059&&_0x2cc059[_0x15821d(0x272)]){if(_0x4b9396+=_0x15821d(0x29d)===_0x8dd133?_0x2cc059[_0x15821d(0x26f)]+_0x2cc059[0x0][_0x15821d(0x272)]:_0x4252c5[_0x15821d(0x278)][_0x15821d(0x272)]-_0x2cc059[_0x15821d(0x26f)],_0x2cc059[0x0][_0x15821d(0x272)]!==_0x4252c5[_0x15821d(0x278)][_0x15821d(0x272)])break;_0x5e4319=!0x0,_0x148b27=_0x15821d(0x29d)===_0x8dd133?/^\w+/:/\w+$/;}else{if(_0x5e4319)break;_0x4b9396+=_0x4252c5[_0x15821d(0x26a)];}}else{if(_0x4252c5['is'](_0x15821d(0x229))){_0x33ab29[_0x15821d(0x1f3)](_0x4252c5)&&!_0x5e4319&&(_0x4b9396+=0x1);break;}}_0x5390d8+=_0x4b9396,_0x16e788[_0x15821d(0x201)](_0x18a5e3[_0x15821d(0x1ed)](_0x15821d(0x29d)===_0x8dd133?_0x5390d8:-_0x5390d8));}return _0x5390d8;}[_0x55731f(0x21b)](_0x5bf87b,_0x36fbb3){const _0x58150f=_0x55731f,_0x51b600=_0x47fe83(this[_0x58150f(0x25e)])[_0x58150f(0x2a1)][_0x58150f(0x21a)],_0x1d380a=this[_0x58150f(0x286)](_0x5bf87b,_0x58150f(0x1e6),_0x51b600,0x6),_0x3a6140=this[_0x58150f(0x286)](_0x36fbb3,_0x58150f(0x29d),_0x51b600,0x6),_0x28cabc=_0x5bf87b[_0x58150f(0x1ed)](-_0x1d380a),_0x447d04=_0x36fbb3[_0x58150f(0x1ed)](_0x3a6140);return{'start':_0x28cabc,'end':_0x447d04,'hasContentBefore':!_0x28cabc[_0x58150f(0x266)],'hasContentAfter':!_0x447d04[_0x58150f(0x203)]};}[_0x55731f(0x214)](_0x35efe6){const _0x1e4be1=_0x55731f,_0x3f5fb0=this[_0x1e4be1(0x25e)][_0x1e4be1(0x20f)][_0x1e4be1(0x24b)](_0x1e4be1(0x1de)),_0x23dbbd=new Set();_0x47fe83(this[_0x1e4be1(0x25e)])[_0x1e4be1(0x2a1)][_0x1e4be1(0x21f)](_0x8d290c=>{const _0x5506ae=_0x1e4be1;for(const _0x3535ce of _0x35efe6){const _0x3f47b5=''+se+_0x3535ce[_0x5506ae(0x20e)]+':'+_0x3535ce[_0x5506ae(0x1fc)]+'_'+_0x3f5fb0[_0x5506ae(0x269)](_0x23dbbd);this[_0x5506ae(0x28b)][_0x5506ae(0x1f1)](_0x3f47b5,{'id':_0x3f47b5,'groupId':_0x3535ce[_0x5506ae(0x1fc)],'type':_0x3535ce[_0x5506ae(0x20e)],'text':_0x3535ce[_0x5506ae(0x1ec)]}),_0x8d290c[_0x5506ae(0x26d)](_0x3f47b5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x8d290c[_0x5506ae(0x1e9)](_0x3535ce[_0x5506ae(0x268)],_0x3535ce[_0x5506ae(0x23f)])});}});}[_0x55731f(0x1df)](_0x21d7a8,_0x211b93,_0x198255){let _0x19ca7e='';return()=>{const _0x12db2f=_0x43ee;if(!_0x19ca7e){const _0x697ef0=_0x211b93[_0x12db2f(0x22a)](_0x21d7a8,{'showSuggestionHighlights':!0x0}),_0x1780d3=_0x697ef0[_0x12db2f(0x28c)](0x0);if(!_0x1780d3)return'';let _0x1b6a83=!0x1;const _0x51a5e8=[];for(const _0x135343 of _0x1780d3[_0x12db2f(0x218)]())_0x135343['is'](_0x12db2f(0x229),_0x12db2f(0x204))&&_0x135343[_0x12db2f(0x2a4)](_0x12db2f(0x28f))&&(_0x1b6a83=!0x1),_0x1b6a83&&_0x51a5e8[_0x12db2f(0x260)](_0x135343),_0x135343['is'](_0x12db2f(0x229),_0x12db2f(0x204))&&_0x135343[_0x12db2f(0x2a4)](_0x12db2f(0x2ae))&&(_0x1b6a83=!0x0);_0x1780d3[_0x12db2f(0x1ea)](0x0,_0x1780d3[_0x12db2f(0x25d)]),_0x198255?.[_0x12db2f(0x26c)]&&_0x1780d3[_0x12db2f(0x241)]('…'),_0x1780d3[_0x12db2f(0x241)](_0x51a5e8),_0x198255?.[_0x12db2f(0x26e)]&&_0x1780d3[_0x12db2f(0x241)]('…');const _0x175284=_0x211b93[_0x12db2f(0x262)][_0x12db2f(0x29a)][_0x12db2f(0x2a8)](_0x697ef0),_0x57e171=_0x211b93[_0x12db2f(0x262)][_0x12db2f(0x25f)][_0x12db2f(0x298)](_0x175284);_0x19ca7e=_0x57e171;}return _0x19ca7e;};}[_0x55731f(0x238)](_0x427dc5,_0x1768b4){const _0x5ef293=_0x55731f;let _0x471559='';return()=>(_0x471559||(_0x471559=_0x1768b4[_0x5ef293(0x1e5)](_0x427dc5,{'showSuggestionHighlights':!0x0})),_0x471559);}[_0x55731f(0x26b)](_0x40f423,_0x2443f5,_0x3d7bcd){let _0xf511ef='';return()=>{const _0x9466ae=_0x43ee;if(!_0xf511ef){const _0x121cc8=_0x3d7bcd[_0x9466ae(0x22a)](new _0x41dfcc(_0x40f423)),_0x17abae=_0x3d7bcd[_0x9466ae(0x262)][_0x9466ae(0x29a)][_0x9466ae(0x2a8)](_0x121cc8)[_0x9466ae(0x20c)](_0x9466ae(0x1e8)+_0x2443f5+'\x22]');_0xf511ef=_0x17abae?.[_0x9466ae(0x207)]||'';}return _0xf511ef;};}[_0x55731f(0x227)](_0x76343a,_0x1305b0=0x5){const _0x1cc24f=_0x55731f;let _0x43d6b1=_0x76343a,_0x55ef64=null;for(let _0x225723=0x0;_0x225723<_0x1305b0&&_0x43d6b1;_0x225723++){if(!_0x43d6b1[_0x1cc24f(0x232)]){_0x43d6b1=_0x43d6b1[_0x1cc24f(0x217)];continue;}if(!(''+_0x43d6b1[_0x1cc24f(0x232)])[_0x1cc24f(0x215)](_0x1cc24f(0x243))){_0x43d6b1=_0x43d6b1[_0x1cc24f(0x217)];continue;}if(!_0x43d6b1[_0x1cc24f(0x1eb)](_0x1cc24f(0x275)))break;_0x55ef64=_0x43d6b1;break;}return _0x55ef64;}[_0x55731f(0x263)](_0x435d36){const _0x2b7921=_0x55731f;return Array[_0x2b7921(0x244)](this[_0x2b7921(0x28b)][_0x2b7921(0x250)]())[_0x2b7921(0x247)](_0x77e47b=>_0x77e47b[_0x2b7921(0x1fc)]===_0x435d36);}[_0x55731f(0x1f2)](_0x43a44c){const _0x216425=_0x55731f;return _0x216425(0x1f8)===_0x43a44c[_0x216425(0x20e)]?_0x43a44c[_0x216425(0x200)]:_0x43a44c[_0x216425(0x23c)][_0x216425(0x268)];}[_0x55731f(0x2ab)](_0x14c0cd,_0x1b2290=!0x1){const _0x47669f=_0x55731f;return _0x47669f(0x1f8)===_0x14c0cd[_0x47669f(0x20e)]?_0x1b2290?_0x14c0cd[_0x47669f(0x200)]:_0x14c0cd[_0x47669f(0x200)][_0x47669f(0x1ed)](_0x14c0cd[_0x47669f(0x211)]):_0x14c0cd[_0x47669f(0x23c)][_0x47669f(0x23f)];}[_0x55731f(0x1fa)](_0x478cd0,_0x1518ca){const _0x46da0b=_0x55731f;return _0x46da0b(0x1f8)===_0x478cd0[_0x46da0b(0x20e)]?_0x478cd0[_0x46da0b(0x200)]=_0x478cd0[_0x46da0b(0x200)][_0x46da0b(0x1ed)](_0x1518ca):_0x46da0b(0x270)===_0x478cd0[_0x46da0b(0x20e)]&&_0x478cd0[_0x46da0b(0x23c)]&&(_0x478cd0[_0x46da0b(0x23c)]=new _0x4bb759(_0x478cd0[_0x46da0b(0x23c)][_0x46da0b(0x268)][_0x46da0b(0x1ed)](_0x1518ca),_0x478cd0[_0x46da0b(0x23c)][_0x46da0b(0x23f)][_0x46da0b(0x1ed)](_0x1518ca))),_0x478cd0;}[_0x55731f(0x225)](_0x794ee9,_0xe5e989){const _0xcb5ba3=_0x55731f;_0xcb5ba3(0x1f8)===_0x794ee9[_0xcb5ba3(0x20e)]?_0x794ee9[_0xcb5ba3(0x200)]=this[_0xcb5ba3(0x288)](_0x794ee9[_0xcb5ba3(0x200)],_0xe5e989):_0xcb5ba3(0x270)===_0x794ee9[_0xcb5ba3(0x20e)]&&_0x794ee9[_0xcb5ba3(0x23c)]&&(_0x794ee9[_0xcb5ba3(0x23c)]=this[_0xcb5ba3(0x202)](_0x794ee9[_0xcb5ba3(0x23c)],_0xe5e989));}[_0x55731f(0x288)](_0x3507c6,_0x3e5ed6){const _0x52ac50=_0x55731f;return new _0x450e8b(_0x3e5ed6,_0x3507c6[_0x52ac50(0x1fb)]);}[_0x55731f(0x202)](_0x57c149,_0xbb5242){const _0x45be9b=_0x55731f;return new _0x4bb759(this[_0x45be9b(0x288)](_0x57c149[_0x45be9b(0x268)],_0xbb5242),this[_0x45be9b(0x288)](_0x57c149[_0x45be9b(0x23f)],_0xbb5242));}[_0x55731f(0x21e)](_0x4183cb,_0x3d0eb3,_0x16bae9){return new _0x450e8b(_0x16bae9,[..._0x3d0eb3]);}[_0x55731f(0x295)](_0x391667,_0x308b28,_0x1b90e7,_0x10cbf7){const _0x2830b1=_0x55731f;return new _0x4bb759(this[_0x2830b1(0x21e)](_0x391667[_0x2830b1(0x268)],_0x308b28,_0x10cbf7),this[_0x2830b1(0x21e)](_0x391667[_0x2830b1(0x23f)],_0x1b90e7,_0x10cbf7));}[_0x55731f(0x2a7)](_0x1bf54b){const _0x45bb67=_0x55731f;let _0x5823be=_0x1bf54b;for(;_0x5823be[_0x45bb67(0x2ad)]&&!_0x5823be[_0x45bb67(0x2ad)]['is'](_0x45bb67(0x276));)_0x5823be=_0x5823be[_0x45bb67(0x2ad)];return _0x5823be;}[_0x55731f(0x228)](_0x5ac116){const _0x15a6de=_0x55731f,_0x471073=_0x13bc4b=>{const _0x507e8a=_0x43ee;switch(_0x13bc4b){case _0x507e8a(0x1f8):return 0x1;case _0x507e8a(0x20b):return 0x2;case _0x507e8a(0x2b2):return 0x3;case _0x507e8a(0x24a):return 0x4;}};return _0x5ac116[_0x15a6de(0x231)]((_0x3e38e7,_0x52b592)=>_0x471073(_0x3e38e7[_0x15a6de(0x20e)])-_0x471073(_0x52b592[_0x15a6de(0x20e)]));}}
|
|
23
|
+
function _0x3272(_0x3e489a,_0x41f1b8){const _0x2effe2=_0x2eff();return _0x3272=function(_0x3272e4,_0x28b7f5){_0x3272e4=_0x3272e4-0x154;let _0x15ea82=_0x2effe2[_0x3272e4];return _0x15ea82;},_0x3272(_0x3e489a,_0x41f1b8);}const _0x4c0b13=_0x3272;(function(_0x48d0c9,_0x4d2887){const _0x22023c=_0x3272,_0x1ad4e7=_0x48d0c9();while(!![]){try{const _0x503a64=-parseInt(_0x22023c(0x192))/0x1+parseInt(_0x22023c(0x183))/0x2*(-parseInt(_0x22023c(0x169))/0x3)+-parseInt(_0x22023c(0x1ef))/0x4*(-parseInt(_0x22023c(0x218))/0x5)+parseInt(_0x22023c(0x159))/0x6+-parseInt(_0x22023c(0x196))/0x7*(-parseInt(_0x22023c(0x1cf))/0x8)+-parseInt(_0x22023c(0x1f6))/0x9+parseInt(_0x22023c(0x22c))/0xa;if(_0x503a64===_0x4d2887)break;else _0x1ad4e7['push'](_0x1ad4e7['shift']());}catch(_0x338e1b){_0x1ad4e7['push'](_0x1ad4e7['shift']());}}}(_0x2eff,0x32984));import{InsertOperation as _0x1b4722,MarkerOperation as _0x79ff16,ModelDocumentFragment as _0x362020,ModelPosition as _0x2198df,ModelRange as _0xbb2005,ModelTreeWalker as _0x23d2cd,transformOperationSets as _0xe83c1d}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x2c1ff8,EmitterMixin as _0x5eb1ff}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x136d09}from'ckeditor5/src/core.js';import{DocumentCompare as _0x366bab,DATA_ID_MODEL_ATTRIBUTE as _0x3fdd75,DATA_ID_VIEW_ATTRIBUTE as _0x5916c2}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x21d297}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xdc57e7}from'../aicore/aiediting.js';const ae=_0x4c0b13(0x1f0);function _0x2eff(){const _0x577e10=['map','getHtml','caption','end','diffContent','name','[data-marker-id=\x22','stringify','concat','emitter','markerToHighlight','createSelection','data-marker-id','getDiff','createRawElement','viewToDom','listenTo','createPositionAfter','model:$text','8UiDhyw','[data-id=\x22','pop','elements','hasContentAfter','createPositionAt','_changePositionOwnerDocument','clone','editingDowncast','markers','markerToElement','add','offset','_getOperationEnd','remove-only','_markers','getRoots','ck-ai_review-mode-marker_underline','_findAdjacentContextDistance','requires','version','downcast','ellipsisBefore','childCount','clearAllMarkers','operationsIsolated','forward','_insertMarkers','markerName','isDocumentOperation','start','htmlWriter','4RLEHtL','reviewmode-','insertContent','for','$textProxy','every','outerHTML','1901502bHTWGX','howMany','removeMarker','editing','delete','_createGetContentFn','parse','domConverter','toDomElement','switchToEdit','isInline','getChild','warn','set','get','ck-ai_review-mode-marker_add','_getChangeContext','_groupAdjacentOperations','AIReviewModeEditing','addOperation','document','getDocumentData','_changeRange','change','remove-text','conversion','sort','dataDowncast','isOpening','attributeToAttribute','ck-ai_review-mode-marker_context-','getOperations','exec','append','684155odixtc','_nextDataId','ck-ai_review-mode-marker_hide','_appendChild','span','hasContentBefore','history','flat','DocumentCompare','target','view','_clone','No\x20element\x20found\x20for\x20ID:\x20','_findMarkerElement','suggestion:insertion:id:authorId:','fire','schema','filter','rejectChange','oldRange','7987560TePali','applyOperation','ck-ai_review-mode-marker_context-end','_shiftOperation','$markedRemove','_getTopElement','674082LwkiMN','createText','getPath','text','className','deleteContent','markChangePositionInEditorContent','length','getMarkerElementForChange','ck-ai_review-mode-marker_context-start','operationsA','_getOperationStart','element','ck-ai_review-mode-marker_','includes','startsWith','12381AhHdMk','getContentElement','AIEditing','split','keys','batch','getAttribute','pluginName','switchToReadOnly','documentFragment','toData','groupId','position','isPremiumPlugin','innerHTML','getRange','getRoot','_translateOperationToEditorContent','$documentFragment','createDocumentFragment','_createGetContextFn','from','_setAttribute','model','affectsData','suggestion:deletion:id:authorId:','166BZrRVk','push','plugins','insert','parent','jumpTo','isOfficialPlugin','clear','baseVersion','newRange','marker','ai-review-mode','changeMarkerClick','backward','values','336603sicejK','_domEmitter','parentElement','enableReadOnlyMode','348068erSMXT','toView','_changeOperationOwnerDocument','path','hasClass','addMarker','isAtEnd','_createGetContentUsingDataIdFn','createRange','isTouching','isAtStart','index','offsetSize','afterInit','_removeChildren','querySelector','disableReadOnlyMode','_changeRangeOwnerDocument','_sortMarkers','click','htmlProcessor','remove-context','createUIElement','type','_changePosition','ellipsisAfter','getDomRoot','processor','applyChange','nodes','ck-ai_review-mode-marker_strikethrough','getChildren','suggestion-context','_eventEmitter','context','data','_getMarkersDataForGroup','getShiftedBy'];_0x2eff=function(){return _0x577e10;};return _0x2eff();}export class AIReviewModeEditing extends _0x136d09{static get[_0x4c0b13(0x170)](){const _0x3d3612=_0x4c0b13;return _0x3d3612(0x208);}static get[_0x4c0b13(0x1e2)](){return[_0x366bab,_0xdc57e7];}static get[_0x4c0b13(0x189)](){return!0x0;}static get[_0x4c0b13(0x176)](){return!0x0;}[_0x4c0b13(0x1de)]=new Map();[_0x4c0b13(0x193)];[_0x4c0b13(0x1b7)];constructor(_0x34d845){const _0x286e92=_0x4c0b13;super(_0x34d845),this[_0x286e92(0x193)]=new(_0x2c1ff8())(),this[_0x286e92(0x1b7)]=new(_0x5eb1ff())();}get[_0x4c0b13(0x1c5)](){const _0x5be9a9=_0x4c0b13;return this[_0x5be9a9(0x1b7)];}[_0x4c0b13(0x1a3)](){const _0x1f5e25=_0x4c0b13,_0x363524=_0x21d297(this[_0x1f5e25(0x1b8)]);_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1d7))[_0x1f5e25(0x1d9)]({'model':ae+_0x1f5e25(0x186),'view':(_0x3aff6a,{writer:_0x40bd8d})=>{const _0x146a3d=_0x1f5e25,_0x1881e2=this[_0x146a3d(0x1de)][_0x146a3d(0x204)](_0x3aff6a[_0x146a3d(0x1eb)]),_0x3a3a7a={'class':_0x146a3d(0x205),'data-marker-id':_0x3aff6a[_0x146a3d(0x1eb)]};return _0x40bd8d[_0x146a3d(0x1ac)](_0x146a3d(0x21c),_0x3a3a7a,function(_0x125cd8){const _0x564d9a=_0x146a3d,_0x59454a=this[_0x564d9a(0x1fe)](_0x125cd8);return _0x59454a[_0x564d9a(0x177)]=_0x1881e2?.[_0x564d9a(0x15c)]||'',_0x59454a;});}}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1d7))[_0x1f5e25(0x1c6)]({'model':ae+_0x1f5e25(0x1dd),'view':_0x14228b=>({'classes':_0x1f5e25(0x1b4),'attributes':{'data-marker-id':_0x14228b[_0x1f5e25(0x1eb)]}})}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1d7))[_0x1f5e25(0x1c6)]({'model':ae+_0x1f5e25(0x1ab),'view':_0x199cdd=>({'classes':_0x1f5e25(0x1e0),'attributes':{'data-marker-id':_0x199cdd[_0x1f5e25(0x1eb)]}})}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1d7))[_0x1f5e25(0x1c6)]({'model':ae+_0x1f5e25(0x20e),'view':_0x3ce888=>({'classes':_0x1f5e25(0x21a),'attributes':{'data-marker-id':_0x3ce888[_0x1f5e25(0x1eb)]}})}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x211))[_0x1f5e25(0x1d9)]({'model':ae+_0x1f5e25(0x1b6),'view':(_0x28f447,{writer:_0x33e81d})=>_0x33e81d[_0x1f5e25(0x1ca)](_0x1f5e25(0x21c),{'class':_0x1f5e25(0x214)+(_0x28f447[_0x1f5e25(0x212)]?_0x1f5e25(0x1ed):_0x1f5e25(0x1bf))})}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1e4))[_0x1f5e25(0x213)]({'model':_0x3fdd75,'view':_0x5916c2}),this[_0x1f5e25(0x193)][_0x1f5e25(0x1cc)](document,_0x1f5e25(0x1a9),(_0x196fc2,_0x187d03)=>{const _0x405b34=_0x1f5e25,_0x4badf2=_0x187d03[_0x405b34(0x221)],_0x46b04e=this[_0x405b34(0x225)](_0x4badf2);if(!_0x46b04e)return;const _0x319877=_0x46b04e[_0x405b34(0x16f)](_0x405b34(0x1c8)),_0x1887e8=_0x319877[_0x405b34(0x16c)](':')[_0x405b34(0x1d1)]()?.[_0x405b34(0x16c)]('_')[0x0];this[_0x405b34(0x1b7)][_0x405b34(0x227)](_0x405b34(0x18f),{'markerId':_0x319877,'changeId':_0x1887e8});});}[_0x4c0b13(0x20b)](){const _0x234afe=_0x4c0b13,_0x132f95=this[_0x234afe(0x1b8)][_0x234afe(0x185)][_0x234afe(0x204)](_0x234afe(0x16b)),_0x46d496=_0x21d297(this[_0x234afe(0x1b8)]),_0x80cfea=_0x46d496[_0x234afe(0x180)],_0x17668a=new _0x362020();for(const _0x1e886a of _0x80cfea[_0x234afe(0x20a)][_0x234afe(0x179)]()[_0x234afe(0x1b5)]()){const _0x347435=_0x1e886a[_0x234afe(0x223)](!0x0);_0x17668a[_0x234afe(0x21b)](_0x347435);}for(const _0x4512e6 of _0x80cfea[_0x234afe(0x1d8)])_0x17668a[_0x234afe(0x1d8)][_0x234afe(0x203)](_0x4512e6[_0x234afe(0x1c1)],this[_0x234afe(0x1a7)](_0x4512e6[_0x234afe(0x178)]()[_0x234afe(0x1d6)](),_0x17668a));const _0x2c5abe=new _0x23d2cd({'ignoreElementEnd':!0x0,'startPosition':_0x80cfea[_0x234afe(0x1d4)](_0x17668a,0x0)}),_0x43c4a1=new Set(),_0x2dc1b0=new Map();for(const {item:_0x175d54}of _0x2c5abe){if(!_0x175d54['is'](_0x234afe(0x1f3)))continue;const _0x1929ab=_0x175d54[_0x234afe(0x187)];if((!_0x1929ab||!_0x1929ab['is'](_0x234afe(0x165),_0x234afe(0x1be)))&&(_0x1929ab&&_0x1929ab['is'](_0x234afe(0x165)))){let _0xf758d=_0x1929ab[_0x234afe(0x16f)](_0x3fdd75);_0xf758d||(_0xf758d=_0x132f95[_0x234afe(0x219)](_0x43c4a1),_0x1929ab[_0x234afe(0x17f)](_0x3fdd75,_0xf758d)),_0x43c4a1[_0x234afe(0x1da)](_0xf758d);const _0x49b81d=this[_0x234afe(0x158)](_0x1929ab);_0x2dc1b0[_0x234afe(0x203)](_0xf758d,{'path':_0x1929ab[_0x234afe(0x15b)](),'getContent':this[_0x234afe(0x19d)](_0x49b81d[_0x234afe(0x223)](!0x0),_0xf758d,_0x46d496[_0x234afe(0x1b9)])}),_0x2c5abe[_0x234afe(0x188)](_0x80cfea[_0x234afe(0x1cd)](_0x1929ab));}}return{'content':_0x46d496[_0x234afe(0x1b9)][_0x234afe(0x1b1)][_0x234afe(0x173)](_0x46d496[_0x234afe(0x1b9)][_0x234afe(0x197)](_0x17668a)),'version':_0x46d496[_0x234afe(0x180)][_0x234afe(0x20a)][_0x234afe(0x1e3)],'elements':_0x2dc1b0};}[_0x4c0b13(0x1c0)](_0x6a4661,_0x32f911){const _0xfdf5f4=_0x4c0b13,_0x1e8012=_0x21d297(this[_0xfdf5f4(0x1b8)]),_0x33f5b6=_0x1e8012[_0xfdf5f4(0x1b9)][_0xfdf5f4(0x1fc)](_0x6a4661,_0xfdf5f4(0x17b)),_0x492401=_0x1e8012[_0xfdf5f4(0x180)][_0xfdf5f4(0x1d4)](_0x33f5b6,0x0),_0x2e6341=this[_0xfdf5f4(0x1b8)][_0xfdf5f4(0x185)][_0xfdf5f4(0x204)](_0xfdf5f4(0x220))[_0xfdf5f4(0x1c9)](_0x6a4661,_0x32f911,{'anchor':_0x492401,'markDeletions':!0x0})[_0xfdf5f4(0x215)]()[_0xfdf5f4(0x229)](_0x15c23b=>_0xfdf5f4(0x186)===_0x15c23b[_0xfdf5f4(0x1ad)]||_0xfdf5f4(0x18d)===_0x15c23b[_0xfdf5f4(0x1ad)]&&_0x15c23b[_0xfdf5f4(0x1c1)][_0xfdf5f4(0x168)](_0xfdf5f4(0x157))),_0x382c52=this[_0xfdf5f4(0x207)](_0x2e6341),_0x354637=[];let _0x31e5b0=0x0;return _0x1e8012[_0xfdf5f4(0x180)][_0xfdf5f4(0x20d)](_0x71e4fa=>{const _0x1a0a43=_0xfdf5f4;for(let _0x3c5dad=0x0;_0x3c5dad<_0x382c52[_0x1a0a43(0x160)];_0x3c5dad++){const _0x4d18f0=_0x382c52[_0x3c5dad],_0x20fec2=_0x71e4fa[_0x1a0a43(0x17c)]();for(const _0x29e516 of _0x33f5b6[_0x1a0a43(0x1b5)]())_0x71e4fa[_0x1a0a43(0x217)](_0x29e516[_0x1a0a43(0x223)](!0x0),_0x20fec2);for(const _0x399723 of _0x4d18f0[_0x1a0a43(0x1e8)])if(_0x1a0a43(0x186)===_0x399723[_0x1a0a43(0x1ad)]){const _0x47d180=_0x399723;_0x47d180[_0x1a0a43(0x18b)]=null,_0x47d180[_0x1a0a43(0x1ec)]=!0x1,this[_0x1a0a43(0x198)](_0x47d180,_0x20fec2),_0x71e4fa[_0x1a0a43(0x16e)][_0x1a0a43(0x209)](_0x399723),_0x1e8012[_0x1a0a43(0x180)][_0x1a0a43(0x154)](_0x399723);const _0x548019=_0x1a0a43(0x226)+_0x31e5b0++,_0x2192fa=_0x1e8012[_0x1a0a43(0x180)][_0x1a0a43(0x19e)](_0x47d180[_0x1a0a43(0x175)],_0x47d180[_0x1a0a43(0x175)][_0x1a0a43(0x1bb)](_0x47d180[_0x1a0a43(0x1f7)]));_0x20fec2[_0x1a0a43(0x1d8)][_0x1a0a43(0x203)](_0x548019,_0x2192fa);}else{if(_0x1a0a43(0x18d)===_0x399723[_0x1a0a43(0x1ad)]&&_0x399723[_0x1a0a43(0x1c1)][_0x1a0a43(0x168)](_0x1a0a43(0x157))){const _0x4b3c79=_0x399723,_0x4938e3=_0x1a0a43(0x182)+_0x31e5b0++;this[_0x1a0a43(0x198)](_0x4b3c79,_0x20fec2),_0x20fec2[_0x1a0a43(0x1d8)][_0x1a0a43(0x203)](_0x4938e3,_0x4b3c79[_0x1a0a43(0x18c)]);}}const _0x1dd7ed=this[_0x1a0a43(0x206)](this[_0x1a0a43(0x1d5)](this[_0x1a0a43(0x164)](_0x4d18f0[_0x1a0a43(0x1e8)][0x0]),_0x20fec2),this[_0x1a0a43(0x1d5)](this[_0x1a0a43(0x1dc)](_0x4d18f0[_0x1a0a43(0x1e8)][_0x4d18f0[_0x1a0a43(0x1e8)][_0x1a0a43(0x160)]-0x1]),_0x20fec2));_0x20fec2[_0x1a0a43(0x1d8)][_0x1a0a43(0x203)](ae+_0x1a0a43(0x1b6),new _0xbb2005(_0x1dd7ed[_0x1a0a43(0x1ed)],_0x1dd7ed[_0x1a0a43(0x1bf)])),_0x354637[_0x1a0a43(0x184)]({..._0x4d18f0,'context':this[_0x1a0a43(0x17d)](_0x20fec2,_0x1e8012[_0x1a0a43(0x1b9)],{'ellipsisBefore':_0x1dd7ed[_0x1a0a43(0x21d)],'ellipsisAfter':_0x1dd7ed[_0x1a0a43(0x1d3)]}),'content':this[_0x1a0a43(0x1fb)](_0x20fec2,_0x1e8012[_0x1a0a43(0x1b9)])});}}),_0x354637;}[_0x4c0b13(0x15f)](_0xad84e4,_0x173249){const _0x467c8f=_0x4c0b13,_0x2200b8=_0xad84e4[0x0][_0x467c8f(0x187)]['id'],_0x3d52d2=_0x173249[_0x467c8f(0x1d2)][_0x467c8f(0x204)](_0x2200b8);if(!_0x3d52d2)return void console[_0x467c8f(0x202)](_0x467c8f(0x224)+_0x2200b8);const _0x4d6068=_0x3d52d2[_0x467c8f(0x199)],_0x71c121=_0x21d297(this[_0x467c8f(0x1b8)]),_0x499ac7=_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x20a)][_0x467c8f(0x21e)][_0x467c8f(0x215)](_0x173249[_0x467c8f(0x1e3)]),_0x4089d9=[];for(const _0xfe39e7 of _0xad84e4){const _0x58412b=_0xfe39e7[_0x467c8f(0x1e8)][_0x467c8f(0x1bc)](_0xdb19f1=>this[_0x467c8f(0x17a)](_0xdb19f1,_0x4d6068,_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x20a)][_0x467c8f(0x1df)]()[0x0]));if(!_0x58412b||!_0x58412b[_0x467c8f(0x160)])continue;const _0xa0712c=_0x58412b[_0x467c8f(0x1f4)](_0x3c8e55=>_0x467c8f(0x18d)===_0x3c8e55[_0x467c8f(0x1ad)]&&_0x3c8e55[_0x467c8f(0x1c1)][_0x467c8f(0x168)](_0x467c8f(0x157))),_0x3e1dc8={'document':_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x20a)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x167d26=_0xe83c1d(_0x58412b,_0x499ac7,_0x3e1dc8)[_0x467c8f(0x163)];for(const _0x5b071f of _0x167d26)if(_0x467c8f(0x186)===_0x5b071f[_0x467c8f(0x1ad)]){const _0x2025b5=_0x5b071f,_0x56bb81=_0x2025b5[_0x467c8f(0x1b3)];let _0x58cfd5='';for(const _0x55a4cd of _0x56bb81)_0x55a4cd&&_0x55a4cd['is'](_0x467c8f(0x1ce))&&(_0x58cfd5+=_0x55a4cd[_0x467c8f(0x1b9)]);_0x4089d9[_0x467c8f(0x184)]({'start':_0x2025b5[_0x467c8f(0x175)],'end':_0x2025b5[_0x467c8f(0x175)],'type':_0x467c8f(0x186),'groupId':_0xfe39e7['id'],'text':_0x58cfd5});}else{if(_0x467c8f(0x18d)===_0x5b071f[_0x467c8f(0x1ad)]&&_0x5b071f[_0x467c8f(0x1c1)][_0x467c8f(0x168)](_0x467c8f(0x157))){const _0x56b175=_0x5b071f;let _0x42ab17=_0x467c8f(0x20e);if(_0xa0712c){const _0x5eb1c7=this[_0x467c8f(0x1e1)](_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1ed)],_0x467c8f(0x190),_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x228)]),_0x4b856d=this[_0x467c8f(0x1e1)](_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1bf)],_0x467c8f(0x1e9),_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x228)]);if(_0x5eb1c7||_0x4b856d){const _0x4ccd4b=_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1ed)][_0x467c8f(0x1bb)](-_0x5eb1c7),_0xa8d424=_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1bf)][_0x467c8f(0x1bb)](_0x4b856d);_0x4089d9[_0x467c8f(0x184)]({'start':_0x4ccd4b,'end':_0xa8d424,'groupId':_0xfe39e7['id'],'type':_0x467c8f(0x1ab)});}else _0x42ab17=_0x467c8f(0x1dd);}_0x4089d9[_0x467c8f(0x184)]({'start':_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1ed)],'end':_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1bf)],'groupId':_0xfe39e7['id'],'type':_0x42ab17});}}}this[_0x467c8f(0x1ea)](_0x4089d9);}[_0x4c0b13(0x1e7)](){const _0x2e828b=_0x4c0b13;_0x21d297(this[_0x2e828b(0x1b8)])[_0x2e828b(0x180)][_0x2e828b(0x20d)](_0x497764=>{const _0x5cb233=_0x2e828b;for(const _0x9d8392 of this[_0x5cb233(0x1de)][_0x5cb233(0x16d)]())_0x497764[_0x5cb233(0x1f8)](_0x9d8392);}),this[_0x2e828b(0x1de)][_0x2e828b(0x18a)]();}[_0x4c0b13(0x171)](){const _0x4fa2b5=_0x4c0b13;_0x21d297(this[_0x4fa2b5(0x1b8)])[_0x4fa2b5(0x195)](_0x4fa2b5(0x18e));}[_0x4c0b13(0x1ff)](){const _0x587c0=_0x4c0b13;_0x21d297(this[_0x587c0(0x1b8)])[_0x587c0(0x1a6)](_0x587c0(0x18e));}[_0x4c0b13(0x1b2)](_0x5d1841){const _0x274bf3=_0x4c0b13,_0x581c47=_0x21d297(this[_0x274bf3(0x1b8)]),_0x5ee8ce=_0x581c47[_0x274bf3(0x180)],_0x3a85db=_0x5d1841[_0x274bf3(0x1bc)](_0x217d7b=>this[_0x274bf3(0x1ba)](_0x217d7b))[_0x274bf3(0x21f)]();_0x5ee8ce[_0x274bf3(0x20d)](_0x3d3091=>{const _0x48320d=_0x274bf3;for(const _0x72c955 of _0x3a85db){const _0x58c959=_0x581c47[_0x48320d(0x180)][_0x48320d(0x1d8)][_0x48320d(0x204)](_0x72c955['id']);_0x58c959&&(_0x48320d(0x186)===_0x72c955[_0x48320d(0x1ad)]?_0x5ee8ce[_0x48320d(0x1f1)](_0x3d3091[_0x48320d(0x15a)](_0x72c955[_0x48320d(0x15c)]||''),_0x58c959[_0x48320d(0x178)]()[_0x48320d(0x1ed)]):_0x48320d(0x20e)!==_0x72c955[_0x48320d(0x1ad)]&&_0x48320d(0x1dd)!==_0x72c955[_0x48320d(0x1ad)]||_0x5ee8ce[_0x48320d(0x15e)](_0x5ee8ce[_0x48320d(0x1c7)](_0x58c959[_0x48320d(0x178)]())),_0x3d3091[_0x48320d(0x1f8)](_0x72c955['id']),this[_0x48320d(0x1de)][_0x48320d(0x1fa)](_0x72c955['id']));}});}[_0x4c0b13(0x22a)](_0x3cd9fd){const _0x2cf4d4=_0x4c0b13,_0x44e89b=_0x21d297(this[_0x2cf4d4(0x1b8)]),_0x46af55=this[_0x2cf4d4(0x1ba)](_0x3cd9fd);_0x44e89b[_0x2cf4d4(0x180)][_0x2cf4d4(0x20d)](_0x246b50=>{const _0x5bd862=_0x2cf4d4;for(const _0x4cee8e of _0x46af55)_0x246b50[_0x5bd862(0x1f8)](_0x4cee8e['id']),this[_0x5bd862(0x1de)][_0x5bd862(0x1fa)](_0x4cee8e['id']);});}[_0x4c0b13(0x16a)](){const _0x2970af=_0x4c0b13,_0x203455=_0x21d297(this[_0x2970af(0x1b8)]);return _0x203455&&_0x203455['ui']&&_0x203455['ui'][_0x2970af(0x165)]?_0x203455['ui'][_0x2970af(0x165)]:null;}[_0x4c0b13(0x161)](_0x4ded5c){const _0x15344d=_0x4c0b13,_0x5c5c21=Array[_0x15344d(0x17e)](this[_0x15344d(0x1de)][_0x15344d(0x191)]())[_0x15344d(0x229)](_0x7fe0f0=>_0x7fe0f0[_0x15344d(0x174)]===_0x4ded5c);if(!_0x5c5c21[_0x15344d(0x160)])return null;const _0x60693f=0x1===_0x5c5c21[_0x15344d(0x160)]?_0x5c5c21[0x0]:this[_0x15344d(0x1a8)](_0x5c5c21)[0x0],_0x2cf624=_0x21d297(this[_0x15344d(0x1b8)]),_0x32c155=_0x2cf624[_0x15344d(0x180)][_0x15344d(0x1d8)][_0x15344d(0x204)](_0x60693f['id']);if(!_0x32c155)return null;const _0x2358f3=_0x32c155[_0x15344d(0x178)](),_0x4c4b33=_0x2cf624[_0x15344d(0x1f9)][_0x15344d(0x222)][_0x15344d(0x1b0)]();if(!_0x4c4b33||!_0x2358f3)return null;const _0x1f319a=_0x4c4b33[_0x15344d(0x1a5)](_0x15344d(0x1c2)+_0x60693f['id']+'\x22]');return _0x1f319a?{'modelRange':_0x2358f3,'domElement':_0x1f319a}:null;}[_0x4c0b13(0x17a)](_0x14ffbb,_0x56c1cc,_0x49d69e){const _0xa45c82=_0x4c0b13;if(_0xa45c82(0x186)===_0x14ffbb[_0xa45c82(0x1ad)]){const _0x556c52=_0x14ffbb;return new _0x1b4722(this[_0xa45c82(0x1ae)](_0x556c52[_0xa45c82(0x175)],_0x56c1cc[_0xa45c82(0x1c4)](_0x556c52[_0xa45c82(0x175)][_0xa45c82(0x1db)]),_0x49d69e),_0x556c52[_0xa45c82(0x1b3)],_0x556c52[_0xa45c82(0x18b)]);}if(_0xa45c82(0x18d)===_0x14ffbb[_0xa45c82(0x1ad)]&&_0x14ffbb[_0xa45c82(0x1c1)][_0xa45c82(0x168)](_0xa45c82(0x157))){const _0x443697=_0x14ffbb;return new _0x79ff16(_0x443697[_0xa45c82(0x1c1)],_0x443697[_0xa45c82(0x22b)],this[_0xa45c82(0x20c)](_0x443697[_0xa45c82(0x18c)],_0x56c1cc[_0xa45c82(0x1c4)](_0x443697[_0xa45c82(0x18c)][_0xa45c82(0x1ed)][_0xa45c82(0x1db)]),_0x56c1cc[_0xa45c82(0x1c4)](_0x443697[_0xa45c82(0x18c)][_0xa45c82(0x1bf)][_0xa45c82(0x1db)]),_0x49d69e),_0x443697[_0xa45c82(0x1de)],_0x443697[_0xa45c82(0x181)],_0x443697[_0xa45c82(0x18b)]);}return _0x14ffbb;}[_0x4c0b13(0x207)](_0x491aa3){const _0x5df860=_0x4c0b13;if(!_0x491aa3[_0x5df860(0x160)])return[];const _0x364f7a=[];let _0x1890fc=0x0,_0x5cac84=0x0,_0x11d58e=[];for(let _0x16e29c=0x0;_0x16e29c<=_0x491aa3[_0x5df860(0x160)];_0x16e29c++){const _0x4cb84c=_0x491aa3[_0x16e29c],_0x8c801b=_0x491aa3[_0x16e29c-0x1];!_0x4cb84c||_0x8c801b&&!this[_0x5df860(0x1dc)](_0x8c801b)[_0x5df860(0x19f)](this[_0x5df860(0x164)](_0x4cb84c))?(_0x364f7a[_0x5df860(0x184)]({'operations':_0x11d58e,'operationsIsolated':_0x11d58e[_0x5df860(0x1bc)](_0x2f5b9b=>this[_0x5df860(0x156)](_0x2f5b9b[_0x5df860(0x1d6)](),-_0x5cac84)),'groupOffset':_0x1890fc}),_0x11d58e=_0x4cb84c?[_0x4cb84c]:[],_0x5cac84+=_0x1890fc,_0x1890fc=0x0):_0x11d58e[_0x5df860(0x184)](_0x4cb84c),_0x4cb84c&&_0x5df860(0x186)===_0x4cb84c[_0x5df860(0x1ad)]&&(_0x1890fc+=_0x4cb84c[_0x5df860(0x1f7)]);}return _0x364f7a;}[_0x4c0b13(0x1e1)](_0x13fe10,_0x2accee,_0x2571a6,_0x53fb8a=0x1){const _0x38cda7=_0x4c0b13,_0x4ce415=new _0x23d2cd({'startPosition':_0x13fe10,'direction':_0x2accee});let _0x3cc8a8=0x0;for(let _0x287a61=0x0;_0x287a61<_0x53fb8a;_0x287a61++){let _0x5f0deb=0x0,_0x141871=!0x1,_0x507ab1=_0x38cda7(0x1e9)===_0x2accee?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x3d4a4a}of _0x4ce415)if(_0x3d4a4a['is'](_0x38cda7(0x1f3))){const _0x4beabe=_0x507ab1[_0x38cda7(0x216)](_0x3d4a4a[_0x38cda7(0x1b9)]);if(_0x4beabe&&_0x4beabe[_0x38cda7(0x160)]){if(_0x5f0deb+=_0x38cda7(0x1e9)===_0x2accee?_0x4beabe[_0x38cda7(0x1a1)]+_0x4beabe[0x0][_0x38cda7(0x160)]:_0x3d4a4a[_0x38cda7(0x1b9)][_0x38cda7(0x160)]-_0x4beabe[_0x38cda7(0x1a1)],_0x4beabe[0x0][_0x38cda7(0x160)]!==_0x3d4a4a[_0x38cda7(0x1b9)][_0x38cda7(0x160)])break;_0x141871=!0x0,_0x507ab1=_0x38cda7(0x1e9)===_0x2accee?/^\w+/:/\w+$/;}else{if(_0x141871)break;_0x5f0deb+=_0x3d4a4a[_0x38cda7(0x1a2)];}}else{if(_0x3d4a4a['is'](_0x38cda7(0x165))){_0x2571a6[_0x38cda7(0x200)](_0x3d4a4a)&&!_0x141871&&(_0x5f0deb+=0x1);break;}}_0x3cc8a8+=_0x5f0deb,_0x4ce415[_0x38cda7(0x188)](_0x13fe10[_0x38cda7(0x1bb)](_0x38cda7(0x1e9)===_0x2accee?_0x3cc8a8:-_0x3cc8a8));}return _0x3cc8a8;}[_0x4c0b13(0x206)](_0x266af1,_0x589879){const _0x176b7e=_0x4c0b13,_0x500672=_0x21d297(this[_0x176b7e(0x1b8)])[_0x176b7e(0x180)][_0x176b7e(0x228)],_0x4c8ba6=this[_0x176b7e(0x1e1)](_0x266af1,_0x176b7e(0x190),_0x500672,0x6),_0x25da13=this[_0x176b7e(0x1e1)](_0x589879,_0x176b7e(0x1e9),_0x500672,0x6),_0x4fd735=_0x266af1[_0x176b7e(0x1bb)](-_0x4c8ba6),_0x53d19d=_0x589879[_0x176b7e(0x1bb)](_0x25da13);return{'start':_0x4fd735,'end':_0x53d19d,'hasContentBefore':!_0x4fd735[_0x176b7e(0x1a0)],'hasContentAfter':!_0x53d19d[_0x176b7e(0x19c)]};}[_0x4c0b13(0x1ea)](_0x3cc733){const _0x36c57c=_0x4c0b13,_0x372dd9=this[_0x36c57c(0x1b8)][_0x36c57c(0x185)][_0x36c57c(0x204)](_0x36c57c(0x16b)),_0x339306=new Set();_0x21d297(this[_0x36c57c(0x1b8)])[_0x36c57c(0x180)][_0x36c57c(0x20d)](_0x26ac77=>{const _0x42545a=_0x36c57c;for(const _0x5338da of _0x3cc733){const _0x25464f=''+ae+_0x5338da[_0x42545a(0x1ad)]+':'+_0x5338da[_0x42545a(0x174)]+'_'+_0x372dd9[_0x42545a(0x219)](_0x339306);this[_0x42545a(0x1de)][_0x42545a(0x203)](_0x25464f,{'id':_0x25464f,'groupId':_0x5338da[_0x42545a(0x174)],'type':_0x5338da[_0x42545a(0x1ad)],'text':_0x5338da[_0x42545a(0x15c)]}),_0x26ac77[_0x42545a(0x19b)](_0x25464f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x26ac77[_0x42545a(0x19e)](_0x5338da[_0x42545a(0x1ed)],_0x5338da[_0x42545a(0x1bf)])});}});}[_0x4c0b13(0x17d)](_0x3d9732,_0x35a5cd,_0x9ddd54){let _0x580175='';return()=>{const _0x341a37=_0x3272;if(!_0x580175){const _0x16c2e0=_0x35a5cd[_0x341a37(0x197)](_0x3d9732,{'showSuggestionHighlights':!0x0}),_0x43b5f1=_0x16c2e0[_0x341a37(0x201)](0x0);if(!_0x43b5f1)return'';let _0x159489=!0x1;const _0x82d6d7=[];for(const _0x21cff0 of _0x43b5f1[_0x341a37(0x1b5)]())_0x21cff0['is'](_0x341a37(0x165),_0x341a37(0x21c))&&_0x21cff0[_0x341a37(0x19a)](_0x341a37(0x155))&&(_0x159489=!0x1),_0x159489&&_0x82d6d7[_0x341a37(0x184)](_0x21cff0),_0x21cff0['is'](_0x341a37(0x165),_0x341a37(0x21c))&&_0x21cff0[_0x341a37(0x19a)](_0x341a37(0x162))&&(_0x159489=!0x0);_0x43b5f1[_0x341a37(0x1a4)](0x0,_0x43b5f1[_0x341a37(0x1e6)]),_0x9ddd54?.[_0x341a37(0x1e5)]&&_0x43b5f1[_0x341a37(0x21b)]('…'),_0x43b5f1[_0x341a37(0x21b)](_0x82d6d7),_0x9ddd54?.[_0x341a37(0x1af)]&&_0x43b5f1[_0x341a37(0x21b)]('…');const _0x327451=_0x35a5cd[_0x341a37(0x1aa)][_0x341a37(0x1fd)][_0x341a37(0x1cb)](_0x16c2e0),_0x3d7759=_0x35a5cd[_0x341a37(0x1aa)][_0x341a37(0x1ee)][_0x341a37(0x1bd)](_0x327451);_0x580175=_0x3d7759;}return _0x580175;};}[_0x4c0b13(0x1fb)](_0x1e9b6d,_0x332ce5){const _0x167336=_0x4c0b13;let _0x3ff0ba='';return()=>(_0x3ff0ba||(_0x3ff0ba=_0x332ce5[_0x167336(0x1c3)](_0x1e9b6d,{'showSuggestionHighlights':!0x0})),_0x3ff0ba);}[_0x4c0b13(0x19d)](_0x8421d0,_0x3f3b61,_0xf3bab7){let _0x451718='';return()=>{const _0x22a7ff=_0x3272;if(!_0x451718){const _0x34bb0c=_0xf3bab7[_0x22a7ff(0x197)](new _0x362020(_0x8421d0)),_0x5a5db3=_0xf3bab7[_0x22a7ff(0x1aa)][_0x22a7ff(0x1fd)][_0x22a7ff(0x1cb)](_0x34bb0c)[_0x22a7ff(0x1a5)](_0x22a7ff(0x1d0)+_0x3f3b61+'\x22]');_0x451718=_0x5a5db3?.[_0x22a7ff(0x1f5)]||'';}return _0x451718;};}[_0x4c0b13(0x225)](_0x3f443f,_0x1adbdb=0x5){const _0xf50da=_0x4c0b13;let _0x4dae05=_0x3f443f,_0x57a4d0=null;for(let _0x1ac95c=0x0;_0x1ac95c<_0x1adbdb&&_0x4dae05;_0x1ac95c++){if(!_0x4dae05[_0xf50da(0x15d)]){_0x4dae05=_0x4dae05[_0xf50da(0x194)];continue;}if(!(''+_0x4dae05[_0xf50da(0x15d)])[_0xf50da(0x167)](_0xf50da(0x166))){_0x4dae05=_0x4dae05[_0xf50da(0x194)];continue;}if(!_0x4dae05[_0xf50da(0x16f)](_0xf50da(0x1c8)))break;_0x57a4d0=_0x4dae05;break;}return _0x57a4d0;}[_0x4c0b13(0x1ba)](_0x3ec618){const _0x25c8b0=_0x4c0b13;return Array[_0x25c8b0(0x17e)](this[_0x25c8b0(0x1de)][_0x25c8b0(0x191)]())[_0x25c8b0(0x229)](_0x349ac2=>_0x349ac2[_0x25c8b0(0x174)]===_0x3ec618);}[_0x4c0b13(0x164)](_0x3b2eb1){const _0x2170d2=_0x4c0b13;return _0x2170d2(0x186)===_0x3b2eb1[_0x2170d2(0x1ad)]?_0x3b2eb1[_0x2170d2(0x175)]:_0x3b2eb1[_0x2170d2(0x18c)][_0x2170d2(0x1ed)];}[_0x4c0b13(0x1dc)](_0x2cd3c6,_0x2871d0=!0x1){const _0x7a8e6b=_0x4c0b13;return _0x7a8e6b(0x186)===_0x2cd3c6[_0x7a8e6b(0x1ad)]?_0x2871d0?_0x2cd3c6[_0x7a8e6b(0x175)]:_0x2cd3c6[_0x7a8e6b(0x175)][_0x7a8e6b(0x1bb)](_0x2cd3c6[_0x7a8e6b(0x1f7)]):_0x2cd3c6[_0x7a8e6b(0x18c)][_0x7a8e6b(0x1bf)];}[_0x4c0b13(0x156)](_0x32b5c5,_0x3ad0dc){const _0x5e2b25=_0x4c0b13;return _0x5e2b25(0x186)===_0x32b5c5[_0x5e2b25(0x1ad)]?_0x32b5c5[_0x5e2b25(0x175)]=_0x32b5c5[_0x5e2b25(0x175)][_0x5e2b25(0x1bb)](_0x3ad0dc):_0x5e2b25(0x18d)===_0x32b5c5[_0x5e2b25(0x1ad)]&&_0x32b5c5[_0x5e2b25(0x18c)]&&(_0x32b5c5[_0x5e2b25(0x18c)]=new _0xbb2005(_0x32b5c5[_0x5e2b25(0x18c)][_0x5e2b25(0x1ed)][_0x5e2b25(0x1bb)](_0x3ad0dc),_0x32b5c5[_0x5e2b25(0x18c)][_0x5e2b25(0x1bf)][_0x5e2b25(0x1bb)](_0x3ad0dc))),_0x32b5c5;}[_0x4c0b13(0x198)](_0x3c0047,_0x5bd1db){const _0x256298=_0x4c0b13;_0x256298(0x186)===_0x3c0047[_0x256298(0x1ad)]?_0x3c0047[_0x256298(0x175)]=this[_0x256298(0x1d5)](_0x3c0047[_0x256298(0x175)],_0x5bd1db):_0x256298(0x18d)===_0x3c0047[_0x256298(0x1ad)]&&_0x3c0047[_0x256298(0x18c)]&&(_0x3c0047[_0x256298(0x18c)]=this[_0x256298(0x1a7)](_0x3c0047[_0x256298(0x18c)],_0x5bd1db));}[_0x4c0b13(0x1d5)](_0x585b54,_0x2aab11){const _0x2b5c69=_0x4c0b13;return new _0x2198df(_0x2aab11,_0x585b54[_0x2b5c69(0x199)]);}[_0x4c0b13(0x1a7)](_0x4ff42b,_0x3920b6){const _0x42dcca=_0x4c0b13;return new _0xbb2005(this[_0x42dcca(0x1d5)](_0x4ff42b[_0x42dcca(0x1ed)],_0x3920b6),this[_0x42dcca(0x1d5)](_0x4ff42b[_0x42dcca(0x1bf)],_0x3920b6));}[_0x4c0b13(0x1ae)](_0x50ff32,_0x22b43c,_0x24f43c){return new _0x2198df(_0x24f43c,[..._0x22b43c]);}[_0x4c0b13(0x20c)](_0x30ddaf,_0x21ad74,_0x3de2f7,_0x1763a1){const _0x5388bf=_0x4c0b13;return new _0xbb2005(this[_0x5388bf(0x1ae)](_0x30ddaf[_0x5388bf(0x1ed)],_0x21ad74,_0x1763a1),this[_0x5388bf(0x1ae)](_0x30ddaf[_0x5388bf(0x1bf)],_0x3de2f7,_0x1763a1));}[_0x4c0b13(0x158)](_0x2aeec6){const _0x206e11=_0x4c0b13;let _0x4a9344=_0x2aeec6;for(;_0x4a9344[_0x206e11(0x187)]&&!_0x4a9344[_0x206e11(0x187)]['is'](_0x206e11(0x172));)_0x4a9344=_0x4a9344[_0x206e11(0x187)];return _0x4a9344;}[_0x4c0b13(0x1a8)](_0xffb438){const _0x27a54f=_0x4c0b13,_0x4e521b=_0x5788a6=>{const _0x12607=_0x3272;switch(_0x5788a6){case _0x12607(0x186):return 0x1;case _0x12607(0x1ab):return 0x2;case _0x12607(0x1dd):return 0x3;case _0x12607(0x20e):return 0x4;}};return _0xffb438[_0x27a54f(0x210)]((_0x349ed5,_0x525d73)=>_0x4e521b(_0x349ed5[_0x27a54f(0x1ad)])-_0x4e521b(_0x525d73[_0x27a54f(0x1ad)]));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ac092=_0x3e49;(function(_0x5abe89,_0x57d506){const _0x1daff7=_0x3e49,_0x393a9c=_0x5abe89();while(!![]){try{const _0x3a5e1d=-parseInt(_0x1daff7(0x15e))/0x1+-parseInt(_0x1daff7(0x199))/0x2+-parseInt(_0x1daff7(0x15c))/0x3*(parseInt(_0x1daff7(0x196))/0x4)+parseInt(_0x1daff7(0x14e))/0x5+parseInt(_0x1daff7(0x18f))/0x6+parseInt(_0x1daff7(0x182))/0x7*(parseInt(_0x1daff7(0x180))/0x8)+parseInt(_0x1daff7(0x14a))/0x9*(parseInt(_0x1daff7(0x167))/0xa);if(_0x3a5e1d===_0x57d506)break;else _0x393a9c['push'](_0x393a9c['shift']());}catch(_0x34990c){_0x393a9c['push'](_0x393a9c['shift']());}}}(_0xdce9,0xf3175));import{ContextPlugin as _0x2c7d9c}from'ckeditor5/src/core.js';import{IconAIReview as _0x27e5bb}from'ckeditor5/src/icons.js';import{BodyCollection as _0x4b2ebf}from'ckeditor5/src/ui.js';import{AITabs as _0x22dc23}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x299a4f}from'./ui/aireviewmodeview.js';import{getTranslation as _0x436078}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x4dfac9}from'./ui/aireviewmodeballoonsuggestionview.js';function _0xdce9(){const _0x58de00=['acceptAllChanges','showReviewCheckList','activateTab','find','accepted','showBalloon','setTitle','acceptChange','fire','reviewCheckResultsView','getResults','retryReview','_bodyCollection','reviewCheckListView','resetActiveStateInResults','leaveReviewMode','learnMore','setChecks','16LnqGEG','context','4259885esjBUk','setActiveStateInResults','error-general','hasChecks','runReviewCheck','rejected','hideChangeBalloon','getReviewCheckList','showReviewCompletedView','get','addCheckRunResult','element','AIReviewModeUI','1972434epkcDl','hideResult','_reviewModeBalloonSuggestionItemView','detachFromDom','status','showNoChangesView','updateChangeState','108Bdnluo','init','showReviewCheckResultsView','2839684zfJyGC','hideBalloon','AITabs','leaveReviewModeResultList','isOfficialPlugin','showReviewCheckListView','isPremiumPlugin','setItemAsActive','18UieWUX','requires','_reviewModeView','dismissChange','9139350DqZbEI','setItemAsInactive','pluginName','activateChange','finishReview','locale','abortReviewStream','showChunkErrorView','showGeneralErrorView','destroy','toggleDiff','deactivateChange','getChangeElement','AI_REVIEW_MODE','58059dcXGmu','reviewMode','1339769wexQqB','setAvailableChecks','plugins','setCheckResultTitle','forEach','hideActionsWhenResultIsReady','showCheckRunResult','addTab','view','4520620SYmAud','showActionsWhenResultIsReady','error-chunk','showChangeBalloon','attachToDom','showCheckRunResults','delegate'];_0xdce9=function(){return _0x58de00;};return _0xdce9();}import'../../theme/aireviewmode/aireviewmode.css';function _0x3e49(_0x66f2a7,_0x56475a){const _0xdce93e=_0xdce9();return _0x3e49=function(_0x3e4933,_0x53d4d7){_0x3e4933=_0x3e4933-0x143;let _0x7b78fd=_0xdce93e[_0x3e4933];return _0x7b78fd;},_0x3e49(_0x66f2a7,_0x56475a);}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x5ac092(0x189),_0x5ac092(0x186),_0x5ac092(0x154),_0x5ac092(0x158),_0x5ac092(0x16e),_0x5ac092(0x145),_0x5ac092(0x151),_0x5ac092(0x175),_0x5ac092(0x14d),_0x5ac092(0x17e),_0x5ac092(0x152),_0x5ac092(0x179)];export class AIReviewModeUI extends _0x2c7d9c{[_0x5ac092(0x14c)];[_0x5ac092(0x191)];[_0x5ac092(0x17a)];static get[_0x5ac092(0x14b)](){return[_0x22dc23];}static get[_0x5ac092(0x150)](){const _0x3e9c16=_0x5ac092;return _0x3e9c16(0x18e);}static get[_0x5ac092(0x146)](){return!0x0;}static get[_0x5ac092(0x148)](){return!0x0;}constructor(_0x4e9ce5){const _0x58ab99=_0x5ac092;super(_0x4e9ce5),this[_0x58ab99(0x17a)]=new _0x4b2ebf(this[_0x58ab99(0x181)][_0x58ab99(0x153)]),this[_0x58ab99(0x17a)][_0x58ab99(0x16b)](),this[_0x58ab99(0x14c)]=new _0x299a4f(this[_0x58ab99(0x181)][_0x58ab99(0x153)]),this[_0x58ab99(0x14c)][_0x58ab99(0x16d)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x58ab99(0x191)]=new _0x4dfac9(this[_0x58ab99(0x181)][_0x58ab99(0x153)],this[_0x58ab99(0x17a)]),this[_0x58ab99(0x191)][_0x58ab99(0x16d)](_0x58ab99(0x175),_0x58ab99(0x14d),_0x58ab99(0x159))['to'](this);}[_0x5ac092(0x197)](){const _0x5786f8=_0x5ac092,_0x2050d9=this[_0x5786f8(0x181)][_0x5786f8(0x160)][_0x5786f8(0x18b)](_0x5786f8(0x144));_0x2050d9[_0x5786f8(0x166)]['on'](_0x5786f8(0x170),(_0x16c837,_0x83eef7)=>{const _0x1d9efd=_0x5786f8;_0x1d9efd(0x15d)===_0x83eef7?this[_0x1d9efd(0x176)](_0x1d9efd(0x189)):this[_0x1d9efd(0x176)](_0x1d9efd(0x17d));}),_0x2050d9[_0x5786f8(0x166)][_0x5786f8(0x165)]({'id':_0x5786f8(0x15d),'buttonLabel':_0x436078(this[_0x5786f8(0x181)][_0x5786f8(0x153)],_0x5786f8(0x15b)),'buttonIcon':_0x27e5bb,'order':0x0,'content':this[_0x5786f8(0x14c)]});}[_0x5ac092(0x157)](){const _0x380bd2=_0x5ac092;this[_0x380bd2(0x17a)][_0x380bd2(0x192)](),super[_0x380bd2(0x157)]();}[_0x5ac092(0x15f)](_0x26e864){const _0x1a306c=_0x5ac092;this[_0x1a306c(0x14c)][_0x1a306c(0x17b)][_0x1a306c(0x185)]()||this[_0x1a306c(0x14c)][_0x1a306c(0x17b)][_0x1a306c(0x17f)](_0x26e864),this[_0x1a306c(0x14c)][_0x1a306c(0x147)]();}[_0x5ac092(0x16f)](){const _0x14a92a=_0x5ac092;this[_0x14a92a(0x176)](_0x14a92a(0x189));}[_0x5ac092(0x16c)](_0x32124a){const _0x4dfa44=_0x5ac092;_0x32124a&&(_0x4dfa44(0x184)!==_0x32124a[_0x4dfa44(0x193)]?_0x4dfa44(0x169)!==_0x32124a[_0x4dfa44(0x193)]?this[_0x4dfa44(0x14c)][_0x4dfa44(0x198)]():this[_0x4dfa44(0x155)]():this[_0x4dfa44(0x156)]());}[_0x5ac092(0x164)](_0x1776a1){const _0x5c5252=_0x5ac092;this[_0x5c5252(0x14c)][_0x5c5252(0x18c)](_0x1776a1);}[_0x5ac092(0x156)](){const _0x3959ff=_0x5ac092;this[_0x3959ff(0x14c)][_0x3959ff(0x156)]();}[_0x5ac092(0x155)](){const _0x5c938f=_0x5ac092;this[_0x5c938f(0x14c)][_0x5c938f(0x155)]();}[_0x5ac092(0x161)](_0x392dfe){const _0x4f8bfe=_0x5ac092;this[_0x4f8bfe(0x14c)][_0x4f8bfe(0x177)][_0x4f8bfe(0x174)](_0x392dfe);}[_0x5ac092(0x183)](_0x19571e){const _0x40a3e3=_0x5ac092;this[_0x40a3e3(0x14c)][_0x40a3e3(0x177)][_0x40a3e3(0x178)]()[_0x40a3e3(0x162)](_0x19e9a7=>{const _0x45ebf1=_0x40a3e3;_0x19e9a7['id']===_0x19571e&&_0x19e9a7[_0x45ebf1(0x149)]();});}[_0x5ac092(0x17c)](){const _0x3f7ec3=_0x5ac092;this[_0x3f7ec3(0x14c)][_0x3f7ec3(0x177)][_0x3f7ec3(0x178)]()[_0x3f7ec3(0x162)](_0x254b55=>_0x254b55[_0x3f7ec3(0x14f)]());}[_0x5ac092(0x195)](_0x5bd20b,_0x573f3f){const _0x1b80c9=_0x5ac092;_0x1b80c9(0x172)!==_0x573f3f&&_0x1b80c9(0x187)!==_0x573f3f||this[_0x1b80c9(0x14c)][_0x1b80c9(0x177)][_0x1b80c9(0x190)](_0x5bd20b);}[_0x5ac092(0x18a)](){const _0x2fd9fc=_0x5ac092;this[_0x2fd9fc(0x14c)][_0x2fd9fc(0x18a)]();}[_0x5ac092(0x168)](){const _0x3cd6d8=_0x5ac092;this[_0x3cd6d8(0x14c)][_0x3cd6d8(0x168)]();}[_0x5ac092(0x194)](){const _0x5209fe=_0x5ac092;this[_0x5209fe(0x14c)][_0x5209fe(0x194)]();}[_0x5ac092(0x163)](){const _0x2e7771=_0x5ac092;this[_0x2e7771(0x14c)][_0x2e7771(0x163)]();}[_0x5ac092(0x16a)](_0x540ff2,_0x21e596){const _0x43bf00=_0x5ac092;this[_0x43bf00(0x191)][_0x43bf00(0x173)](_0x540ff2,_0x21e596);}[_0x5ac092(0x188)](){const _0xef91a6=_0x5ac092;this[_0xef91a6(0x191)][_0xef91a6(0x143)]();}[_0x5ac092(0x15a)](_0x3855fd){const _0x3d8233=_0x5ac092,_0x158df8=this[_0x3d8233(0x14c)][_0x3d8233(0x177)][_0x3d8233(0x178)]()[_0x3d8233(0x171)](_0x3ad354=>_0x3ad354['id']===_0x3855fd);return _0x158df8?_0x158df8[_0x3d8233(0x18d)]:null;}[_0x5ac092(0x159)](){const _0x16f8e1=_0x5ac092;this[_0x16f8e1(0x191)][_0x16f8e1(0x159)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0xf53726=_0x2502;function _0xf059(){var _0x1dfaf4=['1427856DFKkAl','1162044eOuwiD','315UQvvqf','15472hgOHuF','isParameterized','195740cfHUyX','120616xBluXm','options','title','939519CKFzZb','useArgs','description','992334qkCGkd'];_0xf059=function(){return _0x1dfaf4;};return _0xf059();}(function(_0x42b2f2,_0x33acaa){var _0x213513=_0x2502,_0x20bb3f=_0x42b2f2();while(!![]){try{var _0x50a13d=parseInt(_0x213513(0x85))/0x1+parseInt(_0x213513(0x7e))/0x2+-parseInt(_0x213513(0x7b))/0x3+-parseInt(_0x213513(0x80))/0x4+-parseInt(_0x213513(0x84))/0x5+parseInt(_0x213513(0x7f))/0x6+-parseInt(_0x213513(0x81))/0x7*(-parseInt(_0x213513(0x82))/0x8);if(_0x50a13d===_0x33acaa)break;else _0x20bb3f['push'](_0x20bb3f['shift']());}catch(_0x2cb244){_0x20bb3f['push'](_0x20bb3f['shift']());}}}(_0xf059,0x48fcd));function _0x2502(_0x502e53,_0x28b5bd){var _0xf05963=_0xf059();return _0x2502=function(_0x250205,_0x572c21){_0x250205=_0x250205-0x79;var _0x50a34e=_0xf05963[_0x250205];return _0x50a34e;},_0x2502(_0x502e53,_0x28b5bd);}export class AIReviewCheck{['id'];[_0xf53726(0x7a)];[_0xf53726(0x7d)];[_0xf53726(0x83)];[_0xf53726(0x7c)];[_0xf53726(0x79)];constructor({id:_0x491de5,title:_0x232286,description:_0x3c63ad,isParameterized:_0x592ab3,useArgs:_0x36810e,options:_0x12360d}){var _0x29fe89=_0xf53726;this['id']=_0x491de5,this[_0x29fe89(0x7a)]=_0x232286,this[_0x29fe89(0x7d)]=_0x3c63ad,this[_0x29fe89(0x83)]=_0x592ab3,this[_0x29fe89(0x7c)]=_0x36810e,this[_0x29fe89(0x79)]=_0x12360d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x2755f=_0x41b5;function _0x41b5(_0x260e0a,_0x1e8283){var _0x5f19a1=_0x5f19();return _0x41b5=function(_0x41b5c9,_0x2f422a){_0x41b5c9=_0x41b5c9-0x1d1;var _0x3f5ca5=_0x5f19a1[_0x41b5c9];return _0x3f5ca5;},_0x41b5(_0x260e0a,_0x1e8283);}function _0x5f19(){var _0x1ec6f8=['5446744dfnUKS','models','1011JuraNi','22FEnkKI','129859pWZBpb','209815GXNCYV','3359916AidLre','_models','18nAtHZr','10576926dofFeJ','788UEchmB','7JLZabR','14440430xmUsNm'];_0x5f19=function(){return _0x1ec6f8;};return _0x5f19();}(function(_0x410b29,_0x257e90){var _0x5b448c=_0x41b5,_0x338460=_0x410b29();while(!![]){try{var _0x14011e=parseInt(_0x5b448c(0x1d4))/0x1+-parseInt(_0x5b448c(0x1d6))/0x2+-parseInt(_0x5b448c(0x1d2))/0x3*(-parseInt(_0x5b448c(0x1da))/0x4)+-parseInt(_0x5b448c(0x1d5))/0x5+parseInt(_0x5b448c(0x1d9))/0x6*(-parseInt(_0x5b448c(0x1db))/0x7)+-parseInt(_0x5b448c(0x1dd))/0x8*(-parseInt(_0x5b448c(0x1d8))/0x9)+parseInt(_0x5b448c(0x1dc))/0xa*(parseInt(_0x5b448c(0x1d3))/0xb);if(_0x14011e===_0x257e90)break;else _0x338460['push'](_0x338460['shift']());}catch(_0x2d9f82){_0x338460['push'](_0x338460['shift']());}}}(_0x5f19,0xeaafe));import{AIReviewCheck as _0x1ace7d}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x1ace7d{[_0x2755f(0x1d7)]=[];get[_0x2755f(0x1d1)](){var _0xef2372=_0x2755f;return this[_0xef2372(0x1d7)];}set[_0x2755f(0x1d1)](_0x74fd73){var _0x4b5948=_0x2755f;this[_0x4b5948(0x1d7)]=_0x74fd73;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x36b18d=_0x170e;function _0x170e(_0x578197,_0x4c98fb){var _0x4e88d2=_0x4e88();return _0x170e=function(_0x170e3f,_0x6c71dc){_0x170e3f=_0x170e3f-0xee;var _0x63558a=_0x4e88d2[_0x170e3f];return _0x63558a;},_0x170e(_0x578197,_0x4c98fb);}(function(_0x19edbd,_0x4870d1){var _0x502301=_0x170e,_0x1c7df1=_0x19edbd();while(!![]){try{var _0xf40da4=parseInt(_0x502301(0xf2))/0x1*(-parseInt(_0x502301(0xf7))/0x2)+-parseInt(_0x502301(0xf3))/0x3+-parseInt(_0x502301(0xf6))/0x4*(-parseInt(_0x502301(0xf8))/0x5)+parseInt(_0x502301(0xf4))/0x6*(-parseInt(_0x502301(0xf0))/0x7)+parseInt(_0x502301(0xf5))/0x8+-parseInt(_0x502301(0xfe))/0x9+parseInt(_0x502301(0xfc))/0xa;if(_0xf40da4===_0x4870d1)break;else _0x1c7df1['push'](_0x1c7df1['shift']());}catch(_0x25e5c2){_0x1c7df1['push'](_0x1c7df1['shift']());}}}(_0x4e88,0x19efe));import{ObservableMixin as _0x3fde06}from'ckeditor5/src/utils.js';function _0x4e88(){var _0x4bb3f7=['23838RLQfEV','222pLCMWd','445616sPzGwd','129112vCRHEU','22tQwOyq','5hLwFUW','getCheckById','find','checks','1800680ExFlFb','_checks','755766jzQyHT','map','_mapCheckDefinitions','2765mOAZAm','custom','5025evCtcD'];_0x4e88=function(){return _0x4bb3f7;};return _0x4e88();}import{AIReviewCheck as _0x636ed7}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x377d87}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x3fde06(){[_0x36b18d(0xfd)];constructor(_0x56cd4c){var _0xb162fa=_0x36b18d;super(),this[_0xb162fa(0xfd)]=this[_0xb162fa(0xef)](_0x56cd4c);}get[_0x36b18d(0xfb)](){var _0x34134b=_0x36b18d;return this[_0x34134b(0xfd)];}[_0x36b18d(0xf9)](_0x2c8322){var _0x131463=_0x36b18d;return this[_0x131463(0xfb)][_0x131463(0xfa)](_0x1b816b=>_0x1b816b['id']===_0x2c8322);}[_0x36b18d(0xef)](_0xc1dd67){var _0x560a0e=_0x36b18d;return _0xc1dd67[_0x560a0e(0xee)](_0x4aea4f=>_0x560a0e(0xf1)===_0x4aea4f['id']?new _0x377d87(_0x4aea4f):new _0x636ed7(_0x4aea4f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3e8d3e=_0x5e38;function _0x5e38(_0x28bd90,_0x1b9059){var _0x2d5f7b=_0x2d5f();return _0x5e38=function(_0x5e3871,_0x13ffff){_0x5e3871=_0x5e3871-0x7b;var _0x3a526f=_0x2d5f7b[_0x5e3871];return _0x3a526f;},_0x5e38(_0x28bd90,_0x1b9059);}(function(_0x5ea991,_0x48d8e1){var _0x21122e=_0x5e38,_0x5acad5=_0x5ea991();while(!![]){try{var _0xec3dab=parseInt(_0x21122e(0x7b))/0x1+-parseInt(_0x21122e(0x84))/0x2+-parseInt(_0x21122e(0x7c))/0x3*(-parseInt(_0x21122e(0x87))/0x4)+-parseInt(_0x21122e(0x85))/0x5*(parseInt(_0x21122e(0x7f))/0x6)+parseInt(_0x21122e(0x82))/0x7+-parseInt(_0x21122e(0x86))/0x8+-parseInt(_0x21122e(0x7e))/0x9*(parseInt(_0x21122e(0x7d))/0xa);if(_0xec3dab===_0x48d8e1)break;else _0x5acad5['push'](_0x5acad5['shift']());}catch(_0x4632da){_0x5acad5['push'](_0x5acad5['shift']());}}}(_0x2d5f,0xb4569));import{EmitterMixin as _0x184d7b}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x184d7b(){['id'];[_0x3e8d3e(0x83)];[_0x3e8d3e(0x80)];[_0x3e8d3e(0x81)];constructor({id:_0xef75b6,contentNew:_0x5574fd,contentInitial:_0x47e204,documentVersion:_0x40ded3}){var _0x491bfc=_0x3e8d3e;super(),this['id']=_0xef75b6,this[_0x491bfc(0x83)]=_0x5574fd,this[_0x491bfc(0x80)]=_0x47e204,this[_0x491bfc(0x81)]=_0x40ded3;}}function _0x2d5f(){var _0x3edb28=['documentVersion','7817803UwopYq','contentNew','901470OdDexf','5zCMSRQ','6895664rxTsTs','278004yOoOVP','669162EPDLEr','54inFwXR','9783340danNJl','9DCmsup','43902sHpazG','contentInitial'];_0x2d5f=function(){return _0x3edb28;};return _0x2d5f();}
|