@ckeditor/ckeditor5-track-changes 46.0.1-alpha.4 → 46.0.1-alpha.5

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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x92e59f=_0x5efd;(function(_0x1c7045,_0x5642b7){const _0x453a6e=_0x5efd,_0x196571=_0x1c7045();while(!![]){try{const _0x41de58=-parseInt(_0x453a6e(0x1c0))/0x1*(parseInt(_0x453a6e(0x1a6))/0x2)+-parseInt(_0x453a6e(0x1ac))/0x3*(parseInt(_0x453a6e(0x1a1))/0x4)+-parseInt(_0x453a6e(0x1b4))/0x5*(parseInt(_0x453a6e(0x1b8))/0x6)+-parseInt(_0x453a6e(0x1c7))/0x7*(parseInt(_0x453a6e(0x199))/0x8)+parseInt(_0x453a6e(0x1ca))/0x9*(parseInt(_0x453a6e(0x19c))/0xa)+parseInt(_0x453a6e(0x1c8))/0xb*(parseInt(_0x453a6e(0x1b7))/0xc)+-parseInt(_0x453a6e(0x1a7))/0xd*(-parseInt(_0x453a6e(0x1c9))/0xe);if(_0x41de58===_0x5642b7)break;else _0x196571['push'](_0x196571['shift']());}catch(_0x36d449){_0x196571['push'](_0x196571['shift']());}}}(_0x454d,0x648db));function _0x454d(){const _0x46d843=['suggestionView','canAccept','ck-rounded-corners','setTemplate','4781329OkTEfq','12067ivEYGV','14mtTTnZ','63QfhKKr','<p>','content','editorReady','push','editorDestroyed','set','descriptionParts','acceptButton','ck-suggestion-wrapper','canDiscard','getTemplate','8OxHoWk','commentsListView','listitem','15690szbFjP','description','disableComments','ariaLabel','div','452NfJHdX','commentThreadInputView','color','type','render','8522tcnVgV','25735385dSvfnR','author','</p>','ck-suggestion-wrapper--active','ck-suggestion-','8676jAMGFL','SuggestionView','add','ariaDescriptionView','bind','_model','isEnabled','commentThread','505zDESNo','focusables','delegate','2928TYWEkV','11982LDHYij','discardButton','formatDateTime','discardSuggestion','bindTemplate','_descriptionElement','_config','ck-suggestion--disabled-comments','149CYjUuw','isActive','acceptSuggestion'];_0x454d=function(){return _0x46d843;};return _0x454d();}import{BaseSuggestionThreadView as _0x116c15}from'./basesuggestionthreadview.js';import{trimHtml as _0x1c7d92}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5efd(_0x3acd91,_0x3f8f26){const _0x454d8a=_0x454d();return _0x5efd=function(_0x5efd87,_0x2b4bbe){_0x5efd87=_0x5efd87-0x194;let _0x4d3acd=_0x454d8a[_0x5efd87];return _0x4d3acd;},_0x5efd(_0x3acd91,_0x3f8f26);}import{renderDescription as _0x1a2f4e}from'../../utils/utils.js';export class SuggestionThreadView extends _0x116c15{[_0x92e59f(0x1c3)];[_0x92e59f(0x1bd)];constructor(_0x485606,_0x8c26c9,_0xd8f313,_0x2adab7){const _0x5d7069=_0x92e59f;super(_0x485606,_0x8c26c9,_0xd8f313,_0x2adab7),this[_0x5d7069(0x1d0)](_0x5d7069(0x1a4),''),this[_0x5d7069(0x1b0)](_0x5d7069(0x1a4))['to'](this,_0x5d7069(0x194),_0x473c8f=>_0x473c8f&&_0x473c8f[0x0]?_0x473c8f[0x0][_0x5d7069(0x1a4)]:''),this[_0x5d7069(0x1b0)](_0x5d7069(0x19d))['to'](this,_0x5d7069(0x194),this,_0x5d7069(0x1c1),(_0x27d497,_0x5a4303)=>{const _0x216bca=_0x5d7069;let _0x37e949='';for(const _0x544c8c of _0x27d497)_0x37e949+=_0x216bca(0x1cb)+_0x1a2f4e(_0x544c8c[_0x216bca(0x1cc)],_0x544c8c[_0x216bca(0x1a3)])+_0x216bca(0x1a9);return _0x5a4303?_0x37e949:_0x1c7d92(_0x37e949,{'limit':0x8c});}),this[_0x5d7069(0x1bd)]=null,this[_0x5d7069(0x1c3)]=new _0x2adab7[(_0x5d7069(0x1ad))](_0x485606,_0x8c26c9,{'formatDateTime':_0x2adab7[_0x5d7069(0x1ba)]}),this[_0x5d7069(0x1c3)][_0x5d7069(0x1b0)](_0x5d7069(0x19d))['to'](this),this[_0x5d7069(0x1c3)][_0x5d7069(0x1b6)](_0x5d7069(0x1c2),_0x5d7069(0x1bb))['to'](this),this[_0x5d7069(0x1c3)][_0x5d7069(0x195)][_0x5d7069(0x1b0)](_0x5d7069(0x1b2))['to'](this,_0x5d7069(0x1c4)),this[_0x5d7069(0x1c3)][_0x5d7069(0x1b9)][_0x5d7069(0x1b0)](_0x5d7069(0x1b2))['to'](this,_0x5d7069(0x197)),this[_0x5d7069(0x1b5)][_0x5d7069(0x1ae)](this[_0x5d7069(0x1c3)]),this[_0x5d7069(0x19a)]&&this[_0x5d7069(0x1b5)][_0x5d7069(0x1ae)](this[_0x5d7069(0x19a)]),this[_0x5d7069(0x1a2)]&&this[_0x5d7069(0x1b5)][_0x5d7069(0x1ae)](this[_0x5d7069(0x1a2)]),this[_0x5d7069(0x1c6)](this[_0x5d7069(0x198)]());}[_0x92e59f(0x198)](){const _0x32eb77=_0x92e59f,_0x32465c=this[_0x32eb77(0x1bc)],_0x33a55c=[this[_0x32eb77(0x1c3)]];return this[_0x32eb77(0x19a)]&&_0x33a55c[_0x32eb77(0x1ce)](this[_0x32eb77(0x19a)]),this[_0x32eb77(0x1a2)]&&_0x33a55c[_0x32eb77(0x1ce)](this[_0x32eb77(0x1a2)]),_0x33a55c[_0x32eb77(0x1ce)](this[_0x32eb77(0x1af)]),{'tag':_0x32eb77(0x1a0),'attributes':{'class':['ck',_0x32eb77(0x1c5),_0x32eb77(0x196),_0x32465c['if'](_0x32eb77(0x1c1),_0x32eb77(0x1aa)),_0x32465c['to'](_0x32eb77(0x1a4),_0x10e498=>_0x32eb77(0x1ab)+_0x10e498),this[_0x32eb77(0x1be)][_0x32eb77(0x19e)]&&_0x32eb77(0x1bf)],'data-suggestion-id':this[_0x32eb77(0x1b1)]['id'],'data-thread-id':this[_0x32eb77(0x1b1)][_0x32eb77(0x1b3)]['id'],'data-author-id':this[_0x32eb77(0x1b1)][_0x32eb77(0x1a8)]['id'],'tabindex':0x0,'role':_0x32eb77(0x19b),'aria-label':_0x32465c['to'](_0x32eb77(0x19f)),'aria-describedby':this[_0x32eb77(0x1af)]['id']},'children':_0x33a55c};}[_0x92e59f(0x1a5)](){const _0x4123ac=_0x92e59f;super[_0x4123ac(0x1a5)](),this[_0x4123ac(0x19a)]&&(this[_0x4123ac(0x19a)][_0x4123ac(0x1b6)](_0x4123ac(0x1cd))['to'](this),this[_0x4123ac(0x19a)][_0x4123ac(0x1b6)](_0x4123ac(0x1cf))['to'](this)),this[_0x4123ac(0x1a2)]&&(this[_0x4123ac(0x1a2)][_0x4123ac(0x1b6)](_0x4123ac(0x1cd))['to'](this),this[_0x4123ac(0x1a2)][_0x4123ac(0x1b6)](_0x4123ac(0x1cf))['to'](this));}}
23
+ const _0x36bec4=_0xd337;function _0x39a4(){const _0xd39255=['canDiscard','author','suggestionView','disableComments','ck-suggestion-','acceptSuggestion','getTemplate','set','discardSuggestion','setTemplate','3961632IoTmze','isEnabled','commentThread','22727240UTLKeQ','bind','49pMfIkW','descriptionParts','532585KfZLFz','focusables','type','477016wtrkYK','commentsListView','ck-rounded-corners','5YkShLy','ariaDescriptionView','editorDestroyed','bindTemplate','acceptButton','_descriptionElement','render','isActive','discardButton','description','color','commentThreadInputView','editorReady','_config','canAccept','ck-suggestion--disabled-comments','ariaLabel','_model','1759804dYlLdw','156238wjiRko','3PAalBN','listitem','ck-suggestion-wrapper','ck-suggestion-wrapper--active','add','push','307647uNRNQU','formatDateTime','delegate','</p>','div','SuggestionView','content','<p>'];_0x39a4=function(){return _0xd39255;};return _0x39a4();}(function(_0x2e5278,_0x56358b){const _0x419d54=_0xd337,_0xb95a6f=_0x2e5278();while(!![]){try{const _0x34f9ed=-parseInt(_0x419d54(0xdd))/0x1*(parseInt(_0x419d54(0xf0))/0x2)+parseInt(_0x419d54(0xf1))/0x3*(-parseInt(_0x419d54(0xef))/0x4)+parseInt(_0x419d54(0x110))/0x5+-parseInt(_0x419d54(0x109))/0x6+parseInt(_0x419d54(0x10e))/0x7*(-parseInt(_0x419d54(0x113))/0x8)+-parseInt(_0x419d54(0xf7))/0x9+parseInt(_0x419d54(0x10c))/0xa;if(_0x34f9ed===_0x56358b)break;else _0xb95a6f['push'](_0xb95a6f['shift']());}catch(_0x24e98f){_0xb95a6f['push'](_0xb95a6f['shift']());}}}(_0x39a4,0x6aa73));import{BaseSuggestionThreadView as _0x5295c6}from'./basesuggestionthreadview.js';import{trimHtml as _0x3e3717}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xd337(_0x393a7d,_0xcd1fa){const _0x39a4d9=_0x39a4();return _0xd337=function(_0xd337f6,_0x466d24){_0xd337f6=_0xd337f6-0xdd;let _0x3591d6=_0x39a4d9[_0xd337f6];return _0x3591d6;},_0xd337(_0x393a7d,_0xcd1fa);}import{renderDescription as _0x2c4eaf}from'../../utils/utils.js';export class SuggestionThreadView extends _0x5295c6{[_0x36bec4(0x101)];[_0x36bec4(0xe2)];constructor(_0x5675ca,_0x195a42,_0x495845,_0x3c0db6){const _0x561103=_0x36bec4;super(_0x5675ca,_0x195a42,_0x495845,_0x3c0db6),this[_0x561103(0x106)](_0x561103(0x112),''),this[_0x561103(0x10d)](_0x561103(0x112))['to'](this,_0x561103(0x10f),_0x36fae6=>_0x36fae6&&_0x36fae6[0x0]?_0x36fae6[0x0][_0x561103(0x112)]:''),this[_0x561103(0x10d)](_0x561103(0xe6))['to'](this,_0x561103(0x10f),this,_0x561103(0xe4),(_0x47cdf5,_0x3337b5)=>{const _0x4d630e=_0x561103;let _0x115ba2='';for(const _0x4d71f1 of _0x47cdf5)_0x115ba2+=_0x4d630e(0xfe)+_0x2c4eaf(_0x4d71f1[_0x4d630e(0xfd)],_0x4d71f1[_0x4d630e(0xe7)])+_0x4d630e(0xfa);return _0x3337b5?_0x115ba2:_0x3e3717(_0x115ba2,{'limit':0x8c});}),this[_0x561103(0xe2)]=null,this[_0x561103(0x101)]=new _0x3c0db6[(_0x561103(0xfc))](_0x5675ca,_0x195a42,{'formatDateTime':_0x3c0db6[_0x561103(0xf8)]}),this[_0x561103(0x101)][_0x561103(0x10d)](_0x561103(0xe6))['to'](this),this[_0x561103(0x101)][_0x561103(0xf9)](_0x561103(0x104),_0x561103(0x107))['to'](this),this[_0x561103(0x101)][_0x561103(0xe1)][_0x561103(0x10d)](_0x561103(0x10a))['to'](this,_0x561103(0xeb)),this[_0x561103(0x101)][_0x561103(0xe5)][_0x561103(0x10d)](_0x561103(0x10a))['to'](this,_0x561103(0xff)),this[_0x561103(0x111)][_0x561103(0xf5)](this[_0x561103(0x101)]),this[_0x561103(0x114)]&&this[_0x561103(0x111)][_0x561103(0xf5)](this[_0x561103(0x114)]),this[_0x561103(0xe8)]&&this[_0x561103(0x111)][_0x561103(0xf5)](this[_0x561103(0xe8)]),this[_0x561103(0x108)](this[_0x561103(0x105)]());}[_0x36bec4(0x105)](){const _0x94c8cd=_0x36bec4,_0x589623=this[_0x94c8cd(0xe0)],_0x2692cd=[this[_0x94c8cd(0x101)]];return this[_0x94c8cd(0x114)]&&_0x2692cd[_0x94c8cd(0xf6)](this[_0x94c8cd(0x114)]),this[_0x94c8cd(0xe8)]&&_0x2692cd[_0x94c8cd(0xf6)](this[_0x94c8cd(0xe8)]),_0x2692cd[_0x94c8cd(0xf6)](this[_0x94c8cd(0xde)]),{'tag':_0x94c8cd(0xfb),'attributes':{'class':['ck',_0x94c8cd(0x115),_0x94c8cd(0xf3),_0x589623['if'](_0x94c8cd(0xe4),_0x94c8cd(0xf4)),_0x589623['to'](_0x94c8cd(0x112),_0x5d18a7=>_0x94c8cd(0x103)+_0x5d18a7),this[_0x94c8cd(0xea)][_0x94c8cd(0x102)]&&_0x94c8cd(0xec)],'data-suggestion-id':this[_0x94c8cd(0xee)]['id'],'data-thread-id':this[_0x94c8cd(0xee)][_0x94c8cd(0x10b)]['id'],'data-author-id':this[_0x94c8cd(0xee)][_0x94c8cd(0x100)]['id'],'tabindex':0x0,'role':_0x94c8cd(0xf2),'aria-label':_0x589623['to'](_0x94c8cd(0xed)),'aria-describedby':this[_0x94c8cd(0xde)]['id']},'children':_0x2692cd};}[_0x36bec4(0xe3)](){const _0x21d97d=_0x36bec4;super[_0x21d97d(0xe3)](),this[_0x21d97d(0x114)]&&(this[_0x21d97d(0x114)][_0x21d97d(0xf9)](_0x21d97d(0xe9))['to'](this),this[_0x21d97d(0x114)][_0x21d97d(0xf9)](_0x21d97d(0xdf))['to'](this)),this[_0x21d97d(0xe8)]&&(this[_0x21d97d(0xe8)][_0x21d97d(0xf9)](_0x21d97d(0xe9))['to'](this),this[_0x21d97d(0xe8)][_0x21d97d(0xf9)](_0x21d97d(0xdf))['to'](this));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x7ac65f,_0x4a0837){const _0x5b59e1=_0x2c7b,_0x40dc40=_0x7ac65f();while(!![]){try{const _0x51d896=parseInt(_0x5b59e1(0xba))/0x1+parseInt(_0x5b59e1(0x92))/0x2*(-parseInt(_0x5b59e1(0xbc))/0x3)+parseInt(_0x5b59e1(0xb9))/0x4*(parseInt(_0x5b59e1(0xb2))/0x5)+-parseInt(_0x5b59e1(0xbf))/0x6*(-parseInt(_0x5b59e1(0x9f))/0x7)+parseInt(_0x5b59e1(0x9d))/0x8+parseInt(_0x5b59e1(0xab))/0x9*(parseInt(_0x5b59e1(0x98))/0xa)+-parseInt(_0x5b59e1(0xa7))/0xb;if(_0x51d896===_0x4a0837)break;else _0x40dc40['push'](_0x40dc40['shift']());}catch(_0x30783f){_0x40dc40['push'](_0x40dc40['shift']());}}}(_0x37ec,0xe2a23));export function normalizeDescription(_0x1ca99e){const _0x56f4a2=_0x2c7b;return Array[_0x56f4a2(0xc5)](_0x1ca99e)||(_0x1ca99e=[_0x1ca99e]),_0x1ca99e[_0x56f4a2(0x8f)](_0x5cd373=>{const _0x2a50b4=_0x56f4a2,_0x180940=_0x5cd373[_0x2a50b4(0x9b)][_0x2a50b4(0xb7)](/\*/g,''),_0x41313c=_0x5cd373[_0x2a50b4(0xa0)]?_0x2a50b4(0xb5)+_0x5cd373[_0x2a50b4(0xa0)][_0x2a50b4(0x9a)]+']':'';return'['+_0x5cd373[_0x2a50b4(0xbb)]+']\x20'+_0x180940+_0x41313c;})[_0x56f4a2(0x91)](';\x20');}export function renderDescription(_0x35d57a,_0x415667){const _0x3eee17=_0x2c7b;let _0x2f6f37='';return _0x2f6f37+=_0x35d57a[_0x3eee17(0xc3)]('*')[_0x3eee17(0x8f)]((_0x231995,_0x3439ea)=>_0x3439ea%0x2!=0x0?_0x3eee17(0xa1)+tn(_0x231995)+_0x3eee17(0xaa):tn(_0x231995))[_0x3eee17(0x91)](''),_0x415667&&(_0x2f6f37+=_0x3eee17(0xb4)+_0x415667[_0x3eee17(0x9a)]+_0x3eee17(0xad)+_0x415667[_0x3eee17(0xa4)]+_0x3eee17(0xa3)),_0x2f6f37;}function tn(_0x474137){const _0x27290d=_0x2c7b,_0x5bf857=document[_0x27290d(0xb0)](_0x27290d(0xbd));return _0x5bf857[_0x27290d(0x9c)]=_0x474137,_0x5bf857[_0x27290d(0xb6)];}export function sortSuggestions(_0xa606ff){const _0x2869a7=_0x2c7b;return _0xa606ff[_0x2869a7(0x96)]((_0x4500a7,_0x14e768)=>_0x2869a7(0xc6)===_0x4500a7[_0x2869a7(0xbb)]&&_0x2869a7(0xc6)!==_0x14e768[_0x2869a7(0xbb)]?-0x1:_0x2869a7(0xc6)!==_0x4500a7[_0x2869a7(0xbb)]&&_0x2869a7(0xc6)===_0x14e768[_0x2869a7(0xbb)]?0x1:_0x2869a7(0x90)==_0x4500a7[_0x2869a7(0xbb)]&&_0x2869a7(0x90)!=_0x14e768[_0x2869a7(0xbb)]?-0x1:_0x2869a7(0x90)!=_0x4500a7[_0x2869a7(0xbb)]&&_0x2869a7(0x90)==_0x14e768[_0x2869a7(0xbb)]?0x1:0x0);}export function getSelectedSuggestions(_0x1b3086,_0x2f1c62){const _0x34ab81=_0x2c7b,_0x9a4404=Array[_0x34ab81(0xb3)](_0x1b3086[_0x34ab81(0xb8)]()),_0x36eb06=new Set();for(const _0x1bba0d of _0x2f1c62)if(_0x1bba0d[_0x34ab81(0xc1)]){for(const _0x1c5f70 of _0x9a4404)for(const _0x27e793 of _0x1bba0d[_0x34ab81(0xb8)]())(_0x1c5f70[_0x34ab81(0x94)](_0x27e793)||_0x1b3086[_0x34ab81(0xa9)]&&!_0x1bba0d[_0x34ab81(0xc0)]&&_0x1bba0d[_0x34ab81(0xc2)]&&_0x27e793[_0x34ab81(0xbe)][_0x34ab81(0x99)](_0x1c5f70[_0x34ab81(0xac)]))&&_0x36eb06[_0x34ab81(0xb1)](_0x1bba0d);}return _0x36eb06;}function _0x2c7b(_0xfab98e,_0x4bcff1){const _0x37ecfa=_0x37ec();return _0x2c7b=function(_0x2c7bcd,_0x264f6e){_0x2c7bcd=_0x2c7bcd-0x8f;let _0x55292e=_0x37ecfa[_0x2c7bcd];return _0x55292e;},_0x2c7b(_0xfab98e,_0x4bcff1);}function _0x37ec(){const _0xf418f1=['\x20[color\x20','innerHTML','replace','getRanges','168UKyTif','1096298SueuOF','type','4610643myMqrV','span','end','4644036nHcHxl','isMultiRange','isInContent','next','split','splice','isArray','attribute','map','deletion','join','2QyLwCN','schema','isIntersecting','execute','sort','push','90UehLOf','isTouching','value','content','innerText','4016552cqhBjD','createPositionAt','14bfCbPT','color','<span\x20class=\x22ck-suggestion-type\x22>','isObject','\x22></span>','title','length','createPositionAfter','31778307zgMYup','change','isCollapsed','</span>','813960WvyLBK','start','\x22\x20title=\x22','createRange','createPositionBefore','createElement','add','165925cEuVjW','from','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'];_0x37ec=function(){return _0xf418f1;};return _0x37ec();}export function getRangesOfBlockGroups(_0x4d784c,_0xd91a00){const _0x1e9944=_0x2c7b;let _0x53788d,_0x589049=0x0;const _0x39b51f=[],_0x359363=_0xd91a00[_0x1e9944(0x93)];for(;_0x589049<_0x4d784c[_0x1e9944(0xa5)];){const _0x4255bf=_0x4d784c[_0x589049],_0x3debdc=_0x4d784c[_0x589049+0x1];_0x53788d||(_0x53788d=_0xd91a00[_0x1e9944(0xaf)](_0x4255bf)),nn(_0xd91a00,_0x4255bf,_0x3debdc)||(_0x39b51f[_0x1e9944(0x97)](_0xd91a00[_0x1e9944(0xae)](_0x53788d,_0x359363[_0x1e9944(0xa2)](_0x4255bf)?_0xd91a00[_0x1e9944(0xa6)](_0x4255bf):_0xd91a00[_0x1e9944(0x9e)](_0x4255bf,_0x1e9944(0xbe)))),_0x53788d=null),_0x589049++;}return _0x39b51f;}function nn(_0x51b869,_0x3dbbff,_0x130a43){const _0xa8f398=_0x2c7b;if(!_0x130a43)return!0x1;const _0x39e8bb=_0x51b869[_0xa8f398(0xa6)](_0x3dbbff),_0x30540c=_0x51b869[_0xa8f398(0xaf)](_0x130a43);return _0x39e8bb[_0xa8f398(0x99)](_0x30540c);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3fe81a,_0x34bbd2,_0xb5c842){const _0x16d3bb=_0x2c7b;for(;_0xb5c842[_0x16d3bb(0xa5)];){const _0x16c3ed=_0xb5c842[_0x16d3bb(0xc4)](0x0,0x64);_0x3fe81a[_0x16d3bb(0xa8)](()=>{const _0x5e1454=_0x16d3bb;for(const _0x2391f3 of _0x16c3ed)_0x2391f3[_0x5e1454(0xc1)]&&_0x34bbd2[_0x5e1454(0x95)](_0x2391f3['id']);});}}
23
+ (function(_0x104484,_0x17ef8c){const _0x41847e=_0xf015,_0x39be10=_0x104484();while(!![]){try{const _0x19f47e=-parseInt(_0x41847e(0x111))/0x1*(-parseInt(_0x41847e(0x13e))/0x2)+-parseInt(_0x41847e(0x13d))/0x3+-parseInt(_0x41847e(0x141))/0x4+parseInt(_0x41847e(0x10e))/0x5*(parseInt(_0x41847e(0x123))/0x6)+parseInt(_0x41847e(0x13f))/0x7+parseInt(_0x41847e(0x112))/0x8+-parseInt(_0x41847e(0x10c))/0x9;if(_0x19f47e===_0x17ef8c)break;else _0x39be10['push'](_0x39be10['shift']());}catch(_0xa4f6a){_0x39be10['push'](_0x39be10['shift']());}}}(_0x443e,0x7e7d2));export function normalizeDescription(_0x17f0a4){const _0x29373f=_0xf015;return Array[_0x29373f(0x133)](_0x17f0a4)||(_0x17f0a4=[_0x17f0a4]),_0x17f0a4[_0x29373f(0x121)](_0x1c5ef4=>{const _0x31a024=_0x29373f,_0x30a7fa=_0x1c5ef4[_0x31a024(0x12c)][_0x31a024(0x120)](/\*/g,''),_0xd3810e=_0x1c5ef4[_0x31a024(0x122)]?_0x31a024(0x140)+_0x1c5ef4[_0x31a024(0x122)][_0x31a024(0x11c)]+']':'';return'['+_0x1c5ef4[_0x31a024(0x113)]+']\x20'+_0x30a7fa+_0xd3810e;})[_0x29373f(0x11a)](';\x20');}export function renderDescription(_0x57c715,_0x3216d7){const _0x3422e3=_0xf015;let _0x40d834='';return _0x40d834+=_0x57c715[_0x3422e3(0x126)]('*')[_0x3422e3(0x121)]((_0x4fe012,_0x257079)=>_0x257079%0x2!=0x0?_0x3422e3(0x135)+Zt(_0x4fe012)+_0x3422e3(0x131):Zt(_0x4fe012))[_0x3422e3(0x11a)](''),_0x3216d7&&(_0x40d834+=_0x3422e3(0x110)+_0x3216d7[_0x3422e3(0x11c)]+_0x3422e3(0x137)+_0x3216d7[_0x3422e3(0x114)]+_0x3422e3(0x10f)),_0x40d834;}function _0x443e(){const _0x42a62d=['isCollapsed','end','change','isMultiRange','createPositionAt','content','start','createElement','span','innerText','</span>','attribute','isArray','createPositionBefore','<span\x20class=\x22ck-suggestion-type\x22>','next','\x22\x20title=\x22','isInContent','add','isIntersecting','splice','innerHTML','2429052YSFbgv','33190Vhzdog','4797604wNsqln','\x20[color\x20','3823356WOnRhc','1700172uGUOSJ','schema','52280bRALLT','\x22></span>','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','9JszmHk','5992336lsfSjL','type','title','createRange','push','getRanges','isObject','from','join','sort','value','createPositionAfter','deletion','isTouching','replace','map','color','510XbOWxd','length','execute','split'];_0x443e=function(){return _0x42a62d;};return _0x443e();}function Zt(_0x3c1f20){const _0x59ccae=_0xf015,_0x2dd410=document[_0x59ccae(0x12e)](_0x59ccae(0x12f));return _0x2dd410[_0x59ccae(0x130)]=_0x3c1f20,_0x2dd410[_0x59ccae(0x13c)];}export function sortSuggestions(_0x2cb977){const _0x3cbd4e=_0xf015;return _0x2cb977[_0x3cbd4e(0x11b)]((_0x3b4964,_0x16bac3)=>_0x3cbd4e(0x132)===_0x3b4964[_0x3cbd4e(0x113)]&&_0x3cbd4e(0x132)!==_0x16bac3[_0x3cbd4e(0x113)]?-0x1:_0x3cbd4e(0x132)!==_0x3b4964[_0x3cbd4e(0x113)]&&_0x3cbd4e(0x132)===_0x16bac3[_0x3cbd4e(0x113)]?0x1:_0x3cbd4e(0x11e)==_0x3b4964[_0x3cbd4e(0x113)]&&_0x3cbd4e(0x11e)!=_0x16bac3[_0x3cbd4e(0x113)]?-0x1:_0x3cbd4e(0x11e)!=_0x3b4964[_0x3cbd4e(0x113)]&&_0x3cbd4e(0x11e)==_0x16bac3[_0x3cbd4e(0x113)]?0x1:0x0);}export function getSelectedSuggestions(_0x5d3041,_0x4e169f){const _0x386f8d=_0xf015,_0xa1bc3c=Array[_0x386f8d(0x119)](_0x5d3041[_0x386f8d(0x117)]()),_0x295b44=new Set();for(const _0x5e26c4 of _0x4e169f)if(_0x5e26c4[_0x386f8d(0x138)]){for(const _0x501f13 of _0xa1bc3c)for(const _0x1eff43 of _0x5e26c4[_0x386f8d(0x117)]())(_0x501f13[_0x386f8d(0x13a)](_0x1eff43)||_0x5d3041[_0x386f8d(0x127)]&&!_0x5e26c4[_0x386f8d(0x12a)]&&_0x5e26c4[_0x386f8d(0x136)]&&_0x1eff43[_0x386f8d(0x128)][_0x386f8d(0x11f)](_0x501f13[_0x386f8d(0x12d)]))&&_0x295b44[_0x386f8d(0x139)](_0x5e26c4);}return _0x295b44;}export function getRangesOfBlockGroups(_0x3a2e60,_0xbc35ae){const _0xaa60ec=_0xf015;let _0x812811,_0x566410=0x0;const _0x3f37a9=[],_0x5d597e=_0xbc35ae[_0xaa60ec(0x10d)];for(;_0x566410<_0x3a2e60[_0xaa60ec(0x124)];){const _0x37f71f=_0x3a2e60[_0x566410],_0x1d56e6=_0x3a2e60[_0x566410+0x1];_0x812811||(_0x812811=_0xbc35ae[_0xaa60ec(0x134)](_0x37f71f)),tn(_0xbc35ae,_0x37f71f,_0x1d56e6)||(_0x3f37a9[_0xaa60ec(0x116)](_0xbc35ae[_0xaa60ec(0x115)](_0x812811,_0x5d597e[_0xaa60ec(0x118)](_0x37f71f)?_0xbc35ae[_0xaa60ec(0x11d)](_0x37f71f):_0xbc35ae[_0xaa60ec(0x12b)](_0x37f71f,_0xaa60ec(0x128)))),_0x812811=null),_0x566410++;}return _0x3f37a9;}function tn(_0x25a7e2,_0x479980,_0xd10118){const _0x3e176c=_0xf015;if(!_0xd10118)return!0x1;const _0xa83c36=_0x25a7e2[_0x3e176c(0x11d)](_0x479980),_0x5a182e=_0x25a7e2[_0x3e176c(0x134)](_0xd10118);return _0xa83c36[_0x3e176c(0x11f)](_0x5a182e);}function _0xf015(_0x2d5ba9,_0x3b456b){const _0x443e17=_0x443e();return _0xf015=function(_0xf01557,_0x203ea7){_0xf01557=_0xf01557-0x10c;let _0x81326f=_0x443e17[_0xf01557];return _0x81326f;},_0xf015(_0x2d5ba9,_0x3b456b);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x37e70c,_0x49143e,_0x33fd45){const _0x5df463=_0xf015;for(;_0x33fd45[_0x5df463(0x124)];){const _0x160abd=_0x33fd45[_0x5df463(0x13b)](0x0,0x64);_0x37e70c[_0x5df463(0x129)](()=>{const _0x3ef07b=_0x5df463;for(const _0x3a266c of _0x160abd)_0x3a266c[_0x3ef07b(0x138)]&&_0x49143e[_0x3ef07b(0x125)](_0x3a266c['id']);});}}