@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240313.0 → 0.0.0-nightly-20240316.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/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/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
|
|
23
|
+
const _0xc2eff6=_0x14fc;(function(_0x5e31de,_0x34a073){const _0x237ba0=_0x14fc,_0x1c4afd=_0x5e31de();while(!![]){try{const _0x35f3a3=-parseInt(_0x237ba0(0xde))/0x1*(-parseInt(_0x237ba0(0xdd))/0x2)+-parseInt(_0x237ba0(0xd0))/0x3*(parseInt(_0x237ba0(0xe4))/0x4)+parseInt(_0x237ba0(0xd3))/0x5*(parseInt(_0x237ba0(0xd8))/0x6)+-parseInt(_0x237ba0(0xd1))/0x7*(parseInt(_0x237ba0(0xe1))/0x8)+-parseInt(_0x237ba0(0xd5))/0x9+-parseInt(_0x237ba0(0xd2))/0xa*(parseInt(_0x237ba0(0xd9))/0xb)+-parseInt(_0x237ba0(0xe3))/0xc*(-parseInt(_0x237ba0(0xe5))/0xd);if(_0x35f3a3===_0x34a073)break;else _0x1c4afd['push'](_0x1c4afd['shift']());}catch(_0x4c26e6){_0x1c4afd['push'](_0x1c4afd['shift']());}}}(_0x4388,0x824c0));function _0x4388(){const _0x1ddb3f=['76632AxzjOb','6836iKTSIv','3614oPeqIk','855UMdNqW','287thiGcS','10GOmhUi','4940515DsVlRF','Template','8873559UsgCLt','afterInit','enableCommand','6SihqLT','6090337WTYhiI','get','editor','TrackChangesEditing','82lUjrCv','9421khtkJx','insertTemplate','has','114984wLwPmf','plugins'];_0x4388=function(){return _0x1ddb3f;};return _0x4388();}function _0x14fc(_0x3104f3,_0x47cb8b){const _0x4388cb=_0x4388();return _0x14fc=function(_0x14fca8,_0x1bff56){_0x14fca8=_0x14fca8-0xd0;let _0x1919ae=_0x4388cb[_0x14fca8];return _0x1919ae;},_0x14fc(_0x3104f3,_0x47cb8b);}import{Plugin as _0x4d963b}from'ckeditor5/src/core.js';export default class vt extends _0x4d963b{[_0xc2eff6(0xd6)](){const _0x5e1d9f=_0xc2eff6,_0x2e6ca5=this[_0x5e1d9f(0xdb)];_0x2e6ca5[_0x5e1d9f(0xe2)][_0x5e1d9f(0xe0)](_0x5e1d9f(0xd4))&&_0x2e6ca5[_0x5e1d9f(0xe2)][_0x5e1d9f(0xda)](_0x5e1d9f(0xdc))[_0x5e1d9f(0xd7)](_0x5e1d9f(0xdf));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2abd(){const _0x164ef0=['removeMarker','294676RMhatw','21424pPhCWL','1837kgUSeb','isCollapsed','nodeBefore','30340yRkKRP','differ','forward','start','title-content','editor','81bgJwBM','locale','getChangedMarkers','element','1321794SlwxDR','_splitMarkerName','getNearestSelectionRange','newRange','updateMarker','947470DQoTni','registerElementLabel','isTouching','has','registerPostFixer','isEqual','suggestion','schema','plugins','model','afterInit','187812AahDFb','77lVuUQb','Title','8BedUNj','end','_descriptionFactory','createRange','ELEMENT_TITLE','TrackChangesEditing','from','105738zJZVaE','get','document'];_0x2abd=function(){return _0x164ef0;};return _0x2abd();}const _0x5f1fa9=_0x5481;(function(_0x43fd5d,_0x3069ad){const _0x1bb02a=_0x5481,_0x3ec116=_0x43fd5d();while(!![]){try{const _0x4d1508=parseInt(_0x1bb02a(0x1f3))/0x1+parseInt(_0x1bb02a(0x1d4))/0x2+-parseInt(_0x1bb02a(0x1df))/0x3*(-parseInt(_0x1bb02a(0x1d5))/0x4)+parseInt(_0x1bb02a(0x1e8))/0x5+parseInt(_0x1bb02a(0x1d0))/0x6*(-parseInt(_0x1bb02a(0x1f4))/0x7)+-parseInt(_0x1bb02a(0x1f6))/0x8*(-parseInt(_0x1bb02a(0x1e3))/0x9)+-parseInt(_0x1bb02a(0x1d9))/0xa*(parseInt(_0x1bb02a(0x1d6))/0xb);if(_0x4d1508===_0x3069ad)break;else _0x3ec116['push'](_0x3ec116['shift']());}catch(_0x153cdd){_0x3ec116['push'](_0x3ec116['shift']());}}}(_0x2abd,0x1c387));function _0x5481(_0x4f1094,_0x2326e1){const _0x2abdc9=_0x2abd();return _0x5481=function(_0x548189,_0x57ebae){_0x548189=_0x548189-0x1cd;let _0x294512=_0x2abdc9[_0x548189];return _0x294512;},_0x5481(_0x4f1094,_0x2326e1);}import{Plugin as _0x218571}from'ckeditor5/src/core.js';import{getTranslation as _0x488bc7}from'../utils/common-translations.js';export default class Ct extends _0x218571{[_0x5f1fa9(0x1f2)](){const _0x50ddb7=_0x5f1fa9,_0x29d21e=this[_0x50ddb7(0x1de)];if(!_0x29d21e[_0x50ddb7(0x1f0)][_0x50ddb7(0x1eb)](_0x50ddb7(0x1f5)))return;const _0x2dd5b9=_0x29d21e[_0x50ddb7(0x1f0)][_0x50ddb7(0x1d1)](_0x50ddb7(0x1ce));_0x2dd5b9[_0x50ddb7(0x1f8)][_0x50ddb7(0x1e9)](_0x50ddb7(0x1dd),()=>_0x488bc7(_0x29d21e[_0x50ddb7(0x1e0)],_0x50ddb7(0x1cd))),_0x29d21e[_0x50ddb7(0x1f1)][_0x50ddb7(0x1d2)][_0x50ddb7(0x1ec)](_0x30e871=>{const _0x2f3a5f=_0x50ddb7;let _0x40eebb=!0x1;const _0x21b5d7=Array[_0x2f3a5f(0x1cf)](_0x29d21e[_0x2f3a5f(0x1f1)][_0x2f3a5f(0x1d2)][_0x2f3a5f(0x1da)][_0x2f3a5f(0x1e1)]());for(const {name:_0x50a76d,data:_0x1e9da5}of _0x21b5d7){const {group:_0x41fe4e}=_0x2dd5b9[_0x2f3a5f(0x1e4)](_0x50a76d);if(_0x2f3a5f(0x1ee)!==_0x41fe4e||!_0x1e9da5[_0x2f3a5f(0x1e6)])continue;const _0x994443=_0x1e9da5[_0x2f3a5f(0x1e6)],_0x20ec7e=_0x994443[_0x2f3a5f(0x1f7)][_0x2f3a5f(0x1d8)];if(!_0x20ec7e||!_0x20ec7e['is'](_0x2f3a5f(0x1e2),_0x2f3a5f(0x1dd)))continue;if(!_0x994443[_0x2f3a5f(0x1dc)][_0x2f3a5f(0x1ea)](_0x994443[_0x2f3a5f(0x1f7)]))continue;const _0x48d007=_0x29d21e[_0x2f3a5f(0x1f1)][_0x2f3a5f(0x1ef)][_0x2f3a5f(0x1e5)](_0x994443[_0x2f3a5f(0x1f7)],_0x2f3a5f(0x1db));if(_0x48d007&&_0x48d007[_0x2f3a5f(0x1d7)]){const _0x25ca1f=_0x30e871[_0x2f3a5f(0x1f9)](_0x994443[_0x2f3a5f(0x1dc)],_0x48d007[_0x2f3a5f(0x1dc)]);_0x25ca1f[_0x2f3a5f(0x1ed)](_0x994443)||(_0x30e871[_0x2f3a5f(0x1e7)](_0x50a76d,{'range':_0x25ca1f}),_0x40eebb=!0x0);}_0x40eebb||(_0x30e871[_0x2f3a5f(0x1d3)](_0x50a76d),_0x40eebb=!0x0);}return _0x40eebb;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x48d2(){const _0x33a334=['3uUIceU','redo','2539608FCmNMG','TrackChangesEditing','220054IhPSla','afterInit','59700WkaPgY','enableCommand','2359060KqxDrr','undo','3798264wFzWxG','2441621EmBHPM','11XGSCMf','UndoEditing','plugins','editor','76gNlLGG','15046450PEFFsW','has','9eTsBSE','get'];_0x48d2=function(){return _0x33a334;};return _0x48d2();}const _0x43ecf4=_0xa9d5;(function(_0x53d6a5,_0x59b1ec){const _0x2a0f94=_0xa9d5,_0x9ef37e=_0x53d6a5();while(!![]){try{const _0xe8f912=parseInt(_0x2a0f94(0x139))/0x1*(-parseInt(_0x2a0f94(0x13d))/0x2)+-parseInt(_0x2a0f94(0x12a))/0x3*(-parseInt(_0x2a0f94(0x134))/0x4)+parseInt(_0x2a0f94(0x12c))/0x5+parseInt(_0x2a0f94(0x13b))/0x6+parseInt(_0x2a0f94(0x12f))/0x7+-parseInt(_0x2a0f94(0x12e))/0x8*(-parseInt(_0x2a0f94(0x137))/0x9)+-parseInt(_0x2a0f94(0x135))/0xa*(parseInt(_0x2a0f94(0x130))/0xb);if(_0xe8f912===_0x59b1ec)break;else _0x9ef37e['push'](_0x9ef37e['shift']());}catch(_0x27ceea){_0x9ef37e['push'](_0x9ef37e['shift']());}}}(_0x48d2,0x3ff98));import{Plugin as _0xfaba9f}from'ckeditor5/src/core.js';function _0xa9d5(_0x441367,_0x36eeb4){const _0x48d247=_0x48d2();return _0xa9d5=function(_0xa9d50f,_0x1ce663){_0xa9d50f=_0xa9d50f-0x129;let _0xd02b5a=_0x48d247[_0xa9d50f];return _0xd02b5a;},_0xa9d5(_0x441367,_0x36eeb4);}export default class Dt extends _0xfaba9f{[_0x43ecf4(0x129)](){const _0x370b3b=_0x43ecf4,_0x54f45a=this[_0x370b3b(0x133)],_0xa3b55c=_0x54f45a[_0x370b3b(0x132)][_0x370b3b(0x138)](_0x370b3b(0x13c));_0x54f45a[_0x370b3b(0x132)][_0x370b3b(0x136)](_0x370b3b(0x131))&&(_0xa3b55c[_0x370b3b(0x12b)](_0x370b3b(0x12d)),_0xa3b55c[_0x370b3b(0x12b)](_0x370b3b(0x13a)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1f89da,_0x3618cf){const _0x4baf0c=_0x1045,_0x2ca48d=_0x1f89da();while(!![]){try{const _0x4c8624=parseInt(_0x4baf0c(0x18c))/0x1+-parseInt(_0x4baf0c(0x189))/0x2+parseInt(_0x4baf0c(0x185))/0x3+parseInt(_0x4baf0c(0x179))/0x4*(-parseInt(_0x4baf0c(0x17b))/0x5)+-parseInt(_0x4baf0c(0x17c))/0x6*(-parseInt(_0x4baf0c(0x178))/0x7)+parseInt(_0x4baf0c(0x171))/0x8+-parseInt(_0x4baf0c(0x18d))/0x9*(-parseInt(_0x4baf0c(0x172))/0xa);if(_0x4c8624===_0x3618cf)break;else _0x2ca48d['push'](_0x2ca48d['shift']());}catch(_0x159cd2){_0x2ca48d['push'](_0x2ca48d['shift']());}}}(_0x2bc0,0x25fb6));function _0x1045(_0x2ccd2e,_0x5ba1bd){const _0x2bc038=_0x2bc0();return _0x1045=function(_0x1045be,_0x36bc32){_0x1045be=_0x1045be-0x16a;let _0x4a63aa=_0x2bc038[_0x1045be];return _0x4a63aa;},_0x1045(_0x2ccd2e,_0x5ba1bd);}export function getRangesWithAttribute(_0x209de0,_0x1e547d,_0x285009){const _0x2965b1=_0x1045,_0x519701=[];for(const _0x5a483a of _0x1e547d[_0x2965b1(0x17a)]())_0x5a483a[_0x2965b1(0x17f)](_0x209de0)&&_0x519701[_0x2965b1(0x182)](_0x285009[_0x2965b1(0x198)](_0x5a483a));return _0x519701;}export function getElementsAffectedByListItemRename(_0x317004){const _0x488631=_0x1045,_0xe03138=[];if(_0x317004['is'](_0x488631(0x16d),_0x488631(0x16c))){let _0x501986=_0x317004[_0x488631(0x187)];for(;_0x501986&&_0x501986['is'](_0x488631(0x16d),_0x488631(0x16c))&&_0x501986[_0x488631(0x190)](_0x488631(0x199))>0x0;)_0xe03138[_0x488631(0x182)](_0x501986),_0x501986=_0x501986[_0x488631(0x187)];}return _0xe03138;}function _0x2bc0(){const _0x2f1a31=['parent','markerName','listItem','element','bindElementToMarker','span','includes','244216sgQTmF','350570qRrNTQ','markerRange','name','TrackChangesEditing','writer','insert','70QfsJaG','109276uPMJIH','getItems','55Zlapzf','130902DroIPI','type','model','hasAttribute','mapper','plugins','push','activeMarkers','toViewElement','881766vXfZsu','isAtEnd','nextSibling','item','520796DopEsw','get','addHighlight','138805ojKfEZ','9WFCgDP','ck-suggestion-marker-','consumable','getAttribute','createUIElement','isBlock','getCustomProperty','test','previousPosition','isContent','isLimit','createRangeOn','listIndent','getWalker','ck-suggestion-marker--active','addClass','schema','start','elementEnd','toViewPosition'];_0x2bc0=function(){return _0x2f1a31;};return _0x2bc0();}export function downcastSplitMergeMarker(_0x453d56,_0x2e057d,{showActiveMarker:_0x266eb7=!0x0}={}){const _0x58347c=_0x1045,_0xfe9c64=_0x453d56[_0x58347c(0x181)][_0x58347c(0x18a)](_0x58347c(0x175));return(_0x122b4b,_0x3d4dc6,_0x423739)=>{const _0x4c2782=_0x58347c;if(!_0x423739[_0x4c2782(0x18f)][_0x4c2782(0x194)](_0x3d4dc6[_0x4c2782(0x173)],_0x122b4b[_0x4c2782(0x174)]))return;const _0x5835ca=_0x3d4dc6[_0x4c2782(0x173)][_0x4c2782(0x19a)](),_0x3a953c=_0x3d4dc6[_0x4c2782(0x173)][_0x4c2782(0x19e)],_0x205fb8=_0x453d56[_0x4c2782(0x17e)][_0x4c2782(0x19d)];let _0x214fe3=null,_0x27b361=null,_0x28c473=!0x1,_0x5d9f4e=!0x1;for(const _0x145a64 of _0x5835ca){const _0x827b84=_0x145a64[_0x4c2782(0x188)];_0x28c473=_0x28c473||_0x205fb8[_0x4c2782(0x196)](_0x827b84);const _0x363573=_0x423739[_0x4c2782(0x180)][_0x4c2782(0x184)](_0x827b84);if(_0x363573&&_0x363573[_0x4c2782(0x193)](_0x4c2782(0x18b)))return;_0x4c2782(0x19f)==_0x145a64[_0x4c2782(0x17d)]&&(_0x205fb8[_0x4c2782(0x192)](_0x827b84)&&!_0x205fb8[_0x4c2782(0x197)](_0x827b84)&&(_0x827b84[_0x4c2782(0x187)]||_0x3a953c[_0x4c2782(0x186)]?_0x214fe3&&_0x214fe3[_0x4c2782(0x16a)]==_0x827b84||(_0x214fe3=_0x827b84,_0x35e0c0(_0x145a64[_0x4c2782(0x195)]),_0x5d9f4e=!0x0):_0x27b361=_0x27b361||_0x145a64[_0x4c2782(0x195)]));}function _0x35e0c0(_0x996dd7){const _0x535fff=_0x4c2782,_0x13f624=_0x423739[_0x535fff(0x176)][_0x535fff(0x191)](_0x535fff(0x16f),{'class':_0x535fff(0x18e)+_0x2e057d}),_0x2f6eb7=_0x423739[_0x535fff(0x180)][_0x535fff(0x1a0)](_0x996dd7);_0x266eb7&&_0xfe9c64[_0x535fff(0x183)][_0x535fff(0x170)](_0x3d4dc6[_0x535fff(0x16b)])&&_0x423739[_0x535fff(0x176)][_0x535fff(0x19c)](_0x535fff(0x19b),_0x13f624),_0x423739[_0x535fff(0x176)][_0x535fff(0x177)](_0x2f6eb7,_0x13f624),_0x423739[_0x535fff(0x180)][_0x535fff(0x16e)](_0x13f624,_0x3d4dc6[_0x535fff(0x16b)]);}_0x28c473||_0x5d9f4e||!_0x27b361||_0x35e0c0(_0x27b361);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x416c6d=_0x2c15;function _0x2c15(_0x35a5f6,_0x16f947){const _0x5f2ab1=_0x5f2a();return _0x2c15=function(_0x2c153f,_0x4e3327){_0x2c153f=_0x2c153f-0x116;let _0x43dc76=_0x5f2ab1[_0x2c153f];return _0x43dc76;},_0x2c15(_0x35a5f6,_0x16f947);}function _0x5f2a(){const _0x46286f=['getAllAdjacentSuggestions','subType','next','_onDiscard','set','addMarkerName','filter','167544pVaPET','add','length','attributes','onDiscard','10OUPjWZ','removeMarkers','@external','addRange','894145gQOkEU','data','getFirstMarker','isMultiRange','14SavhLG','1614108jeTjcR','createdAt','authoredAt','_onAttributesChange','end','nodeBefore','toJSON','getFirstRange','getRanges','discard','getMarkerNames','onAccept','split','removeAttribute','getItems','size','isInContent','getContainedElement','3404NyiyAR','getRange','_onAccept','decorate','type','accept','nodeAfter','hasComments','creator','setAttribute','68254ORcQMK','previous','change','push','1203168kSElHp','delete','substr','map','from','14446071FETNUc','getMarkers','addMarker','start','onAttributesChange','isExternal','isIntersecting','suggestion:','markers','author','getMultiRangeId','head','get','_markerNames','_isDataLoaded','2391BVexar','isIntersectingWithRange','reduce','clear','_saved','removeMarker','commentThread','_model'];_0x5f2a=function(){return _0x46286f;};return _0x5f2a();}(function(_0x109c2e,_0x5df1fd){const _0x4e0453=_0x2c15,_0x7fabb3=_0x109c2e();while(!![]){try{const _0x535957=parseInt(_0x4e0453(0x122))/0x1+parseInt(_0x4e0453(0x14c))/0x2+-parseInt(_0x4e0453(0x164))/0x3*(parseInt(_0x4e0453(0x142))/0x4)+-parseInt(_0x4e0453(0x12b))/0x5+-parseInt(_0x4e0453(0x130))/0x6+-parseInt(_0x4e0453(0x12f))/0x7*(parseInt(_0x4e0453(0x150))/0x8)+parseInt(_0x4e0453(0x155))/0x9*(parseInt(_0x4e0453(0x127))/0xa);if(_0x535957===_0x5df1fd)break;else _0x7fabb3['push'](_0x7fabb3['shift']());}catch(_0x1b6b98){_0x7fabb3['push'](_0x7fabb3['shift']());}}}(_0x5f2a,0x5cc00));import{Element as _0x589ffd}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x256a7e,uid as _0x163b6f}from'ckeditor5/src/utils.js';import{cloneDeep as _0x4f3bfa,isEqual as _0x54fffd,set as _0x1db444,unset as _0x3f50a6}from'lodash-es';export default class u extends _0x256a7e(){constructor(_0x495448,_0x55f10f){const _0x161326=_0x2c15;super(),this[_0x161326(0x163)]=!0x1,this['id']=_0x55f10f['id'],this[_0x161326(0x146)]=_0x55f10f[_0x161326(0x146)],this[_0x161326(0x11c)]=_0x55f10f[_0x161326(0x11c)]||null,this[_0x161326(0x15e)]=_0x55f10f[_0x161326(0x15e)],this[_0x161326(0x14a)]=_0x55f10f[_0x161326(0x14a)]||_0x55f10f[_0x161326(0x15e)],this[_0x161326(0x15a)]=Boolean(_0x55f10f[_0x161326(0x125)]&&_0x55f10f[_0x161326(0x125)][_0x161326(0x129)]),this[_0x161326(0x12c)]=null,this[_0x161326(0x11a)]=_0x495448,this[_0x161326(0x144)]=_0x55f10f[_0x161326(0x13b)],this[_0x161326(0x11e)]=_0x55f10f[_0x161326(0x126)],this[_0x161326(0x133)]=_0x55f10f[_0x161326(0x159)],this[_0x161326(0x162)]=new Set(),this[_0x161326(0x131)]=null,this[_0x161326(0x11f)](_0x161326(0x132),null),this[_0x161326(0x11f)](_0x161326(0x125),_0x55f10f[_0x161326(0x125)]||{}),this[_0x161326(0x11f)](_0x161326(0x14d),null),this[_0x161326(0x11f)](_0x161326(0x11d),null),this[_0x161326(0x11f)](_0x161326(0x119),null),this[_0x161326(0x11f)](_0x161326(0x117),!0x1),this[_0x161326(0x145)](_0x161326(0x147)),this[_0x161326(0x145)](_0x161326(0x139));}get[_0x416c6d(0x160)](){const _0x6241f3=_0x416c6d;let _0x25f763=this;for(;_0x25f763[_0x6241f3(0x14d)];)_0x25f763=_0x25f763[_0x6241f3(0x14d)];return _0x25f763;}get[_0x416c6d(0x149)](){const _0x141e44=_0x416c6d;return!!this[_0x141e44(0x119)]&&this[_0x141e44(0x119)][_0x141e44(0x124)]>0x0;}get[_0x416c6d(0x12e)](){const _0x4f2de2=_0x416c6d;if(0x0==this[_0x4f2de2(0x162)][_0x4f2de2(0x13f)])return!0x1;return 0x6==Array[_0x4f2de2(0x154)](this[_0x4f2de2(0x162)])[0x0][_0x4f2de2(0x13c)](':')[_0x4f2de2(0x124)];}get[_0x416c6d(0x140)](){const _0x3d740d=_0x416c6d;return null!==this[_0x3d740d(0x12d)]();}[_0x416c6d(0x120)](_0x699955){const _0x2fa005=_0x416c6d;this[_0x2fa005(0x162)][_0x2fa005(0x123)](_0x699955);}[_0x416c6d(0x13a)](){const _0x143f4b=_0x416c6d;return Array[_0x143f4b(0x154)](this[_0x143f4b(0x162)]);}[_0x416c6d(0x156)](){const _0xe6609e=_0x416c6d;return this[_0xe6609e(0x13a)]()[_0xe6609e(0x153)](_0x32a923=>this[_0xe6609e(0x11a)][_0xe6609e(0x15d)][_0xe6609e(0x161)](_0x32a923))[_0xe6609e(0x121)](_0xa7b2a=>_0xa7b2a);}[_0x416c6d(0x12d)](){const _0xf1c4ad=_0x416c6d;return this[_0xf1c4ad(0x156)]()[0x0]||null;}[_0x416c6d(0x128)](){const _0xe3932a=_0x416c6d;this[_0xe3932a(0x11a)][_0xe3932a(0x14e)](_0x595b25=>{const _0x40edf5=_0xe3932a;for(const _0x3c3f7c of this[_0x40edf5(0x156)]())_0x595b25[_0x40edf5(0x118)](_0x3c3f7c);}),this[_0xe3932a(0x162)][_0xe3932a(0x116)]();}[_0x416c6d(0x118)](_0x150597){const _0x40fe21=_0x416c6d;this[_0x40fe21(0x11a)][_0x40fe21(0x14e)](_0x3b1846=>{const _0x5b8470=_0x40fe21;_0x3b1846[_0x5b8470(0x118)](_0x150597);}),this[_0x40fe21(0x162)][_0x40fe21(0x151)](_0x150597);}[_0x416c6d(0x12a)](_0x2a200f){const _0x3aeb21=_0x416c6d,_0x5a6283=_0x3aeb21(0x15c)+this[_0x3aeb21(0x146)]+':'+this[_0x3aeb21(0x11c)]+':'+this['id']+':'+this[_0x3aeb21(0x14a)]['id']+':'+u[_0x3aeb21(0x15f)]();this[_0x3aeb21(0x120)](_0x5a6283),this[_0x3aeb21(0x11a)][_0x3aeb21(0x14e)](_0x50c21f=>{const _0x39af0e=_0x3aeb21;_0x50c21f[_0x39af0e(0x157)](_0x5a6283,{'range':_0x2a200f,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x416c6d(0x165)](_0x3fd45e){const _0x27c522=_0x416c6d;for(const _0x22106e of this[_0x27c522(0x138)]())if(_0x22106e[_0x27c522(0x15b)](_0x3fd45e))return!0x0;return!0x1;}[_0x416c6d(0x138)](){const _0x9be4b8=_0x416c6d;return this[_0x9be4b8(0x156)]()[_0x9be4b8(0x153)](_0x4f0f7b=>_0x4f0f7b[_0x9be4b8(0x143)]());}[_0x416c6d(0x13e)](){const _0x5ec397=_0x416c6d;return this[_0x5ec397(0x138)]()[_0x5ec397(0x166)]((_0x379150,_0x4d7118)=>[..._0x379150,..._0x4d7118[_0x5ec397(0x13e)]()],[]);}[_0x416c6d(0x137)](){const _0x1402ce=_0x416c6d;var _0x25701b;return(null===(_0x25701b=this[_0x1402ce(0x12d)]())||void 0x0===_0x25701b?void 0x0:_0x25701b[_0x1402ce(0x143)]())||null;}[_0x416c6d(0x141)](){const _0x1e6342=_0x416c6d,_0x2e40fe=this[_0x1e6342(0x138)]();if(0x1!=_0x2e40fe[_0x1e6342(0x124)])return null;const _0x59798e=_0x2e40fe[0x0],_0x4e7145=_0x59798e[_0x1e6342(0x158)][_0x1e6342(0x148)],_0x3445de=_0x59798e[_0x1e6342(0x134)][_0x1e6342(0x135)];return _0x4e7145 instanceof _0x589ffd?_0x4e7145!=_0x3445de?null:_0x4e7145:null;}[_0x416c6d(0x147)](){const _0x74f932=_0x416c6d;this[_0x74f932(0x144)](this[_0x74f932(0x138)](),this[_0x74f932(0x12c)],this[_0x74f932(0x125)]),this[_0x74f932(0x128)]();}[_0x416c6d(0x139)](){const _0x566c95=_0x416c6d;this[_0x566c95(0x11e)](this[_0x566c95(0x138)](),this[_0x566c95(0x12c)],this[_0x566c95(0x125)]),this[_0x566c95(0x128)]();}[_0x416c6d(0x11b)](){const _0x476cac=_0x416c6d,_0x52119b=[];let _0x1528ff=this[_0x476cac(0x160)];for(;_0x1528ff;)_0x52119b[_0x476cac(0x14f)](_0x1528ff),_0x1528ff=_0x1528ff[_0x476cac(0x11d)];return _0x52119b;}[_0x416c6d(0x14b)](_0x253c90,_0x1b06d1){const _0x2759f3=_0x416c6d,_0x25141d=_0x4f3bfa(this[_0x2759f3(0x125)]);_0x1db444(_0x25141d,_0x253c90,_0x1b06d1),_0x54fffd(_0x25141d,this[_0x2759f3(0x125)])||(this[_0x2759f3(0x125)]=_0x25141d,this[_0x2759f3(0x133)](_0x25141d));}[_0x416c6d(0x13d)](_0x2ab0c7){const _0xd96d1=_0x416c6d,_0x194eda=_0x4f3bfa(this[_0xd96d1(0x125)]);_0x3f50a6(_0x194eda,_0x2ab0c7),_0x54fffd(_0x194eda,this[_0xd96d1(0x125)])||(this[_0xd96d1(0x125)]=_0x194eda,this[_0xd96d1(0x133)](this[_0xd96d1(0x125)]));}[_0x416c6d(0x136)](){const _0xbe4cf5=_0x416c6d;return{'id':this['id'],'type':this[_0xbe4cf5(0x11c)]?this[_0xbe4cf5(0x146)]+':'+this[_0xbe4cf5(0x11c)]:this[_0xbe4cf5(0x146)],'authorId':this[_0xbe4cf5(0x14a)]['id'],'createdAt':this[_0xbe4cf5(0x131)],'hasComments':this[_0xbe4cf5(0x149)],'data':this[_0xbe4cf5(0x12c)],'attributes':this[_0xbe4cf5(0x125)]};}static[_0x416c6d(0x15f)](){const _0x48c6f8=_0x416c6d;return _0x163b6f()[_0x48c6f8(0x152)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4b3e(_0x4fcae3,_0x364fc0){const _0xd2a683=_0xd2a6();return _0x4b3e=function(_0x4b3e8d,_0x1e5ec5){_0x4b3e8d=_0x4b3e8d-0x15c;let _0x4810b1=_0xd2a683[_0x4b3e8d];return _0x4810b1;},_0x4b3e(_0x4fcae3,_0x364fc0);}const _0x47795a=_0x4b3e;(function(_0x5c0864,_0x3ba486){const _0x52c0f4=_0x4b3e,_0x18e933=_0x5c0864();while(!![]){try{const _0x5a45ac=parseInt(_0x52c0f4(0x1b1))/0x1*(-parseInt(_0x52c0f4(0x17e))/0x2)+parseInt(_0x52c0f4(0x19c))/0x3+-parseInt(_0x52c0f4(0x1b2))/0x4+-parseInt(_0x52c0f4(0x17b))/0x5+-parseInt(_0x52c0f4(0x192))/0x6+parseInt(_0x52c0f4(0x171))/0x7+parseInt(_0x52c0f4(0x185))/0x8;if(_0x5a45ac===_0x3ba486)break;else _0x18e933['push'](_0x18e933['shift']());}catch(_0x203fe8){_0x18e933['push'](_0x18e933['shift']());}}}(_0xd2a6,0xee97b));import{getTranslation as _0x2dd3de}from'./utils/common-translations.js';function _0xd2a6(){const _0x225e9b=['type','addFormat','subType','remove','131xHjYCN','7357172QtrRIg','_resolveDescriptionItems','_customCallbacks','push','*Set\x20format:*\x20%0','REPLACE_TEXT','replace','*Remove\x20format:*\x20%0','*Change\x20to:*\x20%0','map','_itemLabels','element','registerElementLabel','getDescriptions','isInContent','format','matchingCallback','end','data','EmptyContainer','start','getWalker','_attributeLabels','isEqual','nextSibling','nodeAfter','Object','isEmpty','join','_handleCustomCallbackDescription','64638BPmhnx','ELEMENT_SPACE','newValue','$textProxy','_handleInsertRemoveSuggestionDescription','_addDescriptionItems','text','function','_itemLabelsCallbacks','item','7382075DLdWya','*Insert:*\x20%0','removeContainer','20330ITdHKl','get','_locale','addObject','add','attribute','name','35910464sxGCUo','*Merge:*\x20%0','*Remove:*\x20%0','normal','_handleAttributeSuggestionDescription','label','elementEnd','*Split:*\x20%0','deletion','addContainer','removeObject','set','match','1109394zVWCVa','$text','previousSibling','pop','registerAttributeLabel','insertion','has','elementStart','key','skip','3934365wDTiUh','length','quantity','getItemLabel','indexOf','Container','addEmptyContainer','$1\x20$2','removeFormat','getFirstRange','_schema','_handleRenameSuggestionDescription','registerDescriptionCallback','removeEmptyContainer','isObject','checkChild','softBreak'];_0xd2a6=function(){return _0x225e9b;};return _0xd2a6();}import{priorities as _0x3ecc24,insertToPriorityArray as _0x463f13}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x355b81}from'./trackchangesediting.js';export default class f{constructor(_0x5b6e5a,_0xcbdbd9){const _0x346903=_0x4b3e;this[_0x346903(0x1b4)]=[],this[_0x346903(0x15d)]=new Map(),this[_0x346903(0x179)]=[],this[_0x346903(0x169)]=new Map(),this[_0x346903(0x1a6)]=_0x5b6e5a,this[_0x346903(0x180)]=_0xcbdbd9;}[_0x47795a(0x160)](_0x576cf9){const _0x368c25=_0x47795a,_0x285964=[],_0x1a39d9=new Set(),_0x430056=new Set();for(let _0x556838=0x0;_0x556838<_0x576cf9[_0x368c25(0x19d)];_0x556838++){const _0x428b53=_0x576cf9[_0x556838];if(!_0x428b53[_0x368c25(0x161)])continue;const _0x3a5457=this[_0x368c25(0x170)](_0x428b53);if(_0x3a5457){if(null!=_0x428b53[_0x368c25(0x1af)]){if(_0x1a39d9[_0x368c25(0x198)](_0x428b53[_0x368c25(0x1af)]))continue;_0x1a39d9[_0x368c25(0x182)](_0x428b53[_0x368c25(0x1af)]);}_0x285964[_0x368c25(0x1b5)](_0x3a5457);}else{if(_0x368c25(0x183)!=_0x428b53[_0x368c25(0x1ad)])_0x368c25(0x197)!=_0x428b53[_0x368c25(0x1ad)]&&_0x368c25(0x18d)!=_0x428b53[_0x368c25(0x1ad)]||this[_0x368c25(0x175)](_0x285964,_0x428b53,_0x576cf9[_0x556838+0x1]);else{const _0x5eb33c=_0x428b53[_0x368c25(0x165)][_0x368c25(0x19a)];if(_0x430056[_0x368c25(0x198)](_0x5eb33c))continue;_0x430056[_0x368c25(0x182)](_0x428b53[_0x368c25(0x165)][_0x368c25(0x19a)]),_0x5eb33c==_0x355b81?this[_0x368c25(0x1a7)](_0x285964,_0x428b53):this[_0x368c25(0x189)](_0x285964,_0x428b53);}}}return this[_0x368c25(0x1b3)](_0x285964);}[_0x47795a(0x1a8)](_0x18a8af){const _0x1954cb=_0x47795a;this[_0x1954cb(0x1b4)][_0x1954cb(0x1b5)](_0x18a8af);}[_0x47795a(0x15f)](_0x542fad,_0x41ca50,_0x43ef62=_0x3ecc24[_0x47795a(0x188)]){const _0x2977e4=_0x47795a;_0x2977e4(0x178)==typeof _0x542fad?_0x463f13(this[_0x2977e4(0x179)],{'matchingCallback':_0x542fad,'label':_0x41ca50,'priority':_0x43ef62}):this[_0x2977e4(0x15d)][_0x2977e4(0x190)](_0x542fad,_0x41ca50);}[_0x47795a(0x196)](_0xa111b3,_0x10db55){const _0x37e01d=_0x47795a;this[_0x37e01d(0x169)][_0x37e01d(0x190)](_0xa111b3,_0x10db55);}[_0x47795a(0x19f)](_0x3e7f7d,_0x57822c=0x1){const _0x3a1ebb=_0x47795a;let _0x4dab2c;for(const _0x4c69be of this[_0x3a1ebb(0x179)])if(_0x4c69be[_0x3a1ebb(0x163)](_0x3e7f7d)){_0x4dab2c=_0x4c69be[_0x3a1ebb(0x18a)];break;}return _0x4dab2c||(_0x4dab2c=this[_0x3a1ebb(0x15d)][_0x3a1ebb(0x17f)](_0x3e7f7d[_0x3a1ebb(0x184)])),_0x4dab2c?_0x4dab2c(_0x57822c):0x1!==_0x57822c?_0x57822c+'\x20'+_0x3e7f7d[_0x3a1ebb(0x184)]+'s':''+_0x3e7f7d[_0x3a1ebb(0x184)];}[_0x47795a(0x176)](_0x5ac701,_0x338fc0){const _0x593ba0=_0x47795a,_0x57dcf4=_0x338fc0[_0x593ba0(0x1a5)]()[_0x593ba0(0x168)](),_0x3051e1=_0x593ba0(0x197)==_0x338fc0[_0x593ba0(0x1ad)]?_0x593ba0(0x182):_0x593ba0(0x1b0);for(const _0x30b359 of _0x57dcf4){const _0xc9638d=_0x30b359[_0x593ba0(0x17a)],_0x3175ef=_0x5ac701[_0x5ac701[_0x593ba0(0x19d)]-0x1];if(_0xc9638d['is'](_0x593ba0(0x174)))_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)][_0x593ba0(0x1a0)](_0x593ba0(0x1a1))>-0x1&&_0x5ac701[_0x593ba0(0x195)](),_0x3175ef&&_0x593ba0(0x177)==_0x3175ef[_0x593ba0(0x1ad)]?_0x3175ef[_0x3051e1]+=_0xc9638d[_0x593ba0(0x165)]:_0x5ac701[_0x593ba0(0x1b5)]({'type':_0x593ba0(0x177),'add':_0x593ba0(0x182)==_0x3051e1?_0xc9638d[_0x593ba0(0x165)]:'','remove':_0x593ba0(0x1b0)==_0x3051e1?_0xc9638d[_0x593ba0(0x165)]:''});else{if(this[_0x593ba0(0x1a6)][_0x593ba0(0x1aa)](_0xc9638d)){const _0x1a4581=_0xc9638d;if(_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)][_0x593ba0(0x1a0)](_0x593ba0(0x1a1))>-0x1&&_0x5ac701[_0x593ba0(0x195)](),_0x593ba0(0x18b)==_0x30b359[_0x593ba0(0x1ad)])continue;_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)]==_0x3051e1+_0x593ba0(0x16d)&&_0x3175ef[_0x593ba0(0x15e)][_0x593ba0(0x184)]==_0x1a4581[_0x593ba0(0x184)]?_0x3175ef[_0x593ba0(0x19e)]++:_0x5ac701[_0x593ba0(0x1b5)]({'type':_0x3051e1+_0x593ba0(0x16d),'element':_0x1a4581,'quantity':0x1}),_0x57dcf4[_0x593ba0(0x19b)](_0x302fc7=>!(_0x593ba0(0x18b)==_0x302fc7[_0x593ba0(0x1ad)]&&_0x302fc7[_0x593ba0(0x17a)]==_0xc9638d));}else{if(this[_0x593ba0(0x1a6)][_0x593ba0(0x1ab)](_0xc9638d,_0x593ba0(0x193))||_0xc9638d['is'](_0x593ba0(0x15e),_0x593ba0(0x1ac))){const _0x2544b8=_0xc9638d;if(_0x593ba0(0x182)==_0x3051e1&&_0x593ba0(0x199)==_0x30b359[_0x593ba0(0x1ad)]||_0x593ba0(0x1b0)==_0x3051e1&&_0x593ba0(0x18b)==_0x30b359[_0x593ba0(0x1ad)])continue;if(_0x3175ef&&-0x1==_0x3175ef[_0x593ba0(0x1ad)][_0x593ba0(0x1a0)](_0x593ba0(0x1a1))){_0x593ba0(0x177)==_0x3175ef[_0x593ba0(0x1ad)]&&(_0x3175ef[_0x3051e1]+='\x0a');continue;}let _0x4dd4ff;if(_0x4dd4ff=_0x593ba0(0x182)==_0x3051e1?_0x2544b8[_0x593ba0(0x16b)]&&!this[_0x593ba0(0x1a6)][_0x593ba0(0x1aa)](_0x2544b8[_0x593ba0(0x16b)])?_0x2544b8[_0x593ba0(0x16b)]:null:_0x2544b8[_0x593ba0(0x194)]&&!this[_0x593ba0(0x1a6)][_0x593ba0(0x1aa)](_0x2544b8[_0x593ba0(0x194)])?_0x2544b8[_0x593ba0(0x194)]:null,_0x2544b8[_0x593ba0(0x16e)]||_0x4dd4ff&&_0x4dd4ff[_0x593ba0(0x16e)]){const _0x15f810=_0x4dd4ff&&_0x4dd4ff[_0x593ba0(0x16e)]?_0x4dd4ff:_0x2544b8;_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)]==_0x3051e1+_0x593ba0(0x166)&&_0x3175ef[_0x593ba0(0x15e)][_0x593ba0(0x184)]==_0x15f810[_0x593ba0(0x184)]?_0x3175ef[_0x593ba0(0x19e)]++:_0x5ac701[_0x593ba0(0x1b5)]({'type':_0x3051e1+_0x593ba0(0x166),'element':_0x15f810,'quantity':0x1});}else _0x5ac701[_0x593ba0(0x1b5)]({'type':_0x3051e1+_0x593ba0(0x1a1),'element':_0x2544b8});}}}}}[_0x47795a(0x1b3)](_0x490ead){const _0x357332=_0x47795a,_0x4e48cc=this[_0x357332(0x180)],_0xb70786=[],_0x2fe4ba=[],_0x33d246=[];for(const _0x4244c6 of _0x490ead)switch(_0x4244c6[_0x357332(0x1ad)]){case _0x357332(0x177):if(_0x4244c6[_0x357332(0x182)]=_0x4244c6[_0x357332(0x182)][_0x357332(0x1b8)](/(\S)\u000A+(\S)/g,_0x357332(0x1a3))[_0x357332(0x1b8)](/\u000A/g,''),_0x4244c6[_0x357332(0x1b0)]=_0x4244c6[_0x357332(0x1b0)][_0x357332(0x1b8)](/(\S)\u000A+(\S)/g,_0x357332(0x1a3))[_0x357332(0x1b8)](/\u000A/g,''),''!=_0x4244c6[_0x357332(0x182)]&&''!=_0x4244c6[_0x357332(0x1b0)]){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x1b8),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x1b7),['\x22'+_0x4244c6[_0x357332(0x1b0)]+'\x22','\x22'+_0x4244c6[_0x357332(0x182)]+'\x22'])});continue;}if(null!=_0x4244c6[_0x357332(0x182)][_0x357332(0x191)](/^ +$/)){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x17c),_0x2dd3de(_0x4e48cc,_0x357332(0x172),_0x4244c6[_0x357332(0x182)][_0x357332(0x19d)]))});continue;}if(null!=_0x4244c6[_0x357332(0x1b0)][_0x357332(0x191)](/^ +$/)){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x187),_0x2dd3de(_0x4e48cc,_0x357332(0x172),_0x4244c6[_0x357332(0x1b0)][_0x357332(0x19d)]))});continue;}if(''!=_0x4244c6[_0x357332(0x182)]){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x17c),'\x22'+_0x4244c6[_0x357332(0x182)]+'\x22')});continue;}_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x187),'\x22'+_0x4244c6[_0x357332(0x1b0)]+'\x22')});continue;case _0x357332(0x1a2):case _0x357332(0x181):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x17c),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x1a9):case _0x357332(0x18f):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x187),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x18e):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x18c),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x17d):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x186),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x1ae):_0x2fe4ba[_0x357332(0x1b5)](_0x4244c6[_0x357332(0x19a)]);continue;case _0x357332(0x1a4):_0x33d246[_0x357332(0x1b5)](_0x4244c6[_0x357332(0x19a)]);continue;default:_0xb70786[_0x357332(0x1b5)](_0x4244c6);}if(_0x2fe4ba[_0x357332(0x19d)]){const _0xdde082=_0x2fe4ba[_0x357332(0x15c)](_0x283e22=>this[_0x357332(0x169)][_0x357332(0x198)](_0x283e22)?this[_0x357332(0x169)][_0x357332(0x17f)](_0x283e22):_0x283e22)[_0x357332(0x16f)](',\x20');_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x162),'content':_0x2dd3de(this[_0x357332(0x180)],_0x357332(0x1b6),_0xdde082)});}if(_0x33d246[_0x357332(0x19d)]){const _0x1a9ce9=_0x33d246[_0x357332(0x15c)](_0x9e4dae=>this[_0x357332(0x169)][_0x357332(0x198)](_0x9e4dae)?this[_0x357332(0x169)][_0x357332(0x17f)](_0x9e4dae):_0x9e4dae)[_0x357332(0x16f)](',\x20');_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x162),'content':_0x2dd3de(this[_0x357332(0x180)],_0x357332(0x1b9),_0x1a9ce9)});}return _0xb70786;}[_0x47795a(0x170)](_0xd8f71b){const _0xd35513=_0x47795a;for(const _0x3415da of this[_0xd35513(0x1b4)]){const _0x29ac3e=_0x3415da(_0xd8f71b);if(_0x29ac3e&&_0xd35513(0x1ad)in _0x29ac3e)return _0x29ac3e;}}[_0x47795a(0x189)](_0x314616,_0x4f754d){const _0x5e921b=_0x47795a,_0x3b4990=_0x4f754d[_0x5e921b(0x165)],_0x131713=void 0x0===_0x3b4990[_0x5e921b(0x173)]?_0x5e921b(0x1a4):_0x5e921b(0x1ae);_0x314616[_0x5e921b(0x1b5)]({'type':_0x131713,'key':_0x3b4990[_0x5e921b(0x19a)]});}[_0x47795a(0x1a7)](_0x3d7c01,_0x1dfc61){const _0x2035c7=_0x47795a;_0x3d7c01[_0x2035c7(0x1b5)]({'type':_0x2035c7(0x162),'content':_0x2dd3de(this[_0x2035c7(0x180)],_0x2035c7(0x1ba),this[_0x2035c7(0x19f)](_0x1dfc61[_0x2035c7(0x1a5)]()[_0x2035c7(0x167)][_0x2035c7(0x16c)],0x1))});}[_0x47795a(0x175)](_0x4bf473,_0x100da9,_0x32b64a){const _0x5555c7=_0x47795a;if(this[_0x5555c7(0x176)](_0x4bf473,_0x100da9),_0x32b64a&&_0x32b64a[_0x5555c7(0x1a5)]()&&!_0x100da9[_0x5555c7(0x1a5)]()[_0x5555c7(0x164)][_0x5555c7(0x16a)](_0x32b64a[_0x5555c7(0x1a5)]()[_0x5555c7(0x167)])){const _0x435863=_0x4bf473[_0x4bf473[_0x5555c7(0x19d)]-0x1],_0x58bb65=_0x5555c7(0x197)==_0x100da9[_0x5555c7(0x1ad)]?_0x5555c7(0x182):_0x5555c7(0x1b0);_0x435863&&_0x5555c7(0x177)==_0x435863[_0x5555c7(0x1ad)]&&(_0x435863[_0x58bb65]+='\x0a');}}}
|
|
23
|
+
const _0x2a06e0=_0x1ef4;(function(_0x1c2fff,_0x265d18){const _0x277559=_0x1ef4,_0x346067=_0x1c2fff();while(!![]){try{const _0x3a0488=-parseInt(_0x277559(0x104))/0x1+parseInt(_0x277559(0xce))/0x2*(-parseInt(_0x277559(0xf3))/0x3)+parseInt(_0x277559(0xfb))/0x4+parseInt(_0x277559(0xf5))/0x5+parseInt(_0x277559(0x103))/0x6+-parseInt(_0x277559(0xee))/0x7*(parseInt(_0x277559(0xdf))/0x8)+-parseInt(_0x277559(0xf0))/0x9;if(_0x3a0488===_0x265d18)break;else _0x346067['push'](_0x346067['shift']());}catch(_0x589913){_0x346067['push'](_0x346067['shift']());}}}(_0x2121,0xc0fe9));function _0x2121(){const _0x42cd79=['1328229GeEVPb','set','quantity','Object','text','_handleCustomCallbackDescription','newValue','addFormat','removeFormat','element','softBreak','elementEnd','deletion','addObject','*Change\x20to:*\x20%0','removeContainer','_handleRenameSuggestionDescription','_attributeLabels','checkChild','has','*Set\x20format:*\x20%0','label','_schema','_itemLabels','registerElementLabel','elementStart','length','*Remove\x20format:*\x20%0','key','_handleAttributeSuggestionDescription','end','registerAttributeLabel','name','*Remove:*\x20%0','subType','format','addEmptyContainer','isEmpty','function','attribute','removeObject','isInContent','2nvVpzK','Container','*Merge:*\x20%0','removeEmptyContainer','start','type','push','$text','REPLACE_TEXT','previousSibling','registerDescriptionCallback','addContainer','getWalker','matchingCallback','replace','_addDescriptionItems','isEqual','16HgDDCj','$textProxy','item','skip','_resolveDescriptionItems','data','indexOf','_itemLabelsCallbacks','getItemLabel','join','remove','_locale','get','isObject','map','122269iwJQgs','*Insert:*\x20%0','8918415KmUSjU','match','_handleInsertRemoveSuggestionDescription','1958622ZMHYdB','_customCallbacks','6881820UakfVK','ELEMENT_SPACE','getFirstRange','normal','add','*Split:*\x20%0','5629472feStMF','pop','EmptyContainer','nodeAfter','insertion','nextSibling','getDescriptions','$1\x20$2','6082470yVGvMI'];_0x2121=function(){return _0x42cd79;};return _0x2121();}import{getTranslation as _0x2752a6}from'./utils/common-translations.js';import{priorities as _0x2bc854,insertToPriorityArray as _0x139dc0}from'ckeditor5/src/utils.js';function _0x1ef4(_0x19b603,_0x102546){const _0x2121f2=_0x2121();return _0x1ef4=function(_0x1ef408,_0x37682b){_0x1ef408=_0x1ef408-0xce;let _0x3cffa7=_0x2121f2[_0x1ef408];return _0x3cffa7;},_0x1ef4(_0x19b603,_0x102546);}import{renameAttributeKey as _0x199b95}from'./trackchangesediting.js';export default class f{constructor(_0x3a9d0c,_0x5a9bb4){const _0x1c7a15=_0x1ef4;this[_0x1c7a15(0xf4)]=[],this[_0x1c7a15(0x11b)]=new Map(),this[_0x1c7a15(0xe6)]=[],this[_0x1c7a15(0x115)]=new Map(),this[_0x1c7a15(0x11a)]=_0x3a9d0c,this[_0x1c7a15(0xea)]=_0x5a9bb4;}[_0x2a06e0(0x101)](_0x1d4aa8){const _0x200e0e=_0x2a06e0,_0x1a1511=[],_0x40b9de=new Set(),_0xfddfab=new Set();for(let _0x578431=0x0;_0x578431<_0x1d4aa8[_0x200e0e(0x11e)];_0x578431++){const _0x20ead9=_0x1d4aa8[_0x578431];if(!_0x20ead9[_0x200e0e(0x12d)])continue;const _0x3df64a=this[_0x200e0e(0x109)](_0x20ead9);if(_0x3df64a){if(null!=_0x20ead9[_0x200e0e(0x126)]){if(_0x40b9de[_0x200e0e(0x117)](_0x20ead9[_0x200e0e(0x126)]))continue;_0x40b9de[_0x200e0e(0xf9)](_0x20ead9[_0x200e0e(0x126)]);}_0x1a1511[_0x200e0e(0xd4)](_0x3df64a);}else{if(_0x200e0e(0x12b)!=_0x20ead9[_0x200e0e(0xd3)])_0x200e0e(0xff)!=_0x20ead9[_0x200e0e(0xd3)]&&_0x200e0e(0x110)!=_0x20ead9[_0x200e0e(0xd3)]||this[_0x200e0e(0xf2)](_0x1a1511,_0x20ead9,_0x1d4aa8[_0x578431+0x1]);else{const _0x1ecabb=_0x20ead9[_0x200e0e(0xe4)][_0x200e0e(0x120)];if(_0xfddfab[_0x200e0e(0x117)](_0x1ecabb))continue;_0xfddfab[_0x200e0e(0xf9)](_0x20ead9[_0x200e0e(0xe4)][_0x200e0e(0x120)]),_0x1ecabb==_0x199b95?this[_0x200e0e(0x114)](_0x1a1511,_0x20ead9):this[_0x200e0e(0x121)](_0x1a1511,_0x20ead9);}}}return this[_0x200e0e(0xe3)](_0x1a1511);}[_0x2a06e0(0xd8)](_0x227158){const _0x511c8c=_0x2a06e0;this[_0x511c8c(0xf4)][_0x511c8c(0xd4)](_0x227158);}[_0x2a06e0(0x11c)](_0x384855,_0x155e5b,_0x2ecc7c=_0x2bc854[_0x2a06e0(0xf8)]){const _0x164e61=_0x2a06e0;_0x164e61(0x12a)==typeof _0x384855?_0x139dc0(this[_0x164e61(0xe6)],{'matchingCallback':_0x384855,'label':_0x155e5b,'priority':_0x2ecc7c}):this[_0x164e61(0x11b)][_0x164e61(0x105)](_0x384855,_0x155e5b);}[_0x2a06e0(0x123)](_0x541b53,_0x4c5a75){const _0x481a0f=_0x2a06e0;this[_0x481a0f(0x115)][_0x481a0f(0x105)](_0x541b53,_0x4c5a75);}[_0x2a06e0(0xe7)](_0xd354e7,_0x207c02=0x1){const _0x2f4969=_0x2a06e0;let _0x308667;for(const _0x26eafc of this[_0x2f4969(0xe6)])if(_0x26eafc[_0x2f4969(0xdb)](_0xd354e7)){_0x308667=_0x26eafc[_0x2f4969(0x119)];break;}return _0x308667||(_0x308667=this[_0x2f4969(0x11b)][_0x2f4969(0xeb)](_0xd354e7[_0x2f4969(0x124)])),_0x308667?_0x308667(_0x207c02):0x1!==_0x207c02?_0x207c02+'\x20'+_0xd354e7[_0x2f4969(0x124)]+'s':''+_0xd354e7[_0x2f4969(0x124)];}[_0x2a06e0(0xdd)](_0xc601d9,_0x5735b3){const _0x5773f=_0x2a06e0,_0x4e2971=_0x5735b3[_0x5773f(0xf7)]()[_0x5773f(0xda)](),_0x2f23fe=_0x5773f(0xff)==_0x5735b3[_0x5773f(0xd3)]?_0x5773f(0xf9):_0x5773f(0xe9);for(const _0x38de1d of _0x4e2971){const _0x28d288=_0x38de1d[_0x5773f(0xe1)],_0x38a63c=_0xc601d9[_0xc601d9[_0x5773f(0x11e)]-0x1];if(_0x28d288['is'](_0x5773f(0xe0)))_0x38a63c&&_0x38a63c[_0x5773f(0xd3)][_0x5773f(0xe5)](_0x5773f(0xcf))>-0x1&&_0xc601d9[_0x5773f(0xfc)](),_0x38a63c&&_0x5773f(0x108)==_0x38a63c[_0x5773f(0xd3)]?_0x38a63c[_0x2f23fe]+=_0x28d288[_0x5773f(0xe4)]:_0xc601d9[_0x5773f(0xd4)]({'type':_0x5773f(0x108),'add':_0x5773f(0xf9)==_0x2f23fe?_0x28d288[_0x5773f(0xe4)]:'','remove':_0x5773f(0xe9)==_0x2f23fe?_0x28d288[_0x5773f(0xe4)]:''});else{if(this[_0x5773f(0x11a)][_0x5773f(0xec)](_0x28d288)){const _0x1f4578=_0x28d288;if(_0x38a63c&&_0x38a63c[_0x5773f(0xd3)][_0x5773f(0xe5)](_0x5773f(0xcf))>-0x1&&_0xc601d9[_0x5773f(0xfc)](),_0x5773f(0x10f)==_0x38de1d[_0x5773f(0xd3)])continue;_0x38a63c&&_0x38a63c[_0x5773f(0xd3)]==_0x2f23fe+_0x5773f(0x107)&&_0x38a63c[_0x5773f(0x10d)][_0x5773f(0x124)]==_0x1f4578[_0x5773f(0x124)]?_0x38a63c[_0x5773f(0x106)]++:_0xc601d9[_0x5773f(0xd4)]({'type':_0x2f23fe+_0x5773f(0x107),'element':_0x1f4578,'quantity':0x1}),_0x4e2971[_0x5773f(0xe2)](_0x2195e5=>!(_0x5773f(0x10f)==_0x2195e5[_0x5773f(0xd3)]&&_0x2195e5[_0x5773f(0xe1)]==_0x28d288));}else{if(this[_0x5773f(0x11a)][_0x5773f(0x116)](_0x28d288,_0x5773f(0xd5))||_0x28d288['is'](_0x5773f(0x10d),_0x5773f(0x10e))){const _0x13a50e=_0x28d288;if(_0x5773f(0xf9)==_0x2f23fe&&_0x5773f(0x11d)==_0x38de1d[_0x5773f(0xd3)]||_0x5773f(0xe9)==_0x2f23fe&&_0x5773f(0x10f)==_0x38de1d[_0x5773f(0xd3)])continue;if(_0x38a63c&&-0x1==_0x38a63c[_0x5773f(0xd3)][_0x5773f(0xe5)](_0x5773f(0xcf))){_0x5773f(0x108)==_0x38a63c[_0x5773f(0xd3)]&&(_0x38a63c[_0x2f23fe]+='\x0a');continue;}let _0x13013b;if(_0x13013b=_0x5773f(0xf9)==_0x2f23fe?_0x13a50e[_0x5773f(0x100)]&&!this[_0x5773f(0x11a)][_0x5773f(0xec)](_0x13a50e[_0x5773f(0x100)])?_0x13a50e[_0x5773f(0x100)]:null:_0x13a50e[_0x5773f(0xd7)]&&!this[_0x5773f(0x11a)][_0x5773f(0xec)](_0x13a50e[_0x5773f(0xd7)])?_0x13a50e[_0x5773f(0xd7)]:null,_0x13a50e[_0x5773f(0x129)]||_0x13013b&&_0x13013b[_0x5773f(0x129)]){const _0x11412c=_0x13013b&&_0x13013b[_0x5773f(0x129)]?_0x13013b:_0x13a50e;_0x38a63c&&_0x38a63c[_0x5773f(0xd3)]==_0x2f23fe+_0x5773f(0xfd)&&_0x38a63c[_0x5773f(0x10d)][_0x5773f(0x124)]==_0x11412c[_0x5773f(0x124)]?_0x38a63c[_0x5773f(0x106)]++:_0xc601d9[_0x5773f(0xd4)]({'type':_0x2f23fe+_0x5773f(0xfd),'element':_0x11412c,'quantity':0x1});}else _0xc601d9[_0x5773f(0xd4)]({'type':_0x2f23fe+_0x5773f(0xcf),'element':_0x13a50e});}}}}}[_0x2a06e0(0xe3)](_0x55228b){const _0x4699bb=_0x2a06e0,_0x4fef45=this[_0x4699bb(0xea)],_0x217d97=[],_0x2a4d54=[],_0x571a34=[];for(const _0x37748 of _0x55228b)switch(_0x37748[_0x4699bb(0xd3)]){case _0x4699bb(0x108):if(_0x37748[_0x4699bb(0xf9)]=_0x37748[_0x4699bb(0xf9)][_0x4699bb(0xdc)](/(\S)\u000A+(\S)/g,_0x4699bb(0x102))[_0x4699bb(0xdc)](/\u000A/g,''),_0x37748[_0x4699bb(0xe9)]=_0x37748[_0x4699bb(0xe9)][_0x4699bb(0xdc)](/(\S)\u000A+(\S)/g,_0x4699bb(0x102))[_0x4699bb(0xdc)](/\u000A/g,''),''!=_0x37748[_0x4699bb(0xf9)]&&''!=_0x37748[_0x4699bb(0xe9)]){_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xdc),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xd6),['\x22'+_0x37748[_0x4699bb(0xe9)]+'\x22','\x22'+_0x37748[_0x4699bb(0xf9)]+'\x22'])});continue;}if(null!=_0x37748[_0x4699bb(0xf9)][_0x4699bb(0xf1)](/^ +$/)){_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xff),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xef),_0x2752a6(_0x4fef45,_0x4699bb(0xf6),_0x37748[_0x4699bb(0xf9)][_0x4699bb(0x11e)]))});continue;}if(null!=_0x37748[_0x4699bb(0xe9)][_0x4699bb(0xf1)](/^ +$/)){_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x110),'content':_0x2752a6(_0x4fef45,_0x4699bb(0x125),_0x2752a6(_0x4fef45,_0x4699bb(0xf6),_0x37748[_0x4699bb(0xe9)][_0x4699bb(0x11e)]))});continue;}if(''!=_0x37748[_0x4699bb(0xf9)]){_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xff),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xef),'\x22'+_0x37748[_0x4699bb(0xf9)]+'\x22')});continue;}_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x110),'content':_0x2752a6(_0x4fef45,_0x4699bb(0x125),'\x22'+_0x37748[_0x4699bb(0xe9)]+'\x22')});continue;case _0x4699bb(0x128):case _0x4699bb(0x111):_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xff),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xef),this[_0x4699bb(0xe7)](_0x37748[_0x4699bb(0x10d)],_0x37748[_0x4699bb(0x106)]))});continue;case _0x4699bb(0xd1):case _0x4699bb(0x12c):_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x110),'content':_0x2752a6(_0x4fef45,_0x4699bb(0x125),this[_0x4699bb(0xe7)](_0x37748[_0x4699bb(0x10d)],_0x37748[_0x4699bb(0x106)]))});continue;case _0x4699bb(0xd9):_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0xff),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xfa),this[_0x4699bb(0xe7)](_0x37748[_0x4699bb(0x10d)],_0x37748[_0x4699bb(0x106)]))});continue;case _0x4699bb(0x113):_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x110),'content':_0x2752a6(_0x4fef45,_0x4699bb(0xd0),this[_0x4699bb(0xe7)](_0x37748[_0x4699bb(0x10d)],_0x37748[_0x4699bb(0x106)]))});continue;case _0x4699bb(0x10b):_0x2a4d54[_0x4699bb(0xd4)](_0x37748[_0x4699bb(0x120)]);continue;case _0x4699bb(0x10c):_0x571a34[_0x4699bb(0xd4)](_0x37748[_0x4699bb(0x120)]);continue;default:_0x217d97[_0x4699bb(0xd4)](_0x37748);}if(_0x2a4d54[_0x4699bb(0x11e)]){const _0x6ee9e6=_0x2a4d54[_0x4699bb(0xed)](_0x249d88=>this[_0x4699bb(0x115)][_0x4699bb(0x117)](_0x249d88)?this[_0x4699bb(0x115)][_0x4699bb(0xeb)](_0x249d88):_0x249d88)[_0x4699bb(0xe8)](',\x20');_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x127),'content':_0x2752a6(this[_0x4699bb(0xea)],_0x4699bb(0x118),_0x6ee9e6)});}if(_0x571a34[_0x4699bb(0x11e)]){const _0x44deb2=_0x571a34[_0x4699bb(0xed)](_0x52293f=>this[_0x4699bb(0x115)][_0x4699bb(0x117)](_0x52293f)?this[_0x4699bb(0x115)][_0x4699bb(0xeb)](_0x52293f):_0x52293f)[_0x4699bb(0xe8)](',\x20');_0x217d97[_0x4699bb(0xd4)]({'type':_0x4699bb(0x127),'content':_0x2752a6(this[_0x4699bb(0xea)],_0x4699bb(0x11f),_0x44deb2)});}return _0x217d97;}[_0x2a06e0(0x109)](_0x2268c8){const _0x39cd39=_0x2a06e0;for(const _0x5a29cd of this[_0x39cd39(0xf4)]){const _0x506e0c=_0x5a29cd(_0x2268c8);if(_0x506e0c&&_0x39cd39(0xd3)in _0x506e0c)return _0x506e0c;}}[_0x2a06e0(0x121)](_0x4b9c6a,_0x50ae6a){const _0xafb2e0=_0x2a06e0,_0x44ec61=_0x50ae6a[_0xafb2e0(0xe4)],_0x3f8011=void 0x0===_0x44ec61[_0xafb2e0(0x10a)]?_0xafb2e0(0x10c):_0xafb2e0(0x10b);_0x4b9c6a[_0xafb2e0(0xd4)]({'type':_0x3f8011,'key':_0x44ec61[_0xafb2e0(0x120)]});}[_0x2a06e0(0x114)](_0x130da1,_0x5bcd6b){const _0x3fbfa5=_0x2a06e0;_0x130da1[_0x3fbfa5(0xd4)]({'type':_0x3fbfa5(0x127),'content':_0x2752a6(this[_0x3fbfa5(0xea)],_0x3fbfa5(0x112),this[_0x3fbfa5(0xe7)](_0x5bcd6b[_0x3fbfa5(0xf7)]()[_0x3fbfa5(0xd2)][_0x3fbfa5(0xfe)],0x1))});}[_0x2a06e0(0xf2)](_0x53c040,_0x135c09,_0x5d8f9a){const _0x54b254=_0x2a06e0;if(this[_0x54b254(0xdd)](_0x53c040,_0x135c09),_0x5d8f9a&&_0x5d8f9a[_0x54b254(0xf7)]()&&!_0x135c09[_0x54b254(0xf7)]()[_0x54b254(0x122)][_0x54b254(0xde)](_0x5d8f9a[_0x54b254(0xf7)]()[_0x54b254(0xd2)])){const _0x352888=_0x53c040[_0x53c040[_0x54b254(0x11e)]-0x1],_0x50024c=_0x54b254(0xff)==_0x135c09[_0x54b254(0xd3)]?_0x54b254(0xf9):_0x54b254(0xe9);_0x352888&&_0x54b254(0x108)==_0x352888[_0x54b254(0xd3)]&&(_0x352888[_0x50024c]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x434a(_0x5e840c,_0x4461a9){var _0x3d81c1=_0x3d81();return _0x434a=function(_0x434a00,_0x4b922b){_0x434a00=_0x434a00-0x18c;var _0x498fd8=_0x3d81c1[_0x434a00];return _0x498fd8;},_0x434a(_0x5e840c,_0x4461a9);}var _0x3335bc=_0x434a;(function(_0x528e2a,_0xe9daf9){var _0xb6603a=_0x434a,_0x2fc430=_0x528e2a();while(!![]){try{var _0x375278=-parseInt(_0xb6603a(0x1a0))/0x1+parseInt(_0xb6603a(0x19d))/0x2*(-parseInt(_0xb6603a(0x191))/0x3)+parseInt(_0xb6603a(0x190))/0x4+-parseInt(_0xb6603a(0x197))/0x5*(-parseInt(_0xb6603a(0x18d))/0x6)+-parseInt(_0xb6603a(0x1a2))/0x7*(-parseInt(_0xb6603a(0x18e))/0x8)+-parseInt(_0xb6603a(0x199))/0x9*(parseInt(_0xb6603a(0x19a))/0xa)+-parseInt(_0xb6603a(0x195))/0xb*(-parseInt(_0xb6603a(0x198))/0xc);if(_0x375278===_0xe9daf9)break;else _0x2fc430['push'](_0x2fc430['shift']());}catch(_0x65791b){_0x2fc430['push'](_0x2fc430['shift']());}}}(_0x3d81,0xe4682));function _0x3d81(){var _0x410481=['pluginName','1691393NmzdqG','adapter','770fBCEmV','get','plugins','12XtxrGS','36160rxhGod','Comments','4210204ArwOVT','771JdLxoU','editor','getSuggestion','requires','266057RsCtps','addSuggestion','3813755jLAfzo','1284PcyXUp','9ETUsfn','18546290AvNnSp','TrackChanges','getSuggestions','9196LRIhiD','addSuggestionData'];_0x3d81=function(){return _0x410481;};return _0x3d81();}import{Plugin as _0x8fc272}from'ckeditor5/src/core.js';import _0x2e6b85 from'./trackchangesui.js';import _0x4d4080 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x8fc272{static get[_0x3335bc(0x194)](){var _0x12c94f=_0x3335bc;return[_0x4d4080,_0x2e6b85,_0x12c94f(0x18f)];}static get[_0x3335bc(0x19f)](){var _0x49604b=_0x3335bc;return _0x49604b(0x19b);}set[_0x3335bc(0x1a1)](_0x4ba297){var _0x46ad28=_0x3335bc;this[_0x46ad28(0x192)][_0x46ad28(0x18c)][_0x46ad28(0x1a3)](_0x4d4080)[_0x46ad28(0x1a1)]=_0x4ba297;}get[_0x3335bc(0x1a1)](){var _0x2ab6b5=_0x3335bc;return this[_0x2ab6b5(0x192)][_0x2ab6b5(0x18c)][_0x2ab6b5(0x1a3)](_0x4d4080)[_0x2ab6b5(0x1a1)];}[_0x3335bc(0x196)](_0x695e5b){var _0x39d68b=_0x3335bc;return this[_0x39d68b(0x192)][_0x39d68b(0x18c)][_0x39d68b(0x1a3)](_0x4d4080)[_0x39d68b(0x19e)](_0x695e5b);}[_0x3335bc(0x19c)]({skipNotAttached:_0x452f77=!0x1,toJSON:_0x3b888b=!0x1}={}){var _0xf5fdeb=_0x3335bc;return this[_0xf5fdeb(0x192)][_0xf5fdeb(0x18c)][_0xf5fdeb(0x1a3)](_0x4d4080)[_0xf5fdeb(0x19c)]({'skipNotAttached':_0x452f77,'toJSON':_0x3b888b});}[_0x3335bc(0x193)](_0x2e0182){var _0x3e72b6=_0x3335bc;return this[_0x3e72b6(0x192)][_0x3e72b6(0x18c)][_0x3e72b6(0x1a3)](_0x4d4080)[_0x3e72b6(0x193)](_0x2e0182);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3e21a2=_0x1885;(function(_0x16fe8f,_0x52edfb){const _0x102aea=_0x1885,_0x445a6c=_0x16fe8f();while(!![]){try{const _0x4a14b3=parseInt(_0x102aea(0xc7))/0x1+parseInt(_0x102aea(0xad))/0x2+parseInt(_0x102aea(0xc2))/0x3*(parseInt(_0x102aea(0xb5))/0x4)+-parseInt(_0x102aea(0xb6))/0x5*(-parseInt(_0x102aea(0xc9))/0x6)+-parseInt(_0x102aea(0xc8))/0x7*(parseInt(_0x102aea(0xba))/0x8)+parseInt(_0x102aea(0xd3))/0x9+-parseInt(_0x102aea(0xb9))/0xa;if(_0x4a14b3===_0x52edfb)break;else _0x445a6c['push'](_0x445a6c['shift']());}catch(_0x145398){_0x445a6c['push'](_0x445a6c['shift']());}}}(_0x5c6d,0x6977c));import{Plugin as _0x1bca5c}from'ckeditor5/src/core.js';import{CKEditorError as _0x4b1fac}from'ckeditor5/src/utils.js';import _0x42c538 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x56ee70}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x3e21a2(0xcd)];function _0x5c6d(){const _0xd2f65=['requires','track-changes-data-invalid-editor-creator','11813930DufGmv','16QhraAk','createDocumentFragment','name','function','model','CommentsRepository','trackChangesData.editorCreator','get','216CfnjXf','data','result','plugins','define','46382eACgcy','1168713MKMJSe','1578HZells','create','_adapter','appendChild','Pagination','constructor','trackChangesData','getFullData','getSuggestions','set','4399443PAEJcZ','createElement','useAnonymousUser','addSuggestionData','end','TrackChangesEditing','getDataWithDiscardedSuggestions','push','Users','TrackChangesData','users','editor','rootsAttributes','acceptAllSuggestions','getUser','init','getRootsAttributes','document','getDataWithAcceptedSuggestions','config','destroy','map','addUser','TrackChangesDataGetter','98904gEHSao','pluginName','discardAllSuggestions','editorCreator','reduce','div','getRootNames','execute','44464PYxDmy','10690COLgUM'];_0x5c6d=function(){return _0xd2f65;};return _0x5c6d();}function _0x1885(_0x47dddf,_0x1553ab){const _0x5c6d2c=_0x5c6d();return _0x1885=function(_0x18852e,_0x400461){_0x18852e=_0x18852e-0xac;let _0x5123b7=_0x5c6d2c[_0x18852e];return _0x5123b7;},_0x1885(_0x47dddf,_0x1553ab);}export default class P extends _0x1bca5c{static get[_0x3e21a2(0xb7)](){return[_0x42c538];}static get[_0x3e21a2(0xae)](){const _0x21e750=_0x3e21a2;return _0x21e750(0xdc);}[_0x3e21a2(0xe2)](){const _0x54d13f=_0x3e21a2,_0x16f571=this[_0x54d13f(0xde)];if(_0x16f571[_0x54d13f(0xe6)][_0x54d13f(0xc6)](_0x54d13f(0xc0),_0x54ff8a=>{const _0x2edbf7=_0x54d13f,_0x1adfc8=_0x16f571[_0x2edbf7(0xbe)][_0x2edbf7(0xe4)][_0x2edbf7(0xb3)]()[_0x2edbf7(0xb1)]((_0x30f6f1,_0x3dd376)=>(_0x30f6f1[_0x3dd376]='',_0x30f6f1),{});return _0x16f571[_0x2edbf7(0xce)][_0x2edbf7(0xca)](_0x1adfc8,_0x54ff8a);}),_0x54d13f(0xbd)!=typeof _0x16f571[_0x54d13f(0xe6)][_0x54d13f(0xc1)](_0x54d13f(0xcf))[_0x54d13f(0xb0)])throw new _0x4b1fac(_0x54d13f(0xb8));}[_0x3e21a2(0xe5)](_0x109a88){const _0x30cf9e=_0x3e21a2;return N(this[_0x30cf9e(0xde)],!0x0,_0x109a88);}[_0x3e21a2(0xd9)](_0x542094){const _0x3c6750=_0x3e21a2;return N(this[_0x3c6750(0xde)],!0x1,_0x542094);}}class D extends _0x1bca5c{static get[_0x3e21a2(0xae)](){const _0x97cc69=_0x3e21a2;return _0x97cc69(0xac);}constructor(_0x588dc4){const _0x6578dd=_0x3e21a2;super(_0x588dc4),this[_0x6578dd(0xc4)]=_0x6578dd(0xd7);}[_0x3e21a2(0xe2)](){const _0x588f23=_0x3e21a2;this[_0x588f23(0xde)][_0x588f23(0xc5)][_0x588f23(0xc1)](_0x588f23(0xbf))[_0x588f23(0xcb)]={'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[_0x588f23(0xde)][_0x588f23(0xc5)][_0x588f23(0xc1)](_0x588f23(0xd8))[_0x588f23(0xcb)]=null;}}function v(_0x2e8ab6){const _0x423ad5=_0x3e21a2;return void 0x0!==_0x2e8ab6[_0x423ad5(0xe3)];}async function N(_0x5c0a97,_0xfd3f0c,_0x5a0752){const _0x8d651=_0x3e21a2,_0x1cb1bc=_0x56ee70(_0x5c0a97,T);_0x1cb1bc[_0x8d651(0xc5)][_0x8d651(0xda)](_0x42c538,D),_0x1cb1bc[_0x8d651(0xdf)]=v(_0x5c0a97)?_0x5c0a97[_0x8d651(0xe3)]():void 0x0;const _0x27a169=document[_0x8d651(0xbb)](),_0x1a6092=_0x5c0a97[_0x8d651(0xe6)][_0x8d651(0xc1)](_0x8d651(0xcf))[_0x8d651(0xb0)],_0x13f44e=await _0x1a6092(_0x1cb1bc,()=>function(_0x36beea){const _0x25c622=_0x8d651,_0x488fed=document[_0x25c622(0xd4)](_0x25c622(0xb2));return _0x36beea[_0x25c622(0xcc)](_0x488fed),_0x488fed;}(_0x27a169));!function(_0x12d1e5,_0x240600){const _0x1d8ae9=_0x8d651,_0x22dfbd=_0x12d1e5[_0x1d8ae9(0xbe)][_0x1d8ae9(0xe4)][_0x1d8ae9(0xb3)]()[_0x1d8ae9(0xb1)]((_0x298be2,_0x388e77)=>(_0x298be2[_0x388e77]=_0x12d1e5[_0x1d8ae9(0xc3)][_0x1d8ae9(0xc1)]({'rootName':_0x388e77}),_0x298be2),{}),_0x5ddfd3=_0x12d1e5[_0x1d8ae9(0xc5)][_0x1d8ae9(0xc1)](_0x1d8ae9(0xdb))[_0x1d8ae9(0xdd)][_0x1d8ae9(0xe8)](_0x138cef=>({'id':_0x138cef['id'],'name':_0x138cef[_0x1d8ae9(0xbc)]})),_0x377d27=_0x12d1e5[_0x1d8ae9(0xc5)][_0x1d8ae9(0xc1)](_0x1d8ae9(0xd8))[_0x1d8ae9(0xd1)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x31240f=_0x240600[_0x1d8ae9(0xc5)][_0x1d8ae9(0xc1)](_0x1d8ae9(0xdb)),_0x13d19f=_0x240600[_0x1d8ae9(0xc5)][_0x1d8ae9(0xc1)](_0x1d8ae9(0xd8));for(const _0x1de44e of _0x5ddfd3)_0x31240f[_0x1d8ae9(0xe1)](_0x1de44e['id'])||_0x31240f[_0x1d8ae9(0xe9)](_0x1de44e);_0x31240f['me']||_0x31240f[_0x1d8ae9(0xd5)]();for(const _0x36a97 of _0x377d27)_0x13d19f[_0x1d8ae9(0xd6)](_0x36a97);_0x240600[_0x1d8ae9(0xc3)][_0x1d8ae9(0xd2)](_0x22dfbd);}(_0x5c0a97,_0x13f44e),_0x13f44e[_0x8d651(0xb4)](_0xfd3f0c?_0x8d651(0xe0):_0x8d651(0xaf));const _0x40429c=v(_0x13f44e)?_0x13f44e[_0x8d651(0xd0)](_0x5a0752):_0x13f44e[_0x8d651(0xc3)][_0x8d651(0xc1)](_0x5a0752);return await _0x13f44e[_0x8d651(0xe7)](),_0x40429c;}
|