@ckeditor/ckeditor5-ai
Version:
AI Assistant feature for CKEditor 5.
23 lines • 2.96 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
var _0x280740=_0x2980;(function(_0xac4a0f,_0x383d4e){var _0x4495df=_0x2980,_0x212c1f=_0xac4a0f();while(!![]){try{var _0x2bb173=-parseInt(_0x4495df(0x16a))/0x1+-parseInt(_0x4495df(0x171))/0x2*(parseInt(_0x4495df(0x176))/0x3)+parseInt(_0x4495df(0x16b))/0x4+parseInt(_0x4495df(0x167))/0x5+-parseInt(_0x4495df(0x177))/0x6*(-parseInt(_0x4495df(0x174))/0x7)+parseInt(_0x4495df(0x16d))/0x8+-parseInt(_0x4495df(0x168))/0x9*(parseInt(_0x4495df(0x173))/0xa);if(_0x2bb173===_0x383d4e)break;else _0x212c1f['push'](_0x212c1f['shift']());}catch(_0x17af6f){_0x212c1f['push'](_0x212c1f['shift']());}}}(_0x4ecd,0x68d77));function _0x2980(_0xb6cee1,_0x489389){var _0x4ecd8e=_0x4ecd();return _0x2980=function(_0x2980e6,_0x30f2ed){_0x2980e6=_0x2980e6-0x167;var _0x5bf2ca=_0x4ecd8e[_0x2980e6];return _0x5bf2ca;},_0x2980(_0xb6cee1,_0x489389);}import{Plugin as _0x2e29dc}from'ckeditor5/src/core.js';import{CKEditorError as _0xa5b014}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x2e29dc{static get[_0x280740(0x178)](){var _0x5c3afb=_0x280740;return _0x5c3afb(0x170);}static get[_0x280740(0x179)](){return!0x0;}static get[_0x280740(0x16e)](){return!0x0;}[_0x280740(0x175)](){var _0x524d58=_0x280740;if(!this[_0x524d58(0x169)])throw new _0xa5b014(_0x524d58(0x172),null);}}function _0x4ecd(){var _0x31efd2=['7PGhuwf','afterInit','543rmKFbM','3220836YHhCwc','pluginName','isOfficialPlugin','33520hMmFHQ','693lRgDUO','textAdapter','227756tfpdmO','2498336NVeIEF','name','5446104xpPGCZ','isPremiumPlugin','AIRequestError','AIAdapter','258BsNdbJ','aiadapter-text-adapter-not-set','151730KWJJNK'];_0x4ecd=function(){return _0x31efd2;};return _0x4ecd();}export class AIRequestError extends Error{constructor(_0x438cd){var _0x4f3a4b=_0x280740;super(_0x438cd),this[_0x4f3a4b(0x16c)]=_0x4f3a4b(0x16f);}}