@ckeditor/ckeditor5-track-changes 42.0.0-alpha.11 → 42.0.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x48a0(_0x1b319e,_0x2004e4){const _0x5b0f6e=_0x5b0f();return _0x48a0=function(_0x48a0af,_0x7f925c){_0x48a0af=_0x48a0af-0x1c5;let _0x42ceba=_0x5b0f6e[_0x48a0af];return _0x42ceba;},_0x48a0(_0x1b319e,_0x2004e4);}const _0x1bdf4c=_0x48a0;(function(_0x59dea3,_0x46e57e){const _0x31d447=_0x48a0,_0x233e0d=_0x59dea3();while(!![]){try{const _0x405cf1=parseInt(_0x31d447(0x1cf))/0x1+parseInt(_0x31d447(0x1d5))/0x2+-parseInt(_0x31d447(0x1c9))/0x3+parseInt(_0x31d447(0x1cb))/0x4+-parseInt(_0x31d447(0x1d9))/0x5*(-parseInt(_0x31d447(0x1d8))/0x6)+parseInt(_0x31d447(0x1ca))/0x7+parseInt(_0x31d447(0x1ce))/0x8*(-parseInt(_0x31d447(0x1d3))/0x9);if(_0x405cf1===_0x46e57e)break;else _0x233e0d['push'](_0x233e0d['shift']());}catch(_0x56dfb9){_0x233e0d['push'](_0x233e0d['shift']());}}}(_0x5b0f,0xe2eb1));import{Plugin as _0x2bf038}from'ckeditor5/src/core.js';function _0x5b0f(){const _0x11052e=['12600658DHKYvV','5782320DwQwnZ','ELEMENT_TABLE_OF_CONTENTS','enableCommand','632PKImde','1003325qcdKcK','descriptionFactory','afterInit','editor','420498goFJtL','insertTableOfContents','25386HKEmNS','plugins','TrackChangesEditing','387318SvZLtj','85cFdwXO','registerElementLabel','get','tableOfContents','locale','commands','2215794ZuqDhT'];_0x5b0f=function(){return _0x11052e;};return _0x5b0f();}import{getTranslation as _0x50f720}from'../utils/common-translations.js';export default class _t extends _0x2bf038{[_0x1bdf4c(0x1d1)](){const _0x2b99f1=_0x1bdf4c,_0x2097e7=this[_0x2b99f1(0x1d2)];if(!_0x2097e7[_0x2b99f1(0x1c8)][_0x2b99f1(0x1c5)](_0x2b99f1(0x1d4)))return;_0x2097e7[_0x2b99f1(0x1d6)][_0x2b99f1(0x1c5)](_0x2b99f1(0x1d7))[_0x2b99f1(0x1cd)](_0x2b99f1(0x1d4));const _0x4634a9=_0x2097e7[_0x2b99f1(0x1d6)][_0x2b99f1(0x1c5)](_0x2b99f1(0x1d7)),_0x1fbc93=_0x2097e7[_0x2b99f1(0x1c7)];_0x4634a9[_0x2b99f1(0x1d0)][_0x2b99f1(0x1da)](_0x2b99f1(0x1c6),_0x5b14b7=>_0x50f720(_0x1fbc93,_0x2b99f1(0x1cc),_0x5b14b7));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a83f7=_0x1048;function _0x1048(_0x2af6df,_0x7b58e9){const _0x41dfa9=_0x41df();return _0x1048=function(_0x104885,_0x5b9cc8){_0x104885=_0x104885-0x18f;let _0xd24cff=_0x41dfa9[_0x104885];return _0xd24cff;},_0x1048(_0x2af6df,_0x7b58e9);}(function(_0x33d303,_0x121e7b){const _0x12948e=_0x1048,_0x54c76d=_0x33d303();while(!![]){try{const _0x3af4c3=-parseInt(_0x12948e(0x1bd))/0x1+-parseInt(_0x12948e(0x1ba))/0x2+parseInt(_0x12948e(0x1a9))/0x3+parseInt(_0x12948e(0x1ae))/0x4+parseInt(_0x12948e(0x1ab))/0x5*(parseInt(_0x12948e(0x1d6))/0x6)+-parseInt(_0x12948e(0x1a2))/0x7*(-parseInt(_0x12948e(0x1bb))/0x8)+parseInt(_0x12948e(0x1a7))/0x9*(parseInt(_0x12948e(0x1b1))/0xa);if(_0x3af4c3===_0x121e7b)break;else _0x54c76d['push'](_0x54c76d['shift']());}catch(_0x434b7f){_0x54c76d['push'](_0x54c76d['shift']());}}}(_0x41df,0x23068));import{Plugin as _0x590658}from'ckeditor5/src/core.js';function _0x41df(){const _0x8d0fa6=['enableCommand','tableWidth','change','183510BZLDyo','tableCellBackgroundColor','_suggestionFactory','commandParams','join','batch','get','tableProperties','afterInit','formatBlock','getFirstPosition','pluginName','tableBorderStyle','start','handleDiscardAction','getSuggestionCallback','has','tableBorderColor','table','_getSuggestion','selection','getAttribute','registerDescriptionCallback','tableCellPadding','findAncestor','tableBackgroundColor','1673ZlIoDs','nodeAfter','plugins','getContainedElement','getSelectionAffectedTableCells','84789MqPrcn','removeAttribute','397608samcNd','descriptionFactory','5deyuEf','tableCellBorderColor','tableCellHeight','619812HcSHlr','tableCellWidth','model','50uyerZx','tableBorderWidth','TableCellPropertiesEditing','*Format:*\x20change\x20table\x20cell\x20properties','document','*Format:*\x20change\x20table\x20properties','getSuggestions','accept','handleSuggestionDescription','501320OibnVO','6440nnblYj','subType','163450jymmtS','tableCellBorderWidth','format','discard','tableHeight','TablePropertiesEditing','tableCellBorderStyle','tableAlignment','TrackChangesTableProperties','setAttribute','tableCellHorizontalAlignment','tableCellVerticalAlignment','markBlockFormat','TrackChangesEditing','_handlePropertyChange','enqueueChange','editor','TableUtils','locale','data','tableCellProperties','registerCustomCallback'];_0x41df=function(){return _0x8d0fa6;};return _0x41df();}import{getTranslation as _0x2514a2}from'../utils/common-translations.js';export default class $t extends _0x590658{constructor(_0x1759e4){const _0x3ef227=_0x1048;super(_0x1759e4),this[_0x3ef227(0x18f)]=[_0x3ef227(0x199),_0x3ef227(0x194),_0x3ef227(0x1b2),_0x3ef227(0x1c4),_0x3ef227(0x1d4),_0x3ef227(0x1c1),_0x3ef227(0x1a1)],this[_0x3ef227(0x1d1)]=[_0x3ef227(0x1ac),_0x3ef227(0x1c3),_0x3ef227(0x1be),_0x3ef227(0x19f),_0x3ef227(0x1af),_0x3ef227(0x1ad),_0x3ef227(0x1d7),_0x3ef227(0x1c7),_0x3ef227(0x1c8)];}static get[_0x1a83f7(0x193)](){const _0x20d369=_0x1a83f7;return _0x20d369(0x1c5);}[_0x1a83f7(0x190)](){const _0x10c400=_0x1a83f7,_0x2c490d=this[_0x10c400(0x1cd)][_0x10c400(0x1a4)][_0x10c400(0x1dc)](_0x10c400(0x1ca));if(this[_0x10c400(0x1cd)][_0x10c400(0x1a4)][_0x10c400(0x198)](_0x10c400(0x1c2))){for(const _0x411d08 of this[_0x10c400(0x18f)])_0x2c490d[_0x10c400(0x1d3)](_0x411d08,(_0x3e73f0,_0x38490e)=>{const _0x30abd8=_0x10c400,_0x1b8471=this[_0x30abd8(0x1cd)][_0x30abd8(0x1b0)][_0x30abd8(0x1b5)][_0x30abd8(0x19c)][_0x30abd8(0x192)]()[_0x30abd8(0x1a0)](_0x30abd8(0x19a));this[_0x30abd8(0x1cb)](_0x411d08,[_0x1b8471],this[_0x30abd8(0x18f)],_0x30abd8(0x18f),_0x3e73f0,_0x38490e);});_0x2c490d[_0x10c400(0x1d8)][_0x10c400(0x1d2)](_0x10c400(0x191),_0x10c400(0x18f),_0x10c400(0x1b8),_0x2c490d[_0x10c400(0x1d8)][_0x10c400(0x197)](_0x10c400(0x191),null,_0x10c400(0x1c0))),_0x2c490d[_0x10c400(0x1d8)][_0x10c400(0x1d2)](_0x10c400(0x191),_0x10c400(0x18f),_0x10c400(0x1c0),(_0x1aaf1f,_0x18f172)=>this[_0x10c400(0x196)](this[_0x10c400(0x18f)],_0x1aaf1f,_0x18f172)),_0x2c490d[_0x10c400(0x1d8)][_0x10c400(0x1d2)](_0x10c400(0x191),_0x10c400(0x18f),_0x10c400(0x1da),()=>!0x1);}if(this[_0x10c400(0x1cd)][_0x10c400(0x1a4)][_0x10c400(0x198)](_0x10c400(0x1b3))){for(const _0x312b01 of this[_0x10c400(0x1d1)])_0x2c490d[_0x10c400(0x1d3)](_0x312b01,(_0x175f73,_0xc66954)=>{const _0x49680c=_0x10c400,_0x34c593=this[_0x49680c(0x1cd)][_0x49680c(0x1a4)][_0x49680c(0x1dc)](_0x49680c(0x1ce))[_0x49680c(0x1a6)](this[_0x49680c(0x1cd)][_0x49680c(0x1b0)][_0x49680c(0x1b5)][_0x49680c(0x19c)]);this[_0x49680c(0x1cb)](_0x312b01,_0x34c593,this[_0x49680c(0x1d1)],_0x49680c(0x1d1),_0x175f73,_0xc66954);});_0x2c490d[_0x10c400(0x1d8)][_0x10c400(0x1d2)](_0x10c400(0x191),_0x10c400(0x1d1),_0x10c400(0x1b8),_0x2c490d[_0x10c400(0x1d8)][_0x10c400(0x197)](_0x10c400(0x191),null,_0x10c400(0x1c0))),_0x2c490d[_0x10c400(0x1d8)][_0x10c400(0x1d2)](_0x10c400(0x191),_0x10c400(0x1d1),_0x10c400(0x1c0),(_0x1b5e81,_0x162eea)=>this[_0x10c400(0x196)](this[_0x10c400(0x1d1)],_0x1b5e81,_0x162eea)),_0x2c490d[_0x10c400(0x1d8)][_0x10c400(0x1d2)](_0x10c400(0x191),_0x10c400(0x1d1),_0x10c400(0x1da),()=>!0x1);}_0x2c490d[_0x10c400(0x1aa)][_0x10c400(0x19e)](_0x1473f9=>this[_0x10c400(0x1b9)](_0x1473f9));}[_0x1a83f7(0x1cb)](_0x1420b0,_0x1cfcfc,_0x4f8e97,_0x45ad89,_0x2e4120,_0x65805b){const _0x12cf52=_0x1a83f7,_0x1cea73=this[_0x12cf52(0x1cd)][_0x12cf52(0x1a4)][_0x12cf52(0x1dc)](_0x12cf52(0x1ca));this[_0x12cf52(0x1cd)][_0x12cf52(0x1b0)][_0x12cf52(0x1cc)](_0x65805b[_0x12cf52(0x1db)],()=>{const _0x3d4699=_0x12cf52;for(const _0x19c23e of _0x1cfcfc){if(this[_0x3d4699(0x19b)](_0x19c23e,_0x45ad89))_0x2e4120(_0x65805b);else{const _0x46c3c5={};for(const _0x405a34 of _0x4f8e97){const _0x449e33=_0x19c23e[_0x3d4699(0x19d)](_0x405a34);void 0x0!==_0x449e33&&(_0x46c3c5[_0x405a34]=_0x449e33);}_0x2e4120(_0x65805b),_0x1cea73[_0x3d4699(0x1c9)](_0x19c23e,{'commandParams':[_0x46c3c5]},[],_0x45ad89);}}});}[_0x1a83f7(0x196)](_0x32fe56,_0x25cc56,_0x3819f0){const _0x1c0b99=_0x1a83f7,_0x3a3b76=_0x25cc56[0x0][_0x1c0b99(0x195)][_0x1c0b99(0x1a3)],_0x4e5ca9=_0x3819f0[_0x1c0b99(0x1d9)][0x0];this[_0x1c0b99(0x1cd)][_0x1c0b99(0x1b0)][_0x1c0b99(0x1d5)](_0x30cc82=>{const _0x3e540c=_0x1c0b99;for(const _0x25925e of _0x32fe56)void 0x0!==_0x4e5ca9[_0x25925e]?_0x30cc82[_0x3e540c(0x1c6)](_0x25925e,_0x4e5ca9[_0x25925e],_0x3a3b76):_0x30cc82[_0x3e540c(0x1a8)](_0x25925e,_0x3a3b76);});}[_0x1a83f7(0x1b9)](_0x42201c){const _0x293337=_0x1a83f7;if(_0x42201c[_0x293337(0x1d0)])switch(_0x42201c[_0x293337(0x1bc)]){case _0x293337(0x18f):return{'type':_0x293337(0x1bf),'content':_0x2514a2(this[_0x293337(0x1cd)][_0x293337(0x1cf)],_0x293337(0x1b6))};case _0x293337(0x1d1):return{'type':_0x293337(0x1bf),'content':_0x2514a2(this[_0x293337(0x1cd)][_0x293337(0x1cf)],_0x293337(0x1b4))};}}[_0x1a83f7(0x19b)](_0x45b046,_0x520f10){const _0x29a992=_0x1a83f7,_0x5f5dac=this[_0x29a992(0x1cd)][_0x29a992(0x1a4)][_0x29a992(0x1dc)](_0x29a992(0x1ca));for(const _0x2c3246 of _0x5f5dac[_0x29a992(0x1b7)]({'skipNotAttached':!0x0})){const _0x2f23bd=_0x2c3246[_0x29a992(0x1a5)]();if(_0x2c3246[_0x29a992(0x1bc)]===_0x520f10&&_0x2f23bd===_0x45b046)return _0x2c3246;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5031ca=_0x50e8;(function(_0x30d6a8,_0x335a5b){const _0x25dadb=_0x50e8,_0x149684=_0x30d6a8();while(!![]){try{const _0x2c9785=parseInt(_0x25dadb(0x10f))/0x1+parseInt(_0x25dadb(0x10e))/0x2*(parseInt(_0x25dadb(0x10b))/0x3)+parseInt(_0x25dadb(0x10d))/0x4*(parseInt(_0x25dadb(0x110))/0x5)+-parseInt(_0x25dadb(0x106))/0x6+parseInt(_0x25dadb(0x10c))/0x7*(-parseInt(_0x25dadb(0x112))/0x8)+parseInt(_0x25dadb(0x113))/0x9*(parseInt(_0x25dadb(0x107))/0xa)+-parseInt(_0x25dadb(0x116))/0xb;if(_0x2c9785===_0x335a5b)break;else _0x149684['push'](_0x149684['shift']());}catch(_0x38da3f){_0x149684['push'](_0x149684['shift']());}}}(_0x2a37,0xa9e88));import{Plugin as _0x1ba4e3}from'ckeditor5/src/core.js';function _0x2a37(){const _0x5d2b44=['has','get','enableCommand','7660092KSiISQ','16290lSqYEU','plugins','editor','Template','573JAtrnU','420onIJYO','3860XgLCsc','5276lndXxO','924775tEWqvs','4405EbozhY','afterInit','102832DzKpHA','5463EkfXIK','insertTemplate','TrackChangesEditing','5761085xXLkDk'];_0x2a37=function(){return _0x5d2b44;};return _0x2a37();}function _0x50e8(_0x16ed14,_0x5cdf00){const _0x2a37d2=_0x2a37();return _0x50e8=function(_0x50e8b2,_0x33addd){_0x50e8b2=_0x50e8b2-0x106;let _0x3275c6=_0x2a37d2[_0x50e8b2];return _0x3275c6;},_0x50e8(_0x16ed14,_0x5cdf00);}export default class Ct extends _0x1ba4e3{[_0x5031ca(0x111)](){const _0x5e8428=_0x5031ca,_0x101d52=this[_0x5e8428(0x109)];_0x101d52[_0x5e8428(0x108)][_0x5e8428(0x117)](_0x5e8428(0x10a))&&_0x101d52[_0x5e8428(0x108)][_0x5e8428(0x118)](_0x5e8428(0x115))[_0x5e8428(0x119)](_0x5e8428(0x114));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x637d(_0x2639cf,_0x5ae880){const _0x4a1bd1=_0x4a1b();return _0x637d=function(_0x637d04,_0x2eb291){_0x637d04=_0x637d04-0x8c;let _0x438857=_0x4a1bd1[_0x637d04];return _0x438857;},_0x637d(_0x2639cf,_0x5ae880);}const _0x427563=_0x637d;(function(_0x4480a7,_0x217183){const _0x2531fd=_0x637d,_0x139ac8=_0x4480a7();while(!![]){try{const _0x4428e0=parseInt(_0x2531fd(0x98))/0x1+-parseInt(_0x2531fd(0x99))/0x2*(parseInt(_0x2531fd(0xb2))/0x3)+parseInt(_0x2531fd(0xb4))/0x4*(-parseInt(_0x2531fd(0xb1))/0x5)+parseInt(_0x2531fd(0xa8))/0x6*(parseInt(_0x2531fd(0x9c))/0x7)+-parseInt(_0x2531fd(0xab))/0x8+parseInt(_0x2531fd(0x96))/0x9+parseInt(_0x2531fd(0x9f))/0xa;if(_0x4428e0===_0x217183)break;else _0x139ac8['push'](_0x139ac8['shift']());}catch(_0x373346){_0x139ac8['push'](_0x139ac8['shift']());}}}(_0x4a1b,0xddabf));import{Plugin as _0x241142}from'ckeditor5/src/core.js';import{getTranslation as _0x3b55fa}from'../utils/common-translations.js';export default class Dt extends _0x241142{[_0x427563(0xaf)](){const _0x2c3416=_0x427563,_0xe549c9=this[_0x2c3416(0x94)];if(!_0xe549c9[_0x2c3416(0xa3)][_0x2c3416(0x91)](_0x2c3416(0xac)))return;const _0x5f414e=_0xe549c9[_0x2c3416(0xa3)][_0x2c3416(0x8e)](_0x2c3416(0x9d));_0x5f414e[_0x2c3416(0x90)][_0x2c3416(0x8f)](_0x2c3416(0x9b),()=>_0x3b55fa(_0xe549c9[_0x2c3416(0xa9)],_0x2c3416(0xa4))),_0xe549c9[_0x2c3416(0x93)][_0x2c3416(0x97)][_0x2c3416(0xb0)](_0x39b5b6=>{const _0x2dfcb3=_0x2c3416;let _0x30b129=!0x1;const _0x2ccaf7=Array[_0x2dfcb3(0xa5)](_0xe549c9[_0x2dfcb3(0x93)][_0x2dfcb3(0x97)][_0x2dfcb3(0x9e)][_0x2dfcb3(0x92)]());for(const {name:_0x418643,data:_0x1c7b6b}of _0x2ccaf7){const {group:_0x38f468}=_0x5f414e[_0x2dfcb3(0xa0)](_0x418643);if(_0x2dfcb3(0x8d)!==_0x38f468||!_0x1c7b6b[_0x2dfcb3(0xa1)])continue;const _0x19ba27=_0x1c7b6b[_0x2dfcb3(0xa1)],_0xfddc6b=_0x19ba27[_0x2dfcb3(0xad)][_0x2dfcb3(0xb7)];if(!_0xfddc6b||!_0xfddc6b['is'](_0x2dfcb3(0xa2),_0x2dfcb3(0x9b)))continue;if(!_0x19ba27[_0x2dfcb3(0xae)][_0x2dfcb3(0xaa)](_0x19ba27[_0x2dfcb3(0xad)]))continue;const _0x400a28=_0xe549c9[_0x2dfcb3(0x93)][_0x2dfcb3(0xb6)][_0x2dfcb3(0xa6)](_0x19ba27[_0x2dfcb3(0xad)],_0x2dfcb3(0x8c));if(_0x400a28&&_0x400a28[_0x2dfcb3(0xb3)]){const _0x2ea67a=_0x39b5b6[_0x2dfcb3(0x95)](_0x19ba27[_0x2dfcb3(0xae)],_0x400a28[_0x2dfcb3(0xae)]);_0x2ea67a[_0x2dfcb3(0xb5)](_0x19ba27)||(_0x39b5b6[_0x2dfcb3(0x9a)](_0x418643,{'range':_0x2ea67a}),_0x30b129=!0x0);}_0x30b129||(_0x39b5b6[_0x2dfcb3(0xa7)](_0x418643),_0x30b129=!0x0);}return _0x30b129;});}}function _0x4a1b(){const _0x298442=['TrackChangesEditing','differ','683590EIDIXC','_splitMarkerName','newRange','element','plugins','ELEMENT_TITLE','from','getNearestSelectionRange','removeMarker','23718ncKwYI','locale','isTouching','686344DSjPes','Title','end','start','afterInit','registerPostFixer','5HzrYdl','30WBZeqU','isCollapsed','1836372PEuYDn','isEqual','schema','nodeBefore','forward','suggestion','get','registerElementLabel','descriptionFactory','has','getChangedMarkers','model','editor','createRange','9286227boLmvj','document','1115642vuAaHb','281458OdYMwn','updateMarker','title-content','1141qjFHqJ'];_0x4a1b=function(){return _0x298442;};return _0x4a1b();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xb7e1(_0x41e4e8,_0x3040c3){const _0x5153e5=_0x5153();return _0xb7e1=function(_0xb7e1dc,_0x33f2d9){_0xb7e1dc=_0xb7e1dc-0x9a;let _0x43413b=_0x5153e5[_0xb7e1dc];return _0x43413b;},_0xb7e1(_0x41e4e8,_0x3040c3);}const _0x2de897=_0xb7e1;(function(_0x2f0414,_0x5b81d3){const _0x172064=_0xb7e1,_0x291c04=_0x2f0414();while(!![]){try{const _0x14aefd=-parseInt(_0x172064(0xad))/0x1*(parseInt(_0x172064(0x9f))/0x2)+-parseInt(_0x172064(0xa8))/0x3*(-parseInt(_0x172064(0xa0))/0x4)+-parseInt(_0x172064(0xac))/0x5*(parseInt(_0x172064(0xa6))/0x6)+-parseInt(_0x172064(0xa5))/0x7*(-parseInt(_0x172064(0xae))/0x8)+-parseInt(_0x172064(0xa1))/0x9+-parseInt(_0x172064(0x9e))/0xa+parseInt(_0x172064(0x9b))/0xb;if(_0x14aefd===_0x5b81d3)break;else _0x291c04['push'](_0x291c04['shift']());}catch(_0x338d38){_0x291c04['push'](_0x291c04['shift']());}}}(_0x5153,0xd4faf));import{Plugin as _0xf8b9fd}from'ckeditor5/src/core.js';export default class Nt extends _0xf8b9fd{[_0x2de897(0xa4)](){const _0x46fa41=_0x2de897,_0x340d21=this[_0x46fa41(0xa3)],_0x5b2b07=_0x340d21[_0x46fa41(0xa2)][_0x46fa41(0x9d)](_0x46fa41(0xaa));_0x340d21[_0x46fa41(0xa2)][_0x46fa41(0xa9)](_0x46fa41(0xab))&&(_0x5b2b07[_0x46fa41(0xa7)](_0x46fa41(0x9a)),_0x5b2b07[_0x46fa41(0xa7)](_0x46fa41(0x9c)));}}function _0x5153(){const _0x3eb4f5=['get','10502370efyrjN','844hAOfQo','128804vXywtz','14445828lfFttL','plugins','editor','afterInit','7iurvHi','87894gqBaqW','enableCommand','66LQLrBd','has','TrackChangesEditing','UndoEditing','20lRDzQv','3589FHlrlf','929128WByJwC','undo','47039157pYKeEh','redo'];_0x5153=function(){return _0x3eb4f5;};return _0x5153();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x517655,_0x4b00ee){const _0x139c32=_0x1013,_0x484f82=_0x517655();while(!![]){try{const _0x40a548=parseInt(_0x139c32(0x11d))/0x1+-parseInt(_0x139c32(0x10b))/0x2*(parseInt(_0x139c32(0x131))/0x3)+parseInt(_0x139c32(0x119))/0x4+parseInt(_0x139c32(0x10c))/0x5*(parseInt(_0x139c32(0x12a))/0x6)+-parseInt(_0x139c32(0x127))/0x7+-parseInt(_0x139c32(0x110))/0x8+parseInt(_0x139c32(0x11b))/0x9;if(_0x40a548===_0x4b00ee)break;else _0x484f82['push'](_0x484f82['shift']());}catch(_0x50be49){_0x484f82['push'](_0x484f82['shift']());}}}(_0x2763,0xb0479));function _0x1013(_0x4715ae,_0x1f213f){const _0x276342=_0x2763();return _0x1013=function(_0x1013ec,_0x8a5f57){_0x1013ec=_0x1013ec-0x102;let _0x280d16=_0x276342[_0x1013ec];return _0x280d16;},_0x1013(_0x4715ae,_0x1f213f);}export function getRangesWithAttribute(_0x1e4c0c,_0x58f402,_0x5091e4){const _0x4c13db=_0x1013,_0x52acbe=[];for(const _0x17fd40 of _0x58f402[_0x4c13db(0x11c)]())_0x17fd40[_0x4c13db(0x11e)](_0x1e4c0c)&&_0x52acbe[_0x4c13db(0x113)](_0x5091e4[_0x4c13db(0x12d)](_0x17fd40));return _0x52acbe;}function _0x2763(){const _0x4c6185=['getItems','1064769lxnnUw','hasAttribute','mapper','nextSibling','includes','activeMarkers','item','isAtEnd','elementEnd','isContent','9229717HmwsId','ck-suggestion-marker--active','type','6YHDHqq','getWalker','insert','createRangeOn','isLimit','previousPosition','addHighlight','332079FlimiK','TrackChangesEditing','name','isBlock','toViewPosition','writer','markerRange','start','markerName','bindElementToMarker','model','test','26kUjyFL','2400085BBWhYA','getCustomProperty','get','consumable','6950888CljjOb','ck-suggestion-marker-','schema','push','plugins','parent','addClass','span','createUIElement','3902924XUVGDU','toViewElement','16451325WeWDKR'];_0x2763=function(){return _0x4c6185;};return _0x2763();}export function downcastSplitMergeMarker(_0x1893b0,_0x574a13,{showActiveMarker:_0x5ec9d6=!0x0}={}){const _0x15b8e5=_0x1013,_0x1c29f7=_0x1893b0[_0x15b8e5(0x114)][_0x15b8e5(0x10e)](_0x15b8e5(0x132));return(_0x2e1712,_0x3f9058,_0x4bcc48)=>{const _0x35787c=_0x15b8e5;if(!_0x4bcc48[_0x35787c(0x10f)][_0x35787c(0x10a)](_0x3f9058[_0x35787c(0x105)],_0x2e1712[_0x35787c(0x133)]))return;const _0x4a7148=_0x3f9058[_0x35787c(0x105)][_0x35787c(0x12b)](),_0x168f1b=_0x3f9058[_0x35787c(0x105)][_0x35787c(0x106)],_0xa439c8=_0x1893b0[_0x35787c(0x109)][_0x35787c(0x112)];let _0xeac827=null,_0x3369f5=null,_0x967aa4=!0x1,_0x437937=!0x1;for(const _0x56483b of _0x4a7148){const _0x5c09b0=_0x56483b[_0x35787c(0x123)];_0x967aa4=_0x967aa4||_0xa439c8[_0x35787c(0x126)](_0x5c09b0);const _0x173198=_0x4bcc48[_0x35787c(0x11f)][_0x35787c(0x11a)](_0x5c09b0);if(_0x173198&&_0x173198[_0x35787c(0x10d)](_0x35787c(0x130)))return;_0x35787c(0x125)==_0x56483b[_0x35787c(0x129)]&&(_0xa439c8[_0x35787c(0x102)](_0x5c09b0)&&!_0xa439c8[_0x35787c(0x12e)](_0x5c09b0)&&(_0x5c09b0[_0x35787c(0x120)]||_0x168f1b[_0x35787c(0x124)]?_0xeac827&&_0xeac827[_0x35787c(0x115)]==_0x5c09b0||(_0xeac827=_0x5c09b0,_0x39d339(_0x56483b[_0x35787c(0x12f)]),_0x437937=!0x0):_0x3369f5=_0x3369f5||_0x56483b[_0x35787c(0x12f)]));}function _0x39d339(_0x52cdf3){const _0x28ecb9=_0x35787c,_0x2dc603=_0x4bcc48[_0x28ecb9(0x104)][_0x28ecb9(0x118)](_0x28ecb9(0x117),{'class':_0x28ecb9(0x111)+_0x574a13}),_0x3f9ed4=_0x4bcc48[_0x28ecb9(0x11f)][_0x28ecb9(0x103)](_0x52cdf3);_0x5ec9d6&&_0x1c29f7[_0x28ecb9(0x122)][_0x28ecb9(0x121)](_0x3f9058[_0x28ecb9(0x107)])&&_0x4bcc48[_0x28ecb9(0x104)][_0x28ecb9(0x116)](_0x28ecb9(0x128),_0x2dc603),_0x4bcc48[_0x28ecb9(0x104)][_0x28ecb9(0x12c)](_0x3f9ed4,_0x2dc603),_0x4bcc48[_0x28ecb9(0x11f)][_0x28ecb9(0x108)](_0x2dc603,_0x3f9058[_0x28ecb9(0x107)]);}_0x967aa4||_0x437937||!_0x3369f5||_0x39d339(_0x3369f5);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0xa1d7(_0x1a58e,_0x43d1f1){const _0x1231b6=_0x1231();return _0xa1d7=function(_0xa1d78d,_0x5614ed){_0xa1d78d=_0xa1d78d-0x107;let _0xb24b80=_0x1231b6[_0xa1d78d];return _0xb24b80;},_0xa1d7(_0x1a58e,_0x43d1f1);}const _0x52cf97=_0xa1d7;(function(_0x326d2c,_0x201d15){const _0x2d523b=_0xa1d7,_0xb14b5f=_0x326d2c();while(!![]){try{const _0x54df97=-parseInt(_0x2d523b(0x10a))/0x1*(-parseInt(_0x2d523b(0x152))/0x2)+-parseInt(_0x2d523b(0x138))/0x3*(-parseInt(_0x2d523b(0x147))/0x4)+-parseInt(_0x2d523b(0x132))/0x5+parseInt(_0x2d523b(0x110))/0x6*(parseInt(_0x2d523b(0x135))/0x7)+parseInt(_0x2d523b(0x149))/0x8*(parseInt(_0x2d523b(0x111))/0x9)+-parseInt(_0x2d523b(0x113))/0xa*(-parseInt(_0x2d523b(0x11e))/0xb)+-parseInt(_0x2d523b(0x14e))/0xc;if(_0x54df97===_0x201d15)break;else _0xb14b5f['push'](_0xb14b5f['shift']());}catch(_0x4e17df){_0xb14b5f['push'](_0xb14b5f['shift']());}}}(_0x1231,0xebf94));import{Element as _0x199dce}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x5c7e1f,uid as _0x209ac1}from'ckeditor5/src/utils.js';import{cloneDeep as _0x3dce62,isEqual as _0x247897,set as _0x322881,unset as _0x4a73f3}from'lodash-es';function _0x1231(){const _0x26b340=['getMarkerNames','data','getMultiRangeId','onAccept','split','_onAttributesChange','push','getAllAdjacentSuggestions','next','setAttribute','24ZlWNVZ','getItems','1259992iTUfle','_isDataLoaded','nodeBefore','end','discard','44363748WnAaDl','isMultiRange','decorate','isExternal','776sZZcpA','getFirstMarker','add','getRange','addMarkerName','author','_onDiscard','type','subType','removeMarkers','removeMarker','4759krkGMn','creator','onAttributesChange','get','clear','@external','198516TgszHx','63pzYcur','createdAt','130rWvIZb','map','isIntersecting','addMarker','toJSON','filter','head','onDiscard','_model','_saved','authoredAt','121319CUVuaa','_onAccept','hasComments','length','set','removeAttribute','delete','previous','substr','suggestion:','markers','change','getContainedElement','isIntersectingWithRange','start','attributes','from','nodeAfter','getMarkers','getFirstRange','4525645wcgwjm','isInContent','getRanges','182ZoOExU','reduce','_markerNames','808029umEmOD','addRange','size','commentThread','accept'];_0x1231=function(){return _0x26b340;};return _0x1231();}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5c7e1f(){constructor(_0x38e04b,_0x18e3b8){const _0x46bebf=_0xa1d7;super(),this[_0x46bebf(0x14a)]=!0x1,this['id']=_0x18e3b8['id'],this[_0x46bebf(0x159)]=_0x18e3b8[_0x46bebf(0x159)],this[_0x46bebf(0x107)]=_0x18e3b8[_0x46bebf(0x107)]||null,this[_0x46bebf(0x157)]=_0x18e3b8[_0x46bebf(0x157)],this[_0x46bebf(0x10b)]=_0x18e3b8[_0x46bebf(0x10b)]||_0x18e3b8[_0x46bebf(0x157)],this[_0x46bebf(0x151)]=Boolean(_0x18e3b8[_0x46bebf(0x12d)]&&_0x18e3b8[_0x46bebf(0x12d)][_0x46bebf(0x10f)]),this[_0x46bebf(0x13e)]=null,this[_0x46bebf(0x11b)]=_0x38e04b,this[_0x46bebf(0x11f)]=_0x18e3b8[_0x46bebf(0x140)],this[_0x46bebf(0x158)]=_0x18e3b8[_0x46bebf(0x11a)],this[_0x46bebf(0x142)]=_0x18e3b8[_0x46bebf(0x10c)],this[_0x46bebf(0x137)]=new Set(),this[_0x46bebf(0x112)]=null,this[_0x46bebf(0x122)](_0x46bebf(0x11d),null),this[_0x46bebf(0x122)](_0x46bebf(0x12d),_0x18e3b8[_0x46bebf(0x12d)]||{}),this[_0x46bebf(0x122)](_0x46bebf(0x125),null),this[_0x46bebf(0x122)](_0x46bebf(0x145),null),this[_0x46bebf(0x122)](_0x46bebf(0x13b),null),this[_0x46bebf(0x122)](_0x46bebf(0x11c),!0x1),this[_0x46bebf(0x150)](_0x46bebf(0x13c)),this[_0x46bebf(0x150)](_0x46bebf(0x14d));}get[_0x52cf97(0x119)](){const _0x5ef3cb=_0x52cf97;let _0x36ea37=this;for(;_0x36ea37[_0x5ef3cb(0x125)];)_0x36ea37=_0x36ea37[_0x5ef3cb(0x125)];return _0x36ea37;}get[_0x52cf97(0x120)](){const _0x2b01ec=_0x52cf97;return!!this[_0x2b01ec(0x13b)]&&this[_0x2b01ec(0x13b)][_0x2b01ec(0x121)]>0x0;}get[_0x52cf97(0x14f)](){const _0x5ccca6=_0x52cf97;if(0x0==this[_0x5ccca6(0x137)][_0x5ccca6(0x13a)])return!0x1;return 0x6==Array[_0x5ccca6(0x12e)](this[_0x5ccca6(0x137)])[0x0][_0x5ccca6(0x141)](':')[_0x5ccca6(0x121)];}get[_0x52cf97(0x133)](){const _0x3265da=_0x52cf97;return null!==this[_0x3265da(0x153)]();}[_0x52cf97(0x156)](_0x22c117){const _0xd1348d=_0x52cf97;this[_0xd1348d(0x137)][_0xd1348d(0x154)](_0x22c117);}[_0x52cf97(0x13d)](){const _0x19c0b9=_0x52cf97;return Array[_0x19c0b9(0x12e)](this[_0x19c0b9(0x137)]);}[_0x52cf97(0x130)](){const _0x1f5b31=_0x52cf97;return this[_0x1f5b31(0x13d)]()[_0x1f5b31(0x114)](_0x1926eb=>this[_0x1f5b31(0x11b)][_0x1f5b31(0x128)][_0x1f5b31(0x10d)](_0x1926eb))[_0x1f5b31(0x118)](_0x5248be=>_0x5248be);}[_0x52cf97(0x153)](){const _0x829516=_0x52cf97;return this[_0x829516(0x130)]()[0x0]||null;}[_0x52cf97(0x108)](){const _0x4d9a06=_0x52cf97;this[_0x4d9a06(0x11b)][_0x4d9a06(0x129)](_0x548cf1=>{const _0x244f13=_0x4d9a06;for(const _0x19d176 of this[_0x244f13(0x130)]())_0x548cf1[_0x244f13(0x109)](_0x19d176);}),this[_0x4d9a06(0x137)][_0x4d9a06(0x10e)]();}[_0x52cf97(0x109)](_0x41f525){const _0x3a302f=_0x52cf97;this[_0x3a302f(0x11b)][_0x3a302f(0x129)](_0x4ba324=>{const _0x17f080=_0x3a302f;_0x4ba324[_0x17f080(0x109)](_0x41f525);}),this[_0x3a302f(0x137)][_0x3a302f(0x124)](_0x41f525);}[_0x52cf97(0x139)](_0x6b4148){const _0x2d456d=_0x52cf97,_0x1b688d=_0x2d456d(0x127)+this[_0x2d456d(0x159)]+':'+this[_0x2d456d(0x107)]+':'+this['id']+':'+this[_0x2d456d(0x10b)]['id']+':'+u[_0x2d456d(0x13f)]();this[_0x2d456d(0x156)](_0x1b688d),this[_0x2d456d(0x11b)][_0x2d456d(0x129)](_0x25b281=>{const _0x168029=_0x2d456d;_0x25b281[_0x168029(0x116)](_0x1b688d,{'range':_0x6b4148,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x52cf97(0x12b)](_0x58e9d5){const _0x5066be=_0x52cf97;for(const _0x18c78c of this[_0x5066be(0x134)]())if(_0x18c78c[_0x5066be(0x115)](_0x58e9d5))return!0x0;return!0x1;}[_0x52cf97(0x134)](){const _0x42b5b5=_0x52cf97;return this[_0x42b5b5(0x130)]()[_0x42b5b5(0x114)](_0x4b4b24=>_0x4b4b24[_0x42b5b5(0x155)]());}[_0x52cf97(0x148)](){const _0x2aaf57=_0x52cf97;return this[_0x2aaf57(0x134)]()[_0x2aaf57(0x136)]((_0x3f594b,_0x330d3d)=>[..._0x3f594b,..._0x330d3d[_0x2aaf57(0x148)]()],[]);}[_0x52cf97(0x131)](){const _0x5208f3=_0x52cf97;var _0x5f5526;return(null===(_0x5f5526=this[_0x5208f3(0x153)]())||void 0x0===_0x5f5526?void 0x0:_0x5f5526[_0x5208f3(0x155)]())||null;}[_0x52cf97(0x12a)](){const _0x1eeac4=_0x52cf97,_0x52800a=this[_0x1eeac4(0x134)]();if(0x1!=_0x52800a[_0x1eeac4(0x121)])return null;const _0x3e990f=_0x52800a[0x0],_0x12417a=_0x3e990f[_0x1eeac4(0x12c)][_0x1eeac4(0x12f)],_0x18846b=_0x3e990f[_0x1eeac4(0x14c)][_0x1eeac4(0x14b)];return _0x12417a instanceof _0x199dce?_0x12417a!=_0x18846b?null:_0x12417a:null;}[_0x52cf97(0x13c)](){const _0x298d29=_0x52cf97;this[_0x298d29(0x11f)](this[_0x298d29(0x134)](),this[_0x298d29(0x13e)],this[_0x298d29(0x12d)]),this[_0x298d29(0x108)]();}[_0x52cf97(0x14d)](){const _0x577634=_0x52cf97;this[_0x577634(0x158)](this[_0x577634(0x134)](),this[_0x577634(0x13e)],this[_0x577634(0x12d)]),this[_0x577634(0x108)]();}[_0x52cf97(0x144)](){const _0x418574=_0x52cf97,_0x1ae0da=[];let _0x2d6476=this[_0x418574(0x119)];for(;_0x2d6476;)_0x1ae0da[_0x418574(0x143)](_0x2d6476),_0x2d6476=_0x2d6476[_0x418574(0x145)];return _0x1ae0da;}[_0x52cf97(0x146)](_0x4089e9,_0x156549){const _0x3ee38f=_0x52cf97,_0x2ebbc4=_0x3dce62(this[_0x3ee38f(0x12d)]);_0x322881(_0x2ebbc4,_0x4089e9,_0x156549),_0x247897(_0x2ebbc4,this[_0x3ee38f(0x12d)])||(this[_0x3ee38f(0x12d)]=_0x2ebbc4,this[_0x3ee38f(0x142)](_0x2ebbc4));}[_0x52cf97(0x123)](_0x5c0a88){const _0x496e85=_0x52cf97,_0xffa164=_0x3dce62(this[_0x496e85(0x12d)]);_0x4a73f3(_0xffa164,_0x5c0a88),_0x247897(_0xffa164,this[_0x496e85(0x12d)])||(this[_0x496e85(0x12d)]=_0xffa164,this[_0x496e85(0x142)](this[_0x496e85(0x12d)]));}[_0x52cf97(0x117)](){const _0x2ba730=_0x52cf97;return{'id':this['id'],'type':this[_0x2ba730(0x107)]?this[_0x2ba730(0x159)]+':'+this[_0x2ba730(0x107)]:this[_0x2ba730(0x159)],'authorId':this[_0x2ba730(0x10b)]['id'],'createdAt':this[_0x2ba730(0x112)],'hasComments':this[_0x2ba730(0x120)],'data':this[_0x2ba730(0x13e)],'attributes':this[_0x2ba730(0x12d)]};}static[_0x52cf97(0x13f)](){const _0xaaa3da=_0x52cf97;return _0x209ac1()[_0xaaa3da(0x126)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2955e4=_0x44d8;function _0x44d8(_0x54baa3,_0xdf7e62){const _0x24cc9d=_0x24cc();return _0x44d8=function(_0x44d8a0,_0x2280ef){_0x44d8a0=_0x44d8a0-0x1e1;let _0x23b694=_0x24cc9d[_0x44d8a0];return _0x23b694;},_0x44d8(_0x54baa3,_0xdf7e62);}(function(_0x52c7df,_0x212224){const _0x5dc70b=_0x44d8,_0x2dac23=_0x52c7df();while(!![]){try{const _0x477a6a=parseInt(_0x5dc70b(0x21f))/0x1+-parseInt(_0x5dc70b(0x21c))/0x2+parseInt(_0x5dc70b(0x209))/0x3+-parseInt(_0x5dc70b(0x20f))/0x4+-parseInt(_0x5dc70b(0x235))/0x5*(parseInt(_0x5dc70b(0x22b))/0x6)+-parseInt(_0x5dc70b(0x1e7))/0x7*(-parseInt(_0x5dc70b(0x218))/0x8)+parseInt(_0x5dc70b(0x220))/0x9;if(_0x477a6a===_0x212224)break;else _0x2dac23['push'](_0x2dac23['shift']());}catch(_0xe8550b){_0x2dac23['push'](_0x2dac23['shift']());}}}(_0x24cc,0xb992c));function _0x24cc(){const _0x3f6c0a=['start','normal','getFirstRange','1071764CTTtMj','add','match','removeFormat','_handleRenameSuggestionDescription','*Remove:*\x20%0','indexOf','subType','elementStart','88kHdTKR','softBreak','*Remove\x20format:*\x20%0','_addDescriptionItems','830714mSLLRO','registerAttributeLabel','$textProxy','1088410pJhqlT','8198595SDiTGl','previousSibling','map','isInContent','addObject','remove','join','nodeAfter','EmptyContainer','registerElementLabel','set','17154vOxeze','_handleAttributeSuggestionDescription','isEmpty','push','label','checkChild','$1\x20$2','attribute','key','getWalker','2495BgXHuw','removeEmptyContainer','ELEMENT_SPACE','skip','deletion','_attributeLabels','insertion','registerDescriptionCallback','isEqual','format','name','elementEnd','Object','nextSibling','removeContainer','data','_schema','Container','91WNmIkO','end','get','isObject','matchingCallback','function','_locale','_itemLabelsCallbacks','getDescriptions','length','_handleInsertRemoveSuggestionDescription','*Insert:*\x20%0','addContainer','type','removeObject','_customCallbacks','_resolveDescriptionItems','text','*Merge:*\x20%0','item','has','newValue','*Set\x20format:*\x20%0','element','addEmptyContainer','REPLACE_TEXT','$text','pop','replace','*Split:*\x20%0','quantity','getItemLabel','_handleCustomCallbackDescription','addFormat','2611617ogSQxA','*Change\x20to:*\x20%0','_itemLabels'];_0x24cc=function(){return _0x3f6c0a;};return _0x24cc();}import{getTranslation as _0x5509a5}from'./utils/common-translations.js';import{priorities as _0x3438b8,insertToPriorityArray as _0x54a3b1}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x22bab7}from'./trackchangesediting.js';export default class f{constructor(_0x7adfa6,_0x595c3a){const _0x2d9994=_0x44d8;this[_0x2d9994(0x1f6)]=[],this[_0x2d9994(0x20b)]=new Map(),this[_0x2d9994(0x1ee)]=[],this[_0x2d9994(0x23a)]=new Map(),this[_0x2d9994(0x1e5)]=_0x7adfa6,this[_0x2d9994(0x1ed)]=_0x595c3a;}[_0x2955e4(0x1ef)](_0xfb93ed){const _0x52b711=_0x2955e4,_0x3f3188=[],_0x5deb3e=new Set(),_0x193229=new Set();for(let _0x4848b3=0x0;_0x4848b3<_0xfb93ed[_0x52b711(0x1f0)];_0x4848b3++){const _0x2446ba=_0xfb93ed[_0x4848b3];if(!_0x2446ba[_0x52b711(0x223)])continue;const _0x3bfcae=this[_0x52b711(0x207)](_0x2446ba);if(_0x3bfcae){if(null!=_0x2446ba[_0x52b711(0x216)]){if(_0x5deb3e[_0x52b711(0x1fb)](_0x2446ba[_0x52b711(0x216)]))continue;_0x5deb3e[_0x52b711(0x210)](_0x2446ba[_0x52b711(0x216)]);}_0x3f3188[_0x52b711(0x22e)](_0x3bfcae);}else{if(_0x52b711(0x232)!=_0x2446ba[_0x52b711(0x1f4)])_0x52b711(0x23b)!=_0x2446ba[_0x52b711(0x1f4)]&&_0x52b711(0x239)!=_0x2446ba[_0x52b711(0x1f4)]||this[_0x52b711(0x1f1)](_0x3f3188,_0x2446ba,_0xfb93ed[_0x4848b3+0x1]);else{const _0x1cc97f=_0x2446ba[_0x52b711(0x1e4)][_0x52b711(0x233)];if(_0x193229[_0x52b711(0x1fb)](_0x1cc97f))continue;_0x193229[_0x52b711(0x210)](_0x2446ba[_0x52b711(0x1e4)][_0x52b711(0x233)]),_0x1cc97f==_0x22bab7?this[_0x52b711(0x213)](_0x3f3188,_0x2446ba):this[_0x52b711(0x22c)](_0x3f3188,_0x2446ba);}}}return this[_0x52b711(0x1f7)](_0x3f3188);}[_0x2955e4(0x23c)](_0x218b45){const _0x473744=_0x2955e4;this[_0x473744(0x1f6)][_0x473744(0x22e)](_0x218b45);}[_0x2955e4(0x229)](_0x5b9eda,_0x2262e8,_0x156673=_0x3438b8[_0x2955e4(0x20d)]){const _0x36e234=_0x2955e4;_0x36e234(0x1ec)==typeof _0x5b9eda?_0x54a3b1(this[_0x36e234(0x1ee)],{'matchingCallback':_0x5b9eda,'label':_0x2262e8,'priority':_0x156673}):this[_0x36e234(0x20b)][_0x36e234(0x22a)](_0x5b9eda,_0x2262e8);}[_0x2955e4(0x21d)](_0x254b69,_0x351290){const _0x2cf88c=_0x2955e4;this[_0x2cf88c(0x23a)][_0x2cf88c(0x22a)](_0x254b69,_0x351290);}[_0x2955e4(0x206)](_0xab467d,_0x2c056f=0x1){const _0x33b94c=_0x2955e4;let _0x22843f;for(const _0x50ef9b of this[_0x33b94c(0x1ee)])if(_0x50ef9b[_0x33b94c(0x1eb)](_0xab467d)){_0x22843f=_0x50ef9b[_0x33b94c(0x22f)];break;}return _0x22843f||(_0x22843f=this[_0x33b94c(0x20b)][_0x33b94c(0x1e9)](_0xab467d[_0x33b94c(0x23f)])),_0x22843f?_0x22843f(_0x2c056f):0x1!==_0x2c056f?_0x2c056f+'\x20'+_0xab467d[_0x33b94c(0x23f)]+'s':''+_0xab467d[_0x33b94c(0x23f)];}[_0x2955e4(0x21b)](_0x3b8e3d,_0x4ce9d5){const _0x4bdbb3=_0x2955e4,_0x422dd3=_0x4ce9d5[_0x4bdbb3(0x20e)]()[_0x4bdbb3(0x234)](),_0x23f94f=_0x4bdbb3(0x23b)==_0x4ce9d5[_0x4bdbb3(0x1f4)]?_0x4bdbb3(0x210):_0x4bdbb3(0x225);for(const _0x12e369 of _0x422dd3){const _0x2b492a=_0x12e369[_0x4bdbb3(0x1fa)],_0x479d17=_0x3b8e3d[_0x3b8e3d[_0x4bdbb3(0x1f0)]-0x1];if(_0x2b492a['is'](_0x4bdbb3(0x21e)))_0x479d17&&_0x479d17[_0x4bdbb3(0x1f4)][_0x4bdbb3(0x215)](_0x4bdbb3(0x1e6))>-0x1&&_0x3b8e3d[_0x4bdbb3(0x202)](),_0x479d17&&_0x4bdbb3(0x1f8)==_0x479d17[_0x4bdbb3(0x1f4)]?_0x479d17[_0x23f94f]+=_0x2b492a[_0x4bdbb3(0x1e4)]:_0x3b8e3d[_0x4bdbb3(0x22e)]({'type':_0x4bdbb3(0x1f8),'add':_0x4bdbb3(0x210)==_0x23f94f?_0x2b492a[_0x4bdbb3(0x1e4)]:'','remove':_0x4bdbb3(0x225)==_0x23f94f?_0x2b492a[_0x4bdbb3(0x1e4)]:''});else{if(this[_0x4bdbb3(0x1e5)][_0x4bdbb3(0x1ea)](_0x2b492a)){const _0xbf8baf=_0x2b492a;if(_0x479d17&&_0x479d17[_0x4bdbb3(0x1f4)][_0x4bdbb3(0x215)](_0x4bdbb3(0x1e6))>-0x1&&_0x3b8e3d[_0x4bdbb3(0x202)](),_0x4bdbb3(0x240)==_0x12e369[_0x4bdbb3(0x1f4)])continue;_0x479d17&&_0x479d17[_0x4bdbb3(0x1f4)]==_0x23f94f+_0x4bdbb3(0x1e1)&&_0x479d17[_0x4bdbb3(0x1fe)][_0x4bdbb3(0x23f)]==_0xbf8baf[_0x4bdbb3(0x23f)]?_0x479d17[_0x4bdbb3(0x205)]++:_0x3b8e3d[_0x4bdbb3(0x22e)]({'type':_0x23f94f+_0x4bdbb3(0x1e1),'element':_0xbf8baf,'quantity':0x1}),_0x422dd3[_0x4bdbb3(0x238)](_0x3c7052=>!(_0x4bdbb3(0x240)==_0x3c7052[_0x4bdbb3(0x1f4)]&&_0x3c7052[_0x4bdbb3(0x1fa)]==_0x2b492a));}else{if(this[_0x4bdbb3(0x1e5)][_0x4bdbb3(0x230)](_0x2b492a,_0x4bdbb3(0x201))||_0x2b492a['is'](_0x4bdbb3(0x1fe),_0x4bdbb3(0x219))){const _0xb19d46=_0x2b492a;if(_0x4bdbb3(0x210)==_0x23f94f&&_0x4bdbb3(0x217)==_0x12e369[_0x4bdbb3(0x1f4)]||_0x4bdbb3(0x225)==_0x23f94f&&_0x4bdbb3(0x240)==_0x12e369[_0x4bdbb3(0x1f4)])continue;if(_0x479d17&&-0x1==_0x479d17[_0x4bdbb3(0x1f4)][_0x4bdbb3(0x215)](_0x4bdbb3(0x1e6))){_0x4bdbb3(0x1f8)==_0x479d17[_0x4bdbb3(0x1f4)]&&(_0x479d17[_0x23f94f]+='\x0a');continue;}let _0x4cb7fb;if(_0x4cb7fb=_0x4bdbb3(0x210)==_0x23f94f?_0xb19d46[_0x4bdbb3(0x1e2)]&&!this[_0x4bdbb3(0x1e5)][_0x4bdbb3(0x1ea)](_0xb19d46[_0x4bdbb3(0x1e2)])?_0xb19d46[_0x4bdbb3(0x1e2)]:null:_0xb19d46[_0x4bdbb3(0x221)]&&!this[_0x4bdbb3(0x1e5)][_0x4bdbb3(0x1ea)](_0xb19d46[_0x4bdbb3(0x221)])?_0xb19d46[_0x4bdbb3(0x221)]:null,_0xb19d46[_0x4bdbb3(0x22d)]||_0x4cb7fb&&_0x4cb7fb[_0x4bdbb3(0x22d)]){const _0x1b0b76=_0x4cb7fb&&_0x4cb7fb[_0x4bdbb3(0x22d)]?_0x4cb7fb:_0xb19d46;_0x479d17&&_0x479d17[_0x4bdbb3(0x1f4)]==_0x23f94f+_0x4bdbb3(0x228)&&_0x479d17[_0x4bdbb3(0x1fe)][_0x4bdbb3(0x23f)]==_0x1b0b76[_0x4bdbb3(0x23f)]?_0x479d17[_0x4bdbb3(0x205)]++:_0x3b8e3d[_0x4bdbb3(0x22e)]({'type':_0x23f94f+_0x4bdbb3(0x228),'element':_0x1b0b76,'quantity':0x1});}else _0x3b8e3d[_0x4bdbb3(0x22e)]({'type':_0x23f94f+_0x4bdbb3(0x1e6),'element':_0xb19d46});}}}}}[_0x2955e4(0x1f7)](_0x4be333){const _0x4ccbf7=_0x2955e4,_0x54c006=this[_0x4ccbf7(0x1ed)],_0x7470d9=[],_0x524ca0=[],_0x566a3b=[];for(const _0x4f8755 of _0x4be333)switch(_0x4f8755[_0x4ccbf7(0x1f4)]){case _0x4ccbf7(0x1f8):if(_0x4f8755[_0x4ccbf7(0x210)]=_0x4f8755[_0x4ccbf7(0x210)][_0x4ccbf7(0x203)](/(\S)\u000A+(\S)/g,_0x4ccbf7(0x231))[_0x4ccbf7(0x203)](/\u000A/g,''),_0x4f8755[_0x4ccbf7(0x225)]=_0x4f8755[_0x4ccbf7(0x225)][_0x4ccbf7(0x203)](/(\S)\u000A+(\S)/g,_0x4ccbf7(0x231))[_0x4ccbf7(0x203)](/\u000A/g,''),''!=_0x4f8755[_0x4ccbf7(0x210)]&&''!=_0x4f8755[_0x4ccbf7(0x225)]){_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x203),'content':_0x5509a5(_0x54c006,_0x4ccbf7(0x200),['\x22'+_0x4f8755[_0x4ccbf7(0x225)]+'\x22','\x22'+_0x4f8755[_0x4ccbf7(0x210)]+'\x22'])});continue;}if(null!=_0x4f8755[_0x4ccbf7(0x210)][_0x4ccbf7(0x211)](/^ +$/)){_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x23b),'content':_0x5509a5(_0x54c006,_0x4ccbf7(0x1f2),_0x5509a5(_0x54c006,_0x4ccbf7(0x237),_0x4f8755[_0x4ccbf7(0x210)][_0x4ccbf7(0x1f0)]))});continue;}if(null!=_0x4f8755[_0x4ccbf7(0x225)][_0x4ccbf7(0x211)](/^ +$/)){_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x239),'content':_0x5509a5(_0x54c006,_0x4ccbf7(0x214),_0x5509a5(_0x54c006,_0x4ccbf7(0x237),_0x4f8755[_0x4ccbf7(0x225)][_0x4ccbf7(0x1f0)]))});continue;}if(''!=_0x4f8755[_0x4ccbf7(0x210)]){_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x23b),'content':_0x5509a5(_0x54c006,_0x4ccbf7(0x1f2),'\x22'+_0x4f8755[_0x4ccbf7(0x210)]+'\x22')});continue;}_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x239),'content':_0x5509a5(_0x54c006,_0x4ccbf7(0x214),'\x22'+_0x4f8755[_0x4ccbf7(0x225)]+'\x22')});continue;case _0x4ccbf7(0x1ff):case _0x4ccbf7(0x224):_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x23b),'content':_0x5509a5(_0x54c006,_0x4ccbf7(0x1f2),this[_0x4ccbf7(0x206)](_0x4f8755[_0x4ccbf7(0x1fe)],_0x4f8755[_0x4ccbf7(0x205)]))});continue;case _0x4ccbf7(0x236):case _0x4ccbf7(0x1f5):_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x239),'content':_0x5509a5(_0x54c006,_0x4ccbf7(0x214),this[_0x4ccbf7(0x206)](_0x4f8755[_0x4ccbf7(0x1fe)],_0x4f8755[_0x4ccbf7(0x205)]))});continue;case _0x4ccbf7(0x1f3):_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x23b),'content':_0x5509a5(_0x54c006,_0x4ccbf7(0x204),this[_0x4ccbf7(0x206)](_0x4f8755[_0x4ccbf7(0x1fe)],_0x4f8755[_0x4ccbf7(0x205)]))});continue;case _0x4ccbf7(0x1e3):_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x239),'content':_0x5509a5(_0x54c006,_0x4ccbf7(0x1f9),this[_0x4ccbf7(0x206)](_0x4f8755[_0x4ccbf7(0x1fe)],_0x4f8755[_0x4ccbf7(0x205)]))});continue;case _0x4ccbf7(0x208):_0x524ca0[_0x4ccbf7(0x22e)](_0x4f8755[_0x4ccbf7(0x233)]);continue;case _0x4ccbf7(0x212):_0x566a3b[_0x4ccbf7(0x22e)](_0x4f8755[_0x4ccbf7(0x233)]);continue;default:_0x7470d9[_0x4ccbf7(0x22e)](_0x4f8755);}if(_0x524ca0[_0x4ccbf7(0x1f0)]){const _0x445a51=_0x524ca0[_0x4ccbf7(0x222)](_0x5e1dd4=>this[_0x4ccbf7(0x23a)][_0x4ccbf7(0x1fb)](_0x5e1dd4)?this[_0x4ccbf7(0x23a)][_0x4ccbf7(0x1e9)](_0x5e1dd4):_0x5e1dd4)[_0x4ccbf7(0x226)](',\x20');_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x23e),'content':_0x5509a5(this[_0x4ccbf7(0x1ed)],_0x4ccbf7(0x1fd),_0x445a51)});}if(_0x566a3b[_0x4ccbf7(0x1f0)]){const _0x180e55=_0x566a3b[_0x4ccbf7(0x222)](_0x3a6155=>this[_0x4ccbf7(0x23a)][_0x4ccbf7(0x1fb)](_0x3a6155)?this[_0x4ccbf7(0x23a)][_0x4ccbf7(0x1e9)](_0x3a6155):_0x3a6155)[_0x4ccbf7(0x226)](',\x20');_0x7470d9[_0x4ccbf7(0x22e)]({'type':_0x4ccbf7(0x23e),'content':_0x5509a5(this[_0x4ccbf7(0x1ed)],_0x4ccbf7(0x21a),_0x180e55)});}return _0x7470d9;}[_0x2955e4(0x207)](_0xb69c9){const _0x3e6629=_0x2955e4;for(const _0xcc24c6 of this[_0x3e6629(0x1f6)]){const _0x2354e9=_0xcc24c6(_0xb69c9);if(_0x2354e9&&_0x3e6629(0x1f4)in _0x2354e9)return _0x2354e9;}}[_0x2955e4(0x22c)](_0x37ac4f,_0xc00755){const _0x1059fc=_0x2955e4,_0xe1bc3=_0xc00755[_0x1059fc(0x1e4)],_0x447b90=void 0x0===_0xe1bc3[_0x1059fc(0x1fc)]?_0x1059fc(0x212):_0x1059fc(0x208);_0x37ac4f[_0x1059fc(0x22e)]({'type':_0x447b90,'key':_0xe1bc3[_0x1059fc(0x233)]});}[_0x2955e4(0x213)](_0x291059,_0x383dfa){const _0x105e31=_0x2955e4;_0x291059[_0x105e31(0x22e)]({'type':_0x105e31(0x23e),'content':_0x5509a5(this[_0x105e31(0x1ed)],_0x105e31(0x20a),this[_0x105e31(0x206)](_0x383dfa[_0x105e31(0x20e)]()[_0x105e31(0x20c)][_0x105e31(0x227)],0x1))});}[_0x2955e4(0x1f1)](_0xbf2e87,_0x1f50c8,_0x4bb559){const _0xc1bca7=_0x2955e4;if(this[_0xc1bca7(0x21b)](_0xbf2e87,_0x1f50c8),_0x4bb559&&_0x4bb559[_0xc1bca7(0x20e)]()&&!_0x1f50c8[_0xc1bca7(0x20e)]()[_0xc1bca7(0x1e8)][_0xc1bca7(0x23d)](_0x4bb559[_0xc1bca7(0x20e)]()[_0xc1bca7(0x20c)])){const _0x4693ab=_0xbf2e87[_0xbf2e87[_0xc1bca7(0x1f0)]-0x1],_0x3462b0=_0xc1bca7(0x23b)==_0x1f50c8[_0xc1bca7(0x1f4)]?_0xc1bca7(0x210):_0xc1bca7(0x225);_0x4693ab&&_0xc1bca7(0x1f8)==_0x4693ab[_0xc1bca7(0x1f4)]&&(_0x4693ab[_0x3462b0]+='\x0a');}}}
|
|
23
|
+
const _0x5566e3=_0x42ce;(function(_0x55b8fc,_0x5bfd25){const _0x3f1432=_0x42ce,_0xb2a255=_0x55b8fc();while(!![]){try{const _0x19ab3a=parseInt(_0x3f1432(0x226))/0x1+-parseInt(_0x3f1432(0x241))/0x2+-parseInt(_0x3f1432(0x1f9))/0x3*(parseInt(_0x3f1432(0x22b))/0x4)+-parseInt(_0x3f1432(0x1ff))/0x5*(-parseInt(_0x3f1432(0x24d))/0x6)+parseInt(_0x3f1432(0x209))/0x7*(parseInt(_0x3f1432(0x1fb))/0x8)+-parseInt(_0x3f1432(0x201))/0x9*(-parseInt(_0x3f1432(0x232))/0xa)+-parseInt(_0x3f1432(0x225))/0xb;if(_0x19ab3a===_0x5bfd25)break;else _0xb2a255['push'](_0xb2a255['shift']());}catch(_0x344857){_0xb2a255['push'](_0xb2a255['shift']());}}}(_0x377d,0x9b417));import{getTranslation as _0x3eebef}from'./utils/common-translations.js';import{priorities as _0xb4a542,insertToPriorityArray as _0x2326be}from'ckeditor5/src/utils.js';function _0x42ce(_0x4a47fa,_0x27bb0c){const _0x377dec=_0x377d();return _0x42ce=function(_0x42ce16,_0x7d4c6a){_0x42ce16=_0x42ce16-0x1ed;let _0x41bf19=_0x377dec[_0x42ce16];return _0x41bf19;},_0x42ce(_0x4a47fa,_0x27bb0c);}import{renameAttributeKey as _0x177ba6}from'./trackchangesediting.js';export default class f{constructor(_0x1d3eb6,_0x2f2a6c){const _0x3b00a7=_0x42ce;this[_0x3b00a7(0x21a)]=[],this[_0x3b00a7(0x22d)]=new Map(),this[_0x3b00a7(0x22e)]=[],this[_0x3b00a7(0x237)]=new Map(),this[_0x3b00a7(0x22f)]=_0x1d3eb6,this[_0x3b00a7(0x233)]=_0x2f2a6c;}[_0x5566e3(0x20e)](_0x6c247a){const _0x4c826e=_0x5566e3,_0x240319=[],_0x30836a=new Set(),_0x55ebbc=new Set();for(let _0x270bc0=0x0;_0x270bc0<_0x6c247a[_0x4c826e(0x22a)];_0x270bc0++){const _0x54889a=_0x6c247a[_0x270bc0];if(!_0x54889a[_0x4c826e(0x23a)])continue;const _0x5f4a7a=this[_0x4c826e(0x243)](_0x54889a);if(_0x5f4a7a){if(null!=_0x54889a[_0x4c826e(0x200)]){if(_0x30836a[_0x4c826e(0x1ee)](_0x54889a[_0x4c826e(0x200)]))continue;_0x30836a[_0x4c826e(0x205)](_0x54889a[_0x4c826e(0x200)]);}_0x240319[_0x4c826e(0x218)](_0x5f4a7a);}else{if(_0x4c826e(0x245)!=_0x54889a[_0x4c826e(0x220)])_0x4c826e(0x240)!=_0x54889a[_0x4c826e(0x220)]&&_0x4c826e(0x235)!=_0x54889a[_0x4c826e(0x220)]||this[_0x4c826e(0x1f5)](_0x240319,_0x54889a,_0x6c247a[_0x270bc0+0x1]);else{const _0x514433=_0x54889a[_0x4c826e(0x20f)][_0x4c826e(0x230)];if(_0x55ebbc[_0x4c826e(0x1ee)](_0x514433))continue;_0x55ebbc[_0x4c826e(0x205)](_0x54889a[_0x4c826e(0x20f)][_0x4c826e(0x230)]),_0x514433==_0x177ba6?this[_0x4c826e(0x23e)](_0x240319,_0x54889a):this[_0x4c826e(0x246)](_0x240319,_0x54889a);}}}return this[_0x4c826e(0x203)](_0x240319);}[_0x5566e3(0x24a)](_0x46e242){const _0x2254f5=_0x5566e3;this[_0x2254f5(0x21a)][_0x2254f5(0x218)](_0x46e242);}[_0x5566e3(0x20a)](_0x29a4c8,_0x226c25,_0x4070e3=_0xb4a542[_0x5566e3(0x22c)]){const _0x3a3ef8=_0x5566e3;_0x3a3ef8(0x1f6)==typeof _0x29a4c8?_0x2326be(this[_0x3a3ef8(0x22e)],{'matchingCallback':_0x29a4c8,'label':_0x226c25,'priority':_0x4070e3}):this[_0x3a3ef8(0x22d)][_0x3a3ef8(0x206)](_0x29a4c8,_0x226c25);}[_0x5566e3(0x23d)](_0x1d433c,_0x153842){const _0x4724f4=_0x5566e3;this[_0x4724f4(0x237)][_0x4724f4(0x206)](_0x1d433c,_0x153842);}[_0x5566e3(0x248)](_0x3045bb,_0x3e58b6=0x1){const _0x1fb216=_0x5566e3;let _0x2fbf0a;for(const _0x3998b1 of this[_0x1fb216(0x22e)])if(_0x3998b1[_0x1fb216(0x214)](_0x3045bb)){_0x2fbf0a=_0x3998b1[_0x1fb216(0x217)];break;}return _0x2fbf0a||(_0x2fbf0a=this[_0x1fb216(0x22d)][_0x1fb216(0x24e)](_0x3045bb[_0x1fb216(0x20d)])),_0x2fbf0a?_0x2fbf0a(_0x3e58b6):0x1!==_0x3e58b6?_0x3e58b6+'\x20'+_0x3045bb[_0x1fb216(0x20d)]+'s':''+_0x3045bb[_0x1fb216(0x20d)];}[_0x5566e3(0x208)](_0x341300,_0x25a4fa){const _0x1ffc4d=_0x5566e3,_0x3f9351=_0x25a4fa[_0x1ffc4d(0x204)]()[_0x1ffc4d(0x227)](),_0x10c7e9=_0x1ffc4d(0x240)==_0x25a4fa[_0x1ffc4d(0x220)]?_0x1ffc4d(0x205):_0x1ffc4d(0x20c);for(const _0x2626f1 of _0x3f9351){const _0x318487=_0x2626f1[_0x1ffc4d(0x222)],_0x2818a1=_0x341300[_0x341300[_0x1ffc4d(0x22a)]-0x1];if(_0x318487['is'](_0x1ffc4d(0x24b)))_0x2818a1&&_0x2818a1[_0x1ffc4d(0x220)][_0x1ffc4d(0x1f2)](_0x1ffc4d(0x249))>-0x1&&_0x341300[_0x1ffc4d(0x1fc)](),_0x2818a1&&_0x1ffc4d(0x242)==_0x2818a1[_0x1ffc4d(0x220)]?_0x2818a1[_0x10c7e9]+=_0x318487[_0x1ffc4d(0x20f)]:_0x341300[_0x1ffc4d(0x218)]({'type':_0x1ffc4d(0x242),'add':_0x1ffc4d(0x205)==_0x10c7e9?_0x318487[_0x1ffc4d(0x20f)]:'','remove':_0x1ffc4d(0x20c)==_0x10c7e9?_0x318487[_0x1ffc4d(0x20f)]:''});else{if(this[_0x1ffc4d(0x22f)][_0x1ffc4d(0x215)](_0x318487)){const _0x41ba3e=_0x318487;if(_0x2818a1&&_0x2818a1[_0x1ffc4d(0x220)][_0x1ffc4d(0x1f2)](_0x1ffc4d(0x249))>-0x1&&_0x341300[_0x1ffc4d(0x1fc)](),_0x1ffc4d(0x244)==_0x2626f1[_0x1ffc4d(0x220)])continue;_0x2818a1&&_0x2818a1[_0x1ffc4d(0x220)]==_0x10c7e9+_0x1ffc4d(0x1fd)&&_0x2818a1[_0x1ffc4d(0x24c)][_0x1ffc4d(0x20d)]==_0x41ba3e[_0x1ffc4d(0x20d)]?_0x2818a1[_0x1ffc4d(0x21b)]++:_0x341300[_0x1ffc4d(0x218)]({'type':_0x10c7e9+_0x1ffc4d(0x1fd),'element':_0x41ba3e,'quantity':0x1}),_0x3f9351[_0x1ffc4d(0x1f0)](_0x40f794=>!(_0x1ffc4d(0x244)==_0x40f794[_0x1ffc4d(0x220)]&&_0x40f794[_0x1ffc4d(0x222)]==_0x318487));}else{if(this[_0x1ffc4d(0x22f)][_0x1ffc4d(0x224)](_0x318487,_0x1ffc4d(0x229))||_0x318487['is'](_0x1ffc4d(0x24c),_0x1ffc4d(0x1f7))){const _0x1b9f53=_0x318487;if(_0x1ffc4d(0x205)==_0x10c7e9&&_0x1ffc4d(0x1ef)==_0x2626f1[_0x1ffc4d(0x220)]||_0x1ffc4d(0x20c)==_0x10c7e9&&_0x1ffc4d(0x244)==_0x2626f1[_0x1ffc4d(0x220)])continue;if(_0x2818a1&&-0x1==_0x2818a1[_0x1ffc4d(0x220)][_0x1ffc4d(0x1f2)](_0x1ffc4d(0x249))){_0x1ffc4d(0x242)==_0x2818a1[_0x1ffc4d(0x220)]&&(_0x2818a1[_0x10c7e9]+='\x0a');continue;}let _0x4346c5;if(_0x4346c5=_0x1ffc4d(0x205)==_0x10c7e9?_0x1b9f53[_0x1ffc4d(0x212)]&&!this[_0x1ffc4d(0x22f)][_0x1ffc4d(0x215)](_0x1b9f53[_0x1ffc4d(0x212)])?_0x1b9f53[_0x1ffc4d(0x212)]:null:_0x1b9f53[_0x1ffc4d(0x223)]&&!this[_0x1ffc4d(0x22f)][_0x1ffc4d(0x215)](_0x1b9f53[_0x1ffc4d(0x223)])?_0x1b9f53[_0x1ffc4d(0x223)]:null,_0x1b9f53[_0x1ffc4d(0x247)]||_0x4346c5&&_0x4346c5[_0x1ffc4d(0x247)]){const _0x463f11=_0x4346c5&&_0x4346c5[_0x1ffc4d(0x247)]?_0x4346c5:_0x1b9f53;_0x2818a1&&_0x2818a1[_0x1ffc4d(0x220)]==_0x10c7e9+_0x1ffc4d(0x213)&&_0x2818a1[_0x1ffc4d(0x24c)][_0x1ffc4d(0x20d)]==_0x463f11[_0x1ffc4d(0x20d)]?_0x2818a1[_0x1ffc4d(0x21b)]++:_0x341300[_0x1ffc4d(0x218)]({'type':_0x10c7e9+_0x1ffc4d(0x213),'element':_0x463f11,'quantity':0x1});}else _0x341300[_0x1ffc4d(0x218)]({'type':_0x10c7e9+_0x1ffc4d(0x249),'element':_0x1b9f53});}}}}}[_0x5566e3(0x203)](_0x1adce8){const _0x5cb242=_0x5566e3,_0x212f4c=this[_0x5cb242(0x233)],_0x56d10e=[],_0x516f57=[],_0x5997b3=[];for(const _0x1b265f of _0x1adce8)switch(_0x1b265f[_0x5cb242(0x220)]){case _0x5cb242(0x242):if(_0x1b265f[_0x5cb242(0x205)]=_0x1b265f[_0x5cb242(0x205)][_0x5cb242(0x216)](/(\S)\u000A+(\S)/g,_0x5cb242(0x238))[_0x5cb242(0x216)](/\u000A/g,''),_0x1b265f[_0x5cb242(0x20c)]=_0x1b265f[_0x5cb242(0x20c)][_0x5cb242(0x216)](/(\S)\u000A+(\S)/g,_0x5cb242(0x238))[_0x5cb242(0x216)](/\u000A/g,''),''!=_0x1b265f[_0x5cb242(0x205)]&&''!=_0x1b265f[_0x5cb242(0x20c)]){_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x216),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x1ed),['\x22'+_0x1b265f[_0x5cb242(0x20c)]+'\x22','\x22'+_0x1b265f[_0x5cb242(0x205)]+'\x22'])});continue;}if(null!=_0x1b265f[_0x5cb242(0x205)][_0x5cb242(0x23c)](/^ +$/)){_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x240),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x210),_0x3eebef(_0x212f4c,_0x5cb242(0x228),_0x1b265f[_0x5cb242(0x205)][_0x5cb242(0x22a)]))});continue;}if(null!=_0x1b265f[_0x5cb242(0x20c)][_0x5cb242(0x23c)](/^ +$/)){_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x235),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x202),_0x3eebef(_0x212f4c,_0x5cb242(0x228),_0x1b265f[_0x5cb242(0x20c)][_0x5cb242(0x22a)]))});continue;}if(''!=_0x1b265f[_0x5cb242(0x205)]){_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x240),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x210),'\x22'+_0x1b265f[_0x5cb242(0x205)]+'\x22')});continue;}_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x235),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x202),'\x22'+_0x1b265f[_0x5cb242(0x20c)]+'\x22')});continue;case _0x5cb242(0x1fa):case _0x5cb242(0x1f3):_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x240),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x210),this[_0x5cb242(0x248)](_0x1b265f[_0x5cb242(0x24c)],_0x1b265f[_0x5cb242(0x21b)]))});continue;case _0x5cb242(0x23b):case _0x5cb242(0x21e):_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x235),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x202),this[_0x5cb242(0x248)](_0x1b265f[_0x5cb242(0x24c)],_0x1b265f[_0x5cb242(0x21b)]))});continue;case _0x5cb242(0x23f):_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x240),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x219),this[_0x5cb242(0x248)](_0x1b265f[_0x5cb242(0x24c)],_0x1b265f[_0x5cb242(0x21b)]))});continue;case _0x5cb242(0x21f):_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x235),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x231),this[_0x5cb242(0x248)](_0x1b265f[_0x5cb242(0x24c)],_0x1b265f[_0x5cb242(0x21b)]))});continue;case _0x5cb242(0x21d):_0x516f57[_0x5cb242(0x218)](_0x1b265f[_0x5cb242(0x230)]);continue;case _0x5cb242(0x1f8):_0x5997b3[_0x5cb242(0x218)](_0x1b265f[_0x5cb242(0x230)]);continue;default:_0x56d10e[_0x5cb242(0x218)](_0x1b265f);}if(_0x516f57[_0x5cb242(0x22a)]){const _0x34a5ce=_0x516f57[_0x5cb242(0x1fe)](_0x2a8fa7=>this[_0x5cb242(0x237)][_0x5cb242(0x1ee)](_0x2a8fa7)?this[_0x5cb242(0x237)][_0x5cb242(0x24e)](_0x2a8fa7):_0x2a8fa7)[_0x5cb242(0x1f1)](',\x20');_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x239),'content':_0x3eebef(this[_0x5cb242(0x233)],_0x5cb242(0x20b),_0x34a5ce)});}if(_0x5997b3[_0x5cb242(0x22a)]){const _0x3439da=_0x5997b3[_0x5cb242(0x1fe)](_0x394c83=>this[_0x5cb242(0x237)][_0x5cb242(0x1ee)](_0x394c83)?this[_0x5cb242(0x237)][_0x5cb242(0x24e)](_0x394c83):_0x394c83)[_0x5cb242(0x1f1)](',\x20');_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x239),'content':_0x3eebef(this[_0x5cb242(0x233)],_0x5cb242(0x1f4),_0x3439da)});}return _0x56d10e;}[_0x5566e3(0x243)](_0x44a21e){const _0xab6819=_0x5566e3;for(const _0x146711 of this[_0xab6819(0x21a)]){const _0x56adf7=_0x146711(_0x44a21e);if(_0x56adf7&&_0xab6819(0x220)in _0x56adf7)return _0x56adf7;}}[_0x5566e3(0x246)](_0x40a17,_0xf91911){const _0x49bb27=_0x5566e3,_0x262c2f=_0xf91911[_0x49bb27(0x20f)],_0x103917=void 0x0===_0x262c2f[_0x49bb27(0x207)]?_0x49bb27(0x1f8):_0x49bb27(0x21d);_0x40a17[_0x49bb27(0x218)]({'type':_0x103917,'key':_0x262c2f[_0x49bb27(0x230)]});}[_0x5566e3(0x23e)](_0x3ff658,_0x520a2e){const _0x176a10=_0x5566e3;_0x3ff658[_0x176a10(0x218)]({'type':_0x176a10(0x239),'content':_0x3eebef(this[_0x176a10(0x233)],_0x176a10(0x221),this[_0x176a10(0x248)](_0x520a2e[_0x176a10(0x204)]()[_0x176a10(0x21c)][_0x176a10(0x234)],0x1))});}[_0x5566e3(0x1f5)](_0x564850,_0xa413b5,_0x546467){const _0x2d805d=_0x5566e3;if(this[_0x2d805d(0x208)](_0x564850,_0xa413b5),_0x546467&&_0x546467[_0x2d805d(0x204)]()&&!_0xa413b5[_0x2d805d(0x204)]()[_0x2d805d(0x211)][_0x2d805d(0x236)](_0x546467[_0x2d805d(0x204)]()[_0x2d805d(0x21c)])){const _0x24e9dc=_0x564850[_0x564850[_0x2d805d(0x22a)]-0x1],_0x1ea379=_0x2d805d(0x240)==_0xa413b5[_0x2d805d(0x220)]?_0x2d805d(0x205):_0x2d805d(0x20c);_0x24e9dc&&_0x2d805d(0x242)==_0x24e9dc[_0x2d805d(0x220)]&&(_0x24e9dc[_0x1ea379]+='\x0a');}}}function _0x377d(){const _0x5a5207=['subType','62766UgIxLm','*Remove:*\x20%0','_resolveDescriptionItems','getFirstRange','add','set','newValue','_addDescriptionItems','2197174JwPIhU','registerElementLabel','*Set\x20format:*\x20%0','remove','name','getDescriptions','data','*Insert:*\x20%0','end','nextSibling','EmptyContainer','matchingCallback','isObject','replace','label','push','*Split:*\x20%0','_customCallbacks','quantity','start','addFormat','removeObject','removeContainer','type','*Change\x20to:*\x20%0','item','previousSibling','checkChild','1197878lTXYyR','685284nhXWnU','getWalker','ELEMENT_SPACE','$text','length','4rqNnLL','normal','_itemLabels','_itemLabelsCallbacks','_schema','key','*Merge:*\x20%0','130WsHMUN','_locale','nodeAfter','deletion','isEqual','_attributeLabels','$1\x20$2','format','isInContent','removeEmptyContainer','match','registerAttributeLabel','_handleRenameSuggestionDescription','addContainer','insertion','2438120XTtiMg','text','_handleCustomCallbackDescription','elementEnd','attribute','_handleAttributeSuggestionDescription','isEmpty','getItemLabel','Container','registerDescriptionCallback','$textProxy','element','24oCFvxS','get','REPLACE_TEXT','has','elementStart','skip','join','indexOf','addObject','*Remove\x20format:*\x20%0','_handleInsertRemoveSuggestionDescription','function','softBreak','removeFormat','271017nGWfBb','addEmptyContainer','8FSYLPy','pop','Object','map','1205495UnCjdp'];_0x377d=function(){return _0x5a5207;};return _0x377d();}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4e582f=_0x1210;(function(_0x20be94,_0x1d6a57){var _0x50fe5d=_0x1210,_0x1fea1d=_0x20be94();while(!![]){try{var _0x3fc556=-parseInt(_0x50fe5d(0x78))/0x1+parseInt(_0x50fe5d(0x7d))/0x2+-parseInt(_0x50fe5d(0x6d))/0x3*(parseInt(_0x50fe5d(0x76))/0x4)+parseInt(_0x50fe5d(0x71))/0x5+-parseInt(_0x50fe5d(0x7a))/0x6*(-parseInt(_0x50fe5d(0x7b))/0x7)+parseInt(_0x50fe5d(0x74))/0x8+-parseInt(_0x50fe5d(0x73))/0x9;if(_0x3fc556===_0x1d6a57)break;else _0x1fea1d['push'](_0x1fea1d['shift']());}catch(_0x897182){_0x1fea1d['push'](_0x1fea1d['shift']());}}}(_0x1085,0x1cfd4));import{Plugin as _0x461bc9}from'ckeditor5/src/core.js';import _0x339c02 from'./trackchangesui.js';function _0x1085(){var _0x6d2e2e=['adapter','534524EZqcHS','addSuggestionData','45073NGGVeA','get','6IEavTG','1019851dSHGhw','requires','448314gnYAjz','addSuggestion','plugins','Comments','getSuggestions','3fuJdsn','pluginName','TrackChanges','getSuggestion','753835xtmtTL','editor','3760812LcAeiV','1557560aEBSDe'];_0x1085=function(){return _0x6d2e2e;};return _0x1085();}import _0x501437 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x1210(_0x2faa9a,_0x6eaf54){var _0x1085a8=_0x1085();return _0x1210=function(_0x1210be,_0x498ba2){_0x1210be=_0x1210be-0x69;var _0x1ce89f=_0x1085a8[_0x1210be];return _0x1ce89f;},_0x1210(_0x2faa9a,_0x6eaf54);}export default class k extends _0x461bc9{static get[_0x4e582f(0x7c)](){var _0x2d289c=_0x4e582f;return[_0x501437,_0x339c02,_0x2d289c(0x6b)];}static get[_0x4e582f(0x6e)](){var _0x219e4d=_0x4e582f;return _0x219e4d(0x6f);}set[_0x4e582f(0x75)](_0x459d0a){var _0x3a0752=_0x4e582f;this[_0x3a0752(0x72)][_0x3a0752(0x6a)][_0x3a0752(0x79)](_0x501437)[_0x3a0752(0x75)]=_0x459d0a;}get[_0x4e582f(0x75)](){var _0x1a2484=_0x4e582f;return this[_0x1a2484(0x72)][_0x1a2484(0x6a)][_0x1a2484(0x79)](_0x501437)[_0x1a2484(0x75)];}[_0x4e582f(0x69)](_0x12719c){var _0x36dac6=_0x4e582f;return this[_0x36dac6(0x72)][_0x36dac6(0x6a)][_0x36dac6(0x79)](_0x501437)[_0x36dac6(0x77)](_0x12719c);}[_0x4e582f(0x6c)]({skipNotAttached:_0x44b3eb=!0x1,toJSON:_0x6ad042=!0x1}={}){var _0xab2d72=_0x4e582f;return this[_0xab2d72(0x72)][_0xab2d72(0x6a)][_0xab2d72(0x79)](_0x501437)[_0xab2d72(0x6c)]({'skipNotAttached':_0x44b3eb,'toJSON':_0x6ad042});}[_0x4e582f(0x70)](_0x15a91b){var _0x73b8b1=_0x4e582f;return this[_0x73b8b1(0x72)][_0x73b8b1(0x6a)][_0x73b8b1(0x79)](_0x501437)[_0x73b8b1(0x70)](_0x15a91b);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21b0a0=_0x49d0;(function(_0x354146,_0x391844){const _0xd5e39f=_0x49d0,_0x5af5ab=_0x354146();while(!![]){try{const _0x4db7c=-parseInt(_0xd5e39f(0x9d))/0x1+-parseInt(_0xd5e39f(0xae))/0x2+-parseInt(_0xd5e39f(0xc8))/0x3*(-parseInt(_0xd5e39f(0xbd))/0x4)+-parseInt(_0xd5e39f(0xd1))/0x5+-parseInt(_0xd5e39f(0xb5))/0x6+parseInt(_0xd5e39f(0xa9))/0x7+parseInt(_0xd5e39f(0xb1))/0x8;if(_0x4db7c===_0x391844)break;else _0x5af5ab['push'](_0x5af5ab['shift']());}catch(_0x3da9ab){_0x5af5ab['push'](_0x5af5ab['shift']());}}}(_0x5ea9,0xf2b1e));import{Plugin as _0x410791}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ac834}from'ckeditor5/src/utils.js';import _0x5d8245 from'./trackchangesediting.js';function _0x49d0(_0xce01e5,_0x596250){const _0x5ea9cd=_0x5ea9();return _0x49d0=function(_0x49d010,_0x1c08e2){_0x49d010=_0x49d010-0x95;let _0x2d3faf=_0x5ea9cd[_0x49d010];return _0x2d3faf;},_0x49d0(_0xce01e5,_0x596250);}import{sanitizeEditorConfig as _0x3a4cbf}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x21b0a0(0xba)];function _0x5ea9(){const _0x38abfc=['getDataWithDiscardedSuggestions','589208jWmdNK','end','requires','24436400VURQmr','editor','define','discardAllSuggestions','11209146jWqqIW','set','users','addSuggestionData','get','Pagination','name','addUser','2557756RKQfri','editorCreator','getRootNames','model','push','function','TrackChangesData','map','document','_adapter','getRootsAttributes','3nJJBrx','useAnonymousUser','plugins','CommentsRepository','result','Users','getCommentThreads','init','constructor','5544620dtFDjC','div','getDataWithAcceptedSuggestions','trackChangesData','data','rootsAttributes','track-changes-data-invalid-editor-creator','appendChild','getFullData','create','785156kAQdmV','TrackChangesDataGetter','destroy','TrackChangesEditing','config','trackChangesData.editorCreator','execute','pluginName','addCommentThread','createDocumentFragment','getSuggestions','reduce','9498748lYUYnP','getUser','createElement','acceptAllSuggestions'];_0x5ea9=function(){return _0x38abfc;};return _0x5ea9();}export default class P extends _0x410791{static get[_0x21b0a0(0xb0)](){return[_0x5d8245];}static get[_0x21b0a0(0xa4)](){const _0x4ef598=_0x21b0a0;return _0x4ef598(0xc3);}[_0x21b0a0(0xcf)](){const _0x23c7ac=_0x21b0a0,_0x2b8195=this[_0x23c7ac(0xb2)];if(_0x2b8195[_0x23c7ac(0xa1)][_0x23c7ac(0xb3)](_0x23c7ac(0xa2),_0x25a081=>{const _0x29dcea=_0x23c7ac,_0x1d3b80=_0x2b8195[_0x29dcea(0xc0)][_0x29dcea(0xc5)][_0x29dcea(0xbf)]()[_0x29dcea(0xa8)]((_0x65d1e1,_0x3e7290)=>(_0x65d1e1[_0x3e7290]='',_0x65d1e1),{});return _0x2b8195[_0x29dcea(0xd0)][_0x29dcea(0x9c)](_0x1d3b80,_0x25a081);}),_0x23c7ac(0xc2)!=typeof _0x2b8195[_0x23c7ac(0xa1)][_0x23c7ac(0xb9)](_0x23c7ac(0x96))[_0x23c7ac(0xbe)])throw new _0x2ac834(_0x23c7ac(0x99));}[_0x21b0a0(0x95)](_0x56ee6a){const _0x124f63=_0x21b0a0;return N(this[_0x124f63(0xb2)],!0x0,_0x56ee6a);}[_0x21b0a0(0xad)](_0x3a3589){const _0x82c452=_0x21b0a0;return N(this[_0x82c452(0xb2)],!0x1,_0x3a3589);}}class D extends _0x410791{static get[_0x21b0a0(0xa4)](){const _0x583911=_0x21b0a0;return _0x583911(0x9e);}constructor(_0x2ce8f4){const _0x1b3e95=_0x21b0a0;super(_0x2ce8f4),this[_0x1b3e95(0xcc)]=_0x1b3e95(0xaf);}[_0x21b0a0(0xcf)](){const _0x366e2f=_0x21b0a0;this[_0x366e2f(0xb2)][_0x366e2f(0xca)][_0x366e2f(0xb9)](_0x366e2f(0xcb))[_0x366e2f(0xc6)]={'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[_0x366e2f(0xb2)][_0x366e2f(0xca)][_0x366e2f(0xb9)](_0x366e2f(0xa0))[_0x366e2f(0xc6)]=null;}}function v(_0x1f17fb){const _0x4c51ee=_0x21b0a0;return void 0x0!==_0x1f17fb[_0x4c51ee(0xc7)];}async function N(_0x651830,_0x5676ea,_0x12dbad){const _0x505ae8=_0x21b0a0,_0x573502=_0x3a4cbf(_0x651830,T);_0x573502[_0x505ae8(0xca)][_0x505ae8(0xc1)](_0x5d8245,D),_0x573502[_0x505ae8(0x98)]=v(_0x651830)?_0x651830[_0x505ae8(0xc7)]():void 0x0;const _0x10b732=document[_0x505ae8(0xa6)](),_0x1abd6f=_0x651830[_0x505ae8(0xa1)][_0x505ae8(0xb9)](_0x505ae8(0x96))[_0x505ae8(0xbe)],_0x31ec73=await _0x1abd6f(_0x573502,()=>function(_0x1dfd57){const _0x2d7d68=_0x505ae8,_0x4174b5=document[_0x2d7d68(0xab)](_0x2d7d68(0xd2));return _0x1dfd57[_0x2d7d68(0x9a)](_0x4174b5),_0x4174b5;}(_0x10b732));!function(_0x14dacb,_0x53a2b0){const _0x16525a=_0x505ae8,_0x12c2c2=_0x14dacb[_0x16525a(0xc0)][_0x16525a(0xc5)][_0x16525a(0xbf)]()[_0x16525a(0xa8)]((_0x1ea532,_0x33728a)=>(_0x1ea532[_0x33728a]=_0x14dacb[_0x16525a(0x97)][_0x16525a(0xb9)]({'rootName':_0x33728a}),_0x1ea532),{}),_0x248c34=_0x14dacb[_0x16525a(0xca)][_0x16525a(0xb9)](_0x16525a(0xcd))[_0x16525a(0xb7)][_0x16525a(0xc4)](_0x146964=>({'id':_0x146964['id'],'name':_0x146964[_0x16525a(0xbb)]})),_0x317238=_0x14dacb[_0x16525a(0xca)][_0x16525a(0xb9)](_0x16525a(0xa0))[_0x16525a(0xa7)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x216774=_0x14dacb[_0x16525a(0xca)][_0x16525a(0xb9)](_0x16525a(0xcb))[_0x16525a(0xce)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xa82876=_0x53a2b0[_0x16525a(0xca)][_0x16525a(0xb9)](_0x16525a(0xcd)),_0x4c5c88=_0x53a2b0[_0x16525a(0xca)][_0x16525a(0xb9)](_0x16525a(0xa0)),_0x4d1060=_0x53a2b0[_0x16525a(0xca)][_0x16525a(0xb9)](_0x16525a(0xcb));for(const _0x201e57 of _0x248c34)_0xa82876[_0x16525a(0xaa)](_0x201e57['id'])||_0xa82876[_0x16525a(0xbc)](_0x201e57);_0xa82876['me']||_0xa82876[_0x16525a(0xc9)]();for(const _0x5bdf78 of _0x216774)_0x4d1060[_0x16525a(0xa5)](_0x5bdf78);for(const _0x298bd7 of _0x317238)_0x4c5c88[_0x16525a(0xb8)](_0x298bd7);_0x53a2b0[_0x16525a(0x97)][_0x16525a(0xb6)](_0x12c2c2);}(_0x651830,_0x31ec73),_0x31ec73[_0x505ae8(0xa3)](_0x5676ea?_0x505ae8(0xac):_0x505ae8(0xb4));const _0x43bf2d=v(_0x31ec73)?_0x31ec73[_0x505ae8(0x9b)](_0x12dbad):_0x31ec73[_0x505ae8(0x97)][_0x505ae8(0xb9)](_0x12dbad);return await _0x31ec73[_0x505ae8(0x9f)](),_0x43bf2d;}
|