@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250526.0 → 0.0.0-nightly-20250528.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x3d40ea=_0x344c;(function(_0x4a9a1a,_0x4518de){const _0x1a1d6c=_0x344c,_0x1edc09=_0x4a9a1a();while(!![]){try{const _0x5a813a=-parseInt(_0x1a1d6c(0x129))/0x1+-parseInt(_0x1a1d6c(0x130))/0x2+parseInt(_0x1a1d6c(0x120))/0x3+parseInt(_0x1a1d6c(0x145))/0x4*(-parseInt(_0x1a1d6c(0x150))/0x5)+parseInt(_0x1a1d6c(0x15c))/0x6*(-parseInt(_0x1a1d6c(0x152))/0x7)+parseInt(_0x1a1d6c(0x146))/0x8*(parseInt(_0x1a1d6c(0x14e))/0x9)+parseInt(_0x1a1d6c(0x147))/0xa;if(_0x5a813a===_0x4518de)break;else _0x1edc09['push'](_0x1edc09['shift']());}catch(_0x288a20){_0x1edc09['push'](_0x1edc09['shift']());}}}(_0x5637,0xcefa5));import{Plugin as _0x1bc1ad}from'ckeditor5/src/core.js';import{Dialog as _0x18c7bd}from'ckeditor5/src/ui.js';import{createElement as _0x5365f3,global as _0x23433a,uid as _0x2115c0}from'ckeditor5/src/utils.js';function _0x5637(){const _0x2e0796=['_initImageProcessingIndicator','href','conversion','extend','imageBlock','_initConfig','replaceImageSource','\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','uploadcare','render','execute','upcast','editing','listenTo','getAttribute','document','init','closeMax','1657197UExaoF','pluginName','_ctxElement','add','editor','uc-config','_initSchema','commands','body','1325807twCQqT','remove','elementToAttribute','insertImage','true','_initCtx','isRegistered','1441366MRtRnN','configElement','map','contentLanguage','uploadcareImageReplace','selection','appendChild','getSelectedElement','view','#uc-icon-arrow-down','config','get','downcast','attributeToAttribute','for','schema','imageInline','_configElement','locale','uploadcare.uploader','uploadcare.pubkey','8rUENFS','8HsHnqY','44177160SmrVBI','querySelector','PictureEditing','data-uc-image-id','isOfficialPlugin','afterInit','join','236781vaneXH','model','2253205WQAyzJ','destroy','49MCWvnh','once','UploadcareEditing','fromCharCode','requires','uc-upload-ctx-provider','iconHrefResolver','uploader','input[uploadcare-file-input]','removeAttribute','1029318WQyBQH','ctxElement','_initConversion','uploadcareImageId','isPremiumPlugin','cleanupImage'];_0x5637=function(){return _0x2e0796;};return _0x5637();}function _0x344c(_0x4dbd7c,_0x254828){const _0x5637ae=_0x5637();return _0x344c=function(_0x344cdb,_0x22435b){_0x344cdb=_0x344cdb-0x112;let _0x223e69=_0x5637ae[_0x344cdb];return _0x223e69;},_0x344c(_0x4dbd7c,_0x254828);}import _0x5c3ced from'./uploadcarecommand.js';import _0x40da82 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x17fb7d}from'./utils/editingutils.js';export default class i extends _0x1bc1ad{[_0x3d40ea(0x141)]=null;[_0x3d40ea(0x122)]=null;static get[_0x3d40ea(0x121)](){const _0x5508b2=_0x3d40ea;return _0x5508b2(0x154);}static get[_0x3d40ea(0x156)](){const _0x59c3e8=_0x3d40ea;return[_0x59c3e8(0x149),_0x40da82,_0x18c7bd];}static get[_0x3d40ea(0x14b)](){return!0x0;}static get[_0x3d40ea(0x160)](){return!0x0;}get[_0x3d40ea(0x131)](){const _0x56e542=_0x3d40ea;return this[_0x56e542(0x141)];}get[_0x3d40ea(0x15d)](){const _0x40ee1b=_0x3d40ea;return this[_0x40ee1b(0x122)];}[_0x3d40ea(0x11e)](){const _0x1ef8da=_0x3d40ea,_0x207600=this[_0x1ef8da(0x124)];_0x207600[_0x1ef8da(0x127)][_0x1ef8da(0x123)](_0x1ef8da(0x116),new _0x5c3ced(_0x207600));}[_0x3d40ea(0x14c)](){const _0x2e4861=_0x3d40ea;this[_0x2e4861(0x126)](),this[_0x2e4861(0x15e)](),this[_0x2e4861(0x113)](),this[_0x2e4861(0x12e)](),this[_0x2e4861(0x162)](),this[_0x2e4861(0x11b)](this[_0x2e4861(0x124)],_0x2e4861(0x151),()=>{const _0x200c8b=_0x2e4861;this[_0x200c8b(0x141)]&&(this[_0x200c8b(0x141)][_0x200c8b(0x12a)](),this[_0x200c8b(0x141)]=null),this[_0x200c8b(0x122)]&&(this[_0x200c8b(0x122)][_0x200c8b(0x12a)](),this[_0x200c8b(0x122)]=null);const _0x7faddd=_0x23433a[_0x200c8b(0x11d)][_0x200c8b(0x148)](_0x200c8b(0x15a));_0x7faddd&&_0x7faddd[_0x200c8b(0x12a)]();}),async function(_0x5dcf97){const _0x2202c2=_0x52fa75([0x6c,0x47,0x75,0x39,0x4e,0x4a,0x33,0x6f,0x4c,0x50,0x51,0x53,0x57,0x31,0x6a,0x7a,0x55,0x4d,0x38,0x46,0x44,0x68,0x34,0x62,0x66,0x30,0x54,0x65,0x6d,0x6b,0x41,0x6e,0x52,0x74,0x37,0x71,0x70,0x49,0x77,0x73,0x72,0x61,0x4b,0x58,0x56,0x4f,0x59,0x45,0x48,0x42,0x36,0x69,0x63,0x5a,0x67,0x43,0x35,0x64,0x79,0x76,0x78,0x32]),_0x29db0a=0xd9d1e7a,_0xdf5b34=0xd9a768a^_0x29db0a,_0x28903b=window[_0x52fa75([0x44,0x61,0x74,0x65])][_0x52fa75([0x6e,0x6f,0x77])](),_0x2122ac=_0x5dcf97[_0x52fa75([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c4f5f=new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5956d9=>{_0x2122ac[_0x52fa75([0x6f,0x6e,0x63,0x65])](_0x52fa75([0x72,0x65,0x61,0x64,0x79]),_0x5956d9);}),_0x1da3c5={[_0x52fa75([0x6b,0x74,0x79])]:_0x52fa75([0x45,0x43]),[_0x52fa75([0x75,0x73,0x65])]:_0x52fa75([0x73,0x69,0x67]),[_0x52fa75([0x63,0x72,0x76])]:_0x52fa75([0x50,0x2d,0x32,0x35,0x36]),[_0x52fa75([0x78])]:_0x52fa75([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]),[_0x52fa75([0x79])]:_0x52fa75([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]),[_0x52fa75([0x61,0x6c,0x67])]:_0x52fa75([0x45,0x53,0x32,0x35,0x36])},_0x55f80c=_0x2122ac[_0x52fa75([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52fa75([0x67,0x65,0x74])](_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22cc44(){let _0x58e499,_0x4b11e0=null,_0x30aaaa=null;try{if(_0x55f80c==_0x52fa75([0x47,0x50,0x4c]))return _0x52fa75([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58e499=_0x3dfd0c(),!_0x58e499)return _0x52fa75([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58e499[_0x52fa75([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30aaaa=_0x1f492b(_0x58e499[_0x52fa75([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58e499[_0x52fa75([0x6a,0x74,0x69])])),await _0x2f8cc7()?_0x3d04bd()?_0x37fd85()?_0x52fa75([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x72a1b0()?(_0x58e499[_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52fa75([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b11e0=_0x36dba0(_0x52fa75([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58e499[_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52fa75([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b11e0=_0x36dba0(_0x52fa75([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14538d()):_0x52fa75([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52fa75([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52fa75([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x40b1e6){return _0x52fa75([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37fd85(){const _0x395c56=[_0x52fa75([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52fa75([0x74,0x72,0x69,0x61,0x6c])][_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e499[_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28903b/0x3e8:0xe10*_0xdf5b34;return _0x58e499[_0x52fa75([0x65,0x78,0x70])]<_0x395c56;}function _0x3d04bd(){const _0x419055=_0x58e499[_0x52fa75([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x419055&&(!!_0x419055[_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52fa75([0x2a]))||!!_0x419055[_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52fa75([0x55,0x50,0x4c,0x43])));}function _0x72a1b0(){const _0x4797ad=_0x344c,_0x31cabc=_0x58e499[_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31cabc||0x0==_0x31cabc[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x343c89}=new URL(window[_0x52fa75([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4797ad(0x163)]);if(_0x31cabc[_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x343c89))return!0x0;const _0x58c353=_0x343c89[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])](_0x52fa75([0x2e]));return _0x31cabc[_0x52fa75([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x443071=>_0x443071[_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52fa75([0x2a])))[_0x52fa75([0x6d,0x61,0x70])](_0x25ae35=>_0x25ae35[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])](_0x52fa75([0x2e])))[_0x52fa75([0x73,0x6f,0x6d,0x65])](_0xb8cffc=>_0x58c353[_0x52fa75([0x65,0x76,0x65,0x72,0x79])]((_0x3b3614,_0x5c5aeb)=>_0xb8cffc[_0x5c5aeb]===_0x3b3614||_0xb8cffc[_0x5c5aeb]===_0x52fa75([0x2a])));}function _0x14538d(){return _0x4b11e0&&_0x30aaaa?new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbf6a05,_0x5e3644)=>{_0x4b11e0[_0x52fa75([0x74,0x68,0x65,0x6e])](_0xbf6a05,_0x5e3644),_0x30aaaa[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x56df3a=>{_0x56df3a!=_0x52fa75([0x56,0x61,0x6c,0x69,0x64])&&_0xbf6a05(_0x56df3a);},_0x5e3644);}):_0x4b11e0||_0x30aaaa||_0x52fa75([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f492b(_0x4abcd3,_0x4b7fb0){return new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a1b75=>{if(_0x582e50())return _0x3a1b75(_0x52fa75([0x56,0x61,0x6c,0x69,0x64]));_0x553b47(),_0x2122ac[_0x52fa75([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52fa75([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x532c2d=!0x1;const _0x278cc2=_0x2115c0();function _0xa057ac(_0x36327b){return!!_0x36327b&&(typeof _0x36327b===_0x52fa75([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36327b===_0x52fa75([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36327b[_0x52fa75([0x74,0x68,0x65,0x6e])]===_0x52fa75([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36327b[_0x52fa75([0x63,0x61,0x74,0x63,0x68])]===_0x52fa75([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x518816(_0x44699e){_0x1db1b3(_0x44699e)[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x3deecb=>{if(!_0x3deecb||_0x3deecb[_0x52fa75([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52fa75([0x6f,0x6b]))return _0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18f51e(_0x42f07c(_0x278cc2+_0x4b7fb0))!=_0x3deecb[_0x52fa75([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52fa75([0x56,0x61,0x6c,0x69,0x64]);})[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x2b3b8d=>(_0x4ff72e(),_0x2b3b8d),()=>{const _0x4527ea=_0x1629f3();return null==_0x4527ea?(_0x4ff72e(),_0x52fa75([0x56,0x61,0x6c,0x69,0x64])):_0x52fa75(_0x28903b-_0x4527ea>(0x29919a7a^_0x29db0a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x3a1b75)[_0x52fa75([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a1b75(_0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ef2ca=0xdabf0fa^_0x29db0a;function _0x4ff72e(){const _0x407254=_0x52fa75([0x6c,0x6c,0x63,0x74,0x2d])+_0x18f51e(_0x42f07c(_0x4abcd3)),_0x306129=_0xde321c(_0x18f51e(window[_0x52fa75([0x4d,0x61,0x74,0x68])][_0x52fa75([0x63,0x65,0x69,0x6c])](_0x28903b/_0x1ef2ca)));window[_0x52fa75([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52fa75([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x407254,_0x306129);}function _0x1629f3(){const _0x56524e=_0x52fa75([0x6c,0x6c,0x63,0x74,0x2d])+_0x18f51e(_0x42f07c(_0x4abcd3)),_0x40c805=window[_0x52fa75([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52fa75([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56524e);return _0x40c805?window[_0x52fa75([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xde321c(_0x40c805),0x10)*_0x1ef2ca:null;}function _0x1db1b3(_0x2ca2f5){return new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58cfae,_0x79b778)=>{_0x2ca2f5[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x58cfae,_0x79b778),window[_0x52fa75([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x79b778,0xd9ccaba^_0x29db0a);});}}_0x2122ac[_0x52fa75([0x6f,0x6e])](_0x52fa75([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x74896f,_0x2d7f83)=>{if(_0x2d7f83[0x0]!=_0x4abcd3)return _0x3a1b75(_0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d7f83[0x1]={..._0x2d7f83[0x1],[_0x52fa75([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x278cc2};},{[_0x52fa75([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52fa75([0x68,0x69,0x67,0x68])}),_0x2122ac[_0x52fa75([0x6f,0x6e])](_0x52fa75([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e76b5=>{_0xa057ac(_0x5e76b5[_0x52fa75([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x532c2d=!0x0,_0x518816(_0x5e76b5[_0x52fa75([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52fa75([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52fa75([0x6c,0x6f,0x77])}),_0x5c4f5f[_0x52fa75([0x74,0x68,0x65,0x6e])](()=>{_0x532c2d||_0x3a1b75(_0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x582e50(){return _0x2122ac[_0x52fa75([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52fa75([0x76,0x69,0x65,0x77])][_0x52fa75([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52fa75([0x61,0x75,0x74,0x6f]);}function _0x553b47(){_0x2122ac[_0x52fa75([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52fa75([0x76,0x69,0x65,0x77])][_0x52fa75([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52fa75([0x61,0x75,0x74,0x6f]);}}function _0x36dba0(_0x3cfed2){const _0x1b18ad=[new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48d323=>setTimeout(_0x48d323,0xd9420b6^_0x29db0a)),_0x5c4f5f[_0x52fa75([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x575770=>{let _0x3c39ae=0x0;_0x2122ac[_0x52fa75([0x6d,0x6f,0x64,0x65,0x6c])][_0x52fa75([0x6f,0x6e])](_0x52fa75([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c961a,_0x16d888)=>{_0x16d888[0x0][_0x52fa75([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c39ae++,_0x3c39ae==(0xd9d1f82^_0x29db0a)&&(_0x575770(),_0x5c961a[_0x52fa75([0x6f,0x66,0x66])]());});}))];return window[_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52fa75([0x72,0x61,0x63,0x65])](_0x1b18ad)[_0x52fa75([0x74,0x68,0x65,0x6e])](()=>_0x3cfed2);}async function _0x3e2241(){await _0x5c4f5f,_0x2122ac[_0x52fa75([0x6d,0x6f,0x64,0x65,0x6c])][_0x52fa75([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a0977,_0x2122ac[_0x52fa75([0x6d,0x6f,0x64,0x65,0x6c])][_0x52fa75([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a0977,_0x2122ac[_0x52fa75([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52fa75([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58c428(_0x1b6d70){const _0x2c004b=_0x335c9a();_0x2122ac[_0x2c004b]=_0x52fa75([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b6d70,_0x1b6d70!=_0x52fa75([0x56,0x61,0x6c,0x69,0x64])&&_0x3e2241();}function _0x335c9a(){const _0x147e57=window[_0x52fa75([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52fa75([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52fa75([0x6e,0x6f,0x77])]())[_0x52fa75([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52fa75([0x2e]),'');let _0x49f669=_0x52fa75([0x6c]);for(let _0x1f0bd0=0x0;_0x1f0bd0<_0x147e57[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f0bd0+=0x2){let _0x4c28d2=window[_0x52fa75([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x147e57[_0x52fa75([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f0bd0,_0x1f0bd0+0x2));_0x4c28d2>=_0x2202c2[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c28d2-=_0x2202c2[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49f669+=_0x2202c2[_0x4c28d2];}return _0x49f669;}function _0x3dfd0c(){const _0x24093a=_0x55f80c[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])](_0x52fa75([0x2e]));if(0x3!=_0x24093a[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x290101(_0x24093a[0x1]);function _0x290101(_0x32f05d){const _0x50ae16=_0x478549(_0x32f05d);return _0x50ae16&&_0x1dda00()?_0x50ae16:null;function _0x1dda00(){const _0xef16f5=_0x50ae16[_0x52fa75([0x6a,0x74,0x69])],_0xb90137=window[_0x52fa75([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xef16f5[_0x52fa75([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xef16f5[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52c6fb={..._0x50ae16,[_0x52fa75([0x6a,0x74,0x69])]:_0xef16f5[_0x52fa75([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xef16f5[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52c6fb[_0x52fa75([0x76,0x63])],_0x42f07c(_0x52c6fb)==_0xb90137;}}}async function _0x2f8cc7(){let _0x2f5bd4=!0x0;try{const _0x136ab6=_0x55f80c[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])](_0x52fa75([0x2e])),[_0x4f4220,_0x2ba4b3,_0x24a8b9]=_0x136ab6;return _0x40f523(_0x4f4220),await _0x41b96c(_0x4f4220,_0x2ba4b3,_0x24a8b9),_0x2f5bd4;}catch(_0x306075){return!0x1;}function _0x40f523(_0x3d867a){const _0x33f3f3=_0x478549(_0x3d867a);_0x33f3f3&&_0x33f3f3[_0x52fa75([0x61,0x6c,0x67])]==_0x52fa75([0x45,0x53,0x32,0x35,0x36])||(_0x2f5bd4=!0x1);}async function _0x41b96c(_0x560299,_0x5cd18e,_0x523380){const _0x55f40d=window[_0x52fa75([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52fa75([0x66,0x72,0x6f,0x6d])](_0x6fcace(_0x523380),_0x40aaa0=>_0x40aaa0[_0x52fa75([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x570b1d=new window[(_0x52fa75([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52fa75([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x560299+_0x52fa75([0x2e])+_0x5cd18e),_0x4d0c81=window[_0x52fa75([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52fa75([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d0c81)return;const _0x5852d1=await _0x4d0c81[_0x52fa75([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52fa75([0x6a,0x77,0x6b]),_0x1da3c5,{[_0x52fa75([0x6e,0x61,0x6d,0x65])]:_0x52fa75([0x45,0x43,0x44,0x53,0x41]),[_0x52fa75([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52fa75([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52fa75([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d0c81[_0x52fa75([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52fa75([0x6e,0x61,0x6d,0x65])]:_0x52fa75([0x45,0x43,0x44,0x53,0x41]),[_0x52fa75([0x68,0x61,0x73,0x68])]:{[_0x52fa75([0x6e,0x61,0x6d,0x65])]:_0x52fa75([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5852d1,_0x55f40d,_0x570b1d)||(_0x2f5bd4=!0x1);}}function _0x478549(_0x303591){return _0x303591[_0x52fa75([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52fa75([0x65,0x79]))?JSON[_0x52fa75([0x70,0x61,0x72,0x73,0x65])](_0x6fcace(_0x303591)):null;}function _0x6fcace(_0x67c778){return window[_0x52fa75([0x61,0x74,0x6f,0x62])](_0x67c778[_0x52fa75([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52fa75([0x2b]))[_0x52fa75([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52fa75([0x2f])));}function _0x42f07c(_0x37fc7b){let _0x15a759=0x1505;function _0xb54d1d(_0x5723d1){for(let _0x1860f3=0x0;_0x1860f3<_0x5723d1[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1860f3++){const _0x8cbb2c=_0x5723d1[_0x52fa75([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1860f3);_0x15a759=(_0x15a759<<0x5)+_0x15a759+_0x8cbb2c,_0x15a759&=_0x15a759;}}function _0x1d5b0b(_0x1e8a3e){Array[_0x52fa75([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e8a3e)?_0x1e8a3e[_0x52fa75([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d5b0b):_0x1e8a3e&&typeof _0x1e8a3e==_0x52fa75([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52fa75([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e8a3e)[_0x52fa75([0x73,0x6f,0x72,0x74])]()[_0x52fa75([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f950d,_0x45e4f0])=>{_0xb54d1d(_0x1f950d),_0x1d5b0b(_0x45e4f0);}):_0xb54d1d(window[_0x52fa75([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e8a3e));}return _0x1d5b0b(_0x37fc7b),_0x15a759>>>0x0;}function _0x18f51e(_0xdc4aea){return _0xdc4aea[_0x52fa75([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52fa75([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52fa75([0x30]));}function _0xde321c(_0x3cd43c){return _0x3cd43c[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52fa75([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52fa75([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a0977(){}function _0x52fa75(_0x39361c){const _0x24f330=_0x344c;return _0x39361c[_0x24f330(0x132)](_0x28845a=>String[_0x24f330(0x155)](_0x28845a))[_0x24f330(0x14d)]('');}_0x58c428(await _0x22cc44());}(this);}[_0x3d40ea(0x126)](){const _0x1bdbd2=_0x3d40ea,_0xce856f=this[_0x1bdbd2(0x124)][_0x1bdbd2(0x14f)][_0x1bdbd2(0x13f)];_0xce856f[_0x1bdbd2(0x12f)](_0x1bdbd2(0x112))&&_0xce856f[_0x1bdbd2(0x165)](_0x1bdbd2(0x112),{'allowAttributes':[_0x1bdbd2(0x15f)]}),_0xce856f[_0x1bdbd2(0x12f)](_0x1bdbd2(0x140))&&_0xce856f[_0x1bdbd2(0x165)](_0x1bdbd2(0x140),{'allowAttributes':[_0x1bdbd2(0x15f)]});}[_0x3d40ea(0x15e)](){const _0x4a77d0=_0x3d40ea,_0x15d9f7=this[_0x4a77d0(0x124)];_0x15d9f7[_0x4a77d0(0x164)][_0x4a77d0(0x13e)](_0x4a77d0(0x13c))[_0x4a77d0(0x13d)]({'model':_0x4a77d0(0x15f),'view':_0x4a77d0(0x14a)}),_0x15d9f7[_0x4a77d0(0x164)][_0x4a77d0(0x13e)](_0x4a77d0(0x119))[_0x4a77d0(0x12b)]({'model':{'key':_0x4a77d0(0x15f),'value':_0x265c0a=>_0x265c0a[_0x4a77d0(0x11c)](_0x4a77d0(0x14a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1a6bf1=_0x15d9f7[_0x4a77d0(0x127)][_0x4a77d0(0x13b)](_0x4a77d0(0x114));_0x1a6bf1&&this[_0x4a77d0(0x11b)](_0x1a6bf1,_0x4a77d0(0x161),(_0x2411bc,[_0x4ab69a,_0x422b0c])=>{const _0x1e9daf=_0x4a77d0;_0x4ab69a[_0x1e9daf(0x15b)](_0x1e9daf(0x15f),_0x422b0c);});}[_0x3d40ea(0x113)](){const _0x40d922=_0x3d40ea,_0x55560c=this[_0x40d922(0x124)][_0x40d922(0x13a)][_0x40d922(0x13b)](_0x40d922(0x143))||{},_0x30be07=this[_0x40d922(0x124)][_0x40d922(0x13a)][_0x40d922(0x13b)](_0x40d922(0x144))||'';this[_0x40d922(0x141)]=_0x5365f3(_0x23433a[_0x40d922(0x11d)],_0x40d922(0x125),{..._0x55560c,'pubkey':_0x30be07,'ctx-name':_0x40d922(0x159),'sourceList':'','imgOnly':_0x40d922(0x12d),'removeCopyright':_0x40d922(0x12d),'localeName':this[_0x40d922(0x124)][_0x40d922(0x142)][_0x40d922(0x133)],'externalSourcesEmbedCss':_0x40d922(0x115)}),this[_0x40d922(0x141)][_0x40d922(0x158)]=_0x53a887=>{const _0x59931d=_0x40d922;if(_0x59931d(0x11f)==_0x53a887)return _0x59931d(0x139);},_0x23433a[_0x40d922(0x11d)][_0x40d922(0x128)][_0x40d922(0x136)](this[_0x40d922(0x141)]);}[_0x3d40ea(0x12e)](){const _0x2447cf=_0x3d40ea;this[_0x2447cf(0x122)]=_0x5365f3(_0x23433a[_0x2447cf(0x11d)],_0x2447cf(0x157),{'ctx-name':_0x2447cf(0x159)}),_0x23433a[_0x2447cf(0x11d)][_0x2447cf(0x128)][_0x2447cf(0x136)](this[_0x2447cf(0x122)]);}[_0x3d40ea(0x162)](){const _0x1f937a=_0x3d40ea,_0x47ead6=this[_0x1f937a(0x124)][_0x1f937a(0x127)][_0x1f937a(0x13b)](_0x1f937a(0x12c));_0x47ead6&&this[_0x1f937a(0x11b)](_0x47ead6,_0x1f937a(0x118),()=>{const _0x46bf34=_0x1f937a,_0x3cbd51=this[_0x46bf34(0x124)][_0x46bf34(0x14f)][_0x46bf34(0x11d)][_0x46bf34(0x135)][_0x46bf34(0x137)]();_0x3cbd51&&_0x3cbd51[_0x46bf34(0x11c)](_0x46bf34(0x15f))&&this[_0x46bf34(0x124)][_0x46bf34(0x11a)][_0x46bf34(0x138)][_0x46bf34(0x153)](_0x46bf34(0x117),()=>{const _0xab4ce8=_0x46bf34;_0x17fb7d(this[_0xab4ce8(0x124)],_0x3cbd51);});});const _0x340da6=this[_0x1f937a(0x124)][_0x1f937a(0x127)][_0x1f937a(0x13b)](_0x1f937a(0x134));_0x340da6&&this[_0x1f937a(0x11b)](_0x340da6,_0x1f937a(0x118),()=>{const _0x4b72a0=_0x1f937a,_0x3f703d=this[_0x4b72a0(0x124)][_0x4b72a0(0x14f)][_0x4b72a0(0x11d)][_0x4b72a0(0x135)][_0x4b72a0(0x137)]();_0x3f703d&&_0x3f703d[_0x4b72a0(0x11c)](_0x4b72a0(0x15f))&&this[_0x4b72a0(0x124)][_0x4b72a0(0x11a)][_0x4b72a0(0x138)][_0x4b72a0(0x153)](_0x4b72a0(0x117),()=>{const _0x562e92=_0x4b72a0;_0x17fb7d(this[_0x562e92(0x124)],_0x3f703d);});});}}
|
|
23
|
+
function _0x819d(_0x456331,_0x1d11b6){const _0x1a2bc4=_0x1a2b();return _0x819d=function(_0x819d35,_0x5086f6){_0x819d35=_0x819d35-0x8d;let _0x281913=_0x1a2bc4[_0x819d35];return _0x281913;},_0x819d(_0x456331,_0x1d11b6);}const _0x553511=_0x819d;(function(_0x33ef69,_0x1c2f67){const _0x218c81=_0x819d,_0xf5b66f=_0x33ef69();while(!![]){try{const _0x554ebd=-parseInt(_0x218c81(0xa4))/0x1*(-parseInt(_0x218c81(0x8f))/0x2)+-parseInt(_0x218c81(0xa1))/0x3+-parseInt(_0x218c81(0x99))/0x4*(parseInt(_0x218c81(0xaf))/0x5)+-parseInt(_0x218c81(0xa8))/0x6+-parseInt(_0x218c81(0xb2))/0x7*(-parseInt(_0x218c81(0x93))/0x8)+parseInt(_0x218c81(0xac))/0x9+-parseInt(_0x218c81(0xda))/0xa;if(_0x554ebd===_0x1c2f67)break;else _0xf5b66f['push'](_0xf5b66f['shift']());}catch(_0x39cb2d){_0xf5b66f['push'](_0xf5b66f['shift']());}}}(_0x1a2b,0x519ca));function _0x1a2b(){const _0x46d7cc=['commands','_initImageProcessingIndicator','282621AQtXfu','uploadcareImageId','elementToAttribute','pluginName','1213098ezshlA','uc-upload-ctx-provider','listenTo','uploadcareImageReplace','4416795KQFsAk','insertImage','querySelector','5hHxVRa','_initSchema','once','2373AIJeDF','model','locale','_initConfig','imageBlock','cleanupImage','fromCharCode','#uc-icon-arrow-down','extend','removeAttribute','body','replaceImageSource','href','configElement','_initCtx','afterInit','uploadcare.pubkey','getSelectedElement','execute','imageInline','config','_configElement','downcast','add','true','remove','upcast','view','uc-config','appendChild','getAttribute','uploadcare.uploader','_ctxElement','contentLanguage','closeMax','_initConversion','isPremiumPlugin','selection','\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','uploadcare','4019630ckjPKp','conversion','init','destroy','join','attributeToAttribute','isRegistered','editing','input[uploadcare-file-input]','4jpinUV','editor','uploader','requires','13664ltgkPo','schema','PictureEditing','isOfficialPlugin','iconHrefResolver','document','920348gWoXBA','for','get','data-uc-image-id','ctxElement','render','map','UploadcareEditing','1399482FYcDlN'];_0x1a2b=function(){return _0x46d7cc;};return _0x1a2b();}import{Plugin as _0x113a1a}from'ckeditor5/src/core.js';import{Dialog as _0x113725}from'ckeditor5/src/ui.js';import{createElement as _0x496c15,global as _0x54525f,uid as _0x79b4c9}from'ckeditor5/src/utils.js';import _0x2ce943 from'./uploadcarecommand.js';import _0x5406 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5cb8dc}from'./utils/editingutils.js';export default class i extends _0x113a1a{[_0x553511(0xc7)]=null;[_0x553511(0xd2)]=null;static get[_0x553511(0xa7)](){const _0x471811=_0x553511;return _0x471811(0xa0);}static get[_0x553511(0x92)](){const _0x390ad2=_0x553511;return[_0x390ad2(0x95),_0x5406,_0x113725];}static get[_0x553511(0x96)](){return!0x0;}static get[_0x553511(0xd6)](){return!0x0;}get[_0x553511(0xbf)](){const _0x41c6a9=_0x553511;return this[_0x41c6a9(0xc7)];}get[_0x553511(0x9d)](){const _0x41270e=_0x553511;return this[_0x41270e(0xd2)];}[_0x553511(0xdc)](){const _0x3079ba=_0x553511,_0x3c00e9=this[_0x3079ba(0x90)];_0x3c00e9[_0x3079ba(0xa2)][_0x3079ba(0xc9)](_0x3079ba(0xd9),new _0x2ce943(_0x3c00e9));}[_0x553511(0xc1)](){const _0x2521a1=_0x553511;this[_0x2521a1(0xb0)](),this[_0x2521a1(0xd5)](),this[_0x2521a1(0xb5)](),this[_0x2521a1(0xc0)](),this[_0x2521a1(0xa3)](),this[_0x2521a1(0xaa)](this[_0x2521a1(0x90)],_0x2521a1(0xdd),()=>{const _0x432de2=_0x2521a1;this[_0x432de2(0xc7)]&&(this[_0x432de2(0xc7)][_0x432de2(0xcb)](),this[_0x432de2(0xc7)]=null),this[_0x432de2(0xd2)]&&(this[_0x432de2(0xd2)][_0x432de2(0xcb)](),this[_0x432de2(0xd2)]=null);const _0x170fb1=_0x54525f[_0x432de2(0x98)][_0x432de2(0xae)](_0x432de2(0x8e));_0x170fb1&&_0x170fb1[_0x432de2(0xcb)]();}),async function(_0x4dd279){const _0x140617=_0x528c82([0x4f,0x6b,0x49,0x30,0x39,0x75,0x57,0x36,0x77,0x56,0x4d,0x66,0x72,0x73,0x7a,0x51,0x4a,0x63,0x53,0x6d,0x52,0x41,0x6e,0x5a,0x58,0x48,0x33,0x46,0x64,0x34,0x4c,0x74,0x61,0x76,0x71,0x42,0x55,0x69,0x65,0x6f,0x70,0x68,0x79,0x6a,0x6c,0x45,0x32,0x59,0x38,0x78,0x4e,0x43,0x4b,0x35,0x44,0x31,0x37,0x62,0x54,0x67,0x50,0x47]),_0x154d0b=0x7f801b70,_0x28e5e6=0x7f877250^_0x154d0b,_0x14e1d9=window[_0x528c82([0x44,0x61,0x74,0x65])][_0x528c82([0x6e,0x6f,0x77])](),_0x2f66ed=_0x4dd279[_0x528c82([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41b137=new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e061=>{_0x2f66ed[_0x528c82([0x6f,0x6e,0x63,0x65])](_0x528c82([0x72,0x65,0x61,0x64,0x79]),_0x47e061);}),_0x170541={[_0x528c82([0x6b,0x74,0x79])]:_0x528c82([0x45,0x43]),[_0x528c82([0x75,0x73,0x65])]:_0x528c82([0x73,0x69,0x67]),[_0x528c82([0x63,0x72,0x76])]:_0x528c82([0x50,0x2d,0x32,0x35,0x36]),[_0x528c82([0x78])]:_0x528c82([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]),[_0x528c82([0x79])]:_0x528c82([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]),[_0x528c82([0x61,0x6c,0x67])]:_0x528c82([0x45,0x53,0x32,0x35,0x36])},_0x459ad1=_0x2f66ed[_0x528c82([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x528c82([0x67,0x65,0x74])](_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11abcb(){let _0x12a00c,_0x1e04c8=null,_0x26d851=null;try{if(_0x459ad1==_0x528c82([0x47,0x50,0x4c]))return _0x528c82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12a00c=_0x49effb(),!_0x12a00c)return _0x528c82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12a00c[_0x528c82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26d851=_0x3b9330(_0x12a00c[_0x528c82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12a00c[_0x528c82([0x6a,0x74,0x69])])),await _0x2d6c73()?_0x58f686()?_0x3b0b4b()?_0x528c82([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b3456()?(_0x12a00c[_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x528c82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e04c8=_0x4b9beb(_0x528c82([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12a00c[_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x528c82([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e04c8=_0x4b9beb(_0x528c82([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d9055()):_0x528c82([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x528c82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x528c82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x528c82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b0b4b(){const _0x36ad1d=[_0x528c82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x528c82([0x74,0x72,0x69,0x61,0x6c])][_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12a00c[_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14e1d9/0x3e8:0xe10*_0x28e5e6;return _0x12a00c[_0x528c82([0x65,0x78,0x70])]<_0x36ad1d;}function _0x58f686(){const _0x54683f=_0x12a00c[_0x528c82([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54683f&&(!!_0x54683f[_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x528c82([0x2a]))||!!_0x54683f[_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x528c82([0x55,0x50,0x4c,0x43])));}function _0x1b3456(){const _0x57ae7d=_0x819d,_0x2ca1e2=_0x12a00c[_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ca1e2||0x0==_0x2ca1e2[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c371f}=new URL(window[_0x528c82([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x57ae7d(0xbe)]);if(_0x2ca1e2[_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c371f))return!0x0;const _0x4fb4a9=_0x1c371f[_0x528c82([0x73,0x70,0x6c,0x69,0x74])](_0x528c82([0x2e]));return _0x2ca1e2[_0x528c82([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5566ec=>_0x5566ec[_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x528c82([0x2a])))[_0x528c82([0x6d,0x61,0x70])](_0x4b6bc8=>_0x4b6bc8[_0x528c82([0x73,0x70,0x6c,0x69,0x74])](_0x528c82([0x2e])))[_0x528c82([0x73,0x6f,0x6d,0x65])](_0x376ed9=>_0x4fb4a9[_0x528c82([0x65,0x76,0x65,0x72,0x79])]((_0x9415d9,_0xe7c2e7)=>_0x376ed9[_0xe7c2e7]===_0x9415d9||_0x376ed9[_0xe7c2e7]===_0x528c82([0x2a])));}function _0x4d9055(){return _0x1e04c8&&_0x26d851?new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x228578,_0x52f201)=>{_0x1e04c8[_0x528c82([0x74,0x68,0x65,0x6e])](_0x228578,_0x52f201),_0x26d851[_0x528c82([0x74,0x68,0x65,0x6e])](_0x383344=>{_0x383344!=_0x528c82([0x56,0x61,0x6c,0x69,0x64])&&_0x228578(_0x383344);},_0x52f201);}):_0x1e04c8||_0x26d851||_0x528c82([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b9330(_0x1aeaea,_0x31b5bd){return new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x281b1c=>{if(_0x8ca316())return _0x281b1c(_0x528c82([0x56,0x61,0x6c,0x69,0x64]));_0x266d52(),_0x2f66ed[_0x528c82([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x528c82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x34fca3=!0x1;const _0xa36beb=_0x79b4c9();function _0x1dba51(_0x66f8c2){return!!_0x66f8c2&&(typeof _0x66f8c2===_0x528c82([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x66f8c2===_0x528c82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x66f8c2[_0x528c82([0x74,0x68,0x65,0x6e])]===_0x528c82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x66f8c2[_0x528c82([0x63,0x61,0x74,0x63,0x68])]===_0x528c82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24da0f(_0x32d1ce){_0xcfe1d0(_0x32d1ce)[_0x528c82([0x74,0x68,0x65,0x6e])](_0x49f823=>{if(!_0x49f823||_0x49f823[_0x528c82([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x528c82([0x6f,0x6b]))return _0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xbc9031(_0x282d34(_0xa36beb+_0x31b5bd))!=_0x49f823[_0x528c82([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x528c82([0x56,0x61,0x6c,0x69,0x64]);})[_0x528c82([0x74,0x68,0x65,0x6e])](_0x4d227d=>(_0x490af4(),_0x4d227d),()=>{const _0x573ee7=_0x1b65b4();return null==_0x573ee7?(_0x490af4(),_0x528c82([0x56,0x61,0x6c,0x69,0x64])):_0x528c82(_0x14e1d9-_0x573ee7>(0x5b8c9f70^_0x154d0b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x528c82([0x74,0x68,0x65,0x6e])](_0x281b1c)[_0x528c82([0x63,0x61,0x74,0x63,0x68])](()=>{_0x281b1c(_0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x76bb2d=0x7fb6f5f0^_0x154d0b;function _0x490af4(){const _0x21b0eb=_0x528c82([0x6c,0x6c,0x63,0x74,0x2d])+_0xbc9031(_0x282d34(_0x1aeaea)),_0x395271=_0xea9b88(_0xbc9031(window[_0x528c82([0x4d,0x61,0x74,0x68])][_0x528c82([0x63,0x65,0x69,0x6c])](_0x14e1d9/_0x76bb2d)));window[_0x528c82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x528c82([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21b0eb,_0x395271);}function _0x1b65b4(){const _0x397b94=_0x528c82([0x6c,0x6c,0x63,0x74,0x2d])+_0xbc9031(_0x282d34(_0x1aeaea)),_0x1e7c0c=window[_0x528c82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x528c82([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x397b94);return _0x1e7c0c?window[_0x528c82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xea9b88(_0x1e7c0c),0x10)*_0x76bb2d:null;}function _0xcfe1d0(_0x198c0f){return new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1467a7,_0x545aa8)=>{_0x198c0f[_0x528c82([0x74,0x68,0x65,0x6e])](_0x1467a7,_0x545aa8),window[_0x528c82([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x545aa8,0x7f81cfb0^_0x154d0b);});}}_0x2f66ed[_0x528c82([0x6f,0x6e])](_0x528c82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bd0f3,_0x4b5731)=>{if(_0x4b5731[0x0]!=_0x1aeaea)return _0x281b1c(_0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b5731[0x1]={..._0x4b5731[0x1],[_0x528c82([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa36beb};},{[_0x528c82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x528c82([0x68,0x69,0x67,0x68])}),_0x2f66ed[_0x528c82([0x6f,0x6e])](_0x528c82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ba49c=>{_0x1dba51(_0x4ba49c[_0x528c82([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x34fca3=!0x0,_0x24da0f(_0x4ba49c[_0x528c82([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x528c82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x528c82([0x6c,0x6f,0x77])}),_0x41b137[_0x528c82([0x74,0x68,0x65,0x6e])](()=>{_0x34fca3||_0x281b1c(_0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8ca316(){return _0x2f66ed[_0x528c82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x528c82([0x76,0x69,0x65,0x77])][_0x528c82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x528c82([0x61,0x75,0x74,0x6f]);}function _0x266d52(){_0x2f66ed[_0x528c82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x528c82([0x76,0x69,0x65,0x77])][_0x528c82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x528c82([0x61,0x75,0x74,0x6f]);}}function _0x4b9beb(_0x44c9b8){const _0x46b168=[new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7b26=>setTimeout(_0x4b7b26,0x7f8925bc^_0x154d0b)),_0x41b137[_0x528c82([0x74,0x68,0x65,0x6e])](()=>new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x111099=>{let _0x33c83b=0x0;_0x2f66ed[_0x528c82([0x6d,0x6f,0x64,0x65,0x6c])][_0x528c82([0x6f,0x6e])](_0x528c82([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32a04a,_0x34cd96)=>{_0x34cd96[0x0][_0x528c82([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33c83b++,_0x33c83b==(0x7f801a88^_0x154d0b)&&(_0x111099(),_0x32a04a[_0x528c82([0x6f,0x66,0x66])]());});}))];return window[_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x528c82([0x72,0x61,0x63,0x65])](_0x46b168)[_0x528c82([0x74,0x68,0x65,0x6e])](()=>_0x44c9b8);}async function _0xac3f03(){await _0x41b137,_0x2f66ed[_0x528c82([0x6d,0x6f,0x64,0x65,0x6c])][_0x528c82([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b5704,_0x2f66ed[_0x528c82([0x6d,0x6f,0x64,0x65,0x6c])][_0x528c82([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b5704,_0x2f66ed[_0x528c82([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x528c82([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19593d(_0x5d241d){const _0x55dd2a=_0x2f4ecd();_0x2f66ed[_0x55dd2a]=_0x528c82([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d241d,_0x5d241d!=_0x528c82([0x56,0x61,0x6c,0x69,0x64])&&_0xac3f03();}function _0x2f4ecd(){const _0x2c2cb6=window[_0x528c82([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x528c82([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x528c82([0x6e,0x6f,0x77])]())[_0x528c82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x528c82([0x2e]),'');let _0x10ee63=_0x528c82([0x4f]);for(let _0x602309=0x0;_0x602309<_0x2c2cb6[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x602309+=0x2){let _0x1eee7c=window[_0x528c82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c2cb6[_0x528c82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x602309,_0x602309+0x2));_0x1eee7c>=_0x140617[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1eee7c-=_0x140617[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10ee63+=_0x140617[_0x1eee7c];}return _0x10ee63;}function _0x49effb(){const _0x1a75ab=_0x459ad1[_0x528c82([0x73,0x70,0x6c,0x69,0x74])](_0x528c82([0x2e]));if(0x3!=_0x1a75ab[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55c22c(_0x1a75ab[0x1]);function _0x55c22c(_0x4b76b9){const _0x1902f3=_0x1ff643(_0x4b76b9);return _0x1902f3&&_0x43693c()?_0x1902f3:null;function _0x43693c(){const _0x49dc46=_0x1902f3[_0x528c82([0x6a,0x74,0x69])],_0x3a5a2d=window[_0x528c82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49dc46[_0x528c82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49dc46[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf4ef37={..._0x1902f3,[_0x528c82([0x6a,0x74,0x69])]:_0x49dc46[_0x528c82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49dc46[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf4ef37[_0x528c82([0x76,0x63])],_0x282d34(_0xf4ef37)==_0x3a5a2d;}}}async function _0x2d6c73(){let _0x3b8653=!0x0;try{const _0xa336b8=_0x459ad1[_0x528c82([0x73,0x70,0x6c,0x69,0x74])](_0x528c82([0x2e])),[_0xb48e84,_0x4cf57c,_0x336c0c]=_0xa336b8;return _0x4dcb36(_0xb48e84),await _0x163ae0(_0xb48e84,_0x4cf57c,_0x336c0c),_0x3b8653;}catch{return!0x1;}function _0x4dcb36(_0x700356){const _0x175c10=_0x1ff643(_0x700356);_0x175c10&&_0x175c10[_0x528c82([0x61,0x6c,0x67])]==_0x528c82([0x45,0x53,0x32,0x35,0x36])||(_0x3b8653=!0x1);}async function _0x163ae0(_0x29f866,_0x516e79,_0x1f394e){const _0x4299ef=window[_0x528c82([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x528c82([0x66,0x72,0x6f,0x6d])](_0x209045(_0x1f394e),_0x3de1c9=>_0x3de1c9[_0x528c82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c94e5=new window[(_0x528c82([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x528c82([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29f866+_0x528c82([0x2e])+_0x516e79),_0x9d2d64=window[_0x528c82([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x528c82([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9d2d64)return;const _0x3f1091=await _0x9d2d64[_0x528c82([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x528c82([0x6a,0x77,0x6b]),_0x170541,{[_0x528c82([0x6e,0x61,0x6d,0x65])]:_0x528c82([0x45,0x43,0x44,0x53,0x41]),[_0x528c82([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x528c82([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x528c82([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9d2d64[_0x528c82([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x528c82([0x6e,0x61,0x6d,0x65])]:_0x528c82([0x45,0x43,0x44,0x53,0x41]),[_0x528c82([0x68,0x61,0x73,0x68])]:{[_0x528c82([0x6e,0x61,0x6d,0x65])]:_0x528c82([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f1091,_0x4299ef,_0x3c94e5)||(_0x3b8653=!0x1);}}function _0x1ff643(_0x24a52b){return _0x24a52b[_0x528c82([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x528c82([0x65,0x79]))?JSON[_0x528c82([0x70,0x61,0x72,0x73,0x65])](_0x209045(_0x24a52b)):null;}function _0x209045(_0x1158a1){return window[_0x528c82([0x61,0x74,0x6f,0x62])](_0x1158a1[_0x528c82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x528c82([0x2b]))[_0x528c82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x528c82([0x2f])));}function _0x282d34(_0x5824f6){let _0x59286f=0x1505;function _0x4bc21a(_0x830345){for(let _0x29c14e=0x0;_0x29c14e<_0x830345[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29c14e++){const _0x1915ec=_0x830345[_0x528c82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29c14e);_0x59286f=(_0x59286f<<0x5)+_0x59286f+_0x1915ec,_0x59286f&=_0x59286f;}}function _0x324f27(_0x5d105a){Array[_0x528c82([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d105a)?_0x5d105a[_0x528c82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x324f27):_0x5d105a&&typeof _0x5d105a==_0x528c82([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x528c82([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d105a)[_0x528c82([0x73,0x6f,0x72,0x74])]()[_0x528c82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x566382,_0x6525b])=>{_0x4bc21a(_0x566382),_0x324f27(_0x6525b);}):_0x4bc21a(window[_0x528c82([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d105a));}return _0x324f27(_0x5824f6),_0x59286f>>>0x0;}function _0xbc9031(_0x4e1675){return _0x4e1675[_0x528c82([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x528c82([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x528c82([0x30]));}function _0xea9b88(_0xa2a8a6){return _0xa2a8a6[_0x528c82([0x73,0x70,0x6c,0x69,0x74])]('')[_0x528c82([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x528c82([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b5704(){}function _0x528c82(_0xd89b67){const _0x46dd38=_0x819d;return _0xd89b67[_0x46dd38(0x9f)](_0x589445=>String[_0x46dd38(0xb8)](_0x589445))[_0x46dd38(0xde)]('');}_0x19593d(await _0x11abcb());}(this);}[_0x553511(0xb0)](){const _0x53aa11=_0x553511,_0x57c0d6=this[_0x53aa11(0x90)][_0x53aa11(0xb3)][_0x53aa11(0x94)];_0x57c0d6[_0x53aa11(0xe0)](_0x53aa11(0xb6))&&_0x57c0d6[_0x53aa11(0xba)](_0x53aa11(0xb6),{'allowAttributes':[_0x53aa11(0xa5)]}),_0x57c0d6[_0x53aa11(0xe0)](_0x53aa11(0xc5))&&_0x57c0d6[_0x53aa11(0xba)](_0x53aa11(0xc5),{'allowAttributes':[_0x53aa11(0xa5)]});}[_0x553511(0xd5)](){const _0x18099c=_0x553511,_0x282643=this[_0x18099c(0x90)];_0x282643[_0x18099c(0xdb)][_0x18099c(0x9a)](_0x18099c(0xc8))[_0x18099c(0xdf)]({'model':_0x18099c(0xa5),'view':_0x18099c(0x9c)}),_0x282643[_0x18099c(0xdb)][_0x18099c(0x9a)](_0x18099c(0xcc))[_0x18099c(0xa6)]({'model':{'key':_0x18099c(0xa5),'value':_0x5647c2=>_0x5647c2[_0x18099c(0xd0)](_0x18099c(0x9c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3cc123=_0x282643[_0x18099c(0xa2)][_0x18099c(0x9b)](_0x18099c(0xbd));_0x3cc123&&this[_0x18099c(0xaa)](_0x3cc123,_0x18099c(0xb7),(_0x59c326,[_0x109a5a,_0x2de588])=>{const _0x2b0de5=_0x18099c;_0x109a5a[_0x2b0de5(0xbb)](_0x2b0de5(0xa5),_0x2de588);});}[_0x553511(0xb5)](){const _0xef5b40=_0x553511,_0x22673f=this[_0xef5b40(0x90)][_0xef5b40(0xc6)][_0xef5b40(0x9b)](_0xef5b40(0xd1))||{},_0x5c6fb5=this[_0xef5b40(0x90)][_0xef5b40(0xc6)][_0xef5b40(0x9b)](_0xef5b40(0xc2))||'';this[_0xef5b40(0xc7)]=_0x496c15(_0x54525f[_0xef5b40(0x98)],_0xef5b40(0xce),{..._0x22673f,'pubkey':_0x5c6fb5,'ctx-name':_0xef5b40(0x91),'sourceList':'','imgOnly':_0xef5b40(0xca),'removeCopyright':_0xef5b40(0xca),'localeName':this[_0xef5b40(0x90)][_0xef5b40(0xb4)][_0xef5b40(0xd3)],'externalSourcesEmbedCss':_0xef5b40(0xd8)}),this[_0xef5b40(0xc7)][_0xef5b40(0x97)]=_0x4b0b4f=>{const _0x34836b=_0xef5b40;if(_0x34836b(0xd4)==_0x4b0b4f)return _0x34836b(0xb9);},_0x54525f[_0xef5b40(0x98)][_0xef5b40(0xbc)][_0xef5b40(0xcf)](this[_0xef5b40(0xc7)]);}[_0x553511(0xc0)](){const _0x1f02bc=_0x553511;this[_0x1f02bc(0xd2)]=_0x496c15(_0x54525f[_0x1f02bc(0x98)],_0x1f02bc(0xa9),{'ctx-name':_0x1f02bc(0x91)}),_0x54525f[_0x1f02bc(0x98)][_0x1f02bc(0xbc)][_0x1f02bc(0xcf)](this[_0x1f02bc(0xd2)]);}[_0x553511(0xa3)](){const _0x3752e5=_0x553511,_0x18c1ec=this[_0x3752e5(0x90)][_0x3752e5(0xa2)][_0x3752e5(0x9b)](_0x3752e5(0xad));_0x18c1ec&&this[_0x3752e5(0xaa)](_0x18c1ec,_0x3752e5(0xc4),()=>{const _0x20005c=_0x3752e5,_0x276477=this[_0x20005c(0x90)][_0x20005c(0xb3)][_0x20005c(0x98)][_0x20005c(0xd7)][_0x20005c(0xc3)]();_0x276477&&_0x276477[_0x20005c(0xd0)](_0x20005c(0xa5))&&this[_0x20005c(0x90)][_0x20005c(0x8d)][_0x20005c(0xcd)][_0x20005c(0xb1)](_0x20005c(0x9e),()=>{const _0x5eb8f0=_0x20005c;_0x5cb8dc(this[_0x5eb8f0(0x90)],_0x276477);});});const _0x2383dd=this[_0x3752e5(0x90)][_0x3752e5(0xa2)][_0x3752e5(0x9b)](_0x3752e5(0xab));_0x2383dd&&this[_0x3752e5(0xaa)](_0x2383dd,_0x3752e5(0xc4),()=>{const _0x290695=_0x3752e5,_0xa06d9f=this[_0x290695(0x90)][_0x290695(0xb3)][_0x290695(0x98)][_0x290695(0xd7)][_0x290695(0xc3)]();_0xa06d9f&&_0xa06d9f[_0x290695(0xd0)](_0x290695(0xa5))&&this[_0x290695(0x90)][_0x290695(0x8d)][_0x290695(0xcd)][_0x290695(0xb1)](_0x290695(0x9e),()=>{const _0x2b159a=_0x290695;_0x5cb8dc(this[_0x2b159a(0x90)],_0xa06d9f);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x2045be,ObservableMixin as _0x24689e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x219ae9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c65b1}from'ckeditor5/src/icons.js';import _0x480c2d from'./uploadcareimageeditformview.js';import _0x263547 from'../../utils/uploadutils.js';import{getImageUrls as _0x4f4c49,getImageDimension as _0x541ac1}from'../../utils/editingutils.js';import{isAncestor as _0x5099a6}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x24689e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3218a5,_0x27ccff,_0xe2582){super(),this['_editor']=_0x3218a5,this['_dialog']=_0x27ccff,this['_imageElement']=_0xe2582,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 _0xeddb41=this['_imageElement'],_0xf74147=_0xeddb41['getAttribute']('uploadcareImageId'),_0x9b47ea=_0xeddb41['getAttribute']('src');if(_0xf74147)await this['_loadImageInfo'](_0xf74147,_0x9b47ea);else{if(this['_imageCache']['has'](_0x9b47ea)){const _0x5097f6=this['_imageCache']['get'](_0x9b47ea);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5097f6['url'],this['imageDimension']=_0x5097f6['dimension'],this['imageId']=_0x5097f6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x916732}=this['_editor'],t=_0x916732['t'],_0x1daab2=new _0x480c2d(_0x916732,this['imageStatus'],this['_attributes']);_0x1daab2['bind']('status')['to'](this,'imageStatus'),_0x1daab2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1daab2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1daab2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1daab2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4c65b1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1daab2,'position':_0x219ae9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1daab2['focus']();},'onHide':()=>{_0x1daab2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2bb227=>!_0x5099a6(_0x2bb227,_0x1daab2['element'])}});}['_loadImageInfo'](_0x25c9b8,_0xfe48cf){return _0x263547['getInfo'](_0x25c9b8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2c502e=>{const {width:_0x274439,height:_0x5af032}=_0x2c502e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xfe48cf,this['imageDimension']={'width':_0x274439,'height':_0x5af032},this['imageId']=_0x25c9b8;})['catch'](_0x5b0c72=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b0c72['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x33564b,_0x2e622f){return this['_getImageAsFile'](_0x33564b)['then'](_0x2042a6=>_0x263547['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2e622f['signal'],'file':_0x2042a6,'onProgress':_0x2fc1dd=>{_0x2fc1dd&&_0x2fc1dd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fc1dd['value']));}}))['then'](_0x4984b6=>{const {width:_0x4350e2,height:_0x462210}=_0x4984b6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4984b6['cdnUrl'],this['imageDimension']={'width':_0x4350e2,'height':_0x462210},this['imageId']=_0x4984b6['uuid'],this['imageUploadProgress']=null;const _0x503533=_0x33564b['getAttribute']('src');this['_imageCache']['set'](_0x503533,{'id':_0x4984b6['uuid'],'url':_0x4984b6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x494d44=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x494d44['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xa53a02,_0x5eb087){_0xa53a02['on']('apply',(_0x3f0123,_0x33b039)=>{this['_replaceImage'](_0x5eb087,_0x33b039['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xa53a02['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xa53a02['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x443377,_0x1fd054,_0x4d4374){const _0x192dd4=this['_editor'],{width:_0x2ab651,height:_0x79d1a3}=_0x541ac1(_0x1fd054,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x195444,imageSources:_0x45df45}=_0x4f4c49(_0x1fd054,_0x2ab651);_0x192dd4['model']['change'](_0xc731ac=>{if('$graveyard'===_0x443377['root']['rootName']){_0x192dd4['execute']('insertImage',{'imageType':_0x443377['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x443377['getAttributes']()),'uploadcareImageId':_0x4d4374,'src':_0x195444,'sources':_0x45df45,'width':_0x2ab651,'height':_0x79d1a3}});const _0x179688=_0x443377['getChildren']();_0x443377=_0x192dd4['model']['document']['selection']['getSelectedElement']();for(const _0x440517 of _0x179688)_0xc731ac['append'](_0xc731ac['cloneElement'](_0x440517),_0x443377);}else _0xc731ac['setSelection'](_0x443377,'on'),_0x192dd4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x443377['getAttributes']()),'uploadcareImageId':_0x4d4374,'src':_0x195444,'sources':_0x45df45,'width':_0x2ab651,'height':_0x79d1a3},_0x443377);_0xc731ac['setSelection'](_0x443377,'on');});}async['_getImageAsFile'](_0xbd7ef5){const _0x32bebc=_0x2045be['window'],_0x5e23a9=_0x2045be['document']['location']['href'],_0x2cff9a=new _0x32bebc['URL'](_0xbd7ef5['getAttribute']('src'),_0x5e23a9);if('data:'===_0x2cff9a['protocol']){const _0x5388fb=_0x2cff9a['href']['split'](','),_0x15fe68=_0x5388fb[0x0]['match'](/:(.*?);/)[0x1],_0x2a5b22=_0x15fe68['split']('/')[0x1],_0x34f38b=_0x32bebc['atob'](_0x5388fb[_0x5388fb['length']-0x1]);let _0x5ea81a=_0x34f38b['length'];const _0x1a33b5=new _0x32bebc['Uint8Array'](_0x5ea81a);for(;_0x5ea81a--;)_0x1a33b5[_0x5ea81a]=_0x34f38b['charCodeAt'](_0x5ea81a);return new _0x32bebc['File']([_0x1a33b5],'image.'+_0x2a5b22,{'type':_0x15fe68});}const _0x5a7caa=_0x2cff9a['href']['split']('/'),_0x5ab290=_0x5a7caa[_0x5a7caa['length']-0x1],_0x179ed8=_0x5ab290['split']('.')[0x1];return _0x32bebc['fetch'](_0x2cff9a['href'])['then'](_0x5504e6=>_0x5504e6['clone']()['blob']())['then'](_0x548af0=>new _0x32bebc['File']([_0x548af0],_0x5ab290,{'type':'image/'+_0x179ed8}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x11d2(){const _0x3f548c=['uc-light','uc-cloud-image-editor','2181448LPOwve','imageSrc','setTemplate','510JmWaWg','11349rQlxdG','11xqcSBL','2052114BFDWId','set','7LoBIWz','bindTemplate','ck-uploadcare-theme','36DNLwdl','733340TQwOYM','87063zUyuGc','201529ZhtJUn','image-edit','5047356QPdnSY','2HpfpVS'];_0x11d2=function(){return _0x3f548c;};return _0x11d2();}function _0x5581(_0xf1f335,_0xa95721){const _0x11d28a=_0x11d2();return _0x5581=function(_0x558141,_0x5e7e92){_0x558141=_0x558141-0x101;let _0x528ac7=_0x11d28a[_0x558141];return _0x528ac7;},_0x5581(_0xf1f335,_0xa95721);}(function(_0x56b04d,_0x473898){const _0x4eec6f=_0x5581,_0x4b40c8=_0x56b04d();while(!![]){try{const _0x3d2508=-parseInt(_0x4eec6f(0x101))/0x1*(-parseInt(_0x4eec6f(0x104))/0x2)+parseInt(_0x4eec6f(0x114))/0x3*(parseInt(_0x4eec6f(0x112))/0x4)+parseInt(_0x4eec6f(0x113))/0x5+-parseInt(_0x4eec6f(0x10d))/0x6*(-parseInt(_0x4eec6f(0x10f))/0x7)+-parseInt(_0x4eec6f(0x107))/0x8+parseInt(_0x4eec6f(0x10b))/0x9*(-parseInt(_0x4eec6f(0x10a))/0xa)+-parseInt(_0x4eec6f(0x10c))/0xb*(parseInt(_0x4eec6f(0x103))/0xc);if(_0x3d2508===_0x473898)break;else _0x4b40c8['push'](_0x4b40c8['shift']());}catch(_0x1201cf){_0x4b40c8['push'](_0x4b40c8['shift']());}}}(_0x11d2,0x2f508));import{View as _0x5bf394}from'ckeditor5/src/ui.js';export default class tt extends _0x5bf394{constructor(_0x5396bd,_0x4508cd){const _0x54fd13=_0x5581;super(_0x5396bd);const _0x248e5e=this[_0x54fd13(0x110)];this[_0x54fd13(0x10e)](_0x54fd13(0x108),''),this[_0x54fd13(0x109)]({'tag':_0x54fd13(0x106),'attributes':{..._0x4508cd,'class':[_0x54fd13(0x105),_0x54fd13(0x111)],'ctx-name':_0x54fd13(0x102),'cdn-url':_0x248e5e['to'](_0x54fd13(0x108))}});}}
|
|
@@ -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 _0x141e56,IconView as at,View as _0xc4fb45}from'ckeditor5/src/ui.js';export default class rt extends _0xc4fb45{constructor(_0x3f4184){super(_0x3f4184);const t=_0x3f4184['t'];this['set']('errorType',null);const _0x60e2e0=new _0x141e56(_0x3f4184);_0x60e2e0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x60e2e0['withText']=!0x0,_0x60e2e0['class']='ck-button-action',_0x60e2e0['on']('execute',()=>{this['fire']('retry');}),_0x60e2e0['bind']('isVisible')['to'](this,'errorType',_0x42b29e=>'NotFound'!==_0x42b29e);const _0x4a182a=new at();_0x4a182a['content']=et,_0x4a182a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x35f951=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':[_0x4a182a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x35f951['to']('errorType',_0x54bf50=>t('NotFound'!==_0x54bf50?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x60e2e0]},{'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 _0x5d3daf,View as _0x440633}from'ckeditor5/src/ui.js';export default class ta extends _0x440633{constructor(_0x7d7428){super(_0x7d7428);const t=_0x7d7428['t'],_0x146d68=this['bindTemplate'],_0x2f11fc=new _0x5d3daf();_0x2f11fc['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':[_0x2f11fc,{'text':_0x146d68['to']('imageUploadProgress',_0x50f875=>t('Loading\x20image...')+'\x20('+(_0x50f875||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
|
-
const
|
|
23
|
+
const _0x1ac4f4=_0x28aa;(function(_0x2d9867,_0x2e69b6){const _0x2284e3=_0x28aa,_0x57dfe6=_0x2d9867();while(!![]){try{const _0x39d1a1=parseInt(_0x2284e3(0x1a2))/0x1*(parseInt(_0x2284e3(0x1bc))/0x2)+-parseInt(_0x2284e3(0x1a1))/0x3*(parseInt(_0x2284e3(0x1bb))/0x4)+-parseInt(_0x2284e3(0x1cc))/0x5*(-parseInt(_0x2284e3(0x1c3))/0x6)+-parseInt(_0x2284e3(0x1af))/0x7*(parseInt(_0x2284e3(0x1cb))/0x8)+-parseInt(_0x2284e3(0x1a8))/0x9+parseInt(_0x2284e3(0x1b6))/0xa+parseInt(_0x2284e3(0x1ad))/0xb*(-parseInt(_0x2284e3(0x19f))/0xc);if(_0x39d1a1===_0x2e69b6)break;else _0x57dfe6['push'](_0x57dfe6['shift']());}catch(_0x35a5a7){_0x57dfe6['push'](_0x57dfe6['shift']());}}}(_0x28f2,0x82f0b));function _0x28aa(_0x1d257e,_0x4a95c3){const _0x28f2a5=_0x28f2();return _0x28aa=function(_0x28aae1,_0x3e7d98){_0x28aae1=_0x28aae1-0x194;let _0x37c553=_0x28f2a5[_0x28aae1];return _0x37c553;},_0x28aa(_0x1d257e,_0x4a95c3);}import{View as _0x25add9}from'ckeditor5/src/ui.js';function _0x28f2(){const _0xb117=['fire','element','target','270012Mpgzje','set','135TTuWxV','210779GqvgUn','_items','disconnect','_errorView','detail','ck-reset_all-excluded','931050iClkxh','once','retry','add','_loadingView','22OWZVSw','setTemplate','7peQMNS','_setView','change:status','_editingView','querySelector','toLowerCase','status','5092520jkJMvi','ck-uploadcare-form','apply','cancel','uc-cloud-image-editor','41908YOVLYX','6WpMaHw','render','cdnUrl','uploading','ready','observe','nodeName','6bEftFj','clear','_addErrorViewListeners','focus','_addUploadcareImageEditorListeners','_waitForImageEditorComponent','addedNodes','div','7177184nxhYIW','4559035zCQzSy','error','addEventListener','_focusableView','getFocusableElement','length','filter','createCollection','addMany'];_0x28f2=function(){return _0xb117;};return _0x28f2();}import _0x2d5bf5 from'./uploadcareimageeditformloadingview.js';import _0x3fac18 from'./uploadcareimageeditformerrorview.js';import _0x4ec107 from'./uploadcareimageeditformeditingview.js';import _0x134729 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x134729{[_0x1ac4f4(0x1a3)];[_0x1ac4f4(0x1ac)];[_0x1ac4f4(0x1a5)];[_0x1ac4f4(0x1b2)];[_0x1ac4f4(0x196)];constructor(_0x249d3a,_0xcd2a4a,_0x49200e){const _0x4a46d5=_0x1ac4f4;super(_0x249d3a),this[_0x4a46d5(0x1a3)]=this[_0x4a46d5(0x19a)](),this[_0x4a46d5(0x1ac)]=new _0x2d5bf5(_0x249d3a),this[_0x4a46d5(0x1a5)]=new _0x3fac18(_0x249d3a),this[_0x4a46d5(0x1b2)]=new _0x4ec107(_0x249d3a,_0x49200e),this[_0x4a46d5(0x196)]=new _0x25add9(_0x249d3a),this[_0x4a46d5(0x196)][_0x4a46d5(0x1ae)](this[_0x4a46d5(0x197)]()),this[_0x4a46d5(0x1a0)](_0x4a46d5(0x1b5),_0xcd2a4a),this[_0x4a46d5(0x1ae)]({'tag':_0x4a46d5(0x1ca),'attributes':{'class':['ck',_0x4a46d5(0x1a7),_0x4a46d5(0x1b7)],'tabindex':'-1'},'children':this[_0x4a46d5(0x1a3)]}),this[_0x4a46d5(0x1b0)](),this[_0x4a46d5(0x1a9)](_0x4a46d5(0x1bd),()=>{const _0x1445c3=_0x4a46d5;this[_0x1445c3(0x1c8)](this[_0x1445c3(0x19d)],_0x2c360c=>{const _0xb2a503=_0x1445c3;this[_0xb2a503(0x1c7)](_0x2c360c);});}),this['on'](_0x4a46d5(0x1b1),()=>{const _0x1986c8=_0x4a46d5;this[_0x1986c8(0x1b0)]();}),this[_0x4a46d5(0x1c5)]();}[_0x1ac4f4(0x1c6)](){const _0x310c8a=_0x1ac4f4;this[_0x310c8a(0x19d)][_0x310c8a(0x1c6)]();}[_0x1ac4f4(0x1b0)](){const _0x28b059=_0x1ac4f4;switch(this[_0x28b059(0x1a3)][_0x28b059(0x1c4)](),this[_0x28b059(0x1b5)]){case _0x28b059(0x1bf):this[_0x28b059(0x1a3)][_0x28b059(0x1ab)](this[_0x28b059(0x1ac)]);break;case _0x28b059(0x194):this[_0x28b059(0x1a3)][_0x28b059(0x1ab)](this[_0x28b059(0x1a5)]);break;case _0x28b059(0x1c0):this[_0x28b059(0x1a3)][_0x28b059(0x19b)]([this[_0x28b059(0x1b2)],this[_0x28b059(0x196)]]);}}[_0x1ac4f4(0x1c8)](_0x59e22d,_0x4fe33b){const _0x5848f9=_0x1ac4f4,_0x4b6b0e=_0x5848f9(0x1ba),_0x511c1a=_0x59e22d[_0x5848f9(0x1b3)](_0x4b6b0e);if(_0x511c1a)return _0x4fe33b(_0x511c1a);const _0x4e0bd0=new MutationObserver(_0x500cc8=>{const _0x51391e=_0x5848f9,_0x1bddb1=_0x500cc8[_0x51391e(0x199)](_0x37bc47=>_0x37bc47[_0x51391e(0x19e)]===_0x59e22d&&_0x37bc47[_0x51391e(0x1c9)][_0x51391e(0x198)]>0x0&&_0x37bc47[_0x51391e(0x1c9)][0x0][_0x51391e(0x1c2)][_0x51391e(0x1b4)]()===_0x4b6b0e);_0x1bddb1[_0x51391e(0x198)]&&(_0x4e0bd0[_0x51391e(0x1a4)](),_0x4fe33b(_0x1bddb1[0x0][_0x51391e(0x1c9)][0x0]));});_0x4e0bd0[_0x5848f9(0x1c1)](_0x59e22d,{'childList':!0x0,'subtree':!0x0});}[_0x1ac4f4(0x1c7)](_0x3a7748){const _0x5a3064=_0x1ac4f4;_0x3a7748[_0x5a3064(0x195)](_0x5a3064(0x1b8),_0x2ec895=>{const _0x50a6c7=_0x5a3064;this[_0x50a6c7(0x19c)](_0x50a6c7(0x1b8),{'imageSrc':_0x2ec895[_0x50a6c7(0x1a6)][_0x50a6c7(0x1be)]});}),_0x3a7748[_0x5a3064(0x195)](_0x5a3064(0x1b9),()=>{const _0x586130=_0x5a3064;this[_0x586130(0x19c)](_0x586130(0x1b9));});}[_0x1ac4f4(0x1c5)](){const _0x595d57=_0x1ac4f4;this[_0x595d57(0x1a5)]['on'](_0x595d57(0x1aa),()=>{const _0x10c6f=_0x595d57;this[_0x10c6f(0x19c)](_0x10c6f(0x1aa));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x330fa9=_0x3449;(function(_0x16ffcf,_0x54a7e4){const _0x2f1dac=_0x3449,_0x1cb48b=_0x16ffcf();while(!![]){try{const _0x3a8f2d=parseInt(_0x2f1dac(0x1f5))/0x1*(-parseInt(_0x2f1dac(0x1ff))/0x2)+parseInt(_0x2f1dac(0x1fe))/0x3+-parseInt(_0x2f1dac(0x200))/0x4+-parseInt(_0x2f1dac(0x1e9))/0x5+-parseInt(_0x2f1dac(0x1fd))/0x6*(parseInt(_0x2f1dac(0x1f2))/0x7)+parseInt(_0x2f1dac(0x1f3))/0x8+parseInt(_0x2f1dac(0x1fa))/0x9;if(_0x3a8f2d===_0x54a7e4)break;else _0x1cb48b['push'](_0x1cb48b['shift']());}catch(_0x1f581a){_0x1cb48b['push'](_0x1cb48b['shift']());}}}(_0x53c4,0x1ab86));import{Command as _0xe73a27}from'ckeditor5/src/core.js';import{Dialog as _0x8dbe7b}from'ckeditor5/src/ui.js';import _0x4821e2 from'./ui/uploadcareimageeditcontroller.js';function _0x53c4(){const _0x1b2e28=['bind','execute','document','_isEditable','imageEditController','plugins','413uCYHkn','1269992xqaIRa','config','503gycAOr','isEnabled','get','set','uploadcare.allowExternalImagesEditing','3016224TcWqJk','element','imageBlock','9258sBnKmW','88083GSpIGB','666eNOywA','484864RlbLXv','unbind','imageInline','requires','selection','editor','model','getSelectedElement','170240VQYjMo','isActive','refresh'];_0x53c4=function(){return _0x1b2e28;};return _0x53c4();}function _0x3449(_0x5cdc6f,_0x3d5742){const _0x53c4e1=_0x53c4();return _0x3449=function(_0x3449a6,_0xae34b4){_0x3449a6=_0x3449a6-0x1e2;let _0x39df03=_0x53c4e1[_0x3449a6];return _0x39df03;},_0x3449(_0x5cdc6f,_0x3d5742);}import{createEditabilityChecker as _0x1fb271}from'../utils/editingutils.js';export default class J extends _0xe73a27{[_0x330fa9(0x1f0)];static get[_0x330fa9(0x1e4)](){return[_0x8dbe7b];}[_0x330fa9(0x1ef)];constructor(_0x483288){const _0x558d01=_0x330fa9;super(_0x483288),this[_0x558d01(0x1f0)]=void 0x0,this[_0x558d01(0x1ef)]=_0x1fb271(_0x483288[_0x558d01(0x1f4)][_0x558d01(0x1f7)](_0x558d01(0x1f9))||[]),this[_0x558d01(0x1f8)]({'isActive':!0x1});}[_0x330fa9(0x1eb)](){const _0x546015=_0x330fa9,_0x1c1dcd=this[_0x546015(0x1e6)][_0x546015(0x1e7)][_0x546015(0x1ee)][_0x546015(0x1e5)][_0x546015(0x1e8)]();this[_0x546015(0x1f6)]=this[_0x546015(0x1ef)](_0x1c1dcd);}[_0x330fa9(0x1ed)](){const _0x2afa81=_0x330fa9;this[_0x2afa81(0x1f0)]&&(this[_0x2afa81(0x1e2)](_0x2afa81(0x1ea)),this[_0x2afa81(0x1f0)]=void 0x0);const _0x1bb475=this[_0x2afa81(0x1e6)][_0x2afa81(0x1e7)][_0x2afa81(0x1ee)][_0x2afa81(0x1e5)][_0x2afa81(0x1e8)]();_0x1bb475&&(_0x1bb475['is'](_0x2afa81(0x1fb),_0x2afa81(0x1fc))||_0x1bb475['is'](_0x2afa81(0x1fb),_0x2afa81(0x1e3)))&&(this[_0x2afa81(0x1f0)]=new _0x4821e2(this[_0x2afa81(0x1e6)],this[_0x2afa81(0x1e6)][_0x2afa81(0x1f1)][_0x2afa81(0x1f7)](_0x8dbe7b),_0x1bb475),this[_0x2afa81(0x1ec)](_0x2afa81(0x1ea))['to'](this[_0x2afa81(0x1f0)],_0x2afa81(0x1ea)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xac556a=_0x4cc2;function _0x4036(){const _0x1352fa=['add','init','2088093PdcDjt','3215230XDwxFn','20gqWzvj','937524jTgvfB','pluginName','2whulpN','UploadcareImageEditEditing','2345568HzysBx','uploadcareImageReplace','uploadcareImageEdit','220140XYyrQA','15253ZXZrzc','isPremiumPlugin','1578HuWxao','ImageUtils','requires','isOfficialPlugin','11160846dzuiQz','commands','ImageEditing'];_0x4036=function(){return _0x1352fa;};return _0x4036();}(function(_0x3b07d1,_0x1493bf){const _0x1036fb=_0x4cc2,_0x4c0b0e=_0x3b07d1();while(!![]){try{const _0x2f00e3=-parseInt(_0x1036fb(0x18e))/0x1*(parseInt(_0x1036fb(0x18c))/0x2)+parseInt(_0x1036fb(0x189))/0x3+parseInt(_0x1036fb(0x193))/0x4*(parseInt(_0x1036fb(0x18b))/0x5)+parseInt(_0x1036fb(0x180))/0x6*(-parseInt(_0x1036fb(0x194))/0x7)+-parseInt(_0x1036fb(0x190))/0x8+parseInt(_0x1036fb(0x184))/0x9+parseInt(_0x1036fb(0x18a))/0xa;if(_0x2f00e3===_0x1493bf)break;else _0x4c0b0e['push'](_0x4c0b0e['shift']());}catch(_0x530499){_0x4c0b0e['push'](_0x4c0b0e['shift']());}}}(_0x4036,0xa48c7));import{Plugin as _0x148599}from'ckeditor5/src/core.js';import{Notification as _0x24181b}from'ckeditor5/src/ui.js';import _0x27b5ae from'./uploadcareimageeditcommand.js';import _0x5e91ba from'./uploadcareimagereplacecommand.js';import _0x547b38 from'../uploadcareediting.js';function _0x4cc2(_0x2e9adc,_0x24f817){const _0x4036d2=_0x4036();return _0x4cc2=function(_0x4cc265,_0x1476c1){_0x4cc265=_0x4cc265-0x180;let _0x180a81=_0x4036d2[_0x4cc265];return _0x180a81;},_0x4cc2(_0x2e9adc,_0x24f817);}export default class g extends _0x148599{static get[_0xac556a(0x18d)](){const _0x46ba23=_0xac556a;return _0x46ba23(0x18f);}static get[_0xac556a(0x182)](){const _0x38ad7f=_0xac556a;return[_0x547b38,_0x24181b,_0x38ad7f(0x181),_0x38ad7f(0x186)];}static get[_0xac556a(0x183)](){return!0x0;}static get[_0xac556a(0x195)](){return!0x0;}[_0xac556a(0x188)](){const _0x86f9e0=_0xac556a,{editor:_0x10f43a}=this;_0x10f43a[_0x86f9e0(0x185)][_0x86f9e0(0x187)](_0x86f9e0(0x192),new _0x27b5ae(_0x10f43a)),_0x10f43a[_0x86f9e0(0x185)][_0x86f9e0(0x187)](_0x86f9e0(0x191),new _0x5e91ba(_0x10f43a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x10a930}from'ckeditor5/src/core.js';import{ButtonView as _0x2a833a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4a1012}from'ckeditor5/src/icons.js';import{createElement as _0x5798c4}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 _0x10a930{['_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 _0x15a312=this['editor'];_0x15a312['ui']['componentFactory']['add']('uploadcareImageEdit',_0x153fa1=>{const _0x1b4b31=_0x15a312['commands']['get']('uploadcareImageEdit'),_0xba0fa4=new _0x2a833a(_0x153fa1),t=_0x153fa1['t'];return _0xba0fa4['set']({'icon':_0x4a1012,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xba0fa4['bind']('isEnabled')['to'](_0x1b4b31),_0xba0fa4['bind']('isOn')['to'](_0x1b4b31,'isActive'),this['listenTo'](_0xba0fa4,'execute',()=>{_0x15a312['execute']('uploadcareImageEdit'),_0x15a312['editing']['view']['focus']();}),_0xba0fa4;}),this['_initConfig']();}['_initConfig'](){const _0x2c7aee=_0x5798c4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2c7aee),this['listenTo'](this['editor'],'destroy',()=>{_0x2c7aee['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2f02(){const _0x5caa92=['execute','isEnabled','editor','10YTeRaA','removeAttribute','model','520754EseLxh','selection','13576IRGDMv','344234xtiHNP','srcset','710335OPDbaY','24fMWMzP','sizes','imageBlock','4pVAERq','995487IClMFo','6799419nvEBCM','element','1TxnlPI','document','change','12osHbzI','getSelectedElement','217aqmkam','refresh','3732444FEmSfM','setAttributes','imageInline'];_0x2f02=function(){return _0x5caa92;};return _0x2f02();}const _0x138467=_0x4441;(function(_0x1dab17,_0x1bb44e){const _0x1b0ae4=_0x4441,_0x23f6f4=_0x1dab17();while(!![]){try{const _0x3495ad=-parseInt(_0x1b0ae4(0x181))/0x1*(parseInt(_0x1b0ae4(0x177))/0x2)+parseInt(_0x1b0ae4(0x17e))/0x3*(parseInt(_0x1b0ae4(0x17d))/0x4)+parseInt(_0x1b0ae4(0x179))/0x5*(parseInt(_0x1b0ae4(0x184))/0x6)+parseInt(_0x1b0ae4(0x186))/0x7*(parseInt(_0x1b0ae4(0x176))/0x8)+-parseInt(_0x1b0ae4(0x188))/0x9*(-parseInt(_0x1b0ae4(0x18e))/0xa)+-parseInt(_0x1b0ae4(0x17f))/0xb+-parseInt(_0x1b0ae4(0x17a))/0xc*(-parseInt(_0x1b0ae4(0x174))/0xd);if(_0x3495ad===_0x1bb44e)break;else _0x23f6f4['push'](_0x23f6f4['shift']());}catch(_0x12459d){_0x23f6f4['push'](_0x23f6f4['shift']());}}}(_0x2f02,0x5b1a4));function _0x4441(_0x2753fa,_0x1877b7){const _0x2f0288=_0x2f02();return _0x4441=function(_0x44418c,_0x931039){_0x44418c=_0x44418c-0x173;let _0x58042e=_0x2f0288[_0x44418c];return _0x58042e;},_0x4441(_0x2753fa,_0x1877b7);}import{Command as _0x47b007}from'ckeditor5/src/core.js';export default class O extends _0x47b007{[_0x138467(0x187)](){const _0xf55979=_0x138467,_0x15b290=this[_0xf55979(0x18d)][_0xf55979(0x173)][_0xf55979(0x182)][_0xf55979(0x175)][_0xf55979(0x185)]();this[_0xf55979(0x18c)]=Boolean(_0x15b290&&(_0x15b290['is'](_0xf55979(0x180),_0xf55979(0x17c))||_0x15b290['is'](_0xf55979(0x180),_0xf55979(0x18a))));}[_0x138467(0x18b)](_0x4e3801){const _0x56caad=_0x138467,_0x38467e=this[_0x56caad(0x18d)][_0x56caad(0x173)][_0x56caad(0x182)][_0x56caad(0x175)][_0x56caad(0x185)]();this[_0x56caad(0x18d)][_0x56caad(0x173)][_0x56caad(0x183)](_0x1c397a=>{const _0xa3b84e=_0x56caad;_0x1c397a[_0xa3b84e(0x189)](_0x4e3801,_0x38467e),_0x1c397a[_0xa3b84e(0x18f)](_0xa3b84e(0x178),_0x38467e),_0x1c397a[_0xa3b84e(0x18f)](_0xa3b84e(0x17b),_0x38467e);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x323967=_0x47d7;(function(_0x258f89,_0xe9a88c){var _0x34d8e7=_0x47d7,_0x1522f8=_0x258f89();while(!![]){try{var _0x1008e7=parseInt(_0x34d8e7(0x178))/0x1*(parseInt(_0x34d8e7(0x17b))/0x2)+parseInt(_0x34d8e7(0x173))/0x3+parseInt(_0x34d8e7(0x170))/0x4*(parseInt(_0x34d8e7(0x175))/0x5)+parseInt(_0x34d8e7(0x176))/0x6*(parseInt(_0x34d8e7(0x179))/0x7)+parseInt(_0x34d8e7(0x174))/0x8+parseInt(_0x34d8e7(0x16e))/0x9+-parseInt(_0x34d8e7(0x172))/0xa;if(_0x1008e7===_0xe9a88c)break;else _0x1522f8['push'](_0x1522f8['shift']());}catch(_0x5e84ce){_0x1522f8['push'](_0x1522f8['shift']());}}}(_0x1c26,0xacd87));import{Plugin as _0x293cdf}from'ckeditor5/src/core.js';function _0x1c26(){var _0x2df0da=['requires','22810410QivHqD','2232741OElAOy','8545800eeaJlG','1229325eNWccw','6dezjWy','isOfficialPlugin','729483fiLeEm','863653OlKztA','pluginName','2eKdfGR','isPremiumPlugin','700353ljJSNy','UploadcareImageEdit','4giKvsr'];_0x1c26=function(){return _0x2df0da;};return _0x1c26();}import _0x70e961 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x606db4 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x47d7(_0x16b8c8,_0x354c9d){var _0x1c2667=_0x1c26();return _0x47d7=function(_0x47d745,_0x4a1373){_0x47d745=_0x47d745-0x16e;var _0x4fabb3=_0x1c2667[_0x47d745];return _0x4fabb3;},_0x47d7(_0x16b8c8,_0x354c9d);}export default class P extends _0x293cdf{static get[_0x323967(0x17a)](){var _0x26b852=_0x323967;return _0x26b852(0x16f);}static get[_0x323967(0x171)](){return[_0x70e961,_0x606db4];}static get[_0x323967(0x177)](){return!0x0;}static get[_0x323967(0x17c)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3a29(){const _0x48f183=['destroy','isOfficialPlugin','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','config','24bqcODL','pluginName','commands','Facebook','expired','URL','_getIntegrationKey','Local','reduce','evaluationLimit','ImageInsertUI','OneDrive','uploadcareLicenseKeyExpired','_showLicenseError','shortText','usageLimit','uploadcare','_normalizeConfigSourceList','_createToolbarButton','init','_createMenuBarButtons','30eWqMPT','2811096cSMXGV','plugins','_createDropdownButtons','afterInit','uploadcareLicenseKeyUsageLimit','type','tooltip','editor','featureNotAllowed','uploadcareLicenseKeyNotAllowed','bind','isImageSelected','455lWZjka','8ByyUfN','url','104042VPiihQ','1363299bzIsFA','entries','5292644NBSkeh','_licenseKeyCheckInterval','uploadcareLicenseKeyInvalid','GDrive','uploadcareLicenseKeyValid','6369759nyYcEP','licenseKey','trialLimit','_createButton','domainLimit','map','label','execute','58638kVcWzS','isEnabled','uploadcareLicenseKeyTrialLimit','isPremiumPlugin','get','withText','GPhotos','locale','invalid','Uploadcare','UploadcareUI','3719527yryALH','uploadcareLicenseKeyEvaluationLimit','has','registerIntegration','icon','forEach','push','assetManager','upload','Insert','text','Dropbox','Replace'];_0x3a29=function(){return _0x48f183;};return _0x3a29();}const _0x359119=_0x48b7;(function(_0x5dcdae,_0x2916e9){const _0x3522a5=_0x48b7,_0x31db9b=_0x5dcdae();while(!![]){try{const _0x327e60=parseInt(_0x3522a5(0x1f6))/0x1*(-parseInt(_0x3522a5(0x21b))/0x2)+-parseInt(_0x3522a5(0x21c))/0x3+parseInt(_0x3522a5(0x21e))/0x4+parseInt(_0x3522a5(0x218))/0x5*(parseInt(_0x3522a5(0x22b))/0x6)+-parseInt(_0x3522a5(0x236))/0x7*(-parseInt(_0x3522a5(0x219))/0x8)+-parseInt(_0x3522a5(0x20c))/0x9*(parseInt(_0x3522a5(0x20b))/0xa)+parseInt(_0x3522a5(0x223))/0xb;if(_0x327e60===_0x2916e9)break;else _0x31db9b['push'](_0x31db9b['shift']());}catch(_0x490411){_0x31db9b['push'](_0x31db9b['shift']());}}}(_0x3a29,0xa6bd5));import{Plugin as _0x51e5b8}from'ckeditor5/src/core.js';import{IconDropbox as _0x4d3c37,IconFacebook as _0x57ceff,IconGoogleDrive as _0x249617,IconGooglePhotos as _0x3d80df,IconUploadcareImageUpload as _0x38c18a,IconUploadcareLink as _0x257d49,IconOneDrive as _0x11c6bd}from'ckeditor5/src/icons.js';import{ButtonView as _0x58a78b,MenuBarMenuListItemButtonView as _0x893fbc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x9f1651}from'./uploadcareconfig.js';import{getTranslation as _0x5eefc0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x48b7(_0x487660,_0x65e713){const _0x3a2928=_0x3a29();return _0x48b7=function(_0x48b7bd,_0x240b77){_0x48b7bd=_0x48b7bd-0x1ea;let _0x4a4006=_0x3a2928[_0x48b7bd];return _0x4a4006;},_0x48b7(_0x487660,_0x65e713);}export default class e extends _0x51e5b8{[_0x359119(0x224)];[_0x359119(0x21f)];static get[_0x359119(0x1f7)](){const _0x19b6e7=_0x359119;return _0x19b6e7(0x235);}static get[_0x359119(0x1f2)](){return!0x0;}static get[_0x359119(0x22e)](){return!0x0;}[_0x359119(0x209)](){const _0x13c4b7=_0x359119;this[_0x13c4b7(0x224)]=this[_0x13c4b7(0x213)][_0x13c4b7(0x1f5)][_0x13c4b7(0x22f)](_0x13c4b7(0x224));const _0x2a5382=this[_0x13c4b7(0x213)];this[_0x13c4b7(0x21f)]=setInterval(()=>{const _0x4a8112=_0x13c4b7;let _0x420cdf;for(const _0x798689 in _0x2a5382){const _0xceddb1=_0x798689,_0x4a7b1a=_0x2a5382[_0xceddb1];if(_0x4a8112(0x222)==_0x4a7b1a||_0x4a8112(0x220)==_0x4a7b1a||_0x4a8112(0x202)==_0x4a7b1a||_0x4a8112(0x1f3)==_0x4a7b1a||_0x4a8112(0x215)==_0x4a7b1a||_0x4a8112(0x237)==_0x4a7b1a||_0x4a8112(0x22d)==_0x4a7b1a||_0x4a8112(0x210)==_0x4a7b1a){delete _0x2a5382[_0xceddb1],_0x420cdf=_0x4a7b1a,clearInterval(this[_0x4a8112(0x21f)]),this[_0x4a8112(0x21f)]=void 0x0;break;}}_0x4a8112(0x220)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x233)),_0x4a8112(0x202)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x1fa)),_0x4a8112(0x1f3)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x227)),_0x4a8112(0x215)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x214),_0x4a8112(0x234)),_0x4a8112(0x237)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x1ff)),_0x4a8112(0x22d)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x225)),_0x4a8112(0x210)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x205));},0x3e8);}[_0x359119(0x20f)](){const _0x3a4f44=_0x359119,{editor:_0x94c826}=this,_0x2dafde=_0x94c826[_0x3a4f44(0x1f8)][_0x3a4f44(0x22f)](_0x3a4f44(0x206));if(!_0x2dafde)return;const _0x47ef05=this[_0x3a4f44(0x207)](_0x94c826[_0x3a4f44(0x1f5)][_0x3a4f44(0x22f)](_0x3a4f44(0x1f4)))[_0x3a4f44(0x1fe)]((_0x1b9a78,_0x1d8a0b)=>{const _0x12b0b2=_0x3a4f44,_0x15c77c=this[_0x12b0b2(0x1fc)](_0x1d8a0b[_0x12b0b2(0x211)]);return _0x1b9a78[_0x15c77c]||(_0x1b9a78[_0x15c77c]=[]),_0x1b9a78[_0x15c77c][_0x12b0b2(0x1ea)](_0x1d8a0b),_0x1b9a78;},{});_0x94c826[_0x3a4f44(0x20d)][_0x3a4f44(0x238)](_0x3a4f44(0x200))&&_0x94c826[_0x3a4f44(0x1f8)][_0x3a4f44(0x22f)](_0x3a4f44(0x206))&&Object[_0x3a4f44(0x21d)](_0x47ef05)[_0x3a4f44(0x23b)](([_0x3d1609,_0xd794a8])=>{const _0x528eb7=_0x3a4f44;_0x94c826[_0x528eb7(0x20d)][_0x528eb7(0x22f)](_0x528eb7(0x200))[_0x528eb7(0x239)]({'name':_0x3d1609,'observable':()=>_0x2dafde,'buttonViewCreator':()=>this[_0x528eb7(0x208)](_0xd794a8),'formViewCreator':()=>this[_0x528eb7(0x20e)](_0xd794a8),'menuBarButtonViewCreator':()=>this[_0x528eb7(0x20a)](_0xd794a8),'override':_0x528eb7(0x1eb)!==_0x3d1609});});}[_0x359119(0x1f1)](){const _0x3b8bc0=_0x359119;super[_0x3b8bc0(0x1f1)](),this[_0x3b8bc0(0x21f)]&&clearInterval(this[_0x3b8bc0(0x21f)]);}[_0x359119(0x207)](_0x126793){const _0x58b81f=_0x359119,{locale:_0x4f117e}=this[_0x58b81f(0x213)];return _0x126793[_0x58b81f(0x228)](_0x2d09c6=>{const _0x260b08=_0x58b81f,_0x50fba6=_0x5eefc0(_0x4f117e,_0x2d09c6,_0x260b08(0x1ed));switch(_0x2d09c6){case _0x9f1651[_0x260b08(0x1fd)]:return{'icon':_0x38c18a,'type':_0x9f1651[_0x260b08(0x1fd)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1fb)]:return{'icon':_0x257d49,'type':_0x9f1651[_0x260b08(0x1fb)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1ef)]:return{'icon':_0x4d3c37,'type':_0x9f1651[_0x260b08(0x1ef)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1f9)]:return{'icon':_0x57ceff,'type':_0x9f1651[_0x260b08(0x1f9)],..._0x50fba6};case _0x9f1651[_0x260b08(0x221)]:return{'icon':_0x249617,'type':_0x9f1651[_0x260b08(0x221)],..._0x50fba6};case _0x9f1651[_0x260b08(0x231)]:return{'icon':_0x3d80df,'type':_0x9f1651[_0x260b08(0x231)],..._0x50fba6};case _0x9f1651[_0x260b08(0x201)]:return{'icon':_0x11c6bd,'type':_0x9f1651[_0x260b08(0x201)],..._0x50fba6};}});}[_0x359119(0x1fc)](_0x1b2bca){const _0x13495b=_0x359119;switch(_0x1b2bca){case _0x9f1651[_0x13495b(0x1fd)]:return _0x13495b(0x1ec);case _0x9f1651[_0x13495b(0x1fb)]:return _0x13495b(0x21a);default:return _0x13495b(0x1eb);}}[_0x359119(0x226)](_0x229f07,_0x420b7e){const _0x59eba5=_0x359119,_0x5d0d1d=this[_0x59eba5(0x213)],_0x4cc850=new _0x229f07(_0x5d0d1d[_0x59eba5(0x232)]),_0x3ab39c=_0x5d0d1d[_0x59eba5(0x1f8)][_0x59eba5(0x22f)](_0x59eba5(0x206));return _0x4cc850[_0x59eba5(0x216)](_0x59eba5(0x22c))['to'](_0x3ab39c),_0x4cc850['on'](_0x59eba5(0x22a),()=>{const _0x2b3470=_0x59eba5;_0x3ab39c[_0x2b3470(0x22a)](_0x420b7e);}),_0x4cc850;}[_0x359119(0x208)](_0x2ca3a4){const _0x5c1a77=_0x359119,{locale:_0x2896bf}=this[_0x5c1a77(0x213)],_0x25a933=this[_0x5c1a77(0x213)][_0x5c1a77(0x20d)][_0x5c1a77(0x22f)](_0x5c1a77(0x200)),_0x1e7783=_0x2ca3a4[0x0],_0x4c1d69=this[_0x5c1a77(0x226)](_0x58a78b,_0x1e7783[_0x5c1a77(0x211)]);return _0x4c1d69[_0x5c1a77(0x23a)]=_0x1e7783[_0x5c1a77(0x23a)],_0x4c1d69[_0x5c1a77(0x216)](_0x5c1a77(0x229))['to'](_0x25a933,_0x5c1a77(0x217),_0x5885bb=>_0x5eefc0(_0x2896bf,_0x1e7783[_0x5c1a77(0x211)],_0x5885bb?_0x5c1a77(0x1f0):_0x5c1a77(0x1ed))[_0x5c1a77(0x1ee)]),_0x4c1d69[_0x5c1a77(0x212)]=!0x0,_0x4c1d69;}[_0x359119(0x20e)](_0x15b00a){const _0x555891=_0x359119,{locale:_0x2b90b2}=this[_0x555891(0x213)],_0x1100d8=this[_0x555891(0x213)][_0x555891(0x20d)][_0x555891(0x22f)](_0x555891(0x200));return _0x15b00a[_0x555891(0x228)](_0x30e809=>{const _0x258c62=_0x555891,_0x17f563=this[_0x258c62(0x226)](_0x58a78b,_0x30e809[_0x258c62(0x211)]);return _0x17f563[_0x258c62(0x230)]=!0x0,_0x17f563[_0x258c62(0x23a)]=_0x30e809[_0x258c62(0x23a)],_0x17f563[_0x258c62(0x216)](_0x258c62(0x229))['to'](_0x1100d8,_0x258c62(0x217),_0x4058a6=>_0x5eefc0(_0x2b90b2,_0x30e809[_0x258c62(0x211)],_0x4058a6?_0x258c62(0x1f0):_0x258c62(0x1ed))[_0x258c62(0x1ee)]),_0x17f563;});}[_0x359119(0x20a)](_0x486350){const _0x43bb7e=_0x359119;return _0x486350[_0x43bb7e(0x228)](_0x59e44b=>{const _0x24cb13=_0x43bb7e,_0x42c488=this[_0x24cb13(0x226)](_0x893fbc,_0x59e44b[_0x24cb13(0x211)]);return _0x42c488[_0x24cb13(0x23a)]=_0x59e44b[_0x24cb13(0x23a)],_0x42c488[_0x24cb13(0x229)]=_0x59e44b[_0x24cb13(0x204)],_0x42c488;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4eb72f}from'ckeditor5/src/core.js';import{FileRepository as _0x268961}from'ckeditor5/src/upload.js';import _0x9cfa98 from'./uploadcareediting.js';import _0x233d43 from'./utils/uploadutils.js';import{getImageUrls as _0x325bf1}from'./utils/editingutils.js';export default class p extends _0x4eb72f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x268961,_0x9cfa98];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3bef4a=this['editor'];if(!!!_0x3bef4a['config']['get']('uploadcare'))return;_0x3bef4a['plugins']['get'](_0x268961)['createUploadAdapter']=_0x4d594b=>new x(_0x4d594b,_0x3bef4a),_0x3bef4a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x35c5b2,{imageElement:_0x1aa966,data:_0x56e156})=>{_0x3bef4a['model']['change'](_0x1ee021=>{_0x1ee021['setAttribute']('uploadcareImageId',_0x56e156['uploadcareImageId'],_0x1aa966);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3e0b08,_0x25c9e8){this['loader']=_0x3e0b08,this['editor']=_0x25c9e8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x153dd2=this['editor']['config']['get']('uploadcare.pubkey'),_0x181fab=await this['loader']['file'];return _0x233d43['upload']({'file':_0x181fab,'publicKey':_0x153dd2,'signal':this['controller']['signal'],'onProgress':_0x3596d4=>{_0x3596d4&&_0x3596d4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3596d4['value']);}})['then'](async _0x42fb09=>{const {imageFallbackUrl:_0x92fd72,imageSources:_0x27ccfb}=_0x325bf1(_0x42fb09['cdnUrl'],_0x42fb09['imageInfo']['width']);return{'uploadcareImageId':_0x42fb09['uuid'],'default':_0x92fd72,'sources':_0x27ccfb};})['catch'](()=>{const _0x41b8f8=t('Cannot\x20upload\x20file:')+('\x20'+_0x181fab['name']+'.');return Promise['reject'](_0x41b8f8);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x5dce15}from'../uploadcareconfig.js';export function getTranslation(_0x4cc531,_0x55429f,_0x16cb8f){const t=_0x4cc531['t'],_0x5e4fb0=_0x4cc531['t'];switch(_0x55429f){case _0x5dce15['Local']:return{'text':_0x5e4fb0('Insert'===_0x16cb8f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5e4fb0('From\x20computer')};case _0x5dce15['URL']:return{'text':'Insert'===_0x16cb8f?_0x5e4fb0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5e4fb0('Via\x20URL')};case _0x5dce15['Dropbox']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5dce15['Facebook']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5dce15['GDrive']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5dce15['GPhotos']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5dce15['OneDrive']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x55429f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1cd633=_0x2d67;(function(_0x17bdbc,_0x40aef9){var _0x4fa219=_0x2d67,_0x3bf4f1=_0x17bdbc();while(!![]){try{var _0x5c741d=-parseInt(_0x4fa219(0x1e3))/0x1*(-parseInt(_0x4fa219(0x1df))/0x2)+-parseInt(_0x4fa219(0x1e2))/0x3*(-parseInt(_0x4fa219(0x1da))/0x4)+parseInt(_0x4fa219(0x1e0))/0x5*(parseInt(_0x4fa219(0x1d5))/0x6)+parseInt(_0x4fa219(0x1d3))/0x7*(-parseInt(_0x4fa219(0x1d7))/0x8)+-parseInt(_0x4fa219(0x1d1))/0x9+-parseInt(_0x4fa219(0x1e1))/0xa+parseInt(_0x4fa219(0x1d9))/0xb;if(_0x5c741d===_0x40aef9)break;else _0x3bf4f1['push'](_0x3bf4f1['shift']());}catch(_0x40fef0){_0x3bf4f1['push'](_0x3bf4f1['shift']());}}}(_0x32ae,0x5cb4d));import{FocusTracker as _0xe860d1}from'ckeditor5/src/utils.js';function _0x2d67(_0x426bb2,_0x1fb542){var _0x32ae47=_0x32ae();return _0x2d67=function(_0x2d6756,_0x7233b3){_0x2d6756=_0x2d6756-0x1d0;var _0x2854e2=_0x32ae47[_0x2d6756];return _0x2854e2;},_0x2d67(_0x426bb2,_0x1fb542);}import{View as _0x4e77ac,FocusCycler as _0x512927}from'ckeditor5/src/ui.js';function _0x32ae(){var _0x34ebf2=['1384JLOOSw','focusCycler','2979680PvPGDl','292700IDpULS','forwardCycle','focusTracker','div','fire','34wMWDPi','30CrKOBj','4193700rkUuMh','21XsiBTh','1751FNcuXD','getFocusableElement','4541796OjLMTv','bindTemplate','5257OXbBaJ','createCollection','620790qqdxWJ','true'];_0x32ae=function(){return _0x34ebf2;};return _0x32ae();}import'../../theme/uploadcare-form.css';export default class q extends _0x4e77ac{[_0x1cd633(0x1dc)];[_0x1cd633(0x1d8)];constructor(_0x5d097d){var _0xcd45ee=_0x1cd633;super(_0x5d097d),this[_0xcd45ee(0x1dc)]=new _0xe860d1(),this[_0xcd45ee(0x1d8)]=new _0x512927({'focusables':this[_0xcd45ee(0x1d4)](),'focusTracker':this[_0xcd45ee(0x1dc)]});}[_0x1cd633(0x1d0)](){var _0x178121=_0x1cd633;return{'tag':_0x178121(0x1dd),'attributes':{'aria-hidden':_0x178121(0x1d6),'tabindex':'0'},'on':{'focus':this[_0x178121(0x1d2)]['to'](()=>{var _0xd09c30=_0x178121;this[_0xd09c30(0x1d8)][_0xd09c30(0x1de)](_0xd09c30(0x1db));})}};}}
|