@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.6 → 45.0.0-alpha.8
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/build/uploadcare.js +1 -1
- 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/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x550b65=_0x3138;(function(_0x26d823,_0x53e751){const _0x28ec34=_0x3138,_0x537510=_0x26d823();while(!![]){try{const _0x371245=parseInt(_0x28ec34(0x21a))/0x1*(parseInt(_0x28ec34(0x1fb))/0x2)+parseInt(_0x28ec34(0x1f8))/0x3*(parseInt(_0x28ec34(0x20b))/0x4)+-parseInt(_0x28ec34(0x220))/0x5*(parseInt(_0x28ec34(0x203))/0x6)+parseInt(_0x28ec34(0x22f))/0x7*(-parseInt(_0x28ec34(0x23e))/0x8)+-parseInt(_0x28ec34(0x222))/0x9*(parseInt(_0x28ec34(0x221))/0xa)+-parseInt(_0x28ec34(0x22e))/0xb+parseInt(_0x28ec34(0x21b))/0xc;if(_0x371245===_0x53e751)break;else _0x537510['push'](_0x537510['shift']());}catch(_0x4fd93c){_0x537510['push'](_0x537510['shift']());}}}(_0x1da8,0x2550e));function _0x3138(_0x2912f2,_0x179f74){const _0x1da858=_0x1da8();return _0x3138=function(_0x313888,_0x483bf7){_0x313888=_0x313888-0x1f1;let _0x182a22=_0x1da858[_0x313888];return _0x182a22;},_0x3138(_0x2912f2,_0x179f74);}import{Plugin as _0x32ff94}from'ckeditor5/src/core.js';import{Dialog as _0x55e4f3}from'ckeditor5/src/ui.js';import{createElement as _0x53d003,global as _0x5ad83e,uid as _0x34bc08}from'ckeditor5/src/utils.js';import _0x4d2b9e from'./uploadcarecommand.js';import _0x6897fa from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3bc30f}from'./utils/editingutils.js';export default class i extends _0x32ff94{[_0x550b65(0x231)]=null;[_0x550b65(0x225)]=null;static get[_0x550b65(0x23a)](){const _0x1ad5f7=_0x550b65;return _0x1ad5f7(0x23d);}static get[_0x550b65(0x240)](){const _0x75c349=_0x550b65;return[_0x75c349(0x1f9),_0x6897fa,_0x55e4f3];}static get[_0x550b65(0x20f)](){return!0x0;}static get[_0x550b65(0x20c)](){return!0x0;}get[_0x550b65(0x232)](){const _0x4f34e7=_0x550b65;return this[_0x4f34e7(0x231)];}get[_0x550b65(0x214)](){const _0x5e6f35=_0x550b65;return this[_0x5e6f35(0x225)];}[_0x550b65(0x245)](){const _0x3bdbff=_0x550b65,_0x6d8c04=this[_0x3bdbff(0x1f5)];_0x6d8c04[_0x3bdbff(0x210)][_0x3bdbff(0x1f2)](_0x3bdbff(0x22b),new _0x4d2b9e(_0x6d8c04));}[_0x550b65(0x211)](){const _0x573dd2=_0x550b65;this[_0x573dd2(0x21d)](),this[_0x573dd2(0x1f4)](),this[_0x573dd2(0x216)](),this[_0x573dd2(0x209)](),this[_0x573dd2(0x22a)](),this[_0x573dd2(0x21f)](this[_0x573dd2(0x1f5)],_0x573dd2(0x200),()=>{const _0x33641c=_0x573dd2;this[_0x33641c(0x231)]&&(this[_0x33641c(0x231)][_0x33641c(0x241)](),this[_0x33641c(0x231)]=null),this[_0x33641c(0x225)]&&(this[_0x33641c(0x225)][_0x33641c(0x241)](),this[_0x33641c(0x225)]=null);const _0x133723=_0x5ad83e[_0x33641c(0x1ff)][_0x33641c(0x21e)](_0x33641c(0x1f6));_0x133723&&_0x133723[_0x33641c(0x241)]();}),async function(_0x15b932){const _0xadf22f=_0x16932e([0x45,0x32,0x34,0x36,0x42,0x66,0x4e,0x72,0x47,0x52,0x49,0x63,0x41,0x44,0x6a,0x61,0x77,0x7a,0x4b,0x64,0x4a,0x38,0x73,0x31,0x58,0x6b,0x6d,0x4d,0x55,0x68,0x79,0x39,0x54,0x56,0x78,0x37,0x69,0x71,0x51,0x53,0x76,0x33,0x70,0x75,0x65,0x59,0x35,0x30,0x46,0x5a,0x62,0x4c,0x43,0x6e,0x6f,0x67,0x48,0x50,0x6c,0x4f,0x74,0x57]),_0x237943=0x6401a4c2,_0xdeb027=0x6406c70a^_0x237943,_0x2b0968=window[_0x16932e([0x44,0x61,0x74,0x65])][_0x16932e([0x6e,0x6f,0x77])](),_0x5a1f28=_0x15b932[_0x16932e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x407a8c=new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40978c=>{_0x5a1f28[_0x16932e([0x6f,0x6e,0x63,0x65])](_0x16932e([0x72,0x65,0x61,0x64,0x79]),_0x40978c);}),_0x9e2fdd={[_0x16932e([0x6b,0x74,0x79])]:_0x16932e([0x45,0x43]),[_0x16932e([0x75,0x73,0x65])]:_0x16932e([0x73,0x69,0x67]),[_0x16932e([0x63,0x72,0x76])]:_0x16932e([0x50,0x2d,0x32,0x35,0x36]),[_0x16932e([0x78])]:_0x16932e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x16932e([0x79])]:_0x16932e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x16932e([0x61,0x6c,0x67])]:_0x16932e([0x45,0x53,0x32,0x35,0x36])},_0x3a1383=_0x5a1f28[_0x16932e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16932e([0x67,0x65,0x74])](_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x408906(){let _0x4b038,_0x558e2d=null,_0x4dd3f6=null;try{if(_0x3a1383==_0x16932e([0x47,0x50,0x4c]))return _0x16932e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b038=_0x5d881b(),!_0x4b038)return _0x16932e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b038[_0x16932e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4dd3f6=_0x1231ed(_0x4b038[_0x16932e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b038[_0x16932e([0x6a,0x74,0x69])])),await _0x5525f9()?_0x1351f1()?_0x4431b2()?_0x16932e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53eb4d()?(_0x4b038[_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16932e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x558e2d=_0x4b9a31(_0x16932e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b038[_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16932e([0x74,0x72,0x69,0x61,0x6c])&&(_0x558e2d=_0x4b9a31(_0x16932e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eabae()):_0x16932e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16932e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16932e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x474c47){return _0x16932e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4431b2(){const _0xec4a57=[_0x16932e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16932e([0x74,0x72,0x69,0x61,0x6c])][_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b038[_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b0968/0x3e8:0xe10*_0xdeb027;return _0x4b038[_0x16932e([0x65,0x78,0x70])]<_0xec4a57;}function _0x1351f1(){const _0x1d0040=_0x4b038[_0x16932e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d0040&&(!!_0x1d0040[_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16932e([0x2a]))||!!_0x1d0040[_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16932e([0x55,0x50,0x4c,0x43])));}function _0x53eb4d(){const _0x15527d=_0x3138,_0x584365=_0x4b038[_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x584365||0x0==_0x584365[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3881d9}=new URL(window[_0x16932e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x15527d(0x230)]);if(_0x584365[_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3881d9))return!0x0;const _0x24b4c3=_0x3881d9[_0x16932e([0x73,0x70,0x6c,0x69,0x74])](_0x16932e([0x2e]));return _0x584365[_0x16932e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22249b=>_0x22249b[_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16932e([0x2a])))[_0x16932e([0x6d,0x61,0x70])](_0x4d4954=>_0x4d4954[_0x16932e([0x73,0x70,0x6c,0x69,0x74])](_0x16932e([0x2e])))[_0x16932e([0x73,0x6f,0x6d,0x65])](_0x2753a6=>_0x24b4c3[_0x16932e([0x65,0x76,0x65,0x72,0x79])]((_0x31c374,_0x654476)=>_0x2753a6[_0x654476]===_0x31c374||_0x2753a6[_0x654476]===_0x16932e([0x2a])));}function _0x2eabae(){return _0x558e2d&&_0x4dd3f6?new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30ba99,_0x49bb1a)=>{_0x558e2d[_0x16932e([0x74,0x68,0x65,0x6e])](_0x30ba99,_0x49bb1a),_0x4dd3f6[_0x16932e([0x74,0x68,0x65,0x6e])](_0x45b294=>{_0x45b294!=_0x16932e([0x56,0x61,0x6c,0x69,0x64])&&_0x30ba99(_0x45b294);},_0x49bb1a);}):_0x558e2d||_0x4dd3f6||_0x16932e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1231ed(_0x5a1562,_0x350ca3){return new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19b927=>{if(_0x2270de())return _0x19b927(_0x16932e([0x56,0x61,0x6c,0x69,0x64]));_0x54c838(),_0x5a1f28[_0x16932e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16932e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x328bae=!0x1;const _0x16b702=_0x34bc08();function _0x190f78(_0x1dcc50){return!!_0x1dcc50&&(typeof _0x1dcc50===_0x16932e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1dcc50===_0x16932e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1dcc50[_0x16932e([0x74,0x68,0x65,0x6e])]===_0x16932e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1dcc50[_0x16932e([0x63,0x61,0x74,0x63,0x68])]===_0x16932e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x464cb8(_0x364d76){_0x4dafc6(_0x364d76)[_0x16932e([0x74,0x68,0x65,0x6e])](_0x4246fb=>{if(!_0x4246fb||_0x4246fb[_0x16932e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16932e([0x6f,0x6b]))return _0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39b216(_0x5bc030(_0x16b702+_0x350ca3))!=_0x4246fb[_0x16932e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16932e([0x56,0x61,0x6c,0x69,0x64]);})[_0x16932e([0x74,0x68,0x65,0x6e])](_0x79d64=>(_0xf34b04(),_0x79d64),()=>{const _0x4408d6=_0x33ceeb();return null==_0x4408d6?(_0xf34b04(),_0x16932e([0x56,0x61,0x6c,0x69,0x64])):_0x16932e(_0x2b0968-_0x4408d6>(0x400d20c2^_0x237943)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16932e([0x74,0x68,0x65,0x6e])](_0x19b927)[_0x16932e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19b927(_0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b42e0=0x64374a42^_0x237943;function _0xf34b04(){const _0x4c26fe=_0x16932e([0x6c,0x6c,0x63,0x74,0x2d])+_0x39b216(_0x5bc030(_0x5a1562)),_0x1a742a=_0x4b3503(_0x39b216(window[_0x16932e([0x4d,0x61,0x74,0x68])][_0x16932e([0x63,0x65,0x69,0x6c])](_0x2b0968/_0x1b42e0)));window[_0x16932e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16932e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c26fe,_0x1a742a);}function _0x33ceeb(){const _0x3b69b6=_0x16932e([0x6c,0x6c,0x63,0x74,0x2d])+_0x39b216(_0x5bc030(_0x5a1562)),_0x233304=window[_0x16932e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16932e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b69b6);return _0x233304?window[_0x16932e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b3503(_0x233304),0x10)*_0x1b42e0:null;}function _0x4dafc6(_0x154149){return new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbb719d,_0x51e6f5)=>{_0x154149[_0x16932e([0x74,0x68,0x65,0x6e])](_0xbb719d,_0x51e6f5),window[_0x16932e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51e6f5,0x64007002^_0x237943);});}}_0x5a1f28[_0x16932e([0x6f,0x6e])](_0x16932e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e5dd4,_0x2fccf6)=>{if(_0x2fccf6[0x0]!=_0x5a1562)return _0x19b927(_0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2fccf6[0x1]={..._0x2fccf6[0x1],[_0x16932e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16b702};},{[_0x16932e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16932e([0x68,0x69,0x67,0x68])}),_0x5a1f28[_0x16932e([0x6f,0x6e])](_0x16932e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58d367=>{_0x190f78(_0x58d367[_0x16932e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x328bae=!0x0,_0x464cb8(_0x58d367[_0x16932e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16932e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16932e([0x6c,0x6f,0x77])}),_0x407a8c[_0x16932e([0x74,0x68,0x65,0x6e])](()=>{_0x328bae||_0x19b927(_0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2270de(){return _0x5a1f28[_0x16932e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16932e([0x76,0x69,0x65,0x77])][_0x16932e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16932e([0x61,0x75,0x74,0x6f]);}function _0x54c838(){_0x5a1f28[_0x16932e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16932e([0x76,0x69,0x65,0x77])][_0x16932e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16932e([0x61,0x75,0x74,0x6f]);}}function _0x4b9a31(_0x108049){const _0x4775a2=[new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe0bf97=>setTimeout(_0xe0bf97,0x64089a0e^_0x237943)),_0x407a8c[_0x16932e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x361cca=>{let _0x16468b=0x0;_0x5a1f28[_0x16932e([0x6d,0x6f,0x64,0x65,0x6c])][_0x16932e([0x6f,0x6e])](_0x16932e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42822e,_0x578c24)=>{_0x578c24[0x0][_0x16932e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16468b++,_0x16468b==(0x6401a53a^_0x237943)&&(_0x361cca(),_0x42822e[_0x16932e([0x6f,0x66,0x66])]());});}))];return window[_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16932e([0x72,0x61,0x63,0x65])](_0x4775a2)[_0x16932e([0x74,0x68,0x65,0x6e])](()=>_0x108049);}async function _0x376d2c(){await _0x407a8c,_0x5a1f28[_0x16932e([0x6d,0x6f,0x64,0x65,0x6c])][_0x16932e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x44a87b,_0x5a1f28[_0x16932e([0x6d,0x6f,0x64,0x65,0x6c])][_0x16932e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x44a87b,_0x5a1f28[_0x16932e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16932e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30724a(_0x7d842d){const _0xd294f2=_0x4de0b1();_0x5a1f28[_0xd294f2]=_0x16932e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7d842d,_0x7d842d!=_0x16932e([0x56,0x61,0x6c,0x69,0x64])&&_0x376d2c();}function _0x4de0b1(){const _0x3268f8=window[_0x16932e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16932e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16932e([0x6e,0x6f,0x77])]())[_0x16932e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16932e([0x2e]),'');let _0x10db63=_0x16932e([0x45]);for(let _0x3725eb=0x0;_0x3725eb<_0x3268f8[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3725eb+=0x2){let _0x20b263=window[_0x16932e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3268f8[_0x16932e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3725eb,_0x3725eb+0x2));_0x20b263>=_0xadf22f[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20b263-=_0xadf22f[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10db63+=_0xadf22f[_0x20b263];}return _0x10db63;}function _0x5d881b(){const _0x2e535a=_0x3a1383[_0x16932e([0x73,0x70,0x6c,0x69,0x74])](_0x16932e([0x2e]));if(0x3!=_0x2e535a[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33c357(_0x2e535a[0x1]);function _0x33c357(_0x45bb0a){const _0x5135dc=_0x4bf534(_0x45bb0a);return _0x5135dc&&_0x49222d()?_0x5135dc:null;function _0x49222d(){const _0x2a33c7=_0x5135dc[_0x16932e([0x6a,0x74,0x69])],_0x330e1a=window[_0x16932e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a33c7[_0x16932e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a33c7[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32b806={..._0x5135dc,[_0x16932e([0x6a,0x74,0x69])]:_0x2a33c7[_0x16932e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a33c7[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32b806[_0x16932e([0x76,0x63])],_0x5bc030(_0x32b806)==_0x330e1a;}}}async function _0x5525f9(){let _0x961332=!0x0;try{const _0x3a0449=_0x3a1383[_0x16932e([0x73,0x70,0x6c,0x69,0x74])](_0x16932e([0x2e])),[_0x36c366,_0x527ae5,_0x4cb342]=_0x3a0449;return _0x10a0e5(_0x36c366),await _0x24b28c(_0x36c366,_0x527ae5,_0x4cb342),_0x961332;}catch(_0x386469){return!0x1;}function _0x10a0e5(_0x2a290e){const _0x22941b=_0x4bf534(_0x2a290e);_0x22941b&&_0x22941b[_0x16932e([0x61,0x6c,0x67])]==_0x16932e([0x45,0x53,0x32,0x35,0x36])||(_0x961332=!0x1);}async function _0x24b28c(_0x1260f4,_0x18e00d,_0xfdb6a7){const _0x30b4aa=window[_0x16932e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16932e([0x66,0x72,0x6f,0x6d])](_0x2b0f0b(_0xfdb6a7),_0x484a33=>_0x484a33[_0x16932e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xaa419b=new window[(_0x16932e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16932e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1260f4+_0x16932e([0x2e])+_0x18e00d),_0x113f12=window[_0x16932e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16932e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x113f12)return;const _0xb157f7=await _0x113f12[_0x16932e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16932e([0x6a,0x77,0x6b]),_0x9e2fdd,{[_0x16932e([0x6e,0x61,0x6d,0x65])]:_0x16932e([0x45,0x43,0x44,0x53,0x41]),[_0x16932e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16932e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16932e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x113f12[_0x16932e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16932e([0x6e,0x61,0x6d,0x65])]:_0x16932e([0x45,0x43,0x44,0x53,0x41]),[_0x16932e([0x68,0x61,0x73,0x68])]:{[_0x16932e([0x6e,0x61,0x6d,0x65])]:_0x16932e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb157f7,_0x30b4aa,_0xaa419b)||(_0x961332=!0x1);}}function _0x4bf534(_0x45c224){return _0x45c224[_0x16932e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16932e([0x65,0x79]))?JSON[_0x16932e([0x70,0x61,0x72,0x73,0x65])](_0x2b0f0b(_0x45c224)):null;}function _0x2b0f0b(_0x2fc8bf){return window[_0x16932e([0x61,0x74,0x6f,0x62])](_0x2fc8bf[_0x16932e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16932e([0x2b]))[_0x16932e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16932e([0x2f])));}function _0x5bc030(_0x11b9e8){let _0x355e68=0x1505;function _0x6cfd9a(_0x4a0ddc){for(let _0x532ad8=0x0;_0x532ad8<_0x4a0ddc[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x532ad8++){const _0x2c3e55=_0x4a0ddc[_0x16932e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x532ad8);_0x355e68=(_0x355e68<<0x5)+_0x355e68+_0x2c3e55,_0x355e68&=_0x355e68;}}function _0x206f63(_0x27f146){Array[_0x16932e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27f146)?_0x27f146[_0x16932e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x206f63):_0x27f146&&typeof _0x27f146==_0x16932e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16932e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27f146)[_0x16932e([0x73,0x6f,0x72,0x74])]()[_0x16932e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5286ca,_0x1514f6])=>{_0x6cfd9a(_0x5286ca),_0x206f63(_0x1514f6);}):_0x6cfd9a(window[_0x16932e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27f146));}return _0x206f63(_0x11b9e8),_0x355e68>>>0x0;}function _0x39b216(_0x46774b){return _0x46774b[_0x16932e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16932e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16932e([0x30]));}function _0x4b3503(_0x2204be){return _0x2204be[_0x16932e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16932e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16932e([0x6a,0x6f,0x69,0x6e])]('');}function _0x44a87b(){}function _0x16932e(_0x5afd73){const _0x3291d6=_0x3138;return _0x5afd73[_0x3291d6(0x208)](_0x428aeb=>String[_0x3291d6(0x23f)](_0x428aeb))[_0x3291d6(0x1f7)]('');}_0x30724a(await _0x408906());}(this);}[_0x550b65(0x21d)](){const _0x38e3a2=_0x550b65,_0x1b86a3=this[_0x38e3a2(0x1f5)][_0x38e3a2(0x20d)][_0x38e3a2(0x218)];_0x1b86a3[_0x38e3a2(0x235)](_0x38e3a2(0x219))&&_0x1b86a3[_0x38e3a2(0x212)](_0x38e3a2(0x219),{'allowAttributes':[_0x38e3a2(0x1fe)]}),_0x1b86a3[_0x38e3a2(0x235)](_0x38e3a2(0x204))&&_0x1b86a3[_0x38e3a2(0x212)](_0x38e3a2(0x204),{'allowAttributes':[_0x38e3a2(0x1fe)]});}[_0x550b65(0x1f4)](){const _0x4e6199=_0x550b65,_0x31a19f=this[_0x4e6199(0x1f5)];_0x31a19f[_0x4e6199(0x205)][_0x4e6199(0x202)](_0x4e6199(0x236))[_0x4e6199(0x226)]({'model':_0x4e6199(0x1fe),'view':_0x4e6199(0x1f3)}),_0x31a19f[_0x4e6199(0x205)][_0x4e6199(0x202)](_0x4e6199(0x1f1))[_0x4e6199(0x227)]({'model':{'key':_0x4e6199(0x1fe),'value':_0x442d65=>_0x442d65[_0x4e6199(0x22c)](_0x4e6199(0x1f3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2eefcf=_0x31a19f[_0x4e6199(0x210)][_0x4e6199(0x237)](_0x4e6199(0x234));_0x2eefcf&&this[_0x4e6199(0x21f)](_0x2eefcf,_0x4e6199(0x243),(_0x5ac69a,[_0x53775b,_0x146983])=>{const _0x4b40a1=_0x4e6199;_0x53775b[_0x4b40a1(0x21c)](_0x4b40a1(0x1fe),_0x146983);});}[_0x550b65(0x216)](){const _0x4aef20=_0x550b65,_0x40a693=this[_0x4aef20(0x1f5)][_0x4aef20(0x23b)][_0x4aef20(0x237)](_0x4aef20(0x233))||{},_0x4a9e50=this[_0x4aef20(0x1f5)][_0x4aef20(0x23b)][_0x4aef20(0x237)](_0x4aef20(0x206))||'';this[_0x4aef20(0x231)]=_0x53d003(_0x5ad83e[_0x4aef20(0x1ff)],_0x4aef20(0x223),{..._0x40a693,'pubkey':_0x4a9e50,'ctx-name':_0x4aef20(0x242),'sourceList':'','imgOnly':_0x4aef20(0x1fc),'removeCopyright':_0x4aef20(0x1fc),'localeName':this[_0x4aef20(0x1f5)][_0x4aef20(0x1fa)][_0x4aef20(0x20e)],'externalSourcesEmbedCss':_0x4aef20(0x1fd)}),this[_0x4aef20(0x231)][_0x4aef20(0x22d)]=_0x39a006=>{const _0x471143=_0x4aef20;if(_0x471143(0x228)==_0x39a006)return _0x471143(0x239);},_0x5ad83e[_0x4aef20(0x1ff)][_0x4aef20(0x213)][_0x4aef20(0x207)](this[_0x4aef20(0x231)]);}[_0x550b65(0x209)](){const _0xc2709e=_0x550b65;this[_0xc2709e(0x225)]=_0x53d003(_0x5ad83e[_0xc2709e(0x1ff)],_0xc2709e(0x238),{'ctx-name':_0xc2709e(0x242)}),_0x5ad83e[_0xc2709e(0x1ff)][_0xc2709e(0x213)][_0xc2709e(0x207)](this[_0xc2709e(0x225)]);}[_0x550b65(0x22a)](){const _0x181ce5=_0x550b65,_0x2ad848=this[_0x181ce5(0x1f5)][_0x181ce5(0x210)][_0x181ce5(0x237)](_0x181ce5(0x215));_0x2ad848&&this[_0x181ce5(0x21f)](_0x2ad848,_0x181ce5(0x244),()=>{const _0x2d7b6b=_0x181ce5,_0x428ac3=this[_0x2d7b6b(0x1f5)][_0x2d7b6b(0x20d)][_0x2d7b6b(0x1ff)][_0x2d7b6b(0x201)][_0x2d7b6b(0x224)]();_0x428ac3&&_0x428ac3[_0x2d7b6b(0x22c)](_0x2d7b6b(0x1fe))&&this[_0x2d7b6b(0x1f5)][_0x2d7b6b(0x229)][_0x2d7b6b(0x23c)][_0x2d7b6b(0x246)](_0x2d7b6b(0x20a),()=>{const _0x1d35f6=_0x2d7b6b;_0x3bc30f(this[_0x1d35f6(0x1f5)],_0x428ac3);});});const _0x176e3b=this[_0x181ce5(0x1f5)][_0x181ce5(0x210)][_0x181ce5(0x237)](_0x181ce5(0x217));_0x176e3b&&this[_0x181ce5(0x21f)](_0x176e3b,_0x181ce5(0x244),()=>{const _0x5c7061=_0x181ce5,_0x52def4=this[_0x5c7061(0x1f5)][_0x5c7061(0x20d)][_0x5c7061(0x1ff)][_0x5c7061(0x201)][_0x5c7061(0x224)]();_0x52def4&&_0x52def4[_0x5c7061(0x22c)](_0x5c7061(0x1fe))&&this[_0x5c7061(0x1f5)][_0x5c7061(0x229)][_0x5c7061(0x23c)][_0x5c7061(0x246)](_0x5c7061(0x20a),()=>{const _0x302c24=_0x5c7061;_0x3bc30f(this[_0x302c24(0x1f5)],_0x52def4);});});}}function _0x1da8(){const _0x1e3b89=['href','_configElement','configElement','uploadcare.uploader','replaceImageSource','isRegistered','downcast','get','uc-upload-ctx-provider','#uc-icon-arrow-down','pluginName','config','view','UploadcareEditing','24qffKJU','fromCharCode','requires','remove','uploader','cleanupImage','execute','init','once','upcast','add','data-uc-image-id','_initConversion','editor','input[uploadcare-file-input]','join','3jMTOGh','PictureEditing','locale','11118HdknFn','true','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcareImageId','document','destroy','selection','for','6ivrtKC','imageInline','conversion','uploadcare.pubkey','appendChild','map','_initCtx','render','908300NSdwyJ','isPremiumPlugin','model','contentLanguage','isOfficialPlugin','commands','afterInit','extend','body','ctxElement','insertImage','_initConfig','uploadcareImageReplace','schema','imageBlock','50QjSzNg','6204768ebuGoc','removeAttribute','_initSchema','querySelector','listenTo','1477285JLhwXl','10vaBtMu','2019699tfTDPj','uc-config','getSelectedElement','_ctxElement','attributeToAttribute','elementToAttribute','closeMax','editing','_initImageProcessingIndicator','uploadcare','getAttribute','iconHrefResolver','678788xmSvVM','671223gnTVnL'];_0x1da8=function(){return _0x1e3b89;};return _0x1da8();}
|
|
23
|
+
function _0x5226(_0x5ddf2e,_0x4f9dca){const _0x20e7e7=_0x20e7();return _0x5226=function(_0x522658,_0x137d4e){_0x522658=_0x522658-0xe4;let _0x23e2c0=_0x20e7e7[_0x522658];return _0x23e2c0;},_0x5226(_0x5ddf2e,_0x4f9dca);}const _0x5d6d87=_0x5226;(function(_0x208729,_0x47ee1f){const _0x4a45b3=_0x5226,_0x58f2f0=_0x208729();while(!![]){try{const _0x109c4f=-parseInt(_0x4a45b3(0x103))/0x1*(parseInt(_0x4a45b3(0xf9))/0x2)+-parseInt(_0x4a45b3(0x120))/0x3*(-parseInt(_0x4a45b3(0xf6))/0x4)+-parseInt(_0x4a45b3(0x113))/0x5+-parseInt(_0x4a45b3(0x118))/0x6*(parseInt(_0x4a45b3(0xfd))/0x7)+-parseInt(_0x4a45b3(0x11b))/0x8*(-parseInt(_0x4a45b3(0xff))/0x9)+-parseInt(_0x4a45b3(0x116))/0xa*(parseInt(_0x4a45b3(0x124))/0xb)+parseInt(_0x4a45b3(0xf3))/0xc;if(_0x109c4f===_0x47ee1f)break;else _0x58f2f0['push'](_0x58f2f0['shift']());}catch(_0x1ccd9a){_0x58f2f0['push'](_0x58f2f0['shift']());}}}(_0x20e7,0x92a28));import{Plugin as _0x262e56}from'ckeditor5/src/core.js';import{Dialog as _0x45cd8a}from'ckeditor5/src/ui.js';import{createElement as _0x33cf58,global as _0x1fcccf,uid as _0x1f5f12}from'ckeditor5/src/utils.js';import _0x549db5 from'./uploadcarecommand.js';import _0x2503ff from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3aec53}from'./utils/editingutils.js';function _0x20e7(){const _0x2c21ae=['uc-upload-ctx-provider','afterInit','insertImage','uploadcare','locale','ctxElement','_initCtx','_initConversion','schema','listenTo','isOfficialPlugin','uploadcareImageReplace','join','_initSchema','model','11469204wraBjP','UploadcareEditing','cleanupImage','13564rRaith','true','editor','66mlZOwD','conversion','destroy','imageBlock','35WLQzDB','configElement','327546trCbBT','_initConfig','_configElement','attributeToAttribute','969HGNQaQ','document','isRegistered','removeAttribute','uploadcare.uploader','uc-config','closeMax','_ctxElement','appendChild','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','extend','contentLanguage','PictureEditing','pluginName','#uc-icon-arrow-down','view','4807760QdDPqZ','downcast','href','4601530TcQpLU','input[uploadcare-file-input]','863040jXiHLb','init','render','208cjqNYg','getSelectedElement','add','for','uploadcareImageId','771BgRQAG','fromCharCode','get','requires','11MvsJiM','editing','body','execute','isPremiumPlugin','elementToAttribute','replaceImageSource','upcast','remove','data-uc-image-id','iconHrefResolver','once','uploader','commands','config','imageInline','getAttribute','selection','querySelector','uploadcare.pubkey','map','_initImageProcessingIndicator'];_0x20e7=function(){return _0x2c21ae;};return _0x20e7();}export default class i extends _0x262e56{[_0x5d6d87(0x101)]=null;[_0x5d6d87(0x10a)]=null;static get[_0x5d6d87(0x110)](){const _0x25801b=_0x5d6d87;return _0x25801b(0xf4);}static get[_0x5d6d87(0x123)](){const _0x2f313e=_0x5d6d87;return[_0x2f313e(0x10f),_0x2503ff,_0x45cd8a];}static get[_0x5d6d87(0xee)](){return!0x0;}static get[_0x5d6d87(0x128)](){return!0x0;}get[_0x5d6d87(0xfe)](){const _0x685da2=_0x5d6d87;return this[_0x685da2(0x101)];}get[_0x5d6d87(0xe9)](){const _0x4d8f99=_0x5d6d87;return this[_0x4d8f99(0x10a)];}[_0x5d6d87(0x119)](){const _0x1af99a=_0x5d6d87,_0x482865=this[_0x1af99a(0xf8)];_0x482865[_0x1af99a(0x131)][_0x1af99a(0x11d)](_0x1af99a(0xe7),new _0x549db5(_0x482865));}[_0x5d6d87(0xe5)](){const _0x37bf69=_0x5d6d87;this[_0x37bf69(0xf1)](),this[_0x37bf69(0xeb)](),this[_0x37bf69(0x100)](),this[_0x37bf69(0xea)](),this[_0x37bf69(0x139)](),this[_0x37bf69(0xed)](this[_0x37bf69(0xf8)],_0x37bf69(0xfb),()=>{const _0x2b2b62=_0x37bf69;this[_0x2b2b62(0x101)]&&(this[_0x2b2b62(0x101)][_0x2b2b62(0x12c)](),this[_0x2b2b62(0x101)]=null),this[_0x2b2b62(0x10a)]&&(this[_0x2b2b62(0x10a)][_0x2b2b62(0x12c)](),this[_0x2b2b62(0x10a)]=null);const _0x2dd336=_0x1fcccf[_0x2b2b62(0x104)][_0x2b2b62(0x136)](_0x2b2b62(0x117));_0x2dd336&&_0x2dd336[_0x2b2b62(0x12c)]();}),async function(_0x227753){const _0x485f39=_0x1b9832([0x38,0x36,0x49,0x69,0x53,0x4f,0x70,0x6c,0x47,0x56,0x74,0x39,0x76,0x63,0x7a,0x61,0x4b,0x42,0x41,0x66,0x6d,0x57,0x73,0x68,0x58,0x51,0x50,0x72,0x30,0x4d,0x64,0x4a,0x67,0x48,0x52,0x33,0x31,0x44,0x43,0x55,0x35,0x4e,0x37,0x4c,0x78,0x6b,0x54,0x79,0x75,0x6f,0x62,0x59,0x45,0x71,0x46,0x6e,0x32,0x77,0x6a,0x5a,0x34,0x65]),_0x10eaf9=0x3798f565,_0x25593f=0x379f969d^_0x10eaf9,_0x5d96b9=window[_0x1b9832([0x44,0x61,0x74,0x65])][_0x1b9832([0x6e,0x6f,0x77])](),_0x22b42f=_0x227753[_0x1b9832([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27b98e=new window[(_0x1b9832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ddb92=>{_0x22b42f[_0x1b9832([0x6f,0x6e,0x63,0x65])](_0x1b9832([0x72,0x65,0x61,0x64,0x79]),_0x1ddb92);}),_0x20b0be={[_0x1b9832([0x6b,0x74,0x79])]:_0x1b9832([0x45,0x43]),[_0x1b9832([0x75,0x73,0x65])]:_0x1b9832([0x73,0x69,0x67]),[_0x1b9832([0x63,0x72,0x76])]:_0x1b9832([0x50,0x2d,0x32,0x35,0x36]),[_0x1b9832([0x78])]:_0x1b9832([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1b9832([0x79])]:_0x1b9832([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1b9832([0x61,0x6c,0x67])]:_0x1b9832([0x45,0x53,0x32,0x35,0x36])},_0x3da9a5=_0x22b42f[_0x1b9832([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b9832([0x67,0x65,0x74])](_0x1b9832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b5836(){let _0x100f03,_0x429868=null,_0x16e8c5=null;try{if(_0x3da9a5==_0x1b9832([0x47,0x50,0x4c]))return _0x1b9832([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x100f03=_0x2ee0e2(),!_0x100f03)return _0x1b9832([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x100f03[_0x1b9832([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16e8c5=_0x44bde4(_0x100f03[_0x1b9832([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x100f03[_0x1b9832([0x6a,0x74,0x69])])),await _0x84c871()?_0x239338()?_0x2c0792()?_0x1b9832([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a3102()?(_0x100f03[_0x1b9832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b9832([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x429868=_0x2f70e1(_0x1b9832([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x100f03[_0x1b9832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b9832([0x74,0x72,0x69,0x61,0x6c])&&(_0x429868=_0x2f70e1(_0x1b9832([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d59a7()):_0x1b9832([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b9832([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b9832([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3f609d){return _0x1b9832([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c0792(){const _0x584fd6=[_0x1b9832([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b9832([0x74,0x72,0x69,0x61,0x6c])][_0x1b9832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x100f03[_0x1b9832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d96b9/0x3e8:0xe10*_0x25593f;return _0x100f03[_0x1b9832([0x65,0x78,0x70])]<_0x584fd6;}function _0x239338(){const _0x3b77e9=_0x100f03[_0x1b9832([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b77e9&&(!!_0x3b77e9[_0x1b9832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b9832([0x2a]))||!!_0x3b77e9[_0x1b9832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b9832([0x55,0x50,0x4c,0x43])));}function _0x5a3102(){const _0x213102=_0x5226,_0xfa8f08=_0x100f03[_0x1b9832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xfa8f08||0x0==_0xfa8f08[_0x1b9832([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1457b4}=new URL(window[_0x1b9832([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x213102(0x115)]);if(_0xfa8f08[_0x1b9832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1457b4))return!0x0;const _0x5e6828=_0x1457b4[_0x1b9832([0x73,0x70,0x6c,0x69,0x74])](_0x1b9832([0x2e]));return _0xfa8f08[_0x1b9832([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x130bf3=>_0x130bf3[_0x1b9832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b9832([0x2a])))[_0x1b9832([0x6d,0x61,0x70])](_0xe72d82=>_0xe72d82[_0x1b9832([0x73,0x70,0x6c,0x69,0x74])](_0x1b9832([0x2e])))[_0x1b9832([0x73,0x6f,0x6d,0x65])](_0x2b3fbe=>_0x5e6828[_0x1b9832([0x65,0x76,0x65,0x72,0x79])]((_0x1364ee,_0x13746a)=>_0x2b3fbe[_0x13746a]===_0x1364ee||_0x2b3fbe[_0x13746a]===_0x1b9832([0x2a])));}function _0x3d59a7(){return _0x429868&&_0x16e8c5?new window[(_0x1b9832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45109f,_0x3286be)=>{_0x429868[_0x1b9832([0x74,0x68,0x65,0x6e])](_0x45109f,_0x3286be),_0x16e8c5[_0x1b9832([0x74,0x68,0x65,0x6e])](_0x4a8208=>{_0x4a8208!=_0x1b9832([0x56,0x61,0x6c,0x69,0x64])&&_0x45109f(_0x4a8208);},_0x3286be);}):_0x429868||_0x16e8c5||_0x1b9832([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44bde4(_0x19fb61,_0x5434bd){return new window[(_0x1b9832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4299d1=>{if(_0xa3ebd())return _0x4299d1(_0x1b9832([0x56,0x61,0x6c,0x69,0x64]));_0x1aa26c(),_0x22b42f[_0x1b9832([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b9832([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19b5dc=!0x1;const _0x3bac0c=_0x1f5f12();function _0x263263(_0x175d86){return!!_0x175d86&&(typeof _0x175d86===_0x1b9832([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x175d86===_0x1b9832([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x175d86[_0x1b9832([0x74,0x68,0x65,0x6e])]===_0x1b9832([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x175d86[_0x1b9832([0x63,0x61,0x74,0x63,0x68])]===_0x1b9832([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4aa503(_0x1a6cca){_0x41cec4(_0x1a6cca)[_0x1b9832([0x74,0x68,0x65,0x6e])](_0x55994d=>{if(!_0x55994d||_0x55994d[_0x1b9832([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b9832([0x6f,0x6b]))return _0x1b9832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41aa9e(_0x25e13e(_0x3bac0c+_0x5434bd))!=_0x55994d[_0x1b9832([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b9832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b9832([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b9832([0x74,0x68,0x65,0x6e])](_0x303103=>(_0x37bd89(),_0x303103),()=>{const _0x5f463e=_0x35481e();return null==_0x5f463e?(_0x37bd89(),_0x1b9832([0x56,0x61,0x6c,0x69,0x64])):_0x1b9832(_0x5d96b9-_0x5f463e>(0x13947165^_0x10eaf9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b9832([0x74,0x68,0x65,0x6e])](_0x4299d1)[_0x1b9832([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4299d1(_0x1b9832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15d672=0x37ae1be5^_0x10eaf9;function _0x37bd89(){const _0x1d1011=_0x1b9832([0x6c,0x6c,0x63,0x74,0x2d])+_0x41aa9e(_0x25e13e(_0x19fb61)),_0x45aab1=_0x445647(_0x41aa9e(window[_0x1b9832([0x4d,0x61,0x74,0x68])][_0x1b9832([0x63,0x65,0x69,0x6c])](_0x5d96b9/_0x15d672)));window[_0x1b9832([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b9832([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d1011,_0x45aab1);}function _0x35481e(){const _0x2acd4a=_0x1b9832([0x6c,0x6c,0x63,0x74,0x2d])+_0x41aa9e(_0x25e13e(_0x19fb61)),_0x26b272=window[_0x1b9832([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b9832([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2acd4a);return _0x26b272?window[_0x1b9832([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x445647(_0x26b272),0x10)*_0x15d672:null;}function _0x41cec4(_0x402ce9){return new window[(_0x1b9832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b5627,_0x247746)=>{_0x402ce9[_0x1b9832([0x74,0x68,0x65,0x6e])](_0x2b5627,_0x247746),window[_0x1b9832([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x247746,0x379921a5^_0x10eaf9);});}}_0x22b42f[_0x1b9832([0x6f,0x6e])](_0x1b9832([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f6ff4,_0x5ae77b)=>{if(_0x5ae77b[0x0]!=_0x19fb61)return _0x4299d1(_0x1b9832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ae77b[0x1]={..._0x5ae77b[0x1],[_0x1b9832([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3bac0c};},{[_0x1b9832([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b9832([0x68,0x69,0x67,0x68])}),_0x22b42f[_0x1b9832([0x6f,0x6e])](_0x1b9832([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37293a=>{_0x263263(_0x37293a[_0x1b9832([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19b5dc=!0x0,_0x4aa503(_0x37293a[_0x1b9832([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b9832([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b9832([0x6c,0x6f,0x77])}),_0x27b98e[_0x1b9832([0x74,0x68,0x65,0x6e])](()=>{_0x19b5dc||_0x4299d1(_0x1b9832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa3ebd(){return _0x22b42f[_0x1b9832([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b9832([0x76,0x69,0x65,0x77])][_0x1b9832([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b9832([0x61,0x75,0x74,0x6f]);}function _0x1aa26c(){_0x22b42f[_0x1b9832([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b9832([0x76,0x69,0x65,0x77])][_0x1b9832([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b9832([0x61,0x75,0x74,0x6f]);}}function _0x2f70e1(_0x50862f){const _0x5224c2=[new window[(_0x1b9832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x313bd5=>setTimeout(_0x313bd5,0x3791cba9^_0x10eaf9)),_0x27b98e[_0x1b9832([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b9832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x332dfa=>{let _0x1e6ece=0x0;_0x22b42f[_0x1b9832([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b9832([0x6f,0x6e])](_0x1b9832([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1928a4,_0x2169c6)=>{_0x2169c6[0x0][_0x1b9832([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1e6ece++,_0x1e6ece==(0x3798f49d^_0x10eaf9)&&(_0x332dfa(),_0x1928a4[_0x1b9832([0x6f,0x66,0x66])]());});}))];return window[_0x1b9832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b9832([0x72,0x61,0x63,0x65])](_0x5224c2)[_0x1b9832([0x74,0x68,0x65,0x6e])](()=>_0x50862f);}async function _0x23be24(){await _0x27b98e,_0x22b42f[_0x1b9832([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b9832([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bf90d,_0x22b42f[_0x1b9832([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b9832([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bf90d,_0x22b42f[_0x1b9832([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b9832([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41da45(_0x27878c){const _0x1d37b4=_0x11920a();_0x22b42f[_0x1d37b4]=_0x1b9832([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27878c,_0x27878c!=_0x1b9832([0x56,0x61,0x6c,0x69,0x64])&&_0x23be24();}function _0x11920a(){const _0x47966e=window[_0x1b9832([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b9832([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b9832([0x6e,0x6f,0x77])]())[_0x1b9832([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b9832([0x2e]),'');let _0x45a358=_0x1b9832([0x49]);for(let _0x2c49c8=0x0;_0x2c49c8<_0x47966e[_0x1b9832([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c49c8+=0x2){let _0x5696cc=window[_0x1b9832([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47966e[_0x1b9832([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c49c8,_0x2c49c8+0x2));_0x5696cc>=_0x485f39[_0x1b9832([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5696cc-=_0x485f39[_0x1b9832([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45a358+=_0x485f39[_0x5696cc];}return _0x45a358;}function _0x2ee0e2(){const _0x5c2232=_0x3da9a5[_0x1b9832([0x73,0x70,0x6c,0x69,0x74])](_0x1b9832([0x2e]));if(0x3!=_0x5c2232[_0x1b9832([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f66ba(_0x5c2232[0x1]);function _0x2f66ba(_0x4b7da2){const _0x5bcff9=_0x58c35d(_0x4b7da2);return _0x5bcff9&&_0x33cca4()?_0x5bcff9:null;function _0x33cca4(){const _0x589656=_0x5bcff9[_0x1b9832([0x6a,0x74,0x69])],_0x11c613=window[_0x1b9832([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x589656[_0x1b9832([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x589656[_0x1b9832([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51439f={..._0x5bcff9,[_0x1b9832([0x6a,0x74,0x69])]:_0x589656[_0x1b9832([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x589656[_0x1b9832([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51439f[_0x1b9832([0x76,0x63])],_0x25e13e(_0x51439f)==_0x11c613;}}}async function _0x84c871(){let _0x38b0bc=!0x0;try{const _0x5ee929=_0x3da9a5[_0x1b9832([0x73,0x70,0x6c,0x69,0x74])](_0x1b9832([0x2e])),[_0x3b1b4d,_0x17a4e5,_0x57c72a]=_0x5ee929;return _0x367b24(_0x3b1b4d),await _0x17af16(_0x3b1b4d,_0x17a4e5,_0x57c72a),_0x38b0bc;}catch(_0x171476){return!0x1;}function _0x367b24(_0x22075d){const _0x3b7f82=_0x58c35d(_0x22075d);_0x3b7f82&&_0x3b7f82[_0x1b9832([0x61,0x6c,0x67])]==_0x1b9832([0x45,0x53,0x32,0x35,0x36])||(_0x38b0bc=!0x1);}async function _0x17af16(_0x4bd9d4,_0x4f89d1,_0x15ef5c){const _0x23e3f7=window[_0x1b9832([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b9832([0x66,0x72,0x6f,0x6d])](_0x8d5fcd(_0x15ef5c),_0x79d309=>_0x79d309[_0x1b9832([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x124964=new window[(_0x1b9832([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b9832([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4bd9d4+_0x1b9832([0x2e])+_0x4f89d1),_0x2753ec=window[_0x1b9832([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b9832([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2753ec)return;const _0x172588=await _0x2753ec[_0x1b9832([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b9832([0x6a,0x77,0x6b]),_0x20b0be,{[_0x1b9832([0x6e,0x61,0x6d,0x65])]:_0x1b9832([0x45,0x43,0x44,0x53,0x41]),[_0x1b9832([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b9832([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b9832([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2753ec[_0x1b9832([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b9832([0x6e,0x61,0x6d,0x65])]:_0x1b9832([0x45,0x43,0x44,0x53,0x41]),[_0x1b9832([0x68,0x61,0x73,0x68])]:{[_0x1b9832([0x6e,0x61,0x6d,0x65])]:_0x1b9832([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x172588,_0x23e3f7,_0x124964)||(_0x38b0bc=!0x1);}}function _0x58c35d(_0x55fa5a){return _0x55fa5a[_0x1b9832([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b9832([0x65,0x79]))?JSON[_0x1b9832([0x70,0x61,0x72,0x73,0x65])](_0x8d5fcd(_0x55fa5a)):null;}function _0x8d5fcd(_0x224ed8){return window[_0x1b9832([0x61,0x74,0x6f,0x62])](_0x224ed8[_0x1b9832([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b9832([0x2b]))[_0x1b9832([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b9832([0x2f])));}function _0x25e13e(_0x1ba9cd){let _0x21429d=0x1505;function _0x5655b0(_0x8425f9){for(let _0x379553=0x0;_0x379553<_0x8425f9[_0x1b9832([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x379553++){const _0x2b0af1=_0x8425f9[_0x1b9832([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x379553);_0x21429d=(_0x21429d<<0x5)+_0x21429d+_0x2b0af1,_0x21429d&=_0x21429d;}}function _0x101109(_0x3e4947){Array[_0x1b9832([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e4947)?_0x3e4947[_0x1b9832([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x101109):_0x3e4947&&typeof _0x3e4947==_0x1b9832([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b9832([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e4947)[_0x1b9832([0x73,0x6f,0x72,0x74])]()[_0x1b9832([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44d77a,_0x48ddc8])=>{_0x5655b0(_0x44d77a),_0x101109(_0x48ddc8);}):_0x5655b0(window[_0x1b9832([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e4947));}return _0x101109(_0x1ba9cd),_0x21429d>>>0x0;}function _0x41aa9e(_0x12e19a){return _0x12e19a[_0x1b9832([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b9832([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b9832([0x30]));}function _0x445647(_0x8a8d9){return _0x8a8d9[_0x1b9832([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b9832([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b9832([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bf90d(){}function _0x1b9832(_0x38aa03){const _0x13f1c3=_0x5226;return _0x38aa03[_0x13f1c3(0x138)](_0x1ea284=>String[_0x13f1c3(0x121)](_0x1ea284))[_0x13f1c3(0xf0)]('');}_0x41da45(await _0x4b5836());}(this);}[_0x5d6d87(0xf1)](){const _0x2dca5f=_0x5d6d87,_0x41014b=this[_0x2dca5f(0xf8)][_0x2dca5f(0xf2)][_0x2dca5f(0xec)];_0x41014b[_0x2dca5f(0x105)](_0x2dca5f(0xfc))&&_0x41014b[_0x2dca5f(0x10d)](_0x2dca5f(0xfc),{'allowAttributes':[_0x2dca5f(0x11f)]}),_0x41014b[_0x2dca5f(0x105)](_0x2dca5f(0x133))&&_0x41014b[_0x2dca5f(0x10d)](_0x2dca5f(0x133),{'allowAttributes':[_0x2dca5f(0x11f)]});}[_0x5d6d87(0xeb)](){const _0x419776=_0x5d6d87,_0x3bfea0=this[_0x419776(0xf8)];_0x3bfea0[_0x419776(0xfa)][_0x419776(0x11e)](_0x419776(0x114))[_0x419776(0x102)]({'model':_0x419776(0x11f),'view':_0x419776(0x12d)}),_0x3bfea0[_0x419776(0xfa)][_0x419776(0x11e)](_0x419776(0x12b))[_0x419776(0x129)]({'model':{'key':_0x419776(0x11f),'value':_0x3bf63c=>_0x3bf63c[_0x419776(0x134)](_0x419776(0x12d))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3df427=_0x3bfea0[_0x419776(0x131)][_0x419776(0x122)](_0x419776(0x12a));_0x3df427&&this[_0x419776(0xed)](_0x3df427,_0x419776(0xf5),(_0x2428b9,[_0x7d7e7e,_0x18b493])=>{const _0x23c2cf=_0x419776;_0x7d7e7e[_0x23c2cf(0x106)](_0x23c2cf(0x11f),_0x18b493);});}[_0x5d6d87(0x100)](){const _0x356e85=_0x5d6d87,_0x538d53=this[_0x356e85(0xf8)][_0x356e85(0x132)][_0x356e85(0x122)](_0x356e85(0x107))||{},_0x4e172a=this[_0x356e85(0xf8)][_0x356e85(0x132)][_0x356e85(0x122)](_0x356e85(0x137))||'';this[_0x356e85(0x101)]=_0x33cf58(_0x1fcccf[_0x356e85(0x104)],_0x356e85(0x108),{..._0x538d53,'pubkey':_0x4e172a,'ctx-name':_0x356e85(0x130),'sourceList':'','imgOnly':_0x356e85(0xf7),'removeCopyright':_0x356e85(0xf7),'localeName':this[_0x356e85(0xf8)][_0x356e85(0xe8)][_0x356e85(0x10e)],'externalSourcesEmbedCss':_0x356e85(0x10c)}),this[_0x356e85(0x101)][_0x356e85(0x12e)]=_0x41a889=>{const _0x4f2f73=_0x356e85;if(_0x4f2f73(0x109)==_0x41a889)return _0x4f2f73(0x111);},_0x1fcccf[_0x356e85(0x104)][_0x356e85(0x126)][_0x356e85(0x10b)](this[_0x356e85(0x101)]);}[_0x5d6d87(0xea)](){const _0x5efae9=_0x5d6d87;this[_0x5efae9(0x10a)]=_0x33cf58(_0x1fcccf[_0x5efae9(0x104)],_0x5efae9(0xe4),{'ctx-name':_0x5efae9(0x130)}),_0x1fcccf[_0x5efae9(0x104)][_0x5efae9(0x126)][_0x5efae9(0x10b)](this[_0x5efae9(0x10a)]);}[_0x5d6d87(0x139)](){const _0x152e9b=_0x5d6d87,_0x3a26bd=this[_0x152e9b(0xf8)][_0x152e9b(0x131)][_0x152e9b(0x122)](_0x152e9b(0xe6));_0x3a26bd&&this[_0x152e9b(0xed)](_0x3a26bd,_0x152e9b(0x127),()=>{const _0x431adc=_0x152e9b,_0x539f17=this[_0x431adc(0xf8)][_0x431adc(0xf2)][_0x431adc(0x104)][_0x431adc(0x135)][_0x431adc(0x11c)]();_0x539f17&&_0x539f17[_0x431adc(0x134)](_0x431adc(0x11f))&&this[_0x431adc(0xf8)][_0x431adc(0x125)][_0x431adc(0x112)][_0x431adc(0x12f)](_0x431adc(0x11a),()=>{const _0x528196=_0x431adc;_0x3aec53(this[_0x528196(0xf8)],_0x539f17);});});const _0x2d3bcd=this[_0x152e9b(0xf8)][_0x152e9b(0x131)][_0x152e9b(0x122)](_0x152e9b(0xef));_0x2d3bcd&&this[_0x152e9b(0xed)](_0x2d3bcd,_0x152e9b(0x127),()=>{const _0x8791fd=_0x152e9b,_0x4b621e=this[_0x8791fd(0xf8)][_0x8791fd(0xf2)][_0x8791fd(0x104)][_0x8791fd(0x135)][_0x8791fd(0x11c)]();_0x4b621e&&_0x4b621e[_0x8791fd(0x134)](_0x8791fd(0x11f))&&this[_0x8791fd(0xf8)][_0x8791fd(0x125)][_0x8791fd(0x112)][_0x8791fd(0x12f)](_0x8791fd(0x11a),()=>{const _0xc5c6f5=_0x8791fd;_0x3aec53(this[_0xc5c6f5(0xf8)],_0x4b621e);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x5eafb3,ObservableMixin as _0x21d3ac}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x50a52f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x23c7f8}from'ckeditor5/src/icons.js';import _0x326bc1 from'./uploadcareimageeditformview.js';import _0x50318d from'../../utils/uploadutils.js';import{getImageUrls as _0x518ec2,getImageDimension as _0x768485}from'../../utils/editingutils.js';import{isAncestor as _0x592800}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x21d3ac(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3b6e8f,_0x56bacb,_0xdd9334){super(),this['_editor']=_0x3b6e8f,this['_dialog']=_0x56bacb,this['_imageElement']=_0xdd9334,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x13d83a=this['_imageElement'],_0x1a07ef=_0x13d83a['getAttribute']('uploadcareImageId'),_0x38acb8=_0x13d83a['getAttribute']('src');if(_0x1a07ef)await this['_loadImageInfo'](_0x1a07ef,_0x38acb8);else{if(this['_imageCache']['has'](_0x38acb8)){const _0x4fbfd4=this['_imageCache']['get'](_0x38acb8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4fbfd4['url'],this['imageDimension']=_0x4fbfd4['dimension'],this['imageId']=_0x4fbfd4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1a30c9}=this['_editor'],t=_0x1a30c9['t'],_0x23bbf4=new _0x326bc1(_0x1a30c9,this['imageStatus'],this['_attributes']);_0x23bbf4['bind']('status')['to'](this,'imageStatus'),_0x23bbf4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x23bbf4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x23bbf4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x23bbf4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x23c7f8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x23bbf4,'position':_0x50a52f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x23bbf4['focus']();},'onHide':()=>{_0x23bbf4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x552bc8=>!_0x592800(_0x552bc8,_0x23bbf4['element'])}});}['_loadImageInfo'](_0x290131,_0x38d1d6){return _0x50318d['getInfo'](_0x290131,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3d6602=>{const {width:_0x41ed0f,height:_0x52165a}=_0x3d6602['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38d1d6,this['imageDimension']={'width':_0x41ed0f,'height':_0x52165a},this['imageId']=_0x290131;})['catch'](_0x47c580=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x47c580['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xd0160f,_0x4be537){return this['_getImageAsFile'](_0xd0160f)['then'](_0x3febef=>_0x50318d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4be537['signal'],'file':_0x3febef,'onProgress':_0x265ea3=>{_0x265ea3&&_0x265ea3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x265ea3['value']));}}))['then'](_0x4cb23f=>{const {width:_0x5446a2,height:_0x2a8d5}=_0x4cb23f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cb23f['cdnUrl'],this['imageDimension']={'width':_0x5446a2,'height':_0x2a8d5},this['imageId']=_0x4cb23f['uuid'],this['imageUploadProgress']=null;const _0x34b44a=_0xd0160f['getAttribute']('src');this['_imageCache']['set'](_0x34b44a,{'id':_0x4cb23f['uuid'],'url':_0x4cb23f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2ded61=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ded61['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2f5f03,_0x20b8a2){_0x2f5f03['on']('apply',(_0x336801,_0x3ae607)=>{this['_replaceImage'](_0x20b8a2,_0x3ae607['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2f5f03['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2f5f03['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x38fd49,_0x5b0732,_0x4e5a45){const _0x326a24=this['_editor'],{width:_0x5c9508,height:_0x322038}=_0x768485(_0x5b0732,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x15f88f,imageSources:_0x267f0a}=_0x518ec2(_0x5b0732,_0x5c9508);_0x326a24['model']['change'](_0x4e2242=>{if('$graveyard'===_0x38fd49['root']['rootName']){_0x326a24['execute']('insertImage',{'imageType':_0x38fd49['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x38fd49['getAttributes']()),'uploadcareImageId':_0x4e5a45,'src':_0x15f88f,'sources':_0x267f0a,'width':_0x5c9508,'height':_0x322038}});const _0x45305c=_0x38fd49['getChildren']();_0x38fd49=_0x326a24['model']['document']['selection']['getSelectedElement']();for(const _0x49182c of _0x45305c)_0x4e2242['append'](_0x4e2242['cloneElement'](_0x49182c),_0x38fd49);}else _0x4e2242['setSelection'](_0x38fd49,'on'),_0x326a24['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x38fd49['getAttributes']()),'uploadcareImageId':_0x4e5a45,'src':_0x15f88f,'sources':_0x267f0a,'width':_0x5c9508,'height':_0x322038},_0x38fd49);_0x4e2242['setSelection'](_0x38fd49,'on');});}async['_getImageAsFile'](_0x587995){const _0x345334=_0x5eafb3['window'],_0x2604a9=_0x5eafb3['document']['location']['href'],_0x3c387c=new _0x345334['URL'](_0x587995['getAttribute']('src'),_0x2604a9);if('data:'===_0x3c387c['protocol']){const _0x5b32b0=_0x3c387c['href']['split'](','),_0x1b4bf5=_0x5b32b0[0x0]['match'](/:(.*?);/)[0x1],_0x54d3cf=_0x1b4bf5['split']('/')[0x1],_0x1e4b2b=_0x345334['atob'](_0x5b32b0[_0x5b32b0['length']-0x1]);let _0xe802e5=_0x1e4b2b['length'];const _0x50b821=new _0x345334['Uint8Array'](_0xe802e5);for(;_0xe802e5--;)_0x50b821[_0xe802e5]=_0x1e4b2b['charCodeAt'](_0xe802e5);return new _0x345334['File']([_0x50b821],'image.'+_0x54d3cf,{'type':_0x1b4bf5});}const _0x52cda7=_0x3c387c['href']['split']('/'),_0x581b54=_0x52cda7[_0x52cda7['length']-0x1],_0x26785c=_0x581b54['split']('.')[0x1];return _0x345334['fetch'](_0x3c387c['href'])['then'](_0x18a6a7=>_0x18a6a7['clone']()['blob']())['then'](_0x44a7d8=>new _0x345334['File']([_0x44a7d8],_0x581b54,{'type':'image/'+_0x26785c}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x59c2(_0x57f2b7,_0x11edcf){const _0x58b56f=_0x58b5();return _0x59c2=function(_0x59c244,_0x2e36ae){_0x59c244=_0x59c244-0x1b3;let _0x185a92=_0x58b56f[_0x59c244];return _0x185a92;},_0x59c2(_0x57f2b7,_0x11edcf);}function _0x58b5(){const _0x2855d5=['imageSrc','1209408aIufel','uc-light','ck-uploadcare-theme','2514720toknTA','1533952jCuodX','1200774irkkdd','1902tcQaZA','464345FurzEz','set','image-edit','6ToTwPc','bindTemplate','18smHhUl','74wovCSr','uc-cloud-image-editor','setTemplate','1329272DyjcVo'];_0x58b5=function(){return _0x2855d5;};return _0x58b5();}(function(_0x4e5ac1,_0x53cef4){const _0x2625eb=_0x59c2,_0x4d6e3f=_0x4e5ac1();while(!![]){try{const _0xdd3c71=parseInt(_0x2625eb(0x1bc))/0x1*(parseInt(_0x2625eb(0x1c3))/0x2)+parseInt(_0x2625eb(0x1bb))/0x3+-parseInt(_0x2625eb(0x1b4))/0x4+parseInt(_0x2625eb(0x1bd))/0x5*(-parseInt(_0x2625eb(0x1c0))/0x6)+parseInt(_0x2625eb(0x1ba))/0x7+parseInt(_0x2625eb(0x1b6))/0x8*(-parseInt(_0x2625eb(0x1c2))/0x9)+parseInt(_0x2625eb(0x1b9))/0xa;if(_0xdd3c71===_0x53cef4)break;else _0x4d6e3f['push'](_0x4d6e3f['shift']());}catch(_0xddaa1d){_0x4d6e3f['push'](_0x4d6e3f['shift']());}}}(_0x58b5,0x342c5));import{View as _0x3c33f2}from'ckeditor5/src/ui.js';export default class tt extends _0x3c33f2{constructor(_0x27f39d,_0x555c31){const _0x5d0651=_0x59c2;super(_0x27f39d);const _0xa9ec96=this[_0x5d0651(0x1c1)];this[_0x5d0651(0x1be)](_0x5d0651(0x1b5),''),this[_0x5d0651(0x1b3)]({'tag':_0x5d0651(0x1c4),'attributes':{..._0x555c31,'class':[_0x5d0651(0x1b7),_0x5d0651(0x1b8)],'ctx-name':_0x5d0651(0x1bf),'cdn-url':_0xa9ec96['to'](_0x5d0651(0x1b5))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x4d49d8,IconView as at,View as _0x2696af}from'ckeditor5/src/ui.js';export default class rt extends _0x2696af{constructor(_0x5863c1){super(_0x5863c1);const t=_0x5863c1['t'];this['set']('errorType',null);const _0x17ade7=new _0x4d49d8(_0x5863c1);_0x17ade7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x17ade7['withText']=!0x0,_0x17ade7['class']='ck-button-action',_0x17ade7['on']('execute',()=>{this['fire']('retry');}),_0x17ade7['bind']('isVisible')['to'](this,'errorType',_0x4a9123=>'NotFound'!==_0x4a9123);const _0x25ab65=new at();_0x25ab65['content']=et,_0x25ab65['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3a0660=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x25ab65,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3a0660['to']('errorType',_0x2cc55e=>t('NotFound'!==_0x2cc55e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x17ade7]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x338de7,View as _0x22d155}from'ckeditor5/src/ui.js';export default class ta extends _0x22d155{constructor(_0x2cff2a){super(_0x2cff2a);const t=_0x2cff2a['t'],_0x311408=this['bindTemplate'],_0x554df6=new _0x338de7();_0x554df6['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x554df6,{'text':_0x311408['to']('imageUploadProgress',_0x313cbc=>t('Loading\x20image...')+'\x20('+(_0x313cbc||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x551cf1=_0x4ae8;function _0x4ae8(_0x41394f,_0xc75e7b){const _0x548556=_0x5485();return _0x4ae8=function(_0x4ae89d,_0x41ffbb){_0x4ae89d=_0x4ae89d-0x7d;let _0x2c57de=_0x548556[_0x4ae89d];return _0x2c57de;},_0x4ae8(_0x41394f,_0xc75e7b);}function _0x5485(){const _0x3114f2=['cdnUrl','change:status','fire','error','render','addEventListener','element','622678ibMweG','2935821JmBNiG','div','addMany','length','cancel','disconnect','focus','294fAHaTH','status','_waitForImageEditorComponent','target','once','5464740evmfko','filter','_editingView','retry','setTemplate','892456JKygDT','_errorView','uc-cloud-image-editor','addedNodes','_loadingView','set','nodeName','_setView','detail','apply','uploading','querySelector','add','clear','ck-uploadcare-form','getFocusableElement','110435JZXHKI','ready','1054926WNuAhG','toLowerCase','8353548SzHRfy','_focusableView','_addUploadcareImageEditorListeners','_items','_addErrorViewListeners','createCollection','ck-reset_all-excluded','observe'];_0x5485=function(){return _0x3114f2;};return _0x5485();}(function(_0x33e05f,_0x24ed78){const _0x4f5d55=_0x4ae8,_0x4be7ad=_0x33e05f();while(!![]){try{const _0x197f36=parseInt(_0x4f5d55(0x8f))/0x1+-parseInt(_0x4f5d55(0xa0))/0x2+parseInt(_0x4f5d55(0xa1))/0x3+parseInt(_0x4f5d55(0xad))/0x4+parseInt(_0x4f5d55(0x8d))/0x5*(-parseInt(_0x4f5d55(0xa8))/0x6)+-parseInt(_0x4f5d55(0x91))/0x7+parseInt(_0x4f5d55(0x7d))/0x8;if(_0x197f36===_0x24ed78)break;else _0x4be7ad['push'](_0x4be7ad['shift']());}catch(_0x3b1863){_0x4be7ad['push'](_0x4be7ad['shift']());}}}(_0x5485,0xe1a95));import{View as _0x1180fe}from'ckeditor5/src/ui.js';import _0xdfb89a from'./uploadcareimageeditformloadingview.js';import _0x97c21e from'./uploadcareimageeditformerrorview.js';import _0x4a3530 from'./uploadcareimageeditformeditingview.js';import _0xcf8f98 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0xcf8f98{[_0x551cf1(0x94)];[_0x551cf1(0x81)];[_0x551cf1(0x7e)];[_0x551cf1(0xaf)];[_0x551cf1(0x92)];constructor(_0x1708dc,_0x3c0e9d,_0x584c0a){const _0x150566=_0x551cf1;super(_0x1708dc),this[_0x150566(0x94)]=this[_0x150566(0x96)](),this[_0x150566(0x81)]=new _0xdfb89a(_0x1708dc),this[_0x150566(0x7e)]=new _0x97c21e(_0x1708dc),this[_0x150566(0xaf)]=new _0x4a3530(_0x1708dc,_0x584c0a),this[_0x150566(0x92)]=new _0x1180fe(_0x1708dc),this[_0x150566(0x92)][_0x150566(0xb1)](this[_0x150566(0x8c)]()),this[_0x150566(0x82)](_0x150566(0xa9),_0x3c0e9d),this[_0x150566(0xb1)]({'tag':_0x150566(0xa2),'attributes':{'class':['ck',_0x150566(0x97),_0x150566(0x8b)],'tabindex':'-1'},'children':this[_0x150566(0x94)]}),this[_0x150566(0x84)](),this[_0x150566(0xac)](_0x150566(0x9d),()=>{const _0x2541e5=_0x150566;this[_0x2541e5(0xaa)](this[_0x2541e5(0x9f)],_0x210031=>{const _0x422ad4=_0x2541e5;this[_0x422ad4(0x93)](_0x210031);});}),this['on'](_0x150566(0x9a),()=>{const _0x3c6332=_0x150566;this[_0x3c6332(0x84)]();}),this[_0x150566(0x95)]();}[_0x551cf1(0xa7)](){const _0x565931=_0x551cf1;this[_0x565931(0x9f)][_0x565931(0xa7)]();}[_0x551cf1(0x84)](){const _0x394714=_0x551cf1;switch(this[_0x394714(0x94)][_0x394714(0x8a)](),this[_0x394714(0xa9)]){case _0x394714(0x87):this[_0x394714(0x94)][_0x394714(0x89)](this[_0x394714(0x81)]);break;case _0x394714(0x9c):this[_0x394714(0x94)][_0x394714(0x89)](this[_0x394714(0x7e)]);break;case _0x394714(0x8e):this[_0x394714(0x94)][_0x394714(0xa3)]([this[_0x394714(0xaf)],this[_0x394714(0x92)]]);}}[_0x551cf1(0xaa)](_0x1f4df6,_0x3f6c46){const _0x2e9a3f=_0x551cf1,_0x939192=_0x2e9a3f(0x7f),_0x116c8d=_0x1f4df6[_0x2e9a3f(0x88)](_0x939192);if(_0x116c8d)return _0x3f6c46(_0x116c8d);const _0x5a45fc=new MutationObserver(_0xb8def3=>{const _0x3771e4=_0x2e9a3f,_0x188748=_0xb8def3[_0x3771e4(0xae)](_0x43087b=>_0x43087b[_0x3771e4(0xab)]===_0x1f4df6&&_0x43087b[_0x3771e4(0x80)][_0x3771e4(0xa4)]>0x0&&_0x43087b[_0x3771e4(0x80)][0x0][_0x3771e4(0x83)][_0x3771e4(0x90)]()===_0x939192);_0x188748[_0x3771e4(0xa4)]&&(_0x5a45fc[_0x3771e4(0xa6)](),_0x3f6c46(_0x188748[0x0][_0x3771e4(0x80)][0x0]));});_0x5a45fc[_0x2e9a3f(0x98)](_0x1f4df6,{'childList':!0x0,'subtree':!0x0});}[_0x551cf1(0x93)](_0x9ff541){const _0x2c90d8=_0x551cf1;_0x9ff541[_0x2c90d8(0x9e)](_0x2c90d8(0x86),_0x510987=>{const _0x3e4665=_0x2c90d8;this[_0x3e4665(0x9b)](_0x3e4665(0x86),{'imageSrc':_0x510987[_0x3e4665(0x85)][_0x3e4665(0x99)]});}),_0x9ff541[_0x2c90d8(0x9e)](_0x2c90d8(0xa5),()=>{const _0x1a81b0=_0x2c90d8;this[_0x1a81b0(0x9b)](_0x1a81b0(0xa5));});}[_0x551cf1(0x95)](){const _0x418eb0=_0x551cf1;this[_0x418eb0(0x7e)]['on'](_0x418eb0(0xb0),()=>{const _0x487b2b=_0x418eb0;this[_0x487b2b(0x9b)](_0x487b2b(0xb0));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5dfccd=_0x586d;(function(_0x1e3612,_0x10b712){const _0x595c2b=_0x586d,_0xc34479=_0x1e3612();while(!![]){try{const _0x135e37=-parseInt(_0x595c2b(0x1a1))/0x1+-parseInt(_0x595c2b(0x190))/0x2*(-parseInt(_0x595c2b(0x1b0))/0x3)+-parseInt(_0x595c2b(0x1aa))/0x4*(parseInt(_0x595c2b(0x1af))/0x5)+-parseInt(_0x595c2b(0x1a2))/0x6+-parseInt(_0x595c2b(0x195))/0x7*(-parseInt(_0x595c2b(0x1ae))/0x8)+parseInt(_0x595c2b(0x1a0))/0x9+-parseInt(_0x595c2b(0x192))/0xa*(parseInt(_0x595c2b(0x19f))/0xb);if(_0x135e37===_0x10b712)break;else _0xc34479['push'](_0xc34479['shift']());}catch(_0x123cba){_0xc34479['push'](_0xc34479['shift']());}}}(_0x29e5,0xbdd8c));import{Command as _0x5a2b6d}from'ckeditor5/src/core.js';import{Dialog as _0x57ccb2}from'ckeditor5/src/ui.js';function _0x586d(_0x22d321,_0x5a0fda){const _0x29e5ee=_0x29e5();return _0x586d=function(_0x586d43,_0x13f728){_0x586d43=_0x586d43-0x190;let _0x1de30d=_0x29e5ee[_0x586d43];return _0x1de30d;},_0x586d(_0x22d321,_0x5a0fda);}function _0x29e5(){const _0x56f751=['2HsOFTJ','unbind','50110xVbQzu','imageEditController','isActive','117852WkgIjq','get','getSelectedElement','model','refresh','uploadcare.allowExternalImagesEditing','document','plugins','set','bind','2497ZwHcbq','10354158JBFxgX','968031VGQMfY','3678324eboYeC','selection','execute','imageInline','config','element','requires','editor','162244ltcYzw','_isEditable','imageBlock','isEnabled','736zoqGbZ','70hHeXUy','4094022bMGrOZ'];_0x29e5=function(){return _0x56f751;};return _0x29e5();}import _0x1cb6bc from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x140f97}from'../utils/editingutils.js';export default class V extends _0x5a2b6d{[_0x5dfccd(0x193)];static get[_0x5dfccd(0x1a8)](){return[_0x57ccb2];}[_0x5dfccd(0x1ab)];constructor(_0x2048d9){const _0x22d11a=_0x5dfccd;super(_0x2048d9),this[_0x22d11a(0x193)]=void 0x0,this[_0x22d11a(0x1ab)]=_0x140f97(_0x2048d9[_0x22d11a(0x1a6)][_0x22d11a(0x196)](_0x22d11a(0x19a))||[]),this[_0x22d11a(0x19d)]({'isActive':!0x1});}[_0x5dfccd(0x199)](){const _0x260f3d=_0x5dfccd,_0x2b83c4=this[_0x260f3d(0x1a9)][_0x260f3d(0x198)][_0x260f3d(0x19b)][_0x260f3d(0x1a3)][_0x260f3d(0x197)]();this[_0x260f3d(0x1ad)]=this[_0x260f3d(0x1ab)](_0x2b83c4);}[_0x5dfccd(0x1a4)](){const _0x2d67c4=_0x5dfccd;this[_0x2d67c4(0x193)]&&(this[_0x2d67c4(0x191)](_0x2d67c4(0x194)),this[_0x2d67c4(0x193)]=void 0x0);const _0x4208d3=this[_0x2d67c4(0x1a9)][_0x2d67c4(0x198)][_0x2d67c4(0x19b)][_0x2d67c4(0x1a3)][_0x2d67c4(0x197)]();_0x4208d3&&(_0x4208d3['is'](_0x2d67c4(0x1a7),_0x2d67c4(0x1ac))||_0x4208d3['is'](_0x2d67c4(0x1a7),_0x2d67c4(0x1a5)))&&(this[_0x2d67c4(0x193)]=new _0x1cb6bc(this[_0x2d67c4(0x1a9)],this[_0x2d67c4(0x1a9)][_0x2d67c4(0x19c)][_0x2d67c4(0x196)](_0x57ccb2),_0x4208d3),this[_0x2d67c4(0x19e)](_0x2d67c4(0x194))['to'](this[_0x2d67c4(0x193)],_0x2d67c4(0x194)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x512e1d=_0x1d4f;(function(_0x1ce2cc,_0x30acd2){const _0x1685d3=_0x1d4f,_0x403d0d=_0x1ce2cc();while(!![]){try{const _0x3d75bc=-parseInt(_0x1685d3(0x150))/0x1*(-parseInt(_0x1685d3(0x14d))/0x2)+-parseInt(_0x1685d3(0x13c))/0x3+parseInt(_0x1685d3(0x146))/0x4*(parseInt(_0x1685d3(0x13f))/0x5)+-parseInt(_0x1685d3(0x147))/0x6+parseInt(_0x1685d3(0x142))/0x7*(parseInt(_0x1685d3(0x14c))/0x8)+-parseInt(_0x1685d3(0x149))/0x9+parseInt(_0x1685d3(0x14a))/0xa;if(_0x3d75bc===_0x30acd2)break;else _0x403d0d['push'](_0x403d0d['shift']());}catch(_0x400f53){_0x403d0d['push'](_0x403d0d['shift']());}}}(_0x2fde,0x8e3c5));import{Plugin as _0x4ebd35}from'ckeditor5/src/core.js';function _0x2fde(){const _0x246b14=['7067565PSljrf','14739930wjhtKM','UploadcareImageEditEditing','3170232lGjsKK','1364lrYvfz','requires','pluginName','164xuvQOz','uploadcareImageReplace','3256644ItQIwY','commands','uploadcareImageEdit','214255jXQBfI','init','isOfficialPlugin','7KfYDAD','ImageUtils','add','ImageEditing','44PtASjC','306HDamyw','isPremiumPlugin'];_0x2fde=function(){return _0x246b14;};return _0x2fde();}import{Notification as _0x369676}from'ckeditor5/src/ui.js';function _0x1d4f(_0xc304bb,_0x11f6af){const _0x2fdef4=_0x2fde();return _0x1d4f=function(_0x1d4fa6,_0x5227c1){_0x1d4fa6=_0x1d4fa6-0x13c;let _0x55b1f2=_0x2fdef4[_0x1d4fa6];return _0x55b1f2;},_0x1d4f(_0xc304bb,_0x11f6af);}import _0x17918a from'./uploadcareimageeditcommand.js';import _0x3f42a9 from'./uploadcareimagereplacecommand.js';import _0x509a0a from'../uploadcareediting.js';export default class g extends _0x4ebd35{static get[_0x512e1d(0x14f)](){const _0x2fadea=_0x512e1d;return _0x2fadea(0x14b);}static get[_0x512e1d(0x14e)](){const _0x5aa7d2=_0x512e1d;return[_0x509a0a,_0x369676,_0x5aa7d2(0x143),_0x5aa7d2(0x145)];}static get[_0x512e1d(0x141)](){return!0x0;}static get[_0x512e1d(0x148)](){return!0x0;}[_0x512e1d(0x140)](){const _0x326608=_0x512e1d,{editor:_0x10e5ca}=this;_0x10e5ca[_0x326608(0x13d)][_0x326608(0x144)](_0x326608(0x13e),new _0x17918a(_0x10e5ca)),_0x10e5ca[_0x326608(0x13d)][_0x326608(0x144)](_0x326608(0x151),new _0x3f42a9(_0x10e5ca));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2c9f7e}from'ckeditor5/src/core.js';import{ButtonView as _0x5cabe0}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xb285e8}from'ckeditor5/src/icons.js';import{createElement as _0xd971a1}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x2c9f7e{['_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 _0x13b4a7=this['editor'];_0x13b4a7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2bc969=>{const _0x31fa9f=_0x13b4a7['commands']['get']('uploadcareImageEdit'),_0x360e41=new _0x5cabe0(_0x2bc969),t=_0x2bc969['t'];return _0x360e41['set']({'icon':_0xb285e8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x360e41['bind']('isEnabled')['to'](_0x31fa9f),_0x360e41['bind']('isOn')['to'](_0x31fa9f,'isActive'),this['listenTo'](_0x360e41,'execute',()=>{_0x13b4a7['execute']('uploadcareImageEdit'),_0x13b4a7['editing']['view']['focus']();}),_0x360e41;}),this['_initConfig']();}['_initConfig'](){const _0x5a83d6=_0xd971a1(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5a83d6),this['listenTo'](this['editor'],'destroy',()=>{_0x5a83d6['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5d1b01=_0x41e6;function _0x41e6(_0x2421f4,_0x1112f2){const _0x2022d8=_0x2022();return _0x41e6=function(_0x41e68e,_0x468abe){_0x41e68e=_0x41e68e-0xe8;let _0x4d628b=_0x2022d8[_0x41e68e];return _0x4d628b;},_0x41e6(_0x2421f4,_0x1112f2);}(function(_0x2fec14,_0x2f3f6c){const _0x5b7080=_0x41e6,_0x484859=_0x2fec14();while(!![]){try{const _0x30509d=-parseInt(_0x5b7080(0xff))/0x1+-parseInt(_0x5b7080(0x100))/0x2+parseInt(_0x5b7080(0xf1))/0x3+-parseInt(_0x5b7080(0xf5))/0x4*(parseInt(_0x5b7080(0xfb))/0x5)+parseInt(_0x5b7080(0xf9))/0x6+parseInt(_0x5b7080(0xef))/0x7+-parseInt(_0x5b7080(0xf7))/0x8*(-parseInt(_0x5b7080(0xeb))/0x9);if(_0x30509d===_0x2f3f6c)break;else _0x484859['push'](_0x484859['shift']());}catch(_0x5de8c5){_0x484859['push'](_0x484859['shift']());}}}(_0x2022,0x800d9));import{Command as _0x1cfb19}from'ckeditor5/src/core.js';function _0x2022(){const _0x437e5c=['isEnabled','refresh','change','209956MmAxYv','getSelectedElement','8ItutKb','removeAttribute','4782030feIzTl','sizes','85UdYiqk','imageBlock','imageInline','element','947418nuDCmm','88752YHZyUx','model','document','setAttributes','2837907PEimQi','editor','selection','srcset','5624598fHzIRz','execute','1478310JscJrr'];_0x2022=function(){return _0x437e5c;};return _0x2022();}export default class X extends _0x1cfb19{[_0x5d1b01(0xf3)](){const _0xf81e51=_0x5d1b01,_0x515dda=this[_0xf81e51(0xec)][_0xf81e51(0xe8)][_0xf81e51(0xe9)][_0xf81e51(0xed)][_0xf81e51(0xf6)]();this[_0xf81e51(0xf2)]=Boolean(_0x515dda&&(_0x515dda['is'](_0xf81e51(0xfe),_0xf81e51(0xfc))||_0x515dda['is'](_0xf81e51(0xfe),_0xf81e51(0xfd))));}[_0x5d1b01(0xf0)](_0x2c4233){const _0x1af132=_0x5d1b01,_0x146bd2=this[_0x1af132(0xec)][_0x1af132(0xe8)][_0x1af132(0xe9)][_0x1af132(0xed)][_0x1af132(0xf6)]();this[_0x1af132(0xec)][_0x1af132(0xe8)][_0x1af132(0xf4)](_0x27318e=>{const _0x47f5e8=_0x1af132;_0x27318e[_0x47f5e8(0xea)](_0x2c4233,_0x146bd2),_0x27318e[_0x47f5e8(0xf8)](_0x47f5e8(0xee),_0x146bd2),_0x27318e[_0x47f5e8(0xf8)](_0x47f5e8(0xfa),_0x146bd2);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3b0251=_0x5bf8;function _0x5bf8(_0x30b88f,_0x3b38f7){var _0x7a2955=_0x7a29();return _0x5bf8=function(_0x5bf8e3,_0x33c012){_0x5bf8e3=_0x5bf8e3-0x1b3;var _0x684e50=_0x7a2955[_0x5bf8e3];return _0x684e50;},_0x5bf8(_0x30b88f,_0x3b38f7);}(function(_0x25f7f3,_0x33c063){var _0x9c3ebb=_0x5bf8,_0x3f05d2=_0x25f7f3();while(!![]){try{var _0x17c361=parseInt(_0x9c3ebb(0x1bc))/0x1*(parseInt(_0x9c3ebb(0x1bf))/0x2)+parseInt(_0x9c3ebb(0x1b7))/0x3*(-parseInt(_0x9c3ebb(0x1be))/0x4)+-parseInt(_0x9c3ebb(0x1b5))/0x5+parseInt(_0x9c3ebb(0x1b9))/0x6*(-parseInt(_0x9c3ebb(0x1b6))/0x7)+-parseInt(_0x9c3ebb(0x1c1))/0x8+parseInt(_0x9c3ebb(0x1b4))/0x9*(-parseInt(_0x9c3ebb(0x1c0))/0xa)+parseInt(_0x9c3ebb(0x1ba))/0xb;if(_0x17c361===_0x33c063)break;else _0x3f05d2['push'](_0x3f05d2['shift']());}catch(_0x55b91f){_0x3f05d2['push'](_0x3f05d2['shift']());}}}(_0x7a29,0x9d843));import{Plugin as _0x5ae699}from'ckeditor5/src/core.js';import _0x312f8c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x539bec from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x7a29(){var _0x1541cc=['2166jnVyyc','39489868MtcIbi','pluginName','586139FodWmx','isOfficialPlugin','52KqgboL','4mGSujd','157720lIQFbp','2514368GpnbPf','isPremiumPlugin','UploadcareImageEdit','666UuCfPj','5382805cXNXdg','20587NZqFDO','114783PzvRVF','requires'];_0x7a29=function(){return _0x1541cc;};return _0x7a29();}export default class P extends _0x5ae699{static get[_0x3b0251(0x1bb)](){var _0x44af75=_0x3b0251;return _0x44af75(0x1b3);}static get[_0x3b0251(0x1b8)](){return[_0x312f8c,_0x539bec];}static get[_0x3b0251(0x1bd)](){return!0x0;}static get[_0x3b0251(0x1c2)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6747a6=_0x1ee4;(function(_0x351eca,_0xbe4b13){const _0x423e40=_0x1ee4,_0x743ae6=_0x351eca();while(!![]){try{const _0x29438c=parseInt(_0x423e40(0x211))/0x1*(-parseInt(_0x423e40(0x1fb))/0x2)+-parseInt(_0x423e40(0x20f))/0x3*(parseInt(_0x423e40(0x1c7))/0x4)+parseInt(_0x423e40(0x1ec))/0x5*(parseInt(_0x423e40(0x1de))/0x6)+parseInt(_0x423e40(0x202))/0x7+-parseInt(_0x423e40(0x1fc))/0x8+-parseInt(_0x423e40(0x1ed))/0x9*(parseInt(_0x423e40(0x1e9))/0xa)+parseInt(_0x423e40(0x1d1))/0xb;if(_0x29438c===_0xbe4b13)break;else _0x743ae6['push'](_0x743ae6['shift']());}catch(_0x1f5234){_0x743ae6['push'](_0x743ae6['shift']());}}}(_0x1c7d,0x2207e));import{Plugin as _0x5c7412}from'ckeditor5/src/core.js';import{IconDropbox as _0x60de8b,IconFacebook as _0xea2796,IconGoogleDrive as _0x2002e7,IconGooglePhotos as _0x297930,IconUploadcareImageUpload as _0x40e962,IconUploadcareLink as _0x4a72ec,IconOneDrive as _0x20473d}from'ckeditor5/src/icons.js';function _0x1ee4(_0x42a163,_0x3f0ca3){const _0x1c7d07=_0x1c7d();return _0x1ee4=function(_0x1ee4c9,_0x29c4f0){_0x1ee4c9=_0x1ee4c9-0x1c6;let _0x526587=_0x1c7d07[_0x1ee4c9];return _0x526587;},_0x1ee4(_0x42a163,_0x3f0ca3);}import{ButtonView as _0x8928,MenuBarMenuListItemButtonView as _0x5bc215}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x19f0b6}from'./uploadcareconfig.js';import{getTranslation as _0x174796}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x1c7d(){const _0xa44f8e=['6440555FEXSzB','Local','isPremiumPlugin','upload','_showLicenseError','Dropbox','uploadcareLicenseKeyExpired','label','pluginName','uploadcareLicenseKeyUsageLimit','map','has','type','24CuKUUC','plugins','uploadcare.uploader.sourceList','editor','ImageInsertUI','uploadcareLicenseKeyEvaluationLimit','trialLimit','UploadcareUI','forEach','shortText','expired','1120830ijABoU','Facebook','_createButton','339230Oquauw','18MlbTpr','uploadcareLicenseKeyNotAllowed','_getIntegrationKey','licenseKey','get','isImageSelected','uploadcareLicenseKeyDomainLimit','text','assetManager','GDrive','usageLimit','Replace','URL','_createMenuBarButtons','375422AqWdNE','1687176EAwwwV','url','tooltip','icon','commands','evaluationLimit','476203YPvdfN','execute','afterInit','featureNotAllowed','_createToolbarButton','registerIntegration','init','reduce','uploadcare','destroy','_normalizeConfigSourceList','OneDrive','Uploadcare','114JWeBCw','isEnabled','1xikUjp','domainLimit','GPhotos','push','config','entries','_createDropdownButtons','uploadcareLicenseKeyTrialLimit','17132UaLvaX','isOfficialPlugin','uploadcareLicenseKeyInvalid','locale','_licenseKeyCheckInterval','Insert','bind','withText','invalid','uploadcareLicenseKeyValid'];_0x1c7d=function(){return _0xa44f8e;};return _0x1c7d();}import'../theme/uploadcareimageedit.css';export default class e extends _0x5c7412{[_0x6747a6(0x1f0)];[_0x6747a6(0x1cb)];static get[_0x6747a6(0x1d9)](){const _0x438979=_0x6747a6;return _0x438979(0x1e5);}static get[_0x6747a6(0x1c8)](){return!0x0;}static get[_0x6747a6(0x1d3)](){return!0x0;}[_0x6747a6(0x208)](){const _0x5752d2=_0x6747a6;this[_0x5752d2(0x1f0)]=this[_0x5752d2(0x1e1)][_0x5752d2(0x215)][_0x5752d2(0x1f1)](_0x5752d2(0x1f0));const _0x479500=this[_0x5752d2(0x1e1)];this[_0x5752d2(0x1cb)]=setInterval(()=>{const _0x1960fb=_0x5752d2;let _0x30c88e;for(const _0x36548e in _0x479500){const _0x563a6c=_0x36548e,_0x2e769c=_0x479500[_0x563a6c];if(_0x1960fb(0x1d0)==_0x2e769c||_0x1960fb(0x1c9)==_0x2e769c||_0x1960fb(0x1d7)==_0x2e769c||_0x1960fb(0x1f3)==_0x2e769c||_0x1960fb(0x1ee)==_0x2e769c||_0x1960fb(0x1e3)==_0x2e769c||_0x1960fb(0x1c6)==_0x2e769c||_0x1960fb(0x1da)==_0x2e769c){delete _0x479500[_0x563a6c],_0x30c88e=_0x2e769c,clearInterval(this[_0x1960fb(0x1cb)]),this[_0x1960fb(0x1cb)]=void 0x0;break;}}_0x1960fb(0x1c9)==_0x30c88e&&_0x479500[_0x1960fb(0x1d5)](_0x1960fb(0x1cf)),_0x1960fb(0x1d7)==_0x30c88e&&_0x479500[_0x1960fb(0x1d5)](_0x1960fb(0x1e8)),_0x1960fb(0x1f3)==_0x30c88e&&_0x479500[_0x1960fb(0x1d5)](_0x1960fb(0x212)),_0x1960fb(0x1ee)==_0x30c88e&&_0x479500[_0x1960fb(0x1d5)](_0x1960fb(0x205),_0x1960fb(0x20e)),_0x1960fb(0x1e3)==_0x30c88e&&_0x479500[_0x1960fb(0x1d5)](_0x1960fb(0x201)),_0x1960fb(0x1c6)==_0x30c88e&&_0x479500[_0x1960fb(0x1d5)](_0x1960fb(0x1e4)),_0x1960fb(0x1da)==_0x30c88e&&_0x479500[_0x1960fb(0x1d5)](_0x1960fb(0x1f7));},0x3e8);}[_0x6747a6(0x204)](){const _0x5335af=_0x6747a6,{editor:_0x8b5c42}=this,_0x3a6d91=_0x8b5c42[_0x5335af(0x200)][_0x5335af(0x1f1)](_0x5335af(0x20a));if(!_0x3a6d91)return;const _0x39b804=this[_0x5335af(0x20c)](_0x8b5c42[_0x5335af(0x215)][_0x5335af(0x1f1)](_0x5335af(0x1e0)))[_0x5335af(0x209)]((_0x4eca7f,_0xd0d04d)=>{const _0x5b99ac=_0x5335af,_0x5c064e=this[_0x5b99ac(0x1ef)](_0xd0d04d[_0x5b99ac(0x1dd)]);return _0x4eca7f[_0x5c064e]||(_0x4eca7f[_0x5c064e]=[]),_0x4eca7f[_0x5c064e][_0x5b99ac(0x214)](_0xd0d04d),_0x4eca7f;},{});_0x8b5c42[_0x5335af(0x1df)][_0x5335af(0x1dc)](_0x5335af(0x1e2))&&_0x8b5c42[_0x5335af(0x200)][_0x5335af(0x1f1)](_0x5335af(0x20a))&&Object[_0x5335af(0x216)](_0x39b804)[_0x5335af(0x1e6)](([_0x531053,_0x24e620])=>{const _0x2a36e5=_0x5335af;_0x8b5c42[_0x2a36e5(0x1df)][_0x2a36e5(0x1f1)](_0x2a36e5(0x1e2))[_0x2a36e5(0x207)]({'name':_0x531053,'observable':()=>_0x3a6d91,'buttonViewCreator':()=>this[_0x2a36e5(0x206)](_0x24e620),'formViewCreator':()=>this[_0x2a36e5(0x217)](_0x24e620),'menuBarButtonViewCreator':()=>this[_0x2a36e5(0x1fa)](_0x24e620),'override':_0x2a36e5(0x1f5)!==_0x531053});});}[_0x6747a6(0x20b)](){const _0x17e132=_0x6747a6;super[_0x17e132(0x20b)](),this[_0x17e132(0x1cb)]&&clearInterval(this[_0x17e132(0x1cb)]);}[_0x6747a6(0x20c)](_0x44b989){const _0x4646cc=_0x6747a6,{locale:_0x3d5b29}=this[_0x4646cc(0x1e1)];return _0x44b989[_0x4646cc(0x1db)](_0x17d43a=>{const _0x167ec8=_0x4646cc,_0x44e658=_0x174796(_0x3d5b29,_0x17d43a,_0x167ec8(0x1cc));switch(_0x17d43a){case _0x19f0b6[_0x167ec8(0x1d2)]:return{'icon':_0x40e962,'type':_0x19f0b6[_0x167ec8(0x1d2)],..._0x44e658};case _0x19f0b6[_0x167ec8(0x1f9)]:return{'icon':_0x4a72ec,'type':_0x19f0b6[_0x167ec8(0x1f9)],..._0x44e658};case _0x19f0b6[_0x167ec8(0x1d6)]:return{'icon':_0x60de8b,'type':_0x19f0b6[_0x167ec8(0x1d6)],..._0x44e658};case _0x19f0b6[_0x167ec8(0x1ea)]:return{'icon':_0xea2796,'type':_0x19f0b6[_0x167ec8(0x1ea)],..._0x44e658};case _0x19f0b6[_0x167ec8(0x1f6)]:return{'icon':_0x2002e7,'type':_0x19f0b6[_0x167ec8(0x1f6)],..._0x44e658};case _0x19f0b6[_0x167ec8(0x213)]:return{'icon':_0x297930,'type':_0x19f0b6[_0x167ec8(0x213)],..._0x44e658};case _0x19f0b6[_0x167ec8(0x20d)]:return{'icon':_0x20473d,'type':_0x19f0b6[_0x167ec8(0x20d)],..._0x44e658};}});}[_0x6747a6(0x1ef)](_0x816b1a){const _0x10c43d=_0x6747a6;switch(_0x816b1a){case _0x19f0b6[_0x10c43d(0x1d2)]:return _0x10c43d(0x1d4);case _0x19f0b6[_0x10c43d(0x1f9)]:return _0x10c43d(0x1fd);default:return _0x10c43d(0x1f5);}}[_0x6747a6(0x1eb)](_0xc61290,_0x13bf9b){const _0x2608a0=_0x6747a6,_0x4729bb=this[_0x2608a0(0x1e1)],_0x464fd8=new _0xc61290(_0x4729bb[_0x2608a0(0x1ca)]),_0x3ae7d1=_0x4729bb[_0x2608a0(0x200)][_0x2608a0(0x1f1)](_0x2608a0(0x20a));return _0x464fd8[_0x2608a0(0x1cd)](_0x2608a0(0x210))['to'](_0x3ae7d1),_0x464fd8['on'](_0x2608a0(0x203),()=>{const _0x58410d=_0x2608a0;_0x3ae7d1[_0x58410d(0x203)](_0x13bf9b);}),_0x464fd8;}[_0x6747a6(0x206)](_0x1cb806){const _0xb51c20=_0x6747a6,{locale:_0x2a8e7a}=this[_0xb51c20(0x1e1)],_0xf69560=this[_0xb51c20(0x1e1)][_0xb51c20(0x1df)][_0xb51c20(0x1f1)](_0xb51c20(0x1e2)),_0x531f3f=_0x1cb806[0x0],_0x5771e8=this[_0xb51c20(0x1eb)](_0x8928,_0x531f3f[_0xb51c20(0x1dd)]);return _0x5771e8[_0xb51c20(0x1ff)]=_0x531f3f[_0xb51c20(0x1ff)],_0x5771e8[_0xb51c20(0x1cd)](_0xb51c20(0x1d8))['to'](_0xf69560,_0xb51c20(0x1f2),_0x2fb40c=>_0x174796(_0x2a8e7a,_0x531f3f[_0xb51c20(0x1dd)],_0x2fb40c?_0xb51c20(0x1f8):_0xb51c20(0x1cc))[_0xb51c20(0x1f4)]),_0x5771e8[_0xb51c20(0x1fe)]=!0x0,_0x5771e8;}[_0x6747a6(0x217)](_0x45a034){const _0x16d779=_0x6747a6,{locale:_0x234522}=this[_0x16d779(0x1e1)],_0x1bfde7=this[_0x16d779(0x1e1)][_0x16d779(0x1df)][_0x16d779(0x1f1)](_0x16d779(0x1e2));return _0x45a034[_0x16d779(0x1db)](_0x24b7e4=>{const _0x35e3a1=_0x16d779,_0x12caec=this[_0x35e3a1(0x1eb)](_0x8928,_0x24b7e4[_0x35e3a1(0x1dd)]);return _0x12caec[_0x35e3a1(0x1ce)]=!0x0,_0x12caec[_0x35e3a1(0x1ff)]=_0x24b7e4[_0x35e3a1(0x1ff)],_0x12caec[_0x35e3a1(0x1cd)](_0x35e3a1(0x1d8))['to'](_0x1bfde7,_0x35e3a1(0x1f2),_0x1d7ad3=>_0x174796(_0x234522,_0x24b7e4[_0x35e3a1(0x1dd)],_0x1d7ad3?_0x35e3a1(0x1f8):_0x35e3a1(0x1cc))[_0x35e3a1(0x1f4)]),_0x12caec;});}[_0x6747a6(0x1fa)](_0x163e62){const _0x3d7e61=_0x6747a6;return _0x163e62[_0x3d7e61(0x1db)](_0x2d4df1=>{const _0x4b0154=_0x3d7e61,_0x8742c1=this[_0x4b0154(0x1eb)](_0x5bc215,_0x2d4df1[_0x4b0154(0x1dd)]);return _0x8742c1[_0x4b0154(0x1ff)]=_0x2d4df1[_0x4b0154(0x1ff)],_0x8742c1[_0x4b0154(0x1d8)]=_0x2d4df1[_0x4b0154(0x1e7)],_0x8742c1;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2d93f2}from'ckeditor5/src/core.js';import{FileRepository as _0x2e3512}from'ckeditor5/src/upload.js';import _0x4af1f9 from'./uploadcareediting.js';import _0x5e8a0d from'./utils/uploadutils.js';import{getImageUrls as _0x438c1e}from'./utils/editingutils.js';export default class p extends _0x2d93f2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2e3512,_0x4af1f9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x13c0be=this['editor'];if(!!!_0x13c0be['config']['get']('uploadcare'))return;_0x13c0be['plugins']['get'](_0x2e3512)['createUploadAdapter']=_0x5b360a=>new x(_0x5b360a,_0x13c0be),_0x13c0be['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x50b38d,{imageElement:_0x2421e6,data:_0x34f6f7})=>{_0x13c0be['model']['change'](_0x3049ac=>{_0x3049ac['setAttribute']('uploadcareImageId',_0x34f6f7['uploadcareImageId'],_0x2421e6);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x32c1c1,_0x5ad7df){this['loader']=_0x32c1c1,this['editor']=_0x5ad7df,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xc5af5e=this['editor']['config']['get']('uploadcare.pubkey'),_0x7c986b=await this['loader']['file'];return _0x5e8a0d['upload']({'file':_0x7c986b,'publicKey':_0xc5af5e,'signal':this['controller']['signal'],'onProgress':_0x3315c0=>{_0x3315c0&&_0x3315c0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3315c0['value']);}})['then'](async _0x35a3d3=>{const {imageFallbackUrl:_0x4693bc,imageSources:_0x1fa2d0}=_0x438c1e(_0x35a3d3['cdnUrl'],_0x35a3d3['imageInfo']['width']);return{'uploadcareImageId':_0x35a3d3['uuid'],'default':_0x4693bc,'sources':_0x1fa2d0};})['catch'](()=>{const _0xeac4a7=t('Cannot\x20upload\x20file:')+('\x20'+_0x7c986b['name']+'.');return Promise['reject'](_0xeac4a7);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x21d2e1}from'../uploadcareconfig.js';export function getTranslation(_0x37b552,_0x9bbcf2,_0x3f05e6){const t=_0x37b552['t'],_0x3d3d5d=_0x37b552['t'];switch(_0x9bbcf2){case _0x21d2e1['Local']:return{'text':_0x3d3d5d('Insert'===_0x3f05e6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3d3d5d('From\x20computer')};case _0x21d2e1['URL']:return{'text':'Insert'===_0x3f05e6?_0x3d3d5d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3d3d5d('Via\x20URL')};case _0x21d2e1['Dropbox']:return{'text':t('Insert'===_0x3f05e6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x21d2e1['Facebook']:return{'text':t('Insert'===_0x3f05e6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x21d2e1['GDrive']:return{'text':t('Insert'===_0x3f05e6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x21d2e1['GPhotos']:return{'text':t('Insert'===_0x3f05e6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x21d2e1['OneDrive']:return{'text':t('Insert'===_0x3f05e6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x9bbcf2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2c3946=_0x150c;(function(_0x1f7b75,_0x415894){var _0x4f33c4=_0x150c,_0x8dde5f=_0x1f7b75();while(!![]){try{var _0x5f3578=parseInt(_0x4f33c4(0x11b))/0x1+parseInt(_0x4f33c4(0x10f))/0x2+parseInt(_0x4f33c4(0x117))/0x3+parseInt(_0x4f33c4(0x114))/0x4+-parseInt(_0x4f33c4(0x10d))/0x5*(-parseInt(_0x4f33c4(0x115))/0x6)+parseInt(_0x4f33c4(0x10e))/0x7*(-parseInt(_0x4f33c4(0x118))/0x8)+-parseInt(_0x4f33c4(0x119))/0x9;if(_0x5f3578===_0x415894)break;else _0x8dde5f['push'](_0x8dde5f['shift']());}catch(_0x536ca8){_0x8dde5f['push'](_0x8dde5f['shift']());}}}(_0x44b7,0xd20da));function _0x44b7(){var _0x11ffa2=['focusTracker','2076747FvQvFr','57824RlStlV','18157743jAgaAf','true','900735ZalszR','div','forwardCycle','fire','35FrMHit','637baKwku','931370cGTmAf','focusCycler','createCollection','getFocusableElement','bindTemplate','4588184gioIsh','282804pFYyye'];_0x44b7=function(){return _0x11ffa2;};return _0x44b7();}import{FocusTracker as _0x4eeed9}from'ckeditor5/src/utils.js';function _0x150c(_0x22e38b,_0x523069){var _0x44b7a3=_0x44b7();return _0x150c=function(_0x150c60,_0x35135f){_0x150c60=_0x150c60-0x10a;var _0x4a0f40=_0x44b7a3[_0x150c60];return _0x4a0f40;},_0x150c(_0x22e38b,_0x523069);}import{View as _0x95fd04,FocusCycler as _0x16a6df}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x95fd04{[_0x2c3946(0x116)];[_0x2c3946(0x110)];constructor(_0x4ada61){var _0x20f15e=_0x2c3946;super(_0x4ada61),this[_0x20f15e(0x116)]=new _0x4eeed9(),this[_0x20f15e(0x110)]=new _0x16a6df({'focusables':this[_0x20f15e(0x111)](),'focusTracker':this[_0x20f15e(0x116)]});}[_0x2c3946(0x112)](){var _0x1b1e7f=_0x2c3946;return{'tag':_0x1b1e7f(0x10a),'attributes':{'aria-hidden':_0x1b1e7f(0x11a),'tabindex':'0'},'on':{'focus':this[_0x1b1e7f(0x113)]['to'](()=>{var _0x323eb0=_0x1b1e7f;this[_0x323eb0(0x110)][_0x323eb0(0x10c)](_0x323eb0(0x10b));})}};}}
|