@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.1
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/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/aiballoon/aiballoon.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.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/ui/aichatballoonview.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/aichatfeedcustomelementview.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/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/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.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/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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3598(_0x286c70,_0x3bd205){const _0x374728=_0x3747();return _0x3598=function(_0x359891,_0x1acaec){_0x359891=_0x359891-0x1d8;let _0x1cdac2=_0x374728[_0x359891];return _0x1cdac2;},_0x3598(_0x286c70,_0x3bd205);}(function(_0x6b1a55,_0x1a8f49){const _0x14220c=_0x3598,_0x50cd4d=_0x6b1a55();while(!![]){try{const _0x1df42e=parseInt(_0x14220c(0x1da))/0x1*(-parseInt(_0x14220c(0x1e2))/0x2)+-parseInt(_0x14220c(0x1ea))/0x3+parseInt(_0x14220c(0x1e6))/0x4+-parseInt(_0x14220c(0x1d8))/0x5+-parseInt(_0x14220c(0x1de))/0x6*(-parseInt(_0x14220c(0x1e4))/0x7)+-parseInt(_0x14220c(0x1e8))/0x8+parseInt(_0x14220c(0x1e3))/0x9;if(_0x1df42e===_0x1a8f49)break;else _0x50cd4d['push'](_0x50cd4d['shift']());}catch(_0x45cc1d){_0x50cd4d['push'](_0x50cd4d['shift']());}}}(_0x3747,0x4e0fa));import{View as _0x3a5126}from'ckeditor5/src/ui.js';function _0x3747(){const _0xcd695e=['819UBfjEA','ck-ai-suggestion__loader','1527668ShgLFt','set','4147248qkQsWT','ck-ai-suggestion__loader-text','929586sTRWcg','AI_CHAT_IS_WRITING','isVisible','2447425SCyloX','div','3Odxzat','span','setTemplate','ck-hidden','25338BaBjeH','locale','small','bindTemplate','181852AHnVUW','9308349vJCqJl'];_0x3747=function(){return _0xcd695e;};return _0x3747();}import{AISpinnerView as _0x41a67c}from'../aispinner.js';import{getTranslation as _0x678f3b}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x3a5126{constructor(_0x30e67f){const _0x907f3d=_0x3598;super(_0x30e67f),this[_0x907f3d(0x1e7)](_0x907f3d(0x1ec),!0x0);const _0x43fb13=new _0x41a67c(_0x907f3d(0x1e0));_0x43fb13[_0x907f3d(0x1ec)]=!0x0;const _0x4ae0bb=new _0x3a5126(this[_0x907f3d(0x1df)]);_0x4ae0bb[_0x907f3d(0x1dc)]({'tag':_0x907f3d(0x1db),'attributes':{'class':['ck',_0x907f3d(0x1e9)]},'children':[_0x678f3b(this[_0x907f3d(0x1df)],_0x907f3d(0x1eb))]}),this[_0x907f3d(0x1dc)]({'tag':_0x907f3d(0x1d9),'attributes':{'class':['ck',_0x907f3d(0x1e5),this[_0x907f3d(0x1e1)]['if'](_0x907f3d(0x1ec),_0x907f3d(0x1dd),_0x46196a=>!_0x46196a)]},'children':[_0x43fb13,_0x4ae0bb]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5b38ed=_0x3606;function _0x3606(_0x1e5fc6,_0x14a49a){var _0x375ee7=_0x375e();return _0x3606=function(_0x36060b,_0x2faad3){_0x36060b=_0x36060b-0x11b;var _0x1e89f1=_0x375ee7[_0x36060b];return _0x1e89f1;},_0x3606(_0x1e5fc6,_0x14a49a);}(function(_0x4ef796,_0x29590e){var _0x46aab2=_0x3606,_0x5670e3=_0x4ef796();while(!![]){try{var _0x43106d=-parseInt(_0x46aab2(0x12a))/0x1+-parseInt(_0x46aab2(0x122))/0x2*(parseInt(_0x46aab2(0x12f))/0x3)+-parseInt(_0x46aab2(0x126))/0x4*(parseInt(_0x46aab2(0x11b))/0x5)+parseInt(_0x46aab2(0x131))/0x6*(parseInt(_0x46aab2(0x132))/0x7)+parseInt(_0x46aab2(0x128))/0x8+parseInt(_0x46aab2(0x130))/0x9+parseInt(_0x46aab2(0x11e))/0xa*(parseInt(_0x46aab2(0x133))/0xb);if(_0x43106d===_0x29590e)break;else _0x5670e3['push'](_0x5670e3['shift']());}catch(_0x2c9afc){_0x5670e3['push'](_0x5670e3['shift']());}}}(_0x375e,0x93603));import{View as _0x4083e4}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x543279}from'../../utils/htmlstreamer.js';import{serialize as _0xc82298}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x4083e4{[_0x5b38ed(0x129)];constructor(_0xd7f90d){var _0x4b9706=_0x5b38ed;super(_0xd7f90d),this[_0x4b9706(0x129)]=new _0x543279({'textNodeStyle':_0x4b9706(0x121),'delay':0x14}),this[_0x4b9706(0x125)]({'tag':_0x4b9706(0x134),'attributes':{'class':['ck',_0x4b9706(0x12b),_0x4b9706(0x11f),_0x4b9706(0x12e)]}});}async[_0x5b38ed(0x127)]({part:_0x43abdc,renderingStrategy:_0x187a2c,abortSignal:_0x3eba59}){var _0x24373f=_0x5b38ed;_0x24373f(0x124)===_0x187a2c?await this[_0x24373f(0x129)][_0x24373f(0x123)]({'document':_0x43abdc[_0x24373f(0x120)],'targetElement':this[_0x24373f(0x12c)],'abortSignal':_0x3eba59}):this[_0x24373f(0x12c)][_0x24373f(0x11d)]=_0xc82298(_0x43abdc[_0x24373f(0x120)]);}[_0x5b38ed(0x12d)](){var _0x4b9cd2=_0x5b38ed;this[_0x4b9cd2(0x129)][_0x4b9cd2(0x11c)](),this[_0x4b9cd2(0x12c)][_0x4b9cd2(0x11d)]='';}}function _0x375e(){var _0x3b7dca=['ck-content','element','clear','ck-ai-suggestion-streamable-content','3rAXNRa','3694779CGTbhu','124458DoREac','378CrgQHq','209sRirpL','div','305065wNYqSq','reset','innerHTML','426490EbbEOq','ck-reset_all-excluded','content','animation:\x20ck-html-streamer-fade-in\x20.5s','739846dfFmbj','stream','streaming','setTemplate','56wPIxVc','update','2556216ZoQidD','htmlStreamer','832755QMKOWk'];_0x375e=function(){return _0x3b7dca;};return _0x375e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x500a(_0x3508e6,_0x412e06){const _0x32b26b=_0x32b2();return _0x500a=function(_0x500a82,_0x968cc6){_0x500a82=_0x500a82-0x145;let _0x49cdf4=_0x32b26b[_0x500a82];return _0x49cdf4;},_0x500a(_0x3508e6,_0x412e06);}function _0x32b2(){const _0x4cdcd8=['element','ck-ai-web-source__tooltip-row','973833DuEwUo','div','bodyCollection','1340020rBMXYd','ck-ai-web-source__tooltip-image','show','_blank','pin','source','1009768KOXITx','11880IRoyjE','isVisible','addSource','favicon','children','extendTemplate','span','498710gFhTiA','AI_CHAT_SOURCES_HEADER','ck-ai-web-sources','_setupBalloonPanel','...','bindTemplate','balloonPanelView','ck-ai-web-source__tooltip-title','get','title','img','clear','21iIwvTI','_hideTooltip','_updateTooltipContent','63ASytbW','hide','defaultPositions','ck-ai-web-source__image','push','40WUJPwP','northArrowSouthWest','ck-ai-web-source__tooltip-balloon','1912232gUMbAU','ck-ai-web-sources__header','set','setTemplate','ck-hidden','open','ck-ai-web-source__tooltip-url','ck-ai-web-source__tooltip','ck\x20ck-ai-web-source','url','_createTooltipContentView','length','querySelector','substring','content','826128uDiwAc','_showTooltip','add','icon','destroy','northArrowSouth','hostname','northArrowSouthEast','1MPnptM','4TcoXqx','locale','14872dpAZZU','createCollection','.ck-ai-chat'];_0x32b2=function(){return _0x4cdcd8;};return _0x32b2();}const _0x123021=_0x500a;(function(_0x1b895a,_0x4b586a){const _0x1b4093=_0x500a,_0x32ea17=_0x1b895a();while(!![]){try{const _0x506b8a=-parseInt(_0x1b4093(0x188))/0x1*(parseInt(_0x1b4093(0x171))/0x2)+-parseInt(_0x1b4093(0x149))/0x3+parseInt(_0x1b4093(0x189))/0x4*(-parseInt(_0x1b4093(0x15a))/0x5)+parseInt(_0x1b4093(0x180))/0x6*(parseInt(_0x1b4093(0x166))/0x7)+parseInt(_0x1b4093(0x152))/0x8*(parseInt(_0x1b4093(0x169))/0x9)+-parseInt(_0x1b4093(0x16e))/0xa*(parseInt(_0x1b4093(0x14c))/0xb)+parseInt(_0x1b4093(0x153))/0xc*(parseInt(_0x1b4093(0x18b))/0xd);if(_0x506b8a===_0x4b586a)break;else _0x32ea17['push'](_0x32ea17['shift']());}catch(_0x46b46d){_0x32ea17['push'](_0x32ea17['shift']());}}}(_0x32b2,0x8910e));import{View as _0x57b071,ButtonView as _0xf7776a,IconView as _0x3bb13b,BalloonPanelView as _0x4314af}from'ckeditor5/src/ui.js';import{IconWeb as _0x37a80b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x39f896}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x57b071{[_0x123021(0x157)];[_0x123021(0x160)];[_0x123021(0x14b)];constructor(_0x43009c,_0x253903){const _0x33034e=_0x123021;super(_0x43009c),this[_0x33034e(0x14b)]=_0x253903,this[_0x33034e(0x157)]=this[_0x33034e(0x145)](),this[_0x33034e(0x173)](_0x33034e(0x154),!0x1),this[_0x33034e(0x174)]({'tag':_0x33034e(0x14a),'attributes':{'class':['ck',_0x33034e(0x15c),this[_0x33034e(0x15f)]['if'](_0x33034e(0x154),_0x33034e(0x175),_0x82f15c=>!_0x82f15c)]},'children':this[_0x33034e(0x157)]});const _0x188a31=new _0x57b071(this[_0x33034e(0x18a)]),_0x4b0b4a=new _0x3bb13b();_0x4b0b4a[_0x33034e(0x17f)]=_0x37a80b,_0x188a31[_0x33034e(0x174)]({'tag':_0x33034e(0x14a),'attributes':{'class':['ck',_0x33034e(0x172)]},'children':[_0x4b0b4a,{'tag':_0x33034e(0x159),'children':[{'text':_0x39f896(this[_0x33034e(0x18a)],_0x33034e(0x15b))}]}]}),this[_0x33034e(0x157)][_0x33034e(0x182)](_0x188a31),this[_0x33034e(0x15d)](_0x43009c);}[_0x123021(0x155)](_0x1ac0f4){const _0x30b7f6=_0x123021;this[_0x30b7f6(0x157)][_0x30b7f6(0x182)](new AIWebSourceView(this[_0x30b7f6(0x18a)],_0x1ac0f4,this[_0x30b7f6(0x160)]));}[_0x123021(0x15d)](_0x1653dd){const _0x48b1af=_0x123021;this[_0x48b1af(0x160)]=new _0x4314af(_0x1653dd),this[_0x48b1af(0x160)][_0x48b1af(0x158)]({'attributes':{'class':[_0x48b1af(0x170)]}}),this[_0x48b1af(0x14b)][_0x48b1af(0x182)](this[_0x48b1af(0x160)]);}}export class AIWebSourceView extends _0xf7776a{[_0x123021(0x160)];[_0x123021(0x151)];constructor(_0x5bac4f,_0x29b039,_0xa93951){const _0x203686=_0x123021;super(_0x5bac4f),this[_0x203686(0x151)]=_0x29b039,this[_0x203686(0x160)]=_0xa93951,this[_0x203686(0x173)]({'label':_0x29b039[_0x203686(0x163)],'class':[_0x203686(0x179)],'withText':!0x0});const _0x1036c1=this[_0x203686(0x15f)];if(this[_0x203686(0x158)]({'on':{'click':_0x1036c1['to'](()=>{const _0x3cd075=_0x203686;window[_0x3cd075(0x176)](_0x29b039[_0x3cd075(0x17a)],_0x3cd075(0x14f));}),'mouseenter':_0x1036c1['to'](()=>{const _0x142f6b=_0x203686;this[_0x142f6b(0x181)]();}),'mouseleave':_0x1036c1['to'](()=>{const _0x5e94e1=_0x203686;this[_0x5e94e1(0x167)]();})}}),_0x29b039[_0x203686(0x156)]){const _0xb543c5=new _0x57b071(_0x5bac4f);_0xb543c5[_0x203686(0x174)]({'tag':_0x203686(0x164),'attributes':{'src':_0x29b039[_0x203686(0x156)]||_0x37a80b,'alt':_0x29b039[_0x203686(0x163)],'class':[_0x203686(0x16c)]}}),this[_0x203686(0x157)][_0x203686(0x182)](_0xb543c5);}else this[_0x203686(0x173)](_0x203686(0x183),_0x37a80b);}[_0x123021(0x17b)](_0x49397c,_0x314c8a){const _0x6c349c=_0x123021,_0x17ba5a=new _0x57b071(_0x49397c),_0xa5c914=[];let _0x3e1ad4;_0x314c8a?.[_0x6c349c(0x156)]?(_0x3e1ad4=new _0x57b071(_0x49397c),_0x3e1ad4[_0x6c349c(0x174)]({'tag':_0x6c349c(0x164),'attributes':{'src':_0x314c8a[_0x6c349c(0x156)],'alt':_0x314c8a[_0x6c349c(0x163)],'class':[_0x6c349c(0x14d)]}})):(_0x3e1ad4=new _0x3bb13b(),_0x3e1ad4[_0x6c349c(0x17f)]=_0x37a80b,_0x3e1ad4[_0x6c349c(0x158)]({'attributes':{'alt':_0x314c8a[_0x6c349c(0x163)],'class':[_0x6c349c(0x14d)]}})),_0xa5c914[_0x6c349c(0x16d)](_0x3e1ad4);const _0x50c791=new _0x57b071(_0x49397c);_0x50c791[_0x6c349c(0x174)]({'tag':'a','attributes':{'class':[_0x6c349c(0x177)],'href':_0x314c8a[_0x6c349c(0x17a)]},'children':[{'text':new URL(_0x314c8a[_0x6c349c(0x17a)])?.[_0x6c349c(0x186)]}]}),_0xa5c914[_0x6c349c(0x16d)](_0x50c791);const _0x38679d=new _0x57b071(_0x49397c);_0x38679d[_0x6c349c(0x174)]({'tag':_0x6c349c(0x14a),'attributes':{'class':[_0x6c349c(0x148)]},'children':_0xa5c914});const _0x3ede4d=new _0x57b071(_0x49397c);return _0x3ede4d[_0x6c349c(0x174)]({'tag':_0x6c349c(0x159),'attributes':{'class':[_0x6c349c(0x148),_0x6c349c(0x161)]},'children':[{'text':_0x314c8a[_0x6c349c(0x163)][_0x6c349c(0x17c)]>0x190?_0x314c8a[_0x6c349c(0x163)][_0x6c349c(0x17e)](0x0,0x190)+_0x6c349c(0x15e):_0x314c8a[_0x6c349c(0x163)]}]}),_0x17ba5a[_0x6c349c(0x174)]({'tag':_0x6c349c(0x14a),'attributes':{'class':['ck',_0x6c349c(0x178)]},'children':[_0x38679d,_0x3ede4d]}),_0x17ba5a;}[_0x123021(0x181)](){const _0xad14c1=_0x123021;this[_0xad14c1(0x168)](),this[_0xad14c1(0x160)][_0xad14c1(0x150)]({'target':this[_0xad14c1(0x147)],'positions':[_0x4314af[_0xad14c1(0x16b)][_0xad14c1(0x185)],_0x4314af[_0xad14c1(0x16b)][_0xad14c1(0x16f)],_0x4314af[_0xad14c1(0x16b)][_0xad14c1(0x187)]],'limiter':document[_0xad14c1(0x17d)](_0xad14c1(0x146))}),this[_0xad14c1(0x160)][_0xad14c1(0x14e)]();}[_0x123021(0x167)](){const _0x4948f2=_0x123021;this[_0x4948f2(0x160)][_0x4948f2(0x16a)]();}[_0x123021(0x168)](){const _0x280dfd=_0x123021;this[_0x280dfd(0x160)][_0x280dfd(0x17f)][_0x280dfd(0x162)](0x0)?.[_0x280dfd(0x184)](),this[_0x280dfd(0x160)][_0x280dfd(0x17f)][_0x280dfd(0x165)]();const _0x547e31=this[_0x280dfd(0x17b)](this[_0x280dfd(0x18a)],this[_0x280dfd(0x151)]);this[_0x280dfd(0x160)][_0x280dfd(0x17f)][_0x280dfd(0x182)](_0x547e31);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x267f7d,_0x5bd983){const _0x5e4075=_0x36da,_0x4f8bab=_0x267f7d();while(!![]){try{const _0x43c780=parseInt(_0x5e4075(0x178))/0x1*(-parseInt(_0x5e4075(0x176))/0x2)+-parseInt(_0x5e4075(0x16a))/0x3*(-parseInt(_0x5e4075(0x17c))/0x4)+parseInt(_0x5e4075(0x16d))/0x5*(parseInt(_0x5e4075(0x174))/0x6)+parseInt(_0x5e4075(0x17b))/0x7*(-parseInt(_0x5e4075(0x177))/0x8)+parseInt(_0x5e4075(0x16b))/0x9*(parseInt(_0x5e4075(0x171))/0xa)+parseInt(_0x5e4075(0x16f))/0xb*(-parseInt(_0x5e4075(0x179))/0xc)+-parseInt(_0x5e4075(0x182))/0xd*(-parseInt(_0x5e4075(0x17e))/0xe);if(_0x43c780===_0x5bd983)break;else _0x4f8bab['push'](_0x4f8bab['shift']());}catch(_0x570b22){_0x4f8bab['push'](_0x4f8bab['shift']());}}}(_0x20d8,0x9eac6));import{ButtonView as _0x1a609f}from'ckeditor5/src/ui.js';import{IconMaximize as _0x1c3c25,IconMinimize as _0x347181}from'ckeditor5/src/icons.js';function _0x36da(_0x4c0816,_0x1d5f59){const _0x20d84d=_0x20d8();return _0x36da=function(_0x36daac,_0x321101){_0x36daac=_0x36daac-0x16a;let _0x22c231=_0x20d84d[_0x36daac];return _0x22c231;},_0x36da(_0x4c0816,_0x1d5f59);}import{getTranslation as _0x447b93}from'../../aicore/utils/common-translations.js';import'../../../theme/aitabs/aitabsresizebutton.css';function _0x20d8(){const _0x1efa56=['AI_TABS_LABEL_MINIMIZE','678zXpftK','isOn','2874vRvPPc','124408gMegRR','61uNNLyq','588yHGJmt','icon','532BTytnn','4DYOeGs','ck-ai-tabs__resize\x20ck-ai-button-tertiary','20234242HCTyCq','execute','fire','bind','13ngIMYH','AI_TABS_LABEL_MAXIMIZE','3732633DDFYDe','22797VZDliH','label','185AWqmhb','isMaximized','269907FjIxYa','set','1690HLGNgz','resizeTabs'];_0x20d8=function(){return _0x1efa56;};return _0x20d8();}export function createResizeButton(_0x114042,_0x44fe37){const _0x2d0a05=_0x36da,_0x8c362b=new _0x1a609f(_0x114042),_0x3db5ec=_0x447b93(_0x114042,_0x2d0a05(0x173)),_0x13bf54=_0x447b93(_0x114042,_0x2d0a05(0x183));return _0x8c362b[_0x2d0a05(0x170)]({'withText':!0x1,'icon':_0x1c3c25,'tooltip':!0x0,'class':_0x2d0a05(0x17d)}),_0x8c362b[_0x2d0a05(0x181)](_0x2d0a05(0x16c))['to'](_0x44fe37,_0x2d0a05(0x16e),_0x205dd0=>_0x205dd0?_0x3db5ec:_0x13bf54),_0x8c362b[_0x2d0a05(0x181)](_0x2d0a05(0x17a))['to'](_0x44fe37,_0x2d0a05(0x16e),_0x4a2fe1=>_0x4a2fe1?_0x347181:_0x1c3c25),_0x8c362b[_0x2d0a05(0x181)](_0x2d0a05(0x175))['to'](_0x44fe37,_0x2d0a05(0x16e)),_0x8c362b['on'](_0x2d0a05(0x17f),()=>{const _0x2936a9=_0x2d0a05;_0x44fe37[_0x2936a9(0x180)](_0x2936a9(0x172));}),_0x8c362b;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x69a50b=_0x4ad3;(function(_0x40fa96,_0x42d7dc){const _0x7e8b3=_0x4ad3,_0x1896ad=_0x40fa96();while(!![]){try{const _0x55c408=parseInt(_0x7e8b3(0x11d))/0x1+-parseInt(_0x7e8b3(0x10d))/0x2*(parseInt(_0x7e8b3(0x11c))/0x3)+-parseInt(_0x7e8b3(0x123))/0x4*(-parseInt(_0x7e8b3(0x12b))/0x5)+-parseInt(_0x7e8b3(0x120))/0x6*(parseInt(_0x7e8b3(0x12e))/0x7)+-parseInt(_0x7e8b3(0x125))/0x8*(-parseInt(_0x7e8b3(0x11f))/0x9)+parseInt(_0x7e8b3(0x114))/0xa*(-parseInt(_0x7e8b3(0x127))/0xb)+parseInt(_0x7e8b3(0x113))/0xc;if(_0x55c408===_0x42d7dc)break;else _0x1896ad['push'](_0x1896ad['shift']());}catch(_0x1af2b1){_0x1896ad['push'](_0x1896ad['shift']());}}}(_0x5c4b,0xbd89d));import{DocumentPosition as _0x379b9b}from'./documentposition.js';function _0x4ad3(_0x266883,_0x7a412c){const _0x5c4b48=_0x5c4b();return _0x4ad3=function(_0x4ad353,_0x511a38){_0x4ad353=_0x4ad353-0x10c;let _0x41d33b=_0x5c4b48[_0x4ad353];return _0x41d33b;},_0x4ad3(_0x266883,_0x7a412c);}function _0x5c4b(){const _0x3e8f21=['10450BaHPSg','createAfter','createFromPath','createAt','645025dsdnFk','data','firstChild','119yrUDhF','createBefore','496fCgDAM','parent','slice','isEqual','length','lastChild','16730784hCaKZU','12750qCSZua','nextNode','end','previousNode','path','document','reverse','includes','9480QyMikf','169991aItolM','start','10102437IBuMRk','425466wgpzcd','push','forEach','40aIKdiX','getContent','8yBOinb','getNudgedToWordBoundary'];_0x5c4b=function(){return _0x3e8f21;};return _0x5c4b();}import{clone as _0x51fbb3,getParents as _0xbc4e55,Document as _0x29a0d1,Text as _0x19be53,isTag as _0x1b9fd1,isText as _0x15afb7,replaceElement as _0x3d9243,removeElement as _0x318007}from'./htmlparser.js';export class DocumentRange{[_0x69a50b(0x11e)];[_0x69a50b(0x116)];constructor(_0x4ce011,_0x39cffc){const _0x549a6d=_0x69a50b;this[_0x549a6d(0x11e)]=_0x4ce011,this[_0x549a6d(0x116)]=_0x39cffc;}[_0x69a50b(0x110)](_0x185538){const _0x31de6a=_0x69a50b;return this==_0x185538||this[_0x31de6a(0x11e)][_0x31de6a(0x110)](_0x185538[_0x31de6a(0x11e)])&&this[_0x31de6a(0x116)][_0x31de6a(0x110)](_0x185538[_0x31de6a(0x116)]);}[_0x69a50b(0x126)](){const _0x5adf39=_0x69a50b;return new DocumentRange(this[_0x5adf39(0x11e)][_0x5adf39(0x126)](_0x5adf39(0x11e)),this[_0x5adf39(0x116)][_0x5adf39(0x126)](_0x5adf39(0x116)));}[_0x69a50b(0x124)](){const _0x54fc73=_0x69a50b,_0x3c4982=_0x51fbb3(this[_0x54fc73(0x11e)][_0x54fc73(0x119)]),_0x34eea0=_0x379b9b[_0x54fc73(0x129)](_0x3c4982,this[_0x54fc73(0x11e)][_0x54fc73(0x118)]),_0x17953b=_0x379b9b[_0x54fc73(0x129)](_0x3c4982,this[_0x54fc73(0x116)][_0x54fc73(0x118)]);let _0x33eb8b,_0x43e752;if(_0x15afb7(_0x34eea0[_0x54fc73(0x10e)])){const _0x3fdd2d=_0x34eea0[_0x54fc73(0x118)][_0x34eea0[_0x54fc73(0x118)][_0x54fc73(0x111)]-0x1],_0x5a27d5=new _0x19be53(_0x34eea0[_0x54fc73(0x10e)][_0x54fc73(0x12c)][_0x54fc73(0x10f)](_0x3fdd2d));_0x3d9243(_0x34eea0[_0x54fc73(0x10e)],_0x5a27d5),_0x33eb8b=_0x5a27d5;}else _0x33eb8b=_0x34eea0[_0x54fc73(0x115)];if(_0x15afb7(_0x17953b[_0x54fc73(0x10e)])){const _0x3f7bda=_0x17953b[_0x54fc73(0x118)][_0x17953b[_0x54fc73(0x118)][_0x54fc73(0x111)]-0x1],_0x12c3ec=new _0x19be53(_0x17953b[_0x54fc73(0x10e)][_0x54fc73(0x12c)][_0x54fc73(0x10f)](0x0,_0x3f7bda));_0x3d9243(_0x17953b[_0x54fc73(0x10e)],_0x12c3ec),_0x43e752=_0x12c3ec;}else _0x43e752=_0x17953b[_0x54fc73(0x117)];if(!(_0x33eb8b&&_0x43e752&&_0x3c4982[_0x54fc73(0x12d)]&&_0x3c4982[_0x54fc73(0x112)]))return new _0x29a0d1([]);const _0x3f6417=_0xbc4e55(_0x33eb8b),_0x5ad5b8=_0xbc4e55(_0x43e752),_0x558f3c=[],_0x10f24c=[];let _0x557b9d=_0x3c4982[_0x54fc73(0x12d)];for(;_0x557b9d&&_0x557b9d!==_0x33eb8b;){let _0x1426dd;_0x3f6417[_0x54fc73(0x11b)](_0x557b9d)||_0x558f3c[_0x54fc73(0x121)](_0x557b9d),_0x1426dd=_0x1b9fd1(_0x557b9d)?_0x379b9b[_0x54fc73(0x12a)](_0x3c4982,_0x557b9d,_0x54fc73(0x11e)):_0x379b9b[_0x54fc73(0x128)](_0x3c4982,_0x557b9d),_0x557b9d=_0x1426dd?_0x1426dd[_0x54fc73(0x115)]:null;}for(_0x557b9d=_0x3c4982[_0x54fc73(0x112)];_0x557b9d&&_0x557b9d!==_0x43e752;){let _0x1d3fc0;_0x5ad5b8[_0x54fc73(0x11b)](_0x557b9d)||_0x10f24c[_0x54fc73(0x121)](_0x557b9d),_0x1d3fc0=_0x1b9fd1(_0x557b9d)?_0x379b9b[_0x54fc73(0x12a)](_0x3c4982,_0x557b9d,_0x54fc73(0x116)):_0x379b9b[_0x54fc73(0x10c)](_0x3c4982,_0x557b9d),_0x557b9d=_0x1d3fc0?_0x1d3fc0[_0x54fc73(0x117)]:null;}return _0x558f3c[_0x54fc73(0x122)](_0x343edd=>{_0x318007(_0x343edd);}),_0x10f24c[_0x54fc73(0x11a)]()[_0x54fc73(0x122)](_0x42b46c=>{_0x318007(_0x42b46c);}),_0x3c4982;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ac010,_0x179179){var _0x3067a4=_0x3392,_0x4b3b9c=_0x4ac010();while(!![]){try{var _0xd858ae=parseInt(_0x3067a4(0x1e2))/0x1*(-parseInt(_0x3067a4(0x1dd))/0x2)+parseInt(_0x3067a4(0x1e6))/0x3+-parseInt(_0x3067a4(0x1e4))/0x4*(-parseInt(_0x3067a4(0x1e0))/0x5)+parseInt(_0x3067a4(0x1e9))/0x6+parseInt(_0x3067a4(0x1eb))/0x7+parseInt(_0x3067a4(0x1e1))/0x8*(parseInt(_0x3067a4(0x1df))/0x9)+-parseInt(_0x3067a4(0x1e7))/0xa*(parseInt(_0x3067a4(0x1e8))/0xb);if(_0xd858ae===_0x179179)break;else _0x4b3b9c['push'](_0x4b3b9c['shift']());}catch(_0x5e50e1){_0x4b3b9c['push'](_0x4b3b9c['shift']());}}}(_0x5471,0xdc5d9));import{CKEditorError as _0x3d5890}from'ckeditor5/src/utils.js';function _0x3392(_0x16f3ba,_0x4297e7){var _0x547169=_0x5471();return _0x3392=function(_0x3392df,_0x16964c){_0x3392df=_0x3392df-0x1dd;var _0x5e409e=_0x547169[_0x3392df];return _0x5e409e;},_0x3392(_0x16f3ba,_0x4297e7);}import{Editor as _0x552b04}from'ckeditor5/src/core.js';function _0x5471(){var _0x482326=['11sEFpJw','9930840feZBYx','ai-get-editor-from-context-no-editor','2693964iCbKEV','editors','warn','236526ruETBH','get','252BrvHlZ','2221505hVGUbi','507768FEjCIY','1WyLOqQ','length','4TJXcIK','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.','1763016irTzfK','38282730DEUiTG'];_0x5471=function(){return _0x482326;};return _0x5471();}export function getEditorFromContext(_0x316b23){var _0x19bbd8=_0x3392;if(_0x316b23 instanceof _0x552b04)return _0x316b23;if(_0x316b23?.[_0x19bbd8(0x1ec)]&&_0x316b23[_0x19bbd8(0x1ec)][_0x19bbd8(0x1de)](0x0))return _0x316b23[_0x19bbd8(0x1ec)][_0x19bbd8(0x1e3)]>0x1&&console[_0x19bbd8(0x1ed)](_0x19bbd8(0x1e5)),_0x316b23[_0x19bbd8(0x1ec)][_0x19bbd8(0x1de)](0x0);throw new _0x3d5890(_0x19bbd8(0x1ea));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2d0221,_0x275e58){const _0x4f392c=_0x8926,_0x3b6fe7=_0x2d0221();while(!![]){try{const _0x33b0e5=-parseInt(_0x4f392c(0x110))/0x1+-parseInt(_0x4f392c(0x10f))/0x2*(parseInt(_0x4f392c(0x103))/0x3)+parseInt(_0x4f392c(0x111))/0x4*(-parseInt(_0x4f392c(0xf5))/0x5)+-parseInt(_0x4f392c(0x102))/0x6*(-parseInt(_0x4f392c(0x112))/0x7)+parseInt(_0x4f392c(0xff))/0x8+parseInt(_0x4f392c(0xf4))/0x9+parseInt(_0x4f392c(0xf3))/0xa;if(_0x33b0e5===_0x275e58)break;else _0x3b6fe7['push'](_0x3b6fe7['shift']());}catch(_0x3ef290){_0x3b6fe7['push'](_0x3b6fe7['shift']());}}}(_0x35f8,0x4c916));function _0x8926(_0x3c7457,_0x29cd73){const _0x35f8f1=_0x35f8();return _0x8926=function(_0x89266f,_0x498535){_0x89266f=_0x89266f-0xf2;let _0x497464=_0x35f8f1[_0x89266f];return _0x497464;},_0x8926(_0x3c7457,_0x29cd73);}import{transformOperationSets as _0x53fc33}from'ckeditor5/src/engine.js';import{append as _0x4c5ee0,findByAttribute as _0xe79bfb,prependChild as _0x2db0d0,removeElement as _0x178c81,serialize as _0xc9ef01}from'./htmlparser.js';function _0x35f8(){const _0x50cddd=['cloneNode','model','length','data-id','history','2557360smpCOH','4836078IZVfAQ','9355MNzVYp','content','getDiff','anchorId','previousSibling','type','version','removed','shift','get','3514344FFhsTt','name','marker','3552hqnazE','129KpLKGT','filter','operationsA','document','oldRange','documentContextContent','getDocumentContext','map','getOperations','new','markers','getRange','12510kvfOrO','493667PgTxmZ','940bCSJeo','3353oSnsny','node'];_0x35f8=function(){return _0x50cddd;};return _0x35f8();}export function getOperationsFromReply({editor:_0x212964,interaction:_0x2aa569,reply:_0x4ea153,groups:_0xc38654,transform:_0x1ea481,documentCompare:_0x30bf23,documentCompareOptions:_0x4c63f3}){const _0x4fc5cc=_0x8926,_0x514678=_0x2aa569[_0x4fc5cc(0x109)]();if(!_0x514678)return[];const _0x763078=_0x514678[_0x4fc5cc(0xf6)],_0x5333f6=_0x514678[_0x4fc5cc(0xfb)],_0x5de8bd=_0x4ea153[_0x4fc5cc(0x108)][_0x4fc5cc(0x114)](!0x0);for(const {changes:_0x2391ed}of _0xc38654){const _0x45e328=_0x2391ed[_0x4fc5cc(0x104)](_0x783c1e=>_0x4fc5cc(0x10c)!=_0x783c1e[_0x4fc5cc(0xfa)])[_0x4fc5cc(0x10a)](_0x700e1f=>_0xe79bfb(_0x4fc5cc(0x117),_0x700e1f['id'],_0x5de8bd)),_0x5081d3=_0x2391ed[_0x4fc5cc(0x104)](_0x43db77=>_0x4fc5cc(0xfc)!=_0x43db77[_0x4fc5cc(0xfa)])[_0x4fc5cc(0x10a)](_0xf56bf1=>_0xf56bf1[_0x4fc5cc(0x113)][_0x4fc5cc(0x114)](!0x0));let _0x192bee=null;if(_0x45e328[_0x4fc5cc(0x116)]){_0x192bee=_0x45e328[0x0][_0x4fc5cc(0xf9)];for(let _0xd19e4d=0x0;_0xd19e4d<_0x45e328[_0x4fc5cc(0x116)];_0xd19e4d++)_0x178c81(_0x45e328[_0xd19e4d]);}if(_0x5081d3[_0x4fc5cc(0x116)]){_0x192bee||(_0x2391ed[0x0][_0x4fc5cc(0xf8)]?_0x192bee=_0xe79bfb(_0x4fc5cc(0x117),_0x2391ed[0x0][_0x4fc5cc(0xf8)],_0x5de8bd):(_0x192bee=_0x5081d3[_0x4fc5cc(0xfd)](),_0x2db0d0(_0x5de8bd,_0x192bee)));for(let _0xe87c34=0x0;_0xe87c34<_0x5081d3[_0x4fc5cc(0x116)];_0xe87c34++)_0x4c5ee0(_0x192bee,_0x5081d3[_0xe87c34]),_0x192bee=_0x5081d3[_0xe87c34];}}const _0x4ef89f=_0xc9ef01(_0x5de8bd),_0x50667a=_0x30bf23[_0x4fc5cc(0xf7)](_0x763078,_0x4ef89f,_0x4c63f3)[_0x4fc5cc(0x10b)]();if(_0x1ea481){const _0x3bf9b5=_0x212964[_0x4fc5cc(0x115)][_0x4fc5cc(0x106)][_0x4fc5cc(0xf2)][_0x4fc5cc(0x10b)](_0x5333f6),_0x3dd16b={'document':_0x212964[_0x4fc5cc(0x115)][_0x4fc5cc(0x106)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x53fc33(_0x50667a,_0x3bf9b5,_0x3dd16b)[_0x4fc5cc(0x105)];}return _0x50667a;}export function fixMarkerOperationOldRange(_0x53a48b,_0xbe9ece){const _0x9d4ed=_0x8926;if(_0x9d4ed(0x101)!=_0xbe9ece[_0x9d4ed(0xfa)])return;const _0x5ec198=_0x53a48b[_0x9d4ed(0x115)][_0x9d4ed(0x10d)][_0x9d4ed(0xfe)](_0xbe9ece[_0x9d4ed(0x100)]);_0x5ec198&&(_0xbe9ece[_0x9d4ed(0x107)]=_0x5ec198[_0x9d4ed(0x10e)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x168aa9,_0x30bbaf){const _0x4e06cd=_0x18f7,_0x2f7629=_0x168aa9();while(!![]){try{const _0x375b1c=parseInt(_0x4e06cd(0x17f))/0x1*(parseInt(_0x4e06cd(0x1aa))/0x2)+parseInt(_0x4e06cd(0x17a))/0x3+parseInt(_0x4e06cd(0x188))/0x4*(parseInt(_0x4e06cd(0x1be))/0x5)+-parseInt(_0x4e06cd(0x1b5))/0x6*(-parseInt(_0x4e06cd(0x1e3))/0x7)+parseInt(_0x4e06cd(0x1ce))/0x8*(parseInt(_0x4e06cd(0x16e))/0x9)+-parseInt(_0x4e06cd(0x172))/0xa+-parseInt(_0x4e06cd(0x1bb))/0xb;if(_0x375b1c===_0x30bbaf)break;else _0x2f7629['push'](_0x2f7629['shift']());}catch(_0x9944dd){_0x2f7629['push'](_0x2f7629['shift']());}}}(_0x49df,0x3df7a));import{findOne as _0x1d0cb5,getAttribute as _0x5ebfda,Document as _0x524870,serialize as _0x1917be,parse as _0x427e3c}from'./htmlparser.js';import{fixElementSuggestionRange as _0x43be6f}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x3df5fc,_DetachOperation as _0x1ec2ff,_removeFromModelNodeList as _0x12dc0d,_insertIntoModelNodeList as _0x353e3e}from'ckeditor5/src/engine.js';import{uid as _0x5cea13}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x254fa7,changeGroups:_0x27bfa2,documentContextContent:_0x397b28,showDiff:_0x341898,trimUnchanged:_0x3b6286=!0x0}){const _0x3fbbfd=_0x18f7;return _0x27bfa2[_0x3fbbfd(0x1cb)](_0x5de44b=>{const _0xe7398a=_0x3fbbfd,_0x136163=new _0x524870([]),_0x117198=new _0x524870([]);for(const _0x238fd4 of _0x5de44b[_0xe7398a(0x1b6)])if(_0x341898&&_0xe7398a(0x187)==_0x238fd4[_0xe7398a(0x1b3)]||_0x117198[_0xe7398a(0x1c3)][_0xe7398a(0x1c7)](_0x238fd4[_0xe7398a(0x179)][_0xe7398a(0x19d)](!0x0)),_0xe7398a(0x18a)!=_0x238fd4[_0xe7398a(0x1b3)]&&(_0x341898||_0xe7398a(0x187)!=_0x238fd4[_0xe7398a(0x1b3)])){const _0x596385=_0x1d0cb5(_0x3bf085=>_0x5ebfda(_0x3bf085,_0xe7398a(0x182))==_0x238fd4['id'],_0x397b28,!0x0);_0x596385&&_0x136163[_0xe7398a(0x1c3)][_0xe7398a(0x1c7)](_0x596385[_0xe7398a(0x19d)](!0x0));}const {content:_0x25eecd,hasChanges:_0x578835}=function(_0x21e2dc,_0x2da11d,_0x3644a7,_0x2aab15,_0xee7427=!0x0){const _0x5b5eb3=_0xe7398a,_0x1248d9=_0x21e2dc[_0x5b5eb3(0x1cc)][_0x5b5eb3(0x1ad)](_0x5b5eb3(0x177)),_0x43afaf=_0x1917be(_0x2da11d),_0x117772=_0x1917be(_0x3644a7),_0x5ce03a=_0x21e2dc[_0x5b5eb3(0x1b1)][_0x5b5eb3(0x1a3)](_0x43afaf,_0x5b5eb3(0x1ac)),_0x326ca1=_0x21e2dc[_0x5b5eb3(0x17b)][_0x5b5eb3(0x1e2)](_0x5ce03a,0x0),_0x1d2a52=_0x1248d9[_0x5b5eb3(0x1d3)](_0x43afaf,_0x117772,{'anchor':_0x326ca1,'markDeletions':_0x2aab15}),_0x141eaf=_0x1d2a52[_0x5b5eb3(0x1a5)]();if(0x0==_0x141eaf[_0x5b5eb3(0x1d1)])return{'content':_0x2da11d[_0x5b5eb3(0x19d)](!0x0),'hasChanges':!0x1};_0x2aab15?function(_0x4c59cb,_0x57e69d,_0x2ea384){const _0x27bb53=_0x5b5eb3;if(0x0==_0x4c59cb[_0x27bb53(0x1d1)])return;const _0x419ee8=_0x2ea384[_0x27bb53(0x1cc)][_0x27bb53(0x1ad)](_0x27bb53(0x177)),_0x1aba5e=_0x2ea384[_0x27bb53(0x1cc)][_0x27bb53(0x1ad)](_0x27bb53(0x199));_0x2ea384[_0x27bb53(0x17b)][_0x27bb53(0x178)](_0xc50a69=>{const _0x611ca8=_0x27bb53,_0x5e9871=new Set();for(let _0x148480=0x0;_0x148480<_0x4c59cb[_0x611ca8(0x1d1)];_0x148480++){const _0x33efaa=_0x4c59cb[_0x148480];if(_0x33efaa[_0x611ca8(0x1b8)]=null,_0x33efaa[_0x611ca8(0x1d5)]=!0x1,_0x419ee8[_0x611ca8(0x175)](_0x33efaa)){const _0x500121=_0x43be6f(_0x33efaa[_0x611ca8(0x1bf)],_0x2ea384[_0x611ca8(0x17b)]),_0x1c37d6=_0x611ca8(0x1a0)+_0x5cea13()+_0x611ca8(0x1b0);_0x57e69d[_0x611ca8(0x1c8)][_0x611ca8(0x1b9)](_0x1c37d6,_0x500121);}else switch(_0x33efaa[_0x611ca8(0x1b3)]){case _0x611ca8(0x192):{if(_0x33efaa[_0x611ca8(0x1df)]==_0x33efaa[_0x611ca8(0x18b)])break;_0xc50a69[_0x611ca8(0x19b)][_0x611ca8(0x171)](_0x33efaa),_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x1e1)](_0x33efaa);const _0x1550ef=_0x611ca8(0x1a7),_0x25ee48=_0x33efaa[_0x611ca8(0x1ab)],_0x3c7b6b=_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x181)](_0x25ee48,_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x1e2)](_0x25ee48[_0x611ca8(0x1a2)],_0x611ca8(0x1d8))),_0x1fe89d=_0x611ca8(0x195)+_0x1550ef+':'+_0x5cea13()+_0x611ca8(0x1b0);_0x57e69d[_0x611ca8(0x1c8)][_0x611ca8(0x1b9)](_0x1fe89d,_0x3c7b6b);break;}case _0x611ca8(0x17c):case _0x611ca8(0x1a8):case _0x611ca8(0x1c1):{if(_0x33efaa[_0x611ca8(0x19c)]==_0x33efaa[_0x611ca8(0x1db)])break;_0xc50a69[_0x611ca8(0x19b)][_0x611ca8(0x171)](_0x33efaa),_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x1e1)](_0x33efaa);const _0x3bd2af=_0x33efaa[_0x611ca8(0x1ae)];if(!_0x1aba5e[_0x611ca8(0x1e0)](_0x3bd2af))break;const _0x280f17=_0x43be6f(_0x33efaa[_0x611ca8(0x197)],_0x2ea384[_0x611ca8(0x17b)]),_0x1cbaf2=_0x611ca8(0x195)+_0x3bd2af+':'+_0x5cea13()+_0x611ca8(0x1b0);_0x57e69d[_0x611ca8(0x1c8)][_0x611ca8(0x1b9)](_0x1cbaf2,_0x280f17);break;}case _0x611ca8(0x1a1):{_0xc50a69[_0x611ca8(0x19b)][_0x611ca8(0x171)](_0x33efaa),_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x1e1)](_0x33efaa);if(_0x4c59cb[_0x148480+0x1]&&_0x611ca8(0x1bd)==_0x4c59cb[_0x148480+0x1][_0x611ca8(0x1b3)]){no(_0x57e69d,_0x33efaa);break;}const _0x4bfaf5=_0x33efaa[_0x611ca8(0x1ab)],_0x21e8f5=_0x33efaa[_0x611ca8(0x1c0)],_0x133b62=_0x43be6f(_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x181)](_0x4bfaf5,_0x4bfaf5[_0x611ca8(0x19a)](_0x21e8f5)),_0x2ea384[_0x611ca8(0x17b)]),_0x37d6b7=_0x611ca8(0x1c2)+_0x5cea13()+_0x611ca8(0x1b0);_0x57e69d[_0x611ca8(0x1c8)][_0x611ca8(0x1b9)](_0x37d6b7,_0x133b62);break;}case _0x611ca8(0x1d0):{_0xc50a69[_0x611ca8(0x19b)][_0x611ca8(0x171)](_0x33efaa),_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x1e1)](_0x33efaa);const _0xc2774c=_0x33efaa[_0x611ca8(0x18f)],_0x270a19=_0x33efaa[_0x611ca8(0x1d6)],_0x5f2aa8=_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x181)](_0xc2774c,_0x270a19),_0x328388=_0x611ca8(0x1c2)+_0x5cea13()+_0x611ca8(0x1b0);_0x57e69d[_0x611ca8(0x1c8)][_0x611ca8(0x1b9)](_0x328388,_0x5f2aa8);break;}case _0x611ca8(0x1bd):{_0xc50a69[_0x611ca8(0x19b)][_0x611ca8(0x171)](_0x33efaa),_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x1e1)](_0x33efaa),_0x4c59cb[_0x148480-0x1]&&_0x611ca8(0x1a1)==_0x4c59cb[_0x148480-0x1][_0x611ca8(0x1b3)]&&no(_0x57e69d,_0x33efaa);const _0x4b611f=_0x33efaa[_0x611ca8(0x189)](),_0x4e099c=_0x33efaa[_0x611ca8(0x1c0)];for(let _0x363616=0x0;_0x363616<_0x4e099c;_0x363616++){const _0x35993c=_0x4b611f[_0x611ca8(0x19a)](_0x363616)[_0x611ca8(0x1a2)];_0x5e9871[_0x611ca8(0x1ba)](_0x35993c);}break;}case _0x611ca8(0x18d):{const _0x19ef98=_0x33efaa[_0x611ca8(0x176)],_0x363408=_0x33efaa[_0x611ca8(0x1c0)],_0x12a0bd=new _0x1ec2ff(_0x19ef98,_0x363408);_0xc50a69[_0x611ca8(0x19b)][_0x611ca8(0x171)](_0x12a0bd),_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x1e1)](_0x12a0bd);break;}}}for(const _0x2d74f9 of _0x5e9871){const _0x5b2430=_0x2ea384[_0x611ca8(0x17b)][_0x611ca8(0x1ca)](_0x2d74f9),_0x3fbd28=_0x611ca8(0x1d9)+_0x5cea13()+_0x611ca8(0x1b0);_0x57e69d[_0x611ca8(0x1c8)][_0x611ca8(0x1b9)](_0x3fbd28,_0x43be6f(_0x5b2430,_0x2ea384[_0x611ca8(0x17b)]));}});}(_0x141eaf,_0x5ce03a,_0x21e2dc):_0x21e2dc[_0x5b5eb3(0x17b)][_0x5b5eb3(0x178)](_0x54c1d1=>{const _0x3bd349=_0x5b5eb3;for(const _0x50d534 of _0x141eaf)if(_0x3bd349(0x18d)==_0x50d534[_0x3bd349(0x1b3)]){const _0x22eaf5=_0x50d534[_0x3bd349(0x176)],_0x5e9889=_0x50d534[_0x3bd349(0x1c0)],_0x2567cf=new _0x1ec2ff(_0x22eaf5,_0x5e9889);_0x54c1d1[_0x3bd349(0x19b)][_0x3bd349(0x171)](_0x2567cf),_0x21e2dc[_0x3bd349(0x17b)][_0x3bd349(0x1e1)](_0x2567cf);}else{if(_0x3bd349(0x1d7)==_0x50d534[_0x3bd349(0x1b3)]){const _0x763b40=_0x50d534[_0x3bd349(0x1a6)],_0x115478=_0x50d534[_0x3bd349(0x1bf)];null!==_0x115478?_0x5ce03a[_0x3bd349(0x1c8)][_0x3bd349(0x1b9)](_0x763b40,_0x115478):_0x5ce03a[_0x3bd349(0x1c8)][_0x3bd349(0x173)](_0x763b40);}else _0x50d534[_0x3bd349(0x1b8)]=null,_0x50d534[_0x3bd349(0x1d5)]=!0x1,_0x54c1d1[_0x3bd349(0x19b)][_0x3bd349(0x171)](_0x50d534),_0x21e2dc[_0x3bd349(0x17b)][_0x3bd349(0x1e1)](_0x50d534);}});if(_0xee7427){const _0x1d4a5e=getMinimalSelection(_0x21e2dc,_0x141eaf,_0x5ce03a);expandSelectionWithContext(_0x21e2dc[_0x5b5eb3(0x17b)],_0x1d4a5e),function(_0x1ac7d7,_0x3e6dbf){const _0x5cdac8=_0x5b5eb3,_0x83caa=_0x3e6dbf[_0x5cdac8(0x1bc)]()[_0x5cdac8(0x18c)];let _0x4e504b=_0x3e6dbf[_0x5cdac8(0x1bc)]()[_0x5cdac8(0x1d8)];const _0x635b07=_0x83caa[_0x5cdac8(0x1a4)];(_0x4e504b[_0x5cdac8(0x1b7)]||_0x4e504b[_0x5cdac8(0x1a2)]&&_0x4e504b[_0x5cdac8(0x1a2)]['is'](_0x5cdac8(0x19e)))&&(_0x353e3e(_0x4e504b,_0x5cdac8(0x16f)),_0x4e504b=_0x4e504b[_0x5cdac8(0x19a)](0x3)),(_0x83caa[_0x5cdac8(0x1b7)]||_0x83caa[_0x5cdac8(0x196)]&&_0x83caa[_0x5cdac8(0x196)]['is'](_0x5cdac8(0x19e)))&&(_0x353e3e(_0x83caa,_0x5cdac8(0x16f)),function(_0x3446e3,_0x411095,_0x236782){const _0x262b0c=_0x5cdac8;for(let [_0x35ac61,_0x151dc7]of _0x3446e3[_0x262b0c(0x1c8)]){const _0xd8cae6=_0x151dc7[_0x262b0c(0x170)](_0x411095,_0x236782,!0x1);_0x151dc7=_0xd8cae6[0x0],_0x3446e3[_0x262b0c(0x1c8)][_0x262b0c(0x1b9)](_0x35ac61,_0x151dc7);}}(_0x635b07,_0x83caa,0x3),_0x83caa[_0x5cdac8(0x186)]==_0x4e504b[_0x5cdac8(0x186)]&&(_0x4e504b=_0x4e504b[_0x5cdac8(0x19a)](0x3)));const _0x1d0532=_0x1ac7d7[_0x5cdac8(0x181)](_0x1ac7d7[_0x5cdac8(0x1e2)](_0x635b07,0x0),_0x83caa),_0x1a6f1e=_0x1ac7d7[_0x5cdac8(0x181)](_0x4e504b,_0x1ac7d7[_0x5cdac8(0x1e2)](_0x635b07,_0x5cdac8(0x1d8))),_0x3458ba=[..._0x1d0532[_0x5cdac8(0x198)](),..._0x1a6f1e[_0x5cdac8(0x198)]()];_0x3458ba[_0x5cdac8(0x1c4)]();for(const _0x3efb40 of _0x3458ba)_0x12dc0d(_0x3efb40),_transformMarkersByDeletion(_0x635b07,_0x3efb40);}(_0x21e2dc[_0x5b5eb3(0x17b)],_0x1d4a5e);}const _0x4a5d9e=_0x21e2dc[_0x5b5eb3(0x1b1)][_0x5b5eb3(0x1c6)](_0x5ce03a,{'showSuggestionHighlights':!0x0});return{'content':_0x427e3c(_0x4a5d9e),'hasChanges':!0x0};}(_0x254fa7,_0x136163,_0x117198,_0x341898,_0x3b6286);return{'type':_0x5de44b[_0xe7398a(0x1b6)][0x0][_0xe7398a(0x1b3)],'index':_0x5de44b[_0xe7398a(0x174)],'content':_0x25eecd,'hasChanges':_0x578835};});}function no(_0x1643ff,_0x18d5da){const _0x332917=_0x18f7;for(const [_0x5e8c40,_0xeee741]of _0x1643ff[_0x332917(0x1c8)]){const _0x4ffa7c=_0x3df5fc[_0x332917(0x191)](_0xeee741[_0x332917(0x185)](_0x18d5da));_0x1643ff[_0x332917(0x1c8)][_0x332917(0x1b9)](_0x5e8c40,_0x4ffa7c);}}export function getMinimalSelection(_0x3851b6,_0x3948e2,_0x15d517){const _0x2d5d75=_0x18f7,_0x3897d8=_0x3851b6[_0x2d5d75(0x1cc)][_0x2d5d75(0x1ad)](_0x2d5d75(0x177));let _0xfd6a11=_0x3851b6[_0x2d5d75(0x17b)][_0x2d5d75(0x1e2)](_0x15d517,Number[_0x2d5d75(0x1d4)]),_0x2f3aad=_0x3851b6[_0x2d5d75(0x17b)][_0x2d5d75(0x1e2)](_0x15d517,0x0);for(const _0x52ab63 of _0x3948e2){let _0x41cb39,_0x15ba55;if(_0x3897d8[_0x2d5d75(0x175)](_0x52ab63))_0x41cb39=_0x52ab63[_0x2d5d75(0x1bf)][_0x2d5d75(0x18c)],_0x15ba55=_0x52ab63[_0x2d5d75(0x1bf)][_0x2d5d75(0x1d8)];else switch(_0xfd6a11=_0xfd6a11[_0x2d5d75(0x185)](_0x52ab63),_0x2f3aad=_0x2f3aad[_0x2d5d75(0x185)](_0x52ab63),_0x52ab63[_0x2d5d75(0x1b3)]){case _0x2d5d75(0x192):_0x41cb39=_0x52ab63[_0x2d5d75(0x1ab)],_0x15ba55=_0x41cb39[_0x2d5d75(0x19a)](0x1);break;case _0x2d5d75(0x17c):case _0x2d5d75(0x1a8):case _0x2d5d75(0x1c1):_0x41cb39=_0x52ab63[_0x2d5d75(0x197)][_0x2d5d75(0x18c)],_0x15ba55=_0x52ab63[_0x2d5d75(0x197)][_0x2d5d75(0x1d8)];break;case _0x2d5d75(0x1a1):_0x41cb39=_0x52ab63[_0x2d5d75(0x1ab)],_0x15ba55=_0x41cb39[_0x2d5d75(0x19a)](_0x52ab63[_0x2d5d75(0x1c0)]);break;case _0x2d5d75(0x1d0):_0x41cb39=_0x52ab63[_0x2d5d75(0x18f)],_0x15ba55=_0x52ab63[_0x2d5d75(0x1d6)];break;case _0x2d5d75(0x1a9):{const _0x42e907=_0x52ab63[_0x2d5d75(0x1de)][_0x2d5d75(0x1da)][_0x2d5d75(0x1dc)](0x0,-0x1);_0x41cb39=_0x3851b6[_0x2d5d75(0x17b)][_0x2d5d75(0x1cf)](_0x15d517,_0x42e907),_0x15ba55=_0x41cb39[_0x2d5d75(0x19a)](0x1);break;}case _0x2d5d75(0x18d):{const _0x287a1f=_0x52ab63[_0x2d5d75(0x1c0)],_0x248acc=_0x52ab63[_0x2d5d75(0x176)][_0x2d5d75(0x170)](_0x52ab63[_0x2d5d75(0x1de)],_0x287a1f),_0x19a646=_0x52ab63[_0x2d5d75(0x189)]();_0x2d5d75(0x18d)==_0x52ab63[_0x2d5d75(0x1b3)]?(_0x41cb39=_0x248acc,_0x15ba55=_0x248acc):(_0x41cb39=_0x19a646,_0x15ba55=_0x19a646[_0x2d5d75(0x19a)](_0x287a1f));break;}}_0x41cb39&&_0x41cb39[_0x2d5d75(0x190)](_0xfd6a11)&&(_0xfd6a11=_0x41cb39[_0x2d5d75(0x1c5)](),_0xfd6a11[_0x2d5d75(0x1c9)]=_0x2d5d75(0x17e)),_0x15ba55&&_0x15ba55[_0x2d5d75(0x180)](_0x2f3aad)&&(_0x2f3aad=_0x15ba55[_0x2d5d75(0x1c5)](),_0x2f3aad[_0x2d5d75(0x1c9)]=_0x2d5d75(0x17e));}return _0x3851b6[_0x2d5d75(0x17b)][_0x2d5d75(0x1b2)](_0x3851b6[_0x2d5d75(0x17b)][_0x2d5d75(0x181)](_0xfd6a11,_0x2f3aad));}export function expandSelectionWithContext(_0x21e3b2,_0x3fdad4){const _0x2e702c=_0x18f7;ro(_0x21e3b2,_0x3fdad4,_0x2e702c(0x17d));const _0x5464cf=_0x3fdad4[_0x2e702c(0x1bc)]();_0x3fdad4[_0x2e702c(0x19f)]([]),_0x3fdad4[_0x2e702c(0x19f)](_0x5464cf,{'backward':!0x0}),ro(_0x21e3b2,_0x3fdad4,_0x2e702c(0x184));}function _0x49df(){const _0x4ee494=['getShiftedBy','batch','oldValue','cloneNode','$text','setTo','suggestion:deletion:','insert','nodeAfter','parse','root','getOperations','name','$elementName','removeAttribute','merge','326ARvXnV','position','$root','get','key','element',':$aiSuggestion','data','createSelection','type','word','30kYiwZK','changes','textNode','baseVersion','set','add','10347942aIzRAs','getFirstRange','move','120095LzswSP','newRange','howMany','changeAttribute','suggestion:insertion:','children','reverse','clone','stringify','push','markers','stickiness','createRangeOn','map','plugins','isObject','88LFzHMK','createPositionFromPath','split','length','modifySelection','getDiff','POSITIVE_INFINITY','isDocumentOperation','moveTargetPosition','marker','end','suggestion:formatBlock:$fakeWrap:','path','newValue','slice','focus','targetPosition','oldName','isRegisteredAttribute','applyOperation','createPositionAt','571494nyHPGs','281349YACulw','...','_getTransformedByInsertion','addOperation','2403770NVarwr','delete','index','isMarkedRemoveOperation','sourcePosition','DocumentCompare','change','node','424722vLBhzP','model','addAttribute','forward','toNone','1405dbAojG','isAfter','createRange','data-id','isBlock','backward','getTransformedByOperation','parent','removed','52TDuyFG','getMovedRangeStart','new','newName','start','remove','schema','splitPosition','isBefore','_createFromRanges','rename','_getTransformedByDeletion','offset','suggestion:attribute:','nodeBefore','range','getMinimalFlatRanges','SuggestionsConversion'];_0x49df=function(){return _0x4ee494;};return _0x49df();}function ro(_0x11eaba,_0x186c51,_0x3c81ad){const _0x35384b=_0x18f7;let _0x4aead0=0x14;for(;_0x4aead0;){_0x11eaba[_0x35384b(0x1d2)](_0x186c51,{'unit':_0x35384b(0x1b4),'direction':_0x3c81ad}),_0x4aead0--;const _0x30034a=_0x186c51[_0x35384b(0x1dd)][_0x35384b(0x17d)==_0x3c81ad?_0x35384b(0x196):_0x35384b(0x1a2)];if(_0x30034a&&_0x30034a['is'](_0x35384b(0x1af))&&_0x11eaba[_0x35384b(0x18e)][_0x35384b(0x183)](_0x30034a)&&_0x11eaba[_0x35384b(0x18e)][_0x35384b(0x1cd)](_0x30034a))break;}}function _0x18f7(_0x53f5f6,_0x5cb096){const _0x49df22=_0x49df();return _0x18f7=function(_0x18f795,_0x2c5d95){_0x18f795=_0x18f795-0x16e;let _0x82a60f=_0x49df22[_0x18f795];return _0x82a60f;},_0x18f7(_0x53f5f6,_0x5cb096);}export function _transformMarkersByDeletion(_0x175f26,_0x59e536){const _0x37fad1=_0x18f7;for(const [_0x381b0a,_0xf1b45e]of _0x175f26[_0x37fad1(0x1c8)]){const _0xb24fe7=_0xf1b45e[_0x37fad1(0x193)](_0x59e536[_0x37fad1(0x18c)],_0x59e536[_0x37fad1(0x1d8)][_0x37fad1(0x194)]-_0x59e536[_0x37fad1(0x18c)][_0x37fad1(0x194)]);null!=_0xb24fe7?_0x175f26[_0x37fad1(0x1c8)][_0x37fad1(0x1b9)](_0x381b0a,_0xb24fe7):_0x175f26[_0x37fad1(0x1c8)][_0x37fad1(0x173)](_0x381b0a);}}
|
|
23
|
+
(function(_0x55fdbb,_0x3557c8){const _0x3903e9=_0x2e62,_0x4c35b5=_0x55fdbb();while(!![]){try{const _0x105134=parseInt(_0x3903e9(0x127))/0x1*(-parseInt(_0x3903e9(0x114))/0x2)+-parseInt(_0x3903e9(0x13a))/0x3+parseInt(_0x3903e9(0x146))/0x4+parseInt(_0x3903e9(0x112))/0x5*(parseInt(_0x3903e9(0x10c))/0x6)+-parseInt(_0x3903e9(0x14d))/0x7*(-parseInt(_0x3903e9(0x107))/0x8)+-parseInt(_0x3903e9(0x125))/0x9*(-parseInt(_0x3903e9(0x10e))/0xa)+parseInt(_0x3903e9(0x15a))/0xb*(-parseInt(_0x3903e9(0x11f))/0xc);if(_0x105134===_0x3557c8)break;else _0x4c35b5['push'](_0x4c35b5['shift']());}catch(_0x1bb395){_0x4c35b5['push'](_0x4c35b5['shift']());}}}(_0x2892,0xec112));import{findOne as _0x23fc79,getAttribute as _0x4210e5,Document as _0x18e6ae,serialize as _0x335bdb,parse as _0x165c3b}from'./htmlparser.js';import{fixElementSuggestionRange as _0x33bdbc}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x3e1754,_DetachOperation as _0x265714,_removeFromModelNodeList as _0x4214e5,_insertIntoModelNodeList as _0x3cbf5f}from'ckeditor5/src/engine.js';import{uid as _0x4deeb2}from'ckeditor5/src/utils.js';function _0x2e62(_0x2f55a4,_0x2a8134){const _0x2892ca=_0x2892();return _0x2e62=function(_0x2e6229,_0x151428){_0x2e6229=_0x2e6229-0xe9;let _0x4cad95=_0x2892ca[_0x2e6229];return _0x4cad95;},_0x2e62(_0x2f55a4,_0x2a8134);}function _0x2892(){const _0x207d45=['rename','createRangeOn','index','$text','addAttribute','_createFromRanges','getShiftedBy','1740qdVoCz','schema','stringify','isAfter','removed','word','11275839txqdyT','new','1836467caXrEI','createPositionAt','createRange','...','end','parse','isObject','batch','node','newValue','key','splitPosition','marker','getTransformedByOperation','type','stickiness','_getTransformedByDeletion','textNode','data-id','615285FBFUKa','setTo','POSITIVE_INFINITY','length','targetPosition','getMovedRangeStart','isBlock','isMarkedRemoveOperation','forward','split','removeAttribute','suggestion:deletion:','1136540LOzQrt','cloneNode','nodeBefore','remove','focus','set','changeAttribute','42TmCUyJ','isRegisteredAttribute','start','getMinimalFlatRanges','get','slice','applyOperation','modifySelection','root','toNone','_getTransformedByInsertion','push','backward','103763KXtgZN','add','merge','createSelection','move','isBefore','DocumentCompare','name','delete','oldName','clone','oldValue','addOperation','position','suggestion:formatBlock:$fakeWrap:','getOperations','newName','createPositionFromPath','isDocumentOperation','getFirstRange','range','newRange','$elementName','offset','nodeAfter','path','element','markers','suggestion:attribute:','children','changes',':$aiSuggestion','plugins','howMany','insert','model','2119016jyvcJB','$root','suggestion:insertion:','map','baseVersion','6Sxbdwq','SuggestionsConversion','10ZkhpjY','change','parent','moveTargetPosition','6250045VDwJdx','getDiff','2qAHkYd','reverse','sourcePosition','data'];_0x2892=function(){return _0x207d45;};return _0x2892();}export function getSuggestionPartsFromReply({editor:_0x3e8693,changeGroups:_0x161877,documentContextContent:_0x38b9f8,showDiff:_0x4e0475,trimUnchanged:_0x310a36=!0x0}){const _0x3685a6=_0x2e62;return _0x161877[_0x3685a6(0x10a)](_0x423356=>{const _0xe3d3d0=_0x3685a6,_0x5701eb=new _0x18e6ae([]),_0x40422f=new _0x18e6ae([]);for(const _0x355dbd of _0x423356[_0xe3d3d0(0x101)])if(_0x4e0475&&_0xe3d3d0(0x123)==_0x355dbd[_0xe3d3d0(0x135)]||_0x40422f[_0xe3d3d0(0x100)][_0xe3d3d0(0x158)](_0x355dbd[_0xe3d3d0(0x12f)][_0xe3d3d0(0x147)](!0x0)),_0xe3d3d0(0x126)!=_0x355dbd[_0xe3d3d0(0x135)]&&(_0x4e0475||_0xe3d3d0(0x123)!=_0x355dbd[_0xe3d3d0(0x135)])){const _0x24718e=_0x23fc79(_0x31bde9=>_0x4210e5(_0x31bde9,_0xe3d3d0(0x139))==_0x355dbd['id'],_0x38b9f8,!0x0);_0x24718e&&_0x5701eb[_0xe3d3d0(0x100)][_0xe3d3d0(0x158)](_0x24718e[_0xe3d3d0(0x147)](!0x0));}const {content:_0x589537,hasChanges:_0x2d44d0}=function(_0x114bd0,_0x1505e0,_0x301ebf,_0x207d14,_0x5adcfd=!0x0){const _0x276076=_0xe3d3d0,_0x3bd3cd=_0x114bd0[_0x276076(0x103)][_0x276076(0x151)](_0x276076(0xe9)),_0x59f0da=_0x335bdb(_0x1505e0),_0x5e6781=_0x335bdb(_0x301ebf),_0x2632fc=_0x114bd0[_0x276076(0x117)][_0x276076(0x12c)](_0x59f0da,_0x276076(0x108)),_0x486981=_0x114bd0[_0x276076(0x106)][_0x276076(0x128)](_0x2632fc,0x0),_0x448a3d=_0x3bd3cd[_0x276076(0x113)](_0x59f0da,_0x5e6781,{'anchor':_0x486981,'markDeletions':_0x207d14}),_0x2e1e02=_0x448a3d[_0x276076(0xf2)]();if(0x0==_0x2e1e02[_0x276076(0x13d)])return{'content':_0x1505e0[_0x276076(0x147)](!0x0),'hasChanges':!0x1};_0x207d14?function(_0x595bb8,_0x188747,_0x116ba6){const _0x23e505=_0x276076;if(0x0==_0x595bb8[_0x23e505(0x13d)])return;const _0x226bd4=_0x116ba6[_0x23e505(0x103)][_0x23e505(0x151)](_0x23e505(0xe9)),_0x5d9e23=_0x116ba6[_0x23e505(0x103)][_0x23e505(0x151)](_0x23e505(0x10d));_0x116ba6[_0x23e505(0x106)][_0x23e505(0x10f)](_0x5d1ad4=>{const _0x3ed2c4=_0x23e505,_0x5045ab=new Set();for(let _0x2ce3a9=0x0;_0x2ce3a9<_0x595bb8[_0x3ed2c4(0x13d)];_0x2ce3a9++){const _0x3e784f=_0x595bb8[_0x2ce3a9];if(_0x3e784f[_0x3ed2c4(0x10b)]=null,_0x3e784f[_0x3ed2c4(0xf5)]=!0x1,_0x226bd4[_0x3ed2c4(0x141)](_0x3e784f)){const _0x2564e8=_0x33bdbc(_0x3e784f[_0x3ed2c4(0xf8)],_0x116ba6[_0x3ed2c4(0x106)]),_0x57468d=_0x3ed2c4(0x145)+_0x4deeb2()+_0x3ed2c4(0x102);_0x188747[_0x3ed2c4(0xfe)][_0x3ed2c4(0x14b)](_0x57468d,_0x2564e8);}else switch(_0x3e784f[_0x3ed2c4(0x135)]){case _0x3ed2c4(0x118):{if(_0x3e784f[_0x3ed2c4(0xec)]==_0x3e784f[_0x3ed2c4(0xf3)])break;_0x5d1ad4[_0x3ed2c4(0x12e)][_0x3ed2c4(0xef)](_0x3e784f),_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x153)](_0x3e784f);const _0x18e6d4=_0x3ed2c4(0xf9),_0x4e752d=_0x3e784f[_0x3ed2c4(0xf0)],_0x450c22=_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x129)](_0x4e752d,_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x128)](_0x4e752d[_0x3ed2c4(0xfb)],_0x3ed2c4(0x12b))),_0x60d9d=_0x3ed2c4(0xff)+_0x18e6d4+':'+_0x4deeb2()+_0x3ed2c4(0x102);_0x188747[_0x3ed2c4(0xfe)][_0x3ed2c4(0x14b)](_0x60d9d,_0x450c22);break;}case _0x3ed2c4(0x11c):case _0x3ed2c4(0x144):case _0x3ed2c4(0x14c):{if(_0x3e784f[_0x3ed2c4(0xee)]==_0x3e784f[_0x3ed2c4(0x130)])break;_0x5d1ad4[_0x3ed2c4(0x12e)][_0x3ed2c4(0xef)](_0x3e784f),_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x153)](_0x3e784f);const _0x5a8408=_0x3e784f[_0x3ed2c4(0x131)];if(!_0x5d9e23[_0x3ed2c4(0x14e)](_0x5a8408))break;const _0x269fc5=_0x33bdbc(_0x3e784f[_0x3ed2c4(0xf7)],_0x116ba6[_0x3ed2c4(0x106)]),_0x3964fc=_0x3ed2c4(0xff)+_0x5a8408+':'+_0x4deeb2()+_0x3ed2c4(0x102);_0x188747[_0x3ed2c4(0xfe)][_0x3ed2c4(0x14b)](_0x3964fc,_0x269fc5);break;}case _0x3ed2c4(0x105):{_0x5d1ad4[_0x3ed2c4(0x12e)][_0x3ed2c4(0xef)](_0x3e784f),_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x153)](_0x3e784f);if(_0x595bb8[_0x2ce3a9+0x1]&&_0x3ed2c4(0x15e)==_0x595bb8[_0x2ce3a9+0x1][_0x3ed2c4(0x135)]){no(_0x188747,_0x3e784f);break;}const _0x729c9c=_0x3e784f[_0x3ed2c4(0xf0)],_0x300cc9=_0x3e784f[_0x3ed2c4(0x104)],_0x4912d8=_0x33bdbc(_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x129)](_0x729c9c,_0x729c9c[_0x3ed2c4(0x11e)](_0x300cc9)),_0x116ba6[_0x3ed2c4(0x106)]),_0x9f766c=_0x3ed2c4(0x109)+_0x4deeb2()+_0x3ed2c4(0x102);_0x188747[_0x3ed2c4(0xfe)][_0x3ed2c4(0x14b)](_0x9f766c,_0x4912d8);break;}case _0x3ed2c4(0x143):{_0x5d1ad4[_0x3ed2c4(0x12e)][_0x3ed2c4(0xef)](_0x3e784f),_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x153)](_0x3e784f);const _0x347871=_0x3e784f[_0x3ed2c4(0x132)],_0xe2398c=_0x3e784f[_0x3ed2c4(0x111)],_0x2c3f1a=_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x129)](_0x347871,_0xe2398c),_0x41bbf2=_0x3ed2c4(0x109)+_0x4deeb2()+_0x3ed2c4(0x102);_0x188747[_0x3ed2c4(0xfe)][_0x3ed2c4(0x14b)](_0x41bbf2,_0x2c3f1a);break;}case _0x3ed2c4(0x15e):{_0x5d1ad4[_0x3ed2c4(0x12e)][_0x3ed2c4(0xef)](_0x3e784f),_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x153)](_0x3e784f),_0x595bb8[_0x2ce3a9-0x1]&&_0x3ed2c4(0x105)==_0x595bb8[_0x2ce3a9-0x1][_0x3ed2c4(0x135)]&&no(_0x188747,_0x3e784f);const _0x2f32c6=_0x3e784f[_0x3ed2c4(0x13f)](),_0x9da498=_0x3e784f[_0x3ed2c4(0x104)];for(let _0x23b6f0=0x0;_0x23b6f0<_0x9da498;_0x23b6f0++){const _0x48d791=_0x2f32c6[_0x3ed2c4(0x11e)](_0x23b6f0)[_0x3ed2c4(0xfb)];_0x5045ab[_0x3ed2c4(0x15b)](_0x48d791);}break;}case _0x3ed2c4(0x149):{const _0x19845b=_0x3e784f[_0x3ed2c4(0x116)],_0xbfbf70=_0x3e784f[_0x3ed2c4(0x104)],_0x5ba00e=new _0x265714(_0x19845b,_0xbfbf70);_0x5d1ad4[_0x3ed2c4(0x12e)][_0x3ed2c4(0xef)](_0x5ba00e),_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x153)](_0x5ba00e);break;}}}for(const _0x1feaca of _0x5045ab){const _0x5562d4=_0x116ba6[_0x3ed2c4(0x106)][_0x3ed2c4(0x119)](_0x1feaca),_0x547719=_0x3ed2c4(0xf1)+_0x4deeb2()+_0x3ed2c4(0x102);_0x188747[_0x3ed2c4(0xfe)][_0x3ed2c4(0x14b)](_0x547719,_0x33bdbc(_0x5562d4,_0x116ba6[_0x3ed2c4(0x106)]));}});}(_0x2e1e02,_0x2632fc,_0x114bd0):_0x114bd0[_0x276076(0x106)][_0x276076(0x10f)](_0x20e71d=>{const _0x1e2d9d=_0x276076;for(const _0x269a24 of _0x2e1e02)if(_0x1e2d9d(0x149)==_0x269a24[_0x1e2d9d(0x135)]){const _0x10a5c6=_0x269a24[_0x1e2d9d(0x116)],_0x59ded2=_0x269a24[_0x1e2d9d(0x104)],_0x8c5ef5=new _0x265714(_0x10a5c6,_0x59ded2);_0x20e71d[_0x1e2d9d(0x12e)][_0x1e2d9d(0xef)](_0x8c5ef5),_0x114bd0[_0x1e2d9d(0x106)][_0x1e2d9d(0x153)](_0x8c5ef5);}else{if(_0x1e2d9d(0x133)==_0x269a24[_0x1e2d9d(0x135)]){const _0x1c2907=_0x269a24[_0x1e2d9d(0xea)],_0x214b47=_0x269a24[_0x1e2d9d(0xf8)];null!==_0x214b47?_0x2632fc[_0x1e2d9d(0xfe)][_0x1e2d9d(0x14b)](_0x1c2907,_0x214b47):_0x2632fc[_0x1e2d9d(0xfe)][_0x1e2d9d(0xeb)](_0x1c2907);}else _0x269a24[_0x1e2d9d(0x10b)]=null,_0x269a24[_0x1e2d9d(0xf5)]=!0x1,_0x20e71d[_0x1e2d9d(0x12e)][_0x1e2d9d(0xef)](_0x269a24),_0x114bd0[_0x1e2d9d(0x106)][_0x1e2d9d(0x153)](_0x269a24);}});if(_0x5adcfd){const _0x5dc1e4=getMinimalSelection(_0x114bd0,_0x2e1e02,_0x2632fc);expandSelectionWithContext(_0x114bd0[_0x276076(0x106)],_0x5dc1e4),function(_0x480d2d,_0x3b0816){const _0x177318=_0x276076,_0x392a47=_0x3b0816[_0x177318(0xf6)]()[_0x177318(0x14f)];let _0x258307=_0x3b0816[_0x177318(0xf6)]()[_0x177318(0x12b)];const _0x12045a=_0x392a47[_0x177318(0x155)];(_0x258307[_0x177318(0x138)]||_0x258307[_0x177318(0xfb)]&&_0x258307[_0x177318(0xfb)]['is'](_0x177318(0x11b)))&&(_0x3cbf5f(_0x258307,_0x177318(0x12a)),_0x258307=_0x258307[_0x177318(0x11e)](0x3)),(_0x392a47[_0x177318(0x138)]||_0x392a47[_0x177318(0x148)]&&_0x392a47[_0x177318(0x148)]['is'](_0x177318(0x11b)))&&(_0x3cbf5f(_0x392a47,_0x177318(0x12a)),function(_0x15ee6a,_0x2525fd,_0x3aed82){const _0x3dbee9=_0x177318;for(let [_0x19b213,_0x5de491]of _0x15ee6a[_0x3dbee9(0xfe)]){const _0x2a0e1f=_0x5de491[_0x3dbee9(0x157)](_0x2525fd,_0x3aed82,!0x1);_0x5de491=_0x2a0e1f[0x0],_0x15ee6a[_0x3dbee9(0xfe)][_0x3dbee9(0x14b)](_0x19b213,_0x5de491);}}(_0x12045a,_0x392a47,0x3),_0x392a47[_0x177318(0x110)]==_0x258307[_0x177318(0x110)]&&(_0x258307=_0x258307[_0x177318(0x11e)](0x3)));const _0x56d846=_0x480d2d[_0x177318(0x129)](_0x480d2d[_0x177318(0x128)](_0x12045a,0x0),_0x392a47),_0x34f276=_0x480d2d[_0x177318(0x129)](_0x258307,_0x480d2d[_0x177318(0x128)](_0x12045a,_0x177318(0x12b))),_0x4f7601=[..._0x56d846[_0x177318(0x150)](),..._0x34f276[_0x177318(0x150)]()];_0x4f7601[_0x177318(0x115)]();for(const _0x7d824b of _0x4f7601)_0x4214e5(_0x7d824b),_transformMarkersByDeletion(_0x12045a,_0x7d824b);}(_0x114bd0[_0x276076(0x106)],_0x5dc1e4);}const _0x5abf98=_0x114bd0[_0x276076(0x117)][_0x276076(0x121)](_0x2632fc,{'showSuggestionHighlights':!0x0});return{'content':_0x165c3b(_0x5abf98),'hasChanges':!0x0};}(_0x3e8693,_0x5701eb,_0x40422f,_0x4e0475,_0x310a36);return{'type':_0x423356[_0xe3d3d0(0x101)][0x0][_0xe3d3d0(0x135)],'index':_0x423356[_0xe3d3d0(0x11a)],'content':_0x589537,'hasChanges':_0x2d44d0};});}function no(_0x48c663,_0xd82fec){const _0x3919a9=_0x2e62;for(const [_0x162fda,_0x597780]of _0x48c663[_0x3919a9(0xfe)]){const _0x51ba72=_0x3e1754[_0x3919a9(0x11d)](_0x597780[_0x3919a9(0x134)](_0xd82fec));_0x48c663[_0x3919a9(0xfe)][_0x3919a9(0x14b)](_0x162fda,_0x51ba72);}}export function getMinimalSelection(_0x41375c,_0x1f1a52,_0x1330df){const _0x4c98a8=_0x2e62,_0x4211cb=_0x41375c[_0x4c98a8(0x103)][_0x4c98a8(0x151)](_0x4c98a8(0xe9));let _0x48bfcb=_0x41375c[_0x4c98a8(0x106)][_0x4c98a8(0x128)](_0x1330df,Number[_0x4c98a8(0x13c)]),_0x573d21=_0x41375c[_0x4c98a8(0x106)][_0x4c98a8(0x128)](_0x1330df,0x0);for(const _0x5bc8f9 of _0x1f1a52){let _0x28de00,_0x2ae028;if(_0x4211cb[_0x4c98a8(0x141)](_0x5bc8f9))_0x28de00=_0x5bc8f9[_0x4c98a8(0xf8)][_0x4c98a8(0x14f)],_0x2ae028=_0x5bc8f9[_0x4c98a8(0xf8)][_0x4c98a8(0x12b)];else switch(_0x48bfcb=_0x48bfcb[_0x4c98a8(0x134)](_0x5bc8f9),_0x573d21=_0x573d21[_0x4c98a8(0x134)](_0x5bc8f9),_0x5bc8f9[_0x4c98a8(0x135)]){case _0x4c98a8(0x118):_0x28de00=_0x5bc8f9[_0x4c98a8(0xf0)],_0x2ae028=_0x28de00[_0x4c98a8(0x11e)](0x1);break;case _0x4c98a8(0x11c):case _0x4c98a8(0x144):case _0x4c98a8(0x14c):_0x28de00=_0x5bc8f9[_0x4c98a8(0xf7)][_0x4c98a8(0x14f)],_0x2ae028=_0x5bc8f9[_0x4c98a8(0xf7)][_0x4c98a8(0x12b)];break;case _0x4c98a8(0x105):_0x28de00=_0x5bc8f9[_0x4c98a8(0xf0)],_0x2ae028=_0x28de00[_0x4c98a8(0x11e)](_0x5bc8f9[_0x4c98a8(0x104)]);break;case _0x4c98a8(0x143):_0x28de00=_0x5bc8f9[_0x4c98a8(0x132)],_0x2ae028=_0x5bc8f9[_0x4c98a8(0x111)];break;case _0x4c98a8(0x15c):{const _0x28866c=_0x5bc8f9[_0x4c98a8(0x13e)][_0x4c98a8(0xfc)][_0x4c98a8(0x152)](0x0,-0x1);_0x28de00=_0x41375c[_0x4c98a8(0x106)][_0x4c98a8(0xf4)](_0x1330df,_0x28866c),_0x2ae028=_0x28de00[_0x4c98a8(0x11e)](0x1);break;}case _0x4c98a8(0x149):{const _0x1c4dd6=_0x5bc8f9[_0x4c98a8(0x104)],_0x599157=_0x5bc8f9[_0x4c98a8(0x116)][_0x4c98a8(0x157)](_0x5bc8f9[_0x4c98a8(0x13e)],_0x1c4dd6),_0x15c63a=_0x5bc8f9[_0x4c98a8(0x13f)]();_0x4c98a8(0x149)==_0x5bc8f9[_0x4c98a8(0x135)]?(_0x28de00=_0x599157,_0x2ae028=_0x599157):(_0x28de00=_0x15c63a,_0x2ae028=_0x15c63a[_0x4c98a8(0x11e)](_0x1c4dd6));break;}}_0x28de00&&_0x28de00[_0x4c98a8(0x15f)](_0x48bfcb)&&(_0x48bfcb=_0x28de00[_0x4c98a8(0xed)](),_0x48bfcb[_0x4c98a8(0x136)]=_0x4c98a8(0x156)),_0x2ae028&&_0x2ae028[_0x4c98a8(0x122)](_0x573d21)&&(_0x573d21=_0x2ae028[_0x4c98a8(0xed)](),_0x573d21[_0x4c98a8(0x136)]=_0x4c98a8(0x156));}return _0x41375c[_0x4c98a8(0x106)][_0x4c98a8(0x15d)](_0x41375c[_0x4c98a8(0x106)][_0x4c98a8(0x129)](_0x48bfcb,_0x573d21));}export function expandSelectionWithContext(_0x4e57bd,_0x485678){const _0x3636bb=_0x2e62;ro(_0x4e57bd,_0x485678,_0x3636bb(0x142));const _0x36deaa=_0x485678[_0x3636bb(0xf6)]();_0x485678[_0x3636bb(0x13b)]([]),_0x485678[_0x3636bb(0x13b)](_0x36deaa,{'backward':!0x0}),ro(_0x4e57bd,_0x485678,_0x3636bb(0x159));}function ro(_0x5e2ad5,_0x541d76,_0x128916){const _0x23d415=_0x2e62;let _0x1ee652=0x14;for(;_0x1ee652;){_0x5e2ad5[_0x23d415(0x154)](_0x541d76,{'unit':_0x23d415(0x124),'direction':_0x128916}),_0x1ee652--;const _0x261fe5=_0x541d76[_0x23d415(0x14a)][_0x23d415(0x142)==_0x128916?_0x23d415(0x148):_0x23d415(0xfb)];if(_0x261fe5&&_0x261fe5['is'](_0x23d415(0xfd))&&_0x5e2ad5[_0x23d415(0x120)][_0x23d415(0x140)](_0x261fe5)&&_0x5e2ad5[_0x23d415(0x120)][_0x23d415(0x12d)](_0x261fe5))break;}}export function _transformMarkersByDeletion(_0x2f6968,_0x2b00e6){const _0x2c1d18=_0x2e62;for(const [_0x3e77c1,_0x42dd07]of _0x2f6968[_0x2c1d18(0xfe)]){const _0x30fbeb=_0x42dd07[_0x2c1d18(0x137)](_0x2b00e6[_0x2c1d18(0x14f)],_0x2b00e6[_0x2c1d18(0x12b)][_0x2c1d18(0xfa)]-_0x2b00e6[_0x2c1d18(0x14f)][_0x2c1d18(0xfa)]);null!=_0x30fbeb?_0x2f6968[_0x2c1d18(0xfe)][_0x2c1d18(0x14b)](_0x3e77c1,_0x30fbeb):_0x2f6968[_0x2c1d18(0xfe)][_0x2c1d18(0xeb)](_0x3e77c1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1e0a9e,_0x37c270){const _0x3b2d71=_0x43c0,_0x1709e8=_0x1e0a9e();while(!![]){try{const _0xb3d464=-parseInt(_0x3b2d71(0x1ff))/0x1+-parseInt(_0x3b2d71(0x1f6))/0x2*(parseInt(_0x3b2d71(0x1ed))/0x3)+-parseInt(_0x3b2d71(0x1fa))/0x4*(-parseInt(_0x3b2d71(0x1e9))/0x5)+-parseInt(_0x3b2d71(0x1e7))/0x6*(-parseInt(_0x3b2d71(0x1f0))/0x7)+parseInt(_0x3b2d71(0x1ee))/0x8+parseInt(_0x3b2d71(0x1eb))/0x9*(parseInt(_0x3b2d71(0x1e8))/0xa)+-parseInt(_0x3b2d71(0x1ef))/0xb;if(_0xb3d464===_0x37c270)break;else _0x1709e8['push'](_0x1709e8['shift']());}catch(_0x10e952){_0x1709e8['push'](_0x1709e8['shift']());}}}(_0x1689,0x4baac));import{parseDocument as _0x1eea0a}from'htmlparser2';import{append as _0x5c81f9,appendChild as _0x42b77d,find as _0x4f1790,findAll as _0x2f7ef4,findOne as _0x56c9c7,getChildren as _0x441555,isComment as _0x316fc1,isTag as _0x4e3ea3,prepend as _0x5c0dad,prependChild as _0x47dc3c,removeElement as _0x55a4f0,replaceElement as _0x5e9290,textContent as _0x21e4f8,getParent as _0x1abc38,hasChildren as _0x278ad6}from'domutils';import _0x3b9f13 from'dom-serializer';import{cloneNode as _0x50a05c,isDocument as _0x1d2485,isText as _0x531db9,Element as _0x2b36b9,Text as _0x26cc07,Document as _0xe4927c,NodeWithChildren as _0x3e8d28}from'domhandler';export{_0x50a05c as cloneNode,_0x4f1790 as find,_0x56c9c7 as findOne,_0x2f7ef4 as findAll,_0x441555 as getChildren,_0x1abc38 as getParent,_0x316fc1 as isComment,_0x1d2485 as isDocument,_0x4e3ea3 as isTag,_0x531db9 as isText,_0x5c81f9 as append,_0x42b77d as appendChild,_0x5c0dad as prepend,_0x47dc3c as prependChild,_0x3b9f13 as render,_0x55a4f0 as removeElement,_0x5e9290 as replaceElement,_0x21e4f8 as textContent,_0x278ad6 as hasChildren,_0x2b36b9 as Element,_0xe4927c as Document,_0x3e8d28 as NodeWithChildren,_0x26cc07 as Text};function _0x1689(){const _0x487c97=['afterbegin','map','6962eZlFmi','beforeend','indexOf','parentNode','1007464KDngkN','attribs','forEach','afterend','beforebegin','400607YXOkSu','nextSibling','6APALIg','150Huxore','5JiYudS','push','111249ZSpOeT','replace','33DuxSow','177232kIrqnO','191543FTduHq','2147656TkrAne','reverse','cloneNode','slice'];_0x1689=function(){return _0x487c97;};return _0x1689();}export function parse(_0x581a72){return _0x1eea0a(_0x581a72);}export function serialize(_0x17d28d){return _0x3b9f13(_0x17d28d);}export function findByAttribute(_0x1cb703,_0x1d1dd5,_0x4dd5ca){const _0x58e986=_0x43c0,_0x296e7f=null!==_0x1d1dd5?_0x34c4b6=>_0x34c4b6[_0x58e986(0x1fb)][_0x1cb703]===_0x1d1dd5:_0x1affd0=>Boolean(_0x1affd0[_0x58e986(0x1fb)][_0x1cb703]);return _0x56c9c7(_0x28a7a4=>_0x4e3ea3(_0x28a7a4)&&_0x296e7f(_0x28a7a4),_0x4dd5ca);}export function findAllByAttribute(_0x19011d,_0x44e919,_0x29b649){const _0x4c1cce=_0x43c0,_0x321dbb=null!==_0x44e919?_0x156e74=>_0x156e74[_0x4c1cce(0x1fb)][_0x19011d]===_0x44e919:_0x1a352b=>Boolean(_0x1a352b[_0x4c1cce(0x1fb)][_0x19011d]);return _0x2f7ef4(_0x38e682=>_0x4e3ea3(_0x38e682)&&_0x321dbb(_0x38e682),_0x29b649);}export function findAllComments(_0x4e241c){return _0x4f1790(_0xc4985e=>_0x316fc1(_0xc4985e),_0x4e241c,!0x0,0x1/0x0);}export function getAttribute(_0x3ce70e,_0xaba026){const _0x4979f9=_0x43c0;return _0x3ce70e&&_0x4e3ea3(_0x3ce70e)?_0x3ce70e[_0x4979f9(0x1fb)][_0xaba026]:null;}export function setAttribute(_0x78ee8b,_0x5b9ead,_0x43c378){const _0x1807b6=_0x43c0;_0x4e3ea3(_0x78ee8b)&&(null===_0x43c378?delete _0x78ee8b[_0x1807b6(0x1fb)][_0x5b9ead]:_0x78ee8b[_0x1807b6(0x1fb)][_0x5b9ead]=_0x43c378);}export function insertElement(_0x1480c1,_0x56b435,_0xab34f6){const _0x11f771=_0x43c0,_0x4f9838=_0x56b435[_0x11f771(0x1f2)](!0x0);_0x11f771(0x1fe)===_0xab34f6?_0x5c0dad(_0x1480c1,_0x4f9838):_0x11f771(0x1f4)===_0xab34f6?_0x47dc3c(_0x1480c1,_0x4f9838):_0x11f771(0x1f7)===_0xab34f6?_0x42b77d(_0x1480c1,_0x4f9838):_0x11f771(0x1fd)===_0xab34f6&&_0x5c81f9(_0x1480c1,_0x4f9838);}export function moveElement(_0x3a15fa,_0x454a01){_0x55a4f0(_0x3a15fa),_0x5e9290(_0x454a01,_0x3a15fa);}export function clone(_0x9add56){const _0x317e14=_0x43c0;return _0x9add56[_0x317e14(0x1f2)](!0x0);}export function getParents(_0x42c03f){const _0x4e4a1c=_0x43c0,_0x8b0b83=[];let _0x5ba243=_0x42c03f;for(;_0x5ba243;)_0x5ba243=_0x1abc38(_0x5ba243),_0x5ba243&&_0x8b0b83[_0x4e4a1c(0x1ea)](_0x5ba243);return _0x8b0b83;}export function normalizeHTML(_0x40207d){const _0x3e2b76=_0x43c0;return _0x40207d[_0x3e2b76(0x1ec)](/^\s+/gm,'')[_0x3e2b76(0x1ec)](/\s+$/gm,'')[_0x3e2b76(0x1ec)](/\n*/g,'')[_0x3e2b76(0x1ec)](/\s+/g,'\x20')[_0x3e2b76(0x1ec)](/>\s*</g,'><');}function _0x43c0(_0x38511d,_0x2eec93){const _0x168925=_0x1689();return _0x43c0=function(_0x43c014,_0x269262){_0x43c014=_0x43c014-0x1e6;let _0x172d88=_0x168925[_0x43c014];return _0x172d88;},_0x43c0(_0x38511d,_0x2eec93);}export function areNodesSame(_0x73be66,_0x3fa06d){return normalizeHTML(serialize(_0x73be66))===normalizeHTML(serialize(_0x3fa06d));}export function getNodeNestingLevel(_0x4a0c4c){const _0x2be4c4=_0x43c0;let _0x553604=0x0;for(;_0x4a0c4c[_0x2be4c4(0x1f9)];)_0x4a0c4c=_0x4a0c4c[_0x2be4c4(0x1f9)],_0x553604++;return _0x553604;}export function removeElementsAfter(_0x2315b5){const _0x3f0744=_0x43c0,_0x4a96de=[];let _0x14b65c=_0x2315b5[_0x3f0744(0x1e6)];for(;_0x14b65c;)_0x4a96de[_0x3f0744(0x1ea)](_0x14b65c),_0x14b65c=_0x14b65c[_0x3f0744(0x1e6)];_0x4a96de[_0x3f0744(0x1fc)](_0x44de1c=>{_0x55a4f0(_0x44de1c);});}export function getNodePath(_0x544d5b){const _0x428f2b=_0x43c0;return[_0x544d5b,...getParents(_0x544d5b)][_0x428f2b(0x1f3)](0x0,-0x1)[_0x428f2b(0x1f5)](_0x4ce2da=>{const _0x10ecd4=_0x428f2b,_0x2010df=_0x1abc38(_0x4ce2da);return _0x441555(_0x2010df)[_0x10ecd4(0x1f8)](_0x4ce2da);})[_0x428f2b(0x1f1)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cb87b=_0x3d52;(function(_0x39dd72,_0x1335b5){const _0x396a1c=_0x3d52,_0x1c3346=_0x39dd72();while(!![]){try{const _0x1c4e0=-parseInt(_0x396a1c(0xc7))/0x1+-parseInt(_0x396a1c(0xd5))/0x2+parseInt(_0x396a1c(0xbe))/0x3*(-parseInt(_0x396a1c(0xd6))/0x4)+-parseInt(_0x396a1c(0xcf))/0x5*(-parseInt(_0x396a1c(0xe6))/0x6)+-parseInt(_0x396a1c(0xe9))/0x7+parseInt(_0x396a1c(0xe1))/0x8+-parseInt(_0x396a1c(0xbd))/0x9*(-parseInt(_0x396a1c(0xd2))/0xa);if(_0x1c4e0===_0x1335b5)break;else _0x1c3346['push'](_0x1c3346['shift']());}catch(_0xcd19ce){_0x1c3346['push'](_0x1c3346['shift']());}}}(_0x3333,0x9d476));import _0x2fb8c0 from'morphdom';import{NodeWithChildren as _0x46ed6d,Text as _0x4b7702,Element as _0x4aeb54,isText as _0x3982d1,isDocument as _0x2bef8b,isTag as _0x46a12d,cloneNode as _0x13495f,getChildren as _0xe813a7,prepend as _0x353aed,removeElement as _0x3d58d8,textContent as _0x966f1f,render as _0x38e125}from'./htmlparser.js';export class HTMLStreamer{[_0x1cb87b(0xdb)];[_0x1cb87b(0xbc)]=!0x1;[_0x1cb87b(0xe0)]=null;[_0x1cb87b(0xe7)]=[];[_0x1cb87b(0xd8)]=0x0;[_0x1cb87b(0xca)]=null;[_0x1cb87b(0xe4)]=0x0;constructor(_0x4bb83d){const _0x42c9c7=_0x1cb87b;this[_0x42c9c7(0xdb)]={'delay':_0x4bb83d[_0x42c9c7(0xec)]??0x14,'textNodeStyle':_0x4bb83d[_0x42c9c7(0xc0)],'onStreamUpdate':_0x4bb83d[_0x42c9c7(0xf2)]||(()=>{})};}async[_0x1cb87b(0xe3)]({document:_0xc18f79,targetElement:_0x642710,abortSignal:_0x168b92}){const _0x38f44c=_0x1cb87b;this[_0x38f44c(0xbc)]&&this[_0x38f44c(0xf0)](),_0x168b92?.[_0x38f44c(0xf1)](_0x38f44c(0xee),this[_0x38f44c(0xf0)][_0x38f44c(0xc9)](this)),this[_0x38f44c(0xe0)]=_0x13495f(_0xc18f79,!0x0),this[_0x38f44c(0xe7)]=this[_0x38f44c(0xcd)](),this[_0x38f44c(0xbc)]=!0x0,this[_0x38f44c(0xd8)]>this[_0x38f44c(0xe7)][_0x38f44c(0xf4)]&&(this[_0x38f44c(0xd8)]=this[_0x38f44c(0xe7)][_0x38f44c(0xf4)]);for(let _0x5657c6=0x0;_0x5657c6<this[_0x38f44c(0xd8)];_0x5657c6++)this[_0x38f44c(0xe7)][_0x5657c6][_0x38f44c(0xda)]=!0x0;do{const _0x5e1e4f=Date[_0x38f44c(0xde)](),_0x227091=this[_0x38f44c(0xe7)][this[_0x38f44c(0xd8)]],_0x1559e3=_0x5e1e4f-this[_0x38f44c(0xe4)];if(_0x227091){_0x227091[_0x38f44c(0xda)]=!0x0;let _0x479a4a=_0x227091[_0x38f44c(0xe5)];for(;_0x479a4a;)_0x479a4a[_0x38f44c(0xda)]=!0x0,_0x479a4a=_0x479a4a[_0x38f44c(0xe5)];}if(_0x1559e3<this[_0x38f44c(0xdb)][_0x38f44c(0xec)])try{const {promise:_0x11268b,abortController:_0x1b8fa5}=Os(this[_0x38f44c(0xdb)][_0x38f44c(0xec)]-_0x1559e3);this[_0x38f44c(0xca)]=_0x1b8fa5,await _0x11268b;}catch(_0x8537ae){return;}_0x2fb8c0(_0x642710,'<'+_0x642710[_0x38f44c(0xdc)]+'>'+this[_0x38f44c(0xd4)](this[_0x38f44c(0xe0)])+'</'+_0x642710[_0x38f44c(0xdc)]+'>',{'childrenOnly':!0x0}),this[_0x38f44c(0xdb)][_0x38f44c(0xf2)]&&this[_0x38f44c(0xdb)][_0x38f44c(0xf2)](),this[_0x38f44c(0xd8)]++,this[_0x38f44c(0xe4)]=Date[_0x38f44c(0xde)]();}while(this[_0x38f44c(0xd8)]<this[_0x38f44c(0xe7)][_0x38f44c(0xf4)]);this[_0x38f44c(0xd8)]=this[_0x38f44c(0xe7)][_0x38f44c(0xf4)],this[_0x38f44c(0xbc)]=!0x1;}[_0x1cb87b(0xea)](){const _0x28ea72=_0x1cb87b;this[_0x28ea72(0xbc)]=!0x1,this[_0x28ea72(0xe0)]=null,this[_0x28ea72(0xe7)]=[],this[_0x28ea72(0xd8)]=0x0,this[_0x28ea72(0xca)]=null;}[_0x1cb87b(0xd3)]({targetElement:_0x3869ec}){const _0x31a2b5=_0x1cb87b;Array[_0x31a2b5(0xd9)](_0x3869ec[_0x31a2b5(0xc3)](_0x31a2b5(0xed)))[_0x31a2b5(0xc4)]()[_0x31a2b5(0xf3)](_0x3a0264=>{const _0x5199dc=_0x31a2b5;_0x3a0264[_0x5199dc(0xb7)](_0x3a0264[_0x5199dc(0xef)][0x0]);});}[_0x1cb87b(0xf0)](){const _0x500f03=_0x1cb87b;this[_0x500f03(0xbc)]=!0x1,this[_0x500f03(0xca)]&&(this[_0x500f03(0xca)][_0x500f03(0xee)](),this[_0x500f03(0xca)]=null);}[_0x1cb87b(0xd4)](_0x107bd8){const _0x56620d=_0x1cb87b;let _0x30b591='';if(function(_0x375adf){return _0x2bef8b(_0x375adf);}(_0x107bd8)){for(const _0x5a8f7c of _0x107bd8[_0x56620d(0xc8)])_0x30b591+=this[_0x56620d(0xd4)](_0x5a8f7c);}else{if(Ls(_0x107bd8)){if(!_0x107bd8[_0x56620d(0xda)])return'';const _0x230ffe=_0x107bd8,_0x47be3d=Object[_0x56620d(0xe2)](_0x230ffe[_0x56620d(0xce)])[_0x56620d(0xe8)](([_0x5320f8,_0x49ca94])=>_0x5320f8+'=\x22'+_0x49ca94+'\x22')[_0x56620d(0xdf)]('\x20');_0x30b591+='<'+_0x230ffe[_0x56620d(0xdc)]+(_0x47be3d?'\x20'+_0x47be3d:'')+'>';for(const _0x44d3c1 of _0xe813a7(_0x230ffe))_0x30b591+=this[_0x56620d(0xd4)](_0x44d3c1);_0x30b591+='</'+_0x230ffe[_0x56620d(0xdc)]+'>';}else{if(!Ts(_0x107bd8))return'';if(!_0x107bd8[_0x56620d(0xda)])return'';!function(_0x2db1a5){const _0x31325c=_0x56620d;if(!_0x2db1a5[_0x31325c(0xe5)]||!Ls(_0x2db1a5[_0x31325c(0xe5)]))return!0x1;if(!ys[_0x31325c(0xc2)](_0x2db1a5[_0x31325c(0xe5)][_0x31325c(0xdc)]))return!0x1;return!_0x966f1f(_0x2db1a5)[_0x31325c(0xd7)](/^\s*[<>]\s*$/);}(_0x107bd8)?_0x30b591+=_0x38e125(_0x107bd8):_0x30b591+=_0x38e125(new _0x4aeb54(_0x56620d(0xc1),{'data-ck-html-streamer-word-chunk':'','style':this[_0x56620d(0xdb)][_0x56620d(0xc0)]},[_0x107bd8]));}}return _0x30b591;}[_0x1cb87b(0xcd)](){const _0x3f7bad=_0x1cb87b,_0x3c967e=[];return function(_0x14c5a4,_0x5b24df){const _0x30fea6=_0x3d52,_0x1069b1=_0x6b30c0=>{const _0x1b14ce=_0x3d52;if(_0x5b24df(_0x6b30c0),_0x6b30c0 instanceof _0x46ed6d)for(let _0x3de734=0x0;_0x3de734<_0x6b30c0[_0x1b14ce(0xc8)][_0x1b14ce(0xf4)];_0x3de734++){const _0x2ee8d1=_0x6b30c0[_0x1b14ce(0xc8)][_0x3de734];_0x1069b1(_0x2ee8d1);}};for(let _0x5de977=0x0;_0x5de977<_0x14c5a4[_0x30fea6(0xc8)][_0x30fea6(0xf4)];_0x5de977++)_0x1069b1(_0x14c5a4[_0x30fea6(0xc8)][_0x5de977]);}(this[_0x3f7bad(0xe0)],_0x562337=>{const _0x123255=_0x3f7bad;if(Ts(_0x562337)){const _0x26fa9a=this[_0x123255(0xc6)](_0x562337);_0x26fa9a[_0x123255(0xf4)]&&_0x3c967e[_0x123255(0xb8)](..._0x26fa9a);}_0x562337[_0x123255(0xba)]||_0x562337[_0x123255(0xdd)]||_0x3c967e[_0x123255(0xb8)](_0x562337);}),_0x3c967e;}[_0x1cb87b(0xc6)](_0x2efce8){const _0x5e371e=_0x1cb87b;if(_0x2efce8[_0x5e371e(0xba)]||_0x2efce8[_0x5e371e(0xdd)])return[];const _0x122cb3=_0x966f1f(_0x2efce8)[_0x5e371e(0xd7)](/(?:\s*\S+\s*)/g),_0x4b5500=[];if(_0x122cb3&&_0x122cb3[_0x5e371e(0xf4)]>0x1){for(const _0x1e622f of _0x122cb3){const _0x27f40a=new _0x4b7702(_0x1e622f);_0x27f40a[_0x5e371e(0xdd)]=!0x0,_0x353aed(_0x2efce8,_0x27f40a),_0x4b5500[_0x5e371e(0xb8)](_0x27f40a);}_0x2efce8[_0x5e371e(0xba)]=!0x0,_0x3d58d8(_0x2efce8);}return _0x4b5500;}}const ys=['p','li','td','th',_0x1cb87b(0xc1),'h1','h2','h3','h4','h5','h6','b',_0x1cb87b(0xcb),'i','em',_0x1cb87b(0xb9),_0x1cb87b(0xeb),_0x1cb87b(0xcc),_0x1cb87b(0xd1),_0x1cb87b(0xbb),'a',_0x1cb87b(0xd0),_0x1cb87b(0xc5)];function Ts(_0x2de47d){return _0x3982d1(_0x2de47d);}function _0x3333(){const _0x480bb2=['del','delay','span[data-ck-html-streamer-word-chunk]','abort','childNodes','stop','addEventListener','onStreamUpdate','forEach','length','replaceWith','push','mark','isWordSplitSource','sub','isStreaming','32856003HaRpGa','681033STyMcB','signal','textNodeStyle','span','includes','querySelectorAll','reverse','div','splitTextNodeIntoWordNodes','918193jsDFCf','children','bind','timeoutAbortController','strong','ins','getParsedDocumentNodeList','attribs','5aZvetV','code','sup','10PcfPxx','cleanUpAnimations','renderNode','1307574DPWnEn','16PwtAMl','match','currentIndex','from','shouldBeStreamed','options','tagName','isWordSplitResult','now','join','document','37856TwinDd','entries','stream','lastUpdateTime','parent','273090YsXjoL','nodesList','map','4036732tkYbOt','reset'];_0x3333=function(){return _0x480bb2;};return _0x3333();}function Ls(_0x3fe925){return _0x46a12d(_0x3fe925);}function _0x3d52(_0x5d2478,_0x4ab23e){const _0x3333cf=_0x3333();return _0x3d52=function(_0x3d520b,_0x1cb08f){_0x3d520b=_0x3d520b-0xb7;let _0x2f1e8c=_0x3333cf[_0x3d520b];return _0x2f1e8c;},_0x3d52(_0x5d2478,_0x4ab23e);}function Os(_0xd6825c){const _0x23486a=new AbortController();return{'promise':new Promise((_0x24976d,_0x17e180)=>{const _0x5bcdc6=_0x3d52,_0x5aa4cf=setTimeout(_0x24976d,_0xd6825c);_0x23486a[_0x5bcdc6(0xbf)][_0x5bcdc6(0xf1)](_0x5bcdc6(0xee),()=>{clearTimeout(_0x5aa4cf),_0x17e180();});}),'abortController':_0x23486a};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x489ebd=_0x4a2d;(function(_0x42e6a7,_0x49db49){var _0x44ae96=_0x4a2d,_0x2bdc5c=_0x42e6a7();while(!![]){try{var _0x1b4fb7=parseInt(_0x44ae96(0x6b))/0x1*(-parseInt(_0x44ae96(0x69))/0x2)+parseInt(_0x44ae96(0x71))/0x3*(-parseInt(_0x44ae96(0x72))/0x4)+-parseInt(_0x44ae96(0x68))/0x5*(parseInt(_0x44ae96(0x6d))/0x6)+-parseInt(_0x44ae96(0x6a))/0x7*(parseInt(_0x44ae96(0x6c))/0x8)+parseInt(_0x44ae96(0x77))/0x9+parseInt(_0x44ae96(0x74))/0xa+parseInt(_0x44ae96(0x6e))/0xb;if(_0x1b4fb7===_0x49db49)break;else _0x2bdc5c['push'](_0x2bdc5c['shift']());}catch(_0x5c84e2){_0x2bdc5c['push'](_0x2bdc5c['shift']());}}}(_0x4965,0xd73eb));import{Plugin as _0x4339fb}from'ckeditor5/src/core.js';function _0x4a2d(_0x3a04c3,_0x55728e){var _0x4965c4=_0x4965();return _0x4a2d=function(_0x4a2de4,_0x415220){_0x4a2de4=_0x4a2de4-0x68;var _0x58c0d1=_0x4965c4[_0x4a2de4];return _0x58c0d1;},_0x4a2d(_0x3a04c3,_0x55728e);}function _0x4965(){var _0x306ef6=['24iQXSTr','20618961WxpdnT','AIEditorIntegration','pluginName','194439frrJCM','40BCstkE','isOfficialPlugin','12264230MirNLD','requires','isPremiumPlugin','6579225FNMtOF','195740KTwPPJ','32hMguiD','7kUyVFf','41066VECnPV','11907824CGDyyJ'];_0x4965=function(){return _0x306ef6;};return _0x4965();}import{AIToggleButtonUI as _0x503c38}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x978544}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x49d482}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x4339fb{static get[_0x489ebd(0x75)](){return[_0x503c38,_0x978544,_0x49d482];}static get[_0x489ebd(0x70)](){var _0x4a2196=_0x489ebd;return _0x4a2196(0x6f);}static get[_0x489ebd(0x73)](){return!0x0;}static get[_0x489ebd(0x76)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13868a=_0x50b3;(function(_0x677ff1,_0x58787e){const _0x30dbb2=_0x50b3,_0xf8f778=_0x677ff1();while(!![]){try{const _0x3d088b=parseInt(_0x30dbb2(0x1e0))/0x1*(-parseInt(_0x30dbb2(0x1d9))/0x2)+-parseInt(_0x30dbb2(0x1da))/0x3*(parseInt(_0x30dbb2(0x1d3))/0x4)+-parseInt(_0x30dbb2(0x1e4))/0x5*(parseInt(_0x30dbb2(0x1e9))/0x6)+parseInt(_0x30dbb2(0x1d8))/0x7*(-parseInt(_0x30dbb2(0x1df))/0x8)+parseInt(_0x30dbb2(0x1d4))/0x9*(-parseInt(_0x30dbb2(0x1cd))/0xa)+-parseInt(_0x30dbb2(0x1cf))/0xb+parseInt(_0x30dbb2(0x1de))/0xc;if(_0x3d088b===_0x58787e)break;else _0xf8f778['push'](_0xf8f778['shift']());}catch(_0x4a3755){_0xf8f778['push'](_0xf8f778['shift']());}}}(_0x5ef3,0xc8688));import{Plugin as _0x9da247}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x4facb2}from'./toggleaicommand.js';function _0x50b3(_0x3bb8de,_0x598014){const _0x5ef357=_0x5ef3();return _0x50b3=function(_0x50b356,_0x3574cd){_0x50b356=_0x50b356-0x1cd;let _0x420e9e=_0x5ef357[_0x50b356];return _0x420e9e;},_0x50b3(_0x3bb8de,_0x598014);}import{ButtonView as _0x11eea2,MenuBarMenuListItemButtonView as _0x4b2cd4}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x316eb8}from'@ckeditor/ckeditor5-icons';function _0x5ef3(){const _0x28d17c=['execute','36wdcSTL','bind','pluginName','menuBar:toggleAi','requires','set','menuitemcheckbox','get','AIToggleButtonUI','30fbiLJI','listenTo','2004948PsazkQ','editor','add','isPremiumPlugin','92bRDZuT','2214027FwyWTr','AI_TOGGLE_BUTTON_LABEL','locale','componentFactory','7kCbIpV','6ODLeSj','42429DwqCYf','commands','init','value','37633224UwEfEA','780712rzekhJ','287627BviGhU','isOfficialPlugin','isEnabled','isOn','90995AYWJGT','ck-ai-toggle-button','toggleAi','_createAIUIButton'];_0x5ef3=function(){return _0x28d17c;};return _0x5ef3();}import{getTranslation as _0x202763}from'../../aicore/utils/common-translations.js';import{AITabs as _0x23b159}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x9da247{static get[_0x13868a(0x1ed)](){return[_0x23b159];}static get[_0x13868a(0x1eb)](){const _0x23f402=_0x13868a;return _0x23f402(0x1f1);}static get[_0x13868a(0x1e1)](){return!0x0;}static get[_0x13868a(0x1d2)](){return!0x0;}[_0x13868a(0x1dc)](){const _0xd99b69=_0x13868a,_0x3edc53=this[_0xd99b69(0x1d0)];_0x3edc53[_0xd99b69(0x1db)][_0xd99b69(0x1d1)](_0xd99b69(0x1e6),new _0x4facb2(_0x3edc53)),_0x3edc53['ui'][_0xd99b69(0x1d7)][_0xd99b69(0x1d1)](_0xd99b69(0x1e6),()=>{const _0x3f8223=_0xd99b69,_0x37eae9=this[_0x3f8223(0x1e7)](_0x11eea2);return _0x37eae9[_0x3f8223(0x1ee)]({'tooltip':!0x0,'class':_0x3f8223(0x1e5)}),_0x37eae9;}),_0x3edc53['ui'][_0xd99b69(0x1d7)][_0xd99b69(0x1d1)](_0xd99b69(0x1ec),()=>{const _0x2277e5=_0xd99b69,_0x11c4b4=this[_0x2277e5(0x1e7)](_0x4b2cd4);return _0x11c4b4[_0x2277e5(0x1ee)]({'role':_0x2277e5(0x1ef)}),_0x11c4b4;});}[_0x13868a(0x1e7)](_0x3c771a){const _0x245da0=_0x13868a,_0x1216e2=this[_0x245da0(0x1d0)],_0x1df07c=_0x1216e2[_0x245da0(0x1db)][_0x245da0(0x1f0)](_0x245da0(0x1e6)),_0xfb327f=new _0x3c771a(_0x1216e2[_0x245da0(0x1d6)]);return _0xfb327f[_0x245da0(0x1ee)]({'label':_0x202763(_0x1216e2[_0x245da0(0x1d6)],_0x245da0(0x1d5)),'icon':_0x316eb8,'isToggleable':!0x0}),_0xfb327f[_0x245da0(0x1ea)](_0x245da0(0x1e2))['to'](_0x1df07c),_0xfb327f[_0x245da0(0x1ea)](_0x245da0(0x1e3))['to'](_0x1df07c,_0x245da0(0x1dd),_0x196879=>!!_0x196879),this[_0x245da0(0x1ce)](_0xfb327f,_0x245da0(0x1e8),()=>{const _0x249528=_0x245da0;_0x1df07c[_0x249528(0x1e8)]();}),_0xfb327f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1b1332=_0x3d7d;function _0x3d7d(_0x255e2f,_0x77ee0f){const _0x19b721=_0x19b7();return _0x3d7d=function(_0x3d7d95,_0x47544d){_0x3d7d95=_0x3d7d95-0x150;let _0x2b8aed=_0x19b721[_0x3d7d95];return _0x2b8aed;},_0x3d7d(_0x255e2f,_0x77ee0f);}(function(_0x2265fb,_0x1b780c){const _0x4cd214=_0x3d7d,_0x2b2dc2=_0x2265fb();while(!![]){try{const _0x57b706=parseInt(_0x4cd214(0x157))/0x1+parseInt(_0x4cd214(0x161))/0x2*(parseInt(_0x4cd214(0x154))/0x3)+-parseInt(_0x4cd214(0x15f))/0x4+-parseInt(_0x4cd214(0x163))/0x5*(-parseInt(_0x4cd214(0x156))/0x6)+-parseInt(_0x4cd214(0x15e))/0x7*(-parseInt(_0x4cd214(0x15c))/0x8)+parseInt(_0x4cd214(0x152))/0x9+parseInt(_0x4cd214(0x15b))/0xa*(-parseInt(_0x4cd214(0x15a))/0xb);if(_0x57b706===_0x1b780c)break;else _0x2b2dc2['push'](_0x2b2dc2['shift']());}catch(_0xe4c469){_0x2b2dc2['push'](_0x2b2dc2['shift']());}}}(_0x19b7,0xee636));import{Command as _0x2c4d2a}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x2c4d2a{constructor(_0x31c521){const _0x1f2754=_0x3d7d;super(_0x31c521);const _0x20aa07=_0x31c521[_0x1f2754(0x153)][_0x1f2754(0x162)](_0x1f2754(0x155))[_0x1f2754(0x158)];this[_0x1f2754(0x159)](_0x1f2754(0x150))['to'](_0x20aa07,_0x1f2754(0x15d)),this[_0x1f2754(0x160)]=!0x0;}[_0x1b1332(0x151)](){const _0x44f1b6=_0x1b1332,_0x17289d=this[_0x44f1b6(0x164)][_0x44f1b6(0x153)][_0x44f1b6(0x162)](_0x44f1b6(0x155))[_0x44f1b6(0x158)];_0x17289d[_0x44f1b6(0x15d)]=!_0x17289d[_0x44f1b6(0x15d)];}}function _0x19b7(){const _0x22cc95=['8205295QZxDen','683112xYnBxp','isEnabled','2eGJAmo','get','929105cYnMfK','editor','value','execute','14382576xNVXrr','plugins','4463664aubYSM','AITabs','48KDsxWJ','1635314mwJLrl','view','bind','68560833FtKGrN','10brPZdY','8csROWM','isVisible'];_0x19b7=function(){return _0x22cc95;};return _0x19b7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4b68b9=_0x1ef1;function _0x1ef1(_0x8b3678,_0x234741){var _0x9363c6=_0x9363();return _0x1ef1=function(_0x1ef151,_0x47587c){_0x1ef151=_0x1ef151-0x90;var _0x34c3be=_0x9363c6[_0x1ef151];return _0x34c3be;},_0x1ef1(_0x8b3678,_0x234741);}(function(_0x1aa6d3,_0x1efcae){var _0x4496d2=_0x1ef1,_0x16fe91=_0x1aa6d3();while(!![]){try{var _0x518ad2=parseInt(_0x4496d2(0x93))/0x1*(-parseInt(_0x4496d2(0x99))/0x2)+parseInt(_0x4496d2(0x9c))/0x3+parseInt(_0x4496d2(0x94))/0x4*(-parseInt(_0x4496d2(0x9b))/0x5)+-parseInt(_0x4496d2(0x95))/0x6+parseInt(_0x4496d2(0xa1))/0x7*(-parseInt(_0x4496d2(0x9d))/0x8)+-parseInt(_0x4496d2(0x98))/0x9+parseInt(_0x4496d2(0x91))/0xa;if(_0x518ad2===_0x1efcae)break;else _0x16fe91['push'](_0x16fe91['shift']());}catch(_0x5a3ffe){_0x16fe91['push'](_0x16fe91['shift']());}}}(_0x9363,0xeac8f));import{Plugin as _0x2d4c9a}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x2b99cf}from'./aiquickactionsui.js';function _0x9363(){var _0x258231=['define','11871288ggJXdT','2lwDIGw','ai.quickActions','9485265UCQlWx','2997930JKdAeW','431512KteBAT','isOfficialPlugin','pluginName','AIQuickActions','126iSOFCa','isPremiumPlugin','60214840tfoDbs','config','1057741qdJirV','4yLVWWN','4886322YugCjf','requires'];_0x9363=function(){return _0x258231;};return _0x9363();}import{AIQuickActionsEditing as _0x4da3ec}from'./aiquickactionsediting.js';import{AIActions as _0x3d09cc}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x2d4c9a{static get[_0x4b68b9(0x96)](){return[_0x2b99cf,_0x4da3ec,_0x3d09cc];}static get[_0x4b68b9(0x9f)](){var _0x29763c=_0x4b68b9;return _0x29763c(0xa0);}static get[_0x4b68b9(0x9e)](){return!0x0;}static get[_0x4b68b9(0x90)](){return!0x0;}constructor(_0x267cc3){var _0x9c9bef=_0x4b68b9;super(_0x267cc3),_0x267cc3[_0x9c9bef(0x92)][_0x9c9bef(0x97)](_0x9c9bef(0x9a),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|