@ckeditor/ckeditor5-uploadcare 0.0.0-internal-20251211.0 → 0.0.0-internal-20260121.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/LICENSE.md +2 -2
- package/README.md +1 -1
- package/build/uploadcare.js +3 -3
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +41 -79
- package/dist/index.css +95 -85
- package/dist/index.js +4 -4
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/be.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +10 -10
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/ui/uploadcarecontroller.d.ts +1 -1
- package/src/ui/uploadcarecontroller.js +3 -3
- package/src/ui/uploadcareformview.d.ts +1 -1
- package/src/ui/uploadcareformview.js +2 -2
- package/src/uploadcare.d.ts +1 -1
- package/src/uploadcare.js +2 -2
- package/src/uploadcarecommand.d.ts +1 -1
- package/src/uploadcarecommand.js +2 -2
- package/src/uploadcareconfig.d.ts +1 -1
- package/src/uploadcareconfig.js +2 -2
- package/src/uploadcareediting.d.ts +1 -1
- package/src/uploadcareediting.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +3 -3
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +2 -2
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +2 -2
- package/src/uploadcareimageedit.d.ts +1 -1
- package/src/uploadcareimageedit.js +2 -2
- package/src/uploadcareui.d.ts +1 -1
- package/src/uploadcareui.js +2 -2
- package/src/uploadcareuploadadapter.d.ts +1 -1
- package/src/uploadcareuploadadapter.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/dialogfocusmanagerview.d.ts +1 -1
- package/src/utils/dialogfocusmanagerview.js +2 -2
- package/src/utils/editingutils.d.ts +1 -1
- package/src/utils/editingutils.js +2 -2
- package/src/utils/isancestor.d.ts +1 -1
- package/src/utils/isancestor.js +2 -2
- package/src/utils/uploadutils.d.ts +1 -1
- package/src/utils/uploadutils.js +2 -2
- package/theme/uploadcare-form.css +5 -2
- package/theme/uploadcare-theme.css +1 -1
- package/theme/uploadcareimageedit.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3b11(){const _0x4d1254=['detail','length','cdnUrl','uploading','target','createCollection','_setView','88WZbioI','add','_loadingView','_errorView','9LoKeNZ','error','8426880eGrOSV','focus','disconnect','addEventListener','fire','element','_focusableView','status','addMany','apply','ready','_addUploadcareImageEditorListeners','setTemplate','getFocusableElement','querySelector','ck-reset_all-excluded','render','6321AAjGRb','5868sCPPEu','observe','18mrjxDk','uc-cloud-image-editor','change:status','div','327608uxwzUN','set','_editingView','10097540jxaWvl','_items','addedNodes','cancel','filter','ck-uploadcare-form','_waitForImageEditorComponent','1449804hBtcgk','366844tSnumt','nodeName','_addErrorViewListeners','once','39477TsCEPH','clear','toLowerCase','retry','35QEexMy'];_0x3b11=function(){return _0x4d1254;};return _0x3b11();}const _0x2bb2ce=_0x52eb;(function(_0x2bf691,_0xf225b3){const _0x5d6dfb=_0x52eb,_0x418592=_0x2bf691();while(!![]){try{const _0x28a5bd=parseInt(_0x5d6dfb(0x1fd))/0x1+parseInt(_0x5d6dfb(0x1f9))/0x2*(parseInt(_0x5d6dfb(0x223))/0x3)+parseInt(_0x5d6dfb(0x227))/0x4*(-parseInt(_0x5d6dfb(0x201))/0x5)+parseInt(_0x5d6dfb(0x221))/0x6*(-parseInt(_0x5d6dfb(0x220))/0x7)+-parseInt(_0x5d6dfb(0x20f))/0x8+-parseInt(_0x5d6dfb(0x20d))/0x9*(-parseInt(_0x5d6dfb(0x1f1))/0xa)+-parseInt(_0x5d6dfb(0x209))/0xb*(-parseInt(_0x5d6dfb(0x1f8))/0xc);if(_0x28a5bd===_0xf225b3)break;else _0x418592['push'](_0x418592['shift']());}catch(_0x52ccc7){_0x418592['push'](_0x418592['shift']());}}}(_0x3b11,0x9411b));function _0x52eb(_0x41a97d,_0x50d2ae){const _0x3b11b3=_0x3b11();return _0x52eb=function(_0x52eb26,_0x56f5e8){_0x52eb26=_0x52eb26-0x1f1;let _0x37dc15=_0x3b11b3[_0x52eb26];return _0x37dc15;},_0x52eb(_0x41a97d,_0x50d2ae);}import{View as _0x3b14b0}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5a4ddb}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3c8ecf}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x21517a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xc21b82}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xc21b82{[_0x2bb2ce(0x1f2)];[_0x2bb2ce(0x20b)];[_0x2bb2ce(0x20c)];[_0x2bb2ce(0x229)];[_0x2bb2ce(0x215)];constructor(_0x93ee25,_0x3028d3,_0x408d9d){const _0x366ff5=_0x2bb2ce;super(_0x93ee25),this[_0x366ff5(0x1f2)]=this[_0x366ff5(0x207)](),this[_0x366ff5(0x20b)]=new _0x5a4ddb(_0x93ee25),this[_0x366ff5(0x20c)]=new _0x3c8ecf(_0x93ee25),this[_0x366ff5(0x229)]=new _0x21517a(_0x93ee25,_0x408d9d),this[_0x366ff5(0x215)]=new _0x3b14b0(_0x93ee25),this[_0x366ff5(0x215)][_0x366ff5(0x21b)](this[_0x366ff5(0x21c)]()),this[_0x366ff5(0x228)](_0x366ff5(0x216),_0x3028d3),this[_0x366ff5(0x21b)]({'tag':_0x366ff5(0x226),'attributes':{'class':['ck',_0x366ff5(0x21e),_0x366ff5(0x1f6)],'tabindex':'-1'},'children':this[_0x366ff5(0x1f2)]}),this[_0x366ff5(0x208)](),this[_0x366ff5(0x1fc)](_0x366ff5(0x21f),()=>{const _0x28ca6a=_0x366ff5;this[_0x28ca6a(0x1f7)](this[_0x28ca6a(0x214)],_0x126df1=>{const _0x4969b4=_0x28ca6a;this[_0x4969b4(0x21a)](_0x126df1);});}),this['on'](_0x366ff5(0x225),()=>{const _0x565ca6=_0x366ff5;this[_0x565ca6(0x208)]();}),this[_0x366ff5(0x1fb)]();}[_0x2bb2ce(0x210)](){const _0x2698f1=_0x2bb2ce;this[_0x2698f1(0x214)][_0x2698f1(0x210)]();}[_0x2bb2ce(0x208)](){const _0x355095=_0x2bb2ce;switch(this[_0x355095(0x1f2)][_0x355095(0x1fe)](),this[_0x355095(0x216)]){case _0x355095(0x205):this[_0x355095(0x1f2)][_0x355095(0x20a)](this[_0x355095(0x20b)]);break;case _0x355095(0x20e):this[_0x355095(0x1f2)][_0x355095(0x20a)](this[_0x355095(0x20c)]);break;case _0x355095(0x219):this[_0x355095(0x1f2)][_0x355095(0x217)]([this[_0x355095(0x229)],this[_0x355095(0x215)]]);}}[_0x2bb2ce(0x1f7)](_0x398bca,_0x1cecfb){const _0x243ec1=_0x2bb2ce,_0x4ccc40=_0x243ec1(0x224),_0x224896=_0x398bca[_0x243ec1(0x21d)](_0x4ccc40);if(_0x224896)return _0x1cecfb(_0x224896);const _0xfffa8a=new MutationObserver(_0x7da96e=>{const _0x4d579f=_0x243ec1,_0x108f4a=_0x7da96e[_0x4d579f(0x1f5)](_0x15d065=>_0x15d065[_0x4d579f(0x206)]===_0x398bca&&_0x15d065[_0x4d579f(0x1f3)][_0x4d579f(0x203)]>0x0&&_0x15d065[_0x4d579f(0x1f3)][0x0][_0x4d579f(0x1fa)][_0x4d579f(0x1ff)]()===_0x4ccc40);_0x108f4a[_0x4d579f(0x203)]&&(_0xfffa8a[_0x4d579f(0x211)](),_0x1cecfb(_0x108f4a[0x0][_0x4d579f(0x1f3)][0x0]));});_0xfffa8a[_0x243ec1(0x222)](_0x398bca,{'childList':!0x0,'subtree':!0x0});}[_0x2bb2ce(0x21a)](_0x234c25){const _0x6bee3c=_0x2bb2ce;_0x234c25[_0x6bee3c(0x212)](_0x6bee3c(0x218),_0x44d440=>{const _0x497fff=_0x6bee3c;this[_0x497fff(0x213)](_0x497fff(0x218),{'imageSrc':_0x44d440[_0x497fff(0x202)][_0x497fff(0x204)]});}),_0x234c25[_0x6bee3c(0x212)](_0x6bee3c(0x1f4),()=>{const _0x4f56ae=_0x6bee3c;this[_0x4f56ae(0x213)](_0x4f56ae(0x1f4));});}[_0x2bb2ce(0x1fb)](){const _0x4cf674=_0x2bb2ce;this[_0x4cf674(0x20c)]['on'](_0x4cf674(0x200),()=>{const _0x53ae1c=_0x4cf674;this[_0x53ae1c(0x213)](_0x53ae1c(0x200));});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51a419=_0x7c6f;function _0x5b29(){const _0xf648e3=['2492560tsoRvx','7tPOnpt','149908BQbDCr','isEnabled','model','refresh','4016836XiskGG','2639650oLITsc','plugins','2112840WRAtGv','element','9NlUfWg','execute','imageBlock','config','requires','editor','imageInline','isActive','selection','getSelectedElement','3rRRixJ','454264VejErm','5kJdjzE','bind','unbind','4446426eFsfAB','set','_isEditable','uploadcare.allowExternalImagesEditing','document','get','2076jkSzMR','imageEditController'];_0x5b29=function(){return _0xf648e3;};return _0x5b29();}(function(_0x5332d7,_0x3a9959){const _0x98d14b=_0x7c6f,_0x4fa653=_0x5332d7();while(!![]){try{const _0x3a7bd4=parseInt(_0x98d14b(0x1ce))/0x1*(parseInt(_0x98d14b(0x1cf))/0x2)+parseInt(_0x98d14b(0x1e4))/0x3+parseInt(_0x98d14b(0x1e1))/0x4+parseInt(_0x98d14b(0x1d0))/0x5*(parseInt(_0x98d14b(0x1d3))/0x6)+-parseInt(_0x98d14b(0x1dc))/0x7*(-parseInt(_0x98d14b(0x1db))/0x8)+-parseInt(_0x98d14b(0x1e6))/0x9*(parseInt(_0x98d14b(0x1e2))/0xa)+-parseInt(_0x98d14b(0x1dd))/0xb*(parseInt(_0x98d14b(0x1d9))/0xc);if(_0x3a7bd4===_0x3a9959)break;else _0x4fa653['push'](_0x4fa653['shift']());}catch(_0x25f48f){_0x4fa653['push'](_0x4fa653['shift']());}}}(_0x5b29,0xc86b5));function _0x7c6f(_0x6a2bc0,_0x2add28){const _0x5b29a3=_0x5b29();return _0x7c6f=function(_0x7c6f1b,_0x5580f2){_0x7c6f1b=_0x7c6f1b-0x1ce;let _0x56cb2b=_0x5b29a3[_0x7c6f1b];return _0x56cb2b;},_0x7c6f(_0x6a2bc0,_0x2add28);}import{Command as _0x3a85e3}from'ckeditor5/src/core.js';import{Dialog as _0x230bc1}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2f82d4}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5c2990}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3a85e3{[_0x51a419(0x1da)];static get[_0x51a419(0x1ea)](){return[_0x230bc1];}[_0x51a419(0x1d5)];constructor(_0xc0c779){const _0x46dedd=_0x51a419;super(_0xc0c779),this[_0x46dedd(0x1da)]=void 0x0,this[_0x46dedd(0x1d5)]=_0x5c2990(_0xc0c779[_0x46dedd(0x1e9)][_0x46dedd(0x1d8)](_0x46dedd(0x1d6))||[]),this[_0x46dedd(0x1d4)]({'isActive':!0x1});}[_0x51a419(0x1e0)](){const _0x157214=_0x51a419,_0x2d0d41=this[_0x157214(0x1eb)][_0x157214(0x1df)][_0x157214(0x1d7)][_0x157214(0x1ee)][_0x157214(0x1ef)]();this[_0x157214(0x1de)]=this[_0x157214(0x1d5)](_0x2d0d41);}[_0x51a419(0x1e7)](){const _0x1b033a=_0x51a419;this[_0x1b033a(0x1da)]&&(this[_0x1b033a(0x1d2)](_0x1b033a(0x1ed)),this[_0x1b033a(0x1da)]=void 0x0);const _0x22000c=this[_0x1b033a(0x1eb)][_0x1b033a(0x1df)][_0x1b033a(0x1d7)][_0x1b033a(0x1ee)][_0x1b033a(0x1ef)]();_0x22000c&&(_0x22000c['is'](_0x1b033a(0x1e5),_0x1b033a(0x1e8))||_0x22000c['is'](_0x1b033a(0x1e5),_0x1b033a(0x1ec)))&&(this[_0x1b033a(0x1da)]=new _0x2f82d4(this[_0x1b033a(0x1eb)],this[_0x1b033a(0x1eb)][_0x1b033a(0x1e3)][_0x1b033a(0x1d8)](_0x230bc1),_0x22000c),this[_0x1b033a(0x1d1)](_0x1b033a(0x1ed))['to'](this[_0x1b033a(0x1da)],_0x1b033a(0x1ed)));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d7051=_0x150f;(function(_0x398e8b,_0x45e79c){const _0x33ee99=_0x150f,_0x1bce67=_0x398e8b();while(!![]){try{const _0x5d572a=-parseInt(_0x33ee99(0x120))/0x1+parseInt(_0x33ee99(0x12d))/0x2+-parseInt(_0x33ee99(0x122))/0x3+-parseInt(_0x33ee99(0x12c))/0x4+-parseInt(_0x33ee99(0x11a))/0x5+-parseInt(_0x33ee99(0x124))/0x6+parseInt(_0x33ee99(0x11f))/0x7*(parseInt(_0x33ee99(0x11e))/0x8);if(_0x5d572a===_0x45e79c)break;else _0x1bce67['push'](_0x1bce67['shift']());}catch(_0x51888c){_0x1bce67['push'](_0x1bce67['shift']());}}}(_0x3a79,0xe5cf4));function _0x150f(_0x53e07d,_0x5c8399){const _0x3a79b5=_0x3a79();return _0x150f=function(_0x150fd3,_0x1a8549){_0x150fd3=_0x150fd3-0x11a;let _0x1f2b76=_0x3a79b5[_0x150fd3];return _0x1f2b76;},_0x150f(_0x53e07d,_0x5c8399);}function _0x3a79(){const _0x37b784=['add','ImageUtils','isOfficialPlugin','5970756ELeqiR','741456dOZPaM','8815785MIiakA','isPremiumPlugin','uploadcareImageReplace','ImageEditing','8wwJXgA','38243954lwbAGU','350306qCBGpz','commands','2581611jWpdKR','requires','2556966DsKQPF','UploadcareImageEditEditing','pluginName','uploadcareImageEdit','init'];_0x3a79=function(){return _0x37b784;};return _0x3a79();}import{Plugin as _0x1ceab6}from'ckeditor5/src/core.js';import{Notification as _0x5eb7ee}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x5f1930}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2d0efa}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5d1f24}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1ceab6{static get[_0x3d7051(0x126)](){const _0x20bcae=_0x3d7051;return _0x20bcae(0x125);}static get[_0x3d7051(0x123)](){const _0x5bd689=_0x3d7051;return[_0x5d1f24,_0x5eb7ee,_0x5bd689(0x12a),_0x5bd689(0x11d)];}static get[_0x3d7051(0x12b)](){return!0x0;}static get[_0x3d7051(0x11b)](){return!0x0;}[_0x3d7051(0x128)](){const _0x366b67=_0x3d7051,{editor:_0x271441}=this;_0x271441[_0x366b67(0x121)][_0x366b67(0x129)](_0x366b67(0x127),new _0x5f1930(_0x271441)),_0x271441[_0x366b67(0x121)][_0x366b67(0x129)](_0x366b67(0x11c),new _0x2d0efa(_0x271441));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3a11a5}from'ckeditor5/src/core.js';import{ButtonView as _0x89b7be}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x242f89}from'ckeditor5/src/icons.js';import{createElement as _0x29a22c}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x3a11a5{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x27604c=this['editor'];_0x27604c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5d1215=>{const _0x4fbd59=_0x27604c['commands']['get']('uploadcareImageEdit'),_0x2c5c3f=new _0x89b7be(_0x5d1215),t=_0x5d1215['t'];return _0x2c5c3f['set']({'icon':_0x242f89,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2c5c3f['bind']('isEnabled')['to'](_0x4fbd59),_0x2c5c3f['bind']('isOn')['to'](_0x4fbd59,'isActive'),this['listenTo'](_0x2c5c3f,'execute',()=>{_0x27604c['execute']('uploadcareImageEdit'),_0x27604c['editing']['view']['focus']();}),_0x2c5c3f;}),this['_initConfig']();}['_initConfig'](){const _0x5ef9b7=_0x29a22c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5ef9b7),this['listenTo'](this['editor'],'destroy',()=>{_0x5ef9b7['remove']();});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2484fa=_0xb9f7;function _0x181e(){const _0x515660=['refresh','3WHRGUp','getSelectedElement','model','imageInline','173936rSOolo','1228688wKdPpP','removeAttribute','document','imageBlock','selection','32049260MTXLNV','956751uforYZ','element','503724GxvIgP','169578QlyJoS','srcset','editor','160fGKrWO','15oNnLAj','execute','1409374lIoGDY','isEnabled','setAttributes','sizes','change'];_0x181e=function(){return _0x515660;};return _0x181e();}(function(_0x17e0f0,_0x37245d){const _0x4a01f9=_0xb9f7,_0x4fdf90=_0x17e0f0();while(!![]){try{const _0x13b956=-parseInt(_0x4a01f9(0x14e))/0x1+-parseInt(_0x4a01f9(0x157))/0x2*(parseInt(_0x4a01f9(0x15d))/0x3)+-parseInt(_0x4a01f9(0x148))/0x4+parseInt(_0x4a01f9(0x155))/0x5*(-parseInt(_0x4a01f9(0x150))/0x6)+parseInt(_0x4a01f9(0x147))/0x7+parseInt(_0x4a01f9(0x154))/0x8*(-parseInt(_0x4a01f9(0x151))/0x9)+parseInt(_0x4a01f9(0x14d))/0xa;if(_0x13b956===_0x37245d)break;else _0x4fdf90['push'](_0x4fdf90['shift']());}catch(_0x4dcb3){_0x4fdf90['push'](_0x4fdf90['shift']());}}}(_0x181e,0x9a68e));function _0xb9f7(_0x2ca9d0,_0x1ff5bc){const _0x181e29=_0x181e();return _0xb9f7=function(_0xb9f7c9,_0x32f2bb){_0xb9f7c9=_0xb9f7c9-0x146;let _0x3c7116=_0x181e29[_0xb9f7c9];return _0x3c7116;},_0xb9f7(_0x2ca9d0,_0x1ff5bc);}import{Command as _0x3d01f4}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x3d01f4{[_0x2484fa(0x15c)](){const _0x21c8c2=_0x2484fa,_0x1988e2=this[_0x21c8c2(0x153)][_0x21c8c2(0x15f)][_0x21c8c2(0x14a)][_0x21c8c2(0x14c)][_0x21c8c2(0x15e)]();this[_0x21c8c2(0x158)]=Boolean(_0x1988e2&&(_0x1988e2['is'](_0x21c8c2(0x14f),_0x21c8c2(0x14b))||_0x1988e2['is'](_0x21c8c2(0x14f),_0x21c8c2(0x146))));}[_0x2484fa(0x156)](_0x1330f5){const _0x48c4aa=_0x2484fa,_0x519692=this[_0x48c4aa(0x153)][_0x48c4aa(0x15f)][_0x48c4aa(0x14a)][_0x48c4aa(0x14c)][_0x48c4aa(0x15e)]();this[_0x48c4aa(0x153)][_0x48c4aa(0x15f)][_0x48c4aa(0x15b)](_0x58785f=>{const _0x20da26=_0x48c4aa;_0x58785f[_0x20da26(0x159)](_0x1330f5,_0x519692),_0x58785f[_0x20da26(0x149)](_0x20da26(0x152),_0x519692),_0x58785f[_0x20da26(0x149)](_0x20da26(0x15a),_0x519692);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x52f6c1=_0x5c9c;function _0x55f6(){var _0x261cdf=['594645cIvoYH','isPremiumPlugin','305583EtahrN','pluginName','48PdBUXP','6745952kxBfFa','29130336ePmIIO','26734BKZvcv','5400726STzzlj','5677483vgIsWz','UploadcareImageEdit','isOfficialPlugin','requires','33qjeDlW'];_0x55f6=function(){return _0x261cdf;};return _0x55f6();}(function(_0x525a9e,_0xb39c14){var _0x52e5d6=_0x5c9c,_0x3a3b73=_0x525a9e();while(!![]){try{var _0x5f0d7f=-parseInt(_0x52e5d6(0x175))/0x1+-parseInt(_0x52e5d6(0x17a))/0x2*(-parseInt(_0x52e5d6(0x172))/0x3)+parseInt(_0x52e5d6(0x177))/0x4*(-parseInt(_0x52e5d6(0x173))/0x5)+-parseInt(_0x52e5d6(0x17b))/0x6+-parseInt(_0x52e5d6(0x17c))/0x7+parseInt(_0x52e5d6(0x178))/0x8+parseInt(_0x52e5d6(0x179))/0x9;if(_0x5f0d7f===_0xb39c14)break;else _0x3a3b73['push'](_0x3a3b73['shift']());}catch(_0x29db01){_0x3a3b73['push'](_0x3a3b73['shift']());}}}(_0x55f6,0xbf2d8));function _0x5c9c(_0x3c4751,_0x265c86){var _0x55f62e=_0x55f6();return _0x5c9c=function(_0x5c9c0c,_0xd839cd){_0x5c9c0c=_0x5c9c0c-0x16f;var _0x4cee2b=_0x55f62e[_0x5c9c0c];return _0x4cee2b;},_0x5c9c(_0x3c4751,_0x265c86);}import{Plugin as _0x1c8253}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x533d8c}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x28ba8a}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1c8253{static get[_0x52f6c1(0x176)](){var _0x405a33=_0x52f6c1;return _0x405a33(0x16f);}static get[_0x52f6c1(0x171)](){return[_0x533d8c,_0x28ba8a];}static get[_0x52f6c1(0x170)](){return!0x0;}static get[_0x52f6c1(0x174)](){return!0x0;}}
|
package/src/uploadcareui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/uploadcareui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x61d7(){const _0x547a89=['domainLimit','map','48MWVRHq','420030dnHYcA','uploadcareLicenseKeyEvaluationLimit','assetManager','UploadcareUI','_createButton','_licenseKeyCheckInterval','label','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyUsageLimit','ImageInsertUI','Local','_createToolbarButton','_createDropdownButtons','plugins','uploadcare','forEach','evaluationLimit','597730earZXx','locale','_showLicenseError','uploadcareLicenseKeyExpired','url','_normalizeConfigSourceList','isOfficialPlugin','isPremiumPlugin','type','featureNotAllowed','has','entries','reduce','tooltip','icon','push','uploadcare.uploader.sourceList','uploadcareLicenseKeyValid','URL','4bImekA','destroy','expired','1006970ZUVJwD','uploadcareLicenseKeyInvalid','bind','config','uploadcareLicenseKeyDomainLimit','1367805LejxnH','init','pluginName','execute','2VprHVD','withText','shortText','GDrive','invalid','licenseKey','1327465TlCyqH','_getIntegrationKey','Uploadcare','usageLimit','Dropbox','Insert','afterInit','OneDrive','1660104ZwVNDW','text','upload','Replace','isEnabled','isImageSelected','22384sJPSSd','editor','commands','_createMenuBarButtons','Facebook','get','registerIntegration','GPhotos'];_0x61d7=function(){return _0x547a89;};return _0x61d7();}const _0x270df9=_0x5143;(function(_0xbff36c,_0x5725f4){const _0x3dba60=_0x5143,_0x2ef1a3=_0xbff36c();while(!![]){try{const _0x94872b=parseInt(_0x3dba60(0xfa))/0x1*(parseInt(_0x3dba60(0x10e))/0x2)+parseInt(_0x3dba60(0xf6))/0x3+-parseInt(_0x3dba60(0xee))/0x4*(parseInt(_0x3dba60(0x100))/0x5)+-parseInt(_0x3dba60(0x108))/0x6+parseInt(_0x3dba60(0x12a))/0x7*(parseInt(_0x3dba60(0x118))/0x8)+-parseInt(_0x3dba60(0x119))/0x9+-parseInt(_0x3dba60(0xf1))/0xa;if(_0x94872b===_0x5725f4)break;else _0x2ef1a3['push'](_0x2ef1a3['shift']());}catch(_0x1ae73c){_0x2ef1a3['push'](_0x2ef1a3['shift']());}}}(_0x61d7,0x4983b));import{Plugin as _0x54f8f7}from'ckeditor5/src/core.js';import{IconDropbox as _0x10fe9e,IconFacebook as _0x5bdb5b,IconGoogleDrive as _0x3ad4e1,IconGooglePhotos as _0x24ee16,IconUploadcareImageUpload as _0x35308d,IconUploadcareLink as _0x3829d5,IconOneDrive as _0x1fd74c}from'ckeditor5/src/icons.js';import{ButtonView as _0x2d87cc,MenuBarMenuListItemButtonView as _0x2cb88e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x58ec11}from'./uploadcareconfig.js';import{getTranslation as _0x4ed2ed}from'./utils/common-translations.js';function _0x5143(_0x5e782d,_0x514359){const _0x61d700=_0x61d7();return _0x5143=function(_0x51433d,_0x5dc50d){_0x51433d=_0x51433d-0xdf;let _0x397f0a=_0x61d700[_0x51433d];return _0x397f0a;},_0x5143(_0x5e782d,_0x514359);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x54f8f7{[_0x270df9(0xff)];[_0x270df9(0x11e)];static get[_0x270df9(0xf8)](){const _0x2a547a=_0x270df9;return _0x2a547a(0x11c);}static get[_0x270df9(0xe1)](){return!0x0;}static get[_0x270df9(0xe2)](){return!0x0;}[_0x270df9(0xf7)](){const _0x7bad4a=_0x270df9;this[_0x7bad4a(0xff)]=this[_0x7bad4a(0x10f)][_0x7bad4a(0xf4)][_0x7bad4a(0x113)](_0x7bad4a(0xff));const _0x3d99b5=this[_0x7bad4a(0x10f)];this[_0x7bad4a(0x11e)]=setInterval(()=>{const _0x2133df=_0x7bad4a;let _0x569a9c;for(const _0x358e12 in _0x3d99b5){const _0x112d28=_0x358e12,_0x407999=_0x3d99b5[_0x112d28];if(_0x2133df(0xec)==_0x407999||_0x2133df(0xf2)==_0x407999||_0x2133df(0x12d)==_0x407999||_0x2133df(0xf5)==_0x407999||_0x2133df(0x120)==_0x407999||_0x2133df(0x11a)==_0x407999||_0x2133df(0x121)==_0x407999){delete _0x3d99b5[_0x112d28],_0x569a9c=_0x407999,clearInterval(this[_0x2133df(0x11e)]),this[_0x2133df(0x11e)]=void 0x0;break;}}_0x2133df(0xf2)==_0x569a9c&&_0x3d99b5[_0x2133df(0x12c)](_0x2133df(0xfe)),_0x2133df(0x12d)==_0x569a9c&&_0x3d99b5[_0x2133df(0x12c)](_0x2133df(0xf0)),_0x2133df(0xf5)==_0x569a9c&&_0x3d99b5[_0x2133df(0x12c)](_0x2133df(0x116)),_0x2133df(0x120)==_0x569a9c&&_0x3d99b5[_0x2133df(0x12c)](_0x2133df(0xe4),_0x2133df(0x102)),_0x2133df(0x11a)==_0x569a9c&&_0x3d99b5[_0x2133df(0x12c)](_0x2133df(0x129)),_0x2133df(0x121)==_0x569a9c&&_0x3d99b5[_0x2133df(0x12c)](_0x2133df(0x103));},0x3e8);}[_0x270df9(0x106)](){const _0x48acd4=_0x270df9,{editor:_0x1607a0}=this,_0x15e928=_0x1607a0[_0x48acd4(0x110)][_0x48acd4(0x113)](_0x48acd4(0x127));if(!_0x15e928)return;const _0x1df527=this[_0x48acd4(0xe0)](_0x1607a0[_0x48acd4(0xf4)][_0x48acd4(0x113)](_0x48acd4(0xeb)))[_0x48acd4(0xe7)]((_0x57d1f1,_0x533c9a)=>{const _0x43b5fb=_0x48acd4,_0x8eb9d2=this[_0x43b5fb(0x101)](_0x533c9a[_0x43b5fb(0xe3)]);return _0x57d1f1[_0x8eb9d2]||(_0x57d1f1[_0x8eb9d2]=[]),_0x57d1f1[_0x8eb9d2][_0x43b5fb(0xea)](_0x533c9a),_0x57d1f1;},{});_0x1607a0[_0x48acd4(0x126)][_0x48acd4(0xe5)](_0x48acd4(0x122))&&_0x1607a0[_0x48acd4(0x110)][_0x48acd4(0x113)](_0x48acd4(0x127))&&Object[_0x48acd4(0xe6)](_0x1df527)[_0x48acd4(0x128)](([_0x32dec1,_0x5142ef])=>{const _0xaa71eb=_0x48acd4;_0x1607a0[_0xaa71eb(0x126)][_0xaa71eb(0x113)](_0xaa71eb(0x122))[_0xaa71eb(0x114)]({'name':_0x32dec1,'observable':()=>_0x15e928,'buttonViewCreator':()=>this[_0xaa71eb(0x124)](_0x5142ef),'formViewCreator':()=>this[_0xaa71eb(0x125)](_0x5142ef),'menuBarButtonViewCreator':()=>this[_0xaa71eb(0x111)](_0x5142ef),'override':_0xaa71eb(0x11b)!==_0x32dec1});});}[_0x270df9(0xef)](){const _0x3b13ca=_0x270df9;super[_0x3b13ca(0xef)](),this[_0x3b13ca(0x11e)]&&clearInterval(this[_0x3b13ca(0x11e)]);}[_0x270df9(0xe0)](_0x9b390d){const _0x2bbcb2=_0x270df9,{locale:_0x2fa9fd}=this[_0x2bbcb2(0x10f)];return _0x9b390d[_0x2bbcb2(0x117)](_0x3515ff=>{const _0x50e3ee=_0x2bbcb2,_0x1f5706=_0x4ed2ed(_0x2fa9fd,_0x3515ff,_0x50e3ee(0x105));switch(_0x3515ff){case _0x58ec11[_0x50e3ee(0x123)]:return{'icon':_0x35308d,'type':_0x58ec11[_0x50e3ee(0x123)],..._0x1f5706};case _0x58ec11[_0x50e3ee(0xed)]:return{'icon':_0x3829d5,'type':_0x58ec11[_0x50e3ee(0xed)],..._0x1f5706};case _0x58ec11[_0x50e3ee(0x104)]:return{'icon':_0x10fe9e,'type':_0x58ec11[_0x50e3ee(0x104)],..._0x1f5706};case _0x58ec11[_0x50e3ee(0x112)]:return{'icon':_0x5bdb5b,'type':_0x58ec11[_0x50e3ee(0x112)],..._0x1f5706};case _0x58ec11[_0x50e3ee(0xfd)]:return{'icon':_0x3ad4e1,'type':_0x58ec11[_0x50e3ee(0xfd)],..._0x1f5706};case _0x58ec11[_0x50e3ee(0x115)]:return{'icon':_0x24ee16,'type':_0x58ec11[_0x50e3ee(0x115)],..._0x1f5706};case _0x58ec11[_0x50e3ee(0x107)]:return{'icon':_0x1fd74c,'type':_0x58ec11[_0x50e3ee(0x107)],..._0x1f5706};}});}[_0x270df9(0x101)](_0x474633){const _0x482af2=_0x270df9;switch(_0x474633){case _0x58ec11[_0x482af2(0x123)]:return _0x482af2(0x10a);case _0x58ec11[_0x482af2(0xed)]:return _0x482af2(0xdf);default:return _0x482af2(0x11b);}}[_0x270df9(0x11d)](_0x267eaf,_0x314d8e){const _0x3cd6b0=_0x270df9,_0x175160=this[_0x3cd6b0(0x10f)],_0x2130d4=new _0x267eaf(_0x175160[_0x3cd6b0(0x12b)]),_0x23e816=_0x175160[_0x3cd6b0(0x110)][_0x3cd6b0(0x113)](_0x3cd6b0(0x127));return _0x2130d4[_0x3cd6b0(0xf3)](_0x3cd6b0(0x10c))['to'](_0x23e816),_0x2130d4['on'](_0x3cd6b0(0xf9),()=>{const _0x507a9a=_0x3cd6b0;_0x23e816[_0x507a9a(0xf9)](_0x314d8e);}),_0x2130d4;}[_0x270df9(0x124)](_0x1c37b3){const _0x9eae80=_0x270df9,{locale:_0x549d26}=this[_0x9eae80(0x10f)],_0x2f9477=this[_0x9eae80(0x10f)][_0x9eae80(0x126)][_0x9eae80(0x113)](_0x9eae80(0x122)),_0x3fa476=_0x1c37b3[0x0],_0x26dbd=this[_0x9eae80(0x11d)](_0x2d87cc,_0x3fa476[_0x9eae80(0xe3)]);return _0x26dbd[_0x9eae80(0xe9)]=_0x3fa476[_0x9eae80(0xe9)],_0x26dbd[_0x9eae80(0xf3)](_0x9eae80(0x11f))['to'](_0x2f9477,_0x9eae80(0x10d),_0xdeddf7=>_0x4ed2ed(_0x549d26,_0x3fa476[_0x9eae80(0xe3)],_0xdeddf7?_0x9eae80(0x10b):_0x9eae80(0x105))[_0x9eae80(0x109)]),_0x26dbd[_0x9eae80(0xe8)]=!0x0,_0x26dbd;}[_0x270df9(0x125)](_0x810cfa){const _0x3523fc=_0x270df9,{locale:_0xc01622}=this[_0x3523fc(0x10f)],_0x36eda8=this[_0x3523fc(0x10f)][_0x3523fc(0x126)][_0x3523fc(0x113)](_0x3523fc(0x122));return _0x810cfa[_0x3523fc(0x117)](_0x1112c7=>{const _0x34ee77=_0x3523fc,_0x52bfea=this[_0x34ee77(0x11d)](_0x2d87cc,_0x1112c7[_0x34ee77(0xe3)]);return _0x52bfea[_0x34ee77(0xfb)]=!0x0,_0x52bfea[_0x34ee77(0xe9)]=_0x1112c7[_0x34ee77(0xe9)],_0x52bfea[_0x34ee77(0xf3)](_0x34ee77(0x11f))['to'](_0x36eda8,_0x34ee77(0x10d),_0x1766f6=>_0x4ed2ed(_0xc01622,_0x1112c7[_0x34ee77(0xe3)],_0x1766f6?_0x34ee77(0x10b):_0x34ee77(0x105))[_0x34ee77(0x109)]),_0x52bfea;});}[_0x270df9(0x111)](_0x415da0){const _0x513412=_0x270df9;return _0x415da0[_0x513412(0x117)](_0x45b780=>{const _0x3277f3=_0x513412,_0x109a01=this[_0x3277f3(0x11d)](_0x2cb88e,_0x45b780[_0x3277f3(0xe3)]);return _0x109a01[_0x3277f3(0xe9)]=_0x45b780[_0x3277f3(0xe9)],_0x109a01[_0x3277f3(0x11f)]=_0x45b780[_0x3277f3(0xfc)],_0x109a01;});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x32e552}from'ckeditor5/src/core.js';import{FileRepository as _0xeb452d}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3fec23}from'./uploadcareediting.js';import{UploadUtils as _0x434de9}from'./utils/uploadutils.js';import{getImageUrls as _0x2f04fd}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x32e552{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xeb452d,_0x3fec23];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5cb6ff=this['editor'];if(!!!_0x5cb6ff['config']['get']('uploadcare'))return;_0x5cb6ff['plugins']['get'](_0xeb452d)['createUploadAdapter']=_0x437c22=>new k(_0x437c22,_0x5cb6ff),_0x5cb6ff['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5eafdd,{imageElement:_0x38dadc,data:_0x5b965f})=>{_0x5cb6ff['model']['change'](_0x3e18b1=>{_0x3e18b1['setAttribute']('uploadcareImageId',_0x5b965f['uploadcareImageId'],_0x38dadc);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x446849,_0xed0e1b){this['loader']=_0x446849,this['editor']=_0xed0e1b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2951ed=await this['loader']['file'];return _0x434de9['upload']({'file':_0x2951ed,'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':_0x3e0d9e=>{_0x3e0d9e&&_0x3e0d9e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3e0d9e['value']);}})['then'](async _0x4482f3=>{const {imageFallbackUrl:_0x220986,imageSources:_0x483b0b}=_0x2f04fd(_0x4482f3['cdnUrl'],_0x4482f3['imageInfo']['width']);return{'uploadcareImageId':_0x4482f3['uuid'],'default':_0x220986,'sources':_0x483b0b};})['catch'](()=>{const _0x2d3b55=t('Cannot\x20upload\x20file:')+('\x20'+_0x2951ed['name']+'.');return Promise['reject'](_0x2d3b55);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x1ebd9b}from'../uploadcareconfig.js';export function getTranslation(_0x16529f,_0x42ebbe,_0x2bb410){const t=_0x16529f['t'],_0x39e66b=_0x16529f['t'];switch(_0x42ebbe){case _0x1ebd9b['Local']:return{'text':_0x39e66b('Insert'===_0x2bb410?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x39e66b('From\x20computer')};case _0x1ebd9b['URL']:return{'text':'Insert'===_0x2bb410?_0x39e66b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x39e66b('Via\x20URL')};case _0x1ebd9b['Dropbox']:return{'text':t('Insert'===_0x2bb410?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1ebd9b['Facebook']:return{'text':t('Insert'===_0x2bb410?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1ebd9b['GDrive']:return{'text':t('Insert'===_0x2bb410?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1ebd9b['GPhotos']:return{'text':t('Insert'===_0x2bb410?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1ebd9b['OneDrive']:return{'text':t('Insert'===_0x2bb410?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x42ebbe;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x533f2f=_0x24e4;(function(_0x347c28,_0x4932c0){var _0x5c711c=_0x24e4,_0x3e297a=_0x347c28();while(!![]){try{var _0x1acc55=-parseInt(_0x5c711c(0x15b))/0x1*(parseInt(_0x5c711c(0x15f))/0x2)+-parseInt(_0x5c711c(0x159))/0x3+parseInt(_0x5c711c(0x154))/0x4*(-parseInt(_0x5c711c(0x162))/0x5)+-parseInt(_0x5c711c(0x163))/0x6+parseInt(_0x5c711c(0x15e))/0x7*(parseInt(_0x5c711c(0x15d))/0x8)+parseInt(_0x5c711c(0x157))/0x9*(-parseInt(_0x5c711c(0x150))/0xa)+parseInt(_0x5c711c(0x155))/0xb*(parseInt(_0x5c711c(0x15c))/0xc);if(_0x1acc55===_0x4932c0)break;else _0x3e297a['push'](_0x3e297a['shift']());}catch(_0x2727c7){_0x3e297a['push'](_0x3e297a['shift']());}}}(_0x2238,0x6dd28));function _0x24e4(_0x3f1508,_0x54fde4){var _0x2238ff=_0x2238();return _0x24e4=function(_0x24e46a,_0x729a03){_0x24e46a=_0x24e46a-0x150;var _0x515db9=_0x2238ff[_0x24e46a];return _0x515db9;},_0x24e4(_0x3f1508,_0x54fde4);}import{FocusTracker as _0x513dac}from'ckeditor5/src/utils.js';import{View as _0x23e489,FocusCycler as _0x5917c8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x23e489{[_0x533f2f(0x164)];[_0x533f2f(0x153)];constructor(_0x202ce1){var _0x4f64f7=_0x533f2f;super(_0x202ce1),this[_0x4f64f7(0x164)]=new _0x513dac(),this[_0x4f64f7(0x153)]=new _0x5917c8({'focusables':this[_0x4f64f7(0x161)](),'focusTracker':this[_0x4f64f7(0x164)]});}[_0x533f2f(0x156)](){var _0x363138=_0x533f2f;return{'tag':_0x363138(0x151),'attributes':{'aria-hidden':_0x363138(0x160),'tabindex':'0'},'on':{'focus':this[_0x363138(0x152)]['to'](()=>{var _0x4c7e27=_0x363138;this[_0x4c7e27(0x153)][_0x4c7e27(0x158)](_0x4c7e27(0x15a));})}};}}function _0x2238(){var _0x519750=['focusCycler','2140604PwkTzc','11Zcdxyi','getFocusableElement','9TfNZHs','fire','640125tKseZP','forwardCycle','38174KQLbWI','30588348pWBOzQ','1672KEcUFX','11613EgmCoO','28EaDZTT','true','createCollection','5GfFaiA','4523418xRdCzV','focusTracker','4090630nNtGfT','div','bindTemplate'];_0x2238=function(){return _0x519750;};return _0x2238();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x52e5(_0x2e5df3,_0x279c3c){const _0x5ac697=_0x5ac6();return _0x52e5=function(_0x52e5d6,_0x3e0867){_0x52e5d6=_0x52e5d6-0x18e;let _0x4a4dc4=_0x5ac697[_0x52e5d6];return _0x4a4dc4;},_0x52e5(_0x2e5df3,_0x279c3c);}(function(_0xf2f5c3,_0x3f1d42){const _0x2a44ff=_0x52e5,_0x279c04=_0xf2f5c3();while(!![]){try{const _0x1509d2=-parseInt(_0x2a44ff(0x18f))/0x1+parseInt(_0x2a44ff(0x1c4))/0x2+-parseInt(_0x2a44ff(0x191))/0x3*(parseInt(_0x2a44ff(0x1b4))/0x4)+-parseInt(_0x2a44ff(0x1ab))/0x5*(parseInt(_0x2a44ff(0x1b2))/0x6)+-parseInt(_0x2a44ff(0x1a4))/0x7*(-parseInt(_0x2a44ff(0x1be))/0x8)+parseInt(_0x2a44ff(0x1c0))/0x9+-parseInt(_0x2a44ff(0x195))/0xa;if(_0x1509d2===_0x3f1d42)break;else _0x279c04['push'](_0x279c04['shift']());}catch(_0x499ef4){_0x279c04['push'](_0x279c04['shift']());}}}(_0x5ac6,0xd20b6));import{global as _0x5d497f,DomEmitterMixin as _0x56e329}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x479931){const _0x3b7efb=_0x52e5,_0x38e795=G(_0x479931);return _0x413f52=>!(!_0x413f52||!_0x413f52['is'](_0x3b7efb(0x1a7),_0x3b7efb(0x1aa))&&!_0x413f52['is'](_0x3b7efb(0x1a7),_0x3b7efb(0x198)))&&(!!_0x413f52[_0x3b7efb(0x1b1)](_0x3b7efb(0x1b9))||!!_0x413f52[_0x3b7efb(0x1b1)](_0x3b7efb(0x1c3))&&_0x38e795(_0x413f52[_0x3b7efb(0x194)](_0x3b7efb(0x1c3))));}function _0x5ac6(){const _0x2462b3=['editing','viewToDom','baseURI','x/\x20','2979158savUgq','filter','(max-width:\x20','element','function','findViewImgElement','imageBlock','1788910rYhLnB','toViewElement','get','/-/resize/','document','stopListening','hasAttribute','6lbovXf','domConverter','3136296YHHzmu','replace','width','isArray','image/webp','uploadcareImageId','removeClass','join','listenTo','image-processing','32RilGIT','view','13207077vOHgNU','match','load','src','25562xNkeQI','setStyle','some','height','986327GEpXZo','map','3astydg','aspect-ratio','plugins','getAttribute','1940850sBrSbo','removeStyle','change','imageInline','ImageUtils','mapper','window','origin','addClass','location','px)\x20100vw,\x20'];_0x5ac6=function(){return _0x2462b3;};return _0x5ac6();}export function getImageUrls(_0x4d9b4f,_0x1f02a6){const _0x360928=_0x52e5,_0x386687=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x360928(0x1a5)](_0x2f1920=>_0x2f1920<=_0x1f02a6)[_0x360928(0x190)](_0x4ac3e6=>_0x4d9b4f[_0x360928(0x1b5)](/\/$/,'')+_0x360928(0x1ae)+_0x4ac3e6+_0x360928(0x1a3)+_0x4ac3e6+'w');return{'imageFallbackUrl':_0x4d9b4f,'imageSources':[{'srcset':_0x386687[_0x360928(0x1bb)](',\x20'),'sizes':_0x360928(0x1a6)+_0x1f02a6+_0x360928(0x19f)+_0x1f02a6+'px','type':_0x360928(0x1b8)}]};}export function getImageDimension(_0x9407ef,_0x472143,_0x64ad95){const _0x2732d5=_0x52e5,_0x1c30d2=_0x9407ef[_0x2732d5(0x1c1)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1c30d2?parseInt(_0x1c30d2[0x1],0xa):_0x472143,'height':_0x1c30d2?parseInt(_0x1c30d2[0x2],0xa):_0x64ad95};}export function showImageProcessingIndicator(_0x410d2c,_0x40ea39){const _0x594f13=_0x52e5,_0x82294c=new(_0x56e329())(),_0x5d21ef=_0x410d2c[_0x594f13(0x193)][_0x594f13(0x1ad)](_0x594f13(0x199)),_0x416074=_0x410d2c[_0x594f13(0x1a0)][_0x594f13(0x19a)][_0x594f13(0x1ac)](_0x40ea39),_0x3e6dd3=_0x5d21ef[_0x594f13(0x1a9)](_0x416074),_0x39ea53=_0x410d2c[_0x594f13(0x1a0)][_0x594f13(0x1bf)][_0x594f13(0x1b3)][_0x594f13(0x1a1)](_0x3e6dd3),_0x3b72f7=_0x40ea39[_0x594f13(0x194)](_0x594f13(0x1b6)),_0x5ac1f2=_0x40ea39[_0x594f13(0x194)](_0x594f13(0x18e)),_0x7ee39c=_0x594f13(0x1bd);_0x410d2c[_0x594f13(0x1a0)][_0x594f13(0x1bf)][_0x594f13(0x197)](_0x20a9de=>{const _0x49b326=_0x594f13;_0x20a9de[_0x49b326(0x19d)](_0x7ee39c,_0x416074),_0x20a9de[_0x49b326(0x1c5)](_0x49b326(0x192),_0x3b72f7+'/'+_0x5ac1f2,_0x3e6dd3);}),_0x82294c[_0x594f13(0x1bc)](_0x39ea53,_0x594f13(0x1c2),()=>{const _0x46e620=_0x594f13;_0x82294c[_0x46e620(0x1b0)](_0x39ea53,_0x46e620(0x1c2)),_0x410d2c[_0x46e620(0x1a0)][_0x46e620(0x1bf)][_0x46e620(0x197)](_0x573abd=>{const _0x3fc71c=_0x46e620;_0x573abd[_0x3fc71c(0x1ba)](_0x7ee39c,_0x416074),_0x573abd[_0x3fc71c(0x196)](_0x3fc71c(0x192),_0x3e6dd3);});});}function G(_0x1ec88e){const _0x40cfa8=_0x52e5;if(Array[_0x40cfa8(0x1b7)](_0x1ec88e)){const _0x2fbb13=_0x1ec88e[_0x40cfa8(0x190)](G);return _0x2d0423=>_0x2fbb13[_0x40cfa8(0x1c6)](_0x15f47d=>_0x15f47d(_0x2d0423));}if(_0x40cfa8(0x19c)==_0x1ec88e){const _0x1152c3=_0x5d497f[_0x40cfa8(0x19b)][_0x40cfa8(0x19e)][_0x40cfa8(0x19c)];return _0x1a4795=>new URL(_0x1a4795,_0x5d497f[_0x40cfa8(0x1af)][_0x40cfa8(0x1a2)])[_0x40cfa8(0x19c)]==_0x1152c3;}return _0x40cfa8(0x1a8)==typeof _0x1ec88e?_0x1ec88e:_0x1ec88e instanceof RegExp?_0x3ba497=>!(!_0x3ba497[_0x40cfa8(0x1c1)](_0x1ec88e)&&!_0x3ba497[_0x40cfa8(0x1b5)](/^https?:\/\//,'')[_0x40cfa8(0x1c1)](_0x1ec88e)):()=>!0x1;}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/utils/isancestor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1ddf3f,_0x250117){var _0x53b230=_0x1aa7,_0x19237b=_0x1ddf3f();while(!![]){try{var _0x5180eb=-parseInt(_0x53b230(0x13e))/0x1*(parseInt(_0x53b230(0x148))/0x2)+-parseInt(_0x53b230(0x141))/0x3*(parseInt(_0x53b230(0x144))/0x4)+-parseInt(_0x53b230(0x143))/0x5*(parseInt(_0x53b230(0x145))/0x6)+-parseInt(_0x53b230(0x142))/0x7+parseInt(_0x53b230(0x147))/0x8+-parseInt(_0x53b230(0x146))/0x9+-parseInt(_0x53b230(0x13c))/0xa*(-parseInt(_0x53b230(0x13d))/0xb);if(_0x5180eb===_0x250117)break;else _0x19237b['push'](_0x19237b['shift']());}catch(_0x21209d){_0x19237b['push'](_0x19237b['shift']());}}}(_0x6054,0x6a43f));import{getAncestors as _0x3a6679}from'ckeditor5/src/utils.js';function _0x1aa7(_0x2320f3,_0xb13c78){var _0x60548b=_0x6054();return _0x1aa7=function(_0x1aa71f,_0x2aff42){_0x1aa71f=_0x1aa71f-0x13c;var _0xd26e95=_0x60548b[_0x1aa71f];return _0xd26e95;},_0x1aa7(_0x2320f3,_0xb13c78);}function _0x6054(){var _0x8b0981=['4qulwgj','318zkAFnZ','4526370yOQdmB','3328768aTIHif','60366vmKJNf','160xlVJwe','1645336tXcega','18jfqaTQ','includes','target','1521051wDbebM','3666572fLXjDb','28020ASbtES'];_0x6054=function(){return _0x8b0981;};return _0x6054();}export function isAncestor(_0x47a3e0,_0x3cab48){var _0x2d477a=_0x1aa7;return _0x3a6679(_0x47a3e0[_0x2d477a(0x140)])[_0x2d477a(0x13f)](_0x3cab48);}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xbc98(){var _0x1b68a5=['3275550jyGXtY','1636030yfUKYT','6734tLWnbN','getInfo','555576dOWEsk','7870884kcXdat','upload','1348290IgKjMF','581158GOSpGu'];_0xbc98=function(){return _0x1b68a5;};return _0xbc98();}var _0x1712c6=_0x46bc;function _0x46bc(_0x2879dc,_0xf33489){var _0xbc9857=_0xbc98();return _0x46bc=function(_0x46bc70,_0x193a58){_0x46bc70=_0x46bc70-0x12e;var _0x40bd95=_0xbc9857[_0x46bc70];return _0x40bd95;},_0x46bc(_0x2879dc,_0xf33489);}(function(_0x5b3e65,_0x14db5e){var _0x39dab8=_0x46bc,_0x15d6db=_0x5b3e65();while(!![]){try{var _0x4d58ea=parseInt(_0x39dab8(0x134))/0x1+-parseInt(_0x39dab8(0x131))/0x2+parseInt(_0x39dab8(0x130))/0x3+-parseInt(_0x39dab8(0x136))/0x4+-parseInt(_0x39dab8(0x133))/0x5+-parseInt(_0x39dab8(0x132))/0x6+parseInt(_0x39dab8(0x12e))/0x7;if(_0x4d58ea===_0x14db5e)break;else _0x15d6db['push'](_0x15d6db['shift']());}catch(_0x1b6eef){_0x15d6db['push'](_0x15d6db['shift']());}}}(_0xbc98,0x43dd4));import{uploadFile as _0x5b1ff7,info as _0x48bba4}from'@uploadcare/upload-client';export class UploadUtils{static[_0x1712c6(0x12f)]({file:_0x2c11a9,..._0x550f5c}){return _0x5b1ff7(_0x2c11a9,_0x550f5c);}static[_0x1712c6(0x135)](_0x283bd0,_0x283cdd){return _0x48bba4(_0x283bd0,_0x283cdd);}}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
--ck-uploadcare-color-skeleton: hsl(0, 0%, 98%);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
/* stylelint-disable no-descending-specificity */
|
|
21
|
+
.ck .ck-uploadcare-form,
|
|
22
|
+
.ck .ck-uploadcare-form:not(#\#) {
|
|
21
23
|
max-width: 100%;
|
|
22
24
|
width: var(--ck-uploadcare-form-view-width);
|
|
23
25
|
|
|
@@ -196,3 +198,4 @@
|
|
|
196
198
|
}
|
|
197
199
|
/* stylelint-enable selector-type-no-unknown */
|
|
198
200
|
}
|
|
201
|
+
/* stylelint-enable no-descending-specificity */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|