@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260105.0 → 0.0.0-nightly-next-20260106.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 _0x25c3(){const _0x56623d=['_createButton','13mvEnke','trialLimit','Uploadcare','licenseKey','Local','destroy','uploadcareLicenseKeyTrialLimit','5641908FhKOQP','_createDropdownButtons','bind','text','isEnabled','has','featureNotAllowed','reduce','OneDrive','tooltip','Replace','1158681JrffHO','shortText','UploadcareUI','plugins','5MHJmqT','7TjFALS','Insert','_licenseKeyCheckInterval','upload','_showLicenseError','push','assetManager','editor','url','init','afterInit','ImageInsertUI','_createToolbarButton','execute','config','31390CBnyQo','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','_getIntegrationKey','icon','get','commands','31072PUtlad','902xBMUxd','GPhotos','uploadcareLicenseKeyNotAllowed','entries','type','uploadcareLicenseKeyValid','isOfficialPlugin','withText','Dropbox','uploadcareLicenseKeyInvalid','expired','registerIntegration','20669196jbRTZK','map','Facebook','forEach','uploadcareLicenseKeyDomainLimit','isPremiumPlugin','1cCRmEP','3481020wCtGRC','GDrive','domainLimit','3438UDbdDH','evaluationLimit','URL','1078694bLmDHi','locale','pluginName','usageLimit','uploadcareLicenseKeyExpired','isImageSelected','label','uploadcare','uploadcareLicenseKeyEvaluationLimit','_normalizeConfigSourceList','invalid','uploadcare.uploader.sourceList'];_0x25c3=function(){return _0x56623d;};return _0x25c3();}const _0x508bc5=_0x1d6d;(function(_0x2c9559,_0x4eb71b){const _0x561fb2=_0x1d6d,_0x2c83da=_0x2c9559();while(!![]){try{const _0x6b5ac3=parseInt(_0x561fb2(0x110))/0x1*(parseInt(_0x561fb2(0x117))/0x2)+parseInt(_0x561fb2(0x136))/0x3+parseInt(_0x561fb2(0x111))/0x4*(parseInt(_0x561fb2(0xe6))/0x5)+parseInt(_0x561fb2(0x12b))/0x6*(-parseInt(_0x561fb2(0xe7))/0x7)+-parseInt(_0x561fb2(0xfd))/0x8*(parseInt(_0x561fb2(0x114))/0x9)+parseInt(_0x561fb2(0xf6))/0xa*(-parseInt(_0x561fb2(0xfe))/0xb)+parseInt(_0x561fb2(0x10a))/0xc*(parseInt(_0x561fb2(0x124))/0xd);if(_0x6b5ac3===_0x4eb71b)break;else _0x2c83da['push'](_0x2c83da['shift']());}catch(_0x23cacc){_0x2c83da['push'](_0x2c83da['shift']());}}}(_0x25c3,0xcc4fa));function _0x1d6d(_0x297ab9,_0x568141){const _0x25c3b9=_0x25c3();return _0x1d6d=function(_0x1d6d9e,_0x4a3cb6){_0x1d6d9e=_0x1d6d9e-0xe6;let _0x5d5c63=_0x25c3b9[_0x1d6d9e];return _0x5d5c63;},_0x1d6d(_0x297ab9,_0x568141);}import{Plugin as _0x5d786f}from'ckeditor5/src/core.js';import{IconDropbox as _0x1e61f7,IconFacebook as _0x329e3e,IconGoogleDrive as _0x557fec,IconGooglePhotos as _0x291b77,IconUploadcareImageUpload as _0x3bdbdf,IconUploadcareLink as _0x867b0a,IconOneDrive as _0xa0bf20}from'ckeditor5/src/icons.js';import{ButtonView as _0x4b299b,MenuBarMenuListItemButtonView as _0x5778fc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x25784f}from'./uploadcareconfig.js';import{getTranslation as _0x2164b5}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 _0x5d786f{[_0x508bc5(0x127)];[_0x508bc5(0xe9)];static get[_0x508bc5(0x119)](){const _0x59179a=_0x508bc5;return _0x59179a(0x138);}static get[_0x508bc5(0x104)](){return!0x0;}static get[_0x508bc5(0x10f)](){return!0x0;}[_0x508bc5(0xf0)](){const _0x45ed5d=_0x508bc5;this[_0x45ed5d(0x127)]=this[_0x45ed5d(0xee)][_0x45ed5d(0xf5)][_0x45ed5d(0xfb)](_0x45ed5d(0x127));const _0x4c301c=this[_0x45ed5d(0xee)];this[_0x45ed5d(0xe9)]=setInterval(()=>{const _0x138901=_0x45ed5d;let _0x8cbf5b;for(const _0x244c9d in _0x4c301c){const _0x3702f9=_0x244c9d,_0x437a12=_0x4c301c[_0x3702f9];if(_0x138901(0x103)==_0x437a12||_0x138901(0x107)==_0x437a12||_0x138901(0x11b)==_0x437a12||_0x138901(0x10e)==_0x437a12||_0x138901(0x100)==_0x437a12||_0x138901(0x11f)==_0x437a12||_0x138901(0x12a)==_0x437a12||_0x138901(0xf8)==_0x437a12){delete _0x4c301c[_0x3702f9],_0x8cbf5b=_0x437a12,clearInterval(this[_0x138901(0xe9)]),this[_0x138901(0xe9)]=void 0x0;break;}}_0x138901(0x107)==_0x8cbf5b&&_0x4c301c[_0x138901(0xeb)](_0x138901(0x121)),_0x138901(0x11b)==_0x8cbf5b&&_0x4c301c[_0x138901(0xeb)](_0x138901(0x108)),_0x138901(0x10e)==_0x8cbf5b&&_0x4c301c[_0x138901(0xeb)](_0x138901(0x113)),_0x138901(0x100)==_0x8cbf5b&&_0x4c301c[_0x138901(0xeb)](_0x138901(0x131),_0x138901(0x126)),_0x138901(0x11f)==_0x8cbf5b&&_0x4c301c[_0x138901(0xeb)](_0x138901(0x115)),_0x138901(0x12a)==_0x8cbf5b&&_0x4c301c[_0x138901(0xeb)](_0x138901(0x125)),_0x138901(0xf8)==_0x8cbf5b&&_0x4c301c[_0x138901(0xeb)](_0x138901(0x11a));},0x3e8);}[_0x508bc5(0xf1)](){const _0x2b602f=_0x508bc5,{editor:_0x497d9a}=this,_0x2daf2c=_0x497d9a[_0x2b602f(0xfc)][_0x2b602f(0xfb)](_0x2b602f(0x11e));if(!_0x2daf2c)return;const _0x3c5178=this[_0x2b602f(0x120)](_0x497d9a[_0x2b602f(0xf5)][_0x2b602f(0xfb)](_0x2b602f(0x122)))[_0x2b602f(0x132)]((_0x53b81c,_0x364365)=>{const _0x409c2c=_0x2b602f,_0x358ca0=this[_0x409c2c(0xf9)](_0x364365[_0x409c2c(0x102)]);return _0x53b81c[_0x358ca0]||(_0x53b81c[_0x358ca0]=[]),_0x53b81c[_0x358ca0][_0x409c2c(0xec)](_0x364365),_0x53b81c;},{});_0x497d9a[_0x2b602f(0x139)][_0x2b602f(0x130)](_0x2b602f(0xf2))&&_0x497d9a[_0x2b602f(0xfc)][_0x2b602f(0xfb)](_0x2b602f(0x11e))&&Object[_0x2b602f(0x101)](_0x3c5178)[_0x2b602f(0x10d)](([_0x176d0b,_0x440a2b])=>{const _0xb3db63=_0x2b602f;_0x497d9a[_0xb3db63(0x139)][_0xb3db63(0xfb)](_0xb3db63(0xf2))[_0xb3db63(0x109)]({'name':_0x176d0b,'observable':()=>_0x2daf2c,'buttonViewCreator':()=>this[_0xb3db63(0xf3)](_0x440a2b),'formViewCreator':()=>this[_0xb3db63(0x12c)](_0x440a2b),'menuBarButtonViewCreator':()=>this[_0xb3db63(0xf7)](_0x440a2b),'override':_0xb3db63(0xed)!==_0x176d0b});});}[_0x508bc5(0x129)](){const _0x41c21f=_0x508bc5;super[_0x41c21f(0x129)](),this[_0x41c21f(0xe9)]&&clearInterval(this[_0x41c21f(0xe9)]);}[_0x508bc5(0x120)](_0x3e2e74){const _0x3ea81b=_0x508bc5,{locale:_0x4cf9b3}=this[_0x3ea81b(0xee)];return _0x3e2e74[_0x3ea81b(0x10b)](_0x168d43=>{const _0x414954=_0x3ea81b,_0x20848f=_0x2164b5(_0x4cf9b3,_0x168d43,_0x414954(0xe8));switch(_0x168d43){case _0x25784f[_0x414954(0x128)]:return{'icon':_0x3bdbdf,'type':_0x25784f[_0x414954(0x128)],..._0x20848f};case _0x25784f[_0x414954(0x116)]:return{'icon':_0x867b0a,'type':_0x25784f[_0x414954(0x116)],..._0x20848f};case _0x25784f[_0x414954(0x106)]:return{'icon':_0x1e61f7,'type':_0x25784f[_0x414954(0x106)],..._0x20848f};case _0x25784f[_0x414954(0x10c)]:return{'icon':_0x329e3e,'type':_0x25784f[_0x414954(0x10c)],..._0x20848f};case _0x25784f[_0x414954(0x112)]:return{'icon':_0x557fec,'type':_0x25784f[_0x414954(0x112)],..._0x20848f};case _0x25784f[_0x414954(0xff)]:return{'icon':_0x291b77,'type':_0x25784f[_0x414954(0xff)],..._0x20848f};case _0x25784f[_0x414954(0x133)]:return{'icon':_0xa0bf20,'type':_0x25784f[_0x414954(0x133)],..._0x20848f};}});}[_0x508bc5(0xf9)](_0x32cd59){const _0x5c4e9f=_0x508bc5;switch(_0x32cd59){case _0x25784f[_0x5c4e9f(0x128)]:return _0x5c4e9f(0xea);case _0x25784f[_0x5c4e9f(0x116)]:return _0x5c4e9f(0xef);default:return _0x5c4e9f(0xed);}}[_0x508bc5(0x123)](_0x311c61,_0x1f708b){const _0xf6812f=_0x508bc5,_0x1ae5de=this[_0xf6812f(0xee)],_0x38e92f=new _0x311c61(_0x1ae5de[_0xf6812f(0x118)]),_0x2f2b78=_0x1ae5de[_0xf6812f(0xfc)][_0xf6812f(0xfb)](_0xf6812f(0x11e));return _0x38e92f[_0xf6812f(0x12d)](_0xf6812f(0x12f))['to'](_0x2f2b78),_0x38e92f['on'](_0xf6812f(0xf4),()=>{const _0x35d1e2=_0xf6812f;_0x2f2b78[_0x35d1e2(0xf4)](_0x1f708b);}),_0x38e92f;}[_0x508bc5(0xf3)](_0x2f6029){const _0x275cfd=_0x508bc5,{locale:_0x5c81d3}=this[_0x275cfd(0xee)],_0x91e9a6=this[_0x275cfd(0xee)][_0x275cfd(0x139)][_0x275cfd(0xfb)](_0x275cfd(0xf2)),_0x26008e=_0x2f6029[0x0],_0xf06b0d=this[_0x275cfd(0x123)](_0x4b299b,_0x26008e[_0x275cfd(0x102)]);return _0xf06b0d[_0x275cfd(0xfa)]=_0x26008e[_0x275cfd(0xfa)],_0xf06b0d[_0x275cfd(0x12d)](_0x275cfd(0x11d))['to'](_0x91e9a6,_0x275cfd(0x11c),_0x5b6385=>_0x2164b5(_0x5c81d3,_0x26008e[_0x275cfd(0x102)],_0x5b6385?_0x275cfd(0x135):_0x275cfd(0xe8))[_0x275cfd(0x12e)]),_0xf06b0d[_0x275cfd(0x134)]=!0x0,_0xf06b0d;}[_0x508bc5(0x12c)](_0x1019a9){const _0x14a1b6=_0x508bc5,{locale:_0x4d1d58}=this[_0x14a1b6(0xee)],_0xa7373c=this[_0x14a1b6(0xee)][_0x14a1b6(0x139)][_0x14a1b6(0xfb)](_0x14a1b6(0xf2));return _0x1019a9[_0x14a1b6(0x10b)](_0x55bd8b=>{const _0x388f1f=_0x14a1b6,_0x1ef5c7=this[_0x388f1f(0x123)](_0x4b299b,_0x55bd8b[_0x388f1f(0x102)]);return _0x1ef5c7[_0x388f1f(0x105)]=!0x0,_0x1ef5c7[_0x388f1f(0xfa)]=_0x55bd8b[_0x388f1f(0xfa)],_0x1ef5c7[_0x388f1f(0x12d)](_0x388f1f(0x11d))['to'](_0xa7373c,_0x388f1f(0x11c),_0x2ba888=>_0x2164b5(_0x4d1d58,_0x55bd8b[_0x388f1f(0x102)],_0x2ba888?_0x388f1f(0x135):_0x388f1f(0xe8))[_0x388f1f(0x12e)]),_0x1ef5c7;});}[_0x508bc5(0xf7)](_0x175453){const _0x5336f8=_0x508bc5;return _0x175453[_0x5336f8(0x10b)](_0xe82bff=>{const _0x37ce08=_0x5336f8,_0x5902a5=this[_0x37ce08(0x123)](_0x5778fc,_0xe82bff[_0x37ce08(0x102)]);return _0x5902a5[_0x37ce08(0xfa)]=_0xe82bff[_0x37ce08(0xfa)],_0x5902a5[_0x37ce08(0x11d)]=_0xe82bff[_0x37ce08(0x137)],_0x5902a5;});}}
|
|
@@ -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 _0x23a851}from'ckeditor5/src/core.js';import{FileRepository as _0x2ca938}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1ebfbb}from'./uploadcareediting.js';import{UploadUtils as _0x27b8f1}from'./utils/uploadutils.js';import{getImageUrls as _0x25d019}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x23a851{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2ca938,_0x1ebfbb];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5d98f6=this['editor'];if(!!!_0x5d98f6['config']['get']('uploadcare'))return;_0x5d98f6['plugins']['get'](_0x2ca938)['createUploadAdapter']=_0x5d2bd4=>new k(_0x5d2bd4,_0x5d98f6),_0x5d98f6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x393f7d,{imageElement:_0x1d7603,data:_0x3cd618})=>{_0x5d98f6['model']['change'](_0x308563=>{_0x308563['setAttribute']('uploadcareImageId',_0x3cd618['uploadcareImageId'],_0x1d7603);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3daeeb,_0x5f2ca7){this['loader']=_0x3daeeb,this['editor']=_0x5f2ca7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x443af8=await this['loader']['file'];return _0x27b8f1['upload']({'file':_0x443af8,'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':_0x236c39=>{_0x236c39&&_0x236c39['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x236c39['value']);}})['then'](async _0x2648c0=>{const {imageFallbackUrl:_0x4f5745,imageSources:_0x410ee3}=_0x25d019(_0x2648c0['cdnUrl'],_0x2648c0['imageInfo']['width']);return{'uploadcareImageId':_0x2648c0['uuid'],'default':_0x4f5745,'sources':_0x410ee3};})['catch'](()=>{const _0x400e5d=t('Cannot\x20upload\x20file:')+('\x20'+_0x443af8['name']+'.');return Promise['reject'](_0x400e5d);});}['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 _0xc3d7ec}from'../uploadcareconfig.js';export function getTranslation(_0x49efac,_0x58d8f5,_0x391729){const t=_0x49efac['t'],_0x8960c4=_0x49efac['t'];switch(_0x58d8f5){case _0xc3d7ec['Local']:return{'text':_0x8960c4('Insert'===_0x391729?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x8960c4('From\x20computer')};case _0xc3d7ec['URL']:return{'text':'Insert'===_0x391729?_0x8960c4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x8960c4('Via\x20URL')};case _0xc3d7ec['Dropbox']:return{'text':t('Insert'===_0x391729?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xc3d7ec['Facebook']:return{'text':t('Insert'===_0x391729?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xc3d7ec['GDrive']:return{'text':t('Insert'===_0x391729?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xc3d7ec['GPhotos']:return{'text':t('Insert'===_0x391729?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xc3d7ec['OneDrive']:return{'text':t('Insert'===_0x391729?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x58d8f5;}}
|
|
@@ -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 _0x4225(_0x25e47d,_0x56207c){var _0x313bcb=_0x313b();return _0x4225=function(_0x4225e0,_0x521f45){_0x4225e0=_0x4225e0-0x189;var _0x8fb624=_0x313bcb[_0x4225e0];return _0x8fb624;},_0x4225(_0x25e47d,_0x56207c);}var _0x4cc643=_0x4225;(function(_0x503444,_0x22154d){var _0x5ce740=_0x4225,_0x194560=_0x503444();while(!![]){try{var _0x53ef5c=-parseInt(_0x5ce740(0x193))/0x1*(parseInt(_0x5ce740(0x18f))/0x2)+-parseInt(_0x5ce740(0x19c))/0x3*(parseInt(_0x5ce740(0x198))/0x4)+parseInt(_0x5ce740(0x189))/0x5*(-parseInt(_0x5ce740(0x19a))/0x6)+parseInt(_0x5ce740(0x18a))/0x7+parseInt(_0x5ce740(0x18b))/0x8+-parseInt(_0x5ce740(0x192))/0x9*(parseInt(_0x5ce740(0x19d))/0xa)+parseInt(_0x5ce740(0x18d))/0xb*(parseInt(_0x5ce740(0x195))/0xc);if(_0x53ef5c===_0x22154d)break;else _0x194560['push'](_0x194560['shift']());}catch(_0x50b9c2){_0x194560['push'](_0x194560['shift']());}}}(_0x313b,0x7711f));import{FocusTracker as _0x5ab4ea}from'ckeditor5/src/utils.js';import{View as _0xf7bfff,FocusCycler as _0x129cbe}from'ckeditor5/src/ui.js';function _0x313b(){var _0x305fff=['27647IvKfTe','true','1512036aeUOZl','div','createCollection','4204IabGPn','forwardCycle','62958DdaVFV','focusCycler','2319FtBFhC','9130rwuhkg','40roxVDs','5680269QMHDPF','793416bzwZAY','focusTracker','165AlUYBx','getFocusableElement','54WRXJYv','bindTemplate','fire','6606DcRdCL'];_0x313b=function(){return _0x305fff;};return _0x313b();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xf7bfff{[_0x4cc643(0x18c)];[_0x4cc643(0x19b)];constructor(_0x37d376){var _0x21c629=_0x4cc643;super(_0x37d376),this[_0x21c629(0x18c)]=new _0x5ab4ea(),this[_0x21c629(0x19b)]=new _0x129cbe({'focusables':this[_0x21c629(0x197)](),'focusTracker':this[_0x21c629(0x18c)]});}[_0x4cc643(0x18e)](){var _0x1842cb=_0x4cc643;return{'tag':_0x1842cb(0x196),'attributes':{'aria-hidden':_0x1842cb(0x194),'tabindex':'0'},'on':{'focus':this[_0x1842cb(0x190)]['to'](()=>{var _0x475d4d=_0x1842cb;this[_0x475d4d(0x19b)][_0x475d4d(0x191)](_0x475d4d(0x199));})}};}}
|
|
@@ -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(_0x950f82,_0x4b52f0){const _0x21a650=_0x4dba,_0x30f042=_0x950f82();while(!![]){try{const _0x3b43b5=-parseInt(_0x21a650(0x108))/0x1*(-parseInt(_0x21a650(0xef))/0x2)+parseInt(_0x21a650(0xf7))/0x3*(parseInt(_0x21a650(0xe5))/0x4)+parseInt(_0x21a650(0x10b))/0x5*(parseInt(_0x21a650(0xe9))/0x6)+-parseInt(_0x21a650(0xeb))/0x7+-parseInt(_0x21a650(0xfa))/0x8*(parseInt(_0x21a650(0xf4))/0x9)+parseInt(_0x21a650(0x10d))/0xa+parseInt(_0x21a650(0xfe))/0xb*(parseInt(_0x21a650(0xf1))/0xc);if(_0x3b43b5===_0x4b52f0)break;else _0x30f042['push'](_0x30f042['shift']());}catch(_0x2a62aa){_0x30f042['push'](_0x30f042['shift']());}}}(_0x4dbb,0x8a57a));function _0x4dba(_0x56684e,_0x13a6e8){const _0x4dbbc9=_0x4dbb();return _0x4dba=function(_0x4dba0f,_0x23fb69){_0x4dba0f=_0x4dba0f-0xd3;let _0x1e5f2c=_0x4dbbc9[_0x4dba0f];return _0x1e5f2c;},_0x4dba(_0x56684e,_0x13a6e8);}import{global as _0x31fe3a,DomEmitterMixin as _0x46805a}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x43b1ff){const _0x5e075a=_0x4dba,_0x2f2eef=R(_0x43b1ff);return _0x2b96d6=>!(!_0x2b96d6||!_0x2b96d6['is'](_0x5e075a(0xf8),_0x5e075a(0xe7))&&!_0x2b96d6['is'](_0x5e075a(0xf8),_0x5e075a(0xd3)))&&(!!_0x2b96d6[_0x5e075a(0x10a)](_0x5e075a(0xf9))||!!_0x2b96d6[_0x5e075a(0x10a)](_0x5e075a(0x107))&&_0x2f2eef(_0x2b96d6[_0x5e075a(0xdb)](_0x5e075a(0x107))));}export function getImageUrls(_0x4971b7,_0x2e14cd){const _0x43bde3=_0x4dba,_0x2acfcd=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x43bde3(0xf6)](_0x47cf16=>_0x47cf16<=_0x2e14cd)[_0x43bde3(0x109)](_0x4a2fe6=>_0x4971b7[_0x43bde3(0xe3)](/\/$/,'')+_0x43bde3(0xd8)+_0x4a2fe6+_0x43bde3(0xde)+_0x4a2fe6+'w');return{'imageFallbackUrl':_0x4971b7,'imageSources':[{'srcset':_0x2acfcd[_0x43bde3(0xf5)](',\x20'),'sizes':_0x43bde3(0xe4)+_0x2e14cd+_0x43bde3(0xea)+_0x2e14cd+'px','type':_0x43bde3(0x104)}]};}export function getImageDimension(_0x45dfdc,_0x1f2ef9,_0x55bb00){const _0x2e160c=_0x4dba,_0x1d83c6=_0x45dfdc[_0x2e160c(0xe1)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1d83c6?parseInt(_0x1d83c6[0x1],0xa):_0x1f2ef9,'height':_0x1d83c6?parseInt(_0x1d83c6[0x2],0xa):_0x55bb00};}export function showImageProcessingIndicator(_0x5df907,_0x389b15){const _0x52af3c=_0x4dba,_0x4d23e8=new(_0x46805a())(),_0x44d6db=_0x5df907[_0x52af3c(0xdd)][_0x52af3c(0xd4)](_0x52af3c(0xdf)),_0x40e54d=_0x5df907[_0x52af3c(0xe0)][_0x52af3c(0x10c)][_0x52af3c(0xd6)](_0x389b15),_0x407644=_0x44d6db[_0x52af3c(0xd5)](_0x40e54d),_0x468fd7=_0x5df907[_0x52af3c(0xe0)][_0x52af3c(0xf2)][_0x52af3c(0xfc)][_0x52af3c(0xe2)](_0x407644),_0x4e8e4c=_0x389b15[_0x52af3c(0xdb)](_0x52af3c(0xf3)),_0x37dd48=_0x389b15[_0x52af3c(0xdb)](_0x52af3c(0x106)),_0x4b25b5=_0x52af3c(0x103);_0x5df907[_0x52af3c(0xe0)][_0x52af3c(0xf2)][_0x52af3c(0xff)](_0x593f0f=>{const _0x1a3f28=_0x52af3c;_0x593f0f[_0x1a3f28(0x101)](_0x4b25b5,_0x40e54d),_0x593f0f[_0x1a3f28(0x105)](_0x1a3f28(0xd7),_0x4e8e4c+'/'+_0x37dd48,_0x407644);}),_0x4d23e8[_0x52af3c(0xee)](_0x468fd7,_0x52af3c(0x100),()=>{const _0x3851ab=_0x52af3c;_0x4d23e8[_0x3851ab(0xfd)](_0x468fd7,_0x3851ab(0x100)),_0x5df907[_0x3851ab(0xe0)][_0x3851ab(0xf2)][_0x3851ab(0xff)](_0x1602e0=>{const _0x537d83=_0x3851ab;_0x1602e0[_0x537d83(0xe6)](_0x4b25b5,_0x40e54d),_0x1602e0[_0x537d83(0xed)](_0x537d83(0xd7),_0x407644);});});}function R(_0x4613b5){const _0xf5abe4=_0x4dba;if(Array[_0xf5abe4(0xdc)](_0x4613b5)){const _0x9ffc11=_0x4613b5[_0xf5abe4(0x109)](R);return _0x15ae7a=>_0x9ffc11[_0xf5abe4(0xda)](_0x3d1d5b=>_0x3d1d5b(_0x15ae7a));}if(_0xf5abe4(0xec)==_0x4613b5){const _0x193ac1=_0x31fe3a[_0xf5abe4(0xf0)][_0xf5abe4(0xe8)][_0xf5abe4(0xec)];return _0x5b0340=>new URL(_0x5b0340,_0x31fe3a[_0xf5abe4(0xd9)][_0xf5abe4(0x102)])[_0xf5abe4(0xec)]==_0x193ac1;}return _0xf5abe4(0xfb)==typeof _0x4613b5?_0x4613b5:_0x4613b5 instanceof RegExp?_0x8acd12=>!(!_0x8acd12[_0xf5abe4(0xe1)](_0x4613b5)&&!_0x8acd12[_0xf5abe4(0xe3)](/^https?:\/\//,'')[_0xf5abe4(0xe1)](_0x4613b5)):()=>!0x1;}function _0x4dbb(){const _0x592fb1=['uploadcareImageId','2286264fzxibR','function','domConverter','stopListening','5104iatpkE','change','load','addClass','baseURI','image-processing','image/webp','setStyle','height','src','45DLZJcU','map','hasAttribute','1095ZUBaTU','mapper','43500nUlDMS','imageInline','get','findViewImgElement','toViewElement','aspect-ratio','/-/resize/','document','some','getAttribute','isArray','plugins','x/\x20','ImageUtils','editing','match','viewToDom','replace','(max-width:\x20','12mcyvgJ','removeClass','imageBlock','location','8862rlwyNR','px)\x20100vw,\x20','3479007wmcNBt','origin','removeStyle','listenTo','982hWeclv','window','13812AfqiQx','view','width','27WoAexL','join','filter','1037028rzYfCY','element'];_0x4dbb=function(){return _0x592fb1;};return _0x4dbb();}
|
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 _0x437d(_0x47b3b4,_0x5813b7){var _0x3104e9=_0x3104();return _0x437d=function(_0x437dcc,_0x1f06b8){_0x437dcc=_0x437dcc-0x160;var _0x5f578d=_0x3104e9[_0x437dcc];return _0x5f578d;},_0x437d(_0x47b3b4,_0x5813b7);}(function(_0x3f8915,_0x1a294d){var _0x15f58b=_0x437d,_0x2657fa=_0x3f8915();while(!![]){try{var _0x3f3ee1=parseInt(_0x15f58b(0x166))/0x1+-parseInt(_0x15f58b(0x167))/0x2*(-parseInt(_0x15f58b(0x160))/0x3)+parseInt(_0x15f58b(0x165))/0x4*(-parseInt(_0x15f58b(0x161))/0x5)+parseInt(_0x15f58b(0x16a))/0x6+-parseInt(_0x15f58b(0x168))/0x7+-parseInt(_0x15f58b(0x162))/0x8*(parseInt(_0x15f58b(0x16b))/0x9)+parseInt(_0x15f58b(0x164))/0xa;if(_0x3f3ee1===_0x1a294d)break;else _0x2657fa['push'](_0x2657fa['shift']());}catch(_0xb7f119){_0x2657fa['push'](_0x2657fa['shift']());}}}(_0x3104,0xa86e5));import{getAncestors as _0xdfe620}from'ckeditor5/src/utils.js';function _0x3104(){var _0x235907=['332646BTGnvx','74961pDOLHF','3783237JmKylm','9760UhhCkh','408qazNUj','includes','5013880TpleBu','1228EOBIDs','540890dOvhHK','2KnemBu','4514034XxfRIS','target'];_0x3104=function(){return _0x235907;};return _0x3104();}export function isAncestor(_0x3376ae,_0x5fa440){var _0x1e7200=_0x437d;return _0xdfe620(_0x3376ae[_0x1e7200(0x169)])[_0x1e7200(0x163)](_0x5fa440);}
|
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 _0x519406=_0x562f;function _0x562f(_0x1f2c8d,_0x27f6eb){var _0x196cbf=_0x196c();return _0x562f=function(_0x562ff7,_0x1b56c8){_0x562ff7=_0x562ff7-0x15c;var _0x360173=_0x196cbf[_0x562ff7];return _0x360173;},_0x562f(_0x1f2c8d,_0x27f6eb);}(function(_0x484b2a,_0x38d3ca){var _0x2dd18c=_0x562f,_0x348dbc=_0x484b2a();while(!![]){try{var _0x240457=parseInt(_0x2dd18c(0x161))/0x1*(-parseInt(_0x2dd18c(0x167))/0x2)+-parseInt(_0x2dd18c(0x15f))/0x3*(parseInt(_0x2dd18c(0x165))/0x4)+-parseInt(_0x2dd18c(0x15c))/0x5+parseInt(_0x2dd18c(0x160))/0x6+parseInt(_0x2dd18c(0x166))/0x7+-parseInt(_0x2dd18c(0x15e))/0x8*(-parseInt(_0x2dd18c(0x162))/0x9)+parseInt(_0x2dd18c(0x164))/0xa;if(_0x240457===_0x38d3ca)break;else _0x348dbc['push'](_0x348dbc['shift']());}catch(_0x159260){_0x348dbc['push'](_0x348dbc['shift']());}}}(_0x196c,0xb552f));function _0x196c(){var _0x4e57d5=['1459835tKmtKm','getInfo','145592ulJqcD','1145679eWqvdX','7450446YFMGPH','348060PNFAdb','387ndWFtx','upload','2012450FEFhft','12GAzQDO','9429322lWVRgf','8NwmIRV'];_0x196c=function(){return _0x4e57d5;};return _0x196c();}import{uploadFile as _0x1ea461,info as _0x1c7ac7}from'@uploadcare/upload-client';export class UploadUtils{static[_0x519406(0x163)]({file:_0x180f79,..._0x2f23aa}){return _0x1ea461(_0x180f79,_0x2f23aa);}static[_0x519406(0x15d)](_0x31f81d,_0x4f197d){return _0x1c7ac7(_0x31f81d,_0x4f197d);}}
|