@ckeditor/ckeditor5-track-changes 35.2.0 → 35.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +4 -4
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.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/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/font.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/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.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/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.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/getrangesofblockgroups.js +1 -1
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2271=['name','isActive','type','push','div','locale','@external','discardButton','ck-annotation__main','commentsListView','ck-annotation__info-time','change:description','join','ck-annotation__content-wrapper','bind','querySelector','getTemplate','ck-annotation','span','ck-suggestion','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','value','check','_model','children','</p>','externalAuthor','map','disableComments','userView','ck-annotation__info-name','innerHTML','_createButton','set','ck-suggestion--discard','commentThreadInputView','ck-annotation__info','</span>','render','createElement','_config','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion-','ck-suggestion__info-name','EXTERNAL_SUGGESTION','.ck-annotation__content-wrapper','setTemplate','split','acceptButton','author','ck-comment__external','commentThread','ck-suggestion__info','formatDateTime','extendTemplate','ck-comment__info-time','_descriptionElement','<p>','ck-suggestion__actions','ck-annotation__actions','ck-suggestion--accept','ck-suggestion__user','ck-suggestion-wrapper','descriptionParts','element','description','createdAt','acceptSuggestion','title','ck-annotation__user','ck-suggestion__main'];(function(_0x24299a,_0x22714e){const _0x2d2bd5=function(_0x485a23){while(--_0x485a23){_0x24299a['push'](_0x24299a['shift']());}};_0x2d2bd5(++_0x22714e);}(_0x2271,0x6d));const _0x2d2b=function(_0x24299a,_0x22714e){_0x24299a=_0x24299a-0x0;let _0x2d2bd5=_0x2271[_0x24299a];return _0x2d2bd5;};import{getTranslation as _0xc50fb6}from'../../utils/common-translations';import _0x4da17d from'./basesuggestionthreadview';import{ButtonView as _0x159876}from'ckeditor5/src/ui';import{icons as _0x547518}from'ckeditor5/src/core';import{trimHtml as _0x383d13,UserView as _0x49149b}from'ckeditor5-collaboration/src/collaboration-core';export default class Ut extends _0x4da17d{constructor(_0x52a1e2,_0x436d64,_0x537672,_0xfa4ad8){super(_0x52a1e2,_0x436d64,_0x537672,_0xfa4ad8),this[_0x2d2b('0x42')]('type',''),this[_0x2d2b('0x2f')]('type')['to'](this,_0x2d2b('0x19'),_0x5558a4=>_0x5558a4&&_0x5558a4[0x0]?_0x5558a4[0x0][_0x2d2b('0x23')]:''),this[_0x2d2b('0x2f')]('description')['to'](this,_0x2d2b('0x19'),this,_0x2d2b('0x22'),(_0x2145b8,_0x579dbf)=>{let _0x44f4ce='';for(const _0x461517 of _0x2145b8)_0x44f4ce+=_0x2d2b('0x13')+es(_0x461517['content'],_0x461517['color'])+_0x2d2b('0x3a');return _0x579dbf?_0x44f4ce:_0x383d13(_0x44f4ce,{'limit':0x8c});}),this[_0x2d2b('0x12')]=null,this['acceptButton']=this['_createButton'](_0xc50fb6(_0x52a1e2,'Accept\x20suggestion'),_0x547518[_0x2d2b('0x37')],_0x2d2b('0x16'),_0x2d2b('0x1d'),'sw'),this['discardButton']=this['_createButton'](_0xc50fb6(_0x52a1e2,'Discard\x20suggestion'),_0x547518['cancel'],_0x2d2b('0x43'),'discardSuggestion','sw');const _0x2b482e=this[_0x2d2b('0x38')]['externalAuthor']?this[_0x2d2b('0x38')]['attributes'][_0x2d2b('0x27')]:this[_0x2d2b('0x38')];this['set'](_0x2d2b('0x1c'),_0x2b482e['createdAt']),this[_0x2d2b('0x3e')]=new _0x49149b(_0x52a1e2,this[_0x2d2b('0x38')][_0x2d2b('0x3b')]||this[_0x2d2b('0x38')][_0x2d2b('0xb')]),this[_0x2d2b('0x3e')][_0x2d2b('0x10')]({'attributes':{'class':[_0x2d2b('0x17'),_0x2d2b('0x1f')]}}),this[_0x2d2b('0x8')](this[_0x2d2b('0x31')]());}[_0x2d2b('0x31')](){const _0x15fb48=this['bindTemplate'],_0x16bbb9=[{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0xe'),_0x2d2b('0x45')]},'children':[{'tag':_0x2d2b('0x33'),'children':[{'text':this[_0x2d2b('0x3e')][_0x2d2b('0x21')]}],'attributes':{'class':[_0x2d2b('0x5'),_0x2d2b('0x3f')]}},{'tag':'time','attributes':{'datetime':_0x15fb48['to']('createdAt'),'class':[_0x2d2b('0x11'),_0x2d2b('0x2b')]},'children':[{'text':_0x15fb48['to'](_0x2d2b('0x1c'),_0x59474b=>this['_config'][_0x2d2b('0xf')](_0x59474b))}]}]},{'tag':'div','attributes':{'class':[_0x2d2b('0x14'),_0x2d2b('0x15')]},'children':[this[_0x2d2b('0xa')],this[_0x2d2b('0x28')]]},{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x2e')]}}];this['_model'][_0x2d2b('0x3b')]&&_0x16bbb9[_0x2d2b('0x24')]({'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0xc')]},'children':[{'text':_0xc50fb6(this[_0x2d2b('0x26')],_0x2d2b('0x6'))}]});const _0x49a561={'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x18'),_0x15fb48['if'](_0x2d2b('0x22'),'ck-suggestion-wrapper--active'),_0x15fb48['to'](_0x2d2b('0x23'),_0x316b85=>_0x2d2b('0x4')+_0x316b85),this[_0x2d2b('0x2')][_0x2d2b('0x3d')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this[_0x2d2b('0x38')][_0x2d2b('0xd')]['id'],'data-author-id':this[_0x2d2b('0x38')][_0x2d2b('0xb')]['id'],'tabindex':-0x1},'children':[{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x34'),_0x2d2b('0x32')]},'children':[this['userView'],{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x20'),_0x2d2b('0x29')]},'children':_0x16bbb9}]}]};return this['commentsListView']&&this[_0x2d2b('0x44')]&&_0x49a561[_0x2d2b('0x39')][_0x2d2b('0x24')](this[_0x2d2b('0x2a')],this[_0x2d2b('0x44')]),_0x49a561;}[_0x2d2b('0x0')](){super[_0x2d2b('0x0')](),this[_0x2d2b('0x12')]=this[_0x2d2b('0x1a')][_0x2d2b('0x30')](_0x2d2b('0x7')),this[_0x2d2b('0x12')][_0x2d2b('0x40')]=this[_0x2d2b('0x1b')],this['on'](_0x2d2b('0x2c'),(_0x5d8614,_0x569607,_0x7d1e47)=>{this[_0x2d2b('0x12')]['innerHTML']=_0x7d1e47;});}[_0x2d2b('0x41')](_0xe89e4c,_0x4f66c0,_0x2c321d,_0x5a516d,_0x2206df){const _0x5afdd7=new _0x159876(this['locale']);return _0x5afdd7[_0x2d2b('0x42')]({'label':_0xe89e4c,'icon':_0x4f66c0,'tooltip':!0x0,'tooltipPosition':_0x2206df}),_0x5afdd7[_0x2d2b('0x10')]({'attributes':{'class':_0x2c321d}}),_0x5afdd7['on']('execute',()=>{this['fire'](_0x5a516d,this[_0x2d2b('0x38')]['id']);}),_0x5afdd7[_0x2d2b('0x2f')]('isEnabled')['to'](this),_0x5afdd7;}}function es(_0x57a7e1,_0x167321){let _0x19728e='';return _0x19728e+=_0x57a7e1[_0x2d2b('0x9')]('*')[_0x2d2b('0x3c')]((_0x41f1a9,_0x636069)=>_0x636069%0x2!=0x0?_0x2d2b('0x3')+ns(_0x41f1a9)+_0x2d2b('0x46'):ns(_0x41f1a9))[_0x2d2b('0x2d')](''),_0x167321&&(_0x19728e+=_0x2d2b('0x35')+_0x167321[_0x2d2b('0x36')]+'\x22\x20title=\x22'+_0x167321[_0x2d2b('0x1e')]+'\x22></span>'),_0x19728e;}function ns(_0x581e96){const _0x2ef731=document[_0x2d2b('0x1')](_0x2d2b('0x33'));return _0x2ef731['innerText']=_0x581e96,_0x2ef731[_0x2d2b('0x40')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x45b9cd,_0x2646dc,_0x5c1231){const t=_0x45b9cd['t'];switch(_0x2646dc){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x5c1231);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5c1231);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5c1231);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5c1231);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5c1231);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5c1231);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5c1231);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5c1231);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5c1231);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5c1231);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5c1231);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5c1231);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5c1231);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5c1231);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5c1231);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5c1231);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5c1231);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5c1231);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x5c1231);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5c1231);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5c1231);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5c1231);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5c1231);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5c1231);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x5c1231);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5c1231);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5c1231);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5c1231);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5c1231);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x5c1231);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5c1231);case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x5c1231);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5c1231);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5c1231);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x5c1231);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5c1231);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x5c1231);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5c1231);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x471b=['end','length','createPositionAt','createPositionBefore','schema','createPositionAfter','push'];(function(_0x4034e0,_0x471b5e){const _0x2d3330=function(_0x2dfe98){while(--_0x2dfe98){_0x4034e0['push'](_0x4034e0['shift']());}};_0x2d3330(++_0x471b5e);}(_0x471b,0x171));const _0x2d33=function(_0x4034e0,_0x471b5e){_0x4034e0=_0x4034e0-0x0;let _0x2d3330=_0x471b[_0x4034e0];return _0x2d3330;};export function getRangesOfBlockGroups(_0x4ccf22,_0x4bb065){let _0x11aeaf,_0x344afd=0x0;const _0x184341=[],_0x572055=_0x4bb065[_0x2d33('0x6')];for(;_0x344afd<_0x4ccf22[_0x2d33('0x3')];){const _0x269d90=_0x4ccf22[_0x344afd],_0x5e8116=_0x4ccf22[_0x344afd+0x1];_0x11aeaf||(_0x11aeaf=_0x4bb065[_0x2d33('0x5')](_0x269d90)),tn(_0x4bb065,_0x269d90,_0x5e8116)||(_0x184341[_0x2d33('0x1')](_0x4bb065['createRange'](_0x11aeaf,_0x572055['isObject'](_0x269d90)?_0x4bb065['createPositionAfter'](_0x269d90):_0x4bb065[_0x2d33('0x4')](_0x269d90,_0x2d33('0x2')))),_0x11aeaf=null),_0x344afd++;}return _0x184341;}function tn(_0x339ee9,_0x5e1bf2,_0x1a0857){if(!_0x1a0857)return!0x1;const _0x1574a4=_0x339ee9[_0x2d33('0x0')](_0x5e1bf2),_0x349451=_0x339ee9[_0x2d33('0x5')](_0x1a0857);return _0x1574a4['isTouching'](_0x349451);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30bb=['isCollapsed','isMultiRange','next','isInContent','getMarkers','isTouching','getRange','add','isIntersecting','from','getRanges'];(function(_0x5af044,_0x30bb53){const _0x4fea25=function(_0x18b34a){while(--_0x18b34a){_0x5af044['push'](_0x5af044['shift']());}};_0x4fea25(++_0x30bb53);}(_0x30bb,0x7b));const _0x4fea=function(_0x5af044,_0x30bb53){_0x5af044=_0x5af044-0x0;let _0x4fea25=_0x30bb[_0x5af044];return _0x4fea25;};export default function jt(_0x41005a,_0x3a5d6f){const _0x232f53=Array[_0x4fea('0x7')](_0x41005a[_0x4fea('0x8')]()),_0x5b4982=new Set();for(const _0x77c9fc of _0x3a5d6f)if(_0x77c9fc[_0x4fea('0x1')])for(const _0x1f066f of _0x232f53)for(const _0x49ce54 of _0x77c9fc[_0x4fea('0x2')]()){const _0x1b2d6b=_0x49ce54[_0x4fea('0x4')]();(_0x1f066f[_0x4fea('0x6')](_0x1b2d6b)||_0x41005a[_0x4fea('0x9')]&&!_0x77c9fc[_0x4fea('0xa')]&&_0x77c9fc[_0x4fea('0x0')]&&_0x1b2d6b['end'][_0x4fea('0x3')](_0x1f066f['start']))&&_0x5b4982[_0x4fea('0x5')](_0x77c9fc);}return _0x5b4982;}
|
package/src/utils/hashobject.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x563d=['object','keys','boolean','isArray','charCodeAt','number','string','toString','sort'];(function(_0x577ae5,_0x563d0c){const _0x48c628=function(_0x5c435a){while(--_0x5c435a){_0x577ae5['push'](_0x577ae5['shift']());}};_0x48c628(++_0x563d0c);}(_0x563d,0x1d3));const _0x48c6=function(_0x577ae5,_0x563d0c){_0x577ae5=_0x577ae5-0x0;let _0x48c628=_0x563d[_0x577ae5];return _0x48c628;};export default function kt(_0x5405ba){let _0x132c7f=0x0,_0x444314=0x0;for(const _0x3ba0e7 of fe(_0x5405ba))_0x132c7f=(_0x132c7f<<0x5)-_0x132c7f+_0x3ba0e7,_0x132c7f&=_0x132c7f,[_0x132c7f,_0x444314]=[_0x444314,_0x132c7f];return ce(_0x132c7f)+ce(_0x444314);}function*ie(_0x1d38ec){_0x1d38ec?_0x48c6('0x3')==typeof _0x1d38ec?yield 0x1:Array[_0x48c6('0x4')](_0x1d38ec)?yield*function*(_0x1c71b5){for(const _0x53e11e of _0x1c71b5)yield*ie(_0x53e11e);}(_0x1d38ec):_0x48c6('0x1')==typeof _0x1d38ec?yield*fe(_0x1d38ec):_0x48c6('0x7')==typeof _0x1d38ec?yield*ye(_0x1d38ec):_0x48c6('0x6')==typeof _0x1d38ec&&(yield _0x1d38ec):yield 0x0;}function*fe(_0x2b693d){if(yield de('{'),_0x2b693d){const _0x3e5376=Object[_0x48c6('0x2')](_0x2b693d)[_0x48c6('0x0')]();for(const _0xf50d61 of _0x3e5376){yield*ye(_0xf50d61),yield de(':');const _0x552841=_0x2b693d[_0xf50d61];yield*ie(_0x552841);}}yield de('}');}function*ye(_0x30ff06){yield de('\x22');for(const _0x2a2805 of _0x30ff06)yield de(_0x2a2805);yield de('\x22');}function de(_0x8a286e){return _0x8a286e[_0x48c6('0x5')](0x0);}function ce(_0x209c3f){return(_0x209c3f*=Math['sign'](_0x209c3f))[_0x48c6('0x8')](0x24);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d73=['type','map','value','color','content'];(function(_0x45cd22,_0x3d73f2){const _0x3843b4=function(_0x25457e){while(--_0x25457e){_0x45cd22['push'](_0x45cd22['shift']());}};_0x3843b4(++_0x3d73f2);}(_0x3d73,0x189));const _0x3843=function(_0x45cd22,_0x3d73f2){_0x45cd22=_0x45cd22-0x0;let _0x3843b4=_0x3d73[_0x45cd22];return _0x3843b4;};export function normalizeDescription(_0x4b2341){return Array['isArray'](_0x4b2341)||(_0x4b2341=[_0x4b2341]),_0x4b2341[_0x3843('0x3')](_0x5c9ca5=>{const _0x53d4e1=_0x5c9ca5[_0x3843('0x1')]['replace'](/\*/g,''),_0x2bfc9d=_0x5c9ca5[_0x3843('0x0')]?'\x20[color\x20'+_0x5c9ca5[_0x3843('0x0')][_0x3843('0x4')]+']':'';return'['+_0x5c9ca5[_0x3843('0x2')]+']\x20'+_0x53d4e1+_0x2bfc9d;})['join'](';\x20');}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1de9=['type','deletion','sort'];(function(_0x26a267,_0x1de947){var _0x2c4882=function(_0x51450b){while(--_0x51450b){_0x26a267['push'](_0x26a267['shift']());}};_0x2c4882(++_0x1de947);}(_0x1de9,0x106));var _0x2c48=function(_0x26a267,_0x1de947){_0x26a267=_0x26a267-0x0;var _0x2c4882=_0x1de9[_0x26a267];return _0x2c4882;};export default function ts(_0x511b7c){return _0x511b7c[_0x2c48('0x1')]((_0x2d2501,_0x165d7a)=>_0x2c48('0x0')==_0x2d2501[_0x2c48('0x2')]&&_0x2c48('0x0')!=_0x165d7a[_0x2c48('0x2')]?-0x1:'deletion'!=_0x2d2501[_0x2c48('0x2')]&&'deletion'==_0x165d7a[_0x2c48('0x2')]?0x1:0x0);}
|