UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines • 22.6 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 _0x1f85(){const _0xe73c5e=['_getSuggestionCoords','addMarker:suggestion','ELEMENT_TABLE_COLUMN_WITH_TEXT','startsWith','differ','maxRow','_splitMarkerName','discard','last','colspan','includes','getSuggestion','*Remove:*\x20%0','get','$textProxy','getRowIndexes','_tablePostFixingSubtypes','position','downcastDispatcher','map','getItems','oldRange','setAttribute','_tableSuggestions','has','registerCustomCallback','maxColumn','309990XzrFXw','createRangeOn','minRow','getColumnIndexes','ELEMENT_TABLE','_getCoordsForCells','MAX_SAFE_INTEGER','_acceptFormatSuggestionCallbackFactory','createPositionAt','43001ZcrXHC','insert','max','name','detach','join','root','suggestion','change','table','above','from','getChanges','tableRow','min','mapper','start','selectTableRow','highest','getFirstRange','isIntersecting','data','_setupColumnsRowsFixing','accept','refresh','plugins','minColumn','enableCommand','addClass','subType','ELEMENT_TABLE_WITH_TEXT','TableUtils','writer','locale','removeAttribute','descriptionFactory','insertTableRowAbove','setSelection','editor','isInContent','195641FLpOfs','markerName','data-author-id','enqueueChange','toLowerCase','span','item','toViewElement','tablePaste','isIntersectingWithRange','getCellLocation','ELEMENT_TABLE_ROW_WITH_TEXT','filter','first','*Insert:*\x20%0','removeClass','insertTableRowBelow','getAttribute','findAncestor','showSuggestionHighlights','fromRange','data-suggestion-id','isTouching','createRangeIn','low','insertTableColumnLeft','getChangedMarkers','afterInit','getRanges','execute','registerPostFixer','TrackChangesEditing','model','rootName','add','batch','markMultiRangeDeletion','selection','13219650nuDxZi','addRange','tableColumn','push','533961UuBUZs','nodeBefore','getChildren','forceValue','insertion','ELEMENT_TABLE_COLUMN','change:data','MIN_SAFE_INTEGER','removeTableRow','insertTableColumnRight','hasAttribute','length','some','createTableWalker','6giqyyo','removeTableColumn','ELEMENT_TABLE_ROW','TableEditing','order','registerElementLabel','getContainedElement','_suggestionFactory','16cjmpDD','rowspan','tableCell','insertTable','options','type','classes','values','end','element','markMultiRangeInsertion','every','getSelectionAffectedTableCells','selectTableColumn','registerDescriptionCallback','left','deletion','1740RwOYHn','$graveyard','cell','isEqual','substr','1179064FohbFZ','document','commands','4638MeabtF','nodeAfter'];_0x1f85=function(){return _0xe73c5e;};return _0x1f85();}const _0xdde77=_0x4b48;(function(_0x4b7c1e,_0x1538a2){const _0x1394ea=_0x4b48,_0x5a10bd=_0x4b7c1e();while(!![]){try{const _0x23ae5e=-parseInt(_0x1394ea(0x7c))/0x1+-parseInt(_0x1394ea(0xf2))/0x2*(parseInt(_0x1394ea(0xb4))/0x3)+-parseInt(_0x1394ea(0xd2))/0x4+parseInt(_0x1394ea(0xcd))/0x5*(-parseInt(_0x1394ea(0xd5))/0x6)+parseInt(_0x1394ea(0xfb))/0x7*(-parseInt(_0x1394ea(0xbc))/0x8)+-parseInt(_0x1394ea(0xa6))/0x9+parseInt(_0x1394ea(0xa2))/0xa;if(_0x23ae5e===_0x1538a2)break;else _0x5a10bd['push'](_0x5a10bd['shift']());}catch(_0x57742f){_0x5a10bd['push'](_0x5a10bd['shift']());}}}(_0x1f85,0x2c2d5));import{Plugin as _0x503c9a}from'ckeditor5/src/core.js';import{ModelLiveRange as _0x3696a3}from'ckeditor5/src/engine.js';function _0x4b48(_0x55e6bc,_0x1adf33){const _0x1f85fa=_0x1f85();return _0x4b48=function(_0x4b4822,_0x4bf19f){_0x4b4822=_0x4b4822-0x7b;let _0x47ffa6=_0x1f85fa[_0x4b4822];return _0x47ffa6;},_0x4b48(_0x55e6bc,_0x1adf33);}import{toArray as _0x1bc500}from'ckeditor5/src/utils.js';import{setHighlightHandling as _0x5b7e78}from'ckeditor5/src/widget.js';import{getTranslation as _0x43ba4d}from'../utils/common-translations.js';export class TrackChangesTable extends _0x503c9a{[_0xdde77(0xe7)];[_0xdde77(0xee)];constructor(_0x557a55){const _0x13828c=_0xdde77;super(_0x557a55),this[_0x13828c(0xe7)]=[_0x13828c(0x108),_0x13828c(0xa4)],this[_0x13828c(0xee)]=new Set();}[_0xdde77(0x97)](){const _0x1ca526=_0xdde77,_0x2d63aa=this[_0x1ca526(0x121)],_0x3fddbc=_0x2d63aa[_0x1ca526(0x9c)][_0x1ca526(0xd3)][_0x1ca526(0xa1)];if(!_0x2d63aa[_0x1ca526(0x114)][_0x1ca526(0xef)](_0x1ca526(0xb7)))return;const _0x24add6=_0x2d63aa[_0x1ca526(0x11c)],_0x5ea9ec=_0x2d63aa[_0x1ca526(0x114)][_0x1ca526(0xe4)](_0x1ca526(0x9b)),_0x448b17=_0x2d63aa[_0x1ca526(0x114)][_0x1ca526(0xe4)](_0x1ca526(0x11a));_0x5ea9ec[_0x1ca526(0x11e)][_0x1ca526(0xb9)](_0x1ca526(0x104),_0x457b81=>_0x43ba4d(_0x24add6,_0x1ca526(0xf6),_0x457b81)),this[_0x1ca526(0x111)](),_0x5ea9ec[_0x1ca526(0x116)](_0x1ca526(0xbf)),_0x5ea9ec[_0x1ca526(0x116)](_0x1ca526(0x10c)),_0x5ea9ec[_0x1ca526(0x116)](_0x1ca526(0xc9));for(const _0x10ea09 of[_0x1ca526(0x11f),_0x1ca526(0x8c)]){const _0x34f4a9=_0x2d63aa[_0x1ca526(0xd4)][_0x1ca526(0xe4)](_0x10ea09);_0x5ea9ec[_0x1ca526(0x116)](_0x10ea09,_0x10067d=>{const _0x5f930e=_0x1ca526;_0x2d63aa[_0x5f930e(0x9c)][_0x5f930e(0x103)](_0x404cb8=>{const _0x300efa=_0x5f930e;_0x10067d();const _0x3e509d=_0x300efa(0x105)===_0x34f4a9[_0x300efa(0xb8)],_0x265913=_0x448b17[_0x300efa(0xc8)](_0x3fddbc),_0x4f31ce=_0x448b17[_0x300efa(0xe6)](_0x265913),_0x3f00c7=_0x3e509d?_0x4f31ce[_0x300efa(0x89)]-0x1:_0x4f31ce[_0x300efa(0xdf)]+0x1,_0x3595f4=_0x265913[0x0][_0x300efa(0x8e)](_0x300efa(0x104)),_0xf1af2f=_0x448b17[_0x300efa(0xb3)](_0x3595f4,{'startRow':_0x3f00c7,'endRow':_0x3f00c7}),_0x560e08=Array[_0x300efa(0x106)](_0xf1af2f)[_0x300efa(0xea)](_0xcc9d3c=>_0x404cb8[_0x300efa(0xf3)](_0xcc9d3c[_0x300efa(0xcf)]));_0x5ea9ec[_0x300efa(0xc6)](_0x560e08,_0x300efa(0x108));});});}for(const _0x3b7b4f of[_0x1ca526(0x95),_0x1ca526(0xaf)]){const _0x12ebdf=_0x2d63aa[_0x1ca526(0xd4)][_0x1ca526(0xe4)](_0x3b7b4f);_0x5ea9ec[_0x1ca526(0x116)](_0x3b7b4f,_0x578992=>{const _0x5e23c7=_0x1ca526;_0x2d63aa[_0x5e23c7(0x9c)][_0x5e23c7(0x103)](_0xfeb338=>{const _0x433537=_0x5e23c7;_0x578992();const _0x4a83f8=_0x433537(0xcb)===_0x12ebdf[_0x433537(0xb8)],_0x494735=_0x448b17[_0x433537(0xc8)](_0x3fddbc),_0x46b7ba=_0x448b17[_0x433537(0xf5)](_0x494735),_0x3d2068=_0x4a83f8?_0x46b7ba[_0x433537(0x89)]-0x1:_0x46b7ba[_0x433537(0xdf)]+0x1,_0x46eac1=_0x494735[0x0][_0x433537(0x8e)](_0x433537(0x104)),_0x4e65f6=_0x448b17[_0x433537(0xb3)](_0x46eac1,{'startRow':0x0,'column':_0x3d2068,'includeAllSlots':!0x1}),_0x3934a1=Array[_0x433537(0x106)](_0x4e65f6)[_0x433537(0xea)](_0x2760d8=>_0xfeb338[_0x433537(0xf3)](_0x2760d8[_0x433537(0xcf)]));_0x5ea9ec[_0x433537(0xc6)](_0x3934a1,_0x433537(0xa4));});});}for(const _0x32104f of[_0x1ca526(0xae),_0x1ca526(0xb5)]){const _0x1a58a8=_0x32104f[_0x1ca526(0xd1)](0xb),_0x307331=_0x1a58a8[_0x1ca526(0x80)](),_0x50dc45=_0x307331[_0x1ca526(0xd1)](0x0,0x3)+_0x1ca526(0x81),_0x112713=_0x1ca526(0x104)+_0x1a58a8,_0x327e91=_0x1ca526(0x109)+_0x1a58a8,_0x523927=_0x1ca526(0xfd)+_0x1a58a8;_0x5ea9ec[_0x1ca526(0x116)](_0x32104f,()=>{const _0x3d7d57=_0x1ca526;_0x2d63aa[_0x3d7d57(0x9c)][_0x3d7d57(0x103)](_0x1759c1=>{const _0x41e495=_0x3d7d57,_0xe95ba3=_0x448b17[_0x41e495(0xc8)](_0x3fddbc),_0x59b5ff=_0xe95ba3[0x0][_0x41e495(0x8e)](_0x41e495(0x104));let _0x26fa40;if(_0x41e495(0xae)==_0x32104f){const _0x5bf745=_0x448b17[_0x41e495(0xe6)](_0xe95ba3);_0x26fa40={'startRow':_0x5bf745[_0x41e495(0x89)],'endRow':_0x5bf745[_0x41e495(0xdf)],'includeAllSlots':!0x0};}else{const _0x423f68=_0x448b17[_0x41e495(0xf5)](_0xe95ba3);_0x26fa40={'startColumn':_0x423f68[_0x41e495(0x89)],'endColumn':_0x423f68[_0x41e495(0xdf)],'includeAllSlots':!0x0};}const _0x42781c=_0x448b17[_0x41e495(0xb3)](_0x59b5ff,_0x26fa40),_0xca8437=Array[_0x41e495(0x106)](_0x42781c)[_0x41e495(0xea)](({cell:_0x8d57bf})=>_0x8d57bf),_0x110be7=Ne(_0xca8437[_0x41e495(0x88)](_0x5b76cb=>_0x5b76cb[_0x41e495(0xb0)](_0x50dc45))),_0x3f2b1e=Ne(_0xca8437[_0x41e495(0x88)](_0x133537=>!_0x133537[_0x41e495(0xb0)](_0x50dc45)))[_0x41e495(0xea)](_0x29b03e=>_0x1759c1[_0x41e495(0xf3)](_0x29b03e)),_0x10a320=_0x5ea9ec[_0x41e495(0xa0)](_0x3f2b1e,_0x112713);if(_0x10a320&&(_0x41e495(0x108)==_0x10a320[_0x41e495(0x118)]||_0x41e495(0xa4)==_0x10a320[_0x41e495(0x118)])){const _0x20dd97=this[_0x41e495(0xd7)](_0x10a320);for(const _0x2c74c4 of _0x110be7){const _0x46faef=_0x1759c1[_0x41e495(0xf3)](_0x2c74c4),_0x1fd672=_0x448b17[_0x41e495(0x86)](_0x2c74c4),_0x35f605=_0x2c74c4[_0x41e495(0x8d)](_0x50dc45)-0x1,_0x3e866f=_0x20dd97[_0x327e91],_0xa86542=_0x20dd97[_0x523927];_0x3e866f<=_0x1fd672[_0x307331]&&_0x1fd672[_0x307331]+_0x35f605<=_0xa86542&&_0x10a320[_0x41e495(0xa3)](_0x46faef);}}});});}function _0x4bcd09(_0x59fa84){const _0x2969e3=_0x1ca526,_0x178c5c=Array[_0x2969e3(0x106)](_0x3fddbc[_0x2969e3(0x98)]())[_0x2969e3(0xea)](_0x2245a0=>_0x3696a3[_0x2969e3(0x90)](_0x2245a0));_0x2d63aa[_0x2969e3(0x9c)][_0x2969e3(0x103)](_0x1f1d89=>{const _0x727d6a=_0x2969e3,_0x3acaa9=_0x1f1d89[_0x727d6a(0x9f)];_0x59fa84=_0x59fa84[_0x727d6a(0x88)](_0x2e6c09=>_0x727d6a(0xce)!=_0x2e6c09[_0x727d6a(0x101)][_0x727d6a(0x9d)]),_0x1f1d89[_0x727d6a(0x120)](_0x59fa84),_0x2d63aa[_0x727d6a(0xd4)][_0x727d6a(0xe4)](_0x727d6a(0xae))[_0x727d6a(0x113)](),_0x2d63aa[_0x727d6a(0x99)](_0x727d6a(0xae),{'forceDefaultExecution':!0x0}),_0x2d63aa[_0x727d6a(0x9c)][_0x727d6a(0x7f)](()=>{const _0x26de36=_0x727d6a;_0x2d63aa[_0x26de36(0x9c)][_0x26de36(0x7f)](_0x3acaa9,_0x2b999e=>{const _0x5662b6=_0x26de36,_0x450d4e=_0x178c5c[_0x5662b6(0x88)](_0x24b281=>_0x5662b6(0xce)!=_0x24b281[_0x5662b6(0x101)][_0x5662b6(0x9d)]);_0x450d4e[_0x5662b6(0xb1)]>0x0&&_0x2b999e[_0x5662b6(0x120)](_0x450d4e);for(const _0x57e008 of _0x178c5c)_0x57e008[_0x5662b6(0xff)]();});});});}function _0x8e2305(_0x9f7aec){const _0x12d96b=_0x1ca526;_0x2d63aa[_0x12d96b(0x9c)][_0x12d96b(0x103)](_0x269a90=>{const _0x486e21=_0x12d96b,_0x10859f=Array[_0x486e21(0x106)](_0x3fddbc[_0x486e21(0x98)]())[_0x486e21(0xea)](_0x10bc29=>_0x3696a3[_0x486e21(0x90)](_0x10bc29)),_0x5a9a1e=[];for(const _0x28026e of _0x9f7aec)for(const _0xf07ce1 of _0x28026e[_0x486e21(0xeb)]({'shallow':!0x0}))_0x5a9a1e[_0x486e21(0xa5)](_0xf07ce1);for(const _0x93b8c3 of _0x5a9a1e)_0x486e21(0xce)!=_0x93b8c3[_0x486e21(0x101)][_0x486e21(0x9d)]&&(_0x269a90[_0x486e21(0x120)](_0x269a90[_0x486e21(0xfa)](_0x93b8c3,0x0)),_0x2d63aa[_0x486e21(0xd4)][_0x486e21(0xe4)](_0x486e21(0xb5))[_0x486e21(0x113)](),_0x2d63aa[_0x486e21(0x99)](_0x486e21(0xb5),{'forceDefaultExecution':!0x0}));const _0x5e02ff=_0x10859f[_0x486e21(0x88)](_0x5f4cf0=>_0x486e21(0xce)!=_0x5f4cf0[_0x486e21(0x101)][_0x486e21(0x9d)]);_0x5e02ff[_0x486e21(0xb1)]>0x0&&_0x269a90[_0x486e21(0x120)](_0x5e02ff);for(const _0x1365c2 of _0x10859f)_0x1365c2[_0x486e21(0xff)]();});}function _0x5cce43(_0x9a27d4,_0x1b1b6b){const _0x1bc4c7=_0x1ca526;return _0x1b1b6b[_0x1bc4c7(0xc7)](_0x59af98=>_0x9a27d4[_0x1bc4c7(0xb2)](_0x22c0a9=>_0x22c0a9[_0x1bc4c7(0xc4)][_0x1bc4c7(0xd0)](_0x59af98[_0x1bc4c7(0x10b)])||_0x59af98[_0x1bc4c7(0xc4)][_0x1bc4c7(0xd0)](_0x22c0a9[_0x1bc4c7(0x10b)])));}function _0x544862(_0x5b69cd,_0x53200b){const _0x46fe95=_0x1ca526;return!_0x5b69cd[_0x46fe95(0xb2)](_0x48e261=>_0x53200b[_0x46fe95(0xb2)](_0x297610=>_0x48e261[_0x46fe95(0x10f)](_0x297610)))&&_0x5b69cd[_0x46fe95(0xb2)](_0x58e05c=>_0x53200b[_0x46fe95(0xb2)](_0x575a58=>_0x58e05c[_0x46fe95(0xc4)][_0x46fe95(0x92)](_0x575a58[_0x46fe95(0x10b)])));}_0x2d63aa[_0x1ca526(0x110)][_0x1ca526(0xe9)]['on'](_0x1ca526(0xd8),(_0x4a92ad,_0x4c628b,_0xed6beb)=>{const _0x7f9b40=_0x1ca526;if(!_0xed6beb[_0x7f9b40(0xc0)][_0x7f9b40(0x8f)])return;const _0xc6a0ef=_0x4c628b[_0x7f9b40(0x82)];if(!_0xc6a0ef||!_0xc6a0ef['is'](_0x7f9b40(0xc5),_0x7f9b40(0xbe)))return;const _0x11a8df=_0xed6beb[_0x7f9b40(0x10a)][_0x7f9b40(0x83)](_0xc6a0ef);if(_0x11a8df){const {id:_0x35bf61,authorId:_0x303bad}=_0x5ea9ec[_0x7f9b40(0xdd)](_0x4c628b[_0x7f9b40(0x7d)]);_0x5b7e78(_0x11a8df,_0xed6beb[_0x7f9b40(0x11b)],(_0xe7c7fa,_0xfbd246,_0xe3e236)=>{const _0x345fbf=_0x7f9b40;_0xe3e236[_0x345fbf(0x117)](_0x1bc500(_0xfbd246[_0x345fbf(0xc2)]),_0xe7c7fa),_0xe3e236[_0x345fbf(0xed)](_0x345fbf(0x91),_0x35bf61,_0xe7c7fa),_0xe3e236[_0x345fbf(0xed)](_0x345fbf(0x7e),_0x303bad,_0xe7c7fa);},(_0x35dc1d,_0x3a7479,_0x4d4d1a)=>{const _0x1d7721=_0x7f9b40;_0x4d4d1a[_0x1d7721(0x8b)](_0x1bc500(_0x3a7479[_0x1d7721(0xc2)]),_0x35dc1d),_0x4d4d1a[_0x1d7721(0x11d)](_0x1d7721(0x91),_0x35dc1d),_0x4d4d1a[_0x1d7721(0x11d)](_0x1d7721(0x7e),_0x35dc1d);});}},{'priority':_0x1ca526(0x10d)}),_0x5ea9ec[_0x1ca526(0x11e)][_0x1ca526(0xca)](_0x8f04f5=>{const _0x492fe7=_0x1ca526;if(_0x492fe7(0xaa)!=_0x8f04f5[_0x492fe7(0xc1)]&&_0x492fe7(0xcc)!=_0x8f04f5[_0x492fe7(0xc1)])return;const _0xf4b674=_0x8f04f5[_0x492fe7(0xba)]();if(null!=_0xf4b674&&_0xf4b674['is'](_0x492fe7(0xc5),_0x492fe7(0x104))){if(_0x492fe7(0xaa)==_0x8f04f5[_0x492fe7(0xc1)]){const _0x5a50a6=_0x8f04f5[_0x492fe7(0xeb)]()[_0x492fe7(0x88)](_0x81b491=>_0x81b491['is'](_0x492fe7(0xe5)))[_0x492fe7(0xea)](_0x617b18=>_0x617b18[_0x492fe7(0x110)]);if(_0x5a50a6[_0x492fe7(0xb1)])return{'type':_0x492fe7(0xaa),'content':_0x43ba4d(_0x24add6,_0x492fe7(0x8a),_0x43ba4d(_0x24add6,_0x492fe7(0x119),'\x22'+_0x5a50a6[_0x492fe7(0x100)]('\x20')+'\x22'))};}if(_0x492fe7(0xcc)==_0x8f04f5[_0x492fe7(0xc1)]){const _0x390389=_0x8f04f5[_0x492fe7(0xeb)]()[_0x492fe7(0x88)](_0x1594e7=>_0x1594e7['is'](_0x492fe7(0xe5)))[_0x492fe7(0xea)](_0x5a311a=>_0x5a311a[_0x492fe7(0x110)]);if(_0x390389[_0x492fe7(0xb1)])return{'type':_0x492fe7(0xcc),'content':_0x43ba4d(_0x24add6,_0x492fe7(0xe3),_0x43ba4d(_0x24add6,_0x492fe7(0x119),'\x22'+_0x390389[_0x492fe7(0x100)]('\x20')+'\x22'))};}}}),_0x5ea9ec[_0x1ca526(0x11e)][_0x1ca526(0xca)](_0x3a51b9=>{const _0x417ea4=_0x1ca526;if(_0x417ea4(0x108)==_0x3a51b9[_0x417ea4(0x118)]){const _0x1c3c77=_0x3a51b9[_0x417ea4(0xeb)]()[_0x417ea4(0x88)](_0x114a01=>_0x114a01['is'](_0x417ea4(0xe5)))[_0x417ea4(0xea)](_0x48a365=>_0x48a365[_0x417ea4(0x110)]),_0x4c81a6=this[_0x417ea4(0xd7)](_0x3a51b9),_0x388762=_0x4c81a6[_0x417ea4(0xdc)]-_0x4c81a6[_0x417ea4(0xf4)]+0x1;if(_0x417ea4(0xaa)==_0x3a51b9[_0x417ea4(0xc1)])return _0x1c3c77[_0x417ea4(0xb1)]?{'type':_0x417ea4(0xaa),'content':_0x43ba4d(_0x24add6,_0x417ea4(0x8a),_0x43ba4d(_0x24add6,_0x417ea4(0x87),[_0x388762,'\x22'+_0x1c3c77[_0x417ea4(0x100)]('\x20')+'\x22']))}:{'type':_0x417ea4(0xaa),'content':_0x43ba4d(_0x24add6,_0x417ea4(0x8a),_0x43ba4d(_0x24add6,_0x417ea4(0xb6),_0x388762))};if(_0x417ea4(0xcc)==_0x3a51b9[_0x417ea4(0xc1)])return _0x1c3c77[_0x417ea4(0xb1)]?{'type':_0x417ea4(0xcc),'content':_0x43ba4d(_0x24add6,_0x417ea4(0xe3),_0x43ba4d(_0x24add6,_0x417ea4(0x87),[_0x388762,'\x22'+_0x1c3c77[_0x417ea4(0x100)]('\x20')+'\x22']))}:{'type':_0x417ea4(0xcc),'content':_0x43ba4d(_0x24add6,_0x417ea4(0xe3),_0x43ba4d(_0x24add6,_0x417ea4(0xb6),_0x388762))};}if(_0x417ea4(0xa4)==_0x3a51b9[_0x417ea4(0x118)]){const _0x5c2148=_0x3a51b9[_0x417ea4(0xeb)]()[_0x417ea4(0x88)](_0x18881e=>_0x18881e['is'](_0x417ea4(0xe5)))[_0x417ea4(0xea)](_0x3bb85b=>_0x3bb85b[_0x417ea4(0x110)]),_0x513ac3=this[_0x417ea4(0xd7)](_0x3a51b9),_0x346813=_0x513ac3[_0x417ea4(0xf1)]-_0x513ac3[_0x417ea4(0x115)]+0x1;if(_0x417ea4(0xaa)==_0x3a51b9[_0x417ea4(0xc1)])return _0x5c2148[_0x417ea4(0xb1)]?{'type':_0x417ea4(0xaa),'content':_0x43ba4d(_0x24add6,_0x417ea4(0x8a),_0x43ba4d(_0x24add6,_0x417ea4(0xd9),[_0x346813,'\x22'+_0x5c2148[_0x417ea4(0x100)]('\x20')+'\x22']))}:{'type':_0x417ea4(0xaa),'content':_0x43ba4d(_0x24add6,_0x417ea4(0x8a),_0x43ba4d(_0x24add6,_0x417ea4(0xab),_0x346813))};if(_0x417ea4(0xcc)==_0x3a51b9[_0x417ea4(0xc1)])return _0x5c2148[_0x417ea4(0xb1)]?{'type':_0x417ea4(0xcc),'content':_0x43ba4d(_0x24add6,_0x417ea4(0xe3),_0x43ba4d(_0x24add6,_0x417ea4(0xd9),[_0x346813,'\x22'+_0x5c2148[_0x417ea4(0x100)]('\x20')+'\x22']))}:{'type':_0x417ea4(0xcc),'content':_0x43ba4d(_0x24add6,_0x417ea4(0xe3),_0x43ba4d(_0x24add6,_0x417ea4(0xab),_0x346813))};}}),_0x5ea9ec[_0x1ca526(0xbb)][_0x1ca526(0xf0)](_0x1ca526(0xaa),_0x1ca526(0x108),_0x1ca526(0xde),_0x4bcd09),_0x5ea9ec[_0x1ca526(0xbb)][_0x1ca526(0xf0)](_0x1ca526(0xcc),_0x1ca526(0x108),_0x1ca526(0x112),_0x4bcd09),_0x5ea9ec[_0x1ca526(0xbb)][_0x1ca526(0xf0)](_0x1ca526(0xaa),_0x1ca526(0xa4),_0x1ca526(0xde),_0x8e2305),_0x5ea9ec[_0x1ca526(0xbb)][_0x1ca526(0xf0)](_0x1ca526(0xcc),_0x1ca526(0xa4),_0x1ca526(0x112),_0x8e2305),_0x5ea9ec[_0x1ca526(0xbb)][_0x1ca526(0xf0)](_0x1ca526(0xaa),_0x1ca526(0xa4),_0x1ca526(0x100),_0x5cce43),_0x5ea9ec[_0x1ca526(0xbb)][_0x1ca526(0xf0)](_0x1ca526(0xcc),_0x1ca526(0xa4),_0x1ca526(0x100),_0x5cce43),_0x5ea9ec[_0x1ca526(0xbb)][_0x1ca526(0xf0)](_0x1ca526(0xaa),_0x1ca526(0x108),_0x1ca526(0x100),_0x544862),_0x5ea9ec[_0x1ca526(0xbb)][_0x1ca526(0xf0)](_0x1ca526(0xcc),_0x1ca526(0x108),_0x1ca526(0x100),_0x544862);}[_0xdde77(0xf9)](){const _0x40a148=_0xdde77,_0x5b0d6f=this[_0x40a148(0x121)],_0x3282a8=_0x5b0d6f[_0x40a148(0x9c)][_0x40a148(0xd3)][_0x40a148(0xa1)];return(_0x5bc6ec,_0x58cfe6)=>{const _0x31c915=_0x40a148;_0x5b0d6f[_0x31c915(0x9c)][_0x31c915(0x103)](_0xbf5961=>{const _0x2cb9e4=_0x31c915,{commandName:_0x6891f,commandParams:_0x22fcf3}=_0x58cfe6;let _0x5e70d6=_0x5bc6ec[0x0][_0x2cb9e4(0xc4)][_0x2cb9e4(0xa7)];_0x22fcf3&&_0x22fcf3[0x0]&&!0x1===_0x22fcf3[0x0][_0x2cb9e4(0xa9)]&&(_0x5e70d6=_0x5bc6ec[0x0][_0x2cb9e4(0x10b)][_0x2cb9e4(0xd6)]);const _0x18c00d=_0xbf5961[_0x2cb9e4(0x93)](_0x5e70d6);if(_0x2cb9e4(0xce)==_0x18c00d[_0x2cb9e4(0x101)][_0x2cb9e4(0x9d)])return;const _0x261f68=Array[_0x2cb9e4(0x106)](_0x3282a8[_0x2cb9e4(0x98)]())[_0x2cb9e4(0xea)](_0x29b71a=>_0x3696a3[_0x2cb9e4(0x90)](_0x29b71a));_0xbf5961[_0x2cb9e4(0x120)](_0x18c00d),_0x5b0d6f[_0x2cb9e4(0xd4)][_0x2cb9e4(0xe4)](_0x6891f)[_0x2cb9e4(0x113)](),_0x22fcf3[_0x2cb9e4(0xa5)]({'forceDefaultExecution':!0x0}),_0x5b0d6f[_0x2cb9e4(0x99)](_0x6891f,..._0x22fcf3);const _0x23b5d0=_0x261f68[_0x2cb9e4(0x88)](_0x4f7d43=>_0x2cb9e4(0xce)!=_0x4f7d43[_0x2cb9e4(0x101)][_0x2cb9e4(0x9d)]);_0x23b5d0[_0x2cb9e4(0xb1)]>0x0&&_0xbf5961[_0x2cb9e4(0x120)](_0x23b5d0);for(const _0x33844b of _0x261f68)_0x33844b[_0x2cb9e4(0xff)]();});};}[_0xdde77(0xf7)](_0xa036d){const _0x5ce998=_0xdde77,_0x4a719b=this[_0x5ce998(0x121)][_0x5ce998(0x114)][_0x5ce998(0xe4)](_0x5ce998(0x11a));let _0x3ee0b0=Number[_0x5ce998(0xf8)],_0x5d0dc2=Number[_0x5ce998(0xad)],_0x144a5e=Number[_0x5ce998(0xf8)],_0x3e7113=Number[_0x5ce998(0xad)];for(const _0x3b844f of _0xa036d){if(_0x5ce998(0xce)==_0x3b844f[_0x5ce998(0x101)][_0x5ce998(0x9d)])continue;const {row:_0x56402e,column:_0x4401e3}=_0x4a719b[_0x5ce998(0x86)](_0x3b844f),_0x282517=_0x3b844f[_0x5ce998(0xb0)](_0x5ce998(0xbd))?_0x3b844f[_0x5ce998(0x8d)](_0x5ce998(0xbd))-0x1:0x0,_0x50b955=_0x3b844f[_0x5ce998(0xb0)](_0x5ce998(0xe0))?_0x3b844f[_0x5ce998(0x8d)](_0x5ce998(0xe0))-0x1:0x0;_0x3ee0b0=_0x56402e<_0x3ee0b0?_0x56402e:_0x3ee0b0,_0x5d0dc2=_0x56402e+_0x282517>_0x5d0dc2?_0x56402e+_0x282517:_0x5d0dc2,_0x144a5e=_0x4401e3<_0x144a5e?_0x4401e3:_0x144a5e,_0x3e7113=_0x4401e3+_0x50b955>_0x3e7113?_0x4401e3+_0x50b955:_0x3e7113;}return{'minRow':_0x3ee0b0,'maxRow':_0x5d0dc2,'minColumn':_0x144a5e,'maxColumn':_0x3e7113};}[_0xdde77(0x111)](){const _0x2ced8f=_0xdde77,_0xe7943=this[_0x2ced8f(0x121)],_0x5be46b=_0xe7943[_0x2ced8f(0x114)][_0x2ced8f(0xe4)](_0x2ced8f(0x9b)),_0x3dc855=_0xe7943[_0x2ced8f(0x114)][_0x2ced8f(0xe4)](_0x2ced8f(0x11a));_0xe7943[_0x2ced8f(0x9c)][_0x2ced8f(0xd3)]['on'](_0x2ced8f(0xac),()=>{const _0x1e8e80=_0x2ced8f,_0x2ba672=Array[_0x1e8e80(0x106)](_0xe7943[_0x1e8e80(0x9c)][_0x1e8e80(0xd3)][_0x1e8e80(0xdb)][_0x1e8e80(0x96)]());for(const {name:_0x1add92,data:_0xa78a5}of _0x2ba672){const {group:_0x31c125,id:_0x21509c,subType:_0x137bc4}=_0x5be46b[_0x1e8e80(0xdd)](_0x1add92);if(_0x1e8e80(0x102)!=_0x31c125)continue;if(null!=_0xa78a5[_0x1e8e80(0xec)])continue;const _0x53e3ee=_0x5be46b[_0x1e8e80(0xe2)](_0x21509c);this[_0x1e8e80(0xe7)][_0x1e8e80(0xe1)](_0x137bc4)&&this[_0x1e8e80(0xee)][_0x1e8e80(0x9e)](_0x53e3ee);}},{'priority':_0x2ced8f(0x94)});const _0x21afa4=(_0x147b04,_0x53dbee)=>{const _0x22eb58=_0x2ced8f;let _0x32762f=!0x1;const _0x124f90=_0x53dbee[_0x22eb58(0xf3)](_0x147b04),_0x2c68d7=_0x147b04[_0x22eb58(0x8e)](_0x22eb58(0x104)),_0x58472e=_0x3dc855[_0x22eb58(0x86)](_0x147b04);for(const _0x3140ae of this[_0x22eb58(0xee)]){const _0x410cfe=_0x3140ae[_0x22eb58(0x118)],_0x380908=_0x410cfe[_0x22eb58(0xda)](_0x22eb58(0x84)),_0x4dbbfb=_0x410cfe[_0x22eb58(0xd1)](_0x380908?0xa:0x5),_0x49a195=_0x4dbbfb[_0x22eb58(0x80)](),_0x2deae4=_0x49a195[_0x22eb58(0xd1)](0x0,0x3)+_0x22eb58(0x81),_0xe327fe=_0x22eb58(0x109)+_0x4dbbfb,_0x59ffb6=_0x22eb58(0xfd)+_0x4dbbfb;if(!_0x3140ae[_0x22eb58(0x7b)])continue;if(_0x2c68d7!=_0x3140ae[_0x22eb58(0x10e)]()[_0x22eb58(0x10b)][_0x22eb58(0x8e)](_0x22eb58(0x104)))continue;if(_0x3140ae[_0x22eb58(0x85)](_0x124f90))continue;const _0x2772cb=_0x147b04[_0x22eb58(0xb0)](_0x2deae4)?_0x147b04[_0x22eb58(0x8d)](_0x2deae4)-0x1:0x0,_0x2aa770=this[_0x22eb58(0xd7)](_0x3140ae),_0x23eff2=_0x2aa770[_0xe327fe],_0x5cdcaf=_0x2aa770[_0x59ffb6];_0x23eff2<=_0x58472e[_0x49a195]&&_0x58472e[_0x49a195]+_0x2772cb<=_0x5cdcaf&&(_0x3140ae[_0x22eb58(0xa3)](_0x124f90),_0x32762f=!0x0);}return _0x32762f;};_0xe7943[_0x2ced8f(0x9c)][_0x2ced8f(0xd3)][_0x2ced8f(0x9a)](_0x527cd1=>{const _0x2d8aab=_0x2ced8f;let _0x2b769c=!0x1;for(const _0x1cccdf of _0xe7943[_0x2d8aab(0x9c)][_0x2d8aab(0xd3)][_0x2d8aab(0xdb)][_0x2d8aab(0x107)]())if(_0x2d8aab(0xfc)==_0x1cccdf[_0x2d8aab(0xc1)]){if(_0x2d8aab(0x108)==_0x1cccdf[_0x2d8aab(0xfe)]){for(const _0x3b37d0 of _0x1cccdf[_0x2d8aab(0xe8)][_0x2d8aab(0xd6)][_0x2d8aab(0xa8)]())_0x2b769c=_0x2b769c||_0x21afa4(_0x3b37d0,_0x527cd1);}else _0x2d8aab(0xbe)==_0x1cccdf[_0x2d8aab(0xfe)]&&(_0x2b769c=_0x2b769c||_0x21afa4(_0x1cccdf[_0x2d8aab(0xe8)][_0x2d8aab(0xd6)],_0x527cd1));}return _0x2b769c;});}[_0xdde77(0xd7)](_0x138adb){const _0x151faf=_0xdde77;return this[_0x151faf(0xf7)](_0x138adb[_0x151faf(0x98)]()[_0x151faf(0xea)](_0x3d86ed=>_0x3d86ed[_0x151faf(0x10b)][_0x151faf(0xd6)]));}}function Ne(_0x594f2a){const _0x6e5fd8=_0xdde77;return Array[_0x6e5fd8(0x106)](new Set(_0x594f2a)[_0x6e5fd8(0xc3)]());}