@ckeditor/ckeditor5-track-changes 42.0.0-alpha.5 → 42.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5eab0c=_0x2ae4;function _0x2ae4(_0x1e0baf,_0x5ce3d1){const _0x11a9b8=_0x11a9();return _0x2ae4=function(_0x2ae43a,_0x4d9ba1){_0x2ae43a=_0x2ae43a-0x1da;let _0x1f6fb4=_0x11a9b8[_0x2ae43a];return _0x1f6fb4;},_0x2ae4(_0x1e0baf,_0x5ce3d1);}(function(_0x141bec,_0x22234a){const _0x8dc2ed=_0x2ae4,_0x597a18=_0x141bec();while(!![]){try{const _0x467b56=parseInt(_0x8dc2ed(0x1e8))/0x1+-parseInt(_0x8dc2ed(0x228))/0x2+parseInt(_0x8dc2ed(0x1fe))/0x3+parseInt(_0x8dc2ed(0x213))/0x4*(parseInt(_0x8dc2ed(0x230))/0x5)+-parseInt(_0x8dc2ed(0x1fa))/0x6*(-parseInt(_0x8dc2ed(0x1e1))/0x7)+parseInt(_0x8dc2ed(0x1f4))/0x8+parseInt(_0x8dc2ed(0x1dd))/0x9*(-parseInt(_0x8dc2ed(0x1da))/0xa);if(_0x467b56===_0x22234a)break;else _0x597a18['push'](_0x597a18['shift']());}catch(_0x383b87){_0x597a18['push'](_0x597a18['shift']());}}}(_0x11a9,0x5b4d1));import{Plugin as _0x10947}from'ckeditor5/src/core.js';function _0x11a9(){const _0x1f991f=['selection','getAncestors','filter','1552496NUOoaJ','push','markBlockFormat','setSelection','trackChanges','descriptionFactory','36kYDoMI','_areSelectedCellsMergable','requires','markMultiRangeBlockFormat','1861503QVdHjB','has','return','direction','deletion','editor','_tablePostFixingSubtypes','isInContent','*Split\x20cell:*\x20horizontally','element','get','registerCustomCallback','change','TableEditing','length','subType','root','cell','refresh','fromRange','value','589188CRMWEb','enableCommand','highest','mergeTableCellLeft','find','table','mergeTableCellDown','createRangeOn','*Merge\x20cells*','model','getSuggestions','mergeTableCells','format','commands','rootName','insertion','mergeTableCellRight','from','map','horizontally','findAncestor','209096krpaWx','afterInit','createTableWalker','mergeTableCellUp','_areMergableCells','low','author','detach','20ZXtUzK','accept','TrackChangesEditing','tableCell','getCellLocation','getSelectionAffectedTableCells','containsRange','plugins','set:isEnabled','_suggestionFactory','$graveyard','*Split\x20cell:*\x20vertically','execute','80lRYjlb','_isForcedDefaultExecutionBlock','stop','1803843lLPahQ','type','splitTableCellVertically','isEnabled','708267OwTLZY','registerDescriptionCallback','_acceptFormatSuggestionCallbackFactory','size','add','commandName','document','71096zXvVfu','splitTableCellHorizontally','forceDefaultExecution','getRanges','formatBlock','locale','formatInline','getFirstPosition','TableUtils'];_0x11a9=function(){return _0x1f991f;};return _0x11a9();}import _0x12728c from'./table.js';import{LiveRange as _0xc11c77}from'ckeditor5/src/engine.js';import{getTranslation as _0x2d830a}from'../utils/common-translations.js';export default class St extends _0x10947{static get[_0x5eab0c(0x1fc)](){return[_0x12728c];}[_0x5eab0c(0x229)](){const _0x27ad17=_0x5eab0c,_0x4a5129=this[_0x27ad17(0x203)],_0x54a7cd=_0x4a5129[_0x27ad17(0x21c)][_0x27ad17(0x1e7)][_0x27ad17(0x1f1)],_0x453b39=_0x4a5129[_0x27ad17(0x1ed)];if(!_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x1ff)](_0x27ad17(0x20b)))return;const _0x563eee=_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x208)](_0x27ad17(0x232)),_0x47cf75=_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x208)](_0x27ad17(0x1f0)),_0x82b3ea=_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x208)](_0x12728c);_0x82b3ea[_0x27ad17(0x204)][_0x27ad17(0x1f5)](_0x27ad17(0x21e)),_0x563eee[_0x27ad17(0x214)](_0x27ad17(0x21e),()=>{const _0x1b9366=_0x27ad17,_0x3a2178=_0x47cf75[_0x1b9366(0x235)](_0x4a5129[_0x1b9366(0x21c)][_0x1b9366(0x1e7)][_0x1b9366(0x1f1)]);_0x4a5129[_0x1b9366(0x21c)][_0x1b9366(0x20a)](()=>{const _0x54aa82=_0x1b9366;_0x563eee[_0x54aa82(0x1fd)](_0x3a2178,{'commandName':_0x54aa82(0x21e),'commandParams':[]},[],_0x54aa82(0x21e));});}),_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x27ad17(0x21e))['on'](_0x27ad17(0x23c),(_0x25f513,_0x50ddae)=>{const _0x469429=_0x27ad17;_0x4a5129[_0x469429(0x220)][_0x469429(0x208)](_0x469429(0x1f8))[_0x469429(0x212)]&&(_0x50ddae[_0x469429(0x20c)]>0x0&&_0x50ddae[_0x50ddae[_0x469429(0x20c)]-0x1]&&_0x50ddae[_0x50ddae[_0x469429(0x20c)]-0x1][_0x469429(0x1ea)]||_0x563eee[_0x469429(0x1db)]||this[_0x469429(0x1fb)]()||_0x25f513[_0x469429(0x1dc)]());},{'priority':_0x27ad17(0x215)});for(const _0x54bcd2 of[_0x27ad17(0x22b),_0x27ad17(0x223),_0x27ad17(0x219),_0x27ad17(0x216)]){const _0x286af7=_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x54bcd2);_0x563eee[_0x27ad17(0x214)](_0x54bcd2,()=>{const _0x2d2c4f=_0x27ad17,_0x1d3bd0=_0x4a5129[_0x2d2c4f(0x21c)][_0x2d2c4f(0x1e7)][_0x2d2c4f(0x1f1)][_0x2d2c4f(0x1ef)]()[_0x2d2c4f(0x1f2)]()[_0x2d2c4f(0x217)](_0x387a02=>_0x387a02['is'](_0x2d2c4f(0x207),_0x2d2c4f(0x233))),_0x55d6c6=_0x286af7[_0x2d2c4f(0x212)];_0x4a5129[_0x2d2c4f(0x21c)][_0x2d2c4f(0x20a)](()=>{const _0x478aaa=_0x2d2c4f;_0x563eee[_0x478aaa(0x1fd)]([_0x1d3bd0,_0x55d6c6],{'commandName':_0x478aaa(0x21e),'commandParams':[]},[],_0x478aaa(0x21e));});});}for(const _0x38bdc2 of[_0x27ad17(0x1df),_0x27ad17(0x1e9)]){const _0x172f0e=_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x38bdc2);_0x563eee[_0x27ad17(0x214)](_0x38bdc2,()=>{const _0x4e532c=_0x27ad17,_0x524d1e=_0x47cf75[_0x4e532c(0x235)](_0x4a5129[_0x4e532c(0x21c)][_0x4e532c(0x1e7)][_0x4e532c(0x1f1)])[0x0],_0x4852e3=_0x524d1e[_0x4e532c(0x227)](_0x4e532c(0x218)),{column:_0x15f1fd,row:_0x179eab}=_0x47cf75[_0x4e532c(0x234)](_0x524d1e);let _0x429b39=[];if(_0x4e532c(0x226)==_0x172f0e[_0x4e532c(0x201)]){const _0x3f9542=_0x47cf75[_0x4e532c(0x22a)](_0x4852e3,{'startRow':_0x179eab,'endRow':_0x179eab,'includeAllSlots':!0x0});_0x429b39=Array[_0x4e532c(0x224)](_0x3f9542)[_0x4e532c(0x225)](_0x1cfe62=>_0x1cfe62[_0x4e532c(0x20f)]);}else{const _0x181caa=_0x47cf75[_0x4e532c(0x22a)](_0x4852e3,{'column':_0x15f1fd,'includeAllSlots':!0x0});_0x429b39=Array[_0x4e532c(0x224)](_0x181caa)[_0x4e532c(0x225)](_0x38060e=>_0x38060e[_0x4e532c(0x20f)]);}_0x4a5129[_0x4e532c(0x21c)][_0x4e532c(0x20a)](_0x44e3e9=>{const _0x6e97c8=_0x4e532c;_0x563eee[_0x6e97c8(0x1f6)](_0x44e3e9[_0x6e97c8(0x21a)](_0x524d1e),{'commandName':_0x38bdc2,'commandParams':[]},_0x429b39,_0x38bdc2);});});}_0x563eee[_0x27ad17(0x1f9)][_0x27ad17(0x1e2)](_0x28c624=>{const _0x352eef=_0x27ad17;if(_0x352eef(0x1ec)!=_0x28c624[_0x352eef(0x1de)]&&_0x352eef(0x1ee)!=_0x28c624[_0x352eef(0x1de)])return;const {data:_0x395667}=_0x28c624;return _0x395667&&_0x352eef(0x21e)==_0x395667[_0x352eef(0x1e6)]?{'type':_0x352eef(0x21f),'content':_0x2d830a(_0x453b39,_0x352eef(0x21b))}:void 0x0;}),_0x563eee[_0x27ad17(0x1f9)][_0x27ad17(0x1e2)](_0x25d5f4=>{const _0x5e9c14=_0x27ad17;if(_0x5e9c14(0x1ec)!=_0x25d5f4[_0x5e9c14(0x1de)]&&_0x5e9c14(0x1ee)!=_0x25d5f4[_0x5e9c14(0x1de)])return;const {data:_0x20589a}=_0x25d5f4;return _0x20589a?_0x5e9c14(0x1df)==_0x20589a[_0x5e9c14(0x1e6)]?{'type':_0x5e9c14(0x21f),'content':_0x2d830a(_0x453b39,_0x5e9c14(0x23b))}:_0x5e9c14(0x1e9)==_0x20589a[_0x5e9c14(0x1e6)]?{'type':_0x5e9c14(0x21f),'content':_0x2d830a(_0x453b39,_0x5e9c14(0x206))}:void 0x0:void 0x0;});const _0x4ad6aa=_0x82b3ea[_0x27ad17(0x1e3)]();for(const _0x14a7c9 of[_0x27ad17(0x22b),_0x27ad17(0x223),_0x27ad17(0x219),_0x27ad17(0x216)])_0x563eee[_0x27ad17(0x239)][_0x27ad17(0x209)](_0x27ad17(0x1ec),_0x14a7c9,_0x27ad17(0x231),_0x4ad6aa);for(const _0x2c92b8 of[_0x27ad17(0x1df),_0x27ad17(0x1e9)])_0x563eee[_0x27ad17(0x239)][_0x27ad17(0x209)](_0x27ad17(0x1ec),_0x2c92b8,_0x27ad17(0x231),_0x4ad6aa);_0x563eee[_0x27ad17(0x239)][_0x27ad17(0x209)](_0x27ad17(0x1ec),_0x27ad17(0x21e),_0x27ad17(0x231),_0x5cc0ef=>{const _0x43993a=_0x27ad17;_0x4a5129[_0x43993a(0x21c)][_0x43993a(0x20a)](_0x5e036f=>{const _0x32ebcc=_0x43993a,_0x417fd9=Array[_0x32ebcc(0x224)](_0x54a7cd[_0x32ebcc(0x1eb)]())[_0x32ebcc(0x225)](_0x44e319=>_0xc11c77[_0x32ebcc(0x211)](_0x44e319));_0x5e036f[_0x32ebcc(0x1f7)](_0x5cc0ef),_0x4a5129[_0x32ebcc(0x220)][_0x32ebcc(0x208)](_0x32ebcc(0x21e))[_0x32ebcc(0x210)](),_0x4a5129[_0x32ebcc(0x23c)](_0x32ebcc(0x21e),{'forceDefaultExecution':!0x0});const _0x5208de=_0x417fd9[_0x32ebcc(0x1f3)](_0xd8239c=>_0x32ebcc(0x23a)!=_0xd8239c[_0x32ebcc(0x20e)][_0x32ebcc(0x221)]);_0x5208de[_0x32ebcc(0x20c)]>0x0&&_0x5e036f[_0x32ebcc(0x1f7)](_0x5208de);for(const _0x511513 of _0x417fd9)_0x511513[_0x32ebcc(0x22f)]();});});for(const _0x1d3810 of[_0x27ad17(0x22b),_0x27ad17(0x219),_0x27ad17(0x216),_0x27ad17(0x223)]){const _0x242667=_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x1d3810);_0x242667['on'](_0x27ad17(0x238),(_0x5c7c55,_0x1ea96c,_0x52775a)=>{const _0x406de8=_0x27ad17;if(_0x52775a){const _0x178bc2=_0x4a5129[_0x406de8(0x21c)][_0x406de8(0x1e7)][_0x406de8(0x1f1)][_0x406de8(0x1ef)]()[_0x406de8(0x1f2)]()[_0x406de8(0x217)](_0x21e475=>_0x21e475['is'](_0x406de8(0x207),_0x406de8(0x233)));this[_0x406de8(0x22c)](_0x242667[_0x406de8(0x212)],_0x178bc2)||(_0x5c7c55[_0x406de8(0x200)]=!0x1,_0x5c7c55[_0x406de8(0x1dc)]());}},{'priority':_0x27ad17(0x22d)});}}[_0x5eab0c(0x1fb)](){const _0x5b6694=_0x5eab0c,_0x5e6826=this[_0x5b6694(0x203)][_0x5b6694(0x220)][_0x5b6694(0x208)](_0x5b6694(0x21e)),_0x2916ff=this[_0x5b6694(0x203)][_0x5b6694(0x237)][_0x5b6694(0x208)](_0x5b6694(0x1f0));if(!_0x5e6826[_0x5b6694(0x1e0)])return!0x1;const _0x33b917=_0x2916ff[_0x5b6694(0x235)](this[_0x5b6694(0x203)][_0x5b6694(0x21c)][_0x5b6694(0x1e7)][_0x5b6694(0x1f1)]);for(const _0x5f12b1 of _0x33b917)for(const _0x856ed4 of _0x33b917)if(_0x5f12b1!=_0x856ed4&&!this[_0x5b6694(0x22c)](_0x5f12b1,_0x856ed4))return!0x1;return!0x0;}[_0x5eab0c(0x22c)](_0x38af02,_0x40fcc7){const _0x47d694=_0x5eab0c,_0x16e72d=this[_0x47d694(0x203)][_0x47d694(0x237)][_0x47d694(0x208)](_0x47d694(0x232)),_0x283d91=this[_0x47d694(0x203)][_0x47d694(0x21c)][_0x47d694(0x21a)](_0x38af02),_0x37de38=this[_0x47d694(0x203)][_0x47d694(0x21c)][_0x47d694(0x21a)](_0x40fcc7),_0x59ae31=new Set(),_0x168668=new Set();for(const _0x18e32f of _0x16e72d[_0x47d694(0x21d)]())if((_0x47d694(0x222)==_0x18e32f[_0x47d694(0x1de)]||_0x47d694(0x202)==_0x18e32f[_0x47d694(0x1de)]||_0x47d694(0x21e)==_0x18e32f[_0x47d694(0x20d)])&&_0x18e32f[_0x47d694(0x205)]){for(const _0x44febe of _0x18e32f[_0x47d694(0x1eb)]())_0x44febe[_0x47d694(0x236)](_0x283d91,!0x0)&&_0x59ae31[_0x47d694(0x1e5)](_0x18e32f[_0x47d694(0x1de)]+':'+_0x18e32f[_0x47d694(0x22e)]['id']),_0x44febe[_0x47d694(0x236)](_0x37de38,!0x0)&&_0x168668[_0x47d694(0x1e5)](_0x18e32f[_0x47d694(0x1de)]+':'+_0x18e32f[_0x47d694(0x22e)]['id']);}if(_0x59ae31[_0x47d694(0x1e4)]!=_0x168668[_0x47d694(0x1e4)])return!0x1;for(const _0x49b85e of _0x59ae31)if(!_0x168668[_0x47d694(0x1ff)](_0x49b85e))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x47f877=_0x64f4;(function(_0x3295b2,_0x20f389){const _0x2cb387=_0x64f4,_0x4bebb9=_0x3295b2();while(!![]){try{const _0x203b75=-parseInt(_0x2cb387(0xcd))/0x1*(-parseInt(_0x2cb387(0x9b))/0x2)+parseInt(_0x2cb387(0xe8))/0x3*(-parseInt(_0x2cb387(0x90))/0x4)+-parseInt(_0x2cb387(0x8c))/0x5+parseInt(_0x2cb387(0xd5))/0x6*(parseInt(_0x2cb387(0xbf))/0x7)+parseInt(_0x2cb387(0xa6))/0x8*(parseInt(_0x2cb387(0xcb))/0x9)+-parseInt(_0x2cb387(0xa4))/0xa+parseInt(_0x2cb387(0xe9))/0xb*(parseInt(_0x2cb387(0xa8))/0xc);if(_0x203b75===_0x20f389)break;else _0x4bebb9['push'](_0x4bebb9['shift']());}catch(_0x2b9e68){_0x4bebb9['push'](_0x4bebb9['shift']());}}}(_0x3b59,0x3b454));function _0x3b59(){const _0x21c6cf=['descriptionFactory','rootName','getFirstPosition','mergeTableCells','_isForcedDefaultExecutionBlock','locale','20542fPGBBW','length','filter','isInContent','isEnabled','value','containsRange','root','commands','3498650gzkPbZ','low','3870744omuhjf','getSuggestions','996qxVeBt','createRangeOn','plugins','setSelection','size','return','selection','getCellLocation','commandName','map','cell','refresh','fromRange','_acceptFormatSuggestionCallbackFactory','type','*Split\x20cell:*\x20vertically','*Merge\x20cells*','_suggestionFactory','mergeTableCellDown','splitTableCellHorizontally','splitTableCellVertically','editor','from','1491wmFuHF','set:isEnabled','stop','formatInline','accept','registerDescriptionCallback','format','find','trackChanges','has','table','get','9kzcZRX','element','10wpDuoJ','direction','registerCustomCallback','add','TableUtils','model','execute','TrackChangesEditing','552LCOQyP','push','deletion','author','highest','createTableWalker','change','subType','mergeTableCellRight','tableCell','afterInit','$graveyard','insertion','getAncestors','getRanges','requires','forceDefaultExecution','document','_tablePostFixingSubtypes','15519WjLMAi','49577WJmqdg','mergeTableCellUp','getSelectionAffectedTableCells','_areSelectedCellsMergable','markBlockFormat','TableEditing','markMultiRangeBlockFormat','findAncestor','670580tSTCLN','formatBlock','_areMergableCells','enableCommand','196seWXXP','horizontally','mergeTableCellLeft','detach','*Split\x20cell:*\x20horizontally'];_0x3b59=function(){return _0x21c6cf;};return _0x3b59();}function _0x64f4(_0x286c1d,_0x3b6a79){const _0x3b59bc=_0x3b59();return _0x64f4=function(_0x64f475,_0x21a71e){_0x64f475=_0x64f475-0x8b;let _0x16d81d=_0x3b59bc[_0x64f475];return _0x16d81d;},_0x64f4(_0x286c1d,_0x3b6a79);}import{Plugin as _0x1826bf}from'ckeditor5/src/core.js';import _0x42ceb4 from'./table.js';import{LiveRange as _0x2e5840}from'ckeditor5/src/engine.js';import{getTranslation as _0x611ed2}from'../utils/common-translations.js';export default class St extends _0x1826bf{static get[_0x47f877(0xe4)](){return[_0x42ceb4];}[_0x47f877(0xdf)](){const _0x4f3ab8=_0x47f877,_0x5628c5=this[_0x4f3ab8(0xbd)],_0x47928a=_0x5628c5[_0x4f3ab8(0xd2)][_0x4f3ab8(0xe6)][_0x4f3ab8(0xae)],_0x122f3c=_0x5628c5[_0x4f3ab8(0x9a)];if(!_0x5628c5[_0x4f3ab8(0xaa)][_0x4f3ab8(0xc8)](_0x4f3ab8(0xee)))return;const _0x37dea1=_0x5628c5[_0x4f3ab8(0xaa)][_0x4f3ab8(0xca)](_0x4f3ab8(0xd4)),_0x490768=_0x5628c5[_0x4f3ab8(0xaa)][_0x4f3ab8(0xca)](_0x4f3ab8(0xd1)),_0x3f7937=_0x5628c5[_0x4f3ab8(0xaa)][_0x4f3ab8(0xca)](_0x42ceb4);_0x3f7937[_0x4f3ab8(0xe7)][_0x4f3ab8(0xd6)](_0x4f3ab8(0x98)),_0x37dea1[_0x4f3ab8(0x8f)](_0x4f3ab8(0x98),()=>{const _0x1229fb=_0x4f3ab8,_0x49569c=_0x490768[_0x1229fb(0xeb)](_0x5628c5[_0x1229fb(0xd2)][_0x1229fb(0xe6)][_0x1229fb(0xae)]);_0x5628c5[_0x1229fb(0xd2)][_0x1229fb(0xdb)](()=>{const _0x251063=_0x1229fb;_0x37dea1[_0x251063(0xef)](_0x49569c,{'commandName':_0x251063(0x98),'commandParams':[]},[],_0x251063(0x98));});}),_0x5628c5[_0x4f3ab8(0xa3)][_0x4f3ab8(0xca)](_0x4f3ab8(0x98))['on'](_0x4f3ab8(0xd3),(_0x6f821c,_0x5d3179)=>{const _0x563dd0=_0x4f3ab8;_0x5628c5[_0x563dd0(0xa3)][_0x563dd0(0xca)](_0x563dd0(0xc7))[_0x563dd0(0xa0)]&&(_0x5d3179[_0x563dd0(0x9c)]>0x0&&_0x5d3179[_0x5d3179[_0x563dd0(0x9c)]-0x1]&&_0x5d3179[_0x5d3179[_0x563dd0(0x9c)]-0x1][_0x563dd0(0xe5)]||_0x37dea1[_0x563dd0(0x99)]||this[_0x563dd0(0xec)]()||_0x6f821c[_0x563dd0(0xc1)]());},{'priority':_0x4f3ab8(0xd9)});for(const _0x96811c of[_0x4f3ab8(0xea),_0x4f3ab8(0xdd),_0x4f3ab8(0xba),_0x4f3ab8(0x92)]){const _0x254bef=_0x5628c5[_0x4f3ab8(0xa3)][_0x4f3ab8(0xca)](_0x96811c);_0x37dea1[_0x4f3ab8(0x8f)](_0x96811c,()=>{const _0x22a4f1=_0x4f3ab8,_0x475a31=_0x5628c5[_0x22a4f1(0xd2)][_0x22a4f1(0xe6)][_0x22a4f1(0xae)][_0x22a4f1(0x97)]()[_0x22a4f1(0xe2)]()[_0x22a4f1(0xc6)](_0x4a375c=>_0x4a375c['is'](_0x22a4f1(0xcc),_0x22a4f1(0xde))),_0x58fc8a=_0x254bef[_0x22a4f1(0xa0)];_0x5628c5[_0x22a4f1(0xd2)][_0x22a4f1(0xdb)](()=>{const _0x23f659=_0x22a4f1;_0x37dea1[_0x23f659(0xef)]([_0x475a31,_0x58fc8a],{'commandName':_0x23f659(0x98),'commandParams':[]},[],_0x23f659(0x98));});});}for(const _0x109e61 of[_0x4f3ab8(0xbc),_0x4f3ab8(0xbb)]){const _0x4edaa5=_0x5628c5[_0x4f3ab8(0xa3)][_0x4f3ab8(0xca)](_0x109e61);_0x37dea1[_0x4f3ab8(0x8f)](_0x109e61,()=>{const _0x3407c1=_0x4f3ab8,_0xfc21ee=_0x490768[_0x3407c1(0xeb)](_0x5628c5[_0x3407c1(0xd2)][_0x3407c1(0xe6)][_0x3407c1(0xae)])[0x0],_0x415039=_0xfc21ee[_0x3407c1(0x8b)](_0x3407c1(0xc9)),{column:_0x3179f0,row:_0x33d2d2}=_0x490768[_0x3407c1(0xaf)](_0xfc21ee);let _0x5c6e5b=[];if(_0x3407c1(0x91)==_0x4edaa5[_0x3407c1(0xce)]){const _0x33be6e=_0x490768[_0x3407c1(0xda)](_0x415039,{'startRow':_0x33d2d2,'endRow':_0x33d2d2,'includeAllSlots':!0x0});_0x5c6e5b=Array[_0x3407c1(0xbe)](_0x33be6e)[_0x3407c1(0xb1)](_0x20429a=>_0x20429a[_0x3407c1(0xb2)]);}else{const _0x5eddfe=_0x490768[_0x3407c1(0xda)](_0x415039,{'column':_0x3179f0,'includeAllSlots':!0x0});_0x5c6e5b=Array[_0x3407c1(0xbe)](_0x5eddfe)[_0x3407c1(0xb1)](_0x1f4b44=>_0x1f4b44[_0x3407c1(0xb2)]);}_0x5628c5[_0x3407c1(0xd2)][_0x3407c1(0xdb)](_0xde13ce=>{const _0x53fd26=_0x3407c1;_0x37dea1[_0x53fd26(0xed)](_0xde13ce[_0x53fd26(0xa9)](_0xfc21ee),{'commandName':_0x109e61,'commandParams':[]},_0x5c6e5b,_0x109e61);});});}_0x37dea1[_0x4f3ab8(0x95)][_0x4f3ab8(0xc4)](_0x3cc32f=>{const _0x94ebe7=_0x4f3ab8;if(_0x94ebe7(0x8d)!=_0x3cc32f[_0x94ebe7(0xb6)]&&_0x94ebe7(0xc2)!=_0x3cc32f[_0x94ebe7(0xb6)])return;const {data:_0xf8c1af}=_0x3cc32f;return _0xf8c1af&&_0x94ebe7(0x98)==_0xf8c1af[_0x94ebe7(0xb0)]?{'type':_0x94ebe7(0xc5),'content':_0x611ed2(_0x122f3c,_0x94ebe7(0xb8))}:void 0x0;}),_0x37dea1[_0x4f3ab8(0x95)][_0x4f3ab8(0xc4)](_0x4f64a4=>{const _0x53b97d=_0x4f3ab8;if(_0x53b97d(0x8d)!=_0x4f64a4[_0x53b97d(0xb6)]&&_0x53b97d(0xc2)!=_0x4f64a4[_0x53b97d(0xb6)])return;const {data:_0x55770a}=_0x4f64a4;return _0x55770a?_0x53b97d(0xbc)==_0x55770a[_0x53b97d(0xb0)]?{'type':_0x53b97d(0xc5),'content':_0x611ed2(_0x122f3c,_0x53b97d(0xb7))}:_0x53b97d(0xbb)==_0x55770a[_0x53b97d(0xb0)]?{'type':_0x53b97d(0xc5),'content':_0x611ed2(_0x122f3c,_0x53b97d(0x94))}:void 0x0:void 0x0;});const _0x1e3916=_0x3f7937[_0x4f3ab8(0xb5)]();for(const _0x4084a8 of[_0x4f3ab8(0xea),_0x4f3ab8(0xdd),_0x4f3ab8(0xba),_0x4f3ab8(0x92)])_0x37dea1[_0x4f3ab8(0xb9)][_0x4f3ab8(0xcf)](_0x4f3ab8(0x8d),_0x4084a8,_0x4f3ab8(0xc3),_0x1e3916);for(const _0x3e823a of[_0x4f3ab8(0xbc),_0x4f3ab8(0xbb)])_0x37dea1[_0x4f3ab8(0xb9)][_0x4f3ab8(0xcf)](_0x4f3ab8(0x8d),_0x3e823a,_0x4f3ab8(0xc3),_0x1e3916);_0x37dea1[_0x4f3ab8(0xb9)][_0x4f3ab8(0xcf)](_0x4f3ab8(0x8d),_0x4f3ab8(0x98),_0x4f3ab8(0xc3),_0x1c8fe5=>{const _0x221492=_0x4f3ab8;_0x5628c5[_0x221492(0xd2)][_0x221492(0xdb)](_0x49edb0=>{const _0x5a68fe=_0x221492,_0x3be505=Array[_0x5a68fe(0xbe)](_0x47928a[_0x5a68fe(0xe3)]())[_0x5a68fe(0xb1)](_0x4670cd=>_0x2e5840[_0x5a68fe(0xb4)](_0x4670cd));_0x49edb0[_0x5a68fe(0xab)](_0x1c8fe5),_0x5628c5[_0x5a68fe(0xa3)][_0x5a68fe(0xca)](_0x5a68fe(0x98))[_0x5a68fe(0xb3)](),_0x5628c5[_0x5a68fe(0xd3)](_0x5a68fe(0x98),{'forceDefaultExecution':!0x0});const _0x2bafe9=_0x3be505[_0x5a68fe(0x9d)](_0x2f0b08=>_0x5a68fe(0xe0)!=_0x2f0b08[_0x5a68fe(0xa2)][_0x5a68fe(0x96)]);_0x2bafe9[_0x5a68fe(0x9c)]>0x0&&_0x49edb0[_0x5a68fe(0xab)](_0x2bafe9);for(const _0x5b056b of _0x3be505)_0x5b056b[_0x5a68fe(0x93)]();});});for(const _0x20b299 of[_0x4f3ab8(0xea),_0x4f3ab8(0xba),_0x4f3ab8(0x92),_0x4f3ab8(0xdd)]){const _0x1754c5=_0x5628c5[_0x4f3ab8(0xa3)][_0x4f3ab8(0xca)](_0x20b299);_0x1754c5['on'](_0x4f3ab8(0xc0),(_0xe045eb,_0xd98254,_0x26546d)=>{const _0x6cb247=_0x4f3ab8;if(_0x26546d){const _0x5c0f2b=_0x5628c5[_0x6cb247(0xd2)][_0x6cb247(0xe6)][_0x6cb247(0xae)][_0x6cb247(0x97)]()[_0x6cb247(0xe2)]()[_0x6cb247(0xc6)](_0x16298d=>_0x16298d['is'](_0x6cb247(0xcc),_0x6cb247(0xde)));this[_0x6cb247(0x8e)](_0x1754c5[_0x6cb247(0xa0)],_0x5c0f2b)||(_0xe045eb[_0x6cb247(0xad)]=!0x1,_0xe045eb[_0x6cb247(0xc1)]());}},{'priority':_0x4f3ab8(0xa5)});}}[_0x47f877(0xec)](){const _0x262683=_0x47f877,_0x3929fe=this[_0x262683(0xbd)][_0x262683(0xa3)][_0x262683(0xca)](_0x262683(0x98)),_0x534e54=this[_0x262683(0xbd)][_0x262683(0xaa)][_0x262683(0xca)](_0x262683(0xd1));if(!_0x3929fe[_0x262683(0x9f)])return!0x1;const _0x3f38b1=_0x534e54[_0x262683(0xeb)](this[_0x262683(0xbd)][_0x262683(0xd2)][_0x262683(0xe6)][_0x262683(0xae)]);for(const _0x2ce8a4 of _0x3f38b1)for(const _0x44c7bf of _0x3f38b1)if(_0x2ce8a4!=_0x44c7bf&&!this[_0x262683(0x8e)](_0x2ce8a4,_0x44c7bf))return!0x1;return!0x0;}[_0x47f877(0x8e)](_0x4a8d88,_0x52a8c5){const _0x5afaf5=_0x47f877,_0x2bc734=this[_0x5afaf5(0xbd)][_0x5afaf5(0xaa)][_0x5afaf5(0xca)](_0x5afaf5(0xd4)),_0x48196e=this[_0x5afaf5(0xbd)][_0x5afaf5(0xd2)][_0x5afaf5(0xa9)](_0x4a8d88),_0x988163=this[_0x5afaf5(0xbd)][_0x5afaf5(0xd2)][_0x5afaf5(0xa9)](_0x52a8c5),_0x4bc874=new Set(),_0x5bc865=new Set();for(const _0x1444e6 of _0x2bc734[_0x5afaf5(0xa7)]())if((_0x5afaf5(0xe1)==_0x1444e6[_0x5afaf5(0xb6)]||_0x5afaf5(0xd7)==_0x1444e6[_0x5afaf5(0xb6)]||_0x5afaf5(0x98)==_0x1444e6[_0x5afaf5(0xdc)])&&_0x1444e6[_0x5afaf5(0x9e)]){for(const _0x4dd59c of _0x1444e6[_0x5afaf5(0xe3)]())_0x4dd59c[_0x5afaf5(0xa1)](_0x48196e,!0x0)&&_0x4bc874[_0x5afaf5(0xd0)](_0x1444e6[_0x5afaf5(0xb6)]+':'+_0x1444e6[_0x5afaf5(0xd8)]['id']),_0x4dd59c[_0x5afaf5(0xa1)](_0x988163,!0x0)&&_0x5bc865[_0x5afaf5(0xd0)](_0x1444e6[_0x5afaf5(0xb6)]+':'+_0x1444e6[_0x5afaf5(0xd8)]['id']);}if(_0x4bc874[_0x5afaf5(0xac)]!=_0x5bc865[_0x5afaf5(0xac)])return!0x1;for(const _0x2a6b2f of _0x4bc874)if(!_0x5bc865[_0x5afaf5(0xc8)](_0x2a6b2f))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4660e9=_0xcf22;(function(_0x4420f4,_0x2bf95e){const _0x567490=_0xcf22,_0x5edbd7=_0x4420f4();while(!![]){try{const _0x2c78e2=parseInt(_0x567490(0x187))/0x1+-parseInt(_0x567490(0x196))/0x2+-parseInt(_0x567490(0x194))/0x3+parseInt(_0x567490(0x18a))/0x4+parseInt(_0x567490(0x190))/0x5+-parseInt(_0x567490(0x19a))/0x6*(parseInt(_0x567490(0x18c))/0x7)+parseInt(_0x567490(0x18e))/0x8;if(_0x2c78e2===_0x2bf95e)break;else _0x5edbd7['push'](_0x5edbd7['shift']());}catch(_0x4adc9e){_0x5edbd7['push'](_0x5edbd7['shift']());}}}(_0x4cd3,0xa0398));import{Plugin as _0x2a50b5}from'ckeditor5/src/core.js';import{getTranslation as _0x1c1250}from'../utils/common-translations.js';function _0xcf22(_0x4e7022,_0x3c5447){const _0x4cd32b=_0x4cd3();return _0xcf22=function(_0xcf2297,_0x39b18f){_0xcf2297=_0xcf2297-0x187;let _0x51b4de=_0x4cd32b[_0xcf2297];return _0x51b4de;},_0xcf22(_0x4e7022,_0x3c5447);}function _0x4cd3(){const _0x1a59be=['descriptionFactory','insertTableOfContents','registerElementLabel','1878rBkKTN','editor','1068824nbAGCc','ELEMENT_TABLE_OF_CONTENTS','plugins','1366740mTkmBp','locale','14147dtCDWZ','afterInit','8045872hRkMOX','tableOfContents','3803105gTSkYt','get','TrackChangesEditing','commands','3772743wSpzgA','enableCommand','1260860DcHLQL'];_0x4cd3=function(){return _0x1a59be;};return _0x4cd3();}export default class _t extends _0x2a50b5{[_0x4660e9(0x18d)](){const _0x581a86=_0x4660e9,_0xf77e6e=this[_0x581a86(0x19b)];if(!_0xf77e6e[_0x581a86(0x193)][_0x581a86(0x191)](_0x581a86(0x198)))return;_0xf77e6e[_0x581a86(0x189)][_0x581a86(0x191)](_0x581a86(0x192))[_0x581a86(0x195)](_0x581a86(0x198));const _0x14d434=_0xf77e6e[_0x581a86(0x189)][_0x581a86(0x191)](_0x581a86(0x192)),_0x5034e1=_0xf77e6e[_0x581a86(0x18b)];_0x14d434[_0x581a86(0x197)][_0x581a86(0x199)](_0x581a86(0x18f),_0x42d381=>_0x1c1250(_0x5034e1,_0x581a86(0x188),_0x42d381));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5bc1(_0x28da7a,_0xd1b5b1){const _0x40c4bc=_0x40c4();return _0x5bc1=function(_0x5bc1b2,_0x126019){_0x5bc1b2=_0x5bc1b2-0x12b;let _0x33d959=_0x40c4bc[_0x5bc1b2];return _0x33d959;},_0x5bc1(_0x28da7a,_0xd1b5b1);}const _0x5aeb62=_0x5bc1;function _0x40c4(){const _0x239cd1=['tableWidth','tableCellHorizontalAlignment','get','commandParams','formatBlock','134846fMdfKy','TrackChangesEditing','_handlePropertyChange','getContainedElement','tableCellWidth','1lYqbmq','7cKTbDp','tableBackgroundColor','TableUtils','_suggestionFactory','subType','setAttribute','tableCellBorderStyle','TableCellPropertiesEditing','TablePropertiesEditing','*Format:*\x20change\x20table\x20properties','getSelectionAffectedTableCells','batch','has','handleDiscardAction','plugins','join','tableProperties','descriptionFactory','*Format:*\x20change\x20table\x20cell\x20properties','selection','table','markBlockFormat','getAttribute','registerCustomCallback','removeAttribute','handleSuggestionDescription','tableCellBorderColor','tableCellVerticalAlignment','tableAlignment','tableBorderColor','start','format','nodeAfter','discard','editor','11485AFJlQr','document','pluginName','getSuggestions','tableCellBackgroundColor','TrackChangesTableProperties','4665730MvcWkr','171363QZgvGz','432104JUUJcK','tableCellBorderWidth','locale','tableHeight','tableCellHeight','getSuggestionCallback','221148sEeBzY','change','data','tableCellProperties','enqueueChange','_getSuggestion','tableCellPadding','enableCommand','tableBorderWidth','afterInit','414gxZbqq','registerDescriptionCallback','tableBorderStyle','accept','getFirstPosition','findAncestor','model','668565IgITrK'];_0x40c4=function(){return _0x239cd1;};return _0x40c4();}(function(_0x51e3f0,_0x465740){const _0x1cadf1=_0x5bc1,_0x8bff19=_0x51e3f0();while(!![]){try{const _0x84861e=-parseInt(_0x1cadf1(0x147))/0x1*(parseInt(_0x1cadf1(0x142))/0x2)+-parseInt(_0x1cadf1(0x172))/0x3+parseInt(_0x1cadf1(0x12b))/0x4+parseInt(_0x1cadf1(0x16b))/0x5*(-parseInt(_0x1cadf1(0x135))/0x6)+-parseInt(_0x1cadf1(0x148))/0x7*(parseInt(_0x1cadf1(0x173))/0x8)+-parseInt(_0x1cadf1(0x13c))/0x9+parseInt(_0x1cadf1(0x171))/0xa;if(_0x84861e===_0x465740)break;else _0x8bff19['push'](_0x8bff19['shift']());}catch(_0x1b10ec){_0x8bff19['push'](_0x8bff19['shift']());}}}(_0x40c4,0x1afbd));import{Plugin as _0x4b5fd3}from'ckeditor5/src/core.js';import{getTranslation as _0x3dd58d}from'../utils/common-translations.js';export default class $t extends _0x4b5fd3{constructor(_0x1878c2){const _0xc826e7=_0x5bc1;super(_0x1878c2),this[_0xc826e7(0x158)]=[_0xc826e7(0x165),_0xc826e7(0x137),_0xc826e7(0x133),_0xc826e7(0x164),_0xc826e7(0x13d),_0xc826e7(0x176),_0xc826e7(0x149)],this[_0xc826e7(0x12e)]=[_0xc826e7(0x162),_0xc826e7(0x14e),_0xc826e7(0x174),_0xc826e7(0x131),_0xc826e7(0x146),_0xc826e7(0x177),_0xc826e7(0x16f),_0xc826e7(0x13e),_0xc826e7(0x163)];}static get[_0x5aeb62(0x16d)](){const _0x12640c=_0x5aeb62;return _0x12640c(0x170);}[_0x5aeb62(0x134)](){const _0x1936e3=_0x5aeb62,_0x26040a=this[_0x1936e3(0x16a)][_0x1936e3(0x156)][_0x1936e3(0x13f)](_0x1936e3(0x143));if(this[_0x1936e3(0x16a)][_0x1936e3(0x156)][_0x1936e3(0x154)](_0x1936e3(0x150))){for(const _0x301b99 of this[_0x1936e3(0x158)])_0x26040a[_0x1936e3(0x132)](_0x301b99,(_0x16c849,_0x24dca8)=>{const _0x285669=_0x1936e3,_0xd5e060=this[_0x285669(0x16a)][_0x285669(0x13b)][_0x285669(0x16c)][_0x285669(0x15b)][_0x285669(0x139)]()[_0x285669(0x13a)](_0x285669(0x15c));this[_0x285669(0x144)](_0x301b99,[_0xd5e060],this[_0x285669(0x158)],_0x285669(0x158),_0x16c849,_0x24dca8);});_0x26040a[_0x1936e3(0x14b)][_0x1936e3(0x15f)](_0x1936e3(0x141),_0x1936e3(0x158),_0x1936e3(0x138),_0x26040a[_0x1936e3(0x14b)][_0x1936e3(0x178)](_0x1936e3(0x141),null,_0x1936e3(0x169))),_0x26040a[_0x1936e3(0x14b)][_0x1936e3(0x15f)](_0x1936e3(0x141),_0x1936e3(0x158),_0x1936e3(0x169),(_0x1bdd61,_0x5c743d)=>this[_0x1936e3(0x155)](this[_0x1936e3(0x158)],_0x1bdd61,_0x5c743d)),_0x26040a[_0x1936e3(0x14b)][_0x1936e3(0x15f)](_0x1936e3(0x141),_0x1936e3(0x158),_0x1936e3(0x157),()=>!0x1);}if(this[_0x1936e3(0x16a)][_0x1936e3(0x156)][_0x1936e3(0x154)](_0x1936e3(0x14f))){for(const _0x1244fa of this[_0x1936e3(0x12e)])_0x26040a[_0x1936e3(0x132)](_0x1244fa,(_0x35866d,_0x1f1c01)=>{const _0x5d7245=_0x1936e3,_0x15081a=this[_0x5d7245(0x16a)][_0x5d7245(0x156)][_0x5d7245(0x13f)](_0x5d7245(0x14a))[_0x5d7245(0x152)](this[_0x5d7245(0x16a)][_0x5d7245(0x13b)][_0x5d7245(0x16c)][_0x5d7245(0x15b)]);this[_0x5d7245(0x144)](_0x1244fa,_0x15081a,this[_0x5d7245(0x12e)],_0x5d7245(0x12e),_0x35866d,_0x1f1c01);});_0x26040a[_0x1936e3(0x14b)][_0x1936e3(0x15f)](_0x1936e3(0x141),_0x1936e3(0x12e),_0x1936e3(0x138),_0x26040a[_0x1936e3(0x14b)][_0x1936e3(0x178)](_0x1936e3(0x141),null,_0x1936e3(0x169))),_0x26040a[_0x1936e3(0x14b)][_0x1936e3(0x15f)](_0x1936e3(0x141),_0x1936e3(0x12e),_0x1936e3(0x169),(_0x1032c3,_0x4afd78)=>this[_0x1936e3(0x155)](this[_0x1936e3(0x12e)],_0x1032c3,_0x4afd78)),_0x26040a[_0x1936e3(0x14b)][_0x1936e3(0x15f)](_0x1936e3(0x141),_0x1936e3(0x12e),_0x1936e3(0x157),()=>!0x1);}_0x26040a[_0x1936e3(0x159)][_0x1936e3(0x136)](_0x4ec17d=>this[_0x1936e3(0x161)](_0x4ec17d));}[_0x5aeb62(0x144)](_0x164488,_0x8b2ea,_0x429c68,_0x3fb27c,_0x3c7361,_0x518f6c){const _0xb403a0=_0x5aeb62,_0x595a05=this[_0xb403a0(0x16a)][_0xb403a0(0x156)][_0xb403a0(0x13f)](_0xb403a0(0x143));this[_0xb403a0(0x16a)][_0xb403a0(0x13b)][_0xb403a0(0x12f)](_0x518f6c[_0xb403a0(0x153)],()=>{const _0x1c87c6=_0xb403a0;for(const _0x2cc049 of _0x8b2ea){if(this[_0x1c87c6(0x130)](_0x2cc049,_0x3fb27c))_0x3c7361(_0x518f6c);else{const _0x533a07={};for(const _0x62e305 of _0x429c68){const _0x5493b4=_0x2cc049[_0x1c87c6(0x15e)](_0x62e305);void 0x0!==_0x5493b4&&(_0x533a07[_0x62e305]=_0x5493b4);}_0x3c7361(_0x518f6c),_0x595a05[_0x1c87c6(0x15d)](_0x2cc049,{'commandParams':[_0x533a07]},[],_0x3fb27c);}}});}[_0x5aeb62(0x155)](_0xf61b7,_0x57f297,_0x3db81b){const _0x3319f3=_0x5aeb62,_0x4ee777=_0x57f297[0x0][_0x3319f3(0x166)][_0x3319f3(0x168)],_0x3dcffe=_0x3db81b[_0x3319f3(0x140)][0x0];this[_0x3319f3(0x16a)][_0x3319f3(0x13b)][_0x3319f3(0x12c)](_0x519fe7=>{const _0x2875f4=_0x3319f3;for(const _0x146846 of _0xf61b7)void 0x0!==_0x3dcffe[_0x146846]?_0x519fe7[_0x2875f4(0x14d)](_0x146846,_0x3dcffe[_0x146846],_0x4ee777):_0x519fe7[_0x2875f4(0x160)](_0x146846,_0x4ee777);});}[_0x5aeb62(0x161)](_0x4309eb){const _0x2b8187=_0x5aeb62;if(_0x4309eb[_0x2b8187(0x12d)])switch(_0x4309eb[_0x2b8187(0x14c)]){case _0x2b8187(0x158):return{'type':_0x2b8187(0x167),'content':_0x3dd58d(this[_0x2b8187(0x16a)][_0x2b8187(0x175)],_0x2b8187(0x151))};case _0x2b8187(0x12e):return{'type':_0x2b8187(0x167),'content':_0x3dd58d(this[_0x2b8187(0x16a)][_0x2b8187(0x175)],_0x2b8187(0x15a))};}}[_0x5aeb62(0x130)](_0x26474f,_0x1d2456){const _0x5d2aa5=_0x5aeb62,_0x1198cb=this[_0x5d2aa5(0x16a)][_0x5d2aa5(0x156)][_0x5d2aa5(0x13f)](_0x5d2aa5(0x143));for(const _0x463025 of _0x1198cb[_0x5d2aa5(0x16e)]({'skipNotAttached':!0x0})){const _0x223061=_0x463025[_0x5d2aa5(0x145)]();if(_0x463025[_0x5d2aa5(0x14c)]===_0x1d2456&&_0x223061===_0x26474f)return _0x463025;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x533d05=_0x4d9d;function _0x4d9d(_0x1aa9a0,_0x3d514e){const _0x3776de=_0x3776();return _0x4d9d=function(_0x4d9df5,_0x1b1cd4){_0x4d9df5=_0x4d9df5-0x152;let _0x36bde9=_0x3776de[_0x4d9df5];return _0x36bde9;},_0x4d9d(_0x1aa9a0,_0x3d514e);}(function(_0x4274ec,_0x387bd3){const _0x3fce6a=_0x4d9d,_0x455d6d=_0x4274ec();while(!![]){try{const _0x4a6f2e=parseInt(_0x3fce6a(0x157))/0x1+-parseInt(_0x3fce6a(0x161))/0x2*(-parseInt(_0x3fce6a(0x153))/0x3)+-parseInt(_0x3fce6a(0x15a))/0x4*(parseInt(_0x3fce6a(0x165))/0x5)+-parseInt(_0x3fce6a(0x152))/0x6+parseInt(_0x3fce6a(0x15f))/0x7*(parseInt(_0x3fce6a(0x158))/0x8)+parseInt(_0x3fce6a(0x162))/0x9*(-parseInt(_0x3fce6a(0x166))/0xa)+-parseInt(_0x3fce6a(0x159))/0xb*(-parseInt(_0x3fce6a(0x155))/0xc);if(_0x4a6f2e===_0x387bd3)break;else _0x455d6d['push'](_0x455d6d['shift']());}catch(_0x54b477){_0x455d6d['push'](_0x455d6d['shift']());}}}(_0x3776,0x97a95));function _0x3776(){const _0x34550d=['20nNIbhb','6170472uzqlkv','12UpMhTe','afterInit','12bJpBCN','Template','1200760ZyBXuF','8QpymSA','342353nXfFTv','8FewSTc','has','get','enableCommand','plugins','6595932Ecznpl','TrackChangesEditing','372756NUGQrG','2688426zMparB','editor','insertTemplate','1681565CugmSu'];_0x3776=function(){return _0x34550d;};return _0x3776();}import{Plugin as _0x289354}from'ckeditor5/src/core.js';export default class Ct extends _0x289354{[_0x533d05(0x154)](){const _0x295154=_0x533d05,_0x482f9c=this[_0x295154(0x163)];_0x482f9c[_0x295154(0x15e)][_0x295154(0x15b)](_0x295154(0x156))&&_0x482f9c[_0x295154(0x15e)][_0x295154(0x15c)](_0x295154(0x160))[_0x295154(0x15d)](_0x295154(0x164));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x11f7(){const _0x17e8d4=['has','end','isTouching','12nuuaJK','updateMarker','ELEMENT_TITLE','from','document','nodeBefore','734104pReStY','7390XtNmKg','2199PclsKC','suggestion','isCollapsed','locale','registerElementLabel','removeMarker','registerPostFixer','370356ICcHkU','schema','getChangedMarkers','72YREzGm','getNearestSelectionRange','title-content','_splitMarkerName','descriptionFactory','element','get','Title','afterInit','start','differ','forward','createRange','3113iIrycE','201408gohjEx','model','editor','402845XYzUci','TrackChangesEditing','plugins','42214mEhBYQ','newRange','2saBUYb','isEqual'];_0x11f7=function(){return _0x17e8d4;};return _0x11f7();}const _0x423189=_0x3850;(function(_0xbad4a8,_0x8f8c2b){const _0x19efe7=_0x3850,_0x229c31=_0xbad4a8();while(!![]){try{const _0x49d237=parseInt(_0x19efe7(0x7d))/0x1*(parseInt(_0x19efe7(0x7f))/0x2)+parseInt(_0x19efe7(0x8c))/0x3*(parseInt(_0x19efe7(0x84))/0x4)+-parseInt(_0x19efe7(0x7a))/0x5+parseInt(_0x19efe7(0x93))/0x6+parseInt(_0x19efe7(0x8a))/0x7+parseInt(_0x19efe7(0xa4))/0x8*(-parseInt(_0x19efe7(0x96))/0x9)+parseInt(_0x19efe7(0x8b))/0xa*(parseInt(_0x19efe7(0xa3))/0xb);if(_0x49d237===_0x8f8c2b)break;else _0x229c31['push'](_0x229c31['shift']());}catch(_0x485100){_0x229c31['push'](_0x229c31['shift']());}}}(_0x11f7,0x21bbb));import{Plugin as _0x271217}from'ckeditor5/src/core.js';function _0x3850(_0x31d9d4,_0x1ef523){const _0x11f7fe=_0x11f7();return _0x3850=function(_0x3850ce,_0x272296){_0x3850ce=_0x3850ce-0x78;let _0x3343a6=_0x11f7fe[_0x3850ce];return _0x3343a6;},_0x3850(_0x31d9d4,_0x1ef523);}import{getTranslation as _0x230c4e}from'../utils/common-translations.js';export default class Dt extends _0x271217{[_0x423189(0x9e)](){const _0x48f40f=_0x423189,_0x3276cf=this[_0x48f40f(0x79)];if(!_0x3276cf[_0x48f40f(0x7c)][_0x48f40f(0x81)](_0x48f40f(0x9d)))return;const _0x34f98b=_0x3276cf[_0x48f40f(0x7c)][_0x48f40f(0x9c)](_0x48f40f(0x7b));_0x34f98b[_0x48f40f(0x9a)][_0x48f40f(0x90)](_0x48f40f(0x98),()=>_0x230c4e(_0x3276cf[_0x48f40f(0x8f)],_0x48f40f(0x86))),_0x3276cf[_0x48f40f(0x78)][_0x48f40f(0x88)][_0x48f40f(0x92)](_0x86f0e3=>{const _0x364908=_0x48f40f;let _0x4f6187=!0x1;const _0x1bf47f=Array[_0x364908(0x87)](_0x3276cf[_0x364908(0x78)][_0x364908(0x88)][_0x364908(0xa0)][_0x364908(0x95)]());for(const {name:_0x3a2521,data:_0x1fbbdb}of _0x1bf47f){const {group:_0x20a048}=_0x34f98b[_0x364908(0x99)](_0x3a2521);if(_0x364908(0x8d)!==_0x20a048||!_0x1fbbdb[_0x364908(0x7e)])continue;const _0x43607c=_0x1fbbdb[_0x364908(0x7e)],_0x45bdf7=_0x43607c[_0x364908(0x82)][_0x364908(0x89)];if(!_0x45bdf7||!_0x45bdf7['is'](_0x364908(0x9b),_0x364908(0x98)))continue;if(!_0x43607c[_0x364908(0x9f)][_0x364908(0x83)](_0x43607c[_0x364908(0x82)]))continue;const _0x82e767=_0x3276cf[_0x364908(0x78)][_0x364908(0x94)][_0x364908(0x97)](_0x43607c[_0x364908(0x82)],_0x364908(0xa1));if(_0x82e767&&_0x82e767[_0x364908(0x8e)]){const _0x4defda=_0x86f0e3[_0x364908(0xa2)](_0x43607c[_0x364908(0x9f)],_0x82e767[_0x364908(0x9f)]);_0x4defda[_0x364908(0x80)](_0x43607c)||(_0x86f0e3[_0x364908(0x85)](_0x3a2521,{'range':_0x4defda}),_0x4f6187=!0x0);}_0x4f6187||(_0x86f0e3[_0x364908(0x91)](_0x3a2521),_0x4f6187=!0x0);}return _0x4f6187;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5ecf52=_0x453b;function _0x453b(_0xbb0763,_0x3e7fbe){const _0x5d6f51=_0x5d6f();return _0x453b=function(_0x453bec,_0x50f48e){_0x453bec=_0x453bec-0xf0;let _0x1904be=_0x5d6f51[_0x453bec];return _0x1904be;},_0x453b(_0xbb0763,_0x3e7fbe);}(function(_0x314abd,_0x573fbb){const _0x28b5d2=_0x453b,_0x4b5627=_0x314abd();while(!![]){try{const _0x1a14c0=parseInt(_0x28b5d2(0xfb))/0x1*(parseInt(_0x28b5d2(0xf0))/0x2)+parseInt(_0x28b5d2(0xf2))/0x3*(parseInt(_0x28b5d2(0xfd))/0x4)+parseInt(_0x28b5d2(0xf1))/0x5+parseInt(_0x28b5d2(0xfc))/0x6+parseInt(_0x28b5d2(0xf9))/0x7+-parseInt(_0x28b5d2(0xfe))/0x8+parseInt(_0x28b5d2(0xf6))/0x9*(-parseInt(_0x28b5d2(0x101))/0xa);if(_0x1a14c0===_0x573fbb)break;else _0x4b5627['push'](_0x4b5627['shift']());}catch(_0x538df9){_0x4b5627['push'](_0x4b5627['shift']());}}}(_0x5d6f,0xdfe3d));import{Plugin as _0x2810df}from'ckeditor5/src/core.js';function _0x5d6f(){const _0x508221=['11375072qgtZAW','UndoEditing','TrackChangesEditing','10wnwHiI','get','undo','18446MWZTPJ','770645tMKvYn','918843rLXAeq','redo','enableCommand','editor','5282613qsiTOR','plugins','has','6801690WPjndh','afterInit','19KAswfW','560718idpYHJ','20RJhuax'];_0x5d6f=function(){return _0x508221;};return _0x5d6f();}export default class Nt extends _0x2810df{[_0x5ecf52(0xfa)](){const _0x5015f8=_0x5ecf52,_0x386450=this[_0x5015f8(0xf5)],_0x43b958=_0x386450[_0x5015f8(0xf7)][_0x5015f8(0x102)](_0x5015f8(0x100));_0x386450[_0x5015f8(0xf7)][_0x5015f8(0xf8)](_0x5015f8(0xff))&&(_0x43b958[_0x5015f8(0xf4)](_0x5015f8(0x103)),_0x43b958[_0x5015f8(0xf4)](_0x5015f8(0xf3)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x577e27,_0x198528){const _0x424e27=_0x407d,_0x841230=_0x577e27();while(!![]){try{const _0x2e7f7c=-parseInt(_0x424e27(0x1a6))/0x1*(-parseInt(_0x424e27(0x19c))/0x2)+-parseInt(_0x424e27(0x197))/0x3+-parseInt(_0x424e27(0x18c))/0x4*(parseInt(_0x424e27(0x187))/0x5)+-parseInt(_0x424e27(0x1a5))/0x6*(-parseInt(_0x424e27(0x19d))/0x7)+-parseInt(_0x424e27(0x17f))/0x8*(parseInt(_0x424e27(0x183))/0x9)+-parseInt(_0x424e27(0x1a1))/0xa*(parseInt(_0x424e27(0x172))/0xb)+parseInt(_0x424e27(0x192))/0xc*(parseInt(_0x424e27(0x179))/0xd);if(_0x2e7f7c===_0x198528)break;else _0x841230['push'](_0x841230['shift']());}catch(_0x4f62ba){_0x841230['push'](_0x841230['shift']());}}}(_0x41e2,0x283f6));function _0x407d(_0x3c1d90,_0x5cd2f4){const _0x41e277=_0x41e2();return _0x407d=function(_0x407d95,_0x92d8b2){_0x407d95=_0x407d95-0x172;let _0x1b1760=_0x41e277[_0x407d95];return _0x1b1760;},_0x407d(_0x3c1d90,_0x5cd2f4);}export function getRangesWithAttribute(_0x2b4149,_0x913334,_0xc3773f){const _0x58dfac=_0x407d,_0x278782=[];for(const _0x55fb93 of _0x913334[_0x58dfac(0x18b)]())_0x55fb93[_0x58dfac(0x18d)](_0x2b4149)&&_0x278782[_0x58dfac(0x18f)](_0xc3773f[_0x58dfac(0x17e)](_0x55fb93));return _0x278782;}function _0x41e2(){const _0x33a052=['type','getWalker','895dDrYDo','isContent','addClass','model','getItems','4624snfUSR','hasAttribute','item','push','includes','isLimit','49848FUWxuu','writer','isBlock','previousPosition','mapper','460548gmrJvH','createUIElement','insert','getCustomProperty','activeMarkers','28AbSpum','91CcZKwo','TrackChangesEditing','nextSibling','toViewPosition','375740UByszn','span','plugins','get','36276JJXzbX','23qcEtNa','name','11ERHslg','elementEnd','toViewElement','addHighlight','isAtEnd','start','bindElementToMarker','1755yUaZQv','test','consumable','ck-suggestion-marker--active','schema','createRangeOn','16BUsfWJ','ck-suggestion-marker-','markerRange','parent','345789JQtzoS','markerName'];_0x41e2=function(){return _0x33a052;};return _0x41e2();}export function downcastSplitMergeMarker(_0x8e3dca,_0x541e75,{showActiveMarker:_0x333fcf=!0x0}={}){const _0x22fbac=_0x407d,_0x489fc5=_0x8e3dca[_0x22fbac(0x1a3)][_0x22fbac(0x1a4)](_0x22fbac(0x19e));return(_0x40a8a4,_0x4bc593,_0x22d884)=>{const _0x58520a=_0x22fbac;if(!_0x22d884[_0x58520a(0x17b)][_0x58520a(0x17a)](_0x4bc593[_0x58520a(0x181)],_0x40a8a4[_0x58520a(0x1a7)]))return;const _0x3dd5d7=_0x4bc593[_0x58520a(0x181)][_0x58520a(0x186)](),_0x37984d=_0x4bc593[_0x58520a(0x181)][_0x58520a(0x177)],_0x1f0150=_0x8e3dca[_0x58520a(0x18a)][_0x58520a(0x17d)];let _0x738b9f=null,_0x1885fb=null,_0x3a65e0=!0x1,_0x404505=!0x1;for(const _0x28bb6d of _0x3dd5d7){const _0x45d8ed=_0x28bb6d[_0x58520a(0x18e)];_0x3a65e0=_0x3a65e0||_0x1f0150[_0x58520a(0x188)](_0x45d8ed);const _0x35e82c=_0x22d884[_0x58520a(0x196)][_0x58520a(0x174)](_0x45d8ed);if(_0x35e82c&&_0x35e82c[_0x58520a(0x19a)](_0x58520a(0x175)))return;_0x58520a(0x173)==_0x28bb6d[_0x58520a(0x185)]&&(_0x1f0150[_0x58520a(0x194)](_0x45d8ed)&&!_0x1f0150[_0x58520a(0x191)](_0x45d8ed)&&(_0x45d8ed[_0x58520a(0x19f)]||_0x37984d[_0x58520a(0x176)]?_0x738b9f&&_0x738b9f[_0x58520a(0x182)]==_0x45d8ed||(_0x738b9f=_0x45d8ed,_0x118df5(_0x28bb6d[_0x58520a(0x195)]),_0x404505=!0x0):_0x1885fb=_0x1885fb||_0x28bb6d[_0x58520a(0x195)]));}function _0x118df5(_0x15b994){const _0x5e9c11=_0x58520a,_0x48e81c=_0x22d884[_0x5e9c11(0x193)][_0x5e9c11(0x198)](_0x5e9c11(0x1a2),{'class':_0x5e9c11(0x180)+_0x541e75}),_0x4ac692=_0x22d884[_0x5e9c11(0x196)][_0x5e9c11(0x1a0)](_0x15b994);_0x333fcf&&_0x489fc5[_0x5e9c11(0x19b)][_0x5e9c11(0x190)](_0x4bc593[_0x5e9c11(0x184)])&&_0x22d884[_0x5e9c11(0x193)][_0x5e9c11(0x189)](_0x5e9c11(0x17c),_0x48e81c),_0x22d884[_0x5e9c11(0x193)][_0x5e9c11(0x199)](_0x4ac692,_0x48e81c),_0x22d884[_0x5e9c11(0x196)][_0x5e9c11(0x178)](_0x48e81c,_0x4bc593[_0x5e9c11(0x184)]);}_0x3a65e0||_0x404505||!_0x1885fb||_0x118df5(_0x1885fb);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x493481=_0x5767;(function(_0x525c88,_0x518404){const _0x3ead41=_0x5767,_0x54966d=_0x525c88();while(!![]){try{const _0x2fa21c=-parseInt(_0x3ead41(0x237))/0x1+parseInt(_0x3ead41(0x218))/0x2*(parseInt(_0x3ead41(0x23a))/0x3)+-parseInt(_0x3ead41(0x200))/0x4+parseInt(_0x3ead41(0x22c))/0x5*(-parseInt(_0x3ead41(0x202))/0x6)+-parseInt(_0x3ead41(0x1ff))/0x7+-parseInt(_0x3ead41(0x20e))/0x8*(parseInt(_0x3ead41(0x233))/0x9)+parseInt(_0x3ead41(0x1f0))/0xa;if(_0x2fa21c===_0x518404)break;else _0x54966d['push'](_0x54966d['shift']());}catch(_0x2e71b0){_0x54966d['push'](_0x54966d['shift']());}}}(_0x1ac2,0xdf19d));import{Element as _0x222fce}from'ckeditor5/src/engine.js';function _0x1ac2(){const _0x187ff8=['data','getMultiRangeId','length','setAttribute','11210402FcdARW','959568uLmzln','addMarker','11934ceVqvc','filter','nodeBefore','accept','get','reduce','removeMarker','map','isInContent','getContainedElement','_onAttributesChange','hasComments','1946104YFUPVL','clear','_onDiscard','split','getFirstRange','toJSON','from','discard','nodeAfter','change','82NIEGqP','getMarkerNames','createdAt','getMarkers','isIntersecting','getRange','getFirstMarker','onAttributesChange','isExternal','authoredAt','next','type','delete','getItems','size','getRanges','_model','markers','removeMarkers','subType','215PnqRUM','decorate','author','set','add','_isDataLoaded','end','9MfYDqy','head','creator','getAllAdjacentSuggestions','902191XnqdWC','addMarkerName','addRange','67110IznueL','start','@external','push','_markerNames','attributes','commentThread','30690100iznMcv','isIntersectingWithRange','_onAccept','substr','isMultiRange','removeAttribute','onAccept','onDiscard','_saved','suggestion:','previous'];_0x1ac2=function(){return _0x187ff8;};return _0x1ac2();}function _0x5767(_0x2ebc75,_0x4b5f99){const _0x1ac216=_0x1ac2();return _0x5767=function(_0x5767dc,_0xcb27c5){_0x5767dc=_0x5767dc-0x1ef;let _0x593a1f=_0x1ac216[_0x5767dc];return _0x593a1f;},_0x5767(_0x2ebc75,_0x4b5f99);}import{ObservableMixin as _0x20681a,uid as _0x6379bf}from'ckeditor5/src/utils.js';import{cloneDeep as _0x581e9d,isEqual as _0x36bc9a,set as _0x5bee99,unset as _0x168f00}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20681a(){constructor(_0x1540d1,_0x4438a1){const _0x4b6e94=_0x5767;super(),this[_0x4b6e94(0x231)]=!0x1,this['id']=_0x4438a1['id'],this[_0x4b6e94(0x223)]=_0x4438a1[_0x4b6e94(0x223)],this[_0x4b6e94(0x22b)]=_0x4438a1[_0x4b6e94(0x22b)]||null,this[_0x4b6e94(0x22e)]=_0x4438a1[_0x4b6e94(0x22e)],this[_0x4b6e94(0x235)]=_0x4438a1[_0x4b6e94(0x235)]||_0x4438a1[_0x4b6e94(0x22e)],this[_0x4b6e94(0x220)]=Boolean(_0x4438a1[_0x4b6e94(0x23f)]&&_0x4438a1[_0x4b6e94(0x23f)][_0x4b6e94(0x23c)]),this[_0x4b6e94(0x1fb)]=null,this[_0x4b6e94(0x228)]=_0x1540d1,this[_0x4b6e94(0x1f2)]=_0x4438a1[_0x4b6e94(0x1f6)],this[_0x4b6e94(0x210)]=_0x4438a1[_0x4b6e94(0x1f7)],this[_0x4b6e94(0x20c)]=_0x4438a1[_0x4b6e94(0x21f)],this[_0x4b6e94(0x23e)]=new Set(),this[_0x4b6e94(0x21a)]=null,this[_0x4b6e94(0x22f)](_0x4b6e94(0x221),null),this[_0x4b6e94(0x22f)](_0x4b6e94(0x23f),_0x4438a1[_0x4b6e94(0x23f)]||{}),this[_0x4b6e94(0x22f)](_0x4b6e94(0x1fa),null),this[_0x4b6e94(0x22f)](_0x4b6e94(0x222),null),this[_0x4b6e94(0x22f)](_0x4b6e94(0x1ef),null),this[_0x4b6e94(0x22f)](_0x4b6e94(0x1f8),!0x1),this[_0x4b6e94(0x22d)](_0x4b6e94(0x205)),this[_0x4b6e94(0x22d)](_0x4b6e94(0x215));}get[_0x493481(0x234)](){const _0x1ca6cd=_0x493481;let _0x2df11d=this;for(;_0x2df11d[_0x1ca6cd(0x1fa)];)_0x2df11d=_0x2df11d[_0x1ca6cd(0x1fa)];return _0x2df11d;}get[_0x493481(0x20d)](){const _0x4388c1=_0x493481;return!!this[_0x4388c1(0x1ef)]&&this[_0x4388c1(0x1ef)][_0x4388c1(0x1fd)]>0x0;}get[_0x493481(0x1f4)](){const _0x32b3cc=_0x493481;if(0x0==this[_0x32b3cc(0x23e)][_0x32b3cc(0x226)])return!0x1;return 0x6==Array[_0x32b3cc(0x214)](this[_0x32b3cc(0x23e)])[0x0][_0x32b3cc(0x211)](':')[_0x32b3cc(0x1fd)];}get[_0x493481(0x20a)](){const _0x2ef645=_0x493481;return null!==this[_0x2ef645(0x21e)]();}[_0x493481(0x238)](_0x5557a3){const _0x3fccd1=_0x493481;this[_0x3fccd1(0x23e)][_0x3fccd1(0x230)](_0x5557a3);}[_0x493481(0x219)](){const _0x4875e9=_0x493481;return Array[_0x4875e9(0x214)](this[_0x4875e9(0x23e)]);}[_0x493481(0x21b)](){const _0x29a3fc=_0x493481;return this[_0x29a3fc(0x219)]()[_0x29a3fc(0x209)](_0x4a821f=>this[_0x29a3fc(0x228)][_0x29a3fc(0x229)][_0x29a3fc(0x206)](_0x4a821f))[_0x29a3fc(0x203)](_0x11acd2=>_0x11acd2);}[_0x493481(0x21e)](){const _0x8cdb79=_0x493481;return this[_0x8cdb79(0x21b)]()[0x0]||null;}[_0x493481(0x22a)](){const _0x4b0d17=_0x493481;this[_0x4b0d17(0x228)][_0x4b0d17(0x217)](_0x1052d9=>{const _0x5e8f85=_0x4b0d17;for(const _0x3ba21f of this[_0x5e8f85(0x21b)]())_0x1052d9[_0x5e8f85(0x208)](_0x3ba21f);}),this[_0x4b0d17(0x23e)][_0x4b0d17(0x20f)]();}[_0x493481(0x208)](_0x179e2b){const _0x2ed6b2=_0x493481;this[_0x2ed6b2(0x228)][_0x2ed6b2(0x217)](_0x318ac6=>{const _0x2e6845=_0x2ed6b2;_0x318ac6[_0x2e6845(0x208)](_0x179e2b);}),this[_0x2ed6b2(0x23e)][_0x2ed6b2(0x224)](_0x179e2b);}[_0x493481(0x239)](_0xb470b3){const _0x4108d2=_0x493481,_0x21d466=_0x4108d2(0x1f9)+this[_0x4108d2(0x223)]+':'+this[_0x4108d2(0x22b)]+':'+this['id']+':'+this[_0x4108d2(0x235)]['id']+':'+u[_0x4108d2(0x1fc)]();this[_0x4108d2(0x238)](_0x21d466),this[_0x4108d2(0x228)][_0x4108d2(0x217)](_0x347138=>{const _0x5d627b=_0x4108d2;_0x347138[_0x5d627b(0x201)](_0x21d466,{'range':_0xb470b3,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x493481(0x1f1)](_0x5a7c77){const _0x280118=_0x493481;for(const _0x507490 of this[_0x280118(0x227)]())if(_0x507490[_0x280118(0x21c)](_0x5a7c77))return!0x0;return!0x1;}[_0x493481(0x227)](){const _0x527747=_0x493481;return this[_0x527747(0x21b)]()[_0x527747(0x209)](_0xe13a54=>_0xe13a54[_0x527747(0x21d)]());}[_0x493481(0x225)](){const _0x214cbb=_0x493481;return this[_0x214cbb(0x227)]()[_0x214cbb(0x207)]((_0x318577,_0xbe9a70)=>[..._0x318577,..._0xbe9a70[_0x214cbb(0x225)]()],[]);}[_0x493481(0x212)](){const _0x45d7bb=_0x493481;var _0x5221c4;return(null===(_0x5221c4=this[_0x45d7bb(0x21e)]())||void 0x0===_0x5221c4?void 0x0:_0x5221c4[_0x45d7bb(0x21d)]())||null;}[_0x493481(0x20b)](){const _0x3b1c81=_0x493481,_0x40b5f7=this[_0x3b1c81(0x227)]();if(0x1!=_0x40b5f7[_0x3b1c81(0x1fd)])return null;const _0x5f5ec8=_0x40b5f7[0x0],_0x211d2c=_0x5f5ec8[_0x3b1c81(0x23b)][_0x3b1c81(0x216)],_0x324f50=_0x5f5ec8[_0x3b1c81(0x232)][_0x3b1c81(0x204)];return _0x211d2c instanceof _0x222fce?_0x211d2c!=_0x324f50?null:_0x211d2c:null;}[_0x493481(0x205)](){const _0x122b15=_0x493481;this[_0x122b15(0x1f2)](this[_0x122b15(0x227)](),this[_0x122b15(0x1fb)],this[_0x122b15(0x23f)]),this[_0x122b15(0x22a)]();}[_0x493481(0x215)](){const _0x16aa58=_0x493481;this[_0x16aa58(0x210)](this[_0x16aa58(0x227)](),this[_0x16aa58(0x1fb)],this[_0x16aa58(0x23f)]),this[_0x16aa58(0x22a)]();}[_0x493481(0x236)](){const _0x26f486=_0x493481,_0x3c2627=[];let _0x12b153=this[_0x26f486(0x234)];for(;_0x12b153;)_0x3c2627[_0x26f486(0x23d)](_0x12b153),_0x12b153=_0x12b153[_0x26f486(0x222)];return _0x3c2627;}[_0x493481(0x1fe)](_0x58c83c,_0x9c7c90){const _0x60c110=_0x493481,_0x215a9c=_0x581e9d(this[_0x60c110(0x23f)]);_0x5bee99(_0x215a9c,_0x58c83c,_0x9c7c90),_0x36bc9a(_0x215a9c,this[_0x60c110(0x23f)])||(this[_0x60c110(0x23f)]=_0x215a9c,this[_0x60c110(0x20c)](_0x215a9c));}[_0x493481(0x1f5)](_0x4ecd0d){const _0x332ed9=_0x493481,_0x989e28=_0x581e9d(this[_0x332ed9(0x23f)]);_0x168f00(_0x989e28,_0x4ecd0d),_0x36bc9a(_0x989e28,this[_0x332ed9(0x23f)])||(this[_0x332ed9(0x23f)]=_0x989e28,this[_0x332ed9(0x20c)](this[_0x332ed9(0x23f)]));}[_0x493481(0x213)](){const _0x3108d4=_0x493481;return{'id':this['id'],'type':this[_0x3108d4(0x22b)]?this[_0x3108d4(0x223)]+':'+this[_0x3108d4(0x22b)]:this[_0x3108d4(0x223)],'authorId':this[_0x3108d4(0x235)]['id'],'createdAt':this[_0x3108d4(0x21a)],'hasComments':this[_0x3108d4(0x20d)],'data':this[_0x3108d4(0x1fb)],'attributes':this[_0x3108d4(0x23f)]};}static[_0x493481(0x1fc)](){const _0x5ca617=_0x493481;return _0x6379bf()[_0x5ca617(0x1f3)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2bd951=_0x9449;function _0xa3cf(){const _0x21e35a=['key','removeEmptyContainer','getWalker','skip','join','_handleCustomCallbackDescription','normal','getFirstRange','set','newValue','*Insert:*\x20%0','_schema','REPLACE_TEXT','previousSibling','nodeAfter','isEmpty','start','addObject','isObject','_itemLabelsCallbacks','match','item','*Split:*\x20%0','subType','27617gITAeg','457628QAGSbk','_locale','26ufelfM','registerDescriptionCallback','3IKxJzV','_handleRenameSuggestionDescription','type','removeFormat','softBreak','remove','get','name','122733czAxBn','function','getItemLabel','registerElementLabel','EmptyContainer','_itemLabels','_handleAttributeSuggestionDescription','has','push','pop','elementEnd','895884DHThYb','insertion','_addDescriptionItems','1442240CHktrS','*Remove\x20format:*\x20%0','deletion','addEmptyContainer','map','element','1002035BNNjZV','$text','format','isInContent','*Merge:*\x20%0','end','_customCallbacks','_handleInsertRemoveSuggestionDescription','nextSibling','_resolveDescriptionItems','text','$1\x20$2','ELEMENT_SPACE','indexOf','removeContainer','Object','isEqual','$textProxy','addFormat','addContainer','replace','removeObject','*Remove:*\x20%0','checkChild','getDescriptions','add','data','elementStart','4655640GaQgAW','matchingCallback','registerAttributeLabel','attribute','*Set\x20format:*\x20%0','*Change\x20to:*\x20%0','length','quantity','label','_attributeLabels','14JMZXax','Container'];_0xa3cf=function(){return _0x21e35a;};return _0xa3cf();}(function(_0x18f926,_0x3337e1){const _0x450d97=_0x9449,_0x361364=_0x18f926();while(!![]){try{const _0x142c59=-parseInt(_0x450d97(0x1bd))/0x1*(-parseInt(_0x450d97(0x1c0))/0x2)+parseInt(_0x450d97(0x1c2))/0x3*(parseInt(_0x450d97(0x1be))/0x4)+-parseInt(_0x450d97(0x1de))/0x5+-parseInt(_0x450d97(0x1d5))/0x6+-parseInt(_0x450d97(0x204))/0x7*(parseInt(_0x450d97(0x1d8))/0x8)+parseInt(_0x450d97(0x1ca))/0x9+parseInt(_0x450d97(0x1fa))/0xa;if(_0x142c59===_0x3337e1)break;else _0x361364['push'](_0x361364['shift']());}catch(_0x43ccb5){_0x361364['push'](_0x361364['shift']());}}}(_0xa3cf,0x3b2ac));import{getTranslation as _0x46b6d5}from'./utils/common-translations.js';import{priorities as _0x4cd32e,insertToPriorityArray as _0x83af05}from'ckeditor5/src/utils.js';function _0x9449(_0x2c289e,_0x593bda){const _0xa3cf70=_0xa3cf();return _0x9449=function(_0x944925,_0x29d702){_0x944925=_0x944925-0x1a8;let _0x4e47d8=_0xa3cf70[_0x944925];return _0x4e47d8;},_0x9449(_0x2c289e,_0x593bda);}import{renameAttributeKey as _0x48146b}from'./trackchangesediting.js';export default class f{constructor(_0x84be33,_0x53cfed){const _0xf0056d=_0x9449;this[_0xf0056d(0x1e4)]=[],this[_0xf0056d(0x1cf)]=new Map(),this[_0xf0056d(0x1b8)]=[],this[_0xf0056d(0x203)]=new Map(),this[_0xf0056d(0x1b0)]=_0x84be33,this[_0xf0056d(0x1bf)]=_0x53cfed;}[_0x2bd951(0x1f6)](_0x291581){const _0x1e47a3=_0x2bd951,_0x16be46=[],_0x25404a=new Set(),_0x9b993c=new Set();for(let _0xed331=0x0;_0xed331<_0x291581[_0x1e47a3(0x200)];_0xed331++){const _0x5087ff=_0x291581[_0xed331];if(!_0x5087ff[_0x1e47a3(0x1e1)])continue;const _0x372b0d=this[_0x1e47a3(0x1aa)](_0x5087ff);if(_0x372b0d){if(null!=_0x5087ff[_0x1e47a3(0x1bc)]){if(_0x25404a[_0x1e47a3(0x1d1)](_0x5087ff[_0x1e47a3(0x1bc)]))continue;_0x25404a[_0x1e47a3(0x1f7)](_0x5087ff[_0x1e47a3(0x1bc)]);}_0x16be46[_0x1e47a3(0x1d2)](_0x372b0d);}else{if(_0x1e47a3(0x1fd)!=_0x5087ff[_0x1e47a3(0x1c4)])_0x1e47a3(0x1d6)!=_0x5087ff[_0x1e47a3(0x1c4)]&&_0x1e47a3(0x1da)!=_0x5087ff[_0x1e47a3(0x1c4)]||this[_0x1e47a3(0x1e5)](_0x16be46,_0x5087ff,_0x291581[_0xed331+0x1]);else{const _0x1c7e10=_0x5087ff[_0x1e47a3(0x1f8)][_0x1e47a3(0x206)];if(_0x9b993c[_0x1e47a3(0x1d1)](_0x1c7e10))continue;_0x9b993c[_0x1e47a3(0x1f7)](_0x5087ff[_0x1e47a3(0x1f8)][_0x1e47a3(0x206)]),_0x1c7e10==_0x48146b?this[_0x1e47a3(0x1c3)](_0x16be46,_0x5087ff):this[_0x1e47a3(0x1d0)](_0x16be46,_0x5087ff);}}}return this[_0x1e47a3(0x1e7)](_0x16be46);}[_0x2bd951(0x1c1)](_0x4153f0){const _0x469d30=_0x2bd951;this[_0x469d30(0x1e4)][_0x469d30(0x1d2)](_0x4153f0);}[_0x2bd951(0x1cd)](_0x41dc07,_0xa906ca,_0x5f47e9=_0x4cd32e[_0x2bd951(0x1ab)]){const _0x2968be=_0x2bd951;_0x2968be(0x1cb)==typeof _0x41dc07?_0x83af05(this[_0x2968be(0x1b8)],{'matchingCallback':_0x41dc07,'label':_0xa906ca,'priority':_0x5f47e9}):this[_0x2968be(0x1cf)][_0x2968be(0x1ad)](_0x41dc07,_0xa906ca);}[_0x2bd951(0x1fc)](_0x99ec18,_0x4de2f6){const _0x5ec9df=_0x2bd951;this[_0x5ec9df(0x203)][_0x5ec9df(0x1ad)](_0x99ec18,_0x4de2f6);}[_0x2bd951(0x1cc)](_0x2ab71d,_0x15fce8=0x1){const _0x353436=_0x2bd951;let _0x4ac7ba;for(const _0x2d3dcc of this[_0x353436(0x1b8)])if(_0x2d3dcc[_0x353436(0x1fb)](_0x2ab71d)){_0x4ac7ba=_0x2d3dcc[_0x353436(0x202)];break;}return _0x4ac7ba||(_0x4ac7ba=this[_0x353436(0x1cf)][_0x353436(0x1c8)](_0x2ab71d[_0x353436(0x1c9)])),_0x4ac7ba?_0x4ac7ba(_0x15fce8):0x1!==_0x15fce8?_0x15fce8+'\x20'+_0x2ab71d[_0x353436(0x1c9)]+'s':''+_0x2ab71d[_0x353436(0x1c9)];}[_0x2bd951(0x1d7)](_0x36a723,_0x2037ad){const _0x3f959f=_0x2bd951,_0x5ad297=_0x2037ad[_0x3f959f(0x1ac)]()[_0x3f959f(0x208)](),_0x404bdc=_0x3f959f(0x1d6)==_0x2037ad[_0x3f959f(0x1c4)]?_0x3f959f(0x1f7):_0x3f959f(0x1c7);for(const _0x4090ea of _0x5ad297){const _0xb8e0ba=_0x4090ea[_0x3f959f(0x1ba)],_0x272448=_0x36a723[_0x36a723[_0x3f959f(0x200)]-0x1];if(_0xb8e0ba['is'](_0x3f959f(0x1ef)))_0x272448&&_0x272448[_0x3f959f(0x1c4)][_0x3f959f(0x1eb)](_0x3f959f(0x205))>-0x1&&_0x36a723[_0x3f959f(0x1d3)](),_0x272448&&_0x3f959f(0x1e8)==_0x272448[_0x3f959f(0x1c4)]?_0x272448[_0x404bdc]+=_0xb8e0ba[_0x3f959f(0x1f8)]:_0x36a723[_0x3f959f(0x1d2)]({'type':_0x3f959f(0x1e8),'add':_0x3f959f(0x1f7)==_0x404bdc?_0xb8e0ba[_0x3f959f(0x1f8)]:'','remove':_0x3f959f(0x1c7)==_0x404bdc?_0xb8e0ba[_0x3f959f(0x1f8)]:''});else{if(this[_0x3f959f(0x1b0)][_0x3f959f(0x1b7)](_0xb8e0ba)){const _0x9e91af=_0xb8e0ba;if(_0x272448&&_0x272448[_0x3f959f(0x1c4)][_0x3f959f(0x1eb)](_0x3f959f(0x205))>-0x1&&_0x36a723[_0x3f959f(0x1d3)](),_0x3f959f(0x1d4)==_0x4090ea[_0x3f959f(0x1c4)])continue;_0x272448&&_0x272448[_0x3f959f(0x1c4)]==_0x404bdc+_0x3f959f(0x1ed)&&_0x272448[_0x3f959f(0x1dd)][_0x3f959f(0x1c9)]==_0x9e91af[_0x3f959f(0x1c9)]?_0x272448[_0x3f959f(0x201)]++:_0x36a723[_0x3f959f(0x1d2)]({'type':_0x404bdc+_0x3f959f(0x1ed),'element':_0x9e91af,'quantity':0x1}),_0x5ad297[_0x3f959f(0x1a8)](_0x4264e5=>!(_0x3f959f(0x1d4)==_0x4264e5[_0x3f959f(0x1c4)]&&_0x4264e5[_0x3f959f(0x1ba)]==_0xb8e0ba));}else{if(this[_0x3f959f(0x1b0)][_0x3f959f(0x1f5)](_0xb8e0ba,_0x3f959f(0x1df))||_0xb8e0ba['is'](_0x3f959f(0x1dd),_0x3f959f(0x1c6))){const _0x21975e=_0xb8e0ba;if(_0x3f959f(0x1f7)==_0x404bdc&&_0x3f959f(0x1f9)==_0x4090ea[_0x3f959f(0x1c4)]||_0x3f959f(0x1c7)==_0x404bdc&&_0x3f959f(0x1d4)==_0x4090ea[_0x3f959f(0x1c4)])continue;if(_0x272448&&-0x1==_0x272448[_0x3f959f(0x1c4)][_0x3f959f(0x1eb)](_0x3f959f(0x205))){_0x3f959f(0x1e8)==_0x272448[_0x3f959f(0x1c4)]&&(_0x272448[_0x404bdc]+='\x0a');continue;}let _0x18a086;if(_0x18a086=_0x3f959f(0x1f7)==_0x404bdc?_0x21975e[_0x3f959f(0x1e6)]&&!this[_0x3f959f(0x1b0)][_0x3f959f(0x1b7)](_0x21975e[_0x3f959f(0x1e6)])?_0x21975e[_0x3f959f(0x1e6)]:null:_0x21975e[_0x3f959f(0x1b2)]&&!this[_0x3f959f(0x1b0)][_0x3f959f(0x1b7)](_0x21975e[_0x3f959f(0x1b2)])?_0x21975e[_0x3f959f(0x1b2)]:null,_0x21975e[_0x3f959f(0x1b4)]||_0x18a086&&_0x18a086[_0x3f959f(0x1b4)]){const _0x20b74a=_0x18a086&&_0x18a086[_0x3f959f(0x1b4)]?_0x18a086:_0x21975e;_0x272448&&_0x272448[_0x3f959f(0x1c4)]==_0x404bdc+_0x3f959f(0x1ce)&&_0x272448[_0x3f959f(0x1dd)][_0x3f959f(0x1c9)]==_0x20b74a[_0x3f959f(0x1c9)]?_0x272448[_0x3f959f(0x201)]++:_0x36a723[_0x3f959f(0x1d2)]({'type':_0x404bdc+_0x3f959f(0x1ce),'element':_0x20b74a,'quantity':0x1});}else _0x36a723[_0x3f959f(0x1d2)]({'type':_0x404bdc+_0x3f959f(0x205),'element':_0x21975e});}}}}}[_0x2bd951(0x1e7)](_0x4a1829){const _0x2b39e7=_0x2bd951,_0xa1566d=this[_0x2b39e7(0x1bf)],_0x5dd42e=[],_0x5a22f9=[],_0xbe7280=[];for(const _0x419d8b of _0x4a1829)switch(_0x419d8b[_0x2b39e7(0x1c4)]){case _0x2b39e7(0x1e8):if(_0x419d8b[_0x2b39e7(0x1f7)]=_0x419d8b[_0x2b39e7(0x1f7)][_0x2b39e7(0x1f2)](/(\S)\u000A+(\S)/g,_0x2b39e7(0x1e9))[_0x2b39e7(0x1f2)](/\u000A/g,''),_0x419d8b[_0x2b39e7(0x1c7)]=_0x419d8b[_0x2b39e7(0x1c7)][_0x2b39e7(0x1f2)](/(\S)\u000A+(\S)/g,_0x2b39e7(0x1e9))[_0x2b39e7(0x1f2)](/\u000A/g,''),''!=_0x419d8b[_0x2b39e7(0x1f7)]&&''!=_0x419d8b[_0x2b39e7(0x1c7)]){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1f2),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1b1),['\x22'+_0x419d8b[_0x2b39e7(0x1c7)]+'\x22','\x22'+_0x419d8b[_0x2b39e7(0x1f7)]+'\x22'])});continue;}if(null!=_0x419d8b[_0x2b39e7(0x1f7)][_0x2b39e7(0x1b9)](/^ +$/)){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1af),_0x46b6d5(_0xa1566d,_0x2b39e7(0x1ea),_0x419d8b[_0x2b39e7(0x1f7)][_0x2b39e7(0x200)]))});continue;}if(null!=_0x419d8b[_0x2b39e7(0x1c7)][_0x2b39e7(0x1b9)](/^ +$/)){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1f4),_0x46b6d5(_0xa1566d,_0x2b39e7(0x1ea),_0x419d8b[_0x2b39e7(0x1c7)][_0x2b39e7(0x200)]))});continue;}if(''!=_0x419d8b[_0x2b39e7(0x1f7)]){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1af),'\x22'+_0x419d8b[_0x2b39e7(0x1f7)]+'\x22')});continue;}_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1f4),'\x22'+_0x419d8b[_0x2b39e7(0x1c7)]+'\x22')});continue;case _0x2b39e7(0x1db):case _0x2b39e7(0x1b6):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1af),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x207):case _0x2b39e7(0x1f3):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1f4),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x1f1):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1bb),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x1ec):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1e2),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x1f0):_0x5a22f9[_0x2b39e7(0x1d2)](_0x419d8b[_0x2b39e7(0x206)]);continue;case _0x2b39e7(0x1c5):_0xbe7280[_0x2b39e7(0x1d2)](_0x419d8b[_0x2b39e7(0x206)]);continue;default:_0x5dd42e[_0x2b39e7(0x1d2)](_0x419d8b);}if(_0x5a22f9[_0x2b39e7(0x200)]){const _0x43d1d1=_0x5a22f9[_0x2b39e7(0x1dc)](_0x3ee312=>this[_0x2b39e7(0x203)][_0x2b39e7(0x1d1)](_0x3ee312)?this[_0x2b39e7(0x203)][_0x2b39e7(0x1c8)](_0x3ee312):_0x3ee312)[_0x2b39e7(0x1a9)](',\x20');_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1e0),'content':_0x46b6d5(this[_0x2b39e7(0x1bf)],_0x2b39e7(0x1fe),_0x43d1d1)});}if(_0xbe7280[_0x2b39e7(0x200)]){const _0x1541c0=_0xbe7280[_0x2b39e7(0x1dc)](_0x363333=>this[_0x2b39e7(0x203)][_0x2b39e7(0x1d1)](_0x363333)?this[_0x2b39e7(0x203)][_0x2b39e7(0x1c8)](_0x363333):_0x363333)[_0x2b39e7(0x1a9)](',\x20');_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1e0),'content':_0x46b6d5(this[_0x2b39e7(0x1bf)],_0x2b39e7(0x1d9),_0x1541c0)});}return _0x5dd42e;}[_0x2bd951(0x1aa)](_0x477754){const _0x415dde=_0x2bd951;for(const _0x2bff5a of this[_0x415dde(0x1e4)]){const _0x2d576a=_0x2bff5a(_0x477754);if(_0x2d576a&&_0x415dde(0x1c4)in _0x2d576a)return _0x2d576a;}}[_0x2bd951(0x1d0)](_0x345f8e,_0x45a7b0){const _0x25eef0=_0x2bd951,_0x5d733e=_0x45a7b0[_0x25eef0(0x1f8)],_0x5a8143=void 0x0===_0x5d733e[_0x25eef0(0x1ae)]?_0x25eef0(0x1c5):_0x25eef0(0x1f0);_0x345f8e[_0x25eef0(0x1d2)]({'type':_0x5a8143,'key':_0x5d733e[_0x25eef0(0x206)]});}[_0x2bd951(0x1c3)](_0xf1b01f,_0x9418e4){const _0x1bc1a1=_0x2bd951;_0xf1b01f[_0x1bc1a1(0x1d2)]({'type':_0x1bc1a1(0x1e0),'content':_0x46b6d5(this[_0x1bc1a1(0x1bf)],_0x1bc1a1(0x1ff),this[_0x1bc1a1(0x1cc)](_0x9418e4[_0x1bc1a1(0x1ac)]()[_0x1bc1a1(0x1b5)][_0x1bc1a1(0x1b3)],0x1))});}[_0x2bd951(0x1e5)](_0x30c7e9,_0x5bb79b,_0x513474){const _0x499a6c=_0x2bd951;if(this[_0x499a6c(0x1d7)](_0x30c7e9,_0x5bb79b),_0x513474&&_0x513474[_0x499a6c(0x1ac)]()&&!_0x5bb79b[_0x499a6c(0x1ac)]()[_0x499a6c(0x1e3)][_0x499a6c(0x1ee)](_0x513474[_0x499a6c(0x1ac)]()[_0x499a6c(0x1b5)])){const _0x448177=_0x30c7e9[_0x30c7e9[_0x499a6c(0x200)]-0x1],_0x4fb45e=_0x499a6c(0x1d6)==_0x5bb79b[_0x499a6c(0x1c4)]?_0x499a6c(0x1f7):_0x499a6c(0x1c7);_0x448177&&_0x499a6c(0x1e8)==_0x448177[_0x499a6c(0x1c4)]&&(_0x448177[_0x4fb45e]+='\x0a');}}}
|
|
23
|
+
const _0x48a46a=_0x8a9e;function _0x8a9e(_0x5dfb31,_0x3fcd85){const _0x43eb88=_0x43eb();return _0x8a9e=function(_0x8a9e3a,_0x316532){_0x8a9e3a=_0x8a9e3a-0x136;let _0x91dceb=_0x43eb88[_0x8a9e3a];return _0x91dceb;},_0x8a9e(_0x5dfb31,_0x3fcd85);}(function(_0x4fa2d3,_0x5f4ddc){const _0x1e8a49=_0x8a9e,_0x21dde4=_0x4fa2d3();while(!![]){try{const _0x1b672a=-parseInt(_0x1e8a49(0x18a))/0x1*(-parseInt(_0x1e8a49(0x17f))/0x2)+parseInt(_0x1e8a49(0x146))/0x3+parseInt(_0x1e8a49(0x13c))/0x4+-parseInt(_0x1e8a49(0x145))/0x5*(parseInt(_0x1e8a49(0x136))/0x6)+parseInt(_0x1e8a49(0x180))/0x7*(parseInt(_0x1e8a49(0x195))/0x8)+parseInt(_0x1e8a49(0x178))/0x9+-parseInt(_0x1e8a49(0x196))/0xa;if(_0x1b672a===_0x5f4ddc)break;else _0x21dde4['push'](_0x21dde4['shift']());}catch(_0x545d0d){_0x21dde4['push'](_0x21dde4['shift']());}}}(_0x43eb,0xaf1f6));import{getTranslation as _0xf87a40}from'./utils/common-translations.js';import{priorities as _0x546086,insertToPriorityArray as _0x24e0ac}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x291d69}from'./trackchangesediting.js';function _0x43eb(){const _0x31e732=['checkChild','_handleCustomCallbackDescription','remove','Container','1206266doofzM','77mtrFRp','addFormat','elementStart','*Remove:*\x20%0','registerElementLabel','map','newValue','item','push','_attributeLabels','1rSOIhe','*Remove\x20format:*\x20%0','getDescriptions','_resolveDescriptionItems','_schema','text','addObject','insertion','match','replace','name','111576gClWfb','6729420RjhdXq','6MvVSSb','removeEmptyContainer','*Split:*\x20%0','_customCallbacks','removeObject','matchingCallback','3416732sAiMEX','*Merge:*\x20%0','$text','has','getWalker','isInContent','getFirstRange','join','$textProxy','2050610GsExVT','558990LUQmUm','get','data','addContainer','isEqual','nextSibling','*Set\x20format:*\x20%0','_locale','isEmpty','*Change\x20to:*\x20%0','subType','registerAttributeLabel','removeFormat','_handleInsertRemoveSuggestionDescription','registerDescriptionCallback','length','add','set','pop','Object','EmptyContainer','type','_handleAttributeSuggestionDescription','isObject','_handleRenameSuggestionDescription','format','getItemLabel','_itemLabels','REPLACE_TEXT','label','end','addEmptyContainer','$1\x20$2','key','normal','attribute','start','nodeAfter','function','elementEnd','previousSibling','element','_itemLabelsCallbacks','ELEMENT_SPACE','softBreak','removeContainer','_addDescriptionItems','quantity','indexOf','*Insert:*\x20%0','29727aYgxSw','deletion','skip'];_0x43eb=function(){return _0x31e732;};return _0x43eb();}export default class f{constructor(_0x31a37d,_0x2a3018){const _0x521aa2=_0x8a9e;this[_0x521aa2(0x139)]=[],this[_0x521aa2(0x161)]=new Map(),this[_0x521aa2(0x170)]=[],this[_0x521aa2(0x189)]=new Map(),this[_0x521aa2(0x18e)]=_0x31a37d,this[_0x521aa2(0x14d)]=_0x2a3018;}[_0x48a46a(0x18c)](_0x3d231b){const _0x2fe8ad=_0x48a46a,_0x468a67=[],_0xafa783=new Set(),_0x2879bc=new Set();for(let _0x5de472=0x0;_0x5de472<_0x3d231b[_0x2fe8ad(0x155)];_0x5de472++){const _0x4bf348=_0x3d231b[_0x5de472];if(!_0x4bf348[_0x2fe8ad(0x141)])continue;const _0x544bcf=this[_0x2fe8ad(0x17c)](_0x4bf348);if(_0x544bcf){if(null!=_0x4bf348[_0x2fe8ad(0x150)]){if(_0xafa783[_0x2fe8ad(0x13f)](_0x4bf348[_0x2fe8ad(0x150)]))continue;_0xafa783[_0x2fe8ad(0x156)](_0x4bf348[_0x2fe8ad(0x150)]);}_0x468a67[_0x2fe8ad(0x188)](_0x544bcf);}else{if(_0x2fe8ad(0x169)!=_0x4bf348[_0x2fe8ad(0x15b)])_0x2fe8ad(0x191)!=_0x4bf348[_0x2fe8ad(0x15b)]&&_0x2fe8ad(0x179)!=_0x4bf348[_0x2fe8ad(0x15b)]||this[_0x2fe8ad(0x153)](_0x468a67,_0x4bf348,_0x3d231b[_0x5de472+0x1]);else{const _0x2f4c1a=_0x4bf348[_0x2fe8ad(0x148)][_0x2fe8ad(0x167)];if(_0x2879bc[_0x2fe8ad(0x13f)](_0x2f4c1a))continue;_0x2879bc[_0x2fe8ad(0x156)](_0x4bf348[_0x2fe8ad(0x148)][_0x2fe8ad(0x167)]),_0x2f4c1a==_0x291d69?this[_0x2fe8ad(0x15e)](_0x468a67,_0x4bf348):this[_0x2fe8ad(0x15c)](_0x468a67,_0x4bf348);}}}return this[_0x2fe8ad(0x18d)](_0x468a67);}[_0x48a46a(0x154)](_0x5522af){const _0x149ce3=_0x48a46a;this[_0x149ce3(0x139)][_0x149ce3(0x188)](_0x5522af);}[_0x48a46a(0x184)](_0x56583f,_0x3df1d2,_0x4b308a=_0x546086[_0x48a46a(0x168)]){const _0x3ff3f2=_0x48a46a;_0x3ff3f2(0x16c)==typeof _0x56583f?_0x24e0ac(this[_0x3ff3f2(0x170)],{'matchingCallback':_0x56583f,'label':_0x3df1d2,'priority':_0x4b308a}):this[_0x3ff3f2(0x161)][_0x3ff3f2(0x157)](_0x56583f,_0x3df1d2);}[_0x48a46a(0x151)](_0x246e9a,_0x5dabd5){const _0x9b5e65=_0x48a46a;this[_0x9b5e65(0x189)][_0x9b5e65(0x157)](_0x246e9a,_0x5dabd5);}[_0x48a46a(0x160)](_0x57a345,_0x386e6d=0x1){const _0x591e3d=_0x48a46a;let _0x2c5f5d;for(const _0x3372a1 of this[_0x591e3d(0x170)])if(_0x3372a1[_0x591e3d(0x13b)](_0x57a345)){_0x2c5f5d=_0x3372a1[_0x591e3d(0x163)];break;}return _0x2c5f5d||(_0x2c5f5d=this[_0x591e3d(0x161)][_0x591e3d(0x147)](_0x57a345[_0x591e3d(0x194)])),_0x2c5f5d?_0x2c5f5d(_0x386e6d):0x1!==_0x386e6d?_0x386e6d+'\x20'+_0x57a345[_0x591e3d(0x194)]+'s':''+_0x57a345[_0x591e3d(0x194)];}[_0x48a46a(0x174)](_0x586f40,_0x2da6e8){const _0x3505b1=_0x48a46a,_0x5ddffa=_0x2da6e8[_0x3505b1(0x142)]()[_0x3505b1(0x140)](),_0x3c8bd1=_0x3505b1(0x191)==_0x2da6e8[_0x3505b1(0x15b)]?_0x3505b1(0x156):_0x3505b1(0x17d);for(const _0x239e36 of _0x5ddffa){const _0x16f300=_0x239e36[_0x3505b1(0x187)],_0x1e2a9a=_0x586f40[_0x586f40[_0x3505b1(0x155)]-0x1];if(_0x16f300['is'](_0x3505b1(0x144)))_0x1e2a9a&&_0x1e2a9a[_0x3505b1(0x15b)][_0x3505b1(0x176)](_0x3505b1(0x17e))>-0x1&&_0x586f40[_0x3505b1(0x158)](),_0x1e2a9a&&_0x3505b1(0x18f)==_0x1e2a9a[_0x3505b1(0x15b)]?_0x1e2a9a[_0x3c8bd1]+=_0x16f300[_0x3505b1(0x148)]:_0x586f40[_0x3505b1(0x188)]({'type':_0x3505b1(0x18f),'add':_0x3505b1(0x156)==_0x3c8bd1?_0x16f300[_0x3505b1(0x148)]:'','remove':_0x3505b1(0x17d)==_0x3c8bd1?_0x16f300[_0x3505b1(0x148)]:''});else{if(this[_0x3505b1(0x18e)][_0x3505b1(0x15d)](_0x16f300)){const _0x8b7249=_0x16f300;if(_0x1e2a9a&&_0x1e2a9a[_0x3505b1(0x15b)][_0x3505b1(0x176)](_0x3505b1(0x17e))>-0x1&&_0x586f40[_0x3505b1(0x158)](),_0x3505b1(0x16d)==_0x239e36[_0x3505b1(0x15b)])continue;_0x1e2a9a&&_0x1e2a9a[_0x3505b1(0x15b)]==_0x3c8bd1+_0x3505b1(0x159)&&_0x1e2a9a[_0x3505b1(0x16f)][_0x3505b1(0x194)]==_0x8b7249[_0x3505b1(0x194)]?_0x1e2a9a[_0x3505b1(0x175)]++:_0x586f40[_0x3505b1(0x188)]({'type':_0x3c8bd1+_0x3505b1(0x159),'element':_0x8b7249,'quantity':0x1}),_0x5ddffa[_0x3505b1(0x17a)](_0x3edcc6=>!(_0x3505b1(0x16d)==_0x3edcc6[_0x3505b1(0x15b)]&&_0x3edcc6[_0x3505b1(0x187)]==_0x16f300));}else{if(this[_0x3505b1(0x18e)][_0x3505b1(0x17b)](_0x16f300,_0x3505b1(0x13e))||_0x16f300['is'](_0x3505b1(0x16f),_0x3505b1(0x172))){const _0x2a785a=_0x16f300;if(_0x3505b1(0x156)==_0x3c8bd1&&_0x3505b1(0x182)==_0x239e36[_0x3505b1(0x15b)]||_0x3505b1(0x17d)==_0x3c8bd1&&_0x3505b1(0x16d)==_0x239e36[_0x3505b1(0x15b)])continue;if(_0x1e2a9a&&-0x1==_0x1e2a9a[_0x3505b1(0x15b)][_0x3505b1(0x176)](_0x3505b1(0x17e))){_0x3505b1(0x18f)==_0x1e2a9a[_0x3505b1(0x15b)]&&(_0x1e2a9a[_0x3c8bd1]+='\x0a');continue;}let _0x26cd7c;if(_0x26cd7c=_0x3505b1(0x156)==_0x3c8bd1?_0x2a785a[_0x3505b1(0x14b)]&&!this[_0x3505b1(0x18e)][_0x3505b1(0x15d)](_0x2a785a[_0x3505b1(0x14b)])?_0x2a785a[_0x3505b1(0x14b)]:null:_0x2a785a[_0x3505b1(0x16e)]&&!this[_0x3505b1(0x18e)][_0x3505b1(0x15d)](_0x2a785a[_0x3505b1(0x16e)])?_0x2a785a[_0x3505b1(0x16e)]:null,_0x2a785a[_0x3505b1(0x14e)]||_0x26cd7c&&_0x26cd7c[_0x3505b1(0x14e)]){const _0x4dea81=_0x26cd7c&&_0x26cd7c[_0x3505b1(0x14e)]?_0x26cd7c:_0x2a785a;_0x1e2a9a&&_0x1e2a9a[_0x3505b1(0x15b)]==_0x3c8bd1+_0x3505b1(0x15a)&&_0x1e2a9a[_0x3505b1(0x16f)][_0x3505b1(0x194)]==_0x4dea81[_0x3505b1(0x194)]?_0x1e2a9a[_0x3505b1(0x175)]++:_0x586f40[_0x3505b1(0x188)]({'type':_0x3c8bd1+_0x3505b1(0x15a),'element':_0x4dea81,'quantity':0x1});}else _0x586f40[_0x3505b1(0x188)]({'type':_0x3c8bd1+_0x3505b1(0x17e),'element':_0x2a785a});}}}}}[_0x48a46a(0x18d)](_0x1c17ce){const _0x3fc25d=_0x48a46a,_0x2242b5=this[_0x3fc25d(0x14d)],_0x2b500e=[],_0x484dd7=[],_0x2ceacb=[];for(const _0x560b2d of _0x1c17ce)switch(_0x560b2d[_0x3fc25d(0x15b)]){case _0x3fc25d(0x18f):if(_0x560b2d[_0x3fc25d(0x156)]=_0x560b2d[_0x3fc25d(0x156)][_0x3fc25d(0x193)](/(\S)\u000A+(\S)/g,_0x3fc25d(0x166))[_0x3fc25d(0x193)](/\u000A/g,''),_0x560b2d[_0x3fc25d(0x17d)]=_0x560b2d[_0x3fc25d(0x17d)][_0x3fc25d(0x193)](/(\S)\u000A+(\S)/g,_0x3fc25d(0x166))[_0x3fc25d(0x193)](/\u000A/g,''),''!=_0x560b2d[_0x3fc25d(0x156)]&&''!=_0x560b2d[_0x3fc25d(0x17d)]){_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x193),'content':_0xf87a40(_0x2242b5,_0x3fc25d(0x162),['\x22'+_0x560b2d[_0x3fc25d(0x17d)]+'\x22','\x22'+_0x560b2d[_0x3fc25d(0x156)]+'\x22'])});continue;}if(null!=_0x560b2d[_0x3fc25d(0x156)][_0x3fc25d(0x192)](/^ +$/)){_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x191),'content':_0xf87a40(_0x2242b5,_0x3fc25d(0x177),_0xf87a40(_0x2242b5,_0x3fc25d(0x171),_0x560b2d[_0x3fc25d(0x156)][_0x3fc25d(0x155)]))});continue;}if(null!=_0x560b2d[_0x3fc25d(0x17d)][_0x3fc25d(0x192)](/^ +$/)){_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x179),'content':_0xf87a40(_0x2242b5,_0x3fc25d(0x183),_0xf87a40(_0x2242b5,_0x3fc25d(0x171),_0x560b2d[_0x3fc25d(0x17d)][_0x3fc25d(0x155)]))});continue;}if(''!=_0x560b2d[_0x3fc25d(0x156)]){_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x191),'content':_0xf87a40(_0x2242b5,_0x3fc25d(0x177),'\x22'+_0x560b2d[_0x3fc25d(0x156)]+'\x22')});continue;}_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x179),'content':_0xf87a40(_0x2242b5,_0x3fc25d(0x183),'\x22'+_0x560b2d[_0x3fc25d(0x17d)]+'\x22')});continue;case _0x3fc25d(0x165):case _0x3fc25d(0x190):_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x191),'content':_0xf87a40(_0x2242b5,_0x3fc25d(0x177),this[_0x3fc25d(0x160)](_0x560b2d[_0x3fc25d(0x16f)],_0x560b2d[_0x3fc25d(0x175)]))});continue;case _0x3fc25d(0x137):case _0x3fc25d(0x13a):_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x179),'content':_0xf87a40(_0x2242b5,_0x3fc25d(0x183),this[_0x3fc25d(0x160)](_0x560b2d[_0x3fc25d(0x16f)],_0x560b2d[_0x3fc25d(0x175)]))});continue;case _0x3fc25d(0x149):_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x191),'content':_0xf87a40(_0x2242b5,_0x3fc25d(0x138),this[_0x3fc25d(0x160)](_0x560b2d[_0x3fc25d(0x16f)],_0x560b2d[_0x3fc25d(0x175)]))});continue;case _0x3fc25d(0x173):_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x179),'content':_0xf87a40(_0x2242b5,_0x3fc25d(0x13d),this[_0x3fc25d(0x160)](_0x560b2d[_0x3fc25d(0x16f)],_0x560b2d[_0x3fc25d(0x175)]))});continue;case _0x3fc25d(0x181):_0x484dd7[_0x3fc25d(0x188)](_0x560b2d[_0x3fc25d(0x167)]);continue;case _0x3fc25d(0x152):_0x2ceacb[_0x3fc25d(0x188)](_0x560b2d[_0x3fc25d(0x167)]);continue;default:_0x2b500e[_0x3fc25d(0x188)](_0x560b2d);}if(_0x484dd7[_0x3fc25d(0x155)]){const _0xd70991=_0x484dd7[_0x3fc25d(0x185)](_0x4f4c51=>this[_0x3fc25d(0x189)][_0x3fc25d(0x13f)](_0x4f4c51)?this[_0x3fc25d(0x189)][_0x3fc25d(0x147)](_0x4f4c51):_0x4f4c51)[_0x3fc25d(0x143)](',\x20');_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x15f),'content':_0xf87a40(this[_0x3fc25d(0x14d)],_0x3fc25d(0x14c),_0xd70991)});}if(_0x2ceacb[_0x3fc25d(0x155)]){const _0x15c4a3=_0x2ceacb[_0x3fc25d(0x185)](_0x1c7bee=>this[_0x3fc25d(0x189)][_0x3fc25d(0x13f)](_0x1c7bee)?this[_0x3fc25d(0x189)][_0x3fc25d(0x147)](_0x1c7bee):_0x1c7bee)[_0x3fc25d(0x143)](',\x20');_0x2b500e[_0x3fc25d(0x188)]({'type':_0x3fc25d(0x15f),'content':_0xf87a40(this[_0x3fc25d(0x14d)],_0x3fc25d(0x18b),_0x15c4a3)});}return _0x2b500e;}[_0x48a46a(0x17c)](_0x47f500){const _0x58b451=_0x48a46a;for(const _0x53e47d of this[_0x58b451(0x139)]){const _0x3431ce=_0x53e47d(_0x47f500);if(_0x3431ce&&_0x58b451(0x15b)in _0x3431ce)return _0x3431ce;}}[_0x48a46a(0x15c)](_0x1de798,_0x550b50){const _0x13ab9b=_0x48a46a,_0x2edf50=_0x550b50[_0x13ab9b(0x148)],_0x202fba=void 0x0===_0x2edf50[_0x13ab9b(0x186)]?_0x13ab9b(0x152):_0x13ab9b(0x181);_0x1de798[_0x13ab9b(0x188)]({'type':_0x202fba,'key':_0x2edf50[_0x13ab9b(0x167)]});}[_0x48a46a(0x15e)](_0x546650,_0x1ad8f5){const _0x4844e3=_0x48a46a;_0x546650[_0x4844e3(0x188)]({'type':_0x4844e3(0x15f),'content':_0xf87a40(this[_0x4844e3(0x14d)],_0x4844e3(0x14f),this[_0x4844e3(0x160)](_0x1ad8f5[_0x4844e3(0x142)]()[_0x4844e3(0x16a)][_0x4844e3(0x16b)],0x1))});}[_0x48a46a(0x153)](_0x15bf27,_0x24e54a,_0x5913b9){const _0x37d91c=_0x48a46a;if(this[_0x37d91c(0x174)](_0x15bf27,_0x24e54a),_0x5913b9&&_0x5913b9[_0x37d91c(0x142)]()&&!_0x24e54a[_0x37d91c(0x142)]()[_0x37d91c(0x164)][_0x37d91c(0x14a)](_0x5913b9[_0x37d91c(0x142)]()[_0x37d91c(0x16a)])){const _0x445492=_0x15bf27[_0x15bf27[_0x37d91c(0x155)]-0x1],_0x3f1d84=_0x37d91c(0x191)==_0x24e54a[_0x37d91c(0x15b)]?_0x37d91c(0x156):_0x37d91c(0x17d);_0x445492&&_0x37d91c(0x18f)==_0x445492[_0x37d91c(0x15b)]&&(_0x445492[_0x3f1d84]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0xc9fea=_0x4641;(function(_0x3036e1,_0x5b8147){var _0x241e2d=_0x4641,_0x213f36=_0x3036e1();while(!![]){try{var _0x196a1d=parseInt(_0x241e2d(0x13c))/0x1*(parseInt(_0x241e2d(0x14c))/0x2)+parseInt(_0x241e2d(0x144))/0x3+-parseInt(_0x241e2d(0x14a))/0x4+-parseInt(_0x241e2d(0x140))/0x5+parseInt(_0x241e2d(0x146))/0x6+parseInt(_0x241e2d(0x14f))/0x7+parseInt(_0x241e2d(0x13e))/0x8*(-parseInt(_0x241e2d(0x143))/0x9);if(_0x196a1d===_0x5b8147)break;else _0x213f36['push'](_0x213f36['shift']());}catch(_0x266d6c){_0x213f36['push'](_0x213f36['shift']());}}}(_0x5ca0,0x25fc5));import{Plugin as _0x350c7d}from'ckeditor5/src/core.js';import _0x25adf0 from'./trackchangesui.js';import _0x5f4134 from'./trackchangesediting.js';function _0x4641(_0x2c2fc3,_0x71df5d){var _0x5ca0f9=_0x5ca0();return _0x4641=function(_0x46415c,_0x472074){_0x46415c=_0x46415c-0x13c;var _0x12c0ca=_0x5ca0f9[_0x46415c];return _0x12c0ca;},_0x4641(_0x2c2fc3,_0x71df5d);}import'ckeditor5-collaboration/src/collaboration-core.js';function _0x5ca0(){var _0x51bb8f=['plugins','923712JYwJeo','get','adapter','addSuggestion','824596fzmBHM','addSuggestionData','18fEXKNU','pluginName','requires','2118095LqzLBT','TrackChanges','32918zaNUro','getSuggestion','8EYtqmL','getSuggestions','1503905DhKElR','Comments','editor','3088269gthJsH','758583xbpzDy'];_0x5ca0=function(){return _0x51bb8f;};return _0x5ca0();}export default class k extends _0x350c7d{static get[_0xc9fea(0x14e)](){var _0x50ee18=_0xc9fea;return[_0x5f4134,_0x25adf0,_0x50ee18(0x141)];}static get[_0xc9fea(0x14d)](){var _0x480fd8=_0xc9fea;return _0x480fd8(0x150);}set[_0xc9fea(0x148)](_0x20aa89){var _0x25a691=_0xc9fea;this[_0x25a691(0x142)][_0x25a691(0x145)][_0x25a691(0x147)](_0x5f4134)[_0x25a691(0x148)]=_0x20aa89;}get[_0xc9fea(0x148)](){var _0x2e1beb=_0xc9fea;return this[_0x2e1beb(0x142)][_0x2e1beb(0x145)][_0x2e1beb(0x147)](_0x5f4134)[_0x2e1beb(0x148)];}[_0xc9fea(0x149)](_0x6aecbf){var _0x137dad=_0xc9fea;return this[_0x137dad(0x142)][_0x137dad(0x145)][_0x137dad(0x147)](_0x5f4134)[_0x137dad(0x14b)](_0x6aecbf);}[_0xc9fea(0x13f)]({skipNotAttached:_0x55af8d=!0x1,toJSON:_0x5e2661=!0x1}={}){var _0x5562ff=_0xc9fea;return this[_0x5562ff(0x142)][_0x5562ff(0x145)][_0x5562ff(0x147)](_0x5f4134)[_0x5562ff(0x13f)]({'skipNotAttached':_0x55af8d,'toJSON':_0x5e2661});}[_0xc9fea(0x13d)](_0xdede2f){var _0x1b8588=_0xc9fea;return this[_0x1b8588(0x142)][_0x1b8588(0x145)][_0x1b8588(0x147)](_0x5f4134)[_0x1b8588(0x13d)](_0xdede2f);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x53e1(){const _0x3c9e4b=['getSuggestions','config','getRootsAttributes','addSuggestionData','getFullData','function','getDataWithDiscardedSuggestions','addCommentThread','reduce','track-changes-data-invalid-editor-creator','trackChangesData.editorCreator','init','3141486rwBIdw','TrackChangesDataGetter','div','308349lfvNbO','editorCreator','document','users','_adapter','push','name','model','3708990tuNIcR','CommentsRepository','createElement','destroy','end','addUser','requires','execute','10hkJxmR','plugins','define','acceptAllSuggestions','Pagination','appendChild','4IHSeRJ','getRootNames','get','trackChangesData','899820skoihd','discardAllSuggestions','createDocumentFragment','getUser','data','useAnonymousUser','8592088jhyfLG','map','pluginName','result','getCommentThreads','6242894ZLNzZe','constructor','977217GqcAwk','editor','getDataWithAcceptedSuggestions','2vhrLUB','set','Users','TrackChangesData','create','TrackChangesEditing','rootsAttributes'];_0x53e1=function(){return _0x3c9e4b;};return _0x53e1();}function _0x163f(_0x161f36,_0x40157a){const _0x53e170=_0x53e1();return _0x163f=function(_0x163f48,_0x1d4320){_0x163f48=_0x163f48-0xaa;let _0x314590=_0x53e170[_0x163f48];return _0x314590;},_0x163f(_0x161f36,_0x40157a);}const _0x54a7ea=_0x163f;(function(_0x59be3d,_0x566f5a){const _0x22f3e0=_0x163f,_0x4a4ec8=_0x59be3d();while(!![]){try{const _0x1999fc=parseInt(_0x22f3e0(0xca))/0x1*(parseInt(_0x22f3e0(0xcd))/0x2)+parseInt(_0x22f3e0(0xbd))/0x3+-parseInt(_0x22f3e0(0xb9))/0x4*(-parseInt(_0x22f3e0(0xab))/0x5)+parseInt(_0x22f3e0(0xe0))/0x6+-parseInt(_0x22f3e0(0xc8))/0x7+-parseInt(_0x22f3e0(0xc3))/0x8+-parseInt(_0x22f3e0(0xe3))/0x9*(parseInt(_0x22f3e0(0xb3))/0xa);if(_0x1999fc===_0x566f5a)break;else _0x4a4ec8['push'](_0x4a4ec8['shift']());}catch(_0x49e90a){_0x4a4ec8['push'](_0x4a4ec8['shift']());}}}(_0x53e1,0x846d6));import{Plugin as _0x22ed2b}from'ckeditor5/src/core.js';import{CKEditorError as _0xc71c86}from'ckeditor5/src/utils.js';import _0x1e77c4 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0xfcea80}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x54a7ea(0xb7)];export default class P extends _0x22ed2b{static get[_0x54a7ea(0xb1)](){return[_0x1e77c4];}static get[_0x54a7ea(0xc5)](){const _0x3c341c=_0x54a7ea;return _0x3c341c(0xd0);}[_0x54a7ea(0xdf)](){const _0x2187aa=_0x54a7ea,_0x23bd10=this[_0x2187aa(0xcb)];if(_0x23bd10[_0x2187aa(0xd5)][_0x2187aa(0xb5)](_0x2187aa(0xde),_0x3a986c=>{const _0x437a27=_0x2187aa,_0x3db989=_0x23bd10[_0x437a27(0xaa)][_0x437a27(0xe5)][_0x437a27(0xba)]()[_0x437a27(0xdc)]((_0x59d9ed,_0x4632b7)=>(_0x59d9ed[_0x4632b7]='',_0x59d9ed),{});return _0x23bd10[_0x437a27(0xc9)][_0x437a27(0xd1)](_0x3db989,_0x3a986c);}),_0x2187aa(0xd9)!=typeof _0x23bd10[_0x2187aa(0xd5)][_0x2187aa(0xbb)](_0x2187aa(0xbc))[_0x2187aa(0xe4)])throw new _0xc71c86(_0x2187aa(0xdd));}[_0x54a7ea(0xcc)](_0x4b24b0){const _0x659fe6=_0x54a7ea;return N(this[_0x659fe6(0xcb)],!0x0,_0x4b24b0);}[_0x54a7ea(0xda)](_0x32a4f8){const _0x55cbb5=_0x54a7ea;return N(this[_0x55cbb5(0xcb)],!0x1,_0x32a4f8);}}class D extends _0x22ed2b{static get[_0x54a7ea(0xc5)](){const _0x2b65f0=_0x54a7ea;return _0x2b65f0(0xe1);}constructor(_0x20e739){const _0x23cc17=_0x54a7ea;super(_0x20e739),this[_0x23cc17(0xc6)]=_0x23cc17(0xaf);}[_0x54a7ea(0xdf)](){const _0x47afa3=_0x54a7ea;this[_0x47afa3(0xcb)][_0x47afa3(0xb4)][_0x47afa3(0xbb)](_0x47afa3(0xac))[_0x47afa3(0xe7)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x47afa3(0xcb)][_0x47afa3(0xb4)][_0x47afa3(0xbb)](_0x47afa3(0xd2))[_0x47afa3(0xe7)]=null;}}function v(_0x4ac8e8){const _0x8948e2=_0x54a7ea;return void 0x0!==_0x4ac8e8[_0x8948e2(0xd6)];}async function N(_0x4e8b74,_0x2c2cc7,_0x3920c5){const _0x402e3e=_0x54a7ea,_0x50f132=_0xfcea80(_0x4e8b74,T);_0x50f132[_0x402e3e(0xb4)][_0x402e3e(0xe8)](_0x1e77c4,D),_0x50f132[_0x402e3e(0xd3)]=v(_0x4e8b74)?_0x4e8b74[_0x402e3e(0xd6)]():void 0x0;const _0x43b2e6=document[_0x402e3e(0xbf)](),_0x57fd6c=_0x4e8b74[_0x402e3e(0xd5)][_0x402e3e(0xbb)](_0x402e3e(0xbc))[_0x402e3e(0xe4)],_0x259e92=await _0x57fd6c(_0x50f132,()=>function(_0x19adbb){const _0x547d73=_0x402e3e,_0x3c10a3=document[_0x547d73(0xad)](_0x547d73(0xe2));return _0x19adbb[_0x547d73(0xb8)](_0x3c10a3),_0x3c10a3;}(_0x43b2e6));!function(_0x2e5bdf,_0x491b00){const _0xf5b7d4=_0x402e3e,_0x49c0bd=_0x2e5bdf[_0xf5b7d4(0xaa)][_0xf5b7d4(0xe5)][_0xf5b7d4(0xba)]()[_0xf5b7d4(0xdc)]((_0x177434,_0x473a35)=>(_0x177434[_0x473a35]=_0x2e5bdf[_0xf5b7d4(0xc1)][_0xf5b7d4(0xbb)]({'rootName':_0x473a35}),_0x177434),{}),_0x4a9c5e=_0x2e5bdf[_0xf5b7d4(0xb4)][_0xf5b7d4(0xbb)](_0xf5b7d4(0xcf))[_0xf5b7d4(0xe6)][_0xf5b7d4(0xc4)](_0xbde2d3=>({'id':_0xbde2d3['id'],'name':_0xbde2d3[_0xf5b7d4(0xe9)]})),_0x4123e7=_0x2e5bdf[_0xf5b7d4(0xb4)][_0xf5b7d4(0xbb)](_0xf5b7d4(0xd2))[_0xf5b7d4(0xd4)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x9198a3=_0x2e5bdf[_0xf5b7d4(0xb4)][_0xf5b7d4(0xbb)](_0xf5b7d4(0xac))[_0xf5b7d4(0xc7)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1eaee7=_0x491b00[_0xf5b7d4(0xb4)][_0xf5b7d4(0xbb)](_0xf5b7d4(0xcf)),_0x1cef49=_0x491b00[_0xf5b7d4(0xb4)][_0xf5b7d4(0xbb)](_0xf5b7d4(0xd2)),_0xf65483=_0x491b00[_0xf5b7d4(0xb4)][_0xf5b7d4(0xbb)](_0xf5b7d4(0xac));for(const _0x22a6d0 of _0x4a9c5e)_0x1eaee7[_0xf5b7d4(0xc0)](_0x22a6d0['id'])||_0x1eaee7[_0xf5b7d4(0xb0)](_0x22a6d0);_0x1eaee7['me']||_0x1eaee7[_0xf5b7d4(0xc2)]();for(const _0x4ccc9b of _0x9198a3)_0xf65483[_0xf5b7d4(0xdb)](_0x4ccc9b);for(const _0x478ad4 of _0x4123e7)_0x1cef49[_0xf5b7d4(0xd7)](_0x478ad4);_0x491b00[_0xf5b7d4(0xc1)][_0xf5b7d4(0xce)](_0x49c0bd);}(_0x4e8b74,_0x259e92),_0x259e92[_0x402e3e(0xb2)](_0x2c2cc7?_0x402e3e(0xb6):_0x402e3e(0xbe));const _0x208f65=v(_0x259e92)?_0x259e92[_0x402e3e(0xd8)](_0x3920c5):_0x259e92[_0x402e3e(0xc1)][_0x402e3e(0xbb)](_0x3920c5);return await _0x259e92[_0x402e3e(0xae)](),_0x208f65;}
|