@ckeditor/ckeditor5-collaboration-core
Version:
Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.
23 lines • 3.86 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
(function(_0x3f3279,_0x11a80f){var _0x42563e=_0x3ac5,_0x5ed061=_0x3f3279();while(!![]){try{var _0x23aaa0=-parseInt(_0x42563e(0x193))/0x1+-parseInt(_0x42563e(0x18e))/0x2+-parseInt(_0x42563e(0x190))/0x3+parseInt(_0x42563e(0x189))/0x4*(parseInt(_0x42563e(0x198))/0x5)+-parseInt(_0x42563e(0x197))/0x6*(-parseInt(_0x42563e(0x18d))/0x7)+-parseInt(_0x42563e(0x18c))/0x8+parseInt(_0x42563e(0x187))/0x9;if(_0x23aaa0===_0x11a80f)break;else _0x5ed061['push'](_0x5ed061['shift']());}catch(_0x30880f){_0x5ed061['push'](_0x5ed061['shift']());}}}(_0x22f0,0x2d53e));import{ConfirmView as _0xe67f97}from'./confirmview.js';function _0x22f0(){var _0x5d4a6d=['4512megOFm','266565gWkQxs','cancelConfirm','_removeConfirm','submit','locale','fire','focus','set','isConfirm','message','deregisterChild','confirmView','showConfirm','8384715EIFamK','once','12QaKykY','removeConfirm','appendChild','1784520usrMUZ','910zIBQfl','686342IipWbc','destroy','336813fBFydn','registerChild','element','325165sPptYi','remove','render','cancel'];_0x22f0=function(){return _0x5d4a6d;};return _0x22f0();}function _0x3ac5(_0x4a90c5,_0x4b14ae){var _0x22f069=_0x22f0();return _0x3ac5=function(_0x3ac5c2,_0x33b26a){_0x3ac5c2=_0x3ac5c2-0x181;var _0x12a3f6=_0x22f069[_0x3ac5c2];return _0x12a3f6;},_0x3ac5(_0x4a90c5,_0x4b14ae);}export function ConfirmMixin(_0x617689){var _0x2f874b=_0x3ac5;return class extends _0x617689{[_0x2f874b(0x186)](_0x28eb96,_0x5d2abf){var _0x1d7474=_0x2f874b;return this[_0x1d7474(0x185)]=new _0xe67f97(this[_0x1d7474(0x19c)]),this[_0x1d7474(0x185)][_0x1d7474(0x195)](),this[_0x1d7474(0x185)][_0x1d7474(0x183)]=_0x28eb96,this[_0x1d7474(0x185)][_0x1d7474(0x188)](_0x1d7474(0x196),()=>{var _0x48e9c2=_0x1d7474;this[_0x48e9c2(0x19a)]();}),this[_0x1d7474(0x185)][_0x1d7474(0x188)](_0x1d7474(0x19b),()=>{var _0x2c9b64=_0x1d7474;this[_0x2c9b64(0x19a)]();}),_0x5d2abf[_0x1d7474(0x18b)](this[_0x1d7474(0x185)][_0x1d7474(0x192)]),this[_0x1d7474(0x191)](this[_0x1d7474(0x185)]),this[_0x1d7474(0x185)][_0x1d7474(0x19e)](),this[_0x1d7474(0x181)](_0x1d7474(0x182),!0x0),new Promise(_0x29de6b=>this[_0x1d7474(0x185)]['on'](_0x1d7474(0x19b),_0x29de6b));}[_0x2f874b(0x199)](){var _0x56ef82=_0x2f874b;this[_0x56ef82(0x182)]&&this[_0x56ef82(0x185)][_0x56ef82(0x19d)](_0x56ef82(0x196));}[_0x2f874b(0x19a)](){var _0x4a2b27=_0x2f874b;this[_0x4a2b27(0x192)]&&this[_0x4a2b27(0x185)]&&this[_0x4a2b27(0x185)][_0x4a2b27(0x192)]&&(this[_0x4a2b27(0x192)][_0x4a2b27(0x19e)](),this[_0x4a2b27(0x185)][_0x4a2b27(0x192)][_0x4a2b27(0x194)](),this[_0x4a2b27(0x184)](this[_0x4a2b27(0x185)]),this[_0x4a2b27(0x182)]=!0x1,this[_0x4a2b27(0x19d)](_0x4a2b27(0x18a)),this[_0x4a2b27(0x185)][_0x4a2b27(0x18f)](),this[_0x4a2b27(0x185)]=void 0x0);}};}