@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/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/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2290(){const _0x404e31=['1460100KiGqRR','bind','AI_TABS_LABEL_MAXIMIZE','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','execute','2357988yKJqEb','37460520UfiMHD','fire','icon','label','2492fDSVOU','5804322vHAoNb','isMaximized','resizeTabs','isOn','22728Cpgtfn','798444qHNhes','set','72cHCRtK','AI_TABS_LABEL_MINIMIZE','145036wkTqEV'];_0x2290=function(){return _0x404e31;};return _0x2290();}(function(_0x5b8201,_0x316e41){const _0x1e4868=_0x26ce,_0x52bfd6=_0x5b8201();while(!![]){try{const _0x149d8a=parseInt(_0x1e4868(0x19b))/0x1+-parseInt(_0x1e4868(0x190))/0x2+parseInt(_0x1e4868(0x19d))/0x3*(-parseInt(_0x1e4868(0x18a))/0x4)+-parseInt(_0x1e4868(0x18b))/0x5+-parseInt(_0x1e4868(0x196))/0x6+parseInt(_0x1e4868(0x195))/0x7*(-parseInt(_0x1e4868(0x19a))/0x8)+parseInt(_0x1e4868(0x191))/0x9;if(_0x149d8a===_0x316e41)break;else _0x52bfd6['push'](_0x52bfd6['shift']());}catch(_0x1e3ba0){_0x52bfd6['push'](_0x52bfd6['shift']());}}}(_0x2290,0x9c6c7));import{ButtonView as _0x2a5648}from'ckeditor5/src/ui.js';import{IconMaximize as _0x4a95ec,IconMinimize as _0x149d23}from'ckeditor5/src/icons.js';import{getTranslation as _0x44c5d1}from'../../aicore/utils/common-translations.js';function _0x26ce(_0xf4b822,_0x4ed489){const _0x2290be=_0x2290();return _0x26ce=function(_0x26ce5c,_0x3cc494){_0x26ce5c=_0x26ce5c-0x18a;let _0x231053=_0x2290be[_0x26ce5c];return _0x231053;},_0x26ce(_0xf4b822,_0x4ed489);}export function createResizeButton(_0x36b480,_0x1fc020){const _0x463b95=_0x26ce,_0xd66c23=new _0x2a5648(_0x36b480),_0x710094=_0x44c5d1(_0x36b480,_0x463b95(0x19e)),_0x56865d=_0x44c5d1(_0x36b480,_0x463b95(0x18d));return _0xd66c23[_0x463b95(0x19c)]({'withText':!0x1,'icon':_0x4a95ec,'tooltip':!0x0,'class':_0x463b95(0x18e)}),_0xd66c23[_0x463b95(0x18c)](_0x463b95(0x194))['to'](_0x1fc020,_0x463b95(0x197),_0x120bf3=>_0x120bf3?_0x710094:_0x56865d),_0xd66c23[_0x463b95(0x18c)](_0x463b95(0x193))['to'](_0x1fc020,_0x463b95(0x197),_0x2f5807=>_0x2f5807?_0x149d23:_0x4a95ec),_0xd66c23[_0x463b95(0x18c)](_0x463b95(0x199))['to'](_0x1fc020,_0x463b95(0x197)),_0xd66c23['on'](_0x463b95(0x18f),()=>{const _0x22addd=_0x463b95;_0x1fc020[_0x22addd(0x192)](_0x22addd(0x198));}),_0xd66c23;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb064e2=_0x5088;(function(_0x3cb48f,_0x3ecf09){const _0x2a73d9=_0x5088,_0x4894e9=_0x3cb48f();while(!![]){try{const _0x476577=-parseInt(_0x2a73d9(0x159))/0x1+-parseInt(_0x2a73d9(0x16d))/0x2*(-parseInt(_0x2a73d9(0x170))/0x3)+-parseInt(_0x2a73d9(0x173))/0x4+-parseInt(_0x2a73d9(0x160))/0x5+parseInt(_0x2a73d9(0x169))/0x6+parseInt(_0x2a73d9(0x16c))/0x7*(-parseInt(_0x2a73d9(0x15a))/0x8)+-parseInt(_0x2a73d9(0x164))/0x9*(-parseInt(_0x2a73d9(0x161))/0xa);if(_0x476577===_0x3ecf09)break;else _0x4894e9['push'](_0x4894e9['shift']());}catch(_0x128596){_0x4894e9['push'](_0x4894e9['shift']());}}}(_0x33ab,0x32ae3));function _0x33ab(){const _0x55995b=['239640qWhvtW','push','createAt','28lNekDX','284SZQwry','isEqual','path','3708NSrOGY','previousNode','document','1411576KAxmgK','firstChild','createFromPath','data','reverse','start','createBefore','63249NuQBJb','19288IeJSzH','length','parent','createAfter','forEach','slice','107850VXiAzr','40ZVTCdG','getContent','end','988857mNfeJs','nextNode','includes','lastChild','getNudgedToWordBoundary'];_0x33ab=function(){return _0x55995b;};return _0x33ab();}function _0x5088(_0xeb38aa,_0x53729d){const _0x33abd1=_0x33ab();return _0x5088=function(_0x50885f,_0x211adb){_0x50885f=_0x50885f-0x155;let _0x420061=_0x33abd1[_0x50885f];return _0x420061;},_0x5088(_0xeb38aa,_0x53729d);}import{DocumentPosition as _0x53c371}from'./documentposition.js';import{clone as _0x423c25,getParents as _0x54d66f,Document as _0x20f8fe,Text as _0x3e0bbb,isTag as _0x139586,isText as _0x3c416f,replaceElement as _0x56c0cb,removeElement as _0x1f77c7}from'./htmlparser.js';export class DocumentRange{[_0xb064e2(0x157)];[_0xb064e2(0x163)];constructor(_0x1c2817,_0xdc2fa0){const _0x26e45c=_0xb064e2;this[_0x26e45c(0x157)]=_0x1c2817,this[_0x26e45c(0x163)]=_0xdc2fa0;}[_0xb064e2(0x16e)](_0x1e595a){const _0x403481=_0xb064e2;return this==_0x1e595a||this[_0x403481(0x157)][_0x403481(0x16e)](_0x1e595a[_0x403481(0x157)])&&this[_0x403481(0x163)][_0x403481(0x16e)](_0x1e595a[_0x403481(0x163)]);}[_0xb064e2(0x168)](){const _0x3a6d4f=_0xb064e2;return new DocumentRange(this[_0x3a6d4f(0x157)][_0x3a6d4f(0x168)](_0x3a6d4f(0x157)),this[_0x3a6d4f(0x163)][_0x3a6d4f(0x168)](_0x3a6d4f(0x163)));}[_0xb064e2(0x162)](){const _0x25d53a=_0xb064e2,_0x234d03=_0x423c25(this[_0x25d53a(0x157)][_0x25d53a(0x172)]),_0x12cad0=_0x53c371[_0x25d53a(0x175)](_0x234d03,this[_0x25d53a(0x157)][_0x25d53a(0x16f)]),_0x2c96c3=_0x53c371[_0x25d53a(0x175)](_0x234d03,this[_0x25d53a(0x163)][_0x25d53a(0x16f)]);let _0x4acd24,_0x3ab887;if(_0x3c416f(_0x12cad0[_0x25d53a(0x15c)])){const _0x472ed9=_0x12cad0[_0x25d53a(0x16f)][_0x12cad0[_0x25d53a(0x16f)][_0x25d53a(0x15b)]-0x1],_0x37dae7=new _0x3e0bbb(_0x12cad0[_0x25d53a(0x15c)][_0x25d53a(0x155)][_0x25d53a(0x15f)](_0x472ed9));_0x56c0cb(_0x12cad0[_0x25d53a(0x15c)],_0x37dae7),_0x4acd24=_0x37dae7;}else _0x4acd24=_0x12cad0[_0x25d53a(0x165)];if(_0x3c416f(_0x2c96c3[_0x25d53a(0x15c)])){const _0x5098e6=_0x2c96c3[_0x25d53a(0x16f)][_0x2c96c3[_0x25d53a(0x16f)][_0x25d53a(0x15b)]-0x1],_0x23dfcc=new _0x3e0bbb(_0x2c96c3[_0x25d53a(0x15c)][_0x25d53a(0x155)][_0x25d53a(0x15f)](0x0,_0x5098e6));_0x56c0cb(_0x2c96c3[_0x25d53a(0x15c)],_0x23dfcc),_0x3ab887=_0x23dfcc;}else _0x3ab887=_0x2c96c3[_0x25d53a(0x171)];if(!(_0x4acd24&&_0x3ab887&&_0x234d03[_0x25d53a(0x174)]&&_0x234d03[_0x25d53a(0x167)]))return new _0x20f8fe([]);const _0x3f541f=_0x54d66f(_0x4acd24),_0xc74810=_0x54d66f(_0x3ab887),_0x40428d=[],_0x1c93b2=[];let _0x507325=_0x234d03[_0x25d53a(0x174)];for(;_0x507325&&_0x507325!==_0x4acd24;){let _0x25cf08;_0x3f541f[_0x25d53a(0x166)](_0x507325)||_0x40428d[_0x25d53a(0x16a)](_0x507325),_0x25cf08=_0x139586(_0x507325)?_0x53c371[_0x25d53a(0x16b)](_0x234d03,_0x507325,_0x25d53a(0x157)):_0x53c371[_0x25d53a(0x15d)](_0x234d03,_0x507325),_0x507325=_0x25cf08?_0x25cf08[_0x25d53a(0x165)]:null;}for(_0x507325=_0x234d03[_0x25d53a(0x167)];_0x507325&&_0x507325!==_0x3ab887;){let _0x2ed8d5;_0xc74810[_0x25d53a(0x166)](_0x507325)||_0x1c93b2[_0x25d53a(0x16a)](_0x507325),_0x2ed8d5=_0x139586(_0x507325)?_0x53c371[_0x25d53a(0x16b)](_0x234d03,_0x507325,_0x25d53a(0x163)):_0x53c371[_0x25d53a(0x158)](_0x234d03,_0x507325),_0x507325=_0x2ed8d5?_0x2ed8d5[_0x25d53a(0x171)]:null;}return _0x40428d[_0x25d53a(0x15e)](_0x19ec3e=>{_0x1f77c7(_0x19ec3e);}),_0x1c93b2[_0x25d53a(0x156)]()[_0x25d53a(0x15e)](_0x137d83=>{_0x1f77c7(_0x137d83);}),_0x234d03;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xac76a1,_0x5eef66){var _0x43f0fd=_0xa0ee,_0x442de2=_0xac76a1();while(!![]){try{var _0x312c3d=-parseInt(_0x43f0fd(0x140))/0x1*(parseInt(_0x43f0fd(0x137))/0x2)+parseInt(_0x43f0fd(0x138))/0x3+-parseInt(_0x43f0fd(0x13c))/0x4+parseInt(_0x43f0fd(0x132))/0x5*(parseInt(_0x43f0fd(0x141))/0x6)+-parseInt(_0x43f0fd(0x134))/0x7*(parseInt(_0x43f0fd(0x133))/0x8)+-parseInt(_0x43f0fd(0x131))/0x9*(parseInt(_0x43f0fd(0x13e))/0xa)+parseInt(_0x43f0fd(0x135))/0xb;if(_0x312c3d===_0x5eef66)break;else _0x442de2['push'](_0x442de2['shift']());}catch(_0x20d431){_0x442de2['push'](_0x442de2['shift']());}}}(_0x245a,0x99b3d));function _0x245a(){var _0x3d22f7=['get','127xjsNII','354fhTuMA','369hMBClF','1895YSWMwA','24tnCdjv','968513uamZyG','6984406rxawCF','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','1206uJmUcd','2631861gqplma','editors','length','ai-get-editor-from-context-no-editor','1169356DMUGur','warn','29520QkFvoR'];_0x245a=function(){return _0x3d22f7;};return _0x245a();}import{CKEditorError as _0x2fd65b}from'ckeditor5/src/utils.js';import{Editor as _0x261bae}from'ckeditor5/src/core.js';function _0xa0ee(_0x84697b,_0x383821){var _0x245a58=_0x245a();return _0xa0ee=function(_0xa0eede,_0x5f4ea6){_0xa0eede=_0xa0eede-0x131;var _0x13c977=_0x245a58[_0xa0eede];return _0x13c977;},_0xa0ee(_0x84697b,_0x383821);}export function getEditorFromContext(_0x54840a){var _0x2f0585=_0xa0ee;if(_0x54840a instanceof _0x261bae)return _0x54840a;if(_0x54840a?.[_0x2f0585(0x139)]&&_0x54840a[_0x2f0585(0x139)][_0x2f0585(0x13f)](0x0))return _0x54840a[_0x2f0585(0x139)][_0x2f0585(0x13a)]>0x1&&console[_0x2f0585(0x13d)](_0x2f0585(0x136)),_0x54840a[_0x2f0585(0x139)][_0x2f0585(0x13f)](0x0);throw new _0x2fd65b(_0x2f0585(0x13b));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1b577b,_0x24c90a){const _0x34e455=_0x5534,_0xd61cc8=_0x1b577b();while(!![]){try{const _0x34f64f=parseInt(_0x34e455(0x12c))/0x1+parseInt(_0x34e455(0x129))/0x2*(parseInt(_0x34e455(0x143))/0x3)+parseInt(_0x34e455(0x135))/0x4*(parseInt(_0x34e455(0x12d))/0x5)+parseInt(_0x34e455(0x134))/0x6+parseInt(_0x34e455(0x137))/0x7*(parseInt(_0x34e455(0x132))/0x8)+-parseInt(_0x34e455(0x128))/0x9*(parseInt(_0x34e455(0x12f))/0xa)+parseInt(_0x34e455(0x13d))/0xb*(-parseInt(_0x34e455(0x122))/0xc);if(_0x34f64f===_0x24c90a)break;else _0xd61cc8['push'](_0xd61cc8['shift']());}catch(_0x1a32d2){_0xd61cc8['push'](_0xd61cc8['shift']());}}}(_0x578d,0x3df91));function _0x5534(_0x487340,_0x4c242a){const _0x578d3d=_0x578d();return _0x5534=function(_0x5534fa,_0x38817c){_0x5534fa=_0x5534fa-0x121;let _0x257b29=_0x578d3d[_0x5534fa];return _0x257b29;},_0x5534(_0x487340,_0x4c242a);}import{transformOperationSets as _0x5969fa}from'ckeditor5/src/engine.js';function _0x578d(){const _0x1d86bc=['11bfViAt','getOperations','map','documentContextContent','operationsA','content','3624kjNLeN','name','type','get','oldRange','marker','node','6808884xaVEpu','model','data-id','shift','markers','previousSibling','1476OrqPzE','20XjmThP','cloneNode','getDocumentContext','383663XKLvJQ','25hJFROb','history','21730EwxImc','length','document','168uyNTfP','anchorId','200886afgFKW','396092JIvrxM','getRange','84427ZWLADd','getDiff','new','filter','removed','version'];_0x578d=function(){return _0x1d86bc;};return _0x578d();}import{append as _0xed3855,findByAttribute as _0x3d8c13,prependChild as _0x179400,removeElement as _0x303628,serialize as _0x68ebba}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x5ad2c1,interaction:_0x3c32a0,reply:_0x293229,groups:_0x5cdb72,transform:_0x56050a,documentCompare:_0x31c618,documentCompareOptions:_0x483ecd}){const _0x3e4aa4=_0x5534,_0x4f4289=_0x3c32a0[_0x3e4aa4(0x12b)]();if(!_0x4f4289)return[];const _0x48f5dc=_0x4f4289[_0x3e4aa4(0x142)],_0xf187c8=_0x4f4289[_0x3e4aa4(0x13c)],_0x5a6399=_0x293229[_0x3e4aa4(0x140)][_0x3e4aa4(0x12a)](!0x0);for(const {changes:_0x39bcd8}of _0x5cdb72){const _0x50a1f2=_0x39bcd8[_0x3e4aa4(0x13a)](_0x15d7e4=>_0x3e4aa4(0x139)!=_0x15d7e4[_0x3e4aa4(0x145)])[_0x3e4aa4(0x13f)](_0x1dd642=>_0x3d8c13(_0x3e4aa4(0x124),_0x1dd642['id'],_0x5a6399)),_0x16f653=_0x39bcd8[_0x3e4aa4(0x13a)](_0x6c5bd5=>_0x3e4aa4(0x13b)!=_0x6c5bd5[_0x3e4aa4(0x145)])[_0x3e4aa4(0x13f)](_0x1b429e=>_0x1b429e[_0x3e4aa4(0x121)][_0x3e4aa4(0x12a)](!0x0));let _0x23e7d5=null;if(_0x50a1f2[_0x3e4aa4(0x130)]){_0x23e7d5=_0x50a1f2[0x0][_0x3e4aa4(0x127)];for(let _0x3ab929=0x0;_0x3ab929<_0x50a1f2[_0x3e4aa4(0x130)];_0x3ab929++)_0x303628(_0x50a1f2[_0x3ab929]);}if(_0x16f653[_0x3e4aa4(0x130)]){_0x23e7d5||(_0x39bcd8[0x0][_0x3e4aa4(0x133)]?_0x23e7d5=_0x3d8c13(_0x3e4aa4(0x124),_0x39bcd8[0x0][_0x3e4aa4(0x133)],_0x5a6399):(_0x23e7d5=_0x16f653[_0x3e4aa4(0x125)](),_0x179400(_0x5a6399,_0x23e7d5)));for(let _0x3df66d=0x0;_0x3df66d<_0x16f653[_0x3e4aa4(0x130)];_0x3df66d++)_0xed3855(_0x23e7d5,_0x16f653[_0x3df66d]),_0x23e7d5=_0x16f653[_0x3df66d];}}const _0x266e43=_0x68ebba(_0x5a6399),_0x23dcb7=_0x31c618[_0x3e4aa4(0x138)](_0x48f5dc,_0x266e43,_0x483ecd)[_0x3e4aa4(0x13e)]();if(_0x56050a){const _0x44354b=_0x5ad2c1[_0x3e4aa4(0x123)][_0x3e4aa4(0x131)][_0x3e4aa4(0x12e)][_0x3e4aa4(0x13e)](_0xf187c8),_0x4e3978={'document':_0x5ad2c1[_0x3e4aa4(0x123)][_0x3e4aa4(0x131)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x5969fa(_0x23dcb7,_0x44354b,_0x4e3978)[_0x3e4aa4(0x141)];}return _0x23dcb7;}export function fixMarkerOperationOldRange(_0x2a8d96,_0xd5f4bd){const _0x4996b6=_0x5534;if(_0x4996b6(0x148)!=_0xd5f4bd[_0x4996b6(0x145)])return;const _0x226758=_0x2a8d96[_0x4996b6(0x123)][_0x4996b6(0x126)][_0x4996b6(0x146)](_0xd5f4bd[_0x4996b6(0x144)]);_0x226758&&(_0xd5f4bd[_0x4996b6(0x147)]=_0x226758[_0x4996b6(0x136)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x2edddc,_0x2ec45d){const _0x4ac68d=_0x50a5,_0x174ab8=_0x2edddc();while(!![]){try{const _0x5f3327=-parseInt(_0x4ac68d(0x156))/0x1*(parseInt(_0x4ac68d(0x172))/0x2)+parseInt(_0x4ac68d(0x161))/0x3+-parseInt(_0x4ac68d(0x16b))/0x4*(parseInt(_0x4ac68d(0x187))/0x5)+-parseInt(_0x4ac68d(0x175))/0x6+parseInt(_0x4ac68d(0x1a3))/0x7+parseInt(_0x4ac68d(0x182))/0x8*(-parseInt(_0x4ac68d(0x1be))/0x9)+-parseInt(_0x4ac68d(0x186))/0xa*(-parseInt(_0x4ac68d(0x15b))/0xb);if(_0x5f3327===_0x2ec45d)break;else _0x174ab8['push'](_0x174ab8['shift']());}catch(_0x4f14e5){_0x174ab8['push'](_0x174ab8['shift']());}}}(_0x8e93,0xe6d34));import{findOne as _0x191545,getAttribute as _0x243042,Document as _0x1a4aff,serialize as _0x2d8c29,parse as _0x59662c}from'./htmlparser.js';import{fixElementSuggestionRange as _0x54c4a6}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x3e53ab,_DetachOperation as _0x1044e1,_removeFromModelNodeList as _0x2099db,_insertIntoModelNodeList as _0x3b81ca}from'ckeditor5/src/engine.js';import{uid as _0x47a96c}from'ckeditor5/src/utils.js';function _0x50a5(_0x5100f4,_0x400778){const _0x8e9326=_0x8e93();return _0x50a5=function(_0x50a5f4,_0x5eefdf){_0x50a5f4=_0x50a5f4-0x14a;let _0x235b11=_0x8e9326[_0x50a5f4];return _0x235b11;},_0x50a5(_0x5100f4,_0x400778);}export function getSuggestionPartsFromReply({editor:_0x383622,changeGroups:_0x5dabb4,documentContextContent:_0x4cba9a,showDiff:_0x323acd,trimUnchanged:_0x25e173=!0x0}){const _0x459ec1=_0x50a5;return _0x5dabb4[_0x459ec1(0x19c)](_0x925bba=>{const _0x4a8cb7=_0x459ec1,_0x229e57=new _0x1a4aff([]),_0x3b06dd=new _0x1a4aff([]);for(const _0x4b60ad of _0x925bba[_0x4a8cb7(0x16a)])if(_0x323acd&&_0x4a8cb7(0x150)==_0x4b60ad[_0x4a8cb7(0x17d)]||_0x3b06dd[_0x4a8cb7(0x160)][_0x4a8cb7(0x198)](_0x4b60ad[_0x4a8cb7(0x19f)][_0x4a8cb7(0x19e)](!0x0)),_0x4a8cb7(0x1a1)!=_0x4b60ad[_0x4a8cb7(0x17d)]&&(_0x323acd||_0x4a8cb7(0x150)!=_0x4b60ad[_0x4a8cb7(0x17d)])){const _0x157ff9=_0x191545(_0x5d7279=>_0x243042(_0x5d7279,_0x4a8cb7(0x1a0))==_0x4b60ad['id'],_0x4cba9a,!0x0);_0x157ff9&&_0x229e57[_0x4a8cb7(0x160)][_0x4a8cb7(0x198)](_0x157ff9[_0x4a8cb7(0x19e)](!0x0));}const {content:_0xff42f9,hasChanges:_0x3d0b87}=function(_0xeae213,_0x4ff846,_0x460b29,_0x26cc7c,_0x38592f=!0x0){const _0x3ee7d9=_0x4a8cb7,_0x9f8364=_0xeae213[_0x3ee7d9(0x14a)][_0x3ee7d9(0x170)](_0x3ee7d9(0x15f)),_0x4e020a=_0x2d8c29(_0x4ff846),_0x2edaf8=_0x2d8c29(_0x460b29),_0x60addc=_0xeae213[_0x3ee7d9(0x179)][_0x3ee7d9(0x19b)](_0x4e020a,_0x3ee7d9(0x18c)),_0xd595b6=_0xeae213[_0x3ee7d9(0x153)][_0x3ee7d9(0x17b)](_0x60addc,0x0),_0x2b6c22=_0x9f8364[_0x3ee7d9(0x167)](_0x4e020a,_0x2edaf8,{'anchor':_0xd595b6,'markDeletions':_0x26cc7c}),_0x2b1286=_0x2b6c22[_0x3ee7d9(0x15e)]();if(0x0==_0x2b1286[_0x3ee7d9(0x159)])return{'content':_0x4ff846[_0x3ee7d9(0x19e)](!0x0),'hasChanges':!0x1};_0x26cc7c?function(_0x1a18d5,_0xa32a97,_0x3e12bd){const _0x4c21d3=_0x3ee7d9;if(0x0==_0x1a18d5[_0x4c21d3(0x159)])return;const _0x30a671=_0x3e12bd[_0x4c21d3(0x14a)][_0x4c21d3(0x170)](_0x4c21d3(0x15f)),_0x58611f=_0x3e12bd[_0x4c21d3(0x14a)][_0x4c21d3(0x170)](_0x4c21d3(0x18f));_0x3e12bd[_0x4c21d3(0x153)][_0x4c21d3(0x193)](_0x429b10=>{const _0x1835f6=_0x4c21d3,_0x142fa5=new Set();for(let _0x7ebd98=0x0;_0x7ebd98<_0x1a18d5[_0x1835f6(0x159)];_0x7ebd98++){const _0x3c5c5e=_0x1a18d5[_0x7ebd98];if(_0x3c5c5e[_0x1835f6(0x1bd)]=null,_0x3c5c5e[_0x1835f6(0x17a)]=!0x1,_0x30a671[_0x1835f6(0x16c)](_0x3c5c5e)){const _0xa0885f=_0x54c4a6(_0x3c5c5e[_0x1835f6(0x174)],_0x3e12bd[_0x1835f6(0x153)]),_0x4bdbaf=_0x1835f6(0x1ae)+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x4bdbaf,_0xa0885f);}else switch(_0x3c5c5e[_0x1835f6(0x17d)]){case _0x1835f6(0x1ad):{if(_0x3c5c5e[_0x1835f6(0x1a9)]==_0x3c5c5e[_0x1835f6(0x1a2)])break;_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e);const _0x2f9247=_0x1835f6(0x158),_0x5b0949=_0x3c5c5e[_0x1835f6(0x1aa)],_0x2ae876=_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1ba)](_0x5b0949,_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x17b)](_0x5b0949[_0x1835f6(0x1b4)],_0x1835f6(0x19d))),_0x3e1710=_0x1835f6(0x1bf)+_0x2f9247+':'+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x3e1710,_0x2ae876);break;}case _0x1835f6(0x190):case _0x1835f6(0x17c):case _0x1835f6(0x15a):{if(_0x3c5c5e[_0x1835f6(0x1af)]==_0x3c5c5e[_0x1835f6(0x157)])break;_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e);const _0xbef9d3=_0x3c5c5e[_0x1835f6(0x194)];if(!_0x58611f[_0x1835f6(0x1b2)](_0xbef9d3))break;const _0x1aaafc=_0x54c4a6(_0x3c5c5e[_0x1835f6(0x155)],_0x3e12bd[_0x1835f6(0x153)]),_0x235e6a=_0x1835f6(0x1bf)+_0xbef9d3+':'+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x235e6a,_0x1aaafc);break;}case _0x1835f6(0x1ab):{_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e);if(_0x1a18d5[_0x7ebd98+0x1]&&_0x1835f6(0x162)==_0x1a18d5[_0x7ebd98+0x1][_0x1835f6(0x17d)]){ro(_0xa32a97,_0x3c5c5e);break;}const _0x1e039d=_0x3c5c5e[_0x1835f6(0x1aa)],_0x28f200=_0x3c5c5e[_0x1835f6(0x191)],_0x483f17=_0x54c4a6(_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1ba)](_0x1e039d,_0x1e039d[_0x1835f6(0x154)](_0x28f200)),_0x3e12bd[_0x1835f6(0x153)]),_0x3fb490=_0x1835f6(0x14e)+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x3fb490,_0x483f17);break;}case _0x1835f6(0x1b6):{_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e);const _0x3c4e16=_0x3c5c5e[_0x1835f6(0x183)],_0x3c9a6b=_0x3c5c5e[_0x1835f6(0x1bc)],_0x7a46a6=_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1ba)](_0x3c4e16,_0x3c9a6b),_0x333c02=_0x1835f6(0x14e)+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x333c02,_0x7a46a6);break;}case _0x1835f6(0x162):{_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e),_0x1a18d5[_0x7ebd98-0x1]&&_0x1835f6(0x1ab)==_0x1a18d5[_0x7ebd98-0x1][_0x1835f6(0x17d)]&&ro(_0xa32a97,_0x3c5c5e);const _0x29f2c8=_0x3c5c5e[_0x1835f6(0x1b0)](),_0x3a46bb=_0x3c5c5e[_0x1835f6(0x191)];for(let _0x5d26e1=0x0;_0x5d26e1<_0x3a46bb;_0x5d26e1++){const _0x26c856=_0x29f2c8[_0x1835f6(0x154)](_0x5d26e1)[_0x1835f6(0x1b4)];_0x142fa5[_0x1835f6(0x16f)](_0x26c856);}break;}case _0x1835f6(0x196):{const _0x5de2a5=_0x3c5c5e[_0x1835f6(0x173)],_0x536665=_0x3c5c5e[_0x1835f6(0x191)],_0x35c221=new _0x1044e1(_0x5de2a5,_0x536665);_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x35c221),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x35c221);break;}}}for(const _0x3af2f3 of _0x142fa5){const _0x22844c=_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x176)](_0x3af2f3),_0x450238=_0x1835f6(0x1b3)+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x450238,_0x54c4a6(_0x22844c,_0x3e12bd[_0x1835f6(0x153)]));}});}(_0x2b1286,_0x60addc,_0xeae213):_0xeae213[_0x3ee7d9(0x153)][_0x3ee7d9(0x193)](_0x14ac91=>{const _0x477096=_0x3ee7d9;for(const _0x5cea8d of _0x2b1286)if(_0x477096(0x196)==_0x5cea8d[_0x477096(0x17d)]){const _0x3b34b6=_0x5cea8d[_0x477096(0x173)],_0x2d20ae=_0x5cea8d[_0x477096(0x191)],_0x5745f5=new _0x1044e1(_0x3b34b6,_0x2d20ae);_0x14ac91[_0x477096(0x169)][_0x477096(0x189)](_0x5745f5),_0xeae213[_0x477096(0x153)][_0x477096(0x1b9)](_0x5745f5);}else{if(_0x477096(0x18a)==_0x5cea8d[_0x477096(0x17d)]){const _0x3dad7e=_0x5cea8d[_0x477096(0x171)],_0x362e95=_0x5cea8d[_0x477096(0x174)];_0x60addc[_0x477096(0x178)][_0x477096(0x180)](_0x3dad7e,_0x362e95);}else _0x5cea8d[_0x477096(0x1bd)]=null,_0x5cea8d[_0x477096(0x17a)]=!0x1,_0x14ac91[_0x477096(0x169)][_0x477096(0x189)](_0x5cea8d),_0xeae213[_0x477096(0x153)][_0x477096(0x1b9)](_0x5cea8d);}});if(_0x38592f){const _0x3cfe3c=getMinimalSelection(_0xeae213,_0x2b1286,_0x60addc);expandSelectionWithContext(_0xeae213[_0x3ee7d9(0x153)],_0x3cfe3c),function(_0x5aa77a,_0x1ba316){const _0x2a631f=_0x3ee7d9,_0x5951ab=_0x1ba316[_0x2a631f(0x1a5)]()[_0x2a631f(0x1b8)];let _0x457461=_0x1ba316[_0x2a631f(0x1a5)]()[_0x2a631f(0x19d)];const _0x2bc194=_0x5951ab[_0x2a631f(0x1b1)];(_0x457461[_0x2a631f(0x188)]||_0x457461[_0x2a631f(0x1b4)]&&_0x457461[_0x2a631f(0x1b4)]['is'](_0x2a631f(0x184)))&&(_0x3b81ca(_0x457461,_0x2a631f(0x1b5)),_0x457461=_0x457461[_0x2a631f(0x154)](0x3)),(_0x5951ab[_0x2a631f(0x188)]||_0x5951ab[_0x2a631f(0x197)]&&_0x5951ab[_0x2a631f(0x197)]['is'](_0x2a631f(0x184)))&&(_0x3b81ca(_0x5951ab,_0x2a631f(0x1b5)),function(_0x3b487c,_0x45eb89,_0x3116a7){const _0x3d71a4=_0x2a631f;for(let [_0x1414d6,_0x2ed4be]of _0x3b487c[_0x3d71a4(0x178)]){const _0x1163b8=_0x2ed4be[_0x3d71a4(0x163)](_0x45eb89,_0x3116a7,!0x1);_0x2ed4be=_0x1163b8[0x0],_0x3b487c[_0x3d71a4(0x178)][_0x3d71a4(0x180)](_0x1414d6,_0x2ed4be);}}(_0x2bc194,_0x5951ab,0x3),_0x5951ab[_0x2a631f(0x18b)]==_0x457461[_0x2a631f(0x18b)]&&(_0x457461=_0x457461[_0x2a631f(0x154)](0x3)));const _0x285992=_0x5aa77a[_0x2a631f(0x1ba)](_0x5aa77a[_0x2a631f(0x17b)](_0x2bc194,0x0),_0x5951ab),_0x2a2197=_0x5aa77a[_0x2a631f(0x1ba)](_0x457461,_0x5aa77a[_0x2a631f(0x17b)](_0x2bc194,_0x2a631f(0x19d))),_0x121673=[..._0x285992[_0x2a631f(0x1a7)](),..._0x2a2197[_0x2a631f(0x1a7)]()];_0x121673[_0x2a631f(0x165)]();for(const _0x4bb99c of _0x121673)_0x2099db(_0x4bb99c),_transformMarkersByDeletion(_0x2bc194,_0x4bb99c);}(_0xeae213[_0x3ee7d9(0x153)],_0x3cfe3c);}const _0x131bdd=_0xeae213[_0x3ee7d9(0x179)][_0x3ee7d9(0x14b)](_0x60addc,{'showSuggestionHighlights':!0x0});return{'content':_0x59662c(_0x131bdd),'hasChanges':!0x0};}(_0x383622,_0x229e57,_0x3b06dd,_0x323acd,_0x25e173);return{'type':_0x925bba[_0x4a8cb7(0x16a)][0x0][_0x4a8cb7(0x17d)],'index':_0x925bba[_0x4a8cb7(0x1a6)],'content':_0xff42f9,'hasChanges':_0x3d0b87};});}function ro(_0x349a11,_0x1bc78a){const _0x5d28a2=_0x50a5;for(const [_0x33a3e4,_0x1e5cf4]of _0x349a11[_0x5d28a2(0x178)]){const _0x184b2=_0x3e53ab[_0x5d28a2(0x199)](_0x1e5cf4[_0x5d28a2(0x192)](_0x1bc78a));_0x349a11[_0x5d28a2(0x178)][_0x5d28a2(0x180)](_0x33a3e4,_0x184b2);}}export function getMinimalSelection(_0x5d144a,_0x21945,_0x5d61e5){const _0x2ce1c1=_0x50a5,_0x5e3b00=_0x5d144a[_0x2ce1c1(0x14a)][_0x2ce1c1(0x170)](_0x2ce1c1(0x15f));let _0xabd46f=_0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x17b)](_0x5d61e5,Number[_0x2ce1c1(0x18d)]),_0x230a27=_0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x17b)](_0x5d61e5,0x0);for(const _0x59dd3c of _0x21945){let _0x10fb86,_0x4931bb;if(_0x5e3b00[_0x2ce1c1(0x16c)](_0x59dd3c))_0x10fb86=_0x59dd3c[_0x2ce1c1(0x174)][_0x2ce1c1(0x1b8)],_0x4931bb=_0x59dd3c[_0x2ce1c1(0x174)][_0x2ce1c1(0x19d)];else switch(_0xabd46f=_0xabd46f[_0x2ce1c1(0x192)](_0x59dd3c),_0x230a27=_0x230a27[_0x2ce1c1(0x192)](_0x59dd3c),_0x59dd3c[_0x2ce1c1(0x17d)]){case _0x2ce1c1(0x1ad):_0x10fb86=_0x59dd3c[_0x2ce1c1(0x1aa)],_0x4931bb=_0x10fb86[_0x2ce1c1(0x154)](0x1);break;case _0x2ce1c1(0x190):case _0x2ce1c1(0x17c):case _0x2ce1c1(0x15a):_0x10fb86=_0x59dd3c[_0x2ce1c1(0x155)][_0x2ce1c1(0x1b8)],_0x4931bb=_0x59dd3c[_0x2ce1c1(0x155)][_0x2ce1c1(0x19d)];break;case _0x2ce1c1(0x1ab):_0x10fb86=_0x59dd3c[_0x2ce1c1(0x1aa)],_0x4931bb=_0x10fb86[_0x2ce1c1(0x154)](_0x59dd3c[_0x2ce1c1(0x191)]);break;case _0x2ce1c1(0x1b6):_0x10fb86=_0x59dd3c[_0x2ce1c1(0x183)],_0x4931bb=_0x59dd3c[_0x2ce1c1(0x1bc)];break;case _0x2ce1c1(0x19a):{const _0x4a6532=_0x59dd3c[_0x2ce1c1(0x195)][_0x2ce1c1(0x17e)][_0x2ce1c1(0x15c)](0x0,-0x1);_0x10fb86=_0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x1a8)](_0x5d61e5,_0x4a6532),_0x4931bb=_0x10fb86[_0x2ce1c1(0x154)](0x1);break;}case _0x2ce1c1(0x196):{const _0xd42cc8=_0x59dd3c[_0x2ce1c1(0x191)],_0x4f20e8=_0x59dd3c[_0x2ce1c1(0x173)][_0x2ce1c1(0x163)](_0x59dd3c[_0x2ce1c1(0x195)],_0xd42cc8),_0x54c7ed=_0x59dd3c[_0x2ce1c1(0x1b0)]();_0x2ce1c1(0x196)==_0x59dd3c[_0x2ce1c1(0x17d)]?(_0x10fb86=_0x4f20e8,_0x4931bb=_0x4f20e8):(_0x10fb86=_0x54c7ed,_0x4931bb=_0x54c7ed[_0x2ce1c1(0x154)](_0xd42cc8));break;}}_0x10fb86&&_0x10fb86[_0x2ce1c1(0x1b7)](_0xabd46f)&&(_0xabd46f=_0x10fb86[_0x2ce1c1(0x152)](),_0xabd46f[_0x2ce1c1(0x16d)]=_0x2ce1c1(0x168)),_0x4931bb&&_0x4931bb[_0x2ce1c1(0x185)](_0x230a27)&&(_0x230a27=_0x4931bb[_0x2ce1c1(0x152)](),_0x230a27[_0x2ce1c1(0x16d)]=_0x2ce1c1(0x168));}return _0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x166)](_0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x1ba)](_0xabd46f,_0x230a27));}export function expandSelectionWithContext(_0x51fd67,_0x502b1b){const _0x13e883=_0x50a5;so(_0x51fd67,_0x502b1b,_0x13e883(0x15d));const _0x21eb74=_0x502b1b[_0x13e883(0x1a5)]();_0x502b1b[_0x13e883(0x18e)]([]),_0x502b1b[_0x13e883(0x18e)](_0x21eb74,{'backward':!0x0}),so(_0x51fd67,_0x502b1b,_0x13e883(0x14f));}function _0x8e93(){const _0x26a401=['insert','offset','rename','suggestion:deletion:','oldValue','getMovedRangeStart','root','isRegisteredAttribute','suggestion:formatBlock:$fakeWrap:','nodeAfter','...','split','isBefore','start','applyOperation','createRange','isObject','moveTargetPosition','baseVersion','5560317vCPdTy','suggestion:attribute:','plugins','stringify','_getTransformedByDeletion','schema','suggestion:insertion:','backward','removed',':$aiSuggestion','clone','model','getShiftedBy','range','1779793QXnpIG','newValue','$elementName','length','changeAttribute','114334bphhUh','slice','forward','getOperations','DocumentCompare','children','4290276XlxqMJ','move','_getTransformedByInsertion','element','reverse','createSelection','getDiff','toNone','batch','changes','756440SqYsZc','isMarkedRemoveOperation','stickiness','focus','add','get','name','2kfLKvY','sourcePosition','newRange','10010742HLqBwa','createRangeOn','modifySelection','markers','data','isDocumentOperation','createPositionAt','removeAttribute','type','path','delete','set','word','16CrpEHS','splitPosition','$text','isAfter','4110kcJCcd','10CasULG','textNode','addOperation','marker','parent','$root','POSITIVE_INFINITY','setTo','SuggestionsConversion','addAttribute','howMany','getTransformedByOperation','change','key','targetPosition','remove','nodeBefore','push','_createFromRanges','merge','parse','map','end','cloneNode','node','data-id','new','newName','2138710dDyOiw','isBlock','getFirstRange','index','getMinimalFlatRanges','createPositionFromPath','oldName','position'];_0x8e93=function(){return _0x26a401;};return _0x8e93();}function so(_0x4faa2d,_0x373359,_0x1fc54c){const _0x17d976=_0x50a5;let _0x2c431a=0x14;for(;_0x2c431a;){_0x4faa2d[_0x17d976(0x177)](_0x373359,{'unit':_0x17d976(0x181),'direction':_0x1fc54c}),_0x2c431a--;const _0x922dec=_0x373359[_0x17d976(0x16e)][_0x17d976(0x15d)==_0x1fc54c?_0x17d976(0x197):_0x17d976(0x1b4)];if(_0x922dec&&_0x922dec['is'](_0x17d976(0x164))&&_0x4faa2d[_0x17d976(0x14d)][_0x17d976(0x1a4)](_0x922dec)&&_0x4faa2d[_0x17d976(0x14d)][_0x17d976(0x1bb)](_0x922dec))break;}}export function _transformMarkersByDeletion(_0x37c917,_0x238cd7){const _0x51f7b1=_0x50a5;for(const [_0x4c7e30,_0x3fec71]of _0x37c917[_0x51f7b1(0x178)]){const _0x266f01=_0x3fec71[_0x51f7b1(0x14c)](_0x238cd7[_0x51f7b1(0x1b8)],_0x238cd7[_0x51f7b1(0x19d)][_0x51f7b1(0x1ac)]-_0x238cd7[_0x51f7b1(0x1b8)][_0x51f7b1(0x1ac)]);null!=_0x266f01?_0x37c917[_0x51f7b1(0x178)][_0x51f7b1(0x180)](_0x4c7e30,_0x266f01):_0x37c917[_0x51f7b1(0x178)][_0x51f7b1(0x17f)](_0x4c7e30);}}
|
|
23
|
+
(function(_0x52144c,_0x3f6b27){const _0x5800e5=_0x11b1,_0x516b98=_0x52144c();while(!![]){try{const _0x560cf2=-parseInt(_0x5800e5(0x135))/0x1+-parseInt(_0x5800e5(0x17c))/0x2+parseInt(_0x5800e5(0x17f))/0x3*(-parseInt(_0x5800e5(0x11d))/0x4)+parseInt(_0x5800e5(0x128))/0x5+-parseInt(_0x5800e5(0x15b))/0x6+parseInt(_0x5800e5(0x18d))/0x7+parseInt(_0x5800e5(0x133))/0x8;if(_0x560cf2===_0x3f6b27)break;else _0x516b98['push'](_0x516b98['shift']());}catch(_0x21a294){_0x516b98['push'](_0x516b98['shift']());}}}(_0x2a5a,0x6c096));import{findOne as _0x4e46d5,getAttribute as _0x1fa2d9,Document as _0x5bffcf,serialize as _0x348fd9,parse as _0x3907f9}from'./htmlparser.js';import{fixElementSuggestionRange as _0x9b9033}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x11b1(_0x4f7353,_0x1b5d24){const _0x2a5a87=_0x2a5a();return _0x11b1=function(_0x11b17e,_0x4f0c0c){_0x11b17e=_0x11b17e-0x11b;let _0x2d128e=_0x2a5a87[_0x11b17e];return _0x2d128e;},_0x11b1(_0x4f7353,_0x1b5d24);}import{ModelRange as _0x4e0be,_DetachOperation as _0x58e051,_removeFromModelNodeList as _0x134569,_insertIntoModelNodeList as _0x243d65}from'ckeditor5/src/engine.js';import{uid as _0x4bec7d}from'ckeditor5/src/utils.js';function _0x2a5a(){const _0x29fd91=['remove','splitPosition','key','11689360nfguii','isMarkedRemoveOperation','841520KWUoWc','newRange','element','offset','push','backward','plugins','change','path','getDiff','createPositionAt','$root','...','howMany','createRangeOn','move','isBlock','changeAttribute','length','$text','rename','parse','isBefore','word','nodeAfter','merge','sourcePosition','DocumentCompare','get','schema','moveTargetPosition','data','children','removed','suggestion:formatBlock:$fakeWrap:','slice','isObject','isAfter','3058758wcnYXt','index','split','clone','getShiftedBy','end','root','targetPosition','_createFromRanges','forward','getOperations','position','stickiness','oldValue','model','cloneNode','textNode','marker','toNone','suggestion:insertion:','applyOperation','range','batch','isDocumentOperation','removeAttribute','getMovedRangeStart','insert','SuggestionsConversion','newValue','add','reverse','nodeBefore','isRegisteredAttribute','136794MUOFsv','parent','_getTransformedByDeletion','32469XuNfft','POSITIVE_INFINITY','getFirstRange','stringify','changes','suggestion:attribute:','addOperation','createSelection','$elementName','createRange','getTransformedByOperation','suggestion:deletion:','new','delete','4019799MkMXkj','start','oldName','176exshQb',':$aiSuggestion','newName','markers','node','set','baseVersion','modifySelection','setTo','addAttribute','type','1515065vXqRZy','_getTransformedByInsertion','getMinimalFlatRanges','createPositionFromPath','focus','map','data-id','name'];_0x2a5a=function(){return _0x29fd91;};return _0x2a5a();}export function getSuggestionPartsFromReply({editor:_0x1be475,changeGroups:_0x1d4651,documentContextContent:_0x414d0d,showDiff:_0x446326,trimUnchanged:_0x8be6a2=!0x0}){const _0x2b3473=_0x11b1;return _0x1d4651[_0x2b3473(0x12d)](_0x51dbae=>{const _0x1a59d4=_0x2b3473,_0x31b0c8=new _0x5bffcf([]),_0x5c559b=new _0x5bffcf([]);for(const _0x23533b of _0x51dbae[_0x1a59d4(0x183)])if(_0x446326&&_0x1a59d4(0x156)==_0x23533b[_0x1a59d4(0x127)]||_0x5c559b[_0x1a59d4(0x155)][_0x1a59d4(0x139)](_0x23533b[_0x1a59d4(0x121)][_0x1a59d4(0x16a)](!0x0)),_0x1a59d4(0x18b)!=_0x23533b[_0x1a59d4(0x127)]&&(_0x446326||_0x1a59d4(0x156)!=_0x23533b[_0x1a59d4(0x127)])){const _0x40765b=_0x4e46d5(_0x1c5390=>_0x1fa2d9(_0x1c5390,_0x1a59d4(0x12e))==_0x23533b['id'],_0x414d0d,!0x0);_0x40765b&&_0x31b0c8[_0x1a59d4(0x155)][_0x1a59d4(0x139)](_0x40765b[_0x1a59d4(0x16a)](!0x0));}const {content:_0x5b584c,hasChanges:_0x17c1ed}=function(_0x270efd,_0x3c1efe,_0x436982,_0x4eae9c,_0x1a9964=!0x0){const _0x166a07=_0x1a59d4,_0x53cf48=_0x270efd[_0x166a07(0x13b)][_0x166a07(0x151)](_0x166a07(0x150)),_0x1e455f=_0x348fd9(_0x3c1efe),_0x473ae1=_0x348fd9(_0x436982),_0x31a933=_0x270efd[_0x166a07(0x154)][_0x166a07(0x14a)](_0x1e455f,_0x166a07(0x140)),_0x3aa0d0=_0x270efd[_0x166a07(0x169)][_0x166a07(0x13f)](_0x31a933,0x0),_0x2af259=_0x53cf48[_0x166a07(0x13e)](_0x1e455f,_0x473ae1,{'anchor':_0x3aa0d0,'markDeletions':_0x4eae9c}),_0x3528ea=_0x2af259[_0x166a07(0x165)]();if(0x0==_0x3528ea[_0x166a07(0x147)])return{'content':_0x3c1efe[_0x166a07(0x16a)](!0x0),'hasChanges':!0x1};_0x4eae9c?function(_0x7fba2c,_0x184061,_0x4aafa5){const _0x8f5680=_0x166a07;if(0x0==_0x7fba2c[_0x8f5680(0x147)])return;const _0x83b04f=_0x4aafa5[_0x8f5680(0x13b)][_0x8f5680(0x151)](_0x8f5680(0x150)),_0x1c6fb0=_0x4aafa5[_0x8f5680(0x13b)][_0x8f5680(0x151)](_0x8f5680(0x176));_0x4aafa5[_0x8f5680(0x169)][_0x8f5680(0x13c)](_0x1a8969=>{const _0x15e4b8=_0x8f5680,_0x3b1238=new Set();for(let _0x44c3c5=0x0;_0x44c3c5<_0x7fba2c[_0x15e4b8(0x147)];_0x44c3c5++){const _0x20ecfa=_0x7fba2c[_0x44c3c5];if(_0x20ecfa[_0x15e4b8(0x123)]=null,_0x20ecfa[_0x15e4b8(0x172)]=!0x1,_0x83b04f[_0x15e4b8(0x134)](_0x20ecfa)){const _0x9931c2=_0x9b9033(_0x20ecfa[_0x15e4b8(0x136)],_0x4aafa5[_0x15e4b8(0x169)]),_0x978398=_0x15e4b8(0x18a)+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x978398,_0x9931c2);}else switch(_0x20ecfa[_0x15e4b8(0x127)]){case _0x15e4b8(0x149):{if(_0x20ecfa[_0x15e4b8(0x11c)]==_0x20ecfa[_0x15e4b8(0x11f)])break;_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa);const _0xae56ef=_0x15e4b8(0x187),_0x26bd57=_0x20ecfa[_0x15e4b8(0x166)],_0x2a5aea=_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x188)](_0x26bd57,_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x13f)](_0x26bd57[_0x15e4b8(0x14d)],_0x15e4b8(0x160))),_0x2daa73=_0x15e4b8(0x184)+_0xae56ef+':'+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x2daa73,_0x2a5aea);break;}case _0x15e4b8(0x126):case _0x15e4b8(0x173):case _0x15e4b8(0x146):{if(_0x20ecfa[_0x15e4b8(0x168)]==_0x20ecfa[_0x15e4b8(0x177)])break;_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa);const _0x35ea34=_0x20ecfa[_0x15e4b8(0x132)];if(!_0x1c6fb0[_0x15e4b8(0x17b)](_0x35ea34))break;const _0x2ec31b=_0x9b9033(_0x20ecfa[_0x15e4b8(0x170)],_0x4aafa5[_0x15e4b8(0x169)]),_0x54c0ab=_0x15e4b8(0x184)+_0x35ea34+':'+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x54c0ab,_0x2ec31b);break;}case _0x15e4b8(0x175):{_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa);if(_0x7fba2c[_0x44c3c5+0x1]&&_0x15e4b8(0x144)==_0x7fba2c[_0x44c3c5+0x1][_0x15e4b8(0x127)]){ro(_0x184061,_0x20ecfa);break;}const _0x476cde=_0x20ecfa[_0x15e4b8(0x166)],_0x5e4c14=_0x20ecfa[_0x15e4b8(0x142)],_0x1bd52c=_0x9b9033(_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x188)](_0x476cde,_0x476cde[_0x15e4b8(0x15f)](_0x5e4c14)),_0x4aafa5[_0x15e4b8(0x169)]),_0x1ddba3=_0x15e4b8(0x16e)+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x1ddba3,_0x1bd52c);break;}case _0x15e4b8(0x15d):{_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa);const _0x52050b=_0x20ecfa[_0x15e4b8(0x131)],_0x4063cc=_0x20ecfa[_0x15e4b8(0x153)],_0x533afb=_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x188)](_0x52050b,_0x4063cc),_0xf5ba1a=_0x15e4b8(0x16e)+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0xf5ba1a,_0x533afb);break;}case _0x15e4b8(0x144):{_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa),_0x7fba2c[_0x44c3c5-0x1]&&_0x15e4b8(0x175)==_0x7fba2c[_0x44c3c5-0x1][_0x15e4b8(0x127)]&&ro(_0x184061,_0x20ecfa);const _0x12461e=_0x20ecfa[_0x15e4b8(0x174)](),_0x5ebe3d=_0x20ecfa[_0x15e4b8(0x142)];for(let _0x306e4f=0x0;_0x306e4f<_0x5ebe3d;_0x306e4f++){const _0x5ea1e5=_0x12461e[_0x15e4b8(0x15f)](_0x306e4f)[_0x15e4b8(0x14d)];_0x3b1238[_0x15e4b8(0x178)](_0x5ea1e5);}break;}case _0x15e4b8(0x130):{const _0x1bba2d=_0x20ecfa[_0x15e4b8(0x14f)],_0x409502=_0x20ecfa[_0x15e4b8(0x142)],_0x16398f=new _0x58e051(_0x1bba2d,_0x409502);_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x16398f),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x16398f);break;}}}for(const _0x1b9314 of _0x3b1238){const _0x2ab790=_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x143)](_0x1b9314),_0x107f42=_0x15e4b8(0x157)+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x107f42,_0x9b9033(_0x2ab790,_0x4aafa5[_0x15e4b8(0x169)]));}});}(_0x3528ea,_0x31a933,_0x270efd):_0x270efd[_0x166a07(0x169)][_0x166a07(0x13c)](_0x59a46a=>{const _0x207fe2=_0x166a07;for(const _0x2f452b of _0x3528ea)if(_0x207fe2(0x130)==_0x2f452b[_0x207fe2(0x127)]){const _0x199d52=_0x2f452b[_0x207fe2(0x14f)],_0x4717a2=_0x2f452b[_0x207fe2(0x142)],_0x32b891=new _0x58e051(_0x199d52,_0x4717a2);_0x59a46a[_0x207fe2(0x171)][_0x207fe2(0x185)](_0x32b891),_0x270efd[_0x207fe2(0x169)][_0x207fe2(0x16f)](_0x32b891);}else{if(_0x207fe2(0x16c)==_0x2f452b[_0x207fe2(0x127)]){const _0xc278e7=_0x2f452b[_0x207fe2(0x12f)],_0x17fd3f=_0x2f452b[_0x207fe2(0x136)];_0x31a933[_0x207fe2(0x120)][_0x207fe2(0x122)](_0xc278e7,_0x17fd3f);}else _0x2f452b[_0x207fe2(0x123)]=null,_0x2f452b[_0x207fe2(0x172)]=!0x1,_0x59a46a[_0x207fe2(0x171)][_0x207fe2(0x185)](_0x2f452b),_0x270efd[_0x207fe2(0x169)][_0x207fe2(0x16f)](_0x2f452b);}});if(_0x1a9964){const _0x5d760f=getMinimalSelection(_0x270efd,_0x3528ea,_0x31a933);expandSelectionWithContext(_0x270efd[_0x166a07(0x169)],_0x5d760f),function(_0x78306c,_0x8132a9){const _0xa0ff14=_0x166a07,_0x19120e=_0x8132a9[_0xa0ff14(0x181)]()[_0xa0ff14(0x11b)];let _0x463d92=_0x8132a9[_0xa0ff14(0x181)]()[_0xa0ff14(0x160)];const _0x2db216=_0x19120e[_0xa0ff14(0x161)];(_0x463d92[_0xa0ff14(0x16b)]||_0x463d92[_0xa0ff14(0x14d)]&&_0x463d92[_0xa0ff14(0x14d)]['is'](_0xa0ff14(0x148)))&&(_0x243d65(_0x463d92,_0xa0ff14(0x141)),_0x463d92=_0x463d92[_0xa0ff14(0x15f)](0x3)),(_0x19120e[_0xa0ff14(0x16b)]||_0x19120e[_0xa0ff14(0x17a)]&&_0x19120e[_0xa0ff14(0x17a)]['is'](_0xa0ff14(0x148)))&&(_0x243d65(_0x19120e,_0xa0ff14(0x141)),function(_0x5bdd69,_0x14e770,_0x40b651){const _0x48e5f2=_0xa0ff14;for(let [_0x1ad15d,_0x4c28de]of _0x5bdd69[_0x48e5f2(0x120)]){const _0x296542=_0x4c28de[_0x48e5f2(0x129)](_0x14e770,_0x40b651,!0x1);_0x4c28de=_0x296542[0x0],_0x5bdd69[_0x48e5f2(0x120)][_0x48e5f2(0x122)](_0x1ad15d,_0x4c28de);}}(_0x2db216,_0x19120e,0x3),_0x19120e[_0xa0ff14(0x17d)]==_0x463d92[_0xa0ff14(0x17d)]&&(_0x463d92=_0x463d92[_0xa0ff14(0x15f)](0x3)));const _0x2048ad=_0x78306c[_0xa0ff14(0x188)](_0x78306c[_0xa0ff14(0x13f)](_0x2db216,0x0),_0x19120e),_0x30534f=_0x78306c[_0xa0ff14(0x188)](_0x463d92,_0x78306c[_0xa0ff14(0x13f)](_0x2db216,_0xa0ff14(0x160))),_0x3a605e=[..._0x2048ad[_0xa0ff14(0x12a)](),..._0x30534f[_0xa0ff14(0x12a)]()];_0x3a605e[_0xa0ff14(0x179)]();for(const _0x5dfc44 of _0x3a605e)_0x134569(_0x5dfc44),_transformMarkersByDeletion(_0x2db216,_0x5dfc44);}(_0x270efd[_0x166a07(0x169)],_0x5d760f);}const _0x40c58d=_0x270efd[_0x166a07(0x154)][_0x166a07(0x182)](_0x31a933,{'showSuggestionHighlights':!0x0});return{'content':_0x3907f9(_0x40c58d),'hasChanges':!0x0};}(_0x1be475,_0x31b0c8,_0x5c559b,_0x446326,_0x8be6a2);return{'type':_0x51dbae[_0x1a59d4(0x183)][0x0][_0x1a59d4(0x127)],'index':_0x51dbae[_0x1a59d4(0x15c)],'content':_0x5b584c,'hasChanges':_0x17c1ed};});}function ro(_0x3ab6c9,_0x5352fa){const _0x260804=_0x11b1;for(const [_0x21d786,_0x427d2f]of _0x3ab6c9[_0x260804(0x120)]){const _0x462cb3=_0x4e0be[_0x260804(0x163)](_0x427d2f[_0x260804(0x189)](_0x5352fa));_0x3ab6c9[_0x260804(0x120)][_0x260804(0x122)](_0x21d786,_0x462cb3);}}export function getMinimalSelection(_0x4d18a0,_0x550ed5,_0x5baca4){const _0x39d3be=_0x11b1,_0x551839=_0x4d18a0[_0x39d3be(0x13b)][_0x39d3be(0x151)](_0x39d3be(0x150));let _0x258a42=_0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x13f)](_0x5baca4,Number[_0x39d3be(0x180)]),_0x43855c=_0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x13f)](_0x5baca4,0x0);for(const _0x570b7e of _0x550ed5){let _0xd962fe,_0x3e3690;if(_0x551839[_0x39d3be(0x134)](_0x570b7e))_0xd962fe=_0x570b7e[_0x39d3be(0x136)][_0x39d3be(0x11b)],_0x3e3690=_0x570b7e[_0x39d3be(0x136)][_0x39d3be(0x160)];else switch(_0x258a42=_0x258a42[_0x39d3be(0x189)](_0x570b7e),_0x43855c=_0x43855c[_0x39d3be(0x189)](_0x570b7e),_0x570b7e[_0x39d3be(0x127)]){case _0x39d3be(0x149):_0xd962fe=_0x570b7e[_0x39d3be(0x166)],_0x3e3690=_0xd962fe[_0x39d3be(0x15f)](0x1);break;case _0x39d3be(0x126):case _0x39d3be(0x173):case _0x39d3be(0x146):_0xd962fe=_0x570b7e[_0x39d3be(0x170)][_0x39d3be(0x11b)],_0x3e3690=_0x570b7e[_0x39d3be(0x170)][_0x39d3be(0x160)];break;case _0x39d3be(0x175):_0xd962fe=_0x570b7e[_0x39d3be(0x166)],_0x3e3690=_0xd962fe[_0x39d3be(0x15f)](_0x570b7e[_0x39d3be(0x142)]);break;case _0x39d3be(0x15d):_0xd962fe=_0x570b7e[_0x39d3be(0x131)],_0x3e3690=_0x570b7e[_0x39d3be(0x153)];break;case _0x39d3be(0x14e):{const _0x4391d8=_0x570b7e[_0x39d3be(0x162)][_0x39d3be(0x13d)][_0x39d3be(0x158)](0x0,-0x1);_0xd962fe=_0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x12b)](_0x5baca4,_0x4391d8),_0x3e3690=_0xd962fe[_0x39d3be(0x15f)](0x1);break;}case _0x39d3be(0x130):{const _0x3c265e=_0x570b7e[_0x39d3be(0x142)],_0x1723e2=_0x570b7e[_0x39d3be(0x14f)][_0x39d3be(0x129)](_0x570b7e[_0x39d3be(0x162)],_0x3c265e),_0x1599fe=_0x570b7e[_0x39d3be(0x174)]();_0x39d3be(0x130)==_0x570b7e[_0x39d3be(0x127)]?(_0xd962fe=_0x1723e2,_0x3e3690=_0x1723e2):(_0xd962fe=_0x1599fe,_0x3e3690=_0x1599fe[_0x39d3be(0x15f)](_0x3c265e));break;}}_0xd962fe&&_0xd962fe[_0x39d3be(0x14b)](_0x258a42)&&(_0x258a42=_0xd962fe[_0x39d3be(0x15e)](),_0x258a42[_0x39d3be(0x167)]=_0x39d3be(0x16d)),_0x3e3690&&_0x3e3690[_0x39d3be(0x15a)](_0x43855c)&&(_0x43855c=_0x3e3690[_0x39d3be(0x15e)](),_0x43855c[_0x39d3be(0x167)]=_0x39d3be(0x16d));}return _0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x186)](_0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x188)](_0x258a42,_0x43855c));}export function expandSelectionWithContext(_0x7e7c5b,_0x2f9509){const _0x4d88ef=_0x11b1;so(_0x7e7c5b,_0x2f9509,_0x4d88ef(0x164));const _0xbab442=_0x2f9509[_0x4d88ef(0x181)]();_0x2f9509[_0x4d88ef(0x125)]([]),_0x2f9509[_0x4d88ef(0x125)](_0xbab442,{'backward':!0x0}),so(_0x7e7c5b,_0x2f9509,_0x4d88ef(0x13a));}function so(_0x5f52c9,_0xa194c5,_0x5bef97){const _0x3af363=_0x11b1;let _0x39d9b0=0x14;for(;_0x39d9b0;){_0x5f52c9[_0x3af363(0x124)](_0xa194c5,{'unit':_0x3af363(0x14c),'direction':_0x5bef97}),_0x39d9b0--;const _0x3a00d9=_0xa194c5[_0x3af363(0x12c)][_0x3af363(0x164)==_0x5bef97?_0x3af363(0x17a):_0x3af363(0x14d)];if(_0x3a00d9&&_0x3a00d9['is'](_0x3af363(0x137))&&_0x5f52c9[_0x3af363(0x152)][_0x3af363(0x145)](_0x3a00d9)&&_0x5f52c9[_0x3af363(0x152)][_0x3af363(0x159)](_0x3a00d9))break;}}export function _transformMarkersByDeletion(_0x763193,_0x58d1d3){const _0x236a17=_0x11b1;for(const [_0x40ca01,_0x2e0f0e]of _0x763193[_0x236a17(0x120)]){const _0xdf0248=_0x2e0f0e[_0x236a17(0x17e)](_0x58d1d3[_0x236a17(0x11b)],_0x58d1d3[_0x236a17(0x160)][_0x236a17(0x138)]-_0x58d1d3[_0x236a17(0x11b)][_0x236a17(0x138)]);null!=_0xdf0248?_0x763193[_0x236a17(0x120)][_0x236a17(0x122)](_0x40ca01,_0xdf0248):_0x763193[_0x236a17(0x120)][_0x236a17(0x18c)](_0x40ca01);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1d8b56,_0x53e729){const _0x583814=_0x1443,_0x4e4b39=_0x1d8b56();while(!![]){try{const _0x16a6a9=-parseInt(_0x583814(0x142))/0x1+parseInt(_0x583814(0x14a))/0x2*(-parseInt(_0x583814(0x157))/0x3)+parseInt(_0x583814(0x14d))/0x4*(-parseInt(_0x583814(0x145))/0x5)+parseInt(_0x583814(0x159))/0x6+parseInt(_0x583814(0x143))/0x7+-parseInt(_0x583814(0x149))/0x8+-parseInt(_0x583814(0x156))/0x9*(-parseInt(_0x583814(0x146))/0xa);if(_0x16a6a9===_0x53e729)break;else _0x4e4b39['push'](_0x4e4b39['shift']());}catch(_0x1666e3){_0x4e4b39['push'](_0x4e4b39['shift']());}}}(_0x31eb,0xb9f67));import{parseDocument as _0x22a3a6}from'htmlparser2';import{append as _0x48e68e,appendChild as _0x5c2016,find as _0x593854,findAll as _0x4cbf35,findOne as _0x20f2a0,getChildren as _0xb0e799,isComment as _0x3e1add,isTag as _0x398f0d,prepend as _0xc1f962,prependChild as _0x36defd,removeElement as _0x208761,replaceElement as _0x14e638,textContent as _0xbd54c3,getParent as _0x395a20,hasChildren as _0x2ef243}from'domutils';import _0x5825b0 from'dom-serializer';function _0x1443(_0x4cf7b2,_0x4374df){const _0x31eb67=_0x31eb();return _0x1443=function(_0x14430a,_0x26a852){_0x14430a=_0x14430a-0x142;let _0x2f79d3=_0x31eb67[_0x14430a];return _0x2f79d3;},_0x1443(_0x4cf7b2,_0x4374df);}import{cloneNode as _0x1013e4,isDocument as _0x121220,isText as _0x16a2ab,Element as _0x13ed0e,Text as _0x1b0ef4,Document as _0x5ce902,NodeWithChildren as _0x5bb2ac}from'domhandler';export{_0x1013e4 as cloneNode,_0x593854 as find,_0x20f2a0 as findOne,_0x4cbf35 as findAll,_0xb0e799 as getChildren,_0x395a20 as getParent,_0x3e1add as isComment,_0x121220 as isDocument,_0x398f0d as isTag,_0x16a2ab as isText,_0x48e68e as append,_0x5c2016 as appendChild,_0xc1f962 as prepend,_0x36defd as prependChild,_0x5825b0 as render,_0x208761 as removeElement,_0x14e638 as replaceElement,_0xbd54c3 as textContent,_0x2ef243 as hasChildren,_0x13ed0e as Element,_0x5ce902 as Document,_0x5bb2ac as NodeWithChildren,_0x1b0ef4 as Text};export function parse(_0x2b6e80){return _0x22a3a6(_0x2b6e80);}export function serialize(_0x32f277){return _0x5825b0(_0x32f277);}export function findByAttribute(_0x11bf55,_0x3c5aab,_0x19435d){const _0x51eebb=_0x1443,_0x21f587=null!==_0x3c5aab?_0xdbf8db=>_0xdbf8db[_0x51eebb(0x158)][_0x11bf55]===_0x3c5aab:_0x21e6d5=>Boolean(_0x21e6d5[_0x51eebb(0x158)][_0x11bf55]);return _0x20f2a0(_0x53aaa5=>_0x398f0d(_0x53aaa5)&&_0x21f587(_0x53aaa5),_0x19435d);}export function findAllByAttribute(_0x5df277,_0x41e91a,_0x572b28){const _0x7374e3=_0x1443,_0x779a15=null!==_0x41e91a?_0xd00200=>_0xd00200[_0x7374e3(0x158)][_0x5df277]===_0x41e91a:_0x1f0846=>Boolean(_0x1f0846[_0x7374e3(0x158)][_0x5df277]);return _0x4cbf35(_0x285cc0=>_0x398f0d(_0x285cc0)&&_0x779a15(_0x285cc0),_0x572b28);}export function findAllComments(_0x560ea7){return _0x593854(_0x3fcc48=>_0x3e1add(_0x3fcc48),_0x560ea7,!0x0,0x1/0x0);}export function getAttribute(_0xa1c79,_0x32af31){const _0x54cecd=_0x1443;return _0xa1c79&&_0x398f0d(_0xa1c79)?_0xa1c79[_0x54cecd(0x158)][_0x32af31]:null;}export function setAttribute(_0x186447,_0x12e7b6,_0x737fe2){const _0x2b028b=_0x1443;_0x398f0d(_0x186447)&&(null===_0x737fe2?delete _0x186447[_0x2b028b(0x158)][_0x12e7b6]:_0x186447[_0x2b028b(0x158)][_0x12e7b6]=_0x737fe2);}export function insertElement(_0x2797a8,_0x1aa1f3,_0x51b073){const _0x3e79bb=_0x1443,_0x100064=_0x1aa1f3[_0x3e79bb(0x14f)](!0x0);_0x3e79bb(0x150)===_0x51b073?_0xc1f962(_0x2797a8,_0x100064):_0x3e79bb(0x14c)===_0x51b073?_0x36defd(_0x2797a8,_0x100064):_0x3e79bb(0x155)===_0x51b073?_0x5c2016(_0x2797a8,_0x100064):_0x3e79bb(0x14e)===_0x51b073&&_0x48e68e(_0x2797a8,_0x100064);}export function moveElement(_0x5a4605,_0xb851c9){_0x208761(_0x5a4605),_0x14e638(_0xb851c9,_0x5a4605);}export function clone(_0xc7e754){const _0x15e6eb=_0x1443;return _0xc7e754[_0x15e6eb(0x14f)](!0x0);}export function getParents(_0xb5f813){const _0x1c4fdf=_0x1443,_0x214933=[];let _0x550a27=_0xb5f813;for(;_0x550a27;)_0x550a27=_0x395a20(_0x550a27),_0x550a27&&_0x214933[_0x1c4fdf(0x147)](_0x550a27);return _0x214933;}export function normalizeHTML(_0x3a84e5){const _0x3a5edc=_0x1443;return _0x3a84e5[_0x3a5edc(0x153)](/^\s+/gm,'')[_0x3a5edc(0x153)](/\s+$/gm,'')[_0x3a5edc(0x153)](/\n*/g,'')[_0x3a5edc(0x153)](/\s+/g,'\x20')[_0x3a5edc(0x153)](/>\s*</g,'><');}function _0x31eb(){const _0x1b5e39=['indexOf','nextSibling','replace','reverse','beforeend','63QEJhWQ','1501167nYkNvL','attribs','6872580BKJpuw','slice','1055982DRejXV','7641739LZfFlW','forEach','11020DnUxvv','2580760vjnSDi','push','map','11353672SWxDfa','2lbSitG','parentNode','afterbegin','556roHOuB','afterend','cloneNode','beforebegin'];_0x31eb=function(){return _0x1b5e39;};return _0x31eb();}export function areNodesSame(_0x20519a,_0x1e0760){return normalizeHTML(serialize(_0x20519a))===normalizeHTML(serialize(_0x1e0760));}export function getNodeNestingLevel(_0x59bd76){const _0x431f28=_0x1443;let _0xfdbb77=0x0;for(;_0x59bd76[_0x431f28(0x14b)];)_0x59bd76=_0x59bd76[_0x431f28(0x14b)],_0xfdbb77++;return _0xfdbb77;}export function removeElementsAfter(_0x2307eb){const _0x5d26ee=_0x1443,_0x367355=[];let _0xb192bf=_0x2307eb[_0x5d26ee(0x152)];for(;_0xb192bf;)_0x367355[_0x5d26ee(0x147)](_0xb192bf),_0xb192bf=_0xb192bf[_0x5d26ee(0x152)];_0x367355[_0x5d26ee(0x144)](_0x564e49=>{_0x208761(_0x564e49);});}export function getNodePath(_0x2f9341){const _0xa7f47b=_0x1443;return[_0x2f9341,...getParents(_0x2f9341)][_0xa7f47b(0x15a)](0x0,-0x1)[_0xa7f47b(0x148)](_0xe76f27=>{const _0xe2a8d0=_0xa7f47b,_0x309b9e=_0x395a20(_0xe76f27);return _0xb0e799(_0x309b9e)[_0xe2a8d0(0x151)](_0xe76f27);})[_0xa7f47b(0x154)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d3b59=_0x5607;(function(_0x28a477,_0x111671){const _0x259083=_0x5607,_0xbfc3c5=_0x28a477();while(!![]){try{const _0x1e5dfb=-parseInt(_0x259083(0x1f6))/0x1+-parseInt(_0x259083(0x1f7))/0x2*(parseInt(_0x259083(0x22a))/0x3)+parseInt(_0x259083(0x225))/0x4+parseInt(_0x259083(0x20d))/0x5*(parseInt(_0x259083(0x212))/0x6)+-parseInt(_0x259083(0x223))/0x7+parseInt(_0x259083(0x207))/0x8*(-parseInt(_0x259083(0x1f5))/0x9)+parseInt(_0x259083(0x20b))/0xa;if(_0x1e5dfb===_0x111671)break;else _0xbfc3c5['push'](_0xbfc3c5['shift']());}catch(_0x3d9977){_0xbfc3c5['push'](_0xbfc3c5['shift']());}}}(_0x4353,0x5689b));function _0x4353(){const _0x5aee4a=['isStreaming','147drqxjj','addEventListener','strong','map','delay','tagName','mark','join','9IQQjLz','543365fnxxZn','16084GsFRkx','sup','parent','currentIndex','div','entries','querySelectorAll','splitTextNodeIntoWordNodes','includes','textNodeStyle','isWordSplitResult','span[data-ck-html-streamer-word-chunk]','childNodes','signal','match','from','641720lgNozF','cleanUpAnimations','replaceWith','sub','16820370WhQCgr','ins','5EPtTJy','push','timeoutAbortController','abort','bind','85620Yylbcm','document','span','reverse','shouldBeStreamed','children','renderNode','nodesList','getParsedDocumentNodeList','del','onStreamUpdate','code','ai-html-streamer-current-index-out-of-bounds','isWordSplitSource','options','now','stream','4190137MmcHmx','attribs','1097524TFIKYT','length','stop','forEach'];_0x4353=function(){return _0x5aee4a;};return _0x4353();}import _0x5c750f from'morphdom';function _0x5607(_0xf81bba,_0x5a507e){const _0x435337=_0x4353();return _0x5607=function(_0x560754,_0x25bb67){_0x560754=_0x560754-0x1f4;let _0x3ac46e=_0x435337[_0x560754];return _0x3ac46e;},_0x5607(_0xf81bba,_0x5a507e);}import{NodeWithChildren as _0x1f917b,Text as _0xf97fcd,Element as _0x55a4c5,isText as _0x22914d,isDocument as _0x52f139,isTag as _0x54e023,cloneNode as _0x30b9d3,getChildren as _0x53f377,prepend as _0x3a1765,removeElement as _0x45b3e1,textContent as _0x22d713,render as _0x14e5f7}from'./htmlparser.js';import{logWarning as _0x33fd07}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x3d3b59(0x220)];[_0x3d3b59(0x229)]=!0x1;[_0x3d3b59(0x213)]=null;[_0x3d3b59(0x219)]=[];[_0x3d3b59(0x1fa)]=0x0;[_0x3d3b59(0x20f)]=null;constructor(_0x4d02dd){const _0x2b4195=_0x3d3b59;this[_0x2b4195(0x220)]={'delay':_0x4d02dd[_0x2b4195(0x22e)]??0x14,'textNodeStyle':_0x4d02dd[_0x2b4195(0x200)],'onStreamUpdate':_0x4d02dd[_0x2b4195(0x21c)]||(()=>{})};}async[_0x3d3b59(0x222)]({document:_0x54a05c,targetElement:_0x501935,abortSignal:_0x236c08}){const _0x425710=_0x3d3b59;this[_0x425710(0x229)]&&this[_0x425710(0x227)](),_0x236c08?.[_0x425710(0x22b)](_0x425710(0x210),this[_0x425710(0x227)][_0x425710(0x211)](this)),this[_0x425710(0x213)]=_0x30b9d3(_0x54a05c,!0x0),this[_0x425710(0x219)]=this[_0x425710(0x21a)](),this[_0x425710(0x229)]=!0x0,this[_0x425710(0x1fa)]>this[_0x425710(0x219)][_0x425710(0x226)]&&(_0x33fd07(_0x425710(0x21e),{'currentIndex':this[_0x425710(0x1fa)],'nodeList':this[_0x425710(0x219)]}),this[_0x425710(0x1fa)]=this[_0x425710(0x219)][_0x425710(0x226)]);for(let _0x49c9be=0x0;_0x49c9be<this[_0x425710(0x1fa)];_0x49c9be++)this[_0x425710(0x219)][_0x49c9be][_0x425710(0x216)]=!0x0;let _0x35317c=0x0;for(let _0x3bc118=this[_0x425710(0x1fa)];_0x3bc118<this[_0x425710(0x219)][_0x425710(0x226)];_0x3bc118++){const _0xd7070f=Date[_0x425710(0x221)](),_0x4b7cf6=this[_0x425710(0x219)][_0x3bc118],_0x500dcd=_0xd7070f-_0x35317c;_0x4b7cf6[_0x425710(0x216)]=!0x0;let _0x3c0c1d=_0x4b7cf6[_0x425710(0x1f9)];for(;_0x3c0c1d;)_0x3c0c1d[_0x425710(0x216)]=!0x0,_0x3c0c1d=_0x3c0c1d[_0x425710(0x1f9)];if(_0x500dcd<this[_0x425710(0x220)][_0x425710(0x22e)])try{const {promise:_0x3d7905,abortController:_0x12de14}=pr(this[_0x425710(0x220)][_0x425710(0x22e)]-_0x500dcd);this[_0x425710(0x20f)]=_0x12de14,await _0x3d7905;}catch(_0x585d4b){return;}_0x5c750f(_0x501935,'<'+_0x501935[_0x425710(0x22f)]+'>'+this[_0x425710(0x218)](this[_0x425710(0x213)])+'</'+_0x501935[_0x425710(0x22f)]+'>',{'childrenOnly':!0x0}),this[_0x425710(0x220)][_0x425710(0x21c)]&&this[_0x425710(0x220)][_0x425710(0x21c)](),this[_0x425710(0x1fa)]=_0x3bc118,_0x35317c=Date[_0x425710(0x221)]();}this[_0x425710(0x229)]=!0x1;}[_0x3d3b59(0x208)]({targetElement:_0xb190f7}){const _0x477360=_0x3d3b59;Array[_0x477360(0x206)](_0xb190f7[_0x477360(0x1fd)](_0x477360(0x202)))[_0x477360(0x215)]()[_0x477360(0x228)](_0x5eb1c7=>{const _0x2728d9=_0x477360;_0x5eb1c7[_0x2728d9(0x209)](_0x5eb1c7[_0x2728d9(0x203)][0x0]);});}[_0x3d3b59(0x227)](){const _0x492156=_0x3d3b59;this[_0x492156(0x229)]=!0x1,this[_0x492156(0x20f)]&&(this[_0x492156(0x20f)][_0x492156(0x210)](),this[_0x492156(0x20f)]=null);}[_0x3d3b59(0x218)](_0x29e041){const _0xc56cc5=_0x3d3b59;let _0x4c3bab='';if(function(_0x38a89f){return _0x52f139(_0x38a89f);}(_0x29e041)){for(const _0x1566ad of _0x29e041[_0xc56cc5(0x217)])_0x4c3bab+=this[_0xc56cc5(0x218)](_0x1566ad);}else{if(dr(_0x29e041)){if(!_0x29e041[_0xc56cc5(0x216)])return'';const _0x56a86c=_0x29e041,_0x390751=Object[_0xc56cc5(0x1fc)](_0x56a86c[_0xc56cc5(0x224)])[_0xc56cc5(0x22d)](([_0x4c5794,_0x25d2e2])=>_0x4c5794+'=\x22'+_0x25d2e2+'\x22')[_0xc56cc5(0x1f4)]('\x20');_0x4c3bab+='<'+_0x56a86c[_0xc56cc5(0x22f)]+(_0x390751?'\x20'+_0x390751:'')+'>';for(const _0x120ac2 of _0x53f377(_0x56a86c))_0x4c3bab+=this[_0xc56cc5(0x218)](_0x120ac2);_0x4c3bab+='</'+_0x56a86c[_0xc56cc5(0x22f)]+'>';}else{if(!ar(_0x29e041))return'';if(!_0x29e041[_0xc56cc5(0x216)])return'';!function(_0xc9d36b){const _0x14bc10=_0xc56cc5;if(!_0xc9d36b[_0x14bc10(0x1f9)]||!dr(_0xc9d36b[_0x14bc10(0x1f9)]))return!0x1;if(!cr[_0x14bc10(0x1ff)](_0xc9d36b[_0x14bc10(0x1f9)][_0x14bc10(0x22f)]))return!0x1;return!_0x22d713(_0xc9d36b)[_0x14bc10(0x205)](/^\s*[<>]\s*$/);}(_0x29e041)?_0x4c3bab+=_0x14e5f7(_0x29e041):_0x4c3bab+=_0x14e5f7(new _0x55a4c5(_0xc56cc5(0x214),{'data-ck-html-streamer-word-chunk':'','style':this[_0xc56cc5(0x220)][_0xc56cc5(0x200)]},[_0x29e041]));}}return _0x4c3bab;}[_0x3d3b59(0x21a)](){const _0x11c9b3=_0x3d3b59,_0xb056a3=[];return function(_0x5c28d5,_0x3438c4){const _0x1130ff=_0x5607,_0x4ecc2c=_0x53e40e=>{const _0x116ee2=_0x5607;if(_0x3438c4(_0x53e40e),_0x53e40e instanceof _0x1f917b)for(let _0x199596=0x0;_0x199596<_0x53e40e[_0x116ee2(0x217)][_0x116ee2(0x226)];_0x199596++){const _0x213ad4=_0x53e40e[_0x116ee2(0x217)][_0x199596];_0x4ecc2c(_0x213ad4);}};for(let _0x283f84=0x0;_0x283f84<_0x5c28d5[_0x1130ff(0x217)][_0x1130ff(0x226)];_0x283f84++)_0x4ecc2c(_0x5c28d5[_0x1130ff(0x217)][_0x283f84]);}(this[_0x11c9b3(0x213)],_0x305493=>{const _0xf8bc04=_0x11c9b3;if(ar(_0x305493)){const _0x3f1d71=this[_0xf8bc04(0x1fe)](_0x305493);_0x3f1d71[_0xf8bc04(0x226)]&&_0xb056a3[_0xf8bc04(0x20e)](..._0x3f1d71);}_0x305493[_0xf8bc04(0x21f)]||_0x305493[_0xf8bc04(0x201)]||_0xb056a3[_0xf8bc04(0x20e)](_0x305493);}),_0xb056a3;}[_0x3d3b59(0x1fe)](_0x566022){const _0x12414e=_0x3d3b59;if(_0x566022[_0x12414e(0x21f)]||_0x566022[_0x12414e(0x201)])return[];const _0x327e35=_0x22d713(_0x566022)[_0x12414e(0x205)](/(?:\s*\S+\s*)/g),_0x1616b0=[];if(_0x327e35&&_0x327e35[_0x12414e(0x226)]>0x1){for(const _0x327626 of _0x327e35){const _0x552060=new _0xf97fcd(_0x327626);_0x552060[_0x12414e(0x201)]=!0x0,_0x3a1765(_0x566022,_0x552060),_0x1616b0[_0x12414e(0x20e)](_0x552060);}_0x566022[_0x12414e(0x21f)]=!0x0,_0x45b3e1(_0x566022);}return _0x1616b0;}}const cr=['p','li','td','th',_0x3d3b59(0x214),'h1','h2','h3','h4','h5','h6','b',_0x3d3b59(0x22c),'i','em',_0x3d3b59(0x230),_0x3d3b59(0x21b),_0x3d3b59(0x20c),_0x3d3b59(0x1f8),_0x3d3b59(0x20a),'a',_0x3d3b59(0x21d),_0x3d3b59(0x1fb)];function ar(_0x1c193f){return _0x22914d(_0x1c193f);}function dr(_0x1ce329){return _0x54e023(_0x1ce329);}function pr(_0x25eade){const _0x112ac4=new AbortController();return{'promise':new Promise((_0x52206a,_0x196c95)=>{const _0x51cb48=_0x5607,_0x2469db=setTimeout(_0x52206a,_0x25eade);_0x112ac4[_0x51cb48(0x204)][_0x51cb48(0x22b)](_0x51cb48(0x210),()=>{clearTimeout(_0x2469db),_0x196c95();});}),'abortController':_0x112ac4};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4e2d42=_0x36b2;(function(_0x452451,_0x12f0f6){var _0x5113d1=_0x36b2,_0x33cc95=_0x452451();while(!![]){try{var _0xdd2a0b=-parseInt(_0x5113d1(0x1bb))/0x1*(-parseInt(_0x5113d1(0x1c6))/0x2)+-parseInt(_0x5113d1(0x1ba))/0x3+parseInt(_0x5113d1(0x1bd))/0x4*(parseInt(_0x5113d1(0x1c1))/0x5)+parseInt(_0x5113d1(0x1be))/0x6+parseInt(_0x5113d1(0x1b8))/0x7*(-parseInt(_0x5113d1(0x1c2))/0x8)+-parseInt(_0x5113d1(0x1c5))/0x9+parseInt(_0x5113d1(0x1bf))/0xa;if(_0xdd2a0b===_0x12f0f6)break;else _0x33cc95['push'](_0x33cc95['shift']());}catch(_0xcb253){_0x33cc95['push'](_0x33cc95['shift']());}}}(_0x1b54,0x82d51));import{Plugin as _0x5c20c5}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0xcb484f}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x2d1b78}from'@ckeditor/ckeditor5-collaboration-core';function _0x36b2(_0x34b93,_0x4a23bd){var _0x1b540b=_0x1b54();return _0x36b2=function(_0x36b21f,_0xa453e5){_0x36b21f=_0x36b21f-0x1b8;var _0x3acf44=_0x1b540b[_0x36b21f];return _0x3acf44;},_0x36b2(_0x34b93,_0x4a23bd);}export class AIEditorIntegration extends _0x5c20c5{static get[_0x4e2d42(0x1c3)](){return[_0xcb484f,_0x2d1b78];}static get[_0x4e2d42(0x1c0)](){var _0x51aaa7=_0x4e2d42;return _0x51aaa7(0x1c4);}static get[_0x4e2d42(0x1b9)](){return!0x0;}static get[_0x4e2d42(0x1bc)](){return!0x0;}}function _0x1b54(){var _0x26bbae=['19819KQRNIX','isPremiumPlugin','6088WsUOLr','1185252XknpAZ','17725980OXozyV','pluginName','1285FVkCQA','6368YFkdzr','requires','AIEditorIntegration','7608267bhRtJh','76bOjbYq','7973uNGAkZ','isOfficialPlugin','2479560kxWugz'];_0x1b54=function(){return _0x26bbae;};return _0x1b54();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c59c4=_0x5836;(function(_0x27e44f,_0x2d44f8){const _0x250dff=_0x5836,_0x7ebcd0=_0x27e44f();while(!![]){try{const _0x34e4d8=parseInt(_0x250dff(0xfe))/0x1*(-parseInt(_0x250dff(0x103))/0x2)+parseInt(_0x250dff(0xfd))/0x3+parseInt(_0x250dff(0xf1))/0x4*(-parseInt(_0x250dff(0x101))/0x5)+parseInt(_0x250dff(0x108))/0x6*(parseInt(_0x250dff(0xf0))/0x7)+-parseInt(_0x250dff(0xed))/0x8*(-parseInt(_0x250dff(0x10a))/0x9)+parseInt(_0x250dff(0x105))/0xa+parseInt(_0x250dff(0xfb))/0xb*(-parseInt(_0x250dff(0x107))/0xc);if(_0x34e4d8===_0x2d44f8)break;else _0x7ebcd0['push'](_0x7ebcd0['shift']());}catch(_0x31ccd5){_0x7ebcd0['push'](_0x7ebcd0['shift']());}}}(_0xfe34,0x48c13));import{Plugin as _0x4cb192}from'ckeditor5/src/core.js';function _0xfe34(){const _0x66225f=['7PKrvxD','4CUmDam','isOn','init','locale','menuBar:toggleAi','isOfficialPlugin','ck-ai-toggle-button','AIToggleButtonUI','get','AI_TOGGLE_BUTTON_LABEL','40359kzripd','commands','408201Sqrhuk','1uCwMBw','requires','componentFactory','769985KlHXaO','menuitemcheckbox','1188302cqlIMg','add','1703040jUPktb','_createAIUIButton','840cjcSJA','2722134hjDMNf','set','9gvnRxY','editor','bind','isPremiumPlugin','isEnabled','execute','toggleAi','pluginName','4343368CuxshI','listenTo','value'];_0xfe34=function(){return _0x66225f;};return _0xfe34();}import{ToggleAICommand as _0x5b28c1}from'./toggleaicommand.js';import{ButtonView as _0x33babf,MenuBarMenuListItemButtonView as _0x460f16}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x443c3b}from'@ckeditor/ckeditor5-icons';function _0x5836(_0x2ae9d0,_0x92f83f){const _0xfe344b=_0xfe34();return _0x5836=function(_0x5836c9,_0x1bb63f){_0x5836c9=_0x5836c9-0xeb;let _0x191063=_0xfe344b[_0x5836c9];return _0x191063;},_0x5836(_0x2ae9d0,_0x92f83f);}import{getTranslation as _0x1e4a48}from'../../aicore/utils/common-translations.js';import{AITabs as _0x43606e}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x4cb192{static get[_0x3c59c4(0xff)](){return[_0x43606e];}static get[_0x3c59c4(0xec)](){const _0x18ca11=_0x3c59c4;return _0x18ca11(0xf8);}static get[_0x3c59c4(0xf6)](){return!0x0;}static get[_0x3c59c4(0x10d)](){return!0x0;}[_0x3c59c4(0xf3)](){const _0x372d4c=_0x3c59c4,_0x58d623=this[_0x372d4c(0x10b)];_0x58d623[_0x372d4c(0xfc)][_0x372d4c(0x104)](_0x372d4c(0xeb),new _0x5b28c1(_0x58d623)),_0x58d623['ui'][_0x372d4c(0x100)][_0x372d4c(0x104)](_0x372d4c(0xeb),()=>{const _0x350742=_0x372d4c,_0x59d8e7=this[_0x350742(0x106)](_0x33babf);return _0x59d8e7[_0x350742(0x109)]({'tooltip':!0x0,'class':_0x350742(0xf7)}),_0x59d8e7;}),_0x58d623['ui'][_0x372d4c(0x100)][_0x372d4c(0x104)](_0x372d4c(0xf5),()=>{const _0x1ebce6=_0x372d4c,_0x2dd4f2=this[_0x1ebce6(0x106)](_0x460f16);return _0x2dd4f2[_0x1ebce6(0x109)]({'role':_0x1ebce6(0x102)}),_0x2dd4f2;});}[_0x3c59c4(0x106)](_0x232453){const _0x5ea83c=_0x3c59c4,_0x31f935=this[_0x5ea83c(0x10b)],_0x122db0=_0x31f935[_0x5ea83c(0xfc)][_0x5ea83c(0xf9)](_0x5ea83c(0xeb)),_0x3afcc1=new _0x232453(_0x31f935[_0x5ea83c(0xf4)]);return _0x3afcc1[_0x5ea83c(0x109)]({'label':_0x1e4a48(_0x31f935[_0x5ea83c(0xf4)],_0x5ea83c(0xfa)),'icon':_0x443c3b,'isToggleable':!0x0}),_0x3afcc1[_0x5ea83c(0x10c)](_0x5ea83c(0x10e))['to'](_0x122db0),_0x3afcc1[_0x5ea83c(0x10c)](_0x5ea83c(0xf2))['to'](_0x122db0,_0x5ea83c(0xef),_0x3f58c3=>!!_0x3f58c3),this[_0x5ea83c(0xee)](_0x3afcc1,_0x5ea83c(0x10f),()=>{const _0x1821fb=_0x5ea83c;_0x122db0[_0x1821fb(0x10f)]();}),_0x3afcc1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d53ae=_0x2ae4;function _0x2ae4(_0x2271f4,_0x5878ad){const _0x22de2e=_0x22de();return _0x2ae4=function(_0x2ae4b7,_0x38b294){_0x2ae4b7=_0x2ae4b7-0xef;let _0x472775=_0x22de2e[_0x2ae4b7];return _0x472775;},_0x2ae4(_0x2271f4,_0x5878ad);}(function(_0x3d4751,_0x47ff7a){const _0xda44c=_0x2ae4,_0x23b883=_0x3d4751();while(!![]){try{const _0x33ad84=-parseInt(_0xda44c(0xf5))/0x1*(-parseInt(_0xda44c(0xf4))/0x2)+parseInt(_0xda44c(0xfb))/0x3+parseInt(_0xda44c(0x103))/0x4*(-parseInt(_0xda44c(0x100))/0x5)+parseInt(_0xda44c(0x101))/0x6*(-parseInt(_0xda44c(0xf3))/0x7)+-parseInt(_0xda44c(0xfa))/0x8*(parseInt(_0xda44c(0xf1))/0x9)+-parseInt(_0xda44c(0xef))/0xa+parseInt(_0xda44c(0xf9))/0xb*(parseInt(_0xda44c(0x104))/0xc);if(_0x33ad84===_0x47ff7a)break;else _0x23b883['push'](_0x23b883['shift']());}catch(_0x751907){_0x23b883['push'](_0x23b883['shift']());}}}(_0x22de,0x687a8));function _0x22de(){const _0x3d926b=['23089584rBjyOK','8182040iVDvzW','view','9vEMOSO','AITabs','7vzHgaz','1576434rylAqj','1dEcKIh','editor','get','execute','11qIxjoV','4405408mwMHOB','530271hnqytR','bind','plugins','value','isVisible','1222465qDJoFU','5086734AePcJK','isEnabled','4gzfgZg'];_0x22de=function(){return _0x3d926b;};return _0x22de();}import{Command as _0x2afb38}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x2afb38{constructor(_0x21b160){const _0x37e0c2=_0x2ae4;super(_0x21b160);const _0x143c09=_0x21b160[_0x37e0c2(0xfd)][_0x37e0c2(0xf7)](_0x37e0c2(0xf2))[_0x37e0c2(0xf0)];this[_0x37e0c2(0xfc)](_0x37e0c2(0xfe))['to'](_0x143c09,_0x37e0c2(0xff)),this[_0x37e0c2(0x102)]=!0x0;}[_0x5d53ae(0xf8)](){const _0x485175=_0x5d53ae,_0x5d460f=this[_0x485175(0xf6)][_0x485175(0xfd)][_0x485175(0xf7)](_0x485175(0xf2))[_0x485175(0xf0)];_0x5d460f[_0x485175(0xff)]=!_0x5d460f[_0x485175(0xff)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3fdff3=_0x2231;(function(_0x2c2ef8,_0x3e8908){var _0x10bf84=_0x2231,_0x1d7fda=_0x2c2ef8();while(!![]){try{var _0x18fd1b=-parseInt(_0x10bf84(0x10e))/0x1+-parseInt(_0x10bf84(0x109))/0x2+-parseInt(_0x10bf84(0x108))/0x3+-parseInt(_0x10bf84(0x110))/0x4*(parseInt(_0x10bf84(0x10a))/0x5)+-parseInt(_0x10bf84(0x10b))/0x6+-parseInt(_0x10bf84(0x113))/0x7+parseInt(_0x10bf84(0x112))/0x8;if(_0x18fd1b===_0x3e8908)break;else _0x1d7fda['push'](_0x1d7fda['shift']());}catch(_0x207722){_0x1d7fda['push'](_0x1d7fda['shift']());}}}(_0x54f2,0x1d580));import{Plugin as _0x1ae7e4}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x6a40be}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x48eedd}from'./aiquickactionsediting.js';import{AIActions as _0xd6cdd9}from'../aiactions/aiactions.js';function _0x54f2(){var _0x358cb2=['59475jpCRnP','955860RovGSy','config','define','136639lzpdWJ','AIQuickActions','80yfAdxc','ai.quickActions','6502032JbrGaZ','474089EXmldb','requires','isPremiumPlugin','isOfficialPlugin','pluginName','242508qzgJpC','20300wovfrm'];_0x54f2=function(){return _0x358cb2;};return _0x54f2();}function _0x2231(_0x23d34d,_0x1d852d){var _0x54f2c9=_0x54f2();return _0x2231=function(_0x2231d9,_0x2ac04e){_0x2231d9=_0x2231d9-0x106;var _0x5b9e9e=_0x54f2c9[_0x2231d9];return _0x5b9e9e;},_0x2231(_0x23d34d,_0x1d852d);}export class AIQuickActions extends _0x1ae7e4{static get[_0x3fdff3(0x114)](){return[_0x6a40be,_0x48eedd,_0xd6cdd9];}static get[_0x3fdff3(0x107)](){var _0x7935a5=_0x3fdff3;return _0x7935a5(0x10f);}static get[_0x3fdff3(0x106)](){return!0x0;}static get[_0x3fdff3(0x115)](){return!0x0;}constructor(_0x5c0f52){var _0x388bb5=_0x3fdff3;super(_0x5c0f52),_0x5c0f52[_0x388bb5(0x10c)][_0x388bb5(0x10d)](_0x388bb5(0x111),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e2fc0=_0x3884;(function(_0x195356,_0xe2334c){const _0x4a2a1e=_0x3884,_0x413518=_0x195356();while(!![]){try{const _0x24b58c=-parseInt(_0x4a2a1e(0xf2))/0x1+parseInt(_0x4a2a1e(0xdd))/0x2*(-parseInt(_0x4a2a1e(0xee))/0x3)+-parseInt(_0x4a2a1e(0xf7))/0x4+-parseInt(_0x4a2a1e(0x119))/0x5*(parseInt(_0x4a2a1e(0xde))/0x6)+-parseInt(_0x4a2a1e(0xe6))/0x7*(-parseInt(_0x4a2a1e(0xe0))/0x8)+-parseInt(_0x4a2a1e(0xfa))/0x9+parseInt(_0x4a2a1e(0xfb))/0xa;if(_0x24b58c===_0xe2334c)break;else _0x413518['push'](_0x413518['shift']());}catch(_0x342f8b){_0x413518['push'](_0x413518['shift']());}}}(_0x46c7,0x51474));import{Command as _0x2de5a8}from'ckeditor5/src/core.js';import{CKEditorError as _0x4a1fec,first as _0xb10fcf}from'ckeditor5/src/utils.js';function _0x46c7(){const _0x367d4e=['has','getSelectedBlocks','displayedPrompt','focusPromptInput','other','_handleAIActionsAction','CHAT','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','args','type','ask-ai','locale','AIChatController','plugins','get','AITabs','removeSelectionFromChatContext','change','ai-quick-actions-plugin-not-found','view','_handleAIChatAction','log','executeAction','handleAIReviewAction','addSelectionToChatContext','ACTION','prompt','actionName','isCollapsed','9210SZOoXM','260290AGiBZx','1722yyWoyp','getLimitElement','8QnZYSE','sendMessage','document','execute','REVIEW','startConversation','3308522xrHJdj','_expandSelectionIfCollapsed','icon','editor','_handleAIReviewAction','schema','label','AIActions','3pHljPA','chat','model','setSelection','486329PVwOCg','parent','AIChat','selection','activateTab','722676NhqVKV','AIReviewMode','_handleAIActionsActionLabel','1886445FVbYhe','13956720tFRbln'];_0x46c7=function(){return _0x367d4e;};return _0x46c7();}function _0x3884(_0x55a612,_0x312118){const _0x46c7c0=_0x46c7();return _0x3884=function(_0x3884aa,_0x196612){_0x3884aa=_0x3884aa-0xdd;let _0x79782d=_0x46c7c0[_0x3884aa];return _0x79782d;},_0x3884(_0x55a612,_0x312118);}import{AIQuickActionType as _0x414723}from'./aiquickactionsui.js';import{getTranslation as _0x4f6468}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x2de5a8{[_0x2e2fc0(0xe3)](_0x34f515){const _0x21633c=_0x2e2fc0;switch(this[_0x21633c(0xe7)](),_0x34f515[_0x21633c(0x105)]){case _0x414723[_0x21633c(0x102)]:if(!this[_0x21633c(0xe9)][_0x21633c(0x109)][_0x21633c(0xfc)](_0x21633c(0xf4))){const _0x485edb=_0x4f6468(this[_0x21633c(0xe9)][_0x21633c(0x107)],_0x21633c(0x103),_0x21633c(0xf4));throw new _0x4a1fec(_0x21633c(0x10e),this[_0x21633c(0xe9)],{'errorMessage':_0x485edb});}this[_0x21633c(0x110)](_0x34f515);break;case _0x414723[_0x21633c(0x115)]:if(!this[_0x21633c(0xe9)][_0x21633c(0x109)][_0x21633c(0xfc)](_0x21633c(0xed))){const _0x50a25c=_0x4f6468(this[_0x21633c(0xe9)][_0x21633c(0x107)],_0x21633c(0x103),_0x21633c(0xed));throw new _0x4a1fec(_0x21633c(0x10e),this[_0x21633c(0xe9)],{'errorMessage':_0x50a25c});}this[_0x21633c(0x101)](_0x34f515);break;case _0x414723[_0x21633c(0xe4)]:if(!this[_0x21633c(0xe9)][_0x21633c(0x109)][_0x21633c(0xfc)](_0x21633c(0xf8))){const _0x249077=_0x4f6468(this[_0x21633c(0xe9)][_0x21633c(0x107)],_0x21633c(0x103),_0x21633c(0xf8));throw new _0x4a1fec(_0x21633c(0x10e),this[_0x21633c(0xe9)],{'errorMessage':_0x249077});}this[_0x21633c(0xea)](_0x34f515);}}async[_0x2e2fc0(0x110)](_0x2c9cc2){const _0x12409f=_0x2e2fc0,_0x3fa42b=this[_0x12409f(0xe9)][_0x12409f(0x109)][_0x12409f(0x10a)](_0x12409f(0xf4)),_0x18a7b0=this[_0x12409f(0xe9)][_0x12409f(0x109)][_0x12409f(0x10a)](_0x12409f(0x108));if(this[_0x12409f(0xe9)][_0x12409f(0x109)][_0x12409f(0x10a)](_0x12409f(0x10b))[_0x12409f(0x10f)][_0x12409f(0xf6)](_0x12409f(0xef)),_0x12409f(0x106)===_0x2c9cc2['id'])_0x18a7b0[_0x12409f(0x10c)](),await _0x3fa42b[_0x12409f(0x114)](),_0x3fa42b[_0x12409f(0xff)]();else await _0x3fa42b[_0x12409f(0xe5)](),_0x18a7b0[_0x12409f(0x10c)](),await _0x3fa42b[_0x12409f(0x114)](),_0x3fa42b[_0x12409f(0xff)](),await _0x3fa42b[_0x12409f(0xe1)]({'message':_0x2c9cc2[_0x12409f(0x116)]||_0x2c9cc2[_0x12409f(0xfe)],'quickActionData':{'id':_0x2c9cc2['id'],'displayedPrompt':_0x2c9cc2[_0x12409f(0xfe)]}});}[_0x2e2fc0(0xe7)](){const _0x1e7240=_0x2e2fc0,_0xc72a32=this[_0x1e7240(0xe9)],_0x491fb9=_0xc72a32[_0x1e7240(0xf0)][_0x1e7240(0xe2)][_0x1e7240(0xf5)];if(!_0x491fb9[_0x1e7240(0x118)])return;const _0x5eaeb0=_0xb10fcf(_0x491fb9[_0x1e7240(0xfd)]())||_0xc72a32[_0x1e7240(0xf0)][_0x1e7240(0xeb)][_0x1e7240(0xdf)](_0x491fb9);_0xc72a32[_0x1e7240(0xf0)][_0x1e7240(0x10d)](_0x3ed108=>{const _0x4eff11=_0x1e7240;_0x3ed108[_0x4eff11(0xf1)](_0x5eaeb0,'in');});}[_0x2e2fc0(0xf9)](_0x529972){const _0x4d1520=_0x2e2fc0;return _0x529972[_0x4d1520(0xf3)]?.[_0x4d1520(0xec)]&&_0x4d1520(0x100)!==_0x529972[_0x4d1520(0xf3)]?.['id']?_0x529972[_0x4d1520(0xf3)][_0x4d1520(0xec)]+':\x20'+_0x529972[_0x4d1520(0xfe)]:_0x529972[_0x4d1520(0xfe)];}async[_0x2e2fc0(0x101)](_0x37ec6a){const _0x35a296=_0x2e2fc0,_0x19f952=this[_0x35a296(0xe9)][_0x35a296(0x109)][_0x35a296(0x10a)](_0x35a296(0xed)),_0x12f6d7=_0x37ec6a[_0x35a296(0x116)]?{'userMessage':_0x37ec6a[_0x35a296(0x116)],'model':_0x37ec6a[_0x35a296(0xf0)]}:{'actionName':_0x37ec6a[_0x35a296(0x117)]||_0x37ec6a['id'],'args':_0x37ec6a[_0x35a296(0x104)]},_0x2481cd=this[_0x35a296(0xf9)](_0x37ec6a);await _0x19f952[_0x35a296(0x112)](_0x12f6d7,_0x2481cd,_0x37ec6a[_0x35a296(0xe8)]);}async[_0x2e2fc0(0xea)](_0x3391db){const _0x1fda76=_0x2e2fc0;console[_0x1fda76(0x111)](_0x1fda76(0x113),_0x3391db);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ad521=_0x3a11;function _0x39b5(){const _0xd960d8=['isPremiumPlugin','isOfficialPlugin','get','2157633RjfggZ','11nsBblr','5YyMSxA','pluginName','1954729Gnhyqh','160fNqWwj','removeSelectionFromChatContext','aiQuickAction','189108QDlbha','directChange','8eMfSIf','add','6324tFzydu','AIChat','plugins','model','232998iDgisj','selection','commands','has','document','AIQuickActionsEditing','init','41129yXMwPa','1259780mRIIBN','change:range','editor'];_0x39b5=function(){return _0xd960d8;};return _0x39b5();}(function(_0x6b5d4e,_0x3d5fe7){const _0x3082c5=_0x3a11,_0x200aa8=_0x6b5d4e();while(!![]){try{const _0x50d3b8=parseInt(_0x3082c5(0xc8))/0x1*(-parseInt(_0x3082c5(0xd3))/0x2)+-parseInt(_0x3082c5(0xcf))/0x3+-parseInt(_0x3082c5(0xc1))/0x4+-parseInt(_0x3082c5(0xc9))/0x5*(-parseInt(_0x3082c5(0xd7))/0x6)+parseInt(_0x3082c5(0xcb))/0x7+-parseInt(_0x3082c5(0xd1))/0x8*(-parseInt(_0x3082c5(0xc7))/0x9)+parseInt(_0x3082c5(0xcc))/0xa*(parseInt(_0x3082c5(0xc0))/0xb);if(_0x50d3b8===_0x3d5fe7)break;else _0x200aa8['push'](_0x200aa8['shift']());}catch(_0x1562ae){_0x200aa8['push'](_0x200aa8['shift']());}}}(_0x39b5,0x3204e));function _0x3a11(_0x856f3f,_0x2a60b7){const _0x39b570=_0x39b5();return _0x3a11=function(_0x3a11e3,_0x4df4c9){_0x3a11e3=_0x3a11e3-0xba;let _0x512207=_0x39b570[_0x3a11e3];return _0x512207;},_0x3a11(_0x856f3f,_0x2a60b7);}import{Plugin as _0x8de810}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x59b696}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x8de810{static get[_0x2ad521(0xca)](){const _0x7c2ebc=_0x2ad521;return _0x7c2ebc(0xbe);}static get[_0x2ad521(0xc5)](){return!0x0;}static get[_0x2ad521(0xc4)](){return!0x0;}[_0x2ad521(0xbf)](){const _0x5ccc0c=_0x2ad521,_0x231d08=this[_0x5ccc0c(0xc3)],_0x2495ec=new _0x59b696(this[_0x5ccc0c(0xc3)]);if(_0x231d08[_0x5ccc0c(0xbb)][_0x5ccc0c(0xd2)](_0x5ccc0c(0xce),_0x2495ec),_0x231d08[_0x5ccc0c(0xd5)][_0x5ccc0c(0xbc)](_0x5ccc0c(0xd4))){const _0x8a9904=this[_0x5ccc0c(0xc3)][_0x5ccc0c(0xd5)][_0x5ccc0c(0xc6)](_0x5ccc0c(0xd4));_0x231d08[_0x5ccc0c(0xd6)][_0x5ccc0c(0xbd)][_0x5ccc0c(0xba)]['on'](_0x5ccc0c(0xc2),(_0x6014a7,_0x43898a)=>{const _0x3c8839=_0x5ccc0c;_0x43898a[_0x3c8839(0xd0)]&&_0x8a9904[_0x3c8839(0xcd)]();});}}}
|