@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
23 lines • 3.1 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
(function(_0xac76a1,_0x5eef66){var _0x43f0fd=_0xa0ee,_0x442de2=_0xac76a1();while(!![]){try{var _0x312c3d=-parseInt(_0x43f0fd(0x140))/0x1*(parseInt(_0x43f0fd(0x137))/0x2)+parseInt(_0x43f0fd(0x138))/0x3+-parseInt(_0x43f0fd(0x13c))/0x4+parseInt(_0x43f0fd(0x132))/0x5*(parseInt(_0x43f0fd(0x141))/0x6)+-parseInt(_0x43f0fd(0x134))/0x7*(parseInt(_0x43f0fd(0x133))/0x8)+-parseInt(_0x43f0fd(0x131))/0x9*(parseInt(_0x43f0fd(0x13e))/0xa)+parseInt(_0x43f0fd(0x135))/0xb;if(_0x312c3d===_0x5eef66)break;else _0x442de2['push'](_0x442de2['shift']());}catch(_0x20d431){_0x442de2['push'](_0x442de2['shift']());}}}(_0x245a,0x99b3d));function _0x245a(){var _0x3d22f7=['get','127xjsNII','354fhTuMA','369hMBClF','1895YSWMwA','24tnCdjv','968513uamZyG','6984406rxawCF','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','1206uJmUcd','2631861gqplma','editors','length','ai-get-editor-from-context-no-editor','1169356DMUGur','warn','29520QkFvoR'];_0x245a=function(){return _0x3d22f7;};return _0x245a();}import{CKEditorError as _0x2fd65b}from'ckeditor5/src/utils.js';import{Editor as _0x261bae}from'ckeditor5/src/core.js';function _0xa0ee(_0x84697b,_0x383821){var _0x245a58=_0x245a();return _0xa0ee=function(_0xa0eede,_0x5f4ea6){_0xa0eede=_0xa0eede-0x131;var _0x13c977=_0x245a58[_0xa0eede];return _0x13c977;},_0xa0ee(_0x84697b,_0x383821);}export function getEditorFromContext(_0x54840a){var _0x2f0585=_0xa0ee;if(_0x54840a instanceof _0x261bae)return _0x54840a;if(_0x54840a?.[_0x2f0585(0x139)]&&_0x54840a[_0x2f0585(0x139)][_0x2f0585(0x13f)](0x0))return _0x54840a[_0x2f0585(0x139)][_0x2f0585(0x13a)]>0x1&&console[_0x2f0585(0x13d)](_0x2f0585(0x136)),_0x54840a[_0x2f0585(0x139)][_0x2f0585(0x13f)](0x0);throw new _0x2fd65b(_0x2f0585(0x13b));}