@ckeditor/ckeditor5-track-changes 46.0.0-alpha.2 → 46.0.0-alpha.3
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/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.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/lang/translations/ar.po +4 -4
- package/lang/translations/bg.po +4 -4
- package/lang/translations/bn.po +4 -4
- package/lang/translations/ca.po +4 -4
- package/lang/translations/cs.po +4 -4
- package/lang/translations/da.po +4 -4
- package/lang/translations/de.po +4 -4
- package/lang/translations/el.po +4 -4
- package/lang/translations/es.po +4 -4
- package/lang/translations/et.po +4 -4
- package/lang/translations/fi.po +4 -4
- package/lang/translations/fr.po +4 -4
- package/lang/translations/he.po +4 -4
- package/lang/translations/hi.po +4 -4
- package/lang/translations/hu.po +4 -4
- package/lang/translations/id.po +4 -4
- package/lang/translations/it.po +4 -4
- package/lang/translations/ja.po +4 -4
- package/lang/translations/ko.po +4 -4
- package/lang/translations/lt.po +4 -4
- package/lang/translations/lv.po +4 -4
- package/lang/translations/ms.po +4 -4
- package/lang/translations/nl.po +4 -4
- package/lang/translations/no.po +4 -4
- package/lang/translations/pl.po +4 -4
- package/lang/translations/pt-br.po +4 -4
- package/lang/translations/pt.po +4 -4
- package/lang/translations/ro.po +4 -4
- package/lang/translations/ru.po +4 -4
- package/lang/translations/sk.po +4 -4
- package/lang/translations/sr.po +4 -4
- package/lang/translations/sv.po +4 -4
- package/lang/translations/th.po +4 -4
- package/lang/translations/tr.po +4 -4
- package/lang/translations/uk.po +4 -4
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +4 -4
- package/lang/translations/zh.po +4 -4
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4cef(){const _0x56f75c=['data','nodeBefore','get','setTableRowHeader','consume','type','31620LXpaaM','142UzIXqP','mapper','3301836oPCEPr','registerAttributeLabel','setAttribute','ck-suggestion-marker-','nodeAfter','FORMAT_HEADER_COLUMN','ck-suggestion-marker--active','markerName','FORMAT_REGULAR_COLUMN','locale','accept','setTableColumnHeader','cell','markerNameToElements','descriptionFactory','editor','_acceptFormatSuggestionCallbackFactory','removeClass','data-suggestion','plugins','stop','createTableWalker','7029MMBemU','downcastDispatcher','format','getSuggestion','632aIdLYV','options','item','registerCustomCallback','TrackChangesEditing','TableEditing','addClass','bindElementToMarker','removeMarker:suggestion','addMarker:suggestion','headingRows','*Format:*\x20%0','removeAttribute','_splitMarkerName','13180lWwyEW','registerDescriptionCallback','parent','2079042RdFAAY','editing','toViewElement','enableDefaultAttributesIntegration','4435248YinzjR','headingColumns','_registerLegacyDescription','highest','commandName','2937EeBYcJ','name','consumable','_handleLegacySuggestions','FORMAT_HEADER_ROW','registerBlockAttribute','writer','showSuggestionHighlights','start','unbindElementFromMarkerName','afterInit','requires','TableUtils','FORMAT_REGULAR_ROW','getCellLocation','end','formatBlock','markerRange','_suggestionFactory','3084318YEXRHg','commandParams','activeMarkers','has','forceValue','includes'];_0x4cef=function(){return _0x56f75c;};return _0x4cef();}const _0x1b97d7=_0x2b41;function _0x2b41(_0x5cd5e5,_0x1b70b1){const _0x4cef75=_0x4cef();return _0x2b41=function(_0x2b412e,_0xe56dbc){_0x2b412e=_0x2b412e-0x1de;let _0xdea5ad=_0x4cef75[_0x2b412e];return _0xdea5ad;},_0x2b41(_0x5cd5e5,_0x1b70b1);}(function(_0x32d7cf,_0x12f6ab){const _0x2f90f6=_0x2b41,_0x15ceed=_0x32d7cf();while(!![]){try{const _0x87fb4d=-parseInt(_0x2f90f6(0x1f3))/0x1*(-parseInt(_0x2f90f6(0x213))/0x2)+parseInt(_0x2f90f6(0x215))/0x3+-parseInt(_0x2f90f6(0x22f))/0x4*(parseInt(_0x2f90f6(0x212))/0x5)+-parseInt(_0x2f90f6(0x206))/0x6+parseInt(_0x2f90f6(0x1ea))/0x7+-parseInt(_0x2f90f6(0x1ee))/0x8+-parseInt(_0x2f90f6(0x22b))/0x9*(-parseInt(_0x2f90f6(0x1e7))/0xa);if(_0x87fb4d===_0x12f6ab)break;else _0x15ceed['push'](_0x15ceed['shift']());}catch(_0x3d8fdd){_0x15ceed['push'](_0x15ceed['shift']());}}}(_0x4cef,0x8aa2c));import{Plugin as _0xa1e1cf}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x23e05c}from'./table.js';import{getTranslation as _0x2e49fc}from'../utils/common-translations.js';export class TrackChangesTableHeadings extends _0xa1e1cf{static get[_0x1b97d7(0x1fe)](){return[_0x23e05c];}[_0x1b97d7(0x1fd)](){const _0x4d99ce=_0x1b97d7,_0x49aa4e=this[_0x4d99ce(0x224)];if(!_0x49aa4e[_0x4d99ce(0x228)][_0x4d99ce(0x209)](_0x4d99ce(0x1de)))return;const _0x32286c=_0x49aa4e[_0x4d99ce(0x21e)],_0x4531f7=_0x49aa4e[_0x4d99ce(0x228)][_0x4d99ce(0x20e)](_0x4d99ce(0x233));_0x4531f7[_0x4d99ce(0x1ed)](_0x4d99ce(0x20f)),_0x4531f7[_0x4d99ce(0x1ed)](_0x4d99ce(0x220)),_0x4531f7[_0x4d99ce(0x1f8)](_0x4d99ce(0x1e3)),_0x4531f7[_0x4d99ce(0x1f8)](_0x4d99ce(0x1ef)),_0x4531f7[_0x4d99ce(0x223)][_0x4d99ce(0x216)](_0x4d99ce(0x1e3),_0x2e49fc(_0x32286c,_0x4d99ce(0x1f7))),_0x4531f7[_0x4d99ce(0x223)][_0x4d99ce(0x216)](_0x4d99ce(0x1ef),_0x2e49fc(_0x32286c,_0x4d99ce(0x21a))),this[_0x4d99ce(0x1f6)]();}[_0x1b97d7(0x1f6)](){const _0x54e833=_0x1b97d7,_0x4639e3=this[_0x54e833(0x224)][_0x54e833(0x228)][_0x54e833(0x20e)](_0x54e833(0x233)),_0x3cd948=this[_0x54e833(0x224)][_0x54e833(0x228)][_0x54e833(0x20e)](_0x54e833(0x1ff)),_0x314b9a=this[_0x54e833(0x224)][_0x54e833(0x228)][_0x54e833(0x20e)](_0x23e05c)[_0x54e833(0x225)]();function _0x5703f2({showActiveMarker:_0x3ea513=!0x0,setDataAttribute:_0x5e7c2f=!0x0}={}){return(_0x25f996,_0x423d41,_0x38a6b7)=>{const _0x8b5b12=_0x2b41,{type:_0x31fc7d,id:_0x230d49}=_0x4639e3[_0x8b5b12(0x1e6)](_0x423d41[_0x8b5b12(0x21c)]),_0x2cca4e=_0x4639e3[_0x8b5b12(0x22e)](_0x230d49),_0x184264=_0x2cca4e[_0x8b5b12(0x20c)];if(_0x8b5b12(0x203)!=_0x2cca4e[_0x8b5b12(0x211)]||!_0x184264||_0x8b5b12(0x220)!=_0x184264[_0x8b5b12(0x1f2)])return;if(_0x423d41[_0x8b5b12(0x231)])return void _0x25f996[_0x8b5b12(0x229)]();if(!_0x38a6b7[_0x8b5b12(0x1f5)][_0x8b5b12(0x210)](_0x423d41[_0x8b5b12(0x204)],_0x25f996[_0x8b5b12(0x1f4)]))return;const _0x36b940=_0x423d41[_0x8b5b12(0x204)][_0x8b5b12(0x1fb)][_0x8b5b12(0x219)],_0x1520b0=_0x423d41[_0x8b5b12(0x204)][_0x8b5b12(0x202)][_0x8b5b12(0x20d)],_0x2a9727=_0x36b940[_0x8b5b12(0x1e9)][_0x8b5b12(0x1e9)],{column:_0x28231f}=_0x3cd948[_0x8b5b12(0x201)](_0x36b940),{column:_0x4ad1a3}=_0x3cd948[_0x8b5b12(0x201)](_0x1520b0);for(let _0x16b2de=_0x28231f;_0x16b2de<=_0x4ad1a3;_0x16b2de++){const _0x3e0340=_0x3cd948[_0x8b5b12(0x22a)](_0x2a9727,{'column':_0x16b2de,'includeAllSlots':!0x1});for(const _0x4464b2 of _0x3e0340){const _0x58db02=_0x4464b2[_0x8b5b12(0x221)],_0x52b0c0=_0x38a6b7[_0x8b5b12(0x214)][_0x8b5b12(0x1ec)](_0x58db02);_0x38a6b7[_0x8b5b12(0x1f9)][_0x8b5b12(0x1df)](_0x8b5b12(0x218)+_0x31fc7d,_0x52b0c0),_0x5e7c2f&&_0x38a6b7[_0x8b5b12(0x1f9)][_0x8b5b12(0x217)](_0x8b5b12(0x227),_0x230d49,_0x52b0c0),_0x38a6b7[_0x8b5b12(0x214)][_0x8b5b12(0x1e0)](_0x52b0c0,_0x423d41[_0x8b5b12(0x21c)]),_0x3ea513&&(_0x4639e3[_0x8b5b12(0x208)][_0x8b5b12(0x20b)](_0x423d41[_0x8b5b12(0x21c)])?_0x38a6b7[_0x8b5b12(0x1f9)][_0x8b5b12(0x1df)](_0x8b5b12(0x21b),_0x52b0c0):_0x38a6b7[_0x8b5b12(0x1f9)][_0x8b5b12(0x226)](_0x8b5b12(0x21b),_0x52b0c0));}}};}_0x4639e3[_0x54e833(0x205)][_0x54e833(0x232)](_0x54e833(0x203),_0x54e833(0x20f),_0x54e833(0x21f),_0x314b9a),_0x4639e3[_0x54e833(0x205)][_0x54e833(0x232)](_0x54e833(0x203),_0x54e833(0x220),_0x54e833(0x21f),_0x314b9a),this[_0x54e833(0x224)][_0x54e833(0x1eb)][_0x54e833(0x22c)]['on'](_0x54e833(0x1e2),_0x5703f2(),{'priority':_0x54e833(0x1f1)}),this[_0x54e833(0x224)][_0x54e833(0x20c)][_0x54e833(0x22c)]['on'](_0x54e833(0x1e2),(_0x5b3bad,_0x2ebc69,_0x22a364)=>{const _0x5f4c2f=_0x54e833;_0x22a364[_0x5f4c2f(0x230)][_0x5f4c2f(0x1fa)]&&_0x5703f2({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5b3bad,_0x2ebc69,_0x22a364);},{'priority':_0x54e833(0x1f1)}),this[_0x54e833(0x224)][_0x54e833(0x1eb)][_0x54e833(0x22c)]['on'](_0x54e833(0x1e1),(_0x10270e,_0x58607a,_0x2ffb14)=>{const _0x2c253a=_0x54e833,{type:_0x2b9b18,id:_0x1d1d1c}=_0x4639e3[_0x2c253a(0x1e6)](_0x58607a[_0x2c253a(0x21c)]),_0x35ab1f=_0x4639e3[_0x2c253a(0x22e)](_0x1d1d1c),_0x11f4d2=_0x35ab1f[_0x2c253a(0x20c)];if(_0x2c253a(0x203)!=_0x35ab1f[_0x2c253a(0x211)]||!_0x11f4d2||_0x2c253a(0x220)!=_0x11f4d2[_0x2c253a(0x1f2)])return;const _0x41efdd=_0x2ffb14[_0x2c253a(0x214)][_0x2c253a(0x222)](_0x58607a[_0x2c253a(0x21c)]);if(_0x41efdd){for(const _0x557815 of _0x41efdd)_0x2ffb14[_0x2c253a(0x1f9)][_0x2c253a(0x226)](_0x2c253a(0x218)+_0x2b9b18,_0x557815),_0x2ffb14[_0x2c253a(0x1f9)][_0x2c253a(0x226)](_0x2c253a(0x21b),_0x557815),_0x2ffb14[_0x2c253a(0x1f9)][_0x2c253a(0x1e5)](_0x2c253a(0x227),_0x557815),_0x2ffb14[_0x2c253a(0x214)][_0x2c253a(0x1fc)](_0x557815,_0x58607a[_0x2c253a(0x21c)]);}},{'priority':_0x54e833(0x1f1)}),this[_0x54e833(0x1f0)]();}[_0x1b97d7(0x1f0)](){const _0x55ee33=_0x1b97d7,_0x1128b6=this[_0x55ee33(0x224)],_0x15d023=_0x1128b6[_0x55ee33(0x21e)];function _0x2a1dd4(_0x16250c){const _0x38aef0=_0x55ee33;return{'type':_0x38aef0(0x22d),'content':_0x2e49fc(_0x15d023,_0x38aef0(0x1e4),_0x16250c)};}_0x1128b6[_0x55ee33(0x228)][_0x55ee33(0x20e)](_0x55ee33(0x233))[_0x55ee33(0x223)][_0x55ee33(0x1e8)](_0x10a028=>{const _0x153578=_0x55ee33;if(_0x153578(0x203)!=_0x10a028[_0x153578(0x211)])return;const {data:_0x136fb9}=_0x10a028;if(_0x136fb9){if(_0x153578(0x20f)==_0x136fb9[_0x153578(0x1f2)]){const _0xaadef4=_0x136fb9[_0x153578(0x207)][0x0][_0x153578(0x20a)];return _0x2a1dd4(_0x2e49fc(_0x15d023,_0xaadef4?_0x153578(0x1f7):_0x153578(0x200)));}if(_0x153578(0x220)==_0x136fb9[_0x153578(0x1f2)]){const _0x37aca6=_0x136fb9[_0x153578(0x207)][0x0][_0x153578(0x20a)];return _0x2a1dd4(_0x2e49fc(_0x15d023,_0x37aca6?_0x153578(0x21a):_0x153578(0x21d)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xf78492=_0x5966;(function(_0x282329,_0x176a35){const _0x4ecd1b=_0x5966,_0x370e0f=_0x282329();while(!![]){try{const _0x898908=parseInt(_0x4ecd1b(0x1b0))/0x1*(-parseInt(_0x4ecd1b(0x1b6))/0x2)+parseInt(_0x4ecd1b(0x1b8))/0x3+-parseInt(_0x4ecd1b(0x1a8))/0x4*(parseInt(_0x4ecd1b(0x1a1))/0x5)+parseInt(_0x4ecd1b(0x1b5))/0x6*(parseInt(_0x4ecd1b(0x1bd))/0x7)+parseInt(_0x4ecd1b(0x1a5))/0x8*(parseInt(_0x4ecd1b(0x1a4))/0x9)+-parseInt(_0x4ecd1b(0x1c4))/0xa*(parseInt(_0x4ecd1b(0x1bc))/0xb)+parseInt(_0x4ecd1b(0x1b7))/0xc*(parseInt(_0x4ecd1b(0x1c0))/0xd);if(_0x898908===_0x176a35)break;else _0x370e0f['push'](_0x370e0f['shift']());}catch(_0x5b1155){_0x370e0f['push'](_0x370e0f['shift']());}}}(_0x1b78,0xdc713));function _0x1b78(){const _0x1ed5b8=['tableType','newValue','79767LwJDWJ','1016CXpHUY','layout','element','107132CkcrXp','registerBlockAttribute','TableLayout','ELEMENT_CONTENT_TABLE','editor','has','locale','key','3DLJrcS','plugins','registerElementLabel','table','enableDefaultAttributesIntegration','6nKZkFR','583606dVqYed','654468WpSELe','4733274kprFdh','afterInit','get','enableCommand','769461uFxxue','5850565iOqHsg','TrackChangesEditing','*Set\x20table\x20type:*\x20%0','117Tsgftv','registerDescriptionCallback','descriptionFactory','getAttribute','230otfTtU','format','ELEMENT_LAYOUT_TABLE','insertTableLayout','content','120bVwHuy'];_0x1b78=function(){return _0x1ed5b8;};return _0x1b78();}import{Plugin as _0x1e77d5}from'ckeditor5/src/core.js';import{getTranslation as _0x5fb796}from'../utils/common-translations.js';function _0x5966(_0x38bf20,_0x44df6c){const _0x1b786d=_0x1b78();return _0x5966=function(_0x596611,_0x5d8c0e){_0x596611=_0x596611-0x19e;let _0x4edfc2=_0x1b786d[_0x596611];return _0x4edfc2;},_0x5966(_0x38bf20,_0x44df6c);}export class TrackChangesTableLayout extends _0x1e77d5{[_0xf78492(0x1b9)](){const _0xcbd521=_0xf78492,_0x296753=this[_0xcbd521(0x1ac)],_0x346ee7=_0x296753[_0xcbd521(0x1ae)],_0x2e5233=_0x296753[_0xcbd521(0x1b1)][_0xcbd521(0x1ba)](_0xcbd521(0x1be));function _0x5fdd50(_0x4bdd9e){const _0x2354ff=_0xcbd521;return{'type':_0x2354ff(0x1c5),'content':''+_0x5fb796(_0x346ee7,_0x2354ff(0x1bf),_0x4bdd9e)};}_0x296753[_0xcbd521(0x1b1)][_0xcbd521(0x1ad)](_0xcbd521(0x1aa))&&(_0x2e5233[_0xcbd521(0x1bb)](_0xcbd521(0x19f)),_0x2e5233[_0xcbd521(0x1b4)](_0xcbd521(0x1a2)),_0x2e5233[_0xcbd521(0x1a9)](_0xcbd521(0x1a2)),_0x2e5233[_0xcbd521(0x1c2)][_0xcbd521(0x1b2)](_0x10f392=>_0x10f392['is'](_0xcbd521(0x1a7),_0xcbd521(0x1b3))&&_0xcbd521(0x1a6)===_0x10f392[_0xcbd521(0x1c3)](_0xcbd521(0x1a2)),_0x219429=>_0x5fb796(_0x346ee7,_0xcbd521(0x19e),_0x219429)),_0x2e5233[_0xcbd521(0x1c2)][_0xcbd521(0x1c1)](_0x282cd9=>{const _0x32e0d2=_0xcbd521,{data:_0xc19168}=_0x282cd9;if(_0xc19168&&_0x32e0d2(0x1a2)==_0xc19168[_0x32e0d2(0x1af)])switch(_0xc19168[_0x32e0d2(0x1a3)]){case _0x32e0d2(0x1a6):return _0x5fdd50(_0x5fb796(_0x346ee7,_0x32e0d2(0x19e)));case _0x32e0d2(0x1a0):return _0x5fdd50(_0x5fb796(_0x346ee7,_0x32e0d2(0x1ab)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x21ced7=_0x28b4;(function(_0x346383,_0x308109){const _0x39a770=_0x28b4,_0x24cfe9=_0x346383();while(!![]){try{const _0x4a26e1=parseInt(_0x39a770(0x102))/0x1*(-parseInt(_0x39a770(0x110))/0x2)+parseInt(_0x39a770(0x125))/0x3+parseInt(_0x39a770(0xf2))/0x4+parseInt(_0x39a770(0x111))/0x5+parseInt(_0x39a770(0x104))/0x6*(parseInt(_0x39a770(0x129))/0x7)+parseInt(_0x39a770(0x115))/0x8+-parseInt(_0x39a770(0x146))/0x9;if(_0x4a26e1===_0x308109)break;else _0x24cfe9['push'](_0x24cfe9['shift']());}catch(_0x5b7c46){_0x24cfe9['push'](_0x24cfe9['shift']());}}}(_0xd91a,0xaca4e));function _0xd91a(){const _0x165856=['*Split\x20cell:*\x20horizontally','createTableWalker','trackChanges','mergeTableCellUp','locale','cell','_isForcedDefaultExecutionBlock','forceDefaultExecution','descriptionFactory','mergeTableCellLeft','tableCell','set:isEnabled','add','value','root','2943201nCzeNn','change','find','isEnabled','147nGRuOZ','_acceptFormatSuggestionCallbackFactory','selection','formatInline','requires','get','subType','splitTableCellVertically','$graveyard','type','getRanges','direction','markMultiRangeBlockFormat','format','*Split\x20cell:*\x20vertically','filter','document','size','_areMergableCells','getFirstPosition','setSelection','low','isInContent','from','deletion','_tablePostFixingSubtypes','refresh','author','mergeTableCells','15813351OgKFcE','table','enableCommand','getAncestors','registerDescriptionCallback','formatBlock','*Merge\x20cells*','mergeTableCellRight','_areSelectedCellsMergable','commands','horizontally','registerCustomCallback','mergeTableCellDown','getSelectionAffectedTableCells','4821240beKZHw','rootName','getSuggestions','fromRange','editor','getCellLocation','element','push','detach','highest','map','return','afterInit','createRangeOn','insertion','length','1vFYFoE','TableEditing','22008HYQajJ','splitTableCellHorizontally','execute','markBlockFormat','_suggestionFactory','TableUtils','commandName','stop','accept','model','findAncestor','has','1131718PQBLbJ','1252785ZrUBnI','containsRange','TrackChangesEditing','plugins','4128688gRpENu'];_0xd91a=function(){return _0x165856;};return _0xd91a();}import{Plugin as _0x5678fe}from'ckeditor5/src/core.js';function _0x28b4(_0x1c0ac4,_0x5d1051){const _0xd91a71=_0xd91a();return _0x28b4=function(_0x28b44a,_0x3a51c4){_0x28b44a=_0x28b44a-0xef;let _0x240711=_0xd91a71[_0x28b44a];return _0x240711;},_0x28b4(_0x1c0ac4,_0x5d1051);}import{TrackChangesTable as _0x467a53}from'./table.js';import{ModelLiveRange as _0x3b6477}from'ckeditor5/src/engine.js';import{getTranslation as _0x300f0f}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x5678fe{static get[_0x21ced7(0x12d)](){return[_0x467a53];}[_0x21ced7(0xfe)](){const _0x38ce3e=_0x21ced7,_0x38292b=this[_0x38ce3e(0xf6)],_0x3e719e=_0x38292b[_0x38ce3e(0x10d)][_0x38ce3e(0x139)][_0x38ce3e(0x12b)],_0x4279bf=_0x38292b[_0x38ce3e(0x11a)];if(!_0x38292b[_0x38ce3e(0x114)][_0x38ce3e(0x10f)](_0x38ce3e(0x103)))return;const _0x188980=_0x38292b[_0x38ce3e(0x114)][_0x38ce3e(0x12e)](_0x38ce3e(0x113)),_0x495290=_0x38292b[_0x38ce3e(0x114)][_0x38ce3e(0x12e)](_0x38ce3e(0x109)),_0x21f4f8=_0x38292b[_0x38ce3e(0x114)][_0x38ce3e(0x12e)](_0x467a53);_0x21f4f8[_0x38ce3e(0x142)][_0x38ce3e(0xf9)](_0x38ce3e(0x145)),_0x188980[_0x38ce3e(0x148)](_0x38ce3e(0x145),()=>{const _0x134c1f=_0x38ce3e,_0x268978=_0x495290[_0x134c1f(0xf1)](_0x38292b[_0x134c1f(0x10d)][_0x134c1f(0x139)][_0x134c1f(0x12b)]);_0x38292b[_0x134c1f(0x10d)][_0x134c1f(0x126)](()=>{const _0x41a327=_0x134c1f;_0x188980[_0x41a327(0x135)](_0x268978,{'commandName':_0x41a327(0x145),'commandParams':[]},[],_0x41a327(0x145));});}),_0x38292b[_0x38ce3e(0x14f)][_0x38ce3e(0x12e)](_0x38ce3e(0x145))['on'](_0x38ce3e(0x106),(_0x48346e,_0x3a8211)=>{const _0x2708a5=_0x38ce3e;_0x38292b[_0x2708a5(0x14f)][_0x2708a5(0x12e)](_0x2708a5(0x118))[_0x2708a5(0x123)]&&(_0x3a8211[_0x2708a5(0x101)]>0x0&&_0x3a8211[_0x3a8211[_0x2708a5(0x101)]-0x1]&&_0x3a8211[_0x3a8211[_0x2708a5(0x101)]-0x1][_0x2708a5(0x11d)]||_0x188980[_0x2708a5(0x11c)]||this[_0x2708a5(0x14e)]()||_0x48346e[_0x2708a5(0x10b)]());},{'priority':_0x38ce3e(0xfb)});for(const _0x4e67e0 of[_0x38ce3e(0x119),_0x38ce3e(0x14d),_0x38ce3e(0xf0),_0x38ce3e(0x11f)]){const _0x4fede7=_0x38292b[_0x38ce3e(0x14f)][_0x38ce3e(0x12e)](_0x4e67e0);_0x188980[_0x38ce3e(0x148)](_0x4e67e0,()=>{const _0x1ae250=_0x38ce3e,_0x357c09=_0x38292b[_0x1ae250(0x10d)][_0x1ae250(0x139)][_0x1ae250(0x12b)][_0x1ae250(0x13c)]()[_0x1ae250(0x149)]()[_0x1ae250(0x127)](_0x4f29a6=>_0x4f29a6['is'](_0x1ae250(0xf8),_0x1ae250(0x120))),_0x4a694e=_0x4fede7[_0x1ae250(0x123)];_0x38292b[_0x1ae250(0x10d)][_0x1ae250(0x126)](()=>{const _0x444d9b=_0x1ae250;_0x188980[_0x444d9b(0x135)]([_0x357c09,_0x4a694e],{'commandName':_0x444d9b(0x145),'commandParams':[]},[],_0x444d9b(0x145));});});}for(const _0x3fbfaf of[_0x38ce3e(0x130),_0x38ce3e(0x105)]){const _0x45b679=_0x38292b[_0x38ce3e(0x14f)][_0x38ce3e(0x12e)](_0x3fbfaf);_0x188980[_0x38ce3e(0x148)](_0x3fbfaf,()=>{const _0x37509a=_0x38ce3e,_0x55a20f=_0x495290[_0x37509a(0xf1)](_0x38292b[_0x37509a(0x10d)][_0x37509a(0x139)][_0x37509a(0x12b)])[0x0],_0x58008b=_0x55a20f[_0x37509a(0x10e)](_0x37509a(0x147)),{column:_0x8b353d,row:_0x16fdea}=_0x495290[_0x37509a(0xf7)](_0x55a20f);let _0x2d2f2f=[];if(_0x37509a(0x150)==_0x45b679[_0x37509a(0x134)]){const _0x3208f3=_0x495290[_0x37509a(0x117)](_0x58008b,{'startRow':_0x16fdea,'endRow':_0x16fdea,'includeAllSlots':!0x0});_0x2d2f2f=Array[_0x37509a(0x140)](_0x3208f3)[_0x37509a(0xfc)](_0x3629d1=>_0x3629d1[_0x37509a(0x11b)]);}else{const _0x44d437=_0x495290[_0x37509a(0x117)](_0x58008b,{'column':_0x8b353d,'includeAllSlots':!0x0});_0x2d2f2f=Array[_0x37509a(0x140)](_0x44d437)[_0x37509a(0xfc)](_0x3cd058=>_0x3cd058[_0x37509a(0x11b)]);}_0x38292b[_0x37509a(0x10d)][_0x37509a(0x126)](_0x4b231b=>{const _0x4c1299=_0x37509a;_0x188980[_0x4c1299(0x107)](_0x4b231b[_0x4c1299(0xff)](_0x55a20f),{'commandName':_0x3fbfaf,'commandParams':[]},_0x2d2f2f,_0x3fbfaf);});});}_0x188980[_0x38ce3e(0x11e)][_0x38ce3e(0x14a)](_0x3f4f7a=>{const _0x35d033=_0x38ce3e;if(_0x35d033(0x14b)!=_0x3f4f7a[_0x35d033(0x132)]&&_0x35d033(0x12c)!=_0x3f4f7a[_0x35d033(0x132)])return;const {data:_0x56b14a}=_0x3f4f7a;return _0x56b14a&&_0x35d033(0x145)==_0x56b14a[_0x35d033(0x10a)]?{'type':_0x35d033(0x136),'content':_0x300f0f(_0x4279bf,_0x35d033(0x14c))}:void 0x0;}),_0x188980[_0x38ce3e(0x11e)][_0x38ce3e(0x14a)](_0x45e12c=>{const _0xa27130=_0x38ce3e;if(_0xa27130(0x14b)!=_0x45e12c[_0xa27130(0x132)]&&_0xa27130(0x12c)!=_0x45e12c[_0xa27130(0x132)])return;const {data:_0x279156}=_0x45e12c;return _0x279156?_0xa27130(0x130)==_0x279156[_0xa27130(0x10a)]?{'type':_0xa27130(0x136),'content':_0x300f0f(_0x4279bf,_0xa27130(0x137))}:_0xa27130(0x105)==_0x279156[_0xa27130(0x10a)]?{'type':_0xa27130(0x136),'content':_0x300f0f(_0x4279bf,_0xa27130(0x116))}:void 0x0:void 0x0;});const _0x314104=_0x21f4f8[_0x38ce3e(0x12a)]();for(const _0x4d4f1b of[_0x38ce3e(0x119),_0x38ce3e(0x14d),_0x38ce3e(0xf0),_0x38ce3e(0x11f)])_0x188980[_0x38ce3e(0x108)][_0x38ce3e(0xef)](_0x38ce3e(0x14b),_0x4d4f1b,_0x38ce3e(0x10c),_0x314104);for(const _0x10665b of[_0x38ce3e(0x130),_0x38ce3e(0x105)])_0x188980[_0x38ce3e(0x108)][_0x38ce3e(0xef)](_0x38ce3e(0x14b),_0x10665b,_0x38ce3e(0x10c),_0x314104);_0x188980[_0x38ce3e(0x108)][_0x38ce3e(0xef)](_0x38ce3e(0x14b),_0x38ce3e(0x145),_0x38ce3e(0x10c),_0x4195f4=>{const _0xfe741a=_0x38ce3e;_0x38292b[_0xfe741a(0x10d)][_0xfe741a(0x126)](_0x441f23=>{const _0x102264=_0xfe741a,_0x310798=Array[_0x102264(0x140)](_0x3e719e[_0x102264(0x133)]())[_0x102264(0xfc)](_0x578958=>_0x3b6477[_0x102264(0xf5)](_0x578958));_0x441f23[_0x102264(0x13d)](_0x4195f4),_0x38292b[_0x102264(0x14f)][_0x102264(0x12e)](_0x102264(0x145))[_0x102264(0x143)](),_0x38292b[_0x102264(0x106)](_0x102264(0x145),{'forceDefaultExecution':!0x0});const _0x56a4ab=_0x310798[_0x102264(0x138)](_0x50ee99=>_0x102264(0x131)!=_0x50ee99[_0x102264(0x124)][_0x102264(0xf3)]);_0x56a4ab[_0x102264(0x101)]>0x0&&_0x441f23[_0x102264(0x13d)](_0x56a4ab);for(const _0x55b558 of _0x310798)_0x55b558[_0x102264(0xfa)]();});});for(const _0x2f98b5 of[_0x38ce3e(0x119),_0x38ce3e(0xf0),_0x38ce3e(0x11f),_0x38ce3e(0x14d)]){const _0x2d6e69=_0x38292b[_0x38ce3e(0x14f)][_0x38ce3e(0x12e)](_0x2f98b5);_0x2d6e69['on'](_0x38ce3e(0x121),(_0x3f9d19,_0x997929,_0x1a458c)=>{const _0x402e84=_0x38ce3e;if(_0x1a458c){const _0x329b92=_0x38292b[_0x402e84(0x10d)][_0x402e84(0x139)][_0x402e84(0x12b)][_0x402e84(0x13c)]()[_0x402e84(0x149)]()[_0x402e84(0x127)](_0x28c10e=>_0x28c10e['is'](_0x402e84(0xf8),_0x402e84(0x120)));this[_0x402e84(0x13b)](_0x2d6e69[_0x402e84(0x123)],_0x329b92)||(_0x3f9d19[_0x402e84(0xfd)]=!0x1,_0x3f9d19[_0x402e84(0x10b)]());}},{'priority':_0x38ce3e(0x13e)});}}[_0x21ced7(0x14e)](){const _0x3ffc07=_0x21ced7,_0x1207f0=this[_0x3ffc07(0xf6)][_0x3ffc07(0x14f)][_0x3ffc07(0x12e)](_0x3ffc07(0x145)),_0x133177=this[_0x3ffc07(0xf6)][_0x3ffc07(0x114)][_0x3ffc07(0x12e)](_0x3ffc07(0x109));if(!_0x1207f0[_0x3ffc07(0x128)])return!0x1;const _0x7d5e14=_0x133177[_0x3ffc07(0xf1)](this[_0x3ffc07(0xf6)][_0x3ffc07(0x10d)][_0x3ffc07(0x139)][_0x3ffc07(0x12b)]);for(const _0x7b8bcd of _0x7d5e14)for(const _0x16bfd4 of _0x7d5e14)if(_0x7b8bcd!=_0x16bfd4&&!this[_0x3ffc07(0x13b)](_0x7b8bcd,_0x16bfd4))return!0x1;return!0x0;}[_0x21ced7(0x13b)](_0x140575,_0x18c652){const _0x4319f8=_0x21ced7,_0x3e4caf=this[_0x4319f8(0xf6)][_0x4319f8(0x114)][_0x4319f8(0x12e)](_0x4319f8(0x113)),_0x11341f=this[_0x4319f8(0xf6)][_0x4319f8(0x10d)][_0x4319f8(0xff)](_0x140575),_0x470258=this[_0x4319f8(0xf6)][_0x4319f8(0x10d)][_0x4319f8(0xff)](_0x18c652),_0x9405b6=new Set(),_0x46fdba=new Set();for(const _0x262ae6 of _0x3e4caf[_0x4319f8(0xf4)]())if((_0x4319f8(0x100)==_0x262ae6[_0x4319f8(0x132)]||_0x4319f8(0x141)==_0x262ae6[_0x4319f8(0x132)]||_0x4319f8(0x145)==_0x262ae6[_0x4319f8(0x12f)])&&_0x262ae6[_0x4319f8(0x13f)]){for(const _0x366240 of _0x262ae6[_0x4319f8(0x133)]())_0x366240[_0x4319f8(0x112)](_0x11341f,!0x0)&&_0x9405b6[_0x4319f8(0x122)](_0x262ae6[_0x4319f8(0x132)]+':'+_0x262ae6[_0x4319f8(0x144)]['id']),_0x366240[_0x4319f8(0x112)](_0x470258,!0x0)&&_0x46fdba[_0x4319f8(0x122)](_0x262ae6[_0x4319f8(0x132)]+':'+_0x262ae6[_0x4319f8(0x144)]['id']);}if(_0x9405b6[_0x4319f8(0x13a)]!=_0x46fdba[_0x4319f8(0x13a)])return!0x1;for(const _0x520cc9 of _0x9405b6)if(!_0x46fdba[_0x4319f8(0x10f)](_0x520cc9))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x27f073=_0x31f2;(function(_0xa9df7c,_0x397b50){const _0x588fba=_0x31f2,_0x4e1df3=_0xa9df7c();while(!![]){try{const _0xf6dcb2=parseInt(_0x588fba(0x154))/0x1*(parseInt(_0x588fba(0x137))/0x2)+parseInt(_0x588fba(0x14a))/0x3*(parseInt(_0x588fba(0x133))/0x4)+parseInt(_0x588fba(0x104))/0x5*(-parseInt(_0x588fba(0xf1))/0x6)+-parseInt(_0x588fba(0x102))/0x7*(parseInt(_0x588fba(0x149))/0x8)+-parseInt(_0x588fba(0x120))/0x9*(-parseInt(_0x588fba(0x132))/0xa)+parseInt(_0x588fba(0x12b))/0xb+parseInt(_0x588fba(0x118))/0xc*(-parseInt(_0x588fba(0x119))/0xd);if(_0xf6dcb2===_0x397b50)break;else _0x4e1df3['push'](_0x4e1df3['shift']());}catch(_0x1bbb1f){_0x4e1df3['push'](_0x4e1df3['shift']());}}}(_0x4aa7,0xe1411));function _0x31f2(_0x51631d,_0x4b2791){const _0x4aa7a0=_0x4aa7();return _0x31f2=function(_0x31f20b,_0x5f3370){_0x31f20b=_0x31f20b-0xf0;let _0x3755c7=_0x4aa7a0[_0x31f20b];return _0x3755c7;},_0x31f2(_0x51631d,_0x4b2791);}import{Plugin as _0x43c4a0}from'ckeditor5/src/core.js';function _0x4aa7(){const _0x2c456c=['mergeTableCellRight','2031618pwEgCE','afterInit','root','registerCustomCallback','getRanges','length','containsRange','TrackChangesEditing','markBlockFormat','_acceptFormatSuggestionCallbackFactory','createTableWalker','setSelection','*Merge\x20cells*','change','registerDescriptionCallback','highest','author','set:isEnabled','1480MbmJDo','164037rnUGyF','mergeTableCells','getSuggestions','return','mergeTableCellLeft','from','stop','TableUtils','splitTableCellHorizontally','_isForcedDefaultExecutionBlock','1Vhdatc','getAncestors','getCellLocation','451614UmQXKS','tableCell','editor','TableEditing','splitTableCellVertically','table','size','_areSelectedCellsMergable','isInContent','execute','insertion','mergeTableCellDown','markMultiRangeBlockFormat','refresh','deletion','$graveyard','subType','59157HSLiCL','*Split\x20cell:*\x20horizontally','40CCnqZV','*Split\x20cell:*\x20vertically','getSelectionAffectedTableCells','fromRange','horizontally','model','document','mergeTableCellUp','find','trackChanges','_tablePostFixingSubtypes','enableCommand','has','value','formatBlock','descriptionFactory','findAncestor','requires','_suggestionFactory','get','1128hFfqQi','385034XbwLRT','filter','commandName','createRangeOn','forceDefaultExecution','push','low','62622siXHMQ','accept','cell','element','detach','format','direction','map','formatInline','locale','selection','20168159TbSGwb','_areMergableCells','commands','type','isEnabled','add','rootName','1830kebnUK','128MbcymZ','getFirstPosition','plugins'];_0x4aa7=function(){return _0x2c456c;};return _0x4aa7();}import{TrackChangesTable as _0x92b35b}from'./table.js';import{ModelLiveRange as _0x48ad22}from'ckeditor5/src/engine.js';import{getTranslation as _0x201e22}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x43c4a0{static get[_0x27f073(0x115)](){return[_0x92b35b];}[_0x27f073(0x138)](){const _0x3026ef=_0x27f073,_0xa2fe41=this[_0x3026ef(0xf3)],_0xb0b403=_0xa2fe41[_0x3026ef(0x109)][_0x3026ef(0x10a)][_0x3026ef(0x12a)],_0x2add3c=_0xa2fe41[_0x3026ef(0x129)];if(!_0xa2fe41[_0x3026ef(0x135)][_0x3026ef(0x110)](_0x3026ef(0xf4)))return;const _0x19101f=_0xa2fe41[_0x3026ef(0x135)][_0x3026ef(0x117)](_0x3026ef(0x13e)),_0xa89c31=_0xa2fe41[_0x3026ef(0x135)][_0x3026ef(0x117)](_0x3026ef(0x151)),_0x187e8e=_0xa2fe41[_0x3026ef(0x135)][_0x3026ef(0x117)](_0x92b35b);_0x187e8e[_0x3026ef(0x10e)][_0x3026ef(0x11e)](_0x3026ef(0x14b)),_0x19101f[_0x3026ef(0x10f)](_0x3026ef(0x14b),()=>{const _0x552986=_0x3026ef,_0x115f7c=_0xa89c31[_0x552986(0x106)](_0xa2fe41[_0x552986(0x109)][_0x552986(0x10a)][_0x552986(0x12a)]);_0xa2fe41[_0x552986(0x109)][_0x552986(0x144)](()=>{const _0x27267a=_0x552986;_0x19101f[_0x27267a(0xfd)](_0x115f7c,{'commandName':_0x27267a(0x14b),'commandParams':[]},[],_0x27267a(0x14b));});}),_0xa2fe41[_0x3026ef(0x12d)][_0x3026ef(0x117)](_0x3026ef(0x14b))['on'](_0x3026ef(0xfa),(_0x1b5c93,_0x3bbaf2)=>{const _0x4b161d=_0x3026ef;_0xa2fe41[_0x4b161d(0x12d)][_0x4b161d(0x117)](_0x4b161d(0x10d))[_0x4b161d(0x111)]&&(_0x3bbaf2[_0x4b161d(0x13c)]>0x0&&_0x3bbaf2[_0x3bbaf2[_0x4b161d(0x13c)]-0x1]&&_0x3bbaf2[_0x3bbaf2[_0x4b161d(0x13c)]-0x1][_0x4b161d(0x11d)]||_0x19101f[_0x4b161d(0x153)]||this[_0x4b161d(0xf8)]()||_0x1b5c93[_0x4b161d(0x150)]());},{'priority':_0x3026ef(0x146)});for(const _0x50a8ac of[_0x3026ef(0x10b),_0x3026ef(0x136),_0x3026ef(0xfc),_0x3026ef(0x14e)]){const _0x4bd648=_0xa2fe41[_0x3026ef(0x12d)][_0x3026ef(0x117)](_0x50a8ac);_0x19101f[_0x3026ef(0x10f)](_0x50a8ac,()=>{const _0x12e512=_0x3026ef,_0xb70b1a=_0xa2fe41[_0x12e512(0x109)][_0x12e512(0x10a)][_0x12e512(0x12a)][_0x12e512(0x134)]()[_0x12e512(0x155)]()[_0x12e512(0x10c)](_0x54726a=>_0x54726a['is'](_0x12e512(0x123),_0x12e512(0xf2))),_0x50aa7e=_0x4bd648[_0x12e512(0x111)];_0xa2fe41[_0x12e512(0x109)][_0x12e512(0x144)](()=>{const _0x576deb=_0x12e512;_0x19101f[_0x576deb(0xfd)]([_0xb70b1a,_0x50aa7e],{'commandName':_0x576deb(0x14b),'commandParams':[]},[],_0x576deb(0x14b));});});}for(const _0x4d95a3 of[_0x3026ef(0xf5),_0x3026ef(0x152)]){const _0x3c0476=_0xa2fe41[_0x3026ef(0x12d)][_0x3026ef(0x117)](_0x4d95a3);_0x19101f[_0x3026ef(0x10f)](_0x4d95a3,()=>{const _0x37e171=_0x3026ef,_0xfbc1cc=_0xa89c31[_0x37e171(0x106)](_0xa2fe41[_0x37e171(0x109)][_0x37e171(0x10a)][_0x37e171(0x12a)])[0x0],_0x17d4b4=_0xfbc1cc[_0x37e171(0x114)](_0x37e171(0xf6)),{column:_0x58c84e,row:_0x4446f2}=_0xa89c31[_0x37e171(0xf0)](_0xfbc1cc);let _0x18d52b=[];if(_0x37e171(0x108)==_0x3c0476[_0x37e171(0x126)]){const _0x2dfb26=_0xa89c31[_0x37e171(0x141)](_0x17d4b4,{'startRow':_0x4446f2,'endRow':_0x4446f2,'includeAllSlots':!0x0});_0x18d52b=Array[_0x37e171(0x14f)](_0x2dfb26)[_0x37e171(0x127)](_0x2be29c=>_0x2be29c[_0x37e171(0x122)]);}else{const _0x43def8=_0xa89c31[_0x37e171(0x141)](_0x17d4b4,{'column':_0x58c84e,'includeAllSlots':!0x0});_0x18d52b=Array[_0x37e171(0x14f)](_0x43def8)[_0x37e171(0x127)](_0x306890=>_0x306890[_0x37e171(0x122)]);}_0xa2fe41[_0x37e171(0x109)][_0x37e171(0x144)](_0x356a37=>{const _0x30c4b4=_0x37e171;_0x19101f[_0x30c4b4(0x13f)](_0x356a37[_0x30c4b4(0x11c)](_0xfbc1cc),{'commandName':_0x4d95a3,'commandParams':[]},_0x18d52b,_0x4d95a3);});});}_0x19101f[_0x3026ef(0x113)][_0x3026ef(0x145)](_0x470274=>{const _0x12922b=_0x3026ef;if(_0x12922b(0x112)!=_0x470274[_0x12922b(0x12e)]&&_0x12922b(0x128)!=_0x470274[_0x12922b(0x12e)])return;const {data:_0x319f4b}=_0x470274;return _0x319f4b&&_0x12922b(0x14b)==_0x319f4b[_0x12922b(0x11b)]?{'type':_0x12922b(0x125),'content':_0x201e22(_0x2add3c,_0x12922b(0x143))}:void 0x0;}),_0x19101f[_0x3026ef(0x113)][_0x3026ef(0x145)](_0x4012b0=>{const _0x2782b6=_0x3026ef;if(_0x2782b6(0x112)!=_0x4012b0[_0x2782b6(0x12e)]&&_0x2782b6(0x128)!=_0x4012b0[_0x2782b6(0x12e)])return;const {data:_0x18b61b}=_0x4012b0;return _0x18b61b?_0x2782b6(0xf5)==_0x18b61b[_0x2782b6(0x11b)]?{'type':_0x2782b6(0x125),'content':_0x201e22(_0x2add3c,_0x2782b6(0x105))}:_0x2782b6(0x152)==_0x18b61b[_0x2782b6(0x11b)]?{'type':_0x2782b6(0x125),'content':_0x201e22(_0x2add3c,_0x2782b6(0x103))}:void 0x0:void 0x0;});const _0x5cae23=_0x187e8e[_0x3026ef(0x140)]();for(const _0xa4272b of[_0x3026ef(0x10b),_0x3026ef(0x136),_0x3026ef(0xfc),_0x3026ef(0x14e)])_0x19101f[_0x3026ef(0x116)][_0x3026ef(0x13a)](_0x3026ef(0x112),_0xa4272b,_0x3026ef(0x121),_0x5cae23);for(const _0x439ea3 of[_0x3026ef(0xf5),_0x3026ef(0x152)])_0x19101f[_0x3026ef(0x116)][_0x3026ef(0x13a)](_0x3026ef(0x112),_0x439ea3,_0x3026ef(0x121),_0x5cae23);_0x19101f[_0x3026ef(0x116)][_0x3026ef(0x13a)](_0x3026ef(0x112),_0x3026ef(0x14b),_0x3026ef(0x121),_0x498a1e=>{const _0x26da06=_0x3026ef;_0xa2fe41[_0x26da06(0x109)][_0x26da06(0x144)](_0x379626=>{const _0x3a87ff=_0x26da06,_0x20e888=Array[_0x3a87ff(0x14f)](_0xb0b403[_0x3a87ff(0x13b)]())[_0x3a87ff(0x127)](_0x5941f1=>_0x48ad22[_0x3a87ff(0x107)](_0x5941f1));_0x379626[_0x3a87ff(0x142)](_0x498a1e),_0xa2fe41[_0x3a87ff(0x12d)][_0x3a87ff(0x117)](_0x3a87ff(0x14b))[_0x3a87ff(0xfe)](),_0xa2fe41[_0x3a87ff(0xfa)](_0x3a87ff(0x14b),{'forceDefaultExecution':!0x0});const _0x2719f0=_0x20e888[_0x3a87ff(0x11a)](_0x23e81c=>_0x3a87ff(0x100)!=_0x23e81c[_0x3a87ff(0x139)][_0x3a87ff(0x131)]);_0x2719f0[_0x3a87ff(0x13c)]>0x0&&_0x379626[_0x3a87ff(0x142)](_0x2719f0);for(const _0x267788 of _0x20e888)_0x267788[_0x3a87ff(0x124)]();});});for(const _0x1c45fe of[_0x3026ef(0x10b),_0x3026ef(0xfc),_0x3026ef(0x14e),_0x3026ef(0x136)]){const _0x31cd8a=_0xa2fe41[_0x3026ef(0x12d)][_0x3026ef(0x117)](_0x1c45fe);_0x31cd8a['on'](_0x3026ef(0x148),(_0x23ef6b,_0x4c85d2,_0x3cdbcc)=>{const _0x20dfca=_0x3026ef;if(_0x3cdbcc){const _0x4265a3=_0xa2fe41[_0x20dfca(0x109)][_0x20dfca(0x10a)][_0x20dfca(0x12a)][_0x20dfca(0x134)]()[_0x20dfca(0x155)]()[_0x20dfca(0x10c)](_0x2edfc5=>_0x2edfc5['is'](_0x20dfca(0x123),_0x20dfca(0xf2)));this[_0x20dfca(0x12c)](_0x31cd8a[_0x20dfca(0x111)],_0x4265a3)||(_0x23ef6b[_0x20dfca(0x14d)]=!0x1,_0x23ef6b[_0x20dfca(0x150)]());}},{'priority':_0x3026ef(0x11f)});}}[_0x27f073(0xf8)](){const _0x2f0768=_0x27f073,_0x165425=this[_0x2f0768(0xf3)][_0x2f0768(0x12d)][_0x2f0768(0x117)](_0x2f0768(0x14b)),_0x300053=this[_0x2f0768(0xf3)][_0x2f0768(0x135)][_0x2f0768(0x117)](_0x2f0768(0x151));if(!_0x165425[_0x2f0768(0x12f)])return!0x1;const _0x216aa1=_0x300053[_0x2f0768(0x106)](this[_0x2f0768(0xf3)][_0x2f0768(0x109)][_0x2f0768(0x10a)][_0x2f0768(0x12a)]);for(const _0x565cb3 of _0x216aa1)for(const _0x4636f2 of _0x216aa1)if(_0x565cb3!=_0x4636f2&&!this[_0x2f0768(0x12c)](_0x565cb3,_0x4636f2))return!0x1;return!0x0;}[_0x27f073(0x12c)](_0x50b363,_0x11b372){const _0x48b67c=_0x27f073,_0x314350=this[_0x48b67c(0xf3)][_0x48b67c(0x135)][_0x48b67c(0x117)](_0x48b67c(0x13e)),_0x2d0d54=this[_0x48b67c(0xf3)][_0x48b67c(0x109)][_0x48b67c(0x11c)](_0x50b363),_0x5bb34d=this[_0x48b67c(0xf3)][_0x48b67c(0x109)][_0x48b67c(0x11c)](_0x11b372),_0x198451=new Set(),_0x2800d1=new Set();for(const _0x5f5c18 of _0x314350[_0x48b67c(0x14c)]())if((_0x48b67c(0xfb)==_0x5f5c18[_0x48b67c(0x12e)]||_0x48b67c(0xff)==_0x5f5c18[_0x48b67c(0x12e)]||_0x48b67c(0x14b)==_0x5f5c18[_0x48b67c(0x101)])&&_0x5f5c18[_0x48b67c(0xf9)]){for(const _0x291944 of _0x5f5c18[_0x48b67c(0x13b)]())_0x291944[_0x48b67c(0x13d)](_0x2d0d54,!0x0)&&_0x198451[_0x48b67c(0x130)](_0x5f5c18[_0x48b67c(0x12e)]+':'+_0x5f5c18[_0x48b67c(0x147)]['id']),_0x291944[_0x48b67c(0x13d)](_0x5bb34d,!0x0)&&_0x2800d1[_0x48b67c(0x130)](_0x5f5c18[_0x48b67c(0x12e)]+':'+_0x5f5c18[_0x48b67c(0x147)]['id']);}if(_0x198451[_0x48b67c(0xf7)]!=_0x2800d1[_0x48b67c(0xf7)])return!0x1;for(const _0x1ce664 of _0x198451)if(!_0x2800d1[_0x48b67c(0x110)](_0x1ce664))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x19f3(_0x2b89df,_0x466ba3){const _0x589ad4=_0x589a();return _0x19f3=function(_0x19f390,_0x1cd323){_0x19f390=_0x19f390-0x87;let _0x2c5558=_0x589ad4[_0x19f390];return _0x2c5558;},_0x19f3(_0x2b89df,_0x466ba3);}const _0x550ac1=_0x19f3;(function(_0x34f023,_0x427f26){const _0x241112=_0x19f3,_0xd85429=_0x34f023();while(!![]){try{const _0x48e077=parseInt(_0x241112(0x8c))/0x1*(-parseInt(_0x241112(0x9d))/0x2)+parseInt(_0x241112(0x9b))/0x3*(parseInt(_0x241112(0x88))/0x4)+-parseInt(_0x241112(0x87))/0x5+parseInt(_0x241112(0x91))/0x6+parseInt(_0x241112(0x96))/0x7*(parseInt(_0x241112(0x94))/0x8)+parseInt(_0x241112(0x8b))/0x9+-parseInt(_0x241112(0x99))/0xa;if(_0x48e077===_0x427f26)break;else _0xd85429['push'](_0xd85429['shift']());}catch(_0x5b73bd){_0xd85429['push'](_0xd85429['shift']());}}}(_0x589a,0xb0546));import{Plugin as _0x424d8e}from'ckeditor5/src/core.js';import{getTranslation as _0x3359f3}from'../utils/common-translations.js';function _0x589a(){const _0x1a0bfe=['get','3562410ygEIGV','tableOfContents','198hOzCXF','descriptionFactory','291286rxHwyE','4721895rVDKyh','6624eRhtts','plugins','ELEMENT_TABLE_OF_CONTENTS','5095890huulHx','4UiRtBy','editor','enableCommand','afterInit','commands','7859814ExiWKq','locale','insertTableOfContents','2648TBOKof','registerElementLabel','13111JnYIMU','TrackChangesEditing'];_0x589a=function(){return _0x1a0bfe;};return _0x589a();}export class TrackChangesTableOfContents extends _0x424d8e{[_0x550ac1(0x8f)](){const _0x531e31=_0x550ac1,_0x3ec9ef=this[_0x531e31(0x8d)];if(!_0x3ec9ef[_0x531e31(0x90)][_0x531e31(0x98)](_0x531e31(0x93)))return;_0x3ec9ef[_0x531e31(0x89)][_0x531e31(0x98)](_0x531e31(0x97))[_0x531e31(0x8e)](_0x531e31(0x93));const _0xeb107c=_0x3ec9ef[_0x531e31(0x89)][_0x531e31(0x98)](_0x531e31(0x97)),_0x461125=_0x3ec9ef[_0x531e31(0x92)];_0xeb107c[_0x531e31(0x9c)][_0x531e31(0x95)](_0x531e31(0x9a),_0x460f12=>_0x3359f3(_0x461125,_0x531e31(0x8a),_0x460f12));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f9a95=_0x92cc;(function(_0x538d90,_0x54a42c){const _0x54b65d=_0x92cc,_0x4d7974=_0x538d90();while(!![]){try{const _0x389cb7=parseInt(_0x54b65d(0xf2))/0x1+-parseInt(_0x54b65d(0x10b))/0x2+-parseInt(_0x54b65d(0xf6))/0x3+-parseInt(_0x54b65d(0xef))/0x4+parseInt(_0x54b65d(0x11a))/0x5*(parseInt(_0x54b65d(0xe1))/0x6)+-parseInt(_0x54b65d(0xf7))/0x7+parseInt(_0x54b65d(0x101))/0x8*(parseInt(_0x54b65d(0x11d))/0x9);if(_0x389cb7===_0x54a42c)break;else _0x4d7974['push'](_0x4d7974['shift']());}catch(_0x533fcf){_0x4d7974['push'](_0x4d7974['shift']());}}}(_0x3da9,0xe2b98));import{Plugin as _0x8fd8ea}from'ckeditor5/src/core.js';function _0x92cc(_0x30a708,_0x25d8b3){const _0x3da968=_0x3da9();return _0x92cc=function(_0x92ccc6,_0x32decf){_0x92ccc6=_0x92ccc6-0xd9;let _0x2f9bc5=_0x3da968[_0x92ccc6];return _0x2f9bc5;},_0x92cc(_0x30a708,_0x25d8b3);}import{getTranslation as _0x78aecb}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x8fd8ea{[_0x4f9a95(0xdd)];[_0x4f9a95(0xfc)];constructor(_0x4235c3){const _0x1ac7ad=_0x4f9a95;super(_0x4235c3),this[_0x1ac7ad(0xdd)]=[_0x1ac7ad(0xff),_0x1ac7ad(0xf9),_0x1ac7ad(0xe9),_0x1ac7ad(0x127),_0x1ac7ad(0xe8),_0x1ac7ad(0xe5),_0x1ac7ad(0xf4)],this[_0x1ac7ad(0xfc)]=[_0x1ac7ad(0xfe),_0x1ac7ad(0xe4),_0x1ac7ad(0x116),_0x1ac7ad(0x113),_0x1ac7ad(0xe6),_0x1ac7ad(0xde),_0x1ac7ad(0x103),_0x1ac7ad(0xdb),_0x1ac7ad(0x117)];}static get[_0x4f9a95(0x110)](){const _0xb6ae50=_0x4f9a95;return _0xb6ae50(0x11e);}static get[_0x4f9a95(0x122)](){return!0x0;}static get[_0x4f9a95(0xfa)](){return!0x0;}[_0x4f9a95(0xea)](){const _0x1b93fa=_0x4f9a95,_0x12aad0=this[_0x1b93fa(0x125)][_0x1b93fa(0xda)][_0x1b93fa(0xf3)](_0x1b93fa(0xdf));if(this[_0x1b93fa(0x125)][_0x1b93fa(0xda)][_0x1b93fa(0x119)](_0x1b93fa(0x100))){for(const _0x38ace3 of this[_0x1b93fa(0xdd)])_0x12aad0[_0x1b93fa(0x10f)](_0x38ace3,(_0x3e7b4f,_0x873acb)=>{const _0x4e6fb5=_0x1b93fa,_0xd63b2f=this[_0x4e6fb5(0x125)][_0x4e6fb5(0x121)][_0x4e6fb5(0x118)][_0x4e6fb5(0x102)][_0x4e6fb5(0x115)]()[_0x4e6fb5(0xe7)](_0x4e6fb5(0x104));this[_0x4e6fb5(0x108)](_0x38ace3,[_0xd63b2f],this[_0x4e6fb5(0xdd)],_0x4e6fb5(0xdd),_0x3e7b4f,_0x873acb);});_0x12aad0[_0x1b93fa(0x106)][_0x1b93fa(0x11c)](_0x1b93fa(0x11f),_0x1b93fa(0xdd),_0x1b93fa(0xf8),_0x12aad0[_0x1b93fa(0x106)][_0x1b93fa(0xe3)](_0x1b93fa(0x11f),null,_0x1b93fa(0x114))),_0x12aad0[_0x1b93fa(0x106)][_0x1b93fa(0x11c)](_0x1b93fa(0x11f),_0x1b93fa(0xdd),_0x1b93fa(0x114),(_0x1f59d7,_0x1310ce)=>this[_0x1b93fa(0xec)](this[_0x1b93fa(0xdd)],_0x1f59d7,_0x1310ce)),_0x12aad0[_0x1b93fa(0x106)][_0x1b93fa(0x11c)](_0x1b93fa(0x11f),_0x1b93fa(0xdd),_0x1b93fa(0xdc),()=>!0x1);}if(this[_0x1b93fa(0x125)][_0x1b93fa(0xda)][_0x1b93fa(0x119)](_0x1b93fa(0xf5))){for(const _0x4b50c7 of this[_0x1b93fa(0xfc)])_0x12aad0[_0x1b93fa(0x10f)](_0x4b50c7,(_0x300657,_0x135681)=>{const _0x21c21d=_0x1b93fa,_0x413949=this[_0x21c21d(0x125)][_0x21c21d(0xda)][_0x21c21d(0xf3)](_0x21c21d(0x112))[_0x21c21d(0xfb)](this[_0x21c21d(0x125)][_0x21c21d(0x121)][_0x21c21d(0x118)][_0x21c21d(0x102)]);this[_0x21c21d(0x108)](_0x4b50c7,_0x413949,this[_0x21c21d(0xfc)],_0x21c21d(0xfc),_0x300657,_0x135681);});_0x12aad0[_0x1b93fa(0x106)][_0x1b93fa(0x11c)](_0x1b93fa(0x11f),_0x1b93fa(0xfc),_0x1b93fa(0xf8),_0x12aad0[_0x1b93fa(0x106)][_0x1b93fa(0xe3)](_0x1b93fa(0x11f),null,_0x1b93fa(0x114))),_0x12aad0[_0x1b93fa(0x106)][_0x1b93fa(0x11c)](_0x1b93fa(0x11f),_0x1b93fa(0xfc),_0x1b93fa(0x114),(_0x5718c7,_0x3f0344)=>this[_0x1b93fa(0xec)](this[_0x1b93fa(0xfc)],_0x5718c7,_0x3f0344)),_0x12aad0[_0x1b93fa(0x106)][_0x1b93fa(0x11c)](_0x1b93fa(0x11f),_0x1b93fa(0xfc),_0x1b93fa(0xdc),()=>!0x1);}_0x12aad0[_0x1b93fa(0x10c)][_0x1b93fa(0xe0)](_0x3cb9e8=>this[_0x1b93fa(0xf1)](_0x3cb9e8));}[_0x4f9a95(0x108)](_0x2d6985,_0x537f7b,_0x20a049,_0x5b221a,_0x2d8d0c,_0x2786a5){const _0x159083=_0x4f9a95,_0x4b283a=this[_0x159083(0x125)][_0x159083(0xda)][_0x159083(0xf3)](_0x159083(0xdf));this[_0x159083(0x125)][_0x159083(0x121)][_0x159083(0xeb)](_0x2786a5[_0x159083(0x111)],()=>{const _0x1f574b=_0x159083;for(const _0x38efc5 of _0x537f7b){if(this[_0x1f574b(0xf0)](_0x38efc5,_0x5b221a))_0x2d8d0c(_0x2786a5);else{const _0x345945={};for(const _0x1bfbf5 of _0x20a049){const _0x2eafdb=_0x38efc5[_0x1f574b(0x126)](_0x1bfbf5);void 0x0!==_0x2eafdb&&(_0x345945[_0x1bfbf5]=_0x2eafdb);}_0x2d8d0c(_0x2786a5),_0x4b283a[_0x1f574b(0x109)](_0x38efc5,{'commandParams':[_0x345945]},[],_0x5b221a);}}});}[_0x4f9a95(0xec)](_0xed671c,_0x4d8751,_0x21ab64){const _0xeb4c2=_0x4f9a95,_0x2f279c=_0x4d8751[0x0][_0xeb4c2(0x10a)][_0xeb4c2(0xd9)],_0xb1b01a=_0x21ab64[_0xeb4c2(0x120)][0x0];this[_0xeb4c2(0x125)][_0xeb4c2(0x121)][_0xeb4c2(0x107)](_0xa33fed=>{const _0x3f615a=_0xeb4c2;for(const _0x58272d of _0xed671c)void 0x0!==_0xb1b01a[_0x58272d]?_0xa33fed[_0x3f615a(0x11b)](_0x58272d,_0xb1b01a[_0x58272d],_0x2f279c):_0xa33fed[_0x3f615a(0x10e)](_0x58272d,_0x2f279c);});}[_0x4f9a95(0xf1)](_0x7e8406){const _0x2e12fb=_0x4f9a95;if(_0x7e8406[_0x2e12fb(0xe2)])switch(_0x7e8406[_0x2e12fb(0x124)]){case _0x2e12fb(0xdd):return{'type':_0x2e12fb(0xfd),'content':_0x78aecb(this[_0x2e12fb(0x125)][_0x2e12fb(0x123)],_0x2e12fb(0xee))};case _0x2e12fb(0xfc):return{'type':_0x2e12fb(0xfd),'content':_0x78aecb(this[_0x2e12fb(0x125)][_0x2e12fb(0x123)],_0x2e12fb(0x105))};}}[_0x4f9a95(0xf0)](_0x14980c,_0x1d7a13){const _0x1e6643=_0x4f9a95,_0x41498b=this[_0x1e6643(0x125)][_0x1e6643(0xda)][_0x1e6643(0xf3)](_0x1e6643(0xdf));for(const _0x4be515 of _0x41498b[_0x1e6643(0x10d)]({'skipNotAttached':!0x0})){const _0x4f1e18=_0x4be515[_0x1e6643(0xed)]();if(_0x4be515[_0x1e6643(0x124)]===_0x1d7a13&&_0x4f1e18===_0x14980c)return _0x4be515;}return null;}}function _0x3da9(){const _0x415c6f=['*Format:*\x20change\x20table\x20properties','3554656JHYyxl','_getSuggestion','handleSuggestionDescription','874597PcinuR','get','tableBackgroundColor','TableCellPropertiesEditing','942714gCXDhY','378630NUmlNp','accept','tableBorderStyle','isPremiumPlugin','getSelectionAffectedTableCells','tableCellProperties','format','tableCellBorderColor','tableBorderColor','TablePropertiesEditing','16ShBaTZ','selection','tableCellBackgroundColor','table','*Format:*\x20change\x20table\x20cell\x20properties','_suggestionFactory','change','_handlePropertyChange','markBlockFormat','start','1524406rADwft','descriptionFactory','getSuggestions','removeAttribute','enableCommand','pluginName','batch','TableUtils','tableCellPadding','discard','getFirstPosition','tableCellBorderWidth','tableCellVerticalAlignment','document','has','20aWmytA','setAttribute','registerCustomCallback','7784433EVerPG','TrackChangesTableProperties','formatBlock','commandParams','model','isOfficialPlugin','locale','subType','editor','getAttribute','tableAlignment','nodeAfter','plugins','tableCellHorizontalAlignment','join','tableProperties','tableCellHeight','TrackChangesEditing','registerDescriptionCallback','515082ArKLoQ','data','getSuggestionCallback','tableCellBorderStyle','tableHeight','tableCellWidth','findAncestor','tableWidth','tableBorderWidth','afterInit','enqueueChange','handleDiscardAction','getContainedElement'];_0x3da9=function(){return _0x415c6f;};return _0x3da9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1398e7=_0x348e;(function(_0x127fbc,_0x3061ae){const _0x16a31e=_0x348e,_0x4ab5fb=_0x127fbc();while(!![]){try{const _0x1b7240=-parseInt(_0x16a31e(0xba))/0x1+parseInt(_0x16a31e(0xc1))/0x2*(-parseInt(_0x16a31e(0xb9))/0x3)+parseInt(_0x16a31e(0xc0))/0x4*(-parseInt(_0x16a31e(0xbb))/0x5)+-parseInt(_0x16a31e(0xc6))/0x6+parseInt(_0x16a31e(0xb8))/0x7*(-parseInt(_0x16a31e(0xb6))/0x8)+-parseInt(_0x16a31e(0xbf))/0x9*(-parseInt(_0x16a31e(0xbd))/0xa)+-parseInt(_0x16a31e(0xb4))/0xb*(-parseInt(_0x16a31e(0xc4))/0xc);if(_0x1b7240===_0x3061ae)break;else _0x4ab5fb['push'](_0x4ab5fb['shift']());}catch(_0xc026a0){_0x4ab5fb['push'](_0x4ab5fb['shift']());}}}(_0x246a,0xa5969));import{Plugin as _0x384677}from'ckeditor5/src/core.js';function _0x246a(){const _0x6eaecc=['334SwdpCx','has','TrackChangesEditing','168468dndwBg','editor','4073808LgYGCQ','enableCommand','insertTemplate','2519pzLJwI','get','295928tNDvvr','plugins','49aEuStP','5031NQkXsa','453648tvgRnB','26490mwOECP','afterInit','1317020MDqZYG','Template','18pXNuJh','852CIeApg'];_0x246a=function(){return _0x6eaecc;};return _0x246a();}function _0x348e(_0x201c4e,_0x583570){const _0x246a77=_0x246a();return _0x348e=function(_0x348eda,_0x2ff457){_0x348eda=_0x348eda-0xb4;let _0x55e47e=_0x246a77[_0x348eda];return _0x55e47e;},_0x348e(_0x201c4e,_0x583570);}export class TrackChangesTemplate extends _0x384677{[_0x1398e7(0xbc)](){const _0x376494=_0x1398e7,_0x3e61cc=this[_0x376494(0xc5)];_0x3e61cc[_0x376494(0xb7)][_0x376494(0xc2)](_0x376494(0xbe))&&_0x3e61cc[_0x376494(0xb7)][_0x376494(0xb5)](_0x376494(0xc3))[_0x376494(0xc7)](_0x376494(0xc8));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13aa80=_0x36ff;function _0x24a2(){const _0x4808a6=['32kbYogb','removeMarker','_splitMarkerName','from','editor','plugins','isEqual','end','ELEMENT_TITLE','1Zzyxsa','locale','newRange','getChangedMarkers','154469svDOFi','document','registerElementLabel','registerPostFixer','suggestion','3185091gWvPyW','isCollapsed','schema','1858834AgGxBs','Title','3378530FGYzmT','getNearestSelectionRange','TrackChangesEditing','differ','element','get','title-content','createRange','isTouching','model','has','6000765dfSPgW','descriptionFactory','forward','449922BUMlsV','nodeBefore','start','1246128vihKBt','afterInit','updateMarker','336UxbPAm'];_0x24a2=function(){return _0x4808a6;};return _0x24a2();}function _0x36ff(_0x2f92bc,_0x13f77c){const _0x24a241=_0x24a2();return _0x36ff=function(_0x36ffd9,_0x2eadaf){_0x36ffd9=_0x36ffd9-0xe6;let _0xa9d437=_0x24a241[_0x36ffd9];return _0xa9d437;},_0x36ff(_0x2f92bc,_0x13f77c);}(function(_0x474562,_0x412178){const _0x139267=_0x36ff,_0x390c0b=_0x474562();while(!![]){try{const _0x2c32cd=-parseInt(_0x139267(0x10f))/0x1*(parseInt(_0x139267(0xef))/0x2)+-parseInt(_0x139267(0xff))/0x3*(-parseInt(_0x139267(0x106))/0x4)+parseInt(_0x139267(0xfc))/0x5+parseInt(_0x139267(0x102))/0x6+-parseInt(_0x139267(0xe7))/0x7*(parseInt(_0x139267(0x105))/0x8)+parseInt(_0x139267(0xec))/0x9+-parseInt(_0x139267(0xf1))/0xa;if(_0x2c32cd===_0x412178)break;else _0x390c0b['push'](_0x390c0b['shift']());}catch(_0x3c3b8c){_0x390c0b['push'](_0x390c0b['shift']());}}}(_0x24a2,0xbb5d8));import{Plugin as _0xea5248}from'ckeditor5/src/core.js';import{getTranslation as _0x46be1f}from'../utils/common-translations.js';export class TrackChangesTitle extends _0xea5248{[_0x13aa80(0x103)](){const _0x354b6c=_0x13aa80,_0x36cbad=this[_0x354b6c(0x10a)];if(!_0x36cbad[_0x354b6c(0x10b)][_0x354b6c(0xfb)](_0x354b6c(0xf0)))return;const _0x5f5165=_0x36cbad[_0x354b6c(0x10b)][_0x354b6c(0xf6)](_0x354b6c(0xf3));_0x5f5165[_0x354b6c(0xfd)][_0x354b6c(0xe9)](_0x354b6c(0xf7),()=>_0x46be1f(_0x36cbad[_0x354b6c(0x110)],_0x354b6c(0x10e))),_0x36cbad[_0x354b6c(0xfa)][_0x354b6c(0xe8)][_0x354b6c(0xea)](_0x5dcf58=>{const _0x341b2c=_0x354b6c;let _0x279297=!0x1;const _0x55211c=Array[_0x341b2c(0x109)](_0x36cbad[_0x341b2c(0xfa)][_0x341b2c(0xe8)][_0x341b2c(0xf4)][_0x341b2c(0xe6)]());for(const {name:_0x284bec,data:_0x1ecdb6}of _0x55211c){const {group:_0x398a0f}=_0x5f5165[_0x341b2c(0x108)](_0x284bec);if(_0x341b2c(0xeb)!==_0x398a0f||!_0x1ecdb6[_0x341b2c(0x111)])continue;const _0x817fd0=_0x1ecdb6[_0x341b2c(0x111)],_0x201019=_0x817fd0[_0x341b2c(0x10d)][_0x341b2c(0x100)];if(!_0x201019||!_0x201019['is'](_0x341b2c(0xf5),_0x341b2c(0xf7)))continue;if(!_0x817fd0[_0x341b2c(0x101)][_0x341b2c(0xf9)](_0x817fd0[_0x341b2c(0x10d)]))continue;const _0x2f1ac8=_0x36cbad[_0x341b2c(0xfa)][_0x341b2c(0xee)][_0x341b2c(0xf2)](_0x817fd0[_0x341b2c(0x10d)],_0x341b2c(0xfe));if(_0x2f1ac8&&_0x2f1ac8[_0x341b2c(0xed)]){const _0x2f0111=_0x5dcf58[_0x341b2c(0xf8)](_0x817fd0[_0x341b2c(0x101)],_0x2f1ac8[_0x341b2c(0x101)]);_0x2f0111[_0x341b2c(0x10c)](_0x817fd0)||(_0x5dcf58[_0x341b2c(0x104)](_0x284bec,{'range':_0x2f0111}),_0x279297=!0x0);}_0x279297||(_0x5dcf58[_0x341b2c(0x107)](_0x284bec),_0x279297=!0x0);}return _0x279297;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47cc16=_0x2083;(function(_0xc0649d,_0x464bcd){const _0x461b67=_0x2083,_0x17555c=_0xc0649d();while(!![]){try{const _0x5f4841=parseInt(_0x461b67(0x18a))/0x1*(parseInt(_0x461b67(0x192))/0x2)+-parseInt(_0x461b67(0x199))/0x3+parseInt(_0x461b67(0x198))/0x4*(-parseInt(_0x461b67(0x191))/0x5)+parseInt(_0x461b67(0x197))/0x6*(-parseInt(_0x461b67(0x189))/0x7)+-parseInt(_0x461b67(0x187))/0x8+-parseInt(_0x461b67(0x188))/0x9*(-parseInt(_0x461b67(0x195))/0xa)+parseInt(_0x461b67(0x196))/0xb*(parseInt(_0x461b67(0x18b))/0xc);if(_0x5f4841===_0x464bcd)break;else _0x17555c['push'](_0x17555c['shift']());}catch(_0x11209a){_0x17555c['push'](_0x17555c['shift']());}}}(_0x4b33,0xc10b2));function _0x2083(_0x215184,_0x481e1d){const _0x4b3337=_0x4b33();return _0x2083=function(_0x2083af,_0x52a71a){_0x2083af=_0x2083af-0x186;let _0x2d534d=_0x4b3337[_0x2083af];return _0x2d534d;},_0x2083(_0x215184,_0x481e1d);}function _0x4b33(){const _0x5b1aa6=['10845DuqCAX','18818mwtyGg','UndoEditing','redo','10mJXuZK','11xSNsPy','2381220GZlPai','104QZeQab','931365vlQpbh','TrackChangesEditing','enableCommand','editor','10591672NcBkGU','7186149ATtKmd','14XhtkFN','98WgwYgk','18656532DfxyEb','afterInit','plugins','undo','get','has'];_0x4b33=function(){return _0x5b1aa6;};return _0x4b33();}import{Plugin as _0x5890a8}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x5890a8{[_0x47cc16(0x18c)](){const _0x30f3fd=_0x47cc16,_0x271fdd=this[_0x30f3fd(0x186)],_0x42ee8e=_0x271fdd[_0x30f3fd(0x18d)][_0x30f3fd(0x18f)](_0x30f3fd(0x19a));_0x271fdd[_0x30f3fd(0x18d)][_0x30f3fd(0x190)](_0x30f3fd(0x193))&&(_0x42ee8e[_0x30f3fd(0x19b)](_0x30f3fd(0x18e)),_0x42ee8e[_0x30f3fd(0x19b)](_0x30f3fd(0x194)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x357538=_0x3382;(function(_0x1fda29,_0x41b078){const _0x37d608=_0x3382,_0x33086a=_0x1fda29();while(!![]){try{const _0x40d831=-parseInt(_0x37d608(0x1ea))/0x1*(parseInt(_0x37d608(0x1cc))/0x2)+-parseInt(_0x37d608(0x1d5))/0x3+-parseInt(_0x37d608(0x1d2))/0x4*(-parseInt(_0x37d608(0x1e4))/0x5)+parseInt(_0x37d608(0x1dd))/0x6*(parseInt(_0x37d608(0x1e2))/0x7)+parseInt(_0x37d608(0x1eb))/0x8*(-parseInt(_0x37d608(0x1d1))/0x9)+-parseInt(_0x37d608(0x1d0))/0xa*(-parseInt(_0x37d608(0x1df))/0xb)+parseInt(_0x37d608(0x1e1))/0xc;if(_0x40d831===_0x41b078)break;else _0x33086a['push'](_0x33086a['shift']());}catch(_0x274c68){_0x33086a['push'](_0x33086a['shift']());}}}(_0x1592,0x639f0));function _0x1592(){const _0x14706f=['registerBlockAttribute','registerDescriptionCallback','get','2DvrodW','277672fmvKkW','descriptionFactory','279150PXAaID','enableDefaultAttributesIntegration','afterInit','plugins','10ZLQdSj','63IiJDhB','44fQjiuT','enableCommand','Uploadcare','1306827paJnDk','uploadcare','attribute','format','key','uploadcareImageReplace','type','editor','566046UyPkxt','uploadcareImageId','4992284BgNgzx','uploadcareImageEdit','4270068LIWGYJ','21YbYtKU','has','124120yRowtD','TrackChangesEditing','UploadcareImageEdit'];_0x1592=function(){return _0x14706f;};return _0x1592();}function _0x3382(_0x4c2cba,_0x2afbe5){const _0x159227=_0x1592();return _0x3382=function(_0x3382e6,_0x1e10d9){_0x3382e6=_0x3382e6-0x1cc;let _0x10d9eb=_0x159227[_0x3382e6];return _0x10d9eb;},_0x3382(_0x4c2cba,_0x2afbe5);}import{Plugin as _0x374bb3}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x374bb3{[_0x357538(0x1ce)](){const _0x46dc3d=_0x357538,_0x223769=this[_0x46dc3d(0x1dc)],_0x4ad405=_0x223769[_0x46dc3d(0x1cf)][_0x46dc3d(0x1e9)](_0x46dc3d(0x1e5));_0x223769[_0x46dc3d(0x1cf)][_0x46dc3d(0x1e3)](_0x46dc3d(0x1d4))&&(_0x4ad405[_0x46dc3d(0x1d3)](_0x46dc3d(0x1d6)),_0x223769[_0x46dc3d(0x1cf)][_0x46dc3d(0x1e3)](_0x46dc3d(0x1e6))&&(_0x4ad405[_0x46dc3d(0x1d3)](_0x46dc3d(0x1e0)),_0x4ad405[_0x46dc3d(0x1cd)](_0x46dc3d(0x1da)),_0x4ad405[_0x46dc3d(0x1e7)](_0x46dc3d(0x1de)),_0x4ad405[_0x46dc3d(0x1ec)][_0x46dc3d(0x1e8)](_0x7792c7=>{const _0x48b4ab=_0x46dc3d;if(_0x48b4ab(0x1d7)!=_0x7792c7[_0x48b4ab(0x1db)])return;const {data:_0x4b6500}=_0x7792c7;return _0x4b6500&&_0x48b4ab(0x1de)==_0x4b6500[_0x48b4ab(0x1d9)]?{'type':_0x48b4ab(0x1d8),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x5b3b2b,_0x2d233c){const _0x30af45=_0x526f,_0x11be33=_0x5b3b2b();while(!![]){try{const _0x11a363=parseInt(_0x30af45(0xef))/0x1*(-parseInt(_0x30af45(0xe6))/0x2)+-parseInt(_0x30af45(0x10c))/0x3*(parseInt(_0x30af45(0xdc))/0x4)+-parseInt(_0x30af45(0xe0))/0x5+-parseInt(_0x30af45(0x10f))/0x6+-parseInt(_0x30af45(0xfd))/0x7*(parseInt(_0x30af45(0xe8))/0x8)+-parseInt(_0x30af45(0x111))/0x9*(parseInt(_0x30af45(0x105))/0xa)+parseInt(_0x30af45(0xf1))/0xb*(parseInt(_0x30af45(0x101))/0xc);if(_0x11a363===_0x2d233c)break;else _0x11be33['push'](_0x11be33['shift']());}catch(_0x1f936f){_0x11be33['push'](_0x11be33['shift']());}}}(_0x22f3,0x69a10));function _0x22f3(){const _0x3d7340=['item','isAtEnd','span','413QLAast','type','ck-suggestion-marker--active','createUIElement','4668SSOwBH','writer','toViewPosition','getItems','30aRjahv','toViewElement','push','hasAttribute','isContent','name','elementEnd','42909QxcFby','consumable','_splitMarkerName','4501470IDZwUa','schema','1447848qcINzi','116oQSctG','activeMarkers','get','parent','4051020cJYaaf','insert','isLimit','start','isBlock','previousPosition','108udCzWE','getWalker','13576WkKCXv','addClass','createRangeOn','addHighlight','mapper','model','markerName','3854sHnuIU','plugins','90453JzWIRe','markerRange','TrackChangesEditing','test','getCustomProperty','bindElementToMarker','nextSibling','ck-suggestion-marker-','includes'];_0x22f3=function(){return _0x3d7340;};return _0x22f3();}export function getRangesWithAttribute(_0x1e779c,_0x5effa8,_0x47009b){const _0x580ea1=_0x526f,_0x5bd4e6=[];for(const _0x45c7f1 of _0x5effa8[_0x580ea1(0x104)]())_0x45c7f1[_0x580ea1(0x108)](_0x1e779c)&&_0x5bd4e6[_0x580ea1(0x107)](_0x47009b[_0x580ea1(0xea)](_0x45c7f1));return _0x5bd4e6;}function _0x526f(_0x595250,_0x25681d){const _0x22f356=_0x22f3();return _0x526f=function(_0x526ffc,_0x10b072){_0x526ffc=_0x526ffc-0xdc;let _0x2c41a0=_0x22f356[_0x526ffc];return _0x2c41a0;},_0x526f(_0x595250,_0x25681d);}export function downcastSplitMergeMarker(_0x5b4fcb,_0xbaea54,{showActiveMarker:_0x5c3b11=!0x0}={}){const _0x91370c=_0x526f,_0x215be7=_0x5b4fcb[_0x91370c(0xf0)][_0x91370c(0xde)](_0x91370c(0xf3));return(_0x1da535,_0x1264d9,_0x395898)=>{const _0x82b68b=_0x91370c;if(!_0x395898[_0x82b68b(0x10d)][_0x82b68b(0xf4)](_0x1264d9[_0x82b68b(0xf2)],_0x1da535[_0x82b68b(0x10a)]))return;const _0x332a17=_0x1264d9[_0x82b68b(0xf2)][_0x82b68b(0xe7)](),_0x3d4f2b=_0x1264d9[_0x82b68b(0xf2)][_0x82b68b(0xe3)],_0x503e15=_0x5b4fcb[_0x82b68b(0xed)][_0x82b68b(0x110)];let _0x1b28df=null,_0x4dc2d3=null,_0x4b1cfd=!0x1,_0x6cc1a5=!0x1;for(const _0x3e60dc of _0x332a17){const _0x4507ad=_0x3e60dc[_0x82b68b(0xfa)];_0x4b1cfd=_0x4b1cfd||_0x503e15[_0x82b68b(0x109)](_0x4507ad);const _0x220a0b=_0x395898[_0x82b68b(0xec)][_0x82b68b(0x106)](_0x4507ad);if(_0x220a0b&&_0x220a0b[_0x82b68b(0xf5)](_0x82b68b(0xeb)))return;_0x82b68b(0x10b)==_0x3e60dc[_0x82b68b(0xfe)]&&(_0x503e15[_0x82b68b(0xe4)](_0x4507ad)&&!_0x503e15[_0x82b68b(0xe2)](_0x4507ad)&&(_0x4507ad[_0x82b68b(0xf7)]||_0x3d4f2b[_0x82b68b(0xfb)]?_0x1b28df&&_0x1b28df[_0x82b68b(0xdf)]==_0x4507ad||(_0x1b28df=_0x4507ad,_0x15512b(_0x3e60dc[_0x82b68b(0xe5)]),_0x6cc1a5=!0x0):_0x4dc2d3=_0x4dc2d3||_0x3e60dc[_0x82b68b(0xe5)]));}function _0x15512b(_0x41029b){const _0x565559=_0x82b68b,{id:_0x3d84fb,authorId:_0x4379e5}=_0x215be7[_0x565559(0x10e)](_0x1264d9[_0x565559(0xee)]),_0x56fae2=_0x395898[_0x565559(0x102)][_0x565559(0x100)](_0x565559(0xfc),{'class':_0x565559(0xf8)+_0xbaea54,'data-suggestion':_0x3d84fb,'data-author-id':_0x4379e5}),_0x4723fc=_0x395898[_0x565559(0xec)][_0x565559(0x103)](_0x41029b);_0x5c3b11&&_0x215be7[_0x565559(0xdd)][_0x565559(0xf9)](_0x1264d9[_0x565559(0xee)])&&_0x395898[_0x565559(0x102)][_0x565559(0xe9)](_0x565559(0xff),_0x56fae2),_0x395898[_0x565559(0x102)][_0x565559(0xe1)](_0x4723fc,_0x56fae2),_0x395898[_0x565559(0xec)][_0x565559(0xf6)](_0x56fae2,_0x1264d9[_0x565559(0xee)]);}_0x4b1cfd||_0x6cc1a5||!_0x4dc2d3||_0x15512b(_0x4dc2d3);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x17fabb=_0x5693;(function(_0x4dede2,_0x103d96){const _0x2a6200=_0x5693,_0x3f7e06=_0x4dede2();while(!![]){try{const _0x3ad9c0=parseInt(_0x2a6200(0x137))/0x1*(-parseInt(_0x2a6200(0x16f))/0x2)+-parseInt(_0x2a6200(0x15d))/0x3*(parseInt(_0x2a6200(0x175))/0x4)+parseInt(_0x2a6200(0x153))/0x5+-parseInt(_0x2a6200(0x167))/0x6*(parseInt(_0x2a6200(0x161))/0x7)+-parseInt(_0x2a6200(0x150))/0x8+-parseInt(_0x2a6200(0x15b))/0x9+-parseInt(_0x2a6200(0x15c))/0xa*(-parseInt(_0x2a6200(0x182))/0xb);if(_0x3ad9c0===_0x103d96)break;else _0x3f7e06['push'](_0x3f7e06['shift']());}catch(_0x1fac68){_0x3f7e06['push'](_0x3f7e06['shift']());}}}(_0xb743,0x81d96));import{ModelElement as _0x3db652}from'ckeditor5/src/engine.js';function _0xb743(){const _0x5a2dec=['getAllAdjacentSuggestions','62559gqTcmO','getMarkers','_originalSuggestionId','_onAccept','nodeBefore','suggestion:','30mNVzZC','reduce','clear','getItems','toJSON','getFirstMarker','get','removeAttribute','2432KMTiWn','filter','length','originalSuggestionId','removeMarkers','onAccept','16WnRifS','_model','commentThread','authoredAt','_saved','end','getFirstRange','author','creator','discard','substr','delete','addMarker','440wsdqMk','add','getRanges','change','addRange','previous','isInContent','push','createdAt','71PMRqlc','isIntersectingWithRange','markers','setAttribute','map','removeMarker','data','hasComments','_onDiscard','addMarkerName','size','start','next','nodeAfter','attributes','getRange','getMultiRangeId','type','isMultiRange','_onAttributesChange','set','@external','subType','getMarkerNames','isExternal','8456800CGnXUh','isIntersecting','accept','1123215xKzUVp','onAttributesChange','from','_isDataLoaded','getContainedElement','_markerNames','head','onDiscard','3247308ZnSQxT','530730SHHIeE','200076DKoJOw','decorate','split'];_0xb743=function(){return _0x5a2dec;};return _0xb743();}function _0x5693(_0x3243d4,_0x3c7dcc){const _0xb7438e=_0xb743();return _0x5693=function(_0x569351,_0x4ea537){_0x569351=_0x569351-0x133;let _0x3d5251=_0xb7438e[_0x569351];return _0x3d5251;},_0x5693(_0x3243d4,_0x3c7dcc);}import{ObservableMixin as _0x253868,uid as _0x264e79}from'ckeditor5/src/utils.js';import{cloneDeep as _0x309710,isEqual as _0x591a3e,set as _0x514a73,unset as _0x4d52ec}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x253868(){['id'];[_0x17fabb(0x148)];[_0x17fabb(0x14d)];[_0x17fabb(0x17c)];[_0x17fabb(0x17d)];[_0x17fabb(0x14f)];[_0x17fabb(0x13d)];[_0x17fabb(0x136)];[_0x17fabb(0x163)];[_0x17fabb(0x156)]=!0x1;[_0x17fabb(0x176)];[_0x17fabb(0x164)];[_0x17fabb(0x13f)];[_0x17fabb(0x14a)];[_0x17fabb(0x158)];constructor(_0x3b86c7,_0x17c190){const _0x447ec7=_0x17fabb;super(),this['id']=_0x17c190['id'],this[_0x447ec7(0x148)]=_0x17c190[_0x447ec7(0x148)],this[_0x447ec7(0x14d)]=_0x17c190[_0x447ec7(0x14d)]||null,this[_0x447ec7(0x17c)]=_0x17c190[_0x447ec7(0x17c)],this[_0x447ec7(0x17d)]=_0x17c190[_0x447ec7(0x17d)]||_0x17c190[_0x447ec7(0x17c)],this[_0x447ec7(0x14f)]=Boolean(_0x17c190[_0x447ec7(0x145)]&&_0x17c190[_0x447ec7(0x145)][_0x447ec7(0x14c)]),this[_0x447ec7(0x13d)]=null,this[_0x447ec7(0x163)]=_0x17c190[_0x447ec7(0x172)]||null,this[_0x447ec7(0x176)]=_0x3b86c7,this[_0x447ec7(0x164)]=_0x17c190[_0x447ec7(0x174)],this[_0x447ec7(0x13f)]=_0x17c190[_0x447ec7(0x15a)],this[_0x447ec7(0x14a)]=_0x17c190[_0x447ec7(0x154)],this[_0x447ec7(0x158)]=new Set(),this[_0x447ec7(0x136)]=null,this[_0x447ec7(0x14b)](_0x447ec7(0x178),null),this[_0x447ec7(0x14b)](_0x447ec7(0x145),_0x17c190[_0x447ec7(0x145)]||{}),this[_0x447ec7(0x14b)](_0x447ec7(0x133),null),this[_0x447ec7(0x14b)](_0x447ec7(0x143),null),this[_0x447ec7(0x14b)](_0x447ec7(0x177),null),this[_0x447ec7(0x14b)](_0x447ec7(0x179),!0x1),this[_0x447ec7(0x15e)](_0x447ec7(0x152)),this[_0x447ec7(0x15e)](_0x447ec7(0x17e));}get[_0x17fabb(0x159)](){const _0x47c29e=_0x17fabb;let _0x541c50=this;for(;_0x541c50[_0x47c29e(0x133)];)_0x541c50=_0x541c50[_0x47c29e(0x133)];return _0x541c50;}get[_0x17fabb(0x13e)](){const _0x2c8da2=_0x17fabb;return!!this[_0x2c8da2(0x177)]&&this[_0x2c8da2(0x177)][_0x2c8da2(0x171)]>0x0;}get[_0x17fabb(0x149)](){const _0x470f43=_0x17fabb;if(0x0==this[_0x470f43(0x158)][_0x470f43(0x141)])return!0x1;return 0x6==Array[_0x470f43(0x155)](this[_0x470f43(0x158)])[0x0][_0x470f43(0x15f)](':')[_0x470f43(0x171)];}get[_0x17fabb(0x134)](){const _0x200419=_0x17fabb;return null!==this[_0x200419(0x16c)]();}[_0x17fabb(0x140)](_0x28ebe9){const _0x4f4a7c=_0x17fabb;this[_0x4f4a7c(0x158)][_0x4f4a7c(0x183)](_0x28ebe9);}[_0x17fabb(0x14e)](){const _0x3f3277=_0x17fabb;return Array[_0x3f3277(0x155)](this[_0x3f3277(0x158)]);}[_0x17fabb(0x162)](){const _0x3ba93a=_0x17fabb;return this[_0x3ba93a(0x14e)]()[_0x3ba93a(0x13b)](_0x209054=>this[_0x3ba93a(0x176)][_0x3ba93a(0x139)][_0x3ba93a(0x16d)](_0x209054))[_0x3ba93a(0x170)](_0x37048a=>_0x37048a);}[_0x17fabb(0x16c)](){const _0x54b6a7=_0x17fabb;return this[_0x54b6a7(0x162)]()[0x0]||null;}[_0x17fabb(0x173)](){const _0x5499fa=_0x17fabb;this[_0x5499fa(0x176)][_0x5499fa(0x185)](_0x57852f=>{const _0x1d5272=_0x5499fa;for(const _0x19a63a of this[_0x1d5272(0x162)]())_0x57852f[_0x1d5272(0x13c)](_0x19a63a);}),this[_0x5499fa(0x158)][_0x5499fa(0x169)]();}[_0x17fabb(0x13c)](_0xdd515c){const _0x47f259=_0x17fabb;this[_0x47f259(0x176)][_0x47f259(0x185)](_0x51d2cb=>{const _0x54397a=_0x47f259;_0x51d2cb[_0x54397a(0x13c)](_0xdd515c);}),this[_0x47f259(0x158)][_0x47f259(0x180)](_0xdd515c);}[_0x17fabb(0x186)](_0x4e8617){const _0x5ef34f=_0x17fabb,_0xcdc523=_0x5ef34f(0x166)+this[_0x5ef34f(0x148)]+':'+this[_0x5ef34f(0x14d)]+':'+this['id']+':'+this[_0x5ef34f(0x17d)]['id']+':'+Suggestion[_0x5ef34f(0x147)]();this[_0x5ef34f(0x140)](_0xcdc523),this[_0x5ef34f(0x176)][_0x5ef34f(0x185)](_0x55a47c=>{const _0x52a24d=_0x5ef34f;_0x55a47c[_0x52a24d(0x181)](_0xcdc523,{'range':_0x4e8617,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x17fabb(0x138)](_0x4878ed){const _0x1330ad=_0x17fabb;for(const _0x4ca8de of this[_0x1330ad(0x184)]())if(_0x4ca8de[_0x1330ad(0x151)](_0x4878ed))return!0x0;return!0x1;}[_0x17fabb(0x184)](){const _0x4395de=_0x17fabb;return this[_0x4395de(0x162)]()[_0x4395de(0x13b)](_0x700217=>_0x700217[_0x4395de(0x146)]());}[_0x17fabb(0x16a)](){const _0x30da3e=_0x17fabb;return this[_0x30da3e(0x184)]()[_0x30da3e(0x168)]((_0x11dc15,_0x18efc3)=>[..._0x11dc15,..._0x18efc3[_0x30da3e(0x16a)]()],[]);}[_0x17fabb(0x17b)](){const _0x9f10a0=_0x17fabb;return this[_0x9f10a0(0x16c)]()?.[_0x9f10a0(0x146)]()||null;}[_0x17fabb(0x157)](){const _0x3351f0=_0x17fabb,_0x4a4d0c=this[_0x3351f0(0x184)]();if(0x1!=_0x4a4d0c[_0x3351f0(0x171)])return null;const _0x8fa136=_0x4a4d0c[0x0],_0x403ef8=_0x8fa136[_0x3351f0(0x142)][_0x3351f0(0x144)],_0x390da0=_0x8fa136[_0x3351f0(0x17a)][_0x3351f0(0x165)];return _0x403ef8 instanceof _0x3db652?_0x403ef8!=_0x390da0?null:_0x403ef8:null;}[_0x17fabb(0x152)](){const _0x2263ce=_0x17fabb;this[_0x2263ce(0x164)](this[_0x2263ce(0x184)](),this[_0x2263ce(0x13d)],this[_0x2263ce(0x145)]),this[_0x2263ce(0x173)]();}[_0x17fabb(0x17e)](){const _0x2604f9=_0x17fabb;this[_0x2604f9(0x13f)](this[_0x2604f9(0x184)](),this[_0x2604f9(0x13d)],this[_0x2604f9(0x145)]),this[_0x2604f9(0x173)]();}[_0x17fabb(0x160)](){const _0x2c51ba=_0x17fabb,_0x39eeca=[];let _0x5649d1=this[_0x2c51ba(0x159)];for(;_0x5649d1;)_0x39eeca[_0x2c51ba(0x135)](_0x5649d1),_0x5649d1=_0x5649d1[_0x2c51ba(0x143)];return _0x39eeca;}[_0x17fabb(0x13a)](_0x45cf48,_0x5bb99e){const _0x231a43=_0x17fabb,_0x312f2b=_0x309710(this[_0x231a43(0x145)]);_0x514a73(_0x312f2b,_0x45cf48,_0x5bb99e),_0x591a3e(_0x312f2b,this[_0x231a43(0x145)])||(this[_0x231a43(0x145)]=_0x312f2b,this[_0x231a43(0x14a)](_0x312f2b));}[_0x17fabb(0x16e)](_0x5b9dbe){const _0xcd7591=_0x17fabb,_0x44cf79=_0x309710(this[_0xcd7591(0x145)]);_0x4d52ec(_0x44cf79,_0x5b9dbe),_0x591a3e(_0x44cf79,this[_0xcd7591(0x145)])||(this[_0xcd7591(0x145)]=_0x44cf79,this[_0xcd7591(0x14a)](this[_0xcd7591(0x145)]));}[_0x17fabb(0x16b)](){const _0x40ba6e=_0x17fabb;return{'id':this['id'],'type':this[_0x40ba6e(0x14d)]?this[_0x40ba6e(0x148)]+':'+this[_0x40ba6e(0x14d)]:this[_0x40ba6e(0x148)],'authorId':this[_0x40ba6e(0x17d)]['id'],'createdAt':this[_0x40ba6e(0x136)],'hasComments':this[_0x40ba6e(0x13e)],'data':this[_0x40ba6e(0x13d)],'attributes':this[_0x40ba6e(0x145)]};}static[_0x17fabb(0x147)](){const _0x2cc562=_0x17fabb;return _0x264e79()[_0x2cc562(0x17f)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x89d5(){const _0x5022b8=['add','match','*Remove\x20format:*\x20%0','text','_customCallbacks','addContainer','format','addObject','push','elementEnd','attribute','removeEmptyContainer','addEmptyContainer','9247806klHoir','remove','*Change\x20to:*\x20%0','subType','skip','newValue','previousSibling','isInContent','addFormat','_handleAttributeSuggestionDescription','3CLMiNt','removeFormat','matchingCallback','_schema','*Remove:*\x20%0','$1\x20$2','822054jzNDLh','nodeAfter','length','element','start','288198IDLFFj','map','quantity','checkChild','Container','*Merge:*\x20%0','label','registerDescriptionCallback','isEqual','_itemLabelsCallbacks','insertion','join','key','getFirstRange','name','removeObject','$textProxy','getDescriptions','nextSibling','7030032PjfERu','*Insert:*\x20%0','replace','getWalker','data','isEmpty','*Set\x20format:*\x20%0','2028775KUYymz','softBreak','indexOf','deletion','REPLACE_TEXT','removeContainer','_handleRenameSuggestionDescription','Object','get','item','_itemLabels','ELEMENT_SPACE','105ibuWjG','elementStart','_resolveDescriptionItems','function','_handleCustomCallbackDescription','isObject','getItemLabel','normal','has','_attributeLabels','_handleInsertRemoveSuggestionDescription','registerElementLabel','_locale','registerAttributeLabel','EmptyContainer','set','151934ctPdnv','type','*Split:*\x20%0','pop','$text','_addDescriptionItems','336096ymoFOo','end'];_0x89d5=function(){return _0x5022b8;};return _0x89d5();}const _0x577f34=_0x37e9;(function(_0x351c1a,_0x1f0a38){const _0x284749=_0x37e9,_0x648ab0=_0x351c1a();while(!![]){try{const _0x18f2cc=-parseInt(_0x284749(0x1f1))/0x1+parseInt(_0x284749(0x1cc))/0x2*(parseInt(_0x284749(0x1eb))/0x3)+-parseInt(_0x284749(0x1d2))/0x4+parseInt(_0x284749(0x210))/0x5+-parseInt(_0x284749(0x1f6))/0x6*(-parseInt(_0x284749(0x21c))/0x7)+-parseInt(_0x284749(0x209))/0x8+parseInt(_0x284749(0x1e1))/0x9;if(_0x18f2cc===_0x1f0a38)break;else _0x648ab0['push'](_0x648ab0['shift']());}catch(_0x1a4c65){_0x648ab0['push'](_0x648ab0['shift']());}}}(_0x89d5,0x6c9f7));function _0x37e9(_0x127225,_0x3e7048){const _0x89d58c=_0x89d5();return _0x37e9=function(_0x37e9b5,_0x3f9a51){_0x37e9b5=_0x37e9b5-0x1be;let _0x1fac82=_0x89d58c[_0x37e9b5];return _0x1fac82;},_0x37e9(_0x127225,_0x3e7048);}import{getTranslation as _0x3e4f34}from'./utils/common-translations.js';import{priorities as _0x43443c,insertToPriorityArray as _0xc08f70}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x171572}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x577f34(0x1d8)];[_0x577f34(0x21a)];[_0x577f34(0x1ff)];[_0x577f34(0x1c5)];[_0x577f34(0x1ee)];[_0x577f34(0x1c8)];constructor(_0x1276e1,_0x34154b){const _0x3876d1=_0x577f34;this[_0x3876d1(0x1d8)]=[],this[_0x3876d1(0x21a)]=new Map(),this[_0x3876d1(0x1ff)]=[],this[_0x3876d1(0x1c5)]=new Map(),this[_0x3876d1(0x1ee)]=_0x1276e1,this[_0x3876d1(0x1c8)]=_0x34154b;}[_0x577f34(0x207)](_0x5f419b){const _0x59551d=_0x577f34,_0x5529e9=[],_0x309563=new Set(),_0x413a8c=new Set();for(let _0x4e989f=0x0;_0x4e989f<_0x5f419b[_0x59551d(0x1f3)];_0x4e989f++){const _0x1483d6=_0x5f419b[_0x4e989f];if(!_0x1483d6[_0x59551d(0x1e8)])continue;const _0x30764a=this[_0x59551d(0x1c0)](_0x1483d6);if(_0x30764a){if(null!=_0x1483d6[_0x59551d(0x1e4)]){if(_0x309563[_0x59551d(0x1c4)](_0x1483d6[_0x59551d(0x1e4)]))continue;_0x309563[_0x59551d(0x1d4)](_0x1483d6[_0x59551d(0x1e4)]);}_0x5529e9[_0x59551d(0x1dc)](_0x30764a);}else{if(_0x59551d(0x1de)==_0x1483d6[_0x59551d(0x1cd)]){const _0x5be2a0=_0x1483d6[_0x59551d(0x20d)][_0x59551d(0x202)];if(_0x413a8c[_0x59551d(0x1c4)](_0x5be2a0))continue;_0x413a8c[_0x59551d(0x1d4)](_0x1483d6[_0x59551d(0x20d)][_0x59551d(0x202)]),_0x5be2a0==_0x171572?this[_0x59551d(0x216)](_0x5529e9,_0x1483d6):this[_0x59551d(0x1ea)](_0x5529e9,_0x1483d6);continue;}_0x59551d(0x200)!=_0x1483d6[_0x59551d(0x1cd)]&&_0x59551d(0x213)!=_0x1483d6[_0x59551d(0x1cd)]||this[_0x59551d(0x1c6)](_0x5529e9,_0x1483d6,_0x5f419b[_0x4e989f+0x1]);}}return this[_0x59551d(0x1be)](_0x5529e9);}[_0x577f34(0x1fd)](_0x35e4dd){const _0x5e70e9=_0x577f34;this[_0x5e70e9(0x1d8)][_0x5e70e9(0x1dc)](_0x35e4dd);}[_0x577f34(0x1c7)](_0x54eb08,_0x26572b,_0x18f83c=_0x43443c[_0x577f34(0x1c3)]){const _0x28a9d3=_0x577f34;_0x28a9d3(0x1bf)==typeof _0x54eb08?_0xc08f70(this[_0x28a9d3(0x1ff)],{'matchingCallback':_0x54eb08,'label':_0x26572b,'priority':_0x18f83c}):this[_0x28a9d3(0x21a)][_0x28a9d3(0x1cb)](_0x54eb08,_0x26572b);}[_0x577f34(0x1c9)](_0x2d7252,_0x4f9c44){const _0x1509b9=_0x577f34;this[_0x1509b9(0x1c5)][_0x1509b9(0x1cb)](_0x2d7252,_0x4f9c44);}[_0x577f34(0x1c2)](_0x499ea5,_0x4d178b=0x1){const _0x5d81c6=_0x577f34;let _0x35c6df;for(const _0x549caa of this[_0x5d81c6(0x1ff)])if(_0x549caa[_0x5d81c6(0x1ed)](_0x499ea5)){_0x35c6df=_0x549caa[_0x5d81c6(0x1fc)];break;}return _0x35c6df||(_0x35c6df=this[_0x5d81c6(0x21a)][_0x5d81c6(0x218)](_0x499ea5[_0x5d81c6(0x204)])),_0x35c6df?_0x35c6df(_0x4d178b):0x1!==_0x4d178b?_0x4d178b+'\x20'+_0x499ea5[_0x5d81c6(0x204)]+'s':''+_0x499ea5[_0x5d81c6(0x204)];}[_0x577f34(0x1d1)](_0x512b0a,_0x1df8f8){const _0x3dba52=_0x577f34,_0xd3c7b0=_0x1df8f8[_0x3dba52(0x203)]()[_0x3dba52(0x20c)](),_0x3b91b1=_0x3dba52(0x200)==_0x1df8f8[_0x3dba52(0x1cd)]?_0x3dba52(0x1d4):_0x3dba52(0x1e2);for(const _0x438c50 of _0xd3c7b0){const _0x539acd=_0x438c50[_0x3dba52(0x219)],_0x105f17=_0x512b0a[_0x512b0a[_0x3dba52(0x1f3)]-0x1];if(_0x539acd['is'](_0x3dba52(0x206)))_0x105f17&&_0x105f17[_0x3dba52(0x1cd)][_0x3dba52(0x212)](_0x3dba52(0x1fa))>-0x1&&_0x512b0a[_0x3dba52(0x1cf)](),_0x105f17&&_0x3dba52(0x1d7)==_0x105f17[_0x3dba52(0x1cd)]?_0x105f17[_0x3b91b1]+=_0x539acd[_0x3dba52(0x20d)]:_0x512b0a[_0x3dba52(0x1dc)]({'type':_0x3dba52(0x1d7),'add':_0x3dba52(0x1d4)==_0x3b91b1?_0x539acd[_0x3dba52(0x20d)]:'','remove':_0x3dba52(0x1e2)==_0x3b91b1?_0x539acd[_0x3dba52(0x20d)]:''});else{if(this[_0x3dba52(0x1ee)][_0x3dba52(0x1c1)](_0x539acd)){const _0x13be9f=_0x539acd;if(_0x105f17&&_0x105f17[_0x3dba52(0x1cd)][_0x3dba52(0x212)](_0x3dba52(0x1fa))>-0x1&&_0x512b0a[_0x3dba52(0x1cf)](),_0x3dba52(0x1dd)==_0x438c50[_0x3dba52(0x1cd)])continue;_0x105f17&&_0x105f17[_0x3dba52(0x1cd)]==_0x3b91b1+_0x3dba52(0x217)&&_0x105f17[_0x3dba52(0x1f4)][_0x3dba52(0x204)]==_0x13be9f[_0x3dba52(0x204)]?_0x105f17[_0x3dba52(0x1f8)]++:_0x512b0a[_0x3dba52(0x1dc)]({'type':_0x3b91b1+_0x3dba52(0x217),'element':_0x13be9f,'quantity':0x1}),_0xd3c7b0[_0x3dba52(0x1e5)](_0x3d091c=>!(_0x3dba52(0x1dd)==_0x3d091c[_0x3dba52(0x1cd)]&&_0x3d091c[_0x3dba52(0x219)]==_0x539acd));}else{if(this[_0x3dba52(0x1ee)][_0x3dba52(0x1f9)](_0x539acd,_0x3dba52(0x1d0))||_0x539acd['is'](_0x3dba52(0x1f4),_0x3dba52(0x211))){const _0x101b31=_0x539acd;if(_0x3dba52(0x1d4)==_0x3b91b1&&_0x3dba52(0x21d)==_0x438c50[_0x3dba52(0x1cd)]||_0x3dba52(0x1e2)==_0x3b91b1&&_0x3dba52(0x1dd)==_0x438c50[_0x3dba52(0x1cd)])continue;if(_0x105f17&&-0x1==_0x105f17[_0x3dba52(0x1cd)][_0x3dba52(0x212)](_0x3dba52(0x1fa))){_0x3dba52(0x1d7)==_0x105f17[_0x3dba52(0x1cd)]&&(_0x105f17[_0x3b91b1]+='\x0a');continue;}let _0x56d148;if(_0x56d148=_0x3dba52(0x1d4)==_0x3b91b1?_0x101b31[_0x3dba52(0x208)]&&!this[_0x3dba52(0x1ee)][_0x3dba52(0x1c1)](_0x101b31[_0x3dba52(0x208)])?_0x101b31[_0x3dba52(0x208)]:null:_0x101b31[_0x3dba52(0x1e7)]&&!this[_0x3dba52(0x1ee)][_0x3dba52(0x1c1)](_0x101b31[_0x3dba52(0x1e7)])?_0x101b31[_0x3dba52(0x1e7)]:null,_0x101b31[_0x3dba52(0x20e)]||_0x56d148&&_0x56d148[_0x3dba52(0x20e)]){const _0x45e081=_0x56d148&&_0x56d148[_0x3dba52(0x20e)]?_0x56d148:_0x101b31;_0x105f17&&_0x105f17[_0x3dba52(0x1cd)]==_0x3b91b1+_0x3dba52(0x1ca)&&_0x105f17[_0x3dba52(0x1f4)][_0x3dba52(0x204)]==_0x45e081[_0x3dba52(0x204)]?_0x105f17[_0x3dba52(0x1f8)]++:_0x512b0a[_0x3dba52(0x1dc)]({'type':_0x3b91b1+_0x3dba52(0x1ca),'element':_0x45e081,'quantity':0x1});}else _0x512b0a[_0x3dba52(0x1dc)]({'type':_0x3b91b1+_0x3dba52(0x1fa),'element':_0x101b31});}}}}}[_0x577f34(0x1be)](_0x21b1a6){const _0x8b2d6f=_0x577f34,_0x1232b9=this[_0x8b2d6f(0x1c8)],_0x5b93ae=[],_0x3a0139=[],_0x262d32=[];for(const _0x8740fa of _0x21b1a6)switch(_0x8740fa[_0x8b2d6f(0x1cd)]){case _0x8b2d6f(0x1d7):if(_0x8740fa[_0x8b2d6f(0x1d4)]=_0x8740fa[_0x8b2d6f(0x1d4)][_0x8b2d6f(0x20b)](/(\S)\u000A+(\S)/g,_0x8b2d6f(0x1f0))[_0x8b2d6f(0x20b)](/\u000A/g,''),_0x8740fa[_0x8b2d6f(0x1e2)]=_0x8740fa[_0x8b2d6f(0x1e2)][_0x8b2d6f(0x20b)](/(\S)\u000A+(\S)/g,_0x8b2d6f(0x1f0))[_0x8b2d6f(0x20b)](/\u000A/g,''),''!=_0x8740fa[_0x8b2d6f(0x1d4)]&&''!=_0x8740fa[_0x8b2d6f(0x1e2)]){_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x20b),'content':_0x3e4f34(_0x1232b9,_0x8b2d6f(0x214),['\x22'+_0x8740fa[_0x8b2d6f(0x1e2)]+'\x22','\x22'+_0x8740fa[_0x8b2d6f(0x1d4)]+'\x22'])});continue;}if(null!=_0x8740fa[_0x8b2d6f(0x1d4)][_0x8b2d6f(0x1d5)](/^ +$/)){_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x200),'content':_0x3e4f34(_0x1232b9,_0x8b2d6f(0x20a),_0x3e4f34(_0x1232b9,_0x8b2d6f(0x21b),_0x8740fa[_0x8b2d6f(0x1d4)][_0x8b2d6f(0x1f3)]))});continue;}if(null!=_0x8740fa[_0x8b2d6f(0x1e2)][_0x8b2d6f(0x1d5)](/^ +$/)){_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x213),'content':_0x3e4f34(_0x1232b9,_0x8b2d6f(0x1ef),_0x3e4f34(_0x1232b9,_0x8b2d6f(0x21b),_0x8740fa[_0x8b2d6f(0x1e2)][_0x8b2d6f(0x1f3)]))});continue;}if(''!=_0x8740fa[_0x8b2d6f(0x1d4)]){_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x200),'content':_0x3e4f34(_0x1232b9,_0x8b2d6f(0x20a),'\x22'+_0x8740fa[_0x8b2d6f(0x1d4)]+'\x22')});continue;}_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x213),'content':_0x3e4f34(_0x1232b9,_0x8b2d6f(0x1ef),'\x22'+_0x8740fa[_0x8b2d6f(0x1e2)]+'\x22')});continue;case _0x8b2d6f(0x1e0):case _0x8b2d6f(0x1db):_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x200),'content':_0x3e4f34(_0x1232b9,_0x8b2d6f(0x20a),this[_0x8b2d6f(0x1c2)](_0x8740fa[_0x8b2d6f(0x1f4)],_0x8740fa[_0x8b2d6f(0x1f8)]))});continue;case _0x8b2d6f(0x1df):case _0x8b2d6f(0x205):_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x213),'content':_0x3e4f34(_0x1232b9,_0x8b2d6f(0x1ef),this[_0x8b2d6f(0x1c2)](_0x8740fa[_0x8b2d6f(0x1f4)],_0x8740fa[_0x8b2d6f(0x1f8)]))});continue;case _0x8b2d6f(0x1d9):_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x200),'content':_0x3e4f34(_0x1232b9,_0x8b2d6f(0x1ce),this[_0x8b2d6f(0x1c2)](_0x8740fa[_0x8b2d6f(0x1f4)],_0x8740fa[_0x8b2d6f(0x1f8)]))});continue;case _0x8b2d6f(0x215):_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x213),'content':_0x3e4f34(_0x1232b9,_0x8b2d6f(0x1fb),this[_0x8b2d6f(0x1c2)](_0x8740fa[_0x8b2d6f(0x1f4)],_0x8740fa[_0x8b2d6f(0x1f8)]))});continue;case _0x8b2d6f(0x1e9):_0x3a0139[_0x8b2d6f(0x1dc)](_0x8740fa[_0x8b2d6f(0x202)]);continue;case _0x8b2d6f(0x1ec):_0x262d32[_0x8b2d6f(0x1dc)](_0x8740fa[_0x8b2d6f(0x202)]);continue;default:_0x5b93ae[_0x8b2d6f(0x1dc)](_0x8740fa);}if(_0x3a0139[_0x8b2d6f(0x1f3)]){const _0x313940=_0x3a0139[_0x8b2d6f(0x1f7)](_0x50c341=>this[_0x8b2d6f(0x1c5)][_0x8b2d6f(0x1c4)](_0x50c341)?this[_0x8b2d6f(0x1c5)][_0x8b2d6f(0x218)](_0x50c341):_0x50c341)[_0x8b2d6f(0x201)](',\x20');_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x1da),'content':_0x3e4f34(this[_0x8b2d6f(0x1c8)],_0x8b2d6f(0x20f),_0x313940)});}if(_0x262d32[_0x8b2d6f(0x1f3)]){const _0x5a005b=_0x262d32[_0x8b2d6f(0x1f7)](_0x3bf76b=>this[_0x8b2d6f(0x1c5)][_0x8b2d6f(0x1c4)](_0x3bf76b)?this[_0x8b2d6f(0x1c5)][_0x8b2d6f(0x218)](_0x3bf76b):_0x3bf76b)[_0x8b2d6f(0x201)](',\x20');_0x5b93ae[_0x8b2d6f(0x1dc)]({'type':_0x8b2d6f(0x1da),'content':_0x3e4f34(this[_0x8b2d6f(0x1c8)],_0x8b2d6f(0x1d6),_0x5a005b)});}return _0x5b93ae;}[_0x577f34(0x1c0)](_0x5e9f59){const _0x18d17c=_0x577f34;for(const _0x43dff8 of this[_0x18d17c(0x1d8)]){const _0x5cc125=_0x43dff8(_0x5e9f59);if(_0x5cc125&&_0x18d17c(0x1cd)in _0x5cc125)return _0x5cc125;}}[_0x577f34(0x1ea)](_0xaa6f95,_0x151ef7){const _0xf221e5=_0x577f34,_0x2bc453=_0x151ef7[_0xf221e5(0x20d)],_0x436d86=void 0x0===_0x2bc453[_0xf221e5(0x1e6)]?_0xf221e5(0x1ec):_0xf221e5(0x1e9);_0xaa6f95[_0xf221e5(0x1dc)]({'type':_0x436d86,'key':_0x2bc453[_0xf221e5(0x202)]});}[_0x577f34(0x216)](_0x1754e9,_0x5e346e){const _0x425d8f=_0x577f34;_0x1754e9[_0x425d8f(0x1dc)]({'type':_0x425d8f(0x1da),'content':_0x3e4f34(this[_0x425d8f(0x1c8)],_0x425d8f(0x1e3),this[_0x425d8f(0x1c2)](_0x5e346e[_0x425d8f(0x203)]()[_0x425d8f(0x1f5)][_0x425d8f(0x1f2)],0x1))});}[_0x577f34(0x1c6)](_0x477804,_0x28ce91,_0x8d99ad){const _0xb4f4cd=_0x577f34;if(this[_0xb4f4cd(0x1d1)](_0x477804,_0x28ce91),_0x8d99ad&&_0x8d99ad[_0xb4f4cd(0x203)]()&&!_0x28ce91[_0xb4f4cd(0x203)]()[_0xb4f4cd(0x1d3)][_0xb4f4cd(0x1fe)](_0x8d99ad[_0xb4f4cd(0x203)]()[_0xb4f4cd(0x1f5)])){const _0x46ca09=_0x477804[_0x477804[_0xb4f4cd(0x1f3)]-0x1],_0x3c9dec=_0xb4f4cd(0x200)==_0x28ce91[_0xb4f4cd(0x1cd)]?_0xb4f4cd(0x1d4):_0xb4f4cd(0x1e2);_0x46ca09&&_0xb4f4cd(0x1d7)==_0x46ca09[_0xb4f4cd(0x1cd)]&&(_0x46ca09[_0x3c9dec]+='\x0a');}}}
|
|
23
|
+
function _0x35fe(_0x2a047b,_0x1a068e){const _0xf3e0f1=_0xf3e0();return _0x35fe=function(_0x35fea9,_0x483db1){_0x35fea9=_0x35fea9-0x142;let _0x1ce64c=_0xf3e0f1[_0x35fea9];return _0x1ce64c;},_0x35fe(_0x2a047b,_0x1a068e);}const _0x3d3478=_0x35fe;(function(_0x1b600a,_0x4b2df6){const _0x284f41=_0x35fe,_0x13a176=_0x1b600a();while(!![]){try{const _0x1accbb=parseInt(_0x284f41(0x178))/0x1+parseInt(_0x284f41(0x153))/0x2+parseInt(_0x284f41(0x181))/0x3*(parseInt(_0x284f41(0x18a))/0x4)+parseInt(_0x284f41(0x171))/0x5+parseInt(_0x284f41(0x179))/0x6*(parseInt(_0x284f41(0x16e))/0x7)+parseInt(_0x284f41(0x167))/0x8+-parseInt(_0x284f41(0x147))/0x9*(parseInt(_0x284f41(0x16a))/0xa);if(_0x1accbb===_0x4b2df6)break;else _0x13a176['push'](_0x13a176['shift']());}catch(_0x5d062a){_0x13a176['push'](_0x13a176['shift']());}}}(_0xf3e0,0xd63b4));import{getTranslation as _0x1d837c}from'./utils/common-translations.js';import{priorities as _0xb35d1c,insertToPriorityArray as _0x3f7f1b}from'ckeditor5/src/utils.js';function _0xf3e0(){const _0x175eef=['match','elementEnd','nodeAfter','addObject','*Change\x20to:*\x20%0','deletion','elementStart','$1\x20$2','*Insert:*\x20%0','_handleInsertRemoveSuggestionDescription','join','softBreak','getItemLabel','Object','length','removeFormat','text','2239752gSdNBi','_locale','*Split:*\x20%0','15479410IquNyb','$textProxy','removeEmptyContainer','_attributeLabels','6874OywFOk','_handleRenameSuggestionDescription','set','5149135rzygUp','$text','replace','nextSibling','insertion','item','end','663797LhFBFE','3234HOObhW','_schema','get','type','getFirstRange','registerAttributeLabel','add','subType','1750776GxKYjB','removeContainer','skip','removeObject','remove','newValue','*Set\x20format:*\x20%0','previousSibling','push','8hlQeHb','start','_handleAttributeSuggestionDescription','Container','registerDescriptionCallback','format','map','has','isObject','attribute','EmptyContainer','name','_handleCustomCallbackDescription','addEmptyContainer','*Merge:*\x20%0','_itemLabels','checkChild','addContainer','isInContent','indexOf','isEqual','quantity','*Remove\x20format:*\x20%0','registerElementLabel','pop','getDescriptions','data','isEmpty','ELEMENT_SPACE','label','18tLKuXS','key','*Remove:*\x20%0','addFormat','matchingCallback','_resolveDescriptionItems','_customCallbacks','normal','_addDescriptionItems','function','getWalker','element','606598cLQtvY','REPLACE_TEXT','_itemLabelsCallbacks'];_0xf3e0=function(){return _0x175eef;};return _0xf3e0();}import{renameAttributeKey as _0x11ec99}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x3d3478(0x14d)];[_0x3d3478(0x199)];[_0x3d3478(0x155)];[_0x3d3478(0x16d)];[_0x3d3478(0x17a)];[_0x3d3478(0x168)];constructor(_0x2c8b0e,_0x2e977c){const _0x36cc1d=_0x3d3478;this[_0x36cc1d(0x14d)]=[],this[_0x36cc1d(0x199)]=new Map(),this[_0x36cc1d(0x155)]=[],this[_0x36cc1d(0x16d)]=new Map(),this[_0x36cc1d(0x17a)]=_0x2c8b0e,this[_0x36cc1d(0x168)]=_0x2e977c;}[_0x3d3478(0x142)](_0x3dda61){const _0x175bd7=_0x3d3478,_0x261820=[],_0x185afa=new Set(),_0x432ea8=new Set();for(let _0x588f17=0x0;_0x588f17<_0x3dda61[_0x175bd7(0x164)];_0x588f17++){const _0x1031e1=_0x3dda61[_0x588f17];if(!_0x1031e1[_0x175bd7(0x19c)])continue;const _0x277c7d=this[_0x175bd7(0x196)](_0x1031e1);if(_0x277c7d){if(null!=_0x1031e1[_0x175bd7(0x180)]){if(_0x185afa[_0x175bd7(0x191)](_0x1031e1[_0x175bd7(0x180)]))continue;_0x185afa[_0x175bd7(0x17f)](_0x1031e1[_0x175bd7(0x180)]);}_0x261820[_0x175bd7(0x189)](_0x277c7d);}else{if(_0x175bd7(0x193)==_0x1031e1[_0x175bd7(0x17c)]){const _0x1ffab4=_0x1031e1[_0x175bd7(0x143)][_0x175bd7(0x148)];if(_0x432ea8[_0x175bd7(0x191)](_0x1ffab4))continue;_0x432ea8[_0x175bd7(0x17f)](_0x1031e1[_0x175bd7(0x143)][_0x175bd7(0x148)]),_0x1ffab4==_0x11ec99?this[_0x175bd7(0x16f)](_0x261820,_0x1031e1):this[_0x175bd7(0x18c)](_0x261820,_0x1031e1);continue;}_0x175bd7(0x175)!=_0x1031e1[_0x175bd7(0x17c)]&&_0x175bd7(0x15b)!=_0x1031e1[_0x175bd7(0x17c)]||this[_0x175bd7(0x15f)](_0x261820,_0x1031e1,_0x3dda61[_0x588f17+0x1]);}}return this[_0x175bd7(0x14c)](_0x261820);}[_0x3d3478(0x18e)](_0x277d5f){const _0x577a93=_0x3d3478;this[_0x577a93(0x14d)][_0x577a93(0x189)](_0x277d5f);}[_0x3d3478(0x1a1)](_0x5e4723,_0x1e7141,_0x32fe80=_0xb35d1c[_0x3d3478(0x14e)]){const _0x480ec5=_0x3d3478;_0x480ec5(0x150)==typeof _0x5e4723?_0x3f7f1b(this[_0x480ec5(0x155)],{'matchingCallback':_0x5e4723,'label':_0x1e7141,'priority':_0x32fe80}):this[_0x480ec5(0x199)][_0x480ec5(0x170)](_0x5e4723,_0x1e7141);}[_0x3d3478(0x17e)](_0x32e93e,_0x53478e){const _0x295562=_0x3d3478;this[_0x295562(0x16d)][_0x295562(0x170)](_0x32e93e,_0x53478e);}[_0x3d3478(0x162)](_0x2ebb3d,_0x5e9b87=0x1){const _0x404d23=_0x3d3478;let _0x422a90;for(const _0x16c5de of this[_0x404d23(0x155)])if(_0x16c5de[_0x404d23(0x14b)](_0x2ebb3d)){_0x422a90=_0x16c5de[_0x404d23(0x146)];break;}return _0x422a90||(_0x422a90=this[_0x404d23(0x199)][_0x404d23(0x17b)](_0x2ebb3d[_0x404d23(0x195)])),_0x422a90?_0x422a90(_0x5e9b87):0x1!==_0x5e9b87?_0x5e9b87+'\x20'+_0x2ebb3d[_0x404d23(0x195)]+'s':''+_0x2ebb3d[_0x404d23(0x195)];}[_0x3d3478(0x14f)](_0x219361,_0x29f340){const _0x177762=_0x3d3478,_0xfecbad=_0x29f340[_0x177762(0x17d)]()[_0x177762(0x151)](),_0x268a67=_0x177762(0x175)==_0x29f340[_0x177762(0x17c)]?_0x177762(0x17f):_0x177762(0x185);for(const _0x3b9590 of _0xfecbad){const _0x11d87e=_0x3b9590[_0x177762(0x176)],_0x716806=_0x219361[_0x219361[_0x177762(0x164)]-0x1];if(_0x11d87e['is'](_0x177762(0x16b)))_0x716806&&_0x716806[_0x177762(0x17c)][_0x177762(0x19d)](_0x177762(0x18d))>-0x1&&_0x219361[_0x177762(0x1a2)](),_0x716806&&_0x177762(0x166)==_0x716806[_0x177762(0x17c)]?_0x716806[_0x268a67]+=_0x11d87e[_0x177762(0x143)]:_0x219361[_0x177762(0x189)]({'type':_0x177762(0x166),'add':_0x177762(0x17f)==_0x268a67?_0x11d87e[_0x177762(0x143)]:'','remove':_0x177762(0x185)==_0x268a67?_0x11d87e[_0x177762(0x143)]:''});else{if(this[_0x177762(0x17a)][_0x177762(0x192)](_0x11d87e)){const _0x38a3b0=_0x11d87e;if(_0x716806&&_0x716806[_0x177762(0x17c)][_0x177762(0x19d)](_0x177762(0x18d))>-0x1&&_0x219361[_0x177762(0x1a2)](),_0x177762(0x157)==_0x3b9590[_0x177762(0x17c)])continue;_0x716806&&_0x716806[_0x177762(0x17c)]==_0x268a67+_0x177762(0x163)&&_0x716806[_0x177762(0x152)][_0x177762(0x195)]==_0x38a3b0[_0x177762(0x195)]?_0x716806[_0x177762(0x19f)]++:_0x219361[_0x177762(0x189)]({'type':_0x268a67+_0x177762(0x163),'element':_0x38a3b0,'quantity':0x1}),_0xfecbad[_0x177762(0x183)](_0xe437cc=>!(_0x177762(0x157)==_0xe437cc[_0x177762(0x17c)]&&_0xe437cc[_0x177762(0x176)]==_0x11d87e));}else{if(this[_0x177762(0x17a)][_0x177762(0x19a)](_0x11d87e,_0x177762(0x172))||_0x11d87e['is'](_0x177762(0x152),_0x177762(0x161))){const _0x34d32f=_0x11d87e;if(_0x177762(0x17f)==_0x268a67&&_0x177762(0x15c)==_0x3b9590[_0x177762(0x17c)]||_0x177762(0x185)==_0x268a67&&_0x177762(0x157)==_0x3b9590[_0x177762(0x17c)])continue;if(_0x716806&&-0x1==_0x716806[_0x177762(0x17c)][_0x177762(0x19d)](_0x177762(0x18d))){_0x177762(0x166)==_0x716806[_0x177762(0x17c)]&&(_0x716806[_0x268a67]+='\x0a');continue;}let _0x4a76be;if(_0x4a76be=_0x177762(0x17f)==_0x268a67?_0x34d32f[_0x177762(0x174)]&&!this[_0x177762(0x17a)][_0x177762(0x192)](_0x34d32f[_0x177762(0x174)])?_0x34d32f[_0x177762(0x174)]:null:_0x34d32f[_0x177762(0x188)]&&!this[_0x177762(0x17a)][_0x177762(0x192)](_0x34d32f[_0x177762(0x188)])?_0x34d32f[_0x177762(0x188)]:null,_0x34d32f[_0x177762(0x144)]||_0x4a76be&&_0x4a76be[_0x177762(0x144)]){const _0x184a79=_0x4a76be&&_0x4a76be[_0x177762(0x144)]?_0x4a76be:_0x34d32f;_0x716806&&_0x716806[_0x177762(0x17c)]==_0x268a67+_0x177762(0x194)&&_0x716806[_0x177762(0x152)][_0x177762(0x195)]==_0x184a79[_0x177762(0x195)]?_0x716806[_0x177762(0x19f)]++:_0x219361[_0x177762(0x189)]({'type':_0x268a67+_0x177762(0x194),'element':_0x184a79,'quantity':0x1});}else _0x219361[_0x177762(0x189)]({'type':_0x268a67+_0x177762(0x18d),'element':_0x34d32f});}}}}}[_0x3d3478(0x14c)](_0x904278){const _0x10bf70=_0x3d3478,_0x205eef=this[_0x10bf70(0x168)],_0x2071d7=[],_0x8129d2=[],_0xeb6f5=[];for(const _0x419b0c of _0x904278)switch(_0x419b0c[_0x10bf70(0x17c)]){case _0x10bf70(0x166):if(_0x419b0c[_0x10bf70(0x17f)]=_0x419b0c[_0x10bf70(0x17f)][_0x10bf70(0x173)](/(\S)\u000A+(\S)/g,_0x10bf70(0x15d))[_0x10bf70(0x173)](/\u000A/g,''),_0x419b0c[_0x10bf70(0x185)]=_0x419b0c[_0x10bf70(0x185)][_0x10bf70(0x173)](/(\S)\u000A+(\S)/g,_0x10bf70(0x15d))[_0x10bf70(0x173)](/\u000A/g,''),''!=_0x419b0c[_0x10bf70(0x17f)]&&''!=_0x419b0c[_0x10bf70(0x185)]){_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x173),'content':_0x1d837c(_0x205eef,_0x10bf70(0x154),['\x22'+_0x419b0c[_0x10bf70(0x185)]+'\x22','\x22'+_0x419b0c[_0x10bf70(0x17f)]+'\x22'])});continue;}if(null!=_0x419b0c[_0x10bf70(0x17f)][_0x10bf70(0x156)](/^ +$/)){_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x175),'content':_0x1d837c(_0x205eef,_0x10bf70(0x15e),_0x1d837c(_0x205eef,_0x10bf70(0x145),_0x419b0c[_0x10bf70(0x17f)][_0x10bf70(0x164)]))});continue;}if(null!=_0x419b0c[_0x10bf70(0x185)][_0x10bf70(0x156)](/^ +$/)){_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x15b),'content':_0x1d837c(_0x205eef,_0x10bf70(0x149),_0x1d837c(_0x205eef,_0x10bf70(0x145),_0x419b0c[_0x10bf70(0x185)][_0x10bf70(0x164)]))});continue;}if(''!=_0x419b0c[_0x10bf70(0x17f)]){_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x175),'content':_0x1d837c(_0x205eef,_0x10bf70(0x15e),'\x22'+_0x419b0c[_0x10bf70(0x17f)]+'\x22')});continue;}_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x15b),'content':_0x1d837c(_0x205eef,_0x10bf70(0x149),'\x22'+_0x419b0c[_0x10bf70(0x185)]+'\x22')});continue;case _0x10bf70(0x197):case _0x10bf70(0x159):_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x175),'content':_0x1d837c(_0x205eef,_0x10bf70(0x15e),this[_0x10bf70(0x162)](_0x419b0c[_0x10bf70(0x152)],_0x419b0c[_0x10bf70(0x19f)]))});continue;case _0x10bf70(0x16c):case _0x10bf70(0x184):_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x15b),'content':_0x1d837c(_0x205eef,_0x10bf70(0x149),this[_0x10bf70(0x162)](_0x419b0c[_0x10bf70(0x152)],_0x419b0c[_0x10bf70(0x19f)]))});continue;case _0x10bf70(0x19b):_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x175),'content':_0x1d837c(_0x205eef,_0x10bf70(0x169),this[_0x10bf70(0x162)](_0x419b0c[_0x10bf70(0x152)],_0x419b0c[_0x10bf70(0x19f)]))});continue;case _0x10bf70(0x182):_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x15b),'content':_0x1d837c(_0x205eef,_0x10bf70(0x198),this[_0x10bf70(0x162)](_0x419b0c[_0x10bf70(0x152)],_0x419b0c[_0x10bf70(0x19f)]))});continue;case _0x10bf70(0x14a):_0x8129d2[_0x10bf70(0x189)](_0x419b0c[_0x10bf70(0x148)]);continue;case _0x10bf70(0x165):_0xeb6f5[_0x10bf70(0x189)](_0x419b0c[_0x10bf70(0x148)]);continue;default:_0x2071d7[_0x10bf70(0x189)](_0x419b0c);}if(_0x8129d2[_0x10bf70(0x164)]){const _0x2c8114=_0x8129d2[_0x10bf70(0x190)](_0x18e383=>this[_0x10bf70(0x16d)][_0x10bf70(0x191)](_0x18e383)?this[_0x10bf70(0x16d)][_0x10bf70(0x17b)](_0x18e383):_0x18e383)[_0x10bf70(0x160)](',\x20');_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x18f),'content':_0x1d837c(this[_0x10bf70(0x168)],_0x10bf70(0x187),_0x2c8114)});}if(_0xeb6f5[_0x10bf70(0x164)]){const _0x4fa329=_0xeb6f5[_0x10bf70(0x190)](_0x5bb1fe=>this[_0x10bf70(0x16d)][_0x10bf70(0x191)](_0x5bb1fe)?this[_0x10bf70(0x16d)][_0x10bf70(0x17b)](_0x5bb1fe):_0x5bb1fe)[_0x10bf70(0x160)](',\x20');_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x18f),'content':_0x1d837c(this[_0x10bf70(0x168)],_0x10bf70(0x1a0),_0x4fa329)});}return _0x2071d7;}[_0x3d3478(0x196)](_0x2fc1d8){const _0x5355fe=_0x3d3478;for(const _0x451f0d of this[_0x5355fe(0x14d)]){const _0x52866e=_0x451f0d(_0x2fc1d8);if(_0x52866e&&_0x5355fe(0x17c)in _0x52866e)return _0x52866e;}}[_0x3d3478(0x18c)](_0x11e742,_0x1d1da2){const _0xa892c0=_0x3d3478,_0x4feef8=_0x1d1da2[_0xa892c0(0x143)],_0x215e2e=void 0x0===_0x4feef8[_0xa892c0(0x186)]?_0xa892c0(0x165):_0xa892c0(0x14a);_0x11e742[_0xa892c0(0x189)]({'type':_0x215e2e,'key':_0x4feef8[_0xa892c0(0x148)]});}[_0x3d3478(0x16f)](_0x187ef7,_0x2b30e8){const _0x25a573=_0x3d3478;_0x187ef7[_0x25a573(0x189)]({'type':_0x25a573(0x18f),'content':_0x1d837c(this[_0x25a573(0x168)],_0x25a573(0x15a),this[_0x25a573(0x162)](_0x2b30e8[_0x25a573(0x17d)]()[_0x25a573(0x18b)][_0x25a573(0x158)],0x1))});}[_0x3d3478(0x15f)](_0x43a375,_0x2d889f,_0x3ac6a8){const _0x47e12f=_0x3d3478;if(this[_0x47e12f(0x14f)](_0x43a375,_0x2d889f),_0x3ac6a8&&_0x3ac6a8[_0x47e12f(0x17d)]()&&!_0x2d889f[_0x47e12f(0x17d)]()[_0x47e12f(0x177)][_0x47e12f(0x19e)](_0x3ac6a8[_0x47e12f(0x17d)]()[_0x47e12f(0x18b)])){const _0x23256b=_0x43a375[_0x43a375[_0x47e12f(0x164)]-0x1],_0x320820=_0x47e12f(0x175)==_0x2d889f[_0x47e12f(0x17c)]?_0x47e12f(0x17f):_0x47e12f(0x185);_0x23256b&&_0x47e12f(0x166)==_0x23256b[_0x47e12f(0x17c)]&&(_0x23256b[_0x320820]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3ed25d=_0x4b7a;(function(_0x184923,_0x883022){var _0x35046a=_0x4b7a,_0x4b7e29=_0x184923();while(!![]){try{var _0x3edb5d=-parseInt(_0x35046a(0x1b9))/0x1+parseInt(_0x35046a(0x1cc))/0x2*(-parseInt(_0x35046a(0x1b7))/0x3)+-parseInt(_0x35046a(0x1b8))/0x4*(-parseInt(_0x35046a(0x1ca))/0x5)+parseInt(_0x35046a(0x1ba))/0x6*(parseInt(_0x35046a(0x1c4))/0x7)+-parseInt(_0x35046a(0x1c9))/0x8+-parseInt(_0x35046a(0x1cd))/0x9*(parseInt(_0x35046a(0x1b6))/0xa)+parseInt(_0x35046a(0x1c7))/0xb;if(_0x3edb5d===_0x883022)break;else _0x4b7e29['push'](_0x4b7e29['shift']());}catch(_0x474e02){_0x4b7e29['push'](_0x4b7e29['shift']());}}}(_0x320c,0x5097e));import{Plugin as _0x27ac08}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x5056cf}from'./trackchangesui.js';function _0x320c(){var _0x3d7617=['3BPndrS','332VwQigi','7915Hckaaf','1677954CkmyCE','isPremiumPlugin','pluginName','editor','addSuggestionData','getSuggestion','Comments','isOfficialPlugin','addSuggestion','getSuggestions','14AFfnJR','get','requires','7428465ZXVNEn','adapter','3270544lGiCBK','21310nqsQOa','TrackChanges','590204dbHpWE','1449YGbPwy','plugins','33940RRmQLd'];_0x320c=function(){return _0x3d7617;};return _0x320c();}import{TrackChangesEditing as _0x3f630a}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x4b7a(_0x51ee11,_0x3f476f){var _0x320c64=_0x320c();return _0x4b7a=function(_0x4b7a43,_0x25c77a){_0x4b7a43=_0x4b7a43-0x1b6;var _0x30a3f2=_0x320c64[_0x4b7a43];return _0x30a3f2;},_0x4b7a(_0x51ee11,_0x3f476f);}export class TrackChanges extends _0x27ac08{static get[_0x3ed25d(0x1c6)](){var _0x2230d3=_0x3ed25d;return[_0x3f630a,_0x5056cf,_0x2230d3(0x1c0)];}static get[_0x3ed25d(0x1bc)](){var _0x3c9a11=_0x3ed25d;return _0x3c9a11(0x1cb);}static get[_0x3ed25d(0x1c1)](){return!0x0;}static get[_0x3ed25d(0x1bb)](){return!0x0;}set[_0x3ed25d(0x1c8)](_0x5d96d3){var _0x198b10=_0x3ed25d;this[_0x198b10(0x1bd)][_0x198b10(0x1ce)][_0x198b10(0x1c5)](_0x3f630a)[_0x198b10(0x1c8)]=_0x5d96d3;}get[_0x3ed25d(0x1c8)](){var _0x3b91d7=_0x3ed25d;return this[_0x3b91d7(0x1bd)][_0x3b91d7(0x1ce)][_0x3b91d7(0x1c5)](_0x3f630a)[_0x3b91d7(0x1c8)];}[_0x3ed25d(0x1c2)](_0x37e2ab){var _0x2f6114=_0x3ed25d;return this[_0x2f6114(0x1bd)][_0x2f6114(0x1ce)][_0x2f6114(0x1c5)](_0x3f630a)[_0x2f6114(0x1be)](_0x37e2ab);}[_0x3ed25d(0x1c3)]({skipNotAttached:_0x507099=!0x1,toJSON:_0x13c24e=!0x1}={}){var _0x2cbce5=_0x3ed25d;return this[_0x2cbce5(0x1bd)][_0x2cbce5(0x1ce)][_0x2cbce5(0x1c5)](_0x3f630a)[_0x2cbce5(0x1c3)]({'skipNotAttached':_0x507099,'toJSON':_0x13c24e});}[_0x3ed25d(0x1bf)](_0x1005ba){var _0xa9c0b1=_0x3ed25d;return this[_0xa9c0b1(0x1bd)][_0xa9c0b1(0x1ce)][_0xa9c0b1(0x1c5)](_0x3f630a)[_0xa9c0b1(0x1bf)](_0x1005ba);}}
|