@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 47.2.0-alpha.5
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/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +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/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/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/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/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 _0x20a5(){const _0x2a326e=['editing','_getDefaultInsertBelowPosition','162407FewnuM','init','isAtEnd','markers','getChild','15073353mCrGqa','ai-ui','getMarkersGroup','addMarker','_resetContentOfSelectedTableCells','getFirstRange','change','first','has','getLastMatchingPosition','114dZcyEB','plugins','ck-fake-ai-selection','insertContent','insertRows','text/html','getLastPosition','afterInit','_getAISelection','ai.assistant.useTheme','editingDowncast','hideFakeVisualSelection','showFakeVisualSelection','fromCharCode','869955BROtYl','getColumnIndexes','off','paste','selection','ck-ai-assistant-ui_theme','element','getRows','createRange','data','from','2768995FRmxTH','schema','end','isOfficialPlugin','createUIElement','4562cUNLeD','isCollapsed','insertContentBelow','pop','forEach','AIAssistantEditing','conversion','length','_prepareTableInsertBelowPosition','table','markerToHighlight','filter','updateMarker','get','6jPQCSR','_pasteHTMLUsingClipboard','config','start','editor','getRange','contentInsertion','setSelection','markerRange','getRowIndexes','createPositionAfter','ck-fake-ai-selection_collapsed','pluginName','DataTransfer','createPositionAt','_getTableRowCountFromContent','map','addClass','deleteContent','resultRange','removeMarker','setData','for','last','lowest','markerToElement','canEditAt','2047096zyNTPj','TableUtils','createSelection','10sADJqd','findAncestor','getRanges','href','isPremiumPlugin','span','parse','getSelectedTableCells','_createEmptyTableRows','once','isContent','push','getChildren','2016328CBJsou','join','document','getSelectedBlocks','model','fire'];_0x20a5=function(){return _0x2a326e;};return _0x20a5();}const _0xb5118a=_0x22b0;(function(_0x45f0fb,_0x25457b){const _0x196182=_0x22b0,_0x4c9b9f=_0x45f0fb();while(!![]){try{const _0x19d47a=parseInt(_0x196182(0x120))/0x1*(-parseInt(_0x196182(0x170))/0x2)+-parseInt(_0x196182(0x110))/0x3+-parseInt(_0x196182(0x159))/0x4+-parseInt(_0x196182(0x11b))/0x5+parseInt(_0x196182(0x12e))/0x6*(parseInt(_0x196182(0x161))/0x7)+parseInt(_0x196182(0x149))/0x8+parseInt(_0x196182(0x166))/0x9*(parseInt(_0x196182(0x14c))/0xa);if(_0x19d47a===_0x25457b)break;else _0x4c9b9f['push'](_0x4c9b9f['shift']());}catch(_0x3f0969){_0x4c9b9f['push'](_0x4c9b9f['shift']());}}}(_0x20a5,0x54795));import{uid as _0x4de190}from'ckeditor5/src/utils.js';import{Plugin as _0x36669a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2a1f9b}from'ckeditor5/src/clipboard.js';function _0x22b0(_0x7726c,_0x28c949){const _0x20a564=_0x20a5();return _0x22b0=function(_0x22b0fd,_0x405a12){_0x22b0fd=_0x22b0fd-0x10a;let _0x2c933e=_0x20a564[_0x22b0fd];return _0x2c933e;},_0x22b0(_0x7726c,_0x28c949);}import{ViewDocumentDomEventData as _0x148eb5,ViewDataTransfer as _0x3f5ba9}from'ckeditor5/src/engine.js';const J=globalThis[_0xb5118a(0x13b)],q=_0xb5118a(0x167);export class AIAssistantEditing extends _0x36669a{static get[_0xb5118a(0x13a)](){const _0x141404=_0xb5118a;return _0x141404(0x125);}static get[_0xb5118a(0x11e)](){return!0x0;}static get[_0xb5118a(0x150)](){return!0x0;}[_0xb5118a(0x162)](){const _0x3b3036=_0xb5118a,{editor:_0x24411b}=this,_0xb929fa=[_0x3b3036(0x172)];_0x24411b[_0x3b3036(0x130)][_0x3b3036(0x12d)](_0x3b3036(0x10b))&&_0xb929fa[_0x3b3036(0x157)](_0x3b3036(0x115)),_0x24411b[_0x3b3036(0x126)][_0x3b3036(0x144)](_0x3b3036(0x10c))[_0x3b3036(0x12a)]({'model':q,'view':{'classes':_0xb929fa,'priority':0xc}}),_0x24411b[_0x3b3036(0x126)][_0x3b3036(0x144)](_0x3b3036(0x10c))[_0x3b3036(0x147)]({'model':q,'view':(_0x7b348,{writer:_0x10aa95})=>{const _0x140dc6=_0x3b3036;if(!_0x7b348[_0x140dc6(0x136)][_0x140dc6(0x121)])return null;const _0x515cad=_0x10aa95[_0x140dc6(0x11f)](_0x140dc6(0x151));return _0x10aa95[_0x140dc6(0x13f)]([_0x140dc6(0x172),_0x140dc6(0x139)],_0x515cad),_0x515cad;}});}[_0xb5118a(0x177)](){!async function(_0x2153fa){const _0x28404f=_0x2fc2f1([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]),_0x4901b0=0x3dffc4e1,_0xbfea6b=0x3df8b339^_0x4901b0,_0x15722b=window[_0x2fc2f1([0x44,0x61,0x74,0x65])][_0x2fc2f1([0x6e,0x6f,0x77])](),_0x396621=_0x2153fa[_0x2fc2f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f456a=new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2343dd=>{_0x396621[_0x2fc2f1([0x6f,0x6e,0x63,0x65])](_0x2fc2f1([0x72,0x65,0x61,0x64,0x79]),_0x2343dd);}),_0x5c5920={[_0x2fc2f1([0x6b,0x74,0x79])]:_0x2fc2f1([0x45,0x43]),[_0x2fc2f1([0x75,0x73,0x65])]:_0x2fc2f1([0x73,0x69,0x67]),[_0x2fc2f1([0x63,0x72,0x76])]:_0x2fc2f1([0x50,0x2d,0x32,0x35,0x36]),[_0x2fc2f1([0x78])]:_0x2fc2f1([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]),[_0x2fc2f1([0x79])]:_0x2fc2f1([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]),[_0x2fc2f1([0x61,0x6c,0x67])]:_0x2fc2f1([0x45,0x53,0x32,0x35,0x36])},_0x40d04b=_0x396621[_0x2fc2f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fc2f1([0x67,0x65,0x74])](_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d82bf(){let _0x4abf9f,_0x3ce11c=null,_0x2ed424=null;try{if(_0x40d04b==_0x2fc2f1([0x47,0x50,0x4c]))return _0x2fc2f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4abf9f=_0x118ad1(),!_0x4abf9f)return _0x2fc2f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4abf9f[_0x2fc2f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ed424=_0x297ab5(_0x4abf9f[_0x2fc2f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4abf9f[_0x2fc2f1([0x6a,0x74,0x69])])),await _0x819495()?_0x692ef0()?_0x47cdc7()?_0x2fc2f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x91c583()?(_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fc2f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ce11c=_0x4295c7(_0x2fc2f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fc2f1([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ce11c=_0x4295c7(_0x2fc2f1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46f2d8()):_0x2fc2f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fc2f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fc2f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fc2f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47cdc7(){const _0x251acb=[_0x2fc2f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fc2f1([0x74,0x72,0x69,0x61,0x6c])][_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15722b/0x3e8:0xe10*_0xbfea6b;return _0x4abf9f[_0x2fc2f1([0x65,0x78,0x70])]<_0x251acb;}function _0x692ef0(){const _0x115e43=_0x4abf9f[_0x2fc2f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x115e43&&(!!_0x115e43[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc2f1([0x2a]))||!!_0x115e43[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc2f1([0x41,0x49])));}function _0x91c583(){const _0x2b88ca=_0x22b0,_0x2e6953=_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e6953||0x0==_0x2e6953[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9e8c52}=new URL(window[_0x2fc2f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b88ca(0x14f)]);if(_0x2e6953[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9e8c52))return!0x0;const _0x18006a=_0x9e8c52[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e]));return _0x2e6953[_0x2fc2f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c5f87=>_0x2c5f87[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc2f1([0x2a])))[_0x2fc2f1([0x6d,0x61,0x70])](_0x531965=>_0x531965[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e])))[_0x2fc2f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d1998=>_0x5d1998[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18006a[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fc2f1([0x6d,0x61,0x70])](_0x5c7419=>Array(_0x18006a[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c7419[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fc2f1([0x66,0x69,0x6c,0x6c])](_0x5c7419[0x0]===_0x2fc2f1([0x2a])?_0x2fc2f1([0x2a]):'')[_0x2fc2f1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c7419))[_0x2fc2f1([0x73,0x6f,0x6d,0x65])](_0x2e422d=>_0x18006a[_0x2fc2f1([0x65,0x76,0x65,0x72,0x79])]((_0x209927,_0x22874f)=>_0x2e422d[_0x22874f]===_0x209927||_0x2e422d[_0x22874f]===_0x2fc2f1([0x2a])));}function _0x46f2d8(){return _0x3ce11c&&_0x2ed424?new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x362293,_0x18131a)=>{_0x3ce11c[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x362293,_0x18131a),_0x2ed424[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x1b9024=>{_0x1b9024!=_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64])&&_0x362293(_0x1b9024);},_0x18131a);}):_0x3ce11c||_0x2ed424||_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x297ab5(_0x2821b3,_0x3f7ba2){return new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17a8df=>{if(_0x53bf06())return _0x17a8df(_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64]));_0xb287a7(),_0x396621[_0x2fc2f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fc2f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ed976=!0x1;const _0x4bcd02=_0x4de190();function _0x416058(_0x24bcb9){return!!_0x24bcb9&&(typeof _0x24bcb9===_0x2fc2f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24bcb9===_0x2fc2f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24bcb9[_0x2fc2f1([0x74,0x68,0x65,0x6e])]===_0x2fc2f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24bcb9[_0x2fc2f1([0x63,0x61,0x74,0x63,0x68])]===_0x2fc2f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52c2c7(_0x535900){_0x2f23ee(_0x535900)[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x29cf99=>{if(!_0x29cf99||_0x29cf99[_0x2fc2f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fc2f1([0x6f,0x6b]))return _0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31f55e(_0x33e4e2(_0x4bcd02+_0x3f7ba2))!=_0x29cf99[_0x2fc2f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x2260ff=>(_0x1fd1c0(),_0x2260ff),()=>{const _0x30edf2=_0x5887b3();return null==_0x30edf2?(_0x1fd1c0(),_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64])):_0x2fc2f1(_0x15722b-_0x30edf2>(0x19f340e1^_0x4901b0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x17a8df)[_0x2fc2f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17a8df(_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29f0cb=0x3dc92a61^_0x4901b0;function _0x1fd1c0(){const _0x150149=_0x2fc2f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f55e(_0x33e4e2(_0x2821b3)),_0x3d870f=_0x1de110(_0x31f55e(window[_0x2fc2f1([0x4d,0x61,0x74,0x68])][_0x2fc2f1([0x63,0x65,0x69,0x6c])](_0x15722b/_0x29f0cb)));window[_0x2fc2f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fc2f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x150149,_0x3d870f);}function _0x5887b3(){const _0x2271d0=_0x2fc2f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f55e(_0x33e4e2(_0x2821b3)),_0x235c57=window[_0x2fc2f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fc2f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2271d0);return _0x235c57?window[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1de110(_0x235c57),0x10)*_0x29f0cb:null;}function _0x2f23ee(_0x14d7d1){return new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cb9c0,_0xb05a8b)=>{_0x14d7d1[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x5cb9c0,_0xb05a8b),window[_0x2fc2f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb05a8b,0x3dfe1021^_0x4901b0);});}}_0x396621[_0x2fc2f1([0x6f,0x6e])](_0x2fc2f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f1f43,_0x2a40bd)=>{if(_0x2a40bd[0x0]!=_0x2821b3)return _0x17a8df(_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a40bd[0x1]={..._0x2a40bd[0x1],[_0x2fc2f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4bcd02};},{[_0x2fc2f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fc2f1([0x68,0x69,0x67,0x68])}),_0x396621[_0x2fc2f1([0x6f,0x6e])](_0x2fc2f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2387e2=>{_0x416058(_0x2387e2[_0x2fc2f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ed976=!0x0,_0x52c2c7(_0x2387e2[_0x2fc2f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fc2f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fc2f1([0x6c,0x6f,0x77])}),_0x1f456a[_0x2fc2f1([0x74,0x68,0x65,0x6e])](()=>{_0x2ed976||_0x17a8df(_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53bf06(){return _0x396621[_0x2fc2f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fc2f1([0x76,0x69,0x65,0x77])][_0x2fc2f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fc2f1([0x61,0x75,0x74,0x6f]);}function _0xb287a7(){_0x396621[_0x2fc2f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fc2f1([0x76,0x69,0x65,0x77])][_0x2fc2f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fc2f1([0x61,0x75,0x74,0x6f]);}}function _0x4295c7(_0x5d941c){const _0xb051ae=[new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd837=>setTimeout(_0x3dd837,0x3df6fa2d^_0x4901b0)),_0x1f456a[_0x2fc2f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xce765b=>{let _0x4f9df5=0x0;_0x396621[_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc2f1([0x6f,0x6e])](_0x2fc2f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d31f5,_0x48853c)=>{_0x48853c[0x0][_0x2fc2f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f9df5++,_0x4f9df5==(0x3dffc519^_0x4901b0)&&(_0xce765b(),_0x1d31f5[_0x2fc2f1([0x6f,0x66,0x66])]());});}))];return window[_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fc2f1([0x72,0x61,0x63,0x65])](_0xb051ae)[_0x2fc2f1([0x74,0x68,0x65,0x6e])](()=>_0x5d941c);}async function _0x27b257(){await _0x1f456a,_0x396621[_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc2f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43428d,_0x396621[_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc2f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43428d,_0x396621[_0x2fc2f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2db20b(_0x4e2309){const _0x423fe4=_0xbd47dd();_0x396621[_0x423fe4]=_0x2fc2f1([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e2309,_0x4e2309!=_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64])&&_0x27b257();}function _0xbd47dd(){const _0x401997=window[_0x2fc2f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fc2f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fc2f1([0x6e,0x6f,0x77])]())[_0x2fc2f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fc2f1([0x2e]),'');let _0x98ab8f=_0x2fc2f1([0x6e]);for(let _0xf4b061=0x0;_0xf4b061<_0x401997[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf4b061+=0x2){let _0x2877e2=window[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x401997[_0x2fc2f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf4b061,_0xf4b061+0x2));_0x2877e2>=_0x28404f[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2877e2-=_0x28404f[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x98ab8f+=_0x28404f[_0x2877e2];}return _0x98ab8f;}function _0x118ad1(){const _0x31ec9d=_0x40d04b[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e]));if(0x3!=_0x31ec9d[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a873e(_0x31ec9d[0x1]);function _0x3a873e(_0x14a931){const _0x3cfeb8=_0x1a65e9(_0x14a931);return _0x3cfeb8&&_0x191324()?_0x3cfeb8:null;function _0x191324(){const _0x17dff5=_0x3cfeb8[_0x2fc2f1([0x6a,0x74,0x69])],_0x4c8361=window[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17dff5[_0x2fc2f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17dff5[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f6f78={..._0x3cfeb8,[_0x2fc2f1([0x6a,0x74,0x69])]:_0x17dff5[_0x2fc2f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17dff5[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f6f78[_0x2fc2f1([0x76,0x63])],_0x33e4e2(_0x1f6f78)==_0x4c8361;}}}async function _0x819495(){let _0xdc8233=!0x0;try{const _0x4aa886=_0x40d04b[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e])),[_0x22a28b,_0x2d67e5,_0x2c648e]=_0x4aa886;return _0x2fb365(_0x22a28b),await _0x4be88f(_0x22a28b,_0x2d67e5,_0x2c648e),_0xdc8233;}catch{return!0x1;}function _0x2fb365(_0x2ba7a1){const _0x395652=_0x1a65e9(_0x2ba7a1);_0x395652&&_0x395652[_0x2fc2f1([0x61,0x6c,0x67])]==_0x2fc2f1([0x45,0x53,0x32,0x35,0x36])||(_0xdc8233=!0x1);}async function _0x4be88f(_0x58d37e,_0x3d094a,_0x1434c4){const _0x24070e=window[_0x2fc2f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fc2f1([0x66,0x72,0x6f,0x6d])](_0x595061(_0x1434c4),_0x59ce29=>_0x59ce29[_0x2fc2f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a44c9=new window[(_0x2fc2f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fc2f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58d37e+_0x2fc2f1([0x2e])+_0x3d094a),_0x3a3a8a=window[_0x2fc2f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fc2f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a3a8a)return;const _0x11ed8b=await _0x3a3a8a[_0x2fc2f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fc2f1([0x6a,0x77,0x6b]),_0x5c5920,{[_0x2fc2f1([0x6e,0x61,0x6d,0x65])]:_0x2fc2f1([0x45,0x43,0x44,0x53,0x41]),[_0x2fc2f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fc2f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fc2f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a3a8a[_0x2fc2f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fc2f1([0x6e,0x61,0x6d,0x65])]:_0x2fc2f1([0x45,0x43,0x44,0x53,0x41]),[_0x2fc2f1([0x68,0x61,0x73,0x68])]:{[_0x2fc2f1([0x6e,0x61,0x6d,0x65])]:_0x2fc2f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11ed8b,_0x24070e,_0x4a44c9)||(_0xdc8233=!0x1);}}function _0x1a65e9(_0x3c5ded){return _0x3c5ded[_0x2fc2f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fc2f1([0x65,0x79]))?JSON[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65])](_0x595061(_0x3c5ded)):null;}function _0x595061(_0x425d35){return window[_0x2fc2f1([0x61,0x74,0x6f,0x62])](_0x425d35[_0x2fc2f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fc2f1([0x2b]))[_0x2fc2f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fc2f1([0x2f])));}function _0x33e4e2(_0x3c14a5){let _0x3a3d02=0x1505;function _0x43b8b9(_0x4ea6d8){for(let _0x5e1e95=0x0;_0x5e1e95<_0x4ea6d8[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1e95++){const _0x21ad88=_0x4ea6d8[_0x2fc2f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e1e95);_0x3a3d02=(_0x3a3d02<<0x5)+_0x3a3d02+_0x21ad88,_0x3a3d02&=_0x3a3d02;}}function _0x472673(_0x115e2){Array[_0x2fc2f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x115e2)?_0x115e2[_0x2fc2f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x472673):_0x115e2&&typeof _0x115e2==_0x2fc2f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fc2f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x115e2)[_0x2fc2f1([0x73,0x6f,0x72,0x74])]()[_0x2fc2f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37af04,_0x441e1b])=>{_0x43b8b9(_0x37af04),_0x472673(_0x441e1b);}):_0x43b8b9(window[_0x2fc2f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x115e2));}return _0x472673(_0x3c14a5),_0x3a3d02>>>0x0;}function _0x31f55e(_0x318c15){return _0x318c15[_0x2fc2f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fc2f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fc2f1([0x30]));}function _0x1de110(_0x220ce4){return _0x220ce4[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fc2f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fc2f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x43428d(){}function _0x2fc2f1(_0x2f0d8b){const _0x32291d=_0x22b0;return _0x2f0d8b[_0x32291d(0x13e)](_0x2ecc43=>String[_0x32291d(0x10f)](_0x2ecc43))[_0x32291d(0x15a)]('');}_0x2db20b(await _0x2d82bf());}(this);}[_0xb5118a(0x10e)](){const _0x8b82e7=_0xb5118a,_0x5ead74=this[_0x8b82e7(0x132)][_0x8b82e7(0x15d)];_0x5ead74[_0x8b82e7(0x16c)](_0x2767d6=>{const _0x3ba5e2=_0x8b82e7,_0x1110e7=_0x5ead74[_0x3ba5e2(0x15b)][_0x3ba5e2(0x114)][_0x3ba5e2(0x14e)]();let _0x21f805=0x0;for(const _0x315b27 of _0x1110e7){const _0x10f741=q+':'+_0x21f805;if(_0x5ead74[_0x3ba5e2(0x164)][_0x3ba5e2(0x16e)](_0x10f741))_0x2767d6[_0x3ba5e2(0x12c)](_0x10f741,{'range':_0x315b27});else{if(_0x315b27[_0x3ba5e2(0x131)][_0x3ba5e2(0x163)]){const _0xd5e260=_0x315b27[_0x3ba5e2(0x131)][_0x3ba5e2(0x16f)](({item:_0x5e1ff1})=>!_0x5ead74[_0x3ba5e2(0x11c)][_0x3ba5e2(0x156)](_0x5e1ff1),{'boundaries':_0x315b27});_0x2767d6[_0x3ba5e2(0x169)](_0x10f741,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2767d6[_0x3ba5e2(0x118)](_0xd5e260,_0x315b27[_0x3ba5e2(0x11d)])});}else _0x2767d6[_0x3ba5e2(0x169)](_0x10f741,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x315b27});}_0x21f805++;}});}[_0xb5118a(0x10d)](){const _0xb6e37=_0xb5118a,_0x55b593=this[_0xb6e37(0x132)][_0xb6e37(0x15d)],_0x5a02d0=Array[_0xb6e37(0x11a)](this[_0xb6e37(0x132)][_0xb6e37(0x15d)][_0xb6e37(0x164)][_0xb6e37(0x168)](q));_0x5a02d0[_0xb6e37(0x127)]&&_0x55b593[_0xb6e37(0x16c)](_0x44d963=>{const _0x2f9f9a=_0xb6e37;_0x5a02d0[_0x2f9f9a(0x124)](_0x216726=>{const _0x4f7d07=_0x2f9f9a;_0x44d963[_0x4f7d07(0x142)](_0x216726);});});}[_0xb5118a(0x173)](_0x5dd32f,_0x5492a2){const _0x5e7935=_0xb5118a,_0x555ce5=this[_0x5e7935(0x10a)](),_0x494822=_0x5492a2||_0x555ce5[_0x5e7935(0x16b)]();this[_0x5e7935(0x132)][_0x5e7935(0x15d)][_0x5e7935(0x148)](_0x494822)&&this[_0x5e7935(0x132)][_0x5e7935(0x15d)][_0x5e7935(0x16c)](_0x5abaa3=>{const _0x441ebb=_0x5e7935;this[_0x441ebb(0x10d)](),_0x5492a2||this[_0x441ebb(0x16a)](_0x5abaa3,_0x555ce5),this[_0x441ebb(0x12f)]({'insertAt':_0x494822,'writer':_0x5abaa3,'html':_0x5dd32f});});}[_0xb5118a(0x122)](_0x269d2c){const _0x205322=_0xb5118a,{model:_0x3d5dd7}=this[_0x205322(0x132)],_0x2fce49=this[_0x205322(0x10a)]();_0x3d5dd7[_0x205322(0x16c)](()=>{const _0x2f92c1=_0x205322,_0x2c01ea=this[_0x2f92c1(0x128)](_0x269d2c,_0x2fce49)||this[_0x2f92c1(0x160)](_0x2fce49);this[_0x2f92c1(0x173)](_0x269d2c,_0x2c01ea);});}[_0xb5118a(0x10a)](){const _0x28b3f4=_0xb5118a,_0x2c5ce2=this[_0x28b3f4(0x132)][_0x28b3f4(0x15d)],_0x57ea70=Array[_0x28b3f4(0x11a)](_0x2c5ce2[_0x28b3f4(0x164)][_0x28b3f4(0x168)](q))[_0x28b3f4(0x13e)](_0x58c2b9=>_0x58c2b9[_0x28b3f4(0x133)]());return _0x2c5ce2[_0x28b3f4(0x14b)](_0x57ea70);}[_0xb5118a(0x12f)]({writer:_0x5d6b8e,html:_0x26a7a6,insertAt:_0x1630ea}){const _0x166bdb=_0xb5118a,{view:_0x511863}=this[_0x166bdb(0x132)][_0x166bdb(0x15f)],_0x2e2cda=this[_0x166bdb(0x132)][_0x166bdb(0x171)][_0x166bdb(0x12d)](_0x2a1f9b),_0x390d8f=new J();_0x390d8f[_0x166bdb(0x143)](_0x166bdb(0x175),_0x26a7a6);const _0x3fe2bd=new ClipboardEvent(_0x166bdb(0x113),{'clipboardData':_0x390d8f}),_0x5ecb1d=new _0x148eb5(_0x511863,_0x3fe2bd,{'dataTransfer':new _0x3f5ba9(_0x390d8f)});_0x5d6b8e[_0x166bdb(0x135)](_0x1630ea);const _0x31d60a=(_0x1d6aea,_0x3233fb)=>{const _0x34a73e=_0x166bdb;_0x3233fb[_0x34a73e(0x141)]&&_0x5d6b8e[_0x34a73e(0x135)](_0x3233fb[_0x34a73e(0x141)]);};_0x2e2cda[_0x166bdb(0x155)](_0x166bdb(0x134),_0x31d60a,{'priority':_0x166bdb(0x146)}),_0x511863[_0x166bdb(0x15b)][_0x166bdb(0x15e)](_0x166bdb(0x113),_0x5ecb1d),_0x2e2cda[_0x166bdb(0x112)](_0x166bdb(0x134),_0x31d60a);}[_0xb5118a(0x160)](_0x29ebdc){const _0x39c155=_0xb5118a,{model:_0x128bea}=this[_0x39c155(0x132)],_0x47e826=Array[_0x39c155(0x11a)](_0x29ebdc[_0x39c155(0x15c)]());return _0x47e826[_0x39c155(0x127)]?_0x128bea[_0x39c155(0x138)](_0x47e826[_0x39c155(0x123)]()):_0x29ebdc[_0x39c155(0x176)]();}[_0xb5118a(0x128)](_0x3921e3,_0x2f9605){const _0x1b9d51=_0xb5118a,{model:_0x80f0bf,plugins:_0x49e0ac}=this[_0x1b9d51(0x132)];if(_0x49e0ac[_0x1b9d51(0x16e)](_0x1b9d51(0x14a))){const _0x5d8e78=_0x49e0ac[_0x1b9d51(0x12d)](_0x1b9d51(0x14a))[_0x1b9d51(0x153)](_0x2f9605);if(_0x5d8e78[_0x1b9d51(0x127)]){const _0x3a2238=this[_0x1b9d51(0x13d)](_0x3921e3),_0x205950=this[_0x1b9d51(0x154)](_0x5d8e78,_0x3a2238);return _0x80f0bf[_0x1b9d51(0x13c)](_0x205950,0x0);}}return null;}[_0xb5118a(0x13d)](_0x380684){const _0x1bde44=_0xb5118a,_0x36d57d=this[_0x1bde44(0x132)][_0x1bde44(0x171)][_0x1bde44(0x12d)](_0x1bde44(0x14a)),_0x23eb53=this[_0x1bde44(0x132)][_0x1bde44(0x119)][_0x1bde44(0x152)](_0x380684),_0x4f6353=Array[_0x1bde44(0x11a)](_0x23eb53[_0x1bde44(0x158)]())[_0x1bde44(0x12b)](_0x1d169c=>_0x1d169c['is'](_0x1bde44(0x116),_0x1bde44(0x129)));let _0xa7c584=0x0;return _0x4f6353[_0x1bde44(0x124)](_0x26afb7=>{const _0x29a678=_0x1bde44;_0xa7c584+=_0x36d57d[_0x29a678(0x117)](_0x26afb7);}),_0xa7c584;}[_0xb5118a(0x154)](_0xabfddd,_0x2bfbf4){const _0x5028cb=_0xb5118a,_0x9ec706=this[_0x5028cb(0x132)][_0x5028cb(0x171)][_0x5028cb(0x12d)](_0x5028cb(0x14a)),_0x427cc5=_0x9ec706[_0x5028cb(0x137)](_0xabfddd),_0x2e40ee=_0x9ec706[_0x5028cb(0x111)](_0xabfddd),_0x1164f9=_0x427cc5[_0x5028cb(0x145)]+0x1,_0xfda24=_0x2e40ee[_0x5028cb(0x16d)],_0x22b9f4=_0xabfddd[0x0][_0x5028cb(0x14d)](_0x5028cb(0x129));for(let _0x1dad03=0x0;_0x1dad03<_0x2bfbf4;_0x1dad03++)_0x9ec706[_0x5028cb(0x174)](_0x22b9f4,{'at':_0x1164f9});return _0x22b9f4[_0x5028cb(0x165)](_0x1164f9)[_0x5028cb(0x165)](_0xfda24);}[_0xb5118a(0x16a)](_0x4db917,_0x3c7902){const _0x3dbfad=_0xb5118a,{plugins:_0x3092de}=this[_0x3dbfad(0x132)],{model:_0x1e912a}=_0x4db917;if(!_0x3092de[_0x3dbfad(0x16e)](_0x3dbfad(0x14a)))return;_0x3092de[_0x3dbfad(0x12d)](_0x3dbfad(0x14a))[_0x3dbfad(0x153)](_0x3c7902)[_0x3dbfad(0x127)]&&_0x1e912a[_0x3dbfad(0x140)](_0x3c7902);}}
|
|
23
|
+
const _0x5ce31b=_0x3593;(function(_0x165f79,_0x481c4c){const _0x34b1ac=_0x3593,_0x1c36c5=_0x165f79();while(!![]){try{const _0x5fee45=-parseInt(_0x34b1ac(0xfd))/0x1*(parseInt(_0x34b1ac(0xeb))/0x2)+-parseInt(_0x34b1ac(0xea))/0x3*(parseInt(_0x34b1ac(0xe0))/0x4)+-parseInt(_0x34b1ac(0xf5))/0x5*(-parseInt(_0x34b1ac(0x101))/0x6)+parseInt(_0x34b1ac(0x138))/0x7+-parseInt(_0x34b1ac(0x112))/0x8*(parseInt(_0x34b1ac(0x13e))/0x9)+parseInt(_0x34b1ac(0xf1))/0xa*(-parseInt(_0x34b1ac(0x142))/0xb)+-parseInt(_0x34b1ac(0x13a))/0xc*(parseInt(_0x34b1ac(0x127))/0xd);if(_0x5fee45===_0x481c4c)break;else _0x1c36c5['push'](_0x1c36c5['shift']());}catch(_0x384a41){_0x1c36c5['push'](_0x1c36c5['shift']());}}}(_0xb37c,0x658e6));import{uid as _0x526a37}from'ckeditor5/src/utils.js';import{Plugin as _0x3c93c1}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x48ddc3}from'ckeditor5/src/clipboard.js';function _0x3593(_0x5121aa,_0x2a3343){const _0xb37c8d=_0xb37c();return _0x3593=function(_0x359337,_0x1c952b){_0x359337=_0x359337-0xd7;let _0x3b277b=_0xb37c8d[_0x359337];return _0x3b277b;},_0x3593(_0x5121aa,_0x2a3343);}import{ViewDocumentDomEventData as _0x197994,ViewDataTransfer as _0x4d6a73}from'ckeditor5/src/engine.js';function _0xb37c(){const _0x54b6c8=['lowest','insertContent','parse','2685496OHknGN','markerRange','hideFakeVisualSelection','map','push','addMarker','DataTransfer','removeMarker','_getAISelection','start','afterInit','updateMarker','schema','ck-fake-ai-selection','first','1952ZPoFCW','selection','getSelectedTableCells','conversion','getRows','getChildren','_prepareTableInsertBelowPosition','getMarkersGroup','isCollapsed','insertRows','408ZTqzaj','2PUfQkh','isContent','ai-ui','config','has','getColumnIndexes','10iXeawS','markerToElement','editor','model','57320efshkF','document','resultRange','paste','_createEmptyTableRows','_getDefaultInsertBelowPosition','findAncestor','isAtEnd','12413LGHFEq','isPremiumPlugin','table','filter','276dqylWM','text/html','href','getRange','createSelection','for','setSelection','once','_getTableRowCountFromContent','ck-fake-ai-selection_collapsed','markers','fire','AIAssistantEditing','off','getRanges','insertContentBelow','ck-ai-assistant-ui_theme','40IZAOjD','showFakeVisualSelection','getChild','createUIElement','span','fromCharCode','getSelectedBlocks','markerToHighlight','element','editingDowncast','from','_resetContentOfSelectedTableCells','pluginName','end','init','last','getRowIndexes','contentInsertion','getFirstRange','getLastMatchingPosition','editing','26REnhzR','join','pop','forEach','createRange','createPositionAfter','isOfficialPlugin','deleteContent','canEditAt','length','setData','addClass','_pasteHTMLUsingClipboard','data','createPositionAt','plugins','ai.assistant.useTheme','4909898UOFXCB','TableUtils','1281972pvYDDS','change','get','getLastPosition','497169WXMDQw'];_0xb37c=function(){return _0x54b6c8;};return _0xb37c();}const w=globalThis[_0x5ce31b(0xd7)],f=_0x5ce31b(0xed);export class AIAssistantEditing extends _0x3c93c1{static get[_0x5ce31b(0x11e)](){const _0x5a5fb3=_0x5ce31b;return _0x5a5fb3(0x10d);}static get[_0x5ce31b(0x12d)](){return!0x0;}static get[_0x5ce31b(0xfe)](){return!0x0;}[_0x5ce31b(0x120)](){const _0x34f312=_0x5ce31b,{editor:_0xd31706}=this,_0x5b7cb6=[_0x34f312(0xde)];_0xd31706[_0x34f312(0xee)][_0x34f312(0x13c)](_0x34f312(0x137))&&_0x5b7cb6[_0x34f312(0x146)](_0x34f312(0x111)),_0xd31706[_0x34f312(0xe3)][_0x34f312(0x106)](_0x34f312(0x11b))[_0x34f312(0x119)]({'model':f,'view':{'classes':_0x5b7cb6,'priority':0xc}}),_0xd31706[_0x34f312(0xe3)][_0x34f312(0x106)](_0x34f312(0x11b))[_0x34f312(0xf2)]({'model':f,'view':(_0xf76108,{writer:_0x12842c})=>{const _0x24cb3f=_0x34f312;if(!_0xf76108[_0x24cb3f(0x143)][_0x24cb3f(0xe8)])return null;const _0x182620=_0x12842c[_0x24cb3f(0x115)](_0x24cb3f(0x116));return _0x12842c[_0x24cb3f(0x132)]([_0x24cb3f(0xde),_0x24cb3f(0x10a)],_0x182620),_0x182620;}});}[_0x5ce31b(0xdb)](){!async function(_0x127592){const _0x30cc80=_0x370aef([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]),_0x391f1b=0x3dffc4e1,_0x22e7ff=0x3df8bce9^_0x391f1b,_0x5f00e1=window[_0x370aef([0x44,0x61,0x74,0x65])][_0x370aef([0x6e,0x6f,0x77])](),_0x326b62=_0x127592[_0x370aef([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c4247=new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbdaf8c=>{_0x326b62[_0x370aef([0x6f,0x6e,0x63,0x65])](_0x370aef([0x72,0x65,0x61,0x64,0x79]),_0xbdaf8c);}),_0x32d31c={[_0x370aef([0x6b,0x74,0x79])]:_0x370aef([0x45,0x43]),[_0x370aef([0x75,0x73,0x65])]:_0x370aef([0x73,0x69,0x67]),[_0x370aef([0x63,0x72,0x76])]:_0x370aef([0x50,0x2d,0x32,0x35,0x36]),[_0x370aef([0x78])]:_0x370aef([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]),[_0x370aef([0x79])]:_0x370aef([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]),[_0x370aef([0x61,0x6c,0x67])]:_0x370aef([0x45,0x53,0x32,0x35,0x36])},_0x731a88=_0x326b62[_0x370aef([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x370aef([0x67,0x65,0x74])](_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fb1a7(){let _0x280495,_0x303c69=null,_0x1a7654=null;try{if(_0x731a88==_0x370aef([0x47,0x50,0x4c]))return _0x370aef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x280495=_0x57dd61(),!_0x280495)return _0x370aef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x280495[_0x370aef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a7654=_0x8e2184(_0x280495[_0x370aef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x280495[_0x370aef([0x6a,0x74,0x69])])),await _0x576538()?_0x5599c5()?_0x45bbc0()?_0x370aef([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f5e20()?(_0x280495[_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x370aef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x303c69=_0x4a9ac5(_0x370aef([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x280495[_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x370aef([0x74,0x72,0x69,0x61,0x6c])&&(_0x303c69=_0x4a9ac5(_0x370aef([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30b8f0()):_0x370aef([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x370aef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x370aef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x370aef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45bbc0(){const _0x1e098e=[_0x370aef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x370aef([0x74,0x72,0x69,0x61,0x6c])][_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280495[_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f00e1/0x3e8:0xe10*_0x22e7ff;return _0x280495[_0x370aef([0x65,0x78,0x70])]<_0x1e098e;}function _0x5599c5(){const _0x42309a=_0x280495[_0x370aef([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42309a&&(!!_0x42309a[_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x370aef([0x2a]))||!!_0x42309a[_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x370aef([0x41,0x49])));}function _0x1f5e20(){const _0x5b910f=_0x3593,_0x4fee5c=_0x280495[_0x370aef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fee5c||0x0==_0x4fee5c[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb76b}=new URL(window[_0x370aef([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5b910f(0x103)]);if(_0x4fee5c[_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb76b))return!0x0;const _0x14f9b8=_0xb76b[_0x370aef([0x73,0x70,0x6c,0x69,0x74])](_0x370aef([0x2e]));return _0x4fee5c[_0x370aef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e6f3a=>_0x4e6f3a[_0x370aef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x370aef([0x2a])))[_0x370aef([0x6d,0x61,0x70])](_0x1a69e0=>_0x1a69e0[_0x370aef([0x73,0x70,0x6c,0x69,0x74])](_0x370aef([0x2e])))[_0x370aef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2db858=>_0x2db858[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x14f9b8[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x370aef([0x6d,0x61,0x70])](_0x1f6839=>Array(_0x14f9b8[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f6839[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x370aef([0x66,0x69,0x6c,0x6c])](_0x1f6839[0x0]===_0x370aef([0x2a])?_0x370aef([0x2a]):'')[_0x370aef([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f6839))[_0x370aef([0x73,0x6f,0x6d,0x65])](_0xdfa7e7=>_0x14f9b8[_0x370aef([0x65,0x76,0x65,0x72,0x79])]((_0x58752b,_0x59cd02)=>_0xdfa7e7[_0x59cd02]===_0x58752b||_0xdfa7e7[_0x59cd02]===_0x370aef([0x2a])));}function _0x30b8f0(){return _0x303c69&&_0x1a7654?new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c748d,_0x362416)=>{_0x303c69[_0x370aef([0x74,0x68,0x65,0x6e])](_0x2c748d,_0x362416),_0x1a7654[_0x370aef([0x74,0x68,0x65,0x6e])](_0x22b107=>{_0x22b107!=_0x370aef([0x56,0x61,0x6c,0x69,0x64])&&_0x2c748d(_0x22b107);},_0x362416);}):_0x303c69||_0x1a7654||_0x370aef([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8e2184(_0x47ee18,_0x2ece55){return new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x553669=>{if(_0x251491())return _0x553669(_0x370aef([0x56,0x61,0x6c,0x69,0x64]));_0x5461e7(),_0x326b62[_0x370aef([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x370aef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d8406=!0x1;const _0xd01be8=_0x526a37();function _0x513d71(_0x5cfa1b){return!!_0x5cfa1b&&(typeof _0x5cfa1b===_0x370aef([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5cfa1b===_0x370aef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5cfa1b[_0x370aef([0x74,0x68,0x65,0x6e])]===_0x370aef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5cfa1b[_0x370aef([0x63,0x61,0x74,0x63,0x68])]===_0x370aef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ad089(_0x448eb6){_0x516304(_0x448eb6)[_0x370aef([0x74,0x68,0x65,0x6e])](_0x3687e7=>{if(!_0x3687e7||_0x3687e7[_0x370aef([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x370aef([0x6f,0x6b]))return _0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26fa7a(_0x45fcf5(_0xd01be8+_0x2ece55))!=_0x3687e7[_0x370aef([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x370aef([0x56,0x61,0x6c,0x69,0x64]);})[_0x370aef([0x74,0x68,0x65,0x6e])](_0x33cde7=>(_0x4af4ec(),_0x33cde7),()=>{const _0x1b8e5c=_0x3edfb6();return null==_0x1b8e5c?(_0x4af4ec(),_0x370aef([0x56,0x61,0x6c,0x69,0x64])):_0x370aef(_0x5f00e1-_0x1b8e5c>(0x19f340e1^_0x391f1b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x370aef([0x74,0x68,0x65,0x6e])](_0x553669)[_0x370aef([0x63,0x61,0x74,0x63,0x68])](()=>{_0x553669(_0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x34661b=0x3dc92a61^_0x391f1b;function _0x4af4ec(){const _0x5cc3f8=_0x370aef([0x6c,0x6c,0x63,0x74,0x2d])+_0x26fa7a(_0x45fcf5(_0x47ee18)),_0xb0ac90=_0x3fb2fa(_0x26fa7a(window[_0x370aef([0x4d,0x61,0x74,0x68])][_0x370aef([0x63,0x65,0x69,0x6c])](_0x5f00e1/_0x34661b)));window[_0x370aef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x370aef([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cc3f8,_0xb0ac90);}function _0x3edfb6(){const _0x570563=_0x370aef([0x6c,0x6c,0x63,0x74,0x2d])+_0x26fa7a(_0x45fcf5(_0x47ee18)),_0x31b36a=window[_0x370aef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x370aef([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x570563);return _0x31b36a?window[_0x370aef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fb2fa(_0x31b36a),0x10)*_0x34661b:null;}function _0x516304(_0x40f149){return new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31e392,_0x3ec30e)=>{_0x40f149[_0x370aef([0x74,0x68,0x65,0x6e])](_0x31e392,_0x3ec30e),window[_0x370aef([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ec30e,0x3dfe1021^_0x391f1b);});}}_0x326b62[_0x370aef([0x6f,0x6e])](_0x370aef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21aba5,_0x2aaca5)=>{if(_0x2aaca5[0x0]!=_0x47ee18)return _0x553669(_0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2aaca5[0x1]={..._0x2aaca5[0x1],[_0x370aef([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd01be8};},{[_0x370aef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x370aef([0x68,0x69,0x67,0x68])}),_0x326b62[_0x370aef([0x6f,0x6e])](_0x370aef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4de7cd=>{_0x513d71(_0x4de7cd[_0x370aef([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d8406=!0x0,_0x3ad089(_0x4de7cd[_0x370aef([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x370aef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x370aef([0x6c,0x6f,0x77])}),_0x4c4247[_0x370aef([0x74,0x68,0x65,0x6e])](()=>{_0x1d8406||_0x553669(_0x370aef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x251491(){return _0x326b62[_0x370aef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x370aef([0x76,0x69,0x65,0x77])][_0x370aef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x370aef([0x61,0x75,0x74,0x6f]);}function _0x5461e7(){_0x326b62[_0x370aef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x370aef([0x76,0x69,0x65,0x77])][_0x370aef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x370aef([0x61,0x75,0x74,0x6f]);}}function _0x4a9ac5(_0x328be2){const _0x27b373=[new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bed4b=>setTimeout(_0x2bed4b,0x3df6fa2d^_0x391f1b)),_0x4c4247[_0x370aef([0x74,0x68,0x65,0x6e])](()=>new window[(_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x280c65=>{let _0x133afc=0x0;_0x326b62[_0x370aef([0x6d,0x6f,0x64,0x65,0x6c])][_0x370aef([0x6f,0x6e])](_0x370aef([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5281bd,_0x59c632)=>{_0x59c632[0x0][_0x370aef([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x133afc++,_0x133afc==(0x3dffc519^_0x391f1b)&&(_0x280c65(),_0x5281bd[_0x370aef([0x6f,0x66,0x66])]());});}))];return window[_0x370aef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x370aef([0x72,0x61,0x63,0x65])](_0x27b373)[_0x370aef([0x74,0x68,0x65,0x6e])](()=>_0x328be2);}async function _0x1f5837(){await _0x4c4247,_0x326b62[_0x370aef([0x6d,0x6f,0x64,0x65,0x6c])][_0x370aef([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x420294,_0x326b62[_0x370aef([0x6d,0x6f,0x64,0x65,0x6c])][_0x370aef([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x420294,_0x326b62[_0x370aef([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x370aef([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35d94a(_0x3f7085){const _0x4e0574=_0x54a92a();_0x326b62[_0x4e0574]=_0x370aef([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f7085,_0x3f7085!=_0x370aef([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5837();}function _0x54a92a(){const _0x13ebc8=window[_0x370aef([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x370aef([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x370aef([0x6e,0x6f,0x77])]())[_0x370aef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x370aef([0x2e]),'');let _0x2cab07=_0x370aef([0x6e]);for(let _0x5bcadf=0x0;_0x5bcadf<_0x13ebc8[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bcadf+=0x2){let _0x8a9d75=window[_0x370aef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13ebc8[_0x370aef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bcadf,_0x5bcadf+0x2));_0x8a9d75>=_0x30cc80[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8a9d75-=_0x30cc80[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2cab07+=_0x30cc80[_0x8a9d75];}return _0x2cab07;}function _0x57dd61(){const _0x39a128=_0x731a88[_0x370aef([0x73,0x70,0x6c,0x69,0x74])](_0x370aef([0x2e]));if(0x3!=_0x39a128[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x513974(_0x39a128[0x1]);function _0x513974(_0x36a782){const _0x946a3d=_0x45afc8(_0x36a782);return _0x946a3d&&_0x225fa4()?_0x946a3d:null;function _0x225fa4(){const _0x4665bf=_0x946a3d[_0x370aef([0x6a,0x74,0x69])],_0x441bbd=window[_0x370aef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4665bf[_0x370aef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4665bf[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2336f0={..._0x946a3d,[_0x370aef([0x6a,0x74,0x69])]:_0x4665bf[_0x370aef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4665bf[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2336f0[_0x370aef([0x76,0x63])],_0x45fcf5(_0x2336f0)==_0x441bbd;}}}async function _0x576538(){let _0x346a44=!0x0;try{const _0x1c0127=_0x731a88[_0x370aef([0x73,0x70,0x6c,0x69,0x74])](_0x370aef([0x2e])),[_0x580801,_0x5d6b9c,_0x31d962]=_0x1c0127;return _0x24d2b3(_0x580801),await _0x3665a1(_0x580801,_0x5d6b9c,_0x31d962),_0x346a44;}catch{return!0x1;}function _0x24d2b3(_0xeeee28){const _0xebfadb=_0x45afc8(_0xeeee28);_0xebfadb&&_0xebfadb[_0x370aef([0x61,0x6c,0x67])]==_0x370aef([0x45,0x53,0x32,0x35,0x36])||(_0x346a44=!0x1);}async function _0x3665a1(_0x547b40,_0x5157a8,_0x51c93a){const _0x29d185=window[_0x370aef([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x370aef([0x66,0x72,0x6f,0x6d])](_0x153884(_0x51c93a),_0x27bf8b=>_0x27bf8b[_0x370aef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x542d88=new window[(_0x370aef([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x370aef([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x547b40+_0x370aef([0x2e])+_0x5157a8),_0x3686e0=window[_0x370aef([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x370aef([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3686e0)return;const _0xd9c4c6=await _0x3686e0[_0x370aef([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x370aef([0x6a,0x77,0x6b]),_0x32d31c,{[_0x370aef([0x6e,0x61,0x6d,0x65])]:_0x370aef([0x45,0x43,0x44,0x53,0x41]),[_0x370aef([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x370aef([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x370aef([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3686e0[_0x370aef([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x370aef([0x6e,0x61,0x6d,0x65])]:_0x370aef([0x45,0x43,0x44,0x53,0x41]),[_0x370aef([0x68,0x61,0x73,0x68])]:{[_0x370aef([0x6e,0x61,0x6d,0x65])]:_0x370aef([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd9c4c6,_0x29d185,_0x542d88)||(_0x346a44=!0x1);}}function _0x45afc8(_0x48c85b){return _0x48c85b[_0x370aef([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x370aef([0x65,0x79]))?JSON[_0x370aef([0x70,0x61,0x72,0x73,0x65])](_0x153884(_0x48c85b)):null;}function _0x153884(_0x577384){return window[_0x370aef([0x61,0x74,0x6f,0x62])](_0x577384[_0x370aef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x370aef([0x2b]))[_0x370aef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x370aef([0x2f])));}function _0x45fcf5(_0x882780){let _0x16a8da=0x1505;function _0x18122c(_0x2d02a6){for(let _0x35fe1a=0x0;_0x35fe1a<_0x2d02a6[_0x370aef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35fe1a++){const _0xe4075d=_0x2d02a6[_0x370aef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35fe1a);_0x16a8da=(_0x16a8da<<0x5)+_0x16a8da+_0xe4075d,_0x16a8da&=_0x16a8da;}}function _0x49fe1a(_0x4ed96a){Array[_0x370aef([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ed96a)?_0x4ed96a[_0x370aef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49fe1a):_0x4ed96a&&typeof _0x4ed96a==_0x370aef([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x370aef([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ed96a)[_0x370aef([0x73,0x6f,0x72,0x74])]()[_0x370aef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3cfc1b,_0xdfcbab])=>{_0x18122c(_0x3cfc1b),_0x49fe1a(_0xdfcbab);}):_0x18122c(window[_0x370aef([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ed96a));}return _0x49fe1a(_0x882780),_0x16a8da>>>0x0;}function _0x26fa7a(_0x2aef33){return _0x2aef33[_0x370aef([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x370aef([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x370aef([0x30]));}function _0x3fb2fa(_0x76d8f2){return _0x76d8f2[_0x370aef([0x73,0x70,0x6c,0x69,0x74])]('')[_0x370aef([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x370aef([0x6a,0x6f,0x69,0x6e])]('');}function _0x420294(){}function _0x370aef(_0x33bdd9){const _0x35c3e6=_0x3593;return _0x33bdd9[_0x35c3e6(0x145)](_0x432316=>String[_0x35c3e6(0x117)](_0x432316))[_0x35c3e6(0x128)]('');}_0x35d94a(await _0x2fb1a7());}(this);}[_0x5ce31b(0x113)](){const _0x3871d7=_0x5ce31b,_0x423b07=this[_0x3871d7(0xf3)][_0x3871d7(0xf4)];_0x423b07[_0x3871d7(0x13b)](_0x272753=>{const _0xf0fb86=_0x3871d7,_0x35017f=_0x423b07[_0xf0fb86(0xf6)][_0xf0fb86(0xe1)][_0xf0fb86(0x10f)]();let _0x30ece6=0x0;for(const _0x70597 of _0x35017f){const _0x45b852=f+':'+_0x30ece6;if(_0x423b07[_0xf0fb86(0x10b)][_0xf0fb86(0xef)](_0x45b852))_0x272753[_0xf0fb86(0xdc)](_0x45b852,{'range':_0x70597});else{if(_0x70597[_0xf0fb86(0xda)][_0xf0fb86(0xfc)]){const _0x22a96d=_0x70597[_0xf0fb86(0xda)][_0xf0fb86(0x125)](({item:_0x4a5fd})=>!_0x423b07[_0xf0fb86(0xdd)][_0xf0fb86(0xec)](_0x4a5fd),{'boundaries':_0x70597});_0x272753[_0xf0fb86(0x147)](_0x45b852,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x272753[_0xf0fb86(0x12b)](_0x22a96d,_0x70597[_0xf0fb86(0x11f)])});}else _0x272753[_0xf0fb86(0x147)](_0x45b852,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x70597});}_0x30ece6++;}});}[_0x5ce31b(0x144)](){const _0x4d5742=_0x5ce31b,_0x128568=this[_0x4d5742(0xf3)][_0x4d5742(0xf4)],_0x369ddf=Array[_0x4d5742(0x11c)](this[_0x4d5742(0xf3)][_0x4d5742(0xf4)][_0x4d5742(0x10b)][_0x4d5742(0xe7)](f));_0x369ddf[_0x4d5742(0x130)]&&_0x128568[_0x4d5742(0x13b)](_0x10c399=>{const _0x8193a0=_0x4d5742;_0x369ddf[_0x8193a0(0x12a)](_0x5572f7=>{const _0x2d6fba=_0x8193a0;_0x10c399[_0x2d6fba(0xd8)](_0x5572f7);});});}[_0x5ce31b(0x140)](_0x687d57,_0x614fa7){const _0x7cfdbd=_0x5ce31b,_0x5c5da4=this[_0x7cfdbd(0xd9)](),_0x4439df=_0x614fa7||_0x5c5da4[_0x7cfdbd(0x124)]();this[_0x7cfdbd(0xf3)][_0x7cfdbd(0xf4)][_0x7cfdbd(0x12f)](_0x4439df)&&this[_0x7cfdbd(0xf3)][_0x7cfdbd(0xf4)][_0x7cfdbd(0x13b)](_0x409fb4=>{const _0x2eb4c6=_0x7cfdbd;this[_0x2eb4c6(0x144)](),_0x614fa7||this[_0x2eb4c6(0x11d)](_0x409fb4,_0x5c5da4),this[_0x2eb4c6(0x133)]({'insertAt':_0x4439df,'writer':_0x409fb4,'html':_0x687d57});});}[_0x5ce31b(0x110)](_0xbf2af1){const _0x246b3c=_0x5ce31b,{model:_0x3a1000}=this[_0x246b3c(0xf3)],_0x57bfaf=this[_0x246b3c(0xd9)]();_0x3a1000[_0x246b3c(0x13b)](()=>{const _0xf51703=_0x246b3c,_0x37d63c=this[_0xf51703(0xe6)](_0xbf2af1,_0x57bfaf)||this[_0xf51703(0xfa)](_0x57bfaf);this[_0xf51703(0x140)](_0xbf2af1,_0x37d63c);});}[_0x5ce31b(0xd9)](){const _0x1e41ee=_0x5ce31b,_0x467704=this[_0x1e41ee(0xf3)][_0x1e41ee(0xf4)],_0x522ef3=Array[_0x1e41ee(0x11c)](_0x467704[_0x1e41ee(0x10b)][_0x1e41ee(0xe7)](f))[_0x1e41ee(0x145)](_0x3601e4=>_0x3601e4[_0x1e41ee(0x104)]());return _0x467704[_0x1e41ee(0x105)](_0x522ef3);}[_0x5ce31b(0x133)]({writer:_0x4ee4ed,html:_0x371e72,insertAt:_0x2424cd}){const _0x4f082e=_0x5ce31b,{view:_0x3b0b76}=this[_0x4f082e(0xf3)][_0x4f082e(0x126)],_0xf324cb=this[_0x4f082e(0xf3)][_0x4f082e(0x136)][_0x4f082e(0x13c)](_0x48ddc3),_0x1a4e3b=new w();_0x1a4e3b[_0x4f082e(0x131)](_0x4f082e(0x102),_0x371e72);const _0x205d00=new ClipboardEvent(_0x4f082e(0xf8),{'clipboardData':_0x1a4e3b}),_0x4b6741=new _0x197994(_0x3b0b76,_0x205d00,{'dataTransfer':new _0x4d6a73(_0x1a4e3b)});_0x4ee4ed[_0x4f082e(0x107)](_0x2424cd);const _0x5b7a7c=(_0x22a15b,_0x446d26)=>{const _0x31b315=_0x4f082e;_0x446d26[_0x31b315(0xf7)]&&_0x4ee4ed[_0x31b315(0x107)](_0x446d26[_0x31b315(0xf7)]);};_0xf324cb[_0x4f082e(0x108)](_0x4f082e(0x123),_0x5b7a7c,{'priority':_0x4f082e(0x13f)}),_0x3b0b76[_0x4f082e(0xf6)][_0x4f082e(0x10c)](_0x4f082e(0xf8),_0x4b6741),_0xf324cb[_0x4f082e(0x10e)](_0x4f082e(0x123),_0x5b7a7c);}[_0x5ce31b(0xfa)](_0x476fef){const _0x576972=_0x5ce31b,{model:_0x4b1a9b}=this[_0x576972(0xf3)],_0xaf3c11=Array[_0x576972(0x11c)](_0x476fef[_0x576972(0x118)]());return _0xaf3c11[_0x576972(0x130)]?_0x4b1a9b[_0x576972(0x12c)](_0xaf3c11[_0x576972(0x129)]()):_0x476fef[_0x576972(0x13d)]();}[_0x5ce31b(0xe6)](_0x5c84c4,_0x1ee9e1){const _0xda051b=_0x5ce31b,{model:_0x4d6d8c,plugins:_0x3b83e0}=this[_0xda051b(0xf3)];if(_0x3b83e0[_0xda051b(0xef)](_0xda051b(0x139))){const _0x2b3b39=_0x3b83e0[_0xda051b(0x13c)](_0xda051b(0x139))[_0xda051b(0xe2)](_0x1ee9e1);if(_0x2b3b39[_0xda051b(0x130)]){const _0x588ce4=this[_0xda051b(0x109)](_0x5c84c4),_0x35a55b=this[_0xda051b(0xf9)](_0x2b3b39,_0x588ce4);return _0x4d6d8c[_0xda051b(0x135)](_0x35a55b,0x0);}}return null;}[_0x5ce31b(0x109)](_0x210d25){const _0x3bae33=_0x5ce31b,_0xf3645f=this[_0x3bae33(0xf3)][_0x3bae33(0x136)][_0x3bae33(0x13c)](_0x3bae33(0x139)),_0x496b81=this[_0x3bae33(0xf3)][_0x3bae33(0x134)][_0x3bae33(0x141)](_0x210d25),_0x860cec=Array[_0x3bae33(0x11c)](_0x496b81[_0x3bae33(0xe5)]())[_0x3bae33(0x100)](_0x1a12fb=>_0x1a12fb['is'](_0x3bae33(0x11a),_0x3bae33(0xff)));let _0x3792c2=0x0;return _0x860cec[_0x3bae33(0x12a)](_0x1817c0=>{const _0x3e8ada=_0x3bae33;_0x3792c2+=_0xf3645f[_0x3e8ada(0xe4)](_0x1817c0);}),_0x3792c2;}[_0x5ce31b(0xf9)](_0x11cb31,_0xd1edc5){const _0x390846=_0x5ce31b,_0x132c8d=this[_0x390846(0xf3)][_0x390846(0x136)][_0x390846(0x13c)](_0x390846(0x139)),_0x514a0f=_0x132c8d[_0x390846(0x122)](_0x11cb31),_0xc0504a=_0x132c8d[_0x390846(0xf0)](_0x11cb31),_0x225bd0=_0x514a0f[_0x390846(0x121)]+0x1,_0x324b44=_0xc0504a[_0x390846(0xdf)],_0x2c8025=_0x11cb31[0x0][_0x390846(0xfb)](_0x390846(0xff));for(let _0x1d844a=0x0;_0x1d844a<_0xd1edc5;_0x1d844a++)_0x132c8d[_0x390846(0xe9)](_0x2c8025,{'at':_0x225bd0});return _0x2c8025[_0x390846(0x114)](_0x225bd0)[_0x390846(0x114)](_0x324b44);}[_0x5ce31b(0x11d)](_0x35772b,_0x4ba173){const _0x5ce6cb=_0x5ce31b,{plugins:_0x350dbf}=this[_0x5ce6cb(0xf3)],{model:_0x3e8d3f}=_0x35772b;if(!_0x350dbf[_0x5ce6cb(0xef)](_0x5ce6cb(0x139)))return;_0x350dbf[_0x5ce6cb(0x13c)](_0x5ce6cb(0x139))[_0x5ce6cb(0xe2)](_0x4ba173)[_0x5ce6cb(0x130)]&&_0x3e8d3f[_0x5ce6cb(0x12e)](_0x4ba173);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x36d938=_0x20d8;(function(_0x3058d1,_0x4c735b){const _0x24097c=_0x20d8,_0x45e48a=_0x3058d1();while(!![]){try{const _0x126293=-parseInt(_0x24097c(0xf2))/0x1+parseInt(_0x24097c(0xe6))/0x2*(parseInt(_0x24097c(0x100))/0x3)+parseInt(_0x24097c(0xda))/0x4*(parseInt(_0x24097c(0xb1))/0x5)+-parseInt(_0x24097c(0x10f))/0x6+-parseInt(_0x24097c(0xa6))/0x7+-parseInt(_0x24097c(0xa4))/0x8*(-parseInt(_0x24097c(0x124))/0x9)+parseInt(_0x24097c(0x11a))/0xa*(parseInt(_0x24097c(0x113))/0xb);if(_0x126293===_0x4c735b)break;else _0x45e48a['push'](_0x45e48a['shift']());}catch(_0x50cf63){_0x45e48a['push'](_0x45e48a['shift']());}}}(_0x1a62,0xe9cd6));import{Plugin as _0x3d0d0e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x127416,IconRobotPencil as _0x261280}from'ckeditor5/src/icons.js';import{first as _0x1c1351,CKEditorError as _0x31baf1}from'ckeditor5/src/utils.js';import{createDropdown as _0x9df615,addMenuToDropdown as _0x15c4b3,ButtonView as _0x338c95,MenuBarMenuListItemButtonView as _0x2f4414,Dialog as _0x35fef8,DialogViewPosition as _0x2f19e2,MenuBarMenuView as _0x566b54,MenuBarMenuListView as _0x349b3c,MenuBarMenuListItemView as _0x5a1f7a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4644cf,UNGROUPED_COMMANDS_GROUP_ID as _0x116a91}from'./utils/normalizecommandsconfig.js';function _0x20d8(_0x14730b,_0x38ce2b){const _0x1a62d3=_0x1a62();return _0x20d8=function(_0x20d856,_0x9d93ef){_0x20d856=_0x20d856-0x86;let _0x544e1e=_0x1a62d3[_0x20d856];return _0x544e1e;},_0x20d8(_0x14730b,_0x38ce2b);}import{AIAssistantEditing as _0x19c546}from'./aiassistantediting.js';import{AIAdapter as _0x5d4c7c}from'./adapters/aiadapter.js';import{getTranslation as _0x601d06}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x59df15}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x57727b}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3f1cce}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5a78d0}from'./ui/form/aiformtoolbarview.js';function _0x1a62(){const _0x21fcf2=['map','tableOfContents','buttonView','comment','componentFactory','addMany','hideUI','config','showFakeVisualSelection','3567KgdyBn','init','ai-commands-config-order-collision','_onExecute','featureNotAllowed','show','length','replaceContent','menuView','panelView','order','updateView','DataTransfer','isOfficialPlugin','showUI','8528790pQfnaS','splice','children','AIAssistantUI','407oEikgf','setSelection','ai.assistant.disabledElements','menuBar:aiAssistant','replace','push','hideFakeVisualSelection','768310VAtUko','AI\x20is\x20writing','INSERT','_commandDefinitions','editing','includes','ck-ai-assistant-ui','_getMenuBarGroupButtons','evaluationLimit','_populateMenuBarMenu','35793uhPmWG','_showLicenseError','items','define','delegate','getData','aiLicenseKeyUsageLimit','expired','getSelectedElement','menuBar:aiCommands','fire','change:isError','buttons','aiLicenseKeyInvalid','_licenseKeyCheckInterval','schema','Generated\x20content:\x20%0','aiCommands','usageLimit','aiLicenseKeyExpired','text/html','requiresContent','aiLicenseKeyNotAllowed','ai.assistant.useTheme','trim','isOn','_dialog','REPLACE','from','execute','_uiCssClasses','EDITOR_TOP_SIDE','enabledCommandsIds','label','aiLicenseKeyValid','change:enabledCommandsIds','requires','getLimitElement','\x20ck-ai-assistant-ui_theme','update','once','_getResolvedCommandsDefinitions','aiLicenseKeyDomainLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuPanelClass','selection','set','polite','pluginName','808ePJEEj','source','8736847jPhzws','reset','aiLicenseKeyEvaluationLimit','AI\x20Assistant','licenseKey','_initAriaAiStatusChangeAnnouncements','plugins','editor','_forceMarkersCopy','queryView','aiLicenseKeyTrialLimit','5540995KFrAEW','announce','ck-ai-commands-dropdown\x20','AI\x20Commands','wasMoved','focus','copy','aiAssistant','bind','</p>','forEach','destroy','menuitemcheckbox','add','isFlat','isEnabled','change:value','_formView','_createAIAssistantUIButton','hide','isPremiumPlugin','custom','domainLimit','currentContext','prompt','model','ai.assistant.commands','ai.assistant.contentAreaCssClass','values','groupLabel','getRanges','get','invalid','promptView','commands','contentArea','media','insertContentBelow','render','AIAssistant','rawHtml','4WyfAEG','listenTo','updatePosition','document','insertContent','filter','_aiAssistantController','view','<p>','_aiAdapter','text','change:isProcessing','892WPKsAo','body','locale','showAIAssistant','command:','sort','trialLimit','textAdapter','ck-ai-assistant-button\x20','isCollapsed','errorView','getSelectedBlocks','1255677bXSgHY','groupId','change','fieldView','_initView'];_0x1a62=function(){return _0x21fcf2;};return _0x1a62();}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x36d938(0x10c)];import{ClipboardMarkersUtils as _0x46538f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x382f19,ViewDataTransfer as _0x497304}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3d0d0e{[_0x36d938(0xaa)];[_0x36d938(0x132)];[_0x36d938(0x8d)];[_0x36d938(0xc2)];[_0x36d938(0xe3)];[_0x36d938(0xe0)];[_0x36d938(0x91)]='';static get[_0x36d938(0xa3)](){const _0x2d8367=_0x36d938;return _0x2d8367(0x112);}static get[_0x36d938(0x10d)](){return!0x0;}static get[_0x36d938(0xc5)](){return!0x0;}static get[_0x36d938(0x97)](){return[_0x46538f,_0x19c546,_0x5d4c7c,_0x35fef8];}constructor(_0x39723e){const _0x55cad=_0x36d938;super(_0x39723e),_0x39723e[_0x55cad(0xfe)][_0x55cad(0x127)](_0x55cad(0x115),[_0x55cad(0xd5),_0x55cad(0xd9),_0x55cad(0xf8)]),_0x39723e[_0x55cad(0xfe)][_0x55cad(0x127)](_0x55cad(0xcc),''),_0x39723e[_0x55cad(0xfe)][_0x55cad(0x127)](_0x55cad(0x8a),!0x0),this[_0x55cad(0x91)]=_0x55cad(0x120)+(_0x39723e[_0x55cad(0xfe)][_0x55cad(0xd0)](_0x55cad(0x8a))?_0x55cad(0x99):'');}[_0x36d938(0x101)](){const _0x1f399b=_0x36d938,{editor:_0x2bcf71}=this;this[_0x1f399b(0xe3)]=_0x2bcf71[_0x1f399b(0xac)][_0x1f399b(0xd0)](_0x5d4c7c),this[_0x1f399b(0x8d)]=_0x2bcf71[_0x1f399b(0xac)][_0x1f399b(0xd0)](_0x35fef8),this[_0x1f399b(0xc2)]=null,this[_0x1f399b(0x11d)]=this[_0x1f399b(0x9c)]();const _0x2d0365=new _0x59df15(_0x2bcf71,Array[_0x1f399b(0x8f)](this[_0x1f399b(0x11d)][_0x1f399b(0xcd)]()));_0x2bcf71[_0x1f399b(0xd3)][_0x1f399b(0xbe)](_0x1f399b(0xe9),_0x2d0365),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0x135),_0x3fd3cf=>{const _0x4ff2f4=_0x1f399b,_0x59c7b5=_0x9df615(_0x3fd3cf);return _0x59c7b5[_0x4ff2f4(0xa1)]({'class':_0x4ff2f4(0xb3)+this[_0x4ff2f4(0x91)]}),_0x59c7b5[_0x4ff2f4(0xf9)][_0x4ff2f4(0xa1)]({'label':_0x601d06(_0x3fd3cf,_0x4ff2f4(0xb4)),'icon':_0x127416,'tooltip':!0x0}),_0x59c7b5['on'](_0x4ff2f4(0x90),_0x260a47=>this[_0x4ff2f4(0x103)](_0x260a47[_0x4ff2f4(0xa5)]['id'])),_0x15c4b3(_0x59c7b5,_0x2bcf71['ui'][_0x4ff2f4(0xe1)][_0x4ff2f4(0xe7)],function(_0x2953a4){const _0x3822b0=_0x4ff2f4,_0x1ecdea=_0x4644cf(_0x2953a4[_0x3822b0(0xfe)][_0x3822b0(0xd0)](_0x3822b0(0xcb)),_0x2953a4[_0x3822b0(0xe8)]),_0x4a14c3=hi(_0x2953a4,_0x1ecdea)[_0x3822b0(0xdf)](_0x4b039a=>_0x4b039a[_0x3822b0(0xd3)][_0x3822b0(0x106)]);if(0x1===_0x4a14c3[_0x3822b0(0x106)])return hi(_0x2953a4,_0x4a14c3[0x0][_0x3822b0(0xd3)])[_0x3822b0(0xf7)](_0x25ddf7=>({'id':_0x25ddf7['id'],'label':_0x25ddf7[_0x3822b0(0x94)]}));return _0x4a14c3[_0x3822b0(0xf7)](_0x9ba0c5=>{const _0x1c2efc=_0x3822b0,{groupId:_0x4dceb0,groupLabel:_0x40e58f,commands:_0x2b4c0f}=_0x9ba0c5,_0x5e469b=hi(_0x2953a4,_0x2b4c0f)[_0x1c2efc(0xf7)](_0x454653=>({'id':_0x454653['id'],'label':_0x454653[_0x1c2efc(0x94)]}));return{'id':_0x4dceb0,'menu':_0x40e58f||_0x4dceb0,'children':_0x5e469b};});}(_0x2bcf71),{'ariaLabel':_0x601d06(_0x3fd3cf,_0x4ff2f4(0xb4))}),_0x59c7b5[_0x4ff2f4(0x108)][_0x4ff2f4(0x9f)]=_0x4ff2f4(0xb3)+this[_0x4ff2f4(0x91)],_0x2d0365['on'](_0x4ff2f4(0x96),_0x35f35d),_0x59c7b5[_0x4ff2f4(0x108)][_0x4ff2f4(0x9b)](_0x4ff2f4(0xd7),_0x35f35d),_0x59c7b5;function _0x35f35d(){const _0x1551be=_0x4ff2f4;_0x59c7b5[_0x1551be(0xc0)]=_0x2d0365[_0x1551be(0x93)][_0x1551be(0x106)]>0x0;for(const _0x520425 of _0x59c7b5[_0x1551be(0x108)][_0x1551be(0x130)])_0x520425[_0x1551be(0xc0)]=_0x2d0365[_0x1551be(0x93)][_0x1551be(0x11f)](_0x520425['id']);}}),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0x12d),_0x52e1ae=>{const _0x2df61a=_0x1f399b,_0x3982f3=new _0x566b54(_0x52e1ae);_0x3982f3[_0x2df61a(0xf9)][_0x2df61a(0xa1)]({'label':_0x601d06(_0x52e1ae,_0x2df61a(0xb4)),'icon':_0x127416}),_0x3982f3[_0x2df61a(0xb9)](_0x2df61a(0xc0))['to'](_0x2d0365,_0x2df61a(0x93),_0x52624b=>_0x52624b[_0x2df61a(0x106)]>0x0);const _0x2e16ee=_0x4644cf(_0x2bcf71[_0x2df61a(0xfe)][_0x2df61a(0xd0)](_0x2df61a(0xcb)),_0x52e1ae);return this[_0x2df61a(0x123)](_0x2d0365,_0x3982f3,_0x2e16ee,_0x50e9fc=>this[_0x2df61a(0x103)](_0x50e9fc)),_0x3982f3;}),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0xb8),()=>{const _0x11a190=_0x1f399b,_0x25b719=this[_0x11a190(0xc3)](_0x338c95);return _0x25b719[_0x11a190(0xa1)]({'tooltip':!0x0,'class':_0x11a190(0xee)+this[_0x11a190(0x91)]}),_0x25b719;}),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0x116),()=>{const _0xf3affa=_0x1f399b,_0x4dea08=this[_0xf3affa(0xc3)](_0x2f4414);return _0x4dea08[_0xf3affa(0xa1)]({'role':_0xf3affa(0xbd)}),_0x4dea08;}),this[_0x1f399b(0xaa)]=this[_0x1f399b(0xad)][_0x1f399b(0xfe)][_0x1f399b(0xd0)](_0x1f399b(0xaa));const _0x1e2073=this[_0x1f399b(0xad)];this[_0x1f399b(0x132)]=setInterval(()=>{const _0x30ff9e=_0x1f399b;let _0x43533c;for(const _0x5e3e69 in _0x1e2073){const _0x4b733b=_0x5e3e69,_0x5de648=_0x1e2073[_0x4b733b];if(_0x30ff9e(0x95)==_0x5de648||_0x30ff9e(0x131)==_0x5de648||_0x30ff9e(0x86)==_0x5de648||_0x30ff9e(0x9d)==_0x5de648||_0x30ff9e(0x89)==_0x5de648||_0x30ff9e(0xa8)==_0x5de648||_0x30ff9e(0xb0)==_0x5de648||_0x30ff9e(0x12a)==_0x5de648){delete _0x1e2073[_0x4b733b],_0x43533c=_0x5de648,clearInterval(this[_0x30ff9e(0x132)]),this[_0x30ff9e(0x132)]=void 0x0;break;}}_0x30ff9e(0x131)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0xd1)),_0x30ff9e(0x86)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x12b)),_0x30ff9e(0x9d)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0xc7)),_0x30ff9e(0x89)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x104),_0x30ff9e(0xd8)),_0x30ff9e(0xa8)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x122)),_0x30ff9e(0xb0)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0xec)),_0x30ff9e(0x12a)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x136));},0x3e8);}[_0x36d938(0xbc)](){const _0x1d76a3=_0x36d938;super[_0x1d76a3(0xbc)](),this[_0x1d76a3(0x132)]&&clearInterval(this[_0x1d76a3(0x132)]);}[_0x36d938(0x10e)](_0x428ba1='',_0x31a2e9='',_0xcffd5e=_0x36d938(0xc6)){const _0x6d90a5=_0x36d938,_0x2587e1=this[_0x6d90a5(0xad)],_0x5d5fd1=_0x2587e1[_0x6d90a5(0x11e)][_0x6d90a5(0xe1)],_0x1afd39=_0x2587e1[_0x6d90a5(0xac)][_0x6d90a5(0xd0)](_0x19c546),_0xc62363=_0x2587e1[_0x6d90a5(0xac)][_0x6d90a5(0xd0)](_0x46538f);_0x1afd39[_0x6d90a5(0xff)]();const _0x4c446b=new J(),_0x5655f9=new ClipboardEvent(_0x6d90a5(0xb7),{'clipboardData':_0x4c446b}),_0x28f5f6=new _0x497304(_0x4c446b),_0x573759=new _0x382f19(_0x5d5fd1,_0x5655f9,{'dataTransfer':_0x28f5f6});_0xc62363[_0x6d90a5(0xae)](_0x6d90a5(0xfa),()=>{const _0x255d64=_0x6d90a5;_0x5d5fd1[_0x255d64(0xdd)][_0x255d64(0x12e)](_0x255d64(0xb7),_0x573759);}),this[_0x6d90a5(0xc2)]||(this[_0x6d90a5(0xf6)](),this[_0x6d90a5(0xe0)]=new _0x57727b(_0x2587e1,this[_0x6d90a5(0xe3)][_0x6d90a5(0xed)],this[_0x6d90a5(0xc2)]));let _0xf5e22f=_0x28f5f6[_0x6d90a5(0x129)](_0x6d90a5(0x87));const _0x15cd51=_0x2587e1[_0x6d90a5(0xca)][_0x6d90a5(0xdd)][_0x6d90a5(0xa0)],_0x538a7a=Array[_0x6d90a5(0x8f)](_0x15cd51[_0x6d90a5(0xcf)]());0x1===_0x538a7a[_0x6d90a5(0x106)]&&_0x538a7a[0x0][_0x6d90a5(0xbf)]&&!_0x15cd51[_0x6d90a5(0x12c)]()&&''!==_0xf5e22f[_0x6d90a5(0x117)](/ /g,'')[_0x6d90a5(0x8b)]()&&(_0xf5e22f=_0x6d90a5(0xe2)+_0xf5e22f+_0x6d90a5(0xba)),this[_0x6d90a5(0xe0)][_0x6d90a5(0x10b)]({'actionId':_0xcffd5e,'query':_0x428ba1,'htmlContent':_0xf5e22f,'label':_0x31a2e9,'mainActionLabel':_0x5a78d0[_0x2587e1[_0x6d90a5(0xca)][_0x6d90a5(0xdd)][_0x6d90a5(0xa0)][_0x6d90a5(0xef)]?_0x6d90a5(0x11c):_0x6d90a5(0x8e)]}),_0x6d90a5(0xb8)!==this[_0x6d90a5(0x8d)]['id']?this[_0x6d90a5(0x8d)][_0x6d90a5(0x105)]({'id':_0x6d90a5(0xb8),'icon':_0x261280,'title':_0x601d06(this[_0x6d90a5(0xad)][_0x6d90a5(0xe8)],_0x6d90a5(0xa9)),'content':this[_0x6d90a5(0xc2)],'position':_0x2f19e2[_0x6d90a5(0x92)],'onShow':()=>{const _0x15c68e=_0x6d90a5;this[_0x15c68e(0xc2)][_0x15c68e(0xb6)]();},'onHide':()=>{const _0x3e82d9=_0x6d90a5;this[_0x3e82d9(0xe0)][_0x3e82d9(0xa7)](),_0x1afd39[_0x3e82d9(0x119)]();}}):this[_0x6d90a5(0x8d)][_0x6d90a5(0xe1)][_0x6d90a5(0xb5)]||this[_0x6d90a5(0x8d)][_0x6d90a5(0xe1)][_0x6d90a5(0xdc)]();}[_0x36d938(0xfd)](){const _0x5cfa11=_0x36d938;this[_0x5cfa11(0x8d)][_0x5cfa11(0xc4)]();}[_0x36d938(0x9c)](){const _0x23e740=_0x36d938,_0x33dc6e=new Map(),_0x8da120=_0x4644cf(this[_0x23e740(0xad)][_0x23e740(0xfe)][_0x23e740(0xd0)](_0x23e740(0xcb)),this[_0x23e740(0xad)][_0x23e740(0xe8)]);for(const _0xa7015e of _0x8da120)for(const _0x400283 of _0xa7015e[_0x23e740(0xd3)])_0x33dc6e[_0x23e740(0xa1)](_0x400283['id'],{..._0x400283,'groupId':_0xa7015e[_0x23e740(0xf3)],'groupLabel':_0xa7015e[_0x23e740(0xce)]||_0xa7015e[_0x23e740(0xf3)]});return _0x33dc6e;}[_0x36d938(0xc3)](_0x356320){const _0x442853=_0x36d938,_0x375524=this[_0x442853(0xad)],_0x7cbac5=_0x375524[_0x442853(0xd3)][_0x442853(0xd0)](_0x442853(0xe9)),_0x268948=new _0x356320(_0x375524[_0x442853(0xe8)]);return _0x268948[_0x442853(0xa1)]({'label':_0x601d06(_0x375524[_0x442853(0xe8)],_0x442853(0xa9)),'icon':_0x261280,'isToggleable':!0x0}),_0x268948[_0x442853(0xb9)](_0x442853(0xc0))['to'](_0x7cbac5),_0x268948[_0x442853(0xb9)](_0x442853(0x8c))['to'](this[_0x442853(0x8d)],'id',_0x90d988=>_0x442853(0xb8)===_0x90d988),this[_0x442853(0xdb)](_0x268948,_0x442853(0x90),()=>{const _0x3d6c68=_0x442853;_0x268948[_0x3d6c68(0x8c)]?this[_0x3d6c68(0xfd)]():_0x7cbac5[_0x3d6c68(0x90)]();}),_0x268948;}[_0x36d938(0xf6)](){const _0x52e4e5=_0x36d938,_0x37334b=this[_0x52e4e5(0xad)][_0x52e4e5(0xac)][_0x52e4e5(0xd0)](_0x19c546);this[_0x52e4e5(0xc2)]=new _0x3f1cce(this[_0x52e4e5(0xad)][_0x52e4e5(0xe8)],this[_0x52e4e5(0x91)],this[_0x52e4e5(0xad)][_0x52e4e5(0xfe)][_0x52e4e5(0xd0)](_0x52e4e5(0xcc))),this[_0x52e4e5(0xc2)]['on'](_0x52e4e5(0xc1),()=>{const _0x49c67e=_0x52e4e5;this[_0x49c67e(0x8d)][_0x49c67e(0xe1)][_0x49c67e(0xb5)]||this[_0x49c67e(0x8d)][_0x49c67e(0xe1)][_0x49c67e(0xdc)]();}),this[_0x52e4e5(0xc2)][_0x52e4e5(0xd2)][_0x52e4e5(0xaf)][_0x52e4e5(0xf5)]['on'](_0x52e4e5(0x9a),()=>{const _0x5a21a7=_0x52e4e5;this[_0x5a21a7(0x8d)][_0x5a21a7(0xe1)][_0x5a21a7(0xb5)]||this[_0x5a21a7(0x8d)][_0x5a21a7(0xe1)][_0x5a21a7(0xdc)]();}),this[_0x52e4e5(0xdb)](this[_0x52e4e5(0xc2)],_0x52e4e5(0x107),()=>{const _0x329a3e=_0x52e4e5;_0x37334b[_0x329a3e(0xde)](this[_0x329a3e(0xe0)][_0x329a3e(0xc8)]),this[_0x329a3e(0xfd)]();}),this[_0x52e4e5(0xdb)](this[_0x52e4e5(0xc2)],_0x52e4e5(0xd6),()=>{const _0x430e92=_0x52e4e5;_0x37334b[_0x430e92(0xd6)](this[_0x430e92(0xe0)][_0x430e92(0xc8)]),this[_0x430e92(0xfd)]();}),this[_0x52e4e5(0xab)]();}[_0x36d938(0xab)](){const _0x24d5da=_0x36d938,{locale:_0x40b4a2,ui:{ariaLiveAnnouncer:_0x396984}}=this[_0x24d5da(0xad)];this[_0x24d5da(0xc2)][_0x24d5da(0xd4)]['on'](_0x24d5da(0xe5),(_0x2ee8dc,_0x2b01a7,_0x173b4d)=>{const _0x52259f=_0x24d5da,_0x24ea45=this[_0x52259f(0xe0)][_0x52259f(0xc8)];_0x173b4d?_0x396984[_0x52259f(0xb2)](_0x601d06(_0x40b4a2,_0x52259f(0x11b))):_0x24ea45&&_0x396984[_0x52259f(0xb2)](_0x601d06(_0x40b4a2,_0x52259f(0x134),_0x24ea45),{'politeness':_0x52259f(0xa2),'isUnsafeHTML':!0x0});}),this[_0x24d5da(0xc2)]['on'](_0x24d5da(0x12f),(_0x211825,_0x3ccaa1,_0x575ea9)=>{const _0x10ce60=_0x24d5da;if(_0x575ea9){const _0x1f393a=this[_0x10ce60(0xc2)][_0x10ce60(0xf0)][_0x10ce60(0xe4)];_0x396984[_0x10ce60(0xb2)](_0x601d06(_0x40b4a2,_0x10ce60(0x9e),_0x1f393a));}});}[_0x36d938(0x103)](_0x4db283){const _0x28fb2f=_0x36d938,_0x6cdea3=this[_0x28fb2f(0x11d)][_0x28fb2f(0xd0)](_0x4db283),_0x4d4825=this[_0x28fb2f(0xad)],_0x2cc886=_0x4d4825[_0x28fb2f(0xca)][_0x28fb2f(0xdd)][_0x28fb2f(0xa0)],_0x35e3da=_0x4d4825[_0x28fb2f(0xd3)][_0x28fb2f(0xd0)](_0x28fb2f(0xe9)),_0x453854=_0x4d4825[_0x28fb2f(0xac)][_0x28fb2f(0xd0)](_0x19c546),_0x1b7e7c=''+(_0x6cdea3[_0x28fb2f(0xf3)]!==_0x116a91?_0x6cdea3[_0x28fb2f(0xce)]+':\x20':'')+_0x6cdea3[_0x28fb2f(0x94)];if(!0x1!==_0x6cdea3[_0x28fb2f(0x88)]&&_0x2cc886[_0x28fb2f(0xef)]){const _0x2f266e=_0x1c1351(_0x2cc886[_0x28fb2f(0xf1)]())||_0x4d4825[_0x28fb2f(0xca)][_0x28fb2f(0x133)][_0x28fb2f(0x98)](_0x2cc886);_0x4d4825[_0x28fb2f(0xca)][_0x28fb2f(0xf4)](_0x8c7f1e=>{const _0x1085af=_0x28fb2f;_0x8c7f1e[_0x1085af(0x114)](_0x2f266e,'in');});}_0x453854[_0x28fb2f(0xff)](),_0x35e3da[_0x28fb2f(0x90)](_0x6cdea3[_0x28fb2f(0xc9)],_0x1b7e7c,_0x28fb2f(0xea)+_0x4db283);}[_0x36d938(0x123)](_0x5afda9,_0x4e09cb,_0x267480,_0x1e52e8){const _0x2b1a0b=_0x36d938,_0x423e93=this[_0x2b1a0b(0xad)],_0x40ed3f=_0x423e93[_0x2b1a0b(0xe8)],_0x53ba60=new _0x349b3c(_0x40ed3f),_0x596504=hi(_0x423e93,_0x267480)[_0x2b1a0b(0xdf)](_0x1f60cd=>_0x1f60cd[_0x2b1a0b(0xd3)][_0x2b1a0b(0x106)]);0x1===_0x596504[_0x2b1a0b(0x106)]?this[_0x2b1a0b(0x121)]({'command':_0x5afda9,'commands':_0x596504[0x0][_0x2b1a0b(0xd3)],'parentMenuView':_0x4e09cb,'onExecute':_0x1e52e8})[_0x2b1a0b(0xbb)](_0x1f9f76=>_0x53ba60[_0x2b1a0b(0x126)][_0x2b1a0b(0xbe)](_0x1f9f76)):_0x596504[_0x2b1a0b(0xbb)](({groupId:_0x744ec8,groupLabel:_0x3b32b6,commands:_0x467aa8})=>{const _0x55fc4d=_0x2b1a0b,_0x1816df=new _0x5a1f7a(_0x40ed3f,_0x4e09cb),_0x97899=new _0x566b54(_0x40ed3f),_0x552e91=new _0x349b3c(_0x40ed3f),_0x41dfba=this[_0x55fc4d(0x121)]({'command':_0x5afda9,'commands':_0x467aa8,'parentMenuView':_0x97899,'onExecute':_0x1e52e8});_0x97899[_0x55fc4d(0xf9)][_0x55fc4d(0xa1)]({'label':_0x3b32b6||_0x744ec8}),_0x97899[_0x55fc4d(0x128)](_0x55fc4d(0x90))['to'](_0x4e09cb),_0x552e91[_0x55fc4d(0x126)][_0x55fc4d(0xfc)](_0x41dfba),_0x97899[_0x55fc4d(0x109)][_0x55fc4d(0x111)][_0x55fc4d(0xbe)](_0x552e91),_0x1816df[_0x55fc4d(0x111)][_0x55fc4d(0xbe)](_0x97899),_0x53ba60[_0x55fc4d(0x126)][_0x55fc4d(0xbe)](_0x1816df);}),_0x4e09cb[_0x2b1a0b(0x109)][_0x2b1a0b(0x111)][_0x2b1a0b(0xbe)](_0x53ba60);}[_0x36d938(0x121)]({command:_0xbfb595,commands:_0x2aac1e,parentMenuView:_0x2b618e,onExecute:_0x56591}){const _0x528739=_0x36d938,_0x184287=this[_0x528739(0xad)],_0x57a0e7=_0x184287[_0x528739(0xe8)];return hi(_0x184287,_0x2aac1e)[_0x528739(0xf7)](_0x27c973=>{const _0x2907bb=_0x528739,_0xcf81ab=new _0x5a1f7a(_0x57a0e7,_0x2b618e),_0x14d258=new _0x2f4414(_0x57a0e7);return _0x14d258[_0x2907bb(0xa1)]({'label':_0x27c973[_0x2907bb(0x94)]}),_0x14d258[_0x2907bb(0x128)](_0x2907bb(0x90))['to'](_0x2b618e),_0x14d258['on'](_0x2907bb(0x90),()=>_0x56591(_0x27c973['id'])),_0x14d258[_0x2907bb(0xb9)](_0x2907bb(0xc0))['to'](_0xbfb595,_0x2907bb(0x93),_0x4b4d01=>_0x4b4d01[_0x2907bb(0x11f)](_0x27c973['id'])),_0xcf81ab[_0x2907bb(0x111)][_0x2907bb(0xbe)](_0x14d258),_0xcf81ab;});}}function li(_0x341c7d,_0x261ab3){const _0x190d92=_0x36d938;return void 0x0!==_0x341c7d[_0x190d92(0x10a)]&&void 0x0===_0x261ab3[_0x190d92(0x10a)]?0x1:void 0x0===_0x341c7d[_0x190d92(0x10a)]&&void 0x0!==_0x261ab3[_0x190d92(0x10a)]?-0x1:void 0x0!==_0x341c7d[_0x190d92(0x10a)]&&void 0x0!==_0x261ab3[_0x190d92(0x10a)]?_0x341c7d[_0x190d92(0x10a)]-_0x261ab3[_0x190d92(0x10a)]:0x0;}function hi(_0x5455c3,_0x5a2002){const _0x2c968c=_0x36d938;_0x5a2002[_0x2c968c(0xeb)](li);const _0x465121={},_0x3ccc78=[];for(const _0x207290 of _0x5a2002)if(void 0x0!==_0x207290[_0x2c968c(0x10a)]){if(_0x207290[_0x2c968c(0x10a)]in _0x465121)throw new _0x31baf1(_0x2c968c(0x102),_0x5455c3,{'conflictingDefinitions':[_0x207290,_0x465121[_0x207290[_0x2c968c(0x10a)]]]});_0x465121[_0x207290[_0x2c968c(0x10a)]]=_0x207290,_0x3ccc78[_0x2c968c(0x110)](_0x207290[_0x2c968c(0x10a)],0x0,_0x207290);}else _0x3ccc78[_0x2c968c(0x118)](_0x207290);return _0x3ccc78;}
|
|
23
|
+
const _0x13eb91=_0x2456;(function(_0x110930,_0x34fad8){const _0x23f01c=_0x2456,_0x4f1742=_0x110930();while(!![]){try{const _0xcd6baa=-parseInt(_0x23f01c(0x231))/0x1*(-parseInt(_0x23f01c(0x1f7))/0x2)+parseInt(_0x23f01c(0x24b))/0x3+-parseInt(_0x23f01c(0x22d))/0x4*(-parseInt(_0x23f01c(0x23a))/0x5)+parseInt(_0x23f01c(0x1c6))/0x6+parseInt(_0x23f01c(0x1fc))/0x7+parseInt(_0x23f01c(0x233))/0x8*(parseInt(_0x23f01c(0x20e))/0x9)+-parseInt(_0x23f01c(0x257))/0xa;if(_0xcd6baa===_0x34fad8)break;else _0x4f1742['push'](_0x4f1742['shift']());}catch(_0x4642f2){_0x4f1742['push'](_0x4f1742['shift']());}}}(_0x3727,0xab6c5));import{Plugin as _0x2f821d}from'ckeditor5/src/core.js';function _0x3727(){const _0x191410=['EDITOR_TOP_SIDE','replaceContent','_createAIAssistantUIButton','_getMenuBarGroupButtons','_formView','_aiAdapter','change:isProcessing','view','menuBar:aiAssistant','init','trim','hideUI','from','document','showUI','licenseKey','_uiCssClasses','_initAriaAiStatusChangeAnnouncements','prompt','ck-ai-assistant-ui','locale','queryView','requires','promptView','once','custom','execute','bind','update','textAdapter','402108JoTWNO','push','<p>','fieldView','125317aDTduD','comment','8hLtseY','getSelectedElement','menuPanelClass','DataTransfer','aiLicenseKeyValid','_dialog','editing','15DHSgLd','rawHtml','_onExecute','updateView','body','model','getRanges','copy','fire','AI\x20is\x20writing','_forceMarkersCopy','aiLicenseKeyExpired','contentArea','wasMoved','panelView','groupLabel','polite','962568igqzsA','AIAssistantUI','expired','aiLicenseKeyInvalid','aiLicenseKeyNotAllowed','command:','map','aiAssistant','pluginName','change:value','ck-ai-assistant-button\x20','change','30948090qEGYTR','isPremiumPlugin','includes','featureNotAllowed','isOn','showAIAssistant','ai.assistant.disabledElements','change:isError','addMany','sort','usageLimit','AI\x20Commands','\x20ck-ai-assistant-ui_theme','config','ck-ai-commands-dropdown\x20','focus','schema','replace','tableOfContents','length','listenTo','ai.assistant.useTheme','define','aiLicenseKeyUsageLimit','getLimitElement','getSelectedBlocks','splice','ai.assistant.commands','children','_commandDefinitions','aiLicenseKeyEvaluationLimit','7173876dTCTvN','selection','isCollapsed','insertContentBelow','_showLicenseError','_getResolvedCommandsDefinitions','getData','REPLACE','plugins','isFlat','forEach','requiresContent','</p>','buttons','filter','reset','show','set','AI\x20Assistant','hide','currentContext','Error\x20during\x20AI\x20content\x20generation:\x20%0','editor','text/html','add','items','text','enabledCommandsIds','get','media','menuitemcheckbox','_aiAssistantController','_populateMenuBarMenu','ai.assistant.contentAreaCssClass','aiLicenseKeyTrialLimit','commands','destroy','insertContent','componentFactory','evaluationLimit','hideFakeVisualSelection','trialLimit','Generated\x20content:\x20%0','aiCommands','isEnabled','menuView','_licenseKeyCheckInterval','change:enabledCommandsIds','render','2ysiaDY','updatePosition','source','label','AIAssistant','7090524aasbzn','ai-commands-config-order-collision','order','buttonView','values','INSERT','announce','errorView','menuBar:aiCommands','aiLicenseKeyDomainLimit','invalid','showFakeVisualSelection','groupId','domainLimit','isOfficialPlugin','delegate','_initView','setSelection','7565634DJTIVK'];_0x3727=function(){return _0x191410;};return _0x3727();}import{IconMagicWand as _0x3603dc,IconRobotPencil as _0xaed788}from'ckeditor5/src/icons.js';import{first as _0x2ed82c,CKEditorError as _0x8a0d6b}from'ckeditor5/src/utils.js';import{createDropdown as _0x53766a,addMenuToDropdown as _0x5a5785,ButtonView as _0x2d2668,MenuBarMenuListItemButtonView as _0x11c28b,Dialog as _0x4409f0,DialogViewPosition as _0x18e8ee,MenuBarMenuView as _0x21236d,MenuBarMenuListView as _0x1451c0,MenuBarMenuListItemView as _0x3ab799}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4bf70f,UNGROUPED_COMMANDS_GROUP_ID as _0x467d4a}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3051bf}from'./aiassistantediting.js';import{AIAdapter as _0x306acc}from'./adapters/aiadapter.js';import{getTranslation as _0x4b6432}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4a4f4c}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x534213}from'./ui/aiassistantcontroller.js';function _0x2456(_0x4cd63a,_0x29c481){const _0x372756=_0x3727();return _0x2456=function(_0x2456ae,_0x17d23c){_0x2456ae=_0x2456ae-0x1ba;let _0x5afe27=_0x372756[_0x2456ae];return _0x5afe27;},_0x2456(_0x4cd63a,_0x29c481);}import{AIFormView as _0x292fb5}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xadc199}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x13eb91(0x236)];import{ClipboardMarkersUtils as _0x12d430}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x6301f3,ViewDataTransfer as _0x5bff07}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2f821d{[_0x13eb91(0x21e)];[_0x13eb91(0x1f4)];[_0x13eb91(0x238)];[_0x13eb91(0x213)];[_0x13eb91(0x214)];[_0x13eb91(0x1e5)];[_0x13eb91(0x21f)]='';static get[_0x13eb91(0x253)](){const _0x25ea5b=_0x13eb91;return _0x25ea5b(0x24c);}static get[_0x13eb91(0x20a)](){return!0x0;}static get[_0x13eb91(0x258)](){return!0x0;}static get[_0x13eb91(0x225)](){return[_0x12d430,_0x3051bf,_0x306acc,_0x4409f0];}constructor(_0x37c420){const _0x4ef65b=_0x13eb91;super(_0x37c420),_0x37c420[_0x4ef65b(0x264)][_0x4ef65b(0x1bd)](_0x4ef65b(0x25d),[_0x4ef65b(0x1e3),_0x4ef65b(0x23b),_0x4ef65b(0x269)]),_0x37c420[_0x4ef65b(0x264)][_0x4ef65b(0x1bd)](_0x4ef65b(0x1e7),''),_0x37c420[_0x4ef65b(0x264)][_0x4ef65b(0x1bd)](_0x4ef65b(0x1bc),!0x0),this[_0x4ef65b(0x21f)]=_0x4ef65b(0x222)+(_0x37c420[_0x4ef65b(0x264)][_0x4ef65b(0x1e2)](_0x4ef65b(0x1bc))?_0x4ef65b(0x263):'');}[_0x13eb91(0x218)](){const _0x18b6eb=_0x13eb91,{editor:_0x388f47}=this;this[_0x18b6eb(0x214)]=_0x388f47[_0x18b6eb(0x1ce)][_0x18b6eb(0x1e2)](_0x306acc),this[_0x18b6eb(0x238)]=_0x388f47[_0x18b6eb(0x1ce)][_0x18b6eb(0x1e2)](_0x4409f0),this[_0x18b6eb(0x213)]=null,this[_0x18b6eb(0x1c4)]=this[_0x18b6eb(0x1cb)]();const _0x27c844=new _0x4a4f4c(_0x388f47,Array[_0x18b6eb(0x21b)](this[_0x18b6eb(0x1c4)][_0x18b6eb(0x200)]()));_0x388f47[_0x18b6eb(0x1e9)][_0x18b6eb(0x1de)](_0x18b6eb(0x25c),_0x27c844),_0x388f47['ui'][_0x18b6eb(0x1ec)][_0x18b6eb(0x1de)](_0x18b6eb(0x1f1),_0x446cf2=>{const _0x3efc79=_0x18b6eb,_0x512c12=_0x53766a(_0x446cf2);return _0x512c12[_0x3efc79(0x1d7)]({'class':_0x3efc79(0x265)+this[_0x3efc79(0x21f)]}),_0x512c12[_0x3efc79(0x1ff)][_0x3efc79(0x1d7)]({'label':_0x4b6432(_0x446cf2,_0x3efc79(0x262)),'icon':_0x3603dc,'tooltip':!0x0}),_0x512c12['on'](_0x3efc79(0x229),_0x3dcc19=>this[_0x3efc79(0x23c)](_0x3dcc19[_0x3efc79(0x1f9)]['id'])),_0x5a5785(_0x512c12,_0x388f47['ui'][_0x3efc79(0x216)][_0x3efc79(0x23e)],function(_0x3afd76){const _0x565aae=_0x3efc79,_0x180431=_0x4bf70f(_0x3afd76[_0x565aae(0x264)][_0x565aae(0x1e2)](_0x565aae(0x1c2)),_0x3afd76[_0x565aae(0x223)]),_0x1d5dfb=U(_0x3afd76,_0x180431)[_0x565aae(0x1d4)](_0x274e1a=>_0x274e1a[_0x565aae(0x1e9)][_0x565aae(0x1ba)]);if(0x1===_0x1d5dfb[_0x565aae(0x1ba)])return U(_0x3afd76,_0x1d5dfb[0x0][_0x565aae(0x1e9)])[_0x565aae(0x251)](_0x53cc5f=>({'id':_0x53cc5f['id'],'label':_0x53cc5f[_0x565aae(0x1fa)]}));return _0x1d5dfb[_0x565aae(0x251)](_0x4016bc=>{const _0x3cc233=_0x565aae,{groupId:_0x5f058,groupLabel:_0x139fca,commands:_0xc4ae18}=_0x4016bc,_0x1a2944=U(_0x3afd76,_0xc4ae18)[_0x3cc233(0x251)](_0x4100a3=>({'id':_0x4100a3['id'],'label':_0x4100a3[_0x3cc233(0x1fa)]}));return{'id':_0x5f058,'menu':_0x139fca||_0x5f058,'children':_0x1a2944};});}(_0x388f47),{'ariaLabel':_0x4b6432(_0x446cf2,_0x3efc79(0x262))}),_0x512c12[_0x3efc79(0x1f3)][_0x3efc79(0x235)]=_0x3efc79(0x265)+this[_0x3efc79(0x21f)],_0x27c844['on'](_0x3efc79(0x1f5),_0x1aada9),_0x512c12[_0x3efc79(0x1f3)][_0x3efc79(0x227)](_0x3efc79(0x1f6),_0x1aada9),_0x512c12;function _0x1aada9(){const _0x4af651=_0x3efc79;_0x512c12[_0x4af651(0x1f2)]=_0x27c844[_0x4af651(0x1e1)][_0x4af651(0x1ba)]>0x0;for(const _0x59bc67 of _0x512c12[_0x4af651(0x1f3)][_0x4af651(0x1d3)])_0x59bc67[_0x4af651(0x1f2)]=_0x27c844[_0x4af651(0x1e1)][_0x4af651(0x259)](_0x59bc67['id']);}}),_0x388f47['ui'][_0x18b6eb(0x1ec)][_0x18b6eb(0x1de)](_0x18b6eb(0x204),_0x54236f=>{const _0x3ea2f7=_0x18b6eb,_0x11f20c=new _0x21236d(_0x54236f);_0x11f20c[_0x3ea2f7(0x1ff)][_0x3ea2f7(0x1d7)]({'label':_0x4b6432(_0x54236f,_0x3ea2f7(0x262)),'icon':_0x3603dc}),_0x11f20c[_0x3ea2f7(0x22a)](_0x3ea2f7(0x1f2))['to'](_0x27c844,_0x3ea2f7(0x1e1),_0x24e051=>_0x24e051[_0x3ea2f7(0x1ba)]>0x0);const _0x1da0c8=_0x4bf70f(_0x388f47[_0x3ea2f7(0x264)][_0x3ea2f7(0x1e2)](_0x3ea2f7(0x1c2)),_0x54236f);return this[_0x3ea2f7(0x1e6)](_0x27c844,_0x11f20c,_0x1da0c8,_0x5bad85=>this[_0x3ea2f7(0x23c)](_0x5bad85)),_0x11f20c;}),_0x388f47['ui'][_0x18b6eb(0x1ec)][_0x18b6eb(0x1de)](_0x18b6eb(0x252),()=>{const _0x454336=_0x18b6eb,_0x59da40=this[_0x454336(0x211)](_0x2d2668);return _0x59da40[_0x454336(0x1d7)]({'tooltip':!0x0,'class':_0x454336(0x255)+this[_0x454336(0x21f)]}),_0x59da40;}),_0x388f47['ui'][_0x18b6eb(0x1ec)][_0x18b6eb(0x1de)](_0x18b6eb(0x217),()=>{const _0x5c233b=_0x18b6eb,_0x1caa0e=this[_0x5c233b(0x211)](_0x11c28b);return _0x1caa0e[_0x5c233b(0x1d7)]({'role':_0x5c233b(0x1e4)}),_0x1caa0e;}),this[_0x18b6eb(0x21e)]=this[_0x18b6eb(0x1dc)][_0x18b6eb(0x264)][_0x18b6eb(0x1e2)](_0x18b6eb(0x21e));const _0x4664a2=this[_0x18b6eb(0x1dc)];this[_0x18b6eb(0x1f4)]=setInterval(()=>{const _0x34a784=_0x18b6eb;let _0x5dddb7;for(const _0x21530a in _0x4664a2){const _0x1069cc=_0x21530a,_0x28729c=_0x4664a2[_0x1069cc];if(_0x34a784(0x237)==_0x28729c||_0x34a784(0x24e)==_0x28729c||_0x34a784(0x245)==_0x28729c||_0x34a784(0x205)==_0x28729c||_0x34a784(0x24f)==_0x28729c||_0x34a784(0x1c5)==_0x28729c||_0x34a784(0x1e8)==_0x28729c||_0x34a784(0x1be)==_0x28729c){delete _0x4664a2[_0x1069cc],_0x5dddb7=_0x28729c,clearInterval(this[_0x34a784(0x1f4)]),this[_0x34a784(0x1f4)]=void 0x0;break;}}_0x34a784(0x24e)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x206)),_0x34a784(0x245)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x24d)),_0x34a784(0x205)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x209)),_0x34a784(0x24f)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x25a),_0x34a784(0x1fb)),_0x34a784(0x1c5)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x1ed)),_0x34a784(0x1e8)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x1ef)),_0x34a784(0x1be)==_0x5dddb7&&_0x4664a2[_0x34a784(0x1ca)](_0x34a784(0x261));},0x3e8);}[_0x13eb91(0x1ea)](){const _0xbbd614=_0x13eb91;super[_0xbbd614(0x1ea)](),this[_0xbbd614(0x1f4)]&&clearInterval(this[_0xbbd614(0x1f4)]);}[_0x13eb91(0x21d)](_0x3b4132='',_0x12a0d7='',_0xb2f187=_0x13eb91(0x228)){const _0x514807=_0x13eb91,_0x234cca=this[_0x514807(0x1dc)],_0x5107aa=_0x234cca[_0x514807(0x239)][_0x514807(0x216)],_0x78a3a2=_0x234cca[_0x514807(0x1ce)][_0x514807(0x1e2)](_0x3051bf),_0x410a74=_0x234cca[_0x514807(0x1ce)][_0x514807(0x1e2)](_0x12d430);_0x78a3a2[_0x514807(0x207)]();const _0x483deb=new w(),_0x2a557a=new ClipboardEvent(_0x514807(0x241),{'clipboardData':_0x483deb}),_0x4ee100=new _0x5bff07(_0x483deb),_0x3a4d88=new _0x6301f3(_0x5107aa,_0x2a557a,{'dataTransfer':_0x4ee100});_0x410a74[_0x514807(0x244)](_0x514807(0x232),()=>{const _0x2b0502=_0x514807;_0x5107aa[_0x2b0502(0x21c)][_0x2b0502(0x242)](_0x2b0502(0x241),_0x3a4d88);}),this[_0x514807(0x213)]||(this[_0x514807(0x20c)](),this[_0x514807(0x1e5)]=new _0x534213(_0x234cca,this[_0x514807(0x214)][_0x514807(0x22c)],this[_0x514807(0x213)]));let _0x5bf97c=_0x4ee100[_0x514807(0x1cc)](_0x514807(0x1dd));const _0x1a1a8a=_0x234cca[_0x514807(0x23f)][_0x514807(0x21c)][_0x514807(0x1c7)],_0x2c336f=Array[_0x514807(0x21b)](_0x1a1a8a[_0x514807(0x240)]());0x1===_0x2c336f[_0x514807(0x1ba)]&&_0x2c336f[0x0][_0x514807(0x1cf)]&&!_0x1a1a8a[_0x514807(0x234)]()&&''!==_0x5bf97c[_0x514807(0x268)](/ /g,'')[_0x514807(0x219)]()&&(_0x5bf97c=_0x514807(0x22f)+_0x5bf97c+_0x514807(0x1d2)),this[_0x514807(0x1e5)][_0x514807(0x23d)]({'actionId':_0xb2f187,'query':_0x3b4132,'htmlContent':_0x5bf97c,'label':_0x12a0d7,'mainActionLabel':_0xadc199[_0x234cca[_0x514807(0x23f)][_0x514807(0x21c)][_0x514807(0x1c7)][_0x514807(0x1c8)]?_0x514807(0x201):_0x514807(0x1cd)]}),_0x514807(0x252)!==this[_0x514807(0x238)]['id']?this[_0x514807(0x238)][_0x514807(0x1d6)]({'id':_0x514807(0x252),'icon':_0xaed788,'title':_0x4b6432(this[_0x514807(0x1dc)][_0x514807(0x223)],_0x514807(0x1d8)),'content':this[_0x514807(0x213)],'position':_0x18e8ee[_0x514807(0x20f)],'onShow':()=>{const _0x50511f=_0x514807;this[_0x50511f(0x213)][_0x50511f(0x266)]();},'onHide':()=>{const _0x455a44=_0x514807;this[_0x455a44(0x1e5)][_0x455a44(0x1d5)](),_0x78a3a2[_0x455a44(0x1ee)]();}}):this[_0x514807(0x238)][_0x514807(0x216)][_0x514807(0x247)]||this[_0x514807(0x238)][_0x514807(0x216)][_0x514807(0x1f8)]();}[_0x13eb91(0x21a)](){const _0x51ed85=_0x13eb91;this[_0x51ed85(0x238)][_0x51ed85(0x1d9)]();}[_0x13eb91(0x1cb)](){const _0x250f0a=_0x13eb91,_0x1be7bf=new Map(),_0x1ce65=_0x4bf70f(this[_0x250f0a(0x1dc)][_0x250f0a(0x264)][_0x250f0a(0x1e2)](_0x250f0a(0x1c2)),this[_0x250f0a(0x1dc)][_0x250f0a(0x223)]);for(const _0x286215 of _0x1ce65)for(const _0x340962 of _0x286215[_0x250f0a(0x1e9)])_0x1be7bf[_0x250f0a(0x1d7)](_0x340962['id'],{..._0x340962,'groupId':_0x286215[_0x250f0a(0x208)],'groupLabel':_0x286215[_0x250f0a(0x249)]||_0x286215[_0x250f0a(0x208)]});return _0x1be7bf;}[_0x13eb91(0x211)](_0xcae4a){const _0x28261b=_0x13eb91,_0x29a2e2=this[_0x28261b(0x1dc)],_0x3d390a=_0x29a2e2[_0x28261b(0x1e9)][_0x28261b(0x1e2)](_0x28261b(0x25c)),_0x181cd5=new _0xcae4a(_0x29a2e2[_0x28261b(0x223)]);return _0x181cd5[_0x28261b(0x1d7)]({'label':_0x4b6432(_0x29a2e2[_0x28261b(0x223)],_0x28261b(0x1d8)),'icon':_0xaed788,'isToggleable':!0x0}),_0x181cd5[_0x28261b(0x22a)](_0x28261b(0x1f2))['to'](_0x3d390a),_0x181cd5[_0x28261b(0x22a)](_0x28261b(0x25b))['to'](this[_0x28261b(0x238)],'id',_0x1fc9f4=>_0x28261b(0x252)===_0x1fc9f4),this[_0x28261b(0x1bb)](_0x181cd5,_0x28261b(0x229),()=>{const _0x5e35be=_0x28261b;_0x181cd5[_0x5e35be(0x25b)]?this[_0x5e35be(0x21a)]():_0x3d390a[_0x5e35be(0x229)]();}),_0x181cd5;}[_0x13eb91(0x20c)](){const _0xa7fd87=_0x13eb91,_0x3d3527=this[_0xa7fd87(0x1dc)][_0xa7fd87(0x1ce)][_0xa7fd87(0x1e2)](_0x3051bf);this[_0xa7fd87(0x213)]=new _0x292fb5(this[_0xa7fd87(0x1dc)][_0xa7fd87(0x223)],this[_0xa7fd87(0x21f)],this[_0xa7fd87(0x1dc)][_0xa7fd87(0x264)][_0xa7fd87(0x1e2)](_0xa7fd87(0x1e7))),this[_0xa7fd87(0x213)]['on'](_0xa7fd87(0x254),()=>{const _0x2cd7d9=_0xa7fd87;this[_0x2cd7d9(0x238)][_0x2cd7d9(0x216)][_0x2cd7d9(0x247)]||this[_0x2cd7d9(0x238)][_0x2cd7d9(0x216)][_0x2cd7d9(0x1f8)]();}),this[_0xa7fd87(0x213)][_0xa7fd87(0x226)][_0xa7fd87(0x224)][_0xa7fd87(0x230)]['on'](_0xa7fd87(0x22b),()=>{const _0x5a6ab7=_0xa7fd87;this[_0x5a6ab7(0x238)][_0x5a6ab7(0x216)][_0x5a6ab7(0x247)]||this[_0x5a6ab7(0x238)][_0x5a6ab7(0x216)][_0x5a6ab7(0x1f8)]();}),this[_0xa7fd87(0x1bb)](this[_0xa7fd87(0x213)],_0xa7fd87(0x210),()=>{const _0x2edf20=_0xa7fd87;_0x3d3527[_0x2edf20(0x1eb)](this[_0x2edf20(0x1e5)][_0x2edf20(0x1da)]),this[_0x2edf20(0x21a)]();}),this[_0xa7fd87(0x1bb)](this[_0xa7fd87(0x213)],_0xa7fd87(0x1c9),()=>{const _0x253011=_0xa7fd87;_0x3d3527[_0x253011(0x1c9)](this[_0x253011(0x1e5)][_0x253011(0x1da)]),this[_0x253011(0x21a)]();}),this[_0xa7fd87(0x220)]();}[_0x13eb91(0x220)](){const _0x1fbab7=_0x13eb91,{locale:_0x34e829,ui:{ariaLiveAnnouncer:_0x2dad41}}=this[_0x1fbab7(0x1dc)];this[_0x1fbab7(0x213)][_0x1fbab7(0x246)]['on'](_0x1fbab7(0x215),(_0x24443c,_0x1743f9,_0x2436aa)=>{const _0x14397a=_0x1fbab7,_0x3eb7d6=this[_0x14397a(0x1e5)][_0x14397a(0x1da)];_0x2436aa?_0x2dad41[_0x14397a(0x202)](_0x4b6432(_0x34e829,_0x14397a(0x243))):_0x3eb7d6&&_0x2dad41[_0x14397a(0x202)](_0x4b6432(_0x34e829,_0x14397a(0x1f0),_0x3eb7d6),{'politeness':_0x14397a(0x24a),'isUnsafeHTML':!0x0});}),this[_0x1fbab7(0x213)]['on'](_0x1fbab7(0x25e),(_0x21da4d,_0xe50222,_0x5508e8)=>{const _0x3685ca=_0x1fbab7;if(_0x5508e8){const _0x1e18fd=this[_0x3685ca(0x213)][_0x3685ca(0x203)][_0x3685ca(0x1e0)];_0x2dad41[_0x3685ca(0x202)](_0x4b6432(_0x34e829,_0x3685ca(0x1db),_0x1e18fd));}});}[_0x13eb91(0x23c)](_0x4d120c){const _0x4c2575=_0x13eb91,_0x19baa5=this[_0x4c2575(0x1c4)][_0x4c2575(0x1e2)](_0x4d120c),_0x289ba0=this[_0x4c2575(0x1dc)],_0x30782e=_0x289ba0[_0x4c2575(0x23f)][_0x4c2575(0x21c)][_0x4c2575(0x1c7)],_0x172b6b=_0x289ba0[_0x4c2575(0x1e9)][_0x4c2575(0x1e2)](_0x4c2575(0x25c)),_0x4bc3dd=_0x289ba0[_0x4c2575(0x1ce)][_0x4c2575(0x1e2)](_0x3051bf),_0x294a1a=''+(_0x19baa5[_0x4c2575(0x208)]!==_0x467d4a?_0x19baa5[_0x4c2575(0x249)]+':\x20':'')+_0x19baa5[_0x4c2575(0x1fa)];if(!0x1!==_0x19baa5[_0x4c2575(0x1d1)]&&_0x30782e[_0x4c2575(0x1c8)]){const _0x30d2ee=_0x2ed82c(_0x30782e[_0x4c2575(0x1c0)]())||_0x289ba0[_0x4c2575(0x23f)][_0x4c2575(0x267)][_0x4c2575(0x1bf)](_0x30782e);_0x289ba0[_0x4c2575(0x23f)][_0x4c2575(0x256)](_0x48a00c=>{const _0x4ebedc=_0x4c2575;_0x48a00c[_0x4ebedc(0x20d)](_0x30d2ee,'in');});}_0x4bc3dd[_0x4c2575(0x207)](),_0x172b6b[_0x4c2575(0x229)](_0x19baa5[_0x4c2575(0x221)],_0x294a1a,_0x4c2575(0x250)+_0x4d120c);}[_0x13eb91(0x1e6)](_0x1b9fbe,_0x5624b0,_0x5d42d8,_0x3dbf77){const _0x2eab8b=_0x13eb91,_0x43efed=this[_0x2eab8b(0x1dc)],_0x5b7c95=_0x43efed[_0x2eab8b(0x223)],_0x2002a3=new _0x1451c0(_0x5b7c95),_0x4aa143=U(_0x43efed,_0x5d42d8)[_0x2eab8b(0x1d4)](_0x30878a=>_0x30878a[_0x2eab8b(0x1e9)][_0x2eab8b(0x1ba)]);0x1===_0x4aa143[_0x2eab8b(0x1ba)]?this[_0x2eab8b(0x212)]({'command':_0x1b9fbe,'commands':_0x4aa143[0x0][_0x2eab8b(0x1e9)],'parentMenuView':_0x5624b0,'onExecute':_0x3dbf77})[_0x2eab8b(0x1d0)](_0x378ebe=>_0x2002a3[_0x2eab8b(0x1df)][_0x2eab8b(0x1de)](_0x378ebe)):_0x4aa143[_0x2eab8b(0x1d0)](({groupId:_0x43a6e5,groupLabel:_0x52f9e3,commands:_0x28090d})=>{const _0x488a9c=_0x2eab8b,_0x3d0533=new _0x3ab799(_0x5b7c95,_0x5624b0),_0x44c5c8=new _0x21236d(_0x5b7c95),_0x1d167f=new _0x1451c0(_0x5b7c95),_0x17ae1b=this[_0x488a9c(0x212)]({'command':_0x1b9fbe,'commands':_0x28090d,'parentMenuView':_0x44c5c8,'onExecute':_0x3dbf77});_0x44c5c8[_0x488a9c(0x1ff)][_0x488a9c(0x1d7)]({'label':_0x52f9e3||_0x43a6e5}),_0x44c5c8[_0x488a9c(0x20b)](_0x488a9c(0x229))['to'](_0x5624b0),_0x1d167f[_0x488a9c(0x1df)][_0x488a9c(0x25f)](_0x17ae1b),_0x44c5c8[_0x488a9c(0x248)][_0x488a9c(0x1c3)][_0x488a9c(0x1de)](_0x1d167f),_0x3d0533[_0x488a9c(0x1c3)][_0x488a9c(0x1de)](_0x44c5c8),_0x2002a3[_0x488a9c(0x1df)][_0x488a9c(0x1de)](_0x3d0533);}),_0x5624b0[_0x2eab8b(0x248)][_0x2eab8b(0x1c3)][_0x2eab8b(0x1de)](_0x2002a3);}[_0x13eb91(0x212)]({command:_0x344e45,commands:_0x21c005,parentMenuView:_0x3ed545,onExecute:_0x3ddf2a}){const _0x268c92=_0x13eb91,_0x58a61c=this[_0x268c92(0x1dc)],_0x4398ab=_0x58a61c[_0x268c92(0x223)];return U(_0x58a61c,_0x21c005)[_0x268c92(0x251)](_0x4210f7=>{const _0x2a2962=_0x268c92,_0x4da488=new _0x3ab799(_0x4398ab,_0x3ed545),_0x1fccca=new _0x11c28b(_0x4398ab);return _0x1fccca[_0x2a2962(0x1d7)]({'label':_0x4210f7[_0x2a2962(0x1fa)]}),_0x1fccca[_0x2a2962(0x20b)](_0x2a2962(0x229))['to'](_0x3ed545),_0x1fccca['on'](_0x2a2962(0x229),()=>_0x3ddf2a(_0x4210f7['id'])),_0x1fccca[_0x2a2962(0x22a)](_0x2a2962(0x1f2))['to'](_0x344e45,_0x2a2962(0x1e1),_0x66273e=>_0x66273e[_0x2a2962(0x259)](_0x4210f7['id'])),_0x4da488[_0x2a2962(0x1c3)][_0x2a2962(0x1de)](_0x1fccca),_0x4da488;});}}function T(_0x30d8fe,_0xa9993a){const _0x1146ad=_0x13eb91;return void 0x0!==_0x30d8fe[_0x1146ad(0x1fe)]&&void 0x0===_0xa9993a[_0x1146ad(0x1fe)]?0x1:void 0x0===_0x30d8fe[_0x1146ad(0x1fe)]&&void 0x0!==_0xa9993a[_0x1146ad(0x1fe)]?-0x1:void 0x0!==_0x30d8fe[_0x1146ad(0x1fe)]&&void 0x0!==_0xa9993a[_0x1146ad(0x1fe)]?_0x30d8fe[_0x1146ad(0x1fe)]-_0xa9993a[_0x1146ad(0x1fe)]:0x0;}function U(_0xf0c574,_0x5d5341){const _0xabfe7a=_0x13eb91;_0x5d5341[_0xabfe7a(0x260)](T);const _0x55906f={},_0x2fa3a4=[];for(const _0x5d5a1b of _0x5d5341)if(void 0x0!==_0x5d5a1b[_0xabfe7a(0x1fe)]){if(_0x5d5a1b[_0xabfe7a(0x1fe)]in _0x55906f)throw new _0x8a0d6b(_0xabfe7a(0x1fd),_0xf0c574,{'conflictingDefinitions':[_0x5d5a1b,_0x55906f[_0x5d5a1b[_0xabfe7a(0x1fe)]]]});_0x55906f[_0x5d5a1b[_0xabfe7a(0x1fe)]]=_0x5d5a1b,_0x2fa3a4[_0xabfe7a(0x1c1)](_0x5d5a1b[_0xabfe7a(0x1fe)],0x0,_0x5d5a1b);}else _0x2fa3a4[_0xabfe7a(0x22e)](_0x5d5a1b);return _0x2fa3a4;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x2c24(_0x3c5916,_0x176e30){const _0x3eb01c=_0x3eb0();return _0x2c24=function(_0x2c2491,_0x5efafb){_0x2c2491=_0x2c2491-0x1a6;let _0x9e8b8f=_0x3eb01c[_0x2c2491];return _0x9e8b8f;},_0x2c24(_0x3c5916,_0x176e30);}const _0x43041c=_0x2c24;(function(_0x38c5fb,_0x947d03){const _0x50ee45=_0x2c24,_0x38cf4a=_0x38c5fb();while(!![]){try{const _0x4a8b8d=parseInt(_0x50ee45(0x1c7))/0x1*(-parseInt(_0x50ee45(0x1e4))/0x2)+parseInt(_0x50ee45(0x1b8))/0x3+parseInt(_0x50ee45(0x1f7))/0x4*(parseInt(_0x50ee45(0x1b1))/0x5)+parseInt(_0x50ee45(0x1ae))/0x6*(parseInt(_0x50ee45(0x1bc))/0x7)+-parseInt(_0x50ee45(0x1eb))/0x8+-parseInt(_0x50ee45(0x208))/0x9*(-parseInt(_0x50ee45(0x1ce))/0xa)+-parseInt(_0x50ee45(0x1b0))/0xb;if(_0x4a8b8d===_0x947d03)break;else _0x38cf4a['push'](_0x38cf4a['shift']());}catch(_0x5dd2e3){_0x38cf4a['push'](_0x38cf4a['shift']());}}}(_0x3eb0,0x9065a));function _0x3eb0(){const _0x2ae52e=['_normalizeResponseHeadings','setContentOf','currentResponse','view','46236MXxAGE','createElement','startsWith','reverse','nodeType','from','isRendered','message','markers','finishProcessing','abort','get','ELEMENT_NODE','childNodes','value','clear','document','4915269XbaEAi','toView','_handleQuery','editing','serializeToString','_sanitizationContainer','currentContext','ai.assistant.preserveComments','set','previousQuery','then','90GhNDGE','exec','18143103MfwsKw','365AroMJQ','initialContext','previousContext','reset','_parseAndNormalizeContent','parseFromString','listenTo','740880xQPZDi','element','div','name','518798DbPEYo','finally','handleError','once','toModel','_xmlSerializer','render','tryAgainEvent','catch','previousActionId','endsWith','936219qozFbF','_sanitizeHTML','isProcessing','<h1></h1>','submitPrompt','editor','length','20ScPPQH','_isH1TagSupportEnabled','```html','previousLabel','mainAction','_domParser','domConverter','processor','destroy','makeRequest','stopProcessing','trim','config','viewToDom','set:currentContext','prompt','text/html','updateView','querySelector','push','stopListening','substring','2jrgXIt','innerHTML','remove','```','data','rename','body','941736jXwuEq','htmlProcessor','match','stringify','custom','startProcessing','_stripMarkdownSyntax','textAdapter'];_0x3eb0=function(){return _0x2ae52e;};return _0x3eb0();}import{ObservableMixin as _0x3a26b5}from'ckeditor5/src/utils.js';import{AIRequestError as _0x33e1bd}from'../adapters/aiadapter.js';import{Matcher as _0x1f1421,ViewUpcastWriter as _0xdec8fb}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a26b5(){[_0x43041c(0x1cc)];[_0x43041c(0x1f2)];[_0x43041c(0x1f6)];[_0x43041c(0x1a8)];[_0x43041c(0x1d3)];[_0x43041c(0x1c1)];constructor(_0x3f14e8,_0x28fb93,_0x5db12d){const _0x4bf4eb=_0x43041c;super(),this[_0x4bf4eb(0x1cc)]=_0x3f14e8,this[_0x4bf4eb(0x1f2)]=_0x28fb93,this[_0x4bf4eb(0x1a8)]=document[_0x4bf4eb(0x1f8)](_0x4bf4eb(0x1ba)),this[_0x4bf4eb(0x1d3)]=new DOMParser(),this[_0x4bf4eb(0x1c1)]=new XMLSerializer(),this[_0x4bf4eb(0x1f6)]=_0x5db12d,this[_0x4bf4eb(0x1ab)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4bf4eb(0x1dc),(_0x34cb6a,_0x1c90a6,_0x43ad66)=>{const _0x1937c0=_0x4bf4eb;this[_0x1937c0(0x1f6)][_0x1937c0(0x205)]=this[_0x1937c0(0x1c8)](_0x43ad66);}),this[_0x4bf4eb(0x1b7)](this[_0x4bf4eb(0x1f6)],_0x4bf4eb(0x1cb),(_0x240c07,_0x425f81)=>{const _0x3311c3=_0x4bf4eb,_0x163ea6=this[_0x3311c3(0x1a9)]||this[_0x3311c3(0x1b2)];this[_0x3311c3(0x20a)](_0x425f81,_0x163ea6,_0x3311c3(0x1ef));}),this[_0x4bf4eb(0x1b7)](this[_0x4bf4eb(0x1f6)],_0x4bf4eb(0x1c3),()=>{const _0x5821bc=_0x4bf4eb;this[_0x5821bc(0x1f6)][_0x5821bc(0x1dd)]=this[_0x5821bc(0x1d1)],this[_0x5821bc(0x20a)](this[_0x5821bc(0x1ac)],this[_0x5821bc(0x1b3)],this[_0x5821bc(0x1c5)],this[_0x5821bc(0x1d1)]);}),this[_0x4bf4eb(0x1b7)](this[_0x4bf4eb(0x1f6)],_0x4bf4eb(0x1d8),()=>{const _0x36c556=_0x4bf4eb;this[_0x36c556(0x1d8)]();});}[_0x43041c(0x1d6)](){const _0x416e93=_0x43041c;this[_0x416e93(0x1e2)]();}async[_0x43041c(0x1df)]({actionId:_0x2607c9,query:_0x5ed0ee,htmlContent:_0x229938,label:_0x4c9789,mainActionLabel:_0x8c6f08}){const _0x51db8d=_0x43041c;this[_0x51db8d(0x1f6)][_0x51db8d(0x1dd)]=_0x4c9789,this[_0x51db8d(0x1f6)][_0x51db8d(0x1d2)]=_0x8c6f08,this[_0x51db8d(0x1b2)]=_0x229938,_0x5ed0ee&&(this[_0x51db8d(0x1f6)][_0x51db8d(0x1fd)]?this[_0x51db8d(0x20a)](_0x5ed0ee,_0x229938,_0x2607c9,_0x4c9789):this[_0x51db8d(0x1f6)][_0x51db8d(0x1bf)](_0x51db8d(0x1c2),()=>{const _0x14b834=_0x51db8d;this[_0x14b834(0x20a)](_0x5ed0ee,_0x229938,_0x2607c9,_0x4c9789);}));}[_0x43041c(0x1d8)](){const _0x95e641=_0x43041c;this[_0x95e641(0x1c9)]&&(this[_0x95e641(0x1c9)]=!0x1,this[_0x95e641(0x1f6)][_0x95e641(0x200)](),this[_0x95e641(0x1f2)][_0x95e641(0x201)]());}[_0x43041c(0x1b4)](){const _0x364acb=_0x43041c;this[_0x364acb(0x1b2)]='',this[_0x364acb(0x1a9)]='',this[_0x364acb(0x1f5)]='',this[_0x364acb(0x1b3)]='',this[_0x364acb(0x1ac)]='',this[_0x364acb(0x1d1)]='',this[_0x364acb(0x1c5)]=void 0x0,this[_0x364acb(0x1f6)][_0x364acb(0x1b4)](),this[_0x364acb(0x1d8)]();}async[_0x43041c(0x20a)](_0x2840a4,_0x1a5975,_0x855bd4,_0x433883){const _0x5d493f=_0x43041c;return this[_0x5d493f(0x1c9)]=!0x0,this[_0x5d493f(0x1f6)][_0x5d493f(0x1f0)](),this[_0x5d493f(0x1b3)]=_0x1a5975,this[_0x5d493f(0x1ac)]=_0x2840a4,this[_0x5d493f(0x1d1)]=_0x433883||_0x2840a4,this[_0x5d493f(0x1c5)]=_0x855bd4,new Promise(_0x2099b4=>{const _0x531f04=_0x5d493f;this[_0x531f04(0x1f2)][_0x531f04(0x1d7)]({'query':_0x2840a4,'context':_0x1a5975,'onData':_0x18d145=>{const _0x35f508=_0x531f04;this[_0x35f508(0x1f5)]=_0x18d145,this[_0x35f508(0x1a9)]=this[_0x35f508(0x1b5)](this[_0x35f508(0x1f5)]);},'actionId':_0x855bd4})[_0x531f04(0x1ad)](()=>{const _0xf4706c=_0x531f04;!this[_0xf4706c(0x1a9)]&&this[_0xf4706c(0x1f5)]&&(this[_0xf4706c(0x1a9)]=this[_0xf4706c(0x1b5)](this[_0xf4706c(0x1f5)],!0x0));})[_0x531f04(0x1c4)](_0x5de741=>{const _0x49e0db=_0x531f04;_0x5de741 instanceof _0x33e1bd?this[_0x49e0db(0x1f6)][_0x49e0db(0x1be)](_0x5de741[_0x49e0db(0x1fe)]):this[_0x49e0db(0x1f6)][_0x49e0db(0x1be)](),_0x2099b4();})[_0x531f04(0x1bd)](()=>{const _0x13c6c0=_0x531f04;this[_0x13c6c0(0x1d8)](),_0x2099b4();});});}[_0x43041c(0x1b5)](_0x545dab,_0x5942df=!0x1){const _0x1ca632=_0x43041c,_0x2feaea=hs[_0x1ca632(0x1af)](_0x545dab);_0x545dab=_0x2feaea?_0x545dab[_0x1ca632(0x1e3)](_0x2feaea[0x1][_0x1ca632(0x1cd)]):_0x545dab[_0x1ca632(0x1cd)]<0x64&&!_0x5942df?'':this[_0x1ca632(0x1f1)](_0x545dab);const _0x19af9d=this[_0x1ca632(0x1d3)][_0x1ca632(0x1b6)](_0x545dab,_0x1ca632(0x1de));if(_0x2feaea){const _0x49e9fc=Array[_0x1ca632(0x1fc)](_0x19af9d[_0x1ca632(0x1ea)][_0x1ca632(0x204)]);_0x49e9fc[_0x1ca632(0x1fa)]();for(const _0x4c21de of _0x49e9fc){if(_0x4c21de[_0x1ca632(0x1fb)]==Node[_0x1ca632(0x203)])break;_0x4c21de[_0x1ca632(0x1e6)]();}}const _0x57c6c6=this[_0x1ca632(0x1cc)][_0x1ca632(0x1e8)][_0x1ca632(0x1d5)][_0x1ca632(0x209)](this[_0x1ca632(0x1c1)][_0x1ca632(0x1a7)](_0x19af9d[_0x1ca632(0x1ea)]));this[_0x1ca632(0x1cf)]()||this[_0x1ca632(0x1f3)](_0x57c6c6);const _0x34a4da=this[_0x1ca632(0x1cc)][_0x1ca632(0x1da)][_0x1ca632(0x202)](_0x1ca632(0x1aa)),_0x4d2390=this[_0x1ca632(0x1cc)][_0x1ca632(0x1e8)][_0x1ca632(0x1c0)](_0x57c6c6);return _0x34a4da||_0x4d2390[_0x1ca632(0x1ff)][_0x1ca632(0x206)](),this[_0x1ca632(0x1cc)][_0x1ca632(0x1e8)][_0x1ca632(0x1ee)](_0x4d2390);}[_0x43041c(0x1f3)](_0x5627f5){const _0x10d6bc=_0x43041c,_0x18b694=new _0xdec8fb(this[_0x10d6bc(0x1cc)][_0x10d6bc(0x1a6)][_0x10d6bc(0x1f6)][_0x10d6bc(0x207)]),_0x29ab67=new _0x1f1421({'name':/^h[1-5]$/}),_0x5ae59b=[];let _0x579f3b=!0x1;for(const _0x2afa75 of _0x5627f5)_0x2afa75['is'](_0x10d6bc(0x1b9))&&_0x29ab67[_0x10d6bc(0x1ed)](_0x2afa75)&&(_0x5ae59b[_0x10d6bc(0x1e1)](_0x2afa75),'h1'==_0x2afa75[_0x10d6bc(0x1bb)]&&(_0x579f3b=!0x0));if(_0x579f3b){for(const _0x404bf5 of _0x5ae59b)_0x18b694[_0x10d6bc(0x1e9)]('h'+(parseInt(_0x404bf5[_0x10d6bc(0x1bb)][0x1])+0x1),_0x404bf5);}}[_0x43041c(0x1cf)](){const _0xc45f49=_0x43041c,{data:_0x4bed3f,editing:_0x3d35b9}=this[_0xc45f49(0x1cc)],_0x2ea873=_0x4bed3f[_0xc45f49(0x1ec)][_0xc45f49(0x209)](_0xc45f49(0x1ca)),_0x3e0231=_0x4bed3f[_0xc45f49(0x209)](_0x4bed3f[_0xc45f49(0x1c0)](_0x2ea873));return!!_0x3d35b9[_0xc45f49(0x1f6)][_0xc45f49(0x1d4)][_0xc45f49(0x1db)](_0x3e0231)[_0xc45f49(0x1e0)]('h1');}[_0x43041c(0x1c8)](_0x448a14){const _0x5570c4=_0x43041c;return this[_0x5570c4(0x1cc)][_0x5570c4(0x1a6)][_0x5570c4(0x1f6)][_0x5570c4(0x1d4)][_0x5570c4(0x1f4)](this[_0x5570c4(0x1a8)],_0x448a14),this[_0x5570c4(0x1a8)][_0x5570c4(0x1e5)];}[_0x43041c(0x1f1)](_0x17e8dc){const _0x3ea361=_0x43041c,_0xde8b81=_0x17e8dc[_0x3ea361(0x1d9)]();return _0xde8b81[_0x3ea361(0x1f9)](_0x3ea361(0x1d0))?_0xde8b81[_0x3ea361(0x1c6)](_0x3ea361(0x1e7))?_0xde8b81[_0x3ea361(0x1e3)](0x7,_0xde8b81[_0x3ea361(0x1cd)]-0x3):_0xde8b81[_0x3ea361(0x1e3)](0x7):_0x17e8dc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cbf3f=_0x1026;(function(_0x479d87,_0x9ebf6a){const _0x341560=_0x1026,_0x266a39=_0x479d87();while(!![]){try{const _0x12404a=-parseInt(_0x341560(0x1d6))/0x1*(parseInt(_0x341560(0x1b1))/0x2)+-parseInt(_0x341560(0x1a7))/0x3*(parseInt(_0x341560(0x1c2))/0x4)+-parseInt(_0x341560(0x194))/0x5+-parseInt(_0x341560(0x1a1))/0x6*(-parseInt(_0x341560(0x1b4))/0x7)+-parseInt(_0x341560(0x1c1))/0x8+-parseInt(_0x341560(0x1d8))/0x9*(-parseInt(_0x341560(0x1e1))/0xa)+parseInt(_0x341560(0x1d4))/0xb;if(_0x12404a===_0x9ebf6a)break;else _0x266a39['push'](_0x266a39['shift']());}catch(_0x556fc1){_0x266a39['push'](_0x266a39['shift']());}}}(_0x2537,0x4c2d8));import{global as _0xd979e9}from'ckeditor5/src/utils.js';import{View as _0x848727,ButtonView as _0x48c682,SpinnerView as _0x265f1a}from'ckeditor5/src/ui.js';import{IconCheck as _0x439050,IconCopy as _0x4f9c25}from'ckeditor5/src/icons.js';import{getTranslation as _0x341eb5}from'../../utils/common-translations.js';function _0x1026(_0x3a4042,_0x4cfa16){const _0x2537e5=_0x2537();return _0x1026=function(_0x10262e,_0xdeba75){_0x10262e=_0x10262e-0x191;let _0x317c3f=_0x2537e5[_0x10262e];return _0x317c3f;},_0x1026(_0x3a4042,_0x4cfa16);}function _0x2537(){const _0x3a6462=['createElement','appendLoader','Copy','scrollHeight','addRange','textContent','appendChild','execute','copy','smooth','class','style','position','ck-ai-form__content-area--processing','createRange','contentFieldView','text/html','15880513DFhZcA','ck-ai-form__content-field','2catBDQ','isVisible','52596fNmzWs','ck-ai-form__content-area','execCommand','listenTo','ck-hidden','div','change:isProcessing','innerHTML','set','360cpUJvs','remove','<span>[</span>','focus','getSelection','element','_copyHTMLToClipboard','text/plain','mousedown','1691310IeTVIJ','\x20ck-ai-form__copy-button--copied','isProcessing','-9999px','ck-ai-form__loader','ClipboardItem','isEnabled','bind','loaderView','ck-ai-form__copy-button-wrapper','setStartAfter','clipboard','.ck-ai-form__loader','153366ILulay','absolute','setEndBefore','ck-ai-form__content-area-wrapper','scrollTo','<span>]</span>','70164fgblTh','ck-ai-form__copy-button','copyButtonView','ck-reset_all-excluded','write','lastElementChild','wheel','value','_createCopyButton','AI\x20is\x20writing...','259778uFvdqm','firstElementChild','_createLoader','35HVutUb','change:value','removeAllRanges','querySelector','body','locale','render','ck-content','setTemplate','setContent','icon','left','bindTemplate','2109760RDHHKv','104ktSTPK'];_0x2537=function(){return _0x3a6462;};return _0x2537();}export class AIFormContentArea extends _0x848727{[_0x1cbf3f(0x1d2)];[_0x1cbf3f(0x1a9)];constructor(_0x11008c,_0x35e3eb=''){const _0x19a2d1=_0x1cbf3f;super(_0x11008c),this[_0x19a2d1(0x1e0)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x194f7d=this[_0x19a2d1(0x1c0)];this[_0x19a2d1(0x1d2)]=new ContentFieldView(_0x11008c,_0x35e3eb),this[_0x19a2d1(0x1a9)]=this[_0x19a2d1(0x1af)](),this[_0x19a2d1(0x1bc)]({'tag':_0x19a2d1(0x1dd),'attributes':{'class':['ck',_0x19a2d1(0x1a4),_0x194f7d['if'](_0x19a2d1(0x1d7),_0x19a2d1(0x1dc),_0x53a99b=>!_0x53a99b)],'tabindex':'-1'},'children':[{'tag':_0x19a2d1(0x1dd),'attributes':{'class':['ck',_0x19a2d1(0x1d9),_0x194f7d['if'](_0x19a2d1(0x196),_0x19a2d1(0x1d0))]},'children':[this[_0x19a2d1(0x1d2)],{'tag':_0x19a2d1(0x1dd),'attributes':{'class':['ck',_0x19a2d1(0x19d)]},'children':[this[_0x19a2d1(0x1a9)]]}]}]});}[_0x1cbf3f(0x1ba)](){const _0x21e17a=_0x1cbf3f;super[_0x21e17a(0x1ba)](),this[_0x21e17a(0x1ae)]&&this[_0x21e17a(0x1d2)][_0x21e17a(0x1bd)](this[_0x21e17a(0x1ae)]);let _0x12b997=!0x1;this['on'](_0x21e17a(0x1b5),(_0x5229d9,_0x34edba,_0x3a2371)=>{const _0x46df0b=_0x21e17a,_0x2cd8db=!this[_0x46df0b(0x1d2)][_0x46df0b(0x1e6)][_0x46df0b(0x1b7)](_0x46df0b(0x1a0));this[_0x46df0b(0x1d2)][_0x46df0b(0x1bd)](_0x3a2371),this[_0x46df0b(0x196)]&&_0x2cd8db&&!_0x12b997&&this[_0x46df0b(0x1e6)][_0x46df0b(0x1a5)]({'top':this[_0x46df0b(0x1e6)][_0x46df0b(0x1c6)],'behavior':_0x46df0b(0x1cc)});}),this['on'](_0x21e17a(0x1de),(_0x2ce27e,_0x3d6b03,_0x30cdcd)=>{const _0x42ec0b=_0x21e17a;_0x12b997=!0x1,_0x30cdcd?(this[_0x42ec0b(0x1ae)]=null,this[_0x42ec0b(0x1d2)][_0x42ec0b(0x1c4)]()):this[_0x42ec0b(0x1ae)]||this[_0x42ec0b(0x1d2)][_0x42ec0b(0x1bd)]('');}),this[_0x21e17a(0x1db)](this[_0x21e17a(0x1e6)],_0x21e17a(0x1ad),()=>{_0x12b997=!0x0;}),this[_0x21e17a(0x1db)](this[_0x21e17a(0x1e6)],_0x21e17a(0x193),()=>{_0x12b997=!0x0;});}[_0x1cbf3f(0x1e4)](){const _0x4493bf=_0x1cbf3f;this[_0x4493bf(0x1e6)][_0x4493bf(0x1e4)]();}[_0x1cbf3f(0x1af)](){const _0xcd9c32=_0x1cbf3f,_0x4465e5=this[_0xcd9c32(0x1b9)],_0x2bee0a=new _0x48c682(this[_0xcd9c32(0x1b9)]),_0x1386da=_0xcd9c32(0x1a8);return _0x2bee0a[_0xcd9c32(0x1e0)]({'label':_0x341eb5(_0x4465e5,_0xcd9c32(0x1c5)),'icon':_0x4f9c25,'class':_0x1386da,'tooltip':!0x0}),_0x2bee0a[_0xcd9c32(0x19b)](_0xcd9c32(0x1d7))['to'](this,_0xcd9c32(0x1ae),_0x435a0f=>!!_0x435a0f),_0x2bee0a[_0xcd9c32(0x19b)](_0xcd9c32(0x19a))['to'](this,_0xcd9c32(0x196),_0x28e160=>!_0x28e160),_0x2bee0a['on'](_0xcd9c32(0x1ca),()=>{const _0x1ccd52=_0xcd9c32;this[_0x1ccd52(0x191)](this[_0x1ccd52(0x1d2)][_0x1ccd52(0x1e6)]),_0x2bee0a[_0x1ccd52(0x1be)]=_0x439050,_0x2bee0a[_0x1ccd52(0x1cd)]=_0x1386da+_0x1ccd52(0x195),this[_0x1ccd52(0x1e4)](),setTimeout(()=>{const _0x5f1886=_0x1ccd52;_0x2bee0a[_0x5f1886(0x1be)]=_0x4f9c25,_0x2bee0a[_0x5f1886(0x1cd)]=_0x1386da;},0x3e8);}),_0x2bee0a;}[_0x1cbf3f(0x191)](_0x30bdc4){const _0x5713ad=_0x1cbf3f,{window:_0x5a3772,document:_0x1305f5}=_0xd979e9;if(_0x5a3772[_0x5713ad(0x199)]){const {Blob:_0x4bae38,ClipboardItem:_0x106b38}=_0x5a3772,_0x554592=[new _0x106b38({'text/html':new _0x4bae38([_0x30bdc4[_0x5713ad(0x1df)]],{'type':_0x5713ad(0x1d3)}),'text/plain':new _0x4bae38([_0x30bdc4[_0x5713ad(0x1c8)]||''],{'type':_0x5713ad(0x192)})})];navigator[_0x5713ad(0x19f)][_0x5713ad(0x1ab)](_0x554592);}else{const _0xa572ea=_0x1305f5[_0x5713ad(0x1c3)](_0x5713ad(0x1dd));_0xa572ea[_0x5713ad(0x1ce)][_0x5713ad(0x1cf)]=_0x5713ad(0x1a2),_0xa572ea[_0x5713ad(0x1ce)][_0x5713ad(0x1bf)]=_0x5713ad(0x197),_0xa572ea[_0x5713ad(0x1df)]=_0x5713ad(0x1e3)+_0x30bdc4[_0x5713ad(0x1df)]+_0x5713ad(0x1a6),_0x1305f5[_0x5713ad(0x1b8)][_0x5713ad(0x1c9)](_0xa572ea);const _0x13c13b=_0x1305f5[_0x5713ad(0x1d1)]();_0x13c13b[_0x5713ad(0x19e)](_0xa572ea[_0x5713ad(0x1b2)]),_0x13c13b[_0x5713ad(0x1a3)](_0xa572ea[_0x5713ad(0x1ac)]);const _0x3d4ad5=_0x5a3772[_0x5713ad(0x1e5)]();_0x3d4ad5[_0x5713ad(0x1b6)](),_0x3d4ad5[_0x5713ad(0x1c7)](_0x13c13b),_0x1305f5[_0x5713ad(0x1da)](_0x5713ad(0x1cb)),_0xa572ea[_0x5713ad(0x1e2)]();}}}export class ContentFieldView extends _0x848727{constructor(_0x2e1b66,_0x14c2ff=''){const _0x20690b=_0x1cbf3f;super(_0x2e1b66),this[_0x20690b(0x19c)]=this[_0x20690b(0x1b3)](),this[_0x20690b(0x1bc)]({'tag':_0x20690b(0x1dd),'attributes':{'class':['ck',_0x20690b(0x1bb),_0x14c2ff,_0x20690b(0x1aa),_0x20690b(0x1d5)]}});}[_0x1cbf3f(0x1bd)](_0xac5b08){const _0x1d997f=_0x1cbf3f;this[_0x1d997f(0x1e6)][_0x1d997f(0x1df)]=_0xac5b08;}[_0x1cbf3f(0x1c4)](){const _0x3f1a14=_0x1cbf3f;this[_0x3f1a14(0x1e6)][_0x3f1a14(0x1c9)](this[_0x3f1a14(0x19c)][_0x3f1a14(0x1e6)]);}[_0x1cbf3f(0x1b3)](){const _0x2d618a=_0x1cbf3f,_0x29548e=new _0x848727(),_0x24eff3=this[_0x2d618a(0x1b9)],_0x298f86=new _0x265f1a();return _0x298f86[_0x2d618a(0x1d7)]=!0x0,_0x29548e[_0x2d618a(0x1bc)]({'tag':_0x2d618a(0x1dd),'attributes':{'class':['ck',_0x2d618a(0x198)]},'children':[_0x298f86,{'text':_0x341eb5(_0x24eff3,_0x2d618a(0x1b0))}]}),_0x29548e[_0x2d618a(0x1ba)](),_0x29548e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3defcd,_0x34c726){const _0x3020d4=_0x1259,_0x174708=_0x3defcd();while(!![]){try{const _0x1fde7a=-parseInt(_0x3020d4(0xe4))/0x1*(parseInt(_0x3020d4(0xe7))/0x2)+parseInt(_0x3020d4(0xe1))/0x3*(-parseInt(_0x3020d4(0xde))/0x4)+-parseInt(_0x3020d4(0xe5))/0x5*(parseInt(_0x3020d4(0xdd))/0x6)+-parseInt(_0x3020d4(0xda))/0x7*(parseInt(_0x3020d4(0xdc))/0x8)+parseInt(_0x3020d4(0xea))/0x9+parseInt(_0x3020d4(0xe6))/0xa*(parseInt(_0x3020d4(0xe9))/0xb)+parseInt(_0x3020d4(0xec))/0xc;if(_0x1fde7a===_0x34c726)break;else _0x174708['push'](_0x174708['shift']());}catch(_0x40b2fd){_0x174708['push'](_0x174708['shift']());}}}(_0x27f5,0x5b424));import{IconError as _0x4c8348}from'ckeditor5/src/icons.js';import{View as _0x165d0a,IconView as _0x2ccb96}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x165d0a{constructor(_0x1c1400,_0x6e2f6f=''){const _0x2ebeea=_0x1259;super(_0x1c1400);const _0x3ff564=new _0x2ccb96(),_0x37b2d2=this[_0x2ebeea(0xe8)];this[_0x2ebeea(0xe3)](_0x2ebeea(0xe2),_0x6e2f6f),_0x3ff564[_0x2ebeea(0xdb)]=_0x4c8348,this[_0x2ebeea(0xdf)]({'tag':_0x2ebeea(0xeb),'attributes':{'class':['ck',_0x2ebeea(0xe0)]},'children':[_0x3ff564,{'text':_0x37b2d2['to'](_0x2ebeea(0xe2))}]});}}function _0x1259(_0x51b05f,_0x2c5465){const _0x27f572=_0x27f5();return _0x1259=function(_0x1259b0,_0x236cb9){_0x1259b0=_0x1259b0-0xda;let _0x19756f=_0x27f572[_0x1259b0];return _0x19756f;},_0x1259(_0x51b05f,_0x2c5465);}function _0x27f5(){const _0x18ed67=['216330ZzThqf','bindTemplate','11WLSeuo','5507820njMCbe','div','10311156bQEddi','166607vWLsef','content','8TjKMEa','953136FOkrtz','224CeDpqy','setTemplate','ck-ai-form__error','20526BhUwJS','text','set','3XKLOfq','20AjybSI','2694250FAzWsn'];_0x27f5=function(){return _0x18ed67;};return _0x27f5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ad92e=_0x3c74;(function(_0x1d5d8b,_0x50a6a8){const _0x2fbd15=_0x3c74,_0x1ab42e=_0x1d5d8b();while(!![]){try{const _0x33b161=parseInt(_0x2fbd15(0x9f))/0x1+parseInt(_0x2fbd15(0x89))/0x2+-parseInt(_0x2fbd15(0x9b))/0x3+parseInt(_0x2fbd15(0xa6))/0x4+-parseInt(_0x2fbd15(0x76))/0x5+-parseInt(_0x2fbd15(0x82))/0x6*(parseInt(_0x2fbd15(0x9d))/0x7)+-parseInt(_0x2fbd15(0x9e))/0x8;if(_0x33b161===_0x50a6a8)break;else _0x1ab42e['push'](_0x1ab42e['shift']());}catch(_0x447b84){_0x1ab42e['push'](_0x1ab42e['shift']());}}}(_0x3fe6,0x841cf));import{Rect as _0x3dc2e7,global as _0x558a9e,isVisible as _0x4f12f5}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1d0a15,IconSubmit as _0x1a36d3}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x46cad8,ButtonView as _0x96575c}from'ckeditor5/src/ui.js';function _0x3c74(_0x2d29c0,_0x4f1549){const _0x3fe636=_0x3fe6();return _0x3c74=function(_0x3c7407,_0x446ac9){_0x3c7407=_0x3c7407-0x71;let _0x398eba=_0x3fe636[_0x3c7407];return _0x398eba;},_0x3c74(_0x2d29c0,_0x4f1549);}import{getTranslation as _0x382c79}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x46cad8{[_0x2ad92e(0x90)];[_0x2ad92e(0x73)];constructor(_0x5e5fab,_0x2682b5){const _0x35a95a=_0x2ad92e;super(_0x5e5fab,_0x2682b5),this[_0x35a95a(0x7c)][_0x35a95a(0x7e)][_0x35a95a(0x85)]=0x1,this[_0x35a95a(0x7c)][_0x35a95a(0x7e)][_0x35a95a(0x98)]=0x3,this[_0x35a95a(0x90)]=this[_0x35a95a(0x84)](),this[_0x35a95a(0x73)]=this[_0x35a95a(0x72)](),this[_0x35a95a(0xa3)][_0x35a95a(0x92)](this[_0x35a95a(0x73)],0x1),this[_0x35a95a(0xa3)][_0x35a95a(0x92)](this[_0x35a95a(0x90)]);}[_0x2ad92e(0x83)](){const _0x4d1dc3=_0x2ad92e;super[_0x4d1dc3(0x83)](),this[_0x4d1dc3(0x7c)][_0x4d1dc3(0x74)][_0x4d1dc3(0x92)](this[_0x4d1dc3(0x73)]),this[_0x4d1dc3(0xa1)][_0x4d1dc3(0x92)](this[_0x4d1dc3(0x90)]),this[_0x4d1dc3(0x78)][_0x4d1dc3(0x79)](_0x4d1dc3(0xa0),(_0x1692f9,_0x3189f3)=>{const _0xbb1417=_0x4d1dc3;_0x1692f9[_0xbb1417(0x7f)]==this[_0xbb1417(0x7c)][_0xbb1417(0x7e)][_0xbb1417(0x8a)]&&(this[_0xbb1417(0x88)](),_0x3189f3());});}[_0x2ad92e(0x84)](){const _0x545c8c=_0x2ad92e,_0x20dad5=new _0x96575c(this[_0x545c8c(0x8f)]),_0x3afcb9=this[_0x545c8c(0x8f)];return _0x20dad5[_0x545c8c(0x79)]({'icon':_0x1a36d3,'label':_0x382c79(_0x3afcb9,_0x545c8c(0x77)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x545c8c(0x7a)}),_0x20dad5['on'](_0x545c8c(0x87),()=>{const _0x49dc22=_0x545c8c;this[_0x49dc22(0x88)]();}),_0x20dad5[_0x545c8c(0xa8)](_0x545c8c(0x9a))['to'](this[_0x545c8c(0x7c)][_0x545c8c(0x7e)],_0x545c8c(0x86),this,_0x545c8c(0x9a),(_0x24f4f6,_0x2da522)=>!_0x24f4f6&&_0x2da522),_0x20dad5;}[_0x2ad92e(0x72)](){const _0x4b3615=_0x2ad92e,_0x5646ec=new _0x96575c(this[_0x4b3615(0x8f)]),_0x3007e5=this[_0x4b3615(0x93)],_0x1e8f3f=this[_0x4b3615(0x8f)];_0x5646ec[_0x4b3615(0x79)]({'label':_0x382c79(_0x1e8f3f,_0x4b3615(0x99)),'withText':!0x1,'icon':_0x1d0a15,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4b3615(0x7d)}),_0x5646ec[_0x4b3615(0xa8)](_0x4b3615(0x8c))['to'](_0x3007e5,_0x4b3615(0x8e)),_0x5646ec[_0x4b3615(0xa8)](_0x4b3615(0x9a))['to'](this,_0x4b3615(0x9a)),_0x5646ec['on'](_0x4b3615(0x87),()=>{const _0x1b0f74=_0x4b3615;_0x3007e5[_0x1b0f74(0x8e)]=!_0x3007e5[_0x1b0f74(0x8e)],_0x3007e5[_0x1b0f74(0x8e)]?this[_0x1b0f74(0xa2)][_0x1b0f74(0x97)]():this[_0x1b0f74(0x97)]();});const _0x38fe63=()=>{const _0x1f45b5=_0x4b3615;_0x558a9e[_0x1f45b5(0xa4)][_0x1f45b5(0xa7)](()=>{const _0xbfcff8=_0x1f45b5;if(_0x4f12f5(this[_0xbfcff8(0x8a)])){const _0x5b8009=new _0x3dc2e7(this[_0xbfcff8(0x7c)][_0xbfcff8(0x7e)][_0xbfcff8(0x8a)]),_0x525150=_0x5b8009[_0xbfcff8(0xa5)],_0x168a5d=_0xbfcff8(0x91)===_0x1e8f3f[_0xbfcff8(0x80)]?_0xbfcff8(0x94):_0xbfcff8(0x75);_0x5b8009[_0xbfcff8(0x81)](),_0x5646ec[_0xbfcff8(0x8a)][_0xbfcff8(0x7b)][_0x168a5d]=_0x525150-_0x5b8009[_0xbfcff8(0xa5)]+0x1+'px';}});};return this[_0x4b3615(0x7c)][_0x4b3615(0x7e)]['on'](_0x4b3615(0x71),_0x38fe63),this['on'](_0x4b3615(0x83),_0x38fe63),_0x5646ec;}[_0x2ad92e(0x88)](){const _0x4dbc46=_0x2ad92e,_0x204d1e=this[_0x4dbc46(0x7c)][_0x4dbc46(0x7e)][_0x4dbc46(0x8a)][_0x4dbc46(0x96)];this[_0x4dbc46(0x9c)](_0x4dbc46(0x88),_0x204d1e);}[_0x2ad92e(0x97)](_0x3a7c16){const _0x2f38c5=_0x2ad92e;-0x1===_0x3a7c16?this[_0x2f38c5(0x8b)][_0x2f38c5(0x8d)]():this[_0x2f38c5(0x8b)][_0x2f38c5(0x95)]();}}function _0x3fe6(){const _0x2fe37e=['add','resultsView','left','focusFirst','value','focus','maxRows','History','isEnabled','2565678ctFozl','fire','534562wIqapD','2206024ivkjwx','505114LNnZDt','enter','children','filteredView','focusableChildren','window','width','3122580rDdBlc','requestAnimationFrame','bind','update','_createShowHistoryButton','showHistoryButtonView','fieldWrapperChildren','right','72315gWsRfW','Submit','keystrokes','set','ck-ai-form__submit','style','queryView','ck-ai-form__toggle-history','fieldView','target','uiLanguageDirection','excludeScrollbarsAndBorders','6SZHJVW','render','_createSubmitButton','minRows','isEmpty','execute','submit','954368xTGCyY','element','focusCycler','isOn','focusLast','isVisible','locale','submitButtonView','rtl'];_0x3fe6=function(){return _0x2fe37e;};return _0x3fe6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f7a6d=_0x8380;(function(_0x479b2f,_0x1383cb){const _0x1ae601=_0x8380,_0x178194=_0x479b2f();while(!![]){try{const _0x22ca1a=-parseInt(_0x1ae601(0xa9))/0x1*(parseInt(_0x1ae601(0x9d))/0x2)+-parseInt(_0x1ae601(0xaa))/0x3+parseInt(_0x1ae601(0xa4))/0x4+-parseInt(_0x1ae601(0x9f))/0x5+-parseInt(_0x1ae601(0xb3))/0x6*(-parseInt(_0x1ae601(0x99))/0x7)+-parseInt(_0x1ae601(0xa3))/0x8+parseInt(_0x1ae601(0xb0))/0x9;if(_0x22ca1a===_0x1383cb)break;else _0x178194['push'](_0x178194['shift']());}catch(_0x55f0d6){_0x178194['push'](_0x178194['shift']());}}}(_0x5418,0xbbf18));function _0x8380(_0x2355f7,_0x396182){const _0x541871=_0x5418();return _0x8380=function(_0x83804d,_0x281bdc){_0x83804d=_0x83804d-0x91;let _0x48e33f=_0x541871[_0x83804d];return _0x48e33f;},_0x8380(_0x2355f7,_0x396182);}import{ToolbarView as _0x5eb22a,ButtonView as _0x1f0e95}from'ckeditor5/src/ui.js';function _0x5418(){const _0x5c4a9c=['label','1874694nJlEcF','insert','7521265tVyfbW','set','stopButton','toUpperCase','7122728MZezFr','5202308TKoluH','tryAgainButton','ck-button-action','replace','extendTemplate','1AeMSdI','4348488tcrNor','bind','isVisible','replaceButton','insertButton','REPLACE','33633882ZmSuuS','addMany','ck-ai-form__toolbar','237036bvSYGs','bindTemplate','items','mainAction','ck-hidden','_createButton','_CONTENT','locale','Insert\x20below','Stop','91AoGiBn','Try\x20again','AI_'];_0x5418=function(){return _0x5c4a9c;};return _0x5418();}import{getTranslation as _0xa2ec75}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1f7a6d(0xa7),'INSERT':_0x1f7a6d(0x9e)};export class AIFormToolbarView extends _0x5eb22a{constructor(_0x1e2237){const _0x55ae60=_0x1f7a6d;super(_0x1e2237),this[_0x55ae60(0xa0)](_0x55ae60(0xac),!0x1),this[_0x55ae60(0xa0)](_0x55ae60(0x92),AIFormToolbarViewMainActionLabel[_0x55ae60(0xaf)]),this[_0x55ae60(0xad)]=this[_0x55ae60(0x94)]('',_0x55ae60(0xa6)),this[_0x55ae60(0xad)][_0x55ae60(0xab)](_0x55ae60(0x9c))['to'](this,_0x55ae60(0x92),_0x247253=>_0xa2ec75(_0x1e2237,_0x55ae60(0x9b)+_0x247253[_0x55ae60(0xa2)]()+_0x55ae60(0x95))),this[_0x55ae60(0xae)]=this[_0x55ae60(0x94)](_0xa2ec75(_0x1e2237,_0x55ae60(0x97))),this[_0x55ae60(0xa5)]=this[_0x55ae60(0x94)](_0xa2ec75(_0x1e2237,_0x55ae60(0x9a))),this[_0x55ae60(0xa1)]=this[_0x55ae60(0x94)](_0xa2ec75(_0x1e2237,_0x55ae60(0x98)));const _0xf7111=this[_0x55ae60(0xb4)];this[_0x55ae60(0xa8)]({'attributes':{'class':[_0x55ae60(0xb2),_0xf7111['if'](_0x55ae60(0xac),_0x55ae60(0x93),_0x4a82de=>!_0x4a82de)]}}),this[_0x55ae60(0x91)][_0x55ae60(0xb1)]([this[_0x55ae60(0xad)],this[_0x55ae60(0xae)],this[_0x55ae60(0xa5)],this[_0x55ae60(0xa1)]]);}[_0x1f7a6d(0x94)](_0x111200,_0x6937ba){const _0x5086d8=_0x1f7a6d,_0x3f2dd9=new _0x1f0e95(this[_0x5086d8(0x96)]);return _0x3f2dd9[_0x5086d8(0xa0)]({'label':_0x111200,'class':_0x6937ba||'','isVisible':!0x0,'withText':!0x0}),_0x3f2dd9;}}
|