@ckeditor/ckeditor5-ai 47.4.0-alpha.6 → 47.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/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/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/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/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/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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3f9e(_0x1632a9,_0x347ee3){const _0x45695b=_0x4569();return _0x3f9e=function(_0x3f9ebb,_0x304e8d){_0x3f9ebb=_0x3f9ebb-0x16a;let _0x11f5ff=_0x45695b[_0x3f9ebb];return _0x11f5ff;},_0x3f9e(_0x1632a9,_0x347ee3);}const _0x4b3045=_0x3f9e;(function(_0x211b9b,_0x1c502c){const _0x3b750f=_0x3f9e,_0x1986e4=_0x211b9b();while(!![]){try{const _0x3e65bf=-parseInt(_0x3b750f(0x199))/0x1+-parseInt(_0x3b750f(0x1b9))/0x2+parseInt(_0x3b750f(0x189))/0x3*(parseInt(_0x3b750f(0x1b5))/0x4)+-parseInt(_0x3b750f(0x191))/0x5*(parseInt(_0x3b750f(0x16b))/0x6)+-parseInt(_0x3b750f(0x1d9))/0x7*(parseInt(_0x3b750f(0x190))/0x8)+-parseInt(_0x3b750f(0x16e))/0x9*(parseInt(_0x3b750f(0x17d))/0xa)+-parseInt(_0x3b750f(0x1d3))/0xb*(-parseInt(_0x3b750f(0x170))/0xc);if(_0x3e65bf===_0x1c502c)break;else _0x1986e4['push'](_0x1986e4['shift']());}catch(_0x100537){_0x1986e4['push'](_0x1986e4['shift']());}}}(_0x4569,0x96359));import{uid as _0x5313bd}from'ckeditor5/src/utils.js';import{Plugin as _0xb56180}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x14925b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x26c30a,ViewDataTransfer as _0x325764}from'ckeditor5/src/engine.js';const F=globalThis[_0x4b3045(0x19b)],R=_0x4b3045(0x1b0);export class AIAssistantEditing extends _0xb56180{static get[_0x4b3045(0x1a4)](){const _0x330fbd=_0x4b3045;return _0x330fbd(0x1bc);}static get[_0x4b3045(0x1c2)](){return!0x0;}static get[_0x4b3045(0x1a6)](){return!0x0;}[_0x4b3045(0x1c4)](){const _0x368bc6=_0x4b3045,{editor:_0x1ccae7}=this,_0x2ccd15=[_0x368bc6(0x18d)];_0x1ccae7[_0x368bc6(0x17c)][_0x368bc6(0x1ce)](_0x368bc6(0x183))&&_0x2ccd15[_0x368bc6(0x174)](_0x368bc6(0x19f)),_0x1ccae7[_0x368bc6(0x176)][_0x368bc6(0x18c)](_0x368bc6(0x17b))[_0x368bc6(0x1af)]({'model':R,'view':{'classes':_0x2ccd15,'priority':0xc}}),_0x1ccae7[_0x368bc6(0x176)][_0x368bc6(0x18c)](_0x368bc6(0x17b))[_0x368bc6(0x18b)]({'model':R,'view':(_0x20d86e,{writer:_0x4d27a4})=>{const _0x3232ca=_0x368bc6;if(!_0x20d86e[_0x3232ca(0x1b6)][_0x3232ca(0x1ac)])return null;const _0x46ed4d=_0x4d27a4[_0x3232ca(0x1a8)](_0x3232ca(0x1c0));return _0x4d27a4[_0x3232ca(0x1b4)]([_0x3232ca(0x18d),_0x3232ca(0x19d)],_0x46ed4d),_0x46ed4d;}});}[_0x4b3045(0x18f)](){!async function(_0x5b800d){const _0xeaacf9=_0x3c7237([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x2cb8a1=0x3dffc4e1,_0x121ff0=0x3df8ba29^_0x2cb8a1,_0x4a47e5=window[_0x3c7237([0x44,0x61,0x74,0x65])][_0x3c7237([0x6e,0x6f,0x77])](),_0x76cf77=_0x5b800d[_0x3c7237([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35fa1d=new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x195813=>{_0x76cf77[_0x3c7237([0x6f,0x6e,0x63,0x65])](_0x3c7237([0x72,0x65,0x61,0x64,0x79]),_0x195813);}),_0x4f7881={[_0x3c7237([0x6b,0x74,0x79])]:_0x3c7237([0x45,0x43]),[_0x3c7237([0x75,0x73,0x65])]:_0x3c7237([0x73,0x69,0x67]),[_0x3c7237([0x63,0x72,0x76])]:_0x3c7237([0x50,0x2d,0x32,0x35,0x36]),[_0x3c7237([0x78])]:_0x3c7237([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3c7237([0x79])]:_0x3c7237([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3c7237([0x61,0x6c,0x67])]:_0x3c7237([0x45,0x53,0x32,0x35,0x36])},_0xa3245e=_0x76cf77[_0x3c7237([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c7237([0x67,0x65,0x74])](_0x3c7237([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x372958(){let _0x415c7e,_0x5e5a4e=null,_0x81e446=null;try{if(_0xa3245e==_0x3c7237([0x47,0x50,0x4c]))return _0x3c7237([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x415c7e=_0x5bb8be(),!_0x415c7e)return _0x3c7237([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x415c7e[_0x3c7237([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x81e446=_0x54dc45(_0x415c7e[_0x3c7237([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x415c7e[_0x3c7237([0x6a,0x74,0x69])])),await _0x369be6()?_0x12aff5()?_0x4adfb1()?_0x3c7237([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f81d9()?(_0x415c7e[_0x3c7237([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c7237([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e5a4e=_0x4b768b(_0x3c7237([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24e3f9()):_0x3c7237([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c7237([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c7237([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c7237([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4adfb1(){const _0x3912f5=[_0x3c7237([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c7237([0x74,0x72,0x69,0x61,0x6c])][_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x415c7e[_0x3c7237([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4a47e5/0x3e8:0xe10*_0x121ff0;return _0x415c7e[_0x3c7237([0x65,0x78,0x70])]<_0x3912f5;}function _0x12aff5(){const _0x16114e=_0x415c7e[_0x3c7237([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16114e&&(!!_0x16114e[_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c7237([0x2a]))||!!_0x16114e[_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c7237([0x41,0x49])));}function _0x1f81d9(){const _0x2de128=_0x3f9e,_0x317c40=_0x415c7e[_0x3c7237([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x317c40||0x0==_0x317c40[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31b913}=new URL(window[_0x3c7237([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2de128(0x180)]);if(_0x317c40[_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31b913))return!0x0;const _0x243634=_0x31b913[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])](_0x3c7237([0x2e]));return _0x317c40[_0x3c7237([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x222bf1=>_0x222bf1[_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c7237([0x2a])))[_0x3c7237([0x6d,0x61,0x70])](_0x19498d=>_0x19498d[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])](_0x3c7237([0x2e])))[_0x3c7237([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x279f6e=>_0x279f6e[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x243634[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c7237([0x6d,0x61,0x70])](_0x47f965=>Array(_0x243634[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47f965[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c7237([0x66,0x69,0x6c,0x6c])](_0x47f965[0x0]===_0x3c7237([0x2a])?_0x3c7237([0x2a]):'')[_0x3c7237([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47f965))[_0x3c7237([0x73,0x6f,0x6d,0x65])](_0xfc15d1=>_0x243634[_0x3c7237([0x65,0x76,0x65,0x72,0x79])]((_0x38e006,_0x201579)=>_0xfc15d1[_0x201579]===_0x38e006||_0xfc15d1[_0x201579]===_0x3c7237([0x2a])));}function _0x24e3f9(){return _0x5e5a4e&&_0x81e446?new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51909e,_0x4997e3)=>{_0x5e5a4e[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x51909e,_0x4997e3),_0x81e446[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x3e1da5=>{_0x3e1da5!=_0x3c7237([0x56,0x61,0x6c,0x69,0x64])&&_0x51909e(_0x3e1da5);},_0x4997e3);}):_0x5e5a4e||_0x81e446||_0x3c7237([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54dc45(_0x102b10,_0x4849ba){return new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2820a7=>{if(_0x4b1180())return _0x2820a7(_0x3c7237([0x56,0x61,0x6c,0x69,0x64]));_0x3fcbd3(),_0x76cf77[_0x3c7237([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c7237([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e97d0=!0x1;const _0x3b9155=_0x5313bd();function _0xe76504(_0x40deb4){return!!_0x40deb4&&(typeof _0x40deb4===_0x3c7237([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40deb4===_0x3c7237([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40deb4[_0x3c7237([0x74,0x68,0x65,0x6e])]===_0x3c7237([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40deb4[_0x3c7237([0x63,0x61,0x74,0x63,0x68])]===_0x3c7237([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ebd22(_0x6b01cc){_0x532d97(_0x6b01cc)[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x4dc35f=>{if(!_0x4dc35f||_0x4dc35f[_0x3c7237([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c7237([0x6f,0x6b]))return _0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x519d1c(_0x5b7ba7(_0x3b9155+_0x4849ba))!=_0x4dc35f[_0x3c7237([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c7237([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x8ab207=>(_0x2467c7(),_0x8ab207),()=>{const _0x550721=_0x217f25();return null==_0x550721?(_0x2467c7(),_0x3c7237([0x56,0x61,0x6c,0x69,0x64])):_0x3c7237(_0x4a47e5-_0x550721>(0x19f340e1^_0x2cb8a1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x2820a7)[_0x3c7237([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2820a7(_0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x355d1f=0x3dc92a61^_0x2cb8a1;function _0x2467c7(){const _0x50faff=_0x3c7237([0x6c,0x6c,0x63,0x74,0x2d])+_0x519d1c(_0x5b7ba7(_0x102b10)),_0x5c0f5a=_0x52402d(_0x519d1c(window[_0x3c7237([0x4d,0x61,0x74,0x68])][_0x3c7237([0x63,0x65,0x69,0x6c])](_0x4a47e5/_0x355d1f)));window[_0x3c7237([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c7237([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50faff,_0x5c0f5a);}function _0x217f25(){const _0x4b26f1=_0x3c7237([0x6c,0x6c,0x63,0x74,0x2d])+_0x519d1c(_0x5b7ba7(_0x102b10)),_0x3dce49=window[_0x3c7237([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c7237([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b26f1);return _0x3dce49?window[_0x3c7237([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52402d(_0x3dce49),0x10)*_0x355d1f:null;}function _0x532d97(_0x3e73dc){return new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2884f3,_0x58bef0)=>{_0x3e73dc[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x2884f3,_0x58bef0),window[_0x3c7237([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58bef0,0x3dfe1021^_0x2cb8a1);});}}_0x76cf77[_0x3c7237([0x6f,0x6e])](_0x3c7237([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fe8b6,_0x550990)=>{if(_0x550990[0x0]!=_0x102b10)return _0x2820a7(_0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x550990[0x1]={..._0x550990[0x1],[_0x3c7237([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b9155};},{[_0x3c7237([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c7237([0x68,0x69,0x67,0x68])}),_0x76cf77[_0x3c7237([0x6f,0x6e])](_0x3c7237([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26f747=>{_0xe76504(_0x26f747[_0x3c7237([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e97d0=!0x0,_0x3ebd22(_0x26f747[_0x3c7237([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c7237([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c7237([0x6c,0x6f,0x77])}),_0x35fa1d[_0x3c7237([0x74,0x68,0x65,0x6e])](()=>{_0x1e97d0||_0x2820a7(_0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b1180(){return _0x76cf77[_0x3c7237([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c7237([0x76,0x69,0x65,0x77])][_0x3c7237([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c7237([0x61,0x75,0x74,0x6f]);}function _0x3fcbd3(){_0x76cf77[_0x3c7237([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c7237([0x76,0x69,0x65,0x77])][_0x3c7237([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c7237([0x61,0x75,0x74,0x6f]);}}function _0x4b768b(_0x2f33bf){const _0x1c5714=[new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40a862=>setTimeout(_0x40a862,0x3df6fa2d^_0x2cb8a1)),_0x35fa1d[_0x3c7237([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c902f=>{let _0x463b1c=0x0;_0x76cf77[_0x3c7237([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c7237([0x6f,0x6e])](_0x3c7237([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52e19c,_0x55eb3b)=>{_0x55eb3b[0x0][_0x3c7237([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x463b1c++,_0x463b1c==(0x3dffc109^_0x2cb8a1)&&(_0x5c902f(),_0x52e19c[_0x3c7237([0x6f,0x66,0x66])]());});}))];return window[_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c7237([0x72,0x61,0x63,0x65])](_0x1c5714)[_0x3c7237([0x74,0x68,0x65,0x6e])](()=>_0x2f33bf);}async function _0x1afbf3(){await _0x35fa1d,_0x76cf77[_0x3c7237([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c7237([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3eb646,_0x76cf77[_0x3c7237([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c7237([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3eb646,_0x76cf77[_0x3c7237([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c7237([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a6744(_0x511c53){const _0x46b95f=_0x4707a9();_0x76cf77[_0x46b95f]=_0x3c7237([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x511c53,_0x511c53!=_0x3c7237([0x56,0x61,0x6c,0x69,0x64])&&_0x1afbf3();}function _0x4707a9(){const _0x2f1f24=window[_0x3c7237([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c7237([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c7237([0x6e,0x6f,0x77])]())[_0x3c7237([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c7237([0x2e]),'');let _0x4c39d9=_0x3c7237([0x6e]);for(let _0x4ceacd=0x0;_0x4ceacd<_0x2f1f24[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ceacd+=0x2){let _0xc95f13=window[_0x3c7237([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f1f24[_0x3c7237([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ceacd,_0x4ceacd+0x2));_0xc95f13>=_0xeaacf9[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc95f13-=_0xeaacf9[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c39d9+=_0xeaacf9[_0xc95f13];}return _0x4c39d9;}function _0x5bb8be(){const _0x561935=_0xa3245e[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])](_0x3c7237([0x2e]));if(0x3!=_0x561935[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f2f04(_0x561935[0x1]);function _0x1f2f04(_0x26fa5f){const _0x55bd11=_0x316698(_0x26fa5f);return _0x55bd11&&_0x8f0728()?_0x55bd11:null;function _0x8f0728(){const _0x3707b2=_0x55bd11[_0x3c7237([0x6a,0x74,0x69])],_0x49b7bf=window[_0x3c7237([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3707b2[_0x3c7237([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3707b2[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x131d3b={..._0x55bd11,[_0x3c7237([0x6a,0x74,0x69])]:_0x3707b2[_0x3c7237([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3707b2[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x131d3b[_0x3c7237([0x76,0x63])],_0x5b7ba7(_0x131d3b)==_0x49b7bf;}}}async function _0x369be6(){let _0x378021=!0x0;try{const _0x5d0df3=_0xa3245e[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])](_0x3c7237([0x2e])),[_0x1e0364,_0xb2ac6,_0x40c3fd]=_0x5d0df3;return _0x20c406(_0x1e0364),await _0x5c5d5d(_0x1e0364,_0xb2ac6,_0x40c3fd),_0x378021;}catch{return!0x1;}function _0x20c406(_0x370014){const _0x51edc7=_0x316698(_0x370014);_0x51edc7&&_0x51edc7[_0x3c7237([0x61,0x6c,0x67])]==_0x3c7237([0x45,0x53,0x32,0x35,0x36])||(_0x378021=!0x1);}async function _0x5c5d5d(_0x3bd780,_0x523748,_0x1c5d8b){const _0x4cc306=window[_0x3c7237([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c7237([0x66,0x72,0x6f,0x6d])](_0x1e8b80(_0x1c5d8b),_0x3f75ba=>_0x3f75ba[_0x3c7237([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x314f0e=new window[(_0x3c7237([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c7237([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bd780+_0x3c7237([0x2e])+_0x523748),_0x160e98=window[_0x3c7237([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c7237([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x160e98)return;const _0x5cff34=await _0x160e98[_0x3c7237([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c7237([0x6a,0x77,0x6b]),_0x4f7881,{[_0x3c7237([0x6e,0x61,0x6d,0x65])]:_0x3c7237([0x45,0x43,0x44,0x53,0x41]),[_0x3c7237([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c7237([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c7237([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x160e98[_0x3c7237([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c7237([0x6e,0x61,0x6d,0x65])]:_0x3c7237([0x45,0x43,0x44,0x53,0x41]),[_0x3c7237([0x68,0x61,0x73,0x68])]:{[_0x3c7237([0x6e,0x61,0x6d,0x65])]:_0x3c7237([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cff34,_0x4cc306,_0x314f0e)||(_0x378021=!0x1);}}function _0x316698(_0x30a593){return _0x30a593[_0x3c7237([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c7237([0x65,0x79]))?JSON[_0x3c7237([0x70,0x61,0x72,0x73,0x65])](_0x1e8b80(_0x30a593)):null;}function _0x1e8b80(_0x18157b){return window[_0x3c7237([0x61,0x74,0x6f,0x62])](_0x18157b[_0x3c7237([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c7237([0x2b]))[_0x3c7237([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c7237([0x2f])));}function _0x5b7ba7(_0x27939e){let _0x20fc58=0x1505;function _0x3f47cb(_0x1f124e){for(let _0xffceb4=0x0;_0xffceb4<_0x1f124e[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xffceb4++){const _0x4b8483=_0x1f124e[_0x3c7237([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xffceb4);_0x20fc58=(_0x20fc58<<0x5)+_0x20fc58+_0x4b8483,_0x20fc58&=_0x20fc58;}}function _0x417be9(_0x33db13){Array[_0x3c7237([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33db13)?_0x33db13[_0x3c7237([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x417be9):_0x33db13&&typeof _0x33db13==_0x3c7237([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c7237([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33db13)[_0x3c7237([0x73,0x6f,0x72,0x74])]()[_0x3c7237([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x117bc9,_0x2aa494])=>{_0x3f47cb(_0x117bc9),_0x417be9(_0x2aa494);}):_0x3f47cb(window[_0x3c7237([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33db13));}return _0x417be9(_0x27939e),_0x20fc58>>>0x0;}function _0x519d1c(_0x2d99ee){return _0x2d99ee[_0x3c7237([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c7237([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c7237([0x30]));}function _0x52402d(_0x392ecb){return _0x392ecb[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c7237([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c7237([0x6a,0x6f,0x69,0x6e])]('');}function _0x3eb646(){}function _0x3c7237(_0x21bedb){const _0x26d2a0=_0x3f9e;return _0x21bedb[_0x26d2a0(0x17a)](_0x41d6f2=>String[_0x26d2a0(0x179)](_0x41d6f2))[_0x26d2a0(0x1bd)]('');}_0x2a6744(await _0x372958());}(this);}[_0x4b3045(0x18a)](){const _0x2b5b78=_0x4b3045,_0x4d86ec=this[_0x2b5b78(0x19e)][_0x2b5b78(0x181)];_0x4d86ec[_0x2b5b78(0x178)](_0x116bdf=>{const _0x35877a=_0x2b5b78,_0x4dbb38=_0x4d86ec[_0x35877a(0x1b3)][_0x35877a(0x173)][_0x35877a(0x1c9)]();let _0x170612=0x0;for(const _0x366bdb of _0x4dbb38){const _0x1d011d=R+':'+_0x170612;if(_0x4d86ec[_0x35877a(0x188)][_0x35877a(0x192)](_0x1d011d))_0x116bdf[_0x35877a(0x1a2)](_0x1d011d,{'range':_0x366bdb});else{if(_0x366bdb[_0x35877a(0x175)][_0x35877a(0x17f)]){const _0x32b311=_0x366bdb[_0x35877a(0x175)][_0x35877a(0x187)](({item:_0x1385c9})=>!_0x4d86ec[_0x35877a(0x1c3)][_0x35877a(0x1b8)](_0x1385c9),{'boundaries':_0x366bdb});_0x116bdf[_0x35877a(0x1a1)](_0x1d011d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x116bdf[_0x35877a(0x1ad)](_0x32b311,_0x366bdb[_0x35877a(0x182)])});}else _0x116bdf[_0x35877a(0x1a1)](_0x1d011d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x366bdb});}_0x170612++;}});}[_0x4b3045(0x186)](){const _0x383d19=_0x4b3045,_0x458be8=this[_0x383d19(0x19e)][_0x383d19(0x181)],_0x373254=Array[_0x383d19(0x16a)](this[_0x383d19(0x19e)][_0x383d19(0x181)][_0x383d19(0x188)][_0x383d19(0x194)](R));_0x373254[_0x383d19(0x1bf)]&&_0x458be8[_0x383d19(0x178)](_0x381ae6=>{const _0x453755=_0x383d19;_0x373254[_0x453755(0x177)](_0x3b0fe1=>{const _0x568579=_0x453755;_0x381ae6[_0x568579(0x1ab)](_0x3b0fe1);});});}[_0x4b3045(0x1c6)](_0x316e7b,_0xc170b5){const _0x259362=_0x4b3045,_0x160ea7=this[_0x259362(0x1b2)](),_0x2122f2=_0xc170b5||_0x160ea7[_0x259362(0x1d7)]();this[_0x259362(0x19e)][_0x259362(0x181)][_0x259362(0x1bb)](_0x2122f2)&&this[_0x259362(0x19e)][_0x259362(0x181)][_0x259362(0x178)](_0x21885e=>{const _0x4734c0=_0x259362;this[_0x4734c0(0x186)](),_0xc170b5||this[_0x4734c0(0x1be)](_0x21885e,_0x160ea7),this[_0x4734c0(0x16c)]({'insertAt':_0x2122f2,'writer':_0x21885e,'html':_0x316e7b});});}[_0x4b3045(0x19a)](_0x15d85d){const _0x5a37c3=_0x4b3045,{model:_0x335196}=this[_0x5a37c3(0x19e)],_0x5dc765=this[_0x5a37c3(0x1b2)]();_0x335196[_0x5a37c3(0x178)](()=>{const _0x4ce64b=_0x5a37c3,_0x2edfe8=this[_0x4ce64b(0x1c5)](_0x15d85d,_0x5dc765)||this[_0x4ce64b(0x196)](_0x5dc765);this[_0x4ce64b(0x1c6)](_0x15d85d,_0x2edfe8);});}[_0x4b3045(0x1b2)](){const _0x15c6b9=_0x4b3045,_0x20b875=this[_0x15c6b9(0x19e)][_0x15c6b9(0x181)],_0x1cc1e7=Array[_0x15c6b9(0x16a)](_0x20b875[_0x15c6b9(0x188)][_0x15c6b9(0x194)](R))[_0x15c6b9(0x17a)](_0x248974=>_0x248974[_0x15c6b9(0x1d2)]());return _0x20b875[_0x15c6b9(0x1c7)](_0x1cc1e7);}[_0x4b3045(0x16c)]({writer:_0x1b6593,html:_0x4ac0c9,insertAt:_0xd36e88}){const _0x574fbd=_0x4b3045,{view:_0x15cf66}=this[_0x574fbd(0x19e)][_0x574fbd(0x185)],_0x57d1f4=this[_0x574fbd(0x19e)][_0x574fbd(0x1a3)][_0x574fbd(0x1ce)](_0x14925b),_0x144d60=new F();_0x144d60[_0x574fbd(0x198)](_0x574fbd(0x171),_0x4ac0c9);const _0x2327a8=new ClipboardEvent(_0x574fbd(0x1a5),{'clipboardData':_0x144d60}),_0x5c0511=new _0x26c30a(_0x15cf66,_0x2327a8,{'dataTransfer':new _0x325764(_0x144d60)});_0x1b6593[_0x574fbd(0x1aa)](_0xd36e88);const _0x3825a6=(_0x1d47ce,_0x1f2e0a)=>{const _0x5989a8=_0x574fbd;_0x1f2e0a[_0x5989a8(0x1c8)]&&_0x1b6593[_0x5989a8(0x1aa)](_0x1f2e0a[_0x5989a8(0x1c8)]);};_0x57d1f4[_0x574fbd(0x1a9)](_0x574fbd(0x1d1),_0x3825a6,{'priority':_0x574fbd(0x1ca)}),_0x15cf66[_0x574fbd(0x1b3)][_0x574fbd(0x1cc)](_0x574fbd(0x1a5),_0x5c0511),_0x57d1f4[_0x574fbd(0x1d4)](_0x574fbd(0x1d1),_0x3825a6);}[_0x4b3045(0x196)](_0x3f2d39){const _0x7aa430=_0x4b3045,{model:_0x428d67}=this[_0x7aa430(0x19e)],_0xe778ec=Array[_0x7aa430(0x16a)](_0x3f2d39[_0x7aa430(0x1cd)]());return _0xe778ec[_0x7aa430(0x1bf)]?_0x428d67[_0x7aa430(0x1a7)](_0xe778ec[_0x7aa430(0x195)]()):_0x3f2d39[_0x7aa430(0x18e)]();}[_0x4b3045(0x1c5)](_0x5011d1,_0x4d7160){const _0x2d94af=_0x4b3045,{model:_0x45ccb7,plugins:_0x2c2768}=this[_0x2d94af(0x19e)];if(_0x2c2768[_0x2d94af(0x192)](_0x2d94af(0x197))){const _0x55d482=_0x2c2768[_0x2d94af(0x1ce)](_0x2d94af(0x197))[_0x2d94af(0x1c1)](_0x4d7160);if(_0x55d482[_0x2d94af(0x1bf)]){const _0x583df2=this[_0x2d94af(0x1d8)](_0x5011d1),_0x5144a5=this[_0x2d94af(0x1b1)](_0x55d482,_0x583df2);return _0x45ccb7[_0x2d94af(0x16f)](_0x5144a5,0x0);}}return null;}[_0x4b3045(0x1d8)](_0xd4c463){const _0x42e532=_0x4b3045,_0x31d7c1=this[_0x42e532(0x19e)][_0x42e532(0x1a3)][_0x42e532(0x1ce)](_0x42e532(0x197)),_0x41b7bd=this[_0x42e532(0x19e)][_0x42e532(0x1d5)][_0x42e532(0x19c)](_0xd4c463),_0x339984=Array[_0x42e532(0x16a)](_0x41b7bd[_0x42e532(0x1cb)]())[_0x42e532(0x1ba)](_0xffd345=>_0xffd345['is'](_0x42e532(0x1ae),_0x42e532(0x1cf)));let _0x2c7a53=0x0;return _0x339984[_0x42e532(0x177)](_0x3e1fe9=>{const _0x431ca6=_0x42e532;_0x2c7a53+=_0x31d7c1[_0x431ca6(0x193)](_0x3e1fe9);}),_0x2c7a53;}[_0x4b3045(0x1b1)](_0x3fab9a,_0x1800a4){const _0x46ba49=_0x4b3045,_0x360b00=this[_0x46ba49(0x19e)][_0x46ba49(0x1a3)][_0x46ba49(0x1ce)](_0x46ba49(0x197)),_0x4b6c96=_0x360b00[_0x46ba49(0x172)](_0x3fab9a),_0x5f333c=_0x360b00[_0x46ba49(0x17e)](_0x3fab9a),_0x2be40e=_0x4b6c96[_0x46ba49(0x1a0)]+0x1,_0x54ce03=_0x5f333c[_0x46ba49(0x16d)],_0x5f081a=_0x3fab9a[0x0][_0x46ba49(0x184)](_0x46ba49(0x1cf));for(let _0x404bbf=0x0;_0x404bbf<_0x1800a4;_0x404bbf++)_0x360b00[_0x46ba49(0x1d6)](_0x5f081a,{'at':_0x2be40e});return _0x5f081a[_0x46ba49(0x1b7)](_0x2be40e)[_0x46ba49(0x1b7)](_0x54ce03);}[_0x4b3045(0x1be)](_0x59b077,_0x2adcda){const _0x49b610=_0x4b3045,{plugins:_0x394e61}=this[_0x49b610(0x19e)],{model:_0x37ec46}=_0x59b077;if(!_0x394e61[_0x49b610(0x192)](_0x49b610(0x197)))return;_0x394e61[_0x49b610(0x1ce)](_0x49b610(0x197))[_0x49b610(0x1c1)](_0x2adcda)[_0x49b610(0x1bf)]&&_0x37ec46[_0x49b610(0x1d0)](_0x2adcda);}}function _0x4569(){const _0x341c34=['createPositionAfter','createUIElement','once','setSelection','removeMarker','isCollapsed','createRange','element','markerToHighlight','ai-ui','_createEmptyTableRows','_getAISelection','document','addClass','76304DolOSJ','markerRange','getChild','isContent','2097100NFEevs','filter','canEditAt','AIAssistantEditing','join','_resetContentOfSelectedTableCells','length','span','getSelectedTableCells','isOfficialPlugin','schema','init','_prepareTableInsertBelowPosition','insertContent','createSelection','resultRange','getRanges','lowest','getChildren','fire','getSelectedBlocks','get','table','deleteContent','contentInsertion','getRange','1804iNLUsu','off','data','insertRows','getFirstRange','_getTableRowCountFromContent','84ifCjHJ','from','2008284QHWaLU','_pasteHTMLUsingClipboard','first','153ZaGgqZ','createPositionAt','318036BoCefQ','text/html','getRowIndexes','selection','push','start','conversion','forEach','change','fromCharCode','map','editingDowncast','config','623730dgyRRE','getColumnIndexes','isAtEnd','href','model','end','ai.assistant.useTheme','findAncestor','editing','hideFakeVisualSelection','getLastMatchingPosition','markers','114nVftbQ','showFakeVisualSelection','markerToElement','for','ck-fake-ai-selection','getLastPosition','afterInit','740632aevGnU','5Vyprgl','has','getRows','getMarkersGroup','pop','_getDefaultInsertBelowPosition','TableUtils','setData','901570aCUDbh','insertContentBelow','DataTransfer','parse','ck-fake-ai-selection_collapsed','editor','ck-ai-assistant-ui_theme','last','addMarker','updateMarker','plugins','pluginName','paste','isPremiumPlugin'];_0x4569=function(){return _0x341c34;};return _0x4569();}
|
|
23
|
+
const _0x4a357c=_0x3487;(function(_0x541148,_0x2e9999){const _0x3ba5d2=_0x3487,_0x3fea02=_0x541148();while(!![]){try{const _0x1d8409=-parseInt(_0x3ba5d2(0xb4))/0x1+parseInt(_0x3ba5d2(0x85))/0x2+-parseInt(_0x3ba5d2(0x88))/0x3*(-parseInt(_0x3ba5d2(0xed))/0x4)+parseInt(_0x3ba5d2(0x8d))/0x5*(parseInt(_0x3ba5d2(0xb6))/0x6)+parseInt(_0x3ba5d2(0xa4))/0x7+parseInt(_0x3ba5d2(0xcf))/0x8+parseInt(_0x3ba5d2(0xa3))/0x9*(-parseInt(_0x3ba5d2(0xe9))/0xa);if(_0x1d8409===_0x2e9999)break;else _0x3fea02['push'](_0x3fea02['shift']());}catch(_0x558055){_0x3fea02['push'](_0x3fea02['shift']());}}}(_0x5b0c,0x778e6));import{uid as _0x5087ba}from'ckeditor5/src/utils.js';function _0x3487(_0x377c2f,_0x5a3afb){const _0x5b0c79=_0x5b0c();return _0x3487=function(_0x3487f7,_0x210aab){_0x3487f7=_0x3487f7-0x81;let _0x4b58e3=_0x5b0c79[_0x3487f7];return _0x4b58e3;},_0x3487(_0x377c2f,_0x5a3afb);}import{Plugin as _0x5d4d4f}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xd50888}from'ckeditor5/src/clipboard.js';function _0x5b0c(){const _0x490388=['ck-fake-ai-selection','isPremiumPlugin','push','for','createRange','ck-ai-assistant-ui_theme','getRanges','markerToHighlight','isAtEnd','off','getLastPosition','_getAISelection','markerRange','ai-ui','first','createSelection','markerToElement','ck-fake-ai-selection_collapsed','_getTableRowCountFromContent','5906940UAsVPX','getRowIndexes','getRows','once','396aMzbyV','getLastMatchingPosition','editingDowncast','data','deleteContent','has','730710vRGptH','ai.assistant.useTheme','map','16980kmVQjd','schema','insertContentBelow','AIAssistantEditing','hideFakeVisualSelection','1124415xKeKnl','addMarker','editor','forEach','createPositionAfter','markers','getMarkersGroup','table','addClass','init','insertRows','filter','get','lowest','setData','getRange','conversion','TableUtils','_createEmptyTableRows','pluginName','change','fromCharCode','18OsMyFZ','2879492zMzWge','isOfficialPlugin','setSelection','insertContent','getColumnIndexes','paste','afterInit','resultRange','canEditAt','getSelectedTableCells','selection','_getDefaultInsertBelowPosition','from','config','getFirstRange','href','368168RZOUUC','getChildren','18JqMUqb','findAncestor','isContent','contentInsertion','pop','showFakeVisualSelection','end','_resetContentOfSelectedTableCells','_prepareTableInsertBelowPosition','join','createPositionAt','document','createUIElement','_pasteHTMLUsingClipboard','isCollapsed','removeMarker','editing','last','start','span','element','length','fire','parse','updateMarker','220464DztPjJ','plugins','getSelectedBlocks','text/html','model','DataTransfer','getChild'];_0x5b0c=function(){return _0x490388;};return _0x5b0c();}import{ViewDocumentDomEventData as _0x38f421,ViewDataTransfer as _0x341d72}from'ckeditor5/src/engine.js';const pt=globalThis[_0x4a357c(0xd4)],gt=_0x4a357c(0xe3);export class AIAssistantEditing extends _0x5d4d4f{static get[_0x4a357c(0xa0)](){const _0x135a12=_0x4a357c;return _0x135a12(0x8b);}static get[_0x4a357c(0xa5)](){return!0x0;}static get[_0x4a357c(0xd7)](){return!0x0;}[_0x4a357c(0x96)](){const _0x50e25b=_0x4a357c,{editor:_0x3c702d}=this,_0x2be7a8=[_0x50e25b(0xd6)];_0x3c702d[_0x50e25b(0xb1)][_0x50e25b(0x99)](_0x50e25b(0x86))&&_0x2be7a8[_0x50e25b(0xd8)](_0x50e25b(0xdb)),_0x3c702d[_0x50e25b(0x9d)][_0x50e25b(0xd9)](_0x50e25b(0x81))[_0x50e25b(0xdd)]({'model':gt,'view':{'classes':_0x2be7a8,'priority':0xc}}),_0x3c702d[_0x50e25b(0x9d)][_0x50e25b(0xd9)](_0x50e25b(0x81))[_0x50e25b(0xe6)]({'model':gt,'view':(_0x2ac201,{writer:_0x28f6ac})=>{const _0x1952ba=_0x50e25b;if(!_0x2ac201[_0x1952ba(0xe2)][_0x1952ba(0xc4)])return null;const _0x4723a3=_0x28f6ac[_0x1952ba(0xc2)](_0x1952ba(0xc9));return _0x28f6ac[_0x1952ba(0x95)]([_0x1952ba(0xd6),_0x1952ba(0xe7)],_0x4723a3),_0x4723a3;}});}[_0x4a357c(0xaa)](){!async function(_0x784022){const _0x4da313=_0x4a0883([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x26be3e=0x3dffc4e1,_0x1ba75d=0x3df8ba29^_0x26be3e,_0x435fd6=window[_0x4a0883([0x44,0x61,0x74,0x65])][_0x4a0883([0x6e,0x6f,0x77])](),_0x310622=_0x784022[_0x4a0883([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a30e3=new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23b241=>{_0x310622[_0x4a0883([0x6f,0x6e,0x63,0x65])](_0x4a0883([0x72,0x65,0x61,0x64,0x79]),_0x23b241);}),_0x244079={[_0x4a0883([0x6b,0x74,0x79])]:_0x4a0883([0x45,0x43]),[_0x4a0883([0x75,0x73,0x65])]:_0x4a0883([0x73,0x69,0x67]),[_0x4a0883([0x63,0x72,0x76])]:_0x4a0883([0x50,0x2d,0x32,0x35,0x36]),[_0x4a0883([0x78])]:_0x4a0883([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4a0883([0x79])]:_0x4a0883([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4a0883([0x61,0x6c,0x67])]:_0x4a0883([0x45,0x53,0x32,0x35,0x36])},_0x5fcb8b=_0x310622[_0x4a0883([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a0883([0x67,0x65,0x74])](_0x4a0883([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5707dc(){let _0x8db9e0,_0x26c1db=null,_0x5b4b27=null;try{if(_0x5fcb8b==_0x4a0883([0x47,0x50,0x4c]))return _0x4a0883([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8db9e0=_0x443aea(),!_0x8db9e0)return _0x4a0883([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8db9e0[_0x4a0883([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b4b27=_0x443ac0(_0x8db9e0[_0x4a0883([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8db9e0[_0x4a0883([0x6a,0x74,0x69])])),await _0x1d399e()?_0x458996()?_0x2cb08b()?_0x4a0883([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7c46ca()?(_0x8db9e0[_0x4a0883([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a0883([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26c1db=_0x49460c(_0x4a0883([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x27d7c8()):_0x4a0883([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a0883([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a0883([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a0883([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2cb08b(){const _0x2f7672=[_0x4a0883([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a0883([0x74,0x72,0x69,0x61,0x6c])][_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8db9e0[_0x4a0883([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x435fd6/0x3e8:0xe10*_0x1ba75d;return _0x8db9e0[_0x4a0883([0x65,0x78,0x70])]<_0x2f7672;}function _0x458996(){const _0x121d7f=_0x8db9e0[_0x4a0883([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x121d7f&&(!!_0x121d7f[_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0883([0x2a]))||!!_0x121d7f[_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0883([0x41,0x49])));}function _0x7c46ca(){const _0x49855d=_0x3487,_0x38f376=_0x8db9e0[_0x4a0883([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38f376||0x0==_0x38f376[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf74b5}=new URL(window[_0x4a0883([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x49855d(0xb3)]);if(_0x38f376[_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf74b5))return!0x0;const _0x365608=_0xf74b5[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])](_0x4a0883([0x2e]));return _0x38f376[_0x4a0883([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x113653=>_0x113653[_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0883([0x2a])))[_0x4a0883([0x6d,0x61,0x70])](_0x265596=>_0x265596[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])](_0x4a0883([0x2e])))[_0x4a0883([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1185e6=>_0x1185e6[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x365608[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a0883([0x6d,0x61,0x70])](_0xfaa462=>Array(_0x365608[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xfaa462[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a0883([0x66,0x69,0x6c,0x6c])](_0xfaa462[0x0]===_0x4a0883([0x2a])?_0x4a0883([0x2a]):'')[_0x4a0883([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xfaa462))[_0x4a0883([0x73,0x6f,0x6d,0x65])](_0x376c5f=>_0x365608[_0x4a0883([0x65,0x76,0x65,0x72,0x79])]((_0x53fadb,_0x49d986)=>_0x376c5f[_0x49d986]===_0x53fadb||_0x376c5f[_0x49d986]===_0x4a0883([0x2a])));}function _0x27d7c8(){return _0x26c1db&&_0x5b4b27?new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51364e,_0x2eb044)=>{_0x26c1db[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x51364e,_0x2eb044),_0x5b4b27[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x3963aa=>{_0x3963aa!=_0x4a0883([0x56,0x61,0x6c,0x69,0x64])&&_0x51364e(_0x3963aa);},_0x2eb044);}):_0x26c1db||_0x5b4b27||_0x4a0883([0x56,0x61,0x6c,0x69,0x64]);}}function _0x443ac0(_0x42d368,_0x50bd20){return new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46a3e5=>{if(_0x408acb())return _0x46a3e5(_0x4a0883([0x56,0x61,0x6c,0x69,0x64]));_0x2a8be0(),_0x310622[_0x4a0883([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a0883([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b4eee=!0x1;const _0x570113=_0x5087ba();function _0x39f858(_0x2b78c2){return!!_0x2b78c2&&(typeof _0x2b78c2===_0x4a0883([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b78c2===_0x4a0883([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b78c2[_0x4a0883([0x74,0x68,0x65,0x6e])]===_0x4a0883([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b78c2[_0x4a0883([0x63,0x61,0x74,0x63,0x68])]===_0x4a0883([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a0a6f(_0x55a6c2){_0x4483d0(_0x55a6c2)[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x1ea396=>{if(!_0x1ea396||_0x1ea396[_0x4a0883([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a0883([0x6f,0x6b]))return _0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ffa59(_0x151ece(_0x570113+_0x50bd20))!=_0x1ea396[_0x4a0883([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a0883([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x3ebeaa=>(_0x2dd513(),_0x3ebeaa),()=>{const _0x134078=_0x2cecd9();return null==_0x134078?(_0x2dd513(),_0x4a0883([0x56,0x61,0x6c,0x69,0x64])):_0x4a0883(_0x435fd6-_0x134078>(0x19f340e1^_0x26be3e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x46a3e5)[_0x4a0883([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46a3e5(_0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31fe9b=0x3dc92a61^_0x26be3e;function _0x2dd513(){const _0x2c5276=_0x4a0883([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ffa59(_0x151ece(_0x42d368)),_0x208579=_0x283cfd(_0x1ffa59(window[_0x4a0883([0x4d,0x61,0x74,0x68])][_0x4a0883([0x63,0x65,0x69,0x6c])](_0x435fd6/_0x31fe9b)));window[_0x4a0883([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a0883([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c5276,_0x208579);}function _0x2cecd9(){const _0x18201d=_0x4a0883([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ffa59(_0x151ece(_0x42d368)),_0x101bb6=window[_0x4a0883([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a0883([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18201d);return _0x101bb6?window[_0x4a0883([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x283cfd(_0x101bb6),0x10)*_0x31fe9b:null;}function _0x4483d0(_0xca14f1){return new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bef77,_0x56dc29)=>{_0xca14f1[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x1bef77,_0x56dc29),window[_0x4a0883([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x56dc29,0x3dfe1021^_0x26be3e);});}}_0x310622[_0x4a0883([0x6f,0x6e])](_0x4a0883([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x265c99,_0x373484)=>{if(_0x373484[0x0]!=_0x42d368)return _0x46a3e5(_0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x373484[0x1]={..._0x373484[0x1],[_0x4a0883([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x570113};},{[_0x4a0883([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a0883([0x68,0x69,0x67,0x68])}),_0x310622[_0x4a0883([0x6f,0x6e])](_0x4a0883([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x651d3f=>{_0x39f858(_0x651d3f[_0x4a0883([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b4eee=!0x0,_0x5a0a6f(_0x651d3f[_0x4a0883([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a0883([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a0883([0x6c,0x6f,0x77])}),_0x4a30e3[_0x4a0883([0x74,0x68,0x65,0x6e])](()=>{_0x1b4eee||_0x46a3e5(_0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x408acb(){return _0x310622[_0x4a0883([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a0883([0x76,0x69,0x65,0x77])][_0x4a0883([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a0883([0x61,0x75,0x74,0x6f]);}function _0x2a8be0(){_0x310622[_0x4a0883([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a0883([0x76,0x69,0x65,0x77])][_0x4a0883([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a0883([0x61,0x75,0x74,0x6f]);}}function _0x49460c(_0x43325c){const _0x2b567f=[new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x174707=>setTimeout(_0x174707,0x3df6fa2d^_0x26be3e)),_0x4a30e3[_0x4a0883([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17d924=>{let _0x2e7368=0x0;_0x310622[_0x4a0883([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a0883([0x6f,0x6e])](_0x4a0883([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x255a8e,_0x5b11ce)=>{_0x5b11ce[0x0][_0x4a0883([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e7368++,_0x2e7368==(0x3dffc109^_0x26be3e)&&(_0x17d924(),_0x255a8e[_0x4a0883([0x6f,0x66,0x66])]());});}))];return window[_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a0883([0x72,0x61,0x63,0x65])](_0x2b567f)[_0x4a0883([0x74,0x68,0x65,0x6e])](()=>_0x43325c);}async function _0x313039(){await _0x4a30e3,_0x310622[_0x4a0883([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a0883([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7941bc,_0x310622[_0x4a0883([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a0883([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7941bc,_0x310622[_0x4a0883([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a0883([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2122e4(_0x4bc437){const _0x4c4c70=_0x32b2a7();_0x310622[_0x4c4c70]=_0x4a0883([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4bc437,_0x4bc437!=_0x4a0883([0x56,0x61,0x6c,0x69,0x64])&&_0x313039();}function _0x32b2a7(){const _0x3963ba=window[_0x4a0883([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a0883([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a0883([0x6e,0x6f,0x77])]())[_0x4a0883([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a0883([0x2e]),'');let _0x52d432=_0x4a0883([0x6e]);for(let _0x30a67a=0x0;_0x30a67a<_0x3963ba[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30a67a+=0x2){let _0x7e1f3=window[_0x4a0883([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3963ba[_0x4a0883([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30a67a,_0x30a67a+0x2));_0x7e1f3>=_0x4da313[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7e1f3-=_0x4da313[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52d432+=_0x4da313[_0x7e1f3];}return _0x52d432;}function _0x443aea(){const _0x43535a=_0x5fcb8b[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])](_0x4a0883([0x2e]));if(0x3!=_0x43535a[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c1d43(_0x43535a[0x1]);function _0x2c1d43(_0x239218){const _0x574462=_0x6144b2(_0x239218);return _0x574462&&_0x159be2()?_0x574462:null;function _0x159be2(){const _0x414aa4=_0x574462[_0x4a0883([0x6a,0x74,0x69])],_0x21e96a=window[_0x4a0883([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x414aa4[_0x4a0883([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x414aa4[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59fc8e={..._0x574462,[_0x4a0883([0x6a,0x74,0x69])]:_0x414aa4[_0x4a0883([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x414aa4[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59fc8e[_0x4a0883([0x76,0x63])],_0x151ece(_0x59fc8e)==_0x21e96a;}}}async function _0x1d399e(){let _0x76cf2b=!0x0;try{const _0x53f6db=_0x5fcb8b[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])](_0x4a0883([0x2e])),[_0x48bda7,_0x2c1d95,_0x5a8902]=_0x53f6db;return _0x7c3679(_0x48bda7),await _0xbf480b(_0x48bda7,_0x2c1d95,_0x5a8902),_0x76cf2b;}catch{return!0x1;}function _0x7c3679(_0x22b956){const _0x495fc1=_0x6144b2(_0x22b956);_0x495fc1&&_0x495fc1[_0x4a0883([0x61,0x6c,0x67])]==_0x4a0883([0x45,0x53,0x32,0x35,0x36])||(_0x76cf2b=!0x1);}async function _0xbf480b(_0x3e61f0,_0x1181a7,_0x18a666){const _0x19dd2d=window[_0x4a0883([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a0883([0x66,0x72,0x6f,0x6d])](_0x2dc251(_0x18a666),_0x478f6e=>_0x478f6e[_0x4a0883([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3fb682=new window[(_0x4a0883([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a0883([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e61f0+_0x4a0883([0x2e])+_0x1181a7),_0x47de43=window[_0x4a0883([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a0883([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47de43)return;const _0x3c67bd=await _0x47de43[_0x4a0883([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a0883([0x6a,0x77,0x6b]),_0x244079,{[_0x4a0883([0x6e,0x61,0x6d,0x65])]:_0x4a0883([0x45,0x43,0x44,0x53,0x41]),[_0x4a0883([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a0883([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a0883([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47de43[_0x4a0883([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a0883([0x6e,0x61,0x6d,0x65])]:_0x4a0883([0x45,0x43,0x44,0x53,0x41]),[_0x4a0883([0x68,0x61,0x73,0x68])]:{[_0x4a0883([0x6e,0x61,0x6d,0x65])]:_0x4a0883([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c67bd,_0x19dd2d,_0x3fb682)||(_0x76cf2b=!0x1);}}function _0x6144b2(_0x12e08f){return _0x12e08f[_0x4a0883([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a0883([0x65,0x79]))?JSON[_0x4a0883([0x70,0x61,0x72,0x73,0x65])](_0x2dc251(_0x12e08f)):null;}function _0x2dc251(_0x5c333f){return window[_0x4a0883([0x61,0x74,0x6f,0x62])](_0x5c333f[_0x4a0883([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a0883([0x2b]))[_0x4a0883([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a0883([0x2f])));}function _0x151ece(_0x475b43){let _0x41765e=0x1505;function _0x5b273b(_0x543a35){for(let _0x2e1644=0x0;_0x2e1644<_0x543a35[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e1644++){const _0x33cecf=_0x543a35[_0x4a0883([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e1644);_0x41765e=(_0x41765e<<0x5)+_0x41765e+_0x33cecf,_0x41765e&=_0x41765e;}}function _0x5664b8(_0x1618f9){Array[_0x4a0883([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1618f9)?_0x1618f9[_0x4a0883([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5664b8):_0x1618f9&&typeof _0x1618f9==_0x4a0883([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a0883([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1618f9)[_0x4a0883([0x73,0x6f,0x72,0x74])]()[_0x4a0883([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1744f2,_0x1835d4])=>{_0x5b273b(_0x1744f2),_0x5664b8(_0x1835d4);}):_0x5b273b(window[_0x4a0883([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1618f9));}return _0x5664b8(_0x475b43),_0x41765e>>>0x0;}function _0x1ffa59(_0xf73c76){return _0xf73c76[_0x4a0883([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a0883([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a0883([0x30]));}function _0x283cfd(_0x9c5fe3){return _0x9c5fe3[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a0883([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a0883([0x6a,0x6f,0x69,0x6e])]('');}function _0x7941bc(){}function _0x4a0883(_0x47bf1d){const _0x2d9cb0=_0x3487;return _0x47bf1d[_0x2d9cb0(0x87)](_0x41f1a5=>String[_0x2d9cb0(0xa2)](_0x41f1a5))[_0x2d9cb0(0xbf)]('');}_0x2122e4(await _0x5707dc());}(this);}[_0x4a357c(0xbb)](){const _0x32bd32=_0x4a357c,_0x4f5fbc=this[_0x32bd32(0x8f)][_0x32bd32(0xd3)];_0x4f5fbc[_0x32bd32(0xa1)](_0x41d3aa=>{const _0x2eaab6=_0x32bd32,_0x3e9b06=_0x4f5fbc[_0x2eaab6(0xc1)][_0x2eaab6(0xae)][_0x2eaab6(0xdc)]();let _0x2e323f=0x0;for(const _0x19062e of _0x3e9b06){const _0x12aac9=gt+':'+_0x2e323f;if(_0x4f5fbc[_0x2eaab6(0x92)][_0x2eaab6(0x84)](_0x12aac9))_0x41d3aa[_0x2eaab6(0xce)](_0x12aac9,{'range':_0x19062e});else{if(_0x19062e[_0x2eaab6(0xc8)][_0x2eaab6(0xde)]){const _0xa56d00=_0x19062e[_0x2eaab6(0xc8)][_0x2eaab6(0xee)](({item:_0x18b2af})=>!_0x4f5fbc[_0x2eaab6(0x89)][_0x2eaab6(0xb8)](_0x18b2af),{'boundaries':_0x19062e});_0x41d3aa[_0x2eaab6(0x8e)](_0x12aac9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x41d3aa[_0x2eaab6(0xda)](_0xa56d00,_0x19062e[_0x2eaab6(0xbc)])});}else _0x41d3aa[_0x2eaab6(0x8e)](_0x12aac9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x19062e});}_0x2e323f++;}});}[_0x4a357c(0x8c)](){const _0x5b6c91=_0x4a357c,_0x3aef55=this[_0x5b6c91(0x8f)][_0x5b6c91(0xd3)],_0x5e78e3=Array[_0x5b6c91(0xb0)](this[_0x5b6c91(0x8f)][_0x5b6c91(0xd3)][_0x5b6c91(0x92)][_0x5b6c91(0x93)](gt));_0x5e78e3[_0x5b6c91(0xcb)]&&_0x3aef55[_0x5b6c91(0xa1)](_0x5e7d95=>{const _0x544ec5=_0x5b6c91;_0x5e78e3[_0x544ec5(0x90)](_0x5f2f04=>{const _0x43c449=_0x544ec5;_0x5e7d95[_0x43c449(0xc5)](_0x5f2f04);});});}[_0x4a357c(0xa7)](_0x234dc9,_0x3d11fc){const _0x26b73d=_0x4a357c,_0x409424=this[_0x26b73d(0xe1)](),_0x317796=_0x3d11fc||_0x409424[_0x26b73d(0xb2)]();this[_0x26b73d(0x8f)][_0x26b73d(0xd3)][_0x26b73d(0xac)](_0x317796)&&this[_0x26b73d(0x8f)][_0x26b73d(0xd3)][_0x26b73d(0xa1)](_0x3867de=>{const _0x385552=_0x26b73d;this[_0x385552(0x8c)](),_0x3d11fc||this[_0x385552(0xbd)](_0x3867de,_0x409424),this[_0x385552(0xc3)]({'insertAt':_0x317796,'writer':_0x3867de,'html':_0x234dc9});});}[_0x4a357c(0x8a)](_0x420908){const _0x305a16=_0x4a357c,{model:_0x390f96}=this[_0x305a16(0x8f)],_0x18c1bb=this[_0x305a16(0xe1)]();_0x390f96[_0x305a16(0xa1)](()=>{const _0x52dbcf=_0x305a16,_0x2e20dd=this[_0x52dbcf(0xbe)](_0x420908,_0x18c1bb)||this[_0x52dbcf(0xaf)](_0x18c1bb);this[_0x52dbcf(0xa7)](_0x420908,_0x2e20dd);});}[_0x4a357c(0xe1)](){const _0x1070f1=_0x4a357c,_0x27b776=this[_0x1070f1(0x8f)][_0x1070f1(0xd3)],_0x523ba3=Array[_0x1070f1(0xb0)](_0x27b776[_0x1070f1(0x92)][_0x1070f1(0x93)](gt))[_0x1070f1(0x87)](_0x56597d=>_0x56597d[_0x1070f1(0x9c)]());return _0x27b776[_0x1070f1(0xe5)](_0x523ba3);}[_0x4a357c(0xc3)]({writer:_0x44a535,html:_0x36af5a,insertAt:_0x7f517b}){const _0x379184=_0x4a357c,{view:_0x2031bf}=this[_0x379184(0x8f)][_0x379184(0xc6)],_0x667276=this[_0x379184(0x8f)][_0x379184(0xd0)][_0x379184(0x99)](_0xd50888),_0x4adacf=new pt();_0x4adacf[_0x379184(0x9b)](_0x379184(0xd2),_0x36af5a);const _0x2dd1b2=new ClipboardEvent(_0x379184(0xa9),{'clipboardData':_0x4adacf}),_0x17d25b=new _0x38f421(_0x2031bf,_0x2dd1b2,{'dataTransfer':new _0x341d72(_0x4adacf)});_0x44a535[_0x379184(0xa6)](_0x7f517b);const _0x24539f=(_0x1a9fce,_0x400bd3)=>{const _0x381d38=_0x379184;_0x400bd3[_0x381d38(0xab)]&&_0x44a535[_0x381d38(0xa6)](_0x400bd3[_0x381d38(0xab)]);};_0x667276[_0x379184(0xec)](_0x379184(0xb9),_0x24539f,{'priority':_0x379184(0x9a)}),_0x2031bf[_0x379184(0xc1)][_0x379184(0xcc)](_0x379184(0xa9),_0x17d25b),_0x667276[_0x379184(0xdf)](_0x379184(0xb9),_0x24539f);}[_0x4a357c(0xaf)](_0x32d223){const _0x230223=_0x4a357c,{model:_0x309f39}=this[_0x230223(0x8f)],_0x11cb12=Array[_0x230223(0xb0)](_0x32d223[_0x230223(0xd1)]());return _0x11cb12[_0x230223(0xcb)]?_0x309f39[_0x230223(0x91)](_0x11cb12[_0x230223(0xba)]()):_0x32d223[_0x230223(0xe0)]();}[_0x4a357c(0xbe)](_0x3dafd3,_0x115955){const _0x1b40ee=_0x4a357c,{model:_0x2ee5f4,plugins:_0x3862ab}=this[_0x1b40ee(0x8f)];if(_0x3862ab[_0x1b40ee(0x84)](_0x1b40ee(0x9e))){const _0x47deaf=_0x3862ab[_0x1b40ee(0x99)](_0x1b40ee(0x9e))[_0x1b40ee(0xad)](_0x115955);if(_0x47deaf[_0x1b40ee(0xcb)]){const _0x57f39c=this[_0x1b40ee(0xe8)](_0x3dafd3),_0x480b71=this[_0x1b40ee(0x9f)](_0x47deaf,_0x57f39c);return _0x2ee5f4[_0x1b40ee(0xc0)](_0x480b71,0x0);}}return null;}[_0x4a357c(0xe8)](_0x3ec658){const _0x43c704=_0x4a357c,_0x32d9e5=this[_0x43c704(0x8f)][_0x43c704(0xd0)][_0x43c704(0x99)](_0x43c704(0x9e)),_0x5cdd48=this[_0x43c704(0x8f)][_0x43c704(0x82)][_0x43c704(0xcd)](_0x3ec658),_0x44e68b=Array[_0x43c704(0xb0)](_0x5cdd48[_0x43c704(0xb5)]())[_0x43c704(0x98)](_0x117a1a=>_0x117a1a['is'](_0x43c704(0xca),_0x43c704(0x94)));let _0x5e4ea9=0x0;return _0x44e68b[_0x43c704(0x90)](_0x5a8925=>{const _0x5079f3=_0x43c704;_0x5e4ea9+=_0x32d9e5[_0x5079f3(0xeb)](_0x5a8925);}),_0x5e4ea9;}[_0x4a357c(0x9f)](_0x17fd1f,_0x3c48e8){const _0x7fce81=_0x4a357c,_0x2a1157=this[_0x7fce81(0x8f)][_0x7fce81(0xd0)][_0x7fce81(0x99)](_0x7fce81(0x9e)),_0x4490fb=_0x2a1157[_0x7fce81(0xea)](_0x17fd1f),_0x21bdbf=_0x2a1157[_0x7fce81(0xa8)](_0x17fd1f),_0x3af96f=_0x4490fb[_0x7fce81(0xc7)]+0x1,_0xdb4f70=_0x21bdbf[_0x7fce81(0xe4)],_0x4ad207=_0x17fd1f[0x0][_0x7fce81(0xb7)](_0x7fce81(0x94));for(let _0x5ca5e0=0x0;_0x5ca5e0<_0x3c48e8;_0x5ca5e0++)_0x2a1157[_0x7fce81(0x97)](_0x4ad207,{'at':_0x3af96f});return _0x4ad207[_0x7fce81(0xd5)](_0x3af96f)[_0x7fce81(0xd5)](_0xdb4f70);}[_0x4a357c(0xbd)](_0x1f9a1d,_0x466d98){const _0x41cb6f=_0x4a357c,{plugins:_0x4a12f7}=this[_0x41cb6f(0x8f)],{model:_0x16e9dc}=_0x1f9a1d;if(!_0x4a12f7[_0x41cb6f(0x84)](_0x41cb6f(0x9e)))return;_0x4a12f7[_0x41cb6f(0x99)](_0x41cb6f(0x9e))[_0x41cb6f(0xad)](_0x466d98)[_0x41cb6f(0xcb)]&&_0x16e9dc[_0x41cb6f(0x83)](_0x466d98);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a2545=_0x546e;(function(_0x162ba5,_0x3a71ee){const _0x3dd6a6=_0x546e,_0x2fa717=_0x162ba5();while(!![]){try{const _0x30b15f=-parseInt(_0x3dd6a6(0x138))/0x1+-parseInt(_0x3dd6a6(0x113))/0x2+parseInt(_0x3dd6a6(0x11f))/0x3+parseInt(_0x3dd6a6(0x17d))/0x4*(parseInt(_0x3dd6a6(0x14c))/0x5)+-parseInt(_0x3dd6a6(0x156))/0x6*(-parseInt(_0x3dd6a6(0x145))/0x7)+-parseInt(_0x3dd6a6(0x17f))/0x8*(parseInt(_0x3dd6a6(0x162))/0x9)+parseInt(_0x3dd6a6(0x14a))/0xa;if(_0x30b15f===_0x3a71ee)break;else _0x2fa717['push'](_0x2fa717['shift']());}catch(_0x4f6325){_0x2fa717['push'](_0x2fa717['shift']());}}}(_0x1c57,0xee635));import{Plugin as _0x428b59}from'ckeditor5/src/core.js';import{IconMagicWand as _0x81f00f,IconRobotPencil as _0xc5441f}from'ckeditor5/src/icons.js';import{first as _0x133307,CKEditorError as _0x33aad4}from'ckeditor5/src/utils.js';import{createDropdown as _0xea978c,addMenuToDropdown as _0x3fe67e,ButtonView as _0x4cbc90,MenuBarMenuListItemButtonView as _0x3d1b22,Dialog as _0x12e81f,DialogViewPosition as _0x6a1971,MenuBarMenuView as _0x3cf044,MenuBarMenuListView as _0x3b5b8f,MenuBarMenuListItemView as _0x26dc31}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x22e29a,UNGROUPED_COMMANDS_GROUP_ID as _0x308c66}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1f618c}from'./aiassistantediting.js';import{AIAdapter as _0x5bbe6f}from'./adapters/aiadapter.js';import{getTranslation as _0x1f6b2c}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1dd1cb}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x2c7ec4}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x4136db}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x92e5e9}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const F=globalThis[_0x2a2545(0x173)];import{ClipboardMarkersUtils as _0x3d7775}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3243b8,ViewDataTransfer as _0x4e1509}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x428b59{[_0x2a2545(0x147)];[_0x2a2545(0x175)];[_0x2a2545(0x142)];[_0x2a2545(0x159)];[_0x2a2545(0x153)];[_0x2a2545(0x129)];[_0x2a2545(0x151)]='';static get[_0x2a2545(0x1ab)](){const _0xe5831d=_0x2a2545;return _0xe5831d(0x179);}static get[_0x2a2545(0x183)](){return!0x0;}static get[_0x2a2545(0x15b)](){return!0x0;}static get[_0x2a2545(0x161)](){return[_0x3d7775,_0x1f618c,_0x5bbe6f,_0x12e81f];}constructor(_0x6fa23c){const _0x174464=_0x2a2545;super(_0x6fa23c),_0x6fa23c[_0x174464(0x104)][_0x174464(0x14e)](_0x174464(0x10e),[_0x174464(0x137),_0x174464(0x165),_0x174464(0x16f)]),_0x6fa23c[_0x174464(0x104)][_0x174464(0x14e)](_0x174464(0x11a),''),_0x6fa23c[_0x174464(0x104)][_0x174464(0x14e)](_0x174464(0x18d),!0x0),this[_0x174464(0x151)]=_0x174464(0x176)+(_0x6fa23c[_0x174464(0x104)][_0x174464(0x1a8)](_0x174464(0x18d))?_0x174464(0x135):'');}[_0x2a2545(0x18f)](){const _0x55f7ec=_0x2a2545,{editor:_0x26a737}=this;this[_0x55f7ec(0x153)]=_0x26a737[_0x55f7ec(0x14b)][_0x55f7ec(0x1a8)](_0x5bbe6f),this[_0x55f7ec(0x142)]=_0x26a737[_0x55f7ec(0x14b)][_0x55f7ec(0x1a8)](_0x12e81f),this[_0x55f7ec(0x159)]=null,this[_0x55f7ec(0x110)]=this[_0x55f7ec(0x19c)]();const _0x535fc9=new _0x1dd1cb(_0x26a737,Array[_0x55f7ec(0x169)](this[_0x55f7ec(0x110)][_0x55f7ec(0x149)]()));_0x26a737[_0x55f7ec(0x172)][_0x55f7ec(0x126)](_0x55f7ec(0x11d),_0x535fc9),_0x26a737['ui'][_0x55f7ec(0x188)][_0x55f7ec(0x126)](_0x55f7ec(0x157),_0x57e94f=>{const _0x4dd97d=_0x55f7ec,_0x3afdc2=_0xea978c(_0x57e94f);return _0x3afdc2[_0x4dd97d(0x155)]({'class':_0x4dd97d(0x14f)+this[_0x4dd97d(0x151)]}),_0x3afdc2[_0x4dd97d(0x163)][_0x4dd97d(0x155)]({'label':_0x1f6b2c(_0x57e94f,_0x4dd97d(0x19d)),'icon':_0x81f00f,'tooltip':!0x0}),_0x3afdc2['on'](_0x4dd97d(0x192),_0x414048=>this[_0x4dd97d(0x18b)](_0x414048[_0x4dd97d(0x15e)]['id'])),_0x3fe67e(_0x3afdc2,_0x26a737['ui'][_0x4dd97d(0x18e)][_0x4dd97d(0x101)],function(_0x22662a){const _0x1d6770=_0x4dd97d,_0x39e491=_0x22e29a(_0x22662a[_0x1d6770(0x104)][_0x1d6770(0x1a8)](_0x1d6770(0x130)),_0x22662a[_0x1d6770(0x181)]),_0x1d0976=ei(_0x22662a,_0x39e491)[_0x1d6770(0x14d)](_0x29fc74=>_0x29fc74[_0x1d6770(0x172)][_0x1d6770(0x1a2)]);if(0x1===_0x1d0976[_0x1d6770(0x1a2)])return ei(_0x22662a,_0x1d0976[0x0][_0x1d6770(0x172)])[_0x1d6770(0x12f)](_0x1bb938=>({'id':_0x1bb938['id'],'label':_0x1bb938[_0x1d6770(0x122)]}));return _0x1d0976[_0x1d6770(0x12f)](_0x1c5144=>{const _0x3deb21=_0x1d6770,{groupId:_0x3fdec7,groupLabel:_0x30372b,commands:_0x424d17}=_0x1c5144,_0x10d11a=ei(_0x22662a,_0x424d17)[_0x3deb21(0x12f)](_0x47aa44=>({'id':_0x47aa44['id'],'label':_0x47aa44[_0x3deb21(0x122)]}));return{'id':_0x3fdec7,'menu':_0x30372b||_0x3fdec7,'children':_0x10d11a};});}(_0x26a737),{'ariaLabel':_0x1f6b2c(_0x57e94f,_0x4dd97d(0x19d))}),_0x3afdc2[_0x4dd97d(0x115)][_0x4dd97d(0x1a1)]=_0x4dd97d(0x14f)+this[_0x4dd97d(0x151)],_0x535fc9['on'](_0x4dd97d(0x10d),_0x238a4f),_0x3afdc2[_0x4dd97d(0x115)][_0x4dd97d(0x193)](_0x4dd97d(0x13d),_0x238a4f),_0x3afdc2;function _0x238a4f(){const _0x5bb915=_0x4dd97d;_0x3afdc2[_0x5bb915(0x174)]=_0x535fc9[_0x5bb915(0x19b)][_0x5bb915(0x1a2)]>0x0;for(const _0x4a298a of _0x3afdc2[_0x5bb915(0x115)][_0x5bb915(0x116)])_0x4a298a[_0x5bb915(0x174)]=_0x535fc9[_0x5bb915(0x19b)][_0x5bb915(0x166)](_0x4a298a['id']);}}),_0x26a737['ui'][_0x55f7ec(0x188)][_0x55f7ec(0x126)](_0x55f7ec(0x132),_0xffe34b=>{const _0x3828a0=_0x55f7ec,_0x5ef1bc=new _0x3cf044(_0xffe34b);_0x5ef1bc[_0x3828a0(0x163)][_0x3828a0(0x155)]({'label':_0x1f6b2c(_0xffe34b,_0x3828a0(0x19d)),'icon':_0x81f00f}),_0x5ef1bc[_0x3828a0(0x171)](_0x3828a0(0x174))['to'](_0x535fc9,_0x3828a0(0x19b),_0x429a08=>_0x429a08[_0x3828a0(0x1a2)]>0x0);const _0x1bfa48=_0x22e29a(_0x26a737[_0x3828a0(0x104)][_0x3828a0(0x1a8)](_0x3828a0(0x130)),_0xffe34b);return this[_0x3828a0(0x103)](_0x535fc9,_0x5ef1bc,_0x1bfa48,_0x1c5945=>this[_0x3828a0(0x18b)](_0x1c5945)),_0x5ef1bc;}),_0x26a737['ui'][_0x55f7ec(0x188)][_0x55f7ec(0x126)](_0x55f7ec(0x136),()=>{const _0x33d0f2=_0x55f7ec,_0x2c98bb=this[_0x33d0f2(0x168)](_0x4cbc90);return _0x2c98bb[_0x33d0f2(0x155)]({'tooltip':!0x0,'class':_0x33d0f2(0x16d)+this[_0x33d0f2(0x151)]}),_0x2c98bb;}),_0x26a737['ui'][_0x55f7ec(0x188)][_0x55f7ec(0x126)](_0x55f7ec(0x16a),()=>{const _0x12e205=_0x55f7ec,_0x2e1847=this[_0x12e205(0x168)](_0x3d1b22);return _0x2e1847[_0x12e205(0x155)]({'role':_0x12e205(0x187)}),_0x2e1847;}),this[_0x55f7ec(0x147)]=this[_0x55f7ec(0x10c)][_0x55f7ec(0x104)][_0x55f7ec(0x1a8)](_0x55f7ec(0x147));const _0x305d52=this[_0x55f7ec(0x10c)];this[_0x55f7ec(0x175)]=setInterval(()=>{const _0x211048=_0x55f7ec;let _0x9fb4f2;for(const _0x4c56d9 in _0x305d52){const _0x3c20c7=_0x4c56d9,_0x5742d0=_0x305d52[_0x3c20c7];if(_0x211048(0x186)==_0x5742d0||_0x211048(0x12c)==_0x5742d0||_0x211048(0x154)==_0x5742d0||_0x211048(0x11c)==_0x5742d0||_0x211048(0x109)==_0x5742d0||_0x211048(0x180)==_0x5742d0||_0x211048(0x19a)==_0x5742d0){delete _0x305d52[_0x3c20c7],_0x9fb4f2=_0x5742d0,clearInterval(this[_0x211048(0x175)]),this[_0x211048(0x175)]=void 0x0;break;}}_0x211048(0x12c)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x10b)),_0x211048(0x154)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x121)),_0x211048(0x11c)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x19f)),_0x211048(0x109)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x111),_0x211048(0x13e)),_0x211048(0x180)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x124)),_0x211048(0x19a)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x17b));},0x3e8);}[_0x2a2545(0x106)](){const _0x329c8a=_0x2a2545;super[_0x329c8a(0x106)](),this[_0x329c8a(0x175)]&&clearInterval(this[_0x329c8a(0x175)]);}[_0x2a2545(0x102)](_0x44da7e='',_0x573ed1='',_0x10a93a=_0x2a2545(0x13f)){const _0xb2004b=_0x2a2545,_0x2623d7=this[_0xb2004b(0x10c)],_0x68cc37=_0x2623d7[_0xb2004b(0x1a3)][_0xb2004b(0x18e)],_0x440aaf=_0x2623d7[_0xb2004b(0x14b)][_0xb2004b(0x1a8)](_0x1f618c),_0x30580f=_0x2623d7[_0xb2004b(0x14b)][_0xb2004b(0x1a8)](_0x3d7775);_0x440aaf[_0xb2004b(0x16c)]();const _0x9455bf=new F(),_0x3b347a=new ClipboardEvent(_0xb2004b(0x125),{'clipboardData':_0x9455bf}),_0x389dce=new _0x4e1509(_0x9455bf),_0x25fe5f=new _0x3243b8(_0x68cc37,_0x3b347a,{'dataTransfer':_0x389dce});_0x30580f[_0xb2004b(0x139)](_0xb2004b(0x140),()=>{const _0x45cf84=_0xb2004b;_0x68cc37[_0x45cf84(0x12a)][_0x45cf84(0x16b)](_0x45cf84(0x125),_0x25fe5f);}),this[_0xb2004b(0x159)]||(this[_0xb2004b(0x11e)](),this[_0xb2004b(0x129)]=new _0x2c7ec4(_0x2623d7,this[_0xb2004b(0x153)][_0xb2004b(0x17c)],this[_0xb2004b(0x159)]));let _0x16268b=_0x389dce[_0xb2004b(0x120)](_0xb2004b(0x158));const _0x4d04f6=_0x2623d7[_0xb2004b(0x13a)][_0xb2004b(0x12a)][_0xb2004b(0x189)],_0x588ab8=Array[_0xb2004b(0x169)](_0x4d04f6[_0xb2004b(0x12d)]());0x1===_0x588ab8[_0xb2004b(0x1a2)]&&_0x588ab8[0x0][_0xb2004b(0x15a)]&&!_0x4d04f6[_0xb2004b(0x10a)]()&&''!==_0x16268b[_0xb2004b(0x17a)](/ /g,'')[_0xb2004b(0x191)]()&&(_0x16268b=_0xb2004b(0x100)+_0x16268b+_0xb2004b(0x131)),this[_0xb2004b(0x129)][_0xb2004b(0x15c)]({'actionId':_0x10a93a,'query':_0x44da7e,'htmlContent':_0x16268b,'label':_0x573ed1,'mainActionLabel':_0x92e5e9[_0x2623d7[_0xb2004b(0x13a)][_0xb2004b(0x12a)][_0xb2004b(0x189)][_0xb2004b(0xff)]?_0xb2004b(0x144):_0xb2004b(0x190)]}),_0xb2004b(0x136)!==this[_0xb2004b(0x142)]['id']?this[_0xb2004b(0x142)][_0xb2004b(0x1a7)]({'id':_0xb2004b(0x136),'icon':_0xc5441f,'title':_0x1f6b2c(this[_0xb2004b(0x10c)][_0xb2004b(0x181)],_0xb2004b(0x105)),'content':this[_0xb2004b(0x159)],'position':_0x6a1971[_0xb2004b(0x164)],'onShow':()=>{const _0x44016f=_0xb2004b;this[_0x44016f(0x159)][_0x44016f(0x195)]();},'onHide':()=>{const _0x80bdd3=_0xb2004b;this[_0x80bdd3(0x129)][_0x80bdd3(0x16e)](),_0x440aaf[_0x80bdd3(0x178)]();}}):this[_0xb2004b(0x142)][_0xb2004b(0x18e)][_0xb2004b(0x182)]||this[_0xb2004b(0x142)][_0xb2004b(0x18e)][_0xb2004b(0x114)]();}[_0x2a2545(0x167)](){const _0x473808=_0x2a2545;this[_0x473808(0x142)][_0x473808(0x146)]();}[_0x2a2545(0x19c)](){const _0x12be25=_0x2a2545,_0x234a7e=new Map(),_0x4ecdb5=_0x22e29a(this[_0x12be25(0x10c)][_0x12be25(0x104)][_0x12be25(0x1a8)](_0x12be25(0x130)),this[_0x12be25(0x10c)][_0x12be25(0x181)]);for(const _0xe7eb12 of _0x4ecdb5)for(const _0x10c45d of _0xe7eb12[_0x12be25(0x172)])_0x234a7e[_0x12be25(0x155)](_0x10c45d['id'],{..._0x10c45d,'groupId':_0xe7eb12[_0x12be25(0x108)],'groupLabel':_0xe7eb12[_0x12be25(0x133)]||_0xe7eb12[_0x12be25(0x108)]});return _0x234a7e;}[_0x2a2545(0x168)](_0x448c63){const _0x207b8a=_0x2a2545,_0x5735e6=this[_0x207b8a(0x10c)],_0x4aad70=_0x5735e6[_0x207b8a(0x172)][_0x207b8a(0x1a8)](_0x207b8a(0x11d)),_0x534a8b=new _0x448c63(_0x5735e6[_0x207b8a(0x181)]);return _0x534a8b[_0x207b8a(0x155)]({'label':_0x1f6b2c(_0x5735e6[_0x207b8a(0x181)],_0x207b8a(0x105)),'icon':_0xc5441f,'isToggleable':!0x0}),_0x534a8b[_0x207b8a(0x171)](_0x207b8a(0x174))['to'](_0x4aad70),_0x534a8b[_0x207b8a(0x171)](_0x207b8a(0xfe))['to'](this[_0x207b8a(0x142)],'id',_0x5b5ba8=>_0x207b8a(0x136)===_0x5b5ba8),this[_0x207b8a(0x1a4)](_0x534a8b,_0x207b8a(0x192),()=>{const _0x531256=_0x207b8a;_0x534a8b[_0x531256(0xfe)]?this[_0x531256(0x167)]():_0x4aad70[_0x531256(0x192)]();}),_0x534a8b;}[_0x2a2545(0x11e)](){const _0x232a8e=_0x2a2545,_0x59798e=this[_0x232a8e(0x10c)][_0x232a8e(0x14b)][_0x232a8e(0x1a8)](_0x1f618c);this[_0x232a8e(0x159)]=new _0x4136db(this[_0x232a8e(0x10c)][_0x232a8e(0x181)],this[_0x232a8e(0x151)],this[_0x232a8e(0x10c)][_0x232a8e(0x104)][_0x232a8e(0x1a8)](_0x232a8e(0x11a))),this[_0x232a8e(0x159)]['on'](_0x232a8e(0x199),()=>{const _0x70faa=_0x232a8e;this[_0x70faa(0x142)][_0x70faa(0x18e)][_0x70faa(0x182)]||this[_0x70faa(0x142)][_0x70faa(0x18e)][_0x70faa(0x114)]();}),this[_0x232a8e(0x159)][_0x232a8e(0x12e)][_0x232a8e(0x160)][_0x232a8e(0x197)]['on'](_0x232a8e(0x11b),()=>{const _0x3601b2=_0x232a8e;this[_0x3601b2(0x142)][_0x3601b2(0x18e)][_0x3601b2(0x182)]||this[_0x3601b2(0x142)][_0x3601b2(0x18e)][_0x3601b2(0x114)]();}),this[_0x232a8e(0x1a4)](this[_0x232a8e(0x159)],_0x232a8e(0x13c),()=>{const _0x502f3c=_0x232a8e;_0x59798e[_0x502f3c(0x128)](this[_0x502f3c(0x129)][_0x502f3c(0x13b)]),this[_0x502f3c(0x167)]();}),this[_0x232a8e(0x1a4)](this[_0x232a8e(0x159)],_0x232a8e(0x10f),()=>{const _0x5ea638=_0x232a8e;_0x59798e[_0x5ea638(0x10f)](this[_0x5ea638(0x129)][_0x5ea638(0x13b)]),this[_0x5ea638(0x167)]();}),this[_0x232a8e(0x123)]();}[_0x2a2545(0x123)](){const _0x45617f=_0x2a2545,{locale:_0x4ce1ba,ui:{ariaLiveAnnouncer:_0x1ac37b}}=this[_0x45617f(0x10c)];this[_0x45617f(0x159)][_0x45617f(0x1aa)]['on'](_0x45617f(0x1a5),(_0x4837eb,_0x252aea,_0x47013d)=>{const _0x1e19d2=_0x45617f,_0x3c30b1=this[_0x1e19d2(0x129)][_0x1e19d2(0x13b)];_0x47013d?_0x1ac37b[_0x1e19d2(0x12b)](_0x1f6b2c(_0x4ce1ba,_0x1e19d2(0x152))):_0x3c30b1&&_0x1ac37b[_0x1e19d2(0x12b)](_0x1f6b2c(_0x4ce1ba,_0x1e19d2(0x18c),_0x3c30b1),{'politeness':_0x1e19d2(0x194),'isUnsafeHTML':!0x0});}),this[_0x45617f(0x159)]['on'](_0x45617f(0x143),(_0x5a55d2,_0x21413e,_0x2dff10)=>{const _0x3421d8=_0x45617f;if(_0x2dff10){const _0x371524=this[_0x3421d8(0x159)][_0x3421d8(0x198)][_0x3421d8(0x15d)];_0x1ac37b[_0x3421d8(0x12b)](_0x1f6b2c(_0x4ce1ba,_0x3421d8(0x119),_0x371524));}});}[_0x2a2545(0x18b)](_0x1a55b9){const _0x40e8e6=_0x2a2545,_0x390dfd=this[_0x40e8e6(0x110)][_0x40e8e6(0x1a8)](_0x1a55b9),_0x7b34c9=this[_0x40e8e6(0x10c)],_0x34cbd5=_0x7b34c9[_0x40e8e6(0x13a)][_0x40e8e6(0x12a)][_0x40e8e6(0x189)],_0xabc681=_0x7b34c9[_0x40e8e6(0x172)][_0x40e8e6(0x1a8)](_0x40e8e6(0x11d)),_0x478eb2=_0x7b34c9[_0x40e8e6(0x14b)][_0x40e8e6(0x1a8)](_0x1f618c),_0xf2da15=''+(_0x390dfd[_0x40e8e6(0x108)]!==_0x308c66?_0x390dfd[_0x40e8e6(0x133)]+':\x20':'')+_0x390dfd[_0x40e8e6(0x122)];if(!0x1!==_0x390dfd[_0x40e8e6(0x112)]&&_0x34cbd5[_0x40e8e6(0xff)]){const _0x239096=_0x133307(_0x34cbd5[_0x40e8e6(0x127)]())||_0x7b34c9[_0x40e8e6(0x13a)][_0x40e8e6(0x107)][_0x40e8e6(0x170)](_0x34cbd5);_0x7b34c9[_0x40e8e6(0x13a)][_0x40e8e6(0x184)](_0x491760=>{const _0x59a927=_0x40e8e6;_0x491760[_0x59a927(0x150)](_0x239096,'in');});}_0x478eb2[_0x40e8e6(0x16c)](),_0xabc681[_0x40e8e6(0x192)](_0x390dfd[_0x40e8e6(0x17e)],_0xf2da15,_0x40e8e6(0x117)+_0x1a55b9);}[_0x2a2545(0x103)](_0x58b258,_0xbcc1d2,_0x26d438,_0x5bacfc){const _0xe5ff21=_0x2a2545,_0x452245=this[_0xe5ff21(0x10c)],_0x3a5f4c=_0x452245[_0xe5ff21(0x181)],_0x3ccf6d=new _0x3b5b8f(_0x3a5f4c),_0x2e1b51=ei(_0x452245,_0x26d438)[_0xe5ff21(0x14d)](_0x434f55=>_0x434f55[_0xe5ff21(0x172)][_0xe5ff21(0x1a2)]);0x1===_0x2e1b51[_0xe5ff21(0x1a2)]?this[_0xe5ff21(0x1a9)]({'command':_0x58b258,'commands':_0x2e1b51[0x0][_0xe5ff21(0x172)],'parentMenuView':_0xbcc1d2,'onExecute':_0x5bacfc})[_0xe5ff21(0x1a6)](_0xe4e137=>_0x3ccf6d[_0xe5ff21(0x196)][_0xe5ff21(0x126)](_0xe4e137)):_0x2e1b51[_0xe5ff21(0x1a6)](({groupId:_0x201b04,groupLabel:_0x2f4bad,commands:_0x474566})=>{const _0x19e9f0=_0xe5ff21,_0x4a7477=new _0x26dc31(_0x3a5f4c,_0xbcc1d2),_0x542c79=new _0x3cf044(_0x3a5f4c),_0xebebe5=new _0x3b5b8f(_0x3a5f4c),_0x1cc2fd=this[_0x19e9f0(0x1a9)]({'command':_0x58b258,'commands':_0x474566,'parentMenuView':_0x542c79,'onExecute':_0x5bacfc});_0x542c79[_0x19e9f0(0x163)][_0x19e9f0(0x155)]({'label':_0x2f4bad||_0x201b04}),_0x542c79[_0x19e9f0(0x118)](_0x19e9f0(0x192))['to'](_0xbcc1d2),_0xebebe5[_0x19e9f0(0x196)][_0x19e9f0(0x19e)](_0x1cc2fd),_0x542c79[_0x19e9f0(0x141)][_0x19e9f0(0x15f)][_0x19e9f0(0x126)](_0xebebe5),_0x4a7477[_0x19e9f0(0x15f)][_0x19e9f0(0x126)](_0x542c79),_0x3ccf6d[_0x19e9f0(0x196)][_0x19e9f0(0x126)](_0x4a7477);}),_0xbcc1d2[_0xe5ff21(0x141)][_0xe5ff21(0x15f)][_0xe5ff21(0x126)](_0x3ccf6d);}[_0x2a2545(0x1a9)]({command:_0x5b7a53,commands:_0x491dcb,parentMenuView:_0x8d653d,onExecute:_0x11752a}){const _0x3309f9=_0x2a2545,_0x2fc8f0=this[_0x3309f9(0x10c)],_0x4c7ab1=_0x2fc8f0[_0x3309f9(0x181)];return ei(_0x2fc8f0,_0x491dcb)[_0x3309f9(0x12f)](_0x3e519b=>{const _0x3af689=_0x3309f9,_0x4279f7=new _0x26dc31(_0x4c7ab1,_0x8d653d),_0x5e913b=new _0x3d1b22(_0x4c7ab1);return _0x5e913b[_0x3af689(0x155)]({'label':_0x3e519b[_0x3af689(0x122)]}),_0x5e913b[_0x3af689(0x118)](_0x3af689(0x192))['to'](_0x8d653d),_0x5e913b['on'](_0x3af689(0x192),()=>_0x11752a(_0x3e519b['id'])),_0x5e913b[_0x3af689(0x171)](_0x3af689(0x174))['to'](_0x5b7a53,_0x3af689(0x19b),_0x15433d=>_0x15433d[_0x3af689(0x166)](_0x3e519b['id'])),_0x4279f7[_0x3af689(0x15f)][_0x3af689(0x126)](_0x5e913b),_0x4279f7;});}}function si(_0xe63f93,_0x3fe1a3){const _0x1a98f7=_0x2a2545;return void 0x0!==_0xe63f93[_0x1a98f7(0x18a)]&&void 0x0===_0x3fe1a3[_0x1a98f7(0x18a)]?0x1:void 0x0===_0xe63f93[_0x1a98f7(0x18a)]&&void 0x0!==_0x3fe1a3[_0x1a98f7(0x18a)]?-0x1:void 0x0!==_0xe63f93[_0x1a98f7(0x18a)]&&void 0x0!==_0x3fe1a3[_0x1a98f7(0x18a)]?_0xe63f93[_0x1a98f7(0x18a)]-_0x3fe1a3[_0x1a98f7(0x18a)]:0x0;}function ei(_0x35a6a7,_0x204bb3){const _0x2b6f37=_0x2a2545;_0x204bb3[_0x2b6f37(0x1a0)](si);const _0x3cc12f={},_0x40fb66=[];for(const _0x1d3839 of _0x204bb3)if(void 0x0!==_0x1d3839[_0x2b6f37(0x18a)]){if(_0x1d3839[_0x2b6f37(0x18a)]in _0x3cc12f)throw new _0x33aad4(_0x2b6f37(0x134),_0x35a6a7,{'conflictingDefinitions':[_0x1d3839,_0x3cc12f[_0x1d3839[_0x2b6f37(0x18a)]]]});_0x3cc12f[_0x1d3839[_0x2b6f37(0x18a)]]=_0x1d3839,_0x40fb66[_0x2b6f37(0x177)](_0x1d3839[_0x2b6f37(0x18a)],0x0,_0x1d3839);}else _0x40fb66[_0x2b6f37(0x148)](_0x1d3839);return _0x40fb66;}function _0x546e(_0xadd809,_0x5aec39){const _0x1c576c=_0x1c57();return _0x546e=function(_0x546e10,_0x443719){_0x546e10=_0x546e10-0xfe;let _0x4a1eb5=_0x1c576c[_0x546e10];return _0x4a1eb5;},_0x546e(_0xadd809,_0x5aec39);}function _0x1c57(){const _0x269069=['_initAriaAiStatusChangeAnnouncements','evaluationLimit','copy','add','getSelectedBlocks','insertContent','_aiAssistantController','document','announce','aiLicenseKeyInvalid','getRanges','promptView','map','ai.assistant.commands','</p>','menuBar:aiCommands','groupLabel','ai-commands-config-order-collision','\x20ck-ai-assistant-ui_theme','aiAssistant','media','1361073SzlmCX','_forceMarkersCopy','model','currentContext','replaceContent','render','AIAssistant','custom','comment','panelView','_dialog','change:isError','INSERT','2397290lGMfdd','hide','licenseKey','push','values','17015720LiuraY','plugins','145565HqwbwK','filter','define','ck-ai-commands-dropdown\x20','setSelection','_uiCssClasses','AI\x20is\x20writing','_aiAdapter','aiLicenseKeyExpired','set','12iaIfWa','aiCommands','text/html','_formView','isFlat','isPremiumPlugin','updateView','text','source','children','queryView','requires','150849hMWECD','buttonView','EDITOR_TOP_SIDE','rawHtml','includes','hideUI','_createAIAssistantUIButton','from','menuBar:aiAssistant','fire','showFakeVisualSelection','ck-ai-assistant-button\x20','reset','tableOfContents','getLimitElement','bind','commands','DataTransfer','isEnabled','_licenseKeyCheckInterval','ck-ai-assistant-ui','splice','hideFakeVisualSelection','AIAssistantUI','replace','usageLimit','textAdapter','76nLaVPD','prompt','344bqwdMV','aiLicenseKeyEvaluationLimit','locale','wasMoved','isOfficialPlugin','change','_showLicenseError','aiLicenseKeyValid','menuitemcheckbox','componentFactory','selection','order','_onExecute','Generated\x20content:\x20%0','ai.assistant.useTheme','view','init','REPLACE','trim','execute','once','polite','focus','items','fieldView','errorView','change:value','aiLicenseKeyUsageLimit','enabledCommandsIds','_getResolvedCommandsDefinitions','AI\x20Commands','addMany','domainLimit','sort','menuPanelClass','length','editing','listenTo','change:isProcessing','forEach','show','get','_getMenuBarGroupButtons','contentArea','pluginName','isOn','isCollapsed','<p>','body','showUI','_populateMenuBarMenu','config','AI\x20Assistant','destroy','schema','groupId','aiLicenseKeyNotAllowed','getSelectedElement','invalid','editor','change:enabledCommandsIds','ai.assistant.disabledElements','insertContentBelow','_commandDefinitions','featureNotAllowed','requiresContent','243218heYZbJ','updatePosition','menuView','buttons','command:','delegate','Error\x20during\x20AI\x20content\x20generation:\x20%0','ai.assistant.contentAreaCssClass','update','aiLicenseKeyDomainLimit','showAIAssistant','_initView','720549BKxONm','getData','expired','label'];_0x1c57=function(){return _0x269069;};return _0x1c57();}
|
|
23
|
+
const _0x4cd8da=_0x4b91;(function(_0x5e6387,_0x125415){const _0x96a7a6=_0x4b91,_0x46e1c4=_0x5e6387();while(!![]){try{const _0x49daef=-parseInt(_0x96a7a6(0x8a))/0x1+-parseInt(_0x96a7a6(0xc8))/0x2*(parseInt(_0x96a7a6(0x112))/0x3)+parseInt(_0x96a7a6(0x103))/0x4*(parseInt(_0x96a7a6(0xcc))/0x5)+-parseInt(_0x96a7a6(0x114))/0x6+-parseInt(_0x96a7a6(0xe1))/0x7+parseInt(_0x96a7a6(0xac))/0x8+parseInt(_0x96a7a6(0xd0))/0x9;if(_0x49daef===_0x125415)break;else _0x46e1c4['push'](_0x46e1c4['shift']());}catch(_0x205c85){_0x46e1c4['push'](_0x46e1c4['shift']());}}}(_0xa721,0x33ab7));import{Plugin as _0x2b9eaa}from'ckeditor5/src/core.js';import{IconMagicWand as _0xab46cc,IconRobotPencil as _0x2280b3}from'ckeditor5/src/icons.js';import{first as _0x1cfdbb,CKEditorError as _0x492210}from'ckeditor5/src/utils.js';import{createDropdown as _0x5c3a5a,addMenuToDropdown as _0x45e37c,ButtonView as _0x4b7d43,MenuBarMenuListItemButtonView as _0xe9ee48,Dialog as _0x191d05,DialogViewPosition as _0x55ce58,MenuBarMenuView as _0x25c656,MenuBarMenuListView as _0x277be6,MenuBarMenuListItemView as _0x26ca86}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3fe5cf,UNGROUPED_COMMANDS_GROUP_ID as _0x4a6d08}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x54b025}from'./aiassistantediting.js';function _0x4b91(_0x219b4d,_0x4e7189){const _0xa7213d=_0xa721();return _0x4b91=function(_0x4b91d9,_0x3fee3c){_0x4b91d9=_0x4b91d9-0x7b;let _0x3d9580=_0xa7213d[_0x4b91d9];return _0x3d9580;},_0x4b91(_0x219b4d,_0x4e7189);}import{AIAdapter as _0x2fb909}from'./adapters/aiadapter.js';import{getTranslation as _0x32c77e}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x520e15}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4e06fd}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x42076a}from'./ui/form/aiformview.js';function _0xa721(){const _0x3030b9=['document','\x20ck-ai-assistant-ui_theme','errorView','init','announce','reset','text','aiLicenseKeyExpired','change','length','editor','aiLicenseKeyEvaluationLimit','map','AI\x20is\x20writing','forEach','ck-ai-assistant-ui','schema','rawHtml','151308ScUsxz','model','_aiAdapter','_formView','_onExecute','REPLACE','destroy','showFakeVisualSelection','config','set','polite','trim','invalid','requires','menuView','getSelectedElement','ai.assistant.contentAreaCssClass','AIAssistantUI','wasMoved','updateView','listenTo','body','aiLicenseKeyNotAllowed','_dialog','splice','EDITOR_TOP_SIDE','plugins','menuBar:aiAssistant','<p>','delegate','aiLicenseKeyUsageLimit','replace','hideUI','getSelectedBlocks','2808936HdBSQY','push','view','custom','bind','_getMenuBarGroupButtons','order','showUI','change:enabledCommandsIds','isFlat','copy','menuPanelClass','values','isOn','_uiCssClasses','setSelection','</p>','panelView','locale','aiLicenseKeyValid','_populateMenuBarMenu','hide','add','get','fire','media','pluginName','change:isError','2uQTBKz','tableOfContents','execute','domainLimit','387950HxfIBJ','items','_forceMarkersCopy','command:','3600234OOqmfQ','showAIAssistant','once','includes','_commandDefinitions','define','AI\x20Assistant','groupLabel','evaluationLimit','updatePosition','ai.assistant.disabledElements','selection','sort','aiLicenseKeyInvalid','ai.assistant.commands','editing','comment','96754dNCTWw','DataTransfer','text/html','show','buttonView','aiCommands','Generated\x20content:\x20%0','buttons','change:value','insertContentBelow','getData','filter','aiLicenseKeyDomainLimit','featureNotAllowed','addMany','_showLicenseError','replaceContent','isCollapsed','insertContent','contentArea','ai-commands-config-order-collision','enabledCommandsIds','fieldView','INSERT','aiAssistant','hideFakeVisualSelection','queryView','expired','menuBar:aiCommands','ck-ai-assistant-button\x20','_getResolvedCommandsDefinitions','Error\x20during\x20AI\x20content\x20generation:\x20%0','_initAriaAiStatusChangeAnnouncements','children','16rfiXzK','getLimitElement','focus','commands','isEnabled','AIAssistant','from','currentContext','getRanges','textAdapter','menuitemcheckbox','label','change:isProcessing','AI\x20Commands','licenseKey','945174UmDDhu','requiresContent','2218056JmFYwi','isPremiumPlugin','componentFactory','source','render','usageLimit','groupId','_initView','ai.assistant.useTheme','_createAIAssistantUIButton','prompt','update','isOfficialPlugin','_aiAssistantController','_licenseKeyCheckInterval','ck-ai-commands-dropdown\x20','promptView'];_0xa721=function(){return _0x3030b9;};return _0xa721();}import{AIFormToolbarViewMainActionLabel as _0x329958}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const pt=globalThis[_0x4cd8da(0xe2)];import{ClipboardMarkersUtils as _0x53e8ac}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x111ff3,ViewDataTransfer as _0x3fc11a}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2b9eaa{[_0x4cd8da(0x111)];[_0x4cd8da(0x122)];[_0x4cd8da(0xa1)];[_0x4cd8da(0x8d)];[_0x4cd8da(0x8c)];[_0x4cd8da(0x121)];[_0x4cd8da(0xba)]='';static get[_0x4cd8da(0xc6)](){const _0x340658=_0x4cd8da;return _0x340658(0x9b);}static get[_0x4cd8da(0x120)](){return!0x0;}static get[_0x4cd8da(0x115)](){return!0x0;}static get[_0x4cd8da(0x97)](){return[_0x53e8ac,_0x54b025,_0x2fb909,_0x191d05];}constructor(_0x3f4c18){const _0x6506ba=_0x4cd8da;super(_0x3f4c18),_0x3f4c18[_0x6506ba(0x92)][_0x6506ba(0xd5)](_0x6506ba(0xda),[_0x6506ba(0xc5),_0x6506ba(0x89),_0x6506ba(0xc9)]),_0x3f4c18[_0x6506ba(0x92)][_0x6506ba(0xd5)](_0x6506ba(0x9a),''),_0x3f4c18[_0x6506ba(0x92)][_0x6506ba(0xd5)](_0x6506ba(0x11c),!0x0),this[_0x6506ba(0xba)]=_0x6506ba(0x87)+(_0x3f4c18[_0x6506ba(0x92)][_0x6506ba(0xc3)](_0x6506ba(0x11c))?_0x6506ba(0x126):'');}[_0x4cd8da(0x7b)](){const _0x960979=_0x4cd8da,{editor:_0x227425}=this;this[_0x960979(0x8c)]=_0x227425[_0x960979(0xa4)][_0x960979(0xc3)](_0x2fb909),this[_0x960979(0xa1)]=_0x227425[_0x960979(0xa4)][_0x960979(0xc3)](_0x191d05),this[_0x960979(0x8d)]=null,this[_0x960979(0xd4)]=this[_0x960979(0xff)]();const _0x4cafc9=new _0x520e15(_0x227425,Array[_0x960979(0x109)](this[_0x960979(0xd4)][_0x960979(0xb8)]()));_0x227425[_0x960979(0x106)][_0x960979(0xc2)](_0x960979(0xd1),_0x4cafc9),_0x227425['ui'][_0x960979(0x116)][_0x960979(0xc2)](_0x960979(0xe6),_0x3a6611=>{const _0x1197ad=_0x960979,_0x37de26=_0x5c3a5a(_0x3a6611);return _0x37de26[_0x1197ad(0x93)]({'class':_0x1197ad(0x123)+this[_0x1197ad(0xba)]}),_0x37de26[_0x1197ad(0xe5)][_0x1197ad(0x93)]({'label':_0x32c77e(_0x3a6611,_0x1197ad(0x110)),'icon':_0xab46cc,'tooltip':!0x0}),_0x37de26['on'](_0x1197ad(0xca),_0x2a4edd=>this[_0x1197ad(0x8e)](_0x2a4edd[_0x1197ad(0x117)]['id'])),_0x45e37c(_0x37de26,_0x227425['ui'][_0x1197ad(0xae)][_0x1197ad(0x9f)],function(_0x1b3e59){const _0x340960=_0x1197ad,_0x5d7f93=_0x3fe5cf(_0x1b3e59[_0x340960(0x92)][_0x340960(0xc3)](_0x340960(0xde)),_0x1b3e59[_0x340960(0xbe)]),_0x40dd20=wi(_0x1b3e59,_0x5d7f93)[_0x340960(0xec)](_0x200c72=>_0x200c72[_0x340960(0x106)][_0x340960(0x81)]);if(0x1===_0x40dd20[_0x340960(0x81)])return wi(_0x1b3e59,_0x40dd20[0x0][_0x340960(0x106)])[_0x340960(0x84)](_0x184f52=>({'id':_0x184f52['id'],'label':_0x184f52[_0x340960(0x10e)]}));return _0x40dd20[_0x340960(0x84)](_0x193adb=>{const _0x24b609=_0x340960,{groupId:_0x18891e,groupLabel:_0x59028a,commands:_0x224ca8}=_0x193adb,_0xef36ce=wi(_0x1b3e59,_0x224ca8)[_0x24b609(0x84)](_0x293c4b=>({'id':_0x293c4b['id'],'label':_0x293c4b[_0x24b609(0x10e)]}));return{'id':_0x18891e,'menu':_0x59028a||_0x18891e,'children':_0xef36ce};});}(_0x227425),{'ariaLabel':_0x32c77e(_0x3a6611,_0x1197ad(0x110))}),_0x37de26[_0x1197ad(0x98)][_0x1197ad(0xb7)]=_0x1197ad(0x123)+this[_0x1197ad(0xba)],_0x4cafc9['on'](_0x1197ad(0xb4),_0x358d04),_0x37de26[_0x1197ad(0x98)][_0x1197ad(0xd2)](_0x1197ad(0x118),_0x358d04),_0x37de26;function _0x358d04(){const _0x24d66f=_0x1197ad;_0x37de26[_0x24d66f(0x107)]=_0x4cafc9[_0x24d66f(0xf6)][_0x24d66f(0x81)]>0x0;for(const _0x47ead0 of _0x37de26[_0x24d66f(0x98)][_0x24d66f(0xe8)])_0x47ead0[_0x24d66f(0x107)]=_0x4cafc9[_0x24d66f(0xf6)][_0x24d66f(0xd3)](_0x47ead0['id']);}}),_0x227425['ui'][_0x960979(0x116)][_0x960979(0xc2)](_0x960979(0xfd),_0x5ca90c=>{const _0x51aa48=_0x960979,_0x24e4b5=new _0x25c656(_0x5ca90c);_0x24e4b5[_0x51aa48(0xe5)][_0x51aa48(0x93)]({'label':_0x32c77e(_0x5ca90c,_0x51aa48(0x110)),'icon':_0xab46cc}),_0x24e4b5[_0x51aa48(0xb0)](_0x51aa48(0x107))['to'](_0x4cafc9,_0x51aa48(0xf6),_0x3a2e9c=>_0x3a2e9c[_0x51aa48(0x81)]>0x0);const _0x26729b=_0x3fe5cf(_0x227425[_0x51aa48(0x92)][_0x51aa48(0xc3)](_0x51aa48(0xde)),_0x5ca90c);return this[_0x51aa48(0xc0)](_0x4cafc9,_0x24e4b5,_0x26729b,_0x1f1c73=>this[_0x51aa48(0x8e)](_0x1f1c73)),_0x24e4b5;}),_0x227425['ui'][_0x960979(0x116)][_0x960979(0xc2)](_0x960979(0xf9),()=>{const _0x287783=_0x960979,_0x5daafa=this[_0x287783(0x11d)](_0x4b7d43);return _0x5daafa[_0x287783(0x93)]({'tooltip':!0x0,'class':_0x287783(0xfe)+this[_0x287783(0xba)]}),_0x5daafa;}),_0x227425['ui'][_0x960979(0x116)][_0x960979(0xc2)](_0x960979(0xa5),()=>{const _0x107235=_0x960979,_0xc73ba0=this[_0x107235(0x11d)](_0xe9ee48);return _0xc73ba0[_0x107235(0x93)]({'role':_0x107235(0x10d)}),_0xc73ba0;}),this[_0x960979(0x111)]=this[_0x960979(0x82)][_0x960979(0x92)][_0x960979(0xc3)](_0x960979(0x111));const _0x468253=this[_0x960979(0x82)];this[_0x960979(0x122)]=setInterval(()=>{const _0x1ade3b=_0x960979;let _0x489a5e;for(const _0x58f6e2 in _0x468253){const _0x20e8f0=_0x58f6e2,_0x2ec95b=_0x468253[_0x20e8f0];if(_0x1ade3b(0xbf)==_0x2ec95b||_0x1ade3b(0xdd)==_0x2ec95b||_0x1ade3b(0x7f)==_0x2ec95b||_0x1ade3b(0xed)==_0x2ec95b||_0x1ade3b(0xa0)==_0x2ec95b||_0x1ade3b(0x83)==_0x2ec95b||_0x1ade3b(0xa8)==_0x2ec95b){delete _0x468253[_0x20e8f0],_0x489a5e=_0x2ec95b,clearInterval(this[_0x1ade3b(0x122)]),this[_0x1ade3b(0x122)]=void 0x0;break;}}_0x1ade3b(0xdd)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0x96)),_0x1ade3b(0x7f)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0xfc)),_0x1ade3b(0xed)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0xcb)),_0x1ade3b(0xa0)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0xee),_0x1ade3b(0x108)),_0x1ade3b(0x83)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0xd8)),_0x1ade3b(0xa8)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0x119));},0x3e8);}[_0x4cd8da(0x90)](){const _0x2becb9=_0x4cd8da;super[_0x2becb9(0x90)](),this[_0x2becb9(0x122)]&&clearInterval(this[_0x2becb9(0x122)]);}[_0x4cd8da(0xb3)](_0x5a076e='',_0x257516='',_0x4f98e5=_0x4cd8da(0xaf)){const _0x57e232=_0x4cd8da,_0x56b05e=this[_0x57e232(0x82)],_0x372841=_0x56b05e[_0x57e232(0xdf)][_0x57e232(0xae)],_0x16b32a=_0x56b05e[_0x57e232(0xa4)][_0x57e232(0xc3)](_0x54b025),_0x297198=_0x56b05e[_0x57e232(0xa4)][_0x57e232(0xc3)](_0x53e8ac);_0x16b32a[_0x57e232(0x91)]();const _0x45c0dd=new pt(),_0x8947c7=new ClipboardEvent(_0x57e232(0xb6),{'clipboardData':_0x45c0dd}),_0x18b90b=new _0x3fc11a(_0x45c0dd),_0x4912b3=new _0x111ff3(_0x372841,_0x8947c7,{'dataTransfer':_0x18b90b});_0x297198[_0x57e232(0xce)](_0x57e232(0xe0),()=>{const _0x4d3510=_0x57e232;_0x372841[_0x4d3510(0x125)][_0x4d3510(0xc4)](_0x4d3510(0xb6),_0x4912b3);}),this[_0x57e232(0x8d)]||(this[_0x57e232(0x11b)](),this[_0x57e232(0x121)]=new _0x4e06fd(_0x56b05e,this[_0x57e232(0x8c)][_0x57e232(0x10c)],this[_0x57e232(0x8d)]));let _0x3ceefb=_0x18b90b[_0x57e232(0xeb)](_0x57e232(0xe3));const _0x332bc7=_0x56b05e[_0x57e232(0x8b)][_0x57e232(0x125)][_0x57e232(0xdb)],_0x10c100=Array[_0x57e232(0x109)](_0x332bc7[_0x57e232(0x10b)]());0x1===_0x10c100[_0x57e232(0x81)]&&_0x10c100[0x0][_0x57e232(0xb5)]&&!_0x332bc7[_0x57e232(0x99)]()&&''!==_0x3ceefb[_0x57e232(0xa9)](/ /g,'')[_0x57e232(0x95)]()&&(_0x3ceefb=_0x57e232(0xa6)+_0x3ceefb+_0x57e232(0xbc)),this[_0x57e232(0x121)][_0x57e232(0x9d)]({'actionId':_0x4f98e5,'query':_0x5a076e,'htmlContent':_0x3ceefb,'label':_0x257516,'mainActionLabel':_0x329958[_0x56b05e[_0x57e232(0x8b)][_0x57e232(0x125)][_0x57e232(0xdb)][_0x57e232(0xf2)]?_0x57e232(0xf8):_0x57e232(0x8f)]}),_0x57e232(0xf9)!==this[_0x57e232(0xa1)]['id']?this[_0x57e232(0xa1)][_0x57e232(0xe4)]({'id':_0x57e232(0xf9),'icon':_0x2280b3,'title':_0x32c77e(this[_0x57e232(0x82)][_0x57e232(0xbe)],_0x57e232(0xd6)),'content':this[_0x57e232(0x8d)],'position':_0x55ce58[_0x57e232(0xa3)],'onShow':()=>{const _0x3df787=_0x57e232;this[_0x3df787(0x8d)][_0x3df787(0x105)]();},'onHide':()=>{const _0x365062=_0x57e232;this[_0x365062(0x121)][_0x365062(0x7d)](),_0x16b32a[_0x365062(0xfa)]();}}):this[_0x57e232(0xa1)][_0x57e232(0xae)][_0x57e232(0x9c)]||this[_0x57e232(0xa1)][_0x57e232(0xae)][_0x57e232(0xd9)]();}[_0x4cd8da(0xaa)](){const _0x2e2cc7=_0x4cd8da;this[_0x2e2cc7(0xa1)][_0x2e2cc7(0xc1)]();}[_0x4cd8da(0xff)](){const _0x34bc85=_0x4cd8da,_0x5aed24=new Map(),_0xdfc94e=_0x3fe5cf(this[_0x34bc85(0x82)][_0x34bc85(0x92)][_0x34bc85(0xc3)](_0x34bc85(0xde)),this[_0x34bc85(0x82)][_0x34bc85(0xbe)]);for(const _0x1ea58b of _0xdfc94e)for(const _0x125c9a of _0x1ea58b[_0x34bc85(0x106)])_0x5aed24[_0x34bc85(0x93)](_0x125c9a['id'],{..._0x125c9a,'groupId':_0x1ea58b[_0x34bc85(0x11a)],'groupLabel':_0x1ea58b[_0x34bc85(0xd7)]||_0x1ea58b[_0x34bc85(0x11a)]});return _0x5aed24;}[_0x4cd8da(0x11d)](_0x4d8e4c){const _0x2e7856=_0x4cd8da,_0x56382f=this[_0x2e7856(0x82)],_0x882d=_0x56382f[_0x2e7856(0x106)][_0x2e7856(0xc3)](_0x2e7856(0xd1)),_0x5ddd94=new _0x4d8e4c(_0x56382f[_0x2e7856(0xbe)]);return _0x5ddd94[_0x2e7856(0x93)]({'label':_0x32c77e(_0x56382f[_0x2e7856(0xbe)],_0x2e7856(0xd6)),'icon':_0x2280b3,'isToggleable':!0x0}),_0x5ddd94[_0x2e7856(0xb0)](_0x2e7856(0x107))['to'](_0x882d),_0x5ddd94[_0x2e7856(0xb0)](_0x2e7856(0xb9))['to'](this[_0x2e7856(0xa1)],'id',_0x328f9a=>_0x2e7856(0xf9)===_0x328f9a),this[_0x2e7856(0x9e)](_0x5ddd94,_0x2e7856(0xca),()=>{const _0x46a4ee=_0x2e7856;_0x5ddd94[_0x46a4ee(0xb9)]?this[_0x46a4ee(0xaa)]():_0x882d[_0x46a4ee(0xca)]();}),_0x5ddd94;}[_0x4cd8da(0x11b)](){const _0x429732=_0x4cd8da,_0x3c1d5c=this[_0x429732(0x82)][_0x429732(0xa4)][_0x429732(0xc3)](_0x54b025);this[_0x429732(0x8d)]=new _0x42076a(this[_0x429732(0x82)][_0x429732(0xbe)],this[_0x429732(0xba)],this[_0x429732(0x82)][_0x429732(0x92)][_0x429732(0xc3)](_0x429732(0x9a))),this[_0x429732(0x8d)]['on'](_0x429732(0xe9),()=>{const _0x3f2fb2=_0x429732;this[_0x3f2fb2(0xa1)][_0x3f2fb2(0xae)][_0x3f2fb2(0x9c)]||this[_0x3f2fb2(0xa1)][_0x3f2fb2(0xae)][_0x3f2fb2(0xd9)]();}),this[_0x429732(0x8d)][_0x429732(0x124)][_0x429732(0xfb)][_0x429732(0xf7)]['on'](_0x429732(0x11f),()=>{const _0x2c3192=_0x429732;this[_0x2c3192(0xa1)][_0x2c3192(0xae)][_0x2c3192(0x9c)]||this[_0x2c3192(0xa1)][_0x2c3192(0xae)][_0x2c3192(0xd9)]();}),this[_0x429732(0x9e)](this[_0x429732(0x8d)],_0x429732(0xf1),()=>{const _0x367537=_0x429732;_0x3c1d5c[_0x367537(0xf3)](this[_0x367537(0x121)][_0x367537(0x10a)]),this[_0x367537(0xaa)]();}),this[_0x429732(0x9e)](this[_0x429732(0x8d)],_0x429732(0xea),()=>{const _0x3078f8=_0x429732;_0x3c1d5c[_0x3078f8(0xea)](this[_0x3078f8(0x121)][_0x3078f8(0x10a)]),this[_0x3078f8(0xaa)]();}),this[_0x429732(0x101)]();}[_0x4cd8da(0x101)](){const _0x2e3d51=_0x4cd8da,{locale:_0x3d7c86,ui:{ariaLiveAnnouncer:_0x5cee66}}=this[_0x2e3d51(0x82)];this[_0x2e3d51(0x8d)][_0x2e3d51(0xf4)]['on'](_0x2e3d51(0x10f),(_0x23b022,_0x4fec88,_0x146f11)=>{const _0x5c1cd2=_0x2e3d51,_0x610eb7=this[_0x5c1cd2(0x121)][_0x5c1cd2(0x10a)];_0x146f11?_0x5cee66[_0x5c1cd2(0x7c)](_0x32c77e(_0x3d7c86,_0x5c1cd2(0x85))):_0x610eb7&&_0x5cee66[_0x5c1cd2(0x7c)](_0x32c77e(_0x3d7c86,_0x5c1cd2(0xe7),_0x610eb7),{'politeness':_0x5c1cd2(0x94),'isUnsafeHTML':!0x0});}),this[_0x2e3d51(0x8d)]['on'](_0x2e3d51(0xc7),(_0x4ef309,_0x34e2ed,_0x25e65d)=>{const _0x42ef80=_0x2e3d51;if(_0x25e65d){const _0x143631=this[_0x42ef80(0x8d)][_0x42ef80(0x127)][_0x42ef80(0x7e)];_0x5cee66[_0x42ef80(0x7c)](_0x32c77e(_0x3d7c86,_0x42ef80(0x100),_0x143631));}});}[_0x4cd8da(0x8e)](_0x467235){const _0x27d27b=_0x4cd8da,_0x3bd7cd=this[_0x27d27b(0xd4)][_0x27d27b(0xc3)](_0x467235),_0x23acab=this[_0x27d27b(0x82)],_0x34457b=_0x23acab[_0x27d27b(0x8b)][_0x27d27b(0x125)][_0x27d27b(0xdb)],_0x531188=_0x23acab[_0x27d27b(0x106)][_0x27d27b(0xc3)](_0x27d27b(0xd1)),_0x4afaf6=_0x23acab[_0x27d27b(0xa4)][_0x27d27b(0xc3)](_0x54b025),_0x100175=''+(_0x3bd7cd[_0x27d27b(0x11a)]!==_0x4a6d08?_0x3bd7cd[_0x27d27b(0xd7)]+':\x20':'')+_0x3bd7cd[_0x27d27b(0x10e)];if(!0x1!==_0x3bd7cd[_0x27d27b(0x113)]&&_0x34457b[_0x27d27b(0xf2)]){const _0x15becb=_0x1cfdbb(_0x34457b[_0x27d27b(0xab)]())||_0x23acab[_0x27d27b(0x8b)][_0x27d27b(0x88)][_0x27d27b(0x104)](_0x34457b);_0x23acab[_0x27d27b(0x8b)][_0x27d27b(0x80)](_0x32c3be=>{const _0x26becb=_0x27d27b;_0x32c3be[_0x26becb(0xbb)](_0x15becb,'in');});}_0x4afaf6[_0x27d27b(0x91)](),_0x531188[_0x27d27b(0xca)](_0x3bd7cd[_0x27d27b(0x11e)],_0x100175,_0x27d27b(0xcf)+_0x467235);}[_0x4cd8da(0xc0)](_0x1396d1,_0x5d7d7,_0x3f2bfa,_0x160033){const _0x15deae=_0x4cd8da,_0x22e6c3=this[_0x15deae(0x82)],_0x4eab5d=_0x22e6c3[_0x15deae(0xbe)],_0x44c0e4=new _0x277be6(_0x4eab5d),_0x3a6e29=wi(_0x22e6c3,_0x3f2bfa)[_0x15deae(0xec)](_0x52e7cd=>_0x52e7cd[_0x15deae(0x106)][_0x15deae(0x81)]);0x1===_0x3a6e29[_0x15deae(0x81)]?this[_0x15deae(0xb1)]({'command':_0x1396d1,'commands':_0x3a6e29[0x0][_0x15deae(0x106)],'parentMenuView':_0x5d7d7,'onExecute':_0x160033})[_0x15deae(0x86)](_0x548249=>_0x44c0e4[_0x15deae(0xcd)][_0x15deae(0xc2)](_0x548249)):_0x3a6e29[_0x15deae(0x86)](({groupId:_0xdaa6d7,groupLabel:_0x5378a9,commands:_0x6f6d23})=>{const _0xabb9e5=_0x15deae,_0x53e737=new _0x26ca86(_0x4eab5d,_0x5d7d7),_0x4bc09a=new _0x25c656(_0x4eab5d),_0x4f1d4f=new _0x277be6(_0x4eab5d),_0xb09642=this[_0xabb9e5(0xb1)]({'command':_0x1396d1,'commands':_0x6f6d23,'parentMenuView':_0x4bc09a,'onExecute':_0x160033});_0x4bc09a[_0xabb9e5(0xe5)][_0xabb9e5(0x93)]({'label':_0x5378a9||_0xdaa6d7}),_0x4bc09a[_0xabb9e5(0xa7)](_0xabb9e5(0xca))['to'](_0x5d7d7),_0x4f1d4f[_0xabb9e5(0xcd)][_0xabb9e5(0xef)](_0xb09642),_0x4bc09a[_0xabb9e5(0xbd)][_0xabb9e5(0x102)][_0xabb9e5(0xc2)](_0x4f1d4f),_0x53e737[_0xabb9e5(0x102)][_0xabb9e5(0xc2)](_0x4bc09a),_0x44c0e4[_0xabb9e5(0xcd)][_0xabb9e5(0xc2)](_0x53e737);}),_0x5d7d7[_0x15deae(0xbd)][_0x15deae(0x102)][_0x15deae(0xc2)](_0x44c0e4);}[_0x4cd8da(0xb1)]({command:_0x5f131c,commands:_0x13055b,parentMenuView:_0x1432e0,onExecute:_0x5c53d4}){const _0x5cccad=_0x4cd8da,_0x19aa49=this[_0x5cccad(0x82)],_0x26f8c6=_0x19aa49[_0x5cccad(0xbe)];return wi(_0x19aa49,_0x13055b)[_0x5cccad(0x84)](_0x5cbd5a=>{const _0x43f0a2=_0x5cccad,_0x4dff23=new _0x26ca86(_0x26f8c6,_0x1432e0),_0x371bd7=new _0xe9ee48(_0x26f8c6);return _0x371bd7[_0x43f0a2(0x93)]({'label':_0x5cbd5a[_0x43f0a2(0x10e)]}),_0x371bd7[_0x43f0a2(0xa7)](_0x43f0a2(0xca))['to'](_0x1432e0),_0x371bd7['on'](_0x43f0a2(0xca),()=>_0x5c53d4(_0x5cbd5a['id'])),_0x371bd7[_0x43f0a2(0xb0)](_0x43f0a2(0x107))['to'](_0x5f131c,_0x43f0a2(0xf6),_0x945ae=>_0x945ae[_0x43f0a2(0xd3)](_0x5cbd5a['id'])),_0x4dff23[_0x43f0a2(0x102)][_0x43f0a2(0xc2)](_0x371bd7),_0x4dff23;});}}function Ai(_0xce4c90,_0xa73f9d){const _0x8978d2=_0x4cd8da;return void 0x0!==_0xce4c90[_0x8978d2(0xb2)]&&void 0x0===_0xa73f9d[_0x8978d2(0xb2)]?0x1:void 0x0===_0xce4c90[_0x8978d2(0xb2)]&&void 0x0!==_0xa73f9d[_0x8978d2(0xb2)]?-0x1:void 0x0!==_0xce4c90[_0x8978d2(0xb2)]&&void 0x0!==_0xa73f9d[_0x8978d2(0xb2)]?_0xce4c90[_0x8978d2(0xb2)]-_0xa73f9d[_0x8978d2(0xb2)]:0x0;}function wi(_0x2b3ab9,_0xa2adb0){const _0xe6b5c=_0x4cd8da;_0xa2adb0[_0xe6b5c(0xdc)](Ai);const _0x16c295={},_0x4a8e3c=[];for(const _0x20cf50 of _0xa2adb0)if(void 0x0!==_0x20cf50[_0xe6b5c(0xb2)]){if(_0x20cf50[_0xe6b5c(0xb2)]in _0x16c295)throw new _0x492210(_0xe6b5c(0xf5),_0x2b3ab9,{'conflictingDefinitions':[_0x20cf50,_0x16c295[_0x20cf50[_0xe6b5c(0xb2)]]]});_0x16c295[_0x20cf50[_0xe6b5c(0xb2)]]=_0x20cf50,_0x4a8e3c[_0xe6b5c(0xa2)](_0x20cf50[_0xe6b5c(0xb2)],0x0,_0x20cf50);}else _0x4a8e3c[_0xe6b5c(0xad)](_0x20cf50);return _0x4a8e3c;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0xe39884=_0x667e;(function(_0x292036,_0x352dd4){const _0x35c3aa=_0x667e,_0x3fffc1=_0x292036();while(!![]){try{const _0x47712f=parseInt(_0x35c3aa(0x189))/0x1+-parseInt(_0x35c3aa(0x1bd))/0x2+-parseInt(_0x35c3aa(0x180))/0x3*(-parseInt(_0x35c3aa(0x19e))/0x4)+parseInt(_0x35c3aa(0x1a3))/0x5+-parseInt(_0x35c3aa(0x1a4))/0x6+-parseInt(_0x35c3aa(0x1a9))/0x7*(-parseInt(_0x35c3aa(0x1c1))/0x8)+-parseInt(_0x35c3aa(0x170))/0x9*(parseInt(_0x35c3aa(0x1bf))/0xa);if(_0x47712f===_0x352dd4)break;else _0x3fffc1['push'](_0x3fffc1['shift']());}catch(_0x32374c){_0x3fffc1['push'](_0x3fffc1['shift']());}}}(_0x3f7c,0xb4733));import{ObservableMixin as _0x4d8453}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1d40c8}from'../adapters/aiadapter.js';function _0x667e(_0x346350,_0x4ec474){const _0x3f7cdf=_0x3f7c();return _0x667e=function(_0x667e45,_0x58c174){_0x667e45=_0x667e45-0x16e;let _0x3f89e7=_0x3f7cdf[_0x667e45];return _0x3f89e7;},_0x667e(_0x346350,_0x4ec474);}import{Matcher as _0x25d03c,ViewUpcastWriter as _0xa27ad5}from'ckeditor5/src/engine.js';const fs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4d8453(){[_0xe39884(0x1ac)];[_0xe39884(0x1d1)];[_0xe39884(0x181)];[_0xe39884(0x18e)];[_0xe39884(0x193)];[_0xe39884(0x1c6)];constructor(_0x122151,_0xfca70,_0x5eefbd){const _0x41e3bc=_0xe39884;super(),this[_0x41e3bc(0x1ac)]=_0x122151,this[_0x41e3bc(0x1d1)]=_0xfca70,this[_0x41e3bc(0x18e)]=document[_0x41e3bc(0x19b)](_0x41e3bc(0x1bc)),this[_0x41e3bc(0x193)]=new DOMParser(),this[_0x41e3bc(0x1c6)]=new XMLSerializer(),this[_0x41e3bc(0x181)]=_0x5eefbd,this[_0x41e3bc(0x178)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x41e3bc(0x18b),(_0x12da55,_0x99572b,_0x3eee43)=>{const _0x1f2d3f=_0x41e3bc;this[_0x1f2d3f(0x181)][_0x1f2d3f(0x17a)]=this[_0x1f2d3f(0x1b9)](_0x3eee43);}),this[_0x41e3bc(0x18f)](this[_0x41e3bc(0x181)],_0x41e3bc(0x1b7),(_0x4a8bbe,_0x3d25a7)=>{const _0x2b0f9a=_0x41e3bc,_0x1b1ca2=this[_0x2b0f9a(0x197)]||this[_0x2b0f9a(0x16f)];this[_0x2b0f9a(0x1cd)](_0x3d25a7,_0x1b1ca2,_0x2b0f9a(0x172));}),this[_0x41e3bc(0x18f)](this[_0x41e3bc(0x181)],_0x41e3bc(0x194),()=>{const _0x30d523=_0x41e3bc;this[_0x30d523(0x181)][_0x30d523(0x175)]=this[_0x30d523(0x1b6)],this[_0x30d523(0x1cd)](this[_0x30d523(0x1b8)],this[_0x30d523(0x173)],this[_0x30d523(0x19d)],this[_0x30d523(0x1b6)]);}),this[_0x41e3bc(0x18f)](this[_0x41e3bc(0x181)],_0x41e3bc(0x1b3),()=>{const _0x51d4d2=_0x41e3bc;this[_0x51d4d2(0x1b3)]();});}[_0xe39884(0x191)](){const _0x3fe19b=_0xe39884;this[_0x3fe19b(0x176)]();}async[_0xe39884(0x199)]({actionId:_0x2d173a,query:_0x16f6a4,htmlContent:_0x58129e,label:_0x2caaff,mainActionLabel:_0x220c34}){const _0x6de688=_0xe39884;this[_0x6de688(0x181)][_0x6de688(0x175)]=_0x2caaff,this[_0x6de688(0x181)][_0x6de688(0x198)]=_0x220c34,this[_0x6de688(0x16f)]=_0x58129e,_0x16f6a4&&(this[_0x6de688(0x181)][_0x6de688(0x19f)]?this[_0x6de688(0x1cd)](_0x16f6a4,_0x58129e,_0x2d173a,_0x2caaff):this[_0x6de688(0x181)][_0x6de688(0x1af)](_0x6de688(0x1a0),()=>{const _0x4d09cf=_0x6de688;this[_0x4d09cf(0x1cd)](_0x16f6a4,_0x58129e,_0x2d173a,_0x2caaff);}));}[_0xe39884(0x1b3)](){const _0x5593dc=_0xe39884;this[_0x5593dc(0x1c3)]&&(this[_0x5593dc(0x1c3)]=!0x1,this[_0x5593dc(0x181)][_0x5593dc(0x18d)](),this[_0x5593dc(0x1d1)][_0x5593dc(0x17d)]());}[_0xe39884(0x1b0)](){const _0x951f94=_0xe39884;this[_0x951f94(0x16f)]='',this[_0x951f94(0x197)]='',this[_0x951f94(0x1ce)]='',this[_0x951f94(0x173)]='',this[_0x951f94(0x1b8)]='',this[_0x951f94(0x1b6)]='',this[_0x951f94(0x19d)]=void 0x0,this[_0x951f94(0x181)][_0x951f94(0x1b0)](),this[_0x951f94(0x1b3)]();}async[_0xe39884(0x1cd)](_0xfbf978,_0x55805d,_0x5e11c0,_0x418e80){const _0x1a993b=_0xe39884;return this[_0x1a993b(0x1c3)]=!0x0,this[_0x1a993b(0x181)][_0x1a993b(0x184)](),this[_0x1a993b(0x173)]=_0x55805d,this[_0x1a993b(0x1b8)]=_0xfbf978,this[_0x1a993b(0x1b6)]=_0x418e80||_0xfbf978,this[_0x1a993b(0x19d)]=_0x5e11c0,new Promise(_0x4b12c4=>{const _0x5caff9=_0x1a993b;this[_0x5caff9(0x1d1)][_0x5caff9(0x16e)]({'query':_0xfbf978,'context':_0x55805d,'onData':_0x3d4e83=>{const _0x42ac6c=_0x5caff9;this[_0x42ac6c(0x1ce)]=_0x3d4e83,this[_0x42ac6c(0x197)]=this[_0x42ac6c(0x1ae)](this[_0x42ac6c(0x1ce)]);},'actionId':_0x5e11c0})[_0x5caff9(0x1b1)](()=>{const _0x4f00dc=_0x5caff9;!this[_0x4f00dc(0x197)]&&this[_0x4f00dc(0x1ce)]&&(this[_0x4f00dc(0x197)]=this[_0x4f00dc(0x1ae)](this[_0x4f00dc(0x1ce)],!0x0));})[_0x5caff9(0x192)](_0x4ef0ae=>{const _0x5a4f00=_0x5caff9;_0x4ef0ae instanceof _0x1d40c8?this[_0x5a4f00(0x181)][_0x5a4f00(0x17f)](_0x4ef0ae[_0x5a4f00(0x1a5)]):this[_0x5a4f00(0x181)][_0x5a4f00(0x17f)](),_0x4b12c4();})[_0x5caff9(0x19a)](()=>{const _0x5f252f=_0x5caff9;this[_0x5f252f(0x1b3)](),_0x4b12c4();});});}[_0xe39884(0x1ae)](_0x466683,_0x13e3c6=!0x1){const _0x31fa05=_0xe39884,_0x13a042=fs[_0x31fa05(0x1a2)](_0x466683);_0x466683=_0x13a042?_0x466683[_0x31fa05(0x1c8)](_0x13a042[0x1][_0x31fa05(0x19c)]):_0x466683[_0x31fa05(0x19c)]<0x64&&!_0x13e3c6?'':this[_0x31fa05(0x177)](_0x466683);const _0x440c42=this[_0x31fa05(0x193)][_0x31fa05(0x1aa)](_0x466683,_0x31fa05(0x17e));if(_0x13a042){const _0x2ba60e=Array[_0x31fa05(0x1a7)](_0x440c42[_0x31fa05(0x1d0)][_0x31fa05(0x1be)]);_0x2ba60e[_0x31fa05(0x187)]();for(const _0x5b0b4c of _0x2ba60e){if(_0x5b0b4c[_0x31fa05(0x1ab)]==Node[_0x31fa05(0x185)])break;_0x5b0b4c[_0x31fa05(0x179)]();}}const _0x19f3f4=this[_0x31fa05(0x1ac)][_0x31fa05(0x1b5)][_0x31fa05(0x1ca)][_0x31fa05(0x182)](this[_0x31fa05(0x1c6)][_0x31fa05(0x195)](_0x440c42[_0x31fa05(0x1d0)]));this[_0x31fa05(0x1ba)]()||this[_0x31fa05(0x1b4)](_0x19f3f4);const _0x33165d=this[_0x31fa05(0x1ac)][_0x31fa05(0x1cf)][_0x31fa05(0x1c2)](_0x31fa05(0x17c)),_0x1ff9e1=this[_0x31fa05(0x1ac)][_0x31fa05(0x1b5)][_0x31fa05(0x1c4)](_0x19f3f4);return _0x33165d||_0x1ff9e1[_0x31fa05(0x190)][_0x31fa05(0x196)](),this[_0x31fa05(0x1ac)][_0x31fa05(0x1b5)][_0x31fa05(0x1cc)](_0x1ff9e1);}[_0xe39884(0x1b4)](_0x1b822a){const _0x227963=_0xe39884,_0x1672c2=new _0xa27ad5(this[_0x227963(0x1ac)][_0x227963(0x1a6)][_0x227963(0x181)][_0x227963(0x1c0)]),_0xb59908=new _0x25d03c({'name':/^h[1-5]$/}),_0x50dced=[];let _0x5e6590=!0x1;for(const _0x30c1a8 of _0x1b822a)_0x30c1a8['is'](_0x227963(0x1a8))&&_0xb59908[_0x227963(0x1c7)](_0x30c1a8)&&(_0x50dced[_0x227963(0x1c5)](_0x30c1a8),'h1'==_0x30c1a8[_0x227963(0x1b2)]&&(_0x5e6590=!0x0));if(_0x5e6590){for(const _0xd94623 of _0x50dced)_0x1672c2[_0x227963(0x183)]('h'+(parseInt(_0xd94623[_0x227963(0x1b2)][0x1])+0x1),_0xd94623);}}[_0xe39884(0x1ba)](){const _0x147b4e=_0xe39884,{data:_0xabc6a4,editing:_0x128282}=this[_0x147b4e(0x1ac)],_0x540ed3=_0xabc6a4[_0x147b4e(0x1a1)][_0x147b4e(0x182)](_0x147b4e(0x186)),_0xdcbdf0=_0xabc6a4[_0x147b4e(0x182)](_0xabc6a4[_0x147b4e(0x1c4)](_0x540ed3));return!!_0x128282[_0x147b4e(0x181)][_0x147b4e(0x174)][_0x147b4e(0x1ad)](_0xdcbdf0)[_0x147b4e(0x188)]('h1');}[_0xe39884(0x1b9)](_0x3af7b2){const _0xac50b6=_0xe39884;return this[_0xac50b6(0x1ac)][_0xac50b6(0x1a6)][_0xac50b6(0x181)][_0xac50b6(0x174)][_0xac50b6(0x17b)](this[_0xac50b6(0x18e)],_0x3af7b2),this[_0xac50b6(0x18e)][_0xac50b6(0x171)];}[_0xe39884(0x177)](_0x166301){const _0x3f9e70=_0xe39884,_0x3ee1bb=_0x166301[_0x3f9e70(0x1cb)]();return _0x3ee1bb[_0x3f9e70(0x18c)](_0x3f9e70(0x1bb))?_0x3ee1bb[_0x3f9e70(0x18a)](_0x3f9e70(0x1c9))?_0x3ee1bb[_0x3f9e70(0x1c8)](0x7,_0x3ee1bb[_0x3f9e70(0x19c)]-0x3):_0x3ee1bb[_0x3f9e70(0x1c8)](0x7):_0x166301;}}function _0x3f7c(){const _0x3cbaaf=['domConverter','prompt','stopListening','_stripMarkdownSyntax','set','remove','value','setContentOf','ai.assistant.preserveComments','abort','text/html','handleError','558fcaVCd','view','toView','rename','startProcessing','ELEMENT_NODE','<h1></h1>','reverse','querySelector','1314796qUemIC','endsWith','set:currentContext','startsWith','finishProcessing','_sanitizationContainer','listenTo','markers','destroy','catch','_domParser','tryAgainEvent','serializeToString','clear','currentContext','mainAction','updateView','finally','createElement','length','previousActionId','27844qkJXRM','isRendered','render','htmlProcessor','exec','3361380pzmhST','5467614OQYNJR','message','editing','from','element','14609UUVNAc','parseFromString','nodeType','editor','viewToDom','_parseAndNormalizeContent','once','reset','then','name','stopProcessing','_normalizeResponseHeadings','data','previousLabel','submitPrompt','previousQuery','_sanitizeHTML','_isH1TagSupportEnabled','```html','div','2348722qBQtTc','childNodes','337720BLjeDH','document','1096JThhUR','get','isProcessing','toModel','push','_xmlSerializer','match','substring','```','processor','trim','stringify','_handleQuery','currentResponse','config','body','textAdapter','makeRequest','initialContext','198vocEWF','innerHTML','custom','previousContext'];_0x3f7c=function(){return _0x3cbaaf;};return _0x3f7c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x222e46=_0x52fb;(function(_0x1c43c5,_0x540a69){const _0x500736=_0x52fb,_0x4b3352=_0x1c43c5();while(!![]){try{const _0x4f0571=-parseInt(_0x500736(0x17a))/0x1+parseInt(_0x500736(0x152))/0x2*(parseInt(_0x500736(0x190))/0x3)+parseInt(_0x500736(0x146))/0x4*(-parseInt(_0x500736(0x16d))/0x5)+-parseInt(_0x500736(0x17d))/0x6*(parseInt(_0x500736(0x145))/0x7)+-parseInt(_0x500736(0x15b))/0x8+parseInt(_0x500736(0x183))/0x9*(parseInt(_0x500736(0x143))/0xa)+parseInt(_0x500736(0x178))/0xb*(parseInt(_0x500736(0x192))/0xc);if(_0x4f0571===_0x540a69)break;else _0x4b3352['push'](_0x4b3352['shift']());}catch(_0x177751){_0x4b3352['push'](_0x4b3352['shift']());}}}(_0x4d40,0xd5a3e));import{global as _0x27972d}from'ckeditor5/src/utils.js';import{View as _0x173f5c,ButtonView as _0x762a9a,SpinnerView as _0x1aed2e}from'ckeditor5/src/ui.js';function _0x4d40(){const _0x50dfcc=['bindTemplate','set','ck-ai-form__content-area-wrapper','remove','ck-content','icon','firstElementChild','<span>]</span>','scrollTo','15500Ffcoky','left','ck-ai-form__loader','setContent','wheel','absolute','ck-ai-form__content-area','removeAllRanges','write','766360hfAJrs','clipboard','contentFieldView','loaderView','lastElementChild','querySelector','div','-9999px','_createCopyButton','appendLoader','ck-ai-form__copy-button-wrapper','scrollHeight','style','focus','locale','_copyHTMLToClipboard','copy','.ck-ai-form__loader','5PLuIan','ClipboardItem','ck-ai-form__copy-button','execCommand','ck-ai-form__content-area--processing','position','ck-reset_all-excluded','copyButtonView','element','value','createElement','33ipBLQM','appendChild','154469lZTNfH','ck-ai-form__content-field','setEndBefore','217488vQigKE','change:value','body','setTemplate','innerHTML','<span>[</span>','27153HXVoma','createRange','bind','text/html','setStartAfter','ck-hidden','Copy','isVisible','_createLoader','smooth','isEnabled','AI\x20is\x20writing...','class','183IBGaVz','textContent','3800220ifXMaY','addRange','getSelection','render','change:isProcessing','text/plain','execute','mousedown','1330cqMjuq','listenTo','91zXsBej','910032WxJvaH','\x20ck-ai-form__copy-button--copied','isProcessing'];_0x4d40=function(){return _0x50dfcc;};return _0x4d40();}function _0x52fb(_0x5ccc92,_0x59882c){const _0x4d4075=_0x4d40();return _0x52fb=function(_0x52fb25,_0x21d727){_0x52fb25=_0x52fb25-0x142;let _0x3b59a3=_0x4d4075[_0x52fb25];return _0x3b59a3;},_0x52fb(_0x5ccc92,_0x59882c);}import{IconCheck as _0x3509e4,IconCopy as _0x1163b3}from'ckeditor5/src/icons.js';import{getTranslation as _0x4bd75a}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x173f5c{[_0x222e46(0x15d)];[_0x222e46(0x174)];constructor(_0x290fe2,_0x46be15=''){const _0x36a6fd=_0x222e46;super(_0x290fe2),this[_0x36a6fd(0x14a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x35c2e9=this[_0x36a6fd(0x149)];this[_0x36a6fd(0x15d)]=new ContentFieldView(_0x290fe2,_0x46be15),this[_0x36a6fd(0x174)]=this[_0x36a6fd(0x163)](),this[_0x36a6fd(0x180)]({'tag':_0x36a6fd(0x161),'attributes':{'class':['ck',_0x36a6fd(0x14b),_0x35c2e9['if'](_0x36a6fd(0x18a),_0x36a6fd(0x188),_0x1dc3e7=>!_0x1dc3e7)],'tabindex':'-1'},'children':[{'tag':_0x36a6fd(0x161),'attributes':{'class':['ck',_0x36a6fd(0x158),_0x35c2e9['if'](_0x36a6fd(0x148),_0x36a6fd(0x171))]},'children':[this[_0x36a6fd(0x15d)],{'tag':_0x36a6fd(0x161),'attributes':{'class':['ck',_0x36a6fd(0x165)]},'children':[this[_0x36a6fd(0x174)]]}]}]});}[_0x222e46(0x195)](){const _0x1e3c0c=_0x222e46;super[_0x1e3c0c(0x195)](),this[_0x1e3c0c(0x176)]&&this[_0x1e3c0c(0x15d)][_0x1e3c0c(0x155)](this[_0x1e3c0c(0x176)]);let _0x5f520c=!0x1;this['on'](_0x1e3c0c(0x17e),(_0x58f9ad,_0xa73b8a,_0x486df8)=>{const _0x555056=_0x1e3c0c,_0x2aeb13=!this[_0x555056(0x15d)][_0x555056(0x175)][_0x555056(0x160)](_0x555056(0x16c));this[_0x555056(0x15d)][_0x555056(0x155)](_0x486df8),this[_0x555056(0x148)]&&_0x2aeb13&&!_0x5f520c&&this[_0x555056(0x175)][_0x555056(0x151)]({'top':this[_0x555056(0x175)][_0x555056(0x166)],'behavior':_0x555056(0x18c)});}),this['on'](_0x1e3c0c(0x196),(_0x44aa68,_0x54da76,_0x11170d)=>{const _0x1c1285=_0x1e3c0c;_0x5f520c=!0x1,_0x11170d?(this[_0x1c1285(0x176)]=null,this[_0x1c1285(0x15d)][_0x1c1285(0x164)]()):this[_0x1c1285(0x176)]||this[_0x1c1285(0x15d)][_0x1c1285(0x155)]('');}),this[_0x1e3c0c(0x144)](this[_0x1e3c0c(0x175)],_0x1e3c0c(0x156),()=>{_0x5f520c=!0x0;}),this[_0x1e3c0c(0x144)](this[_0x1e3c0c(0x175)],_0x1e3c0c(0x142),()=>{_0x5f520c=!0x0;});}[_0x222e46(0x168)](){const _0x2ea851=_0x222e46;this[_0x2ea851(0x175)][_0x2ea851(0x168)]();}[_0x222e46(0x163)](){const _0x59719b=_0x222e46,_0x4db8c1=this[_0x59719b(0x169)],_0x4771ac=new _0x762a9a(this[_0x59719b(0x169)]),_0x238c0b=_0x59719b(0x16f);return _0x4771ac[_0x59719b(0x14a)]({'label':_0x4bd75a(_0x4db8c1,_0x59719b(0x189)),'icon':_0x1163b3,'class':_0x238c0b,'tooltip':!0x0}),_0x4771ac[_0x59719b(0x185)](_0x59719b(0x18a))['to'](this,_0x59719b(0x176),_0x29fed1=>!!_0x29fed1),_0x4771ac[_0x59719b(0x185)](_0x59719b(0x18d))['to'](this,_0x59719b(0x148),_0x159004=>!_0x159004),_0x4771ac['on'](_0x59719b(0x198),()=>{const _0x7983d5=_0x59719b;this[_0x7983d5(0x16a)](this[_0x7983d5(0x15d)][_0x7983d5(0x175)]),_0x4771ac[_0x7983d5(0x14e)]=_0x3509e4,_0x4771ac[_0x7983d5(0x18f)]=_0x238c0b+_0x7983d5(0x147),this[_0x7983d5(0x168)](),setTimeout(()=>{const _0x53efb3=_0x7983d5;_0x4771ac[_0x53efb3(0x14e)]=_0x1163b3,_0x4771ac[_0x53efb3(0x18f)]=_0x238c0b;},0x3e8);}),_0x4771ac;}[_0x222e46(0x16a)](_0x134539){const _0x1a3897=_0x222e46,{window:_0x39edc,document:_0xd360d2}=_0x27972d;if(_0x39edc[_0x1a3897(0x16e)]){const {Blob:_0x16a926,ClipboardItem:_0x20e666}=_0x39edc,_0x5db1b1=[new _0x20e666({'text/html':new _0x16a926([_0x134539[_0x1a3897(0x181)]],{'type':_0x1a3897(0x186)}),'text/plain':new _0x16a926([_0x134539[_0x1a3897(0x191)]||''],{'type':_0x1a3897(0x197)})})];navigator[_0x1a3897(0x15c)][_0x1a3897(0x15a)](_0x5db1b1);}else{const _0x1f3143=_0xd360d2[_0x1a3897(0x177)](_0x1a3897(0x161));_0x1f3143[_0x1a3897(0x167)][_0x1a3897(0x172)]=_0x1a3897(0x157),_0x1f3143[_0x1a3897(0x167)][_0x1a3897(0x153)]=_0x1a3897(0x162),_0x1f3143[_0x1a3897(0x181)]=_0x1a3897(0x182)+_0x134539[_0x1a3897(0x181)]+_0x1a3897(0x150),_0xd360d2[_0x1a3897(0x17f)][_0x1a3897(0x179)](_0x1f3143);const _0x5ab963=_0xd360d2[_0x1a3897(0x184)]();_0x5ab963[_0x1a3897(0x187)](_0x1f3143[_0x1a3897(0x14f)]),_0x5ab963[_0x1a3897(0x17c)](_0x1f3143[_0x1a3897(0x15f)]);const _0x5ebf63=_0x39edc[_0x1a3897(0x194)]();_0x5ebf63[_0x1a3897(0x159)](),_0x5ebf63[_0x1a3897(0x193)](_0x5ab963),_0xd360d2[_0x1a3897(0x170)](_0x1a3897(0x16b)),_0x1f3143[_0x1a3897(0x14c)]();}}}export class ContentFieldView extends _0x173f5c{constructor(_0x2ff290,_0x4cd479=''){const _0x2807f6=_0x222e46;super(_0x2ff290),this[_0x2807f6(0x15e)]=this[_0x2807f6(0x18b)](),this[_0x2807f6(0x180)]({'tag':_0x2807f6(0x161),'attributes':{'class':['ck',_0x2807f6(0x14d),_0x4cd479,_0x2807f6(0x173),_0x2807f6(0x17b)]}});}[_0x222e46(0x155)](_0x3f6af5){const _0x4fbeba=_0x222e46;this[_0x4fbeba(0x175)][_0x4fbeba(0x181)]=_0x3f6af5;}[_0x222e46(0x164)](){const _0x521780=_0x222e46;this[_0x521780(0x175)][_0x521780(0x179)](this[_0x521780(0x15e)][_0x521780(0x175)]);}[_0x222e46(0x18b)](){const _0x1ece46=_0x222e46,_0x4259a2=new _0x173f5c(),_0x5dc562=this[_0x1ece46(0x169)],_0xc1a2bf=new _0x1aed2e();return _0xc1a2bf[_0x1ece46(0x18a)]=!0x0,_0x4259a2[_0x1ece46(0x180)]({'tag':_0x1ece46(0x161),'attributes':{'class':['ck',_0x1ece46(0x154)]},'children':[_0xc1a2bf,{'text':_0x4bd75a(_0x5dc562,_0x1ece46(0x18e))}]}),_0x4259a2[_0x1ece46(0x195)](),_0x4259a2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x40c586,_0x52a1f7){const _0x2c5886=_0x4d6a,_0x3fae2c=_0x40c586();while(!![]){try{const _0x2f60bd=parseInt(_0x2c5886(0x1d0))/0x1+-parseInt(_0x2c5886(0x1d5))/0x2+-parseInt(_0x2c5886(0x1d4))/0x3+-parseInt(_0x2c5886(0x1ce))/0x4+-parseInt(_0x2c5886(0x1d9))/0x5+parseInt(_0x2c5886(0x1d1))/0x6+parseInt(_0x2c5886(0x1d6))/0x7;if(_0x2f60bd===_0x52a1f7)break;else _0x3fae2c['push'](_0x3fae2c['shift']());}catch(_0xc0cff4){_0x3fae2c['push'](_0x3fae2c['shift']());}}}(_0x307c,0x8ab1f));function _0x307c(){const _0x2fc78b=['3061368YcsGUG','set','ck-ai-form__error','1493007teEvTL','1939298jhqNCw','14052416XeOUdu','bindTemplate','div','5142545nzQOwu','content','setTemplate','1741476SQDZBS','text','981575GxJCOj'];_0x307c=function(){return _0x2fc78b;};return _0x307c();}import{IconError as _0x3707ca}from'ckeditor5/src/icons.js';function _0x4d6a(_0x21a316,_0x2ebbb5){const _0x307c3c=_0x307c();return _0x4d6a=function(_0x4d6a9c,_0x384eaf){_0x4d6a9c=_0x4d6a9c-0x1ce;let _0x58e3a4=_0x307c3c[_0x4d6a9c];return _0x58e3a4;},_0x4d6a(_0x21a316,_0x2ebbb5);}import{View as _0x11a5b1,IconView as _0x268c45}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x11a5b1{constructor(_0x258053,_0xac40ef=''){const _0x5a3f51=_0x4d6a;super(_0x258053);const _0x5c1975=new _0x268c45(),_0x2a55d3=this[_0x5a3f51(0x1d7)];this[_0x5a3f51(0x1d2)](_0x5a3f51(0x1cf),_0xac40ef),_0x5c1975[_0x5a3f51(0x1da)]=_0x3707ca,this[_0x5a3f51(0x1db)]({'tag':_0x5a3f51(0x1d8),'attributes':{'class':['ck',_0x5a3f51(0x1d3)]},'children':[_0x5c1975,{'text':_0x2a55d3['to'](_0x5a3f51(0x1cf))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x592f41=_0x4e4c;(function(_0x4c0c23,_0x25b9a5){const _0x4e8f80=_0x4e4c,_0x573a82=_0x4c0c23();while(!![]){try{const _0x4a2e8e=parseInt(_0x4e8f80(0xbc))/0x1+-parseInt(_0x4e8f80(0xba))/0x2*(parseInt(_0x4e8f80(0xad))/0x3)+parseInt(_0x4e8f80(0x9e))/0x4+-parseInt(_0x4e8f80(0xa5))/0x5*(parseInt(_0x4e8f80(0x95))/0x6)+-parseInt(_0x4e8f80(0xc7))/0x7+parseInt(_0x4e8f80(0x9f))/0x8*(parseInt(_0x4e8f80(0x9b))/0x9)+parseInt(_0x4e8f80(0xb3))/0xa;if(_0x4a2e8e===_0x25b9a5)break;else _0x573a82['push'](_0x573a82['shift']());}catch(_0x7f5bb6){_0x573a82['push'](_0x573a82['shift']());}}}(_0x5ad2,0x30da8));import{Rect as _0x55fafb,global as _0xcb2fa0,isVisible as _0x2e21b6}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1d8e98,IconSubmit as _0x4cb621}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x21fa9c,ButtonView as _0x4aa63a}from'ckeditor5/src/ui.js';function _0x4e4c(_0x88d12,_0x34f1b6){const _0x5ad254=_0x5ad2();return _0x4e4c=function(_0x4e4ce3,_0x2f02ac){_0x4e4ce3=_0x4e4ce3-0x92;let _0x37308d=_0x5ad254[_0x4e4ce3];return _0x37308d;},_0x4e4c(_0x88d12,_0x34f1b6);}function _0x5ad2(){const _0x4ed964=['21czMYIv','right','children','_createShowHistoryButton','set','locale','3135070kwXGvD','left','isEnabled','fire','isOn','showHistoryButtonView','minRows','30714bWtrur','requestAnimationFrame','116586nFSmiR','enter','submit','ck-ai-form__submit','style','focus','fieldView','element','bind','width','maxRows','1671957DReymO','filteredView','fieldWrapperChildren','History','window','focusCycler','execute','add','930234cPQDsd','focusFirst','queryView','isEmpty','target','excludeScrollbarsAndBorders','1413729juHOwm','render','isVisible','457276wDszZc','8FesVKH','value','focusLast','ck-ai-form__toggle-history','Submit','update','5FQqpGT','submitButtonView','_createSubmitButton','keystrokes','focusableChildren','resultsView','uiLanguageDirection','rtl'];_0x5ad2=function(){return _0x4ed964;};return _0x5ad2();}import{getTranslation as _0x5fc8e2}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x21fa9c{[_0x592f41(0xa6)];[_0x592f41(0xb8)];constructor(_0x800a53,_0x2ac6f3){const _0x4eabc1=_0x592f41;super(_0x800a53,_0x2ac6f3),this[_0x4eabc1(0x97)][_0x4eabc1(0xc2)][_0x4eabc1(0xb9)]=0x1,this[_0x4eabc1(0x97)][_0x4eabc1(0xc2)][_0x4eabc1(0xc6)]=0x3,this[_0x4eabc1(0xa6)]=this[_0x4eabc1(0xa7)](),this[_0x4eabc1(0xb8)]=this[_0x4eabc1(0xb0)](),this[_0x4eabc1(0xa9)][_0x4eabc1(0x94)](this[_0x4eabc1(0xb8)],0x1),this[_0x4eabc1(0xa9)][_0x4eabc1(0x94)](this[_0x4eabc1(0xa6)]);}[_0x592f41(0x9c)](){const _0x1410a1=_0x592f41;super[_0x1410a1(0x9c)](),this[_0x1410a1(0x97)][_0x1410a1(0xc9)][_0x1410a1(0x94)](this[_0x1410a1(0xb8)]),this[_0x1410a1(0xaf)][_0x1410a1(0x94)](this[_0x1410a1(0xa6)]),this[_0x1410a1(0xa8)][_0x1410a1(0xb1)](_0x1410a1(0xbd),(_0x10cea9,_0x4238c8)=>{const _0x18b100=_0x1410a1;_0x10cea9[_0x18b100(0x99)]==this[_0x18b100(0x97)][_0x18b100(0xc2)][_0x18b100(0xc3)]&&(this[_0x18b100(0xbe)](),_0x4238c8());});}[_0x592f41(0xa7)](){const _0x45e688=_0x592f41,_0x1d98ca=new _0x4aa63a(this[_0x45e688(0xb2)]),_0x406f58=this[_0x45e688(0xb2)];return _0x1d98ca[_0x45e688(0xb1)]({'icon':_0x4cb621,'label':_0x5fc8e2(_0x406f58,_0x45e688(0xa3)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x45e688(0xbf)}),_0x1d98ca['on'](_0x45e688(0x93),()=>{const _0x19096d=_0x45e688;this[_0x19096d(0xbe)]();}),_0x1d98ca[_0x45e688(0xc4)](_0x45e688(0xb5))['to'](this[_0x45e688(0x97)][_0x45e688(0xc2)],_0x45e688(0x98),this,_0x45e688(0xb5),(_0x1640f2,_0x1006f5)=>!_0x1640f2&&_0x1006f5),_0x1d98ca;}[_0x592f41(0xb0)](){const _0x42a7fe=_0x592f41,_0x14913f=new _0x4aa63a(this[_0x42a7fe(0xb2)]),_0x5c1d06=this[_0x42a7fe(0xaa)],_0xb48bef=this[_0x42a7fe(0xb2)];_0x14913f[_0x42a7fe(0xb1)]({'label':_0x5fc8e2(_0xb48bef,_0x42a7fe(0xca)),'withText':!0x1,'icon':_0x1d8e98,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x42a7fe(0xa2)}),_0x14913f[_0x42a7fe(0xc4)](_0x42a7fe(0xb7))['to'](_0x5c1d06,_0x42a7fe(0x9d)),_0x14913f[_0x42a7fe(0xc4)](_0x42a7fe(0xb5))['to'](this,_0x42a7fe(0xb5)),_0x14913f['on'](_0x42a7fe(0x93),()=>{const _0x34915d=_0x42a7fe;_0x5c1d06[_0x34915d(0x9d)]=!_0x5c1d06[_0x34915d(0x9d)],_0x5c1d06[_0x34915d(0x9d)]?this[_0x34915d(0xc8)][_0x34915d(0xc1)]():this[_0x34915d(0xc1)]();});const _0x81522e=()=>{const _0x257b5b=_0x42a7fe;_0xcb2fa0[_0x257b5b(0xcb)][_0x257b5b(0xbb)](()=>{const _0x37d50e=_0x257b5b;if(_0x2e21b6(this[_0x37d50e(0xc3)])){const _0x1bbaad=new _0x55fafb(this[_0x37d50e(0x97)][_0x37d50e(0xc2)][_0x37d50e(0xc3)]),_0x4757f3=_0x1bbaad[_0x37d50e(0xc5)],_0x4715ff=_0x37d50e(0xac)===_0xb48bef[_0x37d50e(0xab)]?_0x37d50e(0xb4):_0x37d50e(0xae);_0x1bbaad[_0x37d50e(0x9a)](),_0x14913f[_0x37d50e(0xc3)][_0x37d50e(0xc0)][_0x4715ff]=_0x4757f3-_0x1bbaad[_0x37d50e(0xc5)]+0x1+'px';}});};return this[_0x42a7fe(0x97)][_0x42a7fe(0xc2)]['on'](_0x42a7fe(0xa4),_0x81522e),this['on'](_0x42a7fe(0x9c),_0x81522e),_0x14913f;}[_0x592f41(0xbe)](){const _0x1168ce=_0x592f41,_0x5d931e=this[_0x1168ce(0x97)][_0x1168ce(0xc2)][_0x1168ce(0xc3)][_0x1168ce(0xa0)];this[_0x1168ce(0xb6)](_0x1168ce(0xbe),_0x5d931e);}[_0x592f41(0xc1)](_0x3b3c92){const _0xde1f7f=_0x592f41;-0x1===_0x3b3c92?this[_0xde1f7f(0x92)][_0xde1f7f(0xa1)]():this[_0xde1f7f(0x92)][_0xde1f7f(0x96)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53cca4=_0x263a;function _0x4b0a(){const _0x28a453=['bindTemplate','mainAction','45460IFEvVW','56mLDkqD','REPLACE','bind','3447zOqffs','ck-ai-form__toolbar','8056pZOwow','addMany','11mxtQSK','Insert\x20below','toUpperCase','set','1894403bbjyZv','68665428LzEwDR','ck-button-action','locale','replace','stopButton','ck-hidden','replaceButton','tryAgainButton','insert','530055ZELTtm','insertButton','Stop','Try\x20again','_CONTENT','label','168234LWQdEi','isVisible','_createButton','364xQPIzy','extendTemplate','9090462jcjiis','items','AI_','48UmQBBA'];_0x4b0a=function(){return _0x28a453;};return _0x4b0a();}(function(_0x3ae81c,_0x106e0f){const _0x5decc6=_0x263a,_0x424147=_0x3ae81c();while(!![]){try{const _0x58ed06=parseInt(_0x5decc6(0x16c))/0x1*(-parseInt(_0x5decc6(0x17a))/0x2)+parseInt(_0x5decc6(0x169))/0x3+parseInt(_0x5decc6(0x175))/0x4*(parseInt(_0x5decc6(0x163))/0x5)+-parseInt(_0x5decc6(0x16e))/0x6+-parseInt(_0x5decc6(0x180))/0x7*(parseInt(_0x5decc6(0x171))/0x8)+-parseInt(_0x5decc6(0x178))/0x9*(parseInt(_0x5decc6(0x174))/0xa)+parseInt(_0x5decc6(0x17c))/0xb*(parseInt(_0x5decc6(0x181))/0xc);if(_0x58ed06===_0x106e0f)break;else _0x424147['push'](_0x424147['shift']());}catch(_0x1a5c50){_0x424147['push'](_0x424147['shift']());}}}(_0x4b0a,0xdfade));import{ToolbarView as _0x2ef9dc,ButtonView as _0x2f03a0}from'ckeditor5/src/ui.js';function _0x263a(_0x4c76a4,_0x294629){const _0x4b0a6a=_0x4b0a();return _0x263a=function(_0x263a30,_0x282764){_0x263a30=_0x263a30-0x15b;let _0x50b75f=_0x4b0a6a[_0x263a30];return _0x50b75f;},_0x263a(_0x4c76a4,_0x294629);}import{getTranslation as _0x39485d}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x53cca4(0x15d),'INSERT':_0x53cca4(0x162)};export class AIFormToolbarView extends _0x2ef9dc{constructor(_0x48063f){const _0x21547c=_0x53cca4;super(_0x48063f),this[_0x21547c(0x17f)](_0x21547c(0x16a),!0x1),this[_0x21547c(0x17f)](_0x21547c(0x173),AIFormToolbarViewMainActionLabel[_0x21547c(0x176)]),this[_0x21547c(0x160)]=this[_0x21547c(0x16b)]('',_0x21547c(0x15b)),this[_0x21547c(0x160)][_0x21547c(0x177)](_0x21547c(0x168))['to'](this,_0x21547c(0x173),_0x751c9b=>_0x39485d(_0x48063f,_0x21547c(0x170)+_0x751c9b[_0x21547c(0x17e)]()+_0x21547c(0x167))),this[_0x21547c(0x164)]=this[_0x21547c(0x16b)](_0x39485d(_0x48063f,_0x21547c(0x17d))),this[_0x21547c(0x161)]=this[_0x21547c(0x16b)](_0x39485d(_0x48063f,_0x21547c(0x166))),this[_0x21547c(0x15e)]=this[_0x21547c(0x16b)](_0x39485d(_0x48063f,_0x21547c(0x165)));const _0x427582=this[_0x21547c(0x172)];this[_0x21547c(0x16d)]({'attributes':{'class':[_0x21547c(0x179),_0x427582['if'](_0x21547c(0x16a),_0x21547c(0x15f),_0x1e1248=>!_0x1e1248)]}}),this[_0x21547c(0x16f)][_0x21547c(0x17b)]([this[_0x21547c(0x160)],this[_0x21547c(0x164)],this[_0x21547c(0x161)],this[_0x21547c(0x15e)]]);}[_0x53cca4(0x16b)](_0x11aef7,_0x4b07a7){const _0x5e5a8c=_0x53cca4,_0x5241fe=new _0x2f03a0(this[_0x5e5a8c(0x15c)]);return _0x5241fe[_0x5e5a8c(0x17f)]({'label':_0x11aef7,'class':_0x4b07a7||'','isVisible':!0x0,'withText':!0x0}),_0x5241fe;}}
|