@ckeditor/ckeditor5-track-changes 46.0.0-alpha.7 → 46.0.0-alpha.8

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 _0x5c5e05=_0x28f7;function _0x28f7(_0x48544f,_0x4e2647){const _0x50ac9d=_0x50ac();return _0x28f7=function(_0x28f73c,_0x2cede1){_0x28f73c=_0x28f73c-0x168;let _0x590f75=_0x50ac9d[_0x28f73c];return _0x590f75;},_0x28f7(_0x48544f,_0x4e2647);}(function(_0x217f9d,_0x39a2ae){const _0x547a3c=_0x28f7,_0x1a518c=_0x217f9d();while(!![]){try{const _0x12c064=-parseInt(_0x547a3c(0x199))/0x1+parseInt(_0x547a3c(0x18a))/0x2+-parseInt(_0x547a3c(0x17a))/0x3+parseInt(_0x547a3c(0x18e))/0x4+-parseInt(_0x547a3c(0x196))/0x5*(-parseInt(_0x547a3c(0x173))/0x6)+parseInt(_0x547a3c(0x191))/0x7*(parseInt(_0x547a3c(0x181))/0x8)+parseInt(_0x547a3c(0x17d))/0x9;if(_0x12c064===_0x39a2ae)break;else _0x1a518c['push'](_0x1a518c['shift']());}catch(_0x349c8f){_0x1a518c['push'](_0x1a518c['shift']());}}}(_0x50ac,0x2bc67));function _0x50ac(){const _0x1c481b=['setTemplate','ariaDescriptionView','_model','editorReady','commentThreadInputView','discardSuggestion','add','render','commentThread','isActive','getTemplate','descriptionParts','type','set','acceptButton','focusables','ck-suggestion-wrapper','12342QDGPRQ','canDiscard','SuggestionView','<p>','bind','delegate','formatDateTime','453384eXRkup','_descriptionElement','push','1677294wyaDbe','_config','description','isEnabled','45184zHXgOy','suggestionView','</p>','div','author','editorDestroyed','acceptSuggestion','commentsListView','ck-suggestion-','616440dDzGJX','bindTemplate','canAccept','disableComments','198476WqYYjx','color','ck-suggestion--disabled-comments','35IvmKfm','discardButton','listitem','ariaLabel','content','235stdSwF','ck-suggestion-wrapper--active','ck-rounded-corners','338693iaHIsF'];_0x50ac=function(){return _0x1c481b;};return _0x50ac();}import{BaseSuggestionThreadView as _0x8a31c}from'./basesuggestionthreadview.js';import{trimHtml as _0x36d46a}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x3661b8}from'../../utils/utils.js';export class SuggestionThreadView extends _0x8a31c{[_0x5c5e05(0x182)];[_0x5c5e05(0x17b)];constructor(_0x57bd1e,_0x2cd4c4,_0x7cfbb8,_0x5e6366){const _0x369287=_0x5c5e05;super(_0x57bd1e,_0x2cd4c4,_0x7cfbb8,_0x5e6366),this[_0x369287(0x16f)](_0x369287(0x16e),''),this[_0x369287(0x177)](_0x369287(0x16e))['to'](this,_0x369287(0x16d),_0x347669=>_0x347669&&_0x347669[0x0]?_0x347669[0x0][_0x369287(0x16e)]:''),this[_0x369287(0x177)](_0x369287(0x17f))['to'](this,_0x369287(0x16d),this,_0x369287(0x16b),(_0x20781b,_0x23cb45)=>{const _0x44aa56=_0x369287;let _0x3b4cfb='';for(const _0x280b80 of _0x20781b)_0x3b4cfb+=_0x44aa56(0x176)+_0x3661b8(_0x280b80[_0x44aa56(0x195)],_0x280b80[_0x44aa56(0x18f)])+_0x44aa56(0x183);return _0x23cb45?_0x3b4cfb:_0x36d46a(_0x3b4cfb,{'limit':0x8c});}),this[_0x369287(0x17b)]=null,this[_0x369287(0x182)]=new _0x5e6366[(_0x369287(0x175))](_0x57bd1e,_0x2cd4c4,{'formatDateTime':_0x5e6366[_0x369287(0x179)]}),this[_0x369287(0x182)][_0x369287(0x177)](_0x369287(0x17f))['to'](this),this[_0x369287(0x182)][_0x369287(0x178)](_0x369287(0x187),_0x369287(0x19f))['to'](this),this[_0x369287(0x182)][_0x369287(0x170)][_0x369287(0x177)](_0x369287(0x180))['to'](this,_0x369287(0x18c)),this[_0x369287(0x182)][_0x369287(0x192)][_0x369287(0x177)](_0x369287(0x180))['to'](this,_0x369287(0x174)),this[_0x369287(0x171)][_0x369287(0x168)](this[_0x369287(0x182)]),this[_0x369287(0x188)]&&this[_0x369287(0x171)][_0x369287(0x168)](this[_0x369287(0x188)]),this[_0x369287(0x19e)]&&this[_0x369287(0x171)][_0x369287(0x168)](this[_0x369287(0x19e)]),this[_0x369287(0x19a)](this[_0x369287(0x16c)]());}[_0x5c5e05(0x16c)](){const _0x358eb8=_0x5c5e05,_0x5bf0c1=this[_0x358eb8(0x18b)],_0x326b6a=[this[_0x358eb8(0x182)]];return this[_0x358eb8(0x188)]&&_0x326b6a[_0x358eb8(0x17c)](this[_0x358eb8(0x188)]),this[_0x358eb8(0x19e)]&&_0x326b6a[_0x358eb8(0x17c)](this[_0x358eb8(0x19e)]),_0x326b6a[_0x358eb8(0x17c)](this[_0x358eb8(0x19b)]),{'tag':_0x358eb8(0x184),'attributes':{'class':['ck',_0x358eb8(0x198),_0x358eb8(0x172),_0x5bf0c1['if'](_0x358eb8(0x16b),_0x358eb8(0x197)),_0x5bf0c1['to'](_0x358eb8(0x16e),_0x5d0ebd=>_0x358eb8(0x189)+_0x5d0ebd),this[_0x358eb8(0x17e)][_0x358eb8(0x18d)]&&_0x358eb8(0x190)],'data-suggestion-id':this[_0x358eb8(0x19c)]['id'],'data-thread-id':this[_0x358eb8(0x19c)][_0x358eb8(0x16a)]['id'],'data-author-id':this[_0x358eb8(0x19c)][_0x358eb8(0x185)]['id'],'tabindex':0x0,'role':_0x358eb8(0x193),'aria-label':_0x5bf0c1['to'](_0x358eb8(0x194)),'aria-describedby':this[_0x358eb8(0x19b)]['id']},'children':_0x326b6a};}[_0x5c5e05(0x169)](){const _0x3b1cef=_0x5c5e05;super[_0x3b1cef(0x169)](),this[_0x3b1cef(0x188)]&&(this[_0x3b1cef(0x188)][_0x3b1cef(0x178)](_0x3b1cef(0x19d))['to'](this),this[_0x3b1cef(0x188)][_0x3b1cef(0x178)](_0x3b1cef(0x186))['to'](this)),this[_0x3b1cef(0x19e)]&&(this[_0x3b1cef(0x19e)][_0x3b1cef(0x178)](_0x3b1cef(0x19d))['to'](this),this[_0x3b1cef(0x19e)][_0x3b1cef(0x178)](_0x3b1cef(0x186))['to'](this));}}
23
+ function _0x4201(){const _0x44b038=['ck-rounded-corners','render','div','description','push','</p>','focusables','_model','editorReady','isActive','ck-suggestion-wrapper','commentThread','type','8625606yGuOll','264633LnGLlS','ariaLabel','21TSPxUZ','add','canDiscard','canAccept','169860blLPGC','11vVBBhV','discardSuggestion','ck-suggestion--disabled-comments','bindTemplate','set','65LFYseB','setTemplate','_config','6ZAJgxp','commentThreadInputView','content','isEnabled','14538816xDCQtt','discardButton','getTemplate','suggestionView','color','delegate','486892KlOGVP','3481640lmvNOZ','bind','acceptSuggestion','author','listitem','8525890awwqPk','_descriptionElement','ck-suggestion-wrapper--active','SuggestionView','commentsListView','disableComments','formatDateTime','editorDestroyed','acceptButton','descriptionParts','ariaDescriptionView','<p>','ck-suggestion-'];_0x4201=function(){return _0x44b038;};return _0x4201();}function _0x5d47(_0x51c37b,_0x1b658e){const _0x420137=_0x4201();return _0x5d47=function(_0x5d4747,_0x16f6d2){_0x5d4747=_0x5d4747-0x103;let _0x4cc62f=_0x420137[_0x5d4747];return _0x4cc62f;},_0x5d47(_0x51c37b,_0x1b658e);}const _0x5038cc=_0x5d47;(function(_0x850ce2,_0x4dffd3){const _0x5058e=_0x5d47,_0x5815b0=_0x850ce2();while(!![]){try{const _0x311034=-parseInt(_0x5058e(0x10a))/0x1+-parseInt(_0x5058e(0x110))/0x2*(-parseInt(_0x5058e(0x119))/0x3)+parseInt(_0x5058e(0x123))/0x4*(-parseInt(_0x5058e(0x116))/0x5)+parseInt(_0x5058e(0x109))/0x6+-parseInt(_0x5058e(0x10c))/0x7*(parseInt(_0x5058e(0x124))/0x8)+parseInt(_0x5058e(0x11d))/0x9+parseInt(_0x5058e(0x129))/0xa*(parseInt(_0x5058e(0x111))/0xb);if(_0x311034===_0x4dffd3)break;else _0x5815b0['push'](_0x5815b0['shift']());}catch(_0x5136a9){_0x5815b0['push'](_0x5815b0['shift']());}}}(_0x4201,0xe14cb));import{BaseSuggestionThreadView as _0x392524}from'./basesuggestionthreadview.js';import{trimHtml as _0x22e1b5}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x104bda}from'../../utils/utils.js';export class SuggestionThreadView extends _0x392524{[_0x5038cc(0x120)];[_0x5038cc(0x12a)];constructor(_0x1b146b,_0x32eea1,_0x18f0c0,_0x1e9a32){const _0x428bd6=_0x5038cc;super(_0x1b146b,_0x32eea1,_0x18f0c0,_0x1e9a32),this[_0x428bd6(0x115)](_0x428bd6(0x108),''),this[_0x428bd6(0x125)](_0x428bd6(0x108))['to'](this,_0x428bd6(0x132),_0x56fc06=>_0x56fc06&&_0x56fc06[0x0]?_0x56fc06[0x0][_0x428bd6(0x108)]:''),this[_0x428bd6(0x125)](_0x428bd6(0x139))['to'](this,_0x428bd6(0x132),this,_0x428bd6(0x105),(_0x529377,_0x1444bc)=>{const _0x176db3=_0x428bd6;let _0x49941c='';for(const _0x312e56 of _0x529377)_0x49941c+=_0x176db3(0x134)+_0x104bda(_0x312e56[_0x176db3(0x11b)],_0x312e56[_0x176db3(0x121)])+_0x176db3(0x13b);return _0x1444bc?_0x49941c:_0x22e1b5(_0x49941c,{'limit':0x8c});}),this[_0x428bd6(0x12a)]=null,this[_0x428bd6(0x120)]=new _0x1e9a32[(_0x428bd6(0x12c))](_0x1b146b,_0x32eea1,{'formatDateTime':_0x1e9a32[_0x428bd6(0x12f)]}),this[_0x428bd6(0x120)][_0x428bd6(0x125)](_0x428bd6(0x139))['to'](this),this[_0x428bd6(0x120)][_0x428bd6(0x122)](_0x428bd6(0x126),_0x428bd6(0x112))['to'](this),this[_0x428bd6(0x120)][_0x428bd6(0x131)][_0x428bd6(0x125)](_0x428bd6(0x11c))['to'](this,_0x428bd6(0x10f)),this[_0x428bd6(0x120)][_0x428bd6(0x11e)][_0x428bd6(0x125)](_0x428bd6(0x11c))['to'](this,_0x428bd6(0x10e)),this[_0x428bd6(0x13c)][_0x428bd6(0x10d)](this[_0x428bd6(0x120)]),this[_0x428bd6(0x12d)]&&this[_0x428bd6(0x13c)][_0x428bd6(0x10d)](this[_0x428bd6(0x12d)]),this[_0x428bd6(0x11a)]&&this[_0x428bd6(0x13c)][_0x428bd6(0x10d)](this[_0x428bd6(0x11a)]),this[_0x428bd6(0x117)](this[_0x428bd6(0x11f)]());}[_0x5038cc(0x11f)](){const _0x165fee=_0x5038cc,_0xd41477=this[_0x165fee(0x114)],_0x2c258d=[this[_0x165fee(0x120)]];return this[_0x165fee(0x12d)]&&_0x2c258d[_0x165fee(0x13a)](this[_0x165fee(0x12d)]),this[_0x165fee(0x11a)]&&_0x2c258d[_0x165fee(0x13a)](this[_0x165fee(0x11a)]),_0x2c258d[_0x165fee(0x13a)](this[_0x165fee(0x133)]),{'tag':_0x165fee(0x138),'attributes':{'class':['ck',_0x165fee(0x136),_0x165fee(0x106),_0xd41477['if'](_0x165fee(0x105),_0x165fee(0x12b)),_0xd41477['to'](_0x165fee(0x108),_0x223ade=>_0x165fee(0x135)+_0x223ade),this[_0x165fee(0x118)][_0x165fee(0x12e)]&&_0x165fee(0x113)],'data-suggestion-id':this[_0x165fee(0x103)]['id'],'data-thread-id':this[_0x165fee(0x103)][_0x165fee(0x107)]['id'],'data-author-id':this[_0x165fee(0x103)][_0x165fee(0x127)]['id'],'tabindex':0x0,'role':_0x165fee(0x128),'aria-label':_0xd41477['to'](_0x165fee(0x10b)),'aria-describedby':this[_0x165fee(0x133)]['id']},'children':_0x2c258d};}[_0x5038cc(0x137)](){const _0x29a0ee=_0x5038cc;super[_0x29a0ee(0x137)](),this[_0x29a0ee(0x12d)]&&(this[_0x29a0ee(0x12d)][_0x29a0ee(0x122)](_0x29a0ee(0x104))['to'](this),this[_0x29a0ee(0x12d)][_0x29a0ee(0x122)](_0x29a0ee(0x130))['to'](this)),this[_0x29a0ee(0x11a)]&&(this[_0x29a0ee(0x11a)][_0x29a0ee(0x122)](_0x29a0ee(0x104))['to'](this),this[_0x29a0ee(0x11a)][_0x29a0ee(0x122)](_0x29a0ee(0x130))['to'](this));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x33df9f,_0x1ba237){const _0x2aa45f=_0xc8bc,_0x39c0d0=_0x33df9f();while(!![]){try{const _0x36f18d=-parseInt(_0x2aa45f(0x111))/0x1+-parseInt(_0x2aa45f(0xfb))/0x2+-parseInt(_0x2aa45f(0xf5))/0x3+-parseInt(_0x2aa45f(0x110))/0x4*(parseInt(_0x2aa45f(0xed))/0x5)+-parseInt(_0x2aa45f(0x11c))/0x6+parseInt(_0x2aa45f(0xf1))/0x7+-parseInt(_0x2aa45f(0xee))/0x8*(-parseInt(_0x2aa45f(0xea))/0x9);if(_0x36f18d===_0x1ba237)break;else _0x39c0d0['push'](_0x39c0d0['shift']());}catch(_0x157e19){_0x39c0d0['push'](_0x39c0d0['shift']());}}}(_0x1b8d,0xb5a7f));function _0xc8bc(_0x5dda67,_0x47a308){const _0x1b8d76=_0x1b8d();return _0xc8bc=function(_0xc8bc43,_0x1c601f){_0xc8bc43=_0xc8bc43-0xea;let _0x36b2f6=_0x1b8d76[_0xc8bc43];return _0x36b2f6;},_0xc8bc(_0x5dda67,_0x47a308);}export function normalizeDescription(_0x5cb9ba){const _0x88ea16=_0xc8bc;return Array[_0x88ea16(0xf9)](_0x5cb9ba)||(_0x5cb9ba=[_0x5cb9ba]),_0x5cb9ba[_0x88ea16(0x10f)](_0xe06a12=>{const _0x9280bd=_0x88ea16,_0xc08b9c=_0xe06a12[_0x9280bd(0x11a)][_0x9280bd(0xfc)](/\*/g,''),_0x226edc=_0xe06a12[_0x9280bd(0x108)]?_0x9280bd(0xeb)+_0xe06a12[_0x9280bd(0x108)][_0x9280bd(0x119)]+']':'';return'['+_0xe06a12[_0x9280bd(0xf8)]+']\x20'+_0xc08b9c+_0x226edc;})[_0x88ea16(0x106)](';\x20');}export function renderDescription(_0x1bc1fc,_0x563290){const _0x249f03=_0xc8bc;let _0x290dd0='';return _0x290dd0+=_0x1bc1fc[_0x249f03(0x104)]('*')[_0x249f03(0x10f)]((_0x419238,_0x301d5f)=>_0x301d5f%0x2!=0x0?_0x249f03(0x117)+tn(_0x419238)+_0x249f03(0xf7):tn(_0x419238))[_0x249f03(0x106)](''),_0x563290&&(_0x290dd0+=_0x249f03(0xf3)+_0x563290[_0x249f03(0x119)]+_0x249f03(0x103)+_0x563290[_0x249f03(0x10b)]+_0x249f03(0x102)),_0x290dd0;}function _0x1b8d(){const _0xcd0485=['add','</span>','type','isArray','isCollapsed','2879434DPThvd','replace','createElement','execute','createPositionBefore','length','push','\x22></span>','\x22\x20title=\x22','split','innerText','join','end','color','innerHTML','from','title','createRange','isTouching','span','map','1216528frIzmT','298049mcmUsk','isIntersecting','start','schema','isMultiRange','getRanges','<span\x20class=\x22ck-suggestion-type\x22>','isInContent','value','content','splice','4762464AaNars','createPositionAt','next','isObject','4094811LNSLUv','\x20[color\x20','attribute','10BRTKmO','48zrtutY','change','sort','9578800saRiRj','deletion','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionAfter','643311yckeVw'];_0x1b8d=function(){return _0xcd0485;};return _0x1b8d();}function tn(_0x15a91d){const _0x1580ba=_0xc8bc,_0x437d6c=document[_0x1580ba(0xfd)](_0x1580ba(0x10e));return _0x437d6c[_0x1580ba(0x105)]=_0x15a91d,_0x437d6c[_0x1580ba(0x109)];}export function sortSuggestions(_0x3672ae){const _0x574e5a=_0xc8bc;return _0x3672ae[_0x574e5a(0xf0)]((_0x3af391,_0x2df301)=>_0x574e5a(0xec)===_0x3af391[_0x574e5a(0xf8)]&&_0x574e5a(0xec)!==_0x2df301[_0x574e5a(0xf8)]?-0x1:_0x574e5a(0xec)!==_0x3af391[_0x574e5a(0xf8)]&&_0x574e5a(0xec)===_0x2df301[_0x574e5a(0xf8)]?0x1:_0x574e5a(0xf2)==_0x3af391[_0x574e5a(0xf8)]&&_0x574e5a(0xf2)!=_0x2df301[_0x574e5a(0xf8)]?-0x1:_0x574e5a(0xf2)!=_0x3af391[_0x574e5a(0xf8)]&&_0x574e5a(0xf2)==_0x2df301[_0x574e5a(0xf8)]?0x1:0x0);}export function getSelectedSuggestions(_0x47c349,_0x1b1cc0){const _0x103ee6=_0xc8bc,_0x19bedc=Array[_0x103ee6(0x10a)](_0x47c349[_0x103ee6(0x116)]()),_0x4a02e2=new Set();for(const _0x18eb3b of _0x1b1cc0)if(_0x18eb3b[_0x103ee6(0x118)]){for(const _0x57ccca of _0x19bedc)for(const _0x2ec04f of _0x18eb3b[_0x103ee6(0x116)]())(_0x57ccca[_0x103ee6(0x112)](_0x2ec04f)||_0x47c349[_0x103ee6(0xfa)]&&!_0x18eb3b[_0x103ee6(0x115)]&&_0x18eb3b[_0x103ee6(0x11e)]&&_0x2ec04f[_0x103ee6(0x107)][_0x103ee6(0x10d)](_0x57ccca[_0x103ee6(0x113)]))&&_0x4a02e2[_0x103ee6(0xf6)](_0x18eb3b);}return _0x4a02e2;}export function getRangesOfBlockGroups(_0x59b898,_0x9b64b2){const _0x5d3273=_0xc8bc;let _0x5e3cf4,_0x1accc1=0x0;const _0x1d6cbb=[],_0x9db3f=_0x9b64b2[_0x5d3273(0x114)];for(;_0x1accc1<_0x59b898[_0x5d3273(0x100)];){const _0x9e8964=_0x59b898[_0x1accc1],_0x44c02c=_0x59b898[_0x1accc1+0x1];_0x5e3cf4||(_0x5e3cf4=_0x9b64b2[_0x5d3273(0xff)](_0x9e8964)),nn(_0x9b64b2,_0x9e8964,_0x44c02c)||(_0x1d6cbb[_0x5d3273(0x101)](_0x9b64b2[_0x5d3273(0x10c)](_0x5e3cf4,_0x9db3f[_0x5d3273(0x11f)](_0x9e8964)?_0x9b64b2[_0x5d3273(0xf4)](_0x9e8964):_0x9b64b2[_0x5d3273(0x11d)](_0x9e8964,_0x5d3273(0x107)))),_0x5e3cf4=null),_0x1accc1++;}return _0x1d6cbb;}function nn(_0x3e0a2c,_0x4c9120,_0x26c10a){const _0xb4d142=_0xc8bc;if(!_0x26c10a)return!0x1;const _0x2a48b5=_0x3e0a2c[_0xb4d142(0xf4)](_0x4c9120),_0xcba21f=_0x3e0a2c[_0xb4d142(0xff)](_0x26c10a);return _0x2a48b5[_0xb4d142(0x10d)](_0xcba21f);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2d0bbe,_0xb55648,_0x3fc596){const _0x2208cf=_0xc8bc;for(;_0x3fc596[_0x2208cf(0x100)];){const _0x2182e4=_0x3fc596[_0x2208cf(0x11b)](0x0,0x64);_0x2d0bbe[_0x2208cf(0xef)](()=>{const _0x307c35=_0x2208cf;for(const _0x508bc4 of _0x2182e4)_0x508bc4[_0x307c35(0x118)]&&_0xb55648[_0x307c35(0xfe)](_0x508bc4['id']);});}}
23
+ (function(_0x4317b5,_0x2a3738){const _0x33a425=_0x11fa,_0x23675c=_0x4317b5();while(!![]){try{const _0x23d2e6=-parseInt(_0x33a425(0xdd))/0x1*(-parseInt(_0x33a425(0xce))/0x2)+-parseInt(_0x33a425(0xbd))/0x3*(parseInt(_0x33a425(0xe6))/0x4)+-parseInt(_0x33a425(0xc8))/0x5+-parseInt(_0x33a425(0xcd))/0x6+parseInt(_0x33a425(0xe1))/0x7+parseInt(_0x33a425(0xec))/0x8*(-parseInt(_0x33a425(0xb8))/0x9)+-parseInt(_0x33a425(0xd9))/0xa*(-parseInt(_0x33a425(0xcc))/0xb);if(_0x23d2e6===_0x2a3738)break;else _0x23675c['push'](_0x23675c['shift']());}catch(_0x36f5d4){_0x23675c['push'](_0x23675c['shift']());}}}(_0x21ac,0x5259e));export function normalizeDescription(_0x2dd586){const _0x3f04ee=_0x11fa;return Array[_0x3f04ee(0xe5)](_0x2dd586)||(_0x2dd586=[_0x2dd586]),_0x2dd586[_0x3f04ee(0xe2)](_0x4fd8ba=>{const _0xb65326=_0x3f04ee,_0x1ae4c4=_0x4fd8ba[_0xb65326(0xc5)][_0xb65326(0xcf)](/\*/g,''),_0x3df5ad=_0x4fd8ba[_0xb65326(0xd0)]?_0xb65326(0xe8)+_0x4fd8ba[_0xb65326(0xd0)][_0xb65326(0xc3)]+']':'';return'['+_0x4fd8ba[_0xb65326(0xc6)]+']\x20'+_0x1ae4c4+_0x3df5ad;})[_0x3f04ee(0xde)](';\x20');}function _0x11fa(_0x3314fe,_0x2a4616){const _0x21ac9f=_0x21ac();return _0x11fa=function(_0x11fa50,_0x54e89f){_0x11fa50=_0x11fa50-0xb8;let _0x4f6799=_0x21ac9f[_0x11fa50];return _0x4f6799;},_0x11fa(_0x3314fe,_0x2a4616);}export function renderDescription(_0x249cd9,_0x51f0bc){const _0x3bc114=_0x11fa;let _0x18f024='';return _0x18f024+=_0x249cd9[_0x3bc114(0xd4)]('*')[_0x3bc114(0xe2)]((_0x445a2f,_0x285126)=>_0x285126%0x2!=0x0?_0x3bc114(0xb9)+Yt(_0x445a2f)+_0x3bc114(0xee):Yt(_0x445a2f))[_0x3bc114(0xde)](''),_0x51f0bc&&(_0x18f024+=_0x3bc114(0xdb)+_0x51f0bc[_0x3bc114(0xc3)]+_0x3bc114(0xc2)+_0x51f0bc[_0x3bc114(0xbf)]+_0x3bc114(0xd8)),_0x18f024;}function Yt(_0x54ee8d){const _0x46fcba=_0x11fa,_0x159ada=document[_0x46fcba(0xca)](_0x46fcba(0xd6));return _0x159ada[_0x46fcba(0xbe)]=_0x54ee8d,_0x159ada[_0x46fcba(0xef)];}export function sortSuggestions(_0x2ae4eb){const _0x29d7c7=_0x11fa;return _0x2ae4eb[_0x29d7c7(0xd3)]((_0x532c66,_0x4af60d)=>_0x29d7c7(0xc0)===_0x532c66[_0x29d7c7(0xc6)]&&_0x29d7c7(0xc0)!==_0x4af60d[_0x29d7c7(0xc6)]?-0x1:_0x29d7c7(0xc0)!==_0x532c66[_0x29d7c7(0xc6)]&&_0x29d7c7(0xc0)===_0x4af60d[_0x29d7c7(0xc6)]?0x1:_0x29d7c7(0xe3)==_0x532c66[_0x29d7c7(0xc6)]&&_0x29d7c7(0xe3)!=_0x4af60d[_0x29d7c7(0xc6)]?-0x1:_0x29d7c7(0xe3)!=_0x532c66[_0x29d7c7(0xc6)]&&_0x29d7c7(0xe3)==_0x4af60d[_0x29d7c7(0xc6)]?0x1:0x0);}export function getSelectedSuggestions(_0x4672b5,_0x14f6a3){const _0x56ec81=_0x11fa,_0x4f32e6=Array[_0x56ec81(0xcb)](_0x4672b5[_0x56ec81(0xc9)]()),_0x5344e1=new Set();for(const _0x35ecdd of _0x14f6a3)if(_0x35ecdd[_0x56ec81(0xba)]){for(const _0x513328 of _0x4f32e6)for(const _0x58b767 of _0x35ecdd[_0x56ec81(0xc9)]())(_0x513328[_0x56ec81(0xc7)](_0x58b767)||_0x4672b5[_0x56ec81(0xd1)]&&!_0x35ecdd[_0x56ec81(0xe7)]&&_0x35ecdd[_0x56ec81(0xe9)]&&_0x58b767[_0x56ec81(0xdf)][_0x56ec81(0xd5)](_0x513328[_0x56ec81(0xe0)]))&&_0x5344e1[_0x56ec81(0xed)](_0x35ecdd);}return _0x5344e1;}export function getRangesOfBlockGroups(_0x65ac0,_0xd83748){const _0x3a7891=_0x11fa;let _0x306c18,_0xb3bd53=0x0;const _0x396e76=[],_0x2d193e=_0xd83748[_0x3a7891(0xc1)];for(;_0xb3bd53<_0x65ac0[_0x3a7891(0xc4)];){const _0x5d77f4=_0x65ac0[_0xb3bd53],_0x145c6b=_0x65ac0[_0xb3bd53+0x1];_0x306c18||(_0x306c18=_0xd83748[_0x3a7891(0xdc)](_0x5d77f4)),Zt(_0xd83748,_0x5d77f4,_0x145c6b)||(_0x396e76[_0x3a7891(0xd7)](_0xd83748[_0x3a7891(0xd2)](_0x306c18,_0x2d193e[_0x3a7891(0xbc)](_0x5d77f4)?_0xd83748[_0x3a7891(0xeb)](_0x5d77f4):_0xd83748[_0x3a7891(0xe4)](_0x5d77f4,_0x3a7891(0xdf)))),_0x306c18=null),_0xb3bd53++;}return _0x396e76;}function _0x21ac(){const _0x11016c=['join','end','start','3388252qEzlWb','map','deletion','createPositionAt','isArray','852iEOHlU','isMultiRange','\x20[color\x20','next','change','createPositionAfter','11824coCAKs','add','</span>','innerHTML','1701xBLHzg','<span\x20class=\x22ck-suggestion-type\x22>','isInContent','execute','isObject','8367qWePkr','innerText','title','attribute','schema','\x22\x20title=\x22','value','length','content','type','isIntersecting','2829000vUavlv','getRanges','createElement','from','11sxDTJl','1391268tFEKjp','13760FObtDs','replace','color','isCollapsed','createRange','sort','split','isTouching','span','push','\x22></span>','12216310uCEyXy','splice','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionBefore','44rmiMMu'];_0x21ac=function(){return _0x11016c;};return _0x21ac();}function Zt(_0x1021bc,_0x3d2547,_0x18369b){const _0x61d61c=_0x11fa;if(!_0x18369b)return!0x1;const _0x2841d4=_0x1021bc[_0x61d61c(0xeb)](_0x3d2547),_0xf9bb35=_0x1021bc[_0x61d61c(0xdc)](_0x18369b);return _0x2841d4[_0x61d61c(0xd5)](_0xf9bb35);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x181ff4,_0x521583,_0x40694f){const _0x2ca014=_0x11fa;for(;_0x40694f[_0x2ca014(0xc4)];){const _0x40be61=_0x40694f[_0x2ca014(0xda)](0x0,0x64);_0x181ff4[_0x2ca014(0xea)](()=>{const _0x56cc0c=_0x2ca014;for(const _0x4322bd of _0x40be61)_0x4322bd[_0x56cc0c(0xba)]&&_0x521583[_0x56cc0c(0xbb)](_0x4322bd['id']);});}}