UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

23 lines 3.41 kB
/* * 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0x2ad521=_0x3a11;function _0x39b5(){const _0xd960d8=['isPremiumPlugin','isOfficialPlugin','get','2157633RjfggZ','11nsBblr','5YyMSxA','pluginName','1954729Gnhyqh','160fNqWwj','removeSelectionFromChatContext','aiQuickAction','189108QDlbha','directChange','8eMfSIf','add','6324tFzydu','AIChat','plugins','model','232998iDgisj','selection','commands','has','document','AIQuickActionsEditing','init','41129yXMwPa','1259780mRIIBN','change:range','editor'];_0x39b5=function(){return _0xd960d8;};return _0x39b5();}(function(_0x6b5d4e,_0x3d5fe7){const _0x3082c5=_0x3a11,_0x200aa8=_0x6b5d4e();while(!![]){try{const _0x50d3b8=parseInt(_0x3082c5(0xc8))/0x1*(-parseInt(_0x3082c5(0xd3))/0x2)+-parseInt(_0x3082c5(0xcf))/0x3+-parseInt(_0x3082c5(0xc1))/0x4+-parseInt(_0x3082c5(0xc9))/0x5*(-parseInt(_0x3082c5(0xd7))/0x6)+parseInt(_0x3082c5(0xcb))/0x7+-parseInt(_0x3082c5(0xd1))/0x8*(-parseInt(_0x3082c5(0xc7))/0x9)+parseInt(_0x3082c5(0xcc))/0xa*(parseInt(_0x3082c5(0xc0))/0xb);if(_0x50d3b8===_0x3d5fe7)break;else _0x200aa8['push'](_0x200aa8['shift']());}catch(_0x1562ae){_0x200aa8['push'](_0x200aa8['shift']());}}}(_0x39b5,0x3204e));function _0x3a11(_0x856f3f,_0x2a60b7){const _0x39b570=_0x39b5();return _0x3a11=function(_0x3a11e3,_0x4df4c9){_0x3a11e3=_0x3a11e3-0xba;let _0x512207=_0x39b570[_0x3a11e3];return _0x512207;},_0x3a11(_0x856f3f,_0x2a60b7);}import{Plugin as _0x8de810}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x59b696}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x8de810{static get[_0x2ad521(0xca)](){const _0x7c2ebc=_0x2ad521;return _0x7c2ebc(0xbe);}static get[_0x2ad521(0xc5)](){return!0x0;}static get[_0x2ad521(0xc4)](){return!0x0;}[_0x2ad521(0xbf)](){const _0x5ccc0c=_0x2ad521,_0x231d08=this[_0x5ccc0c(0xc3)],_0x2495ec=new _0x59b696(this[_0x5ccc0c(0xc3)]);if(_0x231d08[_0x5ccc0c(0xbb)][_0x5ccc0c(0xd2)](_0x5ccc0c(0xce),_0x2495ec),_0x231d08[_0x5ccc0c(0xd5)][_0x5ccc0c(0xbc)](_0x5ccc0c(0xd4))){const _0x8a9904=this[_0x5ccc0c(0xc3)][_0x5ccc0c(0xd5)][_0x5ccc0c(0xc6)](_0x5ccc0c(0xd4));_0x231d08[_0x5ccc0c(0xd6)][_0x5ccc0c(0xbd)][_0x5ccc0c(0xba)]['on'](_0x5ccc0c(0xc2),(_0x6014a7,_0x43898a)=>{const _0x3c8839=_0x5ccc0c;_0x43898a[_0x3c8839(0xd0)]&&_0x8a9904[_0x3c8839(0xcd)]();});}}}