@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
23 lines • 3.66 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x49359b=_0x1f59;(function(_0x13dd0a,_0x1c3821){const _0x5ebb3f=_0x1f59,_0x169071=_0x13dd0a();while(!![]){try{const _0x43fc47=parseInt(_0x5ebb3f(0x11a))/0x1*(-parseInt(_0x5ebb3f(0x12d))/0x2)+parseInt(_0x5ebb3f(0x127))/0x3*(-parseInt(_0x5ebb3f(0x123))/0x4)+parseInt(_0x5ebb3f(0x11d))/0x5+-parseInt(_0x5ebb3f(0x114))/0x6+parseInt(_0x5ebb3f(0x11b))/0x7+parseInt(_0x5ebb3f(0x12e))/0x8*(-parseInt(_0x5ebb3f(0x121))/0x9)+parseInt(_0x5ebb3f(0x120))/0xa*(parseInt(_0x5ebb3f(0x115))/0xb);if(_0x43fc47===_0x1c3821)break;else _0x169071['push'](_0x169071['shift']());}catch(_0x54f487){_0x169071['push'](_0x169071['shift']());}}}(_0x4222,0xbcbbd));import{AITabsView as _0x3fdd9f}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x1f59(_0x599930,_0x4b29fb){const _0x422265=_0x4222();return _0x1f59=function(_0x1f5930,_0x128dc5){_0x1f5930=_0x1f5930-0x112;let _0x7eb033=_0x422265[_0x1f5930];return _0x7eb033;},_0x1f59(_0x599930,_0x4b29fb);}export const AI_TABS_VIEW_TYPES=[_0x49359b(0x124),_0x49359b(0x122),_0x49359b(0x12b)];export const AI_TABS_VIEW_SIDES=[_0x49359b(0x12c),_0x49359b(0x11c)];function _0x4222(){const _0x28f9b3=['bindTemplate','ck-ai-tabs','custom','left','896068MHxYOK','469424jBLJnG','side','ck-ai-tabs__overlay','withText','8754360rtcOlg','1891538XFXvkQ','extendTemplate','type','visibleByDefault','set','3fevpTE','2858779GGJPOb','right','6886965ZHDZeh','buttonViews','add','210RhypHC','126mzCHyJ','sidebar','190324QTVepb','overlay','ck-ai-tabs__sidebar','isVisible','63VGeBMo','ck-hidden'];_0x4222=function(){return _0x28f9b3;};return _0x4222();}export class AITabsMainView extends _0x3fdd9f{constructor(_0x583aa5,_0x1b03f5={}){const _0x393c02=_0x49359b;super(_0x583aa5,_0x1b03f5),this[_0x393c02(0x119)](_0x393c02(0x117),_0x1b03f5[_0x393c02(0x117)]||_0x393c02(0x122)),this[_0x393c02(0x119)](_0x393c02(0x12f),_0x1b03f5[_0x393c02(0x12f)]||_0x393c02(0x11c)),this[_0x393c02(0x119)](_0x393c02(0x126),_0x1b03f5[_0x393c02(0x118)]??!0x0);const _0x39e94b=this[_0x393c02(0x129)];this[_0x393c02(0x116)]({'attributes':{'class':[_0x393c02(0x12a),_0x39e94b['if'](_0x393c02(0x117),_0x393c02(0x112),_0x511939=>_0x393c02(0x124)===_0x511939),_0x39e94b['if'](_0x393c02(0x117),_0x393c02(0x125),_0x2bf6e9=>_0x393c02(0x122)===_0x2bf6e9),_0x39e94b['if'](_0x393c02(0x126),_0x393c02(0x128),_0x4fc476=>!_0x4fc476)]}}),this[_0x393c02(0x11e)]['on'](_0x393c02(0x11f),(_0x59f8a3,_0xfddb77)=>{const _0x338c1e=_0x393c02;_0xfddb77[_0x338c1e(0x119)](_0x338c1e(0x113),!0x1);});}}