@ckeditor/ckeditor5-ai 44.3.0-alpha.7 → 45.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x17f1b7=_0x26b5;(function(_0x75ad1b,_0x1f6b71){const _0x31efa3=_0x26b5,_0x2c17d1=_0x75ad1b();while(!![]){try{const _0x1d9a9e=parseInt(_0x31efa3(0x1ba))/0x1*(-parseInt(_0x31efa3(0x1e4))/0x2)+-parseInt(_0x31efa3(0x1da))/0x3+-parseInt(_0x31efa3(0x1d6))/0x4*(parseInt(_0x31efa3(0x1eb))/0x5)+-parseInt(_0x31efa3(0x1de))/0x6*(-parseInt(_0x31efa3(0x1c7))/0x7)+parseInt(_0x31efa3(0x1f0))/0x8+-parseInt(_0x31efa3(0x1b2))/0x9+parseInt(_0x31efa3(0x1a2))/0xa;if(_0x1d9a9e===_0x1f6b71)break;else _0x2c17d1['push'](_0x2c17d1['shift']());}catch(_0x4c6fde){_0x2c17d1['push'](_0x2c17d1['shift']());}}}(_0x338a,0x6cd4d));import{uid as _0xada23f}from'ckeditor5/src/utils.js';import{Plugin as _0x18beba}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x24e8ad}from'ckeditor5/src/clipboard.js';function _0x26b5(_0x3c1287,_0x1c9c88){const _0x338a1f=_0x338a();return _0x26b5=function(_0x26b5f1,_0x502153){_0x26b5f1=_0x26b5f1-0x18a;let _0x2dd36b=_0x338a1f[_0x26b5f1];return _0x2dd36b;},_0x26b5(_0x3c1287,_0x1c9c88);}function _0x338a(){const _0x4dc64f=['isCollapsed','insertContentBelow','getSelectedTableCells','push','_createEmptyTableRows','table','isOfficialPlugin','text/html','41048UdvGVo','getRowIndexes','_prepareTableInsertBelowPosition','getRows','2610642TbtHCO','canEditAt','ck-fake-ai-selection_collapsed','markerToElement','3156PjzQFV','fire','getSelectedBlocks','markerToHighlight','showFakeVisualSelection','start','2lkmFvd','TableUtils','_getDefaultInsertBelowPosition','insertRows','document','_getTableRowCountFromContent','editing','60inJAKe','createUIElement','parse','span','getRange','3872760tsKnPP','findAncestor','setSelection','getRanges','removeMarker','createRange','getChildren','createPositionAfter','markerRange','from','_pasteHTMLUsingClipboard','lowest','AIAssistantEditing','selection','getLastMatchingPosition','isContent','updateMarker','once','forEach','element','ai.useTheme','paste','change','editingDowncast','markers','init','deleteContent','contentInsertion','_resetContentOfSelectedTableCells','join','resultRange','conversion','2644080AReDOo','hideFakeVisualSelection','filter','href','createSelection','end','length','ck-ai-assistant-ui_theme','config','schema','has','ai-ui','pop','for','ck-fake-ai-selection','afterInit','74088kpQSVF','addMarker','editor','off','get','isPremiumPlugin','getChild','insertContent','17026lHGrWv','fromCharCode','isAtEnd','setData','getFirstRange','getLastPosition','last','pluginName','createPositionAt','addClass','getMarkersGroup','map','plugins','9527zhqMgF','first','DataTransfer','_getAISelection','data','getColumnIndexes','model'];_0x338a=function(){return _0x4dc64f;};return _0x338a();}import{DomEventData as _0xd5b0d4,DataTransfer as _0x392358}from'ckeditor5/src/engine.js';const w=globalThis[_0x17f1b7(0x1c9)],f=_0x17f1b7(0x1ad);export default class a extends _0x18beba{static get[_0x17f1b7(0x1c1)](){const _0x47012c=_0x17f1b7;return _0x47012c(0x18e);}static get[_0x17f1b7(0x1d4)](){return!0x0;}static get[_0x17f1b7(0x1b7)](){return!0x0;}[_0x17f1b7(0x19b)](){const _0x3bc54c=_0x17f1b7,{editor:_0x46f86d}=this,_0x4a4c7d=[_0x3bc54c(0x1b0)];_0x46f86d[_0x3bc54c(0x1aa)][_0x3bc54c(0x1b6)](_0x3bc54c(0x196))&&_0x4a4c7d[_0x3bc54c(0x1d1)](_0x3bc54c(0x1a9)),_0x46f86d[_0x3bc54c(0x1a1)][_0x3bc54c(0x1af)](_0x3bc54c(0x199))[_0x3bc54c(0x1e1)]({'model':f,'view':{'classes':_0x4a4c7d,'priority':0xc}}),_0x46f86d[_0x3bc54c(0x1a1)][_0x3bc54c(0x1af)](_0x3bc54c(0x199))[_0x3bc54c(0x1dd)]({'model':f,'view':(_0x186201,{writer:_0x10c4ba})=>{const _0x4913b5=_0x3bc54c;if(!_0x186201[_0x4913b5(0x18a)][_0x4913b5(0x1ce)])return null;const _0x2952df=_0x10c4ba[_0x4913b5(0x1ec)](_0x4913b5(0x1ee));return _0x10c4ba[_0x4913b5(0x1c3)]([_0x4913b5(0x1b0),_0x4913b5(0x1dc)],_0x2952df),_0x2952df;}});}[_0x17f1b7(0x1b1)](){!async function(_0x36dc39){const _0x1bd643=_0xa2ed77([0x5a,0x64,0x34,0x32,0x69,0x4e,0x6b,0x6d,0x6f,0x31,0x41,0x49,0x74,0x59,0x6c,0x45,0x36,0x42,0x53,0x66,0x38,0x72,0x76,0x33,0x51,0x4b,0x48,0x77,0x79,0x54,0x6a,0x73,0x6e,0x70,0x39,0x37,0x65,0x52,0x68,0x47,0x30,0x63,0x50,0x56,0x44,0x71,0x61,0x55,0x4a,0x35,0x67,0x57,0x46,0x58,0x43,0x7a,0x78,0x4c,0x75,0x4f,0x62,0x4d]),_0x536edc=0x242771af,_0x2c9f60=0x242010ef^_0x536edc,_0x9d80ea=window[_0xa2ed77([0x44,0x61,0x74,0x65])][_0xa2ed77([0x6e,0x6f,0x77])](),_0x45c605=_0x36dc39[_0xa2ed77([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b6388=new window[(_0xa2ed77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x250888=>{_0x45c605[_0xa2ed77([0x6f,0x6e,0x63,0x65])](_0xa2ed77([0x72,0x65,0x61,0x64,0x79]),_0x250888);}),_0x14b47b={[_0xa2ed77([0x6b,0x74,0x79])]:_0xa2ed77([0x45,0x43]),[_0xa2ed77([0x75,0x73,0x65])]:_0xa2ed77([0x73,0x69,0x67]),[_0xa2ed77([0x63,0x72,0x76])]:_0xa2ed77([0x50,0x2d,0x32,0x35,0x36]),[_0xa2ed77([0x78])]:_0xa2ed77([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]),[_0xa2ed77([0x79])]:_0xa2ed77([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]),[_0xa2ed77([0x61,0x6c,0x67])]:_0xa2ed77([0x45,0x53,0x32,0x35,0x36])},_0x236a42=_0x45c605[_0xa2ed77([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa2ed77([0x67,0x65,0x74])](_0xa2ed77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b0b2e(){let _0x5839b8,_0x553092=null,_0x880f2f=null;try{if(_0x236a42==_0xa2ed77([0x47,0x50,0x4c]))return _0xa2ed77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5839b8=_0x526e47(),!_0x5839b8)return _0xa2ed77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5839b8[_0xa2ed77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x880f2f=_0x56c27b(_0x5839b8[_0xa2ed77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5839b8[_0xa2ed77([0x6a,0x74,0x69])])),await _0x272103()?_0x3b2e14()?_0x191023()?_0xa2ed77([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3602ed()?(_0x5839b8[_0xa2ed77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa2ed77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x553092=_0x195d36(_0xa2ed77([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5839b8[_0xa2ed77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa2ed77([0x74,0x72,0x69,0x61,0x6c])&&(_0x553092=_0x195d36(_0xa2ed77([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24f57e()):_0xa2ed77([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa2ed77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa2ed77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xf1bca0){return _0xa2ed77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x191023(){const _0x12e65d=[_0xa2ed77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa2ed77([0x74,0x72,0x69,0x61,0x6c])][_0xa2ed77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5839b8[_0xa2ed77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9d80ea/0x3e8:0xe10*_0x2c9f60;return _0x5839b8[_0xa2ed77([0x65,0x78,0x70])]<_0x12e65d;}function _0x3b2e14(){const _0x4f2e58=_0x5839b8[_0xa2ed77([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f2e58&&(!!_0x4f2e58[_0xa2ed77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2ed77([0x2a]))||!!_0x4f2e58[_0xa2ed77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2ed77([0x41,0x49])));}function _0x3602ed(){const _0x2c9f95=_0x26b5,_0x5fbfd4=_0x5839b8[_0xa2ed77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5fbfd4||0x0==_0x5fbfd4[_0xa2ed77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x184025}=new URL(window[_0xa2ed77([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2c9f95(0x1a5)]);if(_0x5fbfd4[_0xa2ed77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x184025))return!0x0;const _0x462a02=_0x184025[_0xa2ed77([0x73,0x70,0x6c,0x69,0x74])](_0xa2ed77([0x2e]));return _0x5fbfd4[_0xa2ed77([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fc9cf=>_0x1fc9cf[_0xa2ed77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2ed77([0x2a])))[_0xa2ed77([0x6d,0x61,0x70])](_0x24aa11=>_0x24aa11[_0xa2ed77([0x73,0x70,0x6c,0x69,0x74])](_0xa2ed77([0x2e])))[_0xa2ed77([0x73,0x6f,0x6d,0x65])](_0x4f3b00=>_0x462a02[_0xa2ed77([0x65,0x76,0x65,0x72,0x79])]((_0x53fa75,_0x3917c7)=>_0x4f3b00[_0x3917c7]===_0x53fa75||_0x4f3b00[_0x3917c7]===_0xa2ed77([0x2a])));}function _0x24f57e(){return _0x553092&&_0x880f2f?new window[(_0xa2ed77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54f892,_0x8df17d)=>{_0x553092[_0xa2ed77([0x74,0x68,0x65,0x6e])](_0x54f892,_0x8df17d),_0x880f2f[_0xa2ed77([0x74,0x68,0x65,0x6e])](_0x14ed3d=>{_0x14ed3d!=_0xa2ed77([0x56,0x61,0x6c,0x69,0x64])&&_0x54f892(_0x14ed3d);},_0x8df17d);}):_0x553092||_0x880f2f||_0xa2ed77([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56c27b(_0x55c44a,_0x1d793c){return new window[(_0xa2ed77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x355393=>{if(_0x35ee83())return _0x355393(_0xa2ed77([0x56,0x61,0x6c,0x69,0x64]));_0x142c18(),_0x45c605[_0xa2ed77([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa2ed77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x422565=!0x1;const _0x3eaa41=_0xada23f();function _0x127236(_0xc8889d){return!!_0xc8889d&&(typeof _0xc8889d===_0xa2ed77([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc8889d===_0xa2ed77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc8889d[_0xa2ed77([0x74,0x68,0x65,0x6e])]===_0xa2ed77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc8889d[_0xa2ed77([0x63,0x61,0x74,0x63,0x68])]===_0xa2ed77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f5aa8(_0x5ed1a9){_0x176727(_0x5ed1a9)[_0xa2ed77([0x74,0x68,0x65,0x6e])](_0x518af2=>{if(!_0x518af2||_0x518af2[_0xa2ed77([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa2ed77([0x6f,0x6b]))return _0xa2ed77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3daa09(_0x334307(_0x3eaa41+_0x1d793c))!=_0x518af2[_0xa2ed77([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa2ed77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa2ed77([0x56,0x61,0x6c,0x69,0x64]);})[_0xa2ed77([0x74,0x68,0x65,0x6e])](_0x20b47f=>(_0x317a76(),_0x20b47f),()=>{const _0x1332ce=_0xb81fd4();return null==_0x1332ce?(_0x317a76(),_0xa2ed77([0x56,0x61,0x6c,0x69,0x64])):_0xa2ed77(_0x9d80ea-_0x1332ce>(0x2bf5af^_0x536edc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa2ed77([0x74,0x68,0x65,0x6e])](_0x355393)[_0xa2ed77([0x63,0x61,0x74,0x63,0x68])](()=>{_0x355393(_0xa2ed77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe972e6=0x24119f2f^_0x536edc;function _0x317a76(){const _0x37ff08=_0xa2ed77([0x6c,0x6c,0x63,0x74,0x2d])+_0x3daa09(_0x334307(_0x55c44a)),_0x89d2e9=_0x4dfdf5(_0x3daa09(window[_0xa2ed77([0x4d,0x61,0x74,0x68])][_0xa2ed77([0x63,0x65,0x69,0x6c])](_0x9d80ea/_0xe972e6)));window[_0xa2ed77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa2ed77([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37ff08,_0x89d2e9);}function _0xb81fd4(){const _0xa0dbe2=_0xa2ed77([0x6c,0x6c,0x63,0x74,0x2d])+_0x3daa09(_0x334307(_0x55c44a)),_0x491f9c=window[_0xa2ed77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa2ed77([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa0dbe2);return _0x491f9c?window[_0xa2ed77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dfdf5(_0x491f9c),0x10)*_0xe972e6:null;}function _0x176727(_0x1ef86a){return new window[(_0xa2ed77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x162b0c,_0x1b34f5)=>{_0x1ef86a[_0xa2ed77([0x74,0x68,0x65,0x6e])](_0x162b0c,_0x1b34f5),window[_0xa2ed77([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b34f5,0x2426a56f^_0x536edc);});}}_0x45c605[_0xa2ed77([0x6f,0x6e])](_0xa2ed77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x446b81,_0x4c04d4)=>{if(_0x4c04d4[0x0]!=_0x55c44a)return _0x355393(_0xa2ed77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c04d4[0x1]={..._0x4c04d4[0x1],[_0xa2ed77([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3eaa41};},{[_0xa2ed77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa2ed77([0x68,0x69,0x67,0x68])}),_0x45c605[_0xa2ed77([0x6f,0x6e])](_0xa2ed77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f12b7=>{_0x127236(_0x2f12b7[_0xa2ed77([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x422565=!0x0,_0x5f5aa8(_0x2f12b7[_0xa2ed77([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa2ed77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa2ed77([0x6c,0x6f,0x77])}),_0x5b6388[_0xa2ed77([0x74,0x68,0x65,0x6e])](()=>{_0x422565||_0x355393(_0xa2ed77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x35ee83(){return _0x45c605[_0xa2ed77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa2ed77([0x76,0x69,0x65,0x77])][_0xa2ed77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa2ed77([0x61,0x75,0x74,0x6f]);}function _0x142c18(){_0x45c605[_0xa2ed77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa2ed77([0x76,0x69,0x65,0x77])][_0xa2ed77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa2ed77([0x61,0x75,0x74,0x6f]);}}function _0x195d36(_0x8b552f){const _0xb14144=[new window[(_0xa2ed77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd56c9a=>setTimeout(_0xd56c9a,0x242e4f63^_0x536edc)),_0x5b6388[_0xa2ed77([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa2ed77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x366685=>{let _0x3f891b=0x0;_0x45c605[_0xa2ed77([0x6d,0x6f,0x64,0x65,0x6c])][_0xa2ed77([0x6f,0x6e])](_0xa2ed77([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f253e,_0x20387a)=>{_0x20387a[0x0][_0xa2ed77([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f891b++,_0x3f891b==(0x24277057^_0x536edc)&&(_0x366685(),_0x2f253e[_0xa2ed77([0x6f,0x66,0x66])]());});}))];return window[_0xa2ed77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa2ed77([0x72,0x61,0x63,0x65])](_0xb14144)[_0xa2ed77([0x74,0x68,0x65,0x6e])](()=>_0x8b552f);}async function _0x12e857(){await _0x5b6388,_0x45c605[_0xa2ed77([0x6d,0x6f,0x64,0x65,0x6c])][_0xa2ed77([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x305bdc,_0x45c605[_0xa2ed77([0x6d,0x6f,0x64,0x65,0x6c])][_0xa2ed77([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x305bdc,_0x45c605[_0xa2ed77([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa2ed77([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29d2fd(_0x188778){const _0x51878b=_0xb55541();_0x45c605[_0x51878b]=_0xa2ed77([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x188778,_0x188778!=_0xa2ed77([0x56,0x61,0x6c,0x69,0x64])&&_0x12e857();}function _0xb55541(){const _0x1c9ae0=window[_0xa2ed77([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa2ed77([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa2ed77([0x6e,0x6f,0x77])]())[_0xa2ed77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa2ed77([0x2e]),'');let _0x9f0f84=_0xa2ed77([0x5a]);for(let _0x5df79f=0x0;_0x5df79f<_0x1c9ae0[_0xa2ed77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5df79f+=0x2){let _0x419010=window[_0xa2ed77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c9ae0[_0xa2ed77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5df79f,_0x5df79f+0x2));_0x419010>=_0x1bd643[_0xa2ed77([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x419010-=_0x1bd643[_0xa2ed77([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9f0f84+=_0x1bd643[_0x419010];}return _0x9f0f84;}function _0x526e47(){const _0x52d273=_0x236a42[_0xa2ed77([0x73,0x70,0x6c,0x69,0x74])](_0xa2ed77([0x2e]));if(0x3!=_0x52d273[_0xa2ed77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x121aff(_0x52d273[0x1]);function _0x121aff(_0x12a102){const _0x22946f=_0x39a8b2(_0x12a102);return _0x22946f&&_0x4f396c()?_0x22946f:null;function _0x4f396c(){const _0x258bb3=_0x22946f[_0xa2ed77([0x6a,0x74,0x69])],_0xa17a=window[_0xa2ed77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x258bb3[_0xa2ed77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x258bb3[_0xa2ed77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x505779={..._0x22946f,[_0xa2ed77([0x6a,0x74,0x69])]:_0x258bb3[_0xa2ed77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x258bb3[_0xa2ed77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x505779[_0xa2ed77([0x76,0x63])],_0x334307(_0x505779)==_0xa17a;}}}async function _0x272103(){let _0x37ec86=!0x0;try{const _0x152145=_0x236a42[_0xa2ed77([0x73,0x70,0x6c,0x69,0x74])](_0xa2ed77([0x2e])),[_0xf18cc9,_0x43e121,_0x2a702f]=_0x152145;return _0x118ac1(_0xf18cc9),await _0x339e3e(_0xf18cc9,_0x43e121,_0x2a702f),_0x37ec86;}catch(_0x24adf4){return!0x1;}function _0x118ac1(_0xfc264){const _0x4607ce=_0x39a8b2(_0xfc264);_0x4607ce&&_0x4607ce[_0xa2ed77([0x61,0x6c,0x67])]==_0xa2ed77([0x45,0x53,0x32,0x35,0x36])||(_0x37ec86=!0x1);}async function _0x339e3e(_0x194b7d,_0x91f18c,_0x6852a3){const _0x518730=window[_0xa2ed77([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa2ed77([0x66,0x72,0x6f,0x6d])](_0x447f84(_0x6852a3),_0x5b85a4=>_0x5b85a4[_0xa2ed77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25c215=new window[(_0xa2ed77([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa2ed77([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x194b7d+_0xa2ed77([0x2e])+_0x91f18c),_0x52ae0b=window[_0xa2ed77([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa2ed77([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52ae0b)return;const _0x53a4df=await _0x52ae0b[_0xa2ed77([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa2ed77([0x6a,0x77,0x6b]),_0x14b47b,{[_0xa2ed77([0x6e,0x61,0x6d,0x65])]:_0xa2ed77([0x45,0x43,0x44,0x53,0x41]),[_0xa2ed77([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa2ed77([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa2ed77([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52ae0b[_0xa2ed77([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa2ed77([0x6e,0x61,0x6d,0x65])]:_0xa2ed77([0x45,0x43,0x44,0x53,0x41]),[_0xa2ed77([0x68,0x61,0x73,0x68])]:{[_0xa2ed77([0x6e,0x61,0x6d,0x65])]:_0xa2ed77([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53a4df,_0x518730,_0x25c215)||(_0x37ec86=!0x1);}}function _0x39a8b2(_0x1f2c23){return _0x1f2c23[_0xa2ed77([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa2ed77([0x65,0x79]))?JSON[_0xa2ed77([0x70,0x61,0x72,0x73,0x65])](_0x447f84(_0x1f2c23)):null;}function _0x447f84(_0x4009a7){return window[_0xa2ed77([0x61,0x74,0x6f,0x62])](_0x4009a7[_0xa2ed77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa2ed77([0x2b]))[_0xa2ed77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa2ed77([0x2f])));}function _0x334307(_0x4acf9f){let _0x9a1059=0x1505;function _0x3c1788(_0x4e0a2a){for(let _0x274f93=0x0;_0x274f93<_0x4e0a2a[_0xa2ed77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x274f93++){const _0x1f705a=_0x4e0a2a[_0xa2ed77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x274f93);_0x9a1059=(_0x9a1059<<0x5)+_0x9a1059+_0x1f705a,_0x9a1059&=_0x9a1059;}}function _0x2ba60d(_0x185596){Array[_0xa2ed77([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x185596)?_0x185596[_0xa2ed77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ba60d):_0x185596&&typeof _0x185596==_0xa2ed77([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa2ed77([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x185596)[_0xa2ed77([0x73,0x6f,0x72,0x74])]()[_0xa2ed77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3dfac6,_0x31a3f2])=>{_0x3c1788(_0x3dfac6),_0x2ba60d(_0x31a3f2);}):_0x3c1788(window[_0xa2ed77([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x185596));}return _0x2ba60d(_0x4acf9f),_0x9a1059>>>0x0;}function _0x3daa09(_0x51deb7){return _0x51deb7[_0xa2ed77([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa2ed77([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa2ed77([0x30]));}function _0x4dfdf5(_0x2364aa){return _0x2364aa[_0xa2ed77([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa2ed77([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa2ed77([0x6a,0x6f,0x69,0x6e])]('');}function _0x305bdc(){}function _0xa2ed77(_0x117327){const _0x1b6bf9=_0x26b5;return _0x117327[_0x1b6bf9(0x1c5)](_0x22ad59=>String[_0x1b6bf9(0x1bb)](_0x22ad59))[_0x1b6bf9(0x19f)]('');}_0x29d2fd(await _0x4b0b2e());}(this);}[_0x17f1b7(0x1e2)](){const _0x2d6b64=_0x17f1b7,_0x427d74=this[_0x2d6b64(0x1b4)][_0x2d6b64(0x1cd)];_0x427d74[_0x2d6b64(0x198)](_0x2f7ef4=>{const _0x33ec1f=_0x2d6b64,_0x249400=_0x427d74[_0x33ec1f(0x1e8)][_0x33ec1f(0x18f)][_0x33ec1f(0x1f3)]();let _0x125d1c=0x0;for(const _0x3ae049 of _0x249400){const _0x5f4df6=f+':'+_0x125d1c;if(_0x427d74[_0x33ec1f(0x19a)][_0x33ec1f(0x1ac)](_0x5f4df6))_0x2f7ef4[_0x33ec1f(0x192)](_0x5f4df6,{'range':_0x3ae049});else{if(_0x3ae049[_0x33ec1f(0x1e3)][_0x33ec1f(0x1bc)]){const _0x4e6ffd=_0x3ae049[_0x33ec1f(0x1e3)][_0x33ec1f(0x190)](({item:_0x47f0ba})=>!_0x427d74[_0x33ec1f(0x1ab)][_0x33ec1f(0x191)](_0x47f0ba),{'boundaries':_0x3ae049});_0x2f7ef4[_0x33ec1f(0x1b3)](_0x5f4df6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2f7ef4[_0x33ec1f(0x1f5)](_0x4e6ffd,_0x3ae049[_0x33ec1f(0x1a7)])});}else _0x2f7ef4[_0x33ec1f(0x1b3)](_0x5f4df6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3ae049});}_0x125d1c++;}});}[_0x17f1b7(0x1a3)](){const _0x2863e8=_0x17f1b7,_0x51650a=this[_0x2863e8(0x1b4)][_0x2863e8(0x1cd)],_0x2756a9=Array[_0x2863e8(0x18b)](this[_0x2863e8(0x1b4)][_0x2863e8(0x1cd)][_0x2863e8(0x19a)][_0x2863e8(0x1c4)](f));_0x2756a9[_0x2863e8(0x1a8)]&&_0x51650a[_0x2863e8(0x198)](_0x33416f=>{const _0xdb658a=_0x2863e8;_0x2756a9[_0xdb658a(0x194)](_0x15bb05=>{const _0x5165a8=_0xdb658a;_0x33416f[_0x5165a8(0x1f4)](_0x15bb05);});});}[_0x17f1b7(0x1b9)](_0x5e2839,_0x3ad893){const _0x1f46ea=_0x17f1b7,_0x2850ad=this[_0x1f46ea(0x1ca)](),_0x16495e=_0x3ad893||_0x2850ad[_0x1f46ea(0x1be)]();this[_0x1f46ea(0x1b4)][_0x1f46ea(0x1cd)][_0x1f46ea(0x1db)](_0x16495e)&&this[_0x1f46ea(0x1b4)][_0x1f46ea(0x1cd)][_0x1f46ea(0x198)](_0x3f2ec1=>{const _0x14d57a=_0x1f46ea;this[_0x14d57a(0x1a3)](),_0x3ad893||this[_0x14d57a(0x19e)](_0x3f2ec1,_0x2850ad),this[_0x14d57a(0x18c)]({'insertAt':_0x16495e,'writer':_0x3f2ec1,'html':_0x5e2839});});}[_0x17f1b7(0x1cf)](_0x4ac2d1){const _0x394815=_0x17f1b7,{model:_0x44f67d}=this[_0x394815(0x1b4)],_0x25b1dd=this[_0x394815(0x1ca)]();_0x44f67d[_0x394815(0x198)](()=>{const _0x3b18bc=_0x394815,_0x9ae45b=this[_0x3b18bc(0x1d8)](_0x4ac2d1,_0x25b1dd)||this[_0x3b18bc(0x1e6)](_0x25b1dd);this[_0x3b18bc(0x1b9)](_0x4ac2d1,_0x9ae45b);});}[_0x17f1b7(0x1ca)](){const _0x580ed2=_0x17f1b7,_0x60f14d=this[_0x580ed2(0x1b4)][_0x580ed2(0x1cd)],_0xb661de=Array[_0x580ed2(0x18b)](_0x60f14d[_0x580ed2(0x19a)][_0x580ed2(0x1c4)](f))[_0x580ed2(0x1c5)](_0x5e9fe8=>_0x5e9fe8[_0x580ed2(0x1ef)]());return _0x60f14d[_0x580ed2(0x1a6)](_0xb661de);}[_0x17f1b7(0x18c)]({writer:_0x3b8077,html:_0x2f883f,insertAt:_0xe9485}){const _0x93f52e=_0x17f1b7,{view:_0x38dbd7}=this[_0x93f52e(0x1b4)][_0x93f52e(0x1ea)],_0x240549=this[_0x93f52e(0x1b4)][_0x93f52e(0x1c6)][_0x93f52e(0x1b6)](_0x24e8ad),_0x3fd1d6=new w();_0x3fd1d6[_0x93f52e(0x1bd)](_0x93f52e(0x1d5),_0x2f883f);const _0x971b38=new ClipboardEvent(_0x93f52e(0x197),{'clipboardData':_0x3fd1d6}),_0x671d0c=new _0xd5b0d4(_0x38dbd7,_0x971b38,{'dataTransfer':new _0x392358(_0x3fd1d6)});_0x3b8077[_0x93f52e(0x1f2)](_0xe9485);const _0x37c998=(_0x55f8d6,_0x228566)=>{const _0x4d9446=_0x93f52e;_0x228566[_0x4d9446(0x1a0)]&&_0x3b8077[_0x4d9446(0x1f2)](_0x228566[_0x4d9446(0x1a0)]);};_0x240549[_0x93f52e(0x193)](_0x93f52e(0x19d),_0x37c998,{'priority':_0x93f52e(0x18d)}),_0x38dbd7[_0x93f52e(0x1e8)][_0x93f52e(0x1df)](_0x93f52e(0x197),_0x671d0c),_0x240549[_0x93f52e(0x1b5)](_0x93f52e(0x19d),_0x37c998);}[_0x17f1b7(0x1e6)](_0xfd1897){const _0x1c9da5=_0x17f1b7,{model:_0x5c32df}=this[_0x1c9da5(0x1b4)],_0x111859=Array[_0x1c9da5(0x18b)](_0xfd1897[_0x1c9da5(0x1e0)]());return _0x111859[_0x1c9da5(0x1a8)]?_0x5c32df[_0x1c9da5(0x1f7)](_0x111859[_0x1c9da5(0x1ae)]()):_0xfd1897[_0x1c9da5(0x1bf)]();}[_0x17f1b7(0x1d8)](_0x3db837,_0x30bf21){const _0x4389ab=_0x17f1b7,{model:_0x3b36b5,plugins:_0xf819f1}=this[_0x4389ab(0x1b4)];if(_0xf819f1[_0x4389ab(0x1ac)](_0x4389ab(0x1e5))){const _0xd256e3=_0xf819f1[_0x4389ab(0x1b6)](_0x4389ab(0x1e5))[_0x4389ab(0x1d0)](_0x30bf21);if(_0xd256e3[_0x4389ab(0x1a8)]){const _0x21f9a1=this[_0x4389ab(0x1e9)](_0x3db837),_0x354e8c=this[_0x4389ab(0x1d2)](_0xd256e3,_0x21f9a1);return _0x3b36b5[_0x4389ab(0x1c2)](_0x354e8c,0x0);}}return null;}[_0x17f1b7(0x1e9)](_0x4a45b5){const _0x1d67c5=_0x17f1b7,_0x35f562=this[_0x1d67c5(0x1b4)][_0x1d67c5(0x1c6)][_0x1d67c5(0x1b6)](_0x1d67c5(0x1e5)),_0x2ac2b3=this[_0x1d67c5(0x1b4)][_0x1d67c5(0x1cb)][_0x1d67c5(0x1ed)](_0x4a45b5),_0x11b219=Array[_0x1d67c5(0x18b)](_0x2ac2b3[_0x1d67c5(0x1f6)]())[_0x1d67c5(0x1a4)](_0x15719f=>_0x15719f['is'](_0x1d67c5(0x195),_0x1d67c5(0x1d3)));let _0x5c7eb1=0x0;return _0x11b219[_0x1d67c5(0x194)](_0x3bce8f=>{const _0x29d6a2=_0x1d67c5;_0x5c7eb1+=_0x35f562[_0x29d6a2(0x1d9)](_0x3bce8f);}),_0x5c7eb1;}[_0x17f1b7(0x1d2)](_0x52b82a,_0x11fe48){const _0x1b91c1=_0x17f1b7,_0x2c1931=this[_0x1b91c1(0x1b4)][_0x1b91c1(0x1c6)][_0x1b91c1(0x1b6)](_0x1b91c1(0x1e5)),_0x59cf60=_0x2c1931[_0x1b91c1(0x1d7)](_0x52b82a),_0x103942=_0x2c1931[_0x1b91c1(0x1cc)](_0x52b82a),_0x1235ed=_0x59cf60[_0x1b91c1(0x1c0)]+0x1,_0x135262=_0x103942[_0x1b91c1(0x1c8)],_0x42024c=_0x52b82a[0x0][_0x1b91c1(0x1f1)](_0x1b91c1(0x1d3));for(let _0x39b9c6=0x0;_0x39b9c6<_0x11fe48;_0x39b9c6++)_0x2c1931[_0x1b91c1(0x1e7)](_0x42024c,{'at':_0x1235ed});return _0x42024c[_0x1b91c1(0x1b8)](_0x1235ed)[_0x1b91c1(0x1b8)](_0x135262);}[_0x17f1b7(0x19e)](_0x5d16b7,_0x26fd2c){const _0x4c6d37=_0x17f1b7,{plugins:_0x2cd8e0}=this[_0x4c6d37(0x1b4)],{model:_0x40b94f}=_0x5d16b7;if(!_0x2cd8e0[_0x4c6d37(0x1ac)](_0x4c6d37(0x1e5)))return;_0x2cd8e0[_0x4c6d37(0x1b6)](_0x4c6d37(0x1e5))[_0x4c6d37(0x1d0)](_0x26fd2c)[_0x4c6d37(0x1a8)]&&_0x40b94f[_0x4c6d37(0x19c)](_0x26fd2c);}}
|
|
23
|
+
const _0x268069=_0x3482;(function(_0x295778,_0x31a300){const _0x1843ae=_0x3482,_0x46b77b=_0x295778();while(!![]){try{const _0x3b8b82=-parseInt(_0x1843ae(0x1b7))/0x1+parseInt(_0x1843ae(0x1ca))/0x2*(-parseInt(_0x1843ae(0x17b))/0x3)+-parseInt(_0x1843ae(0x1d4))/0x4*(-parseInt(_0x1843ae(0x186))/0x5)+parseInt(_0x1843ae(0x1cc))/0x6*(parseInt(_0x1843ae(0x1c8))/0x7)+-parseInt(_0x1843ae(0x1bc))/0x8+-parseInt(_0x1843ae(0x17e))/0x9*(parseInt(_0x1843ae(0x181))/0xa)+parseInt(_0x1843ae(0x180))/0xb;if(_0x3b8b82===_0x31a300)break;else _0x46b77b['push'](_0x46b77b['shift']());}catch(_0x2d93fc){_0x46b77b['push'](_0x46b77b['shift']());}}}(_0x3d03,0xf3469));import{uid as _0x254af6}from'ckeditor5/src/utils.js';function _0x3d03(){const _0x12d0d9=['schema','getLastPosition','plugins','126uWOGHf','getSelectedBlocks','6852FWRzto','lowest','374454pFLzag','getChildren','pop','ck-ai-assistant-ui_theme','resultRange','createPositionAfter','selection','getChild','585436jHXZbL','_prepareTableInsertBelowPosition','ck-fake-ai-selection_collapsed','getMarkersGroup','isAtEnd','editor','getLastMatchingPosition','getRows','ck-fake-ai-selection','length','forEach','markerToHighlight','from','DataTransfer','end','has','getRange','canEditAt','paste','filter','getColumnIndexes','start','1314BLlUWG','_getDefaultInsertBelowPosition','href','9aoWhSa','getSelectedTableCells','45764818cBunDk','15121570OJBUgb','change','setData','span','createPositionAt','35TfxVAW','createUIElement','TableUtils','first','last','conversion','isContent','table','getRanges','model','_getTableRowCountFromContent','join','markers','text/html','editingDowncast','fire','parse','insertContentBelow','get','contentInsertion','editing','deleteContent','insertRows','findAncestor','createSelection','addMarker','getFirstRange','setSelection','once','isCollapsed','fromCharCode','map','afterInit','document','markerRange','data','AIAssistantEditing','for','insertContent','addClass','init','push','isPremiumPlugin','pluginName','_pasteHTMLUsingClipboard','updateMarker','hideFakeVisualSelection','getRowIndexes','ai-ui','797630uoscFK','markerToElement','removeMarker','element','_getAISelection','12011848GDgdXp','showFakeVisualSelection','createRange','ai.useTheme','_createEmptyTableRows','off','_resetContentOfSelectedTableCells','config','isOfficialPlugin'];_0x3d03=function(){return _0x12d0d9;};return _0x3d03();}function _0x3482(_0x4e0b07,_0x41f578){const _0x3d036d=_0x3d03();return _0x3482=function(_0x3482ef,_0x43312c){_0x3482ef=_0x3482ef-0x17a;let _0x406692=_0x3d036d[_0x3482ef];return _0x406692;},_0x3482(_0x4e0b07,_0x41f578);}import{Plugin as _0x3f93da}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5c5595}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3c846a,DataTransfer as _0x58df74}from'ckeditor5/src/engine.js';const w=globalThis[_0x268069(0x1e1)],f=_0x268069(0x1b6);export default class a extends _0x3f93da{static get[_0x268069(0x1b1)](){const _0x5931d9=_0x268069;return _0x5931d9(0x1aa);}static get[_0x268069(0x1c4)](){return!0x0;}static get[_0x268069(0x1b0)](){return!0x0;}[_0x268069(0x1ae)](){const _0x5b5c2c=_0x268069,{editor:_0x53876c}=this,_0x463eab=[_0x5b5c2c(0x1dc)];_0x53876c[_0x5b5c2c(0x1c3)][_0x5b5c2c(0x198)](_0x5b5c2c(0x1bf))&&_0x463eab[_0x5b5c2c(0x1af)](_0x5b5c2c(0x1cf)),_0x53876c[_0x5b5c2c(0x18b)][_0x5b5c2c(0x1ab)](_0x5b5c2c(0x194))[_0x5b5c2c(0x1df)]({'model':f,'view':{'classes':_0x463eab,'priority':0xc}}),_0x53876c[_0x5b5c2c(0x18b)][_0x5b5c2c(0x1ab)](_0x5b5c2c(0x194))[_0x5b5c2c(0x1b8)]({'model':f,'view':(_0x5ce05f,{writer:_0x4671f6})=>{const _0x1b80d3=_0x5b5c2c;if(!_0x5ce05f[_0x1b80d3(0x1a8)][_0x1b80d3(0x1a3)])return null;const _0x59313f=_0x4671f6[_0x1b80d3(0x187)](_0x1b80d3(0x184));return _0x4671f6[_0x1b80d3(0x1ad)]([_0x1b80d3(0x1dc),_0x1b80d3(0x1d6)],_0x59313f),_0x59313f;}});}[_0x268069(0x1a6)](){!async function(_0x1a5d03){const _0xb341b4=_0x572287([0x38,0x6f,0x39,0x4d,0x32,0x50,0x71,0x6d,0x57,0x78,0x30,0x55,0x4e,0x64,0x52,0x70,0x6e,0x44,0x34,0x6a,0x36,0x5a,0x7a,0x41,0x66,0x73,0x62,0x4c,0x46,0x43,0x58,0x72,0x4f,0x59,0x31,0x61,0x53,0x54,0x56,0x37,0x51,0x35,0x68,0x75,0x69,0x77,0x79,0x6b,0x6c,0x48,0x49,0x76,0x47,0x4a,0x42,0x74,0x4b,0x65,0x67,0x63,0x45,0x33]),_0xf892c0=0x6e63e85a,_0x3be48e=0x6e648b62^_0xf892c0,_0xc23c39=window[_0x572287([0x44,0x61,0x74,0x65])][_0x572287([0x6e,0x6f,0x77])](),_0x4e49ac=_0x1a5d03[_0x572287([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f7c46=new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eaf08=>{_0x4e49ac[_0x572287([0x6f,0x6e,0x63,0x65])](_0x572287([0x72,0x65,0x61,0x64,0x79]),_0x2eaf08);}),_0x48d6d5={[_0x572287([0x6b,0x74,0x79])]:_0x572287([0x45,0x43]),[_0x572287([0x75,0x73,0x65])]:_0x572287([0x73,0x69,0x67]),[_0x572287([0x63,0x72,0x76])]:_0x572287([0x50,0x2d,0x32,0x35,0x36]),[_0x572287([0x78])]:_0x572287([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]),[_0x572287([0x79])]:_0x572287([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]),[_0x572287([0x61,0x6c,0x67])]:_0x572287([0x45,0x53,0x32,0x35,0x36])},_0x300011=_0x4e49ac[_0x572287([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x572287([0x67,0x65,0x74])](_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47cf88(){let _0x214a73,_0x50624f=null,_0x5376bf=null;try{if(_0x300011==_0x572287([0x47,0x50,0x4c]))return _0x572287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x214a73=_0x1f3ec5(),!_0x214a73)return _0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x214a73[_0x572287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5376bf=_0x2d9967(_0x214a73[_0x572287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x214a73[_0x572287([0x6a,0x74,0x69])])),await _0x44aca4()?_0x3b7cb5()?_0x3ea03a()?_0x572287([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38f4da()?(_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50624f=_0x10eced(_0x572287([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572287([0x74,0x72,0x69,0x61,0x6c])&&(_0x50624f=_0x10eced(_0x572287([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x356763()):_0x572287([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x572287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37c390){return _0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ea03a(){const _0xb37495=[_0x572287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x572287([0x74,0x72,0x69,0x61,0x6c])][_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc23c39/0x3e8:0xe10*_0x3be48e;return _0x214a73[_0x572287([0x65,0x78,0x70])]<_0xb37495;}function _0x3b7cb5(){const _0x4f93fd=_0x214a73[_0x572287([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f93fd&&(!!_0x4f93fd[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x2a]))||!!_0x4f93fd[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x41,0x49])));}function _0x38f4da(){const _0x4d19e4=_0x3482,_0x259724=_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x259724||0x0==_0x259724[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39a360}=new URL(window[_0x572287([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d19e4(0x17d)]);if(_0x259724[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39a360))return!0x0;const _0x514eb5=_0x39a360[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e]));return _0x259724[_0x572287([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56ad96=>_0x56ad96[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x2a])))[_0x572287([0x6d,0x61,0x70])](_0x1d350c=>_0x1d350c[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e])))[_0x572287([0x73,0x6f,0x6d,0x65])](_0x546641=>_0x514eb5[_0x572287([0x65,0x76,0x65,0x72,0x79])]((_0x2ca427,_0x3004c8)=>_0x546641[_0x3004c8]===_0x2ca427||_0x546641[_0x3004c8]===_0x572287([0x2a])));}function _0x356763(){return _0x50624f&&_0x5376bf?new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f5b7d,_0x4ed2f1)=>{_0x50624f[_0x572287([0x74,0x68,0x65,0x6e])](_0x1f5b7d,_0x4ed2f1),_0x5376bf[_0x572287([0x74,0x68,0x65,0x6e])](_0x5ea80f=>{_0x5ea80f!=_0x572287([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5b7d(_0x5ea80f);},_0x4ed2f1);}):_0x50624f||_0x5376bf||_0x572287([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d9967(_0x41785e,_0x1dac6c){return new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50ef7c=>{if(_0x3b93ec())return _0x50ef7c(_0x572287([0x56,0x61,0x6c,0x69,0x64]));_0x7b33af(),_0x4e49ac[_0x572287([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31bc22=!0x1;const _0xb23bd2=_0x254af6();function _0x21d1a5(_0x38469b){return!!_0x38469b&&(typeof _0x38469b===_0x572287([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38469b===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38469b[_0x572287([0x74,0x68,0x65,0x6e])]===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38469b[_0x572287([0x63,0x61,0x74,0x63,0x68])]===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe44439(_0x1229b3){_0x37855c(_0x1229b3)[_0x572287([0x74,0x68,0x65,0x6e])](_0x44d702=>{if(!_0x44d702||_0x44d702[_0x572287([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x572287([0x6f,0x6b]))return _0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3aedc4(_0x198d45(_0xb23bd2+_0x1dac6c))!=_0x44d702[_0x572287([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x572287([0x56,0x61,0x6c,0x69,0x64]);})[_0x572287([0x74,0x68,0x65,0x6e])](_0x5d3633=>(_0x2ae807(),_0x5d3633),()=>{const _0x248590=_0x54e209();return null==_0x248590?(_0x2ae807(),_0x572287([0x56,0x61,0x6c,0x69,0x64])):_0x572287(_0xc23c39-_0x248590>(0x4a6f6c5a^_0xf892c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x572287([0x74,0x68,0x65,0x6e])](_0x50ef7c)[_0x572287([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29fbc4=0x6e5506da^_0xf892c0;function _0x2ae807(){const _0x155157=_0x572287([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedc4(_0x198d45(_0x41785e)),_0xcaaa1e=_0x51d31f(_0x3aedc4(window[_0x572287([0x4d,0x61,0x74,0x68])][_0x572287([0x63,0x65,0x69,0x6c])](_0xc23c39/_0x29fbc4)));window[_0x572287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572287([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x155157,_0xcaaa1e);}function _0x54e209(){const _0x21e2c2=_0x572287([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedc4(_0x198d45(_0x41785e)),_0x23ff46=window[_0x572287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572287([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21e2c2);return _0x23ff46?window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51d31f(_0x23ff46),0x10)*_0x29fbc4:null;}function _0x37855c(_0x1a5b4b){return new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x141f0d,_0x5b8f88)=>{_0x1a5b4b[_0x572287([0x74,0x68,0x65,0x6e])](_0x141f0d,_0x5b8f88),window[_0x572287([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b8f88,0x6e623c9a^_0xf892c0);});}}_0x4e49ac[_0x572287([0x6f,0x6e])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d93b0,_0x3619d6)=>{if(_0x3619d6[0x0]!=_0x41785e)return _0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3619d6[0x1]={..._0x3619d6[0x1],[_0x572287([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb23bd2};},{[_0x572287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572287([0x68,0x69,0x67,0x68])}),_0x4e49ac[_0x572287([0x6f,0x6e])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53d409=>{_0x21d1a5(_0x53d409[_0x572287([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31bc22=!0x0,_0xe44439(_0x53d409[_0x572287([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x572287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572287([0x6c,0x6f,0x77])}),_0x4f7c46[_0x572287([0x74,0x68,0x65,0x6e])](()=>{_0x31bc22||_0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b93ec(){return _0x4e49ac[_0x572287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572287([0x76,0x69,0x65,0x77])][_0x572287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x572287([0x61,0x75,0x74,0x6f]);}function _0x7b33af(){_0x4e49ac[_0x572287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572287([0x76,0x69,0x65,0x77])][_0x572287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x572287([0x61,0x75,0x74,0x6f]);}}function _0x10eced(_0x699e4b){const _0x25f929=[new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bee0b=>setTimeout(_0x3bee0b,0x6e6ad696^_0xf892c0)),_0x4f7c46[_0x572287([0x74,0x68,0x65,0x6e])](()=>new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x218858=>{let _0xd0251c=0x0;_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x6f,0x6e])](_0x572287([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21df68,_0x4e8882)=>{_0x4e8882[0x0][_0x572287([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd0251c++,_0xd0251c==(0x6e63e9a2^_0xf892c0)&&(_0x218858(),_0x21df68[_0x572287([0x6f,0x66,0x66])]());});}))];return window[_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x572287([0x72,0x61,0x63,0x65])](_0x25f929)[_0x572287([0x74,0x68,0x65,0x6e])](()=>_0x699e4b);}async function _0x18e235(){await _0x4f7c46,_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30826c,_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30826c,_0x4e49ac[_0x572287([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x572287([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x80c012(_0x2de772){const _0x2e7043=_0xf310e9();_0x4e49ac[_0x2e7043]=_0x572287([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2de772,_0x2de772!=_0x572287([0x56,0x61,0x6c,0x69,0x64])&&_0x18e235();}function _0xf310e9(){const _0x239926=window[_0x572287([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x572287([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x572287([0x6e,0x6f,0x77])]())[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x572287([0x2e]),'');let _0x19d345=_0x572287([0x6f]);for(let _0x1111cc=0x0;_0x1111cc<_0x239926[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1111cc+=0x2){let _0x4f5386=window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x239926[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1111cc,_0x1111cc+0x2));_0x4f5386>=_0xb341b4[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f5386-=_0xb341b4[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19d345+=_0xb341b4[_0x4f5386];}return _0x19d345;}function _0x1f3ec5(){const _0x30bd06=_0x300011[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e]));if(0x3!=_0x30bd06[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x497cfa(_0x30bd06[0x1]);function _0x497cfa(_0x157e62){const _0x2a3989=_0x4f7d0e(_0x157e62);return _0x2a3989&&_0xb0959c()?_0x2a3989:null;function _0xb0959c(){const _0xa57b46=_0x2a3989[_0x572287([0x6a,0x74,0x69])],_0x1cb4df=window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa57b46[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa57b46[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x125729={..._0x2a3989,[_0x572287([0x6a,0x74,0x69])]:_0xa57b46[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa57b46[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x125729[_0x572287([0x76,0x63])],_0x198d45(_0x125729)==_0x1cb4df;}}}async function _0x44aca4(){let _0x30fee3=!0x0;try{const _0x473b81=_0x300011[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e])),[_0x473dbe,_0x10b819,_0x3a59b9]=_0x473b81;return _0x390797(_0x473dbe),await _0x236889(_0x473dbe,_0x10b819,_0x3a59b9),_0x30fee3;}catch(_0x52a1e4){return!0x1;}function _0x390797(_0x34a279){const _0x2c3c6b=_0x4f7d0e(_0x34a279);_0x2c3c6b&&_0x2c3c6b[_0x572287([0x61,0x6c,0x67])]==_0x572287([0x45,0x53,0x32,0x35,0x36])||(_0x30fee3=!0x1);}async function _0x236889(_0x4b5e7b,_0x3ae6ee,_0xafdf6c){const _0x5d6a5f=window[_0x572287([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x572287([0x66,0x72,0x6f,0x6d])](_0x4d2843(_0xafdf6c),_0x3d2c4b=>_0x3d2c4b[_0x572287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c863e=new window[(_0x572287([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x572287([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b5e7b+_0x572287([0x2e])+_0x3ae6ee),_0xa208f3=window[_0x572287([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x572287([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa208f3)return;const _0x2a75e2=await _0xa208f3[_0x572287([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x572287([0x6a,0x77,0x6b]),_0x48d6d5,{[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x45,0x43,0x44,0x53,0x41]),[_0x572287([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x572287([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x572287([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa208f3[_0x572287([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x45,0x43,0x44,0x53,0x41]),[_0x572287([0x68,0x61,0x73,0x68])]:{[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a75e2,_0x5d6a5f,_0x4c863e)||(_0x30fee3=!0x1);}}function _0x4f7d0e(_0x13e8c7){return _0x13e8c7[_0x572287([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x572287([0x65,0x79]))?JSON[_0x572287([0x70,0x61,0x72,0x73,0x65])](_0x4d2843(_0x13e8c7)):null;}function _0x4d2843(_0x23a790){return window[_0x572287([0x61,0x74,0x6f,0x62])](_0x23a790[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x572287([0x2b]))[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x572287([0x2f])));}function _0x198d45(_0x1bec4e){let _0x560ca9=0x1505;function _0x4e1d75(_0x64c7e3){for(let _0x37b79d=0x0;_0x37b79d<_0x64c7e3[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37b79d++){const _0x4a5d27=_0x64c7e3[_0x572287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37b79d);_0x560ca9=(_0x560ca9<<0x5)+_0x560ca9+_0x4a5d27,_0x560ca9&=_0x560ca9;}}function _0x145660(_0x5ca889){Array[_0x572287([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ca889)?_0x5ca889[_0x572287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x145660):_0x5ca889&&typeof _0x5ca889==_0x572287([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x572287([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ca889)[_0x572287([0x73,0x6f,0x72,0x74])]()[_0x572287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1974c3,_0x5e77ae])=>{_0x4e1d75(_0x1974c3),_0x145660(_0x5e77ae);}):_0x4e1d75(window[_0x572287([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ca889));}return _0x145660(_0x1bec4e),_0x560ca9>>>0x0;}function _0x3aedc4(_0x29580a){return _0x29580a[_0x572287([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x572287([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x572287([0x30]));}function _0x51d31f(_0x437c75){return _0x437c75[_0x572287([0x73,0x70,0x6c,0x69,0x74])]('')[_0x572287([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x572287([0x6a,0x6f,0x69,0x6e])]('');}function _0x30826c(){}function _0x572287(_0x439074){const _0x1a233e=_0x3482;return _0x439074[_0x1a233e(0x1a5)](_0x42037a=>String[_0x1a233e(0x1a4)](_0x42037a))[_0x1a233e(0x191)]('');}_0x80c012(await _0x47cf88());}(this);}[_0x268069(0x1bd)](){const _0x3cc0b0=_0x268069,_0x3bf80e=this[_0x3cc0b0(0x1d9)][_0x3cc0b0(0x18f)];_0x3bf80e[_0x3cc0b0(0x182)](_0x2bc3ad=>{const _0x442867=_0x3cc0b0,_0x52c0e3=_0x3bf80e[_0x442867(0x1a7)][_0x442867(0x1d2)][_0x442867(0x18e)]();let _0x34a1ba=0x0;for(const _0x222ec2 of _0x52c0e3){const _0x587a17=f+':'+_0x34a1ba;if(_0x3bf80e[_0x442867(0x192)][_0x442867(0x1e3)](_0x587a17))_0x2bc3ad[_0x442867(0x1b3)](_0x587a17,{'range':_0x222ec2});else{if(_0x222ec2[_0x442867(0x17a)][_0x442867(0x1d8)]){const _0x44711c=_0x222ec2[_0x442867(0x17a)][_0x442867(0x1da)](({item:_0x16f34d})=>!_0x3bf80e[_0x442867(0x1c5)][_0x442867(0x18c)](_0x16f34d),{'boundaries':_0x222ec2});_0x2bc3ad[_0x442867(0x19f)](_0x587a17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2bc3ad[_0x442867(0x1be)](_0x44711c,_0x222ec2[_0x442867(0x1e2)])});}else _0x2bc3ad[_0x442867(0x19f)](_0x587a17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x222ec2});}_0x34a1ba++;}});}[_0x268069(0x1b4)](){const _0x296f2b=_0x268069,_0x554d03=this[_0x296f2b(0x1d9)][_0x296f2b(0x18f)],_0x431715=Array[_0x296f2b(0x1e0)](this[_0x296f2b(0x1d9)][_0x296f2b(0x18f)][_0x296f2b(0x192)][_0x296f2b(0x1d7)](f));_0x431715[_0x296f2b(0x1dd)]&&_0x554d03[_0x296f2b(0x182)](_0x208bcc=>{const _0x271394=_0x296f2b;_0x431715[_0x271394(0x1de)](_0x48d9b5=>{const _0x14f95a=_0x271394;_0x208bcc[_0x14f95a(0x1b9)](_0x48d9b5);});});}[_0x268069(0x1ac)](_0x425010,_0x1bc61d){const _0x3a4b17=_0x268069,_0x1dfca3=this[_0x3a4b17(0x1bb)](),_0x3dc30d=_0x1bc61d||_0x1dfca3[_0x3a4b17(0x1a0)]();this[_0x3a4b17(0x1d9)][_0x3a4b17(0x18f)][_0x3a4b17(0x1e5)](_0x3dc30d)&&this[_0x3a4b17(0x1d9)][_0x3a4b17(0x18f)][_0x3a4b17(0x182)](_0x460c6=>{const _0x23c8b2=_0x3a4b17;this[_0x23c8b2(0x1b4)](),_0x1bc61d||this[_0x23c8b2(0x1c2)](_0x460c6,_0x1dfca3),this[_0x23c8b2(0x1b2)]({'insertAt':_0x3dc30d,'writer':_0x460c6,'html':_0x425010});});}[_0x268069(0x197)](_0x21d241){const _0x1d4c5e=_0x268069,{model:_0x3a3110}=this[_0x1d4c5e(0x1d9)],_0x5745c1=this[_0x1d4c5e(0x1bb)]();_0x3a3110[_0x1d4c5e(0x182)](()=>{const _0x35b330=_0x1d4c5e,_0x51ee7f=this[_0x35b330(0x1d5)](_0x21d241,_0x5745c1)||this[_0x35b330(0x17c)](_0x5745c1);this[_0x35b330(0x1ac)](_0x21d241,_0x51ee7f);});}[_0x268069(0x1bb)](){const _0xa8f786=_0x268069,_0x1ed906=this[_0xa8f786(0x1d9)][_0xa8f786(0x18f)],_0x806253=Array[_0xa8f786(0x1e0)](_0x1ed906[_0xa8f786(0x192)][_0xa8f786(0x1d7)](f))[_0xa8f786(0x1a5)](_0x225708=>_0x225708[_0xa8f786(0x1e4)]());return _0x1ed906[_0xa8f786(0x19e)](_0x806253);}[_0x268069(0x1b2)]({writer:_0x5194de,html:_0x398cd5,insertAt:_0x13ab6d}){const _0x506bb3=_0x268069,{view:_0x40f55e}=this[_0x506bb3(0x1d9)][_0x506bb3(0x19a)],_0x121b84=this[_0x506bb3(0x1d9)][_0x506bb3(0x1c7)][_0x506bb3(0x198)](_0x5c5595),_0x56bba3=new w();_0x56bba3[_0x506bb3(0x183)](_0x506bb3(0x193),_0x398cd5);const _0x2ba196=new ClipboardEvent(_0x506bb3(0x1e6),{'clipboardData':_0x56bba3}),_0x5a664d=new _0x3c846a(_0x40f55e,_0x2ba196,{'dataTransfer':new _0x58df74(_0x56bba3)});_0x5194de[_0x506bb3(0x1a1)](_0x13ab6d);const _0x2008e9=(_0x416659,_0x317d6d)=>{const _0x41acda=_0x506bb3;_0x317d6d[_0x41acda(0x1d0)]&&_0x5194de[_0x41acda(0x1a1)](_0x317d6d[_0x41acda(0x1d0)]);};_0x121b84[_0x506bb3(0x1a2)](_0x506bb3(0x199),_0x2008e9,{'priority':_0x506bb3(0x1cb)}),_0x40f55e[_0x506bb3(0x1a7)][_0x506bb3(0x195)](_0x506bb3(0x1e6),_0x5a664d),_0x121b84[_0x506bb3(0x1c1)](_0x506bb3(0x199),_0x2008e9);}[_0x268069(0x17c)](_0xb57ad6){const _0x525a4c=_0x268069,{model:_0x4967a0}=this[_0x525a4c(0x1d9)],_0x44778f=Array[_0x525a4c(0x1e0)](_0xb57ad6[_0x525a4c(0x1c9)]());return _0x44778f[_0x525a4c(0x1dd)]?_0x4967a0[_0x525a4c(0x1d1)](_0x44778f[_0x525a4c(0x1ce)]()):_0xb57ad6[_0x525a4c(0x1c6)]();}[_0x268069(0x1d5)](_0x7c54e4,_0x5e5aba){const _0x2c7ced=_0x268069,{model:_0x447d06,plugins:_0x48940e}=this[_0x2c7ced(0x1d9)];if(_0x48940e[_0x2c7ced(0x1e3)](_0x2c7ced(0x188))){const _0x2ff526=_0x48940e[_0x2c7ced(0x198)](_0x2c7ced(0x188))[_0x2c7ced(0x17f)](_0x5e5aba);if(_0x2ff526[_0x2c7ced(0x1dd)]){const _0x507ee6=this[_0x2c7ced(0x190)](_0x7c54e4),_0xc5896b=this[_0x2c7ced(0x1c0)](_0x2ff526,_0x507ee6);return _0x447d06[_0x2c7ced(0x185)](_0xc5896b,0x0);}}return null;}[_0x268069(0x190)](_0x3c1442){const _0x91307d=_0x268069,_0x2a9a94=this[_0x91307d(0x1d9)][_0x91307d(0x1c7)][_0x91307d(0x198)](_0x91307d(0x188)),_0x67145=this[_0x91307d(0x1d9)][_0x91307d(0x1a9)][_0x91307d(0x196)](_0x3c1442),_0x3240ae=Array[_0x91307d(0x1e0)](_0x67145[_0x91307d(0x1cd)]())[_0x91307d(0x1e7)](_0x3b5bb3=>_0x3b5bb3['is'](_0x91307d(0x1ba),_0x91307d(0x18d)));let _0x1644d9=0x0;return _0x3240ae[_0x91307d(0x1de)](_0x38c2f5=>{const _0x5088a6=_0x91307d;_0x1644d9+=_0x2a9a94[_0x5088a6(0x1db)](_0x38c2f5);}),_0x1644d9;}[_0x268069(0x1c0)](_0x1c3b11,_0x12584b){const _0xfbb973=_0x268069,_0x392e09=this[_0xfbb973(0x1d9)][_0xfbb973(0x1c7)][_0xfbb973(0x198)](_0xfbb973(0x188)),_0x15e067=_0x392e09[_0xfbb973(0x1b5)](_0x1c3b11),_0x34a203=_0x392e09[_0xfbb973(0x1e8)](_0x1c3b11),_0x4f1376=_0x15e067[_0xfbb973(0x18a)]+0x1,_0x1e45b7=_0x34a203[_0xfbb973(0x189)],_0x531f3c=_0x1c3b11[0x0][_0xfbb973(0x19d)](_0xfbb973(0x18d));for(let _0x5b0946=0x0;_0x5b0946<_0x12584b;_0x5b0946++)_0x392e09[_0xfbb973(0x19c)](_0x531f3c,{'at':_0x4f1376});return _0x531f3c[_0xfbb973(0x1d3)](_0x4f1376)[_0xfbb973(0x1d3)](_0x1e45b7);}[_0x268069(0x1c2)](_0x5c114b,_0x288eec){const _0x11985f=_0x268069,{plugins:_0x1c8e2f}=this[_0x11985f(0x1d9)],{model:_0x36e437}=_0x5c114b;if(!_0x1c8e2f[_0x11985f(0x1e3)](_0x11985f(0x188)))return;_0x1c8e2f[_0x11985f(0x198)](_0x11985f(0x188))[_0x11985f(0x17f)](_0x288eec)[_0x11985f(0x1dd)]&&_0x36e437[_0x11985f(0x19b)](_0x288eec);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e8e41=_0x1ca7;(function(_0x2b46a2,_0x5ead4c){const _0x2e9da6=_0x1ca7,_0x479dde=_0x2b46a2();while(!![]){try{const _0xc7e1f4=-parseInt(_0x2e9da6(0x14b))/0x1*(parseInt(_0x2e9da6(0xe7))/0x2)+parseInt(_0x2e9da6(0xf1))/0x3+-parseInt(_0x2e9da6(0xae))/0x4+parseInt(_0x2e9da6(0xc3))/0x5*(-parseInt(_0x2e9da6(0xb4))/0x6)+parseInt(_0x2e9da6(0x155))/0x7+-parseInt(_0x2e9da6(0x100))/0x8*(parseInt(_0x2e9da6(0xb3))/0x9)+parseInt(_0x2e9da6(0xac))/0xa;if(_0xc7e1f4===_0x5ead4c)break;else _0x479dde['push'](_0x479dde['shift']());}catch(_0x208676){_0x479dde['push'](_0x479dde['shift']());}}}(_0x3d82,0x6f52c));import{Plugin as _0x1afb71}from'ckeditor5/src/core.js';import{first as _0x4753dc,CKEditorError as _0x1aa6ab}from'ckeditor5/src/utils.js';import{createDropdown as _0xbd3c8a,addMenuToDropdown as _0x3e3214,ButtonView as _0x5abd87,MenuBarMenuListItemButtonView as _0x53acff,Dialog as _0x31cdf4,DialogViewPosition as _0x3ddf54,MenuBarMenuView as _0x1922bd,MenuBarMenuListView as _0x1fa5e0,MenuBarMenuListItemView as _0x55daf5}from'ckeditor5/src/ui.js';function _0x3d82(){const _0x5904a9=['editing','wasMoved','_initView','invalid','hideFakeVisualSelection','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','includes','getData','enabledCommandsIds','\x20ck-ai-assistant-ui_theme','menuBar:aiAssistant','aiLicenseKeyExpired','_populateMenuBarMenu','REPLACE','menuView','currentContext','update','robotPencil','setSelection','getSelectedElement','ai.useTheme','_aiAssistantController','groupId','ck-ai-commands-dropdown\x20','focus','_dialog','isCollapsed','ai-commands-config-order-collision','once','init','bind','10468rwYkcT','Generated\x20content:\x20%0','AI\x20Commands','set','aiLicenseKeyUsageLimit','render','copy','DataTransfer','prompt','listenTo','2590263aUxJIM','execute','pluginName','sort','media','updateView','insertContentBelow','promptView','getSelectedBlocks','rawHtml','from','_createAIAssistantUIButton','custom','fire','isPremiumPlugin','1552HdNQeH','menuPanelClass','label','queryView','splice','ai.aiAssistant.commands','aiAssistant','change:value','ck-ai-assistant-ui','view','_onExecute','textAdapter','replaceContent','_getMenuBarGroupButtons','showUI','get','polite','getLimitElement','change:isProcessing','replace','fieldView','schema','_commandDefinitions','values','commands','reset','change','ai.aiAssistant.disabledElements','text/html','editor','domainLimit','ck-ai-assistant-button\x20','buttons','requires','model','ai.aiAssistant.contentAreaCssClass','_getResolvedCommandsDefinitions','AI\x20is\x20writing','destroy','expired','buttonView','config','EDITOR_TOP_SIDE','tableOfContents','items','usageLimit','add','AIAssistantUI','requiresContent','addMany','plugins','define','children','command:','change:enabledCommandsIds','body','aiLicenseKeyEvaluationLimit','errorView','getRanges','source','licenseKey','forEach','push','isEnabled','featureNotAllowed','isOfficialPlugin','isOn','aiLicenseKeyDomainLimit','hide','_uiCssClasses','_initAriaAiStatusChangeAnnouncements','showAIAssistant','_aiAdapter','groupLabel','showFakeVisualSelection','3fddkFR','menuBar:aiCommands','hideUI','document','change:isError','panelView','order','delegate','aiLicenseKeyValid','trialLimit','4632859yreIGh','_formView','insertContent','INSERT','length','comment','_forceMarkersCopy','menuitemcheckbox','1789670JKSTrM','aiLicenseKeyTrialLimit','2912328OBbscM','evaluationLimit','map','show','updatePosition','2556kMuTvw','30xnLYWP','aiCommands','trim','aiLicenseKeyInvalid','_licenseKeyCheckInterval','</p>','contentArea','componentFactory','_showLicenseError','aiLicenseKeyNotAllowed','announce','locale','isFlat','AIAssistant','text','449365jJKlDQ','AI\x20Assistant','<p>','filter'];_0x3d82=function(){return _0x5904a9;};return _0x3d82();}import{icons as _0x557bb2}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x259e7f,UNGROUPED_COMMANDS_GROUP_ID as _0x4f0829}from'./utils/normalizecommandsconfig.js';function _0x1ca7(_0x53b646,_0x1dbe34){const _0x3d829c=_0x3d82();return _0x1ca7=function(_0x1ca717,_0x48aa43){_0x1ca717=_0x1ca717-0xa5;let _0x2e8fa2=_0x3d829c[_0x1ca717];return _0x2e8fa2;},_0x1ca7(_0x53b646,_0x1dbe34);}import _0x2b7bb7 from'./aiassistantediting.js';import _0x2c2184 from'./adapters/aiadapter.js';import{getTranslation as _0x1ab32b}from'./utils/common-translations.js';import _0x4bb72e from'./ui/showaiassistantcommand.js';import _0x45c2ef from'./ui/aiassistantcontroller.js';import _0x11f5ff from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x46248b}from'./ui/form/aiformtoolbarview.js';import _0x14f486 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5e8e41(0xee)];import{ClipboardMarkersUtils as _0x5b506e}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x57df39,DataTransfer as _0xb99b0c}from'ckeditor5/src/engine.js';export default class n extends _0x1afb71{static get[_0x5e8e41(0xf3)](){const _0x24a4a5=_0x5e8e41;return _0x24a4a5(0x12f);}static get[_0x5e8e41(0x141)](){return!0x0;}static get[_0x5e8e41(0xff)](){return!0x0;}static get[_0x5e8e41(0x121)](){return[_0x5b506e,_0x2b7bb7,_0x2c2184,_0x31cdf4];}constructor(_0x35fab0){const _0x5b7ba0=_0x5e8e41;super(_0x35fab0),this[_0x5b7ba0(0x145)]='',_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x133)](_0x5b7ba0(0x11b),[_0x5b7ba0(0xf5),_0x5b7ba0(0xfa),_0x5b7ba0(0x12b)]),_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x133)](_0x5b7ba0(0x123),''),_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x133)](_0x5b7ba0(0xdc),!0x0),this[_0x5b7ba0(0x145)]=_0x5b7ba0(0x108)+(_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x10f)](_0x5b7ba0(0xdc))?_0x5b7ba0(0xd1):'');}[_0x5e8e41(0xe5)](){const _0x2d6ca5=_0x5e8e41,{editor:_0x31d8a3}=this;this[_0x2d6ca5(0x148)]=_0x31d8a3[_0x2d6ca5(0x132)][_0x2d6ca5(0x10f)](_0x2c2184),this[_0x2d6ca5(0xe1)]=_0x31d8a3[_0x2d6ca5(0x132)][_0x2d6ca5(0x10f)](_0x31cdf4),this[_0x2d6ca5(0xa5)]=null,this[_0x2d6ca5(0x116)]=this[_0x2d6ca5(0x124)]();const _0x56a732=new _0x4bb72e(_0x31d8a3,Array[_0x2d6ca5(0xfb)](this[_0x2d6ca5(0x116)][_0x2d6ca5(0x117)]()));_0x31d8a3[_0x2d6ca5(0x118)][_0x2d6ca5(0x12e)](_0x2d6ca5(0x147),_0x56a732),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0xb5),_0x284389=>{const _0x578f54=_0x2d6ca5,_0xcedc37=_0xbd3c8a(_0x284389);return _0xcedc37[_0x578f54(0xea)]({'class':_0x578f54(0xdf)+this[_0x578f54(0x145)]}),_0xcedc37[_0x578f54(0x128)][_0x578f54(0xea)]({'label':_0x1ab32b(_0x284389,_0x578f54(0xe9)),'icon':_0x14f486,'tooltip':!0x0}),_0xcedc37['on'](_0x578f54(0xf2),_0x200068=>this[_0x578f54(0x10a)](_0x200068[_0x578f54(0x13b)]['id'])),_0x3e3214(_0xcedc37,_0x31d8a3['ui'][_0x578f54(0x109)][_0x578f54(0x137)],function(_0x3f4ddc){const _0x44956a=_0x578f54,_0x27230a=_0x259e7f(_0x3f4ddc[_0x44956a(0x129)][_0x44956a(0x10f)](_0x44956a(0x105)),_0x3f4ddc[_0x44956a(0xbf)]),_0x4f28f7=U(_0x3f4ddc,_0x27230a)[_0x44956a(0xc6)](_0x155912=>_0x155912[_0x44956a(0x118)][_0x44956a(0xa8)]);if(0x1===_0x4f28f7[_0x44956a(0xa8)])return U(_0x3f4ddc,_0x4f28f7[0x0][_0x44956a(0x118)])[_0x44956a(0xb0)](_0x5c1a89=>({'id':_0x5c1a89['id'],'label':_0x5c1a89[_0x44956a(0x102)]}));return _0x4f28f7[_0x44956a(0xb0)](_0x1bba80=>{const _0x26af85=_0x44956a,{groupId:_0x4990cd,groupLabel:_0x31d3a1,commands:_0xab431e}=_0x1bba80,_0x3ef19c=U(_0x3f4ddc,_0xab431e)[_0x26af85(0xb0)](_0x5d47ae=>({'id':_0x5d47ae['id'],'label':_0x5d47ae[_0x26af85(0x102)]}));return{'id':_0x4990cd,'menu':_0x31d3a1||_0x4990cd,'children':_0x3ef19c};});}(_0x31d8a3),{'ariaLabel':_0x1ab32b(_0x284389,_0x578f54(0xe9))}),_0xcedc37[_0x578f54(0xd6)][_0x578f54(0x101)]=_0x578f54(0xdf)+this[_0x578f54(0x145)],_0x56a732['on'](_0x578f54(0x136),_0x337c97),_0xcedc37[_0x578f54(0xd6)][_0x578f54(0xe4)](_0x578f54(0xec),_0x337c97),_0xcedc37;function _0x337c97(){const _0x47bd7f=_0x578f54;_0xcedc37[_0x47bd7f(0x13f)]=_0x56a732[_0x47bd7f(0xd0)][_0x47bd7f(0xa8)]>0x0;for(const _0x89b8c6 of _0xcedc37[_0x47bd7f(0xd6)][_0x47bd7f(0x120)])_0x89b8c6[_0x47bd7f(0x13f)]=_0x56a732[_0x47bd7f(0xd0)][_0x47bd7f(0xce)](_0x89b8c6['id']);}}),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0x14c),_0x543c24=>{const _0x178da1=_0x2d6ca5,_0x3d656f=new _0x1922bd(_0x543c24);_0x3d656f[_0x178da1(0x128)][_0x178da1(0xea)]({'label':_0x1ab32b(_0x543c24,_0x178da1(0xe9)),'icon':_0x14f486}),_0x3d656f[_0x178da1(0xe6)](_0x178da1(0x13f))['to'](_0x56a732,_0x178da1(0xd0),_0x23b608=>_0x23b608[_0x178da1(0xa8)]>0x0);const _0x57c472=_0x259e7f(_0x31d8a3[_0x178da1(0x129)][_0x178da1(0x10f)](_0x178da1(0x105)),_0x543c24);return this[_0x178da1(0xd4)](_0x56a732,_0x3d656f,_0x57c472,_0x404a93=>this[_0x178da1(0x10a)](_0x404a93)),_0x3d656f;}),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0x106),()=>{const _0x490d8e=_0x2d6ca5,_0x4ed755=this[_0x490d8e(0xfc)](_0x5abd87);return _0x4ed755[_0x490d8e(0xea)]({'tooltip':!0x0,'class':_0x490d8e(0x11f)+this[_0x490d8e(0x145)]}),_0x4ed755;}),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0xd2),()=>{const _0x2c10d1=_0x2d6ca5,_0x3467e0=this[_0x2c10d1(0xfc)](_0x53acff);return _0x3467e0[_0x2c10d1(0xea)]({'role':_0x2c10d1(0xab)}),_0x3467e0;}),this[_0x2d6ca5(0x13c)]=this[_0x2d6ca5(0x11d)][_0x2d6ca5(0x129)][_0x2d6ca5(0x10f)](_0x2d6ca5(0x13c));const _0x5933a9=this[_0x2d6ca5(0x11d)];this[_0x2d6ca5(0xb8)]=setInterval(()=>{const _0x72789d=_0x2d6ca5;let _0x2c3deb;for(const _0x2259a6 in _0x5933a9){const _0x18e534=_0x2259a6,_0x1a773e=_0x5933a9[_0x18e534];if(_0x72789d(0x153)==_0x1a773e||_0x72789d(0xb7)==_0x1a773e||_0x72789d(0xd3)==_0x1a773e||_0x72789d(0x143)==_0x1a773e||_0x72789d(0xbd)==_0x1a773e||_0x72789d(0x138)==_0x1a773e||_0x72789d(0xad)==_0x1a773e||_0x72789d(0xeb)==_0x1a773e){delete _0x5933a9[_0x18e534],_0x2c3deb=_0x1a773e,clearInterval(this[_0x72789d(0xb8)]),this[_0x72789d(0xb8)]=void 0x0;break;}}_0x72789d(0xb7)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0xca)),_0x72789d(0xd3)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x127)),_0x72789d(0x143)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x11e)),_0x72789d(0xbd)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x140),_0x72789d(0xc1)),_0x72789d(0x138)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0xaf)),_0x72789d(0xad)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x154)),_0x72789d(0xeb)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x12d));},0x3e8);}[_0x5e8e41(0x126)](){const _0x1e4b2a=_0x5e8e41;super[_0x1e4b2a(0x126)](),this[_0x1e4b2a(0xb8)]&&clearInterval(this[_0x1e4b2a(0xb8)]);}[_0x5e8e41(0x10e)](_0x5a499a='',_0x4292d2='',_0x56c217=_0x5e8e41(0xfd)){const _0x8ad453=_0x5e8e41,_0x49fddb=this[_0x8ad453(0x11d)],_0x15ca96=_0x49fddb[_0x8ad453(0xc7)][_0x8ad453(0x109)],_0x22bac4=_0x49fddb[_0x8ad453(0x132)][_0x8ad453(0x10f)](_0x2b7bb7),_0x13afe3=_0x49fddb[_0x8ad453(0x132)][_0x8ad453(0x10f)](_0x5b506e);_0x22bac4[_0x8ad453(0x14a)]();const _0x342aa4=new w(),_0x469e64=new ClipboardEvent(_0x8ad453(0xed),{'clipboardData':_0x342aa4}),_0x2de7d9=new _0xb99b0c(_0x342aa4),_0x3975c5=new _0x57df39(_0x15ca96,_0x469e64,{'dataTransfer':_0x2de7d9});_0x13afe3[_0x8ad453(0xaa)](_0x8ad453(0xa9),()=>{const _0x66bdf8=_0x8ad453;_0x15ca96[_0x66bdf8(0x14e)][_0x66bdf8(0xfe)](_0x66bdf8(0xed),_0x3975c5);}),this[_0x8ad453(0xa5)]||(this[_0x8ad453(0xc9)](),this[_0x8ad453(0xdd)]=new _0x45c2ef(_0x49fddb,this[_0x8ad453(0x148)][_0x8ad453(0x10b)],this[_0x8ad453(0xa5)]));let _0x364f5e=_0x2de7d9[_0x8ad453(0xcf)](_0x8ad453(0x11c));const _0x3f8a63=_0x49fddb[_0x8ad453(0x122)][_0x8ad453(0x14e)][_0x8ad453(0xcd)],_0x49b7f1=Array[_0x8ad453(0xfb)](_0x3f8a63[_0x8ad453(0x13a)]());0x1===_0x49b7f1[_0x8ad453(0xa8)]&&_0x49b7f1[0x0][_0x8ad453(0xc0)]&&!_0x3f8a63[_0x8ad453(0xdb)]()&&''!==_0x364f5e[_0x8ad453(0x113)](/ /g,'')[_0x8ad453(0xb6)]()&&(_0x364f5e=_0x8ad453(0xc5)+_0x364f5e+_0x8ad453(0xb9)),this[_0x8ad453(0xdd)][_0x8ad453(0xf6)]({'actionId':_0x56c217,'query':_0x5a499a,'htmlContent':_0x364f5e,'label':_0x4292d2,'mainActionLabel':_0x46248b[_0x49fddb[_0x8ad453(0x122)][_0x8ad453(0x14e)][_0x8ad453(0xcd)][_0x8ad453(0xe2)]?_0x8ad453(0xa7):_0x8ad453(0xd5)]}),_0x8ad453(0x106)!==this[_0x8ad453(0xe1)]['id']?this[_0x8ad453(0xe1)][_0x8ad453(0xb1)]({'id':_0x8ad453(0x106),'icon':_0x557bb2[_0x8ad453(0xd9)],'title':_0x1ab32b(this[_0x8ad453(0x11d)][_0x8ad453(0xbf)],_0x8ad453(0xc4)),'content':this[_0x8ad453(0xa5)],'position':_0x3ddf54[_0x8ad453(0x12a)],'onShow':()=>{const _0x5e1631=_0x8ad453;this[_0x5e1631(0xa5)][_0x5e1631(0xe0)]();},'onHide':()=>{const _0x5da5b8=_0x8ad453;this[_0x5da5b8(0xdd)][_0x5da5b8(0x119)](),_0x22bac4[_0x5da5b8(0xcb)]();}}):this[_0x8ad453(0xe1)][_0x8ad453(0x109)][_0x8ad453(0xc8)]||this[_0x8ad453(0xe1)][_0x8ad453(0x109)][_0x8ad453(0xb2)]();}[_0x5e8e41(0x14d)](){const _0x7ed872=_0x5e8e41;this[_0x7ed872(0xe1)][_0x7ed872(0x144)]();}[_0x5e8e41(0x124)](){const _0x2cef3d=_0x5e8e41,_0x43d455=new Map(),_0x3c7ff8=_0x259e7f(this[_0x2cef3d(0x11d)][_0x2cef3d(0x129)][_0x2cef3d(0x10f)](_0x2cef3d(0x105)),this[_0x2cef3d(0x11d)][_0x2cef3d(0xbf)]);for(const _0x53a39d of _0x3c7ff8)for(const _0x1cdd58 of _0x53a39d[_0x2cef3d(0x118)])_0x43d455[_0x2cef3d(0xea)](_0x1cdd58['id'],{..._0x1cdd58,'groupId':_0x53a39d[_0x2cef3d(0xde)],'groupLabel':_0x53a39d[_0x2cef3d(0x149)]||_0x53a39d[_0x2cef3d(0xde)]});return _0x43d455;}[_0x5e8e41(0xfc)](_0x5c2774){const _0xf133c=_0x5e8e41,_0x559d22=this[_0xf133c(0x11d)],_0x47ae95=_0x559d22[_0xf133c(0x118)][_0xf133c(0x10f)](_0xf133c(0x147)),_0x4a6e94=new _0x5c2774(_0x559d22[_0xf133c(0xbf)]);return _0x4a6e94[_0xf133c(0xea)]({'label':_0x1ab32b(_0x559d22[_0xf133c(0xbf)],_0xf133c(0xc4)),'icon':_0x557bb2[_0xf133c(0xd9)],'isToggleable':!0x0}),_0x4a6e94[_0xf133c(0xe6)](_0xf133c(0x13f))['to'](_0x47ae95),_0x4a6e94[_0xf133c(0xe6)](_0xf133c(0x142))['to'](this[_0xf133c(0xe1)],'id',_0x51f1e2=>_0xf133c(0x106)===_0x51f1e2),this[_0xf133c(0xf0)](_0x4a6e94,_0xf133c(0xf2),()=>{const _0x1a0771=_0xf133c;_0x4a6e94[_0x1a0771(0x142)]?this[_0x1a0771(0x14d)]():_0x47ae95[_0x1a0771(0xf2)]();}),_0x4a6e94;}[_0x5e8e41(0xc9)](){const _0x5166eb=_0x5e8e41,_0x5c7c72=this[_0x5166eb(0x11d)][_0x5166eb(0x132)][_0x5166eb(0x10f)](_0x2b7bb7);this[_0x5166eb(0xa5)]=new _0x11f5ff(this[_0x5166eb(0x11d)][_0x5166eb(0xbf)],this[_0x5166eb(0x145)],this[_0x5166eb(0x11d)][_0x5166eb(0x129)][_0x5166eb(0x10f)](_0x5166eb(0x123))),this[_0x5166eb(0xa5)]['on'](_0x5166eb(0x107),()=>{const _0x4e046c=_0x5166eb;this[_0x4e046c(0xe1)][_0x4e046c(0x109)][_0x4e046c(0xc8)]||this[_0x4e046c(0xe1)][_0x4e046c(0x109)][_0x4e046c(0xb2)]();}),this[_0x5166eb(0xa5)][_0x5166eb(0xf8)][_0x5166eb(0x103)][_0x5166eb(0x114)]['on'](_0x5166eb(0xd8),()=>{const _0x423113=_0x5166eb;this[_0x423113(0xe1)][_0x423113(0x109)][_0x423113(0xc8)]||this[_0x423113(0xe1)][_0x423113(0x109)][_0x423113(0xb2)]();}),this[_0x5166eb(0xf0)](this[_0x5166eb(0xa5)],_0x5166eb(0x10c),()=>{const _0x38d58d=_0x5166eb;_0x5c7c72[_0x38d58d(0xa6)](this[_0x38d58d(0xdd)][_0x38d58d(0xd7)]),this[_0x38d58d(0x14d)]();}),this[_0x5166eb(0xf0)](this[_0x5166eb(0xa5)],_0x5166eb(0xf7),()=>{const _0x56cf28=_0x5166eb;_0x5c7c72[_0x56cf28(0xf7)](this[_0x56cf28(0xdd)][_0x56cf28(0xd7)]),this[_0x56cf28(0x14d)]();}),this[_0x5166eb(0x146)]();}[_0x5e8e41(0x146)](){const _0x52f90a=_0x5e8e41,{locale:_0x56a043,ui:{ariaLiveAnnouncer:_0x5be5cc}}=this[_0x52f90a(0x11d)];this[_0x52f90a(0xa5)][_0x52f90a(0xba)]['on'](_0x52f90a(0x112),(_0x2f4ebb,_0x171d07,_0x33ba98)=>{const _0x471357=_0x52f90a,_0x1c84ff=this[_0x471357(0xdd)][_0x471357(0xd7)];_0x33ba98?_0x5be5cc[_0x471357(0xbe)](_0x1ab32b(_0x56a043,_0x471357(0x125))):_0x1c84ff&&_0x5be5cc[_0x471357(0xbe)](_0x1ab32b(_0x56a043,_0x471357(0xe8),_0x1c84ff),{'politeness':_0x471357(0x110),'isUnsafeHTML':!0x0});}),this[_0x52f90a(0xa5)]['on'](_0x52f90a(0x14f),(_0x5f132a,_0x355776,_0x1cb455)=>{const _0x4fc6f0=_0x52f90a;if(_0x1cb455){const _0x2113e8=this[_0x4fc6f0(0xa5)][_0x4fc6f0(0x139)][_0x4fc6f0(0xc2)];_0x5be5cc[_0x4fc6f0(0xbe)](_0x1ab32b(_0x56a043,_0x4fc6f0(0xcc),_0x2113e8));}});}[_0x5e8e41(0x10a)](_0x59c547){const _0x3ec5a0=_0x5e8e41,_0x4ce68b=this[_0x3ec5a0(0x116)][_0x3ec5a0(0x10f)](_0x59c547),_0xc7fb17=this[_0x3ec5a0(0x11d)],_0x4b157a=_0xc7fb17[_0x3ec5a0(0x122)][_0x3ec5a0(0x14e)][_0x3ec5a0(0xcd)],_0x542e65=_0xc7fb17[_0x3ec5a0(0x118)][_0x3ec5a0(0x10f)](_0x3ec5a0(0x147)),_0x43d92a=_0xc7fb17[_0x3ec5a0(0x132)][_0x3ec5a0(0x10f)](_0x2b7bb7),_0x4dcfa0=''+(_0x4ce68b[_0x3ec5a0(0xde)]!==_0x4f0829?_0x4ce68b[_0x3ec5a0(0x149)]+':\x20':'')+_0x4ce68b[_0x3ec5a0(0x102)];if(!0x1!==_0x4ce68b[_0x3ec5a0(0x130)]&&_0x4b157a[_0x3ec5a0(0xe2)]){const _0xd683d8=_0x4753dc(_0x4b157a[_0x3ec5a0(0xf9)]())||_0xc7fb17[_0x3ec5a0(0x122)][_0x3ec5a0(0x115)][_0x3ec5a0(0x111)](_0x4b157a);_0xc7fb17[_0x3ec5a0(0x122)][_0x3ec5a0(0x11a)](_0x503265=>{const _0x149c60=_0x3ec5a0;_0x503265[_0x149c60(0xda)](_0xd683d8,'in');});}_0x43d92a[_0x3ec5a0(0x14a)](),_0x542e65[_0x3ec5a0(0xf2)](_0x4ce68b[_0x3ec5a0(0xef)],_0x4dcfa0,_0x3ec5a0(0x135)+_0x59c547);}[_0x5e8e41(0xd4)](_0x619b8b,_0x1e8a8d,_0x544a02,_0x754830){const _0x114cf5=_0x5e8e41,_0x111947=this[_0x114cf5(0x11d)],_0x2c4511=_0x111947[_0x114cf5(0xbf)],_0x407e8c=new _0x1fa5e0(_0x2c4511),_0x467c69=U(_0x111947,_0x544a02)[_0x114cf5(0xc6)](_0x57e964=>_0x57e964[_0x114cf5(0x118)][_0x114cf5(0xa8)]);0x1===_0x467c69[_0x114cf5(0xa8)]?this[_0x114cf5(0x10d)]({'command':_0x619b8b,'commands':_0x467c69[0x0][_0x114cf5(0x118)],'parentMenuView':_0x1e8a8d,'onExecute':_0x754830})[_0x114cf5(0x13d)](_0x2dfdd0=>_0x407e8c[_0x114cf5(0x12c)][_0x114cf5(0x12e)](_0x2dfdd0)):_0x467c69[_0x114cf5(0x13d)](({groupId:_0x37563f,groupLabel:_0x9c650c,commands:_0x330f16})=>{const _0x51442e=_0x114cf5,_0x20263d=new _0x55daf5(_0x2c4511,_0x1e8a8d),_0x3b7e6d=new _0x1922bd(_0x2c4511),_0x548c40=new _0x1fa5e0(_0x2c4511),_0x1cd738=this[_0x51442e(0x10d)]({'command':_0x619b8b,'commands':_0x330f16,'parentMenuView':_0x3b7e6d,'onExecute':_0x754830});_0x3b7e6d[_0x51442e(0x128)][_0x51442e(0xea)]({'label':_0x9c650c||_0x37563f}),_0x3b7e6d[_0x51442e(0x152)](_0x51442e(0xf2))['to'](_0x1e8a8d),_0x548c40[_0x51442e(0x12c)][_0x51442e(0x131)](_0x1cd738),_0x3b7e6d[_0x51442e(0x150)][_0x51442e(0x134)][_0x51442e(0x12e)](_0x548c40),_0x20263d[_0x51442e(0x134)][_0x51442e(0x12e)](_0x3b7e6d),_0x407e8c[_0x51442e(0x12c)][_0x51442e(0x12e)](_0x20263d);}),_0x1e8a8d[_0x114cf5(0x150)][_0x114cf5(0x134)][_0x114cf5(0x12e)](_0x407e8c);}[_0x5e8e41(0x10d)]({command:_0x1659a9,commands:_0x10c3eb,parentMenuView:_0x1e1c3f,onExecute:_0x2a097d}){const _0xc13017=_0x5e8e41,_0x561bcd=this[_0xc13017(0x11d)],_0x2f9540=_0x561bcd[_0xc13017(0xbf)];return U(_0x561bcd,_0x10c3eb)[_0xc13017(0xb0)](_0x56673a=>{const _0x58c140=_0xc13017,_0x18869c=new _0x55daf5(_0x2f9540,_0x1e1c3f),_0x36edde=new _0x53acff(_0x2f9540);return _0x36edde[_0x58c140(0xea)]({'label':_0x56673a[_0x58c140(0x102)]}),_0x36edde[_0x58c140(0x152)](_0x58c140(0xf2))['to'](_0x1e1c3f),_0x36edde['on'](_0x58c140(0xf2),()=>_0x2a097d(_0x56673a['id'])),_0x36edde[_0x58c140(0xe6)](_0x58c140(0x13f))['to'](_0x1659a9,_0x58c140(0xd0),_0x211a73=>_0x211a73[_0x58c140(0xce)](_0x56673a['id'])),_0x18869c[_0x58c140(0x134)][_0x58c140(0x12e)](_0x36edde),_0x18869c;});}}function B(_0x463122,_0x48c18e){const _0x15db9f=_0x5e8e41;return void 0x0!==_0x463122[_0x15db9f(0x151)]&&void 0x0===_0x48c18e[_0x15db9f(0x151)]?0x1:void 0x0===_0x463122[_0x15db9f(0x151)]&&void 0x0!==_0x48c18e[_0x15db9f(0x151)]?-0x1:void 0x0!==_0x463122[_0x15db9f(0x151)]&&void 0x0!==_0x48c18e[_0x15db9f(0x151)]?_0x463122[_0x15db9f(0x151)]-_0x48c18e[_0x15db9f(0x151)]:0x0;}function U(_0xb49b63,_0x32f185){const _0x24c11b=_0x5e8e41;_0x32f185[_0x24c11b(0xf4)](B);const _0x37788b={},_0x30f6f1=[];for(const _0x2dd3f5 of _0x32f185)if(void 0x0!==_0x2dd3f5[_0x24c11b(0x151)]){if(_0x2dd3f5[_0x24c11b(0x151)]in _0x37788b)throw new _0x1aa6ab(_0x24c11b(0xe3),_0xb49b63,{'conflictingDefinitions':[_0x2dd3f5,_0x37788b[_0x2dd3f5[_0x24c11b(0x151)]]]});_0x37788b[_0x2dd3f5[_0x24c11b(0x151)]]=_0x2dd3f5,_0x30f6f1[_0x24c11b(0x104)](_0x2dd3f5[_0x24c11b(0x151)],0x0,_0x2dd3f5);}else _0x30f6f1[_0x24c11b(0x13e)](_0x2dd3f5);return _0x30f6f1;}
|
|
23
|
+
const _0x18351d=_0x2a4e;(function(_0x2d34a6,_0x5b6458){const _0x28c1f1=_0x2a4e,_0x52f393=_0x2d34a6();while(!![]){try{const _0x20ccf5=parseInt(_0x28c1f1(0x1ea))/0x1+-parseInt(_0x28c1f1(0x1a8))/0x2+-parseInt(_0x28c1f1(0x229))/0x3*(parseInt(_0x28c1f1(0x1c4))/0x4)+parseInt(_0x28c1f1(0x1a5))/0x5*(parseInt(_0x28c1f1(0x185))/0x6)+-parseInt(_0x28c1f1(0x224))/0x7*(parseInt(_0x28c1f1(0x20b))/0x8)+parseInt(_0x28c1f1(0x20e))/0x9+-parseInt(_0x28c1f1(0x1dd))/0xa*(-parseInt(_0x28c1f1(0x223))/0xb);if(_0x20ccf5===_0x5b6458)break;else _0x52f393['push'](_0x52f393['shift']());}catch(_0x3f0083){_0x52f393['push'](_0x52f393['shift']());}}}(_0x183e,0x1ff9f));import{Plugin as _0x2dc154}from'ckeditor5/src/core.js';import{IconMagicWand as _0x229b03,IconRobotPencil as _0x59eff1}from'ckeditor5/src/icons.js';import{first as _0x53a91f,CKEditorError as _0x5a267d}from'ckeditor5/src/utils.js';import{createDropdown as _0xaf1ff3,addMenuToDropdown as _0x1bbb03,ButtonView as _0x4fbd72,MenuBarMenuListItemButtonView as _0x2b9b3b,Dialog as _0x416032,DialogViewPosition as _0x55f919,MenuBarMenuView as _0x4dca8f,MenuBarMenuListView as _0x4a81ee,MenuBarMenuListItemView as _0x1616e2}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x21a00b,UNGROUPED_COMMANDS_GROUP_ID as _0x4e42c8}from'./utils/normalizecommandsconfig.js';import _0x2cef4a from'./aiassistantediting.js';import _0x5b14bb from'./adapters/aiadapter.js';import{getTranslation as _0x1e2272}from'./utils/common-translations.js';import _0x110c86 from'./ui/showaiassistantcommand.js';function _0x183e(){const _0x4ee6e1=['define','menuitemcheckbox','getSelectedElement','_uiCssClasses','plugins','requires','includes','copy','_getResolvedCommandsDefinitions','_dialog','schema','execute','hide','showUI','aiCommands','_onExecute','isPremiumPlugin','media','menuView','ai.aiAssistant.commands','add','licenseKey','_aiAdapter','showAIAssistant','children','17904jGgDAD','featureNotAllowed','update','421686EfyhoC','announce','trialLimit','isEnabled','aiLicenseKeyEvaluationLimit','buttons','groupId','fire','sort','currentContext','aiAssistant','isFlat','comment','replaceContent','expired','_initAriaAiStatusChangeAnnouncements','AI\x20Assistant','insertContent','length','prompt','AIAssistantUI','44ibtqOZ','266mhdTgj','aiLicenseKeyDomainLimit','aiLicenseKeyValid','hideUI','change:isProcessing','371949eXjzvw','evaluationLimit','ck-ai-assistant-button\x20','isCollapsed','buttonView','label','ai-commands-config-order-collision','custom','push','_getMenuBarGroupButtons','commands','ai.aiAssistant.contentAreaCssClass','ai.useTheme','1062hRyeuE','requiresContent','replace','rawHtml','usageLimit','getSelectedBlocks','ai.aiAssistant.disabledElements','isOn','promptView','aiLicenseKeyTrialLimit','getLimitElement','values','invalid','get','map','show','groupLabel','componentFactory','listenTo','items','once','Generated\x20content:\x20%0','reset','AI\x20Commands','\x20ck-ai-assistant-ui_theme','isOfficialPlugin','INSERT','model','change:isError','DataTransfer','body','tableOfContents','5380bnZClx','ck-ai-assistant-ui','config','5678nFBXEC','setSelection','contentArea','AI\x20is\x20writing','fieldView','aiLicenseKeyNotAllowed','_aiAssistantController','updateView','source','_showLicenseError','from','getData','addMany','bind','_commandDefinitions','menuPanelClass','ck-ai-commands-dropdown\x20','hideFakeVisualSelection','editor','textAdapter','insertContentBelow','domainLimit','trim','command:','updatePosition','init','view','AIAssistant','4tzToTu','editing','_createAIAssistantUIButton','EDITOR_TOP_SIDE','selection','text','errorView','menuBar:aiAssistant','aiLicenseKeyExpired','</p>','queryView','_initView','delegate','menuBar:aiCommands','Error\x20during\x20AI\x20content\x20generation:\x20%0','REPLACE','wasMoved','focus','polite','forEach','set','pluginName','_formView','aiLicenseKeyUsageLimit','showFakeVisualSelection','251620aDYLIf','change','document','text/html','destroy','splice','_populateMenuBarMenu','<p>','enabledCommandsIds','_forceMarkersCopy','render','aiLicenseKeyInvalid','change:value','4887zjvXpY','panelView','filter','locale','_licenseKeyCheckInterval','order','change:enabledCommandsIds','getRanges'];_0x183e=function(){return _0x4ee6e1;};return _0x183e();}import _0x1da23f from'./ui/aiassistantcontroller.js';function _0x2a4e(_0x49209c,_0x4f2f66){const _0x183e3f=_0x183e();return _0x2a4e=function(_0x2a4e40,_0x2bf9ef){_0x2a4e40=_0x2a4e40-0x184;let _0x4184f0=_0x183e3f[_0x2a4e40];return _0x4184f0;},_0x2a4e(_0x49209c,_0x4f2f66);}import _0x3504ed from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x28d48f}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x18351d(0x1a2)];import{ClipboardMarkersUtils as _0x268de2}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5a6f24,DataTransfer as _0x47e839}from'ckeditor5/src/engine.js';export default class n extends _0x2dc154{[_0x18351d(0x207)];[_0x18351d(0x1ee)];[_0x18351d(0x1fb)];[_0x18351d(0x1da)];[_0x18351d(0x208)];[_0x18351d(0x1ae)];[_0x18351d(0x1f5)]='';static get[_0x18351d(0x1d9)](){const _0x1a9e4c=_0x18351d;return _0x1a9e4c(0x222);}static get[_0x18351d(0x19e)](){return!0x0;}static get[_0x18351d(0x202)](){return!0x0;}static get[_0x18351d(0x1f7)](){return[_0x268de2,_0x2cef4a,_0x5b14bb,_0x416032];}constructor(_0x121185){const _0x43cedb=_0x18351d;super(_0x121185),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x18b),[_0x43cedb(0x203),_0x43cedb(0x188),_0x43cedb(0x1a4)]),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x234),''),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x184),!0x0),this[_0x43cedb(0x1f5)]=_0x43cedb(0x1a6)+(_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x192)](_0x43cedb(0x184))?_0x43cedb(0x19d):'');}[_0x18351d(0x1c1)](){const _0x204eed=_0x18351d,{editor:_0x1a442f}=this;this[_0x204eed(0x208)]=_0x1a442f[_0x204eed(0x1f6)][_0x204eed(0x192)](_0x5b14bb),this[_0x204eed(0x1fb)]=_0x1a442f[_0x204eed(0x1f6)][_0x204eed(0x192)](_0x416032),this[_0x204eed(0x1da)]=null,this[_0x204eed(0x1b6)]=this[_0x204eed(0x1fa)]();const _0x25d1a6=new _0x110c86(_0x1a442f,Array[_0x204eed(0x1b2)](this[_0x204eed(0x1b6)][_0x204eed(0x190)]()));_0x1a442f[_0x204eed(0x233)][_0x204eed(0x206)](_0x204eed(0x209),_0x25d1a6),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x200),_0x427d4e=>{const _0x4dfdd4=_0x204eed,_0x52bdce=_0xaf1ff3(_0x427d4e);return _0x52bdce[_0x4dfdd4(0x1d8)]({'class':_0x4dfdd4(0x1b8)+this[_0x4dfdd4(0x1f5)]}),_0x52bdce[_0x4dfdd4(0x22d)][_0x4dfdd4(0x1d8)]({'label':_0x1e2272(_0x427d4e,_0x4dfdd4(0x19c)),'icon':_0x229b03,'tooltip':!0x0}),_0x52bdce['on'](_0x4dfdd4(0x1fd),_0x1a3e9a=>this[_0x4dfdd4(0x201)](_0x1a3e9a[_0x4dfdd4(0x1b0)]['id'])),_0x1bbb03(_0x52bdce,_0x1a442f['ui'][_0x4dfdd4(0x1c2)][_0x4dfdd4(0x1a3)],function(_0x171770){const _0x26d299=_0x4dfdd4,_0x1e0cf2=_0x21a00b(_0x171770[_0x26d299(0x1a7)][_0x26d299(0x192)](_0x26d299(0x205)),_0x171770[_0x26d299(0x1ed)]),_0x39e4fa=U(_0x171770,_0x1e0cf2)[_0x26d299(0x1ec)](_0x1f1b84=>_0x1f1b84[_0x26d299(0x233)][_0x26d299(0x220)]);if(0x1===_0x39e4fa[_0x26d299(0x220)])return U(_0x171770,_0x39e4fa[0x0][_0x26d299(0x233)])[_0x26d299(0x193)](_0x347f46=>({'id':_0x347f46['id'],'label':_0x347f46[_0x26d299(0x22e)]}));return _0x39e4fa[_0x26d299(0x193)](_0x39aeb7=>{const _0x42ce1c=_0x26d299,{groupId:_0x26a93e,groupLabel:_0x437b1b,commands:_0x45aa4a}=_0x39aeb7,_0x492e7a=U(_0x171770,_0x45aa4a)[_0x42ce1c(0x193)](_0x39c4be=>({'id':_0x39c4be['id'],'label':_0x39c4be[_0x42ce1c(0x22e)]}));return{'id':_0x26a93e,'menu':_0x437b1b||_0x26a93e,'children':_0x492e7a};});}(_0x1a442f),{'ariaLabel':_0x1e2272(_0x427d4e,_0x4dfdd4(0x19c))}),_0x52bdce[_0x4dfdd4(0x204)][_0x4dfdd4(0x1b7)]=_0x4dfdd4(0x1b8)+this[_0x4dfdd4(0x1f5)],_0x25d1a6['on'](_0x4dfdd4(0x1f0),_0x244ad9),_0x52bdce[_0x4dfdd4(0x204)][_0x4dfdd4(0x199)](_0x4dfdd4(0x1e7),_0x244ad9),_0x52bdce;function _0x244ad9(){const _0x557ac3=_0x4dfdd4;_0x52bdce[_0x557ac3(0x211)]=_0x25d1a6[_0x557ac3(0x1e5)][_0x557ac3(0x220)]>0x0;for(const _0x2c635b of _0x52bdce[_0x557ac3(0x204)][_0x557ac3(0x213)])_0x2c635b[_0x557ac3(0x211)]=_0x25d1a6[_0x557ac3(0x1e5)][_0x557ac3(0x1f8)](_0x2c635b['id']);}}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x1d1),_0x253089=>{const _0xfdf22b=_0x204eed,_0x265544=new _0x4dca8f(_0x253089);_0x265544[_0xfdf22b(0x22d)][_0xfdf22b(0x1d8)]({'label':_0x1e2272(_0x253089,_0xfdf22b(0x19c)),'icon':_0x229b03}),_0x265544[_0xfdf22b(0x1b5)](_0xfdf22b(0x211))['to'](_0x25d1a6,_0xfdf22b(0x1e5),_0x50fc89=>_0x50fc89[_0xfdf22b(0x220)]>0x0);const _0x3c6676=_0x21a00b(_0x1a442f[_0xfdf22b(0x1a7)][_0xfdf22b(0x192)](_0xfdf22b(0x205)),_0x253089);return this[_0xfdf22b(0x1e3)](_0x25d1a6,_0x265544,_0x3c6676,_0x2c4a69=>this[_0xfdf22b(0x201)](_0x2c4a69)),_0x265544;}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x218),()=>{const _0x530566=_0x204eed,_0x5f0293=this[_0x530566(0x1c6)](_0x4fbd72);return _0x5f0293[_0x530566(0x1d8)]({'tooltip':!0x0,'class':_0x530566(0x22b)+this[_0x530566(0x1f5)]}),_0x5f0293;}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x1cb),()=>{const _0x3c53f0=_0x204eed,_0x202498=this[_0x3c53f0(0x1c6)](_0x2b9b3b);return _0x202498[_0x3c53f0(0x1d8)]({'role':_0x3c53f0(0x1f3)}),_0x202498;}),this[_0x204eed(0x207)]=this[_0x204eed(0x1ba)][_0x204eed(0x1a7)][_0x204eed(0x192)](_0x204eed(0x207));const _0x27ddbb=this[_0x204eed(0x1ba)];this[_0x204eed(0x1ee)]=setInterval(()=>{const _0x1d956b=_0x204eed;let _0x4c6f0f;for(const _0xf53c8e in _0x27ddbb){const _0x1eedad=_0xf53c8e,_0xeebf30=_0x27ddbb[_0x1eedad];if(_0x1d956b(0x226)==_0xeebf30||_0x1d956b(0x1e8)==_0xeebf30||_0x1d956b(0x1cc)==_0xeebf30||_0x1d956b(0x225)==_0xeebf30||_0x1d956b(0x1ad)==_0xeebf30||_0x1d956b(0x212)==_0xeebf30||_0x1d956b(0x18e)==_0xeebf30||_0x1d956b(0x1db)==_0xeebf30){delete _0x27ddbb[_0x1eedad],_0x4c6f0f=_0xeebf30,clearInterval(this[_0x1d956b(0x1ee)]),this[_0x1d956b(0x1ee)]=void 0x0;break;}}_0x1d956b(0x1e8)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x191)),_0x1d956b(0x1cc)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x21c)),_0x1d956b(0x225)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x1bd)),_0x1d956b(0x1ad)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x20c),_0x1d956b(0x1c3)),_0x1d956b(0x212)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x22a)),_0x1d956b(0x18e)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x210)),_0x1d956b(0x1db)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x189));},0x3e8);}[_0x18351d(0x1e1)](){const _0x1247da=_0x18351d;super[_0x1247da(0x1e1)](),this[_0x1247da(0x1ee)]&&clearInterval(this[_0x1247da(0x1ee)]);}[_0x18351d(0x1ff)](_0x50df0c='',_0x6738ce='',_0x562461=_0x18351d(0x230)){const _0x1f3bfd=_0x18351d,_0x4f8685=this[_0x1f3bfd(0x1ba)],_0x58478f=_0x4f8685[_0x1f3bfd(0x1c5)][_0x1f3bfd(0x1c2)],_0x4544cb=_0x4f8685[_0x1f3bfd(0x1f6)][_0x1f3bfd(0x192)](_0x2cef4a),_0xe9723b=_0x4f8685[_0x1f3bfd(0x1f6)][_0x1f3bfd(0x192)](_0x268de2);_0x4544cb[_0x1f3bfd(0x1dc)]();const _0x537d32=new w(),_0xbf7084=new ClipboardEvent(_0x1f3bfd(0x1f9),{'clipboardData':_0x537d32}),_0x462fd3=new _0x47e839(_0x537d32),_0x409f45=new _0x5a6f24(_0x58478f,_0xbf7084,{'dataTransfer':_0x462fd3});_0xe9723b[_0x1f3bfd(0x1e6)](_0x1f3bfd(0x21a),()=>{const _0x4eaeab=_0x1f3bfd;_0x58478f[_0x4eaeab(0x1df)][_0x4eaeab(0x215)](_0x4eaeab(0x1f9),_0x409f45);}),this[_0x1f3bfd(0x1da)]||(this[_0x1f3bfd(0x1cf)](),this[_0x1f3bfd(0x1ae)]=new _0x1da23f(_0x4f8685,this[_0x1f3bfd(0x208)][_0x1f3bfd(0x1bb)],this[_0x1f3bfd(0x1da)]));let _0x31c067=_0x462fd3[_0x1f3bfd(0x1b3)](_0x1f3bfd(0x1e0));const _0x20e385=_0x4f8685[_0x1f3bfd(0x1a0)][_0x1f3bfd(0x1df)][_0x1f3bfd(0x1c8)],_0x35d5fe=Array[_0x1f3bfd(0x1b2)](_0x20e385[_0x1f3bfd(0x1f1)]());0x1===_0x35d5fe[_0x1f3bfd(0x220)]&&_0x35d5fe[0x0][_0x1f3bfd(0x219)]&&!_0x20e385[_0x1f3bfd(0x1f4)]()&&''!==_0x31c067[_0x1f3bfd(0x187)](/ /g,'')[_0x1f3bfd(0x1be)]()&&(_0x31c067=_0x1f3bfd(0x1e4)+_0x31c067+_0x1f3bfd(0x1cd)),this[_0x1f3bfd(0x1ae)][_0x1f3bfd(0x1af)]({'actionId':_0x562461,'query':_0x50df0c,'htmlContent':_0x31c067,'label':_0x6738ce,'mainActionLabel':_0x28d48f[_0x4f8685[_0x1f3bfd(0x1a0)][_0x1f3bfd(0x1df)][_0x1f3bfd(0x1c8)][_0x1f3bfd(0x22c)]?_0x1f3bfd(0x19f):_0x1f3bfd(0x1d3)]}),_0x1f3bfd(0x218)!==this[_0x1f3bfd(0x1fb)]['id']?this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x194)]({'id':_0x1f3bfd(0x218),'icon':_0x59eff1,'title':_0x1e2272(this[_0x1f3bfd(0x1ba)][_0x1f3bfd(0x1ed)],_0x1f3bfd(0x21e)),'content':this[_0x1f3bfd(0x1da)],'position':_0x55f919[_0x1f3bfd(0x1c7)],'onShow':()=>{const _0x56646c=_0x1f3bfd;this[_0x56646c(0x1da)][_0x56646c(0x1d5)]();},'onHide':()=>{const _0x4c3ba9=_0x1f3bfd;this[_0x4c3ba9(0x1ae)][_0x4c3ba9(0x19b)](),_0x4544cb[_0x4c3ba9(0x1b9)]();}}):this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x1c2)][_0x1f3bfd(0x1d4)]||this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x1c2)][_0x1f3bfd(0x1c0)]();}[_0x18351d(0x227)](){const _0x167bb3=_0x18351d;this[_0x167bb3(0x1fb)][_0x167bb3(0x1fe)]();}[_0x18351d(0x1fa)](){const _0x300d37=_0x18351d,_0x42a410=new Map(),_0x4eb5ae=_0x21a00b(this[_0x300d37(0x1ba)][_0x300d37(0x1a7)][_0x300d37(0x192)](_0x300d37(0x205)),this[_0x300d37(0x1ba)][_0x300d37(0x1ed)]);for(const _0x555186 of _0x4eb5ae)for(const _0xa16cbe of _0x555186[_0x300d37(0x233)])_0x42a410[_0x300d37(0x1d8)](_0xa16cbe['id'],{..._0xa16cbe,'groupId':_0x555186[_0x300d37(0x214)],'groupLabel':_0x555186[_0x300d37(0x195)]||_0x555186[_0x300d37(0x214)]});return _0x42a410;}[_0x18351d(0x1c6)](_0x4bce1b){const _0x5a8edd=_0x18351d,_0x513031=this[_0x5a8edd(0x1ba)],_0x2082df=_0x513031[_0x5a8edd(0x233)][_0x5a8edd(0x192)](_0x5a8edd(0x209)),_0x146d50=new _0x4bce1b(_0x513031[_0x5a8edd(0x1ed)]);return _0x146d50[_0x5a8edd(0x1d8)]({'label':_0x1e2272(_0x513031[_0x5a8edd(0x1ed)],_0x5a8edd(0x21e)),'icon':_0x59eff1,'isToggleable':!0x0}),_0x146d50[_0x5a8edd(0x1b5)](_0x5a8edd(0x211))['to'](_0x2082df),_0x146d50[_0x5a8edd(0x1b5)](_0x5a8edd(0x18c))['to'](this[_0x5a8edd(0x1fb)],'id',_0x2ebcc1=>_0x5a8edd(0x218)===_0x2ebcc1),this[_0x5a8edd(0x197)](_0x146d50,_0x5a8edd(0x1fd),()=>{const _0x18470e=_0x5a8edd;_0x146d50[_0x18470e(0x18c)]?this[_0x18470e(0x227)]():_0x2082df[_0x18470e(0x1fd)]();}),_0x146d50;}[_0x18351d(0x1cf)](){const _0xa05f8c=_0x18351d,_0x2f90c5=this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1f6)][_0xa05f8c(0x192)](_0x2cef4a);this[_0xa05f8c(0x1da)]=new _0x3504ed(this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1ed)],this[_0xa05f8c(0x1f5)],this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1a7)][_0xa05f8c(0x192)](_0xa05f8c(0x234))),this[_0xa05f8c(0x1da)]['on'](_0xa05f8c(0x1e9),()=>{const _0x197bf7=_0xa05f8c;this[_0x197bf7(0x1fb)][_0x197bf7(0x1c2)][_0x197bf7(0x1d4)]||this[_0x197bf7(0x1fb)][_0x197bf7(0x1c2)][_0x197bf7(0x1c0)]();}),this[_0xa05f8c(0x1da)][_0xa05f8c(0x18d)][_0xa05f8c(0x1ce)][_0xa05f8c(0x1ac)]['on'](_0xa05f8c(0x20d),()=>{const _0x12ff21=_0xa05f8c;this[_0x12ff21(0x1fb)][_0x12ff21(0x1c2)][_0x12ff21(0x1d4)]||this[_0x12ff21(0x1fb)][_0x12ff21(0x1c2)][_0x12ff21(0x1c0)]();}),this[_0xa05f8c(0x197)](this[_0xa05f8c(0x1da)],_0xa05f8c(0x21b),()=>{const _0x4ef921=_0xa05f8c;_0x2f90c5[_0x4ef921(0x21f)](this[_0x4ef921(0x1ae)][_0x4ef921(0x217)]),this[_0x4ef921(0x227)]();}),this[_0xa05f8c(0x197)](this[_0xa05f8c(0x1da)],_0xa05f8c(0x1bc),()=>{const _0x3a2957=_0xa05f8c;_0x2f90c5[_0x3a2957(0x1bc)](this[_0x3a2957(0x1ae)][_0x3a2957(0x217)]),this[_0x3a2957(0x227)]();}),this[_0xa05f8c(0x21d)]();}[_0x18351d(0x21d)](){const _0x472aa6=_0x18351d,{locale:_0x2b2fe9,ui:{ariaLiveAnnouncer:_0x42ab01}}=this[_0x472aa6(0x1ba)];this[_0x472aa6(0x1da)][_0x472aa6(0x1aa)]['on'](_0x472aa6(0x228),(_0x1e1751,_0x55faa3,_0x282a35)=>{const _0x308529=_0x472aa6,_0xa78440=this[_0x308529(0x1ae)][_0x308529(0x217)];_0x282a35?_0x42ab01[_0x308529(0x20f)](_0x1e2272(_0x2b2fe9,_0x308529(0x1ab))):_0xa78440&&_0x42ab01[_0x308529(0x20f)](_0x1e2272(_0x2b2fe9,_0x308529(0x19a),_0xa78440),{'politeness':_0x308529(0x1d6),'isUnsafeHTML':!0x0});}),this[_0x472aa6(0x1da)]['on'](_0x472aa6(0x1a1),(_0x499b81,_0xa6c34a,_0x33ea53)=>{const _0x20c471=_0x472aa6;if(_0x33ea53){const _0x3bae45=this[_0x20c471(0x1da)][_0x20c471(0x1ca)][_0x20c471(0x1c9)];_0x42ab01[_0x20c471(0x20f)](_0x1e2272(_0x2b2fe9,_0x20c471(0x1d2),_0x3bae45));}});}[_0x18351d(0x201)](_0x33d7b8){const _0x244f99=_0x18351d,_0x4bc8f0=this[_0x244f99(0x1b6)][_0x244f99(0x192)](_0x33d7b8),_0x2b5c13=this[_0x244f99(0x1ba)],_0x344ddc=_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1df)][_0x244f99(0x1c8)],_0x3bd8c5=_0x2b5c13[_0x244f99(0x233)][_0x244f99(0x192)](_0x244f99(0x209)),_0x60a781=_0x2b5c13[_0x244f99(0x1f6)][_0x244f99(0x192)](_0x2cef4a),_0x1767e1=''+(_0x4bc8f0[_0x244f99(0x214)]!==_0x4e42c8?_0x4bc8f0[_0x244f99(0x195)]+':\x20':'')+_0x4bc8f0[_0x244f99(0x22e)];if(!0x1!==_0x4bc8f0[_0x244f99(0x186)]&&_0x344ddc[_0x244f99(0x22c)]){const _0x574534=_0x53a91f(_0x344ddc[_0x244f99(0x18a)]())||_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1fc)][_0x244f99(0x18f)](_0x344ddc);_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1de)](_0x1bb220=>{const _0x58da45=_0x244f99;_0x1bb220[_0x58da45(0x1a9)](_0x574534,'in');});}_0x60a781[_0x244f99(0x1dc)](),_0x3bd8c5[_0x244f99(0x1fd)](_0x4bc8f0[_0x244f99(0x221)],_0x1767e1,_0x244f99(0x1bf)+_0x33d7b8);}[_0x18351d(0x1e3)](_0x45c3f1,_0x1b2e76,_0x8a54da,_0x230e82){const _0xbefba4=_0x18351d,_0x494130=this[_0xbefba4(0x1ba)],_0x43b3f3=_0x494130[_0xbefba4(0x1ed)],_0x17af90=new _0x4a81ee(_0x43b3f3),_0x291b0e=U(_0x494130,_0x8a54da)[_0xbefba4(0x1ec)](_0xc14811=>_0xc14811[_0xbefba4(0x233)][_0xbefba4(0x220)]);0x1===_0x291b0e[_0xbefba4(0x220)]?this[_0xbefba4(0x232)]({'command':_0x45c3f1,'commands':_0x291b0e[0x0][_0xbefba4(0x233)],'parentMenuView':_0x1b2e76,'onExecute':_0x230e82})[_0xbefba4(0x1d7)](_0x226775=>_0x17af90[_0xbefba4(0x198)][_0xbefba4(0x206)](_0x226775)):_0x291b0e[_0xbefba4(0x1d7)](({groupId:_0x4c2cf0,groupLabel:_0x29b3d5,commands:_0x25f839})=>{const _0x814b0c=_0xbefba4,_0x12bd56=new _0x1616e2(_0x43b3f3,_0x1b2e76),_0x31e39f=new _0x4dca8f(_0x43b3f3),_0x3f566e=new _0x4a81ee(_0x43b3f3),_0x50990c=this[_0x814b0c(0x232)]({'command':_0x45c3f1,'commands':_0x25f839,'parentMenuView':_0x31e39f,'onExecute':_0x230e82});_0x31e39f[_0x814b0c(0x22d)][_0x814b0c(0x1d8)]({'label':_0x29b3d5||_0x4c2cf0}),_0x31e39f[_0x814b0c(0x1d0)](_0x814b0c(0x1fd))['to'](_0x1b2e76),_0x3f566e[_0x814b0c(0x198)][_0x814b0c(0x1b4)](_0x50990c),_0x31e39f[_0x814b0c(0x1eb)][_0x814b0c(0x20a)][_0x814b0c(0x206)](_0x3f566e),_0x12bd56[_0x814b0c(0x20a)][_0x814b0c(0x206)](_0x31e39f),_0x17af90[_0x814b0c(0x198)][_0x814b0c(0x206)](_0x12bd56);}),_0x1b2e76[_0xbefba4(0x1eb)][_0xbefba4(0x20a)][_0xbefba4(0x206)](_0x17af90);}[_0x18351d(0x232)]({command:_0x177325,commands:_0x1e790b,parentMenuView:_0x3fd5e9,onExecute:_0x24bb9d}){const _0x408648=_0x18351d,_0x474e8e=this[_0x408648(0x1ba)],_0x22c7a7=_0x474e8e[_0x408648(0x1ed)];return U(_0x474e8e,_0x1e790b)[_0x408648(0x193)](_0x5b3bf3=>{const _0x6b7c34=_0x408648,_0x7dd1a4=new _0x1616e2(_0x22c7a7,_0x3fd5e9),_0x5c6646=new _0x2b9b3b(_0x22c7a7);return _0x5c6646[_0x6b7c34(0x1d8)]({'label':_0x5b3bf3[_0x6b7c34(0x22e)]}),_0x5c6646[_0x6b7c34(0x1d0)](_0x6b7c34(0x1fd))['to'](_0x3fd5e9),_0x5c6646['on'](_0x6b7c34(0x1fd),()=>_0x24bb9d(_0x5b3bf3['id'])),_0x5c6646[_0x6b7c34(0x1b5)](_0x6b7c34(0x211))['to'](_0x177325,_0x6b7c34(0x1e5),_0x7449f6=>_0x7449f6[_0x6b7c34(0x1f8)](_0x5b3bf3['id'])),_0x7dd1a4[_0x6b7c34(0x20a)][_0x6b7c34(0x206)](_0x5c6646),_0x7dd1a4;});}}function B(_0xc9471a,_0x801434){const _0x4d56a7=_0x18351d;return void 0x0!==_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0===_0x801434[_0x4d56a7(0x1ef)]?0x1:void 0x0===_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0!==_0x801434[_0x4d56a7(0x1ef)]?-0x1:void 0x0!==_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0!==_0x801434[_0x4d56a7(0x1ef)]?_0xc9471a[_0x4d56a7(0x1ef)]-_0x801434[_0x4d56a7(0x1ef)]:0x0;}function U(_0x3e02f2,_0x1e48e2){const _0x3b1b27=_0x18351d;_0x1e48e2[_0x3b1b27(0x216)](B);const _0x435ebb={},_0x3963f7=[];for(const _0x1624fd of _0x1e48e2)if(void 0x0!==_0x1624fd[_0x3b1b27(0x1ef)]){if(_0x1624fd[_0x3b1b27(0x1ef)]in _0x435ebb)throw new _0x5a267d(_0x3b1b27(0x22f),_0x3e02f2,{'conflictingDefinitions':[_0x1624fd,_0x435ebb[_0x1624fd[_0x3b1b27(0x1ef)]]]});_0x435ebb[_0x1624fd[_0x3b1b27(0x1ef)]]=_0x1624fd,_0x3963f7[_0x3b1b27(0x1e2)](_0x1624fd[_0x3b1b27(0x1ef)],0x0,_0x1624fd);}else _0x3963f7[_0x3b1b27(0x231)](_0x1624fd);return _0x3963f7;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4cf917,_0x229b1d){var _0x26216c=_0x4692,_0x2e1ceb=_0x4cf917();while(!![]){try{var _0x4a6869=-parseInt(_0x26216c(0xa1))/0x1*(parseInt(_0x26216c(0xa0))/0x2)+parseInt(_0x26216c(0xa5))/0x3+-parseInt(_0x26216c(0x9f))/0x4+parseInt(_0x26216c(0xa2))/0x5*(-parseInt(_0x26216c(0xa3))/0x6)+-parseInt(_0x26216c(0x9e))/0x7+parseInt(_0x26216c(0x9d))/0x8*(-parseInt(_0x26216c(0x9c))/0x9)+parseInt(_0x26216c(0xa4))/0xa;if(_0x4a6869===_0x229b1d)break;else _0x2e1ceb['push'](_0x2e1ceb['shift']());}catch(_0x52932c){_0x2e1ceb['push'](_0x2e1ceb['shift']());}}}(_0x2d8a,0xe0a4a));function _0x2d8a(){var _0x567ed1=['9170539yHDoEI','1469148qWuASl','1012914eUvQAH','1yXMxxd','80SSuzdm','274458aWElRh','35792670LKdrGm','1598919WEltpp','43641QAdIam','456WtGpja'];_0x2d8a=function(){return _0x567ed1;};return _0x2d8a();}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x4692(_0x539e8b,_0x39747e){var _0x2d8afe=_0x2d8a();return _0x4692=function(_0x469240,_0x5aaef8){_0x469240=_0x469240-0x9c;var _0x2029f3=_0x2d8afe[_0x469240];return _0x2029f3;},_0x4692(_0x539e8b,_0x39747e);}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';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(_0x10f545,_0x103449){var _0x346e6b=_0x13c1,_0x188051=_0x10f545();while(!![]){try{var _0x48fdf9=-parseInt(_0x346e6b(0x11e))/0x1*(parseInt(_0x346e6b(0x11b))/0x2)+parseInt(_0x346e6b(0x120))/0x3*(parseInt(_0x346e6b(0x117))/0x4)+-parseInt(_0x346e6b(0x121))/0x5*(parseInt(_0x346e6b(0x118))/0x6)+-parseInt(_0x346e6b(0x11f))/0x7*(-parseInt(_0x346e6b(0x11a))/0x8)+parseInt(_0x346e6b(0x11c))/0x9+-parseInt(_0x346e6b(0x122))/0xa*(-parseInt(_0x346e6b(0x11d))/0xb)+-parseInt(_0x346e6b(0x119))/0xc;if(_0x48fdf9===_0x103449)break;else _0x188051['push'](_0x188051['shift']());}catch(_0x2d583a){_0x188051['push'](_0x188051['shift']());}}}(_0x5e80,0x81775));import{CKEditorError as _0x4ba22e}from'ckeditor5/src/utils.js';function _0x13c1(_0x10f8a1,_0x2f510b){var _0x5e8048=_0x5e80();return _0x13c1=function(_0x13c172,_0x393517){_0x13c172=_0x13c172-0x117;var _0x1b1805=_0x5e8048[_0x13c172];return _0x1b1805;},_0x13c1(_0x10f8a1,_0x2f510b);}function _0x5e80(){var _0x43d2f2=['3490740QOHBUD','16BDeaBk','1360706xPOpkH','4051854lNaIOT','55DXFaZv','1fPfMKO','3229618sCWUZk','5469DnAAqp','8050MbMdin','1296430jGxjXg','1096UQbsij','3798XLjHjG'];_0x5e80=function(){return _0x43d2f2;};return _0x5e80();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x2674ee=_0x1e10;function _0x1e10(_0xfe44ed,_0x584664){const _0x556652=_0x5566();return _0x1e10=function(_0x1e1063,_0x4bac3b){_0x1e1063=_0x1e1063-0x1a8;let _0x302b27=_0x556652[_0x1e1063];return _0x302b27;},_0x1e10(_0xfe44ed,_0x584664);}(function(_0x512d91,_0x4eb4e6){const _0x6f4e75=_0x1e10,_0x34d3b7=_0x512d91();while(!![]){try{const _0x34a953=parseInt(_0x6f4e75(0x1cb))/0x1*(-parseInt(_0x6f4e75(0x1b6))/0x2)+parseInt(_0x6f4e75(0x1df))/0x3*(-parseInt(_0x6f4e75(0x1ed))/0x4)+parseInt(_0x6f4e75(0x1cd))/0x5+-parseInt(_0x6f4e75(0x1eb))/0x6+-parseInt(_0x6f4e75(0x1c8))/0x7*(-parseInt(_0x6f4e75(0x1ec))/0x8)+parseInt(_0x6f4e75(0x1d2))/0x9*(-parseInt(_0x6f4e75(0x1c1))/0xa)+-parseInt(_0x6f4e75(0x1dc))/0xb*(-parseInt(_0x6f4e75(0x208))/0xc);if(_0x34a953===_0x4eb4e6)break;else _0x34d3b7['push'](_0x34d3b7['shift']());}catch(_0x3c8e69){_0x34d3b7['push'](_0x34d3b7['shift']());}}}(_0x5566,0x940f2));import{ObservableMixin as _0x421182}from'ckeditor5/src/utils.js';import{AIRequestError as _0x53eed5}from'../adapters/aiadapter.js';import{Matcher as _0x815fa5,UpcastWriter as _0x448c23}from'ckeditor5/src/engine.js';function _0x5566(){const _0x411739=['rename','110PGBbun','serializeToString','once','497337PSwARF','_sanitizeHTML','_handleQuery','match','ELEMENT_NODE','innerHTML','stopProcessing','isProcessing','initialContext','body','markers','makeRequest','1549368vITwGd','8bxaykL','12DWqKNO','startProcessing','setContentOf','substring','editing','```','processor','remove','render','previousContext','text/html','custom','finally','_normalizeResponseHeadings','updateView','listenTo','document','message','previousLabel','reverse','catch','nodeType','childNodes','get','toModel','_sanitizationContainer','viewToDom','2245920boNaab','_isH1TagSupportEnabled','submitPrompt','currentContext','config','ai.aiAssistant.preserveComments','_xmlSerializer','abort','textAdapter','handleError','push','length','_domParser','stopListening','trim','previousQuery','element','view','name','parseFromString','2WqgAYA','exec','endsWith','stringify','<h1></h1>','mainAction','tryAgainEvent','destroy','domConverter','isRendered','toView','48290yBvEgq','createElement','then','htmlProcessor','reset','finishProcessing','value','7501697XOkiam','div','from','1028029lvJXcx','prompt','1121210jQCGkR','currentResponse','_stripMarkdownSyntax','set:currentContext','data','1449xtuNsX','clear','```html','querySelector','startsWith','previousActionId','_parseAndNormalizeContent','editor','set'];_0x5566=function(){return _0x411739;};return _0x5566();}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x421182(){[_0x2674ee(0x1d9)];[_0x2674ee(0x1aa)];[_0x2674ee(0x1b3)];[_0x2674ee(0x206)];[_0x2674ee(0x1ae)];[_0x2674ee(0x1a8)];constructor(_0x41e0fa,_0x2e113b,_0xf4f296){const _0x34ec2e=_0x2674ee;super(),this[_0x34ec2e(0x1d9)]=_0x41e0fa,this[_0x34ec2e(0x1aa)]=_0x2e113b,this[_0x34ec2e(0x206)]=document[_0x34ec2e(0x1c2)](_0x34ec2e(0x1c9)),this[_0x34ec2e(0x1ae)]=new DOMParser(),this[_0x34ec2e(0x1a8)]=new XMLSerializer(),this[_0x34ec2e(0x1b3)]=_0xf4f296,this[_0x34ec2e(0x1da)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x34ec2e(0x1d0),(_0x56a925,_0x544a7b,_0x37cdb9)=>{const _0x570ad8=_0x34ec2e;this[_0x570ad8(0x1b3)][_0x570ad8(0x1c7)]=this[_0x570ad8(0x1e0)](_0x37cdb9);}),this[_0x34ec2e(0x1fc)](this[_0x34ec2e(0x1b3)],_0x34ec2e(0x20a),(_0x4bcce5,_0x80510c)=>{const _0x4ad508=_0x34ec2e,_0x353357=this[_0x4ad508(0x20b)]||this[_0x4ad508(0x1e7)];this[_0x4ad508(0x1e1)](_0x80510c,_0x353357,_0x4ad508(0x1f8));}),this[_0x34ec2e(0x1fc)](this[_0x34ec2e(0x1b3)],_0x34ec2e(0x1bc),()=>{const _0x225b18=_0x34ec2e;this[_0x225b18(0x1b3)][_0x225b18(0x1cc)]=this[_0x225b18(0x1ff)],this[_0x225b18(0x1e1)](this[_0x225b18(0x1b1)],this[_0x225b18(0x1f6)],this[_0x225b18(0x1d7)],this[_0x225b18(0x1ff)]);}),this[_0x34ec2e(0x1fc)](this[_0x34ec2e(0x1b3)],_0x34ec2e(0x1e5),()=>{const _0x23926e=_0x34ec2e;this[_0x23926e(0x1e5)]();});}[_0x2674ee(0x1bd)](){const _0x28b041=_0x2674ee;this[_0x28b041(0x1af)]();}async[_0x2674ee(0x1fb)]({actionId:_0x481513,query:_0x4998ee,htmlContent:_0x2e7726,label:_0x341f3e,mainActionLabel:_0x37d83f}){const _0x147da5=_0x2674ee;this[_0x147da5(0x1b3)][_0x147da5(0x1cc)]=_0x341f3e,this[_0x147da5(0x1b3)][_0x147da5(0x1bb)]=_0x37d83f,this[_0x147da5(0x1e7)]=_0x2e7726,_0x4998ee&&(this[_0x147da5(0x1b3)][_0x147da5(0x1bf)]?this[_0x147da5(0x1e1)](_0x4998ee,_0x2e7726,_0x481513,_0x341f3e):this[_0x147da5(0x1b3)][_0x147da5(0x1de)](_0x147da5(0x1f5),()=>{const _0x426843=_0x147da5;this[_0x426843(0x1e1)](_0x4998ee,_0x2e7726,_0x481513,_0x341f3e);}));}[_0x2674ee(0x1e5)](){const _0x479c6b=_0x2674ee;this[_0x479c6b(0x1e6)]&&(this[_0x479c6b(0x1e6)]=!0x1,this[_0x479c6b(0x1b3)][_0x479c6b(0x1c6)](),this[_0x479c6b(0x1aa)][_0x479c6b(0x1a9)]());}[_0x2674ee(0x1c5)](){const _0x1defc1=_0x2674ee;this[_0x1defc1(0x1e7)]='',this[_0x1defc1(0x20b)]='',this[_0x1defc1(0x1ce)]='',this[_0x1defc1(0x1f6)]='',this[_0x1defc1(0x1b1)]='',this[_0x1defc1(0x1ff)]='',this[_0x1defc1(0x1d7)]=void 0x0,this[_0x1defc1(0x1b3)][_0x1defc1(0x1c5)](),this[_0x1defc1(0x1e5)]();}async[_0x2674ee(0x1e1)](_0x5b4488,_0x4aba6c,_0x13083e,_0x4a4b8f){const _0x398f91=_0x2674ee;return this[_0x398f91(0x1e6)]=!0x0,this[_0x398f91(0x1b3)][_0x398f91(0x1ee)](),this[_0x398f91(0x1f6)]=_0x4aba6c,this[_0x398f91(0x1b1)]=_0x5b4488,this[_0x398f91(0x1ff)]=_0x4a4b8f||_0x5b4488,this[_0x398f91(0x1d7)]=_0x13083e,new Promise(_0x13b667=>{const _0x332e50=_0x398f91;this[_0x332e50(0x1aa)][_0x332e50(0x1ea)]({'query':_0x5b4488,'context':_0x4aba6c,'onData':_0x185276=>{const _0x1e7ea4=_0x332e50;this[_0x1e7ea4(0x1ce)]=_0x185276,this[_0x1e7ea4(0x20b)]=this[_0x1e7ea4(0x1d8)](this[_0x1e7ea4(0x1ce)]);},'actionId':_0x13083e})[_0x332e50(0x1c3)](()=>{const _0x70d356=_0x332e50;!this[_0x70d356(0x20b)]&&this[_0x70d356(0x1ce)]&&(this[_0x70d356(0x20b)]=this[_0x70d356(0x1d8)](this[_0x70d356(0x1ce)],!0x0));})[_0x332e50(0x201)](_0x4185f8=>{const _0x3b64f9=_0x332e50;_0x4185f8 instanceof _0x53eed5?this[_0x3b64f9(0x1b3)][_0x3b64f9(0x1ab)](_0x4185f8[_0x3b64f9(0x1fe)]):this[_0x3b64f9(0x1b3)][_0x3b64f9(0x1ab)](),_0x13b667();})[_0x332e50(0x1f9)](()=>{const _0x5522cf=_0x332e50;this[_0x5522cf(0x1e5)](),_0x13b667();});});}[_0x2674ee(0x1d8)](_0x26b5bb,_0x164534=!0x1){const _0x892656=_0x2674ee,_0x2dfbbb=Z[_0x892656(0x1b7)](_0x26b5bb);_0x26b5bb=_0x2dfbbb?_0x26b5bb[_0x892656(0x1f0)](_0x2dfbbb[0x1][_0x892656(0x1ad)]):_0x26b5bb[_0x892656(0x1ad)]<0x64&&!_0x164534?'':this[_0x892656(0x1cf)](_0x26b5bb);const _0x46c9c4=this[_0x892656(0x1ae)][_0x892656(0x1b5)](_0x26b5bb,_0x892656(0x1f7));if(_0x2dfbbb){const _0x3f5ec5=Array[_0x892656(0x1ca)](_0x46c9c4[_0x892656(0x1e8)][_0x892656(0x203)]);_0x3f5ec5[_0x892656(0x200)]();for(const _0x1abcf1 of _0x3f5ec5){if(_0x1abcf1[_0x892656(0x202)]==Node[_0x892656(0x1e3)])break;_0x1abcf1[_0x892656(0x1f4)]();}}const _0x227822=this[_0x892656(0x1d9)][_0x892656(0x1d1)][_0x892656(0x1f3)][_0x892656(0x1c0)](this[_0x892656(0x1a8)][_0x892656(0x1dd)](_0x46c9c4[_0x892656(0x1e8)]));this[_0x892656(0x209)]()||this[_0x892656(0x1fa)](_0x227822);const _0x356656=this[_0x892656(0x1d9)][_0x892656(0x20c)][_0x892656(0x204)](_0x892656(0x20d)),_0xfd108a=this[_0x892656(0x1d9)][_0x892656(0x1d1)][_0x892656(0x205)](_0x227822);return _0x356656||_0xfd108a[_0x892656(0x1e9)][_0x892656(0x1d3)](),this[_0x892656(0x1d9)][_0x892656(0x1d1)][_0x892656(0x1b9)](_0xfd108a);}[_0x2674ee(0x1fa)](_0x22d1a5){const _0x4f9898=_0x2674ee,_0x74509a=new _0x448c23(this[_0x4f9898(0x1d9)][_0x4f9898(0x1f1)][_0x4f9898(0x1b3)][_0x4f9898(0x1fd)]),_0x5ad6e8=new _0x815fa5({'name':/^h[1-5]$/}),_0x4d26c1=[];let _0x4bd2c0=!0x1;for(const _0x49e279 of _0x22d1a5)_0x49e279['is'](_0x4f9898(0x1b2))&&_0x5ad6e8[_0x4f9898(0x1e2)](_0x49e279)&&(_0x4d26c1[_0x4f9898(0x1ac)](_0x49e279),'h1'==_0x49e279[_0x4f9898(0x1b4)]&&(_0x4bd2c0=!0x0));if(_0x4bd2c0){for(const _0x12dafd of _0x4d26c1)_0x74509a[_0x4f9898(0x1db)]('h'+(parseInt(_0x12dafd[_0x4f9898(0x1b4)][0x1])+0x1),_0x12dafd);}}[_0x2674ee(0x209)](){const _0x1ec21b=_0x2674ee,{data:_0x419796,editing:_0x29d7c4}=this[_0x1ec21b(0x1d9)],_0x3e92b3=_0x419796[_0x1ec21b(0x1c4)][_0x1ec21b(0x1c0)](_0x1ec21b(0x1ba)),_0xbcfd27=_0x419796[_0x1ec21b(0x1c0)](_0x419796[_0x1ec21b(0x205)](_0x3e92b3));return!!_0x29d7c4[_0x1ec21b(0x1b3)][_0x1ec21b(0x1be)][_0x1ec21b(0x207)](_0xbcfd27)[_0x1ec21b(0x1d5)]('h1');}[_0x2674ee(0x1e0)](_0x1a66c9){const _0x19765a=_0x2674ee;return this[_0x19765a(0x1d9)][_0x19765a(0x1f1)][_0x19765a(0x1b3)][_0x19765a(0x1be)][_0x19765a(0x1ef)](this[_0x19765a(0x206)],_0x1a66c9),this[_0x19765a(0x206)][_0x19765a(0x1e4)];}[_0x2674ee(0x1cf)](_0x2e9892){const _0x3bc872=_0x2674ee,_0x1109ac=_0x2e9892[_0x3bc872(0x1b0)]();return _0x1109ac[_0x3bc872(0x1d6)](_0x3bc872(0x1d4))?_0x1109ac[_0x3bc872(0x1b8)](_0x3bc872(0x1f2))?_0x1109ac[_0x3bc872(0x1f0)](0x7,_0x1109ac[_0x3bc872(0x1ad)]-0x3):_0x1109ac[_0x3bc872(0x1f0)](0x7):_0x2e9892;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f7238=_0x2f35;(function(_0x23e03a,_0x4d2f4a){const _0x4b7a28=_0x2f35,_0xb56052=_0x23e03a();while(!![]){try{const _0x138bf2=-parseInt(_0x4b7a28(0x1dd))/0x1+parseInt(_0x4b7a28(0x1c7))/0x2+-parseInt(_0x4b7a28(0x1e9))/0x3*(parseInt(_0x4b7a28(0x1eb))/0x4)+-parseInt(_0x4b7a28(0x1cb))/0x5+parseInt(_0x4b7a28(0x1f2))/0x6*(-parseInt(_0x4b7a28(0x1b5))/0x7)+-parseInt(_0x4b7a28(0x1f9))/0x8+parseInt(_0x4b7a28(0x204))/0x9*(parseInt(_0x4b7a28(0x203))/0xa);if(_0x138bf2===_0x4d2f4a)break;else _0xb56052['push'](_0xb56052['shift']());}catch(_0x8f3750){_0xb56052['push'](_0xb56052['shift']());}}}(_0x1e2f,0x50868));import{global as _0x4ce149}from'ckeditor5/src/utils.js';function _0x2f35(_0x34e62a,_0x202e04){const _0x1e2f65=_0x1e2f();return _0x2f35=function(_0x2f35bf,_0x22d99b){_0x2f35bf=_0x2f35bf-0x1b0;let _0x40227d=_0x1e2f65[_0x2f35bf];return _0x40227d;},_0x2f35(_0x34e62a,_0x202e04);}import{View as _0x46d387,ButtonView as _0x39ba21,SpinnerView as _0x109cbd}from'ckeditor5/src/ui.js';import{IconCheck as _0x1a74f2,IconCopy as _0x249523}from'ckeditor5/src/icons.js';import{getTranslation as _0x371c32}from'../../utils/common-translations.js';export default class Y extends _0x46d387{[_0x3f7238(0x1ef)];[_0x3f7238(0x1cc)];constructor(_0x244c78,_0x3cfe02=''){const _0x5c3007=_0x3f7238;super(_0x244c78),this[_0x5c3007(0x1e2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2afee1=this[_0x5c3007(0x1d7)];this[_0x5c3007(0x1ef)]=new ContentFieldView(_0x244c78,_0x3cfe02),this[_0x5c3007(0x1cc)]=this[_0x5c3007(0x1f0)](),this[_0x5c3007(0x1fb)]({'tag':_0x5c3007(0x1cd),'attributes':{'class':['ck',_0x5c3007(0x1c8),_0x2afee1['if'](_0x5c3007(0x202),_0x5c3007(0x1f8),_0x5993d6=>!_0x5993d6)],'tabindex':'-1'},'children':[{'tag':_0x5c3007(0x1cd),'attributes':{'class':['ck',_0x5c3007(0x1ec),_0x2afee1['if'](_0x5c3007(0x1c6),_0x5c3007(0x1d1))]},'children':[this[_0x5c3007(0x1ef)],{'tag':_0x5c3007(0x1cd),'attributes':{'class':['ck',_0x5c3007(0x1b1)]},'children':[this[_0x5c3007(0x1cc)]]}]}]});}[_0x3f7238(0x1b0)](){const _0x1aa69c=_0x3f7238;super[_0x1aa69c(0x1b0)](),this[_0x1aa69c(0x1ba)]&&this[_0x1aa69c(0x1ef)][_0x1aa69c(0x1bf)](this[_0x1aa69c(0x1ba)]);let _0x213a95=!0x1;this['on'](_0x1aa69c(0x1d0),(_0x294f89,_0x411713,_0x30eb69)=>{const _0x472133=_0x1aa69c,_0x12adab=!this[_0x472133(0x1ef)][_0x472133(0x1c5)][_0x472133(0x1f1)](_0x472133(0x1ff));this[_0x472133(0x1ef)][_0x472133(0x1bf)](_0x30eb69),this[_0x472133(0x1c6)]&&_0x12adab&&!_0x213a95&&this[_0x472133(0x1c5)][_0x472133(0x1b4)]({'top':this[_0x472133(0x1c5)][_0x472133(0x1bd)],'behavior':_0x472133(0x1e4)});}),this['on'](_0x1aa69c(0x1d9),(_0x343f5e,_0x4b930f,_0x40d3ab)=>{const _0x49fd62=_0x1aa69c;_0x213a95=!0x1,_0x40d3ab?(this[_0x49fd62(0x1ba)]=null,this[_0x49fd62(0x1ef)][_0x49fd62(0x1c3)]()):this[_0x49fd62(0x1ba)]||this[_0x49fd62(0x1ef)][_0x49fd62(0x1bf)]('');}),this[_0x1aa69c(0x1fc)](this[_0x1aa69c(0x1c5)],_0x1aa69c(0x1f3),()=>{_0x213a95=!0x0;}),this[_0x1aa69c(0x1fc)](this[_0x1aa69c(0x1c5)],_0x1aa69c(0x1d4),()=>{_0x213a95=!0x0;});}[_0x3f7238(0x1ed)](){const _0x3d6be8=_0x3f7238;this[_0x3d6be8(0x1c5)][_0x3d6be8(0x1ed)]();}[_0x3f7238(0x1f0)](){const _0x5a3c84=_0x3f7238,_0x46659c=this[_0x5a3c84(0x1e7)],_0x47b6d8=new _0x39ba21(this[_0x5a3c84(0x1e7)]),_0x328601=_0x5a3c84(0x1bc);return _0x47b6d8[_0x5a3c84(0x1e2)]({'label':_0x371c32(_0x46659c,_0x5a3c84(0x1f7)),'icon':_0x249523,'class':_0x328601,'tooltip':!0x0}),_0x47b6d8[_0x5a3c84(0x1e6)](_0x5a3c84(0x202))['to'](this,_0x5a3c84(0x1ba),_0x44a92d=>!!_0x44a92d),_0x47b6d8[_0x5a3c84(0x1e6)](_0x5a3c84(0x1bb))['to'](this,_0x5a3c84(0x1c6),_0xc2e393=>!_0xc2e393),_0x47b6d8['on'](_0x5a3c84(0x1b3),()=>{const _0x1fe792=_0x5a3c84;this[_0x1fe792(0x1fa)](this[_0x1fe792(0x1ef)][_0x1fe792(0x1c5)]),_0x47b6d8[_0x1fe792(0x1cf)]=_0x1a74f2,_0x47b6d8[_0x1fe792(0x1c0)]=_0x328601+_0x1fe792(0x1fe),this[_0x1fe792(0x1ed)](),setTimeout(()=>{const _0x15527a=_0x1fe792;_0x47b6d8[_0x15527a(0x1cf)]=_0x249523,_0x47b6d8[_0x15527a(0x1c0)]=_0x328601;},0x3e8);}),_0x47b6d8;}[_0x3f7238(0x1fa)](_0x15c7d7){const _0x4064e5=_0x3f7238,{window:_0xf136a,document:_0x77e1d7}=_0x4ce149;if(_0xf136a[_0x4064e5(0x1de)]){const {Blob:_0xbbde1a,ClipboardItem:_0x2931f6}=_0xf136a,_0x243757=[new _0x2931f6({'text/html':new _0xbbde1a([_0x15c7d7[_0x4064e5(0x1e8)]],{'type':_0x4064e5(0x1b2)}),'text/plain':new _0xbbde1a([_0x15c7d7[_0x4064e5(0x1b7)]||''],{'type':_0x4064e5(0x1e5)})})];navigator[_0x4064e5(0x1d8)][_0x4064e5(0x1f4)](_0x243757);}else{const _0x5dc2eb=_0x77e1d7[_0x4064e5(0x1ee)](_0x4064e5(0x1cd));_0x5dc2eb[_0x4064e5(0x200)][_0x4064e5(0x1f6)]=_0x4064e5(0x1c9),_0x5dc2eb[_0x4064e5(0x200)][_0x4064e5(0x1b6)]=_0x4064e5(0x1c1),_0x5dc2eb[_0x4064e5(0x1e8)]=_0x4064e5(0x1df)+_0x15c7d7[_0x4064e5(0x1e8)]+_0x4064e5(0x1f5),_0x77e1d7[_0x4064e5(0x1da)][_0x4064e5(0x1b9)](_0x5dc2eb);const _0x38b822=_0x77e1d7[_0x4064e5(0x1fd)]();_0x38b822[_0x4064e5(0x1ca)](_0x5dc2eb[_0x4064e5(0x1d3)]),_0x38b822[_0x4064e5(0x1e1)](_0x5dc2eb[_0x4064e5(0x1c4)]);const _0x3520ed=_0xf136a[_0x4064e5(0x1d5)]();_0x3520ed[_0x4064e5(0x1e3)](),_0x3520ed[_0x4064e5(0x1d6)](_0x38b822),_0x77e1d7[_0x4064e5(0x1dc)](_0x4064e5(0x1be)),_0x5dc2eb[_0x4064e5(0x1db)]();}}}export class ContentFieldView extends _0x46d387{constructor(_0x258eba,_0x48a4cd=''){const _0x17971e=_0x3f7238;super(_0x258eba),this[_0x17971e(0x1d2)]=this[_0x17971e(0x1ea)](),this[_0x17971e(0x1fb)]({'tag':_0x17971e(0x1cd),'attributes':{'class':['ck',_0x17971e(0x1c2),_0x48a4cd,_0x17971e(0x201),_0x17971e(0x1ce)]}});}[_0x3f7238(0x1bf)](_0x5e1910){const _0x1c3441=_0x3f7238;this[_0x1c3441(0x1c5)][_0x1c3441(0x1e8)]=_0x5e1910;}[_0x3f7238(0x1c3)](){const _0x2dd29a=_0x3f7238;this[_0x2dd29a(0x1c5)][_0x2dd29a(0x1b9)](this[_0x2dd29a(0x1d2)][_0x2dd29a(0x1c5)]);}[_0x3f7238(0x1ea)](){const _0x59c7ed=_0x3f7238,_0x563c92=new _0x46d387(),_0x2b613f=this[_0x59c7ed(0x1e7)],_0x1adcd9=new _0x109cbd();return _0x1adcd9[_0x59c7ed(0x202)]=!0x0,_0x563c92[_0x59c7ed(0x1fb)]({'tag':_0x59c7ed(0x1cd),'attributes':{'class':['ck',_0x59c7ed(0x1b8)]},'children':[_0x1adcd9,{'text':_0x371c32(_0x2b613f,_0x59c7ed(0x1e0))}]}),_0x563c92[_0x59c7ed(0x1b0)](),_0x563c92;}}function _0x1e2f(){const _0x211f48=['1129586xWzohY','ck-ai-form__content-area-wrapper','absolute','setStartAfter','2205245lnALtz','copyButtonView','div','ck-ai-form__content-field','icon','change:value','ck-ai-form__content-area--processing','loaderView','firstElementChild','mousedown','getSelection','addRange','bindTemplate','clipboard','change:isProcessing','body','remove','execCommand','72145FUUrZL','ClipboardItem','<span>[</span>','AI\x20is\x20writing...','setEndBefore','set','removeAllRanges','smooth','text/plain','bind','locale','innerHTML','29454RZfDIS','_createLoader','184NRkhMF','ck-ai-form__content-area','focus','createElement','contentFieldView','_createCopyButton','querySelector','302748fnjIbL','wheel','write','<span>]</span>','position','Copy','ck-hidden','596176rHZfWk','_copyHTMLToClipboard','setTemplate','listenTo','createRange','\x20ck-ai-form__copy-button--copied','.ck-ai-form__loader','style','ck-reset_all-excluded','isVisible','290XbNyDo','327933RpJNjI','render','ck-ai-form__copy-button-wrapper','text/html','execute','scrollTo','35cyHeHm','left','textContent','ck-ai-form__loader','appendChild','value','isEnabled','ck-ai-form__copy-button','scrollHeight','copy','setContent','class','-9999px','ck-content','appendLoader','lastElementChild','element','isProcessing'];_0x1e2f=function(){return _0x211f48;};return _0x1e2f();}
|
|
@@ -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
|
-
(function(
|
|
23
|
+
(function(_0x3752ac,_0x3a8d23){const _0xa76475=_0xa47c,_0x1fce0a=_0x3752ac();while(!![]){try{const _0x58eddc=parseInt(_0xa76475(0x108))/0x1*(-parseInt(_0xa76475(0xfc))/0x2)+parseInt(_0xa76475(0x107))/0x3+-parseInt(_0xa76475(0xfe))/0x4+-parseInt(_0xa76475(0x105))/0x5*(-parseInt(_0xa76475(0x106))/0x6)+parseInt(_0xa76475(0xfb))/0x7*(-parseInt(_0xa76475(0xfd))/0x8)+parseInt(_0xa76475(0xf9))/0x9+-parseInt(_0xa76475(0x104))/0xa*(-parseInt(_0xa76475(0x100))/0xb);if(_0x58eddc===_0x3a8d23)break;else _0x1fce0a['push'](_0x1fce0a['shift']());}catch(_0x4414df){_0x1fce0a['push'](_0x1fce0a['shift']());}}}(_0x358f,0x80e0a));function _0x358f(){const _0x520776=['5461169XUXsiB','756076HVCrqL','8HKTtRA','2498848YCCPnR','text','84282goKncr','content','set','bindTemplate','1150tBMJBI','22560gAcxfN','894eVcvMA','2877342QgNowR','2PSVjcO','setTemplate','ck-ai-form__error','1586745aOCYef','div'];_0x358f=function(){return _0x520776;};return _0x358f();}import{IconError as _0x2f4f77}from'ckeditor5/src/icons.js';import{View as _0x590fb2,IconView as _0x549c9e}from'ckeditor5/src/ui.js';function _0xa47c(_0x197a25,_0x291a10){const _0x358f92=_0x358f();return _0xa47c=function(_0xa47c48,_0x344e10){_0xa47c48=_0xa47c48-0xf8;let _0x4f7a54=_0x358f92[_0xa47c48];return _0x4f7a54;},_0xa47c(_0x197a25,_0x291a10);}export default class st extends _0x590fb2{constructor(_0x557491,_0x2edcdc=''){const _0x3466bb=_0xa47c;super(_0x557491);const _0x1a8366=new _0x549c9e(),_0x32311b=this[_0x3466bb(0x103)];this[_0x3466bb(0x102)](_0x3466bb(0xff),_0x2edcdc),_0x1a8366[_0x3466bb(0x101)]=_0x2f4f77,this[_0x3466bb(0x109)]({'tag':_0x3466bb(0xfa),'attributes':{'class':['ck',_0x3466bb(0xf8)]},'children':[_0x1a8366,{'text':_0x32311b['to'](_0x3466bb(0xff))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2215(){const _0x167a3a=['1588391VjHHME','target','rtl','filteredView','showHistoryButtonView','keystrokes','style','requestAnimationFrame','value','3LunCvh','focusCycler','add','window','enter','211531SLZAtx','width','resultsView','submit','fire','queryView','isEmpty','element','ck-ai-form__submit','maxRows','bind','fieldWrapperChildren','2023398qHgKmQ','excludeScrollbarsAndBorders','submitButtonView','8crWOop','render','ck-ai-form__toggle-history','focus','2829590gTSjgA','minRows','execute','_createShowHistoryButton','isVisible','uiLanguageDirection','isOn','1207625phfxyz','662356fJNShr','left','focusFirst','_createSubmitButton','right','fieldView','2KglWOh','locale','isEnabled','830958guWWag','update','Submit','set','children','focusableChildren','focusLast','History'];_0x2215=function(){return _0x167a3a;};return _0x2215();}const _0x5d401d=_0x1df0;(function(_0x5bacfa,_0xba284c){const _0x62fbd9=_0x1df0,_0x7d9e7a=_0x5bacfa();while(!![]){try{const _0x1f48d7=parseInt(_0x62fbd9(0x80))/0x1*(parseInt(_0x62fbd9(0xa1))/0x2)+parseInt(_0x62fbd9(0x7b))/0x3*(-parseInt(_0x62fbd9(0x9b))/0x4)+-parseInt(_0x62fbd9(0x9a))/0x5+parseInt(_0x62fbd9(0xa4))/0x6+parseInt(_0x62fbd9(0x72))/0x7*(-parseInt(_0x62fbd9(0x8f))/0x8)+parseInt(_0x62fbd9(0x8c))/0x9+parseInt(_0x62fbd9(0x93))/0xa;if(_0x1f48d7===_0xba284c)break;else _0x7d9e7a['push'](_0x7d9e7a['shift']());}catch(_0x25d41f){_0x7d9e7a['push'](_0x7d9e7a['shift']());}}}(_0x2215,0x36a22));import{Rect as _0x9357da,global as _0x326acf,isVisible as _0x32d7f4}from'ckeditor5/src/utils.js';function _0x1df0(_0x2a04d7,_0x2c66a5){const _0x2215f0=_0x2215();return _0x1df0=function(_0x1df07f,_0x475ba7){_0x1df07f=_0x1df07f-0x72;let _0x4ec8f3=_0x2215f0[_0x1df07f];return _0x4ec8f3;},_0x1df0(_0x2a04d7,_0x2c66a5);}import{IconHistory as _0x1b1859,IconSubmit as _0x516aab}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x309f49,ButtonView as _0x2d9b8d}from'ckeditor5/src/ui.js';import{getTranslation as _0x7bb8ba}from'../../utils/common-translations.js';export default class ct extends _0x309f49{[_0x5d401d(0x8e)];[_0x5d401d(0x76)];constructor(_0x23e051,_0x4c168e){const _0x52b0ea=_0x5d401d;super(_0x23e051,_0x4c168e),this[_0x52b0ea(0x85)][_0x52b0ea(0xa0)][_0x52b0ea(0x94)]=0x1,this[_0x52b0ea(0x85)][_0x52b0ea(0xa0)][_0x52b0ea(0x89)]=0x3,this[_0x52b0ea(0x8e)]=this[_0x52b0ea(0x9e)](),this[_0x52b0ea(0x76)]=this[_0x52b0ea(0x96)](),this[_0x52b0ea(0xa9)][_0x52b0ea(0x7d)](this[_0x52b0ea(0x76)],0x1),this[_0x52b0ea(0xa9)][_0x52b0ea(0x7d)](this[_0x52b0ea(0x8e)]);}[_0x5d401d(0x90)](){const _0x3fd62d=_0x5d401d;super[_0x3fd62d(0x90)](),this[_0x3fd62d(0x85)][_0x3fd62d(0x8b)][_0x3fd62d(0x7d)](this[_0x3fd62d(0x76)]),this[_0x3fd62d(0xa8)][_0x3fd62d(0x7d)](this[_0x3fd62d(0x8e)]),this[_0x3fd62d(0x77)][_0x3fd62d(0xa7)](_0x3fd62d(0x7f),(_0x4c932c,_0x4ada61)=>{const _0x216eab=_0x3fd62d;_0x4c932c[_0x216eab(0x73)]==this[_0x216eab(0x85)][_0x216eab(0xa0)][_0x216eab(0x87)]&&(this[_0x216eab(0x83)](),_0x4ada61());});}[_0x5d401d(0x9e)](){const _0x5519a0=_0x5d401d,_0x19a640=new _0x2d9b8d(this[_0x5519a0(0xa2)]),_0x17bdca=this[_0x5519a0(0xa2)];return _0x19a640[_0x5519a0(0xa7)]({'icon':_0x516aab,'label':_0x7bb8ba(_0x17bdca,_0x5519a0(0xa6)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5519a0(0x88)}),_0x19a640['on'](_0x5519a0(0x95),()=>{const _0x3ff3d7=_0x5519a0;this[_0x3ff3d7(0x83)]();}),_0x19a640[_0x5519a0(0x8a)](_0x5519a0(0xa3))['to'](this[_0x5519a0(0x85)][_0x5519a0(0xa0)],_0x5519a0(0x86),this,_0x5519a0(0xa3),(_0x3382ba,_0x4bd72e)=>!_0x3382ba&&_0x4bd72e),_0x19a640;}[_0x5d401d(0x96)](){const _0x147d47=_0x5d401d,_0x53cb38=new _0x2d9b8d(this[_0x147d47(0xa2)]),_0x5ba275=this[_0x147d47(0x82)],_0x461376=this[_0x147d47(0xa2)];_0x53cb38[_0x147d47(0xa7)]({'label':_0x7bb8ba(_0x461376,_0x147d47(0xab)),'withText':!0x1,'icon':_0x1b1859,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x147d47(0x91)}),_0x53cb38[_0x147d47(0x8a)](_0x147d47(0x99))['to'](_0x5ba275,_0x147d47(0x97)),_0x53cb38[_0x147d47(0x8a)](_0x147d47(0xa3))['to'](this,_0x147d47(0xa3)),_0x53cb38['on'](_0x147d47(0x95),()=>{const _0xfdbe91=_0x147d47;_0x5ba275[_0xfdbe91(0x97)]=!_0x5ba275[_0xfdbe91(0x97)],_0x5ba275[_0xfdbe91(0x97)]?this[_0xfdbe91(0x75)][_0xfdbe91(0x92)]():this[_0xfdbe91(0x92)]();});const _0x5606e7=()=>{const _0x1a26f3=_0x147d47;_0x326acf[_0x1a26f3(0x7e)][_0x1a26f3(0x79)](()=>{const _0x633129=_0x1a26f3;if(_0x32d7f4(this[_0x633129(0x87)])){const _0x1f39e5=new _0x9357da(this[_0x633129(0x85)][_0x633129(0xa0)][_0x633129(0x87)]),_0x54e848=_0x1f39e5[_0x633129(0x81)],_0xfda420=_0x633129(0x74)===_0x461376[_0x633129(0x98)]?_0x633129(0x9c):_0x633129(0x9f);_0x1f39e5[_0x633129(0x8d)](),_0x53cb38[_0x633129(0x87)][_0x633129(0x78)][_0xfda420]=_0x54e848-_0x1f39e5[_0x633129(0x81)]+0x1+'px';}});};return this[_0x147d47(0x85)][_0x147d47(0xa0)]['on'](_0x147d47(0xa5),_0x5606e7),this['on'](_0x147d47(0x90),_0x5606e7),_0x53cb38;}[_0x5d401d(0x83)](){const _0x326653=_0x5d401d,_0x5477b7=this[_0x326653(0x85)][_0x326653(0xa0)][_0x326653(0x87)][_0x326653(0x7a)];this[_0x326653(0x84)](_0x326653(0x83),_0x5477b7);}[_0x5d401d(0x92)](_0x407c1e){const _0x252ffc=_0x5d401d;-0x1===_0x407c1e?this[_0x252ffc(0x7c)][_0x252ffc(0xaa)]():this[_0x252ffc(0x7c)][_0x252ffc(0x9d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x14a4a3=_0x2da5;(function(_0x4b22ca,_0x101b7e){const _0x39c9a6=_0x2da5,_0x573b37=_0x4b22ca();while(!![]){try{const _0x455ab4=-parseInt(_0x39c9a6(0x11b))/0x1*(-parseInt(_0x39c9a6(0x11f))/0x2)+parseInt(_0x39c9a6(0x12a))/0x3+-parseInt(_0x39c9a6(0x10b))/0x4*(-parseInt(_0x39c9a6(0x113))/0x5)+-parseInt(_0x39c9a6(0x11c))/0x6+-parseInt(_0x39c9a6(0x10c))/0x7+-parseInt(_0x39c9a6(0x112))/0x8+-parseInt(_0x39c9a6(0x129))/0x9*(-parseInt(_0x39c9a6(0x11d))/0xa);if(_0x455ab4===_0x101b7e)break;else _0x573b37['push'](_0x573b37['shift']());}catch(_0x448313){_0x573b37['push'](_0x573b37['shift']());}}}(_0x4312,0x5a345));import{ToolbarView as _0x5c9eb9,ButtonView as _0x43fc0d}from'ckeditor5/src/ui.js';function _0x4312(){const _0x1c0bf5=['insertButton','bind','ck-button-action','REPLACE','tryAgainButton','replaceButton','ck-ai-form__toolbar','739WTctwe','1317252ajDHyU','402200JHZYLH','_CONTENT','622PCRzNy','bindTemplate','mainAction','Insert\x20below','extendTemplate','stopButton','_createButton','Stop','insert','replace','18mpGbsS','804393AqWQMn','isVisible','Try\x20again','locale','toUpperCase','AI_','220uilFew','3217634dsutvV','ck-hidden','label','addMany','set','items','525552uXaWVl','48725tsDpwP'];_0x4312=function(){return _0x1c0bf5;};return _0x4312();}import{getTranslation as _0x456dab}from'../../utils/common-translations.js';function _0x2da5(_0x1c2438,_0x3fdbd4){const _0x431244=_0x4312();return _0x2da5=function(_0x2da5c9,_0x41ab2e){_0x2da5c9=_0x2da5c9-0x107;let _0xa52f1f=_0x431244[_0x2da5c9];return _0xa52f1f;},_0x2da5(_0x1c2438,_0x3fdbd4);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x14a4a3(0x128),'INSERT':_0x14a4a3(0x127)};export default class lt extends _0x5c9eb9{constructor(_0x1e873a){const _0x170dc3=_0x14a4a3;super(_0x1e873a),this[_0x170dc3(0x110)](_0x170dc3(0x12b),!0x1),this[_0x170dc3(0x110)](_0x170dc3(0x121),AIFormToolbarViewMainActionLabel[_0x170dc3(0x117)]),this[_0x170dc3(0x119)]=this[_0x170dc3(0x125)]('',_0x170dc3(0x116)),this[_0x170dc3(0x119)][_0x170dc3(0x115)](_0x170dc3(0x10e))['to'](this,_0x170dc3(0x121),_0x5b763b=>_0x456dab(_0x1e873a,_0x170dc3(0x10a)+_0x5b763b[_0x170dc3(0x109)]()+_0x170dc3(0x11e))),this[_0x170dc3(0x114)]=this[_0x170dc3(0x125)](_0x456dab(_0x1e873a,_0x170dc3(0x122))),this[_0x170dc3(0x118)]=this[_0x170dc3(0x125)](_0x456dab(_0x1e873a,_0x170dc3(0x107))),this[_0x170dc3(0x124)]=this[_0x170dc3(0x125)](_0x456dab(_0x1e873a,_0x170dc3(0x126)));const _0x47acf1=this[_0x170dc3(0x120)];this[_0x170dc3(0x123)]({'attributes':{'class':[_0x170dc3(0x11a),_0x47acf1['if'](_0x170dc3(0x12b),_0x170dc3(0x10d),_0x144657=>!_0x144657)]}}),this[_0x170dc3(0x111)][_0x170dc3(0x10f)]([this[_0x170dc3(0x119)],this[_0x170dc3(0x114)],this[_0x170dc3(0x118)],this[_0x170dc3(0x124)]]);}[_0x14a4a3(0x125)](_0xb18bef,_0x498137){const _0x119cf5=_0x14a4a3,_0xd17907=new _0x43fc0d(this[_0x119cf5(0x108)]);return _0xd17907[_0x119cf5(0x110)]({'label':_0xb18bef,'class':_0x498137||'','isVisible':!0x0,'withText':!0x0}),_0xd17907;}}
|