@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240414.0 → 0.0.0-nightly-20240416.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/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/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5913dc=_0x4ba1;(function(_0x1f2ab2,_0x25aab2){const _0x43956c=_0x4ba1,_0x3ba484=_0x1f2ab2();while(!![]){try{const _0x34073f=-parseInt(_0x43956c(0x8d))/0x1+parseInt(_0x43956c(0x8c))/0x2+-parseInt(_0x43956c(0x86))/0x3+-parseInt(_0x43956c(0x8e))/0x4*(parseInt(_0x43956c(0x8b))/0x5)+-parseInt(_0x43956c(0x80))/0x6*(-parseInt(_0x43956c(0x7f))/0x7)+-parseInt(_0x43956c(0x82))/0x8+parseInt(_0x43956c(0x90))/0x9;if(_0x34073f===_0x25aab2)break;else _0x3ba484['push'](_0x3ba484['shift']());}catch(_0x298010){_0x3ba484['push'](_0x3ba484['shift']());}}}(_0x5bc3,0x4a6ee));function _0x5bc3(){const _0x1f742d=['plugins','669735cetRLL','Template','afterInit','insertTemplate','has','2389720bCxoMP','893184tfHbiX','437136sPtHlh','4QBVcbP','get','8811234vafBqo','3143LmFHuj','4794wxndQX','TrackChangesEditing','2729328nYyETX','enableCommand','editor'];_0x5bc3=function(){return _0x1f742d;};return _0x5bc3();}import{Plugin as _0x3d5f8b}from'ckeditor5/src/core.js';function _0x4ba1(_0x5e1691,_0x5591e4){const _0x5bc33b=_0x5bc3();return _0x4ba1=function(_0x4ba176,_0xa8ffab){_0x4ba176=_0x4ba176-0x7f;let _0x5dda15=_0x5bc33b[_0x4ba176];return _0x5dda15;},_0x4ba1(_0x5e1691,_0x5591e4);}export default class _t extends _0x3d5f8b{[_0x5913dc(0x88)](){const _0x402fe0=_0x5913dc,_0x2dd147=this[_0x402fe0(0x84)];_0x2dd147[_0x402fe0(0x85)][_0x402fe0(0x8a)](_0x402fe0(0x87))&&_0x2dd147[_0x402fe0(0x85)][_0x402fe0(0x8f)](_0x402fe0(0x81))[_0x402fe0(0x83)](_0x402fe0(0x89));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3162(_0x19cb32,_0x3536a8){const _0x506e4d=_0x506e();return _0x3162=function(_0x31620a,_0x3246e3){_0x31620a=_0x31620a-0x1da;let _0x48981d=_0x506e4d[_0x31620a];return _0x48981d;},_0x3162(_0x19cb32,_0x3536a8);}const _0x32a399=_0x3162;(function(_0x2950ef,_0x464b79){const _0x300f6b=_0x3162,_0x59756a=_0x2950ef();while(!![]){try{const _0x32cd9c=parseInt(_0x300f6b(0x201))/0x1+parseInt(_0x300f6b(0x1f0))/0x2*(-parseInt(_0x300f6b(0x1dd))/0x3)+parseInt(_0x300f6b(0x1de))/0x4*(-parseInt(_0x300f6b(0x1ff))/0x5)+-parseInt(_0x300f6b(0x1ef))/0x6+parseInt(_0x300f6b(0x1f5))/0x7+-parseInt(_0x300f6b(0x1f8))/0x8+parseInt(_0x300f6b(0x1e1))/0x9;if(_0x32cd9c===_0x464b79)break;else _0x59756a['push'](_0x59756a['shift']());}catch(_0x2a4c6d){_0x59756a['push'](_0x59756a['shift']());}}}(_0x506e,0x9f1ef));function _0x506e(){const _0x4f005b=['locale','getNearestSelectionRange','get','418145YwGLvi','suggestion','_descriptionFactory','1408776ohUwmE','afterInit','nodeBefore','registerElementLabel','getChangedMarkers','Title','end','1959935jkeGCk','registerPostFixer','57123fStrhG','updateMarker','model','forward','TrackChangesEditing','removeMarker','isTouching','17274LQrYRo','4MVcGub','document','isEqual','20182725vdhtiu','has','differ','start','_splitMarkerName','from','isCollapsed','plugins','editor','element','createRange','schema','newRange','ELEMENT_TITLE','376764CKIpQq','374tCEkZu','title-content'];_0x506e=function(){return _0x4f005b;};return _0x506e();}import{Plugin as _0x168c24}from'ckeditor5/src/core.js';import{getTranslation as _0x5244ec}from'../utils/common-translations.js';export default class Dt extends _0x168c24{[_0x32a399(0x1f9)](){const _0x19d68c=_0x32a399,_0x37faae=this[_0x19d68c(0x1e9)];if(!_0x37faae[_0x19d68c(0x1e8)][_0x19d68c(0x1e2)](_0x19d68c(0x1fd)))return;const _0x185ac9=_0x37faae[_0x19d68c(0x1e8)][_0x19d68c(0x1f4)](_0x19d68c(0x1da));_0x185ac9[_0x19d68c(0x1f7)][_0x19d68c(0x1fb)](_0x19d68c(0x1f1),()=>_0x5244ec(_0x37faae[_0x19d68c(0x1f2)],_0x19d68c(0x1ee))),_0x37faae[_0x19d68c(0x203)][_0x19d68c(0x1df)][_0x19d68c(0x200)](_0x447901=>{const _0x1e68b3=_0x19d68c;let _0xdcc6d3=!0x1;const _0x2fbeed=Array[_0x1e68b3(0x1e6)](_0x37faae[_0x1e68b3(0x203)][_0x1e68b3(0x1df)][_0x1e68b3(0x1e3)][_0x1e68b3(0x1fc)]());for(const {name:_0x58af44,data:_0x2e299d}of _0x2fbeed){const {group:_0x32bf7e}=_0x185ac9[_0x1e68b3(0x1e5)](_0x58af44);if(_0x1e68b3(0x1f6)!==_0x32bf7e||!_0x2e299d[_0x1e68b3(0x1ed)])continue;const _0x4dc293=_0x2e299d[_0x1e68b3(0x1ed)],_0x23b96b=_0x4dc293[_0x1e68b3(0x1fe)][_0x1e68b3(0x1fa)];if(!_0x23b96b||!_0x23b96b['is'](_0x1e68b3(0x1ea),_0x1e68b3(0x1f1)))continue;if(!_0x4dc293[_0x1e68b3(0x1e4)][_0x1e68b3(0x1dc)](_0x4dc293[_0x1e68b3(0x1fe)]))continue;const _0x1f36bb=_0x37faae[_0x1e68b3(0x203)][_0x1e68b3(0x1ec)][_0x1e68b3(0x1f3)](_0x4dc293[_0x1e68b3(0x1fe)],_0x1e68b3(0x204));if(_0x1f36bb&&_0x1f36bb[_0x1e68b3(0x1e7)]){const _0x4917e7=_0x447901[_0x1e68b3(0x1eb)](_0x4dc293[_0x1e68b3(0x1e4)],_0x1f36bb[_0x1e68b3(0x1e4)]);_0x4917e7[_0x1e68b3(0x1e0)](_0x4dc293)||(_0x447901[_0x1e68b3(0x202)](_0x58af44,{'range':_0x4917e7}),_0xdcc6d3=!0x0);}_0xdcc6d3||(_0x447901[_0x1e68b3(0x1db)](_0x58af44),_0xdcc6d3=!0x0);}return _0xdcc6d3;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ef5ac=_0x4718;function _0x25df(){const _0x493da7=['1904574MmrYbn','undo','get','afterInit','UndoEditing','has','TrackChangesEditing','175586ILqnCR','plugins','4635306PAKeYc','515jpeYPZ','730VfSLAV','18JBBjBW','585736NoMzNS','17884fvgGDE','240104KiCrqW','redo','241791iWQBcU','enableCommand','editor','14AgiJJl'];_0x25df=function(){return _0x493da7;};return _0x25df();}(function(_0x53c363,_0x195e42){const _0x99e6fd=_0x4718,_0x5462ff=_0x53c363();while(!![]){try{const _0x3a6d06=-parseInt(_0x99e6fd(0xc3))/0x1+-parseInt(_0x99e6fd(0xd2))/0x2*(-parseInt(_0x99e6fd(0xc2))/0x3)+parseInt(_0x99e6fd(0xc4))/0x4*(-parseInt(_0x99e6fd(0xc0))/0x5)+-parseInt(_0x99e6fd(0xcb))/0x6+-parseInt(_0x99e6fd(0xca))/0x7*(-parseInt(_0x99e6fd(0xc5))/0x8)+-parseInt(_0x99e6fd(0xbf))/0x9+parseInt(_0x99e6fd(0xc1))/0xa*(parseInt(_0x99e6fd(0xc7))/0xb);if(_0x3a6d06===_0x195e42)break;else _0x5462ff['push'](_0x5462ff['shift']());}catch(_0x5a16c5){_0x5462ff['push'](_0x5462ff['shift']());}}}(_0x25df,0x4c56d));import{Plugin as _0x4d32b8}from'ckeditor5/src/core.js';function _0x4718(_0x1fe723,_0x424792){const _0x25df2b=_0x25df();return _0x4718=function(_0x47180a,_0x24241a){_0x47180a=_0x47180a-0xbe;let _0x5c0dd4=_0x25df2b[_0x47180a];return _0x5c0dd4;},_0x4718(_0x1fe723,_0x424792);}export default class Nt extends _0x4d32b8{[_0x3ef5ac(0xce)](){const _0x5a3531=_0x3ef5ac,_0xf2d7af=this[_0x5a3531(0xc9)],_0x24f196=_0xf2d7af[_0x5a3531(0xbe)][_0x5a3531(0xcd)](_0x5a3531(0xd1));_0xf2d7af[_0x5a3531(0xbe)][_0x5a3531(0xd0)](_0x5a3531(0xcf))&&(_0x24f196[_0x5a3531(0xc8)](_0x5a3531(0xcc)),_0x24f196[_0x5a3531(0xc8)](_0x5a3531(0xc6)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x13b6(_0x1ff1bf,_0x78516f){const _0x517d6a=_0x517d();return _0x13b6=function(_0x13b677,_0x483136){_0x13b677=_0x13b677-0xd8;let _0x531cd1=_0x517d6a[_0x13b677];return _0x531cd1;},_0x13b6(_0x1ff1bf,_0x78516f);}function _0x517d(){const _0x1bf9f5=['1417685uBfYlG','ck-suggestion-marker-','markerName','isLimit','nextSibling','model','4334099LMNeaf','isBlock','type','1259376lIyuDl','push','get','toViewPosition','TrackChangesEditing','markerRange','getAttribute','isAtEnd','insert','9gkisAJ','includes','span','previousPosition','test','isContent','getItems','toViewElement','488655oXgMGy','908iwixhF','consumable','writer','plugins','start','element','13818152eTppQF','4137HxHDNf','elementEnd','createRangeOn','ck-suggestion-marker--active','getWalker','parent','getCustomProperty','activeMarkers','addHighlight','bindElementToMarker','name','schema','addClass','item','createUIElement','mapper','listIndent','hasAttribute','860242htqxBc','listItem'];_0x517d=function(){return _0x1bf9f5;};return _0x517d();}(function(_0x53f44f,_0x2a3dc2){const _0x3a078d=_0x13b6,_0x3c2f4c=_0x53f44f();while(!![]){try{const _0x3ac3c4=parseInt(_0x3a078d(0xd8))/0x1+-parseInt(_0x3a078d(0xf2))/0x2+-parseInt(_0x3a078d(0xe0))/0x3*(parseInt(_0x3a078d(0xd9))/0x4)+-parseInt(_0x3a078d(0xf4))/0x5+-parseInt(_0x3a078d(0xfd))/0x6+-parseInt(_0x3a078d(0xfa))/0x7+-parseInt(_0x3a078d(0xdf))/0x8*(-parseInt(_0x3a078d(0x106))/0x9);if(_0x3ac3c4===_0x2a3dc2)break;else _0x3c2f4c['push'](_0x3c2f4c['shift']());}catch(_0x15940a){_0x3c2f4c['push'](_0x3c2f4c['shift']());}}}(_0x517d,0x57ef4));export function getRangesWithAttribute(_0x7c1841,_0x4d91b6,_0x32afe0){const _0x2d65ec=_0x13b6,_0x314007=[];for(const _0x51a20c of _0x4d91b6[_0x2d65ec(0x10c)]())_0x51a20c[_0x2d65ec(0xf1)](_0x7c1841)&&_0x314007[_0x2d65ec(0xfe)](_0x32afe0[_0x2d65ec(0xe2)](_0x51a20c));return _0x314007;}export function getElementsAffectedByListItemRename(_0x2b9788){const _0x34a8af=_0x13b6,_0x13b02d=[];if(_0x2b9788['is'](_0x34a8af(0xde),_0x34a8af(0xf3))){let _0x4bd07a=_0x2b9788[_0x34a8af(0xf8)];for(;_0x4bd07a&&_0x4bd07a['is'](_0x34a8af(0xde),_0x34a8af(0xf3))&&_0x4bd07a[_0x34a8af(0x103)](_0x34a8af(0xf0))>0x0;)_0x13b02d[_0x34a8af(0xfe)](_0x4bd07a),_0x4bd07a=_0x4bd07a[_0x34a8af(0xf8)];}return _0x13b02d;}export function downcastSplitMergeMarker(_0x26f2f0,_0x34eb64,{showActiveMarker:_0x2dd4da=!0x0}={}){const _0xf86cb6=_0x13b6,_0x1815f7=_0x26f2f0[_0xf86cb6(0xdc)][_0xf86cb6(0xff)](_0xf86cb6(0x101));return(_0x48a8ac,_0x8ba99c,_0x26347b)=>{const _0x5fed38=_0xf86cb6;if(!_0x26347b[_0x5fed38(0xda)][_0x5fed38(0x10a)](_0x8ba99c[_0x5fed38(0x102)],_0x48a8ac[_0x5fed38(0xea)]))return;const _0x171893=_0x8ba99c[_0x5fed38(0x102)][_0x5fed38(0xe4)](),_0x148b7d=_0x8ba99c[_0x5fed38(0x102)][_0x5fed38(0xdd)],_0x5eccaf=_0x26f2f0[_0x5fed38(0xf9)][_0x5fed38(0xeb)];let _0xda42d7=null,_0x4d7f3b=null,_0x471e96=!0x1,_0x5f3a18=!0x1;for(const _0x58f69d of _0x171893){const _0x117c85=_0x58f69d[_0x5fed38(0xed)];_0x471e96=_0x471e96||_0x5eccaf[_0x5fed38(0x10b)](_0x117c85);const _0x185ed3=_0x26347b[_0x5fed38(0xef)][_0x5fed38(0x10d)](_0x117c85);if(_0x185ed3&&_0x185ed3[_0x5fed38(0xe6)](_0x5fed38(0xe8)))return;_0x5fed38(0xe1)==_0x58f69d[_0x5fed38(0xfc)]&&(_0x5eccaf[_0x5fed38(0xfb)](_0x117c85)&&!_0x5eccaf[_0x5fed38(0xf7)](_0x117c85)&&(_0x117c85[_0x5fed38(0xf8)]||_0x148b7d[_0x5fed38(0x104)]?_0xda42d7&&_0xda42d7[_0x5fed38(0xe5)]==_0x117c85||(_0xda42d7=_0x117c85,_0x5ebb95(_0x58f69d[_0x5fed38(0x109)]),_0x5f3a18=!0x0):_0x4d7f3b=_0x4d7f3b||_0x58f69d[_0x5fed38(0x109)]));}function _0x5ebb95(_0xd82c20){const _0x161c53=_0x5fed38,_0x254b44=_0x26347b[_0x161c53(0xdb)][_0x161c53(0xee)](_0x161c53(0x108),{'class':_0x161c53(0xf5)+_0x34eb64}),_0x1fff8d=_0x26347b[_0x161c53(0xef)][_0x161c53(0x100)](_0xd82c20);_0x2dd4da&&_0x1815f7[_0x161c53(0xe7)][_0x161c53(0x107)](_0x8ba99c[_0x161c53(0xf6)])&&_0x26347b[_0x161c53(0xdb)][_0x161c53(0xec)](_0x161c53(0xe3),_0x254b44),_0x26347b[_0x161c53(0xdb)][_0x161c53(0x105)](_0x1fff8d,_0x254b44),_0x26347b[_0x161c53(0xef)][_0x161c53(0xe9)](_0x254b44,_0x8ba99c[_0x161c53(0xf6)]);}_0x471e96||_0x5f3a18||!_0x4d7f3b||_0x5ebb95(_0x4d7f3b);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ab699=_0x3ecb;function _0x8bef(){const _0x36c12b=['isExternal','removeMarkers','onAccept','delete','type','23334UaZdvw','onDiscard','length','_isDataLoaded','reduce','45INICXe','getMultiRangeId','substr','410571LOrjxw','_onDiscard','@external','getRanges','get','getItems','_markerNames','removeMarker','182mCKHzI','57724dcXtdm','markers','2866660bbMUIm','change','creator','filter','addRange','getMarkerNames','addMarker','nodeAfter','from','getContainedElement','accept','start','58cJWquq','split','previous','author','next','getAllAdjacentSuggestions','push','_saved','isInContent','getFirstRange','size','setAttribute','_onAccept','2129664iOiQAV','addMarkerName','clear','commentThread','isMultiRange','isIntersectingWithRange','721790fRYdCw','map','onAttributesChange','decorate','end','_onAttributesChange','getRange','8901CgmQRV','hasComments','getMarkers','add','_model','authoredAt','nodeBefore','head','createdAt','isIntersecting','removeAttribute','toJSON','data','attributes','set','discard','getFirstMarker','subType','suggestion:'];_0x8bef=function(){return _0x36c12b;};return _0x8bef();}function _0x3ecb(_0x1e1b3a,_0x2b9422){const _0x8bef55=_0x8bef();return _0x3ecb=function(_0x3ecbc,_0x2e2ab0){_0x3ecbc=_0x3ecbc-0xbb;let _0x2eeaa8=_0x8bef55[_0x3ecbc];return _0x2eeaa8;},_0x3ecb(_0x1e1b3a,_0x2b9422);}(function(_0x3d9a09,_0x291527){const _0x3c02a7=_0x3ecb,_0x2c37cc=_0x3d9a09();while(!![]){try{const _0x3b40c1=-parseInt(_0x3c02a7(0xf1))/0x1*(-parseInt(_0x3c02a7(0xd7))/0x2)+parseInt(_0x3c02a7(0xbd))/0x3*(-parseInt(_0x3c02a7(0xc9))/0x4)+parseInt(_0x3c02a7(0xea))/0x5+-parseInt(_0x3c02a7(0x109))/0x6*(-parseInt(_0x3c02a7(0xc8))/0x7)+parseInt(_0x3c02a7(0xe4))/0x8+-parseInt(_0x3c02a7(0xc0))/0x9+-parseInt(_0x3c02a7(0xcb))/0xa;if(_0x3b40c1===_0x291527)break;else _0x2c37cc['push'](_0x2c37cc['shift']());}catch(_0x281b49){_0x2c37cc['push'](_0x2c37cc['shift']());}}}(_0x8bef,0x35f83));import{Element as _0x43dea2}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x2f6a4c,uid as _0x54a93f}from'ckeditor5/src/utils.js';import{cloneDeep as _0x2b6cf1,isEqual as _0x1f4c47,set as _0x473dc7,unset as _0x53a119}from'lodash-es';export default class u extends _0x2f6a4c(){constructor(_0x508837,_0x4a966d){const _0x398a46=_0x3ecb;super(),this[_0x398a46(0xbb)]=!0x1,this['id']=_0x4a966d['id'],this[_0x398a46(0x108)]=_0x4a966d[_0x398a46(0x108)],this[_0x398a46(0x102)]=_0x4a966d[_0x398a46(0x102)]||null,this[_0x398a46(0xda)]=_0x4a966d[_0x398a46(0xda)],this[_0x398a46(0xcd)]=_0x4a966d[_0x398a46(0xcd)]||_0x4a966d[_0x398a46(0xda)],this[_0x398a46(0x104)]=Boolean(_0x4a966d[_0x398a46(0xfe)]&&_0x4a966d[_0x398a46(0xfe)][_0x398a46(0xc2)]),this[_0x398a46(0xfd)]=null,this[_0x398a46(0xf5)]=_0x508837,this[_0x398a46(0xe3)]=_0x4a966d[_0x398a46(0x106)],this[_0x398a46(0xc1)]=_0x4a966d[_0x398a46(0x10a)],this[_0x398a46(0xef)]=_0x4a966d[_0x398a46(0xec)],this[_0x398a46(0xc6)]=new Set(),this[_0x398a46(0xf9)]=null,this[_0x398a46(0xff)](_0x398a46(0xf6),null),this[_0x398a46(0xff)](_0x398a46(0xfe),_0x4a966d[_0x398a46(0xfe)]||{}),this[_0x398a46(0xff)](_0x398a46(0xd9),null),this[_0x398a46(0xff)](_0x398a46(0xdb),null),this[_0x398a46(0xff)](_0x398a46(0xe7),null),this[_0x398a46(0xff)](_0x398a46(0xde),!0x1),this[_0x398a46(0xed)](_0x398a46(0xd5)),this[_0x398a46(0xed)](_0x398a46(0x100));}get[_0x1ab699(0xf8)](){const _0x3f82ca=_0x1ab699;let _0x36a865=this;for(;_0x36a865[_0x3f82ca(0xd9)];)_0x36a865=_0x36a865[_0x3f82ca(0xd9)];return _0x36a865;}get[_0x1ab699(0xf2)](){const _0x3a2611=_0x1ab699;return!!this[_0x3a2611(0xe7)]&&this[_0x3a2611(0xe7)][_0x3a2611(0x10b)]>0x0;}get[_0x1ab699(0xe8)](){const _0x2c155a=_0x1ab699;if(0x0==this[_0x2c155a(0xc6)][_0x2c155a(0xe1)])return!0x1;return 0x6==Array[_0x2c155a(0xd3)](this[_0x2c155a(0xc6)])[0x0][_0x2c155a(0xd8)](':')[_0x2c155a(0x10b)];}get[_0x1ab699(0xdf)](){const _0x5308d4=_0x1ab699;return null!==this[_0x5308d4(0x101)]();}[_0x1ab699(0xe5)](_0x1cae91){const _0x462131=_0x1ab699;this[_0x462131(0xc6)][_0x462131(0xf4)](_0x1cae91);}[_0x1ab699(0xd0)](){const _0x21ca7e=_0x1ab699;return Array[_0x21ca7e(0xd3)](this[_0x21ca7e(0xc6)]);}[_0x1ab699(0xf3)](){const _0x34956a=_0x1ab699;return this[_0x34956a(0xd0)]()[_0x34956a(0xeb)](_0x212bef=>this[_0x34956a(0xf5)][_0x34956a(0xca)][_0x34956a(0xc4)](_0x212bef))[_0x34956a(0xce)](_0x30ef6b=>_0x30ef6b);}[_0x1ab699(0x101)](){const _0x2db076=_0x1ab699;return this[_0x2db076(0xf3)]()[0x0]||null;}[_0x1ab699(0x105)](){const _0xf77d40=_0x1ab699;this[_0xf77d40(0xf5)][_0xf77d40(0xcc)](_0x56d0bd=>{const _0x25be21=_0xf77d40;for(const _0x2adb51 of this[_0x25be21(0xf3)]())_0x56d0bd[_0x25be21(0xc7)](_0x2adb51);}),this[_0xf77d40(0xc6)][_0xf77d40(0xe6)]();}[_0x1ab699(0xc7)](_0x5b3db3){const _0x2cb5ff=_0x1ab699;this[_0x2cb5ff(0xf5)][_0x2cb5ff(0xcc)](_0x83ada=>{const _0x15886a=_0x2cb5ff;_0x83ada[_0x15886a(0xc7)](_0x5b3db3);}),this[_0x2cb5ff(0xc6)][_0x2cb5ff(0x107)](_0x5b3db3);}[_0x1ab699(0xcf)](_0x315988){const _0x3c73f9=_0x1ab699,_0x3681d1=_0x3c73f9(0x103)+this[_0x3c73f9(0x108)]+':'+this[_0x3c73f9(0x102)]+':'+this['id']+':'+this[_0x3c73f9(0xcd)]['id']+':'+u[_0x3c73f9(0xbe)]();this[_0x3c73f9(0xe5)](_0x3681d1),this[_0x3c73f9(0xf5)][_0x3c73f9(0xcc)](_0x4a6105=>{const _0x5a8b82=_0x3c73f9;_0x4a6105[_0x5a8b82(0xd1)](_0x3681d1,{'range':_0x315988,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1ab699(0xe9)](_0xd9c04){const _0x51ad17=_0x1ab699;for(const _0x193740 of this[_0x51ad17(0xc3)]())if(_0x193740[_0x51ad17(0xfa)](_0xd9c04))return!0x0;return!0x1;}[_0x1ab699(0xc3)](){const _0x629af2=_0x1ab699;return this[_0x629af2(0xf3)]()[_0x629af2(0xeb)](_0x143cb3=>_0x143cb3[_0x629af2(0xf0)]());}[_0x1ab699(0xc5)](){const _0x58cade=_0x1ab699;return this[_0x58cade(0xc3)]()[_0x58cade(0xbc)]((_0x46390a,_0xebfce2)=>[..._0x46390a,..._0xebfce2[_0x58cade(0xc5)]()],[]);}[_0x1ab699(0xe0)](){const _0x946158=_0x1ab699;var _0x1352c6;return(null===(_0x1352c6=this[_0x946158(0x101)]())||void 0x0===_0x1352c6?void 0x0:_0x1352c6[_0x946158(0xf0)]())||null;}[_0x1ab699(0xd4)](){const _0x21d9df=_0x1ab699,_0x6fb963=this[_0x21d9df(0xc3)]();if(0x1!=_0x6fb963[_0x21d9df(0x10b)])return null;const _0x1e5bb3=_0x6fb963[0x0],_0x3af558=_0x1e5bb3[_0x21d9df(0xd6)][_0x21d9df(0xd2)],_0x24fad3=_0x1e5bb3[_0x21d9df(0xee)][_0x21d9df(0xf7)];return _0x3af558 instanceof _0x43dea2?_0x3af558!=_0x24fad3?null:_0x3af558:null;}[_0x1ab699(0xd5)](){const _0x11a366=_0x1ab699;this[_0x11a366(0xe3)](this[_0x11a366(0xc3)](),this[_0x11a366(0xfd)],this[_0x11a366(0xfe)]),this[_0x11a366(0x105)]();}[_0x1ab699(0x100)](){const _0x46ae8b=_0x1ab699;this[_0x46ae8b(0xc1)](this[_0x46ae8b(0xc3)](),this[_0x46ae8b(0xfd)],this[_0x46ae8b(0xfe)]),this[_0x46ae8b(0x105)]();}[_0x1ab699(0xdc)](){const _0x4453ca=_0x1ab699,_0x39926c=[];let _0x4f784f=this[_0x4453ca(0xf8)];for(;_0x4f784f;)_0x39926c[_0x4453ca(0xdd)](_0x4f784f),_0x4f784f=_0x4f784f[_0x4453ca(0xdb)];return _0x39926c;}[_0x1ab699(0xe2)](_0x19326d,_0x7b9dd5){const _0x4f54ed=_0x1ab699,_0x1bccac=_0x2b6cf1(this[_0x4f54ed(0xfe)]);_0x473dc7(_0x1bccac,_0x19326d,_0x7b9dd5),_0x1f4c47(_0x1bccac,this[_0x4f54ed(0xfe)])||(this[_0x4f54ed(0xfe)]=_0x1bccac,this[_0x4f54ed(0xef)](_0x1bccac));}[_0x1ab699(0xfb)](_0x755bb3){const _0x27691b=_0x1ab699,_0x5d81fe=_0x2b6cf1(this[_0x27691b(0xfe)]);_0x53a119(_0x5d81fe,_0x755bb3),_0x1f4c47(_0x5d81fe,this[_0x27691b(0xfe)])||(this[_0x27691b(0xfe)]=_0x5d81fe,this[_0x27691b(0xef)](this[_0x27691b(0xfe)]));}[_0x1ab699(0xfc)](){const _0x4c6918=_0x1ab699;return{'id':this['id'],'type':this[_0x4c6918(0x102)]?this[_0x4c6918(0x108)]+':'+this[_0x4c6918(0x102)]:this[_0x4c6918(0x108)],'authorId':this[_0x4c6918(0xcd)]['id'],'createdAt':this[_0x4c6918(0xf9)],'hasComments':this[_0x4c6918(0xf2)],'data':this[_0x4c6918(0xfd)],'attributes':this[_0x4c6918(0xfe)]};}static[_0x1ab699(0xbe)](){const _0x546b7a=_0x1ab699;return _0x54a93f()[_0x546b7a(0xbf)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x45e316=_0xf12a;(function(_0x1c1416,_0x4b3e5c){const _0x5bf059=_0xf12a,_0x2efeee=_0x1c1416();while(!![]){try{const _0x3ccaaa=-parseInt(_0x5bf059(0x1e7))/0x1+-parseInt(_0x5bf059(0x1c5))/0x2+parseInt(_0x5bf059(0x208))/0x3*(-parseInt(_0x5bf059(0x201))/0x4)+-parseInt(_0x5bf059(0x1e3))/0x5*(parseInt(_0x5bf059(0x1ef))/0x6)+-parseInt(_0x5bf059(0x20b))/0x7+-parseInt(_0x5bf059(0x21c))/0x8*(parseInt(_0x5bf059(0x1ed))/0x9)+parseInt(_0x5bf059(0x21b))/0xa;if(_0x3ccaaa===_0x4b3e5c)break;else _0x2efeee['push'](_0x2efeee['shift']());}catch(_0x1a22a5){_0x2efeee['push'](_0x2efeee['shift']());}}}(_0x23dd,0x88617));import{getTranslation as _0x4542b5}from'./utils/common-translations.js';function _0x23dd(){const _0x447896=['push','pop','1116625EixNMw','*Remove\x20format:*\x20%0','removeObject','function','registerDescriptionCallback','text','5643369CTMVXU','previousSibling','744NnZPyh','add','removeFormat','elementStart','isEmpty','indexOf','Container','label','_handleAttributeSuggestionDescription','_handleInsertRemoveSuggestionDescription','removeEmptyContainer','ELEMENT_SPACE','format','*Insert:*\x20%0','_locale','has','*Merge:*\x20%0','deletion','64XAlDEb','key','Object','newValue','normal','*Change\x20to:*\x20%0','element','115734opKAwE','*Remove:*\x20%0','quantity','5607833qqhQlK','_resolveDescriptionItems','$text','elementEnd','addContainer','isInContent','addFormat','removeContainer','_addDescriptionItems','registerAttributeLabel','replace','_itemLabels','length','addObject','getWalker','REPLACE_TEXT','47151650utJqHp','8ZikDpi','addEmptyContainer','_itemLabelsCallbacks','_handleRenameSuggestionDescription','registerElementLabel','getFirstRange','matchingCallback','_attributeLabels','data','get','55626EKbqVr','end','softBreak','set','start','*Set\x20format:*\x20%0','$1\x20$2','*Split:*\x20%0','map','match','isEqual','subType','insertion','attribute','getItemLabel','_handleCustomCallbackDescription','$textProxy','type','getDescriptions','EmptyContainer','remove','join','_customCallbacks','skip','_schema','isObject','nextSibling','name','item','nodeAfter','38980trYhuj','checkChild'];_0x23dd=function(){return _0x447896;};return _0x23dd();}function _0xf12a(_0x423bb6,_0x1a3afd){const _0x23dd1f=_0x23dd();return _0xf12a=function(_0xf12a06,_0x22fa74){_0xf12a06=_0xf12a06-0x1be;let _0xcdb621=_0x23dd1f[_0xf12a06];return _0xcdb621;},_0xf12a(_0x423bb6,_0x1a3afd);}import{priorities as _0xabbadf,insertToPriorityArray as _0x25a35f}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x50bbea}from'./trackchangesediting.js';export default class f{constructor(_0x146112,_0x514faa){const _0x50fc3d=_0xf12a;this[_0x50fc3d(0x1db)]=[],this[_0x50fc3d(0x216)]=new Map(),this[_0x50fc3d(0x21e)]=[],this[_0x50fc3d(0x1c2)]=new Map(),this[_0x50fc3d(0x1dd)]=_0x146112,this[_0x50fc3d(0x1fd)]=_0x514faa;}[_0x45e316(0x1d7)](_0x1403b9){const _0x162208=_0x45e316,_0x55f7d9=[],_0x13752a=new Set(),_0x5e700f=new Set();for(let _0x229e8a=0x0;_0x229e8a<_0x1403b9[_0x162208(0x217)];_0x229e8a++){const _0x13db0b=_0x1403b9[_0x229e8a];if(!_0x13db0b[_0x162208(0x210)])continue;const _0x826edb=this[_0x162208(0x1d4)](_0x13db0b);if(_0x826edb){if(null!=_0x13db0b[_0x162208(0x1d0)]){if(_0x13752a[_0x162208(0x1fe)](_0x13db0b[_0x162208(0x1d0)]))continue;_0x13752a[_0x162208(0x1f0)](_0x13db0b[_0x162208(0x1d0)]);}_0x55f7d9[_0x162208(0x1e5)](_0x826edb);}else{if(_0x162208(0x1d2)!=_0x13db0b[_0x162208(0x1d6)])_0x162208(0x1d1)!=_0x13db0b[_0x162208(0x1d6)]&&_0x162208(0x200)!=_0x13db0b[_0x162208(0x1d6)]||this[_0x162208(0x1f8)](_0x55f7d9,_0x13db0b,_0x1403b9[_0x229e8a+0x1]);else{const _0x2c6622=_0x13db0b[_0x162208(0x1c3)][_0x162208(0x202)];if(_0x5e700f[_0x162208(0x1fe)](_0x2c6622))continue;_0x5e700f[_0x162208(0x1f0)](_0x13db0b[_0x162208(0x1c3)][_0x162208(0x202)]),_0x2c6622==_0x50bbea?this[_0x162208(0x1be)](_0x55f7d9,_0x13db0b):this[_0x162208(0x1f7)](_0x55f7d9,_0x13db0b);}}}return this[_0x162208(0x20c)](_0x55f7d9);}[_0x45e316(0x1eb)](_0x758cd7){const _0x45cf2a=_0x45e316;this[_0x45cf2a(0x1db)][_0x45cf2a(0x1e5)](_0x758cd7);}[_0x45e316(0x1bf)](_0x2ddc45,_0x5cf462,_0x395d1d=_0xabbadf[_0x45e316(0x205)]){const _0x10a1a1=_0x45e316;_0x10a1a1(0x1ea)==typeof _0x2ddc45?_0x25a35f(this[_0x10a1a1(0x21e)],{'matchingCallback':_0x2ddc45,'label':_0x5cf462,'priority':_0x395d1d}):this[_0x10a1a1(0x216)][_0x10a1a1(0x1c8)](_0x2ddc45,_0x5cf462);}[_0x45e316(0x214)](_0x276355,_0x4e22e0){const _0x80441d=_0x45e316;this[_0x80441d(0x1c2)][_0x80441d(0x1c8)](_0x276355,_0x4e22e0);}[_0x45e316(0x1d3)](_0x3a0a18,_0x3245cd=0x1){const _0x124c64=_0x45e316;let _0x1241a2;for(const _0x54fe63 of this[_0x124c64(0x21e)])if(_0x54fe63[_0x124c64(0x1c1)](_0x3a0a18)){_0x1241a2=_0x54fe63[_0x124c64(0x1f6)];break;}return _0x1241a2||(_0x1241a2=this[_0x124c64(0x216)][_0x124c64(0x1c4)](_0x3a0a18[_0x124c64(0x1e0)])),_0x1241a2?_0x1241a2(_0x3245cd):0x1!==_0x3245cd?_0x3245cd+'\x20'+_0x3a0a18[_0x124c64(0x1e0)]+'s':''+_0x3a0a18[_0x124c64(0x1e0)];}[_0x45e316(0x213)](_0x1c1a20,_0x33ce38){const _0x49b42c=_0x45e316,_0x4707b9=_0x33ce38[_0x49b42c(0x1c0)]()[_0x49b42c(0x219)](),_0x271823=_0x49b42c(0x1d1)==_0x33ce38[_0x49b42c(0x1d6)]?_0x49b42c(0x1f0):_0x49b42c(0x1d9);for(const _0x4a522d of _0x4707b9){const _0xfda653=_0x4a522d[_0x49b42c(0x1e1)],_0x467ed8=_0x1c1a20[_0x1c1a20[_0x49b42c(0x217)]-0x1];if(_0xfda653['is'](_0x49b42c(0x1d5)))_0x467ed8&&_0x467ed8[_0x49b42c(0x1d6)][_0x49b42c(0x1f4)](_0x49b42c(0x1f5))>-0x1&&_0x1c1a20[_0x49b42c(0x1e6)](),_0x467ed8&&_0x49b42c(0x1ec)==_0x467ed8[_0x49b42c(0x1d6)]?_0x467ed8[_0x271823]+=_0xfda653[_0x49b42c(0x1c3)]:_0x1c1a20[_0x49b42c(0x1e5)]({'type':_0x49b42c(0x1ec),'add':_0x49b42c(0x1f0)==_0x271823?_0xfda653[_0x49b42c(0x1c3)]:'','remove':_0x49b42c(0x1d9)==_0x271823?_0xfda653[_0x49b42c(0x1c3)]:''});else{if(this[_0x49b42c(0x1dd)][_0x49b42c(0x1de)](_0xfda653)){const _0xb3adb0=_0xfda653;if(_0x467ed8&&_0x467ed8[_0x49b42c(0x1d6)][_0x49b42c(0x1f4)](_0x49b42c(0x1f5))>-0x1&&_0x1c1a20[_0x49b42c(0x1e6)](),_0x49b42c(0x20e)==_0x4a522d[_0x49b42c(0x1d6)])continue;_0x467ed8&&_0x467ed8[_0x49b42c(0x1d6)]==_0x271823+_0x49b42c(0x203)&&_0x467ed8[_0x49b42c(0x207)][_0x49b42c(0x1e0)]==_0xb3adb0[_0x49b42c(0x1e0)]?_0x467ed8[_0x49b42c(0x20a)]++:_0x1c1a20[_0x49b42c(0x1e5)]({'type':_0x271823+_0x49b42c(0x203),'element':_0xb3adb0,'quantity':0x1}),_0x4707b9[_0x49b42c(0x1dc)](_0x59c6ce=>!(_0x49b42c(0x20e)==_0x59c6ce[_0x49b42c(0x1d6)]&&_0x59c6ce[_0x49b42c(0x1e1)]==_0xfda653));}else{if(this[_0x49b42c(0x1dd)][_0x49b42c(0x1e4)](_0xfda653,_0x49b42c(0x20d))||_0xfda653['is'](_0x49b42c(0x207),_0x49b42c(0x1c7))){const _0x42164b=_0xfda653;if(_0x49b42c(0x1f0)==_0x271823&&_0x49b42c(0x1f2)==_0x4a522d[_0x49b42c(0x1d6)]||_0x49b42c(0x1d9)==_0x271823&&_0x49b42c(0x20e)==_0x4a522d[_0x49b42c(0x1d6)])continue;if(_0x467ed8&&-0x1==_0x467ed8[_0x49b42c(0x1d6)][_0x49b42c(0x1f4)](_0x49b42c(0x1f5))){_0x49b42c(0x1ec)==_0x467ed8[_0x49b42c(0x1d6)]&&(_0x467ed8[_0x271823]+='\x0a');continue;}let _0x11b9ea;if(_0x11b9ea=_0x49b42c(0x1f0)==_0x271823?_0x42164b[_0x49b42c(0x1df)]&&!this[_0x49b42c(0x1dd)][_0x49b42c(0x1de)](_0x42164b[_0x49b42c(0x1df)])?_0x42164b[_0x49b42c(0x1df)]:null:_0x42164b[_0x49b42c(0x1ee)]&&!this[_0x49b42c(0x1dd)][_0x49b42c(0x1de)](_0x42164b[_0x49b42c(0x1ee)])?_0x42164b[_0x49b42c(0x1ee)]:null,_0x42164b[_0x49b42c(0x1f3)]||_0x11b9ea&&_0x11b9ea[_0x49b42c(0x1f3)]){const _0x53d123=_0x11b9ea&&_0x11b9ea[_0x49b42c(0x1f3)]?_0x11b9ea:_0x42164b;_0x467ed8&&_0x467ed8[_0x49b42c(0x1d6)]==_0x271823+_0x49b42c(0x1d8)&&_0x467ed8[_0x49b42c(0x207)][_0x49b42c(0x1e0)]==_0x53d123[_0x49b42c(0x1e0)]?_0x467ed8[_0x49b42c(0x20a)]++:_0x1c1a20[_0x49b42c(0x1e5)]({'type':_0x271823+_0x49b42c(0x1d8),'element':_0x53d123,'quantity':0x1});}else _0x1c1a20[_0x49b42c(0x1e5)]({'type':_0x271823+_0x49b42c(0x1f5),'element':_0x42164b});}}}}}[_0x45e316(0x20c)](_0x448173){const _0x320e10=_0x45e316,_0x3ff0d4=this[_0x320e10(0x1fd)],_0x13b2dd=[],_0x1ee120=[],_0x5ebd52=[];for(const _0x320c96 of _0x448173)switch(_0x320c96[_0x320e10(0x1d6)]){case _0x320e10(0x1ec):if(_0x320c96[_0x320e10(0x1f0)]=_0x320c96[_0x320e10(0x1f0)][_0x320e10(0x215)](/(\S)\u000A+(\S)/g,_0x320e10(0x1cb))[_0x320e10(0x215)](/\u000A/g,''),_0x320c96[_0x320e10(0x1d9)]=_0x320c96[_0x320e10(0x1d9)][_0x320e10(0x215)](/(\S)\u000A+(\S)/g,_0x320e10(0x1cb))[_0x320e10(0x215)](/\u000A/g,''),''!=_0x320c96[_0x320e10(0x1f0)]&&''!=_0x320c96[_0x320e10(0x1d9)]){_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x215),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x21a),['\x22'+_0x320c96[_0x320e10(0x1d9)]+'\x22','\x22'+_0x320c96[_0x320e10(0x1f0)]+'\x22'])});continue;}if(null!=_0x320c96[_0x320e10(0x1f0)][_0x320e10(0x1ce)](/^ +$/)){_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1d1),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1fc),_0x4542b5(_0x3ff0d4,_0x320e10(0x1fa),_0x320c96[_0x320e10(0x1f0)][_0x320e10(0x217)]))});continue;}if(null!=_0x320c96[_0x320e10(0x1d9)][_0x320e10(0x1ce)](/^ +$/)){_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x200),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x209),_0x4542b5(_0x3ff0d4,_0x320e10(0x1fa),_0x320c96[_0x320e10(0x1d9)][_0x320e10(0x217)]))});continue;}if(''!=_0x320c96[_0x320e10(0x1f0)]){_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1d1),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1fc),'\x22'+_0x320c96[_0x320e10(0x1f0)]+'\x22')});continue;}_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x200),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x209),'\x22'+_0x320c96[_0x320e10(0x1d9)]+'\x22')});continue;case _0x320e10(0x21d):case _0x320e10(0x218):_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1d1),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1fc),this[_0x320e10(0x1d3)](_0x320c96[_0x320e10(0x207)],_0x320c96[_0x320e10(0x20a)]))});continue;case _0x320e10(0x1f9):case _0x320e10(0x1e9):_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x200),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x209),this[_0x320e10(0x1d3)](_0x320c96[_0x320e10(0x207)],_0x320c96[_0x320e10(0x20a)]))});continue;case _0x320e10(0x20f):_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1d1),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1cc),this[_0x320e10(0x1d3)](_0x320c96[_0x320e10(0x207)],_0x320c96[_0x320e10(0x20a)]))});continue;case _0x320e10(0x212):_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x200),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1ff),this[_0x320e10(0x1d3)](_0x320c96[_0x320e10(0x207)],_0x320c96[_0x320e10(0x20a)]))});continue;case _0x320e10(0x211):_0x1ee120[_0x320e10(0x1e5)](_0x320c96[_0x320e10(0x202)]);continue;case _0x320e10(0x1f1):_0x5ebd52[_0x320e10(0x1e5)](_0x320c96[_0x320e10(0x202)]);continue;default:_0x13b2dd[_0x320e10(0x1e5)](_0x320c96);}if(_0x1ee120[_0x320e10(0x217)]){const _0x355e2c=_0x1ee120[_0x320e10(0x1cd)](_0x1a188=>this[_0x320e10(0x1c2)][_0x320e10(0x1fe)](_0x1a188)?this[_0x320e10(0x1c2)][_0x320e10(0x1c4)](_0x1a188):_0x1a188)[_0x320e10(0x1da)](',\x20');_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1fb),'content':_0x4542b5(this[_0x320e10(0x1fd)],_0x320e10(0x1ca),_0x355e2c)});}if(_0x5ebd52[_0x320e10(0x217)]){const _0x5bface=_0x5ebd52[_0x320e10(0x1cd)](_0xfe0712=>this[_0x320e10(0x1c2)][_0x320e10(0x1fe)](_0xfe0712)?this[_0x320e10(0x1c2)][_0x320e10(0x1c4)](_0xfe0712):_0xfe0712)[_0x320e10(0x1da)](',\x20');_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1fb),'content':_0x4542b5(this[_0x320e10(0x1fd)],_0x320e10(0x1e8),_0x5bface)});}return _0x13b2dd;}[_0x45e316(0x1d4)](_0x11433a){const _0x5ae76a=_0x45e316;for(const _0x1bc612 of this[_0x5ae76a(0x1db)]){const _0x9ab9d2=_0x1bc612(_0x11433a);if(_0x9ab9d2&&_0x5ae76a(0x1d6)in _0x9ab9d2)return _0x9ab9d2;}}[_0x45e316(0x1f7)](_0x30076e,_0x59757e){const _0x5bbc5b=_0x45e316,_0x1d6910=_0x59757e[_0x5bbc5b(0x1c3)],_0x4d4e8e=void 0x0===_0x1d6910[_0x5bbc5b(0x204)]?_0x5bbc5b(0x1f1):_0x5bbc5b(0x211);_0x30076e[_0x5bbc5b(0x1e5)]({'type':_0x4d4e8e,'key':_0x1d6910[_0x5bbc5b(0x202)]});}[_0x45e316(0x1be)](_0x353ada,_0x4447ea){const _0x15db58=_0x45e316;_0x353ada[_0x15db58(0x1e5)]({'type':_0x15db58(0x1fb),'content':_0x4542b5(this[_0x15db58(0x1fd)],_0x15db58(0x206),this[_0x15db58(0x1d3)](_0x4447ea[_0x15db58(0x1c0)]()[_0x15db58(0x1c9)][_0x15db58(0x1e2)],0x1))});}[_0x45e316(0x1f8)](_0x34f7ff,_0x55ac31,_0x560926){const _0x41ff0f=_0x45e316;if(this[_0x41ff0f(0x213)](_0x34f7ff,_0x55ac31),_0x560926&&_0x560926[_0x41ff0f(0x1c0)]()&&!_0x55ac31[_0x41ff0f(0x1c0)]()[_0x41ff0f(0x1c6)][_0x41ff0f(0x1cf)](_0x560926[_0x41ff0f(0x1c0)]()[_0x41ff0f(0x1c9)])){const _0x5aa4e2=_0x34f7ff[_0x34f7ff[_0x41ff0f(0x217)]-0x1],_0xe75d5=_0x41ff0f(0x1d1)==_0x55ac31[_0x41ff0f(0x1d6)]?_0x41ff0f(0x1f0):_0x41ff0f(0x1d9);_0x5aa4e2&&_0x41ff0f(0x1ec)==_0x5aa4e2[_0x41ff0f(0x1d6)]&&(_0x5aa4e2[_0xe75d5]+='\x0a');}}}
|
|
23
|
+
const _0x2c0973=_0x4d1d;(function(_0x540672,_0x12e10c){const _0x23a3fd=_0x4d1d,_0x2552a0=_0x540672();while(!![]){try{const _0x4e43c0=parseInt(_0x23a3fd(0x18e))/0x1*(parseInt(_0x23a3fd(0x13c))/0x2)+-parseInt(_0x23a3fd(0x159))/0x3*(-parseInt(_0x23a3fd(0x136))/0x4)+-parseInt(_0x23a3fd(0x193))/0x5+parseInt(_0x23a3fd(0x13b))/0x6*(-parseInt(_0x23a3fd(0x15d))/0x7)+-parseInt(_0x23a3fd(0x170))/0x8+-parseInt(_0x23a3fd(0x16a))/0x9*(parseInt(_0x23a3fd(0x163))/0xa)+parseInt(_0x23a3fd(0x167))/0xb;if(_0x4e43c0===_0x12e10c)break;else _0x2552a0['push'](_0x2552a0['shift']());}catch(_0x2e1358){_0x2552a0['push'](_0x2552a0['shift']());}}}(_0x3fa3,0x1988b));function _0x3fa3(){const _0x19c8cc=['item','addContainer','removeFormat','_handleCustomCallbackDescription','612785HtmXyQ','*Merge:*\x20%0','insertion','previousSibling','Container','379328UghytU','addObject','*Change\x20to:*\x20%0','map','$1\x20$2','13794gSOpYT','338830wFPJPF','replace','element','isEmpty','elementStart','*Insert:*\x20%0','addFormat','push','join','*Remove:*\x20%0','$textProxy','_handleInsertRemoveSuggestionDescription','removeObject','set','getWalker','*Split:*\x20%0','elementEnd','_handleRenameSuggestionDescription','end','get','format','addEmptyContainer','_resolveDescriptionItems','key','_addDescriptionItems','add','normal','function','_attributeLabels','6Nnyair','$text','nodeAfter','pop','63myzyxP','getDescriptions','type','has','getFirstRange','attribute','10pPWOjv','REPLACE_TEXT','nextSibling','newValue','775687bsHSfP','registerElementLabel','indexOf','343575MTPrVc','registerDescriptionCallback','skip','_locale','registerAttributeLabel','_schema','1148688PNaWYn','_customCallbacks','_itemLabels','_handleAttributeSuggestionDescription','start','Object','getItemLabel','data','isObject','match','checkChild','isInContent','text','*Set\x20format:*\x20%0','matchingCallback','_itemLabelsCallbacks','remove','EmptyContainer','*Remove\x20format:*\x20%0','softBreak','deletion','label','isEqual','ELEMENT_SPACE','length','name','subType','removeEmptyContainer','removeContainer','quantity','1JaCZfX'];_0x3fa3=function(){return _0x19c8cc;};return _0x3fa3();}import{getTranslation as _0xe44137}from'./utils/common-translations.js';function _0x4d1d(_0x126dee,_0xdcdfe1){const _0x3fa335=_0x3fa3();return _0x4d1d=function(_0x4d1dc4,_0x4b1c2a){_0x4d1dc4=_0x4d1dc4-0x133;let _0x2cd61e=_0x3fa335[_0x4d1dc4];return _0x2cd61e;},_0x4d1d(_0x126dee,_0xdcdfe1);}import{priorities as _0x458a38,insertToPriorityArray as _0x98e04b}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x2d3892}from'./trackchangesediting.js';export default class f{constructor(_0x384600,_0x3fed94){const _0x2f0a6d=_0x4d1d;this[_0x2f0a6d(0x171)]=[],this[_0x2f0a6d(0x172)]=new Map(),this[_0x2f0a6d(0x17f)]=[],this[_0x2f0a6d(0x158)]=new Map(),this[_0x2f0a6d(0x16f)]=_0x384600,this[_0x2f0a6d(0x16d)]=_0x3fed94;}[_0x2c0973(0x15e)](_0x168b3b){const _0x292dbd=_0x2c0973,_0x1b851f=[],_0x7b9090=new Set(),_0x39ffa6=new Set();for(let _0x1635f6=0x0;_0x1635f6<_0x168b3b[_0x292dbd(0x188)];_0x1635f6++){const _0x2acbee=_0x168b3b[_0x1635f6];if(!_0x2acbee[_0x292dbd(0x17b)])continue;const _0x3c750a=this[_0x292dbd(0x192)](_0x2acbee);if(_0x3c750a){if(null!=_0x2acbee[_0x292dbd(0x18a)]){if(_0x7b9090[_0x292dbd(0x160)](_0x2acbee[_0x292dbd(0x18a)]))continue;_0x7b9090[_0x292dbd(0x155)](_0x2acbee[_0x292dbd(0x18a)]);}_0x1b851f[_0x292dbd(0x143)](_0x3c750a);}else{if(_0x292dbd(0x162)!=_0x2acbee[_0x292dbd(0x15f)])_0x292dbd(0x133)!=_0x2acbee[_0x292dbd(0x15f)]&&_0x292dbd(0x184)!=_0x2acbee[_0x292dbd(0x15f)]||this[_0x292dbd(0x147)](_0x1b851f,_0x2acbee,_0x168b3b[_0x1635f6+0x1]);else{const _0x469f42=_0x2acbee[_0x292dbd(0x177)][_0x292dbd(0x153)];if(_0x39ffa6[_0x292dbd(0x160)](_0x469f42))continue;_0x39ffa6[_0x292dbd(0x155)](_0x2acbee[_0x292dbd(0x177)][_0x292dbd(0x153)]),_0x469f42==_0x2d3892?this[_0x292dbd(0x14d)](_0x1b851f,_0x2acbee):this[_0x292dbd(0x173)](_0x1b851f,_0x2acbee);}}}return this[_0x292dbd(0x152)](_0x1b851f);}[_0x2c0973(0x16b)](_0x513b71){const _0x400c36=_0x2c0973;this[_0x400c36(0x171)][_0x400c36(0x143)](_0x513b71);}[_0x2c0973(0x168)](_0x212df6,_0x1b0fdf,_0x2329aa=_0x458a38[_0x2c0973(0x156)]){const _0x373057=_0x2c0973;_0x373057(0x157)==typeof _0x212df6?_0x98e04b(this[_0x373057(0x17f)],{'matchingCallback':_0x212df6,'label':_0x1b0fdf,'priority':_0x2329aa}):this[_0x373057(0x172)][_0x373057(0x149)](_0x212df6,_0x1b0fdf);}[_0x2c0973(0x16e)](_0x5180b5,_0x2ccefd){const _0x2fda45=_0x2c0973;this[_0x2fda45(0x158)][_0x2fda45(0x149)](_0x5180b5,_0x2ccefd);}[_0x2c0973(0x176)](_0x3fa4ea,_0x17239d=0x1){const _0x1de267=_0x2c0973;let _0x49ff57;for(const _0x11edf5 of this[_0x1de267(0x17f)])if(_0x11edf5[_0x1de267(0x17e)](_0x3fa4ea)){_0x49ff57=_0x11edf5[_0x1de267(0x185)];break;}return _0x49ff57||(_0x49ff57=this[_0x1de267(0x172)][_0x1de267(0x14f)](_0x3fa4ea[_0x1de267(0x189)])),_0x49ff57?_0x49ff57(_0x17239d):0x1!==_0x17239d?_0x17239d+'\x20'+_0x3fa4ea[_0x1de267(0x189)]+'s':''+_0x3fa4ea[_0x1de267(0x189)];}[_0x2c0973(0x154)](_0x14629d,_0x2209c9){const _0x46f7ee=_0x2c0973,_0x23b21c=_0x2209c9[_0x46f7ee(0x161)]()[_0x46f7ee(0x14a)](),_0x283f83=_0x46f7ee(0x133)==_0x2209c9[_0x46f7ee(0x15f)]?_0x46f7ee(0x155):_0x46f7ee(0x180);for(const _0x2dea0c of _0x23b21c){const _0x4a6cc5=_0x2dea0c[_0x46f7ee(0x18f)],_0x24a414=_0x14629d[_0x14629d[_0x46f7ee(0x188)]-0x1];if(_0x4a6cc5['is'](_0x46f7ee(0x146)))_0x24a414&&_0x24a414[_0x46f7ee(0x15f)][_0x46f7ee(0x169)](_0x46f7ee(0x135))>-0x1&&_0x14629d[_0x46f7ee(0x15c)](),_0x24a414&&_0x46f7ee(0x17c)==_0x24a414[_0x46f7ee(0x15f)]?_0x24a414[_0x283f83]+=_0x4a6cc5[_0x46f7ee(0x177)]:_0x14629d[_0x46f7ee(0x143)]({'type':_0x46f7ee(0x17c),'add':_0x46f7ee(0x155)==_0x283f83?_0x4a6cc5[_0x46f7ee(0x177)]:'','remove':_0x46f7ee(0x180)==_0x283f83?_0x4a6cc5[_0x46f7ee(0x177)]:''});else{if(this[_0x46f7ee(0x16f)][_0x46f7ee(0x178)](_0x4a6cc5)){const _0x39b0f0=_0x4a6cc5;if(_0x24a414&&_0x24a414[_0x46f7ee(0x15f)][_0x46f7ee(0x169)](_0x46f7ee(0x135))>-0x1&&_0x14629d[_0x46f7ee(0x15c)](),_0x46f7ee(0x14c)==_0x2dea0c[_0x46f7ee(0x15f)])continue;_0x24a414&&_0x24a414[_0x46f7ee(0x15f)]==_0x283f83+_0x46f7ee(0x175)&&_0x24a414[_0x46f7ee(0x13e)][_0x46f7ee(0x189)]==_0x39b0f0[_0x46f7ee(0x189)]?_0x24a414[_0x46f7ee(0x18d)]++:_0x14629d[_0x46f7ee(0x143)]({'type':_0x283f83+_0x46f7ee(0x175),'element':_0x39b0f0,'quantity':0x1}),_0x23b21c[_0x46f7ee(0x16c)](_0x359839=>!(_0x46f7ee(0x14c)==_0x359839[_0x46f7ee(0x15f)]&&_0x359839[_0x46f7ee(0x18f)]==_0x4a6cc5));}else{if(this[_0x46f7ee(0x16f)][_0x46f7ee(0x17a)](_0x4a6cc5,_0x46f7ee(0x15a))||_0x4a6cc5['is'](_0x46f7ee(0x13e),_0x46f7ee(0x183))){const _0x5a4e7c=_0x4a6cc5;if(_0x46f7ee(0x155)==_0x283f83&&_0x46f7ee(0x140)==_0x2dea0c[_0x46f7ee(0x15f)]||_0x46f7ee(0x180)==_0x283f83&&_0x46f7ee(0x14c)==_0x2dea0c[_0x46f7ee(0x15f)])continue;if(_0x24a414&&-0x1==_0x24a414[_0x46f7ee(0x15f)][_0x46f7ee(0x169)](_0x46f7ee(0x135))){_0x46f7ee(0x17c)==_0x24a414[_0x46f7ee(0x15f)]&&(_0x24a414[_0x283f83]+='\x0a');continue;}let _0x509073;if(_0x509073=_0x46f7ee(0x155)==_0x283f83?_0x5a4e7c[_0x46f7ee(0x165)]&&!this[_0x46f7ee(0x16f)][_0x46f7ee(0x178)](_0x5a4e7c[_0x46f7ee(0x165)])?_0x5a4e7c[_0x46f7ee(0x165)]:null:_0x5a4e7c[_0x46f7ee(0x134)]&&!this[_0x46f7ee(0x16f)][_0x46f7ee(0x178)](_0x5a4e7c[_0x46f7ee(0x134)])?_0x5a4e7c[_0x46f7ee(0x134)]:null,_0x5a4e7c[_0x46f7ee(0x13f)]||_0x509073&&_0x509073[_0x46f7ee(0x13f)]){const _0x8bb43d=_0x509073&&_0x509073[_0x46f7ee(0x13f)]?_0x509073:_0x5a4e7c;_0x24a414&&_0x24a414[_0x46f7ee(0x15f)]==_0x283f83+_0x46f7ee(0x181)&&_0x24a414[_0x46f7ee(0x13e)][_0x46f7ee(0x189)]==_0x8bb43d[_0x46f7ee(0x189)]?_0x24a414[_0x46f7ee(0x18d)]++:_0x14629d[_0x46f7ee(0x143)]({'type':_0x283f83+_0x46f7ee(0x181),'element':_0x8bb43d,'quantity':0x1});}else _0x14629d[_0x46f7ee(0x143)]({'type':_0x283f83+_0x46f7ee(0x135),'element':_0x5a4e7c});}}}}}[_0x2c0973(0x152)](_0x4c2d45){const _0xe99161=_0x2c0973,_0x556e6e=this[_0xe99161(0x16d)],_0x584460=[],_0x3bac2a=[],_0x33cbe7=[];for(const _0x41e6e3 of _0x4c2d45)switch(_0x41e6e3[_0xe99161(0x15f)]){case _0xe99161(0x17c):if(_0x41e6e3[_0xe99161(0x155)]=_0x41e6e3[_0xe99161(0x155)][_0xe99161(0x13d)](/(\S)\u000A+(\S)/g,_0xe99161(0x13a))[_0xe99161(0x13d)](/\u000A/g,''),_0x41e6e3[_0xe99161(0x180)]=_0x41e6e3[_0xe99161(0x180)][_0xe99161(0x13d)](/(\S)\u000A+(\S)/g,_0xe99161(0x13a))[_0xe99161(0x13d)](/\u000A/g,''),''!=_0x41e6e3[_0xe99161(0x155)]&&''!=_0x41e6e3[_0xe99161(0x180)]){_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x13d),'content':_0xe44137(_0x556e6e,_0xe99161(0x164),['\x22'+_0x41e6e3[_0xe99161(0x180)]+'\x22','\x22'+_0x41e6e3[_0xe99161(0x155)]+'\x22'])});continue;}if(null!=_0x41e6e3[_0xe99161(0x155)][_0xe99161(0x179)](/^ +$/)){_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x133),'content':_0xe44137(_0x556e6e,_0xe99161(0x141),_0xe44137(_0x556e6e,_0xe99161(0x187),_0x41e6e3[_0xe99161(0x155)][_0xe99161(0x188)]))});continue;}if(null!=_0x41e6e3[_0xe99161(0x180)][_0xe99161(0x179)](/^ +$/)){_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x184),'content':_0xe44137(_0x556e6e,_0xe99161(0x145),_0xe44137(_0x556e6e,_0xe99161(0x187),_0x41e6e3[_0xe99161(0x180)][_0xe99161(0x188)]))});continue;}if(''!=_0x41e6e3[_0xe99161(0x155)]){_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x133),'content':_0xe44137(_0x556e6e,_0xe99161(0x141),'\x22'+_0x41e6e3[_0xe99161(0x155)]+'\x22')});continue;}_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x184),'content':_0xe44137(_0x556e6e,_0xe99161(0x145),'\x22'+_0x41e6e3[_0xe99161(0x180)]+'\x22')});continue;case _0xe99161(0x151):case _0xe99161(0x137):_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x133),'content':_0xe44137(_0x556e6e,_0xe99161(0x141),this[_0xe99161(0x176)](_0x41e6e3[_0xe99161(0x13e)],_0x41e6e3[_0xe99161(0x18d)]))});continue;case _0xe99161(0x18b):case _0xe99161(0x148):_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x184),'content':_0xe44137(_0x556e6e,_0xe99161(0x145),this[_0xe99161(0x176)](_0x41e6e3[_0xe99161(0x13e)],_0x41e6e3[_0xe99161(0x18d)]))});continue;case _0xe99161(0x190):_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x133),'content':_0xe44137(_0x556e6e,_0xe99161(0x14b),this[_0xe99161(0x176)](_0x41e6e3[_0xe99161(0x13e)],_0x41e6e3[_0xe99161(0x18d)]))});continue;case _0xe99161(0x18c):_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x184),'content':_0xe44137(_0x556e6e,_0xe99161(0x194),this[_0xe99161(0x176)](_0x41e6e3[_0xe99161(0x13e)],_0x41e6e3[_0xe99161(0x18d)]))});continue;case _0xe99161(0x142):_0x3bac2a[_0xe99161(0x143)](_0x41e6e3[_0xe99161(0x153)]);continue;case _0xe99161(0x191):_0x33cbe7[_0xe99161(0x143)](_0x41e6e3[_0xe99161(0x153)]);continue;default:_0x584460[_0xe99161(0x143)](_0x41e6e3);}if(_0x3bac2a[_0xe99161(0x188)]){const _0x131892=_0x3bac2a[_0xe99161(0x139)](_0x5432e4=>this[_0xe99161(0x158)][_0xe99161(0x160)](_0x5432e4)?this[_0xe99161(0x158)][_0xe99161(0x14f)](_0x5432e4):_0x5432e4)[_0xe99161(0x144)](',\x20');_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x150),'content':_0xe44137(this[_0xe99161(0x16d)],_0xe99161(0x17d),_0x131892)});}if(_0x33cbe7[_0xe99161(0x188)]){const _0x119d5f=_0x33cbe7[_0xe99161(0x139)](_0x4a807c=>this[_0xe99161(0x158)][_0xe99161(0x160)](_0x4a807c)?this[_0xe99161(0x158)][_0xe99161(0x14f)](_0x4a807c):_0x4a807c)[_0xe99161(0x144)](',\x20');_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x150),'content':_0xe44137(this[_0xe99161(0x16d)],_0xe99161(0x182),_0x119d5f)});}return _0x584460;}[_0x2c0973(0x192)](_0x2bfb16){const _0x110115=_0x2c0973;for(const _0x555edc of this[_0x110115(0x171)]){const _0xc4754a=_0x555edc(_0x2bfb16);if(_0xc4754a&&_0x110115(0x15f)in _0xc4754a)return _0xc4754a;}}[_0x2c0973(0x173)](_0x3a0f0a,_0x4f837b){const _0x57bbe7=_0x2c0973,_0x598fec=_0x4f837b[_0x57bbe7(0x177)],_0x43770b=void 0x0===_0x598fec[_0x57bbe7(0x166)]?_0x57bbe7(0x191):_0x57bbe7(0x142);_0x3a0f0a[_0x57bbe7(0x143)]({'type':_0x43770b,'key':_0x598fec[_0x57bbe7(0x153)]});}[_0x2c0973(0x14d)](_0x1ccfa2,_0x55939a){const _0x3bd5ba=_0x2c0973;_0x1ccfa2[_0x3bd5ba(0x143)]({'type':_0x3bd5ba(0x150),'content':_0xe44137(this[_0x3bd5ba(0x16d)],_0x3bd5ba(0x138),this[_0x3bd5ba(0x176)](_0x55939a[_0x3bd5ba(0x161)]()[_0x3bd5ba(0x174)][_0x3bd5ba(0x15b)],0x1))});}[_0x2c0973(0x147)](_0x450fa5,_0x4ea36d,_0x340fba){const _0x3ff85b=_0x2c0973;if(this[_0x3ff85b(0x154)](_0x450fa5,_0x4ea36d),_0x340fba&&_0x340fba[_0x3ff85b(0x161)]()&&!_0x4ea36d[_0x3ff85b(0x161)]()[_0x3ff85b(0x14e)][_0x3ff85b(0x186)](_0x340fba[_0x3ff85b(0x161)]()[_0x3ff85b(0x174)])){const _0x5f2063=_0x450fa5[_0x450fa5[_0x3ff85b(0x188)]-0x1],_0x30664e=_0x3ff85b(0x133)==_0x4ea36d[_0x3ff85b(0x15f)]?_0x3ff85b(0x155):_0x3ff85b(0x180);_0x5f2063&&_0x3ff85b(0x17c)==_0x5f2063[_0x3ff85b(0x15f)]&&(_0x5f2063[_0x30664e]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4ae850=_0x2011;(function(_0x5c17cf,_0x391567){var _0x84a02e=_0x2011,_0x28edad=_0x5c17cf();while(!![]){try{var _0x268df6=parseInt(_0x84a02e(0x138))/0x1+-parseInt(_0x84a02e(0x13d))/0x2*(parseInt(_0x84a02e(0x147))/0x3)+-parseInt(_0x84a02e(0x144))/0x4*(parseInt(_0x84a02e(0x13c))/0x5)+-parseInt(_0x84a02e(0x13f))/0x6+-parseInt(_0x84a02e(0x142))/0x7+parseInt(_0x84a02e(0x145))/0x8+parseInt(_0x84a02e(0x136))/0x9;if(_0x268df6===_0x391567)break;else _0x28edad['push'](_0x28edad['shift']());}catch(_0x2f4d20){_0x28edad['push'](_0x28edad['shift']());}}}(_0x2370,0x3af98));import{Plugin as _0x58ffef}from'ckeditor5/src/core.js';function _0x2370(){var _0x12dd9f=['adapter','305117URIsAi','pluginName','getSuggestion','requires','137115rTKakn','138444qPrgKg','plugins','2118072UdvhCd','TrackChanges','addSuggestionData','345450mkbbyT','Comments','12KkDHQN','2089384lBYIFF','getSuggestions','3QrhtBr','addSuggestion','editor','get','2062107GKyOkI'];_0x2370=function(){return _0x12dd9f;};return _0x2370();}function _0x2011(_0xfada6b,_0x4c5b29){var _0x2370fc=_0x2370();return _0x2011=function(_0x20111e,_0x1acd0f){_0x20111e=_0x20111e-0x134;var _0x252971=_0x2370fc[_0x20111e];return _0x252971;},_0x2011(_0xfada6b,_0x4c5b29);}import _0x21965c from'./trackchangesui.js';import _0x20a27d from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x58ffef{static get[_0x4ae850(0x13b)](){var _0x3ea404=_0x4ae850;return[_0x20a27d,_0x21965c,_0x3ea404(0x143)];}static get[_0x4ae850(0x139)](){var _0xcdab34=_0x4ae850;return _0xcdab34(0x140);}set[_0x4ae850(0x137)](_0xdaf247){var _0x9bf076=_0x4ae850;this[_0x9bf076(0x134)][_0x9bf076(0x13e)][_0x9bf076(0x135)](_0x20a27d)[_0x9bf076(0x137)]=_0xdaf247;}get[_0x4ae850(0x137)](){var _0x3792e2=_0x4ae850;return this[_0x3792e2(0x134)][_0x3792e2(0x13e)][_0x3792e2(0x135)](_0x20a27d)[_0x3792e2(0x137)];}[_0x4ae850(0x148)](_0x3d486e){var _0x26e668=_0x4ae850;return this[_0x26e668(0x134)][_0x26e668(0x13e)][_0x26e668(0x135)](_0x20a27d)[_0x26e668(0x141)](_0x3d486e);}[_0x4ae850(0x146)]({skipNotAttached:_0x44c238=!0x1,toJSON:_0x40255b=!0x1}={}){var _0x174b92=_0x4ae850;return this[_0x174b92(0x134)][_0x174b92(0x13e)][_0x174b92(0x135)](_0x20a27d)[_0x174b92(0x146)]({'skipNotAttached':_0x44c238,'toJSON':_0x40255b});}[_0x4ae850(0x13a)](_0x3f220a){var _0x4bb921=_0x4ae850;return this[_0x4bb921(0x134)][_0x4bb921(0x13e)][_0x4bb921(0x135)](_0x20a27d)[_0x4bb921(0x13a)](_0x3f220a);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4c8c(_0x2c4fc8,_0x18ca92){const _0x15bf39=_0x15bf();return _0x4c8c=function(_0x4c8c50,_0x1dc80b){_0x4c8c50=_0x4c8c50-0x12b;let _0x214d54=_0x15bf39[_0x4c8c50];return _0x214d54;},_0x4c8c(_0x2c4fc8,_0x18ca92);}const _0x341948=_0x4c8c;(function(_0x265ba0,_0x56120a){const _0x4ec786=_0x4c8c,_0x2127e7=_0x265ba0();while(!![]){try{const _0x406ea0=-parseInt(_0x4ec786(0x12d))/0x1+-parseInt(_0x4ec786(0x148))/0x2*(-parseInt(_0x4ec786(0x162))/0x3)+-parseInt(_0x4ec786(0x14a))/0x4*(-parseInt(_0x4ec786(0x160))/0x5)+-parseInt(_0x4ec786(0x169))/0x6*(-parseInt(_0x4ec786(0x143))/0x7)+parseInt(_0x4ec786(0x13f))/0x8+-parseInt(_0x4ec786(0x167))/0x9+parseInt(_0x4ec786(0x14c))/0xa*(-parseInt(_0x4ec786(0x14d))/0xb);if(_0x406ea0===_0x56120a)break;else _0x2127e7['push'](_0x2127e7['shift']());}catch(_0x321572){_0x2127e7['push'](_0x2127e7['shift']());}}}(_0x15bf,0x20f83));import{Plugin as _0x4a2c24}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b60ff}from'ckeditor5/src/utils.js';function _0x15bf(){const _0xd5ca5e=['div','createElement','2130228yaeevG','destroy','90gagArO','init','set','208232vGDzzm','execute','Pagination','document','define','CommentsRepository','trackChangesData','pluginName','config','get','function','getFullData','users','data','rootsAttributes','push','end','reduce','1991280dLWmbA','map','plugins','model','25361fcicAA','Users','TrackChangesEditing','editorCreator','create','330054TzNIKs','trackChangesData.editorCreator','548joXeGb','name','20AVtLME','57101zlwRfI','discardAllSuggestions','addSuggestionData','appendChild','useAnonymousUser','editor','acceptAllSuggestions','TrackChangesDataGetter','getRootsAttributes','getDataWithAcceptedSuggestions','getUser','constructor','TrackChangesData','getDataWithDiscardedSuggestions','track-changes-data-invalid-editor-creator','getRootNames','addUser','_adapter','result','4455tCtKSk','getSuggestions','3oEFpgS','requires','createDocumentFragment'];_0x15bf=function(){return _0xd5ca5e;};return _0x15bf();}import _0x174657 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x671bc6}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x341948(0x12f)];export default class P extends _0x4a2c24{static get[_0x341948(0x163)](){return[_0x174657];}static get[_0x341948(0x134)](){const _0x1a5d55=_0x341948;return _0x1a5d55(0x159);}[_0x341948(0x12b)](){const _0x389bbc=_0x341948,_0x3f3cc4=this[_0x389bbc(0x152)];if(_0x3f3cc4[_0x389bbc(0x135)][_0x389bbc(0x131)](_0x389bbc(0x149),_0xb96c5a=>{const _0x56a4f3=_0x389bbc,_0x50e232=_0x3f3cc4[_0x56a4f3(0x142)][_0x56a4f3(0x130)][_0x56a4f3(0x15c)]()[_0x56a4f3(0x13e)]((_0x5e9764,_0x2ea6c8)=>(_0x5e9764[_0x2ea6c8]='',_0x5e9764),{});return _0x3f3cc4[_0x56a4f3(0x158)][_0x56a4f3(0x147)](_0x50e232,_0xb96c5a);}),_0x389bbc(0x137)!=typeof _0x3f3cc4[_0x389bbc(0x135)][_0x389bbc(0x136)](_0x389bbc(0x133))[_0x389bbc(0x146)])throw new _0x3b60ff(_0x389bbc(0x15b));}[_0x341948(0x156)](_0x1a5f2d){const _0xd5e309=_0x341948;return N(this[_0xd5e309(0x152)],!0x0,_0x1a5f2d);}[_0x341948(0x15a)](_0x428ad2){const _0x32fc6c=_0x341948;return N(this[_0x32fc6c(0x152)],!0x1,_0x428ad2);}}class D extends _0x4a2c24{static get[_0x341948(0x134)](){const _0x267849=_0x341948;return _0x267849(0x154);}constructor(_0x4c4361){const _0x3ff7af=_0x341948;super(_0x4c4361),this[_0x3ff7af(0x15f)]=_0x3ff7af(0x13d);}[_0x341948(0x12b)](){const _0x1fcd42=_0x341948;this[_0x1fcd42(0x152)][_0x1fcd42(0x141)][_0x1fcd42(0x136)](_0x1fcd42(0x132))[_0x1fcd42(0x15e)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x1fcd42(0x152)][_0x1fcd42(0x141)][_0x1fcd42(0x136)](_0x1fcd42(0x145))[_0x1fcd42(0x15e)]=null;}}function v(_0x26ae95){const _0x499e6b=_0x341948;return void 0x0!==_0x26ae95[_0x499e6b(0x155)];}async function N(_0x3fd55a,_0x29dec8,_0x3933b8){const _0x284e83=_0x341948,_0x526cf9=_0x671bc6(_0x3fd55a,T);_0x526cf9[_0x284e83(0x141)][_0x284e83(0x13c)](_0x174657,D),_0x526cf9[_0x284e83(0x13b)]=v(_0x3fd55a)?_0x3fd55a[_0x284e83(0x155)]():void 0x0;const _0x4f8e4c=document[_0x284e83(0x164)](),_0x48705e=_0x3fd55a[_0x284e83(0x135)][_0x284e83(0x136)](_0x284e83(0x133))[_0x284e83(0x146)],_0x412b38=await _0x48705e(_0x526cf9,()=>function(_0x2a753f){const _0x47cb62=_0x284e83,_0x3ab66b=document[_0x47cb62(0x166)](_0x47cb62(0x165));return _0x2a753f[_0x47cb62(0x150)](_0x3ab66b),_0x3ab66b;}(_0x4f8e4c));!function(_0x11641d,_0x552cde){const _0x3665b0=_0x284e83,_0x53b96e=_0x11641d[_0x3665b0(0x142)][_0x3665b0(0x130)][_0x3665b0(0x15c)]()[_0x3665b0(0x13e)]((_0xc0eb32,_0x27428b)=>(_0xc0eb32[_0x27428b]=_0x11641d[_0x3665b0(0x13a)][_0x3665b0(0x136)]({'rootName':_0x27428b}),_0xc0eb32),{}),_0x284333=_0x11641d[_0x3665b0(0x141)][_0x3665b0(0x136)](_0x3665b0(0x144))[_0x3665b0(0x139)][_0x3665b0(0x140)](_0x5194b1=>({'id':_0x5194b1['id'],'name':_0x5194b1[_0x3665b0(0x14b)]})),_0x47d971=_0x11641d[_0x3665b0(0x141)][_0x3665b0(0x136)](_0x3665b0(0x145))[_0x3665b0(0x161)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1fa054=_0x552cde[_0x3665b0(0x141)][_0x3665b0(0x136)](_0x3665b0(0x144)),_0x4f06d9=_0x552cde[_0x3665b0(0x141)][_0x3665b0(0x136)](_0x3665b0(0x145));for(const _0x1987f1 of _0x284333)_0x1fa054[_0x3665b0(0x157)](_0x1987f1['id'])||_0x1fa054[_0x3665b0(0x15d)](_0x1987f1);_0x1fa054['me']||_0x1fa054[_0x3665b0(0x151)]();for(const _0x2921f7 of _0x47d971)_0x4f06d9[_0x3665b0(0x14f)](_0x2921f7);_0x552cde[_0x3665b0(0x13a)][_0x3665b0(0x12c)](_0x53b96e);}(_0x3fd55a,_0x412b38),_0x412b38[_0x284e83(0x12e)](_0x29dec8?_0x284e83(0x153):_0x284e83(0x14e));const _0x1066d4=v(_0x412b38)?_0x412b38[_0x284e83(0x138)](_0x3933b8):_0x412b38[_0x284e83(0x13a)][_0x284e83(0x136)](_0x3933b8);return await _0x412b38[_0x284e83(0x168)](),_0x1066d4;}
|