@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240509.0 → 0.0.0-nightly-20240510.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 _0x568720=_0x448b;(function(_0x149aba,_0x3c0d8e){const _0x382c10=_0x448b,_0x48de21=_0x149aba();while(!![]){try{const _0x2253a3=-parseInt(_0x382c10(0x1b2))/0x1*(parseInt(_0x382c10(0x1b1))/0x2)+parseInt(_0x382c10(0x1be))/0x3*(parseInt(_0x382c10(0x204))/0x4)+-parseInt(_0x382c10(0x200))/0x5+-parseInt(_0x382c10(0x1d6))/0x6*(parseInt(_0x382c10(0x208))/0x7)+parseInt(_0x382c10(0x1de))/0x8*(-parseInt(_0x382c10(0x1a9))/0x9)+-parseInt(_0x382c10(0x1a7))/0xa+parseInt(_0x382c10(0x1f6))/0xb*(parseInt(_0x382c10(0x1ba))/0xc);if(_0x2253a3===_0x3c0d8e)break;else _0x48de21['push'](_0x48de21['shift']());}catch(_0x4c56b5){_0x48de21['push'](_0x48de21['shift']());}}}(_0x1f2f,0x24d7d));import{Plugin as _0x17c372}from'ckeditor5/src/core.js';function _0x1f2f(){const _0x3e045f=['splitTableCellVertically','afterInit','6ASEhEC','document','commandName','direction','table','element','forceDefaultExecution','registerDescriptionCallback','8jVoQDc','detach','author','change','insertion','getRanges','getSelectionAffectedTableCells','mergeTableCellLeft','splitTableCellHorizontally','trackChanges','execute','getCellLocation','_suggestionFactory','getSuggestions','return','TrackChangesEditing','length','commands','getAncestors','highest','size','selection','has','type','11iGPRNc','descriptionFactory','fromRange','formatInline','mergeTableCellUp','enableCommand','filter','stop','setSelection','*Split\x20cell:*\x20horizontally','297005BmYXeo','createRangeOn','markMultiRangeBlockFormat','editor','88uLgFdk','locale','mergeTableCellRight','containsRange','515459qaLDmh','$graveyard','_isForcedDefaultExecutionBlock','requires','645320aAvbMh','_areSelectedCellsMergable','1820907uryFjX','formatBlock','rootName','plugins','isEnabled','from','get','low','17218cZPvax','29afkAkV','subType','findAncestor','*Split\x20cell:*\x20vertically','model','root','accept','tableCell','8419140IHmWzf','createTableWalker','map','markBlockFormat','13482NmfRJS','find','*Merge\x20cells*','value','mergeTableCells','deletion','_acceptFormatSuggestionCallbackFactory','_tablePostFixingSubtypes','refresh','format','TableEditing','_areMergableCells','isInContent','getFirstPosition','push','set:isEnabled','TableUtils','add','horizontally','registerCustomCallback','mergeTableCellDown','cell'];_0x1f2f=function(){return _0x3e045f;};return _0x1f2f();}import _0x438218 from'./table.js';function _0x448b(_0x5490c5,_0x214c18){const _0x1f2f19=_0x1f2f();return _0x448b=function(_0x448b67,_0x51a34d){_0x448b67=_0x448b67-0x1a6;let _0x2787da=_0x1f2f19[_0x448b67];return _0x2787da;},_0x448b(_0x5490c5,_0x214c18);}import{LiveRange as _0x40913f}from'ckeditor5/src/engine.js';import{getTranslation as _0x2fbe2f}from'../utils/common-translations.js';export default class St extends _0x17c372{static get[_0x568720(0x1a6)](){return[_0x438218];}[_0x568720(0x1d5)](){const _0x100a9b=_0x568720,_0x3bfb4f=this[_0x100a9b(0x203)],_0x2b29ca=_0x3bfb4f[_0x100a9b(0x1b6)][_0x100a9b(0x1d7)][_0x100a9b(0x1f3)],_0x293410=_0x3bfb4f[_0x100a9b(0x205)];if(!_0x3bfb4f[_0x100a9b(0x1ac)][_0x100a9b(0x1f4)](_0x100a9b(0x1c8)))return;const _0x3500a1=_0x3bfb4f[_0x100a9b(0x1ac)][_0x100a9b(0x1af)](_0x100a9b(0x1ed)),_0x363baa=_0x3bfb4f[_0x100a9b(0x1ac)][_0x100a9b(0x1af)](_0x100a9b(0x1ce)),_0x2b395c=_0x3bfb4f[_0x100a9b(0x1ac)][_0x100a9b(0x1af)](_0x438218);_0x2b395c[_0x100a9b(0x1c5)][_0x100a9b(0x1cc)](_0x100a9b(0x1c2)),_0x3500a1[_0x100a9b(0x1fb)](_0x100a9b(0x1c2),()=>{const _0xb35bd5=_0x100a9b,_0x3c4854=_0x363baa[_0xb35bd5(0x1e4)](_0x3bfb4f[_0xb35bd5(0x1b6)][_0xb35bd5(0x1d7)][_0xb35bd5(0x1f3)]);_0x3bfb4f[_0xb35bd5(0x1b6)][_0xb35bd5(0x1e1)](()=>{const _0x17bbb0=_0xb35bd5;_0x3500a1[_0x17bbb0(0x202)](_0x3c4854,{'commandName':_0x17bbb0(0x1c2),'commandParams':[]},[],_0x17bbb0(0x1c2));});}),_0x3bfb4f[_0x100a9b(0x1ef)][_0x100a9b(0x1af)](_0x100a9b(0x1c2))['on'](_0x100a9b(0x1e8),(_0x36c581,_0x569915)=>{const _0x238b67=_0x100a9b;_0x3bfb4f[_0x238b67(0x1ef)][_0x238b67(0x1af)](_0x238b67(0x1e7))[_0x238b67(0x1c1)]&&(_0x569915[_0x238b67(0x1ee)]>0x0&&_0x569915[_0x569915[_0x238b67(0x1ee)]-0x1]&&_0x569915[_0x569915[_0x238b67(0x1ee)]-0x1][_0x238b67(0x1dc)]||_0x3500a1[_0x238b67(0x20a)]||this[_0x238b67(0x1a8)]()||_0x36c581[_0x238b67(0x1fd)]());},{'priority':_0x100a9b(0x1f1)});for(const _0x14e943 of[_0x100a9b(0x1fa),_0x100a9b(0x206),_0x100a9b(0x1d2),_0x100a9b(0x1e5)]){const _0xca0114=_0x3bfb4f[_0x100a9b(0x1ef)][_0x100a9b(0x1af)](_0x14e943);_0x3500a1[_0x100a9b(0x1fb)](_0x14e943,()=>{const _0x329181=_0x100a9b,_0x4d66c5=_0x3bfb4f[_0x329181(0x1b6)][_0x329181(0x1d7)][_0x329181(0x1f3)][_0x329181(0x1cb)]()[_0x329181(0x1f0)]()[_0x329181(0x1bf)](_0x344647=>_0x344647['is'](_0x329181(0x1db),_0x329181(0x1b9))),_0x40be59=_0xca0114[_0x329181(0x1c1)];_0x3bfb4f[_0x329181(0x1b6)][_0x329181(0x1e1)](()=>{const _0x61d203=_0x329181;_0x3500a1[_0x61d203(0x202)]([_0x4d66c5,_0x40be59],{'commandName':_0x61d203(0x1c2),'commandParams':[]},[],_0x61d203(0x1c2));});});}for(const _0x39d34e of[_0x100a9b(0x1d4),_0x100a9b(0x1e6)]){const _0x13b462=_0x3bfb4f[_0x100a9b(0x1ef)][_0x100a9b(0x1af)](_0x39d34e);_0x3500a1[_0x100a9b(0x1fb)](_0x39d34e,()=>{const _0x2040f4=_0x100a9b,_0xfcb7c2=_0x363baa[_0x2040f4(0x1e4)](_0x3bfb4f[_0x2040f4(0x1b6)][_0x2040f4(0x1d7)][_0x2040f4(0x1f3)])[0x0],_0x5965b3=_0xfcb7c2[_0x2040f4(0x1b4)](_0x2040f4(0x1da)),{column:_0x29226d,row:_0x134c68}=_0x363baa[_0x2040f4(0x1e9)](_0xfcb7c2);let _0x2ef37b=[];if(_0x2040f4(0x1d0)==_0x13b462[_0x2040f4(0x1d9)]){const _0x416016=_0x363baa[_0x2040f4(0x1bb)](_0x5965b3,{'startRow':_0x134c68,'endRow':_0x134c68,'includeAllSlots':!0x0});_0x2ef37b=Array[_0x2040f4(0x1ae)](_0x416016)[_0x2040f4(0x1bc)](_0x11b986=>_0x11b986[_0x2040f4(0x1d3)]);}else{const _0x1188c3=_0x363baa[_0x2040f4(0x1bb)](_0x5965b3,{'column':_0x29226d,'includeAllSlots':!0x0});_0x2ef37b=Array[_0x2040f4(0x1ae)](_0x1188c3)[_0x2040f4(0x1bc)](_0x58c03f=>_0x58c03f[_0x2040f4(0x1d3)]);}_0x3bfb4f[_0x2040f4(0x1b6)][_0x2040f4(0x1e1)](_0x54c06d=>{const _0xdf6224=_0x2040f4;_0x3500a1[_0xdf6224(0x1bd)](_0x54c06d[_0xdf6224(0x201)](_0xfcb7c2),{'commandName':_0x39d34e,'commandParams':[]},_0x2ef37b,_0x39d34e);});});}_0x3500a1[_0x100a9b(0x1f7)][_0x100a9b(0x1dd)](_0x14bcc2=>{const _0x4e81dd=_0x100a9b;if(_0x4e81dd(0x1aa)!=_0x14bcc2[_0x4e81dd(0x1f5)]&&_0x4e81dd(0x1f9)!=_0x14bcc2[_0x4e81dd(0x1f5)])return;const {data:_0x2dcf8f}=_0x14bcc2;return _0x2dcf8f&&_0x4e81dd(0x1c2)==_0x2dcf8f[_0x4e81dd(0x1d8)]?{'type':_0x4e81dd(0x1c7),'content':_0x2fbe2f(_0x293410,_0x4e81dd(0x1c0))}:void 0x0;}),_0x3500a1[_0x100a9b(0x1f7)][_0x100a9b(0x1dd)](_0x262c46=>{const _0x440d34=_0x100a9b;if(_0x440d34(0x1aa)!=_0x262c46[_0x440d34(0x1f5)]&&_0x440d34(0x1f9)!=_0x262c46[_0x440d34(0x1f5)])return;const {data:_0x258110}=_0x262c46;return _0x258110?_0x440d34(0x1d4)==_0x258110[_0x440d34(0x1d8)]?{'type':_0x440d34(0x1c7),'content':_0x2fbe2f(_0x293410,_0x440d34(0x1b5))}:_0x440d34(0x1e6)==_0x258110[_0x440d34(0x1d8)]?{'type':_0x440d34(0x1c7),'content':_0x2fbe2f(_0x293410,_0x440d34(0x1ff))}:void 0x0:void 0x0;});const _0x2d8595=_0x2b395c[_0x100a9b(0x1c4)]();for(const _0x445d0f of[_0x100a9b(0x1fa),_0x100a9b(0x206),_0x100a9b(0x1d2),_0x100a9b(0x1e5)])_0x3500a1[_0x100a9b(0x1ea)][_0x100a9b(0x1d1)](_0x100a9b(0x1aa),_0x445d0f,_0x100a9b(0x1b8),_0x2d8595);for(const _0x497b83 of[_0x100a9b(0x1d4),_0x100a9b(0x1e6)])_0x3500a1[_0x100a9b(0x1ea)][_0x100a9b(0x1d1)](_0x100a9b(0x1aa),_0x497b83,_0x100a9b(0x1b8),_0x2d8595);_0x3500a1[_0x100a9b(0x1ea)][_0x100a9b(0x1d1)](_0x100a9b(0x1aa),_0x100a9b(0x1c2),_0x100a9b(0x1b8),_0x17993a=>{const _0x33c331=_0x100a9b;_0x3bfb4f[_0x33c331(0x1b6)][_0x33c331(0x1e1)](_0x4c6fd2=>{const _0x48034f=_0x33c331,_0x42cb82=Array[_0x48034f(0x1ae)](_0x2b29ca[_0x48034f(0x1e3)]())[_0x48034f(0x1bc)](_0x11dbbb=>_0x40913f[_0x48034f(0x1f8)](_0x11dbbb));_0x4c6fd2[_0x48034f(0x1fe)](_0x17993a),_0x3bfb4f[_0x48034f(0x1ef)][_0x48034f(0x1af)](_0x48034f(0x1c2))[_0x48034f(0x1c6)](),_0x3bfb4f[_0x48034f(0x1e8)](_0x48034f(0x1c2),{'forceDefaultExecution':!0x0});const _0xd63ae0=_0x42cb82[_0x48034f(0x1fc)](_0x4b6ecc=>_0x48034f(0x209)!=_0x4b6ecc[_0x48034f(0x1b7)][_0x48034f(0x1ab)]);_0xd63ae0[_0x48034f(0x1ee)]>0x0&&_0x4c6fd2[_0x48034f(0x1fe)](_0xd63ae0);for(const _0x3a87d0 of _0x42cb82)_0x3a87d0[_0x48034f(0x1df)]();});});for(const _0x277263 of[_0x100a9b(0x1fa),_0x100a9b(0x1d2),_0x100a9b(0x1e5),_0x100a9b(0x206)]){const _0x547b68=_0x3bfb4f[_0x100a9b(0x1ef)][_0x100a9b(0x1af)](_0x277263);_0x547b68['on'](_0x100a9b(0x1cd),(_0x54a371,_0x407104,_0x1a7513)=>{const _0x9d1905=_0x100a9b;if(_0x1a7513){const _0x20e4ee=_0x3bfb4f[_0x9d1905(0x1b6)][_0x9d1905(0x1d7)][_0x9d1905(0x1f3)][_0x9d1905(0x1cb)]()[_0x9d1905(0x1f0)]()[_0x9d1905(0x1bf)](_0x3abd97=>_0x3abd97['is'](_0x9d1905(0x1db),_0x9d1905(0x1b9)));this[_0x9d1905(0x1c9)](_0x547b68[_0x9d1905(0x1c1)],_0x20e4ee)||(_0x54a371[_0x9d1905(0x1ec)]=!0x1,_0x54a371[_0x9d1905(0x1fd)]());}},{'priority':_0x100a9b(0x1b0)});}}[_0x568720(0x1a8)](){const _0x390197=_0x568720,_0x343154=this[_0x390197(0x203)][_0x390197(0x1ef)][_0x390197(0x1af)](_0x390197(0x1c2)),_0x4d66cf=this[_0x390197(0x203)][_0x390197(0x1ac)][_0x390197(0x1af)](_0x390197(0x1ce));if(!_0x343154[_0x390197(0x1ad)])return!0x1;const _0x13dd0b=_0x4d66cf[_0x390197(0x1e4)](this[_0x390197(0x203)][_0x390197(0x1b6)][_0x390197(0x1d7)][_0x390197(0x1f3)]);for(const _0x47090e of _0x13dd0b)for(const _0x3d5276 of _0x13dd0b)if(_0x47090e!=_0x3d5276&&!this[_0x390197(0x1c9)](_0x47090e,_0x3d5276))return!0x1;return!0x0;}[_0x568720(0x1c9)](_0x5d4d73,_0x290209){const _0xa1db5f=_0x568720,_0x472ee7=this[_0xa1db5f(0x203)][_0xa1db5f(0x1ac)][_0xa1db5f(0x1af)](_0xa1db5f(0x1ed)),_0x5dfcb4=this[_0xa1db5f(0x203)][_0xa1db5f(0x1b6)][_0xa1db5f(0x201)](_0x5d4d73),_0x3a13f5=this[_0xa1db5f(0x203)][_0xa1db5f(0x1b6)][_0xa1db5f(0x201)](_0x290209),_0x5af588=new Set(),_0x3b5867=new Set();for(const _0x3cd1c6 of _0x472ee7[_0xa1db5f(0x1eb)]())if((_0xa1db5f(0x1e2)==_0x3cd1c6[_0xa1db5f(0x1f5)]||_0xa1db5f(0x1c3)==_0x3cd1c6[_0xa1db5f(0x1f5)]||_0xa1db5f(0x1c2)==_0x3cd1c6[_0xa1db5f(0x1b3)])&&_0x3cd1c6[_0xa1db5f(0x1ca)]){for(const _0xde8281 of _0x3cd1c6[_0xa1db5f(0x1e3)]())_0xde8281[_0xa1db5f(0x207)](_0x5dfcb4,!0x0)&&_0x5af588[_0xa1db5f(0x1cf)](_0x3cd1c6[_0xa1db5f(0x1f5)]+':'+_0x3cd1c6[_0xa1db5f(0x1e0)]['id']),_0xde8281[_0xa1db5f(0x207)](_0x3a13f5,!0x0)&&_0x3b5867[_0xa1db5f(0x1cf)](_0x3cd1c6[_0xa1db5f(0x1f5)]+':'+_0x3cd1c6[_0xa1db5f(0x1e0)]['id']);}if(_0x5af588[_0xa1db5f(0x1f2)]!=_0x3b5867[_0xa1db5f(0x1f2)])return!0x1;for(const _0x1dc999 of _0x5af588)if(!_0x3b5867[_0xa1db5f(0x1f4)](_0x1dc999))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x52198c=_0x4d6a;(function(_0xc9ad38,_0x1c6a32){const _0x358864=_0x4d6a,_0x609c00=_0xc9ad38();while(!![]){try{const _0x10552a=parseInt(_0x358864(0xa2))/0x1+-parseInt(_0x358864(0x7f))/0x2*(-parseInt(_0x358864(0xc8))/0x3)+-parseInt(_0x358864(0x69))/0x4*(parseInt(_0x358864(0x6f))/0x5)+parseInt(_0x358864(0x87))/0x6*(parseInt(_0x358864(0xad))/0x7)+-parseInt(_0x358864(0xab))/0x8+parseInt(_0x358864(0x7b))/0x9+parseInt(_0x358864(0x9f))/0xa*(-parseInt(_0x358864(0x7a))/0xb);if(_0x10552a===_0x1c6a32)break;else _0x609c00['push'](_0x609c00['shift']());}catch(_0x5b7aa5){_0x609c00['push'](_0x609c00['shift']());}}}(_0x2cad,0xa119d));function _0x2cad(){const _0x186bfb=['change','$graveyard','_suggestionFactory','element','isInContent','_areSelectedCellsMergable','insertion','mergeTableCellUp','529752UGSvzj','TableEditing','13538AxDQBm','document','registerDescriptionCallback','fromRange','descriptionFactory','_acceptFormatSuggestionCallbackFactory','trackChanges','refresh','type','map','mergeTableCellRight','createRangeOn','selection','getRanges','commands','setSelection','rootName','horizontally','TrackChangesEditing','tableCell','formatBlock','find','format','_isForcedDefaultExecutionBlock','isEnabled','return','afterInit','1831275CVrTLA','low','formatInline','markMultiRangeBlockFormat','findAncestor','100PWTEep','mergeTableCellLeft','*Split\x20cell:*\x20vertically','*Merge\x20cells*','detach','has','54505XmaeHg','editor','getSuggestions','table','getSelectionAffectedTableCells','commandName','TableUtils','mergeTableCells','forceDefaultExecution','_areMergableCells','getCellLocation','3263667zpASjD','4566339vfZGvx','from','push','size','2YEFnDI','author','get','add','splitTableCellVertically','getAncestors','root','markBlockFormat','4062PXvSuJ','mergeTableCellDown','highest','deletion','stop','set:isEnabled','model','direction','requires','filter','cell','splitTableCellHorizontally','_tablePostFixingSubtypes','enableCommand','execute','createTableWalker','getFirstPosition','subType','locale','plugins','containsRange','*Split\x20cell:*\x20horizontally','value','accept','70wsVxkZ','registerCustomCallback','length','648378zUYgOO'];_0x2cad=function(){return _0x186bfb;};return _0x2cad();}import{Plugin as _0x28f20f}from'ckeditor5/src/core.js';import _0x262a4c from'./table.js';function _0x4d6a(_0x3bc020,_0x1e0260){const _0x2cad58=_0x2cad();return _0x4d6a=function(_0x4d6acd,_0x4c13e8){_0x4d6acd=_0x4d6acd-0x68;let _0x2cbfb0=_0x2cad58[_0x4d6acd];return _0x2cbfb0;},_0x4d6a(_0x3bc020,_0x1e0260);}import{LiveRange as _0x4adf41}from'ckeditor5/src/engine.js';import{getTranslation as _0xff608f}from'../utils/common-translations.js';export default class St extends _0x28f20f{static get[_0x52198c(0x8f)](){return[_0x262a4c];}[_0x52198c(0xc7)](){const _0x50a5ad=_0x52198c,_0x2ea15f=this[_0x50a5ad(0x70)],_0x33601b=_0x2ea15f[_0x50a5ad(0x8d)][_0x50a5ad(0xae)][_0x50a5ad(0xb9)],_0x3d26ac=_0x2ea15f[_0x50a5ad(0x99)];if(!_0x2ea15f[_0x50a5ad(0x9a)][_0x50a5ad(0x6e)](_0x50a5ad(0xac)))return;const _0x1b4e7b=_0x2ea15f[_0x50a5ad(0x9a)][_0x50a5ad(0x81)](_0x50a5ad(0xbf)),_0x9eb97=_0x2ea15f[_0x50a5ad(0x9a)][_0x50a5ad(0x81)](_0x50a5ad(0x75)),_0x560142=_0x2ea15f[_0x50a5ad(0x9a)][_0x50a5ad(0x81)](_0x262a4c);_0x560142[_0x50a5ad(0x93)][_0x50a5ad(0x7d)](_0x50a5ad(0x76)),_0x1b4e7b[_0x50a5ad(0x94)](_0x50a5ad(0x76),()=>{const _0x548eb2=_0x50a5ad,_0x475489=_0x9eb97[_0x548eb2(0x73)](_0x2ea15f[_0x548eb2(0x8d)][_0x548eb2(0xae)][_0x548eb2(0xb9)]);_0x2ea15f[_0x548eb2(0x8d)][_0x548eb2(0xa3)](()=>{const _0x2df506=_0x548eb2;_0x1b4e7b[_0x2df506(0xcb)](_0x475489,{'commandName':_0x2df506(0x76),'commandParams':[]},[],_0x2df506(0x76));});}),_0x2ea15f[_0x50a5ad(0xbb)][_0x50a5ad(0x81)](_0x50a5ad(0x76))['on'](_0x50a5ad(0x95),(_0x48f5d0,_0x3abfc1)=>{const _0x52d806=_0x50a5ad;_0x2ea15f[_0x52d806(0xbb)][_0x52d806(0x81)](_0x52d806(0xb3))[_0x52d806(0x9d)]&&(_0x3abfc1[_0x52d806(0xa1)]>0x0&&_0x3abfc1[_0x3abfc1[_0x52d806(0xa1)]-0x1]&&_0x3abfc1[_0x3abfc1[_0x52d806(0xa1)]-0x1][_0x52d806(0x77)]||_0x1b4e7b[_0x52d806(0xc4)]||this[_0x52d806(0xa8)]()||_0x48f5d0[_0x52d806(0x8b)]());},{'priority':_0x50a5ad(0x89)});for(const _0x49e8f2 of[_0x50a5ad(0xaa),_0x50a5ad(0xb7),_0x50a5ad(0x88),_0x50a5ad(0x6a)]){const _0x4e8c01=_0x2ea15f[_0x50a5ad(0xbb)][_0x50a5ad(0x81)](_0x49e8f2);_0x1b4e7b[_0x50a5ad(0x94)](_0x49e8f2,()=>{const _0x125cc0=_0x50a5ad,_0x134806=_0x2ea15f[_0x125cc0(0x8d)][_0x125cc0(0xae)][_0x125cc0(0xb9)][_0x125cc0(0x97)]()[_0x125cc0(0x84)]()[_0x125cc0(0xc2)](_0x50f7ae=>_0x50f7ae['is'](_0x125cc0(0xa6),_0x125cc0(0xc0))),_0x723633=_0x4e8c01[_0x125cc0(0x9d)];_0x2ea15f[_0x125cc0(0x8d)][_0x125cc0(0xa3)](()=>{const _0x51401c=_0x125cc0;_0x1b4e7b[_0x51401c(0xcb)]([_0x134806,_0x723633],{'commandName':_0x51401c(0x76),'commandParams':[]},[],_0x51401c(0x76));});});}for(const _0x2361b7 of[_0x50a5ad(0x83),_0x50a5ad(0x92)]){const _0x15fb4=_0x2ea15f[_0x50a5ad(0xbb)][_0x50a5ad(0x81)](_0x2361b7);_0x1b4e7b[_0x50a5ad(0x94)](_0x2361b7,()=>{const _0x440253=_0x50a5ad,_0x37460c=_0x9eb97[_0x440253(0x73)](_0x2ea15f[_0x440253(0x8d)][_0x440253(0xae)][_0x440253(0xb9)])[0x0],_0x49b830=_0x37460c[_0x440253(0x68)](_0x440253(0x72)),{column:_0x312a72,row:_0x49d98d}=_0x9eb97[_0x440253(0x79)](_0x37460c);let _0x32dd49=[];if(_0x440253(0xbe)==_0x15fb4[_0x440253(0x8e)]){const _0x87d32a=_0x9eb97[_0x440253(0x96)](_0x49b830,{'startRow':_0x49d98d,'endRow':_0x49d98d,'includeAllSlots':!0x0});_0x32dd49=Array[_0x440253(0x7c)](_0x87d32a)[_0x440253(0xb6)](_0x553c08=>_0x553c08[_0x440253(0x91)]);}else{const _0x9f298=_0x9eb97[_0x440253(0x96)](_0x49b830,{'column':_0x312a72,'includeAllSlots':!0x0});_0x32dd49=Array[_0x440253(0x7c)](_0x9f298)[_0x440253(0xb6)](_0x2850a7=>_0x2850a7[_0x440253(0x91)]);}_0x2ea15f[_0x440253(0x8d)][_0x440253(0xa3)](_0xb35414=>{const _0x2eae11=_0x440253;_0x1b4e7b[_0x2eae11(0x86)](_0xb35414[_0x2eae11(0xb8)](_0x37460c),{'commandName':_0x2361b7,'commandParams':[]},_0x32dd49,_0x2361b7);});});}_0x1b4e7b[_0x50a5ad(0xb1)][_0x50a5ad(0xaf)](_0x1cea3b=>{const _0xf65e3a=_0x50a5ad;if(_0xf65e3a(0xc1)!=_0x1cea3b[_0xf65e3a(0xb5)]&&_0xf65e3a(0xca)!=_0x1cea3b[_0xf65e3a(0xb5)])return;const {data:_0x2fda14}=_0x1cea3b;return _0x2fda14&&_0xf65e3a(0x76)==_0x2fda14[_0xf65e3a(0x74)]?{'type':_0xf65e3a(0xc3),'content':_0xff608f(_0x3d26ac,_0xf65e3a(0x6c))}:void 0x0;}),_0x1b4e7b[_0x50a5ad(0xb1)][_0x50a5ad(0xaf)](_0x211ff7=>{const _0x1f6feb=_0x50a5ad;if(_0x1f6feb(0xc1)!=_0x211ff7[_0x1f6feb(0xb5)]&&_0x1f6feb(0xca)!=_0x211ff7[_0x1f6feb(0xb5)])return;const {data:_0x54f867}=_0x211ff7;return _0x54f867?_0x1f6feb(0x83)==_0x54f867[_0x1f6feb(0x74)]?{'type':_0x1f6feb(0xc3),'content':_0xff608f(_0x3d26ac,_0x1f6feb(0x6b))}:_0x1f6feb(0x92)==_0x54f867[_0x1f6feb(0x74)]?{'type':_0x1f6feb(0xc3),'content':_0xff608f(_0x3d26ac,_0x1f6feb(0x9c))}:void 0x0:void 0x0;});const _0x4f5532=_0x560142[_0x50a5ad(0xb2)]();for(const _0x5c3a45 of[_0x50a5ad(0xaa),_0x50a5ad(0xb7),_0x50a5ad(0x88),_0x50a5ad(0x6a)])_0x1b4e7b[_0x50a5ad(0xa5)][_0x50a5ad(0xa0)](_0x50a5ad(0xc1),_0x5c3a45,_0x50a5ad(0x9e),_0x4f5532);for(const _0x55282c of[_0x50a5ad(0x83),_0x50a5ad(0x92)])_0x1b4e7b[_0x50a5ad(0xa5)][_0x50a5ad(0xa0)](_0x50a5ad(0xc1),_0x55282c,_0x50a5ad(0x9e),_0x4f5532);_0x1b4e7b[_0x50a5ad(0xa5)][_0x50a5ad(0xa0)](_0x50a5ad(0xc1),_0x50a5ad(0x76),_0x50a5ad(0x9e),_0x5029c3=>{const _0x170cab=_0x50a5ad;_0x2ea15f[_0x170cab(0x8d)][_0x170cab(0xa3)](_0x3c8c42=>{const _0x17c6e0=_0x170cab,_0x933da6=Array[_0x17c6e0(0x7c)](_0x33601b[_0x17c6e0(0xba)]())[_0x17c6e0(0xb6)](_0x15ebe1=>_0x4adf41[_0x17c6e0(0xb0)](_0x15ebe1));_0x3c8c42[_0x17c6e0(0xbc)](_0x5029c3),_0x2ea15f[_0x17c6e0(0xbb)][_0x17c6e0(0x81)](_0x17c6e0(0x76))[_0x17c6e0(0xb4)](),_0x2ea15f[_0x17c6e0(0x95)](_0x17c6e0(0x76),{'forceDefaultExecution':!0x0});const _0x1440b0=_0x933da6[_0x17c6e0(0x90)](_0x2beb08=>_0x17c6e0(0xa4)!=_0x2beb08[_0x17c6e0(0x85)][_0x17c6e0(0xbd)]);_0x1440b0[_0x17c6e0(0xa1)]>0x0&&_0x3c8c42[_0x17c6e0(0xbc)](_0x1440b0);for(const _0x2c7bb5 of _0x933da6)_0x2c7bb5[_0x17c6e0(0x6d)]();});});for(const _0x4c50a5 of[_0x50a5ad(0xaa),_0x50a5ad(0x88),_0x50a5ad(0x6a),_0x50a5ad(0xb7)]){const _0x2d734f=_0x2ea15f[_0x50a5ad(0xbb)][_0x50a5ad(0x81)](_0x4c50a5);_0x2d734f['on'](_0x50a5ad(0x8c),(_0x38c8e7,_0x27bdd3,_0x5ebdb0)=>{const _0x36ee9b=_0x50a5ad;if(_0x5ebdb0){const _0x18674b=_0x2ea15f[_0x36ee9b(0x8d)][_0x36ee9b(0xae)][_0x36ee9b(0xb9)][_0x36ee9b(0x97)]()[_0x36ee9b(0x84)]()[_0x36ee9b(0xc2)](_0x2efd2a=>_0x2efd2a['is'](_0x36ee9b(0xa6),_0x36ee9b(0xc0)));this[_0x36ee9b(0x78)](_0x2d734f[_0x36ee9b(0x9d)],_0x18674b)||(_0x38c8e7[_0x36ee9b(0xc6)]=!0x1,_0x38c8e7[_0x36ee9b(0x8b)]());}},{'priority':_0x50a5ad(0xc9)});}}[_0x52198c(0xa8)](){const _0x529642=_0x52198c,_0x28006e=this[_0x529642(0x70)][_0x529642(0xbb)][_0x529642(0x81)](_0x529642(0x76)),_0x435cfe=this[_0x529642(0x70)][_0x529642(0x9a)][_0x529642(0x81)](_0x529642(0x75));if(!_0x28006e[_0x529642(0xc5)])return!0x1;const _0x1a8c8c=_0x435cfe[_0x529642(0x73)](this[_0x529642(0x70)][_0x529642(0x8d)][_0x529642(0xae)][_0x529642(0xb9)]);for(const _0x23f4e7 of _0x1a8c8c)for(const _0x1d35e0 of _0x1a8c8c)if(_0x23f4e7!=_0x1d35e0&&!this[_0x529642(0x78)](_0x23f4e7,_0x1d35e0))return!0x1;return!0x0;}[_0x52198c(0x78)](_0x5776db,_0x240215){const _0x5e3c29=_0x52198c,_0x2580d6=this[_0x5e3c29(0x70)][_0x5e3c29(0x9a)][_0x5e3c29(0x81)](_0x5e3c29(0xbf)),_0x45aa1e=this[_0x5e3c29(0x70)][_0x5e3c29(0x8d)][_0x5e3c29(0xb8)](_0x5776db),_0x439107=this[_0x5e3c29(0x70)][_0x5e3c29(0x8d)][_0x5e3c29(0xb8)](_0x240215),_0x181e5a=new Set(),_0x31565b=new Set();for(const _0x52236e of _0x2580d6[_0x5e3c29(0x71)]())if((_0x5e3c29(0xa9)==_0x52236e[_0x5e3c29(0xb5)]||_0x5e3c29(0x8a)==_0x52236e[_0x5e3c29(0xb5)]||_0x5e3c29(0x76)==_0x52236e[_0x5e3c29(0x98)])&&_0x52236e[_0x5e3c29(0xa7)]){for(const _0xf31a7e of _0x52236e[_0x5e3c29(0xba)]())_0xf31a7e[_0x5e3c29(0x9b)](_0x45aa1e,!0x0)&&_0x181e5a[_0x5e3c29(0x82)](_0x52236e[_0x5e3c29(0xb5)]+':'+_0x52236e[_0x5e3c29(0x80)]['id']),_0xf31a7e[_0x5e3c29(0x9b)](_0x439107,!0x0)&&_0x31565b[_0x5e3c29(0x82)](_0x52236e[_0x5e3c29(0xb5)]+':'+_0x52236e[_0x5e3c29(0x80)]['id']);}if(_0x181e5a[_0x5e3c29(0x7e)]!=_0x31565b[_0x5e3c29(0x7e)])return!0x1;for(const _0x1aac36 of _0x181e5a)if(!_0x31565b[_0x5e3c29(0x6e)](_0x1aac36))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e9e1d=_0x379c;(function(_0x5edf85,_0x589eb5){const _0x50e172=_0x379c,_0x53712f=_0x5edf85();while(!![]){try{const _0x15449c=parseInt(_0x50e172(0x90))/0x1*(parseInt(_0x50e172(0x8e))/0x2)+parseInt(_0x50e172(0x84))/0x3*(parseInt(_0x50e172(0x8d))/0x4)+-parseInt(_0x50e172(0x98))/0x5*(parseInt(_0x50e172(0x95))/0x6)+parseInt(_0x50e172(0x92))/0x7+-parseInt(_0x50e172(0x81))/0x8+parseInt(_0x50e172(0x8a))/0x9+-parseInt(_0x50e172(0x94))/0xa*(parseInt(_0x50e172(0x83))/0xb);if(_0x15449c===_0x589eb5)break;else _0x53712f['push'](_0x53712f['shift']());}catch(_0x56f6c2){_0x53712f['push'](_0x53712f['shift']());}}}(_0x5880,0x6c589));import{Plugin as _0x4e0871}from'ckeditor5/src/core.js';function _0x379c(_0x4f47e8,_0x5bb0f5){const _0x588090=_0x5880();return _0x379c=function(_0x379caf,_0x470c36){_0x379caf=_0x379caf-0x81;let _0x49a3bb=_0x588090[_0x379caf];return _0x49a3bb;},_0x379c(_0x4f47e8,_0x5bb0f5);}import{getTranslation as _0x3afc25}from'../utils/common-translations.js';function _0x5880(){const _0x5a14d7=['afterInit','tableOfContents','1385cUUvgo','3041552KnwDpl','commands','2334717DkXTLI','654AepiwE','registerElementLabel','get','ELEMENT_TABLE_OF_CONTENTS','editor','locale','5128110XXQhvi','TrackChangesEditing','descriptionFactory','9472NaWois','646Ljwtaj','enableCommand','863QSWeCw','insertTableOfContents','1361983ocsKSx','plugins','30wjEaOI','2136YbebZX'];_0x5880=function(){return _0x5a14d7;};return _0x5880();}export default class Ct extends _0x4e0871{[_0x3e9e1d(0x96)](){const _0x1e6f61=_0x3e9e1d,_0x29e850=this[_0x1e6f61(0x88)];if(!_0x29e850[_0x1e6f61(0x82)][_0x1e6f61(0x86)](_0x1e6f61(0x91)))return;_0x29e850[_0x1e6f61(0x93)][_0x1e6f61(0x86)](_0x1e6f61(0x8b))[_0x1e6f61(0x8f)](_0x1e6f61(0x91));const _0x28e0c9=_0x29e850[_0x1e6f61(0x93)][_0x1e6f61(0x86)](_0x1e6f61(0x8b)),_0x2696d3=_0x29e850[_0x1e6f61(0x89)];_0x28e0c9[_0x1e6f61(0x8c)][_0x1e6f61(0x85)](_0x1e6f61(0x97),_0x46fc42=>_0x3afc25(_0x2696d3,_0x1e6f61(0x87),_0x46fc42));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x34d599=_0xb09f;(function(_0x4ec60c,_0x54bc54){const _0x20b798=_0xb09f,_0x563516=_0x4ec60c();while(!![]){try{const _0x4dec1e=parseInt(_0x20b798(0xf8))/0x1*(-parseInt(_0x20b798(0xc6))/0x2)+parseInt(_0x20b798(0xe6))/0x3+-parseInt(_0x20b798(0x101))/0x4*(parseInt(_0x20b798(0xdd))/0x5)+-parseInt(_0x20b798(0xc9))/0x6*(parseInt(_0x20b798(0xc3))/0x7)+-parseInt(_0x20b798(0x110))/0x8*(-parseInt(_0x20b798(0xcc))/0x9)+parseInt(_0x20b798(0xdb))/0xa+parseInt(_0x20b798(0xe1))/0xb*(parseInt(_0x20b798(0xe9))/0xc);if(_0x4dec1e===_0x54bc54)break;else _0x563516['push'](_0x563516['shift']());}catch(_0x26862c){_0x563516['push'](_0x563516['shift']());}}}(_0x51fa,0x35689));function _0xb09f(_0x32c7fe,_0x23b134){const _0x51fa6e=_0x51fa();return _0xb09f=function(_0xb09fe,_0x43cbb7){_0xb09fe=_0xb09fe-0xc2;let _0x333ea5=_0x51fa6e[_0xb09fe];return _0x333ea5;},_0xb09f(_0x32c7fe,_0x23b134);}import{Plugin as _0x4e2945}from'ckeditor5/src/core.js';function _0x51fa(){const _0x435a81=['tableAlignment','commandParams','get','610023SfIEwK','setAttribute','findAncestor','1023756MbmFGo','getContainedElement','_handlePropertyChange','tableBackgroundColor','data','TablePropertiesEditing','getSuggestionCallback','tableProperties','getSelectionAffectedTableCells','TrackChangesTableProperties','tableCellHeight','join','model','enableCommand','format','14999uwiqdY','removeAttribute','tableCellBorderStyle','_getSuggestion','tableWidth','selection','tableCellPadding','subType','tableCellBorderColor','4UGXibh','tableBorderWidth','pluginName','change','descriptionFactory','accept','document','tableCellProperties','tableBorderStyle','tableCellHorizontalAlignment','table','tableCellBackgroundColor','TableCellPropertiesEditing','has','markBlockFormat','88TLlANM','handleDiscardAction','afterInit','9905ogQmiS','getFirstPosition','registerDescriptionCallback','38zzviJo','TableUtils','getAttribute','942mTNsPK','nodeAfter','enqueueChange','341973fPDPOn','getSuggestions','_suggestionFactory','locale','TrackChangesEditing','tableCellBorderWidth','discard','*Format:*\x20change\x20table\x20cell\x20properties','handleSuggestionDescription','tableHeight','registerCustomCallback','formatBlock','start','plugins','*Format:*\x20change\x20table\x20properties','1562750CPnZEN','editor','684995spkPVK','tableCellWidth','tableCellVerticalAlignment','batch','11gYdQrY','tableBorderColor'];_0x51fa=function(){return _0x435a81;};return _0x51fa();}import{getTranslation as _0x25fa64}from'../utils/common-translations.js';export default class $t extends _0x4e2945{constructor(_0x45a1d7){const _0x54ba77=_0xb09f;super(_0x45a1d7),this[_0x54ba77(0xf0)]=[_0x54ba77(0xe2),_0x54ba77(0x109),_0x54ba77(0x102),_0x54ba77(0xe3),_0x54ba77(0xfc),_0x54ba77(0xd5),_0x54ba77(0xec)],this[_0x54ba77(0x108)]=[_0x54ba77(0x100),_0x54ba77(0xfa),_0x54ba77(0xd1),_0x54ba77(0xfe),_0x54ba77(0xde),_0x54ba77(0xf3),_0x54ba77(0x10c),_0x54ba77(0x10a),_0x54ba77(0xdf)];}static get[_0x34d599(0x103)](){const _0x2ae555=_0x34d599;return _0x2ae555(0xf2);}[_0x34d599(0xc2)](){const _0x51e5d5=_0x34d599,_0x3c7411=this[_0x51e5d5(0xdc)][_0x51e5d5(0xd9)][_0x51e5d5(0xe5)](_0x51e5d5(0xd0));if(this[_0x51e5d5(0xdc)][_0x51e5d5(0xd9)][_0x51e5d5(0x10e)](_0x51e5d5(0xee))){for(const _0x3448ff of this[_0x51e5d5(0xf0)])_0x3c7411[_0x51e5d5(0xf6)](_0x3448ff,(_0x255cd1,_0x6b49df)=>{const _0x355c7e=_0x51e5d5,_0x301a2b=this[_0x355c7e(0xdc)][_0x355c7e(0xf5)][_0x355c7e(0x107)][_0x355c7e(0xfd)][_0x355c7e(0xc4)]()[_0x355c7e(0xe8)](_0x355c7e(0x10b));this[_0x355c7e(0xeb)](_0x3448ff,[_0x301a2b],this[_0x355c7e(0xf0)],_0x355c7e(0xf0),_0x255cd1,_0x6b49df);});_0x3c7411[_0x51e5d5(0xce)][_0x51e5d5(0xd6)](_0x51e5d5(0xd7),_0x51e5d5(0xf0),_0x51e5d5(0x106),_0x3c7411[_0x51e5d5(0xce)][_0x51e5d5(0xef)](_0x51e5d5(0xd7),null,_0x51e5d5(0xd2))),_0x3c7411[_0x51e5d5(0xce)][_0x51e5d5(0xd6)](_0x51e5d5(0xd7),_0x51e5d5(0xf0),_0x51e5d5(0xd2),(_0x40ebe8,_0x39e79d)=>this[_0x51e5d5(0x111)](this[_0x51e5d5(0xf0)],_0x40ebe8,_0x39e79d)),_0x3c7411[_0x51e5d5(0xce)][_0x51e5d5(0xd6)](_0x51e5d5(0xd7),_0x51e5d5(0xf0),_0x51e5d5(0xf4),()=>!0x1);}if(this[_0x51e5d5(0xdc)][_0x51e5d5(0xd9)][_0x51e5d5(0x10e)](_0x51e5d5(0x10d))){for(const _0x2ccb51 of this[_0x51e5d5(0x108)])_0x3c7411[_0x51e5d5(0xf6)](_0x2ccb51,(_0x5cf5fe,_0xc6ec86)=>{const _0xcc13e3=_0x51e5d5,_0x3f1921=this[_0xcc13e3(0xdc)][_0xcc13e3(0xd9)][_0xcc13e3(0xe5)](_0xcc13e3(0xc7))[_0xcc13e3(0xf1)](this[_0xcc13e3(0xdc)][_0xcc13e3(0xf5)][_0xcc13e3(0x107)][_0xcc13e3(0xfd)]);this[_0xcc13e3(0xeb)](_0x2ccb51,_0x3f1921,this[_0xcc13e3(0x108)],_0xcc13e3(0x108),_0x5cf5fe,_0xc6ec86);});_0x3c7411[_0x51e5d5(0xce)][_0x51e5d5(0xd6)](_0x51e5d5(0xd7),_0x51e5d5(0x108),_0x51e5d5(0x106),_0x3c7411[_0x51e5d5(0xce)][_0x51e5d5(0xef)](_0x51e5d5(0xd7),null,_0x51e5d5(0xd2))),_0x3c7411[_0x51e5d5(0xce)][_0x51e5d5(0xd6)](_0x51e5d5(0xd7),_0x51e5d5(0x108),_0x51e5d5(0xd2),(_0x1ef32c,_0x164d78)=>this[_0x51e5d5(0x111)](this[_0x51e5d5(0x108)],_0x1ef32c,_0x164d78)),_0x3c7411[_0x51e5d5(0xce)][_0x51e5d5(0xd6)](_0x51e5d5(0xd7),_0x51e5d5(0x108),_0x51e5d5(0xf4),()=>!0x1);}_0x3c7411[_0x51e5d5(0x105)][_0x51e5d5(0xc5)](_0x51cbd0=>this[_0x51e5d5(0xd4)](_0x51cbd0));}[_0x34d599(0xeb)](_0x16f77a,_0x86b7ed,_0xb9d8c6,_0x4199c3,_0xd5ebf5,_0x1a3037){const _0x54286d=_0x34d599,_0x39a633=this[_0x54286d(0xdc)][_0x54286d(0xd9)][_0x54286d(0xe5)](_0x54286d(0xd0));this[_0x54286d(0xdc)][_0x54286d(0xf5)][_0x54286d(0xcb)](_0x1a3037[_0x54286d(0xe0)],()=>{const _0x3f91e9=_0x54286d;for(const _0x176ed7 of _0x86b7ed){if(this[_0x3f91e9(0xfb)](_0x176ed7,_0x4199c3))_0xd5ebf5(_0x1a3037);else{const _0x20c4a8={};for(const _0x2b4816 of _0xb9d8c6){const _0x53069e=_0x176ed7[_0x3f91e9(0xc8)](_0x2b4816);void 0x0!==_0x53069e&&(_0x20c4a8[_0x2b4816]=_0x53069e);}_0xd5ebf5(_0x1a3037),_0x39a633[_0x3f91e9(0x10f)](_0x176ed7,{'commandParams':[_0x20c4a8]},[],_0x4199c3);}}});}[_0x34d599(0x111)](_0x5553e4,_0x4c42ea,_0x4f7646){const _0x34cb8b=_0x34d599,_0x1bcc62=_0x4c42ea[0x0][_0x34cb8b(0xd8)][_0x34cb8b(0xca)],_0x35d1e0=_0x4f7646[_0x34cb8b(0xe4)][0x0];this[_0x34cb8b(0xdc)][_0x34cb8b(0xf5)][_0x34cb8b(0x104)](_0x5dd5f9=>{const _0x7bb458=_0x34cb8b;for(const _0x211257 of _0x5553e4)void 0x0!==_0x35d1e0[_0x211257]?_0x5dd5f9[_0x7bb458(0xe7)](_0x211257,_0x35d1e0[_0x211257],_0x1bcc62):_0x5dd5f9[_0x7bb458(0xf9)](_0x211257,_0x1bcc62);});}[_0x34d599(0xd4)](_0x314c1c){const _0x447205=_0x34d599;if(_0x314c1c[_0x447205(0xed)])switch(_0x314c1c[_0x447205(0xff)]){case _0x447205(0xf0):return{'type':_0x447205(0xf7),'content':_0x25fa64(this[_0x447205(0xdc)][_0x447205(0xcf)],_0x447205(0xda))};case _0x447205(0x108):return{'type':_0x447205(0xf7),'content':_0x25fa64(this[_0x447205(0xdc)][_0x447205(0xcf)],_0x447205(0xd3))};}}[_0x34d599(0xfb)](_0x486cab,_0x5c0606){const _0x19dbf3=_0x34d599,_0x18b7b8=this[_0x19dbf3(0xdc)][_0x19dbf3(0xd9)][_0x19dbf3(0xe5)](_0x19dbf3(0xd0));for(const _0x26037b of _0x18b7b8[_0x19dbf3(0xcd)]({'skipNotAttached':!0x0})){const _0x319988=_0x26037b[_0x19dbf3(0xea)]();if(_0x26037b[_0x19dbf3(0xff)]===_0x5c0606&&_0x319988===_0x486cab)return _0x26037b;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1806bc=_0x4382;function _0x4382(_0x5362da,_0x1b78c4){const _0x138fa8=_0x138f();return _0x4382=function(_0x43829d,_0x37508a){_0x43829d=_0x43829d-0xaf;let _0x3c9621=_0x138fa8[_0x43829d];return _0x3c9621;},_0x4382(_0x5362da,_0x1b78c4);}(function(_0x476a29,_0x414a50){const _0x185827=_0x4382,_0x2876cc=_0x476a29();while(!![]){try{const _0x2f7cb1=parseInt(_0x185827(0xbc))/0x1*(parseInt(_0x185827(0xb1))/0x2)+-parseInt(_0x185827(0xbe))/0x3+parseInt(_0x185827(0xb6))/0x4*(parseInt(_0x185827(0xb5))/0x5)+parseInt(_0x185827(0xb2))/0x6+parseInt(_0x185827(0xb4))/0x7+parseInt(_0x185827(0xbd))/0x8*(-parseInt(_0x185827(0xc0))/0x9)+-parseInt(_0x185827(0xba))/0xa*(parseInt(_0x185827(0xc2))/0xb);if(_0x2f7cb1===_0x414a50)break;else _0x2876cc['push'](_0x2876cc['shift']());}catch(_0x5a837b){_0x2876cc['push'](_0x2876cc['shift']());}}}(_0x138f,0x91153));function _0x138f(){const _0x3c194c=['166510cwrfox','132knGFjE','plugins','editor','TrackChangesEditing','30EifDci','get','2NEirAb','104RBPWar','907644IwqCYM','enableCommand','809397aQAcDL','has','3649855kdSFFY','Template','insertTemplate','1068786bZvTrX','1080828aXqGQI','afterInit','4994227AYRkCK'];_0x138f=function(){return _0x3c194c;};return _0x138f();}import{Plugin as _0x1401cf}from'ckeditor5/src/core.js';export default class _t extends _0x1401cf{[_0x1806bc(0xb3)](){const _0x84f5b6=_0x1806bc,_0x56cc43=this[_0x84f5b6(0xb8)];_0x56cc43[_0x84f5b6(0xb7)][_0x84f5b6(0xc1)](_0x84f5b6(0xaf))&&_0x56cc43[_0x84f5b6(0xb7)][_0x84f5b6(0xbb)](_0x84f5b6(0xb9))[_0x84f5b6(0xbf)](_0x84f5b6(0xb0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3e69(_0x5c616c,_0x4b2115){const _0x2132c6=_0x2132();return _0x3e69=function(_0x3e6900,_0x30c22f){_0x3e6900=_0x3e6900-0x179;let _0x812b16=_0x2132c6[_0x3e6900];return _0x812b16;},_0x3e69(_0x5c616c,_0x4b2115);}const _0x3b8277=_0x3e69;(function(_0x3f61e3,_0x9c05b2){const _0xa3cda7=_0x3e69,_0x41fbe1=_0x3f61e3();while(!![]){try{const _0x5d6f5c=-parseInt(_0xa3cda7(0x182))/0x1+parseInt(_0xa3cda7(0x199))/0x2+-parseInt(_0xa3cda7(0x181))/0x3*(-parseInt(_0xa3cda7(0x18d))/0x4)+-parseInt(_0xa3cda7(0x188))/0x5+-parseInt(_0xa3cda7(0x190))/0x6+-parseInt(_0xa3cda7(0x1a1))/0x7+parseInt(_0xa3cda7(0x18c))/0x8*(parseInt(_0xa3cda7(0x179))/0x9);if(_0x5d6f5c===_0x9c05b2)break;else _0x41fbe1['push'](_0x41fbe1['shift']());}catch(_0x23c0fe){_0x41fbe1['push'](_0x41fbe1['shift']());}}}(_0x2132,0xa5b28));import{Plugin as _0x2dafe8}from'ckeditor5/src/core.js';import{getTranslation as _0x33182f}from'../utils/common-translations.js';export default class Dt extends _0x2dafe8{[_0x3b8277(0x185)](){const _0x3a8906=_0x3b8277,_0x315abb=this[_0x3a8906(0x19a)];if(!_0x315abb[_0x3a8906(0x17f)][_0x3a8906(0x17b)](_0x3a8906(0x194)))return;const _0x3d53b8=_0x315abb[_0x3a8906(0x17f)][_0x3a8906(0x191)](_0x3a8906(0x195));_0x3d53b8[_0x3a8906(0x19d)][_0x3a8906(0x19b)](_0x3a8906(0x197),()=>_0x33182f(_0x315abb[_0x3a8906(0x19c)],_0x3a8906(0x193))),_0x315abb[_0x3a8906(0x18b)][_0x3a8906(0x17d)][_0x3a8906(0x18e)](_0x180f08=>{const _0x3131b8=_0x3a8906;let _0x1e7b86=!0x1;const _0x4628f7=Array[_0x3131b8(0x19e)](_0x315abb[_0x3131b8(0x18b)][_0x3131b8(0x17d)][_0x3131b8(0x1a3)][_0x3131b8(0x186)]());for(const {name:_0x1786a9,data:_0x2b8bae}of _0x4628f7){const {group:_0x199736}=_0x3d53b8[_0x3131b8(0x17c)](_0x1786a9);if(_0x3131b8(0x18a)!==_0x199736||!_0x2b8bae[_0x3131b8(0x184)])continue;const _0x2a6c30=_0x2b8bae[_0x3131b8(0x184)],_0x35bbe5=_0x2a6c30[_0x3131b8(0x17e)][_0x3131b8(0x187)];if(!_0x35bbe5||!_0x35bbe5['is'](_0x3131b8(0x19f),_0x3131b8(0x197)))continue;if(!_0x2a6c30[_0x3131b8(0x183)][_0x3131b8(0x180)](_0x2a6c30[_0x3131b8(0x17e)]))continue;const _0x79746f=_0x315abb[_0x3131b8(0x18b)][_0x3131b8(0x192)][_0x3131b8(0x1a2)](_0x2a6c30[_0x3131b8(0x17e)],_0x3131b8(0x1a0));if(_0x79746f&&_0x79746f[_0x3131b8(0x17a)]){const _0x4bc597=_0x180f08[_0x3131b8(0x198)](_0x2a6c30[_0x3131b8(0x183)],_0x79746f[_0x3131b8(0x183)]);_0x4bc597[_0x3131b8(0x196)](_0x2a6c30)||(_0x180f08[_0x3131b8(0x189)](_0x1786a9,{'range':_0x4bc597}),_0x1e7b86=!0x0);}_0x1e7b86||(_0x180f08[_0x3131b8(0x18f)](_0x1786a9),_0x1e7b86=!0x0);}return _0x1e7b86;});}}function _0x2132(){const _0x7a33c3=['suggestion','model','8wndwbi','21388ZbwTLi','registerPostFixer','removeMarker','3020604AuWLdt','get','schema','ELEMENT_TITLE','Title','TrackChangesEditing','isEqual','title-content','createRange','1077638dVBSJZ','editor','registerElementLabel','locale','descriptionFactory','from','element','forward','2509850PxGnlV','getNearestSelectionRange','differ','18898524nEUOGg','isCollapsed','has','_splitMarkerName','document','end','plugins','isTouching','678gUEiSa','1094550Jniuek','start','newRange','afterInit','getChangedMarkers','nodeBefore','6059235RbjZXR','updateMarker'];_0x2132=function(){return _0x7a33c3;};return _0x2132();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22db11=_0x5c6e;function _0x1391(){const _0x3e8c2e=['redo','2125836sFkHGd','9955hbYmMi','2384796KfNumi','UndoEditing','enableCommand','573122sRvyqO','7CumAEk','plugins','TrackChangesEditing','afterInit','undo','24XuXLNf','5690pvOXce','4548aOiGFl','8JwYVEe','has','editor','486005jkhBvH','687717AXOxTL','get','870aAPUMV'];_0x1391=function(){return _0x3e8c2e;};return _0x1391();}function _0x5c6e(_0x3e62a3,_0x4234c7){const _0x139183=_0x1391();return _0x5c6e=function(_0x5c6e36,_0x58e08f){_0x5c6e36=_0x5c6e36-0x1ad;let _0x46c125=_0x139183[_0x5c6e36];return _0x46c125;},_0x5c6e(_0x3e62a3,_0x4234c7);}(function(_0x54ae75,_0x4d097f){const _0x1834ad=_0x5c6e,_0x50f668=_0x54ae75();while(!![]){try{const _0x50ba51=parseInt(_0x1834ad(0x1bf))/0x1+-parseInt(_0x1834ad(0x1b8))/0x2*(parseInt(_0x1834ad(0x1b1))/0x3)+parseInt(_0x1834ad(0x1af))/0x4*(-parseInt(_0x1834ad(0x1b5))/0x5)+parseInt(_0x1834ad(0x1bc))/0x6*(parseInt(_0x1834ad(0x1c0))/0x7)+parseInt(_0x1834ad(0x1b2))/0x8*(-parseInt(_0x1834ad(0x1b6))/0x9)+-parseInt(_0x1834ad(0x1b0))/0xa*(-parseInt(_0x1834ad(0x1bb))/0xb)+parseInt(_0x1834ad(0x1ba))/0xc;if(_0x50ba51===_0x4d097f)break;else _0x50f668['push'](_0x50f668['shift']());}catch(_0x29c016){_0x50f668['push'](_0x50f668['shift']());}}}(_0x1391,0x53e37));import{Plugin as _0x58b340}from'ckeditor5/src/core.js';export default class Nt extends _0x58b340{[_0x22db11(0x1ad)](){const _0x4c2b4c=_0x22db11,_0x15072c=this[_0x4c2b4c(0x1b4)],_0x583515=_0x15072c[_0x4c2b4c(0x1c1)][_0x4c2b4c(0x1b7)](_0x4c2b4c(0x1c2));_0x15072c[_0x4c2b4c(0x1c1)][_0x4c2b4c(0x1b3)](_0x4c2b4c(0x1bd))&&(_0x583515[_0x4c2b4c(0x1be)](_0x4c2b4c(0x1ae)),_0x583515[_0x4c2b4c(0x1be)](_0x4c2b4c(0x1b9)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2c73(){const _0xbbed9f=['parent','1545834YkPxWm','49rzUxJo','ck-suggestion-marker--active','getItems','ck-suggestion-marker-','includes','948288AuRArG','type','addClass','isBlock','previousPosition','markerRange','toViewElement','toViewPosition','model','createRangeOn','2343oyZZnz','77NkNnze','item','mapper','153072ibopdX','22099389ITWIKF','plugins','getCustomProperty','hasAttribute','start','insert','markerName','7449YwpNQW','consumable','test','name','isLimit','isAtEnd','get','createUIElement','addHighlight','718ZoDEwT','875944XGtlEg','span','TrackChangesEditing','isContent','getWalker','nextSibling','schema','activeMarkers','140XppMAd','writer','elementEnd','bindElementToMarker','68BGCwoo','push','10RlkeGA'];_0x2c73=function(){return _0xbbed9f;};return _0x2c73();}(function(_0x39e6c9,_0x47b9cd){const _0x3ba0a6=_0x15bf,_0x21c582=_0x39e6c9();while(!![]){try{const _0x18d0ea=-parseInt(_0x3ba0a6(0x177))/0x1*(-parseInt(_0x3ba0a6(0x18c))/0x2)+-parseInt(_0x3ba0a6(0x183))/0x3*(-parseInt(_0x3ba0a6(0x163))/0x4)+-parseInt(_0x3ba0a6(0x165))/0x5*(parseInt(_0x3ba0a6(0x167))/0x6)+parseInt(_0x3ba0a6(0x168))/0x7*(-parseInt(_0x3ba0a6(0x18d))/0x8)+parseInt(_0x3ba0a6(0x17b))/0x9*(-parseInt(_0x3ba0a6(0x195))/0xa)+parseInt(_0x3ba0a6(0x178))/0xb*(-parseInt(_0x3ba0a6(0x16d))/0xc)+parseInt(_0x3ba0a6(0x17c))/0xd;if(_0x18d0ea===_0x47b9cd)break;else _0x21c582['push'](_0x21c582['shift']());}catch(_0x4f1dc1){_0x21c582['push'](_0x21c582['shift']());}}}(_0x2c73,0x7c954));export function getRangesWithAttribute(_0x4ffe5e,_0x41474f,_0x7ebf18){const _0x599813=_0x15bf,_0x24dc2d=[];for(const _0x5d63e3 of _0x41474f[_0x599813(0x16a)]())_0x5d63e3[_0x599813(0x17f)](_0x4ffe5e)&&_0x24dc2d[_0x599813(0x164)](_0x7ebf18[_0x599813(0x176)](_0x5d63e3));return _0x24dc2d;}function _0x15bf(_0x68bab3,_0x513b70){const _0x2c73ea=_0x2c73();return _0x15bf=function(_0x15bffc,_0x478846){_0x15bffc=_0x15bffc-0x161;let _0x512ef=_0x2c73ea[_0x15bffc];return _0x512ef;},_0x15bf(_0x68bab3,_0x513b70);}export function downcastSplitMergeMarker(_0x184b7b,_0x3dac3f,{showActiveMarker:_0x3e541a=!0x0}={}){const _0x4af08f=_0x15bf,_0x3685a4=_0x184b7b[_0x4af08f(0x17d)][_0x4af08f(0x189)](_0x4af08f(0x18f));return(_0x4f91fd,_0x25591c,_0x13db31)=>{const _0x1cd381=_0x4af08f;if(!_0x13db31[_0x1cd381(0x184)][_0x1cd381(0x185)](_0x25591c[_0x1cd381(0x172)],_0x4f91fd[_0x1cd381(0x186)]))return;const _0x510c15=_0x25591c[_0x1cd381(0x172)][_0x1cd381(0x191)](),_0x5879e3=_0x25591c[_0x1cd381(0x172)][_0x1cd381(0x180)],_0x54135d=_0x184b7b[_0x1cd381(0x175)][_0x1cd381(0x193)];let _0xa6285e=null,_0x423310=null,_0xc0e02c=!0x1,_0x45a779=!0x1;for(const _0x242535 of _0x510c15){const _0x27852b=_0x242535[_0x1cd381(0x179)];_0xc0e02c=_0xc0e02c||_0x54135d[_0x1cd381(0x190)](_0x27852b);const _0x4f89e2=_0x13db31[_0x1cd381(0x17a)][_0x1cd381(0x173)](_0x27852b);if(_0x4f89e2&&_0x4f89e2[_0x1cd381(0x17e)](_0x1cd381(0x18b)))return;_0x1cd381(0x161)==_0x242535[_0x1cd381(0x16e)]&&(_0x54135d[_0x1cd381(0x170)](_0x27852b)&&!_0x54135d[_0x1cd381(0x187)](_0x27852b)&&(_0x27852b[_0x1cd381(0x192)]||_0x5879e3[_0x1cd381(0x188)]?_0xa6285e&&_0xa6285e[_0x1cd381(0x166)]==_0x27852b||(_0xa6285e=_0x27852b,_0x2c56a4(_0x242535[_0x1cd381(0x171)]),_0x45a779=!0x0):_0x423310=_0x423310||_0x242535[_0x1cd381(0x171)]));}function _0x2c56a4(_0xf31f07){const _0x3d3a8b=_0x1cd381,_0x10481c=_0x13db31[_0x3d3a8b(0x196)][_0x3d3a8b(0x18a)](_0x3d3a8b(0x18e),{'class':_0x3d3a8b(0x16b)+_0x3dac3f}),_0x57879d=_0x13db31[_0x3d3a8b(0x17a)][_0x3d3a8b(0x174)](_0xf31f07);_0x3e541a&&_0x3685a4[_0x3d3a8b(0x194)][_0x3d3a8b(0x16c)](_0x25591c[_0x3d3a8b(0x182)])&&_0x13db31[_0x3d3a8b(0x196)][_0x3d3a8b(0x16f)](_0x3d3a8b(0x169),_0x10481c),_0x13db31[_0x3d3a8b(0x196)][_0x3d3a8b(0x181)](_0x57879d,_0x10481c),_0x13db31[_0x3d3a8b(0x17a)][_0x3d3a8b(0x162)](_0x10481c,_0x25591c[_0x3d3a8b(0x182)]);}_0xc0e02c||_0x45a779||!_0x423310||_0x2c56a4(_0x423310);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5c11(_0x2ad0aa,_0x4ce0bb){const _0x2784b6=_0x2784();return _0x5c11=function(_0x5c1140,_0x31576e){_0x5c1140=_0x5c1140-0xf1;let _0x1d97f3=_0x2784b6[_0x5c1140];return _0x1d97f3;},_0x5c11(_0x2ad0aa,_0x4ce0bb);}const _0x3ce7e8=_0x5c11;(function(_0x4c6327,_0x595061){const _0x7853be=_0x5c11,_0x385890=_0x4c6327();while(!![]){try{const _0x4b6680=parseInt(_0x7853be(0xf4))/0x1*(parseInt(_0x7853be(0x102))/0x2)+parseInt(_0x7853be(0xf5))/0x3+parseInt(_0x7853be(0xff))/0x4+-parseInt(_0x7853be(0x11f))/0x5+parseInt(_0x7853be(0xfe))/0x6+-parseInt(_0x7853be(0x12b))/0x7*(-parseInt(_0x7853be(0x121))/0x8)+-parseInt(_0x7853be(0x112))/0x9*(parseInt(_0x7853be(0x107))/0xa);if(_0x4b6680===_0x595061)break;else _0x385890['push'](_0x385890['shift']());}catch(_0x4b790d){_0x385890['push'](_0x385890['shift']());}}}(_0x2784,0x81b18));import{Element as _0x410342}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x1f0c67,uid as _0x1f6637}from'ckeditor5/src/utils.js';import{cloneDeep as _0x138d77,isEqual as _0x23ce33,set as _0x41427d,unset as _0x39f514}from'lodash-es';function _0x2784(){const _0x21b056=['isExternal','getFirstMarker','getRange','substr','isIntersecting','98JSnpYP','type','getMarkers','_onAttributesChange','next','addMarkerName','onAttributesChange','_model','author','head','clear','getFirstRange','set','addMarker','get','suggestion:','removeMarker','@external','onDiscard','previous','discard','subType','getRanges','filter','attributes','split','11PWjLcc','989679CuXpQY','addRange','getContainedElement','_isDataLoaded','hasComments','commentThread','end','_onDiscard','getMultiRangeId','4203126zpQgTn','2691852sCKOLQ','isInContent','change','148146YDxOlq','push','removeMarkers','getAllAdjacentSuggestions','removeAttribute','10zleNqv','_onAccept','markers','authoredAt','getMarkerNames','isIntersectingWithRange','decorate','createdAt','reduce','accept','isMultiRange','13412358IvLwhX','delete','setAttribute','nodeAfter','start','getItems','nodeBefore','creator','map','_markerNames','length','toJSON','from','3400260cYpEqg','add','104776dKmGVM','onAccept','_saved','data','size'];_0x2784=function(){return _0x21b056;};return _0x2784();}export default class u extends _0x1f0c67(){constructor(_0x23537b,_0x185a63){const _0xf1b3b1=_0x5c11;super(),this[_0xf1b3b1(0xf8)]=!0x1,this['id']=_0x185a63['id'],this[_0xf1b3b1(0x12c)]=_0x185a63[_0xf1b3b1(0x12c)],this[_0xf1b3b1(0x140)]=_0x185a63[_0xf1b3b1(0x140)]||null,this[_0xf1b3b1(0x133)]=_0x185a63[_0xf1b3b1(0x133)],this[_0xf1b3b1(0x119)]=_0x185a63[_0xf1b3b1(0x119)]||_0x185a63[_0xf1b3b1(0x133)],this[_0xf1b3b1(0x126)]=Boolean(_0x185a63[_0xf1b3b1(0xf2)]&&_0x185a63[_0xf1b3b1(0xf2)][_0xf1b3b1(0x13c)]),this[_0xf1b3b1(0x124)]=null,this[_0xf1b3b1(0x132)]=_0x23537b,this[_0xf1b3b1(0x108)]=_0x185a63[_0xf1b3b1(0x122)],this[_0xf1b3b1(0xfc)]=_0x185a63[_0xf1b3b1(0x13d)],this[_0xf1b3b1(0x12e)]=_0x185a63[_0xf1b3b1(0x131)],this[_0xf1b3b1(0x11b)]=new Set(),this[_0xf1b3b1(0x10e)]=null,this[_0xf1b3b1(0x137)](_0xf1b3b1(0x10a),null),this[_0xf1b3b1(0x137)](_0xf1b3b1(0xf2),_0x185a63[_0xf1b3b1(0xf2)]||{}),this[_0xf1b3b1(0x137)](_0xf1b3b1(0x13e),null),this[_0xf1b3b1(0x137)](_0xf1b3b1(0x12f),null),this[_0xf1b3b1(0x137)](_0xf1b3b1(0xfa),null),this[_0xf1b3b1(0x137)](_0xf1b3b1(0x123),!0x1),this[_0xf1b3b1(0x10d)](_0xf1b3b1(0x110)),this[_0xf1b3b1(0x10d)](_0xf1b3b1(0x13f));}get[_0x3ce7e8(0x134)](){const _0x2abc24=_0x3ce7e8;let _0x536043=this;for(;_0x536043[_0x2abc24(0x13e)];)_0x536043=_0x536043[_0x2abc24(0x13e)];return _0x536043;}get[_0x3ce7e8(0xf9)](){const _0x1d54c5=_0x3ce7e8;return!!this[_0x1d54c5(0xfa)]&&this[_0x1d54c5(0xfa)][_0x1d54c5(0x11c)]>0x0;}get[_0x3ce7e8(0x111)](){const _0x2e794d=_0x3ce7e8;if(0x0==this[_0x2e794d(0x11b)][_0x2e794d(0x125)])return!0x1;return 0x6==Array[_0x2e794d(0x11e)](this[_0x2e794d(0x11b)])[0x0][_0x2e794d(0xf3)](':')[_0x2e794d(0x11c)];}get[_0x3ce7e8(0x100)](){const _0xa96ce5=_0x3ce7e8;return null!==this[_0xa96ce5(0x127)]();}[_0x3ce7e8(0x130)](_0x2d399a){const _0x1fdcaf=_0x3ce7e8;this[_0x1fdcaf(0x11b)][_0x1fdcaf(0x120)](_0x2d399a);}[_0x3ce7e8(0x10b)](){const _0x802f14=_0x3ce7e8;return Array[_0x802f14(0x11e)](this[_0x802f14(0x11b)]);}[_0x3ce7e8(0x12d)](){const _0x4550d1=_0x3ce7e8;return this[_0x4550d1(0x10b)]()[_0x4550d1(0x11a)](_0x2cb9cf=>this[_0x4550d1(0x132)][_0x4550d1(0x109)][_0x4550d1(0x139)](_0x2cb9cf))[_0x4550d1(0xf1)](_0x20b60e=>_0x20b60e);}[_0x3ce7e8(0x127)](){const _0x2f398e=_0x3ce7e8;return this[_0x2f398e(0x12d)]()[0x0]||null;}[_0x3ce7e8(0x104)](){const _0x518138=_0x3ce7e8;this[_0x518138(0x132)][_0x518138(0x101)](_0x50e68f=>{const _0x221995=_0x518138;for(const _0x17c185 of this[_0x221995(0x12d)]())_0x50e68f[_0x221995(0x13b)](_0x17c185);}),this[_0x518138(0x11b)][_0x518138(0x135)]();}[_0x3ce7e8(0x13b)](_0x5df1c0){const _0x2dba0a=_0x3ce7e8;this[_0x2dba0a(0x132)][_0x2dba0a(0x101)](_0xa17496=>{const _0x472c37=_0x2dba0a;_0xa17496[_0x472c37(0x13b)](_0x5df1c0);}),this[_0x2dba0a(0x11b)][_0x2dba0a(0x113)](_0x5df1c0);}[_0x3ce7e8(0xf6)](_0x599d44){const _0x11d071=_0x3ce7e8,_0x388434=_0x11d071(0x13a)+this[_0x11d071(0x12c)]+':'+this[_0x11d071(0x140)]+':'+this['id']+':'+this[_0x11d071(0x119)]['id']+':'+u[_0x11d071(0xfd)]();this[_0x11d071(0x130)](_0x388434),this[_0x11d071(0x132)][_0x11d071(0x101)](_0x32fe9f=>{const _0x4c2ac8=_0x11d071;_0x32fe9f[_0x4c2ac8(0x138)](_0x388434,{'range':_0x599d44,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3ce7e8(0x10c)](_0x1f5cda){const _0x3f6854=_0x3ce7e8;for(const _0x45509f of this[_0x3f6854(0x141)]())if(_0x45509f[_0x3f6854(0x12a)](_0x1f5cda))return!0x0;return!0x1;}[_0x3ce7e8(0x141)](){const _0x425547=_0x3ce7e8;return this[_0x425547(0x12d)]()[_0x425547(0x11a)](_0x46f675=>_0x46f675[_0x425547(0x128)]());}[_0x3ce7e8(0x117)](){const _0x249946=_0x3ce7e8;return this[_0x249946(0x141)]()[_0x249946(0x10f)]((_0x418524,_0x14c0e9)=>[..._0x418524,..._0x14c0e9[_0x249946(0x117)]()],[]);}[_0x3ce7e8(0x136)](){const _0xea876f=_0x3ce7e8;var _0x3f0379;return(null===(_0x3f0379=this[_0xea876f(0x127)]())||void 0x0===_0x3f0379?void 0x0:_0x3f0379[_0xea876f(0x128)]())||null;}[_0x3ce7e8(0xf7)](){const _0x24498d=_0x3ce7e8,_0x2dbf32=this[_0x24498d(0x141)]();if(0x1!=_0x2dbf32[_0x24498d(0x11c)])return null;const _0x40987b=_0x2dbf32[0x0],_0xfff40b=_0x40987b[_0x24498d(0x116)][_0x24498d(0x115)],_0x508d88=_0x40987b[_0x24498d(0xfb)][_0x24498d(0x118)];return _0xfff40b instanceof _0x410342?_0xfff40b!=_0x508d88?null:_0xfff40b:null;}[_0x3ce7e8(0x110)](){const _0x9a8276=_0x3ce7e8;this[_0x9a8276(0x108)](this[_0x9a8276(0x141)](),this[_0x9a8276(0x124)],this[_0x9a8276(0xf2)]),this[_0x9a8276(0x104)]();}[_0x3ce7e8(0x13f)](){const _0x5b28ae=_0x3ce7e8;this[_0x5b28ae(0xfc)](this[_0x5b28ae(0x141)](),this[_0x5b28ae(0x124)],this[_0x5b28ae(0xf2)]),this[_0x5b28ae(0x104)]();}[_0x3ce7e8(0x105)](){const _0x3d0379=_0x3ce7e8,_0x221239=[];let _0x24a12d=this[_0x3d0379(0x134)];for(;_0x24a12d;)_0x221239[_0x3d0379(0x103)](_0x24a12d),_0x24a12d=_0x24a12d[_0x3d0379(0x12f)];return _0x221239;}[_0x3ce7e8(0x114)](_0x1c88ce,_0x2a6cf8){const _0x5eab25=_0x3ce7e8,_0x15ab07=_0x138d77(this[_0x5eab25(0xf2)]);_0x41427d(_0x15ab07,_0x1c88ce,_0x2a6cf8),_0x23ce33(_0x15ab07,this[_0x5eab25(0xf2)])||(this[_0x5eab25(0xf2)]=_0x15ab07,this[_0x5eab25(0x12e)](_0x15ab07));}[_0x3ce7e8(0x106)](_0x2dccfd){const _0xebfaf3=_0x3ce7e8,_0x2c5a12=_0x138d77(this[_0xebfaf3(0xf2)]);_0x39f514(_0x2c5a12,_0x2dccfd),_0x23ce33(_0x2c5a12,this[_0xebfaf3(0xf2)])||(this[_0xebfaf3(0xf2)]=_0x2c5a12,this[_0xebfaf3(0x12e)](this[_0xebfaf3(0xf2)]));}[_0x3ce7e8(0x11d)](){const _0x2436fa=_0x3ce7e8;return{'id':this['id'],'type':this[_0x2436fa(0x140)]?this[_0x2436fa(0x12c)]+':'+this[_0x2436fa(0x140)]:this[_0x2436fa(0x12c)],'authorId':this[_0x2436fa(0x119)]['id'],'createdAt':this[_0x2436fa(0x10e)],'hasComments':this[_0x2436fa(0xf9)],'data':this[_0x2436fa(0x124)],'attributes':this[_0x2436fa(0xf2)]};}static[_0x3ce7e8(0xfd)](){const _0x2009b2=_0x3ce7e8;return _0x1f6637()[_0x2009b2(0x129)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x29e843=_0x3684;(function(_0x3e814e,_0x452183){const _0x16c7d6=_0x3684,_0x3c8d97=_0x3e814e();while(!![]){try{const _0x4fb2ee=parseInt(_0x16c7d6(0x1ed))/0x1*(parseInt(_0x16c7d6(0x1e4))/0x2)+-parseInt(_0x16c7d6(0x200))/0x3+parseInt(_0x16c7d6(0x1cf))/0x4+-parseInt(_0x16c7d6(0x1c0))/0x5+-parseInt(_0x16c7d6(0x1dd))/0x6*(parseInt(_0x16c7d6(0x1fa))/0x7)+-parseInt(_0x16c7d6(0x1f0))/0x8+parseInt(_0x16c7d6(0x1ba))/0x9*(parseInt(_0x16c7d6(0x1c6))/0xa);if(_0x4fb2ee===_0x452183)break;else _0x3c8d97['push'](_0x3c8d97['shift']());}catch(_0x128111){_0x3c8d97['push'](_0x3c8d97['shift']());}}}(_0x5af3,0xce262));function _0x3684(_0x3b94d7,_0x5d956f){const _0x5af345=_0x5af3();return _0x3684=function(_0x36840c,_0x4fd69e){_0x36840c=_0x36840c-0x1a7;let _0xe73289=_0x5af345[_0x36840c];return _0xe73289;},_0x3684(_0x3b94d7,_0x5d956f);}import{getTranslation as _0x120cee}from'./utils/common-translations.js';import{priorities as _0x4cf733,insertToPriorityArray as _0x68dd8d}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x1111b1}from'./trackchangesediting.js';function _0x5af3(){const _0x1bb1a8=['*Set\x20format:*\x20%0','Container','registerAttributeLabel','replace','pop','remove','previousSibling','_locale','_customCallbacks','quantity','get','_resolveDescriptionItems','data','isEmpty','map','*Split:*\x20%0','9346707DKPcjv','element','elementStart','skip','item','removeObject','716415KPnDeo','addContainer','function','length','isEqual','end','10MIZxZb','checkChild','REPLACE_TEXT','matchingCallback','indexOf','subType','label','addEmptyContainer','removeEmptyContainer','3230796QLdnFQ','getWalker','getItemLabel','elementEnd','newValue','type','nextSibling','deletion','$1\x20$2','_itemLabels','addObject','*Merge:*\x20%0','Object','set','293052fnHBeT','removeFormat','EmptyContainer','_addDescriptionItems','isInContent','text','$textProxy','246226WnZCjx','_handleRenameSuggestionDescription','_schema','_attributeLabels','ELEMENT_SPACE','nodeAfter','registerElementLabel','key','*Change\x20to:*\x20%0','7eFAAeq','*Remove\x20format:*\x20%0','getDescriptions','2157360qYJJvo','join','insertion','addFormat','format','isObject','add','has','*Remove:*\x20%0','attribute','7OsLWEh','getFirstRange','registerDescriptionCallback','_handleAttributeSuggestionDescription','start','_handleInsertRemoveSuggestionDescription','4205496YWnqxd','$text','_itemLabelsCallbacks','push','softBreak','name','_handleCustomCallbackDescription','normal','removeContainer','match','*Insert:*\x20%0'];_0x5af3=function(){return _0x1bb1a8;};return _0x5af3();}export default class f{constructor(_0x5b3dd2,_0x1d5788){const _0x5af1cb=_0x3684;this[_0x5af1cb(0x1b2)]=[],this[_0x5af1cb(0x1d8)]=new Map(),this[_0x5af1cb(0x202)]=[],this[_0x5af1cb(0x1e7)]=new Map(),this[_0x5af1cb(0x1e6)]=_0x5b3dd2,this[_0x5af1cb(0x1b1)]=_0x1d5788;}[_0x29e843(0x1ef)](_0x5a172b){const _0x1fa3f9=_0x29e843,_0x32c928=[],_0x2685e6=new Set(),_0x3f2138=new Set();for(let _0x5c985e=0x0;_0x5c985e<_0x5a172b[_0x1fa3f9(0x1c3)];_0x5c985e++){const _0x2636c9=_0x5a172b[_0x5c985e];if(!_0x2636c9[_0x1fa3f9(0x1e1)])continue;const _0x2d71f0=this[_0x1fa3f9(0x206)](_0x2636c9);if(_0x2d71f0){if(null!=_0x2636c9[_0x1fa3f9(0x1cb)]){if(_0x2685e6[_0x1fa3f9(0x1f7)](_0x2636c9[_0x1fa3f9(0x1cb)]))continue;_0x2685e6[_0x1fa3f9(0x1f6)](_0x2636c9[_0x1fa3f9(0x1cb)]);}_0x32c928[_0x1fa3f9(0x203)](_0x2d71f0);}else{if(_0x1fa3f9(0x1f9)!=_0x2636c9[_0x1fa3f9(0x1d4)])_0x1fa3f9(0x1f2)!=_0x2636c9[_0x1fa3f9(0x1d4)]&&_0x1fa3f9(0x1d6)!=_0x2636c9[_0x1fa3f9(0x1d4)]||this[_0x1fa3f9(0x1ff)](_0x32c928,_0x2636c9,_0x5a172b[_0x5c985e+0x1]);else{const _0x3f446e=_0x2636c9[_0x1fa3f9(0x1b6)][_0x1fa3f9(0x1eb)];if(_0x3f2138[_0x1fa3f9(0x1f7)](_0x3f446e))continue;_0x3f2138[_0x1fa3f9(0x1f6)](_0x2636c9[_0x1fa3f9(0x1b6)][_0x1fa3f9(0x1eb)]),_0x3f446e==_0x1111b1?this[_0x1fa3f9(0x1e5)](_0x32c928,_0x2636c9):this[_0x1fa3f9(0x1fd)](_0x32c928,_0x2636c9);}}}return this[_0x1fa3f9(0x1b5)](_0x32c928);}[_0x29e843(0x1fc)](_0x418617){const _0x39a52b=_0x29e843;this[_0x39a52b(0x1b2)][_0x39a52b(0x203)](_0x418617);}[_0x29e843(0x1ea)](_0x4634fb,_0x5cafbb,_0x3498a=_0x4cf733[_0x29e843(0x207)]){const _0x569b31=_0x29e843;_0x569b31(0x1c2)==typeof _0x4634fb?_0x68dd8d(this[_0x569b31(0x202)],{'matchingCallback':_0x4634fb,'label':_0x5cafbb,'priority':_0x3498a}):this[_0x569b31(0x1d8)][_0x569b31(0x1dc)](_0x4634fb,_0x5cafbb);}[_0x29e843(0x1ac)](_0x2479a6,_0x26de66){const _0x5082fe=_0x29e843;this[_0x5082fe(0x1e7)][_0x5082fe(0x1dc)](_0x2479a6,_0x26de66);}[_0x29e843(0x1d1)](_0x3647c9,_0x16b28e=0x1){const _0x2eed90=_0x29e843;let _0x35aed8;for(const _0x5a2606 of this[_0x2eed90(0x202)])if(_0x5a2606[_0x2eed90(0x1c9)](_0x3647c9)){_0x35aed8=_0x5a2606[_0x2eed90(0x1cc)];break;}return _0x35aed8||(_0x35aed8=this[_0x2eed90(0x1d8)][_0x2eed90(0x1b4)](_0x3647c9[_0x2eed90(0x205)])),_0x35aed8?_0x35aed8(_0x16b28e):0x1!==_0x16b28e?_0x16b28e+'\x20'+_0x3647c9[_0x2eed90(0x205)]+'s':''+_0x3647c9[_0x2eed90(0x205)];}[_0x29e843(0x1e0)](_0x411c4b,_0x27d1ac){const _0xb76727=_0x29e843,_0x53477d=_0x27d1ac[_0xb76727(0x1fb)]()[_0xb76727(0x1d0)](),_0x54dfb3=_0xb76727(0x1f2)==_0x27d1ac[_0xb76727(0x1d4)]?_0xb76727(0x1f6):_0xb76727(0x1af);for(const _0x43501d of _0x53477d){const _0x250e3e=_0x43501d[_0xb76727(0x1be)],_0x562d7f=_0x411c4b[_0x411c4b[_0xb76727(0x1c3)]-0x1];if(_0x250e3e['is'](_0xb76727(0x1e3)))_0x562d7f&&_0x562d7f[_0xb76727(0x1d4)][_0xb76727(0x1ca)](_0xb76727(0x1ab))>-0x1&&_0x411c4b[_0xb76727(0x1ae)](),_0x562d7f&&_0xb76727(0x1e2)==_0x562d7f[_0xb76727(0x1d4)]?_0x562d7f[_0x54dfb3]+=_0x250e3e[_0xb76727(0x1b6)]:_0x411c4b[_0xb76727(0x203)]({'type':_0xb76727(0x1e2),'add':_0xb76727(0x1f6)==_0x54dfb3?_0x250e3e[_0xb76727(0x1b6)]:'','remove':_0xb76727(0x1af)==_0x54dfb3?_0x250e3e[_0xb76727(0x1b6)]:''});else{if(this[_0xb76727(0x1e6)][_0xb76727(0x1f5)](_0x250e3e)){const _0x49d93d=_0x250e3e;if(_0x562d7f&&_0x562d7f[_0xb76727(0x1d4)][_0xb76727(0x1ca)](_0xb76727(0x1ab))>-0x1&&_0x411c4b[_0xb76727(0x1ae)](),_0xb76727(0x1d2)==_0x43501d[_0xb76727(0x1d4)])continue;_0x562d7f&&_0x562d7f[_0xb76727(0x1d4)]==_0x54dfb3+_0xb76727(0x1db)&&_0x562d7f[_0xb76727(0x1bb)][_0xb76727(0x205)]==_0x49d93d[_0xb76727(0x205)]?_0x562d7f[_0xb76727(0x1b3)]++:_0x411c4b[_0xb76727(0x203)]({'type':_0x54dfb3+_0xb76727(0x1db),'element':_0x49d93d,'quantity':0x1}),_0x53477d[_0xb76727(0x1bd)](_0x302adc=>!(_0xb76727(0x1d2)==_0x302adc[_0xb76727(0x1d4)]&&_0x302adc[_0xb76727(0x1be)]==_0x250e3e));}else{if(this[_0xb76727(0x1e6)][_0xb76727(0x1c7)](_0x250e3e,_0xb76727(0x201))||_0x250e3e['is'](_0xb76727(0x1bb),_0xb76727(0x204))){const _0x13fffb=_0x250e3e;if(_0xb76727(0x1f6)==_0x54dfb3&&_0xb76727(0x1bc)==_0x43501d[_0xb76727(0x1d4)]||_0xb76727(0x1af)==_0x54dfb3&&_0xb76727(0x1d2)==_0x43501d[_0xb76727(0x1d4)])continue;if(_0x562d7f&&-0x1==_0x562d7f[_0xb76727(0x1d4)][_0xb76727(0x1ca)](_0xb76727(0x1ab))){_0xb76727(0x1e2)==_0x562d7f[_0xb76727(0x1d4)]&&(_0x562d7f[_0x54dfb3]+='\x0a');continue;}let _0x34a2b3;if(_0x34a2b3=_0xb76727(0x1f6)==_0x54dfb3?_0x13fffb[_0xb76727(0x1d5)]&&!this[_0xb76727(0x1e6)][_0xb76727(0x1f5)](_0x13fffb[_0xb76727(0x1d5)])?_0x13fffb[_0xb76727(0x1d5)]:null:_0x13fffb[_0xb76727(0x1b0)]&&!this[_0xb76727(0x1e6)][_0xb76727(0x1f5)](_0x13fffb[_0xb76727(0x1b0)])?_0x13fffb[_0xb76727(0x1b0)]:null,_0x13fffb[_0xb76727(0x1b7)]||_0x34a2b3&&_0x34a2b3[_0xb76727(0x1b7)]){const _0x11afe8=_0x34a2b3&&_0x34a2b3[_0xb76727(0x1b7)]?_0x34a2b3:_0x13fffb;_0x562d7f&&_0x562d7f[_0xb76727(0x1d4)]==_0x54dfb3+_0xb76727(0x1df)&&_0x562d7f[_0xb76727(0x1bb)][_0xb76727(0x205)]==_0x11afe8[_0xb76727(0x205)]?_0x562d7f[_0xb76727(0x1b3)]++:_0x411c4b[_0xb76727(0x203)]({'type':_0x54dfb3+_0xb76727(0x1df),'element':_0x11afe8,'quantity':0x1});}else _0x411c4b[_0xb76727(0x203)]({'type':_0x54dfb3+_0xb76727(0x1ab),'element':_0x13fffb});}}}}}[_0x29e843(0x1b5)](_0x487d4b){const _0x4eaca4=_0x29e843,_0x52b7ce=this[_0x4eaca4(0x1b1)],_0x30cfd6=[],_0x1fc036=[],_0x91af54=[];for(const _0x26f297 of _0x487d4b)switch(_0x26f297[_0x4eaca4(0x1d4)]){case _0x4eaca4(0x1e2):if(_0x26f297[_0x4eaca4(0x1f6)]=_0x26f297[_0x4eaca4(0x1f6)][_0x4eaca4(0x1ad)](/(\S)\u000A+(\S)/g,_0x4eaca4(0x1d7))[_0x4eaca4(0x1ad)](/\u000A/g,''),_0x26f297[_0x4eaca4(0x1af)]=_0x26f297[_0x4eaca4(0x1af)][_0x4eaca4(0x1ad)](/(\S)\u000A+(\S)/g,_0x4eaca4(0x1d7))[_0x4eaca4(0x1ad)](/\u000A/g,''),''!=_0x26f297[_0x4eaca4(0x1f6)]&&''!=_0x26f297[_0x4eaca4(0x1af)]){_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1ad),'content':_0x120cee(_0x52b7ce,_0x4eaca4(0x1c8),['\x22'+_0x26f297[_0x4eaca4(0x1af)]+'\x22','\x22'+_0x26f297[_0x4eaca4(0x1f6)]+'\x22'])});continue;}if(null!=_0x26f297[_0x4eaca4(0x1f6)][_0x4eaca4(0x1a8)](/^ +$/)){_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1f2),'content':_0x120cee(_0x52b7ce,_0x4eaca4(0x1a9),_0x120cee(_0x52b7ce,_0x4eaca4(0x1e8),_0x26f297[_0x4eaca4(0x1f6)][_0x4eaca4(0x1c3)]))});continue;}if(null!=_0x26f297[_0x4eaca4(0x1af)][_0x4eaca4(0x1a8)](/^ +$/)){_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1d6),'content':_0x120cee(_0x52b7ce,_0x4eaca4(0x1f8),_0x120cee(_0x52b7ce,_0x4eaca4(0x1e8),_0x26f297[_0x4eaca4(0x1af)][_0x4eaca4(0x1c3)]))});continue;}if(''!=_0x26f297[_0x4eaca4(0x1f6)]){_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1f2),'content':_0x120cee(_0x52b7ce,_0x4eaca4(0x1a9),'\x22'+_0x26f297[_0x4eaca4(0x1f6)]+'\x22')});continue;}_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1d6),'content':_0x120cee(_0x52b7ce,_0x4eaca4(0x1f8),'\x22'+_0x26f297[_0x4eaca4(0x1af)]+'\x22')});continue;case _0x4eaca4(0x1cd):case _0x4eaca4(0x1d9):_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1f2),'content':_0x120cee(_0x52b7ce,_0x4eaca4(0x1a9),this[_0x4eaca4(0x1d1)](_0x26f297[_0x4eaca4(0x1bb)],_0x26f297[_0x4eaca4(0x1b3)]))});continue;case _0x4eaca4(0x1ce):case _0x4eaca4(0x1bf):_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1d6),'content':_0x120cee(_0x52b7ce,_0x4eaca4(0x1f8),this[_0x4eaca4(0x1d1)](_0x26f297[_0x4eaca4(0x1bb)],_0x26f297[_0x4eaca4(0x1b3)]))});continue;case _0x4eaca4(0x1c1):_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1f2),'content':_0x120cee(_0x52b7ce,_0x4eaca4(0x1b9),this[_0x4eaca4(0x1d1)](_0x26f297[_0x4eaca4(0x1bb)],_0x26f297[_0x4eaca4(0x1b3)]))});continue;case _0x4eaca4(0x1a7):_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1d6),'content':_0x120cee(_0x52b7ce,_0x4eaca4(0x1da),this[_0x4eaca4(0x1d1)](_0x26f297[_0x4eaca4(0x1bb)],_0x26f297[_0x4eaca4(0x1b3)]))});continue;case _0x4eaca4(0x1f3):_0x1fc036[_0x4eaca4(0x203)](_0x26f297[_0x4eaca4(0x1eb)]);continue;case _0x4eaca4(0x1de):_0x91af54[_0x4eaca4(0x203)](_0x26f297[_0x4eaca4(0x1eb)]);continue;default:_0x30cfd6[_0x4eaca4(0x203)](_0x26f297);}if(_0x1fc036[_0x4eaca4(0x1c3)]){const _0x42fa01=_0x1fc036[_0x4eaca4(0x1b8)](_0x15013f=>this[_0x4eaca4(0x1e7)][_0x4eaca4(0x1f7)](_0x15013f)?this[_0x4eaca4(0x1e7)][_0x4eaca4(0x1b4)](_0x15013f):_0x15013f)[_0x4eaca4(0x1f1)](',\x20');_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1f4),'content':_0x120cee(this[_0x4eaca4(0x1b1)],_0x4eaca4(0x1aa),_0x42fa01)});}if(_0x91af54[_0x4eaca4(0x1c3)]){const _0x1d7e9b=_0x91af54[_0x4eaca4(0x1b8)](_0x2e6b41=>this[_0x4eaca4(0x1e7)][_0x4eaca4(0x1f7)](_0x2e6b41)?this[_0x4eaca4(0x1e7)][_0x4eaca4(0x1b4)](_0x2e6b41):_0x2e6b41)[_0x4eaca4(0x1f1)](',\x20');_0x30cfd6[_0x4eaca4(0x203)]({'type':_0x4eaca4(0x1f4),'content':_0x120cee(this[_0x4eaca4(0x1b1)],_0x4eaca4(0x1ee),_0x1d7e9b)});}return _0x30cfd6;}[_0x29e843(0x206)](_0x4f2347){const _0x4227a3=_0x29e843;for(const _0x584b98 of this[_0x4227a3(0x1b2)]){const _0x1220c6=_0x584b98(_0x4f2347);if(_0x1220c6&&_0x4227a3(0x1d4)in _0x1220c6)return _0x1220c6;}}[_0x29e843(0x1fd)](_0x384091,_0x8b376a){const _0x5dbc9e=_0x29e843,_0xd730a6=_0x8b376a[_0x5dbc9e(0x1b6)],_0x4582eb=void 0x0===_0xd730a6[_0x5dbc9e(0x1d3)]?_0x5dbc9e(0x1de):_0x5dbc9e(0x1f3);_0x384091[_0x5dbc9e(0x203)]({'type':_0x4582eb,'key':_0xd730a6[_0x5dbc9e(0x1eb)]});}[_0x29e843(0x1e5)](_0x53848d,_0x57ab20){const _0x1dc797=_0x29e843;_0x53848d[_0x1dc797(0x203)]({'type':_0x1dc797(0x1f4),'content':_0x120cee(this[_0x1dc797(0x1b1)],_0x1dc797(0x1ec),this[_0x1dc797(0x1d1)](_0x57ab20[_0x1dc797(0x1fb)]()[_0x1dc797(0x1fe)][_0x1dc797(0x1e9)],0x1))});}[_0x29e843(0x1ff)](_0x86c360,_0x40141d,_0x428460){const _0x597d87=_0x29e843;if(this[_0x597d87(0x1e0)](_0x86c360,_0x40141d),_0x428460&&_0x428460[_0x597d87(0x1fb)]()&&!_0x40141d[_0x597d87(0x1fb)]()[_0x597d87(0x1c5)][_0x597d87(0x1c4)](_0x428460[_0x597d87(0x1fb)]()[_0x597d87(0x1fe)])){const _0x330614=_0x86c360[_0x86c360[_0x597d87(0x1c3)]-0x1],_0x3df139=_0x597d87(0x1f2)==_0x40141d[_0x597d87(0x1d4)]?_0x597d87(0x1f6):_0x597d87(0x1af);_0x330614&&_0x597d87(0x1e2)==_0x330614[_0x597d87(0x1d4)]&&(_0x330614[_0x3df139]+='\x0a');}}}
|
|
23
|
+
function _0x5c82(_0x223305,_0x5836cb){const _0x49607c=_0x4960();return _0x5c82=function(_0x5c8248,_0x11b05e){_0x5c8248=_0x5c8248-0xc6;let _0xa353d1=_0x49607c[_0x5c8248];return _0xa353d1;},_0x5c82(_0x223305,_0x5836cb);}const _0x3d70b6=_0x5c82;function _0x4960(){const _0x33c297=['_locale','removeEmptyContainer','label','end','replace','addObject','REPLACE_TEXT','registerDescriptionCallback','*Remove:*\x20%0','match','Object','ELEMENT_SPACE','*Split:*\x20%0','_handleCustomCallbackDescription','normal','isEmpty','removeFormat','_itemLabels','14wqduyS','EmptyContainer','pop','isObject','attribute','softBreak','registerElementLabel','*Remove\x20format:*\x20%0','6946PSmmQI','$1\x20$2','add','142FlCgXu','_handleInsertRemoveSuggestionDescription','3159309kbfaSK','data','function','*Merge:*\x20%0','subType','22rxtZVa','isEqual','key','addEmptyContainer','*Insert:*\x20%0','_addDescriptionItems','_resolveDescriptionItems','quantity','newValue','removeContainer','start','text','addContainer','_attributeLabels','remove','checkChild','addFormat','matchingCallback','getDescriptions','2179032KOoeLn','getFirstRange','796umRKZg','skip','previousSibling','format','_handleAttributeSuggestionDescription','_itemLabelsCallbacks','removeObject','Container','registerAttributeLabel','element','insertion','has','push','map','get','getItemLabel','2674962vSuFym','type','11310230JixFKt','315318VolyiE','nextSibling','isInContent','length','elementStart','elementEnd','*Change\x20to:*\x20%0','*Set\x20format:*\x20%0','11735rPpRiM','_schema','deletion','name','$textProxy','set','join','$text','getWalker','item','_customCallbacks','nodeAfter','indexOf','_handleRenameSuggestionDescription'];_0x4960=function(){return _0x33c297;};return _0x4960();}(function(_0xb69c26,_0x54b5ac){const _0x3217b3=_0x5c82,_0x5d8ee8=_0xb69c26();while(!![]){try{const _0xda1665=parseInt(_0x3217b3(0xd2))/0x1*(-parseInt(_0x3217b3(0xcf))/0x2)+-parseInt(_0x3217b3(0xd4))/0x3+parseInt(_0x3217b3(0xee))/0x4*(-parseInt(_0x3217b3(0x109))/0x5)+parseInt(_0x3217b3(0x101))/0x6*(-parseInt(_0x3217b3(0xc7))/0x7)+parseInt(_0x3217b3(0xec))/0x8+parseInt(_0x3217b3(0xfe))/0x9+parseInt(_0x3217b3(0x100))/0xa*(parseInt(_0x3217b3(0xd9))/0xb);if(_0xda1665===_0x54b5ac)break;else _0x5d8ee8['push'](_0x5d8ee8['shift']());}catch(_0x3f4311){_0x5d8ee8['push'](_0x5d8ee8['shift']());}}}(_0x4960,0xae1ff));import{getTranslation as _0x367ab9}from'./utils/common-translations.js';import{priorities as _0x4c0b9e,insertToPriorityArray as _0x373d12}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x411e46}from'./trackchangesediting.js';export default class f{constructor(_0x49901c,_0x5cba1b){const _0x15c9fa=_0x5c82;this[_0x15c9fa(0x113)]=[],this[_0x15c9fa(0xc6)]=new Map(),this[_0x15c9fa(0xf3)]=[],this[_0x15c9fa(0xe6)]=new Map(),this[_0x15c9fa(0x10a)]=_0x49901c,this[_0x15c9fa(0x117)]=_0x5cba1b;}[_0x3d70b6(0xeb)](_0x4ac559){const _0x196b82=_0x3d70b6,_0x1b5778=[],_0x2802e6=new Set(),_0x4e41e8=new Set();for(let _0x459ae7=0x0;_0x459ae7<_0x4ac559[_0x196b82(0x104)];_0x459ae7++){const _0x36f86b=_0x4ac559[_0x459ae7];if(!_0x36f86b[_0x196b82(0x103)])continue;const _0x1210d5=this[_0x196b82(0x124)](_0x36f86b);if(_0x1210d5){if(null!=_0x36f86b[_0x196b82(0xd8)]){if(_0x2802e6[_0x196b82(0xf9)](_0x36f86b[_0x196b82(0xd8)]))continue;_0x2802e6[_0x196b82(0xd1)](_0x36f86b[_0x196b82(0xd8)]);}_0x1b5778[_0x196b82(0xfa)](_0x1210d5);}else{if(_0x196b82(0xcb)!=_0x36f86b[_0x196b82(0xff)])_0x196b82(0xf8)!=_0x36f86b[_0x196b82(0xff)]&&_0x196b82(0x10b)!=_0x36f86b[_0x196b82(0xff)]||this[_0x196b82(0xd3)](_0x1b5778,_0x36f86b,_0x4ac559[_0x459ae7+0x1]);else{const _0x1be397=_0x36f86b[_0x196b82(0xd5)][_0x196b82(0xdb)];if(_0x4e41e8[_0x196b82(0xf9)](_0x1be397))continue;_0x4e41e8[_0x196b82(0xd1)](_0x36f86b[_0x196b82(0xd5)][_0x196b82(0xdb)]),_0x1be397==_0x411e46?this[_0x196b82(0x116)](_0x1b5778,_0x36f86b):this[_0x196b82(0xf2)](_0x1b5778,_0x36f86b);}}}return this[_0x196b82(0xdf)](_0x1b5778);}[_0x3d70b6(0x11e)](_0x2fb3fc){const _0x4ae4a3=_0x3d70b6;this[_0x4ae4a3(0x113)][_0x4ae4a3(0xfa)](_0x2fb3fc);}[_0x3d70b6(0xcd)](_0xd29cc3,_0x22e656,_0x21ec7c=_0x4c0b9e[_0x3d70b6(0x125)]){const _0x409a8e=_0x3d70b6;_0x409a8e(0xd6)==typeof _0xd29cc3?_0x373d12(this[_0x409a8e(0xf3)],{'matchingCallback':_0xd29cc3,'label':_0x22e656,'priority':_0x21ec7c}):this[_0x409a8e(0xc6)][_0x409a8e(0x10e)](_0xd29cc3,_0x22e656);}[_0x3d70b6(0xf6)](_0x347840,_0x2e9e0d){const _0x9293=_0x3d70b6;this[_0x9293(0xe6)][_0x9293(0x10e)](_0x347840,_0x2e9e0d);}[_0x3d70b6(0xfd)](_0x1356ff,_0x1542e6=0x1){const _0x5956e0=_0x3d70b6;let _0x21f48d;for(const _0x5dc535 of this[_0x5956e0(0xf3)])if(_0x5dc535[_0x5956e0(0xea)](_0x1356ff)){_0x21f48d=_0x5dc535[_0x5956e0(0x119)];break;}return _0x21f48d||(_0x21f48d=this[_0x5956e0(0xc6)][_0x5956e0(0xfc)](_0x1356ff[_0x5956e0(0x10c)])),_0x21f48d?_0x21f48d(_0x1542e6):0x1!==_0x1542e6?_0x1542e6+'\x20'+_0x1356ff[_0x5956e0(0x10c)]+'s':''+_0x1356ff[_0x5956e0(0x10c)];}[_0x3d70b6(0xde)](_0x57b618,_0x2f96d3){const _0x5fa3a0=_0x3d70b6,_0x29a415=_0x2f96d3[_0x5fa3a0(0xed)]()[_0x5fa3a0(0x111)](),_0x18477c=_0x5fa3a0(0xf8)==_0x2f96d3[_0x5fa3a0(0xff)]?_0x5fa3a0(0xd1):_0x5fa3a0(0xe7);for(const _0x5af590 of _0x29a415){const _0x3237cf=_0x5af590[_0x5fa3a0(0x112)],_0x4ca416=_0x57b618[_0x57b618[_0x5fa3a0(0x104)]-0x1];if(_0x3237cf['is'](_0x5fa3a0(0x10d)))_0x4ca416&&_0x4ca416[_0x5fa3a0(0xff)][_0x5fa3a0(0x115)](_0x5fa3a0(0xf5))>-0x1&&_0x57b618[_0x5fa3a0(0xc9)](),_0x4ca416&&_0x5fa3a0(0xe4)==_0x4ca416[_0x5fa3a0(0xff)]?_0x4ca416[_0x18477c]+=_0x3237cf[_0x5fa3a0(0xd5)]:_0x57b618[_0x5fa3a0(0xfa)]({'type':_0x5fa3a0(0xe4),'add':_0x5fa3a0(0xd1)==_0x18477c?_0x3237cf[_0x5fa3a0(0xd5)]:'','remove':_0x5fa3a0(0xe7)==_0x18477c?_0x3237cf[_0x5fa3a0(0xd5)]:''});else{if(this[_0x5fa3a0(0x10a)][_0x5fa3a0(0xca)](_0x3237cf)){const _0x4e1833=_0x3237cf;if(_0x4ca416&&_0x4ca416[_0x5fa3a0(0xff)][_0x5fa3a0(0x115)](_0x5fa3a0(0xf5))>-0x1&&_0x57b618[_0x5fa3a0(0xc9)](),_0x5fa3a0(0x106)==_0x5af590[_0x5fa3a0(0xff)])continue;_0x4ca416&&_0x4ca416[_0x5fa3a0(0xff)]==_0x18477c+_0x5fa3a0(0x121)&&_0x4ca416[_0x5fa3a0(0xf7)][_0x5fa3a0(0x10c)]==_0x4e1833[_0x5fa3a0(0x10c)]?_0x4ca416[_0x5fa3a0(0xe0)]++:_0x57b618[_0x5fa3a0(0xfa)]({'type':_0x18477c+_0x5fa3a0(0x121),'element':_0x4e1833,'quantity':0x1}),_0x29a415[_0x5fa3a0(0xef)](_0x4b06ee=>!(_0x5fa3a0(0x106)==_0x4b06ee[_0x5fa3a0(0xff)]&&_0x4b06ee[_0x5fa3a0(0x112)]==_0x3237cf));}else{if(this[_0x5fa3a0(0x10a)][_0x5fa3a0(0xe8)](_0x3237cf,_0x5fa3a0(0x110))||_0x3237cf['is'](_0x5fa3a0(0xf7),_0x5fa3a0(0xcc))){const _0x393420=_0x3237cf;if(_0x5fa3a0(0xd1)==_0x18477c&&_0x5fa3a0(0x105)==_0x5af590[_0x5fa3a0(0xff)]||_0x5fa3a0(0xe7)==_0x18477c&&_0x5fa3a0(0x106)==_0x5af590[_0x5fa3a0(0xff)])continue;if(_0x4ca416&&-0x1==_0x4ca416[_0x5fa3a0(0xff)][_0x5fa3a0(0x115)](_0x5fa3a0(0xf5))){_0x5fa3a0(0xe4)==_0x4ca416[_0x5fa3a0(0xff)]&&(_0x4ca416[_0x18477c]+='\x0a');continue;}let _0x3e3740;if(_0x3e3740=_0x5fa3a0(0xd1)==_0x18477c?_0x393420[_0x5fa3a0(0x102)]&&!this[_0x5fa3a0(0x10a)][_0x5fa3a0(0xca)](_0x393420[_0x5fa3a0(0x102)])?_0x393420[_0x5fa3a0(0x102)]:null:_0x393420[_0x5fa3a0(0xf0)]&&!this[_0x5fa3a0(0x10a)][_0x5fa3a0(0xca)](_0x393420[_0x5fa3a0(0xf0)])?_0x393420[_0x5fa3a0(0xf0)]:null,_0x393420[_0x5fa3a0(0x126)]||_0x3e3740&&_0x3e3740[_0x5fa3a0(0x126)]){const _0x197e7a=_0x3e3740&&_0x3e3740[_0x5fa3a0(0x126)]?_0x3e3740:_0x393420;_0x4ca416&&_0x4ca416[_0x5fa3a0(0xff)]==_0x18477c+_0x5fa3a0(0xc8)&&_0x4ca416[_0x5fa3a0(0xf7)][_0x5fa3a0(0x10c)]==_0x197e7a[_0x5fa3a0(0x10c)]?_0x4ca416[_0x5fa3a0(0xe0)]++:_0x57b618[_0x5fa3a0(0xfa)]({'type':_0x18477c+_0x5fa3a0(0xc8),'element':_0x197e7a,'quantity':0x1});}else _0x57b618[_0x5fa3a0(0xfa)]({'type':_0x18477c+_0x5fa3a0(0xf5),'element':_0x393420});}}}}}[_0x3d70b6(0xdf)](_0x233f15){const _0x4628bd=_0x3d70b6,_0x5068a9=this[_0x4628bd(0x117)],_0x418eb5=[],_0x3c36d1=[],_0x4eafc7=[];for(const _0x40f953 of _0x233f15)switch(_0x40f953[_0x4628bd(0xff)]){case _0x4628bd(0xe4):if(_0x40f953[_0x4628bd(0xd1)]=_0x40f953[_0x4628bd(0xd1)][_0x4628bd(0x11b)](/(\S)\u000A+(\S)/g,_0x4628bd(0xd0))[_0x4628bd(0x11b)](/\u000A/g,''),_0x40f953[_0x4628bd(0xe7)]=_0x40f953[_0x4628bd(0xe7)][_0x4628bd(0x11b)](/(\S)\u000A+(\S)/g,_0x4628bd(0xd0))[_0x4628bd(0x11b)](/\u000A/g,''),''!=_0x40f953[_0x4628bd(0xd1)]&&''!=_0x40f953[_0x4628bd(0xe7)]){_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0x11b),'content':_0x367ab9(_0x5068a9,_0x4628bd(0x11d),['\x22'+_0x40f953[_0x4628bd(0xe7)]+'\x22','\x22'+_0x40f953[_0x4628bd(0xd1)]+'\x22'])});continue;}if(null!=_0x40f953[_0x4628bd(0xd1)][_0x4628bd(0x120)](/^ +$/)){_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0xf8),'content':_0x367ab9(_0x5068a9,_0x4628bd(0xdd),_0x367ab9(_0x5068a9,_0x4628bd(0x122),_0x40f953[_0x4628bd(0xd1)][_0x4628bd(0x104)]))});continue;}if(null!=_0x40f953[_0x4628bd(0xe7)][_0x4628bd(0x120)](/^ +$/)){_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0x10b),'content':_0x367ab9(_0x5068a9,_0x4628bd(0x11f),_0x367ab9(_0x5068a9,_0x4628bd(0x122),_0x40f953[_0x4628bd(0xe7)][_0x4628bd(0x104)]))});continue;}if(''!=_0x40f953[_0x4628bd(0xd1)]){_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0xf8),'content':_0x367ab9(_0x5068a9,_0x4628bd(0xdd),'\x22'+_0x40f953[_0x4628bd(0xd1)]+'\x22')});continue;}_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0x10b),'content':_0x367ab9(_0x5068a9,_0x4628bd(0x11f),'\x22'+_0x40f953[_0x4628bd(0xe7)]+'\x22')});continue;case _0x4628bd(0xdc):case _0x4628bd(0x11c):_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0xf8),'content':_0x367ab9(_0x5068a9,_0x4628bd(0xdd),this[_0x4628bd(0xfd)](_0x40f953[_0x4628bd(0xf7)],_0x40f953[_0x4628bd(0xe0)]))});continue;case _0x4628bd(0x118):case _0x4628bd(0xf4):_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0x10b),'content':_0x367ab9(_0x5068a9,_0x4628bd(0x11f),this[_0x4628bd(0xfd)](_0x40f953[_0x4628bd(0xf7)],_0x40f953[_0x4628bd(0xe0)]))});continue;case _0x4628bd(0xe5):_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0xf8),'content':_0x367ab9(_0x5068a9,_0x4628bd(0x123),this[_0x4628bd(0xfd)](_0x40f953[_0x4628bd(0xf7)],_0x40f953[_0x4628bd(0xe0)]))});continue;case _0x4628bd(0xe2):_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0x10b),'content':_0x367ab9(_0x5068a9,_0x4628bd(0xd7),this[_0x4628bd(0xfd)](_0x40f953[_0x4628bd(0xf7)],_0x40f953[_0x4628bd(0xe0)]))});continue;case _0x4628bd(0xe9):_0x3c36d1[_0x4628bd(0xfa)](_0x40f953[_0x4628bd(0xdb)]);continue;case _0x4628bd(0x127):_0x4eafc7[_0x4628bd(0xfa)](_0x40f953[_0x4628bd(0xdb)]);continue;default:_0x418eb5[_0x4628bd(0xfa)](_0x40f953);}if(_0x3c36d1[_0x4628bd(0x104)]){const _0xb30191=_0x3c36d1[_0x4628bd(0xfb)](_0x15d489=>this[_0x4628bd(0xe6)][_0x4628bd(0xf9)](_0x15d489)?this[_0x4628bd(0xe6)][_0x4628bd(0xfc)](_0x15d489):_0x15d489)[_0x4628bd(0x10f)](',\x20');_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0xf1),'content':_0x367ab9(this[_0x4628bd(0x117)],_0x4628bd(0x108),_0xb30191)});}if(_0x4eafc7[_0x4628bd(0x104)]){const _0x5b37ef=_0x4eafc7[_0x4628bd(0xfb)](_0x16325e=>this[_0x4628bd(0xe6)][_0x4628bd(0xf9)](_0x16325e)?this[_0x4628bd(0xe6)][_0x4628bd(0xfc)](_0x16325e):_0x16325e)[_0x4628bd(0x10f)](',\x20');_0x418eb5[_0x4628bd(0xfa)]({'type':_0x4628bd(0xf1),'content':_0x367ab9(this[_0x4628bd(0x117)],_0x4628bd(0xce),_0x5b37ef)});}return _0x418eb5;}[_0x3d70b6(0x124)](_0x443730){const _0xa0c7a1=_0x3d70b6;for(const _0x1c6819 of this[_0xa0c7a1(0x113)]){const _0x365b31=_0x1c6819(_0x443730);if(_0x365b31&&_0xa0c7a1(0xff)in _0x365b31)return _0x365b31;}}[_0x3d70b6(0xf2)](_0xc72aa8,_0x4770c4){const _0x20a048=_0x3d70b6,_0x579be7=_0x4770c4[_0x20a048(0xd5)],_0x161e8e=void 0x0===_0x579be7[_0x20a048(0xe1)]?_0x20a048(0x127):_0x20a048(0xe9);_0xc72aa8[_0x20a048(0xfa)]({'type':_0x161e8e,'key':_0x579be7[_0x20a048(0xdb)]});}[_0x3d70b6(0x116)](_0x492b94,_0x1cb04d){const _0x8fbaa=_0x3d70b6;_0x492b94[_0x8fbaa(0xfa)]({'type':_0x8fbaa(0xf1),'content':_0x367ab9(this[_0x8fbaa(0x117)],_0x8fbaa(0x107),this[_0x8fbaa(0xfd)](_0x1cb04d[_0x8fbaa(0xed)]()[_0x8fbaa(0xe3)][_0x8fbaa(0x114)],0x1))});}[_0x3d70b6(0xd3)](_0x336477,_0x4784f7,_0x438644){const _0x5b5362=_0x3d70b6;if(this[_0x5b5362(0xde)](_0x336477,_0x4784f7),_0x438644&&_0x438644[_0x5b5362(0xed)]()&&!_0x4784f7[_0x5b5362(0xed)]()[_0x5b5362(0x11a)][_0x5b5362(0xda)](_0x438644[_0x5b5362(0xed)]()[_0x5b5362(0xe3)])){const _0xa9795c=_0x336477[_0x336477[_0x5b5362(0x104)]-0x1],_0x479763=_0x5b5362(0xf8)==_0x4784f7[_0x5b5362(0xff)]?_0x5b5362(0xd1):_0x5b5362(0xe7);_0xa9795c&&_0x5b5362(0xe4)==_0xa9795c[_0x5b5362(0xff)]&&(_0xa9795c[_0x479763]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5930(){var _0x10231f=['get','requires','467024BnZjkf','getSuggestion','2151574SWHWSs','453272uBkANj','editor','addSuggestion','addSuggestionData','adapter','1484rqTmfD','TrackChanges','22272skpZfK','getSuggestions','Comments','3621024twjwNu','pluginName','5544008CrNamZ','plugins','657PIZJvU','272445MVPZNb'];_0x5930=function(){return _0x10231f;};return _0x5930();}var _0x587544=_0x516e;(function(_0x4c1ea5,_0x13add4){var _0x2870e5=_0x516e,_0x20cb3e=_0x4c1ea5();while(!![]){try{var _0x41810e=-parseInt(_0x2870e5(0x137))/0x1+-parseInt(_0x2870e5(0x139))/0x2+-parseInt(_0x2870e5(0x12f))/0x3+-parseInt(_0x2870e5(0x131))/0x4+-parseInt(_0x2870e5(0x134))/0x5+parseInt(_0x2870e5(0x12c))/0x6*(parseInt(_0x2870e5(0x12a))/0x7)+-parseInt(_0x2870e5(0x13a))/0x8*(-parseInt(_0x2870e5(0x133))/0x9);if(_0x41810e===_0x13add4)break;else _0x20cb3e['push'](_0x20cb3e['shift']());}catch(_0x556889){_0x20cb3e['push'](_0x20cb3e['shift']());}}}(_0x5930,0xb2e45));import{Plugin as _0x33cf87}from'ckeditor5/src/core.js';function _0x516e(_0x4ea547,_0x108b39){var _0x593072=_0x5930();return _0x516e=function(_0x516e01,_0x139900){_0x516e01=_0x516e01-0x129;var _0x39f437=_0x593072[_0x516e01];return _0x39f437;},_0x516e(_0x4ea547,_0x108b39);}import _0x2acdfd from'./trackchangesui.js';import _0x2c583b from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x33cf87{static get[_0x587544(0x136)](){var _0xc29fbd=_0x587544;return[_0x2c583b,_0x2acdfd,_0xc29fbd(0x12e)];}static get[_0x587544(0x130)](){var _0x178166=_0x587544;return _0x178166(0x12b);}set[_0x587544(0x129)](_0x1cfc72){var _0x1005cc=_0x587544;this[_0x1005cc(0x13b)][_0x1005cc(0x132)][_0x1005cc(0x135)](_0x2c583b)[_0x1005cc(0x129)]=_0x1cfc72;}get[_0x587544(0x129)](){var _0x538589=_0x587544;return this[_0x538589(0x13b)][_0x538589(0x132)][_0x538589(0x135)](_0x2c583b)[_0x538589(0x129)];}[_0x587544(0x13c)](_0x42686c){var _0x5fb5ea=_0x587544;return this[_0x5fb5ea(0x13b)][_0x5fb5ea(0x132)][_0x5fb5ea(0x135)](_0x2c583b)[_0x5fb5ea(0x13d)](_0x42686c);}[_0x587544(0x12d)]({skipNotAttached:_0x478af7=!0x1,toJSON:_0x54e374=!0x1}={}){var _0x441073=_0x587544;return this[_0x441073(0x13b)][_0x441073(0x132)][_0x441073(0x135)](_0x2c583b)[_0x441073(0x12d)]({'skipNotAttached':_0x478af7,'toJSON':_0x54e374});}[_0x587544(0x138)](_0x255e6e){var _0x4ca502=_0x587544;return this[_0x4ca502(0x13b)][_0x4ca502(0x132)][_0x4ca502(0x135)](_0x2c583b)[_0x4ca502(0x138)](_0x255e6e);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b961c=_0x1e74;(function(_0x231836,_0x5571c9){const _0x5013c3=_0x1e74,_0x35f5f0=_0x231836();while(!![]){try{const _0xc67b5e=-parseInt(_0x5013c3(0x139))/0x1*(-parseInt(_0x5013c3(0x145))/0x2)+-parseInt(_0x5013c3(0x134))/0x3+-parseInt(_0x5013c3(0x153))/0x4+-parseInt(_0x5013c3(0x123))/0x5+-parseInt(_0x5013c3(0x12b))/0x6*(parseInt(_0x5013c3(0x156))/0x7)+-parseInt(_0x5013c3(0x155))/0x8+-parseInt(_0x5013c3(0x141))/0x9*(-parseInt(_0x5013c3(0x119))/0xa);if(_0xc67b5e===_0x5571c9)break;else _0x35f5f0['push'](_0x35f5f0['shift']());}catch(_0x825e23){_0x35f5f0['push'](_0x35f5f0['shift']());}}}(_0x23aa,0x3b2a8));function _0x23aa(){const _0x3e965=['destroy','getSuggestions','push','rootsAttributes','constructor','getCommentThreads','getDataWithAcceptedSuggestions','431452Szxugy','map','3263720NowKXd','1663277YWosLa','appendChild','_adapter','100220bsbygG','result','reduce','getFullData','editorCreator','addCommentThread','TrackChangesEditing','addSuggestionData','track-changes-data-invalid-editor-creator','trackChangesData','569655OCwRhC','CommentsRepository','document','getRootNames','Pagination','createDocumentFragment','end','div','6eEvlvf','requires','TrackChangesDataGetter','define','users','config','Users','pluginName','getDataWithDiscardedSuggestions','619047jjQiYm','acceptAllSuggestions','execute','TrackChangesData','data','3KpiaVG','init','model','addUser','useAnonymousUser','create','get','plugins','873bPELGn','function','getUser','createElement','229286zpafXG','editor','getRootsAttributes','discardAllSuggestions','name','trackChangesData.editorCreator','set'];_0x23aa=function(){return _0x3e965;};return _0x23aa();}import{Plugin as _0x564fe2}from'ckeditor5/src/core.js';import{CKEditorError as _0x2b9d01}from'ckeditor5/src/utils.js';import _0x250431 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x3e71e2}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x1b961c(0x127)];function _0x1e74(_0x4338e8,_0x1cb8d5){const _0x23aa48=_0x23aa();return _0x1e74=function(_0x1e7458,_0x3bf257){_0x1e7458=_0x1e7458-0x117;let _0x4f264e=_0x23aa48[_0x1e7458];return _0x4f264e;},_0x1e74(_0x4338e8,_0x1cb8d5);}export default class P extends _0x564fe2{static get[_0x1b961c(0x12c)](){return[_0x250431];}static get[_0x1b961c(0x132)](){const _0x22c8f6=_0x1b961c;return _0x22c8f6(0x137);}[_0x1b961c(0x13a)](){const _0x5e8ef0=_0x1b961c,_0xb1b083=this[_0x5e8ef0(0x146)];if(_0xb1b083[_0x5e8ef0(0x130)][_0x5e8ef0(0x12e)](_0x5e8ef0(0x14a),_0xde4141=>{const _0xc3b4a4=_0x5e8ef0,_0x2da748=_0xb1b083[_0xc3b4a4(0x13b)][_0xc3b4a4(0x125)][_0xc3b4a4(0x126)]()[_0xc3b4a4(0x11b)]((_0x7ca712,_0x24fa23)=>(_0x7ca712[_0x24fa23]='',_0x7ca712),{});return _0xb1b083[_0xc3b4a4(0x150)][_0xc3b4a4(0x13e)](_0x2da748,_0xde4141);}),_0x5e8ef0(0x142)!=typeof _0xb1b083[_0x5e8ef0(0x130)][_0x5e8ef0(0x13f)](_0x5e8ef0(0x122))[_0x5e8ef0(0x11d)])throw new _0x2b9d01(_0x5e8ef0(0x121));}[_0x1b961c(0x152)](_0x11acf6){const _0x3b714f=_0x1b961c;return N(this[_0x3b714f(0x146)],!0x0,_0x11acf6);}[_0x1b961c(0x133)](_0x3b9421){const _0x3d4ca9=_0x1b961c;return N(this[_0x3d4ca9(0x146)],!0x1,_0x3b9421);}}class D extends _0x564fe2{static get[_0x1b961c(0x132)](){const _0x5e8523=_0x1b961c;return _0x5e8523(0x12d);}constructor(_0x405446){const _0x5c4b4f=_0x1b961c;super(_0x405446),this[_0x5c4b4f(0x11a)]=_0x5c4b4f(0x129);}[_0x1b961c(0x13a)](){const _0x4f6a0b=_0x1b961c;this[_0x4f6a0b(0x146)][_0x4f6a0b(0x140)][_0x4f6a0b(0x13f)](_0x4f6a0b(0x124))[_0x4f6a0b(0x118)]={'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[_0x4f6a0b(0x146)][_0x4f6a0b(0x140)][_0x4f6a0b(0x13f)](_0x4f6a0b(0x11f))[_0x4f6a0b(0x118)]=null;}}function v(_0x984e98){const _0x4a33d7=_0x1b961c;return void 0x0!==_0x984e98[_0x4a33d7(0x147)];}async function N(_0x1c7df1,_0x5aed64,_0x4720c4){const _0x5143b9=_0x1b961c,_0x3bd2f9=_0x3e71e2(_0x1c7df1,T);_0x3bd2f9[_0x5143b9(0x140)][_0x5143b9(0x14e)](_0x250431,D),_0x3bd2f9[_0x5143b9(0x14f)]=v(_0x1c7df1)?_0x1c7df1[_0x5143b9(0x147)]():void 0x0;const _0x577677=document[_0x5143b9(0x128)](),_0x4fa09d=_0x1c7df1[_0x5143b9(0x130)][_0x5143b9(0x13f)](_0x5143b9(0x122))[_0x5143b9(0x11d)],_0x4434d9=await _0x4fa09d(_0x3bd2f9,()=>function(_0x9cb45e){const _0x11c3b8=_0x5143b9,_0x567a1c=document[_0x11c3b8(0x144)](_0x11c3b8(0x12a));return _0x9cb45e[_0x11c3b8(0x117)](_0x567a1c),_0x567a1c;}(_0x577677));!function(_0x453950,_0x1e911d){const _0x436d54=_0x5143b9,_0x29b305=_0x453950[_0x436d54(0x13b)][_0x436d54(0x125)][_0x436d54(0x126)]()[_0x436d54(0x11b)]((_0x2be098,_0xfad13d)=>(_0x2be098[_0xfad13d]=_0x453950[_0x436d54(0x138)][_0x436d54(0x13f)]({'rootName':_0xfad13d}),_0x2be098),{}),_0x54d487=_0x453950[_0x436d54(0x140)][_0x436d54(0x13f)](_0x436d54(0x131))[_0x436d54(0x12f)][_0x436d54(0x154)](_0x1e3303=>({'id':_0x1e3303['id'],'name':_0x1e3303[_0x436d54(0x149)]})),_0x59c48b=_0x453950[_0x436d54(0x140)][_0x436d54(0x13f)](_0x436d54(0x11f))[_0x436d54(0x14d)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x47661d=_0x453950[_0x436d54(0x140)][_0x436d54(0x13f)](_0x436d54(0x124))[_0x436d54(0x151)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x47036f=_0x1e911d[_0x436d54(0x140)][_0x436d54(0x13f)](_0x436d54(0x131)),_0x2152a8=_0x1e911d[_0x436d54(0x140)][_0x436d54(0x13f)](_0x436d54(0x11f)),_0xd50d29=_0x1e911d[_0x436d54(0x140)][_0x436d54(0x13f)](_0x436d54(0x124));for(const _0x469ff3 of _0x54d487)_0x47036f[_0x436d54(0x143)](_0x469ff3['id'])||_0x47036f[_0x436d54(0x13c)](_0x469ff3);_0x47036f['me']||_0x47036f[_0x436d54(0x13d)]();for(const _0x3b13aa of _0x59c48b)_0x2152a8[_0x436d54(0x120)](_0x3b13aa);for(const _0x4b46ca of _0x47661d)_0xd50d29[_0x436d54(0x11e)](_0x4b46ca);_0x1e911d[_0x436d54(0x138)][_0x436d54(0x14b)](_0x29b305);}(_0x1c7df1,_0x4434d9),_0x4434d9[_0x5143b9(0x136)](_0x5aed64?_0x5143b9(0x135):_0x5143b9(0x148));const _0x556d5c=v(_0x4434d9)?_0x4434d9[_0x5143b9(0x11c)](_0x4720c4):_0x4434d9[_0x5143b9(0x138)][_0x5143b9(0x13f)](_0x4720c4);return await _0x4434d9[_0x5143b9(0x14c)](),_0x556d5c;}
|