@ckeditor/ckeditor5-track-changes 35.2.1 → 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 _0x5644=['values','isInContent','execute','editor','model','some','isEnabled','_suggestions','refresh','from','change','_acceptSuggestionCommand'];(function(_0x7218d8,_0x5644f2){const _0x19781d=function(_0x2730d2){while(--_0x2730d2){_0x7218d8['push'](_0x7218d8['shift']());}};_0x19781d(++_0x5644f2);}(_0x5644,0x81));const _0x1978=function(_0x7218d8,_0x5644f2){_0x7218d8=_0x7218d8-0x0;let _0x19781d=_0x5644[_0x7218d8];return _0x19781d;};import{Command as _0x264d48}from'ckeditor5/src/core';import _0x234351 from'../utils/sortsuggestions';export default class R extends _0x264d48{constructor(_0x2038e2,_0x3bbcb5,_0xa006fc){super(_0x2038e2),this[_0x1978('0x2')]=_0x3bbcb5,this[_0x1978('0xa')]=_0xa006fc,this[_0x1978('0xb')]();}[_0x1978('0xb')](){const _0x14a65d=this['_acceptSuggestionCommand'];this[_0x1978('0x9')]=_0x14a65d[_0x1978('0x9')]&&Array[_0x1978('0x0')](this[_0x1978('0xa')]['values']())[_0x1978('0x8')](_0x17c11e=>_0x17c11e[_0x1978('0x4')]);}['execute'](){this[_0x1978('0x6')][_0x1978('0x7')][_0x1978('0x1')](()=>{const _0x1def05=_0x234351(Array[_0x1978('0x0')](this['_suggestions'][_0x1978('0x3')]()));for(const _0xe671f9 of _0x1def05)_0xe671f9[_0x1978('0x4')]&&this[_0x1978('0x2')][_0x1978('0x5')](_0xe671f9['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 _0x482e=['values','editor','size','_selectedSuggestions','from','_acceptSuggestionCommand','_suggestions','selection','refresh','model','execute'];(function(_0x44c26e,_0x482e70){const _0xabbdaa=function(_0x2623a6){while(--_0x2623a6){_0x44c26e['push'](_0x44c26e['shift']());}};_0xabbdaa(++_0x482e70);}(_0x482e,0x185));const _0xabbd=function(_0x44c26e,_0x482e70){_0x44c26e=_0x44c26e-0x0;let _0xabbdaa=_0x482e[_0x44c26e];return _0xabbdaa;};import{Command as _0x1636b3}from'ckeditor5/src/core';import _0x387221 from'../utils/sortsuggestions';import _0xebcf1a from'../utils/getselectedsuggestions';export default class j extends _0x1636b3{constructor(_0x12d202,_0x747e87,_0x5d0853){super(_0x12d202),this[_0xabbd('0x1')]=_0x747e87,this[_0xabbd('0x2')]=_0x5d0853,this[_0xabbd('0xa')]=new Set(),this['refresh']();}[_0xabbd('0x4')](){const _0x561a20=this['_acceptSuggestionCommand'],_0x277e53=this[_0xabbd('0x8')][_0xabbd('0x5')]['document'][_0xabbd('0x3')],_0xe38dbe=Array['from'](this[_0xabbd('0x2')][_0xabbd('0x7')]());this[_0xabbd('0xa')]=_0xebcf1a(_0x277e53,_0xe38dbe),this['isEnabled']=_0x561a20['isEnabled']&&!!this[_0xabbd('0xa')][_0xabbd('0x9')];}[_0xabbd('0x6')](){this[_0xabbd('0x8')][_0xabbd('0x5')]['change'](()=>{const _0x8ab27d=_0x387221(Array[_0xabbd('0x0')](this[_0xabbd('0xa')]));for(const _0x39ed4d of _0x8ab27d)this[_0xabbd('0x1')][_0xabbd('0x6')](_0x39ed4d['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 _0x55a8=['_suggestions','refresh','isEnabled','execute','_discardSuggestionCommand','isInContent','from','editor','model','values'];(function(_0x5c6878,_0x55a889){const _0x35c287=function(_0x56ee86){while(--_0x56ee86){_0x5c6878['push'](_0x5c6878['shift']());}};_0x35c287(++_0x55a889);}(_0x55a8,0x1e8));const _0x35c2=function(_0x5c6878,_0x55a889){_0x5c6878=_0x5c6878-0x0;let _0x35c287=_0x55a8[_0x5c6878];return _0x35c287;};import{Command as _0x312d50}from'ckeditor5/src/core';export default class x extends _0x312d50{constructor(_0x5b90ab,_0x438637,_0x54e25b){super(_0x5b90ab),this[_0x35c2('0x6')]=_0x438637,this[_0x35c2('0x2')]=_0x54e25b,this[_0x35c2('0x3')]();}[_0x35c2('0x3')](){const _0x48a59e=this[_0x35c2('0x6')];this[_0x35c2('0x4')]=_0x48a59e[_0x35c2('0x4')]&&Array[_0x35c2('0x8')](this[_0x35c2('0x2')][_0x35c2('0x1')]())['some'](_0x206f1a=>_0x206f1a['isInContent']);}[_0x35c2('0x5')](){this[_0x35c2('0x9')][_0x35c2('0x0')]['change'](()=>{for(const _0x13216f of this[_0x35c2('0x2')][_0x35c2('0x1')]())_0x13216f[_0x35c2('0x7')]&&this['_discardSuggestionCommand']['execute'](_0x13216f['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 _0x1467=['refresh','values','execute','_selectedSuggestions','from','size','model','_discardSuggestionCommand','change','_suggestions','editor','isEnabled'];(function(_0x231d4d,_0x146780){const _0x5b08e9=function(_0xe5b785){while(--_0xe5b785){_0x231d4d['push'](_0x231d4d['shift']());}};_0x5b08e9(++_0x146780);}(_0x1467,0xf7));const _0x5b08=function(_0x231d4d,_0x146780){_0x231d4d=_0x231d4d-0x0;let _0x5b08e9=_0x1467[_0x231d4d];return _0x5b08e9;};import{Command as _0x24b891}from'ckeditor5/src/core';import _0xa94fa9 from'../utils/getselectedsuggestions';export default class U extends _0x24b891{constructor(_0xb09cda,_0x2af079,_0x34bd91){super(_0xb09cda),this[_0x5b08('0x0')]=_0x2af079,this['_suggestions']=_0x34bd91,this[_0x5b08('0x8')]=new Set(),this['refresh']();}[_0x5b08('0x5')](){const _0x3716fe=this[_0x5b08('0x0')],_0x213188=this[_0x5b08('0x3')][_0x5b08('0xb')]['document']['selection'],_0x4cfb70=Array[_0x5b08('0x9')](this[_0x5b08('0x2')][_0x5b08('0x6')]());this[_0x5b08('0x8')]=_0xa94fa9(_0x213188,_0x4cfb70),this[_0x5b08('0x4')]=_0x3716fe[_0x5b08('0x4')]&&!!this['_selectedSuggestions'][_0x5b08('0xa')];}[_0x5b08('0x7')](){this[_0x5b08('0x3')][_0x5b08('0xb')][_0x5b08('0x1')](()=>{for(const _0x1a76b0 of this[_0x5b08('0x8')])this[_0x5b08('0x0')]['execute'](_0x1a76b0['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 _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);}
|
|
@@ -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 _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
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 _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);}
|