@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240717.0 → 0.0.0-nightly-20240719.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/mergefields.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
|
-
function _0x1304(){const _0x12bdb1=['refresh','format','map','mergeTableCellRight','mergeTableCellDown','_isForcedDefaultExecutionBlock','afterInit','50707OOhkcT','length','plugins','findAncestor','commandName','horizontally','subType','table','formatBlock','_acceptFormatSuggestionCallbackFactory','86555ruKTHN','isInContent','push','1240745wQjcgV','low','change','registerDescriptionCallback','createRangeOn','$graveyard','mergeTableCellUp','createTableWalker','isEnabled','mergeTableCells','direction','_tablePostFixingSubtypes','locale','getSuggestions','getAncestors','execute','splitTableCellVertically','model','tableCell','getSelectionAffectedTableCells','stop','forceDefaultExecution','document','containsRange','2893696EMgUJo','deletion','rootName','descriptionFactory','type','*Merge\x20cells*','getRanges','commands','has','registerCustomCallback','detach','getFirstPosition','return','70gUgEmS','root','getCellLocation','size','filter','editor','_suggestionFactory','insertion','from','markMultiRangeBlockFormat','288JBFSGx','TableEditing','cell','formatInline','10038KCqdjQ','_areSelectedCellsMergable','*Split\x20cell:*\x20horizontally','set:isEnabled','mergeTableCellLeft','fromRange','75RKleDv','TableUtils','TrackChangesEditing','element','author','_areMergableCells','12GaHXLt','requires','get','enableCommand','markBlockFormat','splitTableCellHorizontally','accept','*Split\x20cell:*\x20vertically','selection','add','highest','trackChanges','740547hYyWmP','find','setSelection','value','257319RREJVx'];_0x1304=function(){return _0x12bdb1;};return _0x1304();}const _0x16e358=_0x654e;function _0x654e(_0x559cf2,_0x172417){const _0x130410=_0x1304();return _0x654e=function(_0x654e8b,_0x1b3d1d){_0x654e8b=_0x654e8b-0xf5;let _0x25b1a9=_0x130410[_0x654e8b];return _0x25b1a9;},_0x654e(_0x559cf2,_0x172417);}(function(_0xb9eafb,_0x1a6dac){const _0x1a6c24=_0x654e,_0x16102d=_0xb9eafb();while(!![]){try{const _0x3c3967=-parseInt(_0x1a6c24(0x10e))/0x1*(-parseInt(_0x1a6c24(0xf6))/0x2)+-parseInt(_0x1a6c24(0x102))/0x3+parseInt(_0x1a6c24(0x133))/0x4+-parseInt(_0x1a6c24(0x154))/0x5*(-parseInt(_0x1a6c24(0x14e))/0x6)+parseInt(_0x1a6c24(0x118))/0x7*(parseInt(_0x1a6c24(0x14a))/0x8)+-parseInt(_0x1a6c24(0x106))/0x9+-parseInt(_0x1a6c24(0x140))/0xa*(parseInt(_0x1a6c24(0x11b))/0xb);if(_0x3c3967===_0x1a6dac)break;else _0x16102d['push'](_0x16102d['shift']());}catch(_0x1eb85c){_0x16102d['push'](_0x16102d['shift']());}}}(_0x1304,0x69b00));import{Plugin as _0x17f666}from'ckeditor5/src/core.js';import _0x24b9bc from'./table.js';import{LiveRange as _0xec6d2f}from'ckeditor5/src/engine.js';import{getTranslation as _0x4036fc}from'../utils/common-translations.js';export default class At extends _0x17f666{static get[_0x16e358(0xf7)](){return[_0x24b9bc];}[_0x16e358(0x10d)](){const _0x8516b8=_0x16e358,_0x3e8f86=this[_0x8516b8(0x145)],_0x2971b8=_0x3e8f86[_0x8516b8(0x12c)][_0x8516b8(0x131)][_0x8516b8(0xfe)],_0x292a5f=_0x3e8f86[_0x8516b8(0x127)];if(!_0x3e8f86[_0x8516b8(0x110)][_0x8516b8(0x13b)](_0x8516b8(0x14b)))return;const _0x38ea9d=_0x3e8f86[_0x8516b8(0x110)][_0x8516b8(0xf8)](_0x8516b8(0x156)),_0x57f68f=_0x3e8f86[_0x8516b8(0x110)][_0x8516b8(0xf8)](_0x8516b8(0x155)),_0xe15453=_0x3e8f86[_0x8516b8(0x110)][_0x8516b8(0xf8)](_0x24b9bc);_0xe15453[_0x8516b8(0x126)][_0x8516b8(0x11a)](_0x8516b8(0x124)),_0x38ea9d[_0x8516b8(0xf9)](_0x8516b8(0x124),()=>{const _0x1b9394=_0x8516b8,_0xe52f56=_0x57f68f[_0x1b9394(0x12e)](_0x3e8f86[_0x1b9394(0x12c)][_0x1b9394(0x131)][_0x1b9394(0xfe)]);_0x3e8f86[_0x1b9394(0x12c)][_0x1b9394(0x11d)](()=>{const _0x4fa202=_0x1b9394;_0x38ea9d[_0x4fa202(0x149)](_0xe52f56,{'commandName':_0x4fa202(0x124),'commandParams':[]},[],_0x4fa202(0x124));});}),_0x3e8f86[_0x8516b8(0x13a)][_0x8516b8(0xf8)](_0x8516b8(0x124))['on'](_0x8516b8(0x12a),(_0x3e1657,_0x5c37bf)=>{const _0x176426=_0x8516b8;_0x3e8f86[_0x176426(0x13a)][_0x176426(0xf8)](_0x176426(0x101))[_0x176426(0x105)]&&(_0x5c37bf[_0x176426(0x10f)]>0x0&&_0x5c37bf[_0x5c37bf[_0x176426(0x10f)]-0x1]&&_0x5c37bf[_0x5c37bf[_0x176426(0x10f)]-0x1][_0x176426(0x130)]||_0x38ea9d[_0x176426(0x10c)]||this[_0x176426(0x14f)]()||_0x3e1657[_0x176426(0x12f)]());},{'priority':_0x8516b8(0x100)});for(const _0x4d7ac8 of[_0x8516b8(0x121),_0x8516b8(0x10a),_0x8516b8(0x10b),_0x8516b8(0x152)]){const _0x54c571=_0x3e8f86[_0x8516b8(0x13a)][_0x8516b8(0xf8)](_0x4d7ac8);_0x38ea9d[_0x8516b8(0xf9)](_0x4d7ac8,()=>{const _0x561e95=_0x8516b8,_0x499e69=_0x3e8f86[_0x561e95(0x12c)][_0x561e95(0x131)][_0x561e95(0xfe)][_0x561e95(0x13e)]()[_0x561e95(0x129)]()[_0x561e95(0x103)](_0x510dfe=>_0x510dfe['is'](_0x561e95(0x157),_0x561e95(0x12d))),_0x36675e=_0x54c571[_0x561e95(0x105)];_0x3e8f86[_0x561e95(0x12c)][_0x561e95(0x11d)](()=>{const _0x431818=_0x561e95;_0x38ea9d[_0x431818(0x149)]([_0x499e69,_0x36675e],{'commandName':_0x431818(0x124),'commandParams':[]},[],_0x431818(0x124));});});}for(const _0x4784b4 of[_0x8516b8(0x12b),_0x8516b8(0xfb)]){const _0x2dd2f2=_0x3e8f86[_0x8516b8(0x13a)][_0x8516b8(0xf8)](_0x4784b4);_0x38ea9d[_0x8516b8(0xf9)](_0x4784b4,()=>{const _0x3a3ef7=_0x8516b8,_0x48f99c=_0x57f68f[_0x3a3ef7(0x12e)](_0x3e8f86[_0x3a3ef7(0x12c)][_0x3a3ef7(0x131)][_0x3a3ef7(0xfe)])[0x0],_0x2a99b1=_0x48f99c[_0x3a3ef7(0x111)](_0x3a3ef7(0x115)),{column:_0x531dee,row:_0x1f1215}=_0x57f68f[_0x3a3ef7(0x142)](_0x48f99c);let _0x194eba=[];if(_0x3a3ef7(0x113)==_0x2dd2f2[_0x3a3ef7(0x125)]){const _0x21ef14=_0x57f68f[_0x3a3ef7(0x122)](_0x2a99b1,{'startRow':_0x1f1215,'endRow':_0x1f1215,'includeAllSlots':!0x0});_0x194eba=Array[_0x3a3ef7(0x148)](_0x21ef14)[_0x3a3ef7(0x109)](_0x2b9f7f=>_0x2b9f7f[_0x3a3ef7(0x14c)]);}else{const _0xebe5bb=_0x57f68f[_0x3a3ef7(0x122)](_0x2a99b1,{'column':_0x531dee,'includeAllSlots':!0x0});_0x194eba=Array[_0x3a3ef7(0x148)](_0xebe5bb)[_0x3a3ef7(0x109)](_0x3debdc=>_0x3debdc[_0x3a3ef7(0x14c)]);}_0x3e8f86[_0x3a3ef7(0x12c)][_0x3a3ef7(0x11d)](_0xb376a9=>{const _0x5cfc12=_0x3a3ef7;_0x38ea9d[_0x5cfc12(0xfa)](_0xb376a9[_0x5cfc12(0x11f)](_0x48f99c),{'commandName':_0x4784b4,'commandParams':[]},_0x194eba,_0x4784b4);});});}_0x38ea9d[_0x8516b8(0x136)][_0x8516b8(0x11e)](_0x28d159=>{const _0x18b1e7=_0x8516b8;if(_0x18b1e7(0x116)!=_0x28d159[_0x18b1e7(0x137)]&&_0x18b1e7(0x14d)!=_0x28d159[_0x18b1e7(0x137)])return;const {data:_0x56dd49}=_0x28d159;return _0x56dd49&&_0x18b1e7(0x124)==_0x56dd49[_0x18b1e7(0x112)]?{'type':_0x18b1e7(0x108),'content':_0x4036fc(_0x292a5f,_0x18b1e7(0x138))}:void 0x0;}),_0x38ea9d[_0x8516b8(0x136)][_0x8516b8(0x11e)](_0x30d5f5=>{const _0x2bf081=_0x8516b8;if(_0x2bf081(0x116)!=_0x30d5f5[_0x2bf081(0x137)]&&_0x2bf081(0x14d)!=_0x30d5f5[_0x2bf081(0x137)])return;const {data:_0x2e2521}=_0x30d5f5;return _0x2e2521?_0x2bf081(0x12b)==_0x2e2521[_0x2bf081(0x112)]?{'type':_0x2bf081(0x108),'content':_0x4036fc(_0x292a5f,_0x2bf081(0xfd))}:_0x2bf081(0xfb)==_0x2e2521[_0x2bf081(0x112)]?{'type':_0x2bf081(0x108),'content':_0x4036fc(_0x292a5f,_0x2bf081(0x150))}:void 0x0:void 0x0;});const _0x513902=_0xe15453[_0x8516b8(0x117)]();for(const _0x38a327 of[_0x8516b8(0x121),_0x8516b8(0x10a),_0x8516b8(0x10b),_0x8516b8(0x152)])_0x38ea9d[_0x8516b8(0x146)][_0x8516b8(0x13c)](_0x8516b8(0x116),_0x38a327,_0x8516b8(0xfc),_0x513902);for(const _0x47f82c of[_0x8516b8(0x12b),_0x8516b8(0xfb)])_0x38ea9d[_0x8516b8(0x146)][_0x8516b8(0x13c)](_0x8516b8(0x116),_0x47f82c,_0x8516b8(0xfc),_0x513902);_0x38ea9d[_0x8516b8(0x146)][_0x8516b8(0x13c)](_0x8516b8(0x116),_0x8516b8(0x124),_0x8516b8(0xfc),_0x233153=>{const _0x3bcf95=_0x8516b8;_0x3e8f86[_0x3bcf95(0x12c)][_0x3bcf95(0x11d)](_0x9e20f2=>{const _0x22910c=_0x3bcf95,_0x50984e=Array[_0x22910c(0x148)](_0x2971b8[_0x22910c(0x139)]())[_0x22910c(0x109)](_0x37f38d=>_0xec6d2f[_0x22910c(0x153)](_0x37f38d));_0x9e20f2[_0x22910c(0x104)](_0x233153),_0x3e8f86[_0x22910c(0x13a)][_0x22910c(0xf8)](_0x22910c(0x124))[_0x22910c(0x107)](),_0x3e8f86[_0x22910c(0x12a)](_0x22910c(0x124),{'forceDefaultExecution':!0x0});const _0xf12877=_0x50984e[_0x22910c(0x144)](_0x21726c=>_0x22910c(0x120)!=_0x21726c[_0x22910c(0x141)][_0x22910c(0x135)]);_0xf12877[_0x22910c(0x10f)]>0x0&&_0x9e20f2[_0x22910c(0x104)](_0xf12877);for(const _0x304d66 of _0x50984e)_0x304d66[_0x22910c(0x13d)]();});});for(const _0x19336d of[_0x8516b8(0x121),_0x8516b8(0x10b),_0x8516b8(0x152),_0x8516b8(0x10a)]){const _0x15414f=_0x3e8f86[_0x8516b8(0x13a)][_0x8516b8(0xf8)](_0x19336d);_0x15414f['on'](_0x8516b8(0x151),(_0x2a9bfe,_0x4009fa,_0x4f87fe)=>{const _0x1b28a4=_0x8516b8;if(_0x4f87fe){const _0x16aa62=_0x3e8f86[_0x1b28a4(0x12c)][_0x1b28a4(0x131)][_0x1b28a4(0xfe)][_0x1b28a4(0x13e)]()[_0x1b28a4(0x129)]()[_0x1b28a4(0x103)](_0xcbec10=>_0xcbec10['is'](_0x1b28a4(0x157),_0x1b28a4(0x12d)));this[_0x1b28a4(0xf5)](_0x15414f[_0x1b28a4(0x105)],_0x16aa62)||(_0x2a9bfe[_0x1b28a4(0x13f)]=!0x1,_0x2a9bfe[_0x1b28a4(0x12f)]());}},{'priority':_0x8516b8(0x11c)});}}[_0x16e358(0x14f)](){const _0x91d297=_0x16e358,_0x27af00=this[_0x91d297(0x145)][_0x91d297(0x13a)][_0x91d297(0xf8)](_0x91d297(0x124)),_0x7511ad=this[_0x91d297(0x145)][_0x91d297(0x110)][_0x91d297(0xf8)](_0x91d297(0x155));if(!_0x27af00[_0x91d297(0x123)])return!0x1;const _0x298a77=_0x7511ad[_0x91d297(0x12e)](this[_0x91d297(0x145)][_0x91d297(0x12c)][_0x91d297(0x131)][_0x91d297(0xfe)]);for(const _0x4faf3f of _0x298a77)for(const _0x56a3dc of _0x298a77)if(_0x4faf3f!=_0x56a3dc&&!this[_0x91d297(0xf5)](_0x4faf3f,_0x56a3dc))return!0x1;return!0x0;}[_0x16e358(0xf5)](_0x3c0861,_0xe2bad6){const _0x114aa4=_0x16e358,_0x5b20ee=this[_0x114aa4(0x145)][_0x114aa4(0x110)][_0x114aa4(0xf8)](_0x114aa4(0x156)),_0x1dec8c=this[_0x114aa4(0x145)][_0x114aa4(0x12c)][_0x114aa4(0x11f)](_0x3c0861),_0x47afe9=this[_0x114aa4(0x145)][_0x114aa4(0x12c)][_0x114aa4(0x11f)](_0xe2bad6),_0x429fe1=new Set(),_0x2678a3=new Set();for(const _0x3d7484 of _0x5b20ee[_0x114aa4(0x128)]())if((_0x114aa4(0x147)==_0x3d7484[_0x114aa4(0x137)]||_0x114aa4(0x134)==_0x3d7484[_0x114aa4(0x137)]||_0x114aa4(0x124)==_0x3d7484[_0x114aa4(0x114)])&&_0x3d7484[_0x114aa4(0x119)]){for(const _0x142072 of _0x3d7484[_0x114aa4(0x139)]())_0x142072[_0x114aa4(0x132)](_0x1dec8c,!0x0)&&_0x429fe1[_0x114aa4(0xff)](_0x3d7484[_0x114aa4(0x137)]+':'+_0x3d7484[_0x114aa4(0x158)]['id']),_0x142072[_0x114aa4(0x132)](_0x47afe9,!0x0)&&_0x2678a3[_0x114aa4(0xff)](_0x3d7484[_0x114aa4(0x137)]+':'+_0x3d7484[_0x114aa4(0x158)]['id']);}if(_0x429fe1[_0x114aa4(0x143)]!=_0x2678a3[_0x114aa4(0x143)])return!0x1;for(const _0x57ee39 of _0x429fe1)if(!_0x2678a3[_0x114aa4(0x13b)](_0x57ee39))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x1b972f=_0x3be0;function _0x3869(){const _0x32fa0e=['markMultiRangeBlockFormat','has','*Merge\x20cells*','length','highest','add','stop','getCellLocation','selection','registerDescriptionCallback','push','3185478zzdyUM','*Split\x20cell:*\x20vertically','from','value','isEnabled','accept','root','getRanges','direction','editor','table','containsRange','commandName','findAncestor','forceDefaultExecution','mergeTableCellUp','element','cell','size','rootName','TrackChangesEditing','afterInit','subType','3658245pHamUJ','change','setSelection','5076520iVTBPa','1096795bEdNFq','author','*Split\x20cell:*\x20horizontally','registerCustomCallback','refresh','formatBlock','format','splitTableCellHorizontally','plugins','find','locale','TableEditing','return','_areSelectedCellsMergable','filter','getAncestors','commands','enableCommand','set:isEnabled','isInContent','get','2524040gcRczu','model','low','deletion','mergeTableCellRight','_isForcedDefaultExecutionBlock','getSuggestions','mergeTableCellDown','horizontally','type','getSelectionAffectedTableCells','fromRange','createTableWalker','createRangeOn','requires','6ougWMk','_tablePostFixingSubtypes','mergeTableCells','getFirstPosition','insertion','formatInline','_acceptFormatSuggestionCallbackFactory','execute','1745557AUJmqX','map','document','tableCell','_suggestionFactory','detach','descriptionFactory','$graveyard','541180tqEhXs','markBlockFormat','8AFPVEw','splitTableCellVertically','trackChanges','_areMergableCells','TableUtils','mergeTableCellLeft'];_0x3869=function(){return _0x32fa0e;};return _0x3869();}function _0x3be0(_0x4ca6a3,_0x393995){const _0x386961=_0x3869();return _0x3be0=function(_0x3be050,_0x3a9d6c){_0x3be050=_0x3be050-0x1b6;let _0x33e208=_0x386961[_0x3be050];return _0x33e208;},_0x3be0(_0x4ca6a3,_0x393995);}(function(_0x39d791,_0x3320f7){const _0x137cfb=_0x3be0,_0x2c1ec7=_0x39d791();while(!![]){try{const _0x4251c8=parseInt(_0x137cfb(0x1ea))/0x1+parseInt(_0x137cfb(0x1f2))/0x2+parseInt(_0x137cfb(0x1ba))/0x3+-parseInt(_0x137cfb(0x1bd))/0x4+-parseInt(_0x137cfb(0x1d3))/0x5+parseInt(_0x137cfb(0x1e2))/0x6*(-parseInt(_0x137cfb(0x1be))/0x7)+-parseInt(_0x137cfb(0x1f4))/0x8*(parseInt(_0x137cfb(0x205))/0x9);if(_0x4251c8===_0x3320f7)break;else _0x2c1ec7['push'](_0x2c1ec7['shift']());}catch(_0x1c6c49){_0x2c1ec7['push'](_0x2c1ec7['shift']());}}}(_0x3869,0xe82d5));import{Plugin as _0x1d365f}from'ckeditor5/src/core.js';import _0x2ee765 from'./table.js';import{LiveRange as _0x10bcb8}from'ckeditor5/src/engine.js';import{getTranslation as _0x259f8a}from'../utils/common-translations.js';export default class At extends _0x1d365f{static get[_0x1b972f(0x1e1)](){return[_0x2ee765];}[_0x1b972f(0x1b8)](){const _0x45c02e=_0x1b972f,_0x5deb5d=this[_0x45c02e(0x20e)],_0x30f04b=_0x5deb5d[_0x45c02e(0x1d4)][_0x45c02e(0x1ec)][_0x45c02e(0x202)],_0x37bd46=_0x5deb5d[_0x45c02e(0x1c8)];if(!_0x5deb5d[_0x45c02e(0x1c6)][_0x45c02e(0x1fb)](_0x45c02e(0x1c9)))return;const _0x41b1a7=_0x5deb5d[_0x45c02e(0x1c6)][_0x45c02e(0x1d2)](_0x45c02e(0x1b7)),_0x42a694=_0x5deb5d[_0x45c02e(0x1c6)][_0x45c02e(0x1d2)](_0x45c02e(0x1f8)),_0x4372f5=_0x5deb5d[_0x45c02e(0x1c6)][_0x45c02e(0x1d2)](_0x2ee765);_0x4372f5[_0x45c02e(0x1e3)][_0x45c02e(0x204)](_0x45c02e(0x1e4)),_0x41b1a7[_0x45c02e(0x1cf)](_0x45c02e(0x1e4),()=>{const _0x27232f=_0x45c02e,_0x4296fa=_0x42a694[_0x27232f(0x1dd)](_0x5deb5d[_0x27232f(0x1d4)][_0x27232f(0x1ec)][_0x27232f(0x202)]);_0x5deb5d[_0x27232f(0x1d4)][_0x27232f(0x1bb)](()=>{const _0x5b41c1=_0x27232f;_0x41b1a7[_0x5b41c1(0x1fa)](_0x4296fa,{'commandName':_0x5b41c1(0x1e4),'commandParams':[]},[],_0x5b41c1(0x1e4));});}),_0x5deb5d[_0x45c02e(0x1ce)][_0x45c02e(0x1d2)](_0x45c02e(0x1e4))['on'](_0x45c02e(0x1e9),(_0x597390,_0x37c284)=>{const _0x1dd257=_0x45c02e;_0x5deb5d[_0x1dd257(0x1ce)][_0x1dd257(0x1d2)](_0x1dd257(0x1f6))[_0x1dd257(0x208)]&&(_0x37c284[_0x1dd257(0x1fd)]>0x0&&_0x37c284[_0x37c284[_0x1dd257(0x1fd)]-0x1]&&_0x37c284[_0x37c284[_0x1dd257(0x1fd)]-0x1][_0x1dd257(0x213)]||_0x41b1a7[_0x1dd257(0x1d8)]||this[_0x1dd257(0x1cb)]()||_0x597390[_0x1dd257(0x200)]());},{'priority':_0x45c02e(0x1fe)});for(const _0x1027c6 of[_0x45c02e(0x214),_0x45c02e(0x1d7),_0x45c02e(0x1da),_0x45c02e(0x1f9)]){const _0x248e9a=_0x5deb5d[_0x45c02e(0x1ce)][_0x45c02e(0x1d2)](_0x1027c6);_0x41b1a7[_0x45c02e(0x1cf)](_0x1027c6,()=>{const _0x4b450f=_0x45c02e,_0x5506a6=_0x5deb5d[_0x4b450f(0x1d4)][_0x4b450f(0x1ec)][_0x4b450f(0x202)][_0x4b450f(0x1e5)]()[_0x4b450f(0x1cd)]()[_0x4b450f(0x1c7)](_0x33abb5=>_0x33abb5['is'](_0x4b450f(0x215),_0x4b450f(0x1ed))),_0x572b6e=_0x248e9a[_0x4b450f(0x208)];_0x5deb5d[_0x4b450f(0x1d4)][_0x4b450f(0x1bb)](()=>{const _0x424112=_0x4b450f;_0x41b1a7[_0x424112(0x1fa)]([_0x5506a6,_0x572b6e],{'commandName':_0x424112(0x1e4),'commandParams':[]},[],_0x424112(0x1e4));});});}for(const _0x3dcc1f of[_0x45c02e(0x1f5),_0x45c02e(0x1c5)]){const _0x468bfb=_0x5deb5d[_0x45c02e(0x1ce)][_0x45c02e(0x1d2)](_0x3dcc1f);_0x41b1a7[_0x45c02e(0x1cf)](_0x3dcc1f,()=>{const _0x39c50f=_0x45c02e,_0x57958a=_0x42a694[_0x39c50f(0x1dd)](_0x5deb5d[_0x39c50f(0x1d4)][_0x39c50f(0x1ec)][_0x39c50f(0x202)])[0x0],_0x201029=_0x57958a[_0x39c50f(0x212)](_0x39c50f(0x20f)),{column:_0x1f2db4,row:_0x1fbf57}=_0x42a694[_0x39c50f(0x201)](_0x57958a);let _0x1d02df=[];if(_0x39c50f(0x1db)==_0x468bfb[_0x39c50f(0x20d)]){const _0x125184=_0x42a694[_0x39c50f(0x1df)](_0x201029,{'startRow':_0x1fbf57,'endRow':_0x1fbf57,'includeAllSlots':!0x0});_0x1d02df=Array[_0x39c50f(0x207)](_0x125184)[_0x39c50f(0x1eb)](_0x132a5c=>_0x132a5c[_0x39c50f(0x216)]);}else{const _0x26dd92=_0x42a694[_0x39c50f(0x1df)](_0x201029,{'column':_0x1f2db4,'includeAllSlots':!0x0});_0x1d02df=Array[_0x39c50f(0x207)](_0x26dd92)[_0x39c50f(0x1eb)](_0x82af66=>_0x82af66[_0x39c50f(0x216)]);}_0x5deb5d[_0x39c50f(0x1d4)][_0x39c50f(0x1bb)](_0x1b65a3=>{const _0x393686=_0x39c50f;_0x41b1a7[_0x393686(0x1f3)](_0x1b65a3[_0x393686(0x1e0)](_0x57958a),{'commandName':_0x3dcc1f,'commandParams':[]},_0x1d02df,_0x3dcc1f);});});}_0x41b1a7[_0x45c02e(0x1f0)][_0x45c02e(0x203)](_0x3f00f9=>{const _0x10e874=_0x45c02e;if(_0x10e874(0x1c3)!=_0x3f00f9[_0x10e874(0x1dc)]&&_0x10e874(0x1e7)!=_0x3f00f9[_0x10e874(0x1dc)])return;const {data:_0x2251cc}=_0x3f00f9;return _0x2251cc&&_0x10e874(0x1e4)==_0x2251cc[_0x10e874(0x211)]?{'type':_0x10e874(0x1c4),'content':_0x259f8a(_0x37bd46,_0x10e874(0x1fc))}:void 0x0;}),_0x41b1a7[_0x45c02e(0x1f0)][_0x45c02e(0x203)](_0x147d47=>{const _0x544046=_0x45c02e;if(_0x544046(0x1c3)!=_0x147d47[_0x544046(0x1dc)]&&_0x544046(0x1e7)!=_0x147d47[_0x544046(0x1dc)])return;const {data:_0x85c417}=_0x147d47;return _0x85c417?_0x544046(0x1f5)==_0x85c417[_0x544046(0x211)]?{'type':_0x544046(0x1c4),'content':_0x259f8a(_0x37bd46,_0x544046(0x206))}:_0x544046(0x1c5)==_0x85c417[_0x544046(0x211)]?{'type':_0x544046(0x1c4),'content':_0x259f8a(_0x37bd46,_0x544046(0x1c0))}:void 0x0:void 0x0;});const _0x402f2d=_0x4372f5[_0x45c02e(0x1e8)]();for(const _0x3ffe94 of[_0x45c02e(0x214),_0x45c02e(0x1d7),_0x45c02e(0x1da),_0x45c02e(0x1f9)])_0x41b1a7[_0x45c02e(0x1ee)][_0x45c02e(0x1c1)](_0x45c02e(0x1c3),_0x3ffe94,_0x45c02e(0x20a),_0x402f2d);for(const _0x256dc2 of[_0x45c02e(0x1f5),_0x45c02e(0x1c5)])_0x41b1a7[_0x45c02e(0x1ee)][_0x45c02e(0x1c1)](_0x45c02e(0x1c3),_0x256dc2,_0x45c02e(0x20a),_0x402f2d);_0x41b1a7[_0x45c02e(0x1ee)][_0x45c02e(0x1c1)](_0x45c02e(0x1c3),_0x45c02e(0x1e4),_0x45c02e(0x20a),_0x41a667=>{const _0x5ccdf1=_0x45c02e;_0x5deb5d[_0x5ccdf1(0x1d4)][_0x5ccdf1(0x1bb)](_0x32cda3=>{const _0x8589f9=_0x5ccdf1,_0x8b29c=Array[_0x8589f9(0x207)](_0x30f04b[_0x8589f9(0x20c)]())[_0x8589f9(0x1eb)](_0x5e8382=>_0x10bcb8[_0x8589f9(0x1de)](_0x5e8382));_0x32cda3[_0x8589f9(0x1bc)](_0x41a667),_0x5deb5d[_0x8589f9(0x1ce)][_0x8589f9(0x1d2)](_0x8589f9(0x1e4))[_0x8589f9(0x1c2)](),_0x5deb5d[_0x8589f9(0x1e9)](_0x8589f9(0x1e4),{'forceDefaultExecution':!0x0});const _0x405318=_0x8b29c[_0x8589f9(0x1cc)](_0x4f7d0c=>_0x8589f9(0x1f1)!=_0x4f7d0c[_0x8589f9(0x20b)][_0x8589f9(0x1b6)]);_0x405318[_0x8589f9(0x1fd)]>0x0&&_0x32cda3[_0x8589f9(0x1bc)](_0x405318);for(const _0x404004 of _0x8b29c)_0x404004[_0x8589f9(0x1ef)]();});});for(const _0x136d16 of[_0x45c02e(0x214),_0x45c02e(0x1da),_0x45c02e(0x1f9),_0x45c02e(0x1d7)]){const _0xb69bba=_0x5deb5d[_0x45c02e(0x1ce)][_0x45c02e(0x1d2)](_0x136d16);_0xb69bba['on'](_0x45c02e(0x1d0),(_0x27c1b6,_0x245fc7,_0xb319a7)=>{const _0x2071fe=_0x45c02e;if(_0xb319a7){const _0x234e4b=_0x5deb5d[_0x2071fe(0x1d4)][_0x2071fe(0x1ec)][_0x2071fe(0x202)][_0x2071fe(0x1e5)]()[_0x2071fe(0x1cd)]()[_0x2071fe(0x1c7)](_0x2b1010=>_0x2b1010['is'](_0x2071fe(0x215),_0x2071fe(0x1ed)));this[_0x2071fe(0x1f7)](_0xb69bba[_0x2071fe(0x208)],_0x234e4b)||(_0x27c1b6[_0x2071fe(0x1ca)]=!0x1,_0x27c1b6[_0x2071fe(0x200)]());}},{'priority':_0x45c02e(0x1d5)});}}[_0x1b972f(0x1cb)](){const _0x1a2042=_0x1b972f,_0x58f313=this[_0x1a2042(0x20e)][_0x1a2042(0x1ce)][_0x1a2042(0x1d2)](_0x1a2042(0x1e4)),_0x5308ff=this[_0x1a2042(0x20e)][_0x1a2042(0x1c6)][_0x1a2042(0x1d2)](_0x1a2042(0x1f8));if(!_0x58f313[_0x1a2042(0x209)])return!0x1;const _0x473244=_0x5308ff[_0x1a2042(0x1dd)](this[_0x1a2042(0x20e)][_0x1a2042(0x1d4)][_0x1a2042(0x1ec)][_0x1a2042(0x202)]);for(const _0x4866c2 of _0x473244)for(const _0x4e3c7b of _0x473244)if(_0x4866c2!=_0x4e3c7b&&!this[_0x1a2042(0x1f7)](_0x4866c2,_0x4e3c7b))return!0x1;return!0x0;}[_0x1b972f(0x1f7)](_0x485264,_0x486f46){const _0x482a2d=_0x1b972f,_0x522b91=this[_0x482a2d(0x20e)][_0x482a2d(0x1c6)][_0x482a2d(0x1d2)](_0x482a2d(0x1b7)),_0xd196e7=this[_0x482a2d(0x20e)][_0x482a2d(0x1d4)][_0x482a2d(0x1e0)](_0x485264),_0x55fa1e=this[_0x482a2d(0x20e)][_0x482a2d(0x1d4)][_0x482a2d(0x1e0)](_0x486f46),_0x5a3e13=new Set(),_0x1550cd=new Set();for(const _0x22a2c3 of _0x522b91[_0x482a2d(0x1d9)]())if((_0x482a2d(0x1e6)==_0x22a2c3[_0x482a2d(0x1dc)]||_0x482a2d(0x1d6)==_0x22a2c3[_0x482a2d(0x1dc)]||_0x482a2d(0x1e4)==_0x22a2c3[_0x482a2d(0x1b9)])&&_0x22a2c3[_0x482a2d(0x1d1)]){for(const _0x1b2a22 of _0x22a2c3[_0x482a2d(0x20c)]())_0x1b2a22[_0x482a2d(0x210)](_0xd196e7,!0x0)&&_0x5a3e13[_0x482a2d(0x1ff)](_0x22a2c3[_0x482a2d(0x1dc)]+':'+_0x22a2c3[_0x482a2d(0x1bf)]['id']),_0x1b2a22[_0x482a2d(0x210)](_0x55fa1e,!0x0)&&_0x1550cd[_0x482a2d(0x1ff)](_0x22a2c3[_0x482a2d(0x1dc)]+':'+_0x22a2c3[_0x482a2d(0x1bf)]['id']);}if(_0x5a3e13[_0x482a2d(0x217)]!=_0x1550cd[_0x482a2d(0x217)])return!0x1;for(const _0x37543f of _0x5a3e13)if(!_0x1550cd[_0x482a2d(0x1fb)](_0x37543f))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b7dec=_0x2c3d;(function(_0x482167,_0x135295){const _0x25d12a=_0x2c3d,_0x3da442=_0x482167();while(!![]){try{const _0x840590=-parseInt(_0x25d12a(0x100))/0x1*(parseInt(_0x25d12a(0xff))/0x2)+parseInt(_0x25d12a(0xfe))/0x3+-parseInt(_0x25d12a(0xf9))/0x4*(-parseInt(_0x25d12a(0xfa))/0x5)+-parseInt(_0x25d12a(0xed))/0x6*(-parseInt(_0x25d12a(0xf2))/0x7)+parseInt(_0x25d12a(0xf8))/0x8*(parseInt(_0x25d12a(0x103))/0x9)+-parseInt(_0x25d12a(0xfb))/0xa+parseInt(_0x25d12a(0x105))/0xb*(-parseInt(_0x25d12a(0xf7))/0xc);if(_0x840590===_0x135295)break;else _0x3da442['push'](_0x3da442['shift']());}catch(_0x1b156b){_0x3da442['push'](_0x3da442['shift']());}}}(_0x556e,0xc9ad0));import{Plugin as _0x5de727}from'ckeditor5/src/core.js';function _0x2c3d(_0x118093,_0x2abf9c){const _0x556eb3=_0x556e();return _0x2c3d=function(_0x2c3d43,_0x25a5c7){_0x2c3d43=_0x2c3d43-0xed;let _0x182676=_0x556eb3[_0x2c3d43];return _0x182676;},_0x2c3d(_0x118093,_0x2abf9c);}import{getTranslation as _0x1ed9bb}from'../utils/common-translations.js';function _0x556e(){const _0x3214d5=['2516044KJtpPk','5XKhXza','1770200NfvaMr','editor','insertTableOfContents','1427529AlwsJM','1187710RqvSEr','1STPcaY','ELEMENT_TABLE_OF_CONTENTS','tableOfContents','45hnNQIU','descriptionFactory','11xBTIYP','6otXVIy','afterInit','commands','enableCommand','plugins','11298637nLpuYM','TrackChangesEditing','get','registerElementLabel','locale','19164972WRsFTL','760120LfXBeg'];_0x556e=function(){return _0x3214d5;};return _0x556e();}export default class Dt extends _0x5de727{[_0x1b7dec(0xee)](){const _0x335cff=_0x1b7dec,_0x5ad6d2=this[_0x335cff(0xfc)];if(!_0x5ad6d2[_0x335cff(0xef)][_0x335cff(0xf4)](_0x335cff(0xfd)))return;_0x5ad6d2[_0x335cff(0xf1)][_0x335cff(0xf4)](_0x335cff(0xf3))[_0x335cff(0xf0)](_0x335cff(0xfd));const _0x5a4fa7=_0x5ad6d2[_0x335cff(0xf1)][_0x335cff(0xf4)](_0x335cff(0xf3)),_0x845bd0=_0x5ad6d2[_0x335cff(0xf6)];_0x5a4fa7[_0x335cff(0x104)][_0x335cff(0xf5)](_0x335cff(0x102),_0x8645a=>_0x1ed9bb(_0x845bd0,_0x335cff(0x101),_0x8645a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bbb00=_0x2de7;(function(_0x4e2328,_0x4aaf16){const _0x3b9752=_0x2de7,_0x2eac76=_0x4e2328();while(!![]){try{const _0x18b3d2=parseInt(_0x3b9752(0x215))/0x1*(-parseInt(_0x3b9752(0x1e9))/0x2)+parseInt(_0x3b9752(0x205))/0x3+parseInt(_0x3b9752(0x1f5))/0x4*(parseInt(_0x3b9752(0x225))/0x5)+parseInt(_0x3b9752(0x1f2))/0x6*(parseInt(_0x3b9752(0x1fc))/0x7)+parseInt(_0x3b9752(0x1fd))/0x8*(parseInt(_0x3b9752(0x20b))/0x9)+-parseInt(_0x3b9752(0x200))/0xa+-parseInt(_0x3b9752(0x219))/0xb*(-parseInt(_0x3b9752(0x218))/0xc);if(_0x18b3d2===_0x4aaf16)break;else _0x2eac76['push'](_0x2eac76['shift']());}catch(_0xffeb64){_0x2eac76['push'](_0x2eac76['shift']());}}}(_0x5b5d,0x45c1c));function _0x2de7(_0x4e4cd3,_0x26c3bf){const _0x5b5d56=_0x5b5d();return _0x2de7=function(_0x2de712,_0x371d70){_0x2de712=_0x2de712-0x1df;let _0x3a13a1=_0x5b5d56[_0x2de712];return _0x3a13a1;},_0x2de7(_0x4e4cd3,_0x26c3bf);}import{Plugin as _0x5eacc3}from'ckeditor5/src/core.js';function _0x5b5d(){const _0x235bbd=['nodeAfter','enableCommand','plugins','setAttribute','subType','25LjbSZi','model','commandParams','*Format:*\x20change\x20table\x20cell\x20properties','accept','document','editor','getSuggestionCallback','tableCellProperties','tableCellVerticalAlignment','findAncestor','tableBorderWidth','descriptionFactory','selection','tableProperties','tableAlignment','_handlePropertyChange','batch','get','tableCellBorderStyle','1182MHzgkL','tableCellBorderWidth','getFirstPosition','removeAttribute','tableCellBorderColor','tableCellHeight','afterInit','tableCellWidth','data','5520EaiCAy','has','getSelectionAffectedTableCells','3360HpWTGK','_suggestionFactory','table','tableHeight','change','tableBorderStyle','tableCellHorizontalAlignment','763mhkwuV','8iCezGK','TrackChangesTableProperties','getSuggestions','2121750CQUJTT','TableCellPropertiesEditing','TrackChangesEditing','format','tableCellBackgroundColor','921558VfMpRC','handleSuggestionDescription','formatBlock','pluginName','_getSuggestion','join','669015cFthFT','tableBorderColor','handleDiscardAction','registerCustomCallback','markBlockFormat','locale','tableBackgroundColor','*Format:*\x20change\x20table\x20properties','registerDescriptionCallback','TableUtils','809repWng','discard','getContainedElement','63228mrjVnj','1023RDGSuB','getAttribute','enqueueChange','TablePropertiesEditing','tableWidth','tableCellPadding','start'];_0x5b5d=function(){return _0x235bbd;};return _0x5b5d();}import{getTranslation as _0x26ab59}from'../utils/common-translations.js';export default class Bt extends _0x5eacc3{constructor(_0x1dbe27){const _0x14dd77=_0x2de7;super(_0x1dbe27),this[_0x14dd77(0x1e3)]=[_0x14dd77(0x20c),_0x14dd77(0x1fa),_0x14dd77(0x1e0),_0x14dd77(0x1e4),_0x14dd77(0x21d),_0x14dd77(0x1f8),_0x14dd77(0x211)],this[_0x14dd77(0x22d)]=[_0x14dd77(0x1ed),_0x14dd77(0x1e8),_0x14dd77(0x1ea),_0x14dd77(0x21e),_0x14dd77(0x1f0),_0x14dd77(0x1ee),_0x14dd77(0x204),_0x14dd77(0x1fb),_0x14dd77(0x22e)];}static get[_0x4bbb00(0x208)](){const _0x4b3b34=_0x4bbb00;return _0x4b3b34(0x1fe);}[_0x4bbb00(0x1ef)](){const _0x14861b=_0x4bbb00,_0x347369=this[_0x14861b(0x22b)][_0x14861b(0x222)][_0x14861b(0x1e7)](_0x14861b(0x202));if(this[_0x14861b(0x22b)][_0x14861b(0x222)][_0x14861b(0x1f3)](_0x14861b(0x21c))){for(const _0x41027c of this[_0x14861b(0x1e3)])_0x347369[_0x14861b(0x221)](_0x41027c,(_0xb76f21,_0x4f7345)=>{const _0x7d75a1=_0x14861b,_0xb519bb=this[_0x7d75a1(0x22b)][_0x7d75a1(0x226)][_0x7d75a1(0x22a)][_0x7d75a1(0x1e2)][_0x7d75a1(0x1eb)]()[_0x7d75a1(0x1df)](_0x7d75a1(0x1f7));this[_0x7d75a1(0x1e5)](_0x41027c,[_0xb519bb],this[_0x7d75a1(0x1e3)],_0x7d75a1(0x1e3),_0xb76f21,_0x4f7345);});_0x347369[_0x14861b(0x1f6)][_0x14861b(0x20e)](_0x14861b(0x207),_0x14861b(0x1e3),_0x14861b(0x229),_0x347369[_0x14861b(0x1f6)][_0x14861b(0x22c)](_0x14861b(0x207),null,_0x14861b(0x216))),_0x347369[_0x14861b(0x1f6)][_0x14861b(0x20e)](_0x14861b(0x207),_0x14861b(0x1e3),_0x14861b(0x216),(_0x56c254,_0x463abb)=>this[_0x14861b(0x20d)](this[_0x14861b(0x1e3)],_0x56c254,_0x463abb)),_0x347369[_0x14861b(0x1f6)][_0x14861b(0x20e)](_0x14861b(0x207),_0x14861b(0x1e3),_0x14861b(0x20a),()=>!0x1);}if(this[_0x14861b(0x22b)][_0x14861b(0x222)][_0x14861b(0x1f3)](_0x14861b(0x201))){for(const _0x4b43dd of this[_0x14861b(0x22d)])_0x347369[_0x14861b(0x221)](_0x4b43dd,(_0x274fe3,_0x3988a4)=>{const _0xfbf029=_0x14861b,_0x385563=this[_0xfbf029(0x22b)][_0xfbf029(0x222)][_0xfbf029(0x1e7)](_0xfbf029(0x214))[_0xfbf029(0x1f4)](this[_0xfbf029(0x22b)][_0xfbf029(0x226)][_0xfbf029(0x22a)][_0xfbf029(0x1e2)]);this[_0xfbf029(0x1e5)](_0x4b43dd,_0x385563,this[_0xfbf029(0x22d)],_0xfbf029(0x22d),_0x274fe3,_0x3988a4);});_0x347369[_0x14861b(0x1f6)][_0x14861b(0x20e)](_0x14861b(0x207),_0x14861b(0x22d),_0x14861b(0x229),_0x347369[_0x14861b(0x1f6)][_0x14861b(0x22c)](_0x14861b(0x207),null,_0x14861b(0x216))),_0x347369[_0x14861b(0x1f6)][_0x14861b(0x20e)](_0x14861b(0x207),_0x14861b(0x22d),_0x14861b(0x216),(_0x4e82a2,_0x4841cb)=>this[_0x14861b(0x20d)](this[_0x14861b(0x22d)],_0x4e82a2,_0x4841cb)),_0x347369[_0x14861b(0x1f6)][_0x14861b(0x20e)](_0x14861b(0x207),_0x14861b(0x22d),_0x14861b(0x20a),()=>!0x1);}_0x347369[_0x14861b(0x1e1)][_0x14861b(0x213)](_0x3b82ae=>this[_0x14861b(0x206)](_0x3b82ae));}[_0x4bbb00(0x1e5)](_0x25efbd,_0x67bc7c,_0x572fa5,_0x522dec,_0x5983c5,_0x8caaa1){const _0x57eb74=_0x4bbb00,_0x44f1ff=this[_0x57eb74(0x22b)][_0x57eb74(0x222)][_0x57eb74(0x1e7)](_0x57eb74(0x202));this[_0x57eb74(0x22b)][_0x57eb74(0x226)][_0x57eb74(0x21b)](_0x8caaa1[_0x57eb74(0x1e6)],()=>{const _0x1925bb=_0x57eb74;for(const _0x158534 of _0x67bc7c){if(this[_0x1925bb(0x209)](_0x158534,_0x522dec))_0x5983c5(_0x8caaa1);else{const _0x2b447a={};for(const _0x2634b2 of _0x572fa5){const _0x3edb31=_0x158534[_0x1925bb(0x21a)](_0x2634b2);void 0x0!==_0x3edb31&&(_0x2b447a[_0x2634b2]=_0x3edb31);}_0x5983c5(_0x8caaa1),_0x44f1ff[_0x1925bb(0x20f)](_0x158534,{'commandParams':[_0x2b447a]},[],_0x522dec);}}});}[_0x4bbb00(0x20d)](_0x49f0d9,_0x1c5e48,_0x5a1308){const _0x3229ac=_0x4bbb00,_0x3f0517=_0x1c5e48[0x0][_0x3229ac(0x21f)][_0x3229ac(0x220)],_0x43d1e2=_0x5a1308[_0x3229ac(0x227)][0x0];this[_0x3229ac(0x22b)][_0x3229ac(0x226)][_0x3229ac(0x1f9)](_0x37d4a6=>{const _0x95fd2=_0x3229ac;for(const _0x393f00 of _0x49f0d9)void 0x0!==_0x43d1e2[_0x393f00]?_0x37d4a6[_0x95fd2(0x223)](_0x393f00,_0x43d1e2[_0x393f00],_0x3f0517):_0x37d4a6[_0x95fd2(0x1ec)](_0x393f00,_0x3f0517);});}[_0x4bbb00(0x206)](_0x2a3c7){const _0x546c99=_0x4bbb00;if(_0x2a3c7[_0x546c99(0x1f1)])switch(_0x2a3c7[_0x546c99(0x224)]){case _0x546c99(0x1e3):return{'type':_0x546c99(0x203),'content':_0x26ab59(this[_0x546c99(0x22b)][_0x546c99(0x210)],_0x546c99(0x212))};case _0x546c99(0x22d):return{'type':_0x546c99(0x203),'content':_0x26ab59(this[_0x546c99(0x22b)][_0x546c99(0x210)],_0x546c99(0x228))};}}[_0x4bbb00(0x209)](_0x346418,_0x288c45){const _0x1491e0=_0x4bbb00,_0x43d400=this[_0x1491e0(0x22b)][_0x1491e0(0x222)][_0x1491e0(0x1e7)](_0x1491e0(0x202));for(const _0x1c4866 of _0x43d400[_0x1491e0(0x1ff)]({'skipNotAttached':!0x0})){const _0xc0e13f=_0x1c4866[_0x1491e0(0x217)]();if(_0x1c4866[_0x1491e0(0x224)]===_0x288c45&&_0xc0e13f===_0x346418)return _0x1c4866;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x50a2(_0x4fe89d,_0x115672){const _0x192017=_0x1920();return _0x50a2=function(_0x50a249,_0x2b7975){_0x50a249=_0x50a249-0x68;let _0x224fed=_0x192017[_0x50a249];return _0x224fed;},_0x50a2(_0x4fe89d,_0x115672);}const _0x2f1e67=_0x50a2;function _0x1920(){const _0x354f7c=['1899623jePQSt','9uxmhOQ','12xulTyV','get','119uKuiCj','36603xmGrxo','4503340WWxJnP','TrackChangesEditing','4846153BtQqVD','has','Template','insertTemplate','6JNKAWT','273872RXLVKD','plugins','afterInit','editor','3896vPqVtN','enableCommand','3713885EFByiw','388SGMcbN','136hGpyjX'];_0x1920=function(){return _0x354f7c;};return _0x1920();}(function(_0x863116,_0x111489){const _0x4607a8=_0x50a2,_0x7642bc=_0x863116();while(!![]){try{const _0x1fe5d0=parseInt(_0x4607a8(0x77))/0x1*(-parseInt(_0x4607a8(0x7a))/0x2)+parseInt(_0x4607a8(0x6b))/0x3*(-parseInt(_0x4607a8(0x7b))/0x4)+parseInt(_0x4607a8(0x79))/0x5*(parseInt(_0x4607a8(0x72))/0x6)+-parseInt(_0x4607a8(0x6a))/0x7*(-parseInt(_0x4607a8(0x73))/0x8)+parseInt(_0x4607a8(0x7d))/0x9*(parseInt(_0x4607a8(0x6c))/0xa)+-parseInt(_0x4607a8(0x7c))/0xb*(-parseInt(_0x4607a8(0x68))/0xc)+-parseInt(_0x4607a8(0x6e))/0xd;if(_0x1fe5d0===_0x111489)break;else _0x7642bc['push'](_0x7642bc['shift']());}catch(_0x4ddf40){_0x7642bc['push'](_0x7642bc['shift']());}}}(_0x1920,0x62b77));import{Plugin as _0x521790}from'ckeditor5/src/core.js';export default class _t extends _0x521790{[_0x2f1e67(0x75)](){const _0x12cf30=_0x2f1e67,_0x393c58=this[_0x12cf30(0x76)];_0x393c58[_0x12cf30(0x74)][_0x12cf30(0x6f)](_0x12cf30(0x70))&&_0x393c58[_0x12cf30(0x74)][_0x12cf30(0x69)](_0x12cf30(0x6d))[_0x12cf30(0x78)](_0x12cf30(0x71));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5cd0(_0x43db68,_0x126d79){const _0x47dd40=_0x47dd();return _0x5cd0=function(_0x5cd0c3,_0x18be67){_0x5cd0c3=_0x5cd0c3-0x6c;let _0x1002c3=_0x47dd40[_0x5cd0c3];return _0x1002c3;},_0x5cd0(_0x43db68,_0x126d79);}const _0x2b7642=_0x5cd0;(function(_0x1fa1bd,_0x27948b){const _0x53b325=_0x5cd0,_0x3b8a13=_0x1fa1bd();while(!![]){try{const _0x1dfc83=-parseInt(_0x53b325(0x8c))/0x1+-parseInt(_0x53b325(0x94))/0x2+-parseInt(_0x53b325(0x6d))/0x3*(parseInt(_0x53b325(0x83))/0x4)+parseInt(_0x53b325(0x6e))/0x5+-parseInt(_0x53b325(0x71))/0x6*(-parseInt(_0x53b325(0x7e))/0x7)+-parseInt(_0x53b325(0x7c))/0x8+parseInt(_0x53b325(0x78))/0x9;if(_0x1dfc83===_0x27948b)break;else _0x3b8a13['push'](_0x3b8a13['shift']());}catch(_0x588357){_0x3b8a13['push'](_0x3b8a13['shift']());}}}(_0x47dd,0x92c56));import{Plugin as _0x2ee3de}from'ckeditor5/src/core.js';import{getTranslation as _0x3a285e}from'../utils/common-translations.js';export default class Nt extends _0x2ee3de{[_0x2b7642(0x93)](){const _0x1d55ec=_0x2b7642,_0x170024=this[_0x1d55ec(0x7f)];if(!_0x170024[_0x1d55ec(0x87)][_0x1d55ec(0x95)](_0x1d55ec(0x75)))return;const _0x347646=_0x170024[_0x1d55ec(0x87)][_0x1d55ec(0x85)](_0x1d55ec(0x84));_0x347646[_0x1d55ec(0x81)][_0x1d55ec(0x73)](_0x1d55ec(0x88),()=>_0x3a285e(_0x170024[_0x1d55ec(0x86)],_0x1d55ec(0x70))),_0x170024[_0x1d55ec(0x7d)][_0x1d55ec(0x76)][_0x1d55ec(0x90)](_0x53c75c=>{const _0x1b8aa9=_0x1d55ec;let _0x3ffb50=!0x1;const _0x120d3b=Array[_0x1b8aa9(0x74)](_0x170024[_0x1b8aa9(0x7d)][_0x1b8aa9(0x76)][_0x1b8aa9(0x92)][_0x1b8aa9(0x6f)]());for(const {name:_0x20edfc,data:_0x5b29fb}of _0x120d3b){const {group:_0x13547c}=_0x347646[_0x1b8aa9(0x8b)](_0x20edfc);if(_0x1b8aa9(0x89)!==_0x13547c||!_0x5b29fb[_0x1b8aa9(0x91)])continue;const _0x341da8=_0x5b29fb[_0x1b8aa9(0x91)],_0x4558bf=_0x341da8[_0x1b8aa9(0x8f)][_0x1b8aa9(0x6c)];if(!_0x4558bf||!_0x4558bf['is'](_0x1b8aa9(0x8a),_0x1b8aa9(0x88)))continue;if(!_0x341da8[_0x1b8aa9(0x77)][_0x1b8aa9(0x72)](_0x341da8[_0x1b8aa9(0x8f)]))continue;const _0x465559=_0x170024[_0x1b8aa9(0x7d)][_0x1b8aa9(0x80)][_0x1b8aa9(0x8e)](_0x341da8[_0x1b8aa9(0x8f)],_0x1b8aa9(0x7a));if(_0x465559&&_0x465559[_0x1b8aa9(0x7b)]){const _0xfa7284=_0x53c75c[_0x1b8aa9(0x82)](_0x341da8[_0x1b8aa9(0x77)],_0x465559[_0x1b8aa9(0x77)]);_0xfa7284[_0x1b8aa9(0x79)](_0x341da8)||(_0x53c75c[_0x1b8aa9(0x8d)](_0x20edfc,{'range':_0xfa7284}),_0x3ffb50=!0x0);}_0x3ffb50||(_0x53c75c[_0x1b8aa9(0x96)](_0x20edfc),_0x3ffb50=!0x0);}return _0x3ffb50;});}}function _0x47dd(){const _0x5b56ea=['end','registerPostFixer','newRange','differ','afterInit','244786xJDQDQ','has','removeMarker','nodeBefore','903456XvdQLD','780160zCQMrf','getChangedMarkers','ELEMENT_TITLE','24rVRdGo','isTouching','registerElementLabel','from','Title','document','start','18154377gebfer','isEqual','forward','isCollapsed','5523400Dxiojb','model','932085SdCPMl','editor','schema','descriptionFactory','createRange','4WXQkaN','TrackChangesEditing','get','locale','plugins','title-content','suggestion','element','_splitMarkerName','990661BeRoly','updateMarker','getNearestSelectionRange'];_0x47dd=function(){return _0x5b56ea;};return _0x47dd();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x33f869=_0x1e8e;(function(_0x56a9cb,_0x3919bb){const _0x10b8cb=_0x1e8e,_0x548d59=_0x56a9cb();while(!![]){try{const _0x10ae27=parseInt(_0x10b8cb(0x162))/0x1*(-parseInt(_0x10b8cb(0x164))/0x2)+parseInt(_0x10b8cb(0x165))/0x3*(parseInt(_0x10b8cb(0x15f))/0x4)+-parseInt(_0x10b8cb(0x16b))/0x5+-parseInt(_0x10b8cb(0x159))/0x6*(parseInt(_0x10b8cb(0x168))/0x7)+parseInt(_0x10b8cb(0x167))/0x8*(parseInt(_0x10b8cb(0x15c))/0x9)+-parseInt(_0x10b8cb(0x15d))/0xa*(-parseInt(_0x10b8cb(0x163))/0xb)+parseInt(_0x10b8cb(0x16d))/0xc;if(_0x10ae27===_0x3919bb)break;else _0x548d59['push'](_0x548d59['shift']());}catch(_0x36c53c){_0x548d59['push'](_0x548d59['shift']());}}}(_0x4c4a,0x75741));function _0x1e8e(_0x4bf061,_0x5ba375){const _0x4c4af3=_0x4c4a();return _0x1e8e=function(_0x1e8eef,_0x308931){_0x1e8eef=_0x1e8eef-0x159;let _0x17752f=_0x4c4af3[_0x1e8eef];return _0x17752f;},_0x1e8e(_0x4bf061,_0x5ba375);}import{Plugin as _0x3c17ce}from'ckeditor5/src/core.js';export default class Mt extends _0x3c17ce{[_0x33f869(0x16c)](){const _0x18e66d=_0x33f869,_0x1c05f8=this[_0x18e66d(0x16e)],_0x239512=_0x1c05f8[_0x18e66d(0x15a)][_0x18e66d(0x160)](_0x18e66d(0x166));_0x1c05f8[_0x18e66d(0x15a)][_0x18e66d(0x161)](_0x18e66d(0x16a))&&(_0x239512[_0x18e66d(0x15b)](_0x18e66d(0x15e)),_0x239512[_0x18e66d(0x15b)](_0x18e66d(0x169)));}}function _0x4c4a(){const _0x25ac25=['afterInit','3820404jAzUli','editor','945792Zzgxve','plugins','enableCommand','7610103QqpLXh','60340jQRarX','undo','1377308uwFGnv','get','has','2303PVsUpt','209KxkRGW','402IhNOUc','6zknTyo','TrackChangesEditing','8bYqAZJ','42EYZbXN','redo','UndoEditing','387250dCdHgL'];_0x4c4a=function(){return _0x25ac25;};return _0x4c4a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x706c62,_0x24e82b){const _0x2029c9=_0x267b,_0x2bdee3=_0x706c62();while(!![]){try{const _0xf1b0ea=-parseInt(_0x2029c9(0xf6))/0x1*(parseInt(_0x2029c9(0xfb))/0x2)+parseInt(_0x2029c9(0xf7))/0x3*(-parseInt(_0x2029c9(0xea))/0x4)+-parseInt(_0x2029c9(0xe3))/0x5+-parseInt(_0x2029c9(0xdf))/0x6+-parseInt(_0x2029c9(0xe0))/0x7+parseInt(_0x2029c9(0xe8))/0x8+parseInt(_0x2029c9(0x108))/0x9;if(_0xf1b0ea===_0x24e82b)break;else _0x2bdee3['push'](_0x2bdee3['shift']());}catch(_0x17d0bf){_0x2bdee3['push'](_0x2bdee3['shift']());}}}(_0x42bc,0xab453));function _0x267b(_0x27f484,_0x563988){const _0x42bc3e=_0x42bc();return _0x267b=function(_0x267b55,_0x1d6ba6){_0x267b55=_0x267b55-0xdf;let _0x5096de=_0x42bc3e[_0x267b55];return _0x5096de;},_0x267b(_0x27f484,_0x563988);}export function getRangesWithAttribute(_0x59ebb0,_0x5a1c4d,_0x5d21a9){const _0x3ae636=_0x267b,_0x558cb8=[];for(const _0x5c2897 of _0x5a1c4d[_0x3ae636(0x102)]())_0x5c2897[_0x3ae636(0xf8)](_0x59ebb0)&&_0x558cb8[_0x3ae636(0x101)](_0x5d21a9[_0x3ae636(0xf3)](_0x5c2897));return _0x558cb8;}export function downcastSplitMergeMarker(_0xd2e9e2,_0x1de621,{showActiveMarker:_0x141837=!0x0}={}){const _0x164a78=_0x267b,_0x2779d1=_0xd2e9e2[_0x164a78(0xe4)][_0x164a78(0xef)](_0x164a78(0xfe));return(_0x459723,_0x14dff7,_0x29f912)=>{const _0x3567bc=_0x164a78;if(!_0x29f912[_0x3567bc(0x10e)][_0x3567bc(0x10a)](_0x14dff7[_0x3567bc(0x109)],_0x459723[_0x3567bc(0x110)]))return;const _0xc35002=_0x14dff7[_0x3567bc(0x109)][_0x3567bc(0xf9)](),_0x37dfe2=_0x14dff7[_0x3567bc(0x109)][_0x3567bc(0x105)],_0x2d55c4=_0xd2e9e2[_0x3567bc(0x100)][_0x3567bc(0xf5)];let _0xf931ce=null,_0x58cd47=null,_0x5d6ea6=!0x1,_0x2ee961=!0x1;for(const _0x21be70 of _0xc35002){const _0x3fb5a1=_0x21be70[_0x3567bc(0xfa)];_0x5d6ea6=_0x5d6ea6||_0x2d55c4[_0x3567bc(0xff)](_0x3fb5a1);const _0x11d794=_0x29f912[_0x3567bc(0x10f)][_0x3567bc(0xfc)](_0x3fb5a1);if(_0x11d794&&_0x11d794[_0x3567bc(0xe5)](_0x3567bc(0xfd)))return;_0x3567bc(0xed)==_0x21be70[_0x3567bc(0x10c)]&&(_0x2d55c4[_0x3567bc(0xee)](_0x3fb5a1)&&!_0x2d55c4[_0x3567bc(0xeb)](_0x3fb5a1)&&(_0x3fb5a1[_0x3567bc(0x10b)]||_0x37dfe2[_0x3567bc(0x106)]?_0xf931ce&&_0xf931ce[_0x3567bc(0xf2)]==_0x3fb5a1||(_0xf931ce=_0x3fb5a1,_0x112b23(_0x21be70[_0x3567bc(0x10d)]),_0x2ee961=!0x0):_0x58cd47=_0x58cd47||_0x21be70[_0x3567bc(0x10d)]));}function _0x112b23(_0x195982){const _0x554377=_0x3567bc,_0x1f8bdb=_0x29f912[_0x554377(0xe6)][_0x554377(0xf4)](_0x554377(0xf1),{'class':_0x554377(0xe9)+_0x1de621}),_0x1cab66=_0x29f912[_0x554377(0x10f)][_0x554377(0x103)](_0x195982);_0x141837&&_0x2779d1[_0x554377(0xe7)][_0x554377(0xec)](_0x14dff7[_0x554377(0x107)])&&_0x29f912[_0x554377(0xe6)][_0x554377(0xf0)](_0x554377(0xe1),_0x1f8bdb),_0x29f912[_0x554377(0xe6)][_0x554377(0x104)](_0x1cab66,_0x1f8bdb),_0x29f912[_0x554377(0x10f)][_0x554377(0xe2)](_0x1f8bdb,_0x14dff7[_0x554377(0x107)]);}_0x5d6ea6||_0x2ee961||!_0x58cd47||_0x112b23(_0x58cd47);};}function _0x42bc(){const _0x412865=['getWalker','item','10vtqKNt','toViewElement','addHighlight','TrackChangesEditing','isContent','model','push','getItems','toViewPosition','insert','start','isAtEnd','markerName','35402418cbuEvt','markerRange','test','nextSibling','type','previousPosition','consumable','mapper','name','3703212obQrcq','8428287PXjHyM','ck-suggestion-marker--active','bindElementToMarker','6130460Tsbhpj','plugins','getCustomProperty','writer','activeMarkers','1989360RCwZzH','ck-suggestion-marker-','144qOgred','isLimit','includes','elementEnd','isBlock','get','addClass','span','parent','createRangeOn','createUIElement','schema','50474NKZnJR','15087IHUJml','hasAttribute'];_0x42bc=function(){return _0x412865;};return _0x42bc();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x29b0(){const _0x5d6466=['_onDiscard','markers','head','substr','add','isIntersectingWithRange','getMarkers','attributes','filter','push','9SSHZWl','get','isMultiRange','_markerNames','removeMarkers','_onAttributesChange','isExternal','removeAttribute','commentThread','createdAt','next','_isDataLoaded','474321gUVyjW','1796079gvHBEK','hasComments','type','map','size','subType','data','isInContent','removeMarker','authoredAt','6797546pbbbzs','addMarkerName','30LCSrRQ','change','onAttributesChange','getRange','discard','creator','set','getContainedElement','split','setAttribute','from','2558572rjDzQh','suggestion:','length','_model','1949402umQWFV','getMultiRangeId','onAccept','_saved','onDiscard','@external','toJSON','nodeAfter','clear','getFirstMarker','addRange','decorate','getRanges','previous','delete','getFirstRange','isIntersecting','addMarker','14759376ydvnBv','_onAccept','getAllAdjacentSuggestions','reduce','author','nodeBefore','accept','start','end','getItems','getMarkerNames','176106twlTDn'];_0x29b0=function(){return _0x5d6466;};return _0x29b0();}const _0x29675e=_0x151b;(function(_0x36efae,_0x2d64ee){const _0x5893ef=_0x151b,_0x333196=_0x36efae();while(!![]){try{const _0x4877dd=parseInt(_0x5893ef(0x1e4))/0x1+-parseInt(_0x5893ef(0x200))/0x2+-parseInt(_0x5893ef(0x1e5))/0x3+parseInt(_0x5893ef(0x1fc))/0x4+parseInt(_0x5893ef(0x1f1))/0x5*(parseInt(_0x5893ef(0x1cd))/0x6)+-parseInt(_0x5893ef(0x1ef))/0x7+parseInt(_0x5893ef(0x1c2))/0x8*(parseInt(_0x5893ef(0x1d8))/0x9);if(_0x4877dd===_0x2d64ee)break;else _0x333196['push'](_0x333196['shift']());}catch(_0x280b6f){_0x333196['push'](_0x333196['shift']());}}}(_0x29b0,0x902b8));function _0x151b(_0x77cb14,_0x33e0d0){const _0x29b01e=_0x29b0();return _0x151b=function(_0x151bdc,_0x4fce4e){_0x151bdc=_0x151bdc-0x1b9;let _0x5cc391=_0x29b01e[_0x151bdc];return _0x5cc391;},_0x151b(_0x77cb14,_0x33e0d0);}import{Element as _0x5931a2}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x4e36ce,uid as _0x45bdee}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1993f,isEqual as _0x435644,set as _0x163cb0,unset as _0x4132b9}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4e36ce(){constructor(_0xbe7d5c,_0x75f9fd){const _0x4aa45b=_0x151b;super(),this[_0x4aa45b(0x1e3)]=!0x1,this['id']=_0x75f9fd['id'],this[_0x4aa45b(0x1e7)]=_0x75f9fd[_0x4aa45b(0x1e7)],this[_0x4aa45b(0x1ea)]=_0x75f9fd[_0x4aa45b(0x1ea)]||null,this[_0x4aa45b(0x1c6)]=_0x75f9fd[_0x4aa45b(0x1c6)],this[_0x4aa45b(0x1f6)]=_0x75f9fd[_0x4aa45b(0x1f6)]||_0x75f9fd[_0x4aa45b(0x1c6)],this[_0x4aa45b(0x1de)]=Boolean(_0x75f9fd[_0x4aa45b(0x1d5)]&&_0x75f9fd[_0x4aa45b(0x1d5)][_0x4aa45b(0x205)]),this[_0x4aa45b(0x1eb)]=null,this[_0x4aa45b(0x1ff)]=_0xbe7d5c,this[_0x4aa45b(0x1c3)]=_0x75f9fd[_0x4aa45b(0x202)],this[_0x4aa45b(0x1ce)]=_0x75f9fd[_0x4aa45b(0x204)],this[_0x4aa45b(0x1dd)]=_0x75f9fd[_0x4aa45b(0x1f3)],this[_0x4aa45b(0x1db)]=new Set(),this[_0x4aa45b(0x1e1)]=null,this[_0x4aa45b(0x1f7)](_0x4aa45b(0x1ee),null),this[_0x4aa45b(0x1f7)](_0x4aa45b(0x1d5),_0x75f9fd[_0x4aa45b(0x1d5)]||{}),this[_0x4aa45b(0x1f7)](_0x4aa45b(0x1bd),null),this[_0x4aa45b(0x1f7)](_0x4aa45b(0x1e2),null),this[_0x4aa45b(0x1f7)](_0x4aa45b(0x1e0),null),this[_0x4aa45b(0x1f7)](_0x4aa45b(0x203),!0x1),this[_0x4aa45b(0x1bb)](_0x4aa45b(0x1c8)),this[_0x4aa45b(0x1bb)](_0x4aa45b(0x1f5));}get[_0x29675e(0x1d0)](){const _0x1fe4ea=_0x29675e;let _0x53630a=this;for(;_0x53630a[_0x1fe4ea(0x1bd)];)_0x53630a=_0x53630a[_0x1fe4ea(0x1bd)];return _0x53630a;}get[_0x29675e(0x1e6)](){const _0xead64c=_0x29675e;return!!this[_0xead64c(0x1e0)]&&this[_0xead64c(0x1e0)][_0xead64c(0x1fe)]>0x0;}get[_0x29675e(0x1da)](){const _0x38df95=_0x29675e;if(0x0==this[_0x38df95(0x1db)][_0x38df95(0x1e9)])return!0x1;return 0x6==Array[_0x38df95(0x1fb)](this[_0x38df95(0x1db)])[0x0][_0x38df95(0x1f9)](':')[_0x38df95(0x1fe)];}get[_0x29675e(0x1ec)](){const _0x5318ae=_0x29675e;return null!==this[_0x5318ae(0x1b9)]();}[_0x29675e(0x1f0)](_0x30e922){const _0x2eb07b=_0x29675e;this[_0x2eb07b(0x1db)][_0x2eb07b(0x1d2)](_0x30e922);}[_0x29675e(0x1cc)](){const _0x1fd518=_0x29675e;return Array[_0x1fd518(0x1fb)](this[_0x1fd518(0x1db)]);}[_0x29675e(0x1d4)](){const _0xc68ce6=_0x29675e;return this[_0xc68ce6(0x1cc)]()[_0xc68ce6(0x1e8)](_0x269611=>this[_0xc68ce6(0x1ff)][_0xc68ce6(0x1cf)][_0xc68ce6(0x1d9)](_0x269611))[_0xc68ce6(0x1d6)](_0x1312ef=>_0x1312ef);}[_0x29675e(0x1b9)](){const _0x29a54a=_0x29675e;return this[_0x29a54a(0x1d4)]()[0x0]||null;}[_0x29675e(0x1dc)](){const _0x26abe1=_0x29675e;this[_0x26abe1(0x1ff)][_0x26abe1(0x1f2)](_0x5bf8ee=>{const _0x7ac60c=_0x26abe1;for(const _0x51d09d of this[_0x7ac60c(0x1d4)]())_0x5bf8ee[_0x7ac60c(0x1ed)](_0x51d09d);}),this[_0x26abe1(0x1db)][_0x26abe1(0x208)]();}[_0x29675e(0x1ed)](_0x58fc29){const _0x2943a7=_0x29675e;this[_0x2943a7(0x1ff)][_0x2943a7(0x1f2)](_0x1db3e0=>{const _0xe9cfad=_0x2943a7;_0x1db3e0[_0xe9cfad(0x1ed)](_0x58fc29);}),this[_0x2943a7(0x1db)][_0x2943a7(0x1be)](_0x58fc29);}[_0x29675e(0x1ba)](_0x6f2044){const _0x51850f=_0x29675e,_0x9d4e5=_0x51850f(0x1fd)+this[_0x51850f(0x1e7)]+':'+this[_0x51850f(0x1ea)]+':'+this['id']+':'+this[_0x51850f(0x1f6)]['id']+':'+u[_0x51850f(0x201)]();this[_0x51850f(0x1f0)](_0x9d4e5),this[_0x51850f(0x1ff)][_0x51850f(0x1f2)](_0x43e571=>{const _0x582608=_0x51850f;_0x43e571[_0x582608(0x1c1)](_0x9d4e5,{'range':_0x6f2044,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x29675e(0x1d3)](_0x3f3969){const _0x28d776=_0x29675e;for(const _0x1fe2b2 of this[_0x28d776(0x1bc)]())if(_0x1fe2b2[_0x28d776(0x1c0)](_0x3f3969))return!0x0;return!0x1;}[_0x29675e(0x1bc)](){const _0x52128f=_0x29675e;return this[_0x52128f(0x1d4)]()[_0x52128f(0x1e8)](_0x557719=>_0x557719[_0x52128f(0x1f4)]());}[_0x29675e(0x1cb)](){const _0x3a91ee=_0x29675e;return this[_0x3a91ee(0x1bc)]()[_0x3a91ee(0x1c5)]((_0x64f865,_0xe86fca)=>[..._0x64f865,..._0xe86fca[_0x3a91ee(0x1cb)]()],[]);}[_0x29675e(0x1bf)](){const _0x45758e=_0x29675e;var _0x11ea6f;return(null===(_0x11ea6f=this[_0x45758e(0x1b9)]())||void 0x0===_0x11ea6f?void 0x0:_0x11ea6f[_0x45758e(0x1f4)]())||null;}[_0x29675e(0x1f8)](){const _0x1d4b76=_0x29675e,_0x470b81=this[_0x1d4b76(0x1bc)]();if(0x1!=_0x470b81[_0x1d4b76(0x1fe)])return null;const _0x2c6fdb=_0x470b81[0x0],_0x5d12d7=_0x2c6fdb[_0x1d4b76(0x1c9)][_0x1d4b76(0x207)],_0x31dc63=_0x2c6fdb[_0x1d4b76(0x1ca)][_0x1d4b76(0x1c7)];return _0x5d12d7 instanceof _0x5931a2?_0x5d12d7!=_0x31dc63?null:_0x5d12d7:null;}[_0x29675e(0x1c8)](){const _0x43de2a=_0x29675e;this[_0x43de2a(0x1c3)](this[_0x43de2a(0x1bc)](),this[_0x43de2a(0x1eb)],this[_0x43de2a(0x1d5)]),this[_0x43de2a(0x1dc)]();}[_0x29675e(0x1f5)](){const _0x3f5a90=_0x29675e;this[_0x3f5a90(0x1ce)](this[_0x3f5a90(0x1bc)](),this[_0x3f5a90(0x1eb)],this[_0x3f5a90(0x1d5)]),this[_0x3f5a90(0x1dc)]();}[_0x29675e(0x1c4)](){const _0x379812=_0x29675e,_0x428dea=[];let _0x1856f3=this[_0x379812(0x1d0)];for(;_0x1856f3;)_0x428dea[_0x379812(0x1d7)](_0x1856f3),_0x1856f3=_0x1856f3[_0x379812(0x1e2)];return _0x428dea;}[_0x29675e(0x1fa)](_0x3e9c0a,_0x320171){const _0x2a553e=_0x29675e,_0x2a815a=_0x1993f(this[_0x2a553e(0x1d5)]);_0x163cb0(_0x2a815a,_0x3e9c0a,_0x320171),_0x435644(_0x2a815a,this[_0x2a553e(0x1d5)])||(this[_0x2a553e(0x1d5)]=_0x2a815a,this[_0x2a553e(0x1dd)](_0x2a815a));}[_0x29675e(0x1df)](_0x5862e5){const _0x324078=_0x29675e,_0x480cb8=_0x1993f(this[_0x324078(0x1d5)]);_0x4132b9(_0x480cb8,_0x5862e5),_0x435644(_0x480cb8,this[_0x324078(0x1d5)])||(this[_0x324078(0x1d5)]=_0x480cb8,this[_0x324078(0x1dd)](this[_0x324078(0x1d5)]));}[_0x29675e(0x206)](){const _0x91cce=_0x29675e;return{'id':this['id'],'type':this[_0x91cce(0x1ea)]?this[_0x91cce(0x1e7)]+':'+this[_0x91cce(0x1ea)]:this[_0x91cce(0x1e7)],'authorId':this[_0x91cce(0x1f6)]['id'],'createdAt':this[_0x91cce(0x1e1)],'hasComments':this[_0x91cce(0x1e6)],'data':this[_0x91cce(0x1eb)],'attributes':this[_0x91cce(0x1d5)]};}static[_0x29675e(0x201)](){const _0x408a69=_0x29675e;return _0x45bdee()[_0x408a69(0x1d1)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2caf(){const _0x20f25f=['end','addObject','_itemLabels','addContainer','join','10598JFcBmY','*Set\x20format:*\x20%0','ELEMENT_SPACE','elementEnd','*Remove\x20format:*\x20%0','*Merge:*\x20%0','$textProxy','addFormat','456236DRtcte','getDescriptions','$1\x20$2','REPLACE_TEXT','*Insert:*\x20%0','remove','isObject','_handleInsertRemoveSuggestionDescription','add','matchingCallback','name','label','removeEmptyContainer','function','_attributeLabels','Container','_handleCustomCallbackDescription','element','_itemLabelsCallbacks','_schema','EmptyContainer','text','isEmpty','getWalker','length','map','replace','*Change\x20to:*\x20%0','push','format','_locale','quantity','registerAttributeLabel','start','nextSibling','1816CdwGPf','set','removeFormat','removeObject','registerElementLabel','item','softBreak','18hwLmDg','_customCallbacks','*Remove:*\x20%0','isInContent','15Dprtau','registerDescriptionCallback','Object','get','pop','data','has','_handleAttributeSuggestionDescription','elementStart','key','normal','nodeAfter','previousSibling','_addDescriptionItems','subType','1054980jcInhJ','type','getItemLabel','addEmptyContainer','_handleRenameSuggestionDescription','skip','3556000HLTgPP','getFirstRange','_resolveDescriptionItems','newValue','indexOf','isEqual','$text','deletion','1070532eSrefs','checkChild','insertion','*Split:*\x20%0','match','210562laNcNs','attribute','751300nOBMTX','removeContainer'];_0x2caf=function(){return _0x20f25f;};return _0x2caf();}const _0x5d999e=_0x46e2;(function(_0x18d504,_0x4a7e41){const _0x5649fd=_0x46e2,_0x5d6ebf=_0x18d504();while(!![]){try{const _0x2d6374=parseInt(_0x5649fd(0xe0))/0x1+-parseInt(_0x5649fd(0xf1))/0x2+parseInt(_0x5649fd(0xdb))/0x3+-parseInt(_0x5649fd(0xe2))/0x4+parseInt(_0x5649fd(0xbe))/0x5*(parseInt(_0x5649fd(0xcd))/0x6)+parseInt(_0x5649fd(0xe9))/0x7*(parseInt(_0x5649fd(0xb3))/0x8)+-parseInt(_0x5649fd(0xba))/0x9*(parseInt(_0x5649fd(0xd3))/0xa);if(_0x2d6374===_0x4a7e41)break;else _0x5d6ebf['push'](_0x5d6ebf['shift']());}catch(_0xc06520){_0x5d6ebf['push'](_0x5d6ebf['shift']());}}}(_0x2caf,0x4c087));function _0x46e2(_0x375d6d,_0x287ce1){const _0x2cafd2=_0x2caf();return _0x46e2=function(_0x46e2aa,_0x370a72){_0x46e2aa=_0x46e2aa-0x93;let _0xd4ed73=_0x2cafd2[_0x46e2aa];return _0xd4ed73;},_0x46e2(_0x375d6d,_0x287ce1);}import{getTranslation as _0x1ff646}from'./utils/common-translations.js';import{priorities as _0x54ab91,insertToPriorityArray as _0x58c03c}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x2f973d}from'./trackchangesediting.js';export default class f{constructor(_0x15d93c,_0x1300a1){const _0x491483=_0x46e2;this[_0x491483(0xbb)]=[],this[_0x491483(0xe6)]=new Map(),this[_0x491483(0xa2)]=[],this[_0x491483(0x9e)]=new Map(),this[_0x491483(0xa3)]=_0x15d93c,this[_0x491483(0xae)]=_0x1300a1;}[_0x5d999e(0xf2)](_0xbc95bc){const _0x303172=_0x5d999e,_0x344d1e=[],_0x28ae86=new Set(),_0x5ea88a=new Set();for(let _0x339267=0x0;_0x339267<_0xbc95bc[_0x303172(0xa8)];_0x339267++){const _0x405545=_0xbc95bc[_0x339267];if(!_0x405545[_0x303172(0xbd)])continue;const _0x38ad60=this[_0x303172(0xa0)](_0x405545);if(_0x38ad60){if(null!=_0x405545[_0x303172(0xcc)]){if(_0x28ae86[_0x303172(0xc4)](_0x405545[_0x303172(0xcc)]))continue;_0x28ae86[_0x303172(0x98)](_0x405545[_0x303172(0xcc)]);}_0x344d1e[_0x303172(0xac)](_0x38ad60);}else{if(_0x303172(0xe1)!=_0x405545[_0x303172(0xce)])_0x303172(0xdd)!=_0x405545[_0x303172(0xce)]&&_0x303172(0xda)!=_0x405545[_0x303172(0xce)]||this[_0x303172(0x97)](_0x344d1e,_0x405545,_0xbc95bc[_0x339267+0x1]);else{const _0x4676dc=_0x405545[_0x303172(0xc3)][_0x303172(0xc7)];if(_0x5ea88a[_0x303172(0xc4)](_0x4676dc))continue;_0x5ea88a[_0x303172(0x98)](_0x405545[_0x303172(0xc3)][_0x303172(0xc7)]),_0x4676dc==_0x2f973d?this[_0x303172(0xd1)](_0x344d1e,_0x405545):this[_0x303172(0xc5)](_0x344d1e,_0x405545);}}}return this[_0x303172(0xd5)](_0x344d1e);}[_0x5d999e(0xbf)](_0x1036f6){const _0x2445c9=_0x5d999e;this[_0x2445c9(0xbb)][_0x2445c9(0xac)](_0x1036f6);}[_0x5d999e(0xb7)](_0x1c6b7d,_0x22b3d6,_0x469caa=_0x54ab91[_0x5d999e(0xc8)]){const _0x14c974=_0x5d999e;_0x14c974(0x9d)==typeof _0x1c6b7d?_0x58c03c(this[_0x14c974(0xa2)],{'matchingCallback':_0x1c6b7d,'label':_0x22b3d6,'priority':_0x469caa}):this[_0x14c974(0xe6)][_0x14c974(0xb4)](_0x1c6b7d,_0x22b3d6);}[_0x5d999e(0xb0)](_0x327cfb,_0x499b16){const _0x47d0f6=_0x5d999e;this[_0x47d0f6(0x9e)][_0x47d0f6(0xb4)](_0x327cfb,_0x499b16);}[_0x5d999e(0xcf)](_0x14b29c,_0x42a8f0=0x1){const _0x2edbd3=_0x5d999e;let _0x20e635;for(const _0x2f5ef8 of this[_0x2edbd3(0xa2)])if(_0x2f5ef8[_0x2edbd3(0x99)](_0x14b29c)){_0x20e635=_0x2f5ef8[_0x2edbd3(0x9b)];break;}return _0x20e635||(_0x20e635=this[_0x2edbd3(0xe6)][_0x2edbd3(0xc1)](_0x14b29c[_0x2edbd3(0x9a)])),_0x20e635?_0x20e635(_0x42a8f0):0x1!==_0x42a8f0?_0x42a8f0+'\x20'+_0x14b29c[_0x2edbd3(0x9a)]+'s':''+_0x14b29c[_0x2edbd3(0x9a)];}[_0x5d999e(0xcb)](_0xb2f07e,_0x28f8b6){const _0x23c414=_0x5d999e,_0x23139d=_0x28f8b6[_0x23c414(0xd4)]()[_0x23c414(0xa7)](),_0x1bc74a=_0x23c414(0xdd)==_0x28f8b6[_0x23c414(0xce)]?_0x23c414(0x98):_0x23c414(0x95);for(const _0x106537 of _0x23139d){const _0x522f36=_0x106537[_0x23c414(0xb8)],_0x5f40de=_0xb2f07e[_0xb2f07e[_0x23c414(0xa8)]-0x1];if(_0x522f36['is'](_0x23c414(0xef)))_0x5f40de&&_0x5f40de[_0x23c414(0xce)][_0x23c414(0xd7)](_0x23c414(0x9f))>-0x1&&_0xb2f07e[_0x23c414(0xc2)](),_0x5f40de&&_0x23c414(0xa5)==_0x5f40de[_0x23c414(0xce)]?_0x5f40de[_0x1bc74a]+=_0x522f36[_0x23c414(0xc3)]:_0xb2f07e[_0x23c414(0xac)]({'type':_0x23c414(0xa5),'add':_0x23c414(0x98)==_0x1bc74a?_0x522f36[_0x23c414(0xc3)]:'','remove':_0x23c414(0x95)==_0x1bc74a?_0x522f36[_0x23c414(0xc3)]:''});else{if(this[_0x23c414(0xa3)][_0x23c414(0x96)](_0x522f36)){const _0x59b4ec=_0x522f36;if(_0x5f40de&&_0x5f40de[_0x23c414(0xce)][_0x23c414(0xd7)](_0x23c414(0x9f))>-0x1&&_0xb2f07e[_0x23c414(0xc2)](),_0x23c414(0xec)==_0x106537[_0x23c414(0xce)])continue;_0x5f40de&&_0x5f40de[_0x23c414(0xce)]==_0x1bc74a+_0x23c414(0xc0)&&_0x5f40de[_0x23c414(0xa1)][_0x23c414(0x9a)]==_0x59b4ec[_0x23c414(0x9a)]?_0x5f40de[_0x23c414(0xaf)]++:_0xb2f07e[_0x23c414(0xac)]({'type':_0x1bc74a+_0x23c414(0xc0),'element':_0x59b4ec,'quantity':0x1}),_0x23139d[_0x23c414(0xd2)](_0x3eb2b1=>!(_0x23c414(0xec)==_0x3eb2b1[_0x23c414(0xce)]&&_0x3eb2b1[_0x23c414(0xb8)]==_0x522f36));}else{if(this[_0x23c414(0xa3)][_0x23c414(0xdc)](_0x522f36,_0x23c414(0xd9))||_0x522f36['is'](_0x23c414(0xa1),_0x23c414(0xb9))){const _0x1fda75=_0x522f36;if(_0x23c414(0x98)==_0x1bc74a&&_0x23c414(0xc6)==_0x106537[_0x23c414(0xce)]||_0x23c414(0x95)==_0x1bc74a&&_0x23c414(0xec)==_0x106537[_0x23c414(0xce)])continue;if(_0x5f40de&&-0x1==_0x5f40de[_0x23c414(0xce)][_0x23c414(0xd7)](_0x23c414(0x9f))){_0x23c414(0xa5)==_0x5f40de[_0x23c414(0xce)]&&(_0x5f40de[_0x1bc74a]+='\x0a');continue;}let _0x37a3fe;if(_0x37a3fe=_0x23c414(0x98)==_0x1bc74a?_0x1fda75[_0x23c414(0xb2)]&&!this[_0x23c414(0xa3)][_0x23c414(0x96)](_0x1fda75[_0x23c414(0xb2)])?_0x1fda75[_0x23c414(0xb2)]:null:_0x1fda75[_0x23c414(0xca)]&&!this[_0x23c414(0xa3)][_0x23c414(0x96)](_0x1fda75[_0x23c414(0xca)])?_0x1fda75[_0x23c414(0xca)]:null,_0x1fda75[_0x23c414(0xa6)]||_0x37a3fe&&_0x37a3fe[_0x23c414(0xa6)]){const _0x48d520=_0x37a3fe&&_0x37a3fe[_0x23c414(0xa6)]?_0x37a3fe:_0x1fda75;_0x5f40de&&_0x5f40de[_0x23c414(0xce)]==_0x1bc74a+_0x23c414(0xa4)&&_0x5f40de[_0x23c414(0xa1)][_0x23c414(0x9a)]==_0x48d520[_0x23c414(0x9a)]?_0x5f40de[_0x23c414(0xaf)]++:_0xb2f07e[_0x23c414(0xac)]({'type':_0x1bc74a+_0x23c414(0xa4),'element':_0x48d520,'quantity':0x1});}else _0xb2f07e[_0x23c414(0xac)]({'type':_0x1bc74a+_0x23c414(0x9f),'element':_0x1fda75});}}}}}[_0x5d999e(0xd5)](_0x34e567){const _0x552898=_0x5d999e,_0x108c08=this[_0x552898(0xae)],_0x1aa53c=[],_0x33359e=[],_0x50c77a=[];for(const _0x2e56dc of _0x34e567)switch(_0x2e56dc[_0x552898(0xce)]){case _0x552898(0xa5):if(_0x2e56dc[_0x552898(0x98)]=_0x2e56dc[_0x552898(0x98)][_0x552898(0xaa)](/(\S)\u000A+(\S)/g,_0x552898(0xf3))[_0x552898(0xaa)](/\u000A/g,''),_0x2e56dc[_0x552898(0x95)]=_0x2e56dc[_0x552898(0x95)][_0x552898(0xaa)](/(\S)\u000A+(\S)/g,_0x552898(0xf3))[_0x552898(0xaa)](/\u000A/g,''),''!=_0x2e56dc[_0x552898(0x98)]&&''!=_0x2e56dc[_0x552898(0x95)]){_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xaa),'content':_0x1ff646(_0x108c08,_0x552898(0x93),['\x22'+_0x2e56dc[_0x552898(0x95)]+'\x22','\x22'+_0x2e56dc[_0x552898(0x98)]+'\x22'])});continue;}if(null!=_0x2e56dc[_0x552898(0x98)][_0x552898(0xdf)](/^ +$/)){_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xdd),'content':_0x1ff646(_0x108c08,_0x552898(0x94),_0x1ff646(_0x108c08,_0x552898(0xeb),_0x2e56dc[_0x552898(0x98)][_0x552898(0xa8)]))});continue;}if(null!=_0x2e56dc[_0x552898(0x95)][_0x552898(0xdf)](/^ +$/)){_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xda),'content':_0x1ff646(_0x108c08,_0x552898(0xbc),_0x1ff646(_0x108c08,_0x552898(0xeb),_0x2e56dc[_0x552898(0x95)][_0x552898(0xa8)]))});continue;}if(''!=_0x2e56dc[_0x552898(0x98)]){_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xdd),'content':_0x1ff646(_0x108c08,_0x552898(0x94),'\x22'+_0x2e56dc[_0x552898(0x98)]+'\x22')});continue;}_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xda),'content':_0x1ff646(_0x108c08,_0x552898(0xbc),'\x22'+_0x2e56dc[_0x552898(0x95)]+'\x22')});continue;case _0x552898(0xd0):case _0x552898(0xe5):_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xdd),'content':_0x1ff646(_0x108c08,_0x552898(0x94),this[_0x552898(0xcf)](_0x2e56dc[_0x552898(0xa1)],_0x2e56dc[_0x552898(0xaf)]))});continue;case _0x552898(0x9c):case _0x552898(0xb6):_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xda),'content':_0x1ff646(_0x108c08,_0x552898(0xbc),this[_0x552898(0xcf)](_0x2e56dc[_0x552898(0xa1)],_0x2e56dc[_0x552898(0xaf)]))});continue;case _0x552898(0xe7):_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xdd),'content':_0x1ff646(_0x108c08,_0x552898(0xde),this[_0x552898(0xcf)](_0x2e56dc[_0x552898(0xa1)],_0x2e56dc[_0x552898(0xaf)]))});continue;case _0x552898(0xe3):_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xda),'content':_0x1ff646(_0x108c08,_0x552898(0xee),this[_0x552898(0xcf)](_0x2e56dc[_0x552898(0xa1)],_0x2e56dc[_0x552898(0xaf)]))});continue;case _0x552898(0xf0):_0x33359e[_0x552898(0xac)](_0x2e56dc[_0x552898(0xc7)]);continue;case _0x552898(0xb5):_0x50c77a[_0x552898(0xac)](_0x2e56dc[_0x552898(0xc7)]);continue;default:_0x1aa53c[_0x552898(0xac)](_0x2e56dc);}if(_0x33359e[_0x552898(0xa8)]){const _0x51614f=_0x33359e[_0x552898(0xa9)](_0x1708a0=>this[_0x552898(0x9e)][_0x552898(0xc4)](_0x1708a0)?this[_0x552898(0x9e)][_0x552898(0xc1)](_0x1708a0):_0x1708a0)[_0x552898(0xe8)](',\x20');_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xad),'content':_0x1ff646(this[_0x552898(0xae)],_0x552898(0xea),_0x51614f)});}if(_0x50c77a[_0x552898(0xa8)]){const _0x514568=_0x50c77a[_0x552898(0xa9)](_0x4fa5cd=>this[_0x552898(0x9e)][_0x552898(0xc4)](_0x4fa5cd)?this[_0x552898(0x9e)][_0x552898(0xc1)](_0x4fa5cd):_0x4fa5cd)[_0x552898(0xe8)](',\x20');_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xad),'content':_0x1ff646(this[_0x552898(0xae)],_0x552898(0xed),_0x514568)});}return _0x1aa53c;}[_0x5d999e(0xa0)](_0x14a1d5){const _0x413f52=_0x5d999e;for(const _0x1666c9 of this[_0x413f52(0xbb)]){const _0x2c798f=_0x1666c9(_0x14a1d5);if(_0x2c798f&&_0x413f52(0xce)in _0x2c798f)return _0x2c798f;}}[_0x5d999e(0xc5)](_0x3091b7,_0x4ac8b7){const _0x21518b=_0x5d999e,_0x3ee150=_0x4ac8b7[_0x21518b(0xc3)],_0x5a9f7f=void 0x0===_0x3ee150[_0x21518b(0xd6)]?_0x21518b(0xb5):_0x21518b(0xf0);_0x3091b7[_0x21518b(0xac)]({'type':_0x5a9f7f,'key':_0x3ee150[_0x21518b(0xc7)]});}[_0x5d999e(0xd1)](_0x1dc7b4,_0x2d0626){const _0x1495de=_0x5d999e;_0x1dc7b4[_0x1495de(0xac)]({'type':_0x1495de(0xad),'content':_0x1ff646(this[_0x1495de(0xae)],_0x1495de(0xab),this[_0x1495de(0xcf)](_0x2d0626[_0x1495de(0xd4)]()[_0x1495de(0xb1)][_0x1495de(0xc9)],0x1))});}[_0x5d999e(0x97)](_0x49da68,_0x105e03,_0x2052f8){const _0xa4f092=_0x5d999e;if(this[_0xa4f092(0xcb)](_0x49da68,_0x105e03),_0x2052f8&&_0x2052f8[_0xa4f092(0xd4)]()&&!_0x105e03[_0xa4f092(0xd4)]()[_0xa4f092(0xe4)][_0xa4f092(0xd8)](_0x2052f8[_0xa4f092(0xd4)]()[_0xa4f092(0xb1)])){const _0x49de68=_0x49da68[_0x49da68[_0xa4f092(0xa8)]-0x1],_0x32d203=_0xa4f092(0xdd)==_0x105e03[_0xa4f092(0xce)]?_0xa4f092(0x98):_0xa4f092(0x95);_0x49de68&&_0xa4f092(0xa5)==_0x49de68[_0xa4f092(0xce)]&&(_0x49de68[_0x32d203]+='\x0a');}}}
|
|
23
|
+
const _0xfa8ea5=_0x31a5;function _0x31a5(_0x182c73,_0x3bdbbc){const _0x45773b=_0x4577();return _0x31a5=function(_0x31a52e,_0x52ff08){_0x31a52e=_0x31a52e-0x1dd;let _0x459b82=_0x45773b[_0x31a52e];return _0x459b82;},_0x31a5(_0x182c73,_0x3bdbbc);}(function(_0x5d3a0e,_0x50e54c){const _0x30c16b=_0x31a5,_0x5d221b=_0x5d3a0e();while(!![]){try{const _0x421eb6=-parseInt(_0x30c16b(0x1e5))/0x1+parseInt(_0x30c16b(0x1e7))/0x2*(-parseInt(_0x30c16b(0x230))/0x3)+parseInt(_0x30c16b(0x226))/0x4+-parseInt(_0x30c16b(0x1eb))/0x5*(-parseInt(_0x30c16b(0x237))/0x6)+parseInt(_0x30c16b(0x1dd))/0x7*(-parseInt(_0x30c16b(0x1f6))/0x8)+parseInt(_0x30c16b(0x209))/0x9+parseInt(_0x30c16b(0x20c))/0xa;if(_0x421eb6===_0x50e54c)break;else _0x5d221b['push'](_0x5d221b['shift']());}catch(_0x107541){_0x5d221b['push'](_0x5d221b['shift']());}}}(_0x4577,0x90fcc));function _0x4577(){const _0x344b7e=['indexOf','length','isEmpty','start','$text','*Merge:*\x20%0','3947427qUaxRM','_resolveDescriptionItems','attribute','6396970LuvyKj','previousSibling','softBreak','normal','skip','item','*Change\x20to:*\x20%0','_handleInsertRemoveSuggestionDescription','*Insert:*\x20%0','has','checkChild','deletion','Container','isEqual','get','getItemLabel','removeFormat','getDescriptions','isInContent','key','addFormat','_itemLabelsCallbacks','*Remove:*\x20%0','_attributeLabels','*Set\x20format:*\x20%0','$textProxy','3946660QeEcpS','remove','_schema','getFirstRange','map','nextSibling','type','_handleCustomCallbackDescription','registerDescriptionCallback','isObject','1856844SyjKmq','data','format','_locale','getWalker','removeObject','subType','67278fjWDzK','push','elementStart','label','replace','ELEMENT_SPACE','EmptyContainer','7RNZzui','insertion','match','join','_handleAttributeSuggestionDescription','*Split:*\x20%0','registerElementLabel','text','898455LtMeFf','removeContainer','2qpEWis','name','elementEnd','Object','450ayeoFO','set','matchingCallback','_itemLabels','element','_addDescriptionItems','add','registerAttributeLabel','end','newValue','nodeAfter','7702912IfypDt','addObject','$1\x20$2','*Remove\x20format:*\x20%0','addContainer','_handleRenameSuggestionDescription','pop','removeEmptyContainer','REPLACE_TEXT','addEmptyContainer','_customCallbacks','quantity','function'];_0x4577=function(){return _0x344b7e;};return _0x4577();}import{getTranslation as _0x13e96d}from'./utils/common-translations.js';import{priorities as _0x1e6628,insertToPriorityArray as _0x2aa14a}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x322d6b}from'./trackchangesediting.js';export default class f{constructor(_0x4a2482,_0x18eab4){const _0x4d17af=_0x31a5;this[_0x4d17af(0x200)]=[],this[_0x4d17af(0x1ee)]=new Map(),this[_0x4d17af(0x221)]=[],this[_0x4d17af(0x223)]=new Map(),this[_0x4d17af(0x228)]=_0x4a2482,this[_0x4d17af(0x233)]=_0x18eab4;}[_0xfa8ea5(0x21d)](_0x20d171){const _0x44c16=_0xfa8ea5,_0x3b2bb2=[],_0x4a6dad=new Set(),_0x5ae66c=new Set();for(let _0xc31329=0x0;_0xc31329<_0x20d171[_0x44c16(0x204)];_0xc31329++){const _0x2a13a4=_0x20d171[_0xc31329];if(!_0x2a13a4[_0x44c16(0x21e)])continue;const _0x4b798c=this[_0x44c16(0x22d)](_0x2a13a4);if(_0x4b798c){if(null!=_0x2a13a4[_0x44c16(0x236)]){if(_0x4a6dad[_0x44c16(0x215)](_0x2a13a4[_0x44c16(0x236)]))continue;_0x4a6dad[_0x44c16(0x1f1)](_0x2a13a4[_0x44c16(0x236)]);}_0x3b2bb2[_0x44c16(0x238)](_0x4b798c);}else{if(_0x44c16(0x20b)!=_0x2a13a4[_0x44c16(0x22c)])_0x44c16(0x1de)!=_0x2a13a4[_0x44c16(0x22c)]&&_0x44c16(0x217)!=_0x2a13a4[_0x44c16(0x22c)]||this[_0x44c16(0x213)](_0x3b2bb2,_0x2a13a4,_0x20d171[_0xc31329+0x1]);else{const _0x2ae2a4=_0x2a13a4[_0x44c16(0x231)][_0x44c16(0x21f)];if(_0x5ae66c[_0x44c16(0x215)](_0x2ae2a4))continue;_0x5ae66c[_0x44c16(0x1f1)](_0x2a13a4[_0x44c16(0x231)][_0x44c16(0x21f)]),_0x2ae2a4==_0x322d6b?this[_0x44c16(0x1fb)](_0x3b2bb2,_0x2a13a4):this[_0x44c16(0x1e1)](_0x3b2bb2,_0x2a13a4);}}}return this[_0x44c16(0x20a)](_0x3b2bb2);}[_0xfa8ea5(0x22e)](_0x18d2d6){const _0x7e79cf=_0xfa8ea5;this[_0x7e79cf(0x200)][_0x7e79cf(0x238)](_0x18d2d6);}[_0xfa8ea5(0x1e3)](_0x5c1b12,_0x36a9db,_0x7e8ec4=_0x1e6628[_0xfa8ea5(0x20f)]){const _0xaca4a2=_0xfa8ea5;_0xaca4a2(0x202)==typeof _0x5c1b12?_0x2aa14a(this[_0xaca4a2(0x221)],{'matchingCallback':_0x5c1b12,'label':_0x36a9db,'priority':_0x7e8ec4}):this[_0xaca4a2(0x1ee)][_0xaca4a2(0x1ec)](_0x5c1b12,_0x36a9db);}[_0xfa8ea5(0x1f2)](_0x53a422,_0x309032){const _0x9bfb85=_0xfa8ea5;this[_0x9bfb85(0x223)][_0x9bfb85(0x1ec)](_0x53a422,_0x309032);}[_0xfa8ea5(0x21b)](_0x331e4d,_0x6c0ae2=0x1){const _0x20dcdf=_0xfa8ea5;let _0x3e31e4;for(const _0x2161db of this[_0x20dcdf(0x221)])if(_0x2161db[_0x20dcdf(0x1ed)](_0x331e4d)){_0x3e31e4=_0x2161db[_0x20dcdf(0x23a)];break;}return _0x3e31e4||(_0x3e31e4=this[_0x20dcdf(0x1ee)][_0x20dcdf(0x21a)](_0x331e4d[_0x20dcdf(0x1e8)])),_0x3e31e4?_0x3e31e4(_0x6c0ae2):0x1!==_0x6c0ae2?_0x6c0ae2+'\x20'+_0x331e4d[_0x20dcdf(0x1e8)]+'s':''+_0x331e4d[_0x20dcdf(0x1e8)];}[_0xfa8ea5(0x1f0)](_0x32bb66,_0x5c9f07){const _0x305119=_0xfa8ea5,_0x2f2b0b=_0x5c9f07[_0x305119(0x229)]()[_0x305119(0x234)](),_0x2a57dc=_0x305119(0x1de)==_0x5c9f07[_0x305119(0x22c)]?_0x305119(0x1f1):_0x305119(0x227);for(const _0x2162ad of _0x2f2b0b){const _0x300129=_0x2162ad[_0x305119(0x211)],_0x2bd0bd=_0x32bb66[_0x32bb66[_0x305119(0x204)]-0x1];if(_0x300129['is'](_0x305119(0x225)))_0x2bd0bd&&_0x2bd0bd[_0x305119(0x22c)][_0x305119(0x203)](_0x305119(0x218))>-0x1&&_0x32bb66[_0x305119(0x1fc)](),_0x2bd0bd&&_0x305119(0x1e4)==_0x2bd0bd[_0x305119(0x22c)]?_0x2bd0bd[_0x2a57dc]+=_0x300129[_0x305119(0x231)]:_0x32bb66[_0x305119(0x238)]({'type':_0x305119(0x1e4),'add':_0x305119(0x1f1)==_0x2a57dc?_0x300129[_0x305119(0x231)]:'','remove':_0x305119(0x227)==_0x2a57dc?_0x300129[_0x305119(0x231)]:''});else{if(this[_0x305119(0x228)][_0x305119(0x22f)](_0x300129)){const _0x3cbcb4=_0x300129;if(_0x2bd0bd&&_0x2bd0bd[_0x305119(0x22c)][_0x305119(0x203)](_0x305119(0x218))>-0x1&&_0x32bb66[_0x305119(0x1fc)](),_0x305119(0x1e9)==_0x2162ad[_0x305119(0x22c)])continue;_0x2bd0bd&&_0x2bd0bd[_0x305119(0x22c)]==_0x2a57dc+_0x305119(0x1ea)&&_0x2bd0bd[_0x305119(0x1ef)][_0x305119(0x1e8)]==_0x3cbcb4[_0x305119(0x1e8)]?_0x2bd0bd[_0x305119(0x201)]++:_0x32bb66[_0x305119(0x238)]({'type':_0x2a57dc+_0x305119(0x1ea),'element':_0x3cbcb4,'quantity':0x1}),_0x2f2b0b[_0x305119(0x210)](_0x2eb364=>!(_0x305119(0x1e9)==_0x2eb364[_0x305119(0x22c)]&&_0x2eb364[_0x305119(0x211)]==_0x300129));}else{if(this[_0x305119(0x228)][_0x305119(0x216)](_0x300129,_0x305119(0x207))||_0x300129['is'](_0x305119(0x1ef),_0x305119(0x20e))){const _0x55bc26=_0x300129;if(_0x305119(0x1f1)==_0x2a57dc&&_0x305119(0x239)==_0x2162ad[_0x305119(0x22c)]||_0x305119(0x227)==_0x2a57dc&&_0x305119(0x1e9)==_0x2162ad[_0x305119(0x22c)])continue;if(_0x2bd0bd&&-0x1==_0x2bd0bd[_0x305119(0x22c)][_0x305119(0x203)](_0x305119(0x218))){_0x305119(0x1e4)==_0x2bd0bd[_0x305119(0x22c)]&&(_0x2bd0bd[_0x2a57dc]+='\x0a');continue;}let _0x3a8831;if(_0x3a8831=_0x305119(0x1f1)==_0x2a57dc?_0x55bc26[_0x305119(0x22b)]&&!this[_0x305119(0x228)][_0x305119(0x22f)](_0x55bc26[_0x305119(0x22b)])?_0x55bc26[_0x305119(0x22b)]:null:_0x55bc26[_0x305119(0x20d)]&&!this[_0x305119(0x228)][_0x305119(0x22f)](_0x55bc26[_0x305119(0x20d)])?_0x55bc26[_0x305119(0x20d)]:null,_0x55bc26[_0x305119(0x205)]||_0x3a8831&&_0x3a8831[_0x305119(0x205)]){const _0x59d9e9=_0x3a8831&&_0x3a8831[_0x305119(0x205)]?_0x3a8831:_0x55bc26;_0x2bd0bd&&_0x2bd0bd[_0x305119(0x22c)]==_0x2a57dc+_0x305119(0x23d)&&_0x2bd0bd[_0x305119(0x1ef)][_0x305119(0x1e8)]==_0x59d9e9[_0x305119(0x1e8)]?_0x2bd0bd[_0x305119(0x201)]++:_0x32bb66[_0x305119(0x238)]({'type':_0x2a57dc+_0x305119(0x23d),'element':_0x59d9e9,'quantity':0x1});}else _0x32bb66[_0x305119(0x238)]({'type':_0x2a57dc+_0x305119(0x218),'element':_0x55bc26});}}}}}[_0xfa8ea5(0x20a)](_0x44560f){const _0x1120cc=_0xfa8ea5,_0xd3de4e=this[_0x1120cc(0x233)],_0xcd34fd=[],_0x15fcb6=[],_0x2edad8=[];for(const _0x2b6073 of _0x44560f)switch(_0x2b6073[_0x1120cc(0x22c)]){case _0x1120cc(0x1e4):if(_0x2b6073[_0x1120cc(0x1f1)]=_0x2b6073[_0x1120cc(0x1f1)][_0x1120cc(0x23b)](/(\S)\u000A+(\S)/g,_0x1120cc(0x1f8))[_0x1120cc(0x23b)](/\u000A/g,''),_0x2b6073[_0x1120cc(0x227)]=_0x2b6073[_0x1120cc(0x227)][_0x1120cc(0x23b)](/(\S)\u000A+(\S)/g,_0x1120cc(0x1f8))[_0x1120cc(0x23b)](/\u000A/g,''),''!=_0x2b6073[_0x1120cc(0x1f1)]&&''!=_0x2b6073[_0x1120cc(0x227)]){_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x23b),'content':_0x13e96d(_0xd3de4e,_0x1120cc(0x1fe),['\x22'+_0x2b6073[_0x1120cc(0x227)]+'\x22','\x22'+_0x2b6073[_0x1120cc(0x1f1)]+'\x22'])});continue;}if(null!=_0x2b6073[_0x1120cc(0x1f1)][_0x1120cc(0x1df)](/^ +$/)){_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x1de),'content':_0x13e96d(_0xd3de4e,_0x1120cc(0x214),_0x13e96d(_0xd3de4e,_0x1120cc(0x23c),_0x2b6073[_0x1120cc(0x1f1)][_0x1120cc(0x204)]))});continue;}if(null!=_0x2b6073[_0x1120cc(0x227)][_0x1120cc(0x1df)](/^ +$/)){_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x217),'content':_0x13e96d(_0xd3de4e,_0x1120cc(0x222),_0x13e96d(_0xd3de4e,_0x1120cc(0x23c),_0x2b6073[_0x1120cc(0x227)][_0x1120cc(0x204)]))});continue;}if(''!=_0x2b6073[_0x1120cc(0x1f1)]){_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x1de),'content':_0x13e96d(_0xd3de4e,_0x1120cc(0x214),'\x22'+_0x2b6073[_0x1120cc(0x1f1)]+'\x22')});continue;}_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x217),'content':_0x13e96d(_0xd3de4e,_0x1120cc(0x222),'\x22'+_0x2b6073[_0x1120cc(0x227)]+'\x22')});continue;case _0x1120cc(0x1ff):case _0x1120cc(0x1f7):_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x1de),'content':_0x13e96d(_0xd3de4e,_0x1120cc(0x214),this[_0x1120cc(0x21b)](_0x2b6073[_0x1120cc(0x1ef)],_0x2b6073[_0x1120cc(0x201)]))});continue;case _0x1120cc(0x1fd):case _0x1120cc(0x235):_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x217),'content':_0x13e96d(_0xd3de4e,_0x1120cc(0x222),this[_0x1120cc(0x21b)](_0x2b6073[_0x1120cc(0x1ef)],_0x2b6073[_0x1120cc(0x201)]))});continue;case _0x1120cc(0x1fa):_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x1de),'content':_0x13e96d(_0xd3de4e,_0x1120cc(0x1e2),this[_0x1120cc(0x21b)](_0x2b6073[_0x1120cc(0x1ef)],_0x2b6073[_0x1120cc(0x201)]))});continue;case _0x1120cc(0x1e6):_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x217),'content':_0x13e96d(_0xd3de4e,_0x1120cc(0x208),this[_0x1120cc(0x21b)](_0x2b6073[_0x1120cc(0x1ef)],_0x2b6073[_0x1120cc(0x201)]))});continue;case _0x1120cc(0x220):_0x15fcb6[_0x1120cc(0x238)](_0x2b6073[_0x1120cc(0x21f)]);continue;case _0x1120cc(0x21c):_0x2edad8[_0x1120cc(0x238)](_0x2b6073[_0x1120cc(0x21f)]);continue;default:_0xcd34fd[_0x1120cc(0x238)](_0x2b6073);}if(_0x15fcb6[_0x1120cc(0x204)]){const _0x1f0f1f=_0x15fcb6[_0x1120cc(0x22a)](_0x27708f=>this[_0x1120cc(0x223)][_0x1120cc(0x215)](_0x27708f)?this[_0x1120cc(0x223)][_0x1120cc(0x21a)](_0x27708f):_0x27708f)[_0x1120cc(0x1e0)](',\x20');_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x232),'content':_0x13e96d(this[_0x1120cc(0x233)],_0x1120cc(0x224),_0x1f0f1f)});}if(_0x2edad8[_0x1120cc(0x204)]){const _0x44b225=_0x2edad8[_0x1120cc(0x22a)](_0x2972b5=>this[_0x1120cc(0x223)][_0x1120cc(0x215)](_0x2972b5)?this[_0x1120cc(0x223)][_0x1120cc(0x21a)](_0x2972b5):_0x2972b5)[_0x1120cc(0x1e0)](',\x20');_0xcd34fd[_0x1120cc(0x238)]({'type':_0x1120cc(0x232),'content':_0x13e96d(this[_0x1120cc(0x233)],_0x1120cc(0x1f9),_0x44b225)});}return _0xcd34fd;}[_0xfa8ea5(0x22d)](_0x3a51f6){const _0x15cce8=_0xfa8ea5;for(const _0xcf1d1a of this[_0x15cce8(0x200)]){const _0x155de0=_0xcf1d1a(_0x3a51f6);if(_0x155de0&&_0x15cce8(0x22c)in _0x155de0)return _0x155de0;}}[_0xfa8ea5(0x1e1)](_0x12845c,_0x469b5f){const _0x2bfbe1=_0xfa8ea5,_0x382ea8=_0x469b5f[_0x2bfbe1(0x231)],_0x3cdb22=void 0x0===_0x382ea8[_0x2bfbe1(0x1f4)]?_0x2bfbe1(0x21c):_0x2bfbe1(0x220);_0x12845c[_0x2bfbe1(0x238)]({'type':_0x3cdb22,'key':_0x382ea8[_0x2bfbe1(0x21f)]});}[_0xfa8ea5(0x1fb)](_0x3e1b4d,_0x52a448){const _0x5454ec=_0xfa8ea5;_0x3e1b4d[_0x5454ec(0x238)]({'type':_0x5454ec(0x232),'content':_0x13e96d(this[_0x5454ec(0x233)],_0x5454ec(0x212),this[_0x5454ec(0x21b)](_0x52a448[_0x5454ec(0x229)]()[_0x5454ec(0x206)][_0x5454ec(0x1f5)],0x1))});}[_0xfa8ea5(0x213)](_0x2ff1fd,_0x27e7b2,_0x329330){const _0x5578da=_0xfa8ea5;if(this[_0x5578da(0x1f0)](_0x2ff1fd,_0x27e7b2),_0x329330&&_0x329330[_0x5578da(0x229)]()&&!_0x27e7b2[_0x5578da(0x229)]()[_0x5578da(0x1f3)][_0x5578da(0x219)](_0x329330[_0x5578da(0x229)]()[_0x5578da(0x206)])){const _0x196e64=_0x2ff1fd[_0x2ff1fd[_0x5578da(0x204)]-0x1],_0x192f89=_0x5578da(0x1de)==_0x27e7b2[_0x5578da(0x22c)]?_0x5578da(0x1f1):_0x5578da(0x227);_0x196e64&&_0x5578da(0x1e4)==_0x196e64[_0x5578da(0x22c)]&&(_0x196e64[_0x192f89]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x18a2(){var _0x5451bd=['adapter','385821myHhXo','31428jZirSg','getSuggestions','1211Vjcxrs','requires','pluginName','3ljfeMb','TrackChanges','editor','370czcaVx','getSuggestion','4994nVuRWS','2219564BAjfYL','652294hRCclB','plugins','4152VcnJCO','addSuggestion','14235gCuhat','addSuggestionData','get','2382pVuJnO','Comments','5166525QRhrDL','3phJHXg'];_0x18a2=function(){return _0x5451bd;};return _0x18a2();}var _0x5238eb=_0x294b;(function(_0x402aa1,_0x5e3849){var _0x1ecd73=_0x294b,_0x273310=_0x402aa1();while(!![]){try{var _0x4c4f89=parseInt(_0x1ecd73(0xb8))/0x1*(-parseInt(_0x1ecd73(0xae))/0x2)+-parseInt(_0x1ecd73(0xc0))/0x3*(-parseInt(_0x1ecd73(0xad))/0x4)+parseInt(_0x1ecd73(0xb2))/0x5*(parseInt(_0x1ecd73(0xb5))/0x6)+parseInt(_0x1ecd73(0xbd))/0x7*(parseInt(_0x1ecd73(0xb0))/0x8)+parseInt(_0x1ecd73(0xba))/0x9*(-parseInt(_0x1ecd73(0xaa))/0xa)+parseInt(_0x1ecd73(0xac))/0xb*(parseInt(_0x1ecd73(0xbb))/0xc)+parseInt(_0x1ecd73(0xb7))/0xd;if(_0x4c4f89===_0x5e3849)break;else _0x273310['push'](_0x273310['shift']());}catch(_0x1aaea4){_0x273310['push'](_0x273310['shift']());}}}(_0x18a2,0xc287a));import{Plugin as _0x4db297}from'ckeditor5/src/core.js';import _0x2e6eff from'./trackchangesui.js';function _0x294b(_0x4d810b,_0x226e91){var _0x18a29d=_0x18a2();return _0x294b=function(_0x294bb1,_0x5b1399){_0x294bb1=_0x294bb1-0xa9;var _0x525b98=_0x18a29d[_0x294bb1];return _0x525b98;},_0x294b(_0x4d810b,_0x226e91);}import _0x5789da from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x4db297{static get[_0x5238eb(0xbe)](){var _0x1fa2a2=_0x5238eb;return[_0x5789da,_0x2e6eff,_0x1fa2a2(0xb6)];}static get[_0x5238eb(0xbf)](){var _0xdc5c12=_0x5238eb;return _0xdc5c12(0xc1);}set[_0x5238eb(0xb9)](_0x24a9d0){var _0x3a109e=_0x5238eb;this[_0x3a109e(0xa9)][_0x3a109e(0xaf)][_0x3a109e(0xb4)](_0x5789da)[_0x3a109e(0xb9)]=_0x24a9d0;}get[_0x5238eb(0xb9)](){var _0x2b7fa7=_0x5238eb;return this[_0x2b7fa7(0xa9)][_0x2b7fa7(0xaf)][_0x2b7fa7(0xb4)](_0x5789da)[_0x2b7fa7(0xb9)];}[_0x5238eb(0xb1)](_0x5205ca){var _0x582ae6=_0x5238eb;return this[_0x582ae6(0xa9)][_0x582ae6(0xaf)][_0x582ae6(0xb4)](_0x5789da)[_0x582ae6(0xb3)](_0x5205ca);}[_0x5238eb(0xbc)]({skipNotAttached:_0x11d6a6=!0x1,toJSON:_0x2a6479=!0x1}={}){var _0x5bc5ea=_0x5238eb;return this[_0x5bc5ea(0xa9)][_0x5bc5ea(0xaf)][_0x5bc5ea(0xb4)](_0x5789da)[_0x5bc5ea(0xbc)]({'skipNotAttached':_0x11d6a6,'toJSON':_0x2a6479});}[_0x5238eb(0xab)](_0x3a8087){var _0x4937e6=_0x5238eb;return this[_0x4937e6(0xa9)][_0x4937e6(0xaf)][_0x4937e6(0xb4)](_0x5789da)[_0x4937e6(0xab)](_0x3a8087);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa391fb=_0x2dde;(function(_0x7e8aeb,_0x331042){const _0x9efd6e=_0x2dde,_0xbb6a5=_0x7e8aeb();while(!![]){try{const _0x5e23e1=parseInt(_0x9efd6e(0x10a))/0x1*(-parseInt(_0x9efd6e(0x120))/0x2)+-parseInt(_0x9efd6e(0x108))/0x3*(-parseInt(_0x9efd6e(0xe3))/0x4)+parseInt(_0x9efd6e(0x107))/0x5+parseInt(_0x9efd6e(0x103))/0x6+parseInt(_0x9efd6e(0x110))/0x7*(-parseInt(_0x9efd6e(0xfb))/0x8)+parseInt(_0x9efd6e(0x10d))/0x9*(-parseInt(_0x9efd6e(0x11e))/0xa)+-parseInt(_0x9efd6e(0x10f))/0xb*(-parseInt(_0x9efd6e(0xf4))/0xc);if(_0x5e23e1===_0x331042)break;else _0xbb6a5['push'](_0xbb6a5['shift']());}catch(_0x79fdd2){_0xbb6a5['push'](_0xbb6a5['shift']());}}}(_0x4f16,0x8f5c4));import{Plugin as _0x45b3eb}from'ckeditor5/src/core.js';import{CKEditorError as _0x1374b6}from'ckeditor5/src/utils.js';import _0x386859 from'./trackchangesediting.js';function _0x2dde(_0x39d7f7,_0x5e3f65){const _0x4f167a=_0x4f16();return _0x2dde=function(_0x2dde73,_0x199249){_0x2dde73=_0x2dde73-0xe3;let _0x5134ec=_0x4f167a[_0x2dde73];return _0x5134ec;},_0x2dde(_0x39d7f7,_0x5e3f65);}import{sanitizeEditorConfig as _0x10c4b8}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0xa391fb(0xf6)];export default class P extends _0x45b3eb{static get[_0xa391fb(0xeb)](){return[_0x386859];}static get[_0xa391fb(0x10b)](){const _0x4a37c4=_0xa391fb;return _0x4a37c4(0x10e);}[_0xa391fb(0x124)](){const _0x53e285=_0xa391fb,_0x9348fe=this[_0x53e285(0x112)];if(_0x9348fe[_0x53e285(0xea)][_0x53e285(0x122)](_0x53e285(0xfc),_0x2b2292=>{const _0x2fa89c=_0x53e285,_0x2aaade=_0x9348fe[_0x2fa89c(0x11c)][_0x2fa89c(0x121)][_0x2fa89c(0x11d)]()[_0x2fa89c(0xf7)]((_0x2dfcb9,_0xaee2d7)=>(_0x2dfcb9[_0xaee2d7]='',_0x2dfcb9),{});return _0x9348fe[_0x2fa89c(0xf0)][_0x2fa89c(0xe6)](_0x2aaade,_0x2b2292);}),_0x53e285(0x117)!=typeof _0x9348fe[_0x53e285(0xea)][_0x53e285(0x104)](_0x53e285(0x113))[_0x53e285(0x115)])throw new _0x1374b6(_0x53e285(0xed));}[_0xa391fb(0x11a)](_0x14b7ec){const _0x4fbcd0=_0xa391fb;return N(this[_0x4fbcd0(0x112)],!0x0,_0x14b7ec);}[_0xa391fb(0xe8)](_0xbe4e26){const _0x1a32bb=_0xa391fb;return N(this[_0x1a32bb(0x112)],!0x1,_0xbe4e26);}}class D extends _0x45b3eb{static get[_0xa391fb(0x10b)](){const _0xdf180e=_0xa391fb;return _0xdf180e(0xe5);}constructor(_0x238d9d){const _0x24b40a=_0xa391fb;super(_0x238d9d),this[_0x24b40a(0xee)]=_0x24b40a(0x11b);}[_0xa391fb(0x124)](){const _0x1206f5=_0xa391fb;this[_0x1206f5(0x112)][_0x1206f5(0xe7)][_0x1206f5(0x104)](_0x1206f5(0x123))[_0x1206f5(0x10c)]={'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[_0x1206f5(0x112)][_0x1206f5(0xe7)][_0x1206f5(0x104)](_0x1206f5(0xfd))[_0x1206f5(0x10c)]=null;}}function _0x4f16(){const _0x4ba1dc=['10129PMicMg','addCommentThread','editor','trackChangesData','discardAllSuggestions','editorCreator','data','function','getFullData','createDocumentFragment','getDataWithAcceptedSuggestions','end','model','getRootNames','10LLyloL','name','5828xKSOiC','document','define','CommentsRepository','init','4ClUmzs','map','TrackChangesDataGetter','create','plugins','getDataWithDiscardedSuggestions','useAnonymousUser','config','requires','addSuggestionData','track-changes-data-invalid-editor-creator','result','set','constructor','rootsAttributes','createElement','appendChild','3291252stWWzs','getSuggestions','Pagination','reduce','users','div','addUser','5776AGYFYA','trackChangesData.editorCreator','TrackChangesEditing','acceptAllSuggestions','getRootsAttributes','push','destroy','execute','485022tOCyTu','get','Users','getUser','4938550ckeuyA','567915iTyPpr','getCommentThreads','237FlpFkK','pluginName','_adapter','5228298yOLxcW','TrackChangesData','66rhTJWZ'];_0x4f16=function(){return _0x4ba1dc;};return _0x4f16();}function v(_0x55ef50){const _0x602490=_0xa391fb;return void 0x0!==_0x55ef50[_0x602490(0xff)];}async function N(_0x15427b,_0x4f4604,_0x55a6d4){const _0xc77c5e=_0xa391fb,_0x1a3772=_0x10c4b8(_0x15427b,T);_0x1a3772[_0xc77c5e(0xe7)][_0xc77c5e(0x100)](_0x386859,D),_0x1a3772[_0xc77c5e(0xf1)]=v(_0x15427b)?_0x15427b[_0xc77c5e(0xff)]():void 0x0;const _0x45a50f=document[_0xc77c5e(0x119)](),_0x1b3b86=_0x15427b[_0xc77c5e(0xea)][_0xc77c5e(0x104)](_0xc77c5e(0x113))[_0xc77c5e(0x115)],_0x1115ce=await _0x1b3b86(_0x1a3772,()=>function(_0x39d026){const _0x4a3b05=_0xc77c5e,_0x81e920=document[_0x4a3b05(0xf2)](_0x4a3b05(0xf9));return _0x39d026[_0x4a3b05(0xf3)](_0x81e920),_0x81e920;}(_0x45a50f));!function(_0xde5a38,_0x47dc1e){const _0x3d0e9c=_0xc77c5e,_0x564b0d=_0xde5a38[_0x3d0e9c(0x11c)][_0x3d0e9c(0x121)][_0x3d0e9c(0x11d)]()[_0x3d0e9c(0xf7)]((_0x5d807e,_0x14ab4d)=>(_0x5d807e[_0x14ab4d]=_0xde5a38[_0x3d0e9c(0x116)][_0x3d0e9c(0x104)]({'rootName':_0x14ab4d}),_0x5d807e),{}),_0x318747=_0xde5a38[_0x3d0e9c(0xe7)][_0x3d0e9c(0x104)](_0x3d0e9c(0x105))[_0x3d0e9c(0xf8)][_0x3d0e9c(0xe4)](_0x4d777e=>({'id':_0x4d777e['id'],'name':_0x4d777e[_0x3d0e9c(0x11f)]})),_0x4e5580=_0xde5a38[_0x3d0e9c(0xe7)][_0x3d0e9c(0x104)](_0x3d0e9c(0xfd))[_0x3d0e9c(0xf5)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x518133=_0xde5a38[_0x3d0e9c(0xe7)][_0x3d0e9c(0x104)](_0x3d0e9c(0x123))[_0x3d0e9c(0x109)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x410468=_0x47dc1e[_0x3d0e9c(0xe7)][_0x3d0e9c(0x104)](_0x3d0e9c(0x105)),_0x85a7d=_0x47dc1e[_0x3d0e9c(0xe7)][_0x3d0e9c(0x104)](_0x3d0e9c(0xfd)),_0x93afb5=_0x47dc1e[_0x3d0e9c(0xe7)][_0x3d0e9c(0x104)](_0x3d0e9c(0x123));for(const _0x345fc3 of _0x318747)_0x410468[_0x3d0e9c(0x106)](_0x345fc3['id'])||_0x410468[_0x3d0e9c(0xfa)](_0x345fc3);_0x410468['me']||_0x410468[_0x3d0e9c(0xe9)]();for(const _0x3a3184 of _0x518133)_0x93afb5[_0x3d0e9c(0x111)](_0x3a3184);for(const _0x24d65a of _0x4e5580)_0x85a7d[_0x3d0e9c(0xec)](_0x24d65a);_0x47dc1e[_0x3d0e9c(0x116)][_0x3d0e9c(0xef)](_0x564b0d);}(_0x15427b,_0x1115ce),_0x1115ce[_0xc77c5e(0x102)](_0x4f4604?_0xc77c5e(0xfe):_0xc77c5e(0x114));const _0x3c9903=v(_0x1115ce)?_0x1115ce[_0xc77c5e(0x118)](_0x55a6d4):_0x1115ce[_0xc77c5e(0x116)][_0xc77c5e(0x104)](_0x55a6d4);return await _0x1115ce[_0xc77c5e(0x101)](),_0x3c9903;}
|