UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

23 lines 2.93 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 _0x5e85(_0x149d31,_0x2c69c8){var _0x3c7913=_0x3c79();return _0x5e85=function(_0x5e851f,_0xd461ed){_0x5e851f=_0x5e851f-0x15d;var _0x2cb631=_0x3c7913[_0x5e851f];return _0x2cb631;},_0x5e85(_0x149d31,_0x2c69c8);}(function(_0x2c2224,_0xe2a331){var _0x48ea07=_0x5e85,_0x1f7aa7=_0x2c2224();while(!![]){try{var _0x7a78e3=parseInt(_0x48ea07(0x168))/0x1+parseInt(_0x48ea07(0x16e))/0x2*(-parseInt(_0x48ea07(0x16d))/0x3)+parseInt(_0x48ea07(0x164))/0x4*(parseInt(_0x48ea07(0x166))/0x5)+parseInt(_0x48ea07(0x169))/0x6*(parseInt(_0x48ea07(0x160))/0x7)+parseInt(_0x48ea07(0x165))/0x8+parseInt(_0x48ea07(0x16a))/0x9*(parseInt(_0x48ea07(0x163))/0xa)+-parseInt(_0x48ea07(0x162))/0xb;if(_0x7a78e3===_0xe2a331)break;else _0x1f7aa7['push'](_0x1f7aa7['shift']());}catch(_0x46b05c){_0x1f7aa7['push'](_0x1f7aa7['shift']());}}}(_0x3c79,0xcbaa3));function _0x3c79(){var _0x5583ab=['execute','ck-ai-button-primary','165981keAZLd','52XlOMXX','fire','set','locale','5173084VjNwMw','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','8553732gYTjTq','490wpQTXa','36GxXWHQ','5828808UXHdcf','10840ekvYDm','finishReview','722213vPANYK','6MXXDSN','154467wajdMR'];_0x3c79=function(){return _0x5583ab;};return _0x3c79();}import{ButtonView as _0x1fc80d}from'ckeditor5/src/ui.js';import{getTranslation as _0x4e6bb8}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x1fc80d{constructor(_0x3d990d){var _0x304ec6=_0x5e85;super(_0x3d990d),this[_0x304ec6(0x15e)]({'label':_0x4e6bb8(this[_0x304ec6(0x15f)],_0x304ec6(0x161)),'withText':!0x0,'class':_0x304ec6(0x16c)}),this['on'](_0x304ec6(0x16b),()=>{var _0x9a5c19=_0x304ec6;this[_0x9a5c19(0x15d)](_0x9a5c19(0x167));});}}