@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240710.0 → 0.0.0-nightly-20240711.0
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 _0x1ed50c=_0x304c;(function(_0x24cc9b,_0x418fc2){const _0x201e12=_0x304c,_0x2cf2da=_0x24cc9b();while(!![]){try{const _0x615984=-parseInt(_0x201e12(0x163))/0x1+parseInt(_0x201e12(0x188))/0x2+parseInt(_0x201e12(0x16f))/0x3+-parseInt(_0x201e12(0x15e))/0x4+-parseInt(_0x201e12(0x166))/0x5+-parseInt(_0x201e12(0x14e))/0x6+-parseInt(_0x201e12(0x14f))/0x7*(-parseInt(_0x201e12(0x172))/0x8);if(_0x615984===_0x418fc2)break;else _0x2cf2da['push'](_0x2cf2da['shift']());}catch(_0x51d3d3){_0x2cf2da['push'](_0x2cf2da['shift']());}}}(_0x1614,0xdb180));import{Plugin as _0x2f702e}from'ckeditor5/src/core.js';import _0x2573eb from'./table.js';function _0x1614(){const _0xf7d925=['plugins','registerDescriptionCallback','mergeTableCells','setSelection','deletion','value','return','descriptionFactory','3259374QpFgBW','35063eBizDc','getSelectionAffectedTableCells','_areMergableCells','registerCustomCallback','requires','formatInline','getRanges','author','*Merge\x20cells*','cell','type','$graveyard','map','rootName','getAncestors','4600068BRtTrn','afterInit','splitTableCellVertically','get','add','623944BmpAQj','refresh','insertion','578070ZnfIHM','low','set:isEnabled','push','_suggestionFactory','isEnabled','formatBlock','forceDefaultExecution','*Split\x20cell:*\x20vertically','2250423IacpqZ','commands','execute','1616sAbmor','size','horizontally','containsRange','getSuggestions','detach','createTableWalker','TableEditing','document','markBlockFormat','change','_tablePostFixingSubtypes','*Split\x20cell:*\x20horizontally','table','accept','isInContent','root','length','selection','format','tableCell','TableUtils','3136506IOKVPm','has','find','_acceptFormatSuggestionCallbackFactory','mergeTableCellUp','markMultiRangeBlockFormat','_areSelectedCellsMergable','model','commandName','filter','from','getFirstPosition','highest','locale','mergeTableCellLeft','element','mergeTableCellRight','direction','fromRange','editor','trackChanges','subType','findAncestor','mergeTableCellDown','createRangeOn','splitTableCellHorizontally','enableCommand','TrackChangesEditing','stop','_isForcedDefaultExecutionBlock','getCellLocation'];_0x1614=function(){return _0xf7d925;};return _0x1614();}import{LiveRange as _0x791dbd}from'ckeditor5/src/engine.js';function _0x304c(_0x8d28a7,_0x26a3ac){const _0x161488=_0x1614();return _0x304c=function(_0x304c1e,_0x3b4421){_0x304c1e=_0x304c1e-0x134;let _0xe479c9=_0x161488[_0x304c1e];return _0xe479c9;},_0x304c(_0x8d28a7,_0x26a3ac);}import{getTranslation as _0x3cdf43}from'../utils/common-translations.js';export default class St extends _0x2f702e{static get[_0x1ed50c(0x153)](){return[_0x2573eb];}[_0x1ed50c(0x15f)](){const _0x28aa22=_0x1ed50c,_0x260e01=this[_0x28aa22(0x13a)],_0xaf5f59=_0x260e01[_0x28aa22(0x18f)][_0x28aa22(0x17a)][_0x28aa22(0x184)],_0x4319db=_0x260e01[_0x28aa22(0x134)];if(!_0x260e01[_0x28aa22(0x146)][_0x28aa22(0x189)](_0x28aa22(0x179)))return;const _0x524e82=_0x260e01[_0x28aa22(0x146)][_0x28aa22(0x161)](_0x28aa22(0x142)),_0x384710=_0x260e01[_0x28aa22(0x146)][_0x28aa22(0x161)](_0x28aa22(0x187)),_0x55b547=_0x260e01[_0x28aa22(0x146)][_0x28aa22(0x161)](_0x2573eb);_0x55b547[_0x28aa22(0x17d)][_0x28aa22(0x169)](_0x28aa22(0x148)),_0x524e82[_0x28aa22(0x141)](_0x28aa22(0x148),()=>{const _0x575465=_0x28aa22,_0x5c9d56=_0x384710[_0x575465(0x150)](_0x260e01[_0x575465(0x18f)][_0x575465(0x17a)][_0x575465(0x184)]);_0x260e01[_0x575465(0x18f)][_0x575465(0x17c)](()=>{const _0x41c748=_0x575465;_0x524e82[_0x41c748(0x18d)](_0x5c9d56,{'commandName':_0x41c748(0x148),'commandParams':[]},[],_0x41c748(0x148));});}),_0x260e01[_0x28aa22(0x170)][_0x28aa22(0x161)](_0x28aa22(0x148))['on'](_0x28aa22(0x171),(_0x4378b3,_0x2a09f2)=>{const _0x334e4c=_0x28aa22;_0x260e01[_0x334e4c(0x170)][_0x334e4c(0x161)](_0x334e4c(0x13b))[_0x334e4c(0x14b)]&&(_0x2a09f2[_0x334e4c(0x183)]>0x0&&_0x2a09f2[_0x2a09f2[_0x334e4c(0x183)]-0x1]&&_0x2a09f2[_0x2a09f2[_0x334e4c(0x183)]-0x1][_0x334e4c(0x16d)]||_0x524e82[_0x334e4c(0x144)]||this[_0x334e4c(0x18e)]()||_0x4378b3[_0x334e4c(0x143)]());},{'priority':_0x28aa22(0x194)});for(const _0x29c519 of[_0x28aa22(0x18c),_0x28aa22(0x137),_0x28aa22(0x13e),_0x28aa22(0x135)]){const _0x125251=_0x260e01[_0x28aa22(0x170)][_0x28aa22(0x161)](_0x29c519);_0x524e82[_0x28aa22(0x141)](_0x29c519,()=>{const _0x5803fa=_0x28aa22,_0x71cae4=_0x260e01[_0x5803fa(0x18f)][_0x5803fa(0x17a)][_0x5803fa(0x184)][_0x5803fa(0x193)]()[_0x5803fa(0x15d)]()[_0x5803fa(0x18a)](_0x5564d4=>_0x5564d4['is'](_0x5803fa(0x136),_0x5803fa(0x186))),_0x574b4f=_0x125251[_0x5803fa(0x14b)];_0x260e01[_0x5803fa(0x18f)][_0x5803fa(0x17c)](()=>{const _0x27e39c=_0x5803fa;_0x524e82[_0x27e39c(0x18d)]([_0x71cae4,_0x574b4f],{'commandName':_0x27e39c(0x148),'commandParams':[]},[],_0x27e39c(0x148));});});}for(const _0x5af803 of[_0x28aa22(0x160),_0x28aa22(0x140)]){const _0x58eea1=_0x260e01[_0x28aa22(0x170)][_0x28aa22(0x161)](_0x5af803);_0x524e82[_0x28aa22(0x141)](_0x5af803,()=>{const _0x7bb3df=_0x28aa22,_0x21e28e=_0x384710[_0x7bb3df(0x150)](_0x260e01[_0x7bb3df(0x18f)][_0x7bb3df(0x17a)][_0x7bb3df(0x184)])[0x0],_0x4449cb=_0x21e28e[_0x7bb3df(0x13d)](_0x7bb3df(0x17f)),{column:_0xf1c1b5,row:_0x46afe6}=_0x384710[_0x7bb3df(0x145)](_0x21e28e);let _0x110a1d=[];if(_0x7bb3df(0x174)==_0x58eea1[_0x7bb3df(0x138)]){const _0x86dce=_0x384710[_0x7bb3df(0x178)](_0x4449cb,{'startRow':_0x46afe6,'endRow':_0x46afe6,'includeAllSlots':!0x0});_0x110a1d=Array[_0x7bb3df(0x192)](_0x86dce)[_0x7bb3df(0x15b)](_0x35699f=>_0x35699f[_0x7bb3df(0x158)]);}else{const _0x469878=_0x384710[_0x7bb3df(0x178)](_0x4449cb,{'column':_0xf1c1b5,'includeAllSlots':!0x0});_0x110a1d=Array[_0x7bb3df(0x192)](_0x469878)[_0x7bb3df(0x15b)](_0x230b3e=>_0x230b3e[_0x7bb3df(0x158)]);}_0x260e01[_0x7bb3df(0x18f)][_0x7bb3df(0x17c)](_0x19399c=>{const _0x1f7d60=_0x7bb3df;_0x524e82[_0x1f7d60(0x17b)](_0x19399c[_0x1f7d60(0x13f)](_0x21e28e),{'commandName':_0x5af803,'commandParams':[]},_0x110a1d,_0x5af803);});});}_0x524e82[_0x28aa22(0x14d)][_0x28aa22(0x147)](_0xefa1d0=>{const _0x34c6e0=_0x28aa22;if(_0x34c6e0(0x16c)!=_0xefa1d0[_0x34c6e0(0x159)]&&_0x34c6e0(0x154)!=_0xefa1d0[_0x34c6e0(0x159)])return;const {data:_0x360d6b}=_0xefa1d0;return _0x360d6b&&_0x34c6e0(0x148)==_0x360d6b[_0x34c6e0(0x190)]?{'type':_0x34c6e0(0x185),'content':_0x3cdf43(_0x4319db,_0x34c6e0(0x157))}:void 0x0;}),_0x524e82[_0x28aa22(0x14d)][_0x28aa22(0x147)](_0x32761f=>{const _0x2a31a0=_0x28aa22;if(_0x2a31a0(0x16c)!=_0x32761f[_0x2a31a0(0x159)]&&_0x2a31a0(0x154)!=_0x32761f[_0x2a31a0(0x159)])return;const {data:_0x15c891}=_0x32761f;return _0x15c891?_0x2a31a0(0x160)==_0x15c891[_0x2a31a0(0x190)]?{'type':_0x2a31a0(0x185),'content':_0x3cdf43(_0x4319db,_0x2a31a0(0x16e))}:_0x2a31a0(0x140)==_0x15c891[_0x2a31a0(0x190)]?{'type':_0x2a31a0(0x185),'content':_0x3cdf43(_0x4319db,_0x2a31a0(0x17e))}:void 0x0:void 0x0;});const _0xaf2278=_0x55b547[_0x28aa22(0x18b)]();for(const _0x52ff57 of[_0x28aa22(0x18c),_0x28aa22(0x137),_0x28aa22(0x13e),_0x28aa22(0x135)])_0x524e82[_0x28aa22(0x16a)][_0x28aa22(0x152)](_0x28aa22(0x16c),_0x52ff57,_0x28aa22(0x180),_0xaf2278);for(const _0x1acf09 of[_0x28aa22(0x160),_0x28aa22(0x140)])_0x524e82[_0x28aa22(0x16a)][_0x28aa22(0x152)](_0x28aa22(0x16c),_0x1acf09,_0x28aa22(0x180),_0xaf2278);_0x524e82[_0x28aa22(0x16a)][_0x28aa22(0x152)](_0x28aa22(0x16c),_0x28aa22(0x148),_0x28aa22(0x180),_0x5aa73e=>{const _0x249fbf=_0x28aa22;_0x260e01[_0x249fbf(0x18f)][_0x249fbf(0x17c)](_0x3f5cc7=>{const _0x461b1d=_0x249fbf,_0x36e2d0=Array[_0x461b1d(0x192)](_0xaf5f59[_0x461b1d(0x155)]())[_0x461b1d(0x15b)](_0x5d3b4a=>_0x791dbd[_0x461b1d(0x139)](_0x5d3b4a));_0x3f5cc7[_0x461b1d(0x149)](_0x5aa73e),_0x260e01[_0x461b1d(0x170)][_0x461b1d(0x161)](_0x461b1d(0x148))[_0x461b1d(0x164)](),_0x260e01[_0x461b1d(0x171)](_0x461b1d(0x148),{'forceDefaultExecution':!0x0});const _0x56cbd4=_0x36e2d0[_0x461b1d(0x191)](_0x5b63d3=>_0x461b1d(0x15a)!=_0x5b63d3[_0x461b1d(0x182)][_0x461b1d(0x15c)]);_0x56cbd4[_0x461b1d(0x183)]>0x0&&_0x3f5cc7[_0x461b1d(0x149)](_0x56cbd4);for(const _0xdd4eca of _0x36e2d0)_0xdd4eca[_0x461b1d(0x177)]();});});for(const _0x3f12bb of[_0x28aa22(0x18c),_0x28aa22(0x13e),_0x28aa22(0x135),_0x28aa22(0x137)]){const _0x291d75=_0x260e01[_0x28aa22(0x170)][_0x28aa22(0x161)](_0x3f12bb);_0x291d75['on'](_0x28aa22(0x168),(_0x4ba83e,_0x188720,_0x1846db)=>{const _0x447219=_0x28aa22;if(_0x1846db){const _0x102cf9=_0x260e01[_0x447219(0x18f)][_0x447219(0x17a)][_0x447219(0x184)][_0x447219(0x193)]()[_0x447219(0x15d)]()[_0x447219(0x18a)](_0x1394d1=>_0x1394d1['is'](_0x447219(0x136),_0x447219(0x186)));this[_0x447219(0x151)](_0x291d75[_0x447219(0x14b)],_0x102cf9)||(_0x4ba83e[_0x447219(0x14c)]=!0x1,_0x4ba83e[_0x447219(0x143)]());}},{'priority':_0x28aa22(0x167)});}}[_0x1ed50c(0x18e)](){const _0x36ad81=_0x1ed50c,_0x137d1a=this[_0x36ad81(0x13a)][_0x36ad81(0x170)][_0x36ad81(0x161)](_0x36ad81(0x148)),_0x2ce1e2=this[_0x36ad81(0x13a)][_0x36ad81(0x146)][_0x36ad81(0x161)](_0x36ad81(0x187));if(!_0x137d1a[_0x36ad81(0x16b)])return!0x1;const _0x3b8f45=_0x2ce1e2[_0x36ad81(0x150)](this[_0x36ad81(0x13a)][_0x36ad81(0x18f)][_0x36ad81(0x17a)][_0x36ad81(0x184)]);for(const _0x22140f of _0x3b8f45)for(const _0x445d7f of _0x3b8f45)if(_0x22140f!=_0x445d7f&&!this[_0x36ad81(0x151)](_0x22140f,_0x445d7f))return!0x1;return!0x0;}[_0x1ed50c(0x151)](_0x2185b0,_0x9e3c03){const _0x400ff2=_0x1ed50c,_0x2a399c=this[_0x400ff2(0x13a)][_0x400ff2(0x146)][_0x400ff2(0x161)](_0x400ff2(0x142)),_0x506c8a=this[_0x400ff2(0x13a)][_0x400ff2(0x18f)][_0x400ff2(0x13f)](_0x2185b0),_0x4ca849=this[_0x400ff2(0x13a)][_0x400ff2(0x18f)][_0x400ff2(0x13f)](_0x9e3c03),_0x1d277e=new Set(),_0xbb19f3=new Set();for(const _0x3f45be of _0x2a399c[_0x400ff2(0x176)]())if((_0x400ff2(0x165)==_0x3f45be[_0x400ff2(0x159)]||_0x400ff2(0x14a)==_0x3f45be[_0x400ff2(0x159)]||_0x400ff2(0x148)==_0x3f45be[_0x400ff2(0x13c)])&&_0x3f45be[_0x400ff2(0x181)]){for(const _0x29fbad of _0x3f45be[_0x400ff2(0x155)]())_0x29fbad[_0x400ff2(0x175)](_0x506c8a,!0x0)&&_0x1d277e[_0x400ff2(0x162)](_0x3f45be[_0x400ff2(0x159)]+':'+_0x3f45be[_0x400ff2(0x156)]['id']),_0x29fbad[_0x400ff2(0x175)](_0x4ca849,!0x0)&&_0xbb19f3[_0x400ff2(0x162)](_0x3f45be[_0x400ff2(0x159)]+':'+_0x3f45be[_0x400ff2(0x156)]['id']);}if(_0x1d277e[_0x400ff2(0x173)]!=_0xbb19f3[_0x400ff2(0x173)])return!0x1;for(const _0x20a1f3 of _0x1d277e)if(!_0xbb19f3[_0x400ff2(0x189)](_0x20a1f3))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x2075f7=_0x1ea1;(function(_0x5450c0,_0x4a32bc){const _0x2016aa=_0x1ea1,_0x21ad4e=_0x5450c0();while(!![]){try{const _0x5ec086=parseInt(_0x2016aa(0xe1))/0x1*(-parseInt(_0x2016aa(0xf5))/0x2)+-parseInt(_0x2016aa(0xda))/0x3+-parseInt(_0x2016aa(0xe9))/0x4*(-parseInt(_0x2016aa(0xe7))/0x5)+-parseInt(_0x2016aa(0xcd))/0x6+parseInt(_0x2016aa(0xea))/0x7+-parseInt(_0x2016aa(0x11c))/0x8+parseInt(_0x2016aa(0x110))/0x9;if(_0x5ec086===_0x4a32bc)break;else _0x21ad4e['push'](_0x21ad4e['shift']());}catch(_0x352dba){_0x21ad4e['push'](_0x21ad4e['shift']());}}}(_0x31b3,0x26032));import{Plugin as _0x24b551}from'ckeditor5/src/core.js';import _0xc683e from'./table.js';function _0x1ea1(_0xb2f428,_0x2b9eeb){const _0x31b3a7=_0x31b3();return _0x1ea1=function(_0x1ea1e6,_0x1af888){_0x1ea1e6=_0x1ea1e6-0xc2;let _0x520c35=_0x31b3a7[_0x1ea1e6];return _0x520c35;},_0x1ea1(_0xb2f428,_0x2b9eeb);}import{LiveRange as _0x57a3d7}from'ckeditor5/src/engine.js';import{getTranslation as _0x16c16c}from'../utils/common-translations.js';export default class St extends _0x24b551{static get[_0x2075f7(0x122)](){return[_0xc683e];}[_0x2075f7(0xf4)](){const _0x391c81=_0x2075f7,_0x3f381c=this[_0x391c81(0xec)],_0x486114=_0x3f381c[_0x391c81(0x123)][_0x391c81(0x11b)][_0x391c81(0xfa)],_0x492fce=_0x3f381c[_0x391c81(0x113)];if(!_0x3f381c[_0x391c81(0xd1)][_0x391c81(0xfd)](_0x391c81(0xef)))return;const _0x1480f4=_0x3f381c[_0x391c81(0xd1)][_0x391c81(0xff)](_0x391c81(0x120)),_0x9a95e1=_0x3f381c[_0x391c81(0xd1)][_0x391c81(0xff)](_0x391c81(0xe2)),_0x589015=_0x3f381c[_0x391c81(0xd1)][_0x391c81(0xff)](_0xc683e);_0x589015[_0x391c81(0x116)][_0x391c81(0xc5)](_0x391c81(0xeb)),_0x1480f4[_0x391c81(0xe0)](_0x391c81(0xeb),()=>{const _0x3ec9e0=_0x391c81,_0x5dd011=_0x9a95e1[_0x3ec9e0(0xcb)](_0x3f381c[_0x3ec9e0(0x123)][_0x3ec9e0(0x11b)][_0x3ec9e0(0xfa)]);_0x3f381c[_0x3ec9e0(0x123)][_0x3ec9e0(0xfb)](()=>{const _0x58df1f=_0x3ec9e0;_0x1480f4[_0x58df1f(0x100)](_0x5dd011,{'commandName':_0x58df1f(0xeb),'commandParams':[]},[],_0x58df1f(0xeb));});}),_0x3f381c[_0x391c81(0x119)][_0x391c81(0xff)](_0x391c81(0xeb))['on'](_0x391c81(0xde),(_0x5ec516,_0x320b27)=>{const _0x36b0df=_0x391c81;_0x3f381c[_0x36b0df(0x119)][_0x36b0df(0xff)](_0x36b0df(0x111))[_0x36b0df(0xf7)]&&(_0x320b27[_0x36b0df(0xd6)]>0x0&&_0x320b27[_0x320b27[_0x36b0df(0xd6)]-0x1]&&_0x320b27[_0x320b27[_0x36b0df(0xd6)]-0x1][_0x36b0df(0xc6)]||_0x1480f4[_0x36b0df(0x10b)]||this[_0x36b0df(0xd7)]()||_0x5ec516[_0x36b0df(0xfe)]());},{'priority':_0x391c81(0xcf)});for(const _0x198e57 of[_0x391c81(0xe8),_0x391c81(0x10f),_0x391c81(0x109),_0x391c81(0xd0)]){const _0x2d2ef8=_0x3f381c[_0x391c81(0x119)][_0x391c81(0xff)](_0x198e57);_0x1480f4[_0x391c81(0xe0)](_0x198e57,()=>{const _0x349171=_0x391c81,_0x469d8e=_0x3f381c[_0x349171(0x123)][_0x349171(0x11b)][_0x349171(0xfa)][_0x349171(0xd5)]()[_0x349171(0xd4)]()[_0x349171(0xf9)](_0x1b762f=>_0x1b762f['is'](_0x349171(0xe6),_0x349171(0xf3))),_0x1b39d7=_0x2d2ef8[_0x349171(0xf7)];_0x3f381c[_0x349171(0x123)][_0x349171(0xfb)](()=>{const _0x5ca4ab=_0x349171;_0x1480f4[_0x5ca4ab(0x100)]([_0x469d8e,_0x1b39d7],{'commandName':_0x5ca4ab(0xeb),'commandParams':[]},[],_0x5ca4ab(0xeb));});});}for(const _0x340639 of[_0x391c81(0xc2),_0x391c81(0xcc)]){const _0x9366ab=_0x3f381c[_0x391c81(0x119)][_0x391c81(0xff)](_0x340639);_0x1480f4[_0x391c81(0xe0)](_0x340639,()=>{const _0xcb8d68=_0x391c81,_0x54b37e=_0x9a95e1[_0xcb8d68(0xcb)](_0x3f381c[_0xcb8d68(0x123)][_0xcb8d68(0x11b)][_0xcb8d68(0xfa)])[0x0],_0x59ef8f=_0x54b37e[_0xcb8d68(0x11d)](_0xcb8d68(0xdb)),{column:_0x3fb2f8,row:_0x245d1c}=_0x9a95e1[_0xcb8d68(0x112)](_0x54b37e);let _0x28e0ff=[];if(_0xcb8d68(0xc7)==_0x9366ab[_0xcb8d68(0x11e)]){const _0x3297d4=_0x9a95e1[_0xcb8d68(0xf0)](_0x59ef8f,{'startRow':_0x245d1c,'endRow':_0x245d1c,'includeAllSlots':!0x0});_0x28e0ff=Array[_0xcb8d68(0x102)](_0x3297d4)[_0xcb8d68(0x10e)](_0x2cef92=>_0x2cef92[_0xcb8d68(0xc9)]);}else{const _0x219e83=_0x9a95e1[_0xcb8d68(0xf0)](_0x59ef8f,{'column':_0x3fb2f8,'includeAllSlots':!0x0});_0x28e0ff=Array[_0xcb8d68(0x102)](_0x219e83)[_0xcb8d68(0x10e)](_0x29a0d9=>_0x29a0d9[_0xcb8d68(0xc9)]);}_0x3f381c[_0xcb8d68(0x123)][_0xcb8d68(0xfb)](_0x5a40fc=>{const _0x132ab1=_0xcb8d68;_0x1480f4[_0x132ab1(0xd3)](_0x5a40fc[_0x132ab1(0xc8)](_0x54b37e),{'commandName':_0x340639,'commandParams':[]},_0x28e0ff,_0x340639);});});}_0x1480f4[_0x391c81(0xfc)][_0x391c81(0xc3)](_0x8ac7ac=>{const _0x37d17c=_0x391c81;if(_0x37d17c(0xd2)!=_0x8ac7ac[_0x37d17c(0x107)]&&_0x37d17c(0x106)!=_0x8ac7ac[_0x37d17c(0x107)])return;const {data:_0xb7e82e}=_0x8ac7ac;return _0xb7e82e&&_0x37d17c(0xeb)==_0xb7e82e[_0x37d17c(0x11f)]?{'type':_0x37d17c(0xed),'content':_0x16c16c(_0x492fce,_0x37d17c(0xf6))}:void 0x0;}),_0x1480f4[_0x391c81(0xfc)][_0x391c81(0xc3)](_0xdec99c=>{const _0x1d9866=_0x391c81;if(_0x1d9866(0xd2)!=_0xdec99c[_0x1d9866(0x107)]&&_0x1d9866(0x106)!=_0xdec99c[_0x1d9866(0x107)])return;const {data:_0x2e0f93}=_0xdec99c;return _0x2e0f93?_0x1d9866(0xc2)==_0x2e0f93[_0x1d9866(0x11f)]?{'type':_0x1d9866(0xed),'content':_0x16c16c(_0x492fce,_0x1d9866(0x104))}:_0x1d9866(0xcc)==_0x2e0f93[_0x1d9866(0x11f)]?{'type':_0x1d9866(0xed),'content':_0x16c16c(_0x492fce,_0x1d9866(0xf2))}:void 0x0:void 0x0;});const _0x3396b9=_0x589015[_0x391c81(0x117)]();for(const _0x46c8d6 of[_0x391c81(0xe8),_0x391c81(0x10f),_0x391c81(0x109),_0x391c81(0xd0)])_0x1480f4[_0x391c81(0x11a)][_0x391c81(0x105)](_0x391c81(0xd2),_0x46c8d6,_0x391c81(0x115),_0x3396b9);for(const _0x5bed17 of[_0x391c81(0xc2),_0x391c81(0xcc)])_0x1480f4[_0x391c81(0x11a)][_0x391c81(0x105)](_0x391c81(0xd2),_0x5bed17,_0x391c81(0x115),_0x3396b9);_0x1480f4[_0x391c81(0x11a)][_0x391c81(0x105)](_0x391c81(0xd2),_0x391c81(0xeb),_0x391c81(0x115),_0x522efc=>{const _0x4fbdf1=_0x391c81;_0x3f381c[_0x4fbdf1(0x123)][_0x4fbdf1(0xfb)](_0x40a28e=>{const _0x4c0396=_0x4fbdf1,_0x2ee305=Array[_0x4c0396(0x102)](_0x486114[_0x4c0396(0x114)]())[_0x4c0396(0x10e)](_0x4e5e61=>_0x57a3d7[_0x4c0396(0xdd)](_0x4e5e61));_0x40a28e[_0x4c0396(0xce)](_0x522efc),_0x3f381c[_0x4c0396(0x119)][_0x4c0396(0xff)](_0x4c0396(0xeb))[_0x4c0396(0x10d)](),_0x3f381c[_0x4c0396(0xde)](_0x4c0396(0xeb),{'forceDefaultExecution':!0x0});const _0x13ece6=_0x2ee305[_0x4c0396(0xdf)](_0xc2dd9a=>_0x4c0396(0xee)!=_0xc2dd9a[_0x4c0396(0x101)][_0x4c0396(0x108)]);_0x13ece6[_0x4c0396(0xd6)]>0x0&&_0x40a28e[_0x4c0396(0xce)](_0x13ece6);for(const _0x4740fd of _0x2ee305)_0x4740fd[_0x4c0396(0xdc)]();});});for(const _0x24cb02 of[_0x391c81(0xe8),_0x391c81(0x109),_0x391c81(0xd0),_0x391c81(0x10f)]){const _0x40c3f6=_0x3f381c[_0x391c81(0x119)][_0x391c81(0xff)](_0x24cb02);_0x40c3f6['on'](_0x391c81(0xf1),(_0x253e95,_0x10c4c0,_0x54af6c)=>{const _0x5ba290=_0x391c81;if(_0x54af6c){const _0x11685e=_0x3f381c[_0x5ba290(0x123)][_0x5ba290(0x11b)][_0x5ba290(0xfa)][_0x5ba290(0xd5)]()[_0x5ba290(0xd4)]()[_0x5ba290(0xf9)](_0x408688=>_0x408688['is'](_0x5ba290(0xe6),_0x5ba290(0xf3)));this[_0x5ba290(0x103)](_0x40c3f6[_0x5ba290(0xf7)],_0x11685e)||(_0x253e95[_0x5ba290(0xd9)]=!0x1,_0x253e95[_0x5ba290(0xfe)]());}},{'priority':_0x391c81(0x121)});}}[_0x2075f7(0xd7)](){const _0x21425d=_0x2075f7,_0x19e369=this[_0x21425d(0xec)][_0x21425d(0x119)][_0x21425d(0xff)](_0x21425d(0xeb)),_0xb8876d=this[_0x21425d(0xec)][_0x21425d(0xd1)][_0x21425d(0xff)](_0x21425d(0xe2));if(!_0x19e369[_0x21425d(0xc4)])return!0x1;const _0x21fe28=_0xb8876d[_0x21425d(0xcb)](this[_0x21425d(0xec)][_0x21425d(0x123)][_0x21425d(0x11b)][_0x21425d(0xfa)]);for(const _0x5e9c27 of _0x21fe28)for(const _0x360f2b of _0x21fe28)if(_0x5e9c27!=_0x360f2b&&!this[_0x21425d(0x103)](_0x5e9c27,_0x360f2b))return!0x1;return!0x0;}[_0x2075f7(0x103)](_0x1749d2,_0x45efbb){const _0x132f3d=_0x2075f7,_0xbc33d4=this[_0x132f3d(0xec)][_0x132f3d(0xd1)][_0x132f3d(0xff)](_0x132f3d(0x120)),_0x4fbd87=this[_0x132f3d(0xec)][_0x132f3d(0x123)][_0x132f3d(0xc8)](_0x1749d2),_0x6f0ea9=this[_0x132f3d(0xec)][_0x132f3d(0x123)][_0x132f3d(0xc8)](_0x45efbb),_0x5f0562=new Set(),_0x52f633=new Set();for(const _0x5a6a51 of _0xbc33d4[_0x132f3d(0xe4)]())if((_0x132f3d(0x10c)==_0x5a6a51[_0x132f3d(0x107)]||_0x132f3d(0xca)==_0x5a6a51[_0x132f3d(0x107)]||_0x132f3d(0xeb)==_0x5a6a51[_0x132f3d(0xf8)])&&_0x5a6a51[_0x132f3d(0x10a)]){for(const _0x2e3c6a of _0x5a6a51[_0x132f3d(0x114)]())_0x2e3c6a[_0x132f3d(0x118)](_0x4fbd87,!0x0)&&_0x5f0562[_0x132f3d(0xe5)](_0x5a6a51[_0x132f3d(0x107)]+':'+_0x5a6a51[_0x132f3d(0xd8)]['id']),_0x2e3c6a[_0x132f3d(0x118)](_0x6f0ea9,!0x0)&&_0x52f633[_0x132f3d(0xe5)](_0x5a6a51[_0x132f3d(0x107)]+':'+_0x5a6a51[_0x132f3d(0xd8)]['id']);}if(_0x5f0562[_0x132f3d(0xe3)]!=_0x52f633[_0x132f3d(0xe3)])return!0x1;for(const _0x24b0a4 of _0x5f0562)if(!_0x52f633[_0x132f3d(0xfd)](_0x24b0a4))return!0x1;return!0x0;}}function _0x31b3(){const _0x567645=['4175vUYXDT','mergeTableCellUp','532LwMPzX','873348eoeVAu','mergeTableCells','editor','format','$graveyard','TableEditing','createTableWalker','set:isEnabled','*Split\x20cell:*\x20horizontally','tableCell','afterInit','8XIXEDF','*Merge\x20cells*','value','subType','find','selection','change','descriptionFactory','has','stop','get','markMultiRangeBlockFormat','root','from','_areMergableCells','*Split\x20cell:*\x20vertically','registerCustomCallback','formatInline','type','rootName','mergeTableCellDown','isInContent','_isForcedDefaultExecutionBlock','insertion','refresh','map','mergeTableCellRight','3550644VGSbIR','trackChanges','getCellLocation','locale','getRanges','accept','_tablePostFixingSubtypes','_acceptFormatSuggestionCallbackFactory','containsRange','commands','_suggestionFactory','document','1964472RhEDcn','findAncestor','direction','commandName','TrackChangesEditing','low','requires','model','splitTableCellVertically','registerDescriptionCallback','isEnabled','push','forceDefaultExecution','horizontally','createRangeOn','cell','deletion','getSelectionAffectedTableCells','splitTableCellHorizontally','411000eDGXYj','setSelection','highest','mergeTableCellLeft','plugins','formatBlock','markBlockFormat','getAncestors','getFirstPosition','length','_areSelectedCellsMergable','author','return','447402uDzOGb','table','detach','fromRange','execute','filter','enableCommand','2861BrOEXY','TableUtils','size','getSuggestions','add','element'];_0x31b3=function(){return _0x567645;};return _0x31b3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x6a57(){const _0x33a721=['plugins','commands','afterInit','locale','7858638JKWfaX','insertTableOfContents','4799417ImEyzS','10uwxyrq','get','tableOfContents','12iISyhJ','8QYXReJ','editor','1JmlLdC','descriptionFactory','5344330jAmGem','TrackChangesEditing','registerElementLabel','252850IfYUPc','3429036nJPqvB','enableCommand','ELEMENT_TABLE_OF_CONTENTS','1519353pPokpR','245187HTPKlM','4umPZKE'];_0x6a57=function(){return _0x33a721;};return _0x6a57();}const _0x378ff8=_0x2b0a;(function(_0xa962e2,_0x58b073){const _0xd2efba=_0x2b0a,_0x4d746a=_0xa962e2();while(!![]){try{const _0x1b79b7=parseInt(_0xd2efba(0x159))/0x1*(parseInt(_0xd2efba(0x15e))/0x2)+parseInt(_0xd2efba(0x163))/0x3*(parseInt(_0xd2efba(0x164))/0x4)+parseInt(_0xd2efba(0x15b))/0x5+-parseInt(_0xd2efba(0x15f))/0x6+parseInt(_0xd2efba(0x152))/0x7*(parseInt(_0xd2efba(0x157))/0x8)+-parseInt(_0xd2efba(0x150))/0x9*(parseInt(_0xd2efba(0x153))/0xa)+parseInt(_0xd2efba(0x162))/0xb*(parseInt(_0xd2efba(0x156))/0xc);if(_0x1b79b7===_0x58b073)break;else _0x4d746a['push'](_0x4d746a['shift']());}catch(_0x14dada){_0x4d746a['push'](_0x4d746a['shift']());}}}(_0x6a57,0xa02d6));import{Plugin as _0x4cde39}from'ckeditor5/src/core.js';import{getTranslation as _0x163ba5}from'../utils/common-translations.js';function _0x2b0a(_0x4243c7,_0xebf34b){const _0x6a57a7=_0x6a57();return _0x2b0a=function(_0x2b0a34,_0x2d5fc3){_0x2b0a34=_0x2b0a34-0x14e;let _0x19df09=_0x6a57a7[_0x2b0a34];return _0x19df09;},_0x2b0a(_0x4243c7,_0xebf34b);}export default class _t extends _0x4cde39{[_0x378ff8(0x14e)](){const _0x9155e4=_0x378ff8,_0x209a57=this[_0x9155e4(0x158)];if(!_0x209a57[_0x9155e4(0x166)][_0x9155e4(0x154)](_0x9155e4(0x151)))return;_0x209a57[_0x9155e4(0x165)][_0x9155e4(0x154)](_0x9155e4(0x15c))[_0x9155e4(0x160)](_0x9155e4(0x151));const _0xd6d15c=_0x209a57[_0x9155e4(0x165)][_0x9155e4(0x154)](_0x9155e4(0x15c)),_0xfcb028=_0x209a57[_0x9155e4(0x14f)];_0xd6d15c[_0x9155e4(0x15a)][_0x9155e4(0x15d)](_0x9155e4(0x155),_0x17d2b3=>_0x163ba5(_0xfcb028,_0x9155e4(0x161),_0x17d2b3));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x142a(){const _0x429d40=['tableHeight','handleDiscardAction','TrackChangesTableProperties','handleSuggestionDescription','start','tableCellBorderColor','has','join','*Format:*\x20change\x20table\x20cell\x20properties','nodeAfter','236288gKPvti','294868BnRSou','enqueueChange','_suggestionFactory','get','selection','tableCellHorizontalAlignment','tableCellProperties','2113786reScJJ','tableCellVerticalAlignment','tableBorderStyle','findAncestor','*Format:*\x20change\x20table\x20properties','15knOBaY','getSuggestionCallback','tableBorderColor','6976160mhlzRh','markBlockFormat','tableCellHeight','tableAlignment','17028AbBIrd','tableProperties','batch','getFirstPosition','formatBlock','tableWidth','data','change','tableCellBorderWidth','getAttribute','getSuggestions','pluginName','plugins','_getSuggestion','registerCustomCallback','editor','setAttribute','accept','tableCellBackgroundColor','TableCellPropertiesEditing','locale','table','180UkNPXi','getContainedElement','tableBackgroundColor','tableCellPadding','24ublPgt','tableCellBorderStyle','enableCommand','getSelectionAffectedTableCells','TrackChangesEditing','TableUtils','1158941OozBww','_handlePropertyChange','document','5185506toZBsN','tableBorderWidth','tableCellWidth','subType','TablePropertiesEditing','afterInit','commandParams','removeAttribute','model','format','descriptionFactory','discard','registerDescriptionCallback'];_0x142a=function(){return _0x429d40;};return _0x142a();}const _0x10058b=_0x4993;(function(_0x42b35f,_0x4a11ed){const _0x1b00f7=_0x4993,_0x1d8abf=_0x42b35f();while(!![]){try{const _0x116d3e=parseInt(_0x1b00f7(0x145))/0x1+parseInt(_0x1b00f7(0xff))/0x2+parseInt(_0x1b00f7(0x104))/0x3*(-parseInt(_0x1b00f7(0x146))/0x4)+-parseInt(_0x1b00f7(0x107))/0x5+parseInt(_0x1b00f7(0x12e))/0x6+parseInt(_0x1b00f7(0x12b))/0x7*(parseInt(_0x1b00f7(0x125))/0x8)+-parseInt(_0x1b00f7(0x10b))/0x9*(parseInt(_0x1b00f7(0x121))/0xa);if(_0x116d3e===_0x4a11ed)break;else _0x1d8abf['push'](_0x1d8abf['shift']());}catch(_0xcc49b7){_0x1d8abf['push'](_0x1d8abf['shift']());}}}(_0x142a,0xd10b8));import{Plugin as _0x455542}from'ckeditor5/src/core.js';function _0x4993(_0x49ff5e,_0x1b5820){const _0x142a7d=_0x142a();return _0x4993=function(_0x4993b5,_0x9abf46){_0x4993b5=_0x4993b5-0xff;let _0x15c00c=_0x142a7d[_0x4993b5];return _0x15c00c;},_0x4993(_0x49ff5e,_0x1b5820);}import{getTranslation as _0x51dcc7}from'../utils/common-translations.js';export default class $t extends _0x455542{constructor(_0x458f57){const _0x1a19c9=_0x4993;super(_0x458f57),this[_0x1a19c9(0x10c)]=[_0x1a19c9(0x106),_0x1a19c9(0x101),_0x1a19c9(0x12f),_0x1a19c9(0x10a),_0x1a19c9(0x110),_0x1a19c9(0x13b),_0x1a19c9(0x123)],this[_0x1a19c9(0x14c)]=[_0x1a19c9(0x140),_0x1a19c9(0x126),_0x1a19c9(0x113),_0x1a19c9(0x124),_0x1a19c9(0x130),_0x1a19c9(0x109),_0x1a19c9(0x11d),_0x1a19c9(0x14b),_0x1a19c9(0x100)];}static get[_0x10058b(0x116)](){const _0x54d3c6=_0x10058b;return _0x54d3c6(0x13d);}[_0x10058b(0x133)](){const _0x415fc0=_0x10058b,_0xabb20f=this[_0x415fc0(0x11a)][_0x415fc0(0x117)][_0x415fc0(0x149)](_0x415fc0(0x129));if(this[_0x415fc0(0x11a)][_0x415fc0(0x117)][_0x415fc0(0x141)](_0x415fc0(0x132))){for(const _0xfca651 of this[_0x415fc0(0x10c)])_0xabb20f[_0x415fc0(0x127)](_0xfca651,(_0x4caf51,_0x2fb5e5)=>{const _0xa6c571=_0x415fc0,_0x1a6591=this[_0xa6c571(0x11a)][_0xa6c571(0x136)][_0xa6c571(0x12d)][_0xa6c571(0x14a)][_0xa6c571(0x10e)]()[_0xa6c571(0x102)](_0xa6c571(0x120));this[_0xa6c571(0x12c)](_0xfca651,[_0x1a6591],this[_0xa6c571(0x10c)],_0xa6c571(0x10c),_0x4caf51,_0x2fb5e5);});_0xabb20f[_0x415fc0(0x148)][_0x415fc0(0x119)](_0x415fc0(0x10f),_0x415fc0(0x10c),_0x415fc0(0x11c),_0xabb20f[_0x415fc0(0x148)][_0x415fc0(0x105)](_0x415fc0(0x10f),null,_0x415fc0(0x139))),_0xabb20f[_0x415fc0(0x148)][_0x415fc0(0x119)](_0x415fc0(0x10f),_0x415fc0(0x10c),_0x415fc0(0x139),(_0x18a2eb,_0xa23209)=>this[_0x415fc0(0x13c)](this[_0x415fc0(0x10c)],_0x18a2eb,_0xa23209)),_0xabb20f[_0x415fc0(0x148)][_0x415fc0(0x119)](_0x415fc0(0x10f),_0x415fc0(0x10c),_0x415fc0(0x142),()=>!0x1);}if(this[_0x415fc0(0x11a)][_0x415fc0(0x117)][_0x415fc0(0x141)](_0x415fc0(0x11e))){for(const _0x9c20cb of this[_0x415fc0(0x14c)])_0xabb20f[_0x415fc0(0x127)](_0x9c20cb,(_0x110a62,_0x559be1)=>{const _0x12138d=_0x415fc0,_0x224841=this[_0x12138d(0x11a)][_0x12138d(0x117)][_0x12138d(0x149)](_0x12138d(0x12a))[_0x12138d(0x128)](this[_0x12138d(0x11a)][_0x12138d(0x136)][_0x12138d(0x12d)][_0x12138d(0x14a)]);this[_0x12138d(0x12c)](_0x9c20cb,_0x224841,this[_0x12138d(0x14c)],_0x12138d(0x14c),_0x110a62,_0x559be1);});_0xabb20f[_0x415fc0(0x148)][_0x415fc0(0x119)](_0x415fc0(0x10f),_0x415fc0(0x14c),_0x415fc0(0x11c),_0xabb20f[_0x415fc0(0x148)][_0x415fc0(0x105)](_0x415fc0(0x10f),null,_0x415fc0(0x139))),_0xabb20f[_0x415fc0(0x148)][_0x415fc0(0x119)](_0x415fc0(0x10f),_0x415fc0(0x14c),_0x415fc0(0x139),(_0x4ae189,_0x248d15)=>this[_0x415fc0(0x13c)](this[_0x415fc0(0x14c)],_0x4ae189,_0x248d15)),_0xabb20f[_0x415fc0(0x148)][_0x415fc0(0x119)](_0x415fc0(0x10f),_0x415fc0(0x14c),_0x415fc0(0x142),()=>!0x1);}_0xabb20f[_0x415fc0(0x138)][_0x415fc0(0x13a)](_0xc686cb=>this[_0x415fc0(0x13e)](_0xc686cb));}[_0x10058b(0x12c)](_0x24180e,_0x3f6826,_0x1ca6ba,_0x5e8aa0,_0x29d055,_0x20b22c){const _0x4c0c75=_0x10058b,_0x1b4200=this[_0x4c0c75(0x11a)][_0x4c0c75(0x117)][_0x4c0c75(0x149)](_0x4c0c75(0x129));this[_0x4c0c75(0x11a)][_0x4c0c75(0x136)][_0x4c0c75(0x147)](_0x20b22c[_0x4c0c75(0x10d)],()=>{const _0x2f290e=_0x4c0c75;for(const _0x299393 of _0x3f6826){if(this[_0x2f290e(0x118)](_0x299393,_0x5e8aa0))_0x29d055(_0x20b22c);else{const _0xdd3f42={};for(const _0x2b5255 of _0x1ca6ba){const _0x234092=_0x299393[_0x2f290e(0x114)](_0x2b5255);void 0x0!==_0x234092&&(_0xdd3f42[_0x2b5255]=_0x234092);}_0x29d055(_0x20b22c),_0x1b4200[_0x2f290e(0x108)](_0x299393,{'commandParams':[_0xdd3f42]},[],_0x5e8aa0);}}});}[_0x10058b(0x13c)](_0x5b6e9e,_0x16fe84,_0x74aa4f){const _0x1ded3f=_0x10058b,_0x1fba59=_0x16fe84[0x0][_0x1ded3f(0x13f)][_0x1ded3f(0x144)],_0x89777c=_0x74aa4f[_0x1ded3f(0x134)][0x0];this[_0x1ded3f(0x11a)][_0x1ded3f(0x136)][_0x1ded3f(0x112)](_0x460bda=>{const _0x34526a=_0x1ded3f;for(const _0x3306aa of _0x5b6e9e)void 0x0!==_0x89777c[_0x3306aa]?_0x460bda[_0x34526a(0x11b)](_0x3306aa,_0x89777c[_0x3306aa],_0x1fba59):_0x460bda[_0x34526a(0x135)](_0x3306aa,_0x1fba59);});}[_0x10058b(0x13e)](_0x55365d){const _0x2b3a27=_0x10058b;if(_0x55365d[_0x2b3a27(0x111)])switch(_0x55365d[_0x2b3a27(0x131)]){case _0x2b3a27(0x10c):return{'type':_0x2b3a27(0x137),'content':_0x51dcc7(this[_0x2b3a27(0x11a)][_0x2b3a27(0x11f)],_0x2b3a27(0x103))};case _0x2b3a27(0x14c):return{'type':_0x2b3a27(0x137),'content':_0x51dcc7(this[_0x2b3a27(0x11a)][_0x2b3a27(0x11f)],_0x2b3a27(0x143))};}}[_0x10058b(0x118)](_0xc3750,_0x2dce71){const _0x40b169=_0x10058b,_0x38e2be=this[_0x40b169(0x11a)][_0x40b169(0x117)][_0x40b169(0x149)](_0x40b169(0x129));for(const _0x30ae4e of _0x38e2be[_0x40b169(0x115)]({'skipNotAttached':!0x0})){const _0x2cb809=_0x30ae4e[_0x40b169(0x122)]();if(_0x30ae4e[_0x40b169(0x131)]===_0x2dce71&&_0x2cb809===_0xc3750)return _0x30ae4e;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x393591=_0x136e;(function(_0xcc1814,_0x547708){const _0x321e9c=_0x136e,_0x23d061=_0xcc1814();while(!![]){try{const _0x154760=-parseInt(_0x321e9c(0x100))/0x1*(-parseInt(_0x321e9c(0x101))/0x2)+-parseInt(_0x321e9c(0x103))/0x3+-parseInt(_0x321e9c(0xf5))/0x4+parseInt(_0x321e9c(0xfc))/0x5*(-parseInt(_0x321e9c(0x102))/0x6)+-parseInt(_0x321e9c(0xf4))/0x7+-parseInt(_0x321e9c(0xf3))/0x8+parseInt(_0x321e9c(0xff))/0x9;if(_0x154760===_0x547708)break;else _0x23d061['push'](_0x23d061['shift']());}catch(_0x54522a){_0x23d061['push'](_0x23d061['shift']());}}}(_0x30b3,0x48e56));function _0x30b3(){const _0x37915f=['2747184XAYout','1156351eIZahh','178968tezhZO','insertTemplate','get','editor','Template','afterInit','has','5MxACci','TrackChangesEditing','plugins','11155761QMosvy','2uaJiNi','520986BFgPCj','2120502bwHrxM','1665549kBvnHc','enableCommand'];_0x30b3=function(){return _0x37915f;};return _0x30b3();}import{Plugin as _0x2e335b}from'ckeditor5/src/core.js';function _0x136e(_0x124365,_0x299c22){const _0x30b31b=_0x30b3();return _0x136e=function(_0x136ea6,_0x3f096c){_0x136ea6=_0x136ea6-0xf2;let _0x5458d4=_0x30b31b[_0x136ea6];return _0x5458d4;},_0x136e(_0x124365,_0x299c22);}export default class Ct extends _0x2e335b{[_0x393591(0xfa)](){const _0x6b707=_0x393591,_0x1afe42=this[_0x6b707(0xf8)];_0x1afe42[_0x6b707(0xfe)][_0x6b707(0xfb)](_0x6b707(0xf9))&&_0x1afe42[_0x6b707(0xfe)][_0x6b707(0xf7)](_0x6b707(0xfd))[_0x6b707(0xf2)](_0x6b707(0xf6));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58a2ff=_0x5107;(function(_0x5db4cf,_0x5f5d5a){const _0x2289b6=_0x5107,_0x37b4e6=_0x5db4cf();while(!![]){try{const _0x2c7212=-parseInt(_0x2289b6(0x114))/0x1*(parseInt(_0x2289b6(0x11d))/0x2)+parseInt(_0x2289b6(0x112))/0x3*(parseInt(_0x2289b6(0x10f))/0x4)+-parseInt(_0x2289b6(0x128))/0x5+-parseInt(_0x2289b6(0x11e))/0x6*(-parseInt(_0x2289b6(0x10b))/0x7)+parseInt(_0x2289b6(0x10d))/0x8*(-parseInt(_0x2289b6(0x115))/0x9)+-parseInt(_0x2289b6(0x118))/0xa+-parseInt(_0x2289b6(0x12d))/0xb*(-parseInt(_0x2289b6(0x123))/0xc);if(_0x2c7212===_0x5f5d5a)break;else _0x37b4e6['push'](_0x37b4e6['shift']());}catch(_0x50e860){_0x37b4e6['push'](_0x37b4e6['shift']());}}}(_0x1d22,0xef234));import{Plugin as _0x46f533}from'ckeditor5/src/core.js';import{getTranslation as _0x44967c}from'../utils/common-translations.js';export default class Dt extends _0x46f533{[_0x58a2ff(0x12e)](){const _0x492751=_0x58a2ff,_0x4336e4=this[_0x492751(0x130)];if(!_0x4336e4[_0x492751(0x10a)][_0x492751(0x122)](_0x492751(0x131)))return;const _0x51c951=_0x4336e4[_0x492751(0x10a)][_0x492751(0x106)](_0x492751(0x124));_0x51c951[_0x492751(0x12a)][_0x492751(0x119)](_0x492751(0x129),()=>_0x44967c(_0x4336e4[_0x492751(0x10e)],_0x492751(0x12c))),_0x4336e4[_0x492751(0x11b)][_0x492751(0x127)][_0x492751(0x11f)](_0x59f927=>{const _0x47bc8a=_0x492751;let _0x242eb8=!0x1;const _0x37f7be=Array[_0x47bc8a(0x12b)](_0x4336e4[_0x47bc8a(0x11b)][_0x47bc8a(0x127)][_0x47bc8a(0x110)][_0x47bc8a(0x11a)]());for(const {name:_0x4bfc19,data:_0x196615}of _0x37f7be){const {group:_0x1842c1}=_0x51c951[_0x47bc8a(0x120)](_0x4bfc19);if(_0x47bc8a(0x121)!==_0x1842c1||!_0x196615[_0x47bc8a(0x113)])continue;const _0x35ea48=_0x196615[_0x47bc8a(0x113)],_0x54fcb8=_0x35ea48[_0x47bc8a(0x116)][_0x47bc8a(0x111)];if(!_0x54fcb8||!_0x54fcb8['is'](_0x47bc8a(0x11c),_0x47bc8a(0x129)))continue;if(!_0x35ea48[_0x47bc8a(0x117)][_0x47bc8a(0x108)](_0x35ea48[_0x47bc8a(0x116)]))continue;const _0x9f4517=_0x4336e4[_0x47bc8a(0x11b)][_0x47bc8a(0x126)][_0x47bc8a(0x12f)](_0x35ea48[_0x47bc8a(0x116)],_0x47bc8a(0x133));if(_0x9f4517&&_0x9f4517[_0x47bc8a(0x132)]){const _0x3f97a6=_0x59f927[_0x47bc8a(0x125)](_0x35ea48[_0x47bc8a(0x117)],_0x9f4517[_0x47bc8a(0x117)]);_0x3f97a6[_0x47bc8a(0x107)](_0x35ea48)||(_0x59f927[_0x47bc8a(0x109)](_0x4bfc19,{'range':_0x3f97a6}),_0x242eb8=!0x0);}_0x242eb8||(_0x59f927[_0x47bc8a(0x10c)](_0x4bfc19),_0x242eb8=!0x0);}return _0x242eb8;});}}function _0x5107(_0x1542e0,_0x38cc95){const _0x1d22a8=_0x1d22();return _0x5107=function(_0x5107a5,_0x30358c){_0x5107a5=_0x5107a5-0x106;let _0x558e24=_0x1d22a8[_0x5107a5];return _0x558e24;},_0x5107(_0x1542e0,_0x38cc95);}function _0x1d22(){const _0x34838d=['2357838UYlCCX','registerPostFixer','_splitMarkerName','suggestion','has','12EtBPKP','TrackChangesEditing','createRange','schema','document','5700920vTCXnk','title-content','descriptionFactory','from','ELEMENT_TITLE','27289471YQwxEC','afterInit','getNearestSelectionRange','editor','Title','isCollapsed','forward','get','isEqual','isTouching','updateMarker','plugins','21vzWYFm','removeMarker','7244272mogOyt','locale','1189388XAVHOo','differ','nodeBefore','18BiLKjy','newRange','22079vmmkEh','18ukljYU','end','start','13143910lUpXAU','registerElementLabel','getChangedMarkers','model','element','18iQfzpP'];_0x1d22=function(){return _0x34838d;};return _0x1d22();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2340(){const _0xc08f40=['418686XNmzgS','3802656WnGiHL','get','afterInit','redo','21661XGQMJm','editor','197364eaPoSK','388656foYuLb','48GRNmli','UndoEditing','25wvTwRF','undo','8690906RFOrAV','63RYjsOA','has','plugins','enableCommand','44OoVYQa','547460QIVjqQ','TrackChangesEditing'];_0x2340=function(){return _0xc08f40;};return _0x2340();}const _0x1a6280=_0x2f38;(function(_0x4bc250,_0x533af6){const _0xb89c3f=_0x2f38,_0x57eda5=_0x4bc250();while(!![]){try{const _0x3bb09b=parseInt(_0xb89c3f(0xee))/0x1*(parseInt(_0xb89c3f(0xfb))/0x2)+parseInt(_0xb89c3f(0xf0))/0x3*(-parseInt(_0xb89c3f(0xf2))/0x4)+parseInt(_0xb89c3f(0xf4))/0x5*(-parseInt(_0xb89c3f(0xfe))/0x6)+parseInt(_0xb89c3f(0xf6))/0x7+parseInt(_0xb89c3f(0xf1))/0x8+parseInt(_0xb89c3f(0xf7))/0x9*(parseInt(_0xb89c3f(0xfc))/0xa)+-parseInt(_0xb89c3f(0xff))/0xb;if(_0x3bb09b===_0x533af6)break;else _0x57eda5['push'](_0x57eda5['shift']());}catch(_0x217b32){_0x57eda5['push'](_0x57eda5['shift']());}}}(_0x2340,0xa28f7));import{Plugin as _0x4619f3}from'ckeditor5/src/core.js';function _0x2f38(_0xa8cb87,_0x3b377a){const _0x2340df=_0x2340();return _0x2f38=function(_0x2f3883,_0x85ced0){_0x2f3883=_0x2f3883-0xed;let _0x3e2382=_0x2340df[_0x2f3883];return _0x3e2382;},_0x2f38(_0xa8cb87,_0x3b377a);}export default class Nt extends _0x4619f3{[_0x1a6280(0x101)](){const _0x2562b2=_0x1a6280,_0xb377bf=this[_0x2562b2(0xef)],_0x3ced51=_0xb377bf[_0x2562b2(0xf9)][_0x2562b2(0x100)](_0x2562b2(0xfd));_0xb377bf[_0x2562b2(0xf9)][_0x2562b2(0xf8)](_0x2562b2(0xf3))&&(_0x3ced51[_0x2562b2(0xfa)](_0x2562b2(0xf5)),_0x3ced51[_0x2562b2(0xfa)](_0x2562b2(0xed)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x46b3(_0x2939e4,_0x39182b){const _0xfca90b=_0xfca9();return _0x46b3=function(_0x46b3dc,_0x59e620){_0x46b3dc=_0x46b3dc-0x1e7;let _0xece00d=_0xfca90b[_0x46b3dc];return _0xece00d;},_0x46b3(_0x2939e4,_0x39182b);}(function(_0x56d15d,_0x2f696a){const _0x452e3d=_0x46b3,_0x1d8505=_0x56d15d();while(!![]){try{const _0x35bf0a=-parseInt(_0x452e3d(0x1f3))/0x1*(parseInt(_0x452e3d(0x201))/0x2)+-parseInt(_0x452e3d(0x1ef))/0x3*(parseInt(_0x452e3d(0x208))/0x4)+-parseInt(_0x452e3d(0x219))/0x5+-parseInt(_0x452e3d(0x1f2))/0x6+-parseInt(_0x452e3d(0x1ea))/0x7+-parseInt(_0x452e3d(0x1f4))/0x8+parseInt(_0x452e3d(0x200))/0x9*(parseInt(_0x452e3d(0x1eb))/0xa);if(_0x35bf0a===_0x2f696a)break;else _0x1d8505['push'](_0x1d8505['shift']());}catch(_0x56c50f){_0x1d8505['push'](_0x1d8505['shift']());}}}(_0xfca9,0x6312b));export function getRangesWithAttribute(_0x2f357b,_0x1ffc19,_0x2ced22){const _0x1dcf23=_0x46b3,_0x194033=[];for(const _0x1097e0 of _0x1ffc19[_0x1dcf23(0x1e9)]())_0x1097e0[_0x1dcf23(0x206)](_0x2f357b)&&_0x194033[_0x1dcf23(0x1ff)](_0x2ced22[_0x1dcf23(0x1ec)](_0x1097e0));return _0x194033;}function _0xfca9(){const _0xaf99f1=['getItems','828191DFIiji','3270ghQytu','createRangeOn','toViewElement','isBlock','69xzxbnA','toViewPosition','model','530400jXyGFk','217456yrNkyD','2918400ZCpThL','mapper','start','writer','includes','name','markerName','get','consumable','insert','type','push','79461cailRj','6YlhrZk','previousPosition','item','nextSibling','addClass','hasAttribute','test','113596bPYoJh','TrackChangesEditing','getWalker','isLimit','createUIElement','parent','bindElementToMarker','getCustomProperty','activeMarkers','markerRange','addHighlight','isAtEnd','plugins','ck-suggestion-marker--active','ck-suggestion-marker-','schema','span','3021110HpoWgf','elementEnd','isContent'];_0xfca9=function(){return _0xaf99f1;};return _0xfca9();}export function downcastSplitMergeMarker(_0x2e9b24,_0x1944ad,{showActiveMarker:_0x3386f5=!0x0}={}){const _0x41e790=_0x46b3,_0x17cdd8=_0x2e9b24[_0x41e790(0x214)][_0x41e790(0x1fb)](_0x41e790(0x209));return(_0x1fb431,_0x50d405,_0x548386)=>{const _0x5aa69c=_0x41e790;if(!_0x548386[_0x5aa69c(0x1fc)][_0x5aa69c(0x207)](_0x50d405[_0x5aa69c(0x211)],_0x1fb431[_0x5aa69c(0x1f9)]))return;const _0x51cb97=_0x50d405[_0x5aa69c(0x211)][_0x5aa69c(0x20a)](),_0x30c7dc=_0x50d405[_0x5aa69c(0x211)][_0x5aa69c(0x1f6)],_0x37a108=_0x2e9b24[_0x5aa69c(0x1f1)][_0x5aa69c(0x217)];let _0x10529c=null,_0xc076b7=null,_0x41a8ca=!0x1,_0x4b94f6=!0x1;for(const _0xa6bb08 of _0x51cb97){const _0x14a075=_0xa6bb08[_0x5aa69c(0x203)];_0x41a8ca=_0x41a8ca||_0x37a108[_0x5aa69c(0x1e8)](_0x14a075);const _0x7023ef=_0x548386[_0x5aa69c(0x1f5)][_0x5aa69c(0x1ed)](_0x14a075);if(_0x7023ef&&_0x7023ef[_0x5aa69c(0x20f)](_0x5aa69c(0x212)))return;_0x5aa69c(0x1e7)==_0xa6bb08[_0x5aa69c(0x1fe)]&&(_0x37a108[_0x5aa69c(0x1ee)](_0x14a075)&&!_0x37a108[_0x5aa69c(0x20b)](_0x14a075)&&(_0x14a075[_0x5aa69c(0x204)]||_0x30c7dc[_0x5aa69c(0x213)]?_0x10529c&&_0x10529c[_0x5aa69c(0x20d)]==_0x14a075||(_0x10529c=_0x14a075,_0x59cce3(_0xa6bb08[_0x5aa69c(0x202)]),_0x4b94f6=!0x0):_0xc076b7=_0xc076b7||_0xa6bb08[_0x5aa69c(0x202)]));}function _0x59cce3(_0x185fc2){const _0x14c3f2=_0x5aa69c,_0xd87f13=_0x548386[_0x14c3f2(0x1f7)][_0x14c3f2(0x20c)](_0x14c3f2(0x218),{'class':_0x14c3f2(0x216)+_0x1944ad}),_0x491569=_0x548386[_0x14c3f2(0x1f5)][_0x14c3f2(0x1f0)](_0x185fc2);_0x3386f5&&_0x17cdd8[_0x14c3f2(0x210)][_0x14c3f2(0x1f8)](_0x50d405[_0x14c3f2(0x1fa)])&&_0x548386[_0x14c3f2(0x1f7)][_0x14c3f2(0x205)](_0x14c3f2(0x215),_0xd87f13),_0x548386[_0x14c3f2(0x1f7)][_0x14c3f2(0x1fd)](_0x491569,_0xd87f13),_0x548386[_0x14c3f2(0x1f5)][_0x14c3f2(0x20e)](_0xd87f13,_0x50d405[_0x14c3f2(0x1fa)]);}_0x41a8ca||_0x4b94f6||!_0xc076b7||_0x59cce3(_0xc076b7);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xd40777=_0x1f9b;function _0x1f9b(_0x10bab8,_0xbf94f0){const _0x543c63=_0x543c();return _0x1f9b=function(_0x1f9b52,_0x168399){_0x1f9b52=_0x1f9b52-0x114;let _0xa3ff70=_0x543c63[_0x1f9b52];return _0xa3ff70;},_0x1f9b(_0x10bab8,_0xbf94f0);}(function(_0x5d6491,_0x18ac4f){const _0x548c3d=_0x1f9b,_0x5f5753=_0x5d6491();while(!![]){try{const _0x31e8c0=parseInt(_0x548c3d(0x142))/0x1+-parseInt(_0x548c3d(0x164))/0x2*(parseInt(_0x548c3d(0x11f))/0x3)+-parseInt(_0x548c3d(0x11b))/0x4*(-parseInt(_0x548c3d(0x124))/0x5)+-parseInt(_0x548c3d(0x114))/0x6*(-parseInt(_0x548c3d(0x15b))/0x7)+parseInt(_0x548c3d(0x165))/0x8*(parseInt(_0x548c3d(0x14b))/0x9)+parseInt(_0x548c3d(0x148))/0xa+-parseInt(_0x548c3d(0x132))/0xb*(parseInt(_0x548c3d(0x12d))/0xc);if(_0x31e8c0===_0x18ac4f)break;else _0x5f5753['push'](_0x5f5753['shift']());}catch(_0x47546f){_0x5f5753['push'](_0x5f5753['shift']());}}}(_0x543c,0x7e7de));import{Element as _0x18bd44}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x316e49,uid as _0x21f4e0}from'ckeditor5/src/utils.js';import{cloneDeep as _0x556136,isEqual as _0x23e730,set as _0x42e6eb,unset as _0x5f117d}from'lodash-es';function _0x543c(){const _0x2257f9=['substr','author','119DqAQbt','addRange','removeAttribute','getFirstMarker','nodeAfter','previous','attributes','onAccept','authoredAt','106HoNzkN','1432xOWjQA','length','17562OAcBuq','commentThread','start','clear','getMultiRangeId','creator','getItems','2404840ygiyZO','_markerNames','getMarkers','subType','10938OidAMi','createdAt','size','map','end','5XUKdtO','next','getMarkerNames','removeMarkers','getRanges','_isDataLoaded','isIntersecting','markers','decorate','9276lkxpDJ','type','accept','toJSON','_onAccept','14971ragqFE','_saved','@external','getAllAdjacentSuggestions','removeMarker','isMultiRange','from','filter','reduce','data','isIntersectingWithRange','discard','get','addMarker','head','push','95357xXjeMZ','setAttribute','split','_onAttributesChange','suggestion:','add','6914740MAMyyj','onAttributesChange','getRange','16371TDswux','getContainedElement','isInContent','hasComments','nodeBefore','onDiscard','delete','_onDiscard','change','getFirstRange','set','isExternal','_model','addMarkerName'];_0x543c=function(){return _0x2257f9;};return _0x543c();}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x316e49(){constructor(_0x2cd968,_0x150de2){const _0x4e163f=_0x1f9b;super(),this[_0x4e163f(0x129)]=!0x1,this['id']=_0x150de2['id'],this[_0x4e163f(0x12e)]=_0x150de2[_0x4e163f(0x12e)],this[_0x4e163f(0x11e)]=_0x150de2[_0x4e163f(0x11e)]||null,this[_0x4e163f(0x15a)]=_0x150de2[_0x4e163f(0x15a)],this[_0x4e163f(0x119)]=_0x150de2[_0x4e163f(0x119)]||_0x150de2[_0x4e163f(0x15a)],this[_0x4e163f(0x156)]=Boolean(_0x150de2[_0x4e163f(0x161)]&&_0x150de2[_0x4e163f(0x161)][_0x4e163f(0x134)]),this[_0x4e163f(0x13b)]=null,this[_0x4e163f(0x157)]=_0x2cd968,this[_0x4e163f(0x131)]=_0x150de2[_0x4e163f(0x162)],this[_0x4e163f(0x152)]=_0x150de2[_0x4e163f(0x150)],this[_0x4e163f(0x145)]=_0x150de2[_0x4e163f(0x149)],this[_0x4e163f(0x11c)]=new Set(),this[_0x4e163f(0x120)]=null,this[_0x4e163f(0x155)](_0x4e163f(0x163),null),this[_0x4e163f(0x155)](_0x4e163f(0x161),_0x150de2[_0x4e163f(0x161)]||{}),this[_0x4e163f(0x155)](_0x4e163f(0x160),null),this[_0x4e163f(0x155)](_0x4e163f(0x125),null),this[_0x4e163f(0x155)](_0x4e163f(0x115),null),this[_0x4e163f(0x155)](_0x4e163f(0x133),!0x1),this[_0x4e163f(0x12c)](_0x4e163f(0x12f)),this[_0x4e163f(0x12c)](_0x4e163f(0x13d));}get[_0xd40777(0x140)](){const _0x2b9abd=_0xd40777;let _0x2cd36f=this;for(;_0x2cd36f[_0x2b9abd(0x160)];)_0x2cd36f=_0x2cd36f[_0x2b9abd(0x160)];return _0x2cd36f;}get[_0xd40777(0x14e)](){const _0x410e8e=_0xd40777;return!!this[_0x410e8e(0x115)]&&this[_0x410e8e(0x115)][_0x410e8e(0x166)]>0x0;}get[_0xd40777(0x137)](){const _0x31cab5=_0xd40777;if(0x0==this[_0x31cab5(0x11c)][_0x31cab5(0x121)])return!0x1;return 0x6==Array[_0x31cab5(0x138)](this[_0x31cab5(0x11c)])[0x0][_0x31cab5(0x144)](':')[_0x31cab5(0x166)];}get[_0xd40777(0x14d)](){const _0xfc7b20=_0xd40777;return null!==this[_0xfc7b20(0x15e)]();}[_0xd40777(0x158)](_0x242834){const _0xa18c89=_0xd40777;this[_0xa18c89(0x11c)][_0xa18c89(0x147)](_0x242834);}[_0xd40777(0x126)](){const _0xfac46b=_0xd40777;return Array[_0xfac46b(0x138)](this[_0xfac46b(0x11c)]);}[_0xd40777(0x11d)](){const _0x57c1a7=_0xd40777;return this[_0x57c1a7(0x126)]()[_0x57c1a7(0x122)](_0x2fee3e=>this[_0x57c1a7(0x157)][_0x57c1a7(0x12b)][_0x57c1a7(0x13e)](_0x2fee3e))[_0x57c1a7(0x139)](_0x17a92f=>_0x17a92f);}[_0xd40777(0x15e)](){const _0x326ea1=_0xd40777;return this[_0x326ea1(0x11d)]()[0x0]||null;}[_0xd40777(0x127)](){const _0x6d0745=_0xd40777;this[_0x6d0745(0x157)][_0x6d0745(0x153)](_0x3d0b9e=>{const _0x7c32cb=_0x6d0745;for(const _0x230551 of this[_0x7c32cb(0x11d)]())_0x3d0b9e[_0x7c32cb(0x136)](_0x230551);}),this[_0x6d0745(0x11c)][_0x6d0745(0x117)]();}[_0xd40777(0x136)](_0xabd4c2){const _0x4ca555=_0xd40777;this[_0x4ca555(0x157)][_0x4ca555(0x153)](_0x4abaa0=>{const _0x3cdb20=_0x4ca555;_0x4abaa0[_0x3cdb20(0x136)](_0xabd4c2);}),this[_0x4ca555(0x11c)][_0x4ca555(0x151)](_0xabd4c2);}[_0xd40777(0x15c)](_0x590072){const _0x35471e=_0xd40777,_0x527b63=_0x35471e(0x146)+this[_0x35471e(0x12e)]+':'+this[_0x35471e(0x11e)]+':'+this['id']+':'+this[_0x35471e(0x119)]['id']+':'+u[_0x35471e(0x118)]();this[_0x35471e(0x158)](_0x527b63),this[_0x35471e(0x157)][_0x35471e(0x153)](_0x31adcf=>{const _0x4d7ca9=_0x35471e;_0x31adcf[_0x4d7ca9(0x13f)](_0x527b63,{'range':_0x590072,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xd40777(0x13c)](_0x4c2ef0){const _0x2d4ca2=_0xd40777;for(const _0x5512a5 of this[_0x2d4ca2(0x128)]())if(_0x5512a5[_0x2d4ca2(0x12a)](_0x4c2ef0))return!0x0;return!0x1;}[_0xd40777(0x128)](){const _0x51f29f=_0xd40777;return this[_0x51f29f(0x11d)]()[_0x51f29f(0x122)](_0xf76761=>_0xf76761[_0x51f29f(0x14a)]());}[_0xd40777(0x11a)](){const _0x231c82=_0xd40777;return this[_0x231c82(0x128)]()[_0x231c82(0x13a)]((_0x5f0a2b,_0x266884)=>[..._0x5f0a2b,..._0x266884[_0x231c82(0x11a)]()],[]);}[_0xd40777(0x154)](){const _0xfe3416=_0xd40777;var _0x47dd1f;return(null===(_0x47dd1f=this[_0xfe3416(0x15e)]())||void 0x0===_0x47dd1f?void 0x0:_0x47dd1f[_0xfe3416(0x14a)]())||null;}[_0xd40777(0x14c)](){const _0x127eb3=_0xd40777,_0x11b888=this[_0x127eb3(0x128)]();if(0x1!=_0x11b888[_0x127eb3(0x166)])return null;const _0x336171=_0x11b888[0x0],_0x1a8c30=_0x336171[_0x127eb3(0x116)][_0x127eb3(0x15f)],_0x2b7ca6=_0x336171[_0x127eb3(0x123)][_0x127eb3(0x14f)];return _0x1a8c30 instanceof _0x18bd44?_0x1a8c30!=_0x2b7ca6?null:_0x1a8c30:null;}[_0xd40777(0x12f)](){const _0x4f253d=_0xd40777;this[_0x4f253d(0x131)](this[_0x4f253d(0x128)](),this[_0x4f253d(0x13b)],this[_0x4f253d(0x161)]),this[_0x4f253d(0x127)]();}[_0xd40777(0x13d)](){const _0x27d368=_0xd40777;this[_0x27d368(0x152)](this[_0x27d368(0x128)](),this[_0x27d368(0x13b)],this[_0x27d368(0x161)]),this[_0x27d368(0x127)]();}[_0xd40777(0x135)](){const _0x37d66d=_0xd40777,_0x2d158d=[];let _0x3c248b=this[_0x37d66d(0x140)];for(;_0x3c248b;)_0x2d158d[_0x37d66d(0x141)](_0x3c248b),_0x3c248b=_0x3c248b[_0x37d66d(0x125)];return _0x2d158d;}[_0xd40777(0x143)](_0x56b705,_0x1ff992){const _0x57f246=_0xd40777,_0x239e9c=_0x556136(this[_0x57f246(0x161)]);_0x42e6eb(_0x239e9c,_0x56b705,_0x1ff992),_0x23e730(_0x239e9c,this[_0x57f246(0x161)])||(this[_0x57f246(0x161)]=_0x239e9c,this[_0x57f246(0x145)](_0x239e9c));}[_0xd40777(0x15d)](_0x29ed89){const _0x18aed8=_0xd40777,_0x11b2ad=_0x556136(this[_0x18aed8(0x161)]);_0x5f117d(_0x11b2ad,_0x29ed89),_0x23e730(_0x11b2ad,this[_0x18aed8(0x161)])||(this[_0x18aed8(0x161)]=_0x11b2ad,this[_0x18aed8(0x145)](this[_0x18aed8(0x161)]));}[_0xd40777(0x130)](){const _0x24ce36=_0xd40777;return{'id':this['id'],'type':this[_0x24ce36(0x11e)]?this[_0x24ce36(0x12e)]+':'+this[_0x24ce36(0x11e)]:this[_0x24ce36(0x12e)],'authorId':this[_0x24ce36(0x119)]['id'],'createdAt':this[_0x24ce36(0x120)],'hasComments':this[_0x24ce36(0x14e)],'data':this[_0x24ce36(0x13b)],'attributes':this[_0x24ce36(0x161)]};}static[_0xd40777(0x118)](){const _0x554f1f=_0xd40777;return _0x21f4e0()[_0x554f1f(0x159)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x565d86=_0x5197;(function(_0x5c3d0d,_0x319137){const _0x2b0c33=_0x5197,_0x928473=_0x5c3d0d();while(!![]){try{const _0x12741f=parseInt(_0x2b0c33(0x13c))/0x1*(parseInt(_0x2b0c33(0x142))/0x2)+parseInt(_0x2b0c33(0x145))/0x3+parseInt(_0x2b0c33(0x147))/0x4*(parseInt(_0x2b0c33(0x13a))/0x5)+parseInt(_0x2b0c33(0x13e))/0x6+-parseInt(_0x2b0c33(0x148))/0x7*(-parseInt(_0x2b0c33(0x144))/0x8)+parseInt(_0x2b0c33(0x122))/0x9*(parseInt(_0x2b0c33(0x17d))/0xa)+-parseInt(_0x2b0c33(0x127))/0xb;if(_0x12741f===_0x319137)break;else _0x928473['push'](_0x928473['shift']());}catch(_0x17a449){_0x928473['push'](_0x928473['shift']());}}}(_0xf9b6,0x32e62));import{getTranslation as _0xd0d7f1}from'./utils/common-translations.js';function _0xf9b6(){const _0x3a2696=['insertion','pop','join','label','590qHRSxE','elementEnd','108WFLGNI','subType','579534rqYsCm','get','push','*Remove:*\x20%0','5648gAdhaZ','function','16QQeIWE','401382xTqejy','removeObject','1364ikqhpx','1307110oBHAaA','quantity','removeFormat','element','$textProxy','_customCallbacks','$text','type','_handleRenameSuggestionDescription','_itemLabels','indexOf','data','remove','key','*Change\x20to:*\x20%0','getItemLabel','_resolveDescriptionItems','name','start','matchingCallback','deletion','_locale','addEmptyContainer','getWalker','has','text','getFirstRange','*Set\x20format:*\x20%0','_schema','isObject','EmptyContainer','map','softBreak','ELEMENT_SPACE','_handleInsertRemoveSuggestionDescription','replace','_itemLabelsCallbacks','previousSibling','addContainer','nextSibling','format','normal','addFormat','addObject','_handleCustomCallbackDescription','Container','isEqual','registerDescriptionCallback','skip','newValue','*Remove\x20format:*\x20%0','item','elementStart','246250PcAlSi','removeContainer','_addDescriptionItems','REPLACE_TEXT','isEmpty','add','match','54iPvqNY','end','length','getDescriptions','checkChild','9771751nDcZIt','_attributeLabels','nodeAfter','*Merge:*\x20%0','removeEmptyContainer','isInContent','Object','*Insert:*\x20%0','*Split:*\x20%0','_handleAttributeSuggestionDescription','$1\x20$2','registerElementLabel','attribute','registerAttributeLabel','set'];_0xf9b6=function(){return _0x3a2696;};return _0xf9b6();}import{priorities as _0x240b87,insertToPriorityArray as _0x16efc8}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x1005d9}from'./trackchangesediting.js';function _0x5197(_0x7d2008,_0xb7ae77){const _0xf9b6f3=_0xf9b6();return _0x5197=function(_0x5197b1,_0x4eafa4){_0x5197b1=_0x5197b1-0x11c;let _0x89c46a=_0xf9b6f3[_0x5197b1];return _0x89c46a;},_0x5197(_0x7d2008,_0xb7ae77);}export default class f{constructor(_0x5cd5dc,_0x3bc872){const _0x34f0cf=_0x5197;this[_0x34f0cf(0x14d)]=[],this[_0x34f0cf(0x151)]=new Map(),this[_0x34f0cf(0x16c)]=[],this[_0x34f0cf(0x128)]=new Map(),this[_0x34f0cf(0x164)]=_0x5cd5dc,this[_0x34f0cf(0x15d)]=_0x3bc872;}[_0x565d86(0x125)](_0x5a3965){const _0x4c7bb8=_0x565d86,_0x522bf1=[],_0x1890f1=new Set(),_0x1df295=new Set();for(let _0x1a38df=0x0;_0x1a38df<_0x5a3965[_0x4c7bb8(0x124)];_0x1a38df++){const _0x28eeea=_0x5a3965[_0x1a38df];if(!_0x28eeea[_0x4c7bb8(0x12c)])continue;const _0x5ab5fb=this[_0x4c7bb8(0x174)](_0x28eeea);if(_0x5ab5fb){if(null!=_0x28eeea[_0x4c7bb8(0x13d)]){if(_0x1890f1[_0x4c7bb8(0x160)](_0x28eeea[_0x4c7bb8(0x13d)]))continue;_0x1890f1[_0x4c7bb8(0x120)](_0x28eeea[_0x4c7bb8(0x13d)]);}_0x522bf1[_0x4c7bb8(0x140)](_0x5ab5fb);}else{if(_0x4c7bb8(0x133)!=_0x28eeea[_0x4c7bb8(0x14f)])_0x4c7bb8(0x136)!=_0x28eeea[_0x4c7bb8(0x14f)]&&_0x4c7bb8(0x15c)!=_0x28eeea[_0x4c7bb8(0x14f)]||this[_0x4c7bb8(0x16a)](_0x522bf1,_0x28eeea,_0x5a3965[_0x1a38df+0x1]);else{const _0x2a5adb=_0x28eeea[_0x4c7bb8(0x153)][_0x4c7bb8(0x155)];if(_0x1df295[_0x4c7bb8(0x160)](_0x2a5adb))continue;_0x1df295[_0x4c7bb8(0x120)](_0x28eeea[_0x4c7bb8(0x153)][_0x4c7bb8(0x155)]),_0x2a5adb==_0x1005d9?this[_0x4c7bb8(0x150)](_0x522bf1,_0x28eeea):this[_0x4c7bb8(0x130)](_0x522bf1,_0x28eeea);}}}return this[_0x4c7bb8(0x158)](_0x522bf1);}[_0x565d86(0x177)](_0x18dd0d){const _0x4e525f=_0x565d86;this[_0x4e525f(0x14d)][_0x4e525f(0x140)](_0x18dd0d);}[_0x565d86(0x132)](_0x4ee656,_0x520dc7,_0x2f0e46=_0x240b87[_0x565d86(0x171)]){const _0x4a1126=_0x565d86;_0x4a1126(0x143)==typeof _0x4ee656?_0x16efc8(this[_0x4a1126(0x16c)],{'matchingCallback':_0x4ee656,'label':_0x520dc7,'priority':_0x2f0e46}):this[_0x4a1126(0x151)][_0x4a1126(0x135)](_0x4ee656,_0x520dc7);}[_0x565d86(0x134)](_0x3d02f2,_0x40e610){const _0x9b2ac2=_0x565d86;this[_0x9b2ac2(0x128)][_0x9b2ac2(0x135)](_0x3d02f2,_0x40e610);}[_0x565d86(0x157)](_0x177ae4,_0x5870ef=0x1){const _0x2af48b=_0x565d86;let _0x49c6dc;for(const _0x164df4 of this[_0x2af48b(0x16c)])if(_0x164df4[_0x2af48b(0x15b)](_0x177ae4)){_0x49c6dc=_0x164df4[_0x2af48b(0x139)];break;}return _0x49c6dc||(_0x49c6dc=this[_0x2af48b(0x151)][_0x2af48b(0x13f)](_0x177ae4[_0x2af48b(0x159)])),_0x49c6dc?_0x49c6dc(_0x5870ef):0x1!==_0x5870ef?_0x5870ef+'\x20'+_0x177ae4[_0x2af48b(0x159)]+'s':''+_0x177ae4[_0x2af48b(0x159)];}[_0x565d86(0x11d)](_0x2ae0ed,_0x4f40c6){const _0x2ae3d3=_0x565d86,_0x50d8a5=_0x4f40c6[_0x2ae3d3(0x162)]()[_0x2ae3d3(0x15f)](),_0x19d555=_0x2ae3d3(0x136)==_0x4f40c6[_0x2ae3d3(0x14f)]?_0x2ae3d3(0x120):_0x2ae3d3(0x154);for(const _0x40828a of _0x50d8a5){const _0x31e5a3=_0x40828a[_0x2ae3d3(0x17b)],_0x49e049=_0x2ae0ed[_0x2ae0ed[_0x2ae3d3(0x124)]-0x1];if(_0x31e5a3['is'](_0x2ae3d3(0x14c)))_0x49e049&&_0x49e049[_0x2ae3d3(0x14f)][_0x2ae3d3(0x152)](_0x2ae3d3(0x175))>-0x1&&_0x2ae0ed[_0x2ae3d3(0x137)](),_0x49e049&&_0x2ae3d3(0x161)==_0x49e049[_0x2ae3d3(0x14f)]?_0x49e049[_0x19d555]+=_0x31e5a3[_0x2ae3d3(0x153)]:_0x2ae0ed[_0x2ae3d3(0x140)]({'type':_0x2ae3d3(0x161),'add':_0x2ae3d3(0x120)==_0x19d555?_0x31e5a3[_0x2ae3d3(0x153)]:'','remove':_0x2ae3d3(0x154)==_0x19d555?_0x31e5a3[_0x2ae3d3(0x153)]:''});else{if(this[_0x2ae3d3(0x164)][_0x2ae3d3(0x165)](_0x31e5a3)){const _0x8fb6b8=_0x31e5a3;if(_0x49e049&&_0x49e049[_0x2ae3d3(0x14f)][_0x2ae3d3(0x152)](_0x2ae3d3(0x175))>-0x1&&_0x2ae0ed[_0x2ae3d3(0x137)](),_0x2ae3d3(0x13b)==_0x40828a[_0x2ae3d3(0x14f)])continue;_0x49e049&&_0x49e049[_0x2ae3d3(0x14f)]==_0x19d555+_0x2ae3d3(0x12d)&&_0x49e049[_0x2ae3d3(0x14b)][_0x2ae3d3(0x159)]==_0x8fb6b8[_0x2ae3d3(0x159)]?_0x49e049[_0x2ae3d3(0x149)]++:_0x2ae0ed[_0x2ae3d3(0x140)]({'type':_0x19d555+_0x2ae3d3(0x12d),'element':_0x8fb6b8,'quantity':0x1}),_0x50d8a5[_0x2ae3d3(0x178)](_0x46732e=>!(_0x2ae3d3(0x13b)==_0x46732e[_0x2ae3d3(0x14f)]&&_0x46732e[_0x2ae3d3(0x17b)]==_0x31e5a3));}else{if(this[_0x2ae3d3(0x164)][_0x2ae3d3(0x126)](_0x31e5a3,_0x2ae3d3(0x14e))||_0x31e5a3['is'](_0x2ae3d3(0x14b),_0x2ae3d3(0x168))){const _0x28de31=_0x31e5a3;if(_0x2ae3d3(0x120)==_0x19d555&&_0x2ae3d3(0x17c)==_0x40828a[_0x2ae3d3(0x14f)]||_0x2ae3d3(0x154)==_0x19d555&&_0x2ae3d3(0x13b)==_0x40828a[_0x2ae3d3(0x14f)])continue;if(_0x49e049&&-0x1==_0x49e049[_0x2ae3d3(0x14f)][_0x2ae3d3(0x152)](_0x2ae3d3(0x175))){_0x2ae3d3(0x161)==_0x49e049[_0x2ae3d3(0x14f)]&&(_0x49e049[_0x19d555]+='\x0a');continue;}let _0x2af178;if(_0x2af178=_0x2ae3d3(0x120)==_0x19d555?_0x28de31[_0x2ae3d3(0x16f)]&&!this[_0x2ae3d3(0x164)][_0x2ae3d3(0x165)](_0x28de31[_0x2ae3d3(0x16f)])?_0x28de31[_0x2ae3d3(0x16f)]:null:_0x28de31[_0x2ae3d3(0x16d)]&&!this[_0x2ae3d3(0x164)][_0x2ae3d3(0x165)](_0x28de31[_0x2ae3d3(0x16d)])?_0x28de31[_0x2ae3d3(0x16d)]:null,_0x28de31[_0x2ae3d3(0x11f)]||_0x2af178&&_0x2af178[_0x2ae3d3(0x11f)]){const _0x158280=_0x2af178&&_0x2af178[_0x2ae3d3(0x11f)]?_0x2af178:_0x28de31;_0x49e049&&_0x49e049[_0x2ae3d3(0x14f)]==_0x19d555+_0x2ae3d3(0x166)&&_0x49e049[_0x2ae3d3(0x14b)][_0x2ae3d3(0x159)]==_0x158280[_0x2ae3d3(0x159)]?_0x49e049[_0x2ae3d3(0x149)]++:_0x2ae0ed[_0x2ae3d3(0x140)]({'type':_0x19d555+_0x2ae3d3(0x166),'element':_0x158280,'quantity':0x1});}else _0x2ae0ed[_0x2ae3d3(0x140)]({'type':_0x19d555+_0x2ae3d3(0x175),'element':_0x28de31});}}}}}[_0x565d86(0x158)](_0x4925ab){const _0x2634cf=_0x565d86,_0x38cd68=this[_0x2634cf(0x15d)],_0x58342d=[],_0x2c568c=[],_0x20ca96=[];for(const _0x54ca6d of _0x4925ab)switch(_0x54ca6d[_0x2634cf(0x14f)]){case _0x2634cf(0x161):if(_0x54ca6d[_0x2634cf(0x120)]=_0x54ca6d[_0x2634cf(0x120)][_0x2634cf(0x16b)](/(\S)\u000A+(\S)/g,_0x2634cf(0x131))[_0x2634cf(0x16b)](/\u000A/g,''),_0x54ca6d[_0x2634cf(0x154)]=_0x54ca6d[_0x2634cf(0x154)][_0x2634cf(0x16b)](/(\S)\u000A+(\S)/g,_0x2634cf(0x131))[_0x2634cf(0x16b)](/\u000A/g,''),''!=_0x54ca6d[_0x2634cf(0x120)]&&''!=_0x54ca6d[_0x2634cf(0x154)]){_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x16b),'content':_0xd0d7f1(_0x38cd68,_0x2634cf(0x11e),['\x22'+_0x54ca6d[_0x2634cf(0x154)]+'\x22','\x22'+_0x54ca6d[_0x2634cf(0x120)]+'\x22'])});continue;}if(null!=_0x54ca6d[_0x2634cf(0x120)][_0x2634cf(0x121)](/^ +$/)){_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x136),'content':_0xd0d7f1(_0x38cd68,_0x2634cf(0x12e),_0xd0d7f1(_0x38cd68,_0x2634cf(0x169),_0x54ca6d[_0x2634cf(0x120)][_0x2634cf(0x124)]))});continue;}if(null!=_0x54ca6d[_0x2634cf(0x154)][_0x2634cf(0x121)](/^ +$/)){_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x15c),'content':_0xd0d7f1(_0x38cd68,_0x2634cf(0x141),_0xd0d7f1(_0x38cd68,_0x2634cf(0x169),_0x54ca6d[_0x2634cf(0x154)][_0x2634cf(0x124)]))});continue;}if(''!=_0x54ca6d[_0x2634cf(0x120)]){_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x136),'content':_0xd0d7f1(_0x38cd68,_0x2634cf(0x12e),'\x22'+_0x54ca6d[_0x2634cf(0x120)]+'\x22')});continue;}_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x15c),'content':_0xd0d7f1(_0x38cd68,_0x2634cf(0x141),'\x22'+_0x54ca6d[_0x2634cf(0x154)]+'\x22')});continue;case _0x2634cf(0x15e):case _0x2634cf(0x173):_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x136),'content':_0xd0d7f1(_0x38cd68,_0x2634cf(0x12e),this[_0x2634cf(0x157)](_0x54ca6d[_0x2634cf(0x14b)],_0x54ca6d[_0x2634cf(0x149)]))});continue;case _0x2634cf(0x12b):case _0x2634cf(0x146):_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x15c),'content':_0xd0d7f1(_0x38cd68,_0x2634cf(0x141),this[_0x2634cf(0x157)](_0x54ca6d[_0x2634cf(0x14b)],_0x54ca6d[_0x2634cf(0x149)]))});continue;case _0x2634cf(0x16e):_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x136),'content':_0xd0d7f1(_0x38cd68,_0x2634cf(0x12f),this[_0x2634cf(0x157)](_0x54ca6d[_0x2634cf(0x14b)],_0x54ca6d[_0x2634cf(0x149)]))});continue;case _0x2634cf(0x11c):_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x15c),'content':_0xd0d7f1(_0x38cd68,_0x2634cf(0x12a),this[_0x2634cf(0x157)](_0x54ca6d[_0x2634cf(0x14b)],_0x54ca6d[_0x2634cf(0x149)]))});continue;case _0x2634cf(0x172):_0x2c568c[_0x2634cf(0x140)](_0x54ca6d[_0x2634cf(0x155)]);continue;case _0x2634cf(0x14a):_0x20ca96[_0x2634cf(0x140)](_0x54ca6d[_0x2634cf(0x155)]);continue;default:_0x58342d[_0x2634cf(0x140)](_0x54ca6d);}if(_0x2c568c[_0x2634cf(0x124)]){const _0x4e91b9=_0x2c568c[_0x2634cf(0x167)](_0x26a8d3=>this[_0x2634cf(0x128)][_0x2634cf(0x160)](_0x26a8d3)?this[_0x2634cf(0x128)][_0x2634cf(0x13f)](_0x26a8d3):_0x26a8d3)[_0x2634cf(0x138)](',\x20');_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x170),'content':_0xd0d7f1(this[_0x2634cf(0x15d)],_0x2634cf(0x163),_0x4e91b9)});}if(_0x20ca96[_0x2634cf(0x124)]){const _0x10d38a=_0x20ca96[_0x2634cf(0x167)](_0x243f32=>this[_0x2634cf(0x128)][_0x2634cf(0x160)](_0x243f32)?this[_0x2634cf(0x128)][_0x2634cf(0x13f)](_0x243f32):_0x243f32)[_0x2634cf(0x138)](',\x20');_0x58342d[_0x2634cf(0x140)]({'type':_0x2634cf(0x170),'content':_0xd0d7f1(this[_0x2634cf(0x15d)],_0x2634cf(0x17a),_0x10d38a)});}return _0x58342d;}[_0x565d86(0x174)](_0x375f45){const _0x5d58c3=_0x565d86;for(const _0x315489 of this[_0x5d58c3(0x14d)]){const _0x5df084=_0x315489(_0x375f45);if(_0x5df084&&_0x5d58c3(0x14f)in _0x5df084)return _0x5df084;}}[_0x565d86(0x130)](_0x5f2729,_0x2dc3eb){const _0x4eafa2=_0x565d86,_0x18596d=_0x2dc3eb[_0x4eafa2(0x153)],_0x18818c=void 0x0===_0x18596d[_0x4eafa2(0x179)]?_0x4eafa2(0x14a):_0x4eafa2(0x172);_0x5f2729[_0x4eafa2(0x140)]({'type':_0x18818c,'key':_0x18596d[_0x4eafa2(0x155)]});}[_0x565d86(0x150)](_0x56fced,_0x28c04f){const _0x3c31d0=_0x565d86;_0x56fced[_0x3c31d0(0x140)]({'type':_0x3c31d0(0x170),'content':_0xd0d7f1(this[_0x3c31d0(0x15d)],_0x3c31d0(0x156),this[_0x3c31d0(0x157)](_0x28c04f[_0x3c31d0(0x162)]()[_0x3c31d0(0x15a)][_0x3c31d0(0x129)],0x1))});}[_0x565d86(0x16a)](_0x288564,_0x105626,_0x113b73){const _0x172ba4=_0x565d86;if(this[_0x172ba4(0x11d)](_0x288564,_0x105626),_0x113b73&&_0x113b73[_0x172ba4(0x162)]()&&!_0x105626[_0x172ba4(0x162)]()[_0x172ba4(0x123)][_0x172ba4(0x176)](_0x113b73[_0x172ba4(0x162)]()[_0x172ba4(0x15a)])){const _0x1ef7f8=_0x288564[_0x288564[_0x172ba4(0x124)]-0x1],_0x489bd3=_0x172ba4(0x136)==_0x105626[_0x172ba4(0x14f)]?_0x172ba4(0x120):_0x172ba4(0x154);_0x1ef7f8&&_0x172ba4(0x161)==_0x1ef7f8[_0x172ba4(0x14f)]&&(_0x1ef7f8[_0x489bd3]+='\x0a');}}}
|
|
23
|
+
function _0x141f(_0xb12148,_0x2dfacd){const _0x4d386a=_0x4d38();return _0x141f=function(_0x141f60,_0x3b28ab){_0x141f60=_0x141f60-0x1db;let _0x2b6fec=_0x4d386a[_0x141f60];return _0x2b6fec;},_0x141f(_0xb12148,_0x2dfacd);}const _0x3117f2=_0x141f;(function(_0x367cdd,_0x1603d1){const _0x357f47=_0x141f,_0x4becd7=_0x367cdd();while(!![]){try{const _0x3c8a67=-parseInt(_0x357f47(0x1e6))/0x1+parseInt(_0x357f47(0x222))/0x2+-parseInt(_0x357f47(0x1fd))/0x3*(-parseInt(_0x357f47(0x221))/0x4)+parseInt(_0x357f47(0x1e1))/0x5+-parseInt(_0x357f47(0x20e))/0x6*(-parseInt(_0x357f47(0x22f))/0x7)+-parseInt(_0x357f47(0x1f6))/0x8+parseInt(_0x357f47(0x225))/0x9;if(_0x3c8a67===_0x1603d1)break;else _0x4becd7['push'](_0x4becd7['shift']());}catch(_0x25d5bb){_0x4becd7['push'](_0x4becd7['shift']());}}}(_0x4d38,0xec8fc));import{getTranslation as _0x4246fc}from'./utils/common-translations.js';import{priorities as _0x11177a,insertToPriorityArray as _0x2dc80d}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x526bb6}from'./trackchangesediting.js';export default class f{constructor(_0x311ad6,_0x3db796){const _0xcb1229=_0x141f;this[_0xcb1229(0x205)]=[],this[_0xcb1229(0x20a)]=new Map(),this[_0xcb1229(0x213)]=[],this[_0xcb1229(0x1f9)]=new Map(),this[_0xcb1229(0x238)]=_0x311ad6,this[_0xcb1229(0x1dd)]=_0x3db796;}[_0x3117f2(0x1e8)](_0x266944){const _0x28b894=_0x3117f2,_0x14b27a=[],_0xc70387=new Set(),_0x1d9fb3=new Set();for(let _0x176819=0x0;_0x176819<_0x266944[_0x28b894(0x22e)];_0x176819++){const _0x572467=_0x266944[_0x176819];if(!_0x572467[_0x28b894(0x1ef)])continue;const _0x531953=this[_0x28b894(0x1ea)](_0x572467);if(_0x531953){if(null!=_0x572467[_0x28b894(0x21d)]){if(_0xc70387[_0x28b894(0x237)](_0x572467[_0x28b894(0x21d)]))continue;_0xc70387[_0x28b894(0x22b)](_0x572467[_0x28b894(0x21d)]);}_0x14b27a[_0x28b894(0x236)](_0x531953);}else{if(_0x28b894(0x1ec)!=_0x572467[_0x28b894(0x223)])_0x28b894(0x224)!=_0x572467[_0x28b894(0x223)]&&_0x28b894(0x1e9)!=_0x572467[_0x28b894(0x223)]||this[_0x28b894(0x201)](_0x14b27a,_0x572467,_0x266944[_0x176819+0x1]);else{const _0x48559f=_0x572467[_0x28b894(0x229)][_0x28b894(0x200)];if(_0x1d9fb3[_0x28b894(0x237)](_0x48559f))continue;_0x1d9fb3[_0x28b894(0x22b)](_0x572467[_0x28b894(0x229)][_0x28b894(0x200)]),_0x48559f==_0x526bb6?this[_0x28b894(0x1e2)](_0x14b27a,_0x572467):this[_0x28b894(0x220)](_0x14b27a,_0x572467);}}}return this[_0x28b894(0x1e4)](_0x14b27a);}[_0x3117f2(0x1f5)](_0x2a9e43){const _0x5ad4ce=_0x3117f2;this[_0x5ad4ce(0x205)][_0x5ad4ce(0x236)](_0x2a9e43);}[_0x3117f2(0x20d)](_0x18320b,_0x1ba582,_0x25bd49=_0x11177a[_0x3117f2(0x206)]){const _0x37eb9f=_0x3117f2;_0x37eb9f(0x20c)==typeof _0x18320b?_0x2dc80d(this[_0x37eb9f(0x213)],{'matchingCallback':_0x18320b,'label':_0x1ba582,'priority':_0x25bd49}):this[_0x37eb9f(0x20a)][_0x37eb9f(0x1ff)](_0x18320b,_0x1ba582);}[_0x3117f2(0x233)](_0x4decde,_0xc4a93c){const _0xe4ce55=_0x3117f2;this[_0xe4ce55(0x1f9)][_0xe4ce55(0x1ff)](_0x4decde,_0xc4a93c);}[_0x3117f2(0x227)](_0x335b44,_0x3ff128=0x1){const _0xb0eec2=_0x3117f2;let _0x882639;for(const _0x5aba50 of this[_0xb0eec2(0x213)])if(_0x5aba50[_0xb0eec2(0x218)](_0x335b44)){_0x882639=_0x5aba50[_0xb0eec2(0x1e5)];break;}return _0x882639||(_0x882639=this[_0xb0eec2(0x20a)][_0xb0eec2(0x239)](_0x335b44[_0xb0eec2(0x1df)])),_0x882639?_0x882639(_0x3ff128):0x1!==_0x3ff128?_0x3ff128+'\x20'+_0x335b44[_0xb0eec2(0x1df)]+'s':''+_0x335b44[_0xb0eec2(0x1df)];}[_0x3117f2(0x216)](_0x48d85d,_0x561498){const _0x4702c8=_0x3117f2,_0x349b3e=_0x561498[_0x4702c8(0x1f4)]()[_0x4702c8(0x20b)](),_0x6e2578=_0x4702c8(0x224)==_0x561498[_0x4702c8(0x223)]?_0x4702c8(0x22b):_0x4702c8(0x208);for(const _0x5e13c2 of _0x349b3e){const _0x360b8c=_0x5e13c2[_0x4702c8(0x234)],_0x512829=_0x48d85d[_0x48d85d[_0x4702c8(0x22e)]-0x1];if(_0x360b8c['is'](_0x4702c8(0x219)))_0x512829&&_0x512829[_0x4702c8(0x223)][_0x4702c8(0x21a)](_0x4702c8(0x1eb))>-0x1&&_0x48d85d[_0x4702c8(0x1f1)](),_0x512829&&_0x4702c8(0x231)==_0x512829[_0x4702c8(0x223)]?_0x512829[_0x6e2578]+=_0x360b8c[_0x4702c8(0x229)]:_0x48d85d[_0x4702c8(0x236)]({'type':_0x4702c8(0x231),'add':_0x4702c8(0x22b)==_0x6e2578?_0x360b8c[_0x4702c8(0x229)]:'','remove':_0x4702c8(0x208)==_0x6e2578?_0x360b8c[_0x4702c8(0x229)]:''});else{if(this[_0x4702c8(0x238)][_0x4702c8(0x1f2)](_0x360b8c)){const _0xa7091d=_0x360b8c;if(_0x512829&&_0x512829[_0x4702c8(0x223)][_0x4702c8(0x21a)](_0x4702c8(0x1eb))>-0x1&&_0x48d85d[_0x4702c8(0x1f1)](),_0x4702c8(0x1f3)==_0x5e13c2[_0x4702c8(0x223)])continue;_0x512829&&_0x512829[_0x4702c8(0x223)]==_0x6e2578+_0x4702c8(0x211)&&_0x512829[_0x4702c8(0x1fe)][_0x4702c8(0x1df)]==_0xa7091d[_0x4702c8(0x1df)]?_0x512829[_0x4702c8(0x1e3)]++:_0x48d85d[_0x4702c8(0x236)]({'type':_0x6e2578+_0x4702c8(0x211),'element':_0xa7091d,'quantity':0x1}),_0x349b3e[_0x4702c8(0x217)](_0x23d630=>!(_0x4702c8(0x1f3)==_0x23d630[_0x4702c8(0x223)]&&_0x23d630[_0x4702c8(0x234)]==_0x360b8c));}else{if(this[_0x4702c8(0x238)][_0x4702c8(0x22a)](_0x360b8c,_0x4702c8(0x22c))||_0x360b8c['is'](_0x4702c8(0x1fe),_0x4702c8(0x21e))){const _0x4cb2a1=_0x360b8c;if(_0x4702c8(0x22b)==_0x6e2578&&_0x4702c8(0x203)==_0x5e13c2[_0x4702c8(0x223)]||_0x4702c8(0x208)==_0x6e2578&&_0x4702c8(0x1f3)==_0x5e13c2[_0x4702c8(0x223)])continue;if(_0x512829&&-0x1==_0x512829[_0x4702c8(0x223)][_0x4702c8(0x21a)](_0x4702c8(0x1eb))){_0x4702c8(0x231)==_0x512829[_0x4702c8(0x223)]&&(_0x512829[_0x6e2578]+='\x0a');continue;}let _0xc42fe2;if(_0xc42fe2=_0x4702c8(0x22b)==_0x6e2578?_0x4cb2a1[_0x4702c8(0x1ed)]&&!this[_0x4702c8(0x238)][_0x4702c8(0x1f2)](_0x4cb2a1[_0x4702c8(0x1ed)])?_0x4cb2a1[_0x4702c8(0x1ed)]:null:_0x4cb2a1[_0x4702c8(0x1e7)]&&!this[_0x4702c8(0x238)][_0x4702c8(0x1f2)](_0x4cb2a1[_0x4702c8(0x1e7)])?_0x4cb2a1[_0x4702c8(0x1e7)]:null,_0x4cb2a1[_0x4702c8(0x230)]||_0xc42fe2&&_0xc42fe2[_0x4702c8(0x230)]){const _0x3760c9=_0xc42fe2&&_0xc42fe2[_0x4702c8(0x230)]?_0xc42fe2:_0x4cb2a1;_0x512829&&_0x512829[_0x4702c8(0x223)]==_0x6e2578+_0x4702c8(0x22d)&&_0x512829[_0x4702c8(0x1fe)][_0x4702c8(0x1df)]==_0x3760c9[_0x4702c8(0x1df)]?_0x512829[_0x4702c8(0x1e3)]++:_0x48d85d[_0x4702c8(0x236)]({'type':_0x6e2578+_0x4702c8(0x22d),'element':_0x3760c9,'quantity':0x1});}else _0x48d85d[_0x4702c8(0x236)]({'type':_0x6e2578+_0x4702c8(0x1eb),'element':_0x4cb2a1});}}}}}[_0x3117f2(0x1e4)](_0x87f5a){const _0x179e02=_0x3117f2,_0x330857=this[_0x179e02(0x1dd)],_0x30a086=[],_0x2d13dd=[],_0x193769=[];for(const _0x1b115a of _0x87f5a)switch(_0x1b115a[_0x179e02(0x223)]){case _0x179e02(0x231):if(_0x1b115a[_0x179e02(0x22b)]=_0x1b115a[_0x179e02(0x22b)][_0x179e02(0x1fc)](/(\S)\u000A+(\S)/g,_0x179e02(0x204))[_0x179e02(0x1fc)](/\u000A/g,''),_0x1b115a[_0x179e02(0x208)]=_0x1b115a[_0x179e02(0x208)][_0x179e02(0x1fc)](/(\S)\u000A+(\S)/g,_0x179e02(0x204))[_0x179e02(0x1fc)](/\u000A/g,''),''!=_0x1b115a[_0x179e02(0x22b)]&&''!=_0x1b115a[_0x179e02(0x208)]){_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1fc),'content':_0x4246fc(_0x330857,_0x179e02(0x1de),['\x22'+_0x1b115a[_0x179e02(0x208)]+'\x22','\x22'+_0x1b115a[_0x179e02(0x22b)]+'\x22'])});continue;}if(null!=_0x1b115a[_0x179e02(0x22b)][_0x179e02(0x214)](/^ +$/)){_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x224),'content':_0x4246fc(_0x330857,_0x179e02(0x21f),_0x4246fc(_0x330857,_0x179e02(0x1db),_0x1b115a[_0x179e02(0x22b)][_0x179e02(0x22e)]))});continue;}if(null!=_0x1b115a[_0x179e02(0x208)][_0x179e02(0x214)](/^ +$/)){_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1e9),'content':_0x4246fc(_0x330857,_0x179e02(0x232),_0x4246fc(_0x330857,_0x179e02(0x1db),_0x1b115a[_0x179e02(0x208)][_0x179e02(0x22e)]))});continue;}if(''!=_0x1b115a[_0x179e02(0x22b)]){_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x224),'content':_0x4246fc(_0x330857,_0x179e02(0x21f),'\x22'+_0x1b115a[_0x179e02(0x22b)]+'\x22')});continue;}_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1e9),'content':_0x4246fc(_0x330857,_0x179e02(0x232),'\x22'+_0x1b115a[_0x179e02(0x208)]+'\x22')});continue;case _0x179e02(0x21b):case _0x179e02(0x1e0):_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x224),'content':_0x4246fc(_0x330857,_0x179e02(0x21f),this[_0x179e02(0x227)](_0x1b115a[_0x179e02(0x1fe)],_0x1b115a[_0x179e02(0x1e3)]))});continue;case _0x179e02(0x202):case _0x179e02(0x210):_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1e9),'content':_0x4246fc(_0x330857,_0x179e02(0x232),this[_0x179e02(0x227)](_0x1b115a[_0x179e02(0x1fe)],_0x1b115a[_0x179e02(0x1e3)]))});continue;case _0x179e02(0x20f):_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x224),'content':_0x4246fc(_0x330857,_0x179e02(0x1f0),this[_0x179e02(0x227)](_0x1b115a[_0x179e02(0x1fe)],_0x1b115a[_0x179e02(0x1e3)]))});continue;case _0x179e02(0x1fb):_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1e9),'content':_0x4246fc(_0x330857,_0x179e02(0x207),this[_0x179e02(0x227)](_0x1b115a[_0x179e02(0x1fe)],_0x1b115a[_0x179e02(0x1e3)]))});continue;case _0x179e02(0x215):_0x2d13dd[_0x179e02(0x236)](_0x1b115a[_0x179e02(0x200)]);continue;case _0x179e02(0x226):_0x193769[_0x179e02(0x236)](_0x1b115a[_0x179e02(0x200)]);continue;default:_0x30a086[_0x179e02(0x236)](_0x1b115a);}if(_0x2d13dd[_0x179e02(0x22e)]){const _0x53fb09=_0x2d13dd[_0x179e02(0x212)](_0x3f48fb=>this[_0x179e02(0x1f9)][_0x179e02(0x237)](_0x3f48fb)?this[_0x179e02(0x1f9)][_0x179e02(0x239)](_0x3f48fb):_0x3f48fb)[_0x179e02(0x21c)](',\x20');_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1fa),'content':_0x4246fc(this[_0x179e02(0x1dd)],_0x179e02(0x1dc),_0x53fb09)});}if(_0x193769[_0x179e02(0x22e)]){const _0x5df723=_0x193769[_0x179e02(0x212)](_0x534c83=>this[_0x179e02(0x1f9)][_0x179e02(0x237)](_0x534c83)?this[_0x179e02(0x1f9)][_0x179e02(0x239)](_0x534c83):_0x534c83)[_0x179e02(0x21c)](',\x20');_0x30a086[_0x179e02(0x236)]({'type':_0x179e02(0x1fa),'content':_0x4246fc(this[_0x179e02(0x1dd)],_0x179e02(0x1f8),_0x5df723)});}return _0x30a086;}[_0x3117f2(0x1ea)](_0x1437fb){const _0x1ef762=_0x3117f2;for(const _0x204a23 of this[_0x1ef762(0x205)]){const _0x2d0a89=_0x204a23(_0x1437fb);if(_0x2d0a89&&_0x1ef762(0x223)in _0x2d0a89)return _0x2d0a89;}}[_0x3117f2(0x220)](_0x2c410e,_0x2f8813){const _0x1e4242=_0x3117f2,_0x3bdc46=_0x2f8813[_0x1e4242(0x229)],_0x2d04ff=void 0x0===_0x3bdc46[_0x1e4242(0x228)]?_0x1e4242(0x226):_0x1e4242(0x215);_0x2c410e[_0x1e4242(0x236)]({'type':_0x2d04ff,'key':_0x3bdc46[_0x1e4242(0x200)]});}[_0x3117f2(0x1e2)](_0x30ef9f,_0x256126){const _0x424183=_0x3117f2;_0x30ef9f[_0x424183(0x236)]({'type':_0x424183(0x1fa),'content':_0x4246fc(this[_0x424183(0x1dd)],_0x424183(0x209),this[_0x424183(0x227)](_0x256126[_0x424183(0x1f4)]()[_0x424183(0x1f7)][_0x424183(0x1ee)],0x1))});}[_0x3117f2(0x201)](_0x3a20dc,_0x3885f2,_0x2d18d9){const _0x498cd6=_0x3117f2;if(this[_0x498cd6(0x216)](_0x3a20dc,_0x3885f2),_0x2d18d9&&_0x2d18d9[_0x498cd6(0x1f4)]()&&!_0x3885f2[_0x498cd6(0x1f4)]()[_0x498cd6(0x235)][_0x498cd6(0x23a)](_0x2d18d9[_0x498cd6(0x1f4)]()[_0x498cd6(0x1f7)])){const _0x1c7d24=_0x3a20dc[_0x3a20dc[_0x498cd6(0x22e)]-0x1],_0x426721=_0x498cd6(0x224)==_0x3885f2[_0x498cd6(0x223)]?_0x498cd6(0x22b):_0x498cd6(0x208);_0x1c7d24&&_0x498cd6(0x231)==_0x1c7d24[_0x498cd6(0x223)]&&(_0x1c7d24[_0x426721]+='\x0a');}}}function _0x4d38(){const _0x2c2ba3=['8766330sWnySb','addContainer','removeObject','Object','map','_itemLabelsCallbacks','match','addFormat','_addDescriptionItems','skip','matchingCallback','$textProxy','indexOf','addEmptyContainer','join','subType','softBreak','*Insert:*\x20%0','_handleAttributeSuggestionDescription','19984SyVywN','2108316hYQtvC','type','insertion','83682QEbxBh','removeFormat','getItemLabel','newValue','data','checkChild','add','$text','EmptyContainer','length','7HSqoGm','isEmpty','text','*Remove:*\x20%0','registerAttributeLabel','item','end','push','has','_schema','get','isEqual','ELEMENT_SPACE','*Set\x20format:*\x20%0','_locale','REPLACE_TEXT','name','addObject','731475slhCXc','_handleRenameSuggestionDescription','quantity','_resolveDescriptionItems','label','985973pIHQqk','previousSibling','getDescriptions','deletion','_handleCustomCallbackDescription','Container','attribute','nextSibling','nodeAfter','isInContent','*Split:*\x20%0','pop','isObject','elementEnd','getFirstRange','registerDescriptionCallback','15279368BLKAxD','start','*Remove\x20format:*\x20%0','_attributeLabels','format','removeContainer','replace','717vauVHR','element','set','key','_handleInsertRemoveSuggestionDescription','removeEmptyContainer','elementStart','$1\x20$2','_customCallbacks','normal','*Merge:*\x20%0','remove','*Change\x20to:*\x20%0','_itemLabels','getWalker','function','registerElementLabel'];_0x4d38=function(){return _0x2c2ba3;};return _0x4d38();}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2739(_0x340608,_0x349708){var _0x5b708a=_0x5b70();return _0x2739=function(_0x27398a,_0x703b99){_0x27398a=_0x27398a-0x1f2;var _0x4dec1a=_0x5b708a[_0x27398a];return _0x4dec1a;},_0x2739(_0x340608,_0x349708);}var _0x35c441=_0x2739;(function(_0x2dc95b,_0x1eda4b){var _0x5333c0=_0x2739,_0x1e6d7d=_0x2dc95b();while(!![]){try{var _0x11c3d7=-parseInt(_0x5333c0(0x1f4))/0x1+parseInt(_0x5333c0(0x1fa))/0x2*(parseInt(_0x5333c0(0x1f3))/0x3)+-parseInt(_0x5333c0(0x1ff))/0x4*(parseInt(_0x5333c0(0x204))/0x5)+parseInt(_0x5333c0(0x200))/0x6+parseInt(_0x5333c0(0x1f2))/0x7+-parseInt(_0x5333c0(0x201))/0x8+-parseInt(_0x5333c0(0x1f6))/0x9*(-parseInt(_0x5333c0(0x203))/0xa);if(_0x11c3d7===_0x1eda4b)break;else _0x1e6d7d['push'](_0x1e6d7d['shift']());}catch(_0x13be39){_0x1e6d7d['push'](_0x1e6d7d['shift']());}}}(_0x5b70,0x560aa));function _0x5b70(){var _0x41d8c5=['2814360TMBSah','5114232WPSESY','pluginName','16290mWdbLu','365FQummM','addSuggestionData','getSuggestions','adapter','3109330EQbnhv','21897HULlOg','694547snYneS','get','3303fUvadA','TrackChanges','Comments','getSuggestion','82EdFFkn','editor','requires','plugins','addSuggestion','6800pkyXUN'];_0x5b70=function(){return _0x41d8c5;};return _0x5b70();}import{Plugin as _0x58923d}from'ckeditor5/src/core.js';import _0x49d8e3 from'./trackchangesui.js';import _0x38c4c4 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x58923d{static get[_0x35c441(0x1fc)](){var _0x11904d=_0x35c441;return[_0x38c4c4,_0x49d8e3,_0x11904d(0x1f8)];}static get[_0x35c441(0x202)](){var _0x1ffa9e=_0x35c441;return _0x1ffa9e(0x1f7);}set[_0x35c441(0x207)](_0x428790){var _0xd50de3=_0x35c441;this[_0xd50de3(0x1fb)][_0xd50de3(0x1fd)][_0xd50de3(0x1f5)](_0x38c4c4)[_0xd50de3(0x207)]=_0x428790;}get[_0x35c441(0x207)](){var _0x5f4230=_0x35c441;return this[_0x5f4230(0x1fb)][_0x5f4230(0x1fd)][_0x5f4230(0x1f5)](_0x38c4c4)[_0x5f4230(0x207)];}[_0x35c441(0x1fe)](_0x109740){var _0x10f450=_0x35c441;return this[_0x10f450(0x1fb)][_0x10f450(0x1fd)][_0x10f450(0x1f5)](_0x38c4c4)[_0x10f450(0x205)](_0x109740);}[_0x35c441(0x206)]({skipNotAttached:_0x27d33a=!0x1,toJSON:_0x4dbd8c=!0x1}={}){var _0x3bd4c7=_0x35c441;return this[_0x3bd4c7(0x1fb)][_0x3bd4c7(0x1fd)][_0x3bd4c7(0x1f5)](_0x38c4c4)[_0x3bd4c7(0x206)]({'skipNotAttached':_0x27d33a,'toJSON':_0x4dbd8c});}[_0x35c441(0x1f9)](_0x37d486){var _0x4b24d4=_0x35c441;return this[_0x4b24d4(0x1fb)][_0x4b24d4(0x1fd)][_0x4b24d4(0x1f5)](_0x38c4c4)[_0x4b24d4(0x1f9)](_0x37d486);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1365f4=_0x4ea7;(function(_0x2320f4,_0x2b8317){const _0x423e67=_0x4ea7,_0x5384cd=_0x2320f4();while(!![]){try{const _0x52c387=parseInt(_0x423e67(0x1c7))/0x1+-parseInt(_0x423e67(0x1d0))/0x2+-parseInt(_0x423e67(0x1d5))/0x3*(-parseInt(_0x423e67(0x1b3))/0x4)+parseInt(_0x423e67(0x1a2))/0x5+-parseInt(_0x423e67(0x1d4))/0x6+-parseInt(_0x423e67(0x1c2))/0x7*(-parseInt(_0x423e67(0x1c0))/0x8)+-parseInt(_0x423e67(0x199))/0x9*(parseInt(_0x423e67(0x1c4))/0xa);if(_0x52c387===_0x2b8317)break;else _0x5384cd['push'](_0x5384cd['shift']());}catch(_0x3740a4){_0x5384cd['push'](_0x5384cd['shift']());}}}(_0x5b4a,0x610ab));import{Plugin as _0x20ac89}from'ckeditor5/src/core.js';import{CKEditorError as _0x42df51}from'ckeditor5/src/utils.js';import _0x54350b from'./trackchangesediting.js';import{sanitizeEditorConfig as _0xc6219e}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x1365f4(0x1bc)];function _0x4ea7(_0x5b4cd2,_0x53dcb3){const _0x5b4aad=_0x5b4a();return _0x4ea7=function(_0x4ea710,_0x1f01a5){_0x4ea710=_0x4ea710-0x196;let _0x5085a4=_0x5b4aad[_0x4ea710];return _0x5085a4;},_0x4ea7(_0x5b4cd2,_0x53dcb3);}function _0x5b4a(){const _0x4ee896=['create','createDocumentFragment','pluginName','391329MPgCmw','destroy','createElement','init','config','rootsAttributes','getDataWithDiscardedSuggestions','TrackChangesEditing','editorCreator','3381585rHXqtA','trackChangesData','set','function','push','users','requires','end','result','discardAllSuggestions','getFullData','TrackChangesData','useAnonymousUser','data','TrackChangesDataGetter','CommentsRepository','editor','96fWViUj','div','name','map','getRootsAttributes','define','get','_adapter','getCommentThreads','Pagination','getUser','appendChild','execute','13016rNmFAt','plugins','1484jPLYPk','getDataWithAcceptedSuggestions','30bUoWly','Users','addCommentThread','398049fslqZS','acceptAllSuggestions','getRootNames','getSuggestions','trackChangesData.editorCreator','addSuggestionData','document','model','constructor','1175408MnPfvg','reduce','addUser','track-changes-data-invalid-editor-creator','3577608ZoVFXw','36576ApKZPW'];_0x5b4a=function(){return _0x4ee896;};return _0x5b4a();}export default class P extends _0x20ac89{static get[_0x1365f4(0x1a8)](){return[_0x54350b];}static get[_0x1365f4(0x198)](){const _0x294df5=_0x1365f4;return _0x294df5(0x1ad);}[_0x1365f4(0x19c)](){const _0x1b8361=_0x1365f4,_0x497f63=this[_0x1b8361(0x1b2)];if(_0x497f63[_0x1b8361(0x19d)][_0x1b8361(0x1b8)](_0x1b8361(0x1cb),_0x19c409=>{const _0x8c5aa1=_0x1b8361,_0x381cc2=_0x497f63[_0x8c5aa1(0x1ce)][_0x8c5aa1(0x1cd)][_0x8c5aa1(0x1c9)]()[_0x8c5aa1(0x1d1)]((_0x398b06,_0x15fb15)=>(_0x398b06[_0x15fb15]='',_0x398b06),{});return _0x497f63[_0x8c5aa1(0x1cf)][_0x8c5aa1(0x196)](_0x381cc2,_0x19c409);}),_0x1b8361(0x1a5)!=typeof _0x497f63[_0x1b8361(0x19d)][_0x1b8361(0x1b9)](_0x1b8361(0x1a3))[_0x1b8361(0x1a1)])throw new _0x42df51(_0x1b8361(0x1d3));}[_0x1365f4(0x1c3)](_0x2627ae){const _0x2035ed=_0x1365f4;return N(this[_0x2035ed(0x1b2)],!0x0,_0x2627ae);}[_0x1365f4(0x19f)](_0x55d3d2){const _0x1f195=_0x1365f4;return N(this[_0x1f195(0x1b2)],!0x1,_0x55d3d2);}}class D extends _0x20ac89{static get[_0x1365f4(0x198)](){const _0x416c4f=_0x1365f4;return _0x416c4f(0x1b0);}constructor(_0x40e511){const _0x268046=_0x1365f4;super(_0x40e511),this[_0x268046(0x1aa)]=_0x268046(0x1a9);}[_0x1365f4(0x19c)](){const _0x4af157=_0x1365f4;this[_0x4af157(0x1b2)][_0x4af157(0x1c1)][_0x4af157(0x1b9)](_0x4af157(0x1b1))[_0x4af157(0x1ba)]={'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[_0x4af157(0x1b2)][_0x4af157(0x1c1)][_0x4af157(0x1b9)](_0x4af157(0x1a0))[_0x4af157(0x1ba)]=null;}}function v(_0x1a2487){const _0x23d2b2=_0x1365f4;return void 0x0!==_0x1a2487[_0x23d2b2(0x1b7)];}async function N(_0x2029ed,_0x1a2222,_0x4c4b09){const _0x1e68d2=_0x1365f4,_0x579997=_0xc6219e(_0x2029ed,T);_0x579997[_0x1e68d2(0x1c1)][_0x1e68d2(0x1a6)](_0x54350b,D),_0x579997[_0x1e68d2(0x19e)]=v(_0x2029ed)?_0x2029ed[_0x1e68d2(0x1b7)]():void 0x0;const _0x47f036=document[_0x1e68d2(0x197)](),_0xa383af=_0x2029ed[_0x1e68d2(0x19d)][_0x1e68d2(0x1b9)](_0x1e68d2(0x1a3))[_0x1e68d2(0x1a1)],_0x49727d=await _0xa383af(_0x579997,()=>function(_0x4466ac){const _0x504f8d=_0x1e68d2,_0x522c48=document[_0x504f8d(0x19b)](_0x504f8d(0x1b4));return _0x4466ac[_0x504f8d(0x1be)](_0x522c48),_0x522c48;}(_0x47f036));!function(_0x1c704d,_0x2757ca){const _0x14a92e=_0x1e68d2,_0x8e11db=_0x1c704d[_0x14a92e(0x1ce)][_0x14a92e(0x1cd)][_0x14a92e(0x1c9)]()[_0x14a92e(0x1d1)]((_0x586fc4,_0x3fb504)=>(_0x586fc4[_0x3fb504]=_0x1c704d[_0x14a92e(0x1af)][_0x14a92e(0x1b9)]({'rootName':_0x3fb504}),_0x586fc4),{}),_0x2ce36a=_0x1c704d[_0x14a92e(0x1c1)][_0x14a92e(0x1b9)](_0x14a92e(0x1c5))[_0x14a92e(0x1a7)][_0x14a92e(0x1b6)](_0x1f1a85=>({'id':_0x1f1a85['id'],'name':_0x1f1a85[_0x14a92e(0x1b5)]})),_0xa212b3=_0x1c704d[_0x14a92e(0x1c1)][_0x14a92e(0x1b9)](_0x14a92e(0x1a0))[_0x14a92e(0x1ca)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5de1a4=_0x1c704d[_0x14a92e(0x1c1)][_0x14a92e(0x1b9)](_0x14a92e(0x1b1))[_0x14a92e(0x1bb)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x55d4d6=_0x2757ca[_0x14a92e(0x1c1)][_0x14a92e(0x1b9)](_0x14a92e(0x1c5)),_0x263fcc=_0x2757ca[_0x14a92e(0x1c1)][_0x14a92e(0x1b9)](_0x14a92e(0x1a0)),_0x2bcd87=_0x2757ca[_0x14a92e(0x1c1)][_0x14a92e(0x1b9)](_0x14a92e(0x1b1));for(const _0x3df6e8 of _0x2ce36a)_0x55d4d6[_0x14a92e(0x1bd)](_0x3df6e8['id'])||_0x55d4d6[_0x14a92e(0x1d2)](_0x3df6e8);_0x55d4d6['me']||_0x55d4d6[_0x14a92e(0x1ae)]();for(const _0x1b352b of _0x5de1a4)_0x2bcd87[_0x14a92e(0x1c6)](_0x1b352b);for(const _0x2a3c30 of _0xa212b3)_0x263fcc[_0x14a92e(0x1cc)](_0x2a3c30);_0x2757ca[_0x14a92e(0x1af)][_0x14a92e(0x1a4)](_0x8e11db);}(_0x2029ed,_0x49727d),_0x49727d[_0x1e68d2(0x1bf)](_0x1a2222?_0x1e68d2(0x1c8):_0x1e68d2(0x1ab));const _0x116082=v(_0x49727d)?_0x49727d[_0x1e68d2(0x1ac)](_0x4c4b09):_0x49727d[_0x1e68d2(0x1af)][_0x1e68d2(0x1b9)](_0x4c4b09);return await _0x49727d[_0x1e68d2(0x19a)](),_0x116082;}
|