UNPKG

@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.33 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0x5cb0ed=_0x4024;(function(_0x4aef2d,_0x5c8051){const _0xf39d0e=_0x4024,_0x175e97=_0x4aef2d();while(!![]){try{const _0x13af45=parseInt(_0xf39d0e(0x18b))/0x1+-parseInt(_0xf39d0e(0x19e))/0x2*(-parseInt(_0xf39d0e(0x1a2))/0x3)+-parseInt(_0xf39d0e(0x19a))/0x4*(-parseInt(_0xf39d0e(0x18a))/0x5)+-parseInt(_0xf39d0e(0x19f))/0x6+parseInt(_0xf39d0e(0x196))/0x7*(parseInt(_0xf39d0e(0x193))/0x8)+-parseInt(_0xf39d0e(0x18d))/0x9+-parseInt(_0xf39d0e(0x19d))/0xa;if(_0x13af45===_0x5c8051)break;else _0x175e97['push'](_0x175e97['shift']());}catch(_0x2a7a28){_0x175e97['push'](_0x175e97['shift']());}}}(_0x2575,0xcf1ee));import{Plugin as _0x4bccde}from'ckeditor5/src/core.js';function _0x2575(){const _0x22174b=['102thOAAd','plugins','showSuggestionHighlights','createEmptyElement','afterInit','2235055OzevMC','233390nOXrGQ','createPositionAt','22311JxeKmq','ck-horizontal-line','elementToStructure','for','conversion','addClass','8GCTjeq','HorizontalLineEditing','high','11633181uQWeLt','createContainerElement','insert','has','4fpTZye','horizontalLine','dataDowncast','4677870fnQVPb','8704guKoeE','7029720DTLWfV','editor','div'];_0x2575=function(){return _0x22174b;};return _0x2575();}function _0x4024(_0x183792,_0x5c3a36){const _0x2575a5=_0x2575();return _0x4024=function(_0x402405,_0x50bb1c){_0x402405=_0x402405-0x186;let _0x1d7be8=_0x2575a5[_0x402405];return _0x1d7be8;},_0x4024(_0x183792,_0x5c3a36);}export class SuggestionsConversionHorizontalLine extends _0x4bccde{[_0x5cb0ed(0x189)](){const _0x29b4fa=_0x5cb0ed,_0x384838=this[_0x29b4fa(0x1a0)];_0x384838[_0x29b4fa(0x186)][_0x29b4fa(0x199)](_0x29b4fa(0x194))&&_0x384838[_0x29b4fa(0x191)][_0x29b4fa(0x190)](_0x29b4fa(0x19c))[_0x29b4fa(0x18f)]({'model':_0x29b4fa(0x19b),'view':(_0x1366f7,{writer:_0x1d6a20,options:_0x1ac707})=>{const _0x29f1e3=_0x29b4fa;if(!_0x1ac707[_0x29f1e3(0x187)])return null;const _0xa206c4=_0x1d6a20[_0x29f1e3(0x197)](_0x29f1e3(0x1a1)),_0x583134=_0x1d6a20[_0x29f1e3(0x188)]('hr');return _0x1d6a20[_0x29f1e3(0x192)](_0x29f1e3(0x18e),_0xa206c4),_0x1d6a20[_0x29f1e3(0x198)](_0x1d6a20[_0x29f1e3(0x18c)](_0xa206c4,0x0),_0x583134),_0xa206c4;},'converterPriority':_0x29b4fa(0x195)});}}