@ckeditor/ckeditor5-ai 44.3.0 → 45.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/build/ai.js +1 -1
- package/build/translations/be.js +1 -0
- package/ckeditor5-metadata.json +2 -2
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/be.po +228 -0
- package/package.json +10 -10
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.d.ts +1 -4
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
- package/theme/icons/copy.svg +0 -1
- package/theme/icons/error.svg +0 -1
- package/theme/icons/magic-wand.svg +0 -1
- package/theme/icons/submit.svg +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32c06f=_0x5676;(function(_0x744982,_0x14a8cc){const _0x455d85=_0x5676,_0x277851=_0x744982();while(!![]){try{const _0x4749d9=-parseInt(_0x455d85(0xbb))/0x1*(-parseInt(_0x455d85(0xa1))/0x2)+parseInt(_0x455d85(0xcc))/0x3+-parseInt(_0x455d85(0xf1))/0x4*(parseInt(_0x455d85(0xcf))/0x5)+-parseInt(_0x455d85(0xf0))/0x6*(-parseInt(_0x455d85(0xf5))/0x7)+parseInt(_0x455d85(0xd6))/0x8*(-parseInt(_0x455d85(0xed))/0x9)+-parseInt(_0x455d85(0x95))/0xa+parseInt(_0x455d85(0xcd))/0xb*(parseInt(_0x455d85(0xe2))/0xc);if(_0x4749d9===_0x14a8cc)break;else _0x277851['push'](_0x277851['shift']());}catch(_0x4e2aef){_0x277851['push'](_0x277851['shift']());}}}(_0x400d,0xab176));function _0x400d(){const _0x430793=['last','getColumnIndexes','_pasteHTMLUsingClipboard','ai.useTheme','_getTableRowCountFromContent','2661yrNGmX','insertRows','element','parse','map','data','fromCharCode','off','init','getSelectedBlocks','getMarkersGroup','getRanges','for','_resetContentOfSelectedTableCells','getRowIndexes','from','editingDowncast','839475xBIBtP','763741oKvOPy','ck-fake-ai-selection_collapsed','284675cvoTPX','_createEmptyTableRows','markerToHighlight','fire','TableUtils','canEditAt','getSelectedTableCells','4972904uosZpY','insertContentBelow','length','once','isOfficialPlugin','isAtEnd','ai-ui','findAncestor','model','createPositionAt','createSelection','has','264RawYtq','plugins','get','editing','forEach','addMarker','setData','_prepareTableInsertBelowPosition','showFakeVisualSelection','removeMarker','getRange','18evzhOK','setSelection','AIAssistantEditing','312306UBQFLl','4AIkZBg','ck-ai-assistant-ui_theme','createPositionAfter','isCollapsed','154QfhvYZ','push','getChildren','selection','getLastPosition','insertContent','config','span','markers','_getDefaultInsertBelowPosition','end','_getAISelection','contentInsertion','DataTransfer','lowest','join','9541390KoEosv','pop','deleteContent','first','paste','isContent','markerRange','pluginName','addClass','getLastMatchingPosition','hideFakeVisualSelection','ck-fake-ai-selection','2PkcvsE','schema','createUIElement','table','getFirstRange','editor','getChild','text/html','filter','change','href','start','document','createRange','isPremiumPlugin','updateMarker','resultRange','conversion','getRows','markerToElement','afterInit'];_0x400d=function(){return _0x430793;};return _0x400d();}function _0x5676(_0x2706dc,_0x54e851){const _0x400d56=_0x400d();return _0x5676=function(_0x5676a2,_0x54cf0a){_0x5676a2=_0x5676a2-0x91;let _0x55a39c=_0x400d56[_0x5676a2];return _0x55a39c;},_0x5676(_0x2706dc,_0x54e851);}import{uid as _0xf3a3f}from'ckeditor5/src/utils.js';import{Plugin as _0xd02668}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5996a5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1f5105,DataTransfer as _0x46bf0a}from'ckeditor5/src/engine.js';const w=globalThis[_0x32c06f(0x92)],f=_0x32c06f(0xdc);export default class a extends _0xd02668{static get[_0x32c06f(0x9c)](){const _0x472e0b=_0x32c06f;return _0x472e0b(0xef);}static get[_0x32c06f(0xda)](){return!0x0;}static get[_0x32c06f(0xaf)](){return!0x0;}[_0x32c06f(0xc3)](){const _0x89c0ae=_0x32c06f,{editor:_0x18d905}=this,_0x2ef8d9=[_0x89c0ae(0xa0)];_0x18d905[_0x89c0ae(0xfb)][_0x89c0ae(0xe4)](_0x89c0ae(0xb9))&&_0x2ef8d9[_0x89c0ae(0xf6)](_0x89c0ae(0xf2)),_0x18d905[_0x89c0ae(0xb2)][_0x89c0ae(0xc7)](_0x89c0ae(0xcb))[_0x89c0ae(0xd1)]({'model':f,'view':{'classes':_0x2ef8d9,'priority':0xc}}),_0x18d905[_0x89c0ae(0xb2)][_0x89c0ae(0xc7)](_0x89c0ae(0xcb))[_0x89c0ae(0xb4)]({'model':f,'view':(_0xb932cb,{writer:_0x222142})=>{const _0x129ca4=_0x89c0ae;if(!_0xb932cb[_0x129ca4(0x9b)][_0x129ca4(0xf4)])return null;const _0x15fa44=_0x222142[_0x129ca4(0xa3)](_0x129ca4(0xfc));return _0x222142[_0x129ca4(0x9d)]([_0x129ca4(0xa0),_0x129ca4(0xce)],_0x15fa44),_0x15fa44;}});}[_0x32c06f(0xb5)](){!async function(_0x12217b){const _0x2113be=_0x2129a4([0x67,0x77,0x4d,0x57,0x70,0x46,0x7a,0x38,0x35,0x52,0x5a,0x55,0x74,0x79,0x62,0x34,0x66,0x78,0x59,0x72,0x76,0x4f,0x47,0x48,0x45,0x56,0x64,0x61,0x69,0x75,0x43,0x33,0x51,0x4b,0x49,0x44,0x32,0x6a,0x71,0x6d,0x39,0x42,0x50,0x68,0x36,0x30,0x6e,0x37,0x6f,0x54,0x53,0x4e,0x65,0x4a,0x58,0x6b,0x63,0x4c,0x41,0x6c,0x31,0x73]),_0x32998c=0x113777ec,_0x39a871=0x113016ac^_0x32998c,_0x1af9e4=window[_0x2129a4([0x44,0x61,0x74,0x65])][_0x2129a4([0x6e,0x6f,0x77])](),_0x4c8871=_0x12217b[_0x2129a4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21171e=new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42eb92=>{_0x4c8871[_0x2129a4([0x6f,0x6e,0x63,0x65])](_0x2129a4([0x72,0x65,0x61,0x64,0x79]),_0x42eb92);}),_0x5b0c45={[_0x2129a4([0x6b,0x74,0x79])]:_0x2129a4([0x45,0x43]),[_0x2129a4([0x75,0x73,0x65])]:_0x2129a4([0x73,0x69,0x67]),[_0x2129a4([0x63,0x72,0x76])]:_0x2129a4([0x50,0x2d,0x32,0x35,0x36]),[_0x2129a4([0x78])]:_0x2129a4([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]),[_0x2129a4([0x79])]:_0x2129a4([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]),[_0x2129a4([0x61,0x6c,0x67])]:_0x2129a4([0x45,0x53,0x32,0x35,0x36])},_0x33ca25=_0x4c8871[_0x2129a4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2129a4([0x67,0x65,0x74])](_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21d03b(){let _0x5c8c26,_0xbc388e=null,_0x55120a=null;try{if(_0x33ca25==_0x2129a4([0x47,0x50,0x4c]))return _0x2129a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5c8c26=_0x34c0d3(),!_0x5c8c26)return _0x2129a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5c8c26[_0x2129a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55120a=_0x436cb4(_0x5c8c26[_0x2129a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5c8c26[_0x2129a4([0x6a,0x74,0x69])])),await _0x29c93a()?_0x5c0ff0()?_0x2b26ac()?_0x2129a4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x413ed0()?(_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2129a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbc388e=_0x43c4cd(_0x2129a4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2129a4([0x74,0x72,0x69,0x61,0x6c])&&(_0xbc388e=_0x43c4cd(_0x2129a4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53f73b()):_0x2129a4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2129a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2129a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2e6267){return _0x2129a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b26ac(){const _0x452897=[_0x2129a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2129a4([0x74,0x72,0x69,0x61,0x6c])][_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1af9e4/0x3e8:0xe10*_0x39a871;return _0x5c8c26[_0x2129a4([0x65,0x78,0x70])]<_0x452897;}function _0x5c0ff0(){const _0x43bc88=_0x5c8c26[_0x2129a4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43bc88&&(!!_0x43bc88[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2129a4([0x2a]))||!!_0x43bc88[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2129a4([0x41,0x49])));}function _0x413ed0(){const _0x42c2e1=_0x5676,_0x247ce3=_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x247ce3||0x0==_0x247ce3[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f1b38}=new URL(window[_0x2129a4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x42c2e1(0xab)]);if(_0x247ce3[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f1b38))return!0x0;const _0x182bda=_0x4f1b38[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e]));return _0x247ce3[_0x2129a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58b8ec=>_0x58b8ec[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2129a4([0x2a])))[_0x2129a4([0x6d,0x61,0x70])](_0x1fb3c4=>_0x1fb3c4[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e])))[_0x2129a4([0x73,0x6f,0x6d,0x65])](_0x51303b=>_0x182bda[_0x2129a4([0x65,0x76,0x65,0x72,0x79])]((_0x37c526,_0x1cd661)=>_0x51303b[_0x1cd661]===_0x37c526||_0x51303b[_0x1cd661]===_0x2129a4([0x2a])));}function _0x53f73b(){return _0xbc388e&&_0x55120a?new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2404cb,_0x4526d6)=>{_0xbc388e[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x2404cb,_0x4526d6),_0x55120a[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x32589a=>{_0x32589a!=_0x2129a4([0x56,0x61,0x6c,0x69,0x64])&&_0x2404cb(_0x32589a);},_0x4526d6);}):_0xbc388e||_0x55120a||_0x2129a4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x436cb4(_0x590e60,_0x57a8f9){return new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3678d5=>{if(_0x2ddac1())return _0x3678d5(_0x2129a4([0x56,0x61,0x6c,0x69,0x64]));_0x229a23(),_0x4c8871[_0x2129a4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2129a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc2b190=!0x1;const _0x5e5e9c=_0xf3a3f();function _0x42d702(_0x27f115){return!!_0x27f115&&(typeof _0x27f115===_0x2129a4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27f115===_0x2129a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27f115[_0x2129a4([0x74,0x68,0x65,0x6e])]===_0x2129a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27f115[_0x2129a4([0x63,0x61,0x74,0x63,0x68])]===_0x2129a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d4a8e(_0x3aeada){_0x1678c0(_0x3aeada)[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x40c08c=>{if(!_0x40c08c||_0x40c08c[_0x2129a4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2129a4([0x6f,0x6b]))return _0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x214bfa(_0x3b2fa8(_0x5e5e9c+_0x57a8f9))!=_0x40c08c[_0x2129a4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2129a4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2129a4([0x74,0x68,0x65,0x6e])](_0xb9a716=>(_0xb999f5(),_0xb9a716),()=>{const _0x55550d=_0xd5a79();return null==_0x55550d?(_0xb999f5(),_0x2129a4([0x56,0x61,0x6c,0x69,0x64])):_0x2129a4(_0x1af9e4-_0x55550d>(0x353bf3ec^_0x32998c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x3678d5)[_0x2129a4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3678d5(_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xdf1c1f=0x1101996c^_0x32998c;function _0xb999f5(){const _0x249f12=_0x2129a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x214bfa(_0x3b2fa8(_0x590e60)),_0x52367d=_0x43e44d(_0x214bfa(window[_0x2129a4([0x4d,0x61,0x74,0x68])][_0x2129a4([0x63,0x65,0x69,0x6c])](_0x1af9e4/_0xdf1c1f)));window[_0x2129a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2129a4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x249f12,_0x52367d);}function _0xd5a79(){const _0x2a2089=_0x2129a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x214bfa(_0x3b2fa8(_0x590e60)),_0x437dc1=window[_0x2129a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2129a4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a2089);return _0x437dc1?window[_0x2129a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43e44d(_0x437dc1),0x10)*_0xdf1c1f:null;}function _0x1678c0(_0x2b082a){return new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x457a80,_0x3fb0ad)=>{_0x2b082a[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x457a80,_0x3fb0ad),window[_0x2129a4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fb0ad,0x1136a32c^_0x32998c);});}}_0x4c8871[_0x2129a4([0x6f,0x6e])](_0x2129a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x588bd3,_0x223722)=>{if(_0x223722[0x0]!=_0x590e60)return _0x3678d5(_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x223722[0x1]={..._0x223722[0x1],[_0x2129a4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e5e9c};},{[_0x2129a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2129a4([0x68,0x69,0x67,0x68])}),_0x4c8871[_0x2129a4([0x6f,0x6e])](_0x2129a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5170ae=>{_0x42d702(_0x5170ae[_0x2129a4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc2b190=!0x0,_0x2d4a8e(_0x5170ae[_0x2129a4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2129a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2129a4([0x6c,0x6f,0x77])}),_0x21171e[_0x2129a4([0x74,0x68,0x65,0x6e])](()=>{_0xc2b190||_0x3678d5(_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ddac1(){return _0x4c8871[_0x2129a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2129a4([0x76,0x69,0x65,0x77])][_0x2129a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2129a4([0x61,0x75,0x74,0x6f]);}function _0x229a23(){_0x4c8871[_0x2129a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2129a4([0x76,0x69,0x65,0x77])][_0x2129a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2129a4([0x61,0x75,0x74,0x6f]);}}function _0x43c4cd(_0x2b0a74){const _0x2dc3c5=[new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x207ba6=>setTimeout(_0x207ba6,0x113e4920^_0x32998c)),_0x21171e[_0x2129a4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5479dc=>{let _0x5c94a6=0x0;_0x4c8871[_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2129a4([0x6f,0x6e])](_0x2129a4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43368d,_0x19ebde)=>{_0x19ebde[0x0][_0x2129a4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c94a6++,_0x5c94a6==(0x11377614^_0x32998c)&&(_0x5479dc(),_0x43368d[_0x2129a4([0x6f,0x66,0x66])]());});}))];return window[_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2129a4([0x72,0x61,0x63,0x65])](_0x2dc3c5)[_0x2129a4([0x74,0x68,0x65,0x6e])](()=>_0x2b0a74);}async function _0x9ce2e1(){await _0x21171e,_0x4c8871[_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2129a4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22edc2,_0x4c8871[_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2129a4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22edc2,_0x4c8871[_0x2129a4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b95d0(_0x40cf81){const _0x5130ff=_0x345fea();_0x4c8871[_0x5130ff]=_0x2129a4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40cf81,_0x40cf81!=_0x2129a4([0x56,0x61,0x6c,0x69,0x64])&&_0x9ce2e1();}function _0x345fea(){const _0xf677e8=window[_0x2129a4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2129a4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2129a4([0x6e,0x6f,0x77])]())[_0x2129a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2129a4([0x2e]),'');let _0x371405=_0x2129a4([0x67]);for(let _0x1b2052=0x0;_0x1b2052<_0xf677e8[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b2052+=0x2){let _0x1866e3=window[_0x2129a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf677e8[_0x2129a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2052,_0x1b2052+0x2));_0x1866e3>=_0x2113be[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1866e3-=_0x2113be[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x371405+=_0x2113be[_0x1866e3];}return _0x371405;}function _0x34c0d3(){const _0x4b9bca=_0x33ca25[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e]));if(0x3!=_0x4b9bca[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd04152(_0x4b9bca[0x1]);function _0xd04152(_0x3df39e){const _0x11aaff=_0x52f2bb(_0x3df39e);return _0x11aaff&&_0x5ad2bd()?_0x11aaff:null;function _0x5ad2bd(){const _0x3484ea=_0x11aaff[_0x2129a4([0x6a,0x74,0x69])],_0x18b152=window[_0x2129a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3484ea[_0x2129a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3484ea[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd80438={..._0x11aaff,[_0x2129a4([0x6a,0x74,0x69])]:_0x3484ea[_0x2129a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3484ea[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd80438[_0x2129a4([0x76,0x63])],_0x3b2fa8(_0xd80438)==_0x18b152;}}}async function _0x29c93a(){let _0x269993=!0x0;try{const _0x172f9a=_0x33ca25[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e])),[_0xa167b9,_0x1ad973,_0x1a1e58]=_0x172f9a;return _0xb9d57f(_0xa167b9),await _0x6d9e74(_0xa167b9,_0x1ad973,_0x1a1e58),_0x269993;}catch(_0xa6df4a){return!0x1;}function _0xb9d57f(_0x16db89){const _0x1d4f06=_0x52f2bb(_0x16db89);_0x1d4f06&&_0x1d4f06[_0x2129a4([0x61,0x6c,0x67])]==_0x2129a4([0x45,0x53,0x32,0x35,0x36])||(_0x269993=!0x1);}async function _0x6d9e74(_0x43eefe,_0xc667d4,_0x15cb10){const _0x44e912=window[_0x2129a4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2129a4([0x66,0x72,0x6f,0x6d])](_0x433305(_0x15cb10),_0x470a6f=>_0x470a6f[_0x2129a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2de9aa=new window[(_0x2129a4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2129a4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43eefe+_0x2129a4([0x2e])+_0xc667d4),_0x4b3b06=window[_0x2129a4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2129a4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b3b06)return;const _0x33db5f=await _0x4b3b06[_0x2129a4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2129a4([0x6a,0x77,0x6b]),_0x5b0c45,{[_0x2129a4([0x6e,0x61,0x6d,0x65])]:_0x2129a4([0x45,0x43,0x44,0x53,0x41]),[_0x2129a4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2129a4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2129a4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b3b06[_0x2129a4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2129a4([0x6e,0x61,0x6d,0x65])]:_0x2129a4([0x45,0x43,0x44,0x53,0x41]),[_0x2129a4([0x68,0x61,0x73,0x68])]:{[_0x2129a4([0x6e,0x61,0x6d,0x65])]:_0x2129a4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33db5f,_0x44e912,_0x2de9aa)||(_0x269993=!0x1);}}function _0x52f2bb(_0x2c3f45){return _0x2c3f45[_0x2129a4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2129a4([0x65,0x79]))?JSON[_0x2129a4([0x70,0x61,0x72,0x73,0x65])](_0x433305(_0x2c3f45)):null;}function _0x433305(_0x1a9bb9){return window[_0x2129a4([0x61,0x74,0x6f,0x62])](_0x1a9bb9[_0x2129a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2129a4([0x2b]))[_0x2129a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2129a4([0x2f])));}function _0x3b2fa8(_0x315744){let _0x3cfe66=0x1505;function _0x4f8bb5(_0x3c6588){for(let _0x35d763=0x0;_0x35d763<_0x3c6588[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35d763++){const _0x14cbe5=_0x3c6588[_0x2129a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35d763);_0x3cfe66=(_0x3cfe66<<0x5)+_0x3cfe66+_0x14cbe5,_0x3cfe66&=_0x3cfe66;}}function _0x51ee88(_0x52726b){Array[_0x2129a4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52726b)?_0x52726b[_0x2129a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51ee88):_0x52726b&&typeof _0x52726b==_0x2129a4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2129a4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52726b)[_0x2129a4([0x73,0x6f,0x72,0x74])]()[_0x2129a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x417208,_0x2cdcc3])=>{_0x4f8bb5(_0x417208),_0x51ee88(_0x2cdcc3);}):_0x4f8bb5(window[_0x2129a4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52726b));}return _0x51ee88(_0x315744),_0x3cfe66>>>0x0;}function _0x214bfa(_0x4d20bf){return _0x4d20bf[_0x2129a4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2129a4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2129a4([0x30]));}function _0x43e44d(_0x1420ac){return _0x1420ac[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2129a4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2129a4([0x6a,0x6f,0x69,0x6e])]('');}function _0x22edc2(){}function _0x2129a4(_0x5249da){const _0x1cad54=_0x5676;return _0x5249da[_0x1cad54(0xbf)](_0x387203=>String[_0x1cad54(0xc1)](_0x387203))[_0x1cad54(0x94)]('');}_0x3b95d0(await _0x21d03b());}(this);}[_0x32c06f(0xea)](){const _0x417c33=_0x32c06f,_0xb3010e=this[_0x417c33(0xa6)][_0x417c33(0xde)];_0xb3010e[_0x417c33(0xaa)](_0x38eef2=>{const _0x5d12ea=_0x417c33,_0xa5650=_0xb3010e[_0x5d12ea(0xad)][_0x5d12ea(0xf8)][_0x5d12ea(0xc6)]();let _0x258e5d=0x0;for(const _0x4fa7bf of _0xa5650){const _0x360ac2=f+':'+_0x258e5d;if(_0xb3010e[_0x5d12ea(0xfd)][_0x5d12ea(0xe1)](_0x360ac2))_0x38eef2[_0x5d12ea(0xb0)](_0x360ac2,{'range':_0x4fa7bf});else{if(_0x4fa7bf[_0x5d12ea(0xac)][_0x5d12ea(0xdb)]){const _0x1c6e81=_0x4fa7bf[_0x5d12ea(0xac)][_0x5d12ea(0x9e)](({item:_0x41a4dc})=>!_0xb3010e[_0x5d12ea(0xa2)][_0x5d12ea(0x9a)](_0x41a4dc),{'boundaries':_0x4fa7bf});_0x38eef2[_0x5d12ea(0xe7)](_0x360ac2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x38eef2[_0x5d12ea(0xae)](_0x1c6e81,_0x4fa7bf[_0x5d12ea(0xff)])});}else _0x38eef2[_0x5d12ea(0xe7)](_0x360ac2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4fa7bf});}_0x258e5d++;}});}[_0x32c06f(0x9f)](){const _0x416782=_0x32c06f,_0x2e6aa7=this[_0x416782(0xa6)][_0x416782(0xde)],_0x4566e9=Array[_0x416782(0xca)](this[_0x416782(0xa6)][_0x416782(0xde)][_0x416782(0xfd)][_0x416782(0xc5)](f));_0x4566e9[_0x416782(0xd8)]&&_0x2e6aa7[_0x416782(0xaa)](_0x220230=>{const _0x3ce367=_0x416782;_0x4566e9[_0x3ce367(0xe6)](_0x87be5d=>{const _0x4cdd76=_0x3ce367;_0x220230[_0x4cdd76(0xeb)](_0x87be5d);});});}[_0x32c06f(0xfa)](_0x20135b,_0x5e25af){const _0x3c6a67=_0x32c06f,_0x5f527e=this[_0x3c6a67(0x100)](),_0x1f88d8=_0x5e25af||_0x5f527e[_0x3c6a67(0xa5)]();this[_0x3c6a67(0xa6)][_0x3c6a67(0xde)][_0x3c6a67(0xd4)](_0x1f88d8)&&this[_0x3c6a67(0xa6)][_0x3c6a67(0xde)][_0x3c6a67(0xaa)](_0x4db293=>{const _0x293f4f=_0x3c6a67;this[_0x293f4f(0x9f)](),_0x5e25af||this[_0x293f4f(0xc8)](_0x4db293,_0x5f527e),this[_0x293f4f(0xb8)]({'insertAt':_0x1f88d8,'writer':_0x4db293,'html':_0x20135b});});}[_0x32c06f(0xd7)](_0x33cbc7){const _0x352d00=_0x32c06f,{model:_0x5afd8d}=this[_0x352d00(0xa6)],_0x20f0db=this[_0x352d00(0x100)]();_0x5afd8d[_0x352d00(0xaa)](()=>{const _0xf3bb07=_0x352d00,_0x243bea=this[_0xf3bb07(0xe9)](_0x33cbc7,_0x20f0db)||this[_0xf3bb07(0xfe)](_0x20f0db);this[_0xf3bb07(0xfa)](_0x33cbc7,_0x243bea);});}[_0x32c06f(0x100)](){const _0x2b816e=_0x32c06f,_0x2ceabe=this[_0x2b816e(0xa6)][_0x2b816e(0xde)],_0x3cc048=Array[_0x2b816e(0xca)](_0x2ceabe[_0x2b816e(0xfd)][_0x2b816e(0xc5)](f))[_0x2b816e(0xbf)](_0x2b5f08=>_0x2b5f08[_0x2b816e(0xec)]());return _0x2ceabe[_0x2b816e(0xe0)](_0x3cc048);}[_0x32c06f(0xb8)]({writer:_0x1a08d7,html:_0x1a6510,insertAt:_0x1409b5}){const _0x4ca8f3=_0x32c06f,{view:_0x17521c}=this[_0x4ca8f3(0xa6)][_0x4ca8f3(0xe5)],_0x249904=this[_0x4ca8f3(0xa6)][_0x4ca8f3(0xe3)][_0x4ca8f3(0xe4)](_0x5996a5),_0x5d1aee=new w();_0x5d1aee[_0x4ca8f3(0xe8)](_0x4ca8f3(0xa8),_0x1a6510);const _0x5455a2=new ClipboardEvent(_0x4ca8f3(0x99),{'clipboardData':_0x5d1aee}),_0xb12805=new _0x1f5105(_0x17521c,_0x5455a2,{'dataTransfer':new _0x46bf0a(_0x5d1aee)});_0x1a08d7[_0x4ca8f3(0xee)](_0x1409b5);const _0x413d8b=(_0x15939e,_0x1caad0)=>{const _0x5341ac=_0x4ca8f3;_0x1caad0[_0x5341ac(0xb1)]&&_0x1a08d7[_0x5341ac(0xee)](_0x1caad0[_0x5341ac(0xb1)]);};_0x249904[_0x4ca8f3(0xd9)](_0x4ca8f3(0x91),_0x413d8b,{'priority':_0x4ca8f3(0x93)}),_0x17521c[_0x4ca8f3(0xad)][_0x4ca8f3(0xd2)](_0x4ca8f3(0x99),_0xb12805),_0x249904[_0x4ca8f3(0xc2)](_0x4ca8f3(0x91),_0x413d8b);}[_0x32c06f(0xfe)](_0x4e6570){const _0x4c8d0d=_0x32c06f,{model:_0x4d9758}=this[_0x4c8d0d(0xa6)],_0x33a404=Array[_0x4c8d0d(0xca)](_0x4e6570[_0x4c8d0d(0xc4)]());return _0x33a404[_0x4c8d0d(0xd8)]?_0x4d9758[_0x4c8d0d(0xf3)](_0x33a404[_0x4c8d0d(0x96)]()):_0x4e6570[_0x4c8d0d(0xf9)]();}[_0x32c06f(0xe9)](_0xab6b30,_0x9dd0e4){const _0x3b5a79=_0x32c06f,{model:_0x18ea95,plugins:_0x1ce64d}=this[_0x3b5a79(0xa6)];if(_0x1ce64d[_0x3b5a79(0xe1)](_0x3b5a79(0xd3))){const _0x18f32e=_0x1ce64d[_0x3b5a79(0xe4)](_0x3b5a79(0xd3))[_0x3b5a79(0xd5)](_0x9dd0e4);if(_0x18f32e[_0x3b5a79(0xd8)]){const _0x126e2c=this[_0x3b5a79(0xba)](_0xab6b30),_0x2ea27a=this[_0x3b5a79(0xd0)](_0x18f32e,_0x126e2c);return _0x18ea95[_0x3b5a79(0xdf)](_0x2ea27a,0x0);}}return null;}[_0x32c06f(0xba)](_0x2e2c75){const _0x43a172=_0x32c06f,_0x361658=this[_0x43a172(0xa6)][_0x43a172(0xe3)][_0x43a172(0xe4)](_0x43a172(0xd3)),_0x560d52=this[_0x43a172(0xa6)][_0x43a172(0xc0)][_0x43a172(0xbe)](_0x2e2c75),_0x2ed22d=Array[_0x43a172(0xca)](_0x560d52[_0x43a172(0xf7)]())[_0x43a172(0xa9)](_0x45c9d6=>_0x45c9d6['is'](_0x43a172(0xbd),_0x43a172(0xa4)));let _0x2aeefd=0x0;return _0x2ed22d[_0x43a172(0xe6)](_0x40ed78=>{const _0x44c065=_0x43a172;_0x2aeefd+=_0x361658[_0x44c065(0xb3)](_0x40ed78);}),_0x2aeefd;}[_0x32c06f(0xd0)](_0x3130ff,_0x13188d){const _0x22c45e=_0x32c06f,_0xcf3dd3=this[_0x22c45e(0xa6)][_0x22c45e(0xe3)][_0x22c45e(0xe4)](_0x22c45e(0xd3)),_0x563780=_0xcf3dd3[_0x22c45e(0xc9)](_0x3130ff),_0x4db83f=_0xcf3dd3[_0x22c45e(0xb7)](_0x3130ff),_0x305196=_0x563780[_0x22c45e(0xb6)]+0x1,_0x5c9444=_0x4db83f[_0x22c45e(0x98)],_0x328a9e=_0x3130ff[0x0][_0x22c45e(0xdd)](_0x22c45e(0xa4));for(let _0x12da31=0x0;_0x12da31<_0x13188d;_0x12da31++)_0xcf3dd3[_0x22c45e(0xbc)](_0x328a9e,{'at':_0x305196});return _0x328a9e[_0x22c45e(0xa7)](_0x305196)[_0x22c45e(0xa7)](_0x5c9444);}[_0x32c06f(0xc8)](_0x5733d4,_0x811b04){const _0xc946b9=_0x32c06f,{plugins:_0x55a15f}=this[_0xc946b9(0xa6)],{model:_0x173b29}=_0x5733d4;if(!_0x55a15f[_0xc946b9(0xe1)](_0xc946b9(0xd3)))return;_0x55a15f[_0xc946b9(0xe4)](_0xc946b9(0xd3))[_0xc946b9(0xd5)](_0x811b04)[_0xc946b9(0xd8)]&&_0x173b29[_0xc946b9(0x97)](_0x811b04);}}
|
|
23
|
+
const _0x1f423d=_0x188d;(function(_0x437022,_0x2724e5){const _0xd4b973=_0x188d,_0x24499e=_0x437022();while(!![]){try{const _0x5975a1=-parseInt(_0xd4b973(0x115))/0x1*(parseInt(_0xd4b973(0x128))/0x2)+parseInt(_0xd4b973(0x108))/0x3+parseInt(_0xd4b973(0x130))/0x4*(-parseInt(_0xd4b973(0x145))/0x5)+-parseInt(_0xd4b973(0xfa))/0x6+-parseInt(_0xd4b973(0x152))/0x7*(-parseInt(_0xd4b973(0xff))/0x8)+-parseInt(_0xd4b973(0x150))/0x9*(-parseInt(_0xd4b973(0x14b))/0xa)+parseInt(_0xd4b973(0x123))/0xb*(-parseInt(_0xd4b973(0x11b))/0xc);if(_0x5975a1===_0x2724e5)break;else _0x24499e['push'](_0x24499e['shift']());}catch(_0x2eff63){_0x24499e['push'](_0x24499e['shift']());}}}(_0x21ef,0x7e0f1));import{uid as _0x5b7bf0}from'ckeditor5/src/utils.js';import{Plugin as _0xad66be}from'ckeditor5/src/core.js';function _0x188d(_0xedd0df,_0xeb823f){const _0x21ef87=_0x21ef();return _0x188d=function(_0x188d1b,_0x2b24e8){_0x188d1b=_0x188d1b-0xeb;let _0x46cbe1=_0x21ef87[_0x188d1b];return _0x46cbe1;},_0x188d(_0xedd0df,_0xeb823f);}function _0x21ef(){const _0x54ab3c=['get','ck-ai-assistant-ui_theme','_createEmptyTableRows','_getDefaultInsertBelowPosition','getLastMatchingPosition','isOfficialPlugin','join','off','895muCbit','isContent','insertContent','document','isAtEnd','for','10yoNcCL','length','text/html','getChildren','_getAISelection','3323277Ugjujy','plugins','7mOXcck','canEditAt','createRange','forEach','paste','element','getColumnIndexes','ai.useTheme','ck-fake-ai-selection_collapsed','table','_prepareTableInsertBelowPosition','from','getMarkersGroup','findAncestor','span','model','fromCharCode','editingDowncast','markerToElement','TableUtils','last','addMarker','change','AIAssistantEditing','1076718zRTSrW','ck-fake-ai-selection','selection','isPremiumPlugin','contentInsertion','4041976sFViUk','updateMarker','resultRange','markers','isCollapsed','setData','getRanges','lowest','schema','134952ITqQTv','createPositionAfter','getRange','markerToHighlight','pluginName','init','end','parse','getRowIndexes','filter','_pasteHTMLUsingClipboard','fire','ai-ui','30Cnfxli','createPositionAt','pop','insertContentBelow','hideFakeVisualSelection','getRows','12WkjvzC','map','first','createUIElement','getChild','getFirstRange','getSelectedBlocks','setSelection','1592987bDitwo','insertRows','data','_resetContentOfSelectedTableCells','href','1762djoiEW','push','config','editing','deleteContent','removeMarker','editor','getLastPosition','1172kxFyib','createSelection','markerRange','getSelectedTableCells','has','addClass','DataTransfer','conversion','once','afterInit','showFakeVisualSelection','_getTableRowCountFromContent','start'];_0x21ef=function(){return _0x54ab3c;};return _0x21ef();}import{ClipboardPipeline as _0x2509c2}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1b5380,DataTransfer as _0x45a215}from'ckeditor5/src/engine.js';const w=globalThis[_0x1f423d(0x136)],f=_0x1f423d(0x114);export default class a extends _0xad66be{static get[_0x1f423d(0x10c)](){const _0x55ae9b=_0x1f423d;return _0x55ae9b(0xf9);}static get[_0x1f423d(0x142)](){return!0x0;}static get[_0x1f423d(0xfd)](){return!0x0;}[_0x1f423d(0x10d)](){const _0x182177=_0x1f423d,{editor:_0x5d1394}=this,_0x55235b=[_0x182177(0xfb)];_0x5d1394[_0x182177(0x12a)][_0x182177(0x13d)](_0x182177(0x159))&&_0x55235b[_0x182177(0x129)](_0x182177(0x13e)),_0x5d1394[_0x182177(0x137)][_0x182177(0x14a)](_0x182177(0xf3))[_0x182177(0x10b)]({'model':f,'view':{'classes':_0x55235b,'priority':0xc}}),_0x5d1394[_0x182177(0x137)][_0x182177(0x14a)](_0x182177(0xf3))[_0x182177(0xf4)]({'model':f,'view':(_0x3c8bc5,{writer:_0x41b3a3})=>{const _0x4c67f2=_0x182177;if(!_0x3c8bc5[_0x4c67f2(0x132)][_0x4c67f2(0x103)])return null;const _0x1bb155=_0x41b3a3[_0x4c67f2(0x11e)](_0x4c67f2(0xf0));return _0x41b3a3[_0x4c67f2(0x135)]([_0x4c67f2(0xfb),_0x4c67f2(0x15a)],_0x1bb155),_0x1bb155;}});}[_0x1f423d(0x139)](){!async function(_0x1cc07d){const _0x4f2594=_0x2c0eae([0x46,0x30,0x38,0x56,0x77,0x61,0x63,0x6c,0x34,0x73,0x39,0x4c,0x6f,0x65,0x4a,0x47,0x54,0x70,0x6d,0x33,0x6b,0x31,0x69,0x76,0x57,0x52,0x4f,0x68,0x66,0x4b,0x67,0x78,0x37,0x32,0x4d,0x48,0x55,0x64,0x72,0x45,0x50,0x44,0x53,0x5a,0x59,0x62,0x41,0x36,0x79,0x43,0x6e,0x74,0x6a,0x7a,0x42,0x51,0x49,0x35,0x58,0x75,0x71,0x4e]),_0x168022=0x28a79a7,_0x508580=0x28d1af7^_0x168022,_0x33e17c=window[_0x2c0eae([0x44,0x61,0x74,0x65])][_0x2c0eae([0x6e,0x6f,0x77])](),_0x2bf4de=_0x1cc07d[_0x2c0eae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1bfa5b=new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x149bbf=>{_0x2bf4de[_0x2c0eae([0x6f,0x6e,0x63,0x65])](_0x2c0eae([0x72,0x65,0x61,0x64,0x79]),_0x149bbf);}),_0x5be7d4={[_0x2c0eae([0x6b,0x74,0x79])]:_0x2c0eae([0x45,0x43]),[_0x2c0eae([0x75,0x73,0x65])]:_0x2c0eae([0x73,0x69,0x67]),[_0x2c0eae([0x63,0x72,0x76])]:_0x2c0eae([0x50,0x2d,0x32,0x35,0x36]),[_0x2c0eae([0x78])]:_0x2c0eae([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]),[_0x2c0eae([0x79])]:_0x2c0eae([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]),[_0x2c0eae([0x61,0x6c,0x67])]:_0x2c0eae([0x45,0x53,0x32,0x35,0x36])},_0x3024f3=_0x2bf4de[_0x2c0eae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c0eae([0x67,0x65,0x74])](_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d0f3b(){let _0x5ab849,_0x56a516=null,_0x86f793=null;try{if(_0x3024f3==_0x2c0eae([0x47,0x50,0x4c]))return _0x2c0eae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ab849=_0x3fe857(),!_0x5ab849)return _0x2c0eae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ab849[_0x2c0eae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x86f793=_0x3b7d08(_0x5ab849[_0x2c0eae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ab849[_0x2c0eae([0x6a,0x74,0x69])])),await _0x7e978d()?_0x5911ee()?_0x39fed4()?_0x2c0eae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d025e()?(_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c0eae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56a516=_0x127c71(_0x2c0eae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c0eae([0x74,0x72,0x69,0x61,0x6c])&&(_0x56a516=_0x127c71(_0x2c0eae([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5800ae()):_0x2c0eae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0eae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c0eae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x27f4b2){return _0x2c0eae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39fed4(){const _0x1af9b2=[_0x2c0eae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c0eae([0x74,0x72,0x69,0x61,0x6c])][_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33e17c/0x3e8:0xe10*_0x508580;return _0x5ab849[_0x2c0eae([0x65,0x78,0x70])]<_0x1af9b2;}function _0x5911ee(){const _0x5e57ce=_0x5ab849[_0x2c0eae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e57ce&&(!!_0x5e57ce[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0eae([0x2a]))||!!_0x5e57ce[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0eae([0x41,0x49])));}function _0x4d025e(){const _0x437ac2=_0x188d,_0x12e0dc=_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12e0dc||0x0==_0x12e0dc[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d5c39}=new URL(window[_0x2c0eae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x437ac2(0x127)]);if(_0x12e0dc[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d5c39))return!0x0;const _0x45b193=_0x3d5c39[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e]));return _0x12e0dc[_0x2c0eae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e4d43=>_0x2e4d43[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0eae([0x2a])))[_0x2c0eae([0x6d,0x61,0x70])](_0x40e5c2=>_0x40e5c2[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e])))[_0x2c0eae([0x73,0x6f,0x6d,0x65])](_0x3a84bf=>_0x45b193[_0x2c0eae([0x65,0x76,0x65,0x72,0x79])]((_0x3b8f1d,_0x5f1f35)=>_0x3a84bf[_0x5f1f35]===_0x3b8f1d||_0x3a84bf[_0x5f1f35]===_0x2c0eae([0x2a])));}function _0x5800ae(){return _0x56a516&&_0x86f793?new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ee32b,_0x34adbf)=>{_0x56a516[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x1ee32b,_0x34adbf),_0x86f793[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x15b395=>{_0x15b395!=_0x2c0eae([0x56,0x61,0x6c,0x69,0x64])&&_0x1ee32b(_0x15b395);},_0x34adbf);}):_0x56a516||_0x86f793||_0x2c0eae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b7d08(_0x46cafd,_0x477762){return new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdf9883=>{if(_0x4c90ae())return _0xdf9883(_0x2c0eae([0x56,0x61,0x6c,0x69,0x64]));_0x541e6d(),_0x2bf4de[_0x2c0eae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c0eae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bb301=!0x1;const _0x5ba1f5=_0x5b7bf0();function _0x18ae28(_0x5ed326){return!!_0x5ed326&&(typeof _0x5ed326===_0x2c0eae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ed326===_0x2c0eae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ed326[_0x2c0eae([0x74,0x68,0x65,0x6e])]===_0x2c0eae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ed326[_0x2c0eae([0x63,0x61,0x74,0x63,0x68])]===_0x2c0eae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x201576(_0x4e7b6f){_0x35fc35(_0x4e7b6f)[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0xd31035=>{if(!_0xd31035||_0xd31035[_0x2c0eae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c0eae([0x6f,0x6b]))return _0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x63af6a(_0x4bddd5(_0x5ba1f5+_0x477762))!=_0xd31035[_0x2c0eae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0eae([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x41e045=>(_0x18fc8b(),_0x41e045),()=>{const _0xeb2f77=_0x54d5eb();return null==_0xeb2f77?(_0x18fc8b(),_0x2c0eae([0x56,0x61,0x6c,0x69,0x64])):_0x2c0eae(_0x33e17c-_0xeb2f77>(0x2686fda7^_0x168022)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0xdf9883)[_0x2c0eae([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdf9883(_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7dee7f=0x2bc9727^_0x168022;function _0x18fc8b(){const _0x59d384=_0x2c0eae([0x6c,0x6c,0x63,0x74,0x2d])+_0x63af6a(_0x4bddd5(_0x46cafd)),_0xc60e75=_0x38d225(_0x63af6a(window[_0x2c0eae([0x4d,0x61,0x74,0x68])][_0x2c0eae([0x63,0x65,0x69,0x6c])](_0x33e17c/_0x7dee7f)));window[_0x2c0eae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0eae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59d384,_0xc60e75);}function _0x54d5eb(){const _0x4005e3=_0x2c0eae([0x6c,0x6c,0x63,0x74,0x2d])+_0x63af6a(_0x4bddd5(_0x46cafd)),_0x548f30=window[_0x2c0eae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0eae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4005e3);return _0x548f30?window[_0x2c0eae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d225(_0x548f30),0x10)*_0x7dee7f:null;}function _0x35fc35(_0xe0c232){return new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4027a5,_0x17300e)=>{_0xe0c232[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x4027a5,_0x17300e),window[_0x2c0eae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17300e,0x28bad67^_0x168022);});}}_0x2bf4de[_0x2c0eae([0x6f,0x6e])](_0x2c0eae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x295d44,_0x880570)=>{if(_0x880570[0x0]!=_0x46cafd)return _0xdf9883(_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x880570[0x1]={..._0x880570[0x1],[_0x2c0eae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ba1f5};},{[_0x2c0eae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0eae([0x68,0x69,0x67,0x68])}),_0x2bf4de[_0x2c0eae([0x6f,0x6e])](_0x2c0eae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19b54f=>{_0x18ae28(_0x19b54f[_0x2c0eae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bb301=!0x0,_0x201576(_0x19b54f[_0x2c0eae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c0eae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0eae([0x6c,0x6f,0x77])}),_0x1bfa5b[_0x2c0eae([0x74,0x68,0x65,0x6e])](()=>{_0x2bb301||_0xdf9883(_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c90ae(){return _0x2bf4de[_0x2c0eae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0eae([0x76,0x69,0x65,0x77])][_0x2c0eae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c0eae([0x61,0x75,0x74,0x6f]);}function _0x541e6d(){_0x2bf4de[_0x2c0eae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0eae([0x76,0x69,0x65,0x77])][_0x2c0eae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c0eae([0x61,0x75,0x74,0x6f]);}}function _0x127c71(_0x1843ad){const _0x604125=[new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3141c0=>setTimeout(_0x3141c0,0x283476b^_0x168022)),_0x1bfa5b[_0x2c0eae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fc1fd=>{let _0x528283=0x0;_0x2bf4de[_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0eae([0x6f,0x6e])](_0x2c0eae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42ff4c,_0x3619cc)=>{_0x3619cc[0x0][_0x2c0eae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x528283++,_0x528283==(0x28a785f^_0x168022)&&(_0x1fc1fd(),_0x42ff4c[_0x2c0eae([0x6f,0x66,0x66])]());});}))];return window[_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c0eae([0x72,0x61,0x63,0x65])](_0x604125)[_0x2c0eae([0x74,0x68,0x65,0x6e])](()=>_0x1843ad);}async function _0x85fb22(){await _0x1bfa5b,_0x2bf4de[_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0eae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b3099,_0x2bf4de[_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0eae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b3099,_0x2bf4de[_0x2c0eae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x178e15(_0x18aca5){const _0x47da27=_0x28cea9();_0x2bf4de[_0x47da27]=_0x2c0eae([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18aca5,_0x18aca5!=_0x2c0eae([0x56,0x61,0x6c,0x69,0x64])&&_0x85fb22();}function _0x28cea9(){const _0x578d43=window[_0x2c0eae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c0eae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c0eae([0x6e,0x6f,0x77])]())[_0x2c0eae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c0eae([0x2e]),'');let _0x3a908a=_0x2c0eae([0x46]);for(let _0x3cc7b0=0x0;_0x3cc7b0<_0x578d43[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cc7b0+=0x2){let _0x246353=window[_0x2c0eae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x578d43[_0x2c0eae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cc7b0,_0x3cc7b0+0x2));_0x246353>=_0x4f2594[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x246353-=_0x4f2594[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a908a+=_0x4f2594[_0x246353];}return _0x3a908a;}function _0x3fe857(){const _0xb7126b=_0x3024f3[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e]));if(0x3!=_0xb7126b[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x343c5b(_0xb7126b[0x1]);function _0x343c5b(_0xa6468c){const _0x27759f=_0x26dc9e(_0xa6468c);return _0x27759f&&_0x1192a2()?_0x27759f:null;function _0x1192a2(){const _0x249d66=_0x27759f[_0x2c0eae([0x6a,0x74,0x69])],_0xca6d4b=window[_0x2c0eae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x249d66[_0x2c0eae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x249d66[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a1940={..._0x27759f,[_0x2c0eae([0x6a,0x74,0x69])]:_0x249d66[_0x2c0eae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x249d66[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a1940[_0x2c0eae([0x76,0x63])],_0x4bddd5(_0x5a1940)==_0xca6d4b;}}}async function _0x7e978d(){let _0x25e552=!0x0;try{const _0x461ed8=_0x3024f3[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e])),[_0x992e9a,_0x3d8d16,_0x3eca9c]=_0x461ed8;return _0x318706(_0x992e9a),await _0x1773cc(_0x992e9a,_0x3d8d16,_0x3eca9c),_0x25e552;}catch(_0x409a46){return!0x1;}function _0x318706(_0x38f0c8){const _0x4f189e=_0x26dc9e(_0x38f0c8);_0x4f189e&&_0x4f189e[_0x2c0eae([0x61,0x6c,0x67])]==_0x2c0eae([0x45,0x53,0x32,0x35,0x36])||(_0x25e552=!0x1);}async function _0x1773cc(_0x4f10fb,_0x3f5b7a,_0x2f4897){const _0xf73fc6=window[_0x2c0eae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c0eae([0x66,0x72,0x6f,0x6d])](_0x3a9d78(_0x2f4897),_0x58f6e3=>_0x58f6e3[_0x2c0eae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cf1dd=new window[(_0x2c0eae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c0eae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f10fb+_0x2c0eae([0x2e])+_0x3f5b7a),_0xb96668=window[_0x2c0eae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c0eae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb96668)return;const _0x12d097=await _0xb96668[_0x2c0eae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c0eae([0x6a,0x77,0x6b]),_0x5be7d4,{[_0x2c0eae([0x6e,0x61,0x6d,0x65])]:_0x2c0eae([0x45,0x43,0x44,0x53,0x41]),[_0x2c0eae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c0eae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c0eae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb96668[_0x2c0eae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c0eae([0x6e,0x61,0x6d,0x65])]:_0x2c0eae([0x45,0x43,0x44,0x53,0x41]),[_0x2c0eae([0x68,0x61,0x73,0x68])]:{[_0x2c0eae([0x6e,0x61,0x6d,0x65])]:_0x2c0eae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12d097,_0xf73fc6,_0x2cf1dd)||(_0x25e552=!0x1);}}function _0x26dc9e(_0x68d7be){return _0x68d7be[_0x2c0eae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c0eae([0x65,0x79]))?JSON[_0x2c0eae([0x70,0x61,0x72,0x73,0x65])](_0x3a9d78(_0x68d7be)):null;}function _0x3a9d78(_0x3b900b){return window[_0x2c0eae([0x61,0x74,0x6f,0x62])](_0x3b900b[_0x2c0eae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c0eae([0x2b]))[_0x2c0eae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c0eae([0x2f])));}function _0x4bddd5(_0x56540f){let _0x15216f=0x1505;function _0x2c6f23(_0x154d83){for(let _0x33e239=0x0;_0x33e239<_0x154d83[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33e239++){const _0x40e327=_0x154d83[_0x2c0eae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33e239);_0x15216f=(_0x15216f<<0x5)+_0x15216f+_0x40e327,_0x15216f&=_0x15216f;}}function _0x31e9d4(_0x4cf179){Array[_0x2c0eae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cf179)?_0x4cf179[_0x2c0eae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31e9d4):_0x4cf179&&typeof _0x4cf179==_0x2c0eae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c0eae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cf179)[_0x2c0eae([0x73,0x6f,0x72,0x74])]()[_0x2c0eae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44f432,_0x35ea4f])=>{_0x2c6f23(_0x44f432),_0x31e9d4(_0x35ea4f);}):_0x2c6f23(window[_0x2c0eae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cf179));}return _0x31e9d4(_0x56540f),_0x15216f>>>0x0;}function _0x63af6a(_0x3c6265){return _0x3c6265[_0x2c0eae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c0eae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c0eae([0x30]));}function _0x38d225(_0x72f3d6){return _0x72f3d6[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c0eae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c0eae([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b3099(){}function _0x2c0eae(_0x525c1e){const _0x42d9e2=_0x188d;return _0x525c1e[_0x42d9e2(0x11c)](_0xfa2e5f=>String[_0x42d9e2(0xf2)](_0xfa2e5f))[_0x42d9e2(0x143)]('');}_0x178e15(await _0x5d0f3b());}(this);}[_0x1f423d(0x13a)](){const _0x712281=_0x1f423d,_0x2295c7=this[_0x712281(0x12e)][_0x712281(0xf1)];_0x2295c7[_0x712281(0xf8)](_0x269f68=>{const _0x36f708=_0x712281,_0x286b69=_0x2295c7[_0x36f708(0x148)][_0x36f708(0xfc)][_0x36f708(0x105)]();let _0x52d810=0x0;for(const _0x564d7c of _0x286b69){const _0x1a2366=f+':'+_0x52d810;if(_0x2295c7[_0x36f708(0x102)][_0x36f708(0x134)](_0x1a2366))_0x269f68[_0x36f708(0x100)](_0x1a2366,{'range':_0x564d7c});else{if(_0x564d7c[_0x36f708(0x13c)][_0x36f708(0x149)]){const _0x4c4228=_0x564d7c[_0x36f708(0x13c)][_0x36f708(0x141)](({item:_0x2e65e0})=>!_0x2295c7[_0x36f708(0x107)][_0x36f708(0x146)](_0x2e65e0),{'boundaries':_0x564d7c});_0x269f68[_0x36f708(0xf7)](_0x1a2366,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x269f68[_0x36f708(0x154)](_0x4c4228,_0x564d7c[_0x36f708(0x10e)])});}else _0x269f68[_0x36f708(0xf7)](_0x1a2366,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x564d7c});}_0x52d810++;}});}[_0x1f423d(0x119)](){const _0x5e2672=_0x1f423d,_0x51ec99=this[_0x5e2672(0x12e)][_0x5e2672(0xf1)],_0x1e9617=Array[_0x5e2672(0xed)](this[_0x5e2672(0x12e)][_0x5e2672(0xf1)][_0x5e2672(0x102)][_0x5e2672(0xee)](f));_0x1e9617[_0x5e2672(0x14c)]&&_0x51ec99[_0x5e2672(0xf8)](_0x534bc1=>{const _0x144f31=_0x5e2672;_0x1e9617[_0x144f31(0x155)](_0x282c85=>{const _0xbe1bfe=_0x144f31;_0x534bc1[_0xbe1bfe(0x12d)](_0x282c85);});});}[_0x1f423d(0x147)](_0xf32061,_0x5b4a34){const _0x571b2a=_0x1f423d,_0x6c3a0f=this[_0x571b2a(0x14f)](),_0x1b6975=_0x5b4a34||_0x6c3a0f[_0x571b2a(0x120)]();this[_0x571b2a(0x12e)][_0x571b2a(0xf1)][_0x571b2a(0x153)](_0x1b6975)&&this[_0x571b2a(0x12e)][_0x571b2a(0xf1)][_0x571b2a(0xf8)](_0x5321bd=>{const _0x516fb0=_0x571b2a;this[_0x516fb0(0x119)](),_0x5b4a34||this[_0x516fb0(0x126)](_0x5321bd,_0x6c3a0f),this[_0x516fb0(0x112)]({'insertAt':_0x1b6975,'writer':_0x5321bd,'html':_0xf32061});});}[_0x1f423d(0x118)](_0x1645c1){const _0x656634=_0x1f423d,{model:_0x3195ed}=this[_0x656634(0x12e)],_0x366d30=this[_0x656634(0x14f)]();_0x3195ed[_0x656634(0xf8)](()=>{const _0x2113d0=_0x656634,_0x3c2478=this[_0x2113d0(0xec)](_0x1645c1,_0x366d30)||this[_0x2113d0(0x140)](_0x366d30);this[_0x2113d0(0x147)](_0x1645c1,_0x3c2478);});}[_0x1f423d(0x14f)](){const _0x52fcc2=_0x1f423d,_0x3c1806=this[_0x52fcc2(0x12e)][_0x52fcc2(0xf1)],_0x3c69f4=Array[_0x52fcc2(0xed)](_0x3c1806[_0x52fcc2(0x102)][_0x52fcc2(0xee)](f))[_0x52fcc2(0x11c)](_0x822db7=>_0x822db7[_0x52fcc2(0x10a)]());return _0x3c1806[_0x52fcc2(0x131)](_0x3c69f4);}[_0x1f423d(0x112)]({writer:_0x5a9d80,html:_0x1142b3,insertAt:_0x1744a6}){const _0x2e6784=_0x1f423d,{view:_0xcd1257}=this[_0x2e6784(0x12e)][_0x2e6784(0x12b)],_0x3ac25d=this[_0x2e6784(0x12e)][_0x2e6784(0x151)][_0x2e6784(0x13d)](_0x2509c2),_0x5b761f=new w();_0x5b761f[_0x2e6784(0x104)](_0x2e6784(0x14d),_0x1142b3);const _0x1ab299=new ClipboardEvent(_0x2e6784(0x156),{'clipboardData':_0x5b761f}),_0x26eb1c=new _0x1b5380(_0xcd1257,_0x1ab299,{'dataTransfer':new _0x45a215(_0x5b761f)});_0x5a9d80[_0x2e6784(0x122)](_0x1744a6);const _0x466fc1=(_0x427f0c,_0x126ef3)=>{const _0x172dea=_0x2e6784;_0x126ef3[_0x172dea(0x101)]&&_0x5a9d80[_0x172dea(0x122)](_0x126ef3[_0x172dea(0x101)]);};_0x3ac25d[_0x2e6784(0x138)](_0x2e6784(0xfe),_0x466fc1,{'priority':_0x2e6784(0x106)}),_0xcd1257[_0x2e6784(0x148)][_0x2e6784(0x113)](_0x2e6784(0x156),_0x26eb1c),_0x3ac25d[_0x2e6784(0x144)](_0x2e6784(0xfe),_0x466fc1);}[_0x1f423d(0x140)](_0x3482eb){const _0x38f48c=_0x1f423d,{model:_0x3fbe56}=this[_0x38f48c(0x12e)],_0x2fe2d8=Array[_0x38f48c(0xed)](_0x3482eb[_0x38f48c(0x121)]());return _0x2fe2d8[_0x38f48c(0x14c)]?_0x3fbe56[_0x38f48c(0x109)](_0x2fe2d8[_0x38f48c(0x117)]()):_0x3482eb[_0x38f48c(0x12f)]();}[_0x1f423d(0xec)](_0xefeccc,_0x3ba29b){const _0x3ab7f8=_0x1f423d,{model:_0x42eb8c,plugins:_0x565fd6}=this[_0x3ab7f8(0x12e)];if(_0x565fd6[_0x3ab7f8(0x134)](_0x3ab7f8(0xf5))){const _0x149549=_0x565fd6[_0x3ab7f8(0x13d)](_0x3ab7f8(0xf5))[_0x3ab7f8(0x133)](_0x3ba29b);if(_0x149549[_0x3ab7f8(0x14c)]){const _0x7f480f=this[_0x3ab7f8(0x13b)](_0xefeccc),_0x501c52=this[_0x3ab7f8(0x13f)](_0x149549,_0x7f480f);return _0x42eb8c[_0x3ab7f8(0x116)](_0x501c52,0x0);}}return null;}[_0x1f423d(0x13b)](_0x5d4b56){const _0x312e33=_0x1f423d,_0x590e80=this[_0x312e33(0x12e)][_0x312e33(0x151)][_0x312e33(0x13d)](_0x312e33(0xf5)),_0x180737=this[_0x312e33(0x12e)][_0x312e33(0x125)][_0x312e33(0x10f)](_0x5d4b56),_0x56dcb9=Array[_0x312e33(0xed)](_0x180737[_0x312e33(0x14e)]())[_0x312e33(0x111)](_0x26ed93=>_0x26ed93['is'](_0x312e33(0x157),_0x312e33(0xeb)));let _0x166a0d=0x0;return _0x56dcb9[_0x312e33(0x155)](_0x25c9b0=>{const _0x3ebcfa=_0x312e33;_0x166a0d+=_0x590e80[_0x3ebcfa(0x11a)](_0x25c9b0);}),_0x166a0d;}[_0x1f423d(0x13f)](_0x134781,_0x46cd78){const _0x38d1ea=_0x1f423d,_0x3e1327=this[_0x38d1ea(0x12e)][_0x38d1ea(0x151)][_0x38d1ea(0x13d)](_0x38d1ea(0xf5)),_0x54bcc5=_0x3e1327[_0x38d1ea(0x110)](_0x134781),_0x206d5f=_0x3e1327[_0x38d1ea(0x158)](_0x134781),_0x322f0f=_0x54bcc5[_0x38d1ea(0xf6)]+0x1,_0x7a7492=_0x206d5f[_0x38d1ea(0x11d)],_0x4b5721=_0x134781[0x0][_0x38d1ea(0xef)](_0x38d1ea(0xeb));for(let _0x9bd9fb=0x0;_0x9bd9fb<_0x46cd78;_0x9bd9fb++)_0x3e1327[_0x38d1ea(0x124)](_0x4b5721,{'at':_0x322f0f});return _0x4b5721[_0x38d1ea(0x11f)](_0x322f0f)[_0x38d1ea(0x11f)](_0x7a7492);}[_0x1f423d(0x126)](_0x5bb760,_0x1ed2a5){const _0x107ab9=_0x1f423d,{plugins:_0x397833}=this[_0x107ab9(0x12e)],{model:_0x39afb8}=_0x5bb760;if(!_0x397833[_0x107ab9(0x134)](_0x107ab9(0xf5)))return;_0x397833[_0x107ab9(0x13d)](_0x107ab9(0xf5))[_0x107ab9(0x133)](_0x1ed2a5)[_0x107ab9(0x14c)]&&_0x39afb8[_0x107ab9(0x12c)](_0x1ed2a5);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xef5b2a=_0x105c;(function(_0x30d3b8,_0x28da89){const _0x24e9cc=_0x105c,_0x1ac582=_0x30d3b8();while(!![]){try{const _0x28802d=parseInt(_0x24e9cc(0xfe))/0x1*(-parseInt(_0x24e9cc(0x112))/0x2)+parseInt(_0x24e9cc(0x11c))/0x3*(parseInt(_0x24e9cc(0x18e))/0x4)+parseInt(_0x24e9cc(0x107))/0x5+parseInt(_0x24e9cc(0x186))/0x6*(parseInt(_0x24e9cc(0x16b))/0x7)+-parseInt(_0x24e9cc(0x16c))/0x8*(parseInt(_0x24e9cc(0xfd))/0x9)+parseInt(_0x24e9cc(0x16a))/0xa*(-parseInt(_0x24e9cc(0x166))/0xb)+-parseInt(_0x24e9cc(0xe2))/0xc*(-parseInt(_0x24e9cc(0x177))/0xd);if(_0x28802d===_0x28da89)break;else _0x1ac582['push'](_0x1ac582['shift']());}catch(_0x234f75){_0x1ac582['push'](_0x1ac582['shift']());}}}(_0x1882,0x82e67));import{Plugin as _0x5f42e9}from'ckeditor5/src/core.js';import{first as _0x3dce99,CKEditorError as _0xba9ec}from'ckeditor5/src/utils.js';import{createDropdown as _0x36039a,addMenuToDropdown as _0x50bea7,ButtonView as _0x40ddd1,MenuBarMenuListItemButtonView as _0x22e850,Dialog as _0x2e65d7,DialogViewPosition as _0x25bd09,MenuBarMenuView as _0x4dc7d1,MenuBarMenuListView as _0x1e5ffb,MenuBarMenuListItemView as _0x18da74}from'ckeditor5/src/ui.js';import{icons as _0x5179d2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1882(){const _0x5862c2=['showAIAssistant','ai.aiAssistant.disabledElements','queryView','hideUI','381XgUvco','pluginName','getSelectedBlocks','forEach','isEnabled','replace','change:enabledCommandsIds','get','AI\x20Commands','aiLicenseKeyTrialLimit','isOn','execute','children','text/html','getSelectedElement','media','trialLimit','ck-ai-assistant-ui','expired','update','EDITOR_TOP_SIDE','bind','isFlat','change:value','textAdapter','AI\x20is\x20writing','aiLicenseKeyUsageLimit','selection','custom','push','enabledCommandsIds','showUI','change','show','filter','focus','INSERT','_licenseKeyCheckInterval','updateView','listenTo','_initAriaAiStatusChangeAnnouncements','_aiAdapter','licenseKey','ai-commands-config-order-collision','menuBar:aiCommands','_populateMenuBarMenu','aiCommands','reset','isOfficialPlugin','componentFactory','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiLicenseKeyDomainLimit','splice','\x20ck-ai-assistant-ui_theme','ai.aiAssistant.commands','addMany','locale','_showLicenseError','requiresContent','contentArea','_aiAssistantController','add','buttons','AI\x20Assistant','replaceContent','copy','config','REPLACE','map','plugins','define','requires','_onExecute','hide','1265xUYigk','menuBar:aiAssistant','change:isError','editor','48090refGKb','6846469DeBBQY','1508216FtbeQd','menuPanelClass','errorView','ck-ai-assistant-button\x20','menuitemcheckbox','includes','init','menuView','featureNotAllowed','render','items','1402258fbjiFc','order','AIAssistant','_commandDefinitions','ai.aiAssistant.contentAreaCssClass','schema','groupId','aiAssistant','polite','</p>','getRanges','robotPencil','showFakeVisualSelection','aiLicenseKeyNotAllowed','evaluationLimit','6ZHyCuz','trim','model','length','body','comment','text','fieldView','17984XgVOMr','domainLimit','isCollapsed','groupLabel','change:isProcessing','promptView','insertContent','aiLicenseKeyEvaluationLimit','132VvEoEJ','_initView','values','delegate','currentContext','once','AIAssistantUI','ck-ai-commands-dropdown\x20','ai.useTheme','_dialog','updatePosition','view','buttonView','_getResolvedCommandsDefinitions','rawHtml','invalid','usageLimit','set','prompt','aiLicenseKeyExpired','getLimitElement','DataTransfer','insertContentBelow','wasMoved','<p>','setSelection','announce','45ZKkpTm','249kOKTko','editing','command:','tableOfContents','getData','sort','_uiCssClasses','Generated\x20content:\x20%0','from','622130fcRKLY','hideFakeVisualSelection','fire','commands','label','_getMenuBarGroupButtons','_formView','_forceMarkersCopy','destroy','isPremiumPlugin','_createAIAssistantUIButton','6652jjVnrU','panelView','document','source','aiLicenseKeyInvalid','aiLicenseKeyValid'];_0x1882=function(){return _0x5862c2;};return _0x1882();}import{normalizeCommandsConfig as _0x33fa0f,UNGROUPED_COMMANDS_GROUP_ID as _0x5e0872}from'./utils/normalizecommandsconfig.js';import _0x568730 from'./aiassistantediting.js';import _0x8df8c7 from'./adapters/aiadapter.js';import{getTranslation as _0x5c91af}from'./utils/common-translations.js';import _0x5cb034 from'./ui/showaiassistantcommand.js';import _0x3ec060 from'./ui/aiassistantcontroller.js';import _0x2a31d5 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x287588}from'./ui/form/aiformtoolbarview.js';import _0x41f294 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0xef5b2a(0xf7)];import{ClipboardMarkersUtils as _0x194d33}from'ckeditor5/src/clipboard.js';function _0x105c(_0x2db341,_0x1cefe5){const _0x1882cb=_0x1882();return _0x105c=function(_0x105c25,_0x1ebd17){_0x105c25=_0x105c25-0xe0;let _0x13f77b=_0x1882cb[_0x105c25];return _0x13f77b;},_0x105c(_0x2db341,_0x1cefe5);}import{DomEventData as _0x5a0d4d,DataTransfer as _0x4ac3df}from'ckeditor5/src/engine.js';export default class n extends _0x5f42e9{static get[_0xef5b2a(0x11d)](){const _0x54b9b8=_0xef5b2a;return _0x54b9b8(0xe8);}static get[_0xef5b2a(0x14c)](){return!0x0;}static get[_0xef5b2a(0x110)](){return!0x0;}static get[_0xef5b2a(0x163)](){return[_0x194d33,_0x568730,_0x8df8c7,_0x2e65d7];}constructor(_0xc723bf){const _0x4c26a1=_0xef5b2a;super(_0xc723bf),this[_0x4c26a1(0x104)]='',_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x162)](_0x4c26a1(0x119),[_0x4c26a1(0x12b),_0x4c26a1(0xf0),_0x4c26a1(0x101)]),_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x162)](_0x4c26a1(0x17b),''),_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x162)](_0x4c26a1(0xea),!0x0),this[_0x4c26a1(0x104)]=_0x4c26a1(0x12d)+(_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x123)](_0x4c26a1(0xea))?_0x4c26a1(0x151):'');}[_0xef5b2a(0x172)](){const _0x528931=_0xef5b2a,{editor:_0xe41764}=this;this[_0x528931(0x145)]=_0xe41764[_0x528931(0x161)][_0x528931(0x123)](_0x8df8c7),this[_0x528931(0xeb)]=_0xe41764[_0x528931(0x161)][_0x528931(0x123)](_0x2e65d7),this[_0x528931(0x10d)]=null,this[_0x528931(0x17a)]=this[_0x528931(0xef)]();const _0x32e7e3=new _0x5cb034(_0xe41764,Array[_0x528931(0x106)](this[_0x528931(0x17a)][_0x528931(0xe4)]()));_0xe41764[_0x528931(0x10a)][_0x528931(0x159)](_0x528931(0x118),_0x32e7e3),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x14a),_0x313f87=>{const _0x52ec02=_0x528931,_0x4039e3=_0x36039a(_0x313f87);return _0x4039e3[_0x52ec02(0xf3)]({'class':_0x52ec02(0xe9)+this[_0x52ec02(0x104)]}),_0x4039e3[_0x52ec02(0xee)][_0x52ec02(0xf3)]({'label':_0x5c91af(_0x313f87,_0x52ec02(0x124)),'icon':_0x41f294,'tooltip':!0x0}),_0x4039e3['on'](_0x52ec02(0x127),_0x2ac06f=>this[_0x52ec02(0x164)](_0x2ac06f[_0x52ec02(0x115)]['id'])),_0x50bea7(_0x4039e3,_0xe41764['ui'][_0x52ec02(0xed)][_0x52ec02(0x18a)],function(_0xdb842f){const _0x3b730f=_0x52ec02,_0x3799d7=_0x33fa0f(_0xdb842f[_0x3b730f(0x15e)][_0x3b730f(0x123)](_0x3b730f(0x152)),_0xdb842f[_0x3b730f(0x154)]),_0x5e3c9d=U(_0xdb842f,_0x3799d7)[_0x3b730f(0x13e)](_0x631f60=>_0x631f60[_0x3b730f(0x10a)][_0x3b730f(0x189)]);if(0x1===_0x5e3c9d[_0x3b730f(0x189)])return U(_0xdb842f,_0x5e3c9d[0x0][_0x3b730f(0x10a)])[_0x3b730f(0x160)](_0x174074=>({'id':_0x174074['id'],'label':_0x174074[_0x3b730f(0x10b)]}));return _0x5e3c9d[_0x3b730f(0x160)](_0x1eaed4=>{const _0x220ee2=_0x3b730f,{groupId:_0x435aff,groupLabel:_0x300ab8,commands:_0x205941}=_0x1eaed4,_0x11a217=U(_0xdb842f,_0x205941)[_0x220ee2(0x160)](_0x43c8f0=>({'id':_0x43c8f0['id'],'label':_0x43c8f0[_0x220ee2(0x10b)]}));return{'id':_0x435aff,'menu':_0x300ab8||_0x435aff,'children':_0x11a217};});}(_0xe41764),{'ariaLabel':_0x5c91af(_0x313f87,_0x52ec02(0x124))}),_0x4039e3[_0x52ec02(0x173)][_0x52ec02(0x16d)]=_0x52ec02(0xe9)+this[_0x52ec02(0x104)],_0x32e7e3['on'](_0x52ec02(0x122),_0xbb7801),_0x4039e3[_0x52ec02(0x173)][_0x52ec02(0xe7)](_0x52ec02(0x175),_0xbb7801),_0x4039e3;function _0xbb7801(){const _0x4e5542=_0x52ec02;_0x4039e3[_0x4e5542(0x120)]=_0x32e7e3[_0x4e5542(0x13a)][_0x4e5542(0x189)]>0x0;for(const _0x4fdb2c of _0x4039e3[_0x4e5542(0x173)][_0x4e5542(0x15a)])_0x4fdb2c[_0x4e5542(0x120)]=_0x32e7e3[_0x4e5542(0x13a)][_0x4e5542(0x171)](_0x4fdb2c['id']);}}),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x148),_0x3fe951=>{const _0x45b4e3=_0x528931,_0x359e96=new _0x4dc7d1(_0x3fe951);_0x359e96[_0x45b4e3(0xee)][_0x45b4e3(0xf3)]({'label':_0x5c91af(_0x3fe951,_0x45b4e3(0x124)),'icon':_0x41f294}),_0x359e96[_0x45b4e3(0x131)](_0x45b4e3(0x120))['to'](_0x32e7e3,_0x45b4e3(0x13a),_0x1c220b=>_0x1c220b[_0x45b4e3(0x189)]>0x0);const _0x3b4d88=_0x33fa0f(_0xe41764[_0x45b4e3(0x15e)][_0x45b4e3(0x123)](_0x45b4e3(0x152)),_0x3fe951);return this[_0x45b4e3(0x149)](_0x32e7e3,_0x359e96,_0x3b4d88,_0x31402b=>this[_0x45b4e3(0x164)](_0x31402b)),_0x359e96;}),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x17e),()=>{const _0x17e5a5=_0x528931,_0x1cdcac=this[_0x17e5a5(0x111)](_0x40ddd1);return _0x1cdcac[_0x17e5a5(0xf3)]({'tooltip':!0x0,'class':_0x17e5a5(0x16f)+this[_0x17e5a5(0x104)]}),_0x1cdcac;}),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x167),()=>{const _0x537d6f=_0x528931,_0x5e4a09=this[_0x537d6f(0x111)](_0x22e850);return _0x5e4a09[_0x537d6f(0xf3)]({'role':_0x537d6f(0x170)}),_0x5e4a09;}),this[_0x528931(0x146)]=this[_0x528931(0x169)][_0x528931(0x15e)][_0x528931(0x123)](_0x528931(0x146));const _0x1cd8a1=this[_0x528931(0x169)];this[_0x528931(0x141)]=setInterval(()=>{const _0xacfb69=_0x528931;let _0x3b0a89;for(const _0x43c101 in _0x1cd8a1){const _0x3a5669=_0x43c101,_0x5c301b=_0x1cd8a1[_0x3a5669];if(_0xacfb69(0x117)==_0x5c301b||_0xacfb69(0x116)==_0x5c301b||_0xacfb69(0xf5)==_0x5c301b||_0xacfb69(0x14f)==_0x5c301b||_0xacfb69(0x184)==_0x5c301b||_0xacfb69(0xe1)==_0x5c301b||_0xacfb69(0x125)==_0x5c301b||_0xacfb69(0x136)==_0x5c301b){delete _0x1cd8a1[_0x3a5669],_0x3b0a89=_0x5c301b,clearInterval(this[_0xacfb69(0x141)]),this[_0xacfb69(0x141)]=void 0x0;break;}}_0xacfb69(0x116)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0xf1)),_0xacfb69(0xf5)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x12e)),_0xacfb69(0x14f)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x18f)),_0xacfb69(0x184)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x174),_0xacfb69(0x179)),_0xacfb69(0xe1)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x185)),_0xacfb69(0x125)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x12c)),_0xacfb69(0x136)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0xf2));},0x3e8);}[_0xef5b2a(0x10f)](){const _0x1433ef=_0xef5b2a;super[_0x1433ef(0x10f)](),this[_0x1433ef(0x141)]&&clearInterval(this[_0x1433ef(0x141)]);}[_0xef5b2a(0x13b)](_0x8b0a76='',_0x10305c='',_0x1fa117=_0xef5b2a(0x138)){const _0x2a1243=_0xef5b2a,_0x3e383b=this[_0x2a1243(0x169)],_0x3980f9=_0x3e383b[_0x2a1243(0xff)][_0x2a1243(0xed)],_0x4bb24c=_0x3e383b[_0x2a1243(0x161)][_0x2a1243(0x123)](_0x568730),_0x9029b3=_0x3e383b[_0x2a1243(0x161)][_0x2a1243(0x123)](_0x194d33);_0x4bb24c[_0x2a1243(0x183)]();const _0x4663bd=new w(),_0x4d1fff=new ClipboardEvent(_0x2a1243(0x15d),{'clipboardData':_0x4663bd}),_0x495149=new _0x4ac3df(_0x4663bd),_0x2fac2c=new _0x5a0d4d(_0x3980f9,_0x4d1fff,{'dataTransfer':_0x495149});_0x9029b3[_0x2a1243(0x10e)](_0x2a1243(0x18b),()=>{const _0x74d88=_0x2a1243;_0x3980f9[_0x74d88(0x114)][_0x74d88(0x109)](_0x74d88(0x15d),_0x2fac2c);}),this[_0x2a1243(0x10d)]||(this[_0x2a1243(0xe3)](),this[_0x2a1243(0x158)]=new _0x3ec060(_0x3e383b,this[_0x2a1243(0x145)][_0x2a1243(0x134)],this[_0x2a1243(0x10d)]));let _0x3e707b=_0x495149[_0x2a1243(0x102)](_0x2a1243(0x129));const _0x2049ff=_0x3e383b[_0x2a1243(0x188)][_0x2a1243(0x114)][_0x2a1243(0x137)],_0x57a72f=Array[_0x2a1243(0x106)](_0x2049ff[_0x2a1243(0x181)]());0x1===_0x57a72f[_0x2a1243(0x189)]&&_0x57a72f[0x0][_0x2a1243(0x132)]&&!_0x2049ff[_0x2a1243(0x12a)]()&&''!==_0x3e707b[_0x2a1243(0x121)](/ /g,'')[_0x2a1243(0x187)]()&&(_0x3e707b=_0x2a1243(0xfa)+_0x3e707b+_0x2a1243(0x180)),this[_0x2a1243(0x158)][_0x2a1243(0x142)]({'actionId':_0x1fa117,'query':_0x8b0a76,'htmlContent':_0x3e707b,'label':_0x10305c,'mainActionLabel':_0x287588[_0x3e383b[_0x2a1243(0x188)][_0x2a1243(0x114)][_0x2a1243(0x137)][_0x2a1243(0x190)]?_0x2a1243(0x140):_0x2a1243(0x15f)]}),_0x2a1243(0x17e)!==this[_0x2a1243(0xeb)]['id']?this[_0x2a1243(0xeb)][_0x2a1243(0x13d)]({'id':_0x2a1243(0x17e),'icon':_0x5179d2[_0x2a1243(0x182)],'title':_0x5c91af(this[_0x2a1243(0x169)][_0x2a1243(0x154)],_0x2a1243(0x15b)),'content':this[_0x2a1243(0x10d)],'position':_0x25bd09[_0x2a1243(0x130)],'onShow':()=>{const _0x3f4a8c=_0x2a1243;this[_0x3f4a8c(0x10d)][_0x3f4a8c(0x13f)]();},'onHide':()=>{const _0x296a9c=_0x2a1243;this[_0x296a9c(0x158)][_0x296a9c(0x14b)](),_0x4bb24c[_0x296a9c(0x108)]();}}):this[_0x2a1243(0xeb)][_0x2a1243(0xed)][_0x2a1243(0xf9)]||this[_0x2a1243(0xeb)][_0x2a1243(0xed)][_0x2a1243(0xec)]();}[_0xef5b2a(0x11b)](){const _0x4dfbb6=_0xef5b2a;this[_0x4dfbb6(0xeb)][_0x4dfbb6(0x165)]();}[_0xef5b2a(0xef)](){const _0x2fc14e=_0xef5b2a,_0x19748a=new Map(),_0x1c81af=_0x33fa0f(this[_0x2fc14e(0x169)][_0x2fc14e(0x15e)][_0x2fc14e(0x123)](_0x2fc14e(0x152)),this[_0x2fc14e(0x169)][_0x2fc14e(0x154)]);for(const _0x3ab241 of _0x1c81af)for(const _0x3c43fe of _0x3ab241[_0x2fc14e(0x10a)])_0x19748a[_0x2fc14e(0xf3)](_0x3c43fe['id'],{..._0x3c43fe,'groupId':_0x3ab241[_0x2fc14e(0x17d)],'groupLabel':_0x3ab241[_0x2fc14e(0x191)]||_0x3ab241[_0x2fc14e(0x17d)]});return _0x19748a;}[_0xef5b2a(0x111)](_0x3a5907){const _0x133753=_0xef5b2a,_0x2cba2e=this[_0x133753(0x169)],_0x4488eb=_0x2cba2e[_0x133753(0x10a)][_0x133753(0x123)](_0x133753(0x118)),_0x5d4063=new _0x3a5907(_0x2cba2e[_0x133753(0x154)]);return _0x5d4063[_0x133753(0xf3)]({'label':_0x5c91af(_0x2cba2e[_0x133753(0x154)],_0x133753(0x15b)),'icon':_0x5179d2[_0x133753(0x182)],'isToggleable':!0x0}),_0x5d4063[_0x133753(0x131)](_0x133753(0x120))['to'](_0x4488eb),_0x5d4063[_0x133753(0x131)](_0x133753(0x126))['to'](this[_0x133753(0xeb)],'id',_0x2198b6=>_0x133753(0x17e)===_0x2198b6),this[_0x133753(0x143)](_0x5d4063,_0x133753(0x127),()=>{const _0x218280=_0x133753;_0x5d4063[_0x218280(0x126)]?this[_0x218280(0x11b)]():_0x4488eb[_0x218280(0x127)]();}),_0x5d4063;}[_0xef5b2a(0xe3)](){const _0x36a926=_0xef5b2a,_0x23b0c1=this[_0x36a926(0x169)][_0x36a926(0x161)][_0x36a926(0x123)](_0x568730);this[_0x36a926(0x10d)]=new _0x2a31d5(this[_0x36a926(0x169)][_0x36a926(0x154)],this[_0x36a926(0x104)],this[_0x36a926(0x169)][_0x36a926(0x15e)][_0x36a926(0x123)](_0x36a926(0x17b))),this[_0x36a926(0x10d)]['on'](_0x36a926(0x133),()=>{const _0x1bcc1e=_0x36a926;this[_0x1bcc1e(0xeb)][_0x1bcc1e(0xed)][_0x1bcc1e(0xf9)]||this[_0x1bcc1e(0xeb)][_0x1bcc1e(0xed)][_0x1bcc1e(0xec)]();}),this[_0x36a926(0x10d)][_0x36a926(0x193)][_0x36a926(0x11a)][_0x36a926(0x18d)]['on'](_0x36a926(0x12f),()=>{const _0x3eed02=_0x36a926;this[_0x3eed02(0xeb)][_0x3eed02(0xed)][_0x3eed02(0xf9)]||this[_0x3eed02(0xeb)][_0x3eed02(0xed)][_0x3eed02(0xec)]();}),this[_0x36a926(0x143)](this[_0x36a926(0x10d)],_0x36a926(0x15c),()=>{const _0x32bf4f=_0x36a926;_0x23b0c1[_0x32bf4f(0xe0)](this[_0x32bf4f(0x158)][_0x32bf4f(0xe6)]),this[_0x32bf4f(0x11b)]();}),this[_0x36a926(0x143)](this[_0x36a926(0x10d)],_0x36a926(0xf8),()=>{const _0x3cd333=_0x36a926;_0x23b0c1[_0x3cd333(0xf8)](this[_0x3cd333(0x158)][_0x3cd333(0xe6)]),this[_0x3cd333(0x11b)]();}),this[_0x36a926(0x144)]();}[_0xef5b2a(0x144)](){const _0x4175cb=_0xef5b2a,{locale:_0x3ce1ee,ui:{ariaLiveAnnouncer:_0x45d41d}}=this[_0x4175cb(0x169)];this[_0x4175cb(0x10d)][_0x4175cb(0x157)]['on'](_0x4175cb(0x192),(_0x525460,_0x24fa6b,_0x33f613)=>{const _0x13be70=_0x4175cb,_0x186fd6=this[_0x13be70(0x158)][_0x13be70(0xe6)];_0x33f613?_0x45d41d[_0x13be70(0xfc)](_0x5c91af(_0x3ce1ee,_0x13be70(0x135))):_0x186fd6&&_0x45d41d[_0x13be70(0xfc)](_0x5c91af(_0x3ce1ee,_0x13be70(0x105),_0x186fd6),{'politeness':_0x13be70(0x17f),'isUnsafeHTML':!0x0});}),this[_0x4175cb(0x10d)]['on'](_0x4175cb(0x168),(_0x46bd4e,_0x31cd36,_0x222f9f)=>{const _0x589c2d=_0x4175cb;if(_0x222f9f){const _0x575cff=this[_0x589c2d(0x10d)][_0x589c2d(0x16e)][_0x589c2d(0x18c)];_0x45d41d[_0x589c2d(0xfc)](_0x5c91af(_0x3ce1ee,_0x589c2d(0x14e),_0x575cff));}});}[_0xef5b2a(0x164)](_0x267850){const _0x792e20=_0xef5b2a,_0x3e41eb=this[_0x792e20(0x17a)][_0x792e20(0x123)](_0x267850),_0x10dd47=this[_0x792e20(0x169)],_0x51eee9=_0x10dd47[_0x792e20(0x188)][_0x792e20(0x114)][_0x792e20(0x137)],_0x5520ef=_0x10dd47[_0x792e20(0x10a)][_0x792e20(0x123)](_0x792e20(0x118)),_0xc6d77b=_0x10dd47[_0x792e20(0x161)][_0x792e20(0x123)](_0x568730),_0x21a10b=''+(_0x3e41eb[_0x792e20(0x17d)]!==_0x5e0872?_0x3e41eb[_0x792e20(0x191)]+':\x20':'')+_0x3e41eb[_0x792e20(0x10b)];if(!0x1!==_0x3e41eb[_0x792e20(0x156)]&&_0x51eee9[_0x792e20(0x190)]){const _0x27751e=_0x3dce99(_0x51eee9[_0x792e20(0x11e)]())||_0x10dd47[_0x792e20(0x188)][_0x792e20(0x17c)][_0x792e20(0xf6)](_0x51eee9);_0x10dd47[_0x792e20(0x188)][_0x792e20(0x13c)](_0x161293=>{const _0x5e93df=_0x792e20;_0x161293[_0x5e93df(0xfb)](_0x27751e,'in');});}_0xc6d77b[_0x792e20(0x183)](),_0x5520ef[_0x792e20(0x127)](_0x3e41eb[_0x792e20(0xf4)],_0x21a10b,_0x792e20(0x100)+_0x267850);}[_0xef5b2a(0x149)](_0x535580,_0x11a730,_0x2c9948,_0x2beaac){const _0x2cb79d=_0xef5b2a,_0x1e494f=this[_0x2cb79d(0x169)],_0x1e74b3=_0x1e494f[_0x2cb79d(0x154)],_0x323440=new _0x1e5ffb(_0x1e74b3),_0x23ddcc=U(_0x1e494f,_0x2c9948)[_0x2cb79d(0x13e)](_0x331cfe=>_0x331cfe[_0x2cb79d(0x10a)][_0x2cb79d(0x189)]);0x1===_0x23ddcc[_0x2cb79d(0x189)]?this[_0x2cb79d(0x10c)]({'command':_0x535580,'commands':_0x23ddcc[0x0][_0x2cb79d(0x10a)],'parentMenuView':_0x11a730,'onExecute':_0x2beaac})[_0x2cb79d(0x11f)](_0x17ff48=>_0x323440[_0x2cb79d(0x176)][_0x2cb79d(0x159)](_0x17ff48)):_0x23ddcc[_0x2cb79d(0x11f)](({groupId:_0x2e60a2,groupLabel:_0x274342,commands:_0x3a1893})=>{const _0x51e939=_0x2cb79d,_0x4f6413=new _0x18da74(_0x1e74b3,_0x11a730),_0xc15809=new _0x4dc7d1(_0x1e74b3),_0x41ab98=new _0x1e5ffb(_0x1e74b3),_0x3fd725=this[_0x51e939(0x10c)]({'command':_0x535580,'commands':_0x3a1893,'parentMenuView':_0xc15809,'onExecute':_0x2beaac});_0xc15809[_0x51e939(0xee)][_0x51e939(0xf3)]({'label':_0x274342||_0x2e60a2}),_0xc15809[_0x51e939(0xe5)](_0x51e939(0x127))['to'](_0x11a730),_0x41ab98[_0x51e939(0x176)][_0x51e939(0x153)](_0x3fd725),_0xc15809[_0x51e939(0x113)][_0x51e939(0x128)][_0x51e939(0x159)](_0x41ab98),_0x4f6413[_0x51e939(0x128)][_0x51e939(0x159)](_0xc15809),_0x323440[_0x51e939(0x176)][_0x51e939(0x159)](_0x4f6413);}),_0x11a730[_0x2cb79d(0x113)][_0x2cb79d(0x128)][_0x2cb79d(0x159)](_0x323440);}[_0xef5b2a(0x10c)]({command:_0x2d416f,commands:_0x3d7254,parentMenuView:_0x3e8cbc,onExecute:_0x5d9a4b}){const _0x16e405=_0xef5b2a,_0x1671ec=this[_0x16e405(0x169)],_0x3e33f4=_0x1671ec[_0x16e405(0x154)];return U(_0x1671ec,_0x3d7254)[_0x16e405(0x160)](_0x371db8=>{const _0x3119d5=_0x16e405,_0x2e4898=new _0x18da74(_0x3e33f4,_0x3e8cbc),_0x139941=new _0x22e850(_0x3e33f4);return _0x139941[_0x3119d5(0xf3)]({'label':_0x371db8[_0x3119d5(0x10b)]}),_0x139941[_0x3119d5(0xe5)](_0x3119d5(0x127))['to'](_0x3e8cbc),_0x139941['on'](_0x3119d5(0x127),()=>_0x5d9a4b(_0x371db8['id'])),_0x139941[_0x3119d5(0x131)](_0x3119d5(0x120))['to'](_0x2d416f,_0x3119d5(0x13a),_0x1f2da0=>_0x1f2da0[_0x3119d5(0x171)](_0x371db8['id'])),_0x2e4898[_0x3119d5(0x128)][_0x3119d5(0x159)](_0x139941),_0x2e4898;});}}function B(_0x3ddb98,_0x59dad2){const _0x35bc01=_0xef5b2a;return void 0x0!==_0x3ddb98[_0x35bc01(0x178)]&&void 0x0===_0x59dad2[_0x35bc01(0x178)]?0x1:void 0x0===_0x3ddb98[_0x35bc01(0x178)]&&void 0x0!==_0x59dad2[_0x35bc01(0x178)]?-0x1:void 0x0!==_0x3ddb98[_0x35bc01(0x178)]&&void 0x0!==_0x59dad2[_0x35bc01(0x178)]?_0x3ddb98[_0x35bc01(0x178)]-_0x59dad2[_0x35bc01(0x178)]:0x0;}function U(_0x2af58b,_0x88c782){const _0x556eba=_0xef5b2a;_0x88c782[_0x556eba(0x103)](B);const _0x253839={},_0x2bec64=[];for(const _0x100c59 of _0x88c782)if(void 0x0!==_0x100c59[_0x556eba(0x178)]){if(_0x100c59[_0x556eba(0x178)]in _0x253839)throw new _0xba9ec(_0x556eba(0x147),_0x2af58b,{'conflictingDefinitions':[_0x100c59,_0x253839[_0x100c59[_0x556eba(0x178)]]]});_0x253839[_0x100c59[_0x556eba(0x178)]]=_0x100c59,_0x2bec64[_0x556eba(0x150)](_0x100c59[_0x556eba(0x178)],0x0,_0x100c59);}else _0x2bec64[_0x556eba(0x139)](_0x100c59);return _0x2bec64;}
|
|
23
|
+
const _0x1af4c6=_0xb509;(function(_0x2e6b78,_0x14b4bd){const _0x4f5af8=_0xb509,_0x7b835e=_0x2e6b78();while(!![]){try{const _0x44dd3a=parseInt(_0x4f5af8(0xef))/0x1*(-parseInt(_0x4f5af8(0x14c))/0x2)+-parseInt(_0x4f5af8(0x121))/0x3+parseInt(_0x4f5af8(0xf2))/0x4*(parseInt(_0x4f5af8(0x185))/0x5)+parseInt(_0x4f5af8(0x175))/0x6*(parseInt(_0x4f5af8(0xf0))/0x7)+parseInt(_0x4f5af8(0x146))/0x8*(parseInt(_0x4f5af8(0x157))/0x9)+parseInt(_0x4f5af8(0x11b))/0xa*(parseInt(_0x4f5af8(0x184))/0xb)+-parseInt(_0x4f5af8(0x154))/0xc;if(_0x44dd3a===_0x14b4bd)break;else _0x7b835e['push'](_0x7b835e['shift']());}catch(_0xa18e33){_0x7b835e['push'](_0x7b835e['shift']());}}}(_0x107b,0xf2749));import{Plugin as _0x52fde6}from'ckeditor5/src/core.js';import{IconMagicWand as _0x297ac3,IconRobotPencil as _0x5544d2}from'ckeditor5/src/icons.js';import{first as _0x14c644,CKEditorError as _0x4e71b9}from'ckeditor5/src/utils.js';function _0xb509(_0x43eb23,_0x28039c){const _0x107b20=_0x107b();return _0xb509=function(_0xb50982,_0x14811e){_0xb50982=_0xb50982-0xd4;let _0x4bd5df=_0x107b20[_0xb50982];return _0x4bd5df;},_0xb509(_0x43eb23,_0x28039c);}import{createDropdown as _0x205ea8,addMenuToDropdown as _0x28435e,ButtonView as _0xe7dabb,MenuBarMenuListItemButtonView as _0x13f8bf,Dialog as _0x2e44aa,DialogViewPosition as _0x49f946,MenuBarMenuView as _0x228f09,MenuBarMenuListView as _0x54f0bb,MenuBarMenuListItemView as _0x4632ca}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x21fb2a,UNGROUPED_COMMANDS_GROUP_ID as _0x5eff58}from'./utils/normalizecommandsconfig.js';import _0x4454f2 from'./aiassistantediting.js';import _0x3c6624 from'./adapters/aiadapter.js';import{getTranslation as _0x3b9308}from'./utils/common-translations.js';import _0x530f49 from'./ui/showaiassistantcommand.js';import _0x1b47b8 from'./ui/aiassistantcontroller.js';import _0x5e6a0b from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3b7af2}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x1af4c6(0x126)];import{ClipboardMarkersUtils as _0x309ce6}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x8f9822,DataTransfer as _0x393e90}from'ckeditor5/src/engine.js';function _0x107b(){const _0x15e7fd=['24qGYIia','usageLimit','isCollapsed','values','aiLicenseKeyEvaluationLimit','wasMoved','licenseKey','errorView','</p>','insertContentBelow','source','isPremiumPlugin','groupLabel','selection','menuBar:aiCommands','10676380vZPtrh','105115afvHIY','AIAssistant','aiLicenseKeyValid','comment','bind','hideFakeVisualSelection','order','<p>','buttons','show','evaluationLimit','isFlat','_forceMarkersCopy','add','AI\x20Commands','label','get','push','aiCommands','insertContent','currentContext','listenTo','schema','Error\x20during\x20AI\x20content\x20generation:\x20%0','EDITOR_TOP_SIDE','expired','text/html','change:enabledCommandsIds','282157hlCCAw','115451NguGco','_dialog','244TgSxae','_initView','panelView','editing','sort','INSERT','ai.useTheme','set','aiLicenseKeyUsageLimit','updatePosition','menuitemcheckbox','invalid','addMany','aiLicenseKeyNotAllowed','_aiAssistantController','items','trim','_uiCssClasses','ai-commands-config-order-collision','_formView','contentArea','requires','view','_populateMenuBarMenu','aiLicenseKeyInvalid','model','textAdapter','prompt','menuBar:aiAssistant','init','_getMenuBarGroupButtons','updateView','queryView','command:','componentFactory','forEach','render','AI\x20Assistant','ck-ai-commands-dropdown\x20','hideUI','locale','10HSBaUw','delegate','groupId','copy','trialLimit','fieldView','1740504tHWHeG','length','_createAIAssistantUIButton','Generated\x20content:\x20%0','featureNotAllowed','DataTransfer','\x20ck-ai-assistant-ui_theme','aiAssistant','update','map','focus','plugins','polite','from','getLimitElement','document','replaceContent','_commandDefinitions','showUI','getData','tableOfContents','hide','ck-ai-assistant-ui','splice','pluginName','isOn','AI\x20is\x20writing','reset','AIAssistantUI','rawHtml','_onExecute','isOfficialPlugin','enabledCommandsIds','getRanges','custom','requiresContent','_initAriaAiStatusChangeAnnouncements','7046288hcHWQE','showAIAssistant','editor','getSelectedBlocks','change:value','menuPanelClass','8vpwKgu','REPLACE','aiLicenseKeyExpired','define','commands','includes','aiLicenseKeyDomainLimit','ck-ai-assistant-button\x20','5974176icXzeg','body','_aiAdapter','9yqmZsG','ai.aiAssistant.contentAreaCssClass','setSelection','filter','config','fire','media','announce','once','menuView','replace','domainLimit','change:isError','change:isProcessing','execute','showFakeVisualSelection','ai.aiAssistant.disabledElements','children','text','aiLicenseKeyTrialLimit','getSelectedElement','buttonView','promptView','_getResolvedCommandsDefinitions','ai.aiAssistant.commands','change','_licenseKeyCheckInterval','isEnabled','_showLicenseError','destroy'];_0x107b=function(){return _0x15e7fd;};return _0x107b();}export default class n extends _0x52fde6{[_0x1af4c6(0x17b)];[_0x1af4c6(0x171)];[_0x1af4c6(0xf1)];[_0x1af4c6(0x105)];[_0x1af4c6(0x156)];[_0x1af4c6(0x100)];[_0x1af4c6(0x103)]='';static get[_0x1af4c6(0x139)](){const _0x17ce09=_0x1af4c6;return _0x17ce09(0x13d);}static get[_0x1af4c6(0x140)](){return!0x0;}static get[_0x1af4c6(0x180)](){return!0x0;}static get[_0x1af4c6(0x107)](){return[_0x309ce6,_0x4454f2,_0x3c6624,_0x2e44aa];}constructor(_0x154168){const _0xc5c17c=_0x1af4c6;super(_0x154168),_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0x14f)](_0xc5c17c(0x167),[_0xc5c17c(0x15d),_0xc5c17c(0x13e),_0xc5c17c(0x135)]),_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0x14f)](_0xc5c17c(0x158),''),_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0x14f)](_0xc5c17c(0xf8),!0x0),this[_0xc5c17c(0x103)]=_0xc5c17c(0x137)+(_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0xe3)](_0xc5c17c(0xf8))?_0xc5c17c(0x127):'');}[_0x1af4c6(0x10f)](){const _0x4480de=_0x1af4c6,{editor:_0x224031}=this;this[_0x4480de(0x156)]=_0x224031[_0x4480de(0x12c)][_0x4480de(0xe3)](_0x3c6624),this[_0x4480de(0xf1)]=_0x224031[_0x4480de(0x12c)][_0x4480de(0xe3)](_0x2e44aa),this[_0x4480de(0x105)]=null,this[_0x4480de(0x132)]=this[_0x4480de(0x16e)]();const _0xe9b194=new _0x530f49(_0x224031,Array[_0x4480de(0x12e)](this[_0x4480de(0x132)][_0x4480de(0x178)]()));_0x224031[_0x4480de(0x150)][_0x4480de(0xe0)](_0x4480de(0x147),_0xe9b194),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0xe5),_0x21b7ae=>{const _0x45e5c4=_0x4480de,_0x524ba3=_0x205ea8(_0x21b7ae);return _0x524ba3[_0x45e5c4(0xf9)]({'class':_0x45e5c4(0x118)+this[_0x45e5c4(0x103)]}),_0x524ba3[_0x45e5c4(0x16c)][_0x45e5c4(0xf9)]({'label':_0x3b9308(_0x21b7ae,_0x45e5c4(0xe1)),'icon':_0x297ac3,'tooltip':!0x0}),_0x524ba3['on'](_0x45e5c4(0x165),_0x9e8b5a=>this[_0x45e5c4(0x13f)](_0x9e8b5a[_0x45e5c4(0x17f)]['id'])),_0x28435e(_0x524ba3,_0x224031['ui'][_0x45e5c4(0x108)][_0x45e5c4(0x155)],function(_0x1b2ff2){const _0x4154d3=_0x45e5c4,_0x2040a8=_0x21fb2a(_0x1b2ff2[_0x4154d3(0x15b)][_0x4154d3(0xe3)](_0x4154d3(0x16f)),_0x1b2ff2[_0x4154d3(0x11a)]),_0x4d2895=U(_0x1b2ff2,_0x2040a8)[_0x4154d3(0x15a)](_0x40dd57=>_0x40dd57[_0x4154d3(0x150)][_0x4154d3(0x122)]);if(0x1===_0x4d2895[_0x4154d3(0x122)])return U(_0x1b2ff2,_0x4d2895[0x0][_0x4154d3(0x150)])[_0x4154d3(0x12a)](_0x296067=>({'id':_0x296067['id'],'label':_0x296067[_0x4154d3(0xe2)]}));return _0x4d2895[_0x4154d3(0x12a)](_0x9d95dc=>{const _0x33150c=_0x4154d3,{groupId:_0x4caced,groupLabel:_0x5c822a,commands:_0x316a0a}=_0x9d95dc,_0x1f9ede=U(_0x1b2ff2,_0x316a0a)[_0x33150c(0x12a)](_0x1238fc=>({'id':_0x1238fc['id'],'label':_0x1238fc[_0x33150c(0xe2)]}));return{'id':_0x4caced,'menu':_0x5c822a||_0x4caced,'children':_0x1f9ede};});}(_0x224031),{'ariaLabel':_0x3b9308(_0x21b7ae,_0x45e5c4(0xe1))}),_0x524ba3[_0x45e5c4(0x160)][_0x45e5c4(0x14b)]=_0x45e5c4(0x118)+this[_0x45e5c4(0x103)],_0xe9b194['on'](_0x45e5c4(0xee),_0xa14cc5),_0x524ba3[_0x45e5c4(0x160)][_0x45e5c4(0x15f)](_0x45e5c4(0x116),_0xa14cc5),_0x524ba3;function _0xa14cc5(){const _0x8b8014=_0x45e5c4;_0x524ba3[_0x8b8014(0x172)]=_0xe9b194[_0x8b8014(0x141)][_0x8b8014(0x122)]>0x0;for(const _0x3d7fc6 of _0x524ba3[_0x8b8014(0x160)][_0x8b8014(0xdb)])_0x3d7fc6[_0x8b8014(0x172)]=_0xe9b194[_0x8b8014(0x141)][_0x8b8014(0x151)](_0x3d7fc6['id']);}}),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0x183),_0x557910=>{const _0x13866b=_0x4480de,_0x4ede85=new _0x228f09(_0x557910);_0x4ede85[_0x13866b(0x16c)][_0x13866b(0xf9)]({'label':_0x3b9308(_0x557910,_0x13866b(0xe1)),'icon':_0x297ac3}),_0x4ede85[_0x13866b(0xd7)](_0x13866b(0x172))['to'](_0xe9b194,_0x13866b(0x141),_0x3ee741=>_0x3ee741[_0x13866b(0x122)]>0x0);const _0x42e10a=_0x21fb2a(_0x224031[_0x13866b(0x15b)][_0x13866b(0xe3)](_0x13866b(0x16f)),_0x557910);return this[_0x13866b(0x109)](_0xe9b194,_0x4ede85,_0x42e10a,_0x148e4a=>this[_0x13866b(0x13f)](_0x148e4a)),_0x4ede85;}),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0x128),()=>{const _0x459447=_0x4480de,_0x339145=this[_0x459447(0x123)](_0xe7dabb);return _0x339145[_0x459447(0xf9)]({'tooltip':!0x0,'class':_0x459447(0x153)+this[_0x459447(0x103)]}),_0x339145;}),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0x10e),()=>{const _0x335061=_0x4480de,_0x2aab05=this[_0x335061(0x123)](_0x13f8bf);return _0x2aab05[_0x335061(0xf9)]({'role':_0x335061(0xfc)}),_0x2aab05;}),this[_0x4480de(0x17b)]=this[_0x4480de(0x148)][_0x4480de(0x15b)][_0x4480de(0xe3)](_0x4480de(0x17b));const _0x31dbd3=this[_0x4480de(0x148)];this[_0x4480de(0x171)]=setInterval(()=>{const _0x220a40=_0x4480de;let _0x5c3072;for(const _0x17ae53 in _0x31dbd3){const _0x5cf82f=_0x17ae53,_0x1909bf=_0x31dbd3[_0x5cf82f];if(_0x220a40(0xd5)==_0x1909bf||_0x220a40(0x10a)==_0x1909bf||_0x220a40(0x14e)==_0x1909bf||_0x220a40(0x152)==_0x1909bf||_0x220a40(0xff)==_0x1909bf||_0x220a40(0x179)==_0x1909bf||_0x220a40(0x16a)==_0x1909bf||_0x220a40(0xfa)==_0x1909bf){delete _0x31dbd3[_0x5cf82f],_0x5c3072=_0x1909bf,clearInterval(this[_0x220a40(0x171)]),this[_0x220a40(0x171)]=void 0x0;break;}}_0x220a40(0x10a)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0xfd)),_0x220a40(0x14e)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0xec)),_0x220a40(0x152)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x162)),_0x220a40(0xff)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x125),_0x220a40(0xd4)),_0x220a40(0x179)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0xdd)),_0x220a40(0x16a)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x11f)),_0x220a40(0xfa)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x176));},0x3e8);}[_0x1af4c6(0x174)](){const _0x51ebdb=_0x1af4c6;super[_0x51ebdb(0x174)](),this[_0x51ebdb(0x171)]&&clearInterval(this[_0x51ebdb(0x171)]);}[_0x1af4c6(0x133)](_0x27bec1='',_0x7d7014='',_0x52a7b4=_0x1af4c6(0x143)){const _0x5c120e=_0x1af4c6,_0x40026d=this[_0x5c120e(0x148)],_0x244556=_0x40026d[_0x5c120e(0xf5)][_0x5c120e(0x108)],_0x4c5acb=_0x40026d[_0x5c120e(0x12c)][_0x5c120e(0xe3)](_0x4454f2),_0x19f7ef=_0x40026d[_0x5c120e(0x12c)][_0x5c120e(0xe3)](_0x309ce6);_0x4c5acb[_0x5c120e(0x166)]();const _0x38ffb1=new w(),_0x2abb7c=new ClipboardEvent(_0x5c120e(0x11e),{'clipboardData':_0x38ffb1}),_0x1e1c2c=new _0x393e90(_0x38ffb1),_0x60843e=new _0x8f9822(_0x244556,_0x2abb7c,{'dataTransfer':_0x1e1c2c});_0x19f7ef[_0x5c120e(0xdf)](_0x5c120e(0xd6),()=>{const _0x3c4d0c=_0x5c120e;_0x244556[_0x3c4d0c(0x130)][_0x3c4d0c(0x15c)](_0x3c4d0c(0x11e),_0x60843e);}),this[_0x5c120e(0x105)]||(this[_0x5c120e(0xf3)](),this[_0x5c120e(0x100)]=new _0x1b47b8(_0x40026d,this[_0x5c120e(0x156)][_0x5c120e(0x10c)],this[_0x5c120e(0x105)]));let _0x33eb87=_0x1e1c2c[_0x5c120e(0x134)](_0x5c120e(0xed));const _0x4795f3=_0x40026d[_0x5c120e(0x10b)][_0x5c120e(0x130)][_0x5c120e(0x182)],_0x3f7b35=Array[_0x5c120e(0x12e)](_0x4795f3[_0x5c120e(0x142)]());0x1===_0x3f7b35[_0x5c120e(0x122)]&&_0x3f7b35[0x0][_0x5c120e(0xde)]&&!_0x4795f3[_0x5c120e(0x16b)]()&&''!==_0x33eb87[_0x5c120e(0x161)](/ /g,'')[_0x5c120e(0x102)]()&&(_0x33eb87=_0x5c120e(0xda)+_0x33eb87+_0x5c120e(0x17d)),this[_0x5c120e(0x100)][_0x5c120e(0x111)]({'actionId':_0x52a7b4,'query':_0x27bec1,'htmlContent':_0x33eb87,'label':_0x7d7014,'mainActionLabel':_0x3b7af2[_0x40026d[_0x5c120e(0x10b)][_0x5c120e(0x130)][_0x5c120e(0x182)][_0x5c120e(0x177)]?_0x5c120e(0xf7):_0x5c120e(0x14d)]}),_0x5c120e(0x128)!==this[_0x5c120e(0xf1)]['id']?this[_0x5c120e(0xf1)][_0x5c120e(0xdc)]({'id':_0x5c120e(0x128),'icon':_0x5544d2,'title':_0x3b9308(this[_0x5c120e(0x148)][_0x5c120e(0x11a)],_0x5c120e(0x117)),'content':this[_0x5c120e(0x105)],'position':_0x49f946[_0x5c120e(0xeb)],'onShow':()=>{const _0x3267d6=_0x5c120e;this[_0x3267d6(0x105)][_0x3267d6(0x12b)]();},'onHide':()=>{const _0x31db84=_0x5c120e;this[_0x31db84(0x100)][_0x31db84(0x13c)](),_0x4c5acb[_0x31db84(0xd8)]();}}):this[_0x5c120e(0xf1)][_0x5c120e(0x108)][_0x5c120e(0x17a)]||this[_0x5c120e(0xf1)][_0x5c120e(0x108)][_0x5c120e(0xfb)]();}[_0x1af4c6(0x119)](){const _0x33dac1=_0x1af4c6;this[_0x33dac1(0xf1)][_0x33dac1(0x136)]();}[_0x1af4c6(0x16e)](){const _0x3e93c5=_0x1af4c6,_0xff2a15=new Map(),_0x6e6748=_0x21fb2a(this[_0x3e93c5(0x148)][_0x3e93c5(0x15b)][_0x3e93c5(0xe3)](_0x3e93c5(0x16f)),this[_0x3e93c5(0x148)][_0x3e93c5(0x11a)]);for(const _0x2fe8c1 of _0x6e6748)for(const _0x53d683 of _0x2fe8c1[_0x3e93c5(0x150)])_0xff2a15[_0x3e93c5(0xf9)](_0x53d683['id'],{..._0x53d683,'groupId':_0x2fe8c1[_0x3e93c5(0x11d)],'groupLabel':_0x2fe8c1[_0x3e93c5(0x181)]||_0x2fe8c1[_0x3e93c5(0x11d)]});return _0xff2a15;}[_0x1af4c6(0x123)](_0x2d3202){const _0x408543=_0x1af4c6,_0x2e6373=this[_0x408543(0x148)],_0x23783c=_0x2e6373[_0x408543(0x150)][_0x408543(0xe3)](_0x408543(0x147)),_0x2d6d42=new _0x2d3202(_0x2e6373[_0x408543(0x11a)]);return _0x2d6d42[_0x408543(0xf9)]({'label':_0x3b9308(_0x2e6373[_0x408543(0x11a)],_0x408543(0x117)),'icon':_0x5544d2,'isToggleable':!0x0}),_0x2d6d42[_0x408543(0xd7)](_0x408543(0x172))['to'](_0x23783c),_0x2d6d42[_0x408543(0xd7)](_0x408543(0x13a))['to'](this[_0x408543(0xf1)],'id',_0x3a47a2=>_0x408543(0x128)===_0x3a47a2),this[_0x408543(0xe8)](_0x2d6d42,_0x408543(0x165),()=>{const _0x4789b5=_0x408543;_0x2d6d42[_0x4789b5(0x13a)]?this[_0x4789b5(0x119)]():_0x23783c[_0x4789b5(0x165)]();}),_0x2d6d42;}[_0x1af4c6(0xf3)](){const _0x4bb3a4=_0x1af4c6,_0x4de181=this[_0x4bb3a4(0x148)][_0x4bb3a4(0x12c)][_0x4bb3a4(0xe3)](_0x4454f2);this[_0x4bb3a4(0x105)]=new _0x5e6a0b(this[_0x4bb3a4(0x148)][_0x4bb3a4(0x11a)],this[_0x4bb3a4(0x103)],this[_0x4bb3a4(0x148)][_0x4bb3a4(0x15b)][_0x4bb3a4(0xe3)](_0x4bb3a4(0x158))),this[_0x4bb3a4(0x105)]['on'](_0x4bb3a4(0x14a),()=>{const _0x160479=_0x4bb3a4;this[_0x160479(0xf1)][_0x160479(0x108)][_0x160479(0x17a)]||this[_0x160479(0xf1)][_0x160479(0x108)][_0x160479(0xfb)]();}),this[_0x4bb3a4(0x105)][_0x4bb3a4(0x16d)][_0x4bb3a4(0x112)][_0x4bb3a4(0x120)]['on'](_0x4bb3a4(0x129),()=>{const _0x14ef3b=_0x4bb3a4;this[_0x14ef3b(0xf1)][_0x14ef3b(0x108)][_0x14ef3b(0x17a)]||this[_0x14ef3b(0xf1)][_0x14ef3b(0x108)][_0x14ef3b(0xfb)]();}),this[_0x4bb3a4(0xe8)](this[_0x4bb3a4(0x105)],_0x4bb3a4(0x131),()=>{const _0x3d2c00=_0x4bb3a4;_0x4de181[_0x3d2c00(0xe6)](this[_0x3d2c00(0x100)][_0x3d2c00(0xe7)]),this[_0x3d2c00(0x119)]();}),this[_0x4bb3a4(0xe8)](this[_0x4bb3a4(0x105)],_0x4bb3a4(0x17e),()=>{const _0x5c0c75=_0x4bb3a4;_0x4de181[_0x5c0c75(0x17e)](this[_0x5c0c75(0x100)][_0x5c0c75(0xe7)]),this[_0x5c0c75(0x119)]();}),this[_0x4bb3a4(0x145)]();}[_0x1af4c6(0x145)](){const _0x25b76a=_0x1af4c6,{locale:_0x542d93,ui:{ariaLiveAnnouncer:_0x4a0bd1}}=this[_0x25b76a(0x148)];this[_0x25b76a(0x105)][_0x25b76a(0x106)]['on'](_0x25b76a(0x164),(_0x577304,_0x2af1de,_0x59c3e9)=>{const _0x5d76ce=_0x25b76a,_0x2518f3=this[_0x5d76ce(0x100)][_0x5d76ce(0xe7)];_0x59c3e9?_0x4a0bd1[_0x5d76ce(0x15e)](_0x3b9308(_0x542d93,_0x5d76ce(0x13b))):_0x2518f3&&_0x4a0bd1[_0x5d76ce(0x15e)](_0x3b9308(_0x542d93,_0x5d76ce(0x124),_0x2518f3),{'politeness':_0x5d76ce(0x12d),'isUnsafeHTML':!0x0});}),this[_0x25b76a(0x105)]['on'](_0x25b76a(0x163),(_0x13bca6,_0x361b6c,_0x59606f)=>{const _0x83b25=_0x25b76a;if(_0x59606f){const _0x1bcb64=this[_0x83b25(0x105)][_0x83b25(0x17c)][_0x83b25(0x169)];_0x4a0bd1[_0x83b25(0x15e)](_0x3b9308(_0x542d93,_0x83b25(0xea),_0x1bcb64));}});}[_0x1af4c6(0x13f)](_0x13e609){const _0x51e71b=_0x1af4c6,_0x16a167=this[_0x51e71b(0x132)][_0x51e71b(0xe3)](_0x13e609),_0x2f528a=this[_0x51e71b(0x148)],_0xb25379=_0x2f528a[_0x51e71b(0x10b)][_0x51e71b(0x130)][_0x51e71b(0x182)],_0x7b4b2a=_0x2f528a[_0x51e71b(0x150)][_0x51e71b(0xe3)](_0x51e71b(0x147)),_0x38d4db=_0x2f528a[_0x51e71b(0x12c)][_0x51e71b(0xe3)](_0x4454f2),_0x4f2baa=''+(_0x16a167[_0x51e71b(0x11d)]!==_0x5eff58?_0x16a167[_0x51e71b(0x181)]+':\x20':'')+_0x16a167[_0x51e71b(0xe2)];if(!0x1!==_0x16a167[_0x51e71b(0x144)]&&_0xb25379[_0x51e71b(0x177)]){const _0xeb45be=_0x14c644(_0xb25379[_0x51e71b(0x149)]())||_0x2f528a[_0x51e71b(0x10b)][_0x51e71b(0xe9)][_0x51e71b(0x12f)](_0xb25379);_0x2f528a[_0x51e71b(0x10b)][_0x51e71b(0x170)](_0xec76c=>{const _0x4bf773=_0x51e71b;_0xec76c[_0x4bf773(0x159)](_0xeb45be,'in');});}_0x38d4db[_0x51e71b(0x166)](),_0x7b4b2a[_0x51e71b(0x165)](_0x16a167[_0x51e71b(0x10d)],_0x4f2baa,_0x51e71b(0x113)+_0x13e609);}[_0x1af4c6(0x109)](_0x4ab03b,_0xe3f85,_0x4ae3f1,_0x11a3df){const _0x346aa9=_0x1af4c6,_0x4f910c=this[_0x346aa9(0x148)],_0x41bd13=_0x4f910c[_0x346aa9(0x11a)],_0x16c5d2=new _0x54f0bb(_0x41bd13),_0x24f35a=U(_0x4f910c,_0x4ae3f1)[_0x346aa9(0x15a)](_0xee69f7=>_0xee69f7[_0x346aa9(0x150)][_0x346aa9(0x122)]);0x1===_0x24f35a[_0x346aa9(0x122)]?this[_0x346aa9(0x110)]({'command':_0x4ab03b,'commands':_0x24f35a[0x0][_0x346aa9(0x150)],'parentMenuView':_0xe3f85,'onExecute':_0x11a3df})[_0x346aa9(0x115)](_0x2df040=>_0x16c5d2[_0x346aa9(0x101)][_0x346aa9(0xe0)](_0x2df040)):_0x24f35a[_0x346aa9(0x115)](({groupId:_0x38fa8a,groupLabel:_0x20e9b0,commands:_0x4058b7})=>{const _0x54b8c2=_0x346aa9,_0x1a243e=new _0x4632ca(_0x41bd13,_0xe3f85),_0x12a662=new _0x228f09(_0x41bd13),_0x5b6a42=new _0x54f0bb(_0x41bd13),_0x29d6a0=this[_0x54b8c2(0x110)]({'command':_0x4ab03b,'commands':_0x4058b7,'parentMenuView':_0x12a662,'onExecute':_0x11a3df});_0x12a662[_0x54b8c2(0x16c)][_0x54b8c2(0xf9)]({'label':_0x20e9b0||_0x38fa8a}),_0x12a662[_0x54b8c2(0x11c)](_0x54b8c2(0x165))['to'](_0xe3f85),_0x5b6a42[_0x54b8c2(0x101)][_0x54b8c2(0xfe)](_0x29d6a0),_0x12a662[_0x54b8c2(0xf4)][_0x54b8c2(0x168)][_0x54b8c2(0xe0)](_0x5b6a42),_0x1a243e[_0x54b8c2(0x168)][_0x54b8c2(0xe0)](_0x12a662),_0x16c5d2[_0x54b8c2(0x101)][_0x54b8c2(0xe0)](_0x1a243e);}),_0xe3f85[_0x346aa9(0xf4)][_0x346aa9(0x168)][_0x346aa9(0xe0)](_0x16c5d2);}[_0x1af4c6(0x110)]({command:_0x3f665d,commands:_0x483e55,parentMenuView:_0x3d4566,onExecute:_0x565b84}){const _0x42a663=_0x1af4c6,_0x1e4099=this[_0x42a663(0x148)],_0x517a76=_0x1e4099[_0x42a663(0x11a)];return U(_0x1e4099,_0x483e55)[_0x42a663(0x12a)](_0x4db344=>{const _0x553ae8=_0x42a663,_0x162b6f=new _0x4632ca(_0x517a76,_0x3d4566),_0x9a3cff=new _0x13f8bf(_0x517a76);return _0x9a3cff[_0x553ae8(0xf9)]({'label':_0x4db344[_0x553ae8(0xe2)]}),_0x9a3cff[_0x553ae8(0x11c)](_0x553ae8(0x165))['to'](_0x3d4566),_0x9a3cff['on'](_0x553ae8(0x165),()=>_0x565b84(_0x4db344['id'])),_0x9a3cff[_0x553ae8(0xd7)](_0x553ae8(0x172))['to'](_0x3f665d,_0x553ae8(0x141),_0xcb7f3d=>_0xcb7f3d[_0x553ae8(0x151)](_0x4db344['id'])),_0x162b6f[_0x553ae8(0x168)][_0x553ae8(0xe0)](_0x9a3cff),_0x162b6f;});}}function B(_0x22a429,_0x222308){const _0x53dc3b=_0x1af4c6;return void 0x0!==_0x22a429[_0x53dc3b(0xd9)]&&void 0x0===_0x222308[_0x53dc3b(0xd9)]?0x1:void 0x0===_0x22a429[_0x53dc3b(0xd9)]&&void 0x0!==_0x222308[_0x53dc3b(0xd9)]?-0x1:void 0x0!==_0x22a429[_0x53dc3b(0xd9)]&&void 0x0!==_0x222308[_0x53dc3b(0xd9)]?_0x22a429[_0x53dc3b(0xd9)]-_0x222308[_0x53dc3b(0xd9)]:0x0;}function U(_0x36eea7,_0x475a24){const _0x43d3ca=_0x1af4c6;_0x475a24[_0x43d3ca(0xf6)](B);const _0x1b211e={},_0x413a5e=[];for(const _0x4e92a7 of _0x475a24)if(void 0x0!==_0x4e92a7[_0x43d3ca(0xd9)]){if(_0x4e92a7[_0x43d3ca(0xd9)]in _0x1b211e)throw new _0x4e71b9(_0x43d3ca(0x104),_0x36eea7,{'conflictingDefinitions':[_0x4e92a7,_0x1b211e[_0x4e92a7[_0x43d3ca(0xd9)]]]});_0x1b211e[_0x4e92a7[_0x43d3ca(0xd9)]]=_0x4e92a7,_0x413a5e[_0x43d3ca(0x138)](_0x4e92a7[_0x43d3ca(0xd9)],0x0,_0x4e92a7);}else _0x413a5e[_0x43d3ca(0xe4)](_0x4e92a7);return _0x413a5e;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2f380d,_0x121811){var _0x2979e7=_0xd3fe,_0x4fefaa=_0x2f380d();while(!![]){try{var _0x37cbb9=parseInt(_0x2979e7(0x19d))/0x1*(parseInt(_0x2979e7(0x19c))/0x2)+-parseInt(_0x2979e7(0x1a2))/0x3*(-parseInt(_0x2979e7(0x1a7))/0x4)+-parseInt(_0x2979e7(0x1a0))/0x5*(parseInt(_0x2979e7(0x1a3))/0x6)+parseInt(_0x2979e7(0x1a5))/0x7*(-parseInt(_0x2979e7(0x19f))/0x8)+-parseInt(_0x2979e7(0x19e))/0x9*(parseInt(_0x2979e7(0x1a6))/0xa)+parseInt(_0x2979e7(0x1a4))/0xb+-parseInt(_0x2979e7(0x1a1))/0xc*(-parseInt(_0x2979e7(0x19b))/0xd);if(_0x37cbb9===_0x121811)break;else _0x4fefaa['push'](_0x4fefaa['shift']());}catch(_0x4b551a){_0x4fefaa['push'](_0x4fefaa['shift']());}}}(_0x18f2,0x6624b));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0xd3fe(_0x4e142c,_0x2198e9){var _0x18f239=_0x18f2();return _0xd3fe=function(_0xd3fe3d,_0xcaf442){_0xd3fe3d=_0xd3fe3d-0x19b;var _0x1f6f28=_0x18f239[_0xd3fe3d];return _0x1f6f28;},_0xd3fe(_0x4e142c,_0x2198e9);}function _0x18f2(){var _0x4a1e6e=['319908ylRyhu','3pjSCTq','6eKUAlv','51007UpKOjV','4739BSLPAf','10yHNuCw','3154740huFwtF','65xPMUpw','1134106TeHYdr','1BvMpZG','220230lQwqdY','2648xpRECi','4133670tUpTYb'];_0x18f2=function(){return _0x4a1e6e;};return _0x18f2();}export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2bb618,_0x3f61d9){var _0x179b2d=_0x7998,_0x2a0d2c=_0x2bb618();while(!![]){try{var _0x49f1f4=parseInt(_0x179b2d(0x12f))/0x1+parseInt(_0x179b2d(0x12d))/0x2+parseInt(_0x179b2d(0x130))/0x3*(parseInt(_0x179b2d(0x132))/0x4)+-parseInt(_0x179b2d(0x134))/0x5+parseInt(_0x179b2d(0x131))/0x6+parseInt(_0x179b2d(0x12e))/0x7*(-parseInt(_0x179b2d(0x12c))/0x8)+-parseInt(_0x179b2d(0x12b))/0x9*(parseInt(_0x179b2d(0x133))/0xa);if(_0x49f1f4===_0x3f61d9)break;else _0x2a0d2c['push'](_0x2a0d2c['shift']());}catch(_0x3590b3){_0x2a0d2c['push'](_0x2a0d2c['shift']());}}}(_0x22f3,0xb8982));function _0x22f3(){var _0x2b614e=['2371446GUHXEr','4956679rcLfNH','88489sDgJvd','3vYEDOm','8084526uIylAM','4916592mHjOUN','10quBMAY','7402420uuwhFH','1782045DPMFLa','16faFzhh'];_0x22f3=function(){return _0x2b614e;};return _0x22f3();}function _0x7998(_0x1ebfe5,_0x4becfe){var _0x22f30f=_0x22f3();return _0x7998=function(_0x79989,_0x49628c){_0x79989=_0x79989-0x12b;var _0x562e2c=_0x22f30f[_0x79989];return _0x562e2c;},_0x7998(_0x1ebfe5,_0x4becfe);}import{CKEditorError as _0xbe0550}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x56a372=_0x4a87;(function(_0x19015e,_0x2c0e5a){const _0x30250a=_0x4a87,_0x134207=_0x19015e();while(!![]){try{const _0x406869=parseInt(_0x30250a(0x1df))/0x1*(-parseInt(_0x30250a(0x212))/0x2)+-parseInt(_0x30250a(0x1d8))/0x3+-parseInt(_0x30250a(0x1cb))/0x4+-parseInt(_0x30250a(0x21c))/0x5*(parseInt(_0x30250a(0x1e7))/0x6)+-parseInt(_0x30250a(0x1e2))/0x7+parseInt(_0x30250a(0x1c7))/0x8+-parseInt(_0x30250a(0x1da))/0x9*(-parseInt(_0x30250a(0x1d9))/0xa);if(_0x406869===_0x2c0e5a)break;else _0x134207['push'](_0x134207['shift']());}catch(_0x10405d){_0x134207['push'](_0x134207['shift']());}}}(_0x2fb0,0x57a48));import{ObservableMixin as _0x3bcf22}from'ckeditor5/src/utils.js';import{AIRequestError as _0x5d119a}from'../adapters/aiadapter.js';function _0x4a87(_0x5be639,_0x10d791){const _0x2fb0e1=_0x2fb0();return _0x4a87=function(_0x4a87fd,_0x4ecf79){_0x4a87fd=_0x4a87fd-0x1bd;let _0x3ab248=_0x2fb0e1[_0x4a87fd];return _0x3ab248;},_0x4a87(_0x5be639,_0x10d791);}function _0x2fb0(){const _0x441746=['then','set:currentContext','_parseAndNormalizeContent','stopProcessing','_handleQuery','<h1></h1>','initialContext','finishProcessing','isProcessing','64140lXTOjP','stringify','previousLabel','startProcessing','makeRequest','editor','from','remove','parseFromString','ELEMENT_NODE','get','name','markers','data','endsWith','234720rGjrKC','isRendered','childNodes','config','1423372ggqhFo','push','```','message','previousQuery','```html','_sanitizationContainer','_isH1TagSupportEnabled','startsWith','serializeToString','_sanitizeHTML','currentContext','catch','525954dAYpON','5630txOHOG','30393nNFqvE','previousActionId','previousContext','trim','handleError','7IMfmcV','_normalizeResponseHeadings','setContentOf','3214743Cyqnpq','view','_domParser','div','finally','12pHNaVV','nodeType','abort','once','toView','render','match','domConverter','reset','substring','createElement','processor','toModel','ai.aiAssistant.preserveComments','custom','rename','set','_stripMarkdownSyntax','stopListening','htmlProcessor','_xmlSerializer','value','prompt','viewToDom','listenTo','tryAgainEvent','length','innerHTML','submitPrompt','mainAction','element','clear','textAdapter','destroy','body','updateView','text/html','querySelector','editing','reverse','document','currentResponse','exec','158726uuLPOo'];_0x2fb0=function(){return _0x441746;};return _0x2fb0();}import{Matcher as _0x5ba4ef,UpcastWriter as _0x4bb672}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3bcf22(){[_0x56a372(0x1bd)];[_0x56a372(0x207)];[_0x56a372(0x1e3)];[_0x56a372(0x1d1)];[_0x56a372(0x1e4)];[_0x56a372(0x1fb)];constructor(_0x1b0b65,_0x4d04df,_0x236c15){const _0x1008ea=_0x56a372;super(),this[_0x1008ea(0x1bd)]=_0x1b0b65,this[_0x1008ea(0x207)]=_0x4d04df,this[_0x1008ea(0x1d1)]=document[_0x1008ea(0x1f1)](_0x1008ea(0x1e5)),this[_0x1008ea(0x1e4)]=new DOMParser(),this[_0x1008ea(0x1fb)]=new XMLSerializer(),this[_0x1008ea(0x1e3)]=_0x236c15,this[_0x1008ea(0x1f7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1008ea(0x214),(_0x5e97b1,_0x4d3307,_0x463f23)=>{const _0x37d1c5=_0x1008ea;this[_0x37d1c5(0x1e3)][_0x37d1c5(0x1fc)]=this[_0x37d1c5(0x1d5)](_0x463f23);}),this[_0x1008ea(0x1ff)](this[_0x1008ea(0x1e3)],_0x1008ea(0x203),(_0x809cd4,_0xe72ac3)=>{const _0xb6eb0c=_0x1008ea,_0x2e89c7=this[_0xb6eb0c(0x1d6)]||this[_0xb6eb0c(0x219)];this[_0xb6eb0c(0x217)](_0xe72ac3,_0x2e89c7,_0xb6eb0c(0x1f5));}),this[_0x1008ea(0x1ff)](this[_0x1008ea(0x1e3)],_0x1008ea(0x200),()=>{const _0x1244fa=_0x1008ea;this[_0x1244fa(0x1e3)][_0x1244fa(0x1fd)]=this[_0x1244fa(0x21e)],this[_0x1244fa(0x217)](this[_0x1244fa(0x1cf)],this[_0x1244fa(0x1dc)],this[_0x1244fa(0x1db)],this[_0x1244fa(0x21e)]);}),this[_0x1008ea(0x1ff)](this[_0x1008ea(0x1e3)],_0x1008ea(0x216),()=>{const _0x5dc500=_0x1008ea;this[_0x5dc500(0x216)]();});}[_0x56a372(0x208)](){const _0x444aec=_0x56a372;this[_0x444aec(0x1f9)]();}async[_0x56a372(0x20a)]({actionId:_0x1f9308,query:_0x3c1024,htmlContent:_0x442276,label:_0x55f424,mainActionLabel:_0x178ac7}){const _0x5beadd=_0x56a372;this[_0x5beadd(0x1e3)][_0x5beadd(0x1fd)]=_0x55f424,this[_0x5beadd(0x1e3)][_0x5beadd(0x204)]=_0x178ac7,this[_0x5beadd(0x219)]=_0x442276,_0x3c1024&&(this[_0x5beadd(0x1e3)][_0x5beadd(0x1c8)]?this[_0x5beadd(0x217)](_0x3c1024,_0x442276,_0x1f9308,_0x55f424):this[_0x5beadd(0x1e3)][_0x5beadd(0x1ea)](_0x5beadd(0x1ec),()=>{const _0x469739=_0x5beadd;this[_0x469739(0x217)](_0x3c1024,_0x442276,_0x1f9308,_0x55f424);}));}[_0x56a372(0x216)](){const _0x5e842b=_0x56a372;this[_0x5e842b(0x21b)]&&(this[_0x5e842b(0x21b)]=!0x1,this[_0x5e842b(0x1e3)][_0x5e842b(0x21a)](),this[_0x5e842b(0x207)][_0x5e842b(0x1e9)]());}[_0x56a372(0x1ef)](){const _0x2b2210=_0x56a372;this[_0x2b2210(0x219)]='',this[_0x2b2210(0x1d6)]='',this[_0x2b2210(0x210)]='',this[_0x2b2210(0x1dc)]='',this[_0x2b2210(0x1cf)]='',this[_0x2b2210(0x21e)]='',this[_0x2b2210(0x1db)]=void 0x0,this[_0x2b2210(0x1e3)][_0x2b2210(0x1ef)](),this[_0x2b2210(0x216)]();}async[_0x56a372(0x217)](_0x2d162e,_0x62600,_0x33069e,_0x399040){const _0x482aeb=_0x56a372;return this[_0x482aeb(0x21b)]=!0x0,this[_0x482aeb(0x1e3)][_0x482aeb(0x21f)](),this[_0x482aeb(0x1dc)]=_0x62600,this[_0x482aeb(0x1cf)]=_0x2d162e,this[_0x482aeb(0x21e)]=_0x399040||_0x2d162e,this[_0x482aeb(0x1db)]=_0x33069e,new Promise(_0x394b8e=>{const _0x512456=_0x482aeb;this[_0x512456(0x207)][_0x512456(0x220)]({'query':_0x2d162e,'context':_0x62600,'onData':_0x2c2577=>{const _0x1e82ca=_0x512456;this[_0x1e82ca(0x210)]=_0x2c2577,this[_0x1e82ca(0x1d6)]=this[_0x1e82ca(0x215)](this[_0x1e82ca(0x210)]);},'actionId':_0x33069e})[_0x512456(0x213)](()=>{const _0x4196c4=_0x512456;!this[_0x4196c4(0x1d6)]&&this[_0x4196c4(0x210)]&&(this[_0x4196c4(0x1d6)]=this[_0x4196c4(0x215)](this[_0x4196c4(0x210)],!0x0));})[_0x512456(0x1d7)](_0xfa9e88=>{const _0x523e9d=_0x512456;_0xfa9e88 instanceof _0x5d119a?this[_0x523e9d(0x1e3)][_0x523e9d(0x1de)](_0xfa9e88[_0x523e9d(0x1ce)]):this[_0x523e9d(0x1e3)][_0x523e9d(0x1de)](),_0x394b8e();})[_0x512456(0x1e6)](()=>{const _0x31bd9a=_0x512456;this[_0x31bd9a(0x216)](),_0x394b8e();});});}[_0x56a372(0x215)](_0x210374,_0x187b1b=!0x1){const _0x3a2bfc=_0x56a372,_0x3acf45=Z[_0x3a2bfc(0x211)](_0x210374);_0x210374=_0x3acf45?_0x210374[_0x3a2bfc(0x1f0)](_0x3acf45[0x1][_0x3a2bfc(0x201)]):_0x210374[_0x3a2bfc(0x201)]<0x64&&!_0x187b1b?'':this[_0x3a2bfc(0x1f8)](_0x210374);const _0x26ad2e=this[_0x3a2bfc(0x1e4)][_0x3a2bfc(0x1c0)](_0x210374,_0x3a2bfc(0x20b));if(_0x3acf45){const _0x3f8f67=Array[_0x3a2bfc(0x1be)](_0x26ad2e[_0x3a2bfc(0x209)][_0x3a2bfc(0x1c9)]);_0x3f8f67[_0x3a2bfc(0x20e)]();for(const _0x5a5438 of _0x3f8f67){if(_0x5a5438[_0x3a2bfc(0x1e8)]==Node[_0x3a2bfc(0x1c1)])break;_0x5a5438[_0x3a2bfc(0x1bf)]();}}const _0xf9eb0c=this[_0x3a2bfc(0x1bd)][_0x3a2bfc(0x1c5)][_0x3a2bfc(0x1f2)][_0x3a2bfc(0x1eb)](this[_0x3a2bfc(0x1fb)][_0x3a2bfc(0x1d4)](_0x26ad2e[_0x3a2bfc(0x209)]));this[_0x3a2bfc(0x1d2)]()||this[_0x3a2bfc(0x1e0)](_0xf9eb0c);const _0x1202ac=this[_0x3a2bfc(0x1bd)][_0x3a2bfc(0x1ca)][_0x3a2bfc(0x1c2)](_0x3a2bfc(0x1f4)),_0xea17f7=this[_0x3a2bfc(0x1bd)][_0x3a2bfc(0x1c5)][_0x3a2bfc(0x1f3)](_0xf9eb0c);return _0x1202ac||_0xea17f7[_0x3a2bfc(0x1c4)][_0x3a2bfc(0x206)](),this[_0x3a2bfc(0x1bd)][_0x3a2bfc(0x1c5)][_0x3a2bfc(0x21d)](_0xea17f7);}[_0x56a372(0x1e0)](_0xcc8e1){const _0x558f6c=_0x56a372,_0x49211d=new _0x4bb672(this[_0x558f6c(0x1bd)][_0x558f6c(0x20d)][_0x558f6c(0x1e3)][_0x558f6c(0x20f)]),_0x3bd3ce=new _0x5ba4ef({'name':/^h[1-5]$/}),_0x3ed3df=[];let _0x47a0a8=!0x1;for(const _0x550fa8 of _0xcc8e1)_0x550fa8['is'](_0x558f6c(0x205))&&_0x3bd3ce[_0x558f6c(0x1ed)](_0x550fa8)&&(_0x3ed3df[_0x558f6c(0x1cc)](_0x550fa8),'h1'==_0x550fa8[_0x558f6c(0x1c3)]&&(_0x47a0a8=!0x0));if(_0x47a0a8){for(const _0x1d2d94 of _0x3ed3df)_0x49211d[_0x558f6c(0x1f6)]('h'+(parseInt(_0x1d2d94[_0x558f6c(0x1c3)][0x1])+0x1),_0x1d2d94);}}[_0x56a372(0x1d2)](){const _0x388f50=_0x56a372,{data:_0x486822,editing:_0x448ff7}=this[_0x388f50(0x1bd)],_0x369130=_0x486822[_0x388f50(0x1fa)][_0x388f50(0x1eb)](_0x388f50(0x218)),_0x5bba21=_0x486822[_0x388f50(0x1eb)](_0x486822[_0x388f50(0x1f3)](_0x369130));return!!_0x448ff7[_0x388f50(0x1e3)][_0x388f50(0x1ee)][_0x388f50(0x1fe)](_0x5bba21)[_0x388f50(0x20c)]('h1');}[_0x56a372(0x1d5)](_0x8f6835){const _0x483482=_0x56a372;return this[_0x483482(0x1bd)][_0x483482(0x20d)][_0x483482(0x1e3)][_0x483482(0x1ee)][_0x483482(0x1e1)](this[_0x483482(0x1d1)],_0x8f6835),this[_0x483482(0x1d1)][_0x483482(0x202)];}[_0x56a372(0x1f8)](_0x2ea2ea){const _0x4d93ee=_0x56a372,_0x255bfb=_0x2ea2ea[_0x4d93ee(0x1dd)]();return _0x255bfb[_0x4d93ee(0x1d3)](_0x4d93ee(0x1d0))?_0x255bfb[_0x4d93ee(0x1c6)](_0x4d93ee(0x1cd))?_0x255bfb[_0x4d93ee(0x1f0)](0x7,_0x255bfb[_0x4d93ee(0x201)]-0x3):_0x255bfb[_0x4d93ee(0x1f0)](0x7):_0x2ea2ea;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e2516=_0x33d8;(function(_0x71d8fe,_0x20bca4){const _0x48fd1c=_0x33d8,_0x720662=_0x71d8fe();while(!![]){try{const _0x279d9e=-parseInt(_0x48fd1c(0x1ec))/0x1+parseInt(_0x48fd1c(0x1ba))/0x2*(-parseInt(_0x48fd1c(0x1f2))/0x3)+parseInt(_0x48fd1c(0x1ef))/0x4*(parseInt(_0x48fd1c(0x206))/0x5)+parseInt(_0x48fd1c(0x202))/0x6+parseInt(_0x48fd1c(0x1c7))/0x7+parseInt(_0x48fd1c(0x1c6))/0x8+-parseInt(_0x48fd1c(0x1f7))/0x9;if(_0x279d9e===_0x20bca4)break;else _0x720662['push'](_0x720662['shift']());}catch(_0x1ed4b4){_0x720662['push'](_0x720662['shift']());}}}(_0x31d2,0x1e388));import{global as _0x56c223}from'ckeditor5/src/utils.js';function _0x33d8(_0xd79bb1,_0x5106ad){const _0x31d225=_0x31d2();return _0x33d8=function(_0x33d8e5,_0x11ff48){_0x33d8e5=_0x33d8e5-0x1b9;let _0xb4b68c=_0x31d225[_0x33d8e5];return _0xb4b68c;},_0x33d8(_0xd79bb1,_0x5106ad);}function _0x31d2(){const _0x532748=['locale','absolute','161883KxOSuG','smooth','lastElementChild','getSelection','remove','2462454eZnXnG','execCommand','div','wheel','change:isProcessing','_createCopyButton','setContent','loaderView','querySelector','ck-ai-form__content-area','isEnabled','525174gizhXI','change:value','appendLoader','bindTemplate','5MfiOqT','setTemplate','setStartAfter','firstElementChild','ck-reset_all-excluded','contentFieldView','ck-ai-form__loader','setEndBefore','6pfCpTI','style','copy','set','class','icon','<span>[</span>','addRange','appendChild','scrollTo','ck-hidden','left','1885008LdRyVZ','1503677sAPdjG','isVisible','value','copyButtonView','<span>]</span>','write','_copyHTMLToClipboard','Copy','createElement','ck-ai-form__copy-button','ck-ai-form__content-area-wrapper','mousedown','clipboard','text/html','AI\x20is\x20writing...','focus','.ck-ai-form__loader','ck-content','\x20ck-ai-form__copy-button--copied','text/plain','ClipboardItem','element','scrollHeight','ck-ai-form__content-field','position','listenTo','isProcessing','execute','body','_createLoader','ck-ai-form__copy-button-wrapper','bind','innerHTML','removeAllRanges','-9999px','ck-ai-form__content-area--processing','render','162497hplKBx','textContent','createRange','735216OsPlNC'];_0x31d2=function(){return _0x532748;};return _0x31d2();}import{View as _0x3b7142,ButtonView as _0x53acd5,SpinnerView as _0x534d5b}from'ckeditor5/src/ui.js';import{IconCheck as _0x26f3e2,IconCopy as _0x3898ee}from'ckeditor5/src/icons.js';import{getTranslation as _0x28681c}from'../../utils/common-translations.js';export default class Y extends _0x3b7142{[_0x5e2516(0x20b)];[_0x5e2516(0x1ca)];constructor(_0x13c9ba,_0x2f61e2=''){const _0x4f4096=_0x5e2516;super(_0x13c9ba),this[_0x4f4096(0x1bd)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1f67f0=this[_0x4f4096(0x205)];this[_0x4f4096(0x20b)]=new ContentFieldView(_0x13c9ba,_0x2f61e2),this[_0x4f4096(0x1ca)]=this[_0x4f4096(0x1fc)](),this[_0x4f4096(0x207)]({'tag':_0x4f4096(0x1f9),'attributes':{'class':['ck',_0x4f4096(0x1d1),_0x1f67f0['if'](_0x4f4096(0x1c8),_0x4f4096(0x1c4),_0x3e18e5=>!_0x3e18e5)],'tabindex':'-1'},'children':[{'tag':_0x4f4096(0x1f9),'attributes':{'class':['ck',_0x4f4096(0x200),_0x1f67f0['if'](_0x4f4096(0x1e1),_0x4f4096(0x1ea))]},'children':[this[_0x4f4096(0x20b)],{'tag':_0x4f4096(0x1f9),'attributes':{'class':['ck',_0x4f4096(0x1e5)]},'children':[this[_0x4f4096(0x1ca)]]}]}]});}[_0x5e2516(0x1eb)](){const _0x407b1d=_0x5e2516;super[_0x407b1d(0x1eb)](),this[_0x407b1d(0x1c9)]&&this[_0x407b1d(0x20b)][_0x407b1d(0x1fd)](this[_0x407b1d(0x1c9)]);let _0x1c1036=!0x1;this['on'](_0x407b1d(0x203),(_0x5c245b,_0x25e2b1,_0x9de5)=>{const _0x38b9f5=_0x407b1d,_0x108102=!this[_0x38b9f5(0x20b)][_0x38b9f5(0x1dc)][_0x38b9f5(0x1ff)](_0x38b9f5(0x1d7));this[_0x38b9f5(0x20b)][_0x38b9f5(0x1fd)](_0x9de5),this[_0x38b9f5(0x1e1)]&&_0x108102&&!_0x1c1036&&this[_0x38b9f5(0x1dc)][_0x38b9f5(0x1c3)]({'top':this[_0x38b9f5(0x1dc)][_0x38b9f5(0x1dd)],'behavior':_0x38b9f5(0x1f3)});}),this['on'](_0x407b1d(0x1fb),(_0x24ebed,_0x24c942,_0x2b4048)=>{const _0x3abfeb=_0x407b1d;_0x1c1036=!0x1,_0x2b4048?(this[_0x3abfeb(0x1c9)]=null,this[_0x3abfeb(0x20b)][_0x3abfeb(0x204)]()):this[_0x3abfeb(0x1c9)]||this[_0x3abfeb(0x20b)][_0x3abfeb(0x1fd)]('');}),this[_0x407b1d(0x1e0)](this[_0x407b1d(0x1dc)],_0x407b1d(0x1fa),()=>{_0x1c1036=!0x0;}),this[_0x407b1d(0x1e0)](this[_0x407b1d(0x1dc)],_0x407b1d(0x1d2),()=>{_0x1c1036=!0x0;});}[_0x5e2516(0x1d6)](){const _0xd33731=_0x5e2516;this[_0xd33731(0x1dc)][_0xd33731(0x1d6)]();}[_0x5e2516(0x1fc)](){const _0x1a7098=_0x5e2516,_0x5804f0=this[_0x1a7098(0x1f0)],_0x7051f6=new _0x53acd5(this[_0x1a7098(0x1f0)]),_0x3508e3=_0x1a7098(0x1d0);return _0x7051f6[_0x1a7098(0x1bd)]({'label':_0x28681c(_0x5804f0,_0x1a7098(0x1ce)),'icon':_0x3898ee,'class':_0x3508e3,'tooltip':!0x0}),_0x7051f6[_0x1a7098(0x1e6)](_0x1a7098(0x1c8))['to'](this,_0x1a7098(0x1c9),_0x211491=>!!_0x211491),_0x7051f6[_0x1a7098(0x1e6)](_0x1a7098(0x201))['to'](this,_0x1a7098(0x1e1),_0x58c30b=>!_0x58c30b),_0x7051f6['on'](_0x1a7098(0x1e2),()=>{const _0xd1217a=_0x1a7098;this[_0xd1217a(0x1cd)](this[_0xd1217a(0x20b)][_0xd1217a(0x1dc)]),_0x7051f6[_0xd1217a(0x1bf)]=_0x26f3e2,_0x7051f6[_0xd1217a(0x1be)]=_0x3508e3+_0xd1217a(0x1d9),this[_0xd1217a(0x1d6)](),setTimeout(()=>{const _0x323337=_0xd1217a;_0x7051f6[_0x323337(0x1bf)]=_0x3898ee,_0x7051f6[_0x323337(0x1be)]=_0x3508e3;},0x3e8);}),_0x7051f6;}[_0x5e2516(0x1cd)](_0x42ac18){const _0xd86e05=_0x5e2516,{window:_0x329b16,document:_0xb27cdb}=_0x56c223;if(_0x329b16[_0xd86e05(0x1db)]){const {Blob:_0x588194,ClipboardItem:_0x19f5ee}=_0x329b16,_0x31e73d=[new _0x19f5ee({'text/html':new _0x588194([_0x42ac18[_0xd86e05(0x1e7)]],{'type':_0xd86e05(0x1d4)}),'text/plain':new _0x588194([_0x42ac18[_0xd86e05(0x1ed)]||''],{'type':_0xd86e05(0x1da)})})];navigator[_0xd86e05(0x1d3)][_0xd86e05(0x1cc)](_0x31e73d);}else{const _0x49975c=_0xb27cdb[_0xd86e05(0x1cf)](_0xd86e05(0x1f9));_0x49975c[_0xd86e05(0x1bb)][_0xd86e05(0x1df)]=_0xd86e05(0x1f1),_0x49975c[_0xd86e05(0x1bb)][_0xd86e05(0x1c5)]=_0xd86e05(0x1e9),_0x49975c[_0xd86e05(0x1e7)]=_0xd86e05(0x1c0)+_0x42ac18[_0xd86e05(0x1e7)]+_0xd86e05(0x1cb),_0xb27cdb[_0xd86e05(0x1e3)][_0xd86e05(0x1c2)](_0x49975c);const _0x3f22e6=_0xb27cdb[_0xd86e05(0x1ee)]();_0x3f22e6[_0xd86e05(0x208)](_0x49975c[_0xd86e05(0x209)]),_0x3f22e6[_0xd86e05(0x1b9)](_0x49975c[_0xd86e05(0x1f4)]);const _0xa9797f=_0x329b16[_0xd86e05(0x1f5)]();_0xa9797f[_0xd86e05(0x1e8)](),_0xa9797f[_0xd86e05(0x1c1)](_0x3f22e6),_0xb27cdb[_0xd86e05(0x1f8)](_0xd86e05(0x1bc)),_0x49975c[_0xd86e05(0x1f6)]();}}}export class ContentFieldView extends _0x3b7142{constructor(_0x4c14e3,_0x3a7920=''){const _0x3fa5e9=_0x5e2516;super(_0x4c14e3),this[_0x3fa5e9(0x1fe)]=this[_0x3fa5e9(0x1e4)](),this[_0x3fa5e9(0x207)]({'tag':_0x3fa5e9(0x1f9),'attributes':{'class':['ck',_0x3fa5e9(0x1d8),_0x3a7920,_0x3fa5e9(0x20a),_0x3fa5e9(0x1de)]}});}[_0x5e2516(0x1fd)](_0x1712b5){const _0x107f79=_0x5e2516;this[_0x107f79(0x1dc)][_0x107f79(0x1e7)]=_0x1712b5;}[_0x5e2516(0x204)](){const _0x5566e6=_0x5e2516;this[_0x5566e6(0x1dc)][_0x5566e6(0x1c2)](this[_0x5566e6(0x1fe)][_0x5566e6(0x1dc)]);}[_0x5e2516(0x1e4)](){const _0x348c5b=_0x5e2516,_0x2f6656=new _0x3b7142(),_0x3c3ff6=this[_0x348c5b(0x1f0)],_0x4d0575=new _0x534d5b();return _0x4d0575[_0x348c5b(0x1c8)]=!0x0,_0x2f6656[_0x348c5b(0x207)]({'tag':_0x348c5b(0x1f9),'attributes':{'class':['ck',_0x348c5b(0x20c)]},'children':[_0x4d0575,{'text':_0x28681c(_0x3c3ff6,_0x348c5b(0x1d5))}]}),_0x2f6656[_0x348c5b(0x1eb)](),_0x2f6656;}}
|
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module ai/ui/aiformerrorview
|
|
7
|
-
*/
|
|
8
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
6
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
7
|
/**
|
|
11
8
|
* A class representing the error view of the AI assistant.
|
|
12
9
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5194de,_0x4adb94){const _0x4e3f06=_0x5c20,_0x12b752=_0x5194de();while(!![]){try{const _0x1b2a22=parseInt(_0x4e3f06(0x15a))/0x1+parseInt(_0x4e3f06(0x154))/0x2*(parseInt(_0x4e3f06(0x161))/0x3)+parseInt(_0x4e3f06(0x159))/0x4*(-parseInt(_0x4e3f06(0x157))/0x5)+parseInt(_0x4e3f06(0x156))/0x6+parseInt(_0x4e3f06(0x163))/0x7*(parseInt(_0x4e3f06(0x15b))/0x8)+-parseInt(_0x4e3f06(0x160))/0x9+-parseInt(_0x4e3f06(0x158))/0xa*(parseInt(_0x4e3f06(0x15c))/0xb);if(_0x1b2a22===_0x4adb94)break;else _0x12b752['push'](_0x12b752['shift']());}catch(_0x4d29a8){_0x12b752['push'](_0x12b752['shift']());}}}(_0x4f4f,0x2f72e));import{IconError as _0x36b5aa}from'ckeditor5/src/icons.js';import{View as _0x82c989,IconView as _0x2840a2}from'ckeditor5/src/ui.js';function _0x4f4f(){const _0x3a8d95=['ck-ai-form__error','958698rjCjPL','111nsNEhG','set','407967IuHmOZ','content','text','3390zmsVuU','div','1085532ayLyTj','410uHoxvv','84380CYmnQg','18280zwpqxT','215727jXBnSZ','32vASETh','22zLiiXP','bindTemplate','setTemplate'];_0x4f4f=function(){return _0x3a8d95;};return _0x4f4f();}function _0x5c20(_0x55c48b,_0x4f1976){const _0x4f4fd0=_0x4f4f();return _0x5c20=function(_0x5c204a,_0x3ada68){_0x5c204a=_0x5c204a-0x153;let _0x530208=_0x4f4fd0[_0x5c204a];return _0x530208;},_0x5c20(_0x55c48b,_0x4f1976);}export default class st extends _0x82c989{constructor(_0xe4757b,_0x13d937=''){const _0x1f0714=_0x5c20;super(_0xe4757b);const _0x3d9d9e=new _0x2840a2(),_0x1d6878=this[_0x1f0714(0x15d)];this[_0x1f0714(0x162)](_0x1f0714(0x153),_0x13d937),_0x3d9d9e[_0x1f0714(0x164)]=_0x36b5aa,this[_0x1f0714(0x15e)]({'tag':_0x1f0714(0x155),'attributes':{'class':['ck',_0x1f0714(0x15f)]},'children':[_0x3d9d9e,{'text':_0x1d6878['to'](_0x1f0714(0x153))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5ac996=_0x1a93;(function(_0x2c1ef5,_0x21ab87){const _0x4fe5b3=_0x1a93,_0x2ce5cc=_0x2c1ef5();while(!![]){try{const _0x53016a=parseInt(_0x4fe5b3(0xa7))/0x1+parseInt(_0x4fe5b3(0xb7))/0x2+parseInt(_0x4fe5b3(0xb1))/0x3+-parseInt(_0x4fe5b3(0x9e))/0x4*(-parseInt(_0x4fe5b3(0xac))/0x5)+-parseInt(_0x4fe5b3(0x89))/0x6+-parseInt(_0x4fe5b3(0x87))/0x7+parseInt(_0x4fe5b3(0x8c))/0x8*(-parseInt(_0x4fe5b3(0x8d))/0x9);if(_0x53016a===_0x21ab87)break;else _0x2ce5cc['push'](_0x2ce5cc['shift']());}catch(_0x43811b){_0x2ce5cc['push'](_0x2ce5cc['shift']());}}}(_0x296c,0x9e742));import{Rect as _0x352911,global as _0x283799,isVisible as _0x390d84}from'ckeditor5/src/utils.js';import{IconHistory as _0x51c504,IconSubmit as _0x56aab9}from'ckeditor5/src/icons.js';function _0x1a93(_0x3b5758,_0x2ad3a3){const _0x296c27=_0x296c();return _0x1a93=function(_0x1a93ae,_0x1e6977){_0x1a93ae=_0x1a93ae-0x85;let _0x2b6fd9=_0x296c27[_0x1a93ae];return _0x2b6fd9;},_0x1a93(_0x3b5758,_0x2ad3a3);}function _0x296c(){const _0x3853bd=['minRows','813783ZYtdDe','Submit','ck-ai-form__toggle-history','width','isVisible','75lPavGE','isEnabled','submitButtonView','_createShowHistoryButton','isOn','1003401YDBiwb','bind','resultsView','fire','execute','rtl','2329550mNFUSQ','style','left','target','submit','render','requestAnimationFrame','enter','showHistoryButtonView','1130094PAReJW','focusFirst','7044678ljgaXw','keystrokes','uiLanguageDirection','4168fehXgr','17811BaeXaJ','filteredView','add','ck-ai-form__submit','fieldWrapperChildren','window','element','children','update','focusCycler','focusLast','fieldView','locale','right','_createSubmitButton','focus','set','187364BqymNH','excludeScrollbarsAndBorders','isEmpty','maxRows','focusableChildren','History','value','queryView'];_0x296c=function(){return _0x3853bd;};return _0x296c();}import{AutocompleteView as _0x4fad1b,ButtonView as _0xfb9297}from'ckeditor5/src/ui.js';import{getTranslation as _0xf33d1d}from'../../utils/common-translations.js';export default class ct extends _0x4fad1b{[_0x5ac996(0xae)];[_0x5ac996(0x86)];constructor(_0x5ee122,_0x52e539){const _0x2f5920=_0x5ac996;super(_0x5ee122,_0x52e539),this[_0x2f5920(0xa5)][_0x2f5920(0x98)][_0x2f5920(0xa6)]=0x1,this[_0x2f5920(0xa5)][_0x2f5920(0x98)][_0x2f5920(0xa1)]=0x3,this[_0x2f5920(0xae)]=this[_0x2f5920(0x9b)](),this[_0x2f5920(0x86)]=this[_0x2f5920(0xaf)](),this[_0x2f5920(0xa2)][_0x2f5920(0x8f)](this[_0x2f5920(0x86)],0x1),this[_0x2f5920(0xa2)][_0x2f5920(0x8f)](this[_0x2f5920(0xae)]);}[_0x5ac996(0xbc)](){const _0x26d3e1=_0x5ac996;super[_0x26d3e1(0xbc)](),this[_0x26d3e1(0xa5)][_0x26d3e1(0x91)][_0x26d3e1(0x8f)](this[_0x26d3e1(0x86)]),this[_0x26d3e1(0x94)][_0x26d3e1(0x8f)](this[_0x26d3e1(0xae)]),this[_0x26d3e1(0x8a)][_0x26d3e1(0x9d)](_0x26d3e1(0x85),(_0x2f864f,_0x1666c0)=>{const _0x2ae7b8=_0x26d3e1;_0x2f864f[_0x2ae7b8(0xba)]==this[_0x2ae7b8(0xa5)][_0x2ae7b8(0x98)][_0x2ae7b8(0x93)]&&(this[_0x2ae7b8(0xbb)](),_0x1666c0());});}[_0x5ac996(0x9b)](){const _0x516432=_0x5ac996,_0x44651f=new _0xfb9297(this[_0x516432(0x99)]),_0x2a27f6=this[_0x516432(0x99)];return _0x44651f[_0x516432(0x9d)]({'icon':_0x56aab9,'label':_0xf33d1d(_0x2a27f6,_0x516432(0xa8)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x516432(0x90)}),_0x44651f['on'](_0x516432(0xb5),()=>{const _0x1c637b=_0x516432;this[_0x1c637b(0xbb)]();}),_0x44651f[_0x516432(0xb2)](_0x516432(0xad))['to'](this[_0x516432(0xa5)][_0x516432(0x98)],_0x516432(0xa0),this,_0x516432(0xad),(_0x1241e0,_0x1b3c7a)=>!_0x1241e0&&_0x1b3c7a),_0x44651f;}[_0x5ac996(0xaf)](){const _0x28c724=_0x5ac996,_0x4aabec=new _0xfb9297(this[_0x28c724(0x99)]),_0x4847e2=this[_0x28c724(0xb3)],_0x2c40ee=this[_0x28c724(0x99)];_0x4aabec[_0x28c724(0x9d)]({'label':_0xf33d1d(_0x2c40ee,_0x28c724(0xa3)),'withText':!0x1,'icon':_0x51c504,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x28c724(0xa9)}),_0x4aabec[_0x28c724(0xb2)](_0x28c724(0xb0))['to'](_0x4847e2,_0x28c724(0xab)),_0x4aabec[_0x28c724(0xb2)](_0x28c724(0xad))['to'](this,_0x28c724(0xad)),_0x4aabec['on'](_0x28c724(0xb5),()=>{const _0xfd288=_0x28c724;_0x4847e2[_0xfd288(0xab)]=!_0x4847e2[_0xfd288(0xab)],_0x4847e2[_0xfd288(0xab)]?this[_0xfd288(0x8e)][_0xfd288(0x9c)]():this[_0xfd288(0x9c)]();});const _0x1a108f=()=>{const _0x2de7d4=_0x28c724;_0x283799[_0x2de7d4(0x92)][_0x2de7d4(0xbd)](()=>{const _0xb0464a=_0x2de7d4;if(_0x390d84(this[_0xb0464a(0x93)])){const _0x55b284=new _0x352911(this[_0xb0464a(0xa5)][_0xb0464a(0x98)][_0xb0464a(0x93)]),_0x3dfe6f=_0x55b284[_0xb0464a(0xaa)],_0x214352=_0xb0464a(0xb6)===_0x2c40ee[_0xb0464a(0x8b)]?_0xb0464a(0xb9):_0xb0464a(0x9a);_0x55b284[_0xb0464a(0x9f)](),_0x4aabec[_0xb0464a(0x93)][_0xb0464a(0xb8)][_0x214352]=_0x3dfe6f-_0x55b284[_0xb0464a(0xaa)]+0x1+'px';}});};return this[_0x28c724(0xa5)][_0x28c724(0x98)]['on'](_0x28c724(0x95),_0x1a108f),this['on'](_0x28c724(0xbc),_0x1a108f),_0x4aabec;}[_0x5ac996(0xbb)](){const _0x38a009=_0x5ac996,_0x47fb06=this[_0x38a009(0xa5)][_0x38a009(0x98)][_0x38a009(0x93)][_0x38a009(0xa4)];this[_0x38a009(0xb4)](_0x38a009(0xbb),_0x47fb06);}[_0x5ac996(0x9c)](_0x51e7a9){const _0xc54bdc=_0x5ac996;-0x1===_0x51e7a9?this[_0xc54bdc(0x96)][_0xc54bdc(0x97)]():this[_0xc54bdc(0x96)][_0xc54bdc(0x88)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4515a6=_0x5ed4;(function(_0x5cfbcd,_0xc196cf){const _0x174cf3=_0x5ed4,_0x167050=_0x5cfbcd();while(!![]){try{const _0x3cb437=-parseInt(_0x174cf3(0xd2))/0x1*(parseInt(_0x174cf3(0xcf))/0x2)+parseInt(_0x174cf3(0xc3))/0x3+-parseInt(_0x174cf3(0xd1))/0x4*(-parseInt(_0x174cf3(0xc5))/0x5)+-parseInt(_0x174cf3(0xd4))/0x6*(-parseInt(_0x174cf3(0xba))/0x7)+parseInt(_0x174cf3(0xbd))/0x8*(-parseInt(_0x174cf3(0xcd))/0x9)+parseInt(_0x174cf3(0xc4))/0xa+parseInt(_0x174cf3(0xce))/0xb;if(_0x3cb437===_0xc196cf)break;else _0x167050['push'](_0x167050['shift']());}catch(_0xecb10d){_0x167050['push'](_0x167050['shift']());}}}(_0x1fd2,0x6390c));function _0x5ed4(_0x1595cc,_0x465d56){const _0x1fd27e=_0x1fd2();return _0x5ed4=function(_0x5ed4d2,_0x23f824){_0x5ed4d2=_0x5ed4d2-0xb5;let _0x1c99e7=_0x1fd27e[_0x5ed4d2];return _0x1c99e7;},_0x5ed4(_0x1595cc,_0x465d56);}import{ToolbarView as _0x3b7472,ButtonView as _0x3cb307}from'ckeditor5/src/ui.js';import{getTranslation as _0x290ae5}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4515a6(0xd5),'INSERT':_0x4515a6(0xd6)};export default class lt extends _0x3b7472{constructor(_0x2b33d5){const _0x58b92a=_0x4515a6;super(_0x2b33d5),this[_0x58b92a(0xda)](_0x58b92a(0xd3),!0x1),this[_0x58b92a(0xda)](_0x58b92a(0xb6),AIFormToolbarViewMainActionLabel[_0x58b92a(0xbb)]),this[_0x58b92a(0xcb)]=this[_0x58b92a(0xbc)]('',_0x58b92a(0xd8)),this[_0x58b92a(0xcb)][_0x58b92a(0xb7)](_0x58b92a(0xc2))['to'](this,_0x58b92a(0xb6),_0x59d2be=>_0x290ae5(_0x2b33d5,_0x58b92a(0xd0)+_0x59d2be[_0x58b92a(0xd9)]()+_0x58b92a(0xc9))),this[_0x58b92a(0xb8)]=this[_0x58b92a(0xbc)](_0x290ae5(_0x2b33d5,_0x58b92a(0xb9))),this[_0x58b92a(0xc6)]=this[_0x58b92a(0xbc)](_0x290ae5(_0x2b33d5,_0x58b92a(0xcc))),this[_0x58b92a(0xc8)]=this[_0x58b92a(0xbc)](_0x290ae5(_0x2b33d5,_0x58b92a(0xd7)));const _0x2b242e=this[_0x58b92a(0xbf)];this[_0x58b92a(0xc0)]({'attributes':{'class':[_0x58b92a(0xca),_0x2b242e['if'](_0x58b92a(0xd3),_0x58b92a(0xc1),_0x5863c4=>!_0x5863c4)]}}),this[_0x58b92a(0xbe)][_0x58b92a(0xc7)]([this[_0x58b92a(0xcb)],this[_0x58b92a(0xb8)],this[_0x58b92a(0xc6)],this[_0x58b92a(0xc8)]]);}[_0x4515a6(0xbc)](_0x3501f7,_0x2a5be0){const _0x48dae6=_0x4515a6,_0x4d6b23=new _0x3cb307(this[_0x48dae6(0xb5)]);return _0x4d6b23[_0x48dae6(0xda)]({'label':_0x3501f7,'class':_0x2a5be0||'','isVisible':!0x0,'withText':!0x0}),_0x4d6b23;}}function _0x1fd2(){const _0x4e928a=['AI_','4eFLNzN','1CLygjd','isVisible','6vNGlYz','replace','insert','Stop','ck-button-action','toUpperCase','set','locale','mainAction','bind','insertButton','Insert\x20below','1611323BiFIjJ','REPLACE','_createButton','80832TDPVVI','items','bindTemplate','extendTemplate','ck-hidden','label','801516pwywlE','3560570DaqFQv','1772410ARguRw','tryAgainButton','addMany','stopButton','_CONTENT','ck-ai-form__toolbar','replaceButton','Try\x20again','495iSMwSl','380094BLbrCD','557828cFbGtY'];_0x1fd2=function(){return _0x4e928a;};return _0x1fd2();}
|