UNPKG

@ckeditor/ckeditor5-ai

Version:

AI Assistant feature for CKEditor 5.

23 lines 2.89 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ (function(_0x44e010,_0x236f37){const _0x369923=_0x3178,_0x2a9de3=_0x44e010();while(!![]){try{const _0xaff436=-parseInt(_0x369923(0x9d))/0x1+-parseInt(_0x369923(0x90))/0x2*(-parseInt(_0x369923(0x9a))/0x3)+-parseInt(_0x369923(0x9b))/0x4+-parseInt(_0x369923(0x8d))/0x5+-parseInt(_0x369923(0x92))/0x6*(parseInt(_0x369923(0x98))/0x7)+parseInt(_0x369923(0x8c))/0x8*(-parseInt(_0x369923(0x9c))/0x9)+parseInt(_0x369923(0x8e))/0xa*(parseInt(_0x369923(0x91))/0xb);if(_0xaff436===_0x236f37)break;else _0x2a9de3['push'](_0x2a9de3['shift']());}catch(_0x3748b9){_0x2a9de3['push'](_0x2a9de3['shift']());}}}(_0x368b,0x65e1b));import{IconError as _0x2fd3a4}from'ckeditor5/src/icons.js';import{View as _0x4d6d43,IconView as _0x1b667c}from'ckeditor5/src/ui.js';function _0x368b(){const _0x11b2bd=['6TmbTWR','setTemplate','text','set','div','bindTemplate','192059izHbfk','ck-ai-form__error','3DJRjUu','2713628HGnSSd','7486515NXIonw','772716XdWhBL','8vGGwkh','3966790IfazEj','4580JMAQQR','content','667676itVWcv','76549aapHpq'];_0x368b=function(){return _0x11b2bd;};return _0x368b();}function _0x3178(_0x1a5d2c,_0x10be3c){const _0x368bca=_0x368b();return _0x3178=function(_0x31783b,_0x492282){_0x31783b=_0x31783b-0x8c;let _0x38caad=_0x368bca[_0x31783b];return _0x38caad;},_0x3178(_0x1a5d2c,_0x10be3c);}export class AIFormErrorView extends _0x4d6d43{constructor(_0x5c4a86,_0x58cce4=''){const _0x4fb47a=_0x3178;super(_0x5c4a86);const _0x107715=new _0x1b667c(),_0x10ce89=this[_0x4fb47a(0x97)];this[_0x4fb47a(0x95)](_0x4fb47a(0x94),_0x58cce4),_0x107715[_0x4fb47a(0x8f)]=_0x2fd3a4,this[_0x4fb47a(0x93)]({'tag':_0x4fb47a(0x96),'attributes':{'class':['ck',_0x4fb47a(0x99)]},'children':[_0x107715,{'text':_0x10ce89['to'](_0x4fb47a(0x94))}]});}}