@ckeditor/ckeditor5-ai 47.4.0-alpha.5 → 47.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x454251=_0x3885;(function(_0x12393b,_0x3cb336){const _0x49f981=_0x3885,_0x41e87d=_0x12393b();while(!![]){try{const _0x46f2f6=parseInt(_0x49f981(0x191))/0x1*(-parseInt(_0x49f981(0x1ed))/0x2)+-parseInt(_0x49f981(0x19f))/0x3*(-parseInt(_0x49f981(0x1f2))/0x4)+-parseInt(_0x49f981(0x1d0))/0x5+parseInt(_0x49f981(0x1c4))/0x6+-parseInt(_0x49f981(0x197))/0x7*(parseInt(_0x49f981(0x1c3))/0x8)+parseInt(_0x49f981(0x1b0))/0x9*(-parseInt(_0x49f981(0x194))/0xa)+parseInt(_0x49f981(0x1bd))/0xb;if(_0x46f2f6===_0x3cb336)break;else _0x41e87d['push'](_0x41e87d['shift']());}catch(_0x4d981e){_0x41e87d['push'](_0x41e87d['shift']());}}}(_0x11f6,0x7444f));import{uid as _0x1a10ef}from'ckeditor5/src/utils.js';import{Plugin as _0x1233b7}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5147dc}from'ckeditor5/src/clipboard.js';function _0x11f6(){const _0x4e5b29=['createRange','canEditAt','for','_prepareTableInsertBelowPosition','_getAISelection','createPositionAt','forEach','href','span','pluginName','_getDefaultInsertBelowPosition','deleteContent','has','2QxDoNO','getLastPosition','init','text/html','insertRows','115532gbKTUT','removeMarker','lowest','isAtEnd','off','first','_pasteHTMLUsingClipboard','addMarker','editor','markerRange','isCollapsed','join','_getTableRowCountFromContent','end','249209EyUNlf','ck-fake-ai-selection','getRange','1294040jlToSP','afterInit','updateMarker','56jWPMsg','document','last','data','createUIElement','showFakeVisualSelection','getRowIndexes','getFirstRange','51ENdGLj','fromCharCode','markerToHighlight','createSelection','getRanges','findAncestor','addClass','change','insertContent','editing','hideFakeVisualSelection','markers','setData','setSelection','contentInsertion','push','insertContentBelow','18tLqmEe','ai.assistant.useTheme','getChildren','DataTransfer','config','getSelectedBlocks','getLastMatchingPosition','start','isPremiumPlugin','model','element','from','getColumnIndexes','7127571XZDrjH','conversion','editingDowncast','fire','once','selection','487248ntnqrd','3788568xmHufV','getRows','plugins','pop','filter','TableUtils','get','parse','table','length','getMarkersGroup','createPositionAfter','1494480NzONoh','isOfficialPlugin','map','resultRange','ai-ui','getChild','markerToElement','getSelectedTableCells','ck-fake-ai-selection_collapsed','AIAssistantEditing','_resetContentOfSelectedTableCells','ck-ai-assistant-ui_theme','schema','_createEmptyTableRows','paste','isContent'];_0x11f6=function(){return _0x4e5b29;};return _0x11f6();}import{ViewDocumentDomEventData as _0x1bb2fb,ViewDataTransfer as _0x4a920a}from'ckeditor5/src/engine.js';const w=globalThis[_0x454251(0x1b3)],f=_0x454251(0x1d4);function _0x3885(_0x1daf8c,_0x2e445c){const _0x11f67d=_0x11f6();return _0x3885=function(_0x38854b,_0x804621){_0x38854b=_0x38854b-0x18a;let _0xf322a9=_0x11f67d[_0x38854b];return _0xf322a9;},_0x3885(_0x1daf8c,_0x2e445c);}export class AIAssistantEditing extends _0x1233b7{static get[_0x454251(0x1e9)](){const _0x1600ab=_0x454251;return _0x1600ab(0x1d9);}static get[_0x454251(0x1d1)](){return!0x0;}static get[_0x454251(0x1b8)](){return!0x0;}[_0x454251(0x1ef)](){const _0x4755df=_0x454251,{editor:_0x84c497}=this,_0x50fe7f=[_0x4755df(0x192)];_0x84c497[_0x4755df(0x1b4)][_0x4755df(0x1ca)](_0x4755df(0x1b1))&&_0x50fe7f[_0x4755df(0x1ae)](_0x4755df(0x1db)),_0x84c497[_0x4755df(0x1be)][_0x4755df(0x1e2)](_0x4755df(0x1bf))[_0x4755df(0x1a1)]({'model':f,'view':{'classes':_0x50fe7f,'priority':0xc}}),_0x84c497[_0x4755df(0x1be)][_0x4755df(0x1e2)](_0x4755df(0x1bf))[_0x4755df(0x1d6)]({'model':f,'view':(_0x4fb952,{writer:_0x21114f})=>{const _0x172c58=_0x4755df;if(!_0x4fb952[_0x172c58(0x18c)][_0x172c58(0x18d)])return null;const _0x3cfc27=_0x21114f[_0x172c58(0x19b)](_0x172c58(0x1e8));return _0x21114f[_0x172c58(0x1a5)]([_0x172c58(0x192),_0x172c58(0x1d8)],_0x3cfc27),_0x3cfc27;}});}[_0x454251(0x195)](){!async function(_0xe11007){const _0x150043=_0x438455([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]),_0x41638e=0x3dffc4e1,_0x19b0d2=0x3df8ba51^_0x41638e,_0x45efcf=window[_0x438455([0x44,0x61,0x74,0x65])][_0x438455([0x6e,0x6f,0x77])](),_0x4e66c3=_0xe11007[_0x438455([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43c33d=new window[(_0x438455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b656c=>{_0x4e66c3[_0x438455([0x6f,0x6e,0x63,0x65])](_0x438455([0x72,0x65,0x61,0x64,0x79]),_0x5b656c);}),_0x3a3936={[_0x438455([0x6b,0x74,0x79])]:_0x438455([0x45,0x43]),[_0x438455([0x75,0x73,0x65])]:_0x438455([0x73,0x69,0x67]),[_0x438455([0x63,0x72,0x76])]:_0x438455([0x50,0x2d,0x32,0x35,0x36]),[_0x438455([0x78])]:_0x438455([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]),[_0x438455([0x79])]:_0x438455([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]),[_0x438455([0x61,0x6c,0x67])]:_0x438455([0x45,0x53,0x32,0x35,0x36])},_0x5a1b0c=_0x4e66c3[_0x438455([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x438455([0x67,0x65,0x74])](_0x438455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x780330(){let _0x178503,_0x5a8379=null,_0x1d3e14=null;try{if(_0x5a1b0c==_0x438455([0x47,0x50,0x4c]))return _0x438455([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x178503=_0x2a07cf(),!_0x178503)return _0x438455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x178503[_0x438455([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d3e14=_0x187e2f(_0x178503[_0x438455([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x178503[_0x438455([0x6a,0x74,0x69])])),await _0x40ac06()?_0x3092a4()?_0x2ea4aa()?_0x438455([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36f3d0()?(_0x178503[_0x438455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x438455([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a8379=_0x5bae3a(_0x438455([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5abc51()):_0x438455([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x438455([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x438455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x438455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ea4aa(){const _0x5e3401=[_0x438455([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x438455([0x74,0x72,0x69,0x61,0x6c])][_0x438455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x178503[_0x438455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45efcf/0x3e8:0xe10*_0x19b0d2;return _0x178503[_0x438455([0x65,0x78,0x70])]<_0x5e3401;}function _0x3092a4(){const _0x2934fa=_0x178503[_0x438455([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2934fa&&(!!_0x2934fa[_0x438455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x438455([0x2a]))||!!_0x2934fa[_0x438455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x438455([0x41,0x49])));}function _0x36f3d0(){const _0xad90e8=_0x3885,_0x58909f=_0x178503[_0x438455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58909f||0x0==_0x58909f[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26f177}=new URL(window[_0x438455([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xad90e8(0x1e7)]);if(_0x58909f[_0x438455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26f177))return!0x0;const _0x3efb58=_0x26f177[_0x438455([0x73,0x70,0x6c,0x69,0x74])](_0x438455([0x2e]));return _0x58909f[_0x438455([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c4b01=>_0x2c4b01[_0x438455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x438455([0x2a])))[_0x438455([0x6d,0x61,0x70])](_0xe65b71=>_0xe65b71[_0x438455([0x73,0x70,0x6c,0x69,0x74])](_0x438455([0x2e])))[_0x438455([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e5ef6=>_0x5e5ef6[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3efb58[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x438455([0x6d,0x61,0x70])](_0x87b3cc=>Array(_0x3efb58[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x87b3cc[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x438455([0x66,0x69,0x6c,0x6c])](_0x87b3cc[0x0]===_0x438455([0x2a])?_0x438455([0x2a]):'')[_0x438455([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x87b3cc))[_0x438455([0x73,0x6f,0x6d,0x65])](_0x157d42=>_0x3efb58[_0x438455([0x65,0x76,0x65,0x72,0x79])]((_0x553c01,_0x24a98b)=>_0x157d42[_0x24a98b]===_0x553c01||_0x157d42[_0x24a98b]===_0x438455([0x2a])));}function _0x5abc51(){return _0x5a8379&&_0x1d3e14?new window[(_0x438455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27ba91,_0x22609c)=>{_0x5a8379[_0x438455([0x74,0x68,0x65,0x6e])](_0x27ba91,_0x22609c),_0x1d3e14[_0x438455([0x74,0x68,0x65,0x6e])](_0x4eeedc=>{_0x4eeedc!=_0x438455([0x56,0x61,0x6c,0x69,0x64])&&_0x27ba91(_0x4eeedc);},_0x22609c);}):_0x5a8379||_0x1d3e14||_0x438455([0x56,0x61,0x6c,0x69,0x64]);}}function _0x187e2f(_0x24b3d6,_0x58d012){return new window[(_0x438455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42438e=>{if(_0x2c79ea())return _0x42438e(_0x438455([0x56,0x61,0x6c,0x69,0x64]));_0x40877b(),_0x4e66c3[_0x438455([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x438455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a19c9=!0x1;const _0x13c362=_0x1a10ef();function _0x4fb905(_0x560f44){return!!_0x560f44&&(typeof _0x560f44===_0x438455([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x560f44===_0x438455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x560f44[_0x438455([0x74,0x68,0x65,0x6e])]===_0x438455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x560f44[_0x438455([0x63,0x61,0x74,0x63,0x68])]===_0x438455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x470674(_0x1648d1){_0x3105aa(_0x1648d1)[_0x438455([0x74,0x68,0x65,0x6e])](_0x55bfda=>{if(!_0x55bfda||_0x55bfda[_0x438455([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x438455([0x6f,0x6b]))return _0x438455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14e45b(_0x29e458(_0x13c362+_0x58d012))!=_0x55bfda[_0x438455([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x438455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x438455([0x56,0x61,0x6c,0x69,0x64]);})[_0x438455([0x74,0x68,0x65,0x6e])](_0x38c680=>(_0x53aff0(),_0x38c680),()=>{const _0x3e3621=_0x19bf54();return null==_0x3e3621?(_0x53aff0(),_0x438455([0x56,0x61,0x6c,0x69,0x64])):_0x438455(_0x45efcf-_0x3e3621>(0x19f340e1^_0x41638e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x438455([0x74,0x68,0x65,0x6e])](_0x42438e)[_0x438455([0x63,0x61,0x74,0x63,0x68])](()=>{_0x42438e(_0x438455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x308b9f=0x3dc92a61^_0x41638e;function _0x53aff0(){const _0x497119=_0x438455([0x6c,0x6c,0x63,0x74,0x2d])+_0x14e45b(_0x29e458(_0x24b3d6)),_0x4dded5=_0x371c7d(_0x14e45b(window[_0x438455([0x4d,0x61,0x74,0x68])][_0x438455([0x63,0x65,0x69,0x6c])](_0x45efcf/_0x308b9f)));window[_0x438455([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x438455([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x497119,_0x4dded5);}function _0x19bf54(){const _0xedf8f6=_0x438455([0x6c,0x6c,0x63,0x74,0x2d])+_0x14e45b(_0x29e458(_0x24b3d6)),_0x52e47a=window[_0x438455([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x438455([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xedf8f6);return _0x52e47a?window[_0x438455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x371c7d(_0x52e47a),0x10)*_0x308b9f:null;}function _0x3105aa(_0x3f3f8b){return new window[(_0x438455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4009ba,_0x46750f)=>{_0x3f3f8b[_0x438455([0x74,0x68,0x65,0x6e])](_0x4009ba,_0x46750f),window[_0x438455([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46750f,0x3dfe1021^_0x41638e);});}}_0x4e66c3[_0x438455([0x6f,0x6e])](_0x438455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bdb5a,_0x2033d7)=>{if(_0x2033d7[0x0]!=_0x24b3d6)return _0x42438e(_0x438455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2033d7[0x1]={..._0x2033d7[0x1],[_0x438455([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13c362};},{[_0x438455([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x438455([0x68,0x69,0x67,0x68])}),_0x4e66c3[_0x438455([0x6f,0x6e])](_0x438455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10c13d=>{_0x4fb905(_0x10c13d[_0x438455([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a19c9=!0x0,_0x470674(_0x10c13d[_0x438455([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x438455([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x438455([0x6c,0x6f,0x77])}),_0x43c33d[_0x438455([0x74,0x68,0x65,0x6e])](()=>{_0x1a19c9||_0x42438e(_0x438455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c79ea(){return _0x4e66c3[_0x438455([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x438455([0x76,0x69,0x65,0x77])][_0x438455([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x438455([0x61,0x75,0x74,0x6f]);}function _0x40877b(){_0x4e66c3[_0x438455([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x438455([0x76,0x69,0x65,0x77])][_0x438455([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x438455([0x61,0x75,0x74,0x6f]);}}function _0x5bae3a(_0x57c62c){const _0x3a6a64=[new window[(_0x438455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x697d6f=>setTimeout(_0x697d6f,0x3df6fa2d^_0x41638e)),_0x43c33d[_0x438455([0x74,0x68,0x65,0x6e])](()=>new window[(_0x438455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1941c7=>{let _0xea3aa5=0x0;_0x4e66c3[_0x438455([0x6d,0x6f,0x64,0x65,0x6c])][_0x438455([0x6f,0x6e])](_0x438455([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5665e9,_0x51ee74)=>{_0x51ee74[0x0][_0x438455([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xea3aa5++,_0xea3aa5==(0x3dffc109^_0x41638e)&&(_0x1941c7(),_0x5665e9[_0x438455([0x6f,0x66,0x66])]());});}))];return window[_0x438455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x438455([0x72,0x61,0x63,0x65])](_0x3a6a64)[_0x438455([0x74,0x68,0x65,0x6e])](()=>_0x57c62c);}async function _0x62cc2e(){await _0x43c33d,_0x4e66c3[_0x438455([0x6d,0x6f,0x64,0x65,0x6c])][_0x438455([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ed03c,_0x4e66c3[_0x438455([0x6d,0x6f,0x64,0x65,0x6c])][_0x438455([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ed03c,_0x4e66c3[_0x438455([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x438455([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x451d88(_0x2f7d50){const _0x5ce315=_0x5bef95();_0x4e66c3[_0x5ce315]=_0x438455([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f7d50,_0x2f7d50!=_0x438455([0x56,0x61,0x6c,0x69,0x64])&&_0x62cc2e();}function _0x5bef95(){const _0x2fea7d=window[_0x438455([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x438455([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x438455([0x6e,0x6f,0x77])]())[_0x438455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x438455([0x2e]),'');let _0x4f4174=_0x438455([0x6e]);for(let _0x28c8f9=0x0;_0x28c8f9<_0x2fea7d[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28c8f9+=0x2){let _0x2b2191=window[_0x438455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fea7d[_0x438455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28c8f9,_0x28c8f9+0x2));_0x2b2191>=_0x150043[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b2191-=_0x150043[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f4174+=_0x150043[_0x2b2191];}return _0x4f4174;}function _0x2a07cf(){const _0x247315=_0x5a1b0c[_0x438455([0x73,0x70,0x6c,0x69,0x74])](_0x438455([0x2e]));if(0x3!=_0x247315[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x224217(_0x247315[0x1]);function _0x224217(_0x57b227){const _0x38e07c=_0x3ff269(_0x57b227);return _0x38e07c&&_0x207d75()?_0x38e07c:null;function _0x207d75(){const _0xcdc992=_0x38e07c[_0x438455([0x6a,0x74,0x69])],_0x3492b3=window[_0x438455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcdc992[_0x438455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcdc992[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43ab21={..._0x38e07c,[_0x438455([0x6a,0x74,0x69])]:_0xcdc992[_0x438455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xcdc992[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43ab21[_0x438455([0x76,0x63])],_0x29e458(_0x43ab21)==_0x3492b3;}}}async function _0x40ac06(){let _0x2fd74f=!0x0;try{const _0x414b8d=_0x5a1b0c[_0x438455([0x73,0x70,0x6c,0x69,0x74])](_0x438455([0x2e])),[_0x4b40be,_0x21b10a,_0x2e9b8b]=_0x414b8d;return _0x264bdc(_0x4b40be),await _0x20c557(_0x4b40be,_0x21b10a,_0x2e9b8b),_0x2fd74f;}catch{return!0x1;}function _0x264bdc(_0x44fb09){const _0x9842db=_0x3ff269(_0x44fb09);_0x9842db&&_0x9842db[_0x438455([0x61,0x6c,0x67])]==_0x438455([0x45,0x53,0x32,0x35,0x36])||(_0x2fd74f=!0x1);}async function _0x20c557(_0x5a027c,_0x5cb8c7,_0x4e48d6){const _0x254a35=window[_0x438455([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x438455([0x66,0x72,0x6f,0x6d])](_0x1a44e1(_0x4e48d6),_0x31bbf7=>_0x31bbf7[_0x438455([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x135bc2=new window[(_0x438455([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x438455([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a027c+_0x438455([0x2e])+_0x5cb8c7),_0xdd9753=window[_0x438455([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x438455([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xdd9753)return;const _0x3d7e07=await _0xdd9753[_0x438455([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x438455([0x6a,0x77,0x6b]),_0x3a3936,{[_0x438455([0x6e,0x61,0x6d,0x65])]:_0x438455([0x45,0x43,0x44,0x53,0x41]),[_0x438455([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x438455([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x438455([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xdd9753[_0x438455([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x438455([0x6e,0x61,0x6d,0x65])]:_0x438455([0x45,0x43,0x44,0x53,0x41]),[_0x438455([0x68,0x61,0x73,0x68])]:{[_0x438455([0x6e,0x61,0x6d,0x65])]:_0x438455([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d7e07,_0x254a35,_0x135bc2)||(_0x2fd74f=!0x1);}}function _0x3ff269(_0xc322f6){return _0xc322f6[_0x438455([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x438455([0x65,0x79]))?JSON[_0x438455([0x70,0x61,0x72,0x73,0x65])](_0x1a44e1(_0xc322f6)):null;}function _0x1a44e1(_0x123b6a){return window[_0x438455([0x61,0x74,0x6f,0x62])](_0x123b6a[_0x438455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x438455([0x2b]))[_0x438455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x438455([0x2f])));}function _0x29e458(_0x57739a){let _0x5a48e5=0x1505;function _0xcd2bd7(_0x309c6d){for(let _0x48c338=0x0;_0x48c338<_0x309c6d[_0x438455([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48c338++){const _0xdf387a=_0x309c6d[_0x438455([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48c338);_0x5a48e5=(_0x5a48e5<<0x5)+_0x5a48e5+_0xdf387a,_0x5a48e5&=_0x5a48e5;}}function _0x134141(_0x59ae02){Array[_0x438455([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59ae02)?_0x59ae02[_0x438455([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x134141):_0x59ae02&&typeof _0x59ae02==_0x438455([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x438455([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59ae02)[_0x438455([0x73,0x6f,0x72,0x74])]()[_0x438455([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a8504,_0x504a22])=>{_0xcd2bd7(_0x5a8504),_0x134141(_0x504a22);}):_0xcd2bd7(window[_0x438455([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59ae02));}return _0x134141(_0x57739a),_0x5a48e5>>>0x0;}function _0x14e45b(_0x5753a8){return _0x5753a8[_0x438455([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x438455([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x438455([0x30]));}function _0x371c7d(_0x5dd91c){return _0x5dd91c[_0x438455([0x73,0x70,0x6c,0x69,0x74])]('')[_0x438455([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x438455([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ed03c(){}function _0x438455(_0x4392cb){const _0x4f6900=_0x3885;return _0x4392cb[_0x4f6900(0x1d2)](_0x2865e0=>String[_0x4f6900(0x1a0)](_0x2865e0))[_0x4f6900(0x18e)]('');}_0x451d88(await _0x780330());}(this);}[_0x454251(0x19c)](){const _0x1d945d=_0x454251,_0x266e48=this[_0x1d945d(0x18b)][_0x1d945d(0x1b9)];_0x266e48[_0x1d945d(0x1a6)](_0x15d434=>{const _0x30281b=_0x1d945d,_0x95a689=_0x266e48[_0x30281b(0x198)][_0x30281b(0x1c2)][_0x30281b(0x1a3)]();let _0x503d76=0x0;for(const _0x3c9630 of _0x95a689){const _0x213d9d=f+':'+_0x503d76;if(_0x266e48[_0x30281b(0x1aa)][_0x30281b(0x1ec)](_0x213d9d))_0x15d434[_0x30281b(0x196)](_0x213d9d,{'range':_0x3c9630});else{if(_0x3c9630[_0x30281b(0x1b7)][_0x30281b(0x1f5)]){const _0x20d406=_0x3c9630[_0x30281b(0x1b7)][_0x30281b(0x1b6)](({item:_0x22d00b})=>!_0x266e48[_0x30281b(0x1dc)][_0x30281b(0x1df)](_0x22d00b),{'boundaries':_0x3c9630});_0x15d434[_0x30281b(0x18a)](_0x213d9d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x15d434[_0x30281b(0x1e0)](_0x20d406,_0x3c9630[_0x30281b(0x190)])});}else _0x15d434[_0x30281b(0x18a)](_0x213d9d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3c9630});}_0x503d76++;}});}[_0x454251(0x1a9)](){const _0x24f775=_0x454251,_0x25905f=this[_0x24f775(0x18b)][_0x24f775(0x1b9)],_0x143be5=Array[_0x24f775(0x1bb)](this[_0x24f775(0x18b)][_0x24f775(0x1b9)][_0x24f775(0x1aa)][_0x24f775(0x1ce)](f));_0x143be5[_0x24f775(0x1cd)]&&_0x25905f[_0x24f775(0x1a6)](_0x377a04=>{const _0xb42d0f=_0x24f775;_0x143be5[_0xb42d0f(0x1e6)](_0x195253=>{const _0x1b928f=_0xb42d0f;_0x377a04[_0x1b928f(0x1f3)](_0x195253);});});}[_0x454251(0x1a7)](_0x5da3d3,_0x346488){const _0x3c777f=_0x454251,_0x2194a0=this[_0x3c777f(0x1e4)](),_0x3db5bf=_0x346488||_0x2194a0[_0x3c777f(0x19e)]();this[_0x3c777f(0x18b)][_0x3c777f(0x1b9)][_0x3c777f(0x1e1)](_0x3db5bf)&&this[_0x3c777f(0x18b)][_0x3c777f(0x1b9)][_0x3c777f(0x1a6)](_0x2dc21b=>{const _0xe9fc76=_0x3c777f;this[_0xe9fc76(0x1a9)](),_0x346488||this[_0xe9fc76(0x1da)](_0x2dc21b,_0x2194a0),this[_0xe9fc76(0x1f8)]({'insertAt':_0x3db5bf,'writer':_0x2dc21b,'html':_0x5da3d3});});}[_0x454251(0x1af)](_0x275f3f){const _0x3e2f68=_0x454251,{model:_0x2881e0}=this[_0x3e2f68(0x18b)],_0x5fa883=this[_0x3e2f68(0x1e4)]();_0x2881e0[_0x3e2f68(0x1a6)](()=>{const _0x281a70=_0x3e2f68,_0x64e9c5=this[_0x281a70(0x1e3)](_0x275f3f,_0x5fa883)||this[_0x281a70(0x1ea)](_0x5fa883);this[_0x281a70(0x1a7)](_0x275f3f,_0x64e9c5);});}[_0x454251(0x1e4)](){const _0x4d541d=_0x454251,_0x5b7dd1=this[_0x4d541d(0x18b)][_0x4d541d(0x1b9)],_0x4a005c=Array[_0x4d541d(0x1bb)](_0x5b7dd1[_0x4d541d(0x1aa)][_0x4d541d(0x1ce)](f))[_0x4d541d(0x1d2)](_0x150634=>_0x150634[_0x4d541d(0x193)]());return _0x5b7dd1[_0x4d541d(0x1a2)](_0x4a005c);}[_0x454251(0x1f8)]({writer:_0xdf4040,html:_0x2a2915,insertAt:_0x2a1d31}){const _0x519e38=_0x454251,{view:_0x259461}=this[_0x519e38(0x18b)][_0x519e38(0x1a8)],_0x4dc1f=this[_0x519e38(0x18b)][_0x519e38(0x1c6)][_0x519e38(0x1ca)](_0x5147dc),_0x4beb1d=new w();_0x4beb1d[_0x519e38(0x1ab)](_0x519e38(0x1f0),_0x2a2915);const _0x376d64=new ClipboardEvent(_0x519e38(0x1de),{'clipboardData':_0x4beb1d}),_0x2ad904=new _0x1bb2fb(_0x259461,_0x376d64,{'dataTransfer':new _0x4a920a(_0x4beb1d)});_0xdf4040[_0x519e38(0x1ac)](_0x2a1d31);const _0x19e6d6=(_0x5f1979,_0x3d9759)=>{const _0x39c463=_0x519e38;_0x3d9759[_0x39c463(0x1d3)]&&_0xdf4040[_0x39c463(0x1ac)](_0x3d9759[_0x39c463(0x1d3)]);};_0x4dc1f[_0x519e38(0x1c1)](_0x519e38(0x1ad),_0x19e6d6,{'priority':_0x519e38(0x1f4)}),_0x259461[_0x519e38(0x198)][_0x519e38(0x1c0)](_0x519e38(0x1de),_0x2ad904),_0x4dc1f[_0x519e38(0x1f6)](_0x519e38(0x1ad),_0x19e6d6);}[_0x454251(0x1ea)](_0x47b1f0){const _0x2d9138=_0x454251,{model:_0x398692}=this[_0x2d9138(0x18b)],_0x23101b=Array[_0x2d9138(0x1bb)](_0x47b1f0[_0x2d9138(0x1b5)]());return _0x23101b[_0x2d9138(0x1cd)]?_0x398692[_0x2d9138(0x1cf)](_0x23101b[_0x2d9138(0x1c7)]()):_0x47b1f0[_0x2d9138(0x1ee)]();}[_0x454251(0x1e3)](_0x5a2046,_0x389d4e){const _0x579ed3=_0x454251,{model:_0x39486a,plugins:_0x48b5a3}=this[_0x579ed3(0x18b)];if(_0x48b5a3[_0x579ed3(0x1ec)](_0x579ed3(0x1c9))){const _0x59c298=_0x48b5a3[_0x579ed3(0x1ca)](_0x579ed3(0x1c9))[_0x579ed3(0x1d7)](_0x389d4e);if(_0x59c298[_0x579ed3(0x1cd)]){const _0x228c75=this[_0x579ed3(0x18f)](_0x5a2046),_0x4719c4=this[_0x579ed3(0x1dd)](_0x59c298,_0x228c75);return _0x39486a[_0x579ed3(0x1e5)](_0x4719c4,0x0);}}return null;}[_0x454251(0x18f)](_0x8d8fd7){const _0x45123f=_0x454251,_0x2cc68c=this[_0x45123f(0x18b)][_0x45123f(0x1c6)][_0x45123f(0x1ca)](_0x45123f(0x1c9)),_0x149a2a=this[_0x45123f(0x18b)][_0x45123f(0x19a)][_0x45123f(0x1cb)](_0x8d8fd7),_0x41f64c=Array[_0x45123f(0x1bb)](_0x149a2a[_0x45123f(0x1b2)]())[_0x45123f(0x1c8)](_0x4211c9=>_0x4211c9['is'](_0x45123f(0x1ba),_0x45123f(0x1cc)));let _0x5433e7=0x0;return _0x41f64c[_0x45123f(0x1e6)](_0xfd9d9f=>{const _0x2df05d=_0x45123f;_0x5433e7+=_0x2cc68c[_0x2df05d(0x1c5)](_0xfd9d9f);}),_0x5433e7;}[_0x454251(0x1dd)](_0x44239e,_0x57add0){const _0x446bb2=_0x454251,_0x5ba87a=this[_0x446bb2(0x18b)][_0x446bb2(0x1c6)][_0x446bb2(0x1ca)](_0x446bb2(0x1c9)),_0x530f41=_0x5ba87a[_0x446bb2(0x19d)](_0x44239e),_0x547504=_0x5ba87a[_0x446bb2(0x1bc)](_0x44239e),_0x3beb11=_0x530f41[_0x446bb2(0x199)]+0x1,_0x54c55f=_0x547504[_0x446bb2(0x1f7)],_0x31e048=_0x44239e[0x0][_0x446bb2(0x1a4)](_0x446bb2(0x1cc));for(let _0x3803b9=0x0;_0x3803b9<_0x57add0;_0x3803b9++)_0x5ba87a[_0x446bb2(0x1f1)](_0x31e048,{'at':_0x3beb11});return _0x31e048[_0x446bb2(0x1d5)](_0x3beb11)[_0x446bb2(0x1d5)](_0x54c55f);}[_0x454251(0x1da)](_0x52020c,_0x241a17){const _0x3726d7=_0x454251,{plugins:_0x503c7c}=this[_0x3726d7(0x18b)],{model:_0xc6674c}=_0x52020c;if(!_0x503c7c[_0x3726d7(0x1ec)](_0x3726d7(0x1c9)))return;_0x503c7c[_0x3726d7(0x1ca)](_0x3726d7(0x1c9))[_0x3726d7(0x1d7)](_0x241a17)[_0x3726d7(0x1cd)]&&_0xc6674c[_0x3726d7(0x1eb)](_0x241a17);}}
|
|
23
|
+
const _0x4a357c=_0x3487;(function(_0x541148,_0x2e9999){const _0x3ba5d2=_0x3487,_0x3fea02=_0x541148();while(!![]){try{const _0x1d8409=-parseInt(_0x3ba5d2(0xb4))/0x1+parseInt(_0x3ba5d2(0x85))/0x2+-parseInt(_0x3ba5d2(0x88))/0x3*(-parseInt(_0x3ba5d2(0xed))/0x4)+parseInt(_0x3ba5d2(0x8d))/0x5*(parseInt(_0x3ba5d2(0xb6))/0x6)+parseInt(_0x3ba5d2(0xa4))/0x7+parseInt(_0x3ba5d2(0xcf))/0x8+parseInt(_0x3ba5d2(0xa3))/0x9*(-parseInt(_0x3ba5d2(0xe9))/0xa);if(_0x1d8409===_0x2e9999)break;else _0x3fea02['push'](_0x3fea02['shift']());}catch(_0x558055){_0x3fea02['push'](_0x3fea02['shift']());}}}(_0x5b0c,0x778e6));import{uid as _0x5087ba}from'ckeditor5/src/utils.js';function _0x3487(_0x377c2f,_0x5a3afb){const _0x5b0c79=_0x5b0c();return _0x3487=function(_0x3487f7,_0x210aab){_0x3487f7=_0x3487f7-0x81;let _0x4b58e3=_0x5b0c79[_0x3487f7];return _0x4b58e3;},_0x3487(_0x377c2f,_0x5a3afb);}import{Plugin as _0x5d4d4f}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xd50888}from'ckeditor5/src/clipboard.js';function _0x5b0c(){const _0x490388=['ck-fake-ai-selection','isPremiumPlugin','push','for','createRange','ck-ai-assistant-ui_theme','getRanges','markerToHighlight','isAtEnd','off','getLastPosition','_getAISelection','markerRange','ai-ui','first','createSelection','markerToElement','ck-fake-ai-selection_collapsed','_getTableRowCountFromContent','5906940UAsVPX','getRowIndexes','getRows','once','396aMzbyV','getLastMatchingPosition','editingDowncast','data','deleteContent','has','730710vRGptH','ai.assistant.useTheme','map','16980kmVQjd','schema','insertContentBelow','AIAssistantEditing','hideFakeVisualSelection','1124415xKeKnl','addMarker','editor','forEach','createPositionAfter','markers','getMarkersGroup','table','addClass','init','insertRows','filter','get','lowest','setData','getRange','conversion','TableUtils','_createEmptyTableRows','pluginName','change','fromCharCode','18OsMyFZ','2879492zMzWge','isOfficialPlugin','setSelection','insertContent','getColumnIndexes','paste','afterInit','resultRange','canEditAt','getSelectedTableCells','selection','_getDefaultInsertBelowPosition','from','config','getFirstRange','href','368168RZOUUC','getChildren','18JqMUqb','findAncestor','isContent','contentInsertion','pop','showFakeVisualSelection','end','_resetContentOfSelectedTableCells','_prepareTableInsertBelowPosition','join','createPositionAt','document','createUIElement','_pasteHTMLUsingClipboard','isCollapsed','removeMarker','editing','last','start','span','element','length','fire','parse','updateMarker','220464DztPjJ','plugins','getSelectedBlocks','text/html','model','DataTransfer','getChild'];_0x5b0c=function(){return _0x490388;};return _0x5b0c();}import{ViewDocumentDomEventData as _0x38f421,ViewDataTransfer as _0x341d72}from'ckeditor5/src/engine.js';const pt=globalThis[_0x4a357c(0xd4)],gt=_0x4a357c(0xe3);export class AIAssistantEditing extends _0x5d4d4f{static get[_0x4a357c(0xa0)](){const _0x135a12=_0x4a357c;return _0x135a12(0x8b);}static get[_0x4a357c(0xa5)](){return!0x0;}static get[_0x4a357c(0xd7)](){return!0x0;}[_0x4a357c(0x96)](){const _0x50e25b=_0x4a357c,{editor:_0x3c702d}=this,_0x2be7a8=[_0x50e25b(0xd6)];_0x3c702d[_0x50e25b(0xb1)][_0x50e25b(0x99)](_0x50e25b(0x86))&&_0x2be7a8[_0x50e25b(0xd8)](_0x50e25b(0xdb)),_0x3c702d[_0x50e25b(0x9d)][_0x50e25b(0xd9)](_0x50e25b(0x81))[_0x50e25b(0xdd)]({'model':gt,'view':{'classes':_0x2be7a8,'priority':0xc}}),_0x3c702d[_0x50e25b(0x9d)][_0x50e25b(0xd9)](_0x50e25b(0x81))[_0x50e25b(0xe6)]({'model':gt,'view':(_0x2ac201,{writer:_0x28f6ac})=>{const _0x1952ba=_0x50e25b;if(!_0x2ac201[_0x1952ba(0xe2)][_0x1952ba(0xc4)])return null;const _0x4723a3=_0x28f6ac[_0x1952ba(0xc2)](_0x1952ba(0xc9));return _0x28f6ac[_0x1952ba(0x95)]([_0x1952ba(0xd6),_0x1952ba(0xe7)],_0x4723a3),_0x4723a3;}});}[_0x4a357c(0xaa)](){!async function(_0x784022){const _0x4da313=_0x4a0883([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x26be3e=0x3dffc4e1,_0x1ba75d=0x3df8ba29^_0x26be3e,_0x435fd6=window[_0x4a0883([0x44,0x61,0x74,0x65])][_0x4a0883([0x6e,0x6f,0x77])](),_0x310622=_0x784022[_0x4a0883([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a30e3=new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23b241=>{_0x310622[_0x4a0883([0x6f,0x6e,0x63,0x65])](_0x4a0883([0x72,0x65,0x61,0x64,0x79]),_0x23b241);}),_0x244079={[_0x4a0883([0x6b,0x74,0x79])]:_0x4a0883([0x45,0x43]),[_0x4a0883([0x75,0x73,0x65])]:_0x4a0883([0x73,0x69,0x67]),[_0x4a0883([0x63,0x72,0x76])]:_0x4a0883([0x50,0x2d,0x32,0x35,0x36]),[_0x4a0883([0x78])]:_0x4a0883([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4a0883([0x79])]:_0x4a0883([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4a0883([0x61,0x6c,0x67])]:_0x4a0883([0x45,0x53,0x32,0x35,0x36])},_0x5fcb8b=_0x310622[_0x4a0883([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a0883([0x67,0x65,0x74])](_0x4a0883([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5707dc(){let _0x8db9e0,_0x26c1db=null,_0x5b4b27=null;try{if(_0x5fcb8b==_0x4a0883([0x47,0x50,0x4c]))return _0x4a0883([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8db9e0=_0x443aea(),!_0x8db9e0)return _0x4a0883([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8db9e0[_0x4a0883([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b4b27=_0x443ac0(_0x8db9e0[_0x4a0883([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8db9e0[_0x4a0883([0x6a,0x74,0x69])])),await _0x1d399e()?_0x458996()?_0x2cb08b()?_0x4a0883([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7c46ca()?(_0x8db9e0[_0x4a0883([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a0883([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26c1db=_0x49460c(_0x4a0883([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x27d7c8()):_0x4a0883([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a0883([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a0883([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a0883([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2cb08b(){const _0x2f7672=[_0x4a0883([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a0883([0x74,0x72,0x69,0x61,0x6c])][_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8db9e0[_0x4a0883([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x435fd6/0x3e8:0xe10*_0x1ba75d;return _0x8db9e0[_0x4a0883([0x65,0x78,0x70])]<_0x2f7672;}function _0x458996(){const _0x121d7f=_0x8db9e0[_0x4a0883([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x121d7f&&(!!_0x121d7f[_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0883([0x2a]))||!!_0x121d7f[_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0883([0x41,0x49])));}function _0x7c46ca(){const _0x49855d=_0x3487,_0x38f376=_0x8db9e0[_0x4a0883([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38f376||0x0==_0x38f376[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf74b5}=new URL(window[_0x4a0883([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x49855d(0xb3)]);if(_0x38f376[_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf74b5))return!0x0;const _0x365608=_0xf74b5[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])](_0x4a0883([0x2e]));return _0x38f376[_0x4a0883([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x113653=>_0x113653[_0x4a0883([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0883([0x2a])))[_0x4a0883([0x6d,0x61,0x70])](_0x265596=>_0x265596[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])](_0x4a0883([0x2e])))[_0x4a0883([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1185e6=>_0x1185e6[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x365608[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a0883([0x6d,0x61,0x70])](_0xfaa462=>Array(_0x365608[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xfaa462[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a0883([0x66,0x69,0x6c,0x6c])](_0xfaa462[0x0]===_0x4a0883([0x2a])?_0x4a0883([0x2a]):'')[_0x4a0883([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xfaa462))[_0x4a0883([0x73,0x6f,0x6d,0x65])](_0x376c5f=>_0x365608[_0x4a0883([0x65,0x76,0x65,0x72,0x79])]((_0x53fadb,_0x49d986)=>_0x376c5f[_0x49d986]===_0x53fadb||_0x376c5f[_0x49d986]===_0x4a0883([0x2a])));}function _0x27d7c8(){return _0x26c1db&&_0x5b4b27?new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51364e,_0x2eb044)=>{_0x26c1db[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x51364e,_0x2eb044),_0x5b4b27[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x3963aa=>{_0x3963aa!=_0x4a0883([0x56,0x61,0x6c,0x69,0x64])&&_0x51364e(_0x3963aa);},_0x2eb044);}):_0x26c1db||_0x5b4b27||_0x4a0883([0x56,0x61,0x6c,0x69,0x64]);}}function _0x443ac0(_0x42d368,_0x50bd20){return new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46a3e5=>{if(_0x408acb())return _0x46a3e5(_0x4a0883([0x56,0x61,0x6c,0x69,0x64]));_0x2a8be0(),_0x310622[_0x4a0883([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a0883([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b4eee=!0x1;const _0x570113=_0x5087ba();function _0x39f858(_0x2b78c2){return!!_0x2b78c2&&(typeof _0x2b78c2===_0x4a0883([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b78c2===_0x4a0883([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b78c2[_0x4a0883([0x74,0x68,0x65,0x6e])]===_0x4a0883([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b78c2[_0x4a0883([0x63,0x61,0x74,0x63,0x68])]===_0x4a0883([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a0a6f(_0x55a6c2){_0x4483d0(_0x55a6c2)[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x1ea396=>{if(!_0x1ea396||_0x1ea396[_0x4a0883([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a0883([0x6f,0x6b]))return _0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ffa59(_0x151ece(_0x570113+_0x50bd20))!=_0x1ea396[_0x4a0883([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a0883([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x3ebeaa=>(_0x2dd513(),_0x3ebeaa),()=>{const _0x134078=_0x2cecd9();return null==_0x134078?(_0x2dd513(),_0x4a0883([0x56,0x61,0x6c,0x69,0x64])):_0x4a0883(_0x435fd6-_0x134078>(0x19f340e1^_0x26be3e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x46a3e5)[_0x4a0883([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46a3e5(_0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31fe9b=0x3dc92a61^_0x26be3e;function _0x2dd513(){const _0x2c5276=_0x4a0883([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ffa59(_0x151ece(_0x42d368)),_0x208579=_0x283cfd(_0x1ffa59(window[_0x4a0883([0x4d,0x61,0x74,0x68])][_0x4a0883([0x63,0x65,0x69,0x6c])](_0x435fd6/_0x31fe9b)));window[_0x4a0883([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a0883([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c5276,_0x208579);}function _0x2cecd9(){const _0x18201d=_0x4a0883([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ffa59(_0x151ece(_0x42d368)),_0x101bb6=window[_0x4a0883([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a0883([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18201d);return _0x101bb6?window[_0x4a0883([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x283cfd(_0x101bb6),0x10)*_0x31fe9b:null;}function _0x4483d0(_0xca14f1){return new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bef77,_0x56dc29)=>{_0xca14f1[_0x4a0883([0x74,0x68,0x65,0x6e])](_0x1bef77,_0x56dc29),window[_0x4a0883([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x56dc29,0x3dfe1021^_0x26be3e);});}}_0x310622[_0x4a0883([0x6f,0x6e])](_0x4a0883([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x265c99,_0x373484)=>{if(_0x373484[0x0]!=_0x42d368)return _0x46a3e5(_0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x373484[0x1]={..._0x373484[0x1],[_0x4a0883([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x570113};},{[_0x4a0883([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a0883([0x68,0x69,0x67,0x68])}),_0x310622[_0x4a0883([0x6f,0x6e])](_0x4a0883([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x651d3f=>{_0x39f858(_0x651d3f[_0x4a0883([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b4eee=!0x0,_0x5a0a6f(_0x651d3f[_0x4a0883([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a0883([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a0883([0x6c,0x6f,0x77])}),_0x4a30e3[_0x4a0883([0x74,0x68,0x65,0x6e])](()=>{_0x1b4eee||_0x46a3e5(_0x4a0883([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x408acb(){return _0x310622[_0x4a0883([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a0883([0x76,0x69,0x65,0x77])][_0x4a0883([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a0883([0x61,0x75,0x74,0x6f]);}function _0x2a8be0(){_0x310622[_0x4a0883([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a0883([0x76,0x69,0x65,0x77])][_0x4a0883([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a0883([0x61,0x75,0x74,0x6f]);}}function _0x49460c(_0x43325c){const _0x2b567f=[new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x174707=>setTimeout(_0x174707,0x3df6fa2d^_0x26be3e)),_0x4a30e3[_0x4a0883([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17d924=>{let _0x2e7368=0x0;_0x310622[_0x4a0883([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a0883([0x6f,0x6e])](_0x4a0883([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x255a8e,_0x5b11ce)=>{_0x5b11ce[0x0][_0x4a0883([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e7368++,_0x2e7368==(0x3dffc109^_0x26be3e)&&(_0x17d924(),_0x255a8e[_0x4a0883([0x6f,0x66,0x66])]());});}))];return window[_0x4a0883([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a0883([0x72,0x61,0x63,0x65])](_0x2b567f)[_0x4a0883([0x74,0x68,0x65,0x6e])](()=>_0x43325c);}async function _0x313039(){await _0x4a30e3,_0x310622[_0x4a0883([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a0883([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7941bc,_0x310622[_0x4a0883([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a0883([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7941bc,_0x310622[_0x4a0883([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a0883([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2122e4(_0x4bc437){const _0x4c4c70=_0x32b2a7();_0x310622[_0x4c4c70]=_0x4a0883([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4bc437,_0x4bc437!=_0x4a0883([0x56,0x61,0x6c,0x69,0x64])&&_0x313039();}function _0x32b2a7(){const _0x3963ba=window[_0x4a0883([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a0883([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a0883([0x6e,0x6f,0x77])]())[_0x4a0883([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a0883([0x2e]),'');let _0x52d432=_0x4a0883([0x6e]);for(let _0x30a67a=0x0;_0x30a67a<_0x3963ba[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30a67a+=0x2){let _0x7e1f3=window[_0x4a0883([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3963ba[_0x4a0883([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30a67a,_0x30a67a+0x2));_0x7e1f3>=_0x4da313[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7e1f3-=_0x4da313[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52d432+=_0x4da313[_0x7e1f3];}return _0x52d432;}function _0x443aea(){const _0x43535a=_0x5fcb8b[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])](_0x4a0883([0x2e]));if(0x3!=_0x43535a[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c1d43(_0x43535a[0x1]);function _0x2c1d43(_0x239218){const _0x574462=_0x6144b2(_0x239218);return _0x574462&&_0x159be2()?_0x574462:null;function _0x159be2(){const _0x414aa4=_0x574462[_0x4a0883([0x6a,0x74,0x69])],_0x21e96a=window[_0x4a0883([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x414aa4[_0x4a0883([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x414aa4[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59fc8e={..._0x574462,[_0x4a0883([0x6a,0x74,0x69])]:_0x414aa4[_0x4a0883([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x414aa4[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59fc8e[_0x4a0883([0x76,0x63])],_0x151ece(_0x59fc8e)==_0x21e96a;}}}async function _0x1d399e(){let _0x76cf2b=!0x0;try{const _0x53f6db=_0x5fcb8b[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])](_0x4a0883([0x2e])),[_0x48bda7,_0x2c1d95,_0x5a8902]=_0x53f6db;return _0x7c3679(_0x48bda7),await _0xbf480b(_0x48bda7,_0x2c1d95,_0x5a8902),_0x76cf2b;}catch{return!0x1;}function _0x7c3679(_0x22b956){const _0x495fc1=_0x6144b2(_0x22b956);_0x495fc1&&_0x495fc1[_0x4a0883([0x61,0x6c,0x67])]==_0x4a0883([0x45,0x53,0x32,0x35,0x36])||(_0x76cf2b=!0x1);}async function _0xbf480b(_0x3e61f0,_0x1181a7,_0x18a666){const _0x19dd2d=window[_0x4a0883([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a0883([0x66,0x72,0x6f,0x6d])](_0x2dc251(_0x18a666),_0x478f6e=>_0x478f6e[_0x4a0883([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3fb682=new window[(_0x4a0883([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a0883([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e61f0+_0x4a0883([0x2e])+_0x1181a7),_0x47de43=window[_0x4a0883([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a0883([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47de43)return;const _0x3c67bd=await _0x47de43[_0x4a0883([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a0883([0x6a,0x77,0x6b]),_0x244079,{[_0x4a0883([0x6e,0x61,0x6d,0x65])]:_0x4a0883([0x45,0x43,0x44,0x53,0x41]),[_0x4a0883([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a0883([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a0883([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47de43[_0x4a0883([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a0883([0x6e,0x61,0x6d,0x65])]:_0x4a0883([0x45,0x43,0x44,0x53,0x41]),[_0x4a0883([0x68,0x61,0x73,0x68])]:{[_0x4a0883([0x6e,0x61,0x6d,0x65])]:_0x4a0883([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c67bd,_0x19dd2d,_0x3fb682)||(_0x76cf2b=!0x1);}}function _0x6144b2(_0x12e08f){return _0x12e08f[_0x4a0883([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a0883([0x65,0x79]))?JSON[_0x4a0883([0x70,0x61,0x72,0x73,0x65])](_0x2dc251(_0x12e08f)):null;}function _0x2dc251(_0x5c333f){return window[_0x4a0883([0x61,0x74,0x6f,0x62])](_0x5c333f[_0x4a0883([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a0883([0x2b]))[_0x4a0883([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a0883([0x2f])));}function _0x151ece(_0x475b43){let _0x41765e=0x1505;function _0x5b273b(_0x543a35){for(let _0x2e1644=0x0;_0x2e1644<_0x543a35[_0x4a0883([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e1644++){const _0x33cecf=_0x543a35[_0x4a0883([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e1644);_0x41765e=(_0x41765e<<0x5)+_0x41765e+_0x33cecf,_0x41765e&=_0x41765e;}}function _0x5664b8(_0x1618f9){Array[_0x4a0883([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1618f9)?_0x1618f9[_0x4a0883([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5664b8):_0x1618f9&&typeof _0x1618f9==_0x4a0883([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a0883([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1618f9)[_0x4a0883([0x73,0x6f,0x72,0x74])]()[_0x4a0883([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1744f2,_0x1835d4])=>{_0x5b273b(_0x1744f2),_0x5664b8(_0x1835d4);}):_0x5b273b(window[_0x4a0883([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1618f9));}return _0x5664b8(_0x475b43),_0x41765e>>>0x0;}function _0x1ffa59(_0xf73c76){return _0xf73c76[_0x4a0883([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a0883([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a0883([0x30]));}function _0x283cfd(_0x9c5fe3){return _0x9c5fe3[_0x4a0883([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a0883([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a0883([0x6a,0x6f,0x69,0x6e])]('');}function _0x7941bc(){}function _0x4a0883(_0x47bf1d){const _0x2d9cb0=_0x3487;return _0x47bf1d[_0x2d9cb0(0x87)](_0x41f1a5=>String[_0x2d9cb0(0xa2)](_0x41f1a5))[_0x2d9cb0(0xbf)]('');}_0x2122e4(await _0x5707dc());}(this);}[_0x4a357c(0xbb)](){const _0x32bd32=_0x4a357c,_0x4f5fbc=this[_0x32bd32(0x8f)][_0x32bd32(0xd3)];_0x4f5fbc[_0x32bd32(0xa1)](_0x41d3aa=>{const _0x2eaab6=_0x32bd32,_0x3e9b06=_0x4f5fbc[_0x2eaab6(0xc1)][_0x2eaab6(0xae)][_0x2eaab6(0xdc)]();let _0x2e323f=0x0;for(const _0x19062e of _0x3e9b06){const _0x12aac9=gt+':'+_0x2e323f;if(_0x4f5fbc[_0x2eaab6(0x92)][_0x2eaab6(0x84)](_0x12aac9))_0x41d3aa[_0x2eaab6(0xce)](_0x12aac9,{'range':_0x19062e});else{if(_0x19062e[_0x2eaab6(0xc8)][_0x2eaab6(0xde)]){const _0xa56d00=_0x19062e[_0x2eaab6(0xc8)][_0x2eaab6(0xee)](({item:_0x18b2af})=>!_0x4f5fbc[_0x2eaab6(0x89)][_0x2eaab6(0xb8)](_0x18b2af),{'boundaries':_0x19062e});_0x41d3aa[_0x2eaab6(0x8e)](_0x12aac9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x41d3aa[_0x2eaab6(0xda)](_0xa56d00,_0x19062e[_0x2eaab6(0xbc)])});}else _0x41d3aa[_0x2eaab6(0x8e)](_0x12aac9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x19062e});}_0x2e323f++;}});}[_0x4a357c(0x8c)](){const _0x5b6c91=_0x4a357c,_0x3aef55=this[_0x5b6c91(0x8f)][_0x5b6c91(0xd3)],_0x5e78e3=Array[_0x5b6c91(0xb0)](this[_0x5b6c91(0x8f)][_0x5b6c91(0xd3)][_0x5b6c91(0x92)][_0x5b6c91(0x93)](gt));_0x5e78e3[_0x5b6c91(0xcb)]&&_0x3aef55[_0x5b6c91(0xa1)](_0x5e7d95=>{const _0x544ec5=_0x5b6c91;_0x5e78e3[_0x544ec5(0x90)](_0x5f2f04=>{const _0x43c449=_0x544ec5;_0x5e7d95[_0x43c449(0xc5)](_0x5f2f04);});});}[_0x4a357c(0xa7)](_0x234dc9,_0x3d11fc){const _0x26b73d=_0x4a357c,_0x409424=this[_0x26b73d(0xe1)](),_0x317796=_0x3d11fc||_0x409424[_0x26b73d(0xb2)]();this[_0x26b73d(0x8f)][_0x26b73d(0xd3)][_0x26b73d(0xac)](_0x317796)&&this[_0x26b73d(0x8f)][_0x26b73d(0xd3)][_0x26b73d(0xa1)](_0x3867de=>{const _0x385552=_0x26b73d;this[_0x385552(0x8c)](),_0x3d11fc||this[_0x385552(0xbd)](_0x3867de,_0x409424),this[_0x385552(0xc3)]({'insertAt':_0x317796,'writer':_0x3867de,'html':_0x234dc9});});}[_0x4a357c(0x8a)](_0x420908){const _0x305a16=_0x4a357c,{model:_0x390f96}=this[_0x305a16(0x8f)],_0x18c1bb=this[_0x305a16(0xe1)]();_0x390f96[_0x305a16(0xa1)](()=>{const _0x52dbcf=_0x305a16,_0x2e20dd=this[_0x52dbcf(0xbe)](_0x420908,_0x18c1bb)||this[_0x52dbcf(0xaf)](_0x18c1bb);this[_0x52dbcf(0xa7)](_0x420908,_0x2e20dd);});}[_0x4a357c(0xe1)](){const _0x1070f1=_0x4a357c,_0x27b776=this[_0x1070f1(0x8f)][_0x1070f1(0xd3)],_0x523ba3=Array[_0x1070f1(0xb0)](_0x27b776[_0x1070f1(0x92)][_0x1070f1(0x93)](gt))[_0x1070f1(0x87)](_0x56597d=>_0x56597d[_0x1070f1(0x9c)]());return _0x27b776[_0x1070f1(0xe5)](_0x523ba3);}[_0x4a357c(0xc3)]({writer:_0x44a535,html:_0x36af5a,insertAt:_0x7f517b}){const _0x379184=_0x4a357c,{view:_0x2031bf}=this[_0x379184(0x8f)][_0x379184(0xc6)],_0x667276=this[_0x379184(0x8f)][_0x379184(0xd0)][_0x379184(0x99)](_0xd50888),_0x4adacf=new pt();_0x4adacf[_0x379184(0x9b)](_0x379184(0xd2),_0x36af5a);const _0x2dd1b2=new ClipboardEvent(_0x379184(0xa9),{'clipboardData':_0x4adacf}),_0x17d25b=new _0x38f421(_0x2031bf,_0x2dd1b2,{'dataTransfer':new _0x341d72(_0x4adacf)});_0x44a535[_0x379184(0xa6)](_0x7f517b);const _0x24539f=(_0x1a9fce,_0x400bd3)=>{const _0x381d38=_0x379184;_0x400bd3[_0x381d38(0xab)]&&_0x44a535[_0x381d38(0xa6)](_0x400bd3[_0x381d38(0xab)]);};_0x667276[_0x379184(0xec)](_0x379184(0xb9),_0x24539f,{'priority':_0x379184(0x9a)}),_0x2031bf[_0x379184(0xc1)][_0x379184(0xcc)](_0x379184(0xa9),_0x17d25b),_0x667276[_0x379184(0xdf)](_0x379184(0xb9),_0x24539f);}[_0x4a357c(0xaf)](_0x32d223){const _0x230223=_0x4a357c,{model:_0x309f39}=this[_0x230223(0x8f)],_0x11cb12=Array[_0x230223(0xb0)](_0x32d223[_0x230223(0xd1)]());return _0x11cb12[_0x230223(0xcb)]?_0x309f39[_0x230223(0x91)](_0x11cb12[_0x230223(0xba)]()):_0x32d223[_0x230223(0xe0)]();}[_0x4a357c(0xbe)](_0x3dafd3,_0x115955){const _0x1b40ee=_0x4a357c,{model:_0x2ee5f4,plugins:_0x3862ab}=this[_0x1b40ee(0x8f)];if(_0x3862ab[_0x1b40ee(0x84)](_0x1b40ee(0x9e))){const _0x47deaf=_0x3862ab[_0x1b40ee(0x99)](_0x1b40ee(0x9e))[_0x1b40ee(0xad)](_0x115955);if(_0x47deaf[_0x1b40ee(0xcb)]){const _0x57f39c=this[_0x1b40ee(0xe8)](_0x3dafd3),_0x480b71=this[_0x1b40ee(0x9f)](_0x47deaf,_0x57f39c);return _0x2ee5f4[_0x1b40ee(0xc0)](_0x480b71,0x0);}}return null;}[_0x4a357c(0xe8)](_0x3ec658){const _0x43c704=_0x4a357c,_0x32d9e5=this[_0x43c704(0x8f)][_0x43c704(0xd0)][_0x43c704(0x99)](_0x43c704(0x9e)),_0x5cdd48=this[_0x43c704(0x8f)][_0x43c704(0x82)][_0x43c704(0xcd)](_0x3ec658),_0x44e68b=Array[_0x43c704(0xb0)](_0x5cdd48[_0x43c704(0xb5)]())[_0x43c704(0x98)](_0x117a1a=>_0x117a1a['is'](_0x43c704(0xca),_0x43c704(0x94)));let _0x5e4ea9=0x0;return _0x44e68b[_0x43c704(0x90)](_0x5a8925=>{const _0x5079f3=_0x43c704;_0x5e4ea9+=_0x32d9e5[_0x5079f3(0xeb)](_0x5a8925);}),_0x5e4ea9;}[_0x4a357c(0x9f)](_0x17fd1f,_0x3c48e8){const _0x7fce81=_0x4a357c,_0x2a1157=this[_0x7fce81(0x8f)][_0x7fce81(0xd0)][_0x7fce81(0x99)](_0x7fce81(0x9e)),_0x4490fb=_0x2a1157[_0x7fce81(0xea)](_0x17fd1f),_0x21bdbf=_0x2a1157[_0x7fce81(0xa8)](_0x17fd1f),_0x3af96f=_0x4490fb[_0x7fce81(0xc7)]+0x1,_0xdb4f70=_0x21bdbf[_0x7fce81(0xe4)],_0x4ad207=_0x17fd1f[0x0][_0x7fce81(0xb7)](_0x7fce81(0x94));for(let _0x5ca5e0=0x0;_0x5ca5e0<_0x3c48e8;_0x5ca5e0++)_0x2a1157[_0x7fce81(0x97)](_0x4ad207,{'at':_0x3af96f});return _0x4ad207[_0x7fce81(0xd5)](_0x3af96f)[_0x7fce81(0xd5)](_0xdb4f70);}[_0x4a357c(0xbd)](_0x1f9a1d,_0x466d98){const _0x41cb6f=_0x4a357c,{plugins:_0x4a12f7}=this[_0x41cb6f(0x8f)],{model:_0x16e9dc}=_0x1f9a1d;if(!_0x4a12f7[_0x41cb6f(0x84)](_0x41cb6f(0x9e)))return;_0x4a12f7[_0x41cb6f(0x99)](_0x41cb6f(0x9e))[_0x41cb6f(0xad)](_0x466d98)[_0x41cb6f(0xcb)]&&_0x16e9dc[_0x41cb6f(0x83)](_0x466d98);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e407c=_0x5430;(function(_0x2ee5a4,_0x27640a){const _0x478392=_0x5430,_0x472112=_0x2ee5a4();while(!![]){try{const _0x3536fc=-parseInt(_0x478392(0x141))/0x1+parseInt(_0x478392(0x124))/0x2*(parseInt(_0x478392(0xd8))/0x3)+-parseInt(_0x478392(0xf4))/0x4*(-parseInt(_0x478392(0x115))/0x5)+-parseInt(_0x478392(0x104))/0x6*(parseInt(_0x478392(0xf1))/0x7)+parseInt(_0x478392(0xcd))/0x8*(-parseInt(_0x478392(0xa0))/0x9)+parseInt(_0x478392(0x121))/0xa*(-parseInt(_0x478392(0x12d))/0xb)+parseInt(_0x478392(0x111))/0xc;if(_0x3536fc===_0x27640a)break;else _0x472112['push'](_0x472112['shift']());}catch(_0x544e44){_0x472112['push'](_0x472112['shift']());}}}(_0x3066,0xbfb09));import{Plugin as _0x3fd42a}from'ckeditor5/src/core.js';import{IconMagicWand as _0x40c27d,IconRobotPencil as _0x198ec8}from'ckeditor5/src/icons.js';import{first as _0x4a0dc0,CKEditorError as _0x23ad76}from'ckeditor5/src/utils.js';import{createDropdown as _0xa4ca2b,addMenuToDropdown as _0x59fbaf,ButtonView as _0x1e3ce5,MenuBarMenuListItemButtonView as _0x70b66a,Dialog as _0x89f28b,DialogViewPosition as _0x2f5eb5,MenuBarMenuView as _0x36e1bd,MenuBarMenuListView as _0x48d629,MenuBarMenuListItemView as _0x10a777}from'ckeditor5/src/ui.js';function _0x5430(_0xeefcb4,_0x379703){const _0x306611=_0x3066();return _0x5430=function(_0x5430eb,_0x1c7d6f){_0x5430eb=_0x5430eb-0x95;let _0x4d300b=_0x306611[_0x5430eb];return _0x4d300b;},_0x5430(_0xeefcb4,_0x379703);}import{normalizeCommandsConfig as _0x4b9661,UNGROUPED_COMMANDS_GROUP_ID as _0x4fc3c8}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3a8ae4}from'./aiassistantediting.js';import{AIAdapter as _0x4e5a83}from'./adapters/aiadapter.js';import{getTranslation as _0x3e553c}from'./utils/common-translations.js';function _0x3066(){const _0x5ac75e=['command:','listenTo','show','859812ztrKYW','buttonView','length','copy','children','promptView','showFakeVisualSelection','polite','get','showAIAssistant','hideUI','text','getSelectedBlocks','EDITOR_TOP_SIDE','custom','8199243EFdpsB','selection','menuBar:aiCommands','isFlat','aiAssistant','editor','splice','getData','focus','change:isError','_showLicenseError','domainLimit','init','INSERT','config','getLimitElement','licenseKey','insertContentBelow','aiLicenseKeyDomainLimit','rawHtml','tableOfContents','schema','ck-ai-assistant-button\x20','trim','menuitemcheckbox','evaluationLimit','showUI','hide','text/html','push','wasMoved','execute','isPremiumPlugin','groupId','once','buttons','replaceContent','_onExecute','enabledCommandsIds','define','fieldView','order','AI\x20Commands','body','aiLicenseKeyUsageLimit','8YScTFz','textAdapter','document','pluginName','update','aiCommands','aiLicenseKeyInvalid','Generated\x20content:\x20%0','groupLabel','change','getSelectedElement','63TPHMwk','change:enabledCommandsIds','isOfficialPlugin','Error\x20during\x20AI\x20content\x20generation:\x20%0','usageLimit','updateView','_aiAdapter','aiLicenseKeyValid','comment','bind','getRanges','map','hideFakeVisualSelection','<p>','menuPanelClass','currentContext','_initView','ai.assistant.useTheme','aiLicenseKeyEvaluationLimit','isCollapsed','fire','ck-ai-assistant-ui','queryView','featureNotAllowed','includes','3723923KwFWcQ','source','requires','12pOLucW','locale','aiLicenseKeyNotAllowed','media','_populateMenuBarMenu','replace','reset','isOn','add','AIAssistant','addMany','ck-ai-commands-dropdown\x20','view','updatePosition','isEnabled','items','12GPzGkf','\x20ck-ai-assistant-ui_theme','model','componentFactory','setSelection','plugins','sort','expired','_commandDefinitions','_uiCssClasses','invalid','</p>','destroy','41733660JMNbnR','_dialog','_createAIAssistantUIButton','_initAriaAiStatusChangeAnnouncements','1125565oGYYTp','ai.assistant.contentAreaCssClass','_getResolvedCommandsDefinitions','REPLACE','set','change:value','commands','panelView','change:isProcessing','aiLicenseKeyExpired','_forceMarkersCopy','_aiAssistantController','1790ZYlgpy','values','forEach','65470mxnpwj','ai.assistant.commands','menuBar:aiAssistant','filter','errorView','label','AI\x20Assistant','from','menuView','75009pBVISs','contentArea','AI\x20is\x20writing','ai.assistant.disabledElements','DataTransfer','_formView','delegate','AIAssistantUI','insertContent','_licenseKeyCheckInterval','prompt','editing','ai-commands-config-order-collision','announce','render','_getMenuBarGroupButtons','requiresContent'];_0x3066=function(){return _0x5ac75e;};return _0x3066();}import{ShowAIAssistantCommand as _0x3d825b}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x2c5320}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x57f97a}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3af27e}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[_0x5e407c(0x131)];import{ClipboardMarkersUtils as _0x41e8b4}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x12d7de,ViewDataTransfer as _0x3a9ded}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3fd42a{[_0x5e407c(0xb0)];[_0x5e407c(0x136)];[_0x5e407c(0x112)];[_0x5e407c(0x132)];[_0x5e407c(0xde)];[_0x5e407c(0x120)];[_0x5e407c(0x10d)]='';static get[_0x5e407c(0xd0)](){const _0x59002b=_0x5e407c;return _0x59002b(0x134);}static get[_0x5e407c(0xda)](){return!0x0;}static get[_0x5e407c(0xc0)](){return!0x0;}static get[_0x5e407c(0xf3)](){return[_0x41e8b4,_0x3a8ae4,_0x4e5a83,_0x89f28b];}constructor(_0x2a56d3){const _0x2196c9=_0x5e407c;super(_0x2a56d3),_0x2a56d3[_0x2196c9(0xae)][_0x2196c9(0xc7)](_0x2196c9(0x130),[_0x2196c9(0xf7),_0x2196c9(0xb3),_0x2196c9(0xb4)]),_0x2a56d3[_0x2196c9(0xae)][_0x2196c9(0xc7)](_0x2196c9(0x116),''),_0x2a56d3[_0x2196c9(0xae)][_0x2196c9(0xc7)](_0x2196c9(0xe9),!0x0),this[_0x2196c9(0x10d)]=_0x2196c9(0xed)+(_0x2a56d3[_0x2196c9(0xae)][_0x2196c9(0x99)](_0x2196c9(0xe9))?_0x2196c9(0x105):'');}[_0x5e407c(0xac)](){const _0x566dbb=_0x5e407c,{editor:_0x4b3235}=this;this[_0x566dbb(0xde)]=_0x4b3235[_0x566dbb(0x109)][_0x566dbb(0x99)](_0x4e5a83),this[_0x566dbb(0x112)]=_0x4b3235[_0x566dbb(0x109)][_0x566dbb(0x99)](_0x89f28b),this[_0x566dbb(0x132)]=null,this[_0x566dbb(0x10c)]=this[_0x566dbb(0x117)]();const _0x24ef62=new _0x3d825b(_0x4b3235,Array[_0x566dbb(0x12b)](this[_0x566dbb(0x10c)][_0x566dbb(0x122)]()));_0x4b3235[_0x566dbb(0x11b)][_0x566dbb(0xfc)](_0x566dbb(0x9a),_0x24ef62),_0x4b3235['ui'][_0x566dbb(0x107)][_0x566dbb(0xfc)](_0x566dbb(0xd2),_0x1fcb9e=>{const _0x1f2104=_0x566dbb,_0x280b2e=_0xa4ca2b(_0x1fcb9e);return _0x280b2e[_0x1f2104(0x119)]({'class':_0x1f2104(0xff)+this[_0x1f2104(0x10d)]}),_0x280b2e[_0x1f2104(0x142)][_0x1f2104(0x119)]({'label':_0x3e553c(_0x1fcb9e,_0x1f2104(0xca)),'icon':_0x40c27d,'tooltip':!0x0}),_0x280b2e['on'](_0x1f2104(0xbf),_0x638ddb=>this[_0x1f2104(0xc5)](_0x638ddb[_0x1f2104(0xf2)]['id'])),_0x59fbaf(_0x280b2e,_0x4b3235['ui'][_0x1f2104(0x100)][_0x1f2104(0xcb)],function(_0x4df354){const _0x13aef1=_0x1f2104,_0x40bfe1=_0x4b9661(_0x4df354[_0x13aef1(0xae)][_0x13aef1(0x99)](_0x13aef1(0x125)),_0x4df354[_0x13aef1(0xf5)]),_0xd42c49=B(_0x4df354,_0x40bfe1)[_0x13aef1(0x127)](_0x2e9131=>_0x2e9131[_0x13aef1(0x11b)][_0x13aef1(0x143)]);if(0x1===_0xd42c49[_0x13aef1(0x143)])return B(_0x4df354,_0xd42c49[0x0][_0x13aef1(0x11b)])[_0x13aef1(0xe3)](_0xa0b6a7=>({'id':_0xa0b6a7['id'],'label':_0xa0b6a7[_0x13aef1(0x129)]}));return _0xd42c49[_0x13aef1(0xe3)](_0xd9399f=>{const _0x49e138=_0x13aef1,{groupId:_0x2bb64b,groupLabel:_0x468cef,commands:_0x2dbd33}=_0xd9399f,_0x3a249a=B(_0x4df354,_0x2dbd33)[_0x49e138(0xe3)](_0x3f934d=>({'id':_0x3f934d['id'],'label':_0x3f934d[_0x49e138(0x129)]}));return{'id':_0x2bb64b,'menu':_0x468cef||_0x2bb64b,'children':_0x3a249a};});}(_0x4b3235),{'ariaLabel':_0x3e553c(_0x1fcb9e,_0x1f2104(0xca))}),_0x280b2e[_0x1f2104(0x12c)][_0x1f2104(0xe6)]=_0x1f2104(0xff)+this[_0x1f2104(0x10d)],_0x24ef62['on'](_0x1f2104(0xd9),_0x5aa9e0),_0x280b2e[_0x1f2104(0x12c)][_0x1f2104(0xc2)](_0x1f2104(0x13b),_0x5aa9e0),_0x280b2e;function _0x5aa9e0(){const _0x9a5a4c=_0x1f2104;_0x280b2e[_0x9a5a4c(0x102)]=_0x24ef62[_0x9a5a4c(0xc6)][_0x9a5a4c(0x143)]>0x0;for(const _0x48b84e of _0x280b2e[_0x9a5a4c(0x12c)][_0x9a5a4c(0xc3)])_0x48b84e[_0x9a5a4c(0x102)]=_0x24ef62[_0x9a5a4c(0xc6)][_0x9a5a4c(0xf0)](_0x48b84e['id']);}}),_0x4b3235['ui'][_0x566dbb(0x107)][_0x566dbb(0xfc)](_0x566dbb(0xa2),_0xd9a88c=>{const _0x506638=_0x566dbb,_0x3431a4=new _0x36e1bd(_0xd9a88c);_0x3431a4[_0x506638(0x142)][_0x506638(0x119)]({'label':_0x3e553c(_0xd9a88c,_0x506638(0xca)),'icon':_0x40c27d}),_0x3431a4[_0x506638(0xe1)](_0x506638(0x102))['to'](_0x24ef62,_0x506638(0xc6),_0x5edc69=>_0x5edc69[_0x506638(0x143)]>0x0);const _0x41e784=_0x4b9661(_0x4b3235[_0x506638(0xae)][_0x506638(0x99)](_0x506638(0x125)),_0xd9a88c);return this[_0x506638(0xf8)](_0x24ef62,_0x3431a4,_0x41e784,_0x22ef9c=>this[_0x506638(0xc5)](_0x22ef9c)),_0x3431a4;}),_0x4b3235['ui'][_0x566dbb(0x107)][_0x566dbb(0xfc)](_0x566dbb(0xa4),()=>{const _0x26f8b1=_0x566dbb,_0x39357b=this[_0x26f8b1(0x113)](_0x1e3ce5);return _0x39357b[_0x26f8b1(0x119)]({'tooltip':!0x0,'class':_0x26f8b1(0xb6)+this[_0x26f8b1(0x10d)]}),_0x39357b;}),_0x4b3235['ui'][_0x566dbb(0x107)][_0x566dbb(0xfc)](_0x566dbb(0x126),()=>{const _0x108691=_0x566dbb,_0x12ca5b=this[_0x108691(0x113)](_0x70b66a);return _0x12ca5b[_0x108691(0x119)]({'role':_0x108691(0xb8)}),_0x12ca5b;}),this[_0x566dbb(0xb0)]=this[_0x566dbb(0xa5)][_0x566dbb(0xae)][_0x566dbb(0x99)](_0x566dbb(0xb0));const _0x154dac=this[_0x566dbb(0xa5)];this[_0x566dbb(0x136)]=setInterval(()=>{const _0x5c1c28=_0x566dbb;let _0xa7adfe;for(const _0xe420de in _0x154dac){const _0x17329f=_0xe420de,_0x38b313=_0x154dac[_0x17329f];if(_0x5c1c28(0xdf)==_0x38b313||_0x5c1c28(0xd3)==_0x38b313||_0x5c1c28(0x11e)==_0x38b313||_0x5c1c28(0xb2)==_0x38b313||_0x5c1c28(0xf6)==_0x38b313||_0x5c1c28(0xea)==_0x38b313||_0x5c1c28(0xcc)==_0x38b313){delete _0x154dac[_0x17329f],_0xa7adfe=_0x38b313,clearInterval(this[_0x5c1c28(0x136)]),this[_0x5c1c28(0x136)]=void 0x0;break;}}_0x5c1c28(0xd3)==_0xa7adfe&&_0x154dac[_0x5c1c28(0xaa)](_0x5c1c28(0x10e)),_0x5c1c28(0x11e)==_0xa7adfe&&_0x154dac[_0x5c1c28(0xaa)](_0x5c1c28(0x10b)),_0x5c1c28(0xb2)==_0xa7adfe&&_0x154dac[_0x5c1c28(0xaa)](_0x5c1c28(0xab)),_0x5c1c28(0xf6)==_0xa7adfe&&_0x154dac[_0x5c1c28(0xaa)](_0x5c1c28(0xef),_0x5c1c28(0xfd)),_0x5c1c28(0xea)==_0xa7adfe&&_0x154dac[_0x5c1c28(0xaa)](_0x5c1c28(0xb9)),_0x5c1c28(0xcc)==_0xa7adfe&&_0x154dac[_0x5c1c28(0xaa)](_0x5c1c28(0xdc));},0x3e8);}[_0x5e407c(0x110)](){const _0x4eb30f=_0x5e407c;super[_0x4eb30f(0x110)](),this[_0x4eb30f(0x136)]&&clearInterval(this[_0x4eb30f(0x136)]);}[_0x5e407c(0xba)](_0x431629='',_0x1026b2='',_0x55b92e=_0x5e407c(0x9f)){const _0x1bd760=_0x5e407c,_0x3deae4=this[_0x1bd760(0xa5)],_0x2cc6c7=_0x3deae4[_0x1bd760(0x138)][_0x1bd760(0x100)],_0x690ce5=_0x3deae4[_0x1bd760(0x109)][_0x1bd760(0x99)](_0x3a8ae4),_0x3c4ce1=_0x3deae4[_0x1bd760(0x109)][_0x1bd760(0x99)](_0x41e8b4);_0x690ce5[_0x1bd760(0x97)]();const _0x40b86d=new w(),_0x4d60ce=new ClipboardEvent(_0x1bd760(0x144),{'clipboardData':_0x40b86d}),_0x1ee87b=new _0x3a9ded(_0x40b86d),_0x42d145=new _0x12d7de(_0x2cc6c7,_0x4d60ce,{'dataTransfer':_0x1ee87b});_0x3c4ce1[_0x1bd760(0x11f)](_0x1bd760(0xe0),()=>{const _0x285e0c=_0x1bd760;_0x2cc6c7[_0x285e0c(0xcf)][_0x285e0c(0xec)](_0x285e0c(0x144),_0x42d145);}),this[_0x1bd760(0x132)]||(this[_0x1bd760(0xe8)](),this[_0x1bd760(0x120)]=new _0x2c5320(_0x3deae4,this[_0x1bd760(0xde)][_0x1bd760(0xce)],this[_0x1bd760(0x132)]));let _0x1e76a8=_0x1ee87b[_0x1bd760(0xa7)](_0x1bd760(0xbc));const _0x500454=_0x3deae4[_0x1bd760(0x106)][_0x1bd760(0xcf)][_0x1bd760(0xa1)],_0x449de6=Array[_0x1bd760(0x12b)](_0x500454[_0x1bd760(0xe2)]());0x1===_0x449de6[_0x1bd760(0x143)]&&_0x449de6[0x0][_0x1bd760(0xa3)]&&!_0x500454[_0x1bd760(0xd7)]()&&''!==_0x1e76a8[_0x1bd760(0xf9)](/ /g,'')[_0x1bd760(0xb7)]()&&(_0x1e76a8=_0x1bd760(0xe5)+_0x1e76a8+_0x1bd760(0x10f)),this[_0x1bd760(0x120)][_0x1bd760(0xdd)]({'actionId':_0x55b92e,'query':_0x431629,'htmlContent':_0x1e76a8,'label':_0x1026b2,'mainActionLabel':_0x3af27e[_0x3deae4[_0x1bd760(0x106)][_0x1bd760(0xcf)][_0x1bd760(0xa1)][_0x1bd760(0xeb)]?_0x1bd760(0xad):_0x1bd760(0x118)]}),_0x1bd760(0xa4)!==this[_0x1bd760(0x112)]['id']?this[_0x1bd760(0x112)][_0x1bd760(0x140)]({'id':_0x1bd760(0xa4),'icon':_0x198ec8,'title':_0x3e553c(this[_0x1bd760(0xa5)][_0x1bd760(0xf5)],_0x1bd760(0x12a)),'content':this[_0x1bd760(0x132)],'position':_0x2f5eb5[_0x1bd760(0x9e)],'onShow':()=>{const _0x5a151a=_0x1bd760;this[_0x5a151a(0x132)][_0x5a151a(0xa8)]();},'onHide':()=>{const _0x1d0058=_0x1bd760;this[_0x1d0058(0x120)][_0x1d0058(0xfa)](),_0x690ce5[_0x1d0058(0xe4)]();}}):this[_0x1bd760(0x112)][_0x1bd760(0x100)][_0x1bd760(0xbe)]||this[_0x1bd760(0x112)][_0x1bd760(0x100)][_0x1bd760(0x101)]();}[_0x5e407c(0x9b)](){const _0x5821b4=_0x5e407c;this[_0x5821b4(0x112)][_0x5821b4(0xbb)]();}[_0x5e407c(0x117)](){const _0x6735a8=_0x5e407c,_0x2e900e=new Map(),_0xa8c332=_0x4b9661(this[_0x6735a8(0xa5)][_0x6735a8(0xae)][_0x6735a8(0x99)](_0x6735a8(0x125)),this[_0x6735a8(0xa5)][_0x6735a8(0xf5)]);for(const _0x4a4496 of _0xa8c332)for(const _0xb36908 of _0x4a4496[_0x6735a8(0x11b)])_0x2e900e[_0x6735a8(0x119)](_0xb36908['id'],{..._0xb36908,'groupId':_0x4a4496[_0x6735a8(0xc1)],'groupLabel':_0x4a4496[_0x6735a8(0xd5)]||_0x4a4496[_0x6735a8(0xc1)]});return _0x2e900e;}[_0x5e407c(0x113)](_0x199a60){const _0x26be10=_0x5e407c,_0x265f1f=this[_0x26be10(0xa5)],_0x383eb5=_0x265f1f[_0x26be10(0x11b)][_0x26be10(0x99)](_0x26be10(0x9a)),_0x5a65b5=new _0x199a60(_0x265f1f[_0x26be10(0xf5)]);return _0x5a65b5[_0x26be10(0x119)]({'label':_0x3e553c(_0x265f1f[_0x26be10(0xf5)],_0x26be10(0x12a)),'icon':_0x198ec8,'isToggleable':!0x0}),_0x5a65b5[_0x26be10(0xe1)](_0x26be10(0x102))['to'](_0x383eb5),_0x5a65b5[_0x26be10(0xe1)](_0x26be10(0xfb))['to'](this[_0x26be10(0x112)],'id',_0x3e0169=>_0x26be10(0xa4)===_0x3e0169),this[_0x26be10(0x13f)](_0x5a65b5,_0x26be10(0xbf),()=>{const _0x256d4d=_0x26be10;_0x5a65b5[_0x256d4d(0xfb)]?this[_0x256d4d(0x9b)]():_0x383eb5[_0x256d4d(0xbf)]();}),_0x5a65b5;}[_0x5e407c(0xe8)](){const _0x553716=_0x5e407c,_0x109abc=this[_0x553716(0xa5)][_0x553716(0x109)][_0x553716(0x99)](_0x3a8ae4);this[_0x553716(0x132)]=new _0x57f97a(this[_0x553716(0xa5)][_0x553716(0xf5)],this[_0x553716(0x10d)],this[_0x553716(0xa5)][_0x553716(0xae)][_0x553716(0x99)](_0x553716(0x116))),this[_0x553716(0x132)]['on'](_0x553716(0x11a),()=>{const _0x292f17=_0x553716;this[_0x292f17(0x112)][_0x292f17(0x100)][_0x292f17(0xbe)]||this[_0x292f17(0x112)][_0x292f17(0x100)][_0x292f17(0x101)]();}),this[_0x553716(0x132)][_0x553716(0x96)][_0x553716(0xee)][_0x553716(0xc8)]['on'](_0x553716(0xd1),()=>{const _0x28497c=_0x553716;this[_0x28497c(0x112)][_0x28497c(0x100)][_0x28497c(0xbe)]||this[_0x28497c(0x112)][_0x28497c(0x100)][_0x28497c(0x101)]();}),this[_0x553716(0x13f)](this[_0x553716(0x132)],_0x553716(0xc4),()=>{const _0x275876=_0x553716;_0x109abc[_0x275876(0x135)](this[_0x275876(0x120)][_0x275876(0xe7)]),this[_0x275876(0x9b)]();}),this[_0x553716(0x13f)](this[_0x553716(0x132)],_0x553716(0xb1),()=>{const _0x132443=_0x553716;_0x109abc[_0x132443(0xb1)](this[_0x132443(0x120)][_0x132443(0xe7)]),this[_0x132443(0x9b)]();}),this[_0x553716(0x114)]();}[_0x5e407c(0x114)](){const _0x520cd0=_0x5e407c,{locale:_0xd5403d,ui:{ariaLiveAnnouncer:_0x82e9bc}}=this[_0x520cd0(0xa5)];this[_0x520cd0(0x132)][_0x520cd0(0x12e)]['on'](_0x520cd0(0x11d),(_0x52e795,_0x1080c3,_0x172929)=>{const _0x5f224e=_0x520cd0,_0x1023bf=this[_0x5f224e(0x120)][_0x5f224e(0xe7)];_0x172929?_0x82e9bc[_0x5f224e(0x13a)](_0x3e553c(_0xd5403d,_0x5f224e(0x12f))):_0x1023bf&&_0x82e9bc[_0x5f224e(0x13a)](_0x3e553c(_0xd5403d,_0x5f224e(0xd4),_0x1023bf),{'politeness':_0x5f224e(0x98),'isUnsafeHTML':!0x0});}),this[_0x520cd0(0x132)]['on'](_0x520cd0(0xa9),(_0x42ef79,_0x22d34d,_0x400d88)=>{const _0x44e993=_0x520cd0;if(_0x400d88){const _0x4e78be=this[_0x44e993(0x132)][_0x44e993(0x128)][_0x44e993(0x9c)];_0x82e9bc[_0x44e993(0x13a)](_0x3e553c(_0xd5403d,_0x44e993(0xdb),_0x4e78be));}});}[_0x5e407c(0xc5)](_0x3baee0){const _0xb92aec=_0x5e407c,_0x95b037=this[_0xb92aec(0x10c)][_0xb92aec(0x99)](_0x3baee0),_0x53f0b7=this[_0xb92aec(0xa5)],_0x5a7286=_0x53f0b7[_0xb92aec(0x106)][_0xb92aec(0xcf)][_0xb92aec(0xa1)],_0x20dff8=_0x53f0b7[_0xb92aec(0x11b)][_0xb92aec(0x99)](_0xb92aec(0x9a)),_0x2b1368=_0x53f0b7[_0xb92aec(0x109)][_0xb92aec(0x99)](_0x3a8ae4),_0x69c447=''+(_0x95b037[_0xb92aec(0xc1)]!==_0x4fc3c8?_0x95b037[_0xb92aec(0xd5)]+':\x20':'')+_0x95b037[_0xb92aec(0x129)];if(!0x1!==_0x95b037[_0xb92aec(0x13d)]&&_0x5a7286[_0xb92aec(0xeb)]){const _0x402020=_0x4a0dc0(_0x5a7286[_0xb92aec(0x9d)]())||_0x53f0b7[_0xb92aec(0x106)][_0xb92aec(0xb5)][_0xb92aec(0xaf)](_0x5a7286);_0x53f0b7[_0xb92aec(0x106)][_0xb92aec(0xd6)](_0x26915c=>{const _0x5a1a2a=_0xb92aec;_0x26915c[_0x5a1a2a(0x108)](_0x402020,'in');});}_0x2b1368[_0xb92aec(0x97)](),_0x20dff8[_0xb92aec(0xbf)](_0x95b037[_0xb92aec(0x137)],_0x69c447,_0xb92aec(0x13e)+_0x3baee0);}[_0x5e407c(0xf8)](_0x40bd37,_0xdd06f8,_0x54bbd5,_0x3ec292){const _0x5de57a=_0x5e407c,_0x168e9d=this[_0x5de57a(0xa5)],_0x2907b0=_0x168e9d[_0x5de57a(0xf5)],_0x274b73=new _0x48d629(_0x2907b0),_0x1c528b=B(_0x168e9d,_0x54bbd5)[_0x5de57a(0x127)](_0x59f35d=>_0x59f35d[_0x5de57a(0x11b)][_0x5de57a(0x143)]);0x1===_0x1c528b[_0x5de57a(0x143)]?this[_0x5de57a(0x13c)]({'command':_0x40bd37,'commands':_0x1c528b[0x0][_0x5de57a(0x11b)],'parentMenuView':_0xdd06f8,'onExecute':_0x3ec292})[_0x5de57a(0x123)](_0x7741b=>_0x274b73[_0x5de57a(0x103)][_0x5de57a(0xfc)](_0x7741b)):_0x1c528b[_0x5de57a(0x123)](({groupId:_0xdbcdc2,groupLabel:_0x3cf031,commands:_0x97ec92})=>{const _0x559afd=_0x5de57a,_0x8eca55=new _0x10a777(_0x2907b0,_0xdd06f8),_0x59e52d=new _0x36e1bd(_0x2907b0),_0x61965b=new _0x48d629(_0x2907b0),_0x5bb20e=this[_0x559afd(0x13c)]({'command':_0x40bd37,'commands':_0x97ec92,'parentMenuView':_0x59e52d,'onExecute':_0x3ec292});_0x59e52d[_0x559afd(0x142)][_0x559afd(0x119)]({'label':_0x3cf031||_0xdbcdc2}),_0x59e52d[_0x559afd(0x133)](_0x559afd(0xbf))['to'](_0xdd06f8),_0x61965b[_0x559afd(0x103)][_0x559afd(0xfe)](_0x5bb20e),_0x59e52d[_0x559afd(0x11c)][_0x559afd(0x95)][_0x559afd(0xfc)](_0x61965b),_0x8eca55[_0x559afd(0x95)][_0x559afd(0xfc)](_0x59e52d),_0x274b73[_0x559afd(0x103)][_0x559afd(0xfc)](_0x8eca55);}),_0xdd06f8[_0x5de57a(0x11c)][_0x5de57a(0x95)][_0x5de57a(0xfc)](_0x274b73);}[_0x5e407c(0x13c)]({command:_0x4b9a8a,commands:_0x41e392,parentMenuView:_0x59b013,onExecute:_0x2c1089}){const _0x4dd512=_0x5e407c,_0x3f8562=this[_0x4dd512(0xa5)],_0x49393c=_0x3f8562[_0x4dd512(0xf5)];return B(_0x3f8562,_0x41e392)[_0x4dd512(0xe3)](_0xdb36e6=>{const _0x14fd84=_0x4dd512,_0x415e9d=new _0x10a777(_0x49393c,_0x59b013),_0x1f706c=new _0x70b66a(_0x49393c);return _0x1f706c[_0x14fd84(0x119)]({'label':_0xdb36e6[_0x14fd84(0x129)]}),_0x1f706c[_0x14fd84(0x133)](_0x14fd84(0xbf))['to'](_0x59b013),_0x1f706c['on'](_0x14fd84(0xbf),()=>_0x2c1089(_0xdb36e6['id'])),_0x1f706c[_0x14fd84(0xe1)](_0x14fd84(0x102))['to'](_0x4b9a8a,_0x14fd84(0xc6),_0x397901=>_0x397901[_0x14fd84(0xf0)](_0xdb36e6['id'])),_0x415e9d[_0x14fd84(0x95)][_0x14fd84(0xfc)](_0x1f706c),_0x415e9d;});}}function U(_0x16ab4a,_0xdc6aa5){const _0xeb2d93=_0x5e407c;return void 0x0!==_0x16ab4a[_0xeb2d93(0xc9)]&&void 0x0===_0xdc6aa5[_0xeb2d93(0xc9)]?0x1:void 0x0===_0x16ab4a[_0xeb2d93(0xc9)]&&void 0x0!==_0xdc6aa5[_0xeb2d93(0xc9)]?-0x1:void 0x0!==_0x16ab4a[_0xeb2d93(0xc9)]&&void 0x0!==_0xdc6aa5[_0xeb2d93(0xc9)]?_0x16ab4a[_0xeb2d93(0xc9)]-_0xdc6aa5[_0xeb2d93(0xc9)]:0x0;}function B(_0x1816e7,_0x4c56be){const _0x345f6b=_0x5e407c;_0x4c56be[_0x345f6b(0x10a)](U);const _0x3c333a={},_0x14500c=[];for(const _0x29f54e of _0x4c56be)if(void 0x0!==_0x29f54e[_0x345f6b(0xc9)]){if(_0x29f54e[_0x345f6b(0xc9)]in _0x3c333a)throw new _0x23ad76(_0x345f6b(0x139),_0x1816e7,{'conflictingDefinitions':[_0x29f54e,_0x3c333a[_0x29f54e[_0x345f6b(0xc9)]]]});_0x3c333a[_0x29f54e[_0x345f6b(0xc9)]]=_0x29f54e,_0x14500c[_0x345f6b(0xa6)](_0x29f54e[_0x345f6b(0xc9)],0x0,_0x29f54e);}else _0x14500c[_0x345f6b(0xbd)](_0x29f54e);return _0x14500c;}
|
|
23
|
+
const _0x4cd8da=_0x4b91;(function(_0x5e6387,_0x125415){const _0x96a7a6=_0x4b91,_0x46e1c4=_0x5e6387();while(!![]){try{const _0x49daef=-parseInt(_0x96a7a6(0x8a))/0x1+-parseInt(_0x96a7a6(0xc8))/0x2*(parseInt(_0x96a7a6(0x112))/0x3)+parseInt(_0x96a7a6(0x103))/0x4*(parseInt(_0x96a7a6(0xcc))/0x5)+-parseInt(_0x96a7a6(0x114))/0x6+-parseInt(_0x96a7a6(0xe1))/0x7+parseInt(_0x96a7a6(0xac))/0x8+parseInt(_0x96a7a6(0xd0))/0x9;if(_0x49daef===_0x125415)break;else _0x46e1c4['push'](_0x46e1c4['shift']());}catch(_0x205c85){_0x46e1c4['push'](_0x46e1c4['shift']());}}}(_0xa721,0x33ab7));import{Plugin as _0x2b9eaa}from'ckeditor5/src/core.js';import{IconMagicWand as _0xab46cc,IconRobotPencil as _0x2280b3}from'ckeditor5/src/icons.js';import{first as _0x1cfdbb,CKEditorError as _0x492210}from'ckeditor5/src/utils.js';import{createDropdown as _0x5c3a5a,addMenuToDropdown as _0x45e37c,ButtonView as _0x4b7d43,MenuBarMenuListItemButtonView as _0xe9ee48,Dialog as _0x191d05,DialogViewPosition as _0x55ce58,MenuBarMenuView as _0x25c656,MenuBarMenuListView as _0x277be6,MenuBarMenuListItemView as _0x26ca86}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3fe5cf,UNGROUPED_COMMANDS_GROUP_ID as _0x4a6d08}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x54b025}from'./aiassistantediting.js';function _0x4b91(_0x219b4d,_0x4e7189){const _0xa7213d=_0xa721();return _0x4b91=function(_0x4b91d9,_0x3fee3c){_0x4b91d9=_0x4b91d9-0x7b;let _0x3d9580=_0xa7213d[_0x4b91d9];return _0x3d9580;},_0x4b91(_0x219b4d,_0x4e7189);}import{AIAdapter as _0x2fb909}from'./adapters/aiadapter.js';import{getTranslation as _0x32c77e}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x520e15}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4e06fd}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x42076a}from'./ui/form/aiformview.js';function _0xa721(){const _0x3030b9=['document','\x20ck-ai-assistant-ui_theme','errorView','init','announce','reset','text','aiLicenseKeyExpired','change','length','editor','aiLicenseKeyEvaluationLimit','map','AI\x20is\x20writing','forEach','ck-ai-assistant-ui','schema','rawHtml','151308ScUsxz','model','_aiAdapter','_formView','_onExecute','REPLACE','destroy','showFakeVisualSelection','config','set','polite','trim','invalid','requires','menuView','getSelectedElement','ai.assistant.contentAreaCssClass','AIAssistantUI','wasMoved','updateView','listenTo','body','aiLicenseKeyNotAllowed','_dialog','splice','EDITOR_TOP_SIDE','plugins','menuBar:aiAssistant','<p>','delegate','aiLicenseKeyUsageLimit','replace','hideUI','getSelectedBlocks','2808936HdBSQY','push','view','custom','bind','_getMenuBarGroupButtons','order','showUI','change:enabledCommandsIds','isFlat','copy','menuPanelClass','values','isOn','_uiCssClasses','setSelection','</p>','panelView','locale','aiLicenseKeyValid','_populateMenuBarMenu','hide','add','get','fire','media','pluginName','change:isError','2uQTBKz','tableOfContents','execute','domainLimit','387950HxfIBJ','items','_forceMarkersCopy','command:','3600234OOqmfQ','showAIAssistant','once','includes','_commandDefinitions','define','AI\x20Assistant','groupLabel','evaluationLimit','updatePosition','ai.assistant.disabledElements','selection','sort','aiLicenseKeyInvalid','ai.assistant.commands','editing','comment','96754dNCTWw','DataTransfer','text/html','show','buttonView','aiCommands','Generated\x20content:\x20%0','buttons','change:value','insertContentBelow','getData','filter','aiLicenseKeyDomainLimit','featureNotAllowed','addMany','_showLicenseError','replaceContent','isCollapsed','insertContent','contentArea','ai-commands-config-order-collision','enabledCommandsIds','fieldView','INSERT','aiAssistant','hideFakeVisualSelection','queryView','expired','menuBar:aiCommands','ck-ai-assistant-button\x20','_getResolvedCommandsDefinitions','Error\x20during\x20AI\x20content\x20generation:\x20%0','_initAriaAiStatusChangeAnnouncements','children','16rfiXzK','getLimitElement','focus','commands','isEnabled','AIAssistant','from','currentContext','getRanges','textAdapter','menuitemcheckbox','label','change:isProcessing','AI\x20Commands','licenseKey','945174UmDDhu','requiresContent','2218056JmFYwi','isPremiumPlugin','componentFactory','source','render','usageLimit','groupId','_initView','ai.assistant.useTheme','_createAIAssistantUIButton','prompt','update','isOfficialPlugin','_aiAssistantController','_licenseKeyCheckInterval','ck-ai-commands-dropdown\x20','promptView'];_0xa721=function(){return _0x3030b9;};return _0xa721();}import{AIFormToolbarViewMainActionLabel as _0x329958}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const pt=globalThis[_0x4cd8da(0xe2)];import{ClipboardMarkersUtils as _0x53e8ac}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x111ff3,ViewDataTransfer as _0x3fc11a}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2b9eaa{[_0x4cd8da(0x111)];[_0x4cd8da(0x122)];[_0x4cd8da(0xa1)];[_0x4cd8da(0x8d)];[_0x4cd8da(0x8c)];[_0x4cd8da(0x121)];[_0x4cd8da(0xba)]='';static get[_0x4cd8da(0xc6)](){const _0x340658=_0x4cd8da;return _0x340658(0x9b);}static get[_0x4cd8da(0x120)](){return!0x0;}static get[_0x4cd8da(0x115)](){return!0x0;}static get[_0x4cd8da(0x97)](){return[_0x53e8ac,_0x54b025,_0x2fb909,_0x191d05];}constructor(_0x3f4c18){const _0x6506ba=_0x4cd8da;super(_0x3f4c18),_0x3f4c18[_0x6506ba(0x92)][_0x6506ba(0xd5)](_0x6506ba(0xda),[_0x6506ba(0xc5),_0x6506ba(0x89),_0x6506ba(0xc9)]),_0x3f4c18[_0x6506ba(0x92)][_0x6506ba(0xd5)](_0x6506ba(0x9a),''),_0x3f4c18[_0x6506ba(0x92)][_0x6506ba(0xd5)](_0x6506ba(0x11c),!0x0),this[_0x6506ba(0xba)]=_0x6506ba(0x87)+(_0x3f4c18[_0x6506ba(0x92)][_0x6506ba(0xc3)](_0x6506ba(0x11c))?_0x6506ba(0x126):'');}[_0x4cd8da(0x7b)](){const _0x960979=_0x4cd8da,{editor:_0x227425}=this;this[_0x960979(0x8c)]=_0x227425[_0x960979(0xa4)][_0x960979(0xc3)](_0x2fb909),this[_0x960979(0xa1)]=_0x227425[_0x960979(0xa4)][_0x960979(0xc3)](_0x191d05),this[_0x960979(0x8d)]=null,this[_0x960979(0xd4)]=this[_0x960979(0xff)]();const _0x4cafc9=new _0x520e15(_0x227425,Array[_0x960979(0x109)](this[_0x960979(0xd4)][_0x960979(0xb8)]()));_0x227425[_0x960979(0x106)][_0x960979(0xc2)](_0x960979(0xd1),_0x4cafc9),_0x227425['ui'][_0x960979(0x116)][_0x960979(0xc2)](_0x960979(0xe6),_0x3a6611=>{const _0x1197ad=_0x960979,_0x37de26=_0x5c3a5a(_0x3a6611);return _0x37de26[_0x1197ad(0x93)]({'class':_0x1197ad(0x123)+this[_0x1197ad(0xba)]}),_0x37de26[_0x1197ad(0xe5)][_0x1197ad(0x93)]({'label':_0x32c77e(_0x3a6611,_0x1197ad(0x110)),'icon':_0xab46cc,'tooltip':!0x0}),_0x37de26['on'](_0x1197ad(0xca),_0x2a4edd=>this[_0x1197ad(0x8e)](_0x2a4edd[_0x1197ad(0x117)]['id'])),_0x45e37c(_0x37de26,_0x227425['ui'][_0x1197ad(0xae)][_0x1197ad(0x9f)],function(_0x1b3e59){const _0x340960=_0x1197ad,_0x5d7f93=_0x3fe5cf(_0x1b3e59[_0x340960(0x92)][_0x340960(0xc3)](_0x340960(0xde)),_0x1b3e59[_0x340960(0xbe)]),_0x40dd20=wi(_0x1b3e59,_0x5d7f93)[_0x340960(0xec)](_0x200c72=>_0x200c72[_0x340960(0x106)][_0x340960(0x81)]);if(0x1===_0x40dd20[_0x340960(0x81)])return wi(_0x1b3e59,_0x40dd20[0x0][_0x340960(0x106)])[_0x340960(0x84)](_0x184f52=>({'id':_0x184f52['id'],'label':_0x184f52[_0x340960(0x10e)]}));return _0x40dd20[_0x340960(0x84)](_0x193adb=>{const _0x24b609=_0x340960,{groupId:_0x18891e,groupLabel:_0x59028a,commands:_0x224ca8}=_0x193adb,_0xef36ce=wi(_0x1b3e59,_0x224ca8)[_0x24b609(0x84)](_0x293c4b=>({'id':_0x293c4b['id'],'label':_0x293c4b[_0x24b609(0x10e)]}));return{'id':_0x18891e,'menu':_0x59028a||_0x18891e,'children':_0xef36ce};});}(_0x227425),{'ariaLabel':_0x32c77e(_0x3a6611,_0x1197ad(0x110))}),_0x37de26[_0x1197ad(0x98)][_0x1197ad(0xb7)]=_0x1197ad(0x123)+this[_0x1197ad(0xba)],_0x4cafc9['on'](_0x1197ad(0xb4),_0x358d04),_0x37de26[_0x1197ad(0x98)][_0x1197ad(0xd2)](_0x1197ad(0x118),_0x358d04),_0x37de26;function _0x358d04(){const _0x24d66f=_0x1197ad;_0x37de26[_0x24d66f(0x107)]=_0x4cafc9[_0x24d66f(0xf6)][_0x24d66f(0x81)]>0x0;for(const _0x47ead0 of _0x37de26[_0x24d66f(0x98)][_0x24d66f(0xe8)])_0x47ead0[_0x24d66f(0x107)]=_0x4cafc9[_0x24d66f(0xf6)][_0x24d66f(0xd3)](_0x47ead0['id']);}}),_0x227425['ui'][_0x960979(0x116)][_0x960979(0xc2)](_0x960979(0xfd),_0x5ca90c=>{const _0x51aa48=_0x960979,_0x24e4b5=new _0x25c656(_0x5ca90c);_0x24e4b5[_0x51aa48(0xe5)][_0x51aa48(0x93)]({'label':_0x32c77e(_0x5ca90c,_0x51aa48(0x110)),'icon':_0xab46cc}),_0x24e4b5[_0x51aa48(0xb0)](_0x51aa48(0x107))['to'](_0x4cafc9,_0x51aa48(0xf6),_0x3a2e9c=>_0x3a2e9c[_0x51aa48(0x81)]>0x0);const _0x26729b=_0x3fe5cf(_0x227425[_0x51aa48(0x92)][_0x51aa48(0xc3)](_0x51aa48(0xde)),_0x5ca90c);return this[_0x51aa48(0xc0)](_0x4cafc9,_0x24e4b5,_0x26729b,_0x1f1c73=>this[_0x51aa48(0x8e)](_0x1f1c73)),_0x24e4b5;}),_0x227425['ui'][_0x960979(0x116)][_0x960979(0xc2)](_0x960979(0xf9),()=>{const _0x287783=_0x960979,_0x5daafa=this[_0x287783(0x11d)](_0x4b7d43);return _0x5daafa[_0x287783(0x93)]({'tooltip':!0x0,'class':_0x287783(0xfe)+this[_0x287783(0xba)]}),_0x5daafa;}),_0x227425['ui'][_0x960979(0x116)][_0x960979(0xc2)](_0x960979(0xa5),()=>{const _0x107235=_0x960979,_0xc73ba0=this[_0x107235(0x11d)](_0xe9ee48);return _0xc73ba0[_0x107235(0x93)]({'role':_0x107235(0x10d)}),_0xc73ba0;}),this[_0x960979(0x111)]=this[_0x960979(0x82)][_0x960979(0x92)][_0x960979(0xc3)](_0x960979(0x111));const _0x468253=this[_0x960979(0x82)];this[_0x960979(0x122)]=setInterval(()=>{const _0x1ade3b=_0x960979;let _0x489a5e;for(const _0x58f6e2 in _0x468253){const _0x20e8f0=_0x58f6e2,_0x2ec95b=_0x468253[_0x20e8f0];if(_0x1ade3b(0xbf)==_0x2ec95b||_0x1ade3b(0xdd)==_0x2ec95b||_0x1ade3b(0x7f)==_0x2ec95b||_0x1ade3b(0xed)==_0x2ec95b||_0x1ade3b(0xa0)==_0x2ec95b||_0x1ade3b(0x83)==_0x2ec95b||_0x1ade3b(0xa8)==_0x2ec95b){delete _0x468253[_0x20e8f0],_0x489a5e=_0x2ec95b,clearInterval(this[_0x1ade3b(0x122)]),this[_0x1ade3b(0x122)]=void 0x0;break;}}_0x1ade3b(0xdd)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0x96)),_0x1ade3b(0x7f)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0xfc)),_0x1ade3b(0xed)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0xcb)),_0x1ade3b(0xa0)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0xee),_0x1ade3b(0x108)),_0x1ade3b(0x83)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0xd8)),_0x1ade3b(0xa8)==_0x489a5e&&_0x468253[_0x1ade3b(0xf0)](_0x1ade3b(0x119));},0x3e8);}[_0x4cd8da(0x90)](){const _0x2becb9=_0x4cd8da;super[_0x2becb9(0x90)](),this[_0x2becb9(0x122)]&&clearInterval(this[_0x2becb9(0x122)]);}[_0x4cd8da(0xb3)](_0x5a076e='',_0x257516='',_0x4f98e5=_0x4cd8da(0xaf)){const _0x57e232=_0x4cd8da,_0x56b05e=this[_0x57e232(0x82)],_0x372841=_0x56b05e[_0x57e232(0xdf)][_0x57e232(0xae)],_0x16b32a=_0x56b05e[_0x57e232(0xa4)][_0x57e232(0xc3)](_0x54b025),_0x297198=_0x56b05e[_0x57e232(0xa4)][_0x57e232(0xc3)](_0x53e8ac);_0x16b32a[_0x57e232(0x91)]();const _0x45c0dd=new pt(),_0x8947c7=new ClipboardEvent(_0x57e232(0xb6),{'clipboardData':_0x45c0dd}),_0x18b90b=new _0x3fc11a(_0x45c0dd),_0x4912b3=new _0x111ff3(_0x372841,_0x8947c7,{'dataTransfer':_0x18b90b});_0x297198[_0x57e232(0xce)](_0x57e232(0xe0),()=>{const _0x4d3510=_0x57e232;_0x372841[_0x4d3510(0x125)][_0x4d3510(0xc4)](_0x4d3510(0xb6),_0x4912b3);}),this[_0x57e232(0x8d)]||(this[_0x57e232(0x11b)](),this[_0x57e232(0x121)]=new _0x4e06fd(_0x56b05e,this[_0x57e232(0x8c)][_0x57e232(0x10c)],this[_0x57e232(0x8d)]));let _0x3ceefb=_0x18b90b[_0x57e232(0xeb)](_0x57e232(0xe3));const _0x332bc7=_0x56b05e[_0x57e232(0x8b)][_0x57e232(0x125)][_0x57e232(0xdb)],_0x10c100=Array[_0x57e232(0x109)](_0x332bc7[_0x57e232(0x10b)]());0x1===_0x10c100[_0x57e232(0x81)]&&_0x10c100[0x0][_0x57e232(0xb5)]&&!_0x332bc7[_0x57e232(0x99)]()&&''!==_0x3ceefb[_0x57e232(0xa9)](/ /g,'')[_0x57e232(0x95)]()&&(_0x3ceefb=_0x57e232(0xa6)+_0x3ceefb+_0x57e232(0xbc)),this[_0x57e232(0x121)][_0x57e232(0x9d)]({'actionId':_0x4f98e5,'query':_0x5a076e,'htmlContent':_0x3ceefb,'label':_0x257516,'mainActionLabel':_0x329958[_0x56b05e[_0x57e232(0x8b)][_0x57e232(0x125)][_0x57e232(0xdb)][_0x57e232(0xf2)]?_0x57e232(0xf8):_0x57e232(0x8f)]}),_0x57e232(0xf9)!==this[_0x57e232(0xa1)]['id']?this[_0x57e232(0xa1)][_0x57e232(0xe4)]({'id':_0x57e232(0xf9),'icon':_0x2280b3,'title':_0x32c77e(this[_0x57e232(0x82)][_0x57e232(0xbe)],_0x57e232(0xd6)),'content':this[_0x57e232(0x8d)],'position':_0x55ce58[_0x57e232(0xa3)],'onShow':()=>{const _0x3df787=_0x57e232;this[_0x3df787(0x8d)][_0x3df787(0x105)]();},'onHide':()=>{const _0x365062=_0x57e232;this[_0x365062(0x121)][_0x365062(0x7d)](),_0x16b32a[_0x365062(0xfa)]();}}):this[_0x57e232(0xa1)][_0x57e232(0xae)][_0x57e232(0x9c)]||this[_0x57e232(0xa1)][_0x57e232(0xae)][_0x57e232(0xd9)]();}[_0x4cd8da(0xaa)](){const _0x2e2cc7=_0x4cd8da;this[_0x2e2cc7(0xa1)][_0x2e2cc7(0xc1)]();}[_0x4cd8da(0xff)](){const _0x34bc85=_0x4cd8da,_0x5aed24=new Map(),_0xdfc94e=_0x3fe5cf(this[_0x34bc85(0x82)][_0x34bc85(0x92)][_0x34bc85(0xc3)](_0x34bc85(0xde)),this[_0x34bc85(0x82)][_0x34bc85(0xbe)]);for(const _0x1ea58b of _0xdfc94e)for(const _0x125c9a of _0x1ea58b[_0x34bc85(0x106)])_0x5aed24[_0x34bc85(0x93)](_0x125c9a['id'],{..._0x125c9a,'groupId':_0x1ea58b[_0x34bc85(0x11a)],'groupLabel':_0x1ea58b[_0x34bc85(0xd7)]||_0x1ea58b[_0x34bc85(0x11a)]});return _0x5aed24;}[_0x4cd8da(0x11d)](_0x4d8e4c){const _0x2e7856=_0x4cd8da,_0x56382f=this[_0x2e7856(0x82)],_0x882d=_0x56382f[_0x2e7856(0x106)][_0x2e7856(0xc3)](_0x2e7856(0xd1)),_0x5ddd94=new _0x4d8e4c(_0x56382f[_0x2e7856(0xbe)]);return _0x5ddd94[_0x2e7856(0x93)]({'label':_0x32c77e(_0x56382f[_0x2e7856(0xbe)],_0x2e7856(0xd6)),'icon':_0x2280b3,'isToggleable':!0x0}),_0x5ddd94[_0x2e7856(0xb0)](_0x2e7856(0x107))['to'](_0x882d),_0x5ddd94[_0x2e7856(0xb0)](_0x2e7856(0xb9))['to'](this[_0x2e7856(0xa1)],'id',_0x328f9a=>_0x2e7856(0xf9)===_0x328f9a),this[_0x2e7856(0x9e)](_0x5ddd94,_0x2e7856(0xca),()=>{const _0x46a4ee=_0x2e7856;_0x5ddd94[_0x46a4ee(0xb9)]?this[_0x46a4ee(0xaa)]():_0x882d[_0x46a4ee(0xca)]();}),_0x5ddd94;}[_0x4cd8da(0x11b)](){const _0x429732=_0x4cd8da,_0x3c1d5c=this[_0x429732(0x82)][_0x429732(0xa4)][_0x429732(0xc3)](_0x54b025);this[_0x429732(0x8d)]=new _0x42076a(this[_0x429732(0x82)][_0x429732(0xbe)],this[_0x429732(0xba)],this[_0x429732(0x82)][_0x429732(0x92)][_0x429732(0xc3)](_0x429732(0x9a))),this[_0x429732(0x8d)]['on'](_0x429732(0xe9),()=>{const _0x3f2fb2=_0x429732;this[_0x3f2fb2(0xa1)][_0x3f2fb2(0xae)][_0x3f2fb2(0x9c)]||this[_0x3f2fb2(0xa1)][_0x3f2fb2(0xae)][_0x3f2fb2(0xd9)]();}),this[_0x429732(0x8d)][_0x429732(0x124)][_0x429732(0xfb)][_0x429732(0xf7)]['on'](_0x429732(0x11f),()=>{const _0x2c3192=_0x429732;this[_0x2c3192(0xa1)][_0x2c3192(0xae)][_0x2c3192(0x9c)]||this[_0x2c3192(0xa1)][_0x2c3192(0xae)][_0x2c3192(0xd9)]();}),this[_0x429732(0x9e)](this[_0x429732(0x8d)],_0x429732(0xf1),()=>{const _0x367537=_0x429732;_0x3c1d5c[_0x367537(0xf3)](this[_0x367537(0x121)][_0x367537(0x10a)]),this[_0x367537(0xaa)]();}),this[_0x429732(0x9e)](this[_0x429732(0x8d)],_0x429732(0xea),()=>{const _0x3078f8=_0x429732;_0x3c1d5c[_0x3078f8(0xea)](this[_0x3078f8(0x121)][_0x3078f8(0x10a)]),this[_0x3078f8(0xaa)]();}),this[_0x429732(0x101)]();}[_0x4cd8da(0x101)](){const _0x2e3d51=_0x4cd8da,{locale:_0x3d7c86,ui:{ariaLiveAnnouncer:_0x5cee66}}=this[_0x2e3d51(0x82)];this[_0x2e3d51(0x8d)][_0x2e3d51(0xf4)]['on'](_0x2e3d51(0x10f),(_0x23b022,_0x4fec88,_0x146f11)=>{const _0x5c1cd2=_0x2e3d51,_0x610eb7=this[_0x5c1cd2(0x121)][_0x5c1cd2(0x10a)];_0x146f11?_0x5cee66[_0x5c1cd2(0x7c)](_0x32c77e(_0x3d7c86,_0x5c1cd2(0x85))):_0x610eb7&&_0x5cee66[_0x5c1cd2(0x7c)](_0x32c77e(_0x3d7c86,_0x5c1cd2(0xe7),_0x610eb7),{'politeness':_0x5c1cd2(0x94),'isUnsafeHTML':!0x0});}),this[_0x2e3d51(0x8d)]['on'](_0x2e3d51(0xc7),(_0x4ef309,_0x34e2ed,_0x25e65d)=>{const _0x42ef80=_0x2e3d51;if(_0x25e65d){const _0x143631=this[_0x42ef80(0x8d)][_0x42ef80(0x127)][_0x42ef80(0x7e)];_0x5cee66[_0x42ef80(0x7c)](_0x32c77e(_0x3d7c86,_0x42ef80(0x100),_0x143631));}});}[_0x4cd8da(0x8e)](_0x467235){const _0x27d27b=_0x4cd8da,_0x3bd7cd=this[_0x27d27b(0xd4)][_0x27d27b(0xc3)](_0x467235),_0x23acab=this[_0x27d27b(0x82)],_0x34457b=_0x23acab[_0x27d27b(0x8b)][_0x27d27b(0x125)][_0x27d27b(0xdb)],_0x531188=_0x23acab[_0x27d27b(0x106)][_0x27d27b(0xc3)](_0x27d27b(0xd1)),_0x4afaf6=_0x23acab[_0x27d27b(0xa4)][_0x27d27b(0xc3)](_0x54b025),_0x100175=''+(_0x3bd7cd[_0x27d27b(0x11a)]!==_0x4a6d08?_0x3bd7cd[_0x27d27b(0xd7)]+':\x20':'')+_0x3bd7cd[_0x27d27b(0x10e)];if(!0x1!==_0x3bd7cd[_0x27d27b(0x113)]&&_0x34457b[_0x27d27b(0xf2)]){const _0x15becb=_0x1cfdbb(_0x34457b[_0x27d27b(0xab)]())||_0x23acab[_0x27d27b(0x8b)][_0x27d27b(0x88)][_0x27d27b(0x104)](_0x34457b);_0x23acab[_0x27d27b(0x8b)][_0x27d27b(0x80)](_0x32c3be=>{const _0x26becb=_0x27d27b;_0x32c3be[_0x26becb(0xbb)](_0x15becb,'in');});}_0x4afaf6[_0x27d27b(0x91)](),_0x531188[_0x27d27b(0xca)](_0x3bd7cd[_0x27d27b(0x11e)],_0x100175,_0x27d27b(0xcf)+_0x467235);}[_0x4cd8da(0xc0)](_0x1396d1,_0x5d7d7,_0x3f2bfa,_0x160033){const _0x15deae=_0x4cd8da,_0x22e6c3=this[_0x15deae(0x82)],_0x4eab5d=_0x22e6c3[_0x15deae(0xbe)],_0x44c0e4=new _0x277be6(_0x4eab5d),_0x3a6e29=wi(_0x22e6c3,_0x3f2bfa)[_0x15deae(0xec)](_0x52e7cd=>_0x52e7cd[_0x15deae(0x106)][_0x15deae(0x81)]);0x1===_0x3a6e29[_0x15deae(0x81)]?this[_0x15deae(0xb1)]({'command':_0x1396d1,'commands':_0x3a6e29[0x0][_0x15deae(0x106)],'parentMenuView':_0x5d7d7,'onExecute':_0x160033})[_0x15deae(0x86)](_0x548249=>_0x44c0e4[_0x15deae(0xcd)][_0x15deae(0xc2)](_0x548249)):_0x3a6e29[_0x15deae(0x86)](({groupId:_0xdaa6d7,groupLabel:_0x5378a9,commands:_0x6f6d23})=>{const _0xabb9e5=_0x15deae,_0x53e737=new _0x26ca86(_0x4eab5d,_0x5d7d7),_0x4bc09a=new _0x25c656(_0x4eab5d),_0x4f1d4f=new _0x277be6(_0x4eab5d),_0xb09642=this[_0xabb9e5(0xb1)]({'command':_0x1396d1,'commands':_0x6f6d23,'parentMenuView':_0x4bc09a,'onExecute':_0x160033});_0x4bc09a[_0xabb9e5(0xe5)][_0xabb9e5(0x93)]({'label':_0x5378a9||_0xdaa6d7}),_0x4bc09a[_0xabb9e5(0xa7)](_0xabb9e5(0xca))['to'](_0x5d7d7),_0x4f1d4f[_0xabb9e5(0xcd)][_0xabb9e5(0xef)](_0xb09642),_0x4bc09a[_0xabb9e5(0xbd)][_0xabb9e5(0x102)][_0xabb9e5(0xc2)](_0x4f1d4f),_0x53e737[_0xabb9e5(0x102)][_0xabb9e5(0xc2)](_0x4bc09a),_0x44c0e4[_0xabb9e5(0xcd)][_0xabb9e5(0xc2)](_0x53e737);}),_0x5d7d7[_0x15deae(0xbd)][_0x15deae(0x102)][_0x15deae(0xc2)](_0x44c0e4);}[_0x4cd8da(0xb1)]({command:_0x5f131c,commands:_0x13055b,parentMenuView:_0x1432e0,onExecute:_0x5c53d4}){const _0x5cccad=_0x4cd8da,_0x19aa49=this[_0x5cccad(0x82)],_0x26f8c6=_0x19aa49[_0x5cccad(0xbe)];return wi(_0x19aa49,_0x13055b)[_0x5cccad(0x84)](_0x5cbd5a=>{const _0x43f0a2=_0x5cccad,_0x4dff23=new _0x26ca86(_0x26f8c6,_0x1432e0),_0x371bd7=new _0xe9ee48(_0x26f8c6);return _0x371bd7[_0x43f0a2(0x93)]({'label':_0x5cbd5a[_0x43f0a2(0x10e)]}),_0x371bd7[_0x43f0a2(0xa7)](_0x43f0a2(0xca))['to'](_0x1432e0),_0x371bd7['on'](_0x43f0a2(0xca),()=>_0x5c53d4(_0x5cbd5a['id'])),_0x371bd7[_0x43f0a2(0xb0)](_0x43f0a2(0x107))['to'](_0x5f131c,_0x43f0a2(0xf6),_0x945ae=>_0x945ae[_0x43f0a2(0xd3)](_0x5cbd5a['id'])),_0x4dff23[_0x43f0a2(0x102)][_0x43f0a2(0xc2)](_0x371bd7),_0x4dff23;});}}function Ai(_0xce4c90,_0xa73f9d){const _0x8978d2=_0x4cd8da;return void 0x0!==_0xce4c90[_0x8978d2(0xb2)]&&void 0x0===_0xa73f9d[_0x8978d2(0xb2)]?0x1:void 0x0===_0xce4c90[_0x8978d2(0xb2)]&&void 0x0!==_0xa73f9d[_0x8978d2(0xb2)]?-0x1:void 0x0!==_0xce4c90[_0x8978d2(0xb2)]&&void 0x0!==_0xa73f9d[_0x8978d2(0xb2)]?_0xce4c90[_0x8978d2(0xb2)]-_0xa73f9d[_0x8978d2(0xb2)]:0x0;}function wi(_0x2b3ab9,_0xa2adb0){const _0xe6b5c=_0x4cd8da;_0xa2adb0[_0xe6b5c(0xdc)](Ai);const _0x16c295={},_0x4a8e3c=[];for(const _0x20cf50 of _0xa2adb0)if(void 0x0!==_0x20cf50[_0xe6b5c(0xb2)]){if(_0x20cf50[_0xe6b5c(0xb2)]in _0x16c295)throw new _0x492210(_0xe6b5c(0xf5),_0x2b3ab9,{'conflictingDefinitions':[_0x20cf50,_0x16c295[_0x20cf50[_0xe6b5c(0xb2)]]]});_0x16c295[_0x20cf50[_0xe6b5c(0xb2)]]=_0x20cf50,_0x4a8e3c[_0xe6b5c(0xa2)](_0x20cf50[_0xe6b5c(0xb2)],0x0,_0x20cf50);}else _0x4a8e3c[_0xe6b5c(0xad)](_0x20cf50);return _0x4a8e3c;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xe39884=_0x667e;(function(_0x292036,_0x352dd4){const _0x35c3aa=_0x667e,_0x3fffc1=_0x292036();while(!![]){try{const _0x47712f=parseInt(_0x35c3aa(0x189))/0x1+-parseInt(_0x35c3aa(0x1bd))/0x2+-parseInt(_0x35c3aa(0x180))/0x3*(-parseInt(_0x35c3aa(0x19e))/0x4)+parseInt(_0x35c3aa(0x1a3))/0x5+-parseInt(_0x35c3aa(0x1a4))/0x6+-parseInt(_0x35c3aa(0x1a9))/0x7*(-parseInt(_0x35c3aa(0x1c1))/0x8)+-parseInt(_0x35c3aa(0x170))/0x9*(parseInt(_0x35c3aa(0x1bf))/0xa);if(_0x47712f===_0x352dd4)break;else _0x3fffc1['push'](_0x3fffc1['shift']());}catch(_0x32374c){_0x3fffc1['push'](_0x3fffc1['shift']());}}}(_0x3f7c,0xb4733));import{ObservableMixin as _0x4d8453}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1d40c8}from'../adapters/aiadapter.js';function _0x667e(_0x346350,_0x4ec474){const _0x3f7cdf=_0x3f7c();return _0x667e=function(_0x667e45,_0x58c174){_0x667e45=_0x667e45-0x16e;let _0x3f89e7=_0x3f7cdf[_0x667e45];return _0x3f89e7;},_0x667e(_0x346350,_0x4ec474);}import{Matcher as _0x25d03c,ViewUpcastWriter as _0xa27ad5}from'ckeditor5/src/engine.js';const fs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4d8453(){[_0xe39884(0x1ac)];[_0xe39884(0x1d1)];[_0xe39884(0x181)];[_0xe39884(0x18e)];[_0xe39884(0x193)];[_0xe39884(0x1c6)];constructor(_0x122151,_0xfca70,_0x5eefbd){const _0x41e3bc=_0xe39884;super(),this[_0x41e3bc(0x1ac)]=_0x122151,this[_0x41e3bc(0x1d1)]=_0xfca70,this[_0x41e3bc(0x18e)]=document[_0x41e3bc(0x19b)](_0x41e3bc(0x1bc)),this[_0x41e3bc(0x193)]=new DOMParser(),this[_0x41e3bc(0x1c6)]=new XMLSerializer(),this[_0x41e3bc(0x181)]=_0x5eefbd,this[_0x41e3bc(0x178)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x41e3bc(0x18b),(_0x12da55,_0x99572b,_0x3eee43)=>{const _0x1f2d3f=_0x41e3bc;this[_0x1f2d3f(0x181)][_0x1f2d3f(0x17a)]=this[_0x1f2d3f(0x1b9)](_0x3eee43);}),this[_0x41e3bc(0x18f)](this[_0x41e3bc(0x181)],_0x41e3bc(0x1b7),(_0x4a8bbe,_0x3d25a7)=>{const _0x2b0f9a=_0x41e3bc,_0x1b1ca2=this[_0x2b0f9a(0x197)]||this[_0x2b0f9a(0x16f)];this[_0x2b0f9a(0x1cd)](_0x3d25a7,_0x1b1ca2,_0x2b0f9a(0x172));}),this[_0x41e3bc(0x18f)](this[_0x41e3bc(0x181)],_0x41e3bc(0x194),()=>{const _0x30d523=_0x41e3bc;this[_0x30d523(0x181)][_0x30d523(0x175)]=this[_0x30d523(0x1b6)],this[_0x30d523(0x1cd)](this[_0x30d523(0x1b8)],this[_0x30d523(0x173)],this[_0x30d523(0x19d)],this[_0x30d523(0x1b6)]);}),this[_0x41e3bc(0x18f)](this[_0x41e3bc(0x181)],_0x41e3bc(0x1b3),()=>{const _0x51d4d2=_0x41e3bc;this[_0x51d4d2(0x1b3)]();});}[_0xe39884(0x191)](){const _0x3fe19b=_0xe39884;this[_0x3fe19b(0x176)]();}async[_0xe39884(0x199)]({actionId:_0x2d173a,query:_0x16f6a4,htmlContent:_0x58129e,label:_0x2caaff,mainActionLabel:_0x220c34}){const _0x6de688=_0xe39884;this[_0x6de688(0x181)][_0x6de688(0x175)]=_0x2caaff,this[_0x6de688(0x181)][_0x6de688(0x198)]=_0x220c34,this[_0x6de688(0x16f)]=_0x58129e,_0x16f6a4&&(this[_0x6de688(0x181)][_0x6de688(0x19f)]?this[_0x6de688(0x1cd)](_0x16f6a4,_0x58129e,_0x2d173a,_0x2caaff):this[_0x6de688(0x181)][_0x6de688(0x1af)](_0x6de688(0x1a0),()=>{const _0x4d09cf=_0x6de688;this[_0x4d09cf(0x1cd)](_0x16f6a4,_0x58129e,_0x2d173a,_0x2caaff);}));}[_0xe39884(0x1b3)](){const _0x5593dc=_0xe39884;this[_0x5593dc(0x1c3)]&&(this[_0x5593dc(0x1c3)]=!0x1,this[_0x5593dc(0x181)][_0x5593dc(0x18d)](),this[_0x5593dc(0x1d1)][_0x5593dc(0x17d)]());}[_0xe39884(0x1b0)](){const _0x951f94=_0xe39884;this[_0x951f94(0x16f)]='',this[_0x951f94(0x197)]='',this[_0x951f94(0x1ce)]='',this[_0x951f94(0x173)]='',this[_0x951f94(0x1b8)]='',this[_0x951f94(0x1b6)]='',this[_0x951f94(0x19d)]=void 0x0,this[_0x951f94(0x181)][_0x951f94(0x1b0)](),this[_0x951f94(0x1b3)]();}async[_0xe39884(0x1cd)](_0xfbf978,_0x55805d,_0x5e11c0,_0x418e80){const _0x1a993b=_0xe39884;return this[_0x1a993b(0x1c3)]=!0x0,this[_0x1a993b(0x181)][_0x1a993b(0x184)](),this[_0x1a993b(0x173)]=_0x55805d,this[_0x1a993b(0x1b8)]=_0xfbf978,this[_0x1a993b(0x1b6)]=_0x418e80||_0xfbf978,this[_0x1a993b(0x19d)]=_0x5e11c0,new Promise(_0x4b12c4=>{const _0x5caff9=_0x1a993b;this[_0x5caff9(0x1d1)][_0x5caff9(0x16e)]({'query':_0xfbf978,'context':_0x55805d,'onData':_0x3d4e83=>{const _0x42ac6c=_0x5caff9;this[_0x42ac6c(0x1ce)]=_0x3d4e83,this[_0x42ac6c(0x197)]=this[_0x42ac6c(0x1ae)](this[_0x42ac6c(0x1ce)]);},'actionId':_0x5e11c0})[_0x5caff9(0x1b1)](()=>{const _0x4f00dc=_0x5caff9;!this[_0x4f00dc(0x197)]&&this[_0x4f00dc(0x1ce)]&&(this[_0x4f00dc(0x197)]=this[_0x4f00dc(0x1ae)](this[_0x4f00dc(0x1ce)],!0x0));})[_0x5caff9(0x192)](_0x4ef0ae=>{const _0x5a4f00=_0x5caff9;_0x4ef0ae instanceof _0x1d40c8?this[_0x5a4f00(0x181)][_0x5a4f00(0x17f)](_0x4ef0ae[_0x5a4f00(0x1a5)]):this[_0x5a4f00(0x181)][_0x5a4f00(0x17f)](),_0x4b12c4();})[_0x5caff9(0x19a)](()=>{const _0x5f252f=_0x5caff9;this[_0x5f252f(0x1b3)](),_0x4b12c4();});});}[_0xe39884(0x1ae)](_0x466683,_0x13e3c6=!0x1){const _0x31fa05=_0xe39884,_0x13a042=fs[_0x31fa05(0x1a2)](_0x466683);_0x466683=_0x13a042?_0x466683[_0x31fa05(0x1c8)](_0x13a042[0x1][_0x31fa05(0x19c)]):_0x466683[_0x31fa05(0x19c)]<0x64&&!_0x13e3c6?'':this[_0x31fa05(0x177)](_0x466683);const _0x440c42=this[_0x31fa05(0x193)][_0x31fa05(0x1aa)](_0x466683,_0x31fa05(0x17e));if(_0x13a042){const _0x2ba60e=Array[_0x31fa05(0x1a7)](_0x440c42[_0x31fa05(0x1d0)][_0x31fa05(0x1be)]);_0x2ba60e[_0x31fa05(0x187)]();for(const _0x5b0b4c of _0x2ba60e){if(_0x5b0b4c[_0x31fa05(0x1ab)]==Node[_0x31fa05(0x185)])break;_0x5b0b4c[_0x31fa05(0x179)]();}}const _0x19f3f4=this[_0x31fa05(0x1ac)][_0x31fa05(0x1b5)][_0x31fa05(0x1ca)][_0x31fa05(0x182)](this[_0x31fa05(0x1c6)][_0x31fa05(0x195)](_0x440c42[_0x31fa05(0x1d0)]));this[_0x31fa05(0x1ba)]()||this[_0x31fa05(0x1b4)](_0x19f3f4);const _0x33165d=this[_0x31fa05(0x1ac)][_0x31fa05(0x1cf)][_0x31fa05(0x1c2)](_0x31fa05(0x17c)),_0x1ff9e1=this[_0x31fa05(0x1ac)][_0x31fa05(0x1b5)][_0x31fa05(0x1c4)](_0x19f3f4);return _0x33165d||_0x1ff9e1[_0x31fa05(0x190)][_0x31fa05(0x196)](),this[_0x31fa05(0x1ac)][_0x31fa05(0x1b5)][_0x31fa05(0x1cc)](_0x1ff9e1);}[_0xe39884(0x1b4)](_0x1b822a){const _0x227963=_0xe39884,_0x1672c2=new _0xa27ad5(this[_0x227963(0x1ac)][_0x227963(0x1a6)][_0x227963(0x181)][_0x227963(0x1c0)]),_0xb59908=new _0x25d03c({'name':/^h[1-5]$/}),_0x50dced=[];let _0x5e6590=!0x1;for(const _0x30c1a8 of _0x1b822a)_0x30c1a8['is'](_0x227963(0x1a8))&&_0xb59908[_0x227963(0x1c7)](_0x30c1a8)&&(_0x50dced[_0x227963(0x1c5)](_0x30c1a8),'h1'==_0x30c1a8[_0x227963(0x1b2)]&&(_0x5e6590=!0x0));if(_0x5e6590){for(const _0xd94623 of _0x50dced)_0x1672c2[_0x227963(0x183)]('h'+(parseInt(_0xd94623[_0x227963(0x1b2)][0x1])+0x1),_0xd94623);}}[_0xe39884(0x1ba)](){const _0x147b4e=_0xe39884,{data:_0xabc6a4,editing:_0x128282}=this[_0x147b4e(0x1ac)],_0x540ed3=_0xabc6a4[_0x147b4e(0x1a1)][_0x147b4e(0x182)](_0x147b4e(0x186)),_0xdcbdf0=_0xabc6a4[_0x147b4e(0x182)](_0xabc6a4[_0x147b4e(0x1c4)](_0x540ed3));return!!_0x128282[_0x147b4e(0x181)][_0x147b4e(0x174)][_0x147b4e(0x1ad)](_0xdcbdf0)[_0x147b4e(0x188)]('h1');}[_0xe39884(0x1b9)](_0x3af7b2){const _0xac50b6=_0xe39884;return this[_0xac50b6(0x1ac)][_0xac50b6(0x1a6)][_0xac50b6(0x181)][_0xac50b6(0x174)][_0xac50b6(0x17b)](this[_0xac50b6(0x18e)],_0x3af7b2),this[_0xac50b6(0x18e)][_0xac50b6(0x171)];}[_0xe39884(0x177)](_0x166301){const _0x3f9e70=_0xe39884,_0x3ee1bb=_0x166301[_0x3f9e70(0x1cb)]();return _0x3ee1bb[_0x3f9e70(0x18c)](_0x3f9e70(0x1bb))?_0x3ee1bb[_0x3f9e70(0x18a)](_0x3f9e70(0x1c9))?_0x3ee1bb[_0x3f9e70(0x1c8)](0x7,_0x3ee1bb[_0x3f9e70(0x19c)]-0x3):_0x3ee1bb[_0x3f9e70(0x1c8)](0x7):_0x166301;}}function _0x3f7c(){const _0x3cbaaf=['domConverter','prompt','stopListening','_stripMarkdownSyntax','set','remove','value','setContentOf','ai.assistant.preserveComments','abort','text/html','handleError','558fcaVCd','view','toView','rename','startProcessing','ELEMENT_NODE','<h1></h1>','reverse','querySelector','1314796qUemIC','endsWith','set:currentContext','startsWith','finishProcessing','_sanitizationContainer','listenTo','markers','destroy','catch','_domParser','tryAgainEvent','serializeToString','clear','currentContext','mainAction','updateView','finally','createElement','length','previousActionId','27844qkJXRM','isRendered','render','htmlProcessor','exec','3361380pzmhST','5467614OQYNJR','message','editing','from','element','14609UUVNAc','parseFromString','nodeType','editor','viewToDom','_parseAndNormalizeContent','once','reset','then','name','stopProcessing','_normalizeResponseHeadings','data','previousLabel','submitPrompt','previousQuery','_sanitizeHTML','_isH1TagSupportEnabled','```html','div','2348722qBQtTc','childNodes','337720BLjeDH','document','1096JThhUR','get','isProcessing','toModel','push','_xmlSerializer','match','substring','```','processor','trim','stringify','_handleQuery','currentResponse','config','body','textAdapter','makeRequest','initialContext','198vocEWF','innerHTML','custom','previousContext'];_0x3f7c=function(){return _0x3cbaaf;};return _0x3f7c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x222e46=_0x52fb;(function(_0x1c43c5,_0x540a69){const _0x500736=_0x52fb,_0x4b3352=_0x1c43c5();while(!![]){try{const _0x4f0571=-parseInt(_0x500736(0x17a))/0x1+parseInt(_0x500736(0x152))/0x2*(parseInt(_0x500736(0x190))/0x3)+parseInt(_0x500736(0x146))/0x4*(-parseInt(_0x500736(0x16d))/0x5)+-parseInt(_0x500736(0x17d))/0x6*(parseInt(_0x500736(0x145))/0x7)+-parseInt(_0x500736(0x15b))/0x8+parseInt(_0x500736(0x183))/0x9*(parseInt(_0x500736(0x143))/0xa)+parseInt(_0x500736(0x178))/0xb*(parseInt(_0x500736(0x192))/0xc);if(_0x4f0571===_0x540a69)break;else _0x4b3352['push'](_0x4b3352['shift']());}catch(_0x177751){_0x4b3352['push'](_0x4b3352['shift']());}}}(_0x4d40,0xd5a3e));import{global as _0x27972d}from'ckeditor5/src/utils.js';import{View as _0x173f5c,ButtonView as _0x762a9a,SpinnerView as _0x1aed2e}from'ckeditor5/src/ui.js';function _0x4d40(){const _0x50dfcc=['bindTemplate','set','ck-ai-form__content-area-wrapper','remove','ck-content','icon','firstElementChild','<span>]</span>','scrollTo','15500Ffcoky','left','ck-ai-form__loader','setContent','wheel','absolute','ck-ai-form__content-area','removeAllRanges','write','766360hfAJrs','clipboard','contentFieldView','loaderView','lastElementChild','querySelector','div','-9999px','_createCopyButton','appendLoader','ck-ai-form__copy-button-wrapper','scrollHeight','style','focus','locale','_copyHTMLToClipboard','copy','.ck-ai-form__loader','5PLuIan','ClipboardItem','ck-ai-form__copy-button','execCommand','ck-ai-form__content-area--processing','position','ck-reset_all-excluded','copyButtonView','element','value','createElement','33ipBLQM','appendChild','154469lZTNfH','ck-ai-form__content-field','setEndBefore','217488vQigKE','change:value','body','setTemplate','innerHTML','<span>[</span>','27153HXVoma','createRange','bind','text/html','setStartAfter','ck-hidden','Copy','isVisible','_createLoader','smooth','isEnabled','AI\x20is\x20writing...','class','183IBGaVz','textContent','3800220ifXMaY','addRange','getSelection','render','change:isProcessing','text/plain','execute','mousedown','1330cqMjuq','listenTo','91zXsBej','910032WxJvaH','\x20ck-ai-form__copy-button--copied','isProcessing'];_0x4d40=function(){return _0x50dfcc;};return _0x4d40();}function _0x52fb(_0x5ccc92,_0x59882c){const _0x4d4075=_0x4d40();return _0x52fb=function(_0x52fb25,_0x21d727){_0x52fb25=_0x52fb25-0x142;let _0x3b59a3=_0x4d4075[_0x52fb25];return _0x3b59a3;},_0x52fb(_0x5ccc92,_0x59882c);}import{IconCheck as _0x3509e4,IconCopy as _0x1163b3}from'ckeditor5/src/icons.js';import{getTranslation as _0x4bd75a}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x173f5c{[_0x222e46(0x15d)];[_0x222e46(0x174)];constructor(_0x290fe2,_0x46be15=''){const _0x36a6fd=_0x222e46;super(_0x290fe2),this[_0x36a6fd(0x14a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x35c2e9=this[_0x36a6fd(0x149)];this[_0x36a6fd(0x15d)]=new ContentFieldView(_0x290fe2,_0x46be15),this[_0x36a6fd(0x174)]=this[_0x36a6fd(0x163)](),this[_0x36a6fd(0x180)]({'tag':_0x36a6fd(0x161),'attributes':{'class':['ck',_0x36a6fd(0x14b),_0x35c2e9['if'](_0x36a6fd(0x18a),_0x36a6fd(0x188),_0x1dc3e7=>!_0x1dc3e7)],'tabindex':'-1'},'children':[{'tag':_0x36a6fd(0x161),'attributes':{'class':['ck',_0x36a6fd(0x158),_0x35c2e9['if'](_0x36a6fd(0x148),_0x36a6fd(0x171))]},'children':[this[_0x36a6fd(0x15d)],{'tag':_0x36a6fd(0x161),'attributes':{'class':['ck',_0x36a6fd(0x165)]},'children':[this[_0x36a6fd(0x174)]]}]}]});}[_0x222e46(0x195)](){const _0x1e3c0c=_0x222e46;super[_0x1e3c0c(0x195)](),this[_0x1e3c0c(0x176)]&&this[_0x1e3c0c(0x15d)][_0x1e3c0c(0x155)](this[_0x1e3c0c(0x176)]);let _0x5f520c=!0x1;this['on'](_0x1e3c0c(0x17e),(_0x58f9ad,_0xa73b8a,_0x486df8)=>{const _0x555056=_0x1e3c0c,_0x2aeb13=!this[_0x555056(0x15d)][_0x555056(0x175)][_0x555056(0x160)](_0x555056(0x16c));this[_0x555056(0x15d)][_0x555056(0x155)](_0x486df8),this[_0x555056(0x148)]&&_0x2aeb13&&!_0x5f520c&&this[_0x555056(0x175)][_0x555056(0x151)]({'top':this[_0x555056(0x175)][_0x555056(0x166)],'behavior':_0x555056(0x18c)});}),this['on'](_0x1e3c0c(0x196),(_0x44aa68,_0x54da76,_0x11170d)=>{const _0x1c1285=_0x1e3c0c;_0x5f520c=!0x1,_0x11170d?(this[_0x1c1285(0x176)]=null,this[_0x1c1285(0x15d)][_0x1c1285(0x164)]()):this[_0x1c1285(0x176)]||this[_0x1c1285(0x15d)][_0x1c1285(0x155)]('');}),this[_0x1e3c0c(0x144)](this[_0x1e3c0c(0x175)],_0x1e3c0c(0x156),()=>{_0x5f520c=!0x0;}),this[_0x1e3c0c(0x144)](this[_0x1e3c0c(0x175)],_0x1e3c0c(0x142),()=>{_0x5f520c=!0x0;});}[_0x222e46(0x168)](){const _0x2ea851=_0x222e46;this[_0x2ea851(0x175)][_0x2ea851(0x168)]();}[_0x222e46(0x163)](){const _0x59719b=_0x222e46,_0x4db8c1=this[_0x59719b(0x169)],_0x4771ac=new _0x762a9a(this[_0x59719b(0x169)]),_0x238c0b=_0x59719b(0x16f);return _0x4771ac[_0x59719b(0x14a)]({'label':_0x4bd75a(_0x4db8c1,_0x59719b(0x189)),'icon':_0x1163b3,'class':_0x238c0b,'tooltip':!0x0}),_0x4771ac[_0x59719b(0x185)](_0x59719b(0x18a))['to'](this,_0x59719b(0x176),_0x29fed1=>!!_0x29fed1),_0x4771ac[_0x59719b(0x185)](_0x59719b(0x18d))['to'](this,_0x59719b(0x148),_0x159004=>!_0x159004),_0x4771ac['on'](_0x59719b(0x198),()=>{const _0x7983d5=_0x59719b;this[_0x7983d5(0x16a)](this[_0x7983d5(0x15d)][_0x7983d5(0x175)]),_0x4771ac[_0x7983d5(0x14e)]=_0x3509e4,_0x4771ac[_0x7983d5(0x18f)]=_0x238c0b+_0x7983d5(0x147),this[_0x7983d5(0x168)](),setTimeout(()=>{const _0x53efb3=_0x7983d5;_0x4771ac[_0x53efb3(0x14e)]=_0x1163b3,_0x4771ac[_0x53efb3(0x18f)]=_0x238c0b;},0x3e8);}),_0x4771ac;}[_0x222e46(0x16a)](_0x134539){const _0x1a3897=_0x222e46,{window:_0x39edc,document:_0xd360d2}=_0x27972d;if(_0x39edc[_0x1a3897(0x16e)]){const {Blob:_0x16a926,ClipboardItem:_0x20e666}=_0x39edc,_0x5db1b1=[new _0x20e666({'text/html':new _0x16a926([_0x134539[_0x1a3897(0x181)]],{'type':_0x1a3897(0x186)}),'text/plain':new _0x16a926([_0x134539[_0x1a3897(0x191)]||''],{'type':_0x1a3897(0x197)})})];navigator[_0x1a3897(0x15c)][_0x1a3897(0x15a)](_0x5db1b1);}else{const _0x1f3143=_0xd360d2[_0x1a3897(0x177)](_0x1a3897(0x161));_0x1f3143[_0x1a3897(0x167)][_0x1a3897(0x172)]=_0x1a3897(0x157),_0x1f3143[_0x1a3897(0x167)][_0x1a3897(0x153)]=_0x1a3897(0x162),_0x1f3143[_0x1a3897(0x181)]=_0x1a3897(0x182)+_0x134539[_0x1a3897(0x181)]+_0x1a3897(0x150),_0xd360d2[_0x1a3897(0x17f)][_0x1a3897(0x179)](_0x1f3143);const _0x5ab963=_0xd360d2[_0x1a3897(0x184)]();_0x5ab963[_0x1a3897(0x187)](_0x1f3143[_0x1a3897(0x14f)]),_0x5ab963[_0x1a3897(0x17c)](_0x1f3143[_0x1a3897(0x15f)]);const _0x5ebf63=_0x39edc[_0x1a3897(0x194)]();_0x5ebf63[_0x1a3897(0x159)](),_0x5ebf63[_0x1a3897(0x193)](_0x5ab963),_0xd360d2[_0x1a3897(0x170)](_0x1a3897(0x16b)),_0x1f3143[_0x1a3897(0x14c)]();}}}export class ContentFieldView extends _0x173f5c{constructor(_0x2ff290,_0x4cd479=''){const _0x2807f6=_0x222e46;super(_0x2ff290),this[_0x2807f6(0x15e)]=this[_0x2807f6(0x18b)](),this[_0x2807f6(0x180)]({'tag':_0x2807f6(0x161),'attributes':{'class':['ck',_0x2807f6(0x14d),_0x4cd479,_0x2807f6(0x173),_0x2807f6(0x17b)]}});}[_0x222e46(0x155)](_0x3f6af5){const _0x4fbeba=_0x222e46;this[_0x4fbeba(0x175)][_0x4fbeba(0x181)]=_0x3f6af5;}[_0x222e46(0x164)](){const _0x521780=_0x222e46;this[_0x521780(0x175)][_0x521780(0x179)](this[_0x521780(0x15e)][_0x521780(0x175)]);}[_0x222e46(0x18b)](){const _0x1ece46=_0x222e46,_0x4259a2=new _0x173f5c(),_0x5dc562=this[_0x1ece46(0x169)],_0xc1a2bf=new _0x1aed2e();return _0xc1a2bf[_0x1ece46(0x18a)]=!0x0,_0x4259a2[_0x1ece46(0x180)]({'tag':_0x1ece46(0x161),'attributes':{'class':['ck',_0x1ece46(0x154)]},'children':[_0xc1a2bf,{'text':_0x4bd75a(_0x5dc562,_0x1ece46(0x18e))}]}),_0x4259a2[_0x1ece46(0x195)](),_0x4259a2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x40c586,_0x52a1f7){const _0x2c5886=_0x4d6a,_0x3fae2c=_0x40c586();while(!![]){try{const _0x2f60bd=parseInt(_0x2c5886(0x1d0))/0x1+-parseInt(_0x2c5886(0x1d5))/0x2+-parseInt(_0x2c5886(0x1d4))/0x3+-parseInt(_0x2c5886(0x1ce))/0x4+-parseInt(_0x2c5886(0x1d9))/0x5+parseInt(_0x2c5886(0x1d1))/0x6+parseInt(_0x2c5886(0x1d6))/0x7;if(_0x2f60bd===_0x52a1f7)break;else _0x3fae2c['push'](_0x3fae2c['shift']());}catch(_0xc0cff4){_0x3fae2c['push'](_0x3fae2c['shift']());}}}(_0x307c,0x8ab1f));function _0x307c(){const _0x2fc78b=['3061368YcsGUG','set','ck-ai-form__error','1493007teEvTL','1939298jhqNCw','14052416XeOUdu','bindTemplate','div','5142545nzQOwu','content','setTemplate','1741476SQDZBS','text','981575GxJCOj'];_0x307c=function(){return _0x2fc78b;};return _0x307c();}import{IconError as _0x3707ca}from'ckeditor5/src/icons.js';function _0x4d6a(_0x21a316,_0x2ebbb5){const _0x307c3c=_0x307c();return _0x4d6a=function(_0x4d6a9c,_0x384eaf){_0x4d6a9c=_0x4d6a9c-0x1ce;let _0x58e3a4=_0x307c3c[_0x4d6a9c];return _0x58e3a4;},_0x4d6a(_0x21a316,_0x2ebbb5);}import{View as _0x11a5b1,IconView as _0x268c45}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x11a5b1{constructor(_0x258053,_0xac40ef=''){const _0x5a3f51=_0x4d6a;super(_0x258053);const _0x5c1975=new _0x268c45(),_0x2a55d3=this[_0x5a3f51(0x1d7)];this[_0x5a3f51(0x1d2)](_0x5a3f51(0x1cf),_0xac40ef),_0x5c1975[_0x5a3f51(0x1da)]=_0x3707ca,this[_0x5a3f51(0x1db)]({'tag':_0x5a3f51(0x1d8),'attributes':{'class':['ck',_0x5a3f51(0x1d3)]},'children':[_0x5c1975,{'text':_0x2a55d3['to'](_0x5a3f51(0x1cf))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x592f41=_0x4e4c;(function(_0x4c0c23,_0x25b9a5){const _0x4e8f80=_0x4e4c,_0x573a82=_0x4c0c23();while(!![]){try{const _0x4a2e8e=parseInt(_0x4e8f80(0xbc))/0x1+-parseInt(_0x4e8f80(0xba))/0x2*(parseInt(_0x4e8f80(0xad))/0x3)+parseInt(_0x4e8f80(0x9e))/0x4+-parseInt(_0x4e8f80(0xa5))/0x5*(parseInt(_0x4e8f80(0x95))/0x6)+-parseInt(_0x4e8f80(0xc7))/0x7+parseInt(_0x4e8f80(0x9f))/0x8*(parseInt(_0x4e8f80(0x9b))/0x9)+parseInt(_0x4e8f80(0xb3))/0xa;if(_0x4a2e8e===_0x25b9a5)break;else _0x573a82['push'](_0x573a82['shift']());}catch(_0x7f5bb6){_0x573a82['push'](_0x573a82['shift']());}}}(_0x5ad2,0x30da8));import{Rect as _0x55fafb,global as _0xcb2fa0,isVisible as _0x2e21b6}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1d8e98,IconSubmit as _0x4cb621}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x21fa9c,ButtonView as _0x4aa63a}from'ckeditor5/src/ui.js';function _0x4e4c(_0x88d12,_0x34f1b6){const _0x5ad254=_0x5ad2();return _0x4e4c=function(_0x4e4ce3,_0x2f02ac){_0x4e4ce3=_0x4e4ce3-0x92;let _0x37308d=_0x5ad254[_0x4e4ce3];return _0x37308d;},_0x4e4c(_0x88d12,_0x34f1b6);}function _0x5ad2(){const _0x4ed964=['21czMYIv','right','children','_createShowHistoryButton','set','locale','3135070kwXGvD','left','isEnabled','fire','isOn','showHistoryButtonView','minRows','30714bWtrur','requestAnimationFrame','116586nFSmiR','enter','submit','ck-ai-form__submit','style','focus','fieldView','element','bind','width','maxRows','1671957DReymO','filteredView','fieldWrapperChildren','History','window','focusCycler','execute','add','930234cPQDsd','focusFirst','queryView','isEmpty','target','excludeScrollbarsAndBorders','1413729juHOwm','render','isVisible','457276wDszZc','8FesVKH','value','focusLast','ck-ai-form__toggle-history','Submit','update','5FQqpGT','submitButtonView','_createSubmitButton','keystrokes','focusableChildren','resultsView','uiLanguageDirection','rtl'];_0x5ad2=function(){return _0x4ed964;};return _0x5ad2();}import{getTranslation as _0x5fc8e2}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x21fa9c{[_0x592f41(0xa6)];[_0x592f41(0xb8)];constructor(_0x800a53,_0x2ac6f3){const _0x4eabc1=_0x592f41;super(_0x800a53,_0x2ac6f3),this[_0x4eabc1(0x97)][_0x4eabc1(0xc2)][_0x4eabc1(0xb9)]=0x1,this[_0x4eabc1(0x97)][_0x4eabc1(0xc2)][_0x4eabc1(0xc6)]=0x3,this[_0x4eabc1(0xa6)]=this[_0x4eabc1(0xa7)](),this[_0x4eabc1(0xb8)]=this[_0x4eabc1(0xb0)](),this[_0x4eabc1(0xa9)][_0x4eabc1(0x94)](this[_0x4eabc1(0xb8)],0x1),this[_0x4eabc1(0xa9)][_0x4eabc1(0x94)](this[_0x4eabc1(0xa6)]);}[_0x592f41(0x9c)](){const _0x1410a1=_0x592f41;super[_0x1410a1(0x9c)](),this[_0x1410a1(0x97)][_0x1410a1(0xc9)][_0x1410a1(0x94)](this[_0x1410a1(0xb8)]),this[_0x1410a1(0xaf)][_0x1410a1(0x94)](this[_0x1410a1(0xa6)]),this[_0x1410a1(0xa8)][_0x1410a1(0xb1)](_0x1410a1(0xbd),(_0x10cea9,_0x4238c8)=>{const _0x18b100=_0x1410a1;_0x10cea9[_0x18b100(0x99)]==this[_0x18b100(0x97)][_0x18b100(0xc2)][_0x18b100(0xc3)]&&(this[_0x18b100(0xbe)](),_0x4238c8());});}[_0x592f41(0xa7)](){const _0x45e688=_0x592f41,_0x1d98ca=new _0x4aa63a(this[_0x45e688(0xb2)]),_0x406f58=this[_0x45e688(0xb2)];return _0x1d98ca[_0x45e688(0xb1)]({'icon':_0x4cb621,'label':_0x5fc8e2(_0x406f58,_0x45e688(0xa3)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x45e688(0xbf)}),_0x1d98ca['on'](_0x45e688(0x93),()=>{const _0x19096d=_0x45e688;this[_0x19096d(0xbe)]();}),_0x1d98ca[_0x45e688(0xc4)](_0x45e688(0xb5))['to'](this[_0x45e688(0x97)][_0x45e688(0xc2)],_0x45e688(0x98),this,_0x45e688(0xb5),(_0x1640f2,_0x1006f5)=>!_0x1640f2&&_0x1006f5),_0x1d98ca;}[_0x592f41(0xb0)](){const _0x42a7fe=_0x592f41,_0x14913f=new _0x4aa63a(this[_0x42a7fe(0xb2)]),_0x5c1d06=this[_0x42a7fe(0xaa)],_0xb48bef=this[_0x42a7fe(0xb2)];_0x14913f[_0x42a7fe(0xb1)]({'label':_0x5fc8e2(_0xb48bef,_0x42a7fe(0xca)),'withText':!0x1,'icon':_0x1d8e98,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x42a7fe(0xa2)}),_0x14913f[_0x42a7fe(0xc4)](_0x42a7fe(0xb7))['to'](_0x5c1d06,_0x42a7fe(0x9d)),_0x14913f[_0x42a7fe(0xc4)](_0x42a7fe(0xb5))['to'](this,_0x42a7fe(0xb5)),_0x14913f['on'](_0x42a7fe(0x93),()=>{const _0x34915d=_0x42a7fe;_0x5c1d06[_0x34915d(0x9d)]=!_0x5c1d06[_0x34915d(0x9d)],_0x5c1d06[_0x34915d(0x9d)]?this[_0x34915d(0xc8)][_0x34915d(0xc1)]():this[_0x34915d(0xc1)]();});const _0x81522e=()=>{const _0x257b5b=_0x42a7fe;_0xcb2fa0[_0x257b5b(0xcb)][_0x257b5b(0xbb)](()=>{const _0x37d50e=_0x257b5b;if(_0x2e21b6(this[_0x37d50e(0xc3)])){const _0x1bbaad=new _0x55fafb(this[_0x37d50e(0x97)][_0x37d50e(0xc2)][_0x37d50e(0xc3)]),_0x4757f3=_0x1bbaad[_0x37d50e(0xc5)],_0x4715ff=_0x37d50e(0xac)===_0xb48bef[_0x37d50e(0xab)]?_0x37d50e(0xb4):_0x37d50e(0xae);_0x1bbaad[_0x37d50e(0x9a)](),_0x14913f[_0x37d50e(0xc3)][_0x37d50e(0xc0)][_0x4715ff]=_0x4757f3-_0x1bbaad[_0x37d50e(0xc5)]+0x1+'px';}});};return this[_0x42a7fe(0x97)][_0x42a7fe(0xc2)]['on'](_0x42a7fe(0xa4),_0x81522e),this['on'](_0x42a7fe(0x9c),_0x81522e),_0x14913f;}[_0x592f41(0xbe)](){const _0x1168ce=_0x592f41,_0x5d931e=this[_0x1168ce(0x97)][_0x1168ce(0xc2)][_0x1168ce(0xc3)][_0x1168ce(0xa0)];this[_0x1168ce(0xb6)](_0x1168ce(0xbe),_0x5d931e);}[_0x592f41(0xc1)](_0x3b3c92){const _0xde1f7f=_0x592f41;-0x1===_0x3b3c92?this[_0xde1f7f(0x92)][_0xde1f7f(0xa1)]():this[_0xde1f7f(0x92)][_0xde1f7f(0x96)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53cca4=_0x263a;function _0x4b0a(){const _0x28a453=['bindTemplate','mainAction','45460IFEvVW','56mLDkqD','REPLACE','bind','3447zOqffs','ck-ai-form__toolbar','8056pZOwow','addMany','11mxtQSK','Insert\x20below','toUpperCase','set','1894403bbjyZv','68665428LzEwDR','ck-button-action','locale','replace','stopButton','ck-hidden','replaceButton','tryAgainButton','insert','530055ZELTtm','insertButton','Stop','Try\x20again','_CONTENT','label','168234LWQdEi','isVisible','_createButton','364xQPIzy','extendTemplate','9090462jcjiis','items','AI_','48UmQBBA'];_0x4b0a=function(){return _0x28a453;};return _0x4b0a();}(function(_0x3ae81c,_0x106e0f){const _0x5decc6=_0x263a,_0x424147=_0x3ae81c();while(!![]){try{const _0x58ed06=parseInt(_0x5decc6(0x16c))/0x1*(-parseInt(_0x5decc6(0x17a))/0x2)+parseInt(_0x5decc6(0x169))/0x3+parseInt(_0x5decc6(0x175))/0x4*(parseInt(_0x5decc6(0x163))/0x5)+-parseInt(_0x5decc6(0x16e))/0x6+-parseInt(_0x5decc6(0x180))/0x7*(parseInt(_0x5decc6(0x171))/0x8)+-parseInt(_0x5decc6(0x178))/0x9*(parseInt(_0x5decc6(0x174))/0xa)+parseInt(_0x5decc6(0x17c))/0xb*(parseInt(_0x5decc6(0x181))/0xc);if(_0x58ed06===_0x106e0f)break;else _0x424147['push'](_0x424147['shift']());}catch(_0x1a5c50){_0x424147['push'](_0x424147['shift']());}}}(_0x4b0a,0xdfade));import{ToolbarView as _0x2ef9dc,ButtonView as _0x2f03a0}from'ckeditor5/src/ui.js';function _0x263a(_0x4c76a4,_0x294629){const _0x4b0a6a=_0x4b0a();return _0x263a=function(_0x263a30,_0x282764){_0x263a30=_0x263a30-0x15b;let _0x50b75f=_0x4b0a6a[_0x263a30];return _0x50b75f;},_0x263a(_0x4c76a4,_0x294629);}import{getTranslation as _0x39485d}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x53cca4(0x15d),'INSERT':_0x53cca4(0x162)};export class AIFormToolbarView extends _0x2ef9dc{constructor(_0x48063f){const _0x21547c=_0x53cca4;super(_0x48063f),this[_0x21547c(0x17f)](_0x21547c(0x16a),!0x1),this[_0x21547c(0x17f)](_0x21547c(0x173),AIFormToolbarViewMainActionLabel[_0x21547c(0x176)]),this[_0x21547c(0x160)]=this[_0x21547c(0x16b)]('',_0x21547c(0x15b)),this[_0x21547c(0x160)][_0x21547c(0x177)](_0x21547c(0x168))['to'](this,_0x21547c(0x173),_0x751c9b=>_0x39485d(_0x48063f,_0x21547c(0x170)+_0x751c9b[_0x21547c(0x17e)]()+_0x21547c(0x167))),this[_0x21547c(0x164)]=this[_0x21547c(0x16b)](_0x39485d(_0x48063f,_0x21547c(0x17d))),this[_0x21547c(0x161)]=this[_0x21547c(0x16b)](_0x39485d(_0x48063f,_0x21547c(0x166))),this[_0x21547c(0x15e)]=this[_0x21547c(0x16b)](_0x39485d(_0x48063f,_0x21547c(0x165)));const _0x427582=this[_0x21547c(0x172)];this[_0x21547c(0x16d)]({'attributes':{'class':[_0x21547c(0x179),_0x427582['if'](_0x21547c(0x16a),_0x21547c(0x15f),_0x1e1248=>!_0x1e1248)]}}),this[_0x21547c(0x16f)][_0x21547c(0x17b)]([this[_0x21547c(0x160)],this[_0x21547c(0x164)],this[_0x21547c(0x161)],this[_0x21547c(0x15e)]]);}[_0x53cca4(0x16b)](_0x11aef7,_0x4b07a7){const _0x5e5a8c=_0x53cca4,_0x5241fe=new _0x2f03a0(this[_0x5e5a8c(0x15c)]);return _0x5241fe[_0x5e5a8c(0x17f)]({'label':_0x11aef7,'class':_0x4b07a7||'','isVisible':!0x0,'withText':!0x0}),_0x5241fe;}}
|