@ckeditor/ckeditor5-track-changes 47.6.1 → 47.6.2-alpha.1
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 +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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/bs.js +1 -1
- package/dist/translations/bs.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-ch.js +1 -1
- package/dist/translations/de-ch.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.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/ti.js +1 -1
- package/dist/translations/ti.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/ug.js +1 -1
- package/dist/translations/ug.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/uz.js +1 -1
- package/dist/translations/uz.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 +26 -26
- 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/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.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/bookmark.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/emoji.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/footnotes.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/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.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/uploadcare.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/trackchangespreview.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/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.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 _0x3d6e77=_0x9588;function _0x9588(_0x445eb6,_0x198138){const _0x2ff756=_0x2ff7();return _0x9588=function(_0x958830,_0x400be1){_0x958830=_0x958830-0x16b;let _0x3dae43=_0x2ff756[_0x958830];return _0x3dae43;},_0x9588(_0x445eb6,_0x198138);}(function(_0x5184ae,_0x5d7589){const _0x45c8cd=_0x9588,_0x6a4110=_0x5184ae();while(!![]){try{const _0x5384cb=parseInt(_0x45c8cd(0x18a))/0x1*(parseInt(_0x45c8cd(0x190))/0x2)+parseInt(_0x45c8cd(0x192))/0x3*(-parseInt(_0x45c8cd(0x1a6))/0x4)+parseInt(_0x45c8cd(0x19b))/0x5*(parseInt(_0x45c8cd(0x193))/0x6)+parseInt(_0x45c8cd(0x184))/0x7*(parseInt(_0x45c8cd(0x181))/0x8)+parseInt(_0x45c8cd(0x188))/0x9*(-parseInt(_0x45c8cd(0x19d))/0xa)+parseInt(_0x45c8cd(0x1a9))/0xb+parseInt(_0x45c8cd(0x171))/0xc*(-parseInt(_0x45c8cd(0x1ab))/0xd);if(_0x5384cb===_0x5d7589)break;else _0x6a4110['push'](_0x6a4110['shift']());}catch(_0x10746b){_0x6a4110['push'](_0x6a4110['shift']());}}}(_0x2ff7,0xe5172));import{Plugin as _0x5e4678}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x20e8e9}from'./table.js';function _0x2ff7(){const _0x3cb2c7=['detach','direction','push','mergeTableCells','table','$graveyard','get','331592QUGqKX','getFirstPosition','getSelectionAffectedTableCells','2551978Ljcwst','has','2729753IWQMzp','containsRange','return','createRangeOn','cell','formatBlock','*Split\x20cell:*\x20vertically','requires','editor','low','_acceptFormatSuggestionCallbackFactory','subType','TableEditing','fromRange','splitTableCellHorizontally','root','author','_areSelectedCellsMergable','find','mergeTableCellUp','mergeTableCellRight','format','trackChanges','enableCommand','setSelection','getSuggestions','map','refresh','size','getRanges','_areMergableCells','model','forceDefaultExecution','getAncestors','mergeTableCellDown','isInContent','registerDescriptionCallback','splitTableCellVertically','set:isEnabled','markBlockFormat','_suggestionFactory','formatInline','selection','findAncestor','72cgsJwW','_isForcedDefaultExecutionBlock','value','element','*Split\x20cell:*\x20horizontally','deletion','locale','createTableWalker','from','tableCell','insertion','horizontally','accept','TableUtils','markMultiRangeBlockFormat','document','26856lPNNrJ','mergeTableCellLeft','isEnabled','1239tsZcDL','type','add','rootName','9469233WWZsXj','commandName','1VsFqFy','TrackChangesEditing','descriptionFactory','getCellLocation','*Merge\x20cells*','_tablePostFixingSubtypes','2302322CjLsxV','change','9DJIQej','1304334CUrnwx','afterInit','filter','commands','length','highest','plugins','stop','35iJuBAX','execute','10HpXFal','registerCustomCallback'];_0x2ff7=function(){return _0x3cb2c7;};return _0x2ff7();}import{ModelLiveRange as _0x496a6f}from'ckeditor5/src/engine.js';import{getTranslation as _0x25e778}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x5e4678{static get[_0x3d6e77(0x1b2)](){return[_0x20e8e9];}[_0x3d6e77(0x194)](){const _0x438dbf=_0x3d6e77,_0x363254=this[_0x438dbf(0x1b3)],_0x57258b=_0x363254[_0x438dbf(0x1ca)][_0x438dbf(0x180)][_0x438dbf(0x16f)],_0x5b3a97=_0x363254[_0x438dbf(0x177)];if(!_0x363254[_0x438dbf(0x199)][_0x438dbf(0x1aa)](_0x438dbf(0x1b7)))return;const _0x5c5f81=_0x363254[_0x438dbf(0x199)][_0x438dbf(0x1a5)](_0x438dbf(0x18b)),_0x3811b1=_0x363254[_0x438dbf(0x199)][_0x438dbf(0x1a5)](_0x438dbf(0x17e)),_0x3d6f0f=_0x363254[_0x438dbf(0x199)][_0x438dbf(0x1a5)](_0x20e8e9);_0x3d6f0f[_0x438dbf(0x18f)][_0x438dbf(0x1a1)](_0x438dbf(0x1a2)),_0x5c5f81[_0x438dbf(0x1c2)](_0x438dbf(0x1a2),()=>{const _0x138166=_0x438dbf,_0x25bac9=_0x3811b1[_0x138166(0x1a8)](_0x363254[_0x138166(0x1ca)][_0x138166(0x180)][_0x138166(0x16f)]);_0x363254[_0x138166(0x1ca)][_0x138166(0x191)](()=>{const _0x1b4e9e=_0x138166;_0x5c5f81[_0x1b4e9e(0x17f)](_0x25bac9,{'commandName':_0x1b4e9e(0x1a2),'commandParams':[]},[],_0x1b4e9e(0x1a2));});}),_0x363254[_0x438dbf(0x196)][_0x438dbf(0x1a5)](_0x438dbf(0x1a2))['on'](_0x438dbf(0x19c),(_0x3788ff,_0x2ba2d8)=>{const _0x572c10=_0x438dbf;_0x363254[_0x572c10(0x196)][_0x572c10(0x1a5)](_0x572c10(0x1c1))[_0x572c10(0x173)]&&(_0x2ba2d8[_0x572c10(0x197)]>0x0&&_0x2ba2d8[_0x2ba2d8[_0x572c10(0x197)]-0x1]&&_0x2ba2d8[_0x2ba2d8[_0x572c10(0x197)]-0x1][_0x572c10(0x1cb)]||_0x5c5f81[_0x572c10(0x172)]||this[_0x572c10(0x1bc)]()||_0x3788ff[_0x572c10(0x19a)]());},{'priority':_0x438dbf(0x198)});for(const _0xf8c60b of[_0x438dbf(0x1be),_0x438dbf(0x1bf),_0x438dbf(0x1cd),_0x438dbf(0x182)]){const _0x8d3cde=_0x363254[_0x438dbf(0x196)][_0x438dbf(0x1a5)](_0xf8c60b);_0x5c5f81[_0x438dbf(0x1c2)](_0xf8c60b,()=>{const _0x44437c=_0x438dbf,_0x20e6ac=_0x363254[_0x44437c(0x1ca)][_0x44437c(0x180)][_0x44437c(0x16f)][_0x44437c(0x1a7)]()[_0x44437c(0x1cc)]()[_0x44437c(0x1bd)](_0x7ab10f=>_0x7ab10f['is'](_0x44437c(0x174),_0x44437c(0x17a))),_0x1ca426=_0x8d3cde[_0x44437c(0x173)];_0x363254[_0x44437c(0x1ca)][_0x44437c(0x191)](()=>{const _0x1a29a6=_0x44437c;_0x5c5f81[_0x1a29a6(0x17f)]([_0x20e6ac,_0x1ca426],{'commandName':_0x1a29a6(0x1a2),'commandParams':[]},[],_0x1a29a6(0x1a2));});});}for(const _0x2051d2 of[_0x438dbf(0x1d0),_0x438dbf(0x1b9)]){const _0x1e589d=_0x363254[_0x438dbf(0x196)][_0x438dbf(0x1a5)](_0x2051d2);_0x5c5f81[_0x438dbf(0x1c2)](_0x2051d2,()=>{const _0x18aeee=_0x438dbf,_0x282fc2=_0x3811b1[_0x18aeee(0x1a8)](_0x363254[_0x18aeee(0x1ca)][_0x18aeee(0x180)][_0x18aeee(0x16f)])[0x0],_0x5f3c65=_0x282fc2[_0x18aeee(0x170)](_0x18aeee(0x1a3)),{column:_0x1b8d3e,row:_0x373e94}=_0x3811b1[_0x18aeee(0x18d)](_0x282fc2);let _0x50708d=[];if(_0x18aeee(0x17c)==_0x1e589d[_0x18aeee(0x1a0)]){const _0x12fe57=_0x3811b1[_0x18aeee(0x178)](_0x5f3c65,{'startRow':_0x373e94,'endRow':_0x373e94,'includeAllSlots':!0x0});_0x50708d=Array[_0x18aeee(0x179)](_0x12fe57)[_0x18aeee(0x1c5)](_0x22b5ed=>_0x22b5ed[_0x18aeee(0x1af)]);}else{const _0x1d2bbe=_0x3811b1[_0x18aeee(0x178)](_0x5f3c65,{'column':_0x1b8d3e,'includeAllSlots':!0x0});_0x50708d=Array[_0x18aeee(0x179)](_0x1d2bbe)[_0x18aeee(0x1c5)](_0x24860c=>_0x24860c[_0x18aeee(0x1af)]);}_0x363254[_0x18aeee(0x1ca)][_0x18aeee(0x191)](_0x1b4867=>{const _0x55db7a=_0x18aeee;_0x5c5f81[_0x55db7a(0x16c)](_0x1b4867[_0x55db7a(0x1ae)](_0x282fc2),{'commandName':_0x2051d2,'commandParams':[]},_0x50708d,_0x2051d2);});});}_0x5c5f81[_0x438dbf(0x18c)][_0x438dbf(0x1cf)](_0x7a0d60=>{const _0x5745a5=_0x438dbf;if(_0x5745a5(0x1b0)!=_0x7a0d60[_0x5745a5(0x185)]&&_0x5745a5(0x16e)!=_0x7a0d60[_0x5745a5(0x185)])return;const {data:_0x287a99}=_0x7a0d60;return _0x287a99&&_0x5745a5(0x1a2)==_0x287a99[_0x5745a5(0x189)]?{'type':_0x5745a5(0x1c0),'content':_0x25e778(_0x5b3a97,_0x5745a5(0x18e))}:void 0x0;}),_0x5c5f81[_0x438dbf(0x18c)][_0x438dbf(0x1cf)](_0x1e202f=>{const _0x283810=_0x438dbf;if(_0x283810(0x1b0)!=_0x1e202f[_0x283810(0x185)]&&_0x283810(0x16e)!=_0x1e202f[_0x283810(0x185)])return;const {data:_0xfe2dea}=_0x1e202f;return _0xfe2dea?_0x283810(0x1d0)==_0xfe2dea[_0x283810(0x189)]?{'type':_0x283810(0x1c0),'content':_0x25e778(_0x5b3a97,_0x283810(0x1b1))}:_0x283810(0x1b9)==_0xfe2dea[_0x283810(0x189)]?{'type':_0x283810(0x1c0),'content':_0x25e778(_0x5b3a97,_0x283810(0x175))}:void 0x0:void 0x0;});const _0x53fb28=_0x3d6f0f[_0x438dbf(0x1b5)]();for(const _0x11711b of[_0x438dbf(0x1be),_0x438dbf(0x1bf),_0x438dbf(0x1cd),_0x438dbf(0x182)])_0x5c5f81[_0x438dbf(0x16d)][_0x438dbf(0x19e)](_0x438dbf(0x1b0),_0x11711b,_0x438dbf(0x17d),_0x53fb28);for(const _0x13bc64 of[_0x438dbf(0x1d0),_0x438dbf(0x1b9)])_0x5c5f81[_0x438dbf(0x16d)][_0x438dbf(0x19e)](_0x438dbf(0x1b0),_0x13bc64,_0x438dbf(0x17d),_0x53fb28);_0x5c5f81[_0x438dbf(0x16d)][_0x438dbf(0x19e)](_0x438dbf(0x1b0),_0x438dbf(0x1a2),_0x438dbf(0x17d),_0x1cc46a=>{const _0x5df473=_0x438dbf;_0x363254[_0x5df473(0x1ca)][_0x5df473(0x191)](_0x2b12f3=>{const _0x3725f8=_0x5df473,_0x10f788=Array[_0x3725f8(0x179)](_0x57258b[_0x3725f8(0x1c8)]())[_0x3725f8(0x1c5)](_0x199ae7=>_0x496a6f[_0x3725f8(0x1b8)](_0x199ae7));_0x2b12f3[_0x3725f8(0x1c3)](_0x1cc46a),_0x363254[_0x3725f8(0x196)][_0x3725f8(0x1a5)](_0x3725f8(0x1a2))[_0x3725f8(0x1c6)](),_0x363254[_0x3725f8(0x19c)](_0x3725f8(0x1a2),{'forceDefaultExecution':!0x0});const _0x19f939=_0x10f788[_0x3725f8(0x195)](_0x47c980=>_0x3725f8(0x1a4)!=_0x47c980[_0x3725f8(0x1ba)][_0x3725f8(0x187)]);_0x19f939[_0x3725f8(0x197)]>0x0&&_0x2b12f3[_0x3725f8(0x1c3)](_0x19f939);for(const _0x118b27 of _0x10f788)_0x118b27[_0x3725f8(0x19f)]();});});for(const _0x3f243f of[_0x438dbf(0x1be),_0x438dbf(0x1cd),_0x438dbf(0x182),_0x438dbf(0x1bf)]){const _0x5ce27b=_0x363254[_0x438dbf(0x196)][_0x438dbf(0x1a5)](_0x3f243f);_0x5ce27b['on'](_0x438dbf(0x16b),(_0x45c6f9,_0x24e7bf,_0x304e11)=>{const _0x67cbf0=_0x438dbf;if(_0x304e11){const _0x267e3e=_0x363254[_0x67cbf0(0x1ca)][_0x67cbf0(0x180)][_0x67cbf0(0x16f)][_0x67cbf0(0x1a7)]()[_0x67cbf0(0x1cc)]()[_0x67cbf0(0x1bd)](_0x498366=>_0x498366['is'](_0x67cbf0(0x174),_0x67cbf0(0x17a)));this[_0x67cbf0(0x1c9)](_0x5ce27b[_0x67cbf0(0x173)],_0x267e3e)||(_0x45c6f9[_0x67cbf0(0x1ad)]=!0x1,_0x45c6f9[_0x67cbf0(0x19a)]());}},{'priority':_0x438dbf(0x1b4)});}}[_0x3d6e77(0x1bc)](){const _0x29c8cc=_0x3d6e77,_0xed9caa=this[_0x29c8cc(0x1b3)][_0x29c8cc(0x196)][_0x29c8cc(0x1a5)](_0x29c8cc(0x1a2)),_0x315a41=this[_0x29c8cc(0x1b3)][_0x29c8cc(0x199)][_0x29c8cc(0x1a5)](_0x29c8cc(0x17e));if(!_0xed9caa[_0x29c8cc(0x183)])return!0x1;const _0x259e34=_0x315a41[_0x29c8cc(0x1a8)](this[_0x29c8cc(0x1b3)][_0x29c8cc(0x1ca)][_0x29c8cc(0x180)][_0x29c8cc(0x16f)]);for(const _0x475e61 of _0x259e34)for(const _0x47585f of _0x259e34)if(_0x475e61!=_0x47585f&&!this[_0x29c8cc(0x1c9)](_0x475e61,_0x47585f))return!0x1;return!0x0;}[_0x3d6e77(0x1c9)](_0x2d1501,_0x5807ac){const _0xd7935c=_0x3d6e77,_0x45c3bf=this[_0xd7935c(0x1b3)][_0xd7935c(0x199)][_0xd7935c(0x1a5)](_0xd7935c(0x18b)),_0x1cd1dc=this[_0xd7935c(0x1b3)][_0xd7935c(0x1ca)][_0xd7935c(0x1ae)](_0x2d1501),_0x132409=this[_0xd7935c(0x1b3)][_0xd7935c(0x1ca)][_0xd7935c(0x1ae)](_0x5807ac),_0x1762b4=new Set(),_0x4561ec=new Set();for(const _0x427a7c of _0x45c3bf[_0xd7935c(0x1c4)]())if((_0xd7935c(0x17b)==_0x427a7c[_0xd7935c(0x185)]||_0xd7935c(0x176)==_0x427a7c[_0xd7935c(0x185)]||_0xd7935c(0x1a2)==_0x427a7c[_0xd7935c(0x1b6)])&&_0x427a7c[_0xd7935c(0x1ce)]){for(const _0x537753 of _0x427a7c[_0xd7935c(0x1c8)]())_0x537753[_0xd7935c(0x1ac)](_0x1cd1dc,!0x0)&&_0x1762b4[_0xd7935c(0x186)](_0x427a7c[_0xd7935c(0x185)]+':'+_0x427a7c[_0xd7935c(0x1bb)]['id']),_0x537753[_0xd7935c(0x1ac)](_0x132409,!0x0)&&_0x4561ec[_0xd7935c(0x186)](_0x427a7c[_0xd7935c(0x185)]+':'+_0x427a7c[_0xd7935c(0x1bb)]['id']);}if(_0x1762b4[_0xd7935c(0x1c7)]!=_0x4561ec[_0xd7935c(0x1c7)])return!0x1;for(const _0x4ff216 of _0x1762b4)if(!_0x4561ec[_0xd7935c(0x1aa)](_0x4ff216))return!0x1;return!0x0;}}
|
|
23
|
+
function _0x3190(){const _0x188383=['getCellLocation','table','enableCommand','cell','locale','highest','from','horizontally','*Split\x20cell:*\x20vertically','requires','getSelectionAffectedTableCells','forceDefaultExecution','push','length','map','fromRange','210IeZEQE','28yRFLbe','getRanges','deletion','size','*Merge\x20cells*','editor','$graveyard','1465830OVoJgj','splitTableCellHorizontally','findAncestor','321EKshtN','*Split\x20cell:*\x20horizontally','markBlockFormat','subType','mergeTableCellRight','_suggestionFactory','value','add','descriptionFactory','TrackChangesEditing','commandName','splitTableCellVertically','_areMergableCells','trackChanges','mergeTableCellDown','formatBlock','rootName','has','set:isEnabled','18410SZZXmK','find','createRangeOn','mergeTableCellUp','filter','markMultiRangeBlockFormat','registerDescriptionCallback','root','setSelection','direction','element','997552VtsZoE','model','insertion','commands','mergeTableCells','4048naQlkQ','afterInit','_areSelectedCellsMergable','getSuggestions','type','author','921429VDFkGA','stop','getAncestors','registerCustomCallback','159140Zznure','containsRange','formatInline','isInContent','mergeTableCellLeft','format','24542whxfEX','get','_acceptFormatSuggestionCallbackFactory','selection','TableEditing','getFirstPosition','_isForcedDefaultExecutionBlock','_tablePostFixingSubtypes','return','document','isEnabled','plugins','tableCell','detach','2062MvIxwa','refresh','accept','execute','TableUtils','change','createTableWalker','low'];_0x3190=function(){return _0x188383;};return _0x3190();}const _0x41cdc6=_0xa380;(function(_0x458ef5,_0x5f1ae8){const _0x59f38b=_0xa380,_0x38a39a=_0x458ef5();while(!![]){try{const _0x4ce548=-parseInt(_0x59f38b(0x16f))/0x1*(parseInt(_0x59f38b(0x14c))/0x2)+-parseInt(_0x59f38b(0x134))/0x3+parseInt(_0x59f38b(0x165))/0x4*(parseInt(_0x59f38b(0x138))/0x5)+-parseInt(_0x59f38b(0x164))/0x6*(parseInt(_0x59f38b(0x13e))/0x7)+-parseInt(_0x59f38b(0x129))/0x8+parseInt(_0x59f38b(0x16c))/0x9+parseInt(_0x59f38b(0x182))/0xa*(parseInt(_0x59f38b(0x12e))/0xb);if(_0x4ce548===_0x5f1ae8)break;else _0x38a39a['push'](_0x38a39a['shift']());}catch(_0x415dd3){_0x38a39a['push'](_0x38a39a['shift']());}}}(_0x3190,0x2b5f8));function _0xa380(_0x1caa71,_0x5c35f5){const _0x3190d0=_0x3190();return _0xa380=function(_0x1ef655,_0x181896){_0x1ef655=_0x1ef655-0x11f;let _0x2771f6=_0x3190d0[_0x1ef655];return _0x2771f6;},_0xa380(_0x1caa71,_0x5c35f5);}import{Plugin as _0x5f0ff9}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x27d210}from'./table.js';import{ModelLiveRange as _0x37381b}from'ckeditor5/src/engine.js';import{getTranslation as _0x44810a}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x5f0ff9{static get[_0x41cdc6(0x15d)](){return[_0x27d210];}[_0x41cdc6(0x12f)](){const _0x22a3cd=_0x41cdc6,_0x3b3d60=this[_0x22a3cd(0x16a)],_0x4dabc2=_0x3b3d60[_0x22a3cd(0x12a)][_0x22a3cd(0x147)][_0x22a3cd(0x141)],_0x5973e5=_0x3b3d60[_0x22a3cd(0x158)];if(!_0x3b3d60[_0x22a3cd(0x149)][_0x22a3cd(0x180)](_0x22a3cd(0x142)))return;const _0xd4c72=_0x3b3d60[_0x22a3cd(0x149)][_0x22a3cd(0x13f)](_0x22a3cd(0x178)),_0x12c7b5=_0x3b3d60[_0x22a3cd(0x149)][_0x22a3cd(0x13f)](_0x22a3cd(0x150)),_0x3261b0=_0x3b3d60[_0x22a3cd(0x149)][_0x22a3cd(0x13f)](_0x27d210);_0x3261b0[_0x22a3cd(0x145)][_0x22a3cd(0x160)](_0x22a3cd(0x12d)),_0xd4c72[_0x22a3cd(0x156)](_0x22a3cd(0x12d),()=>{const _0x3d70ff=_0x22a3cd,_0x5894be=_0x12c7b5[_0x3d70ff(0x15e)](_0x3b3d60[_0x3d70ff(0x12a)][_0x3d70ff(0x147)][_0x3d70ff(0x141)]);_0x3b3d60[_0x3d70ff(0x12a)][_0x3d70ff(0x151)](()=>{const _0x2380ff=_0x3d70ff;_0xd4c72[_0x2380ff(0x123)](_0x5894be,{'commandName':_0x2380ff(0x12d),'commandParams':[]},[],_0x2380ff(0x12d));});}),_0x3b3d60[_0x22a3cd(0x12c)][_0x22a3cd(0x13f)](_0x22a3cd(0x12d))['on'](_0x22a3cd(0x14f),(_0x25f0d9,_0x164b42)=>{const _0x26cf3b=_0x22a3cd;_0x3b3d60[_0x26cf3b(0x12c)][_0x26cf3b(0x13f)](_0x26cf3b(0x17c))[_0x26cf3b(0x175)]&&(_0x164b42[_0x26cf3b(0x161)]>0x0&&_0x164b42[_0x164b42[_0x26cf3b(0x161)]-0x1]&&_0x164b42[_0x164b42[_0x26cf3b(0x161)]-0x1][_0x26cf3b(0x15f)]||_0xd4c72[_0x26cf3b(0x144)]||this[_0x26cf3b(0x130)]()||_0x25f0d9[_0x26cf3b(0x135)]());},{'priority':_0x22a3cd(0x159)});for(const _0x17268b of[_0x22a3cd(0x121),_0x22a3cd(0x173),_0x22a3cd(0x17d),_0x22a3cd(0x13c)]){const _0x459673=_0x3b3d60[_0x22a3cd(0x12c)][_0x22a3cd(0x13f)](_0x17268b);_0xd4c72[_0x22a3cd(0x156)](_0x17268b,()=>{const _0x48f005=_0x22a3cd,_0x5a3262=_0x3b3d60[_0x48f005(0x12a)][_0x48f005(0x147)][_0x48f005(0x141)][_0x48f005(0x143)]()[_0x48f005(0x136)]()[_0x48f005(0x11f)](_0x317f97=>_0x317f97['is'](_0x48f005(0x128),_0x48f005(0x14a))),_0x38bed8=_0x459673[_0x48f005(0x175)];_0x3b3d60[_0x48f005(0x12a)][_0x48f005(0x151)](()=>{const _0x3f619d=_0x48f005;_0xd4c72[_0x3f619d(0x123)]([_0x5a3262,_0x38bed8],{'commandName':_0x3f619d(0x12d),'commandParams':[]},[],_0x3f619d(0x12d));});});}for(const _0x2ed324 of[_0x22a3cd(0x17a),_0x22a3cd(0x16d)]){const _0xf01a33=_0x3b3d60[_0x22a3cd(0x12c)][_0x22a3cd(0x13f)](_0x2ed324);_0xd4c72[_0x22a3cd(0x156)](_0x2ed324,()=>{const _0xcb637b=_0x22a3cd,_0x1a84c2=_0x12c7b5[_0xcb637b(0x15e)](_0x3b3d60[_0xcb637b(0x12a)][_0xcb637b(0x147)][_0xcb637b(0x141)])[0x0],_0x3f3ee0=_0x1a84c2[_0xcb637b(0x16e)](_0xcb637b(0x155)),{column:_0x4e1b1d,row:_0x284015}=_0x12c7b5[_0xcb637b(0x154)](_0x1a84c2);let _0x587d79=[];if(_0xcb637b(0x15b)==_0xf01a33[_0xcb637b(0x127)]){const _0x18c0ae=_0x12c7b5[_0xcb637b(0x152)](_0x3f3ee0,{'startRow':_0x284015,'endRow':_0x284015,'includeAllSlots':!0x0});_0x587d79=Array[_0xcb637b(0x15a)](_0x18c0ae)[_0xcb637b(0x162)](_0x364f1a=>_0x364f1a[_0xcb637b(0x157)]);}else{const _0x2aedcd=_0x12c7b5[_0xcb637b(0x152)](_0x3f3ee0,{'column':_0x4e1b1d,'includeAllSlots':!0x0});_0x587d79=Array[_0xcb637b(0x15a)](_0x2aedcd)[_0xcb637b(0x162)](_0x295379=>_0x295379[_0xcb637b(0x157)]);}_0x3b3d60[_0xcb637b(0x12a)][_0xcb637b(0x151)](_0x2e2259=>{const _0x2a34d6=_0xcb637b;_0xd4c72[_0x2a34d6(0x171)](_0x2e2259[_0x2a34d6(0x120)](_0x1a84c2),{'commandName':_0x2ed324,'commandParams':[]},_0x587d79,_0x2ed324);});});}_0xd4c72[_0x22a3cd(0x177)][_0x22a3cd(0x124)](_0x1d028b=>{const _0x189281=_0x22a3cd;if(_0x189281(0x17e)!=_0x1d028b[_0x189281(0x132)]&&_0x189281(0x13a)!=_0x1d028b[_0x189281(0x132)])return;const {data:_0x1aab37}=_0x1d028b;return _0x1aab37&&_0x189281(0x12d)==_0x1aab37[_0x189281(0x179)]?{'type':_0x189281(0x13d),'content':_0x44810a(_0x5973e5,_0x189281(0x169))}:void 0x0;}),_0xd4c72[_0x22a3cd(0x177)][_0x22a3cd(0x124)](_0x36027d=>{const _0x29761c=_0x22a3cd;if(_0x29761c(0x17e)!=_0x36027d[_0x29761c(0x132)]&&_0x29761c(0x13a)!=_0x36027d[_0x29761c(0x132)])return;const {data:_0x5301bb}=_0x36027d;return _0x5301bb?_0x29761c(0x17a)==_0x5301bb[_0x29761c(0x179)]?{'type':_0x29761c(0x13d),'content':_0x44810a(_0x5973e5,_0x29761c(0x15c))}:_0x29761c(0x16d)==_0x5301bb[_0x29761c(0x179)]?{'type':_0x29761c(0x13d),'content':_0x44810a(_0x5973e5,_0x29761c(0x170))}:void 0x0:void 0x0;});const _0x335016=_0x3261b0[_0x22a3cd(0x140)]();for(const _0x2c0aef of[_0x22a3cd(0x121),_0x22a3cd(0x173),_0x22a3cd(0x17d),_0x22a3cd(0x13c)])_0xd4c72[_0x22a3cd(0x174)][_0x22a3cd(0x137)](_0x22a3cd(0x17e),_0x2c0aef,_0x22a3cd(0x14e),_0x335016);for(const _0x1727ac of[_0x22a3cd(0x17a),_0x22a3cd(0x16d)])_0xd4c72[_0x22a3cd(0x174)][_0x22a3cd(0x137)](_0x22a3cd(0x17e),_0x1727ac,_0x22a3cd(0x14e),_0x335016);_0xd4c72[_0x22a3cd(0x174)][_0x22a3cd(0x137)](_0x22a3cd(0x17e),_0x22a3cd(0x12d),_0x22a3cd(0x14e),_0x204252=>{const _0x41325b=_0x22a3cd;_0x3b3d60[_0x41325b(0x12a)][_0x41325b(0x151)](_0x41ea40=>{const _0xcf2c2c=_0x41325b,_0x465366=Array[_0xcf2c2c(0x15a)](_0x4dabc2[_0xcf2c2c(0x166)]())[_0xcf2c2c(0x162)](_0xf6777a=>_0x37381b[_0xcf2c2c(0x163)](_0xf6777a));_0x41ea40[_0xcf2c2c(0x126)](_0x204252),_0x3b3d60[_0xcf2c2c(0x12c)][_0xcf2c2c(0x13f)](_0xcf2c2c(0x12d))[_0xcf2c2c(0x14d)](),_0x3b3d60[_0xcf2c2c(0x14f)](_0xcf2c2c(0x12d),{'forceDefaultExecution':!0x0});const _0x14ba29=_0x465366[_0xcf2c2c(0x122)](_0x149252=>_0xcf2c2c(0x16b)!=_0x149252[_0xcf2c2c(0x125)][_0xcf2c2c(0x17f)]);_0x14ba29[_0xcf2c2c(0x161)]>0x0&&_0x41ea40[_0xcf2c2c(0x126)](_0x14ba29);for(const _0x4a72e7 of _0x465366)_0x4a72e7[_0xcf2c2c(0x14b)]();});});for(const _0x23e66f of[_0x22a3cd(0x121),_0x22a3cd(0x17d),_0x22a3cd(0x13c),_0x22a3cd(0x173)]){const _0x377595=_0x3b3d60[_0x22a3cd(0x12c)][_0x22a3cd(0x13f)](_0x23e66f);_0x377595['on'](_0x22a3cd(0x181),(_0x4cdeb3,_0x29d2d8,_0x54d951)=>{const _0x6bb5ab=_0x22a3cd;if(_0x54d951){const _0x1d8b92=_0x3b3d60[_0x6bb5ab(0x12a)][_0x6bb5ab(0x147)][_0x6bb5ab(0x141)][_0x6bb5ab(0x143)]()[_0x6bb5ab(0x136)]()[_0x6bb5ab(0x11f)](_0x558e2e=>_0x558e2e['is'](_0x6bb5ab(0x128),_0x6bb5ab(0x14a)));this[_0x6bb5ab(0x17b)](_0x377595[_0x6bb5ab(0x175)],_0x1d8b92)||(_0x4cdeb3[_0x6bb5ab(0x146)]=!0x1,_0x4cdeb3[_0x6bb5ab(0x135)]());}},{'priority':_0x22a3cd(0x153)});}}[_0x41cdc6(0x130)](){const _0x24cccc=_0x41cdc6,_0x51e9a9=this[_0x24cccc(0x16a)][_0x24cccc(0x12c)][_0x24cccc(0x13f)](_0x24cccc(0x12d)),_0x51572d=this[_0x24cccc(0x16a)][_0x24cccc(0x149)][_0x24cccc(0x13f)](_0x24cccc(0x150));if(!_0x51e9a9[_0x24cccc(0x148)])return!0x1;const _0x3ab922=_0x51572d[_0x24cccc(0x15e)](this[_0x24cccc(0x16a)][_0x24cccc(0x12a)][_0x24cccc(0x147)][_0x24cccc(0x141)]);for(const _0x50907e of _0x3ab922)for(const _0x3862d9 of _0x3ab922)if(_0x50907e!=_0x3862d9&&!this[_0x24cccc(0x17b)](_0x50907e,_0x3862d9))return!0x1;return!0x0;}[_0x41cdc6(0x17b)](_0x79c175,_0x156bda){const _0x548928=_0x41cdc6,_0x40e9ef=this[_0x548928(0x16a)][_0x548928(0x149)][_0x548928(0x13f)](_0x548928(0x178)),_0x5b6a7b=this[_0x548928(0x16a)][_0x548928(0x12a)][_0x548928(0x120)](_0x79c175),_0x51ca38=this[_0x548928(0x16a)][_0x548928(0x12a)][_0x548928(0x120)](_0x156bda),_0x368408=new Set(),_0x16744b=new Set();for(const _0x1e2cd4 of _0x40e9ef[_0x548928(0x131)]())if((_0x548928(0x12b)==_0x1e2cd4[_0x548928(0x132)]||_0x548928(0x167)==_0x1e2cd4[_0x548928(0x132)]||_0x548928(0x12d)==_0x1e2cd4[_0x548928(0x172)])&&_0x1e2cd4[_0x548928(0x13b)]){for(const _0x23b56e of _0x1e2cd4[_0x548928(0x166)]())_0x23b56e[_0x548928(0x139)](_0x5b6a7b,!0x0)&&_0x368408[_0x548928(0x176)](_0x1e2cd4[_0x548928(0x132)]+':'+_0x1e2cd4[_0x548928(0x133)]['id']),_0x23b56e[_0x548928(0x139)](_0x51ca38,!0x0)&&_0x16744b[_0x548928(0x176)](_0x1e2cd4[_0x548928(0x132)]+':'+_0x1e2cd4[_0x548928(0x133)]['id']);}if(_0x368408[_0x548928(0x168)]!=_0x16744b[_0x548928(0x168)])return!0x1;for(const _0x5f4f1d of _0x368408)if(!_0x16744b[_0x548928(0x180)](_0x5f4f1d))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4d4bdd=_0x1cf9;(function(_0x1d097a,_0x146c1e){const _0x1d032b=_0x1cf9,_0x2f52c1=_0x1d097a();while(!![]){try{const _0x1b4d57=parseInt(_0x1d032b(0xe0))/0x1*(-parseInt(_0x1d032b(0xdf))/0x2)+parseInt(_0x1d032b(0xed))/0x3*(parseInt(_0x1d032b(0xf7))/0x4)+parseInt(_0x1d032b(0xea))/0x5+-parseInt(_0x1d032b(0xf0))/0x6*(-parseInt(_0x1d032b(0xf5))/0x7)+parseInt(_0x1d032b(0xf4))/0x8*(parseInt(_0x1d032b(0xe8))/0x9)+-parseInt(_0x1d032b(0xe9))/0xa+parseInt(_0x1d032b(0xe5))/0xb*(parseInt(_0x1d032b(0xe7))/0xc);if(_0x1b4d57===_0x146c1e)break;else _0x2f52c1['push'](_0x2f52c1['shift']());}catch(_0x185333){_0x2f52c1['push'](_0x2f52c1['shift']());}}}(_0x4538,0x8d03b));function _0x1cf9(_0x46e0f1,_0x3a757d){const _0x45387f=_0x4538();return _0x1cf9=function(_0x1cf94a,_0x4491fe){_0x1cf94a=_0x1cf94a-0xdf;let _0x305e96=_0x45387f[_0x1cf94a];return _0x305e96;},_0x1cf9(_0x46e0f1,_0x3a757d);}import{Plugin as _0x52e133}from'ckeditor5/src/core.js';import{getTranslation as _0x3fa1b1}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x52e133{[_0x4d4bdd(0xef)](){const _0x3b19c4=_0x4d4bdd,_0x46aac0=this[_0x3b19c4(0xec)];if(!_0x46aac0[_0x3b19c4(0xe3)][_0x3b19c4(0xf2)](_0x3b19c4(0xe1)))return;_0x46aac0[_0x3b19c4(0xf3)][_0x3b19c4(0xf2)](_0x3b19c4(0xe2))[_0x3b19c4(0xeb)](_0x3b19c4(0xe1));const _0x5ea85f=_0x46aac0[_0x3b19c4(0xf3)][_0x3b19c4(0xf2)](_0x3b19c4(0xe2)),_0x97376f=_0x46aac0[_0x3b19c4(0xe6)];_0x5ea85f[_0x3b19c4(0xf1)][_0x3b19c4(0xe4)](_0x3b19c4(0xf6),_0x46d3f3=>_0x3fa1b1(_0x97376f,_0x3b19c4(0xee),_0x46d3f3));}}function _0x4538(){const _0x1f0400=['commands','registerElementLabel','913VtaczV','locale','60hubFxW','5987889HSIeFA','7542840lnWbPH','1640195FnyRYt','enableCommand','editor','18LMAwNF','ELEMENT_TABLE_OF_CONTENTS','afterInit','108BwMQPC','descriptionFactory','get','plugins','8hzjzBD','144438GqbuHr','tableOfContents','188760gkLeFy','124UPEBjg','5104YOPjSq','insertTableOfContents','TrackChangesEditing'];_0x4538=function(){return _0x1f0400;};return _0x4538();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d0d5b=_0x284d;function _0x284d(_0x33edfd,_0x1850d7){const _0x511f67=_0x511f();return _0x284d=function(_0x284d48,_0x4fb2ce){_0x284d48=_0x284d48-0x106;let _0x3b15cf=_0x511f67[_0x284d48];return _0x3b15cf;},_0x284d(_0x33edfd,_0x1850d7);}(function(_0x427804,_0x4a9463){const _0x2410f8=_0x284d,_0x2ab25c=_0x427804();while(!![]){try{const _0x23fdd3=-parseInt(_0x2410f8(0x124))/0x1+-parseInt(_0x2410f8(0x14e))/0x2*(-parseInt(_0x2410f8(0x161))/0x3)+-parseInt(_0x2410f8(0x15a))/0x4+parseInt(_0x2410f8(0x13f))/0x5+-parseInt(_0x2410f8(0x147))/0x6*(parseInt(_0x2410f8(0x12d))/0x7)+-parseInt(_0x2410f8(0x162))/0x8+parseInt(_0x2410f8(0x10d))/0x9*(parseInt(_0x2410f8(0x13d))/0xa);if(_0x23fdd3===_0x4a9463)break;else _0x2ab25c['push'](_0x2ab25c['shift']());}catch(_0x11eb79){_0x2ab25c['push'](_0x2ab25c['shift']());}}}(_0x511f,0x58ef8));import{Plugin as _0x259bae}from'ckeditor5/src/core.js';import{getTranslation as _0x1385f0}from'../utils/common-translations.js';function _0x511f(){const _0x248c01=['config','descriptionFactory','_handlePropertyChange','getSuggestions','462CyddGD','tableBorderStyle','tableHeight','tableCellHeight','locale','markBlockFormat','tableCellType','TableCellPropertiesEditing','data','tableCellBorderColor','findAncestor','discard','tableBorderWidth','handleDiscardAction','pluginName','nodeAfter','14258690CSSach','subType','2004750AWiMVE','getContainedElement','tableWidth','TrackChangesTableProperties','start','join','change','isOfficialPlugin','20442iKlvXb','selection','enableCommand','getSuggestionCallback','*Format:*\x20change\x20table\x20cell\x20properties','registerAttributeLabel','model','284xctQvj','registerCustomCallback','accept','_suggestionFactory','registerDescriptionCallback','replace','getAttribute','enqueueChange','removeAttribute','tableProperties','has','commands','1893052zNQRca','handleSuggestionDescription','_registerTablePropertiesAttributes','tableCellProperties','schema','batch','document','3738BOPJSb','3860576gSdZYa','isPremiumPlugin','tableCellBackgroundColor','format','tableCellWidth','table','tableCellBorderStyle','checkAttribute','tableCellBorderWidth','experimentalFlags.tableCellTypeSupport','9IPdcWA','TableUtils','plugins','tableCellHorizontalAlignment','tableAlignment','toUpperCase','get','setAttribute','editor','FORMAT_','TablePropertiesEditing','tableBorderColor','getSelectionAffectedTableCells','formatBlock','_getSuggestion','push','*Format:*\x20change\x20table\x20properties','getFirstPosition','afterInit','_$1','commandParams','tableCell','tableCellPadding','458774FDBaTh','tableCellVerticalAlignment','FORMAT_TABLE_CELL_TYPE','TrackChangesEditing','tableBackgroundColor'];_0x511f=function(){return _0x248c01;};return _0x511f();}export class TrackChangesTableProperties extends _0x259bae{[_0x4d0d5b(0x157)];[_0x4d0d5b(0x15d)];constructor(_0x481a33){const _0x1a86e5=_0x4d0d5b;super(_0x481a33),this[_0x1a86e5(0x157)]=[_0x1a86e5(0x118),_0x1a86e5(0x12e),_0x1a86e5(0x139),_0x1a86e5(0x111),_0x1a86e5(0x141),_0x1a86e5(0x12f),_0x1a86e5(0x128)],this[_0x1a86e5(0x15d)]=[_0x1a86e5(0x136),_0x1a86e5(0x109),_0x1a86e5(0x10b),_0x1a86e5(0x123),_0x1a86e5(0x107),_0x1a86e5(0x130),_0x1a86e5(0x164),_0x1a86e5(0x110),_0x1a86e5(0x125)],_0x481a33[_0x1a86e5(0x129)][_0x1a86e5(0x113)](_0x1a86e5(0x10c))&&this[_0x1a86e5(0x15d)][_0x1a86e5(0x11c)](_0x1a86e5(0x133));}static get[_0x4d0d5b(0x13b)](){const _0x281dd5=_0x4d0d5b;return _0x281dd5(0x142);}static get[_0x4d0d5b(0x146)](){return!0x0;}static get[_0x4d0d5b(0x163)](){return!0x0;}[_0x4d0d5b(0x11f)](){const _0x1d67d6=_0x4d0d5b,_0x375488=this[_0x1d67d6(0x115)][_0x1d67d6(0x10f)][_0x1d67d6(0x113)](_0x1d67d6(0x127));if(this[_0x1d67d6(0x115)][_0x1d67d6(0x10f)][_0x1d67d6(0x158)](_0x1d67d6(0x117))){for(const _0x37ef1a of this[_0x1d67d6(0x157)])_0x375488[_0x1d67d6(0x149)](_0x37ef1a,(_0x5ec60d,_0xfafb33)=>{const _0x53576f=_0x1d67d6,_0x551373=this[_0x53576f(0x115)][_0x53576f(0x14d)][_0x53576f(0x160)][_0x53576f(0x148)][_0x53576f(0x11e)]()[_0x53576f(0x137)](_0x53576f(0x108));this[_0x53576f(0x12b)](_0x37ef1a,[_0x551373],this[_0x53576f(0x157)],_0x53576f(0x157),_0x5ec60d,_0xfafb33);});_0x375488[_0x1d67d6(0x151)][_0x1d67d6(0x14f)](_0x1d67d6(0x11a),_0x1d67d6(0x157),_0x1d67d6(0x150),_0x375488[_0x1d67d6(0x151)][_0x1d67d6(0x14a)](_0x1d67d6(0x11a),null,_0x1d67d6(0x138))),_0x375488[_0x1d67d6(0x151)][_0x1d67d6(0x14f)](_0x1d67d6(0x11a),_0x1d67d6(0x157),_0x1d67d6(0x138),(_0x11cbb5,_0x11cb46)=>this[_0x1d67d6(0x13a)](this[_0x1d67d6(0x157)],_0x11cbb5,_0x11cb46)),_0x375488[_0x1d67d6(0x151)][_0x1d67d6(0x14f)](_0x1d67d6(0x11a),_0x1d67d6(0x157),_0x1d67d6(0x144),()=>!0x1);}if(this[_0x1d67d6(0x115)][_0x1d67d6(0x10f)][_0x1d67d6(0x158)](_0x1d67d6(0x134))){for(const _0x54e918 of this[_0x1d67d6(0x15d)])this[_0x1d67d6(0x115)][_0x1d67d6(0x159)][_0x1d67d6(0x113)](_0x54e918)&&_0x375488[_0x1d67d6(0x149)](_0x54e918,(_0x48c6a9,_0x30de32)=>{const _0x1da70f=_0x1d67d6,_0x4073ff=this[_0x1da70f(0x115)][_0x1da70f(0x10f)][_0x1da70f(0x113)](_0x1da70f(0x10e))[_0x1da70f(0x119)](this[_0x1da70f(0x115)][_0x1da70f(0x14d)][_0x1da70f(0x160)][_0x1da70f(0x148)]);this[_0x1da70f(0x12b)](_0x54e918,_0x4073ff,this[_0x1da70f(0x15d)],_0x1da70f(0x15d),_0x48c6a9,_0x30de32);});_0x375488[_0x1d67d6(0x151)][_0x1d67d6(0x14f)](_0x1d67d6(0x11a),_0x1d67d6(0x15d),_0x1d67d6(0x150),_0x375488[_0x1d67d6(0x151)][_0x1d67d6(0x14a)](_0x1d67d6(0x11a),null,_0x1d67d6(0x138))),_0x375488[_0x1d67d6(0x151)][_0x1d67d6(0x14f)](_0x1d67d6(0x11a),_0x1d67d6(0x15d),_0x1d67d6(0x138),(_0x98a0da,_0x110dec)=>this[_0x1d67d6(0x13a)](this[_0x1d67d6(0x15d)],_0x98a0da,_0x110dec)),_0x375488[_0x1d67d6(0x151)][_0x1d67d6(0x14f)](_0x1d67d6(0x11a),_0x1d67d6(0x15d),_0x1d67d6(0x144),()=>!0x1),this[_0x1d67d6(0x115)][_0x1d67d6(0x14d)][_0x1d67d6(0x15e)][_0x1d67d6(0x10a)](_0x1d67d6(0x122),_0x1d67d6(0x133))&&_0x375488[_0x1d67d6(0x12a)][_0x1d67d6(0x14c)](_0x1d67d6(0x133),_0x1385f0(this[_0x1d67d6(0x115)][_0x1d67d6(0x131)],_0x1d67d6(0x126)));}_0x375488[_0x1d67d6(0x12a)][_0x1d67d6(0x152)](_0x4ccb8f=>this[_0x1d67d6(0x15b)](_0x4ccb8f)),this[_0x1d67d6(0x15c)]();}[_0x4d0d5b(0x12b)](_0x87482b,_0x1b6dc2,_0x133883,_0x537ed3,_0x34c385,_0x1be3e7){const _0x2e2250=_0x4d0d5b,_0x3f4e50=this[_0x2e2250(0x115)][_0x2e2250(0x10f)][_0x2e2250(0x113)](_0x2e2250(0x127));this[_0x2e2250(0x115)][_0x2e2250(0x14d)][_0x2e2250(0x155)](_0x1be3e7[_0x2e2250(0x15f)],()=>{const _0x58d24a=_0x2e2250;for(const _0x400763 of _0x1b6dc2){if(this[_0x58d24a(0x11b)](_0x400763,_0x537ed3))_0x34c385(_0x1be3e7);else{const _0x36b49b={};for(const _0x521d0d of _0x133883){const _0x2fda1f=_0x400763[_0x58d24a(0x154)](_0x521d0d);void 0x0!==_0x2fda1f&&(_0x36b49b[_0x521d0d]=_0x2fda1f);}_0x34c385(_0x1be3e7),_0x3f4e50[_0x58d24a(0x132)](_0x400763,{'commandParams':[_0x36b49b]},[],_0x537ed3);}}});}[_0x4d0d5b(0x13a)](_0x537374,_0xe81507,_0x14d055){const _0x118c7b=_0x4d0d5b,_0xea7c55=_0xe81507[0x0][_0x118c7b(0x143)][_0x118c7b(0x13c)],_0x1954b7=_0x14d055[_0x118c7b(0x121)][0x0];this[_0x118c7b(0x115)][_0x118c7b(0x14d)][_0x118c7b(0x145)](_0x28e24d=>{const _0x542b6b=_0x118c7b;for(const _0x3138da of _0x537374)void 0x0!==_0x1954b7[_0x3138da]?_0x28e24d[_0x542b6b(0x114)](_0x3138da,_0x1954b7[_0x3138da],_0xea7c55):_0x28e24d[_0x542b6b(0x156)](_0x3138da,_0xea7c55);});}[_0x4d0d5b(0x15b)](_0x5b24aa){const _0x12dc71=_0x4d0d5b;if(_0x5b24aa[_0x12dc71(0x135)])switch(_0x5b24aa[_0x12dc71(0x13e)]){case _0x12dc71(0x157):return{'type':_0x12dc71(0x106),'content':_0x1385f0(this[_0x12dc71(0x115)][_0x12dc71(0x131)],_0x12dc71(0x11d))};case _0x12dc71(0x15d):return{'type':_0x12dc71(0x106),'content':_0x1385f0(this[_0x12dc71(0x115)][_0x12dc71(0x131)],_0x12dc71(0x14b))};}}[_0x4d0d5b(0x11b)](_0x4c7494,_0x57143c){const _0x245b28=_0x4d0d5b,_0x19ce13=this[_0x245b28(0x115)][_0x245b28(0x10f)][_0x245b28(0x113)](_0x245b28(0x127));for(const _0x31f5f9 of _0x19ce13[_0x245b28(0x12c)]({'skipNotAttached':!0x0})){const _0x34be0f=_0x31f5f9[_0x245b28(0x140)]();if(_0x31f5f9[_0x245b28(0x13e)]===_0x57143c&&_0x34be0f===_0x4c7494)return _0x31f5f9;}return null;}[_0x4d0d5b(0x15c)](){const _0x7e93c2=_0x4d0d5b,_0x5aef30=this[_0x7e93c2(0x115)][_0x7e93c2(0x10f)][_0x7e93c2(0x113)](_0x7e93c2(0x127)),_0x43f2f1=[...this[_0x7e93c2(0x157)],...this[_0x7e93c2(0x15d)]];for(const _0x166a34 of _0x43f2f1){const _0x2533e9=_0x166a34[_0x7e93c2(0x153)](/([A-Z])/g,_0x7e93c2(0x120))[_0x7e93c2(0x112)]();_0x5aef30[_0x7e93c2(0x12a)][_0x7e93c2(0x14c)](_0x166a34,_0x1385f0(this[_0x7e93c2(0x115)][_0x7e93c2(0x131)],_0x7e93c2(0x116)+_0x2533e9));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2975d3=_0x1fab;function _0x1fab(_0x373714,_0x38b522){const _0x222f72=_0x222f();return _0x1fab=function(_0x1faba5,_0x35ca7b){_0x1faba5=_0x1faba5-0xf4;let _0x866cea=_0x222f72[_0x1faba5];return _0x866cea;},_0x1fab(_0x373714,_0x38b522);}(function(_0x25b02a,_0x1b2bae){const _0xe86a4a=_0x1fab,_0x374c58=_0x25b02a();while(!![]){try{const _0x158bc3=-parseInt(_0xe86a4a(0xf9))/0x1*(parseInt(_0xe86a4a(0x103))/0x2)+-parseInt(_0xe86a4a(0x101))/0x3*(parseInt(_0xe86a4a(0x104))/0x4)+-parseInt(_0xe86a4a(0xfc))/0x5*(-parseInt(_0xe86a4a(0x106))/0x6)+parseInt(_0xe86a4a(0xf7))/0x7+-parseInt(_0xe86a4a(0xf8))/0x8*(-parseInt(_0xe86a4a(0xf5))/0x9)+-parseInt(_0xe86a4a(0x107))/0xa+parseInt(_0xe86a4a(0xfd))/0xb;if(_0x158bc3===_0x1b2bae)break;else _0x374c58['push'](_0x374c58['shift']());}catch(_0x16a201){_0x374c58['push'](_0x374c58['shift']());}}}(_0x222f,0x3ae7c));import{Plugin as _0x150ab1}from'ckeditor5/src/core.js';function _0x222f(){const _0x1213ac=['get','Template','115137YKytfS','insertTemplate','56414KdhnXZ','4tedonu','plugins','846mGXwTW','3500440NDVNAb','afterInit','1294884WnNQqD','enableCommand','1482614bFwLEQ','8MvybRc','8DdDXwG','editor','has','7045ZAonHX','3311088BuITxJ','TrackChangesEditing'];_0x222f=function(){return _0x1213ac;};return _0x222f();}export class TrackChangesTemplate extends _0x150ab1{[_0x2975d3(0xf4)](){const _0x5fe47e=_0x2975d3,_0x30e9b7=this[_0x5fe47e(0xfa)];_0x30e9b7[_0x5fe47e(0x105)][_0x5fe47e(0xfb)](_0x5fe47e(0x100))&&_0x30e9b7[_0x5fe47e(0x105)][_0x5fe47e(0xff)](_0x5fe47e(0xfe))[_0x5fe47e(0xf6)](_0x5fe47e(0x102));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c9491=_0x5a6f;(function(_0x1ed44c,_0x222b83){const _0x22b286=_0x5a6f,_0x11acbf=_0x1ed44c();while(!![]){try{const _0x56fda2=parseInt(_0x22b286(0x76))/0x1+parseInt(_0x22b286(0x74))/0x2+parseInt(_0x22b286(0x7b))/0x3+parseInt(_0x22b286(0x91))/0x4*(-parseInt(_0x22b286(0x73))/0x5)+-parseInt(_0x22b286(0x79))/0x6+-parseInt(_0x22b286(0x7c))/0x7*(parseInt(_0x22b286(0x6f))/0x8)+-parseInt(_0x22b286(0x8b))/0x9;if(_0x56fda2===_0x222b83)break;else _0x11acbf['push'](_0x11acbf['shift']());}catch(_0x286f07){_0x11acbf['push'](_0x11acbf['shift']());}}}(_0xf81d,0x881de));import{Plugin as _0xe12f26}from'ckeditor5/src/core.js';import{getTranslation as _0xecd7ca}from'../utils/common-translations.js';function _0x5a6f(_0x50dcbb,_0x120337){const _0xf81d44=_0xf81d();return _0x5a6f=function(_0x5a6f23,_0x32a89d){_0x5a6f23=_0x5a6f23-0x67;let _0x5bdfa6=_0xf81d44[_0x5a6f23];return _0x5bdfa6;},_0x5a6f(_0x50dcbb,_0x120337);}function _0xf81d(){const _0x8a6a9f=['1704864qZadWR','locale','2071065HnoQZp','747908jEJLBr','ELEMENT_TITLE','afterInit','model','createRange','descriptionFactory','schema','has','newRange','plugins','getNearestSelectionRange','removeMarker','_splitMarkerName','registerElementLabel','isTouching','1186425QZhTgz','updateMarker','getChangedMarkers','from','TrackChangesEditing','element','429812yJZLdL','editor','registerPostFixer','title-content','nodeBefore','isEqual','differ','get','end','32YFFJyM','document','isCollapsed','suggestion','30KaYObl','863400srJwaH','Title','923542qkUlGT','forward','start'];_0xf81d=function(){return _0x8a6a9f;};return _0xf81d();}export class TrackChangesTitle extends _0xe12f26{[_0x1c9491(0x7e)](){const _0x4dd66d=_0x1c9491,_0x1b0f4b=this[_0x4dd66d(0x67)];if(!_0x1b0f4b[_0x4dd66d(0x85)][_0x4dd66d(0x83)](_0x4dd66d(0x75)))return;const _0x335f8f=_0x1b0f4b[_0x4dd66d(0x85)][_0x4dd66d(0x6d)](_0x4dd66d(0x8f));_0x335f8f[_0x4dd66d(0x81)][_0x4dd66d(0x89)](_0x4dd66d(0x69),()=>_0xecd7ca(_0x1b0f4b[_0x4dd66d(0x7a)],_0x4dd66d(0x7d))),_0x1b0f4b[_0x4dd66d(0x7f)][_0x4dd66d(0x70)][_0x4dd66d(0x68)](_0x37712f=>{const _0x2f1781=_0x4dd66d;let _0x35511f=!0x1;const _0x5534f9=Array[_0x2f1781(0x8e)](_0x1b0f4b[_0x2f1781(0x7f)][_0x2f1781(0x70)][_0x2f1781(0x6c)][_0x2f1781(0x8d)]());for(const {name:_0xdd3616,data:_0x4a1a92}of _0x5534f9){const {group:_0x325591}=_0x335f8f[_0x2f1781(0x88)](_0xdd3616);if(_0x2f1781(0x72)!==_0x325591||!_0x4a1a92[_0x2f1781(0x84)])continue;const _0x535d6f=_0x4a1a92[_0x2f1781(0x84)],_0x5ac1c8=_0x535d6f[_0x2f1781(0x6e)][_0x2f1781(0x6a)];if(!_0x5ac1c8||!_0x5ac1c8['is'](_0x2f1781(0x90),_0x2f1781(0x69)))continue;if(!_0x535d6f[_0x2f1781(0x78)][_0x2f1781(0x8a)](_0x535d6f[_0x2f1781(0x6e)]))continue;const _0x3aeeed=_0x1b0f4b[_0x2f1781(0x7f)][_0x2f1781(0x82)][_0x2f1781(0x86)](_0x535d6f[_0x2f1781(0x6e)],_0x2f1781(0x77));if(_0x3aeeed&&_0x3aeeed[_0x2f1781(0x71)]){const _0x3467c7=_0x37712f[_0x2f1781(0x80)](_0x535d6f[_0x2f1781(0x78)],_0x3aeeed[_0x2f1781(0x78)]);_0x3467c7[_0x2f1781(0x6b)](_0x535d6f)||(_0x37712f[_0x2f1781(0x8c)](_0xdd3616,{'range':_0x3467c7}),_0x35511f=!0x0);}_0x35511f||(_0x37712f[_0x2f1781(0x87)](_0xdd3616),_0x35511f=!0x0);}return _0x35511f;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3579(_0x382e35,_0x162a00){const _0x50fc35=_0x50fc();return _0x3579=function(_0x35797f,_0x3dae61){_0x35797f=_0x35797f-0x119;let _0x18bc58=_0x50fc35[_0x35797f];return _0x18bc58;},_0x3579(_0x382e35,_0x162a00);}const _0x26d09d=_0x3579;(function(_0x557e1a,_0x3b8eae){const _0x1ed946=_0x3579,_0x4966c9=_0x557e1a();while(!![]){try{const _0xa5a39f=-parseInt(_0x1ed946(0x12a))/0x1*(parseInt(_0x1ed946(0x11a))/0x2)+parseInt(_0x1ed946(0x11c))/0x3+parseInt(_0x1ed946(0x129))/0x4*(-parseInt(_0x1ed946(0x125))/0x5)+parseInt(_0x1ed946(0x11e))/0x6*(parseInt(_0x1ed946(0x122))/0x7)+-parseInt(_0x1ed946(0x121))/0x8*(parseInt(_0x1ed946(0x119))/0x9)+-parseInt(_0x1ed946(0x11d))/0xa+parseInt(_0x1ed946(0x12c))/0xb;if(_0xa5a39f===_0x3b8eae)break;else _0x4966c9['push'](_0x4966c9['shift']());}catch(_0x1783d8){_0x4966c9['push'](_0x4966c9['shift']());}}}(_0x50fc,0xabaa3));import{Plugin as _0x1aa512}from'ckeditor5/src/core.js';function _0x50fc(){const _0xdaa0b4=['plugins','2723562uSNoLe','1028320WkCJNt','90rNtvBN','redo','undo','51448XAlMkD','4375Vzuesg','UndoEditing','TrackChangesEditing','405770LXxYBd','enableCommand','editor','get','36YVhPxP','2979kIGgWy','has','22112629sDUkxj','afterInit','792ZLvZHb','554VmYrDt'];_0x50fc=function(){return _0xdaa0b4;};return _0x50fc();}export class TrackChangesUndo extends _0x1aa512{[_0x26d09d(0x12d)](){const _0x476af5=_0x26d09d,_0x170b84=this[_0x476af5(0x127)],_0xdd36f0=_0x170b84[_0x476af5(0x11b)][_0x476af5(0x128)](_0x476af5(0x124));_0x170b84[_0x476af5(0x11b)][_0x476af5(0x12b)](_0x476af5(0x123))&&(_0xdd36f0[_0x476af5(0x126)](_0x476af5(0x120)),_0xdd36f0[_0x476af5(0x126)](_0x476af5(0x11f)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d7594=_0x2b5a;(function(_0x4467bf,_0x1d9cd2){const _0x17c6bf=_0x2b5a,_0x43e74f=_0x4467bf();while(!![]){try{const _0x131872=-parseInt(_0x17c6bf(0xbd))/0x1*(-parseInt(_0x17c6bf(0xbe))/0x2)+parseInt(_0x17c6bf(0xaf))/0x3+parseInt(_0x17c6bf(0xbf))/0x4+-parseInt(_0x17c6bf(0xb0))/0x5*(parseInt(_0x17c6bf(0xbb))/0x6)+-parseInt(_0x17c6bf(0xb9))/0x7+parseInt(_0x17c6bf(0xc1))/0x8+parseInt(_0x17c6bf(0xb8))/0x9*(-parseInt(_0x17c6bf(0xb7))/0xa);if(_0x131872===_0x1d9cd2)break;else _0x43e74f['push'](_0x43e74f['shift']());}catch(_0x1f6b41){_0x43e74f['push'](_0x43e74f['shift']());}}}(_0x428b,0x5933e));function _0x428b(){const _0x4ca828=['UploadcareImageEdit','240766QTnlmm','6GrYzwG','432564NYtTcz','has','2006120wOZpjm','enableCommand','get','uploadcare','key','registerDescriptionCallback','type','editor','enableDefaultAttributesIntegration','uploadcareImageReplace','TrackChangesEditing','uploadcareImageEdit','486330DlEArE','575hQcozH','format','uploadcareImageId','attribute','plugins','descriptionFactory','afterInit','10mhLjhV','1628973BZBjoK','1970136ypUZyI','Uploadcare','21678UQhQKw'];_0x428b=function(){return _0x4ca828;};return _0x428b();}import{Plugin as _0xf29a26}from'ckeditor5/src/core.js';function _0x2b5a(_0x1b4674,_0x1e51b5){const _0x428b42=_0x428b();return _0x2b5a=function(_0x2b5a44,_0x596b04){_0x2b5a44=_0x2b5a44-0xab;let _0x10f0d3=_0x428b42[_0x2b5a44];return _0x10f0d3;},_0x2b5a(_0x1b4674,_0x1e51b5);}export class TrackChangesUploadcare extends _0xf29a26{[_0x4d7594(0xb6)](){const _0x176967=_0x4d7594,_0x24f772=this[_0x176967(0xc8)],_0x33df63=_0x24f772[_0x176967(0xb4)][_0x176967(0xc3)](_0x176967(0xad));_0x24f772[_0x176967(0xb4)][_0x176967(0xc0)](_0x176967(0xba))&&(_0x33df63[_0x176967(0xc2)](_0x176967(0xc4)),_0x24f772[_0x176967(0xb4)][_0x176967(0xc0)](_0x176967(0xbc))&&(_0x33df63[_0x176967(0xc2)](_0x176967(0xae)),_0x33df63[_0x176967(0xab)](_0x176967(0xac)),_0x33df63[_0x176967(0xb5)][_0x176967(0xc6)](_0x4002a8=>{const _0x3d8498=_0x176967;if(_0x3d8498(0xb3)!=_0x4002a8[_0x3d8498(0xc7)])return;const {data:_0xa69041}=_0x4002a8;return _0xa69041&&_0x3d8498(0xb2)==_0xa69041[_0x3d8498(0xc5)]?{'type':_0x3d8498(0xb1),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x518f(){const _0x25486f=['push','getItems','createRangeOn','hasAttribute','4792860OGYMiW','4098590qejkTN','111eBzdKO','9CgJPck','586620FvTbwJ','4471572afaHgY','38580216AKdGuJ','42668zmGRHR','6122328mFyNgT'];_0x518f=function(){return _0x25486f;};return _0x518f();}(function(_0x1f6e10,_0x45242d){const _0x47d67a=_0x3726,_0x11f515=_0x1f6e10();while(!![]){try{const _0x167b09=parseInt(_0x47d67a(0x168))/0x1+-parseInt(_0x47d67a(0x16b))/0x2*(parseInt(_0x47d67a(0x166))/0x3)+-parseInt(_0x47d67a(0x171))/0x4+-parseInt(_0x47d67a(0x172))/0x5+-parseInt(_0x47d67a(0x16c))/0x6+-parseInt(_0x47d67a(0x169))/0x7+-parseInt(_0x47d67a(0x16a))/0x8*(-parseInt(_0x47d67a(0x167))/0x9);if(_0x167b09===_0x45242d)break;else _0x11f515['push'](_0x11f515['shift']());}catch(_0x4055ef){_0x11f515['push'](_0x11f515['shift']());}}}(_0x518f,0xe6250));function _0x3726(_0x18bb5b,_0x1b90d9){const _0x518f08=_0x518f();return _0x3726=function(_0x3726b0,_0x11058f){_0x3726b0=_0x3726b0-0x166;let _0x4267a5=_0x518f08[_0x3726b0];return _0x4267a5;},_0x3726(_0x18bb5b,_0x1b90d9);}export function getRangesWithAttribute(_0x4e6a42,_0x3de2ce,_0x57c298){const _0x364149=_0x3726,_0x358e96=[];for(const _0x53ed24 of _0x3de2ce[_0x364149(0x16e)]())_0x53ed24[_0x364149(0x170)](_0x4e6a42)&&_0x358e96[_0x364149(0x16d)](_0x57c298[_0x364149(0x16f)](_0x53ed24));return _0x358e96;}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x5274(){const _0x484891=['_saved','removeAttribute','markers','_onAccept','getRanges','next','substr','_onAttributesChange','getMultiRangeId','1DzHoyR','2121290kEHoIm','length','248360bMGjZo','isExternal','getItems','getMarkerNames','clear','4wseVbQ','_model','isIntersectingWithRange','originalSuggestionId','previous','end','_isDataLoaded','map','18WhEhws','authoredAt','removeMarker','head','commentThread','_markerNames','delete','_onDiscard','414846NqQjVz','type','data','addRange','14904186juidAS','set','reduce','filter','addMarker','34275yuYBWN','discard','split','133fKJfwC','change','addMarkerName','2380565cstQil','@external','removeMarkers','add','nodeAfter','toJSON','start','setAttribute','accept','isIntersecting','attributes','getAllAdjacentSuggestions','get','getFirstMarker','onAccept','getContainedElement','getMarkers','subType','from','hasComments','creator','author','push','isInContent','isMultiRange','getRange','onAttributesChange','createdAt','size','3342606yHcpeb','_originalSuggestionId','onDiscard','decorate','getFirstRange','suggestion:','nodeBefore'];_0x5274=function(){return _0x484891;};return _0x5274();}function _0x17bd(_0x3340fa,_0x1112df){const _0x52740f=_0x5274();return _0x17bd=function(_0x17bda2,_0x207c21){_0x17bda2=_0x17bda2-0x1a9;let _0x2873e0=_0x52740f[_0x17bda2];return _0x2873e0;},_0x17bd(_0x3340fa,_0x1112df);}const _0x280f38=_0x17bd;(function(_0x19326b,_0x1f9f55){const _0xe61409=_0x17bd,_0x382694=_0x19326b();while(!![]){try{const _0xcaf9ff=-parseInt(_0xe61409(0x1c0))/0x1*(-parseInt(_0xe61409(0x1d8))/0x2)+-parseInt(_0xe61409(0x1e1))/0x3*(-parseInt(_0xe61409(0x1c8))/0x4)+parseInt(_0xe61409(0x1e7))/0x5+-parseInt(_0xe61409(0x1b0))/0x6+-parseInt(_0xe61409(0x1e4))/0x7*(parseInt(_0xe61409(0x1c3))/0x8)+parseInt(_0xe61409(0x1d0))/0x9*(-parseInt(_0xe61409(0x1c1))/0xa)+parseInt(_0xe61409(0x1dc))/0xb;if(_0xcaf9ff===_0x1f9f55)break;else _0x382694['push'](_0x382694['shift']());}catch(_0x41f5a2){_0x382694['push'](_0x382694['shift']());}}}(_0x5274,0x74dd1));import{ModelElement as _0x3335f7}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x3c2c5a,uid as _0x42b4c4}from'ckeditor5/src/utils.js';import{cloneDeep as _0x4af1a4,isEqual as _0x532917,set as _0x36d29d,unset as _0x49d9b0}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3c2c5a(){['id'];[_0x280f38(0x1d9)];[_0x280f38(0x1f8)];[_0x280f38(0x1fc)];[_0x280f38(0x1fb)];[_0x280f38(0x1c4)];[_0x280f38(0x1da)];[_0x280f38(0x1ae)];[_0x280f38(0x1b1)];[_0x280f38(0x1ce)]=!0x1;[_0x280f38(0x1c9)];[_0x280f38(0x1ba)];[_0x280f38(0x1d7)];[_0x280f38(0x1be)];[_0x280f38(0x1d5)];constructor(_0x47484b,_0x5a65a8){const _0x18ce15=_0x280f38;super(),this['id']=_0x5a65a8['id'],this[_0x18ce15(0x1d9)]=_0x5a65a8[_0x18ce15(0x1d9)],this[_0x18ce15(0x1f8)]=_0x5a65a8[_0x18ce15(0x1f8)]||null,this[_0x18ce15(0x1fc)]=_0x5a65a8[_0x18ce15(0x1fc)],this[_0x18ce15(0x1fb)]=_0x5a65a8[_0x18ce15(0x1fb)]||_0x5a65a8[_0x18ce15(0x1fc)],this[_0x18ce15(0x1c4)]=Boolean(_0x5a65a8[_0x18ce15(0x1f1)]&&_0x5a65a8[_0x18ce15(0x1f1)][_0x18ce15(0x1e8)]),this[_0x18ce15(0x1da)]=null,this[_0x18ce15(0x1b1)]=_0x5a65a8[_0x18ce15(0x1cb)]||null,this[_0x18ce15(0x1c9)]=_0x47484b,this[_0x18ce15(0x1ba)]=_0x5a65a8[_0x18ce15(0x1f5)],this[_0x18ce15(0x1d7)]=_0x5a65a8[_0x18ce15(0x1b2)],this[_0x18ce15(0x1be)]=_0x5a65a8[_0x18ce15(0x1ad)],this[_0x18ce15(0x1d5)]=new Set(),this[_0x18ce15(0x1ae)]=null,this[_0x18ce15(0x1dd)](_0x18ce15(0x1d1),null),this[_0x18ce15(0x1dd)](_0x18ce15(0x1f1),_0x5a65a8[_0x18ce15(0x1f1)]||{}),this[_0x18ce15(0x1dd)](_0x18ce15(0x1cc),null),this[_0x18ce15(0x1dd)](_0x18ce15(0x1bc),null),this[_0x18ce15(0x1dd)](_0x18ce15(0x1d4),null),this[_0x18ce15(0x1dd)](_0x18ce15(0x1b7),!0x1),this[_0x18ce15(0x1b3)](_0x18ce15(0x1ef)),this[_0x18ce15(0x1b3)](_0x18ce15(0x1e2));}get[_0x280f38(0x1d3)](){const _0x5ca2fe=_0x280f38;let _0x13ad22=this;for(;_0x13ad22[_0x5ca2fe(0x1cc)];)_0x13ad22=_0x13ad22[_0x5ca2fe(0x1cc)];return _0x13ad22;}get[_0x280f38(0x1fa)](){const _0x5e5bf9=_0x280f38;return!!this[_0x5e5bf9(0x1d4)]&&this[_0x5e5bf9(0x1d4)][_0x5e5bf9(0x1c2)]>0x0;}get[_0x280f38(0x1ab)](){const _0x48d7b1=_0x280f38;if(0x0==this[_0x48d7b1(0x1d5)][_0x48d7b1(0x1af)])return!0x1;return 0x6==Array[_0x48d7b1(0x1f9)](this[_0x48d7b1(0x1d5)])[0x0][_0x48d7b1(0x1e3)](':')[_0x48d7b1(0x1c2)];}get[_0x280f38(0x1aa)](){const _0xefd247=_0x280f38;return null!==this[_0xefd247(0x1f4)]();}[_0x280f38(0x1e6)](_0x58f978){const _0x2e80b9=_0x280f38;this[_0x2e80b9(0x1d5)][_0x2e80b9(0x1ea)](_0x58f978);}[_0x280f38(0x1c6)](){const _0x213507=_0x280f38;return Array[_0x213507(0x1f9)](this[_0x213507(0x1d5)]);}[_0x280f38(0x1f7)](){const _0x5a4c01=_0x280f38;return this[_0x5a4c01(0x1c6)]()[_0x5a4c01(0x1cf)](_0x43abfb=>this[_0x5a4c01(0x1c9)][_0x5a4c01(0x1b9)][_0x5a4c01(0x1f3)](_0x43abfb))[_0x5a4c01(0x1df)](_0x2b7dfb=>_0x2b7dfb);}[_0x280f38(0x1f4)](){const _0x5bf064=_0x280f38;return this[_0x5bf064(0x1f7)]()[0x0]||null;}[_0x280f38(0x1e9)](){const _0x1ff0b7=_0x280f38;this[_0x1ff0b7(0x1c9)][_0x1ff0b7(0x1e5)](_0x16331e=>{const _0x3745ad=_0x1ff0b7;for(const _0xcc553a of this[_0x3745ad(0x1f7)]())_0x16331e[_0x3745ad(0x1d2)](_0xcc553a);}),this[_0x1ff0b7(0x1d5)][_0x1ff0b7(0x1c7)]();}[_0x280f38(0x1d2)](_0xf538fb){const _0xfa4e30=_0x280f38;this[_0xfa4e30(0x1c9)][_0xfa4e30(0x1e5)](_0x43ee8f=>{const _0x3238dc=_0xfa4e30;_0x43ee8f[_0x3238dc(0x1d2)](_0xf538fb);}),this[_0xfa4e30(0x1d5)][_0xfa4e30(0x1d6)](_0xf538fb);}[_0x280f38(0x1db)](_0x4ebcb2){const _0x418e5c=_0x280f38,_0x4f3025=_0x418e5c(0x1b5)+this[_0x418e5c(0x1d9)]+':'+this[_0x418e5c(0x1f8)]+':'+this['id']+':'+this[_0x418e5c(0x1fb)]['id']+':'+Suggestion[_0x418e5c(0x1bf)]();this[_0x418e5c(0x1e6)](_0x4f3025),this[_0x418e5c(0x1c9)][_0x418e5c(0x1e5)](_0x444452=>{const _0x381c7f=_0x418e5c;_0x444452[_0x381c7f(0x1e0)](_0x4f3025,{'range':_0x4ebcb2,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x280f38(0x1ca)](_0x274e3d){const _0xe183e8=_0x280f38;for(const _0x3f2235 of this[_0xe183e8(0x1bb)]())if(_0x3f2235[_0xe183e8(0x1f0)](_0x274e3d))return!0x0;return!0x1;}[_0x280f38(0x1bb)](){const _0x39585c=_0x280f38;return this[_0x39585c(0x1f7)]()[_0x39585c(0x1cf)](_0x3a187e=>_0x3a187e[_0x39585c(0x1ac)]());}[_0x280f38(0x1c5)](){const _0xb3b91f=_0x280f38;return this[_0xb3b91f(0x1bb)]()[_0xb3b91f(0x1de)]((_0x4328e7,_0x17481f)=>[..._0x4328e7,..._0x17481f[_0xb3b91f(0x1c5)]()],[]);}[_0x280f38(0x1b4)](){const _0x13d609=_0x280f38;return this[_0x13d609(0x1f4)]()?.[_0x13d609(0x1ac)]()||null;}[_0x280f38(0x1f6)](){const _0x386a62=_0x280f38,_0x1bb9a9=this[_0x386a62(0x1bb)]();if(0x1!=_0x1bb9a9[_0x386a62(0x1c2)])return null;const _0x523708=_0x1bb9a9[0x0],_0x265504=_0x523708[_0x386a62(0x1ed)][_0x386a62(0x1eb)],_0x5f2101=_0x523708[_0x386a62(0x1cd)][_0x386a62(0x1b6)];return _0x265504 instanceof _0x3335f7?_0x265504!=_0x5f2101?null:_0x265504:null;}[_0x280f38(0x1ef)](){const _0x28e604=_0x280f38;this[_0x28e604(0x1ba)](this[_0x28e604(0x1bb)](),this[_0x28e604(0x1da)],this[_0x28e604(0x1f1)]),this[_0x28e604(0x1e9)]();}[_0x280f38(0x1e2)](){const _0x3efbe7=_0x280f38;this[_0x3efbe7(0x1d7)](this[_0x3efbe7(0x1bb)](),this[_0x3efbe7(0x1da)],this[_0x3efbe7(0x1f1)]),this[_0x3efbe7(0x1e9)]();}[_0x280f38(0x1f2)](){const _0xc132d6=_0x280f38,_0x4bbe97=[];let _0x4d0faa=this[_0xc132d6(0x1d3)];for(;_0x4d0faa;)_0x4bbe97[_0xc132d6(0x1a9)](_0x4d0faa),_0x4d0faa=_0x4d0faa[_0xc132d6(0x1bc)];return _0x4bbe97;}[_0x280f38(0x1ee)](_0x4fcfe1,_0x4647fc){const _0x21cd7f=_0x280f38,_0x575361=_0x4af1a4(this[_0x21cd7f(0x1f1)]);_0x36d29d(_0x575361,_0x4fcfe1,_0x4647fc),_0x532917(_0x575361,this[_0x21cd7f(0x1f1)])||(this[_0x21cd7f(0x1f1)]=_0x575361,this[_0x21cd7f(0x1be)](_0x575361));}[_0x280f38(0x1b8)](_0x1fe4e1){const _0x13905f=_0x280f38,_0x12052e=_0x4af1a4(this[_0x13905f(0x1f1)]);_0x49d9b0(_0x12052e,_0x1fe4e1),_0x532917(_0x12052e,this[_0x13905f(0x1f1)])||(this[_0x13905f(0x1f1)]=_0x12052e,this[_0x13905f(0x1be)](this[_0x13905f(0x1f1)]));}[_0x280f38(0x1ec)](){const _0x107931=_0x280f38;return{'id':this['id'],'type':this[_0x107931(0x1f8)]?this[_0x107931(0x1d9)]+':'+this[_0x107931(0x1f8)]:this[_0x107931(0x1d9)],'authorId':this[_0x107931(0x1fb)]['id'],'createdAt':this[_0x107931(0x1ae)],'hasComments':this[_0x107931(0x1fa)],'data':this[_0x107931(0x1da)],'attributes':this[_0x107931(0x1f1)]};}static[_0x280f38(0x1bf)](){const _0x43765c=_0x280f38;return _0x42b4c4()[_0x43765c(0x1bd)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x19fbe7=_0x10ec;function _0x4a44(){const _0x5b6937=['normal','element','getItemLabel','name','236961gLKGxt','has','$text','elementStart','skip','removeContainer','addEmptyContainer','deletion','remove','isEqual','442709pjBaLS','*Split:*\x20%0','68jGJTBL','attribute','subType','format','type','*Insert:*\x20%0','removeEmptyContainer','registerAttributeLabel','registerDescriptionCallback','_handleRenameSuggestionDescription','420024xzNLJz','ELEMENT_SPACE','get','checkChild','newValue','REPLACE_TEXT','2464944eFwFTK','isEmpty','Object','$textProxy','$1\x20$2','key','*Set\x20format:*\x20%0','elementEnd','join','_attributeLabels','108762SkXNVl','isObject','softBreak','Container','label','indexOf','item','pop','end','set','getWalker','matchingCallback','_handleAttributeSuggestionDescription','length','_schema','_itemLabels','_addDescriptionItems','isInContent','_customCallbacks','getFirstRange','195565LlbPHT','replace','removeObject','addContainer','*Change\x20to:*\x20%0','insertion','map','*Remove\x20format:*\x20%0','start','_handleCustomCallbackDescription','removeFormat','nextSibling','EmptyContainer','getDescriptions','function','_itemLabelsCallbacks','match','add','addFormat','previousSibling','addObject','registerElementLabel','push','_handleInsertRemoveSuggestionDescription','14QLqQMZ','12046158FYxDuM','_locale','nodeAfter','data','*Remove:*\x20%0','quantity','*Merge:*\x20%0','_resolveDescriptionItems','text'];_0x4a44=function(){return _0x5b6937;};return _0x4a44();}function _0x10ec(_0xa77121,_0x648bbc){const _0x4a449d=_0x4a44();return _0x10ec=function(_0x10ecee,_0x490ebb){_0x10ecee=_0x10ecee-0x1d0;let _0x6bf59c=_0x4a449d[_0x10ecee];return _0x6bf59c;},_0x10ec(_0xa77121,_0x648bbc);}(function(_0x886d7b,_0x23158c){const _0x1f96cc=_0x10ec,_0x122bca=_0x886d7b();while(!![]){try{const _0xb8fd7b=parseInt(_0x1f96cc(0x22b))/0x1+parseInt(_0x1f96cc(0x1e7))/0x2+parseInt(_0x1f96cc(0x221))/0x3+-parseInt(_0x1f96cc(0x22d))/0x4*(-parseInt(_0x1f96cc(0x1fb))/0x5)+parseInt(_0x1f96cc(0x1d7))/0x6*(parseInt(_0x1f96cc(0x213))/0x7)+parseInt(_0x1f96cc(0x1dd))/0x8+-parseInt(_0x1f96cc(0x214))/0x9;if(_0xb8fd7b===_0x23158c)break;else _0x122bca['push'](_0x122bca['shift']());}catch(_0xad5bcf){_0x122bca['push'](_0x122bca['shift']());}}}(_0x4a44,0x559c6));import{getTranslation as _0x3fff83}from'./utils/common-translations.js';import{priorities as _0x29cb59,insertToPriorityArray as _0x14e190}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x56ff14}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x19fbe7(0x1f9)];[_0x19fbe7(0x1f6)];[_0x19fbe7(0x20a)];[_0x19fbe7(0x1e6)];[_0x19fbe7(0x1f5)];[_0x19fbe7(0x215)];constructor(_0x2ef2a4,_0x5c078b){const _0x42ec77=_0x19fbe7;this[_0x42ec77(0x1f9)]=[],this[_0x42ec77(0x1f6)]=new Map(),this[_0x42ec77(0x20a)]=[],this[_0x42ec77(0x1e6)]=new Map(),this[_0x42ec77(0x1f5)]=_0x2ef2a4,this[_0x42ec77(0x215)]=_0x5c078b;}[_0x19fbe7(0x208)](_0x5de080){const _0x108c72=_0x19fbe7,_0x56e43c=[],_0x32f387=new Set(),_0x25b193=new Set();for(let _0xf9f5b4=0x0;_0xf9f5b4<_0x5de080[_0x108c72(0x1f4)];_0xf9f5b4++){const _0x51bed3=_0x5de080[_0xf9f5b4];if(!_0x51bed3[_0x108c72(0x1f8)])continue;const _0x2203d9=this[_0x108c72(0x204)](_0x51bed3);if(_0x2203d9){if(null!=_0x51bed3[_0x108c72(0x22f)]){if(_0x32f387[_0x108c72(0x222)](_0x51bed3[_0x108c72(0x22f)]))continue;_0x32f387[_0x108c72(0x20c)](_0x51bed3[_0x108c72(0x22f)]);}_0x56e43c[_0x108c72(0x211)](_0x2203d9);}else{if(_0x108c72(0x22e)==_0x51bed3[_0x108c72(0x1d1)]){const _0x47192b=_0x51bed3[_0x108c72(0x217)][_0x108c72(0x1e2)];if(_0x25b193[_0x108c72(0x222)](_0x47192b))continue;_0x25b193[_0x108c72(0x20c)](_0x51bed3[_0x108c72(0x217)][_0x108c72(0x1e2)]),_0x47192b==_0x56ff14?this[_0x108c72(0x1d6)](_0x56e43c,_0x51bed3):this[_0x108c72(0x1f3)](_0x56e43c,_0x51bed3);continue;}_0x108c72(0x200)!=_0x51bed3[_0x108c72(0x1d1)]&&_0x108c72(0x228)!=_0x51bed3[_0x108c72(0x1d1)]||this[_0x108c72(0x212)](_0x56e43c,_0x51bed3,_0x5de080[_0xf9f5b4+0x1]);}}return this[_0x108c72(0x21b)](_0x56e43c);}[_0x19fbe7(0x1d5)](_0x9cf519){const _0x5515ff=_0x19fbe7;this[_0x5515ff(0x1f9)][_0x5515ff(0x211)](_0x9cf519);}[_0x19fbe7(0x210)](_0x3b0dff,_0x4c74d2,_0xffecb=_0x29cb59[_0x19fbe7(0x21d)]){const _0x5a5077=_0x19fbe7;_0x5a5077(0x209)==typeof _0x3b0dff?_0x14e190(this[_0x5a5077(0x20a)],{'matchingCallback':_0x3b0dff,'label':_0x4c74d2,'priority':_0xffecb}):this[_0x5a5077(0x1f6)][_0x5a5077(0x1f0)](_0x3b0dff,_0x4c74d2);}[_0x19fbe7(0x1d4)](_0x3bbaf6,_0xaeb29c){const _0x429dfc=_0x19fbe7;this[_0x429dfc(0x1e6)][_0x429dfc(0x1f0)](_0x3bbaf6,_0xaeb29c);}[_0x19fbe7(0x21f)](_0x204ccf,_0x535863=0x1){const _0x395196=_0x19fbe7;let _0x4324bf;for(const _0x2a0ef7 of this[_0x395196(0x20a)])if(_0x2a0ef7[_0x395196(0x1f2)](_0x204ccf)){_0x4324bf=_0x2a0ef7[_0x395196(0x1eb)];break;}return _0x4324bf||(_0x4324bf=this[_0x395196(0x1f6)][_0x395196(0x1d9)](_0x204ccf[_0x395196(0x220)])),_0x4324bf?_0x4324bf(_0x535863):0x1!==_0x535863?_0x535863+'\x20'+_0x204ccf[_0x395196(0x220)]+'s':''+_0x204ccf[_0x395196(0x220)];}[_0x19fbe7(0x1f7)](_0xffd501,_0x427e9c){const _0x58ae8b=_0x19fbe7,_0xb31375=_0x427e9c[_0x58ae8b(0x1fa)]()[_0x58ae8b(0x1f1)](),_0x88c3c0=_0x58ae8b(0x200)==_0x427e9c[_0x58ae8b(0x1d1)]?_0x58ae8b(0x20c):_0x58ae8b(0x229);for(const _0x34840d of _0xb31375){const _0x2d3ddc=_0x34840d[_0x58ae8b(0x1ed)],_0x316964=_0xffd501[_0xffd501[_0x58ae8b(0x1f4)]-0x1];if(_0x2d3ddc['is'](_0x58ae8b(0x1e0)))_0x316964&&_0x316964[_0x58ae8b(0x1d1)][_0x58ae8b(0x1ec)](_0x58ae8b(0x1ea))>-0x1&&_0xffd501[_0x58ae8b(0x1ee)](),_0x316964&&_0x58ae8b(0x21c)==_0x316964[_0x58ae8b(0x1d1)]?_0x316964[_0x88c3c0]+=_0x2d3ddc[_0x58ae8b(0x217)]:_0xffd501[_0x58ae8b(0x211)]({'type':_0x58ae8b(0x21c),'add':_0x58ae8b(0x20c)==_0x88c3c0?_0x2d3ddc[_0x58ae8b(0x217)]:'','remove':_0x58ae8b(0x229)==_0x88c3c0?_0x2d3ddc[_0x58ae8b(0x217)]:''});else{if(this[_0x58ae8b(0x1f5)][_0x58ae8b(0x1e8)](_0x2d3ddc)){const _0x29e591=_0x2d3ddc;if(_0x316964&&_0x316964[_0x58ae8b(0x1d1)][_0x58ae8b(0x1ec)](_0x58ae8b(0x1ea))>-0x1&&_0xffd501[_0x58ae8b(0x1ee)](),_0x58ae8b(0x1e4)==_0x34840d[_0x58ae8b(0x1d1)])continue;_0x316964&&_0x316964[_0x58ae8b(0x1d1)]==_0x88c3c0+_0x58ae8b(0x1df)&&_0x316964[_0x58ae8b(0x21e)][_0x58ae8b(0x220)]==_0x29e591[_0x58ae8b(0x220)]?_0x316964[_0x58ae8b(0x219)]++:_0xffd501[_0x58ae8b(0x211)]({'type':_0x88c3c0+_0x58ae8b(0x1df),'element':_0x29e591,'quantity':0x1}),_0xb31375[_0x58ae8b(0x225)](_0xf62f57=>!(_0x58ae8b(0x1e4)==_0xf62f57[_0x58ae8b(0x1d1)]&&_0xf62f57[_0x58ae8b(0x1ed)]==_0x2d3ddc));}else{if(this[_0x58ae8b(0x1f5)][_0x58ae8b(0x1da)](_0x2d3ddc,_0x58ae8b(0x223))||_0x2d3ddc['is'](_0x58ae8b(0x21e),_0x58ae8b(0x1e9))){const _0x55dea6=_0x2d3ddc;if(_0x58ae8b(0x20c)==_0x88c3c0&&_0x58ae8b(0x224)==_0x34840d[_0x58ae8b(0x1d1)]||_0x58ae8b(0x229)==_0x88c3c0&&_0x58ae8b(0x1e4)==_0x34840d[_0x58ae8b(0x1d1)])continue;if(_0x316964&&-0x1==_0x316964[_0x58ae8b(0x1d1)][_0x58ae8b(0x1ec)](_0x58ae8b(0x1ea))){_0x58ae8b(0x21c)==_0x316964[_0x58ae8b(0x1d1)]&&(_0x316964[_0x88c3c0]+='\x0a');continue;}let _0x48eb0f;if(_0x48eb0f=_0x58ae8b(0x20c)==_0x88c3c0?_0x55dea6[_0x58ae8b(0x206)]&&!this[_0x58ae8b(0x1f5)][_0x58ae8b(0x1e8)](_0x55dea6[_0x58ae8b(0x206)])?_0x55dea6[_0x58ae8b(0x206)]:null:_0x55dea6[_0x58ae8b(0x20e)]&&!this[_0x58ae8b(0x1f5)][_0x58ae8b(0x1e8)](_0x55dea6[_0x58ae8b(0x20e)])?_0x55dea6[_0x58ae8b(0x20e)]:null,_0x55dea6[_0x58ae8b(0x1de)]||_0x48eb0f&&_0x48eb0f[_0x58ae8b(0x1de)]){const _0x4e00ff=_0x48eb0f&&_0x48eb0f[_0x58ae8b(0x1de)]?_0x48eb0f:_0x55dea6;_0x316964&&_0x316964[_0x58ae8b(0x1d1)]==_0x88c3c0+_0x58ae8b(0x207)&&_0x316964[_0x58ae8b(0x21e)][_0x58ae8b(0x220)]==_0x4e00ff[_0x58ae8b(0x220)]?_0x316964[_0x58ae8b(0x219)]++:_0xffd501[_0x58ae8b(0x211)]({'type':_0x88c3c0+_0x58ae8b(0x207),'element':_0x4e00ff,'quantity':0x1});}else _0xffd501[_0x58ae8b(0x211)]({'type':_0x88c3c0+_0x58ae8b(0x1ea),'element':_0x55dea6});}}}}}[_0x19fbe7(0x21b)](_0x515587){const _0x29493c=_0x19fbe7,_0x5337ed=this[_0x29493c(0x215)],_0x43b4c1=[],_0x3ec16d=[],_0x1027e1=[];for(const _0x3f6a90 of _0x515587)switch(_0x3f6a90[_0x29493c(0x1d1)]){case _0x29493c(0x21c):if(_0x3f6a90[_0x29493c(0x20c)]=_0x3f6a90[_0x29493c(0x20c)][_0x29493c(0x1fc)](/(\S)\u000A+(\S)/g,_0x29493c(0x1e1))[_0x29493c(0x1fc)](/\u000A/g,''),_0x3f6a90[_0x29493c(0x229)]=_0x3f6a90[_0x29493c(0x229)][_0x29493c(0x1fc)](/(\S)\u000A+(\S)/g,_0x29493c(0x1e1))[_0x29493c(0x1fc)](/\u000A/g,''),''!=_0x3f6a90[_0x29493c(0x20c)]&&''!=_0x3f6a90[_0x29493c(0x229)]){_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x1fc),'content':_0x3fff83(_0x5337ed,_0x29493c(0x1dc),['\x22'+_0x3f6a90[_0x29493c(0x229)]+'\x22','\x22'+_0x3f6a90[_0x29493c(0x20c)]+'\x22'])});continue;}if(null!=_0x3f6a90[_0x29493c(0x20c)][_0x29493c(0x20b)](/^ +$/)){_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x200),'content':_0x3fff83(_0x5337ed,_0x29493c(0x1d2),_0x3fff83(_0x5337ed,_0x29493c(0x1d8),_0x3f6a90[_0x29493c(0x20c)][_0x29493c(0x1f4)]))});continue;}if(null!=_0x3f6a90[_0x29493c(0x229)][_0x29493c(0x20b)](/^ +$/)){_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x228),'content':_0x3fff83(_0x5337ed,_0x29493c(0x218),_0x3fff83(_0x5337ed,_0x29493c(0x1d8),_0x3f6a90[_0x29493c(0x229)][_0x29493c(0x1f4)]))});continue;}if(''!=_0x3f6a90[_0x29493c(0x20c)]){_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x200),'content':_0x3fff83(_0x5337ed,_0x29493c(0x1d2),'\x22'+_0x3f6a90[_0x29493c(0x20c)]+'\x22')});continue;}_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x228),'content':_0x3fff83(_0x5337ed,_0x29493c(0x218),'\x22'+_0x3f6a90[_0x29493c(0x229)]+'\x22')});continue;case _0x29493c(0x227):case _0x29493c(0x20f):_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x200),'content':_0x3fff83(_0x5337ed,_0x29493c(0x1d2),this[_0x29493c(0x21f)](_0x3f6a90[_0x29493c(0x21e)],_0x3f6a90[_0x29493c(0x219)]))});continue;case _0x29493c(0x1d3):case _0x29493c(0x1fd):_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x228),'content':_0x3fff83(_0x5337ed,_0x29493c(0x218),this[_0x29493c(0x21f)](_0x3f6a90[_0x29493c(0x21e)],_0x3f6a90[_0x29493c(0x219)]))});continue;case _0x29493c(0x1fe):_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x200),'content':_0x3fff83(_0x5337ed,_0x29493c(0x22c),this[_0x29493c(0x21f)](_0x3f6a90[_0x29493c(0x21e)],_0x3f6a90[_0x29493c(0x219)]))});continue;case _0x29493c(0x226):_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x228),'content':_0x3fff83(_0x5337ed,_0x29493c(0x21a),this[_0x29493c(0x21f)](_0x3f6a90[_0x29493c(0x21e)],_0x3f6a90[_0x29493c(0x219)]))});continue;case _0x29493c(0x20d):_0x3ec16d[_0x29493c(0x211)](_0x3f6a90[_0x29493c(0x1e2)]);continue;case _0x29493c(0x205):_0x1027e1[_0x29493c(0x211)](_0x3f6a90[_0x29493c(0x1e2)]);continue;default:_0x43b4c1[_0x29493c(0x211)](_0x3f6a90);}if(_0x3ec16d[_0x29493c(0x1f4)]){const _0x1ba00b=_0x3ec16d[_0x29493c(0x201)](_0x3fb6ce=>this[_0x29493c(0x1e6)][_0x29493c(0x222)](_0x3fb6ce)?this[_0x29493c(0x1e6)][_0x29493c(0x1d9)](_0x3fb6ce):_0x3fb6ce)[_0x29493c(0x1e5)](',\x20');_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x1d0),'content':_0x3fff83(this[_0x29493c(0x215)],_0x29493c(0x1e3),_0x1ba00b)});}if(_0x1027e1[_0x29493c(0x1f4)]){const _0x11fc0b=_0x1027e1[_0x29493c(0x201)](_0x4bc10c=>this[_0x29493c(0x1e6)][_0x29493c(0x222)](_0x4bc10c)?this[_0x29493c(0x1e6)][_0x29493c(0x1d9)](_0x4bc10c):_0x4bc10c)[_0x29493c(0x1e5)](',\x20');_0x43b4c1[_0x29493c(0x211)]({'type':_0x29493c(0x1d0),'content':_0x3fff83(this[_0x29493c(0x215)],_0x29493c(0x202),_0x11fc0b)});}return _0x43b4c1;}[_0x19fbe7(0x204)](_0x1af697){const _0x5ecf7b=_0x19fbe7;for(const _0x414191 of this[_0x5ecf7b(0x1f9)]){const _0xf4ff01=_0x414191(_0x1af697);if(_0xf4ff01&&_0x5ecf7b(0x1d1)in _0xf4ff01)return _0xf4ff01;}}[_0x19fbe7(0x1f3)](_0x424250,_0x3ee51f){const _0x24ae74=_0x19fbe7,_0x2be7bf=_0x3ee51f[_0x24ae74(0x217)],_0x2886a2=void 0x0===_0x2be7bf[_0x24ae74(0x1db)]?_0x24ae74(0x205):_0x24ae74(0x20d);_0x424250[_0x24ae74(0x211)]({'type':_0x2886a2,'key':_0x2be7bf[_0x24ae74(0x1e2)]});}[_0x19fbe7(0x1d6)](_0x2b184e,_0x5f2efe){const _0x400a51=_0x19fbe7;_0x2b184e[_0x400a51(0x211)]({'type':_0x400a51(0x1d0),'content':_0x3fff83(this[_0x400a51(0x215)],_0x400a51(0x1ff),this[_0x400a51(0x21f)](_0x5f2efe[_0x400a51(0x1fa)]()[_0x400a51(0x203)][_0x400a51(0x216)],0x1))});}[_0x19fbe7(0x212)](_0x5d3b98,_0x136a62,_0x51dbf0){const _0x5c016b=_0x19fbe7;if(this[_0x5c016b(0x1f7)](_0x5d3b98,_0x136a62),_0x51dbf0&&_0x51dbf0[_0x5c016b(0x1fa)]()&&!_0x136a62[_0x5c016b(0x1fa)]()[_0x5c016b(0x1ef)][_0x5c016b(0x22a)](_0x51dbf0[_0x5c016b(0x1fa)]()[_0x5c016b(0x203)])){const _0x558564=_0x5d3b98[_0x5d3b98[_0x5c016b(0x1f4)]-0x1],_0x1c1b35=_0x5c016b(0x200)==_0x136a62[_0x5c016b(0x1d1)]?_0x5c016b(0x20c):_0x5c016b(0x229);_0x558564&&_0x5c016b(0x21c)==_0x558564[_0x5c016b(0x1d1)]&&(_0x558564[_0x1c1b35]+='\x0a');}}}
|
|
23
|
+
const _0x98da03=_0x17e2;function _0x17e2(_0x36e808,_0x57a0db){const _0x307320=_0x3073();return _0x17e2=function(_0x17e2a9,_0x45659c){_0x17e2a9=_0x17e2a9-0xc8;let _0x3e9b8e=_0x307320[_0x17e2a9];return _0x3e9b8e;},_0x17e2(_0x36e808,_0x57a0db);}function _0x3073(){const _0x35cbb9=['removeEmptyContainer','set','getWalker','nodeAfter','11042JCCWho','quantity','registerElementLabel','4WamApk','newValue','*Change\x20to:*\x20%0','*Remove:*\x20%0','pop','get','join','_handleAttributeSuggestionDescription','1341zdGcof','120kjIAsZ','registerDescriptionCallback','data','6zilOUl','registerAttributeLabel','removeObject','normal','367495wspFKF','addContainer','ELEMENT_SPACE','function','209759FSxiHJ','_itemLabels','subType','*Merge:*\x20%0','$1\x20$2','match','deletion','nextSibling','_handleRenameSuggestionDescription','*Insert:*\x20%0','REPLACE_TEXT','101140EFAnAS','_addDescriptionItems','isEmpty','length','isObject','_schema','has','23OqSowH','add','label','getDescriptions','_resolveDescriptionItems','*Set\x20format:*\x20%0','elementStart','_itemLabelsCallbacks','elementEnd','indexOf','*Remove\x20format:*\x20%0','getFirstRange','format','isEqual','addObject','removeContainer','*Split:*\x20%0','skip','type','Container','_handleInsertRemoveSuggestionDescription','map','item','element','addFormat','push','checkChild','_attributeLabels','insertion','311073KjGXoq','_locale','matchingCallback','end','softBreak','isInContent','previousSibling','2312zDBQlM','name','attribute','remove','_handleCustomCallbackDescription','getItemLabel','$text','replace','EmptyContainer','addEmptyContainer','_customCallbacks','start','removeFormat','$textProxy','key','Object','316329vrRgVZ','text'];_0x3073=function(){return _0x35cbb9;};return _0x3073();}(function(_0x37369f,_0x1a1cb4){const _0x2c8727=_0x17e2,_0x1dc49a=_0x37369f();while(!![]){try{const _0x870271=-parseInt(_0x2c8727(0xff))/0x1*(-parseInt(_0x2c8727(0xd6))/0x2)+-parseInt(_0x2c8727(0xd0))/0x3*(-parseInt(_0x2c8727(0xd9))/0x4)+parseInt(_0x2c8727(0xe9))/0x5+-parseInt(_0x2c8727(0xe5))/0x6*(parseInt(_0x2c8727(0x11c))/0x7)+-parseInt(_0x2c8727(0x123))/0x8*(-parseInt(_0x2c8727(0xe1))/0x9)+parseInt(_0x2c8727(0xf8))/0xa+-parseInt(_0x2c8727(0xed))/0xb*(parseInt(_0x2c8727(0xe2))/0xc);if(_0x870271===_0x1a1cb4)break;else _0x1dc49a['push'](_0x1dc49a['shift']());}catch(_0x5e0021){_0x1dc49a['push'](_0x1dc49a['shift']());}}}(_0x3073,0x1e443));import{getTranslation as _0xb2ee19}from'./utils/common-translations.js';import{priorities as _0x37be8e,insertToPriorityArray as _0x3fbf63}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x502e61}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x98da03(0xca)];[_0x98da03(0xee)];[_0x98da03(0x106)];[_0x98da03(0x11a)];[_0x98da03(0xfd)];[_0x98da03(0x11d)];constructor(_0x4ca385,_0x22f8e6){const _0x598586=_0x98da03;this[_0x598586(0xca)]=[],this[_0x598586(0xee)]=new Map(),this[_0x598586(0x106)]=[],this[_0x598586(0x11a)]=new Map(),this[_0x598586(0xfd)]=_0x4ca385,this[_0x598586(0x11d)]=_0x22f8e6;}[_0x98da03(0x102)](_0x5115ca){const _0x455815=_0x98da03,_0x30f64f=[],_0x2a908b=new Set(),_0x1312d1=new Set();for(let _0x4755d4=0x0;_0x4755d4<_0x5115ca[_0x455815(0xfb)];_0x4755d4++){const _0x52bdaf=_0x5115ca[_0x4755d4];if(!_0x52bdaf[_0x455815(0x121)])continue;const _0x47b822=this[_0x455815(0x127)](_0x52bdaf);if(_0x47b822){if(null!=_0x52bdaf[_0x455815(0xef)]){if(_0x2a908b[_0x455815(0xfe)](_0x52bdaf[_0x455815(0xef)]))continue;_0x2a908b[_0x455815(0x100)](_0x52bdaf[_0x455815(0xef)]);}_0x30f64f[_0x455815(0x118)](_0x47b822);}else{if(_0x455815(0x125)==_0x52bdaf[_0x455815(0x111)]){const _0x22d9a3=_0x52bdaf[_0x455815(0xe4)][_0x455815(0xce)];if(_0x1312d1[_0x455815(0xfe)](_0x22d9a3))continue;_0x1312d1[_0x455815(0x100)](_0x52bdaf[_0x455815(0xe4)][_0x455815(0xce)]),_0x22d9a3==_0x502e61?this[_0x455815(0xf5)](_0x30f64f,_0x52bdaf):this[_0x455815(0xe0)](_0x30f64f,_0x52bdaf);continue;}_0x455815(0x11b)!=_0x52bdaf[_0x455815(0x111)]&&_0x455815(0xf3)!=_0x52bdaf[_0x455815(0x111)]||this[_0x455815(0x113)](_0x30f64f,_0x52bdaf,_0x5115ca[_0x4755d4+0x1]);}}return this[_0x455815(0x103)](_0x30f64f);}[_0x98da03(0xe3)](_0x2ea776){const _0x337a57=_0x98da03;this[_0x337a57(0xca)][_0x337a57(0x118)](_0x2ea776);}[_0x98da03(0xd8)](_0x5bf38e,_0x404bfa,_0xaf872f=_0x37be8e[_0x98da03(0xe8)]){const _0x4103af=_0x98da03;_0x4103af(0xec)==typeof _0x5bf38e?_0x3fbf63(this[_0x4103af(0x106)],{'matchingCallback':_0x5bf38e,'label':_0x404bfa,'priority':_0xaf872f}):this[_0x4103af(0xee)][_0x4103af(0xd3)](_0x5bf38e,_0x404bfa);}[_0x98da03(0xe6)](_0x4a0e23,_0x4a1f5c){const _0x43cc07=_0x98da03;this[_0x43cc07(0x11a)][_0x43cc07(0xd3)](_0x4a0e23,_0x4a1f5c);}[_0x98da03(0x128)](_0x49f47a,_0x10fb3b=0x1){const _0x47c8d6=_0x98da03;let _0xa43ec0;for(const _0x24b436 of this[_0x47c8d6(0x106)])if(_0x24b436[_0x47c8d6(0x11e)](_0x49f47a)){_0xa43ec0=_0x24b436[_0x47c8d6(0x101)];break;}return _0xa43ec0||(_0xa43ec0=this[_0x47c8d6(0xee)][_0x47c8d6(0xde)](_0x49f47a[_0x47c8d6(0x124)])),_0xa43ec0?_0xa43ec0(_0x10fb3b):0x1!==_0x10fb3b?_0x10fb3b+'\x20'+_0x49f47a[_0x47c8d6(0x124)]+'s':''+_0x49f47a[_0x47c8d6(0x124)];}[_0x98da03(0xf9)](_0x57ffdb,_0x32904d){const _0x4ceab4=_0x98da03,_0x1930ef=_0x32904d[_0x4ceab4(0x10a)]()[_0x4ceab4(0xd4)](),_0x4b5509=_0x4ceab4(0x11b)==_0x32904d[_0x4ceab4(0x111)]?_0x4ceab4(0x100):_0x4ceab4(0x126);for(const _0xb2e5a9 of _0x1930ef){const _0x45ed2e=_0xb2e5a9[_0x4ceab4(0x115)],_0x4e7632=_0x57ffdb[_0x57ffdb[_0x4ceab4(0xfb)]-0x1];if(_0x45ed2e['is'](_0x4ceab4(0xcd)))_0x4e7632&&_0x4e7632[_0x4ceab4(0x111)][_0x4ceab4(0x108)](_0x4ceab4(0x112))>-0x1&&_0x57ffdb[_0x4ceab4(0xdd)](),_0x4e7632&&_0x4ceab4(0xd1)==_0x4e7632[_0x4ceab4(0x111)]?_0x4e7632[_0x4b5509]+=_0x45ed2e[_0x4ceab4(0xe4)]:_0x57ffdb[_0x4ceab4(0x118)]({'type':_0x4ceab4(0xd1),'add':_0x4ceab4(0x100)==_0x4b5509?_0x45ed2e[_0x4ceab4(0xe4)]:'','remove':_0x4ceab4(0x126)==_0x4b5509?_0x45ed2e[_0x4ceab4(0xe4)]:''});else{if(this[_0x4ceab4(0xfd)][_0x4ceab4(0xfc)](_0x45ed2e)){const _0x515ae4=_0x45ed2e;if(_0x4e7632&&_0x4e7632[_0x4ceab4(0x111)][_0x4ceab4(0x108)](_0x4ceab4(0x112))>-0x1&&_0x57ffdb[_0x4ceab4(0xdd)](),_0x4ceab4(0x107)==_0xb2e5a9[_0x4ceab4(0x111)])continue;_0x4e7632&&_0x4e7632[_0x4ceab4(0x111)]==_0x4b5509+_0x4ceab4(0xcf)&&_0x4e7632[_0x4ceab4(0x116)][_0x4ceab4(0x124)]==_0x515ae4[_0x4ceab4(0x124)]?_0x4e7632[_0x4ceab4(0xd7)]++:_0x57ffdb[_0x4ceab4(0x118)]({'type':_0x4b5509+_0x4ceab4(0xcf),'element':_0x515ae4,'quantity':0x1}),_0x1930ef[_0x4ceab4(0x110)](_0x10f51d=>!(_0x4ceab4(0x107)==_0x10f51d[_0x4ceab4(0x111)]&&_0x10f51d[_0x4ceab4(0x115)]==_0x45ed2e));}else{if(this[_0x4ceab4(0xfd)][_0x4ceab4(0x119)](_0x45ed2e,_0x4ceab4(0x129))||_0x45ed2e['is'](_0x4ceab4(0x116),_0x4ceab4(0x120))){const _0x2e9359=_0x45ed2e;if(_0x4ceab4(0x100)==_0x4b5509&&_0x4ceab4(0x105)==_0xb2e5a9[_0x4ceab4(0x111)]||_0x4ceab4(0x126)==_0x4b5509&&_0x4ceab4(0x107)==_0xb2e5a9[_0x4ceab4(0x111)])continue;if(_0x4e7632&&-0x1==_0x4e7632[_0x4ceab4(0x111)][_0x4ceab4(0x108)](_0x4ceab4(0x112))){_0x4ceab4(0xd1)==_0x4e7632[_0x4ceab4(0x111)]&&(_0x4e7632[_0x4b5509]+='\x0a');continue;}let _0x2aaefc;if(_0x2aaefc=_0x4ceab4(0x100)==_0x4b5509?_0x2e9359[_0x4ceab4(0xf4)]&&!this[_0x4ceab4(0xfd)][_0x4ceab4(0xfc)](_0x2e9359[_0x4ceab4(0xf4)])?_0x2e9359[_0x4ceab4(0xf4)]:null:_0x2e9359[_0x4ceab4(0x122)]&&!this[_0x4ceab4(0xfd)][_0x4ceab4(0xfc)](_0x2e9359[_0x4ceab4(0x122)])?_0x2e9359[_0x4ceab4(0x122)]:null,_0x2e9359[_0x4ceab4(0xfa)]||_0x2aaefc&&_0x2aaefc[_0x4ceab4(0xfa)]){const _0x4ca8d6=_0x2aaefc&&_0x2aaefc[_0x4ceab4(0xfa)]?_0x2aaefc:_0x2e9359;_0x4e7632&&_0x4e7632[_0x4ceab4(0x111)]==_0x4b5509+_0x4ceab4(0xc8)&&_0x4e7632[_0x4ceab4(0x116)][_0x4ceab4(0x124)]==_0x4ca8d6[_0x4ceab4(0x124)]?_0x4e7632[_0x4ceab4(0xd7)]++:_0x57ffdb[_0x4ceab4(0x118)]({'type':_0x4b5509+_0x4ceab4(0xc8),'element':_0x4ca8d6,'quantity':0x1});}else _0x57ffdb[_0x4ceab4(0x118)]({'type':_0x4b5509+_0x4ceab4(0x112),'element':_0x2e9359});}}}}}[_0x98da03(0x103)](_0x1b1605){const _0x46d100=_0x98da03,_0x2e316a=this[_0x46d100(0x11d)],_0x378e7b=[],_0x551d23=[],_0x2039c2=[];for(const _0x45fcb2 of _0x1b1605)switch(_0x45fcb2[_0x46d100(0x111)]){case _0x46d100(0xd1):if(_0x45fcb2[_0x46d100(0x100)]=_0x45fcb2[_0x46d100(0x100)][_0x46d100(0x12a)](/(\S)\u000A+(\S)/g,_0x46d100(0xf1))[_0x46d100(0x12a)](/\u000A/g,''),_0x45fcb2[_0x46d100(0x126)]=_0x45fcb2[_0x46d100(0x126)][_0x46d100(0x12a)](/(\S)\u000A+(\S)/g,_0x46d100(0xf1))[_0x46d100(0x12a)](/\u000A/g,''),''!=_0x45fcb2[_0x46d100(0x100)]&&''!=_0x45fcb2[_0x46d100(0x126)]){_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0x12a),'content':_0xb2ee19(_0x2e316a,_0x46d100(0xf7),['\x22'+_0x45fcb2[_0x46d100(0x126)]+'\x22','\x22'+_0x45fcb2[_0x46d100(0x100)]+'\x22'])});continue;}if(null!=_0x45fcb2[_0x46d100(0x100)][_0x46d100(0xf2)](/^ +$/)){_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0x11b),'content':_0xb2ee19(_0x2e316a,_0x46d100(0xf6),_0xb2ee19(_0x2e316a,_0x46d100(0xeb),_0x45fcb2[_0x46d100(0x100)][_0x46d100(0xfb)]))});continue;}if(null!=_0x45fcb2[_0x46d100(0x126)][_0x46d100(0xf2)](/^ +$/)){_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0xf3),'content':_0xb2ee19(_0x2e316a,_0x46d100(0xdc),_0xb2ee19(_0x2e316a,_0x46d100(0xeb),_0x45fcb2[_0x46d100(0x126)][_0x46d100(0xfb)]))});continue;}if(''!=_0x45fcb2[_0x46d100(0x100)]){_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0x11b),'content':_0xb2ee19(_0x2e316a,_0x46d100(0xf6),'\x22'+_0x45fcb2[_0x46d100(0x100)]+'\x22')});continue;}_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0xf3),'content':_0xb2ee19(_0x2e316a,_0x46d100(0xdc),'\x22'+_0x45fcb2[_0x46d100(0x126)]+'\x22')});continue;case _0x46d100(0xc9):case _0x46d100(0x10d):_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0x11b),'content':_0xb2ee19(_0x2e316a,_0x46d100(0xf6),this[_0x46d100(0x128)](_0x45fcb2[_0x46d100(0x116)],_0x45fcb2[_0x46d100(0xd7)]))});continue;case _0x46d100(0xd2):case _0x46d100(0xe7):_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0xf3),'content':_0xb2ee19(_0x2e316a,_0x46d100(0xdc),this[_0x46d100(0x128)](_0x45fcb2[_0x46d100(0x116)],_0x45fcb2[_0x46d100(0xd7)]))});continue;case _0x46d100(0xea):_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0x11b),'content':_0xb2ee19(_0x2e316a,_0x46d100(0x10f),this[_0x46d100(0x128)](_0x45fcb2[_0x46d100(0x116)],_0x45fcb2[_0x46d100(0xd7)]))});continue;case _0x46d100(0x10e):_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0xf3),'content':_0xb2ee19(_0x2e316a,_0x46d100(0xf0),this[_0x46d100(0x128)](_0x45fcb2[_0x46d100(0x116)],_0x45fcb2[_0x46d100(0xd7)]))});continue;case _0x46d100(0x117):_0x551d23[_0x46d100(0x118)](_0x45fcb2[_0x46d100(0xce)]);continue;case _0x46d100(0xcc):_0x2039c2[_0x46d100(0x118)](_0x45fcb2[_0x46d100(0xce)]);continue;default:_0x378e7b[_0x46d100(0x118)](_0x45fcb2);}if(_0x551d23[_0x46d100(0xfb)]){const _0x3efb44=_0x551d23[_0x46d100(0x114)](_0x546778=>this[_0x46d100(0x11a)][_0x46d100(0xfe)](_0x546778)?this[_0x46d100(0x11a)][_0x46d100(0xde)](_0x546778):_0x546778)[_0x46d100(0xdf)](',\x20');_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0x10b),'content':_0xb2ee19(this[_0x46d100(0x11d)],_0x46d100(0x104),_0x3efb44)});}if(_0x2039c2[_0x46d100(0xfb)]){const _0x52c660=_0x2039c2[_0x46d100(0x114)](_0x436d1b=>this[_0x46d100(0x11a)][_0x46d100(0xfe)](_0x436d1b)?this[_0x46d100(0x11a)][_0x46d100(0xde)](_0x436d1b):_0x436d1b)[_0x46d100(0xdf)](',\x20');_0x378e7b[_0x46d100(0x118)]({'type':_0x46d100(0x10b),'content':_0xb2ee19(this[_0x46d100(0x11d)],_0x46d100(0x109),_0x52c660)});}return _0x378e7b;}[_0x98da03(0x127)](_0x2e3a29){const _0x4f2805=_0x98da03;for(const _0x3bf8c4 of this[_0x4f2805(0xca)]){const _0x44e7c4=_0x3bf8c4(_0x2e3a29);if(_0x44e7c4&&_0x4f2805(0x111)in _0x44e7c4)return _0x44e7c4;}}[_0x98da03(0xe0)](_0x3d081a,_0x463094){const _0x3452da=_0x98da03,_0x4c980b=_0x463094[_0x3452da(0xe4)],_0x1c5a44=void 0x0===_0x4c980b[_0x3452da(0xda)]?_0x3452da(0xcc):_0x3452da(0x117);_0x3d081a[_0x3452da(0x118)]({'type':_0x1c5a44,'key':_0x4c980b[_0x3452da(0xce)]});}[_0x98da03(0xf5)](_0x3c1319,_0x230ab4){const _0x22d24d=_0x98da03;_0x3c1319[_0x22d24d(0x118)]({'type':_0x22d24d(0x10b),'content':_0xb2ee19(this[_0x22d24d(0x11d)],_0x22d24d(0xdb),this[_0x22d24d(0x128)](_0x230ab4[_0x22d24d(0x10a)]()[_0x22d24d(0xcb)][_0x22d24d(0xd5)],0x1))});}[_0x98da03(0x113)](_0x1062e,_0x495832,_0x1e33b6){const _0x192139=_0x98da03;if(this[_0x192139(0xf9)](_0x1062e,_0x495832),_0x1e33b6&&_0x1e33b6[_0x192139(0x10a)]()&&!_0x495832[_0x192139(0x10a)]()[_0x192139(0x11f)][_0x192139(0x10c)](_0x1e33b6[_0x192139(0x10a)]()[_0x192139(0xcb)])){const _0x42cc56=_0x1062e[_0x1062e[_0x192139(0xfb)]-0x1],_0x357539=_0x192139(0x11b)==_0x495832[_0x192139(0x111)]?_0x192139(0x100):_0x192139(0x126);_0x42cc56&&_0x192139(0xd1)==_0x42cc56[_0x192139(0x111)]&&(_0x42cc56[_0x357539]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x40c914=_0x5bf6;(function(_0x160065,_0x447713){var _0x585c91=_0x5bf6,_0x35311c=_0x160065();while(!![]){try{var _0x195900=-parseInt(_0x585c91(0xb6))/0x1*(parseInt(_0x585c91(0xbe))/0x2)+parseInt(_0x585c91(0xc2))/0x3*(parseInt(_0x585c91(0xc3))/0x4)+parseInt(_0x585c91(0xc5))/0x5*(-parseInt(_0x585c91(0xcd))/0x6)+-parseInt(_0x585c91(0xcb))/0x7*(-parseInt(_0x585c91(0xbc))/0x8)+parseInt(_0x585c91(0xba))/0x9*(-parseInt(_0x585c91(0xbb))/0xa)+-parseInt(_0x585c91(0xb9))/0xb+parseInt(_0x585c91(0xb7))/0xc;if(_0x195900===_0x447713)break;else _0x35311c['push'](_0x35311c['shift']());}catch(_0x9b5780){_0x35311c['push'](_0x35311c['shift']());}}}(_0x446a,0x7a52d));import{Plugin as _0x532ee0}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x556c81}from'./trackchangesui.js';function _0x446a(){var _0x182e38=['4KCxwrw','isOfficialPlugin','5FfKjgz','editor','Comments','getSuggestion','getSuggestions','adapter','2137324ZGwFGC','addSuggestionData','2152404ZfsAPh','requires','TrackChanges','454TXpJxM','9729168pqOHaj','get','4641945kuRTXM','61848HnEGWn','1430TodMRc','24sUZXNi','plugins','1492TqgXXc','isPremiumPlugin','pluginName','addSuggestion','2629158swHIjs'];_0x446a=function(){return _0x182e38;};return _0x446a();}import{TrackChangesEditing as _0x3ca852}from'./trackchangesediting.js';function _0x5bf6(_0x1bbf6c,_0xf4d0b6){var _0x446a40=_0x446a();return _0x5bf6=function(_0x5bf6e2,_0x210006){_0x5bf6e2=_0x5bf6e2-0xb4;var _0x2473fc=_0x446a40[_0x5bf6e2];return _0x2473fc;},_0x5bf6(_0x1bbf6c,_0xf4d0b6);}import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x532ee0{static get[_0x40c914(0xb4)](){var _0x1abf95=_0x40c914;return[_0x3ca852,_0x556c81,_0x1abf95(0xc7)];}static get[_0x40c914(0xc0)](){var _0x239877=_0x40c914;return _0x239877(0xb5);}static get[_0x40c914(0xc4)](){return!0x0;}static get[_0x40c914(0xbf)](){return!0x0;}set[_0x40c914(0xca)](_0xb56685){var _0x58442c=_0x40c914;this[_0x58442c(0xc6)][_0x58442c(0xbd)][_0x58442c(0xb8)](_0x3ca852)[_0x58442c(0xca)]=_0xb56685;}get[_0x40c914(0xca)](){var _0x2e554c=_0x40c914;return this[_0x2e554c(0xc6)][_0x2e554c(0xbd)][_0x2e554c(0xb8)](_0x3ca852)[_0x2e554c(0xca)];}[_0x40c914(0xc1)](_0x592f29){var _0x2614ca=_0x40c914;return this[_0x2614ca(0xc6)][_0x2614ca(0xbd)][_0x2614ca(0xb8)](_0x3ca852)[_0x2614ca(0xcc)](_0x592f29);}[_0x40c914(0xc9)]({skipNotAttached:_0x2f48be=!0x1,toJSON:_0xefbfdc=!0x1}={}){var _0x4efbe5=_0x40c914;return this[_0x4efbe5(0xc6)][_0x4efbe5(0xbd)][_0x4efbe5(0xb8)](_0x3ca852)[_0x4efbe5(0xc9)]({'skipNotAttached':_0x2f48be,'toJSON':_0xefbfdc});}[_0x40c914(0xc8)](_0x3996f1){var _0x43ee20=_0x40c914;return this[_0x43ee20(0xc6)][_0x43ee20(0xbd)][_0x43ee20(0xb8)](_0x3ca852)[_0x43ee20(0xc8)](_0x3996f1);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b1a0d=_0x48e3;(function(_0x48a7cc,_0x26905e){const _0x1bb4ef=_0x48e3,_0x54c3ab=_0x48a7cc();while(!![]){try{const _0x1bb4bd=parseInt(_0x1bb4ef(0x1ec))/0x1+-parseInt(_0x1bb4ef(0x1f2))/0x2*(-parseInt(_0x1bb4ef(0x223))/0x3)+parseInt(_0x1bb4ef(0x20e))/0x4*(-parseInt(_0x1bb4ef(0x216))/0x5)+parseInt(_0x1bb4ef(0x1fe))/0x6+-parseInt(_0x1bb4ef(0x202))/0x7*(-parseInt(_0x1bb4ef(0x1ef))/0x8)+parseInt(_0x1bb4ef(0x219))/0x9*(-parseInt(_0x1bb4ef(0x1ee))/0xa)+-parseInt(_0x1bb4ef(0x20a))/0xb*(-parseInt(_0x1bb4ef(0x214))/0xc);if(_0x1bb4bd===_0x26905e)break;else _0x54c3ab['push'](_0x54c3ab['shift']());}catch(_0x259e92){_0x54c3ab['push'](_0x54c3ab['shift']());}}}(_0x1cbd,0xd6982));import{Plugin as _0x4d0984}from'ckeditor5/src/core.js';import{CKEditorError as _0x36fb6f}from'ckeditor5/src/utils.js';import{TrackChangesEditing as _0x127127}from'./trackchangesediting.js';function _0x48e3(_0x21c717,_0x1cb723){const _0x1cbda0=_0x1cbd();return _0x48e3=function(_0x48e381,_0x1716ff){_0x48e381=_0x48e381-0x1e1;let _0x22c8e1=_0x1cbda0[_0x48e381];return _0x22c8e1;},_0x48e3(_0x21c717,_0x1cb723);}import{sanitizeEditorConfig as _0x5b88ae}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x2b1a0d(0x20b)];export class TrackChangesData extends _0x4d0984{static get[_0x2b1a0d(0x227)](){return[_0x127127];}static get[_0x2b1a0d(0x224)](){const _0xe3c5cd=_0x2b1a0d;return _0xe3c5cd(0x21a);}static get[_0x2b1a0d(0x1e9)](){return!0x0;}static get[_0x2b1a0d(0x1fc)](){return!0x0;}[_0x2b1a0d(0x205)](){const _0x56272f=_0x2b1a0d,_0x35de86=this[_0x56272f(0x220)];if(_0x35de86[_0x56272f(0x20c)][_0x56272f(0x213)](_0x56272f(0x20f),_0xae4b06=>{const _0x5be112=_0x56272f,_0xb37679=_0x35de86[_0x5be112(0x203)][_0x5be112(0x211)][_0x5be112(0x1eb)]()[_0x5be112(0x21d)]((_0x5b2b27,_0x31a09a)=>(_0x5b2b27[_0x31a09a]='',_0x5b2b27),{});return _0x35de86[_0x5be112(0x225)][_0x5be112(0x1f8)](_0xb37679,_0xae4b06);}),_0x56272f(0x1fa)!=typeof _0x35de86[_0x56272f(0x20c)][_0x56272f(0x201)](_0x56272f(0x1f7))[_0x56272f(0x215)])throw new _0x36fb6f(_0x56272f(0x1ff));}[_0x2b1a0d(0x21f)](_0x120fad){const _0x15098a=_0x2b1a0d;return P(this[_0x15098a(0x220)],!0x0,_0x120fad);}[_0x2b1a0d(0x1f0)](_0xeb1c7a){const _0x4f7b5e=_0x2b1a0d;return P(this[_0x4f7b5e(0x220)],!0x1,_0xeb1c7a);}}function _0x1cbd(){const _0x4e9222=['28259hZVCha','Pagination','config','CommentsRepository','1068MToRyq','trackChangesData.editorCreator','end','document','remove','define','348FDqcjJ','editorCreator','8865IGmkOU','div','users','5447322KMLOlz','TrackChangesData','discardAllSuggestions','addCommentThread','reduce','getRootsAttributes','getDataWithAcceptedSuggestions','editor','createDocumentFragment','_adapter','611199sIoTyy','pluginName','constructor','data','requires','join','getFullData','getCommentThreads','useAnonymousUser','getSuggestions','fromCharCode','map','name','isOfficialPlugin','acceptAllSuggestions','getRootNames','393478dzpSEF','createElement','20bMvHDz','8ljaeSs','getDataWithDiscardedSuggestions','rootsAttributes','10VGUcIV','result','addSuggestionData','appendChild','plugins','trackChangesData','create','destroy','function','push','isPremiumPlugin','set','3283770rnAFuW','track-changes-data-invalid-editor-creator','Users','get','3702622JjEAmn','model','TrackChangesEditing','init','execute','getUser','TrackChangesDataGetter','addUser'];_0x1cbd=function(){return _0x4e9222;};return _0x1cbd();}export class TrackChangesDataGetter extends _0x4d0984{[_0x2b1a0d(0x1f3)];static get[_0x2b1a0d(0x224)](){const _0x46ab41=_0x2b1a0d;return _0x46ab41(0x208);}static get[_0x2b1a0d(0x1e9)](){return!0x0;}static get[_0x2b1a0d(0x1fc)](){return!0x0;}constructor(_0x266e22){const _0x58af02=_0x2b1a0d;function _0x495345(_0x227528){const _0x2139c5=_0x48e3;return _0x227528[_0x2139c5(0x1e7)](_0x1654ea=>String[_0x2139c5(0x1e6)](_0x1654ea))[_0x2139c5(0x1e1)]('');}super(_0x266e22),this[_0x58af02(0x1f3)]=_0x58af02(0x210),_0x266e22[_0x495345([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x495345([0x76,0x69,0x65,0x77])][_0x495345([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x495345([0x61,0x75,0x74,0x6f]),_0x266e22[_0x495345([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x495345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x495345([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x495345([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x495345([0x6f,0x6b])});}[_0x2b1a0d(0x205)](){const _0x2e7916=_0x2b1a0d;this[_0x2e7916(0x220)][_0x2e7916(0x1f6)][_0x2e7916(0x201)](_0x2e7916(0x20d))[_0x2e7916(0x222)]={'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[_0x2e7916(0x220)][_0x2e7916(0x1f6)][_0x2e7916(0x201)](_0x2e7916(0x204))[_0x2e7916(0x222)]=null;}}function k(_0x273a34){const _0x294997=_0x2b1a0d;return void 0x0!==_0x273a34[_0x294997(0x21e)];}async function P(_0x407f5b,_0x3401af,_0x9a648b){const _0x5b123c=_0x2b1a0d,_0x27c23b=_0x5b88ae(_0x407f5b,p);_0x27c23b[_0x5b123c(0x1f6)][_0x5b123c(0x1fb)](_0x127127,TrackChangesDataGetter),_0x27c23b[_0x5b123c(0x1f1)]=k(_0x407f5b)?_0x407f5b[_0x5b123c(0x21e)]():void 0x0;const _0x5721f5=document[_0x5b123c(0x221)](),_0x469625=_0x407f5b[_0x5b123c(0x20c)][_0x5b123c(0x201)](_0x5b123c(0x1f7))[_0x5b123c(0x215)],_0x1b9226=await _0x469625(_0x27c23b,()=>function(_0x1be1eb){const _0x549125=_0x5b123c,_0x4b4b3d=document[_0x549125(0x1ed)](_0x549125(0x217));return _0x1be1eb[_0x549125(0x1f5)](_0x4b4b3d),_0x4b4b3d;}(_0x5721f5));!function(_0x58f565,_0x59f221){const _0x4f5ab7=_0x5b123c,_0xa01b4b=_0x58f565[_0x4f5ab7(0x203)][_0x4f5ab7(0x211)][_0x4f5ab7(0x1eb)]()[_0x4f5ab7(0x21d)]((_0x401c6b,_0x1695d5)=>(_0x401c6b[_0x1695d5]=_0x58f565[_0x4f5ab7(0x226)][_0x4f5ab7(0x201)]({'rootName':_0x1695d5}),_0x401c6b),{}),_0x57cf41=_0x58f565[_0x4f5ab7(0x1f6)][_0x4f5ab7(0x201)](_0x4f5ab7(0x200))[_0x4f5ab7(0x218)][_0x4f5ab7(0x1e7)](_0x1f2135=>({'id':_0x1f2135['id'],'name':_0x1f2135[_0x4f5ab7(0x1e8)]})),_0x3e9134=_0x58f565[_0x4f5ab7(0x1f6)][_0x4f5ab7(0x201)](_0x4f5ab7(0x204))[_0x4f5ab7(0x1e5)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1615e2=_0x58f565[_0x4f5ab7(0x1f6)][_0x4f5ab7(0x201)](_0x4f5ab7(0x20d))[_0x4f5ab7(0x1e3)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x298fe5=_0x59f221[_0x4f5ab7(0x1f6)][_0x4f5ab7(0x201)](_0x4f5ab7(0x200)),_0xdd4acb=_0x59f221[_0x4f5ab7(0x1f6)][_0x4f5ab7(0x201)](_0x4f5ab7(0x204)),_0x12bb0d=_0x59f221[_0x4f5ab7(0x1f6)][_0x4f5ab7(0x201)](_0x4f5ab7(0x20d));for(const _0x5dcc27 of _0x12bb0d[_0x4f5ab7(0x1e3)]())_0x5dcc27[_0x4f5ab7(0x212)]();for(const _0x4817c0 of _0x57cf41)_0x298fe5[_0x4f5ab7(0x207)](_0x4817c0['id'])||_0x298fe5[_0x4f5ab7(0x209)](_0x4817c0);_0x298fe5['me']||_0x298fe5[_0x4f5ab7(0x1e4)]();for(const _0x561879 of _0x1615e2)_0x12bb0d[_0x4f5ab7(0x21c)](_0x561879);for(const _0x289664 of _0x3e9134)_0xdd4acb[_0x4f5ab7(0x1f4)](_0x289664);_0x59f221[_0x4f5ab7(0x226)][_0x4f5ab7(0x1fd)](_0xa01b4b);}(_0x407f5b,_0x1b9226),_0x1b9226[_0x5b123c(0x206)](_0x3401af?_0x5b123c(0x1ea):_0x5b123c(0x21b));const _0x1ff8bc=k(_0x1b9226)?_0x1b9226[_0x5b123c(0x1e2)](_0x9a648b):_0x1b9226[_0x5b123c(0x226)][_0x5b123c(0x201)](_0x9a648b);return await _0x1b9226[_0x5b123c(0x1f9)](),_0x1ff8bc;}
|