@ckeditor/ckeditor5-track-changes 46.0.1 → 46.0.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 +27 -27
- 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/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/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/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
|
-
|
|
23
|
+
function _0x2451(){const _0x23724f=['TableUtils','forceValue','12449628BYCIeg','_handleLegacySuggestions','has','_splitMarkerName','6849LvzzqM','FORMAT_HEADER_COLUMN','1462993OuwqDB','includes','TrackChangesEditing','nodeBefore','registerAttributeLabel','consumable','commandName','downcastDispatcher','locale','start','setAttribute','2384928EgAfbX','_suggestionFactory','setTableRowHeader','formatBlock','mapper','format','editing','enableDefaultAttributesIntegration','toViewElement','type','addClass','removeMarker:suggestion','registerBlockAttribute','1074ZWkchC','336124Amkpvr','150tqzQDw','registerDescriptionCallback','commandParams','data','FORMAT_REGULAR_COLUMN','headingColumns','name','cell','editor','setTableColumnHeader','FORMAT_REGULAR_ROW','requires','markerRange','descriptionFactory','highest','item','get','createTableWalker','ck-suggestion-marker-','plugins','removeAttribute','headingRows','accept','addMarker:suggestion','showSuggestionHighlights','getCellLocation','activeMarkers','stop','end','nodeAfter','markerNameToElements','registerCustomCallback','ck-suggestion-marker--active','parent','TableEditing','markerName','removeClass','afterInit','data-suggestion','unbindElementFromMarkerName','consume','7513840wxMadq','options','writer','bindElementToMarker','*Format:*\x20%0','getSuggestion','426741XnQeIm','FORMAT_HEADER_ROW','_acceptFormatSuggestionCallbackFactory','_registerLegacyDescription'];_0x2451=function(){return _0x23724f;};return _0x2451();}const _0x342b3c=_0x2b41;(function(_0x92244d,_0x1790ef){const _0x264b16=_0x2b41,_0x5849a8=_0x92244d();while(!![]){try{const _0x49c8c7=parseInt(_0x264b16(0x121))/0x1+-parseInt(_0x264b16(0x139))/0x2*(-parseInt(_0x264b16(0x11f))/0x3)+-parseInt(_0x264b16(0x13a))/0x4+-parseInt(_0x264b16(0x164))/0x5+parseInt(_0x264b16(0x13b))/0x6*(parseInt(_0x264b16(0x16a))/0x7)+-parseInt(_0x264b16(0x12c))/0x8+-parseInt(_0x264b16(0x170))/0x9;if(_0x49c8c7===_0x1790ef)break;else _0x5849a8['push'](_0x5849a8['shift']());}catch(_0x442fbf){_0x5849a8['push'](_0x5849a8['shift']());}}}(_0x2451,0xe6ac0));import{Plugin as _0x4d7240}from'ckeditor5/src/core.js';function _0x2b41(_0x37a2ae,_0x1afa73){const _0x245154=_0x2451();return _0x2b41=function(_0x2b419a,_0x31b520){_0x2b419a=_0x2b419a-0x11e;let _0xc4ba72=_0x245154[_0x2b419a];return _0xc4ba72;},_0x2b41(_0x37a2ae,_0x1afa73);}import{TrackChangesTable as _0x556fd3}from'./table.js';import{getTranslation as _0x3dfad4}from'../utils/common-translations.js';export class TrackChangesTableHeadings extends _0x4d7240{static get[_0x342b3c(0x146)](){return[_0x556fd3];}[_0x342b3c(0x160)](){const _0x1c10cf=_0x342b3c,_0x4de431=this[_0x1c10cf(0x143)];if(!_0x4de431[_0x1c10cf(0x14e)][_0x1c10cf(0x172)](_0x1c10cf(0x15d)))return;const _0x411d26=_0x4de431[_0x1c10cf(0x129)],_0x578278=_0x4de431[_0x1c10cf(0x14e)][_0x1c10cf(0x14b)](_0x1c10cf(0x123));_0x578278[_0x1c10cf(0x133)](_0x1c10cf(0x12e)),_0x578278[_0x1c10cf(0x133)](_0x1c10cf(0x144)),_0x578278[_0x1c10cf(0x138)](_0x1c10cf(0x150)),_0x578278[_0x1c10cf(0x138)](_0x1c10cf(0x140)),_0x578278[_0x1c10cf(0x148)][_0x1c10cf(0x125)](_0x1c10cf(0x150),_0x3dfad4(_0x411d26,_0x1c10cf(0x16b))),_0x578278[_0x1c10cf(0x148)][_0x1c10cf(0x125)](_0x1c10cf(0x140),_0x3dfad4(_0x411d26,_0x1c10cf(0x120))),this[_0x1c10cf(0x171)]();}[_0x342b3c(0x171)](){const _0x4333ef=_0x342b3c,_0x4231c3=this[_0x4333ef(0x143)][_0x4333ef(0x14e)][_0x4333ef(0x14b)](_0x4333ef(0x123)),_0x43a8aa=this[_0x4333ef(0x143)][_0x4333ef(0x14e)][_0x4333ef(0x14b)](_0x4333ef(0x16e)),_0x296ccc=this[_0x4333ef(0x143)][_0x4333ef(0x14e)][_0x4333ef(0x14b)](_0x556fd3)[_0x4333ef(0x16c)]();function _0x5b93a4({showActiveMarker:_0x21522f=!0x0,setDataAttribute:_0x58e096=!0x0}={}){return(_0x5c8aaf,_0x39c2d5,_0x2261d3)=>{const _0x47e7dd=_0x2b41,{type:_0x273706,id:_0x1c2bdb}=_0x4231c3[_0x47e7dd(0x11e)](_0x39c2d5[_0x47e7dd(0x15e)]),_0x57c440=_0x4231c3[_0x47e7dd(0x169)](_0x1c2bdb),_0x53f53a=_0x57c440[_0x47e7dd(0x13e)];if(_0x47e7dd(0x12f)!=_0x57c440[_0x47e7dd(0x135)]||!_0x53f53a||_0x47e7dd(0x144)!=_0x53f53a[_0x47e7dd(0x127)])return;if(_0x39c2d5[_0x47e7dd(0x14a)])return void _0x5c8aaf[_0x47e7dd(0x156)]();if(!_0x2261d3[_0x47e7dd(0x126)][_0x47e7dd(0x163)](_0x39c2d5[_0x47e7dd(0x147)],_0x5c8aaf[_0x47e7dd(0x141)]))return;const _0x6c044d=_0x39c2d5[_0x47e7dd(0x147)][_0x47e7dd(0x12a)][_0x47e7dd(0x158)],_0x401546=_0x39c2d5[_0x47e7dd(0x147)][_0x47e7dd(0x157)][_0x47e7dd(0x124)],_0x26f242=_0x6c044d[_0x47e7dd(0x15c)][_0x47e7dd(0x15c)],{column:_0x362a5f}=_0x43a8aa[_0x47e7dd(0x154)](_0x6c044d),{column:_0x2a9ac8}=_0x43a8aa[_0x47e7dd(0x154)](_0x401546);for(let _0x2c1e4e=_0x362a5f;_0x2c1e4e<=_0x2a9ac8;_0x2c1e4e++){const _0x3bd348=_0x43a8aa[_0x47e7dd(0x14c)](_0x26f242,{'column':_0x2c1e4e,'includeAllSlots':!0x1});for(const _0x5eeb04 of _0x3bd348){const _0x358b7b=_0x5eeb04[_0x47e7dd(0x142)],_0xe241b9=_0x2261d3[_0x47e7dd(0x130)][_0x47e7dd(0x134)](_0x358b7b);_0x2261d3[_0x47e7dd(0x166)][_0x47e7dd(0x136)](_0x47e7dd(0x14d)+_0x273706,_0xe241b9),_0x58e096&&_0x2261d3[_0x47e7dd(0x166)][_0x47e7dd(0x12b)](_0x47e7dd(0x161),_0x1c2bdb,_0xe241b9),_0x2261d3[_0x47e7dd(0x130)][_0x47e7dd(0x167)](_0xe241b9,_0x39c2d5[_0x47e7dd(0x15e)]),_0x21522f&&(_0x4231c3[_0x47e7dd(0x155)][_0x47e7dd(0x122)](_0x39c2d5[_0x47e7dd(0x15e)])?_0x2261d3[_0x47e7dd(0x166)][_0x47e7dd(0x136)](_0x47e7dd(0x15b),_0xe241b9):_0x2261d3[_0x47e7dd(0x166)][_0x47e7dd(0x15f)](_0x47e7dd(0x15b),_0xe241b9));}}};}_0x4231c3[_0x4333ef(0x12d)][_0x4333ef(0x15a)](_0x4333ef(0x12f),_0x4333ef(0x12e),_0x4333ef(0x151),_0x296ccc),_0x4231c3[_0x4333ef(0x12d)][_0x4333ef(0x15a)](_0x4333ef(0x12f),_0x4333ef(0x144),_0x4333ef(0x151),_0x296ccc),this[_0x4333ef(0x143)][_0x4333ef(0x132)][_0x4333ef(0x128)]['on'](_0x4333ef(0x152),_0x5b93a4(),{'priority':_0x4333ef(0x149)}),this[_0x4333ef(0x143)][_0x4333ef(0x13e)][_0x4333ef(0x128)]['on'](_0x4333ef(0x152),(_0x3211c7,_0x1b8667,_0x44c6b9)=>{const _0xaa81b7=_0x4333ef;_0x44c6b9[_0xaa81b7(0x165)][_0xaa81b7(0x153)]&&_0x5b93a4({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x3211c7,_0x1b8667,_0x44c6b9);},{'priority':_0x4333ef(0x149)}),this[_0x4333ef(0x143)][_0x4333ef(0x132)][_0x4333ef(0x128)]['on'](_0x4333ef(0x137),(_0x15c9d4,_0x46ef25,_0x4a4c6b)=>{const _0x1ff803=_0x4333ef,{type:_0xbf1147,id:_0x3c1296}=_0x4231c3[_0x1ff803(0x11e)](_0x46ef25[_0x1ff803(0x15e)]),_0x551ff7=_0x4231c3[_0x1ff803(0x169)](_0x3c1296),_0x36eadb=_0x551ff7[_0x1ff803(0x13e)];if(_0x1ff803(0x12f)!=_0x551ff7[_0x1ff803(0x135)]||!_0x36eadb||_0x1ff803(0x144)!=_0x36eadb[_0x1ff803(0x127)])return;const _0x3b4e9c=_0x4a4c6b[_0x1ff803(0x130)][_0x1ff803(0x159)](_0x46ef25[_0x1ff803(0x15e)]);if(_0x3b4e9c){for(const _0x1f1bba of _0x3b4e9c)_0x4a4c6b[_0x1ff803(0x166)][_0x1ff803(0x15f)](_0x1ff803(0x14d)+_0xbf1147,_0x1f1bba),_0x4a4c6b[_0x1ff803(0x166)][_0x1ff803(0x15f)](_0x1ff803(0x15b),_0x1f1bba),_0x4a4c6b[_0x1ff803(0x166)][_0x1ff803(0x14f)](_0x1ff803(0x161),_0x1f1bba),_0x4a4c6b[_0x1ff803(0x130)][_0x1ff803(0x162)](_0x1f1bba,_0x46ef25[_0x1ff803(0x15e)]);}},{'priority':_0x4333ef(0x149)}),this[_0x4333ef(0x16d)]();}[_0x342b3c(0x16d)](){const _0x488e8e=_0x342b3c,_0x28a16e=this[_0x488e8e(0x143)],_0x12d1e5=_0x28a16e[_0x488e8e(0x129)];function _0x35139c(_0x2898bb){const _0x5d6aff=_0x488e8e;return{'type':_0x5d6aff(0x131),'content':_0x3dfad4(_0x12d1e5,_0x5d6aff(0x168),_0x2898bb)};}_0x28a16e[_0x488e8e(0x14e)][_0x488e8e(0x14b)](_0x488e8e(0x123))[_0x488e8e(0x148)][_0x488e8e(0x13c)](_0x428a71=>{const _0x26135e=_0x488e8e;if(_0x26135e(0x12f)!=_0x428a71[_0x26135e(0x135)])return;const {data:_0x4308df}=_0x428a71;if(_0x4308df){if(_0x26135e(0x12e)==_0x4308df[_0x26135e(0x127)]){const _0x8f2364=_0x4308df[_0x26135e(0x13d)][0x0][_0x26135e(0x16f)];return _0x35139c(_0x3dfad4(_0x12d1e5,_0x8f2364?_0x26135e(0x16b):_0x26135e(0x145)));}if(_0x26135e(0x144)==_0x4308df[_0x26135e(0x127)]){const _0x5ae5f4=_0x4308df[_0x26135e(0x13d)][0x0][_0x26135e(0x16f)];return _0x35139c(_0x3dfad4(_0x12d1e5,_0x5ae5f4?_0x26135e(0x120):_0x26135e(0x13f)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x18da82=_0x14f3;(function(_0x461dc3,_0x4833e2){const _0x432c39=_0x14f3,_0x11f7fc=_0x461dc3();while(!![]){try{const _0xdd2704=parseInt(_0x432c39(0x182))/0x1*(parseInt(_0x432c39(0x180))/0x2)+parseInt(_0x432c39(0x16d))/0x3*(-parseInt(_0x432c39(0x18c))/0x4)+parseInt(_0x432c39(0x18a))/0x5*(-parseInt(_0x432c39(0x187))/0x6)+parseInt(_0x432c39(0x17e))/0x7*(parseInt(_0x432c39(0x185))/0x8)+-parseInt(_0x432c39(0x179))/0x9*(parseInt(_0x432c39(0x16f))/0xa)+parseInt(_0x432c39(0x173))/0xb*(-parseInt(_0x432c39(0x17f))/0xc)+parseInt(_0x432c39(0x16e))/0xd*(parseInt(_0x432c39(0x174))/0xe);if(_0xdd2704===_0x4833e2)break;else _0x11f7fc['push'](_0x11f7fc['shift']());}catch(_0x5f3729){_0x11f7fc['push'](_0x11f7fc['shift']());}}}(_0x9870,0x2565c));import{Plugin as _0x59a8fd}from'ckeditor5/src/core.js';import{getTranslation as _0x4159a9}from'../utils/common-translations.js';function _0x14f3(_0x484d1a,_0xe8c2b){const _0x9870e1=_0x9870();return _0x14f3=function(_0x14f3f3,_0x5a44f0){_0x14f3f3=_0x14f3f3-0x166;let _0x200485=_0x9870e1[_0x14f3f3];return _0x200485;},_0x14f3(_0x484d1a,_0xe8c2b);}function _0x9870(){const _0x124025=['content','registerDescriptionCallback','1470WKrEBu','804pFtZMg','2EzSMgh','layout','7281FVeSBZ','key','locale','11160JnFDaV','insertTableLayout','3732QgNfVw','element','TrackChangesEditing','95nxuNJu','registerElementLabel','988028YCRKrh','ELEMENT_CONTENT_TABLE','newValue','table','ELEMENT_LAYOUT_TABLE','descriptionFactory','plugins','enableDefaultAttributesIntegration','getAttribute','has','3bFGIGF','1547YbBWYJ','10oNcZUd','format','tableType','get','26587QaEHCO','56532ZPCzYg','registerBlockAttribute','TableLayout','enableCommand','editor','1861281drIdei','*Set\x20table\x20type:*\x20%0','afterInit'];_0x9870=function(){return _0x124025;};return _0x9870();}export class TrackChangesTableLayout extends _0x59a8fd{[_0x18da82(0x17b)](){const _0x120507=_0x18da82,_0x50ef57=this[_0x120507(0x178)],_0xb08c02=_0x50ef57[_0x120507(0x184)],_0x4d13a5=_0x50ef57[_0x120507(0x169)][_0x120507(0x172)](_0x120507(0x189));function _0x1dc04d(_0x131b54){const _0x4d941f=_0x120507;return{'type':_0x4d941f(0x170),'content':''+_0x4159a9(_0xb08c02,_0x4d941f(0x17a),_0x131b54)};}_0x50ef57[_0x120507(0x169)][_0x120507(0x16c)](_0x120507(0x176))&&(_0x4d13a5[_0x120507(0x177)](_0x120507(0x186)),_0x4d13a5[_0x120507(0x16a)](_0x120507(0x171)),_0x4d13a5[_0x120507(0x175)](_0x120507(0x171)),_0x4d13a5[_0x120507(0x168)][_0x120507(0x18b)](_0x3df892=>_0x3df892['is'](_0x120507(0x188),_0x120507(0x166))&&_0x120507(0x181)===_0x3df892[_0x120507(0x16b)](_0x120507(0x171)),_0x444583=>_0x4159a9(_0xb08c02,_0x120507(0x167),_0x444583)),_0x4d13a5[_0x120507(0x168)][_0x120507(0x17d)](_0x1740c9=>{const _0x4b4993=_0x120507,{data:_0x1abb8c}=_0x1740c9;if(_0x1abb8c&&_0x4b4993(0x171)==_0x1abb8c[_0x4b4993(0x183)])switch(_0x1abb8c[_0x4b4993(0x18e)]){case _0x4b4993(0x181):return _0x1dc04d(_0x4159a9(_0xb08c02,_0x4b4993(0x167)));case _0x4b4993(0x17c):return _0x1dc04d(_0x4159a9(_0xb08c02,_0x4b4993(0x18d)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4957bb=_0x6f0f;(function(_0x465bdd,_0x1634b7){const _0x30d7f3=_0x6f0f,_0x3697ca=_0x465bdd();while(!![]){try{const _0x1c6881=-parseInt(_0x30d7f3(0xa8))/0x1+-parseInt(_0x30d7f3(0x87))/0x2+parseInt(_0x30d7f3(0x77))/0x3*(-parseInt(_0x30d7f3(0x9c))/0x4)+-parseInt(_0x30d7f3(0xb7))/0x5+parseInt(_0x30d7f3(0x98))/0x6+-parseInt(_0x30d7f3(0x88))/0x7*(-parseInt(_0x30d7f3(0xb8))/0x8)+parseInt(_0x30d7f3(0xa5))/0x9;if(_0x1c6881===_0x1634b7)break;else _0x3697ca['push'](_0x3697ca['shift']());}catch(_0x34f164){_0x3697ca['push'](_0x3697ca['shift']());}}}(_0x4dcb,0xa671a));function _0x4dcb(){const _0x552610=['registerDescriptionCallback','*Split\x20cell:*\x20horizontally','mergeTableCellRight','format','_isForcedDefaultExecutionBlock','rootName','change','formatInline','push','execute','mergeTableCellLeft','table','2380626UGAyHG','tableCell','deletion','_acceptFormatSuggestionCallbackFactory','44FAICUV','cell','type','stop','refresh','setSelection','length','getAncestors','_suggestionFactory','7116876eKEXYZ','find','trackChanges','539323mMziKn','subType','set:isEnabled','mergeTableCells','getRanges','registerCustomCallback','selection','commands','*Merge\x20cells*','commandName','filter','forceDefaultExecution','createRangeOn','accept','enableCommand','78800JjDMhs','1629816KceGeW','markBlockFormat','direction','isInContent','formatBlock','getSuggestions','splitTableCellVertically','size','createTableWalker','has','getFirstPosition','mergeTableCellDown','map','root','*Split\x20cell:*\x20vertically','document','TrackChangesEditing','value','element','markMultiRangeBlockFormat','plugins','_tablePostFixingSubtypes','add','model','containsRange','$graveyard','getCellLocation','author','afterInit','isEnabled','TableEditing','TableUtils','_areSelectedCellsMergable','53004tkfeFM','return','_areMergableCells','requires','descriptionFactory','low','highest','from','get','locale','splitTableCellHorizontally','findAncestor','fromRange','mergeTableCellUp','insertion','editor','1549970wStBwb','35gIrGje','detach','horizontally','getSelectionAffectedTableCells'];_0x4dcb=function(){return _0x552610;};return _0x4dcb();}import{Plugin as _0x1330e6}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x1627ad}from'./table.js';import{ModelLiveRange as _0x565057}from'ckeditor5/src/engine.js';import{getTranslation as _0x5d460c}from'../utils/common-translations.js';function _0x6f0f(_0x4d2225,_0x499f29){const _0x4dcb4a=_0x4dcb();return _0x6f0f=function(_0x6f0f58,_0x15ec68){_0x6f0f58=_0x6f0f58-0x67;let _0x3ff33b=_0x4dcb4a[_0x6f0f58];return _0x3ff33b;},_0x6f0f(_0x4d2225,_0x499f29);}export class TrackChangesTableMergeSplit extends _0x1330e6{static get[_0x4957bb(0x7a)](){return[_0x1627ad];}[_0x4957bb(0x72)](){const _0x56d44e=_0x4957bb,_0x152d3e=this[_0x56d44e(0x86)],_0x3a50ba=_0x152d3e[_0x56d44e(0x6d)][_0x56d44e(0xc7)][_0x56d44e(0xae)],_0x39237a=_0x152d3e[_0x56d44e(0x80)];if(!_0x152d3e[_0x56d44e(0x6a)][_0x56d44e(0xc1)](_0x56d44e(0x74)))return;const _0x18eb34=_0x152d3e[_0x56d44e(0x6a)][_0x56d44e(0x7f)](_0x56d44e(0xc8)),_0x18957b=_0x152d3e[_0x56d44e(0x6a)][_0x56d44e(0x7f)](_0x56d44e(0x75)),_0xfb65ae=_0x152d3e[_0x56d44e(0x6a)][_0x56d44e(0x7f)](_0x1627ad);_0xfb65ae[_0x56d44e(0x6b)][_0x56d44e(0x94)](_0x56d44e(0xab)),_0x18eb34[_0x56d44e(0xb6)](_0x56d44e(0xab),()=>{const _0x5173a7=_0x56d44e,_0x5bddf8=_0x18957b[_0x5173a7(0x8b)](_0x152d3e[_0x5173a7(0x6d)][_0x5173a7(0xc7)][_0x5173a7(0xae)]);_0x152d3e[_0x5173a7(0x6d)][_0x5173a7(0x92)](()=>{const _0x4e0b56=_0x5173a7;_0x18eb34[_0x4e0b56(0x69)](_0x5bddf8,{'commandName':_0x4e0b56(0xab),'commandParams':[]},[],_0x4e0b56(0xab));});}),_0x152d3e[_0x56d44e(0xaf)][_0x56d44e(0x7f)](_0x56d44e(0xab))['on'](_0x56d44e(0x95),(_0x29cd8a,_0x25bed5)=>{const _0xb3e845=_0x56d44e;_0x152d3e[_0xb3e845(0xaf)][_0xb3e845(0x7f)](_0xb3e845(0xa7))[_0xb3e845(0x67)]&&(_0x25bed5[_0xb3e845(0xa2)]>0x0&&_0x25bed5[_0x25bed5[_0xb3e845(0xa2)]-0x1]&&_0x25bed5[_0x25bed5[_0xb3e845(0xa2)]-0x1][_0xb3e845(0xb3)]||_0x18eb34[_0xb3e845(0x90)]||this[_0xb3e845(0x76)]()||_0x29cd8a[_0xb3e845(0x9f)]());},{'priority':_0x56d44e(0x7d)});for(const _0x537a72 of[_0x56d44e(0x84),_0x56d44e(0x8e),_0x56d44e(0xc3),_0x56d44e(0x96)]){const _0x522e1e=_0x152d3e[_0x56d44e(0xaf)][_0x56d44e(0x7f)](_0x537a72);_0x18eb34[_0x56d44e(0xb6)](_0x537a72,()=>{const _0x1d378d=_0x56d44e,_0x5b9c49=_0x152d3e[_0x1d378d(0x6d)][_0x1d378d(0xc7)][_0x1d378d(0xae)][_0x1d378d(0xc2)]()[_0x1d378d(0xa3)]()[_0x1d378d(0xa6)](_0x3b6f34=>_0x3b6f34['is'](_0x1d378d(0x68),_0x1d378d(0x99))),_0x5d3889=_0x522e1e[_0x1d378d(0x67)];_0x152d3e[_0x1d378d(0x6d)][_0x1d378d(0x92)](()=>{const _0x1c63c5=_0x1d378d;_0x18eb34[_0x1c63c5(0x69)]([_0x5b9c49,_0x5d3889],{'commandName':_0x1c63c5(0xab),'commandParams':[]},[],_0x1c63c5(0xab));});});}for(const _0x49fc17 of[_0x56d44e(0xbe),_0x56d44e(0x81)]){const _0x3cab57=_0x152d3e[_0x56d44e(0xaf)][_0x56d44e(0x7f)](_0x49fc17);_0x18eb34[_0x56d44e(0xb6)](_0x49fc17,()=>{const _0x5bb97b=_0x56d44e,_0xab6690=_0x18957b[_0x5bb97b(0x8b)](_0x152d3e[_0x5bb97b(0x6d)][_0x5bb97b(0xc7)][_0x5bb97b(0xae)])[0x0],_0xfa0561=_0xab6690[_0x5bb97b(0x82)](_0x5bb97b(0x97)),{column:_0x1b851b,row:_0xff08db}=_0x18957b[_0x5bb97b(0x70)](_0xab6690);let _0x428036=[];if(_0x5bb97b(0x8a)==_0x3cab57[_0x5bb97b(0xba)]){const _0xd15510=_0x18957b[_0x5bb97b(0xc0)](_0xfa0561,{'startRow':_0xff08db,'endRow':_0xff08db,'includeAllSlots':!0x0});_0x428036=Array[_0x5bb97b(0x7e)](_0xd15510)[_0x5bb97b(0xc4)](_0x50f82c=>_0x50f82c[_0x5bb97b(0x9d)]);}else{const _0x4d63d7=_0x18957b[_0x5bb97b(0xc0)](_0xfa0561,{'column':_0x1b851b,'includeAllSlots':!0x0});_0x428036=Array[_0x5bb97b(0x7e)](_0x4d63d7)[_0x5bb97b(0xc4)](_0x5bdee6=>_0x5bdee6[_0x5bb97b(0x9d)]);}_0x152d3e[_0x5bb97b(0x6d)][_0x5bb97b(0x92)](_0xb81bcb=>{const _0x2592e2=_0x5bb97b;_0x18eb34[_0x2592e2(0xb9)](_0xb81bcb[_0x2592e2(0xb4)](_0xab6690),{'commandName':_0x49fc17,'commandParams':[]},_0x428036,_0x49fc17);});});}_0x18eb34[_0x56d44e(0x7b)][_0x56d44e(0x8c)](_0x32dc92=>{const _0x22fb94=_0x56d44e;if(_0x22fb94(0xbc)!=_0x32dc92[_0x22fb94(0x9e)]&&_0x22fb94(0x93)!=_0x32dc92[_0x22fb94(0x9e)])return;const {data:_0x17e1fd}=_0x32dc92;return _0x17e1fd&&_0x22fb94(0xab)==_0x17e1fd[_0x22fb94(0xb1)]?{'type':_0x22fb94(0x8f),'content':_0x5d460c(_0x39237a,_0x22fb94(0xb0))}:void 0x0;}),_0x18eb34[_0x56d44e(0x7b)][_0x56d44e(0x8c)](_0x225ab8=>{const _0x5a2598=_0x56d44e;if(_0x5a2598(0xbc)!=_0x225ab8[_0x5a2598(0x9e)]&&_0x5a2598(0x93)!=_0x225ab8[_0x5a2598(0x9e)])return;const {data:_0x3c1cf9}=_0x225ab8;return _0x3c1cf9?_0x5a2598(0xbe)==_0x3c1cf9[_0x5a2598(0xb1)]?{'type':_0x5a2598(0x8f),'content':_0x5d460c(_0x39237a,_0x5a2598(0xc6))}:_0x5a2598(0x81)==_0x3c1cf9[_0x5a2598(0xb1)]?{'type':_0x5a2598(0x8f),'content':_0x5d460c(_0x39237a,_0x5a2598(0x8d))}:void 0x0:void 0x0;});const _0x153679=_0xfb65ae[_0x56d44e(0x9b)]();for(const _0x2b8e31 of[_0x56d44e(0x84),_0x56d44e(0x8e),_0x56d44e(0xc3),_0x56d44e(0x96)])_0x18eb34[_0x56d44e(0xa4)][_0x56d44e(0xad)](_0x56d44e(0xbc),_0x2b8e31,_0x56d44e(0xb5),_0x153679);for(const _0x3168fb of[_0x56d44e(0xbe),_0x56d44e(0x81)])_0x18eb34[_0x56d44e(0xa4)][_0x56d44e(0xad)](_0x56d44e(0xbc),_0x3168fb,_0x56d44e(0xb5),_0x153679);_0x18eb34[_0x56d44e(0xa4)][_0x56d44e(0xad)](_0x56d44e(0xbc),_0x56d44e(0xab),_0x56d44e(0xb5),_0x3972ad=>{const _0x102c5e=_0x56d44e;_0x152d3e[_0x102c5e(0x6d)][_0x102c5e(0x92)](_0x4417b5=>{const _0x48552b=_0x102c5e,_0x5a4e5a=Array[_0x48552b(0x7e)](_0x3a50ba[_0x48552b(0xac)]())[_0x48552b(0xc4)](_0x23c911=>_0x565057[_0x48552b(0x83)](_0x23c911));_0x4417b5[_0x48552b(0xa1)](_0x3972ad),_0x152d3e[_0x48552b(0xaf)][_0x48552b(0x7f)](_0x48552b(0xab))[_0x48552b(0xa0)](),_0x152d3e[_0x48552b(0x95)](_0x48552b(0xab),{'forceDefaultExecution':!0x0});const _0x10cc22=_0x5a4e5a[_0x48552b(0xb2)](_0x56a1cd=>_0x48552b(0x6f)!=_0x56a1cd[_0x48552b(0xc5)][_0x48552b(0x91)]);_0x10cc22[_0x48552b(0xa2)]>0x0&&_0x4417b5[_0x48552b(0xa1)](_0x10cc22);for(const _0xae087f of _0x5a4e5a)_0xae087f[_0x48552b(0x89)]();});});for(const _0x252750 of[_0x56d44e(0x84),_0x56d44e(0xc3),_0x56d44e(0x96),_0x56d44e(0x8e)]){const _0x1a0a60=_0x152d3e[_0x56d44e(0xaf)][_0x56d44e(0x7f)](_0x252750);_0x1a0a60['on'](_0x56d44e(0xaa),(_0x1bf061,_0x3cb39f,_0xf5b374)=>{const _0xf52248=_0x56d44e;if(_0xf5b374){const _0x322cdd=_0x152d3e[_0xf52248(0x6d)][_0xf52248(0xc7)][_0xf52248(0xae)][_0xf52248(0xc2)]()[_0xf52248(0xa3)]()[_0xf52248(0xa6)](_0x292248=>_0x292248['is'](_0xf52248(0x68),_0xf52248(0x99)));this[_0xf52248(0x79)](_0x1a0a60[_0xf52248(0x67)],_0x322cdd)||(_0x1bf061[_0xf52248(0x78)]=!0x1,_0x1bf061[_0xf52248(0x9f)]());}},{'priority':_0x56d44e(0x7c)});}}[_0x4957bb(0x76)](){const _0x2f119a=_0x4957bb,_0x5c7cbe=this[_0x2f119a(0x86)][_0x2f119a(0xaf)][_0x2f119a(0x7f)](_0x2f119a(0xab)),_0x44ee9e=this[_0x2f119a(0x86)][_0x2f119a(0x6a)][_0x2f119a(0x7f)](_0x2f119a(0x75));if(!_0x5c7cbe[_0x2f119a(0x73)])return!0x1;const _0x327d4d=_0x44ee9e[_0x2f119a(0x8b)](this[_0x2f119a(0x86)][_0x2f119a(0x6d)][_0x2f119a(0xc7)][_0x2f119a(0xae)]);for(const _0x5e42f0 of _0x327d4d)for(const _0x56af84 of _0x327d4d)if(_0x5e42f0!=_0x56af84&&!this[_0x2f119a(0x79)](_0x5e42f0,_0x56af84))return!0x1;return!0x0;}[_0x4957bb(0x79)](_0x24e0b5,_0x144936){const _0x39d35b=_0x4957bb,_0x153da6=this[_0x39d35b(0x86)][_0x39d35b(0x6a)][_0x39d35b(0x7f)](_0x39d35b(0xc8)),_0xb6608c=this[_0x39d35b(0x86)][_0x39d35b(0x6d)][_0x39d35b(0xb4)](_0x24e0b5),_0xa16382=this[_0x39d35b(0x86)][_0x39d35b(0x6d)][_0x39d35b(0xb4)](_0x144936),_0x1963f2=new Set(),_0x1e52da=new Set();for(const _0xbc2bb7 of _0x153da6[_0x39d35b(0xbd)]())if((_0x39d35b(0x85)==_0xbc2bb7[_0x39d35b(0x9e)]||_0x39d35b(0x9a)==_0xbc2bb7[_0x39d35b(0x9e)]||_0x39d35b(0xab)==_0xbc2bb7[_0x39d35b(0xa9)])&&_0xbc2bb7[_0x39d35b(0xbb)]){for(const _0x15ae0a of _0xbc2bb7[_0x39d35b(0xac)]())_0x15ae0a[_0x39d35b(0x6e)](_0xb6608c,!0x0)&&_0x1963f2[_0x39d35b(0x6c)](_0xbc2bb7[_0x39d35b(0x9e)]+':'+_0xbc2bb7[_0x39d35b(0x71)]['id']),_0x15ae0a[_0x39d35b(0x6e)](_0xa16382,!0x0)&&_0x1e52da[_0x39d35b(0x6c)](_0xbc2bb7[_0x39d35b(0x9e)]+':'+_0xbc2bb7[_0x39d35b(0x71)]['id']);}if(_0x1963f2[_0x39d35b(0xbf)]!=_0x1e52da[_0x39d35b(0xbf)])return!0x1;for(const _0x52000d of _0x1963f2)if(!_0x1e52da[_0x39d35b(0xc1)](_0x52000d))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x190ed3=_0x1d82;(function(_0x5364cb,_0x4c2ba7){const _0x54ba93=_0x1d82,_0x3f352d=_0x5364cb();while(!![]){try{const _0x52c6c0=-parseInt(_0x54ba93(0xd8))/0x1*(parseInt(_0x54ba93(0x93))/0x2)+-parseInt(_0x54ba93(0xa1))/0x3+-parseInt(_0x54ba93(0xe0))/0x4+parseInt(_0x54ba93(0xc0))/0x5+parseInt(_0x54ba93(0xcb))/0x6*(-parseInt(_0x54ba93(0xaf))/0x7)+-parseInt(_0x54ba93(0x92))/0x8+parseInt(_0x54ba93(0xe5))/0x9;if(_0x52c6c0===_0x4c2ba7)break;else _0x3f352d['push'](_0x3f352d['shift']());}catch(_0x539a63){_0x3f352d['push'](_0x3f352d['shift']());}}}(_0x3024,0xb6713));function _0x3024(){const _0x2487d6=['*Split\x20cell:*\x20horizontally','622619dkzLfJ','_isForcedDefaultExecutionBlock','stop','plugins','TrackChangesEditing','getSuggestions','TableUtils','commands','1789480EczFkg','set:isEnabled','mergeTableCellLeft','tableCell','_areSelectedCellsMergable','30130650cNyqXY','markBlockFormat','_suggestionFactory','deletion','mergeTableCellRight','findAncestor','getFirstPosition','detach','cell','selection','push','forceDefaultExecution','filter','map','isEnabled','4646024rglvvV','4akUusT','mergeTableCells','table','horizontally','size','highest','getAncestors','accept','createTableWalker','registerCustomCallback','$graveyard','model','getCellLocation','value','2162733URUyIR','formatInline','from','afterInit','root','add','execute','_tablePostFixingSubtypes','has','low','_areMergableCells','containsRange','splitTableCellHorizontally','formatBlock','1474886bBQgpU','find','*Merge\x20cells*','return','getSelectionAffectedTableCells','length','format','trackChanges','editor','change','locale','getRanges','get','fromRange','markMultiRangeBlockFormat','*Split\x20cell:*\x20vertically','insertion','5128995aqhRoZ','createRangeOn','author','descriptionFactory','commandName','_acceptFormatSuggestionCallbackFactory','mergeTableCellUp','rootName','subType','element','registerDescriptionCallback','18zJOuJs','mergeTableCellDown','direction','TableEditing','document','refresh','enableCommand','setSelection','type','splitTableCellVertically','isInContent','requires'];_0x3024=function(){return _0x2487d6;};return _0x3024();}import{Plugin as _0x53c3bb}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x2304df}from'./table.js';function _0x1d82(_0x3811d7,_0x3bd05d){const _0x30242f=_0x3024();return _0x1d82=function(_0x1d825a,_0x3f483d){_0x1d825a=_0x1d825a-0x8a;let _0x54c3c7=_0x30242f[_0x1d825a];return _0x54c3c7;},_0x1d82(_0x3811d7,_0x3bd05d);}import{ModelLiveRange as _0x521aa6}from'ckeditor5/src/engine.js';import{getTranslation as _0x370145}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x53c3bb{static get[_0x190ed3(0xd6)](){return[_0x2304df];}[_0x190ed3(0xa4)](){const _0x4065ed=_0x190ed3,_0x3ba582=this[_0x4065ed(0xb7)],_0x20cbc5=_0x3ba582[_0x4065ed(0x9e)][_0x4065ed(0xcf)][_0x4065ed(0x8c)],_0x338030=_0x3ba582[_0x4065ed(0xb9)];if(!_0x3ba582[_0x4065ed(0xdb)][_0x4065ed(0xa9)](_0x4065ed(0xce)))return;const _0x42d16f=_0x3ba582[_0x4065ed(0xdb)][_0x4065ed(0xbb)](_0x4065ed(0xdc)),_0x5e1000=_0x3ba582[_0x4065ed(0xdb)][_0x4065ed(0xbb)](_0x4065ed(0xde)),_0x206d69=_0x3ba582[_0x4065ed(0xdb)][_0x4065ed(0xbb)](_0x2304df);_0x206d69[_0x4065ed(0xa8)][_0x4065ed(0x8d)](_0x4065ed(0x94)),_0x42d16f[_0x4065ed(0xd1)](_0x4065ed(0x94),()=>{const _0x54c154=_0x4065ed,_0x4f35c4=_0x5e1000[_0x54c154(0xb3)](_0x3ba582[_0x54c154(0x9e)][_0x54c154(0xcf)][_0x54c154(0x8c)]);_0x3ba582[_0x54c154(0x9e)][_0x54c154(0xb8)](()=>{const _0x2c1749=_0x54c154;_0x42d16f[_0x2c1749(0xbd)](_0x4f35c4,{'commandName':_0x2c1749(0x94),'commandParams':[]},[],_0x2c1749(0x94));});}),_0x3ba582[_0x4065ed(0xdf)][_0x4065ed(0xbb)](_0x4065ed(0x94))['on'](_0x4065ed(0xa7),(_0x6236a0,_0x59ed96)=>{const _0x59f57b=_0x4065ed;_0x3ba582[_0x59f57b(0xdf)][_0x59f57b(0xbb)](_0x59f57b(0xb6))[_0x59f57b(0xa0)]&&(_0x59ed96[_0x59f57b(0xb4)]>0x0&&_0x59ed96[_0x59ed96[_0x59f57b(0xb4)]-0x1]&&_0x59ed96[_0x59ed96[_0x59f57b(0xb4)]-0x1][_0x59f57b(0x8e)]||_0x42d16f[_0x59f57b(0xd9)]||this[_0x59f57b(0xe4)]()||_0x6236a0[_0x59f57b(0xda)]());},{'priority':_0x4065ed(0x98)});for(const _0x26b815 of[_0x4065ed(0xc6),_0x4065ed(0xe9),_0x4065ed(0xcc),_0x4065ed(0xe2)]){const _0x2bac3e=_0x3ba582[_0x4065ed(0xdf)][_0x4065ed(0xbb)](_0x26b815);_0x42d16f[_0x4065ed(0xd1)](_0x26b815,()=>{const _0x4e24bc=_0x4065ed,_0x38b969=_0x3ba582[_0x4e24bc(0x9e)][_0x4e24bc(0xcf)][_0x4e24bc(0x8c)][_0x4e24bc(0xeb)]()[_0x4e24bc(0x99)]()[_0x4e24bc(0xb0)](_0x13f88b=>_0x13f88b['is'](_0x4e24bc(0xc9),_0x4e24bc(0xe3))),_0x3aa940=_0x2bac3e[_0x4e24bc(0xa0)];_0x3ba582[_0x4e24bc(0x9e)][_0x4e24bc(0xb8)](()=>{const _0x56cc1d=_0x4e24bc;_0x42d16f[_0x56cc1d(0xbd)]([_0x38b969,_0x3aa940],{'commandName':_0x56cc1d(0x94),'commandParams':[]},[],_0x56cc1d(0x94));});});}for(const _0x3770d7 of[_0x4065ed(0xd4),_0x4065ed(0xad)]){const _0x2f79fe=_0x3ba582[_0x4065ed(0xdf)][_0x4065ed(0xbb)](_0x3770d7);_0x42d16f[_0x4065ed(0xd1)](_0x3770d7,()=>{const _0x40d830=_0x4065ed,_0x4eed2c=_0x5e1000[_0x40d830(0xb3)](_0x3ba582[_0x40d830(0x9e)][_0x40d830(0xcf)][_0x40d830(0x8c)])[0x0],_0x5ba0ac=_0x4eed2c[_0x40d830(0xea)](_0x40d830(0x95)),{column:_0xac6332,row:_0x2b25c4}=_0x5e1000[_0x40d830(0x9f)](_0x4eed2c);let _0x2e50a6=[];if(_0x40d830(0x96)==_0x2f79fe[_0x40d830(0xcd)]){const _0x19bfa9=_0x5e1000[_0x40d830(0x9b)](_0x5ba0ac,{'startRow':_0x2b25c4,'endRow':_0x2b25c4,'includeAllSlots':!0x0});_0x2e50a6=Array[_0x40d830(0xa3)](_0x19bfa9)[_0x40d830(0x90)](_0xb5ebae=>_0xb5ebae[_0x40d830(0x8b)]);}else{const _0x17a20f=_0x5e1000[_0x40d830(0x9b)](_0x5ba0ac,{'column':_0xac6332,'includeAllSlots':!0x0});_0x2e50a6=Array[_0x40d830(0xa3)](_0x17a20f)[_0x40d830(0x90)](_0x5c46fc=>_0x5c46fc[_0x40d830(0x8b)]);}_0x3ba582[_0x40d830(0x9e)][_0x40d830(0xb8)](_0x30b12e=>{const _0x37e3be=_0x40d830;_0x42d16f[_0x37e3be(0xe6)](_0x30b12e[_0x37e3be(0xc1)](_0x4eed2c),{'commandName':_0x3770d7,'commandParams':[]},_0x2e50a6,_0x3770d7);});});}_0x42d16f[_0x4065ed(0xc3)][_0x4065ed(0xca)](_0x171b34=>{const _0x7a63ec=_0x4065ed;if(_0x7a63ec(0xae)!=_0x171b34[_0x7a63ec(0xd3)]&&_0x7a63ec(0xa2)!=_0x171b34[_0x7a63ec(0xd3)])return;const {data:_0x1f040f}=_0x171b34;return _0x1f040f&&_0x7a63ec(0x94)==_0x1f040f[_0x7a63ec(0xc4)]?{'type':_0x7a63ec(0xb5),'content':_0x370145(_0x338030,_0x7a63ec(0xb1))}:void 0x0;}),_0x42d16f[_0x4065ed(0xc3)][_0x4065ed(0xca)](_0x222a48=>{const _0x5f2807=_0x4065ed;if(_0x5f2807(0xae)!=_0x222a48[_0x5f2807(0xd3)]&&_0x5f2807(0xa2)!=_0x222a48[_0x5f2807(0xd3)])return;const {data:_0x2a8de7}=_0x222a48;return _0x2a8de7?_0x5f2807(0xd4)==_0x2a8de7[_0x5f2807(0xc4)]?{'type':_0x5f2807(0xb5),'content':_0x370145(_0x338030,_0x5f2807(0xbe))}:_0x5f2807(0xad)==_0x2a8de7[_0x5f2807(0xc4)]?{'type':_0x5f2807(0xb5),'content':_0x370145(_0x338030,_0x5f2807(0xd7))}:void 0x0:void 0x0;});const _0xe29773=_0x206d69[_0x4065ed(0xc5)]();for(const _0x541138 of[_0x4065ed(0xc6),_0x4065ed(0xe9),_0x4065ed(0xcc),_0x4065ed(0xe2)])_0x42d16f[_0x4065ed(0xe7)][_0x4065ed(0x9c)](_0x4065ed(0xae),_0x541138,_0x4065ed(0x9a),_0xe29773);for(const _0x45fb1e of[_0x4065ed(0xd4),_0x4065ed(0xad)])_0x42d16f[_0x4065ed(0xe7)][_0x4065ed(0x9c)](_0x4065ed(0xae),_0x45fb1e,_0x4065ed(0x9a),_0xe29773);_0x42d16f[_0x4065ed(0xe7)][_0x4065ed(0x9c)](_0x4065ed(0xae),_0x4065ed(0x94),_0x4065ed(0x9a),_0x240148=>{const _0x422bba=_0x4065ed;_0x3ba582[_0x422bba(0x9e)][_0x422bba(0xb8)](_0x4d9bea=>{const _0x341a5d=_0x422bba,_0x156831=Array[_0x341a5d(0xa3)](_0x20cbc5[_0x341a5d(0xba)]())[_0x341a5d(0x90)](_0x12f92d=>_0x521aa6[_0x341a5d(0xbc)](_0x12f92d));_0x4d9bea[_0x341a5d(0xd2)](_0x240148),_0x3ba582[_0x341a5d(0xdf)][_0x341a5d(0xbb)](_0x341a5d(0x94))[_0x341a5d(0xd0)](),_0x3ba582[_0x341a5d(0xa7)](_0x341a5d(0x94),{'forceDefaultExecution':!0x0});const _0x115bcf=_0x156831[_0x341a5d(0x8f)](_0x4d1e58=>_0x341a5d(0x9d)!=_0x4d1e58[_0x341a5d(0xa5)][_0x341a5d(0xc7)]);_0x115bcf[_0x341a5d(0xb4)]>0x0&&_0x4d9bea[_0x341a5d(0xd2)](_0x115bcf);for(const _0x2a3008 of _0x156831)_0x2a3008[_0x341a5d(0x8a)]();});});for(const _0x244d07 of[_0x4065ed(0xc6),_0x4065ed(0xcc),_0x4065ed(0xe2),_0x4065ed(0xe9)]){const _0x311097=_0x3ba582[_0x4065ed(0xdf)][_0x4065ed(0xbb)](_0x244d07);_0x311097['on'](_0x4065ed(0xe1),(_0x16941a,_0x53e03d,_0x1e7be4)=>{const _0x297ed6=_0x4065ed;if(_0x1e7be4){const _0x227cac=_0x3ba582[_0x297ed6(0x9e)][_0x297ed6(0xcf)][_0x297ed6(0x8c)][_0x297ed6(0xeb)]()[_0x297ed6(0x99)]()[_0x297ed6(0xb0)](_0x58aec3=>_0x58aec3['is'](_0x297ed6(0xc9),_0x297ed6(0xe3)));this[_0x297ed6(0xab)](_0x311097[_0x297ed6(0xa0)],_0x227cac)||(_0x16941a[_0x297ed6(0xb2)]=!0x1,_0x16941a[_0x297ed6(0xda)]());}},{'priority':_0x4065ed(0xaa)});}}[_0x190ed3(0xe4)](){const _0x56a944=_0x190ed3,_0x2371f6=this[_0x56a944(0xb7)][_0x56a944(0xdf)][_0x56a944(0xbb)](_0x56a944(0x94)),_0x1277ca=this[_0x56a944(0xb7)][_0x56a944(0xdb)][_0x56a944(0xbb)](_0x56a944(0xde));if(!_0x2371f6[_0x56a944(0x91)])return!0x1;const _0x24aab7=_0x1277ca[_0x56a944(0xb3)](this[_0x56a944(0xb7)][_0x56a944(0x9e)][_0x56a944(0xcf)][_0x56a944(0x8c)]);for(const _0x876770 of _0x24aab7)for(const _0x2d53e1 of _0x24aab7)if(_0x876770!=_0x2d53e1&&!this[_0x56a944(0xab)](_0x876770,_0x2d53e1))return!0x1;return!0x0;}[_0x190ed3(0xab)](_0x2e2813,_0x2d800f){const _0x556340=_0x190ed3,_0x331e81=this[_0x556340(0xb7)][_0x556340(0xdb)][_0x556340(0xbb)](_0x556340(0xdc)),_0x3bd9b4=this[_0x556340(0xb7)][_0x556340(0x9e)][_0x556340(0xc1)](_0x2e2813),_0x4f4567=this[_0x556340(0xb7)][_0x556340(0x9e)][_0x556340(0xc1)](_0x2d800f),_0x4cbe73=new Set(),_0x199456=new Set();for(const _0x55c79b of _0x331e81[_0x556340(0xdd)]())if((_0x556340(0xbf)==_0x55c79b[_0x556340(0xd3)]||_0x556340(0xe8)==_0x55c79b[_0x556340(0xd3)]||_0x556340(0x94)==_0x55c79b[_0x556340(0xc8)])&&_0x55c79b[_0x556340(0xd5)]){for(const _0x4dc0b6 of _0x55c79b[_0x556340(0xba)]())_0x4dc0b6[_0x556340(0xac)](_0x3bd9b4,!0x0)&&_0x4cbe73[_0x556340(0xa6)](_0x55c79b[_0x556340(0xd3)]+':'+_0x55c79b[_0x556340(0xc2)]['id']),_0x4dc0b6[_0x556340(0xac)](_0x4f4567,!0x0)&&_0x199456[_0x556340(0xa6)](_0x55c79b[_0x556340(0xd3)]+':'+_0x55c79b[_0x556340(0xc2)]['id']);}if(_0x4cbe73[_0x556340(0x97)]!=_0x199456[_0x556340(0x97)])return!0x1;for(const _0x35f79a of _0x4cbe73)if(!_0x199456[_0x556340(0xa9)](_0x35f79a))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x362b95=_0x2cc1;function _0x25fd(){const _0x261bee=['insertTableOfContents','TrackChangesEditing','280UBghde','registerElementLabel','794367PKcREX','enableCommand','21762bDuUWR','16999340wgvLRK','locale','123549lJsXXi','editor','6807345CxbsCj','afterInit','commands','tableOfContents','108kSaAPu','descriptionFactory','104rHNUmK','plugins','ELEMENT_TABLE_OF_CONTENTS','get','182199zMybbw','14qOHola','10929457ySCdhm'];_0x25fd=function(){return _0x261bee;};return _0x25fd();}(function(_0x5aac37,_0x3dcb40){const _0x4adad9=_0x2cc1,_0x36f6bb=_0x5aac37();while(!![]){try{const _0xcb5c51=-parseInt(_0x4adad9(0x1b6))/0x1*(-parseInt(_0x4adad9(0x1c3))/0x2)+-parseInt(_0x4adad9(0x1c2))/0x3*(parseInt(_0x4adad9(0x1bc))/0x4)+parseInt(_0x4adad9(0x1b8))/0x5+-parseInt(_0x4adad9(0x1b3))/0x6*(parseInt(_0x4adad9(0x1c7))/0x7)+-parseInt(_0x4adad9(0x1be))/0x8*(-parseInt(_0x4adad9(0x1b1))/0x9)+-parseInt(_0x4adad9(0x1b4))/0xa+parseInt(_0x4adad9(0x1c4))/0xb;if(_0xcb5c51===_0x3dcb40)break;else _0x36f6bb['push'](_0x36f6bb['shift']());}catch(_0x5144d2){_0x36f6bb['push'](_0x36f6bb['shift']());}}}(_0x25fd,0xd7751));function _0x2cc1(_0x164789,_0x1bdeff){const _0x25fd06=_0x25fd();return _0x2cc1=function(_0x2cc150,_0x3ab7cd){_0x2cc150=_0x2cc150-0x1b0;let _0x47b5ca=_0x25fd06[_0x2cc150];return _0x47b5ca;},_0x2cc1(_0x164789,_0x1bdeff);}import{Plugin as _0x38d018}from'ckeditor5/src/core.js';import{getTranslation as _0x58ee0d}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x38d018{[_0x362b95(0x1b9)](){const _0x4092e9=_0x362b95,_0x59e7de=this[_0x4092e9(0x1b7)];if(!_0x59e7de[_0x4092e9(0x1ba)][_0x4092e9(0x1c1)](_0x4092e9(0x1c5)))return;_0x59e7de[_0x4092e9(0x1bf)][_0x4092e9(0x1c1)](_0x4092e9(0x1c6))[_0x4092e9(0x1b2)](_0x4092e9(0x1c5));const _0x3f3ed2=_0x59e7de[_0x4092e9(0x1bf)][_0x4092e9(0x1c1)](_0x4092e9(0x1c6)),_0x355ed6=_0x59e7de[_0x4092e9(0x1b5)];_0x3f3ed2[_0x4092e9(0x1bd)][_0x4092e9(0x1b0)](_0x4092e9(0x1bb),_0x4001ca=>_0x58ee0d(_0x355ed6,_0x4092e9(0x1c0),_0x4001ca));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3498(){const _0x265167=['isOfficialPlugin','afterInit','477474JcBtjJ','tableProperties','document','getSuggestionCallback','findAncestor','tableCellVerticalAlignment','85455UgUXeu','handleDiscardAction','tableBackgroundColor','tableCellHeight','tableCellProperties','_suggestionFactory','328704nmIPlN','data','locale','accept','170hwvWeB','formatBlock','subType','tableCellBorderColor','FORMAT_','change','commandParams','TablePropertiesEditing','getSelectionAffectedTableCells','setAttribute','registerAttributeLabel','replace','registerBlockAttribute','12MDnAzi','selection','tableBorderStyle','removeAttribute','model','has','nodeAfter','tableBorderWidth','discard','180MNaPcI','get','getAttribute','getSuggestions','2348305ahScAO','TableCellPropertiesEditing','enableCommand','3374584TYrlcq','plugins','pluginName','7NDJovH','registerDescriptionCallback','_getSuggestion','markBlockFormat','tableHeight','TrackChangesEditing','_$1','TrackChangesTableProperties','getFirstPosition','tableCellWidth','293315qgQvNq','tableCellBorderStyle','tableCellHorizontalAlignment','descriptionFactory','start','editor','*Format:*\x20change\x20table\x20cell\x20properties','registerCustomCallback','tableWidth','tableCellBackgroundColor','_registerTablePropertiesAttributes','tableCellPadding','*Format:*\x20change\x20table\x20properties','format','join','enqueueChange','isPremiumPlugin','_handlePropertyChange','tableBorderColor','TableUtils','tableAlignment','handleSuggestionDescription','batch','2061282cybVBu','table','tableCellBorderWidth','1eXfleV','getContainedElement','toUpperCase'];_0x3498=function(){return _0x265167;};return _0x3498();}const _0x1b201c=_0x2431;(function(_0x31f946,_0xd4f502){const _0x30a00e=_0x2431,_0x4383f5=_0x31f946();while(!![]){try{const _0x37d9e0=-parseInt(_0x30a00e(0xd0))/0x1*(-parseInt(_0x30a00e(0xd5))/0x2)+parseInt(_0x30a00e(0x99))/0x3*(parseInt(_0x30a00e(0x88))/0x4)+-parseInt(_0x30a00e(0xa6))/0x5+parseInt(_0x30a00e(0xcd))/0x6*(parseInt(_0x30a00e(0xac))/0x7)+-parseInt(_0x30a00e(0xa9))/0x8+parseInt(_0x30a00e(0x82))/0x9*(-parseInt(_0x30a00e(0x8c))/0xa)+parseInt(_0x30a00e(0xb6))/0xb*(parseInt(_0x30a00e(0xa2))/0xc);if(_0x37d9e0===_0xd4f502)break;else _0x4383f5['push'](_0x4383f5['shift']());}catch(_0x4e40bd){_0x4383f5['push'](_0x4383f5['shift']());}}}(_0x3498,0x3f010));import{Plugin as _0x5af48f}from'ckeditor5/src/core.js';function _0x2431(_0x3f2b6b,_0x17a2ec){const _0x3498e3=_0x3498();return _0x2431=function(_0x243143,_0x25991e){_0x243143=_0x243143-0x81;let _0xfed92e=_0x3498e3[_0x243143];return _0xfed92e;},_0x2431(_0x3f2b6b,_0x17a2ec);}import{getTranslation as _0x3890e4}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x5af48f{[_0x1b201c(0xd6)];[_0x1b201c(0x86)];constructor(_0x2b56ea){const _0x31354f=_0x1b201c;super(_0x2b56ea),this[_0x31354f(0xd6)]=[_0x31354f(0xc8),_0x31354f(0x9b),_0x31354f(0xa0),_0x31354f(0xca),_0x31354f(0xbe),_0x31354f(0xb0),_0x31354f(0x84)],this[_0x31354f(0x86)]=[_0x31354f(0x8f),_0x31354f(0xb7),_0x31354f(0xcf),_0x31354f(0xc1),_0x31354f(0xb5),_0x31354f(0x85),_0x31354f(0xbf),_0x31354f(0xb8),_0x31354f(0x81)];}static get[_0x1b201c(0xab)](){const _0xa4d5b1=_0x1b201c;return _0xa4d5b1(0xb3);}static get[_0x1b201c(0xd3)](){return!0x0;}static get[_0x1b201c(0xc6)](){return!0x0;}[_0x1b201c(0xd4)](){const _0x4ef672=_0x1b201c,_0x3a552a=this[_0x4ef672(0xbb)][_0x4ef672(0xaa)][_0x4ef672(0xa3)](_0x4ef672(0xb1));if(this[_0x4ef672(0xbb)][_0x4ef672(0xaa)][_0x4ef672(0x9e)](_0x4ef672(0x93))){for(const _0x5c4482 of this[_0x4ef672(0xd6)])_0x3a552a[_0x4ef672(0xa8)](_0x5c4482,(_0xf04bab,_0x3cbf4f)=>{const _0x390219=_0x4ef672,_0x304ef6=this[_0x390219(0xbb)][_0x390219(0x9d)][_0x390219(0xd7)][_0x390219(0x9a)][_0x390219(0xb4)]()[_0x390219(0xd9)](_0x390219(0xce));this[_0x390219(0xc7)](_0x5c4482,[_0x304ef6],this[_0x390219(0xd6)],_0x390219(0xd6),_0xf04bab,_0x3cbf4f);});_0x3a552a[_0x4ef672(0x87)][_0x4ef672(0xbd)](_0x4ef672(0x8d),_0x4ef672(0xd6),_0x4ef672(0x8b),_0x3a552a[_0x4ef672(0x87)][_0x4ef672(0xd8)](_0x4ef672(0x8d),null,_0x4ef672(0xa1))),_0x3a552a[_0x4ef672(0x87)][_0x4ef672(0xbd)](_0x4ef672(0x8d),_0x4ef672(0xd6),_0x4ef672(0xa1),(_0x9f0b07,_0x1713c8)=>this[_0x4ef672(0x83)](this[_0x4ef672(0xd6)],_0x9f0b07,_0x1713c8)),_0x3a552a[_0x4ef672(0x87)][_0x4ef672(0xbd)](_0x4ef672(0x8d),_0x4ef672(0xd6),_0x4ef672(0xc4),()=>!0x1);}if(this[_0x4ef672(0xbb)][_0x4ef672(0xaa)][_0x4ef672(0x9e)](_0x4ef672(0xa7))){for(const _0x5106e3 of this[_0x4ef672(0x86)])_0x3a552a[_0x4ef672(0xa8)](_0x5106e3,(_0x47fe71,_0x22384)=>{const _0x5bf775=_0x4ef672,_0x29b6c8=this[_0x5bf775(0xbb)][_0x5bf775(0xaa)][_0x5bf775(0xa3)](_0x5bf775(0xc9))[_0x5bf775(0x94)](this[_0x5bf775(0xbb)][_0x5bf775(0x9d)][_0x5bf775(0xd7)][_0x5bf775(0x9a)]);this[_0x5bf775(0xc7)](_0x5106e3,_0x29b6c8,this[_0x5bf775(0x86)],_0x5bf775(0x86),_0x47fe71,_0x22384);});_0x3a552a[_0x4ef672(0x87)][_0x4ef672(0xbd)](_0x4ef672(0x8d),_0x4ef672(0x86),_0x4ef672(0x8b),_0x3a552a[_0x4ef672(0x87)][_0x4ef672(0xd8)](_0x4ef672(0x8d),null,_0x4ef672(0xa1))),_0x3a552a[_0x4ef672(0x87)][_0x4ef672(0xbd)](_0x4ef672(0x8d),_0x4ef672(0x86),_0x4ef672(0xa1),(_0x18e172,_0x324607)=>this[_0x4ef672(0x83)](this[_0x4ef672(0x86)],_0x18e172,_0x324607)),_0x3a552a[_0x4ef672(0x87)][_0x4ef672(0xbd)](_0x4ef672(0x8d),_0x4ef672(0x86),_0x4ef672(0xc4),()=>!0x1);}_0x3a552a[_0x4ef672(0xb9)][_0x4ef672(0xad)](_0x5ede64=>this[_0x4ef672(0xcb)](_0x5ede64)),this[_0x4ef672(0xc0)]();}[_0x1b201c(0xc7)](_0xd13b1c,_0x45bbd7,_0x1b5bfe,_0x90dc64,_0x1474f3,_0x233a42){const _0x411de8=_0x1b201c,_0x4664f9=this[_0x411de8(0xbb)][_0x411de8(0xaa)][_0x411de8(0xa3)](_0x411de8(0xb1));this[_0x411de8(0xbb)][_0x411de8(0x9d)][_0x411de8(0xc5)](_0x233a42[_0x411de8(0xcc)],()=>{const _0x9069f8=_0x411de8;for(const _0x365d01 of _0x45bbd7){if(this[_0x9069f8(0xae)](_0x365d01,_0x90dc64))_0x1474f3(_0x233a42);else{const _0x15d45b={};for(const _0x2789c2 of _0x1b5bfe){const _0x1e113b=_0x365d01[_0x9069f8(0xa4)](_0x2789c2);void 0x0!==_0x1e113b&&(_0x15d45b[_0x2789c2]=_0x1e113b);}_0x1474f3(_0x233a42),_0x4664f9[_0x9069f8(0xaf)](_0x365d01,{'commandParams':[_0x15d45b]},[],_0x90dc64);}}});}[_0x1b201c(0x83)](_0x38544a,_0x56b4ce,_0x17269e){const _0x21d68d=_0x1b201c,_0x166b2c=_0x56b4ce[0x0][_0x21d68d(0xba)][_0x21d68d(0x9f)],_0x12ca74=_0x17269e[_0x21d68d(0x92)][0x0];this[_0x21d68d(0xbb)][_0x21d68d(0x9d)][_0x21d68d(0x91)](_0x19b4e=>{const _0x32af61=_0x21d68d;for(const _0x222d77 of _0x38544a)void 0x0!==_0x12ca74[_0x222d77]?_0x19b4e[_0x32af61(0x95)](_0x222d77,_0x12ca74[_0x222d77],_0x166b2c):_0x19b4e[_0x32af61(0x9c)](_0x222d77,_0x166b2c);});}[_0x1b201c(0xcb)](_0x4df933){const _0x3aec68=_0x1b201c;if(_0x4df933[_0x3aec68(0x89)])switch(_0x4df933[_0x3aec68(0x8e)]){case _0x3aec68(0xd6):return{'type':_0x3aec68(0xc3),'content':_0x3890e4(this[_0x3aec68(0xbb)][_0x3aec68(0x8a)],_0x3aec68(0xc2))};case _0x3aec68(0x86):return{'type':_0x3aec68(0xc3),'content':_0x3890e4(this[_0x3aec68(0xbb)][_0x3aec68(0x8a)],_0x3aec68(0xbc))};}}[_0x1b201c(0xae)](_0x29d884,_0x291588){const _0x174bd8=_0x1b201c,_0x393c1e=this[_0x174bd8(0xbb)][_0x174bd8(0xaa)][_0x174bd8(0xa3)](_0x174bd8(0xb1));for(const _0x624b4f of _0x393c1e[_0x174bd8(0xa5)]({'skipNotAttached':!0x0})){const _0x36968a=_0x624b4f[_0x174bd8(0xd1)]();if(_0x624b4f[_0x174bd8(0x8e)]===_0x291588&&_0x36968a===_0x29d884)return _0x624b4f;}return null;}[_0x1b201c(0xc0)](){const _0x1c6621=_0x1b201c,_0x419b4f=this[_0x1c6621(0xbb)][_0x1c6621(0xaa)][_0x1c6621(0xa3)](_0x1c6621(0xb1)),_0x197acc=[...this[_0x1c6621(0xd6)],...this[_0x1c6621(0x86)]];for(const _0x35d9c1 of _0x197acc){const _0x3a7452=_0x35d9c1[_0x1c6621(0x97)](/([A-Z])/g,_0x1c6621(0xb2))[_0x1c6621(0xd2)]();_0x419b4f[_0x1c6621(0x98)](_0x35d9c1),_0x419b4f[_0x1c6621(0xb9)][_0x1c6621(0x96)](_0x35d9c1,_0x3890e4(this[_0x1c6621(0xbb)][_0x1c6621(0x8a)],_0x1c6621(0x90)+_0x3a7452));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x206075=_0x3615;(function(_0x4a14cc,_0xc792b6){const _0x382c7f=_0x3615,_0x474f4c=_0x4a14cc();while(!![]){try{const _0x48a3e6=-parseInt(_0x382c7f(0x182))/0x1+parseInt(_0x382c7f(0x189))/0x2*(-parseInt(_0x382c7f(0x176))/0x3)+parseInt(_0x382c7f(0x178))/0x4*(parseInt(_0x382c7f(0x175))/0x5)+-parseInt(_0x382c7f(0x181))/0x6*(-parseInt(_0x382c7f(0x185))/0x7)+parseInt(_0x382c7f(0x17b))/0x8+-parseInt(_0x382c7f(0x17e))/0x9*(parseInt(_0x382c7f(0x183))/0xa)+-parseInt(_0x382c7f(0x17d))/0xb*(-parseInt(_0x382c7f(0x184))/0xc);if(_0x48a3e6===_0xc792b6)break;else _0x474f4c['push'](_0x474f4c['shift']());}catch(_0x12700c){_0x474f4c['push'](_0x474f4c['shift']());}}}(_0x105a,0x3a252));import{Plugin as _0x18bacd}from'ckeditor5/src/core.js';function _0x105a(){const _0x1ebc13=['TrackChangesEditing','36IdkxUp','afterInit','Template','3070968DYDfQI','insertTemplate','11EBAOfU','5067ihVOGK','editor','get','6JEVIAr','409719IfLPSc','1550zCLjPA','5756916hBfFMY','631204bubVul','enableCommand','plugins','has','3432zWbEzf','20580iCgqgG','447XIHsvq'];_0x105a=function(){return _0x1ebc13;};return _0x105a();}function _0x3615(_0x1b5159,_0x1217c1){const _0x105a9e=_0x105a();return _0x3615=function(_0x36158d,_0x41152a){_0x36158d=_0x36158d-0x175;let _0x42548e=_0x105a9e[_0x36158d];return _0x42548e;},_0x3615(_0x1b5159,_0x1217c1);}export class TrackChangesTemplate extends _0x18bacd{[_0x206075(0x179)](){const _0x267149=_0x206075,_0x30b56e=this[_0x267149(0x17f)];_0x30b56e[_0x267149(0x187)][_0x267149(0x188)](_0x267149(0x17a))&&_0x30b56e[_0x267149(0x187)][_0x267149(0x180)](_0x267149(0x177))[_0x267149(0x186)](_0x267149(0x17c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x22e1(_0x189c9d,_0x1bfb3e){const _0x20617f=_0x2061();return _0x22e1=function(_0x22e177,_0x30b395){_0x22e177=_0x22e177-0xea;let _0x195acb=_0x20617f[_0x22e177];return _0x195acb;},_0x22e1(_0x189c9d,_0x1bfb3e);}const _0x54dcba=_0x22e1;(function(_0x5e9a92,_0xfbd756){const _0x409649=_0x22e1,_0x110bb7=_0x5e9a92();while(!![]){try{const _0x4f8257=-parseInt(_0x409649(0x10a))/0x1+-parseInt(_0x409649(0xf5))/0x2+parseInt(_0x409649(0xf7))/0x3*(-parseInt(_0x409649(0xfb))/0x4)+parseInt(_0x409649(0xef))/0x5+-parseInt(_0x409649(0xf8))/0x6+-parseInt(_0x409649(0xea))/0x7+parseInt(_0x409649(0x109))/0x8;if(_0x4f8257===_0xfbd756)break;else _0x110bb7['push'](_0x110bb7['shift']());}catch(_0x19f4fc){_0x110bb7['push'](_0x110bb7['shift']());}}}(_0x2061,0xce7f4));import{Plugin as _0x5145bb}from'ckeditor5/src/core.js';import{getTranslation as _0xdec9e4}from'../utils/common-translations.js';export class TrackChangesTitle extends _0x5145bb{[_0x54dcba(0xf3)](){const _0x37a054=_0x54dcba,_0x184608=this[_0x37a054(0xf6)];if(!_0x184608[_0x37a054(0x111)][_0x37a054(0xf0)](_0x37a054(0x113)))return;const _0x37d003=_0x184608[_0x37a054(0x111)][_0x37a054(0xfc)](_0x37a054(0x104));_0x37d003[_0x37a054(0xfd)][_0x37a054(0xf4)](_0x37a054(0xf2),()=>_0xdec9e4(_0x184608[_0x37a054(0x10c)],_0x37a054(0x107))),_0x184608[_0x37a054(0xfe)][_0x37a054(0x10d)][_0x37a054(0x103)](_0x2bceea=>{const _0x51de79=_0x37a054;let _0x4fd98c=!0x1;const _0x3493ae=Array[_0x51de79(0x108)](_0x184608[_0x51de79(0xfe)][_0x51de79(0x10d)][_0x51de79(0x10f)][_0x51de79(0xf9)]());for(const {name:_0x2ad1f4,data:_0x279fad}of _0x3493ae){const {group:_0x4e645e}=_0x37d003[_0x51de79(0xec)](_0x2ad1f4);if(_0x51de79(0xeb)!==_0x4e645e||!_0x279fad[_0x51de79(0xfa)])continue;const _0x283b3e=_0x279fad[_0x51de79(0xfa)],_0xf7b1f6=_0x283b3e[_0x51de79(0x101)][_0x51de79(0x10e)];if(!_0xf7b1f6||!_0xf7b1f6['is'](_0x51de79(0x100),_0x51de79(0xf2)))continue;if(!_0x283b3e[_0x51de79(0xf1)][_0x51de79(0x112)](_0x283b3e[_0x51de79(0x101)]))continue;const _0x5e8b73=_0x184608[_0x51de79(0xfe)][_0x51de79(0x105)][_0x51de79(0xff)](_0x283b3e[_0x51de79(0x101)],_0x51de79(0xee));if(_0x5e8b73&&_0x5e8b73[_0x51de79(0x102)]){const _0x32acc0=_0x2bceea[_0x51de79(0x10b)](_0x283b3e[_0x51de79(0xf1)],_0x5e8b73[_0x51de79(0xf1)]);_0x32acc0[_0x51de79(0xed)](_0x283b3e)||(_0x2bceea[_0x51de79(0x110)](_0x2ad1f4,{'range':_0x32acc0}),_0x4fd98c=!0x0);}_0x4fd98c||(_0x2bceea[_0x51de79(0x106)](_0x2ad1f4),_0x4fd98c=!0x0);}return _0x4fd98c;});}}function _0x2061(){const _0x450158=['end','isCollapsed','registerPostFixer','TrackChangesEditing','schema','removeMarker','ELEMENT_TITLE','from','40419744LKFaQw','1685144rqzldA','createRange','locale','document','nodeBefore','differ','updateMarker','plugins','isTouching','Title','7455224IyKsxk','suggestion','_splitMarkerName','isEqual','forward','1639340dHMGTI','has','start','title-content','afterInit','registerElementLabel','2715948QAaNNr','editor','21mkKvkH','2067306OCGwPp','getChangedMarkers','newRange','46756Joocmc','get','descriptionFactory','model','getNearestSelectionRange','element'];_0x2061=function(){return _0x450158;};return _0x2061();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3679f1=_0x9b6d;(function(_0x59e3d1,_0x73f49e){const _0x5a9fc3=_0x9b6d,_0xf4a1d5=_0x59e3d1();while(!![]){try{const _0xef6417=parseInt(_0x5a9fc3(0x99))/0x1*(-parseInt(_0x5a9fc3(0x9f))/0x2)+-parseInt(_0x5a9fc3(0x97))/0x3*(parseInt(_0x5a9fc3(0xa4))/0x4)+parseInt(_0x5a9fc3(0xa3))/0x5*(-parseInt(_0x5a9fc3(0x95))/0x6)+parseInt(_0x5a9fc3(0x94))/0x7+-parseInt(_0x5a9fc3(0x9e))/0x8*(parseInt(_0x5a9fc3(0x92))/0x9)+-parseInt(_0x5a9fc3(0xa2))/0xa*(parseInt(_0x5a9fc3(0x9c))/0xb)+parseInt(_0x5a9fc3(0x9b))/0xc;if(_0xef6417===_0x73f49e)break;else _0xf4a1d5['push'](_0xf4a1d5['shift']());}catch(_0xac7b71){_0xf4a1d5['push'](_0xf4a1d5['shift']());}}}(_0x4af1,0xf00a1));function _0x9b6d(_0x108747,_0x12c202){const _0x4af133=_0x4af1();return _0x9b6d=function(_0x9b6dc6,_0x3cc42f){_0x9b6dc6=_0x9b6dc6-0x92;let _0x58e66a=_0x4af133[_0x9b6dc6];return _0x58e66a;},_0x9b6d(_0x108747,_0x12c202);}import{Plugin as _0x477f25}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x477f25{[_0x3679f1(0x98)](){const _0x59e00d=_0x3679f1,_0xdf5bc1=this[_0x59e00d(0x9a)],_0x4f66d3=_0xdf5bc1[_0x59e00d(0xa0)][_0x59e00d(0xa5)](_0x59e00d(0xa7));_0xdf5bc1[_0x59e00d(0xa0)][_0x59e00d(0x96)](_0x59e00d(0x93))&&(_0x4f66d3[_0x59e00d(0x9d)](_0x59e00d(0xa1)),_0x4f66d3[_0x59e00d(0x9d)](_0x59e00d(0xa6)));}}function _0x4af1(){const _0x1dd730=['editor','64436736PvkLJu','233695GfBKDc','enableCommand','80slZQJZ','96874cNPwJi','plugins','undo','380awIHVm','8246545BdfkjA','800620mFXZLR','get','redo','TrackChangesEditing','1609326koQvFl','UndoEditing','3549938XWYpQr','6HDbQVL','has','9QEZiiG','afterInit','1dHlRGR'];_0x4af1=function(){return _0x1dd730;};return _0x4af1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x463ff0=_0x32fc;function _0x551e(){const _0x31173d=['editor','24IbOqba','uploadcareImageReplace','546JbZflC','3483781peVqNN','plugins','descriptionFactory','1837YsQTbF','get','1XlHQHg','type','20jtAlpZ','key','23870FXVToi','afterInit','653259LDaVWn','Uploadcare','TrackChangesEditing','715429tzcsTB','has','799325iyZBpR','30lbxndI','registerDescriptionCallback','UploadcareImageEdit','24636kyQLTK','enableCommand','323034WtyEhe','1359UosURC','uploadcare','registerBlockAttribute','uploadcareImageEdit','uploadcareImageId','enableDefaultAttributesIntegration','attribute','format'];_0x551e=function(){return _0x31173d;};return _0x551e();}function _0x32fc(_0x4839d9,_0x56d5e4){const _0x551ef7=_0x551e();return _0x32fc=function(_0x32fc58,_0x273047){_0x32fc58=_0x32fc58-0x1d1;let _0x10e80b=_0x551ef7[_0x32fc58];return _0x10e80b;},_0x32fc(_0x4839d9,_0x56d5e4);}(function(_0xf99a31,_0x3c6b93){const _0x33233a=_0x32fc,_0x5718f2=_0xf99a31();while(!![]){try{const _0x3c4128=-parseInt(_0x33233a(0x1d1))/0x1*(parseInt(_0x33233a(0x1e2))/0x2)+-parseInt(_0x33233a(0x1d7))/0x3*(-parseInt(_0x33233a(0x1d3))/0x4)+parseInt(_0x33233a(0x1dc))/0x5*(-parseInt(_0x33233a(0x1dd))/0x6)+-parseInt(_0x33233a(0x1ef))/0x7*(parseInt(_0x33233a(0x1ec))/0x8)+-parseInt(_0x33233a(0x1e3))/0x9*(parseInt(_0x33233a(0x1d5))/0xa)+-parseInt(_0x33233a(0x1f2))/0xb*(-parseInt(_0x33233a(0x1e0))/0xc)+parseInt(_0x33233a(0x1da))/0xd*(parseInt(_0x33233a(0x1ee))/0xe);if(_0x3c4128===_0x3c6b93)break;else _0x5718f2['push'](_0x5718f2['shift']());}catch(_0x191034){_0x5718f2['push'](_0x5718f2['shift']());}}}(_0x551e,0xba6b7));import{Plugin as _0x335e9a}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x335e9a{[_0x463ff0(0x1d6)](){const _0x123726=_0x463ff0,_0x4aac48=this[_0x123726(0x1eb)],_0x26755b=_0x4aac48[_0x123726(0x1f0)][_0x123726(0x1f3)](_0x123726(0x1d9));_0x4aac48[_0x123726(0x1f0)][_0x123726(0x1db)](_0x123726(0x1d8))&&(_0x26755b[_0x123726(0x1e1)](_0x123726(0x1e4)),_0x4aac48[_0x123726(0x1f0)][_0x123726(0x1db)](_0x123726(0x1df))&&(_0x26755b[_0x123726(0x1e1)](_0x123726(0x1e6)),_0x26755b[_0x123726(0x1e8)](_0x123726(0x1ed)),_0x26755b[_0x123726(0x1e5)](_0x123726(0x1e7)),_0x26755b[_0x123726(0x1f1)][_0x123726(0x1de)](_0x950dcb=>{const _0x422d5d=_0x123726;if(_0x422d5d(0x1e9)!=_0x950dcb[_0x422d5d(0x1d2)])return;const {data:_0x476ea3}=_0x950dcb;return _0x476ea3&&_0x422d5d(0x1e7)==_0x476ea3[_0x422d5d(0x1d4)]?{'type':_0x422d5d(0x1ea),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x418d(_0xd2bad5,_0xd978bf){const _0xa5a5a8=_0xa5a5();return _0x418d=function(_0x418d51,_0x333e2e){_0x418d51=_0x418d51-0x1b8;let _0x3878d0=_0xa5a5a8[_0x418d51];return _0x3878d0;},_0x418d(_0xd2bad5,_0xd978bf);}(function(_0x4e33ba,_0x34b28b){const _0x578e60=_0x418d,_0x168f51=_0x4e33ba();while(!![]){try{const _0x31eeb6=-parseInt(_0x578e60(0x1d0))/0x1*(-parseInt(_0x578e60(0x1b8))/0x2)+parseInt(_0x578e60(0x1cf))/0x3*(-parseInt(_0x578e60(0x1df))/0x4)+parseInt(_0x578e60(0x1d3))/0x5+parseInt(_0x578e60(0x1d5))/0x6+-parseInt(_0x578e60(0x1d6))/0x7+parseInt(_0x578e60(0x1e0))/0x8*(-parseInt(_0x578e60(0x1db))/0x9)+parseInt(_0x578e60(0x1bf))/0xa;if(_0x31eeb6===_0x34b28b)break;else _0x168f51['push'](_0x168f51['shift']());}catch(_0x4c0d67){_0x168f51['push'](_0x168f51['shift']());}}}(_0xa5a5,0xd184d));export function getRangesWithAttribute(_0x2b1563,_0x3e70a8,_0x47392d){const _0x5d0cb9=_0x418d,_0x6dc615=[];for(const _0x143aa4 of _0x3e70a8[_0x5d0cb9(0x1e5)]())_0x143aa4[_0x5d0cb9(0x1c0)](_0x2b1563)&&_0x6dc615[_0x5d0cb9(0x1dd)](_0x47392d[_0x5d0cb9(0x1c8)](_0x143aa4));return _0x6dc615;}function _0xa5a5(){const _0x1df6eb=['model','bindElementToMarker','name','nextSibling','2943690NmalWd','hasAttribute','includes','start','parent','activeMarkers','plugins','_splitMarkerName','markerRange','createRangeOn','isContent','mapper','item','createUIElement','isLimit','writer','480183uyKhqM','691mxeuCw','insert','get','6552925ksrxwM','span','7974882DZhPBp','11834193DSAyAx','isAtEnd','consumable','test','toViewPosition','55449VawrZn','type','push','getWalker','24CUUlEy','496BNHzWY','addHighlight','toViewElement','addClass','elementEnd','getItems','ck-suggestion-marker--active','TrackChangesEditing','markerName','previousPosition','schema','ck-suggestion-marker-','2770DqfDZp','isBlock','getCustomProperty'];_0xa5a5=function(){return _0x1df6eb;};return _0xa5a5();}export function downcastSplitMergeMarker(_0x4102d6,_0x205d1f,{showActiveMarker:_0x52bc28=!0x0}={}){const _0x5da293=_0x418d,_0x47ce4e=_0x4102d6[_0x5da293(0x1c5)][_0x5da293(0x1d2)](_0x5da293(0x1e7));return(_0x146c70,_0x525e32,_0x4221c3)=>{const _0x410273=_0x5da293;if(!_0x4221c3[_0x410273(0x1d8)][_0x410273(0x1d9)](_0x525e32[_0x410273(0x1c7)],_0x146c70[_0x410273(0x1bd)]))return;const _0x14ba07=_0x525e32[_0x410273(0x1c7)][_0x410273(0x1de)](),_0x1f3f6b=_0x525e32[_0x410273(0x1c7)][_0x410273(0x1c2)],_0x167bae=_0x4102d6[_0x410273(0x1bb)][_0x410273(0x1ea)];let _0x434f19=null,_0x5a8013=null,_0x2b7a29=!0x1,_0x1117e4=!0x1;for(const _0x5d1f83 of _0x14ba07){const _0x32a9a9=_0x5d1f83[_0x410273(0x1cb)];_0x2b7a29=_0x2b7a29||_0x167bae[_0x410273(0x1c9)](_0x32a9a9);const _0x21715e=_0x4221c3[_0x410273(0x1ca)][_0x410273(0x1e2)](_0x32a9a9);if(_0x21715e&&_0x21715e[_0x410273(0x1ba)](_0x410273(0x1e1)))return;_0x410273(0x1e4)==_0x5d1f83[_0x410273(0x1dc)]&&(_0x167bae[_0x410273(0x1b9)](_0x32a9a9)&&!_0x167bae[_0x410273(0x1cd)](_0x32a9a9)&&(_0x32a9a9[_0x410273(0x1be)]||_0x1f3f6b[_0x410273(0x1d7)]?_0x434f19&&_0x434f19[_0x410273(0x1c3)]==_0x32a9a9||(_0x434f19=_0x32a9a9,_0x54fa11(_0x5d1f83[_0x410273(0x1e9)]),_0x1117e4=!0x0):_0x5a8013=_0x5a8013||_0x5d1f83[_0x410273(0x1e9)]));}function _0x54fa11(_0x5ed1e7){const _0x13dbf9=_0x410273,{id:_0x4260c3,authorId:_0xf3d596}=_0x47ce4e[_0x13dbf9(0x1c6)](_0x525e32[_0x13dbf9(0x1e8)]),_0x58f2c5=_0x4221c3[_0x13dbf9(0x1ce)][_0x13dbf9(0x1cc)](_0x13dbf9(0x1d4),{'class':_0x13dbf9(0x1eb)+_0x205d1f,'data-suggestion':_0x4260c3,'data-author-id':_0xf3d596}),_0x36fc20=_0x4221c3[_0x13dbf9(0x1ca)][_0x13dbf9(0x1da)](_0x5ed1e7);_0x52bc28&&_0x47ce4e[_0x13dbf9(0x1c4)][_0x13dbf9(0x1c1)](_0x525e32[_0x13dbf9(0x1e8)])&&_0x4221c3[_0x13dbf9(0x1ce)][_0x13dbf9(0x1e3)](_0x13dbf9(0x1e6),_0x58f2c5),_0x4221c3[_0x13dbf9(0x1ce)][_0x13dbf9(0x1d1)](_0x36fc20,_0x58f2c5),_0x4221c3[_0x13dbf9(0x1ca)][_0x13dbf9(0x1bc)](_0x58f2c5,_0x525e32[_0x13dbf9(0x1e8)]);}_0x2b7a29||_0x1117e4||!_0x5a8013||_0x54fa11(_0x5a8013);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x25a915=_0x289e;(function(_0x536c04,_0x209349){const _0x494ce6=_0x289e,_0x13084b=_0x536c04();while(!![]){try{const _0x251b0b=-parseInt(_0x494ce6(0xf0))/0x1*(parseInt(_0x494ce6(0xba))/0x2)+parseInt(_0x494ce6(0xca))/0x3+parseInt(_0x494ce6(0xc7))/0x4+-parseInt(_0x494ce6(0xd1))/0x5+parseInt(_0x494ce6(0xda))/0x6+parseInt(_0x494ce6(0xe4))/0x7*(-parseInt(_0x494ce6(0xc4))/0x8)+-parseInt(_0x494ce6(0xe0))/0x9*(-parseInt(_0x494ce6(0xe7))/0xa);if(_0x251b0b===_0x209349)break;else _0x13084b['push'](_0x13084b['shift']());}catch(_0x137e89){_0x13084b['push'](_0x13084b['shift']());}}}(_0x2f1d,0xd05a1));import{ModelElement as _0x553b5d}from'ckeditor5/src/engine.js';function _0x2f1d(){const _0x133940=['data','getFirstMarker','author','getItems','clear','756928ewYcia','isMultiRange','start','6796512VPmVGN','onAccept','suggestion:','267822gqRMkV','substr','discard','_originalSuggestionId','_markerNames','head','originalSuggestionId','7057815BUXoWL','getRanges','next','isInContent','onDiscard','removeMarker','toJSON','attributes','isIntersectingWithRange','2832570aTQmxD','getAllAdjacentSuggestions','push','subType','getMarkers','_onAccept','3555xUdrnn','hasComments','removeAttribute','add','14nBXmEQ','accept','set','16810GAzIqP','markers','length','from','change','creator','_model','createdAt','getFirstRange','9044tAyxba','reduce','getContainedElement','nodeBefore','commentThread','filter','_isDataLoaded','size','addMarker','delete','onAttributesChange','_onAttributesChange','isIntersecting','isExternal','getRange','map','end','get','split','setAttribute','nodeAfter','decorate','addRange','_saved','addMarkerName','@external','getMultiRangeId','previous','authoredAt','104mdTruX','type','removeMarkers','getMarkerNames','_onDiscard'];_0x2f1d=function(){return _0x133940;};return _0x2f1d();}import{ObservableMixin as _0x2b442f,uid as _0x51b166}from'ckeditor5/src/utils.js';import{cloneDeep as _0x366328,isEqual as _0x29f644,set as _0x13e960,unset as _0x5babd2}from'es-toolkit/compat';function _0x289e(_0x18d6ab,_0x485665){const _0x2f1de2=_0x2f1d();return _0x289e=function(_0x289e47,_0x3808b3){_0x289e47=_0x289e47-0xba;let _0x2066d8=_0x2f1de2[_0x289e47];return _0x2066d8;},_0x289e(_0x18d6ab,_0x485665);}export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2b442f(){['id'];[_0x25a915(0xbb)];[_0x25a915(0xdd)];[_0x25a915(0xc1)];[_0x25a915(0xec)];[_0x25a915(0xfd)];[_0x25a915(0xbf)];[_0x25a915(0xee)];[_0x25a915(0xcd)];[_0x25a915(0xf6)]=!0x1;[_0x25a915(0xed)];[_0x25a915(0xdf)];[_0x25a915(0xbe)];[_0x25a915(0xfb)];[_0x25a915(0xce)];constructor(_0xa8864c,_0x45082e){const _0x36f7a0=_0x25a915;super(),this['id']=_0x45082e['id'],this[_0x36f7a0(0xbb)]=_0x45082e[_0x36f7a0(0xbb)],this[_0x36f7a0(0xdd)]=_0x45082e[_0x36f7a0(0xdd)]||null,this[_0x36f7a0(0xc1)]=_0x45082e[_0x36f7a0(0xc1)],this[_0x36f7a0(0xec)]=_0x45082e[_0x36f7a0(0xec)]||_0x45082e[_0x36f7a0(0xc1)],this[_0x36f7a0(0xfd)]=Boolean(_0x45082e[_0x36f7a0(0xd8)]&&_0x45082e[_0x36f7a0(0xd8)][_0x36f7a0(0x109)]),this[_0x36f7a0(0xbf)]=null,this[_0x36f7a0(0xcd)]=_0x45082e[_0x36f7a0(0xd0)]||null,this[_0x36f7a0(0xed)]=_0xa8864c,this[_0x36f7a0(0xdf)]=_0x45082e[_0x36f7a0(0xc8)],this[_0x36f7a0(0xbe)]=_0x45082e[_0x36f7a0(0xd5)],this[_0x36f7a0(0xfb)]=_0x45082e[_0x36f7a0(0xfa)],this[_0x36f7a0(0xce)]=new Set(),this[_0x36f7a0(0xee)]=null,this[_0x36f7a0(0xe6)](_0x36f7a0(0x10c),null),this[_0x36f7a0(0xe6)](_0x36f7a0(0xd8),_0x45082e[_0x36f7a0(0xd8)]||{}),this[_0x36f7a0(0xe6)](_0x36f7a0(0x10b),null),this[_0x36f7a0(0xe6)](_0x36f7a0(0xd3),null),this[_0x36f7a0(0xe6)](_0x36f7a0(0xf4),null),this[_0x36f7a0(0xe6)](_0x36f7a0(0x107),!0x1),this[_0x36f7a0(0x105)](_0x36f7a0(0xe5)),this[_0x36f7a0(0x105)](_0x36f7a0(0xcc));}get[_0x25a915(0xcf)](){const _0x58268a=_0x25a915;let _0x1479be=this;for(;_0x1479be[_0x58268a(0x10b)];)_0x1479be=_0x1479be[_0x58268a(0x10b)];return _0x1479be;}get[_0x25a915(0xe1)](){const _0x105e8d=_0x25a915;return!!this[_0x105e8d(0xf4)]&&this[_0x105e8d(0xf4)][_0x105e8d(0xe9)]>0x0;}get[_0x25a915(0xc5)](){const _0x55008c=_0x25a915;if(0x0==this[_0x55008c(0xce)][_0x55008c(0xf7)])return!0x1;return 0x6==Array[_0x55008c(0xea)](this[_0x55008c(0xce)])[0x0][_0x55008c(0x102)](':')[_0x55008c(0xe9)];}get[_0x25a915(0xd4)](){const _0x35e42d=_0x25a915;return null!==this[_0x35e42d(0xc0)]();}[_0x25a915(0x108)](_0x239549){const _0x3dab77=_0x25a915;this[_0x3dab77(0xce)][_0x3dab77(0xe3)](_0x239549);}[_0x25a915(0xbd)](){const _0x10bc75=_0x25a915;return Array[_0x10bc75(0xea)](this[_0x10bc75(0xce)]);}[_0x25a915(0xde)](){const _0x27ae84=_0x25a915;return this[_0x27ae84(0xbd)]()[_0x27ae84(0xff)](_0x44ddaa=>this[_0x27ae84(0xed)][_0x27ae84(0xe8)][_0x27ae84(0x101)](_0x44ddaa))[_0x27ae84(0xf5)](_0x4a3d94=>_0x4a3d94);}[_0x25a915(0xc0)](){const _0x54a196=_0x25a915;return this[_0x54a196(0xde)]()[0x0]||null;}[_0x25a915(0xbc)](){const _0x89be2=_0x25a915;this[_0x89be2(0xed)][_0x89be2(0xeb)](_0x352af4=>{const _0x18a876=_0x89be2;for(const _0x1f8cd0 of this[_0x18a876(0xde)]())_0x352af4[_0x18a876(0xd6)](_0x1f8cd0);}),this[_0x89be2(0xce)][_0x89be2(0xc3)]();}[_0x25a915(0xd6)](_0x5b520c){const _0x27911c=_0x25a915;this[_0x27911c(0xed)][_0x27911c(0xeb)](_0x40c4ad=>{const _0x2953e2=_0x27911c;_0x40c4ad[_0x2953e2(0xd6)](_0x5b520c);}),this[_0x27911c(0xce)][_0x27911c(0xf9)](_0x5b520c);}[_0x25a915(0x106)](_0x2b1c7e){const _0x8f72fe=_0x25a915,_0x2fb50a=_0x8f72fe(0xc9)+this[_0x8f72fe(0xbb)]+':'+this[_0x8f72fe(0xdd)]+':'+this['id']+':'+this[_0x8f72fe(0xec)]['id']+':'+Suggestion[_0x8f72fe(0x10a)]();this[_0x8f72fe(0x108)](_0x2fb50a),this[_0x8f72fe(0xed)][_0x8f72fe(0xeb)](_0x1f1af3=>{const _0x2df296=_0x8f72fe;_0x1f1af3[_0x2df296(0xf8)](_0x2fb50a,{'range':_0x2b1c7e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x25a915(0xd9)](_0x5a6598){const _0x1d767f=_0x25a915;for(const _0x3d7ba0 of this[_0x1d767f(0xd2)]())if(_0x3d7ba0[_0x1d767f(0xfc)](_0x5a6598))return!0x0;return!0x1;}[_0x25a915(0xd2)](){const _0x2c63ee=_0x25a915;return this[_0x2c63ee(0xde)]()[_0x2c63ee(0xff)](_0x2195e4=>_0x2195e4[_0x2c63ee(0xfe)]());}[_0x25a915(0xc2)](){const _0x52de15=_0x25a915;return this[_0x52de15(0xd2)]()[_0x52de15(0xf1)]((_0x1d48f0,_0x8b142f)=>[..._0x1d48f0,..._0x8b142f[_0x52de15(0xc2)]()],[]);}[_0x25a915(0xef)](){const _0x18d3f0=_0x25a915;return this[_0x18d3f0(0xc0)]()?.[_0x18d3f0(0xfe)]()||null;}[_0x25a915(0xf2)](){const _0x15fdf1=_0x25a915,_0x120153=this[_0x15fdf1(0xd2)]();if(0x1!=_0x120153[_0x15fdf1(0xe9)])return null;const _0x51f2a3=_0x120153[0x0],_0x5ca3db=_0x51f2a3[_0x15fdf1(0xc6)][_0x15fdf1(0x104)],_0xbf52bf=_0x51f2a3[_0x15fdf1(0x100)][_0x15fdf1(0xf3)];return _0x5ca3db instanceof _0x553b5d?_0x5ca3db!=_0xbf52bf?null:_0x5ca3db:null;}[_0x25a915(0xe5)](){const _0x1975ca=_0x25a915;this[_0x1975ca(0xdf)](this[_0x1975ca(0xd2)](),this[_0x1975ca(0xbf)],this[_0x1975ca(0xd8)]),this[_0x1975ca(0xbc)]();}[_0x25a915(0xcc)](){const _0x301753=_0x25a915;this[_0x301753(0xbe)](this[_0x301753(0xd2)](),this[_0x301753(0xbf)],this[_0x301753(0xd8)]),this[_0x301753(0xbc)]();}[_0x25a915(0xdb)](){const _0x2cf4be=_0x25a915,_0x2c7277=[];let _0x48f9a1=this[_0x2cf4be(0xcf)];for(;_0x48f9a1;)_0x2c7277[_0x2cf4be(0xdc)](_0x48f9a1),_0x48f9a1=_0x48f9a1[_0x2cf4be(0xd3)];return _0x2c7277;}[_0x25a915(0x103)](_0x2b2cc8,_0x553a8b){const _0x278b01=_0x25a915,_0x460443=_0x366328(this[_0x278b01(0xd8)]);_0x13e960(_0x460443,_0x2b2cc8,_0x553a8b),_0x29f644(_0x460443,this[_0x278b01(0xd8)])||(this[_0x278b01(0xd8)]=_0x460443,this[_0x278b01(0xfb)](_0x460443));}[_0x25a915(0xe2)](_0x4caf4b){const _0x3afe42=_0x25a915,_0x10b117=_0x366328(this[_0x3afe42(0xd8)]);_0x5babd2(_0x10b117,_0x4caf4b),_0x29f644(_0x10b117,this[_0x3afe42(0xd8)])||(this[_0x3afe42(0xd8)]=_0x10b117,this[_0x3afe42(0xfb)](this[_0x3afe42(0xd8)]));}[_0x25a915(0xd7)](){const _0x3360c0=_0x25a915;return{'id':this['id'],'type':this[_0x3360c0(0xdd)]?this[_0x3360c0(0xbb)]+':'+this[_0x3360c0(0xdd)]:this[_0x3360c0(0xbb)],'authorId':this[_0x3360c0(0xec)]['id'],'createdAt':this[_0x3360c0(0xee)],'hasComments':this[_0x3360c0(0xe1)],'data':this[_0x3360c0(0xbf)],'attributes':this[_0x3360c0(0xd8)]};}static[_0x25a915(0x10a)](){const _0x3cbbd7=_0x25a915;return _0x51b166()[_0x3cbbd7(0xcb)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x182a91=_0x5f42;function _0x4404(){const _0x1faf9a=['join','function','addEmptyContainer','_attributeLabels','581585JqftEs','insertion','checkChild','softBreak','_handleInsertRemoveSuggestionDescription','_resolveDescriptionItems','REPLACE_TEXT','nodeAfter','length','*Change\x20to:*\x20%0','_schema','_locale','name','format','push','item','matchingCallback','attribute','isInContent','8284GTBJXZ','getWalker','$text','indexOf','removeContainer','skip','124512iSlTSf','ELEMENT_SPACE','_handleCustomCallbackDescription','Container','getFirstRange','pop','_itemLabelsCallbacks','getDescriptions','has','addContainer','quantity','*Merge:*\x20%0','1060230PvFgOu','addFormat','isObject','445754OxMZRJ','28UQiPZk','Object','get','registerDescriptionCallback','getItemLabel','$1\x20$2','_customCallbacks','key','addObject','normal','replace','_handleRenameSuggestionDescription','elementEnd','previousSibling','555520OnOcSe','label','registerAttributeLabel','start','element','map','EmptyContainer','deletion','*Insert:*\x20%0','*Split:*\x20%0','end','removeObject','registerElementLabel','newValue','data','text','*Remove:*\x20%0','_handleAttributeSuggestionDescription','subType','removeFormat','elementStart','isEqual','remove','nextSibling','match','type','isEmpty','removeEmptyContainer','$textProxy','577212dByWLV','add','_itemLabels','*Remove\x20format:*\x20%0','*Set\x20format:*\x20%0','set','_addDescriptionItems'];_0x4404=function(){return _0x1faf9a;};return _0x4404();}function _0x5f42(_0x13cb08,_0x46282f){const _0x440429=_0x4404();return _0x5f42=function(_0x5f4209,_0x135caa){_0x5f4209=_0x5f4209-0x1d2;let _0xdb82=_0x440429[_0x5f4209];return _0xdb82;},_0x5f42(_0x13cb08,_0x46282f);}(function(_0x3fb943,_0x59da1b){const _0x4aeacf=_0x5f42,_0x1e4c86=_0x3fb943();while(!![]){try{const _0x1b58ec=-parseInt(_0x4aeacf(0x227))/0x1+parseInt(_0x4aeacf(0x1d7))/0x2+-parseInt(_0x4aeacf(0x203))/0x3+-parseInt(_0x4aeacf(0x221))/0x4+parseInt(_0x4aeacf(0x20e))/0x5+-parseInt(_0x4aeacf(0x1d4))/0x6+parseInt(_0x4aeacf(0x1d8))/0x7*(parseInt(_0x4aeacf(0x1e6))/0x8);if(_0x1b58ec===_0x59da1b)break;else _0x1e4c86['push'](_0x1e4c86['shift']());}catch(_0x426046){_0x1e4c86['push'](_0x1e4c86['shift']());}}}(_0x4404,0x1d9ae));import{getTranslation as _0x3ccf5c}from'./utils/common-translations.js';import{priorities as _0x19882a,insertToPriorityArray as _0x2cb0ee}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x15d32f}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x182a91(0x1de)];[_0x182a91(0x205)];[_0x182a91(0x22d)];[_0x182a91(0x20d)];[_0x182a91(0x218)];[_0x182a91(0x219)];constructor(_0x5e5559,_0x3506d1){const _0x235fc8=_0x182a91;this[_0x235fc8(0x1de)]=[],this[_0x235fc8(0x205)]=new Map(),this[_0x235fc8(0x22d)]=[],this[_0x235fc8(0x20d)]=new Map(),this[_0x235fc8(0x218)]=_0x5e5559,this[_0x235fc8(0x219)]=_0x3506d1;}[_0x182a91(0x22e)](_0x56d9d2){const _0x41f5bc=_0x182a91,_0x11f2bf=[],_0xdaab62=new Set(),_0x5aafbd=new Set();for(let _0xdfa289=0x0;_0xdfa289<_0x56d9d2[_0x41f5bc(0x216)];_0xdfa289++){const _0xab2300=_0x56d9d2[_0xdfa289];if(!_0xab2300[_0x41f5bc(0x220)])continue;const _0x449adf=this[_0x41f5bc(0x229)](_0xab2300);if(_0x449adf){if(null!=_0xab2300[_0x41f5bc(0x1f8)]){if(_0xdaab62[_0x41f5bc(0x22f)](_0xab2300[_0x41f5bc(0x1f8)]))continue;_0xdaab62[_0x41f5bc(0x204)](_0xab2300[_0x41f5bc(0x1f8)]);}_0x11f2bf[_0x41f5bc(0x21c)](_0x449adf);}else{if(_0x41f5bc(0x21f)==_0xab2300[_0x41f5bc(0x1ff)]){const _0x1971f1=_0xab2300[_0x41f5bc(0x1f4)][_0x41f5bc(0x1df)];if(_0x5aafbd[_0x41f5bc(0x22f)](_0x1971f1))continue;_0x5aafbd[_0x41f5bc(0x204)](_0xab2300[_0x41f5bc(0x1f4)][_0x41f5bc(0x1df)]),_0x1971f1==_0x15d32f?this[_0x41f5bc(0x1e3)](_0x11f2bf,_0xab2300):this[_0x41f5bc(0x1f7)](_0x11f2bf,_0xab2300);continue;}_0x41f5bc(0x20f)!=_0xab2300[_0x41f5bc(0x1ff)]&&_0x41f5bc(0x1ed)!=_0xab2300[_0x41f5bc(0x1ff)]||this[_0x41f5bc(0x212)](_0x11f2bf,_0xab2300,_0x56d9d2[_0xdfa289+0x1]);}}return this[_0x41f5bc(0x213)](_0x11f2bf);}[_0x182a91(0x1db)](_0x379da){const _0x4a896f=_0x182a91;this[_0x4a896f(0x1de)][_0x4a896f(0x21c)](_0x379da);}[_0x182a91(0x1f2)](_0x1637bf,_0x394663,_0x4df17f=_0x19882a[_0x182a91(0x1e1)]){const _0x1c4949=_0x182a91;_0x1c4949(0x20b)==typeof _0x1637bf?_0x2cb0ee(this[_0x1c4949(0x22d)],{'matchingCallback':_0x1637bf,'label':_0x394663,'priority':_0x4df17f}):this[_0x1c4949(0x205)][_0x1c4949(0x208)](_0x1637bf,_0x394663);}[_0x182a91(0x1e8)](_0x2be76f,_0x1aaf7b){const _0xb6c228=_0x182a91;this[_0xb6c228(0x20d)][_0xb6c228(0x208)](_0x2be76f,_0x1aaf7b);}[_0x182a91(0x1dc)](_0x281ead,_0x272dae=0x1){const _0x3c2b53=_0x182a91;let _0x22d7fd;for(const _0x3607bf of this[_0x3c2b53(0x22d)])if(_0x3607bf[_0x3c2b53(0x21e)](_0x281ead)){_0x22d7fd=_0x3607bf[_0x3c2b53(0x1e7)];break;}return _0x22d7fd||(_0x22d7fd=this[_0x3c2b53(0x205)][_0x3c2b53(0x1da)](_0x281ead[_0x3c2b53(0x21a)])),_0x22d7fd?_0x22d7fd(_0x272dae):0x1!==_0x272dae?_0x272dae+'\x20'+_0x281ead[_0x3c2b53(0x21a)]+'s':''+_0x281ead[_0x3c2b53(0x21a)];}[_0x182a91(0x209)](_0x3fc355,_0x1f1ad4){const _0x313b28=_0x182a91,_0x4fbd5a=_0x1f1ad4[_0x313b28(0x22b)]()[_0x313b28(0x222)](),_0x3899b2=_0x313b28(0x20f)==_0x1f1ad4[_0x313b28(0x1ff)]?_0x313b28(0x204):_0x313b28(0x1fc);for(const _0x4fc36a of _0x4fbd5a){const _0x449be7=_0x4fc36a[_0x313b28(0x21d)],_0x2e2334=_0x3fc355[_0x3fc355[_0x313b28(0x216)]-0x1];if(_0x449be7['is'](_0x313b28(0x202)))_0x2e2334&&_0x2e2334[_0x313b28(0x1ff)][_0x313b28(0x224)](_0x313b28(0x22a))>-0x1&&_0x3fc355[_0x313b28(0x22c)](),_0x2e2334&&_0x313b28(0x1f5)==_0x2e2334[_0x313b28(0x1ff)]?_0x2e2334[_0x3899b2]+=_0x449be7[_0x313b28(0x1f4)]:_0x3fc355[_0x313b28(0x21c)]({'type':_0x313b28(0x1f5),'add':_0x313b28(0x204)==_0x3899b2?_0x449be7[_0x313b28(0x1f4)]:'','remove':_0x313b28(0x1fc)==_0x3899b2?_0x449be7[_0x313b28(0x1f4)]:''});else{if(this[_0x313b28(0x218)][_0x313b28(0x1d6)](_0x449be7)){const _0x288a81=_0x449be7;if(_0x2e2334&&_0x2e2334[_0x313b28(0x1ff)][_0x313b28(0x224)](_0x313b28(0x22a))>-0x1&&_0x3fc355[_0x313b28(0x22c)](),_0x313b28(0x1e4)==_0x4fc36a[_0x313b28(0x1ff)])continue;_0x2e2334&&_0x2e2334[_0x313b28(0x1ff)]==_0x3899b2+_0x313b28(0x1d9)&&_0x2e2334[_0x313b28(0x1ea)][_0x313b28(0x21a)]==_0x288a81[_0x313b28(0x21a)]?_0x2e2334[_0x313b28(0x1d2)]++:_0x3fc355[_0x313b28(0x21c)]({'type':_0x3899b2+_0x313b28(0x1d9),'element':_0x288a81,'quantity':0x1}),_0x4fbd5a[_0x313b28(0x226)](_0x28858e=>!(_0x313b28(0x1e4)==_0x28858e[_0x313b28(0x1ff)]&&_0x28858e[_0x313b28(0x21d)]==_0x449be7));}else{if(this[_0x313b28(0x218)][_0x313b28(0x210)](_0x449be7,_0x313b28(0x223))||_0x449be7['is'](_0x313b28(0x1ea),_0x313b28(0x211))){const _0x4b9040=_0x449be7;if(_0x313b28(0x204)==_0x3899b2&&_0x313b28(0x1fa)==_0x4fc36a[_0x313b28(0x1ff)]||_0x313b28(0x1fc)==_0x3899b2&&_0x313b28(0x1e4)==_0x4fc36a[_0x313b28(0x1ff)])continue;if(_0x2e2334&&-0x1==_0x2e2334[_0x313b28(0x1ff)][_0x313b28(0x224)](_0x313b28(0x22a))){_0x313b28(0x1f5)==_0x2e2334[_0x313b28(0x1ff)]&&(_0x2e2334[_0x3899b2]+='\x0a');continue;}let _0x408174;if(_0x408174=_0x313b28(0x204)==_0x3899b2?_0x4b9040[_0x313b28(0x1fd)]&&!this[_0x313b28(0x218)][_0x313b28(0x1d6)](_0x4b9040[_0x313b28(0x1fd)])?_0x4b9040[_0x313b28(0x1fd)]:null:_0x4b9040[_0x313b28(0x1e5)]&&!this[_0x313b28(0x218)][_0x313b28(0x1d6)](_0x4b9040[_0x313b28(0x1e5)])?_0x4b9040[_0x313b28(0x1e5)]:null,_0x4b9040[_0x313b28(0x200)]||_0x408174&&_0x408174[_0x313b28(0x200)]){const _0x2e1861=_0x408174&&_0x408174[_0x313b28(0x200)]?_0x408174:_0x4b9040;_0x2e2334&&_0x2e2334[_0x313b28(0x1ff)]==_0x3899b2+_0x313b28(0x1ec)&&_0x2e2334[_0x313b28(0x1ea)][_0x313b28(0x21a)]==_0x2e1861[_0x313b28(0x21a)]?_0x2e2334[_0x313b28(0x1d2)]++:_0x3fc355[_0x313b28(0x21c)]({'type':_0x3899b2+_0x313b28(0x1ec),'element':_0x2e1861,'quantity':0x1});}else _0x3fc355[_0x313b28(0x21c)]({'type':_0x3899b2+_0x313b28(0x22a),'element':_0x4b9040});}}}}}[_0x182a91(0x213)](_0x139ae9){const _0x4ba6fe=_0x182a91,_0x5b9055=this[_0x4ba6fe(0x219)],_0xf78fc3=[],_0x21fa26=[],_0x918a59=[];for(const _0x1571df of _0x139ae9)switch(_0x1571df[_0x4ba6fe(0x1ff)]){case _0x4ba6fe(0x1f5):if(_0x1571df[_0x4ba6fe(0x204)]=_0x1571df[_0x4ba6fe(0x204)][_0x4ba6fe(0x1e2)](/(\S)\u000A+(\S)/g,_0x4ba6fe(0x1dd))[_0x4ba6fe(0x1e2)](/\u000A/g,''),_0x1571df[_0x4ba6fe(0x1fc)]=_0x1571df[_0x4ba6fe(0x1fc)][_0x4ba6fe(0x1e2)](/(\S)\u000A+(\S)/g,_0x4ba6fe(0x1dd))[_0x4ba6fe(0x1e2)](/\u000A/g,''),''!=_0x1571df[_0x4ba6fe(0x204)]&&''!=_0x1571df[_0x4ba6fe(0x1fc)]){_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x1e2),'content':_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x214),['\x22'+_0x1571df[_0x4ba6fe(0x1fc)]+'\x22','\x22'+_0x1571df[_0x4ba6fe(0x204)]+'\x22'])});continue;}if(null!=_0x1571df[_0x4ba6fe(0x204)][_0x4ba6fe(0x1fe)](/^ +$/)){_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x20f),'content':_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x1ee),_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x228),_0x1571df[_0x4ba6fe(0x204)][_0x4ba6fe(0x216)]))});continue;}if(null!=_0x1571df[_0x4ba6fe(0x1fc)][_0x4ba6fe(0x1fe)](/^ +$/)){_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x1ed),'content':_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x1f6),_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x228),_0x1571df[_0x4ba6fe(0x1fc)][_0x4ba6fe(0x216)]))});continue;}if(''!=_0x1571df[_0x4ba6fe(0x204)]){_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x20f),'content':_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x1ee),'\x22'+_0x1571df[_0x4ba6fe(0x204)]+'\x22')});continue;}_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x1ed),'content':_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x1f6),'\x22'+_0x1571df[_0x4ba6fe(0x1fc)]+'\x22')});continue;case _0x4ba6fe(0x20c):case _0x4ba6fe(0x1e0):_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x20f),'content':_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x1ee),this[_0x4ba6fe(0x1dc)](_0x1571df[_0x4ba6fe(0x1ea)],_0x1571df[_0x4ba6fe(0x1d2)]))});continue;case _0x4ba6fe(0x201):case _0x4ba6fe(0x1f1):_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x1ed),'content':_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x1f6),this[_0x4ba6fe(0x1dc)](_0x1571df[_0x4ba6fe(0x1ea)],_0x1571df[_0x4ba6fe(0x1d2)]))});continue;case _0x4ba6fe(0x230):_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x20f),'content':_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x1ef),this[_0x4ba6fe(0x1dc)](_0x1571df[_0x4ba6fe(0x1ea)],_0x1571df[_0x4ba6fe(0x1d2)]))});continue;case _0x4ba6fe(0x225):_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x1ed),'content':_0x3ccf5c(_0x5b9055,_0x4ba6fe(0x1d3),this[_0x4ba6fe(0x1dc)](_0x1571df[_0x4ba6fe(0x1ea)],_0x1571df[_0x4ba6fe(0x1d2)]))});continue;case _0x4ba6fe(0x1d5):_0x21fa26[_0x4ba6fe(0x21c)](_0x1571df[_0x4ba6fe(0x1df)]);continue;case _0x4ba6fe(0x1f9):_0x918a59[_0x4ba6fe(0x21c)](_0x1571df[_0x4ba6fe(0x1df)]);continue;default:_0xf78fc3[_0x4ba6fe(0x21c)](_0x1571df);}if(_0x21fa26[_0x4ba6fe(0x216)]){const _0x39f3b9=_0x21fa26[_0x4ba6fe(0x1eb)](_0x5ade56=>this[_0x4ba6fe(0x20d)][_0x4ba6fe(0x22f)](_0x5ade56)?this[_0x4ba6fe(0x20d)][_0x4ba6fe(0x1da)](_0x5ade56):_0x5ade56)[_0x4ba6fe(0x20a)](',\x20');_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x21b),'content':_0x3ccf5c(this[_0x4ba6fe(0x219)],_0x4ba6fe(0x207),_0x39f3b9)});}if(_0x918a59[_0x4ba6fe(0x216)]){const _0x7bf583=_0x918a59[_0x4ba6fe(0x1eb)](_0x5c98dc=>this[_0x4ba6fe(0x20d)][_0x4ba6fe(0x22f)](_0x5c98dc)?this[_0x4ba6fe(0x20d)][_0x4ba6fe(0x1da)](_0x5c98dc):_0x5c98dc)[_0x4ba6fe(0x20a)](',\x20');_0xf78fc3[_0x4ba6fe(0x21c)]({'type':_0x4ba6fe(0x21b),'content':_0x3ccf5c(this[_0x4ba6fe(0x219)],_0x4ba6fe(0x206),_0x7bf583)});}return _0xf78fc3;}[_0x182a91(0x229)](_0x253e8a){const _0x52e1e6=_0x182a91;for(const _0x1400f9 of this[_0x52e1e6(0x1de)]){const _0x2a2df1=_0x1400f9(_0x253e8a);if(_0x2a2df1&&_0x52e1e6(0x1ff)in _0x2a2df1)return _0x2a2df1;}}[_0x182a91(0x1f7)](_0x4a49ae,_0x3462f4){const _0x4140b9=_0x182a91,_0x117398=_0x3462f4[_0x4140b9(0x1f4)],_0x481fd0=void 0x0===_0x117398[_0x4140b9(0x1f3)]?_0x4140b9(0x1f9):_0x4140b9(0x1d5);_0x4a49ae[_0x4140b9(0x21c)]({'type':_0x481fd0,'key':_0x117398[_0x4140b9(0x1df)]});}[_0x182a91(0x1e3)](_0x431f25,_0x11ba0){const _0x2de55e=_0x182a91;_0x431f25[_0x2de55e(0x21c)]({'type':_0x2de55e(0x21b),'content':_0x3ccf5c(this[_0x2de55e(0x219)],_0x2de55e(0x217),this[_0x2de55e(0x1dc)](_0x11ba0[_0x2de55e(0x22b)]()[_0x2de55e(0x1e9)][_0x2de55e(0x215)],0x1))});}[_0x182a91(0x212)](_0x5f438e,_0x58946c,_0x36a1ad){const _0x8a2300=_0x182a91;if(this[_0x8a2300(0x209)](_0x5f438e,_0x58946c),_0x36a1ad&&_0x36a1ad[_0x8a2300(0x22b)]()&&!_0x58946c[_0x8a2300(0x22b)]()[_0x8a2300(0x1f0)][_0x8a2300(0x1fb)](_0x36a1ad[_0x8a2300(0x22b)]()[_0x8a2300(0x1e9)])){const _0x7fe8cf=_0x5f438e[_0x5f438e[_0x8a2300(0x216)]-0x1],_0x53568d=_0x8a2300(0x20f)==_0x58946c[_0x8a2300(0x1ff)]?_0x8a2300(0x204):_0x8a2300(0x1fc);_0x7fe8cf&&_0x8a2300(0x1f5)==_0x7fe8cf[_0x8a2300(0x1ff)]&&(_0x7fe8cf[_0x53568d]+='\x0a');}}}
|
|
23
|
+
const _0x33fca3=_0x28da;(function(_0x5360e5,_0x1865e1){const _0x2fceaf=_0x28da,_0xbe1790=_0x5360e5();while(!![]){try{const _0x31fe66=parseInt(_0x2fceaf(0x199))/0x1*(-parseInt(_0x2fceaf(0x16a))/0x2)+parseInt(_0x2fceaf(0x13f))/0x3*(-parseInt(_0x2fceaf(0x184))/0x4)+-parseInt(_0x2fceaf(0x149))/0x5*(parseInt(_0x2fceaf(0x14e))/0x6)+-parseInt(_0x2fceaf(0x156))/0x7+-parseInt(_0x2fceaf(0x14d))/0x8*(parseInt(_0x2fceaf(0x194))/0x9)+parseInt(_0x2fceaf(0x15d))/0xa*(parseInt(_0x2fceaf(0x190))/0xb)+parseInt(_0x2fceaf(0x193))/0xc;if(_0x31fe66===_0x1865e1)break;else _0xbe1790['push'](_0xbe1790['shift']());}catch(_0x339b34){_0xbe1790['push'](_0xbe1790['shift']());}}}(_0x2a9b,0x9d240));import{getTranslation as _0x5043bf}from'./utils/common-translations.js';import{priorities as _0x2081cb,insertToPriorityArray as _0x319926}from'ckeditor5/src/utils.js';function _0x28da(_0x3d9264,_0x57abba){const _0x2a9bca=_0x2a9b();return _0x28da=function(_0x28da92,_0x4127ee){_0x28da92=_0x28da92-0x13b;let _0x296d87=_0x2a9bca[_0x28da92];return _0x296d87;},_0x28da(_0x3d9264,_0x57abba);}function _0x2a9b(){const _0x28e1d4=['set','removeFormat','insertion','EmptyContainer','end','774794xwwKmd','has','push','remove','removeEmptyContainer','_handleAttributeSuggestionDescription','element','skip','subType','addContainer','label','REPLACE_TEXT','_attributeLabels','addEmptyContainer','registerAttributeLabel','_addDescriptionItems','*Remove:*\x20%0','add','*Split:*\x20%0','_resolveDescriptionItems','_customCallbacks','quantity','elementStart','getWalker','softBreak','pop','1228xLzSxK','format','elementEnd','match','_locale','registerElementLabel','_schema','previousSibling','item','isEmpty','removeContainer','get','3377xLwazJ','length','newValue','63713724kLjvie','9xRLbgs','getFirstRange','addFormat','join','deletion','3CvPPmd','_handleCustomCallbackDescription','attribute','map','$textProxy','text','*Insert:*\x20%0','*Merge:*\x20%0','*Set\x20format:*\x20%0','5250SYrWHQ','isInContent','function','$1\x20$2','*Remove\x20format:*\x20%0','removeObject','start','data','registerDescriptionCallback','type','41095sWfGoc','matchingCallback','_handleInsertRemoveSuggestionDescription','Object','8468456rzukVL','834RRSnas','replace','key','_itemLabelsCallbacks','getItemLabel','checkChild','isEqual','indexOf','8927219EjmQdy','Container','normal','name','_handleRenameSuggestionDescription','nextSibling','isObject','16610eDGslW','$text','nodeAfter','_itemLabels','addObject','getDescriptions','ELEMENT_SPACE','*Change\x20to:*\x20%0'];_0x2a9b=function(){return _0x28e1d4;};return _0x2a9b();}import{renameAttributeKey as _0x48908d}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x33fca3(0x17e)];[_0x33fca3(0x160)];[_0x33fca3(0x151)];[_0x33fca3(0x176)];[_0x33fca3(0x18a)];[_0x33fca3(0x188)];constructor(_0x4c930e,_0x404386){const _0x10891f=_0x33fca3;this[_0x10891f(0x17e)]=[],this[_0x10891f(0x160)]=new Map(),this[_0x10891f(0x151)]=[],this[_0x10891f(0x176)]=new Map(),this[_0x10891f(0x18a)]=_0x4c930e,this[_0x10891f(0x188)]=_0x404386;}[_0x33fca3(0x162)](_0x2dcd4c){const _0x472533=_0x33fca3,_0x3ecd4b=[],_0x52ce9d=new Set(),_0x4845cb=new Set();for(let _0x54d00e=0x0;_0x54d00e<_0x2dcd4c[_0x472533(0x191)];_0x54d00e++){const _0xd3d4e6=_0x2dcd4c[_0x54d00e];if(!_0xd3d4e6[_0x472533(0x140)])continue;const _0x4a4326=this[_0x472533(0x19a)](_0xd3d4e6);if(_0x4a4326){if(null!=_0xd3d4e6[_0x472533(0x172)]){if(_0x52ce9d[_0x472533(0x16b)](_0xd3d4e6[_0x472533(0x172)]))continue;_0x52ce9d[_0x472533(0x17b)](_0xd3d4e6[_0x472533(0x172)]);}_0x3ecd4b[_0x472533(0x16c)](_0x4a4326);}else{if(_0x472533(0x19b)==_0xd3d4e6[_0x472533(0x148)]){const _0x199acb=_0xd3d4e6[_0x472533(0x146)][_0x472533(0x150)];if(_0x4845cb[_0x472533(0x16b)](_0x199acb))continue;_0x4845cb[_0x472533(0x17b)](_0xd3d4e6[_0x472533(0x146)][_0x472533(0x150)]),_0x199acb==_0x48908d?this[_0x472533(0x15a)](_0x3ecd4b,_0xd3d4e6):this[_0x472533(0x16f)](_0x3ecd4b,_0xd3d4e6);continue;}_0x472533(0x167)!=_0xd3d4e6[_0x472533(0x148)]&&_0x472533(0x198)!=_0xd3d4e6[_0x472533(0x148)]||this[_0x472533(0x14b)](_0x3ecd4b,_0xd3d4e6,_0x2dcd4c[_0x54d00e+0x1]);}}return this[_0x472533(0x17d)](_0x3ecd4b);}[_0x33fca3(0x147)](_0x1fe942){const _0x2c0209=_0x33fca3;this[_0x2c0209(0x17e)][_0x2c0209(0x16c)](_0x1fe942);}[_0x33fca3(0x189)](_0x367131,_0x25e0d8,_0x208d4b=_0x2081cb[_0x33fca3(0x158)]){const _0x51169a=_0x33fca3;_0x51169a(0x141)==typeof _0x367131?_0x319926(this[_0x51169a(0x151)],{'matchingCallback':_0x367131,'label':_0x25e0d8,'priority':_0x208d4b}):this[_0x51169a(0x160)][_0x51169a(0x165)](_0x367131,_0x25e0d8);}[_0x33fca3(0x178)](_0xc00aa1,_0x512625){const _0x35ab89=_0x33fca3;this[_0x35ab89(0x176)][_0x35ab89(0x165)](_0xc00aa1,_0x512625);}[_0x33fca3(0x152)](_0xabfd55,_0x2d5bb9=0x1){const _0x344246=_0x33fca3;let _0x1f38cb;for(const _0x1a97ea of this[_0x344246(0x151)])if(_0x1a97ea[_0x344246(0x14a)](_0xabfd55)){_0x1f38cb=_0x1a97ea[_0x344246(0x174)];break;}return _0x1f38cb||(_0x1f38cb=this[_0x344246(0x160)][_0x344246(0x18f)](_0xabfd55[_0x344246(0x159)])),_0x1f38cb?_0x1f38cb(_0x2d5bb9):0x1!==_0x2d5bb9?_0x2d5bb9+'\x20'+_0xabfd55[_0x344246(0x159)]+'s':''+_0xabfd55[_0x344246(0x159)];}[_0x33fca3(0x179)](_0x575989,_0x47b091){const _0x523527=_0x33fca3,_0x48f22d=_0x47b091[_0x523527(0x195)]()[_0x523527(0x181)](),_0x4be1fd=_0x523527(0x167)==_0x47b091[_0x523527(0x148)]?_0x523527(0x17b):_0x523527(0x16d);for(const _0xc463a7 of _0x48f22d){const _0x128992=_0xc463a7[_0x523527(0x18c)],_0xc9c0c4=_0x575989[_0x575989[_0x523527(0x191)]-0x1];if(_0x128992['is'](_0x523527(0x19d)))_0xc9c0c4&&_0xc9c0c4[_0x523527(0x148)][_0x523527(0x155)](_0x523527(0x157))>-0x1&&_0x575989[_0x523527(0x183)](),_0xc9c0c4&&_0x523527(0x13b)==_0xc9c0c4[_0x523527(0x148)]?_0xc9c0c4[_0x4be1fd]+=_0x128992[_0x523527(0x146)]:_0x575989[_0x523527(0x16c)]({'type':_0x523527(0x13b),'add':_0x523527(0x17b)==_0x4be1fd?_0x128992[_0x523527(0x146)]:'','remove':_0x523527(0x16d)==_0x4be1fd?_0x128992[_0x523527(0x146)]:''});else{if(this[_0x523527(0x18a)][_0x523527(0x15c)](_0x128992)){const _0x4b0c0c=_0x128992;if(_0xc9c0c4&&_0xc9c0c4[_0x523527(0x148)][_0x523527(0x155)](_0x523527(0x157))>-0x1&&_0x575989[_0x523527(0x183)](),_0x523527(0x186)==_0xc463a7[_0x523527(0x148)])continue;_0xc9c0c4&&_0xc9c0c4[_0x523527(0x148)]==_0x4be1fd+_0x523527(0x14c)&&_0xc9c0c4[_0x523527(0x170)][_0x523527(0x159)]==_0x4b0c0c[_0x523527(0x159)]?_0xc9c0c4[_0x523527(0x17f)]++:_0x575989[_0x523527(0x16c)]({'type':_0x4be1fd+_0x523527(0x14c),'element':_0x4b0c0c,'quantity':0x1}),_0x48f22d[_0x523527(0x171)](_0x57520f=>!(_0x523527(0x186)==_0x57520f[_0x523527(0x148)]&&_0x57520f[_0x523527(0x18c)]==_0x128992));}else{if(this[_0x523527(0x18a)][_0x523527(0x153)](_0x128992,_0x523527(0x15e))||_0x128992['is'](_0x523527(0x170),_0x523527(0x182))){const _0x1447df=_0x128992;if(_0x523527(0x17b)==_0x4be1fd&&_0x523527(0x180)==_0xc463a7[_0x523527(0x148)]||_0x523527(0x16d)==_0x4be1fd&&_0x523527(0x186)==_0xc463a7[_0x523527(0x148)])continue;if(_0xc9c0c4&&-0x1==_0xc9c0c4[_0x523527(0x148)][_0x523527(0x155)](_0x523527(0x157))){_0x523527(0x13b)==_0xc9c0c4[_0x523527(0x148)]&&(_0xc9c0c4[_0x4be1fd]+='\x0a');continue;}let _0x2c928d;if(_0x2c928d=_0x523527(0x17b)==_0x4be1fd?_0x1447df[_0x523527(0x15b)]&&!this[_0x523527(0x18a)][_0x523527(0x15c)](_0x1447df[_0x523527(0x15b)])?_0x1447df[_0x523527(0x15b)]:null:_0x1447df[_0x523527(0x18b)]&&!this[_0x523527(0x18a)][_0x523527(0x15c)](_0x1447df[_0x523527(0x18b)])?_0x1447df[_0x523527(0x18b)]:null,_0x1447df[_0x523527(0x18d)]||_0x2c928d&&_0x2c928d[_0x523527(0x18d)]){const _0x523a5f=_0x2c928d&&_0x2c928d[_0x523527(0x18d)]?_0x2c928d:_0x1447df;_0xc9c0c4&&_0xc9c0c4[_0x523527(0x148)]==_0x4be1fd+_0x523527(0x168)&&_0xc9c0c4[_0x523527(0x170)][_0x523527(0x159)]==_0x523a5f[_0x523527(0x159)]?_0xc9c0c4[_0x523527(0x17f)]++:_0x575989[_0x523527(0x16c)]({'type':_0x4be1fd+_0x523527(0x168),'element':_0x523a5f,'quantity':0x1});}else _0x575989[_0x523527(0x16c)]({'type':_0x4be1fd+_0x523527(0x157),'element':_0x1447df});}}}}}[_0x33fca3(0x17d)](_0x18fd10){const _0x150f78=_0x33fca3,_0xb107e1=this[_0x150f78(0x188)],_0x23c8e8=[],_0x363366=[],_0x3998a3=[];for(const _0x1be014 of _0x18fd10)switch(_0x1be014[_0x150f78(0x148)]){case _0x150f78(0x13b):if(_0x1be014[_0x150f78(0x17b)]=_0x1be014[_0x150f78(0x17b)][_0x150f78(0x14f)](/(\S)\u000A+(\S)/g,_0x150f78(0x142))[_0x150f78(0x14f)](/\u000A/g,''),_0x1be014[_0x150f78(0x16d)]=_0x1be014[_0x150f78(0x16d)][_0x150f78(0x14f)](/(\S)\u000A+(\S)/g,_0x150f78(0x142))[_0x150f78(0x14f)](/\u000A/g,''),''!=_0x1be014[_0x150f78(0x17b)]&&''!=_0x1be014[_0x150f78(0x16d)]){_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x14f),'content':_0x5043bf(_0xb107e1,_0x150f78(0x175),['\x22'+_0x1be014[_0x150f78(0x16d)]+'\x22','\x22'+_0x1be014[_0x150f78(0x17b)]+'\x22'])});continue;}if(null!=_0x1be014[_0x150f78(0x17b)][_0x150f78(0x187)](/^ +$/)){_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x167),'content':_0x5043bf(_0xb107e1,_0x150f78(0x13c),_0x5043bf(_0xb107e1,_0x150f78(0x163),_0x1be014[_0x150f78(0x17b)][_0x150f78(0x191)]))});continue;}if(null!=_0x1be014[_0x150f78(0x16d)][_0x150f78(0x187)](/^ +$/)){_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x198),'content':_0x5043bf(_0xb107e1,_0x150f78(0x17a),_0x5043bf(_0xb107e1,_0x150f78(0x163),_0x1be014[_0x150f78(0x16d)][_0x150f78(0x191)]))});continue;}if(''!=_0x1be014[_0x150f78(0x17b)]){_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x167),'content':_0x5043bf(_0xb107e1,_0x150f78(0x13c),'\x22'+_0x1be014[_0x150f78(0x17b)]+'\x22')});continue;}_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x198),'content':_0x5043bf(_0xb107e1,_0x150f78(0x17a),'\x22'+_0x1be014[_0x150f78(0x16d)]+'\x22')});continue;case _0x150f78(0x177):case _0x150f78(0x161):_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x167),'content':_0x5043bf(_0xb107e1,_0x150f78(0x13c),this[_0x150f78(0x152)](_0x1be014[_0x150f78(0x170)],_0x1be014[_0x150f78(0x17f)]))});continue;case _0x150f78(0x16e):case _0x150f78(0x144):_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x198),'content':_0x5043bf(_0xb107e1,_0x150f78(0x17a),this[_0x150f78(0x152)](_0x1be014[_0x150f78(0x170)],_0x1be014[_0x150f78(0x17f)]))});continue;case _0x150f78(0x173):_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x167),'content':_0x5043bf(_0xb107e1,_0x150f78(0x17c),this[_0x150f78(0x152)](_0x1be014[_0x150f78(0x170)],_0x1be014[_0x150f78(0x17f)]))});continue;case _0x150f78(0x18e):_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x198),'content':_0x5043bf(_0xb107e1,_0x150f78(0x13d),this[_0x150f78(0x152)](_0x1be014[_0x150f78(0x170)],_0x1be014[_0x150f78(0x17f)]))});continue;case _0x150f78(0x196):_0x363366[_0x150f78(0x16c)](_0x1be014[_0x150f78(0x150)]);continue;case _0x150f78(0x166):_0x3998a3[_0x150f78(0x16c)](_0x1be014[_0x150f78(0x150)]);continue;default:_0x23c8e8[_0x150f78(0x16c)](_0x1be014);}if(_0x363366[_0x150f78(0x191)]){const _0x150988=_0x363366[_0x150f78(0x19c)](_0xc9ad66=>this[_0x150f78(0x176)][_0x150f78(0x16b)](_0xc9ad66)?this[_0x150f78(0x176)][_0x150f78(0x18f)](_0xc9ad66):_0xc9ad66)[_0x150f78(0x197)](',\x20');_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x185),'content':_0x5043bf(this[_0x150f78(0x188)],_0x150f78(0x13e),_0x150988)});}if(_0x3998a3[_0x150f78(0x191)]){const _0x4fcf67=_0x3998a3[_0x150f78(0x19c)](_0x777d71=>this[_0x150f78(0x176)][_0x150f78(0x16b)](_0x777d71)?this[_0x150f78(0x176)][_0x150f78(0x18f)](_0x777d71):_0x777d71)[_0x150f78(0x197)](',\x20');_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x185),'content':_0x5043bf(this[_0x150f78(0x188)],_0x150f78(0x143),_0x4fcf67)});}return _0x23c8e8;}[_0x33fca3(0x19a)](_0x27e08d){const _0x3aa3de=_0x33fca3;for(const _0x449626 of this[_0x3aa3de(0x17e)]){const _0x5932d0=_0x449626(_0x27e08d);if(_0x5932d0&&_0x3aa3de(0x148)in _0x5932d0)return _0x5932d0;}}[_0x33fca3(0x16f)](_0x5c7344,_0x1f62ab){const _0x2bb459=_0x33fca3,_0x29dc02=_0x1f62ab[_0x2bb459(0x146)],_0x4bfe7a=void 0x0===_0x29dc02[_0x2bb459(0x192)]?_0x2bb459(0x166):_0x2bb459(0x196);_0x5c7344[_0x2bb459(0x16c)]({'type':_0x4bfe7a,'key':_0x29dc02[_0x2bb459(0x150)]});}[_0x33fca3(0x15a)](_0x29f5e7,_0x1fd4eb){const _0x1eafc9=_0x33fca3;_0x29f5e7[_0x1eafc9(0x16c)]({'type':_0x1eafc9(0x185),'content':_0x5043bf(this[_0x1eafc9(0x188)],_0x1eafc9(0x164),this[_0x1eafc9(0x152)](_0x1fd4eb[_0x1eafc9(0x195)]()[_0x1eafc9(0x145)][_0x1eafc9(0x15f)],0x1))});}[_0x33fca3(0x14b)](_0x37d788,_0x4b2386,_0x28effd){const _0x197a07=_0x33fca3;if(this[_0x197a07(0x179)](_0x37d788,_0x4b2386),_0x28effd&&_0x28effd[_0x197a07(0x195)]()&&!_0x4b2386[_0x197a07(0x195)]()[_0x197a07(0x169)][_0x197a07(0x154)](_0x28effd[_0x197a07(0x195)]()[_0x197a07(0x145)])){const _0x582a9a=_0x37d788[_0x37d788[_0x197a07(0x191)]-0x1],_0x3f24d0=_0x197a07(0x167)==_0x4b2386[_0x197a07(0x148)]?_0x197a07(0x17b):_0x197a07(0x16d);_0x582a9a&&_0x197a07(0x13b)==_0x582a9a[_0x197a07(0x148)]&&(_0x582a9a[_0x3f24d0]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x37555c=_0x54a5;(function(_0x1260df,_0xbd3937){var _0x9945db=_0x54a5,_0x54c264=_0x1260df();while(!![]){try{var _0x46c770=parseInt(_0x9945db(0x146))/0x1*(-parseInt(_0x9945db(0x136))/0x2)+parseInt(_0x9945db(0x137))/0x3*(parseInt(_0x9945db(0x131))/0x4)+-parseInt(_0x9945db(0x12f))/0x5*(parseInt(_0x9945db(0x12e))/0x6)+parseInt(_0x9945db(0x132))/0x7+-parseInt(_0x9945db(0x142))/0x8*(-parseInt(_0x9945db(0x139))/0x9)+parseInt(_0x9945db(0x13c))/0xa+-parseInt(_0x9945db(0x13f))/0xb*(parseInt(_0x9945db(0x144))/0xc);if(_0x46c770===_0xbd3937)break;else _0x54c264['push'](_0x54c264['shift']());}catch(_0x5bda09){_0x54c264['push'](_0x54c264['shift']());}}}(_0x3d53,0xd68eb));import{Plugin as _0x5df145}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x2d5875}from'./trackchangesui.js';function _0x3d53(){var _0x5d0916=['12652368qmiXwR','adapter','489156dYJEfE','get','526297ypjGlR','TrackChanges','445974wbAfob','5YXIPdd','isPremiumPlugin','308BoGxzL','9680601XJJtek','addSuggestionData','editor','pluginName','2zboAgX','41937jKGjzY','isOfficialPlugin','9QvIsMo','requires','getSuggestion','11480140liPvbL','addSuggestion','plugins','1001WwOegc','Comments','getSuggestions'];_0x3d53=function(){return _0x5d0916;};return _0x3d53();}function _0x54a5(_0xbc196a,_0x442dae){var _0x3d53ca=_0x3d53();return _0x54a5=function(_0x54a5b0,_0x1eea16){_0x54a5b0=_0x54a5b0-0x12e;var _0x348dfc=_0x3d53ca[_0x54a5b0];return _0x348dfc;},_0x54a5(_0xbc196a,_0x442dae);}import{TrackChangesEditing as _0x17063a}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x5df145{static get[_0x37555c(0x13a)](){var _0x35979b=_0x37555c;return[_0x17063a,_0x2d5875,_0x35979b(0x140)];}static get[_0x37555c(0x135)](){var _0x379091=_0x37555c;return _0x379091(0x147);}static get[_0x37555c(0x138)](){return!0x0;}static get[_0x37555c(0x130)](){return!0x0;}set[_0x37555c(0x143)](_0x419db4){var _0x5cde90=_0x37555c;this[_0x5cde90(0x134)][_0x5cde90(0x13e)][_0x5cde90(0x145)](_0x17063a)[_0x5cde90(0x143)]=_0x419db4;}get[_0x37555c(0x143)](){var _0x284074=_0x37555c;return this[_0x284074(0x134)][_0x284074(0x13e)][_0x284074(0x145)](_0x17063a)[_0x284074(0x143)];}[_0x37555c(0x13d)](_0x531015){var _0x1c5205=_0x37555c;return this[_0x1c5205(0x134)][_0x1c5205(0x13e)][_0x1c5205(0x145)](_0x17063a)[_0x1c5205(0x133)](_0x531015);}[_0x37555c(0x141)]({skipNotAttached:_0x5bf399=!0x1,toJSON:_0x515103=!0x1}={}){var _0x10f0c1=_0x37555c;return this[_0x10f0c1(0x134)][_0x10f0c1(0x13e)][_0x10f0c1(0x145)](_0x17063a)[_0x10f0c1(0x141)]({'skipNotAttached':_0x5bf399,'toJSON':_0x515103});}[_0x37555c(0x13b)](_0x51569c){var _0x22261a=_0x37555c;return this[_0x22261a(0x134)][_0x22261a(0x13e)][_0x22261a(0x145)](_0x17063a)[_0x22261a(0x13b)](_0x51569c);}}
|