@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260108.0 → 0.0.0-nightly-next-20260108.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 _0x53f7(_0x363442,_0x5436b0){const _0x39c717=_0x39c7();return _0x53f7=function(_0x53f7c6,_0x2c0a16){_0x53f7c6=_0x53f7c6-0x1be;let _0x8703cc=_0x39c717[_0x53f7c6];return _0x8703cc;},_0x53f7(_0x363442,_0x5436b0);}const _0xdf11fe=_0x53f7;(function(_0x47b714,_0xbf7b26){const _0x7fa7c8=_0x53f7,_0x536d6d=_0x47b714();while(!![]){try{const _0x4a04f3=-parseInt(_0x7fa7c8(0x1d9))/0x1*(parseInt(_0x7fa7c8(0x20b))/0x2)+parseInt(_0x7fa7c8(0x1fa))/0x3*(parseInt(_0x7fa7c8(0x1be))/0x4)+-parseInt(_0x7fa7c8(0x1f6))/0x5+-parseInt(_0x7fa7c8(0x1f0))/0x6+-parseInt(_0x7fa7c8(0x1e9))/0x7+-parseInt(_0x7fa7c8(0x1cd))/0x8*(-parseInt(_0x7fa7c8(0x1c7))/0x9)+parseInt(_0x7fa7c8(0x1e1))/0xa;if(_0x4a04f3===_0xbf7b26)break;else _0x536d6d['push'](_0x536d6d['shift']());}catch(_0x2e1bb3){_0x536d6d['push'](_0x536d6d['shift']());}}}(_0x39c7,0xae9c0));import{Plugin as _0x239a59}from'ckeditor5/src/core.js';import{IconDropbox as _0x385d33,IconFacebook as _0x3b0727,IconGoogleDrive as _0x56ad35,IconGooglePhotos as _0x1f61f9,IconUploadcareImageUpload as _0x3b7d7c,IconUploadcareLink as _0x4128cc,IconOneDrive as _0x505a29}from'ckeditor5/src/icons.js';import{ButtonView as _0x254e35,MenuBarMenuListItemButtonView as _0x49ec27}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4027bd}from'./uploadcareconfig.js';import{getTranslation as _0x481351}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';function _0x39c7(){const _0x458978=['URL','OneDrive','init','3wLlunR','forEach','uploadcareLicenseKeyDomainLimit','_createButton','tooltip','Local','Insert','uploadcare','21949810jbSlRl','expired','Facebook','Dropbox','uploadcare.uploader.sourceList','uploadcareLicenseKeyUsageLimit','label','entries','352905mKKhDZ','url','icon','uploadcareLicenseKeyValid','push','ImageInsertUI','GDrive','8513028bteyMH','_createDropdownButtons','Replace','evaluationLimit','afterInit','config','5682900FkRBgH','_createMenuBarButtons','shortText','bind','8766IqQKGJ','pluginName','isEnabled','text','reduce','licenseKey','type','invalid','editor','plugins','uploadcareLicenseKeyEvaluationLimit','usageLimit','assetManager','isImageSelected','_licenseKeyCheckInterval','_showLicenseError','_getIntegrationKey','446808IIhYPU','uploadcareLicenseKeyNotAllowed','1288KVhMYg','uploadcareLicenseKeyInvalid','featureNotAllowed','commands','get','registerIntegration','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','isPremiumPlugin','18UBQidl','isOfficialPlugin','withText','GPhotos','locale','destroy','3421520OsKpLw','upload','has','Uploadcare','execute','domainLimit','_createToolbarButton','UploadcareUI','map'];_0x39c7=function(){return _0x458978;};return _0x39c7();}export class UploadcareUI extends _0x239a59{[_0xdf11fe(0x1ff)];[_0xdf11fe(0x208)];static get[_0xdf11fe(0x1fb)](){const _0x32938c=_0xdf11fe;return _0x32938c(0x1d4);}static get[_0xdf11fe(0x1c8)](){return!0x0;}static get[_0xdf11fe(0x1c6)](){return!0x0;}[_0xdf11fe(0x1d8)](){const _0x2ead8f=_0xdf11fe;this[_0x2ead8f(0x1ff)]=this[_0x2ead8f(0x202)][_0x2ead8f(0x1f5)][_0x2ead8f(0x1c2)](_0x2ead8f(0x1ff));const _0x3670a5=this[_0x2ead8f(0x202)];this[_0x2ead8f(0x208)]=setInterval(()=>{const _0x59970e=_0x2ead8f;let _0x390df0;for(const _0x2e86c5 in _0x3670a5){const _0x33d45b=_0x2e86c5,_0x2d00ec=_0x3670a5[_0x33d45b];if(_0x59970e(0x1ec)==_0x2d00ec||_0x59970e(0x1bf)==_0x2d00ec||_0x59970e(0x1c5)==_0x2d00ec||_0x59970e(0x1db)==_0x2d00ec||_0x59970e(0x20c)==_0x2d00ec||_0x59970e(0x204)==_0x2d00ec||_0x59970e(0x1e6)==_0x2d00ec){delete _0x3670a5[_0x33d45b],_0x390df0=_0x2d00ec,clearInterval(this[_0x59970e(0x208)]),this[_0x59970e(0x208)]=void 0x0;break;}}_0x59970e(0x1bf)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x201)),_0x59970e(0x1c5)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1e2)),_0x59970e(0x1db)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1d2)),_0x59970e(0x20c)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1c0),_0x59970e(0x1d0)),_0x59970e(0x204)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1f3)),_0x59970e(0x1e6)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x205));},0x3e8);}[_0xdf11fe(0x1f4)](){const _0x37c1b7=_0xdf11fe,{editor:_0x187249}=this,_0xcc9f49=_0x187249[_0x37c1b7(0x1c1)][_0x37c1b7(0x1c2)](_0x37c1b7(0x1e0));if(!_0xcc9f49)return;const _0x4a2345=this[_0x37c1b7(0x1c4)](_0x187249[_0x37c1b7(0x1f5)][_0x37c1b7(0x1c2)](_0x37c1b7(0x1e5)))[_0x37c1b7(0x1fe)]((_0x3ac81f,_0x5aa3fa)=>{const _0x20bc1a=_0x37c1b7,_0x3efd3f=this[_0x20bc1a(0x20a)](_0x5aa3fa[_0x20bc1a(0x200)]);return _0x3ac81f[_0x3efd3f]||(_0x3ac81f[_0x3efd3f]=[]),_0x3ac81f[_0x3efd3f][_0x20bc1a(0x1ed)](_0x5aa3fa),_0x3ac81f;},{});_0x187249[_0x37c1b7(0x203)][_0x37c1b7(0x1cf)](_0x37c1b7(0x1ee))&&_0x187249[_0x37c1b7(0x1c1)][_0x37c1b7(0x1c2)](_0x37c1b7(0x1e0))&&Object[_0x37c1b7(0x1e8)](_0x4a2345)[_0x37c1b7(0x1da)](([_0x10d551,_0x203406])=>{const _0x37172e=_0x37c1b7;_0x187249[_0x37172e(0x203)][_0x37172e(0x1c2)](_0x37172e(0x1ee))[_0x37172e(0x1c3)]({'name':_0x10d551,'observable':()=>_0xcc9f49,'buttonViewCreator':()=>this[_0x37172e(0x1d3)](_0x203406),'formViewCreator':()=>this[_0x37172e(0x1f1)](_0x203406),'menuBarButtonViewCreator':()=>this[_0x37172e(0x1f7)](_0x203406),'override':_0x37172e(0x206)!==_0x10d551});});}[_0xdf11fe(0x1cc)](){const _0x2fea9b=_0xdf11fe;super[_0x2fea9b(0x1cc)](),this[_0x2fea9b(0x208)]&&clearInterval(this[_0x2fea9b(0x208)]);}[_0xdf11fe(0x1c4)](_0x3de24e){const _0x4bbe5e=_0xdf11fe,{locale:_0x3db8da}=this[_0x4bbe5e(0x202)];return _0x3de24e[_0x4bbe5e(0x1d5)](_0x3063fc=>{const _0xbd6e3b=_0x4bbe5e,_0x2b0acd=_0x481351(_0x3db8da,_0x3063fc,_0xbd6e3b(0x1df));switch(_0x3063fc){case _0x4027bd[_0xbd6e3b(0x1de)]:return{'icon':_0x3b7d7c,'type':_0x4027bd[_0xbd6e3b(0x1de)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1d6)]:return{'icon':_0x4128cc,'type':_0x4027bd[_0xbd6e3b(0x1d6)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1e4)]:return{'icon':_0x385d33,'type':_0x4027bd[_0xbd6e3b(0x1e4)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1e3)]:return{'icon':_0x3b0727,'type':_0x4027bd[_0xbd6e3b(0x1e3)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1ef)]:return{'icon':_0x56ad35,'type':_0x4027bd[_0xbd6e3b(0x1ef)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1ca)]:return{'icon':_0x1f61f9,'type':_0x4027bd[_0xbd6e3b(0x1ca)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1d7)]:return{'icon':_0x505a29,'type':_0x4027bd[_0xbd6e3b(0x1d7)],..._0x2b0acd};}});}[_0xdf11fe(0x20a)](_0x214f24){const _0x2fbd5d=_0xdf11fe;switch(_0x214f24){case _0x4027bd[_0x2fbd5d(0x1de)]:return _0x2fbd5d(0x1ce);case _0x4027bd[_0x2fbd5d(0x1d6)]:return _0x2fbd5d(0x1ea);default:return _0x2fbd5d(0x206);}}[_0xdf11fe(0x1dc)](_0x1d4400,_0x4b1508){const _0x397232=_0xdf11fe,_0x20516c=this[_0x397232(0x202)],_0x5bf8ae=new _0x1d4400(_0x20516c[_0x397232(0x1cb)]),_0x2f2106=_0x20516c[_0x397232(0x1c1)][_0x397232(0x1c2)](_0x397232(0x1e0));return _0x5bf8ae[_0x397232(0x1f9)](_0x397232(0x1fc))['to'](_0x2f2106),_0x5bf8ae['on'](_0x397232(0x1d1),()=>{const _0x214ecc=_0x397232;_0x2f2106[_0x214ecc(0x1d1)](_0x4b1508);}),_0x5bf8ae;}[_0xdf11fe(0x1d3)](_0x2e78fd){const _0x20337a=_0xdf11fe,{locale:_0x4c06c2}=this[_0x20337a(0x202)],_0x20d2c9=this[_0x20337a(0x202)][_0x20337a(0x203)][_0x20337a(0x1c2)](_0x20337a(0x1ee)),_0x224c40=_0x2e78fd[0x0],_0xa1f92a=this[_0x20337a(0x1dc)](_0x254e35,_0x224c40[_0x20337a(0x200)]);return _0xa1f92a[_0x20337a(0x1eb)]=_0x224c40[_0x20337a(0x1eb)],_0xa1f92a[_0x20337a(0x1f9)](_0x20337a(0x1e7))['to'](_0x20d2c9,_0x20337a(0x207),_0x264923=>_0x481351(_0x4c06c2,_0x224c40[_0x20337a(0x200)],_0x264923?_0x20337a(0x1f2):_0x20337a(0x1df))[_0x20337a(0x1fd)]),_0xa1f92a[_0x20337a(0x1dd)]=!0x0,_0xa1f92a;}[_0xdf11fe(0x1f1)](_0x2fb5a8){const _0x1c6d1b=_0xdf11fe,{locale:_0x55cb77}=this[_0x1c6d1b(0x202)],_0x514c2a=this[_0x1c6d1b(0x202)][_0x1c6d1b(0x203)][_0x1c6d1b(0x1c2)](_0x1c6d1b(0x1ee));return _0x2fb5a8[_0x1c6d1b(0x1d5)](_0x4fbdf2=>{const _0x3d39b9=_0x1c6d1b,_0x582f68=this[_0x3d39b9(0x1dc)](_0x254e35,_0x4fbdf2[_0x3d39b9(0x200)]);return _0x582f68[_0x3d39b9(0x1c9)]=!0x0,_0x582f68[_0x3d39b9(0x1eb)]=_0x4fbdf2[_0x3d39b9(0x1eb)],_0x582f68[_0x3d39b9(0x1f9)](_0x3d39b9(0x1e7))['to'](_0x514c2a,_0x3d39b9(0x207),_0x20b5ae=>_0x481351(_0x55cb77,_0x4fbdf2[_0x3d39b9(0x200)],_0x20b5ae?_0x3d39b9(0x1f2):_0x3d39b9(0x1df))[_0x3d39b9(0x1fd)]),_0x582f68;});}[_0xdf11fe(0x1f7)](_0x414fe7){const _0x1782d6=_0xdf11fe;return _0x414fe7[_0x1782d6(0x1d5)](_0x1bc9bb=>{const _0x8887b7=_0x1782d6,_0x14a9e9=this[_0x8887b7(0x1dc)](_0x49ec27,_0x1bc9bb[_0x8887b7(0x200)]);return _0x14a9e9[_0x8887b7(0x1eb)]=_0x1bc9bb[_0x8887b7(0x1eb)],_0x14a9e9[_0x8887b7(0x1e7)]=_0x1bc9bb[_0x8887b7(0x1f8)],_0x14a9e9;});}}
|
|
@@ -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 _0x450781}from'ckeditor5/src/core.js';import{FileRepository as _0x398e9f}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x47e330}from'./uploadcareediting.js';import{UploadUtils as _0x564c53}from'./utils/uploadutils.js';import{getImageUrls as _0x4b1039}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x450781{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x398e9f,_0x47e330];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x50774e=this['editor'];if(!!!_0x50774e['config']['get']('uploadcare'))return;_0x50774e['plugins']['get'](_0x398e9f)['createUploadAdapter']=_0x44e949=>new k(_0x44e949,_0x50774e),_0x50774e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2a69d3,{imageElement:_0x522f7a,data:_0x3e57b5})=>{_0x50774e['model']['change'](_0xda43f8=>{_0xda43f8['setAttribute']('uploadcareImageId',_0x3e57b5['uploadcareImageId'],_0x522f7a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x766418,_0x21a8f5){this['loader']=_0x766418,this['editor']=_0x21a8f5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x16d864=await this['loader']['file'];return _0x564c53['upload']({'file':_0x16d864,'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':_0x4e600e=>{_0x4e600e&&_0x4e600e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4e600e['value']);}})['then'](async _0x23cf1b=>{const {imageFallbackUrl:_0x223ddb,imageSources:_0x444716}=_0x4b1039(_0x23cf1b['cdnUrl'],_0x23cf1b['imageInfo']['width']);return{'uploadcareImageId':_0x23cf1b['uuid'],'default':_0x223ddb,'sources':_0x444716};})['catch'](()=>{const _0x2e0110=t('Cannot\x20upload\x20file:')+('\x20'+_0x16d864['name']+'.');return Promise['reject'](_0x2e0110);});}['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 _0xbb99d1}from'../uploadcareconfig.js';export function getTranslation(_0x3d652a,_0x49b068,_0x273761){const t=_0x3d652a['t'],_0x38f2fd=_0x3d652a['t'];switch(_0x49b068){case _0xbb99d1['Local']:return{'text':_0x38f2fd('Insert'===_0x273761?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x38f2fd('From\x20computer')};case _0xbb99d1['URL']:return{'text':'Insert'===_0x273761?_0x38f2fd('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x38f2fd('Via\x20URL')};case _0xbb99d1['Dropbox']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xbb99d1['Facebook']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xbb99d1['GDrive']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xbb99d1['GPhotos']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xbb99d1['OneDrive']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49b068;}}
|
|
@@ -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 _0x1a1600=_0x4361;function _0x9900(){var _0x568036=['bindTemplate','div','4juoCvs','16296aZSmLK','157771cuvMBZ','fire','getFocusableElement','createCollection','475awrCNz','forwardCycle','2554816RsWweQ','708729xChmSz','14965533ZfbwwM','2KNbqFT','true','611590QMkVLm','793215ZXQKsx','focusTracker','9WquZbX','focusCycler'];_0x9900=function(){return _0x568036;};return _0x9900();}(function(_0x3bea1c,_0x44b02d){var _0x2d6df4=_0x4361,_0x47b938=_0x3bea1c();while(!![]){try{var _0x380cd1=-parseInt(_0x2d6df4(0xf8))/0x1*(parseInt(_0x2d6df4(0x101))/0x2)+-parseInt(_0x2d6df4(0x104))/0x3*(parseInt(_0x2d6df4(0x10a))/0x4)+parseInt(_0x2d6df4(0xfc))/0x5*(-parseInt(_0x2d6df4(0xf7))/0x6)+-parseInt(_0x2d6df4(0xff))/0x7+-parseInt(_0x2d6df4(0xfe))/0x8+-parseInt(_0x2d6df4(0x106))/0x9*(parseInt(_0x2d6df4(0x103))/0xa)+parseInt(_0x2d6df4(0x100))/0xb;if(_0x380cd1===_0x44b02d)break;else _0x47b938['push'](_0x47b938['shift']());}catch(_0x2fa2ce){_0x47b938['push'](_0x47b938['shift']());}}}(_0x9900,0x30795));import{FocusTracker as _0x572cbc}from'ckeditor5/src/utils.js';import{View as _0x4b628a,FocusCycler as _0x5cf274}from'ckeditor5/src/ui.js';function _0x4361(_0x277f54,_0xa859ef){var _0x99000a=_0x9900();return _0x4361=function(_0x436118,_0x21da53){_0x436118=_0x436118-0xf7;var _0x269ea2=_0x99000a[_0x436118];return _0x269ea2;},_0x4361(_0x277f54,_0xa859ef);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4b628a{[_0x1a1600(0x105)];[_0x1a1600(0x107)];constructor(_0x29c84a){var _0x26e50a=_0x1a1600;super(_0x29c84a),this[_0x26e50a(0x105)]=new _0x572cbc(),this[_0x26e50a(0x107)]=new _0x5cf274({'focusables':this[_0x26e50a(0xfb)](),'focusTracker':this[_0x26e50a(0x105)]});}[_0x1a1600(0xfa)](){var _0x1d0760=_0x1a1600;return{'tag':_0x1d0760(0x109),'attributes':{'aria-hidden':_0x1d0760(0x102),'tabindex':'0'},'on':{'focus':this[_0x1d0760(0x108)]['to'](()=>{var _0x294abb=_0x1d0760;this[_0x294abb(0x107)][_0x294abb(0xf9)](_0x294abb(0xfd));})}};}}
|
|
@@ -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(_0x2ac169,_0x1980fd){const _0x3ad01c=_0x4d4d,_0x49b78c=_0x2ac169();while(!![]){try{const _0x442d90=parseInt(_0x3ad01c(0x139))/0x1+parseInt(_0x3ad01c(0x15d))/0x2+parseInt(_0x3ad01c(0x137))/0x3+-parseInt(_0x3ad01c(0x150))/0x4*(-parseInt(_0x3ad01c(0x161))/0x5)+parseInt(_0x3ad01c(0x166))/0x6*(-parseInt(_0x3ad01c(0x149))/0x7)+parseInt(_0x3ad01c(0x14a))/0x8+parseInt(_0x3ad01c(0x15c))/0x9*(-parseInt(_0x3ad01c(0x142))/0xa);if(_0x442d90===_0x1980fd)break;else _0x49b78c['push'](_0x49b78c['shift']());}catch(_0x10b1d2){_0x49b78c['push'](_0x49b78c['shift']());}}}(_0x5a7b,0xb00e8));import{global as _0x2813a7,DomEmitterMixin as _0x3999e2}from'ckeditor5/src/utils.js';function _0x5a7b(){const _0x2564a6=['imageBlock','domConverter','(max-width:\x20','editing','height','3288633eTJhjj','map','520504RbkoKL','getAttribute','setStyle','join','filter','findViewImgElement','toViewElement','uploadcareImageId','document','30sesUQX','hasAttribute','location','origin','image/webp','src','imageInline','210uwTTQS','3969832cJVfku','stopListening','element','removeStyle','load','some','60tueYSW','aspect-ratio','/-/resize/','function','ImageUtils','match','width','removeClass','image-processing','baseURI','plugins','get','8971542OyAtMr','2483876yBwJWz','mapper','replace','change','270350BxVcsb','viewToDom','view','window','px)\x20100vw,\x20','90858kzCUTM','listenTo','isArray','x/\x20','addClass'];_0x5a7b=function(){return _0x2564a6;};return _0x5a7b();}export function createEditabilityChecker(_0x4f43e3){const _0x3d70c1=_0x4d4d,_0x233b43=G(_0x4f43e3);return _0x6e7dc=>!(!_0x6e7dc||!_0x6e7dc['is'](_0x3d70c1(0x14c),_0x3d70c1(0x132))&&!_0x6e7dc['is'](_0x3d70c1(0x14c),_0x3d70c1(0x148)))&&(!!_0x6e7dc[_0x3d70c1(0x143)](_0x3d70c1(0x140))||!!_0x6e7dc[_0x3d70c1(0x143)](_0x3d70c1(0x147))&&_0x233b43(_0x6e7dc[_0x3d70c1(0x13a)](_0x3d70c1(0x147))));}export function getImageUrls(_0xacf964,_0xd4c496){const _0x1c5671=_0x4d4d,_0x24bb7e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1c5671(0x13d)](_0x378cf8=>_0x378cf8<=_0xd4c496)[_0x1c5671(0x138)](_0x2d8802=>_0xacf964[_0x1c5671(0x15f)](/\/$/,'')+_0x1c5671(0x152)+_0x2d8802+_0x1c5671(0x169)+_0x2d8802+'w');return{'imageFallbackUrl':_0xacf964,'imageSources':[{'srcset':_0x24bb7e[_0x1c5671(0x13c)](',\x20'),'sizes':_0x1c5671(0x134)+_0xd4c496+_0x1c5671(0x165)+_0xd4c496+'px','type':_0x1c5671(0x146)}]};}export function getImageDimension(_0x1fdb78,_0x19b894,_0x3b6298){const _0x23c5ab=_0x4d4d,_0x158178=_0x1fdb78[_0x23c5ab(0x155)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x158178?parseInt(_0x158178[0x1],0xa):_0x19b894,'height':_0x158178?parseInt(_0x158178[0x2],0xa):_0x3b6298};}export function showImageProcessingIndicator(_0x3d2bf4,_0x1084bf){const _0x9750f1=_0x4d4d,_0x40f499=new(_0x3999e2())(),_0x3d84e6=_0x3d2bf4[_0x9750f1(0x15a)][_0x9750f1(0x15b)](_0x9750f1(0x154)),_0x520a9e=_0x3d2bf4[_0x9750f1(0x135)][_0x9750f1(0x15e)][_0x9750f1(0x13f)](_0x1084bf),_0x306760=_0x3d84e6[_0x9750f1(0x13e)](_0x520a9e),_0x1c8a1a=_0x3d2bf4[_0x9750f1(0x135)][_0x9750f1(0x163)][_0x9750f1(0x133)][_0x9750f1(0x162)](_0x306760),_0x287126=_0x1084bf[_0x9750f1(0x13a)](_0x9750f1(0x156)),_0x24bb78=_0x1084bf[_0x9750f1(0x13a)](_0x9750f1(0x136)),_0x29bc89=_0x9750f1(0x158);_0x3d2bf4[_0x9750f1(0x135)][_0x9750f1(0x163)][_0x9750f1(0x160)](_0x29d0c2=>{const _0x240fa8=_0x9750f1;_0x29d0c2[_0x240fa8(0x131)](_0x29bc89,_0x520a9e),_0x29d0c2[_0x240fa8(0x13b)](_0x240fa8(0x151),_0x287126+'/'+_0x24bb78,_0x306760);}),_0x40f499[_0x9750f1(0x167)](_0x1c8a1a,_0x9750f1(0x14e),()=>{const _0x5657f6=_0x9750f1;_0x40f499[_0x5657f6(0x14b)](_0x1c8a1a,_0x5657f6(0x14e)),_0x3d2bf4[_0x5657f6(0x135)][_0x5657f6(0x163)][_0x5657f6(0x160)](_0x3caeb0=>{const _0x1d2efe=_0x5657f6;_0x3caeb0[_0x1d2efe(0x157)](_0x29bc89,_0x520a9e),_0x3caeb0[_0x1d2efe(0x14d)](_0x1d2efe(0x151),_0x306760);});});}function _0x4d4d(_0x5c5022,_0x393ca9){const _0x5a7bee=_0x5a7b();return _0x4d4d=function(_0x4d4dcc,_0xbb44e7){_0x4d4dcc=_0x4d4dcc-0x131;let _0x1e8e31=_0x5a7bee[_0x4d4dcc];return _0x1e8e31;},_0x4d4d(_0x5c5022,_0x393ca9);}function G(_0x362426){const _0x29dc36=_0x4d4d;if(Array[_0x29dc36(0x168)](_0x362426)){const _0x49bb61=_0x362426[_0x29dc36(0x138)](G);return _0x2bcd63=>_0x49bb61[_0x29dc36(0x14f)](_0x4c43ef=>_0x4c43ef(_0x2bcd63));}if(_0x29dc36(0x145)==_0x362426){const _0x5861be=_0x2813a7[_0x29dc36(0x164)][_0x29dc36(0x144)][_0x29dc36(0x145)];return _0x36ea56=>new URL(_0x36ea56,_0x2813a7[_0x29dc36(0x141)][_0x29dc36(0x159)])[_0x29dc36(0x145)]==_0x5861be;}return _0x29dc36(0x153)==typeof _0x362426?_0x362426:_0x362426 instanceof RegExp?_0x2d8a19=>!(!_0x2d8a19[_0x29dc36(0x155)](_0x362426)&&!_0x2d8a19[_0x29dc36(0x15f)](/^https?:\/\//,'')[_0x29dc36(0x155)](_0x362426)):()=>!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(_0x532ba6,_0x4c2a81){var _0x362922=_0x4e21,_0x58cc46=_0x532ba6();while(!![]){try{var _0x452fbe=-parseInt(_0x362922(0x1aa))/0x1*(-parseInt(_0x362922(0x1b1))/0x2)+parseInt(_0x362922(0x1b2))/0x3*(-parseInt(_0x362922(0x1af))/0x4)+parseInt(_0x362922(0x1ad))/0x5+-parseInt(_0x362922(0x1b5))/0x6*(-parseInt(_0x362922(0x1b0))/0x7)+-parseInt(_0x362922(0x1ac))/0x8+parseInt(_0x362922(0x1ab))/0x9+parseInt(_0x362922(0x1a9))/0xa*(-parseInt(_0x362922(0x1b4))/0xb);if(_0x452fbe===_0x4c2a81)break;else _0x58cc46['push'](_0x58cc46['shift']());}catch(_0x257b31){_0x58cc46['push'](_0x58cc46['shift']());}}}(_0x4fe7,0x6d554));function _0x4fe7(){var _0x108b89=['28wqeteE','820202AIrKxJ','6kMSbxi','includes','385132FKKFab','892326HvvgzL','20dhvLuE','1KvHUmg','1080954jlcdyA','5415480phkyFQ','3524440DAKChk','target','1270384bFdVcq'];_0x4fe7=function(){return _0x108b89;};return _0x4fe7();}import{getAncestors as _0x55cc88}from'ckeditor5/src/utils.js';function _0x4e21(_0x13515f,_0x35fde7){var _0x4fe72b=_0x4fe7();return _0x4e21=function(_0x4e21f8,_0x2c2b6f){_0x4e21f8=_0x4e21f8-0x1a9;var _0x4b2db2=_0x4fe72b[_0x4e21f8];return _0x4b2db2;},_0x4e21(_0x13515f,_0x35fde7);}export function isAncestor(_0x57c3c8,_0x32a4f4){var _0xeaf0bb=_0x4e21;return _0x55cc88(_0x57c3c8[_0xeaf0bb(0x1ae)])[_0xeaf0bb(0x1b3)](_0x32a4f4);}
|
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 _0x57ff69=_0x5ce8;function _0x5b08(){var _0x2bf29a=['410449XJXeHK','5244tNATcx','3044490aIhBrL','2249184UlBCQF','596wpvGJY','getInfo','9221709bcpuox','upload','3694525tbntlj'];_0x5b08=function(){return _0x2bf29a;};return _0x5b08();}function _0x5ce8(_0x236dc9,_0x1189b0){var _0x5b0885=_0x5b08();return _0x5ce8=function(_0x5ce88a,_0x3289a0){_0x5ce88a=_0x5ce88a-0xee;var _0x7a6698=_0x5b0885[_0x5ce88a];return _0x7a6698;},_0x5ce8(_0x236dc9,_0x1189b0);}(function(_0x38e048,_0x414b5b){var _0x18653b=_0x5ce8,_0x36c515=_0x38e048();while(!![]){try{var _0x1b5bf4=-parseInt(_0x18653b(0xf1))/0x1+-parseInt(_0x18653b(0xf5))/0x2+-parseInt(_0x18653b(0xf4))/0x3+parseInt(_0x18653b(0xf2))/0x4+parseInt(_0x18653b(0xf0))/0x5+-parseInt(_0x18653b(0xf3))/0x6+parseInt(_0x18653b(0xee))/0x7;if(_0x1b5bf4===_0x414b5b)break;else _0x36c515['push'](_0x36c515['shift']());}catch(_0x29b6e4){_0x36c515['push'](_0x36c515['shift']());}}}(_0x5b08,0x5f251));import{uploadFile as _0x1fe36a,info as _0x446560}from'@uploadcare/upload-client';export class UploadUtils{static[_0x57ff69(0xef)]({file:_0x1c60ee,..._0x1ebc0e}){return _0x1fe36a(_0x1c60ee,_0x1ebc0e);}static[_0x57ff69(0xf6)](_0x5da22f,_0x11d6d7){return _0x446560(_0x5da22f,_0x11d6d7);}}
|