UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

24 lines • 25.4 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 _0x5e349b=_0x84c7;(function(_0x4eeb56,_0x354dd6){const _0x23bb43=_0x84c7,_0x3b4bae=_0x4eeb56();while(!![]){try{const _0xef7556=parseInt(_0x23bb43(0x160))/0x1+parseInt(_0x23bb43(0x12a))/0x2*(-parseInt(_0x23bb43(0x16c))/0x3)+-parseInt(_0x23bb43(0x161))/0x4*(parseInt(_0x23bb43(0x14f))/0x5)+-parseInt(_0x23bb43(0x13a))/0x6+parseInt(_0x23bb43(0x17c))/0x7*(-parseInt(_0x23bb43(0x19b))/0x8)+parseInt(_0x23bb43(0xdc))/0x9+parseInt(_0x23bb43(0x182))/0xa;if(_0xef7556===_0x354dd6)break;else _0x3b4bae['push'](_0x3b4bae['shift']());}catch(_0xe8713a){_0x3b4bae['push'](_0x3b4bae['shift']());}}}(_0x3d5b,0x5862d));function _0x84c7(_0x33f5ee,_0x1b8c9c){const _0x3d5b52=_0x3d5b();return _0x84c7=function(_0x84c7ad,_0x59f4f4){_0x84c7ad=_0x84c7ad-0xd1;let _0x119aa3=_0x3d5b52[_0x84c7ad];return _0x119aa3;},_0x84c7(_0x33f5ee,_0x1b8c9c);}import{getTranslation as _0xf635a}from'../utils/common-translations.js';import{Plugin as _0x5c6a3e}from'ckeditor5/src/core.js';import{ModelLiveRange as _0x14a1bd}from'ckeditor5/src/engine.js';import{uid as _0x39fc51,priorities as _0x541234}from'ckeditor5/src/utils.js';import{TrackChangesTable as _0x46db89}from'./table.js';import{ClipboardPipeline as _0x5b9be6}from'ckeditor5/src/clipboard.js';const Be=[_0x5e349b(0x10b),_0x5e349b(0xe5),_0x5e349b(0xef),_0x5e349b(0x132),_0x5e349b(0x15f),_0x5e349b(0x188),_0x5e349b(0xe1)],xe=/* #__PURE__ -- @preserve */ Object[_0x5e349b(0x103)](Be[_0x5e349b(0x176)](_0x6505a1=>[_0x6505a1,null]));export class TrackChangesTableClipboard extends _0x5c6a3e{static get[_0x5e349b(0x106)](){return[_0x46db89];}[_0x5e349b(0xde)](){const _0xc1c23e=_0x5e349b,_0x251804=this[_0xc1c23e(0x173)];if(!_0x251804[_0xc1c23e(0x101)][_0xc1c23e(0x187)](_0xc1c23e(0x126)))return;const _0x55ef1c=_0x251804[_0xc1c23e(0x101)][_0xc1c23e(0x105)](_0xc1c23e(0xd2)),_0x41626a=_0x251804[_0xc1c23e(0x101)][_0xc1c23e(0x105)](_0xc1c23e(0x178)),_0x28bd43=_0x251804[_0xc1c23e(0x101)][_0xc1c23e(0x105)](_0x46db89),_0xca7db9=_0x251804[_0xc1c23e(0x101)][_0xc1c23e(0x105)](_0xc1c23e(0x126)),_0x13d6d2=_0x251804[_0xc1c23e(0x101)][_0xc1c23e(0x105)](_0xc1c23e(0xe8)),_0x3e3eec=_0x251804[_0xc1c23e(0x101)][_0xc1c23e(0x105)](_0x5b9be6);_0x28bd43[_0xc1c23e(0xd6)][_0xc1c23e(0x118)](_0xc1c23e(0x144),_0xc1c23e(0x19a)),_0x251804[_0xc1c23e(0x17d)][_0xc1c23e(0x14b)][_0xc1c23e(0x17b)](_0xc1c23e(0x153),{'allowIn':_0xc1c23e(0x18f),'allowContentOf':_0xc1c23e(0x18f),'isLimit':!0x0}),_0x251804[_0xc1c23e(0xd8)][_0xc1c23e(0x1a1)]({'model':_0xc1c23e(0x153),'view':_0xc1c23e(0xf2)});let _0x15825a=null,_0x2e6eb3=!0x1;_0x3e3eec['on'](_0xc1c23e(0x110),(_0x2363c4,_0x4ee20c)=>{const _0x11b8f9=_0xc1c23e;_0x2e6eb3=_0x11b8f9(0xd5)===_0x4ee20c[_0x11b8f9(0x174)];}),_0x251804[_0xc1c23e(0x17d)]['on'](_0xc1c23e(0x143),(_0x3918c5,_0xe5db2c)=>{const _0x26eb53=_0xc1c23e;if(!_0x2e6eb3&&null===_0x13d6d2[_0x26eb53(0x14e)]())return;const [_0x521dc6,_0x46b1a1]=_0xe5db2c,_0x30b5c2=_0xe5db2c[_0xe5db2c[_0x26eb53(0x18d)]-0x1];_0x30b5c2&&_0x30b5c2[_0x26eb53(0x113)]||_0x55ef1c[_0x26eb53(0x112)]||this[_0x26eb53(0x173)][_0x26eb53(0x149)][_0x26eb53(0x105)](_0x26eb53(0x199))[_0x26eb53(0x16e)]&&function(_0x4a83a2,_0x29b031,_0x3520b3,_0x5b2f34,_0x2a6ed8){const _0x1b1a66=_0x26eb53;if(_0x29b031&&!_0x29b031['is'](_0x1b1a66(0x19f)))return!0x1;const _0x41b2f1=_0x2a6ed8[_0x1b1a66(0x172)](_0x4a83a2,_0x3520b3);if(!_0x41b2f1||!Ue(_0x41b2f1,void 0x0,_0x5b2f34))return!0x1;const _0x445d58=_0x5b2f34[_0x1b1a66(0x13f)](_0x3520b3[_0x1b1a66(0x15a)][_0x1b1a66(0x1a2)]);if(!_0x445d58[_0x1b1a66(0x18d)])return!0x1;const _0x37e534=_0x445d58[0x0][_0x1b1a66(0xe9)](_0x1b1a66(0x117)),_0x274f4b=_0x5b2f34[_0x1b1a66(0x162)](_0x445d58),_0xde0282=_0x5b2f34[_0x1b1a66(0xfa)](_0x445d58),_0x388de6={'startRow':_0x274f4b[_0x1b1a66(0x166)],'endRow':_0x274f4b[_0x1b1a66(0x16f)],'startColumn':_0xde0282[_0x1b1a66(0x166)],'endColumn':_0xde0282[_0x1b1a66(0x16f)]};return 0x1==_0x445d58[_0x1b1a66(0x18d)]&&(_0x388de6[_0x1b1a66(0x14c)]+=_0x5b2f34[_0x1b1a66(0x111)](_0x41b2f1)-0x1,_0x388de6[_0x1b1a66(0x109)]+=_0x5b2f34[_0x1b1a66(0xf1)](_0x41b2f1)-0x1),Ue(_0x37e534,_0x388de6,_0x5b2f34);}(_0x521dc6,_0x46b1a1,_0x251804[_0x26eb53(0x17d)],_0x41626a,_0xca7db9)&&(_0x3918c5[_0x26eb53(0x13c)](),_0x15825a={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x251804[_0x26eb53(0x17d)][_0x26eb53(0x10e)](()=>{const _0x8c8790=_0x26eb53;_0x251804[_0x8c8790(0x17d)][_0x8c8790(0x143)](_0xe5db2c[0x0],_0xe5db2c[0x1],_0xe5db2c[0x2],{'forceDefaultExecution':!0x0});const _0x5a02f6=_0x39fc51(),{rowInsertionRanges:_0x50a1e0,columnInsertionRanges:_0x4b509b,insertionRanges:_0x25a34f,deletionRanges:_0x53e60a,cells:_0x437ec9}=_0x15825a;_0x50a1e0[_0x8c8790(0x18d)]&&_0x55ef1c[_0x8c8790(0x164)](_0x50a1e0,_0x8c8790(0x144),{'tablePasteChainId':_0x5a02f6}),_0x4b509b[_0x8c8790(0x18d)]&&_0x55ef1c[_0x8c8790(0x164)](_0x4b509b,_0x8c8790(0x19a),{'tablePasteChainId':_0x5a02f6}),_0x25a34f[_0x8c8790(0x18d)]&&(_0x55ef1c[_0x8c8790(0x164)](_0x25a34f,_0x8c8790(0x168),{'tablePasteChainId':_0x5a02f6,'skipNestingCheck':!0x0}),_0x25a34f[_0x8c8790(0x141)](_0x1ac6b8=>_0x1ac6b8[_0x8c8790(0x115)]?.())),_0x53e60a[_0x8c8790(0x18d)]&&(_0x55ef1c[_0x8c8790(0x17a)](_0x53e60a,_0x8c8790(0x168),{'tablePasteChainId':_0x5a02f6,'skipNestingCheck':!0x0}),_0x53e60a[_0x8c8790(0x141)](_0x31af4c=>_0x31af4c[_0x8c8790(0x115)]?.()));const _0x119c1e=_0x55ef1c[_0x8c8790(0x131)](_0x437ec9[_0x8c8790(0x176)](({element:_0x50fa2e})=>_0x50fa2e),{'formatGroupId':_0x39fc51()},[],_0x8c8790(0xe0),{'tablePasteChainId':_0x5a02f6});if(_0x119c1e){const _0x6043db=_0x119c1e[_0x8c8790(0x121)](),_0x23fb64=[];for(const {element:_0x23c9ff,attributes:_0xc76015}of _0x437ec9){if(!_0xc76015)continue;const _0x1af58f=_0x251804[_0x8c8790(0x17d)][_0x8c8790(0x19d)](_0x23c9ff),_0x474b74=_0x6043db[_0x8c8790(0x10a)](_0x30ef4b=>_0x30ef4b[_0x8c8790(0x15d)]()[_0x8c8790(0x16b)](_0x1af58f));_0x474b74&&_0x23fb64[_0x8c8790(0x118)]([_0x474b74[_0x8c8790(0x155)],_0xc76015]);}_0x23fb64[_0x8c8790(0x18d)]&&_0x119c1e[_0x8c8790(0x185)](_0x8c8790(0xfc),Object[_0x8c8790(0x103)](_0x23fb64));}_0x15825a=null;}));},{'priority':_0x541234[_0xc1c23e(0xea)]+0xa}),_0x3e3eec['on'](_0xc1c23e(0x110),()=>{_0x2e6eb3=!0x1;},{'priority':_0xc1c23e(0x167)}),_0x251804[_0xc1c23e(0x101)][_0xc1c23e(0x105)](_0xc1c23e(0x126))['on'](_0xc1c23e(0x10d),(_0x2b8da8,_0x4ecdd0)=>{const _0x426bb=_0xc1c23e,[_0x134cab,_0x215fe5,,_0x485719]=_0x4ecdd0;if(!_0x15825a)return;_0x2b8da8[_0x426bb(0x13c)]();const _0x9c248e=_0x134cab[_0x426bb(0xf7)],_0x5ebacb=_0x215fe5,_0x50a4b2=Oe(_0x9c248e),_0x424fde=Oe(_0x5ebacb);_0x2b8da8[_0x426bb(0x156)]=_0x9c248e;let _0xd026a=null,_0x14cb01=null;if(_0x424fde||_0x50a4b2){if(_0x50a4b2&&!_0x424fde){_0x485719[_0x426bb(0xd1)](_0x9c248e[_0x426bb(0x102)](0x0));for(const _0xf6cd5c of Array[_0x426bb(0x120)](_0x5ebacb[_0x426bb(0xdb)]()))_0x485719[_0x426bb(0x191)](_0xf6cd5c,_0x9c248e,_0x426bb(0x189));const _0x58a73d=_0x15825a[_0x426bb(0x170)][_0x426bb(0x104)](_0x134cab[_0x426bb(0x136)]),_0x5c9116=_0x15825a[_0x426bb(0xec)][_0x426bb(0x104)](_0x134cab[_0x426bb(0xfe)]);_0x58a73d||_0x5c9116||(_0xd026a=_0x14a1bd[_0x426bb(0x177)](_0x485719[_0x426bb(0x192)](_0x9c248e)));}else _0x424fde&&!_0x50a4b2&&(_0x14cb01=_0x485719[_0x426bb(0x192)](_0x9c248e));}else{const _0x2aecc6=_0x485719[_0x426bb(0x13e)](_0x426bb(0x153)),_0x4385ae=_0x485719[_0x426bb(0x13e)](_0x426bb(0x153));_0x485719[_0x426bb(0x186)](_0x485719[_0x426bb(0x192)](_0x9c248e),_0x4385ae),_0x485719[_0x426bb(0x191)](_0x2aecc6,_0x9c248e,0x0);for(const _0x317756 of Array[_0x426bb(0x120)](_0x5ebacb[_0x426bb(0xdb)]()))_0x485719[_0x426bb(0x191)](_0x317756,_0x2aecc6,_0x426bb(0x189));_0xd026a=_0x14a1bd[_0x426bb(0x177)](_0x485719[_0x426bb(0x19d)](_0x2aecc6)),_0x14cb01=_0x14a1bd[_0x426bb(0x177)](_0x485719[_0x426bb(0x19d)](_0x4385ae));}const _0x1275a0=Array[_0x426bb(0x120)](_0x5ebacb[_0x426bb(0x196)]())[_0x426bb(0x11e)](([_0x4add78])=>Be[_0x426bb(0x104)](_0x4add78));_0x15825a[_0x426bb(0x16d)][_0x426bb(0x118)]({'element':_0x9c248e,'attributes':_0x1275a0[_0x426bb(0x18d)]?Object[_0x426bb(0x103)](_0x1275a0):null}),_0xd026a&&_0x15825a[_0x426bb(0xeb)][_0x426bb(0x118)](_0xd026a),_0x14cb01&&_0x15825a[_0x426bb(0x145)][_0x426bb(0x118)](_0x14cb01);},{'priority':_0xc1c23e(0xea)}),_0x41626a['on'](_0xc1c23e(0x16a),(_0x593f04,_0x52303f)=>{const _0x15e745=_0xc1c23e,[_0x466206,_0xb10e4c={}]=_0x52303f;if(!_0x15825a)return;const _0x42bfb2=_0xb10e4c['at']||0x0,_0x52bccf=_0xb10e4c[_0x15e745(0x114)]||0x1;_0x15825a[_0x15e745(0xec)]=new Array(_0x52bccf)[_0x15e745(0xe3)](_0x42bfb2)[_0x15e745(0x176)]((_0x1f1793,_0x5efa5d)=>_0x1f1793+_0x5efa5d);for(const {cell:_0x50ea22}of _0x41626a[_0x15e745(0x13b)](_0x466206,{'startColumn':_0x42bfb2,'endColumn':_0x42bfb2+_0x52bccf-0x1}))_0x15825a[_0x15e745(0x18e)][_0x15e745(0x118)](_0x251804[_0x15e745(0x17d)][_0x15e745(0x19d)](_0x50ea22));},{'priority':_0xc1c23e(0x159)}),_0x41626a['on'](_0xc1c23e(0x17e),(_0x493fbf,_0x113ca5)=>{const _0x2acbaf=_0xc1c23e,[_0x298713,_0x2d5ebd={}]=_0x113ca5;if(!_0x15825a)return;const _0x3fa3b9=_0x2d5ebd['at']||0x0,_0x4db63b=_0x2d5ebd[_0x2acbaf(0xee)]||0x1;_0x15825a[_0x2acbaf(0x170)]=new Array(_0x4db63b)[_0x2acbaf(0xe3)](_0x3fa3b9)[_0x2acbaf(0x176)]((_0x2c92c6,_0xc9bc21)=>_0x2c92c6+_0xc9bc21);for(const {cell:_0x260fdb}of _0x41626a[_0x2acbaf(0x13b)](_0x298713,{'startRow':_0x3fa3b9,'endRow':_0x3fa3b9+_0x4db63b-0x1}))_0x15825a[_0x2acbaf(0x14a)][_0x2acbaf(0x118)](_0x251804[_0x2acbaf(0x17d)][_0x2acbaf(0x19d)](_0x260fdb));},{'priority':_0xc1c23e(0x159)}),_0x55ef1c[_0xc1c23e(0x122)][_0xc1c23e(0x130)](_0x14264d=>{const _0x1a79ed=_0xc1c23e;if(_0x14264d[_0x1a79ed(0x137)]&&_0x14264d[_0x1a79ed(0x137)][_0x1a79ed(0x19c)](_0x1a79ed(0x168)))return _0x14264d[_0x1a79ed(0x151)]?{}:{'type':_0x1a79ed(0xdf),'content':_0xf635a(_0x251804[_0x1a79ed(0x134)],_0x1a79ed(0x10c))};});const _0x264485=()=>!0x1;for(const _0x25b77c of[_0xc1c23e(0x168),_0xc1c23e(0x19a),_0xc1c23e(0x144),_0xc1c23e(0xe0)])_0x55ef1c[_0xc1c23e(0x11a)][_0xc1c23e(0x190)](_0xc1c23e(0xdf),_0x25b77c,_0xc1c23e(0x17f),_0x264485),_0x55ef1c[_0xc1c23e(0x11a)][_0xc1c23e(0x190)](_0xc1c23e(0x18c),_0x25b77c,_0xc1c23e(0x17f),_0x264485),_0x55ef1c[_0xc1c23e(0x11a)][_0xc1c23e(0x190)](_0xc1c23e(0x180),_0x25b77c,_0xc1c23e(0x17f),_0x264485);_0x55ef1c[_0xc1c23e(0x11a)][_0xc1c23e(0x190)](_0xc1c23e(0x180),_0xc1c23e(0xe0),_0xc1c23e(0x11d),_0x264485),_0x55ef1c[_0xc1c23e(0x11a)][_0xc1c23e(0x190)](_0xc1c23e(0x180),_0xc1c23e(0xe0),_0xc1c23e(0xd7),(_0x553a5f,_0xcbcf1c,_0x169056)=>{const _0x5efd02=_0xc1c23e,_0x1c230f=_0x553a5f[_0x5efd02(0x176)](_0x5cb81a=>_0x5cb81a[_0x5efd02(0x15e)]())[_0x5efd02(0x11e)](_0x34e430=>_0x34e430),_0x261da9=new Map(_0x1c230f[_0x5efd02(0x176)](_0x2d7abd=>[_0x2d7abd,null]));if(_0x15825a){for(const {element:_0x4edec,attributes:_0x180f6b}of _0x15825a[_0x5efd02(0x16d)])_0x180f6b&&_0x261da9[_0x5efd02(0xe6)](_0x4edec,_0x180f6b);}else{if(_0x169056&&_0x169056[_0x5efd02(0xfc)])for(const [_0x4373a9,_0x150dca]of Object[_0x5efd02(0x10f)](_0x169056[_0x5efd02(0xfc)])){const _0x283f8f=_0x251804[_0x5efd02(0x17d)][_0x5efd02(0xf0)][_0x5efd02(0x105)](_0x4373a9),_0x129481=_0x283f8f?_0x283f8f[_0x5efd02(0x15d)]()[_0x5efd02(0x15e)]():null;_0x129481&&_0x261da9[_0x5efd02(0xe6)](_0x129481,_0x150dca);}}_0x251804[_0x5efd02(0x17d)][_0x5efd02(0x10e)](_0x4eedb3=>{const _0x1dd1d6=_0x5efd02;for(const [_0x4c90e3,_0x500394]of _0x261da9)_0x4eedb3[_0x1dd1d6(0x14d)]({...xe,..._0x500394},_0x4c90e3);});});const _0x194f36=(_0x28a812,_0x1f786e)=>{const _0x4d32b3=_0xc1c23e;_0x55ef1c[_0x4d32b3(0x11a)][_0x4d32b3(0x190)](_0x28a812,_0x4d32b3(0x168),_0x1f786e,(_0x2b7e4f,_0x45d54f,_0x13b196)=>{const _0x35789f=_0x4d32b3;_0x251804[_0x35789f(0x17d)][_0x35789f(0x10e)](_0x1bb95e=>{const _0x4bd8d9=_0x35789f,_0x2538b3=[];for(const _0x471155 of _0x2b7e4f){const _0x4ccd80=_0x471155[_0x4bd8d9(0x140)][_0x4bd8d9(0x15b)];_0x4ccd80['is'](_0x4bd8d9(0xe4),_0x4bd8d9(0x153))&&_0x2538b3[_0x4bd8d9(0x118)](_0x4ccd80);}_0x55ef1c[_0x4bd8d9(0x11a)][_0x4bd8d9(0x157)](_0x28a812,null,_0x1f786e)(_0x2b7e4f,_0x45d54f,_0x13b196);for(const _0x5e9cab of _0x2538b3)_0x4bd8d9(0x171)!=_0x5e9cab[_0x4bd8d9(0x195)][_0x4bd8d9(0x15c)]&&_0x1bb95e[_0x4bd8d9(0xfb)](_0x5e9cab);});});};_0x194f36(_0xc1c23e(0xdf),_0xc1c23e(0xd7)),_0x194f36(_0xc1c23e(0xdf),_0xc1c23e(0x11d)),_0x194f36(_0xc1c23e(0x18c),_0xc1c23e(0xd7)),_0x194f36(_0xc1c23e(0x18c),_0xc1c23e(0x11d)),_0x55ef1c[_0xc1c23e(0x11a)][_0xc1c23e(0x190)](_0xc1c23e(0xdf),_0xc1c23e(0x144),_0xc1c23e(0x11d),_0x223a3a=>{const _0x3799ae=_0xc1c23e,_0x5dc885=_0x223a3a[_0x3799ae(0x176)](_0x2ed83d=>_0x2ed83d[_0x3799ae(0x15e)]()),_0x1101a3=_0x5dc885[0x0][_0x3799ae(0xe9)](_0x3799ae(0x117)),{minRow:_0x4e0270,maxRow:_0x3e0166}=_0x28bd43[_0x3799ae(0x193)](_0x5dc885);_0x41626a[_0x3799ae(0x158)](_0x1101a3,{'at':_0x4e0270,'rows':_0x3e0166-_0x4e0270+0x1});}),_0x55ef1c[_0xc1c23e(0x11a)][_0xc1c23e(0x190)](_0xc1c23e(0xdf),_0xc1c23e(0x19a),_0xc1c23e(0x11d),_0x34d7ca=>{const _0x258e5e=_0xc1c23e,_0xc059ae=_0x34d7ca[_0x258e5e(0x176)](_0x4149e3=>_0x4149e3[_0x258e5e(0x15e)]()),_0x5c6594=_0xc059ae[0x0][_0x258e5e(0xe9)](_0x258e5e(0x117)),{minColumn:_0x61075a,maxColumn:_0x19ea60}=_0x28bd43[_0x258e5e(0x193)](_0xc059ae);_0x41626a[_0x258e5e(0xdd)](_0x5c6594,{'at':_0x61075a,'columns':_0x19ea60-_0x61075a+0x1});});const _0xa5a1bf=(_0x11d179,_0x5d7f65)=>{const _0x338f5d=_0xc1c23e;if(!_0x5d7f65[_0x338f5d(0x137)]||!_0x5d7f65[_0x338f5d(0x137)][_0x338f5d(0x19c)](_0x338f5d(0x168)))return;const _0x497453=_0x5d7f65[_0x338f5d(0x138)][_0x338f5d(0x116)],_0x15418c=_0x55ef1c[_0x338f5d(0x184)]()[_0x338f5d(0x11e)](_0x13312f=>_0x13312f[_0x338f5d(0x125)]&&_0x13312f[_0x338f5d(0x138)]&&_0x13312f[_0x338f5d(0x138)][_0x338f5d(0x116)]==_0x497453);_0x15418c[_0x338f5d(0x18d)]&&_0x5d7f65[_0x338f5d(0x197)]()[_0x338f5d(0x18d)]!=_0x15418c[_0x338f5d(0x18d)]&&_0x15418c[_0x338f5d(0x100)]((_0x368393,_0xbb9773)=>(_0x368393[_0x338f5d(0x181)]=_0xbb9773,_0xbb9773[_0x338f5d(0x151)]=_0x368393,_0xbb9773));};function _0x1ca44a(_0x1fa9dd,_0x4de389=!0x0){const _0x38d524=_0xc1c23e,{id:_0x38b1c9,authorId:_0x20100e}=_0x55ef1c[_0x38d524(0xf9)](_0x1fa9dd[_0x38d524(0x152)]),_0x2fb6c2=[_0x38d524(0x12f),_0x38d524(0x124)],_0x43e9fb=_0x55ef1c[_0x38d524(0xd3)][_0x38d524(0x104)](_0x1fa9dd[_0x38d524(0x152)]);return _0x43e9fb&&_0x2fb6c2[_0x38d524(0x118)](_0x38d524(0x129)),{'classes':_0x2fb6c2,'attributes':{'data-suggestion':_0x38b1c9,'data-author-id':_0x20100e},'priority':_0x43e9fb&&_0x4de389?0xbc2:0xbb8};}_0x55ef1c['on'](_0xc1c23e(0x19e),_0xa5a1bf,{'priority':_0xc1c23e(0xea)}),_0x55ef1c['on'](_0xc1c23e(0x1a0),_0xa5a1bf,{'priority':_0xc1c23e(0xea)}),_0x251804[_0xc1c23e(0x17d)][_0xc1c23e(0x15a)][_0xc1c23e(0x18a)](()=>{const _0x173386=_0xc1c23e;let _0x41a271=!0x1;const _0x16a076=Array[_0x173386(0x120)](_0x251804[_0x173386(0x17d)][_0x173386(0x15a)][_0x173386(0xe2)][_0x173386(0x13d)]());for(const {name:_0x3a658f,data:_0x2e68a1}of _0x16a076){const {group:_0x16fe42,type:_0x126a58,id:_0x6e8415}=_0x55ef1c[_0x173386(0xf9)](_0x3a658f);if(_0x173386(0x163)!=_0x16fe42||_0x173386(0x18c)!=_0x126a58||_0x2e68a1[_0x173386(0x175)])continue;if(!_0x55ef1c[_0x173386(0x135)](_0x6e8415))continue;const _0x2cb58e=_0x55ef1c[_0x173386(0x128)](_0x6e8415)[_0x173386(0x12e)](),_0x45bdc4=_0x251804[_0x173386(0x101)][_0x173386(0x105)](_0x173386(0x139))['me'];for(const _0x5a9ce4 of _0x55ef1c[_0x173386(0x184)]()){if(!_0x5a9ce4[_0x173386(0x125)]||_0x5a9ce4[_0x173386(0x165)]!=_0x45bdc4)continue;if(_0x173386(0x180)!=_0x5a9ce4[_0x173386(0x11f)]||_0x173386(0xe0)!=_0x5a9ce4[_0x173386(0x137)])continue;if(_0x5a9ce4[_0x173386(0x12e)]()[_0x173386(0x198)](_0x50947e=>_0x2cb58e[_0x173386(0x183)](_0x19420d=>_0x19420d[_0x173386(0x169)](_0x50947e,!0x0)))){for(const _0x182fc6 of _0x5a9ce4[_0x173386(0x197)]())_0x182fc6[_0x173386(0x125)]&&(_0x182fc6[_0x173386(0x11d)](),_0x41a271=!0x0);}}}return _0x41a271;}),_0x251804[_0xc1c23e(0x17d)][_0xc1c23e(0x15a)][_0xc1c23e(0x18a)](_0x513e31=>{const _0x128eb1=_0xc1c23e,_0x1ea4e4=_0x251804[_0x128eb1(0x149)][_0x128eb1(0x105)](_0x128eb1(0x18b));if(!_0x1ea4e4||!_0x1ea4e4[_0x128eb1(0xf4)][_0x128eb1(0x187)](_0x513e31[_0x128eb1(0x147)]))return!0x1;let _0x3519b6=!0x1;const _0x140cba=_0x251804[_0x128eb1(0x101)][_0x128eb1(0x105)](_0x128eb1(0x139))['me'],_0x289430=_0x251804[_0x128eb1(0x17d)][_0x128eb1(0x15a)][_0x128eb1(0xe2)][_0x128eb1(0x12c)](),_0x2ae316=Array[_0x128eb1(0x120)](_0x251804[_0x128eb1(0x17d)][_0x128eb1(0x15a)][_0x128eb1(0xe2)][_0x128eb1(0x13d)]())[_0x128eb1(0x11e)](({name:_0x2cfbf7,data:_0x2808fb})=>{const _0x19b264=_0x128eb1,{group:_0x231b37,subType:_0x1e1724,authorId:_0x2f971b}=_0x55ef1c[_0x19b264(0xf9)](_0x2cfbf7);return _0x19b264(0x163)==_0x231b37&&_0x19b264(0x168)==_0x1e1724&&_0x2f971b==_0x140cba['id']&&!_0x2808fb[_0x19b264(0x175)];});for(const _0x16f19f of _0x289430){if(_0x128eb1(0x191)!=_0x16f19f[_0x128eb1(0x11f)]||_0x128eb1(0x153)!=_0x16f19f[_0x128eb1(0x155)]||0x1!=_0x16f19f[_0x128eb1(0x18d)])continue;const _0x217f60=_0x513e31[_0x128eb1(0x142)](_0x16f19f[_0x128eb1(0xf5)],_0x16f19f[_0x128eb1(0xf5)][_0x128eb1(0xd4)](0x1));if(!_0x2ae316[_0x128eb1(0x10a)](({data:_0x449023})=>_0x449023[_0x128eb1(0x146)][_0x128eb1(0x16b)](_0x217f60))){for(const {name:_0x34add3,data:_0x2605a3}of _0x2ae316)if(_0x217f60[_0x128eb1(0x169)](_0x2605a3[_0x128eb1(0x146)])){_0x513e31[_0x128eb1(0xd9)](_0x34add3,{'range':_0x217f60}),_0x3519b6=!0x0;break;}}}return _0x3519b6;}),_0x251804[_0xc1c23e(0x17d)][_0xc1c23e(0x15a)][_0xc1c23e(0x18a)](_0x185450=>{const _0x507a77=_0xc1c23e;let _0x14c365=!0x1;const _0x952939=_0x251804[_0x507a77(0x101)][_0x507a77(0x105)](_0x507a77(0x139))['me'],_0x3cee59=_0x55ef1c[_0x507a77(0x184)]()[_0x507a77(0x11e)](_0x116799=>_0x116799[_0x507a77(0x125)]&&_0x116799[_0x507a77(0x165)]==_0x952939),_0x423b5a=new Set(),_0x20f9ef=new Set();for(const _0x358daf of _0x3cee59)if(_0x507a77(0x168)==_0x358daf[_0x507a77(0x137)])for(const _0x456858 of _0x358daf[_0x507a77(0x121)]()){const _0x1ea5c7=_0x456858[_0x507a77(0x15d)]()[_0x507a77(0x15e)]();if(_0x1ea5c7){if(_0x1ea5c7['is'](_0x507a77(0xe4),_0x507a77(0x153))&&Oe(_0x1ea5c7)){_0x358daf[_0x507a77(0xff)](_0x456858[_0x507a77(0x155)]),_0x423b5a[_0x507a77(0x123)](_0x1ea5c7),_0x14c365=!0x0;const _0x50ec9b=_0x1ea5c7[_0x507a77(0x179)],_0x290416=_0x1ea5c7[_0x507a77(0x148)],_0x3a7ecf=_0x50ec9b&&_0x50ec9b['is'](_0x507a77(0xe4),_0x507a77(0x153)),_0x16680c=_0x290416&&_0x290416['is'](_0x507a77(0xe4),_0x507a77(0x153));_0x3a7ecf&&!_0x423b5a[_0x507a77(0x187)](_0x50ec9b)&&_0x20f9ef[_0x507a77(0x123)](_0x50ec9b),_0x16680c&&!_0x423b5a[_0x507a77(0x187)](_0x290416)&&_0x20f9ef[_0x507a77(0x123)](_0x290416);}else _0x1ea5c7['is'](_0x507a77(0xe4),_0x507a77(0x107))&&_0x1ea5c7[_0x507a77(0xda)]&&(_0x358daf[_0x507a77(0xff)](_0x456858[_0x507a77(0x155)]),_0x14c365=!0x0);}}else{if(_0x507a77(0xe0)==_0x358daf[_0x507a77(0x137)]){if(!_0x358daf[_0x507a77(0x138)]||!_0x358daf[_0x507a77(0x138)][_0x507a77(0x116)])continue;const _0xdaaa43=_0x358daf[_0x507a77(0x138)][_0x507a77(0xfc)];if(_0xdaaa43&&Object[_0x507a77(0x12d)](_0xdaaa43)[_0x507a77(0x18d)])continue;const _0x237a3d=_0x358daf[_0x507a77(0x138)][_0x507a77(0x116)];let _0x31b621=!0x0,_0x5153c0=!0x0;for(const _0x4e5ab5 of _0x3cee59)if(_0x4e5ab5[_0x507a77(0x137)]&&_0x4e5ab5[_0x507a77(0x137)][_0x507a77(0x19c)](_0x507a77(0x168))){if(!_0x4e5ab5[_0x507a77(0x138)][_0x507a77(0x116)]){_0x5153c0=!0x1;break;}if(_0x4e5ab5['id']!=_0x358daf['id']&&_0x4e5ab5[_0x507a77(0x138)][_0x507a77(0x116)]==_0x237a3d){_0x31b621=!0x1;break;}}_0x5153c0&&_0x31b621&&(_0x358daf[_0x507a77(0x154)](),_0x14c365=!0x0);}}for(const _0x38929c of _0x423b5a)_0x185450[_0x507a77(0xd1)](_0x38929c);for(const _0x32e96a of _0x20f9ef)_0x185450[_0x507a77(0xfb)](_0x32e96a);return _0x14c365;}),_0x251804[_0xc1c23e(0xd8)][_0xc1c23e(0x119)](_0xc1c23e(0x12b))[_0xc1c23e(0xed)]({'model':_0xc1c23e(0x133),'view':_0x570c5d=>_0x1ca44a(_0x570c5d),'converterPriority':_0xc1c23e(0xea)}),_0x251804[_0xc1c23e(0xd8)][_0xc1c23e(0x119)](_0xc1c23e(0x11c))[_0xc1c23e(0xed)]({'model':_0xc1c23e(0x133),'view':(_0x1b561d,_0x3d9d1c)=>_0x3d9d1c[_0xc1c23e(0xf8)][_0xc1c23e(0x127)]?_0x1ca44a(_0x1b561d,!0x1):null,'converterPriority':_0xc1c23e(0xea)});const _0x224491=_0x251804[_0xc1c23e(0xf6)][_0xc1c23e(0xfd)];this[_0xc1c23e(0xf3)](_0x224491[_0xc1c23e(0x15a)],_0xc1c23e(0x11b),(_0xe913cb,_0x2a7a3b)=>{const _0x1f7c8b=_0xc1c23e,_0x102ef2=[];for(const _0x5edbcb of _0x224491[_0x1f7c8b(0x192)](_0x2a7a3b[_0x1f7c8b(0x150)])[_0x1f7c8b(0x194)]())_0x5edbcb['is'](_0x1f7c8b(0xe4),_0x1f7c8b(0xf2))&&_0x102ef2[_0x1f7c8b(0x118)](_0x5edbcb);_0x224491[_0x1f7c8b(0x10e)](_0x23d314=>{const _0x799b5b=_0x1f7c8b;for(const _0x5b7ffc of _0x102ef2)_0x23d314[_0x799b5b(0x108)](_0x23d314[_0x799b5b(0x192)](_0x5b7ffc),_0x23d314[_0x799b5b(0xe7)](_0x5b7ffc)),_0x23d314[_0x799b5b(0xd1)](_0x5b7ffc);});});}}function Oe(_0x5a776d){const _0x46f6a5=_0x5e349b;if(_0x5a776d[_0x46f6a5(0xda)])return!0x0;const _0x10e4c0=_0x5a776d[_0x46f6a5(0x102)](0x0);return _0x10e4c0['is'](_0x46f6a5(0xe4),_0x46f6a5(0x107))&&_0x10e4c0[_0x46f6a5(0xda)];}function Ue(_0x98672,_0x11f310={},_0x37cb49){const _0x346626=_0x5e349b;for(const {isAnchor:_0x402992,cellHeight:_0x3941b0,cellWidth:_0x225e66}of _0x37cb49[_0x346626(0x13b)](_0x98672,{'includeAllSlots':!0x0,..._0x11f310}))if(!_0x402992||0x1!=_0x3941b0||0x1!=_0x225e66)return!0x1;return!0x0;}function _0x3d5b(){const _0x104df5=['insertionRanges','columnInsertionIndexes','markerToHighlight','rows','tableCellBorderStyle','markers','getColumns','suggestion-td','listenTo','_createdBatches','position','editing','cell','options','_splitMarkerName','getColumnIndexes','unwrap','markerAttributes','view','column','removeMarker','reduce','plugins','getChild','fromEntries','includes','get','requires','paragraph','move','endColumn','find','tableCellBorderWidth','*Replace\x20table\x20cells*','_replaceTableSlotCell','change','entries','contentInsertion','getRows','_isForcedDefaultExecutionBlock','forceDefaultExecution','columns','detach','tablePasteChainId','table','push','for','_suggestionFactory','clipboardOutput','dataDowncast','discard','filter','type','from','getMarkers','descriptionFactory','add','ck-suggestion-marker-insertion','isInContent','TableClipboard','showSuggestionHighlights','getSuggestion','ck-suggestion-marker--active','312GOgaIC','editingDowncast','getChanges','keys','getRanges','ck-suggestion-marker','registerDescriptionCallback','markMultiRangeBlockFormat','tableCellHorizontalAlignment','suggestion:formatBlock:tablePasteCell','locale','hasSuggestion','row','subType','attributes','Users','2961480AaCWhV','createTableWalker','stop','getChangedMarkers','createElement','getSelectionAffectedTableCells','start','forEach','createRange','insertContent','tablePasteRow','deletionRanges','newRange','batch','previousSibling','commands','rowInsertionRanges','schema','endRow','setAttributes','getSelectedTableCells','15XdUmQC','content','previous','markerName','tableCellSuggestion','removeMarkers','name','return','getSuggestionCallback','removeRows','low','document','nodeAfter','rootName','getRange','getContainedElement','tableCellVerticalAlignment','37277XtHkMR','678712mdNaiS','getRowIndexes','suggestion','markMultiRangeInsertion','author','first','lowest','tablePaste','containsRange','insertColumns','isEqual','3798tpKqZI','cells','value','last','rowInsertionIndexes','$graveyard','getTableIfOnlyTableInContent','editor','method','oldRange','map','fromRange','TableUtils','nextSibling','markMultiRangeDeletion','register','14zWvNFk','model','insertRows','join','formatBlock','next','16231410KlTCuM','some','getSuggestions','setAttribute','wrap','has','tableCellBackgroundColor','end','registerPostFixer','redo','deletion','length','columnInsertionRanges','tableCell','registerCustomCallback','insert','createRangeIn','_getCoordsForCells','getItems','root','getAttributes','getAllAdjacentSuggestions','every','trackChanges','tablePasteColumn','2040248MbXpQK','startsWith','createRangeOn','suggestionLoaded','documentSelection','suggestionUnloaded','elementToElement','selection','remove','TrackChangesEditing','activeMarkers','getShiftedBy','paste','_tablePostFixingSubtypes','accept','conversion','updateMarker','isEmpty','getChildren','3706047DOZSyV','removeColumns','afterInit','insertion','tablePasteCell','tableCellPadding','differ','fill','element','tableCellBorderColor','set','createPositionBefore','TableSelection','findAncestor','high'];_0x3d5b=function(){return _0x104df5;};return _0x3d5b();}