@ckeditor/ckeditor5-track-changes 35.2.0 → 35.3.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/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/build/track-changes.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.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/en-au.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/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.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-latn.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/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.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/lang/contexts.json +4 -1
- package/lang/translations/ar.po +12 -0
- package/lang/translations/az.po +12 -0
- package/lang/translations/bg.po +12 -0
- package/lang/translations/bn.po +12 -0
- package/lang/translations/ca.po +12 -0
- package/lang/translations/cs.po +12 -0
- package/lang/translations/da.po +12 -0
- package/lang/translations/de.po +12 -0
- package/lang/translations/el.po +12 -0
- package/lang/translations/en-au.po +12 -0
- package/lang/translations/en.po +12 -0
- package/lang/translations/es.po +12 -0
- package/lang/translations/et.po +12 -0
- package/lang/translations/fi.po +12 -0
- package/lang/translations/fr.po +12 -0
- package/lang/translations/gl.po +12 -0
- package/lang/translations/he.po +12 -0
- package/lang/translations/hi.po +12 -0
- package/lang/translations/hr.po +12 -0
- package/lang/translations/hu.po +12 -0
- package/lang/translations/id.po +12 -0
- package/lang/translations/it.po +12 -0
- package/lang/translations/ja.po +12 -0
- package/lang/translations/ko.po +12 -0
- package/lang/translations/lt.po +12 -0
- package/lang/translations/lv.po +12 -0
- package/lang/translations/ms.po +12 -0
- package/lang/translations/nl.po +12 -0
- package/lang/translations/no.po +12 -0
- package/lang/translations/pl.po +12 -0
- package/lang/translations/pt-br.po +12 -0
- package/lang/translations/pt.po +12 -0
- package/lang/translations/ro.po +12 -0
- package/lang/translations/ru.po +12 -0
- package/lang/translations/sk.po +12 -0
- package/lang/translations/sr-latn.po +12 -0
- package/lang/translations/sr.po +12 -0
- package/lang/translations/sv.po +12 -0
- package/lang/translations/th.po +12 -0
- package/lang/translations/tk.po +12 -0
- package/lang/translations/tr.po +12 -0
- package/lang/translations/tt.po +12 -0
- package/lang/translations/uk.po +12 -0
- package/lang/translations/ur.po +12 -0
- package/lang/translations/vi.po +12 -0
- package/lang/translations/zh-cn.po +12 -0
- package/lang/translations/zh.po +12 -0
- package/package.json +4 -4
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/{utils/sortsuggestions.js → commands/executeonallsuggestionscommand.js} +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +23 -0
- 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/documentlist.js +23 -0
- 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/{utils/normalizedescription.js → integrations/tablecaption.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/utils.js +23 -0
- package/src/commands/acceptallsuggestionscommand.js +0 -23
- package/src/commands/acceptselectedsuggestionscommand.js +0 -23
- package/src/commands/discardallsuggestionscommand.js +0 -23
- package/src/commands/discardselectedsuggestionscommand.js +0 -23
- package/src/utils/getrangesofblockgroups.js +0 -23
- package/src/utils/getselectedsuggestions.js +0 -23
- package/src/utils/hashobject.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10d8=['formatDateTime','cancel','<span\x20class=\x22ck-suggestion-type\x22>','setTemplate','type','ck-suggestion--accept','discardButton','ck-suggestion--disabled-comments','ck-annotation__main','span','commentThread','ck-suggestion-wrapper','children','Accept\x20suggestion','getTemplate','ck-suggestion__actions','ck-annotation__info-name','source','getExternalSuggestionNote','extendTemplate','execute','ck-comment__info-time','isActive','commentsListView','acceptSuggestion','_model','name','fire','creator','div','color','discardSuggestion','commentThreadInputView','_descriptionElement','_createButton','attributes','element','innerText','content','ck-annotation__actions','userView','ck-annotation__info','_config','</p>','set','Discard\x20suggestion','bind','ck-suggestion__main','locale','split','ck-suggestion__info-name','time','title','innerHTML','EXTERNAL_AVATAR','render','createElement','<p>','author','disableComments','ck-annotation__user','authoredAt','push','ck-suggestion__info','isEnabled','@external','descriptionParts','bindTemplate','</span>','description','ck-annotation__info-time','importWord','getUserViewNotificationText','ck-suggestion-wrapper--active','acceptButton','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-comment__external','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-annotation','join','value','change:description','ck-annotation__content-wrapper'];(function(_0x28d5a8,_0x10d8eb){const _0x4821da=function(_0x9edd5c){while(--_0x9edd5c){_0x28d5a8['push'](_0x28d5a8['shift']());}};_0x4821da(++_0x10d8eb);}(_0x10d8,0x10f));const _0x4821=function(_0x28d5a8,_0x10d8eb){_0x28d5a8=_0x28d5a8-0x0;let _0x4821da=_0x10d8[_0x28d5a8];return _0x4821da;};import{getTranslation as _0x291a2e}from'../../utils/common-translations';import _0x56209 from'./basesuggestionthreadview';import{ButtonView as _0x3bc302}from'ckeditor5/src/ui';import{icons as _0x5b5f72}from'ckeditor5/src/core';import{trimHtml as _0x55eb03,UserView as _0x5b52ae}from'ckeditor5-collaboration/src/collaboration-core';export default class Ut extends _0x56209{constructor(_0x73e770,_0x1bc3bb,_0x20e758,_0x3df910){super(_0x73e770,_0x1bc3bb,_0x20e758,_0x3df910),this[_0x4821('0x16')](_0x4821('0x41'),''),this[_0x4821('0x18')](_0x4821('0x41'))['to'](this,'descriptionParts',_0x54a12a=>_0x54a12a&&_0x54a12a[0x0]?_0x54a12a[0x0][_0x4821('0x41')]:''),this['bind'](_0x4821('0x2f'))['to'](this,_0x4821('0x2c'),this,_0x4821('0x0'),(_0x4026b9,_0x4bcd47)=>{let _0x4f56a9='';for(const _0x48fcd3 of _0x4026b9)_0x4f56a9+=_0x4821('0x23')+ns(_0x48fcd3[_0x4821('0x10')],_0x48fcd3[_0x4821('0x8')])+_0x4821('0x15');return _0x4bcd47?_0x4f56a9:_0x55eb03(_0x4f56a9,{'limit':0x8c});}),this['_descriptionElement']=null,this[_0x4821('0x34')]=this[_0x4821('0xc')](_0x291a2e(_0x73e770,_0x4821('0x4a')),_0x5b5f72['check'],_0x4821('0x42'),_0x4821('0x2'),'sw'),this['discardButton']=this[_0x4821('0xc')](_0x291a2e(_0x73e770,_0x4821('0x17')),_0x5b5f72[_0x4821('0x3e')],'ck-suggestion--discard',_0x4821('0x9'),'sw'),this[_0x4821('0x12')]=new _0x5b52ae(_0x73e770,this['_model']['author'],this[_0x4821('0x32')]()),this['userView'][_0x4821('0x50')]({'attributes':{'class':['ck-suggestion__user',_0x4821('0x26')]}}),this[_0x4821('0x40')](this[_0x4821('0x4b')]());}[_0x4821('0x4b')](){const _0x41a759=this[_0x4821('0x2d')],_0x22324f=[{'tag':_0x4821('0x7'),'attributes':{'class':[_0x4821('0x29'),_0x4821('0x13')]},'children':[{'tag':_0x4821('0x46'),'children':[{'text':this['userView'][_0x4821('0x4')]}],'attributes':{'class':[_0x4821('0x1c'),_0x4821('0x4d')]}},{'tag':_0x4821('0x1d'),'attributes':{'datetime':_0x41a759['to'](_0x4821('0x27')),'class':[_0x4821('0x52'),_0x4821('0x30')]},'children':[{'text':_0x41a759['to'](_0x4821('0x27'),_0x4b0013=>this[_0x4821('0x14')][_0x4821('0x3d')](_0x4b0013))}]}]},{'tag':_0x4821('0x7'),'attributes':{'class':[_0x4821('0x4c'),_0x4821('0x11')]},'children':[this['acceptButton'],this[_0x4821('0x43')]]},{'tag':_0x4821('0x7'),'attributes':{'class':[_0x4821('0x3c')]}}];this[_0x4821('0x3')]['isExternal']&&_0x22324f[_0x4821('0x28')]({'tag':_0x4821('0x7'),'attributes':{'class':[_0x4821('0x36')]},'children':[{'text':this[_0x4821('0x4f')]()}]});const _0x182db2={'tag':'div','attributes':{'class':[_0x4821('0x48'),_0x41a759['if']('isActive',_0x4821('0x33')),_0x41a759['to'](_0x4821('0x41'),_0xa7a5e8=>'ck-suggestion-'+_0xa7a5e8),this[_0x4821('0x14')][_0x4821('0x25')]&&_0x4821('0x44')],'data-suggestion-id':this['_model']['id'],'data-thread-id':this[_0x4821('0x3')][_0x4821('0x47')]['id'],'data-author-id':this['_model'][_0x4821('0x24')]['id'],'tabindex':-0x1},'children':[{'tag':_0x4821('0x7'),'attributes':{'class':['ck-suggestion',_0x4821('0x38')]},'children':[this[_0x4821('0x12')],{'tag':'div','attributes':{'class':[_0x4821('0x19'),_0x4821('0x45')]},'children':_0x22324f}]}]};return this['commentsListView']&&this[_0x4821('0xa')]&&_0x182db2[_0x4821('0x49')][_0x4821('0x28')](this[_0x4821('0x1')],this['commentThreadInputView']),_0x182db2;}[_0x4821('0x21')](){super[_0x4821('0x21')](),this[_0x4821('0xb')]=this[_0x4821('0xe')]['querySelector']('.ck-annotation__content-wrapper'),this[_0x4821('0xb')][_0x4821('0x1f')]=this['description'],this['on'](_0x4821('0x3b'),(_0xf0f8cd,_0x362cfa,_0x5ec0a3)=>{this[_0x4821('0xb')]['innerHTML']=_0x5ec0a3;});}[_0x4821('0xc')](_0x58fd44,_0x31d496,_0x100d34,_0x11d657,_0x235df0){const _0x4ab604=new _0x3bc302(this[_0x4821('0x1a')]);return _0x4ab604['set']({'label':_0x58fd44,'icon':_0x31d496,'tooltip':!0x0,'tooltipPosition':_0x235df0}),_0x4ab604['extendTemplate']({'attributes':{'class':_0x100d34}}),_0x4ab604['on'](_0x4821('0x51'),()=>{this[_0x4821('0x5')](_0x11d657,this['_model']['id']);}),_0x4ab604[_0x4821('0x18')](_0x4821('0x2a'))['to'](this),_0x4ab604;}[_0x4821('0x4f')](){return _0x4821('0x31')===this[_0x4821('0x3')][_0x4821('0xd')][_0x4821('0x2b')][_0x4821('0x4e')]?_0x291a2e(this['locale'],_0x4821('0x35')):_0x291a2e(this['locale'],'EXTERNAL_SUGGESTION');}[_0x4821('0x32')](){return this['_model']['isExternal']?_0x4821('0x31')===this[_0x4821('0x3')][_0x4821('0xd')][_0x4821('0x2b')]['source']?_0x291a2e(this[_0x4821('0x1a')],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x4821('0x3')][_0x4821('0x6')]['name']):_0x291a2e(this[_0x4821('0x1a')],_0x4821('0x20'),this[_0x4821('0x3')][_0x4821('0x6')]['name']):null;}}function ns(_0x1f73e5,_0x34bd22){let _0x4c423b='';return _0x4c423b+=_0x1f73e5[_0x4821('0x1b')]('*')['map']((_0x3701ac,_0x5e8d0d)=>_0x5e8d0d%0x2!=0x0?_0x4821('0x3f')+os(_0x3701ac)+_0x4821('0x2e'):os(_0x3701ac))[_0x4821('0x39')](''),_0x34bd22&&(_0x4c423b+=_0x4821('0x37')+_0x34bd22[_0x4821('0x3a')]+'\x22\x20title=\x22'+_0x34bd22[_0x4821('0x1e')]+'\x22></span>'),_0x4c423b;}function os(_0x3354a7){const _0x2e29c9=document[_0x4821('0x22')](_0x4821('0x46'));return _0x2e29c9[_0x4821('0xf')]=_0x3354a7,_0x2e29c9[_0x4821('0x1f')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x399397,_0x14ccf2,_0x225e51){const t=_0x399397['t'];switch(_0x14ccf2){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',_0x225e51);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x225e51);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x225e51);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x225e51);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x225e51);case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x225e51);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x225e51);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x225e51);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x225e51);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x225e51);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x225e51);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x225e51);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x225e51);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x225e51);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x225e51);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x225e51);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x225e51);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x225e51);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x225e51);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x225e51);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'},_0x225e51);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x225e51);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x225e51);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x225e51);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x225e51);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x225e51);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'},_0x225e51);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x225e51);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x225e51);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x225e51);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x225e51);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'},_0x225e51);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x225e51);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'},_0x225e51);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'},_0x225e51);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x225e51);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'},_0x225e51);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x225e51);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'},_0x225e51);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x225e51);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.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x225e51);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x225e51);}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x3aba=['isIntersecting','schema','join','type','start','color','isObject','from','isCollapsed','isInContent','end','content','sort','createPositionBefore','add','getRanges','createPositionAt','map','deletion','isArray','createPositionAfter','isTouching','change'];(function(_0x33d0f4,_0x3aba5b){const _0xa582bc=function(_0xc237a8){while(--_0xc237a8){_0x33d0f4['push'](_0x33d0f4['shift']());}};_0xa582bc(++_0x3aba5b);}(_0x3aba,0x13d));const _0xa582=function(_0x33d0f4,_0x3aba5b){_0x33d0f4=_0x33d0f4-0x0;let _0xa582bc=_0x3aba[_0x33d0f4];return _0xa582bc;};export function normalizeDescription(_0x4643c4){return Array[_0xa582('0x1')](_0x4643c4)||(_0x4643c4=[_0x4643c4]),_0x4643c4[_0xa582('0x16')](_0x1947eb=>{const _0x2f5ab6=_0x1947eb[_0xa582('0x10')]['replace'](/\*/g,''),_0x10a80b=_0x1947eb['color']?'\x20[color\x20'+_0x1947eb[_0xa582('0xa')]['value']+']':'';return'['+_0x1947eb[_0xa582('0x8')]+']\x20'+_0x2f5ab6+_0x10a80b;})[_0xa582('0x7')](';\x20');}export function sortSuggestions(_0x5bddf9){return _0x5bddf9[_0xa582('0x11')]((_0x5b4667,_0x1d415d)=>'deletion'==_0x5b4667[_0xa582('0x8')]&&_0xa582('0x0')!=_0x1d415d[_0xa582('0x8')]?-0x1:_0xa582('0x0')!=_0x5b4667[_0xa582('0x8')]&&_0xa582('0x0')==_0x1d415d[_0xa582('0x8')]?0x1:0x0);}export function getSelectedSuggestions(_0xda53c0,_0x12178){const _0xa81036=Array[_0xa582('0xc')](_0xda53c0[_0xa582('0x14')]()),_0x113bdb=new Set();for(const _0xa6acad of _0x12178)if(_0xa6acad[_0xa582('0xe')])for(const _0x36d50d of _0xa81036)for(const _0x308cb8 of _0xa6acad['getMarkers']()){const _0x7c29b3=_0x308cb8['getRange']();(_0x36d50d[_0xa582('0x5')](_0x7c29b3)||_0xda53c0[_0xa582('0xd')]&&!_0xa6acad['isMultiRange']&&_0xa6acad['next']&&_0x7c29b3[_0xa582('0xf')]['isTouching'](_0x36d50d[_0xa582('0x9')]))&&_0x113bdb[_0xa582('0x13')](_0xa6acad);}return _0x113bdb;}export function getRangesOfBlockGroups(_0xbe65aa,_0x394d31){let _0x3696b9,_0x1693ac=0x0;const _0x2eb1c8=[],_0x400747=_0x394d31[_0xa582('0x6')];for(;_0x1693ac<_0xbe65aa['length'];){const _0x24b362=_0xbe65aa[_0x1693ac],_0x1c9ca7=_0xbe65aa[_0x1693ac+0x1];_0x3696b9||(_0x3696b9=_0x394d31[_0xa582('0x12')](_0x24b362)),no(_0x394d31,_0x24b362,_0x1c9ca7)||(_0x2eb1c8['push'](_0x394d31['createRange'](_0x3696b9,_0x400747[_0xa582('0xb')](_0x24b362)?_0x394d31[_0xa582('0x2')](_0x24b362):_0x394d31[_0xa582('0x15')](_0x24b362,'end'))),_0x3696b9=null),_0x1693ac++;}return _0x2eb1c8;}function no(_0x259252,_0x4d5964,_0x1b94ce){if(!_0x1b94ce)return!0x1;const _0x4b49e1=_0x259252[_0xa582('0x2')](_0x4d5964),_0x5af840=_0x259252[_0xa582('0x12')](_0x1b94ce);return _0x4b49e1[_0xa582('0x3')](_0x5af840);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3c1af6,_0x4afb8c,_0x3fad60){for(;_0x3fad60['length'];){const _0x119e6e=_0x3fad60['splice'](0x0,0x64);_0x3c1af6[_0xa582('0x4')](()=>{for(const _0x1aedd8 of _0x119e6e)_0x1aedd8[_0xa582('0xe')]&&_0x4afb8c['execute'](_0x1aedd8['id']);});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x338d=['execute','_suggestions','isInContent','from','refresh','model','_acceptSuggestionCommand','values','change','some','isEnabled'];(function(_0x16c3f3,_0x338dc5){const _0x2cf65d=function(_0x21780b){while(--_0x21780b){_0x16c3f3['push'](_0x16c3f3['shift']());}};_0x2cf65d(++_0x338dc5);}(_0x338d,0xc3));const _0x2cf6=function(_0x16c3f3,_0x338dc5){_0x16c3f3=_0x16c3f3-0x0;let _0x2cf65d=_0x338d[_0x16c3f3];return _0x2cf65d;};import{Command as _0x4d2abd}from'ckeditor5/src/core';import _0x3a06b8 from'../utils/sortsuggestions';export default class R extends _0x4d2abd{constructor(_0x536c78,_0x34ee3c,_0xbda61){super(_0x536c78),this[_0x2cf6('0x9')]=_0x34ee3c,this[_0x2cf6('0x4')]=_0xbda61,this[_0x2cf6('0x7')]();}[_0x2cf6('0x7')](){const _0x39270f=this[_0x2cf6('0x9')];this[_0x2cf6('0x2')]=_0x39270f[_0x2cf6('0x2')]&&Array[_0x2cf6('0x6')](this[_0x2cf6('0x4')][_0x2cf6('0xa')]())[_0x2cf6('0x1')](_0x387e03=>_0x387e03[_0x2cf6('0x5')]);}['execute'](){this['editor'][_0x2cf6('0x8')][_0x2cf6('0x0')](()=>{const _0x1a60b3=_0x3a06b8(Array[_0x2cf6('0x6')](this[_0x2cf6('0x4')][_0x2cf6('0xa')]()));for(const _0x3dcf75 of _0x1a60b3)_0x3dcf75[_0x2cf6('0x5')]&&this['_acceptSuggestionCommand'][_0x2cf6('0x3')](_0x3dcf75['id']);});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x33f0=['_selectedSuggestions','change','document','isEnabled','values','model','editor','selection','execute','refresh','_suggestions','from','_acceptSuggestionCommand'];(function(_0x43f91f,_0x33f00e){const _0x3caefc=function(_0x14dd8f){while(--_0x14dd8f){_0x43f91f['push'](_0x43f91f['shift']());}};_0x3caefc(++_0x33f00e);}(_0x33f0,0x181));const _0x3cae=function(_0x43f91f,_0x33f00e){_0x43f91f=_0x43f91f-0x0;let _0x3caefc=_0x33f0[_0x43f91f];return _0x3caefc;};import{Command as _0xe736be}from'ckeditor5/src/core';import _0x140236 from'../utils/sortsuggestions';import _0x2d947e from'../utils/getselectedsuggestions';export default class j extends _0xe736be{constructor(_0x115456,_0x132123,_0x328311){super(_0x115456),this[_0x3cae('0x4')]=_0x132123,this[_0x3cae('0x2')]=_0x328311,this[_0x3cae('0x5')]=new Set(),this['refresh']();}[_0x3cae('0x1')](){const _0x118343=this[_0x3cae('0x4')],_0x262b2e=this[_0x3cae('0xb')][_0x3cae('0xa')][_0x3cae('0x7')][_0x3cae('0xc')],_0x4e63eb=Array[_0x3cae('0x3')](this[_0x3cae('0x2')][_0x3cae('0x9')]());this[_0x3cae('0x5')]=_0x2d947e(_0x262b2e,_0x4e63eb),this[_0x3cae('0x8')]=_0x118343['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){this[_0x3cae('0xb')][_0x3cae('0xa')][_0x3cae('0x6')](()=>{const _0x59b4e9=_0x140236(Array[_0x3cae('0x3')](this['_selectedSuggestions']));for(const _0x1d7f03 of _0x59b4e9)this[_0x3cae('0x4')][_0x3cae('0x0')](_0x1d7f03['id']);});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x13a8=['execute','model','refresh','_suggestions','_discardSuggestionCommand','isEnabled','from','change','values','isInContent','some'];(function(_0x2ff4df,_0x13a8a3){const _0x209ac0=function(_0x908c64){while(--_0x908c64){_0x2ff4df['push'](_0x2ff4df['shift']());}};_0x209ac0(++_0x13a8a3);}(_0x13a8,0x12d));const _0x209a=function(_0x2ff4df,_0x13a8a3){_0x2ff4df=_0x2ff4df-0x0;let _0x209ac0=_0x13a8[_0x2ff4df];return _0x209ac0;};import{Command as _0x850f45}from'ckeditor5/src/core';export default class x extends _0x850f45{constructor(_0x5bcb42,_0x3a1419,_0xa52f34){super(_0x5bcb42),this['_discardSuggestionCommand']=_0x3a1419,this[_0x209a('0xa')]=_0xa52f34,this[_0x209a('0x9')]();}[_0x209a('0x9')](){const _0x4a7d7e=this['_discardSuggestionCommand'];this[_0x209a('0x1')]=_0x4a7d7e['isEnabled']&&Array[_0x209a('0x2')](this[_0x209a('0xa')][_0x209a('0x4')]())[_0x209a('0x6')](_0x5f11d7=>_0x5f11d7[_0x209a('0x5')]);}[_0x209a('0x7')](){this['editor'][_0x209a('0x8')][_0x209a('0x3')](()=>{for(const _0x5ade1b of this['_suggestions'][_0x209a('0x4')]())_0x5ade1b[_0x209a('0x5')]&&this[_0x209a('0x0')][_0x209a('0x7')](_0x5ade1b['id']);});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x138f=['_suggestions','refresh','from','size','model','isEnabled','_discardSuggestionCommand','document','selection','execute','editor','change','values','_selectedSuggestions'];(function(_0x42c06c,_0x138f8d){const _0xcb676e=function(_0x3e86c3){while(--_0x3e86c3){_0x42c06c['push'](_0x42c06c['shift']());}};_0xcb676e(++_0x138f8d);}(_0x138f,0x17c));const _0xcb67=function(_0x42c06c,_0x138f8d){_0x42c06c=_0x42c06c-0x0;let _0xcb676e=_0x138f[_0x42c06c];return _0xcb676e;};import{Command as _0x491943}from'ckeditor5/src/core';import _0x534b83 from'../utils/getselectedsuggestions';export default class U extends _0x491943{constructor(_0x2e37d7,_0x32d712,_0x5a2687){super(_0x2e37d7),this[_0xcb67('0x4')]=_0x32d712,this[_0xcb67('0xc')]=_0x5a2687,this[_0xcb67('0xb')]=new Set(),this[_0xcb67('0xd')]();}['refresh'](){const _0x304145=this[_0xcb67('0x4')],_0x54b9bb=this[_0xcb67('0x8')]['model'][_0xcb67('0x5')][_0xcb67('0x6')],_0x5cf057=Array[_0xcb67('0x0')](this[_0xcb67('0xc')][_0xcb67('0xa')]());this['_selectedSuggestions']=_0x534b83(_0x54b9bb,_0x5cf057),this['isEnabled']=_0x304145[_0xcb67('0x3')]&&!!this['_selectedSuggestions'][_0xcb67('0x1')];}[_0xcb67('0x7')](){this['editor'][_0xcb67('0x2')][_0xcb67('0x9')](()=>{for(const _0x228615 of this['_selectedSuggestions'])this[_0xcb67('0x4')]['execute'](_0x228615['id']);});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x349d=['createPositionBefore','isTouching','isObject','end','schema','createPositionAfter','createPositionAt'];(function(_0x51a370,_0x349d92){const _0x42c41b=function(_0x3f2798){while(--_0x3f2798){_0x51a370['push'](_0x51a370['shift']());}};_0x42c41b(++_0x349d92);}(_0x349d,0x1bb));const _0x42c4=function(_0x51a370,_0x349d92){_0x51a370=_0x51a370-0x0;let _0x42c41b=_0x349d[_0x51a370];return _0x42c41b;};export function getRangesOfBlockGroups(_0x221d83,_0x5743f8){let _0xb090ed,_0xc033ca=0x0;const _0x4af142=[],_0x53e21a=_0x5743f8[_0x42c4('0x2')];for(;_0xc033ca<_0x221d83['length'];){const _0x42fcd6=_0x221d83[_0xc033ca],_0x19c3b8=_0x221d83[_0xc033ca+0x1];_0xb090ed||(_0xb090ed=_0x5743f8[_0x42c4('0x5')](_0x42fcd6)),tn(_0x5743f8,_0x42fcd6,_0x19c3b8)||(_0x4af142['push'](_0x5743f8['createRange'](_0xb090ed,_0x53e21a[_0x42c4('0x0')](_0x42fcd6)?_0x5743f8[_0x42c4('0x3')](_0x42fcd6):_0x5743f8[_0x42c4('0x4')](_0x42fcd6,_0x42c4('0x1')))),_0xb090ed=null),_0xc033ca++;}return _0x4af142;}function tn(_0x32c4c7,_0x5dbad9,_0x3f0960){if(!_0x3f0960)return!0x1;const _0x390c10=_0x32c4c7['createPositionAfter'](_0x5dbad9),_0x1deb3f=_0x32c4c7[_0x42c4('0x5')](_0x3f0960);return _0x390c10[_0x42c4('0x6')](_0x1deb3f);}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x51a6=['isMultiRange','isInContent','getMarkers','start','next','isCollapsed','isTouching','from','getRanges','add','getRange'];(function(_0x282b1d,_0x51a6cc){const _0x5b02a3=function(_0x5a60b9){while(--_0x5a60b9){_0x282b1d['push'](_0x282b1d['shift']());}};_0x5b02a3(++_0x51a6cc);}(_0x51a6,0x10c));const _0x5b02=function(_0x282b1d,_0x51a6cc){_0x282b1d=_0x282b1d-0x0;let _0x5b02a3=_0x51a6[_0x282b1d];return _0x5b02a3;};export default function jt(_0x5752bf,_0x22e58c){const _0x15e0c3=Array[_0x5b02('0x3')](_0x5752bf[_0x5b02('0x4')]()),_0x13aee=new Set();for(const _0x3f3973 of _0x22e58c)if(_0x3f3973[_0x5b02('0x8')])for(const _0x4e7803 of _0x15e0c3)for(const _0x4018dd of _0x3f3973[_0x5b02('0x9')]()){const _0x30925f=_0x4018dd[_0x5b02('0x6')]();(_0x4e7803['isIntersecting'](_0x30925f)||_0x5752bf[_0x5b02('0x1')]&&!_0x3f3973[_0x5b02('0x7')]&&_0x3f3973[_0x5b02('0x0')]&&_0x30925f['end'][_0x5b02('0x2')](_0x4e7803[_0x5b02('0xa')]))&&_0x13aee[_0x5b02('0x5')](_0x3f3973);}return _0x13aee;}
|
package/src/utils/hashobject.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x2883=['keys','object','toString','sign','number','isArray','sort','string'];(function(_0x2b4b78,_0x2883b9){const _0x5dae00=function(_0x3751fe){while(--_0x3751fe){_0x2b4b78['push'](_0x2b4b78['shift']());}};_0x5dae00(++_0x2883b9);}(_0x2883,0x11a));const _0x5dae=function(_0x2b4b78,_0x2883b9){_0x2b4b78=_0x2b4b78-0x0;let _0x5dae00=_0x2883[_0x2b4b78];return _0x5dae00;};export default function kt(_0x1182b7){let _0x15595d=0x0,_0x433950=0x0;for(const _0x4072bd of fe(_0x1182b7))_0x15595d=(_0x15595d<<0x5)-_0x15595d+_0x4072bd,_0x15595d&=_0x15595d,[_0x15595d,_0x433950]=[_0x433950,_0x15595d];return ce(_0x15595d)+ce(_0x433950);}function*ie(_0x180494){_0x180494?'boolean'==typeof _0x180494?yield 0x1:Array[_0x5dae('0x3')](_0x180494)?yield*function*(_0x3ff4c6){for(const _0xcd76a8 of _0x3ff4c6)yield*ie(_0xcd76a8);}(_0x180494):_0x5dae('0x7')==typeof _0x180494?yield*fe(_0x180494):_0x5dae('0x5')==typeof _0x180494?yield*ye(_0x180494):_0x5dae('0x2')==typeof _0x180494&&(yield _0x180494):yield 0x0;}function*fe(_0x381638){if(yield de('{'),_0x381638){const _0x57b6d1=Object[_0x5dae('0x6')](_0x381638)[_0x5dae('0x4')]();for(const _0x4c66ef of _0x57b6d1){yield*ye(_0x4c66ef),yield de(':');const _0x210042=_0x381638[_0x4c66ef];yield*ie(_0x210042);}}yield de('}');}function*ye(_0x1d8883){yield de('\x22');for(const _0x52cad1 of _0x1d8883)yield de(_0x52cad1);yield de('\x22');}function de(_0x13802c){return _0x13802c['charCodeAt'](0x0);}function ce(_0x9bd272){return(_0x9bd272*=Math[_0x5dae('0x1')](_0x9bd272))[_0x5dae('0x0')](0x24);}
|