@ckeditor/ckeditor5-ai 47.7.0-alpha.0 → 47.7.0-alpha.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/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.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/aiballoon/ui/aiballoonview.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/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/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/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/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/aireviewcoregeneralerrorview.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/aireviewcorereviewcompletedview.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/aireviewcore/ui/form/aireviewcoreformmanager.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/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/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.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/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
|
-
var
|
|
23
|
+
var _0x3e94d1=_0x32c9;(function(_0x3beb7a,_0x21324b){var _0x533bcd=_0x32c9,_0x5e3c13=_0x3beb7a();while(!![]){try{var _0x53b739=-parseInt(_0x533bcd(0xf2))/0x1*(parseInt(_0x533bcd(0xe6))/0x2)+-parseInt(_0x533bcd(0xe4))/0x3*(parseInt(_0x533bcd(0xfb))/0x4)+parseInt(_0x533bcd(0xf7))/0x5+-parseInt(_0x533bcd(0xfa))/0x6+parseInt(_0x533bcd(0xfc))/0x7+-parseInt(_0x533bcd(0xeb))/0x8*(parseInt(_0x533bcd(0xf8))/0x9)+parseInt(_0x533bcd(0xf1))/0xa;if(_0x53b739===_0x21324b)break;else _0x5e3c13['push'](_0x5e3c13['shift']());}catch(_0xd16d53){_0x5e3c13['push'](_0x5e3c13['shift']());}}}(_0x491e,0x72377));import{View as _0x2571b5}from'ckeditor5/src/ui.js';import{getTranslation as _0x59e7d2}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x4c5c29}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x5aa41b}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x2571b5{[_0x3e94d1(0xf0)];[_0x3e94d1(0xe7)];[_0x3e94d1(0xf9)];[_0x3e94d1(0x101)];constructor(_0x3fc135,{part:_0x1465a2,uiIndex:_0x36b082,availableActions:_0x480ad3,areActionsDisabled:_0x32b4ca}){var _0x12da49=_0x3e94d1;super(_0x3fc135),this[_0x12da49(0xee)](_0x12da49(0x108),!0x0),this[_0x12da49(0xee)](_0x12da49(0xef),_0x12da49(0xea)),this[_0x12da49(0xf0)]=new _0x5aa41b(_0x3fc135,_0x480ad3,_0x32b4ca),this[_0x12da49(0xf0)]['on'](_0x12da49(0x106),()=>{var _0x118e97=_0x12da49;this[_0x118e97(0x107)](_0x118e97(0x106),{'index':_0x1465a2[_0x118e97(0x102)]});}),this[_0x12da49(0xf0)]['on'](_0x12da49(0xfd),()=>{var _0x5673f2=_0x12da49;this[_0x5673f2(0x107)](_0x5673f2(0xfd),{'index':_0x1465a2[_0x5673f2(0x102)]});}),this[_0x12da49(0xf0)]['on'](_0x12da49(0x109),()=>{var _0x406e51=_0x12da49;this[_0x406e51(0x107)](_0x406e51(0x109),{'index':_0x1465a2[_0x406e51(0x102)]});}),this[_0x12da49(0xf0)][_0x12da49(0xe8)](_0x12da49(0x108))['to'](this),this[_0x12da49(0xe7)]=new _0x4c5c29(_0x3fc135),this[_0x12da49(0xf9)]=new Sn(_0x3fc135,_0x36b082),this[_0x12da49(0x101)]=this[_0x12da49(0x105)](),this[_0x12da49(0x101)][_0x12da49(0xf6)]([this[_0x12da49(0xf9)],this[_0x12da49(0xf0)]]),this[_0x12da49(0xf4)]({'tag':_0x12da49(0xf3),'attributes':{'class':['ck',_0x12da49(0xff),_0x12da49(0xe5)]},'children':this[_0x12da49(0x101)]}),this['on'](_0x12da49(0x103),(_0x5c1549,_0x4ad31d,_0x7c7fe0,_0x1f9471)=>{var _0x16d8a2=_0x12da49;_0x16d8a2(0xea)===_0x1f9471?this[_0x16d8a2(0x101)][_0x16d8a2(0xed)](this[_0x16d8a2(0xf0)]):this[_0x16d8a2(0x101)][_0x16d8a2(0xed)](this[_0x16d8a2(0xe7)]),_0x16d8a2(0xea)===_0x7c7fe0?this[_0x16d8a2(0x101)][_0x16d8a2(0x100)](this[_0x16d8a2(0xf0)]):(this[_0x16d8a2(0xe7)][_0x16d8a2(0xf5)](_0x7c7fe0),this[_0x16d8a2(0x101)][_0x16d8a2(0x100)](this[_0x16d8a2(0xe7)]));});}}function _0x32c9(_0x4ffb3b,_0x1d6422){var _0x491ea4=_0x491e();return _0x32c9=function(_0x32c97f,_0x1019cc){_0x32c97f=_0x32c97f-0xe4;var _0x5f22bc=_0x491ea4[_0x32c97f];return _0x5f22bc;},_0x32c9(_0x4ffb3b,_0x1d6422);}function _0x491e(){var _0x5a7cd0=['insertSuggestion','ck-ai-suggestion__body__content-part__title__label','ck-reset_all-excluded','add','children','index','change:state','AI_SUGGESTION_CONTENT_PART_TITLE','createCollection','rejectSuggestion','fire','isEnabled','applySuggestion','69ExFfQS','ck-ai-suggestion__body__content-part__title','834diJpUB','stateView','bind','span','pending','8OBRsCX','toString','remove','set','state','toolbarView','13618850obvhdo','1517gQhQHB','div','setTemplate','setState','addMany','362800ZsLvTi','5427009aBzPbH','titleLabelView','346104OLqftd','83084CRUyAj','5630751kGgNJs'];_0x491e=function(){return _0x5a7cd0;};return _0x491e();}class Sn extends _0x2571b5{constructor(_0x594ca8,_0x1928a5){var _0x162b9d=_0x3e94d1;super(_0x594ca8),this[_0x162b9d(0xf4)]({'tag':_0x162b9d(0xe9),'attributes':{'class':['ck',_0x162b9d(0xfe)]},'children':[_0x59e7d2(_0x594ca8,_0x162b9d(0x104),_0x1928a5[_0x162b9d(0xec)]())]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x46d75c=_0x4e27;(function(_0x22fcd1,_0xc844bf){const _0x6ed7a4=_0x4e27,_0x3f3df9=_0x22fcd1();while(!![]){try{const _0x11f58e=-parseInt(_0x6ed7a4(0xf6))/0x1*(-parseInt(_0x6ed7a4(0xfc))/0x2)+parseInt(_0x6ed7a4(0xff))/0x3+parseInt(_0x6ed7a4(0xfe))/0x4+-parseInt(_0x6ed7a4(0x113))/0x5*(-parseInt(_0x6ed7a4(0x102))/0x6)+parseInt(_0x6ed7a4(0x10f))/0x7+-parseInt(_0x6ed7a4(0x10d))/0x8+-parseInt(_0x6ed7a4(0x112))/0x9*(parseInt(_0x6ed7a4(0xf9))/0xa);if(_0x11f58e===_0xc844bf)break;else _0x3f3df9['push'](_0x3f3df9['shift']());}catch(_0x18867c){_0x3f3df9['push'](_0x3f3df9['shift']());}}}(_0x5995,0x27012));import{IconView as _0x5939b8,View as _0x14f53a}from'ckeditor5/src/ui.js';function _0x5995(){const _0x560a16=['AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','1503976cLsuUa','isVisible','1597967jlhQsp','accepted','set','98019cTNEJz','2115Liyjah','div','bind','193AhatAu','setState','state','350SETfou','outdated','ck-ai-suggestion__content-part-state','72KOPkfc','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','669500REyaZP','467613MlyKeM','ck-ai-suggestion__content-part-state_','change:state','2418JpNECd','ck-hidden','span','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','rejected','ck-ai-suggestion__content-part-state__label','bindTemplate','setTemplate','stateIconView','content'];_0x5995=function(){return _0x560a16;};return _0x5995();}function _0x4e27(_0x330fb1,_0xff53a0){const _0x599512=_0x5995();return _0x4e27=function(_0x4e2703,_0x4a8fda){_0x4e2703=_0x4e2703-0xf6;let _0x116052=_0x599512[_0x4e2703];return _0x116052;},_0x4e27(_0x330fb1,_0xff53a0);}import{IconBoxWithCross as _0x4e6603,IconBoxWithCheck as _0x508fa6}from'ckeditor5/src/icons.js';import{getTranslation as _0x3a9710}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x508fa6,'rejected':_0x4e6603,'outdated':_0x4e6603};export class AISuggestionContentPartStateView extends _0x14f53a{[_0x46d75c(0x10a)];constructor(_0x200020){const _0x2a3e49=_0x46d75c;super(_0x200020);const _0x32a2a7=this[_0x2a3e49(0x108)];this[_0x2a3e49(0x111)](_0x2a3e49(0xf8),_0x2a3e49(0x110)),this[_0x2a3e49(0x111)](_0x2a3e49(0x10e),!0x0),this[_0x2a3e49(0x10a)]=new StateIconView(),this[_0x2a3e49(0x10a)][_0x2a3e49(0x115)](_0x2a3e49(0xf8))['to'](this),this[_0x2a3e49(0x109)]({'tag':_0x2a3e49(0x114),'attributes':{'class':['ck',_0x2a3e49(0xfb),_0x32a2a7['to'](_0x2a3e49(0xf8),_0x1b72f9=>_0x2a3e49(0x100)+_0x1b72f9),_0x32a2a7['if'](_0x2a3e49(0x10e),_0x2a3e49(0x103),_0x1b9567=>!_0x1b9567)]},'children':[{'tag':_0x2a3e49(0x104),'attributes':{'class':[_0x2a3e49(0x107)]},'children':[{'text':_0x32a2a7['to'](_0x2a3e49(0xf8),_0x58ca1b=>{const _0x46ab68=_0x2a3e49;switch(_0x58ca1b){case _0x46ab68(0x110):return _0x3a9710(_0x200020,_0x46ab68(0xfd));case _0x46ab68(0x106):return _0x3a9710(_0x200020,_0x46ab68(0x10c));case _0x46ab68(0xfa):return _0x3a9710(_0x200020,_0x46ab68(0x105));}})}]},this[_0x2a3e49(0x10a)]]});}[_0x46d75c(0xf7)](_0x483387){const _0x2f280c=_0x46d75c;this[_0x2f280c(0xf8)]=_0x483387;}}export class StateIconView extends _0x5939b8{constructor(){const _0x20c0e4=_0x46d75c;super(),this[_0x20c0e4(0x111)](_0x20c0e4(0xf8),_0x20c0e4(0x110)),this[_0x20c0e4(0x10b)]=ICON_STATE_MAP[this[_0x20c0e4(0xf8)]],this['on'](_0x20c0e4(0x101),()=>{const _0x66b864=_0x20c0e4;this[_0x66b864(0x10b)]=ICON_STATE_MAP[this[_0x66b864(0xf8)]];});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3306(){const _0x5c95da=['3236700dkJZZa','addMany','2USpHOK','2254131TarvzA','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-hidden','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','49581ZwjKYA','push','rejectSuggestion','1379vtUFgk','9215SaMlXj','isVisible','extendTemplate','setButtonsVisibility','class','23658ZCfVVt','insertSuggestion','ck-ai-suggestion-content-part-toolbar','567734WGUnmr','fire','isEnabled','bindTemplate','AI_SUGGESTION_CONTENT_PART_APPLY','6776848gJjukS','AI_SUGGESTION_CONTENT_PART_REJECT','applySuggestion','items','includes','bind','execute','_applyButton','set','_suggestButton'];_0x3306=function(){return _0x5c95da;};return _0x3306();}const _0x1936c1=_0x436a;(function(_0x3e86f4,_0x23880f){const _0x4996d3=_0x436a,_0x45f350=_0x3e86f4();while(!![]){try{const _0x5ae136=-parseInt(_0x4996d3(0xcc))/0x1*(-parseInt(_0x4996d3(0xbb))/0x2)+parseInt(_0x4996d3(0xcd))/0x3+parseInt(_0x4996d3(0xca))/0x4+parseInt(_0x4996d3(0xd5))/0x5+parseInt(_0x4996d3(0xda))/0x6*(-parseInt(_0x4996d3(0xd4))/0x7)+-parseInt(_0x4996d3(0xc0))/0x8+parseInt(_0x4996d3(0xd1))/0x9;if(_0x5ae136===_0x23880f)break;else _0x45f350['push'](_0x45f350['shift']());}catch(_0x3adace){_0x45f350['push'](_0x45f350['shift']());}}}(_0x3306,0x7cf11));import{ButtonView as _0x402510,ToolbarView as _0x2eee8d}from'ckeditor5/src/ui.js';import{getTranslation as _0x35b109}from'../../utils/common-translations.js';function _0x436a(_0x358ca5,_0x41b20d){const _0x3306d5=_0x3306();return _0x436a=function(_0x436a97,_0x471f86){_0x436a97=_0x436a97-0xba;let _0x331075=_0x3306d5[_0x436a97];return _0x331075;},_0x436a(_0x358ca5,_0x41b20d);}import{IconBoxWithCross as _0x448437,IconBoxWithCheck as _0xf7ac47,IconBoxWithMarker as _0x404230,IconInfo as _0x502b16}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x2eee8d{[_0x1936c1(0xc7)];[_0x1936c1(0xc9)];constructor(_0x567712,_0xbec800,_0x1a82a9){const _0x2d7965=_0x1936c1;super(_0x567712);const _0x11bb1e=Boolean(_0x1a82a9);this[_0x2d7965(0xc8)](_0x2d7965(0xbd),!_0x11bb1e),this[_0x2d7965(0xc8)](_0x2d7965(0xd6),!0x0),this[_0x2d7965(0xd9)]=_0x2d7965(0xba);const _0x42f630=[];if(_0x11bb1e){const _0x5e0c71=new _0x402510(_0x567712);_0x5e0c71[_0x2d7965(0xc8)]({'label':_0x35b109(_0x567712,_0x2d7965(0xce)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x502b16}),_0x42f630[_0x2d7965(0xd2)](_0x5e0c71);}else{_0xbec800[_0x2d7965(0xc4)](_0x2d7965(0xc2))&&(this[_0x2d7965(0xc7)]=new _0x402510(_0x567712),this[_0x2d7965(0xc7)][_0x2d7965(0xc8)]({'label':_0x35b109(_0x567712,_0x2d7965(0xbf)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xf7ac47}),this[_0x2d7965(0xc7)][_0x2d7965(0xc5)](_0x2d7965(0xbd))['to'](this),this[_0x2d7965(0xc7)]['on'](_0x2d7965(0xc6),()=>{const _0xd650b2=_0x2d7965;this[_0xd650b2(0xbc)](_0xd650b2(0xc2));}),_0x42f630[_0x2d7965(0xd2)](this[_0x2d7965(0xc7)])),_0xbec800[_0x2d7965(0xc4)](_0x2d7965(0xdb))&&(this[_0x2d7965(0xc9)]=new _0x402510(_0x567712),this[_0x2d7965(0xc9)][_0x2d7965(0xc8)]({'label':_0x35b109(_0x567712,_0x2d7965(0xd0)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x404230}),this[_0x2d7965(0xc9)][_0x2d7965(0xc5)](_0x2d7965(0xbd))['to'](this),this[_0x2d7965(0xc9)]['on'](_0x2d7965(0xc6),()=>{const _0x31f6c7=_0x2d7965;this[_0x31f6c7(0xbc)](_0x31f6c7(0xdb));}),_0x42f630[_0x2d7965(0xd2)](this[_0x2d7965(0xc9)]));const _0x25bbdc=new _0x402510(_0x567712);_0x25bbdc[_0x2d7965(0xc8)]({'label':_0x35b109(_0x567712,_0x2d7965(0xc1)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x448437}),_0x25bbdc[_0x2d7965(0xc5)](_0x2d7965(0xbd))['to'](this),_0x25bbdc['on'](_0x2d7965(0xc6),()=>{const _0x532957=_0x2d7965;this[_0x532957(0xbc)](_0x532957(0xd3));}),_0x42f630[_0x2d7965(0xd2)](_0x25bbdc);}this[_0x2d7965(0xc3)][_0x2d7965(0xcb)](_0x42f630);const _0xc44fb8=this[_0x2d7965(0xbe)];this[_0x2d7965(0xd7)]({'attributes':{'class':[_0xc44fb8['if'](_0x2d7965(0xd6),_0x2d7965(0xcf),_0x25a786=>!_0x25a786)]}});}[_0x1936c1(0xd8)]({showApplyButton:_0x3be0c1,showSuggestButton:_0x3234e4}){const _0x13e512=_0x1936c1;this[_0x13e512(0xc7)]&&(this[_0x13e512(0xc7)][_0x13e512(0xd6)]=_0x3be0c1),this[_0x13e512(0xc9)]&&(this[_0x13e512(0xc9)][_0x13e512(0xd6)]=_0x3234e4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3072b9=_0x15f8;function _0x15f8(_0x330954,_0x4bc84d){const _0x3d4372=_0x3d43();return _0x15f8=function(_0x15f816,_0x393774){_0x15f816=_0x15f816-0x1ae;let _0x1636d0=_0x3d4372[_0x15f816];return _0x1636d0;},_0x15f8(_0x330954,_0x4bc84d);}(function(_0xff3413,_0x3a71e9){const _0x306cb8=_0x15f8,_0x503318=_0xff3413();while(!![]){try{const _0x297b7b=-parseInt(_0x306cb8(0x1cf))/0x1*(parseInt(_0x306cb8(0x1cb))/0x2)+-parseInt(_0x306cb8(0x1ce))/0x3+parseInt(_0x306cb8(0x1d6))/0x4+-parseInt(_0x306cb8(0x1bc))/0x5+parseInt(_0x306cb8(0x1c7))/0x6*(-parseInt(_0x306cb8(0x1c5))/0x7)+-parseInt(_0x306cb8(0x1bf))/0x8*(-parseInt(_0x306cb8(0x1d2))/0x9)+parseInt(_0x306cb8(0x1d4))/0xa;if(_0x297b7b===_0x3a71e9)break;else _0x503318['push'](_0x503318['shift']());}catch(_0xc26b7a){_0x503318['push'](_0x503318['shift']());}}}(_0x3d43,0xb0261));import{View as _0x592466}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xc58b72}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x2fbd8c}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x4c6dc0}from'./aisuggestionstreamablecontentview.js';function _0x3d43(){const _0x121fc0=['mouseLeaveSuggestion','state','update','toolbarView','setTemplate','showChangeInText','pending','953590HOGILO','ck-hidden','isEnabled','24jylBzX','change:state','markAsDone','set','addMany','isVisible','136465TGSJEc','_streamableContentView','402xlkpJX','ck-ai-suggestion__body__content-part_active','updateContent','ck-ai-suggestion__body__content-part_','4cEPPRV','partDefinition','createCollection','1467429Jtebzq','56806apAhKK','target','div','1989972FWJMtm','isActive','10355260XfcHSm','contains','4489172Hmmfus','_children','_headerView','bind','fire','element','isDone','change:isDone','mouseOverSuggestion','ck-ai-suggestion__body__content-part','hasChanges','delegate','index','bindTemplate','ck-ai-suggestion__body__content-part_enabled'];_0x3d43=function(){return _0x121fc0;};return _0x3d43();}export class AISuggestionBodyViewContentPartView extends _0x592466{[_0x3072b9(0x1d7)];[_0x3072b9(0x1d8)];[_0x3072b9(0x1c6)];constructor(_0x595214,{part:_0x32c13b,uiIndex:_0x2df894,areActionsDisabled:_0x43b679,availableActions:_0x56dbdc}){const _0x2bc8b9=_0x3072b9;super(_0x595214);const _0x49c4ff=this[_0x2bc8b9(0x1b3)];this[_0x2bc8b9(0x1c2)](_0x2bc8b9(0x1b6),_0x2bc8b9(0x1bb)),this[_0x2bc8b9(0x1c2)](_0x2bc8b9(0x1dc),!0x1),this[_0x2bc8b9(0x1c2)](_0x2bc8b9(0x1c4),!0x1),this[_0x2bc8b9(0x1c2)](_0x2bc8b9(0x1d3),!0x1),this[_0x2bc8b9(0x1c2)](_0x2bc8b9(0x1be),!0x1);const _0x5dcff1=()=>{const _0x3474b6=_0x2bc8b9;this[_0x3474b6(0x1be)]=this[_0x3474b6(0x1dc)]&&_0x3474b6(0x1bb)==this[_0x3474b6(0x1b6)]&&!_0x43b679;};this['on'](_0x2bc8b9(0x1c0),_0x5dcff1),this['on'](_0x2bc8b9(0x1dd),_0x5dcff1),_0x5dcff1(),this[_0x2bc8b9(0x1d7)]=this[_0x2bc8b9(0x1cd)](),this[_0x2bc8b9(0x1d8)]=new _0x2fbd8c(_0x595214,{'part':_0x32c13b,'uiIndex':_0x2df894,'availableActions':_0x56dbdc,'areActionsDisabled':_0x43b679}),this[_0x2bc8b9(0x1d8)][_0x2bc8b9(0x1d9)](_0x2bc8b9(0x1be),_0x2bc8b9(0x1b6))['to'](this),this[_0x2bc8b9(0x1d8)][_0x2bc8b9(0x1b1)](..._0xc58b72)['to'](this),this[_0x2bc8b9(0x1c6)]=new _0x4c6dc0(_0x595214),this[_0x2bc8b9(0x1d7)][_0x2bc8b9(0x1c3)]([this[_0x2bc8b9(0x1d8)],this[_0x2bc8b9(0x1c6)]]),this[_0x2bc8b9(0x1b9)]({'tag':_0x2bc8b9(0x1d1),'attributes':{'class':['ck',_0x2bc8b9(0x1af),_0x49c4ff['to'](_0x2bc8b9(0x1b6),_0xa48c50=>_0x2bc8b9(0x1ca)+_0xa48c50),_0x49c4ff['if'](_0x2bc8b9(0x1be),_0x2bc8b9(0x1b4)),_0x49c4ff['if'](_0x2bc8b9(0x1d3),_0x2bc8b9(0x1c8)),_0x49c4ff['if'](_0x2bc8b9(0x1c4),_0x2bc8b9(0x1bd),_0x24859b=>!_0x24859b)]},'children':this[_0x2bc8b9(0x1d7)],'on':{'mouseenter':_0x49c4ff['to'](()=>{const _0x25ee5c=_0x2bc8b9;this[_0x25ee5c(0x1be)]&&this[_0x25ee5c(0x1da)](_0x25ee5c(0x1ae),{'index':_0x32c13b[_0x25ee5c(0x1b2)]});}),'mouseleave':_0x49c4ff['to'](()=>{const _0x485b07=_0x2bc8b9;this[_0x485b07(0x1be)]&&this[_0x485b07(0x1da)](_0x485b07(0x1b5),{'index':_0x32c13b[_0x485b07(0x1b2)]});}),'click':_0x49c4ff['to'](_0x215dda=>{const _0x3634f1=_0x2bc8b9,_0x5d7362=_0x215dda[_0x3634f1(0x1d0)];this[_0x3634f1(0x1be)]&&!this[_0x3634f1(0x1d8)][_0x3634f1(0x1b8)][_0x3634f1(0x1db)][_0x3634f1(0x1d5)](_0x5d7362)&&this[_0x3634f1(0x1da)](_0x3634f1(0x1ba),{'index':_0x32c13b[_0x3634f1(0x1b2)]});})}});}async[_0x3072b9(0x1c9)]({part:_0x5d8399,renderingStrategy:_0x5d72e9,showUnchangedParts:_0x37ebdc=!0x1,abortSignal:_0x766ef}){const _0x45f783=_0x3072b9;this[_0x45f783(0x1cc)]=_0x5d8399,this[_0x45f783(0x1c4)]=this[_0x45f783(0x1cc)][_0x45f783(0x1b0)]||_0x37ebdc,this[_0x45f783(0x1c4)]&&await this[_0x45f783(0x1c6)][_0x45f783(0x1b7)]({'part':_0x5d8399,'renderingStrategy':_0x5d72e9,'abortSignal':_0x766ef});}[_0x3072b9(0x1c1)](){const _0xec7fcd=_0x3072b9;this[_0xec7fcd(0x1dc)]=!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x46a6(_0x43c815,_0x570ab3){const _0x398817=_0x3988();return _0x46a6=function(_0x46a6dc,_0x6fd4c7){_0x46a6dc=_0x46a6dc-0x169;let _0xa4a03b=_0x398817[_0x46a6dc];return _0xa4a03b;},_0x46a6(_0x43c815,_0x570ab3);}const _0x436e78=_0x46a6;(function(_0x245754,_0x282d9d){const _0x4cfa28=_0x46a6,_0x2111d2=_0x245754();while(!![]){try{const _0x41a13c=parseInt(_0x4cfa28(0x177))/0x1+parseInt(_0x4cfa28(0x169))/0x2*(parseInt(_0x4cfa28(0x16a))/0x3)+-parseInt(_0x4cfa28(0x17f))/0x4*(parseInt(_0x4cfa28(0x189))/0x5)+-parseInt(_0x4cfa28(0x174))/0x6+parseInt(_0x4cfa28(0x183))/0x7+-parseInt(_0x4cfa28(0x186))/0x8*(parseInt(_0x4cfa28(0x16d))/0x9)+parseInt(_0x4cfa28(0x185))/0xa*(parseInt(_0x4cfa28(0x173))/0xb);if(_0x41a13c===_0x282d9d)break;else _0x2111d2['push'](_0x2111d2['shift']());}catch(_0x10d07b){_0x2111d2['push'](_0x2111d2['shift']());}}}(_0x3988,0xb1636));import{getTranslation as _0x56e53e}from'../../utils/common-translations.js';function _0x3988(){const _0x533cbe=['584637MeCBvA','iconView','setTemplate','add','isOn','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','bind','filter','4002676kdfBPZ','children','fire','toggleShowChanges','3057796SaSckF','remove','110230muLnOu','1672OjKVSi','content','showDiff','5DnYEXK','set','showChangesToggleView','execute','isVisible','render','2meapFh','3833379Vpysic','AI_SUGGESTION_HEADER_TITLE','AI_SUGGESTION_BUTTON_SHOW_CHANGES','5562CGCnST','icon','ck-ai-suggestion__header','span','div','showHeader','803pyukxh','7485144dGiamw','ck-hidden','isShowChangesToggleVisible'];_0x3988=function(){return _0x533cbe;};return _0x3988();}import{ButtonView as _0x2adeb3,IconView as _0x34762f,View as _0x3a002c}from'ckeditor5/src/ui.js';import{IconDocument as _0xc87e13,IconShowChangesOff as _0x430668,IconShowChangesOn as _0x257bd4}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x3a002c{[_0x436e78(0x18b)];constructor(_0x29ac1c,_0x1b23a7){const _0x346aea=_0x436e78;super(_0x29ac1c),this[_0x346aea(0x18a)](_0x346aea(0x176),!0x0),this[_0x346aea(0x18b)]=new ShowChangesToggleView(_0x29ac1c),this[_0x346aea(0x18b)][_0x346aea(0x18a)]({'class':_0x346aea(0x17c),'label':_0x56e53e(_0x29ac1c,_0x346aea(0x16c)),'withText':!0x0}),this[_0x346aea(0x18b)][_0x346aea(0x17b)]=_0x1b23a7[_0x346aea(0x188)],this[_0x346aea(0x18b)][_0x346aea(0x17d)](_0x346aea(0x18d))['to'](this,_0x346aea(0x176)),this[_0x346aea(0x18b)][_0x346aea(0x17d)](_0x346aea(0x16e))['to'](this[_0x346aea(0x18b)],_0x346aea(0x17b),_0x1ed775=>_0x1ed775?_0x257bd4:_0x430668),this[_0x346aea(0x18b)]['on'](_0x346aea(0x18c),()=>{const _0x587060=_0x346aea;this[_0x587060(0x18b)][_0x587060(0x17b)]=!this[_0x587060(0x18b)][_0x587060(0x17b)],this[_0x587060(0x181)](_0x587060(0x182),{'isOn':this[_0x587060(0x18b)][_0x587060(0x17b)]});});const _0x4e2701=new _0x34762f();_0x4e2701[_0x346aea(0x187)]=_0xc87e13,this[_0x346aea(0x179)]({'tag':_0x346aea(0x171),'attributes':{'class':['ck',_0x346aea(0x16f),!0x1===_0x1b23a7[_0x346aea(0x172)]?_0x346aea(0x175):null][_0x346aea(0x17e)](Boolean)},'children':[_0x4e2701,{'tag':_0x346aea(0x170),'children':[_0x56e53e(_0x29ac1c,_0x346aea(0x16b))]},this[_0x346aea(0x18b)]]});}}export class ShowChangesToggleView extends _0x2adeb3{[_0x436e78(0x18e)](){const _0x548a87=_0x436e78;super[_0x548a87(0x18e)](),this[_0x548a87(0x180)][_0x548a87(0x184)](this[_0x548a87(0x178)]),this[_0x548a87(0x180)][_0x548a87(0x17a)](this[_0x548a87(0x178)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2da85c,_0x2e5aa1){const _0x3e4049=_0x4aba,_0x4c9c83=_0x2da85c();while(!![]){try{const _0x24a9d1=parseInt(_0x3e4049(0x77))/0x1*(parseInt(_0x3e4049(0x78))/0x2)+-parseInt(_0x3e4049(0x81))/0x3*(parseInt(_0x3e4049(0x73))/0x4)+-parseInt(_0x3e4049(0x75))/0x5*(parseInt(_0x3e4049(0x6c))/0x6)+parseInt(_0x3e4049(0x71))/0x7+parseInt(_0x3e4049(0x74))/0x8+-parseInt(_0x3e4049(0x7e))/0x9*(-parseInt(_0x3e4049(0x7f))/0xa)+parseInt(_0x3e4049(0x7c))/0xb;if(_0x24a9d1===_0x2e5aa1)break;else _0x4c9c83['push'](_0x4c9c83['shift']());}catch(_0x237e65){_0x4c9c83['push'](_0x4c9c83['shift']());}}}(_0x5672,0x216dd));import{View as _0x2577ca}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x1c050d}from'../aispinner.js';function _0x4aba(_0xd23d3a,_0x59e21c){const _0x567238=_0x5672();return _0x4aba=function(_0x4aba6d,_0x98365f){_0x4aba6d=_0x4aba6d-0x6c;let _0x4edd7e=_0x567238[_0x4aba6d];return _0x4edd7e;},_0x4aba(_0xd23d3a,_0x59e21c);}import{getTranslation as _0x104b0c}from'../../utils/common-translations.js';function _0x5672(){const _0x2e1fb7=['AI_CHAT_IS_WRITING','3dRNENg','ck-ai-suggestion__loader','357366UZNSyB','locale','bindTemplate','small','span','665602WDwWEu','div','625276nqzIrp','384664KXgYUD','20fFTbsf','ck-ai-suggestion__loader-text','20607uCsWDo','2AsMuWI','ck-hidden','isVisible','setTemplate','1185998ygxMYB','set','11754SifqBa','1990lVEowI'];_0x5672=function(){return _0x2e1fb7;};return _0x5672();}export class AISuggestionLoaderView extends _0x2577ca{constructor(_0x279188){const _0x1ed136=_0x4aba;super(_0x279188),this[_0x1ed136(0x7d)](_0x1ed136(0x7a),!0x0);const _0x5e5c4c=new _0x1c050d(_0x1ed136(0x6f));_0x5e5c4c[_0x1ed136(0x7a)]=!0x0;const _0xab0126=new _0x2577ca(this[_0x1ed136(0x6d)]);_0xab0126[_0x1ed136(0x7b)]({'tag':_0x1ed136(0x70),'attributes':{'class':['ck',_0x1ed136(0x76)]},'children':[_0x104b0c(this[_0x1ed136(0x6d)],_0x1ed136(0x80))]}),this[_0x1ed136(0x7b)]({'tag':_0x1ed136(0x72),'attributes':{'class':['ck',_0x1ed136(0x82),this[_0x1ed136(0x6e)]['if'](_0x1ed136(0x7a),_0x1ed136(0x79),_0x53e124=>!_0x53e124)]},'children':[_0x5e5c4c,_0xab0126]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x183a04=_0x2e2f;(function(_0x10bff5,_0x4e7022){var _0x698b3a=_0x2e2f,_0x24c177=_0x10bff5();while(!![]){try{var _0x482cf8=-parseInt(_0x698b3a(0x11a))/0x1*(-parseInt(_0x698b3a(0x12f))/0x2)+-parseInt(_0x698b3a(0x12c))/0x3*(-parseInt(_0x698b3a(0x12b))/0x4)+-parseInt(_0x698b3a(0x129))/0x5+parseInt(_0x698b3a(0x125))/0x6+-parseInt(_0x698b3a(0x11e))/0x7*(-parseInt(_0x698b3a(0x11f))/0x8)+parseInt(_0x698b3a(0x121))/0x9*(-parseInt(_0x698b3a(0x12d))/0xa)+-parseInt(_0x698b3a(0x11b))/0xb*(parseInt(_0x698b3a(0x119))/0xc);if(_0x482cf8===_0x4e7022)break;else _0x24c177['push'](_0x24c177['shift']());}catch(_0x296fbe){_0x24c177['push'](_0x24c177['shift']());}}}(_0x3e0d,0x6dbdb));import{View as _0x576043}from'ckeditor5/src/ui.js';function _0x2e2f(_0x576f4b,_0x47de58){var _0x3e0d9d=_0x3e0d();return _0x2e2f=function(_0x2e2fec,_0x13a39f){_0x2e2fec=_0x2e2fec-0x119;var _0x3ca94b=_0x3e0d9d[_0x2e2fec];return _0x3ca94b;},_0x2e2f(_0x576f4b,_0x47de58);}import{HTMLStreamer as _0x25f1fd}from'../../utils/htmlstreamer.js';import{serialize as _0x1ac2ff}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';function _0x3e0d(){var _0x1e471e=['stream','streaming','htmlStreamer','ck-reset_all-excluded','15648cEFDsH','426247xIUEtZ','12023Kerocl','div','reset','140maRjox','181680edenmd','element','2788362vqaJfB','ck-content','update','clear','3162696TlLfSD','animation:\x20ck-html-streamer-fade-in\x20.5s','setTemplate','innerHTML','2154945IjTrFb','content','32JvGqmU','293163llsqpi','10UShYEh','ck-ai-suggestion-streamable-content','4azlvRI'];_0x3e0d=function(){return _0x1e471e;};return _0x3e0d();}export class AISuggestionStreamableContentView extends _0x576043{[_0x183a04(0x132)];constructor(_0xac150f){var _0xa67eae=_0x183a04;super(_0xac150f),this[_0xa67eae(0x132)]=new _0x25f1fd({'textNodeStyle':_0xa67eae(0x126),'delay':0x14}),this[_0xa67eae(0x127)]({'tag':_0xa67eae(0x11c),'attributes':{'class':['ck',_0xa67eae(0x122),_0xa67eae(0x133),_0xa67eae(0x12e)]}});}async[_0x183a04(0x123)]({part:_0x20c2dc,renderingStrategy:_0x4bd70a,abortSignal:_0x3a0457}){var _0x5025d8=_0x183a04;_0x5025d8(0x131)===_0x4bd70a?await this[_0x5025d8(0x132)][_0x5025d8(0x130)]({'document':_0x20c2dc[_0x5025d8(0x12a)],'targetElement':this[_0x5025d8(0x120)],'abortSignal':_0x3a0457}):this[_0x5025d8(0x120)][_0x5025d8(0x128)]=_0x1ac2ff(_0x20c2dc[_0x5025d8(0x12a)]);}[_0x183a04(0x124)](){var _0x525c23=_0x183a04;this[_0x525c23(0x132)][_0x525c23(0x11d)](),this[_0x525c23(0x120)][_0x525c23(0x128)]='';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x140f25=_0xf2e0;(function(_0x52a7ae,_0x4677dc){const _0x51b82a=_0xf2e0,_0xcb5da8=_0x52a7ae();while(!![]){try{const _0x54ed97=-parseInt(_0x51b82a(0x1e4))/0x1*(parseInt(_0x51b82a(0x1cc))/0x2)+parseInt(_0x51b82a(0x1d7))/0x3+parseInt(_0x51b82a(0x1f4))/0x4+-parseInt(_0x51b82a(0x1f2))/0x5*(parseInt(_0x51b82a(0x1f3))/0x6)+-parseInt(_0x51b82a(0x1e7))/0x7+parseInt(_0x51b82a(0x20c))/0x8*(-parseInt(_0x51b82a(0x1eb))/0x9)+parseInt(_0x51b82a(0x1c9))/0xa;if(_0x54ed97===_0x4677dc)break;else _0xcb5da8['push'](_0xcb5da8['shift']());}catch(_0x1ebf59){_0xcb5da8['push'](_0xcb5da8['shift']());}}}(_0x41c4,0x646dd));function _0x41c4(){const _0x383777=['set','add','bodyCollection','destroy','bindTemplate','defaultPositions','favicon','ck-ai-web-sources__header','span','_hideTooltip','icon','_createTooltipContentView','hide','get','_blank','open','url','2245592jqsVbz','4416810guOeoM','substring','push','12DAkDpJ','querySelector','createCollection','_showTooltip','extendTemplate','ck-ai-web-sources','_updateTooltipContent','ck-ai-web-source__tooltip-row','hostname','ck-ai-web-source__tooltip-image','ck-ai-web-source__image','1294665JjEIhx','addSource','ck-ai-web-source__tooltip','ck\x20ck-ai-web-source','ck-ai-web-source__tooltip-url','locale','balloonPanelView','northArrowSouthEast','...','div','title','pin','ck-hidden','101069FJzlej','source','_setupBalloonPanel','749308PFjJLd','isVisible','element','content','9JwSDzc','northArrowSouthWest','img','children','.ck-ai-chat','ck-ai-web-source__tooltip-balloon','show','5JCnvbc','967026sghzCj','2773796OlRFQe','clear','northArrowSouth','length','setTemplate','AI_CHAT_SOURCES_HEADER','ck-ai-web-source__tooltip-title'];_0x41c4=function(){return _0x383777;};return _0x41c4();}import{View as _0x3fbda7,ButtonView as _0x301a13,IconView as _0x3cda64,BalloonPanelView as _0x260592}from'ckeditor5/src/ui.js';import{IconWeb as _0x58d496}from'@ckeditor/ckeditor5-icons';function _0xf2e0(_0x377e7f,_0x1f71c1){const _0x41c4cf=_0x41c4();return _0xf2e0=function(_0xf2e0ae,_0x1cecdc){_0xf2e0ae=_0xf2e0ae-0x1c9;let _0x56dccc=_0x41c4cf[_0xf2e0ae];return _0x56dccc;},_0xf2e0(_0x377e7f,_0x1f71c1);}import{getTranslation as _0x50379e}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x3fbda7{[_0x140f25(0x1ee)];[_0x140f25(0x1dd)];[_0x140f25(0x1fd)];constructor(_0x518927,_0x597bfd){const _0x1d1c34=_0x140f25;super(_0x518927),this[_0x1d1c34(0x1fd)]=_0x597bfd,this[_0x1d1c34(0x1ee)]=this[_0x1d1c34(0x1ce)](),this[_0x1d1c34(0x1fb)](_0x1d1c34(0x1e8),!0x1),this[_0x1d1c34(0x1f8)]({'tag':_0x1d1c34(0x1e0),'attributes':{'class':['ck',_0x1d1c34(0x1d1),this[_0x1d1c34(0x1ff)]['if'](_0x1d1c34(0x1e8),_0x1d1c34(0x1e3),_0x220c85=>!_0x220c85)]},'children':this[_0x1d1c34(0x1ee)]});const _0x30cfce=new _0x3fbda7(this[_0x1d1c34(0x1dc)]),_0x3cd489=new _0x3cda64();_0x3cd489[_0x1d1c34(0x1ea)]=_0x58d496,_0x30cfce[_0x1d1c34(0x1f8)]({'tag':_0x1d1c34(0x1e0),'attributes':{'class':['ck',_0x1d1c34(0x202)]},'children':[_0x3cd489,{'tag':_0x1d1c34(0x203),'children':[{'text':_0x50379e(this[_0x1d1c34(0x1dc)],_0x1d1c34(0x1f9))}]}]}),this[_0x1d1c34(0x1ee)][_0x1d1c34(0x1fc)](_0x30cfce),this[_0x1d1c34(0x1e6)](_0x518927);}[_0x140f25(0x1d8)](_0x52d54a){const _0x18a1e3=_0x140f25;this[_0x18a1e3(0x1ee)][_0x18a1e3(0x1fc)](new AIWebSourceView(this[_0x18a1e3(0x1dc)],_0x52d54a,this[_0x18a1e3(0x1dd)]));}[_0x140f25(0x1e6)](_0xe3eae4){const _0x4e875a=_0x140f25;this[_0x4e875a(0x1dd)]=new _0x260592(_0xe3eae4),this[_0x4e875a(0x1dd)][_0x4e875a(0x1d0)]({'attributes':{'class':[_0x4e875a(0x1f0)]}}),this[_0x4e875a(0x1fd)][_0x4e875a(0x1fc)](this[_0x4e875a(0x1dd)]);}}export class AIWebSourceView extends _0x301a13{[_0x140f25(0x1dd)];[_0x140f25(0x1e5)];constructor(_0x57a13d,_0x32f065,_0x2e9600){const _0x24fa4b=_0x140f25;super(_0x57a13d),this[_0x24fa4b(0x1e5)]=_0x32f065,this[_0x24fa4b(0x1dd)]=_0x2e9600,this[_0x24fa4b(0x1fb)]({'label':_0x32f065[_0x24fa4b(0x1e1)],'class':[_0x24fa4b(0x1da)],'withText':!0x0});const _0x2d56d8=this[_0x24fa4b(0x1ff)];if(this[_0x24fa4b(0x1d0)]({'on':{'click':_0x2d56d8['to'](()=>{const _0x413fe1=_0x24fa4b;window[_0x413fe1(0x20a)](_0x32f065[_0x413fe1(0x20b)],_0x413fe1(0x209));}),'mouseenter':_0x2d56d8['to'](()=>{const _0x5e198d=_0x24fa4b;this[_0x5e198d(0x1cf)]();}),'mouseleave':_0x2d56d8['to'](()=>{const _0x5d8c05=_0x24fa4b;this[_0x5d8c05(0x204)]();})}}),_0x32f065[_0x24fa4b(0x201)]){const _0x3328b8=new _0x3fbda7(_0x57a13d);_0x3328b8[_0x24fa4b(0x1f8)]({'tag':_0x24fa4b(0x1ed),'attributes':{'src':_0x32f065[_0x24fa4b(0x201)]||_0x58d496,'alt':_0x32f065[_0x24fa4b(0x1e1)],'class':[_0x24fa4b(0x1d6)]}}),this[_0x24fa4b(0x1ee)][_0x24fa4b(0x1fc)](_0x3328b8);}else this[_0x24fa4b(0x1fb)](_0x24fa4b(0x205),_0x58d496);}[_0x140f25(0x206)](_0xb889e6,_0x54b9a1){const _0x31163c=_0x140f25,_0x5edd8c=new _0x3fbda7(_0xb889e6),_0x35a4b5=[];let _0x39973a;_0x54b9a1?.[_0x31163c(0x201)]?(_0x39973a=new _0x3fbda7(_0xb889e6),_0x39973a[_0x31163c(0x1f8)]({'tag':_0x31163c(0x1ed),'attributes':{'src':_0x54b9a1[_0x31163c(0x201)],'alt':_0x54b9a1[_0x31163c(0x1e1)],'class':[_0x31163c(0x1d5)]}})):(_0x39973a=new _0x3cda64(),_0x39973a[_0x31163c(0x1ea)]=_0x58d496,_0x39973a[_0x31163c(0x1d0)]({'attributes':{'alt':_0x54b9a1[_0x31163c(0x1e1)],'class':[_0x31163c(0x1d5)]}})),_0x35a4b5[_0x31163c(0x1cb)](_0x39973a);const _0x1b51ad=new _0x3fbda7(_0xb889e6);_0x1b51ad[_0x31163c(0x1f8)]({'tag':'a','attributes':{'class':[_0x31163c(0x1db)],'href':_0x54b9a1[_0x31163c(0x20b)]},'children':[{'text':new URL(_0x54b9a1[_0x31163c(0x20b)])?.[_0x31163c(0x1d4)]}]}),_0x35a4b5[_0x31163c(0x1cb)](_0x1b51ad);const _0x518230=new _0x3fbda7(_0xb889e6);_0x518230[_0x31163c(0x1f8)]({'tag':_0x31163c(0x1e0),'attributes':{'class':[_0x31163c(0x1d3)]},'children':_0x35a4b5});const _0x429f65=new _0x3fbda7(_0xb889e6);return _0x429f65[_0x31163c(0x1f8)]({'tag':_0x31163c(0x203),'attributes':{'class':[_0x31163c(0x1d3),_0x31163c(0x1fa)]},'children':[{'text':_0x54b9a1[_0x31163c(0x1e1)][_0x31163c(0x1f7)]>0x190?_0x54b9a1[_0x31163c(0x1e1)][_0x31163c(0x1ca)](0x0,0x190)+_0x31163c(0x1df):_0x54b9a1[_0x31163c(0x1e1)]}]}),_0x5edd8c[_0x31163c(0x1f8)]({'tag':_0x31163c(0x1e0),'attributes':{'class':['ck',_0x31163c(0x1d9)]},'children':[_0x518230,_0x429f65]}),_0x5edd8c;}[_0x140f25(0x1cf)](){const _0x292822=_0x140f25;this[_0x292822(0x1d2)](),this[_0x292822(0x1dd)][_0x292822(0x1e2)]({'target':this[_0x292822(0x1e9)],'positions':[_0x260592[_0x292822(0x200)][_0x292822(0x1f6)],_0x260592[_0x292822(0x200)][_0x292822(0x1ec)],_0x260592[_0x292822(0x200)][_0x292822(0x1de)]],'limiter':document[_0x292822(0x1cd)](_0x292822(0x1ef))}),this[_0x292822(0x1dd)][_0x292822(0x1f1)]();}[_0x140f25(0x204)](){const _0x24335d=_0x140f25;this[_0x24335d(0x1dd)][_0x24335d(0x207)]();}[_0x140f25(0x1d2)](){const _0x44c58e=_0x140f25;this[_0x44c58e(0x1dd)][_0x44c58e(0x1ea)][_0x44c58e(0x208)](0x0)?.[_0x44c58e(0x1fe)](),this[_0x44c58e(0x1dd)][_0x44c58e(0x1ea)][_0x44c58e(0x1f5)]();const _0x37c326=this[_0x44c58e(0x206)](this[_0x44c58e(0x1dc)],this[_0x44c58e(0x1e5)]);this[_0x44c58e(0x1dd)][_0x44c58e(0x1ea)][_0x44c58e(0x1fc)](_0x37c326);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2fd456,_0x485a50){const _0x2e7468=_0x4511,_0x3b0dfb=_0x2fd456();while(!![]){try{const _0x2c4597=parseInt(_0x2e7468(0x90))/0x1+-parseInt(_0x2e7468(0x86))/0x2*(parseInt(_0x2e7468(0x80))/0x3)+-parseInt(_0x2e7468(0x95))/0x4+-parseInt(_0x2e7468(0x83))/0x5*(parseInt(_0x2e7468(0x8b))/0x6)+-parseInt(_0x2e7468(0x92))/0x7+-parseInt(_0x2e7468(0x8d))/0x8+-parseInt(_0x2e7468(0x8a))/0x9*(-parseInt(_0x2e7468(0x8e))/0xa);if(_0x2c4597===_0x485a50)break;else _0x3b0dfb['push'](_0x3b0dfb['shift']());}catch(_0x5f189f){_0x3b0dfb['push'](_0x3b0dfb['shift']());}}}(_0x2d27,0xc9a1f));import{ButtonView as _0x5e0a95}from'ckeditor5/src/ui.js';function _0x4511(_0x330c3f,_0x4756be){const _0x2d2742=_0x2d27();return _0x4511=function(_0x451108,_0x208e73){_0x451108=_0x451108-0x80;let _0x588013=_0x2d2742[_0x451108];return _0x588013;},_0x4511(_0x330c3f,_0x4756be);}function _0x2d27(){const _0x4d72a3=['bind','6865dhpIhO','fire','set','20912TIDkQj','resizeTabs','icon','AI_TABS_LABEL_MINIMIZE','38358405lvtWRl','4518mjuqiJ','label','309240jrBSqU','10sncFPp','execute','575138iflqMe','ck-ai-tabs__resize\x20ck-ai-button-tertiary','11014311sUIMWI','AI_TABS_LABEL_MAXIMIZE','isMaximized','5335724zcjSrO','9nYmQKe','isOn'];_0x2d27=function(){return _0x4d72a3;};return _0x2d27();}import{IconMaximize as _0x20517f,IconMinimize as _0x441e73}from'ckeditor5/src/icons.js';import{getTranslation as _0x15d837}from'../../aicore/utils/common-translations.js';import'../../../theme/aitabs/aitabsresizebutton.css';export function createResizeButton(_0x5ce87f,_0x139302){const _0x1a28cd=_0x4511,_0x529108=new _0x5e0a95(_0x5ce87f),_0x34621b=_0x15d837(_0x5ce87f,_0x1a28cd(0x89)),_0x1e49ef=_0x15d837(_0x5ce87f,_0x1a28cd(0x93));return _0x529108[_0x1a28cd(0x85)]({'withText':!0x1,'icon':_0x20517f,'tooltip':!0x0,'class':_0x1a28cd(0x91)}),_0x529108[_0x1a28cd(0x82)](_0x1a28cd(0x8c))['to'](_0x139302,_0x1a28cd(0x94),_0x507e8a=>_0x507e8a?_0x34621b:_0x1e49ef),_0x529108[_0x1a28cd(0x82)](_0x1a28cd(0x88))['to'](_0x139302,_0x1a28cd(0x94),_0x288a45=>_0x288a45?_0x441e73:_0x20517f),_0x529108[_0x1a28cd(0x82)](_0x1a28cd(0x81))['to'](_0x139302,_0x1a28cd(0x94)),_0x529108['on'](_0x1a28cd(0x8f),()=>{const _0x2eaf9e=_0x1a28cd;_0x139302[_0x2eaf9e(0x84)](_0x2eaf9e(0x87));}),_0x529108;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x577e03=_0x5b4b;function _0x5b4b(_0x4a0ab4,_0x594574){const _0x22b922=_0x22b9();return _0x5b4b=function(_0x5b4b94,_0xc3645c){_0x5b4b94=_0x5b4b94-0x160;let _0x54c9de=_0x22b922[_0x5b4b94];return _0x54c9de;},_0x5b4b(_0x4a0ab4,_0x594574);}(function(_0x25caed,_0x33085a){const _0x1ff125=_0x5b4b,_0x1cc9d8=_0x25caed();while(!![]){try{const _0x24d0a1=-parseInt(_0x1ff125(0x17c))/0x1*(parseInt(_0x1ff125(0x174))/0x2)+-parseInt(_0x1ff125(0x16d))/0x3*(parseInt(_0x1ff125(0x177))/0x4)+parseInt(_0x1ff125(0x16f))/0x5+parseInt(_0x1ff125(0x17f))/0x6*(-parseInt(_0x1ff125(0x173))/0x7)+-parseInt(_0x1ff125(0x16a))/0x8+parseInt(_0x1ff125(0x160))/0x9+parseInt(_0x1ff125(0x180))/0xa;if(_0x24d0a1===_0x33085a)break;else _0x1cc9d8['push'](_0x1cc9d8['shift']());}catch(_0x5f4d64){_0x1cc9d8['push'](_0x1cc9d8['shift']());}}}(_0x22b9,0x6830d));function _0x22b9(){const _0x300940=['includes','5076870NuwSNC','27376970ONdjAC','2461923BZkgab','start','createFromPath','createBefore','createAfter','forEach','length','createAt','previousNode','data','6478976Zgjgzp','getContent','getNudgedToWordBoundary','3jKpGht','firstChild','881135xgXumP','path','lastChild','end','7YEwjGS','18286lNQMix','document','slice','2443868ntRInJ','push','reverse','parent','isEqual','54JfPVYh','nextNode'];_0x22b9=function(){return _0x300940;};return _0x22b9();}import{DocumentPosition as _0x4ed149}from'./documentposition.js';import{clone as _0x5d7fde,getParents as _0x52efa3,Document as _0x462e83,Text as _0x3aef20,isTag as _0x4b090e,isText as _0x188d13,replaceElement as _0x5d9004,removeElement as _0x468a74}from'./htmlparser.js';export class DocumentRange{[_0x577e03(0x161)];[_0x577e03(0x172)];constructor(_0x2f01ce,_0x4c99e6){const _0x3d0ebe=_0x577e03;this[_0x3d0ebe(0x161)]=_0x2f01ce,this[_0x3d0ebe(0x172)]=_0x4c99e6;}[_0x577e03(0x17b)](_0xf87651){const _0x2cd451=_0x577e03;return this==_0xf87651||this[_0x2cd451(0x161)][_0x2cd451(0x17b)](_0xf87651[_0x2cd451(0x161)])&&this[_0x2cd451(0x172)][_0x2cd451(0x17b)](_0xf87651[_0x2cd451(0x172)]);}[_0x577e03(0x16c)](){const _0x1b9766=_0x577e03;return new DocumentRange(this[_0x1b9766(0x161)][_0x1b9766(0x16c)](_0x1b9766(0x161)),this[_0x1b9766(0x172)][_0x1b9766(0x16c)](_0x1b9766(0x172)));}[_0x577e03(0x16b)](){const _0x2c52de=_0x577e03,_0x205943=_0x5d7fde(this[_0x2c52de(0x161)][_0x2c52de(0x175)]),_0x41cc5f=_0x4ed149[_0x2c52de(0x162)](_0x205943,this[_0x2c52de(0x161)][_0x2c52de(0x170)]),_0x14837a=_0x4ed149[_0x2c52de(0x162)](_0x205943,this[_0x2c52de(0x172)][_0x2c52de(0x170)]);let _0x3fcfad,_0x366dde;if(_0x188d13(_0x41cc5f[_0x2c52de(0x17a)])){const _0x13dc57=_0x41cc5f[_0x2c52de(0x170)][_0x41cc5f[_0x2c52de(0x170)][_0x2c52de(0x166)]-0x1],_0x4793b8=new _0x3aef20(_0x41cc5f[_0x2c52de(0x17a)][_0x2c52de(0x169)][_0x2c52de(0x176)](_0x13dc57));_0x5d9004(_0x41cc5f[_0x2c52de(0x17a)],_0x4793b8),_0x3fcfad=_0x4793b8;}else _0x3fcfad=_0x41cc5f[_0x2c52de(0x17d)];if(_0x188d13(_0x14837a[_0x2c52de(0x17a)])){const _0x30cf69=_0x14837a[_0x2c52de(0x170)][_0x14837a[_0x2c52de(0x170)][_0x2c52de(0x166)]-0x1],_0x1ecd04=new _0x3aef20(_0x14837a[_0x2c52de(0x17a)][_0x2c52de(0x169)][_0x2c52de(0x176)](0x0,_0x30cf69));_0x5d9004(_0x14837a[_0x2c52de(0x17a)],_0x1ecd04),_0x366dde=_0x1ecd04;}else _0x366dde=_0x14837a[_0x2c52de(0x168)];if(!(_0x3fcfad&&_0x366dde&&_0x205943[_0x2c52de(0x16e)]&&_0x205943[_0x2c52de(0x171)]))return new _0x462e83([]);const _0x47e579=_0x52efa3(_0x3fcfad),_0x2673ec=_0x52efa3(_0x366dde),_0xb2aa77=[],_0x4b130c=[];let _0x1aa0e1=_0x205943[_0x2c52de(0x16e)];for(;_0x1aa0e1&&_0x1aa0e1!==_0x3fcfad;){let _0x339958;_0x47e579[_0x2c52de(0x17e)](_0x1aa0e1)||_0xb2aa77[_0x2c52de(0x178)](_0x1aa0e1),_0x339958=_0x4b090e(_0x1aa0e1)?_0x4ed149[_0x2c52de(0x167)](_0x205943,_0x1aa0e1,_0x2c52de(0x161)):_0x4ed149[_0x2c52de(0x164)](_0x205943,_0x1aa0e1),_0x1aa0e1=_0x339958?_0x339958[_0x2c52de(0x17d)]:null;}for(_0x1aa0e1=_0x205943[_0x2c52de(0x171)];_0x1aa0e1&&_0x1aa0e1!==_0x366dde;){let _0x250c8d;_0x2673ec[_0x2c52de(0x17e)](_0x1aa0e1)||_0x4b130c[_0x2c52de(0x178)](_0x1aa0e1),_0x250c8d=_0x4b090e(_0x1aa0e1)?_0x4ed149[_0x2c52de(0x167)](_0x205943,_0x1aa0e1,_0x2c52de(0x172)):_0x4ed149[_0x2c52de(0x163)](_0x205943,_0x1aa0e1),_0x1aa0e1=_0x250c8d?_0x250c8d[_0x2c52de(0x168)]:null;}return _0xb2aa77[_0x2c52de(0x165)](_0x59835d=>{_0x468a74(_0x59835d);}),_0x4b130c[_0x2c52de(0x179)]()[_0x2c52de(0x165)](_0x261d83=>{_0x468a74(_0x261d83);}),_0x205943;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1a3f56,_0x56a615){var _0x186205=_0x232e,_0x430f23=_0x1a3f56();while(!![]){try{var _0x1110a2=parseInt(_0x186205(0x1d7))/0x1*(-parseInt(_0x186205(0x1d2))/0x2)+parseInt(_0x186205(0x1d5))/0x3*(parseInt(_0x186205(0x1cf))/0x4)+-parseInt(_0x186205(0x1ce))/0x5*(-parseInt(_0x186205(0x1da))/0x6)+parseInt(_0x186205(0x1dc))/0x7*(-parseInt(_0x186205(0x1d9))/0x8)+-parseInt(_0x186205(0x1df))/0x9+-parseInt(_0x186205(0x1db))/0xa+-parseInt(_0x186205(0x1de))/0xb*(-parseInt(_0x186205(0x1d3))/0xc);if(_0x1110a2===_0x56a615)break;else _0x430f23['push'](_0x430f23['shift']());}catch(_0x54b92b){_0x430f23['push'](_0x430f23['shift']());}}}(_0x102d,0xe15e5));function _0x232e(_0x303038,_0x44869a){var _0x102d50=_0x102d();return _0x232e=function(_0x232e01,_0x47c1ca){_0x232e01=_0x232e01-0x1ce;var _0x1268c2=_0x102d50[_0x232e01];return _0x1268c2;},_0x232e(_0x303038,_0x44869a);}function _0x102d(){var _0x46f828=['7hAcjkS','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.','1599016TJgNOp','336CRiKMd','2709520osIoWZ','14bcpPKs','warn','142703dQEjAX','15809688FqIdRB','76345fxLFlM','24sOkUCN','length','get','327596CzogXj','2868ZNfYwD','editors','270711pAyipv','ai-get-editor-from-context-no-editor'];_0x102d=function(){return _0x46f828;};return _0x102d();}import{CKEditorError as _0x2a6993}from'ckeditor5/src/utils.js';import{Editor as _0x1e4903}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x4add51){var _0x2a2603=_0x232e;if(_0x4add51 instanceof _0x1e4903)return _0x4add51;if(_0x4add51?.[_0x2a2603(0x1d4)]&&_0x4add51[_0x2a2603(0x1d4)][_0x2a2603(0x1d1)](0x0))return _0x4add51[_0x2a2603(0x1d4)][_0x2a2603(0x1d0)]>0x1&&console[_0x2a2603(0x1dd)](_0x2a2603(0x1d8)),_0x4add51[_0x2a2603(0x1d4)][_0x2a2603(0x1d1)](0x0);throw new _0x2a6993(_0x2a2603(0x1d6));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2c9d3c,_0x4dd756){const _0x5ba749=_0xd748,_0x342a65=_0x2c9d3c();while(!![]){try{const _0x40774d=-parseInt(_0x5ba749(0x11b))/0x1+-parseInt(_0x5ba749(0x11d))/0x2+parseInt(_0x5ba749(0x12d))/0x3+parseInt(_0x5ba749(0x125))/0x4+parseInt(_0x5ba749(0x12c))/0x5*(parseInt(_0x5ba749(0x117))/0x6)+parseInt(_0x5ba749(0x11c))/0x7*(-parseInt(_0x5ba749(0x12b))/0x8)+parseInt(_0x5ba749(0x12f))/0x9*(parseInt(_0x5ba749(0x11f))/0xa);if(_0x40774d===_0x4dd756)break;else _0x342a65['push'](_0x342a65['shift']());}catch(_0x4580de){_0x342a65['push'](_0x342a65['shift']());}}}(_0xe444,0x49726));function _0xd748(_0x29de55,_0x412516){const _0xe444b1=_0xe444();return _0xd748=function(_0xd748b9,_0x24fccb){_0xd748b9=_0xd748b9-0x111;let _0x72f611=_0xe444b1[_0xd748b9];return _0x72f611;},_0xd748(_0x29de55,_0x412516);}import{transformOperationSets as _0x47a6e6}from'ckeditor5/src/engine.js';import{append as _0x1ef607,findByAttribute as _0x1c5f42,prependChild as _0x315eda,removeElement as _0x39b827,serialize as _0xfd7828}from'./htmlparser.js';function _0xe444(){const _0x33725f=['oldRange','filter','688QPAouL','68815LsVuhm','935367npXLPz','getOperations','324giUaaw','removed','map','version','node','cloneNode','getDiff','marker','content','model','documentContextContent','getRange','markers','name','138TWinOn','new','getDocumentContext','get','164572GuvJUW','28126IFeSFl','896948naXqhS','previousSibling','134840ZWnmbZ','type','document','history','operationsA','anchorId','582680BRdymO','data-id','length','shift'];_0xe444=function(){return _0x33725f;};return _0xe444();}export function getOperationsFromReply({editor:_0xd817fc,interaction:_0x1cb926,reply:_0x68151,groups:_0x1e861d,transform:_0x42dace,documentCompare:_0x41a344,documentCompareOptions:_0x2f094b}){const _0x4206ec=_0xd748,_0x44ae3b=_0x1cb926[_0x4206ec(0x119)]();if(!_0x44ae3b)return[];const _0x34d985=_0x44ae3b[_0x4206ec(0x111)],_0x53af89=_0x44ae3b[_0x4206ec(0x132)],_0xebb7ea=_0x68151[_0x4206ec(0x113)][_0x4206ec(0x134)](!0x0);for(const {changes:_0x45743f}of _0x1e861d){const _0x108f29=_0x45743f[_0x4206ec(0x12a)](_0x4026e9=>_0x4206ec(0x118)!=_0x4026e9[_0x4206ec(0x120)])[_0x4206ec(0x131)](_0x492756=>_0x1c5f42(_0x4206ec(0x126),_0x492756['id'],_0xebb7ea)),_0x34a6d1=_0x45743f[_0x4206ec(0x12a)](_0x211a78=>_0x4206ec(0x130)!=_0x211a78[_0x4206ec(0x120)])[_0x4206ec(0x131)](_0x51056b=>_0x51056b[_0x4206ec(0x133)][_0x4206ec(0x134)](!0x0));let _0x5aae42=null;if(_0x108f29[_0x4206ec(0x127)]){_0x5aae42=_0x108f29[0x0][_0x4206ec(0x11e)];for(let _0x2a0aa9=0x0;_0x2a0aa9<_0x108f29[_0x4206ec(0x127)];_0x2a0aa9++)_0x39b827(_0x108f29[_0x2a0aa9]);}if(_0x34a6d1[_0x4206ec(0x127)]){_0x5aae42||(_0x45743f[0x0][_0x4206ec(0x124)]?_0x5aae42=_0x1c5f42(_0x4206ec(0x126),_0x45743f[0x0][_0x4206ec(0x124)],_0xebb7ea):(_0x5aae42=_0x34a6d1[_0x4206ec(0x128)](),_0x315eda(_0xebb7ea,_0x5aae42)));for(let _0x428716=0x0;_0x428716<_0x34a6d1[_0x4206ec(0x127)];_0x428716++)_0x1ef607(_0x5aae42,_0x34a6d1[_0x428716]),_0x5aae42=_0x34a6d1[_0x428716];}}const _0x182a22=_0xfd7828(_0xebb7ea),_0x103982=_0x41a344[_0x4206ec(0x135)](_0x34d985,_0x182a22,_0x2f094b)[_0x4206ec(0x12e)]();if(_0x42dace){const _0x4d56f3=_0xd817fc[_0x4206ec(0x112)][_0x4206ec(0x121)][_0x4206ec(0x122)][_0x4206ec(0x12e)](_0x53af89),_0x945523={'document':_0xd817fc[_0x4206ec(0x112)][_0x4206ec(0x121)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x47a6e6(_0x103982,_0x4d56f3,_0x945523)[_0x4206ec(0x123)];}return _0x103982;}export function fixMarkerOperationOldRange(_0x158357,_0x4eed0e){const _0x55f2b1=_0xd748;if(_0x55f2b1(0x136)!=_0x4eed0e[_0x55f2b1(0x120)])return;const _0x290687=_0x158357[_0x55f2b1(0x112)][_0x55f2b1(0x115)][_0x55f2b1(0x11a)](_0x4eed0e[_0x55f2b1(0x116)]);_0x290687&&(_0x4eed0e[_0x55f2b1(0x129)]=_0x290687[_0x55f2b1(0x114)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x5be962,_0x3f1ed3){const _0x4d2ed4=_0x2bb7,_0x447562=_0x5be962();while(!![]){try{const _0x3bb563=-parseInt(_0x4d2ed4(0x1ed))/0x1+parseInt(_0x4d2ed4(0x18c))/0x2*(-parseInt(_0x4d2ed4(0x1ec))/0x3)+-parseInt(_0x4d2ed4(0x1c4))/0x4*(-parseInt(_0x4d2ed4(0x1c9))/0x5)+-parseInt(_0x4d2ed4(0x1e1))/0x6+parseInt(_0x4d2ed4(0x1b7))/0x7+parseInt(_0x4d2ed4(0x1f4))/0x8+-parseInt(_0x4d2ed4(0x1d6))/0x9*(parseInt(_0x4d2ed4(0x1e2))/0xa);if(_0x3bb563===_0x3f1ed3)break;else _0x447562['push'](_0x447562['shift']());}catch(_0x5741e5){_0x447562['push'](_0x447562['shift']());}}}(_0x2fa4,0x9eac4));import{findOne as _0x589c21,getAttribute as _0x10603f,Document as _0x609401,serialize as _0x2cdc89,parse as _0x1206ae}from'./htmlparser.js';import{fixElementSuggestionRange as _0x5e45f9}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x1ae752,_DetachOperation as _0x32fa5a,_removeFromModelNodeList as _0x27f276,_insertIntoModelNodeList as _0x474e9e}from'ckeditor5/src/engine.js';import{uid as _0x307325}from'ckeditor5/src/utils.js';function _0x2fa4(){const _0x1bc9b7=['reverse','parse','textNode','$text','isBefore','merge','baseVersion','442836WbbmSW','159862cKRSlV','addAttribute','targetPosition','moveTargetPosition','isMarkedRemoveOperation','name','model','5180008dXcPuZ','createSelection','newValue','node','children','getMinimalFlatRanges','backward','markers','createRange','delete','plugins','howMany','removed','8OjNWuI','addOperation','data-id','marker','isRegisteredAttribute','...','suggestion:formatBlock:$fakeWrap:','data','schema','word','getFirstRange','change','getShiftedBy','_getTransformedByDeletion','toNone','element','map','position','$elementName','focus','stickiness','clone','createPositionFromPath','root','createPositionAt','isDocumentOperation','splitPosition','oldValue','batch','length','stringify','add','POSITIVE_INFINITY','suggestion:deletion:','cloneNode','$root','_getTransformedByInsertion','applyOperation','parent','newRange','move','_createFromRanges','setTo','3897754vmkuVe','insert','offset','getOperations','range','getDiff','isObject','key','nodeAfter','index','newName','oldName','path','952sGgjmv','nodeBefore','end','split','type','7580AYsMwO','removeAttribute','modifySelection','suggestion:attribute:','changes','suggestion:insertion:','isAfter',':$aiSuggestion','set','slice','DocumentCompare','remove','push','9loglAG','new','start','getTransformedByOperation','forward','SuggestionsConversion','isBlock','getMovedRangeStart','rename','sourcePosition','changeAttribute','502320weDvDO','811770GtcYob','get','createRangeOn'];_0x2fa4=function(){return _0x1bc9b7;};return _0x2fa4();}export function getSuggestionPartsFromReply({editor:_0x3cc54c,changeGroups:_0x4162f6,documentContextContent:_0x2714ca,showDiff:_0xa4b951,trimUnchanged:_0x2ad867=!0x0}){const _0x55005a=_0x2bb7;return _0x4162f6[_0x55005a(0x19c)](_0x448c73=>{const _0xe20a21=_0x55005a,_0x791f63=new _0x609401([]),_0x25b1c4=new _0x609401([]);for(const _0x569ff3 of _0x448c73[_0xe20a21(0x1cd)])if(_0xa4b951&&_0xe20a21(0x18b)==_0x569ff3[_0xe20a21(0x1c8)]||_0x25b1c4[_0xe20a21(0x1f8)][_0xe20a21(0x1d5)](_0x569ff3[_0xe20a21(0x1f7)][_0xe20a21(0x1ae)](!0x0)),_0xe20a21(0x1d7)!=_0x569ff3[_0xe20a21(0x1c8)]&&(_0xa4b951||_0xe20a21(0x18b)!=_0x569ff3[_0xe20a21(0x1c8)])){const _0x3b49fe=_0x589c21(_0x3cc2aa=>_0x10603f(_0x3cc2aa,_0xe20a21(0x18e))==_0x569ff3['id'],_0x2714ca,!0x0);_0x3b49fe&&_0x791f63[_0xe20a21(0x1f8)][_0xe20a21(0x1d5)](_0x3b49fe[_0xe20a21(0x1ae)](!0x0));}const {content:_0x1fd3f2,hasChanges:_0x9a0313}=function(_0x35ebbf,_0x5e8bc9,_0x371917,_0x3e5144,_0x445142=!0x0){const _0x20b477=_0xe20a21,_0x2398ea=_0x35ebbf[_0x20b477(0x1fe)][_0x20b477(0x1e3)](_0x20b477(0x1d3)),_0x3a8df8=_0x2cdc89(_0x5e8bc9),_0x3497a2=_0x2cdc89(_0x371917),_0x26799e=_0x35ebbf[_0x20b477(0x193)][_0x20b477(0x1e6)](_0x3a8df8,_0x20b477(0x1af)),_0x517e70=_0x35ebbf[_0x20b477(0x1f3)][_0x20b477(0x1a4)](_0x26799e,0x0),_0xefae9e=_0x2398ea[_0x20b477(0x1bc)](_0x3a8df8,_0x3497a2,{'anchor':_0x517e70,'markDeletions':_0x3e5144}),_0x569c4a=_0xefae9e[_0x20b477(0x1ba)]();if(0x0==_0x569c4a[_0x20b477(0x1a9)])return{'content':_0x5e8bc9[_0x20b477(0x1ae)](!0x0),'hasChanges':!0x1};_0x3e5144?function(_0x14a37b,_0x577ea5,_0xec4f7d){const _0xf4f000=_0x20b477;if(0x0==_0x14a37b[_0xf4f000(0x1a9)])return;const _0x20f849=_0xec4f7d[_0xf4f000(0x1fe)][_0xf4f000(0x1e3)](_0xf4f000(0x1d3)),_0x56bbea=_0xec4f7d[_0xf4f000(0x1fe)][_0xf4f000(0x1e3)](_0xf4f000(0x1db));_0xec4f7d[_0xf4f000(0x1f3)][_0xf4f000(0x197)](_0x52af55=>{const _0xd68f91=_0xf4f000,_0x31ecf2=new Set();for(let _0x2230de=0x0;_0x2230de<_0x14a37b[_0xd68f91(0x1a9)];_0x2230de++){const _0x101591=_0x14a37b[_0x2230de];if(_0x101591[_0xd68f91(0x1eb)]=null,_0x101591[_0xd68f91(0x1a5)]=!0x1,_0x20f849[_0xd68f91(0x1f1)](_0x101591)){const _0x49a234=_0x5e45f9(_0x101591[_0xd68f91(0x1b3)],_0xec4f7d[_0xd68f91(0x1f3)]),_0x1916b4=_0xd68f91(0x1ad)+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x1916b4,_0x49a234);}else switch(_0x101591[_0xd68f91(0x1c8)]){case _0xd68f91(0x1de):{if(_0x101591[_0xd68f91(0x1c2)]==_0x101591[_0xd68f91(0x1c1)])break;_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591);const _0x44dd29=_0xd68f91(0x19e),_0x5d8745=_0x101591[_0xd68f91(0x19d)],_0x330cda=_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1fc)](_0x5d8745,_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1a4)](_0x5d8745[_0xd68f91(0x1bf)],_0xd68f91(0x1c6))),_0x293e07=_0xd68f91(0x1cc)+_0x44dd29+':'+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x293e07,_0x330cda);break;}case _0xd68f91(0x1ee):case _0xd68f91(0x1ca):case _0xd68f91(0x1e0):{if(_0x101591[_0xd68f91(0x1a7)]==_0x101591[_0xd68f91(0x1f6)])break;_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591);const _0x5a5c92=_0x101591[_0xd68f91(0x1be)];if(!_0x56bbea[_0xd68f91(0x190)](_0x5a5c92))break;const _0x20361b=_0x5e45f9(_0x101591[_0xd68f91(0x1bb)],_0xec4f7d[_0xd68f91(0x1f3)]),_0x1381ef=_0xd68f91(0x1cc)+_0x5a5c92+':'+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x1381ef,_0x20361b);break;}case _0xd68f91(0x1b8):{_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591);if(_0x14a37b[_0x2230de+0x1]&&_0xd68f91(0x1b4)==_0x14a37b[_0x2230de+0x1][_0xd68f91(0x1c8)]){no(_0x577ea5,_0x101591);break;}const _0x582fd8=_0x101591[_0xd68f91(0x19d)],_0x5af6a2=_0x101591[_0xd68f91(0x1ff)],_0x2cf54c=_0x5e45f9(_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1fc)](_0x582fd8,_0x582fd8[_0xd68f91(0x198)](_0x5af6a2)),_0xec4f7d[_0xd68f91(0x1f3)]),_0x21a915=_0xd68f91(0x1ce)+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x21a915,_0x2cf54c);break;}case _0xd68f91(0x1c7):{_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591);const _0x157581=_0x101591[_0xd68f91(0x1a6)],_0x5a4c06=_0x101591[_0xd68f91(0x1f0)],_0xe639ab=_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1fc)](_0x157581,_0x5a4c06),_0x40a88a=_0xd68f91(0x1ce)+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x40a88a,_0xe639ab);break;}case _0xd68f91(0x1b4):{_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591),_0x14a37b[_0x2230de-0x1]&&_0xd68f91(0x1b8)==_0x14a37b[_0x2230de-0x1][_0xd68f91(0x1c8)]&&no(_0x577ea5,_0x101591);const _0xafd005=_0x101591[_0xd68f91(0x1dd)](),_0x301c7e=_0x101591[_0xd68f91(0x1ff)];for(let _0x11c988=0x0;_0x11c988<_0x301c7e;_0x11c988++){const _0x362476=_0xafd005[_0xd68f91(0x198)](_0x11c988)[_0xd68f91(0x1bf)];_0x31ecf2[_0xd68f91(0x1ab)](_0x362476);}break;}case _0xd68f91(0x1d4):{const _0x1b8538=_0x101591[_0xd68f91(0x1df)],_0x216083=_0x101591[_0xd68f91(0x1ff)],_0x2957d2=new _0x32fa5a(_0x1b8538,_0x216083);_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x2957d2),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x2957d2);break;}}}for(const _0x55023e of _0x31ecf2){const _0x2b96d2=_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1e4)](_0x55023e),_0x54dae5=_0xd68f91(0x192)+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x54dae5,_0x5e45f9(_0x2b96d2,_0xec4f7d[_0xd68f91(0x1f3)]));}});}(_0x569c4a,_0x26799e,_0x35ebbf):_0x35ebbf[_0x20b477(0x1f3)][_0x20b477(0x197)](_0x3926cf=>{const _0x547b7d=_0x20b477;for(const _0x1218e4 of _0x569c4a)if(_0x547b7d(0x1d4)==_0x1218e4[_0x547b7d(0x1c8)]){const _0x53d98c=_0x1218e4[_0x547b7d(0x1df)],_0x4a112a=_0x1218e4[_0x547b7d(0x1ff)],_0x4495c0=new _0x32fa5a(_0x53d98c,_0x4a112a);_0x3926cf[_0x547b7d(0x1a8)][_0x547b7d(0x18d)](_0x4495c0),_0x35ebbf[_0x547b7d(0x1f3)][_0x547b7d(0x1b1)](_0x4495c0);}else{if(_0x547b7d(0x18f)==_0x1218e4[_0x547b7d(0x1c8)]){const _0x56b1b3=_0x1218e4[_0x547b7d(0x1f2)],_0x384a54=_0x1218e4[_0x547b7d(0x1b3)];null!==_0x384a54?_0x26799e[_0x547b7d(0x1fb)][_0x547b7d(0x1d1)](_0x56b1b3,_0x384a54):_0x26799e[_0x547b7d(0x1fb)][_0x547b7d(0x1fd)](_0x56b1b3);}else _0x1218e4[_0x547b7d(0x1eb)]=null,_0x1218e4[_0x547b7d(0x1a5)]=!0x1,_0x3926cf[_0x547b7d(0x1a8)][_0x547b7d(0x18d)](_0x1218e4),_0x35ebbf[_0x547b7d(0x1f3)][_0x547b7d(0x1b1)](_0x1218e4);}});if(_0x445142){const _0x30bf88=getMinimalSelection(_0x35ebbf,_0x569c4a,_0x26799e);expandSelectionWithContext(_0x35ebbf[_0x20b477(0x1f3)],_0x30bf88),function(_0x26e40c,_0x3a53a9){const _0x256ef3=_0x20b477,_0x5294fd=_0x3a53a9[_0x256ef3(0x196)]()[_0x256ef3(0x1d8)];let _0x2a378c=_0x3a53a9[_0x256ef3(0x196)]()[_0x256ef3(0x1c6)];const _0x339dcd=_0x5294fd[_0x256ef3(0x1a3)];(_0x2a378c[_0x256ef3(0x1e7)]||_0x2a378c[_0x256ef3(0x1bf)]&&_0x2a378c[_0x256ef3(0x1bf)]['is'](_0x256ef3(0x1e8)))&&(_0x474e9e(_0x2a378c,_0x256ef3(0x191)),_0x2a378c=_0x2a378c[_0x256ef3(0x198)](0x3)),(_0x5294fd[_0x256ef3(0x1e7)]||_0x5294fd[_0x256ef3(0x1c5)]&&_0x5294fd[_0x256ef3(0x1c5)]['is'](_0x256ef3(0x1e8)))&&(_0x474e9e(_0x5294fd,_0x256ef3(0x191)),function(_0x488858,_0x338ba0,_0xb8e22f){const _0xb57575=_0x256ef3;for(let [_0x14ab5e,_0x125790]of _0x488858[_0xb57575(0x1fb)]){const _0x2e9f9b=_0x125790[_0xb57575(0x1b0)](_0x338ba0,_0xb8e22f,!0x1);_0x125790=_0x2e9f9b[0x0],_0x488858[_0xb57575(0x1fb)][_0xb57575(0x1d1)](_0x14ab5e,_0x125790);}}(_0x339dcd,_0x5294fd,0x3),_0x5294fd[_0x256ef3(0x1b2)]==_0x2a378c[_0x256ef3(0x1b2)]&&(_0x2a378c=_0x2a378c[_0x256ef3(0x198)](0x3)));const _0x298aad=_0x26e40c[_0x256ef3(0x1fc)](_0x26e40c[_0x256ef3(0x1a4)](_0x339dcd,0x0),_0x5294fd),_0x3c7777=_0x26e40c[_0x256ef3(0x1fc)](_0x2a378c,_0x26e40c[_0x256ef3(0x1a4)](_0x339dcd,_0x256ef3(0x1c6))),_0x48f3ad=[..._0x298aad[_0x256ef3(0x1f9)](),..._0x3c7777[_0x256ef3(0x1f9)]()];_0x48f3ad[_0x256ef3(0x1e5)]();for(const _0x2052f2 of _0x48f3ad)_0x27f276(_0x2052f2),_transformMarkersByDeletion(_0x339dcd,_0x2052f2);}(_0x35ebbf[_0x20b477(0x1f3)],_0x30bf88);}const _0x4b6db0=_0x35ebbf[_0x20b477(0x193)][_0x20b477(0x1aa)](_0x26799e,{'showSuggestionHighlights':!0x0});return{'content':_0x1206ae(_0x4b6db0),'hasChanges':!0x0};}(_0x3cc54c,_0x791f63,_0x25b1c4,_0xa4b951,_0x2ad867);return{'type':_0x448c73[_0xe20a21(0x1cd)][0x0][_0xe20a21(0x1c8)],'index':_0x448c73[_0xe20a21(0x1c0)],'content':_0x1fd3f2,'hasChanges':_0x9a0313};});}function no(_0x28d1d1,_0x4100d5){const _0x3e5b6d=_0x2bb7;for(const [_0x564232,_0x2e9af5]of _0x28d1d1[_0x3e5b6d(0x1fb)]){const _0x4ebd4d=_0x1ae752[_0x3e5b6d(0x1b5)](_0x2e9af5[_0x3e5b6d(0x1d9)](_0x4100d5));_0x28d1d1[_0x3e5b6d(0x1fb)][_0x3e5b6d(0x1d1)](_0x564232,_0x4ebd4d);}}export function getMinimalSelection(_0x2cd076,_0x124576,_0x2b60ff){const _0x47920f=_0x2bb7,_0x137f83=_0x2cd076[_0x47920f(0x1fe)][_0x47920f(0x1e3)](_0x47920f(0x1d3));let _0x97df8d=_0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1a4)](_0x2b60ff,Number[_0x47920f(0x1ac)]),_0x413645=_0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1a4)](_0x2b60ff,0x0);for(const _0x49a728 of _0x124576){let _0x1b1065,_0x3700bb;if(_0x137f83[_0x47920f(0x1f1)](_0x49a728))_0x1b1065=_0x49a728[_0x47920f(0x1b3)][_0x47920f(0x1d8)],_0x3700bb=_0x49a728[_0x47920f(0x1b3)][_0x47920f(0x1c6)];else switch(_0x97df8d=_0x97df8d[_0x47920f(0x1d9)](_0x49a728),_0x413645=_0x413645[_0x47920f(0x1d9)](_0x49a728),_0x49a728[_0x47920f(0x1c8)]){case _0x47920f(0x1de):_0x1b1065=_0x49a728[_0x47920f(0x19d)],_0x3700bb=_0x1b1065[_0x47920f(0x198)](0x1);break;case _0x47920f(0x1ee):case _0x47920f(0x1ca):case _0x47920f(0x1e0):_0x1b1065=_0x49a728[_0x47920f(0x1bb)][_0x47920f(0x1d8)],_0x3700bb=_0x49a728[_0x47920f(0x1bb)][_0x47920f(0x1c6)];break;case _0x47920f(0x1b8):_0x1b1065=_0x49a728[_0x47920f(0x19d)],_0x3700bb=_0x1b1065[_0x47920f(0x198)](_0x49a728[_0x47920f(0x1ff)]);break;case _0x47920f(0x1c7):_0x1b1065=_0x49a728[_0x47920f(0x1a6)],_0x3700bb=_0x49a728[_0x47920f(0x1f0)];break;case _0x47920f(0x1ea):{const _0xdae6=_0x49a728[_0x47920f(0x1ef)][_0x47920f(0x1c3)][_0x47920f(0x1d2)](0x0,-0x1);_0x1b1065=_0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1a2)](_0x2b60ff,_0xdae6),_0x3700bb=_0x1b1065[_0x47920f(0x198)](0x1);break;}case _0x47920f(0x1d4):{const _0x8ad9bc=_0x49a728[_0x47920f(0x1ff)],_0x492654=_0x49a728[_0x47920f(0x1df)][_0x47920f(0x1b0)](_0x49a728[_0x47920f(0x1ef)],_0x8ad9bc),_0x5c5d52=_0x49a728[_0x47920f(0x1dd)]();_0x47920f(0x1d4)==_0x49a728[_0x47920f(0x1c8)]?(_0x1b1065=_0x492654,_0x3700bb=_0x492654):(_0x1b1065=_0x5c5d52,_0x3700bb=_0x5c5d52[_0x47920f(0x198)](_0x8ad9bc));break;}}_0x1b1065&&_0x1b1065[_0x47920f(0x1e9)](_0x97df8d)&&(_0x97df8d=_0x1b1065[_0x47920f(0x1a1)](),_0x97df8d[_0x47920f(0x1a0)]=_0x47920f(0x19a)),_0x3700bb&&_0x3700bb[_0x47920f(0x1cf)](_0x413645)&&(_0x413645=_0x3700bb[_0x47920f(0x1a1)](),_0x413645[_0x47920f(0x1a0)]=_0x47920f(0x19a));}return _0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1f5)](_0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1fc)](_0x97df8d,_0x413645));}function _0x2bb7(_0x37e87c,_0xcd46c7){const _0x2fa466=_0x2fa4();return _0x2bb7=function(_0x2bb75e,_0x523fc2){_0x2bb75e=_0x2bb75e-0x18b;let _0x491f1e=_0x2fa466[_0x2bb75e];return _0x491f1e;},_0x2bb7(_0x37e87c,_0xcd46c7);}export function expandSelectionWithContext(_0x43e9cb,_0x541798){const _0x29c156=_0x2bb7;ro(_0x43e9cb,_0x541798,_0x29c156(0x1da));const _0xd26038=_0x541798[_0x29c156(0x196)]();_0x541798[_0x29c156(0x1b6)]([]),_0x541798[_0x29c156(0x1b6)](_0xd26038,{'backward':!0x0}),ro(_0x43e9cb,_0x541798,_0x29c156(0x1fa));}function ro(_0x759450,_0x5d3f3a,_0x5b5bfc){const _0x573807=_0x2bb7;let _0x5427c3=0x14;for(;_0x5427c3;){_0x759450[_0x573807(0x1cb)](_0x5d3f3a,{'unit':_0x573807(0x195),'direction':_0x5b5bfc}),_0x5427c3--;const _0x25653d=_0x5d3f3a[_0x573807(0x19f)][_0x573807(0x1da)==_0x5b5bfc?_0x573807(0x1c5):_0x573807(0x1bf)];if(_0x25653d&&_0x25653d['is'](_0x573807(0x19b))&&_0x759450[_0x573807(0x194)][_0x573807(0x1dc)](_0x25653d)&&_0x759450[_0x573807(0x194)][_0x573807(0x1bd)](_0x25653d))break;}}export function _transformMarkersByDeletion(_0x39b9e3,_0x3512ef){const _0x1274d5=_0x2bb7;for(const [_0x281d87,_0x4b4b56]of _0x39b9e3[_0x1274d5(0x1fb)]){const _0x5af574=_0x4b4b56[_0x1274d5(0x199)](_0x3512ef[_0x1274d5(0x1d8)],_0x3512ef[_0x1274d5(0x1c6)][_0x1274d5(0x1b9)]-_0x3512ef[_0x1274d5(0x1d8)][_0x1274d5(0x1b9)]);null!=_0x5af574?_0x39b9e3[_0x1274d5(0x1fb)][_0x1274d5(0x1d1)](_0x281d87,_0x5af574):_0x39b9e3[_0x1274d5(0x1fb)][_0x1274d5(0x1fd)](_0x281d87);}}
|
|
23
|
+
(function(_0x43aafc,_0x48fb4){const _0x4792c5=_0x34cd,_0x43e640=_0x43aafc();while(!![]){try{const _0x286492=parseInt(_0x4792c5(0x6d))/0x1+parseInt(_0x4792c5(0x8a))/0x2*(-parseInt(_0x4792c5(0x8b))/0x3)+-parseInt(_0x4792c5(0x78))/0x4*(parseInt(_0x4792c5(0xc2))/0x5)+-parseInt(_0x4792c5(0xc0))/0x6*(-parseInt(_0x4792c5(0x73))/0x7)+parseInt(_0x4792c5(0x82))/0x8*(parseInt(_0x4792c5(0xa4))/0x9)+parseInt(_0x4792c5(0xcd))/0xa*(parseInt(_0x4792c5(0x76))/0xb)+-parseInt(_0x4792c5(0xd2))/0xc;if(_0x286492===_0x48fb4)break;else _0x43e640['push'](_0x43e640['shift']());}catch(_0x3d58c3){_0x43e640['push'](_0x43e640['shift']());}}}(_0x9f5c,0xe7413));import{findOne as _0x5eeb51,getAttribute as _0x2af3ed,Document as _0x2d5300,serialize as _0x2ca4b8,parse as _0x3a69be}from'./htmlparser.js';import{fixElementSuggestionRange as _0x9f8106}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x4b2f6f,_DetachOperation as _0x1a1daf,_removeFromModelNodeList as _0x4e332a,_insertIntoModelNodeList as _0x2f292d}from'ckeditor5/src/engine.js';import{uid as _0x23b37b}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x55efa4,changeGroups:_0x9e673c,documentContextContent:_0x426427,showDiff:_0x1c81ce,trimUnchanged:_0x5e6f07=!0x0}){const _0x1267be=_0x34cd;return _0x9e673c[_0x1267be(0x90)](_0x532ace=>{const _0x1d62e7=_0x1267be,_0x3b1456=new _0x2d5300([]),_0x4c758e=new _0x2d5300([]);for(const _0x102ff9 of _0x532ace[_0x1d62e7(0x95)])if(_0x1c81ce&&_0x1d62e7(0xba)==_0x102ff9[_0x1d62e7(0xce)]||_0x4c758e[_0x1d62e7(0xaa)][_0x1d62e7(0xe2)](_0x102ff9[_0x1d62e7(0xc7)][_0x1d62e7(0x7d)](!0x0)),_0x1d62e7(0xa6)!=_0x102ff9[_0x1d62e7(0xce)]&&(_0x1c81ce||_0x1d62e7(0xba)!=_0x102ff9[_0x1d62e7(0xce)])){const _0x3b4834=_0x5eeb51(_0x56ff97=>_0x2af3ed(_0x56ff97,_0x1d62e7(0xc4))==_0x102ff9['id'],_0x426427,!0x0);_0x3b4834&&_0x3b1456[_0x1d62e7(0xaa)][_0x1d62e7(0xe2)](_0x3b4834[_0x1d62e7(0x7d)](!0x0));}const {content:_0x522e5c,hasChanges:_0x54ab63}=function(_0x2f6ee9,_0x2826f2,_0x48e5e2,_0x3b7160,_0x4b0030=!0x0){const _0x5a803c=_0x1d62e7,_0x459f10=_0x2f6ee9[_0x5a803c(0x75)][_0x5a803c(0xda)](_0x5a803c(0xd1)),_0xdc7206=_0x2ca4b8(_0x2826f2),_0x41b8a4=_0x2ca4b8(_0x48e5e2),_0x57c502=_0x2f6ee9[_0x5a803c(0xa7)][_0x5a803c(0x7f)](_0xdc7206,_0x5a803c(0x7b)),_0x380371=_0x2f6ee9[_0x5a803c(0x96)][_0x5a803c(0xb7)](_0x57c502,0x0),_0x487a84=_0x459f10[_0x5a803c(0x7e)](_0xdc7206,_0x41b8a4,{'anchor':_0x380371,'markDeletions':_0x3b7160}),_0x4a6398=_0x487a84[_0x5a803c(0x6e)]();if(0x0==_0x4a6398[_0x5a803c(0xd5)])return{'content':_0x2826f2[_0x5a803c(0x7d)](!0x0),'hasChanges':!0x1};_0x3b7160?function(_0x155c06,_0x21dde7,_0x3a89d5){const _0x3938c5=_0x5a803c;if(0x0==_0x155c06[_0x3938c5(0xd5)])return;const _0x70db89=_0x3a89d5[_0x3938c5(0x75)][_0x3938c5(0xda)](_0x3938c5(0xd1)),_0xae5af6=_0x3a89d5[_0x3938c5(0x75)][_0x3938c5(0xda)](_0x3938c5(0x9e));_0x3a89d5[_0x3938c5(0x96)][_0x3938c5(0x89)](_0x370afc=>{const _0x395e60=_0x3938c5,_0x4aa1b5=new Set();for(let _0x168d95=0x0;_0x168d95<_0x155c06[_0x395e60(0xd5)];_0x168d95++){const _0x50ae55=_0x155c06[_0x168d95];if(_0x50ae55[_0x395e60(0xac)]=null,_0x50ae55[_0x395e60(0xc5)]=!0x1,_0x70db89[_0x395e60(0x80)](_0x50ae55)){const _0x336ed1=_0x9f8106(_0x50ae55[_0x395e60(0xb5)],_0x3a89d5[_0x395e60(0x96)]),_0x36d3a3=_0x395e60(0x7a)+_0x23b37b()+_0x395e60(0x97);_0x21dde7[_0x395e60(0xbc)][_0x395e60(0xa9)](_0x36d3a3,_0x336ed1);}else switch(_0x50ae55[_0x395e60(0xce)]){case _0x395e60(0x88):{if(_0x50ae55[_0x395e60(0xb9)]==_0x50ae55[_0x395e60(0xa2)])break;_0x370afc[_0x395e60(0x86)][_0x395e60(0x98)](_0x50ae55),_0x3a89d5[_0x395e60(0x96)][_0x395e60(0xa3)](_0x50ae55);const _0x203450=_0x395e60(0xe0),_0x2b636a=_0x50ae55[_0x395e60(0x6f)],_0x3ca0eb=_0x3a89d5[_0x395e60(0x96)][_0x395e60(0x99)](_0x2b636a,_0x3a89d5[_0x395e60(0x96)][_0x395e60(0xb7)](_0x2b636a[_0x395e60(0x9c)],_0x395e60(0x9a))),_0x29f007=_0x395e60(0x74)+_0x203450+':'+_0x23b37b()+_0x395e60(0x97);_0x21dde7[_0x395e60(0xbc)][_0x395e60(0xa9)](_0x29f007,_0x3ca0eb);break;}case _0x395e60(0x87):case _0x395e60(0x72):case _0x395e60(0x9f):{if(_0x50ae55[_0x395e60(0xcc)]==_0x50ae55[_0x395e60(0xc8)])break;_0x370afc[_0x395e60(0x86)][_0x395e60(0x98)](_0x50ae55),_0x3a89d5[_0x395e60(0x96)][_0x395e60(0xa3)](_0x50ae55);const _0x12277d=_0x50ae55[_0x395e60(0x94)];if(!_0xae5af6[_0x395e60(0xb2)](_0x12277d))break;const _0x4ea6bc=_0x9f8106(_0x50ae55[_0x395e60(0x8f)],_0x3a89d5[_0x395e60(0x96)]),_0x178fe7=_0x395e60(0x74)+_0x12277d+':'+_0x23b37b()+_0x395e60(0x97);_0x21dde7[_0x395e60(0xbc)][_0x395e60(0xa9)](_0x178fe7,_0x4ea6bc);break;}case _0x395e60(0xd9):{_0x370afc[_0x395e60(0x86)][_0x395e60(0x98)](_0x50ae55),_0x3a89d5[_0x395e60(0x96)][_0x395e60(0xa3)](_0x50ae55);if(_0x155c06[_0x168d95+0x1]&&_0x395e60(0xc3)==_0x155c06[_0x168d95+0x1][_0x395e60(0xce)]){no(_0x21dde7,_0x50ae55);break;}const _0x2bfb9f=_0x50ae55[_0x395e60(0x6f)],_0x5b30e5=_0x50ae55[_0x395e60(0xb8)],_0x42a5c5=_0x9f8106(_0x3a89d5[_0x395e60(0x96)][_0x395e60(0x99)](_0x2bfb9f,_0x2bfb9f[_0x395e60(0xd3)](_0x5b30e5)),_0x3a89d5[_0x395e60(0x96)]),_0x1f4e4d=_0x395e60(0xdf)+_0x23b37b()+_0x395e60(0x97);_0x21dde7[_0x395e60(0xbc)][_0x395e60(0xa9)](_0x1f4e4d,_0x42a5c5);break;}case _0x395e60(0x85):{_0x370afc[_0x395e60(0x86)][_0x395e60(0x98)](_0x50ae55),_0x3a89d5[_0x395e60(0x96)][_0x395e60(0xa3)](_0x50ae55);const _0x3d95ff=_0x50ae55[_0x395e60(0xdb)],_0x1d97a4=_0x50ae55[_0x395e60(0xb3)],_0x1e7959=_0x3a89d5[_0x395e60(0x96)][_0x395e60(0x99)](_0x3d95ff,_0x1d97a4),_0xb0543=_0x395e60(0xdf)+_0x23b37b()+_0x395e60(0x97);_0x21dde7[_0x395e60(0xbc)][_0x395e60(0xa9)](_0xb0543,_0x1e7959);break;}case _0x395e60(0xc3):{_0x370afc[_0x395e60(0x86)][_0x395e60(0x98)](_0x50ae55),_0x3a89d5[_0x395e60(0x96)][_0x395e60(0xa3)](_0x50ae55),_0x155c06[_0x168d95-0x1]&&_0x395e60(0xd9)==_0x155c06[_0x168d95-0x1][_0x395e60(0xce)]&&no(_0x21dde7,_0x50ae55);const _0x477be5=_0x50ae55[_0x395e60(0xd8)](),_0x2a6f56=_0x50ae55[_0x395e60(0xb8)];for(let _0x1447c5=0x0;_0x1447c5<_0x2a6f56;_0x1447c5++){const _0x33d349=_0x477be5[_0x395e60(0xd3)](_0x1447c5)[_0x395e60(0x9c)];_0x4aa1b5[_0x395e60(0xb0)](_0x33d349);}break;}case _0x395e60(0xab):{const _0x38e53f=_0x50ae55[_0x395e60(0x83)],_0x79711e=_0x50ae55[_0x395e60(0xb8)],_0xd3f5c7=new _0x1a1daf(_0x38e53f,_0x79711e);_0x370afc[_0x395e60(0x86)][_0x395e60(0x98)](_0xd3f5c7),_0x3a89d5[_0x395e60(0x96)][_0x395e60(0xa3)](_0xd3f5c7);break;}}}for(const _0x1a9508 of _0x4aa1b5){const _0x77930=_0x3a89d5[_0x395e60(0x96)][_0x395e60(0xcb)](_0x1a9508),_0x5c7474=_0x395e60(0x92)+_0x23b37b()+_0x395e60(0x97);_0x21dde7[_0x395e60(0xbc)][_0x395e60(0xa9)](_0x5c7474,_0x9f8106(_0x77930,_0x3a89d5[_0x395e60(0x96)]));}});}(_0x4a6398,_0x57c502,_0x2f6ee9):_0x2f6ee9[_0x5a803c(0x96)][_0x5a803c(0x89)](_0x53febb=>{const _0x1eb071=_0x5a803c;for(const _0x221ae2 of _0x4a6398)if(_0x1eb071(0xab)==_0x221ae2[_0x1eb071(0xce)]){const _0x6c297b=_0x221ae2[_0x1eb071(0x83)],_0x4a4469=_0x221ae2[_0x1eb071(0xb8)],_0x3e7610=new _0x1a1daf(_0x6c297b,_0x4a4469);_0x53febb[_0x1eb071(0x86)][_0x1eb071(0x98)](_0x3e7610),_0x2f6ee9[_0x1eb071(0x96)][_0x1eb071(0xa3)](_0x3e7610);}else{if(_0x1eb071(0xaf)==_0x221ae2[_0x1eb071(0xce)]){const _0xa7eba9=_0x221ae2[_0x1eb071(0xd6)],_0x2fa05c=_0x221ae2[_0x1eb071(0xb5)];null!==_0x2fa05c?_0x57c502[_0x1eb071(0xbc)][_0x1eb071(0xa9)](_0xa7eba9,_0x2fa05c):_0x57c502[_0x1eb071(0xbc)][_0x1eb071(0xc9)](_0xa7eba9);}else _0x221ae2[_0x1eb071(0xac)]=null,_0x221ae2[_0x1eb071(0xc5)]=!0x1,_0x53febb[_0x1eb071(0x86)][_0x1eb071(0x98)](_0x221ae2),_0x2f6ee9[_0x1eb071(0x96)][_0x1eb071(0xa3)](_0x221ae2);}});if(_0x4b0030){const _0x382c02=getMinimalSelection(_0x2f6ee9,_0x4a6398,_0x57c502);expandSelectionWithContext(_0x2f6ee9[_0x5a803c(0x96)],_0x382c02),function(_0x2caca7,_0x5aaf5a){const _0x3dcd34=_0x5a803c,_0x494994=_0x5aaf5a[_0x3dcd34(0xde)]()[_0x3dcd34(0xc6)];let _0x1c7b49=_0x5aaf5a[_0x3dcd34(0xde)]()[_0x3dcd34(0x9a)];const _0x55ebb2=_0x494994[_0x3dcd34(0xa1)];(_0x1c7b49[_0x3dcd34(0xa8)]||_0x1c7b49[_0x3dcd34(0x9c)]&&_0x1c7b49[_0x3dcd34(0x9c)]['is'](_0x3dcd34(0xad)))&&(_0x2f292d(_0x1c7b49,_0x3dcd34(0xd7)),_0x1c7b49=_0x1c7b49[_0x3dcd34(0xd3)](0x3)),(_0x494994[_0x3dcd34(0xa8)]||_0x494994[_0x3dcd34(0xc1)]&&_0x494994[_0x3dcd34(0xc1)]['is'](_0x3dcd34(0xad)))&&(_0x2f292d(_0x494994,_0x3dcd34(0xd7)),function(_0x1fce0b,_0x30c1b1,_0x5107b5){const _0x43b104=_0x3dcd34;for(let [_0x4191f3,_0x269f24]of _0x1fce0b[_0x43b104(0xbc)]){const _0x1ecf51=_0x269f24[_0x43b104(0xca)](_0x30c1b1,_0x5107b5,!0x1);_0x269f24=_0x1ecf51[0x0],_0x1fce0b[_0x43b104(0xbc)][_0x43b104(0xa9)](_0x4191f3,_0x269f24);}}(_0x55ebb2,_0x494994,0x3),_0x494994[_0x3dcd34(0x9b)]==_0x1c7b49[_0x3dcd34(0x9b)]&&(_0x1c7b49=_0x1c7b49[_0x3dcd34(0xd3)](0x3)));const _0x1039b2=_0x2caca7[_0x3dcd34(0x99)](_0x2caca7[_0x3dcd34(0xb7)](_0x55ebb2,0x0),_0x494994),_0x3933db=_0x2caca7[_0x3dcd34(0x99)](_0x1c7b49,_0x2caca7[_0x3dcd34(0xb7)](_0x55ebb2,_0x3dcd34(0x9a))),_0x508141=[..._0x1039b2[_0x3dcd34(0x91)](),..._0x3933db[_0x3dcd34(0x91)]()];_0x508141[_0x3dcd34(0x6c)]();for(const _0x18f0c4 of _0x508141)_0x4e332a(_0x18f0c4),_transformMarkersByDeletion(_0x55ebb2,_0x18f0c4);}(_0x2f6ee9[_0x5a803c(0x96)],_0x382c02);}const _0x318aa5=_0x2f6ee9[_0x5a803c(0xa7)][_0x5a803c(0xb6)](_0x57c502,{'showSuggestionHighlights':!0x0});return{'content':_0x3a69be(_0x318aa5),'hasChanges':!0x0};}(_0x55efa4,_0x3b1456,_0x4c758e,_0x1c81ce,_0x5e6f07);return{'type':_0x532ace[_0x1d62e7(0x95)][0x0][_0x1d62e7(0xce)],'index':_0x532ace[_0x1d62e7(0x81)],'content':_0x522e5c,'hasChanges':_0x54ab63};});}function _0x34cd(_0x29125b,_0x277f44){const _0x9f5c57=_0x9f5c();return _0x34cd=function(_0x34cd2c,_0x1e4c28){_0x34cd2c=_0x34cd2c-0x6c;let _0xdd8909=_0x9f5c57[_0x34cd2c];return _0xdd8909;},_0x34cd(_0x29125b,_0x277f44);}function no(_0x5c7be3,_0x156ea9){const _0x454607=_0x34cd;for(const [_0x573e12,_0x45384e]of _0x5c7be3[_0x454607(0xbc)]){const _0x2996c3=_0x4b2f6f[_0x454607(0x77)](_0x45384e[_0x454607(0xbd)](_0x156ea9));_0x5c7be3[_0x454607(0xbc)][_0x454607(0xa9)](_0x573e12,_0x2996c3);}}export function getMinimalSelection(_0x3c4e19,_0x324969,_0x1b445b){const _0x535826=_0x34cd,_0x5b1abb=_0x3c4e19[_0x535826(0x75)][_0x535826(0xda)](_0x535826(0xd1));let _0x2c9d87=_0x3c4e19[_0x535826(0x96)][_0x535826(0xb7)](_0x1b445b,Number[_0x535826(0xdc)]),_0x36a189=_0x3c4e19[_0x535826(0x96)][_0x535826(0xb7)](_0x1b445b,0x0);for(const _0x3d41bb of _0x324969){let _0x46465f,_0x5adb68;if(_0x5b1abb[_0x535826(0x80)](_0x3d41bb))_0x46465f=_0x3d41bb[_0x535826(0xb5)][_0x535826(0xc6)],_0x5adb68=_0x3d41bb[_0x535826(0xb5)][_0x535826(0x9a)];else switch(_0x2c9d87=_0x2c9d87[_0x535826(0xbd)](_0x3d41bb),_0x36a189=_0x36a189[_0x535826(0xbd)](_0x3d41bb),_0x3d41bb[_0x535826(0xce)]){case _0x535826(0x88):_0x46465f=_0x3d41bb[_0x535826(0x6f)],_0x5adb68=_0x46465f[_0x535826(0xd3)](0x1);break;case _0x535826(0x87):case _0x535826(0x72):case _0x535826(0x9f):_0x46465f=_0x3d41bb[_0x535826(0x8f)][_0x535826(0xc6)],_0x5adb68=_0x3d41bb[_0x535826(0x8f)][_0x535826(0x9a)];break;case _0x535826(0xd9):_0x46465f=_0x3d41bb[_0x535826(0x6f)],_0x5adb68=_0x46465f[_0x535826(0xd3)](_0x3d41bb[_0x535826(0xb8)]);break;case _0x535826(0x85):_0x46465f=_0x3d41bb[_0x535826(0xdb)],_0x5adb68=_0x3d41bb[_0x535826(0xb3)];break;case _0x535826(0x70):{const _0x40db2d=_0x3d41bb[_0x535826(0xa5)][_0x535826(0xd0)][_0x535826(0x7c)](0x0,-0x1);_0x46465f=_0x3c4e19[_0x535826(0x96)][_0x535826(0xdd)](_0x1b445b,_0x40db2d),_0x5adb68=_0x46465f[_0x535826(0xd3)](0x1);break;}case _0x535826(0xab):{const _0xe158a6=_0x3d41bb[_0x535826(0xb8)],_0x39eb74=_0x3d41bb[_0x535826(0x83)][_0x535826(0xca)](_0x3d41bb[_0x535826(0xa5)],_0xe158a6),_0x1649ca=_0x3d41bb[_0x535826(0xd8)]();_0x535826(0xab)==_0x3d41bb[_0x535826(0xce)]?(_0x46465f=_0x39eb74,_0x5adb68=_0x39eb74):(_0x46465f=_0x1649ca,_0x5adb68=_0x1649ca[_0x535826(0xd3)](_0xe158a6));break;}}_0x46465f&&_0x46465f[_0x535826(0xa0)](_0x2c9d87)&&(_0x2c9d87=_0x46465f[_0x535826(0x8e)](),_0x2c9d87[_0x535826(0x8c)]=_0x535826(0x79)),_0x5adb68&&_0x5adb68[_0x535826(0x71)](_0x36a189)&&(_0x36a189=_0x5adb68[_0x535826(0x8e)](),_0x36a189[_0x535826(0x8c)]=_0x535826(0x79));}return _0x3c4e19[_0x535826(0x96)][_0x535826(0xcf)](_0x3c4e19[_0x535826(0x96)][_0x535826(0x99)](_0x2c9d87,_0x36a189));}function _0x9f5c(){const _0x1ceed7=['newName','applyOperation','477WnCfaO','targetPosition','new','data','textNode','set','children','remove','baseVersion','$text','schema','marker','add','isObject','isRegisteredAttribute','moveTargetPosition','forward','newRange','stringify','createPositionAt','howMany','oldName','removed','modifySelection','markers','getTransformedByOperation','backward','element','107412dhGOue','nodeBefore','4066495qcqSzc','move','data-id','isDocumentOperation','start','node','newValue','delete','_getTransformedByInsertion','createRangeOn','oldValue','30Wghvrn','type','createSelection','path','DocumentCompare','30377868GmjVKD','getShiftedBy','offset','length','name','...','getMovedRangeStart','insert','get','splitPosition','POSITIVE_INFINITY','createPositionFromPath','getFirstRange','suggestion:insertion:','$elementName','word','push','reverse','939514IYvdOe','getOperations','position','merge','isAfter','removeAttribute','672OECWcS','suggestion:attribute:','plugins','5624762vSMYNL','_createFromRanges','4astkbZ','toNone','suggestion:deletion:','$root','slice','cloneNode','getDiff','parse','isMarkedRemoveOperation','index','158888aqlLKh','sourcePosition','_getTransformedByDeletion','split','batch','addAttribute','rename','change','1905516DtvDNZ','3jiXKuP','stickiness','setTo','clone','range','map','getMinimalFlatRanges','suggestion:formatBlock:$fakeWrap:','focus','key','changes','model',':$aiSuggestion','addOperation','createRange','end','parent','nodeAfter','isBlock','SuggestionsConversion','changeAttribute','isBefore','root'];_0x9f5c=function(){return _0x1ceed7;};return _0x9f5c();}export function expandSelectionWithContext(_0x12a745,_0x3bbb80){const _0x1a4bc5=_0x34cd;ro(_0x12a745,_0x3bbb80,_0x1a4bc5(0xb4));const _0x27800a=_0x3bbb80[_0x1a4bc5(0xde)]();_0x3bbb80[_0x1a4bc5(0x8d)]([]),_0x3bbb80[_0x1a4bc5(0x8d)](_0x27800a,{'backward':!0x0}),ro(_0x12a745,_0x3bbb80,_0x1a4bc5(0xbe));}function ro(_0x48b9e6,_0x4f60df,_0x1cef88){const _0x421843=_0x34cd;let _0x5e9cf2=0x14;for(;_0x5e9cf2;){_0x48b9e6[_0x421843(0xbb)](_0x4f60df,{'unit':_0x421843(0xe1),'direction':_0x1cef88}),_0x5e9cf2--;const _0x52000d=_0x4f60df[_0x421843(0x93)][_0x421843(0xb4)==_0x1cef88?_0x421843(0xc1):_0x421843(0x9c)];if(_0x52000d&&_0x52000d['is'](_0x421843(0xbf))&&_0x48b9e6[_0x421843(0xae)][_0x421843(0x9d)](_0x52000d)&&_0x48b9e6[_0x421843(0xae)][_0x421843(0xb1)](_0x52000d))break;}}export function _transformMarkersByDeletion(_0x5e18e9,_0x5e7148){const _0x34bdfb=_0x34cd;for(const [_0x46c865,_0x1d0b48]of _0x5e18e9[_0x34bdfb(0xbc)]){const _0x55f4dc=_0x1d0b48[_0x34bdfb(0x84)](_0x5e7148[_0x34bdfb(0xc6)],_0x5e7148[_0x34bdfb(0x9a)][_0x34bdfb(0xd4)]-_0x5e7148[_0x34bdfb(0xc6)][_0x34bdfb(0xd4)]);null!=_0x55f4dc?_0x5e18e9[_0x34bdfb(0xbc)][_0x34bdfb(0xa9)](_0x46c865,_0x55f4dc):_0x5e18e9[_0x34bdfb(0xbc)][_0x34bdfb(0xc9)](_0x46c865);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x391d81,_0x5cf785){const _0x3397ac=_0x1000,_0x2c7085=_0x391d81();while(!![]){try{const _0x2667c9=-parseInt(_0x3397ac(0x203))/0x1*(-parseInt(_0x3397ac(0x1fe))/0x2)+parseInt(_0x3397ac(0x201))/0x3*(parseInt(_0x3397ac(0x1f9))/0x4)+parseInt(_0x3397ac(0x1fd))/0x5*(parseInt(_0x3397ac(0x1fb))/0x6)+parseInt(_0x3397ac(0x1f2))/0x7+parseInt(_0x3397ac(0x1f8))/0x8*(-parseInt(_0x3397ac(0x1f0))/0x9)+-parseInt(_0x3397ac(0x1ed))/0xa+-parseInt(_0x3397ac(0x1f3))/0xb;if(_0x2667c9===_0x5cf785)break;else _0x2c7085['push'](_0x2c7085['shift']());}catch(_0x20b6a6){_0x2c7085['push'](_0x2c7085['shift']());}}}(_0x4e7d,0xb3d0f));import{parseDocument as _0x2bb146}from'htmlparser2';import{append as _0x3693e5,appendChild as _0x19fdb9,find as _0xa9b13e,findAll as _0x3dde98,findOne as _0x54297b,getChildren as _0xe1926b,isComment as _0x2ad9c0,isTag as _0x3ecf71,prepend as _0x44e40,prependChild as _0x179575,removeElement as _0x4d9180,replaceElement as _0x5a8a5b,textContent as _0x82443b,getParent as _0x5ca227,hasChildren as _0x48239c}from'domutils';import _0x47869f from'dom-serializer';import{cloneNode as _0x4b220d,isDocument as _0x451c4e,isText as _0x317879,Element as _0x293f28,Text as _0x45ca2e,Document as _0x2f0e35,NodeWithChildren as _0x5ce385}from'domhandler';export{_0x4b220d as cloneNode,_0xa9b13e as find,_0x54297b as findOne,_0x3dde98 as findAll,_0xe1926b as getChildren,_0x5ca227 as getParent,_0x2ad9c0 as isComment,_0x451c4e as isDocument,_0x3ecf71 as isTag,_0x317879 as isText,_0x3693e5 as append,_0x19fdb9 as appendChild,_0x44e40 as prepend,_0x179575 as prependChild,_0x47869f as render,_0x4d9180 as removeElement,_0x5a8a5b as replaceElement,_0x82443b as textContent,_0x48239c as hasChildren,_0x293f28 as Element,_0x2f0e35 as Document,_0x5ce385 as NodeWithChildren,_0x45ca2e as Text};export function parse(_0x145088){return _0x2bb146(_0x145088);}export function serialize(_0x414fd6){return _0x47869f(_0x414fd6);}export function findByAttribute(_0x146fac,_0xf47821,_0x565c8f){const _0x4c1b52=_0x1000,_0x339478=null!==_0xf47821?_0x2f3743=>_0x2f3743[_0x4c1b52(0x200)][_0x146fac]===_0xf47821:_0x53e578=>Boolean(_0x53e578[_0x4c1b52(0x200)][_0x146fac]);return _0x54297b(_0x3fea67=>_0x3ecf71(_0x3fea67)&&_0x339478(_0x3fea67),_0x565c8f);}export function findAllByAttribute(_0x3e1985,_0x284f70,_0x2e3e4d){const _0x1ec2f9=_0x1000,_0xe28dfd=null!==_0x284f70?_0x2bf8c6=>_0x2bf8c6[_0x1ec2f9(0x200)][_0x3e1985]===_0x284f70:_0x33dbb0=>Boolean(_0x33dbb0[_0x1ec2f9(0x200)][_0x3e1985]);return _0x3dde98(_0x175cf1=>_0x3ecf71(_0x175cf1)&&_0xe28dfd(_0x175cf1),_0x2e3e4d);}export function findAllComments(_0x31321a){return _0xa9b13e(_0x1bc6a2=>_0x2ad9c0(_0x1bc6a2),_0x31321a,!0x0,0x1/0x0);}export function getAttribute(_0x57474a,_0x10e10d){const _0x3c88ac=_0x1000;return _0x57474a&&_0x3ecf71(_0x57474a)?_0x57474a[_0x3c88ac(0x200)][_0x10e10d]:null;}export function setAttribute(_0xb23fcb,_0x1d0bdd,_0x49cf4a){const _0x1ebd05=_0x1000;_0x3ecf71(_0xb23fcb)&&(null===_0x49cf4a?delete _0xb23fcb[_0x1ebd05(0x200)][_0x1d0bdd]:_0xb23fcb[_0x1ebd05(0x200)][_0x1d0bdd]=_0x49cf4a);}export function insertElement(_0x3ffad3,_0x3192e3,_0x58e744){const _0x62adc7=_0x1000,_0x12aac0=_0x3192e3[_0x62adc7(0x1f7)](!0x0);_0x62adc7(0x1eb)===_0x58e744?_0x44e40(_0x3ffad3,_0x12aac0):_0x62adc7(0x1f5)===_0x58e744?_0x179575(_0x3ffad3,_0x12aac0):_0x62adc7(0x1f4)===_0x58e744?_0x19fdb9(_0x3ffad3,_0x12aac0):_0x62adc7(0x1ee)===_0x58e744&&_0x3693e5(_0x3ffad3,_0x12aac0);}export function moveElement(_0x1f8196,_0x1e9022){_0x4d9180(_0x1f8196),_0x5a8a5b(_0x1e9022,_0x1f8196);}export function clone(_0x347b75){const _0xd67c92=_0x1000;return _0x347b75[_0xd67c92(0x1f7)](!0x0);}function _0x4e7d(){const _0x2d88a9=['4675144WbhZzK','152dCrDMt','map','3050988hBaSIP','parentNode','5tOGLnX','469236UYAcQE','nextSibling','attribs','1686HKYfBx','push','4LWGsxs','replace','beforebegin','reverse','5270130NlzgGA','afterend','forEach','9hxMYuD','slice','5917338nxMuYA','5122997lnkliZ','beforeend','afterbegin','indexOf','cloneNode'];_0x4e7d=function(){return _0x2d88a9;};return _0x4e7d();}function _0x1000(_0x338938,_0x59567f){const _0x4e7d7c=_0x4e7d();return _0x1000=function(_0x100085,_0x136f2d){_0x100085=_0x100085-0x1eb;let _0x440dcc=_0x4e7d7c[_0x100085];return _0x440dcc;},_0x1000(_0x338938,_0x59567f);}export function getParents(_0xfe4d4b){const _0x1ec84b=_0x1000,_0x2cf740=[];let _0x473743=_0xfe4d4b;for(;_0x473743;)_0x473743=_0x5ca227(_0x473743),_0x473743&&_0x2cf740[_0x1ec84b(0x202)](_0x473743);return _0x2cf740;}export function normalizeHTML(_0xd90cac){const _0x228047=_0x1000;return _0xd90cac[_0x228047(0x204)](/^\s+/gm,'')[_0x228047(0x204)](/\s+$/gm,'')[_0x228047(0x204)](/\n*/g,'')[_0x228047(0x204)](/\s+/g,'\x20')[_0x228047(0x204)](/>\s*</g,'><');}export function areNodesSame(_0x2635ac,_0x3b7ec8){return normalizeHTML(serialize(_0x2635ac))===normalizeHTML(serialize(_0x3b7ec8));}export function getNodeNestingLevel(_0x40d55b){const _0x5ae03e=_0x1000;let _0x28844e=0x0;for(;_0x40d55b[_0x5ae03e(0x1fc)];)_0x40d55b=_0x40d55b[_0x5ae03e(0x1fc)],_0x28844e++;return _0x28844e;}export function removeElementsAfter(_0x55f0a4){const _0x541cf4=_0x1000,_0x44fcb5=[];let _0x2b3e6d=_0x55f0a4[_0x541cf4(0x1ff)];for(;_0x2b3e6d;)_0x44fcb5[_0x541cf4(0x202)](_0x2b3e6d),_0x2b3e6d=_0x2b3e6d[_0x541cf4(0x1ff)];_0x44fcb5[_0x541cf4(0x1ef)](_0x188684=>{_0x4d9180(_0x188684);});}export function getNodePath(_0x491f88){const _0x444457=_0x1000;return[_0x491f88,...getParents(_0x491f88)][_0x444457(0x1f1)](0x0,-0x1)[_0x444457(0x1fa)](_0x108b02=>{const _0x582df5=_0x444457,_0x2b0ed1=_0x5ca227(_0x108b02);return _0xe1926b(_0x2b0ed1)[_0x582df5(0x1f6)](_0x108b02);})[_0x444457(0x1ec)]();}
|