UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 4.03 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 _0x706ea1=_0x3fa5;(function(_0x34ab22,_0x1f1f76){const _0xf134ab=_0x3fa5,_0x6deff1=_0x34ab22();while(!![]){try{const _0xfb8d3e=parseInt(_0xf134ab(0xaa))/0x1*(-parseInt(_0xf134ab(0xa7))/0x2)+parseInt(_0xf134ab(0xc5))/0x3*(-parseInt(_0xf134ab(0xaf))/0x4)+-parseInt(_0xf134ab(0xb3))/0x5+-parseInt(_0xf134ab(0xbf))/0x6*(parseInt(_0xf134ab(0xb9))/0x7)+-parseInt(_0xf134ab(0xcd))/0x8*(parseInt(_0xf134ab(0xb8))/0x9)+-parseInt(_0xf134ab(0xbb))/0xa*(-parseInt(_0xf134ab(0xbe))/0xb)+parseInt(_0xf134ab(0xb4))/0xc;if(_0xfb8d3e===_0x1f1f76)break;else _0x6deff1['push'](_0x6deff1['shift']());}catch(_0x15dcd1){_0x6deff1['push'](_0x6deff1['shift']());}}}(_0x1314,0x4aa48));function _0x3fa5(_0x46811d,_0x3545f9){const _0x131453=_0x1314();return _0x3fa5=function(_0x3fa5e7,_0xbc41c0){_0x3fa5e7=_0x3fa5e7-0xa7;let _0x512e66=_0x131453[_0x3fa5e7];return _0x512e66;},_0x3fa5(_0x46811d,_0x3545f9);}import{Plugin as _0x1deea2}from'ckeditor5/src/core.js';import{getTranslation as _0x424578}from'../utils/common-translations.js';function _0x1314(){const _0x59782b=['ELEMENT_LAYOUT_TABLE','newValue','467757SpwAPl','insertTableLayout','registerElementLabel','table','tableType','getAttribute','ELEMENT_CONTENT_TABLE','layout','8LVrRBQ','40mcnMLu','editor','content','21941QFXvxd','plugins','get','enableDefaultAttributesIntegration','element','4yRktzU','*Set\x20table\x20type:*\x20%0','afterInit','format','1769550zrKYnx','11721360GnOrNy','locale','key','TrackChangesEditing','330849zFgcho','20951SJsfFj','has','10dNwFqJ','registerBlockAttribute','registerDescriptionCallback','5828482RdeOhN','432nXitQB','descriptionFactory','TableLayout','enableCommand'];_0x1314=function(){return _0x59782b;};return _0x1314();}export default class Ye extends _0x1deea2{[_0x706ea1(0xb1)](){const _0x460540=_0x706ea1,_0x1debbb=this[_0x460540(0xa8)],_0x89a732=_0x1debbb[_0x460540(0xb5)],_0x11ea92=_0x1debbb[_0x460540(0xab)][_0x460540(0xac)](_0x460540(0xb7));function _0xbb556e(_0x17f61a){const _0x3a639e=_0x460540;return{'type':_0x3a639e(0xb2),'content':''+_0x424578(_0x89a732,_0x3a639e(0xb0),_0x17f61a)};}_0x1debbb[_0x460540(0xab)][_0x460540(0xba)](_0x460540(0xc1))&&(_0x11ea92[_0x460540(0xc2)](_0x460540(0xc6)),_0x11ea92[_0x460540(0xad)](_0x460540(0xc9)),_0x11ea92[_0x460540(0xbc)](_0x460540(0xc9)),_0x11ea92[_0x460540(0xc0)][_0x460540(0xc7)](_0x2aa96f=>_0x2aa96f['is'](_0x460540(0xae),_0x460540(0xc8))&&_0x460540(0xcc)===_0x2aa96f[_0x460540(0xca)](_0x460540(0xc9)),_0x536c7d=>_0x424578(_0x89a732,_0x460540(0xc3),_0x536c7d)),_0x11ea92[_0x460540(0xc0)][_0x460540(0xbd)](_0x2b8683=>{const _0x1429b5=_0x460540,{data:_0x5adc1b}=_0x2b8683;if(_0x5adc1b&&_0x1429b5(0xc9)==_0x5adc1b[_0x1429b5(0xb6)])switch(_0x5adc1b[_0x1429b5(0xc4)]){case _0x1429b5(0xcc):return _0xbb556e(_0x424578(_0x89a732,_0x1429b5(0xc3)));case _0x1429b5(0xa9):return _0xbb556e(_0x424578(_0x89a732,_0x1429b5(0xcb)));}}));}}