@ckeditor/ckeditor5-track-changes 47.1.0-alpha.0 → 47.1.0-alpha.2
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/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c85e4=_0x2e27;(function(_0x329197,_0x3db034){const _0x326b3a=_0x2e27,_0x434f84=_0x329197();while(!![]){try{const _0x4a36e4=-parseInt(_0x326b3a(0x1d3))/0x1+parseInt(_0x326b3a(0x1b0))/0x2+parseInt(_0x326b3a(0x1a5))/0x3+parseInt(_0x326b3a(0x1c1))/0x4+parseInt(_0x326b3a(0x1ac))/0x5*(-parseInt(_0x326b3a(0x1d5))/0x6)+parseInt(_0x326b3a(0x1a2))/0x7+parseInt(_0x326b3a(0x1be))/0x8*(-parseInt(_0x326b3a(0x1ec))/0x9);if(_0x4a36e4===_0x3db034)break;else _0x434f84['push'](_0x434f84['shift']());}catch(_0x12a8c7){_0x434f84['push'](_0x434f84['shift']());}}}(_0x1dbc,0x83fb7));function _0x1dbc(){const _0x49570e=['getSuggestion','forceValue','name','694837aReuWS','FORMAT_REGULAR_ROW','6yTLzxj','markerNameToElements','unbindElementFromMarkerName','_splitMarkerName','afterInit','options','type','start','*Format:*\x20%0','toViewElement','locale','registerDescriptionCallback','headingRows','createTableWalker','activeMarkers','_acceptFormatSuggestionCallbackFactory','removeAttribute','consumable','editor','registerCustomCallback','downcastDispatcher','ck-suggestion-marker-','removeMarker:suggestion','10093455bwMJaa','commandName','writer','includes','getCellLocation','accept','data','markerName','setTableRowHeader','get','data-suggestion','format','6020252cAjRBz','consume','item','2722719wUgcVi','TrackChangesEditing','bindElementToMarker','cell','registerAttributeLabel','ck-suggestion-marker--active','removeClass','191450xAarXc','nodeAfter','mapper','setAttribute','1026494spnJNI','enableDefaultAttributesIntegration','TableUtils','addMarker:suggestion','FORMAT_REGULAR_COLUMN','registerBlockAttribute','descriptionFactory','markerRange','nodeBefore','_handleLegacySuggestions','editing','end','FORMAT_HEADER_ROW','TableEditing','8CIkjdH','requires','commandParams','457460akaKwV','highest','parent','_suggestionFactory','formatBlock','showSuggestionHighlights','has','stop','FORMAT_HEADER_COLUMN','addClass','plugins','hasSuggestion','setTableColumnHeader','_registerLegacyDescription','headingColumns'];_0x1dbc=function(){return _0x49570e;};return _0x1dbc();}import{Plugin as _0x147b26}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x4b11ac}from'./table.js';import{getTranslation as _0xa1758e}from'../utils/common-translations.js';function _0x2e27(_0x311048,_0x444191){const _0x1dbc46=_0x1dbc();return _0x2e27=function(_0x2e27de,_0x1ebb7c){_0x2e27de=_0x2e27de-0x19f;let _0x139861=_0x1dbc46[_0x2e27de];return _0x139861;},_0x2e27(_0x311048,_0x444191);}export class TrackChangesTableHeadings extends _0x147b26{static get[_0x2c85e4(0x1bf)](){return[_0x4b11ac];}[_0x2c85e4(0x1d9)](){const _0x31a991=_0x2c85e4,_0x221085=this[_0x31a991(0x1e7)];if(!_0x221085[_0x31a991(0x1cb)][_0x31a991(0x1c7)](_0x31a991(0x1bd)))return;const _0x52845e=_0x221085[_0x31a991(0x1df)],_0x335302=_0x221085[_0x31a991(0x1cb)][_0x31a991(0x19f)](_0x31a991(0x1a6));_0x335302[_0x31a991(0x1b1)](_0x31a991(0x1f4)),_0x335302[_0x31a991(0x1b1)](_0x31a991(0x1cd)),_0x335302[_0x31a991(0x1b5)](_0x31a991(0x1e1)),_0x335302[_0x31a991(0x1b5)](_0x31a991(0x1cf)),_0x335302[_0x31a991(0x1b6)][_0x31a991(0x1a9)](_0x31a991(0x1e1),_0xa1758e(_0x52845e,_0x31a991(0x1bc))),_0x335302[_0x31a991(0x1b6)][_0x31a991(0x1a9)](_0x31a991(0x1cf),_0xa1758e(_0x52845e,_0x31a991(0x1c9))),this[_0x31a991(0x1b9)]();}[_0x2c85e4(0x1b9)](){const _0x521eea=_0x2c85e4,_0x478348=this[_0x521eea(0x1e7)][_0x521eea(0x1cb)][_0x521eea(0x19f)](_0x521eea(0x1a6)),_0xede79=this[_0x521eea(0x1e7)][_0x521eea(0x1cb)][_0x521eea(0x19f)](_0x521eea(0x1b2)),_0x57d92f=this[_0x521eea(0x1e7)][_0x521eea(0x1cb)][_0x521eea(0x19f)](_0x4b11ac)[_0x521eea(0x1e4)]();function _0x1cb40d({showActiveMarker:_0x2dff96=!0x0,setDataAttribute:_0x4b5b2e=!0x0}={}){return(_0x105b92,_0x115113,_0x37c490)=>{const _0x4aa594=_0x2e27,{type:_0x1227a5,id:_0x1d4ba8}=_0x478348[_0x4aa594(0x1d8)](_0x115113[_0x4aa594(0x1f3)]);if(!_0x478348[_0x4aa594(0x1cc)](_0x1d4ba8))return;const _0x2af3d6=_0x478348[_0x4aa594(0x1d0)](_0x1d4ba8),_0x167a0f=_0x2af3d6[_0x4aa594(0x1f2)];if(_0x4aa594(0x1c5)!=_0x2af3d6[_0x4aa594(0x1db)]||!_0x167a0f||_0x4aa594(0x1cd)!=_0x167a0f[_0x4aa594(0x1ed)])return;if(_0x115113[_0x4aa594(0x1a4)])return void _0x105b92[_0x4aa594(0x1c8)]();if(!_0x37c490[_0x4aa594(0x1e6)][_0x4aa594(0x1a3)](_0x115113[_0x4aa594(0x1b7)],_0x105b92[_0x4aa594(0x1d2)]))return;const _0x4c30ff=_0x115113[_0x4aa594(0x1b7)][_0x4aa594(0x1dc)][_0x4aa594(0x1ad)],_0x1efa2a=_0x115113[_0x4aa594(0x1b7)][_0x4aa594(0x1bb)][_0x4aa594(0x1b8)],_0x585eef=_0x4c30ff[_0x4aa594(0x1c3)][_0x4aa594(0x1c3)],{column:_0xbcf69b}=_0xede79[_0x4aa594(0x1f0)](_0x4c30ff),{column:_0x3f92f7}=_0xede79[_0x4aa594(0x1f0)](_0x1efa2a);for(let _0x28c061=_0xbcf69b;_0x28c061<=_0x3f92f7;_0x28c061++){const _0x4e1157=_0xede79[_0x4aa594(0x1e2)](_0x585eef,{'column':_0x28c061,'includeAllSlots':!0x1});for(const _0x60eaa2 of _0x4e1157){const _0x2d66ca=_0x60eaa2[_0x4aa594(0x1a8)],_0x28396e=_0x37c490[_0x4aa594(0x1ae)][_0x4aa594(0x1de)](_0x2d66ca);_0x37c490[_0x4aa594(0x1ee)][_0x4aa594(0x1ca)](_0x4aa594(0x1ea)+_0x1227a5,_0x28396e),_0x4b5b2e&&_0x37c490[_0x4aa594(0x1ee)][_0x4aa594(0x1af)](_0x4aa594(0x1a0),_0x1d4ba8,_0x28396e),_0x37c490[_0x4aa594(0x1ae)][_0x4aa594(0x1a7)](_0x28396e,_0x115113[_0x4aa594(0x1f3)]),_0x2dff96&&(_0x478348[_0x4aa594(0x1e3)][_0x4aa594(0x1ef)](_0x115113[_0x4aa594(0x1f3)])?_0x37c490[_0x4aa594(0x1ee)][_0x4aa594(0x1ca)](_0x4aa594(0x1aa),_0x28396e):_0x37c490[_0x4aa594(0x1ee)][_0x4aa594(0x1ab)](_0x4aa594(0x1aa),_0x28396e));}}};}_0x478348[_0x521eea(0x1c4)][_0x521eea(0x1e8)](_0x521eea(0x1c5),_0x521eea(0x1f4),_0x521eea(0x1f1),_0x57d92f),_0x478348[_0x521eea(0x1c4)][_0x521eea(0x1e8)](_0x521eea(0x1c5),_0x521eea(0x1cd),_0x521eea(0x1f1),_0x57d92f),this[_0x521eea(0x1e7)][_0x521eea(0x1ba)][_0x521eea(0x1e9)]['on'](_0x521eea(0x1b3),_0x1cb40d(),{'priority':_0x521eea(0x1c2)}),this[_0x521eea(0x1e7)][_0x521eea(0x1f2)][_0x521eea(0x1e9)]['on'](_0x521eea(0x1b3),(_0x33d797,_0xa3929a,_0xce6276)=>{const _0x1135e3=_0x521eea;_0xce6276[_0x1135e3(0x1da)][_0x1135e3(0x1c6)]&&_0x1cb40d({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x33d797,_0xa3929a,_0xce6276);},{'priority':_0x521eea(0x1c2)}),this[_0x521eea(0x1e7)][_0x521eea(0x1ba)][_0x521eea(0x1e9)]['on'](_0x521eea(0x1eb),(_0x63de51,_0x1a4143,_0x2005d3)=>{const _0x1b416a=_0x521eea,{type:_0x299254,id:_0x5a20f2}=_0x478348[_0x1b416a(0x1d8)](_0x1a4143[_0x1b416a(0x1f3)]);if(!_0x478348[_0x1b416a(0x1cc)](_0x5a20f2))return;const _0x3e9131=_0x478348[_0x1b416a(0x1d0)](_0x5a20f2),_0x5a313a=_0x3e9131[_0x1b416a(0x1f2)];if(_0x1b416a(0x1c5)!=_0x3e9131[_0x1b416a(0x1db)]||!_0x5a313a||_0x1b416a(0x1cd)!=_0x5a313a[_0x1b416a(0x1ed)])return;const _0x4b3816=_0x2005d3[_0x1b416a(0x1ae)][_0x1b416a(0x1d6)](_0x1a4143[_0x1b416a(0x1f3)]);if(_0x4b3816){for(const _0x55859f of _0x4b3816)_0x2005d3[_0x1b416a(0x1ee)][_0x1b416a(0x1ab)](_0x1b416a(0x1ea)+_0x299254,_0x55859f),_0x2005d3[_0x1b416a(0x1ee)][_0x1b416a(0x1ab)](_0x1b416a(0x1aa),_0x55859f),_0x2005d3[_0x1b416a(0x1ee)][_0x1b416a(0x1e5)](_0x1b416a(0x1a0),_0x55859f),_0x2005d3[_0x1b416a(0x1ae)][_0x1b416a(0x1d7)](_0x55859f,_0x1a4143[_0x1b416a(0x1f3)]);}},{'priority':_0x521eea(0x1c2)}),this[_0x521eea(0x1ce)]();}[_0x2c85e4(0x1ce)](){const _0x4fe9d1=_0x2c85e4,_0x58f2ae=this[_0x4fe9d1(0x1e7)],_0x332b12=_0x58f2ae[_0x4fe9d1(0x1df)];function _0x3935b8(_0x466454){const _0x398485=_0x4fe9d1;return{'type':_0x398485(0x1a1),'content':_0xa1758e(_0x332b12,_0x398485(0x1dd),_0x466454)};}_0x58f2ae[_0x4fe9d1(0x1cb)][_0x4fe9d1(0x19f)](_0x4fe9d1(0x1a6))[_0x4fe9d1(0x1b6)][_0x4fe9d1(0x1e0)](_0x4407e2=>{const _0x2b7cbf=_0x4fe9d1;if(_0x2b7cbf(0x1c5)!=_0x4407e2[_0x2b7cbf(0x1db)])return;const {data:_0x5a7dc5}=_0x4407e2;if(_0x5a7dc5){if(_0x2b7cbf(0x1f4)==_0x5a7dc5[_0x2b7cbf(0x1ed)]){const _0x5706b1=_0x5a7dc5[_0x2b7cbf(0x1c0)][0x0][_0x2b7cbf(0x1d1)];return _0x3935b8(_0xa1758e(_0x332b12,_0x5706b1?_0x2b7cbf(0x1bc):_0x2b7cbf(0x1d4)));}if(_0x2b7cbf(0x1cd)==_0x5a7dc5[_0x2b7cbf(0x1ed)]){const _0x184979=_0x5a7dc5[_0x2b7cbf(0x1c0)][0x0][_0x2b7cbf(0x1d1)];return _0x3935b8(_0xa1758e(_0x332b12,_0x184979?_0x2b7cbf(0x1c9):_0x2b7cbf(0x1b4)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x327007=_0x15fe;(function(_0x5a4aca,_0x3365c4){const _0x34bc1e=_0x15fe,_0x2eae81=_0x5a4aca();while(!![]){try{const _0x27af7f=parseInt(_0x34bc1e(0xd7))/0x1+-parseInt(_0x34bc1e(0xc9))/0x2+-parseInt(_0x34bc1e(0xd4))/0x3*(-parseInt(_0x34bc1e(0xbf))/0x4)+-parseInt(_0x34bc1e(0xd5))/0x5+parseInt(_0x34bc1e(0xc0))/0x6+-parseInt(_0x34bc1e(0xba))/0x7+parseInt(_0x34bc1e(0xcd))/0x8;if(_0x27af7f===_0x3365c4)break;else _0x2eae81['push'](_0x2eae81['shift']());}catch(_0x570850){_0x2eae81['push'](_0x2eae81['shift']());}}}(_0x593f,0x799f0));import{Plugin as _0xb778a8}from'ckeditor5/src/core.js';import{getTranslation as _0x6bb4af}from'../utils/common-translations.js';function _0x15fe(_0x6bfe93,_0x4b5b68){const _0x593fc4=_0x593f();return _0x15fe=function(_0x15feef,_0x47e4e0){_0x15feef=_0x15feef-0xb8;let _0x2cef05=_0x593fc4[_0x15feef];return _0x2cef05;},_0x15fe(_0x6bfe93,_0x4b5b68);}function _0x593f(){const _0xabe33a=['*Set\x20table\x20type:*\x20%0','newValue','8LkRffs','3679368vzOUrC','enableCommand','registerElementLabel','insertTableLayout','layout','TableLayout','TrackChangesEditing','locale','get','1119684ZYgyON','afterInit','registerBlockAttribute','has','12059248picBbn','format','getAttribute','editor','element','plugins','registerDescriptionCallback','17436QcDZAN','2184335bLzCuZ','table','210174kCeZFe','ELEMENT_LAYOUT_TABLE','content','tableType','descriptionFactory','key','5932941cqRDZw','ELEMENT_CONTENT_TABLE','enableDefaultAttributesIntegration'];_0x593f=function(){return _0xabe33a;};return _0x593f();}export class TrackChangesTableLayout extends _0xb778a8{[_0x327007(0xca)](){const _0x4e9a0b=_0x327007,_0x3f0be4=this[_0x4e9a0b(0xd0)],_0x1bd366=_0x3f0be4[_0x4e9a0b(0xc7)],_0x26d616=_0x3f0be4[_0x4e9a0b(0xd2)][_0x4e9a0b(0xc8)](_0x4e9a0b(0xc6));function _0x429c88(_0x2708d9){const _0xd81bbc=_0x4e9a0b;return{'type':_0xd81bbc(0xce),'content':''+_0x6bb4af(_0x1bd366,_0xd81bbc(0xbd),_0x2708d9)};}_0x3f0be4[_0x4e9a0b(0xd2)][_0x4e9a0b(0xcc)](_0x4e9a0b(0xc5))&&(_0x26d616[_0x4e9a0b(0xc1)](_0x4e9a0b(0xc3)),_0x26d616[_0x4e9a0b(0xbc)](_0x4e9a0b(0xda)),_0x26d616[_0x4e9a0b(0xcb)](_0x4e9a0b(0xda)),_0x26d616[_0x4e9a0b(0xb8)][_0x4e9a0b(0xc2)](_0xa307=>_0xa307['is'](_0x4e9a0b(0xd1),_0x4e9a0b(0xd6))&&_0x4e9a0b(0xc4)===_0xa307[_0x4e9a0b(0xcf)](_0x4e9a0b(0xda)),_0x2ab70a=>_0x6bb4af(_0x1bd366,_0x4e9a0b(0xd8),_0x2ab70a)),_0x26d616[_0x4e9a0b(0xb8)][_0x4e9a0b(0xd3)](_0xa881=>{const _0x23589e=_0x4e9a0b,{data:_0x4fb894}=_0xa881;if(_0x4fb894&&_0x23589e(0xda)==_0x4fb894[_0x23589e(0xb9)])switch(_0x4fb894[_0x23589e(0xbe)]){case _0x23589e(0xc4):return _0x429c88(_0x6bb4af(_0x1bd366,_0x23589e(0xd8)));case _0x23589e(0xd9):return _0x429c88(_0x6bb4af(_0x1bd366,_0x23589e(0xbb)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f8f67=_0x3ae4;(function(_0x471109,_0x221bd6){const _0x248afa=_0x3ae4,_0x344053=_0x471109();while(!![]){try{const _0x279697=-parseInt(_0x248afa(0x200))/0x1+-parseInt(_0x248afa(0x22c))/0x2+-parseInt(_0x248afa(0x1f0))/0x3*(parseInt(_0x248afa(0x1e8))/0x4)+-parseInt(_0x248afa(0x1f6))/0x5+-parseInt(_0x248afa(0x1f1))/0x6+parseInt(_0x248afa(0x226))/0x7+parseInt(_0x248afa(0x210))/0x8;if(_0x279697===_0x221bd6)break;else _0x344053['push'](_0x344053['shift']());}catch(_0x289ff9){_0x344053['push'](_0x344053['shift']());}}}(_0x555b,0x63cb5));import{Plugin as _0xbdad96}from'ckeditor5/src/core.js';function _0x3ae4(_0x3d1a0d,_0xd8d6b5){const _0x555bb7=_0x555b();return _0x3ae4=function(_0x3ae40c,_0x4a986d){_0x3ae40c=_0x3ae40c-0x1e4;let _0xbf6e64=_0x555bb7[_0x3ae40c];return _0xbf6e64;},_0x3ae4(_0x3d1a0d,_0xd8d6b5);}import{TrackChangesTable as _0xa7c906}from'./table.js';import{ModelLiveRange as _0x284233}from'ckeditor5/src/engine.js';import{getTranslation as _0x5bbf99}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0xbdad96{static get[_0x3f8f67(0x23f)](){return[_0xa7c906];}[_0x3f8f67(0x1f5)](){const _0x29f46c=_0x3f8f67,_0xc18737=this[_0x29f46c(0x243)],_0x21d4ca=_0xc18737[_0x29f46c(0x20d)][_0x29f46c(0x1e4)][_0x29f46c(0x1f3)],_0x317ea9=_0xc18737[_0x29f46c(0x203)];if(!_0xc18737[_0x29f46c(0x240)][_0x29f46c(0x1ea)](_0x29f46c(0x222)))return;const _0x8c3e41=_0xc18737[_0x29f46c(0x240)][_0x29f46c(0x1fd)](_0x29f46c(0x21b)),_0x531bea=_0xc18737[_0x29f46c(0x240)][_0x29f46c(0x1fd)](_0x29f46c(0x1fa)),_0x24e388=_0xc18737[_0x29f46c(0x240)][_0x29f46c(0x1fd)](_0xa7c906);_0x24e388[_0x29f46c(0x20c)][_0x29f46c(0x207)](_0x29f46c(0x1e7)),_0x8c3e41[_0x29f46c(0x1ef)](_0x29f46c(0x1e7),()=>{const _0x2da406=_0x29f46c,_0x45511b=_0x531bea[_0x2da406(0x228)](_0xc18737[_0x2da406(0x20d)][_0x2da406(0x1e4)][_0x2da406(0x1f3)]);_0xc18737[_0x2da406(0x20d)][_0x2da406(0x208)](()=>{const _0x3264be=_0x2da406;_0x8c3e41[_0x3264be(0x1e9)](_0x45511b,{'commandName':_0x3264be(0x1e7),'commandParams':[]},[],_0x3264be(0x1e7));});}),_0xc18737[_0x29f46c(0x1ed)][_0x29f46c(0x1fd)](_0x29f46c(0x1e7))['on'](_0x29f46c(0x229),(_0x571c86,_0x1dad5f)=>{const _0x515a69=_0x29f46c;_0xc18737[_0x515a69(0x1ed)][_0x515a69(0x1fd)](_0x515a69(0x216))[_0x515a69(0x219)]&&(_0x1dad5f[_0x515a69(0x238)]>0x0&&_0x1dad5f[_0x1dad5f[_0x515a69(0x238)]-0x1]&&_0x1dad5f[_0x1dad5f[_0x515a69(0x238)]-0x1][_0x515a69(0x20f)]||_0x8c3e41[_0x515a69(0x217)]||this[_0x515a69(0x1e6)]()||_0x571c86[_0x515a69(0x231)]());},{'priority':_0x29f46c(0x21e)});for(const _0x71f4e3 of[_0x29f46c(0x211),_0x29f46c(0x22f),_0x29f46c(0x223),_0x29f46c(0x220)]){const _0x3ddec6=_0xc18737[_0x29f46c(0x1ed)][_0x29f46c(0x1fd)](_0x71f4e3);_0x8c3e41[_0x29f46c(0x1ef)](_0x71f4e3,()=>{const _0x254453=_0x29f46c,_0x392a6e=_0xc18737[_0x254453(0x20d)][_0x254453(0x1e4)][_0x254453(0x1f3)][_0x254453(0x1eb)]()[_0x254453(0x21d)]()[_0x254453(0x241)](_0x2f3eb8=>_0x2f3eb8['is'](_0x254453(0x234),_0x254453(0x21c))),_0x257116=_0x3ddec6[_0x254453(0x219)];_0xc18737[_0x254453(0x20d)][_0x254453(0x208)](()=>{const _0x5d204f=_0x254453;_0x8c3e41[_0x5d204f(0x1e9)]([_0x392a6e,_0x257116],{'commandName':_0x5d204f(0x1e7),'commandParams':[]},[],_0x5d204f(0x1e7));});});}for(const _0x22e436 of[_0x29f46c(0x206),_0x29f46c(0x1e5)]){const _0x147b76=_0xc18737[_0x29f46c(0x1ed)][_0x29f46c(0x1fd)](_0x22e436);_0x8c3e41[_0x29f46c(0x1ef)](_0x22e436,()=>{const _0x4e3518=_0x29f46c,_0x27e7cd=_0x531bea[_0x4e3518(0x228)](_0xc18737[_0x4e3518(0x20d)][_0x4e3518(0x1e4)][_0x4e3518(0x1f3)])[0x0],_0x420033=_0x27e7cd[_0x4e3518(0x20a)](_0x4e3518(0x1f9)),{column:_0x24c055,row:_0x5e8ee3}=_0x531bea[_0x4e3518(0x1fe)](_0x27e7cd);let _0x13413e=[];if(_0x4e3518(0x213)==_0x147b76[_0x4e3518(0x235)]){const _0x5bf098=_0x531bea[_0x4e3518(0x239)](_0x420033,{'startRow':_0x5e8ee3,'endRow':_0x5e8ee3,'includeAllSlots':!0x0});_0x13413e=Array[_0x4e3518(0x23b)](_0x5bf098)[_0x4e3518(0x202)](_0x4f4e8d=>_0x4f4e8d[_0x4e3518(0x23e)]);}else{const _0xab8eef=_0x531bea[_0x4e3518(0x239)](_0x420033,{'column':_0x24c055,'includeAllSlots':!0x0});_0x13413e=Array[_0x4e3518(0x23b)](_0xab8eef)[_0x4e3518(0x202)](_0x561e32=>_0x561e32[_0x4e3518(0x23e)]);}_0xc18737[_0x4e3518(0x20d)][_0x4e3518(0x208)](_0x3dcfa1=>{const _0x2a3d17=_0x4e3518;_0x8c3e41[_0x2a3d17(0x23c)](_0x3dcfa1[_0x2a3d17(0x233)](_0x27e7cd),{'commandName':_0x22e436,'commandParams':[]},_0x13413e,_0x22e436);});});}_0x8c3e41[_0x29f46c(0x230)][_0x29f46c(0x23a)](_0x438287=>{const _0x360bdd=_0x29f46c;if(_0x360bdd(0x22a)!=_0x438287[_0x360bdd(0x1ff)]&&_0x360bdd(0x22b)!=_0x438287[_0x360bdd(0x1ff)])return;const {data:_0x1e4060}=_0x438287;return _0x1e4060&&_0x360bdd(0x1e7)==_0x1e4060[_0x360bdd(0x22d)]?{'type':_0x360bdd(0x1fc),'content':_0x5bbf99(_0x317ea9,_0x360bdd(0x212))}:void 0x0;}),_0x8c3e41[_0x29f46c(0x230)][_0x29f46c(0x23a)](_0x9b579b=>{const _0x359b70=_0x29f46c;if(_0x359b70(0x22a)!=_0x9b579b[_0x359b70(0x1ff)]&&_0x359b70(0x22b)!=_0x9b579b[_0x359b70(0x1ff)])return;const {data:_0x401fe1}=_0x9b579b;return _0x401fe1?_0x359b70(0x206)==_0x401fe1[_0x359b70(0x22d)]?{'type':_0x359b70(0x1fc),'content':_0x5bbf99(_0x317ea9,_0x359b70(0x237))}:_0x359b70(0x1e5)==_0x401fe1[_0x359b70(0x22d)]?{'type':_0x359b70(0x1fc),'content':_0x5bbf99(_0x317ea9,_0x359b70(0x244))}:void 0x0:void 0x0;});const _0x1d7362=_0x24e388[_0x29f46c(0x1fb)]();for(const _0x121366 of[_0x29f46c(0x211),_0x29f46c(0x22f),_0x29f46c(0x223),_0x29f46c(0x220)])_0x8c3e41[_0x29f46c(0x21a)][_0x29f46c(0x232)](_0x29f46c(0x22a),_0x121366,_0x29f46c(0x1f2),_0x1d7362);for(const _0x1a2e72 of[_0x29f46c(0x206),_0x29f46c(0x1e5)])_0x8c3e41[_0x29f46c(0x21a)][_0x29f46c(0x232)](_0x29f46c(0x22a),_0x1a2e72,_0x29f46c(0x1f2),_0x1d7362);_0x8c3e41[_0x29f46c(0x21a)][_0x29f46c(0x232)](_0x29f46c(0x22a),_0x29f46c(0x1e7),_0x29f46c(0x1f2),_0x26f02e=>{const _0x3185a0=_0x29f46c;_0xc18737[_0x3185a0(0x20d)][_0x3185a0(0x208)](_0x13042a=>{const _0x25f696=_0x3185a0,_0x3a2e21=Array[_0x25f696(0x23b)](_0x21d4ca[_0x25f696(0x1ec)]())[_0x25f696(0x202)](_0x11474a=>_0x284233[_0x25f696(0x224)](_0x11474a));_0x13042a[_0x25f696(0x1f8)](_0x26f02e),_0xc18737[_0x25f696(0x1ed)][_0x25f696(0x1fd)](_0x25f696(0x1e7))[_0x25f696(0x1ee)](),_0xc18737[_0x25f696(0x229)](_0x25f696(0x1e7),{'forceDefaultExecution':!0x0});const _0x317f95=_0x3a2e21[_0x25f696(0x215)](_0xea7e68=>_0x25f696(0x1f7)!=_0xea7e68[_0x25f696(0x22e)][_0x25f696(0x236)]);_0x317f95[_0x25f696(0x238)]>0x0&&_0x13042a[_0x25f696(0x1f8)](_0x317f95);for(const _0x353624 of _0x3a2e21)_0x353624[_0x25f696(0x209)]();});});for(const _0x55939b of[_0x29f46c(0x211),_0x29f46c(0x223),_0x29f46c(0x220),_0x29f46c(0x22f)]){const _0x2d85c5=_0xc18737[_0x29f46c(0x1ed)][_0x29f46c(0x1fd)](_0x55939b);_0x2d85c5['on'](_0x29f46c(0x205),(_0x5ed0da,_0x5090d6,_0x456306)=>{const _0x34354c=_0x29f46c;if(_0x456306){const _0x278175=_0xc18737[_0x34354c(0x20d)][_0x34354c(0x1e4)][_0x34354c(0x1f3)][_0x34354c(0x1eb)]()[_0x34354c(0x21d)]()[_0x34354c(0x241)](_0x232f8a=>_0x232f8a['is'](_0x34354c(0x234),_0x34354c(0x21c)));this[_0x34354c(0x20e)](_0x2d85c5[_0x34354c(0x219)],_0x278175)||(_0x5ed0da[_0x34354c(0x214)]=!0x1,_0x5ed0da[_0x34354c(0x231)]());}},{'priority':_0x29f46c(0x201)});}}[_0x3f8f67(0x1e6)](){const _0x5abc40=_0x3f8f67,_0xaecf36=this[_0x5abc40(0x243)][_0x5abc40(0x1ed)][_0x5abc40(0x1fd)](_0x5abc40(0x1e7)),_0xc3f4ea=this[_0x5abc40(0x243)][_0x5abc40(0x240)][_0x5abc40(0x1fd)](_0x5abc40(0x1fa));if(!_0xaecf36[_0x5abc40(0x23d)])return!0x1;const _0x404d8d=_0xc3f4ea[_0x5abc40(0x228)](this[_0x5abc40(0x243)][_0x5abc40(0x20d)][_0x5abc40(0x1e4)][_0x5abc40(0x1f3)]);for(const _0xe23122 of _0x404d8d)for(const _0x2aa2d7 of _0x404d8d)if(_0xe23122!=_0x2aa2d7&&!this[_0x5abc40(0x20e)](_0xe23122,_0x2aa2d7))return!0x1;return!0x0;}[_0x3f8f67(0x20e)](_0x209c60,_0x52600f){const _0x33e8a8=_0x3f8f67,_0x31dc38=this[_0x33e8a8(0x243)][_0x33e8a8(0x240)][_0x33e8a8(0x1fd)](_0x33e8a8(0x21b)),_0x185a38=this[_0x33e8a8(0x243)][_0x33e8a8(0x20d)][_0x33e8a8(0x233)](_0x209c60),_0x39cd22=this[_0x33e8a8(0x243)][_0x33e8a8(0x20d)][_0x33e8a8(0x233)](_0x52600f),_0x6581e0=new Set(),_0x514a36=new Set();for(const _0x41e346 of _0x31dc38[_0x33e8a8(0x20b)]())if((_0x33e8a8(0x227)==_0x41e346[_0x33e8a8(0x1ff)]||_0x33e8a8(0x221)==_0x41e346[_0x33e8a8(0x1ff)]||_0x33e8a8(0x1e7)==_0x41e346[_0x33e8a8(0x1f4)])&&_0x41e346[_0x33e8a8(0x218)]){for(const _0x1758ba of _0x41e346[_0x33e8a8(0x1ec)]())_0x1758ba[_0x33e8a8(0x21f)](_0x185a38,!0x0)&&_0x6581e0[_0x33e8a8(0x204)](_0x41e346[_0x33e8a8(0x1ff)]+':'+_0x41e346[_0x33e8a8(0x242)]['id']),_0x1758ba[_0x33e8a8(0x21f)](_0x39cd22,!0x0)&&_0x514a36[_0x33e8a8(0x204)](_0x41e346[_0x33e8a8(0x1ff)]+':'+_0x41e346[_0x33e8a8(0x242)]['id']);}if(_0x6581e0[_0x33e8a8(0x225)]!=_0x514a36[_0x33e8a8(0x225)])return!0x1;for(const _0x102f7f of _0x6581e0)if(!_0x514a36[_0x33e8a8(0x1ea)](_0x102f7f))return!0x1;return!0x0;}}function _0x555b(){const _0x12ca03=['accept','selection','subType','afterInit','561515vACSGj','$graveyard','setSelection','table','TableUtils','_acceptFormatSuggestionCallbackFactory','format','get','getCellLocation','type','793290cZmNqB','low','map','locale','add','set:isEnabled','splitTableCellVertically','push','change','detach','findAncestor','getSuggestions','_tablePostFixingSubtypes','model','_areMergableCells','forceDefaultExecution','21552768Tjwwth','mergeTableCellUp','*Merge\x20cells*','horizontally','return','filter','trackChanges','_isForcedDefaultExecutionBlock','isInContent','value','_suggestionFactory','TrackChangesEditing','tableCell','getAncestors','highest','containsRange','mergeTableCellLeft','deletion','TableEditing','mergeTableCellDown','fromRange','size','3865869VGLDFg','insertion','getSelectionAffectedTableCells','execute','formatBlock','formatInline','811378ZSJboe','commandName','root','mergeTableCellRight','descriptionFactory','stop','registerCustomCallback','createRangeOn','element','direction','rootName','*Split\x20cell:*\x20vertically','length','createTableWalker','registerDescriptionCallback','from','markBlockFormat','isEnabled','cell','requires','plugins','find','author','editor','*Split\x20cell:*\x20horizontally','document','splitTableCellHorizontally','_areSelectedCellsMergable','mergeTableCells','62792xlwPDh','markMultiRangeBlockFormat','has','getFirstPosition','getRanges','commands','refresh','enableCommand','141aCHNpR','4731108CdGlqT'];_0x555b=function(){return _0x12ca03;};return _0x555b();}
|
|
23
|
+
const _0x4d0eef=_0x5970;(function(_0x22fb84,_0x3df25b){const _0x3d2bcc=_0x5970,_0x479420=_0x22fb84();while(!![]){try{const _0x10511d=-parseInt(_0x3d2bcc(0x1e7))/0x1+parseInt(_0x3d2bcc(0x1ff))/0x2+parseInt(_0x3d2bcc(0x1be))/0x3*(parseInt(_0x3d2bcc(0x1d3))/0x4)+-parseInt(_0x3d2bcc(0x1db))/0x5+-parseInt(_0x3d2bcc(0x1bc))/0x6*(-parseInt(_0x3d2bcc(0x1fa))/0x7)+-parseInt(_0x3d2bcc(0x204))/0x8+parseInt(_0x3d2bcc(0x1cc))/0x9*(parseInt(_0x3d2bcc(0x1ba))/0xa);if(_0x10511d===_0x3df25b)break;else _0x479420['push'](_0x479420['shift']());}catch(_0x44844a){_0x479420['push'](_0x479420['shift']());}}}(_0x4e8d,0x83b94));import{Plugin as _0x3c8a05}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x4a6d07}from'./table.js';function _0x4e8d(){const _0x338a19=['enableCommand','_suggestionFactory','plugins','deletion','table','selection','mergeTableCells','createRangeOn','setSelection','findAncestor','*Split\x20cell:*\x20vertically','fromRange','splitTableCellHorizontally','getAncestors','find','value','length','10HIKFBH','detach','4038dZExAU','isInContent','3477PzDHAM','add','markBlockFormat','direction','descriptionFactory','_areSelectedCellsMergable','createTableWalker','push','containsRange','size','refresh','getFirstPosition','low','horizontally','679815bfKbAQ','splitTableCellVertically','locale','requires','_areMergableCells','registerCustomCallback','getSelectionAffectedTableCells','2504EXDPaX','from','*Merge\x20cells*','return','trackChanges','_isForcedDefaultExecutionBlock','change','type','4292825VJbKkw','forceDefaultExecution','cell','subType','getSuggestions','highest','formatBlock','mergeTableCellLeft','filter','tableCell','markMultiRangeBlockFormat','afterInit','203263MuaZhL','*Split\x20cell:*\x20horizontally','TableEditing','has','getRanges','get','mergeTableCellDown','accept','$graveyard','document','formatInline','mergeTableCellUp','rootName','author','commands','stop','insertion','editor','execute','6167ykFkre','isEnabled','TableUtils','map','model','1958746XBRMZe','_acceptFormatSuggestionCallbackFactory','root','TrackChangesEditing','registerDescriptionCallback','6175896iztLTU','format','commandName','getCellLocation','element','set:isEnabled','_tablePostFixingSubtypes','mergeTableCellRight'];_0x4e8d=function(){return _0x338a19;};return _0x4e8d();}import{ModelLiveRange as _0x5c527b}from'ckeditor5/src/engine.js';function _0x5970(_0x2a5640,_0x17669a){const _0x4e8d06=_0x4e8d();return _0x5970=function(_0x597008,_0x5d8963){_0x597008=_0x597008-0x1a7;let _0x3e5ace=_0x4e8d06[_0x597008];return _0x3e5ace;},_0x5970(_0x2a5640,_0x17669a);}import{getTranslation as _0x220865}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x3c8a05{static get[_0x4d0eef(0x1cf)](){return[_0x4a6d07];}[_0x4d0eef(0x1e6)](){const _0x271b1a=_0x4d0eef,_0x43b2e4=this[_0x271b1a(0x1f8)],_0x4de54e=_0x43b2e4[_0x271b1a(0x1fe)][_0x271b1a(0x1f0)][_0x271b1a(0x1ae)],_0x4bba48=_0x43b2e4[_0x271b1a(0x1ce)];if(!_0x43b2e4[_0x271b1a(0x1ab)][_0x271b1a(0x1ea)](_0x271b1a(0x1e9)))return;const _0x34e2ce=_0x43b2e4[_0x271b1a(0x1ab)][_0x271b1a(0x1ec)](_0x271b1a(0x202)),_0xe32134=_0x43b2e4[_0x271b1a(0x1ab)][_0x271b1a(0x1ec)](_0x271b1a(0x1fc)),_0xcdbf63=_0x43b2e4[_0x271b1a(0x1ab)][_0x271b1a(0x1ec)](_0x4a6d07);_0xcdbf63[_0x271b1a(0x1a7)][_0x271b1a(0x1c5)](_0x271b1a(0x1af)),_0x34e2ce[_0x271b1a(0x1a9)](_0x271b1a(0x1af),()=>{const _0x2fb7d1=_0x271b1a,_0x34d89c=_0xe32134[_0x2fb7d1(0x1d2)](_0x43b2e4[_0x2fb7d1(0x1fe)][_0x2fb7d1(0x1f0)][_0x2fb7d1(0x1ae)]);_0x43b2e4[_0x2fb7d1(0x1fe)][_0x2fb7d1(0x1d9)](()=>{const _0x44ae13=_0x2fb7d1;_0x34e2ce[_0x44ae13(0x1e5)](_0x34d89c,{'commandName':_0x44ae13(0x1af),'commandParams':[]},[],_0x44ae13(0x1af));});}),_0x43b2e4[_0x271b1a(0x1f5)][_0x271b1a(0x1ec)](_0x271b1a(0x1af))['on'](_0x271b1a(0x1f9),(_0x3ad67b,_0x543521)=>{const _0x500b8f=_0x271b1a;_0x43b2e4[_0x500b8f(0x1f5)][_0x500b8f(0x1ec)](_0x500b8f(0x1d7))[_0x500b8f(0x1b8)]&&(_0x543521[_0x500b8f(0x1b9)]>0x0&&_0x543521[_0x543521[_0x500b8f(0x1b9)]-0x1]&&_0x543521[_0x543521[_0x500b8f(0x1b9)]-0x1][_0x500b8f(0x1dc)]||_0x34e2ce[_0x500b8f(0x1d8)]||this[_0x500b8f(0x1c3)]()||_0x3ad67b[_0x500b8f(0x1f6)]());},{'priority':_0x271b1a(0x1e0)});for(const _0x1012a6 of[_0x271b1a(0x1f2),_0x271b1a(0x1a8),_0x271b1a(0x1ed),_0x271b1a(0x1e2)]){const _0x552ef0=_0x43b2e4[_0x271b1a(0x1f5)][_0x271b1a(0x1ec)](_0x1012a6);_0x34e2ce[_0x271b1a(0x1a9)](_0x1012a6,()=>{const _0x2923a2=_0x271b1a,_0x5e8de8=_0x43b2e4[_0x2923a2(0x1fe)][_0x2923a2(0x1f0)][_0x2923a2(0x1ae)][_0x2923a2(0x1c9)]()[_0x2923a2(0x1b6)]()[_0x2923a2(0x1b7)](_0x3e53c9=>_0x3e53c9['is'](_0x2923a2(0x208),_0x2923a2(0x1e4))),_0x171128=_0x552ef0[_0x2923a2(0x1b8)];_0x43b2e4[_0x2923a2(0x1fe)][_0x2923a2(0x1d9)](()=>{const _0x1abbe6=_0x2923a2;_0x34e2ce[_0x1abbe6(0x1e5)]([_0x5e8de8,_0x171128],{'commandName':_0x1abbe6(0x1af),'commandParams':[]},[],_0x1abbe6(0x1af));});});}for(const _0x288740 of[_0x271b1a(0x1cd),_0x271b1a(0x1b5)]){const _0x267192=_0x43b2e4[_0x271b1a(0x1f5)][_0x271b1a(0x1ec)](_0x288740);_0x34e2ce[_0x271b1a(0x1a9)](_0x288740,()=>{const _0xdf2544=_0x271b1a,_0x9e7830=_0xe32134[_0xdf2544(0x1d2)](_0x43b2e4[_0xdf2544(0x1fe)][_0xdf2544(0x1f0)][_0xdf2544(0x1ae)])[0x0],_0x2ca803=_0x9e7830[_0xdf2544(0x1b2)](_0xdf2544(0x1ad)),{column:_0xb7e29e,row:_0xd162f6}=_0xe32134[_0xdf2544(0x207)](_0x9e7830);let _0x1dfdd=[];if(_0xdf2544(0x1cb)==_0x267192[_0xdf2544(0x1c1)]){const _0x4cfeb7=_0xe32134[_0xdf2544(0x1c4)](_0x2ca803,{'startRow':_0xd162f6,'endRow':_0xd162f6,'includeAllSlots':!0x0});_0x1dfdd=Array[_0xdf2544(0x1d4)](_0x4cfeb7)[_0xdf2544(0x1fd)](_0x26d19c=>_0x26d19c[_0xdf2544(0x1dd)]);}else{const _0x2fbf1f=_0xe32134[_0xdf2544(0x1c4)](_0x2ca803,{'column':_0xb7e29e,'includeAllSlots':!0x0});_0x1dfdd=Array[_0xdf2544(0x1d4)](_0x2fbf1f)[_0xdf2544(0x1fd)](_0x2d7e9e=>_0x2d7e9e[_0xdf2544(0x1dd)]);}_0x43b2e4[_0xdf2544(0x1fe)][_0xdf2544(0x1d9)](_0x3c08ae=>{const _0x25f926=_0xdf2544;_0x34e2ce[_0x25f926(0x1c0)](_0x3c08ae[_0x25f926(0x1b0)](_0x9e7830),{'commandName':_0x288740,'commandParams':[]},_0x1dfdd,_0x288740);});});}_0x34e2ce[_0x271b1a(0x1c2)][_0x271b1a(0x203)](_0x501ef3=>{const _0x11170b=_0x271b1a;if(_0x11170b(0x1e1)!=_0x501ef3[_0x11170b(0x1da)]&&_0x11170b(0x1f1)!=_0x501ef3[_0x11170b(0x1da)])return;const {data:_0x253af9}=_0x501ef3;return _0x253af9&&_0x11170b(0x1af)==_0x253af9[_0x11170b(0x206)]?{'type':_0x11170b(0x205),'content':_0x220865(_0x4bba48,_0x11170b(0x1d5))}:void 0x0;}),_0x34e2ce[_0x271b1a(0x1c2)][_0x271b1a(0x203)](_0x113254=>{const _0x3849c5=_0x271b1a;if(_0x3849c5(0x1e1)!=_0x113254[_0x3849c5(0x1da)]&&_0x3849c5(0x1f1)!=_0x113254[_0x3849c5(0x1da)])return;const {data:_0x135efc}=_0x113254;return _0x135efc?_0x3849c5(0x1cd)==_0x135efc[_0x3849c5(0x206)]?{'type':_0x3849c5(0x205),'content':_0x220865(_0x4bba48,_0x3849c5(0x1b3))}:_0x3849c5(0x1b5)==_0x135efc[_0x3849c5(0x206)]?{'type':_0x3849c5(0x205),'content':_0x220865(_0x4bba48,_0x3849c5(0x1e8))}:void 0x0:void 0x0;});const _0x2680ed=_0xcdbf63[_0x271b1a(0x200)]();for(const _0x5f4d82 of[_0x271b1a(0x1f2),_0x271b1a(0x1a8),_0x271b1a(0x1ed),_0x271b1a(0x1e2)])_0x34e2ce[_0x271b1a(0x1aa)][_0x271b1a(0x1d1)](_0x271b1a(0x1e1),_0x5f4d82,_0x271b1a(0x1ee),_0x2680ed);for(const _0x190899 of[_0x271b1a(0x1cd),_0x271b1a(0x1b5)])_0x34e2ce[_0x271b1a(0x1aa)][_0x271b1a(0x1d1)](_0x271b1a(0x1e1),_0x190899,_0x271b1a(0x1ee),_0x2680ed);_0x34e2ce[_0x271b1a(0x1aa)][_0x271b1a(0x1d1)](_0x271b1a(0x1e1),_0x271b1a(0x1af),_0x271b1a(0x1ee),_0xffd00a=>{const _0x4bd9d2=_0x271b1a;_0x43b2e4[_0x4bd9d2(0x1fe)][_0x4bd9d2(0x1d9)](_0x11e2f6=>{const _0x18587f=_0x4bd9d2,_0x5cd1da=Array[_0x18587f(0x1d4)](_0x4de54e[_0x18587f(0x1eb)]())[_0x18587f(0x1fd)](_0x51cfde=>_0x5c527b[_0x18587f(0x1b4)](_0x51cfde));_0x11e2f6[_0x18587f(0x1b1)](_0xffd00a),_0x43b2e4[_0x18587f(0x1f5)][_0x18587f(0x1ec)](_0x18587f(0x1af))[_0x18587f(0x1c8)](),_0x43b2e4[_0x18587f(0x1f9)](_0x18587f(0x1af),{'forceDefaultExecution':!0x0});const _0x4e5cfc=_0x5cd1da[_0x18587f(0x1e3)](_0x51a3cf=>_0x18587f(0x1ef)!=_0x51a3cf[_0x18587f(0x201)][_0x18587f(0x1f3)]);_0x4e5cfc[_0x18587f(0x1b9)]>0x0&&_0x11e2f6[_0x18587f(0x1b1)](_0x4e5cfc);for(const _0x21f586 of _0x5cd1da)_0x21f586[_0x18587f(0x1bb)]();});});for(const _0x35798e of[_0x271b1a(0x1f2),_0x271b1a(0x1ed),_0x271b1a(0x1e2),_0x271b1a(0x1a8)]){const _0x387ed7=_0x43b2e4[_0x271b1a(0x1f5)][_0x271b1a(0x1ec)](_0x35798e);_0x387ed7['on'](_0x271b1a(0x209),(_0x27dc0b,_0x2a293c,_0x4d4879)=>{const _0x3c794f=_0x271b1a;if(_0x4d4879){const _0x26c33a=_0x43b2e4[_0x3c794f(0x1fe)][_0x3c794f(0x1f0)][_0x3c794f(0x1ae)][_0x3c794f(0x1c9)]()[_0x3c794f(0x1b6)]()[_0x3c794f(0x1b7)](_0x2fb19b=>_0x2fb19b['is'](_0x3c794f(0x208),_0x3c794f(0x1e4)));this[_0x3c794f(0x1d0)](_0x387ed7[_0x3c794f(0x1b8)],_0x26c33a)||(_0x27dc0b[_0x3c794f(0x1d6)]=!0x1,_0x27dc0b[_0x3c794f(0x1f6)]());}},{'priority':_0x271b1a(0x1ca)});}}[_0x4d0eef(0x1c3)](){const _0x4956df=_0x4d0eef,_0x3200ff=this[_0x4956df(0x1f8)][_0x4956df(0x1f5)][_0x4956df(0x1ec)](_0x4956df(0x1af)),_0x490969=this[_0x4956df(0x1f8)][_0x4956df(0x1ab)][_0x4956df(0x1ec)](_0x4956df(0x1fc));if(!_0x3200ff[_0x4956df(0x1fb)])return!0x1;const _0x13eec0=_0x490969[_0x4956df(0x1d2)](this[_0x4956df(0x1f8)][_0x4956df(0x1fe)][_0x4956df(0x1f0)][_0x4956df(0x1ae)]);for(const _0x26e57f of _0x13eec0)for(const _0x247c90 of _0x13eec0)if(_0x26e57f!=_0x247c90&&!this[_0x4956df(0x1d0)](_0x26e57f,_0x247c90))return!0x1;return!0x0;}[_0x4d0eef(0x1d0)](_0x4549ed,_0x190a24){const _0x1c994b=_0x4d0eef,_0x28bbeb=this[_0x1c994b(0x1f8)][_0x1c994b(0x1ab)][_0x1c994b(0x1ec)](_0x1c994b(0x202)),_0x185120=this[_0x1c994b(0x1f8)][_0x1c994b(0x1fe)][_0x1c994b(0x1b0)](_0x4549ed),_0x4eea37=this[_0x1c994b(0x1f8)][_0x1c994b(0x1fe)][_0x1c994b(0x1b0)](_0x190a24),_0x535ef8=new Set(),_0xcc3e10=new Set();for(const _0x3f55f4 of _0x28bbeb[_0x1c994b(0x1df)]())if((_0x1c994b(0x1f7)==_0x3f55f4[_0x1c994b(0x1da)]||_0x1c994b(0x1ac)==_0x3f55f4[_0x1c994b(0x1da)]||_0x1c994b(0x1af)==_0x3f55f4[_0x1c994b(0x1de)])&&_0x3f55f4[_0x1c994b(0x1bd)]){for(const _0x13b623 of _0x3f55f4[_0x1c994b(0x1eb)]())_0x13b623[_0x1c994b(0x1c6)](_0x185120,!0x0)&&_0x535ef8[_0x1c994b(0x1bf)](_0x3f55f4[_0x1c994b(0x1da)]+':'+_0x3f55f4[_0x1c994b(0x1f4)]['id']),_0x13b623[_0x1c994b(0x1c6)](_0x4eea37,!0x0)&&_0xcc3e10[_0x1c994b(0x1bf)](_0x3f55f4[_0x1c994b(0x1da)]+':'+_0x3f55f4[_0x1c994b(0x1f4)]['id']);}if(_0x535ef8[_0x1c994b(0x1c7)]!=_0xcc3e10[_0x1c994b(0x1c7)])return!0x1;for(const _0x4a8054 of _0x535ef8)if(!_0xcc3e10[_0x1c994b(0x1ea)](_0x4a8054))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2104b3=_0x43a3;function _0x43a3(_0x590736,_0x410799){const _0x4b9ca1=_0x4b9c();return _0x43a3=function(_0x43a39c,_0x48dd1b){_0x43a39c=_0x43a39c-0x193;let _0x2e3daf=_0x4b9ca1[_0x43a39c];return _0x2e3daf;},_0x43a3(_0x590736,_0x410799);}function _0x4b9c(){const _0x483b5a=['insertTableOfContents','tableOfContents','editor','18KqisoK','5qNXwtD','commands','plugins','40050TNcoiJ','locale','TrackChangesEditing','817792EDdpNd','enableCommand','get','descriptionFactory','1183128DJoZzd','11588796qpQoPB','registerElementLabel','afterInit','7WqSnni','11APeTve','324EPbzvA','ELEMENT_TABLE_OF_CONTENTS','118314ZHnamC','3658680HqGqbL','11668EXwTdg'];_0x4b9c=function(){return _0x483b5a;};return _0x4b9c();}(function(_0x5483f9,_0x2cd8eb){const _0x44912f=_0x43a3,_0x20d7b0=_0x5483f9();while(!![]){try{const _0x292af5=-parseInt(_0x44912f(0x19f))/0x1+parseInt(_0x44912f(0x193))/0x2+-parseInt(_0x44912f(0x1a5))/0x3*(parseInt(_0x44912f(0x1a1))/0x4)+parseInt(_0x44912f(0x1a6))/0x5*(-parseInt(_0x44912f(0x197))/0x6)+-parseInt(_0x44912f(0x19b))/0x7*(parseInt(_0x44912f(0x1a0))/0x8)+parseInt(_0x44912f(0x19d))/0x9*(-parseInt(_0x44912f(0x1a9))/0xa)+parseInt(_0x44912f(0x19c))/0xb*(parseInt(_0x44912f(0x198))/0xc);if(_0x292af5===_0x2cd8eb)break;else _0x20d7b0['push'](_0x20d7b0['shift']());}catch(_0x57517a){_0x20d7b0['push'](_0x20d7b0['shift']());}}}(_0x4b9c,0x6b72e));import{Plugin as _0x2c1318}from'ckeditor5/src/core.js';import{getTranslation as _0x3aa40b}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x2c1318{[_0x2104b3(0x19a)](){const _0x691acf=_0x2104b3,_0x6d1fdb=this[_0x691acf(0x1a4)];if(!_0x6d1fdb[_0x691acf(0x1a7)][_0x691acf(0x195)](_0x691acf(0x1a2)))return;_0x6d1fdb[_0x691acf(0x1a8)][_0x691acf(0x195)](_0x691acf(0x1ab))[_0x691acf(0x194)](_0x691acf(0x1a2));const _0xb2afc6=_0x6d1fdb[_0x691acf(0x1a8)][_0x691acf(0x195)](_0x691acf(0x1ab)),_0x2cf3ea=_0x6d1fdb[_0x691acf(0x1aa)];_0xb2afc6[_0x691acf(0x196)][_0x691acf(0x199)](_0x691acf(0x1a3),_0x18f4e5=>_0x3aa40b(_0x2cf3ea,_0x691acf(0x19e),_0x18f4e5));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x31ef(_0x2a72ac,_0x10466f){const _0x1b3011=_0x1b30();return _0x31ef=function(_0x31ef26,_0x1d3367){_0x31ef26=_0x31ef26-0x19c;let _0x526c14=_0x1b3011[_0x31ef26];return _0x526c14;},_0x31ef(_0x2a72ac,_0x10466f);}const _0x50e579=_0x31ef;function _0x1b30(){const _0x5d8aaf=['isOfficialPlugin','65529BkfzcM','nodeAfter','TrackChangesEditing','enableCommand','tableHeight','tableBackgroundColor','_suggestionFactory','330GwCwQY','getContainedElement','tableCellProperties','data','getSuggestionCallback','get','getFirstPosition','tableCellVerticalAlignment','4wscLkQ','tableCellBorderWidth','selection','tableBorderStyle','pluginName','tableBorderWidth','tableCellBackgroundColor','getSuggestions','formatBlock','replace','1043TVviRL','6918jiRfGB','960WtETJW','53328PHyApn','tableAlignment','isPremiumPlugin','486765pIrJiP','setAttribute','subType','descriptionFactory','discard','registerDescriptionCallback','getSelectionAffectedTableCells','findAncestor','join','676ENpuRU','batch','888cnOAsI','_$1','TableCellPropertiesEditing','tableBorderColor','handleSuggestionDescription','handleDiscardAction','commandParams','*Format:*\x20change\x20table\x20cell\x20properties','TableUtils','registerBlockAttribute','model','editor','markBlockFormat','enqueueChange','locale','674XrWlEs','registerAttributeLabel','has','tableCellBorderStyle','TablePropertiesEditing','tableProperties','tableCellHeight','plugins','tableCellHorizontalAlignment','removeAttribute','table','format','tableCellPadding','accept','FORMAT_','_registerTablePropertiesAttributes','_handlePropertyChange','change','getAttribute','registerCustomCallback','document','start','afterInit','660781IGHnGy','_getSuggestion','tableCellBorderColor','TrackChangesTableProperties','tableCellWidth','toUpperCase','*Format:*\x20change\x20table\x20properties','tableWidth'];_0x1b30=function(){return _0x5d8aaf;};return _0x1b30();}(function(_0x2f3d6e,_0x4b6223){const _0x39a812=_0x31ef,_0x36e264=_0x2f3d6e();while(!![]){try{const _0x7c4a4e=parseInt(_0x39a812(0x1ab))/0x1*(parseInt(_0x39a812(0x1f3))/0x2)+-parseInt(_0x39a812(0x1ea))/0x3*(parseInt(_0x39a812(0x1da))/0x4)+-parseInt(_0x39a812(0x1e6))/0x5*(parseInt(_0x39a812(0x1e5))/0x6)+-parseInt(_0x39a812(0x1e4))/0x7*(parseInt(_0x39a812(0x19c))/0x8)+parseInt(_0x39a812(0x1cb))/0x9*(parseInt(_0x39a812(0x1d2))/0xa)+parseInt(_0x39a812(0x1c2))/0xb+-parseInt(_0x39a812(0x1e7))/0xc;if(_0x7c4a4e===_0x4b6223)break;else _0x36e264['push'](_0x36e264['shift']());}catch(_0x810663){_0x36e264['push'](_0x36e264['shift']());}}}(_0x1b30,0x1e296));import{Plugin as _0x1b6eb0}from'ckeditor5/src/core.js';import{getTranslation as _0x413569}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x1b6eb0{[_0x50e579(0x1b0)];[_0x50e579(0x1d4)];constructor(_0x2d2df0){const _0x3916be=_0x50e579;super(_0x2d2df0),this[_0x3916be(0x1b0)]=[_0x3916be(0x19f),_0x3916be(0x1dd),_0x3916be(0x1df),_0x3916be(0x1e8),_0x3916be(0x1c9),_0x3916be(0x1cf),_0x3916be(0x1d0)],this[_0x3916be(0x1d4)]=[_0x3916be(0x1c4),_0x3916be(0x1ae),_0x3916be(0x1db),_0x3916be(0x1b7),_0x3916be(0x1c6),_0x3916be(0x1b1),_0x3916be(0x1e0),_0x3916be(0x1b3),_0x3916be(0x1d9)];}static get[_0x50e579(0x1de)](){const _0x449616=_0x50e579;return _0x449616(0x1c5);}static get[_0x50e579(0x1ca)](){return!0x0;}static get[_0x50e579(0x1e9)](){return!0x0;}[_0x50e579(0x1c1)](){const _0x32a6b7=_0x50e579,_0x4dc204=this[_0x32a6b7(0x1a7)][_0x32a6b7(0x1b2)][_0x32a6b7(0x1d7)](_0x32a6b7(0x1cd));if(this[_0x32a6b7(0x1a7)][_0x32a6b7(0x1b2)][_0x32a6b7(0x1ad)](_0x32a6b7(0x1af))){for(const _0x45af8f of this[_0x32a6b7(0x1b0)])_0x4dc204[_0x32a6b7(0x1ce)](_0x45af8f,(_0x1e2fbb,_0x4027d7)=>{const _0x30bd1f=_0x32a6b7,_0xcedaab=this[_0x30bd1f(0x1a7)][_0x30bd1f(0x1a6)][_0x30bd1f(0x1bf)][_0x30bd1f(0x1dc)][_0x30bd1f(0x1d8)]()[_0x30bd1f(0x1f1)](_0x30bd1f(0x1b5));this[_0x30bd1f(0x1bb)](_0x45af8f,[_0xcedaab],this[_0x30bd1f(0x1b0)],_0x30bd1f(0x1b0),_0x1e2fbb,_0x4027d7);});_0x4dc204[_0x32a6b7(0x1d1)][_0x32a6b7(0x1be)](_0x32a6b7(0x1e2),_0x32a6b7(0x1b0),_0x32a6b7(0x1b8),_0x4dc204[_0x32a6b7(0x1d1)][_0x32a6b7(0x1d6)](_0x32a6b7(0x1e2),null,_0x32a6b7(0x1ee))),_0x4dc204[_0x32a6b7(0x1d1)][_0x32a6b7(0x1be)](_0x32a6b7(0x1e2),_0x32a6b7(0x1b0),_0x32a6b7(0x1ee),(_0x12338a,_0x54a415)=>this[_0x32a6b7(0x1a1)](this[_0x32a6b7(0x1b0)],_0x12338a,_0x54a415)),_0x4dc204[_0x32a6b7(0x1d1)][_0x32a6b7(0x1be)](_0x32a6b7(0x1e2),_0x32a6b7(0x1b0),_0x32a6b7(0x1f2),()=>!0x1);}if(this[_0x32a6b7(0x1a7)][_0x32a6b7(0x1b2)][_0x32a6b7(0x1ad)](_0x32a6b7(0x19e))){for(const _0x474993 of this[_0x32a6b7(0x1d4)])_0x4dc204[_0x32a6b7(0x1ce)](_0x474993,(_0x561608,_0x3af5e8)=>{const _0x47b4b2=_0x32a6b7,_0x5567e7=this[_0x47b4b2(0x1a7)][_0x47b4b2(0x1b2)][_0x47b4b2(0x1d7)](_0x47b4b2(0x1a4))[_0x47b4b2(0x1f0)](this[_0x47b4b2(0x1a7)][_0x47b4b2(0x1a6)][_0x47b4b2(0x1bf)][_0x47b4b2(0x1dc)]);this[_0x47b4b2(0x1bb)](_0x474993,_0x5567e7,this[_0x47b4b2(0x1d4)],_0x47b4b2(0x1d4),_0x561608,_0x3af5e8);});_0x4dc204[_0x32a6b7(0x1d1)][_0x32a6b7(0x1be)](_0x32a6b7(0x1e2),_0x32a6b7(0x1d4),_0x32a6b7(0x1b8),_0x4dc204[_0x32a6b7(0x1d1)][_0x32a6b7(0x1d6)](_0x32a6b7(0x1e2),null,_0x32a6b7(0x1ee))),_0x4dc204[_0x32a6b7(0x1d1)][_0x32a6b7(0x1be)](_0x32a6b7(0x1e2),_0x32a6b7(0x1d4),_0x32a6b7(0x1ee),(_0xc1d66a,_0x1b7677)=>this[_0x32a6b7(0x1a1)](this[_0x32a6b7(0x1d4)],_0xc1d66a,_0x1b7677)),_0x4dc204[_0x32a6b7(0x1d1)][_0x32a6b7(0x1be)](_0x32a6b7(0x1e2),_0x32a6b7(0x1d4),_0x32a6b7(0x1f2),()=>!0x1);}_0x4dc204[_0x32a6b7(0x1ed)][_0x32a6b7(0x1ef)](_0x3e307c=>this[_0x32a6b7(0x1a0)](_0x3e307c)),this[_0x32a6b7(0x1ba)]();}[_0x50e579(0x1bb)](_0x1ef157,_0x548bd8,_0x4fec31,_0x35ba47,_0xaadbd3,_0x2db008){const _0x2edfc8=_0x50e579,_0x1e54af=this[_0x2edfc8(0x1a7)][_0x2edfc8(0x1b2)][_0x2edfc8(0x1d7)](_0x2edfc8(0x1cd));this[_0x2edfc8(0x1a7)][_0x2edfc8(0x1a6)][_0x2edfc8(0x1a9)](_0x2db008[_0x2edfc8(0x1f4)],()=>{const _0x14fb04=_0x2edfc8;for(const _0x4b5115 of _0x548bd8){if(this[_0x14fb04(0x1c3)](_0x4b5115,_0x35ba47))_0xaadbd3(_0x2db008);else{const _0x43f20f={};for(const _0x270abc of _0x4fec31){const _0x5cd644=_0x4b5115[_0x14fb04(0x1bd)](_0x270abc);void 0x0!==_0x5cd644&&(_0x43f20f[_0x270abc]=_0x5cd644);}_0xaadbd3(_0x2db008),_0x1e54af[_0x14fb04(0x1a8)](_0x4b5115,{'commandParams':[_0x43f20f]},[],_0x35ba47);}}});}[_0x50e579(0x1a1)](_0xd87ac2,_0x565c2a,_0x5737cc){const _0x370cca=_0x50e579,_0x46a0b8=_0x565c2a[0x0][_0x370cca(0x1c0)][_0x370cca(0x1cc)],_0x4132f3=_0x5737cc[_0x370cca(0x1a2)][0x0];this[_0x370cca(0x1a7)][_0x370cca(0x1a6)][_0x370cca(0x1bc)](_0x352eb4=>{const _0x376c4a=_0x370cca;for(const _0x379f1a of _0xd87ac2)void 0x0!==_0x4132f3[_0x379f1a]?_0x352eb4[_0x376c4a(0x1eb)](_0x379f1a,_0x4132f3[_0x379f1a],_0x46a0b8):_0x352eb4[_0x376c4a(0x1b4)](_0x379f1a,_0x46a0b8);});}[_0x50e579(0x1a0)](_0x5ed056){const _0xfb25e1=_0x50e579;if(_0x5ed056[_0xfb25e1(0x1d5)])switch(_0x5ed056[_0xfb25e1(0x1ec)]){case _0xfb25e1(0x1b0):return{'type':_0xfb25e1(0x1b6),'content':_0x413569(this[_0xfb25e1(0x1a7)][_0xfb25e1(0x1aa)],_0xfb25e1(0x1c8))};case _0xfb25e1(0x1d4):return{'type':_0xfb25e1(0x1b6),'content':_0x413569(this[_0xfb25e1(0x1a7)][_0xfb25e1(0x1aa)],_0xfb25e1(0x1a3))};}}[_0x50e579(0x1c3)](_0x55f9f1,_0x2f2c53){const _0x522ebb=_0x50e579,_0x2ff6b8=this[_0x522ebb(0x1a7)][_0x522ebb(0x1b2)][_0x522ebb(0x1d7)](_0x522ebb(0x1cd));for(const _0xa8d581 of _0x2ff6b8[_0x522ebb(0x1e1)]({'skipNotAttached':!0x0})){const _0x4f173c=_0xa8d581[_0x522ebb(0x1d3)]();if(_0xa8d581[_0x522ebb(0x1ec)]===_0x2f2c53&&_0x4f173c===_0x55f9f1)return _0xa8d581;}return null;}[_0x50e579(0x1ba)](){const _0x2d1aec=_0x50e579,_0x5727a8=this[_0x2d1aec(0x1a7)][_0x2d1aec(0x1b2)][_0x2d1aec(0x1d7)](_0x2d1aec(0x1cd)),_0x138f2b=[...this[_0x2d1aec(0x1b0)],...this[_0x2d1aec(0x1d4)]];for(const _0x4834b4 of _0x138f2b){const _0x42d13f=_0x4834b4[_0x2d1aec(0x1e3)](/([A-Z])/g,_0x2d1aec(0x19d))[_0x2d1aec(0x1c7)]();_0x5727a8[_0x2d1aec(0x1a5)](_0x4834b4),_0x5727a8[_0x2d1aec(0x1ed)][_0x2d1aec(0x1ac)](_0x4834b4,_0x413569(this[_0x2d1aec(0x1a7)][_0x2d1aec(0x1aa)],_0x2d1aec(0x1b9)+_0x42d13f));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x46f5(_0x3ee400,_0x53bdf4){const _0x1debd6=_0x1deb();return _0x46f5=function(_0x46f504,_0x3f2ccf){_0x46f504=_0x46f504-0x130;let _0x16ed73=_0x1debd6[_0x46f504];return _0x16ed73;},_0x46f5(_0x3ee400,_0x53bdf4);}const _0xb2cfa7=_0x46f5;(function(_0x363474,_0x3700d){const _0x5744bf=_0x46f5,_0x13a77a=_0x363474();while(!![]){try{const _0x318745=parseInt(_0x5744bf(0x138))/0x1*(parseInt(_0x5744bf(0x137))/0x2)+-parseInt(_0x5744bf(0x13a))/0x3+parseInt(_0x5744bf(0x132))/0x4+-parseInt(_0x5744bf(0x130))/0x5*(parseInt(_0x5744bf(0x13f))/0x6)+-parseInt(_0x5744bf(0x131))/0x7+parseInt(_0x5744bf(0x139))/0x8*(-parseInt(_0x5744bf(0x13e))/0x9)+parseInt(_0x5744bf(0x140))/0xa;if(_0x318745===_0x3700d)break;else _0x13a77a['push'](_0x13a77a['shift']());}catch(_0x599c3a){_0x13a77a['push'](_0x13a77a['shift']());}}}(_0x1deb,0xb9dc0));import{Plugin as _0x27c6a8}from'ckeditor5/src/core.js';export class TrackChangesTemplate extends _0x27c6a8{[_0xb2cfa7(0x135)](){const _0x1683df=_0xb2cfa7,_0x246cc6=this[_0x1683df(0x13d)];_0x246cc6[_0x1683df(0x141)][_0x1683df(0x136)](_0x1683df(0x13b))&&_0x246cc6[_0x1683df(0x141)][_0x1683df(0x13c)](_0x1683df(0x133))[_0x1683df(0x134)](_0x1683df(0x142));}}function _0x1deb(){const _0x247ab3=['get','editor','16893nPdScC','12ruxxbE','13250400RYFwFR','plugins','insertTemplate','1787955ZPuMlC','1081080zOvKAf','5739464PezPpx','TrackChangesEditing','enableCommand','afterInit','has','62106GlFMHn','1rSBLBG','920jLJIcs','2832606IPBDlb','Template'];_0x1deb=function(){return _0x247ab3;};return _0x1deb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x17da(_0x50bcbe,_0xa6b01d){const _0x3d5529=_0x3d55();return _0x17da=function(_0x17da70,_0x5d344e){_0x17da70=_0x17da70-0xe2;let _0x4d4962=_0x3d5529[_0x17da70];return _0x4d4962;},_0x17da(_0x50bcbe,_0xa6b01d);}const _0x5cceec=_0x17da;(function(_0x27ddfa,_0x4356f7){const _0x36bb82=_0x17da,_0x47424f=_0x27ddfa();while(!![]){try{const _0x5cb09e=parseInt(_0x36bb82(0x104))/0x1*(parseInt(_0x36bb82(0xfd))/0x2)+-parseInt(_0x36bb82(0xef))/0x3+-parseInt(_0x36bb82(0x109))/0x4*(-parseInt(_0x36bb82(0x10b))/0x5)+-parseInt(_0x36bb82(0x10e))/0x6*(-parseInt(_0x36bb82(0xe8))/0x7)+-parseInt(_0x36bb82(0xf7))/0x8*(parseInt(_0x36bb82(0xf0))/0x9)+parseInt(_0x36bb82(0x103))/0xa*(parseInt(_0x36bb82(0xfe))/0xb)+parseInt(_0x36bb82(0xe7))/0xc*(parseInt(_0x36bb82(0xeb))/0xd);if(_0x5cb09e===_0x4356f7)break;else _0x47424f['push'](_0x47424f['shift']());}catch(_0x21bba0){_0x47424f['push'](_0x47424f['shift']());}}}(_0x3d55,0x896fd));import{Plugin as _0x721f53}from'ckeditor5/src/core.js';function _0x3d55(){const _0x2255ab=['get','getChangedMarkers','model','3082880xDjHdc','ELEMENT_TITLE','5zNCarx','newRange','title-content','78BOgfNb','isTouching','start','plugins','has','from','schema','descriptionFactory','9167124ssUrXc','242340eWwWcZ','editor','TrackChangesEditing','13zoGuIj','isEqual','updateMarker','locale','3096681nRwKio','144GaMovh','nodeBefore','suggestion','createRange','differ','removeMarker','end','528216PKXhNz','registerPostFixer','forward','afterInit','document','Title','35304omTmUI','11xFCYdM','isCollapsed','registerElementLabel','_splitMarkerName','getNearestSelectionRange','1549850lbcvrB','29jrhhku','element'];_0x3d55=function(){return _0x2255ab;};return _0x3d55();}import{getTranslation as _0x4d7863}from'../utils/common-translations.js';export class TrackChangesTitle extends _0x721f53{[_0x5cceec(0xfa)](){const _0x12cc26=_0x5cceec,_0x5cd8b3=this[_0x12cc26(0xe9)];if(!_0x5cd8b3[_0x12cc26(0xe2)][_0x12cc26(0xe3)](_0x12cc26(0xfc)))return;const _0x4ea476=_0x5cd8b3[_0x12cc26(0xe2)][_0x12cc26(0x106)](_0x12cc26(0xea));_0x4ea476[_0x12cc26(0xe6)][_0x12cc26(0x100)](_0x12cc26(0x10d),()=>_0x4d7863(_0x5cd8b3[_0x12cc26(0xee)],_0x12cc26(0x10a))),_0x5cd8b3[_0x12cc26(0x108)][_0x12cc26(0xfb)][_0x12cc26(0xf8)](_0x2852ce=>{const _0x579341=_0x12cc26;let _0x4bb2a4=!0x1;const _0x1be970=Array[_0x579341(0xe4)](_0x5cd8b3[_0x579341(0x108)][_0x579341(0xfb)][_0x579341(0xf4)][_0x579341(0x107)]());for(const {name:_0x2469b3,data:_0x429e5d}of _0x1be970){const {group:_0x524312}=_0x4ea476[_0x579341(0x101)](_0x2469b3);if(_0x579341(0xf2)!==_0x524312||!_0x429e5d[_0x579341(0x10c)])continue;const _0x6ce33d=_0x429e5d[_0x579341(0x10c)],_0x1a9765=_0x6ce33d[_0x579341(0xf6)][_0x579341(0xf1)];if(!_0x1a9765||!_0x1a9765['is'](_0x579341(0x105),_0x579341(0x10d)))continue;if(!_0x6ce33d[_0x579341(0x110)][_0x579341(0x10f)](_0x6ce33d[_0x579341(0xf6)]))continue;const _0x34ab26=_0x5cd8b3[_0x579341(0x108)][_0x579341(0xe5)][_0x579341(0x102)](_0x6ce33d[_0x579341(0xf6)],_0x579341(0xf9));if(_0x34ab26&&_0x34ab26[_0x579341(0xff)]){const _0x294652=_0x2852ce[_0x579341(0xf3)](_0x6ce33d[_0x579341(0x110)],_0x34ab26[_0x579341(0x110)]);_0x294652[_0x579341(0xec)](_0x6ce33d)||(_0x2852ce[_0x579341(0xed)](_0x2469b3,{'range':_0x294652}),_0x4bb2a4=!0x0);}_0x4bb2a4||(_0x2852ce[_0x579341(0xf5)](_0x2469b3),_0x4bb2a4=!0x0);}return _0x4bb2a4;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x60a5(_0x1abc0d,_0x3c2b99){const _0x177f54=_0x177f();return _0x60a5=function(_0x60a532,_0x220b99){_0x60a532=_0x60a532-0x88;let _0x3b038b=_0x177f54[_0x60a532];return _0x3b038b;},_0x60a5(_0x1abc0d,_0x3c2b99);}function _0x177f(){const _0x3e535f=['543874IPTaLo','1201110IPyjzQ','plugins','has','161656alxrSF','1763445OweRsB','1206618EUOqIa','UndoEditing','7mdeywR','undo','afterInit','7711FhsfAG','enableCommand','redo','218646fdKBaV','editor','9HjnfqT','4CUnqqj','6060xbbWxu','TrackChangesEditing','get','3VHCXpP'];_0x177f=function(){return _0x3e535f;};return _0x177f();}const _0x19cb73=_0x60a5;(function(_0x667265,_0x3aeda3){const _0x117811=_0x60a5,_0x1e3958=_0x667265();while(!![]){try{const _0x26cb08=-parseInt(_0x117811(0x8b))/0x1+parseInt(_0x117811(0x99))/0x2*(parseInt(_0x117811(0x8a))/0x3)+-parseInt(_0x117811(0x9c))/0x4*(-parseInt(_0x117811(0x90))/0x5)+-parseInt(_0x117811(0x91))/0x6*(-parseInt(_0x117811(0x93))/0x7)+-parseInt(_0x117811(0x8f))/0x8+parseInt(_0x117811(0x9b))/0x9*(-parseInt(_0x117811(0x8c))/0xa)+-parseInt(_0x117811(0x96))/0xb*(-parseInt(_0x117811(0x9d))/0xc);if(_0x26cb08===_0x3aeda3)break;else _0x1e3958['push'](_0x1e3958['shift']());}catch(_0x26f569){_0x1e3958['push'](_0x1e3958['shift']());}}}(_0x177f,0x51480));import{Plugin as _0x1417c2}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x1417c2{[_0x19cb73(0x95)](){const _0x3b4f2a=_0x19cb73,_0x51f8ba=this[_0x3b4f2a(0x9a)],_0x5741e1=_0x51f8ba[_0x3b4f2a(0x8d)][_0x3b4f2a(0x89)](_0x3b4f2a(0x88));_0x51f8ba[_0x3b4f2a(0x8d)][_0x3b4f2a(0x8e)](_0x3b4f2a(0x92))&&(_0x5741e1[_0x3b4f2a(0x97)](_0x3b4f2a(0x94)),_0x5741e1[_0x3b4f2a(0x97)](_0x3b4f2a(0x98)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f489b=_0x370f;(function(_0x34ca46,_0x55c4bb){const _0x176364=_0x370f,_0x4b652d=_0x34ca46();while(!![]){try{const _0x27cdfa=parseInt(_0x176364(0x6a))/0x1*(parseInt(_0x176364(0x6b))/0x2)+parseInt(_0x176364(0x80))/0x3+-parseInt(_0x176364(0x78))/0x4+parseInt(_0x176364(0x81))/0x5+-parseInt(_0x176364(0x76))/0x6+parseInt(_0x176364(0x70))/0x7+parseInt(_0x176364(0x7e))/0x8;if(_0x27cdfa===_0x55c4bb)break;else _0x4b652d['push'](_0x4b652d['shift']());}catch(_0x3528ff){_0x4b652d['push'](_0x4b652d['shift']());}}}(_0x4059,0xde003));import{Plugin as _0x320d60}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x320d60{[_0x5f489b(0x67)](){const _0x1222f9=_0x5f489b,_0x36fec1=this[_0x1222f9(0x7b)],_0x257786=_0x36fec1[_0x1222f9(0x7c)][_0x1222f9(0x79)](_0x1222f9(0x7d));_0x36fec1[_0x1222f9(0x7c)][_0x1222f9(0x75)](_0x1222f9(0x71))&&(_0x257786[_0x1222f9(0x77)](_0x1222f9(0x83)),_0x36fec1[_0x1222f9(0x7c)][_0x1222f9(0x75)](_0x1222f9(0x6d))&&(_0x257786[_0x1222f9(0x77)](_0x1222f9(0x6e)),_0x257786[_0x1222f9(0x82)](_0x1222f9(0x6c)),_0x257786[_0x1222f9(0x73)](_0x1222f9(0x7a)),_0x257786[_0x1222f9(0x72)][_0x1222f9(0x74)](_0x15a8b1=>{const _0x273183=_0x1222f9;if(_0x273183(0x69)!=_0x15a8b1[_0x273183(0x68)])return;const {data:_0xb587a0}=_0x15a8b1;return _0xb587a0&&_0x273183(0x7a)==_0xb587a0[_0x273183(0x7f)]?{'type':_0x273183(0x6f),'content':''}:void 0x0;})));}}function _0x370f(_0x5aa294,_0xad3221){const _0x405960=_0x4059();return _0x370f=function(_0x370fbf,_0x564988){_0x370fbf=_0x370fbf-0x67;let _0x5f2591=_0x405960[_0x370fbf];return _0x5f2591;},_0x370f(_0x5aa294,_0xad3221);}function _0x4059(){const _0x333551=['afterInit','type','attribute','10VapqNx','287596jjrJyw','uploadcareImageReplace','UploadcareImageEdit','uploadcareImageEdit','format','664895nEFGFi','Uploadcare','descriptionFactory','registerBlockAttribute','registerDescriptionCallback','has','3569544gQrMAV','enableCommand','5816988AIbrKx','get','uploadcareImageId','editor','plugins','TrackChangesEditing','2384872HwDBCk','key','2596881RowqMW','1308925lSaebY','enableDefaultAttributesIntegration','uploadcare'];_0x4059=function(){return _0x333551;};return _0x4059();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x46c579,_0x42a5ee){const _0x1c891e=_0x261a,_0x4c8507=_0x46c579();while(!![]){try{const _0x3f93e5=parseInt(_0x1c891e(0xba))/0x1+parseInt(_0x1c891e(0xad))/0x2+parseInt(_0x1c891e(0xa4))/0x3*(parseInt(_0x1c891e(0xb6))/0x4)+parseInt(_0x1c891e(0xae))/0x5*(parseInt(_0x1c891e(0xcf))/0x6)+parseInt(_0x1c891e(0xc4))/0x7*(parseInt(_0x1c891e(0xbf))/0x8)+-parseInt(_0x1c891e(0xc5))/0x9+-parseInt(_0x1c891e(0xa0))/0xa;if(_0x3f93e5===_0x42a5ee)break;else _0x4c8507['push'](_0x4c8507['shift']());}catch(_0xa37ca9){_0x4c8507['push'](_0x4c8507['shift']());}}}(_0x3610,0x59587));function _0x261a(_0x3ab407,_0x5e9aa6){const _0x361005=_0x3610();return _0x261a=function(_0x261a6f,_0xbd8e5f){_0x261a6f=_0x261a6f-0x9f;let _0x35e41d=_0x361005[_0x261a6f];return _0x35e41d;},_0x261a(_0x3ab407,_0x5e9aa6);}export function getRangesWithAttribute(_0x592026,_0x14b156,_0x492706){const _0x3b80f8=_0x261a,_0x4fb30d=[];for(const _0x22a682 of _0x14b156[_0x3b80f8(0xa6)]())_0x22a682[_0x3b80f8(0xc7)](_0x592026)&&_0x4fb30d[_0x3b80f8(0xc3)](_0x492706[_0x3b80f8(0xc1)](_0x22a682));return _0x4fb30d;}export function downcastSplitMergeMarker(_0x371a29,_0x36b570,{showActiveMarker:_0x3864a5=!0x0}={}){const _0x31d62b=_0x261a,_0x42d0ae=_0x371a29[_0x31d62b(0xcc)][_0x31d62b(0xbc)](_0x31d62b(0x9f));return(_0x5d700f,_0x17d51a,_0x50a8c0)=>{const _0x153e83=_0x31d62b;if(!_0x50a8c0[_0x153e83(0xb2)][_0x153e83(0xbb)](_0x17d51a[_0x153e83(0xd1)],_0x5d700f[_0x153e83(0xb8)]))return;const _0x50f578=_0x17d51a[_0x153e83(0xd1)][_0x153e83(0xc6)](),_0xa36716=_0x17d51a[_0x153e83(0xd1)][_0x153e83(0xc8)],_0x44752b=_0x371a29[_0x153e83(0xa3)][_0x153e83(0xb0)];let _0x4793b2=null,_0x3fc7a6=null,_0x2de732=!0x1,_0x3ecc38=!0x1;for(const _0x4cfd46 of _0x50f578){const _0x29fa7e=_0x4cfd46[_0x153e83(0xbd)];_0x2de732=_0x2de732||_0x44752b[_0x153e83(0xa9)](_0x29fa7e);const _0x52b42e=_0x50a8c0[_0x153e83(0xab)][_0x153e83(0xd2)](_0x29fa7e);if(_0x52b42e&&_0x52b42e[_0x153e83(0xcd)](_0x153e83(0xb5)))return;_0x153e83(0xb4)==_0x4cfd46[_0x153e83(0xa5)]&&(_0x44752b[_0x153e83(0xd0)](_0x29fa7e)&&!_0x44752b[_0x153e83(0xca)](_0x29fa7e)&&(_0x29fa7e[_0x153e83(0xb3)]||_0xa36716[_0x153e83(0xa8)]?_0x4793b2&&_0x4793b2[_0x153e83(0xb9)]==_0x29fa7e||(_0x4793b2=_0x29fa7e,_0x6f8ac7(_0x4cfd46[_0x153e83(0xaf)]),_0x3ecc38=!0x0):_0x3fc7a6=_0x3fc7a6||_0x4cfd46[_0x153e83(0xaf)]));}function _0x6f8ac7(_0x386873){const _0x50840e=_0x153e83,{id:_0x16016c,authorId:_0x3b3c0b}=_0x42d0ae[_0x50840e(0xb7)](_0x17d51a[_0x50840e(0xa7)]),_0x25706d=_0x50a8c0[_0x50840e(0xa2)][_0x50840e(0xaa)](_0x50840e(0xa1),{'class':_0x50840e(0xce)+_0x36b570,'data-suggestion':_0x16016c,'data-author-id':_0x3b3c0b}),_0xd29304=_0x50a8c0[_0x50840e(0xab)][_0x50840e(0xb1)](_0x386873);_0x3864a5&&_0x42d0ae[_0x50840e(0xbe)][_0x50840e(0xcb)](_0x17d51a[_0x50840e(0xa7)])&&_0x50a8c0[_0x50840e(0xa2)][_0x50840e(0xc0)](_0x50840e(0xc2),_0x25706d),_0x50a8c0[_0x50840e(0xa2)][_0x50840e(0xac)](_0xd29304,_0x25706d),_0x50a8c0[_0x50840e(0xab)][_0x50840e(0xc9)](_0x25706d,_0x17d51a[_0x50840e(0xa7)]);}_0x2de732||_0x3ecc38||!_0x3fc7a6||_0x6f8ac7(_0x3fc7a6);};}function _0x3610(){const _0x160285=['TrackChangesEditing','13558190CHXftF','span','writer','model','1642965xeUmRY','type','getItems','markerName','isAtEnd','isContent','createUIElement','mapper','insert','1020462AUyqGl','625TJowrX','previousPosition','schema','toViewPosition','consumable','nextSibling','elementEnd','addHighlight','4Dhpiye','_splitMarkerName','name','parent','704780LdceqW','test','get','item','activeMarkers','1068008PMDgoF','addClass','createRangeOn','ck-suggestion-marker--active','push','14BvaXvC','5040135MygEAz','getWalker','hasAttribute','start','bindElementToMarker','isLimit','includes','plugins','getCustomProperty','ck-suggestion-marker-','12102sAgiiT','isBlock','markerRange','toViewElement'];_0x3610=function(){return _0x160285;};return _0x3610();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0xc1b4c3=_0x2d23;(function(_0x1d7471,_0x1b16fe){const _0x1a77fe=_0x2d23,_0x60724a=_0x1d7471();while(!![]){try{const _0x4587e1=-parseInt(_0x1a77fe(0x1fb))/0x1+-parseInt(_0x1a77fe(0x1d1))/0x2*(parseInt(_0x1a77fe(0x1dd))/0x3)+parseInt(_0x1a77fe(0x1de))/0x4*(-parseInt(_0x1a77fe(0x1d7))/0x5)+-parseInt(_0x1a77fe(0x1bd))/0x6+-parseInt(_0x1a77fe(0x20e))/0x7+parseInt(_0x1a77fe(0x1ee))/0x8+parseInt(_0x1a77fe(0x1fc))/0x9;if(_0x4587e1===_0x1b16fe)break;else _0x60724a['push'](_0x60724a['shift']());}catch(_0x47bb72){_0x60724a['push'](_0x60724a['shift']());}}}(_0x4e38,0xe0cbe));function _0x2d23(_0x54b0fe,_0x3d6c99){const _0x4e38fa=_0x4e38();return _0x2d23=function(_0x2d23e0,_0x2e2efd){_0x2d23e0=_0x2d23e0-0x1bd;let _0xa14d13=_0x4e38fa[_0x2d23e0];return _0xa14d13;},_0x2d23(_0x54b0fe,_0x3d6c99);}function _0x4e38(){const _0xd4d743=['toJSON','setAttribute','getContainedElement','getRanges','nodeBefore','createdAt','getMultiRangeId','onDiscard','onAttributesChange','filter','getAllAdjacentSuggestions','clear','get','getFirstMarker','previous','5650792BfbaBL','5110014nfxuYw','start','removeMarker','removeAttribute','getMarkers','addMarker','change','set','hasComments','map','substr','addRange','@external','_isDataLoaded','split','isInContent','reduce','_markerNames','subType','isIntersecting','1576916lhZWYG','removeMarkers','data','from','isIntersectingWithRange','commentThread','1363985hvaYlt','push','attributes','getFirstRange','authoredAt','delete','6uJtvuL','24qvCAyu','nodeAfter','length','_onAttributesChange','creator','addMarkerName','originalSuggestionId','markers','_onDiscard','_originalSuggestionId','getMarkerNames','_onAccept','isMultiRange','discard','end','getItems','4611744JvtEHv','head','isExternal','add','onAccept','suggestion:','decorate','next','type','_model','accept','getRange','author','1130884IXXkLe','57130245BaXwxn','size','_saved'];_0x4e38=function(){return _0xd4d743;};return _0x4e38();}import{ModelElement as _0xf3c0b6}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x182cd2,uid as _0x291ae1}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1c35ec,isEqual as _0x38ac2f,set as _0x2eccb2,unset as _0x94cf80}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x182cd2(){['id'];[_0xc1b4c3(0x1f6)];[_0xc1b4c3(0x1cf)];[_0xc1b4c3(0x1fa)];[_0xc1b4c3(0x1e2)];[_0xc1b4c3(0x1f0)];[_0xc1b4c3(0x1d3)];[_0xc1b4c3(0x204)];[_0xc1b4c3(0x1e7)];[_0xc1b4c3(0x1ca)]=!0x1;[_0xc1b4c3(0x1f7)];[_0xc1b4c3(0x1e9)];[_0xc1b4c3(0x1e6)];[_0xc1b4c3(0x1e1)];[_0xc1b4c3(0x1ce)];constructor(_0x1b1cd7,_0x5df917){const _0x303bc2=_0xc1b4c3;super(),this['id']=_0x5df917['id'],this[_0x303bc2(0x1f6)]=_0x5df917[_0x303bc2(0x1f6)],this[_0x303bc2(0x1cf)]=_0x5df917[_0x303bc2(0x1cf)]||null,this[_0x303bc2(0x1fa)]=_0x5df917[_0x303bc2(0x1fa)],this[_0x303bc2(0x1e2)]=_0x5df917[_0x303bc2(0x1e2)]||_0x5df917[_0x303bc2(0x1fa)],this[_0x303bc2(0x1f0)]=Boolean(_0x5df917[_0x303bc2(0x1d9)]&&_0x5df917[_0x303bc2(0x1d9)][_0x303bc2(0x1c9)]),this[_0x303bc2(0x1d3)]=null,this[_0x303bc2(0x1e7)]=_0x5df917[_0x303bc2(0x1e4)]||null,this[_0x303bc2(0x1f7)]=_0x1b1cd7,this[_0x303bc2(0x1e9)]=_0x5df917[_0x303bc2(0x1f2)],this[_0x303bc2(0x1e6)]=_0x5df917[_0x303bc2(0x206)],this[_0x303bc2(0x1e1)]=_0x5df917[_0x303bc2(0x207)],this[_0x303bc2(0x1ce)]=new Set(),this[_0x303bc2(0x204)]=null,this[_0x303bc2(0x1c4)](_0x303bc2(0x1db),null),this[_0x303bc2(0x1c4)](_0x303bc2(0x1d9),_0x5df917[_0x303bc2(0x1d9)]||{}),this[_0x303bc2(0x1c4)](_0x303bc2(0x20d),null),this[_0x303bc2(0x1c4)](_0x303bc2(0x1f5),null),this[_0x303bc2(0x1c4)](_0x303bc2(0x1d6),null),this[_0x303bc2(0x1c4)](_0x303bc2(0x1fe),!0x1),this[_0x303bc2(0x1f4)](_0x303bc2(0x1f8)),this[_0x303bc2(0x1f4)](_0x303bc2(0x1eb));}get[_0xc1b4c3(0x1ef)](){const _0x39ecab=_0xc1b4c3;let _0x1f238b=this;for(;_0x1f238b[_0x39ecab(0x20d)];)_0x1f238b=_0x1f238b[_0x39ecab(0x20d)];return _0x1f238b;}get[_0xc1b4c3(0x1c5)](){const _0x588ee4=_0xc1b4c3;return!!this[_0x588ee4(0x1d6)]&&this[_0x588ee4(0x1d6)][_0x588ee4(0x1e0)]>0x0;}get[_0xc1b4c3(0x1ea)](){const _0x3b6cb7=_0xc1b4c3;if(0x0==this[_0x3b6cb7(0x1ce)][_0x3b6cb7(0x1fd)])return!0x1;return 0x6==Array[_0x3b6cb7(0x1d4)](this[_0x3b6cb7(0x1ce)])[0x0][_0x3b6cb7(0x1cb)](':')[_0x3b6cb7(0x1e0)];}get[_0xc1b4c3(0x1cc)](){const _0x51ad8b=_0xc1b4c3;return null!==this[_0x51ad8b(0x20c)]();}[_0xc1b4c3(0x1e3)](_0x4d6f04){const _0x4a8e8c=_0xc1b4c3;this[_0x4a8e8c(0x1ce)][_0x4a8e8c(0x1f1)](_0x4d6f04);}[_0xc1b4c3(0x1e8)](){const _0x9d6293=_0xc1b4c3;return Array[_0x9d6293(0x1d4)](this[_0x9d6293(0x1ce)]);}[_0xc1b4c3(0x1c1)](){const _0x55ab12=_0xc1b4c3;return this[_0x55ab12(0x1e8)]()[_0x55ab12(0x1c6)](_0x467fcd=>this[_0x55ab12(0x1f7)][_0x55ab12(0x1e5)][_0x55ab12(0x20b)](_0x467fcd))[_0x55ab12(0x208)](_0x574bdf=>_0x574bdf);}[_0xc1b4c3(0x20c)](){const _0x2f364e=_0xc1b4c3;return this[_0x2f364e(0x1c1)]()[0x0]||null;}[_0xc1b4c3(0x1d2)](){const _0x15c1b4=_0xc1b4c3;this[_0x15c1b4(0x1f7)][_0x15c1b4(0x1c3)](_0x252349=>{const _0x38c5f5=_0x15c1b4;for(const _0x5805f4 of this[_0x38c5f5(0x1c1)]())_0x252349[_0x38c5f5(0x1bf)](_0x5805f4);}),this[_0x15c1b4(0x1ce)][_0x15c1b4(0x20a)]();}[_0xc1b4c3(0x1bf)](_0x48485d){const _0x4caacc=_0xc1b4c3;this[_0x4caacc(0x1f7)][_0x4caacc(0x1c3)](_0x4cd9ac=>{const _0x2f5e87=_0x4caacc;_0x4cd9ac[_0x2f5e87(0x1bf)](_0x48485d);}),this[_0x4caacc(0x1ce)][_0x4caacc(0x1dc)](_0x48485d);}[_0xc1b4c3(0x1c8)](_0x3e7e5c){const _0x30b94a=_0xc1b4c3,_0x19a7e2=_0x30b94a(0x1f3)+this[_0x30b94a(0x1f6)]+':'+this[_0x30b94a(0x1cf)]+':'+this['id']+':'+this[_0x30b94a(0x1e2)]['id']+':'+Suggestion[_0x30b94a(0x205)]();this[_0x30b94a(0x1e3)](_0x19a7e2),this[_0x30b94a(0x1f7)][_0x30b94a(0x1c3)](_0x13a8b1=>{const _0x497444=_0x30b94a;_0x13a8b1[_0x497444(0x1c2)](_0x19a7e2,{'range':_0x3e7e5c,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xc1b4c3(0x1d5)](_0xede156){const _0x540d7f=_0xc1b4c3;for(const _0x47ecc3 of this[_0x540d7f(0x202)]())if(_0x47ecc3[_0x540d7f(0x1d0)](_0xede156))return!0x0;return!0x1;}[_0xc1b4c3(0x202)](){const _0x3974e8=_0xc1b4c3;return this[_0x3974e8(0x1c1)]()[_0x3974e8(0x1c6)](_0x4c3734=>_0x4c3734[_0x3974e8(0x1f9)]());}[_0xc1b4c3(0x1ed)](){const _0x548d42=_0xc1b4c3;return this[_0x548d42(0x202)]()[_0x548d42(0x1cd)]((_0x20874a,_0x53e1dd)=>[..._0x20874a,..._0x53e1dd[_0x548d42(0x1ed)]()],[]);}[_0xc1b4c3(0x1da)](){const _0x3a4cb7=_0xc1b4c3;return this[_0x3a4cb7(0x20c)]()?.[_0x3a4cb7(0x1f9)]()||null;}[_0xc1b4c3(0x201)](){const _0x44b8ef=_0xc1b4c3,_0x2f18c0=this[_0x44b8ef(0x202)]();if(0x1!=_0x2f18c0[_0x44b8ef(0x1e0)])return null;const _0x101b89=_0x2f18c0[0x0],_0x12d6ed=_0x101b89[_0x44b8ef(0x1be)][_0x44b8ef(0x1df)],_0x147db1=_0x101b89[_0x44b8ef(0x1ec)][_0x44b8ef(0x203)];return _0x12d6ed instanceof _0xf3c0b6?_0x12d6ed!=_0x147db1?null:_0x12d6ed:null;}[_0xc1b4c3(0x1f8)](){const _0x5ca5ed=_0xc1b4c3;this[_0x5ca5ed(0x1e9)](this[_0x5ca5ed(0x202)](),this[_0x5ca5ed(0x1d3)],this[_0x5ca5ed(0x1d9)]),this[_0x5ca5ed(0x1d2)]();}[_0xc1b4c3(0x1eb)](){const _0x4d83fe=_0xc1b4c3;this[_0x4d83fe(0x1e6)](this[_0x4d83fe(0x202)](),this[_0x4d83fe(0x1d3)],this[_0x4d83fe(0x1d9)]),this[_0x4d83fe(0x1d2)]();}[_0xc1b4c3(0x209)](){const _0x3321f2=_0xc1b4c3,_0x335e66=[];let _0x1ca42c=this[_0x3321f2(0x1ef)];for(;_0x1ca42c;)_0x335e66[_0x3321f2(0x1d8)](_0x1ca42c),_0x1ca42c=_0x1ca42c[_0x3321f2(0x1f5)];return _0x335e66;}[_0xc1b4c3(0x200)](_0x31c7f5,_0x5dce06){const _0x2cb169=_0xc1b4c3,_0x2fa88f=_0x1c35ec(this[_0x2cb169(0x1d9)]);_0x2eccb2(_0x2fa88f,_0x31c7f5,_0x5dce06),_0x38ac2f(_0x2fa88f,this[_0x2cb169(0x1d9)])||(this[_0x2cb169(0x1d9)]=_0x2fa88f,this[_0x2cb169(0x1e1)](_0x2fa88f));}[_0xc1b4c3(0x1c0)](_0x168f66){const _0x26a07e=_0xc1b4c3,_0x13f517=_0x1c35ec(this[_0x26a07e(0x1d9)]);_0x94cf80(_0x13f517,_0x168f66),_0x38ac2f(_0x13f517,this[_0x26a07e(0x1d9)])||(this[_0x26a07e(0x1d9)]=_0x13f517,this[_0x26a07e(0x1e1)](this[_0x26a07e(0x1d9)]));}[_0xc1b4c3(0x1ff)](){const _0x5ab7e4=_0xc1b4c3;return{'id':this['id'],'type':this[_0x5ab7e4(0x1cf)]?this[_0x5ab7e4(0x1f6)]+':'+this[_0x5ab7e4(0x1cf)]:this[_0x5ab7e4(0x1f6)],'authorId':this[_0x5ab7e4(0x1e2)]['id'],'createdAt':this[_0x5ab7e4(0x204)],'hasComments':this[_0x5ab7e4(0x1c5)],'data':this[_0x5ab7e4(0x1d3)],'attributes':this[_0x5ab7e4(0x1d9)]};}static[_0xc1b4c3(0x205)](){const _0x121da5=_0xc1b4c3;return _0x291ae1()[_0x121da5(0x1c7)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2c21(){const _0x4e6d71=['*Change\x20to:*\x20%0','function','_handleAttributeSuggestionDescription','nodeAfter','removeEmptyContainer','normal','indexOf','*Remove:*\x20%0','deletion','_customCallbacks','*Remove\x20format:*\x20%0','REPLACE_TEXT','74265GbVgQJ','join','matchingCallback','attribute','33803HkDcEC','EmptyContainer','elementEnd','_itemLabels','addObject','data','removeContainer','*Insert:*\x20%0','element','newValue','Object','getDescriptions','text','replace','ELEMENT_SPACE','set','add','_schema','getWalker','nextSibling','_handleInsertRemoveSuggestionDescription','map','previousSibling','skip','getFirstRange','removeFormat','isObject','has','$text','checkChild','isInContent','format','1167588kHKSgm','_addDescriptionItems','$1\x20$2','label','push','147512KQuiKw','161aNqSKM','_attributeLabels','340qjtpGG','addFormat','type','key','insertion','_resolveDescriptionItems','match','softBreak','$textProxy','20976bIHRAU','1685PDNTCt','item','removeObject','start','*Set\x20format:*\x20%0','_itemLabelsCallbacks','isEmpty','addEmptyContainer','quantity','registerDescriptionCallback','isEqual','pop','_handleCustomCallbackDescription','65WdOUVf','*Split:*\x20%0','615CGEEpT','Container','get','end','registerAttributeLabel','registerElementLabel','getItemLabel','name','elementStart','addContainer','subType','42wsjQMf','7284GsrXRE','490eiumKG','_locale','*Merge:*\x20%0','remove','length','_handleRenameSuggestionDescription'];_0x2c21=function(){return _0x4e6d71;};return _0x2c21();}const _0x137a4c=_0x4e36;(function(_0xb907b9,_0x5fbbad){const _0x5de184=_0x4e36,_0x1c750f=_0xb907b9();while(!![]){try{const _0x289e83=parseInt(_0x5de184(0x11b))/0x1*(parseInt(_0x5de184(0x111))/0x2)+parseInt(_0x5de184(0x12a))/0x3*(-parseInt(_0x5de184(0x136))/0x4)+-parseInt(_0x5de184(0x149))/0x5*(parseInt(_0x5de184(0x135))/0x6)+parseInt(_0x5de184(0x10f))/0x7*(parseInt(_0x5de184(0x10e))/0x8)+-parseInt(_0x5de184(0x109))/0x9+-parseInt(_0x5de184(0x137))/0xa*(-parseInt(_0x5de184(0x14d))/0xb)+-parseInt(_0x5de184(0x11a))/0xc*(parseInt(_0x5de184(0x128))/0xd);if(_0x289e83===_0x5fbbad)break;else _0x1c750f['push'](_0x1c750f['shift']());}catch(_0x57e05a){_0x1c750f['push'](_0x1c750f['shift']());}}}(_0x2c21,0x3be80));import{getTranslation as _0x369830}from'./utils/common-translations.js';import{priorities as _0x2db97b,insertToPriorityArray as _0x281cd7}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x64190a}from'./trackchangesediting.js';function _0x4e36(_0x56c739,_0x316940){const _0x2c2103=_0x2c21();return _0x4e36=function(_0x4e3693,_0x2103e7){_0x4e3693=_0x4e3693-0x104;let _0x92acf7=_0x2c2103[_0x4e3693];return _0x92acf7;},_0x4e36(_0x56c739,_0x316940);}export class SuggestionDescriptionFactory{[_0x137a4c(0x146)];[_0x137a4c(0x150)];[_0x137a4c(0x120)];[_0x137a4c(0x110)];[_0x137a4c(0x15e)];[_0x137a4c(0x138)];constructor(_0x36b9dc,_0x303180){const _0x213488=_0x137a4c;this[_0x213488(0x146)]=[],this[_0x213488(0x150)]=new Map(),this[_0x213488(0x120)]=[],this[_0x213488(0x110)]=new Map(),this[_0x213488(0x15e)]=_0x36b9dc,this[_0x213488(0x138)]=_0x303180;}[_0x137a4c(0x158)](_0x522bad){const _0x4e0dc5=_0x137a4c,_0xe5f96a=[],_0x1cdcd4=new Set(),_0xf61a2a=new Set();for(let _0x1f9359=0x0;_0x1f9359<_0x522bad[_0x4e0dc5(0x13b)];_0x1f9359++){const _0x188b7a=_0x522bad[_0x1f9359];if(!_0x188b7a[_0x4e0dc5(0x107)])continue;const _0x4d569c=this[_0x4e0dc5(0x127)](_0x188b7a);if(_0x4d569c){if(null!=_0x188b7a[_0x4e0dc5(0x134)]){if(_0x1cdcd4[_0x4e0dc5(0x104)](_0x188b7a[_0x4e0dc5(0x134)]))continue;_0x1cdcd4[_0x4e0dc5(0x15d)](_0x188b7a[_0x4e0dc5(0x134)]);}_0xe5f96a[_0x4e0dc5(0x10d)](_0x4d569c);}else{if(_0x4e0dc5(0x14c)==_0x188b7a[_0x4e0dc5(0x113)]){const _0x257459=_0x188b7a[_0x4e0dc5(0x152)][_0x4e0dc5(0x114)];if(_0xf61a2a[_0x4e0dc5(0x104)](_0x257459))continue;_0xf61a2a[_0x4e0dc5(0x15d)](_0x188b7a[_0x4e0dc5(0x152)][_0x4e0dc5(0x114)]),_0x257459==_0x64190a?this[_0x4e0dc5(0x13c)](_0xe5f96a,_0x188b7a):this[_0x4e0dc5(0x13f)](_0xe5f96a,_0x188b7a);continue;}_0x4e0dc5(0x115)!=_0x188b7a[_0x4e0dc5(0x113)]&&_0x4e0dc5(0x145)!=_0x188b7a[_0x4e0dc5(0x113)]||this[_0x4e0dc5(0x161)](_0xe5f96a,_0x188b7a,_0x522bad[_0x1f9359+0x1]);}}return this[_0x4e0dc5(0x116)](_0xe5f96a);}[_0x137a4c(0x124)](_0x2a01b2){const _0x437f01=_0x137a4c;this[_0x437f01(0x146)][_0x437f01(0x10d)](_0x2a01b2);}[_0x137a4c(0x12f)](_0x46399e,_0x15aba5,_0x3fc227=_0x2db97b[_0x137a4c(0x142)]){const _0x4dbe28=_0x137a4c;_0x4dbe28(0x13e)==typeof _0x46399e?_0x281cd7(this[_0x4dbe28(0x120)],{'matchingCallback':_0x46399e,'label':_0x15aba5,'priority':_0x3fc227}):this[_0x4dbe28(0x150)][_0x4dbe28(0x15c)](_0x46399e,_0x15aba5);}[_0x137a4c(0x12e)](_0x406b71,_0x2a1974){const _0x36034c=_0x137a4c;this[_0x36034c(0x110)][_0x36034c(0x15c)](_0x406b71,_0x2a1974);}[_0x137a4c(0x130)](_0x4fe137,_0x1d3326=0x1){const _0x52050d=_0x137a4c;let _0x91c060;for(const _0x466324 of this[_0x52050d(0x120)])if(_0x466324[_0x52050d(0x14b)](_0x4fe137)){_0x91c060=_0x466324[_0x52050d(0x10c)];break;}return _0x91c060||(_0x91c060=this[_0x52050d(0x150)][_0x52050d(0x12c)](_0x4fe137[_0x52050d(0x131)])),_0x91c060?_0x91c060(_0x1d3326):0x1!==_0x1d3326?_0x1d3326+'\x20'+_0x4fe137[_0x52050d(0x131)]+'s':''+_0x4fe137[_0x52050d(0x131)];}[_0x137a4c(0x10a)](_0x1d1ee5,_0x40eaae){const _0x278ced=_0x137a4c,_0x1d4de1=_0x40eaae[_0x278ced(0x165)]()[_0x278ced(0x15f)](),_0x5b709a=_0x278ced(0x115)==_0x40eaae[_0x278ced(0x113)]?_0x278ced(0x15d):_0x278ced(0x13a);for(const _0x519fc5 of _0x1d4de1){const _0x4c3002=_0x519fc5[_0x278ced(0x11c)],_0x2edd4b=_0x1d1ee5[_0x1d1ee5[_0x278ced(0x13b)]-0x1];if(_0x4c3002['is'](_0x278ced(0x119)))_0x2edd4b&&_0x2edd4b[_0x278ced(0x113)][_0x278ced(0x143)](_0x278ced(0x12b))>-0x1&&_0x1d1ee5[_0x278ced(0x126)](),_0x2edd4b&&_0x278ced(0x159)==_0x2edd4b[_0x278ced(0x113)]?_0x2edd4b[_0x5b709a]+=_0x4c3002[_0x278ced(0x152)]:_0x1d1ee5[_0x278ced(0x10d)]({'type':_0x278ced(0x159),'add':_0x278ced(0x15d)==_0x5b709a?_0x4c3002[_0x278ced(0x152)]:'','remove':_0x278ced(0x13a)==_0x5b709a?_0x4c3002[_0x278ced(0x152)]:''});else{if(this[_0x278ced(0x15e)][_0x278ced(0x167)](_0x4c3002)){const _0xc33c7d=_0x4c3002;if(_0x2edd4b&&_0x2edd4b[_0x278ced(0x113)][_0x278ced(0x143)](_0x278ced(0x12b))>-0x1&&_0x1d1ee5[_0x278ced(0x126)](),_0x278ced(0x14f)==_0x519fc5[_0x278ced(0x113)])continue;_0x2edd4b&&_0x2edd4b[_0x278ced(0x113)]==_0x5b709a+_0x278ced(0x157)&&_0x2edd4b[_0x278ced(0x155)][_0x278ced(0x131)]==_0xc33c7d[_0x278ced(0x131)]?_0x2edd4b[_0x278ced(0x123)]++:_0x1d1ee5[_0x278ced(0x10d)]({'type':_0x5b709a+_0x278ced(0x157),'element':_0xc33c7d,'quantity':0x1}),_0x1d4de1[_0x278ced(0x164)](_0x46bb43=>!(_0x278ced(0x14f)==_0x46bb43[_0x278ced(0x113)]&&_0x46bb43[_0x278ced(0x11c)]==_0x4c3002));}else{if(this[_0x278ced(0x15e)][_0x278ced(0x106)](_0x4c3002,_0x278ced(0x105))||_0x4c3002['is'](_0x278ced(0x155),_0x278ced(0x118))){const _0x572ec7=_0x4c3002;if(_0x278ced(0x15d)==_0x5b709a&&_0x278ced(0x132)==_0x519fc5[_0x278ced(0x113)]||_0x278ced(0x13a)==_0x5b709a&&_0x278ced(0x14f)==_0x519fc5[_0x278ced(0x113)])continue;if(_0x2edd4b&&-0x1==_0x2edd4b[_0x278ced(0x113)][_0x278ced(0x143)](_0x278ced(0x12b))){_0x278ced(0x159)==_0x2edd4b[_0x278ced(0x113)]&&(_0x2edd4b[_0x5b709a]+='\x0a');continue;}let _0x4e5301;if(_0x4e5301=_0x278ced(0x15d)==_0x5b709a?_0x572ec7[_0x278ced(0x160)]&&!this[_0x278ced(0x15e)][_0x278ced(0x167)](_0x572ec7[_0x278ced(0x160)])?_0x572ec7[_0x278ced(0x160)]:null:_0x572ec7[_0x278ced(0x163)]&&!this[_0x278ced(0x15e)][_0x278ced(0x167)](_0x572ec7[_0x278ced(0x163)])?_0x572ec7[_0x278ced(0x163)]:null,_0x572ec7[_0x278ced(0x121)]||_0x4e5301&&_0x4e5301[_0x278ced(0x121)]){const _0x90ebb8=_0x4e5301&&_0x4e5301[_0x278ced(0x121)]?_0x4e5301:_0x572ec7;_0x2edd4b&&_0x2edd4b[_0x278ced(0x113)]==_0x5b709a+_0x278ced(0x14e)&&_0x2edd4b[_0x278ced(0x155)][_0x278ced(0x131)]==_0x90ebb8[_0x278ced(0x131)]?_0x2edd4b[_0x278ced(0x123)]++:_0x1d1ee5[_0x278ced(0x10d)]({'type':_0x5b709a+_0x278ced(0x14e),'element':_0x90ebb8,'quantity':0x1});}else _0x1d1ee5[_0x278ced(0x10d)]({'type':_0x5b709a+_0x278ced(0x12b),'element':_0x572ec7});}}}}}[_0x137a4c(0x116)](_0x105579){const _0x4102cc=_0x137a4c,_0x33b7f4=this[_0x4102cc(0x138)],_0xbb9775=[],_0x18fb87=[],_0x3ca8dd=[];for(const _0x458220 of _0x105579)switch(_0x458220[_0x4102cc(0x113)]){case _0x4102cc(0x159):if(_0x458220[_0x4102cc(0x15d)]=_0x458220[_0x4102cc(0x15d)][_0x4102cc(0x15a)](/(\S)\u000A+(\S)/g,_0x4102cc(0x10b))[_0x4102cc(0x15a)](/\u000A/g,''),_0x458220[_0x4102cc(0x13a)]=_0x458220[_0x4102cc(0x13a)][_0x4102cc(0x15a)](/(\S)\u000A+(\S)/g,_0x4102cc(0x10b))[_0x4102cc(0x15a)](/\u000A/g,''),''!=_0x458220[_0x4102cc(0x15d)]&&''!=_0x458220[_0x4102cc(0x13a)]){_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x15a),'content':_0x369830(_0x33b7f4,_0x4102cc(0x148),['\x22'+_0x458220[_0x4102cc(0x13a)]+'\x22','\x22'+_0x458220[_0x4102cc(0x15d)]+'\x22'])});continue;}if(null!=_0x458220[_0x4102cc(0x15d)][_0x4102cc(0x117)](/^ +$/)){_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x115),'content':_0x369830(_0x33b7f4,_0x4102cc(0x154),_0x369830(_0x33b7f4,_0x4102cc(0x15b),_0x458220[_0x4102cc(0x15d)][_0x4102cc(0x13b)]))});continue;}if(null!=_0x458220[_0x4102cc(0x13a)][_0x4102cc(0x117)](/^ +$/)){_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x145),'content':_0x369830(_0x33b7f4,_0x4102cc(0x144),_0x369830(_0x33b7f4,_0x4102cc(0x15b),_0x458220[_0x4102cc(0x13a)][_0x4102cc(0x13b)]))});continue;}if(''!=_0x458220[_0x4102cc(0x15d)]){_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x115),'content':_0x369830(_0x33b7f4,_0x4102cc(0x154),'\x22'+_0x458220[_0x4102cc(0x15d)]+'\x22')});continue;}_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x145),'content':_0x369830(_0x33b7f4,_0x4102cc(0x144),'\x22'+_0x458220[_0x4102cc(0x13a)]+'\x22')});continue;case _0x4102cc(0x122):case _0x4102cc(0x151):_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x115),'content':_0x369830(_0x33b7f4,_0x4102cc(0x154),this[_0x4102cc(0x130)](_0x458220[_0x4102cc(0x155)],_0x458220[_0x4102cc(0x123)]))});continue;case _0x4102cc(0x141):case _0x4102cc(0x11d):_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x145),'content':_0x369830(_0x33b7f4,_0x4102cc(0x144),this[_0x4102cc(0x130)](_0x458220[_0x4102cc(0x155)],_0x458220[_0x4102cc(0x123)]))});continue;case _0x4102cc(0x133):_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x115),'content':_0x369830(_0x33b7f4,_0x4102cc(0x129),this[_0x4102cc(0x130)](_0x458220[_0x4102cc(0x155)],_0x458220[_0x4102cc(0x123)]))});continue;case _0x4102cc(0x153):_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x145),'content':_0x369830(_0x33b7f4,_0x4102cc(0x139),this[_0x4102cc(0x130)](_0x458220[_0x4102cc(0x155)],_0x458220[_0x4102cc(0x123)]))});continue;case _0x4102cc(0x112):_0x18fb87[_0x4102cc(0x10d)](_0x458220[_0x4102cc(0x114)]);continue;case _0x4102cc(0x166):_0x3ca8dd[_0x4102cc(0x10d)](_0x458220[_0x4102cc(0x114)]);continue;default:_0xbb9775[_0x4102cc(0x10d)](_0x458220);}if(_0x18fb87[_0x4102cc(0x13b)]){const _0x4c6b15=_0x18fb87[_0x4102cc(0x162)](_0x2be657=>this[_0x4102cc(0x110)][_0x4102cc(0x104)](_0x2be657)?this[_0x4102cc(0x110)][_0x4102cc(0x12c)](_0x2be657):_0x2be657)[_0x4102cc(0x14a)](',\x20');_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x108),'content':_0x369830(this[_0x4102cc(0x138)],_0x4102cc(0x11f),_0x4c6b15)});}if(_0x3ca8dd[_0x4102cc(0x13b)]){const _0x4c9684=_0x3ca8dd[_0x4102cc(0x162)](_0x4d9d70=>this[_0x4102cc(0x110)][_0x4102cc(0x104)](_0x4d9d70)?this[_0x4102cc(0x110)][_0x4102cc(0x12c)](_0x4d9d70):_0x4d9d70)[_0x4102cc(0x14a)](',\x20');_0xbb9775[_0x4102cc(0x10d)]({'type':_0x4102cc(0x108),'content':_0x369830(this[_0x4102cc(0x138)],_0x4102cc(0x147),_0x4c9684)});}return _0xbb9775;}[_0x137a4c(0x127)](_0x3651f4){const _0x1b2ba9=_0x137a4c;for(const _0x294dee of this[_0x1b2ba9(0x146)]){const _0x509b2a=_0x294dee(_0x3651f4);if(_0x509b2a&&_0x1b2ba9(0x113)in _0x509b2a)return _0x509b2a;}}[_0x137a4c(0x13f)](_0x5df06a,_0x32ddab){const _0x10fbb7=_0x137a4c,_0x39215a=_0x32ddab[_0x10fbb7(0x152)],_0xafa023=void 0x0===_0x39215a[_0x10fbb7(0x156)]?_0x10fbb7(0x166):_0x10fbb7(0x112);_0x5df06a[_0x10fbb7(0x10d)]({'type':_0xafa023,'key':_0x39215a[_0x10fbb7(0x114)]});}[_0x137a4c(0x13c)](_0x2c5b46,_0x37cf67){const _0x123b63=_0x137a4c;_0x2c5b46[_0x123b63(0x10d)]({'type':_0x123b63(0x108),'content':_0x369830(this[_0x123b63(0x138)],_0x123b63(0x13d),this[_0x123b63(0x130)](_0x37cf67[_0x123b63(0x165)]()[_0x123b63(0x11e)][_0x123b63(0x140)],0x1))});}[_0x137a4c(0x161)](_0x168f15,_0x3799dd,_0xbd0238){const _0x35cc96=_0x137a4c;if(this[_0x35cc96(0x10a)](_0x168f15,_0x3799dd),_0xbd0238&&_0xbd0238[_0x35cc96(0x165)]()&&!_0x3799dd[_0x35cc96(0x165)]()[_0x35cc96(0x12d)][_0x35cc96(0x125)](_0xbd0238[_0x35cc96(0x165)]()[_0x35cc96(0x11e)])){const _0x2048b1=_0x168f15[_0x168f15[_0x35cc96(0x13b)]-0x1],_0x1e7202=_0x35cc96(0x115)==_0x3799dd[_0x35cc96(0x113)]?_0x35cc96(0x15d):_0x35cc96(0x13a);_0x2048b1&&_0x35cc96(0x159)==_0x2048b1[_0x35cc96(0x113)]&&(_0x2048b1[_0x1e7202]+='\x0a');}}}
|
|
23
|
+
const _0x49b491=_0x45da;(function(_0x4b4b8a,_0x53971f){const _0x2bd565=_0x45da,_0x10e9aa=_0x4b4b8a();while(!![]){try{const _0x48f567=-parseInt(_0x2bd565(0x163))/0x1+-parseInt(_0x2bd565(0x174))/0x2+-parseInt(_0x2bd565(0x17e))/0x3+-parseInt(_0x2bd565(0x191))/0x4+parseInt(_0x2bd565(0x178))/0x5*(parseInt(_0x2bd565(0x1ac))/0x6)+parseInt(_0x2bd565(0x19f))/0x7*(parseInt(_0x2bd565(0x162))/0x8)+parseInt(_0x2bd565(0x18f))/0x9*(parseInt(_0x2bd565(0x1a0))/0xa);if(_0x48f567===_0x53971f)break;else _0x10e9aa['push'](_0x10e9aa['shift']());}catch(_0x46a318){_0x10e9aa['push'](_0x10e9aa['shift']());}}}(_0x1ce1,0x1b270));import{getTranslation as _0x349dc5}from'./utils/common-translations.js';function _0x45da(_0x1b2794,_0x1b7f3e){const _0x1ce11d=_0x1ce1();return _0x45da=function(_0x45dad3,_0xdfd152){_0x45dad3=_0x45dad3-0x14c;let _0x348040=_0x1ce11d[_0x45dad3];return _0x348040;},_0x45da(_0x1b2794,_0x1b7f3e);}import{priorities as _0x2c5921,insertToPriorityArray as _0x1b26e5}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x17267a}from'./trackchangesediting.js';function _0x1ce1(){const _0x3fba23=['type','7665xoILvl','EmptyContainer','registerAttributeLabel','join','checkChild','isInContent','function','previousSibling','text','_itemLabels','_itemLabelsCallbacks','set','*Merge:*\x20%0','_handleCustomCallbackDescription','quantity','add','isEqual','334683JboPXl','_schema','599128vGlcmV','length','push','REPLACE_TEXT','get','start','_handleRenameSuggestionDescription','item','nextSibling','subType','name','*Remove\x20format:*\x20%0','_handleAttributeSuggestionDescription','has','567jqNzvm','110HDvFoT','normal','deletion','label','remove','registerDescriptionCallback','_addDescriptionItems','*Insert:*\x20%0','nodeAfter','addEmptyContainer','Container','matchingCallback','47316egrAWn','*Remove:*\x20%0','format','getWalker','newValue','getFirstRange','data','*Split:*\x20%0','$text','indexOf','$textProxy','addFormat','softBreak','removeObject','addObject','insertion','_customCallbacks','elementStart','removeEmptyContainer','removeContainer','skip','match','isEmpty','10048HjNTDX','65499JUsDMb','key','attribute','removeFormat','_resolveDescriptionItems','*Change\x20to:*\x20%0','_attributeLabels','getDescriptions','map','end','addContainer','registerElementLabel','_locale','getItemLabel','element','replace','_handleInsertRemoveSuggestionDescription','426570TVFsld','Object','pop','ELEMENT_SPACE','20wsLPBV','isObject','$1\x20$2','*Set\x20format:*\x20%0','elementEnd'];_0x1ce1=function(){return _0x3fba23;};return _0x1ce1();}export class SuggestionDescriptionFactory{[_0x49b491(0x15b)];[_0x49b491(0x187)];[_0x49b491(0x188)];[_0x49b491(0x169)];[_0x49b491(0x190)];[_0x49b491(0x16f)];constructor(_0x1ac7fa,_0x3cfaba){const _0x334591=_0x49b491;this[_0x334591(0x15b)]=[],this[_0x334591(0x187)]=new Map(),this[_0x334591(0x188)]=[],this[_0x334591(0x169)]=new Map(),this[_0x334591(0x190)]=_0x1ac7fa,this[_0x334591(0x16f)]=_0x3cfaba;}[_0x49b491(0x16a)](_0x374ec3){const _0x808030=_0x49b491,_0x37d83b=[],_0xc1ab5b=new Set(),_0x54ae93=new Set();for(let _0x1be1a2=0x0;_0x1be1a2<_0x374ec3[_0x808030(0x192)];_0x1be1a2++){const _0x395301=_0x374ec3[_0x1be1a2];if(!_0x395301[_0x808030(0x183)])continue;const _0x134868=this[_0x808030(0x18b)](_0x395301);if(_0x134868){if(null!=_0x395301[_0x808030(0x19a)]){if(_0xc1ab5b[_0x808030(0x19e)](_0x395301[_0x808030(0x19a)]))continue;_0xc1ab5b[_0x808030(0x18d)](_0x395301[_0x808030(0x19a)]);}_0x37d83b[_0x808030(0x193)](_0x134868);}else{if(_0x808030(0x165)==_0x395301[_0x808030(0x17d)]){const _0x177841=_0x395301[_0x808030(0x151)][_0x808030(0x164)];if(_0x54ae93[_0x808030(0x19e)](_0x177841))continue;_0x54ae93[_0x808030(0x18d)](_0x395301[_0x808030(0x151)][_0x808030(0x164)]),_0x177841==_0x17267a?this[_0x808030(0x197)](_0x37d83b,_0x395301):this[_0x808030(0x19d)](_0x37d83b,_0x395301);continue;}_0x808030(0x15a)!=_0x395301[_0x808030(0x17d)]&&_0x808030(0x1a2)!=_0x395301[_0x808030(0x17d)]||this[_0x808030(0x173)](_0x37d83b,_0x395301,_0x374ec3[_0x1be1a2+0x1]);}}return this[_0x808030(0x167)](_0x37d83b);}[_0x49b491(0x1a5)](_0x13fb3b){const _0x33d857=_0x49b491;this[_0x33d857(0x15b)][_0x33d857(0x193)](_0x13fb3b);}[_0x49b491(0x16e)](_0x4b7fef,_0x440ef9,_0x3b5b0e=_0x2c5921[_0x49b491(0x1a1)]){const _0x4acb04=_0x49b491;_0x4acb04(0x184)==typeof _0x4b7fef?_0x1b26e5(this[_0x4acb04(0x188)],{'matchingCallback':_0x4b7fef,'label':_0x440ef9,'priority':_0x3b5b0e}):this[_0x4acb04(0x187)][_0x4acb04(0x189)](_0x4b7fef,_0x440ef9);}[_0x49b491(0x180)](_0x2cf713,_0x44dab6){const _0x1b2fd2=_0x49b491;this[_0x1b2fd2(0x169)][_0x1b2fd2(0x189)](_0x2cf713,_0x44dab6);}[_0x49b491(0x170)](_0x13a3f7,_0x564e3e=0x1){const _0x554915=_0x49b491;let _0x35e3fb;for(const _0x31c938 of this[_0x554915(0x188)])if(_0x31c938[_0x554915(0x1ab)](_0x13a3f7)){_0x35e3fb=_0x31c938[_0x554915(0x1a3)];break;}return _0x35e3fb||(_0x35e3fb=this[_0x554915(0x187)][_0x554915(0x195)](_0x13a3f7[_0x554915(0x19b)])),_0x35e3fb?_0x35e3fb(_0x564e3e):0x1!==_0x564e3e?_0x564e3e+'\x20'+_0x13a3f7[_0x554915(0x19b)]+'s':''+_0x13a3f7[_0x554915(0x19b)];}[_0x49b491(0x1a6)](_0x2b5cbc,_0xb960e0){const _0x418a07=_0x49b491,_0x2de07d=_0xb960e0[_0x418a07(0x150)]()[_0x418a07(0x14e)](),_0x5be28b=_0x418a07(0x15a)==_0xb960e0[_0x418a07(0x17d)]?_0x418a07(0x18d):_0x418a07(0x1a4);for(const _0x56bebf of _0x2de07d){const _0x10c374=_0x56bebf[_0x418a07(0x198)],_0x4a63cb=_0x2b5cbc[_0x2b5cbc[_0x418a07(0x192)]-0x1];if(_0x10c374['is'](_0x418a07(0x155)))_0x4a63cb&&_0x4a63cb[_0x418a07(0x17d)][_0x418a07(0x154)](_0x418a07(0x1aa))>-0x1&&_0x2b5cbc[_0x418a07(0x176)](),_0x4a63cb&&_0x418a07(0x186)==_0x4a63cb[_0x418a07(0x17d)]?_0x4a63cb[_0x5be28b]+=_0x10c374[_0x418a07(0x151)]:_0x2b5cbc[_0x418a07(0x193)]({'type':_0x418a07(0x186),'add':_0x418a07(0x18d)==_0x5be28b?_0x10c374[_0x418a07(0x151)]:'','remove':_0x418a07(0x1a4)==_0x5be28b?_0x10c374[_0x418a07(0x151)]:''});else{if(this[_0x418a07(0x190)][_0x418a07(0x179)](_0x10c374)){const _0x106e5c=_0x10c374;if(_0x4a63cb&&_0x4a63cb[_0x418a07(0x17d)][_0x418a07(0x154)](_0x418a07(0x1aa))>-0x1&&_0x2b5cbc[_0x418a07(0x176)](),_0x418a07(0x17c)==_0x56bebf[_0x418a07(0x17d)])continue;_0x4a63cb&&_0x4a63cb[_0x418a07(0x17d)]==_0x5be28b+_0x418a07(0x175)&&_0x4a63cb[_0x418a07(0x171)][_0x418a07(0x19b)]==_0x106e5c[_0x418a07(0x19b)]?_0x4a63cb[_0x418a07(0x18c)]++:_0x2b5cbc[_0x418a07(0x193)]({'type':_0x5be28b+_0x418a07(0x175),'element':_0x106e5c,'quantity':0x1}),_0x2de07d[_0x418a07(0x15f)](_0x3305df=>!(_0x418a07(0x17c)==_0x3305df[_0x418a07(0x17d)]&&_0x3305df[_0x418a07(0x198)]==_0x10c374));}else{if(this[_0x418a07(0x190)][_0x418a07(0x182)](_0x10c374,_0x418a07(0x153))||_0x10c374['is'](_0x418a07(0x171),_0x418a07(0x157))){const _0x1da6d0=_0x10c374;if(_0x418a07(0x18d)==_0x5be28b&&_0x418a07(0x15c)==_0x56bebf[_0x418a07(0x17d)]||_0x418a07(0x1a4)==_0x5be28b&&_0x418a07(0x17c)==_0x56bebf[_0x418a07(0x17d)])continue;if(_0x4a63cb&&-0x1==_0x4a63cb[_0x418a07(0x17d)][_0x418a07(0x154)](_0x418a07(0x1aa))){_0x418a07(0x186)==_0x4a63cb[_0x418a07(0x17d)]&&(_0x4a63cb[_0x5be28b]+='\x0a');continue;}let _0x51dd13;if(_0x51dd13=_0x418a07(0x18d)==_0x5be28b?_0x1da6d0[_0x418a07(0x199)]&&!this[_0x418a07(0x190)][_0x418a07(0x179)](_0x1da6d0[_0x418a07(0x199)])?_0x1da6d0[_0x418a07(0x199)]:null:_0x1da6d0[_0x418a07(0x185)]&&!this[_0x418a07(0x190)][_0x418a07(0x179)](_0x1da6d0[_0x418a07(0x185)])?_0x1da6d0[_0x418a07(0x185)]:null,_0x1da6d0[_0x418a07(0x161)]||_0x51dd13&&_0x51dd13[_0x418a07(0x161)]){const _0x231f32=_0x51dd13&&_0x51dd13[_0x418a07(0x161)]?_0x51dd13:_0x1da6d0;_0x4a63cb&&_0x4a63cb[_0x418a07(0x17d)]==_0x5be28b+_0x418a07(0x17f)&&_0x4a63cb[_0x418a07(0x171)][_0x418a07(0x19b)]==_0x231f32[_0x418a07(0x19b)]?_0x4a63cb[_0x418a07(0x18c)]++:_0x2b5cbc[_0x418a07(0x193)]({'type':_0x5be28b+_0x418a07(0x17f),'element':_0x231f32,'quantity':0x1});}else _0x2b5cbc[_0x418a07(0x193)]({'type':_0x5be28b+_0x418a07(0x1aa),'element':_0x1da6d0});}}}}}[_0x49b491(0x167)](_0x3fcbce){const _0x44e12c=_0x49b491,_0x1927d2=this[_0x44e12c(0x16f)],_0x3b1f76=[],_0x3e14d5=[],_0x53f5a5=[];for(const _0x2afbbd of _0x3fcbce)switch(_0x2afbbd[_0x44e12c(0x17d)]){case _0x44e12c(0x186):if(_0x2afbbd[_0x44e12c(0x18d)]=_0x2afbbd[_0x44e12c(0x18d)][_0x44e12c(0x172)](/(\S)\u000A+(\S)/g,_0x44e12c(0x17a))[_0x44e12c(0x172)](/\u000A/g,''),_0x2afbbd[_0x44e12c(0x1a4)]=_0x2afbbd[_0x44e12c(0x1a4)][_0x44e12c(0x172)](/(\S)\u000A+(\S)/g,_0x44e12c(0x17a))[_0x44e12c(0x172)](/\u000A/g,''),''!=_0x2afbbd[_0x44e12c(0x18d)]&&''!=_0x2afbbd[_0x44e12c(0x1a4)]){_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x172),'content':_0x349dc5(_0x1927d2,_0x44e12c(0x194),['\x22'+_0x2afbbd[_0x44e12c(0x1a4)]+'\x22','\x22'+_0x2afbbd[_0x44e12c(0x18d)]+'\x22'])});continue;}if(null!=_0x2afbbd[_0x44e12c(0x18d)][_0x44e12c(0x160)](/^ +$/)){_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x15a),'content':_0x349dc5(_0x1927d2,_0x44e12c(0x1a7),_0x349dc5(_0x1927d2,_0x44e12c(0x177),_0x2afbbd[_0x44e12c(0x18d)][_0x44e12c(0x192)]))});continue;}if(null!=_0x2afbbd[_0x44e12c(0x1a4)][_0x44e12c(0x160)](/^ +$/)){_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x1a2),'content':_0x349dc5(_0x1927d2,_0x44e12c(0x14c),_0x349dc5(_0x1927d2,_0x44e12c(0x177),_0x2afbbd[_0x44e12c(0x1a4)][_0x44e12c(0x192)]))});continue;}if(''!=_0x2afbbd[_0x44e12c(0x18d)]){_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x15a),'content':_0x349dc5(_0x1927d2,_0x44e12c(0x1a7),'\x22'+_0x2afbbd[_0x44e12c(0x18d)]+'\x22')});continue;}_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x1a2),'content':_0x349dc5(_0x1927d2,_0x44e12c(0x14c),'\x22'+_0x2afbbd[_0x44e12c(0x1a4)]+'\x22')});continue;case _0x44e12c(0x1a9):case _0x44e12c(0x159):_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x15a),'content':_0x349dc5(_0x1927d2,_0x44e12c(0x1a7),this[_0x44e12c(0x170)](_0x2afbbd[_0x44e12c(0x171)],_0x2afbbd[_0x44e12c(0x18c)]))});continue;case _0x44e12c(0x15d):case _0x44e12c(0x158):_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x1a2),'content':_0x349dc5(_0x1927d2,_0x44e12c(0x14c),this[_0x44e12c(0x170)](_0x2afbbd[_0x44e12c(0x171)],_0x2afbbd[_0x44e12c(0x18c)]))});continue;case _0x44e12c(0x16d):_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x15a),'content':_0x349dc5(_0x1927d2,_0x44e12c(0x152),this[_0x44e12c(0x170)](_0x2afbbd[_0x44e12c(0x171)],_0x2afbbd[_0x44e12c(0x18c)]))});continue;case _0x44e12c(0x15e):_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x1a2),'content':_0x349dc5(_0x1927d2,_0x44e12c(0x18a),this[_0x44e12c(0x170)](_0x2afbbd[_0x44e12c(0x171)],_0x2afbbd[_0x44e12c(0x18c)]))});continue;case _0x44e12c(0x156):_0x3e14d5[_0x44e12c(0x193)](_0x2afbbd[_0x44e12c(0x164)]);continue;case _0x44e12c(0x166):_0x53f5a5[_0x44e12c(0x193)](_0x2afbbd[_0x44e12c(0x164)]);continue;default:_0x3b1f76[_0x44e12c(0x193)](_0x2afbbd);}if(_0x3e14d5[_0x44e12c(0x192)]){const _0x4c1747=_0x3e14d5[_0x44e12c(0x16b)](_0x19d670=>this[_0x44e12c(0x169)][_0x44e12c(0x19e)](_0x19d670)?this[_0x44e12c(0x169)][_0x44e12c(0x195)](_0x19d670):_0x19d670)[_0x44e12c(0x181)](',\x20');_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x14d),'content':_0x349dc5(this[_0x44e12c(0x16f)],_0x44e12c(0x17b),_0x4c1747)});}if(_0x53f5a5[_0x44e12c(0x192)]){const _0x1178db=_0x53f5a5[_0x44e12c(0x16b)](_0x17394a=>this[_0x44e12c(0x169)][_0x44e12c(0x19e)](_0x17394a)?this[_0x44e12c(0x169)][_0x44e12c(0x195)](_0x17394a):_0x17394a)[_0x44e12c(0x181)](',\x20');_0x3b1f76[_0x44e12c(0x193)]({'type':_0x44e12c(0x14d),'content':_0x349dc5(this[_0x44e12c(0x16f)],_0x44e12c(0x19c),_0x1178db)});}return _0x3b1f76;}[_0x49b491(0x18b)](_0x5600c6){const _0x4ac6f3=_0x49b491;for(const _0x3a2ac1 of this[_0x4ac6f3(0x15b)]){const _0x4144f0=_0x3a2ac1(_0x5600c6);if(_0x4144f0&&_0x4ac6f3(0x17d)in _0x4144f0)return _0x4144f0;}}[_0x49b491(0x19d)](_0x2fcf8a,_0x116f49){const _0x4cd2af=_0x49b491,_0x4a8c0f=_0x116f49[_0x4cd2af(0x151)],_0x15d3e8=void 0x0===_0x4a8c0f[_0x4cd2af(0x14f)]?_0x4cd2af(0x166):_0x4cd2af(0x156);_0x2fcf8a[_0x4cd2af(0x193)]({'type':_0x15d3e8,'key':_0x4a8c0f[_0x4cd2af(0x164)]});}[_0x49b491(0x197)](_0x33171e,_0x39a8eb){const _0x1c3fdd=_0x49b491;_0x33171e[_0x1c3fdd(0x193)]({'type':_0x1c3fdd(0x14d),'content':_0x349dc5(this[_0x1c3fdd(0x16f)],_0x1c3fdd(0x168),this[_0x1c3fdd(0x170)](_0x39a8eb[_0x1c3fdd(0x150)]()[_0x1c3fdd(0x196)][_0x1c3fdd(0x1a8)],0x1))});}[_0x49b491(0x173)](_0x1d7606,_0x599bc3,_0x55d932){const _0x2820fb=_0x49b491;if(this[_0x2820fb(0x1a6)](_0x1d7606,_0x599bc3),_0x55d932&&_0x55d932[_0x2820fb(0x150)]()&&!_0x599bc3[_0x2820fb(0x150)]()[_0x2820fb(0x16c)][_0x2820fb(0x18e)](_0x55d932[_0x2820fb(0x150)]()[_0x2820fb(0x196)])){const _0x50b345=_0x1d7606[_0x1d7606[_0x2820fb(0x192)]-0x1],_0x30087f=_0x2820fb(0x15a)==_0x599bc3[_0x2820fb(0x17d)]?_0x2820fb(0x18d):_0x2820fb(0x1a4);_0x50b345&&_0x2820fb(0x186)==_0x50b345[_0x2820fb(0x17d)]&&(_0x50b345[_0x30087f]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5a20dd=_0x3aab;(function(_0xcdc5fa,_0x2e7e9c){var _0x1fc900=_0x3aab,_0x42cca8=_0xcdc5fa();while(!![]){try{var _0x22edec=parseInt(_0x1fc900(0x19c))/0x1*(-parseInt(_0x1fc900(0x1a3))/0x2)+-parseInt(_0x1fc900(0x1a1))/0x3*(-parseInt(_0x1fc900(0x194))/0x4)+-parseInt(_0x1fc900(0x192))/0x5*(parseInt(_0x1fc900(0x195))/0x6)+parseInt(_0x1fc900(0x18f))/0x7+parseInt(_0x1fc900(0x19d))/0x8+-parseInt(_0x1fc900(0x199))/0x9*(parseInt(_0x1fc900(0x198))/0xa)+-parseInt(_0x1fc900(0x193))/0xb*(-parseInt(_0x1fc900(0x1a0))/0xc);if(_0x22edec===_0x2e7e9c)break;else _0x42cca8['push'](_0x42cca8['shift']());}catch(_0x154d4f){_0x42cca8['push'](_0x42cca8['shift']());}}}(_0x333a,0x227dc));import{Plugin as _0x4b2721}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x436cb4}from'./trackchangesui.js';function _0x3aab(_0x1514a9,_0x334553){var _0x333a1c=_0x333a();return _0x3aab=function(_0x3aaba5,_0x502ca4){_0x3aaba5=_0x3aaba5-0x18e;var _0x36a13f=_0x333a1c[_0x3aaba5];return _0x36a13f;},_0x3aab(_0x1514a9,_0x334553);}import{TrackChangesEditing as _0x1dfa21}from'./trackchangesediting.js';function _0x333a(){var _0x2ca238=['5yJFuVs','229559GDIDWs','483992RoqzMs','1264710lxKfuo','isOfficialPlugin','plugins','10iaqpnP','2126538sRXaDC','editor','TrackChanges','4MZwrAc','2141376KdCpUn','getSuggestions','Comments','12eIGEyO','6NpdJMO','getSuggestion','45830egAffh','pluginName','get','addSuggestionData','addSuggestion','isPremiumPlugin','1046262nsWkMR','adapter','requires'];_0x333a=function(){return _0x2ca238;};return _0x333a();}import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x4b2721{static get[_0x5a20dd(0x191)](){var _0x12d0cf=_0x5a20dd;return[_0x1dfa21,_0x436cb4,_0x12d0cf(0x19f)];}static get[_0x5a20dd(0x1a4)](){var _0x445254=_0x5a20dd;return _0x445254(0x19b);}static get[_0x5a20dd(0x196)](){return!0x0;}static get[_0x5a20dd(0x18e)](){return!0x0;}set[_0x5a20dd(0x190)](_0x124a5c){var _0x3d1d1b=_0x5a20dd;this[_0x3d1d1b(0x19a)][_0x3d1d1b(0x197)][_0x3d1d1b(0x1a5)](_0x1dfa21)[_0x3d1d1b(0x190)]=_0x124a5c;}get[_0x5a20dd(0x190)](){var _0x1e867b=_0x5a20dd;return this[_0x1e867b(0x19a)][_0x1e867b(0x197)][_0x1e867b(0x1a5)](_0x1dfa21)[_0x1e867b(0x190)];}[_0x5a20dd(0x1a7)](_0x18af05){var _0x3c8021=_0x5a20dd;return this[_0x3c8021(0x19a)][_0x3c8021(0x197)][_0x3c8021(0x1a5)](_0x1dfa21)[_0x3c8021(0x1a6)](_0x18af05);}[_0x5a20dd(0x19e)]({skipNotAttached:_0x3eb459=!0x1,toJSON:_0x40589c=!0x1}={}){var _0x5b51ac=_0x5a20dd;return this[_0x5b51ac(0x19a)][_0x5b51ac(0x197)][_0x5b51ac(0x1a5)](_0x1dfa21)[_0x5b51ac(0x19e)]({'skipNotAttached':_0x3eb459,'toJSON':_0x40589c});}[_0x5a20dd(0x1a2)](_0xfb2808){var _0x223f17=_0x5a20dd;return this[_0x223f17(0x19a)][_0x223f17(0x197)][_0x223f17(0x1a5)](_0x1dfa21)[_0x223f17(0x1a2)](_0xfb2808);}}
|