@ckeditor/ckeditor5-ai 47.1.0-alpha.1 → 47.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +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/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/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.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/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/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d938d=_0x5d21;(function(_0x360cce,_0x13cce2){const _0x257e75=_0x5d21,_0x1b0efd=_0x360cce();while(!![]){try{const _0x5480d8=-parseInt(_0x257e75(0x1ab))/0x1*(parseInt(_0x257e75(0x1cb))/0x2)+parseInt(_0x257e75(0x1eb))/0x3+parseInt(_0x257e75(0x215))/0x4+parseInt(_0x257e75(0x1e9))/0x5*(parseInt(_0x257e75(0x1a8))/0x6)+-parseInt(_0x257e75(0x1d0))/0x7*(parseInt(_0x257e75(0x19f))/0x8)+-parseInt(_0x257e75(0x1aa))/0x9+parseInt(_0x257e75(0x211))/0xa;if(_0x5480d8===_0x13cce2)break;else _0x1b0efd['push'](_0x1b0efd['shift']());}catch(_0x451180){_0x1b0efd['push'](_0x1b0efd['shift']());}}}(_0x2dbe,0x9b7a7));import{IconAIAdjustLength as _0x11157a,IconAIAskAI as _0x3a87db,IconAIChangeTone as _0x54a18c,IconAIChatCommands as _0x52c66c,IconAIContinueWriting as _0x457147,IconAIGrammarCheck as _0x73d73e,IconAIImproveWriting as _0x46204a,IconAIOther as _0x180529,IconAIQuickActions as _0x17fc05,IconAITranslate as _0x330b45}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2770df}from'ckeditor5/src/core.js';import{getTranslation as _0x1374e8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0xba5f5}from'./ui/aiquickactionsdropdowncreator.js';function _0x5d21(_0x4fb507,_0x229b2){const _0x2dbe93=_0x2dbe();return _0x5d21=function(_0x5d2160,_0x218581){_0x5d2160=_0x5d2160-0x193;let _0x208e86=_0x2dbe93[_0x5d2160];return _0x208e86;},_0x5d21(_0x4fb507,_0x229b2);}import{aiQuickActionsButtonCreator as _0x59e8e9}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x393ded,BalloonToolbar as _0x550800,MenuBarMenuView as _0x17d780,MenuBarMenuListView as _0x10e156,MenuBarMenuListItemView as _0x31edee,MenuBarMenuListItemButtonView as _0x3819da}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x2dbe(){const _0x48c372=['some','AIActions','AI_QUICK_ACTIONS_IMPROVE_WRITING','includes','displayedPrompt','panelView','menu','chinese','delegate','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','CHAT','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_CHAT_COMMANDS','continue','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','forEach','get','AI_QUICK_ACTIONS_MORE_CONFIDENT','plugins','fix-grammar','362144CdSVOB','ai.quickActions.extraCommands','values','commands','make-tone-direct','explain','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-english','replace','12IruUky','aiQuickAction','11135844ykLkGA','1VzInRW','focus','AIChat','_initializeQuickActionsDropdown','make-longer','pluginName','ask-ai','spanish','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-tone-casual','items','type','length','uiLanguage','REVIEW','isOfficialPlugin','AI_QUICK_ACTIONS_MORE_CASUAL','getDefaultQuickActions','translate-to-french','highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','make-tone-confident','isPremiumPlugin','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','translate-to-spanish','AI_QUICK_ACTIONS_MORE_FRIENDLY','_initializeQuickActionsMenuBar','russian','translate-to-german','requires','icon','2150238spaOnM','make-tone-friendly','summarize','translate-to-italian','translate-to-chinese','84myZCra','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_CHANGE_TONE','translate-to-portuguese','_executeQuickAction','korean','AIReviewMode','menuBar:aiQuickActions','filter','french','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','portuguese','editing','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE','_quickActionsDefinition','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','_prepareQuickActionsDefinition','_getDefaultAndCustomActions','locale','menuitem','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','german','chat-commands','1980215MtHrwT','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','3654288XSnDoS','AI_QUICK_ACTIONS_MORE_DIRECT','English','AI_QUICK_ACTIONS_MAKE_SHORTER','map','ACTION','label','actions','push','italian','AIQuickActionsUI','improve-writing','other','children','AI_QUICK_ACTIONS_OTHER','_initializeQuickActionsComponents','attachToDom','translate-to-korean','change-tone','_initializeQuickActionsComponentsAndCommands','japanese','ai.quickActions.removeCommands','english','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_EXPLAIN','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','add','close','find','aiQuickActions','buttonView','menuBarView','translate','has','editor','DisplayNames','AI_QUICK_ACTIONS_MAKE_LONGER','view','11326770OVwayX','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','language','execute','1398524zGNqAU','set','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-japanese','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-russian','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','config','init','AI_QUICK_ACTIONS_ASK_AI','make-tone-professional','make-shorter','componentFactory','_shouldIncludeAction'];_0x2dbe=function(){return _0x48c372;};return _0x2dbe();}const te=_0x3d938d(0x1e6),ee=_0x3d938d(0x204),ie=_0x3d938d(0x202);export var AIQuickActionType;!function(_0x319df8){const _0x47b0a4=_0x3d938d;_0x319df8[_0x47b0a4(0x195)]=_0x47b0a4(0x195),_0x319df8[_0x47b0a4(0x1f0)]=_0x47b0a4(0x1f0),_0x319df8[_0x47b0a4(0x1ba)]=_0x47b0a4(0x1ba);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x1b80d7){const _0x27c076=_0x3d938d;_0x1b80d7[_0x27c076(0x195)]=_0x27c076(0x1ad),_0x1b80d7[_0x27c076(0x1f0)]=_0x27c076(0x224),_0x1b80d7[_0x27c076(0x1ba)]=_0x27c076(0x1d6);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x2770df{static get[_0x3d938d(0x1c9)](){return[_0x550800];}static get[_0x3d938d(0x1b0)](){const _0x3eb1ac=_0x3d938d;return _0x3eb1ac(0x1f5);}static get[_0x3d938d(0x1bb)](){return!0x0;}static get[_0x3d938d(0x1c2)](){return!0x0;}[_0x3d938d(0x21d)](){const _0x31c361=_0x3d938d;this[_0x31c361(0x1e2)](this[_0x31c361(0x1e3)]()),this[_0x31c361(0x1fe)]();}static[_0x3d938d(0x1bd)](_0x2aae96){return function(_0x206590){const _0x15892c=_0x5d21,_0x435ecf=new Intl[(_0x15892c(0x20e))](['en'],{'type':_0x15892c(0x213)})['of'](_0x206590[_0x15892c(0x1b9)]),_0x3b8a13=_0x435ecf||_0x15892c(0x1ed),_0xa92289=[{'id':_0x15892c(0x1b1),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x21e)),'type':AIQuickActionType[_0x15892c(0x195)],'icon':_0x3a87db},{'id':_0x15892c(0x1e8),'label':_0x1374e8(_0x206590,_0x15892c(0x197)),'icon':_0x52c66c,'actions':[{'id':_0x15892c(0x1a4),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x203)),'prompt':te[_0x15892c(0x1a7)]('%0',_0x3b8a13),'type':AIQuickActionType[_0x15892c(0x195)]},{'id':_0x15892c(0x1cd),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1a5)),'prompt':ee[_0x15892c(0x1a7)]('%0',_0x3b8a13),'type':AIQuickActionType[_0x15892c(0x195)]},{'id':_0x15892c(0x1bf),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1e1)),'prompt':ie[_0x15892c(0x1a7)]('%0',_0x3b8a13),'type':AIQuickActionType[_0x15892c(0x195)]}]},{'id':_0x15892c(0x1f6),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x225)),'type':AIQuickActionType[_0x15892c(0x1f0)],'icon':_0x46204a},{'id':_0x15892c(0x198),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1b3)),'type':AIQuickActionType[_0x15892c(0x1f0)],'icon':_0x457147},{'id':_0x15892c(0x19e),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1da)),'type':AIQuickActionType[_0x15892c(0x1f0)],'icon':_0x73d73e},{'id':_0x15892c(0x1dd),'label':_0x1374e8(_0x206590,_0x15892c(0x217)),'icon':_0x11157a,'actions':[{'id':_0x15892c(0x220),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1ee)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x1af),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x20f)),'type':AIQuickActionType[_0x15892c(0x1f0)]}]},{'id':_0x15892c(0x1fd),'label':_0x1374e8(_0x206590,_0x15892c(0x1d2)),'icon':_0x54a18c,'actions':[{'id':_0x15892c(0x1b5),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1bc)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x1a3),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1ec)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x1cc),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1c5)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x1c1),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x19c)),'type':AIQuickActionType[_0x15892c(0x1f0)]},{'id':_0x15892c(0x21f),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1c3)),'type':AIQuickActionType[_0x15892c(0x1f0)]}]},{'id':_0x15892c(0x20b),'label':_0x1374e8(_0x206590,_0x15892c(0x1df)),'icon':_0x330b45,'actions':[{'id':_0x15892c(0x1a6),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1b4)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x201)}},{'id':_0x15892c(0x1cf),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1de)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x22a)}},{'id':_0x15892c(0x1c4),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1d1)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1b2)}},{'id':_0x15892c(0x1c8),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x212)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1e7)}},{'id':_0x15892c(0x1be),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x199)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1d9)}},{'id':_0x15892c(0x218),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x194)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1ff)}},{'id':_0x15892c(0x1d3),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1ea)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1db)}},{'id':_0x15892c(0x1fc),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x1c0)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1d5)}},{'id':_0x15892c(0x1ce),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x219)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1f4)}},{'id':_0x15892c(0x21a),'displayedPrompt':_0x1374e8(_0x206590,_0x15892c(0x21b)),'type':AIQuickActionType[_0x15892c(0x1f0)],'actionName':_0x15892c(0x20b),'args':{'language':_0x15892c(0x1c7)}}]},{'id':_0x15892c(0x1f7),'label':_0x1374e8(_0x206590,_0x15892c(0x1f9)),'icon':_0x180529,'actions':[]}];return _0xa92289;}(_0x2aae96);}[_0x3d938d(0x1e3)](){const _0x1bbb63=_0x3d938d,_0x2f38d3=AIQuickActionsUI[_0x1bbb63(0x1bd)](this[_0x1bbb63(0x20d)][_0x1bbb63(0x1e4)]),_0x50e85e=(this[_0x1bbb63(0x20d)][_0x1bbb63(0x21c)][_0x1bbb63(0x19b)](_0x1bbb63(0x1a0))||[])[_0x1bbb63(0x1ef)](_0x5970a5=>({..._0x5970a5,'icon':void 0x0}));return _0x2f38d3[_0x1bbb63(0x207)](_0x327da0=>_0x1bbb63(0x1f7)===_0x327da0['id'])[_0x1bbb63(0x1f2)][_0x1bbb63(0x1f3)](..._0x50e85e),_0x2f38d3;}[_0x3d938d(0x1fe)](){const _0x273c8e=_0x3d938d,_0x2c9197=new _0x393ded(this[_0x273c8e(0x20d)][_0x273c8e(0x1e4)]);_0x2c9197[_0x273c8e(0x1fb)](),this[_0x273c8e(0x1ae)](_0x2c9197),this[_0x273c8e(0x1c6)](),this[_0x273c8e(0x1fa)](_0x2c9197);}[_0x3d938d(0x1ae)](_0x1674ed){const _0x5bd083=_0x3d938d;this[_0x5bd083(0x20d)]['ui'][_0x5bd083(0x221)][_0x5bd083(0x205)](_0x5bd083(0x208),_0xba5f5(this[_0x5bd083(0x20d)],this[_0x5bd083(0x1e0)],{'icon':_0x17fc05,'label':_0x1374e8(this[_0x5bd083(0x20d)][_0x5bd083(0x1e4)],_0x5bd083(0x196))},_0x1674ed));}[_0x3d938d(0x1e2)](_0x234568){const _0x24ebb7=_0x3d938d;this[_0x24ebb7(0x1e0)]=_0x234568[_0x24ebb7(0x1ef)](_0x3828a7=>{const _0x6978a9=_0x24ebb7;if(_0x6978a9(0x1f2)in _0x3828a7){const _0x288e63=_0x3828a7;return{..._0x288e63,'actions':_0x288e63[_0x6978a9(0x1f2)][_0x6978a9(0x1ef)](_0x30e334=>{const {actions:_0x4d9fb7,..._0x4e64fb}=_0x288e63;return{..._0x30e334,'parent':_0x4e64fb};})[_0x6978a9(0x1d8)](_0x1d0248=>this[_0x6978a9(0x222)](_0x1d0248))};}return _0x3828a7;})[_0x24ebb7(0x1d8)](_0x26be04=>_0x24ebb7(0x1f2)in _0x26be04?_0x26be04[_0x24ebb7(0x1f2)][_0x24ebb7(0x1b8)]>0x0:this[_0x24ebb7(0x222)](_0x26be04));}[_0x3d938d(0x222)](_0x332d73){const _0x138ee0=_0x3d938d,_0x3de413=this[_0x138ee0(0x20d)][_0x138ee0(0x21c)][_0x138ee0(0x19b)](_0x138ee0(0x200))||[];return this[_0x138ee0(0x20d)][_0x138ee0(0x19d)][_0x138ee0(0x20c)](AIQuickActionTypeToPluginName[_0x332d73[_0x138ee0(0x1b7)]])&&!_0x3de413[_0x138ee0(0x226)](_0x332d73['id']);}[_0x3d938d(0x1fa)](_0xbbb7f8){const _0x1d0eb6=_0x3d938d;this[_0x1d0eb6(0x1e0)][_0x1d0eb6(0x19a)](_0x1bd76b=>{const _0x1f978a=_0x1d0eb6;if(_0x1f978a(0x1f2)in _0x1bd76b){const _0x5c94f6=_0xba5f5(this[_0x1f978a(0x20d)],_0x1bd76b[_0x1f978a(0x1f2)],_0x1bd76b,_0xbbb7f8);this[_0x1f978a(0x20d)]['ui'][_0x1f978a(0x221)][_0x1f978a(0x205)](_0x1bd76b['id'],_0x5c94f6),_0x1bd76b[_0x1f978a(0x1f2)][_0x1f978a(0x19a)](_0x4bdac5=>{const _0x2c7a4b=_0x1f978a,_0x11933f=_0x59e8e9(this[_0x2c7a4b(0x20d)],_0x4bdac5);this[_0x2c7a4b(0x20d)]['ui'][_0x2c7a4b(0x221)][_0x2c7a4b(0x205)](_0x4bdac5['id'],_0x11933f);});}else{const _0x1ef57e=_0x59e8e9(this[_0x1f978a(0x20d)],_0x1bd76b,!0x1,!0x0,!0x1);this[_0x1f978a(0x20d)]['ui'][_0x1f978a(0x221)][_0x1f978a(0x205)](_0x1bd76b['id'],_0x1ef57e);}});}[_0x3d938d(0x1c6)](){const _0x5ab39e=_0x3d938d;this[_0x5ab39e(0x20d)]['ui'][_0x5ab39e(0x221)][_0x5ab39e(0x205)](_0x5ab39e(0x1d7),_0x300f49=>{const _0x2791e=_0x5ab39e,_0x21df35=new _0x17d780(_0x300f49),_0x1e4354=_0x1374e8(_0x300f49,_0x2791e(0x196));_0x21df35[_0x2791e(0x209)][_0x2791e(0x216)]({'label':_0x1e4354,'icon':_0x17fc05});const _0x9b3d39=new _0x10e156(_0x300f49);_0x9b3d39[_0x2791e(0x216)]({'ariaLabel':_0x1e4354,'role':_0x2791e(0x229)}),this[_0x2791e(0x1e0)][_0x2791e(0x19a)](_0x5d6203=>{const _0x30474e=_0x2791e;if(_0x30474e(0x1f2)in _0x5d6203){const _0x51bd9d=_0x5d6203,_0x1c80d0=new _0x31edee(_0x300f49,_0x21df35),_0x41db21=new _0x17d780(_0x300f49),_0x1d8976=new _0x10e156(_0x300f49);_0x41db21[_0x30474e(0x209)][_0x30474e(0x216)]({'label':_0x51bd9d[_0x30474e(0x1f1)],'icon':_0x51bd9d[_0x30474e(0x1ca)]}),_0x51bd9d[_0x30474e(0x1f2)][_0x30474e(0x19a)](_0x20aac3=>{const _0x55b515=_0x30474e,_0x26dfcf=new _0x31edee(_0x300f49,_0x41db21),_0x12830f=new _0x3819da(_0x300f49);_0x12830f[_0x55b515(0x216)]({'label':_0x20aac3[_0x55b515(0x227)],'icon':_0x20aac3[_0x55b515(0x1ca)],'role':_0x55b515(0x1e5)}),_0x12830f['on'](_0x55b515(0x214),()=>{const _0x4a1aef=_0x55b515;this[_0x4a1aef(0x1d4)](_0x20aac3);}),_0x12830f[_0x55b515(0x193)](_0x55b515(0x214))['to'](_0x41db21),_0x26dfcf[_0x55b515(0x1f8)][_0x55b515(0x205)](_0x12830f),_0x1d8976[_0x55b515(0x1b6)][_0x55b515(0x205)](_0x26dfcf);}),_0x41db21[_0x30474e(0x228)][_0x30474e(0x1f8)][_0x30474e(0x205)](_0x1d8976),_0x1c80d0[_0x30474e(0x1f8)][_0x30474e(0x205)](_0x41db21),_0x9b3d39[_0x30474e(0x1b6)][_0x30474e(0x205)](_0x1c80d0);}else{const _0xba632d=_0x5d6203,_0x386a30=new _0x31edee(_0x300f49,_0x21df35),_0x4a41f8=new _0x3819da(_0x300f49);_0x4a41f8[_0x30474e(0x216)]({'label':_0xba632d[_0x30474e(0x227)],'icon':_0xba632d[_0x30474e(0x1ca)],'role':_0x30474e(0x1e5)}),_0x4a41f8['on'](_0x30474e(0x214),()=>{const _0x61bbfb=_0x30474e;this[_0x61bbfb(0x1d4)](_0xba632d);}),_0x4a41f8[_0x30474e(0x193)](_0x30474e(0x214))['to'](_0x21df35),_0x386a30[_0x30474e(0x1f8)][_0x30474e(0x205)](_0x4a41f8),_0x9b3d39[_0x30474e(0x1b6)][_0x30474e(0x205)](_0x386a30);}});const _0x3f4930=Object[_0x2791e(0x1a1)](AIQuickActionTypeToPluginName)[_0x2791e(0x223)](_0x16752e=>this[_0x2791e(0x20d)][_0x2791e(0x19d)][_0x2791e(0x20c)](_0x16752e));return _0x21df35[_0x2791e(0x216)]({'isEnabled':_0x3f4930}),_0x21df35[_0x2791e(0x228)][_0x2791e(0x1f8)][_0x2791e(0x205)](_0x9b3d39),_0x21df35;});}[_0x3d938d(0x1d4)](_0x54e943){const _0x27ce38=_0x3d938d,_0x437f1d=this[_0x27ce38(0x20d)];_0x437f1d[_0x27ce38(0x1dc)][_0x27ce38(0x210)][_0x27ce38(0x1ac)](),_0x437f1d[_0x27ce38(0x1a2)][_0x27ce38(0x214)](_0x27ce38(0x1a9),_0x54e943);const _0x372d17=_0x437f1d['ui'][_0x27ce38(0x210)][_0x27ce38(0x20a)];_0x372d17&&_0x372d17[_0x27ce38(0x206)]&&_0x372d17[_0x27ce38(0x206)]();}}
|
|
23
|
+
const _0x2c01a7=_0x183e;(function(_0x5c35cf,_0x33a569){const _0x2803d3=_0x183e,_0xa19265=_0x5c35cf();while(!![]){try{const _0x67cfd0=parseInt(_0x2803d3(0x1fd))/0x1*(-parseInt(_0x2803d3(0x228))/0x2)+-parseInt(_0x2803d3(0x206))/0x3+parseInt(_0x2803d3(0x258))/0x4*(-parseInt(_0x2803d3(0x233))/0x5)+-parseInt(_0x2803d3(0x205))/0x6*(parseInt(_0x2803d3(0x222))/0x7)+-parseInt(_0x2803d3(0x219))/0x8+parseInt(_0x2803d3(0x1f6))/0x9+parseInt(_0x2803d3(0x1ee))/0xa;if(_0x67cfd0===_0x33a569)break;else _0xa19265['push'](_0xa19265['shift']());}catch(_0x44cb53){_0xa19265['push'](_0xa19265['shift']());}}}(_0x1463,0x8a99c));import{IconAIAdjustLength as _0x3ba3b6,IconAIAskAI as _0x53c6b0,IconAIChangeTone as _0x58eb2f,IconAIChatCommands as _0x281255,IconAIContinueWriting as _0x2f8a54,IconAIGrammarCheck as _0x1ddc8b,IconAIImproveWriting as _0x457698,IconAIOther as _0x243bd4,IconAIQuickActions as _0x22488e,IconAITranslate as _0x4a9eba}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x65e2cf}from'ckeditor5/src/core.js';import{getTranslation as _0x402bc3}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x263603}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x3d1325}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x583a20,BalloonToolbar as _0x516342,MenuBarMenuView as _0x1933f0,MenuBarMenuListView as _0x4c7bd6,MenuBarMenuListItemView as _0x1c3ba1,MenuBarMenuListItemButtonView as _0x1332a9}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const te=_0x2c01a7(0x1dc),ee=_0x2c01a7(0x261),ie=_0x2c01a7(0x1f4);export var AIQuickActionType;!function(_0x3be196){const _0x5692ce=_0x2c01a7;_0x3be196[_0x5692ce(0x256)]=_0x5692ce(0x256),_0x3be196[_0x5692ce(0x23e)]=_0x5692ce(0x23e),_0x3be196[_0x5692ce(0x21f)]=_0x5692ce(0x21f);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3c9781){const _0x4c56aa=_0x2c01a7;_0x3c9781[_0x4c56aa(0x256)]=_0x4c56aa(0x1f9),_0x3c9781[_0x4c56aa(0x23e)]=_0x4c56aa(0x1fa),_0x3c9781[_0x4c56aa(0x21f)]=_0x4c56aa(0x241);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x183e(_0x37ff70,_0x667fb6){const _0x146362=_0x1463();return _0x183e=function(_0x183e0f,_0x1c35be){_0x183e0f=_0x183e0f-0x1cf;let _0x10abf6=_0x146362[_0x183e0f];return _0x10abf6;},_0x183e(_0x37ff70,_0x667fb6);}export class AIQuickActionsUI extends _0x65e2cf{static get[_0x2c01a7(0x1db)](){return[_0x516342];}static get[_0x2c01a7(0x257)](){const _0x2208f6=_0x2c01a7;return _0x2208f6(0x1d6);}static get[_0x2c01a7(0x235)](){return!0x0;}static get[_0x2c01a7(0x1f8)](){return!0x0;}[_0x2c01a7(0x21b)](){const _0x30962c=_0x2c01a7;this[_0x30962c(0x265)](this[_0x30962c(0x1dd)]()),this[_0x30962c(0x1da)]();}static[_0x2c01a7(0x207)](_0x1b3e6a){return function(_0x53816f){const _0x2f7feb=_0x183e,_0x58aeb5=new Intl[(_0x2f7feb(0x24f))](['en'],{'type':_0x2f7feb(0x249)})['of'](_0x53816f[_0x2f7feb(0x23f)]),_0x171a3a=_0x58aeb5||_0x2f7feb(0x1ed),_0x2bc59e=[{'id':_0x2f7feb(0x223),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1de)),'type':AIQuickActionType[_0x2f7feb(0x256)],'icon':_0x53c6b0},{'id':_0x2f7feb(0x243),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x204)),'icon':_0x281255,'actions':[{'id':_0x2f7feb(0x24b),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1d0)),'prompt':te[_0x2f7feb(0x266)]('%0',_0x171a3a),'type':AIQuickActionType[_0x2f7feb(0x256)]},{'id':_0x2f7feb(0x242),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x231)),'prompt':ee[_0x2f7feb(0x266)]('%0',_0x171a3a),'type':AIQuickActionType[_0x2f7feb(0x256)]},{'id':_0x2f7feb(0x210),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x20b)),'prompt':ie[_0x2f7feb(0x266)]('%0',_0x171a3a),'type':AIQuickActionType[_0x2f7feb(0x256)]}]},{'id':_0x2f7feb(0x216),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x21c)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'icon':_0x457698},{'id':_0x2f7feb(0x22b),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x20e)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'icon':_0x2f8a54},{'id':_0x2f7feb(0x238),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1e8)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'icon':_0x1ddc8b},{'id':_0x2f7feb(0x1f7),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x24c)),'icon':_0x3ba3b6,'actions':[{'id':_0x2f7feb(0x218),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1d4)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x1cf),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x260)),'type':AIQuickActionType[_0x2f7feb(0x23e)]}]},{'id':_0x2f7feb(0x1e5),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x1f0)),'icon':_0x58eb2f,'actions':[{'id':_0x2f7feb(0x234),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x255)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x1fb),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x254)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x209),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1e2)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x1d8),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x212)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x250),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x23c)),'type':AIQuickActionType[_0x2f7feb(0x23e)]}]},{'id':_0x2f7feb(0x1d7),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x20d)),'icon':_0x4a9eba,'actions':[{'id':_0x2f7feb(0x1ec),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x252)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x22c)}},{'id':_0x2f7feb(0x24a),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x239)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x1df)}},{'id':_0x2f7feb(0x236),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x245)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x21d)}},{'id':_0x2f7feb(0x244),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1f5)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x237)}},{'id':_0x2f7feb(0x1ff),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x25f)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x1d2)}},{'id':_0x2f7feb(0x227),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x262)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x22d)}},{'id':_0x2f7feb(0x263),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x20f)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x1e0)}},{'id':_0x2f7feb(0x240),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x251)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x264)}},{'id':_0x2f7feb(0x246),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x200)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x20c)}},{'id':_0x2f7feb(0x22e),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x25b)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x21e)}}]},{'id':_0x2f7feb(0x1e3),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x1d9)),'icon':_0x243bd4,'actions':[]}];return _0x2bc59e;}(_0x1b3e6a);}[_0x2c01a7(0x1dd)](){const _0x5ab2ef=_0x2c01a7,_0x4ac350=AIQuickActionsUI[_0x5ab2ef(0x207)](this[_0x5ab2ef(0x23b)][_0x5ab2ef(0x22f)]),_0x12455b=(this[_0x5ab2ef(0x23b)][_0x5ab2ef(0x214)][_0x5ab2ef(0x1e4)](_0x5ab2ef(0x23a))||[])[_0x5ab2ef(0x224)](_0x3dc64e=>({..._0x3dc64e,'icon':void 0x0}));return _0x4ac350[_0x5ab2ef(0x220)](_0x2192b6=>_0x5ab2ef(0x1e3)===_0x2192b6['id'])[_0x5ab2ef(0x23d)][_0x5ab2ef(0x1ea)](..._0x12455b),_0x4ac350;}[_0x2c01a7(0x1da)](){const _0x2963f4=_0x2c01a7,_0x313a3a=new _0x583a20(this[_0x2963f4(0x23b)][_0x2963f4(0x22f)]);_0x313a3a[_0x2963f4(0x259)](),this[_0x2963f4(0x1e7)](_0x313a3a),this[_0x2963f4(0x25d)](),this[_0x2963f4(0x203)](_0x313a3a);}[_0x2c01a7(0x1e7)](_0x14352d){const _0x353a43=_0x2c01a7;this[_0x353a43(0x23b)]['ui'][_0x353a43(0x1e1)][_0x353a43(0x201)](_0x353a43(0x1e6),_0x263603(this[_0x353a43(0x23b)],this[_0x353a43(0x24d)],{'icon':_0x22488e,'label':_0x402bc3(this[_0x353a43(0x23b)][_0x353a43(0x22f)],_0x353a43(0x229))},_0x14352d));}[_0x2c01a7(0x265)](_0xa8e3c3){const _0x18a125=_0x2c01a7;this[_0x18a125(0x24d)]=_0xa8e3c3[_0x18a125(0x224)](_0x41dd42=>{const _0x2e1d3c=_0x18a125;if(_0x2e1d3c(0x23d)in _0x41dd42){const _0x8bce3e=_0x41dd42;return{..._0x8bce3e,'actions':_0x8bce3e[_0x2e1d3c(0x23d)][_0x2e1d3c(0x224)](_0x38097d=>{const {actions:_0x22a680,..._0x2151d8}=_0x8bce3e;return{..._0x38097d,'parent':_0x2151d8};})[_0x2e1d3c(0x213)](_0x2c690d=>this[_0x2e1d3c(0x221)](_0x2c690d))};}return _0x41dd42;})[_0x18a125(0x213)](_0xd42e73=>_0x18a125(0x23d)in _0xd42e73?_0xd42e73[_0x18a125(0x23d)][_0x18a125(0x1ef)]>0x0:this[_0x18a125(0x221)](_0xd42e73));}[_0x2c01a7(0x221)](_0x3e08ce){const _0xa4fd6e=_0x2c01a7,_0x38223a=this[_0xa4fd6e(0x23b)][_0xa4fd6e(0x214)][_0xa4fd6e(0x1e4)](_0xa4fd6e(0x247))||[];return this[_0xa4fd6e(0x23b)][_0xa4fd6e(0x1d3)][_0xa4fd6e(0x1e9)](AIQuickActionTypeToPluginName[_0x3e08ce[_0xa4fd6e(0x232)]])&&!_0x38223a[_0xa4fd6e(0x20a)](_0x3e08ce['id']);}[_0x2c01a7(0x203)](_0x53c8ff){const _0x15b7a1=_0x2c01a7;this[_0x15b7a1(0x24d)][_0x15b7a1(0x202)](_0x409bc6=>{const _0x4da1a1=_0x15b7a1;if(_0x4da1a1(0x23d)in _0x409bc6){const _0x17991b=_0x263603(this[_0x4da1a1(0x23b)],_0x409bc6[_0x4da1a1(0x23d)],_0x409bc6,_0x53c8ff);this[_0x4da1a1(0x23b)]['ui'][_0x4da1a1(0x1e1)][_0x4da1a1(0x201)](_0x409bc6['id'],_0x17991b),_0x409bc6[_0x4da1a1(0x23d)][_0x4da1a1(0x202)](_0x56f1d0=>{const _0x5a3fd4=_0x4da1a1,_0x2bec44=_0x3d1325(this[_0x5a3fd4(0x23b)],_0x56f1d0);this[_0x5a3fd4(0x23b)]['ui'][_0x5a3fd4(0x1e1)][_0x5a3fd4(0x201)](_0x56f1d0['id'],_0x2bec44);});}else{const _0x2c1bf5=_0x3d1325(this[_0x4da1a1(0x23b)],_0x409bc6,!0x1,!0x0,!0x1);this[_0x4da1a1(0x23b)]['ui'][_0x4da1a1(0x1e1)][_0x4da1a1(0x201)](_0x409bc6['id'],_0x2c1bf5);}});}[_0x2c01a7(0x25d)](){const _0x599cf1=_0x2c01a7;this[_0x599cf1(0x23b)]['ui'][_0x599cf1(0x1e1)][_0x599cf1(0x201)](_0x599cf1(0x208),_0x243cfc=>{const _0x153814=_0x599cf1,_0x2ea7e8=new _0x1933f0(_0x243cfc),_0x1f6afe=_0x402bc3(_0x243cfc,_0x153814(0x229));_0x2ea7e8[_0x153814(0x22a)][_0x153814(0x253)]({'label':_0x1f6afe,'icon':_0x22488e});const _0x463e5e=new _0x4c7bd6(_0x243cfc);_0x463e5e[_0x153814(0x253)]({'ariaLabel':_0x1f6afe,'role':_0x153814(0x1fc)}),this[_0x153814(0x24d)][_0x153814(0x202)](_0x3067ab=>{const _0x308b77=_0x153814;if(_0x308b77(0x23d)in _0x3067ab){const _0x5b4fb2=_0x3067ab,_0x3d82c9=new _0x1c3ba1(_0x243cfc,_0x2ea7e8),_0x533512=new _0x1933f0(_0x243cfc),_0xc28cf9=new _0x4c7bd6(_0x243cfc);_0x533512[_0x308b77(0x22a)][_0x308b77(0x253)]({'label':_0x5b4fb2[_0x308b77(0x217)],'icon':_0x5b4fb2[_0x308b77(0x1fe)]}),_0x5b4fb2[_0x308b77(0x23d)][_0x308b77(0x202)](_0x372d72=>{const _0x1b2b19=_0x308b77,_0x13feb8=new _0x1c3ba1(_0x243cfc,_0x533512),_0x48182e=new _0x1332a9(_0x243cfc);_0x48182e[_0x1b2b19(0x253)]({'label':_0x372d72[_0x1b2b19(0x226)],'icon':_0x372d72[_0x1b2b19(0x1fe)],'role':_0x1b2b19(0x1d5)}),_0x48182e['on'](_0x1b2b19(0x211),()=>{const _0x18801e=_0x1b2b19;this[_0x18801e(0x24e)](_0x372d72);}),_0x48182e[_0x1b2b19(0x225)](_0x1b2b19(0x211))['to'](_0x533512),_0x13feb8[_0x1b2b19(0x1f2)][_0x1b2b19(0x201)](_0x48182e),_0xc28cf9[_0x1b2b19(0x21a)][_0x1b2b19(0x201)](_0x13feb8);}),_0x533512[_0x308b77(0x215)][_0x308b77(0x1f2)][_0x308b77(0x201)](_0xc28cf9),_0x3d82c9[_0x308b77(0x1f2)][_0x308b77(0x201)](_0x533512),_0x463e5e[_0x308b77(0x21a)][_0x308b77(0x201)](_0x3d82c9);}else{const _0x4a9e4a=_0x3067ab,_0x4211a2=new _0x1c3ba1(_0x243cfc,_0x2ea7e8),_0xfbd5a1=new _0x1332a9(_0x243cfc);_0xfbd5a1[_0x308b77(0x253)]({'label':_0x4a9e4a[_0x308b77(0x226)],'icon':_0x4a9e4a[_0x308b77(0x1fe)],'role':_0x308b77(0x1d5)}),_0xfbd5a1['on'](_0x308b77(0x211),()=>{const _0x31ffee=_0x308b77;this[_0x31ffee(0x24e)](_0x4a9e4a);}),_0xfbd5a1[_0x308b77(0x225)](_0x308b77(0x211))['to'](_0x2ea7e8),_0x4211a2[_0x308b77(0x1f2)][_0x308b77(0x201)](_0xfbd5a1),_0x463e5e[_0x308b77(0x21a)][_0x308b77(0x201)](_0x4211a2);}});const _0x559056=Object[_0x153814(0x25e)](AIQuickActionTypeToPluginName)[_0x153814(0x230)](_0x1d87cf=>this[_0x153814(0x23b)][_0x153814(0x1d3)][_0x153814(0x1e9)](_0x1d87cf));return _0x2ea7e8[_0x153814(0x253)]({'isEnabled':_0x559056}),_0x2ea7e8[_0x153814(0x215)][_0x153814(0x1f2)][_0x153814(0x201)](_0x463e5e),_0x2ea7e8;});}[_0x2c01a7(0x24e)](_0x46b21c){const _0x34ba69=_0x2c01a7,_0x158735=this[_0x34ba69(0x23b)];_0x158735[_0x34ba69(0x1d1)][_0x34ba69(0x1f1)][_0x34ba69(0x1f3)](),_0x158735[_0x34ba69(0x248)][_0x34ba69(0x211)](_0x34ba69(0x25c),_0x46b21c);const _0x519b6f=_0x158735['ui'][_0x34ba69(0x1f1)][_0x34ba69(0x1eb)];_0x519b6f&&_0x519b6f[_0x34ba69(0x25a)]&&_0x519b6f[_0x34ba69(0x25a)]();}}function _0x1463(){const _0x3a5a63=['AI_QUICK_ACTIONS_OTHER','_initializeQuickActionsComponentsAndCommands','requires','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_ASK_AI','chinese','portuguese','componentFactory','AI_QUICK_ACTIONS_MORE_FRIENDLY','other','get','change-tone','aiQuickActions','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','has','push','menuBarView','translate-to-english','English','31940870dHbRRW','length','AI_QUICK_ACTIONS_CHANGE_TONE','view','children','focus','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','2309211GBonYO','adjust-length','isPremiumPlugin','AIChat','AIActions','make-tone-direct','menu','413ZivrTQ','icon','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','add','forEach','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_CHAT_COMMANDS','108EAIRkP','1424454gJXDpe','getDefaultQuickActions','menuBar:aiQuickActions','make-tone-friendly','includes','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','italian','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','highlight-key-points','execute','AI_QUICK_ACTIONS_MORE_CONFIDENT','filter','config','panelView','improve-writing','label','make-shorter','7068336wZmfMo','items','init','AI_QUICK_ACTIONS_IMPROVE_WRITING','spanish','russian','REVIEW','find','_shouldIncludeAction','224868TGMJYY','ask-ai','map','delegate','displayedPrompt','translate-to-japanese','2844nvEUvP','AI_QUICK_ACTIONS_HEADING','buttonView','continue','english','japanese','translate-to-russian','locale','some','AI_QUICK_ACTIONS_SUMMARIZE','type','897700utjWSk','make-tone-casual','isOfficialPlugin','translate-to-spanish','german','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ai.quickActions.extraCommands','editor','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','actions','ACTION','uiLanguage','translate-to-korean','AIReviewMode','summarize','chat-commands','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-italian','ai.quickActions.removeCommands','commands','language','translate-to-chinese','explain','AI_QUICK_ACTIONS_ADJUST_LENGTH','_quickActionsDefinition','_executeQuickAction','DisplayNames','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','set','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_MORE_CASUAL','CHAT','pluginName','8aOxndc','attachToDom','close','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','aiQuickAction','_initializeQuickActionsMenuBar','values','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_MAKE_LONGER','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-portuguese','korean','_prepareQuickActionsDefinition','replace','make-longer','AI_QUICK_ACTIONS_EXPLAIN','editing','french','plugins','AI_QUICK_ACTIONS_MAKE_SHORTER','menuitem','AIQuickActionsUI','translate','make-tone-confident'];_0x1463=function(){return _0x3a5a63;};return _0x1463();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1a6daa,_0x17fb66){const _0xa1b7d3=_0x3a19,_0x3e816b=_0x1a6daa();while(!![]){try{const _0x1dbf79=-parseInt(_0xa1b7d3(0xb0))/0x1+parseInt(_0xa1b7d3(0x9c))/0x2*(-parseInt(_0xa1b7d3(0xa7))/0x3)+parseInt(_0xa1b7d3(0x99))/0x4+parseInt(_0xa1b7d3(0xa0))/0x5*(-parseInt(_0xa1b7d3(0xa9))/0x6)+-parseInt(_0xa1b7d3(0xa1))/0x7+parseInt(_0xa1b7d3(0x9f))/0x8+parseInt(_0xa1b7d3(0x9b))/0x9*(parseInt(_0xa1b7d3(0x9d))/0xa);if(_0x1dbf79===_0x17fb66)break;else _0x3e816b['push'](_0x3e816b['shift']());}catch(_0x166ab8){_0x3e816b['push'](_0x3e816b['shift']());}}}(_0x2818,0xa07d7));function _0x2818(){const _0x2fc262=['set','commands','1083141COUiSf','view','3402848TyqNEq','icon','38223qSNbly','78JPsHtp','4610YMZoBu','menuitem','4026824yvWPhQ','81970mdaAau','8640289tCuHTT','bindTemplate','execute','parent','editing','ck-ai-quick-actions-button','17103nnkHqQ','locale','42empwuc','aiQuickAction','extendTemplate','focus','displayedPrompt'];_0x2818=function(){return _0x2fc262;};return _0x2818();}import{ButtonView as _0x3ff379}from'ckeditor5/src/ui.js';function _0x3a19(_0x87a3c,_0x340da5){const _0x2818b0=_0x2818();return _0x3a19=function(_0x3a1951,_0x35c69f){_0x3a1951=_0x3a1951-0x99;let _0x50f7c3=_0x2818b0[_0x3a1951];return _0x50f7c3;},_0x3a19(_0x87a3c,_0x340da5);}import{IconAIQuickActions as _0x32ec92}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x875ff3,_0x33aebd,_0x1c45b4=!0x1,_0x246760=!0x0,_0x574ea2=!0x0){return()=>{const _0x56e225=_0x3a19,_0x40fdeb=_0x875ff3[_0x56e225(0xa8)],_0x5d821f=new _0x3ff379(_0x40fdeb),_0x367757=_0x5d821f[_0x56e225(0xa2)];_0x574ea2&&_0x5d821f[_0x56e225(0xab)]({'on':{'mouseenter':_0x367757['to'](()=>{const _0x4b4300=_0x56e225;_0x5d821f[_0x4b4300(0xac)]();})}});const _0x5eb94e=_0x33aebd[_0x56e225(0x9a)]??_0x33aebd[_0x56e225(0xa4)]?.[_0x56e225(0x9a)];return _0x5d821f[_0x56e225(0xae)]({'label':_0x33aebd[_0x56e225(0xad)],'withText':_0x1c45b4,'role':_0x56e225(0x9e),'icon':_0x246760?_0x5eb94e??_0x32ec92:void 0x0,'tooltip':!_0x1c45b4,'class':_0x56e225(0xa6)}),_0x5d821f['on'](_0x56e225(0xa3),()=>{const _0x442130=_0x56e225;_0x875ff3[_0x442130(0xa5)][_0x442130(0xb1)][_0x442130(0xac)](),_0x875ff3[_0x442130(0xaf)][_0x442130(0xa3)](_0x442130(0xaa),_0x33aebd);}),_0x5d821f;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41e953=_0x19b7;(function(_0x33508f,_0x1dc542){const _0x4b890d=_0x19b7,_0x40a396=_0x33508f();while(!![]){try{const _0x159f5d=parseInt(_0x4b890d(0x1c9))/0x1*(-parseInt(_0x4b890d(0x1b8))/0x2)+-parseInt(_0x4b890d(0x1c4))/0x3*(parseInt(_0x4b890d(0x1ec))/0x4)+parseInt(_0x4b890d(0x1c5))/0x5+parseInt(_0x4b890d(0x1c8))/0x6+-parseInt(_0x4b890d(0x1cb))/0x7*(-parseInt(_0x4b890d(0x1df))/0x8)+-parseInt(_0x4b890d(0x1b5))/0x9+-parseInt(_0x4b890d(0x1b6))/0xa*(-parseInt(_0x4b890d(0x1cc))/0xb);if(_0x159f5d===_0x1dc542)break;else _0x40a396['push'](_0x40a396['shift']());}catch(_0x294148){_0x40a396['push'](_0x40a396['shift']());}}}(_0x3078,0xc8b97));function _0x19b7(_0x5b46e1,_0x2743f3){const _0x3078bd=_0x3078();return _0x19b7=function(_0x19b77b,_0x2c2d27){_0x19b77b=_0x19b77b-0x1a8;let _0x323da2=_0x3078bd[_0x19b77b];return _0x323da2;},_0x19b7(_0x5b46e1,_0x2743f3);}import{View as _0x16beb2,ListItemView as _0x158edd,ListView as _0x6e7718,BalloonPanelView as _0x5f59bd,DropdownMenuPanelPositioningFunctions as _0x29df13,DropdownMenuButtonView as _0x40ae8c,ViewCollection as _0x48abde,FocusCycler as _0x11f8cd}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x27301b}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x25af55,KeystrokeHandler as _0x85ff6}from'ckeditor5/src/utils.js';function _0x3078(){const _0x504ce0=['label','hide','set','ck-ai-quick-actions-group-panel','_createListItems','ck-ai-quick-actions','children','focusTracker','_openNestedPanels','4517721youVbo','130vcZebn','_showNestedPanel','2510234mUWteS','items','actions','ck-dropdown-menu-list','relatedTarget','.ck-ai-quick-actions-group-list','_createGroupActionsList','closest','.ck-ai-quick-actions-group-panel','key','setTemplate','role','60612udUJdm','3428950AkICWB','focusCycler','contains','4285950eCYbys','1zVVAnR','uiLanguageDirection','155505aUlAfV','1560427LMxbbH','show','ck-ai-quick-actions-group-list','_bodyCollection','delete','_hideNestedPanel','get','rtl','destroy','ck-dropdown-menu__nested-menu__panel','_createActionButton','keystrokes','icon','menu','ck-reset_all','menuitem','forEach','render','bindTemplate','248vGvXBk','.ck-ai-quick-actions-group-button','focus','isOn','extendTemplate','ck-ai-quick-actions-group-button','optionsListView','detachFromDom','_hideAllNestedPanels','_focusables','div','isVisible','eastSouth','268NtVVJb','_createActionGroupButton','content','_setupGroupMenuBehavior','pin','locale','ArrowRight','element','bind','add','ArrowLeft','_isMovingToNestedMenu','mouseleave','ck-rounded-corners','clear','addEventListener','addMany'];_0x3078=function(){return _0x504ce0;};return _0x3078();}import{aiQuickActionsButtonCreator as _0x35eb85}from'./aiquickactionsbuttoncreator.js';const Ls=_0x41e953(0x1d9),Ns=_0x41e953(0x1db);export class AIQuickActionsDropdownContentView extends _0x16beb2{[_0x41e953(0x1cf)];[_0x41e953(0x1e5)];[_0x41e953(0x1b3)];[_0x41e953(0x1d7)];[_0x41e953(0x1e8)];[_0x41e953(0x1c6)];[_0x41e953(0x1b4)]=new Set();constructor(_0x16cb8d,_0xfb434e,_0x3ace9b,_0x332f9c){const _0x9d7a2e=_0x41e953,_0x39cdc7=_0x16cb8d[_0x9d7a2e(0x1f1)];super(_0x39cdc7),this[_0x9d7a2e(0x1cf)]=_0x332f9c;const _0x36408f=this[_0x9d7a2e(0x1b0)](_0x16cb8d,_0xfb434e,_0x3ace9b);this[_0x9d7a2e(0x1e5)]=new _0x6e7718(_0x39cdc7),this[_0x9d7a2e(0x1e5)][_0x9d7a2e(0x1c3)]=Ls,this[_0x9d7a2e(0x1e5)][_0x9d7a2e(0x1b9)][_0x9d7a2e(0x1ab)](_0x36408f),this[_0x9d7a2e(0x1b3)]=new _0x25af55(),this[_0x9d7a2e(0x1d7)]=new _0x85ff6(),this[_0x9d7a2e(0x1e8)]=_0x36408f,this[_0x9d7a2e(0x1c6)]=new _0x11f8cd({'focusables':this[_0x9d7a2e(0x1e8)],'focusTracker':this[_0x9d7a2e(0x1b3)],'keystrokeHandler':this[_0x9d7a2e(0x1d7)]}),this[_0x9d7a2e(0x1c2)]({'tag':_0x9d7a2e(0x1e9),'attributes':{'class':['ck',_0x9d7a2e(0x1da),_0x9d7a2e(0x1b1),_0x9d7a2e(0x1a8)],'dir':_0x39cdc7[_0x9d7a2e(0x1ca)]},'children':[this[_0x9d7a2e(0x1e5)]]});}[_0x41e953(0x1b0)](_0x186670,_0x4f5bbf,_0x5bbee4){const _0x578213=_0x41e953,_0x411ec7=new _0x48abde();return _0x4f5bbf[_0x578213(0x1dc)](_0x540a1f=>{const _0x2f8266=_0x578213;_0x2f8266(0x1ba)in _0x540a1f?_0x411ec7[_0x2f8266(0x1f5)](this[_0x2f8266(0x1ed)](_0x186670,_0x540a1f,_0x5bbee4)):_0x411ec7[_0x2f8266(0x1f5)](this[_0x2f8266(0x1d6)](_0x186670,_0x540a1f));}),_0x411ec7;}[_0x41e953(0x1d6)](_0x50b614,_0x4718b8){const _0x33ba0f=_0x41e953,_0x4df38e=new _0x158edd(this[_0x33ba0f(0x1f1)]),_0x33f347=_0x35eb85(_0x50b614,_0x4718b8,!0x0,void 0x0!==_0x4718b8[_0x33ba0f(0x1d8)])();return _0x4df38e[_0x33ba0f(0x1b2)][_0x33ba0f(0x1f5)](_0x33f347),_0x4df38e;}[_0x41e953(0x1ed)](_0x77af24,_0x2ff905,_0x4c21bf){const _0x52ed1e=_0x41e953,_0x17b336=new _0x158edd(this[_0x52ed1e(0x1f1)]),_0x32e255=new _0x40ae8c(this[_0x52ed1e(0x1f1)]),_0x458398=_0x32e255[_0x52ed1e(0x1de)],_0xcdceb1=_0x52ed1e(0x1d3)===_0x4c21bf[_0x52ed1e(0x1f1)][_0x52ed1e(0x1ca)]?_0x52ed1e(0x1f2):_0x52ed1e(0x1f6),_0x54e23c=this[_0x52ed1e(0x1be)](_0x77af24,_0x2ff905[_0x52ed1e(0x1ba)],_0x4c21bf);_0x32e255[_0x52ed1e(0x1ae)]({'label':_0x2ff905[_0x52ed1e(0x1ac)],'withText':!0x0,'role':Ns,'icon':_0x2ff905[_0x52ed1e(0x1d8)]??_0x27301b}),_0x32e255[_0x52ed1e(0x1e3)]({'on':{'mouseenter':_0x458398['to'](()=>{const _0x283101=_0x52ed1e;_0x32e255[_0x283101(0x1e1)]();})}});const _0x13980d=new _0x5f59bd(this[_0x52ed1e(0x1f1)]);return _0x13980d[_0x52ed1e(0x1e3)]({'attributes':{'class':['ck',_0x52ed1e(0x1da),_0x52ed1e(0x1af),_0x52ed1e(0x1d5)]},'on':{'keydown':_0x458398['to'](_0x211bee=>{const _0x41266f=_0x52ed1e;_0x211bee[_0x41266f(0x1c1)]==_0xcdceb1&&(_0x32e255[_0x41266f(0x1e1)](),this[_0x41266f(0x1d1)](_0x13980d));})}}),_0x32e255[_0x52ed1e(0x1f4)](_0x52ed1e(0x1e2))['to'](_0x13980d,_0x52ed1e(0x1ea)),this[_0x52ed1e(0x1cf)][_0x52ed1e(0x1f5)](_0x13980d),_0x13980d[_0x52ed1e(0x1ee)][_0x52ed1e(0x1f5)](_0x54e23c),this[_0x52ed1e(0x1ef)](_0x32e255,_0x13980d),_0x17b336[_0x52ed1e(0x1b2)][_0x52ed1e(0x1f5)](_0x32e255),_0x17b336;}[_0x41e953(0x1be)](_0x343a3c,_0x4eab27,_0x497a76){const _0x5513d7=_0x41e953,_0x54ff94=new _0x6e7718(this[_0x5513d7(0x1f1)]);return _0x54ff94[_0x5513d7(0x1e3)]({'attributes':{'class':['ck',_0x5513d7(0x1da),_0x5513d7(0x1ce),_0x5513d7(0x1bb)]}}),_0x4eab27[_0x5513d7(0x1dc)](_0x3e4a7d=>{const _0x5248e0=_0x5513d7,_0x3f5c58=new _0x158edd(this[_0x5248e0(0x1f1)]),_0x2d44dd=_0x35eb85(_0x343a3c,_0x3e4a7d,!0x0,!0x1)();_0x3f5c58[_0x5248e0(0x1b2)][_0x5248e0(0x1f5)](_0x2d44dd),_0x497a76[_0x5248e0(0x1b3)][_0x5248e0(0x1f5)](_0x2d44dd),_0x54ff94[_0x5248e0(0x1b9)][_0x5248e0(0x1f5)](_0x3f5c58);}),_0x54ff94;}[_0x41e953(0x1ef)](_0x54c89f,_0x1431d2){const _0x329b7e=_0x41e953,_0x32991f=_0x54c89f[_0x329b7e(0x1de)],_0x2a01e3=_0x329b7e(0x1d3)===_0x54c89f[_0x329b7e(0x1f1)][_0x329b7e(0x1ca)]?_0x329b7e(0x1f6):_0x329b7e(0x1f2);_0x54c89f[_0x329b7e(0x1e3)]({'attributes':{'class':[_0x329b7e(0x1e4)]},'on':{'mouseenter':_0x32991f['to'](()=>{const _0x374601=_0x329b7e;this[_0x374601(0x1b7)](_0x1431d2,_0x54c89f);}),'mouseleave':_0x32991f['to'](_0x439661=>{const _0x483d40=_0x329b7e,_0x5f496c=_0x439661[_0x483d40(0x1bc)];this[_0x483d40(0x1f7)](_0x5f496c,_0x1431d2)||this[_0x483d40(0x1d1)](_0x1431d2);}),'keydown':_0x32991f['to'](_0x17d2db=>{const _0x558e6a=_0x329b7e;_0x17d2db[_0x558e6a(0x1c1)]==_0x2a01e3&&(this[_0x558e6a(0x1b7)](_0x1431d2,_0x54c89f),_0x1431d2[_0x558e6a(0x1ee)][_0x558e6a(0x1d2)](0x0)[_0x558e6a(0x1e1)]());})}}),_0x1431d2['on'](_0x329b7e(0x1dd),()=>{const _0x38bf6a=_0x329b7e;_0x1431d2[_0x38bf6a(0x1f3)]?.[_0x38bf6a(0x1aa)](_0x38bf6a(0x1f8),_0x26e8c2=>{const _0x3da1e6=_0x38bf6a,_0x25aa3a=_0x26e8c2[_0x3da1e6(0x1bc)];_0x54c89f[_0x3da1e6(0x1f3)]?.[_0x3da1e6(0x1c7)](_0x25aa3a)||this[_0x3da1e6(0x1f7)](_0x25aa3a,_0x1431d2)||this[_0x3da1e6(0x1d1)](_0x1431d2);});});}[_0x41e953(0x1b7)](_0x137498,_0x3db64f){const _0x4182b1=_0x41e953;this[_0x4182b1(0x1b4)][_0x4182b1(0x1dc)](_0x101544=>{const _0x57a9df=_0x4182b1;_0x101544!==_0x137498&&_0x101544[_0x57a9df(0x1ea)]&&_0x101544[_0x57a9df(0x1ad)]();}),_0x137498[_0x4182b1(0x1cd)](),_0x137498[_0x4182b1(0x1f0)]({'positions':[_0x29df13[_0x4182b1(0x1eb)]],'target':_0x3db64f[_0x4182b1(0x1f3)],'fitInViewport':!0x0}),this[_0x4182b1(0x1b4)][_0x4182b1(0x1f5)](_0x137498);}[_0x41e953(0x1d1)](_0x40f55e){const _0x2a5036=_0x41e953;_0x40f55e[_0x2a5036(0x1ad)](),this[_0x2a5036(0x1b4)][_0x2a5036(0x1d0)](_0x40f55e);}[_0x41e953(0x1e7)](){const _0x366f3c=_0x41e953;this[_0x366f3c(0x1b4)][_0x366f3c(0x1dc)](_0x15a3cd=>_0x15a3cd[_0x366f3c(0x1ad)]()),this[_0x366f3c(0x1b4)][_0x366f3c(0x1a9)]();}[_0x41e953(0x1f7)](_0x38c57f,_0xf165fe){const _0x472e6f=_0x41e953;if(!_0x38c57f)return!0x1;if(_0xf165fe[_0x472e6f(0x1f3)]?.[_0x472e6f(0x1c7)](_0x38c57f))return!0x0;const _0xd01af3=_0x38c57f;return _0xd01af3[_0x472e6f(0x1bf)]&&(null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1c0))||null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1bd))||null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1e0)));}[_0x41e953(0x1d4)](){const _0x33afed=_0x41e953;this[_0x33afed(0x1e7)](),this[_0x33afed(0x1cf)][_0x33afed(0x1e6)](),super[_0x33afed(0x1d4)]();}[_0x41e953(0x1e1)](){const _0x1d279e=_0x41e953;this[_0x1d279e(0x1e5)][_0x1d279e(0x1e1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6f60f9,_0x57f458){const _0x3e0e25=_0x507f,_0x41ad75=_0x6f60f9();while(!![]){try{const _0x272277=-parseInt(_0x3e0e25(0x1d9))/0x1*(parseInt(_0x3e0e25(0x1cd))/0x2)+-parseInt(_0x3e0e25(0x1d5))/0x3+-parseInt(_0x3e0e25(0x1d1))/0x4*(parseInt(_0x3e0e25(0x1ca))/0x5)+parseInt(_0x3e0e25(0x1d2))/0x6*(-parseInt(_0x3e0e25(0x1cb))/0x7)+-parseInt(_0x3e0e25(0x1c8))/0x8+parseInt(_0x3e0e25(0x1d8))/0x9+parseInt(_0x3e0e25(0x1d0))/0xa;if(_0x272277===_0x57f458)break;else _0x41ad75['push'](_0x41ad75['shift']());}catch(_0x18c9e7){_0x41ad75['push'](_0x41ad75['shift']());}}}(_0x445b,0x804a5));import{createDropdown as _0x555924}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4488ad}from'@ckeditor/ckeditor5-icons';function _0x507f(_0x45b300,_0x411fa8){const _0x445b01=_0x445b();return _0x507f=function(_0x507f05,_0x47f2c5){_0x507f05=_0x507f05-0x1c7;let _0x245f4f=_0x445b01[_0x507f05];return _0x245f4f;},_0x507f(_0x45b300,_0x411fa8);}function _0x445b(){const _0x5390e0=['buttonView','1975437yKNRUx','add','set','470862fcjPxS','3073nGFryd','ck-ai-quick-actions-dropdown','4168072lGoFxJ','children','65905kJvJBm','141498gXgloU','label','374NqyUkE','panelView','locale','32370190QcCvXn','196NzXGjC','108RNRSzy','icon'];_0x445b=function(){return _0x5390e0;};return _0x445b();}import{AIQuickActionsDropdownContentView as _0x5d4465}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x244016,_0x43b536,_0x546186,_0x30a152){return()=>{const _0x27528d=_0x507f,_0x427f5b=_0x244016[_0x27528d(0x1cf)],_0x3ea738=_0x555924(_0x427f5b);_0x3ea738[_0x27528d(0x1d4)][_0x27528d(0x1d7)]({'icon':_0x546186[_0x27528d(0x1d3)]??_0x4488ad,'label':_0x546186[_0x27528d(0x1cc)],'tooltip':!0x0}),_0x3ea738[_0x27528d(0x1d7)]({'class':_0x27528d(0x1c7)});const _0x3eb429=new _0x5d4465(_0x244016,_0x43b536,_0x3ea738,_0x30a152);return _0x3ea738[_0x27528d(0x1ce)][_0x27528d(0x1c9)][_0x27528d(0x1d6)](_0x3eb429),_0x3ea738;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4c2b(_0x43808c,_0x494113){const _0x2c91db=_0x2c91();return _0x4c2b=function(_0x4c2b6c,_0x1c5ab9){_0x4c2b6c=_0x4c2b6c-0x9d;let _0x1c2c9f=_0x2c91db[_0x4c2b6c];return _0x1c2c9f;},_0x4c2b(_0x43808c,_0x494113);}const _0x468bde=_0x4c2b;(function(_0x2daa1e,_0x5c551d){const _0x38e5e9=_0x4c2b,_0x1f5fee=_0x2daa1e();while(!![]){try{const _0x2af770=parseInt(_0x38e5e9(0xdc))/0x1+-parseInt(_0x38e5e9(0xcd))/0x2+parseInt(_0x38e5e9(0xcb))/0x3+parseInt(_0x38e5e9(0xc4))/0x4*(parseInt(_0x38e5e9(0xaf))/0x5)+parseInt(_0x38e5e9(0xc7))/0x6+parseInt(_0x38e5e9(0x9f))/0x7+-parseInt(_0x38e5e9(0xcf))/0x8;if(_0x2af770===_0x5c551d)break;else _0x1f5fee['push'](_0x1f5fee['shift']());}catch(_0x5ce805){_0x1f5fee['push'](_0x1f5fee['shift']());}}}(_0x2c91,0x21a2d));function _0x2c91(){const _0x2ca4ad=['readability','shorter','Readability','Direct','468sjArtA','portuguese','Casual','349338AylpqX','friendly','Friendly','Portuguese','204090zUeSWy','Professional','261974WCPReT','casual','4079528ejNqUc','custom','Adjust\x20tone\x20and\x20style','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Clarity','Translate\x20the\x20text\x20into\x20another\x20language.','confident','Correctness','Longer','English','Custom\x20command','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','professional','262081yEanvA','french','japanese','clarity','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','1419712FOExzk','german','italian','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Russian','Confident','Chinese\x20(Simplified)','Select\x20language','correctness','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','dropdown','Translate','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','translate','chinese','make','8015dRZdjl','english','Italian','language','direct','German','Korean','spanish','Adjust\x20length','Japanese','French','Shorter','Spanish','make-tone','russian','korean','longer'];_0x2c91=function(){return _0x2ca4ad;};return _0x2c91();}export const AI_REVIEW_CHECKS=[{'id':_0x468bde(0xd0),'title':_0x468bde(0xd9),'description':_0x468bde(0xda),'isParameterized':!0x0},{'id':_0x468bde(0xa7),'title':_0x468bde(0xd6),'description':_0x468bde(0xa8),'isParameterized':!0x1},{'id':_0x468bde(0x9d),'title':_0x468bde(0xd3),'description':_0x468bde(0xa2),'isParameterized':!0x1},{'id':_0x468bde(0xc0),'title':_0x468bde(0xc2),'description':_0x468bde(0xab),'isParameterized':!0x1},{'id':_0x468bde(0xae),'title':_0x468bde(0xb7),'description':_0x468bde(0x9e),'isParameterized':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xb7),'default':_0x468bde(0xbf),'data':[{'label':_0x468bde(0xd7),'id':_0x468bde(0xbf)},{'label':_0x468bde(0xba),'id':_0x468bde(0xc1)}]}]},{'id':_0x468bde(0xbc),'title':_0x468bde(0xd1),'description':_0x468bde(0xd2),'isParameterized':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xd1),'default':_0x468bde(0xce),'data':[{'label':_0x468bde(0xc6),'id':_0x468bde(0xce)},{'label':_0x468bde(0xc3),'id':_0x468bde(0xb3)},{'label':_0x468bde(0xc9),'id':_0x468bde(0xc8)},{'label':_0x468bde(0xa4),'id':_0x468bde(0xd5)},{'label':_0x468bde(0xcc),'id':_0x468bde(0xdb)}]}]},{'id':_0x468bde(0xac),'title':_0x468bde(0xaa),'description':_0x468bde(0xd4),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xa6),'argsKey':_0x468bde(0xb2),'data':[{'label':_0x468bde(0xd8),'id':_0x468bde(0xb0)},{'label':_0x468bde(0xbb),'id':_0x468bde(0xb6)},{'label':_0x468bde(0xb9),'id':_0x468bde(0xdd)},{'label':_0x468bde(0xb4),'id':_0x468bde(0xa0)},{'label':_0x468bde(0xa5),'id':_0x468bde(0xad)},{'label':_0x468bde(0xb8),'id':_0x468bde(0xde)},{'label':_0x468bde(0xa3),'id':_0x468bde(0xbd)},{'label':_0x468bde(0xca),'id':_0x468bde(0xc5)},{'label':_0x468bde(0xb5),'id':_0x468bde(0xbe)},{'label':_0x468bde(0xb1),'id':_0x468bde(0xa1)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x13e857=_0x1c88;(function(_0x4cddd0,_0x513641){var _0x2fffa2=_0x1c88,_0x576c87=_0x4cddd0();while(!![]){try{var _0x5b05be=-parseInt(_0x2fffa2(0xff))/0x1*(-parseInt(_0x2fffa2(0x108))/0x2)+parseInt(_0x2fffa2(0x106))/0x3*(parseInt(_0x2fffa2(0x10b))/0x4)+-parseInt(_0x2fffa2(0x105))/0x5+-parseInt(_0x2fffa2(0x100))/0x6*(parseInt(_0x2fffa2(0x10c))/0x7)+-parseInt(_0x2fffa2(0x102))/0x8+parseInt(_0x2fffa2(0x103))/0x9*(parseInt(_0x2fffa2(0x104))/0xa)+parseInt(_0x2fffa2(0x109))/0xb;if(_0x5b05be===_0x513641)break;else _0x576c87['push'](_0x576c87['shift']());}catch(_0x3c1ece){_0x576c87['push'](_0x576c87['shift']());}}}(_0x3607,0x3bd78));import{ContextPlugin as _0x4ad5b8}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4de9bc}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x25a11f}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x160598}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x4ad5b8{static get[_0x13e857(0x107)](){return[_0x4de9bc,_0x25a11f,_0x160598];}static get[_0x13e857(0x10d)](){var _0x59f6e5=_0x13e857;return _0x59f6e5(0x10e);}static get[_0x13e857(0x10a)](){return!0x0;}static get[_0x13e857(0x101)](){return!0x0;}}function _0x1c88(_0x524ae1,_0x211d21){var _0x3607a4=_0x3607();return _0x1c88=function(_0x1c883f,_0x268681){_0x1c883f=_0x1c883f-0xff;var _0x42f4a4=_0x3607a4[_0x1c883f];return _0x42f4a4;},_0x1c88(_0x524ae1,_0x211d21);}function _0x3607(){var _0x149163=['20KOEJcf','1083130KIDvMV','45NdYbSN','requires','628780AngODn','116259fZJOJv','isOfficialPlugin','100120NmYBkD','679693jggfxz','pluginName','AIReviewMode','1qwvHgW','18ZFWBHM','isPremiumPlugin','3139168qsLXDs','2002599npnDKw'];_0x3607=function(){return _0x149163;};return _0x3607();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5467(_0x3c7fe4,_0x23265a){const _0x587fbf=_0x587f();return _0x5467=function(_0x54671a,_0x5ae6ce){_0x54671a=_0x54671a-0xbd;let _0x2c51f5=_0x587fbf[_0x54671a];return _0x2c51f5;},_0x5467(_0x3c7fe4,_0x23265a);}const _0x54c19f=_0x5467;(function(_0x3491bb,_0x31ae88){const _0x3bea46=_0x5467,_0x26ad44=_0x3491bb();while(!![]){try{const _0x19c050=parseInt(_0x3bea46(0x129))/0x1+-parseInt(_0x3bea46(0x11e))/0x2+-parseInt(_0x3bea46(0x145))/0x3*(-parseInt(_0x3bea46(0x14f))/0x4)+-parseInt(_0x3bea46(0x112))/0x5*(parseInt(_0x3bea46(0xc9))/0x6)+-parseInt(_0x3bea46(0x114))/0x7*(-parseInt(_0x3bea46(0xe8))/0x8)+-parseInt(_0x3bea46(0x15a))/0x9+parseInt(_0x3bea46(0x11c))/0xa;if(_0x19c050===_0x31ae88)break;else _0x26ad44['push'](_0x26ad44['shift']());}catch(_0x229ecf){_0x26ad44['push'](_0x26ad44['shift']());}}}(_0x587f,0xd3c64));import{ContextPlugin as _0x98f038}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a05a7,logError as _0x23d975,scrollAncestorsToShowTarget as _0x202e55,scrollViewportToShowTarget as _0x536c5a}from'ckeditor5/src/utils.js';import{AIConnector as _0x4cb807}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x4ae012}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x5dec4e}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x29c7f6}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0xc89551}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x175bca}from'./aireviewcheckdefinitions.js';function _0x587f(){const _0x434724=['contentInitial','abortReviewStream','AIReviewModeController','showChunkErrorView','16658760snZoWI','reviewCheckResultRejected','1667572QyVXDX','ai-review-mode-source-check-not-found','length','reviewCheckResultDeactivated','reviewCheckResultActivated','AIReviewModeEditing','documentData','emitter','aborted','addResultChanges','getRoot','294638mJBBYu','changes','getMarkerElementForChange','reviewCheckResultAdded','_isDiffOn','editing','content','deactivateChange','_OPTIONS_LABEL','_OPTIONS_DATA_','hasModifications','_aiReviewCheckList','result','source','ai-request-aborted','options','leaveReviewMode','listenTo','showCheckRunResult','isOfficialPlugin','markAllChangesAsAccepted','getChangeElement','showReviewCheckList','removeClass','loading','_onReviewModeRunLeave','includes','message','3xvXFSP','plugins','hideChangeBalloon','abort','toggleDiff','accepted','restart','panel','showActionsWhenResultIsReady','sendRating','2580756pwJXFr','toUpperCase','_TITLE','model','locale','requires','stopListening','label','error-chunk','leaveReviewModeResultList','prompt','15234183GKVzQI','custom','getDocumentData','setAvailableChecks','dismissChange','reviewCheckRunUpdated','showDiffInBalloon','AIReviewModeUI','AIConnector','_getTranslationWithDefault','context','retryReview','setActiveStateInResults','changeMarkerClick','ready','ai-review-mode-check-run-failed','rejectChange','view','start','diffContent','_aiReviewModeEditing','reviewCheckResultReady','3886410ixXOkv','isChangeActive','AI_REVIEW_CHECK_','addClass','setCheckResultTitle','pluginName','reviewCheckResultAccepted','getCheckById','ai-review-mode-no-current-check-run','.ck-ai-review-mode__check-run-result','acceptAllChanges','get','showCheckRunResults','clearAllMarkers','_currentReviewCheckRun','hideDiffInBalloon','switchToReadOnly','subTitle','change','unmodified','getEditor','config','isPremiumPlugin','acceptChange','init','markChangePositionInEditorContent','domElement','_aiConnector','_DESCRIPTION','_changeActivationSource','_translateReviewChecks','310472knmRwq','showGeneralErrorView','markChangeAsAccepted','_onDiffChange','replaceAll','showChangeBalloon','showReviewCompletedView','_aiReviewModeUi','finishReview','finished','rejected','models','activateChange','ai.reviewMode.translations','contentNew','markChangeAsRejected','applyChange','status','_logError','runReviewCheck','description','translate','checks','changeId','switchToEdit','data','resetActiveStateInResults','isCustom','map','getReviewCheckList','ck-ai-review-mode-diff','updateChangeState','getActiveChanges','AI_MODEL_DESCRIPTION_','error-general','closest','showNoChangesView','params','getAll','ck-ai-review-mode-highlights','find','forceReadyState','5TcfZlV','processedResultsCount','259QODDgR','title','args','document'];_0x587f=function(){return _0x434724;};return _0x587f();}import{getTranslation as _0x169053}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x98f038{[_0x54c19f(0xe4)];[_0x54c19f(0xef)];[_0x54c19f(0xc7)];[_0x54c19f(0x134)];[_0x54c19f(0xd7)];[_0x54c19f(0x12d)]=!0x1;[_0x54c19f(0xe6)]=null;static get[_0x54c19f(0x154)](){return[_0x4cb807];}static get[_0x54c19f(0xce)](){const _0x1084a8=_0x54c19f;return _0x1084a8(0x11a);}static get[_0x54c19f(0x13c)](){return!0x0;}static get[_0x54c19f(0xdf)](){return!0x0;}async[_0x54c19f(0xe1)](){const _0x501f4a=_0x54c19f;this[_0x501f4a(0xe4)]=this[_0x501f4a(0xbd)][_0x501f4a(0x146)][_0x501f4a(0xd4)](_0x501f4a(0x162)),this[_0x501f4a(0xef)]=this[_0x501f4a(0xbd)][_0x501f4a(0x146)][_0x501f4a(0xd4)](_0x501f4a(0x161)),this[_0x501f4a(0xc7)]=this[_0x501f4a(0xbd)][_0x501f4a(0x146)][_0x501f4a(0xd4)](_0x501f4a(0x123));const _0x42e066=this[_0x501f4a(0xbd)][_0x501f4a(0xde)][_0x501f4a(0xd4)](_0x501f4a(0xf5));if(_0x42e066){for(const _0x18899d of _0x175bca)_0x501f4a(0xfd)===_0x18899d['id']&&(_0x18899d[_0x501f4a(0x138)][0x0][_0x501f4a(0x101)]=_0x42e066);}const _0x1630be=this[_0x501f4a(0xe7)](_0x175bca);this[_0x501f4a(0x134)]=new _0x4ae012(_0x1630be);const _0xbeb58a=this[_0x501f4a(0x134)][_0x501f4a(0xfe)][_0x501f4a(0x110)](_0x21cc41=>_0x501f4a(0x15b)===_0x21cc41['id']);if(_0xbeb58a){const _0x4da091=await new _0xc89551({'connector':this[_0x501f4a(0xe4)]})[_0x501f4a(0x10e)]();_0xbeb58a[_0x501f4a(0xf3)]=_0x4da091[_0x501f4a(0x104)](_0x97869f=>({..._0x97869f,'description':this[_0x501f4a(0x163)](_0x501f4a(0x109)+_0x97869f['id'][_0x501f4a(0x150)](),_0x97869f[_0x501f4a(0xfc)])}));}this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x105),()=>{const _0x3d2625=_0x501f4a;this[_0x3d2625(0xef)][_0x3d2625(0x15d)](this[_0x3d2625(0x134)][_0x3d2625(0xfe)]);}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xfb),async(_0x1d7649,_0x42c22c)=>{const _0x399374=_0x501f4a,_0xdbe5a3=this[_0x399374(0x134)][_0x399374(0xd0)](_0x42c22c['id']);if(_0xdbe5a3){this[_0x399374(0xeb)](this[_0x399374(0x12d)]),_0x42c22c[_0x399374(0x103)]?this[_0x399374(0xd7)]=new _0x29c7f6(_0x42c22c[_0x399374(0x116)][_0x399374(0x159)],_0x42c22c[_0x399374(0x116)][_0x399374(0x152)],this[_0x399374(0xc7)][_0x399374(0x15c)](),_0xdbe5a3,this[_0x399374(0xe4)]):this[_0x399374(0xd7)]=new _0x5dec4e(this[_0x399374(0xc7)][_0x399374(0x15c)](),_0xdbe5a3,this[_0x399374(0xe4)],_0x42c22c[_0x399374(0x10d)],_0x42c22c[_0x399374(0x116)]),this[_0x399374(0xef)][_0x399374(0xcd)](this[_0x399374(0xd7)][_0x399374(0x115)],this[_0x399374(0xd7)][_0x399374(0xda)]),this[_0x399374(0xd7)]['on'](_0x399374(0x15f),(_0x4036d3,_0xf2a78c)=>{const _0x34f2d9=_0x399374;_0x34f2d9(0x101)===_0xf2a78c[_0x34f2d9(0xf9)]||_0x34f2d9(0x141)===_0xf2a78c[_0x34f2d9(0xf9)]?(this[_0x34f2d9(0xc7)][_0x34f2d9(0xd9)](),this[_0x34f2d9(0xef)][_0x34f2d9(0xd5)](_0xf2a78c)):_0x34f2d9(0xf1)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0xee)]():_0x34f2d9(0xc1)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0x14d)]():_0x34f2d9(0xdc)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0x10c)]():_0x34f2d9(0x10a)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0xe9)]():_0x34f2d9(0x157)===_0xf2a78c[_0x34f2d9(0xf9)]?this[_0x34f2d9(0xef)][_0x34f2d9(0x11b)]():_0x34f2d9(0x126)===_0xf2a78c[_0x34f2d9(0xf9)]&&(this[_0x34f2d9(0xd7)]&&this[_0x34f2d9(0xd7)][_0x34f2d9(0x113)]>0x0?setTimeout(()=>{const _0x2030d5=_0x34f2d9;this[_0x2030d5(0xd7)]?.[_0x2030d5(0x111)]();},0x0):this[_0x34f2d9(0x142)](!0x0)),_0x34f2d9(0xc1)!==_0xf2a78c[_0x34f2d9(0xf9)]&&_0x34f2d9(0x157)!==_0xf2a78c[_0x34f2d9(0xf9)]&&_0x34f2d9(0x10a)!==_0xf2a78c[_0x34f2d9(0xf9)]||this[_0x34f2d9(0xd7)]?.[_0x34f2d9(0x14e)]();}),this[_0x399374(0xd7)]['on'](_0x399374(0x12c),(_0x34be71,_0xeff915)=>{const _0x560590=_0x399374;if(!this[_0x560590(0xd7)])throw new _0x3a05a7(_0x560590(0xd1),this);const _0x3dfed7=this[_0x560590(0xc7)][_0x560590(0xc6)](_0xeff915[_0x560590(0x135)][_0x560590(0x118)],_0xeff915[_0x560590(0x135)][_0x560590(0xf6)]);_0xeff915[_0x560590(0x136)][_0x560590(0x127)](_0xeff915[_0x560590(0x135)]['id'],_0x3dfed7);}),this[_0x399374(0xd7)]['on'](_0x399374(0xc8),(_0x492ec2,_0x273079)=>{const _0x555593=_0x399374;for(const _0x3add01 of _0x273079[_0x555593(0x12a)])this[_0x555593(0xef)][_0x555593(0x13b)](_0x3add01);this[_0x555593(0xc7)][_0x555593(0xe2)](_0x273079[_0x555593(0x12a)],_0x273079[_0x555593(0x136)][_0x555593(0x124)]);}),this[_0x399374(0xd7)]['on'](_0x399374(0xcf),(_0x520868,_0x27ed6e)=>{const _0x2003fb=_0x399374;this[_0x2003fb(0xef)][_0x2003fb(0x107)](_0x27ed6e[_0x2003fb(0xdb)]['id'],_0x2003fb(0x14a));}),this[_0x399374(0xd7)]['on'](_0x399374(0x11d),(_0x256e38,_0x1bf6dd)=>{const _0x1bf7b3=_0x399374;this[_0x1bf7b3(0xef)][_0x1bf7b3(0x107)](_0x1bf6dd[_0x1bf7b3(0xdb)]['id'],_0x1bf7b3(0xf2));}),this[_0x399374(0xd7)]['on'](_0x399374(0x122),(_0x426b0d,_0x5d7e4f)=>{const _0x5e6fd3=_0x399374;this[_0x5e6fd3(0xef)][_0x5e6fd3(0xbf)](_0x5d7e4f[_0x5e6fd3(0xdb)]['id']);const _0x4985e4=this[_0x5e6fd3(0xc7)][_0x5e6fd3(0x12b)](_0x5d7e4f[_0x5e6fd3(0xdb)]['id']);if(_0x4985e4){if(_0x5e6fd3(0x12f)===this[_0x5e6fd3(0xe6)]){const _0x14785f=this[_0x5e6fd3(0xef)][_0x5e6fd3(0x13e)](_0x5d7e4f[_0x5e6fd3(0xdb)]['id']);_0x14785f&&_0x202e55(_0x14785f[_0x5e6fd3(0x10b)](_0x5e6fd3(0xd2))||_0x14785f);}else{if(_0x5e6fd3(0x14c)===this[_0x5e6fd3(0xe6)]){const _0x5ba88b={'target':_0x4985e4[_0x5e6fd3(0xe3)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x536c5a(_0x5ba88b);}}this[_0x5e6fd3(0xef)][_0x5e6fd3(0xed)](_0x5d7e4f[_0x5e6fd3(0xdb)],_0x4985e4[_0x5e6fd3(0xe3)]);}}),this[_0x399374(0xd7)]['on'](_0x399374(0x121),()=>{const _0x503bf1=_0x399374;this[_0x503bf1(0xef)][_0x503bf1(0x102)]();});try{await this[_0x399374(0xd7)][_0x399374(0xc5)]();}catch(_0x27a45b){_0x27a45b instanceof Error&&_0x27a45b[_0x399374(0x144)][_0x399374(0x143)](_0x399374(0x137))||(_0x27a45b instanceof _0x3a05a7?this[_0x399374(0xfa)](_0x27a45b):this[_0x399374(0xfa)](new _0x3a05a7(_0x399374(0xc2),this,{'error':_0x27a45b})));}}else this[_0x399374(0xfa)](new _0x3a05a7(_0x399374(0x11f),this,{'checkId':_0x42c22c['id']}));}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x139),()=>{const _0x15bd4d=_0x501f4a;this[_0x15bd4d(0x142)]();}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x158),()=>{const _0x38bf65=_0x501f4a;this[_0x38bf65(0x142)](!0x0);}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x119),()=>{const _0x149167=_0x501f4a;this[_0x149167(0xd7)]&&this[_0x149167(0xd7)][_0x149167(0x148)]();}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xf0),()=>{const _0x30f889=_0x501f4a;this[_0x30f889(0x142)](!0x0);}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xd3),()=>{const _0xb2f695=_0x501f4a;if(!this[_0xb2f695(0xd7)])return;const _0x30e6e0=this[_0xb2f695(0xd7)][_0xb2f695(0x108)]();_0x30e6e0[_0xb2f695(0x120)]&&(this[_0xb2f695(0xc7)][_0xb2f695(0xf8)](_0x30e6e0[_0xb2f695(0x104)](_0xfb55f0=>_0xfb55f0['id'])),this[_0xb2f695(0xd7)][_0xb2f695(0x13d)](),this[_0xb2f695(0xd7)][_0xb2f695(0x14e)]());}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xe0),(_0x8f774d,_0x515eb6)=>{const _0x3832e2=_0x501f4a;this[_0x3832e2(0xd7)]&&this[_0x3832e2(0xd7)][_0x3832e2(0xca)](_0x515eb6['id'])&&(this[_0x3832e2(0xc7)][_0x3832e2(0xf8)]([_0x515eb6['id']]),this[_0x3832e2(0xd7)][_0x3832e2(0xea)](_0x515eb6['id']),this[_0x3832e2(0xef)][_0x3832e2(0x147)](),this[_0x3832e2(0xd7)][_0x3832e2(0x14e)](_0x515eb6['id']));}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x15e),(_0x3cce34,_0x1aa2a7)=>{const _0x121ca8=_0x501f4a;this[_0x121ca8(0xd7)]&&this[_0x121ca8(0xd7)][_0x121ca8(0xca)](_0x1aa2a7['id'])&&(this[_0x121ca8(0xc7)][_0x121ca8(0xc3)](_0x1aa2a7['id']),this[_0x121ca8(0xd7)][_0x121ca8(0xf7)](_0x1aa2a7['id']),this[_0x121ca8(0xef)][_0x121ca8(0x147)](),this[_0x121ca8(0xd7)][_0x121ca8(0x14e)](_0x1aa2a7['id']));}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x149),(_0x48a95b,_0x5cd681)=>{const _0x43f5e6=_0x501f4a;this[_0x43f5e6(0x12d)]=_0x5cd681['on'],this[_0x43f5e6(0xeb)](this[_0x43f5e6(0x12d)]);}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xbe),async()=>{const _0x54d87d=_0x501f4a;this[_0x54d87d(0xd7)]&&await this[_0x54d87d(0xd7)][_0x54d87d(0x14b)]();}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0xf4),(_0x2c505f,_0x52e40e)=>{const _0x3c8cb2=_0x501f4a;this[_0x3c8cb2(0xd7)]&&(this[_0x3c8cb2(0xe6)]=_0x3c8cb2(0x14c),this[_0x3c8cb2(0xd7)][_0x3c8cb2(0xf4)](_0x52e40e['id']));}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xef)],_0x501f4a(0x130),()=>{const _0x92dfc2=_0x501f4a;this[_0x92dfc2(0xd7)]&&this[_0x92dfc2(0xd7)][_0x92dfc2(0x130)]();}),this[_0x501f4a(0x13a)](this[_0x501f4a(0xc7)][_0x501f4a(0x125)],_0x501f4a(0xc0),(_0x2f839b,_0x481743)=>{const _0x19a181=_0x501f4a;this[_0x19a181(0xd7)]&&(this[_0x19a181(0xe6)]=_0x19a181(0x12f),this[_0x19a181(0xd7)][_0x19a181(0xf4)](_0x481743[_0x19a181(0xff)]));});}[_0x54c19f(0x142)](_0x3baf04=!0x1){const _0x837b8=_0x54c19f;this[_0x837b8(0xd7)]&&(this[_0x837b8(0xd7)][_0x837b8(0x133)]||this[_0x837b8(0xd7)][_0x837b8(0x14e)](),this[_0x837b8(0xd7)][_0x837b8(0x148)](),this[_0x837b8(0xd7)][_0x837b8(0x155)](),this[_0x837b8(0xd7)]=void 0x0),_0x3baf04&&this[_0x837b8(0xef)][_0x837b8(0x13f)](),this[_0x837b8(0xc7)][_0x837b8(0xd6)](),this[_0x837b8(0xc7)][_0x837b8(0x100)](),this[_0x837b8(0xe6)]=null;const _0x5c1b5d=this[_0x837b8(0xc7)][_0x837b8(0xdd)]();_0x5c1b5d&&_0x5c1b5d[_0x837b8(0x12e)][_0x837b8(0xc4)][_0x837b8(0xdb)](_0x2b2fdf=>{const _0x1890aa=_0x837b8,_0x1f3ac1=_0x5c1b5d[_0x1890aa(0x12e)][_0x1890aa(0xc4)][_0x1890aa(0x117)][_0x1890aa(0x128)]();_0x2b2fdf[_0x1890aa(0x140)](_0x1890aa(0x106),_0x1f3ac1),_0x2b2fdf[_0x1890aa(0x140)](_0x1890aa(0x10f),_0x1f3ac1);});}[_0x54c19f(0xeb)](_0x2f50fe){const _0x1de61c=_0x54c19f,_0x1b2930=this[_0x1de61c(0xc7)][_0x1de61c(0xdd)]();_0x2f50fe?this[_0x1de61c(0xef)][_0x1de61c(0xd8)]():this[_0x1de61c(0xef)][_0x1de61c(0x160)](),_0x1b2930&&_0x1b2930[_0x1de61c(0x12e)][_0x1de61c(0xc4)][_0x1de61c(0xdb)](_0x1722bf=>{const _0xc0f922=_0x1de61c,_0x2c9406=_0x1b2930[_0xc0f922(0x12e)][_0xc0f922(0xc4)][_0xc0f922(0x117)][_0xc0f922(0x128)]();_0x1722bf[_0xc0f922(0x140)](_0xc0f922(0x106),_0x2c9406),_0x1722bf[_0xc0f922(0x140)](_0xc0f922(0x10f),_0x2c9406),_0x1722bf[_0xc0f922(0xcc)](_0x2f50fe?_0xc0f922(0x106):_0xc0f922(0x10f),_0x2c9406);});}[_0x54c19f(0xe7)](_0x766561){const _0x207584=_0x54c19f;return _0x766561[_0x207584(0x104)](_0x9a8ee4=>{const _0x3cc1f4=_0x207584,_0x5207b6=_0x3cc1f4(0xcb)+_0x9a8ee4['id'][_0x3cc1f4(0x150)]()[_0x3cc1f4(0xec)]('-','_'),_0x5ac777={..._0x9a8ee4,'title':this[_0x3cc1f4(0x163)](_0x5207b6+_0x3cc1f4(0x151),_0x9a8ee4[_0x3cc1f4(0x115)]),'description':this[_0x3cc1f4(0x163)](_0x5207b6+_0x3cc1f4(0xe5),_0x9a8ee4[_0x3cc1f4(0xfc)])};return _0x9a8ee4[_0x3cc1f4(0x138)]&&(_0x5ac777[_0x3cc1f4(0x138)]=_0x9a8ee4[_0x3cc1f4(0x138)][_0x3cc1f4(0x104)](_0x3a79cf=>({..._0x3a79cf,'label':this[_0x3cc1f4(0x163)](_0x5207b6+_0x3cc1f4(0x131),_0x3a79cf[_0x3cc1f4(0x156)]||''),'data':_0x3a79cf[_0x3cc1f4(0x101)]?_0x3a79cf[_0x3cc1f4(0x101)][_0x3cc1f4(0x104)](_0x7472eb=>({..._0x7472eb,'label':this[_0x3cc1f4(0x163)](_0x5207b6+_0x3cc1f4(0x132)+_0x7472eb['id'][_0x3cc1f4(0x150)](),_0x7472eb[_0x3cc1f4(0x156)])})):void 0x0}))),_0x5ac777;});}[_0x54c19f(0x163)](_0x1575f1,_0x29e2b7){const _0x3295b3=_0x54c19f,_0x55f5e8=this[_0x3295b3(0xbd)][_0x3295b3(0x153)],_0x47995e=_0x169053(_0x55f5e8,_0x1575f1);return _0x47995e===_0x1575f1?_0x29e2b7:_0x47995e;}[_0x54c19f(0xfa)](_0x42a424){const _0x2f1f3b=_0x54c19f;_0x23d975(_0x42a424[_0x2f1f3b(0x144)]),this[_0x2f1f3b(0xef)][_0x2f1f3b(0xe9)]();}}
|
|
23
|
+
const _0xfbbba5=_0x33d7;function _0x2944(){const _0x553cf2=['document','abort','setAvailableChecks','dismissChange','aborted','checks','getChangeElement','.ck-ai-review-mode__check-run-result','isPremiumPlugin','diffContent','replaceAll','updateChangeState','ai-review-mode-no-current-check-run','clearAllMarkers','AIConnector','title','ai-request-aborted','view','isOfficialPlugin','2906736zRRZpi','showActionsWhenResultIsReady','AIReviewModeController','reviewCheckResultDeactivated','getReviewCheckList','70SoXacc','hideChangeBalloon','ck-ai-review-mode-highlights','_logError','label','hideDiffInBalloon','addResultChanges','options','params','deactivateChange','getMarkerElementForChange','args','abortReviewStream','_onReviewModeRunLeave','stopListening','_getTranslationWithDefault','addClass','setActiveStateInResults','AIReviewModeEditing','showDiffInBalloon','pluginName','changes','getAll','isCustom','loading','12gkvWNk','reviewCheckRunUpdated','markChangeAsAccepted','forceReadyState','getActiveChanges','finished','reviewCheckResultRejected','contentInitial','data','_DESCRIPTION','getEditor','showReviewCompletedView','switchToReadOnly','changeId','markChangeAsRejected','ck-ai-review-mode-diff','start','includes','applyChange','29504oSBMNW','showGeneralErrorView','showCheckRunResults','source','closest','_aiReviewModeUi','reviewCheckResultAdded','prompt','map','leaveReviewMode','documentData','context','retryReview','model','_changeActivationSource','message','switchToEdit','subTitle','_OPTIONS_LABEL','4722632NBMAXu','restart','models','panel','status','description','reviewCheckResultReady','content','1865277KSAfiq','error-chunk','change','hasModifications','get','markChangePositionInEditorContent','rejected','isChangeActive','listenTo','656692ANZsYr','_translateReviewChecks','contentNew','processedResultsCount','result','reviewCheckResultAccepted','requires','find','leaveReviewModeResultList','showReviewCheckList','getCheckById','activateChange','domElement','_currentReviewCheckRun','error-general','translate','getDocumentData','AIReviewModeUI','showChangeBalloon','_isDiffOn','locale','_OPTIONS_DATA_','plugins','ai.reviewMode.translations','resetActiveStateInResults','showNoChangesView','sendRating','AI_REVIEW_CHECK_','_onDiffChange','editing','91xKSpqh','getRoot','ai-review-mode-source-check-not-found','showChunkErrorView','AI_MODEL_DESCRIPTION_','_aiReviewCheckList','showCheckRunResult','finishReview','length','ai-review-mode-check-run-failed','rejectChange','toggleDiff','custom','7473823nNsECf','accepted','acceptChange','setCheckResultTitle','init','removeClass','toUpperCase','reviewCheckResultActivated','emitter','changeMarkerClick','_TITLE','runReviewCheck','3848870MFYrbi','_aiConnector','config','markAllChangesAsAccepted','ready','acceptAllChanges','_aiReviewModeEditing','unmodified'];_0x2944=function(){return _0x553cf2;};return _0x2944();}(function(_0x257e76,_0x20eeda){const _0x2816b3=_0x33d7,_0x546375=_0x257e76();while(!![]){try{const _0x4e0beb=parseInt(_0x2816b3(0xf9))/0x1*(parseInt(_0x2816b3(0x15e))/0x2)+parseInt(_0x2816b3(0x12d))/0x3+-parseInt(_0x2816b3(0x182))/0x4+-parseInt(_0x2816b3(0x112))/0x5*(parseInt(_0x2816b3(0x14b))/0x6)+parseInt(_0x2816b3(0x106))/0x7+parseInt(_0x2816b3(0x171))/0x8+-parseInt(_0x2816b3(0x179))/0x9*(parseInt(_0x2816b3(0x132))/0xa);if(_0x4e0beb===_0x20eeda)break;else _0x546375['push'](_0x546375['shift']());}catch(_0x44170b){_0x546375['push'](_0x546375['shift']());}}}(_0x2944,0xc6f16));import{ContextPlugin as _0x31e8d4}from'ckeditor5/src/core.js';import{CKEditorError as _0x24e2c4,logError as _0x1bac3d,scrollAncestorsToShowTarget as _0x1a0ac5,scrollViewportToShowTarget as _0x540ebb}from'ckeditor5/src/utils.js';import{AIConnector as _0x105a04}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x36f233}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x41eda6}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x43d0b3}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x3ce58f}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0xf08bf9}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x53fc88}from'../aicore/utils/common-translations.js';function _0x33d7(_0xf89cd1,_0xc53183){const _0x29448f=_0x2944();return _0x33d7=function(_0x33d799,_0x1fb341){_0x33d799=_0x33d799-0xf5;let _0x52dbac=_0x29448f[_0x33d799];return _0x52dbac;},_0x33d7(_0xf89cd1,_0xc53183);}export class AIReviewModeController extends _0x31e8d4{[_0xfbbba5(0x113)];[_0xfbbba5(0x163)];[_0xfbbba5(0x118)];[_0xfbbba5(0xfe)];[_0xfbbba5(0x18f)];[_0xfbbba5(0x195)]=!0x1;[_0xfbbba5(0x16c)]=null;static get[_0xfbbba5(0x188)](){return[_0x105a04];}static get[_0xfbbba5(0x146)](){const _0x2b7579=_0xfbbba5;return _0x2b7579(0x12f);}static get[_0xfbbba5(0x12c)](){return!0x0;}static get[_0xfbbba5(0x122)](){return!0x0;}async[_0xfbbba5(0x10a)](){const _0x222885=_0xfbbba5;this[_0x222885(0x113)]=this[_0x222885(0x169)][_0x222885(0x198)][_0x222885(0x17d)](_0x222885(0x128)),this[_0x222885(0x163)]=this[_0x222885(0x169)][_0x222885(0x198)][_0x222885(0x17d)](_0x222885(0x193)),this[_0x222885(0x118)]=this[_0x222885(0x169)][_0x222885(0x198)][_0x222885(0x17d)](_0x222885(0x144));const _0x586e6a=this[_0x222885(0x169)][_0x222885(0x114)][_0x222885(0x17d)](_0x222885(0x199));if(_0x586e6a){for(const _0x2a8f85 of _0xf08bf9)_0x222885(0x191)===_0x2a8f85['id']&&(_0x2a8f85[_0x222885(0x139)][0x0][_0x222885(0x153)]=_0x586e6a);}const _0x54b3b3=this[_0x222885(0x183)](_0xf08bf9);this[_0x222885(0xfe)]=new _0x36f233(_0x54b3b3);const _0x355c5c=this[_0x222885(0xfe)][_0x222885(0x11f)][_0x222885(0x189)](_0x52bfcf=>_0x222885(0x105)===_0x52bfcf['id']);if(_0x355c5c){const _0x6072e5=await new _0x3ce58f({'connector':this[_0x222885(0x113)]})[_0x222885(0x148)]();_0x355c5c[_0x222885(0x173)]=_0x6072e5[_0x222885(0x166)](_0x2a2951=>({..._0x2a2951,'description':this[_0x222885(0x141)](_0x222885(0xfd)+_0x2a2951['id'][_0x222885(0x10c)](),_0x2a2951[_0x222885(0x176)])}));}this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x131),()=>{const _0x440253=_0x222885;this[_0x440253(0x163)][_0x440253(0x11c)](this[_0x440253(0xfe)][_0x440253(0x11f)]);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x111),async(_0x32ff16,_0x5f3bb3)=>{const _0x38f756=_0x222885,_0x1994af=this[_0x38f756(0xfe)][_0x38f756(0x18c)](_0x5f3bb3['id']);if(_0x1994af){this[_0x38f756(0xf7)](this[_0x38f756(0x195)]),_0x5f3bb3[_0x38f756(0x149)]?this[_0x38f756(0x18f)]=new _0x43d0b3(_0x5f3bb3[_0x38f756(0x13d)][_0x38f756(0x165)],_0x5f3bb3[_0x38f756(0x13d)][_0x38f756(0x16b)],this[_0x38f756(0x118)][_0x38f756(0x192)](),_0x1994af,this[_0x38f756(0x113)]):this[_0x38f756(0x18f)]=new _0x41eda6(this[_0x38f756(0x118)][_0x38f756(0x192)](),_0x1994af,this[_0x38f756(0x113)],_0x5f3bb3[_0x38f756(0x13a)],_0x5f3bb3[_0x38f756(0x13d)]),this[_0x38f756(0x163)][_0x38f756(0x109)](this[_0x38f756(0x18f)][_0x38f756(0x129)],this[_0x38f756(0x18f)][_0x38f756(0x16f)]),this[_0x38f756(0x18f)]['on'](_0x38f756(0x14c),(_0x39fc83,_0x1ca956)=>{const _0x5e2f7f=_0x38f756;_0x5e2f7f(0x153)===_0x1ca956[_0x5e2f7f(0x175)]||_0x5e2f7f(0x14a)===_0x1ca956[_0x5e2f7f(0x175)]?(this[_0x5e2f7f(0x118)][_0x5e2f7f(0x157)](),this[_0x5e2f7f(0x163)][_0x5e2f7f(0x160)](_0x1ca956)):_0x5e2f7f(0x150)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x156)]():_0x5e2f7f(0x116)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x12e)]():_0x5e2f7f(0x119)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x19b)]():_0x5e2f7f(0x190)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x15f)]():_0x5e2f7f(0x17a)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0xfc)]():_0x5e2f7f(0x11e)===_0x1ca956[_0x5e2f7f(0x175)]&&(this[_0x5e2f7f(0x18f)]&&this[_0x5e2f7f(0x18f)][_0x5e2f7f(0x185)]>0x0?setTimeout(()=>{const _0x230021=_0x5e2f7f;this[_0x230021(0x18f)]?.[_0x230021(0x14e)]();},0x0):this[_0x5e2f7f(0x13f)](!0x0)),_0x5e2f7f(0x116)!==_0x1ca956[_0x5e2f7f(0x175)]&&_0x5e2f7f(0x17a)!==_0x1ca956[_0x5e2f7f(0x175)]&&_0x5e2f7f(0x190)!==_0x1ca956[_0x5e2f7f(0x175)]||this[_0x5e2f7f(0x18f)]?.[_0x5e2f7f(0xf5)]();}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x164),(_0x3215ce,_0x284e27)=>{const _0x5c3fb6=_0x38f756;if(!this[_0x5c3fb6(0x18f)])throw new _0x24e2c4(_0x5c3fb6(0x126),this);const _0x2e9fe4=this[_0x5c3fb6(0x118)][_0x5c3fb6(0x123)](_0x284e27[_0x5c3fb6(0x186)][_0x5c3fb6(0x152)],_0x284e27[_0x5c3fb6(0x186)][_0x5c3fb6(0x184)]);_0x284e27[_0x5c3fb6(0x161)][_0x5c3fb6(0x138)](_0x284e27[_0x5c3fb6(0x186)]['id'],_0x2e9fe4);}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x177),(_0x26d8aa,_0x469b96)=>{const _0x29cedd=_0x38f756;for(const _0x416b4c of _0x469b96[_0x29cedd(0x147)])this[_0x29cedd(0x163)][_0x29cedd(0xff)](_0x416b4c);this[_0x29cedd(0x118)][_0x29cedd(0x17e)](_0x469b96[_0x29cedd(0x147)],_0x469b96[_0x29cedd(0x161)][_0x29cedd(0x168)]);}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x187),(_0x4dafb9,_0x540b49)=>{const _0x42d77d=_0x38f756;this[_0x42d77d(0x163)][_0x42d77d(0x125)](_0x540b49[_0x42d77d(0x17b)]['id'],_0x42d77d(0x107));}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x151),(_0x2d46a0,_0x3abe41)=>{const _0x14fae0=_0x38f756;this[_0x14fae0(0x163)][_0x14fae0(0x125)](_0x3abe41[_0x14fae0(0x17b)]['id'],_0x14fae0(0x17f));}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x10d),(_0x261f67,_0x518d72)=>{const _0xea5590=_0x38f756;this[_0xea5590(0x163)][_0xea5590(0x143)](_0x518d72[_0xea5590(0x17b)]['id']);const _0x4437d0=this[_0xea5590(0x118)][_0xea5590(0x13c)](_0x518d72[_0xea5590(0x17b)]['id']);if(_0x4437d0){if(_0xea5590(0x178)===this[_0xea5590(0x16c)]){const _0x55ed1b=this[_0xea5590(0x163)][_0xea5590(0x120)](_0x518d72[_0xea5590(0x17b)]['id']);_0x55ed1b&&_0x1a0ac5(_0x55ed1b[_0xea5590(0x162)](_0xea5590(0x121))||_0x55ed1b);}else{if(_0xea5590(0x174)===this[_0xea5590(0x16c)]){const _0x27aa61={'target':_0x4437d0[_0xea5590(0x18e)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x540ebb(_0x27aa61);}}this[_0xea5590(0x163)][_0xea5590(0x194)](_0x518d72[_0xea5590(0x17b)],_0x4437d0[_0xea5590(0x18e)]);}}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x130),()=>{const _0x4a44e1=_0x38f756;this[_0x4a44e1(0x163)][_0x4a44e1(0x19a)]();});try{await this[_0x38f756(0x18f)][_0x38f756(0x15b)]();}catch(_0x309aab){_0x309aab instanceof Error&&_0x309aab[_0x38f756(0x16d)][_0x38f756(0x15c)](_0x38f756(0x12a))||(_0x309aab instanceof _0x24e2c4?this[_0x38f756(0x135)](_0x309aab):this[_0x38f756(0x135)](new _0x24e2c4(_0x38f756(0x102),this,{'error':_0x309aab})));}}else this[_0x38f756(0x135)](new _0x24e2c4(_0x38f756(0xfb),this,{'checkId':_0x5f3bb3['id']}));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x167),()=>{const _0xf0b634=_0x222885;this[_0xf0b634(0x13f)]();}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x18a),()=>{const _0x3b9ea0=_0x222885;this[_0x3b9ea0(0x13f)](!0x0);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x13e),()=>{const _0x45b3db=_0x222885;this[_0x45b3db(0x18f)]&&this[_0x45b3db(0x18f)][_0x45b3db(0x11b)]();}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x100),()=>{const _0x7de960=_0x222885;this[_0x7de960(0x13f)](!0x0);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x117),()=>{const _0x34bd43=_0x222885;if(!this[_0x34bd43(0x18f)])return;const _0x295636=this[_0x34bd43(0x18f)][_0x34bd43(0x14f)]();_0x295636[_0x34bd43(0x101)]&&(this[_0x34bd43(0x118)][_0x34bd43(0x15d)](_0x295636[_0x34bd43(0x166)](_0x521fd4=>_0x521fd4['id'])),this[_0x34bd43(0x18f)][_0x34bd43(0x115)](),this[_0x34bd43(0x18f)][_0x34bd43(0xf5)]());}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x108),(_0x22a32b,_0x318c4e)=>{const _0x32a579=_0x222885;this[_0x32a579(0x18f)]&&this[_0x32a579(0x18f)][_0x32a579(0x180)](_0x318c4e['id'])&&(this[_0x32a579(0x118)][_0x32a579(0x15d)]([_0x318c4e['id']]),this[_0x32a579(0x18f)][_0x32a579(0x14d)](_0x318c4e['id']),this[_0x32a579(0x163)][_0x32a579(0x133)](),this[_0x32a579(0x18f)][_0x32a579(0xf5)](_0x318c4e['id']));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x11d),(_0x5af31c,_0x389eda)=>{const _0x1cb251=_0x222885;this[_0x1cb251(0x18f)]&&this[_0x1cb251(0x18f)][_0x1cb251(0x180)](_0x389eda['id'])&&(this[_0x1cb251(0x118)][_0x1cb251(0x103)](_0x389eda['id']),this[_0x1cb251(0x18f)][_0x1cb251(0x159)](_0x389eda['id']),this[_0x1cb251(0x163)][_0x1cb251(0x133)](),this[_0x1cb251(0x18f)][_0x1cb251(0xf5)](_0x389eda['id']));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x104),(_0x48b6ca,_0x273482)=>{const _0x370e91=_0x222885;this[_0x370e91(0x195)]=_0x273482['on'],this[_0x370e91(0xf7)](this[_0x370e91(0x195)]);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x16a),async()=>{const _0x3dbb1d=_0x222885;this[_0x3dbb1d(0x18f)]&&await this[_0x3dbb1d(0x18f)][_0x3dbb1d(0x172)]();}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x18d),(_0xea4168,_0x1ce93c)=>{const _0x1f83dc=_0x222885;this[_0x1f83dc(0x18f)]&&(this[_0x1f83dc(0x16c)]=_0x1f83dc(0x174),this[_0x1f83dc(0x18f)][_0x1f83dc(0x18d)](_0x1ce93c['id']));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x13b),()=>{const _0x5bb40c=_0x222885;this[_0x5bb40c(0x18f)]&&this[_0x5bb40c(0x18f)][_0x5bb40c(0x13b)]();}),this[_0x222885(0x181)](this[_0x222885(0x118)][_0x222885(0x10e)],_0x222885(0x10f),(_0x25a95c,_0x245895)=>{const _0x3d97c2=_0x222885;this[_0x3d97c2(0x18f)]&&(this[_0x3d97c2(0x16c)]=_0x3d97c2(0x178),this[_0x3d97c2(0x18f)][_0x3d97c2(0x18d)](_0x245895[_0x3d97c2(0x158)]));});}[_0xfbbba5(0x13f)](_0x1ca842=!0x1){const _0x194ecf=_0xfbbba5;this[_0x194ecf(0x18f)]&&(this[_0x194ecf(0x18f)][_0x194ecf(0x17c)]||this[_0x194ecf(0x18f)][_0x194ecf(0xf5)](),this[_0x194ecf(0x18f)][_0x194ecf(0x11b)](),this[_0x194ecf(0x18f)][_0x194ecf(0x140)](),this[_0x194ecf(0x18f)]=void 0x0),_0x1ca842&&this[_0x194ecf(0x163)][_0x194ecf(0x18b)](),this[_0x194ecf(0x118)][_0x194ecf(0x127)](),this[_0x194ecf(0x118)][_0x194ecf(0x16e)](),this[_0x194ecf(0x16c)]=null;const _0x4cfabd=this[_0x194ecf(0x118)][_0x194ecf(0x155)]();_0x4cfabd&&_0x4cfabd[_0x194ecf(0xf8)][_0x194ecf(0x12b)][_0x194ecf(0x17b)](_0x201eee=>{const _0x2ee258=_0x194ecf,_0x56efc2=_0x4cfabd[_0x2ee258(0xf8)][_0x2ee258(0x12b)][_0x2ee258(0x11a)][_0x2ee258(0xfa)]();_0x201eee[_0x2ee258(0x10b)](_0x2ee258(0x15a),_0x56efc2),_0x201eee[_0x2ee258(0x10b)](_0x2ee258(0x134),_0x56efc2);});}[_0xfbbba5(0xf7)](_0x557fc3){const _0x1045e3=_0xfbbba5,_0x374580=this[_0x1045e3(0x118)][_0x1045e3(0x155)]();_0x557fc3?this[_0x1045e3(0x163)][_0x1045e3(0x137)]():this[_0x1045e3(0x163)][_0x1045e3(0x145)](),_0x374580&&_0x374580[_0x1045e3(0xf8)][_0x1045e3(0x12b)][_0x1045e3(0x17b)](_0x170bd7=>{const _0x33f457=_0x1045e3,_0x4bd20b=_0x374580[_0x33f457(0xf8)][_0x33f457(0x12b)][_0x33f457(0x11a)][_0x33f457(0xfa)]();_0x170bd7[_0x33f457(0x10b)](_0x33f457(0x15a),_0x4bd20b),_0x170bd7[_0x33f457(0x10b)](_0x33f457(0x134),_0x4bd20b),_0x170bd7[_0x33f457(0x142)](_0x557fc3?_0x33f457(0x15a):_0x33f457(0x134),_0x4bd20b);});}[_0xfbbba5(0x183)](_0x3bd1a5){const _0x2ac07=_0xfbbba5;return _0x3bd1a5[_0x2ac07(0x166)](_0x5f3317=>{const _0x1c53a3=_0x2ac07,_0x3a3ad5=_0x1c53a3(0xf6)+_0x5f3317['id'][_0x1c53a3(0x10c)]()[_0x1c53a3(0x124)]('-','_'),_0x2031b1={..._0x5f3317,'title':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x110),_0x5f3317[_0x1c53a3(0x129)]),'description':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x154),_0x5f3317[_0x1c53a3(0x176)])};return _0x5f3317[_0x1c53a3(0x139)]&&(_0x2031b1[_0x1c53a3(0x139)]=_0x5f3317[_0x1c53a3(0x139)][_0x1c53a3(0x166)](_0x5f0978=>({..._0x5f0978,'label':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x170),_0x5f0978[_0x1c53a3(0x136)]||''),'data':_0x5f0978[_0x1c53a3(0x153)]?_0x5f0978[_0x1c53a3(0x153)][_0x1c53a3(0x166)](_0x2dc705=>({..._0x2dc705,'label':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x197)+_0x2dc705['id'][_0x1c53a3(0x10c)](),_0x2dc705[_0x1c53a3(0x136)])})):void 0x0}))),_0x2031b1;});}[_0xfbbba5(0x141)](_0x1b127f,_0x5101f9){const _0x5670cb=_0xfbbba5,_0x2fa4f5=this[_0x5670cb(0x169)][_0x5670cb(0x196)],_0x347295=_0x53fc88(_0x2fa4f5,_0x1b127f);return _0x347295===_0x1b127f?_0x5101f9:_0x347295;}[_0xfbbba5(0x135)](_0x19bd5d){const _0x3bcdbd=_0xfbbba5;_0x1bac3d(_0x19bd5d[_0x3bcdbd(0x16d)]),this[_0x3bcdbd(0x163)][_0x3bcdbd(0x15f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a17a9=_0x4ef1;function _0x4ef1(_0x514e2d,_0x5e6511){const _0xee0cc4=_0xee0c();return _0x4ef1=function(_0x4ef19d,_0x182426){_0x4ef19d=_0x4ef19d-0x183;let _0x3eb1ec=_0xee0cc4[_0x4ef19d];return _0x3eb1ec;},_0x4ef1(_0x514e2d,_0x5e6511);}(function(_0x26b3da,_0x3155a4){const _0x13dd34=_0x4ef1,_0x53234b=_0x26b3da();while(!![]){try{const _0x25c7f1=-parseInt(_0x13dd34(0x257))/0x1+-parseInt(_0x13dd34(0x1b7))/0x2+parseInt(_0x13dd34(0x1b3))/0x3+parseInt(_0x13dd34(0x1e5))/0x4*(parseInt(_0x13dd34(0x220))/0x5)+-parseInt(_0x13dd34(0x210))/0x6*(parseInt(_0x13dd34(0x1e9))/0x7)+parseInt(_0x13dd34(0x1e2))/0x8+-parseInt(_0x13dd34(0x1c6))/0x9*(-parseInt(_0x13dd34(0x202))/0xa);if(_0x25c7f1===_0x3155a4)break;else _0x53234b['push'](_0x53234b['shift']());}catch(_0x45fea7){_0x53234b['push'](_0x53234b['shift']());}}}(_0xee0c,0xd1fa3));import{InsertOperation as _0x46e425,MarkerOperation as _0x4939dc,ModelDocumentFragment as _0x24db0a,ModelPosition as _0x1b76a1,ModelRange as _0x509e2b,ModelTreeWalker as _0x545646,transformOperationSets as _0x16b6e3}from'ckeditor5/src/engine.js';function _0xee0c(){const _0x178cff=['createRawElement','_markers','_insertMarkers','_changePosition','AIReviewModeEditing','_changeOperationOwnerDocument','plugins','hasContentBefore','clearAllMarkers','length','enableReadOnlyMode','affectsData','isPremiumPlugin','_getChangeContext','2969487dpzjkn','editing','model:$text','groupId','2867512CqVyFC','offsetSize','text','history','emitter','elements','suggestion:insertion:id:authorId:','No\x20element\x20found\x20for\x20ID:\x20','schema','start','[data-marker-id=\x22','processor','ck-ai_review-mode-marker_','nodes','DocumentCompare','132570lhvtqU','end','version','parentElement','_getOperationEnd','clone','for','caption','flat','_appendChild','conversion','_shiftOperation','split','element','$documentFragment','pluginName','values','marker','_createGetContentUsingDataIdFn','fire','push','get','toDomElement','document','map','data','markerName','$textProxy','5350880ofPGIJ','htmlWriter','_clone','20rsHLDc','data-marker-id','context','getRoot','19817jQihKR','_removeAttribute','parent','includes','from','ellipsisAfter','operationsIsolated','isOfficialPlugin','applyChange','toView','remove-context','exec','downcast','createPositionAt','keys','getShiftedBy','operationsA','ck-ai_review-mode-marker_context-','ck-ai_review-mode-marker_add','getDocumentData','hasAttribute','type','view','path','clear','650oOSyyb','outerHTML','toData','childCount','delete','applyOperation','$markedRemove','backward','warn','ck-ai_review-mode-marker_underline','getEditor','index','forward','oldRange','678KzYeRJ','ellipsisBefore','hasContentAfter','getDomRoot','rejectChange','_domEmitter','isOpening','_getMarkersDataForGroup','attributeToAttribute','_setAttribute','_findMarkerElement','getHtml','getDiff','isDocumentOperation','isAtStart','model','761125IFNbDW','getRange','documentFragment','pop','addOperation','baseVersion','position','_groupAdjacentOperations','getRoots','isInline','insertContent','suggestion:deletion:id:authorId:','ck-ai_review-mode-marker_strikethrough','sort','reviewmode-','createRange','hasClass','_eventEmitter','isAtEnd','set','switchToReadOnly','innerHTML','newRange','_nextDataId','target','markerToElement','offset','createPositionAfter','suggestion-context','_createGetContentFn','remove-only','className','getAttribute','batch','afterInit','insert','viewToDom','_changePositionOwnerDocument','name','_translateOperationToEditorContent','markers','ck-ai_review-mode-marker_hide','listenTo','span','_getOperationStart','querySelector','ai-review-mode','append','disableReadOnlyMode','htmlProcessor','add','editingDowncast','stringify','[data-id=\x22','getPath','763538ECDLLO','parse','_sortMarkers','addMarker','deleteContent','_findAdjacentContextDistance','removeMarker','createSelection','startsWith','remove-text','markChangePositionInEditorContent','filter','every','change','changeMarkerClick','click','_changeRangeOwnerDocument','howMany','jumpTo','requires','getChildren','createDocumentFragment','getMarkerElementForChange','AIEditing','dataDowncast','_createGetContextFn','isTouching','concat','_changeRange','domConverter','ck-ai_review-mode-marker_context-end','getOperations','_removeChildren','diffContent','createUIElement','switchToEdit','createText','getChild','markerToHighlight','ck-ai_review-mode-marker_context-start'];_0xee0c=function(){return _0x178cff;};return _0xee0c();}import{DomEmitterMixin as _0x46c443,EmitterMixin as _0x5efe69}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x1f294a}from'ckeditor5/src/core.js';import{DocumentCompare as _0x37923f,DATA_ID_MODEL_ATTRIBUTE as _0x20aad7,DATA_ID_VIEW_ATTRIBUTE as _0x575d2b}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x190b61}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x4ecf68}from'../aicore/aiediting.js';const ue=_0x4a17a9(0x22e);export class AIReviewModeEditing extends _0x1f294a{static get[_0x4a17a9(0x1d5)](){const _0x3b67d5=_0x4a17a9;return _0x3b67d5(0x1a9);}static get[_0x4a17a9(0x190)](){return[_0x37923f,_0x4ecf68];}static get[_0x4a17a9(0x1f0)](){return!0x0;}static get[_0x4a17a9(0x1b1)](){return!0x0;}[_0x4a17a9(0x1a6)]=new Map();[_0x4a17a9(0x215)];[_0x4a17a9(0x231)];constructor(_0x1ba2b2){const _0xcf450c=_0x4a17a9;super(_0x1ba2b2),this[_0xcf450c(0x215)]=new(_0x46c443())(),this[_0xcf450c(0x231)]=new(_0x5efe69())();}get[_0x4a17a9(0x1bb)](){const _0xd569f0=_0x4a17a9;return this[_0xd569f0(0x231)];}[_0x4a17a9(0x242)](){const _0x598db6=_0x4a17a9,_0x1629d4=_0x190b61(this[_0x598db6(0x1e7)]);_0x1629d4[_0x598db6(0x1d0)][_0x598db6(0x1cc)](_0x598db6(0x253))[_0x598db6(0x239)]({'model':ue+_0x598db6(0x243),'view':(_0x45d2a4,{writer:_0x4c1e88})=>{const _0x3afe09=_0x598db6,_0x457071=this[_0x3afe09(0x1a6)][_0x3afe09(0x1db)](_0x45d2a4[_0x3afe09(0x1e0)]),_0x1410ca={'class':_0x3afe09(0x1fb),'data-marker-id':_0x45d2a4[_0x3afe09(0x1e0)]};return _0x4c1e88[_0x3afe09(0x19f)](_0x3afe09(0x24b),_0x1410ca,function(_0x30e9ae){const _0x5191aa=_0x3afe09,_0x205e28=this[_0x5191aa(0x1dc)](_0x30e9ae);return _0x205e28[_0x5191aa(0x235)]=_0x457071?.[_0x5191aa(0x1b9)]||'',_0x205e28;});}}),_0x1629d4[_0x598db6(0x1d0)][_0x598db6(0x1cc)](_0x598db6(0x253))[_0x598db6(0x1a3)]({'model':ue+_0x598db6(0x23e),'view':_0x164cc2=>({'classes':_0x598db6(0x22c),'attributes':{'data-marker-id':_0x164cc2[_0x598db6(0x1e0)]}})}),_0x1629d4[_0x598db6(0x1d0)][_0x598db6(0x1cc)](_0x598db6(0x253))[_0x598db6(0x1a3)]({'model':ue+_0x598db6(0x1f3),'view':_0x1913e6=>({'classes':_0x598db6(0x20b),'attributes':{'data-marker-id':_0x1913e6[_0x598db6(0x1e0)]}})}),_0x1629d4[_0x598db6(0x1d0)][_0x598db6(0x1cc)](_0x598db6(0x253))[_0x598db6(0x1a3)]({'model':ue+_0x598db6(0x186),'view':_0x2e684b=>({'classes':_0x598db6(0x249),'attributes':{'data-marker-id':_0x2e684b[_0x598db6(0x1e0)]}})}),_0x1629d4[_0x598db6(0x1d0)][_0x598db6(0x1cc)](_0x598db6(0x195))[_0x598db6(0x239)]({'model':ue+_0x598db6(0x23c),'view':(_0x33c63e,{writer:_0x8a8622})=>_0x8a8622[_0x598db6(0x1a5)](_0x598db6(0x24b),{'class':_0x598db6(0x1fa)+(_0x33c63e[_0x598db6(0x216)]?_0x598db6(0x1c0):_0x598db6(0x1c7))})}),_0x1629d4[_0x598db6(0x1d0)][_0x598db6(0x1cc)](_0x598db6(0x1f5))[_0x598db6(0x218)]({'model':_0x20aad7,'view':_0x575d2b}),this[_0x598db6(0x215)][_0x598db6(0x24a)](document,_0x598db6(0x18c),(_0x197034,_0x3abac3)=>{const _0xd797f0=_0x598db6,_0xd3468c=_0x3abac3[_0xd797f0(0x238)],_0x1adc92=this[_0xd797f0(0x21a)](_0xd3468c);if(!_0x1adc92)return;const _0x24ac4c=_0x1adc92[_0xd797f0(0x240)](_0xd797f0(0x1e6)),_0x1a8857=_0x24ac4c[_0xd797f0(0x1d2)](':')[_0xd797f0(0x223)]()?.[_0xd797f0(0x1d2)]('_')[0x0];this[_0xd797f0(0x231)][_0xd797f0(0x1d9)](_0xd797f0(0x18b),{'markerId':_0x24ac4c,'changeId':_0x1a8857});});}[_0x4a17a9(0x1fc)](){const _0x37429a=_0x4a17a9,_0x47da7f=this[_0x37429a(0x1e7)][_0x37429a(0x1ab)][_0x37429a(0x1db)](_0x37429a(0x194)),_0x2fdbde=_0x190b61(this[_0x37429a(0x1e7)]),_0xc2fdec=_0x2fdbde[_0x37429a(0x21f)],_0x588b9e=new _0x24db0a();for(const _0x3e909d of _0xc2fdec[_0x37429a(0x1dd)][_0x37429a(0x1e8)]()[_0x37429a(0x191)]()){const _0x12daf5=_0x3e909d[_0x37429a(0x1e4)](!0x0);_0x588b9e[_0x37429a(0x1cf)](_0x12daf5);}for(const _0x5a8562 of _0xc2fdec[_0x37429a(0x248)])_0x588b9e[_0x37429a(0x248)][_0x37429a(0x233)](_0x5a8562[_0x37429a(0x246)],this[_0x37429a(0x18d)](_0x5a8562[_0x37429a(0x221)]()[_0x37429a(0x1cb)](),_0x588b9e));const _0x5ec251=new _0x545646({'ignoreElementEnd':!0x0,'startPosition':_0xc2fdec[_0x37429a(0x1f6)](_0x588b9e,0x0)}),_0x2f05c2=new Set(),_0x343427=new Map();for(const {item:_0x3f3757}of _0x5ec251){if(!_0x3f3757['is'](_0x37429a(0x1e1)))continue;const _0x22f8af=_0x3f3757[_0x37429a(0x1eb)];if((!_0x22f8af||!_0x22f8af['is'](_0x37429a(0x1d3),_0x37429a(0x1cd)))&&(_0x22f8af&&_0x22f8af['is'](_0x37429a(0x1d3)))){let _0x189ec=_0x22f8af[_0x37429a(0x240)](_0x20aad7);_0x189ec||(_0x189ec=_0x47da7f[_0x37429a(0x237)](_0x2f05c2),_0x22f8af[_0x37429a(0x219)](_0x20aad7,_0x189ec)),_0x2f05c2[_0x37429a(0x252)](_0x189ec);let _0x442c41=_0x22f8af;for(;_0x442c41[_0x37429a(0x1eb)]&&!_0x442c41[_0x37429a(0x1eb)]['is'](_0x37429a(0x222));)_0x442c41=_0x442c41[_0x37429a(0x1eb)],_0x442c41[_0x37429a(0x1fd)](_0x20aad7)&&_0x442c41[_0x37429a(0x1ea)](_0x20aad7);_0x343427[_0x37429a(0x233)](_0x189ec,{'path':_0x22f8af[_0x37429a(0x256)](),'getContent':this[_0x37429a(0x1d8)](_0x442c41[_0x37429a(0x1e4)](!0x0),_0x189ec,_0x2fdbde[_0x37429a(0x1df)])}),_0x5ec251[_0x37429a(0x18f)](_0xc2fdec[_0x37429a(0x23b)](_0x22f8af));}}return{'content':_0x2fdbde[_0x37429a(0x1df)][_0x37429a(0x1c2)][_0x37429a(0x204)](_0x2fdbde[_0x37429a(0x1df)][_0x37429a(0x1f2)](_0x588b9e)),'version':_0x2fdbde[_0x37429a(0x21f)][_0x37429a(0x1dd)][_0x37429a(0x1c8)],'elements':_0x343427};}[_0x4a17a9(0x19e)](_0x505031,_0x452eb9){const _0x558330=_0x4a17a9,_0x19b657=_0x190b61(this[_0x558330(0x1e7)]),_0x2593df=_0x19b657[_0x558330(0x1df)][_0x558330(0x258)](_0x505031,_0x558330(0x1d4)),_0x14fea5=_0x19b657[_0x558330(0x21f)][_0x558330(0x1f6)](_0x2593df,0x0),_0x43679a=this[_0x558330(0x1e7)][_0x558330(0x1ab)][_0x558330(0x1db)](_0x558330(0x1c5))[_0x558330(0x21c)](_0x505031,_0x452eb9,{'anchor':_0x14fea5,'markDeletions':!0x0})[_0x558330(0x19c)]()[_0x558330(0x188)](_0x21513b=>_0x558330(0x243)===_0x21513b[_0x558330(0x1fe)]||_0x558330(0x1d7)===_0x21513b[_0x558330(0x1fe)]&&_0x21513b[_0x558330(0x246)][_0x558330(0x185)](_0x558330(0x208))),_0x5efec0=this[_0x558330(0x227)](_0x43679a),_0x455b41=[];let _0x205f28=0x0;return _0x19b657[_0x558330(0x21f)][_0x558330(0x18a)](_0x3f4e9d=>{const _0x41c095=_0x558330;for(let _0x2718cd=0x0;_0x2718cd<_0x5efec0[_0x41c095(0x1ae)];_0x2718cd++){const _0x1ae817=_0x5efec0[_0x2718cd],_0x3c96de=_0x3f4e9d[_0x41c095(0x192)]();for(const _0x56fed4 of _0x2593df[_0x41c095(0x191)]())_0x3f4e9d[_0x41c095(0x24f)](_0x56fed4[_0x41c095(0x1e4)](!0x0),_0x3c96de);for(const _0x72b9f6 of _0x1ae817[_0x41c095(0x1ef)])if(_0x41c095(0x243)===_0x72b9f6[_0x41c095(0x1fe)]){const _0x4abff2=_0x72b9f6;_0x4abff2[_0x41c095(0x225)]=null,_0x4abff2[_0x41c095(0x21d)]=!0x1,this[_0x41c095(0x1aa)](_0x4abff2,_0x3c96de),_0x3f4e9d[_0x41c095(0x241)][_0x41c095(0x224)](_0x72b9f6),_0x19b657[_0x41c095(0x21f)][_0x41c095(0x207)](_0x72b9f6);const _0x5a4899=_0x41c095(0x1bd)+_0x205f28++,_0x2a10c5=_0x19b657[_0x41c095(0x21f)][_0x41c095(0x22f)](_0x4abff2[_0x41c095(0x226)],_0x4abff2[_0x41c095(0x226)][_0x41c095(0x1f8)](_0x4abff2[_0x41c095(0x18e)]));_0x3c96de[_0x41c095(0x248)][_0x41c095(0x233)](_0x5a4899,_0x2a10c5);}else{if(_0x41c095(0x1d7)===_0x72b9f6[_0x41c095(0x1fe)]&&_0x72b9f6[_0x41c095(0x246)][_0x41c095(0x185)](_0x41c095(0x208))){const _0x2cb482=_0x72b9f6,_0x5c8666=_0x41c095(0x22b)+_0x205f28++;this[_0x41c095(0x1aa)](_0x2cb482,_0x3c96de),_0x3c96de[_0x41c095(0x248)][_0x41c095(0x233)](_0x5c8666,_0x2cb482[_0x41c095(0x236)]);}}const _0x28dd2c=this[_0x41c095(0x1b2)](this[_0x41c095(0x245)](this[_0x41c095(0x24c)](_0x1ae817[_0x41c095(0x1ef)][0x0]),_0x3c96de),this[_0x41c095(0x245)](this[_0x41c095(0x1ca)](_0x1ae817[_0x41c095(0x1ef)][_0x1ae817[_0x41c095(0x1ef)][_0x41c095(0x1ae)]-0x1]),_0x3c96de));_0x3c96de[_0x41c095(0x248)][_0x41c095(0x233)](ue+_0x41c095(0x23c),new _0x509e2b(_0x28dd2c[_0x41c095(0x1c0)],_0x28dd2c[_0x41c095(0x1c7)])),_0x455b41[_0x41c095(0x1da)]({..._0x1ae817,'context':this[_0x41c095(0x196)](_0x3c96de,_0x19b657[_0x41c095(0x1df)],{'ellipsisBefore':_0x28dd2c[_0x41c095(0x1ac)],'ellipsisAfter':_0x28dd2c[_0x41c095(0x212)]}),'content':this[_0x41c095(0x23d)](_0x3c96de,_0x19b657[_0x41c095(0x1df)])});}}),_0x455b41;}[_0x4a17a9(0x187)](_0x483e96,_0x58d5b3){const _0x15eae3=_0x4a17a9,_0x195bc4=_0x483e96[0x0][_0x15eae3(0x1eb)]['id'],_0x505cab=_0x58d5b3[_0x15eae3(0x1bc)][_0x15eae3(0x1db)](_0x195bc4);if(!_0x505cab)return void console[_0x15eae3(0x20a)](_0x15eae3(0x1be)+_0x195bc4);const _0x1391f7=_0x505cab[_0x15eae3(0x200)],_0x24a353=_0x190b61(this[_0x15eae3(0x1e7)]),_0x4d3938=_0x24a353[_0x15eae3(0x21f)][_0x15eae3(0x1dd)][_0x15eae3(0x1ba)][_0x15eae3(0x19c)](_0x58d5b3[_0x15eae3(0x1c8)]),_0x26b9d8=[];for(const _0x5ad85f of _0x483e96){const _0x2395b4=_0x5ad85f[_0x15eae3(0x1ef)][_0x15eae3(0x1de)](_0x9fa7c=>this[_0x15eae3(0x247)](_0x9fa7c,_0x1391f7,_0x24a353[_0x15eae3(0x21f)][_0x15eae3(0x1dd)][_0x15eae3(0x228)]()[0x0]));if(!_0x2395b4||!_0x2395b4[_0x15eae3(0x1ae)])continue;const _0x5aaf60=_0x2395b4[_0x15eae3(0x189)](_0x168991=>_0x15eae3(0x1d7)===_0x168991[_0x15eae3(0x1fe)]&&_0x168991[_0x15eae3(0x246)][_0x15eae3(0x185)](_0x15eae3(0x208))),_0x5cf8b7={'document':_0x24a353[_0x15eae3(0x21f)][_0x15eae3(0x1dd)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5f4424=_0x16b6e3(_0x2395b4,_0x4d3938,_0x5cf8b7)[_0x15eae3(0x1f9)];for(const _0x2d3bc6 of _0x5f4424)if(_0x15eae3(0x243)===_0x2d3bc6[_0x15eae3(0x1fe)]){const _0x12c5a5=_0x2d3bc6,_0x340ff5=_0x12c5a5[_0x15eae3(0x1c4)];let _0x311bdd='';for(const _0x4dfa80 of _0x340ff5)_0x4dfa80&&_0x4dfa80['is'](_0x15eae3(0x1b5))&&(_0x311bdd+=_0x4dfa80[_0x15eae3(0x1df)]);_0x26b9d8[_0x15eae3(0x1da)]({'start':_0x12c5a5[_0x15eae3(0x226)],'end':_0x12c5a5[_0x15eae3(0x226)],'type':_0x15eae3(0x243),'groupId':_0x5ad85f['id'],'text':_0x311bdd});}else{if(_0x15eae3(0x1d7)===_0x2d3bc6[_0x15eae3(0x1fe)]&&_0x2d3bc6[_0x15eae3(0x246)][_0x15eae3(0x185)](_0x15eae3(0x208))){const _0x50e028=_0x2d3bc6;let _0x1fbc05=_0x15eae3(0x186);if(_0x5aaf60){const _0x177142=this[_0x15eae3(0x25c)](_0x50e028[_0x15eae3(0x236)][_0x15eae3(0x1c0)],_0x15eae3(0x209),_0x24a353[_0x15eae3(0x21f)][_0x15eae3(0x1bf)]),_0x48a92e=this[_0x15eae3(0x25c)](_0x50e028[_0x15eae3(0x236)][_0x15eae3(0x1c7)],_0x15eae3(0x20e),_0x24a353[_0x15eae3(0x21f)][_0x15eae3(0x1bf)]);if(_0x177142||_0x48a92e){const _0xc69ad0=_0x50e028[_0x15eae3(0x236)][_0x15eae3(0x1c0)][_0x15eae3(0x1f8)](-_0x177142),_0x5bd652=_0x50e028[_0x15eae3(0x236)][_0x15eae3(0x1c7)][_0x15eae3(0x1f8)](_0x48a92e);_0x26b9d8[_0x15eae3(0x1da)]({'start':_0xc69ad0,'end':_0x5bd652,'groupId':_0x5ad85f['id'],'type':_0x15eae3(0x1f3)});}else _0x1fbc05=_0x15eae3(0x23e);}_0x26b9d8[_0x15eae3(0x1da)]({'start':_0x50e028[_0x15eae3(0x236)][_0x15eae3(0x1c0)],'end':_0x50e028[_0x15eae3(0x236)][_0x15eae3(0x1c7)],'groupId':_0x5ad85f['id'],'type':_0x1fbc05});}}}this[_0x15eae3(0x1a7)](_0x26b9d8);}[_0x4a17a9(0x1ad)](){const _0x2c3e1f=_0x4a17a9;_0x190b61(this[_0x2c3e1f(0x1e7)])[_0x2c3e1f(0x21f)][_0x2c3e1f(0x18a)](_0x6ab7c8=>{const _0x55007f=_0x2c3e1f;for(const _0xb14e4f of this[_0x55007f(0x1a6)][_0x55007f(0x1f7)]())_0x6ab7c8[_0x55007f(0x183)](_0xb14e4f);}),this[_0x2c3e1f(0x1a6)][_0x2c3e1f(0x201)]();}[_0x4a17a9(0x234)](){const _0x2f2cf4=_0x4a17a9;_0x190b61(this[_0x2f2cf4(0x1e7)])[_0x2f2cf4(0x1af)](_0x2f2cf4(0x24e));}[_0x4a17a9(0x1a0)](){const _0x31a509=_0x4a17a9;_0x190b61(this[_0x31a509(0x1e7)])[_0x31a509(0x250)](_0x31a509(0x24e));}[_0x4a17a9(0x1f1)](_0x1ddc53){const _0x245396=_0x4a17a9,_0x3d0485=_0x190b61(this[_0x245396(0x1e7)]),_0x434c1e=_0x3d0485[_0x245396(0x21f)],_0x9210dc=_0x1ddc53[_0x245396(0x1de)](_0x1cc7ff=>this[_0x245396(0x217)](_0x1cc7ff))[_0x245396(0x1ce)]();_0x434c1e[_0x245396(0x18a)](_0x1d130=>{const _0x108aaf=_0x245396;for(const _0x8e8286 of _0x9210dc){const _0x5daed4=_0x3d0485[_0x108aaf(0x21f)][_0x108aaf(0x248)][_0x108aaf(0x1db)](_0x8e8286['id']);_0x5daed4&&(_0x108aaf(0x243)===_0x8e8286[_0x108aaf(0x1fe)]?_0x434c1e[_0x108aaf(0x22a)](_0x1d130[_0x108aaf(0x1a1)](_0x8e8286[_0x108aaf(0x1b9)]||''),_0x5daed4[_0x108aaf(0x221)]()[_0x108aaf(0x1c0)]):_0x108aaf(0x186)!==_0x8e8286[_0x108aaf(0x1fe)]&&_0x108aaf(0x23e)!==_0x8e8286[_0x108aaf(0x1fe)]||_0x434c1e[_0x108aaf(0x25b)](_0x434c1e[_0x108aaf(0x184)](_0x5daed4[_0x108aaf(0x221)]())),_0x1d130[_0x108aaf(0x183)](_0x8e8286['id']),this[_0x108aaf(0x1a6)][_0x108aaf(0x206)](_0x8e8286['id']));}});}[_0x4a17a9(0x214)](_0x4652ec){const _0x2738ef=_0x4a17a9,_0x467b18=_0x190b61(this[_0x2738ef(0x1e7)]),_0x259ee4=this[_0x2738ef(0x217)](_0x4652ec);_0x467b18[_0x2738ef(0x21f)][_0x2738ef(0x18a)](_0x5c1f81=>{const _0x2e7f36=_0x2738ef;for(const _0x3d2f78 of _0x259ee4)_0x5c1f81[_0x2e7f36(0x183)](_0x3d2f78['id']),this[_0x2e7f36(0x1a6)][_0x2e7f36(0x206)](_0x3d2f78['id']);});}[_0x4a17a9(0x20c)](){const _0x2cca47=_0x4a17a9;return _0x190b61(this[_0x2cca47(0x1e7)]);}[_0x4a17a9(0x193)](_0x158b63){const _0x1e7c08=_0x4a17a9,_0x3b76b6=Array[_0x1e7c08(0x1ed)](this[_0x1e7c08(0x1a6)][_0x1e7c08(0x1d6)]())[_0x1e7c08(0x188)](_0xa721c3=>_0xa721c3[_0x1e7c08(0x1b6)]===_0x158b63);if(!_0x3b76b6[_0x1e7c08(0x1ae)])return null;const _0x5673cb=0x1===_0x3b76b6[_0x1e7c08(0x1ae)]?_0x3b76b6[0x0]:this[_0x1e7c08(0x259)](_0x3b76b6)[0x0],_0x3536c7=_0x190b61(this[_0x1e7c08(0x1e7)]),_0x4ac048=_0x3536c7[_0x1e7c08(0x21f)][_0x1e7c08(0x248)][_0x1e7c08(0x1db)](_0x5673cb['id']);if(!_0x4ac048)return null;const _0x263bdd=_0x4ac048[_0x1e7c08(0x221)](),_0x321454=_0x3536c7[_0x1e7c08(0x1b4)][_0x1e7c08(0x1ff)][_0x1e7c08(0x213)]();if(!_0x321454||!_0x263bdd)return null;const _0x3d0828=_0x321454[_0x1e7c08(0x24d)](_0x1e7c08(0x1c1)+_0x5673cb['id']+'\x22]');return _0x3d0828?{'modelRange':_0x263bdd,'domElement':_0x3d0828}:null;}[_0x4a17a9(0x247)](_0x585ceb,_0x3d7e04,_0x31e485){const _0x1c5ced=_0x4a17a9;if(_0x1c5ced(0x243)===_0x585ceb[_0x1c5ced(0x1fe)]){const _0x530d11=_0x585ceb;return new _0x46e425(this[_0x1c5ced(0x1a8)](_0x530d11[_0x1c5ced(0x226)],_0x3d7e04[_0x1c5ced(0x198)](_0x530d11[_0x1c5ced(0x226)][_0x1c5ced(0x23a)]),_0x31e485),_0x530d11[_0x1c5ced(0x1c4)],_0x530d11[_0x1c5ced(0x225)]);}if(_0x1c5ced(0x1d7)===_0x585ceb[_0x1c5ced(0x1fe)]&&_0x585ceb[_0x1c5ced(0x246)][_0x1c5ced(0x185)](_0x1c5ced(0x208))){const _0x4b86c5=_0x585ceb;return new _0x4939dc(_0x4b86c5[_0x1c5ced(0x246)],_0x4b86c5[_0x1c5ced(0x20f)],this[_0x1c5ced(0x199)](_0x4b86c5[_0x1c5ced(0x236)],_0x3d7e04[_0x1c5ced(0x198)](_0x4b86c5[_0x1c5ced(0x236)][_0x1c5ced(0x1c0)][_0x1c5ced(0x23a)]),_0x3d7e04[_0x1c5ced(0x198)](_0x4b86c5[_0x1c5ced(0x236)][_0x1c5ced(0x1c7)][_0x1c5ced(0x23a)]),_0x31e485),_0x4b86c5[_0x1c5ced(0x1a6)],_0x4b86c5[_0x1c5ced(0x1b0)],_0x4b86c5[_0x1c5ced(0x225)]);}return _0x585ceb;}[_0x4a17a9(0x227)](_0x5de843){const _0x228693=_0x4a17a9;if(!_0x5de843[_0x228693(0x1ae)])return[];const _0x3e8767=[];let _0x2a0eca=0x0,_0x2e871e=0x0,_0x499253=[];for(let _0x1c64f0=0x0;_0x1c64f0<=_0x5de843[_0x228693(0x1ae)];_0x1c64f0++){const _0x1677cb=_0x5de843[_0x1c64f0],_0x275756=_0x5de843[_0x1c64f0-0x1];!_0x1677cb||_0x275756&&!this[_0x228693(0x1ca)](_0x275756)[_0x228693(0x197)](this[_0x228693(0x24c)](_0x1677cb))?(_0x3e8767[_0x228693(0x1da)]({'operations':_0x499253,'operationsIsolated':_0x499253[_0x228693(0x1de)](_0x438117=>this[_0x228693(0x1d1)](_0x438117[_0x228693(0x1cb)](),-_0x2e871e)),'groupOffset':_0x2a0eca}),_0x499253=_0x1677cb?[_0x1677cb]:[],_0x2e871e+=_0x2a0eca,_0x2a0eca=0x0):_0x499253[_0x228693(0x1da)](_0x1677cb),_0x1677cb&&_0x228693(0x243)===_0x1677cb[_0x228693(0x1fe)]&&(_0x2a0eca+=_0x1677cb[_0x228693(0x18e)]);}return _0x3e8767;}[_0x4a17a9(0x25c)](_0x502015,_0x5c2942,_0x148ff8,_0x2ba568=0x1){const _0xc1a301=_0x4a17a9,_0x3a3327=new _0x545646({'startPosition':_0x502015,'direction':_0x5c2942});let _0x4ae7ca=0x0;for(let _0x5ab104=0x0;_0x5ab104<_0x2ba568;_0x5ab104++){let _0x3fc10a=0x0,_0x36434a=!0x1,_0x2dc4d2=_0xc1a301(0x20e)===_0x5c2942?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x1a5ffd}of _0x3a3327)if(_0x1a5ffd['is'](_0xc1a301(0x1e1))){const _0x282130=_0x2dc4d2[_0xc1a301(0x1f4)](_0x1a5ffd[_0xc1a301(0x1df)]);if(_0x282130&&_0x282130[_0xc1a301(0x1ae)]){if(_0x3fc10a+=_0xc1a301(0x20e)===_0x5c2942?_0x282130[_0xc1a301(0x20d)]+_0x282130[0x0][_0xc1a301(0x1ae)]:_0x1a5ffd[_0xc1a301(0x1df)][_0xc1a301(0x1ae)]-_0x282130[_0xc1a301(0x20d)],_0x282130[0x0][_0xc1a301(0x1ae)]!==_0x1a5ffd[_0xc1a301(0x1df)][_0xc1a301(0x1ae)])break;_0x36434a=!0x0,_0x2dc4d2=_0xc1a301(0x20e)===_0x5c2942?/^\w+/:/\w+$/;}else{if(_0x36434a)break;_0x3fc10a+=_0x1a5ffd[_0xc1a301(0x1b8)];}}else{if(_0x1a5ffd['is'](_0xc1a301(0x1d3))){_0x148ff8[_0xc1a301(0x229)](_0x1a5ffd)&&!_0x36434a&&(_0x3fc10a+=0x1);break;}}_0x4ae7ca+=_0x3fc10a,_0x3a3327[_0xc1a301(0x18f)](_0x502015[_0xc1a301(0x1f8)](_0xc1a301(0x20e)===_0x5c2942?_0x4ae7ca:-_0x4ae7ca));}return _0x4ae7ca;}[_0x4a17a9(0x1b2)](_0x67ac0a,_0x2489e6){const _0x581d5d=_0x4a17a9,_0xde82ee=_0x190b61(this[_0x581d5d(0x1e7)])[_0x581d5d(0x21f)][_0x581d5d(0x1bf)],_0x368947=this[_0x581d5d(0x25c)](_0x67ac0a,_0x581d5d(0x209),_0xde82ee,0x6),_0x4ae21e=this[_0x581d5d(0x25c)](_0x2489e6,_0x581d5d(0x20e),_0xde82ee,0x6),_0x178ae6=_0x67ac0a[_0x581d5d(0x1f8)](-_0x368947),_0x13b9f8=_0x2489e6[_0x581d5d(0x1f8)](_0x4ae21e);return{'start':_0x178ae6,'end':_0x13b9f8,'hasContentBefore':!_0x178ae6[_0x581d5d(0x21e)],'hasContentAfter':!_0x13b9f8[_0x581d5d(0x232)]};}[_0x4a17a9(0x1a7)](_0x3ed8dc){const _0x4fd980=_0x4a17a9,_0x5e10a5=this[_0x4fd980(0x1e7)][_0x4fd980(0x1ab)][_0x4fd980(0x1db)](_0x4fd980(0x194)),_0x55d4c0=new Set();_0x190b61(this[_0x4fd980(0x1e7)])[_0x4fd980(0x21f)][_0x4fd980(0x18a)](_0x2a1efb=>{const _0x24d625=_0x4fd980;for(const _0x4be1a9 of _0x3ed8dc){const _0xed7a7a=''+ue+_0x4be1a9[_0x24d625(0x1fe)]+':'+_0x4be1a9[_0x24d625(0x1b6)]+'_'+_0x5e10a5[_0x24d625(0x237)](_0x55d4c0);this[_0x24d625(0x1a6)][_0x24d625(0x233)](_0xed7a7a,{'id':_0xed7a7a,'groupId':_0x4be1a9[_0x24d625(0x1b6)],'type':_0x4be1a9[_0x24d625(0x1fe)],'text':_0x4be1a9[_0x24d625(0x1b9)]}),_0x2a1efb[_0x24d625(0x25a)](_0xed7a7a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2a1efb[_0x24d625(0x22f)](_0x4be1a9[_0x24d625(0x1c0)],_0x4be1a9[_0x24d625(0x1c7)])});}});}[_0x4a17a9(0x196)](_0x35fa09,_0x3bb3a4,_0x55deec){let _0x136251='';return()=>{const _0x5ac3fc=_0x4ef1;if(!_0x136251){const _0x52ada0=_0x3bb3a4[_0x5ac3fc(0x1f2)](_0x35fa09,{'showSuggestionHighlights':!0x0}),_0xad63e3=_0x52ada0[_0x5ac3fc(0x1a2)](0x0);if(!_0xad63e3)return'';let _0x1f8755=!0x1;const _0x24685a=[];for(const _0x4b0a71 of _0xad63e3[_0x5ac3fc(0x191)]())_0x4b0a71['is'](_0x5ac3fc(0x1d3),_0x5ac3fc(0x24b))&&_0x4b0a71[_0x5ac3fc(0x230)](_0x5ac3fc(0x19b))&&(_0x1f8755=!0x1),_0x1f8755&&_0x24685a[_0x5ac3fc(0x1da)](_0x4b0a71),_0x4b0a71['is'](_0x5ac3fc(0x1d3),_0x5ac3fc(0x24b))&&_0x4b0a71[_0x5ac3fc(0x230)](_0x5ac3fc(0x1a4))&&(_0x1f8755=!0x0);_0xad63e3[_0x5ac3fc(0x19d)](0x0,_0xad63e3[_0x5ac3fc(0x205)]),_0x55deec?.[_0x5ac3fc(0x211)]&&_0xad63e3[_0x5ac3fc(0x1cf)]('…'),_0xad63e3[_0x5ac3fc(0x1cf)](_0x24685a),_0x55deec?.[_0x5ac3fc(0x1ee)]&&_0xad63e3[_0x5ac3fc(0x1cf)]('…');const _0x38dccd=_0x3bb3a4[_0x5ac3fc(0x251)][_0x5ac3fc(0x19a)][_0x5ac3fc(0x244)](_0x52ada0),_0x4144ca=_0x3bb3a4[_0x5ac3fc(0x251)][_0x5ac3fc(0x1e3)][_0x5ac3fc(0x21b)](_0x38dccd);_0x136251=_0x4144ca;}return _0x136251;};}[_0x4a17a9(0x23d)](_0x3b45fa,_0x4af9e8){const _0x276264=_0x4a17a9;let _0x41a324='';return()=>(_0x41a324||(_0x41a324=_0x4af9e8[_0x276264(0x254)](_0x3b45fa,{'showSuggestionHighlights':!0x0})),_0x41a324);}[_0x4a17a9(0x1d8)](_0x4a217c,_0x58982d,_0x4222cb){let _0x3c68fa='';return()=>{const _0x315789=_0x4ef1;if(!_0x3c68fa){const _0x32e827=_0x4222cb[_0x315789(0x1f2)](new _0x24db0a(_0x4a217c)),_0x4811ad=_0x4222cb[_0x315789(0x251)][_0x315789(0x19a)][_0x315789(0x244)](_0x32e827)[_0x315789(0x24d)](_0x315789(0x255)+_0x58982d+'\x22]');_0x3c68fa=_0x4811ad?.[_0x315789(0x203)]||'';}return _0x3c68fa;};}[_0x4a17a9(0x21a)](_0x19f4e5,_0x432bb4=0x5){const _0x43c5bf=_0x4a17a9;let _0x20f89c=_0x19f4e5,_0x4f3cfd=null;for(let _0x442d20=0x0;_0x442d20<_0x432bb4&&_0x20f89c;_0x442d20++){if(!_0x20f89c[_0x43c5bf(0x23f)]){_0x20f89c=_0x20f89c[_0x43c5bf(0x1c9)];continue;}if(!(''+_0x20f89c[_0x43c5bf(0x23f)])[_0x43c5bf(0x1ec)](_0x43c5bf(0x1c3))){_0x20f89c=_0x20f89c[_0x43c5bf(0x1c9)];continue;}if(!_0x20f89c[_0x43c5bf(0x240)](_0x43c5bf(0x1e6)))break;_0x4f3cfd=_0x20f89c;break;}return _0x4f3cfd;}[_0x4a17a9(0x217)](_0x42cee3){const _0xe39d7a=_0x4a17a9;return Array[_0xe39d7a(0x1ed)](this[_0xe39d7a(0x1a6)][_0xe39d7a(0x1d6)]())[_0xe39d7a(0x188)](_0xd4d543=>_0xd4d543[_0xe39d7a(0x1b6)]===_0x42cee3);}[_0x4a17a9(0x24c)](_0x1f966f){const _0x158f6d=_0x4a17a9;return _0x158f6d(0x243)===_0x1f966f[_0x158f6d(0x1fe)]?_0x1f966f[_0x158f6d(0x226)]:_0x1f966f[_0x158f6d(0x236)][_0x158f6d(0x1c0)];}[_0x4a17a9(0x1ca)](_0x44fc43,_0x1d8cf8=!0x1){const _0xa80575=_0x4a17a9;return _0xa80575(0x243)===_0x44fc43[_0xa80575(0x1fe)]?_0x1d8cf8?_0x44fc43[_0xa80575(0x226)]:_0x44fc43[_0xa80575(0x226)][_0xa80575(0x1f8)](_0x44fc43[_0xa80575(0x18e)]):_0x44fc43[_0xa80575(0x236)][_0xa80575(0x1c7)];}[_0x4a17a9(0x1d1)](_0x48c568,_0x4e9fec){const _0x48ba01=_0x4a17a9;return _0x48ba01(0x243)===_0x48c568[_0x48ba01(0x1fe)]?_0x48c568[_0x48ba01(0x226)]=_0x48c568[_0x48ba01(0x226)][_0x48ba01(0x1f8)](_0x4e9fec):_0x48ba01(0x1d7)===_0x48c568[_0x48ba01(0x1fe)]&&_0x48c568[_0x48ba01(0x236)]&&(_0x48c568[_0x48ba01(0x236)]=new _0x509e2b(_0x48c568[_0x48ba01(0x236)][_0x48ba01(0x1c0)][_0x48ba01(0x1f8)](_0x4e9fec),_0x48c568[_0x48ba01(0x236)][_0x48ba01(0x1c7)][_0x48ba01(0x1f8)](_0x4e9fec))),_0x48c568;}[_0x4a17a9(0x1aa)](_0x5b0d00,_0x534a9b){const _0x3e2bcf=_0x4a17a9;_0x3e2bcf(0x243)===_0x5b0d00[_0x3e2bcf(0x1fe)]?_0x5b0d00[_0x3e2bcf(0x226)]=this[_0x3e2bcf(0x245)](_0x5b0d00[_0x3e2bcf(0x226)],_0x534a9b):_0x3e2bcf(0x1d7)===_0x5b0d00[_0x3e2bcf(0x1fe)]&&_0x5b0d00[_0x3e2bcf(0x236)]&&(_0x5b0d00[_0x3e2bcf(0x236)]=this[_0x3e2bcf(0x18d)](_0x5b0d00[_0x3e2bcf(0x236)],_0x534a9b));}[_0x4a17a9(0x245)](_0x9bba49,_0x194e51){const _0x2a8a14=_0x4a17a9;return new _0x1b76a1(_0x194e51,_0x9bba49[_0x2a8a14(0x200)]);}[_0x4a17a9(0x18d)](_0x1d74bc,_0x4cdd97){const _0x1ef96f=_0x4a17a9;return new _0x509e2b(this[_0x1ef96f(0x245)](_0x1d74bc[_0x1ef96f(0x1c0)],_0x4cdd97),this[_0x1ef96f(0x245)](_0x1d74bc[_0x1ef96f(0x1c7)],_0x4cdd97));}[_0x4a17a9(0x1a8)](_0x38de88,_0x1d2a4e,_0xfe3f8a){return new _0x1b76a1(_0xfe3f8a,[..._0x1d2a4e]);}[_0x4a17a9(0x199)](_0xf4046d,_0x21fe5c,_0x15a7cf,_0x4d2364){const _0x524e3e=_0x4a17a9;return new _0x509e2b(this[_0x524e3e(0x1a8)](_0xf4046d[_0x524e3e(0x1c0)],_0x21fe5c,_0x4d2364),this[_0x524e3e(0x1a8)](_0xf4046d[_0x524e3e(0x1c7)],_0x15a7cf,_0x4d2364));}[_0x4a17a9(0x259)](_0x5a8010){const _0x407988=_0x4a17a9,_0x13d08d=_0x5f5cf9=>{const _0x22408b=_0x4ef1;switch(_0x5f5cf9){case _0x22408b(0x243):return 0x1;case _0x22408b(0x1f3):return 0x2;case _0x22408b(0x23e):return 0x3;case _0x22408b(0x186):return 0x4;}};return _0x5a8010[_0x407988(0x22d)]((_0x436768,_0x4bc106)=>_0x13d08d(_0x436768[_0x407988(0x1fe)])-_0x13d08d(_0x4bc106[_0x407988(0x1fe)]));}}
|
|
23
|
+
const _0xcf4cc3=_0x20fd;(function(_0x1f33a5,_0xc090ee){const _0x56869a=_0x20fd,_0x152953=_0x1f33a5();while(!![]){try{const _0x18a503=parseInt(_0x56869a(0x288))/0x1*(-parseInt(_0x56869a(0x21d))/0x2)+-parseInt(_0x56869a(0x201))/0x3+parseInt(_0x56869a(0x2a4))/0x4+-parseInt(_0x56869a(0x246))/0x5*(parseInt(_0x56869a(0x256))/0x6)+parseInt(_0x56869a(0x245))/0x7*(-parseInt(_0x56869a(0x28f))/0x8)+-parseInt(_0x56869a(0x1d7))/0x9+-parseInt(_0x56869a(0x209))/0xa*(-parseInt(_0x56869a(0x277))/0xb);if(_0x18a503===_0xc090ee)break;else _0x152953['push'](_0x152953['shift']());}catch(_0x1ceb47){_0x152953['push'](_0x152953['shift']());}}}(_0x38a9,0xa41fd));import{InsertOperation as _0x14f967,MarkerOperation as _0x2d514b,ModelDocumentFragment as _0x12da2a,ModelPosition as _0x41f9d9,ModelRange as _0x3c5abf,ModelTreeWalker as _0x16699b,transformOperationSets as _0x50fff2}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x56fb01,EmitterMixin as _0x11a948}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x542b4f}from'ckeditor5/src/core.js';import{DocumentCompare as _0x2de56c,DATA_ID_MODEL_ATTRIBUTE as _0x303dc0,DATA_ID_VIEW_ATTRIBUTE as _0x19ffec}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x3df94b}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x2f2729}from'../aicore/aiediting.js';const ue=_0xcf4cc3(0x244);function _0x38a9(){const _0x3f6392=['ck-ai_review-mode-marker_context-end','1541749KgwPSS','ck-ai_review-mode-marker_context-start','flat','_domEmitter','element','schema','_shiftOperation','howMany','add','text','split','groupId','includes','ck-ai_review-mode-marker_context-','stringify','parentElement','_eventEmitter','1BjWyDh','getRoots','createUIElement','exec','keys','suggestion:insertion:id:authorId:','createPositionAt','40uqXvrf','ai-review-mode','parent','htmlProcessor','toView','model:$text','length','_clone','name','remove-context','elements','editing','document','[data-id=\x22','data-marker-id','isAtStart','_createGetContentFn','isTouching','getChild','pluginName','getShiftedBy','4671960vJMOuD','remove-only','isInline','model','start','insertContent','markers','offsetSize','backward','markerToHighlight','suggestion:deletion:id:authorId:','className','pop','map','3391290yCyBni','clearAllMarkers','concat','removeMarker','ck-ai_review-mode-marker_hide','filter','getDiff','span','_removeChildren','applyOperation','hasClass','every','remove-text','for','data','isOfficialPlugin','getMarkerElementForChange','documentFragment','version','from','position','warn','getRange','getEditor','outerHTML','rejectChange','offset','afterInit','getDocumentData','querySelector','baseVersion','_groupAdjacentOperations','isOpening','affectsData','_changeRangeOwnerDocument','ck-ai_review-mode-marker_underline','requires','click','newRange','$markedRemove','emitter','set','575739cuhFjc','_removeAttribute','AIReviewModeEditing','sort','_translateOperationToEditorContent','operationsA','htmlWriter','attributeToAttribute','190CpVkcm','path','$textProxy','insert','parse','_getMarkersDataForGroup','enableReadOnlyMode','history','get','downcast','applyChange','view','nodes','_createGetContextFn','processor','marker','oldRange','isDocumentOperation','getHtml','hasContentAfter','882006bwhJSk','type','createRange','_changeRange','getRoot','getPath','caption','jumpTo','_sortMarkers','[data-marker-id=\x22','deleteContent','createPositionAfter','addMarker','createRawElement','$documentFragment','getOperations','_findMarkerElement','toDomElement','switchToReadOnly','batch','_appendChild','getChildren','markerName','change','createSelection','dataDowncast','target','diffContent','forward','_changePosition','ck-ai_review-mode-marker_strikethrough','hasAttribute','plugins','domConverter','_changePositionOwnerDocument','_insertMarkers','_findAdjacentContextDistance','fire','ellipsisBefore','reviewmode-','1255429mZKILt','6261485KYWljo','createText','_getOperationEnd','append','operationsIsolated','values','DocumentCompare','AIEditing','listenTo','index','markerToElement','getDomRoot','_setAttribute','viewToDom','_markers','startsWith','6pdjJuS','toData','editingDowncast','hasContentBefore','childCount','ck-ai_review-mode-marker_','ellipsisAfter','getAttribute','clone','isPremiumPlugin','suggestion-context','No\x20element\x20found\x20for\x20ID:\x20','_createGetContentUsingDataIdFn','isAtEnd','clear','context','switchToEdit','_nextDataId','createDocumentFragment','push','conversion','markChangePositionInEditorContent','disableReadOnlyMode','_getChangeContext','_changeOperationOwnerDocument','_getOperationStart','delete','end','addOperation','changeMarkerClick','innerHTML','ck-ai_review-mode-marker_add'];_0x38a9=function(){return _0x3f6392;};return _0x38a9();}function _0x20fd(_0xebb83c,_0x22f3f7){const _0x38a92c=_0x38a9();return _0x20fd=function(_0x20fdd9,_0x44b22a){_0x20fdd9=_0x20fdd9-0x1cb;let _0x1083a7=_0x38a92c[_0x20fdd9];return _0x1083a7;},_0x20fd(_0xebb83c,_0x22f3f7);}export class AIReviewModeEditing extends _0x542b4f{static get[_0xcf4cc3(0x2a2)](){const _0x5b7991=_0xcf4cc3;return _0x5b7991(0x203);}static get[_0xcf4cc3(0x1fb)](){return[_0x2de56c,_0x2f2729];}static get[_0xcf4cc3(0x1e6)](){return!0x0;}static get[_0xcf4cc3(0x25f)](){return!0x0;}[_0xcf4cc3(0x254)]=new Map();[_0xcf4cc3(0x27a)];[_0xcf4cc3(0x287)];constructor(_0x462309){const _0x36a860=_0xcf4cc3;super(_0x462309),this[_0x36a860(0x27a)]=new(_0x56fb01())(),this[_0x36a860(0x287)]=new(_0x11a948())();}get[_0xcf4cc3(0x1ff)](){const _0x136b2a=_0xcf4cc3;return this[_0x136b2a(0x287)];}[_0xcf4cc3(0x1f2)](){const _0x3d2b07=_0xcf4cc3,_0x52cc9f=_0x3df94b(this[_0x3d2b07(0x265)]);_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x250)]({'model':ue+_0x3d2b07(0x20c),'view':(_0x19e32a,{writer:_0x5822a3})=>{const _0x161915=_0x3d2b07,_0xb6bea=this[_0x161915(0x254)][_0x161915(0x211)](_0x19e32a[_0x161915(0x233)]),_0x10dbfa={'class':_0x161915(0x275),'data-marker-id':_0x19e32a[_0x161915(0x233)]};return _0x5822a3[_0x161915(0x28a)](_0x161915(0x1de),_0x10dbfa,function(_0x4d0221){const _0xf9ddce=_0x161915,_0x1ce31f=this[_0xf9ddce(0x22e)](_0x4d0221);return _0x1ce31f[_0xf9ddce(0x274)]=_0xb6bea?.[_0xf9ddce(0x280)]||'',_0x1ce31f;});}}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x1d2)]({'model':ue+_0x3d2b07(0x2a5),'view':_0x1ce1b4=>({'classes':_0x3d2b07(0x23b),'attributes':{'data-marker-id':_0x1ce1b4[_0x3d2b07(0x233)]}})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x1d2)]({'model':ue+_0x3d2b07(0x298),'view':_0x41af6a=>({'classes':_0x3d2b07(0x1fa),'attributes':{'data-marker-id':_0x41af6a[_0x3d2b07(0x233)]}})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x1d2)]({'model':ue+_0x3d2b07(0x1e3),'view':_0x4162d1=>({'classes':_0x3d2b07(0x1db),'attributes':{'data-marker-id':_0x4162d1[_0x3d2b07(0x233)]}})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x236))[_0x3d2b07(0x250)]({'model':ue+_0x3d2b07(0x260),'view':(_0xbdd44b,{writer:_0x1716e6})=>_0x1716e6[_0x3d2b07(0x22a)](_0x3d2b07(0x1de),{'class':_0x3d2b07(0x284)+(_0xbdd44b[_0x3d2b07(0x1f7)]?_0x3d2b07(0x1cd):_0x3d2b07(0x271))})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x212))[_0x3d2b07(0x208)]({'model':_0x303dc0,'view':_0x19ffec}),this[_0x3d2b07(0x27a)][_0x3d2b07(0x24e)](document,_0x3d2b07(0x1fc),(_0x5b9ec0,_0x350346)=>{const _0x44bef9=_0x3d2b07,_0x3f4fd3=_0x350346[_0x44bef9(0x237)],_0x4d3aba=this[_0x44bef9(0x22d)](_0x3f4fd3);if(!_0x4d3aba)return;const _0x184a16=_0x4d3aba[_0x44bef9(0x25d)](_0x44bef9(0x29d)),_0x32239a=_0x184a16[_0x44bef9(0x281)](':')[_0x44bef9(0x1d5)]()?.[_0x44bef9(0x281)]('_')[0x0];this[_0x44bef9(0x287)][_0x44bef9(0x242)](_0x44bef9(0x273),{'markerId':_0x184a16,'changeId':_0x32239a});});}[_0xcf4cc3(0x1f3)](){const _0x107068=_0xcf4cc3,_0x18de28=this[_0x107068(0x265)][_0x107068(0x23d)][_0x107068(0x211)](_0x107068(0x24d)),_0x5c86ba=_0x3df94b(this[_0x107068(0x265)]),_0x144ea0=_0x5c86ba[_0x107068(0x1cc)],_0x1ff5d8=new _0x12da2a();for(const _0x232e2b of _0x144ea0[_0x107068(0x29b)][_0x107068(0x221)]()[_0x107068(0x232)]()){const _0x551e21=_0x232e2b[_0x107068(0x296)](!0x0);_0x1ff5d8[_0x107068(0x231)](_0x551e21);}for(const _0x4ebe81 of _0x144ea0[_0x107068(0x1cf)])_0x1ff5d8[_0x107068(0x1cf)][_0x107068(0x200)](_0x4ebe81[_0x107068(0x297)],this[_0x107068(0x1f9)](_0x4ebe81[_0x107068(0x1ed)]()[_0x107068(0x25e)](),_0x1ff5d8));const _0x235eab=new _0x16699b({'ignoreElementEnd':!0x0,'startPosition':_0x144ea0[_0x107068(0x28e)](_0x1ff5d8,0x0)}),_0x4b885f=new Set(),_0x184385=new Map();for(const {item:_0x486e88}of _0x235eab){if(!_0x486e88['is'](_0x107068(0x20b)))continue;const _0x48a85c=_0x486e88[_0x107068(0x291)];if((!_0x48a85c||!_0x48a85c['is'](_0x107068(0x27b),_0x107068(0x223)))&&(_0x48a85c&&_0x48a85c['is'](_0x107068(0x27b)))){let _0x425b15=_0x48a85c[_0x107068(0x25d)](_0x303dc0);_0x425b15||(_0x425b15=_0x18de28[_0x107068(0x267)](_0x4b885f),_0x48a85c[_0x107068(0x252)](_0x303dc0,_0x425b15)),_0x4b885f[_0x107068(0x27f)](_0x425b15);let _0xb7dbdc=_0x48a85c;for(;_0xb7dbdc[_0x107068(0x291)]&&!_0xb7dbdc[_0x107068(0x291)]['is'](_0x107068(0x1e8));)_0xb7dbdc=_0xb7dbdc[_0x107068(0x291)],_0xb7dbdc[_0x107068(0x23c)](_0x303dc0)&&_0xb7dbdc[_0x107068(0x202)](_0x303dc0);_0x184385[_0x107068(0x200)](_0x425b15,{'path':_0x48a85c[_0x107068(0x222)](),'getContent':this[_0x107068(0x262)](_0xb7dbdc[_0x107068(0x296)](!0x0),_0x425b15,_0x5c86ba[_0x107068(0x1e5)])}),_0x235eab[_0x107068(0x224)](_0x144ea0[_0x107068(0x228)](_0x48a85c));}}return{'content':_0x5c86ba[_0x107068(0x1e5)][_0x107068(0x217)][_0x107068(0x257)](_0x5c86ba[_0x107068(0x1e5)][_0x107068(0x293)](_0x1ff5d8)),'version':_0x5c86ba[_0x107068(0x1cc)][_0x107068(0x29b)][_0x107068(0x1e9)],'elements':_0x184385};}[_0xcf4cc3(0x238)](_0x42daa4,_0x3f79f8){const _0x22faa6=_0xcf4cc3,_0x29a42e=_0x3df94b(this[_0x22faa6(0x265)]),_0x3ffa20=_0x29a42e[_0x22faa6(0x1e5)][_0x22faa6(0x20d)](_0x42daa4,_0x22faa6(0x22b)),_0x5b2633=_0x29a42e[_0x22faa6(0x1cc)][_0x22faa6(0x28e)](_0x3ffa20,0x0),_0x103e57=this[_0x22faa6(0x265)][_0x22faa6(0x23d)][_0x22faa6(0x211)](_0x22faa6(0x24c))[_0x22faa6(0x1dd)](_0x42daa4,_0x3f79f8,{'anchor':_0x5b2633,'markDeletions':!0x0})[_0x22faa6(0x22c)]()[_0x22faa6(0x1dc)](_0x3a2c6e=>_0x22faa6(0x20c)===_0x3a2c6e[_0x22faa6(0x21e)]||_0x22faa6(0x218)===_0x3a2c6e[_0x22faa6(0x21e)]&&_0x3a2c6e[_0x22faa6(0x297)][_0x22faa6(0x255)](_0x22faa6(0x1fe))),_0x1088b1=this[_0x22faa6(0x1f6)](_0x103e57),_0x31ab39=[];let _0xa0358d=0x0;return _0x29a42e[_0x22faa6(0x1cc)][_0x22faa6(0x234)](_0x3f0500=>{const _0x46a871=_0x22faa6;for(let _0x22e2d8=0x0;_0x22e2d8<_0x1088b1[_0x46a871(0x295)];_0x22e2d8++){const _0x4e6a47=_0x1088b1[_0x22e2d8],_0x12b328=_0x3f0500[_0x46a871(0x268)]();for(const _0x530672 of _0x3ffa20[_0x46a871(0x232)]())_0x3f0500[_0x46a871(0x249)](_0x530672[_0x46a871(0x296)](!0x0),_0x12b328);for(const _0x4c48db of _0x4e6a47[_0x46a871(0x24a)])if(_0x46a871(0x20c)===_0x4c48db[_0x46a871(0x21e)]){const _0x36d50f=_0x4c48db;_0x36d50f[_0x46a871(0x1f5)]=null,_0x36d50f[_0x46a871(0x21a)]=!0x1,this[_0x46a871(0x26e)](_0x36d50f,_0x12b328),_0x3f0500[_0x46a871(0x230)][_0x46a871(0x272)](_0x4c48db),_0x29a42e[_0x46a871(0x1cc)][_0x46a871(0x1e0)](_0x4c48db);const _0x589d71=_0x46a871(0x28d)+_0xa0358d++,_0x3d94d7=_0x29a42e[_0x46a871(0x1cc)][_0x46a871(0x21f)](_0x36d50f[_0x46a871(0x1eb)],_0x36d50f[_0x46a871(0x1eb)][_0x46a871(0x2a3)](_0x36d50f[_0x46a871(0x27e)]));_0x12b328[_0x46a871(0x1cf)][_0x46a871(0x200)](_0x589d71,_0x3d94d7);}else{if(_0x46a871(0x218)===_0x4c48db[_0x46a871(0x21e)]&&_0x4c48db[_0x46a871(0x297)][_0x46a871(0x255)](_0x46a871(0x1fe))){const _0x405fd4=_0x4c48db,_0x4fb9ae=_0x46a871(0x1d3)+_0xa0358d++;this[_0x46a871(0x26e)](_0x405fd4,_0x12b328),_0x12b328[_0x46a871(0x1cf)][_0x46a871(0x200)](_0x4fb9ae,_0x405fd4[_0x46a871(0x1fd)]);}}const _0x373a59=this[_0x46a871(0x26d)](this[_0x46a871(0x23f)](this[_0x46a871(0x26f)](_0x4e6a47[_0x46a871(0x24a)][0x0]),_0x12b328),this[_0x46a871(0x23f)](this[_0x46a871(0x248)](_0x4e6a47[_0x46a871(0x24a)][_0x4e6a47[_0x46a871(0x24a)][_0x46a871(0x295)]-0x1]),_0x12b328));_0x12b328[_0x46a871(0x1cf)][_0x46a871(0x200)](ue+_0x46a871(0x260),new _0x3c5abf(_0x373a59[_0x46a871(0x1cd)],_0x373a59[_0x46a871(0x271)])),_0x31ab39[_0x46a871(0x269)]({..._0x4e6a47,'context':this[_0x46a871(0x216)](_0x12b328,_0x29a42e[_0x46a871(0x1e5)],{'ellipsisBefore':_0x373a59[_0x46a871(0x259)],'ellipsisAfter':_0x373a59[_0x46a871(0x21c)]}),'content':this[_0x46a871(0x29f)](_0x12b328,_0x29a42e[_0x46a871(0x1e5)])});}}),_0x31ab39;}[_0xcf4cc3(0x26b)](_0x54b720,_0x58cdfd){const _0x3c4cbf=_0xcf4cc3,_0x3870ef=_0x54b720[0x0][_0x3c4cbf(0x291)]['id'],_0x5a31fe=_0x58cdfd[_0x3c4cbf(0x299)][_0x3c4cbf(0x211)](_0x3870ef);if(!_0x5a31fe)return void console[_0x3c4cbf(0x1ec)](_0x3c4cbf(0x261)+_0x3870ef);const _0x33cc6a=_0x5a31fe[_0x3c4cbf(0x20a)],_0x599ad7=_0x3df94b(this[_0x3c4cbf(0x265)]),_0x47ea92=_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x29b)][_0x3c4cbf(0x210)][_0x3c4cbf(0x22c)](_0x58cdfd[_0x3c4cbf(0x1e9)]),_0x3e11c8=[];for(const _0x366336 of _0x54b720){const _0x30b682=_0x366336[_0x3c4cbf(0x24a)][_0x3c4cbf(0x1d6)](_0x302910=>this[_0x3c4cbf(0x205)](_0x302910,_0x33cc6a,_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x29b)][_0x3c4cbf(0x289)]()[0x0]));if(!_0x30b682||!_0x30b682[_0x3c4cbf(0x295)])continue;const _0x245880=_0x30b682[_0x3c4cbf(0x1e2)](_0x3ccedb=>_0x3c4cbf(0x218)===_0x3ccedb[_0x3c4cbf(0x21e)]&&_0x3ccedb[_0x3c4cbf(0x297)][_0x3c4cbf(0x255)](_0x3c4cbf(0x1fe))),_0x33cc3f={'document':_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x29b)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3a2baa=_0x50fff2(_0x30b682,_0x47ea92,_0x33cc3f)[_0x3c4cbf(0x206)];for(const _0x1ee042 of _0x3a2baa)if(_0x3c4cbf(0x20c)===_0x1ee042[_0x3c4cbf(0x21e)]){const _0x2e3f0f=_0x1ee042,_0x506b88=_0x2e3f0f[_0x3c4cbf(0x215)];let _0x45f07f='';for(const _0x421e51 of _0x506b88)_0x421e51&&_0x421e51['is'](_0x3c4cbf(0x294))&&(_0x45f07f+=_0x421e51[_0x3c4cbf(0x1e5)]);_0x3e11c8[_0x3c4cbf(0x269)]({'start':_0x2e3f0f[_0x3c4cbf(0x1eb)],'end':_0x2e3f0f[_0x3c4cbf(0x1eb)],'type':_0x3c4cbf(0x20c),'groupId':_0x366336['id'],'text':_0x45f07f});}else{if(_0x3c4cbf(0x218)===_0x1ee042[_0x3c4cbf(0x21e)]&&_0x1ee042[_0x3c4cbf(0x297)][_0x3c4cbf(0x255)](_0x3c4cbf(0x1fe))){const _0x1dc56d=_0x1ee042;let _0x4a238b=_0x3c4cbf(0x1e3);if(_0x245880){const _0xa5f90d=this[_0x3c4cbf(0x241)](_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x1cd)],_0x3c4cbf(0x1d1),_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x27c)]),_0x63d419=this[_0x3c4cbf(0x241)](_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x271)],_0x3c4cbf(0x239),_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x27c)]);if(_0xa5f90d||_0x63d419){const _0x42ebde=_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x1cd)][_0x3c4cbf(0x2a3)](-_0xa5f90d),_0x3fce91=_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x271)][_0x3c4cbf(0x2a3)](_0x63d419);_0x3e11c8[_0x3c4cbf(0x269)]({'start':_0x42ebde,'end':_0x3fce91,'groupId':_0x366336['id'],'type':_0x3c4cbf(0x298)});}else _0x4a238b=_0x3c4cbf(0x2a5);}_0x3e11c8[_0x3c4cbf(0x269)]({'start':_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x1cd)],'end':_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x271)],'groupId':_0x366336['id'],'type':_0x4a238b});}}}this[_0x3c4cbf(0x240)](_0x3e11c8);}[_0xcf4cc3(0x1d8)](){const _0x4387ee=_0xcf4cc3;_0x3df94b(this[_0x4387ee(0x265)])[_0x4387ee(0x1cc)][_0x4387ee(0x234)](_0x4e4820=>{const _0x149f94=_0x4387ee;for(const _0x268f3b of this[_0x149f94(0x254)][_0x149f94(0x28c)]())_0x4e4820[_0x149f94(0x1da)](_0x268f3b);}),this[_0x4387ee(0x254)][_0x4387ee(0x264)]();}[_0xcf4cc3(0x22f)](){const _0x1c9596=_0xcf4cc3;_0x3df94b(this[_0x1c9596(0x265)])[_0x1c9596(0x20f)](_0x1c9596(0x290));}[_0xcf4cc3(0x266)](){const _0x490739=_0xcf4cc3;_0x3df94b(this[_0x490739(0x265)])[_0x490739(0x26c)](_0x490739(0x290));}[_0xcf4cc3(0x213)](_0x3a1844){const _0x5a5ba5=_0xcf4cc3,_0x8a539f=_0x3df94b(this[_0x5a5ba5(0x265)]),_0x118e38=_0x8a539f[_0x5a5ba5(0x1cc)],_0x15b7ae=_0x3a1844[_0x5a5ba5(0x1d6)](_0x30c698=>this[_0x5a5ba5(0x20e)](_0x30c698))[_0x5a5ba5(0x279)]();_0x118e38[_0x5a5ba5(0x234)](_0x426c4e=>{const _0x4cb8f0=_0x5a5ba5;for(const _0x2c79c2 of _0x15b7ae){const _0x48876f=_0x8a539f[_0x4cb8f0(0x1cc)][_0x4cb8f0(0x1cf)][_0x4cb8f0(0x211)](_0x2c79c2['id']);_0x48876f&&(_0x4cb8f0(0x20c)===_0x2c79c2[_0x4cb8f0(0x21e)]?_0x118e38[_0x4cb8f0(0x1ce)](_0x426c4e[_0x4cb8f0(0x247)](_0x2c79c2[_0x4cb8f0(0x280)]||''),_0x48876f[_0x4cb8f0(0x1ed)]()[_0x4cb8f0(0x1cd)]):_0x4cb8f0(0x1e3)!==_0x2c79c2[_0x4cb8f0(0x21e)]&&_0x4cb8f0(0x2a5)!==_0x2c79c2[_0x4cb8f0(0x21e)]||_0x118e38[_0x4cb8f0(0x227)](_0x118e38[_0x4cb8f0(0x235)](_0x48876f[_0x4cb8f0(0x1ed)]())),_0x426c4e[_0x4cb8f0(0x1da)](_0x2c79c2['id']),this[_0x4cb8f0(0x254)][_0x4cb8f0(0x270)](_0x2c79c2['id']));}});}[_0xcf4cc3(0x1f0)](_0x507baf){const _0x352159=_0xcf4cc3,_0x19016d=_0x3df94b(this[_0x352159(0x265)]),_0x1a0904=this[_0x352159(0x20e)](_0x507baf);_0x19016d[_0x352159(0x1cc)][_0x352159(0x234)](_0x511227=>{const _0xcb5dd0=_0x352159;for(const _0x519995 of _0x1a0904)_0x511227[_0xcb5dd0(0x1da)](_0x519995['id']),this[_0xcb5dd0(0x254)][_0xcb5dd0(0x270)](_0x519995['id']);});}[_0xcf4cc3(0x1ee)](){const _0x1d80d1=_0xcf4cc3;return _0x3df94b(this[_0x1d80d1(0x265)]);}[_0xcf4cc3(0x1e7)](_0xb47957){const _0x5814aa=_0xcf4cc3,_0x25f005=Array[_0x5814aa(0x1ea)](this[_0x5814aa(0x254)][_0x5814aa(0x24b)]())[_0x5814aa(0x1dc)](_0xe2ede=>_0xe2ede[_0x5814aa(0x282)]===_0xb47957);if(!_0x25f005[_0x5814aa(0x295)])return null;const _0x12e45a=0x1===_0x25f005[_0x5814aa(0x295)]?_0x25f005[0x0]:this[_0x5814aa(0x225)](_0x25f005)[0x0],_0x2f0d8c=_0x3df94b(this[_0x5814aa(0x265)]),_0x94b1ad=_0x2f0d8c[_0x5814aa(0x1cc)][_0x5814aa(0x1cf)][_0x5814aa(0x211)](_0x12e45a['id']);if(!_0x94b1ad)return null;const _0x2388ae=_0x94b1ad[_0x5814aa(0x1ed)](),_0x232fd7=_0x2f0d8c[_0x5814aa(0x29a)][_0x5814aa(0x214)][_0x5814aa(0x251)]();if(!_0x232fd7||!_0x2388ae)return null;const _0x53f285=_0x232fd7[_0x5814aa(0x1f4)](_0x5814aa(0x226)+_0x12e45a['id']+'\x22]');return _0x53f285?{'modelRange':_0x2388ae,'domElement':_0x53f285}:null;}[_0xcf4cc3(0x205)](_0x260487,_0x19fec3,_0x4dcc91){const _0x5d29c8=_0xcf4cc3;if(_0x5d29c8(0x20c)===_0x260487[_0x5d29c8(0x21e)]){const _0x240b6d=_0x260487;return new _0x14f967(this[_0x5d29c8(0x23a)](_0x240b6d[_0x5d29c8(0x1eb)],_0x19fec3[_0x5d29c8(0x1d9)](_0x240b6d[_0x5d29c8(0x1eb)][_0x5d29c8(0x1f1)]),_0x4dcc91),_0x240b6d[_0x5d29c8(0x215)],_0x240b6d[_0x5d29c8(0x1f5)]);}if(_0x5d29c8(0x218)===_0x260487[_0x5d29c8(0x21e)]&&_0x260487[_0x5d29c8(0x297)][_0x5d29c8(0x255)](_0x5d29c8(0x1fe))){const _0x37d8dd=_0x260487;return new _0x2d514b(_0x37d8dd[_0x5d29c8(0x297)],_0x37d8dd[_0x5d29c8(0x219)],this[_0x5d29c8(0x220)](_0x37d8dd[_0x5d29c8(0x1fd)],_0x19fec3[_0x5d29c8(0x1d9)](_0x37d8dd[_0x5d29c8(0x1fd)][_0x5d29c8(0x1cd)][_0x5d29c8(0x1f1)]),_0x19fec3[_0x5d29c8(0x1d9)](_0x37d8dd[_0x5d29c8(0x1fd)][_0x5d29c8(0x271)][_0x5d29c8(0x1f1)]),_0x4dcc91),_0x37d8dd[_0x5d29c8(0x254)],_0x37d8dd[_0x5d29c8(0x1f8)],_0x37d8dd[_0x5d29c8(0x1f5)]);}return _0x260487;}[_0xcf4cc3(0x1f6)](_0x5d53fa){const _0x1a5298=_0xcf4cc3;if(!_0x5d53fa[_0x1a5298(0x295)])return[];const _0x5bfc0b=[];let _0x26b0ef=0x0,_0x293a5c=0x0,_0x2a87c0=[];for(let _0x2a2f48=0x0;_0x2a2f48<=_0x5d53fa[_0x1a5298(0x295)];_0x2a2f48++){const _0x4e3fff=_0x5d53fa[_0x2a2f48],_0x58e272=_0x5d53fa[_0x2a2f48-0x1];!_0x4e3fff||_0x58e272&&!this[_0x1a5298(0x248)](_0x58e272)[_0x1a5298(0x2a0)](this[_0x1a5298(0x26f)](_0x4e3fff))?(_0x5bfc0b[_0x1a5298(0x269)]({'operations':_0x2a87c0,'operationsIsolated':_0x2a87c0[_0x1a5298(0x1d6)](_0x47da75=>this[_0x1a5298(0x27d)](_0x47da75[_0x1a5298(0x25e)](),-_0x293a5c)),'groupOffset':_0x26b0ef}),_0x2a87c0=_0x4e3fff?[_0x4e3fff]:[],_0x293a5c+=_0x26b0ef,_0x26b0ef=0x0):_0x2a87c0[_0x1a5298(0x269)](_0x4e3fff),_0x4e3fff&&_0x1a5298(0x20c)===_0x4e3fff[_0x1a5298(0x21e)]&&(_0x26b0ef+=_0x4e3fff[_0x1a5298(0x27e)]);}return _0x5bfc0b;}[_0xcf4cc3(0x241)](_0x4e8633,_0x417c01,_0x3d753f,_0x219aab=0x1){const _0x1ef264=_0xcf4cc3,_0x6fe276=new _0x16699b({'startPosition':_0x4e8633,'direction':_0x417c01});let _0x4d201a=0x0;for(let _0x292abc=0x0;_0x292abc<_0x219aab;_0x292abc++){let _0x41f763=0x0,_0x47edbf=!0x1,_0x7e1e76=_0x1ef264(0x239)===_0x417c01?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4a8770}of _0x6fe276)if(_0x4a8770['is'](_0x1ef264(0x20b))){const _0x424efd=_0x7e1e76[_0x1ef264(0x28b)](_0x4a8770[_0x1ef264(0x1e5)]);if(_0x424efd&&_0x424efd[_0x1ef264(0x295)]){if(_0x41f763+=_0x1ef264(0x239)===_0x417c01?_0x424efd[_0x1ef264(0x24f)]+_0x424efd[0x0][_0x1ef264(0x295)]:_0x4a8770[_0x1ef264(0x1e5)][_0x1ef264(0x295)]-_0x424efd[_0x1ef264(0x24f)],_0x424efd[0x0][_0x1ef264(0x295)]!==_0x4a8770[_0x1ef264(0x1e5)][_0x1ef264(0x295)])break;_0x47edbf=!0x0,_0x7e1e76=_0x1ef264(0x239)===_0x417c01?/^\w+/:/\w+$/;}else{if(_0x47edbf)break;_0x41f763+=_0x4a8770[_0x1ef264(0x1d0)];}}else{if(_0x4a8770['is'](_0x1ef264(0x27b))){_0x3d753f[_0x1ef264(0x1cb)](_0x4a8770)&&!_0x47edbf&&(_0x41f763+=0x1);break;}}_0x4d201a+=_0x41f763,_0x6fe276[_0x1ef264(0x224)](_0x4e8633[_0x1ef264(0x2a3)](_0x1ef264(0x239)===_0x417c01?_0x4d201a:-_0x4d201a));}return _0x4d201a;}[_0xcf4cc3(0x26d)](_0x1196d2,_0x597fd3){const _0x2b0f14=_0xcf4cc3,_0x20f328=_0x3df94b(this[_0x2b0f14(0x265)])[_0x2b0f14(0x1cc)][_0x2b0f14(0x27c)],_0x5226f5=this[_0x2b0f14(0x241)](_0x1196d2,_0x2b0f14(0x1d1),_0x20f328,0x6),_0x429511=this[_0x2b0f14(0x241)](_0x597fd3,_0x2b0f14(0x239),_0x20f328,0x6),_0x29ce81=_0x1196d2[_0x2b0f14(0x2a3)](-_0x5226f5),_0x20537b=_0x597fd3[_0x2b0f14(0x2a3)](_0x429511);return{'start':_0x29ce81,'end':_0x20537b,'hasContentBefore':!_0x29ce81[_0x2b0f14(0x29e)],'hasContentAfter':!_0x20537b[_0x2b0f14(0x263)]};}[_0xcf4cc3(0x240)](_0x54a83d){const _0x44b29a=_0xcf4cc3,_0x5afc73=this[_0x44b29a(0x265)][_0x44b29a(0x23d)][_0x44b29a(0x211)](_0x44b29a(0x24d)),_0x5b6c65=new Set();_0x3df94b(this[_0x44b29a(0x265)])[_0x44b29a(0x1cc)][_0x44b29a(0x234)](_0x1416c4=>{const _0x4bf082=_0x44b29a;for(const _0x66fc00 of _0x54a83d){const _0x5892f3=''+ue+_0x66fc00[_0x4bf082(0x21e)]+':'+_0x66fc00[_0x4bf082(0x282)]+'_'+_0x5afc73[_0x4bf082(0x267)](_0x5b6c65);this[_0x4bf082(0x254)][_0x4bf082(0x200)](_0x5892f3,{'id':_0x5892f3,'groupId':_0x66fc00[_0x4bf082(0x282)],'type':_0x66fc00[_0x4bf082(0x21e)],'text':_0x66fc00[_0x4bf082(0x280)]}),_0x1416c4[_0x4bf082(0x229)](_0x5892f3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1416c4[_0x4bf082(0x21f)](_0x66fc00[_0x4bf082(0x1cd)],_0x66fc00[_0x4bf082(0x271)])});}});}[_0xcf4cc3(0x216)](_0x56ce73,_0xe65321,_0x243431){let _0x48fef8='';return()=>{const _0x21a989=_0x20fd;if(!_0x48fef8){const _0x5818f6=_0xe65321[_0x21a989(0x293)](_0x56ce73,{'showSuggestionHighlights':!0x0}),_0x1086f1=_0x5818f6[_0x21a989(0x2a1)](0x0);if(!_0x1086f1)return'';let _0x46eec9=!0x1;const _0x28328a=[];for(const _0x3e4a94 of _0x1086f1[_0x21a989(0x232)]())_0x3e4a94['is'](_0x21a989(0x27b),_0x21a989(0x1de))&&_0x3e4a94[_0x21a989(0x1e1)](_0x21a989(0x276))&&(_0x46eec9=!0x1),_0x46eec9&&_0x28328a[_0x21a989(0x269)](_0x3e4a94),_0x3e4a94['is'](_0x21a989(0x27b),_0x21a989(0x1de))&&_0x3e4a94[_0x21a989(0x1e1)](_0x21a989(0x278))&&(_0x46eec9=!0x0);_0x1086f1[_0x21a989(0x1df)](0x0,_0x1086f1[_0x21a989(0x25a)]),_0x243431?.[_0x21a989(0x243)]&&_0x1086f1[_0x21a989(0x231)]('…'),_0x1086f1[_0x21a989(0x231)](_0x28328a),_0x243431?.[_0x21a989(0x25c)]&&_0x1086f1[_0x21a989(0x231)]('…');const _0x6ddcf3=_0xe65321[_0x21a989(0x292)][_0x21a989(0x23e)][_0x21a989(0x253)](_0x5818f6),_0x16e52a=_0xe65321[_0x21a989(0x292)][_0x21a989(0x207)][_0x21a989(0x21b)](_0x6ddcf3);_0x48fef8=_0x16e52a;}return _0x48fef8;};}[_0xcf4cc3(0x29f)](_0x3ab365,_0x28e206){const _0x2d250a=_0xcf4cc3;let _0x55dad5='';return()=>(_0x55dad5||(_0x55dad5=_0x28e206[_0x2d250a(0x285)](_0x3ab365,{'showSuggestionHighlights':!0x0})),_0x55dad5);}[_0xcf4cc3(0x262)](_0x28b0ef,_0x155033,_0x35bce3){let _0x4172ac='';return()=>{const _0x2a73b5=_0x20fd;if(!_0x4172ac){const _0x48d01e=_0x35bce3[_0x2a73b5(0x293)](new _0x12da2a(_0x28b0ef)),_0x16558f=_0x35bce3[_0x2a73b5(0x292)][_0x2a73b5(0x23e)][_0x2a73b5(0x253)](_0x48d01e)[_0x2a73b5(0x1f4)](_0x2a73b5(0x29c)+_0x155033+'\x22]');_0x4172ac=_0x16558f?.[_0x2a73b5(0x1ef)]||'';}return _0x4172ac;};}[_0xcf4cc3(0x22d)](_0x284db2,_0x197ecf=0x5){const _0x5a4604=_0xcf4cc3;let _0x254b81=_0x284db2,_0xb8f5be=null;for(let _0x1f4be8=0x0;_0x1f4be8<_0x197ecf&&_0x254b81;_0x1f4be8++){if(!_0x254b81[_0x5a4604(0x1d4)]){_0x254b81=_0x254b81[_0x5a4604(0x286)];continue;}if(!(''+_0x254b81[_0x5a4604(0x1d4)])[_0x5a4604(0x283)](_0x5a4604(0x25b))){_0x254b81=_0x254b81[_0x5a4604(0x286)];continue;}if(!_0x254b81[_0x5a4604(0x25d)](_0x5a4604(0x29d)))break;_0xb8f5be=_0x254b81;break;}return _0xb8f5be;}[_0xcf4cc3(0x20e)](_0x783e5f){const _0x2d7062=_0xcf4cc3;return Array[_0x2d7062(0x1ea)](this[_0x2d7062(0x254)][_0x2d7062(0x24b)]())[_0x2d7062(0x1dc)](_0x5ab609=>_0x5ab609[_0x2d7062(0x282)]===_0x783e5f);}[_0xcf4cc3(0x26f)](_0x894b73){const _0x31ae3e=_0xcf4cc3;return _0x31ae3e(0x20c)===_0x894b73[_0x31ae3e(0x21e)]?_0x894b73[_0x31ae3e(0x1eb)]:_0x894b73[_0x31ae3e(0x1fd)][_0x31ae3e(0x1cd)];}[_0xcf4cc3(0x248)](_0x1d99cf,_0x532d90=!0x1){const _0x56a80b=_0xcf4cc3;return _0x56a80b(0x20c)===_0x1d99cf[_0x56a80b(0x21e)]?_0x532d90?_0x1d99cf[_0x56a80b(0x1eb)]:_0x1d99cf[_0x56a80b(0x1eb)][_0x56a80b(0x2a3)](_0x1d99cf[_0x56a80b(0x27e)]):_0x1d99cf[_0x56a80b(0x1fd)][_0x56a80b(0x271)];}[_0xcf4cc3(0x27d)](_0x1f1bd0,_0x248a27){const _0x7867b4=_0xcf4cc3;return _0x7867b4(0x20c)===_0x1f1bd0[_0x7867b4(0x21e)]?_0x1f1bd0[_0x7867b4(0x1eb)]=_0x1f1bd0[_0x7867b4(0x1eb)][_0x7867b4(0x2a3)](_0x248a27):_0x7867b4(0x218)===_0x1f1bd0[_0x7867b4(0x21e)]&&_0x1f1bd0[_0x7867b4(0x1fd)]&&(_0x1f1bd0[_0x7867b4(0x1fd)]=new _0x3c5abf(_0x1f1bd0[_0x7867b4(0x1fd)][_0x7867b4(0x1cd)][_0x7867b4(0x2a3)](_0x248a27),_0x1f1bd0[_0x7867b4(0x1fd)][_0x7867b4(0x271)][_0x7867b4(0x2a3)](_0x248a27))),_0x1f1bd0;}[_0xcf4cc3(0x26e)](_0x333bb9,_0x377beb){const _0x57c667=_0xcf4cc3;_0x57c667(0x20c)===_0x333bb9[_0x57c667(0x21e)]?_0x333bb9[_0x57c667(0x1eb)]=this[_0x57c667(0x23f)](_0x333bb9[_0x57c667(0x1eb)],_0x377beb):_0x57c667(0x218)===_0x333bb9[_0x57c667(0x21e)]&&_0x333bb9[_0x57c667(0x1fd)]&&(_0x333bb9[_0x57c667(0x1fd)]=this[_0x57c667(0x1f9)](_0x333bb9[_0x57c667(0x1fd)],_0x377beb));}[_0xcf4cc3(0x23f)](_0x2d4912,_0x21432b){const _0x4e43f9=_0xcf4cc3;return new _0x41f9d9(_0x21432b,_0x2d4912[_0x4e43f9(0x20a)]);}[_0xcf4cc3(0x1f9)](_0x59d0ba,_0x509405){const _0x1e6939=_0xcf4cc3;return new _0x3c5abf(this[_0x1e6939(0x23f)](_0x59d0ba[_0x1e6939(0x1cd)],_0x509405),this[_0x1e6939(0x23f)](_0x59d0ba[_0x1e6939(0x271)],_0x509405));}[_0xcf4cc3(0x23a)](_0x32b0ac,_0x5c5e47,_0x2f1980){return new _0x41f9d9(_0x2f1980,[..._0x5c5e47]);}[_0xcf4cc3(0x220)](_0x40d132,_0x1c4a25,_0x5d0b43,_0x4d0a08){const _0x3b06f0=_0xcf4cc3;return new _0x3c5abf(this[_0x3b06f0(0x23a)](_0x40d132[_0x3b06f0(0x1cd)],_0x1c4a25,_0x4d0a08),this[_0x3b06f0(0x23a)](_0x40d132[_0x3b06f0(0x271)],_0x5d0b43,_0x4d0a08));}[_0xcf4cc3(0x225)](_0x53685f){const _0x3d76cb=_0xcf4cc3,_0x51419d=_0x542356=>{const _0x54b582=_0x20fd;switch(_0x542356){case _0x54b582(0x20c):return 0x1;case _0x54b582(0x298):return 0x2;case _0x54b582(0x2a5):return 0x3;case _0x54b582(0x1e3):return 0x4;}};return _0x53685f[_0x3d76cb(0x204)]((_0x1da01b,_0x4f7117)=>_0x51419d(_0x1da01b[_0x3d76cb(0x21e)])-_0x51419d(_0x4f7117[_0x3d76cb(0x21e)]));}}
|