@ckeditor/ckeditor5-collaboration-core 42.0.1 → 42.0.2-alpha.1
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-content.css +346 -341
- package/dist/index-editor.css +360 -342
- package/dist/index.js +1 -1
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -2
- package/src/index.js +1 -1
- package/src/permissions.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/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
- /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
- /package/dist/{types/collaborationhistory.d.ts → collaborationhistory.d.ts} +0 -0
- /package/dist/{types/collaborationoperation.d.ts → collaborationoperation.d.ts} +0 -0
- /package/dist/{types/config.d.ts → config.d.ts} +0 -0
- /package/dist/{types/index.d.ts → index.d.ts} +0 -0
- /package/dist/{types/permissions.d.ts → permissions.d.ts} +0 -0
- /package/dist/{types/suggestionstyles.d.ts → suggestionstyles.d.ts} +0 -0
- /package/dist/{types/users → users}/view/userview.d.ts +0 -0
- /package/dist/{types/users.d.ts → users.d.ts} +0 -0
- /package/dist/{types/utils → utils}/common-translations.d.ts +0 -0
- /package/dist/{types/utils → utils}/confirmmixin.d.ts +0 -0
- /package/dist/{types/utils → utils}/confirmview.d.ts +0 -0
- /package/dist/{types/utils → utils}/getdatetimeformatter.d.ts +0 -0
- /package/dist/{types/utils → utils}/getmarkerdomelement.d.ts +0 -0
- /package/dist/{types/utils → utils}/hashobject.d.ts +0 -0
- /package/dist/{types/utils → utils}/sanitizeEditorConfig.d.ts +0 -0
- /package/dist/{types/utils → utils}/surroundingmarkersdetector.d.ts +0 -0
- /package/dist/{types/utils → utils}/trim-html.d.ts +0 -0
package/dist/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
import{ContextPlugin as _0x1de914,Editor as _0x3b2fc8,icons as _0x5f2925}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x51141f,Collection as _0x342305,first as _0x281303}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x401a87,IconView as _0x3302f3,ButtonView as _0x55fbd1}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x1ea0ca from'date-fns/format/index.js';import _0x56fb73 from'date-fns/parseISO/index.js';import _0x8c0fb4 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x1de914{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x131dea,_0x4c2b4c){let _0x4ffd6e;if(_0x4c2b4c||(_0x4c2b4c=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x4c2b4c?_0x4ffd6e=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x4ffd6e=this['context']['editors']['find'](_0x263699=>_0x263699['config']['get']('collaboration.channelId')==_0x4c2b4c)),!_0x4ffd6e)throw new _0x51141f('permissions-set-permissions-invalid-channel-id',null);const _0x4a7358=_0x4ffd6e['plugins'],_0xa48599=_0x4a7358['has']('CommentsRepository')?_0x4a7358['get']('CommentsRepository'):void 0x0,_0x577f3a=_0x4a7358['has']('CommentsOnly')&&_0x4a7358['get']('CommentsOnly'),_0x20394b=_0x131dea['includes']('document:write'),_0x2cb7c2=_0x131dea['includes']('comment:modify_all'),_0x29e157=_0x131dea['includes']('comment:admin'),_0x1e3a20=_0x131dea['includes']('comment:write'),_0x397ac6=_0x1e3a20||_0x29e157,_0x26b2d0=_0x397ac6||_0x2cb7c2,_0x19386d=_0x20394b||_0x397ac6;(_0x577f3a&&(_0x577f3a['isEnabled']=!_0x20394b&&_0x26b2d0),_0x4ffd6e instanceof _0x3b2fc8)&&(!(_0x20394b||_0x26b2d0&&_0xa48599)?_0x4ffd6e['enableReadOnlyMode']('no-permissions'):_0x4ffd6e['disableReadOnlyMode']('no-permissions'));if(_0xa48599){_0xa48599['setPermissions']({'admin':_0x29e157,'modifyAll':_0x2cb7c2,'write':_0x1e3a20,'resolve':_0x19386d},_0x4c2b4c);const _0x43c03b=_0x4ffd6e instanceof _0x3b2fc8&&_0x4ffd6e['commands']['get']('addCommentThread');_0x43c03b&&(_0x397ac6?_0x43c03b['clearForceDisabled']('noPermissions'):_0x43c03b['forceDisabled']('noPermissions'));}}}function r(_0x1aa022,_0xffd859){const t=_0x1aa022['t'];switch(_0xffd859){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}class l extends _0x1de914{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0xabdd76){super(_0xabdd76),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x342305(),this['_locale']=_0xabdd76['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x3150a7=this['context'];this['licenseKey']=_0x3150a7['config']['get']('licenseKey');const _0xa92cfd=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d4f8f;for(const _0x560349 in _0x3150a7){const _0x1294ce=_0x3150a7[_0x560349];if(_0xa92cfd['includes'](_0x1294ce)){delete _0x3150a7[_0x560349],_0x3d4f8f=_0x1294ce;break;}}if('licenseKeyInvalid'===_0x3d4f8f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51141f('invalid-license-key',null);if('licenseKeyTrial'===_0x3d4f8f&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x3d4f8f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51141f('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x3d4f8f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51141f('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x3d4f8f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51141f('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x3d4f8f&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x34ea7d,name:_0x1000fc,..._0x599b3}){if(!_0x34ea7d||'string'!=typeof _0x34ea7d)throw new _0x51141f('users-add-invalid-id');if(this['users']['has'](_0x34ea7d))throw new _0x51141f('users-add-duplicated-id',null,{'id':_0x34ea7d});const _0x23ddb3={..._0x599b3,'id':_0x34ea7d,'name':a(this['_locale'],_0x1000fc),'color':this['_getNextColor']()};_0x23ddb3['name']=a(this['_locale'],_0x23ddb3['name']);const _0x47ff37=new I(_0x23ddb3);return this['users']['add'](_0x47ff37),_0x47ff37;}['getUser'](_0xa12d82){return this['users']['get'](_0xa12d82);}['useAnonymousUser'](){const _0x25567e=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x25567e);}['defineMe'](_0x2a8be9){if(this['_myId'])throw new _0x51141f('users-me-already-defined',null);const _0xc315bc=this['getUser'](_0x2a8be9);if(!_0xc315bc)throw new _0x51141f('users-me-missing-user',null);this['_myId']=_0x2a8be9,_0xc315bc['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x63047b=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x63047b&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x31dbe0=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x31dbe0,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x3ef17d){this['id']=_0x3ef17d['id'],this['color']=_0x3ef17d['color'],this['name']=_0x3ef17d['name'],this['avatar']=_0x3ef17d['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x28e54f=this['name']['split']('\x20');return 0x1===_0x28e54f['length']?this['_getInitial'](_0x28e54f[0x0]):this['_getInitial'](_0x28e54f[0x0])+this['_getInitial'](_0x28e54f[_0x28e54f['length']-0x1]);}['_getInitial'](_0x31f9b8){return _0x31f9b8['charAt'](0x0)['toUpperCase']();}}function a(_0x5d79f1,_0x16352b=''){return''==(_0x16352b=_0x16352b['trim']())?r(_0x5d79f1,'Anonymous'):_0x16352b;}class u{['_id'];constructor(_0x36e0cc){this['_id']=_0x36e0cc;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}class E extends _0x401a87{['name'];['notificationView'];constructor(_0x1b6fa8,_0x1bbb1d,_0x2ca78c){super(_0x1b6fa8),this['name']=_0x1bbb1d['name'],this['notificationView']=null;const _0x56fbf0=['ck','ck-user'],_0x4e8d03=['ck','ck-user__img'];if(_0x1bbb1d['isAnonymous']&&_0x4e8d03['push']('ck-user__anonymous'),!_0x1bbb1d['isAnonymous']&&_0x1bbb1d['isMe']&&_0x56fbf0['push']('ck-user_me'),_0x1bbb1d['avatar']&&_0x4e8d03['push']('ck-user__avatar'),_0x2ca78c){const _0x30f2a0=new _0x3302f3();_0x30f2a0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x30f2a0['content']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a',this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2ca78c},'children':[_0x30f2a0]};}const _0x2a64dd=[{'tag':'div','attributes':{'class':_0x4e8d03,'style':{'background-image':_0x1bbb1d['avatar']?'url(\x27'+_0x1bbb1d['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1bbb1d['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x1bbb1d['initials']}]}];this['notificationView']&&_0x2a64dd['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x56fbf0,'data-user-id':_0x1bbb1d['id']},'children':_0x2a64dd});}}function j(_0x58a66b={}){if(void 0x0!==_0x58a66b['dateTimeFormat']&&'function'!=typeof _0x58a66b['dateTimeFormat'])throw new _0x51141f('invalid-date-time-format');return _0x433066=>{const _0x1d8ee3='string'==typeof _0x433066?_0x56fb73(_0x433066):_0x433066,_0x2b31bf=new Date(),_0x49e1f3=_0x8c0fb4(_0x2b31bf,_0x1d8ee3);return _0x58a66b['dateTimeFormat']?_0x58a66b['dateTimeFormat'](_0x1d8ee3):_0x1ea0ca(_0x1d8ee3,0x0===_0x49e1f3?'\x27Today\x27\x20hh:mma':0x1===_0x49e1f3?'\x27Yesterday\x27\x20hh:mma':_0x49e1f3<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x274015,_0x23fb9a){const _0xa13f60=_0x274015['mapper']['markerNameToElements'](_0x23fb9a['name']);if(!_0xa13f60)return null;const _0x511d9c=_0x281303(_0xa13f60['values']());return _0x274015['view']['domConverter']['mapViewToDom'](_0x511d9c)||null;}function K(_0x45182f,_0x587d0a){if(0x0===_0x587d0a['length'])return null;const _0x141fd2=[],_0x20faf5=_0x45182f['view']['domConverter'];for(const _0x1132f4 of _0x587d0a){const _0x1609f7=_0x45182f['mapper']['markerNameToElements'](_0x1132f4['name']);if(!_0x1609f7)continue;const _0x2798d7=Array['from'](_0x1609f7)['map'](_0x1d1d3b=>_0x20faf5['mapViewToDom'](_0x1d1d3b))['filter'](_0x3e2778=>!!_0x3e2778);_0x141fd2['push'](..._0x2798d7);}if(0x0===_0x141fd2['length'])return null;const _0x105b4e=[];for(const _0x50bc13 of _0x141fd2){const _0x52f70f=_0x50bc13['getClientRects']()['item'](0x0);_0x52f70f&&_0x105b4e['push']({'x':_0x52f70f['x'],'y':_0x52f70f['y'],'domElement':_0x50bc13});}return 0x0===_0x105b4e['length']?null:(_0x105b4e['sort']((_0x584346,_0x57f76b)=>_0x584346['y']-_0x57f76b['y']||_0x584346['x']-_0x57f76b['x']),_0x105b4e['map'](_0x4e4454=>_0x4e4454['domElement']));}function Z(_0x372f5a,{limit:_0x31cd99,suffix:_0x4dbfc4='...'}){const _0x3be3aa=[];let _0x3a1a83=0x0;const _0x27dd0e=_0x372f5a['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x5e1c=0x0;_0x5e1c<_0x27dd0e['length'];_0x5e1c++){let _0x5e14d6=_0x27dd0e[_0x5e1c];const _0x270bc2=$(_0x5e14d6);if(_0x5e14d6['startsWith']('<')){if(_0x3a1a83>=_0x31cd99){const _0x2e04e6=_0x5e14d6['match'](/[a-zA-Z]+/);if(!_0x2e04e6){_0x27dd0e[_0x5e1c]='';continue;}const _0x36dd8e=_0x2e04e6[0x0];_0x5e14d6['startsWith']('</')?(_0x3be3aa['length']&&(_0x5e14d6=''),_0x3be3aa['pop']()):(_0x3be3aa['push'](_0x36dd8e),_0x5e14d6='');}}else{if(_0x3a1a83>=_0x31cd99)_0x5e14d6='';else{if(_0x3a1a83+_0x270bc2['length']>=_0x31cd99){let _0x5ad3f0=_0x31cd99-_0x3a1a83;if('\x20'===_0x270bc2[_0x5ad3f0-0x1])_0x5ad3f0--;else{const _0x391f50=_0x270bc2['slice'](_0x5ad3f0)['indexOf']('\x20');-0x1!==_0x391f50?_0x5ad3f0+=_0x391f50:_0x5ad3f0=_0x5e14d6['length'];}_0x5e14d6=_0x270bc2['slice'](0x0,_0x5ad3f0)['join']('')+_0x4dbfc4,_0x3a1a83=_0x31cd99;}else _0x3a1a83+=_0x270bc2['length'];}}_0x27dd0e[_0x5e1c]=_0x5e14d6;}return _0x27dd0e['join']('\x0a')['replace'](/\n/g,'');}function $(_0x206fa1){const _0xb8d947=[];for(let _0x262180=0x0;_0x262180<_0x206fa1['length'];_0x262180++){const _0x242e27=_0x206fa1['substring'](_0x262180)['match'](/^&[a-z0-9#]+;/);if(_0x242e27){const _0x22db1b=_0x242e27[0x0];_0xb8d947['push'](_0x22db1b),_0x262180+=_0x22db1b['length']-0x1;}else _0xb8d947['push'](_0x206fa1[_0x262180]);}return _0xb8d947;}class h extends _0x401a87{['submitView'];['cancelView'];constructor(_0x52e528){super(_0x52e528);const _0x319c5e=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x52e528,r(_0x52e528,'Yes'),_0x5f2925['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x52e528,r(_0x52e528,'No'),_0x5f2925['cancel'],'cancel'),this['set']('message',r(_0x52e528,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x319c5e['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x414ac4,_0x64b21d,_0x26a332,_0x32b32b){const _0x3f1c3f=new _0x55fbd1(_0x414ac4);return _0x3f1c3f['label']=_0x64b21d,_0x3f1c3f['icon']=_0x26a332,_0x3f1c3f['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x32b32b}}),_0x3f1c3f['on']('execute',()=>this['fire'](_0x32b32b)),_0x3f1c3f;}}function m(_0x50a614){return class extends _0x50a614{['showConfirm'](_0x338a5b,_0x28e252){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x338a5b,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x28e252['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x356126=>this['confirmView']['on']('submit',_0x356126));}['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['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function b(_0x226d92){let _0x42fdea=0x0,_0x2d7e09=0x0;for(const _0xa7894b of A(_0x226d92))_0x42fdea=(_0x42fdea<<0x5)-_0x42fdea+_0xa7894b,_0x42fdea|=0x0,[_0x42fdea,_0x2d7e09]=[_0x2d7e09,_0x42fdea];return q(_0x42fdea)+q(_0x2d7e09);}function*g(_0x44b8d3){null==_0x44b8d3||null==_0x44b8d3?yield 0x12b9b0a1:0x0===_0x44b8d3||!0x1===_0x44b8d3?yield 0x0:0x1===_0x44b8d3||0x1==_0x44b8d3?yield 0x1:Array['isArray'](_0x44b8d3)?yield*function*(_0x26ab24){for(const _0x176baa of _0x26ab24)yield*g(_0x176baa);}(_0x44b8d3):'object'==typeof _0x44b8d3?yield*A(_0x44b8d3):'string'==typeof _0x44b8d3?yield*M(_0x44b8d3):'number'==typeof _0x44b8d3&&(yield _0x44b8d3);}function*A(_0x4738e7){if(yield O('{'),_0x4738e7){const _0x5415c7=Object['keys'](_0x4738e7)['sort']();for(const _0x3aa3ad of _0x5415c7){yield*M(_0x3aa3ad),yield O(':');const _0x559eec=_0x4738e7[_0x3aa3ad];yield*g(_0x559eec);}}yield O('}');}function*M(_0x3e2680){yield O('\x22');for(const _0x2e7bbc of _0x3e2680)yield O(_0x2e7bbc);yield O('\x22');}function O(_0x59b2bc){return _0x59b2bc['charCodeAt'](0x0);}function q(_0x1c13b5){return(_0x1c13b5*=Math['sign'](_0x1c13b5))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x4db127,_0x374637,_0x1e921e,_0x1c474c=[]){const _0x585467='string'==typeof _0x4db127?_0x1e921e['get'](_0x4db127)['constructor']:_0x4db127['prototype']['constructor'];if(_0x374637['has'](_0x585467))return _0x374637['get'](_0x585467);_0x374637['set'](_0x585467,!0x0);const _0x2ee540=[...W,..._0x1c474c]['map'](_0x5b888c=>{if(_0x1e921e['has'](_0x5b888c))return _0x1e921e['get'](_0x5b888c)['constructor'];})['filter'](_0x5e8817=>_0x5e8817);if(_0x585467&&_0x2ee540['includes'](_0x585467))return _0x374637['set'](_0x585467,!0x1),!0x1;if(!_0x585467['requires'])return _0x374637['set'](_0x585467,!0x0),!0x0;const _0xcb7cd7=_0x585467['requires']['every'](_0x118162=>v(_0x118162,_0x374637,_0x1e921e,_0x1c474c));return _0x374637['set'](_0x585467,_0xcb7cd7),_0xcb7cd7;}function D(_0x4a84c3,_0x34aa07){const _0x29b431={};for(const _0x321abf of _0x4a84c3['config']['names']())w['includes'](_0x321abf)||(_0x29b431[_0x321abf]=_0x4a84c3['config']['get'](_0x321abf));const _0x13bddd=_0x29b431['plugins']||[],_0x4980ee=_0x4a84c3['constructor']['builtinPlugins']||[],_0x51a2a0=_0x13bddd['length']?_0x13bddd:_0x4980ee,_0x1fa13f=_0x29b431['extraPlugins']||[];delete _0x29b431['extraPlugins'];const _0x405aa1=_0x29b431['removePlugins']||[];delete _0x29b431['removePlugins'];const _0x182a74=_0x4a84c3['_context']['config']['get']('plugins')||[],_0x5bc483=_0x51a2a0['concat'](_0x1fa13f)['concat'](_0x182a74)['map'](_0x494dbe=>'string'==typeof _0x494dbe?_0x4980ee['find'](_0x5c57f0=>_0x5c57f0['pluginName']==_0x494dbe):_0x494dbe)['filter'](_0x273ca8=>!_0x405aa1['includes'](_0x273ca8)&&!_0x405aa1['includes'](_0x273ca8['pluginName'])),_0x56664e=Array['from'](new Set(_0x5bc483)),_0x579699=new Map();return _0x29b431['plugins']=_0x56664e['filter'](_0x3cd78a=>v(_0x3cd78a,_0x579699,_0x4a84c3['plugins'],_0x34aa07)),_0x29b431;}function z(_0x266355,_0x36025c){const _0x20fd3b=[];_0x266355['document']['selection']['on']('change:range',()=>{const _0x46671a=function(_0x285254,_0x3d0741){const _0x252999=[];for(const _0x26e77c of _0x285254['markers']){const _0x2fb0a9=_0x26e77c['getRange']();(_0x2fb0a9['containsPosition'](_0x3d0741)||_0x2fb0a9['start']['isEqual'](_0x3d0741)||_0x2fb0a9['end']['isEqual'](_0x3d0741))&&_0x252999['push'](_0x26e77c);}return _0x252999;}(_0x266355,_0x266355['document']['selection']['focus']),_0x1a90cc=[],_0x592202=[],_0x4ca5bc=[];for(const _0x18ae93 of _0x20fd3b)_0x46671a['includes'](_0x18ae93)||_0x1a90cc['push'](_0x18ae93);for(const _0x38c4a5 of _0x46671a)_0x20fd3b['includes'](_0x38c4a5)||_0x592202['push'](_0x38c4a5),_0x4ca5bc['push'](_0x38c4a5);(_0x1a90cc['length']||_0x592202['length'])&&_0x36025c({'left':_0x1a90cc,'entered':_0x592202}),_0x20fd3b['length']=0x0,_0x20fd3b['push'](..._0x4ca5bc);});}export{m as ConfirmMixin,n as Permissions,E as UserView,l as Users,K as getAllMarkersDomElementsSorted,j as getDateTimeFormatter,k as getMarkerDomElement,b as hashObject,D as sanitizeEditorConfig,z as surroundingMarkersDetector,Z as trimHtml};
|
23
|
+
import{ContextPlugin as _0x4eb134,Editor as _0x365176,icons as _0x369484}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3a49d2,Collection as _0x470e68,first as _0x180b9b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x318022,IconView as _0xf6673a,ButtonView as _0x1f00d6}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x18bc43 from'date-fns/format/index.js';import _0x2fc165 from'date-fns/parseISO/index.js';import _0x1d3036 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x4eb134{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x1f151c,_0x1be658){let _0x23d1a8;if(_0x1be658||(_0x1be658=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x1be658?_0x23d1a8=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x23d1a8=this['context']['editors']['find'](_0x104260=>_0x104260['config']['get']('collaboration.channelId')==_0x1be658)),!_0x23d1a8)throw new _0x3a49d2('permissions-set-permissions-invalid-channel-id',null);const _0x170d4c=_0x23d1a8['plugins'],_0x688330=_0x170d4c['has']('CommentsRepository')?_0x170d4c['get']('CommentsRepository'):void 0x0,_0x129dc9=_0x170d4c['has']('CommentsOnly')&&_0x170d4c['get']('CommentsOnly'),_0xb348cc=_0x1f151c['includes']('document:write'),_0x30d8da=_0x1f151c['includes']('comment:modify_all'),_0x12cd64=_0x1f151c['includes']('comment:admin'),_0x4e0bb2=_0x1f151c['includes']('comment:write'),_0x14f7a3=_0x4e0bb2||_0x12cd64,_0x39d3a3=_0x14f7a3||_0x30d8da,_0x44a305=_0xb348cc||_0x14f7a3;(_0x129dc9&&(_0x129dc9['isEnabled']=!_0xb348cc&&_0x39d3a3),_0x23d1a8 instanceof _0x365176)&&(!(_0xb348cc||_0x39d3a3&&_0x688330)?_0x23d1a8['enableReadOnlyMode']('no-permissions'):_0x23d1a8['disableReadOnlyMode']('no-permissions'));if(_0x688330){_0x688330['setPermissions']({'admin':_0x12cd64,'modifyAll':_0x30d8da,'write':_0x4e0bb2,'resolve':_0x44a305},_0x1be658);const _0x36a8d1=_0x23d1a8 instanceof _0x365176&&_0x23d1a8['commands']['get']('addCommentThread');_0x36a8d1&&(_0x14f7a3?_0x36a8d1['clearForceDisabled']('noPermissions'):_0x36a8d1['forceDisabled']('noPermissions'));}}}function r(_0x12d262,_0x4c575b){const t=_0x12d262['t'];switch(_0x4c575b){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}class l extends _0x4eb134{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0x19298c){super(_0x19298c),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x470e68(),this['_locale']=_0x19298c['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x291d8d=this['context'];this['licenseKey']=_0x291d8d['config']['get']('licenseKey');const _0x2c45d5=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b529f;for(const _0x556691 in _0x291d8d){const _0x3396a4=_0x291d8d[_0x556691];if(_0x2c45d5['includes'](_0x3396a4)){delete _0x291d8d[_0x556691],_0x2b529f=_0x3396a4;break;}}if('licenseKeyInvalid'===_0x2b529f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3a49d2('invalid-license-key',null);if('licenseKeyTrial'===_0x2b529f&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x2b529f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3a49d2('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x2b529f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3a49d2('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x2b529f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3a49d2('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x2b529f&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x2d31af,name:_0x5cddc5,..._0x230a52}){if(!_0x2d31af||'string'!=typeof _0x2d31af)throw new _0x3a49d2('users-add-invalid-id');if(this['users']['has'](_0x2d31af))throw new _0x3a49d2('users-add-duplicated-id',null,{'id':_0x2d31af});const _0x1448a1={..._0x230a52,'id':_0x2d31af,'name':a(this['_locale'],_0x5cddc5),'color':this['_getNextColor']()};_0x1448a1['name']=a(this['_locale'],_0x1448a1['name']);const _0x4e1f6b=new I(_0x1448a1);return this['users']['add'](_0x4e1f6b),_0x4e1f6b;}['getUser'](_0x28dbaa){return this['users']['get'](_0x28dbaa);}['useAnonymousUser'](){const _0x1775f1=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x1775f1);}['defineMe'](_0x21e3a9){if(this['_myId'])throw new _0x3a49d2('users-me-already-defined',null);const _0x3f6c67=this['getUser'](_0x21e3a9);if(!_0x3f6c67)throw new _0x3a49d2('users-me-missing-user',null);this['_myId']=_0x21e3a9,_0x3f6c67['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0xf7edfe=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0xf7edfe&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x2ddf34=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x2ddf34,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x2005ff){this['id']=_0x2005ff['id'],this['color']=_0x2005ff['color'],this['name']=_0x2005ff['name'],this['avatar']=_0x2005ff['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0xc0fad7=this['name']['split']('\x20');return 0x1===_0xc0fad7['length']?this['_getInitial'](_0xc0fad7[0x0]):this['_getInitial'](_0xc0fad7[0x0])+this['_getInitial'](_0xc0fad7[_0xc0fad7['length']-0x1]);}['_getInitial'](_0x3ef8fc){return _0x3ef8fc['charAt'](0x0)['toUpperCase']();}}function a(_0x4b893c,_0x451d93=''){return''==(_0x451d93=_0x451d93['trim']())?r(_0x4b893c,'Anonymous'):_0x451d93;}class u{['_id'];constructor(_0x45c221){this['_id']=_0x45c221;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}class E extends _0x318022{['name'];['notificationView'];constructor(_0xf59c83,_0x23eee7,_0x5e60cd){super(_0xf59c83),this['name']=_0x23eee7['name'],this['notificationView']=null;const _0x3f9cff=['ck','ck-user'],_0x573e7a=['ck','ck-user__img'];if(_0x23eee7['isAnonymous']&&_0x573e7a['push']('ck-user__anonymous'),!_0x23eee7['isAnonymous']&&_0x23eee7['isMe']&&_0x3f9cff['push']('ck-user_me'),_0x23eee7['avatar']&&_0x573e7a['push']('ck-user__avatar'),_0x5e60cd){const _0x4217fe=new _0xf6673a();_0x4217fe['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4217fe['content']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a',this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5e60cd},'children':[_0x4217fe]};}const _0x563773=[{'tag':'div','attributes':{'class':_0x573e7a,'style':{'background-image':_0x23eee7['avatar']?'url(\x27'+_0x23eee7['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x23eee7['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x23eee7['initials']}]}];this['notificationView']&&_0x563773['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x3f9cff,'data-user-id':_0x23eee7['id']},'children':_0x563773});}}function j(_0x47907f={}){if(void 0x0!==_0x47907f['dateTimeFormat']&&'function'!=typeof _0x47907f['dateTimeFormat'])throw new _0x3a49d2('invalid-date-time-format');return _0x26d6fa=>{const _0xc6ba9a='string'==typeof _0x26d6fa?_0x2fc165(_0x26d6fa):_0x26d6fa,_0x74dc7b=new Date(),_0x124af5=_0x1d3036(_0x74dc7b,_0xc6ba9a);return _0x47907f['dateTimeFormat']?_0x47907f['dateTimeFormat'](_0xc6ba9a):_0x18bc43(_0xc6ba9a,0x0===_0x124af5?'\x27Today\x27\x20hh:mma':0x1===_0x124af5?'\x27Yesterday\x27\x20hh:mma':_0x124af5<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0xfbc970,_0x5548ab){const _0x29ee82=_0xfbc970['mapper']['markerNameToElements'](_0x5548ab['name']);if(!_0x29ee82)return null;const _0x11594b=_0x180b9b(_0x29ee82['values']());return _0xfbc970['view']['domConverter']['mapViewToDom'](_0x11594b)||null;}function K(_0x43abe3,_0x39b810){if(0x0===_0x39b810['length'])return null;const _0x62cf88=[],_0xf500db=_0x43abe3['view']['domConverter'];for(const _0xecd33a of _0x39b810){const _0x5b1355=_0x43abe3['mapper']['markerNameToElements'](_0xecd33a['name']);if(!_0x5b1355)continue;const _0x83bd5b=Array['from'](_0x5b1355)['map'](_0x55dae2=>_0xf500db['mapViewToDom'](_0x55dae2))['filter'](_0x18a944=>!!_0x18a944);_0x62cf88['push'](..._0x83bd5b);}if(0x0===_0x62cf88['length'])return null;const _0x186ee5=[];for(const _0x361cf9 of _0x62cf88){const _0x1db69e=_0x361cf9['getClientRects']()['item'](0x0);_0x1db69e&&_0x186ee5['push']({'x':_0x1db69e['x'],'y':_0x1db69e['y'],'domElement':_0x361cf9});}return 0x0===_0x186ee5['length']?null:(_0x186ee5['sort']((_0x4ec114,_0x40f50e)=>_0x4ec114['y']-_0x40f50e['y']||_0x4ec114['x']-_0x40f50e['x']),_0x186ee5['map'](_0x307f8b=>_0x307f8b['domElement']));}function Z(_0x10bd52,{limit:_0x38ee63,suffix:_0x1865fb='...'}){const _0xb17222=[];let _0x55fdba=0x0;const _0x242ab6=_0x10bd52['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3850f6=0x0;_0x3850f6<_0x242ab6['length'];_0x3850f6++){let _0xa6d023=_0x242ab6[_0x3850f6];const _0xf59946=$(_0xa6d023);if(_0xa6d023['startsWith']('<')){if(_0x55fdba>=_0x38ee63){const _0x538957=_0xa6d023['match'](/[a-zA-Z]+/);if(!_0x538957){_0x242ab6[_0x3850f6]='';continue;}const _0x2da154=_0x538957[0x0];_0xa6d023['startsWith']('</')?(_0xb17222['length']&&(_0xa6d023=''),_0xb17222['pop']()):(_0xb17222['push'](_0x2da154),_0xa6d023='');}}else{if(_0x55fdba>=_0x38ee63)_0xa6d023='';else{if(_0x55fdba+_0xf59946['length']>=_0x38ee63){let _0x239b58=_0x38ee63-_0x55fdba;if('\x20'===_0xf59946[_0x239b58-0x1])_0x239b58--;else{const _0x8cd5d3=_0xf59946['slice'](_0x239b58)['indexOf']('\x20');-0x1!==_0x8cd5d3?_0x239b58+=_0x8cd5d3:_0x239b58=_0xa6d023['length'];}_0xa6d023=_0xf59946['slice'](0x0,_0x239b58)['join']('')+_0x1865fb,_0x55fdba=_0x38ee63;}else _0x55fdba+=_0xf59946['length'];}}_0x242ab6[_0x3850f6]=_0xa6d023;}return _0x242ab6['join']('\x0a')['replace'](/\n/g,'');}function $(_0x17db9b){const _0x2493b9=[];for(let _0xf182af=0x0;_0xf182af<_0x17db9b['length'];_0xf182af++){const _0x552c1f=_0x17db9b['substring'](_0xf182af)['match'](/^&[a-z0-9#]+;/);if(_0x552c1f){const _0x18565a=_0x552c1f[0x0];_0x2493b9['push'](_0x18565a),_0xf182af+=_0x18565a['length']-0x1;}else _0x2493b9['push'](_0x17db9b[_0xf182af]);}return _0x2493b9;}class h extends _0x318022{['submitView'];['cancelView'];constructor(_0x5897b0){super(_0x5897b0);const _0x2635e0=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x5897b0,r(_0x5897b0,'Yes'),_0x369484['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x5897b0,r(_0x5897b0,'No'),_0x369484['cancel'],'cancel'),this['set']('message',r(_0x5897b0,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x2635e0['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x1f6e36,_0x3d0121,_0x42943e,_0x18e728){const _0x585328=new _0x1f00d6(_0x1f6e36);return _0x585328['label']=_0x3d0121,_0x585328['icon']=_0x42943e,_0x585328['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x18e728}}),_0x585328['on']('execute',()=>this['fire'](_0x18e728)),_0x585328;}}function m(_0x5a3753){return class extends _0x5a3753{['showConfirm'](_0x425b3e,_0x53df4c){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x425b3e,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x53df4c['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x5b0f71=>this['confirmView']['on']('submit',_0x5b0f71));}['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['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function b(_0x2adc0d){let _0x492bf9=0x0,_0x24de45=0x0;for(const _0x42a92c of A(_0x2adc0d))_0x492bf9=(_0x492bf9<<0x5)-_0x492bf9+_0x42a92c,_0x492bf9|=0x0,[_0x492bf9,_0x24de45]=[_0x24de45,_0x492bf9];return q(_0x492bf9)+q(_0x24de45);}function*g(_0x227ba4){null==_0x227ba4||null==_0x227ba4?yield 0x12b9b0a1:0x0===_0x227ba4||!0x1===_0x227ba4?yield 0x0:0x1===_0x227ba4||0x1==_0x227ba4?yield 0x1:Array['isArray'](_0x227ba4)?yield*function*(_0xb539e){for(const _0x2b82e4 of _0xb539e)yield*g(_0x2b82e4);}(_0x227ba4):'object'==typeof _0x227ba4?yield*A(_0x227ba4):'string'==typeof _0x227ba4?yield*M(_0x227ba4):'number'==typeof _0x227ba4&&(yield _0x227ba4);}function*A(_0x4f8c09){if(yield O('{'),_0x4f8c09){const _0x23c08c=Object['keys'](_0x4f8c09)['sort']();for(const _0x327461 of _0x23c08c){yield*M(_0x327461),yield O(':');const _0x2abca3=_0x4f8c09[_0x327461];yield*g(_0x2abca3);}}yield O('}');}function*M(_0x45327b){yield O('\x22');for(const _0x14bc80 of _0x45327b)yield O(_0x14bc80);yield O('\x22');}function O(_0x7ef789){return _0x7ef789['charCodeAt'](0x0);}function q(_0x82ac78){return(_0x82ac78*=Math['sign'](_0x82ac78))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x2c3c46,_0x3e7996,_0x43f60d,_0x4e9373=[]){const _0x61046c='string'==typeof _0x2c3c46?_0x43f60d['get'](_0x2c3c46)['constructor']:_0x2c3c46['prototype']['constructor'];if(_0x3e7996['has'](_0x61046c))return _0x3e7996['get'](_0x61046c);_0x3e7996['set'](_0x61046c,!0x0);const _0x31cf6e=[...W,..._0x4e9373]['map'](_0x3ea00c=>{if(_0x43f60d['has'](_0x3ea00c))return _0x43f60d['get'](_0x3ea00c)['constructor'];})['filter'](_0x4a4939=>_0x4a4939);if(_0x61046c&&_0x31cf6e['includes'](_0x61046c))return _0x3e7996['set'](_0x61046c,!0x1),!0x1;if(!_0x61046c['requires'])return _0x3e7996['set'](_0x61046c,!0x0),!0x0;const _0x541f74=_0x61046c['requires']['every'](_0x5e26b4=>v(_0x5e26b4,_0x3e7996,_0x43f60d,_0x4e9373));return _0x3e7996['set'](_0x61046c,_0x541f74),_0x541f74;}function D(_0x15706e,_0x1fc9c2){const _0x117451={};for(const _0x5c8eb3 of _0x15706e['config']['names']())w['includes'](_0x5c8eb3)||(_0x117451[_0x5c8eb3]=_0x15706e['config']['get'](_0x5c8eb3));const _0x453ab7=_0x117451['plugins']||[],_0x168ed3=_0x15706e['constructor']['builtinPlugins']||[],_0x1e7dc3=_0x453ab7['length']?_0x453ab7:_0x168ed3,_0x1aaf36=_0x117451['extraPlugins']||[];delete _0x117451['extraPlugins'];const _0x2d575d=_0x117451['removePlugins']||[];delete _0x117451['removePlugins'];const _0x4a0da5=_0x15706e['_context']['config']['get']('plugins')||[],_0x36eb6e=_0x1e7dc3['concat'](_0x1aaf36)['concat'](_0x4a0da5)['map'](_0x4b1916=>'string'==typeof _0x4b1916?_0x168ed3['find'](_0x3c1854=>_0x3c1854['pluginName']==_0x4b1916):_0x4b1916)['filter'](_0x3b78df=>!_0x2d575d['includes'](_0x3b78df)&&!_0x2d575d['includes'](_0x3b78df['pluginName'])),_0xa6c729=Array['from'](new Set(_0x36eb6e)),_0x2b493e=new Map();return _0x117451['plugins']=_0xa6c729['filter'](_0x2a6bad=>v(_0x2a6bad,_0x2b493e,_0x15706e['plugins'],_0x1fc9c2)),_0x117451;}function z(_0x294177,_0x178c41){const _0x12356c=[];_0x294177['document']['selection']['on']('change:range',()=>{const _0x26c02e=function(_0x1bb9fe,_0x314781){const _0x816581=[];for(const _0x2103a8 of _0x1bb9fe['markers']){const _0x2e0ab7=_0x2103a8['getRange']();(_0x2e0ab7['containsPosition'](_0x314781)||_0x2e0ab7['start']['isEqual'](_0x314781)||_0x2e0ab7['end']['isEqual'](_0x314781))&&_0x816581['push'](_0x2103a8);}return _0x816581;}(_0x294177,_0x294177['document']['selection']['focus']),_0x1522fa=[],_0x578fc2=[],_0x213020=[];for(const _0x270500 of _0x12356c)_0x26c02e['includes'](_0x270500)||_0x1522fa['push'](_0x270500);for(const _0x199bff of _0x26c02e)_0x12356c['includes'](_0x199bff)||_0x578fc2['push'](_0x199bff),_0x213020['push'](_0x199bff);(_0x1522fa['length']||_0x578fc2['length'])&&_0x178c41({'left':_0x1522fa,'entered':_0x578fc2}),_0x12356c['length']=0x0,_0x12356c['push'](..._0x213020);});}export{m as ConfirmMixin,n as Permissions,E as UserView,l as Users,K as getAllMarkersDomElementsSorted,j as getDateTimeFormatter,k as getMarkerDomElement,b as hashObject,D as sanitizeEditorConfig,z as surroundingMarkersDetector,Z as trimHtml};
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|
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?'},'getPluralForm':
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x38e40e=>0x1!=_0x38e40e}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x26ff3b=>{const {af:{dictionary:_0x36a0bc,getPluralForm:_0x56970d}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x2249c5=>0x1!=_0x2249c5}};_0x26ff3b['af']||={'dictionary':{},'getPluralForm':null},_0x26ff3b['af']['dictionary']=Object['assign'](_0x26ff3b['af']['dictionary'],_0x36a0bc),_0x26ff3b['af']['getPluralForm']=_0x56970d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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متأكد؟'},'getPluralForm':
|
23
|
+
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x1f8f31=>0x0==_0x1f8f31?0x0:0x1==_0x1f8f31?0x1:0x2==_0x1f8f31?0x2:_0x1f8f31%0x64>=0x3&&_0x1f8f31%0x64<=0xa?0x3:_0x1f8f31%0x64>=0xb&&_0x1f8f31%0x64<=0x63?0x4:0x5}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5da080=>{const {ar:{dictionary:_0x461abc,getPluralForm:_0x52188f}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x744486=>0x0==_0x744486?0x0:0x1==_0x744486?0x1:0x2==_0x744486?0x2:_0x744486%0x64>=0x3&&_0x744486%0x64<=0xa?0x3:_0x744486%0x64>=0xb&&_0x744486%0x64<=0x63?0x4:0x5}};_0x5da080['ar']||={'dictionary':{},'getPluralForm':null},_0x5da080['ar']['dictionary']=Object['assign'](_0x5da080['ar']['dictionary'],_0x461abc),_0x5da080['ar']['getPluralForm']=_0x52188f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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?':''},'getPluralForm':
|
23
|
+
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x34563f=>0x1!=_0x34563f}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5cd74f=>{const {az:{dictionary:_0x4f8c5a,getPluralForm:_0x2b5d68}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0xf92465=>0x1!=_0xf92465}};_0x5cd74f['az']||={'dictionary':{},'getPluralForm':null},_0x5cd74f['az']['dictionary']=Object['assign'](_0x5cd74f['az']['dictionary'],_0x4f8c5a),_0x5cd74f['az']['getPluralForm']=_0x2b5d68;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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сте?'},'getPluralForm':
|
23
|
+
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x498ed8=>0x1!=_0x498ed8}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x178105=>{const {bg:{dictionary:_0x533e4e,getPluralForm:_0x5a5b6a}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x4c9b8c=>0x1!=_0x4c9b8c}};_0x178105['bg']||={'dictionary':{},'getPluralForm':null},_0x178105['bg']['dictionary']=Object['assign'](_0x178105['bg']['dictionary'],_0x533e4e),_0x178105['bg']['getPluralForm']=_0x5a5b6a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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নিশ্চিত?'},'getPluralForm':
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x182021=>0x1!=_0x182021}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x41a706=>{const {bn:{dictionary:_0x26069b,getPluralForm:_0x320a3d}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x2b6a42=>0x1!=_0x2b6a42}};_0x41a706['bn']||={'dictionary':{},'getPluralForm':null},_0x41a706['bn']['dictionary']=Object['assign'](_0x41a706['bn']['dictionary'],_0x26069b),_0x41a706['bn']['getPluralForm']=_0x320a3d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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?'},'getPluralForm':
|
23
|
+
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x5e0595=>_0x5e0595%0xa==0x1&&_0x5e0595%0x64!=0xb?0x0:_0x5e0595%0xa>=0x2&&_0x5e0595%0xa<=0x4&&(_0x5e0595%0x64<0xa||_0x5e0595%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x14306a=>{const {bs:{dictionary:_0x3fd4c8,getPluralForm:_0x3c4c27}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x44176d=>_0x44176d%0xa==0x1&&_0x44176d%0x64!=0xb?0x0:_0x44176d%0xa>=0x2&&_0x44176d%0xa<=0x4&&(_0x44176d%0x64<0xa||_0x44176d%0x64>=0x14)?0x1:0x2}};_0x14306a['bs']||={'dictionary':{},'getPluralForm':null},_0x14306a['bs']['dictionary']=Object['assign'](_0x14306a['bs']['dictionary'],_0x3fd4c8),_0x14306a['bs']['getPluralForm']=_0x3c4c27;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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?'},'getPluralForm':
|
23
|
+
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x13a75a=>0x1!=_0x13a75a}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1a109b=>{const {ca:{dictionary:_0x3a0755,getPluralForm:_0x2f06be}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x34ce41=>0x1!=_0x34ce41}};_0x1a109b['ca']||={'dictionary':{},'getPluralForm':null},_0x1a109b['ca']['dictionary']=Object['assign'](_0x1a109b['ca']['dictionary'],_0x3a0755),_0x1a109b['ca']['getPluralForm']=_0x2f06be;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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ý?'},'getPluralForm':
|
23
|
+
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x488081=>0x1==_0x488081&&_0x488081%0x1==0x0?0x0:_0x488081>=0x2&&_0x488081<=0x4&&_0x488081%0x1==0x0?0x1:_0x488081%0x1!=0x0?0x2:0x3}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x4bad3b=>{const {cs:{dictionary:_0x198157,getPluralForm:_0x5c3219}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x69f382=>0x1==_0x69f382&&_0x69f382%0x1==0x0?0x0:_0x69f382>=0x2&&_0x69f382<=0x4&&_0x69f382%0x1==0x0?0x1:_0x69f382%0x1!=0x0?0x2:0x3}};_0x4bad3b['cs']||={'dictionary':{},'getPluralForm':null},_0x4bad3b['cs']['dictionary']=Object['assign'](_0x4bad3b['cs']['dictionary'],_0x198157),_0x4bad3b['cs']['getPluralForm']=_0x5c3219;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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?'},'getPluralForm':
|
23
|
+
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x2820b4=>0x1!=_0x2820b4}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x408025=>{const {da:{dictionary:_0x119663,getPluralForm:_0x3fbc27}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x1812ac=>0x1!=_0x1812ac}};_0x408025['da']||={'dictionary':{},'getPluralForm':null},_0x408025['da']['dictionary']=Object['assign'](_0x408025['da']['dictionary'],_0x119663),_0x408025['da']['getPluralForm']=_0x3fbc27;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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?'},'getPluralForm':
|
23
|
+
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x3926af=>0x1!=_0x3926af}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x30c661=>{const {'de-ch':{dictionary:_0x38a7d3,getPluralForm:_0x33bcfb}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x34bc85=>0x1!=_0x34bc85}};_0x30c661['de-ch']||={'dictionary':{},'getPluralForm':null},_0x30c661['de-ch']['dictionary']=Object['assign'](_0x30c661['de-ch']['dictionary'],_0x38a7d3),_0x30c661['de-ch']['getPluralForm']=_0x33bcfb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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?'},'getPluralForm':
|
23
|
+
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x5ed6a8=>0x1!=_0x5ed6a8}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x2db3de=>{const {de:{dictionary:_0x30b556,getPluralForm:_0x284ccb}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x359692=>0x1!=_0x359692}};_0x2db3de['de']||={'dictionary':{},'getPluralForm':null},_0x2db3de['de']['dictionary']=Object['assign'](_0x2db3de['de']['dictionary'],_0x30b556),_0x2db3de['de']['getPluralForm']=_0x284ccb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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?':'Σίγουρα;'},'getPluralForm':
|
23
|
+
export default{'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x5a633f=>0x1!=_0x5a633f}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xfedf00=>{const {el:{dictionary:_0xccc96,getPluralForm:_0xcf75a}}={'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x2a55b6=>0x1!=_0x2a55b6}};_0xfedf00['el']||={'dictionary':{},'getPluralForm':null},_0xfedf00['el']['dictionary']=Object['assign'](_0xfedf00['el']['dictionary'],_0xccc96),_0xfedf00['el']['getPluralForm']=_0xcf75a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':
|
23
|
+
export default{'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x10e206=>0x1!=_0x10e206}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x49b7ff=>{const {'en-au':{dictionary:_0x3a9516,getPluralForm:_0x3ed832}}={'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x5e1103=>0x1!=_0x5e1103}};_0x49b7ff['en-au']||={'dictionary':{},'getPluralForm':null},_0x49b7ff['en-au']['dictionary']=Object['assign'](_0x49b7ff['en-au']['dictionary'],_0x3a9516),_0x49b7ff['en-au']['getPluralForm']=_0x3ed832;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x39947a=>{const {en:{dictionary:_0x58bdc9,getPluralForm:_0x590a08}}={'en':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':null}};_0x39947a['en']||={'dictionary':{},'getPluralForm':null},_0x39947a['en']['dictionary']=Object['assign'](_0x39947a['en']['dictionary'],_0x58bdc9),_0x39947a['en']['getPluralForm']=_0x590a08;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':
|
23
|
+
export default{'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x2d67f8=>0x1==_0x2d67f8?0x0:0x0!=_0x2d67f8&&_0x2d67f8%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1aa3c7=>{const {'es-co':{dictionary:_0x45352e,getPluralForm:_0x91acd6}}={'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0xf3847d=>0x1==_0xf3847d?0x0:0x0!=_0xf3847d&&_0xf3847d%0xf4240==0x0?0x1:0x2}};_0x1aa3c7['es-co']||={'dictionary':{},'getPluralForm':null},_0x1aa3c7['es-co']['dictionary']=Object['assign'](_0x1aa3c7['es-co']['dictionary'],_0x45352e),_0x1aa3c7['es-co']['getPluralForm']=_0x91acd6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|
package/dist/translations/es.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':
|
23
|
+
export default{'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x25df3f=>0x1==_0x25df3f?0x0:0x0!=_0x25df3f&&_0x25df3f%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x191774=>{const {es:{dictionary:_0x551ff3,getPluralForm:_0x2097c6}}={'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x5b98bd=>0x1==_0x5b98bd?0x0:0x0!=_0x5b98bd&&_0x5b98bd%0xf4240==0x0?0x1:0x2}};_0x191774['es']||={'dictionary':{},'getPluralForm':null},_0x191774['es']['dictionary']=Object['assign'](_0x191774['es']['dictionary'],_0x551ff3),_0x191774['es']['getPluralForm']=_0x2097c6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|
package/dist/translations/et.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':
|
23
|
+
export default{'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x56795d=>0x1!=_0x56795d}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5d8020=>{const {et:{dictionary:_0x54cf02,getPluralForm:_0x1a8cb9}}={'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x142f94=>0x1!=_0x142f94}};_0x5d8020['et']||={'dictionary':{},'getPluralForm':null},_0x5d8020['et']['dictionary']=Object['assign'](_0x5d8020['et']['dictionary'],_0x54cf02),_0x5d8020['et']['getPluralForm']=_0x1a8cb9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|