@ckeditor/ckeditor5-collaboration-core 48.2.0-alpha.5 → 48.2.0-alpha.6

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 _0x5f4d50,Editor as _0x13ecb9,Plugin as _0x393882}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x567c0e,Collection as _0x128c5a,uid as _0x5a10eb,toArray as _0x220abb,first as _0x1d19c4,FocusTracker as _0x53a071,KeystrokeHandler as _0x2791dd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x45be95,IconView as _0x59ea30,ButtonView as _0x5d82e5,DropdownButtonView as _0xdd1e8d,FocusCycler as _0xd272a1,isViewWithFocusCycler as _0x7bf6d9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x11cb97,IconCheck as _0x181c6a,IconCancel as _0x104c29}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x1ec96e,toWidget as _0x48cc44}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x513239}from'luxon';import{InsertOperation as _0x8fd55f,MoveOperation as _0x705622,ModelPosition as _0x6b9db2,ModelRange as _0x326622,MarkerOperation as _0xeb30b8,MergeOperation as _0x188696,SplitOperation as _0x50165a,RenameOperation as _0x22d213,AttributeOperation as _0x2ca4e3,ModelTreeWalker as _0x2de74f,ModelText as _0x1f4480}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x14add3}from'diff';class Permissions extends _0x5f4d50{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x1f6514,_0x22cc74){let _0x30ac9c;if(_0x22cc74||(_0x22cc74=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x22cc74?_0x30ac9c=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x30ac9c=this['context']['editors']['find'](_0x1db488=>_0x1db488['config']['get']('collaboration.channelId')==_0x22cc74)),!_0x30ac9c)throw new _0x567c0e('permissions-set-permissions-invalid-channel-id',null);const _0xb730e=_0x30ac9c['plugins'],_0x3d45b1=_0xb730e['has']('CommentsRepository')?_0xb730e['get']('CommentsRepository'):void 0x0,_0x4a8c9a=_0xb730e['has']('CommentsOnly')&&_0xb730e['get']('CommentsOnly'),_0x580c85=_0x1f6514['includes']('document:write'),_0x3b0a36=_0x1f6514['includes']('comment:modify_all'),_0xe7cfed=_0x1f6514['includes']('comment:admin'),_0xed2252=_0x1f6514['includes']('comment:write'),_0x4b8142=_0xed2252||_0xe7cfed,_0x36a2e3=_0x4b8142||_0x3b0a36,_0x3de337=_0x580c85||_0x4b8142;(_0x4a8c9a&&(_0x4a8c9a['isEnabled']=!_0x580c85&&_0x36a2e3),_0x30ac9c instanceof _0x13ecb9)&&(!(_0x580c85||_0x36a2e3&&_0x3d45b1)?_0x30ac9c['enableReadOnlyMode']('no-permissions'):_0x30ac9c['disableReadOnlyMode']('no-permissions'));if(_0x3d45b1){_0x3d45b1['setPermissions']({'admin':_0xe7cfed,'modifyAll':_0x3b0a36,'write':_0xed2252,'resolve':_0x3de337},_0x22cc74);const _0x34e9ea=_0x30ac9c instanceof _0x13ecb9&&_0x30ac9c['commands']['get']('addCommentThread');_0x34e9ea&&(_0x4b8142?_0x34e9ea['clearForceDisabled']('noPermissions'):_0x34e9ea['forceDisabled']('noPermissions'));}}}function B(_0x243ed3,_0x38542c){const t=_0x243ed3['t'];switch(_0x38542c){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 _0x5f4d50{['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(_0x2d9ff8){super(_0x2d9ff8),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x128c5a(),this['_locale']=_0x2d9ff8['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:_0x2c7468,name:_0x2b1804,..._0xa7eea9}){if(!_0x2c7468||'string'!=typeof _0x2c7468)throw new _0x567c0e('users-add-invalid-id');if(this['users']['has'](_0x2c7468))throw new _0x567c0e('users-add-duplicated-id',null,{'id':_0x2c7468});const _0x4c6839=this['context']['config']['get']('users.getInitialsCallback'),_0x14979b={..._0xa7eea9,'id':_0x2c7468,'name':N(this['_locale'],_0x2b1804),'color':this['_getNextColor']()};_0x14979b['name']=N(this['_locale'],_0x14979b['name']);const _0x60072=new User(_0x14979b,_0x4c6839);return this['users']['add'](_0x60072),_0x60072;}['getUser'](_0x2e49d2){return this['users']['get'](_0x2e49d2);}['useAnonymousUser'](){const _0x41bb43=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x41bb43);}['defineMe'](_0x5a72b5){if(this['_myId'])throw new _0x567c0e('users-me-already-defined',null);const _0x2b494f=this['getUser'](_0x5a72b5);if(!_0x2b494f)throw new _0x567c0e('users-me-missing-user',null);this['_myId']=_0x5a72b5,_0x2b494f['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x3b0e70=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3b0e70&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x5e46a5=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x5e46a5,'name':B(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x581fd9,_0x5637e5){this['id']=_0x581fd9['id'],this['color']=_0x581fd9['color'],this['name']=_0x581fd9['name'],this['initials']=_0x5637e5?_0x5637e5(this['name']):this['_computeInitials'](),this['avatar']=_0x581fd9['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x4b01a1=this['name']['split']('\x20')['filter'](_0x178004=>/^[\p{Letter}]/u['test'](_0x178004));return 0x1===_0x4b01a1['length']?this['_getInitial'](_0x4b01a1[0x0]):0x0===_0x4b01a1['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x4b01a1[0x0])+this['_getInitial'](_0x4b01a1[_0x4b01a1['length']-0x1]);}['_getInitial'](_0x59e248){return String['fromCodePoint'](_0x59e248['codePointAt'](0x0))['toUpperCase']();}}function N(_0x5d35f8,_0x22664d=''){return''==(_0x22664d=_0x22664d['trim']())?B(_0x5d35f8,'Anonymous'):_0x22664d;}class CollaborationUserColor{['_id'];constructor(_0x30b9f4){this['_id']=_0x30b9f4;}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 _0x45be95{['name'];['notificationView'];constructor(_0x302006,_0x1b25c4,_0x4ec77e){super(_0x302006),this['name']=_0x1b25c4['name'],this['notificationView']=null;const _0xf51651=['ck','ck-user'],_0x5ebe8c=['ck','ck-user__img'];if(_0x1b25c4['isAnonymous']&&_0x5ebe8c['push']('ck-user__anonymous'),!_0x1b25c4['isAnonymous']&&_0x1b25c4['isMe']&&_0xf51651['push']('ck-user_me'),_0x1b25c4['avatar']&&_0x5ebe8c['push']('ck-user__avatar'),_0x4ec77e){const _0x472b1f=new _0x59ea30();_0x472b1f['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x472b1f['content']=_0x11cb97,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4ec77e},'children':[_0x472b1f]};}const _0x649f90=[{'tag':'div','attributes':{'class':_0x5ebe8c,'style':{'background-image':_0x1b25c4['avatar']?'url(\x27'+_0x1b25c4['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1b25c4['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x1b25c4['name']},'children':[{'text':_0x1b25c4['initials']}]}];this['notificationView']&&_0x649f90['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0xf51651,'data-user-id':_0x1b25c4['id']},'children':_0x649f90});}}class AriaDescriptionView extends _0x45be95{['id'];constructor(_0x70e00,_0x194573){super(_0x70e00),this['id']='ck-aria-description-'+_0x5a10eb(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x194573}]});}}class LateFocusButtonView extends _0x5d82e5{['render'](){super['render'](),H(this);}}class LateFocusDropdownButtonView extends _0xdd1e8d{['render'](){super['render'](),H(this);}}function H(_0x2a9915){_0x2a9915['listenTo'](_0x2a9915['element'],'mousedown',(_0x101d47,_0x1da413)=>{_0x1da413['stopPropagation'](),_0x1da413['preventDefault']();}),_0x2a9915['listenTo'](_0x2a9915['element'],'mouseup',()=>{_0x2a9915['element']['focus']();});}function O(_0x2e5492){const _0x54a429=_0x2e5492['split'](':');return{'group':_0x54a429[0x0],'type':_0x54a429[0x1],'subType':_0x54a429['length']>=0x5?_0x54a429[0x2]:null,'id':_0x54a429['length']<0x5?_0x54a429[0x2]:_0x54a429[0x3],'authorId':_0x54a429['length']<0x5?_0x54a429[0x3]:_0x54a429[0x4],'markerCount':0x6==_0x54a429['length']?_0x54a429[0x5]:null};}function U(_0x27f883,_0x4e53a4){const _0x228278=_0x27f883['end']['nodeBefore'];if(_0x228278&&_0x228278['is']('element')&&_0x4e53a4['schema']['isBlock'](_0x228278)&&!_0x4e53a4['schema']['isObject'](_0x228278)){const _0x224fa1=_0x4e53a4['createPositionAt'](_0x228278,'end');return _0x4e53a4['createRange'](_0x27f883['start'],_0x224fa1);}return _0x27f883;}class SuggestionsConversionAlignment extends _0x393882{['afterInit'](){const _0x134c8d=this['editor'];if(!_0x134c8d['plugins']['has']('AlignmentEditing'))return;_0x134c8d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const $=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x393882{['afterInit'](){const _0x1ee8a1=this['editor'],_0x4ce511=_0x1ee8a1['plugins']['get']('SuggestionsConversion');for(const _0x30f8ac of $){if(!_0x1ee8a1['plugins']['has'](_0x30f8ac))continue;const _0x4a25df=_0x30f8ac['slice'](0x0,-0x7)['toLowerCase']();_0x4ce511['registerInlineAttribute'](_0x4a25df);}}}class SuggestionsConversionBookmark extends _0x393882{['afterInit'](){const _0x185d83=this['editor'],_0x3c7188=_0x185d83['plugins']['get']('SuggestionsConversion');_0x185d83['plugins']['has']('BookmarkEditing')&&_0x3c7188['registerBlockAttribute']('bookmarkId');}}const F=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x393882{['afterInit'](){const _0x5c6df0=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x7194e3,commandName:_0x2f76eb}of F)this['editor']['plugins']['has'](_0x7194e3)&&_0x5c6df0['registerInlineAttribute'](_0x2f76eb);}}class SuggestionsConversionFootnotes extends _0x393882{['afterInit'](){const {editor:_0xcb3536}=this;if(!_0xcb3536['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x4919d9=_0xcb3536['plugins']['get']('SuggestionsConversion');_0x4919d9['registerBlockAttribute']('footnotesListStyle'),_0x4919d9['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x393882{['afterInit'](){const _0x9a4e9f=this['editor'];if(!_0x9a4e9f['plugins']['has']('GeneralHtmlSupport')||!_0x9a4e9f['plugins']['has']('DataSchema'))return;const _0x275c9e=_0x9a4e9f['plugins']['get']('SuggestionsConversion'),_0x34474d=_0x9a4e9f['plugins']['get']('GeneralHtmlSupport'),_0x2d5760=_0x9a4e9f['plugins']['get']('DataSchema');for(const _0x16a58b of _0x2d5760['getDefinitionsForView'](/.*/,!0x1)){const _0x2ecd8b=_0x34474d['getGhsAttributeNameForElement'](_0x16a58b['view']);_0x16a58b['isInline']&&!_0x16a58b['isObject']&&!('appliesToBlock'in _0x16a58b&&_0x16a58b['appliesToBlock'])?_0x275c9e['registerInlineAttribute'](_0x2ecd8b):_0x275c9e['registerBlockAttribute'](_0x2ecd8b);}}}class SuggestionsConversionHighlight extends _0x393882{['afterInit'](){const _0x34bf32=this['editor'];if(!_0x34bf32['plugins']['has']('HighlightEditing'))return;_0x34bf32['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x393882{['afterInit'](){const _0xc43a31=this['editor'];if(!_0xc43a31['plugins']['has']('HtmlEmbed'))return;_0xc43a31['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x393882{['afterInit'](){const _0x4e1215=this['editor'];if(!_0x4e1215['plugins']['has']('ImageEditing'))return;const _0x18a350=_0x4e1215['plugins']['get']('SuggestionsConversion');_0x18a350['registerBlockAttribute']('src'),_0x4e1215['plugins']['has']('ImageResize')&&_0x18a350['registerBlockAttribute']('resizedWidth'),_0x4e1215['plugins']['has']('ImageTextAlternativeEditing')&&_0x18a350['registerBlockAttribute']('alt'),_0x4e1215['plugins']['has']('PictureEditing')&&_0x18a350['registerBlockAttribute']('sources'),_0x4e1215['plugins']['has']('ImageSizeAttributes')&&(_0x18a350['registerBlockAttribute']('width'),_0x18a350['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x393882{['afterInit'](){const _0x287562=this['editor'],_0x4459d8=_0x287562['plugins']['get']('SuggestionsConversion');_0x287562['plugins']['has']('IndentBlock')&&(_0x4459d8['registerBlockAttribute']('blockIndent'),_0x287562['plugins']['has']('ListEditing')&&(_0x4459d8['registerBlockAttribute']('blockIndentList'),_0x4459d8['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x393882{['afterInit'](){const _0x298d0e=this['editor'];if(!_0x298d0e['plugins']['has']('LineHeight'))return;_0x298d0e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x393882{['afterInit'](){const _0x255059=this['editor'];if(!_0x255059['plugins']['has']('LinkEditing'))return;const _0x84294e=_0x255059['plugins']['get']('SuggestionsConversion'),_0x215039=_0x255059['commands']['get']('link');_0x84294e['registerInlineAttribute']('linkHref');for(const _0x4d7c86 of _0x215039['manualDecorators'])_0x84294e['registerInlineAttribute'](_0x4d7c86['id']);}}class SuggestionsConversionList extends _0x393882{['afterInit'](){const _0x10a6f0=this['editor'];if(!_0x10a6f0['plugins']['has']('ListEditing'))return;const _0x2633a4=_0x10a6f0['plugins']['get']('SuggestionsConversion'),_0x19ce55=_0x10a6f0['plugins']['has']('TodoListEditing');_0x2633a4['registerBlockAttribute']('listItemId'),_0x2633a4['registerBlockAttribute']('listType'),_0x2633a4['registerBlockAttribute']('listIndent'),_0x19ce55&&_0x2633a4['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x393882{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1e20a8=this['editor']['config']['get']('list.properties'),_0x345d64=this['editor']['plugins']['get']('SuggestionsConversion');_0x1e20a8['styles']&&_0x345d64['registerBlockAttribute']('listStyle'),_0x1e20a8['reversed']&&_0x345d64['registerBlockAttribute']('listReversed'),_0x1e20a8['startIndex']&&_0x345d64['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x393882{['afterInit'](){const _0x47d144=this['editor'],_0x4e4c87=_0x47d144['plugins']['get']('SuggestionsConversion');_0x47d144['plugins']['has']('MultiLevelList')&&_0x4e4c87['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x393882{['afterInit'](){const _0x55f446=this['editor'];if(!_0x55f446['plugins']['has']('TableEditing'))return;const _0x5ae845=_0x55f446['plugins']['get']('SuggestionsConversion');_0x5ae845['registerBlockAttribute']('headingRows'),_0x5ae845['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x393882{['afterInit'](){const {plugins:_0x3cafd0}=this['editor'];if(!_0x3cafd0['has']('TablePropertiesEditing'))return;const _0x3f1c5b=_0x3cafd0['get']('SuggestionsConversion'),_0x185729=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x168a1e of _0x185729)_0x3f1c5b['registerBlockAttribute'](_0x168a1e);}}class SuggestionsConversionTableLayout extends _0x393882{['afterInit'](){const _0x56989c=this['editor'],_0x17bcac=_0x56989c['plugins']['get']('SuggestionsConversion');_0x56989c['plugins']['has']('TableLayout')&&_0x17bcac['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x393882{['afterInit'](){const _0x3f5dce=this['editor'],_0x1da80b=this['editor']['plugins']['get']('SuggestionsConversion');_0x3f5dce['plugins']['has']('Uploadcare')&&_0x3f5dce['plugins']['has']('UploadcareImageEdit')&&_0x1da80b['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x393882{['afterInit'](){const _0x25f82a=this['editor'];if(!_0x25f82a['plugins']['has']('ShiftEnter'))return;const _0x1a9e6d=_0x25f82a['plugins']['get']('SuggestionsConversion'),_0x24768d=(_0x3d97a6,_0x2a26b4,_0x1f2c47,_0x541ad4)=>{if(_0x541ad4&&!_0x1f2c47['options']['showSuggestionHighlights'])return;if(!_0x1f2c47['consumable']['test'](_0x2a26b4['markerRange'],_0x3d97a6['name']))return;const _0x1c4dc8=_0x25f82a['model'];for(const _0x54d9ad of _0x2a26b4['markerRange']['getItems']()){if(!_0x54d9ad['is']('element','softBreak'))continue;const _0x252b2d='deletion'==_0x2a26b4['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xf905dd,authorId:_0xe768aa}=O(_0x2a26b4['markerName']),_0x2891e5=_0x1f2c47['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x252b2d,'data-suggestion':_0xf905dd,'data-author-id':_0xe768aa}),_0x135280=_0x1f2c47['mapper']['toViewPosition'](_0x1c4dc8['createPositionBefore'](_0x54d9ad));!_0x541ad4&&_0x1a9e6d['_activeMarkers']['includes'](_0x2a26b4['markerName'])&&_0x1f2c47['writer']['addClass']('ck-suggestion-marker--active',_0x2891e5),_0x1f2c47['writer']['insert'](_0x135280,_0x2891e5),_0x1f2c47['mapper']['bindElementToMarker'](_0x2891e5,_0x2a26b4['markerName']);}};_0x25f82a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x44592e,_0xde0265,_0x8a79f2)=>{_0x24768d(_0x44592e,_0xde0265,_0x8a79f2,!0x1);},{'priority':'high'}),_0x25f82a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2ccd25,_0x59080e,_0x5ea3a2)=>{_0x24768d(_0x2ccd25,_0x59080e,_0x5ea3a2,!0x1);},{'priority':'high'}),_0x25f82a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4887e1,_0x47b8ea,_0x4308a6)=>{_0x24768d(_0x4887e1,_0x47b8ea,_0x4308a6,!0x0);},{'priority':'high'}),_0x25f82a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x55e533,_0x44b6fe,_0x537165)=>{_0x24768d(_0x55e533,_0x44b6fe,_0x537165,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x393882{['afterInit'](){const _0xc725fd=this['editor'];if(!_0xc725fd['plugins']['has']('MediaEmbedEditing'))return;const _0x44da02=_0xc725fd['plugins']['get']('SuggestionsConversion');_0xc725fd['plugins']['has']('MediaEmbedResizeEditing')&&_0x44da02['registerBlockAttribute']('resizedWidth'),_0xc725fd['plugins']['has']('MediaEmbedStyleEditing')&&_0x44da02['registerBlockAttribute']('mediaStyle'),_0xc725fd['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x5787e3,{writer:_0x1f0fa5,options:_0x1c16cb})=>{if(_0x1c16cb['showSuggestionHighlights'])return _0x1f0fa5['createEmptyElement']('div');},'converterPriority':'high'}),_0xc725fd['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5bc864,_0x2bcf65,_0x876039)=>{_0x876039['options']['showSuggestionHighlights']&&_0x5bc864['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x393882{['afterInit'](){const _0xae46cb=this['editor'];if(!_0xae46cb['plugins']['has']('Table'))return;_0xae46cb['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4d16dd,_0x2ee361,_0x3e0092)=>{((_0x1cfedd,_0x3b4626,_0x4e14f2)=>{if(!_0x4e14f2['options']['showSuggestionHighlights'])return;const _0x4a719b=_0x3b4626['item'];if(!_0x4a719b||!_0x4a719b['is']('element','tableCell'))return;const _0x472bc4=_0x4e14f2['mapper']['toViewElement'](_0x4a719b);if(_0x472bc4){const {id:_0x250ad8,authorId:_0x1b1ce8}=O(_0x3b4626['markerName']);_0x1ec96e(_0x472bc4,_0x4e14f2['writer'],(_0x448556,_0x277610,_0x29fe92)=>{_0x29fe92['addClass'](_0x220abb(_0x277610['classes']),_0x448556),_0x29fe92['setAttribute']('data-suggestion',_0x250ad8,_0x448556),_0x29fe92['setAttribute']('data-author-id',_0x1b1ce8,_0x448556);});}})(0x0,_0x2ee361,_0x3e0092);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x393882{['afterInit'](){const _0x3a7b87=this['editor'];_0x3a7b87['plugins']['has']('HorizontalLineEditing')&&_0x3a7b87['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xf72f71,{writer:_0x7369f4,options:_0x25af13})=>{if(!_0x25af13['showSuggestionHighlights'])return null;const _0x1fa4ae=_0x7369f4['createContainerElement']('div'),_0x42a1cb=_0x7369f4['createEmptyElement']('hr');return _0x7369f4['addClass']('ck-horizontal-line',_0x1fa4ae),_0x7369f4['insert'](_0x7369f4['createPositionAt'](_0x1fa4ae,0x0),_0x42a1cb),_0x1fa4ae;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x393882{['afterInit'](){const {plugins:_0x4b2a71,model:_0x503bd2}=this['editor'];if(!_0x4b2a71['has']('TableCellPropertiesEditing'))return;const _0xdcadfd=_0x4b2a71['get']('SuggestionsConversion'),_0x3a90a4=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x3ebe4d of _0x3a90a4)_0xdcadfd['registerBlockAttribute'](_0x3ebe4d);_0x503bd2['schema']['checkAttribute']('tableCell','tableCellType')&&_0xdcadfd['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x393882{['afterInit'](){const _0x572dd0=this['editor'];if(!_0x572dd0['plugins']['has']('TableEditing')||!_0x572dd0['config']['get']('table.enableFooters'))return;_0x572dd0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x393882{['_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 _0x307867=this['editor'],_0x2dd299=(_0x3d93fb,_0x7ae66e,_0x41b60f)=>{const {id:_0x2730cc,authorId:_0x44007d,type:_0x2a67bf,subType:_0x4ac90d}=O(_0x3d93fb['markerName']),_0x11fed5=['ck-suggestion-marker',this['_getClassName'](_0x2a67bf,_0x4ac90d)];let _0x557417=0xbb8;return!_0x41b60f&&(this['_activeMarkers']['includes'](_0x3d93fb['markerName'])&&(_0x11fed5['push']('ck-suggestion-marker--active'),_0x557417=0xbc2)),('deletion'==_0x2a67bf&&(_0x557417+=0x5),{'classes':_0x11fed5,'attributes':{'data-suggestion':_0x2730cc,'data-author-id':_0x44007d},'priority':_0x557417});};_0x307867['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x434998,_0x5a518d)=>_0x2dd299(_0x434998,0x0,!0x1)}),_0x307867['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x141509,_0x551521)=>_0x2dd299(_0x141509,0x0,!0x0)}),_0x307867['conversion']['for']('dataDowncast')['add'](_0xc3fce1=>{_0xc3fce1['on']('addMarker:suggestion',(_0xad3803,_0x20dd2f,_0x1f62d7)=>{if(!_0x1f62d7['options']['showSuggestionHighlights'])return;const _0x39272d=_0x20dd2f['item'];if(!_0x39272d)return;const _0x3ccb42=_0x1f62d7['mapper']['toViewElement'](_0x39272d);_0x307867['model']['schema']['isObject'](_0x39272d)&&_0x3ccb42&&!_0x3ccb42['getCustomProperty']('widget')&&_0x3ccb42['is']('containerElement')&&_0x48cc44(_0x3ccb42,_0x1f62d7['writer']);},{'priority':'high'});});const _0x199ae7=(_0x517cba,_0x373166,_0x4cb088,_0x52cd8d,_0x20aaf6)=>{if(_0x52cd8d&&!_0x4cb088['options']['showSuggestionHighlights'])return;if(!_0x373166['item'])return;const {id:_0x4d0fcf,authorId:_0x2e4975,subType:_0x306aff}=O(_0x373166['markerName']);if(_0x20aaf6){const _0x223834=_0x306aff['split']('|')[0x0];if(!this['isBlockAttribute'](_0x223834))return;}if(_0x373166['item']['is']('selection'))return void _0x4cb088['consumable']['consume'](_0x373166['item'],_0x517cba['name']);const _0x36ab9e=_0x4cb088['mapper']['toViewElement'](_0x373166['item']);if(_0x373166['item']['is']('element')&&_0x307867['model']['schema']['isBlock'](_0x373166['item'])&&!_0x36ab9e['getCustomProperty']('addHighlight')){_0x4cb088['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x36ab9e),_0x4cb088['writer']['setAttribute']('data-suggestion',_0x4d0fcf,_0x36ab9e),_0x4cb088['writer']['setAttribute']('data-author-id',_0x2e4975,_0x36ab9e),_0x4cb088['mapper']['bindElementToMarker'](_0x36ab9e,_0x373166['markerName']),_0x52cd8d||(this['_activeMarkers']['includes'](_0x373166['markerName'])?_0x4cb088['writer']['addClass']('ck-suggestion-marker--active',_0x36ab9e):_0x4cb088['writer']['removeClass']('ck-suggestion-marker--active',_0x36ab9e));for(const _0x1077d4 of _0x307867['model']['createRangeIn'](_0x373166['item'])['getItems']())_0x4cb088['consumable']['consume'](_0x1077d4,_0x517cba['name']);_0x4cb088['consumable']['consume'](_0x373166['item'],_0x517cba['name']);}},_0xa0ba40=(_0x1381e2,_0x32ed63,_0x2e1c60,_0x5c1421)=>{const _0x5840e2=_0x2e1c60['mapper']['markerNameToElements'](_0x32ed63['markerName']);if(_0x5840e2){if(_0x5c1421){const {subType:_0x23efbc}=O(_0x32ed63['markerName']),_0x494a4d=_0x23efbc['split']('|')[0x0];if(!this['isBlockAttribute'](_0x494a4d))return;}for(const _0x4a6b8c of _0x5840e2)_0x4a6b8c['getCustomProperty']('addHighlight')||(_0x2e1c60['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x4a6b8c),_0x2e1c60['writer']['removeAttribute']('data-suggestion',_0x4a6b8c),_0x2e1c60['writer']['removeAttribute']('data-author-id',_0x4a6b8c),_0x2e1c60['mapper']['unbindElementFromMarkerName'](_0x4a6b8c,_0x32ed63['markerName']));}};_0x307867['conversion']['for']('editingDowncast')['add'](_0x2fe688=>{_0x2fe688['on']('addMarker:suggestion:formatBlock',(_0x76aa2c,_0x37f1a6,_0x4af76d)=>{_0x199ae7(_0x76aa2c,_0x37f1a6,_0x4af76d,!0x1,!0x1);},{'priority':'high'});}),_0x307867['conversion']['for']('editingDowncast')['add'](_0x596de7=>{_0x596de7['on']('addMarker:suggestion:attribute',(_0x4c6731,_0x4a39dd,_0x26796e)=>{_0x199ae7(_0x4c6731,_0x4a39dd,_0x26796e,!0x1,!0x0);},{'priority':'high'});}),_0x307867['conversion']['for']('editingDowncast')['add'](_0x4372df=>{_0x4372df['on']('removeMarker:suggestion:formatBlock',(_0x14d9c2,_0x39b688,_0x4f0a31)=>{_0xa0ba40(0x0,_0x39b688,_0x4f0a31,!0x1);},{'priority':'high'});}),_0x307867['conversion']['for']('editingDowncast')['add'](_0x2c4909=>{_0x2c4909['on']('removeMarker:suggestion:attribute',(_0x418e32,_0x12c984,_0x2db047)=>{_0xa0ba40(0x0,_0x12c984,_0x2db047,!0x0);},{'priority':'high'});}),_0x307867['conversion']['for']('dataDowncast')['add'](_0x2deede=>{_0x2deede['on']('addMarker:suggestion:formatBlock',(_0x1456e2,_0x2c7fba,_0x49eb85)=>{_0x199ae7(_0x1456e2,_0x2c7fba,_0x49eb85,!0x0,!0x1);},{'priority':'highest'});}),_0x307867['conversion']['for']('dataDowncast')['add'](_0x162a2f=>{_0x162a2f['on']('addMarker:suggestion:attribute',(_0x30f20d,_0x33e4c9,_0x2b76db)=>{_0x199ae7(_0x30f20d,_0x33e4c9,_0x2b76db,!0x0,!0x0);},{'priority':'highest'});}),_0x307867['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4e3807,_0x3cc099)=>_0x3cc099['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x4e3807['substr'](0xb)}});const _0x21e868=(_0x504541,_0x4f1f83,_0xd05fc2,_0x4f58f5,_0x27b563)=>{if(_0x4f58f5&&!_0xd05fc2['options']['showSuggestionHighlights'])return;if(!_0xd05fc2['consumable']['test'](_0x4f1f83['markerRange'],_0x504541['name']))return;const _0x598627=this['_activeMarkers'],_0x1a4251=_0x4f1f83['markerRange']['getWalker'](),_0x5efea0=_0x4f1f83['markerRange']['start'],_0x4c60de=_0x307867['model']['schema'];let _0x175fe1=null,_0x5c54cb=null,_0x52dfe6=!0x1,_0x429072=!0x1;for(const _0x4f2f81 of _0x1a4251){const _0x27ddd4=_0x4f2f81['item'];_0x52dfe6=_0x52dfe6||_0x4c60de['isContent'](_0x27ddd4);const _0x57f59e=_0xd05fc2['mapper']['toViewElement'](_0x27ddd4);if(_0x57f59e&&_0x57f59e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4f2f81['type']&&(_0x4c60de['isBlock'](_0x27ddd4)&&!_0x4c60de['isLimit'](_0x27ddd4)&&(_0x27ddd4['nextSibling']||_0x5efea0['isAtEnd']?_0x175fe1&&_0x175fe1['parent']==_0x27ddd4||(_0x175fe1=_0x27ddd4,_0x4152d5(_0x4f2f81['previousPosition']),_0x429072=!0x0):_0x5c54cb=_0x5c54cb||_0x4f2f81['previousPosition']));}function _0x4152d5(_0x296035){const {id:_0x232255,authorId:_0xb31c2c}=O(_0x4f1f83['markerName']),_0x35959f=_0xd05fc2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x27b563,'data-suggestion':_0x232255,'data-author-id':_0xb31c2c}),_0xf59a0b=_0xd05fc2['mapper']['toViewPosition'](_0x296035);!_0x4f58f5&&_0x598627['includes'](_0x4f1f83['markerName'])&&_0xd05fc2['writer']['addClass']('ck-suggestion-marker--active',_0x35959f),_0xd05fc2['writer']['insert'](_0xf59a0b,_0x35959f),_0xd05fc2['mapper']['bindElementToMarker'](_0x35959f,_0x4f1f83['markerName']);}_0x52dfe6||_0x429072||!_0x5c54cb||_0x4152d5(_0x5c54cb);};_0x307867['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x26e650,_0x236812,_0x553cfa)=>{_0x21e868(_0x26e650,_0x236812,_0x553cfa,!0x1,'merge');},{'priority':'high'}),_0x307867['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x541da4,_0x38d2fc,_0x28fbb7)=>{_0x21e868(_0x541da4,_0x38d2fc,_0x28fbb7,!0x0,'merge');},{'priority':'high'}),_0x307867['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5f28fc,_0xc90b8d,_0x335afa)=>{_0x21e868(_0x5f28fc,_0xc90b8d,_0x335afa,!0x1,'split');},{'priority':'high'}),_0x307867['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2be9c9,_0x45f948,_0x5e437b)=>{_0x21e868(_0x2be9c9,_0x45f948,_0x5e437b,!0x0,'split');},{'priority':'high'}),_0x307867['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x424027,_0x5d3c5d,_0x1618c4)=>{((_0x391ace,_0x4f2808,_0x11c3c5)=>{const _0x53fa34=_0x11c3c5['mapper']['markerNameToElements'](_0x4f2808['markerName']);if(_0x53fa34){for(const _0x561880 of _0x53fa34)(_0x561880['hasClass']('ck-suggestion-marker-split')||_0x561880['hasClass']('ck-suggestion-marker-merge'))&&(_0x11c3c5['mapper']['unbindElementFromMarkerName'](_0x561880,_0x4f2808['markerName']),_0x11c3c5['writer']['remove'](_0x561880));}})(0x0,_0x5d3c5d,_0x1618c4);},{'priority':'high'});const _0x1c84d8=(_0xb0ea13,_0x4b7a2f,_0xe6fd26,_0x23758c)=>{if(_0x23758c&&!_0xe6fd26['options']['showSuggestionHighlights'])return;const _0x27e90e=_0x4b7a2f['markerRange']['start'],_0x406987=_0x4b7a2f['markerRange']['end'],_0x139eec=_0x307867['model']['schema'];if(!_0x27e90e['isTouching'](_0x406987)||!_0x27e90e['nodeAfter'])return;const _0x2d3cf5=_0x27e90e['nodeAfter'];if(_0x139eec['isBlock'](_0x2d3cf5)&&!_0x139eec['isLimit'](_0x2d3cf5)&&_0x139eec['checkChild'](_0x2d3cf5,'$text')){if(!_0xe6fd26['consumable']['consume'](_0x4b7a2f['markerRange'],_0xb0ea13['name']))return;const {id:_0x2abc78,authorId:_0xc45bee}=O(_0x4b7a2f['markerName']),_0x54e235=_0xe6fd26['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2abc78,'data-author-id':_0xc45bee}),_0xe474f0=_0xe6fd26['mapper']['toViewPosition'](_0x406987);!_0x23758c&&this['_activeMarkers']['includes'](_0x4b7a2f['markerName'])&&_0xe6fd26['writer']['addClass']('ck-suggestion-marker--active',_0x54e235),_0xe6fd26['writer']['insert'](_0xe474f0,_0x54e235),_0xe6fd26['mapper']['bindElementToMarker'](_0x54e235,_0x4b7a2f['markerName']);}};_0x307867['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2e30eb,_0x13867b,_0x4a27fa)=>{_0x1c84d8(_0x2e30eb,_0x13867b,_0x4a27fa,!0x1);},{'priority':'high'}),_0x307867['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x53b7f9,_0x24f555,_0x4fe1a1)=>{_0x1c84d8(_0x53b7f9,_0x24f555,_0x4fe1a1,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x470e54,_0x4e793d,_0x1d6051)=>{this['_activeMarkers']=_0x1d6051['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x19f65d){this['_blockAttributeKeys']['add'](_0x19f65d);}['registerInlineAttribute'](_0x55e488){this['_inlineAttributeKeys']['add'](_0x55e488);}['isBlockAttribute'](_0x5f4c01){return this['_blockAttributeKeys']['has'](_0x5f4c01);}['isInlineAttribute'](_0xe2bcb){return this['_inlineAttributeKeys']['has'](_0xe2bcb);}['isRegisteredAttribute'](_0x23360d){return this['isInlineAttribute'](_0x23360d)||this['isBlockAttribute'](_0x23360d);}['_getClassName'](_0x3f328c,_0x4142a8){if('attribute'!=_0x3f328c)return'ck-suggestion-marker-'+_0x3f328c;const _0x683489=_0x4142a8['split']('|')[0x0];return this['isBlockAttribute'](_0x683489)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function z(_0x198537={},_0x6873bc){if(void 0x0!==_0x198537['dateTimeFormat']&&'function'!=typeof _0x198537['dateTimeFormat'])throw new _0x567c0e('invalid-date-time-format');return _0x366470=>{const _0x514fec='string'==typeof _0x366470?_0x513239['fromISO'](_0x366470):_0x513239['fromJSDate'](_0x366470),_0x421406=_0x513239['now'](),_0x9e6c30=Math['floor'](_0x421406['diff'](_0x514fec,'days')['days']);return _0x198537['dateTimeFormat']?_0x198537['dateTimeFormat'](_0x514fec['toJSDate'](),_0x6873bc&&_0x6873bc['t']?_0x6873bc['t']:void 0x0):0x0===_0x9e6c30?_0x6873bc?B(_0x6873bc,'Today')+'\x20'+_0x514fec['toFormat']('hh:mma'):_0x514fec['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x9e6c30?_0x6873bc?B(_0x6873bc,'Yesterday')+'\x20'+_0x514fec['toFormat']('hh:mma'):_0x514fec['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x9e6c30<0x7?_0x6873bc?B(_0x6873bc,'Last')+'\x20'+B(_0x6873bc,_0x514fec['toFormat']('EEEE'))+'\x20'+_0x514fec['toFormat']('hh:mma'):_0x514fec['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x514fec['toFormat']('LL-dd-yyyy\x20hh:mma');};}function R(_0x51afc1,_0x58e8f9){const _0x47a5be=_0x51afc1['mapper']['markerNameToElements'](_0x58e8f9['name']);if(!_0x47a5be)return null;const _0x3b2634=_0x1d19c4(_0x47a5be['values']());return _0x51afc1['view']['domConverter']['mapViewToDom'](_0x3b2634)||null;}function W(_0x25f327,_0x4b0255){if(0x0===_0x4b0255['length'])return null;const _0x3fb524=[],_0x146d03=_0x25f327['view']['domConverter'];for(const _0x441a83 of _0x4b0255){const _0x217775=_0x25f327['mapper']['markerNameToElements'](_0x441a83['name']);if(!_0x217775)continue;const _0x117311=Array['from'](_0x217775)['map'](_0x5223bb=>_0x146d03['mapViewToDom'](_0x5223bb))['filter'](_0x172577=>!!_0x172577);_0x3fb524['push'](..._0x117311);}if(0x0===_0x3fb524['length'])return null;const _0x509cb5=[];for(const _0x30defe of _0x3fb524){const _0x4ab07b=_0x30defe['getClientRects']()['item'](0x0);_0x4ab07b&&_0x509cb5['push']({'x':_0x4ab07b['x'],'y':_0x4ab07b['y'],'domElement':_0x30defe});}return 0x0===_0x509cb5['length']?null:(_0x509cb5['sort']((_0x3b455a,_0x3073e4)=>_0x3b455a['y']-_0x3073e4['y']||_0x3b455a['x']-_0x3073e4['x']),_0x509cb5['map'](_0x4a4691=>_0x4a4691['domElement']));}function j(_0x2baffd,{limit:_0x22c374,suffix:_0x3b480c='...'}){const _0x3c16a3=[];let _0x17e719=0x0;const _0x26dbf4=_0x2baffd['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xfa0d30=0x0;_0xfa0d30<_0x26dbf4['length'];_0xfa0d30++){let _0x37196e=_0x26dbf4[_0xfa0d30];const _0x18b7d6=Y(_0x37196e);if(_0x37196e['startsWith']('<')){if(_0x17e719>=_0x22c374){const _0xe2363e=_0x37196e['match'](/[a-zA-Z]+/);if(!_0xe2363e){_0x26dbf4[_0xfa0d30]='';continue;}const _0x2afed7=_0xe2363e[0x0];_0x37196e['startsWith']('</')?(_0x3c16a3['length']&&(_0x37196e=''),_0x3c16a3['pop']()):(_0x3c16a3['push'](_0x2afed7),_0x37196e='');}}else{if(_0x17e719>=_0x22c374)_0x37196e='';else{if(_0x17e719+_0x18b7d6['length']>=_0x22c374){let _0x4ba81b=_0x22c374-_0x17e719;if('\x20'===_0x18b7d6[_0x4ba81b-0x1])_0x4ba81b--;else{const _0xbaf989=_0x18b7d6['slice'](_0x4ba81b)['indexOf']('\x20');-0x1!==_0xbaf989?_0x4ba81b+=_0xbaf989:_0x4ba81b=_0x37196e['length'];}_0x37196e=_0x18b7d6['slice'](0x0,_0x4ba81b)['join']('')+_0x3b480c,_0x17e719=_0x22c374;}else _0x17e719+=_0x18b7d6['length'];}}_0x26dbf4[_0xfa0d30]=_0x37196e;}return _0x26dbf4['join']('\x0a')['replace'](/\n/g,'');}function Y(_0x589906){const _0x2b3d2d=[];for(let _0x49c68d=0x0;_0x49c68d<_0x589906['length'];_0x49c68d++){const _0x4faeaa=_0x589906['substring'](_0x49c68d)['match'](/^&[a-z0-9#]+;/);if(_0x4faeaa){const _0xd1161d=_0x4faeaa[0x0];_0x2b3d2d['push'](_0xd1161d),_0x49c68d+=_0xd1161d['length']-0x1;}else _0x2b3d2d['push'](_0x589906[_0x49c68d]);}return _0x2b3d2d;}class ConfirmView extends _0x45be95{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x6b8ce7){super(_0x6b8ce7);const _0x504a53=this['bindTemplate'];this['set']('message',B(_0x6b8ce7,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x6b8ce7,B(_0x6b8ce7,'Yes'),_0x181c6a,'submit'),this['cancelView']=this['_createButtonView'](_0x6b8ce7,B(_0x6b8ce7,'No'),_0x104c29,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x53a071(),this['keystrokes']=new _0x2791dd(),this['focusCycler']=new _0xd272a1({'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':_0x504a53['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'](_0x9cc92c,_0xa57153,_0x335037,_0x4ca41f){const _0x5727fe=new _0x5d82e5(_0x9cc92c);return _0x5727fe['label']=_0xa57153,_0x5727fe['icon']=_0x335037,_0x5727fe['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x4ca41f}}),_0x5727fe['on']('execute',()=>this['fire'](_0x4ca41f)),_0x5727fe;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x2b6bbc=>{this['keystrokes']['listenTo'](_0x2b6bbc['element']),this['focusTracker']['add'](_0x2b6bbc['element']);}),this['keystrokes']['set']('esc',(_0x37ba6e,_0x56c836)=>{this['fire']('cancel'),_0x56c836();});}}function G(_0x3497c4){return class _0x3f95d9 extends _0x3497c4{['showConfirm'](_0x5904a2,_0x12f1be){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x5904a2,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x12f1be['appendChild'](this['confirmView']['element']),_0x12f1be['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x453288,_0x1882c5,_0x40b037)=>{_0x40b037||_0x12f1be['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1eb9e4=>this['confirmView']['on']('submit',_0x1eb9e4));}['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(_0x2ca38d){let _0x13788c=0x0,_0xa8c5b=0x0;for(const _0x377481 of q(_0x2ca38d))_0x13788c=(_0x13788c<<0x5)-_0x13788c+_0x377481,_0x13788c&=_0x13788c,[_0x13788c,_0xa8c5b]=[_0xa8c5b,_0x13788c];return X(_0x13788c)+X(_0xa8c5b);}function*K(_0x44ad4b){null==_0x44ad4b||null==_0x44ad4b?yield 0x12b9b0a1:0x0===_0x44ad4b||!0x1===_0x44ad4b?yield 0x0:0x1===_0x44ad4b||0x1==_0x44ad4b?yield 0x1:Array['isArray'](_0x44ad4b)?yield*function*(_0x3d613d){for(const _0x47e383 of _0x3d613d)yield*K(_0x47e383);}(_0x44ad4b):'object'==typeof _0x44ad4b?yield*q(_0x44ad4b):'string'==typeof _0x44ad4b?yield*Z(_0x44ad4b):'number'==typeof _0x44ad4b&&(yield _0x44ad4b);}function*q(_0x50cef0){if(yield Q('{'),_0x50cef0){const _0x3b59a8=Object['keys'](_0x50cef0)['sort']();for(const _0x4c385b of _0x3b59a8){yield*Z(_0x4c385b),yield Q(':');const _0x1ab164=_0x50cef0[_0x4c385b];yield*K(_0x1ab164);}}yield Q('}');}function*Z(_0x3a1902){yield Q('\x22');for(const _0x4151b5 of _0x3a1902)yield Q(_0x4151b5);yield Q('\x22');}function Q(_0x1ac4b4){return _0x1ac4b4['charCodeAt'](0x0);}function X(_0x58de9a){return(_0x58de9a*=Math['sign'](_0x58de9a))['toString'](0x24);}const tt=['root','roots','initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function st(_0x37a4fd,_0x25f850,_0x5d3ead,_0x4e0768=[]){const _0x5ba644='string'==typeof _0x37a4fd?_0x5d3ead['get'](_0x37a4fd)['constructor']:_0x37a4fd['prototype']['constructor'];if(_0x25f850['has'](_0x5ba644))return _0x25f850['get'](_0x5ba644);_0x25f850['set'](_0x5ba644,!0x0);const _0x5a0729=[...et,..._0x4e0768]['map'](_0x322d3b=>{if(_0x5d3ead['has'](_0x322d3b))return _0x5d3ead['get'](_0x322d3b)['constructor'];})['filter'](_0x38064b=>_0x38064b);if(_0x5ba644&&_0x5a0729['includes'](_0x5ba644))return _0x25f850['set'](_0x5ba644,!0x1),!0x1;if(!_0x5ba644['requires'])return _0x25f850['set'](_0x5ba644,!0x0),!0x0;const _0x35ace8=_0x5ba644['requires']['every'](_0x2350d4=>st(_0x2350d4,_0x25f850,_0x5d3ead,_0x4e0768));return _0x25f850['set'](_0x5ba644,_0x35ace8),_0x35ace8;}function it(_0x2d8c44,_0x230f15){const _0x50e201={};for(const _0x41146e of _0x2d8c44['config']['names']())tt['includes'](_0x41146e)||(_0x50e201[_0x41146e]=_0x2d8c44['config']['get'](_0x41146e));const _0x1f7233=_0x50e201['plugins']||[],_0x48115d=_0x2d8c44['constructor']['builtinPlugins']||[],_0x1663a3=_0x1f7233['length']?_0x1f7233:_0x48115d,_0x59fed0=_0x50e201['extraPlugins']||[];delete _0x50e201['extraPlugins'];const _0x1b1c9b=_0x50e201['removePlugins']||[];delete _0x50e201['removePlugins'];const _0xe6d2d=_0x2d8c44['_context']['config']['get']('plugins')||[],_0x496976=_0x1663a3['concat'](_0x59fed0)['concat'](_0xe6d2d)['map'](_0x1987aa=>'string'==typeof _0x1987aa?_0x48115d['find'](_0x1753c9=>_0x1753c9['pluginName']==_0x1987aa):_0x1987aa)['filter'](_0x39dab8=>!_0x1b1c9b['includes'](_0x39dab8)&&!_0x1b1c9b['includes'](_0x39dab8['pluginName'])),_0x54b1d4=Array['from'](new Set(_0x496976)),_0x10d2cf=new Map();return _0x50e201['plugins']=_0x54b1d4['filter'](_0x6f70a=>st(_0x6f70a,_0x10d2cf,_0x2d8c44['plugins'],_0x230f15)),_0x50e201;}function nt(_0x530548,_0x5aae49){const _0x3eceeb=[];_0x530548['document']['selection']['on']('change:range',()=>{const _0xe6d7fc=function(_0x5eaccb,_0x58154b){const _0x4949cf=[];for(const _0x3d5cd9 of _0x5eaccb['markers']){const _0x3b6f43=_0x3d5cd9['getRange']();(_0x3b6f43['containsPosition'](_0x58154b)||_0x3b6f43['start']['isEqual'](_0x58154b)||_0x3b6f43['end']['isEqual'](_0x58154b))&&_0x4949cf['push'](_0x3d5cd9);}return _0x4949cf;}(_0x530548,_0x530548['document']['selection']['focus']),_0x4a57b3=[],_0x5a296c=[],_0x29ec6f=[];for(const _0x3701c1 of _0x3eceeb)_0xe6d7fc['includes'](_0x3701c1)||_0x4a57b3['push'](_0x3701c1);for(const _0x459562 of _0xe6d7fc)_0x3eceeb['includes'](_0x459562)||_0x5a296c['push'](_0x459562),_0x29ec6f['push'](_0x459562);(_0x4a57b3['length']||_0x5a296c['length'])&&_0x5aae49({'left':_0x4a57b3,'entered':_0x5a296c}),_0x3eceeb['length']=0x0,_0x3eceeb['push'](..._0x29ec6f);});}const ot='Ctrl+Shift+E';function rt(_0x5c46a8,_0x5bd73e){const _0x313981=_0x5c46a8['element'];_0x5c46a8['keystrokes']['listenTo'](_0x313981);for(const _0x15a35a of _0x5bd73e)at(_0x5c46a8,_0x15a35a);_0x5bd73e['on']('change',(_0x4c8ce6,_0x488fd4)=>{for(const _0xfc3167 of _0x488fd4['removed'])ct(_0x5c46a8,_0xfc3167);for(const _0x27c2d6 of Array['from'](_0x488fd4['added'])['reverse']())at(_0x5c46a8,_0x27c2d6);}),_0x5c46a8['keystrokes']['set']('enter',(_0x577fce,_0x39aaee)=>{_0x313981===_0x577fce['target']&&(_0x5c46a8['focusCycler']['focusFirst'](),_0x39aaee());},{'filter':_0x1e73c4=>_0x1e73c4['target']===_0x313981}),_0x5c46a8['keystrokes']['set']('esc',(_0x33f7d0,_0x2e8811)=>{_0x313981!==_0x33f7d0['target']?_0x5c46a8['focus']():_0x5c46a8['fire']('escape'),_0x2e8811();}),_0x5c46a8['keystrokes']['set']('arrowdown',(_0x13ef83,_0x1dfec6)=>{_0x313981===_0x13ef83['target']&&(_0x5c46a8['fire']('arrowdown'),_0x1dfec6());}),_0x5c46a8['keystrokes']['set']('arrowup',(_0xfb346d,_0xf51a53)=>{_0x313981===_0xfb346d['target']&&(_0x5c46a8['fire']('arrowup'),_0xf51a53());});}function at(_0x227085,_0x1f6382){_0x1f6382['isRendered']&&(_0x227085['focusTracker']['add'](_0x1f6382['element']),_0x227085['keystrokes']['listenTo'](_0x1f6382['element']),_0x7bf6d9(_0x1f6382)&&function(_0xb68f50,_0x2263a1){const _0x6dcff5=_0xb68f50['actions'],_0x4be0c7=_0x2263a1['actions'];for(const _0x1c8266 of Object['keys'](_0x6dcff5))if(_0x1c8266 in _0x4be0c7&&_0x6dcff5[_0x1c8266]!==_0x4be0c7[_0x1c8266])return!0x1;return!0x0;}(_0x227085['focusCycler'],_0x1f6382['focusCycler'])&&_0x227085['focusCycler']['chain'](_0x1f6382['focusCycler']));}function ct(_0x1c7e90,_0x19ac3a){_0x1c7e90['focusTracker']['remove'](_0x19ac3a['element']),_0x1c7e90['keystrokes']['stopListening'](_0x19ac3a['element']),_0x7bf6d9(_0x19ac3a)&&_0x1c7e90['focusCycler']['unchain'](_0x19ac3a['focusCycler']);}const lt='$elementId',ut='data-id';class DocumentCompare extends _0x5f4d50{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x13ecb9?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x47f69e,_0x1271d9)=>{_0x1271d9['on']('ready',()=>{this['_integrateEditor'](_0x1271d9);});});}get['editor'](){if(this['context']instanceof _0x13ecb9)return this['context'];{const _0x2ed41=this['context']['editors']['first'];if(!_0x2ed41)throw new _0x567c0e('documentcompare-no-editor',this);return _0x2ed41;}}['getDiff'](_0x4b2d2a,_0x26f8d7,_0x3dc858={'anchor':'main','markDeletions':!0x1}){const _0x4db1a9=_0x3dc858['targetEditor']||this['editor'];let _0x377d51,_0x570298;if('string'==typeof _0x3dc858['anchor']){const _0x429989=_0x4db1a9['model']['document']['getRoot'](_0x3dc858['anchor']);if(!_0x429989)throw new _0x567c0e('documentcompare-compare-no-root',this,{'anchor':_0x3dc858['anchor']});_0x377d51=_0x429989,_0x570298=_0x4db1a9['model']['createPositionAt'](_0x429989,0x0);}else _0x377d51=_0x3dc858['anchor']['clone'](),_0x570298=_0x3dc858['anchor']['clone']();const _0x216961=_0x4db1a9['data']['parse'](_0x4b2d2a,_0x377d51),_0x160114=_0x4db1a9['data']['parse'](_0x26f8d7,_0x377d51);return new DocumentDiff({'editor':_0x4db1a9,'before':_0x216961,'after':_0x160114,'options':{'anchor':_0x570298,'markDeletions':_0x3dc858['markDeletions']}});}['isMarkedRemoveOperation'](_0x386e95){return'marker'==_0x386e95['type']&&_0x386e95['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x8af23a){_0x8af23a['conversion']['for']('upcast')['add'](_0x551a8f=>{_0x551a8f['on']('element',(_0x225294,_0xd10f07,_0x3bb6c0)=>{if(_0xd10f07['modelRange']&&_0x3bb6c0['consumable']['consume'](_0xd10f07['viewItem'],{'attributes':'data-id'}))for(const _0x15d241 of _0xd10f07['modelRange']['getItems']({'shallow':!0x0})){if(_0x15d241['is']('$textProxy'))continue;const _0xc4ff9f=_0xd10f07['viewItem']['getAttribute'](ut);_0xc4ff9f&&_0x3bb6c0['writer']['setAttribute'](lt,_0xc4ff9f,_0x15d241);}},{'priority':'low'});}),_0x8af23a['model']['schema']['addAttributeCheck'](()=>!0x0,lt);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x3604eb,before:_0xe2d385,after:_0x18a033,options:_0x402a67}){this['_editor']=_0x3604eb,this['_markDeletions']=!!_0x402a67['markDeletions'],this['_anchor']=_0x402a67['anchor'];const _0x267b06=this['_tokenizeModel'](_0xe2d385),_0x5a02e6=this['_tokenizeModel'](_0x18a033);this['_diffItems']=this['_diffModelTokens'](_0x267b06,_0x5a02e6),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0xe2d385['markers'],_0x18a033['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x324981=this['_editor']['model']['document'],_0xf74ac9=[];let _0x1d324b=_0x324981['version'];for(const _0x462dbb of this['_operationsData'])switch(_0x462dbb['type']){case'attribute':{const _0x3fb321=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x1510fd=_0x3fb321['getShiftedBy'](_0x462dbb['howMany']),_0x359c75=new _0x326622(_0x3fb321,_0x1510fd),_0x3e9612=JSON['parse'](_0x462dbb['oldValue']),_0x102164=JSON['parse'](_0x462dbb['newValue']);_0xf74ac9['push'](new _0x2ca4e3(_0x359c75,_0x462dbb['key'],_0x3e9612,_0x102164,_0x1d324b++));break;}case'insert':{const _0x2f1111=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x1ad83c=this['_makeModelFromTokens'](_0x462dbb['tokens']);_0xf74ac9['push'](new _0x8fd55f(_0x2f1111,_0x1ad83c,_0x1d324b++));break;}case'remove':{const _0x59cb34=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x583305=new _0x6b9db2(_0x324981['graveyard'],[0x0]);_0xf74ac9['push'](new _0x705622(_0x59cb34,_0x462dbb['howMany'],_0x583305,_0x1d324b++));break;}case'rename':{const _0x5e5a20=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']);_0xf74ac9['push'](new _0x22d213(_0x5e5a20,_0x462dbb['oldName'],_0x462dbb['newName'],_0x1d324b++));break;}case'split':{const _0xd6f34b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']),_0x376c09=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['path']['slice'](0x0,-0x1));_0x376c09['offset']++,_0xf74ac9['push'](new _0x50165a(_0xd6f34b,Number['NEGATIVE_INFINITY'],_0x376c09,null,_0x1d324b++));break;}case'merge':{const _0x5b7b48=_0x462dbb['path']['slice'](),_0x3c6f16=_0x5b7b48['slice'](0x0,-0x1);_0x3c6f16[_0x3c6f16['length']-0x1]++,_0x3c6f16['push'](0x0);const _0x15ba55=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c6f16),_0x1843df=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b7b48),_0x12d3bd=new _0x6b9db2(_0x324981['graveyard'],[0x0]);_0xf74ac9['push'](new _0x188696(_0x15ba55,Number['NEGATIVE_INFINITY'],_0x1843df,_0x12d3bd,_0x1d324b++));break;}case'marker':case'markedRemove':{let _0x44b12a=null;if(_0x462dbb['range']){const _0x13be12=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['start']),_0xe30f51=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['end']);_0x44b12a=new _0x326622(_0x13be12,_0xe30f51);}const _0x1e9ffb='marker'==_0x462dbb['type']?_0x462dbb['name']:'$markedRemove:'+_0x5a10eb();_0xf74ac9['push'](new _0xeb30b8(_0x1e9ffb,null,_0x44b12a,_0x324981['model']['markers'],!0x0,_0x1d324b++));break;}case'unwrap':{const _0x45e939=_0x462dbb['path']['slice']();_0x45e939['push'](0x0);const _0x41abe3=_0x462dbb['path']['slice'](),_0x35d6ab=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x45e939),_0x52f0e0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x41abe3),_0x973122=new _0x6b9db2(_0x324981['graveyard'],[0x0]);_0xf74ac9['push'](new _0x705622(_0x35d6ab,_0x462dbb['howMany'],_0x52f0e0,_0x1d324b++)),_0xf74ac9['push'](new _0x705622(_0x52f0e0['getShiftedBy'](_0x462dbb['howMany']),0x1,_0x973122,_0x1d324b++));break;}case'wrap':{const _0x2babdb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['start']),_0x1a21a8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x462dbb['range']['end']),_0x4d7667=_0x462dbb['token']['element']['_clone'](!0x1);_0x4d7667['_removeAttribute'](lt);const _0xc25bec=_0x462dbb['range']['end']['slice']();_0xc25bec['push'](0x0);const _0x2e41f2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xc25bec);_0xf74ac9['push'](new _0x8fd55f(_0x1a21a8,_0x4d7667,_0x1d324b++)),_0xf74ac9['push'](new _0x705622(_0x2babdb,_0x1a21a8['offset']-_0x2babdb['offset'],_0x2e41f2,_0x1d324b++));break;}}return _0xf74ac9;}['_tokenizeModel'](_0x152dbc){const _0x189371=[],_0x2d8648=_0x326622['_createIn'](_0x152dbc),_0x515cd0=new _0x2de74f({'boundaries':_0x2d8648});let _0x4cb7c4='',_0x33900e=null;const _0x3a7b7e=[''],_0x2f7eec=new Map();for(const _0x1a78af of _0x515cd0)if('elementStart'==_0x1a78af['type']||'elementEnd'==_0x1a78af['type']){let _0x3264df=_0x3a7b7e[0x0];''!==_0x4cb7c4&&(_0x189371['push'](...this['_makeTokensFromTextByWords'](_0x4cb7c4,_0x33900e,_0x3264df)),_0x4cb7c4='');const _0x1bbd40=_0x1a78af['item'];let _0x3eeb0c;_0x1bbd40['getAttribute'](lt)?_0x3eeb0c=_0x1bbd40['getAttribute'](lt):'elementStart'==_0x1a78af['type']?(_0x3eeb0c=dt(_0x1bbd40),_0x2f7eec['set'](_0x1bbd40,_0x3eeb0c)):_0x3eeb0c=_0x2f7eec['get'](_0x1bbd40);const _0x22b75b=this['_getElementCategory'](_0x1bbd40);'solid'==_0x22b75b&&('elementStart'==_0x1a78af['type']?(_0x3264df=_0x3eeb0c,_0x3a7b7e['unshift'](_0x3264df)):_0x3a7b7e['shift']());const _0x1e26f2={'type':'element','element':_0x1bbd40,'elementId':_0x3eeb0c,'category':_0x22b75b,'isStart':'elementStart'==_0x1a78af['type'],'limitId':_0x3264df};_0x189371['push'](_0x1e26f2);}else''==_0x4cb7c4&&(_0x33900e=_0x1a78af['previousPosition']['clone']()),_0x4cb7c4+=_0x1a78af['item']['data'];return''!==_0x4cb7c4&&_0x189371['push'](...this['_makeTokensFromTextByWords'](_0x4cb7c4,_0x33900e,_0x3a7b7e[0x0])),_0x189371;}['_makeTokensFromTextByWords'](_0xccbbac,_0x4d2d92,_0x5e2502){const _0x1d66a3=_0xccbbac['matchAll'](/(\s)/g),_0x34c07c=Array['from'](_0x1d66a3)['map'](_0x445aec=>_0x445aec['index']);_0x34c07c['push'](_0xccbbac['length']),0x0==_0x34c07c[0x0]&&_0x34c07c['shift']();const _0x137a08=[],_0x11de99=_0x4d2d92['parent'];let _0x4dff0b=0x0,_0xac42b=_0x4d2d92['offset'];for(let _0x1fb7bc=0x0;_0x1fb7bc<_0x34c07c['length'];_0x1fb7bc++)_0x137a08['push']({'type':'text','data':_0xccbbac['slice'](_0x4dff0b,_0x34c07c[_0x1fb7bc]),'parent':_0x11de99,'offset':_0xac42b,'limitId':_0x5e2502}),_0x4dff0b=_0x34c07c[_0x1fb7bc],_0xac42b=_0x4d2d92['offset']+_0x34c07c[_0x1fb7bc];return _0x137a08;}['_getElementCategory'](_0x36a004){const _0x343b52=this['_editor']['model']['schema'];return _0x343b52['isLimit'](_0x36a004)||_0x343b52['isContent'](_0x36a004)||_0x343b52['isInline'](_0x36a004)?'solid':_0x343b52['isBlock'](_0x36a004)?'block':function(_0x577a19,_0x58dc5e){const _0x1c96eb=_0x577a19['parent'];if(!_0x1c96eb||_0x1c96eb['is']('documentFragment'))return!0x1;if(_0x58dc5e['checkChild'](_0x1c96eb,'$text'))return!0x1;for(const _0x20ea6f of _0x577a19['getChildren']())if(_0x20ea6f['is']('$text'))return!0x0;return!0x1;}(_0x36a004,_0x343b52)?'solid':'container';}['_diffModelTokens'](_0x8b2e8c,_0x11aec3){const _0x144ee6=_0x14add3(_0x8b2e8c,_0x11aec3,{'comparator':ht});this['_handleUnclosedBlockOpeningTags'](_0x144ee6);const _0x35de54=_0x144ee6['flatMap'](_0x251718=>{const _0x39b0ff=_0x251718['added']?'added':_0x251718['removed']?'removed':'unchanged';return _0x251718['value']['map'](_0x161276=>({'token':_0x161276,'change':_0x39b0ff}));});let _0x249acb=0x0;for(const _0x4fcbb9 of _0x35de54)'added'!=_0x4fcbb9['change']&&('unchanged'==_0x4fcbb9['change']&&(_0x4fcbb9['before']=_0x8b2e8c[_0x249acb]),_0x249acb++);return _0x35de54;}['_handleUnclosedBlockOpeningTags'](_0x4e475a){for(let _0x4791d3=0x0;_0x4791d3<_0x4e475a['length']-0x1;_0x4791d3++)if(_0x4e475a[_0x4791d3]['removed']&&_0x4e475a[_0x4791d3+0x1]['added']){const _0x45bade=this['_findUnclosedBlockOpeningToken'](_0x4e475a[_0x4791d3]['value']);if(null!==_0x45bade){const _0x3688f4=this['_findUnclosedBlockOpeningToken'](_0x4e475a[_0x4791d3+0x1]['value']),_0x5525e0=_0x4e475a[_0x4791d3]['value']['splice'](_0x45bade),_0x3970c3=_0x4e475a[_0x4791d3+0x1]['value']['splice'](_0x3688f4),_0x165c0f=[_0x3970c3['shift']()];_0x5525e0['shift']();const _0xd01433={'value':_0x5525e0,'removed':!0x0},_0x996998={'value':_0x3970c3,'added':!0x0},_0x2aa93c={'value':_0x165c0f};_0x4e475a['splice'](_0x4791d3+0x2,0x0,_0x2aa93c,_0xd01433,_0x996998);}}}['_findUnclosedBlockOpeningToken'](_0x5ab9f1){let _0x46f73b=0x0,_0xb1f56c=-0x1;for(let _0x1aa452=0x0;_0x1aa452<_0x5ab9f1['length'];_0x1aa452++){const _0x1286b5=_0x5ab9f1[_0x1aa452];'element'==_0x1286b5['type']&&'block'==_0x1286b5['category']&&(_0x46f73b+=_0x1286b5['isStart']?0x1:-0x1,_0x1286b5['isStart']&&(_0xb1f56c=_0x1aa452));}return 0x0===_0x46f73b?null:_0xb1f56c;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x37d356=0x0;_0x37d356<this['_diffItems']['length'];_0x37d356++){const _0x1a6c85=this['_diffItems'][_0x37d356]['change'],_0x5a7567=[];_0x5a7567['push'](this['_diffItems'][_0x37d356]);let _0x2d84f7=_0x37d356+0x1;for(;this['_diffItems'][_0x2d84f7]&&this['_diffItems'][_0x2d84f7]['change']==_0x1a6c85;)_0x5a7567['push'](this['_diffItems'][_0x2d84f7]),_0x2d84f7++,_0x37d356++;const _0x5f341e=_0x5a7567['map'](_0x141282=>_0x141282['token']);if('unchanged'==_0x1a6c85)_0x5a7567['map'](_0x54aae0=>_0x54aae0['before'])['forEach'](_0x2cdb08=>this['_traverseOverItem'](_0x2cdb08));else{if('removed'==_0x1a6c85){if(this['_markDeletions']){const _0x3c3ff0=this['_path']['slice']();_0x5f341e['forEach'](_0x1dc5ee=>this['_traverseOverItem'](_0x1dc5ee));const _0x4367ad=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x3c3ff0,'end':_0x4367ad}});}else this['_handleChanged'](_0x5f341e,!0x0,this['_path']['slice']());}else{const _0x3196e3=_0x5f341e['filter'](_0x8ca125=>'element'!=_0x8ca125['type']||'container'!=_0x8ca125['category']);this['_handleChanged'](_0x3196e3,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x568727=0x0;_0x568727<this['_diffItems']['length'];_0x568727++){const _0x14c92f=this['_diffItems'][_0x568727]['change'],_0x1c024c=[];_0x1c024c['push'](this['_diffItems'][_0x568727]);let _0x34f62f=_0x568727+0x1;for(;this['_diffItems'][_0x34f62f]&&this['_diffItems'][_0x34f62f]['change']==_0x14c92f;)_0x1c024c['push'](this['_diffItems'][_0x34f62f]),_0x34f62f++,_0x568727++;const _0x1046eb=_0x1c024c['map'](_0xea791e=>_0xea791e['token']);if('unchanged'==_0x14c92f){const _0x5d5639=_0x1c024c['map'](_0x1f47b1=>_0x1f47b1['before']);this['_handleUnchanged'](_0x5d5639,_0x1046eb);}else('added'==_0x14c92f||this['_markDeletions'])&&_0x1046eb['forEach'](_0x74272=>{'element'==_0x74272['type']&&_0x74272['isStart']&&this['_splitPostponedData']['has'](_0x74272['element'])&&this['_handleSplitPostponedData'](_0x74272['element'],this['_path']),this['_traverseOverItem'](_0x74272);});}}['_handleSplitPostponedData'](_0x1b6146,_0x7c5e1a){const _0x50e3b1=this['_splitPostponedData']['get'](_0x1b6146);for(const _0x5dac75 of _0x50e3b1)'rename'==_0x5dac75['type']?this['_operationsData']['push']({'type':'rename','path':_0x7c5e1a['slice'](),'oldName':_0x5dac75['oldValue'],'newName':_0x1b6146['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x7c5e1a['slice'](),'howMany':0x1,'key':_0x5dac75['key'],'oldValue':_0x5dac75['oldValue'],'newValue':JSON['stringify'](_0x1b6146['getAttribute'](_0x5dac75['key'])??null)});}['_calculateMarkersOperationsData'](_0x2adf38,_0x9b7d76){const _0x99d8e0={};for(const [_0x3edb04]of _0x2adf38)_0x99d8e0[_0x3edb04]=null;for(const [_0x127162,_0x5801f4]of _0x9b7d76)_0x99d8e0[_0x127162]=_0x5801f4;const _0x3b0cf3=Object['entries'](_0x99d8e0)['map'](([_0x2d619e,_0x5711ed])=>({'type':'marker','name':_0x2d619e,'range':_0x5711ed?{'start':_0x5711ed['start']['path']['slice'](),'end':_0x5711ed['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3b0cf3);}['_handleUnwraps'](){const _0x22e105=new Map(),_0x31e03d=[],_0x505a56=[0x0];let _0x2c23c6=this['_diffItems']['length']+0x1;for(let _0xc85838=this['_diffItems']['length']-0x1;_0xc85838>=0x0;_0xc85838--){const {token:_0x459054,before:_0x52ec36,change:_0x41411e}=this['_diffItems'][_0xc85838];if('removed'!=_0x41411e&&(_0x2c23c6=_0xc85838),'element'!=_0x459054['type']||'container'!=_0x459054['category']||'added'==_0x41411e)continue;const _0x17cf87=_0x52ec36?_0x52ec36['element']:_0x459054['element'];if(_0x459054['isStart']){const _0x55c62c=_0x22e105['get'](_0x17cf87),_0x35a609=this['_diffItems'][_0x55c62c];('removed'==_0x41411e||'removed'==_0x35a609['change'])&&_0x2c23c6<_0x55c62c&&(this['_operationsData']['push']({'type':'unwrap','path':_0x17cf87['getPath'](),'howMany':_0x17cf87['maxOffset']+_0x505a56[0x0]}),_0x505a56['shift'](),_0x505a56[0x0]+=_0x17cf87['maxOffset']-0x1,_0x31e03d['push'](_0xc85838),_0x31e03d['push'](_0x55c62c));}else _0x22e105['set'](_0x17cf87,_0xc85838),_0x505a56['unshift'](0x0);}_0x31e03d['sort']((_0xd1da16,_0x3594c4)=>_0x3594c4-_0xd1da16),_0x31e03d['forEach'](_0x421277=>{const _0x34db24=this['_diffItems'][_0x421277];'removed'==_0x34db24['change']?this['_diffItems']['splice'](_0x421277,0x1):(_0x34db24['change']='added',delete _0x34db24['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x11b33a=[];for(let _0xc3750b=0x0;_0xc3750b<this['_diffItems']['length'];_0xc3750b++){const {change:_0x2ac2d0,token:_0x4a1682}=this['_diffItems'][_0xc3750b];if('added'==_0x2ac2d0&&'element'==_0x4a1682['type']&&'container'==_0x4a1682['category']){if(_0x4a1682['isStart'])_0x11b33a['push'](this['_path']['slice']());else{if(!_0x4a1682['isStart']){const _0x3752b2=_0x11b33a['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3752b2,'end':this['_path']['slice']()},'token':_0x4a1682}),this['_path'][this['_path']['length']-0x1]=_0x3752b2[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x2ac2d0||this['_markDeletions'])&&this['_traverseOverItem'](_0x4a1682);}}['_handleUnchanged'](_0x471e96,_0x2c4e5b){for(let _0x1326da=0x0;_0x1326da<_0x471e96['length'];_0x1326da++){const _0x44f7a5=_0x471e96[_0x1326da];if('element'==_0x44f7a5['type']&&_0x44f7a5['isStart']){const _0x1a5ccb=_0x2c4e5b[_0x1326da];'block'==_0x44f7a5['category']&&this['_handleElementRename'](_0x44f7a5['element'],_0x1a5ccb['element'],this['_path']),this['_handleElementAttributeChanges'](_0x44f7a5['element'],_0x1a5ccb['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x1a5ccb);}else{if('element'!=_0x44f7a5['type']||_0x44f7a5['isStart']){if('text'==_0x44f7a5['type']){const _0x401148=this['_path']['slice'](),_0x1dd7c5=[],_0xc98002=[];for(;_0x471e96[_0x1326da]&&'text'==_0x471e96[_0x1326da]['type'];)_0x1dd7c5['push'](_0x471e96[_0x1326da]),_0xc98002['push'](_0x2c4e5b[_0x1326da]),this['_path'][this['_path']['length']-0x1]+=_0x471e96[_0x1326da]['data']['length'],_0x1326da++;_0x1326da--,this['_handleTextAttributeChanges'](_0x1dd7c5,_0xc98002,_0x401148);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x35164b,_0xcdf610,_0x32e89a){const _0x73704c=[],_0x106616=[],_0x1ae3e4=_0x32e89a['slice']();let _0x5b6947=this['_parents']['length']-0x1;for(let _0x5414ef=0x0;_0x5414ef<_0x35164b['length'];_0x5414ef++){const _0x48e50d=_0x35164b[_0x5414ef],_0x4188af=_0x32e89a['slice']();'element'!=_0x48e50d['type']||_0x48e50d['isStart']?'element'==_0x48e50d['type']&&_0x48e50d['isStart']?(_0x32e89a['push'](0x0),_0x5b6947++,_0x106616['push']({'before':_0x4188af,'after':_0x32e89a['slice'](),'index':_0x5414ef})):_0x32e89a[_0x32e89a['length']-0x1]+=_0x48e50d['data']['length']:(_0x32e89a['pop'](),_0x32e89a[_0x32e89a['length']-0x1]++,_0x5b6947--,_0x106616['length']?_0x106616['pop']():_0x73704c['push']({'before':_0x4188af,'after':_0x32e89a['slice'](),'index':_0x5414ef}));}if(_0x106616['length']!==_0x73704c['length'])throw new _0x567c0e('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x35164b,'isRemove':_0xcdf610});const _0x3b543d=[{'after':_0x1ae3e4['slice'](),'index':-0x1},..._0x73704c,..._0x106616,{'before':_0x32e89a['slice'](),'index':_0x35164b['length']}];if(_0xcdf610){for(let _0x5e90b4=_0x3b543d['length']-0x1;_0x5e90b4>=0x1;_0x5e90b4--){const _0x4f6f94=_0x3b543d[_0x5e90b4-0x1]['after'],_0x31b87f=_0x3b543d[_0x5e90b4]['before'],_0x522ab7=_0x31b87f[_0x31b87f['length']-0x1]-_0x4f6f94[_0x4f6f94['length']-0x1];_0x522ab7&&(this['_operationsData']['push']({'type':'remove','path':_0x4f6f94,'howMany':_0x522ab7}),_0x31b87f[_0x31b87f['length']-0x1]-=_0x522ab7);}for(const {before:_0x5a16f6}of _0x73704c)this['_operationsData']['push']({'type':'merge','path':_0x5a16f6});}else for(let _0x117fb1=0x0;_0x117fb1<_0x3b543d['length']-0x1;_0x117fb1++){const _0x1529c2=_0x3b543d[_0x117fb1]['after'],_0xf6c1fb=_0x3b543d[_0x117fb1+0x1]['before'],_0xb1e5aa=_0x3b543d[_0x117fb1]['index']+0x1,_0x82c30=_0x3b543d[_0x117fb1+0x1]['index'];if(_0xb1e5aa!==_0x82c30&&this['_operationsData']['push']({'type':'insert','path':_0x1529c2,'tokens':_0x35164b['slice'](_0xb1e5aa,_0x82c30)}),_0x117fb1<_0x73704c['length']){this['_operationsData']['push']({'type':'split','path':_0xf6c1fb});const _0x12642c=_0x35164b[_0x106616[_0x106616['length']-0x1-_0x117fb1]['index']],_0xf4218e=this['_parents'][_0x5b6947]['element'];_0xf4218e['name']!=_0x12642c['element']['name']&&this['_addSplitPostponedData'](_0x12642c['element'],{'type':'rename','oldValue':_0xf4218e['name']});const _0x1e7f57=this['_getAttributeChanges'](_0xf4218e['getAttributes'](),_0x12642c['element']['getAttributes']());for(const _0x3c7219 in _0x1e7f57){const _0x54f731=_0x1e7f57[_0x3c7219]['oldValue'];this['_addSplitPostponedData'](_0x12642c['element'],{'type':'attribute','key':_0x3c7219,'oldValue':_0x54f731});}}}}['_addSplitPostponedData'](_0x371a3d,_0xf5b3eb){const _0x1f619d=this['_splitPostponedData']['get'](_0x371a3d)||[];_0x1f619d['push'](_0xf5b3eb),this['_splitPostponedData']['set'](_0x371a3d,_0x1f619d);}['_traverseOverItem'](_0x533fe0){'element'==_0x533fe0['type']&&_0x533fe0['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x533fe0)):'element'!=_0x533fe0['type']||_0x533fe0['isStart']?'text'==_0x533fe0['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x533fe0['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x49ef21,_0x1cb4e7,_0x427da2){_0x49ef21['name']!=_0x1cb4e7['name']&&this['_operationsData']['push']({'type':'rename','path':_0x427da2['slice'](),'oldName':_0x49ef21['name'],'newName':_0x1cb4e7['name']});}['_handleElementAttributeChanges'](_0x400d6b,_0x308990,_0x4ee7b1){const _0xb1049=this['_getAttributeChanges'](_0x400d6b['getAttributes'](),_0x308990['getAttributes']());for(const _0x1e11be in _0xb1049){const {oldValue:_0x44e5ee,newValue:_0x112147}=_0xb1049[_0x1e11be];this['_operationsData']['push']({'type':'attribute','path':_0x4ee7b1['slice'](),'howMany':0x1,'key':_0x1e11be,'oldValue':_0x44e5ee,'newValue':_0x112147});}}['_handleTextAttributeChanges'](_0x340783,_0x1db707,_0x4614b3){const _0x5103bf=this['_operationsData'],_0x645f1e=_0x340783[0x0]['parent'],_0x2d1a45=_0x340783[0x0]['offset'],_0x1ad686=_0x1db707[0x0]['parent'],_0x9c18b9=_0x1db707[0x0]['offset'],_0x380d99=_0x340783['reduce']((_0x1f9b09,_0x328efc)=>_0x1f9b09+_0x328efc['data']['length'],0x0),_0xce7bbc=this['_getAttrsForOffsets'](_0x645f1e,_0x2d1a45,_0x380d99),_0x543567=this['_getAttrsForOffsets'](_0x1ad686,_0x9c18b9,_0x380d99),_0x2fec66={};for(let _0x1b695f=0x0;_0x1b695f<_0x380d99;_0x1b695f++){const _0x207d2b=_0xce7bbc[_0x2d1a45+_0x1b695f],_0x2c72fb=_0x543567[_0x9c18b9+_0x1b695f],_0x59e610=this['_getAttributeChanges'](_0x207d2b,_0x2c72fb);for(const _0x824137 in _0x2fec66)_0x59e610[_0x824137]||_0x4dcd2(_0x824137);for(const _0x5ec84e in _0x59e610){const {oldValue:_0x126774,newValue:_0x31e50b}=_0x59e610[_0x5ec84e],_0x37303b=_0x2fec66[_0x5ec84e];_0x37303b?_0x37303b['oldValue']==_0x126774&&_0x37303b['newValue']==_0x31e50b?_0x37303b['length']++:(_0x4dcd2(_0x5ec84e),_0x2fec66[_0x5ec84e]={'oldValue':_0x126774,'newValue':_0x31e50b,'start':_0x1b695f,'length':0x1}):_0x2fec66[_0x5ec84e]={'oldValue':_0x126774,'newValue':_0x31e50b,'start':_0x1b695f,'length':0x1};}}for(const _0x272726 in _0x2fec66)_0x4dcd2(_0x272726);function _0x4dcd2(_0x5cecc5){const _0x18ee94=_0x2fec66[_0x5cecc5],_0x24e5f5=_0x4614b3['slice']();_0x24e5f5[_0x24e5f5['length']-0x1]+=_0x18ee94['start'],_0x5103bf['push']({'type':'attribute','path':_0x24e5f5,'howMany':_0x18ee94['length'],'key':_0x5cecc5,'oldValue':_0x18ee94['oldValue'],'newValue':_0x18ee94['newValue']}),delete _0x2fec66[_0x5cecc5];}}['_getAttributeChanges'](_0x2369ca,_0xe1a1c3){const _0x4fa4c8={};for(const [_0x12a03f,_0x3d988b]of _0x2369ca)_0x4fa4c8[_0x12a03f]={'oldValue':JSON['stringify'](_0x3d988b),'newValue':'null'};for(const [_0x4823a4,_0x23ca49]of _0xe1a1c3){const _0x8a6589=JSON['stringify'](_0x23ca49);_0x4fa4c8[_0x4823a4]?_0x4fa4c8[_0x4823a4]['oldValue']==_0x8a6589?delete _0x4fa4c8[_0x4823a4]:_0x4fa4c8[_0x4823a4]['newValue']=_0x8a6589:_0x4fa4c8[_0x4823a4]={'oldValue':'null','newValue':_0x8a6589};}return delete _0x4fa4c8[lt],_0x4fa4c8;}['_getAttrsForOffsets'](_0x456c40,_0x1b5dba,_0x586be1){const _0x1bb818=new Array(_0x1b5dba+_0x586be1);let _0x15b150=_0x456c40['getChildAtOffset'](_0x1b5dba),_0x1b2c98=_0x15b150['startOffset'];for(;_0x15b150&&_0x1b2c98<_0x1b5dba+_0x586be1;){const _0x5bbab6=Array['from'](_0x15b150['getAttributes']());_0x1bb818['fill'](_0x5bbab6,_0x1b2c98,_0x1b2c98+_0x15b150['offsetSize']),_0x1b2c98+=_0x15b150['offsetSize'],_0x15b150=_0x15b150['nextSibling'];}return _0x1bb818;}['_getPositionFromAnchorAndPath'](_0x2ae690,_0x1fa064){const _0x2a0404=[..._0x2ae690['path']['slice'](0x0,-0x1),_0x2ae690['offset']+_0x1fa064[0x0],..._0x1fa064['slice'](0x1)];return new _0x6b9db2(_0x2ae690['root'],_0x2a0404);}['_makeModelFromTokens'](_0xfa19b3){const _0x2f374a=[];let _0x34f5ae=null;for(const _0x1a7edb of _0xfa19b3)if('element'!=_0x1a7edb['type']||_0x1a7edb['isStart']||_0x34f5ae!=_0x1a7edb['element']){if(!_0x34f5ae){if('text'==_0x1a7edb['type']){const _0x975d64=_0x6b9db2['_createAt'](_0x1a7edb['parent'],_0x1a7edb['offset']),_0x20a21f=_0x326622['_createFromPositionAndShift'](_0x975d64,_0x1a7edb['data']['length']),_0x560655=Array['from'](_0x20a21f['getItems']())['map'](_0x49b199=>new _0x1f4480(_0x49b199['data'],_0x49b199['getAttributes']()));_0x2f374a['push'](..._0x560655);}else{_0x34f5ae=_0x1a7edb['element'];const _0x558491=_0x1a7edb['element']['_clone'](!0x0);_0x558491['_removeAttribute'](lt);for(const _0x556074 of this['_editor']['model']['createRangeIn'](_0x558491)['getItems']())_0x556074['is']('element')&&_0x556074['_removeAttribute'](lt);_0x2f374a['push'](_0x558491);}}}else _0x34f5ae=null;return _0x2f374a;}}function ht(_0x31f48d,_0x400f3d){return _0x31f48d['type']===_0x400f3d['type']&&(_0x31f48d['limitId']===_0x400f3d['limitId']&&('text'==_0x31f48d['type']?_0x31f48d['data']==_0x400f3d['data']:function(_0x2b707d,_0x43038d){if(_0x2b707d['isStart']!=_0x43038d['isStart'])return!0x1;if(_0x2b707d['isStart']&&_0x2b707d['elementId']!=_0x43038d['elementId'])return!0x1;if(_0x2b707d['category']!=_0x43038d['category'])return!0x1;if('block'==_0x2b707d['category'])return!0x0;if('container'==_0x2b707d['category']&&_0x2b707d['elementId']!=_0x43038d['elementId'])return!0x1;return _0x2b707d['element']['name']==_0x43038d['element']['name'];}(_0x31f48d,_0x400f3d)));}function dt(_0xbdd363){return J({'name':_0xbdd363['name'],...Object['fromEntries'](_0xbdd363['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 _0x6cd88d,Editor as _0x234001,Plugin as _0x304117}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x15616a,Collection as _0x1454a8,uid as _0x588420,toArray as _0x1891c6,first as _0x15483a,FocusTracker as _0x1693fc,KeystrokeHandler as _0x16c8f2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1e209f,IconView as _0x49da41,ButtonView as _0xf17146,DropdownButtonView as _0x855f76,FocusCycler as _0x447b0c,isViewWithFocusCycler as _0x195675}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x13a2a6,IconCheck as _0x3b54b2,IconCancel as _0x2c9193}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as _0x544e85,toWidget as _0x1eef9f}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0xb844be}from'luxon';import{InsertOperation as _0x540adc,MoveOperation as _0x511e94,ModelPosition as _0x478743,ModelRange as _0xe6a104,MarkerOperation as _0x488e8f,MergeOperation as _0x51e3de,SplitOperation as _0xcf79b,RenameOperation as _0x4bb4d1,AttributeOperation as _0x4ea328,ModelTreeWalker as _0x4b9e8c,ModelText as _0xc19f59}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x325bc5}from'diff';class Permissions extends _0x6cd88d{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x13ac82,_0x58ea11){let _0x3603f5;if(_0x58ea11||(_0x58ea11=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x58ea11?_0x3603f5=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x3603f5=this['context']['editors']['find'](_0x1c0aea=>_0x1c0aea['config']['get']('collaboration.channelId')==_0x58ea11)),!_0x3603f5)throw new _0x15616a('permissions-set-permissions-invalid-channel-id',null);const _0x5f591d=_0x3603f5['plugins'],_0x2e441e=_0x5f591d['has']('CommentsRepository')?_0x5f591d['get']('CommentsRepository'):void 0x0,_0x3f98c2=_0x5f591d['has']('CommentsOnly')&&_0x5f591d['get']('CommentsOnly'),_0x4849d9=_0x13ac82['includes']('document:write'),_0x1f7089=_0x13ac82['includes']('comment:modify_all'),_0x17e4b3=_0x13ac82['includes']('comment:admin'),_0x277bba=_0x13ac82['includes']('comment:write'),_0x29a472=_0x277bba||_0x17e4b3,_0x409bc0=_0x29a472||_0x1f7089,_0x1338c3=_0x4849d9||_0x29a472;(_0x3f98c2&&(_0x3f98c2['isEnabled']=!_0x4849d9&&_0x409bc0),_0x3603f5 instanceof _0x234001)&&(!(_0x4849d9||_0x409bc0&&_0x2e441e)?_0x3603f5['enableReadOnlyMode']('no-permissions'):_0x3603f5['disableReadOnlyMode']('no-permissions'));if(_0x2e441e){_0x2e441e['setPermissions']({'admin':_0x17e4b3,'modifyAll':_0x1f7089,'write':_0x277bba,'resolve':_0x1338c3},_0x58ea11);const _0x1340ec=_0x3603f5 instanceof _0x234001&&_0x3603f5['commands']['get']('addCommentThread');_0x1340ec&&(_0x29a472?_0x1340ec['clearForceDisabled']('noPermissions'):_0x1340ec['forceDisabled']('noPermissions'));}}}function B(_0x35660a,_0x5c45fa){const t=_0x35660a['t'];switch(_0x5c45fa){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 _0x6cd88d{['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(_0x153263){super(_0x153263),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1454a8(),this['_locale']=_0x153263['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:_0x11d16a,name:_0x21c07f,..._0x42198b}){if(!_0x11d16a||'string'!=typeof _0x11d16a)throw new _0x15616a('users-add-invalid-id');if(this['users']['has'](_0x11d16a))throw new _0x15616a('users-add-duplicated-id',null,{'id':_0x11d16a});const _0x1de477=this['context']['config']['get']('users.getInitialsCallback'),_0x224b55={..._0x42198b,'id':_0x11d16a,'name':N(this['_locale'],_0x21c07f),'color':this['_getNextColor']()};_0x224b55['name']=N(this['_locale'],_0x224b55['name']);const _0x34e4de=new User(_0x224b55,_0x1de477);return this['users']['add'](_0x34e4de),_0x34e4de;}['getUser'](_0x37074c){return this['users']['get'](_0x37074c);}['useAnonymousUser'](){const _0x4de819=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x4de819);}['defineMe'](_0x25b119){if(this['_myId'])throw new _0x15616a('users-me-already-defined',null);const _0xac02ca=this['getUser'](_0x25b119);if(!_0xac02ca)throw new _0x15616a('users-me-missing-user',null);this['_myId']=_0x25b119,_0xac02ca['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x8b27a3=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x8b27a3&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x1f7081=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x1f7081,'name':B(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x77988e,_0x33d648){this['id']=_0x77988e['id'],this['color']=_0x77988e['color'],this['name']=_0x77988e['name'],this['initials']=_0x33d648?_0x33d648(this['name']):this['_computeInitials'](),this['avatar']=_0x77988e['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x2cb040=this['name']['split']('\x20')['filter'](_0x1e74aa=>/^[\p{Letter}]/u['test'](_0x1e74aa));return 0x1===_0x2cb040['length']?this['_getInitial'](_0x2cb040[0x0]):0x0===_0x2cb040['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x2cb040[0x0])+this['_getInitial'](_0x2cb040[_0x2cb040['length']-0x1]);}['_getInitial'](_0x5df9a5){return String['fromCodePoint'](_0x5df9a5['codePointAt'](0x0))['toUpperCase']();}}function N(_0x1472c4,_0x3d420a=''){return''==(_0x3d420a=_0x3d420a['trim']())?B(_0x1472c4,'Anonymous'):_0x3d420a;}class CollaborationUserColor{['_id'];constructor(_0x15005f){this['_id']=_0x15005f;}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 _0x1e209f{['name'];['notificationView'];constructor(_0x32f5ba,_0x2655c5,_0x190453){super(_0x32f5ba),this['name']=_0x2655c5['name'],this['notificationView']=null;const _0x5717c7=['ck','ck-user'],_0x119abc=['ck','ck-user__img'];if(_0x2655c5['isAnonymous']&&_0x119abc['push']('ck-user__anonymous'),!_0x2655c5['isAnonymous']&&_0x2655c5['isMe']&&_0x5717c7['push']('ck-user_me'),_0x2655c5['avatar']&&_0x119abc['push']('ck-user__avatar'),_0x190453){const _0x17137f=new _0x49da41();_0x17137f['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x17137f['content']=_0x13a2a6,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x190453},'children':[_0x17137f]};}const _0x1728ca=[{'tag':'div','attributes':{'class':_0x119abc,'style':{'background-image':_0x2655c5['avatar']?'url(\x27'+_0x2655c5['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2655c5['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x2655c5['name']},'children':[{'text':_0x2655c5['initials']}]}];this['notificationView']&&_0x1728ca['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5717c7,'data-user-id':_0x2655c5['id']},'children':_0x1728ca});}}class AriaDescriptionView extends _0x1e209f{['id'];constructor(_0x37bcee,_0x30f5ca){super(_0x37bcee),this['id']='ck-aria-description-'+_0x588420(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x30f5ca}]});}}class LateFocusButtonView extends _0xf17146{['render'](){super['render'](),H(this);}}class LateFocusDropdownButtonView extends _0x855f76{['render'](){super['render'](),H(this);}}function H(_0x5b2bb8){_0x5b2bb8['listenTo'](_0x5b2bb8['element'],'mousedown',(_0x529bcb,_0x7d02b)=>{_0x7d02b['stopPropagation'](),_0x7d02b['preventDefault']();}),_0x5b2bb8['listenTo'](_0x5b2bb8['element'],'mouseup',()=>{_0x5b2bb8['element']['focus']();});}function O(_0x18b509){const _0x30642e=_0x18b509['split'](':');return{'group':_0x30642e[0x0],'type':_0x30642e[0x1],'subType':_0x30642e['length']>=0x5?_0x30642e[0x2]:null,'id':_0x30642e['length']<0x5?_0x30642e[0x2]:_0x30642e[0x3],'authorId':_0x30642e['length']<0x5?_0x30642e[0x3]:_0x30642e[0x4],'markerCount':0x6==_0x30642e['length']?_0x30642e[0x5]:null};}function U(_0x3d7048,_0x2b515b){const _0x4f3eb9=_0x3d7048['end']['nodeBefore'];if(_0x4f3eb9&&_0x4f3eb9['is']('element')&&_0x2b515b['schema']['isBlock'](_0x4f3eb9)&&!_0x2b515b['schema']['isObject'](_0x4f3eb9)){const _0x13da58=_0x2b515b['createPositionAt'](_0x4f3eb9,'end');return _0x2b515b['createRange'](_0x3d7048['start'],_0x13da58);}return _0x3d7048;}class SuggestionsConversionAlignment extends _0x304117{['afterInit'](){const _0x47ca41=this['editor'];if(!_0x47ca41['plugins']['has']('AlignmentEditing'))return;_0x47ca41['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const $=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x304117{['afterInit'](){const _0x130685=this['editor'],_0x2bace5=_0x130685['plugins']['get']('SuggestionsConversion');for(const _0x3ed7f7 of $){if(!_0x130685['plugins']['has'](_0x3ed7f7))continue;const _0x44b4b3=_0x3ed7f7['slice'](0x0,-0x7)['toLowerCase']();_0x2bace5['registerInlineAttribute'](_0x44b4b3);}}}class SuggestionsConversionBookmark extends _0x304117{['afterInit'](){const _0x5a0086=this['editor'],_0x5ce0bc=_0x5a0086['plugins']['get']('SuggestionsConversion');_0x5a0086['plugins']['has']('BookmarkEditing')&&_0x5ce0bc['registerBlockAttribute']('bookmarkId');}}const F=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x304117{['afterInit'](){const _0x52495b=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x20045e,commandName:_0x27f194}of F)this['editor']['plugins']['has'](_0x20045e)&&_0x52495b['registerInlineAttribute'](_0x27f194);}}class SuggestionsConversionFootnotes extends _0x304117{['afterInit'](){const {editor:_0x392573}=this;if(!_0x392573['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x489d90=_0x392573['plugins']['get']('SuggestionsConversion');_0x489d90['registerBlockAttribute']('footnotesListStyle'),_0x489d90['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x304117{['afterInit'](){const _0x2d70d0=this['editor'];if(!_0x2d70d0['plugins']['has']('GeneralHtmlSupport')||!_0x2d70d0['plugins']['has']('DataSchema'))return;const _0x26193e=_0x2d70d0['plugins']['get']('SuggestionsConversion'),_0x39a351=_0x2d70d0['plugins']['get']('GeneralHtmlSupport'),_0x201a50=_0x2d70d0['plugins']['get']('DataSchema');for(const _0x4e5aad of _0x201a50['getDefinitionsForView'](/.*/,!0x1)){const _0x205e96=_0x39a351['getGhsAttributeNameForElement'](_0x4e5aad['view']);_0x4e5aad['isInline']&&!_0x4e5aad['isObject']&&!('appliesToBlock'in _0x4e5aad&&_0x4e5aad['appliesToBlock'])?_0x26193e['registerInlineAttribute'](_0x205e96):_0x26193e['registerBlockAttribute'](_0x205e96);}}}class SuggestionsConversionHighlight extends _0x304117{['afterInit'](){const _0x269929=this['editor'];if(!_0x269929['plugins']['has']('HighlightEditing'))return;_0x269929['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x304117{['afterInit'](){const _0x340e53=this['editor'];if(!_0x340e53['plugins']['has']('HtmlEmbed'))return;_0x340e53['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x304117{['afterInit'](){const _0x10b85d=this['editor'];if(!_0x10b85d['plugins']['has']('ImageEditing'))return;const _0x48ea90=_0x10b85d['plugins']['get']('SuggestionsConversion');_0x48ea90['registerBlockAttribute']('src'),_0x10b85d['plugins']['has']('ImageResize')&&_0x48ea90['registerBlockAttribute']('resizedWidth'),_0x10b85d['plugins']['has']('ImageTextAlternativeEditing')&&_0x48ea90['registerBlockAttribute']('alt'),_0x10b85d['plugins']['has']('PictureEditing')&&_0x48ea90['registerBlockAttribute']('sources'),_0x10b85d['plugins']['has']('ImageSizeAttributes')&&(_0x48ea90['registerBlockAttribute']('width'),_0x48ea90['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x304117{['afterInit'](){const _0x13bdd1=this['editor'],_0x384f25=_0x13bdd1['plugins']['get']('SuggestionsConversion');_0x13bdd1['plugins']['has']('IndentBlock')&&(_0x384f25['registerBlockAttribute']('blockIndent'),_0x13bdd1['plugins']['has']('ListEditing')&&(_0x384f25['registerBlockAttribute']('blockIndentList'),_0x384f25['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x304117{['afterInit'](){const _0x1da159=this['editor'];if(!_0x1da159['plugins']['has']('LineHeight'))return;_0x1da159['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x304117{['afterInit'](){const _0xf55345=this['editor'];if(!_0xf55345['plugins']['has']('LinkEditing'))return;const _0x54702a=_0xf55345['plugins']['get']('SuggestionsConversion'),_0x3d39a5=_0xf55345['commands']['get']('link');_0x54702a['registerInlineAttribute']('linkHref');for(const _0x454135 of _0x3d39a5['manualDecorators'])_0x54702a['registerInlineAttribute'](_0x454135['id']);}}class SuggestionsConversionList extends _0x304117{['afterInit'](){const _0xefd203=this['editor'];if(!_0xefd203['plugins']['has']('ListEditing'))return;const _0x279950=_0xefd203['plugins']['get']('SuggestionsConversion'),_0x3331f4=_0xefd203['plugins']['has']('TodoListEditing');_0x279950['registerBlockAttribute']('listItemId'),_0x279950['registerBlockAttribute']('listType'),_0x279950['registerBlockAttribute']('listIndent'),_0x3331f4&&_0x279950['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x304117{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1dd679=this['editor']['config']['get']('list.properties'),_0x4c33b6=this['editor']['plugins']['get']('SuggestionsConversion');_0x1dd679['styles']&&_0x4c33b6['registerBlockAttribute']('listStyle'),_0x1dd679['reversed']&&_0x4c33b6['registerBlockAttribute']('listReversed'),_0x1dd679['startIndex']&&_0x4c33b6['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x304117{['afterInit'](){const _0x4bc88a=this['editor'],_0x35a9c5=_0x4bc88a['plugins']['get']('SuggestionsConversion');_0x4bc88a['plugins']['has']('MultiLevelList')&&_0x35a9c5['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x304117{['afterInit'](){const _0x275801=this['editor'];if(!_0x275801['plugins']['has']('TableEditing'))return;const _0x12fe9a=_0x275801['plugins']['get']('SuggestionsConversion');_0x12fe9a['registerBlockAttribute']('headingRows'),_0x12fe9a['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x304117{['afterInit'](){const {plugins:_0x5d00c7}=this['editor'];if(!_0x5d00c7['has']('TablePropertiesEditing'))return;const _0x1c9683=_0x5d00c7['get']('SuggestionsConversion'),_0x2cecb4=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0xd41eb3 of _0x2cecb4)_0x1c9683['registerBlockAttribute'](_0xd41eb3);}}class SuggestionsConversionTableLayout extends _0x304117{['afterInit'](){const _0x2960ae=this['editor'],_0x562bfb=_0x2960ae['plugins']['get']('SuggestionsConversion');_0x2960ae['plugins']['has']('TableLayout')&&_0x562bfb['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x304117{['afterInit'](){const _0x4f4b14=this['editor'],_0x1a3695=this['editor']['plugins']['get']('SuggestionsConversion');_0x4f4b14['plugins']['has']('Uploadcare')&&_0x4f4b14['plugins']['has']('UploadcareImageEdit')&&_0x1a3695['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x304117{['afterInit'](){const _0x3c5c82=this['editor'];if(!_0x3c5c82['plugins']['has']('ShiftEnter'))return;const _0x1057ae=_0x3c5c82['plugins']['get']('SuggestionsConversion'),_0x531f27=(_0x21d150,_0x22fcfe,_0x18493b,_0x1596f3)=>{if(_0x1596f3&&!_0x18493b['options']['showSuggestionHighlights'])return;if(!_0x18493b['consumable']['test'](_0x22fcfe['markerRange'],_0x21d150['name']))return;const _0x424a63=_0x3c5c82['model'];for(const _0x1d193c of _0x22fcfe['markerRange']['getItems']()){if(!_0x1d193c['is']('element','softBreak'))continue;const _0x1adced='deletion'==_0x22fcfe['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xa6e30a,authorId:_0x3b2a34}=O(_0x22fcfe['markerName']),_0x16bc90=_0x18493b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1adced,'data-suggestion':_0xa6e30a,'data-author-id':_0x3b2a34}),_0x2369fc=_0x18493b['mapper']['toViewPosition'](_0x424a63['createPositionBefore'](_0x1d193c));!_0x1596f3&&_0x1057ae['_activeMarkers']['includes'](_0x22fcfe['markerName'])&&_0x18493b['writer']['addClass']('ck-suggestion-marker--active',_0x16bc90),_0x18493b['writer']['insert'](_0x2369fc,_0x16bc90),_0x18493b['mapper']['bindElementToMarker'](_0x16bc90,_0x22fcfe['markerName']);}};_0x3c5c82['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1a9ce5,_0x3e5aa1,_0x2d32d0)=>{_0x531f27(_0x1a9ce5,_0x3e5aa1,_0x2d32d0,!0x1);},{'priority':'high'}),_0x3c5c82['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4a6367,_0x1f758e,_0x3c4aca)=>{_0x531f27(_0x4a6367,_0x1f758e,_0x3c4aca,!0x1);},{'priority':'high'}),_0x3c5c82['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x377dee,_0x4c475e,_0x1839e6)=>{_0x531f27(_0x377dee,_0x4c475e,_0x1839e6,!0x0);},{'priority':'high'}),_0x3c5c82['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x139ba3,_0x4db375,_0x2901a2)=>{_0x531f27(_0x139ba3,_0x4db375,_0x2901a2,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x304117{['afterInit'](){const _0x2039d2=this['editor'];if(!_0x2039d2['plugins']['has']('MediaEmbedEditing'))return;const _0x4264a1=_0x2039d2['plugins']['get']('SuggestionsConversion');_0x2039d2['plugins']['has']('MediaEmbedResizeEditing')&&_0x4264a1['registerBlockAttribute']('resizedWidth'),_0x2039d2['plugins']['has']('MediaEmbedStyleEditing')&&_0x4264a1['registerBlockAttribute']('mediaStyle'),_0x2039d2['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x50a812,{writer:_0x210188,options:_0x5d9aaa})=>{if(_0x5d9aaa['showSuggestionHighlights'])return _0x210188['createEmptyElement']('div');},'converterPriority':'high'}),_0x2039d2['data']['downcastDispatcher']['on']('attribute:url:media',(_0x1a6e9f,_0x532ff2,_0x29f2b0)=>{_0x29f2b0['options']['showSuggestionHighlights']&&_0x1a6e9f['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x304117{['afterInit'](){const _0x919d59=this['editor'];if(!_0x919d59['plugins']['has']('Table'))return;_0x919d59['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x245a87,_0x235114,_0x261e97)=>{((_0x3bb77f,_0x674f7f,_0x301d3c)=>{if(!_0x301d3c['options']['showSuggestionHighlights'])return;const _0x37dc46=_0x674f7f['item'];if(!_0x37dc46||!_0x37dc46['is']('element','tableCell'))return;const _0x1e4976=_0x301d3c['mapper']['toViewElement'](_0x37dc46);if(_0x1e4976){const {id:_0x187cd4,authorId:_0x4b9228}=O(_0x674f7f['markerName']);_0x544e85(_0x1e4976,_0x301d3c['writer'],(_0x185c6c,_0x5f5db4,_0x3b5ad8)=>{_0x3b5ad8['addClass'](_0x1891c6(_0x5f5db4['classes']),_0x185c6c),_0x3b5ad8['setAttribute']('data-suggestion',_0x187cd4,_0x185c6c),_0x3b5ad8['setAttribute']('data-author-id',_0x4b9228,_0x185c6c);});}})(0x0,_0x235114,_0x261e97);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x304117{['afterInit'](){const _0x50f87f=this['editor'];_0x50f87f['plugins']['has']('HorizontalLineEditing')&&_0x50f87f['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xa58e59,{writer:_0xc7d316,options:_0x57f177})=>{if(!_0x57f177['showSuggestionHighlights'])return null;const _0x1abb6b=_0xc7d316['createContainerElement']('div'),_0x2f6738=_0xc7d316['createEmptyElement']('hr');return _0xc7d316['addClass']('ck-horizontal-line',_0x1abb6b),_0xc7d316['insert'](_0xc7d316['createPositionAt'](_0x1abb6b,0x0),_0x2f6738),_0x1abb6b;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x304117{['afterInit'](){const {plugins:_0x203966,model:_0x47825f}=this['editor'];if(!_0x203966['has']('TableCellPropertiesEditing'))return;const _0x2dff37=_0x203966['get']('SuggestionsConversion'),_0x4f5a6b=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0xa9c535 of _0x4f5a6b)_0x2dff37['registerBlockAttribute'](_0xa9c535);_0x47825f['schema']['checkAttribute']('tableCell','tableCellType')&&_0x2dff37['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x304117{['afterInit'](){const _0x14f21c=this['editor'];if(!_0x14f21c['plugins']['has']('TableEditing')||!_0x14f21c['config']['get']('table.enableFooters'))return;_0x14f21c['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x304117{['_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 _0x3d72b2=this['editor'],_0x4c9a59=(_0x4cbffb,_0x524cf3,_0x2053ce)=>{const {id:_0x42d760,authorId:_0x12173b,type:_0xa886c3,subType:_0x15d6ac}=O(_0x4cbffb['markerName']),_0xe4b842=['ck-suggestion-marker',this['_getClassName'](_0xa886c3,_0x15d6ac)];let _0x2cd5c8=0xbb8;return!_0x2053ce&&(this['_activeMarkers']['includes'](_0x4cbffb['markerName'])&&(_0xe4b842['push']('ck-suggestion-marker--active'),_0x2cd5c8=0xbc2)),('deletion'==_0xa886c3&&(_0x2cd5c8+=0x5),{'classes':_0xe4b842,'attributes':{'data-suggestion':_0x42d760,'data-author-id':_0x12173b},'priority':_0x2cd5c8});};_0x3d72b2['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x524657,_0x113c27)=>_0x4c9a59(_0x524657,0x0,!0x1)}),_0x3d72b2['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x33eb25,_0x30b39c)=>_0x4c9a59(_0x33eb25,0x0,!0x0)}),_0x3d72b2['conversion']['for']('dataDowncast')['add'](_0x5a323b=>{_0x5a323b['on']('addMarker:suggestion',(_0x561bdd,_0x2c8d88,_0x1a6f12)=>{if(!_0x1a6f12['options']['showSuggestionHighlights'])return;const _0x2e3aa6=_0x2c8d88['item'];if(!_0x2e3aa6)return;const _0x26ad6e=_0x1a6f12['mapper']['toViewElement'](_0x2e3aa6);_0x3d72b2['model']['schema']['isObject'](_0x2e3aa6)&&_0x26ad6e&&!_0x26ad6e['getCustomProperty']('widget')&&_0x26ad6e['is']('containerElement')&&_0x1eef9f(_0x26ad6e,_0x1a6f12['writer']);},{'priority':'high'});});const _0x380e0e=(_0x3973fe,_0x5247de,_0x5d92e5,_0x483cec,_0x560349)=>{if(_0x483cec&&!_0x5d92e5['options']['showSuggestionHighlights'])return;if(!_0x5247de['item'])return;const {id:_0x24da72,authorId:_0x17e3a3,subType:_0xdec583}=O(_0x5247de['markerName']);if(_0x560349){const _0x509e46=_0xdec583['split']('|')[0x0];if(!this['isBlockAttribute'](_0x509e46))return;}if(_0x5247de['item']['is']('selection'))return void _0x5d92e5['consumable']['consume'](_0x5247de['item'],_0x3973fe['name']);const _0x41fd23=_0x5d92e5['mapper']['toViewElement'](_0x5247de['item']);if(_0x5247de['item']['is']('element')&&_0x3d72b2['model']['schema']['isBlock'](_0x5247de['item'])&&!_0x41fd23['getCustomProperty']('addHighlight')){_0x5d92e5['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x41fd23),_0x5d92e5['writer']['setAttribute']('data-suggestion',_0x24da72,_0x41fd23),_0x5d92e5['writer']['setAttribute']('data-author-id',_0x17e3a3,_0x41fd23),_0x5d92e5['mapper']['bindElementToMarker'](_0x41fd23,_0x5247de['markerName']),_0x483cec||(this['_activeMarkers']['includes'](_0x5247de['markerName'])?_0x5d92e5['writer']['addClass']('ck-suggestion-marker--active',_0x41fd23):_0x5d92e5['writer']['removeClass']('ck-suggestion-marker--active',_0x41fd23));for(const _0xd27cf2 of _0x3d72b2['model']['createRangeIn'](_0x5247de['item'])['getItems']())_0x5d92e5['consumable']['consume'](_0xd27cf2,_0x3973fe['name']);_0x5d92e5['consumable']['consume'](_0x5247de['item'],_0x3973fe['name']);}},_0x39a391=(_0x3dad29,_0x167a2d,_0x3396c3,_0x1342ff)=>{const _0xf109f9=_0x3396c3['mapper']['markerNameToElements'](_0x167a2d['markerName']);if(_0xf109f9){if(_0x1342ff){const {subType:_0x3857c7}=O(_0x167a2d['markerName']),_0x58a419=_0x3857c7['split']('|')[0x0];if(!this['isBlockAttribute'](_0x58a419))return;}for(const _0x7f06ef of _0xf109f9)_0x7f06ef['getCustomProperty']('addHighlight')||(_0x3396c3['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x7f06ef),_0x3396c3['writer']['removeAttribute']('data-suggestion',_0x7f06ef),_0x3396c3['writer']['removeAttribute']('data-author-id',_0x7f06ef),_0x3396c3['mapper']['unbindElementFromMarkerName'](_0x7f06ef,_0x167a2d['markerName']));}};_0x3d72b2['conversion']['for']('editingDowncast')['add'](_0x392bcc=>{_0x392bcc['on']('addMarker:suggestion:formatBlock',(_0x46b044,_0x137cd3,_0x4b7b66)=>{_0x380e0e(_0x46b044,_0x137cd3,_0x4b7b66,!0x1,!0x1);},{'priority':'high'});}),_0x3d72b2['conversion']['for']('editingDowncast')['add'](_0x57727b=>{_0x57727b['on']('addMarker:suggestion:attribute',(_0x121f28,_0x2a802a,_0x35ae43)=>{_0x380e0e(_0x121f28,_0x2a802a,_0x35ae43,!0x1,!0x0);},{'priority':'high'});}),_0x3d72b2['conversion']['for']('editingDowncast')['add'](_0x149f04=>{_0x149f04['on']('removeMarker:suggestion:formatBlock',(_0x4088fa,_0x386d0b,_0x23888b)=>{_0x39a391(0x0,_0x386d0b,_0x23888b,!0x1);},{'priority':'high'});}),_0x3d72b2['conversion']['for']('editingDowncast')['add'](_0x5cf992=>{_0x5cf992['on']('removeMarker:suggestion:attribute',(_0x91b82e,_0x47eb21,_0x3d10b1)=>{_0x39a391(0x0,_0x47eb21,_0x3d10b1,!0x0);},{'priority':'high'});}),_0x3d72b2['conversion']['for']('dataDowncast')['add'](_0x57ed6b=>{_0x57ed6b['on']('addMarker:suggestion:formatBlock',(_0x49d7b2,_0x4a0b41,_0x36e932)=>{_0x380e0e(_0x49d7b2,_0x4a0b41,_0x36e932,!0x0,!0x1);},{'priority':'highest'});}),_0x3d72b2['conversion']['for']('dataDowncast')['add'](_0x37c6c1=>{_0x37c6c1['on']('addMarker:suggestion:attribute',(_0x5447a8,_0x1bacf4,_0x266d02)=>{_0x380e0e(_0x5447a8,_0x1bacf4,_0x266d02,!0x0,!0x0);},{'priority':'highest'});}),_0x3d72b2['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0xc1ef5e,_0x1759f4)=>_0x1759f4['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0xc1ef5e['substr'](0xb)}});const _0x5729b6=(_0x4ef650,_0x39612a,_0x437371,_0x27655a,_0x1a5a4d)=>{if(_0x27655a&&!_0x437371['options']['showSuggestionHighlights'])return;if(!_0x437371['consumable']['test'](_0x39612a['markerRange'],_0x4ef650['name']))return;const _0x35fb33=this['_activeMarkers'],_0x2ae03d=_0x39612a['markerRange']['getWalker'](),_0x33b935=_0x39612a['markerRange']['start'],_0xa71140=_0x3d72b2['model']['schema'];let _0x5b3783=null,_0x33229f=null,_0x327ec7=!0x1,_0x26eea3=!0x1;for(const _0x42f7ba of _0x2ae03d){const _0x2c07d0=_0x42f7ba['item'];_0x327ec7=_0x327ec7||_0xa71140['isContent'](_0x2c07d0);const _0x502182=_0x437371['mapper']['toViewElement'](_0x2c07d0);if(_0x502182&&_0x502182['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x42f7ba['type']&&(_0xa71140['isBlock'](_0x2c07d0)&&!_0xa71140['isLimit'](_0x2c07d0)&&(_0x2c07d0['nextSibling']||_0x33b935['isAtEnd']?_0x5b3783&&_0x5b3783['parent']==_0x2c07d0||(_0x5b3783=_0x2c07d0,_0x20996e(_0x42f7ba['previousPosition']),_0x26eea3=!0x0):_0x33229f=_0x33229f||_0x42f7ba['previousPosition']));}function _0x20996e(_0xf87ae7){const {id:_0x39e30d,authorId:_0x142674}=O(_0x39612a['markerName']),_0x19f6d1=_0x437371['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1a5a4d,'data-suggestion':_0x39e30d,'data-author-id':_0x142674}),_0x27ade7=_0x437371['mapper']['toViewPosition'](_0xf87ae7);!_0x27655a&&_0x35fb33['includes'](_0x39612a['markerName'])&&_0x437371['writer']['addClass']('ck-suggestion-marker--active',_0x19f6d1),_0x437371['writer']['insert'](_0x27ade7,_0x19f6d1),_0x437371['mapper']['bindElementToMarker'](_0x19f6d1,_0x39612a['markerName']);}_0x327ec7||_0x26eea3||!_0x33229f||_0x20996e(_0x33229f);};_0x3d72b2['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3b0a4e,_0x17b5e5,_0x1ee49a)=>{_0x5729b6(_0x3b0a4e,_0x17b5e5,_0x1ee49a,!0x1,'merge');},{'priority':'high'}),_0x3d72b2['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5f19eb,_0x36ac20,_0x29d530)=>{_0x5729b6(_0x5f19eb,_0x36ac20,_0x29d530,!0x0,'merge');},{'priority':'high'}),_0x3d72b2['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x154ee4,_0x144594,_0x39667f)=>{_0x5729b6(_0x154ee4,_0x144594,_0x39667f,!0x1,'split');},{'priority':'high'}),_0x3d72b2['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xb2af08,_0xeb26b7,_0x472e1d)=>{_0x5729b6(_0xb2af08,_0xeb26b7,_0x472e1d,!0x0,'split');},{'priority':'high'}),_0x3d72b2['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x5c5e50,_0x30a366,_0x404c4a)=>{((_0x21e785,_0x5ac8da,_0x431e17)=>{const _0x4c2137=_0x431e17['mapper']['markerNameToElements'](_0x5ac8da['markerName']);if(_0x4c2137){for(const _0xedbc77 of _0x4c2137)(_0xedbc77['hasClass']('ck-suggestion-marker-split')||_0xedbc77['hasClass']('ck-suggestion-marker-merge'))&&(_0x431e17['mapper']['unbindElementFromMarkerName'](_0xedbc77,_0x5ac8da['markerName']),_0x431e17['writer']['remove'](_0xedbc77));}})(0x0,_0x30a366,_0x404c4a);},{'priority':'high'});const _0x3ecb6c=(_0x4827fb,_0x16101a,_0x5961b1,_0x14934e)=>{if(_0x14934e&&!_0x5961b1['options']['showSuggestionHighlights'])return;const _0x5b6ebc=_0x16101a['markerRange']['start'],_0x5379fa=_0x16101a['markerRange']['end'],_0x3cfc75=_0x3d72b2['model']['schema'];if(!_0x5b6ebc['isTouching'](_0x5379fa)||!_0x5b6ebc['nodeAfter'])return;const _0x1cd9eb=_0x5b6ebc['nodeAfter'];if(_0x3cfc75['isBlock'](_0x1cd9eb)&&!_0x3cfc75['isLimit'](_0x1cd9eb)&&_0x3cfc75['checkChild'](_0x1cd9eb,'$text')){if(!_0x5961b1['consumable']['consume'](_0x16101a['markerRange'],_0x4827fb['name']))return;const {id:_0x41fdc5,authorId:_0x5ea8cd}=O(_0x16101a['markerName']),_0x4a4810=_0x5961b1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x41fdc5,'data-author-id':_0x5ea8cd}),_0x2fa667=_0x5961b1['mapper']['toViewPosition'](_0x5379fa);!_0x14934e&&this['_activeMarkers']['includes'](_0x16101a['markerName'])&&_0x5961b1['writer']['addClass']('ck-suggestion-marker--active',_0x4a4810),_0x5961b1['writer']['insert'](_0x2fa667,_0x4a4810),_0x5961b1['mapper']['bindElementToMarker'](_0x4a4810,_0x16101a['markerName']);}};_0x3d72b2['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x12f57d,_0x432d78,_0x35a670)=>{_0x3ecb6c(_0x12f57d,_0x432d78,_0x35a670,!0x1);},{'priority':'high'}),_0x3d72b2['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x30f8a2,_0x17bf37,_0x76cdcc)=>{_0x3ecb6c(_0x30f8a2,_0x17bf37,_0x76cdcc,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x22a80f,_0x1a9da5,_0x6278f3)=>{this['_activeMarkers']=_0x6278f3['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x975bc1){this['_blockAttributeKeys']['add'](_0x975bc1);}['registerInlineAttribute'](_0x187a90){this['_inlineAttributeKeys']['add'](_0x187a90);}['isBlockAttribute'](_0x3df9c7){return this['_blockAttributeKeys']['has'](_0x3df9c7);}['isInlineAttribute'](_0x4b0662){return this['_inlineAttributeKeys']['has'](_0x4b0662);}['isRegisteredAttribute'](_0x25e70c){return this['isInlineAttribute'](_0x25e70c)||this['isBlockAttribute'](_0x25e70c);}['_getClassName'](_0x14ab0d,_0x53aa61){if('attribute'!=_0x14ab0d)return'ck-suggestion-marker-'+_0x14ab0d;const _0x30438d=_0x53aa61['split']('|')[0x0];return this['isBlockAttribute'](_0x30438d)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function z(_0x1f7164={},_0x50937f){if(void 0x0!==_0x1f7164['dateTimeFormat']&&'function'!=typeof _0x1f7164['dateTimeFormat'])throw new _0x15616a('invalid-date-time-format');return _0x4ffccb=>{const _0x1b257f='string'==typeof _0x4ffccb?_0xb844be['fromISO'](_0x4ffccb):_0xb844be['fromJSDate'](_0x4ffccb),_0x329caf=_0xb844be['now'](),_0x470ddf=Math['floor'](_0x329caf['diff'](_0x1b257f,'days')['days']);return _0x1f7164['dateTimeFormat']?_0x1f7164['dateTimeFormat'](_0x1b257f['toJSDate'](),_0x50937f&&_0x50937f['t']?_0x50937f['t']:void 0x0):0x0===_0x470ddf?_0x50937f?B(_0x50937f,'Today')+'\x20'+_0x1b257f['toFormat']('hh:mma'):_0x1b257f['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x470ddf?_0x50937f?B(_0x50937f,'Yesterday')+'\x20'+_0x1b257f['toFormat']('hh:mma'):_0x1b257f['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x470ddf<0x7?_0x50937f?B(_0x50937f,'Last')+'\x20'+B(_0x50937f,_0x1b257f['toFormat']('EEEE'))+'\x20'+_0x1b257f['toFormat']('hh:mma'):_0x1b257f['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x1b257f['toFormat']('LL-dd-yyyy\x20hh:mma');};}function R(_0x27bf26,_0x1e9bb2){const _0x58884e=_0x27bf26['mapper']['markerNameToElements'](_0x1e9bb2['name']);if(!_0x58884e)return null;const _0x409505=_0x15483a(_0x58884e['values']());return _0x27bf26['view']['domConverter']['mapViewToDom'](_0x409505)||null;}function W(_0x14df47,_0x16bb04){if(0x0===_0x16bb04['length'])return null;const _0x160aa0=[],_0x50cecb=_0x14df47['view']['domConverter'];for(const _0x96220a of _0x16bb04){const _0x94cc21=_0x14df47['mapper']['markerNameToElements'](_0x96220a['name']);if(!_0x94cc21)continue;const _0x187342=Array['from'](_0x94cc21)['map'](_0x3a503a=>_0x50cecb['mapViewToDom'](_0x3a503a))['filter'](_0x325225=>!!_0x325225);_0x160aa0['push'](..._0x187342);}if(0x0===_0x160aa0['length'])return null;const _0x61cc89=[];for(const _0x30b3d4 of _0x160aa0){const _0x26aa81=_0x30b3d4['getClientRects']()['item'](0x0);_0x26aa81&&_0x61cc89['push']({'x':_0x26aa81['x'],'y':_0x26aa81['y'],'domElement':_0x30b3d4});}return 0x0===_0x61cc89['length']?null:(_0x61cc89['sort']((_0x22bdc9,_0x10f85b)=>_0x22bdc9['y']-_0x10f85b['y']||_0x22bdc9['x']-_0x10f85b['x']),_0x61cc89['map'](_0x2fa05a=>_0x2fa05a['domElement']));}function j(_0x13d697,{limit:_0x178efc,suffix:_0x1fba7c='...'}){const _0x294f9d=[];let _0x53f172=0x0;const _0x1d7118=_0x13d697['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3339d9=0x0;_0x3339d9<_0x1d7118['length'];_0x3339d9++){let _0x150162=_0x1d7118[_0x3339d9];const _0x53b5c4=Y(_0x150162);if(_0x150162['startsWith']('<')){if(_0x53f172>=_0x178efc){const _0xff2dc8=_0x150162['match'](/[a-zA-Z]+/);if(!_0xff2dc8){_0x1d7118[_0x3339d9]='';continue;}const _0xcce944=_0xff2dc8[0x0];_0x150162['startsWith']('</')?(_0x294f9d['length']&&(_0x150162=''),_0x294f9d['pop']()):(_0x294f9d['push'](_0xcce944),_0x150162='');}}else{if(_0x53f172>=_0x178efc)_0x150162='';else{if(_0x53f172+_0x53b5c4['length']>=_0x178efc){let _0x523029=_0x178efc-_0x53f172;if('\x20'===_0x53b5c4[_0x523029-0x1])_0x523029--;else{const _0x5c7aa2=_0x53b5c4['slice'](_0x523029)['indexOf']('\x20');-0x1!==_0x5c7aa2?_0x523029+=_0x5c7aa2:_0x523029=_0x150162['length'];}_0x150162=_0x53b5c4['slice'](0x0,_0x523029)['join']('')+_0x1fba7c,_0x53f172=_0x178efc;}else _0x53f172+=_0x53b5c4['length'];}}_0x1d7118[_0x3339d9]=_0x150162;}return _0x1d7118['join']('\x0a')['replace'](/\n/g,'');}function Y(_0x16b24e){const _0x3ddee6=[];for(let _0x75c4ea=0x0;_0x75c4ea<_0x16b24e['length'];_0x75c4ea++){const _0x3070f9=_0x16b24e['substring'](_0x75c4ea)['match'](/^&[a-z0-9#]+;/);if(_0x3070f9){const _0x174da4=_0x3070f9[0x0];_0x3ddee6['push'](_0x174da4),_0x75c4ea+=_0x174da4['length']-0x1;}else _0x3ddee6['push'](_0x16b24e[_0x75c4ea]);}return _0x3ddee6;}class ConfirmView extends _0x1e209f{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x20725e){super(_0x20725e);const _0x32409e=this['bindTemplate'];this['set']('message',B(_0x20725e,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x20725e,B(_0x20725e,'Yes'),_0x3b54b2,'submit'),this['cancelView']=this['_createButtonView'](_0x20725e,B(_0x20725e,'No'),_0x2c9193,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x1693fc(),this['keystrokes']=new _0x16c8f2(),this['focusCycler']=new _0x447b0c({'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':_0x32409e['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'](_0x46b8a0,_0x5e540f,_0x1b7f9b,_0x5b6067){const _0x16172f=new _0xf17146(_0x46b8a0);return _0x16172f['label']=_0x5e540f,_0x16172f['icon']=_0x1b7f9b,_0x16172f['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x5b6067}}),_0x16172f['on']('execute',()=>this['fire'](_0x5b6067)),_0x16172f;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x34356c=>{this['keystrokes']['listenTo'](_0x34356c['element']),this['focusTracker']['add'](_0x34356c['element']);}),this['keystrokes']['set']('esc',(_0x11f2ca,_0x311a26)=>{this['fire']('cancel'),_0x311a26();});}}function G(_0x5af0a4){return class _0x1c36c1 extends _0x5af0a4{['showConfirm'](_0x40c7fd,_0x1ef509){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x40c7fd,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x1ef509['appendChild'](this['confirmView']['element']),_0x1ef509['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x2d0bb3,_0x6ef631,_0x136080)=>{_0x136080||_0x1ef509['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x531e21=>this['confirmView']['on']('submit',_0x531e21));}['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(_0x2e011d){let _0x47a137=0x0,_0x129745=0x0;for(const _0x96d470 of q(_0x2e011d))_0x47a137=(_0x47a137<<0x5)-_0x47a137+_0x96d470,_0x47a137&=_0x47a137,[_0x47a137,_0x129745]=[_0x129745,_0x47a137];return X(_0x47a137)+X(_0x129745);}function*K(_0x4cc6a4){null==_0x4cc6a4||null==_0x4cc6a4?yield 0x12b9b0a1:0x0===_0x4cc6a4||!0x1===_0x4cc6a4?yield 0x0:0x1===_0x4cc6a4||0x1==_0x4cc6a4?yield 0x1:Array['isArray'](_0x4cc6a4)?yield*function*(_0x1a4e4d){for(const _0x189c9c of _0x1a4e4d)yield*K(_0x189c9c);}(_0x4cc6a4):'object'==typeof _0x4cc6a4?yield*q(_0x4cc6a4):'string'==typeof _0x4cc6a4?yield*Z(_0x4cc6a4):'number'==typeof _0x4cc6a4&&(yield _0x4cc6a4);}function*q(_0x3895b0){if(yield Q('{'),_0x3895b0){const _0x249358=Object['keys'](_0x3895b0)['sort']();for(const _0x3f9f78 of _0x249358){yield*Z(_0x3f9f78),yield Q(':');const _0x3380b0=_0x3895b0[_0x3f9f78];yield*K(_0x3380b0);}}yield Q('}');}function*Z(_0x219870){yield Q('\x22');for(const _0x4602cb of _0x219870)yield Q(_0x4602cb);yield Q('\x22');}function Q(_0x2d485b){return _0x2d485b['charCodeAt'](0x0);}function X(_0x554a6c){return(_0x554a6c*=Math['sign'](_0x554a6c))['toString'](0x24);}const tt=['root','roots','initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function st(_0xaa7102,_0xddce80,_0x5b38be,_0x2aa7d2=[]){const _0x44df3c='string'==typeof _0xaa7102?_0x5b38be['get'](_0xaa7102)['constructor']:_0xaa7102['prototype']['constructor'];if(_0xddce80['has'](_0x44df3c))return _0xddce80['get'](_0x44df3c);_0xddce80['set'](_0x44df3c,!0x0);const _0x5f0fe0=[...et,..._0x2aa7d2]['map'](_0x31e8e2=>{if(_0x5b38be['has'](_0x31e8e2))return _0x5b38be['get'](_0x31e8e2)['constructor'];})['filter'](_0x18363d=>_0x18363d);if(_0x44df3c&&_0x5f0fe0['includes'](_0x44df3c))return _0xddce80['set'](_0x44df3c,!0x1),!0x1;if(!_0x44df3c['requires'])return _0xddce80['set'](_0x44df3c,!0x0),!0x0;const _0xaa879a=_0x44df3c['requires']['every'](_0x4a2898=>st(_0x4a2898,_0xddce80,_0x5b38be,_0x2aa7d2));return _0xddce80['set'](_0x44df3c,_0xaa879a),_0xaa879a;}function it(_0x43ff8b,_0x40bc0f){const _0xfe683a={};for(const _0x4140f1 of _0x43ff8b['config']['names']())tt['includes'](_0x4140f1)||(_0xfe683a[_0x4140f1]=_0x43ff8b['config']['get'](_0x4140f1));const _0x469762=_0xfe683a['plugins']||[],_0x32ff1f=_0x43ff8b['constructor']['builtinPlugins']||[],_0x5d37fd=_0x469762['length']?_0x469762:_0x32ff1f,_0x5cf3a1=_0xfe683a['extraPlugins']||[];delete _0xfe683a['extraPlugins'];const _0x2f8026=_0xfe683a['removePlugins']||[];delete _0xfe683a['removePlugins'];const _0x2bab8b=_0x43ff8b['_context']['config']['get']('plugins')||[],_0x509a66=_0x5d37fd['concat'](_0x5cf3a1)['concat'](_0x2bab8b)['map'](_0x36b955=>'string'==typeof _0x36b955?_0x32ff1f['find'](_0x2c6665=>_0x2c6665['pluginName']==_0x36b955):_0x36b955)['filter'](_0x1ff10a=>!_0x2f8026['includes'](_0x1ff10a)&&!_0x2f8026['includes'](_0x1ff10a['pluginName'])),_0x61c5bd=Array['from'](new Set(_0x509a66)),_0x18a68c=new Map();return _0xfe683a['plugins']=_0x61c5bd['filter'](_0x1d37b5=>st(_0x1d37b5,_0x18a68c,_0x43ff8b['plugins'],_0x40bc0f)),_0xfe683a;}function nt(_0x55803d,_0x21b4f3){const _0x3a9ce1=[];_0x55803d['document']['selection']['on']('change:range',()=>{const _0x200c8f=function(_0x516176,_0x2802e3){const _0xb56eff=[];for(const _0x33228a of _0x516176['markers']){const _0x13a5fd=_0x33228a['getRange']();(_0x13a5fd['containsPosition'](_0x2802e3)||_0x13a5fd['start']['isEqual'](_0x2802e3)||_0x13a5fd['end']['isEqual'](_0x2802e3))&&_0xb56eff['push'](_0x33228a);}return _0xb56eff;}(_0x55803d,_0x55803d['document']['selection']['focus']),_0x2d1bfc=[],_0x33ba7b=[],_0xdbb3e6=[];for(const _0x101bb9 of _0x3a9ce1)_0x200c8f['includes'](_0x101bb9)||_0x2d1bfc['push'](_0x101bb9);for(const _0x3d7d06 of _0x200c8f)_0x3a9ce1['includes'](_0x3d7d06)||_0x33ba7b['push'](_0x3d7d06),_0xdbb3e6['push'](_0x3d7d06);(_0x2d1bfc['length']||_0x33ba7b['length'])&&_0x21b4f3({'left':_0x2d1bfc,'entered':_0x33ba7b}),_0x3a9ce1['length']=0x0,_0x3a9ce1['push'](..._0xdbb3e6);});}const ot='Ctrl+Shift+E';function rt(_0x3dabee,_0xbbe071){const _0x44eb5e=_0x3dabee['element'];_0x3dabee['keystrokes']['listenTo'](_0x44eb5e);for(const _0xb9f9ea of _0xbbe071)at(_0x3dabee,_0xb9f9ea);_0xbbe071['on']('change',(_0x1ab9c4,_0x38633c)=>{for(const _0xd5f827 of _0x38633c['removed'])ct(_0x3dabee,_0xd5f827);for(const _0x42e4af of Array['from'](_0x38633c['added'])['reverse']())at(_0x3dabee,_0x42e4af);}),_0x3dabee['keystrokes']['set']('enter',(_0x2c1ea0,_0x491586)=>{_0x44eb5e===_0x2c1ea0['target']&&(_0x3dabee['focusCycler']['focusFirst'](),_0x491586());},{'filter':_0x389c95=>_0x389c95['target']===_0x44eb5e}),_0x3dabee['keystrokes']['set']('esc',(_0x3be77c,_0x5c7c0b)=>{_0x44eb5e!==_0x3be77c['target']?_0x3dabee['focus']():_0x3dabee['fire']('escape'),_0x5c7c0b();}),_0x3dabee['keystrokes']['set']('arrowdown',(_0x4c7359,_0x5c7f79)=>{_0x44eb5e===_0x4c7359['target']&&(_0x3dabee['fire']('arrowdown'),_0x5c7f79());}),_0x3dabee['keystrokes']['set']('arrowup',(_0x410cda,_0x4cc52c)=>{_0x44eb5e===_0x410cda['target']&&(_0x3dabee['fire']('arrowup'),_0x4cc52c());});}function at(_0x556645,_0x1af2ae){_0x1af2ae['isRendered']&&(_0x556645['focusTracker']['add'](_0x1af2ae['element']),_0x556645['keystrokes']['listenTo'](_0x1af2ae['element']),_0x195675(_0x1af2ae)&&function(_0x8c687a,_0x46180d){const _0x14962a=_0x8c687a['actions'],_0x18c3d5=_0x46180d['actions'];for(const _0x3b7058 of Object['keys'](_0x14962a))if(_0x3b7058 in _0x18c3d5&&_0x14962a[_0x3b7058]!==_0x18c3d5[_0x3b7058])return!0x1;return!0x0;}(_0x556645['focusCycler'],_0x1af2ae['focusCycler'])&&_0x556645['focusCycler']['chain'](_0x1af2ae['focusCycler']));}function ct(_0x4c93c8,_0x37ba5c){_0x4c93c8['focusTracker']['remove'](_0x37ba5c['element']),_0x4c93c8['keystrokes']['stopListening'](_0x37ba5c['element']),_0x195675(_0x37ba5c)&&_0x4c93c8['focusCycler']['unchain'](_0x37ba5c['focusCycler']);}const lt='$elementId',ut='data-id';class DocumentCompare extends _0x6cd88d{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x234001?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x279dc8,_0x4f1417)=>{_0x4f1417['on']('ready',()=>{this['_integrateEditor'](_0x4f1417);});});}get['editor'](){if(this['context']instanceof _0x234001)return this['context'];{const _0x23dfe1=this['context']['editors']['first'];if(!_0x23dfe1)throw new _0x15616a('documentcompare-no-editor',this);return _0x23dfe1;}}['getDiff'](_0x5a219b,_0x265fca,_0x4f9d18={'anchor':'main','markDeletions':!0x1}){const _0x41a32b=_0x4f9d18['targetEditor']||this['editor'];let _0x33074f,_0x348c9f;if('string'==typeof _0x4f9d18['anchor']){const _0x314d6b=_0x41a32b['model']['document']['getRoot'](_0x4f9d18['anchor']);if(!_0x314d6b)throw new _0x15616a('documentcompare-compare-no-root',this,{'anchor':_0x4f9d18['anchor']});_0x33074f=_0x314d6b,_0x348c9f=_0x41a32b['model']['createPositionAt'](_0x314d6b,0x0);}else _0x33074f=_0x4f9d18['anchor']['clone'](),_0x348c9f=_0x4f9d18['anchor']['clone']();const _0x3bfecb=_0x41a32b['data']['parse'](_0x5a219b,_0x33074f),_0x1039ad=_0x41a32b['data']['parse'](_0x265fca,_0x33074f);return new DocumentDiff({'editor':_0x41a32b,'before':_0x3bfecb,'after':_0x1039ad,'options':{'anchor':_0x348c9f,'markDeletions':_0x4f9d18['markDeletions']}});}['isMarkedRemoveOperation'](_0x3b75fc){return'marker'==_0x3b75fc['type']&&_0x3b75fc['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x16f4d7){_0x16f4d7['conversion']['for']('upcast')['add'](_0xc4ec17=>{_0xc4ec17['on']('element',(_0x5578cc,_0x15cfab,_0x26927c)=>{if(_0x15cfab['modelRange']&&_0x26927c['consumable']['consume'](_0x15cfab['viewItem'],{'attributes':'data-id'}))for(const _0x4ccb63 of _0x15cfab['modelRange']['getItems']({'shallow':!0x0})){if(_0x4ccb63['is']('$textProxy'))continue;const _0x1175a8=_0x15cfab['viewItem']['getAttribute'](ut);_0x1175a8&&_0x26927c['writer']['setAttribute'](lt,_0x1175a8,_0x4ccb63);}},{'priority':'low'});}),_0x16f4d7['model']['schema']['addAttributeCheck'](()=>!0x0,lt);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x2df2e4,before:_0x1bb2ce,after:_0xde4034,options:_0x1bb113}){this['_editor']=_0x2df2e4,this['_markDeletions']=!!_0x1bb113['markDeletions'],this['_anchor']=_0x1bb113['anchor'];const _0x160380=this['_tokenizeModel'](_0x1bb2ce),_0x237383=this['_tokenizeModel'](_0xde4034);this['_diffItems']=this['_diffModelTokens'](_0x160380,_0x237383),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x1bb2ce['markers'],_0xde4034['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x27d11c=this['_editor']['model']['document'],_0x20a479=[];let _0x5d3f22=_0x27d11c['version'];for(const _0x19de65 of this['_operationsData'])switch(_0x19de65['type']){case'attribute':{const _0x106579=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['path']),_0xab3be0=_0x106579['getShiftedBy'](_0x19de65['howMany']),_0xd9b2bb=new _0xe6a104(_0x106579,_0xab3be0),_0x2d37f5=JSON['parse'](_0x19de65['oldValue']),_0x511e96=JSON['parse'](_0x19de65['newValue']);_0x20a479['push'](new _0x4ea328(_0xd9b2bb,_0x19de65['key'],_0x2d37f5,_0x511e96,_0x5d3f22++));break;}case'insert':{const _0x52ba97=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['path']),_0x2561fc=this['_makeModelFromTokens'](_0x19de65['tokens']);_0x20a479['push'](new _0x540adc(_0x52ba97,_0x2561fc,_0x5d3f22++));break;}case'remove':{const _0x28627e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['path']),_0x1e2311=new _0x478743(_0x27d11c['graveyard'],[0x0]);_0x20a479['push'](new _0x511e94(_0x28627e,_0x19de65['howMany'],_0x1e2311,_0x5d3f22++));break;}case'rename':{const _0x54fc33=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['path']);_0x20a479['push'](new _0x4bb4d1(_0x54fc33,_0x19de65['oldName'],_0x19de65['newName'],_0x5d3f22++));break;}case'split':{const _0x50296c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['path']),_0x1ad6d0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['path']['slice'](0x0,-0x1));_0x1ad6d0['offset']++,_0x20a479['push'](new _0xcf79b(_0x50296c,Number['NEGATIVE_INFINITY'],_0x1ad6d0,null,_0x5d3f22++));break;}case'merge':{const _0x1bf667=_0x19de65['path']['slice'](),_0x1486a7=_0x1bf667['slice'](0x0,-0x1);_0x1486a7[_0x1486a7['length']-0x1]++,_0x1486a7['push'](0x0);const _0x45e299=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1486a7),_0x22e056=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1bf667),_0x27d838=new _0x478743(_0x27d11c['graveyard'],[0x0]);_0x20a479['push'](new _0x51e3de(_0x45e299,Number['NEGATIVE_INFINITY'],_0x22e056,_0x27d838,_0x5d3f22++));break;}case'marker':case'markedRemove':{let _0x2a6dc7=null;if(_0x19de65['range']){const _0xfcbee9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['range']['start']),_0x42c405=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['range']['end']);_0x2a6dc7=new _0xe6a104(_0xfcbee9,_0x42c405);}const _0x43e045='marker'==_0x19de65['type']?_0x19de65['name']:'$markedRemove:'+_0x588420();_0x20a479['push'](new _0x488e8f(_0x43e045,null,_0x2a6dc7,_0x27d11c['model']['markers'],!0x0,_0x5d3f22++));break;}case'unwrap':{const _0x45f1da=_0x19de65['path']['slice']();_0x45f1da['push'](0x0);const _0x355db8=_0x19de65['path']['slice'](),_0x169f73=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x45f1da),_0x2f349a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x355db8),_0x45ff92=new _0x478743(_0x27d11c['graveyard'],[0x0]);_0x20a479['push'](new _0x511e94(_0x169f73,_0x19de65['howMany'],_0x2f349a,_0x5d3f22++)),_0x20a479['push'](new _0x511e94(_0x2f349a['getShiftedBy'](_0x19de65['howMany']),0x1,_0x45ff92,_0x5d3f22++));break;}case'wrap':{const _0x1872a0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['range']['start']),_0x50eb6f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19de65['range']['end']),_0x4fcd16=_0x19de65['token']['element']['_clone'](!0x1);_0x4fcd16['_removeAttribute'](lt);const _0x408e99=_0x19de65['range']['end']['slice']();_0x408e99['push'](0x0);const _0x1260b2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x408e99);_0x20a479['push'](new _0x540adc(_0x50eb6f,_0x4fcd16,_0x5d3f22++)),_0x20a479['push'](new _0x511e94(_0x1872a0,_0x50eb6f['offset']-_0x1872a0['offset'],_0x1260b2,_0x5d3f22++));break;}}return _0x20a479;}['_tokenizeModel'](_0x3f1134){const _0x482590=[],_0x1f1ee1=_0xe6a104['_createIn'](_0x3f1134),_0x3914f6=new _0x4b9e8c({'boundaries':_0x1f1ee1});let _0x212d83='',_0x3384e4=null;const _0x4281e9=[''],_0x152dd9=new Map();for(const _0x330f09 of _0x3914f6)if('elementStart'==_0x330f09['type']||'elementEnd'==_0x330f09['type']){let _0xade708=_0x4281e9[0x0];''!==_0x212d83&&(_0x482590['push'](...this['_makeTokensFromTextByWords'](_0x212d83,_0x3384e4,_0xade708)),_0x212d83='');const _0x535095=_0x330f09['item'];let _0x315b88;_0x535095['getAttribute'](lt)?_0x315b88=_0x535095['getAttribute'](lt):'elementStart'==_0x330f09['type']?(_0x315b88=dt(_0x535095),_0x152dd9['set'](_0x535095,_0x315b88)):_0x315b88=_0x152dd9['get'](_0x535095);const _0x527392=this['_getElementCategory'](_0x535095);'solid'==_0x527392&&('elementStart'==_0x330f09['type']?(_0xade708=_0x315b88,_0x4281e9['unshift'](_0xade708)):_0x4281e9['shift']());const _0x553f86={'type':'element','element':_0x535095,'elementId':_0x315b88,'category':_0x527392,'isStart':'elementStart'==_0x330f09['type'],'limitId':_0xade708};_0x482590['push'](_0x553f86);}else''==_0x212d83&&(_0x3384e4=_0x330f09['previousPosition']['clone']()),_0x212d83+=_0x330f09['item']['data'];return''!==_0x212d83&&_0x482590['push'](...this['_makeTokensFromTextByWords'](_0x212d83,_0x3384e4,_0x4281e9[0x0])),_0x482590;}['_makeTokensFromTextByWords'](_0x819d1,_0x4f46dd,_0x5512c5){const _0x138438=_0x819d1['matchAll'](/(\s)/g),_0x119fd1=Array['from'](_0x138438)['map'](_0xf0ecc9=>_0xf0ecc9['index']);_0x119fd1['push'](_0x819d1['length']),0x0==_0x119fd1[0x0]&&_0x119fd1['shift']();const _0x1ed1ce=[],_0x2fdab5=_0x4f46dd['parent'];let _0x23818e=0x0,_0x2d1400=_0x4f46dd['offset'];for(let _0x1aa97c=0x0;_0x1aa97c<_0x119fd1['length'];_0x1aa97c++)_0x1ed1ce['push']({'type':'text','data':_0x819d1['slice'](_0x23818e,_0x119fd1[_0x1aa97c]),'parent':_0x2fdab5,'offset':_0x2d1400,'limitId':_0x5512c5}),_0x23818e=_0x119fd1[_0x1aa97c],_0x2d1400=_0x4f46dd['offset']+_0x119fd1[_0x1aa97c];return _0x1ed1ce;}['_getElementCategory'](_0x45c562){const _0x46b1c0=this['_editor']['model']['schema'];return _0x46b1c0['isLimit'](_0x45c562)||_0x46b1c0['isContent'](_0x45c562)||_0x46b1c0['isInline'](_0x45c562)?'solid':_0x46b1c0['isBlock'](_0x45c562)?'block':function(_0xd356fc,_0x26a61d){const _0x47388a=_0xd356fc['parent'];if(!_0x47388a||_0x47388a['is']('documentFragment'))return!0x1;if(_0x26a61d['checkChild'](_0x47388a,'$text'))return!0x1;for(const _0x31566e of _0xd356fc['getChildren']())if(_0x31566e['is']('$text'))return!0x0;return!0x1;}(_0x45c562,_0x46b1c0)?'solid':'container';}['_diffModelTokens'](_0x3c02d2,_0x3a0350){const _0x3250be=_0x325bc5(_0x3c02d2,_0x3a0350,{'comparator':ht});this['_handleUnclosedBlockOpeningTags'](_0x3250be);const _0x44acd9=_0x3250be['flatMap'](_0x315f71=>{const _0xa10476=_0x315f71['added']?'added':_0x315f71['removed']?'removed':'unchanged';return _0x315f71['value']['map'](_0x4eda36=>({'token':_0x4eda36,'change':_0xa10476}));});let _0x39a9cb=0x0;for(const _0x44a860 of _0x44acd9)'added'!=_0x44a860['change']&&('unchanged'==_0x44a860['change']&&(_0x44a860['before']=_0x3c02d2[_0x39a9cb]),_0x39a9cb++);return _0x44acd9;}['_handleUnclosedBlockOpeningTags'](_0x7eea18){for(let _0x5c1f66=0x0;_0x5c1f66<_0x7eea18['length']-0x1;_0x5c1f66++)if(_0x7eea18[_0x5c1f66]['removed']&&_0x7eea18[_0x5c1f66+0x1]['added']){const _0x5cbe9b=this['_findUnclosedBlockOpeningToken'](_0x7eea18[_0x5c1f66]['value']);if(null!==_0x5cbe9b){const _0x3344fd=this['_findUnclosedBlockOpeningToken'](_0x7eea18[_0x5c1f66+0x1]['value']),_0x57c595=_0x7eea18[_0x5c1f66]['value']['splice'](_0x5cbe9b),_0x2d510=_0x7eea18[_0x5c1f66+0x1]['value']['splice'](_0x3344fd),_0x4cda31=[_0x2d510['shift']()];_0x57c595['shift']();const _0x5e879d={'value':_0x57c595,'removed':!0x0},_0x28807a={'value':_0x2d510,'added':!0x0},_0x59480a={'value':_0x4cda31};_0x7eea18['splice'](_0x5c1f66+0x2,0x0,_0x59480a,_0x5e879d,_0x28807a);}}}['_findUnclosedBlockOpeningToken'](_0x40bc87){let _0x212435=0x0,_0x5a0adb=-0x1;for(let _0x3e8d91=0x0;_0x3e8d91<_0x40bc87['length'];_0x3e8d91++){const _0x24c621=_0x40bc87[_0x3e8d91];'element'==_0x24c621['type']&&'block'==_0x24c621['category']&&(_0x212435+=_0x24c621['isStart']?0x1:-0x1,_0x24c621['isStart']&&(_0x5a0adb=_0x3e8d91));}return 0x0===_0x212435?null:_0x5a0adb;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4806f1=0x0;_0x4806f1<this['_diffItems']['length'];_0x4806f1++){const _0x5afbb0=this['_diffItems'][_0x4806f1]['change'],_0x3479c4=[];_0x3479c4['push'](this['_diffItems'][_0x4806f1]);let _0x3f316c=_0x4806f1+0x1;for(;this['_diffItems'][_0x3f316c]&&this['_diffItems'][_0x3f316c]['change']==_0x5afbb0;)_0x3479c4['push'](this['_diffItems'][_0x3f316c]),_0x3f316c++,_0x4806f1++;const _0x5d835e=_0x3479c4['map'](_0x190159=>_0x190159['token']);if('unchanged'==_0x5afbb0)_0x3479c4['map'](_0x284c6d=>_0x284c6d['before'])['forEach'](_0x48288f=>this['_traverseOverItem'](_0x48288f));else{if('removed'==_0x5afbb0){if(this['_markDeletions']){const _0x11df43=this['_path']['slice']();_0x5d835e['forEach'](_0x4a2339=>this['_traverseOverItem'](_0x4a2339));const _0x3a7b8b=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x11df43,'end':_0x3a7b8b}});}else this['_handleChanged'](_0x5d835e,!0x0,this['_path']['slice']());}else{const _0x103d30=_0x5d835e['filter'](_0x3b0c8b=>'element'!=_0x3b0c8b['type']||'container'!=_0x3b0c8b['category']);this['_handleChanged'](_0x103d30,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x41d8a9=0x0;_0x41d8a9<this['_diffItems']['length'];_0x41d8a9++){const _0x4de346=this['_diffItems'][_0x41d8a9]['change'],_0x4877a3=[];_0x4877a3['push'](this['_diffItems'][_0x41d8a9]);let _0x4a28e3=_0x41d8a9+0x1;for(;this['_diffItems'][_0x4a28e3]&&this['_diffItems'][_0x4a28e3]['change']==_0x4de346;)_0x4877a3['push'](this['_diffItems'][_0x4a28e3]),_0x4a28e3++,_0x41d8a9++;const _0x1a240c=_0x4877a3['map'](_0x1a6a00=>_0x1a6a00['token']);if('unchanged'==_0x4de346){const _0x34b91d=_0x4877a3['map'](_0x5bf1c7=>_0x5bf1c7['before']);this['_handleUnchanged'](_0x34b91d,_0x1a240c);}else('added'==_0x4de346||this['_markDeletions'])&&_0x1a240c['forEach'](_0x24bced=>{'element'==_0x24bced['type']&&_0x24bced['isStart']&&this['_splitPostponedData']['has'](_0x24bced['element'])&&this['_handleSplitPostponedData'](_0x24bced['element'],this['_path']),this['_traverseOverItem'](_0x24bced);});}}['_handleSplitPostponedData'](_0x343eba,_0xe8e4b3){const _0x5566c2=this['_splitPostponedData']['get'](_0x343eba);for(const _0x436a3e of _0x5566c2)'rename'==_0x436a3e['type']?this['_operationsData']['push']({'type':'rename','path':_0xe8e4b3['slice'](),'oldName':_0x436a3e['oldValue'],'newName':_0x343eba['name']}):this['_operationsData']['push']({'type':'attribute','path':_0xe8e4b3['slice'](),'howMany':0x1,'key':_0x436a3e['key'],'oldValue':_0x436a3e['oldValue'],'newValue':JSON['stringify'](_0x343eba['getAttribute'](_0x436a3e['key'])??null)});}['_calculateMarkersOperationsData'](_0x2de805,_0x3fdcf6){const _0x52ac70={};for(const [_0x35e887]of _0x2de805)_0x52ac70[_0x35e887]=null;for(const [_0x518e32,_0x2e30a8]of _0x3fdcf6)_0x52ac70[_0x518e32]=_0x2e30a8;const _0x389998=Object['entries'](_0x52ac70)['map'](([_0x1ad681,_0x47c9a3])=>({'type':'marker','name':_0x1ad681,'range':_0x47c9a3?{'start':_0x47c9a3['start']['path']['slice'](),'end':_0x47c9a3['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x389998);}['_handleUnwraps'](){const _0x364552=new Map(),_0x4da18e=[],_0x90a5d9=[0x0];let _0x3bb878=this['_diffItems']['length']+0x1;for(let _0xac8add=this['_diffItems']['length']-0x1;_0xac8add>=0x0;_0xac8add--){const {token:_0x144898,before:_0x1c3280,change:_0xf295d5}=this['_diffItems'][_0xac8add];if('removed'!=_0xf295d5&&(_0x3bb878=_0xac8add),'element'!=_0x144898['type']||'container'!=_0x144898['category']||'added'==_0xf295d5)continue;const _0x40e029=_0x1c3280?_0x1c3280['element']:_0x144898['element'];if(_0x144898['isStart']){const _0x4fa3ab=_0x364552['get'](_0x40e029),_0x538e53=this['_diffItems'][_0x4fa3ab];('removed'==_0xf295d5||'removed'==_0x538e53['change'])&&_0x3bb878<_0x4fa3ab&&(this['_operationsData']['push']({'type':'unwrap','path':_0x40e029['getPath'](),'howMany':_0x40e029['maxOffset']+_0x90a5d9[0x0]}),_0x90a5d9['shift'](),_0x90a5d9[0x0]+=_0x40e029['maxOffset']-0x1,_0x4da18e['push'](_0xac8add),_0x4da18e['push'](_0x4fa3ab));}else _0x364552['set'](_0x40e029,_0xac8add),_0x90a5d9['unshift'](0x0);}_0x4da18e['sort']((_0xe5cc65,_0x230e62)=>_0x230e62-_0xe5cc65),_0x4da18e['forEach'](_0xafe34=>{const _0x19dbad=this['_diffItems'][_0xafe34];'removed'==_0x19dbad['change']?this['_diffItems']['splice'](_0xafe34,0x1):(_0x19dbad['change']='added',delete _0x19dbad['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x111f90=[];for(let _0x4933b3=0x0;_0x4933b3<this['_diffItems']['length'];_0x4933b3++){const {change:_0x1668ea,token:_0x44ed32}=this['_diffItems'][_0x4933b3];if('added'==_0x1668ea&&'element'==_0x44ed32['type']&&'container'==_0x44ed32['category']){if(_0x44ed32['isStart'])_0x111f90['push'](this['_path']['slice']());else{if(!_0x44ed32['isStart']){const _0x199b6d=_0x111f90['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x199b6d,'end':this['_path']['slice']()},'token':_0x44ed32}),this['_path'][this['_path']['length']-0x1]=_0x199b6d[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x1668ea||this['_markDeletions'])&&this['_traverseOverItem'](_0x44ed32);}}['_handleUnchanged'](_0x343d6b,_0x386449){for(let _0x1314ff=0x0;_0x1314ff<_0x343d6b['length'];_0x1314ff++){const _0xa89708=_0x343d6b[_0x1314ff];if('element'==_0xa89708['type']&&_0xa89708['isStart']){const _0x4528dd=_0x386449[_0x1314ff];'block'==_0xa89708['category']&&this['_handleElementRename'](_0xa89708['element'],_0x4528dd['element'],this['_path']),this['_handleElementAttributeChanges'](_0xa89708['element'],_0x4528dd['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x4528dd);}else{if('element'!=_0xa89708['type']||_0xa89708['isStart']){if('text'==_0xa89708['type']){const _0xf89f44=this['_path']['slice'](),_0x27483f=[],_0x524f1b=[];for(;_0x343d6b[_0x1314ff]&&'text'==_0x343d6b[_0x1314ff]['type'];)_0x27483f['push'](_0x343d6b[_0x1314ff]),_0x524f1b['push'](_0x386449[_0x1314ff]),this['_path'][this['_path']['length']-0x1]+=_0x343d6b[_0x1314ff]['data']['length'],_0x1314ff++;_0x1314ff--,this['_handleTextAttributeChanges'](_0x27483f,_0x524f1b,_0xf89f44);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x422d7e,_0x43e3ad,_0x187ea3){const _0x519b70=[],_0x3e068a=[],_0x42b61d=_0x187ea3['slice']();let _0x4670c3=this['_parents']['length']-0x1;for(let _0x54784f=0x0;_0x54784f<_0x422d7e['length'];_0x54784f++){const _0x485b3e=_0x422d7e[_0x54784f],_0x1ccf2d=_0x187ea3['slice']();'element'!=_0x485b3e['type']||_0x485b3e['isStart']?'element'==_0x485b3e['type']&&_0x485b3e['isStart']?(_0x187ea3['push'](0x0),_0x4670c3++,_0x3e068a['push']({'before':_0x1ccf2d,'after':_0x187ea3['slice'](),'index':_0x54784f})):_0x187ea3[_0x187ea3['length']-0x1]+=_0x485b3e['data']['length']:(_0x187ea3['pop'](),_0x187ea3[_0x187ea3['length']-0x1]++,_0x4670c3--,_0x3e068a['length']?_0x3e068a['pop']():_0x519b70['push']({'before':_0x1ccf2d,'after':_0x187ea3['slice'](),'index':_0x54784f}));}if(_0x3e068a['length']!==_0x519b70['length'])throw new _0x15616a('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x422d7e,'isRemove':_0x43e3ad});const _0x4b1386=[{'after':_0x42b61d['slice'](),'index':-0x1},..._0x519b70,..._0x3e068a,{'before':_0x187ea3['slice'](),'index':_0x422d7e['length']}];if(_0x43e3ad){for(let _0x31343a=_0x4b1386['length']-0x1;_0x31343a>=0x1;_0x31343a--){const _0xc3ed97=_0x4b1386[_0x31343a-0x1]['after'],_0x4ab754=_0x4b1386[_0x31343a]['before'],_0x6e74de=_0x4ab754[_0x4ab754['length']-0x1]-_0xc3ed97[_0xc3ed97['length']-0x1];_0x6e74de&&(this['_operationsData']['push']({'type':'remove','path':_0xc3ed97,'howMany':_0x6e74de}),_0x4ab754[_0x4ab754['length']-0x1]-=_0x6e74de);}for(const {before:_0x3f186d}of _0x519b70)this['_operationsData']['push']({'type':'merge','path':_0x3f186d});}else for(let _0x5d2570=0x0;_0x5d2570<_0x4b1386['length']-0x1;_0x5d2570++){const _0x1838c0=_0x4b1386[_0x5d2570]['after'],_0x49147f=_0x4b1386[_0x5d2570+0x1]['before'],_0x5146fa=_0x4b1386[_0x5d2570]['index']+0x1,_0x34b307=_0x4b1386[_0x5d2570+0x1]['index'];if(_0x5146fa!==_0x34b307&&this['_operationsData']['push']({'type':'insert','path':_0x1838c0,'tokens':_0x422d7e['slice'](_0x5146fa,_0x34b307)}),_0x5d2570<_0x519b70['length']){this['_operationsData']['push']({'type':'split','path':_0x49147f});const _0x57a4a5=_0x422d7e[_0x3e068a[_0x3e068a['length']-0x1-_0x5d2570]['index']],_0x4bcff6=this['_parents'][_0x4670c3]['element'];_0x4bcff6['name']!=_0x57a4a5['element']['name']&&this['_addSplitPostponedData'](_0x57a4a5['element'],{'type':'rename','oldValue':_0x4bcff6['name']});const _0x401a48=this['_getAttributeChanges'](_0x4bcff6['getAttributes'](),_0x57a4a5['element']['getAttributes']());for(const _0x4ec918 in _0x401a48){const _0xa873e5=_0x401a48[_0x4ec918]['oldValue'];this['_addSplitPostponedData'](_0x57a4a5['element'],{'type':'attribute','key':_0x4ec918,'oldValue':_0xa873e5});}}}}['_addSplitPostponedData'](_0x4ce303,_0xd75a9a){const _0x1ddcf3=this['_splitPostponedData']['get'](_0x4ce303)||[];_0x1ddcf3['push'](_0xd75a9a),this['_splitPostponedData']['set'](_0x4ce303,_0x1ddcf3);}['_traverseOverItem'](_0x26c942){'element'==_0x26c942['type']&&_0x26c942['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x26c942)):'element'!=_0x26c942['type']||_0x26c942['isStart']?'text'==_0x26c942['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x26c942['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x22e95f,_0x1ef317,_0x3da5f2){_0x22e95f['name']!=_0x1ef317['name']&&this['_operationsData']['push']({'type':'rename','path':_0x3da5f2['slice'](),'oldName':_0x22e95f['name'],'newName':_0x1ef317['name']});}['_handleElementAttributeChanges'](_0x2b9668,_0x39b2d1,_0x3358db){const _0x43e2bd=this['_getAttributeChanges'](_0x2b9668['getAttributes'](),_0x39b2d1['getAttributes']());for(const _0x45fd7a in _0x43e2bd){const {oldValue:_0x5ed4a9,newValue:_0x4f7c0c}=_0x43e2bd[_0x45fd7a];this['_operationsData']['push']({'type':'attribute','path':_0x3358db['slice'](),'howMany':0x1,'key':_0x45fd7a,'oldValue':_0x5ed4a9,'newValue':_0x4f7c0c});}}['_handleTextAttributeChanges'](_0x212283,_0x7e59bb,_0x3b2c7b){const _0x4237e8=this['_operationsData'],_0x37d387=_0x212283[0x0]['parent'],_0x9fcdc6=_0x212283[0x0]['offset'],_0x3ffa2f=_0x7e59bb[0x0]['parent'],_0x538a08=_0x7e59bb[0x0]['offset'],_0x572c82=_0x212283['reduce']((_0x3f65b3,_0x4d4063)=>_0x3f65b3+_0x4d4063['data']['length'],0x0),_0x286c51=this['_getAttrsForOffsets'](_0x37d387,_0x9fcdc6,_0x572c82),_0x3899f5=this['_getAttrsForOffsets'](_0x3ffa2f,_0x538a08,_0x572c82),_0x1bfe2a={};for(let _0x2aca1b=0x0;_0x2aca1b<_0x572c82;_0x2aca1b++){const _0x3385a8=_0x286c51[_0x9fcdc6+_0x2aca1b],_0x4b29e5=_0x3899f5[_0x538a08+_0x2aca1b],_0x57428d=this['_getAttributeChanges'](_0x3385a8,_0x4b29e5);for(const _0x3b908e in _0x1bfe2a)_0x57428d[_0x3b908e]||_0x16480d(_0x3b908e);for(const _0x55cf97 in _0x57428d){const {oldValue:_0xc8270,newValue:_0x2680c6}=_0x57428d[_0x55cf97],_0x1cad7f=_0x1bfe2a[_0x55cf97];_0x1cad7f?_0x1cad7f['oldValue']==_0xc8270&&_0x1cad7f['newValue']==_0x2680c6?_0x1cad7f['length']++:(_0x16480d(_0x55cf97),_0x1bfe2a[_0x55cf97]={'oldValue':_0xc8270,'newValue':_0x2680c6,'start':_0x2aca1b,'length':0x1}):_0x1bfe2a[_0x55cf97]={'oldValue':_0xc8270,'newValue':_0x2680c6,'start':_0x2aca1b,'length':0x1};}}for(const _0x2f5103 in _0x1bfe2a)_0x16480d(_0x2f5103);function _0x16480d(_0x282acf){const _0x4656a1=_0x1bfe2a[_0x282acf],_0x2d47dd=_0x3b2c7b['slice']();_0x2d47dd[_0x2d47dd['length']-0x1]+=_0x4656a1['start'],_0x4237e8['push']({'type':'attribute','path':_0x2d47dd,'howMany':_0x4656a1['length'],'key':_0x282acf,'oldValue':_0x4656a1['oldValue'],'newValue':_0x4656a1['newValue']}),delete _0x1bfe2a[_0x282acf];}}['_getAttributeChanges'](_0x5929d3,_0x1c1938){const _0xbccdb={};for(const [_0x526d68,_0x3fceb9]of _0x5929d3)_0xbccdb[_0x526d68]={'oldValue':JSON['stringify'](_0x3fceb9),'newValue':'null'};for(const [_0x264070,_0x18e058]of _0x1c1938){const _0x54d1f9=JSON['stringify'](_0x18e058);_0xbccdb[_0x264070]?_0xbccdb[_0x264070]['oldValue']==_0x54d1f9?delete _0xbccdb[_0x264070]:_0xbccdb[_0x264070]['newValue']=_0x54d1f9:_0xbccdb[_0x264070]={'oldValue':'null','newValue':_0x54d1f9};}return delete _0xbccdb[lt],_0xbccdb;}['_getAttrsForOffsets'](_0x2c7ddd,_0x4c9198,_0x163cc3){const _0x4aa1f0=new Array(_0x4c9198+_0x163cc3);let _0x3cea61=_0x2c7ddd['getChildAtOffset'](_0x4c9198),_0x20ee5a=_0x3cea61['startOffset'];for(;_0x3cea61&&_0x20ee5a<_0x4c9198+_0x163cc3;){const _0x45f22b=Array['from'](_0x3cea61['getAttributes']());_0x4aa1f0['fill'](_0x45f22b,_0x20ee5a,_0x20ee5a+_0x3cea61['offsetSize']),_0x20ee5a+=_0x3cea61['offsetSize'],_0x3cea61=_0x3cea61['nextSibling'];}return _0x4aa1f0;}['_getPositionFromAnchorAndPath'](_0x4e70bc,_0x1cac81){const _0x506106=[..._0x4e70bc['path']['slice'](0x0,-0x1),_0x4e70bc['offset']+_0x1cac81[0x0],..._0x1cac81['slice'](0x1)];return new _0x478743(_0x4e70bc['root'],_0x506106);}['_makeModelFromTokens'](_0x52db72){const _0x40192b=[];let _0x29153c=null;for(const _0x341767 of _0x52db72)if('element'!=_0x341767['type']||_0x341767['isStart']||_0x29153c!=_0x341767['element']){if(!_0x29153c){if('text'==_0x341767['type']){const _0x17cb59=_0x478743['_createAt'](_0x341767['parent'],_0x341767['offset']),_0x17aedc=_0xe6a104['_createFromPositionAndShift'](_0x17cb59,_0x341767['data']['length']),_0x20486c=Array['from'](_0x17aedc['getItems']())['map'](_0x342810=>new _0xc19f59(_0x342810['data'],_0x342810['getAttributes']()));_0x40192b['push'](..._0x20486c);}else{_0x29153c=_0x341767['element'];const _0x56899e=_0x341767['element']['_clone'](!0x0);_0x56899e['_removeAttribute'](lt);for(const _0x14f79f of this['_editor']['model']['createRangeIn'](_0x56899e)['getItems']())_0x14f79f['is']('element')&&_0x14f79f['_removeAttribute'](lt);_0x40192b['push'](_0x56899e);}}}else _0x29153c=null;return _0x40192b;}}function ht(_0x50b46b,_0x2d7b45){return _0x50b46b['type']===_0x2d7b45['type']&&(_0x50b46b['limitId']===_0x2d7b45['limitId']&&('text'==_0x50b46b['type']?_0x50b46b['data']==_0x2d7b45['data']:function(_0x46429e,_0x32fb6f){if(_0x46429e['isStart']!=_0x32fb6f['isStart'])return!0x1;if(_0x46429e['isStart']&&_0x46429e['elementId']!=_0x32fb6f['elementId'])return!0x1;if(_0x46429e['category']!=_0x32fb6f['category'])return!0x1;if('block'==_0x46429e['category'])return!0x0;if('container'==_0x46429e['category']&&_0x46429e['elementId']!=_0x32fb6f['elementId'])return!0x1;return _0x46429e['element']['name']==_0x32fb6f['element']['name'];}(_0x50b46b,_0x2d7b45)));}function dt(_0x1cde6c){return J({'name':_0x1cde6c['name'],...Object['fromEntries'](_0x1cde6c['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':_0x3087f0=>0x1!=_0x3087f0}};
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':_0x55a510=>0x1!=_0x55a510}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x19c366=>{const {af:{dictionary:_0x3193d2,getPluralForm:_0x115f32}}={'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':_0x323ce0=>0x1!=_0x323ce0}};_0x19c366['af']||={'dictionary':{},'getPluralForm':null},_0x19c366['af']['dictionary']=Object['assign'](_0x19c366['af']['dictionary'],_0x3193d2),_0x19c366['af']['getPluralForm']=_0x115f32;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x256de7=>{const {af:{dictionary:_0x5044b4,getPluralForm:_0x1de3d2}}={'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':_0x579d25=>0x1!=_0x579d25}};_0x256de7['af']||={'dictionary':{},'getPluralForm':null},_0x256de7['af']['dictionary']=Object['assign'](_0x256de7['af']['dictionary'],_0x5044b4),_0x256de7['af']['getPluralForm']=_0x1de3d2;})(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':_0x415b4b=>0x0==_0x415b4b?0x0:0x1==_0x415b4b?0x1:0x2==_0x415b4b?0x2:_0x415b4b%0x64>=0x3&&_0x415b4b%0x64<=0xa?0x3:_0x415b4b%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':_0x43d21f=>0x0==_0x43d21f?0x0:0x1==_0x43d21f?0x1:0x2==_0x43d21f?0x2:_0x43d21f%0x64>=0x3&&_0x43d21f%0x64<=0xa?0x3:_0x43d21f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x459760=>{const {ar:{dictionary:_0x54e6f5,getPluralForm:_0x292053}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x4acc5f=>0x0==_0x4acc5f?0x0:0x1==_0x4acc5f?0x1:0x2==_0x4acc5f?0x2:_0x4acc5f%0x64>=0x3&&_0x4acc5f%0x64<=0xa?0x3:_0x4acc5f%0x64>=0xb?0x4:0x5}};_0x459760['ar']||={'dictionary':{},'getPluralForm':null},_0x459760['ar']['dictionary']=Object['assign'](_0x459760['ar']['dictionary'],_0x54e6f5),_0x459760['ar']['getPluralForm']=_0x292053;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x10c144=>{const {ar:{dictionary:_0x4359ab,getPluralForm:_0x4f819e}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x57e2e8=>0x0==_0x57e2e8?0x0:0x1==_0x57e2e8?0x1:0x2==_0x57e2e8?0x2:_0x57e2e8%0x64>=0x3&&_0x57e2e8%0x64<=0xa?0x3:_0x57e2e8%0x64>=0xb?0x4:0x5}};_0x10c144['ar']||={'dictionary':{},'getPluralForm':null},_0x10c144['ar']['dictionary']=Object['assign'](_0x10c144['ar']['dictionary'],_0x4359ab),_0x10c144['ar']['getPluralForm']=_0x4f819e;})(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':_0x2c753e=>0x1!=_0x2c753e}};
23
+ export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x25bfeb=>0x1!=_0x25bfeb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x420253=>{const {ast:{dictionary:_0xc5ef76,getPluralForm:_0x1ee92b}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x24b5b7=>0x1!=_0x24b5b7}};_0x420253['ast']||={'dictionary':{},'getPluralForm':null},_0x420253['ast']['dictionary']=Object['assign'](_0x420253['ast']['dictionary'],_0xc5ef76),_0x420253['ast']['getPluralForm']=_0x1ee92b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x33110c=>{const {ast:{dictionary:_0xc9fd,getPluralForm:_0x4b4eb7}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x22217e=>0x1!=_0x22217e}};_0x33110c['ast']||={'dictionary':{},'getPluralForm':null},_0x33110c['ast']['dictionary']=Object['assign'](_0x33110c['ast']['dictionary'],_0xc9fd),_0x33110c['ast']['getPluralForm']=_0x4b4eb7;})(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':_0x3ba1b8=>0x1!=_0x3ba1b8}};
23
+ export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x170211=>0x1!=_0x170211}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2900aa=>{const {az:{dictionary:_0xe0b822,getPluralForm:_0x23d7b4}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x49ef03=>0x1!=_0x49ef03}};_0x2900aa['az']||={'dictionary':{},'getPluralForm':null},_0x2900aa['az']['dictionary']=Object['assign'](_0x2900aa['az']['dictionary'],_0xe0b822),_0x2900aa['az']['getPluralForm']=_0x23d7b4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x28db42=>{const {az:{dictionary:_0x1b9fa5,getPluralForm:_0x5afadf}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2ea93e=>0x1!=_0x2ea93e}};_0x28db42['az']||={'dictionary':{},'getPluralForm':null},_0x28db42['az']['dictionary']=Object['assign'](_0x28db42['az']['dictionary'],_0x1b9fa5),_0x28db42['az']['getPluralForm']=_0x5afadf;})(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':_0x28839a=>_0x28839a%0xa==0x1&&_0x28839a%0x64!=0xb?0x0:_0x28839a%0xa>=0x2&&_0x28839a%0xa<=0x4&&(_0x28839a%0x64<0xa||_0x28839a%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':_0x279ec7=>_0x279ec7%0xa==0x1&&_0x279ec7%0x64!=0xb?0x0:_0x279ec7%0xa>=0x2&&_0x279ec7%0xa<=0x4&&(_0x279ec7%0x64<0xa||_0x279ec7%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xef97aa=>{const {be:{dictionary:_0x2e2044,getPluralForm:_0x414408}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x258345=>_0x258345%0xa==0x1&&_0x258345%0x64!=0xb?0x0:_0x258345%0xa>=0x2&&_0x258345%0xa<=0x4&&(_0x258345%0x64<0xa||_0x258345%0x64>=0x14)?0x1:0x2}};_0xef97aa['be']||={'dictionary':{},'getPluralForm':null},_0xef97aa['be']['dictionary']=Object['assign'](_0xef97aa['be']['dictionary'],_0x2e2044),_0xef97aa['be']['getPluralForm']=_0x414408;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x11b9f6=>{const {be:{dictionary:_0x15908c,getPluralForm:_0x51de36}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x23518c=>_0x23518c%0xa==0x1&&_0x23518c%0x64!=0xb?0x0:_0x23518c%0xa>=0x2&&_0x23518c%0xa<=0x4&&(_0x23518c%0x64<0xa||_0x23518c%0x64>=0x14)?0x1:0x2}};_0x11b9f6['be']||={'dictionary':{},'getPluralForm':null},_0x11b9f6['be']['dictionary']=Object['assign'](_0x11b9f6['be']['dictionary'],_0x15908c),_0x11b9f6['be']['getPluralForm']=_0x51de36;})(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':_0xf8c72c=>0x1!=_0xf8c72c}};
23
+ export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x15aaed=>0x1!=_0x15aaed}};