@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260107.0 → 0.0.0-nightly-next-20260107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ckeditor5-metadata.json +2 -2
- package/{src → dist}/augmentation.d.ts +4 -0
- package/{src → dist}/index.d.ts +4 -0
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/{src → dist}/ui/uploadcarecontroller.d.ts +7 -3
- package/{src → dist}/ui/uploadcareformview.d.ts +5 -1
- package/{src → dist}/uploadcare.d.ts +5 -1
- package/{src → dist}/uploadcarecommand.d.ts +6 -2
- package/{src → dist}/uploadcareconfig.d.ts +5 -1
- package/{src → dist}/uploadcareediting.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +9 -5
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +5 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +5 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +5 -1
- package/{src → dist}/uploadcareimageedit.d.ts +5 -1
- package/{src → dist}/uploadcareui.d.ts +5 -1
- package/{src → dist}/uploadcareuploadadapter.d.ts +6 -2
- package/{src → dist}/utils/common-translations.d.ts +4 -0
- package/{src → dist}/utils/dialogfocusmanagerview.d.ts +6 -2
- package/{src → dist}/utils/editingutils.d.ts +4 -0
- package/{src → dist}/utils/isancestor.d.ts +4 -0
- package/{src → dist}/utils/uploadutils.d.ts +4 -0
- package/package.json +23 -33
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/build/uploadcare.js +0 -5
- package/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/ui/uploadcarecontroller.js +0 -24
- package/src/ui/uploadcareformview.js +0 -23
- package/src/uploadcare.js +0 -23
- package/src/uploadcarecommand.js +0 -23
- package/src/uploadcareconfig.js +0 -23
- package/src/uploadcareediting.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
- package/src/uploadcareimageedit.js +0 -23
- package/src/uploadcareui.js +0 -23
- package/src/uploadcareuploadadapter.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/dialogfocusmanagerview.js +0 -23
- package/src/utils/editingutils.js +0 -23
- package/src/utils/isancestor.js +0 -23
- package/src/utils/uploadutils.js +0 -23
package/src/uploadcareui.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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 _0x4837(){const _0x1cab2b=['uploadcareLicenseKeyUsageLimit','_showLicenseError','plugins','isOfficialPlugin','uploadcareLicenseKeyNotAllowed','_createMenuBarButtons','_getIntegrationKey','262758rUVSNr','Uploadcare','uploadcareLicenseKeyTrialLimit','pluginName','uploadcareLicenseKeyValid','icon','expired','execute','config','type','Facebook','reduce','label','_createToolbarButton','shortText','evaluationLimit','map','usageLimit','isImageSelected','Local','uploadcare','211608MMwNuN','isPremiumPlugin','Replace','11073861VWXHrK','trialLimit','Dropbox','assetManager','OneDrive','withText','tooltip','3516331XkolhI','uploadcareLicenseKeyDomainLimit','locale','1455972tllvnq','UploadcareUI','licenseKey','text','has','Insert','8peKWxm','bind','isEnabled','registerIntegration','afterInit','destroy','invalid','featureNotAllowed','url','5yJrfPY','push','30768brSZsm','commands','GPhotos','uploadcareLicenseKeyInvalid','ImageInsertUI','init','upload','uploadcareLicenseKeyExpired','GDrive','domainLimit','_licenseKeyCheckInterval','forEach','uploadcareLicenseKeyEvaluationLimit','_createButton','_createDropdownButtons','uploadcare.uploader.sourceList','get','2435805jeMazz','URL','_normalizeConfigSourceList','entries','editor'];_0x4837=function(){return _0x1cab2b;};return _0x4837();}const _0x362b74=_0x1a84;function _0x1a84(_0x2e113e,_0x575f0e){const _0x4837b6=_0x4837();return _0x1a84=function(_0x1a84b7,_0x2797ee){_0x1a84b7=_0x1a84b7-0x1e3;let _0x554f05=_0x4837b6[_0x1a84b7];return _0x554f05;},_0x1a84(_0x2e113e,_0x575f0e);}(function(_0x294403,_0x51774f){const _0x16923e=_0x1a84,_0x4f4545=_0x294403();while(!![]){try{const _0x1f2e64=parseInt(_0x16923e(0x1eb))/0x1+parseInt(_0x16923e(0x226))/0x2+-parseInt(_0x16923e(0x21a))/0x3+-parseInt(_0x16923e(0x1f8))/0x4*(-parseInt(_0x16923e(0x207))/0x5)+parseInt(_0x16923e(0x209))/0x6+-parseInt(_0x16923e(0x1f5))/0x7+parseInt(_0x16923e(0x1fe))/0x8*(parseInt(_0x16923e(0x1ee))/0x9);if(_0x1f2e64===_0x51774f)break;else _0x4f4545['push'](_0x4f4545['shift']());}catch(_0x3cb092){_0x4f4545['push'](_0x4f4545['shift']());}}}(_0x4837,0x9962d));import{Plugin as _0x11ca68}from'ckeditor5/src/core.js';import{IconDropbox as _0x498922,IconFacebook as _0x112678,IconGoogleDrive as _0x5eeae4,IconGooglePhotos as _0x2a0cf6,IconUploadcareImageUpload as _0x576f1e,IconUploadcareLink as _0x33c98d,IconOneDrive as _0x671eb8}from'ckeditor5/src/icons.js';import{ButtonView as _0x3c4cb8,MenuBarMenuListItemButtonView as _0x50729f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3114ec}from'./uploadcareconfig.js';import{getTranslation as _0x394a7e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x11ca68{[_0x362b74(0x1fa)];[_0x362b74(0x213)];static get[_0x362b74(0x229)](){const _0x18d9f9=_0x362b74;return _0x18d9f9(0x1f9);}static get[_0x362b74(0x222)](){return!0x0;}static get[_0x362b74(0x1ec)](){return!0x0;}[_0x362b74(0x20e)](){const _0x55f0a4=_0x362b74;this[_0x55f0a4(0x1fa)]=this[_0x55f0a4(0x21e)][_0x55f0a4(0x22e)][_0x55f0a4(0x219)](_0x55f0a4(0x1fa));const _0x5bc573=this[_0x55f0a4(0x21e)];this[_0x55f0a4(0x213)]=setInterval(()=>{const _0x14fd3a=_0x55f0a4;let _0x5a3dd8;for(const _0x26b3cd in _0x5bc573){const _0xdd1e72=_0x26b3cd,_0x5eb10f=_0x5bc573[_0xdd1e72];if(_0x14fd3a(0x22a)==_0x5eb10f||_0x14fd3a(0x20c)==_0x5eb10f||_0x14fd3a(0x210)==_0x5eb10f||_0x14fd3a(0x1f6)==_0x5eb10f||_0x14fd3a(0x223)==_0x5eb10f||_0x14fd3a(0x215)==_0x5eb10f||_0x14fd3a(0x228)==_0x5eb10f||_0x14fd3a(0x21f)==_0x5eb10f){delete _0x5bc573[_0xdd1e72],_0x5a3dd8=_0x5eb10f,clearInterval(this[_0x14fd3a(0x213)]),this[_0x14fd3a(0x213)]=void 0x0;break;}}_0x14fd3a(0x20c)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x204)),_0x14fd3a(0x210)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x22c)),_0x14fd3a(0x1f6)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x212)),_0x14fd3a(0x223)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x205),_0x14fd3a(0x227)),_0x14fd3a(0x215)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x1e5)),_0x14fd3a(0x228)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x1ef)),_0x14fd3a(0x21f)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x1e7));},0x3e8);}[_0x362b74(0x202)](){const _0x26ce5e=_0x362b74,{editor:_0x42af71}=this,_0x58208a=_0x42af71[_0x26ce5e(0x20a)][_0x26ce5e(0x219)](_0x26ce5e(0x1ea));if(!_0x58208a)return;const _0x38b4f2=this[_0x26ce5e(0x21c)](_0x42af71[_0x26ce5e(0x22e)][_0x26ce5e(0x219)](_0x26ce5e(0x218)))[_0x26ce5e(0x231)]((_0x503ddb,_0x4dc4e7)=>{const _0x30aa04=_0x26ce5e,_0x4fc664=this[_0x30aa04(0x225)](_0x4dc4e7[_0x30aa04(0x22f)]);return _0x503ddb[_0x4fc664]||(_0x503ddb[_0x4fc664]=[]),_0x503ddb[_0x4fc664][_0x30aa04(0x208)](_0x4dc4e7),_0x503ddb;},{});_0x42af71[_0x26ce5e(0x221)][_0x26ce5e(0x1fc)](_0x26ce5e(0x20d))&&_0x42af71[_0x26ce5e(0x20a)][_0x26ce5e(0x219)](_0x26ce5e(0x1ea))&&Object[_0x26ce5e(0x21d)](_0x38b4f2)[_0x26ce5e(0x214)](([_0x900891,_0x1067f8])=>{const _0x3b2576=_0x26ce5e;_0x42af71[_0x3b2576(0x221)][_0x3b2576(0x219)](_0x3b2576(0x20d))[_0x3b2576(0x201)]({'name':_0x900891,'observable':()=>_0x58208a,'buttonViewCreator':()=>this[_0x3b2576(0x1e3)](_0x1067f8),'formViewCreator':()=>this[_0x3b2576(0x217)](_0x1067f8),'menuBarButtonViewCreator':()=>this[_0x3b2576(0x224)](_0x1067f8),'override':_0x3b2576(0x1f1)!==_0x900891});});}[_0x362b74(0x203)](){const _0xb30847=_0x362b74;super[_0xb30847(0x203)](),this[_0xb30847(0x213)]&&clearInterval(this[_0xb30847(0x213)]);}[_0x362b74(0x21c)](_0x2bf27d){const _0x2d866c=_0x362b74,{locale:_0x115745}=this[_0x2d866c(0x21e)];return _0x2bf27d[_0x2d866c(0x1e6)](_0x132e93=>{const _0x53124d=_0x2d866c,_0x44e23c=_0x394a7e(_0x115745,_0x132e93,_0x53124d(0x1fd));switch(_0x132e93){case _0x3114ec[_0x53124d(0x1e9)]:return{'icon':_0x576f1e,'type':_0x3114ec[_0x53124d(0x1e9)],..._0x44e23c};case _0x3114ec[_0x53124d(0x21b)]:return{'icon':_0x33c98d,'type':_0x3114ec[_0x53124d(0x21b)],..._0x44e23c};case _0x3114ec[_0x53124d(0x1f0)]:return{'icon':_0x498922,'type':_0x3114ec[_0x53124d(0x1f0)],..._0x44e23c};case _0x3114ec[_0x53124d(0x230)]:return{'icon':_0x112678,'type':_0x3114ec[_0x53124d(0x230)],..._0x44e23c};case _0x3114ec[_0x53124d(0x211)]:return{'icon':_0x5eeae4,'type':_0x3114ec[_0x53124d(0x211)],..._0x44e23c};case _0x3114ec[_0x53124d(0x20b)]:return{'icon':_0x2a0cf6,'type':_0x3114ec[_0x53124d(0x20b)],..._0x44e23c};case _0x3114ec[_0x53124d(0x1f2)]:return{'icon':_0x671eb8,'type':_0x3114ec[_0x53124d(0x1f2)],..._0x44e23c};}});}[_0x362b74(0x225)](_0x4e1af7){const _0x479c0a=_0x362b74;switch(_0x4e1af7){case _0x3114ec[_0x479c0a(0x1e9)]:return _0x479c0a(0x20f);case _0x3114ec[_0x479c0a(0x21b)]:return _0x479c0a(0x206);default:return _0x479c0a(0x1f1);}}[_0x362b74(0x216)](_0x3c0cc2,_0x1cbe3f){const _0x5af9e8=_0x362b74,_0x4a1f7d=this[_0x5af9e8(0x21e)],_0x3deff0=new _0x3c0cc2(_0x4a1f7d[_0x5af9e8(0x1f7)]),_0x510e08=_0x4a1f7d[_0x5af9e8(0x20a)][_0x5af9e8(0x219)](_0x5af9e8(0x1ea));return _0x3deff0[_0x5af9e8(0x1ff)](_0x5af9e8(0x200))['to'](_0x510e08),_0x3deff0['on'](_0x5af9e8(0x22d),()=>{const _0x3f95a6=_0x5af9e8;_0x510e08[_0x3f95a6(0x22d)](_0x1cbe3f);}),_0x3deff0;}[_0x362b74(0x1e3)](_0x344328){const _0x242c65=_0x362b74,{locale:_0x4dd66d}=this[_0x242c65(0x21e)],_0xac8835=this[_0x242c65(0x21e)][_0x242c65(0x221)][_0x242c65(0x219)](_0x242c65(0x20d)),_0x4336e2=_0x344328[0x0],_0x4608b2=this[_0x242c65(0x216)](_0x3c4cb8,_0x4336e2[_0x242c65(0x22f)]);return _0x4608b2[_0x242c65(0x22b)]=_0x4336e2[_0x242c65(0x22b)],_0x4608b2[_0x242c65(0x1ff)](_0x242c65(0x232))['to'](_0xac8835,_0x242c65(0x1e8),_0x41f859=>_0x394a7e(_0x4dd66d,_0x4336e2[_0x242c65(0x22f)],_0x41f859?_0x242c65(0x1ed):_0x242c65(0x1fd))[_0x242c65(0x1fb)]),_0x4608b2[_0x242c65(0x1f4)]=!0x0,_0x4608b2;}[_0x362b74(0x217)](_0x193ef4){const _0x2ccda1=_0x362b74,{locale:_0x574982}=this[_0x2ccda1(0x21e)],_0x304204=this[_0x2ccda1(0x21e)][_0x2ccda1(0x221)][_0x2ccda1(0x219)](_0x2ccda1(0x20d));return _0x193ef4[_0x2ccda1(0x1e6)](_0x8e25a1=>{const _0x2567c6=_0x2ccda1,_0x2456fd=this[_0x2567c6(0x216)](_0x3c4cb8,_0x8e25a1[_0x2567c6(0x22f)]);return _0x2456fd[_0x2567c6(0x1f3)]=!0x0,_0x2456fd[_0x2567c6(0x22b)]=_0x8e25a1[_0x2567c6(0x22b)],_0x2456fd[_0x2567c6(0x1ff)](_0x2567c6(0x232))['to'](_0x304204,_0x2567c6(0x1e8),_0xd27373=>_0x394a7e(_0x574982,_0x8e25a1[_0x2567c6(0x22f)],_0xd27373?_0x2567c6(0x1ed):_0x2567c6(0x1fd))[_0x2567c6(0x1fb)]),_0x2456fd;});}[_0x362b74(0x224)](_0x201ab2){const _0x2e6e5e=_0x362b74;return _0x201ab2[_0x2e6e5e(0x1e6)](_0x1b26e7=>{const _0x451cc6=_0x2e6e5e,_0x3be5ff=this[_0x451cc6(0x216)](_0x50729f,_0x1b26e7[_0x451cc6(0x22f)]);return _0x3be5ff[_0x451cc6(0x22b)]=_0x1b26e7[_0x451cc6(0x22b)],_0x3be5ff[_0x451cc6(0x232)]=_0x1b26e7[_0x451cc6(0x1e4)],_0x3be5ff;});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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 _0x2e28d1}from'ckeditor5/src/core.js';import{FileRepository as _0x28ab0f}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x26566a}from'./uploadcareediting.js';import{UploadUtils as _0x1fa32c}from'./utils/uploadutils.js';import{getImageUrls as _0x5b8a2d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2e28d1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x28ab0f,_0x26566a];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1f7271=this['editor'];if(!!!_0x1f7271['config']['get']('uploadcare'))return;_0x1f7271['plugins']['get'](_0x28ab0f)['createUploadAdapter']=_0x5877af=>new k(_0x5877af,_0x1f7271),_0x1f7271['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4b02f2,{imageElement:_0x121688,data:_0x470c67})=>{_0x1f7271['model']['change'](_0x2e90c6=>{_0x2e90c6['setAttribute']('uploadcareImageId',_0x470c67['uploadcareImageId'],_0x121688);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x274b03,_0x28013d){this['loader']=_0x274b03,this['editor']=_0x28013d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3e5061=await this['loader']['file'];return _0x1fa32c['upload']({'file':_0x3e5061,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x16c7f3=>{_0x16c7f3&&_0x16c7f3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x16c7f3['value']);}})['then'](async _0x1be806=>{const {imageFallbackUrl:_0x8bb689,imageSources:_0x58a174}=_0x5b8a2d(_0x1be806['cdnUrl'],_0x1be806['imageInfo']['width']);return{'uploadcareImageId':_0x1be806['uuid'],'default':_0x8bb689,'sources':_0x58a174};})['catch'](()=>{const _0x46a979=t('Cannot\x20upload\x20file:')+('\x20'+_0x3e5061['name']+'.');return Promise['reject'](_0x46a979);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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 _0xb6f6af}from'../uploadcareconfig.js';export function getTranslation(_0x4a7469,_0x55d022,_0x257d84){const t=_0x4a7469['t'],_0x464174=_0x4a7469['t'];switch(_0x55d022){case _0xb6f6af['Local']:return{'text':_0x464174('Insert'===_0x257d84?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x464174('From\x20computer')};case _0xb6f6af['URL']:return{'text':'Insert'===_0x257d84?_0x464174('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x464174('Via\x20URL')};case _0xb6f6af['Dropbox']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xb6f6af['Facebook']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xb6f6af['GDrive']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xb6f6af['GPhotos']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xb6f6af['OneDrive']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x55d022;}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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 _0xae2d38=_0x1899;(function(_0x7623c4,_0xa675b4){var _0x2b7228=_0x1899,_0x13af78=_0x7623c4();while(!![]){try{var _0x25a2c3=-parseInt(_0x2b7228(0x1f2))/0x1*(parseInt(_0x2b7228(0x1ed))/0x2)+parseInt(_0x2b7228(0x1f4))/0x3*(parseInt(_0x2b7228(0x1f5))/0x4)+parseInt(_0x2b7228(0x1fa))/0x5*(-parseInt(_0x2b7228(0x1fb))/0x6)+parseInt(_0x2b7228(0x1f8))/0x7+parseInt(_0x2b7228(0x1f0))/0x8*(-parseInt(_0x2b7228(0x1fc))/0x9)+-parseInt(_0x2b7228(0x1ff))/0xa*(parseInt(_0x2b7228(0x1ef))/0xb)+parseInt(_0x2b7228(0x1f9))/0xc;if(_0x25a2c3===_0xa675b4)break;else _0x13af78['push'](_0x13af78['shift']());}catch(_0x106e44){_0x13af78['push'](_0x13af78['shift']());}}}(_0x1219,0x4c118));import{FocusTracker as _0x45d7fd}from'ckeditor5/src/utils.js';import{View as _0x4657c1,FocusCycler as _0x11ce3e}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4657c1{[_0xae2d38(0x1ee)];[_0xae2d38(0x1f3)];constructor(_0x23c96f){var _0x3e0f74=_0xae2d38;super(_0x23c96f),this[_0x3e0f74(0x1ee)]=new _0x45d7fd(),this[_0x3e0f74(0x1f3)]=new _0x11ce3e({'focusables':this[_0x3e0f74(0x200)](),'focusTracker':this[_0x3e0f74(0x1ee)]});}[_0xae2d38(0x1f6)](){var _0x1d82dd=_0xae2d38;return{'tag':_0x1d82dd(0x1f7),'attributes':{'aria-hidden':_0x1d82dd(0x1f1),'tabindex':'0'},'on':{'focus':this[_0x1d82dd(0x1ec)]['to'](()=>{var _0x1f5744=_0x1d82dd;this[_0x1f5744(0x1f3)][_0x1f5744(0x1fd)](_0x1f5744(0x1fe));})}};}}function _0x1899(_0x2849e3,_0x1d2a05){var _0x121943=_0x1219();return _0x1899=function(_0x189960,_0x37556f){_0x189960=_0x189960-0x1ec;var _0x3eea27=_0x121943[_0x189960];return _0x3eea27;},_0x1899(_0x2849e3,_0x1d2a05);}function _0x1219(){var _0x1b8ce1=['112543QGiZHf','focusCycler','21spADDO','62332rJsRPA','getFocusableElement','div','4226320ZdseTz','13450392aEXoLY','5UAyeTA','3062706TLgJje','1262763ytFWBU','fire','forwardCycle','10nsYyPr','createCollection','bindTemplate','6cpJouH','focusTracker','2784430lvZXfm','24kViLBn','true'];_0x1219=function(){return _0x1b8ce1;};return _0x1219();}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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(_0x2cb7ca,_0x4b1c9c){const _0x200f09=_0x40d1,_0xfc1572=_0x2cb7ca();while(!![]){try{const _0x2c0cdc=-parseInt(_0x200f09(0x113))/0x1+-parseInt(_0x200f09(0x10f))/0x2+-parseInt(_0x200f09(0x120))/0x3*(-parseInt(_0x200f09(0xed))/0x4)+-parseInt(_0x200f09(0xf5))/0x5+parseInt(_0x200f09(0x116))/0x6+parseInt(_0x200f09(0xf0))/0x7*(parseInt(_0x200f09(0x115))/0x8)+parseInt(_0x200f09(0x100))/0x9;if(_0x2c0cdc===_0x4b1c9c)break;else _0xfc1572['push'](_0xfc1572['shift']());}catch(_0x19d7b0){_0xfc1572['push'](_0xfc1572['shift']());}}}(_0x1150,0x68fbc));import{global as _0x1c2a21,DomEmitterMixin as _0x3d4654}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x2d3528){const _0x4ff8b6=_0x40d1,_0x2ded10=G(_0x2d3528);return _0x5f1beb=>!(!_0x5f1beb||!_0x5f1beb['is'](_0x4ff8b6(0x11d),_0x4ff8b6(0x11b))&&!_0x5f1beb['is'](_0x4ff8b6(0x11d),_0x4ff8b6(0xef)))&&(!!_0x5f1beb[_0x4ff8b6(0x110)](_0x4ff8b6(0x10b))||!!_0x5f1beb[_0x4ff8b6(0x110)](_0x4ff8b6(0xfc))&&_0x2ded10(_0x5f1beb[_0x4ff8b6(0x10e)](_0x4ff8b6(0xfc))));}export function getImageUrls(_0x4239af,_0x36838a){const _0x1f6f44=_0x40d1,_0x573af0=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1f6f44(0x103)](_0x40d21d=>_0x40d21d<=_0x36838a)[_0x1f6f44(0x106)](_0x45bd39=>_0x4239af[_0x1f6f44(0x122)](/\/$/,'')+_0x1f6f44(0x11c)+_0x45bd39+_0x1f6f44(0xf3)+_0x45bd39+'w');return{'imageFallbackUrl':_0x4239af,'imageSources':[{'srcset':_0x573af0[_0x1f6f44(0x104)](',\x20'),'sizes':_0x1f6f44(0x10a)+_0x36838a+_0x1f6f44(0xff)+_0x36838a+'px','type':_0x1f6f44(0xfe)}]};}function _0x1150(){const _0x322438=['/-/resize/','element','setStyle','mapper','3AUFIjV','aspect-ratio','replace','plugins','view','2873588hZKRWQ','domConverter','imageInline','28ztmoxf','match','image-processing','x/\x20','listenTo','1099865ejvohv','ImageUtils','baseURI','document','change','origin','findViewImgElement','src','isArray','image/webp','px)\x20100vw,\x20','3142215XZHcWs','window','addClass','filter','join','get','map','function','toViewElement','viewToDom','(max-width:\x20','uploadcareImageId','load','stopListening','getAttribute','1362968mfeeTm','hasAttribute','editing','width','508904eakNuR','location','1467096BrtMpf','235758WAsbny','height','removeClass','some','removeStyle','imageBlock'];_0x1150=function(){return _0x322438;};return _0x1150();}function _0x40d1(_0x24ce58,_0x268909){const _0x1150db=_0x1150();return _0x40d1=function(_0x40d1ef,_0x56c90d){_0x40d1ef=_0x40d1ef-0xec;let _0x597987=_0x1150db[_0x40d1ef];return _0x597987;},_0x40d1(_0x24ce58,_0x268909);}export function getImageDimension(_0x206c69,_0x2ad769,_0x1a35ba){const _0x1cf51e=_0x40d1,_0x46e3ff=_0x206c69[_0x1cf51e(0xf1)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x46e3ff?parseInt(_0x46e3ff[0x1],0xa):_0x2ad769,'height':_0x46e3ff?parseInt(_0x46e3ff[0x2],0xa):_0x1a35ba};}export function showImageProcessingIndicator(_0x7eb6df,_0x341253){const _0x1eb0bb=_0x40d1,_0x216672=new(_0x3d4654())(),_0x424847=_0x7eb6df[_0x1eb0bb(0x123)][_0x1eb0bb(0x105)](_0x1eb0bb(0xf6)),_0x1bf4aa=_0x7eb6df[_0x1eb0bb(0x111)][_0x1eb0bb(0x11f)][_0x1eb0bb(0x108)](_0x341253),_0x5cc3a8=_0x424847[_0x1eb0bb(0xfb)](_0x1bf4aa),_0x3e5563=_0x7eb6df[_0x1eb0bb(0x111)][_0x1eb0bb(0xec)][_0x1eb0bb(0xee)][_0x1eb0bb(0x109)](_0x5cc3a8),_0x13cfee=_0x341253[_0x1eb0bb(0x10e)](_0x1eb0bb(0x112)),_0x556a32=_0x341253[_0x1eb0bb(0x10e)](_0x1eb0bb(0x117)),_0x20caec=_0x1eb0bb(0xf2);_0x7eb6df[_0x1eb0bb(0x111)][_0x1eb0bb(0xec)][_0x1eb0bb(0xf9)](_0x4df448=>{const _0x516088=_0x1eb0bb;_0x4df448[_0x516088(0x102)](_0x20caec,_0x1bf4aa),_0x4df448[_0x516088(0x11e)](_0x516088(0x121),_0x13cfee+'/'+_0x556a32,_0x5cc3a8);}),_0x216672[_0x1eb0bb(0xf4)](_0x3e5563,_0x1eb0bb(0x10c),()=>{const _0x23fae5=_0x1eb0bb;_0x216672[_0x23fae5(0x10d)](_0x3e5563,_0x23fae5(0x10c)),_0x7eb6df[_0x23fae5(0x111)][_0x23fae5(0xec)][_0x23fae5(0xf9)](_0x106625=>{const _0x2072fe=_0x23fae5;_0x106625[_0x2072fe(0x118)](_0x20caec,_0x1bf4aa),_0x106625[_0x2072fe(0x11a)](_0x2072fe(0x121),_0x5cc3a8);});});}function G(_0x32c6d2){const _0x13104f=_0x40d1;if(Array[_0x13104f(0xfd)](_0x32c6d2)){const _0x2d8421=_0x32c6d2[_0x13104f(0x106)](G);return _0x1ba774=>_0x2d8421[_0x13104f(0x119)](_0x334b98=>_0x334b98(_0x1ba774));}if(_0x13104f(0xfa)==_0x32c6d2){const _0x10e0b7=_0x1c2a21[_0x13104f(0x101)][_0x13104f(0x114)][_0x13104f(0xfa)];return _0xc8269d=>new URL(_0xc8269d,_0x1c2a21[_0x13104f(0xf8)][_0x13104f(0xf7)])[_0x13104f(0xfa)]==_0x10e0b7;}return _0x13104f(0x107)==typeof _0x32c6d2?_0x32c6d2:_0x32c6d2 instanceof RegExp?_0x35216e=>!(!_0x35216e[_0x13104f(0xf1)](_0x32c6d2)&&!_0x35216e[_0x13104f(0x122)](/^https?:\/\//,'')[_0x13104f(0xf1)](_0x32c6d2)):()=>!0x1;}
|
package/src/utils/isancestor.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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(_0x516eeb,_0x303e20){var _0x40052f=_0x40b1,_0x2e9039=_0x516eeb();while(!![]){try{var _0x23894f=parseInt(_0x40052f(0x84))/0x1*(parseInt(_0x40052f(0x80))/0x2)+-parseInt(_0x40052f(0x82))/0x3+-parseInt(_0x40052f(0x81))/0x4+-parseInt(_0x40052f(0x7b))/0x5*(-parseInt(_0x40052f(0x7c))/0x6)+parseInt(_0x40052f(0x85))/0x7*(parseInt(_0x40052f(0x83))/0x8)+parseInt(_0x40052f(0x86))/0x9*(parseInt(_0x40052f(0x7d))/0xa)+-parseInt(_0x40052f(0x7a))/0xb*(-parseInt(_0x40052f(0x87))/0xc);if(_0x23894f===_0x303e20)break;else _0x2e9039['push'](_0x2e9039['shift']());}catch(_0x3aeb8c){_0x2e9039['push'](_0x2e9039['shift']());}}}(_0xdb01,0x40d0c));function _0xdb01(){var _0x1b2562=['6840SjUXZF','2959PXdWft','15UasicX','493548wQpVHq','20pVGFva','includes','target','6pqzAFA','1294724ayMHPd','774888bFqBQr','48oiwFVD','59377qLOcvA','17906jeBihM','1142451cIjWZI'];_0xdb01=function(){return _0x1b2562;};return _0xdb01();}function _0x40b1(_0xafcad,_0x2fa769){var _0xdb0117=_0xdb01();return _0x40b1=function(_0x40b1a9,_0xdd139f){_0x40b1a9=_0x40b1a9-0x7a;var _0x17a706=_0xdb0117[_0x40b1a9];return _0x17a706;},_0x40b1(_0xafcad,_0x2fa769);}import{getAncestors as _0x590ce0}from'ckeditor5/src/utils.js';export function isAncestor(_0x14473f,_0x557979){var _0x3f4429=_0x40b1;return _0x590ce0(_0x14473f[_0x3f4429(0x7f)])[_0x3f4429(0x7e)](_0x557979);}
|
package/src/utils/uploadutils.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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 _0x52b067=_0x1784;function _0x3c72(){var _0x5cb3df=['4366233eWwPmj','372wBvUXv','upload','129869GvxvNd','167748NFzzzn','getInfo','29918YyvzHH','20fIYxuV','3nTCgWD','9335400iaKxBk','155lqixiR','13165570izOhOr','2265122HQmRBS'];_0x3c72=function(){return _0x5cb3df;};return _0x3c72();}(function(_0x5b39bb,_0x1fe6b6){var _0x38bcb8=_0x1784,_0x6308c=_0x5b39bb();while(!![]){try{var _0x1cc152=-parseInt(_0x38bcb8(0x1bc))/0x1+parseInt(_0x38bcb8(0x1b8))/0x2*(parseInt(_0x38bcb8(0x1b4))/0x3)+parseInt(_0x38bcb8(0x1bd))/0x4*(-parseInt(_0x38bcb8(0x1b6))/0x5)+-parseInt(_0x38bcb8(0x1ba))/0x6*(-parseInt(_0x38bcb8(0x1bf))/0x7)+parseInt(_0x38bcb8(0x1b5))/0x8+-parseInt(_0x38bcb8(0x1b9))/0x9*(-parseInt(_0x38bcb8(0x1b3))/0xa)+-parseInt(_0x38bcb8(0x1b7))/0xb;if(_0x1cc152===_0x1fe6b6)break;else _0x6308c['push'](_0x6308c['shift']());}catch(_0x20c29c){_0x6308c['push'](_0x6308c['shift']());}}}(_0x3c72,0xddaba));function _0x1784(_0x277054,_0x41f425){var _0x3c722f=_0x3c72();return _0x1784=function(_0x17847b,_0xf8bcd0){_0x17847b=_0x17847b-0x1b3;var _0x2b622b=_0x3c722f[_0x17847b];return _0x2b622b;},_0x1784(_0x277054,_0x41f425);}import{uploadFile as _0x467d1c,info as _0xdc2c7b}from'@uploadcare/upload-client';export class UploadUtils{static[_0x52b067(0x1bb)]({file:_0x44fc82,..._0x27578f}){return _0x467d1c(_0x44fc82,_0x27578f);}static[_0x52b067(0x1be)](_0x307e0f,_0x2864f4){return _0xdc2c7b(_0x307e0f,_0x2864f4);}}
|