@ckeditor/ckeditor5-collaboration-core 47.0.0-alpha.7 → 47.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/documentcompare.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x721b3e,Editor as _0x1b24b4}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4fd52c,Collection as _0x1442d6,uid as _0x578b07,first as _0x5a02de,FocusTracker as _0x1422bf,KeystrokeHandler as _0x205f78}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x4d9c1c,IconView as _0x36406b,ButtonView as _0x42d149,DropdownButtonView as _0x7b4fd8,FocusCycler as _0x2ade11,isViewWithFocusCycler as _0x575f3a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x4ec0d8,IconCheck as _0x2ba2ab,IconCancel as _0x250b18}from'@ckeditor/ckeditor5-icons/dist/index.js';import{DateTime as _0x3a233e}from'luxon';import{InsertOperation as _0x3abe65,MoveOperation as _0x54a846,ModelPosition as _0x2badb3,ModelRange as _0x1faba7,MarkerOperation as _0x21f0b7,MergeOperation as _0x5d2c1d,SplitOperation as _0x1c9045,RenameOperation as _0x10361c,AttributeOperation as _0x3f14a6,ModelTreeWalker as _0x6cfce2,ModelText as _0x28c70c}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x5a2877}from'diff';class _ extends _0x721b3e{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x26617f,_0x247f65){let _0x477092;if(_0x247f65||(_0x247f65=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x247f65?_0x477092=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x477092=this['context']['editors']['find'](_0x534bd8=>_0x534bd8['config']['get']('collaboration.channelId')==_0x247f65)),!_0x477092)throw new _0x4fd52c('permissions-set-permissions-invalid-channel-id',null);const _0x4c3d28=_0x477092['plugins'],_0x34ce71=_0x4c3d28['has']('CommentsRepository')?_0x4c3d28['get']('CommentsRepository'):void 0x0,_0x1d774a=_0x4c3d28['has']('CommentsOnly')&&_0x4c3d28['get']('CommentsOnly'),_0x98419f=_0x26617f['includes']('document:write'),_0x5c7b36=_0x26617f['includes']('comment:modify_all'),_0x19009e=_0x26617f['includes']('comment:admin'),_0x193905=_0x26617f['includes']('comment:write'),_0x5e274d=_0x193905||_0x19009e,_0x42f53f=_0x5e274d||_0x5c7b36,_0x4d5c07=_0x98419f||_0x5e274d;(_0x1d774a&&(_0x1d774a['isEnabled']=!_0x98419f&&_0x42f53f),_0x477092 instanceof _0x1b24b4)&&(!(_0x98419f||_0x42f53f&&_0x34ce71)?_0x477092['enableReadOnlyMode']('no-permissions'):_0x477092['disableReadOnlyMode']('no-permissions'));if(_0x34ce71){_0x34ce71['setPermissions']({'admin':_0x19009e,'modifyAll':_0x5c7b36,'write':_0x193905,'resolve':_0x4d5c07},_0x247f65);const _0xdbc991=_0x477092 instanceof _0x1b24b4&&_0x477092['commands']['get']('addCommentThread');_0xdbc991&&(_0x5e274d?_0xdbc991['clearForceDisabled']('noPermissions'):_0xdbc991['forceDisabled']('noPermissions'));}}}function y(_0x34c274,_0x4cd5b3){const t=_0x34c274['t'];switch(_0x4cd5b3){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 P extends _0x721b3e{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_];}constructor(_0x2486d1){super(_0x2486d1),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1442d6(),this['_locale']=_0x2486d1['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:_0x150826,name:_0x841ec6,..._0x3fd059}){if(!_0x150826||'string'!=typeof _0x150826)throw new _0x4fd52c('users-add-invalid-id');if(this['users']['has'](_0x150826))throw new _0x4fd52c('users-add-duplicated-id',null,{'id':_0x150826});const _0x4cf59d=this['context']['config']['get']('users.getInitialsCallback'),_0x160d88={..._0x3fd059,'id':_0x150826,'name':C(this['_locale'],_0x841ec6),'color':this['_getNextColor']()};_0x160d88['name']=C(this['_locale'],_0x160d88['name']);const _0x2475fe=new R(_0x160d88,_0x4cf59d);return this['users']['add'](_0x2475fe),_0x2475fe;}['getUser'](_0x1feb21){return this['users']['get'](_0x1feb21);}['useAnonymousUser'](){const _0x1efda9=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x1efda9);}['defineMe'](_0x2b5f55){if(this['_myId'])throw new _0x4fd52c('users-me-already-defined',null);const _0x1f1aa7=this['getUser'](_0x2b5f55);if(!_0x1f1aa7)throw new _0x4fd52c('users-me-missing-user',null);this['_myId']=_0x2b5f55,_0x1f1aa7['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2b83f1=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2b83f1&&(this['_lastColor']=0x0),new Y(this['_lastColor']++);}['_addAnonymousUser'](){const _0x32014d=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x32014d,'name':y(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class R{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x31e3fe,_0x5b5516){this['id']=_0x31e3fe['id'],this['color']=_0x31e3fe['color'],this['name']=_0x31e3fe['name'],this['initials']=_0x5b5516?_0x5b5516(this['name']):this['_computeInitials'](),this['avatar']=_0x31e3fe['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x21b981=this['name']['split']('\x20')['filter'](_0x4dfedd=>/^[\p{Letter}]/u['test'](_0x4dfedd));return 0x1===_0x21b981['length']?this['_getInitial'](_0x21b981[0x0]):0x0===_0x21b981['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x21b981[0x0])+this['_getInitial'](_0x21b981[_0x21b981['length']-0x1]);}['_getInitial'](_0x1c2f87){return String['fromCodePoint'](_0x1c2f87['codePointAt'](0x0))['toUpperCase']();}}function C(_0x35a955,_0x478b08=''){return''==(_0x478b08=_0x478b08['trim']())?y(_0x35a955,'Anonymous'):_0x478b08;}class Y{['_id'];constructor(_0x49faf1){this['_id']=_0x49faf1;}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'];}}class Z extends _0x4d9c1c{['name'];['notificationView'];constructor(_0x346013,_0xfb6209,_0x416bee){super(_0x346013),this['name']=_0xfb6209['name'],this['notificationView']=null;const _0x1c2ada=['ck','ck-user'],_0x91af34=['ck','ck-user__img'];if(_0xfb6209['isAnonymous']&&_0x91af34['push']('ck-user__anonymous'),!_0xfb6209['isAnonymous']&&_0xfb6209['isMe']&&_0x1c2ada['push']('ck-user_me'),_0xfb6209['avatar']&&_0x91af34['push']('ck-user__avatar'),_0x416bee){const _0x44fce0=new _0x36406b();_0x44fce0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x44fce0['content']=_0x4ec0d8,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x416bee},'children':[_0x44fce0]};}const _0x18aefb=[{'tag':'div','attributes':{'class':_0x91af34,'style':{'background-image':_0xfb6209['avatar']?'url(\x27'+_0xfb6209['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0xfb6209['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0xfb6209['name']},'children':[{'text':_0xfb6209['initials']}]}];this['notificationView']&&_0x18aefb['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1c2ada,'data-user-id':_0xfb6209['id']},'children':_0x18aefb});}}class Q extends _0x4d9c1c{['id'];constructor(_0xf1c391,_0x4b203b){super(_0xf1c391),this['id']='ck-aria-description-'+_0x578b07(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x4b203b}]});}}class X extends _0x42d149{['render'](){super['render'](),J(this);}}class tt extends _0x7b4fd8{['render'](){super['render'](),J(this);}}function J(_0x190dcf){_0x190dcf['listenTo'](_0x190dcf['element'],'mousedown',(_0x93b067,_0x531d34)=>{_0x531d34['stopPropagation'](),_0x531d34['preventDefault']();}),_0x190dcf['listenTo'](_0x190dcf['element'],'mouseup',()=>{_0x190dcf['element']['focus']();});}function et(_0x20ec62={},_0x148097){if(void 0x0!==_0x20ec62['dateTimeFormat']&&'function'!=typeof _0x20ec62['dateTimeFormat'])throw new _0x4fd52c('invalid-date-time-format');return _0x562e26=>{const _0x394bd3='string'==typeof _0x562e26?_0x3a233e['fromISO'](_0x562e26):_0x3a233e['fromJSDate'](_0x562e26),_0x169a9f=_0x3a233e['now'](),_0xc1ad8a=Math['floor'](_0x169a9f['diff'](_0x394bd3,'days')['days']);return _0x20ec62['dateTimeFormat']?_0x20ec62['dateTimeFormat'](_0x394bd3['toJSDate'](),_0x148097&&_0x148097['t']?_0x148097['t']:void 0x0):0x0===_0xc1ad8a?_0x148097?y(_0x148097,'Today')+'\x20'+_0x394bd3['toFormat']('hh:mma'):_0x394bd3['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0xc1ad8a?_0x148097?y(_0x148097,'Yesterday')+'\x20'+_0x394bd3['toFormat']('hh:mma'):_0x394bd3['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0xc1ad8a<0x7?_0x148097?y(_0x148097,'Last')+'\x20'+y(_0x148097,_0x394bd3['toFormat']('EEEE'))+'\x20'+_0x394bd3['toFormat']('hh:mma'):_0x394bd3['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x394bd3['toFormat']('LL-dd-yyyy\x20hh:mma');};}function st(_0x14d0d4,_0x1b86c3){const _0x288827=_0x14d0d4['mapper']['markerNameToElements'](_0x1b86c3['name']);if(!_0x288827)return null;const _0x38b35c=_0x5a02de(_0x288827['values']());return _0x14d0d4['view']['domConverter']['mapViewToDom'](_0x38b35c)||null;}function nt(_0x235589,_0x54bdf0){if(0x0===_0x54bdf0['length'])return null;const _0x3b3e69=[],_0x33dca6=_0x235589['view']['domConverter'];for(const _0xe97f4 of _0x54bdf0){const _0x51133a=_0x235589['mapper']['markerNameToElements'](_0xe97f4['name']);if(!_0x51133a)continue;const _0x2bc6ab=Array['from'](_0x51133a)['map'](_0x168c4c=>_0x33dca6['mapViewToDom'](_0x168c4c))['filter'](_0x5742b0=>!!_0x5742b0);_0x3b3e69['push'](..._0x2bc6ab);}if(0x0===_0x3b3e69['length'])return null;const _0x5dad72=[];for(const _0x21c402 of _0x3b3e69){const _0xb36fac=_0x21c402['getClientRects']()['item'](0x0);_0xb36fac&&_0x5dad72['push']({'x':_0xb36fac['x'],'y':_0xb36fac['y'],'domElement':_0x21c402});}return 0x0===_0x5dad72['length']?null:(_0x5dad72['sort']((_0x53fb6b,_0x31dd51)=>_0x53fb6b['y']-_0x31dd51['y']||_0x53fb6b['x']-_0x31dd51['x']),_0x5dad72['map'](_0x429f72=>_0x429f72['domElement']));}function it(_0x462046,{limit:_0x430f8d,suffix:_0x10d2a1='...'}){const _0xa680bf=[];let _0xf08dd4=0x0;const _0x3a578f=_0x462046['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x12b54=0x0;_0x12b54<_0x3a578f['length'];_0x12b54++){let _0x5e137c=_0x3a578f[_0x12b54];const _0x416a54=H(_0x5e137c);if(_0x5e137c['startsWith']('<')){if(_0xf08dd4>=_0x430f8d){const _0x23ddbc=_0x5e137c['match'](/[a-zA-Z]+/);if(!_0x23ddbc){_0x3a578f[_0x12b54]='';continue;}const _0x21930f=_0x23ddbc[0x0];_0x5e137c['startsWith']('</')?(_0xa680bf['length']&&(_0x5e137c=''),_0xa680bf['pop']()):(_0xa680bf['push'](_0x21930f),_0x5e137c='');}}else{if(_0xf08dd4>=_0x430f8d)_0x5e137c='';else{if(_0xf08dd4+_0x416a54['length']>=_0x430f8d){let _0x32fd2f=_0x430f8d-_0xf08dd4;if('\x20'===_0x416a54[_0x32fd2f-0x1])_0x32fd2f--;else{const _0xfaebd7=_0x416a54['slice'](_0x32fd2f)['indexOf']('\x20');-0x1!==_0xfaebd7?_0x32fd2f+=_0xfaebd7:_0x32fd2f=_0x5e137c['length'];}_0x5e137c=_0x416a54['slice'](0x0,_0x32fd2f)['join']('')+_0x10d2a1,_0xf08dd4=_0x430f8d;}else _0xf08dd4+=_0x416a54['length'];}}_0x3a578f[_0x12b54]=_0x5e137c;}return _0x3a578f['join']('\x0a')['replace'](/\n/g,'');}function H(_0x57b5b4){const _0xd03d=[];for(let _0xd0f348=0x0;_0xd0f348<_0x57b5b4['length'];_0xd0f348++){const _0x54eb07=_0x57b5b4['substring'](_0xd0f348)['match'](/^&[a-z0-9#]+;/);if(_0x54eb07){const _0x10a237=_0x54eb07[0x0];_0xd03d['push'](_0x10a237),_0xd0f348+=_0x10a237['length']-0x1;}else _0xd03d['push'](_0x57b5b4[_0xd0f348]);}return _0xd03d;}class v extends _0x4d9c1c{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x2f03b8){super(_0x2f03b8);const _0x5cba9c=this['bindTemplate'];this['set']('message',y(_0x2f03b8,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x2f03b8,y(_0x2f03b8,'Yes'),_0x2ba2ab,'submit'),this['cancelView']=this['_createButtonView'](_0x2f03b8,y(_0x2f03b8,'No'),_0x250b18,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x1422bf(),this['keystrokes']=new _0x205f78(),this['focusCycler']=new _0x2ade11({'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':_0x5cba9c['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'](_0x1664d3,_0x57b9c6,_0x4b0b53,_0x2eca3b){const _0xed9ca4=new _0x42d149(_0x1664d3);return _0xed9ca4['label']=_0x57b9c6,_0xed9ca4['icon']=_0x4b0b53,_0xed9ca4['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x2eca3b}}),_0xed9ca4['on']('execute',()=>this['fire'](_0x2eca3b)),_0xed9ca4;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x3cc03e=>{this['keystrokes']['listenTo'](_0x3cc03e['element']),this['focusTracker']['add'](_0x3cc03e['element']);}),this['keystrokes']['set']('esc',(_0x287fe5,_0x433c96)=>{this['fire']('cancel'),_0x433c96();});}}function ot(_0x20704d){return class extends _0x20704d{['showConfirm'](_0x2788fe,_0x4d1756){return this['confirmView']=new v(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2788fe,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x4d1756['appendChild'](this['confirmView']['element']),_0x4d1756['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0xb0c924,_0x2536bc,_0x354203)=>{_0x354203||_0x4d1756['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x151159=>this['confirmView']['on']('submit',_0x151159));}['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 rt(_0x4b4d67){let _0x2982d6=0x0,_0x5ae2e7=0x0;for(const _0x1a5227 of M(_0x4b4d67))_0x2982d6=(_0x2982d6<<0x5)-_0x2982d6+_0x1a5227,_0x2982d6&=_0x2982d6,[_0x2982d6,_0x5ae2e7]=[_0x5ae2e7,_0x2982d6];return B(_0x2982d6)+B(_0x5ae2e7);}function*O(_0x19fd68){null==_0x19fd68||null==_0x19fd68?yield 0x12b9b0a1:0x0===_0x19fd68||!0x1===_0x19fd68?yield 0x0:0x1===_0x19fd68||0x1==_0x19fd68?yield 0x1:Array['isArray'](_0x19fd68)?yield*function*(_0x3fefd0){for(const _0x522a98 of _0x3fefd0)yield*O(_0x522a98);}(_0x19fd68):'object'==typeof _0x19fd68?yield*M(_0x19fd68):'string'==typeof _0x19fd68?yield*q(_0x19fd68):'number'==typeof _0x19fd68&&(yield _0x19fd68);}function*M(_0x285e0b){if(yield z('{'),_0x285e0b){const _0x444048=Object['keys'](_0x285e0b)['sort']();for(const _0x13ca31 of _0x444048){yield*q(_0x13ca31),yield z(':');const _0x5e000d=_0x285e0b[_0x13ca31];yield*O(_0x5e000d);}}yield z('}');}function*q(_0x333ca8){yield z('\x22');for(const _0x2ea75c of _0x333ca8)yield z(_0x2ea75c);yield z('\x22');}function z(_0x3fcfc1){return _0x3fcfc1['charCodeAt'](0x0);}function B(_0x265602){return(_0x265602*=Math['sign'](_0x265602))['toString'](0x24);}const W=['initialData','context','toolbar','rootsAttributes'],S=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function G(_0x4b373e,_0x42272f,_0x280cf3,_0x26aabf=[]){const _0x1a5126='string'==typeof _0x4b373e?_0x280cf3['get'](_0x4b373e)['constructor']:_0x4b373e['prototype']['constructor'];if(_0x42272f['has'](_0x1a5126))return _0x42272f['get'](_0x1a5126);_0x42272f['set'](_0x1a5126,!0x0);const _0xc4b8cf=[...S,..._0x26aabf]['map'](_0x324446=>{if(_0x280cf3['has'](_0x324446))return _0x280cf3['get'](_0x324446)['constructor'];})['filter'](_0x16f873=>_0x16f873);if(_0x1a5126&&_0xc4b8cf['includes'](_0x1a5126))return _0x42272f['set'](_0x1a5126,!0x1),!0x1;if(!_0x1a5126['requires'])return _0x42272f['set'](_0x1a5126,!0x0),!0x0;const _0x59f406=_0x1a5126['requires']['every'](_0x1faae4=>G(_0x1faae4,_0x42272f,_0x280cf3,_0x26aabf));return _0x42272f['set'](_0x1a5126,_0x59f406),_0x59f406;}function ct(_0x3abd16,_0x4820f8){const _0x8b207={};for(const _0x5933e0 of _0x3abd16['config']['names']())W['includes'](_0x5933e0)||(_0x8b207[_0x5933e0]=_0x3abd16['config']['get'](_0x5933e0));const _0x13d6fd=_0x8b207['plugins']||[],_0x50cfd5=_0x3abd16['constructor']['builtinPlugins']||[],_0x2ae0bf=_0x13d6fd['length']?_0x13d6fd:_0x50cfd5,_0x4909a2=_0x8b207['extraPlugins']||[];delete _0x8b207['extraPlugins'];const _0xf97f37=_0x8b207['removePlugins']||[];delete _0x8b207['removePlugins'];const _0x2ef4a2=_0x3abd16['_context']['config']['get']('plugins')||[],_0x593aed=_0x2ae0bf['concat'](_0x4909a2)['concat'](_0x2ef4a2)['map'](_0x17d702=>'string'==typeof _0x17d702?_0x50cfd5['find'](_0x4da256=>_0x4da256['pluginName']==_0x17d702):_0x17d702)['filter'](_0x181ae2=>!_0xf97f37['includes'](_0x181ae2)&&!_0xf97f37['includes'](_0x181ae2['pluginName'])),_0x3ce2e3=Array['from'](new Set(_0x593aed)),_0x2c0cf5=new Map();return _0x8b207['plugins']=_0x3ce2e3['filter'](_0x2078ef=>G(_0x2078ef,_0x2c0cf5,_0x3abd16['plugins'],_0x4820f8)),_0x8b207;}function at(_0x1b1285,_0x53b03a){const _0x255088=[];_0x1b1285['document']['selection']['on']('change:range',()=>{const _0x3fa83a=function(_0x567ac0,_0x2fd8a9){const _0x73a788=[];for(const _0x5eaf25 of _0x567ac0['markers']){const _0x56e3ee=_0x5eaf25['getRange']();(_0x56e3ee['containsPosition'](_0x2fd8a9)||_0x56e3ee['start']['isEqual'](_0x2fd8a9)||_0x56e3ee['end']['isEqual'](_0x2fd8a9))&&_0x73a788['push'](_0x5eaf25);}return _0x73a788;}(_0x1b1285,_0x1b1285['document']['selection']['focus']),_0x4eb592=[],_0x43d9b1=[],_0x4dadc6=[];for(const _0x3e499b of _0x255088)_0x3fa83a['includes'](_0x3e499b)||_0x4eb592['push'](_0x3e499b);for(const _0x46b14a of _0x3fa83a)_0x255088['includes'](_0x46b14a)||_0x43d9b1['push'](_0x46b14a),_0x4dadc6['push'](_0x46b14a);(_0x4eb592['length']||_0x43d9b1['length'])&&_0x53b03a({'left':_0x4eb592,'entered':_0x43d9b1}),_0x255088['length']=0x0,_0x255088['push'](..._0x4dadc6);});}const ht='Ctrl+Shift+E';function lt(_0x34f3fd,_0x6b7939){const _0x2e0e60=_0x34f3fd['element'];_0x34f3fd['keystrokes']['listenTo'](_0x2e0e60);for(const _0x5ee7a3 of _0x6b7939)F(_0x34f3fd,_0x5ee7a3);_0x6b7939['on']('change',(_0x48186d,_0x201d1e)=>{for(const _0x149d07 of _0x201d1e['removed'])I(_0x34f3fd,_0x149d07);for(const _0x55ba0f of Array['from'](_0x201d1e['added'])['reverse']())F(_0x34f3fd,_0x55ba0f);}),_0x34f3fd['keystrokes']['set']('enter',(_0x441e91,_0x2b8878)=>{_0x2e0e60===_0x441e91['target']&&(_0x34f3fd['focusCycler']['focusFirst'](),_0x2b8878());},{'filter':_0x191c66=>_0x191c66['target']===_0x2e0e60}),_0x34f3fd['keystrokes']['set']('esc',(_0x291f3f,_0x29d912)=>{_0x2e0e60!==_0x291f3f['target']?_0x34f3fd['focus']():_0x34f3fd['fire']('escape'),_0x29d912();}),_0x34f3fd['keystrokes']['set']('arrowdown',(_0x326126,_0x2bb7b6)=>{_0x2e0e60===_0x326126['target']&&(_0x34f3fd['fire']('arrowdown'),_0x2bb7b6());}),_0x34f3fd['keystrokes']['set']('arrowup',(_0x3040ec,_0x129a7d)=>{_0x2e0e60===_0x3040ec['target']&&(_0x34f3fd['fire']('arrowup'),_0x129a7d());});}function F(_0x54229d,_0x88ff4c){_0x88ff4c['isRendered']&&(_0x54229d['focusTracker']['add'](_0x88ff4c['element']),_0x54229d['keystrokes']['listenTo'](_0x88ff4c['element']),_0x575f3a(_0x88ff4c)&&function(_0x5058c3,_0x145590){const _0x41bcff=_0x5058c3['actions'],_0x2f2d8d=_0x145590['actions'];for(const _0x1faf95 of Object['keys'](_0x41bcff))if(_0x1faf95 in _0x2f2d8d&&_0x41bcff[_0x1faf95]!==_0x2f2d8d[_0x1faf95])return!0x1;return!0x0;}(_0x54229d['focusCycler'],_0x88ff4c['focusCycler'])&&_0x54229d['focusCycler']['chain'](_0x88ff4c['focusCycler']));}function I(_0x41ed3b,_0x4a45e8){_0x41ed3b['focusTracker']['remove'](_0x4a45e8['element']),_0x41ed3b['keystrokes']['stopListening'](_0x4a45e8['element']),_0x575f3a(_0x4a45e8)&&_0x41ed3b['focusCycler']['unchain'](_0x4a45e8['focusCycler']);}const ut='$elementId',dt='data-id';class ft extends _0x721b3e{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x1b24b4?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x59b8ae,_0x4e4c9d)=>{_0x4e4c9d['on']('ready',()=>{this['_integrateEditor'](_0x4e4c9d);});});}get['editor'](){if(this['context']instanceof _0x1b24b4)return this['context'];{const _0x3976a9=this['context']['editors']['first'];if(!_0x3976a9)throw new _0x4fd52c('documentcompare-no-editor',this);return _0x3976a9;}}['getDiff'](_0xa98e2d,_0x2cc7c3,_0x269c1e={'anchor':'main','markDeletions':!0x1}){let _0xd06174,_0x16b9d5;const _0x57db31=this['editor'];if('string'==typeof _0x269c1e['anchor']){const _0x51da83=_0x57db31['model']['document']['getRoot'](_0x269c1e['anchor']);if(!_0x51da83)throw new _0x4fd52c('documentcompare-compare-no-root',this,{'anchor':_0x269c1e['anchor']});_0xd06174=_0x51da83,_0x16b9d5=_0x57db31['model']['createPositionAt'](_0x51da83,0x0);}else _0xd06174=_0x269c1e['anchor']['clone'](),_0x16b9d5=_0x269c1e['anchor']['clone']();const _0x551cbd=_0x57db31['data']['parse'](_0xa98e2d,_0xd06174),_0x5bb5e3=_0x57db31['data']['parse'](_0x2cc7c3,_0xd06174);return new mt(_0x551cbd,_0x5bb5e3,_0x57db31,{'anchor':_0x16b9d5,'markDeletions':_0x269c1e['markDeletions']});}['isMarkedRemoveOperation'](_0x3689d5){return'marker'==_0x3689d5['type']&&_0x3689d5['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x13de61){_0x13de61['conversion']['for']('upcast')['add'](_0x39ff9f=>{_0x39ff9f['on']('element',(_0x187b6e,_0x473048,_0x477b3d)=>{if(_0x473048['modelRange'])for(const _0x2153e9 of _0x473048['modelRange']['getItems']({'shallow':!0x0})){if(_0x2153e9['is']('$textProxy'))continue;const _0x354dc1=_0x473048['viewItem']['getAttribute'](dt);_0x354dc1&&_0x477b3d['writer']['setAttribute'](ut,_0x354dc1,_0x2153e9);}},{'priority':'lowest'});}),_0x13de61['model']['schema']['addAttributeCheck'](()=>!0x0,ut);}}class mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x52b980,_0x4a93c6,_0x41aaac,_0x2fda74){this['_editor']=_0x41aaac,this['_markDeletions']=!!_0x2fda74['markDeletions'],this['_anchor']=_0x2fda74['anchor'];const _0x1b0216=this['_tokenizeModel'](_0x52b980),_0x2129b9=this['_tokenizeModel'](_0x4a93c6);this['_diffItems']=this['_diffModelTokens'](_0x1b0216,_0x2129b9),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x52b980['markers'],_0x4a93c6['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x1aace5=this['_editor']['model']['document'],_0x1ae5a9=[];let _0x2a46c5=_0x1aace5['version'];for(const _0x182c4b of this['_operationsData'])switch(_0x182c4b['type']){case'attribute':{const _0x405121=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']),_0x4796e3=_0x405121['getShiftedBy'](_0x182c4b['howMany']),_0x3ae8a5=new _0x1faba7(_0x405121,_0x4796e3),_0x4c0857=JSON['parse'](_0x182c4b['oldValue']),_0x201963=JSON['parse'](_0x182c4b['newValue']);_0x1ae5a9['push'](new _0x3f14a6(_0x3ae8a5,_0x182c4b['key'],_0x4c0857,_0x201963,_0x2a46c5++));break;}case'insert':{const _0x238445=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']),_0x3c0ad0=this['_makeModelFromTokens'](_0x182c4b['tokens']);_0x1ae5a9['push'](new _0x3abe65(_0x238445,_0x3c0ad0,_0x2a46c5++));break;}case'remove':{const _0x1ff44f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']),_0x5c3d95=new _0x2badb3(_0x1aace5['graveyard'],[0x0]);_0x1ae5a9['push'](new _0x54a846(_0x1ff44f,_0x182c4b['howMany'],_0x5c3d95,_0x2a46c5++));break;}case'rename':{const _0x304ca5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']);_0x1ae5a9['push'](new _0x10361c(_0x304ca5,_0x182c4b['oldName'],_0x182c4b['newName'],_0x2a46c5++));break;}case'split':{const _0x563ee1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']),_0x4dc89c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['path']['slice'](0x0,-0x1));_0x4dc89c['offset']++,_0x1ae5a9['push'](new _0x1c9045(_0x563ee1,Number['NEGATIVE_INFINITY'],_0x4dc89c,null,_0x2a46c5++));break;}case'merge':{const _0x33479b=_0x182c4b['path']['slice'](),_0x208fe2=_0x33479b['slice'](0x0,-0x1);_0x208fe2[_0x208fe2['length']-0x1]++,_0x208fe2['push'](0x0);const _0x3df1c1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x208fe2),_0x9924f0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x33479b),_0x268567=new _0x2badb3(_0x1aace5['graveyard'],[0x0]);_0x1ae5a9['push'](new _0x5d2c1d(_0x3df1c1,Number['NEGATIVE_INFINITY'],_0x9924f0,_0x268567,_0x2a46c5++));break;}case'marker':case'markedRemove':{let _0x32638e=null;if(_0x182c4b['range']){const _0x59624a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['range']['start']),_0xd24e8c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['range']['end']);_0x32638e=new _0x1faba7(_0x59624a,_0xd24e8c);}const _0x59663e='marker'==_0x182c4b['type']?_0x182c4b['name']:'$markedRemove:'+_0x578b07();_0x1ae5a9['push'](new _0x21f0b7(_0x59663e,null,_0x32638e,_0x1aace5['model']['markers'],!0x0,_0x2a46c5++));break;}case'unwrap':{const _0x44b78b=_0x182c4b['path']['slice']();_0x44b78b['push'](0x0);const _0xca5f83=_0x182c4b['path']['slice'](),_0x7f561f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x44b78b),_0x46bd92=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xca5f83),_0x583af6=new _0x2badb3(_0x1aace5['graveyard'],[0x0]);_0x1ae5a9['push'](new _0x54a846(_0x7f561f,_0x182c4b['howMany'],_0x46bd92,_0x2a46c5++)),_0x1ae5a9['push'](new _0x54a846(_0x46bd92['getShiftedBy'](_0x182c4b['howMany']),0x1,_0x583af6,_0x2a46c5++));break;}case'wrap':{const _0x1e0e6e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['range']['start']),_0x472407=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x182c4b['range']['end']),_0x4d2580=_0x182c4b['token']['element']['_clone'](!0x1),_0x51e095=_0x182c4b['range']['end']['slice']();_0x51e095['push'](0x0);const _0x16dd8b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x51e095);_0x1ae5a9['push'](new _0x3abe65(_0x472407,_0x4d2580,_0x2a46c5++)),_0x1ae5a9['push'](new _0x54a846(_0x1e0e6e,_0x472407['offset']-_0x1e0e6e['offset'],_0x16dd8b,_0x2a46c5++));break;}}return _0x1ae5a9;}['_tokenizeModel'](_0x4da1b2){const _0x163488=[],_0x14fc49=_0x1faba7['_createIn'](_0x4da1b2),_0x2d9620=new _0x6cfce2({'boundaries':_0x14fc49});let _0x38e2b7='',_0x313d4b=null;const _0x3cde48=[''],_0xb94946=new Map();for(const _0x5aa2c1 of _0x2d9620)if('elementStart'==_0x5aa2c1['type']||'elementEnd'==_0x5aa2c1['type']){let _0x21ccff=_0x3cde48[0x0];''!==_0x38e2b7&&(_0x163488['push'](...this['_makeTokensFromTextByWords'](_0x38e2b7,_0x313d4b,_0x21ccff)),_0x38e2b7='');const _0x171148=_0x5aa2c1['item'];let _0x79ec82;_0x171148['getAttribute'](ut)?_0x79ec82=_0x171148['getAttribute'](ut):'elementStart'==_0x5aa2c1['type']?(_0x79ec82=_0x578b07(),_0xb94946['set'](_0x171148,_0x79ec82)):_0x79ec82=_0xb94946['get'](_0x171148);const _0x1fcd7e=this['_getElementCategory'](_0x171148);'solid'==_0x1fcd7e&&('elementStart'==_0x5aa2c1['type']?(_0x21ccff=_0x79ec82,_0x3cde48['unshift'](_0x21ccff)):_0x3cde48['shift']());const _0x290246={'type':'element','element':_0x171148,'elementId':_0x79ec82,'category':_0x1fcd7e,'isStart':'elementStart'==_0x5aa2c1['type'],'limitId':_0x21ccff};_0x163488['push'](_0x290246);}else''==_0x38e2b7&&(_0x313d4b=_0x5aa2c1['previousPosition']['clone']()),_0x38e2b7+=_0x5aa2c1['item']['data'];return''!==_0x38e2b7&&_0x163488['push'](...this['_makeTokensFromTextByWords'](_0x38e2b7,_0x313d4b,_0x3cde48[0x0])),_0x163488;}['_makeTokensFromTextByWords'](_0x26fd86,_0x160787,_0x1e6a13){const _0x249a9c=_0x26fd86['matchAll'](/(\s)/g),_0x36150c=Array['from'](_0x249a9c)['map'](_0x4a165=>_0x4a165['index']);_0x36150c['push'](_0x26fd86['length']),0x0==_0x36150c[0x0]&&_0x36150c['shift']();const _0x20e298=[],_0x41d8ba=_0x160787['parent'];let _0x8b1803=0x0,_0x2535d9=_0x160787['offset'];for(let _0x12669b=0x0;_0x12669b<_0x36150c['length'];_0x12669b++)_0x20e298['push']({'type':'text','data':_0x26fd86['slice'](_0x8b1803,_0x36150c[_0x12669b]),'parent':_0x41d8ba,'offset':_0x2535d9,'limitId':_0x1e6a13}),_0x8b1803=_0x36150c[_0x12669b],_0x2535d9=_0x160787['offset']+_0x36150c[_0x12669b];return _0x20e298;}['_getElementCategory'](_0x3bf8be){const _0x472e43=this['_editor']['model']['schema'];return _0x472e43['isLimit'](_0x3bf8be)||_0x472e43['isContent'](_0x3bf8be)||_0x472e43['isInline'](_0x3bf8be)?'solid':_0x472e43['isBlock'](_0x3bf8be)?'block':'container';}['_diffModelTokens'](_0x4590d8,_0x4364ea){const _0x200d55=_0x5a2877(_0x4590d8,_0x4364ea,{'comparator':k});this['_handleUnclosedBlockOpeningTags'](_0x200d55);const _0x319209=_0x200d55['flatMap'](_0x2dfa1c=>{const _0x4f8d02=_0x2dfa1c['added']?'added':_0x2dfa1c['removed']?'removed':'unchanged';return _0x2dfa1c['value']['map'](_0x5858a6=>({'token':_0x5858a6,'change':_0x4f8d02}));});let _0x390531=0x0;for(const _0x11e431 of _0x319209)'added'!=_0x11e431['change']&&('unchanged'==_0x11e431['change']&&(_0x11e431['before']=_0x4590d8[_0x390531]),_0x390531++);return _0x319209;}['_handleUnclosedBlockOpeningTags'](_0x38f156){for(let _0x3a31b2=0x0;_0x3a31b2<_0x38f156['length']-0x1;_0x3a31b2++)if(_0x38f156[_0x3a31b2]['removed']&&_0x38f156[_0x3a31b2+0x1]['added']){const _0x1bbf2d=this['_findUnclosedBlockOpeningToken'](_0x38f156[_0x3a31b2]['value']);if(null!==_0x1bbf2d){const _0xa2184=this['_findUnclosedBlockOpeningToken'](_0x38f156[_0x3a31b2+0x1]['value']),_0x12ff57=_0x38f156[_0x3a31b2]['value']['splice'](_0x1bbf2d),_0x17705e=_0x38f156[_0x3a31b2+0x1]['value']['splice'](_0xa2184),_0x2b2fe2=[_0x17705e['shift']()];_0x12ff57['shift']();const _0x53eb3b={'value':_0x12ff57,'removed':!0x0},_0x88600d={'value':_0x17705e,'added':!0x0},_0x37d5cb={'value':_0x2b2fe2};_0x38f156['splice'](_0x3a31b2+0x2,0x0,_0x37d5cb,_0x53eb3b,_0x88600d);}}}['_findUnclosedBlockOpeningToken'](_0x443296){let _0x3146c7=0x0,_0x5df2c2=-0x1;for(let _0x4a290d=0x0;_0x4a290d<_0x443296['length'];_0x4a290d++){const _0x23ac02=_0x443296[_0x4a290d];'element'==_0x23ac02['type']&&'block'==_0x23ac02['category']&&(_0x3146c7+=_0x23ac02['isStart']?0x1:-0x1,_0x23ac02['isStart']&&(_0x5df2c2=_0x4a290d));}return 0x0===_0x3146c7?null:_0x5df2c2;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2abaae=0x0;_0x2abaae<this['_diffItems']['length'];_0x2abaae++){const _0x464710=this['_diffItems'][_0x2abaae]['change'],_0x5e6d12=[];_0x5e6d12['push'](this['_diffItems'][_0x2abaae]);let _0x34ec88=_0x2abaae+0x1;for(;this['_diffItems'][_0x34ec88]&&this['_diffItems'][_0x34ec88]['change']==_0x464710;)_0x5e6d12['push'](this['_diffItems'][_0x34ec88]),_0x34ec88++,_0x2abaae++;const _0x62e934=_0x5e6d12['map'](_0x316b9f=>_0x316b9f['token']);if('unchanged'==_0x464710)_0x5e6d12['map'](_0x1138b6=>_0x1138b6['before'])['forEach'](_0x23cc53=>this['_traverseOverItem'](_0x23cc53));else{if('removed'==_0x464710){if(this['_markDeletions']){const _0x5a92b3=this['_path']['slice']();_0x62e934['forEach'](_0x272013=>this['_traverseOverItem'](_0x272013));const _0xe1ad58=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x5a92b3,'end':_0xe1ad58}});}else this['_handleChanged'](_0x62e934,!0x0,this['_path']['slice']());}else{const _0x43d3d9=_0x62e934['filter'](_0xa268b2=>'element'!=_0xa268b2['type']||'container'!=_0xa268b2['category']);this['_handleChanged'](_0x43d3d9,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1a0d58=0x0;_0x1a0d58<this['_diffItems']['length'];_0x1a0d58++){const _0x2b9aad=this['_diffItems'][_0x1a0d58]['change'],_0x1d29b0=[];_0x1d29b0['push'](this['_diffItems'][_0x1a0d58]);let _0x422cc8=_0x1a0d58+0x1;for(;this['_diffItems'][_0x422cc8]&&this['_diffItems'][_0x422cc8]['change']==_0x2b9aad;)_0x1d29b0['push'](this['_diffItems'][_0x422cc8]),_0x422cc8++,_0x1a0d58++;const _0x1cf502=_0x1d29b0['map'](_0x43289b=>_0x43289b['token']);if('unchanged'==_0x2b9aad){const _0x91eb03=_0x1d29b0['map'](_0x1b24d8=>_0x1b24d8['before']);this['_handleUnchanged'](_0x91eb03,_0x1cf502);}else('removed'!=_0x2b9aad||this['_markDeletions'])&&_0x1cf502['forEach'](_0x261e82=>{this['_traverseOverItem'](_0x261e82);});}}['_calculateMarkersOperationsData'](_0x26acfa,_0x36439f){const _0x494170={};for(const [_0x5a2d4d]of _0x26acfa)_0x494170[_0x5a2d4d]=null;for(const [_0x1679e3,_0xba86ff]of _0x36439f)_0x494170[_0x1679e3]=_0xba86ff;const _0x3e31a5=Object['entries'](_0x494170)['map'](([_0x4930a4,_0x5f2005])=>({'type':'marker','name':_0x4930a4,'range':_0x5f2005?{'start':_0x5f2005['start']['path']['slice'](),'end':_0x5f2005['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3e31a5);}['_handleUnwraps'](){const _0xd71812=new Map(),_0x216828=[],_0x37bcac=[0x0];let _0x25c9f3=this['_diffItems']['length']+0x1;for(let _0x5865ff=this['_diffItems']['length']-0x1;_0x5865ff>=0x0;_0x5865ff--){const {token:_0x2017c5,before:_0x43701a,change:_0x2b30cf}=this['_diffItems'][_0x5865ff];if('removed'!=_0x2b30cf&&(_0x25c9f3=_0x5865ff),'element'!=_0x2017c5['type']||'container'!=_0x2017c5['category']||'added'==_0x2b30cf)continue;const _0xe5a34c=_0x43701a?_0x43701a['element']:_0x2017c5['element'];if(_0x2017c5['isStart']){const _0x55cdb6=_0xd71812['get'](_0xe5a34c),_0x4093e4=this['_diffItems'][_0x55cdb6];('removed'==_0x2b30cf||'removed'==_0x4093e4['change'])&&_0x25c9f3<_0x55cdb6&&(this['_operationsData']['push']({'type':'unwrap','path':_0xe5a34c['getPath'](),'howMany':_0xe5a34c['maxOffset']+_0x37bcac[0x0]}),_0x37bcac['shift'](),_0x37bcac[0x0]+=_0xe5a34c['maxOffset']-0x1,_0x216828['push'](_0x5865ff),_0x216828['push'](_0x55cdb6));}else _0xd71812['set'](_0xe5a34c,_0x5865ff),_0x37bcac['unshift'](0x0);}_0x216828['sort']((_0x337143,_0x5995ba)=>_0x5995ba-_0x337143),_0x216828['forEach'](_0x126bd9=>{const _0x2d2f46=this['_diffItems'][_0x126bd9];'removed'==_0x2d2f46['change']?this['_diffItems']['splice'](_0x126bd9,0x1):(_0x2d2f46['change']='added',delete _0x2d2f46['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x121171=[];for(let _0x6d558f=0x0;_0x6d558f<this['_diffItems']['length'];_0x6d558f++){const {change:_0x31fe07,token:_0x4412ce}=this['_diffItems'][_0x6d558f];if('added'==_0x31fe07&&'element'==_0x4412ce['type']&&'container'==_0x4412ce['category']){if(_0x4412ce['isStart'])_0x121171['push'](this['_path']['slice']());else{if(!_0x4412ce['isStart']){const _0x55643d=_0x121171['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x55643d,'end':this['_path']['slice']()},'token':_0x4412ce}),this['_path'][this['_path']['length']-0x1]=_0x55643d[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x31fe07||this['_markDeletions'])&&this['_traverseOverItem'](_0x4412ce);}}['_handleUnchanged'](_0x58ad49,_0x4177ab){for(let _0x12f90a=0x0;_0x12f90a<_0x58ad49['length'];_0x12f90a++){const _0xfd8c67=_0x58ad49[_0x12f90a];if('element'==_0xfd8c67['type']&&_0xfd8c67['isStart']){const _0x23a443=_0x4177ab[_0x12f90a];'block'==_0xfd8c67['category']&&this['_handleElementRename'](_0xfd8c67['element'],_0x23a443['element'],this['_path']),this['_handleElementAttributeChanges'](_0xfd8c67['element'],_0x23a443['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x23a443);}else{if('element'!=_0xfd8c67['type']||_0xfd8c67['isStart']){if('text'==_0xfd8c67['type']){const _0xb0800f=this['_path']['slice'](),_0x546941=[],_0x224da2=[];for(;_0x58ad49[_0x12f90a]&&'text'==_0x58ad49[_0x12f90a]['type'];)_0x546941['push'](_0x58ad49[_0x12f90a]),_0x224da2['push'](_0x4177ab[_0x12f90a]),this['_path'][this['_path']['length']-0x1]+=_0x58ad49[_0x12f90a]['data']['length'],_0x12f90a++;_0x12f90a--,this['_handleTextAttributeChanges'](_0x546941,_0x224da2,_0xb0800f);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x5b222a,_0x1e3201,_0x5207f2){const _0x2d73f4=[],_0x2a9117=[],_0x2cd077=_0x5207f2['slice']();for(let _0x53b972=0x0;_0x53b972<_0x5b222a['length'];_0x53b972++){const _0x2101e4=_0x5b222a[_0x53b972],_0x3d96cc=_0x5207f2['slice']();if('element'!=_0x2101e4['type']||_0x2101e4['isStart'])'element'==_0x2101e4['type']&&_0x2101e4['isStart']?(_0x5207f2['push'](0x0),_0x1e3201||this['_parents']['push'](_0x2101e4),_0x2a9117['push']({'before':_0x3d96cc,'after':_0x5207f2['slice'](),'index':_0x53b972})):_0x5207f2[_0x5207f2['length']-0x1]+=_0x2101e4['data']['length'];else{let _0x286e8d;_0x5207f2['pop'](),_0x5207f2[_0x5207f2['length']-0x1]++,_0x286e8d=_0x1e3201?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x2a9117['length']?_0x2a9117['pop']():_0x2d73f4['push']({'before':_0x3d96cc,'after':_0x5207f2['slice'](),'index':_0x53b972,'related':_0x286e8d});}}if(_0x2a9117['length']!==_0x2d73f4['length'])throw new _0x4fd52c('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x5b222a,'isRemove':_0x1e3201});const _0x42cb3c=[{'after':_0x2cd077['slice'](),'index':-0x1},..._0x2d73f4,..._0x2a9117,{'before':_0x5207f2['slice'](),'index':_0x5b222a['length']}];if(_0x1e3201){for(let _0x1d8039=_0x42cb3c['length']-0x1;_0x1d8039>=0x1;_0x1d8039--){const _0x1cffa7=_0x42cb3c[_0x1d8039-0x1]['after'],_0x1759c8=_0x42cb3c[_0x1d8039]['before'],_0x3ab830=_0x1759c8[_0x1759c8['length']-0x1]-_0x1cffa7[_0x1cffa7['length']-0x1];_0x3ab830&&(this['_operationsData']['push']({'type':'remove','path':_0x1cffa7,'howMany':_0x3ab830}),_0x1759c8[_0x1759c8['length']-0x1]-=_0x3ab830);}for(const {before:_0x34b039}of _0x2d73f4)this['_operationsData']['push']({'type':'merge','path':_0x34b039});}else for(let _0x5b5eb3=0x0;_0x5b5eb3<_0x42cb3c['length']-0x1;_0x5b5eb3++){const _0x553074=_0x42cb3c[_0x5b5eb3]['after'],_0x17a0e3=_0x42cb3c[_0x5b5eb3+0x1]['before'],_0x150485=_0x42cb3c[_0x5b5eb3]['index']+0x1,_0x1282a4=_0x42cb3c[_0x5b5eb3+0x1]['index'];if(_0x150485!==_0x1282a4&&this['_operationsData']['push']({'type':'insert','path':_0x553074,'tokens':_0x5b222a['slice'](_0x150485,_0x1282a4)}),_0x5b5eb3<_0x2d73f4['length']){this['_operationsData']['push']({'type':'split','path':_0x17a0e3});const _0x520891=_0x5b222a[_0x2a9117[_0x2a9117['length']-0x1-_0x5b5eb3]['index']],_0x5bbe5f=_0x2d73f4[_0x5b5eb3]['after'],_0xf6bac5=_0x2d73f4[_0x5b5eb3]['related']['element'];this['_handleElementRename'](_0xf6bac5,_0x520891['element'],_0x5bbe5f),this['_handleElementAttributeChanges'](_0xf6bac5,_0x520891['element'],_0x5bbe5f);}}}['_traverseOverItem'](_0x2250a2){'element'==_0x2250a2['type']&&_0x2250a2['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x2250a2)):'element'!=_0x2250a2['type']||_0x2250a2['isStart']?'text'==_0x2250a2['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x2250a2['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x5e343a,_0x53974d,_0x43e0e1){_0x5e343a['name']!=_0x53974d['name']&&this['_operationsData']['push']({'type':'rename','path':_0x43e0e1['slice'](),'oldName':_0x5e343a['name'],'newName':_0x53974d['name']});}['_handleElementAttributeChanges'](_0x1e0e5a,_0x2a33df,_0x44f133){const _0x47546c=this['_getAttributeChanges'](_0x1e0e5a['getAttributes'](),_0x2a33df['getAttributes']());for(const _0xf4c38c in _0x47546c){const {oldValue:_0x258a72,newValue:_0x1f5679}=_0x47546c[_0xf4c38c];this['_operationsData']['push']({'type':'attribute','path':_0x44f133['slice'](),'howMany':0x1,'key':_0xf4c38c,'oldValue':_0x258a72,'newValue':_0x1f5679});}}['_handleTextAttributeChanges'](_0xda4b25,_0x4949fc,_0x49f1fc){const _0x25475f=this['_operationsData'],_0x295804=_0xda4b25[0x0]['parent'],_0x49dc6e=_0xda4b25[0x0]['offset'],_0x492398=_0x4949fc[0x0]['parent'],_0x20ad17=_0x4949fc[0x0]['offset'],_0x2323cb=_0xda4b25['reduce']((_0x1128f6,_0x429ae6)=>_0x1128f6+_0x429ae6['data']['length'],0x0),_0x134756=this['_getAttrsForOffsets'](_0x295804,_0x49dc6e,_0x2323cb),_0x556c83=this['_getAttrsForOffsets'](_0x492398,_0x20ad17,_0x2323cb),_0x80d20d={};for(let _0x2a3d27=0x0;_0x2a3d27<_0x2323cb;_0x2a3d27++){const _0x16824a=_0x134756[_0x49dc6e+_0x2a3d27],_0x428f57=_0x556c83[_0x20ad17+_0x2a3d27],_0x1cfedb=this['_getAttributeChanges'](_0x16824a,_0x428f57);for(const _0x27b6c8 in _0x80d20d)_0x1cfedb[_0x27b6c8]||_0x4a4c62(_0x27b6c8);for(const _0x497598 in _0x1cfedb){const {oldValue:_0x4743d1,newValue:_0x130740}=_0x1cfedb[_0x497598],_0x2b69db=_0x80d20d[_0x497598];_0x2b69db?_0x2b69db['oldValue']==_0x4743d1&&_0x2b69db['newValue']==_0x130740?_0x2b69db['length']++:(_0x4a4c62(_0x497598),_0x80d20d[_0x497598]={'oldValue':_0x4743d1,'newValue':_0x130740,'start':_0x2a3d27,'length':0x1}):_0x80d20d[_0x497598]={'oldValue':_0x4743d1,'newValue':_0x130740,'start':_0x2a3d27,'length':0x1};}}for(const _0xbbb043 in _0x80d20d)_0x4a4c62(_0xbbb043);function _0x4a4c62(_0x3de735){const _0x198f4d=_0x80d20d[_0x3de735],_0x4457f4=_0x49f1fc['slice']();_0x4457f4[_0x4457f4['length']-0x1]+=_0x198f4d['start'],_0x25475f['push']({'type':'attribute','path':_0x4457f4,'howMany':_0x198f4d['length'],'key':_0x3de735,'oldValue':_0x198f4d['oldValue'],'newValue':_0x198f4d['newValue']}),delete _0x80d20d[_0x3de735];}}['_getAttributeChanges'](_0xd37f51,_0x84e2d5){const _0x4d2c4={};for(const [_0x1d96db,_0x1b59c1]of _0xd37f51)_0x4d2c4[_0x1d96db]={'oldValue':JSON['stringify'](_0x1b59c1),'newValue':'null'};for(const [_0x874627,_0x3ec980]of _0x84e2d5){const _0x1ec433=JSON['stringify'](_0x3ec980);_0x4d2c4[_0x874627]?_0x4d2c4[_0x874627]['oldValue']==_0x1ec433?delete _0x4d2c4[_0x874627]:_0x4d2c4[_0x874627]['newValue']=_0x1ec433:_0x4d2c4[_0x874627]={'oldValue':'null','newValue':_0x1ec433};}return delete _0x4d2c4[ut],_0x4d2c4;}['_getAttrsForOffsets'](_0x14e08a,_0x30cc49,_0x26958f){const _0x25862d=new Array(_0x30cc49+_0x26958f);let _0x33466a=_0x14e08a['getChildAtOffset'](_0x30cc49),_0x1dfde1=_0x33466a['startOffset'];for(;_0x33466a&&_0x1dfde1<_0x30cc49+_0x26958f;){const _0x554276=Array['from'](_0x33466a['getAttributes']());_0x25862d['fill'](_0x554276,_0x1dfde1,_0x1dfde1+_0x33466a['offsetSize']),_0x1dfde1+=_0x33466a['offsetSize'],_0x33466a=_0x33466a['nextSibling'];}return _0x25862d;}['_getPositionFromAnchorAndPath'](_0xd460f9,_0x13dd40){const _0x16c824=[..._0xd460f9['path']['slice'](0x0,-0x1),_0xd460f9['offset']+_0x13dd40[0x0],..._0x13dd40['slice'](0x1)];return new _0x2badb3(_0xd460f9['root'],_0x16c824);}['_makeModelFromTokens'](_0x517ca0){const _0x1a66ca=[];let _0x2dbf2f=null;for(const _0x5b29f2 of _0x517ca0)if('element'!=_0x5b29f2['type']||_0x5b29f2['isStart']||_0x2dbf2f!=_0x5b29f2['element']){if(!_0x2dbf2f){if('text'==_0x5b29f2['type']){const _0x564900=_0x2badb3['_createAt'](_0x5b29f2['parent'],_0x5b29f2['offset']),_0x4d337c=_0x1faba7['_createFromPositionAndShift'](_0x564900,_0x5b29f2['data']['length']),_0x8c39b=Array['from'](_0x4d337c['getItems']())['map'](_0x444688=>new _0x28c70c(_0x444688['data'],_0x444688['getAttributes']()));_0x1a66ca['push'](..._0x8c39b);}else{_0x2dbf2f=_0x5b29f2['element'];const _0x1cb235=_0x5b29f2['element']['_clone'](!0x0);_0x1cb235['_removeAttribute'](ut);for(const _0x3a280e of this['_editor']['model']['createRangeIn'](_0x1cb235)['getItems']())_0x3a280e['is']('element')&&_0x3a280e['_removeAttribute'](ut);_0x1a66ca['push'](_0x1cb235);}}}else _0x2dbf2f=null;return _0x1a66ca;}}function k(_0x5f0fcf,_0x53bd7f){return _0x5f0fcf['type']===_0x53bd7f['type']&&(_0x5f0fcf['limitId']===_0x53bd7f['limitId']&&('text'==_0x5f0fcf['type']?_0x5f0fcf['data']==_0x53bd7f['data']:function(_0x3a306a,_0x2cd1bf){if(_0x3a306a['isStart']!=_0x2cd1bf['isStart'])return!0x1;if(_0x3a306a['isStart']&&_0x3a306a['elementId']!=_0x2cd1bf['elementId'])return!0x1;if(_0x3a306a['category']!=_0x2cd1bf['category'])return!0x1;if('block'==_0x3a306a['category'])return!0x0;if('container'==_0x3a306a['category']&&_0x3a306a['elementId']!=_0x2cd1bf['elementId'])return!0x1;return _0x3a306a['element']['name']==_0x2cd1bf['element']['name'];}(_0x5f0fcf,_0x53bd7f)));}export{Q as AriaDescriptionView,ot as ConfirmMixin,ut as DATA_ID_MODEL_ATTRIBUTE,dt as DATA_ID_VIEW_ATTRIBUTE,ft as DocumentCompare,ht as FOCUS_ANNOTATION_KEYSTROKE,X as LateFocusButtonView,tt as LateFocusDropdownButtonView,_ as Permissions,Z as UserView,P as Users,nt as getAllMarkersDomElementsSorted,et as getDateTimeFormatter,st as getMarkerDomElement,rt as hashObject,ct as sanitizeEditorConfig,lt as setupThreadKeyboardNavigation,at as surroundingMarkersDetector,it as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x521355,Editor as _0x2c1c07}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2f6e22,Collection as _0x41903e,uid as _0x51a751,first as _0x31f97b,FocusTracker as _0x4bcfa0,KeystrokeHandler as _0x538de9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x55a547,IconView as _0x30c404,ButtonView as _0x3ba6da,DropdownButtonView as _0x3bcdc9,FocusCycler as _0x29c54f,isViewWithFocusCycler as _0x4707cd}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as _0x18e78b,IconCheck as _0x4b7274,IconCancel as _0x319a09}from'@ckeditor/ckeditor5-icons/dist/index.js';import{DateTime as _0x5b40c1}from'luxon';import{InsertOperation as _0x54f8f8,MoveOperation as _0x363306,ModelPosition as _0x5b7ffb,ModelRange as _0x4b1db1,MarkerOperation as _0x4781f1,MergeOperation as _0x12158c,SplitOperation as _0x28df80,RenameOperation as _0x407772,AttributeOperation as _0x423a80,ModelTreeWalker as _0x538b02,ModelText as _0x344912}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0xe43862}from'diff';class _ extends _0x521355{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x34596e,_0x3291b4){let _0x1e5c0f;if(_0x3291b4||(_0x3291b4=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x3291b4?_0x1e5c0f=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x1e5c0f=this['context']['editors']['find'](_0x3f9daa=>_0x3f9daa['config']['get']('collaboration.channelId')==_0x3291b4)),!_0x1e5c0f)throw new _0x2f6e22('permissions-set-permissions-invalid-channel-id',null);const _0x37dfba=_0x1e5c0f['plugins'],_0x235d70=_0x37dfba['has']('CommentsRepository')?_0x37dfba['get']('CommentsRepository'):void 0x0,_0x2ab29e=_0x37dfba['has']('CommentsOnly')&&_0x37dfba['get']('CommentsOnly'),_0x22e085=_0x34596e['includes']('document:write'),_0x1b1dad=_0x34596e['includes']('comment:modify_all'),_0x19cc92=_0x34596e['includes']('comment:admin'),_0x136e11=_0x34596e['includes']('comment:write'),_0xdb9265=_0x136e11||_0x19cc92,_0x4bb5ac=_0xdb9265||_0x1b1dad,_0x17bc91=_0x22e085||_0xdb9265;(_0x2ab29e&&(_0x2ab29e['isEnabled']=!_0x22e085&&_0x4bb5ac),_0x1e5c0f instanceof _0x2c1c07)&&(!(_0x22e085||_0x4bb5ac&&_0x235d70)?_0x1e5c0f['enableReadOnlyMode']('no-permissions'):_0x1e5c0f['disableReadOnlyMode']('no-permissions'));if(_0x235d70){_0x235d70['setPermissions']({'admin':_0x19cc92,'modifyAll':_0x1b1dad,'write':_0x136e11,'resolve':_0x17bc91},_0x3291b4);const _0x4d95fe=_0x1e5c0f instanceof _0x2c1c07&&_0x1e5c0f['commands']['get']('addCommentThread');_0x4d95fe&&(_0xdb9265?_0x4d95fe['clearForceDisabled']('noPermissions'):_0x4d95fe['forceDisabled']('noPermissions'));}}}function y(_0x162e77,_0x255969){const t=_0x162e77['t'];switch(_0x255969){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 P extends _0x521355{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_];}constructor(_0x3c4df7){super(_0x3c4df7),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x41903e(),this['_locale']=_0x3c4df7['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:_0x5374fc,name:_0xa84fd0,..._0x5ef1f4}){if(!_0x5374fc||'string'!=typeof _0x5374fc)throw new _0x2f6e22('users-add-invalid-id');if(this['users']['has'](_0x5374fc))throw new _0x2f6e22('users-add-duplicated-id',null,{'id':_0x5374fc});const _0x142b5e=this['context']['config']['get']('users.getInitialsCallback'),_0x49fe13={..._0x5ef1f4,'id':_0x5374fc,'name':C(this['_locale'],_0xa84fd0),'color':this['_getNextColor']()};_0x49fe13['name']=C(this['_locale'],_0x49fe13['name']);const _0x43a743=new R(_0x49fe13,_0x142b5e);return this['users']['add'](_0x43a743),_0x43a743;}['getUser'](_0xce18fa){return this['users']['get'](_0xce18fa);}['useAnonymousUser'](){const _0x56000b=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x56000b);}['defineMe'](_0x144245){if(this['_myId'])throw new _0x2f6e22('users-me-already-defined',null);const _0x48fb83=this['getUser'](_0x144245);if(!_0x48fb83)throw new _0x2f6e22('users-me-missing-user',null);this['_myId']=_0x144245,_0x48fb83['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2a5947=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2a5947&&(this['_lastColor']=0x0),new Y(this['_lastColor']++);}['_addAnonymousUser'](){const _0x2ef6b2=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x2ef6b2,'name':y(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class R{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x4206b8,_0x40fed7){this['id']=_0x4206b8['id'],this['color']=_0x4206b8['color'],this['name']=_0x4206b8['name'],this['initials']=_0x40fed7?_0x40fed7(this['name']):this['_computeInitials'](),this['avatar']=_0x4206b8['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0xa6a571=this['name']['split']('\x20')['filter'](_0x565dce=>/^[\p{Letter}]/u['test'](_0x565dce));return 0x1===_0xa6a571['length']?this['_getInitial'](_0xa6a571[0x0]):0x0===_0xa6a571['length']?this['_getInitial'](this['name']):this['_getInitial'](_0xa6a571[0x0])+this['_getInitial'](_0xa6a571[_0xa6a571['length']-0x1]);}['_getInitial'](_0x28fea2){return String['fromCodePoint'](_0x28fea2['codePointAt'](0x0))['toUpperCase']();}}function C(_0x2ea162,_0x36e308=''){return''==(_0x36e308=_0x36e308['trim']())?y(_0x2ea162,'Anonymous'):_0x36e308;}class Y{['_id'];constructor(_0x386e3c){this['_id']=_0x386e3c;}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'];}}class Z extends _0x55a547{['name'];['notificationView'];constructor(_0x5753e7,_0x136695,_0x5f1940){super(_0x5753e7),this['name']=_0x136695['name'],this['notificationView']=null;const _0x1a4f7a=['ck','ck-user'],_0x4d8552=['ck','ck-user__img'];if(_0x136695['isAnonymous']&&_0x4d8552['push']('ck-user__anonymous'),!_0x136695['isAnonymous']&&_0x136695['isMe']&&_0x1a4f7a['push']('ck-user_me'),_0x136695['avatar']&&_0x4d8552['push']('ck-user__avatar'),_0x5f1940){const _0x3e227e=new _0x30c404();_0x3e227e['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x3e227e['content']=_0x18e78b,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5f1940},'children':[_0x3e227e]};}const _0x562470=[{'tag':'div','attributes':{'class':_0x4d8552,'style':{'background-image':_0x136695['avatar']?'url(\x27'+_0x136695['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x136695['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x136695['name']},'children':[{'text':_0x136695['initials']}]}];this['notificationView']&&_0x562470['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1a4f7a,'data-user-id':_0x136695['id']},'children':_0x562470});}}class Q extends _0x55a547{['id'];constructor(_0x1be6d9,_0xc8350a){super(_0x1be6d9),this['id']='ck-aria-description-'+_0x51a751(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0xc8350a}]});}}class X extends _0x3ba6da{['render'](){super['render'](),J(this);}}class tt extends _0x3bcdc9{['render'](){super['render'](),J(this);}}function J(_0x235dc7){_0x235dc7['listenTo'](_0x235dc7['element'],'mousedown',(_0x3f89fb,_0x58d535)=>{_0x58d535['stopPropagation'](),_0x58d535['preventDefault']();}),_0x235dc7['listenTo'](_0x235dc7['element'],'mouseup',()=>{_0x235dc7['element']['focus']();});}function et(_0x2908fa={},_0xf87461){if(void 0x0!==_0x2908fa['dateTimeFormat']&&'function'!=typeof _0x2908fa['dateTimeFormat'])throw new _0x2f6e22('invalid-date-time-format');return _0x555b81=>{const _0x688fae='string'==typeof _0x555b81?_0x5b40c1['fromISO'](_0x555b81):_0x5b40c1['fromJSDate'](_0x555b81),_0x1b1ec2=_0x5b40c1['now'](),_0x262179=Math['floor'](_0x1b1ec2['diff'](_0x688fae,'days')['days']);return _0x2908fa['dateTimeFormat']?_0x2908fa['dateTimeFormat'](_0x688fae['toJSDate'](),_0xf87461&&_0xf87461['t']?_0xf87461['t']:void 0x0):0x0===_0x262179?_0xf87461?y(_0xf87461,'Today')+'\x20'+_0x688fae['toFormat']('hh:mma'):_0x688fae['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x262179?_0xf87461?y(_0xf87461,'Yesterday')+'\x20'+_0x688fae['toFormat']('hh:mma'):_0x688fae['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x262179<0x7?_0xf87461?y(_0xf87461,'Last')+'\x20'+y(_0xf87461,_0x688fae['toFormat']('EEEE'))+'\x20'+_0x688fae['toFormat']('hh:mma'):_0x688fae['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x688fae['toFormat']('LL-dd-yyyy\x20hh:mma');};}function st(_0x314611,_0x23917e){const _0x35ee01=_0x314611['mapper']['markerNameToElements'](_0x23917e['name']);if(!_0x35ee01)return null;const _0x5b40c8=_0x31f97b(_0x35ee01['values']());return _0x314611['view']['domConverter']['mapViewToDom'](_0x5b40c8)||null;}function nt(_0x5ed47a,_0x21908d){if(0x0===_0x21908d['length'])return null;const _0x36b927=[],_0x1faaba=_0x5ed47a['view']['domConverter'];for(const _0x3fb0ae of _0x21908d){const _0x1357ee=_0x5ed47a['mapper']['markerNameToElements'](_0x3fb0ae['name']);if(!_0x1357ee)continue;const _0xce4508=Array['from'](_0x1357ee)['map'](_0xfdfb45=>_0x1faaba['mapViewToDom'](_0xfdfb45))['filter'](_0xfd5e8=>!!_0xfd5e8);_0x36b927['push'](..._0xce4508);}if(0x0===_0x36b927['length'])return null;const _0x47364c=[];for(const _0x3e2e4a of _0x36b927){const _0x54d682=_0x3e2e4a['getClientRects']()['item'](0x0);_0x54d682&&_0x47364c['push']({'x':_0x54d682['x'],'y':_0x54d682['y'],'domElement':_0x3e2e4a});}return 0x0===_0x47364c['length']?null:(_0x47364c['sort']((_0x14fd8d,_0x527278)=>_0x14fd8d['y']-_0x527278['y']||_0x14fd8d['x']-_0x527278['x']),_0x47364c['map'](_0x8a7661=>_0x8a7661['domElement']));}function it(_0x1fbd2a,{limit:_0xcaec87,suffix:_0x4d4df1='...'}){const _0x54c0d3=[];let _0x16acd8=0x0;const _0x44af82=_0x1fbd2a['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x5e16c1=0x0;_0x5e16c1<_0x44af82['length'];_0x5e16c1++){let _0x5e40a0=_0x44af82[_0x5e16c1];const _0x26da70=H(_0x5e40a0);if(_0x5e40a0['startsWith']('<')){if(_0x16acd8>=_0xcaec87){const _0xc369da=_0x5e40a0['match'](/[a-zA-Z]+/);if(!_0xc369da){_0x44af82[_0x5e16c1]='';continue;}const _0x31c800=_0xc369da[0x0];_0x5e40a0['startsWith']('</')?(_0x54c0d3['length']&&(_0x5e40a0=''),_0x54c0d3['pop']()):(_0x54c0d3['push'](_0x31c800),_0x5e40a0='');}}else{if(_0x16acd8>=_0xcaec87)_0x5e40a0='';else{if(_0x16acd8+_0x26da70['length']>=_0xcaec87){let _0x1f3222=_0xcaec87-_0x16acd8;if('\x20'===_0x26da70[_0x1f3222-0x1])_0x1f3222--;else{const _0x194e9a=_0x26da70['slice'](_0x1f3222)['indexOf']('\x20');-0x1!==_0x194e9a?_0x1f3222+=_0x194e9a:_0x1f3222=_0x5e40a0['length'];}_0x5e40a0=_0x26da70['slice'](0x0,_0x1f3222)['join']('')+_0x4d4df1,_0x16acd8=_0xcaec87;}else _0x16acd8+=_0x26da70['length'];}}_0x44af82[_0x5e16c1]=_0x5e40a0;}return _0x44af82['join']('\x0a')['replace'](/\n/g,'');}function H(_0x4dcbf1){const _0x4444fa=[];for(let _0x3760cd=0x0;_0x3760cd<_0x4dcbf1['length'];_0x3760cd++){const _0x185719=_0x4dcbf1['substring'](_0x3760cd)['match'](/^&[a-z0-9#]+;/);if(_0x185719){const _0x1eb79f=_0x185719[0x0];_0x4444fa['push'](_0x1eb79f),_0x3760cd+=_0x1eb79f['length']-0x1;}else _0x4444fa['push'](_0x4dcbf1[_0x3760cd]);}return _0x4444fa;}class v extends _0x55a547{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x2d2895){super(_0x2d2895);const _0x118e45=this['bindTemplate'];this['set']('message',y(_0x2d2895,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x2d2895,y(_0x2d2895,'Yes'),_0x4b7274,'submit'),this['cancelView']=this['_createButtonView'](_0x2d2895,y(_0x2d2895,'No'),_0x319a09,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x4bcfa0(),this['keystrokes']=new _0x538de9(),this['focusCycler']=new _0x29c54f({'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':_0x118e45['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'](_0x58bb68,_0x2d5fc0,_0x952fbf,_0x1d6e22){const _0x50dd1d=new _0x3ba6da(_0x58bb68);return _0x50dd1d['label']=_0x2d5fc0,_0x50dd1d['icon']=_0x952fbf,_0x50dd1d['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x1d6e22}}),_0x50dd1d['on']('execute',()=>this['fire'](_0x1d6e22)),_0x50dd1d;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x3658cd=>{this['keystrokes']['listenTo'](_0x3658cd['element']),this['focusTracker']['add'](_0x3658cd['element']);}),this['keystrokes']['set']('esc',(_0x30bdc0,_0x3c7632)=>{this['fire']('cancel'),_0x3c7632();});}}function ot(_0x19a6cd){return class extends _0x19a6cd{['showConfirm'](_0x18b503,_0x31925b){return this['confirmView']=new v(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x18b503,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x31925b['appendChild'](this['confirmView']['element']),_0x31925b['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x25f33b,_0x64bd3b,_0x2ce13a)=>{_0x2ce13a||_0x31925b['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x4dc187=>this['confirmView']['on']('submit',_0x4dc187));}['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 rt(_0x2c0fbb){let _0x960715=0x0,_0x402d4a=0x0;for(const _0x5b55a0 of M(_0x2c0fbb))_0x960715=(_0x960715<<0x5)-_0x960715+_0x5b55a0,_0x960715&=_0x960715,[_0x960715,_0x402d4a]=[_0x402d4a,_0x960715];return B(_0x960715)+B(_0x402d4a);}function*O(_0x224636){null==_0x224636||null==_0x224636?yield 0x12b9b0a1:0x0===_0x224636||!0x1===_0x224636?yield 0x0:0x1===_0x224636||0x1==_0x224636?yield 0x1:Array['isArray'](_0x224636)?yield*function*(_0x255890){for(const _0x50da0a of _0x255890)yield*O(_0x50da0a);}(_0x224636):'object'==typeof _0x224636?yield*M(_0x224636):'string'==typeof _0x224636?yield*q(_0x224636):'number'==typeof _0x224636&&(yield _0x224636);}function*M(_0x431197){if(yield z('{'),_0x431197){const _0xbc0a76=Object['keys'](_0x431197)['sort']();for(const _0x5867bb of _0xbc0a76){yield*q(_0x5867bb),yield z(':');const _0x4d585a=_0x431197[_0x5867bb];yield*O(_0x4d585a);}}yield z('}');}function*q(_0x422f23){yield z('\x22');for(const _0x36fc8e of _0x422f23)yield z(_0x36fc8e);yield z('\x22');}function z(_0x508a3f){return _0x508a3f['charCodeAt'](0x0);}function B(_0x5845b6){return(_0x5845b6*=Math['sign'](_0x5845b6))['toString'](0x24);}const W=['initialData','context','toolbar','rootsAttributes'],S=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function G(_0x3f6a3e,_0x361557,_0x21f209,_0x31b6f8=[]){const _0x14bec9='string'==typeof _0x3f6a3e?_0x21f209['get'](_0x3f6a3e)['constructor']:_0x3f6a3e['prototype']['constructor'];if(_0x361557['has'](_0x14bec9))return _0x361557['get'](_0x14bec9);_0x361557['set'](_0x14bec9,!0x0);const _0x5ad263=[...S,..._0x31b6f8]['map'](_0x530c12=>{if(_0x21f209['has'](_0x530c12))return _0x21f209['get'](_0x530c12)['constructor'];})['filter'](_0x79ba3f=>_0x79ba3f);if(_0x14bec9&&_0x5ad263['includes'](_0x14bec9))return _0x361557['set'](_0x14bec9,!0x1),!0x1;if(!_0x14bec9['requires'])return _0x361557['set'](_0x14bec9,!0x0),!0x0;const _0x2aa750=_0x14bec9['requires']['every'](_0x451925=>G(_0x451925,_0x361557,_0x21f209,_0x31b6f8));return _0x361557['set'](_0x14bec9,_0x2aa750),_0x2aa750;}function ct(_0x3df4f9,_0x5628b7){const _0xc9cf6c={};for(const _0x4df2bb of _0x3df4f9['config']['names']())W['includes'](_0x4df2bb)||(_0xc9cf6c[_0x4df2bb]=_0x3df4f9['config']['get'](_0x4df2bb));const _0x208b9a=_0xc9cf6c['plugins']||[],_0x7ba20c=_0x3df4f9['constructor']['builtinPlugins']||[],_0x2d4e7e=_0x208b9a['length']?_0x208b9a:_0x7ba20c,_0x4a3020=_0xc9cf6c['extraPlugins']||[];delete _0xc9cf6c['extraPlugins'];const _0x243eff=_0xc9cf6c['removePlugins']||[];delete _0xc9cf6c['removePlugins'];const _0x19f23f=_0x3df4f9['_context']['config']['get']('plugins')||[],_0x5a8d0d=_0x2d4e7e['concat'](_0x4a3020)['concat'](_0x19f23f)['map'](_0x22405d=>'string'==typeof _0x22405d?_0x7ba20c['find'](_0x134f03=>_0x134f03['pluginName']==_0x22405d):_0x22405d)['filter'](_0x5659a9=>!_0x243eff['includes'](_0x5659a9)&&!_0x243eff['includes'](_0x5659a9['pluginName'])),_0x2b7370=Array['from'](new Set(_0x5a8d0d)),_0x2768f9=new Map();return _0xc9cf6c['plugins']=_0x2b7370['filter'](_0xe5e901=>G(_0xe5e901,_0x2768f9,_0x3df4f9['plugins'],_0x5628b7)),_0xc9cf6c;}function at(_0x1d0897,_0x5ca839){const _0x490821=[];_0x1d0897['document']['selection']['on']('change:range',()=>{const _0x2359f9=function(_0x2d5129,_0x55833a){const _0x4b4a66=[];for(const _0x3b20bc of _0x2d5129['markers']){const _0x4ca7d6=_0x3b20bc['getRange']();(_0x4ca7d6['containsPosition'](_0x55833a)||_0x4ca7d6['start']['isEqual'](_0x55833a)||_0x4ca7d6['end']['isEqual'](_0x55833a))&&_0x4b4a66['push'](_0x3b20bc);}return _0x4b4a66;}(_0x1d0897,_0x1d0897['document']['selection']['focus']),_0x1c2364=[],_0x624b9c=[],_0x5e4042=[];for(const _0x3f22ae of _0x490821)_0x2359f9['includes'](_0x3f22ae)||_0x1c2364['push'](_0x3f22ae);for(const _0x5a041a of _0x2359f9)_0x490821['includes'](_0x5a041a)||_0x624b9c['push'](_0x5a041a),_0x5e4042['push'](_0x5a041a);(_0x1c2364['length']||_0x624b9c['length'])&&_0x5ca839({'left':_0x1c2364,'entered':_0x624b9c}),_0x490821['length']=0x0,_0x490821['push'](..._0x5e4042);});}const ht='Ctrl+Shift+E';function lt(_0x5baad1,_0x2e9790){const _0x51e8e0=_0x5baad1['element'];_0x5baad1['keystrokes']['listenTo'](_0x51e8e0);for(const _0x148e40 of _0x2e9790)F(_0x5baad1,_0x148e40);_0x2e9790['on']('change',(_0x36931f,_0x485acb)=>{for(const _0xc543f8 of _0x485acb['removed'])I(_0x5baad1,_0xc543f8);for(const _0x131873 of Array['from'](_0x485acb['added'])['reverse']())F(_0x5baad1,_0x131873);}),_0x5baad1['keystrokes']['set']('enter',(_0x532e9e,_0x4aaadb)=>{_0x51e8e0===_0x532e9e['target']&&(_0x5baad1['focusCycler']['focusFirst'](),_0x4aaadb());},{'filter':_0x5072fd=>_0x5072fd['target']===_0x51e8e0}),_0x5baad1['keystrokes']['set']('esc',(_0x260001,_0x1de3f9)=>{_0x51e8e0!==_0x260001['target']?_0x5baad1['focus']():_0x5baad1['fire']('escape'),_0x1de3f9();}),_0x5baad1['keystrokes']['set']('arrowdown',(_0x45d4e9,_0x2a62a1)=>{_0x51e8e0===_0x45d4e9['target']&&(_0x5baad1['fire']('arrowdown'),_0x2a62a1());}),_0x5baad1['keystrokes']['set']('arrowup',(_0x5dcf7f,_0x2ce0d8)=>{_0x51e8e0===_0x5dcf7f['target']&&(_0x5baad1['fire']('arrowup'),_0x2ce0d8());});}function F(_0x19aa95,_0x41bc70){_0x41bc70['isRendered']&&(_0x19aa95['focusTracker']['add'](_0x41bc70['element']),_0x19aa95['keystrokes']['listenTo'](_0x41bc70['element']),_0x4707cd(_0x41bc70)&&function(_0x414a47,_0x4bb541){const _0x2747b3=_0x414a47['actions'],_0x3de6c5=_0x4bb541['actions'];for(const _0x516c12 of Object['keys'](_0x2747b3))if(_0x516c12 in _0x3de6c5&&_0x2747b3[_0x516c12]!==_0x3de6c5[_0x516c12])return!0x1;return!0x0;}(_0x19aa95['focusCycler'],_0x41bc70['focusCycler'])&&_0x19aa95['focusCycler']['chain'](_0x41bc70['focusCycler']));}function I(_0x1ef9c0,_0xf5da71){_0x1ef9c0['focusTracker']['remove'](_0xf5da71['element']),_0x1ef9c0['keystrokes']['stopListening'](_0xf5da71['element']),_0x4707cd(_0xf5da71)&&_0x1ef9c0['focusCycler']['unchain'](_0xf5da71['focusCycler']);}const ut='$elementId',dt='data-id';class ft extends _0x521355{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x2c1c07?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x2ca7ae,_0x43b48b)=>{_0x43b48b['on']('ready',()=>{this['_integrateEditor'](_0x43b48b);});});}get['editor'](){if(this['context']instanceof _0x2c1c07)return this['context'];{const _0x3166b2=this['context']['editors']['first'];if(!_0x3166b2)throw new _0x2f6e22('documentcompare-no-editor',this);return _0x3166b2;}}['getDiff'](_0x16d51a,_0x29d8ae,_0x25514e={'anchor':'main','markDeletions':!0x1}){let _0x422c5a,_0x5b0ad7;const _0x1ef529=this['editor'];if('string'==typeof _0x25514e['anchor']){const _0x4b1c2d=_0x1ef529['model']['document']['getRoot'](_0x25514e['anchor']);if(!_0x4b1c2d)throw new _0x2f6e22('documentcompare-compare-no-root',this,{'anchor':_0x25514e['anchor']});_0x422c5a=_0x4b1c2d,_0x5b0ad7=_0x1ef529['model']['createPositionAt'](_0x4b1c2d,0x0);}else _0x422c5a=_0x25514e['anchor']['clone'](),_0x5b0ad7=_0x25514e['anchor']['clone']();const _0x50d7d4=_0x1ef529['data']['parse'](_0x16d51a,_0x422c5a),_0x18c102=_0x1ef529['data']['parse'](_0x29d8ae,_0x422c5a);return new mt(_0x50d7d4,_0x18c102,_0x1ef529,{'anchor':_0x5b0ad7,'markDeletions':_0x25514e['markDeletions']});}['isMarkedRemoveOperation'](_0xf38ef8){return'marker'==_0xf38ef8['type']&&_0xf38ef8['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x161146){_0x161146['conversion']['for']('upcast')['add'](_0x1b58a0=>{_0x1b58a0['on']('element',(_0x1c61be,_0x447acd,_0x4d9e61)=>{if(_0x447acd['modelRange'])for(const _0x2b0aec of _0x447acd['modelRange']['getItems']({'shallow':!0x0})){if(_0x2b0aec['is']('$textProxy'))continue;const _0x9ff4cf=_0x447acd['viewItem']['getAttribute'](dt);_0x9ff4cf&&_0x4d9e61['writer']['setAttribute'](ut,_0x9ff4cf,_0x2b0aec);}},{'priority':'lowest'});}),_0x161146['model']['schema']['addAttributeCheck'](()=>!0x0,ut);}}class mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x2b8f66,_0x4fbd7e,_0x397a64,_0x5457ae){this['_editor']=_0x397a64,this['_markDeletions']=!!_0x5457ae['markDeletions'],this['_anchor']=_0x5457ae['anchor'];const _0x748757=this['_tokenizeModel'](_0x2b8f66),_0x4e1233=this['_tokenizeModel'](_0x4fbd7e);this['_diffItems']=this['_diffModelTokens'](_0x748757,_0x4e1233),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x2b8f66['markers'],_0x4fbd7e['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0xf97586=this['_editor']['model']['document'],_0x513b16=[];let _0x1e92ed=_0xf97586['version'];for(const _0x48eeb4 of this['_operationsData'])switch(_0x48eeb4['type']){case'attribute':{const _0xbd616c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['path']),_0x5c28d4=_0xbd616c['getShiftedBy'](_0x48eeb4['howMany']),_0x416cf5=new _0x4b1db1(_0xbd616c,_0x5c28d4),_0x128ae5=JSON['parse'](_0x48eeb4['oldValue']),_0x56fdbf=JSON['parse'](_0x48eeb4['newValue']);_0x513b16['push'](new _0x423a80(_0x416cf5,_0x48eeb4['key'],_0x128ae5,_0x56fdbf,_0x1e92ed++));break;}case'insert':{const _0x2ed3d6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['path']),_0x311085=this['_makeModelFromTokens'](_0x48eeb4['tokens']);_0x513b16['push'](new _0x54f8f8(_0x2ed3d6,_0x311085,_0x1e92ed++));break;}case'remove':{const _0x3726b1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['path']),_0x3cbcde=new _0x5b7ffb(_0xf97586['graveyard'],[0x0]);_0x513b16['push'](new _0x363306(_0x3726b1,_0x48eeb4['howMany'],_0x3cbcde,_0x1e92ed++));break;}case'rename':{const _0x40c966=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['path']);_0x513b16['push'](new _0x407772(_0x40c966,_0x48eeb4['oldName'],_0x48eeb4['newName'],_0x1e92ed++));break;}case'split':{const _0x3267bc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['path']),_0x8add6f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['path']['slice'](0x0,-0x1));_0x8add6f['offset']++,_0x513b16['push'](new _0x28df80(_0x3267bc,Number['NEGATIVE_INFINITY'],_0x8add6f,null,_0x1e92ed++));break;}case'merge':{const _0x280815=_0x48eeb4['path']['slice'](),_0x560853=_0x280815['slice'](0x0,-0x1);_0x560853[_0x560853['length']-0x1]++,_0x560853['push'](0x0);const _0x4aef60=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x560853),_0x32e3ad=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x280815),_0x3cf347=new _0x5b7ffb(_0xf97586['graveyard'],[0x0]);_0x513b16['push'](new _0x12158c(_0x4aef60,Number['NEGATIVE_INFINITY'],_0x32e3ad,_0x3cf347,_0x1e92ed++));break;}case'marker':case'markedRemove':{let _0xcfd9db=null;if(_0x48eeb4['range']){const _0x32edfd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['range']['start']),_0x5f34fb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['range']['end']);_0xcfd9db=new _0x4b1db1(_0x32edfd,_0x5f34fb);}const _0x365de1='marker'==_0x48eeb4['type']?_0x48eeb4['name']:'$markedRemove:'+_0x51a751();_0x513b16['push'](new _0x4781f1(_0x365de1,null,_0xcfd9db,_0xf97586['model']['markers'],!0x0,_0x1e92ed++));break;}case'unwrap':{const _0x57813f=_0x48eeb4['path']['slice']();_0x57813f['push'](0x0);const _0x168181=_0x48eeb4['path']['slice'](),_0x31ad92=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x57813f),_0x1e2ebf=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x168181),_0x26cc0f=new _0x5b7ffb(_0xf97586['graveyard'],[0x0]);_0x513b16['push'](new _0x363306(_0x31ad92,_0x48eeb4['howMany'],_0x1e2ebf,_0x1e92ed++)),_0x513b16['push'](new _0x363306(_0x1e2ebf['getShiftedBy'](_0x48eeb4['howMany']),0x1,_0x26cc0f,_0x1e92ed++));break;}case'wrap':{const _0x11420b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['range']['start']),_0xf169ee=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x48eeb4['range']['end']),_0x1f4ba4=_0x48eeb4['token']['element']['_clone'](!0x1),_0x2e63e4=_0x48eeb4['range']['end']['slice']();_0x2e63e4['push'](0x0);const _0x5d686c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e63e4);_0x513b16['push'](new _0x54f8f8(_0xf169ee,_0x1f4ba4,_0x1e92ed++)),_0x513b16['push'](new _0x363306(_0x11420b,_0xf169ee['offset']-_0x11420b['offset'],_0x5d686c,_0x1e92ed++));break;}}return _0x513b16;}['_tokenizeModel'](_0x51f85f){const _0x55a03c=[],_0xa05e93=_0x4b1db1['_createIn'](_0x51f85f),_0xdee550=new _0x538b02({'boundaries':_0xa05e93});let _0x34f31d='',_0x325a19=null;const _0x18be67=[''],_0x33af4f=new Map();for(const _0x5df47b of _0xdee550)if('elementStart'==_0x5df47b['type']||'elementEnd'==_0x5df47b['type']){let _0x3c72f2=_0x18be67[0x0];''!==_0x34f31d&&(_0x55a03c['push'](...this['_makeTokensFromTextByWords'](_0x34f31d,_0x325a19,_0x3c72f2)),_0x34f31d='');const _0x4851c7=_0x5df47b['item'];let _0x2fe5d0;_0x4851c7['getAttribute'](ut)?_0x2fe5d0=_0x4851c7['getAttribute'](ut):'elementStart'==_0x5df47b['type']?(_0x2fe5d0=_0x51a751(),_0x33af4f['set'](_0x4851c7,_0x2fe5d0)):_0x2fe5d0=_0x33af4f['get'](_0x4851c7);const _0x2f5610=this['_getElementCategory'](_0x4851c7);'solid'==_0x2f5610&&('elementStart'==_0x5df47b['type']?(_0x3c72f2=_0x2fe5d0,_0x18be67['unshift'](_0x3c72f2)):_0x18be67['shift']());const _0x197455={'type':'element','element':_0x4851c7,'elementId':_0x2fe5d0,'category':_0x2f5610,'isStart':'elementStart'==_0x5df47b['type'],'limitId':_0x3c72f2};_0x55a03c['push'](_0x197455);}else''==_0x34f31d&&(_0x325a19=_0x5df47b['previousPosition']['clone']()),_0x34f31d+=_0x5df47b['item']['data'];return''!==_0x34f31d&&_0x55a03c['push'](...this['_makeTokensFromTextByWords'](_0x34f31d,_0x325a19,_0x18be67[0x0])),_0x55a03c;}['_makeTokensFromTextByWords'](_0x2721d2,_0x4a7824,_0x39146c){const _0x244e2d=_0x2721d2['matchAll'](/(\s)/g),_0x412f34=Array['from'](_0x244e2d)['map'](_0x210983=>_0x210983['index']);_0x412f34['push'](_0x2721d2['length']),0x0==_0x412f34[0x0]&&_0x412f34['shift']();const _0x2357c9=[],_0x502660=_0x4a7824['parent'];let _0x5c2a59=0x0,_0x43cc41=_0x4a7824['offset'];for(let _0x237a43=0x0;_0x237a43<_0x412f34['length'];_0x237a43++)_0x2357c9['push']({'type':'text','data':_0x2721d2['slice'](_0x5c2a59,_0x412f34[_0x237a43]),'parent':_0x502660,'offset':_0x43cc41,'limitId':_0x39146c}),_0x5c2a59=_0x412f34[_0x237a43],_0x43cc41=_0x4a7824['offset']+_0x412f34[_0x237a43];return _0x2357c9;}['_getElementCategory'](_0x377d99){const _0x4e679b=this['_editor']['model']['schema'];return _0x4e679b['isLimit'](_0x377d99)||_0x4e679b['isContent'](_0x377d99)||_0x4e679b['isInline'](_0x377d99)?'solid':_0x4e679b['isBlock'](_0x377d99)?'block':'container';}['_diffModelTokens'](_0x2ad355,_0x522211){const _0x5d27f1=_0xe43862(_0x2ad355,_0x522211,{'comparator':k});this['_handleUnclosedBlockOpeningTags'](_0x5d27f1);const _0x58a214=_0x5d27f1['flatMap'](_0x32fbc0=>{const _0x5a0cef=_0x32fbc0['added']?'added':_0x32fbc0['removed']?'removed':'unchanged';return _0x32fbc0['value']['map'](_0x204de6=>({'token':_0x204de6,'change':_0x5a0cef}));});let _0x275dfb=0x0;for(const _0x4ec398 of _0x58a214)'added'!=_0x4ec398['change']&&('unchanged'==_0x4ec398['change']&&(_0x4ec398['before']=_0x2ad355[_0x275dfb]),_0x275dfb++);return _0x58a214;}['_handleUnclosedBlockOpeningTags'](_0x277569){for(let _0x2073b5=0x0;_0x2073b5<_0x277569['length']-0x1;_0x2073b5++)if(_0x277569[_0x2073b5]['removed']&&_0x277569[_0x2073b5+0x1]['added']){const _0x114420=this['_findUnclosedBlockOpeningToken'](_0x277569[_0x2073b5]['value']);if(null!==_0x114420){const _0x195304=this['_findUnclosedBlockOpeningToken'](_0x277569[_0x2073b5+0x1]['value']),_0x3fbbce=_0x277569[_0x2073b5]['value']['splice'](_0x114420),_0x27c97f=_0x277569[_0x2073b5+0x1]['value']['splice'](_0x195304),_0x3527d8=[_0x27c97f['shift']()];_0x3fbbce['shift']();const _0x77fb27={'value':_0x3fbbce,'removed':!0x0},_0x30fa22={'value':_0x27c97f,'added':!0x0},_0x527750={'value':_0x3527d8};_0x277569['splice'](_0x2073b5+0x2,0x0,_0x527750,_0x77fb27,_0x30fa22);}}}['_findUnclosedBlockOpeningToken'](_0x32788e){let _0x3f6bef=0x0,_0x1ba9a2=-0x1;for(let _0x8540cf=0x0;_0x8540cf<_0x32788e['length'];_0x8540cf++){const _0x17514a=_0x32788e[_0x8540cf];'element'==_0x17514a['type']&&'block'==_0x17514a['category']&&(_0x3f6bef+=_0x17514a['isStart']?0x1:-0x1,_0x17514a['isStart']&&(_0x1ba9a2=_0x8540cf));}return 0x0===_0x3f6bef?null:_0x1ba9a2;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x236dd0=0x0;_0x236dd0<this['_diffItems']['length'];_0x236dd0++){const _0x1087de=this['_diffItems'][_0x236dd0]['change'],_0x55afe3=[];_0x55afe3['push'](this['_diffItems'][_0x236dd0]);let _0x1758b6=_0x236dd0+0x1;for(;this['_diffItems'][_0x1758b6]&&this['_diffItems'][_0x1758b6]['change']==_0x1087de;)_0x55afe3['push'](this['_diffItems'][_0x1758b6]),_0x1758b6++,_0x236dd0++;const _0x4c26bb=_0x55afe3['map'](_0x5aff2c=>_0x5aff2c['token']);if('unchanged'==_0x1087de)_0x55afe3['map'](_0x3f0fbf=>_0x3f0fbf['before'])['forEach'](_0x8f1522=>this['_traverseOverItem'](_0x8f1522));else{if('removed'==_0x1087de){if(this['_markDeletions']){const _0x3b133e=this['_path']['slice']();_0x4c26bb['forEach'](_0x19c8ec=>this['_traverseOverItem'](_0x19c8ec));const _0x2cfe34=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x3b133e,'end':_0x2cfe34}});}else this['_handleChanged'](_0x4c26bb,!0x0,this['_path']['slice']());}else{const _0xc468c3=_0x4c26bb['filter'](_0x460c3a=>'element'!=_0x460c3a['type']||'container'!=_0x460c3a['category']);this['_handleChanged'](_0xc468c3,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x466af1=0x0;_0x466af1<this['_diffItems']['length'];_0x466af1++){const _0x1acf74=this['_diffItems'][_0x466af1]['change'],_0x1aa643=[];_0x1aa643['push'](this['_diffItems'][_0x466af1]);let _0x2d8f1c=_0x466af1+0x1;for(;this['_diffItems'][_0x2d8f1c]&&this['_diffItems'][_0x2d8f1c]['change']==_0x1acf74;)_0x1aa643['push'](this['_diffItems'][_0x2d8f1c]),_0x2d8f1c++,_0x466af1++;const _0x6e7dee=_0x1aa643['map'](_0x255b0a=>_0x255b0a['token']);if('unchanged'==_0x1acf74){const _0x4d1016=_0x1aa643['map'](_0x3c4faa=>_0x3c4faa['before']);this['_handleUnchanged'](_0x4d1016,_0x6e7dee);}else('removed'!=_0x1acf74||this['_markDeletions'])&&_0x6e7dee['forEach'](_0x4c1c53=>{this['_traverseOverItem'](_0x4c1c53);});}}['_calculateMarkersOperationsData'](_0x15e5ae,_0x5264a6){const _0x612acb={};for(const [_0x34680a]of _0x15e5ae)_0x612acb[_0x34680a]=null;for(const [_0x31e394,_0x4f1151]of _0x5264a6)_0x612acb[_0x31e394]=_0x4f1151;const _0x2a8bec=Object['entries'](_0x612acb)['map'](([_0x13f263,_0x1f75e9])=>({'type':'marker','name':_0x13f263,'range':_0x1f75e9?{'start':_0x1f75e9['start']['path']['slice'](),'end':_0x1f75e9['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x2a8bec);}['_handleUnwraps'](){const _0x18b40f=new Map(),_0x2ff05b=[],_0x17fbd1=[0x0];let _0x5bda52=this['_diffItems']['length']+0x1;for(let _0x4a5bbc=this['_diffItems']['length']-0x1;_0x4a5bbc>=0x0;_0x4a5bbc--){const {token:_0x2f04a4,before:_0x866846,change:_0x26b4d0}=this['_diffItems'][_0x4a5bbc];if('removed'!=_0x26b4d0&&(_0x5bda52=_0x4a5bbc),'element'!=_0x2f04a4['type']||'container'!=_0x2f04a4['category']||'added'==_0x26b4d0)continue;const _0x141954=_0x866846?_0x866846['element']:_0x2f04a4['element'];if(_0x2f04a4['isStart']){const _0x330cc2=_0x18b40f['get'](_0x141954),_0x341bce=this['_diffItems'][_0x330cc2];('removed'==_0x26b4d0||'removed'==_0x341bce['change'])&&_0x5bda52<_0x330cc2&&(this['_operationsData']['push']({'type':'unwrap','path':_0x141954['getPath'](),'howMany':_0x141954['maxOffset']+_0x17fbd1[0x0]}),_0x17fbd1['shift'](),_0x17fbd1[0x0]+=_0x141954['maxOffset']-0x1,_0x2ff05b['push'](_0x4a5bbc),_0x2ff05b['push'](_0x330cc2));}else _0x18b40f['set'](_0x141954,_0x4a5bbc),_0x17fbd1['unshift'](0x0);}_0x2ff05b['sort']((_0x4db413,_0x373efc)=>_0x373efc-_0x4db413),_0x2ff05b['forEach'](_0x2ce1a2=>{const _0x207967=this['_diffItems'][_0x2ce1a2];'removed'==_0x207967['change']?this['_diffItems']['splice'](_0x2ce1a2,0x1):(_0x207967['change']='added',delete _0x207967['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x12e2f3=[];for(let _0x2f24e1=0x0;_0x2f24e1<this['_diffItems']['length'];_0x2f24e1++){const {change:_0x104fe2,token:_0x384cbc}=this['_diffItems'][_0x2f24e1];if('added'==_0x104fe2&&'element'==_0x384cbc['type']&&'container'==_0x384cbc['category']){if(_0x384cbc['isStart'])_0x12e2f3['push'](this['_path']['slice']());else{if(!_0x384cbc['isStart']){const _0x2efef2=_0x12e2f3['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x2efef2,'end':this['_path']['slice']()},'token':_0x384cbc}),this['_path'][this['_path']['length']-0x1]=_0x2efef2[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x104fe2||this['_markDeletions'])&&this['_traverseOverItem'](_0x384cbc);}}['_handleUnchanged'](_0x565633,_0x46c2a4){for(let _0x2ed83c=0x0;_0x2ed83c<_0x565633['length'];_0x2ed83c++){const _0x4b7678=_0x565633[_0x2ed83c];if('element'==_0x4b7678['type']&&_0x4b7678['isStart']){const _0x1e2b6f=_0x46c2a4[_0x2ed83c];'block'==_0x4b7678['category']&&this['_handleElementRename'](_0x4b7678['element'],_0x1e2b6f['element'],this['_path']),this['_handleElementAttributeChanges'](_0x4b7678['element'],_0x1e2b6f['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x1e2b6f);}else{if('element'!=_0x4b7678['type']||_0x4b7678['isStart']){if('text'==_0x4b7678['type']){const _0x666ec2=this['_path']['slice'](),_0x9b1cd=[],_0x3916b3=[];for(;_0x565633[_0x2ed83c]&&'text'==_0x565633[_0x2ed83c]['type'];)_0x9b1cd['push'](_0x565633[_0x2ed83c]),_0x3916b3['push'](_0x46c2a4[_0x2ed83c]),this['_path'][this['_path']['length']-0x1]+=_0x565633[_0x2ed83c]['data']['length'],_0x2ed83c++;_0x2ed83c--,this['_handleTextAttributeChanges'](_0x9b1cd,_0x3916b3,_0x666ec2);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4170ba,_0x2bb8db,_0x1386ce){const _0x22dea9=[],_0x49e3df=[],_0x52dd94=_0x1386ce['slice']();for(let _0xebbbb6=0x0;_0xebbbb6<_0x4170ba['length'];_0xebbbb6++){const _0xa6b270=_0x4170ba[_0xebbbb6],_0x52c00c=_0x1386ce['slice']();if('element'!=_0xa6b270['type']||_0xa6b270['isStart'])'element'==_0xa6b270['type']&&_0xa6b270['isStart']?(_0x1386ce['push'](0x0),_0x2bb8db||this['_parents']['push'](_0xa6b270),_0x49e3df['push']({'before':_0x52c00c,'after':_0x1386ce['slice'](),'index':_0xebbbb6})):_0x1386ce[_0x1386ce['length']-0x1]+=_0xa6b270['data']['length'];else{let _0x3ff3c1;_0x1386ce['pop'](),_0x1386ce[_0x1386ce['length']-0x1]++,_0x3ff3c1=_0x2bb8db?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x49e3df['length']?_0x49e3df['pop']():_0x22dea9['push']({'before':_0x52c00c,'after':_0x1386ce['slice'](),'index':_0xebbbb6,'related':_0x3ff3c1});}}if(_0x49e3df['length']!==_0x22dea9['length'])throw new _0x2f6e22('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4170ba,'isRemove':_0x2bb8db});const _0x550ea7=[{'after':_0x52dd94['slice'](),'index':-0x1},..._0x22dea9,..._0x49e3df,{'before':_0x1386ce['slice'](),'index':_0x4170ba['length']}];if(_0x2bb8db){for(let _0x5438c0=_0x550ea7['length']-0x1;_0x5438c0>=0x1;_0x5438c0--){const _0x242fad=_0x550ea7[_0x5438c0-0x1]['after'],_0x5828c6=_0x550ea7[_0x5438c0]['before'],_0x521a51=_0x5828c6[_0x5828c6['length']-0x1]-_0x242fad[_0x242fad['length']-0x1];_0x521a51&&(this['_operationsData']['push']({'type':'remove','path':_0x242fad,'howMany':_0x521a51}),_0x5828c6[_0x5828c6['length']-0x1]-=_0x521a51);}for(const {before:_0x58f916}of _0x22dea9)this['_operationsData']['push']({'type':'merge','path':_0x58f916});}else for(let _0x55e58e=0x0;_0x55e58e<_0x550ea7['length']-0x1;_0x55e58e++){const _0x22d010=_0x550ea7[_0x55e58e]['after'],_0x4363a4=_0x550ea7[_0x55e58e+0x1]['before'],_0x2eede9=_0x550ea7[_0x55e58e]['index']+0x1,_0x1ae3bc=_0x550ea7[_0x55e58e+0x1]['index'];if(_0x2eede9!==_0x1ae3bc&&this['_operationsData']['push']({'type':'insert','path':_0x22d010,'tokens':_0x4170ba['slice'](_0x2eede9,_0x1ae3bc)}),_0x55e58e<_0x22dea9['length']){this['_operationsData']['push']({'type':'split','path':_0x4363a4});const _0x308c72=_0x4170ba[_0x49e3df[_0x49e3df['length']-0x1-_0x55e58e]['index']],_0xb91f8=_0x22dea9[_0x55e58e]['after'],_0x339b35=_0x22dea9[_0x55e58e]['related']['element'];this['_handleElementRename'](_0x339b35,_0x308c72['element'],_0xb91f8),this['_handleElementAttributeChanges'](_0x339b35,_0x308c72['element'],_0xb91f8);}}}['_traverseOverItem'](_0x32c4b0){'element'==_0x32c4b0['type']&&_0x32c4b0['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x32c4b0)):'element'!=_0x32c4b0['type']||_0x32c4b0['isStart']?'text'==_0x32c4b0['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x32c4b0['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x407428,_0x30a8b6,_0x305826){_0x407428['name']!=_0x30a8b6['name']&&this['_operationsData']['push']({'type':'rename','path':_0x305826['slice'](),'oldName':_0x407428['name'],'newName':_0x30a8b6['name']});}['_handleElementAttributeChanges'](_0x246413,_0x416222,_0x343e5e){const _0x1e2b40=this['_getAttributeChanges'](_0x246413['getAttributes'](),_0x416222['getAttributes']());for(const _0x1d420f in _0x1e2b40){const {oldValue:_0x278c58,newValue:_0x21eba0}=_0x1e2b40[_0x1d420f];this['_operationsData']['push']({'type':'attribute','path':_0x343e5e['slice'](),'howMany':0x1,'key':_0x1d420f,'oldValue':_0x278c58,'newValue':_0x21eba0});}}['_handleTextAttributeChanges'](_0x19cd22,_0x432cde,_0x148b77){const _0x11daa9=this['_operationsData'],_0x6aaa4c=_0x19cd22[0x0]['parent'],_0x5e3c51=_0x19cd22[0x0]['offset'],_0x4b12d9=_0x432cde[0x0]['parent'],_0x25ff8e=_0x432cde[0x0]['offset'],_0x31c95c=_0x19cd22['reduce']((_0x2b9d73,_0x37e9a0)=>_0x2b9d73+_0x37e9a0['data']['length'],0x0),_0x1f6107=this['_getAttrsForOffsets'](_0x6aaa4c,_0x5e3c51,_0x31c95c),_0x23cd0d=this['_getAttrsForOffsets'](_0x4b12d9,_0x25ff8e,_0x31c95c),_0x5a526d={};for(let _0x13ace8=0x0;_0x13ace8<_0x31c95c;_0x13ace8++){const _0x1354bf=_0x1f6107[_0x5e3c51+_0x13ace8],_0x4778aa=_0x23cd0d[_0x25ff8e+_0x13ace8],_0x4d6916=this['_getAttributeChanges'](_0x1354bf,_0x4778aa);for(const _0x4f97ac in _0x5a526d)_0x4d6916[_0x4f97ac]||_0x21162c(_0x4f97ac);for(const _0x356d58 in _0x4d6916){const {oldValue:_0x42e6a8,newValue:_0x3aa25c}=_0x4d6916[_0x356d58],_0x159e70=_0x5a526d[_0x356d58];_0x159e70?_0x159e70['oldValue']==_0x42e6a8&&_0x159e70['newValue']==_0x3aa25c?_0x159e70['length']++:(_0x21162c(_0x356d58),_0x5a526d[_0x356d58]={'oldValue':_0x42e6a8,'newValue':_0x3aa25c,'start':_0x13ace8,'length':0x1}):_0x5a526d[_0x356d58]={'oldValue':_0x42e6a8,'newValue':_0x3aa25c,'start':_0x13ace8,'length':0x1};}}for(const _0x3bc58f in _0x5a526d)_0x21162c(_0x3bc58f);function _0x21162c(_0x50d8b6){const _0x1b4d0b=_0x5a526d[_0x50d8b6],_0x2238db=_0x148b77['slice']();_0x2238db[_0x2238db['length']-0x1]+=_0x1b4d0b['start'],_0x11daa9['push']({'type':'attribute','path':_0x2238db,'howMany':_0x1b4d0b['length'],'key':_0x50d8b6,'oldValue':_0x1b4d0b['oldValue'],'newValue':_0x1b4d0b['newValue']}),delete _0x5a526d[_0x50d8b6];}}['_getAttributeChanges'](_0x4fe16b,_0x457424){const _0x391c73={};for(const [_0x45ded7,_0x4eee4c]of _0x4fe16b)_0x391c73[_0x45ded7]={'oldValue':JSON['stringify'](_0x4eee4c),'newValue':'null'};for(const [_0x4e8722,_0x5e41bd]of _0x457424){const _0x4447b2=JSON['stringify'](_0x5e41bd);_0x391c73[_0x4e8722]?_0x391c73[_0x4e8722]['oldValue']==_0x4447b2?delete _0x391c73[_0x4e8722]:_0x391c73[_0x4e8722]['newValue']=_0x4447b2:_0x391c73[_0x4e8722]={'oldValue':'null','newValue':_0x4447b2};}return delete _0x391c73[ut],_0x391c73;}['_getAttrsForOffsets'](_0x139905,_0x630e23,_0x294c0a){const _0x324de7=new Array(_0x630e23+_0x294c0a);let _0x92b00d=_0x139905['getChildAtOffset'](_0x630e23),_0x112dc8=_0x92b00d['startOffset'];for(;_0x92b00d&&_0x112dc8<_0x630e23+_0x294c0a;){const _0x1be3ce=Array['from'](_0x92b00d['getAttributes']());_0x324de7['fill'](_0x1be3ce,_0x112dc8,_0x112dc8+_0x92b00d['offsetSize']),_0x112dc8+=_0x92b00d['offsetSize'],_0x92b00d=_0x92b00d['nextSibling'];}return _0x324de7;}['_getPositionFromAnchorAndPath'](_0x1b0922,_0xa486b){const _0x43a4de=[..._0x1b0922['path']['slice'](0x0,-0x1),_0x1b0922['offset']+_0xa486b[0x0],..._0xa486b['slice'](0x1)];return new _0x5b7ffb(_0x1b0922['root'],_0x43a4de);}['_makeModelFromTokens'](_0x4cef1c){const _0x4f3735=[];let _0x49e4f9=null;for(const _0x4a89c0 of _0x4cef1c)if('element'!=_0x4a89c0['type']||_0x4a89c0['isStart']||_0x49e4f9!=_0x4a89c0['element']){if(!_0x49e4f9){if('text'==_0x4a89c0['type']){const _0x2310ea=_0x5b7ffb['_createAt'](_0x4a89c0['parent'],_0x4a89c0['offset']),_0x3962dc=_0x4b1db1['_createFromPositionAndShift'](_0x2310ea,_0x4a89c0['data']['length']),_0xad771d=Array['from'](_0x3962dc['getItems']())['map'](_0x4c1441=>new _0x344912(_0x4c1441['data'],_0x4c1441['getAttributes']()));_0x4f3735['push'](..._0xad771d);}else{_0x49e4f9=_0x4a89c0['element'];const _0x560b85=_0x4a89c0['element']['_clone'](!0x0);_0x560b85['_removeAttribute'](ut);for(const _0x5bd024 of this['_editor']['model']['createRangeIn'](_0x560b85)['getItems']())_0x5bd024['is']('element')&&_0x5bd024['_removeAttribute'](ut);_0x4f3735['push'](_0x560b85);}}}else _0x49e4f9=null;return _0x4f3735;}}function k(_0x3ca08e,_0x42b3e8){return _0x3ca08e['type']===_0x42b3e8['type']&&(_0x3ca08e['limitId']===_0x42b3e8['limitId']&&('text'==_0x3ca08e['type']?_0x3ca08e['data']==_0x42b3e8['data']:function(_0x3db61e,_0x54eec1){if(_0x3db61e['isStart']!=_0x54eec1['isStart'])return!0x1;if(_0x3db61e['isStart']&&_0x3db61e['elementId']!=_0x54eec1['elementId'])return!0x1;if(_0x3db61e['category']!=_0x54eec1['category'])return!0x1;if('block'==_0x3db61e['category'])return!0x0;if('container'==_0x3db61e['category']&&_0x3db61e['elementId']!=_0x54eec1['elementId'])return!0x1;return _0x3db61e['element']['name']==_0x54eec1['element']['name'];}(_0x3ca08e,_0x42b3e8)));}export{Q as AriaDescriptionView,ot as ConfirmMixin,ut as DATA_ID_MODEL_ATTRIBUTE,dt as DATA_ID_VIEW_ATTRIBUTE,ft as DocumentCompare,ht as FOCUS_ANNOTATION_KEYSTROKE,X as LateFocusButtonView,tt as LateFocusDropdownButtonView,_ as Permissions,Z as UserView,P as Users,nt as getAllMarkersDomElementsSorted,et as getDateTimeFormatter,st as getMarkerDomElement,rt as hashObject,ct as sanitizeEditorConfig,lt as setupThreadKeyboardNavigation,at as surroundingMarkersDetector,it as trimHtml};
|
package/dist/translations/af.js
CHANGED
|
@@ -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':
|
|
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':_0x748bb7=>0x1!=_0x748bb7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x593ce2=>{const {af:{dictionary:_0x1a7860,getPluralForm:_0x458280}}={'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':_0x1efb6d=>0x1!=_0x1efb6d}};_0x593ce2['af']||={'dictionary':{},'getPluralForm':null},_0x593ce2['af']['dictionary']=Object['assign'](_0x593ce2['af']['dictionary'],_0x1a7860),_0x593ce2['af']['getPluralForm']=_0x458280;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -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':
|
|
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':_0x518ccc=>0x0==_0x518ccc?0x0:0x1==_0x518ccc?0x1:0x2==_0x518ccc?0x2:_0x518ccc%0x64>=0x3&&_0x518ccc%0x64<=0xa?0x3:_0x518ccc%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31023e=>{const {ar:{dictionary:_0x1c42fd,getPluralForm:_0x5a7729}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x20b139=>0x0==_0x20b139?0x0:0x1==_0x20b139?0x1:0x2==_0x20b139?0x2:_0x20b139%0x64>=0x3&&_0x20b139%0x64<=0xa?0x3:_0x20b139%0x64>=0xb?0x4:0x5}};_0x31023e['ar']||={'dictionary':{},'getPluralForm':null},_0x31023e['ar']['dictionary']=Object['assign'](_0x31023e['ar']['dictionary'],_0x1c42fd),_0x31023e['ar']['getPluralForm']=_0x5a7729;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -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':
|
|
23
|
+
export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x40556a=>0x1!=_0x40556a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51ee1b=>{const {ast:{dictionary:_0x3ab847,getPluralForm:_0x4ef379}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x381de4=>0x1!=_0x381de4}};_0x51ee1b['ast']||={'dictionary':{},'getPluralForm':null},_0x51ee1b['ast']['dictionary']=Object['assign'](_0x51ee1b['ast']['dictionary'],_0x3ab847),_0x51ee1b['ast']['getPluralForm']=_0x4ef379;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -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':
|
|
23
|
+
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1883ad=>0x1!=_0x1883ad}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x40dd62=>{const {az:{dictionary:_0x4d9072,getPluralForm:_0x12274d}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x291ea8=>0x1!=_0x291ea8}};_0x40dd62['az']||={'dictionary':{},'getPluralForm':null},_0x40dd62['az']['dictionary']=Object['assign'](_0x40dd62['az']['dictionary'],_0x4d9072),_0x40dd62['az']['getPluralForm']=_0x12274d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -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':
|
|
23
|
+
export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3773b6=>_0x3773b6%0xa==0x1&&_0x3773b6%0x64!=0xb?0x0:_0x3773b6%0xa>=0x2&&_0x3773b6%0xa<=0x4&&(_0x3773b6%0x64<0xa||_0x3773b6%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf230a=>{const {be:{dictionary:_0x2ce365,getPluralForm:_0x43dc0a}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2ba1ce=>_0x2ba1ce%0xa==0x1&&_0x2ba1ce%0x64!=0xb?0x0:_0x2ba1ce%0xa>=0x2&&_0x2ba1ce%0xa<=0x4&&(_0x2ba1ce%0x64<0xa||_0x2ba1ce%0x64>=0x14)?0x1:0x2}};_0xf230a['be']||={'dictionary':{},'getPluralForm':null},_0xf230a['be']['dictionary']=Object['assign'](_0xf230a['be']['dictionary'],_0x2ce365),_0xf230a['be']['getPluralForm']=_0x43dc0a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -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':
|
|
23
|
+
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x396bda=>0x1!=_0x396bda}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41fb2e=>{const {bg:{dictionary:_0xb1d7d,getPluralForm:_0x12b33b}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x4eee33=>0x1!=_0x4eee33}};_0x41fb2e['bg']||={'dictionary':{},'getPluralForm':null},_0x41fb2e['bg']['dictionary']=Object['assign'](_0x41fb2e['bg']['dictionary'],_0xb1d7d),_0x41fb2e['bg']['getPluralForm']=_0x12b33b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':_0x14b86e=>0x1!=_0x14b86e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc6398=>{const {bn:{dictionary:_0x446b53,getPluralForm:_0x798748}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':_0x19cdb2=>0x1!=_0x19cdb2}};_0xc6398['bn']||={'dictionary':{},'getPluralForm':null},_0xc6398['bn']['dictionary']=Object['assign'](_0xc6398['bn']['dictionary'],_0x446b53),_0xc6398['bn']['getPluralForm']=_0x798748;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x35c956=>_0x35c956%0xa==0x1&&_0x35c956%0x64!=0xb?0x0:_0x35c956%0xa>=0x2&&_0x35c956%0xa<=0x4&&(_0x35c956%0x64<0xa||_0x35c956%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x55a794=>{const {bs:{dictionary:_0x74e0dd,getPluralForm:_0x510937}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x38b6e8=>_0x38b6e8%0xa==0x1&&_0x38b6e8%0x64!=0xb?0x0:_0x38b6e8%0xa>=0x2&&_0x38b6e8%0xa<=0x4&&(_0x38b6e8%0x64<0xa||_0x38b6e8%0x64>=0x14)?0x1:0x2}};_0x55a794['bs']||={'dictionary':{},'getPluralForm':null},_0x55a794['bs']['dictionary']=Object['assign'](_0x55a794['bs']['dictionary'],_0x74e0dd),_0x55a794['bs']['getPluralForm']=_0x510937;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?','Today':'Avui','Yesterday':'Ahir','Last':'L\x27últim','Monday':'dilluns','Tuesday':'dimarts','Wednesday':'dimecres','Thursday':'dijous','Friday':'divendres','Saturday':'dissabte','Sunday':'diumenge'},'getPluralForm':
|
|
23
|
+
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?','Today':'Avui','Yesterday':'Ahir','Last':'L\x27últim','Monday':'dilluns','Tuesday':'dimarts','Wednesday':'dimecres','Thursday':'dijous','Friday':'divendres','Saturday':'dissabte','Sunday':'diumenge'},'getPluralForm':_0x412fac=>0x1!=_0x412fac}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2bd5e6=>{const {ca:{dictionary:_0x2e4378,getPluralForm:_0xa43151}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?','Today':'Avui','Yesterday':'Ahir','Last':'L\x27últim','Monday':'dilluns','Tuesday':'dimarts','Wednesday':'dimecres','Thursday':'dijous','Friday':'divendres','Saturday':'dissabte','Sunday':'diumenge'},'getPluralForm':_0x24f4bc=>0x1!=_0x24f4bc}};_0x2bd5e6['ca']||={'dictionary':{},'getPluralForm':null},_0x2bd5e6['ca']['dictionary']=Object['assign'](_0x2bd5e6['ca']['dictionary'],_0x2e4378),_0x2bd5e6['ca']['getPluralForm']=_0xa43151;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?','Today':'Dnes','Yesterday':'Včera','Last':'Poslední','Monday':'Pondělí','Tuesday':'Úterý','Wednesday':'Středa','Thursday':'Čtvrtek','Friday':'Pátek','Saturday':'Sobota','Sunday':'Neděle'},'getPluralForm':
|
|
23
|
+
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?','Today':'Dnes','Yesterday':'Včera','Last':'Poslední','Monday':'Pondělí','Tuesday':'Úterý','Wednesday':'Středa','Thursday':'Čtvrtek','Friday':'Pátek','Saturday':'Sobota','Sunday':'Neděle'},'getPluralForm':_0x4a715b=>0x1==_0x4a715b?0x0:_0x4a715b>=0x2&&_0x4a715b<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4c8a33=>{const {cs:{dictionary:_0x29c80f,getPluralForm:_0x511bf3}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?','Today':'Dnes','Yesterday':'Včera','Last':'Poslední','Monday':'Pondělí','Tuesday':'Úterý','Wednesday':'Středa','Thursday':'Čtvrtek','Friday':'Pátek','Saturday':'Sobota','Sunday':'Neděle'},'getPluralForm':_0x25d02e=>0x1==_0x25d02e?0x0:_0x25d02e>=0x2&&_0x25d02e<=0x4?0x1:0x2}};_0x4c8a33['cs']||={'dictionary':{},'getPluralForm':null},_0x4c8a33['cs']['dictionary']=Object['assign'](_0x4c8a33['cs']['dictionary'],_0x29c80f),_0x4c8a33['cs']['getPluralForm']=_0x511bf3;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?','Today':'I\x20dag','Yesterday':'I\x20går','Last':'Seneste','Monday':'Mandag','Tuesday':'Tirsdag','Wednesday':'Onsdag','Thursday':'Torsdag','Friday':'Fredag','Saturday':'Lørdag','Sunday':'Søndag'},'getPluralForm':
|
|
23
|
+
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?','Today':'I\x20dag','Yesterday':'I\x20går','Last':'Seneste','Monday':'Mandag','Tuesday':'Tirsdag','Wednesday':'Onsdag','Thursday':'Torsdag','Friday':'Fredag','Saturday':'Lørdag','Sunday':'Søndag'},'getPluralForm':_0x35d4be=>0x1!=_0x35d4be}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ca306=>{const {da:{dictionary:_0x573564,getPluralForm:_0xd32efb}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?','Today':'I\x20dag','Yesterday':'I\x20går','Last':'Seneste','Monday':'Mandag','Tuesday':'Tirsdag','Wednesday':'Onsdag','Thursday':'Torsdag','Friday':'Fredag','Saturday':'Lørdag','Sunday':'Søndag'},'getPluralForm':_0x74f21a=>0x1!=_0x74f21a}};_0x2ca306['da']||={'dictionary':{},'getPluralForm':null},_0x2ca306['da']['dictionary']=Object['assign'](_0x2ca306['da']['dictionary'],_0x573564),_0x2ca306['da']['getPluralForm']=_0xd32efb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':
|
|
23
|
+
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x317c57=>0x1!=_0x317c57}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe6c8da=>{const {'de-ch':{dictionary:_0x397d10,getPluralForm:_0x13a07c}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x395aae=>0x1!=_0x395aae}};_0xe6c8da['de-ch']||={'dictionary':{},'getPluralForm':null},_0xe6c8da['de-ch']['dictionary']=Object['assign'](_0xe6c8da['de-ch']['dictionary'],_0x397d10),_0xe6c8da['de-ch']['getPluralForm']=_0x13a07c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'Heute','Yesterday':'Gestern','Last':'Letzten','Monday':'Montag','Tuesday':'Dienstag','Wednesday':'Mittwoch','Thursday':'Donnerstag','Friday':'Freitag','Saturday':'Samstag','Sunday':'Sonntag'},'getPluralForm':
|
|
23
|
+
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'Heute','Yesterday':'Gestern','Last':'Letzten','Monday':'Montag','Tuesday':'Dienstag','Wednesday':'Mittwoch','Thursday':'Donnerstag','Friday':'Freitag','Saturday':'Samstag','Sunday':'Sonntag'},'getPluralForm':_0x58d645=>0x1!=_0x58d645}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa94e18=>{const {de:{dictionary:_0x6aa0b2,getPluralForm:_0x2ec71a}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?','Today':'Heute','Yesterday':'Gestern','Last':'Letzten','Monday':'Montag','Tuesday':'Dienstag','Wednesday':'Mittwoch','Thursday':'Donnerstag','Friday':'Freitag','Saturday':'Samstag','Sunday':'Sonntag'},'getPluralForm':_0xe1cd66=>0x1!=_0xe1cd66}};_0xa94e18['de']||={'dictionary':{},'getPluralForm':null},_0xa94e18['de']['dictionary']=Object['assign'](_0xa94e18['de']['dictionary'],_0x6aa0b2),_0xa94e18['de']['getPluralForm']=_0x2ec71a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;','Today':'Σήμερα','Yesterday':'Χθες','Last':'Προηγούμενη/ο','Monday':'Δευτέρα','Tuesday':'Τρίτη','Wednesday':'Τετάρτη','Thursday':'Πέμπτη','Friday':'Παρασκευή','Saturday':'Σάββαρο','Sunday':'Κυριακή'},'getPluralForm':
|
|
23
|
+
export default{'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;','Today':'Σήμερα','Yesterday':'Χθες','Last':'Προηγούμενη/ο','Monday':'Δευτέρα','Tuesday':'Τρίτη','Wednesday':'Τετάρτη','Thursday':'Πέμπτη','Friday':'Παρασκευή','Saturday':'Σάββαρο','Sunday':'Κυριακή'},'getPluralForm':_0x4dd232=>0x1!=_0x4dd232}};
|