@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
23 lines • 4.45 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 _0xf708c3=_0x1eb2;(function(_0x290413,_0x61677a){var _0x7d4f9c=_0x1eb2,_0x5a88e5=_0x290413();while(!![]){try{var _0x38f9fc=parseInt(_0x7d4f9c(0x7f))/0x1+-parseInt(_0x7d4f9c(0x6e))/0x2*(-parseInt(_0x7d4f9c(0x75))/0x3)+-parseInt(_0x7d4f9c(0x7d))/0x4*(parseInt(_0x7d4f9c(0x88))/0x5)+parseInt(_0x7d4f9c(0x74))/0x6+parseInt(_0x7d4f9c(0x81))/0x7+parseInt(_0x7d4f9c(0x80))/0x8+-parseInt(_0x7d4f9c(0x76))/0x9*(parseInt(_0x7d4f9c(0x6c))/0xa);if(_0x38f9fc===_0x61677a)break;else _0x5a88e5['push'](_0x5a88e5['shift']());}catch(_0x402652){_0x5a88e5['push'](_0x5a88e5['shift']());}}}(_0x239e,0xb9b93));import{View as _0x51f595,BodyCollection as _0x5a1558}from'ckeditor5/src/ui.js';function _0x1eb2(_0x2ad040,_0x36a56d){var _0x239ec5=_0x239e();return _0x1eb2=function(_0x1eb239,_0x48fcca){_0x1eb239=_0x1eb239-0x6c;var _0x4fefb0=_0x239ec5[_0x1eb239];return _0x4fefb0;},_0x1eb2(_0x2ad040,_0x36a56d);}import{AI_CHAT_UI_EVENT_NAMES as _0x2240be}from'../utils/eventnames.js';import{AIChatFeedView as _0x3dbedf}from'./aichatfeedview.js';import{AIChatControlsView as _0x3f1e47}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x1ba95f}from'./aichatheaderview.js';import{AIDisclaimerView as _0x4013e7}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x51f595{[_0xf708c3(0x84)];[_0xf708c3(0x77)];[_0xf708c3(0x86)];[_0xf708c3(0x7b)];[_0xf708c3(0x7a)];constructor(_0x3c813d,_0x21a98a){var _0x121ec6=_0xf708c3;super(_0x3c813d),this[_0x121ec6(0x7a)]=new _0x5a1558(_0x3c813d),this[_0x121ec6(0x7a)][_0x121ec6(0x71)](),this[_0x121ec6(0x84)]=new _0x1ba95f(_0x3c813d,_0x21a98a[_0x121ec6(0x79)]),this[_0x121ec6(0x84)][_0x121ec6(0x6f)](..._0x2240be)['to'](this),this[_0x121ec6(0x77)]=new _0x3dbedf(_0x3c813d,this[_0x121ec6(0x7a)]),this[_0x121ec6(0x77)][_0x121ec6(0x6f)](..._0x2240be)['to'](this),this[_0x121ec6(0x86)]=new _0x3f1e47(_0x3c813d,{'bodyCollection':this[_0x121ec6(0x7a)],'contextResourcesSearchInputVisibleFrom':_0x21a98a[_0x121ec6(0x7e)]}),this[_0x121ec6(0x86)][_0x121ec6(0x6f)](..._0x2240be)['to'](this),this[_0x121ec6(0x7b)]=new _0x4013e7(_0x3c813d),this[_0x121ec6(0x73)]({'tag':_0x121ec6(0x82),'attributes':{'class':['ck',_0x121ec6(0x6d),_0x121ec6(0x83),_0x121ec6(0x78)],'dir':_0x3c813d[_0x121ec6(0x7c)]},'children':[this[_0x121ec6(0x84)],this[_0x121ec6(0x77)],this[_0x121ec6(0x86)],this[_0x121ec6(0x7b)]]});}[_0xf708c3(0x87)](_0x5af8d6,_0x4edac1,_0x27a364,_0x167c22){var _0x241627=_0xf708c3;this[_0x241627(0x86)][_0x241627(0x87)](_0x5af8d6,_0x4edac1,_0x27a364,_0x167c22);}[_0xf708c3(0x70)](_0x9dfa39){var _0x13e5c7=_0xf708c3;this[_0x13e5c7(0x86)][_0x13e5c7(0x70)](_0x9dfa39);}[_0xf708c3(0x85)](){var _0x16b3b7=_0xf708c3;this[_0x16b3b7(0x7a)][_0x16b3b7(0x72)](),super[_0x16b3b7(0x85)]();}}function _0x239e(){var _0x3ace1e=['chatHeader','destroy','chatControls','populateSourceResourceBalloon','3950230ugvgrO','2110qVfWQf','ck-reset_all','92HUTyLs','delegate','closeSourceResourceBalloon','attachToDom','detachFromDom','setTemplate','3384918gXrmkV','5727AJlvFK','30501TngrqS','chatFeed','ck-rounded-corners','showResizeButton','_bodyCollection','chatDisclaimer','uiLanguageDirection','4ltKSZx','contextResourcesSearchInputVisibleFrom','1036358dnkqaO','2980384JLEBOf','1434825nPaoXf','div','ck-ai-chat'];_0x239e=function(){return _0x3ace1e;};return _0x239e();}