@ckeditor/ckeditor5-collaboration-core 48.2.0-alpha.7 → 48.2.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.
Files changed (148) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ContextPlugin as _0x2e4bce,Editor as _0x2b853a,Plugin as _0x20a8bb}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x47642c,Collection as _0x21886a,uid as _0x41bf63,toArray as _0x36efea,first as _0x146d81,FocusTracker as _0x3543f6,KeystrokeHandler as _0x1c009f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x5734d1,IconView as _0x251ce7,ButtonView as _0x23c71c,DropdownButtonView as _0x7e0906,FocusCycler as _0xe9d287,isViewWithFocusCycler as _0x1ef29b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x3059c5,IconCheck as _0x1dcf90,IconCancel as _0x19dec8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x3e53fa,toWidget as _0xc1a14c}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x4a0022}from'luxon';import{InsertOperation as _0x3c8742,MoveOperation as _0x2f2a34,ModelPosition as _0xe5f221,ModelRange as _0x89429c,MarkerOperation as _0x5f5473,MergeOperation as _0x5d611c,SplitOperation as _0x18620c,RenameOperation as _0x26d972,AttributeOperation as _0x212522,ModelTreeWalker as _0x5c5e82,ModelText as _0x3813f2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x4b122f}from'diff';class Permissions extends _0x2e4bce{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0xe34ff5,_0x24a5fd){let _0x2c0039;if(_0x24a5fd||(_0x24a5fd=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x24a5fd?_0x2c0039=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x2c0039=this['context']['editors']['find'](_0x4e3f86=>_0x4e3f86['config']['get']('collaboration.channelId')==_0x24a5fd)),!_0x2c0039)throw new _0x47642c('permissions-set-permissions-invalid-channel-id',null);const _0x38c65=_0x2c0039['plugins'],_0x44ec22=_0x38c65['has']('CommentsRepository')?_0x38c65['get']('CommentsRepository'):void 0x0,_0x41679d=_0x38c65['has']('CommentsOnly')&&_0x38c65['get']('CommentsOnly'),_0x26db19=_0xe34ff5['includes']('document:write'),_0x300bc4=_0xe34ff5['includes']('comment:modify_all'),_0x2e8c65=_0xe34ff5['includes']('comment:admin'),_0x8f4bed=_0xe34ff5['includes']('comment:write'),_0x58a7cb=_0x8f4bed||_0x2e8c65,_0x1aa2df=_0x58a7cb||_0x300bc4,_0x462e4f=_0x26db19||_0x58a7cb;(_0x41679d&&(_0x41679d['isEnabled']=!_0x26db19&&_0x1aa2df),_0x2c0039 instanceof _0x2b853a)&&(!(_0x26db19||_0x1aa2df&&_0x44ec22)?_0x2c0039['enableReadOnlyMode']('no-permissions'):_0x2c0039['disableReadOnlyMode']('no-permissions'));if(_0x44ec22){_0x44ec22['setPermissions']({'admin':_0x2e8c65,'modifyAll':_0x300bc4,'write':_0x8f4bed,'resolve':_0x462e4f},_0x24a5fd);const _0x54f877=_0x2c0039 instanceof _0x2b853a&&_0x2c0039['commands']['get']('addCommentThread');_0x54f877&&(_0x58a7cb?_0x54f877['clearForceDisabled']('noPermissions'):_0x54f877['forceDisabled']('noPermissions'));}}}function B(_0x57e081,_0x1802e9){const t=_0x57e081['t'];switch(_0x1802e9){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class Users extends _0x2e4bce{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Permissions];}constructor(_0x9c1d20){super(_0x9c1d20),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x21886a(),this['_locale']=_0x9c1d20['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x5c68bc,name:_0x4f1081,..._0x1c0e49}){if(!_0x5c68bc||'string'!=typeof _0x5c68bc)throw new _0x47642c('users-add-invalid-id');if(this['users']['has'](_0x5c68bc))throw new _0x47642c('users-add-duplicated-id',null,{'id':_0x5c68bc});const _0x5d838c=this['context']['config']['get']('users.getInitialsCallback'),_0x4ba2e7={..._0x1c0e49,'id':_0x5c68bc,'name':N(this['_locale'],_0x4f1081),'color':this['_getNextColor']()};_0x4ba2e7['name']=N(this['_locale'],_0x4ba2e7['name']);const _0x5aa0b4=new User(_0x4ba2e7,_0x5d838c);return this['users']['add'](_0x5aa0b4),_0x5aa0b4;}['getUser'](_0x595542){return this['users']['get'](_0x595542);}['useAnonymousUser'](){const _0x2cce2f=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x2cce2f);}['defineMe'](_0x420b5f){if(this['_myId'])throw new _0x47642c('users-me-already-defined',null);const _0x103e61=this['getUser'](_0x420b5f);if(!_0x103e61)throw new _0x47642c('users-me-missing-user',null);this['_myId']=_0x420b5f,_0x103e61['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x42b53b=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x42b53b&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x22728c=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x22728c,'name':B(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x159e67,_0x16164f){this['id']=_0x159e67['id'],this['color']=_0x159e67['color'],this['name']=_0x159e67['name'],this['initials']=_0x16164f?_0x16164f(this['name']):this['_computeInitials'](),this['avatar']=_0x159e67['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x443f74=this['name']['split']('\x20')['filter'](_0x50aa96=>/^[\p{Letter}]/u['test'](_0x50aa96));return 0x1===_0x443f74['length']?this['_getInitial'](_0x443f74[0x0]):0x0===_0x443f74['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x443f74[0x0])+this['_getInitial'](_0x443f74[_0x443f74['length']-0x1]);}['_getInitial'](_0x2944f4){return String['fromCodePoint'](_0x2944f4['codePointAt'](0x0))['toUpperCase']();}}function N(_0x4ef165,_0x139c28=''){return''==(_0x139c28=_0x139c28['trim']())?B(_0x4ef165,'Anonymous'):_0x139c28;}class CollaborationUserColor{['_id'];constructor(_0x3286d1){this['_id']=_0x3286d1;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class UserView extends _0x5734d1{['name'];['notificationView'];constructor(_0x346c2d,_0x3b25ec,_0x11e47a){super(_0x346c2d),this['name']=_0x3b25ec['name'],this['notificationView']=null;const _0x5bada7=['ck','ck-user'],_0x48aeab=['ck','ck-user__img'];if(_0x3b25ec['isAnonymous']&&_0x48aeab['push']('ck-user__anonymous'),!_0x3b25ec['isAnonymous']&&_0x3b25ec['isMe']&&_0x5bada7['push']('ck-user_me'),_0x3b25ec['avatar']&&_0x48aeab['push']('ck-user__avatar'),_0x11e47a){const _0x18bc96=new _0x251ce7();_0x18bc96['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x18bc96['content']=_0x3059c5,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x11e47a},'children':[_0x18bc96]};}const _0x400d7e=[{'tag':'div','attributes':{'class':_0x48aeab,'style':{'background-image':_0x3b25ec['avatar']?'url(\x27'+_0x3b25ec['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x3b25ec['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x3b25ec['name']},'children':[{'text':_0x3b25ec['initials']}]}];this['notificationView']&&_0x400d7e['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5bada7,'data-user-id':_0x3b25ec['id']},'children':_0x400d7e});}}class AriaDescriptionView extends _0x5734d1{['id'];constructor(_0x3eaf01,_0x5e841a){super(_0x3eaf01),this['id']='ck-aria-description-'+_0x41bf63(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x5e841a}]});}}class LateFocusButtonView extends _0x23c71c{['render'](){super['render'](),H(this);}}class LateFocusDropdownButtonView extends _0x7e0906{['render'](){super['render'](),H(this);}}function H(_0x25288c){_0x25288c['listenTo'](_0x25288c['element'],'mousedown',(_0x3fdf7b,_0x3245a0)=>{_0x3245a0['stopPropagation'](),_0x3245a0['preventDefault']();}),_0x25288c['listenTo'](_0x25288c['element'],'mouseup',()=>{_0x25288c['element']['focus']();});}function O(_0x390fc7){const _0x1f54b9=_0x390fc7['split'](':');return{'group':_0x1f54b9[0x0],'type':_0x1f54b9[0x1],'subType':_0x1f54b9['length']>=0x5?_0x1f54b9[0x2]:null,'id':_0x1f54b9['length']<0x5?_0x1f54b9[0x2]:_0x1f54b9[0x3],'authorId':_0x1f54b9['length']<0x5?_0x1f54b9[0x3]:_0x1f54b9[0x4],'markerCount':0x6==_0x1f54b9['length']?_0x1f54b9[0x5]:null};}function U(_0x2a52bb,_0x294656){const _0x705dd6=_0x2a52bb['end']['nodeBefore'];if(_0x705dd6&&_0x705dd6['is']('element')&&_0x294656['schema']['isBlock'](_0x705dd6)&&!_0x294656['schema']['isObject'](_0x705dd6)){const _0x12d59d=_0x294656['createPositionAt'](_0x705dd6,'end');return _0x294656['createRange'](_0x2a52bb['start'],_0x12d59d);}return _0x2a52bb;}class SuggestionsConversionAlignment extends _0x20a8bb{['afterInit'](){const _0x1c945b=this['editor'];if(!_0x1c945b['plugins']['has']('AlignmentEditing'))return;_0x1c945b['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const $=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x20a8bb{['afterInit'](){const _0x42896f=this['editor'],_0x442dfa=_0x42896f['plugins']['get']('SuggestionsConversion');for(const _0x5cfb0a of $){if(!_0x42896f['plugins']['has'](_0x5cfb0a))continue;const _0x293f68=_0x5cfb0a['slice'](0x0,-0x7)['toLowerCase']();_0x442dfa['registerInlineAttribute'](_0x293f68);}}}class SuggestionsConversionBookmark extends _0x20a8bb{['afterInit'](){const _0xc76381=this['editor'],_0x177bd4=_0xc76381['plugins']['get']('SuggestionsConversion');_0xc76381['plugins']['has']('BookmarkEditing')&&_0x177bd4['registerBlockAttribute']('bookmarkId');}}const F=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x20a8bb{['afterInit'](){const _0x1cbb7a=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x42fde9,commandName:_0x59c2e7}of F)this['editor']['plugins']['has'](_0x42fde9)&&_0x1cbb7a['registerInlineAttribute'](_0x59c2e7);}}class SuggestionsConversionFootnotes extends _0x20a8bb{['afterInit'](){const {editor:_0x2d1712}=this;if(!_0x2d1712['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x37eb14=_0x2d1712['plugins']['get']('SuggestionsConversion');_0x37eb14['registerBlockAttribute']('footnotesListStyle'),_0x37eb14['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x20a8bb{['afterInit'](){const _0x455c28=this['editor'];if(!_0x455c28['plugins']['has']('GeneralHtmlSupport')||!_0x455c28['plugins']['has']('DataSchema'))return;const _0xc74747=_0x455c28['plugins']['get']('SuggestionsConversion'),_0x58e827=_0x455c28['plugins']['get']('GeneralHtmlSupport'),_0x3d6b15=_0x455c28['plugins']['get']('DataSchema');for(const _0x1a5ca7 of _0x3d6b15['getDefinitionsForView'](/.*/,!0x1)){const _0x23d79d=_0x58e827['getGhsAttributeNameForElement'](_0x1a5ca7['view']);_0x1a5ca7['isInline']&&!_0x1a5ca7['isObject']&&!('appliesToBlock'in _0x1a5ca7&&_0x1a5ca7['appliesToBlock'])?_0xc74747['registerInlineAttribute'](_0x23d79d):_0xc74747['registerBlockAttribute'](_0x23d79d);}}}class SuggestionsConversionHighlight extends _0x20a8bb{['afterInit'](){const _0x42f4e2=this['editor'];if(!_0x42f4e2['plugins']['has']('HighlightEditing'))return;_0x42f4e2['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x20a8bb{['afterInit'](){const _0x1c4a14=this['editor'];if(!_0x1c4a14['plugins']['has']('HtmlEmbed'))return;_0x1c4a14['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x20a8bb{['afterInit'](){const _0x5233ea=this['editor'];if(!_0x5233ea['plugins']['has']('ImageEditing'))return;const _0x7d6c4=_0x5233ea['plugins']['get']('SuggestionsConversion');_0x7d6c4['registerBlockAttribute']('src'),_0x5233ea['plugins']['has']('ImageResize')&&_0x7d6c4['registerBlockAttribute']('resizedWidth'),_0x5233ea['plugins']['has']('ImageTextAlternativeEditing')&&_0x7d6c4['registerBlockAttribute']('alt'),_0x5233ea['plugins']['has']('PictureEditing')&&_0x7d6c4['registerBlockAttribute']('sources'),_0x5233ea['plugins']['has']('ImageSizeAttributes')&&(_0x7d6c4['registerBlockAttribute']('width'),_0x7d6c4['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x20a8bb{['afterInit'](){const _0x3be1e=this['editor'],_0x53ffae=_0x3be1e['plugins']['get']('SuggestionsConversion');_0x3be1e['plugins']['has']('IndentBlock')&&(_0x53ffae['registerBlockAttribute']('blockIndent'),_0x3be1e['plugins']['has']('ListEditing')&&(_0x53ffae['registerBlockAttribute']('blockIndentList'),_0x53ffae['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x20a8bb{['afterInit'](){const _0x14a8d0=this['editor'];if(!_0x14a8d0['plugins']['has']('LineHeight'))return;_0x14a8d0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x20a8bb{['afterInit'](){const _0x442f37=this['editor'];if(!_0x442f37['plugins']['has']('LinkEditing'))return;const _0x2d3c4e=_0x442f37['plugins']['get']('SuggestionsConversion'),_0x35dc14=_0x442f37['commands']['get']('link');_0x2d3c4e['registerInlineAttribute']('linkHref');for(const _0x67b8df of _0x35dc14['manualDecorators'])_0x2d3c4e['registerInlineAttribute'](_0x67b8df['id']);}}class SuggestionsConversionList extends _0x20a8bb{['afterInit'](){const _0x4bd036=this['editor'];if(!_0x4bd036['plugins']['has']('ListEditing'))return;const _0xa14db7=_0x4bd036['plugins']['get']('SuggestionsConversion'),_0x23d465=_0x4bd036['plugins']['has']('TodoListEditing');_0xa14db7['registerBlockAttribute']('listItemId'),_0xa14db7['registerBlockAttribute']('listType'),_0xa14db7['registerBlockAttribute']('listIndent'),_0x23d465&&_0xa14db7['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x20a8bb{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x552fd6=this['editor']['config']['get']('list.properties'),_0x6da2f0=this['editor']['plugins']['get']('SuggestionsConversion');_0x552fd6['styles']&&_0x6da2f0['registerBlockAttribute']('listStyle'),_0x552fd6['reversed']&&_0x6da2f0['registerBlockAttribute']('listReversed'),_0x552fd6['startIndex']&&_0x6da2f0['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x20a8bb{['afterInit'](){const _0xc19ed8=this['editor'],_0x42f701=_0xc19ed8['plugins']['get']('SuggestionsConversion');_0xc19ed8['plugins']['has']('MultiLevelList')&&_0x42f701['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x20a8bb{['afterInit'](){const _0xd056a1=this['editor'];if(!_0xd056a1['plugins']['has']('TableEditing'))return;const _0x5879db=_0xd056a1['plugins']['get']('SuggestionsConversion');_0x5879db['registerBlockAttribute']('headingRows'),_0x5879db['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x20a8bb{['afterInit'](){const {plugins:_0xb46ad6}=this['editor'];if(!_0xb46ad6['has']('TablePropertiesEditing'))return;const _0x2088e8=_0xb46ad6['get']('SuggestionsConversion'),_0x39cf0d=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x42f11b of _0x39cf0d)_0x2088e8['registerBlockAttribute'](_0x42f11b);}}class SuggestionsConversionTableLayout extends _0x20a8bb{['afterInit'](){const _0x2b5fa9=this['editor'],_0x852dd4=_0x2b5fa9['plugins']['get']('SuggestionsConversion');_0x2b5fa9['plugins']['has']('TableLayout')&&_0x852dd4['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x20a8bb{['afterInit'](){const _0x158868=this['editor'],_0x135fe0=this['editor']['plugins']['get']('SuggestionsConversion');_0x158868['plugins']['has']('Uploadcare')&&_0x158868['plugins']['has']('UploadcareImageEdit')&&_0x135fe0['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x20a8bb{['afterInit'](){const _0xbfac4f=this['editor'];if(!_0xbfac4f['plugins']['has']('ShiftEnter'))return;const _0x3f693d=_0xbfac4f['plugins']['get']('SuggestionsConversion'),_0x4709bf=(_0x4951bf,_0x5c841c,_0x3365c1,_0xa28280)=>{if(_0xa28280&&!_0x3365c1['options']['showSuggestionHighlights'])return;if(!_0x3365c1['consumable']['test'](_0x5c841c['markerRange'],_0x4951bf['name']))return;const _0x4588e0=_0xbfac4f['model'];for(const _0x317bde of _0x5c841c['markerRange']['getItems']()){if(!_0x317bde['is']('element','softBreak'))continue;const _0x126842='deletion'==_0x5c841c['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xaa9d75,authorId:_0x4de9a5}=O(_0x5c841c['markerName']),_0x20755d=_0x3365c1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x126842,'data-suggestion':_0xaa9d75,'data-author-id':_0x4de9a5}),_0x16292a=_0x3365c1['mapper']['toViewPosition'](_0x4588e0['createPositionBefore'](_0x317bde));!_0xa28280&&_0x3f693d['_activeMarkers']['includes'](_0x5c841c['markerName'])&&_0x3365c1['writer']['addClass']('ck-suggestion-marker--active',_0x20755d),_0x3365c1['writer']['insert'](_0x16292a,_0x20755d),_0x3365c1['mapper']['bindElementToMarker'](_0x20755d,_0x5c841c['markerName']);}};_0xbfac4f['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5910c6,_0x5cf5cd,_0x36e893)=>{_0x4709bf(_0x5910c6,_0x5cf5cd,_0x36e893,!0x1);},{'priority':'high'}),_0xbfac4f['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1189ae,_0x541d86,_0x3a8a5f)=>{_0x4709bf(_0x1189ae,_0x541d86,_0x3a8a5f,!0x1);},{'priority':'high'}),_0xbfac4f['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2570a0,_0x356edc,_0x16555c)=>{_0x4709bf(_0x2570a0,_0x356edc,_0x16555c,!0x0);},{'priority':'high'}),_0xbfac4f['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5c9f9a,_0x3b26ad,_0x4c81b4)=>{_0x4709bf(_0x5c9f9a,_0x3b26ad,_0x4c81b4,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x20a8bb{['afterInit'](){const _0x4bb643=this['editor'];if(!_0x4bb643['plugins']['has']('MediaEmbedEditing'))return;const _0x277087=_0x4bb643['plugins']['get']('SuggestionsConversion');_0x4bb643['plugins']['has']('MediaEmbedResizeEditing')&&_0x277087['registerBlockAttribute']('resizedWidth'),_0x4bb643['plugins']['has']('MediaEmbedStyleEditing')&&_0x277087['registerBlockAttribute']('mediaStyle'),_0x4bb643['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4b75de,{writer:_0x1781d6,options:_0x80f2a2})=>{if(_0x80f2a2['showSuggestionHighlights'])return _0x1781d6['createEmptyElement']('div');},'converterPriority':'high'}),_0x4bb643['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5f2a80,_0x48ece2,_0x1163c0)=>{_0x1163c0['options']['showSuggestionHighlights']&&_0x5f2a80['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x20a8bb{['afterInit'](){const _0x49a619=this['editor'];if(!_0x49a619['plugins']['has']('Table'))return;_0x49a619['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4374e4,_0x1d1d53,_0x17f7dd)=>{((_0x166dd4,_0x22d7df,_0x140cbb)=>{if(!_0x140cbb['options']['showSuggestionHighlights'])return;const _0x4f5c2e=_0x22d7df['item'];if(!_0x4f5c2e||!_0x4f5c2e['is']('element','tableCell'))return;const _0x3171ae=_0x140cbb['mapper']['toViewElement'](_0x4f5c2e);if(_0x3171ae){const {id:_0xe40e8d,authorId:_0x4c4ab6}=O(_0x22d7df['markerName']);_0x3e53fa(_0x3171ae,_0x140cbb['writer'],(_0x5971ef,_0x238f37,_0xe50bfa)=>{_0xe50bfa['addClass'](_0x36efea(_0x238f37['classes']),_0x5971ef),_0xe50bfa['setAttribute']('data-suggestion',_0xe40e8d,_0x5971ef),_0xe50bfa['setAttribute']('data-author-id',_0x4c4ab6,_0x5971ef);});}})(0x0,_0x1d1d53,_0x17f7dd);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x20a8bb{['afterInit'](){const _0x37a883=this['editor'];_0x37a883['plugins']['has']('HorizontalLineEditing')&&_0x37a883['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x1e3416,{writer:_0x36dad7,options:_0x447726})=>{if(!_0x447726['showSuggestionHighlights'])return null;const _0x159bd6=_0x36dad7['createContainerElement']('div'),_0x2fb812=_0x36dad7['createEmptyElement']('hr');return _0x36dad7['addClass']('ck-horizontal-line',_0x159bd6),_0x36dad7['insert'](_0x36dad7['createPositionAt'](_0x159bd6,0x0),_0x2fb812),_0x159bd6;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x20a8bb{['afterInit'](){const {plugins:_0x2a836d,model:_0x3b8f33}=this['editor'];if(!_0x2a836d['has']('TableCellPropertiesEditing'))return;const _0x46161e=_0x2a836d['get']('SuggestionsConversion'),_0x497907=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x5675d8 of _0x497907)_0x46161e['registerBlockAttribute'](_0x5675d8);_0x3b8f33['schema']['checkAttribute']('tableCell','tableCellType')&&_0x46161e['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x20a8bb{['afterInit'](){const _0x543b30=this['editor'];if(!_0x543b30['plugins']['has']('TableEditing')||!_0x543b30['config']['get']('table.enableFooters'))return;_0x543b30['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x20a8bb{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionGeneralHtmlSupport,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x23150a=this['editor'],_0x16ae27=(_0x4da44b,_0x4c0240,_0x2b2aa3)=>{const {id:_0x47e365,authorId:_0x32835a,type:_0xc7258d,subType:_0x5e5256}=O(_0x4da44b['markerName']),_0x2fc003=['ck-suggestion-marker',this['_getClassName'](_0xc7258d,_0x5e5256)];let _0x1f96e0=0xbb8;return!_0x2b2aa3&&(this['_activeMarkers']['includes'](_0x4da44b['markerName'])&&(_0x2fc003['push']('ck-suggestion-marker--active'),_0x1f96e0=0xbc2)),('deletion'==_0xc7258d&&(_0x1f96e0+=0x5),{'classes':_0x2fc003,'attributes':{'data-suggestion':_0x47e365,'data-author-id':_0x32835a},'priority':_0x1f96e0});};_0x23150a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x4b20ee,_0x3fb737)=>_0x16ae27(_0x4b20ee,0x0,!0x1)}),_0x23150a['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x47b683,_0x2336ba)=>_0x16ae27(_0x47b683,0x0,!0x0)}),_0x23150a['conversion']['for']('dataDowncast')['add'](_0x507b37=>{_0x507b37['on']('addMarker:suggestion',(_0x4acebb,_0x8c27af,_0x2dad58)=>{if(!_0x2dad58['options']['showSuggestionHighlights'])return;const _0x5cf231=_0x8c27af['item'];if(!_0x5cf231)return;const _0x8667f=_0x2dad58['mapper']['toViewElement'](_0x5cf231);_0x23150a['model']['schema']['isObject'](_0x5cf231)&&_0x8667f&&!_0x8667f['getCustomProperty']('widget')&&_0x8667f['is']('containerElement')&&_0xc1a14c(_0x8667f,_0x2dad58['writer']);},{'priority':'high'});});const _0x220b87=(_0x5e8f74,_0xed5d6,_0x39148f,_0xfc507,_0x33a169)=>{if(_0xfc507&&!_0x39148f['options']['showSuggestionHighlights'])return;if(!_0xed5d6['item'])return;const {id:_0x255f34,authorId:_0x1c9cce,subType:_0x3f256c}=O(_0xed5d6['markerName']);if(_0x33a169){const _0x8645c8=_0x3f256c['split']('|')[0x0];if(!this['isBlockAttribute'](_0x8645c8))return;}if(_0xed5d6['item']['is']('selection'))return void _0x39148f['consumable']['consume'](_0xed5d6['item'],_0x5e8f74['name']);const _0x26cdc7=_0x39148f['mapper']['toViewElement'](_0xed5d6['item']);if(_0xed5d6['item']['is']('element')&&_0x23150a['model']['schema']['isBlock'](_0xed5d6['item'])&&!_0x26cdc7['getCustomProperty']('addHighlight')){_0x39148f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x26cdc7),_0x39148f['writer']['setAttribute']('data-suggestion',_0x255f34,_0x26cdc7),_0x39148f['writer']['setAttribute']('data-author-id',_0x1c9cce,_0x26cdc7),_0x39148f['mapper']['bindElementToMarker'](_0x26cdc7,_0xed5d6['markerName']),_0xfc507||(this['_activeMarkers']['includes'](_0xed5d6['markerName'])?_0x39148f['writer']['addClass']('ck-suggestion-marker--active',_0x26cdc7):_0x39148f['writer']['removeClass']('ck-suggestion-marker--active',_0x26cdc7));for(const _0x252b86 of _0x23150a['model']['createRangeIn'](_0xed5d6['item'])['getItems']())_0x39148f['consumable']['consume'](_0x252b86,_0x5e8f74['name']);_0x39148f['consumable']['consume'](_0xed5d6['item'],_0x5e8f74['name']);}},_0x4f50a8=(_0x474509,_0x1f26f6,_0x343d1d,_0x2bc1bf)=>{const _0x2f3c74=_0x343d1d['mapper']['markerNameToElements'](_0x1f26f6['markerName']);if(_0x2f3c74){if(_0x2bc1bf){const {subType:_0x43ec12}=O(_0x1f26f6['markerName']),_0x40848d=_0x43ec12['split']('|')[0x0];if(!this['isBlockAttribute'](_0x40848d))return;}for(const _0x5e3f12 of _0x2f3c74)_0x5e3f12['getCustomProperty']('addHighlight')||(_0x343d1d['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5e3f12),_0x343d1d['writer']['removeAttribute']('data-suggestion',_0x5e3f12),_0x343d1d['writer']['removeAttribute']('data-author-id',_0x5e3f12),_0x343d1d['mapper']['unbindElementFromMarkerName'](_0x5e3f12,_0x1f26f6['markerName']));}};_0x23150a['conversion']['for']('editingDowncast')['add'](_0x2d9489=>{_0x2d9489['on']('addMarker:suggestion:formatBlock',(_0x3c20a1,_0x40206a,_0x4f3d1d)=>{_0x220b87(_0x3c20a1,_0x40206a,_0x4f3d1d,!0x1,!0x1);},{'priority':'high'});}),_0x23150a['conversion']['for']('editingDowncast')['add'](_0x277a6f=>{_0x277a6f['on']('addMarker:suggestion:attribute',(_0x226e11,_0x298ee5,_0x203c64)=>{_0x220b87(_0x226e11,_0x298ee5,_0x203c64,!0x1,!0x0);},{'priority':'high'});}),_0x23150a['conversion']['for']('editingDowncast')['add'](_0x4f5f9e=>{_0x4f5f9e['on']('removeMarker:suggestion:formatBlock',(_0x46e55b,_0x31ae97,_0x299533)=>{_0x4f50a8(0x0,_0x31ae97,_0x299533,!0x1);},{'priority':'high'});}),_0x23150a['conversion']['for']('editingDowncast')['add'](_0x5c6d05=>{_0x5c6d05['on']('removeMarker:suggestion:attribute',(_0x3145f2,_0x5bce4a,_0x5179e1)=>{_0x4f50a8(0x0,_0x5bce4a,_0x5179e1,!0x0);},{'priority':'high'});}),_0x23150a['conversion']['for']('dataDowncast')['add'](_0x4aa04c=>{_0x4aa04c['on']('addMarker:suggestion:formatBlock',(_0x1eb8ab,_0x563195,_0x8c1755)=>{_0x220b87(_0x1eb8ab,_0x563195,_0x8c1755,!0x0,!0x1);},{'priority':'highest'});}),_0x23150a['conversion']['for']('dataDowncast')['add'](_0x31433e=>{_0x31433e['on']('addMarker:suggestion:attribute',(_0x4aa144,_0x29e1fd,_0x2dbb63)=>{_0x220b87(_0x4aa144,_0x29e1fd,_0x2dbb63,!0x0,!0x0);},{'priority':'highest'});}),_0x23150a['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x1ce26a,_0x93f463)=>_0x93f463['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x1ce26a['substr'](0xb)}});const _0x360194=(_0x4d0415,_0x40c89b,_0xea05ce,_0x44eb47,_0x2058ca)=>{if(_0x44eb47&&!_0xea05ce['options']['showSuggestionHighlights'])return;if(!_0xea05ce['consumable']['test'](_0x40c89b['markerRange'],_0x4d0415['name']))return;const _0x197ac0=this['_activeMarkers'],_0x31f418=_0x40c89b['markerRange']['getWalker'](),_0x554d83=_0x40c89b['markerRange']['start'],_0x2fe720=_0x23150a['model']['schema'];let _0x1002f4=null,_0x3d63e4=null,_0x34b2a9=!0x1,_0x4df9eb=!0x1;for(const _0xebc985 of _0x31f418){const _0x4436f1=_0xebc985['item'];_0x34b2a9=_0x34b2a9||_0x2fe720['isContent'](_0x4436f1);const _0x1e9400=_0xea05ce['mapper']['toViewElement'](_0x4436f1);if(_0x1e9400&&_0x1e9400['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xebc985['type']&&(_0x2fe720['isBlock'](_0x4436f1)&&!_0x2fe720['isLimit'](_0x4436f1)&&(_0x4436f1['nextSibling']||_0x554d83['isAtEnd']?_0x1002f4&&_0x1002f4['parent']==_0x4436f1||(_0x1002f4=_0x4436f1,_0x2b348a(_0xebc985['previousPosition']),_0x4df9eb=!0x0):_0x3d63e4=_0x3d63e4||_0xebc985['previousPosition']));}function _0x2b348a(_0x3e5b03){const {id:_0x4d95fa,authorId:_0x3e74ac}=O(_0x40c89b['markerName']),_0x3a9ffd=_0xea05ce['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2058ca,'data-suggestion':_0x4d95fa,'data-author-id':_0x3e74ac}),_0x156c5f=_0xea05ce['mapper']['toViewPosition'](_0x3e5b03);!_0x44eb47&&_0x197ac0['includes'](_0x40c89b['markerName'])&&_0xea05ce['writer']['addClass']('ck-suggestion-marker--active',_0x3a9ffd),_0xea05ce['writer']['insert'](_0x156c5f,_0x3a9ffd),_0xea05ce['mapper']['bindElementToMarker'](_0x3a9ffd,_0x40c89b['markerName']);}_0x34b2a9||_0x4df9eb||!_0x3d63e4||_0x2b348a(_0x3d63e4);};_0x23150a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x44993c,_0x2b225e,_0x19bf7e)=>{_0x360194(_0x44993c,_0x2b225e,_0x19bf7e,!0x1,'merge');},{'priority':'high'}),_0x23150a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x14b5cf,_0x2a6c06,_0x227664)=>{_0x360194(_0x14b5cf,_0x2a6c06,_0x227664,!0x0,'merge');},{'priority':'high'}),_0x23150a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x29f430,_0xd2c069,_0x24a4a9)=>{_0x360194(_0x29f430,_0xd2c069,_0x24a4a9,!0x1,'split');},{'priority':'high'}),_0x23150a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x544108,_0x1586c2,_0x545231)=>{_0x360194(_0x544108,_0x1586c2,_0x545231,!0x0,'split');},{'priority':'high'}),_0x23150a['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x42e404,_0x8cfd84,_0x102bc0)=>{((_0x5989ef,_0x4f0cec,_0x4d0134)=>{const _0x200a90=_0x4d0134['mapper']['markerNameToElements'](_0x4f0cec['markerName']);if(_0x200a90){for(const _0x4c7fb2 of _0x200a90)(_0x4c7fb2['hasClass']('ck-suggestion-marker-split')||_0x4c7fb2['hasClass']('ck-suggestion-marker-merge'))&&(_0x4d0134['mapper']['unbindElementFromMarkerName'](_0x4c7fb2,_0x4f0cec['markerName']),_0x4d0134['writer']['remove'](_0x4c7fb2));}})(0x0,_0x8cfd84,_0x102bc0);},{'priority':'high'});const _0xa78195=(_0x2f813c,_0x6806ac,_0xf92c1f,_0x732760)=>{if(_0x732760&&!_0xf92c1f['options']['showSuggestionHighlights'])return;const _0xb09917=_0x6806ac['markerRange']['start'],_0x2e906f=_0x6806ac['markerRange']['end'],_0xf3f842=_0x23150a['model']['schema'];if(!_0xb09917['isTouching'](_0x2e906f)||!_0xb09917['nodeAfter'])return;const _0x5e4c19=_0xb09917['nodeAfter'];if(_0xf3f842['isBlock'](_0x5e4c19)&&!_0xf3f842['isLimit'](_0x5e4c19)&&_0xf3f842['checkChild'](_0x5e4c19,'$text')){if(!_0xf92c1f['consumable']['consume'](_0x6806ac['markerRange'],_0x2f813c['name']))return;const {id:_0x4006d1,authorId:_0x4fa9f1}=O(_0x6806ac['markerName']),_0xf6ea31=_0xf92c1f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x4006d1,'data-author-id':_0x4fa9f1}),_0x111928=_0xf92c1f['mapper']['toViewPosition'](_0x2e906f);!_0x732760&&this['_activeMarkers']['includes'](_0x6806ac['markerName'])&&_0xf92c1f['writer']['addClass']('ck-suggestion-marker--active',_0xf6ea31),_0xf92c1f['writer']['insert'](_0x111928,_0xf6ea31),_0xf92c1f['mapper']['bindElementToMarker'](_0xf6ea31,_0x6806ac['markerName']);}};_0x23150a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1ad410,_0x1790be,_0x2f07d4)=>{_0xa78195(_0x1ad410,_0x1790be,_0x2f07d4,!0x1);},{'priority':'high'}),_0x23150a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2855c7,_0x21b8eb,_0x21df9e)=>{_0xa78195(_0x2855c7,_0x21b8eb,_0x21df9e,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x3ade16,_0x42ada8,_0x4540fa)=>{this['_activeMarkers']=_0x4540fa['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x409682){this['_blockAttributeKeys']['add'](_0x409682);}['registerInlineAttribute'](_0x3a90f4){this['_inlineAttributeKeys']['add'](_0x3a90f4);}['isBlockAttribute'](_0x52b321){return this['_blockAttributeKeys']['has'](_0x52b321);}['isInlineAttribute'](_0x243052){return this['_inlineAttributeKeys']['has'](_0x243052);}['isRegisteredAttribute'](_0x14bbda){return this['isInlineAttribute'](_0x14bbda)||this['isBlockAttribute'](_0x14bbda);}['_getClassName'](_0x4b4b18,_0x1e3f6d){if('attribute'!=_0x4b4b18)return'ck-suggestion-marker-'+_0x4b4b18;const _0xef6fbb=_0x1e3f6d['split']('|')[0x0];return this['isBlockAttribute'](_0xef6fbb)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function z(_0xa09b46={},_0x1a00f8){if(void 0x0!==_0xa09b46['dateTimeFormat']&&'function'!=typeof _0xa09b46['dateTimeFormat'])throw new _0x47642c('invalid-date-time-format');return _0x1b59d3=>{const _0x19184e='string'==typeof _0x1b59d3?_0x4a0022['fromISO'](_0x1b59d3):_0x4a0022['fromJSDate'](_0x1b59d3),_0x28e477=_0x4a0022['now'](),_0x1fa7de=Math['floor'](_0x28e477['diff'](_0x19184e,'days')['days']);return _0xa09b46['dateTimeFormat']?_0xa09b46['dateTimeFormat'](_0x19184e['toJSDate'](),_0x1a00f8&&_0x1a00f8['t']?_0x1a00f8['t']:void 0x0):0x0===_0x1fa7de?_0x1a00f8?B(_0x1a00f8,'Today')+'\x20'+_0x19184e['toFormat']('hh:mma'):_0x19184e['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x1fa7de?_0x1a00f8?B(_0x1a00f8,'Yesterday')+'\x20'+_0x19184e['toFormat']('hh:mma'):_0x19184e['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x1fa7de<0x7?_0x1a00f8?B(_0x1a00f8,'Last')+'\x20'+B(_0x1a00f8,_0x19184e['toFormat']('EEEE'))+'\x20'+_0x19184e['toFormat']('hh:mma'):_0x19184e['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x19184e['toFormat']('LL-dd-yyyy\x20hh:mma');};}function R(_0x26fc71,_0x2b8d81){const _0x5e9271=_0x26fc71['mapper']['markerNameToElements'](_0x2b8d81['name']);if(!_0x5e9271)return null;const _0x2b5345=_0x146d81(_0x5e9271['values']());return _0x26fc71['view']['domConverter']['mapViewToDom'](_0x2b5345)||null;}function W(_0xedce13,_0xb5b842){if(0x0===_0xb5b842['length'])return null;const _0x14ad43=[],_0x356630=_0xedce13['view']['domConverter'];for(const _0x24ab2a of _0xb5b842){const _0x1ff3bc=_0xedce13['mapper']['markerNameToElements'](_0x24ab2a['name']);if(!_0x1ff3bc)continue;const _0xd6038=Array['from'](_0x1ff3bc)['map'](_0x9cd6ee=>_0x356630['mapViewToDom'](_0x9cd6ee))['filter'](_0x242198=>!!_0x242198);_0x14ad43['push'](..._0xd6038);}if(0x0===_0x14ad43['length'])return null;const _0x4e3e5e=[];for(const _0x51d270 of _0x14ad43){const _0x217fbf=_0x51d270['getClientRects']()['item'](0x0);_0x217fbf&&_0x4e3e5e['push']({'x':_0x217fbf['x'],'y':_0x217fbf['y'],'domElement':_0x51d270});}return 0x0===_0x4e3e5e['length']?null:(_0x4e3e5e['sort']((_0x45b75f,_0x485efc)=>_0x45b75f['y']-_0x485efc['y']||_0x45b75f['x']-_0x485efc['x']),_0x4e3e5e['map'](_0x4ade68=>_0x4ade68['domElement']));}function j(_0x5c4134,{limit:_0x2d8d69,suffix:_0x35f743='...'}){const _0x54c332=[];let _0x175c93=0x0;const _0x1d8513=_0x5c4134['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x59bfb3=0x0;_0x59bfb3<_0x1d8513['length'];_0x59bfb3++){let _0x2e2557=_0x1d8513[_0x59bfb3];const _0x4a9e08=Y(_0x2e2557);if(_0x2e2557['startsWith']('<')){if(_0x175c93>=_0x2d8d69){const _0x295989=_0x2e2557['match'](/[a-zA-Z]+/);if(!_0x295989){_0x1d8513[_0x59bfb3]='';continue;}const _0x16fb1a=_0x295989[0x0];_0x2e2557['startsWith']('</')?(_0x54c332['length']&&(_0x2e2557=''),_0x54c332['pop']()):(_0x54c332['push'](_0x16fb1a),_0x2e2557='');}}else{if(_0x175c93>=_0x2d8d69)_0x2e2557='';else{if(_0x175c93+_0x4a9e08['length']>=_0x2d8d69){let _0x49926b=_0x2d8d69-_0x175c93;if('\x20'===_0x4a9e08[_0x49926b-0x1])_0x49926b--;else{const _0x11d2c2=_0x4a9e08['slice'](_0x49926b)['indexOf']('\x20');-0x1!==_0x11d2c2?_0x49926b+=_0x11d2c2:_0x49926b=_0x2e2557['length'];}_0x2e2557=_0x4a9e08['slice'](0x0,_0x49926b)['join']('')+_0x35f743,_0x175c93=_0x2d8d69;}else _0x175c93+=_0x4a9e08['length'];}}_0x1d8513[_0x59bfb3]=_0x2e2557;}return _0x1d8513['join']('\x0a')['replace'](/\n/g,'');}function Y(_0x409e03){const _0x135159=[];for(let _0x271f11=0x0;_0x271f11<_0x409e03['length'];_0x271f11++){const _0x117962=_0x409e03['substring'](_0x271f11)['match'](/^&[a-z0-9#]+;/);if(_0x117962){const _0x561f6b=_0x117962[0x0];_0x135159['push'](_0x561f6b),_0x271f11+=_0x561f6b['length']-0x1;}else _0x135159['push'](_0x409e03[_0x271f11]);}return _0x135159;}class ConfirmView extends _0x5734d1{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x46df32){super(_0x46df32);const _0x54e545=this['bindTemplate'];this['set']('message',B(_0x46df32,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x46df32,B(_0x46df32,'Yes'),_0x1dcf90,'submit'),this['cancelView']=this['_createButtonView'](_0x46df32,B(_0x46df32,'No'),_0x19dec8,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x3543f6(),this['keystrokes']=new _0x1c009f(),this['focusCycler']=new _0xe9d287({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x54e545['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x227b89,_0x573c53,_0x3a5111,_0xb666df){const _0x3a6d36=new _0x23c71c(_0x227b89);return _0x3a6d36['label']=_0x573c53,_0x3a6d36['icon']=_0x3a5111,_0x3a6d36['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xb666df}}),_0x3a6d36['on']('execute',()=>this['fire'](_0xb666df)),_0x3a6d36;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0xbec3f8=>{this['keystrokes']['listenTo'](_0xbec3f8['element']),this['focusTracker']['add'](_0xbec3f8['element']);}),this['keystrokes']['set']('esc',(_0x3b767b,_0x5178a7)=>{this['fire']('cancel'),_0x5178a7();});}}function G(_0x2f5e80){return class _0x24f79c extends _0x2f5e80{['showConfirm'](_0x28c205,_0x152f44){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x28c205,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x152f44['appendChild'](this['confirmView']['element']),_0x152f44['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x1f6d76,_0x593283,_0x4beb0e)=>{_0x4beb0e||_0x152f44['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x25219e=>this['confirmView']['on']('submit',_0x25219e));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function J(_0x1d411c){let _0x1b451c=0x0,_0x44a178=0x0;for(const _0x14f62b of q(_0x1d411c))_0x1b451c=(_0x1b451c<<0x5)-_0x1b451c+_0x14f62b,_0x1b451c&=_0x1b451c,[_0x1b451c,_0x44a178]=[_0x44a178,_0x1b451c];return X(_0x1b451c)+X(_0x44a178);}function*K(_0x2ef268){null==_0x2ef268||null==_0x2ef268?yield 0x12b9b0a1:0x0===_0x2ef268||!0x1===_0x2ef268?yield 0x0:0x1===_0x2ef268||0x1==_0x2ef268?yield 0x1:Array['isArray'](_0x2ef268)?yield*function*(_0x48d35d){for(const _0x339da6 of _0x48d35d)yield*K(_0x339da6);}(_0x2ef268):'object'==typeof _0x2ef268?yield*q(_0x2ef268):'string'==typeof _0x2ef268?yield*Z(_0x2ef268):'number'==typeof _0x2ef268&&(yield _0x2ef268);}function*q(_0x2427be){if(yield Q('{'),_0x2427be){const _0x14f568=Object['keys'](_0x2427be)['sort']();for(const _0x19a1e2 of _0x14f568){yield*Z(_0x19a1e2),yield Q(':');const _0x52d9e5=_0x2427be[_0x19a1e2];yield*K(_0x52d9e5);}}yield Q('}');}function*Z(_0x43cbd5){yield Q('\x22');for(const _0x30fc54 of _0x43cbd5)yield Q(_0x30fc54);yield Q('\x22');}function Q(_0x1df3aa){return _0x1df3aa['charCodeAt'](0x0);}function X(_0x2d66d6){return(_0x2d66d6*=Math['sign'](_0x2d66d6))['toString'](0x24);}const tt=['root','roots','initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function st(_0x5ea923,_0x2f24f3,_0x547d23,_0x3d8485=[]){const _0x3f0bb4='string'==typeof _0x5ea923?_0x547d23['get'](_0x5ea923)['constructor']:_0x5ea923['prototype']['constructor'];if(_0x2f24f3['has'](_0x3f0bb4))return _0x2f24f3['get'](_0x3f0bb4);_0x2f24f3['set'](_0x3f0bb4,!0x0);const _0x323e35=[...et,..._0x3d8485]['map'](_0x26ea15=>{if(_0x547d23['has'](_0x26ea15))return _0x547d23['get'](_0x26ea15)['constructor'];})['filter'](_0x2b7eea=>_0x2b7eea);if(_0x3f0bb4&&_0x323e35['includes'](_0x3f0bb4))return _0x2f24f3['set'](_0x3f0bb4,!0x1),!0x1;if(!_0x3f0bb4['requires'])return _0x2f24f3['set'](_0x3f0bb4,!0x0),!0x0;const _0xf97940=_0x3f0bb4['requires']['every'](_0x4c69f1=>st(_0x4c69f1,_0x2f24f3,_0x547d23,_0x3d8485));return _0x2f24f3['set'](_0x3f0bb4,_0xf97940),_0xf97940;}function it(_0x2a7c6e,_0x389a57){const _0x521677={};for(const _0x521bb6 of _0x2a7c6e['config']['names']())tt['includes'](_0x521bb6)||(_0x521677[_0x521bb6]=_0x2a7c6e['config']['get'](_0x521bb6));const _0x17b412=_0x521677['plugins']||[],_0x419e10=_0x2a7c6e['constructor']['builtinPlugins']||[],_0x1692f6=_0x17b412['length']?_0x17b412:_0x419e10,_0x2cc198=_0x521677['extraPlugins']||[];delete _0x521677['extraPlugins'];const _0x566c0e=_0x521677['removePlugins']||[];delete _0x521677['removePlugins'];const _0x9d6b77=_0x2a7c6e['_context']['config']['get']('plugins')||[],_0x39a223=_0x1692f6['concat'](_0x2cc198)['concat'](_0x9d6b77)['map'](_0x3f37f8=>'string'==typeof _0x3f37f8?_0x419e10['find'](_0x1ab566=>_0x1ab566['pluginName']==_0x3f37f8):_0x3f37f8)['filter'](_0x375679=>!_0x566c0e['includes'](_0x375679)&&!_0x566c0e['includes'](_0x375679['pluginName'])),_0x4cac6f=Array['from'](new Set(_0x39a223)),_0x5656fb=new Map();return _0x521677['plugins']=_0x4cac6f['filter'](_0x3fb096=>st(_0x3fb096,_0x5656fb,_0x2a7c6e['plugins'],_0x389a57)),_0x521677;}function nt(_0x513581,_0x5d82a7){const _0x2bd572=[];_0x513581['document']['selection']['on']('change:range',()=>{const _0x4d2c6e=function(_0x40dfe0,_0x1c3e2d){const _0xec5485=[];for(const _0x262ca2 of _0x40dfe0['markers']){const _0x125aae=_0x262ca2['getRange']();(_0x125aae['containsPosition'](_0x1c3e2d)||_0x125aae['start']['isEqual'](_0x1c3e2d)||_0x125aae['end']['isEqual'](_0x1c3e2d))&&_0xec5485['push'](_0x262ca2);}return _0xec5485;}(_0x513581,_0x513581['document']['selection']['focus']),_0x32bdd1=[],_0x23f21d=[],_0x2281d7=[];for(const _0x3d313c of _0x2bd572)_0x4d2c6e['includes'](_0x3d313c)||_0x32bdd1['push'](_0x3d313c);for(const _0x14905a of _0x4d2c6e)_0x2bd572['includes'](_0x14905a)||_0x23f21d['push'](_0x14905a),_0x2281d7['push'](_0x14905a);(_0x32bdd1['length']||_0x23f21d['length'])&&_0x5d82a7({'left':_0x32bdd1,'entered':_0x23f21d}),_0x2bd572['length']=0x0,_0x2bd572['push'](..._0x2281d7);});}const ot='Ctrl+Shift+E';function rt(_0x587909,_0x42ac28){const _0x2b1763=_0x587909['element'];_0x587909['keystrokes']['listenTo'](_0x2b1763);for(const _0x43a722 of _0x42ac28)at(_0x587909,_0x43a722);_0x42ac28['on']('change',(_0x37034b,_0x414853)=>{for(const _0x53faa7 of _0x414853['removed'])ct(_0x587909,_0x53faa7);for(const _0x2b5079 of Array['from'](_0x414853['added'])['reverse']())at(_0x587909,_0x2b5079);}),_0x587909['keystrokes']['set']('enter',(_0x444627,_0x73305e)=>{_0x2b1763===_0x444627['target']&&(_0x587909['focusCycler']['focusFirst'](),_0x73305e());},{'filter':_0x468e44=>_0x468e44['target']===_0x2b1763}),_0x587909['keystrokes']['set']('esc',(_0x3dff21,_0x236322)=>{_0x2b1763!==_0x3dff21['target']?_0x587909['focus']():_0x587909['fire']('escape'),_0x236322();}),_0x587909['keystrokes']['set']('arrowdown',(_0x254553,_0x54c7ad)=>{_0x2b1763===_0x254553['target']&&(_0x587909['fire']('arrowdown'),_0x54c7ad());}),_0x587909['keystrokes']['set']('arrowup',(_0x1167e2,_0xe2a16f)=>{_0x2b1763===_0x1167e2['target']&&(_0x587909['fire']('arrowup'),_0xe2a16f());});}function at(_0x1bcd4f,_0x5a152c){_0x5a152c['isRendered']&&(_0x1bcd4f['focusTracker']['add'](_0x5a152c['element']),_0x1bcd4f['keystrokes']['listenTo'](_0x5a152c['element']),_0x1ef29b(_0x5a152c)&&function(_0x132624,_0x188baf){const _0x2df401=_0x132624['actions'],_0x41a441=_0x188baf['actions'];for(const _0x59d86a of Object['keys'](_0x2df401))if(_0x59d86a in _0x41a441&&_0x2df401[_0x59d86a]!==_0x41a441[_0x59d86a])return!0x1;return!0x0;}(_0x1bcd4f['focusCycler'],_0x5a152c['focusCycler'])&&_0x1bcd4f['focusCycler']['chain'](_0x5a152c['focusCycler']));}function ct(_0x8b9160,_0x5be661){_0x8b9160['focusTracker']['remove'](_0x5be661['element']),_0x8b9160['keystrokes']['stopListening'](_0x5be661['element']),_0x1ef29b(_0x5be661)&&_0x8b9160['focusCycler']['unchain'](_0x5be661['focusCycler']);}const lt='$elementId',ut='data-id';class DocumentCompare extends _0x2e4bce{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x2b853a?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x23ecc8,_0x4b0906)=>{_0x4b0906['on']('ready',()=>{this['_integrateEditor'](_0x4b0906);});});}get['editor'](){if(this['context']instanceof _0x2b853a)return this['context'];{const _0x2f40ba=this['context']['editors']['first'];if(!_0x2f40ba)throw new _0x47642c('documentcompare-no-editor',this);return _0x2f40ba;}}['getDiff'](_0x239e79,_0x3ea320,_0x27e964={'anchor':'main','markDeletions':!0x1}){const _0x5e5bef=_0x27e964['targetEditor']||this['editor'];let _0x4109ba,_0x1f1de0;if('string'==typeof _0x27e964['anchor']){const _0x1287c7=_0x5e5bef['model']['document']['getRoot'](_0x27e964['anchor']);if(!_0x1287c7)throw new _0x47642c('documentcompare-compare-no-root',this,{'anchor':_0x27e964['anchor']});_0x4109ba=_0x1287c7,_0x1f1de0=_0x5e5bef['model']['createPositionAt'](_0x1287c7,0x0);}else _0x4109ba=_0x27e964['anchor']['clone'](),_0x1f1de0=_0x27e964['anchor']['clone']();const _0x5220e6=_0x5e5bef['data']['parse'](_0x239e79,_0x4109ba),_0x5608cf=_0x5e5bef['data']['parse'](_0x3ea320,_0x4109ba);return new DocumentDiff({'editor':_0x5e5bef,'before':_0x5220e6,'after':_0x5608cf,'options':{'anchor':_0x1f1de0,'markDeletions':_0x27e964['markDeletions']}});}['isMarkedRemoveOperation'](_0x3099bd){return'marker'==_0x3099bd['type']&&_0x3099bd['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x3dfd46){_0x3dfd46['conversion']['for']('upcast')['add'](_0x49b8d7=>{_0x49b8d7['on']('element',(_0x5abef1,_0x20243,_0x5b7962)=>{if(_0x20243['modelRange']&&_0x5b7962['consumable']['consume'](_0x20243['viewItem'],{'attributes':'data-id'}))for(const _0x431e68 of _0x20243['modelRange']['getItems']({'shallow':!0x0})){if(_0x431e68['is']('$textProxy'))continue;const _0x2dff29=_0x20243['viewItem']['getAttribute'](ut);_0x2dff29&&_0x5b7962['writer']['setAttribute'](lt,_0x2dff29,_0x431e68);}},{'priority':'low'});}),_0x3dfd46['model']['schema']['addAttributeCheck'](()=>!0x0,lt);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x28e584,before:_0x222ad7,after:_0x54405f,options:_0x2b5107}){this['_editor']=_0x28e584,this['_markDeletions']=!!_0x2b5107['markDeletions'],this['_anchor']=_0x2b5107['anchor'];const _0x344ffa=this['_tokenizeModel'](_0x222ad7),_0x2b72c9=this['_tokenizeModel'](_0x54405f);this['_diffItems']=this['_diffModelTokens'](_0x344ffa,_0x2b72c9),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x222ad7['markers'],_0x54405f['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x312a6d=this['_editor']['model']['document'],_0x58ae78=[];let _0xb171ec=_0x312a6d['version'];for(const _0x2a4ecf of this['_operationsData'])switch(_0x2a4ecf['type']){case'attribute':{const _0x416902=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']),_0xadfecc=_0x416902['getShiftedBy'](_0x2a4ecf['howMany']),_0x2c228e=new _0x89429c(_0x416902,_0xadfecc),_0x423911=JSON['parse'](_0x2a4ecf['oldValue']),_0x437ea0=JSON['parse'](_0x2a4ecf['newValue']);_0x58ae78['push'](new _0x212522(_0x2c228e,_0x2a4ecf['key'],_0x423911,_0x437ea0,_0xb171ec++));break;}case'insert':{const _0x5e31fe=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']),_0x5e6d0b=this['_makeModelFromTokens'](_0x2a4ecf['tokens']);_0x58ae78['push'](new _0x3c8742(_0x5e31fe,_0x5e6d0b,_0xb171ec++));break;}case'remove':{const _0x31d122=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']),_0xa16867=new _0xe5f221(_0x312a6d['graveyard'],[0x0]);_0x58ae78['push'](new _0x2f2a34(_0x31d122,_0x2a4ecf['howMany'],_0xa16867,_0xb171ec++));break;}case'rename':{const _0x4ba0c4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']);_0x58ae78['push'](new _0x26d972(_0x4ba0c4,_0x2a4ecf['oldName'],_0x2a4ecf['newName'],_0xb171ec++));break;}case'split':{const _0x4148f7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']),_0x4b0721=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['path']['slice'](0x0,-0x1));_0x4b0721['offset']++,_0x58ae78['push'](new _0x18620c(_0x4148f7,Number['NEGATIVE_INFINITY'],_0x4b0721,null,_0xb171ec++));break;}case'merge':{const _0x361e2e=_0x2a4ecf['path']['slice'](),_0x94cc71=_0x361e2e['slice'](0x0,-0x1);_0x94cc71[_0x94cc71['length']-0x1]++,_0x94cc71['push'](0x0);const _0x4150d4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x94cc71),_0x416de0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x361e2e),_0x22c1a8=new _0xe5f221(_0x312a6d['graveyard'],[0x0]);_0x58ae78['push'](new _0x5d611c(_0x4150d4,Number['NEGATIVE_INFINITY'],_0x416de0,_0x22c1a8,_0xb171ec++));break;}case'marker':case'markedRemove':{let _0x138532=null;if(_0x2a4ecf['range']){const _0x224446=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['range']['start']),_0x146cd8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['range']['end']);_0x138532=new _0x89429c(_0x224446,_0x146cd8);}const _0x5643d3='marker'==_0x2a4ecf['type']?_0x2a4ecf['name']:'$markedRemove:'+_0x41bf63();_0x58ae78['push'](new _0x5f5473(_0x5643d3,null,_0x138532,_0x312a6d['model']['markers'],!0x0,_0xb171ec++));break;}case'unwrap':{const _0x193b26=_0x2a4ecf['path']['slice']();_0x193b26['push'](0x0);const _0xa47e23=_0x2a4ecf['path']['slice'](),_0x2fe946=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x193b26),_0x481e76=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xa47e23),_0x32eec2=new _0xe5f221(_0x312a6d['graveyard'],[0x0]);_0x58ae78['push'](new _0x2f2a34(_0x2fe946,_0x2a4ecf['howMany'],_0x481e76,_0xb171ec++)),_0x58ae78['push'](new _0x2f2a34(_0x481e76['getShiftedBy'](_0x2a4ecf['howMany']),0x1,_0x32eec2,_0xb171ec++));break;}case'wrap':{const _0x3dd390=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['range']['start']),_0x1158f5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a4ecf['range']['end']),_0x137ee0=_0x2a4ecf['token']['element']['_clone'](!0x1);_0x137ee0['_removeAttribute'](lt);const _0x1d7dac=_0x2a4ecf['range']['end']['slice']();_0x1d7dac['push'](0x0);const _0x1669ec=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1d7dac);_0x58ae78['push'](new _0x3c8742(_0x1158f5,_0x137ee0,_0xb171ec++)),_0x58ae78['push'](new _0x2f2a34(_0x3dd390,_0x1158f5['offset']-_0x3dd390['offset'],_0x1669ec,_0xb171ec++));break;}}return _0x58ae78;}['_tokenizeModel'](_0x4cba07){const _0x59cb52=[],_0x3c4262=_0x89429c['_createIn'](_0x4cba07),_0x6362cf=new _0x5c5e82({'boundaries':_0x3c4262});let _0x59011b='',_0x442171=null;const _0x54bc05=[''],_0x2c223f=new Map();for(const _0x2c21cc of _0x6362cf)if('elementStart'==_0x2c21cc['type']||'elementEnd'==_0x2c21cc['type']){let _0x21e4d7=_0x54bc05[0x0];''!==_0x59011b&&(_0x59cb52['push'](...this['_makeTokensFromTextByWords'](_0x59011b,_0x442171,_0x21e4d7)),_0x59011b='');const _0x3f69a9=_0x2c21cc['item'];let _0x3c7d7a;_0x3f69a9['getAttribute'](lt)?_0x3c7d7a=_0x3f69a9['getAttribute'](lt):'elementStart'==_0x2c21cc['type']?(_0x3c7d7a=dt(_0x3f69a9),_0x2c223f['set'](_0x3f69a9,_0x3c7d7a)):_0x3c7d7a=_0x2c223f['get'](_0x3f69a9);const _0x2e6e17=this['_getElementCategory'](_0x3f69a9);'solid'==_0x2e6e17&&('elementStart'==_0x2c21cc['type']?(_0x21e4d7=_0x3c7d7a,_0x54bc05['unshift'](_0x21e4d7)):_0x54bc05['shift']());const _0x13b955={'type':'element','element':_0x3f69a9,'elementId':_0x3c7d7a,'category':_0x2e6e17,'isStart':'elementStart'==_0x2c21cc['type'],'limitId':_0x21e4d7};_0x59cb52['push'](_0x13b955);}else''==_0x59011b&&(_0x442171=_0x2c21cc['previousPosition']['clone']()),_0x59011b+=_0x2c21cc['item']['data'];return''!==_0x59011b&&_0x59cb52['push'](...this['_makeTokensFromTextByWords'](_0x59011b,_0x442171,_0x54bc05[0x0])),_0x59cb52;}['_makeTokensFromTextByWords'](_0x3dc28d,_0x1ee696,_0x50fc5f){const _0x57988e=_0x3dc28d['matchAll'](/(\s)/g),_0x1aa18f=Array['from'](_0x57988e)['map'](_0x56cab3=>_0x56cab3['index']);_0x1aa18f['push'](_0x3dc28d['length']),0x0==_0x1aa18f[0x0]&&_0x1aa18f['shift']();const _0x5757b4=[],_0x27f6d6=_0x1ee696['parent'];let _0x3c6a74=0x0,_0x1a857f=_0x1ee696['offset'];for(let _0x241c43=0x0;_0x241c43<_0x1aa18f['length'];_0x241c43++)_0x5757b4['push']({'type':'text','data':_0x3dc28d['slice'](_0x3c6a74,_0x1aa18f[_0x241c43]),'parent':_0x27f6d6,'offset':_0x1a857f,'limitId':_0x50fc5f}),_0x3c6a74=_0x1aa18f[_0x241c43],_0x1a857f=_0x1ee696['offset']+_0x1aa18f[_0x241c43];return _0x5757b4;}['_getElementCategory'](_0x3bfb3e){const _0x282e92=this['_editor']['model']['schema'];return _0x282e92['isLimit'](_0x3bfb3e)||_0x282e92['isContent'](_0x3bfb3e)||_0x282e92['isInline'](_0x3bfb3e)?'solid':_0x282e92['isBlock'](_0x3bfb3e)?'block':function(_0x2a4407,_0x48e2ac){const _0x3fcfae=_0x2a4407['parent'];if(!_0x3fcfae||_0x3fcfae['is']('documentFragment'))return!0x1;if(_0x48e2ac['checkChild'](_0x3fcfae,'$text'))return!0x1;for(const _0xcc101a of _0x2a4407['getChildren']())if(_0xcc101a['is']('$text'))return!0x0;return!0x1;}(_0x3bfb3e,_0x282e92)?'solid':'container';}['_diffModelTokens'](_0x34728e,_0x3d50a0){const _0x1366f8=_0x4b122f(_0x34728e,_0x3d50a0,{'comparator':ht});this['_handleUnclosedBlockOpeningTags'](_0x1366f8);const _0x271358=_0x1366f8['flatMap'](_0x537075=>{const _0x297185=_0x537075['added']?'added':_0x537075['removed']?'removed':'unchanged';return _0x537075['value']['map'](_0xe72f17=>({'token':_0xe72f17,'change':_0x297185}));});let _0x4b2a1f=0x0;for(const _0x4ea573 of _0x271358)'added'!=_0x4ea573['change']&&('unchanged'==_0x4ea573['change']&&(_0x4ea573['before']=_0x34728e[_0x4b2a1f]),_0x4b2a1f++);return _0x271358;}['_handleUnclosedBlockOpeningTags'](_0x1b0bc7){for(let _0x1e9f3d=0x0;_0x1e9f3d<_0x1b0bc7['length']-0x1;_0x1e9f3d++)if(_0x1b0bc7[_0x1e9f3d]['removed']&&_0x1b0bc7[_0x1e9f3d+0x1]['added']){const _0x18d8e2=this['_findUnclosedBlockOpeningToken'](_0x1b0bc7[_0x1e9f3d]['value']);if(null!==_0x18d8e2){const _0xa9bdb3=this['_findUnclosedBlockOpeningToken'](_0x1b0bc7[_0x1e9f3d+0x1]['value']),_0x2ee98d=_0x1b0bc7[_0x1e9f3d]['value']['splice'](_0x18d8e2),_0x311970=_0x1b0bc7[_0x1e9f3d+0x1]['value']['splice'](_0xa9bdb3),_0xb6aadf=[_0x311970['shift']()];_0x2ee98d['shift']();const _0x4a3f9b={'value':_0x2ee98d,'removed':!0x0},_0x128695={'value':_0x311970,'added':!0x0},_0x5a819c={'value':_0xb6aadf};_0x1b0bc7['splice'](_0x1e9f3d+0x2,0x0,_0x5a819c,_0x4a3f9b,_0x128695);}}}['_findUnclosedBlockOpeningToken'](_0x2882c4){let _0x59c846=0x0,_0xe5b297=-0x1;for(let _0xd63278=0x0;_0xd63278<_0x2882c4['length'];_0xd63278++){const _0x52c70e=_0x2882c4[_0xd63278];'element'==_0x52c70e['type']&&'block'==_0x52c70e['category']&&(_0x59c846+=_0x52c70e['isStart']?0x1:-0x1,_0x52c70e['isStart']&&(_0xe5b297=_0xd63278));}return 0x0===_0x59c846?null:_0xe5b297;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x164b20=0x0;_0x164b20<this['_diffItems']['length'];_0x164b20++){const _0x39ab38=this['_diffItems'][_0x164b20]['change'],_0x4bba27=[];_0x4bba27['push'](this['_diffItems'][_0x164b20]);let _0x3b9d65=_0x164b20+0x1;for(;this['_diffItems'][_0x3b9d65]&&this['_diffItems'][_0x3b9d65]['change']==_0x39ab38;)_0x4bba27['push'](this['_diffItems'][_0x3b9d65]),_0x3b9d65++,_0x164b20++;const _0x5cbb7a=_0x4bba27['map'](_0x57e527=>_0x57e527['token']);if('unchanged'==_0x39ab38)_0x4bba27['map'](_0x7e03a1=>_0x7e03a1['before'])['forEach'](_0x27114f=>this['_traverseOverItem'](_0x27114f));else{if('removed'==_0x39ab38){if(this['_markDeletions']){const _0x34218c=this['_path']['slice']();_0x5cbb7a['forEach'](_0x41bc7c=>this['_traverseOverItem'](_0x41bc7c));const _0x473811=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x34218c,'end':_0x473811}});}else this['_handleChanged'](_0x5cbb7a,!0x0,this['_path']['slice']());}else{const _0x51af59=_0x5cbb7a['filter'](_0xd9ed0b=>'element'!=_0xd9ed0b['type']||'container'!=_0xd9ed0b['category']);this['_handleChanged'](_0x51af59,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x13c749=0x0;_0x13c749<this['_diffItems']['length'];_0x13c749++){const _0x4131b1=this['_diffItems'][_0x13c749]['change'],_0x403e99=[];_0x403e99['push'](this['_diffItems'][_0x13c749]);let _0x415aed=_0x13c749+0x1;for(;this['_diffItems'][_0x415aed]&&this['_diffItems'][_0x415aed]['change']==_0x4131b1;)_0x403e99['push'](this['_diffItems'][_0x415aed]),_0x415aed++,_0x13c749++;const _0x18645d=_0x403e99['map'](_0x1d6c08=>_0x1d6c08['token']);if('unchanged'==_0x4131b1){const _0x42b8ee=_0x403e99['map'](_0x54f0c8=>_0x54f0c8['before']);this['_handleUnchanged'](_0x42b8ee,_0x18645d);}else('added'==_0x4131b1||this['_markDeletions'])&&_0x18645d['forEach'](_0x3a2b3d=>{'element'==_0x3a2b3d['type']&&_0x3a2b3d['isStart']&&this['_splitPostponedData']['has'](_0x3a2b3d['element'])&&this['_handleSplitPostponedData'](_0x3a2b3d['element'],this['_path']),this['_traverseOverItem'](_0x3a2b3d);});}}['_handleSplitPostponedData'](_0x1a9834,_0x4b195c){const _0x40db9d=this['_splitPostponedData']['get'](_0x1a9834);for(const _0x1e3628 of _0x40db9d)'rename'==_0x1e3628['type']?this['_operationsData']['push']({'type':'rename','path':_0x4b195c['slice'](),'oldName':_0x1e3628['oldValue'],'newName':_0x1a9834['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x4b195c['slice'](),'howMany':0x1,'key':_0x1e3628['key'],'oldValue':_0x1e3628['oldValue'],'newValue':JSON['stringify'](_0x1a9834['getAttribute'](_0x1e3628['key'])??null)});}['_calculateMarkersOperationsData'](_0x2d33d3,_0x3d40db){const _0xaefc40={};for(const [_0x1238bf]of _0x2d33d3)_0xaefc40[_0x1238bf]=null;for(const [_0x56826c,_0x4e4480]of _0x3d40db)_0xaefc40[_0x56826c]=_0x4e4480;const _0x179ca4=Object['entries'](_0xaefc40)['map'](([_0x4b3b79,_0x430a6f])=>({'type':'marker','name':_0x4b3b79,'range':_0x430a6f?{'start':_0x430a6f['start']['path']['slice'](),'end':_0x430a6f['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x179ca4);}['_handleUnwraps'](){const _0x23c8b5=new Map(),_0x58744a=[],_0x24208b=[0x0];let _0x4c06be=this['_diffItems']['length']+0x1;for(let _0x1e5847=this['_diffItems']['length']-0x1;_0x1e5847>=0x0;_0x1e5847--){const {token:_0x4a4677,before:_0x1825cc,change:_0x71ff33}=this['_diffItems'][_0x1e5847];if('removed'!=_0x71ff33&&(_0x4c06be=_0x1e5847),'element'!=_0x4a4677['type']||'container'!=_0x4a4677['category']||'added'==_0x71ff33)continue;const _0x195229=_0x1825cc?_0x1825cc['element']:_0x4a4677['element'];if(_0x4a4677['isStart']){const _0x1d7245=_0x23c8b5['get'](_0x195229),_0x52b267=this['_diffItems'][_0x1d7245];('removed'==_0x71ff33||'removed'==_0x52b267['change'])&&_0x4c06be<_0x1d7245&&(this['_operationsData']['push']({'type':'unwrap','path':_0x195229['getPath'](),'howMany':_0x195229['maxOffset']+_0x24208b[0x0]}),_0x24208b['shift'](),_0x24208b[0x0]+=_0x195229['maxOffset']-0x1,_0x58744a['push'](_0x1e5847),_0x58744a['push'](_0x1d7245));}else _0x23c8b5['set'](_0x195229,_0x1e5847),_0x24208b['unshift'](0x0);}_0x58744a['sort']((_0x583e33,_0x20365f)=>_0x20365f-_0x583e33),_0x58744a['forEach'](_0x1b7bbd=>{const _0x224e77=this['_diffItems'][_0x1b7bbd];'removed'==_0x224e77['change']?this['_diffItems']['splice'](_0x1b7bbd,0x1):(_0x224e77['change']='added',delete _0x224e77['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x14c7d9=[];for(let _0x4443ba=0x0;_0x4443ba<this['_diffItems']['length'];_0x4443ba++){const {change:_0x128337,token:_0x4eb34d}=this['_diffItems'][_0x4443ba];if('added'==_0x128337&&'element'==_0x4eb34d['type']&&'container'==_0x4eb34d['category']){if(_0x4eb34d['isStart'])_0x14c7d9['push'](this['_path']['slice']());else{if(!_0x4eb34d['isStart']){const _0x570547=_0x14c7d9['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x570547,'end':this['_path']['slice']()},'token':_0x4eb34d}),this['_path'][this['_path']['length']-0x1]=_0x570547[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x128337||this['_markDeletions'])&&this['_traverseOverItem'](_0x4eb34d);}}['_handleUnchanged'](_0x380827,_0x3241be){for(let _0x4a6174=0x0;_0x4a6174<_0x380827['length'];_0x4a6174++){const _0x21fe7f=_0x380827[_0x4a6174];if('element'==_0x21fe7f['type']&&_0x21fe7f['isStart']){const _0x2b2cdf=_0x3241be[_0x4a6174];'block'==_0x21fe7f['category']&&this['_handleElementRename'](_0x21fe7f['element'],_0x2b2cdf['element'],this['_path']),this['_handleElementAttributeChanges'](_0x21fe7f['element'],_0x2b2cdf['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x2b2cdf);}else{if('element'!=_0x21fe7f['type']||_0x21fe7f['isStart']){if('text'==_0x21fe7f['type']){const _0x3d192e=this['_path']['slice'](),_0x26ff3b=[],_0x25bfcf=[];for(;_0x380827[_0x4a6174]&&'text'==_0x380827[_0x4a6174]['type'];)_0x26ff3b['push'](_0x380827[_0x4a6174]),_0x25bfcf['push'](_0x3241be[_0x4a6174]),this['_path'][this['_path']['length']-0x1]+=_0x380827[_0x4a6174]['data']['length'],_0x4a6174++;_0x4a6174--,this['_handleTextAttributeChanges'](_0x26ff3b,_0x25bfcf,_0x3d192e);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x5b2178,_0x14c335,_0xdc54c1){const _0x15ade2=[],_0x5e67fc=[],_0x1f4b36=_0xdc54c1['slice']();let _0x1303a2=this['_parents']['length']-0x1;for(let _0x8e1642=0x0;_0x8e1642<_0x5b2178['length'];_0x8e1642++){const _0x5cecba=_0x5b2178[_0x8e1642],_0xf90247=_0xdc54c1['slice']();'element'!=_0x5cecba['type']||_0x5cecba['isStart']?'element'==_0x5cecba['type']&&_0x5cecba['isStart']?(_0xdc54c1['push'](0x0),_0x1303a2++,_0x5e67fc['push']({'before':_0xf90247,'after':_0xdc54c1['slice'](),'index':_0x8e1642})):_0xdc54c1[_0xdc54c1['length']-0x1]+=_0x5cecba['data']['length']:(_0xdc54c1['pop'](),_0xdc54c1[_0xdc54c1['length']-0x1]++,_0x1303a2--,_0x5e67fc['length']?_0x5e67fc['pop']():_0x15ade2['push']({'before':_0xf90247,'after':_0xdc54c1['slice'](),'index':_0x8e1642}));}if(_0x5e67fc['length']!==_0x15ade2['length'])throw new _0x47642c('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x5b2178,'isRemove':_0x14c335});const _0x4f7272=[{'after':_0x1f4b36['slice'](),'index':-0x1},..._0x15ade2,..._0x5e67fc,{'before':_0xdc54c1['slice'](),'index':_0x5b2178['length']}];if(_0x14c335){for(let _0x390ad3=_0x4f7272['length']-0x1;_0x390ad3>=0x1;_0x390ad3--){const _0x147d9c=_0x4f7272[_0x390ad3-0x1]['after'],_0x44baaa=_0x4f7272[_0x390ad3]['before'],_0x3c5924=_0x44baaa[_0x44baaa['length']-0x1]-_0x147d9c[_0x147d9c['length']-0x1];_0x3c5924&&(this['_operationsData']['push']({'type':'remove','path':_0x147d9c,'howMany':_0x3c5924}),_0x44baaa[_0x44baaa['length']-0x1]-=_0x3c5924);}for(const {before:_0xd0a75d}of _0x15ade2)this['_operationsData']['push']({'type':'merge','path':_0xd0a75d});}else for(let _0x52377d=0x0;_0x52377d<_0x4f7272['length']-0x1;_0x52377d++){const _0x463396=_0x4f7272[_0x52377d]['after'],_0x1ddaeb=_0x4f7272[_0x52377d+0x1]['before'],_0x103d4f=_0x4f7272[_0x52377d]['index']+0x1,_0x3082d7=_0x4f7272[_0x52377d+0x1]['index'];if(_0x103d4f!==_0x3082d7&&this['_operationsData']['push']({'type':'insert','path':_0x463396,'tokens':_0x5b2178['slice'](_0x103d4f,_0x3082d7)}),_0x52377d<_0x15ade2['length']){this['_operationsData']['push']({'type':'split','path':_0x1ddaeb});const _0x34f3b2=_0x5b2178[_0x5e67fc[_0x5e67fc['length']-0x1-_0x52377d]['index']],_0x35981b=this['_parents'][_0x1303a2]['element'];_0x35981b['name']!=_0x34f3b2['element']['name']&&this['_addSplitPostponedData'](_0x34f3b2['element'],{'type':'rename','oldValue':_0x35981b['name']});const _0x20b976=this['_getAttributeChanges'](_0x35981b['getAttributes'](),_0x34f3b2['element']['getAttributes']());for(const _0x3100c6 in _0x20b976){const _0x37cd18=_0x20b976[_0x3100c6]['oldValue'];this['_addSplitPostponedData'](_0x34f3b2['element'],{'type':'attribute','key':_0x3100c6,'oldValue':_0x37cd18});}}}}['_addSplitPostponedData'](_0x1cda4a,_0x492851){const _0x264c06=this['_splitPostponedData']['get'](_0x1cda4a)||[];_0x264c06['push'](_0x492851),this['_splitPostponedData']['set'](_0x1cda4a,_0x264c06);}['_traverseOverItem'](_0x4ce75e){'element'==_0x4ce75e['type']&&_0x4ce75e['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4ce75e)):'element'!=_0x4ce75e['type']||_0x4ce75e['isStart']?'text'==_0x4ce75e['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4ce75e['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x482ac0,_0x55b420,_0x35db67){_0x482ac0['name']!=_0x55b420['name']&&this['_operationsData']['push']({'type':'rename','path':_0x35db67['slice'](),'oldName':_0x482ac0['name'],'newName':_0x55b420['name']});}['_handleElementAttributeChanges'](_0x51fd35,_0x11dfa9,_0x12c4ae){const _0x41b999=this['_getAttributeChanges'](_0x51fd35['getAttributes'](),_0x11dfa9['getAttributes']());for(const _0x3cec53 in _0x41b999){const {oldValue:_0x24d280,newValue:_0x22c5a5}=_0x41b999[_0x3cec53];this['_operationsData']['push']({'type':'attribute','path':_0x12c4ae['slice'](),'howMany':0x1,'key':_0x3cec53,'oldValue':_0x24d280,'newValue':_0x22c5a5});}}['_handleTextAttributeChanges'](_0x79cf09,_0x3b8463,_0x47a29a){const _0x46e2b8=this['_operationsData'],_0x388bc4=_0x79cf09[0x0]['parent'],_0x3e932a=_0x79cf09[0x0]['offset'],_0x2c5195=_0x3b8463[0x0]['parent'],_0x561eef=_0x3b8463[0x0]['offset'],_0x56aa67=_0x79cf09['reduce']((_0x3a32ba,_0x502516)=>_0x3a32ba+_0x502516['data']['length'],0x0),_0x2d2638=this['_getAttrsForOffsets'](_0x388bc4,_0x3e932a,_0x56aa67),_0x11bc37=this['_getAttrsForOffsets'](_0x2c5195,_0x561eef,_0x56aa67),_0x573488={};for(let _0x188d50=0x0;_0x188d50<_0x56aa67;_0x188d50++){const _0x67db31=_0x2d2638[_0x3e932a+_0x188d50],_0x2078b4=_0x11bc37[_0x561eef+_0x188d50],_0x39f721=this['_getAttributeChanges'](_0x67db31,_0x2078b4);for(const _0x15da93 in _0x573488)_0x39f721[_0x15da93]||_0x171101(_0x15da93);for(const _0x4795a0 in _0x39f721){const {oldValue:_0x5537b0,newValue:_0x3fa9bd}=_0x39f721[_0x4795a0],_0x1207cf=_0x573488[_0x4795a0];_0x1207cf?_0x1207cf['oldValue']==_0x5537b0&&_0x1207cf['newValue']==_0x3fa9bd?_0x1207cf['length']++:(_0x171101(_0x4795a0),_0x573488[_0x4795a0]={'oldValue':_0x5537b0,'newValue':_0x3fa9bd,'start':_0x188d50,'length':0x1}):_0x573488[_0x4795a0]={'oldValue':_0x5537b0,'newValue':_0x3fa9bd,'start':_0x188d50,'length':0x1};}}for(const _0x4971ad in _0x573488)_0x171101(_0x4971ad);function _0x171101(_0x6f0a33){const _0x18dc29=_0x573488[_0x6f0a33],_0x2778c6=_0x47a29a['slice']();_0x2778c6[_0x2778c6['length']-0x1]+=_0x18dc29['start'],_0x46e2b8['push']({'type':'attribute','path':_0x2778c6,'howMany':_0x18dc29['length'],'key':_0x6f0a33,'oldValue':_0x18dc29['oldValue'],'newValue':_0x18dc29['newValue']}),delete _0x573488[_0x6f0a33];}}['_getAttributeChanges'](_0x3f0b02,_0x16b9e9){const _0x30155c={};for(const [_0x24463c,_0x5884d4]of _0x3f0b02)_0x30155c[_0x24463c]={'oldValue':JSON['stringify'](_0x5884d4),'newValue':'null'};for(const [_0x394355,_0x3da8ab]of _0x16b9e9){const _0x38e919=JSON['stringify'](_0x3da8ab);_0x30155c[_0x394355]?_0x30155c[_0x394355]['oldValue']==_0x38e919?delete _0x30155c[_0x394355]:_0x30155c[_0x394355]['newValue']=_0x38e919:_0x30155c[_0x394355]={'oldValue':'null','newValue':_0x38e919};}return delete _0x30155c[lt],_0x30155c;}['_getAttrsForOffsets'](_0x1bf119,_0x3383e3,_0x1a0cd8){const _0x716552=new Array(_0x3383e3+_0x1a0cd8);let _0x575155=_0x1bf119['getChildAtOffset'](_0x3383e3),_0x1bfe00=_0x575155['startOffset'];for(;_0x575155&&_0x1bfe00<_0x3383e3+_0x1a0cd8;){const _0x18da6b=Array['from'](_0x575155['getAttributes']());_0x716552['fill'](_0x18da6b,_0x1bfe00,_0x1bfe00+_0x575155['offsetSize']),_0x1bfe00+=_0x575155['offsetSize'],_0x575155=_0x575155['nextSibling'];}return _0x716552;}['_getPositionFromAnchorAndPath'](_0x1e2f28,_0x13afc9){const _0x460677=[..._0x1e2f28['path']['slice'](0x0,-0x1),_0x1e2f28['offset']+_0x13afc9[0x0],..._0x13afc9['slice'](0x1)];return new _0xe5f221(_0x1e2f28['root'],_0x460677);}['_makeModelFromTokens'](_0x250681){const _0x1557a4=[];let _0x31fdbb=null;for(const _0x417add of _0x250681)if('element'!=_0x417add['type']||_0x417add['isStart']||_0x31fdbb!=_0x417add['element']){if(!_0x31fdbb){if('text'==_0x417add['type']){const _0x55d242=_0xe5f221['_createAt'](_0x417add['parent'],_0x417add['offset']),_0x475275=_0x89429c['_createFromPositionAndShift'](_0x55d242,_0x417add['data']['length']),_0x50116c=Array['from'](_0x475275['getItems']())['map'](_0x4809fe=>new _0x3813f2(_0x4809fe['data'],_0x4809fe['getAttributes']()));_0x1557a4['push'](..._0x50116c);}else{_0x31fdbb=_0x417add['element'];const _0x5f0e32=_0x417add['element']['_clone'](!0x0);_0x5f0e32['_removeAttribute'](lt);for(const _0xe16315 of this['_editor']['model']['createRangeIn'](_0x5f0e32)['getItems']())_0xe16315['is']('element')&&_0xe16315['_removeAttribute'](lt);_0x1557a4['push'](_0x5f0e32);}}}else _0x31fdbb=null;return _0x1557a4;}}function ht(_0x4da486,_0x9641b8){return _0x4da486['type']===_0x9641b8['type']&&(_0x4da486['limitId']===_0x9641b8['limitId']&&('text'==_0x4da486['type']?_0x4da486['data']==_0x9641b8['data']:function(_0x1c71e8,_0x7fd06d){if(_0x1c71e8['isStart']!=_0x7fd06d['isStart'])return!0x1;if(_0x1c71e8['isStart']&&_0x1c71e8['elementId']!=_0x7fd06d['elementId'])return!0x1;if(_0x1c71e8['category']!=_0x7fd06d['category'])return!0x1;if('block'==_0x1c71e8['category'])return!0x0;if('container'==_0x1c71e8['category']&&_0x1c71e8['elementId']!=_0x7fd06d['elementId'])return!0x1;return _0x1c71e8['element']['name']==_0x7fd06d['element']['name'];}(_0x4da486,_0x9641b8)));}function dt(_0x117531){return J({'name':_0x117531['name'],...Object['fromEntries'](_0x117531['getAttributes']())});}export{AriaDescriptionView,CollaborationUserColor,G as ConfirmMixin,lt as DATA_ID_MODEL_ATTRIBUTE,ut as DATA_ID_VIEW_ATTRIBUTE,DocumentCompare,DocumentDiff,ot as FOCUS_ANNOTATION_KEYSTROKE,LateFocusButtonView,LateFocusDropdownButtonView,Permissions,SuggestionsConversion,User,UserView,Users,U as fixElementSuggestionRange,W as getAllMarkersDomElementsSorted,z as getDateTimeFormatter,R as getMarkerDomElement,J as hashObject,it as sanitizeEditorConfig,rt as setupThreadKeyboardNavigation,O as splitSuggestionMarkerName,nt as surroundingMarkersDetector,j as trimHtml};
23
+ import{ContextPlugin as _0x128cd1,Editor as _0x590f34,Plugin as _0x2da5c8}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4d0000,Collection as _0x3de8de,uid as _0x299d11,toArray as _0x9194b1,first as _0x11d21b,FocusTracker as _0x1e39fc,KeystrokeHandler as _0x366945}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x53b8cd,IconView as _0x47b2fe,ButtonView as _0x1aa82c,DropdownButtonView as _0x12aeae,FocusCycler as _0x48f6c2,isViewWithFocusCycler as _0x4246bf}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x37cda5,IconCheck as _0x5a79a8,IconCancel as _0x3a90ef}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x1adf9a,toWidget as _0x26d629}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x23886e}from'luxon';import{InsertOperation as _0x1286d4,MoveOperation as _0x13c6d0,ModelPosition as _0x2a9804,ModelRange as _0x474654,MarkerOperation as _0x37c519,MergeOperation as _0x8d9aa7,SplitOperation as _0x34b93e,RenameOperation as _0x51b964,AttributeOperation as _0x83065e,ModelTreeWalker as _0x1d3f52,ModelText as _0x3ab9df}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x337c1d}from'diff';class Permissions extends _0x128cd1{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x2e7c8b,_0x2694fb){let _0x52f502;if(_0x2694fb||(_0x2694fb=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x2694fb?_0x52f502=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x52f502=this['context']['editors']['find'](_0x5c078b=>_0x5c078b['config']['get']('collaboration.channelId')==_0x2694fb)),!_0x52f502)throw new _0x4d0000('permissions-set-permissions-invalid-channel-id',null);const _0x1f0f3c=_0x52f502['plugins'],_0x17ab37=_0x1f0f3c['has']('CommentsRepository')?_0x1f0f3c['get']('CommentsRepository'):void 0x0,_0x15aa36=_0x1f0f3c['has']('CommentsOnly')&&_0x1f0f3c['get']('CommentsOnly'),_0x10c009=_0x2e7c8b['includes']('document:write'),_0x42e354=_0x2e7c8b['includes']('comment:modify_all'),_0x378016=_0x2e7c8b['includes']('comment:admin'),_0x470fb4=_0x2e7c8b['includes']('comment:write'),_0x55e334=_0x470fb4||_0x378016,_0x1c71d4=_0x55e334||_0x42e354,_0x12f379=_0x10c009||_0x55e334;(_0x15aa36&&(_0x15aa36['isEnabled']=!_0x10c009&&_0x1c71d4),_0x52f502 instanceof _0x590f34)&&(!(_0x10c009||_0x1c71d4&&_0x17ab37)?_0x52f502['enableReadOnlyMode']('no-permissions'):_0x52f502['disableReadOnlyMode']('no-permissions'));if(_0x17ab37){_0x17ab37['setPermissions']({'admin':_0x378016,'modifyAll':_0x42e354,'write':_0x470fb4,'resolve':_0x12f379},_0x2694fb);const _0x2e6681=_0x52f502 instanceof _0x590f34&&_0x52f502['commands']['get']('addCommentThread');_0x2e6681&&(_0x55e334?_0x2e6681['clearForceDisabled']('noPermissions'):_0x2e6681['forceDisabled']('noPermissions'));}}}function B(_0x4f9675,_0x449e8e){const t=_0x4f9675['t'];switch(_0x449e8e){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class Users extends _0x128cd1{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Permissions];}constructor(_0x2fa921){super(_0x2fa921),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x3de8de(),this['_locale']=_0x2fa921['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x3afcdb,name:_0x26db5f,..._0x2c7fe5}){if(!_0x3afcdb||'string'!=typeof _0x3afcdb)throw new _0x4d0000('users-add-invalid-id');if(this['users']['has'](_0x3afcdb))throw new _0x4d0000('users-add-duplicated-id',null,{'id':_0x3afcdb});const _0x44bd91=this['context']['config']['get']('users.getInitialsCallback'),_0x3b22ef={..._0x2c7fe5,'id':_0x3afcdb,'name':N(this['_locale'],_0x26db5f),'color':this['_getNextColor']()};_0x3b22ef['name']=N(this['_locale'],_0x3b22ef['name']);const _0x3078d7=new User(_0x3b22ef,_0x44bd91);return this['users']['add'](_0x3078d7),_0x3078d7;}['getUser'](_0x4971ec){return this['users']['get'](_0x4971ec);}['useAnonymousUser'](){const _0x52a51d=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x52a51d);}['defineMe'](_0x299822){if(this['_myId'])throw new _0x4d0000('users-me-already-defined',null);const _0x4fc05e=this['getUser'](_0x299822);if(!_0x4fc05e)throw new _0x4d0000('users-me-missing-user',null);this['_myId']=_0x299822,_0x4fc05e['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x3605db=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3605db&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x1ff578=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x1ff578,'name':B(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x456b73,_0x1adaf5){this['id']=_0x456b73['id'],this['color']=_0x456b73['color'],this['name']=_0x456b73['name'],this['initials']=_0x1adaf5?_0x1adaf5(this['name']):this['_computeInitials'](),this['avatar']=_0x456b73['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x5b4d0c=this['name']['split']('\x20')['filter'](_0x1af347=>/^[\p{Letter}]/u['test'](_0x1af347));return 0x1===_0x5b4d0c['length']?this['_getInitial'](_0x5b4d0c[0x0]):0x0===_0x5b4d0c['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5b4d0c[0x0])+this['_getInitial'](_0x5b4d0c[_0x5b4d0c['length']-0x1]);}['_getInitial'](_0x2437dc){return String['fromCodePoint'](_0x2437dc['codePointAt'](0x0))['toUpperCase']();}}function N(_0x4bceee,_0x9a3279=''){return''==(_0x9a3279=_0x9a3279['trim']())?B(_0x4bceee,'Anonymous'):_0x9a3279;}class CollaborationUserColor{['_id'];constructor(_0x5328a4){this['_id']=_0x5328a4;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class UserView extends _0x53b8cd{['name'];['notificationView'];constructor(_0x56d8e0,_0x464f52,_0x3a48e2){super(_0x56d8e0),this['name']=_0x464f52['name'],this['notificationView']=null;const _0x298351=['ck','ck-user'],_0x1fe9d0=['ck','ck-user__img'];if(_0x464f52['isAnonymous']&&_0x1fe9d0['push']('ck-user__anonymous'),!_0x464f52['isAnonymous']&&_0x464f52['isMe']&&_0x298351['push']('ck-user_me'),_0x464f52['avatar']&&_0x1fe9d0['push']('ck-user__avatar'),_0x3a48e2){const _0x85bc7b=new _0x47b2fe();_0x85bc7b['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x85bc7b['content']=_0x37cda5,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x3a48e2},'children':[_0x85bc7b]};}const _0x407f07=[{'tag':'div','attributes':{'class':_0x1fe9d0,'style':{'background-image':_0x464f52['avatar']?'url(\x27'+_0x464f52['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x464f52['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x464f52['name']},'children':[{'text':_0x464f52['initials']}]}];this['notificationView']&&_0x407f07['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x298351,'data-user-id':_0x464f52['id']},'children':_0x407f07});}}class AriaDescriptionView extends _0x53b8cd{['id'];constructor(_0x24da43,_0x1bd349){super(_0x24da43),this['id']='ck-aria-description-'+_0x299d11(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x1bd349}]});}}class LateFocusButtonView extends _0x1aa82c{['render'](){super['render'](),H(this);}}class LateFocusDropdownButtonView extends _0x12aeae{['render'](){super['render'](),H(this);}}function H(_0x56a2f){_0x56a2f['listenTo'](_0x56a2f['element'],'mousedown',(_0x86c53b,_0x373e2a)=>{_0x373e2a['stopPropagation'](),_0x373e2a['preventDefault']();}),_0x56a2f['listenTo'](_0x56a2f['element'],'mouseup',()=>{_0x56a2f['element']['focus']();});}function O(_0x4b3560){const _0x51669d=_0x4b3560['split'](':');return{'group':_0x51669d[0x0],'type':_0x51669d[0x1],'subType':_0x51669d['length']>=0x5?_0x51669d[0x2]:null,'id':_0x51669d['length']<0x5?_0x51669d[0x2]:_0x51669d[0x3],'authorId':_0x51669d['length']<0x5?_0x51669d[0x3]:_0x51669d[0x4],'markerCount':0x6==_0x51669d['length']?_0x51669d[0x5]:null};}function U(_0x4a7414,_0x16ed8d){const _0x181945=_0x4a7414['end']['nodeBefore'];if(_0x181945&&_0x181945['is']('element')&&_0x16ed8d['schema']['isBlock'](_0x181945)&&!_0x16ed8d['schema']['isObject'](_0x181945)){const _0x19402e=_0x16ed8d['createPositionAt'](_0x181945,'end');return _0x16ed8d['createRange'](_0x4a7414['start'],_0x19402e);}return _0x4a7414;}class SuggestionsConversionAlignment extends _0x2da5c8{['afterInit'](){const _0x52dc21=this['editor'];if(!_0x52dc21['plugins']['has']('AlignmentEditing'))return;_0x52dc21['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const $=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x2da5c8{['afterInit'](){const _0x56c3fe=this['editor'],_0x23cc6b=_0x56c3fe['plugins']['get']('SuggestionsConversion');for(const _0x47635e of $){if(!_0x56c3fe['plugins']['has'](_0x47635e))continue;const _0x3ed336=_0x47635e['slice'](0x0,-0x7)['toLowerCase']();_0x23cc6b['registerInlineAttribute'](_0x3ed336);}}}class SuggestionsConversionBookmark extends _0x2da5c8{['afterInit'](){const _0x517481=this['editor'],_0x30b948=_0x517481['plugins']['get']('SuggestionsConversion');_0x517481['plugins']['has']('BookmarkEditing')&&_0x30b948['registerBlockAttribute']('bookmarkId');}}const F=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x2da5c8{['afterInit'](){const _0x521069=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x411923,commandName:_0x13f458}of F)this['editor']['plugins']['has'](_0x411923)&&_0x521069['registerInlineAttribute'](_0x13f458);}}class SuggestionsConversionFootnotes extends _0x2da5c8{['afterInit'](){const {editor:_0x1cb622}=this;if(!_0x1cb622['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x579bae=_0x1cb622['plugins']['get']('SuggestionsConversion');_0x579bae['registerBlockAttribute']('footnotesListStyle'),_0x579bae['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x2da5c8{['afterInit'](){const _0x4c293a=this['editor'];if(!_0x4c293a['plugins']['has']('GeneralHtmlSupport')||!_0x4c293a['plugins']['has']('DataSchema'))return;const _0x9b44ad=_0x4c293a['plugins']['get']('SuggestionsConversion'),_0x32d183=_0x4c293a['plugins']['get']('GeneralHtmlSupport'),_0x299989=_0x4c293a['plugins']['get']('DataSchema');for(const _0x3ecb2c of _0x299989['getDefinitionsForView'](/.*/,!0x1)){const _0x3b4cf0=_0x32d183['getGhsAttributeNameForElement'](_0x3ecb2c['view']);_0x3ecb2c['isInline']&&!_0x3ecb2c['isObject']&&!('appliesToBlock'in _0x3ecb2c&&_0x3ecb2c['appliesToBlock'])?_0x9b44ad['registerInlineAttribute'](_0x3b4cf0):_0x9b44ad['registerBlockAttribute'](_0x3b4cf0);}}}class SuggestionsConversionHighlight extends _0x2da5c8{['afterInit'](){const _0x4acacf=this['editor'];if(!_0x4acacf['plugins']['has']('HighlightEditing'))return;_0x4acacf['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x2da5c8{['afterInit'](){const _0x3aec7a=this['editor'];if(!_0x3aec7a['plugins']['has']('HtmlEmbed'))return;_0x3aec7a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x2da5c8{['afterInit'](){const _0x4c23b2=this['editor'];if(!_0x4c23b2['plugins']['has']('ImageEditing'))return;const _0x21d2d8=_0x4c23b2['plugins']['get']('SuggestionsConversion');_0x21d2d8['registerBlockAttribute']('src'),_0x4c23b2['plugins']['has']('ImageResize')&&_0x21d2d8['registerBlockAttribute']('resizedWidth'),_0x4c23b2['plugins']['has']('ImageTextAlternativeEditing')&&_0x21d2d8['registerBlockAttribute']('alt'),_0x4c23b2['plugins']['has']('PictureEditing')&&_0x21d2d8['registerBlockAttribute']('sources'),_0x4c23b2['plugins']['has']('ImageSizeAttributes')&&(_0x21d2d8['registerBlockAttribute']('width'),_0x21d2d8['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x2da5c8{['afterInit'](){const _0x432778=this['editor'],_0x46a13c=_0x432778['plugins']['get']('SuggestionsConversion');_0x432778['plugins']['has']('IndentBlock')&&(_0x46a13c['registerBlockAttribute']('blockIndent'),_0x432778['plugins']['has']('ListEditing')&&(_0x46a13c['registerBlockAttribute']('blockIndentList'),_0x46a13c['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x2da5c8{['afterInit'](){const _0x5411f7=this['editor'];if(!_0x5411f7['plugins']['has']('LineHeight'))return;_0x5411f7['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x2da5c8{['afterInit'](){const _0x1c3669=this['editor'];if(!_0x1c3669['plugins']['has']('LinkEditing'))return;const _0x3e473c=_0x1c3669['plugins']['get']('SuggestionsConversion'),_0x24b1bd=_0x1c3669['commands']['get']('link');_0x3e473c['registerInlineAttribute']('linkHref');for(const _0x2ebbda of _0x24b1bd['manualDecorators'])_0x3e473c['registerInlineAttribute'](_0x2ebbda['id']);}}class SuggestionsConversionList extends _0x2da5c8{['afterInit'](){const _0x43d329=this['editor'];if(!_0x43d329['plugins']['has']('ListEditing'))return;const _0x25df44=_0x43d329['plugins']['get']('SuggestionsConversion'),_0x197771=_0x43d329['plugins']['has']('TodoListEditing');_0x25df44['registerBlockAttribute']('listItemId'),_0x25df44['registerBlockAttribute']('listType'),_0x25df44['registerBlockAttribute']('listIndent'),_0x197771&&_0x25df44['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x2da5c8{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x22051b=this['editor']['config']['get']('list.properties'),_0x2d35ad=this['editor']['plugins']['get']('SuggestionsConversion');_0x22051b['styles']&&_0x2d35ad['registerBlockAttribute']('listStyle'),_0x22051b['reversed']&&_0x2d35ad['registerBlockAttribute']('listReversed'),_0x22051b['startIndex']&&_0x2d35ad['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x2da5c8{['afterInit'](){const _0x97b62=this['editor'],_0xb6792f=_0x97b62['plugins']['get']('SuggestionsConversion');_0x97b62['plugins']['has']('MultiLevelList')&&_0xb6792f['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x2da5c8{['afterInit'](){const _0x25c83f=this['editor'];if(!_0x25c83f['plugins']['has']('TableEditing'))return;const _0x1c6329=_0x25c83f['plugins']['get']('SuggestionsConversion');_0x1c6329['registerBlockAttribute']('headingRows'),_0x1c6329['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x2da5c8{['afterInit'](){const {plugins:_0x51439c}=this['editor'];if(!_0x51439c['has']('TablePropertiesEditing'))return;const _0x310c1c=_0x51439c['get']('SuggestionsConversion'),_0x268f7d=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x1ef27c of _0x268f7d)_0x310c1c['registerBlockAttribute'](_0x1ef27c);}}class SuggestionsConversionTableLayout extends _0x2da5c8{['afterInit'](){const _0x3dd9cc=this['editor'],_0x2ef5a0=_0x3dd9cc['plugins']['get']('SuggestionsConversion');_0x3dd9cc['plugins']['has']('TableLayout')&&_0x2ef5a0['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x2da5c8{['afterInit'](){const _0x29ec04=this['editor'],_0x4b9f56=this['editor']['plugins']['get']('SuggestionsConversion');_0x29ec04['plugins']['has']('Uploadcare')&&_0x29ec04['plugins']['has']('UploadcareImageEdit')&&_0x4b9f56['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x2da5c8{['afterInit'](){const _0x473316=this['editor'];if(!_0x473316['plugins']['has']('ShiftEnter'))return;const _0x1cd321=_0x473316['plugins']['get']('SuggestionsConversion'),_0xc5aee9=(_0x57a2d7,_0x42f821,_0x2c3090,_0x53ec50)=>{if(_0x53ec50&&!_0x2c3090['options']['showSuggestionHighlights'])return;if(!_0x2c3090['consumable']['test'](_0x42f821['markerRange'],_0x57a2d7['name']))return;const _0x5f503a=_0x473316['model'];for(const _0x401e42 of _0x42f821['markerRange']['getItems']()){if(!_0x401e42['is']('element','softBreak'))continue;const _0x13230a='deletion'==_0x42f821['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x4ac3f4,authorId:_0x31a90a}=O(_0x42f821['markerName']),_0x4abad7=_0x2c3090['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x13230a,'data-suggestion':_0x4ac3f4,'data-author-id':_0x31a90a}),_0x2c9512=_0x2c3090['mapper']['toViewPosition'](_0x5f503a['createPositionBefore'](_0x401e42));!_0x53ec50&&_0x1cd321['_activeMarkers']['includes'](_0x42f821['markerName'])&&_0x2c3090['writer']['addClass']('ck-suggestion-marker--active',_0x4abad7),_0x2c3090['writer']['insert'](_0x2c9512,_0x4abad7),_0x2c3090['mapper']['bindElementToMarker'](_0x4abad7,_0x42f821['markerName']);}};_0x473316['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5d503f,_0x6420f7,_0x4f955d)=>{_0xc5aee9(_0x5d503f,_0x6420f7,_0x4f955d,!0x1);},{'priority':'high'}),_0x473316['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x141371,_0x29a6c4,_0x303639)=>{_0xc5aee9(_0x141371,_0x29a6c4,_0x303639,!0x1);},{'priority':'high'}),_0x473316['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x11dcfb,_0x21f26f,_0x265dea)=>{_0xc5aee9(_0x11dcfb,_0x21f26f,_0x265dea,!0x0);},{'priority':'high'}),_0x473316['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4d321d,_0x41f381,_0x1ae5f5)=>{_0xc5aee9(_0x4d321d,_0x41f381,_0x1ae5f5,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x2da5c8{['afterInit'](){const _0x2f5f60=this['editor'];if(!_0x2f5f60['plugins']['has']('MediaEmbedEditing'))return;const _0x228d43=_0x2f5f60['plugins']['get']('SuggestionsConversion');_0x2f5f60['plugins']['has']('MediaEmbedResizeEditing')&&_0x228d43['registerBlockAttribute']('resizedWidth'),_0x2f5f60['plugins']['has']('MediaEmbedStyleEditing')&&_0x228d43['registerBlockAttribute']('mediaStyle'),_0x2f5f60['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x358bc1,{writer:_0x4b61a6,options:_0x4f374d})=>{if(_0x4f374d['showSuggestionHighlights'])return _0x4b61a6['createEmptyElement']('div');},'converterPriority':'high'}),_0x2f5f60['data']['downcastDispatcher']['on']('attribute:url:media',(_0x2e2354,_0x4225f2,_0x4d8837)=>{_0x4d8837['options']['showSuggestionHighlights']&&_0x2e2354['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x2da5c8{['afterInit'](){const _0x29dafc=this['editor'];if(!_0x29dafc['plugins']['has']('Table'))return;_0x29dafc['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4fb572,_0x5caf06,_0x273ad7)=>{((_0x590a7d,_0x1aee44,_0x727311)=>{if(!_0x727311['options']['showSuggestionHighlights'])return;const _0x20306d=_0x1aee44['item'];if(!_0x20306d||!_0x20306d['is']('element','tableCell'))return;const _0x4894e3=_0x727311['mapper']['toViewElement'](_0x20306d);if(_0x4894e3){const {id:_0x581377,authorId:_0x49546e}=O(_0x1aee44['markerName']);_0x1adf9a(_0x4894e3,_0x727311['writer'],(_0x1c03ab,_0x1f60a4,_0x366062)=>{_0x366062['addClass'](_0x9194b1(_0x1f60a4['classes']),_0x1c03ab),_0x366062['setAttribute']('data-suggestion',_0x581377,_0x1c03ab),_0x366062['setAttribute']('data-author-id',_0x49546e,_0x1c03ab);});}})(0x0,_0x5caf06,_0x273ad7);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x2da5c8{['afterInit'](){const _0x2a5d77=this['editor'];_0x2a5d77['plugins']['has']('HorizontalLineEditing')&&_0x2a5d77['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x535e24,{writer:_0x183b3e,options:_0x559690})=>{if(!_0x559690['showSuggestionHighlights'])return null;const _0x133618=_0x183b3e['createContainerElement']('div'),_0x199bba=_0x183b3e['createEmptyElement']('hr');return _0x183b3e['addClass']('ck-horizontal-line',_0x133618),_0x183b3e['insert'](_0x183b3e['createPositionAt'](_0x133618,0x0),_0x199bba),_0x133618;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x2da5c8{['afterInit'](){const {plugins:_0x1e59a3,model:_0x406891}=this['editor'];if(!_0x1e59a3['has']('TableCellPropertiesEditing'))return;const _0x369b91=_0x1e59a3['get']('SuggestionsConversion'),_0x111313=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x3c8ce3 of _0x111313)_0x369b91['registerBlockAttribute'](_0x3c8ce3);_0x406891['schema']['checkAttribute']('tableCell','tableCellType')&&_0x369b91['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x2da5c8{['afterInit'](){const _0x46421e=this['editor'];if(!_0x46421e['plugins']['has']('TableEditing')||!_0x46421e['config']['get']('table.enableFooters'))return;_0x46421e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x2da5c8{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionGeneralHtmlSupport,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3d2f28=this['editor'],_0x32c9fe=(_0xa710f7,_0x324bbf,_0xda1bbc)=>{const {id:_0x57aaf3,authorId:_0x3a3897,type:_0x1ac57e,subType:_0x27cb8b}=O(_0xa710f7['markerName']),_0x55e25a=['ck-suggestion-marker',this['_getClassName'](_0x1ac57e,_0x27cb8b)];let _0x2ebc6e=0xbb8;return!_0xda1bbc&&(this['_activeMarkers']['includes'](_0xa710f7['markerName'])&&(_0x55e25a['push']('ck-suggestion-marker--active'),_0x2ebc6e=0xbc2)),('deletion'==_0x1ac57e&&(_0x2ebc6e+=0x5),{'classes':_0x55e25a,'attributes':{'data-suggestion':_0x57aaf3,'data-author-id':_0x3a3897},'priority':_0x2ebc6e});};_0x3d2f28['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2556da,_0x1b00b4)=>_0x32c9fe(_0x2556da,0x0,!0x1)}),_0x3d2f28['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x32c9e7,_0x4ddf6a)=>_0x32c9fe(_0x32c9e7,0x0,!0x0)}),_0x3d2f28['conversion']['for']('dataDowncast')['add'](_0x3a9bee=>{_0x3a9bee['on']('addMarker:suggestion',(_0x41f6cc,_0x39d994,_0x43830c)=>{if(!_0x43830c['options']['showSuggestionHighlights'])return;const _0x443929=_0x39d994['item'];if(!_0x443929)return;const _0x5c291c=_0x43830c['mapper']['toViewElement'](_0x443929);_0x3d2f28['model']['schema']['isObject'](_0x443929)&&_0x5c291c&&!_0x5c291c['getCustomProperty']('widget')&&_0x5c291c['is']('containerElement')&&_0x26d629(_0x5c291c,_0x43830c['writer']);},{'priority':'high'});});const _0x42ebef=(_0x13f6af,_0x478b0a,_0x2f1e95,_0x237703,_0x52d024)=>{if(_0x237703&&!_0x2f1e95['options']['showSuggestionHighlights'])return;if(!_0x478b0a['item'])return;const {id:_0x5029e1,authorId:_0x3e9e5c,subType:_0x251638}=O(_0x478b0a['markerName']);if(_0x52d024){const _0x3fd3ba=_0x251638['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3fd3ba))return;}if(_0x478b0a['item']['is']('selection'))return void _0x2f1e95['consumable']['consume'](_0x478b0a['item'],_0x13f6af['name']);const _0x199721=_0x2f1e95['mapper']['toViewElement'](_0x478b0a['item']);if(_0x478b0a['item']['is']('element')&&_0x3d2f28['model']['schema']['isBlock'](_0x478b0a['item'])&&!_0x199721['getCustomProperty']('addHighlight')){_0x2f1e95['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x199721),_0x2f1e95['writer']['setAttribute']('data-suggestion',_0x5029e1,_0x199721),_0x2f1e95['writer']['setAttribute']('data-author-id',_0x3e9e5c,_0x199721),_0x2f1e95['mapper']['bindElementToMarker'](_0x199721,_0x478b0a['markerName']),_0x237703||(this['_activeMarkers']['includes'](_0x478b0a['markerName'])?_0x2f1e95['writer']['addClass']('ck-suggestion-marker--active',_0x199721):_0x2f1e95['writer']['removeClass']('ck-suggestion-marker--active',_0x199721));for(const _0x244633 of _0x3d2f28['model']['createRangeIn'](_0x478b0a['item'])['getItems']())_0x2f1e95['consumable']['consume'](_0x244633,_0x13f6af['name']);_0x2f1e95['consumable']['consume'](_0x478b0a['item'],_0x13f6af['name']);}},_0x411f87=(_0x4d9819,_0x57c2a1,_0x4a8ae4,_0x248a73)=>{const _0x42d809=_0x4a8ae4['mapper']['markerNameToElements'](_0x57c2a1['markerName']);if(_0x42d809){if(_0x248a73){const {subType:_0x22b040}=O(_0x57c2a1['markerName']),_0x1059b0=_0x22b040['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1059b0))return;}for(const _0x456e46 of _0x42d809)_0x456e46['getCustomProperty']('addHighlight')||(_0x4a8ae4['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x456e46),_0x4a8ae4['writer']['removeAttribute']('data-suggestion',_0x456e46),_0x4a8ae4['writer']['removeAttribute']('data-author-id',_0x456e46),_0x4a8ae4['mapper']['unbindElementFromMarkerName'](_0x456e46,_0x57c2a1['markerName']));}};_0x3d2f28['conversion']['for']('editingDowncast')['add'](_0x453fa3=>{_0x453fa3['on']('addMarker:suggestion:formatBlock',(_0x60181b,_0x35d821,_0x54e905)=>{_0x42ebef(_0x60181b,_0x35d821,_0x54e905,!0x1,!0x1);},{'priority':'high'});}),_0x3d2f28['conversion']['for']('editingDowncast')['add'](_0x177da9=>{_0x177da9['on']('addMarker:suggestion:attribute',(_0xfd70aa,_0xc0e220,_0x3098a5)=>{_0x42ebef(_0xfd70aa,_0xc0e220,_0x3098a5,!0x1,!0x0);},{'priority':'high'});}),_0x3d2f28['conversion']['for']('editingDowncast')['add'](_0x584e49=>{_0x584e49['on']('removeMarker:suggestion:formatBlock',(_0x19b1b5,_0x37c453,_0x50010b)=>{_0x411f87(0x0,_0x37c453,_0x50010b,!0x1);},{'priority':'high'});}),_0x3d2f28['conversion']['for']('editingDowncast')['add'](_0x2ca18d=>{_0x2ca18d['on']('removeMarker:suggestion:attribute',(_0x1f098d,_0x19d117,_0x303ff0)=>{_0x411f87(0x0,_0x19d117,_0x303ff0,!0x0);},{'priority':'high'});}),_0x3d2f28['conversion']['for']('dataDowncast')['add'](_0x4275b1=>{_0x4275b1['on']('addMarker:suggestion:formatBlock',(_0x298494,_0x22066,_0x573ec5)=>{_0x42ebef(_0x298494,_0x22066,_0x573ec5,!0x0,!0x1);},{'priority':'highest'});}),_0x3d2f28['conversion']['for']('dataDowncast')['add'](_0xa33bf3=>{_0xa33bf3['on']('addMarker:suggestion:attribute',(_0x490ce0,_0x42236c,_0x3f27d0)=>{_0x42ebef(_0x490ce0,_0x42236c,_0x3f27d0,!0x0,!0x0);},{'priority':'highest'});}),_0x3d2f28['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x1e8e56,_0xac1333)=>_0xac1333['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x1e8e56['substr'](0xb)}});const _0x49096d=(_0x2220c1,_0x3c2589,_0x35567e,_0x951439,_0x109875)=>{if(_0x951439&&!_0x35567e['options']['showSuggestionHighlights'])return;if(!_0x35567e['consumable']['test'](_0x3c2589['markerRange'],_0x2220c1['name']))return;const _0x4d323f=this['_activeMarkers'],_0x5b20fd=_0x3c2589['markerRange']['getWalker'](),_0x19b63a=_0x3c2589['markerRange']['start'],_0x5c6bb9=_0x3d2f28['model']['schema'];let _0x3f26c2=null,_0x458188=null,_0x30ace7=!0x1,_0x27d1ff=!0x1;for(const _0x89bfe4 of _0x5b20fd){const _0x3588a7=_0x89bfe4['item'];_0x30ace7=_0x30ace7||_0x5c6bb9['isContent'](_0x3588a7);const _0x1ba419=_0x35567e['mapper']['toViewElement'](_0x3588a7);if(_0x1ba419&&_0x1ba419['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x89bfe4['type']&&(_0x5c6bb9['isBlock'](_0x3588a7)&&!_0x5c6bb9['isLimit'](_0x3588a7)&&(_0x3588a7['nextSibling']||_0x19b63a['isAtEnd']?_0x3f26c2&&_0x3f26c2['parent']==_0x3588a7||(_0x3f26c2=_0x3588a7,_0xd11540(_0x89bfe4['previousPosition']),_0x27d1ff=!0x0):_0x458188=_0x458188||_0x89bfe4['previousPosition']));}function _0xd11540(_0x9fdd1b){const {id:_0x5d1d59,authorId:_0x5b54b4}=O(_0x3c2589['markerName']),_0x2537e1=_0x35567e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x109875,'data-suggestion':_0x5d1d59,'data-author-id':_0x5b54b4}),_0x4ea1fa=_0x35567e['mapper']['toViewPosition'](_0x9fdd1b);!_0x951439&&_0x4d323f['includes'](_0x3c2589['markerName'])&&_0x35567e['writer']['addClass']('ck-suggestion-marker--active',_0x2537e1),_0x35567e['writer']['insert'](_0x4ea1fa,_0x2537e1),_0x35567e['mapper']['bindElementToMarker'](_0x2537e1,_0x3c2589['markerName']);}_0x30ace7||_0x27d1ff||!_0x458188||_0xd11540(_0x458188);};_0x3d2f28['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x15c44d,_0x23f1c3,_0x9e8b4b)=>{_0x49096d(_0x15c44d,_0x23f1c3,_0x9e8b4b,!0x1,'merge');},{'priority':'high'}),_0x3d2f28['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3e58d9,_0x5abd1a,_0x13e235)=>{_0x49096d(_0x3e58d9,_0x5abd1a,_0x13e235,!0x0,'merge');},{'priority':'high'}),_0x3d2f28['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x13ea36,_0x363ad9,_0x4dbb5c)=>{_0x49096d(_0x13ea36,_0x363ad9,_0x4dbb5c,!0x1,'split');},{'priority':'high'}),_0x3d2f28['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x46742a,_0x2860bd,_0x100c9f)=>{_0x49096d(_0x46742a,_0x2860bd,_0x100c9f,!0x0,'split');},{'priority':'high'}),_0x3d2f28['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x321edb,_0x25d305,_0x2e0cfa)=>{((_0xec7dc1,_0x4e5c7a,_0x4e8822)=>{const _0x3b27c7=_0x4e8822['mapper']['markerNameToElements'](_0x4e5c7a['markerName']);if(_0x3b27c7){for(const _0x6eb4a6 of _0x3b27c7)(_0x6eb4a6['hasClass']('ck-suggestion-marker-split')||_0x6eb4a6['hasClass']('ck-suggestion-marker-merge'))&&(_0x4e8822['mapper']['unbindElementFromMarkerName'](_0x6eb4a6,_0x4e5c7a['markerName']),_0x4e8822['writer']['remove'](_0x6eb4a6));}})(0x0,_0x25d305,_0x2e0cfa);},{'priority':'high'});const _0x595a9f=(_0x23a89d,_0xcbd85a,_0x1b0879,_0x421485)=>{if(_0x421485&&!_0x1b0879['options']['showSuggestionHighlights'])return;const _0x2f4b47=_0xcbd85a['markerRange']['start'],_0x49dcdc=_0xcbd85a['markerRange']['end'],_0xd4e7dd=_0x3d2f28['model']['schema'];if(!_0x2f4b47['isTouching'](_0x49dcdc)||!_0x2f4b47['nodeAfter'])return;const _0x195598=_0x2f4b47['nodeAfter'];if(_0xd4e7dd['isBlock'](_0x195598)&&!_0xd4e7dd['isLimit'](_0x195598)&&_0xd4e7dd['checkChild'](_0x195598,'$text')){if(!_0x1b0879['consumable']['consume'](_0xcbd85a['markerRange'],_0x23a89d['name']))return;const {id:_0x368331,authorId:_0x4145a2}=O(_0xcbd85a['markerName']),_0x42af68=_0x1b0879['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x368331,'data-author-id':_0x4145a2}),_0xfc2b60=_0x1b0879['mapper']['toViewPosition'](_0x49dcdc);!_0x421485&&this['_activeMarkers']['includes'](_0xcbd85a['markerName'])&&_0x1b0879['writer']['addClass']('ck-suggestion-marker--active',_0x42af68),_0x1b0879['writer']['insert'](_0xfc2b60,_0x42af68),_0x1b0879['mapper']['bindElementToMarker'](_0x42af68,_0xcbd85a['markerName']);}};_0x3d2f28['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xe820ca,_0x1872af,_0x4f5864)=>{_0x595a9f(_0xe820ca,_0x1872af,_0x4f5864,!0x1);},{'priority':'high'}),_0x3d2f28['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4075c3,_0x593547,_0x2f4ac5)=>{_0x595a9f(_0x4075c3,_0x593547,_0x2f4ac5,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x18e21a,_0x9ee5a1,_0x45eeee)=>{this['_activeMarkers']=_0x45eeee['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x141dbb){this['_blockAttributeKeys']['add'](_0x141dbb);}['registerInlineAttribute'](_0x53f2c8){this['_inlineAttributeKeys']['add'](_0x53f2c8);}['isBlockAttribute'](_0x471ecb){return this['_blockAttributeKeys']['has'](_0x471ecb);}['isInlineAttribute'](_0x3a3cfb){return this['_inlineAttributeKeys']['has'](_0x3a3cfb);}['isRegisteredAttribute'](_0x1f76fe){return this['isInlineAttribute'](_0x1f76fe)||this['isBlockAttribute'](_0x1f76fe);}['_getClassName'](_0xca3195,_0x4d48e4){if('attribute'!=_0xca3195)return'ck-suggestion-marker-'+_0xca3195;const _0x46eb84=_0x4d48e4['split']('|')[0x0];return this['isBlockAttribute'](_0x46eb84)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function z(_0x40cdbd={},_0x38c108){if(void 0x0!==_0x40cdbd['dateTimeFormat']&&'function'!=typeof _0x40cdbd['dateTimeFormat'])throw new _0x4d0000('invalid-date-time-format');return _0x1a170c=>{const _0x5e553d='string'==typeof _0x1a170c?_0x23886e['fromISO'](_0x1a170c):_0x23886e['fromJSDate'](_0x1a170c),_0x79844c=_0x23886e['now'](),_0x53a6f0=Math['floor'](_0x79844c['diff'](_0x5e553d,'days')['days']);return _0x40cdbd['dateTimeFormat']?_0x40cdbd['dateTimeFormat'](_0x5e553d['toJSDate'](),_0x38c108&&_0x38c108['t']?_0x38c108['t']:void 0x0):0x0===_0x53a6f0?_0x38c108?B(_0x38c108,'Today')+'\x20'+_0x5e553d['toFormat']('hh:mma'):_0x5e553d['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x53a6f0?_0x38c108?B(_0x38c108,'Yesterday')+'\x20'+_0x5e553d['toFormat']('hh:mma'):_0x5e553d['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x53a6f0<0x7?_0x38c108?B(_0x38c108,'Last')+'\x20'+B(_0x38c108,_0x5e553d['toFormat']('EEEE'))+'\x20'+_0x5e553d['toFormat']('hh:mma'):_0x5e553d['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x5e553d['toFormat']('LL-dd-yyyy\x20hh:mma');};}function R(_0x39f3e0,_0x3b0a25){const _0x19b39f=_0x39f3e0['mapper']['markerNameToElements'](_0x3b0a25['name']);if(!_0x19b39f)return null;const _0x51982a=_0x11d21b(_0x19b39f['values']());return _0x39f3e0['view']['domConverter']['mapViewToDom'](_0x51982a)||null;}function W(_0x55dd1d,_0x283189){if(0x0===_0x283189['length'])return null;const _0x1e3dd3=[],_0x138e90=_0x55dd1d['view']['domConverter'];for(const _0x2f66d6 of _0x283189){const _0x376589=_0x55dd1d['mapper']['markerNameToElements'](_0x2f66d6['name']);if(!_0x376589)continue;const _0x12a431=Array['from'](_0x376589)['map'](_0x13e17f=>_0x138e90['mapViewToDom'](_0x13e17f))['filter'](_0x41152e=>!!_0x41152e);_0x1e3dd3['push'](..._0x12a431);}if(0x0===_0x1e3dd3['length'])return null;const _0x564827=[];for(const _0x1ddd94 of _0x1e3dd3){const _0x39b969=_0x1ddd94['getClientRects']()['item'](0x0);_0x39b969&&_0x564827['push']({'x':_0x39b969['x'],'y':_0x39b969['y'],'domElement':_0x1ddd94});}return 0x0===_0x564827['length']?null:(_0x564827['sort']((_0x337ee8,_0x2ecaf6)=>_0x337ee8['y']-_0x2ecaf6['y']||_0x337ee8['x']-_0x2ecaf6['x']),_0x564827['map'](_0x2dbd05=>_0x2dbd05['domElement']));}function j(_0x13ef0e,{limit:_0x565db2,suffix:_0x51d679='...'}){const _0x2652ec=[];let _0x393a7d=0x0;const _0x3edc18=_0x13ef0e['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x21832e=0x0;_0x21832e<_0x3edc18['length'];_0x21832e++){let _0x540687=_0x3edc18[_0x21832e];const _0xb652ca=Y(_0x540687);if(_0x540687['startsWith']('<')){if(_0x393a7d>=_0x565db2){const _0x283fbc=_0x540687['match'](/[a-zA-Z]+/);if(!_0x283fbc){_0x3edc18[_0x21832e]='';continue;}const _0x314461=_0x283fbc[0x0];_0x540687['startsWith']('</')?(_0x2652ec['length']&&(_0x540687=''),_0x2652ec['pop']()):(_0x2652ec['push'](_0x314461),_0x540687='');}}else{if(_0x393a7d>=_0x565db2)_0x540687='';else{if(_0x393a7d+_0xb652ca['length']>=_0x565db2){let _0x1f519a=_0x565db2-_0x393a7d;if('\x20'===_0xb652ca[_0x1f519a-0x1])_0x1f519a--;else{const _0x47aa37=_0xb652ca['slice'](_0x1f519a)['indexOf']('\x20');-0x1!==_0x47aa37?_0x1f519a+=_0x47aa37:_0x1f519a=_0x540687['length'];}_0x540687=_0xb652ca['slice'](0x0,_0x1f519a)['join']('')+_0x51d679,_0x393a7d=_0x565db2;}else _0x393a7d+=_0xb652ca['length'];}}_0x3edc18[_0x21832e]=_0x540687;}return _0x3edc18['join']('\x0a')['replace'](/\n/g,'');}function Y(_0x4e8f82){const _0xe21f29=[];for(let _0x495b0f=0x0;_0x495b0f<_0x4e8f82['length'];_0x495b0f++){const _0x1e2681=_0x4e8f82['substring'](_0x495b0f)['match'](/^&[a-z0-9#]+;/);if(_0x1e2681){const _0x420b1c=_0x1e2681[0x0];_0xe21f29['push'](_0x420b1c),_0x495b0f+=_0x420b1c['length']-0x1;}else _0xe21f29['push'](_0x4e8f82[_0x495b0f]);}return _0xe21f29;}class ConfirmView extends _0x53b8cd{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x2bd93e){super(_0x2bd93e);const _0x1eac7e=this['bindTemplate'];this['set']('message',B(_0x2bd93e,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x2bd93e,B(_0x2bd93e,'Yes'),_0x5a79a8,'submit'),this['cancelView']=this['_createButtonView'](_0x2bd93e,B(_0x2bd93e,'No'),_0x3a90ef,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x1e39fc(),this['keystrokes']=new _0x366945(),this['focusCycler']=new _0x48f6c2({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x1eac7e['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x391b60,_0x59df6a,_0x331181,_0x4858ea){const _0x40fcae=new _0x1aa82c(_0x391b60);return _0x40fcae['label']=_0x59df6a,_0x40fcae['icon']=_0x331181,_0x40fcae['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x4858ea}}),_0x40fcae['on']('execute',()=>this['fire'](_0x4858ea)),_0x40fcae;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x1dde07=>{this['keystrokes']['listenTo'](_0x1dde07['element']),this['focusTracker']['add'](_0x1dde07['element']);}),this['keystrokes']['set']('esc',(_0x2a9e09,_0x5dabf7)=>{this['fire']('cancel'),_0x5dabf7();});}}function G(_0x342bd1){return class _0x6a1de3 extends _0x342bd1{['showConfirm'](_0x2cc61c,_0x31079e){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2cc61c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x31079e['appendChild'](this['confirmView']['element']),_0x31079e['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x58b1c8,_0x3f32c4,_0x21bb11)=>{_0x21bb11||_0x31079e['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x72bb38=>this['confirmView']['on']('submit',_0x72bb38));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function J(_0x4fb058){let _0x5e38cd=0x0,_0x2e1440=0x0;for(const _0x318a73 of q(_0x4fb058))_0x5e38cd=(_0x5e38cd<<0x5)-_0x5e38cd+_0x318a73,_0x5e38cd&=_0x5e38cd,[_0x5e38cd,_0x2e1440]=[_0x2e1440,_0x5e38cd];return X(_0x5e38cd)+X(_0x2e1440);}function*K(_0x2c49ae){null==_0x2c49ae||null==_0x2c49ae?yield 0x12b9b0a1:0x0===_0x2c49ae||!0x1===_0x2c49ae?yield 0x0:0x1===_0x2c49ae||0x1==_0x2c49ae?yield 0x1:Array['isArray'](_0x2c49ae)?yield*function*(_0x388855){for(const _0x580db2 of _0x388855)yield*K(_0x580db2);}(_0x2c49ae):'object'==typeof _0x2c49ae?yield*q(_0x2c49ae):'string'==typeof _0x2c49ae?yield*Z(_0x2c49ae):'number'==typeof _0x2c49ae&&(yield _0x2c49ae);}function*q(_0x12fcb2){if(yield Q('{'),_0x12fcb2){const _0xade7ef=Object['keys'](_0x12fcb2)['sort']();for(const _0xc2ab0c of _0xade7ef){yield*Z(_0xc2ab0c),yield Q(':');const _0x406411=_0x12fcb2[_0xc2ab0c];yield*K(_0x406411);}}yield Q('}');}function*Z(_0x5937c4){yield Q('\x22');for(const _0x48c8f7 of _0x5937c4)yield Q(_0x48c8f7);yield Q('\x22');}function Q(_0x2a6707){return _0x2a6707['charCodeAt'](0x0);}function X(_0x10e282){return(_0x10e282*=Math['sign'](_0x10e282))['toString'](0x24);}const tt=['root','roots','initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function st(_0x85ad1c,_0x369012,_0x23e9cd,_0x2c8115=[]){const _0x8ec4a9='string'==typeof _0x85ad1c?_0x23e9cd['get'](_0x85ad1c)['constructor']:_0x85ad1c['prototype']['constructor'];if(_0x369012['has'](_0x8ec4a9))return _0x369012['get'](_0x8ec4a9);_0x369012['set'](_0x8ec4a9,!0x0);const _0x3e2912=[...et,..._0x2c8115]['map'](_0x4c6580=>{if(_0x23e9cd['has'](_0x4c6580))return _0x23e9cd['get'](_0x4c6580)['constructor'];})['filter'](_0x43aac8=>_0x43aac8);if(_0x8ec4a9&&_0x3e2912['includes'](_0x8ec4a9))return _0x369012['set'](_0x8ec4a9,!0x1),!0x1;if(!_0x8ec4a9['requires'])return _0x369012['set'](_0x8ec4a9,!0x0),!0x0;const _0x4798c0=_0x8ec4a9['requires']['every'](_0x5ae3dc=>st(_0x5ae3dc,_0x369012,_0x23e9cd,_0x2c8115));return _0x369012['set'](_0x8ec4a9,_0x4798c0),_0x4798c0;}function it(_0xfd7a0d,_0x4ea8db){const _0x6b9751={};for(const _0x382261 of _0xfd7a0d['config']['names']())tt['includes'](_0x382261)||(_0x6b9751[_0x382261]=_0xfd7a0d['config']['get'](_0x382261));const _0x11a3cd=_0x6b9751['plugins']||[],_0x60f647=_0xfd7a0d['constructor']['builtinPlugins']||[],_0x58f6ff=_0x11a3cd['length']?_0x11a3cd:_0x60f647,_0x1f2056=_0x6b9751['extraPlugins']||[];delete _0x6b9751['extraPlugins'];const _0x546f21=_0x6b9751['removePlugins']||[];delete _0x6b9751['removePlugins'];const _0x26f2d9=_0xfd7a0d['_context']['config']['get']('plugins')||[],_0x22cf3c=_0x58f6ff['concat'](_0x1f2056)['concat'](_0x26f2d9)['map'](_0x2e8529=>'string'==typeof _0x2e8529?_0x60f647['find'](_0x29b40a=>_0x29b40a['pluginName']==_0x2e8529):_0x2e8529)['filter'](_0x2e715f=>!_0x546f21['includes'](_0x2e715f)&&!_0x546f21['includes'](_0x2e715f['pluginName'])),_0xda1ea4=Array['from'](new Set(_0x22cf3c)),_0x4a03c7=new Map();return _0x6b9751['plugins']=_0xda1ea4['filter'](_0x3b8850=>st(_0x3b8850,_0x4a03c7,_0xfd7a0d['plugins'],_0x4ea8db)),_0x6b9751;}function nt(_0x3a6e06,_0xb1a813){const _0x559ab3=[];_0x3a6e06['document']['selection']['on']('change:range',()=>{const _0x12e026=function(_0x3ecb71,_0x3c564a){const _0x4623d1=[];for(const _0x59cde6 of _0x3ecb71['markers']){const _0x453cab=_0x59cde6['getRange']();(_0x453cab['containsPosition'](_0x3c564a)||_0x453cab['start']['isEqual'](_0x3c564a)||_0x453cab['end']['isEqual'](_0x3c564a))&&_0x4623d1['push'](_0x59cde6);}return _0x4623d1;}(_0x3a6e06,_0x3a6e06['document']['selection']['focus']),_0x4a802c=[],_0x144584=[],_0x355fc5=[];for(const _0x23fbac of _0x559ab3)_0x12e026['includes'](_0x23fbac)||_0x4a802c['push'](_0x23fbac);for(const _0x2aa282 of _0x12e026)_0x559ab3['includes'](_0x2aa282)||_0x144584['push'](_0x2aa282),_0x355fc5['push'](_0x2aa282);(_0x4a802c['length']||_0x144584['length'])&&_0xb1a813({'left':_0x4a802c,'entered':_0x144584}),_0x559ab3['length']=0x0,_0x559ab3['push'](..._0x355fc5);});}const ot='Ctrl+Shift+E';function rt(_0xe30cf3,_0x5901a8){const _0x5a07f3=_0xe30cf3['element'];_0xe30cf3['keystrokes']['listenTo'](_0x5a07f3);for(const _0x172f0b of _0x5901a8)at(_0xe30cf3,_0x172f0b);_0x5901a8['on']('change',(_0x1e1996,_0x417334)=>{for(const _0x337860 of _0x417334['removed'])ct(_0xe30cf3,_0x337860);for(const _0x9a7b05 of Array['from'](_0x417334['added'])['reverse']())at(_0xe30cf3,_0x9a7b05);}),_0xe30cf3['keystrokes']['set']('enter',(_0x1ac47f,_0x282305)=>{_0x5a07f3===_0x1ac47f['target']&&(_0xe30cf3['focusCycler']['focusFirst'](),_0x282305());},{'filter':_0x5a6b12=>_0x5a6b12['target']===_0x5a07f3}),_0xe30cf3['keystrokes']['set']('esc',(_0x30f151,_0x5e50b4)=>{_0x5a07f3!==_0x30f151['target']?_0xe30cf3['focus']():_0xe30cf3['fire']('escape'),_0x5e50b4();}),_0xe30cf3['keystrokes']['set']('arrowdown',(_0x2dd9fe,_0x32e9b3)=>{_0x5a07f3===_0x2dd9fe['target']&&(_0xe30cf3['fire']('arrowdown'),_0x32e9b3());}),_0xe30cf3['keystrokes']['set']('arrowup',(_0x309e0c,_0x182f42)=>{_0x5a07f3===_0x309e0c['target']&&(_0xe30cf3['fire']('arrowup'),_0x182f42());});}function at(_0x1100a4,_0x56533c){_0x56533c['isRendered']&&(_0x1100a4['focusTracker']['add'](_0x56533c['element']),_0x1100a4['keystrokes']['listenTo'](_0x56533c['element']),_0x4246bf(_0x56533c)&&function(_0x8283bb,_0xd89bf5){const _0x420ff7=_0x8283bb['actions'],_0x3ab82b=_0xd89bf5['actions'];for(const _0x169a18 of Object['keys'](_0x420ff7))if(_0x169a18 in _0x3ab82b&&_0x420ff7[_0x169a18]!==_0x3ab82b[_0x169a18])return!0x1;return!0x0;}(_0x1100a4['focusCycler'],_0x56533c['focusCycler'])&&_0x1100a4['focusCycler']['chain'](_0x56533c['focusCycler']));}function ct(_0x3cd076,_0x49eecc){_0x3cd076['focusTracker']['remove'](_0x49eecc['element']),_0x3cd076['keystrokes']['stopListening'](_0x49eecc['element']),_0x4246bf(_0x49eecc)&&_0x3cd076['focusCycler']['unchain'](_0x49eecc['focusCycler']);}const lt='$elementId',ut='data-id';class DocumentCompare extends _0x128cd1{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x590f34?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x3f40dd,_0x23c396)=>{_0x23c396['on']('ready',()=>{this['_integrateEditor'](_0x23c396);});});}get['editor'](){if(this['context']instanceof _0x590f34)return this['context'];{const _0x50b989=this['context']['editors']['first'];if(!_0x50b989)throw new _0x4d0000('documentcompare-no-editor',this);return _0x50b989;}}['getDiff'](_0x27d1e8,_0x2a2938,_0x138237={'anchor':'main','markDeletions':!0x1}){const _0x3200d6=_0x138237['targetEditor']||this['editor'];let _0x245ebc,_0x506228;if('string'==typeof _0x138237['anchor']){const _0xf27b64=_0x3200d6['model']['document']['getRoot'](_0x138237['anchor']);if(!_0xf27b64)throw new _0x4d0000('documentcompare-compare-no-root',this,{'anchor':_0x138237['anchor']});_0x245ebc=_0xf27b64,_0x506228=_0x3200d6['model']['createPositionAt'](_0xf27b64,0x0);}else _0x245ebc=_0x138237['anchor']['clone'](),_0x506228=_0x138237['anchor']['clone']();const _0x3e48e9=_0x3200d6['data']['parse'](_0x27d1e8,_0x245ebc),_0x59f3b9=_0x3200d6['data']['parse'](_0x2a2938,_0x245ebc);return new DocumentDiff({'editor':_0x3200d6,'before':_0x3e48e9,'after':_0x59f3b9,'options':{'anchor':_0x506228,'markDeletions':_0x138237['markDeletions']}});}['isMarkedRemoveOperation'](_0xf3430d){return'marker'==_0xf3430d['type']&&_0xf3430d['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x4a1dce){_0x4a1dce['conversion']['for']('upcast')['add'](_0x3678e9=>{_0x3678e9['on']('element',(_0x5e56ee,_0x4a42d5,_0x539cf3)=>{if(_0x4a42d5['modelRange']&&_0x539cf3['consumable']['consume'](_0x4a42d5['viewItem'],{'attributes':'data-id'}))for(const _0x5d31b7 of _0x4a42d5['modelRange']['getItems']({'shallow':!0x0})){if(_0x5d31b7['is']('$textProxy'))continue;const _0x327719=_0x4a42d5['viewItem']['getAttribute'](ut);_0x327719&&_0x539cf3['writer']['setAttribute'](lt,_0x327719,_0x5d31b7);}},{'priority':'low'});}),_0x4a1dce['model']['schema']['addAttributeCheck'](()=>!0x0,lt);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x5b51a9,before:_0x115277,after:_0x26bea9,options:_0x21abac}){this['_editor']=_0x5b51a9,this['_markDeletions']=!!_0x21abac['markDeletions'],this['_anchor']=_0x21abac['anchor'];const _0x1ccd34=this['_tokenizeModel'](_0x115277),_0xbea335=this['_tokenizeModel'](_0x26bea9);this['_diffItems']=this['_diffModelTokens'](_0x1ccd34,_0xbea335),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x115277['markers'],_0x26bea9['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x16765c=this['_editor']['model']['document'],_0x3d0dd5=[];let _0x54cc64=_0x16765c['version'];for(const _0x302ff6 of this['_operationsData'])switch(_0x302ff6['type']){case'attribute':{const _0x542321=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['path']),_0x4c5972=_0x542321['getShiftedBy'](_0x302ff6['howMany']),_0xbd8e93=new _0x474654(_0x542321,_0x4c5972),_0x15a476=JSON['parse'](_0x302ff6['oldValue']),_0x3e784a=JSON['parse'](_0x302ff6['newValue']);_0x3d0dd5['push'](new _0x83065e(_0xbd8e93,_0x302ff6['key'],_0x15a476,_0x3e784a,_0x54cc64++));break;}case'insert':{const _0x284bf0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['path']),_0x14c02c=this['_makeModelFromTokens'](_0x302ff6['tokens']);_0x3d0dd5['push'](new _0x1286d4(_0x284bf0,_0x14c02c,_0x54cc64++));break;}case'remove':{const _0x3c22d7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['path']),_0x11502d=new _0x2a9804(_0x16765c['graveyard'],[0x0]);_0x3d0dd5['push'](new _0x13c6d0(_0x3c22d7,_0x302ff6['howMany'],_0x11502d,_0x54cc64++));break;}case'rename':{const _0x4b7748=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['path']);_0x3d0dd5['push'](new _0x51b964(_0x4b7748,_0x302ff6['oldName'],_0x302ff6['newName'],_0x54cc64++));break;}case'split':{const _0x463930=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['path']),_0x26f557=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['path']['slice'](0x0,-0x1));_0x26f557['offset']++,_0x3d0dd5['push'](new _0x34b93e(_0x463930,Number['NEGATIVE_INFINITY'],_0x26f557,null,_0x54cc64++));break;}case'merge':{const _0xb31505=_0x302ff6['path']['slice'](),_0x80ee49=_0xb31505['slice'](0x0,-0x1);_0x80ee49[_0x80ee49['length']-0x1]++,_0x80ee49['push'](0x0);const _0x4f7313=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x80ee49),_0xb803fd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xb31505),_0x460de2=new _0x2a9804(_0x16765c['graveyard'],[0x0]);_0x3d0dd5['push'](new _0x8d9aa7(_0x4f7313,Number['NEGATIVE_INFINITY'],_0xb803fd,_0x460de2,_0x54cc64++));break;}case'marker':case'markedRemove':{let _0x18ed45=null;if(_0x302ff6['range']){const _0x49a630=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['range']['start']),_0x4f4da1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['range']['end']);_0x18ed45=new _0x474654(_0x49a630,_0x4f4da1);}const _0xed71f3='marker'==_0x302ff6['type']?_0x302ff6['name']:'$markedRemove:'+_0x299d11();_0x3d0dd5['push'](new _0x37c519(_0xed71f3,null,_0x18ed45,_0x16765c['model']['markers'],!0x0,_0x54cc64++));break;}case'unwrap':{const _0x4931ea=_0x302ff6['path']['slice']();_0x4931ea['push'](0x0);const _0x7e3f4=_0x302ff6['path']['slice'](),_0x11b743=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4931ea),_0x51e1e1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x7e3f4),_0x2fbf2b=new _0x2a9804(_0x16765c['graveyard'],[0x0]);_0x3d0dd5['push'](new _0x13c6d0(_0x11b743,_0x302ff6['howMany'],_0x51e1e1,_0x54cc64++)),_0x3d0dd5['push'](new _0x13c6d0(_0x51e1e1['getShiftedBy'](_0x302ff6['howMany']),0x1,_0x2fbf2b,_0x54cc64++));break;}case'wrap':{const _0xf755a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['range']['start']),_0x500729=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x302ff6['range']['end']),_0x61dfb7=_0x302ff6['token']['element']['_clone'](!0x1);_0x61dfb7['_removeAttribute'](lt);const _0x1928da=_0x302ff6['range']['end']['slice']();_0x1928da['push'](0x0);const _0x4debb9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1928da);_0x3d0dd5['push'](new _0x1286d4(_0x500729,_0x61dfb7,_0x54cc64++)),_0x3d0dd5['push'](new _0x13c6d0(_0xf755a,_0x500729['offset']-_0xf755a['offset'],_0x4debb9,_0x54cc64++));break;}}return _0x3d0dd5;}['_tokenizeModel'](_0x3347a1){const _0xd722be=[],_0x28f0ad=_0x474654['_createIn'](_0x3347a1),_0x41b006=new _0x1d3f52({'boundaries':_0x28f0ad});let _0x1a7e65='',_0x1a7c1b=null;const _0x161f00=[''],_0x4487d9=new Map();for(const _0x459b11 of _0x41b006)if('elementStart'==_0x459b11['type']||'elementEnd'==_0x459b11['type']){let _0x4ce6d3=_0x161f00[0x0];''!==_0x1a7e65&&(_0xd722be['push'](...this['_makeTokensFromTextByWords'](_0x1a7e65,_0x1a7c1b,_0x4ce6d3)),_0x1a7e65='');const _0x2e19ab=_0x459b11['item'];let _0x1cc2ca;_0x2e19ab['getAttribute'](lt)?_0x1cc2ca=_0x2e19ab['getAttribute'](lt):'elementStart'==_0x459b11['type']?(_0x1cc2ca=dt(_0x2e19ab),_0x4487d9['set'](_0x2e19ab,_0x1cc2ca)):_0x1cc2ca=_0x4487d9['get'](_0x2e19ab);const _0x492ed0=this['_getElementCategory'](_0x2e19ab);'solid'==_0x492ed0&&('elementStart'==_0x459b11['type']?(_0x4ce6d3=_0x1cc2ca,_0x161f00['unshift'](_0x4ce6d3)):_0x161f00['shift']());const _0x3defa4={'type':'element','element':_0x2e19ab,'elementId':_0x1cc2ca,'category':_0x492ed0,'isStart':'elementStart'==_0x459b11['type'],'limitId':_0x4ce6d3};_0xd722be['push'](_0x3defa4);}else''==_0x1a7e65&&(_0x1a7c1b=_0x459b11['previousPosition']['clone']()),_0x1a7e65+=_0x459b11['item']['data'];return''!==_0x1a7e65&&_0xd722be['push'](...this['_makeTokensFromTextByWords'](_0x1a7e65,_0x1a7c1b,_0x161f00[0x0])),_0xd722be;}['_makeTokensFromTextByWords'](_0x45ad2b,_0x4454ec,_0x4e329d){const _0x577444=_0x45ad2b['matchAll'](/(\s)/g),_0x3a81eb=Array['from'](_0x577444)['map'](_0x320d0f=>_0x320d0f['index']);_0x3a81eb['push'](_0x45ad2b['length']),0x0==_0x3a81eb[0x0]&&_0x3a81eb['shift']();const _0x5b978f=[],_0x17665f=_0x4454ec['parent'];let _0x54e22d=0x0,_0x507f81=_0x4454ec['offset'];for(let _0x7765e2=0x0;_0x7765e2<_0x3a81eb['length'];_0x7765e2++)_0x5b978f['push']({'type':'text','data':_0x45ad2b['slice'](_0x54e22d,_0x3a81eb[_0x7765e2]),'parent':_0x17665f,'offset':_0x507f81,'limitId':_0x4e329d}),_0x54e22d=_0x3a81eb[_0x7765e2],_0x507f81=_0x4454ec['offset']+_0x3a81eb[_0x7765e2];return _0x5b978f;}['_getElementCategory'](_0x168364){const _0x4f3d6e=this['_editor']['model']['schema'];return _0x4f3d6e['isLimit'](_0x168364)||_0x4f3d6e['isContent'](_0x168364)||_0x4f3d6e['isInline'](_0x168364)?'solid':_0x4f3d6e['isBlock'](_0x168364)?'block':function(_0x2769ab,_0x2b0a8b){const _0x2a3a4f=_0x2769ab['parent'];if(!_0x2a3a4f||_0x2a3a4f['is']('documentFragment'))return!0x1;if(_0x2b0a8b['checkChild'](_0x2a3a4f,'$text'))return!0x1;for(const _0x3d84fb of _0x2769ab['getChildren']())if(_0x3d84fb['is']('$text'))return!0x0;return!0x1;}(_0x168364,_0x4f3d6e)?'solid':'container';}['_diffModelTokens'](_0x1ffce3,_0x9158c5){const _0x57a936=_0x337c1d(_0x1ffce3,_0x9158c5,{'comparator':ht});this['_handleUnclosedBlockOpeningTags'](_0x57a936);const _0x1d0306=_0x57a936['flatMap'](_0x388406=>{const _0x481005=_0x388406['added']?'added':_0x388406['removed']?'removed':'unchanged';return _0x388406['value']['map'](_0x321fda=>({'token':_0x321fda,'change':_0x481005}));});let _0x1ae339=0x0;for(const _0x422879 of _0x1d0306)'added'!=_0x422879['change']&&('unchanged'==_0x422879['change']&&(_0x422879['before']=_0x1ffce3[_0x1ae339]),_0x1ae339++);return _0x1d0306;}['_handleUnclosedBlockOpeningTags'](_0x54e333){for(let _0x121243=0x0;_0x121243<_0x54e333['length']-0x1;_0x121243++)if(_0x54e333[_0x121243]['removed']&&_0x54e333[_0x121243+0x1]['added']){const _0x2cbe5c=this['_findUnclosedBlockOpeningToken'](_0x54e333[_0x121243]['value']);if(null!==_0x2cbe5c){const _0x443ff1=this['_findUnclosedBlockOpeningToken'](_0x54e333[_0x121243+0x1]['value']),_0x571049=_0x54e333[_0x121243]['value']['splice'](_0x2cbe5c),_0x21f206=_0x54e333[_0x121243+0x1]['value']['splice'](_0x443ff1),_0x38829b=[_0x21f206['shift']()];_0x571049['shift']();const _0x4f0c73={'value':_0x571049,'removed':!0x0},_0x4fd793={'value':_0x21f206,'added':!0x0},_0x4d958d={'value':_0x38829b};_0x54e333['splice'](_0x121243+0x2,0x0,_0x4d958d,_0x4f0c73,_0x4fd793);}}}['_findUnclosedBlockOpeningToken'](_0x1519f4){let _0x5c51b6=0x0,_0x399e32=-0x1;for(let _0x3c6860=0x0;_0x3c6860<_0x1519f4['length'];_0x3c6860++){const _0x33264a=_0x1519f4[_0x3c6860];'element'==_0x33264a['type']&&'block'==_0x33264a['category']&&(_0x5c51b6+=_0x33264a['isStart']?0x1:-0x1,_0x33264a['isStart']&&(_0x399e32=_0x3c6860));}return 0x0===_0x5c51b6?null:_0x399e32;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x228d22=0x0;_0x228d22<this['_diffItems']['length'];_0x228d22++){const _0xbe47d5=this['_diffItems'][_0x228d22]['change'],_0x26dde8=[];_0x26dde8['push'](this['_diffItems'][_0x228d22]);let _0x229c02=_0x228d22+0x1;for(;this['_diffItems'][_0x229c02]&&this['_diffItems'][_0x229c02]['change']==_0xbe47d5;)_0x26dde8['push'](this['_diffItems'][_0x229c02]),_0x229c02++,_0x228d22++;const _0x25feab=_0x26dde8['map'](_0x4cce0d=>_0x4cce0d['token']);if('unchanged'==_0xbe47d5)_0x26dde8['map'](_0x37c7b5=>_0x37c7b5['before'])['forEach'](_0x3c98e9=>this['_traverseOverItem'](_0x3c98e9));else{if('removed'==_0xbe47d5){if(this['_markDeletions']){const _0x13c676=this['_path']['slice']();_0x25feab['forEach'](_0x566dd2=>this['_traverseOverItem'](_0x566dd2));const _0x5d8121=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x13c676,'end':_0x5d8121}});}else this['_handleChanged'](_0x25feab,!0x0,this['_path']['slice']());}else{const _0x32f8bc=_0x25feab['filter'](_0x344012=>'element'!=_0x344012['type']||'container'!=_0x344012['category']);this['_handleChanged'](_0x32f8bc,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x334d4a=0x0;_0x334d4a<this['_diffItems']['length'];_0x334d4a++){const _0x39c20e=this['_diffItems'][_0x334d4a]['change'],_0x33b372=[];_0x33b372['push'](this['_diffItems'][_0x334d4a]);let _0x53b31f=_0x334d4a+0x1;for(;this['_diffItems'][_0x53b31f]&&this['_diffItems'][_0x53b31f]['change']==_0x39c20e;)_0x33b372['push'](this['_diffItems'][_0x53b31f]),_0x53b31f++,_0x334d4a++;const _0x2bc269=_0x33b372['map'](_0x1277f6=>_0x1277f6['token']);if('unchanged'==_0x39c20e){const _0x2b4d41=_0x33b372['map'](_0x1bc8d4=>_0x1bc8d4['before']);this['_handleUnchanged'](_0x2b4d41,_0x2bc269);}else('added'==_0x39c20e||this['_markDeletions'])&&_0x2bc269['forEach'](_0x454a26=>{'element'==_0x454a26['type']&&_0x454a26['isStart']&&this['_splitPostponedData']['has'](_0x454a26['element'])&&this['_handleSplitPostponedData'](_0x454a26['element'],this['_path']),this['_traverseOverItem'](_0x454a26);});}}['_handleSplitPostponedData'](_0x289595,_0x102039){const _0x7792eb=this['_splitPostponedData']['get'](_0x289595);for(const _0x2d8397 of _0x7792eb)'rename'==_0x2d8397['type']?this['_operationsData']['push']({'type':'rename','path':_0x102039['slice'](),'oldName':_0x2d8397['oldValue'],'newName':_0x289595['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x102039['slice'](),'howMany':0x1,'key':_0x2d8397['key'],'oldValue':_0x2d8397['oldValue'],'newValue':JSON['stringify'](_0x289595['getAttribute'](_0x2d8397['key'])??null)});}['_calculateMarkersOperationsData'](_0x44951b,_0x5c68f4){const _0x251078={};for(const [_0x398377]of _0x44951b)_0x251078[_0x398377]=null;for(const [_0x280c7d,_0x100d4a]of _0x5c68f4)_0x251078[_0x280c7d]=_0x100d4a;const _0x4ad234=Object['entries'](_0x251078)['map'](([_0x1f7e2f,_0x3720bc])=>({'type':'marker','name':_0x1f7e2f,'range':_0x3720bc?{'start':_0x3720bc['start']['path']['slice'](),'end':_0x3720bc['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x4ad234);}['_handleUnwraps'](){const _0x340cb5=new Map(),_0x36f2b5=[],_0x1ea552=[0x0];let _0x1b4d07=this['_diffItems']['length']+0x1;for(let _0x399687=this['_diffItems']['length']-0x1;_0x399687>=0x0;_0x399687--){const {token:_0x66d39a,before:_0x30d37d,change:_0x1b4d69}=this['_diffItems'][_0x399687];if('removed'!=_0x1b4d69&&(_0x1b4d07=_0x399687),'element'!=_0x66d39a['type']||'container'!=_0x66d39a['category']||'added'==_0x1b4d69)continue;const _0x352969=_0x30d37d?_0x30d37d['element']:_0x66d39a['element'];if(_0x66d39a['isStart']){const _0x442a03=_0x340cb5['get'](_0x352969),_0x32b4a8=this['_diffItems'][_0x442a03];('removed'==_0x1b4d69||'removed'==_0x32b4a8['change'])&&_0x1b4d07<_0x442a03&&(this['_operationsData']['push']({'type':'unwrap','path':_0x352969['getPath'](),'howMany':_0x352969['maxOffset']+_0x1ea552[0x0]}),_0x1ea552['shift'](),_0x1ea552[0x0]+=_0x352969['maxOffset']-0x1,_0x36f2b5['push'](_0x399687),_0x36f2b5['push'](_0x442a03));}else _0x340cb5['set'](_0x352969,_0x399687),_0x1ea552['unshift'](0x0);}_0x36f2b5['sort']((_0x56562d,_0x27056e)=>_0x27056e-_0x56562d),_0x36f2b5['forEach'](_0x1f5b31=>{const _0x44baaf=this['_diffItems'][_0x1f5b31];'removed'==_0x44baaf['change']?this['_diffItems']['splice'](_0x1f5b31,0x1):(_0x44baaf['change']='added',delete _0x44baaf['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x56a7e7=[];for(let _0x5cdaf9=0x0;_0x5cdaf9<this['_diffItems']['length'];_0x5cdaf9++){const {change:_0x188730,token:_0x4446f7}=this['_diffItems'][_0x5cdaf9];if('added'==_0x188730&&'element'==_0x4446f7['type']&&'container'==_0x4446f7['category']){if(_0x4446f7['isStart'])_0x56a7e7['push'](this['_path']['slice']());else{if(!_0x4446f7['isStart']){const _0x1afa4e=_0x56a7e7['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x1afa4e,'end':this['_path']['slice']()},'token':_0x4446f7}),this['_path'][this['_path']['length']-0x1]=_0x1afa4e[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x188730||this['_markDeletions'])&&this['_traverseOverItem'](_0x4446f7);}}['_handleUnchanged'](_0x43c0f9,_0x5b723f){for(let _0x15ef8d=0x0;_0x15ef8d<_0x43c0f9['length'];_0x15ef8d++){const _0x285302=_0x43c0f9[_0x15ef8d];if('element'==_0x285302['type']&&_0x285302['isStart']){const _0x532c98=_0x5b723f[_0x15ef8d];'block'==_0x285302['category']&&this['_handleElementRename'](_0x285302['element'],_0x532c98['element'],this['_path']),this['_handleElementAttributeChanges'](_0x285302['element'],_0x532c98['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x532c98);}else{if('element'!=_0x285302['type']||_0x285302['isStart']){if('text'==_0x285302['type']){const _0x51a8a0=this['_path']['slice'](),_0x3b3feb=[],_0x3a7058=[];for(;_0x43c0f9[_0x15ef8d]&&'text'==_0x43c0f9[_0x15ef8d]['type'];)_0x3b3feb['push'](_0x43c0f9[_0x15ef8d]),_0x3a7058['push'](_0x5b723f[_0x15ef8d]),this['_path'][this['_path']['length']-0x1]+=_0x43c0f9[_0x15ef8d]['data']['length'],_0x15ef8d++;_0x15ef8d--,this['_handleTextAttributeChanges'](_0x3b3feb,_0x3a7058,_0x51a8a0);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4ab79b,_0x704270,_0x4fe952){const _0x59e028=[],_0xf6d712=[],_0x257165=_0x4fe952['slice']();let _0x2fa66c=this['_parents']['length']-0x1;for(let _0x33b16d=0x0;_0x33b16d<_0x4ab79b['length'];_0x33b16d++){const _0x53288c=_0x4ab79b[_0x33b16d],_0x554cbc=_0x4fe952['slice']();'element'!=_0x53288c['type']||_0x53288c['isStart']?'element'==_0x53288c['type']&&_0x53288c['isStart']?(_0x4fe952['push'](0x0),_0x2fa66c++,_0xf6d712['push']({'before':_0x554cbc,'after':_0x4fe952['slice'](),'index':_0x33b16d})):_0x4fe952[_0x4fe952['length']-0x1]+=_0x53288c['data']['length']:(_0x4fe952['pop'](),_0x4fe952[_0x4fe952['length']-0x1]++,_0x2fa66c--,_0xf6d712['length']?_0xf6d712['pop']():_0x59e028['push']({'before':_0x554cbc,'after':_0x4fe952['slice'](),'index':_0x33b16d}));}if(_0xf6d712['length']!==_0x59e028['length'])throw new _0x4d0000('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4ab79b,'isRemove':_0x704270});const _0x364a8e=[{'after':_0x257165['slice'](),'index':-0x1},..._0x59e028,..._0xf6d712,{'before':_0x4fe952['slice'](),'index':_0x4ab79b['length']}];if(_0x704270){for(let _0x333ee5=_0x364a8e['length']-0x1;_0x333ee5>=0x1;_0x333ee5--){const _0x5cfc41=_0x364a8e[_0x333ee5-0x1]['after'],_0x45be5e=_0x364a8e[_0x333ee5]['before'],_0x165c0a=_0x45be5e[_0x45be5e['length']-0x1]-_0x5cfc41[_0x5cfc41['length']-0x1];_0x165c0a&&(this['_operationsData']['push']({'type':'remove','path':_0x5cfc41,'howMany':_0x165c0a}),_0x45be5e[_0x45be5e['length']-0x1]-=_0x165c0a);}for(const {before:_0x163d78}of _0x59e028)this['_operationsData']['push']({'type':'merge','path':_0x163d78});}else for(let _0x2ad720=0x0;_0x2ad720<_0x364a8e['length']-0x1;_0x2ad720++){const _0x245ecd=_0x364a8e[_0x2ad720]['after'],_0x54ed00=_0x364a8e[_0x2ad720+0x1]['before'],_0x2a8ee4=_0x364a8e[_0x2ad720]['index']+0x1,_0x47956f=_0x364a8e[_0x2ad720+0x1]['index'];if(_0x2a8ee4!==_0x47956f&&this['_operationsData']['push']({'type':'insert','path':_0x245ecd,'tokens':_0x4ab79b['slice'](_0x2a8ee4,_0x47956f)}),_0x2ad720<_0x59e028['length']){this['_operationsData']['push']({'type':'split','path':_0x54ed00});const _0x21d611=_0x4ab79b[_0xf6d712[_0xf6d712['length']-0x1-_0x2ad720]['index']],_0x3672fd=this['_parents'][_0x2fa66c]['element'];_0x3672fd['name']!=_0x21d611['element']['name']&&this['_addSplitPostponedData'](_0x21d611['element'],{'type':'rename','oldValue':_0x3672fd['name']});const _0x523e29=this['_getAttributeChanges'](_0x3672fd['getAttributes'](),_0x21d611['element']['getAttributes']());for(const _0x2571bf in _0x523e29){const _0xf8d86b=_0x523e29[_0x2571bf]['oldValue'];this['_addSplitPostponedData'](_0x21d611['element'],{'type':'attribute','key':_0x2571bf,'oldValue':_0xf8d86b});}}}}['_addSplitPostponedData'](_0x151978,_0x59613e){const _0x1e482a=this['_splitPostponedData']['get'](_0x151978)||[];_0x1e482a['push'](_0x59613e),this['_splitPostponedData']['set'](_0x151978,_0x1e482a);}['_traverseOverItem'](_0x1fc38e){'element'==_0x1fc38e['type']&&_0x1fc38e['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x1fc38e)):'element'!=_0x1fc38e['type']||_0x1fc38e['isStart']?'text'==_0x1fc38e['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x1fc38e['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x56edc6,_0x2da49f,_0x3f6704){_0x56edc6['name']!=_0x2da49f['name']&&this['_operationsData']['push']({'type':'rename','path':_0x3f6704['slice'](),'oldName':_0x56edc6['name'],'newName':_0x2da49f['name']});}['_handleElementAttributeChanges'](_0x4c536f,_0x4e3061,_0x5cc2dd){const _0x4fc1b1=this['_getAttributeChanges'](_0x4c536f['getAttributes'](),_0x4e3061['getAttributes']());for(const _0x2b8d5c in _0x4fc1b1){const {oldValue:_0x943861,newValue:_0x378f0d}=_0x4fc1b1[_0x2b8d5c];this['_operationsData']['push']({'type':'attribute','path':_0x5cc2dd['slice'](),'howMany':0x1,'key':_0x2b8d5c,'oldValue':_0x943861,'newValue':_0x378f0d});}}['_handleTextAttributeChanges'](_0x435305,_0x1f2688,_0x4ba19f){const _0x33c898=this['_operationsData'],_0x51c592=_0x435305[0x0]['parent'],_0x211b2f=_0x435305[0x0]['offset'],_0x409e4f=_0x1f2688[0x0]['parent'],_0x439d20=_0x1f2688[0x0]['offset'],_0x21e16e=_0x435305['reduce']((_0x162876,_0xe3f308)=>_0x162876+_0xe3f308['data']['length'],0x0),_0x3e168d=this['_getAttrsForOffsets'](_0x51c592,_0x211b2f,_0x21e16e),_0xd47e09=this['_getAttrsForOffsets'](_0x409e4f,_0x439d20,_0x21e16e),_0xe19653={};for(let _0x408756=0x0;_0x408756<_0x21e16e;_0x408756++){const _0x21d115=_0x3e168d[_0x211b2f+_0x408756],_0x21b2c7=_0xd47e09[_0x439d20+_0x408756],_0x50a19b=this['_getAttributeChanges'](_0x21d115,_0x21b2c7);for(const _0x3976d4 in _0xe19653)_0x50a19b[_0x3976d4]||_0x4068cd(_0x3976d4);for(const _0xd80b8b in _0x50a19b){const {oldValue:_0x5106a4,newValue:_0x58ce6c}=_0x50a19b[_0xd80b8b],_0x2ae48f=_0xe19653[_0xd80b8b];_0x2ae48f?_0x2ae48f['oldValue']==_0x5106a4&&_0x2ae48f['newValue']==_0x58ce6c?_0x2ae48f['length']++:(_0x4068cd(_0xd80b8b),_0xe19653[_0xd80b8b]={'oldValue':_0x5106a4,'newValue':_0x58ce6c,'start':_0x408756,'length':0x1}):_0xe19653[_0xd80b8b]={'oldValue':_0x5106a4,'newValue':_0x58ce6c,'start':_0x408756,'length':0x1};}}for(const _0x228bdf in _0xe19653)_0x4068cd(_0x228bdf);function _0x4068cd(_0x185d96){const _0x5eac62=_0xe19653[_0x185d96],_0x480369=_0x4ba19f['slice']();_0x480369[_0x480369['length']-0x1]+=_0x5eac62['start'],_0x33c898['push']({'type':'attribute','path':_0x480369,'howMany':_0x5eac62['length'],'key':_0x185d96,'oldValue':_0x5eac62['oldValue'],'newValue':_0x5eac62['newValue']}),delete _0xe19653[_0x185d96];}}['_getAttributeChanges'](_0x33318d,_0x56b7fb){const _0x5276cf={};for(const [_0x36ca5d,_0x2c1783]of _0x33318d)_0x5276cf[_0x36ca5d]={'oldValue':JSON['stringify'](_0x2c1783),'newValue':'null'};for(const [_0x1950bf,_0xb7b29c]of _0x56b7fb){const _0x266cb5=JSON['stringify'](_0xb7b29c);_0x5276cf[_0x1950bf]?_0x5276cf[_0x1950bf]['oldValue']==_0x266cb5?delete _0x5276cf[_0x1950bf]:_0x5276cf[_0x1950bf]['newValue']=_0x266cb5:_0x5276cf[_0x1950bf]={'oldValue':'null','newValue':_0x266cb5};}return delete _0x5276cf[lt],_0x5276cf;}['_getAttrsForOffsets'](_0x48455c,_0x29daeb,_0x227acf){const _0x84abfb=new Array(_0x29daeb+_0x227acf);let _0x5575ae=_0x48455c['getChildAtOffset'](_0x29daeb),_0xd73223=_0x5575ae['startOffset'];for(;_0x5575ae&&_0xd73223<_0x29daeb+_0x227acf;){const _0x4eb385=Array['from'](_0x5575ae['getAttributes']());_0x84abfb['fill'](_0x4eb385,_0xd73223,_0xd73223+_0x5575ae['offsetSize']),_0xd73223+=_0x5575ae['offsetSize'],_0x5575ae=_0x5575ae['nextSibling'];}return _0x84abfb;}['_getPositionFromAnchorAndPath'](_0x54f3e5,_0x1f4857){const _0x2b0c24=[..._0x54f3e5['path']['slice'](0x0,-0x1),_0x54f3e5['offset']+_0x1f4857[0x0],..._0x1f4857['slice'](0x1)];return new _0x2a9804(_0x54f3e5['root'],_0x2b0c24);}['_makeModelFromTokens'](_0x4f7a7a){const _0x3907c8=[];let _0x2d3c71=null;for(const _0x281244 of _0x4f7a7a)if('element'!=_0x281244['type']||_0x281244['isStart']||_0x2d3c71!=_0x281244['element']){if(!_0x2d3c71){if('text'==_0x281244['type']){const _0x232eeb=_0x2a9804['_createAt'](_0x281244['parent'],_0x281244['offset']),_0x1c2b93=_0x474654['_createFromPositionAndShift'](_0x232eeb,_0x281244['data']['length']),_0x5074bd=Array['from'](_0x1c2b93['getItems']())['map'](_0x1e3070=>new _0x3ab9df(_0x1e3070['data'],_0x1e3070['getAttributes']()));_0x3907c8['push'](..._0x5074bd);}else{_0x2d3c71=_0x281244['element'];const _0x3d9fa2=_0x281244['element']['_clone'](!0x0);_0x3d9fa2['_removeAttribute'](lt);for(const _0x3deb40 of this['_editor']['model']['createRangeIn'](_0x3d9fa2)['getItems']())_0x3deb40['is']('element')&&_0x3deb40['_removeAttribute'](lt);_0x3907c8['push'](_0x3d9fa2);}}}else _0x2d3c71=null;return _0x3907c8;}}function ht(_0x2fa403,_0x2c28a2){return _0x2fa403['type']===_0x2c28a2['type']&&(_0x2fa403['limitId']===_0x2c28a2['limitId']&&('text'==_0x2fa403['type']?_0x2fa403['data']==_0x2c28a2['data']:function(_0x1a5e14,_0x24af3d){if(_0x1a5e14['isStart']!=_0x24af3d['isStart'])return!0x1;if(_0x1a5e14['isStart']&&_0x1a5e14['elementId']!=_0x24af3d['elementId'])return!0x1;if(_0x1a5e14['category']!=_0x24af3d['category'])return!0x1;if('block'==_0x1a5e14['category'])return!0x0;if('container'==_0x1a5e14['category']&&_0x1a5e14['elementId']!=_0x24af3d['elementId'])return!0x1;return _0x1a5e14['element']['name']==_0x24af3d['element']['name'];}(_0x2fa403,_0x2c28a2)));}function dt(_0x34e61f){return J({'name':_0x34e61f['name'],...Object['fromEntries'](_0x34e61f['getAttributes']())});}export{AriaDescriptionView,CollaborationUserColor,G as ConfirmMixin,lt as DATA_ID_MODEL_ATTRIBUTE,ut as DATA_ID_VIEW_ATTRIBUTE,DocumentCompare,DocumentDiff,ot as FOCUS_ANNOTATION_KEYSTROKE,LateFocusButtonView,LateFocusDropdownButtonView,Permissions,SuggestionsConversion,User,UserView,Users,U as fixElementSuggestionRange,W as getAllMarkersDomElementsSorted,z as getDateTimeFormatter,R as getMarkerDomElement,J as hashObject,it as sanitizeEditorConfig,rt as setupThreadKeyboardNavigation,O as splitSuggestionMarkerName,nt as surroundingMarkersDetector,j as trimHtml};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x52bf12=>0x1!=_0x52bf12}};
23
+ export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x124d00=>0x1!=_0x124d00}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e4c92=>{const {af:{dictionary:_0x9ae641,getPluralForm:_0x17fcf2}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2dbb4c=>0x1!=_0x2dbb4c}};_0x4e4c92['af']||={'dictionary':{},'getPluralForm':null},_0x4e4c92['af']['dictionary']=Object['assign'](_0x4e4c92['af']['dictionary'],_0x9ae641),_0x4e4c92['af']['getPluralForm']=_0x17fcf2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x44620e=>{const {af:{dictionary:_0x182dd1,getPluralForm:_0x59d20a}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x5351fe=>0x1!=_0x5351fe}};_0x44620e['af']||={'dictionary':{},'getPluralForm':null},_0x44620e['af']['dictionary']=Object['assign'](_0x44620e['af']['dictionary'],_0x182dd1),_0x44620e['af']['getPluralForm']=_0x59d20a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x4f9baf=>0x0==_0x4f9baf?0x0:0x1==_0x4f9baf?0x1:0x2==_0x4f9baf?0x2:_0x4f9baf%0x64>=0x3&&_0x4f9baf%0x64<=0xa?0x3:_0x4f9baf%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x39b057=>0x0==_0x39b057?0x0:0x1==_0x39b057?0x1:0x2==_0x39b057?0x2:_0x39b057%0x64>=0x3&&_0x39b057%0x64<=0xa?0x3:_0x39b057%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4471bc=>{const {ar:{dictionary:_0x35a9ce,getPluralForm:_0x6fe14f}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x3bee98=>0x0==_0x3bee98?0x0:0x1==_0x3bee98?0x1:0x2==_0x3bee98?0x2:_0x3bee98%0x64>=0x3&&_0x3bee98%0x64<=0xa?0x3:_0x3bee98%0x64>=0xb?0x4:0x5}};_0x4471bc['ar']||={'dictionary':{},'getPluralForm':null},_0x4471bc['ar']['dictionary']=Object['assign'](_0x4471bc['ar']['dictionary'],_0x35a9ce),_0x4471bc['ar']['getPluralForm']=_0x6fe14f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x217298=>{const {ar:{dictionary:_0x59a3c9,getPluralForm:_0x545d23}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0xd3ce52=>0x0==_0xd3ce52?0x0:0x1==_0xd3ce52?0x1:0x2==_0xd3ce52?0x2:_0xd3ce52%0x64>=0x3&&_0xd3ce52%0x64<=0xa?0x3:_0xd3ce52%0x64>=0xb?0x4:0x5}};_0x217298['ar']||={'dictionary':{},'getPluralForm':null},_0x217298['ar']['dictionary']=Object['assign'](_0x217298['ar']['dictionary'],_0x59a3c9),_0x217298['ar']['getPluralForm']=_0x545d23;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2efcb8=>0x1!=_0x2efcb8}};
23
+ export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3ef13d=>0x1!=_0x3ef13d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13eca8=>{const {ast:{dictionary:_0x8183d9,getPluralForm:_0x392c82}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x31d109=>0x1!=_0x31d109}};_0x13eca8['ast']||={'dictionary':{},'getPluralForm':null},_0x13eca8['ast']['dictionary']=Object['assign'](_0x13eca8['ast']['dictionary'],_0x8183d9),_0x13eca8['ast']['getPluralForm']=_0x392c82;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8b9408=>{const {ast:{dictionary:_0x43bb17,getPluralForm:_0x589b2f}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x70b171=>0x1!=_0x70b171}};_0x8b9408['ast']||={'dictionary':{},'getPluralForm':null},_0x8b9408['ast']['dictionary']=Object['assign'](_0x8b9408['ast']['dictionary'],_0x43bb17),_0x8b9408['ast']['getPluralForm']=_0x589b2f;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2de2e9=>0x1!=_0x2de2e9}};
23
+ export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x13ae3d=>0x1!=_0x13ae3d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xe4514c=>{const {az:{dictionary:_0xa36879,getPluralForm:_0x486e35}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3e5165=>0x1!=_0x3e5165}};_0xe4514c['az']||={'dictionary':{},'getPluralForm':null},_0xe4514c['az']['dictionary']=Object['assign'](_0xe4514c['az']['dictionary'],_0xa36879),_0xe4514c['az']['getPluralForm']=_0x486e35;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x158482=>{const {az:{dictionary:_0x2cbe7d,getPluralForm:_0x5dcb92}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x369cd9=>0x1!=_0x369cd9}};_0x158482['az']||={'dictionary':{},'getPluralForm':null},_0x158482['az']['dictionary']=Object['assign'](_0x158482['az']['dictionary'],_0x2cbe7d),_0x158482['az']['getPluralForm']=_0x5dcb92;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x410eed=>_0x410eed%0xa==0x1&&_0x410eed%0x64!=0xb?0x0:_0x410eed%0xa>=0x2&&_0x410eed%0xa<=0x4&&(_0x410eed%0x64<0xa||_0x410eed%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1a9073=>_0x1a9073%0xa==0x1&&_0x1a9073%0x64!=0xb?0x0:_0x1a9073%0xa>=0x2&&_0x1a9073%0xa<=0x4&&(_0x1a9073%0x64<0xa||_0x1a9073%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33153c=>{const {be:{dictionary:_0x3cbb9f,getPluralForm:_0x1c0430}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x321da1=>_0x321da1%0xa==0x1&&_0x321da1%0x64!=0xb?0x0:_0x321da1%0xa>=0x2&&_0x321da1%0xa<=0x4&&(_0x321da1%0x64<0xa||_0x321da1%0x64>=0x14)?0x1:0x2}};_0x33153c['be']||={'dictionary':{},'getPluralForm':null},_0x33153c['be']['dictionary']=Object['assign'](_0x33153c['be']['dictionary'],_0x3cbb9f),_0x33153c['be']['getPluralForm']=_0x1c0430;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x152d5d=>{const {be:{dictionary:_0x1e704a,getPluralForm:_0x186ebf}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4c7757=>_0x4c7757%0xa==0x1&&_0x4c7757%0x64!=0xb?0x0:_0x4c7757%0xa>=0x2&&_0x4c7757%0xa<=0x4&&(_0x4c7757%0x64<0xa||_0x4c7757%0x64>=0x14)?0x1:0x2}};_0x152d5d['be']||={'dictionary':{},'getPluralForm':null},_0x152d5d['be']['dictionary']=Object['assign'](_0x152d5d['be']['dictionary'],_0x1e704a),_0x152d5d['be']['getPluralForm']=_0x186ebf;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x5c6a27=>0x1!=_0x5c6a27}};
23
+ export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0xfc28d5=>0x1!=_0xfc28d5}};