@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250129.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.
Files changed (75) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE.md +17 -0
  3. package/README.md +36 -0
  4. package/build/uploadcare.js +4 -0
  5. package/ckeditor5-metadata.json +47 -0
  6. package/dist/index-content.css +5 -0
  7. package/dist/index-editor.css +265 -0
  8. package/dist/index.css +315 -0
  9. package/dist/index.js +25 -0
  10. package/lang/contexts.json +27 -0
  11. package/package.json +80 -0
  12. package/src/augmentation.d.ts +30 -0
  13. package/src/augmentation.js +23 -0
  14. package/src/index.d.ts +16 -0
  15. package/src/index.js +23 -0
  16. package/src/ui/uploadcarecontroller.d.ts +30 -0
  17. package/src/ui/uploadcarecontroller.js +24 -0
  18. package/src/ui/uploadcareformview.d.ts +23 -0
  19. package/src/ui/uploadcareformview.js +23 -0
  20. package/src/uploadcare.d.ts +48 -0
  21. package/src/uploadcare.js +23 -0
  22. package/src/uploadcarecommand.d.ts +38 -0
  23. package/src/uploadcarecommand.js +23 -0
  24. package/src/uploadcareconfig.d.ts +227 -0
  25. package/src/uploadcareconfig.js +23 -0
  26. package/src/uploadcareediting.d.ts +49 -0
  27. package/src/uploadcareediting.js +23 -0
  28. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +78 -0
  29. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
  30. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +25 -0
  31. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
  32. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +27 -0
  33. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
  34. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +24 -0
  35. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
  36. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +32 -0
  37. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
  38. package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +49 -0
  39. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
  40. package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +38 -0
  41. package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
  42. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +48 -0
  43. package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
  44. package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +23 -0
  45. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
  46. package/src/uploadcareimageedit.d.ts +32 -0
  47. package/src/uploadcareimageedit.js +23 -0
  48. package/src/uploadcareui.d.ts +41 -0
  49. package/src/uploadcareui.js +23 -0
  50. package/src/uploadcareuploadadapter.d.ts +39 -0
  51. package/src/uploadcareuploadadapter.js +23 -0
  52. package/src/utils/common-translations.d.ts +5 -0
  53. package/src/utils/common-translations.js +23 -0
  54. package/src/utils/dialogfocusmanagerview.d.ts +29 -0
  55. package/src/utils/dialogfocusmanagerview.js +23 -0
  56. package/src/utils/editingutils.d.ts +5 -0
  57. package/src/utils/editingutils.js +23 -0
  58. package/src/utils/isancestor.d.ts +8 -0
  59. package/src/utils/isancestor.js +23 -0
  60. package/src/utils/uploadutils.d.ts +5 -0
  61. package/src/utils/uploadutils.js +23 -0
  62. package/theme/icons/dropbox.svg +11 -0
  63. package/theme/icons/error.svg +1 -0
  64. package/theme/icons/facebook.svg +11 -0
  65. package/theme/icons/google-drive.svg +11 -0
  66. package/theme/icons/google-photos.svg +11 -0
  67. package/theme/icons/image-upload.svg +11 -0
  68. package/theme/icons/instagram.svg +11 -0
  69. package/theme/icons/link.svg +11 -0
  70. package/theme/icons/local.svg +11 -0
  71. package/theme/icons/onedrive.svg +11 -0
  72. package/theme/icons/uploadcare-image-edit.svg +11 -0
  73. package/theme/uploadcare-form.css +198 -0
  74. package/theme/uploadcare-theme.css +20 -0
  75. package/theme/uploadcareimageedit.css +64 -0
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{Plugin as _0x1f49bd}from'ckeditor5/src/core.js';import{FileRepository as _0xa5ecbc}from'ckeditor5/src/upload.js';import _0x5388f9 from'./uploadcareediting.js';import _0x1c8be4 from'./utils/uploadutils.js';import{getImageUrls as _0x4f30b8}from'./utils/editingutils.js';export default class f extends _0x1f49bd{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xa5ecbc,_0x5388f9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1135b8=this['editor'];if(!!!_0x1135b8['config']['get']('uploadcare'))return;_0x1135b8['plugins']['get'](_0xa5ecbc)['createUploadAdapter']=_0x253b07=>new A(_0x253b07,_0x1135b8),_0x1135b8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x517e95,{imageElement:_0x5934ca,data:_0xc07bbb})=>{_0x1135b8['model']['change'](_0x270f73=>{_0x270f73['setAttribute']('uploadcareImageId',_0xc07bbb['uploadcareImageId'],_0x5934ca);});});}}class A{constructor(_0x11eeaf,_0x2da8e4){this['loader']=_0x11eeaf,this['editor']=_0x2da8e4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x56a167=this['editor']['config']['get']('uploadcare.pubkey'),_0xedf645=await this['loader']['file'];return _0x1c8be4['upload']({'file':_0xedf645,'publicKey':_0x56a167,'signal':this['controller']['signal'],'onProgress':_0x574b9a=>{_0x574b9a&&_0x574b9a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x574b9a['value']);}})['then'](async _0x1a30f2=>{const {imageFallbackUrl:_0x287542,imageSources:_0x3a3626}=_0x4f30b8(_0x1a30f2['cdnUrl'],_0x1a30f2['imageInfo']['width']);return{'uploadcareImageId':_0x1a30f2['uuid'],'default':_0x287542,'sources':_0x3a3626};})['catch'](()=>{const _0x5e782f=t('Cannot\x20upload\x20file:')+('\x20'+_0xedf645['name']+'.');return Promise['reject'](_0x5e782f);});}['abort'](){this['controller']['abort']();}}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ export {};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{UploadcareSource as _0x221a81}from'../uploadcareconfig.js';export function getTranslation(_0x532c0a,_0x35f478,_0x44429c){const t=_0x532c0a['t'],_0x5d14be=_0x532c0a['t'];switch(_0x35f478){case _0x221a81['Local']:return{'text':_0x5d14be('Insert'===_0x44429c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5d14be('From\x20computer')};case _0x221a81['URL']:return{'text':'Insert'===_0x44429c?_0x5d14be('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5d14be('Via\x20URL')};case _0x221a81['Dropbox']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x221a81['Facebook']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x221a81['GDrive']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x221a81['GPhotos']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x221a81['Instagram']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x221a81['OneDrive']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x35f478;}}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module uploadcare/utils/dialogfocusmanagerview
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View, type TemplateDefinition } from 'ckeditor5/src/ui.js';
10
+ import '../../theme/uploadcare-form.css';
11
+ /**
12
+ * A helper class that facilitates managing focus within a dialog form. It provides a mechanism
13
+ * for adding a focusable element to the template that redirects the focus back to the dialog.
14
+ *
15
+ * Uploadcare provides web components and iframes that can disrupt the focus flow in the dialog,
16
+ * especially during keyboard navigation, which can result in users losing the ability to cycle through
17
+ * dialog elements.
18
+ */
19
+ export default abstract class DialogFocusManagerView extends View {
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ constructor(locale: Locale);
24
+ /**
25
+ * Returns a focusable element that should be added to the template where needed.
26
+ * This element helps with focus management within the dialog.
27
+ */
28
+ getFocusableElement(): TemplateDefinition;
29
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x2b9a(){var _0x529107=['6399382JZAtRn','createCollection','5762890eQRxJG','1461054bboQXB','3518382vnwFsW','47DAPDyS','3717qMuOep','focusCycler','16UpYXAM','true','div','getFocusableElement','fire','342110XaNGBZ','focusTracker','9176qOBLHe','bindTemplate','7uReYaJ','forwardCycle','1298jQicgl'];_0x2b9a=function(){return _0x529107;};return _0x2b9a();}var _0x3f8e00=_0x3e62;(function(_0x484ee1,_0xf22753){var _0x1b577f=_0x3e62,_0x3e1a63=_0x484ee1();while(!![]){try{var _0x580f80=-parseInt(_0x1b577f(0x102))/0x1*(-parseInt(_0x1b577f(0xfc))/0x2)+-parseInt(_0x1b577f(0x100))/0x3+-parseInt(_0x1b577f(0xf1))/0x4*(parseInt(_0x1b577f(0xf6))/0x5)+-parseInt(_0x1b577f(0x101))/0x6*(-parseInt(_0x1b577f(0xfa))/0x7)+-parseInt(_0x1b577f(0xf8))/0x8*(-parseInt(_0x1b577f(0x103))/0x9)+parseInt(_0x1b577f(0xff))/0xa+-parseInt(_0x1b577f(0xfd))/0xb;if(_0x580f80===_0xf22753)break;else _0x3e1a63['push'](_0x3e1a63['shift']());}catch(_0x130e28){_0x3e1a63['push'](_0x3e1a63['shift']());}}}(_0x2b9a,0x4f350));function _0x3e62(_0x1a2ddf,_0x12b5c9){var _0x2b9a03=_0x2b9a();return _0x3e62=function(_0x3e6263,_0x2018ab){_0x3e6263=_0x3e6263-0xf1;var _0x2c9357=_0x2b9a03[_0x3e6263];return _0x2c9357;},_0x3e62(_0x1a2ddf,_0x12b5c9);}import{FocusTracker as _0x2df653}from'ckeditor5/src/utils.js';import{View as _0xc3e23f,FocusCycler as _0x438b88}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0xc3e23f{constructor(_0x2e9709){var _0x530419=_0x3e62;super(_0x2e9709),this[_0x530419(0xf7)]=new _0x2df653(),this[_0x530419(0x104)]=new _0x438b88({'focusables':this[_0x530419(0xfe)](),'focusTracker':this[_0x530419(0xf7)]});}[_0x3f8e00(0xf4)](){var _0x5505c7=_0x3f8e00;return{'tag':_0x5505c7(0xf3),'attributes':{'aria-hidden':_0x5505c7(0xf2),'tabindex':'0'},'on':{'focus':this[_0x5505c7(0xf9)]['to'](()=>{var _0x542a8d=_0x5505c7;this[_0x542a8d(0x104)][_0x542a8d(0xf5)](_0x542a8d(0xfb));})}};}}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ export {};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x5717e4,_0x53d6a5){const _0x23f317=_0x3742,_0x252785=_0x5717e4();while(!![]){try{const _0x2d23d9=-parseInt(_0x23f317(0xd4))/0x1*(parseInt(_0x23f317(0xd7))/0x2)+-parseInt(_0x23f317(0xb1))/0x3+parseInt(_0x23f317(0xb2))/0x4+-parseInt(_0x23f317(0xb0))/0x5*(-parseInt(_0x23f317(0xb8))/0x6)+-parseInt(_0x23f317(0xb7))/0x7*(parseInt(_0x23f317(0xa8))/0x8)+parseInt(_0x23f317(0xc5))/0x9*(-parseInt(_0x23f317(0xc8))/0xa)+parseInt(_0x23f317(0xc1))/0xb;if(_0x2d23d9===_0x53d6a5)break;else _0x252785['push'](_0x252785['shift']());}catch(_0x5a0191){_0x252785['push'](_0x252785['shift']());}}}(_0x5d1c,0x3dd16));import{global as _0x2dec8b,DomEmitterMixin as _0x5e3310}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0xaa598a){const _0x4af494=_0x3742,_0x14a463=R(_0xaa598a);return _0x535c74=>!(!_0x535c74||!_0x535c74['is'](_0x4af494(0xdd),_0x4af494(0xbd))&&!_0x535c74['is'](_0x4af494(0xdd),_0x4af494(0xa6)))&&(!!_0x535c74[_0x4af494(0xdc)](_0x4af494(0xab))||!!_0x535c74[_0x4af494(0xdc)](_0x4af494(0xce))&&_0x14a463(_0x535c74[_0x4af494(0xc4)](_0x4af494(0xce))));}export function getImageUrls(_0x2bab0f,_0x33c94f){const _0x3e3ef2=_0x3742,_0x765301=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3e3ef2(0xd6)](_0x4f9eb8=>_0x4f9eb8<=_0x33c94f)[_0x3e3ef2(0xaa)](_0x1b52fa=>_0x2bab0f[_0x3e3ef2(0xbf)](/\/$/,'')+_0x3e3ef2(0xcb)+_0x1b52fa+_0x3e3ef2(0xe0)+_0x1b52fa+'w');return{'imageFallbackUrl':_0x2bab0f,'imageSources':[{'srcset':_0x765301[_0x3e3ef2(0xb5)](',\x20'),'sizes':_0x3e3ef2(0xdf)+_0x33c94f+_0x3e3ef2(0xca)+_0x33c94f+'px','type':_0x3e3ef2(0xba)}]};}function _0x3742(_0x2060bf,_0x3beb00){const _0x5d1ce4=_0x5d1c();return _0x3742=function(_0x374232,_0x35d6bf){_0x374232=_0x374232-0xa6;let _0x4f6a6f=_0x5d1ce4[_0x374232];return _0x4f6a6f;},_0x3742(_0x2060bf,_0x3beb00);}export function getImageDimension(_0x154225,_0x1ea7b7,_0x2a9085){const _0x5855e8=_0x3742,_0x1aa64b=_0x154225[_0x5855e8(0xd3)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1aa64b?parseInt(_0x1aa64b[0x1],0xa):_0x1ea7b7,'height':_0x1aa64b?parseInt(_0x1aa64b[0x2],0xa):_0x2a9085};}export function showImageProcessingIndicator(_0x430418,_0x1c93aa){const _0xe61fd6=_0x3742,_0x3065f2=Object[_0xe61fd6(0xdb)](_0x5e3310),_0x10143a=_0x430418[_0xe61fd6(0xd0)][_0xe61fd6(0xd5)](_0xe61fd6(0xda)),_0x248e12=_0x430418[_0xe61fd6(0xd1)][_0xe61fd6(0xc7)][_0xe61fd6(0xb4)](_0x1c93aa),_0x81ca13=_0x10143a[_0xe61fd6(0xc0)](_0x248e12),_0x21ec4a=_0x430418[_0xe61fd6(0xd1)][_0xe61fd6(0xbc)][_0xe61fd6(0xbe)][_0xe61fd6(0xde)](_0x81ca13),_0x521d1b=_0x1c93aa[_0xe61fd6(0xc4)](_0xe61fd6(0xac)),_0x4d16cc=_0x1c93aa[_0xe61fd6(0xc4)](_0xe61fd6(0xcd)),_0x573c86=_0xe61fd6(0xc9);_0x430418[_0xe61fd6(0xd1)][_0xe61fd6(0xbc)][_0xe61fd6(0xb3)](_0x56e27b=>{const _0x575166=_0xe61fd6;_0x56e27b[_0x575166(0xc2)](_0x573c86,_0x248e12),_0x56e27b[_0x575166(0xa7)](_0x575166(0xb6),_0x521d1b+'/'+_0x4d16cc,_0x81ca13);}),_0x3065f2[_0xe61fd6(0xc3)](_0x21ec4a,_0xe61fd6(0xad),()=>{const _0x25a7f2=_0xe61fd6;_0x3065f2[_0x25a7f2(0xcc)](_0x21ec4a,_0x25a7f2(0xad)),_0x430418[_0x25a7f2(0xd1)][_0x25a7f2(0xbc)][_0x25a7f2(0xb3)](_0x169ef7=>{const _0x3af162=_0x25a7f2;_0x169ef7[_0x3af162(0xd8)](_0x573c86,_0x248e12),_0x169ef7[_0x3af162(0xb9)](_0x3af162(0xb6),_0x81ca13);});});}function R(_0x77b70b){const _0x140102=_0x3742;if(Array[_0x140102(0xc6)](_0x77b70b)){const _0x459f2c=_0x77b70b[_0x140102(0xaa)](R);return _0x151c11=>_0x459f2c[_0x140102(0xd2)](_0x433c32=>_0x433c32(_0x151c11));}if(_0x140102(0xcf)==_0x77b70b){const _0x35eb82=_0x2dec8b[_0x140102(0xae)][_0x140102(0xbb)][_0x140102(0xcf)];return _0x5df178=>new URL(_0x5df178,_0x2dec8b[_0x140102(0xa9)][_0x140102(0xaf)])[_0x140102(0xcf)]==_0x35eb82;}return _0x140102(0xd9)==typeof _0x77b70b?_0x77b70b:_0x77b70b instanceof RegExp?_0x45222d=>!(!_0x45222d[_0x140102(0xd3)](_0x77b70b)&&!_0x45222d[_0x140102(0xbf)](/^https?:\/\//,'')[_0x140102(0xd3)](_0x77b70b)):()=>!0x1;}function _0x5d1c(){const _0x5be20e=['width','load','window','baseURI','5ZQaFZr','949215fczrYv','1543104oNEbKA','change','toViewElement','join','aspect-ratio','98ZWdoGS','1382052FBIXnv','removeStyle','image/webp','location','view','imageBlock','domConverter','replace','findViewImgElement','7643735BDTxaH','addClass','listenTo','getAttribute','657ALZbXj','isArray','mapper','43850dutlgl','image-processing','px)\x20100vw,\x20','/-/resize/','stopListening','height','src','origin','plugins','editing','some','match','1jkzMpB','get','filter','623698kaVlbV','removeClass','function','ImageUtils','create','hasAttribute','element','viewToDom','(max-width:\x20','x/\x20','imageInline','setStyle','62536evijbG','document','map','uploadcareImageId'];_0x5d1c=function(){return _0x5be20e;};return _0x5d1c();}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * Checks if specified wrapper element is one of the ancestors of event target element.
7
+ */
8
+ export declare function isAncestor(evt: KeyboardEvent, wrapper: HTMLElement): boolean;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0xa3978b,_0x33f8f4){var _0x1e9925=_0xd50c,_0x15d160=_0xa3978b();while(!![]){try{var _0x37a463=-parseInt(_0x1e9925(0x17f))/0x1+-parseInt(_0x1e9925(0x17b))/0x2*(-parseInt(_0x1e9925(0x17e))/0x3)+-parseInt(_0x1e9925(0x182))/0x4*(-parseInt(_0x1e9925(0x187))/0x5)+parseInt(_0x1e9925(0x188))/0x6*(parseInt(_0x1e9925(0x185))/0x7)+parseInt(_0x1e9925(0x186))/0x8*(-parseInt(_0x1e9925(0x180))/0x9)+-parseInt(_0x1e9925(0x17c))/0xa*(parseInt(_0x1e9925(0x184))/0xb)+-parseInt(_0x1e9925(0x181))/0xc;if(_0x37a463===_0x33f8f4)break;else _0x15d160['push'](_0x15d160['shift']());}catch(_0x4abe9f){_0x15d160['push'](_0x15d160['shift']());}}}(_0x5d7c,0x794ee));import{getAncestors as _0x47df30}from'ckeditor5/src/utils.js';function _0xd50c(_0x21e8f4,_0x28f7ff){var _0x5d7c99=_0x5d7c();return _0xd50c=function(_0xd50cd7,_0x89827e){_0xd50cd7=_0xd50cd7-0x17b;var _0xc8319b=_0x5d7c99[_0xd50cd7];return _0xc8319b;},_0xd50c(_0x21e8f4,_0x28f7ff);}export function isAncestor(_0x51ab4d,_0x399ef8){var _0x15c954=_0xd50c;return _0x47df30(_0x51ab4d[_0x15c954(0x17d)])[_0x15c954(0x183)](_0x399ef8);}function _0x5d7c(){var _0x574041=['9kYafuT','10567020yVzMeP','208JbuiiB','includes','2838ohxdfQ','182WPnzvZ','4710376rRELOj','82265TWzjWJ','99894phrpXf','844266kWMlni','6190OqbCJU','target','6LYldIr','6734xcvAbn'];_0x5d7c=function(){return _0x574041;};return _0x5d7c();}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ export {};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x5b71a8=_0x519c;(function(_0x44ea44,_0x4e551d){var _0x5eb1a2=_0x519c,_0x4e112e=_0x44ea44();while(!![]){try{var _0xc781b=-parseInt(_0x5eb1a2(0xa8))/0x1+-parseInt(_0x5eb1a2(0xab))/0x2*(parseInt(_0x5eb1a2(0xaa))/0x3)+-parseInt(_0x5eb1a2(0xad))/0x4+parseInt(_0x5eb1a2(0xb1))/0x5+parseInt(_0x5eb1a2(0xb2))/0x6+parseInt(_0x5eb1a2(0xa7))/0x7*(parseInt(_0x5eb1a2(0xb3))/0x8)+-parseInt(_0x5eb1a2(0xaf))/0x9*(-parseInt(_0x5eb1a2(0xa9))/0xa);if(_0xc781b===_0x4e551d)break;else _0x4e112e['push'](_0x4e112e['shift']());}catch(_0x53abc7){_0x4e112e['push'](_0x4e112e['shift']());}}}(_0x4852,0x322ed));function _0x519c(_0x35aa21,_0x35403d){var _0x485211=_0x4852();return _0x519c=function(_0x519cb4,_0x5cd759){_0x519cb4=_0x519cb4-0xa7;var _0x168d82=_0x485211[_0x519cb4];return _0x168d82;},_0x519c(_0x35aa21,_0x35403d);}import{uploadFile as _0x49bad7,info as _0x14b62d}from'@uploadcare/upload-client';function _0x4852(){var _0x323194=['1418292weBQVF','getInfo','936225WaCYYq','1061934PYTUff','168IQohDW','99036cDhDMd','371498fXNeQp','10FBXnvC','15izVvfk','58342qWuGoP','auto','384112rCAvuQ','upload'];_0x4852=function(){return _0x323194;};return _0x4852();}export default class C{static[_0x5b71a8(0xae)]({file:_0x55342f,publicKey:_0x55db20,signal:_0x242319,onProgress:_0x49a9a1}){var _0x1debd9=_0x5b71a8;return _0x49bad7(_0x55342f,{'publicKey':_0x55db20,'store':_0x1debd9(0xac),'signal':_0x242319,'onProgress':_0x49a9a1});}static[_0x5b71a8(0xb0)](_0x21d0e4,_0x58b30e){return _0x14b62d(_0x21d0e4,_0x58b30e);}}
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.972 3.115A.746.746 0 0 1 6.374 3c.14 0 .28.037.402.115l3.229 2.059 3.228-2.057a.75.75 0 0 1 .805 0l3.629 2.31h.002a.757.757 0 0 1 0 1.264h-.002L15.034 8.37l2.633 1.678h.002a.756.756 0 0 1 0 1.262h-.002l-3.63 2.312a.746.746 0 0 1-.161.076c.234.08.409.275.482.5a.75.75 0 0 1-.322.854l-3.629 2.308a.75.75 0 0 1-.805 0l-3.63-2.31a.75.75 0 0 1-.229-1.031l.076-.122h.022a.746.746 0 0 1 .32-.189.75.75 0 0 1-.19-.086l-3.63-2.312a.756.756 0 0 1 0-1.264l2.632-1.678-2.632-1.676a.757.757 0 0 1 0-1.263l3.63-2.313Zm2.64 2.946L6.374 4.635 4.136 6.06l2.238 1.423 2.238-1.423Zm7.262 0-2.236-1.426-2.239 1.426 2.237 1.423 2.238-1.423Zm-3.637 2.306-2.232-1.422-2.233 1.422 2.235 1.422 2.23-1.422Zm-3.625 2.31L6.374 9.253l-2.238 1.426 2.238 1.424 2.238-1.424Zm7.262 0-2.236-1.425-2.239 1.426 2.237 1.424 2.238-1.424Zm-2.64 2.944-3.23-2.056-3.228 2.056a.75.75 0 0 1-.185.084.724.724 0 0 1 .185.08l3.229 2.057 3.226-2.055a.827.827 0 0 1 .18-.084.746.746 0 0 1-.178-.082Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M9.9 4.385a1.2 1.2 0 0 0-.44.44h.002l-5.284 9.15a1.2 1.2 0 0 0 1.04 1.8h10.564a1.2 1.2 0 0 0 1.04-1.8l-5.282-9.15a1.2 1.2 0 0 0-1.64-.44Zm.05 8.363a.301.301 0 0 1 .115-.023h.9a.301.301 0 0 1 .3.3v.9a.3.3 0 0 1-.3.3h-.9a.3.3 0 0 1-.3-.3v-.9a.3.3 0 0 1 .185-.277Zm-.185-4.723a.3.3 0 0 1 .3-.3h.9a.3.3 0 0 1 .3.3v3.4a.3.3 0 0 1-.3.3h-.9a.301.301 0 0 1-.3-.3v-3.4Z"/></svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.01 2C5.59 2 2 5.59 2 10.01a8.011 8.011 0 0 0 6.775 7.914.754.754 0 0 0 .598-.17.75.75 0 0 0 .262-.565v-5.02a.745.745 0 0 0-.22-.524.745.745 0 0 0-.526-.221H7.77v-.627H8.89a.745.745 0 0 0 .525-.22c.14-.14.22-.329.22-.526V8.324c0-.466.122-1.083.524-1.48.33-.326 1.017-.6 2.332-.43v.408c-.152.012-.305.017-.457.04-.335.048-.662.136-.943.326-.313.21-.497.505-.59.804-.093.3-.107.602-.107.88v1.18a.746.746 0 0 0 .744.746h1.158l-.098.63h-1.06a.744.744 0 0 0-.744.744v5.017a.752.752 0 0 0 .26.567c.081.07.177.119.28.148a.75.75 0 0 0 .319.022A8.012 8.012 0 0 0 10.01 2Zm0 1.486a6.52 6.52 0 0 1 6.521 6.524c0 2.945-1.973 5.386-4.65 6.197v-3.291h.951a.749.749 0 0 0 .736-.63l.332-2.12a.742.742 0 0 0-.17-.6.745.745 0 0 0-.564-.26h-1.285V8.87c0-.252.024-.384.039-.433.003-.008.002-.012.002-.016.016-.011.104-.055.326-.088a7 7 0 0 1 .984-.05.746.746 0 0 0 .528-.218c.14-.139.217-.33.217-.527V5.76a.747.747 0 0 0-.586-.729c-2.04-.438-3.433-.083-4.278.75-.818.807-.968 1.884-.968 2.543v.983H7.027a.744.744 0 0 0-.525.22.743.743 0 0 0-.219.526v2.119c0 .197.08.386.219.525.14.14.328.221.525.221h1.118v3.291c-2.681-.809-4.659-3.25-4.659-6.197a6.523 6.523 0 0 1 6.524-6.526Z"/></svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.666 3a.736.736 0 0 0-.371.1.748.748 0 0 0-.275.267l-4.918 8.397a.743.743 0 0 0-.006.744l2.46 4.318a.747.747 0 0 0 .65.377h9.606a.754.754 0 0 0 .65-.377l2.46-4.318a.74.74 0 0 0 .002-.735l-4.688-8.392a.754.754 0 0 0-.654-.38H7.666Zm1.285 1.492h3.195l3.854 6.9h-3.1l-3.949-6.9Zm-1.293.742L9.223 7.97l-4.016 6.988-1.6-2.813 4.051-6.91Zm2.424 4.237 1.098 1.922H8.977l1.105-1.922ZM8.12 12.885h7.87L14.38 15.71H6.494l1.625-2.826Z"/></svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M9.258 3.082c0-.594.486-1.082 1.08-1.082a4.38 4.38 0 0 1 4.239 5.489c-.18.688-.633 1.245-1.109 1.767h3.468c.595 0 1.082.488 1.082 1.082a4.382 4.382 0 0 1-5.49 4.24v-.001c-.689-.18-1.246-.633-1.768-1.109v3.468c0 .595-.487 1.082-1.082 1.082a4.384 4.384 0 0 1-4.111-2.866 4.382 4.382 0 0 1-.125-2.624c.18-.689.632-1.246 1.108-1.768H3.082A1.085 1.085 0 0 1 2 9.68a4.382 4.382 0 0 1 5.49-4.238c.69.18 1.246.632 1.768 1.108V3.082Zm3.164 1.32c-.435-.46-1.043-.667-1.662-.767v5.49c.619-.1 1.227-.307 1.662-.766a2.875 2.875 0 0 0 0-3.958ZM7.21 6.918a2.876 2.876 0 0 0-2.93.789c-.396.423-.569.983-.658 1.55h5.56c-.045-.295-.091-.59-.224-.859a2.879 2.879 0 0 0-1.748-1.48Zm9.254 3.841h-5.653l.013.1c.012.098.025.197.053.292a2.873 2.873 0 0 0 4.862 1.158 2.87 2.87 0 0 0 .398-.54v-.001c.111-.195.2-.403.263-.619.026-.092.038-.188.05-.283l.014-.107Zm-8.872 4.86c.437.459 1.045.666 1.665.766V10.89c-1.369.222-2.456 1.314-2.456 2.747 0 .738.283 1.447.791 1.981Z"/></svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_146_268)"><path d="M1.801 1.4C1.138 1.4.6 1.87.6 2.5v14.363c0 .64.534 1.037 1.186 1.037h9.494a2.97 2.97 0 0 1-.414-.287A2.998 2.998 0 0 1 9.81 15.59v-.007a3.003 3.003 0 0 1 .693-2.186l.383-.455-.02.018-3.65-3.41a.695.695 0 0 0-.957-.034L2.1 14V2.9h15v5.535a2.97 2.97 0 0 1 1.412.932l.088.105V2.5c0-.63-.547-1.1-1.2-1.1H1.802Zm11.713 2.803a2.146 2.146 0 0 0-2.049 1.992 2.14 2.14 0 0 0 1.28 2.096 2.13 2.13 0 0 0 2.644-3.11 2.134 2.134 0 0 0-1.875-.978Z"/><path d="M16.122 19.5a.79.79 0 0 0 .79-.79v-5.373l2.059 2.455a.79.79 0 0 0 1.211-1.015l-3.351-3.995a.79.79 0 0 0-.996-.179.786.786 0 0 0-.299.221l-3.35 3.99a.79.79 0 1 0 1.21 1.017l1.936-2.306v5.185c0 .436.353.79.79.79Z"/><path d="M16.122 19.5a.79.79 0 0 0 .79-.79v-5.373l2.059 2.455a.79.79 0 0 0 1.211-1.015l-3.351-3.995a.79.79 0 0 0-.996-.179.786.786 0 0 0-.299.221l-3.35 3.99a.79.79 0 1 0 1.21 1.017l1.936-2.306v5.185c0 .436.353.79.79.79Z"/></g><defs><clipPath id="clip0_146_268"><rect width="20" height="20" transform="translate(0.599976 0.399963)"/></clipPath></defs></svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.978 2c-.945.004-1.73.02-2.4.086-.906.09-1.66.28-2.318.706A4.95 4.95 0 0 0 2.79 4.26c-.427.66-.615 1.412-.704 2.319C1.998 7.47 2 8.57 2 9.98v.057c0 1.41-.003 2.51.086 3.402.09.906.278 1.657.703 2.316.38.589.882 1.09 1.47 1.471.659.426 1.413.615 2.32.705.891.089 1.991.086 3.401.086h.057c1.41 0 2.51.003 3.402-.086.907-.089 1.658-.28 2.317-.705a4.958 4.958 0 0 0 1.47-1.47c.425-.66.614-1.41.704-2.317.088-.892.088-1.992.088-3.402V9.98c0-1.41 0-2.51-.088-3.402-.09-.907-.278-1.66-.703-2.319a4.95 4.95 0 0 0-1.471-1.468c-.659-.425-1.41-.616-2.316-.706-.893-.088-1.992-.085-3.403-.085H9.98c-.352 0-.686-.002-1.002 0Zm1.028 1.502c1.444 0 2.488.002 3.283.08.788.079 1.27.225 1.652.471.41.265.757.614 1.022 1.024.247.381.393.864.47 1.652.08.795.083 1.836.083 3.28 0 1.443-.004 2.487-.082 3.283-.079.787-.225 1.27-.471 1.65-.265.41-.612.759-1.022 1.023-.381.247-.866.393-1.654.471-.795.08-1.837.08-3.281.08-1.444 0-2.488-.003-3.283-.082-.787-.078-1.268-.222-1.649-.469a3.438 3.438 0 0 1-1.021-1.023c-.247-.383-.394-.865-.473-1.652-.079-.795-.08-1.838-.08-3.282 0-1.443 0-2.485.08-3.279.079-.788.225-1.27.47-1.65a3.45 3.45 0 0 1 1.024-1.026c.383-.246.862-.392 1.649-.47.795-.08 1.839-.08 3.283-.08ZM14.22 4.62a1.175 1.175 0 0 0-1.18 1.178c0 .312.123.613.344.833a1.185 1.185 0 0 0 1.668 0c.109-.109.196-.24.256-.382.059-.143.086-.297.086-.452 0-.154-.029-.308-.086-.45a1.18 1.18 0 0 0-1.088-.727Zm-4.213 1.343a4.042 4.042 0 0 0-4.045 4.045 4.047 4.047 0 0 0 6.906 2.862 4.047 4.047 0 0 0-2.861-6.907Zm0 1.504a2.538 2.538 0 0 1 2.541 2.541c0 .675-.265 1.322-.742 1.8a2.543 2.543 0 0 1-1.8.741 2.54 2.54 0 0 1-1.796-.742 2.55 2.55 0 0 1-.55-2.771 2.54 2.54 0 0 1 2.347-1.569Z"/></svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.748 2a4.622 4.622 0 0 0-3.174 1.362L8.02 4.915a.783.783 0 0 0 .002 1.11.786.786 0 0 0 1.11 0l1.55-1.553c1.185-1.185 3.024-1.195 4.116-.104l.851.854c1.092 1.091 1.083 2.927-.101 4.11l-1.555 1.554a.787.787 0 0 0 .557 1.34.78.78 0 0 0 .553-.23l1.554-1.552c1.758-1.757 1.838-4.597.102-6.332l-.854-.853A4.31 4.31 0 0 0 12.748 2Zm-.488 4.973a.78.78 0 0 0-.553.23L7.2 11.71l-.004.002a.784.784 0 0 0 1.11 1.107l.003-.002 4.504-4.505a.785.785 0 0 0-.554-1.339Zm-6.79.815a.791.791 0 0 0-.554.234L3.36 9.573c-1.757 1.758-1.836 4.597-.101 6.332l.853.852c1.736 1.734 4.572 1.655 6.33-.102l1.547-1.547.006-.008a.777.777 0 0 0 .244-.554.782.782 0 0 0-.799-.797.774.774 0 0 0-.56.248l-1.545 1.547c-1.184 1.184-3.021 1.195-4.113.104l-.854-.854c-1.091-1.091-1.083-2.927.102-4.111l1.552-1.555a.787.787 0 0 0 .233-.555.79.79 0 0 0-.06-.3.793.793 0 0 0-.173-.253s-.104-.14-.183-.185c-.051-.03-.133-.047-.37-.047Z"/></svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.2 3c-.584 0-1.145.23-1.557.643A2.203 2.203 0 0 0 2 5.199v8.719a2.194 2.194 0 0 0 2.2 2.195h11.624a2.194 2.194 0 0 0 2.196-2.195V7.621a2.194 2.194 0 0 0-2.195-2.2h-5.393l-1.237-2.06A.752.752 0 0 0 8.56 3h-4.36Zm0 1.488h3.935l1.236 2.06a.75.75 0 0 0 .64.362h5.813a.712.712 0 0 1 .707.71v6.298a.707.707 0 0 1-.707.707H4.2a.71.71 0 0 1-.71-.707V5.199a.711.711 0 0 1 .71-.71Z"/></svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.223 5.001a5.277 5.277 0 0 0-4.408 2.258c-3.224.423-4.908 4.123-3.032 6.814l.004.008.002.004c.48.627 1.712 1.84 3.588 1.84h7.936c.667 0 1.32-.179 1.894-.522a3.838 3.838 0 0 0 1.381-1.46v-.005c1.13-2.16-.133-4.777-2.488-5.298-.617-1.853-2.177-3.242-4.111-3.565a5.273 5.273 0 0 0-.766-.074Zm-.092 1.5c.078 0 .154.001.23.008.077.004.154.014.231.021l.226.035a5.203 5.203 0 0 1 .45.116 3.31 3.31 0 0 1 .433.166 4.079 4.079 0 0 1 .606.348 4.195 4.195 0 0 1 .37.293 3.54 3.54 0 0 1 .33.348 3.517 3.517 0 0 1 .505.778 3.182 3.182 0 0 0-.42.117c-.082.03-.164.06-.244.094l-1.49.627-2.686-1.61a4.39 4.39 0 0 0-1.002-.445c.015-.01.032-.026.047-.039a3.744 3.744 0 0 1 .4-.289 3.713 3.713 0 0 1 .424-.23 3.02 3.02 0 0 1 .219-.094c.074-.03.15-.053.225-.076a3.77 3.77 0 0 1 .222-.06c.077-.02.157-.035.233-.05.075-.015.15-.025.228-.033.077-.007.154-.015.233-.02.078-.003.154-.005.23-.005Zm-3.8 2.193h.003c.54.001 1.111.156 1.551.428l1.783 1.07-5.867 2.471c-.535-1.29-.15-2.788 1.059-3.537l.007-.004c.441-.271.946-.42 1.463-.428Zm7.974 1.33.152.008c.086.008.173.018.258.033a1.956 1.956 0 0 1 .477.145 2.179 2.179 0 0 1 .918.756c.046.066.09.133.127.2a2.284 2.284 0 0 1 .269.919c.004.081.008.165.002.248-.003.055-.012.111-.02.166l-3.507-2.102.459-.193.015-.008a2.118 2.118 0 0 1 .41-.125 2.297 2.297 0 0 1 .44-.047Zm-3.008 1.112 4.506 2.699a2.217 2.217 0 0 1-.338.26 2.228 2.228 0 0 1-.668.275c-.078.019-.157.03-.24.04-.081.007-.164.015-.246.015H6.373c-.057 0-.113-.001-.168-.004a1.904 1.904 0 0 1-.164-.016l-.154-.023c-.051-.008-.102-.014-.15-.026a2.942 2.942 0 0 1-.77-.3 2.889 2.889 0 0 1-.21-.133c-.012-.008-.019-.016-.03-.024l6.57-2.763Z"/></svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1C.538 1 0 1.47 0 2.1v14.363c0 .64.534 1.037 1.186 1.037H5.06l5.058-5.078L6.617 9.15a.696.696 0 0 0-.957-.033L1.5 13.6V2.5h15v4.354a3.478 3.478 0 0 1 1.5.049V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713 2.803a2.147 2.147 0 0 0-2.049 1.992 2.14 2.14 0 0 0 1.28 2.096 2.13 2.13 0 0 0 2.642-3.11 2.129 2.129 0 0 0-1.873-.978ZM8.089 17.635v2.388h2.389l7.046-7.046-2.39-2.39-7.045 7.048Zm11.282-6.507a.637.637 0 0 0 .139-.692.603.603 0 0 0-.139-.205l-1.49-1.488a.63.63 0 0 0-.899 0l-1.166 1.163 2.39 2.39 1.165-1.168Z"/></svg>
@@ -0,0 +1,198 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+
10
+ @import "@ckeditor/ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css";
11
+
12
+ :root {
13
+ --ck-uploadcare-form-view-width: 700px;
14
+ --ck-uploadcare-external-source-view-height: 350px;
15
+ --ck-uploadcare-color-image-background: oklch(0.97 0 0);
16
+ --ck-uploadcare-color-icon-error: hsl(15, 100%, 43%);
17
+ --ck-uploadcare-color-skeleton: hsl(0, 0%, 98%);
18
+ }
19
+
20
+ .ck .ck-uploadcare-form {
21
+ max-width: 100%;
22
+ width: var(--ck-uploadcare-form-view-width);
23
+
24
+ .ck-uploadcare-form__loading {
25
+ .ck-uploadcare-form__loading-spinner {
26
+ width: 100%;
27
+ height: var(--ck-uploadcare-external-source-view-height);
28
+ background-color: var(--ck-uploadcare-color-image-background);
29
+
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ flex-direction: column;
34
+
35
+ .ck-spinner-container {
36
+ margin-bottom: 10px;
37
+ }
38
+ }
39
+ }
40
+
41
+ .ck-uploadcare-form__error {
42
+ .ck-uploadcare-form__error-contents {
43
+ width: 100%;
44
+ height: var(--ck-uploadcare-external-source-view-height);
45
+ background-color: var(--ck-uploadcare-color-image-background);
46
+
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ flex-direction: column;
51
+ gap: 5px;
52
+
53
+ h3 {
54
+ font-weight: 700;
55
+ padding: 0;
56
+ margin: 0;
57
+ }
58
+
59
+ .ck-icon {
60
+ color: var(--ck-uploadcare-color-icon-error);
61
+ }
62
+
63
+ .ck-button {
64
+ margin-top: 10px;
65
+ }
66
+ }
67
+ }
68
+
69
+ .ck-uploadcare-form__skeleton {
70
+ width: 100%;
71
+ height: 115px;
72
+
73
+ div {
74
+ height: 50%;
75
+ display: flex;
76
+ box-sizing: border-box;
77
+ min-width: 100%;
78
+ flex-direction: row;
79
+ justify-content: center;
80
+ align-items: center;
81
+
82
+ span {
83
+ display: block;
84
+ width: 32px;
85
+ height: 32px;
86
+ background-color: var(--ck-uploadcare-color-skeleton);
87
+ }
88
+ }
89
+
90
+ div + div {
91
+ gap: 20px;
92
+
93
+ span:first-child {
94
+ position: absolute;
95
+ left: 8px;
96
+ width: 80px;
97
+ }
98
+
99
+ span:last-child {
100
+ position: absolute;
101
+ right: 8px;
102
+ width: 80px;
103
+ }
104
+ }
105
+
106
+ div:first-child {
107
+ gap: 4px;
108
+ }
109
+ }
110
+
111
+ /* The following styles overrides the default Uploadcare styles */
112
+
113
+ /* stylelint-disable selector-type-no-unknown */
114
+ .mini-btn {
115
+ display: none;
116
+ }
117
+
118
+ .uc-viewport {
119
+ height: var(--ck-uploadcare-external-source-view-height);
120
+ }
121
+
122
+ uc-btn-ui button, .uc-primary-btn, .uc-secondary-btn {
123
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-standard);
124
+ min-width: var(--ck-ui-component-min-height);
125
+ min-height: var(--ck-ui-component-min-height);
126
+ }
127
+
128
+ .uc-primary-btn, uc-btn-ui.uc-primary button {
129
+ @mixin ck-button-colors --ck-color-button-action;
130
+ }
131
+
132
+ .uc-secondary-btn, uc-btn-ui.uc-secondary button {
133
+ @mixin ck-button-colors --ck-color-button-default;
134
+ }
135
+
136
+ uc-upload-list {
137
+ & .uc-toolbar {
138
+ gap: var(--ck-spacing-large);
139
+
140
+ }
141
+
142
+ & .uc-files {
143
+ padding-top: var(--ck-spacing-large);
144
+ max-height: var(--ck-uploadcare-external-source-view-height);
145
+ overflow-y: auto;
146
+ }
147
+ }
148
+
149
+ .uc-content {
150
+ padding: var(--ck-spacing-large);
151
+ gap: var(--ck-spacing-large);
152
+
153
+ & > .uc-iframe-wrapper {
154
+ height: var(--ck-uploadcare-external-source-view-height);
155
+ }
156
+
157
+ & > .uc-toolbar {
158
+ padding: var(--ck-spacing-large) 0 0;
159
+ }
160
+ }
161
+
162
+ uc-start-from {
163
+ & .uc-content {
164
+ gap: 0;
165
+ }
166
+ }
167
+
168
+ uc-file-item {
169
+ & > .uc-inner {
170
+ font-size: 1em;
171
+ }
172
+
173
+
174
+ & > .uc-inner:where([finished]) .uc-badge {
175
+ background: var(--ck-color-button-action-active-background);
176
+ }
177
+ }
178
+
179
+ uc-external-source .uc-cancel-btn {
180
+ visibility: hidden;
181
+ pointer-events: none;
182
+ }
183
+
184
+ uc-activity-header {
185
+ display: none;
186
+ }
187
+
188
+ uc-source-list {
189
+ display: none;
190
+ }
191
+
192
+ uc-cloud-image-editor-block {
193
+ [icon="closeMax"] .uc-icon_left {
194
+ transform: rotate(90deg);
195
+ }
196
+ }
197
+ /* stylelint-enable selector-type-no-unknown */
198
+ }
@@ -0,0 +1,20 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+
10
+ .ck-uploadcare-theme {
11
+ --uc-font-size: 13px; /* --ck-font-size-base */
12
+ --uc-radius: 2px; /* --ck-border-radius */
13
+ --uc-padding: calc(0.6em * 1.5); /* --ck-spacing-large */
14
+
15
+ --uc-primary-oklch-light: 54.45% 0.182 263.76;
16
+ --uc-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
17
+ --uc-secondary-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
18
+ --uc-muted-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
19
+ --uc-border-light: hsl(220, 6%, 81%); /* --ck-color-base-border */
20
+ }