@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250604.0 → 0.0.0-nightly-20250606.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-editor.css +2 -2
- package/dist/index.css +2 -2
- 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 +11 -11
- package/src/augmentation.d.ts +4 -4
- package/src/index.d.ts +7 -7
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.d.ts +2 -2
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.d.ts +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.d.ts +3 -3
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.d.ts +2 -2
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.d.ts +2 -2
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +6 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +3 -3
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.d.ts +3 -3
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.d.ts +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.d.ts +2 -2
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.d.ts +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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
11
|
-
import UploadcareEditing from './uploadcareediting.js';
|
|
11
|
+
import { UploadcareEditing } from './uploadcareediting.js';
|
|
12
12
|
import type { UploadcareSource } from './uploadcareconfig.js';
|
|
13
13
|
/**
|
|
14
14
|
* The Uploadcare command. It is used by the {@link module:uploadcare/uploadcareediting~UploadcareEditing Uploadcare editing feature}
|
|
@@ -18,7 +18,7 @@ import type { UploadcareSource } from './uploadcareconfig.js';
|
|
|
18
18
|
* editor.execute( 'uploadcare' );
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export declare class UploadcareCommand extends Command {
|
|
22
22
|
/**
|
|
23
23
|
* @inheritDoc
|
|
24
24
|
*/
|
package/src/uploadcarecommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xb5f258=_0x279a;(function(_0x445b03,_0x597770){var _0x29ea13=_0x279a,_0x357bc7=_0x445b03();while(!![]){try{var _0x6f1b67=parseInt(_0x29ea13(0x6c))/0x1*(-parseInt(_0x29ea13(0x6b))/0x2)+-parseInt(_0x29ea13(0x67))/0x3+parseInt(_0x29ea13(0x66))/0x4+parseInt(_0x29ea13(0x64))/0x5+-parseInt(_0x29ea13(0x6d))/0x6+-parseInt(_0x29ea13(0x73))/0x7*(parseInt(_0x29ea13(0x6a))/0x8)+parseInt(_0x29ea13(0x6e))/0x9;if(_0x6f1b67===_0x597770)break;else _0x357bc7['push'](_0x357bc7['shift']());}catch(_0x204789){_0x357bc7['push'](_0x357bc7['shift']());}}}(_0x4add,0xd6ffb));function _0x4add(){var _0x530e7e=['isEnabled','7WskPoW','_editing','plugins','insertImage','commands','refresh','_checkEnabled','3229340YMOAqY','requires','5270964svQhDk','1719042DtOOlu','get','execute','6323608wegCzi','1466JxNfNR','2307DcIpUA','2432952HVwhHr','21393126ZnUKGo','destroy','editor','_controller'];_0x4add=function(){return _0x530e7e;};return _0x4add();}import{Command as _0x367541}from'ckeditor5/src/core.js';import{Dialog as _0x2e9bf8}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x18ae90}from'./uploadcareediting.js';function _0x279a(_0x494a05,_0x3dfedc){var _0x4adda5=_0x4add();return _0x279a=function(_0x279aff,_0x5632c1){_0x279aff=_0x279aff-0x64;var _0x23baeb=_0x4adda5[_0x279aff];return _0x23baeb;},_0x279a(_0x494a05,_0x3dfedc);}import{UploadcareController as _0x16c34d}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x367541{[_0xb5f258(0x74)];[_0xb5f258(0x71)]=null;static get[_0xb5f258(0x65)](){return[_0x2e9bf8,_0x18ae90];}constructor(_0x31f4a1){var _0x545858=_0xb5f258;super(_0x31f4a1),this[_0x545858(0x74)]=_0x31f4a1[_0x545858(0x75)][_0x545858(0x68)](_0x18ae90);}[_0xb5f258(0x78)](){var _0x3ec05d=_0xb5f258;this[_0x3ec05d(0x72)]=this[_0x3ec05d(0x79)]();}[_0xb5f258(0x69)](_0x4a1c00){var _0x4624bc=_0xb5f258;this[_0x4624bc(0x71)]&&(this[_0x4624bc(0x71)][_0x4624bc(0x6f)](),this[_0x4624bc(0x71)]=null),this[_0x4624bc(0x71)]=new _0x16c34d(this[_0x4624bc(0x70)],this[_0x4624bc(0x74)],_0x4a1c00);}[_0xb5f258(0x79)](){var _0x42916b=_0xb5f258;return this[_0x42916b(0x70)][_0x42916b(0x77)][_0x42916b(0x68)](_0x42916b(0x76))[_0x42916b(0x72)];}}
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xfb19ed,_0x30209b){var _0x4f5e4d=_0x542b,_0x529fad=_0xfb19ed();while(!![]){try{var _0x42562f=parseInt(_0x4f5e4d(0x184))/0x1+parseInt(_0x4f5e4d(0x183))/0x2*(-parseInt(_0x4f5e4d(0x187))/0x3)+parseInt(_0x4f5e4d(0x182))/0x4+-parseInt(_0x4f5e4d(0x188))/0x5*(parseInt(_0x4f5e4d(0x17e))/0x6)+parseInt(_0x4f5e4d(0x181))/0x7+-parseInt(_0x4f5e4d(0x18a))/0x8*(parseInt(_0x4f5e4d(0x178))/0x9)+parseInt(_0x4f5e4d(0x17c))/0xa;if(_0x42562f===_0x30209b)break;else _0x529fad['push'](_0x529fad['shift']());}catch(_0x331157){_0x529fad['push'](_0x529fad['shift']());}}}(_0x2974,0xc2802));function _0x542b(_0x20a97a,_0x13ac62){var _0x29745e=_0x2974();return _0x542b=function(_0x542bd7,_0x46dba3){_0x542bd7=_0x542bd7-0x176;var _0x5d3c0b=_0x29745e[_0x542bd7];return _0x5d3c0b;},_0x542b(_0x20a97a,_0x13ac62);}export var UploadcareSource;!function(_0xd63c8f){var _0x57700b=_0x542b;_0xd63c8f[_0x57700b(0x17d)]=_0x57700b(0x180),_0xd63c8f[_0x57700b(0x18c)]=_0x57700b(0x177),_0xd63c8f[_0x57700b(0x176)]=_0x57700b(0x17f),_0xd63c8f[_0x57700b(0x189)]=_0x57700b(0x179),_0xd63c8f[_0x57700b(0x18d)]=_0x57700b(0x185),_0xd63c8f[_0x57700b(0x17b)]=_0x57700b(0x186),_0xd63c8f[_0x57700b(0x17a)]=_0x57700b(0x18b);}(UploadcareSource||(UploadcareSource={}));function _0x2974(){var _0x34aadf=['gdrive','OneDrive','GPhotos','31473750GfWNpS','Local','4452ZQOwuk','dropbox','local','5419848wBxvim','489352gGOIvQ','52410IZxiPT','39705zkpVes','facebook','gphotos','111eFYIQa','8685epfqRY','GDrive','8XbugVe','onedrive','URL','Facebook','Dropbox','url','9257121fXknJb'];_0x2974=function(){return _0x34aadf;};return _0x2974();}
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
10
|
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
11
|
-
import UploadcareUploadAdapter from './uploadcareuploadadapter.js';
|
|
11
|
+
import { UploadcareUploadAdapter } from './uploadcareuploadadapter.js';
|
|
12
12
|
import type { UploaderBlock } from '@uploadcare/file-uploader';
|
|
13
13
|
/**
|
|
14
14
|
* The Uploadcare editing feature. It introduces the {@link module:uploadcare/uploadcarecommand~UploadcareCommand command}.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare class UploadcareEditing extends Plugin {
|
|
17
17
|
/**
|
|
18
18
|
* @inheritDoc
|
|
19
19
|
*/
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1cba41=_0x4c02;(function(_0x2214b7,_0x480402){const _0x8515c4=_0x4c02,_0x46be28=_0x2214b7();while(!![]){try{const _0x4dfb2a=-parseInt(_0x8515c4(0x1f2))/0x1+parseInt(_0x8515c4(0x1dc))/0x2+parseInt(_0x8515c4(0x1d5))/0x3+-parseInt(_0x8515c4(0x209))/0x4*(-parseInt(_0x8515c4(0x1ff))/0x5)+-parseInt(_0x8515c4(0x1c3))/0x6+parseInt(_0x8515c4(0x1bf))/0x7*(-parseInt(_0x8515c4(0x1ea))/0x8)+-parseInt(_0x8515c4(0x1f8))/0x9*(-parseInt(_0x8515c4(0x1e2))/0xa);if(_0x4dfb2a===_0x480402)break;else _0x46be28['push'](_0x46be28['shift']());}catch(_0xc41055){_0x46be28['push'](_0x46be28['shift']());}}}(_0x304b,0xca307));import{Plugin as _0x5e3456}from'ckeditor5/src/core.js';import{Dialog as _0xbd5622}from'ckeditor5/src/ui.js';function _0x4c02(_0x44fa99,_0x1c6622){const _0x304b6a=_0x304b();return _0x4c02=function(_0x4c02a8,_0x104d2b){_0x4c02a8=_0x4c02a8-0x1b7;let _0xedefef=_0x304b6a[_0x4c02a8];return _0xedefef;},_0x4c02(_0x44fa99,_0x1c6622);}import{createElement as _0xef758e,global as _0x42f9b4,uid as _0x3ec2a7}from'ckeditor5/src/utils.js';import _0x148ffa from'./uploadcarecommand.js';import _0x491209 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2fb543}from'./utils/editingutils.js';export default class i extends _0x5e3456{[_0x1cba41(0x1d2)]=null;[_0x1cba41(0x1cd)]=null;static get[_0x1cba41(0x1ec)](){const _0x2d7130=_0x1cba41;return _0x2d7130(0x1dd);}static get[_0x1cba41(0x1e0)](){const _0x3d17ae=_0x1cba41;return[_0x3d17ae(0x1de),_0x491209,_0xbd5622];}static get[_0x1cba41(0x1fe)](){return!0x0;}static get[_0x1cba41(0x1bd)](){return!0x0;}get[_0x1cba41(0x1c7)](){const _0x37b121=_0x1cba41;return this[_0x37b121(0x1d2)];}get[_0x1cba41(0x1c8)](){const _0x3a5e41=_0x1cba41;return this[_0x3a5e41(0x1cd)];}[_0x1cba41(0x1e6)](){const _0x4c15c4=_0x1cba41,_0x1086c9=this[_0x4c15c4(0x202)];_0x1086c9[_0x4c15c4(0x1d1)][_0x4c15c4(0x1ce)](_0x4c15c4(0x1c6),new _0x148ffa(_0x1086c9));}[_0x1cba41(0x1ee)](){const _0x560d50=_0x1cba41;this[_0x560d50(0x1f1)](),this[_0x560d50(0x206)](),this[_0x560d50(0x1db)](),this[_0x560d50(0x205)](),this[_0x560d50(0x1d6)](),this[_0x560d50(0x1ef)](this[_0x560d50(0x202)],_0x560d50(0x1d8),()=>{const _0x2c8183=_0x560d50;this[_0x2c8183(0x1d2)]&&(this[_0x2c8183(0x1d2)][_0x2c8183(0x1e3)](),this[_0x2c8183(0x1d2)]=null),this[_0x2c8183(0x1cd)]&&(this[_0x2c8183(0x1cd)][_0x2c8183(0x1e3)](),this[_0x2c8183(0x1cd)]=null);const _0x20bbc8=_0x42f9b4[_0x2c8183(0x1cf)][_0x2c8183(0x1b9)](_0x2c8183(0x1e1));_0x20bbc8&&_0x20bbc8[_0x2c8183(0x1e3)]();}),async function(_0x23029e){const _0x29a61c=_0x3792b0([0x77,0x44,0x62,0x70,0x37,0x50,0x5a,0x61,0x4a,0x42,0x52,0x31,0x4e,0x43,0x35,0x34,0x49,0x39,0x63,0x38,0x7a,0x6d,0x65,0x55,0x74,0x33,0x73,0x41,0x36,0x45,0x30,0x6a,0x57,0x76,0x64,0x56,0x6c,0x4c,0x47,0x4b,0x59,0x58,0x68,0x75,0x71,0x79,0x53,0x66,0x72,0x48,0x6e,0x4d,0x67,0x51,0x4f,0x6f,0x69,0x32,0x54,0x6b,0x78,0x46]),_0x39ed28=0x278c786c,_0x1c3aaa=0x278b11a4^_0x39ed28,_0x2b05f0=window[_0x3792b0([0x44,0x61,0x74,0x65])][_0x3792b0([0x6e,0x6f,0x77])](),_0x4c18bb=_0x23029e[_0x3792b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11a3dc=new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26f09f=>{_0x4c18bb[_0x3792b0([0x6f,0x6e,0x63,0x65])](_0x3792b0([0x72,0x65,0x61,0x64,0x79]),_0x26f09f);}),_0x477d9b={[_0x3792b0([0x6b,0x74,0x79])]:_0x3792b0([0x45,0x43]),[_0x3792b0([0x75,0x73,0x65])]:_0x3792b0([0x73,0x69,0x67]),[_0x3792b0([0x63,0x72,0x76])]:_0x3792b0([0x50,0x2d,0x32,0x35,0x36]),[_0x3792b0([0x78])]:_0x3792b0([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]),[_0x3792b0([0x79])]:_0x3792b0([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]),[_0x3792b0([0x61,0x6c,0x67])]:_0x3792b0([0x45,0x53,0x32,0x35,0x36])},_0x1bfc3d=_0x4c18bb[_0x3792b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3792b0([0x67,0x65,0x74])](_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39cca7(){let _0xf2ace5,_0x79941b=null,_0x6abc5f=null;try{if(_0x1bfc3d==_0x3792b0([0x47,0x50,0x4c]))return _0x3792b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf2ace5=_0x3cfec6(),!_0xf2ace5)return _0x3792b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf2ace5[_0x3792b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6abc5f=_0xd8f8ce(_0xf2ace5[_0x3792b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf2ace5[_0x3792b0([0x6a,0x74,0x69])])),await _0x37cde0()?_0x28338a()?_0x3ea708()?_0x3792b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x773a07()?(_0xf2ace5[_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3792b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x79941b=_0x66a3c8(_0x3792b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf2ace5[_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3792b0([0x74,0x72,0x69,0x61,0x6c])&&(_0x79941b=_0x66a3c8(_0x3792b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b7e3e()):_0x3792b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3792b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3792b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3792b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ea708(){const _0x256480=[_0x3792b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3792b0([0x74,0x72,0x69,0x61,0x6c])][_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2ace5[_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b05f0/0x3e8:0xe10*_0x1c3aaa;return _0xf2ace5[_0x3792b0([0x65,0x78,0x70])]<_0x256480;}function _0x28338a(){const _0x2718f5=_0xf2ace5[_0x3792b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2718f5&&(!!_0x2718f5[_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3792b0([0x2a]))||!!_0x2718f5[_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3792b0([0x55,0x50,0x4c,0x43])));}function _0x773a07(){const _0x402405=_0x4c02,_0x47af4d=_0xf2ace5[_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47af4d||0x0==_0x47af4d[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54327d}=new URL(window[_0x3792b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x402405(0x1fc)]);if(_0x47af4d[_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54327d))return!0x0;const _0x7c485a=_0x54327d[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])](_0x3792b0([0x2e]));return _0x47af4d[_0x3792b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x240fb7=>_0x240fb7[_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3792b0([0x2a])))[_0x3792b0([0x6d,0x61,0x70])](_0x295ae7=>_0x295ae7[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])](_0x3792b0([0x2e])))[_0x3792b0([0x73,0x6f,0x6d,0x65])](_0xbcf114=>_0x7c485a[_0x3792b0([0x65,0x76,0x65,0x72,0x79])]((_0x33399a,_0x33e525)=>_0xbcf114[_0x33e525]===_0x33399a||_0xbcf114[_0x33e525]===_0x3792b0([0x2a])));}function _0x2b7e3e(){return _0x79941b&&_0x6abc5f?new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb4b1bd,_0x3fa048)=>{_0x79941b[_0x3792b0([0x74,0x68,0x65,0x6e])](_0xb4b1bd,_0x3fa048),_0x6abc5f[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x1804f2=>{_0x1804f2!=_0x3792b0([0x56,0x61,0x6c,0x69,0x64])&&_0xb4b1bd(_0x1804f2);},_0x3fa048);}):_0x79941b||_0x6abc5f||_0x3792b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd8f8ce(_0x96acf0,_0x22ecbd){return new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x94c49c=>{if(_0x26170b())return _0x94c49c(_0x3792b0([0x56,0x61,0x6c,0x69,0x64]));_0x20e80f(),_0x4c18bb[_0x3792b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3792b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x185044=!0x1;const _0x2f9564=_0x3ec2a7();function _0x25b76d(_0x184973){return!!_0x184973&&(typeof _0x184973===_0x3792b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x184973===_0x3792b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x184973[_0x3792b0([0x74,0x68,0x65,0x6e])]===_0x3792b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x184973[_0x3792b0([0x63,0x61,0x74,0x63,0x68])]===_0x3792b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa3dd1b(_0x578127){_0x19ce3c(_0x578127)[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x3e5e45=>{if(!_0x3e5e45||_0x3e5e45[_0x3792b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3792b0([0x6f,0x6b]))return _0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ebd05(_0x2d7c48(_0x2f9564+_0x22ecbd))!=_0x3e5e45[_0x3792b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3792b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x32dbb9=>(_0x2615bd(),_0x32dbb9),()=>{const _0x20ddd1=_0x5a0a4d();return null==_0x20ddd1?(_0x2615bd(),_0x3792b0([0x56,0x61,0x6c,0x69,0x64])):_0x3792b0(_0x2b05f0-_0x20ddd1>(0x380fc6c^_0x39ed28)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x94c49c)[_0x3792b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x94c49c(_0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x543941=0x27ba96ec^_0x39ed28;function _0x2615bd(){const _0x2c38a8=_0x3792b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ebd05(_0x2d7c48(_0x96acf0)),_0x4bd59f=_0x489650(_0x4ebd05(window[_0x3792b0([0x4d,0x61,0x74,0x68])][_0x3792b0([0x63,0x65,0x69,0x6c])](_0x2b05f0/_0x543941)));window[_0x3792b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3792b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c38a8,_0x4bd59f);}function _0x5a0a4d(){const _0x2273d8=_0x3792b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ebd05(_0x2d7c48(_0x96acf0)),_0x3d4cc5=window[_0x3792b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3792b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2273d8);return _0x3d4cc5?window[_0x3792b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x489650(_0x3d4cc5),0x10)*_0x543941:null;}function _0x19ce3c(_0x197707){return new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x232431,_0x281530)=>{_0x197707[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x232431,_0x281530),window[_0x3792b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x281530,0x278dacac^_0x39ed28);});}}_0x4c18bb[_0x3792b0([0x6f,0x6e])](_0x3792b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39ff81,_0x505dc0)=>{if(_0x505dc0[0x0]!=_0x96acf0)return _0x94c49c(_0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x505dc0[0x1]={..._0x505dc0[0x1],[_0x3792b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f9564};},{[_0x3792b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3792b0([0x68,0x69,0x67,0x68])}),_0x4c18bb[_0x3792b0([0x6f,0x6e])](_0x3792b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e2fff=>{_0x25b76d(_0x3e2fff[_0x3792b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x185044=!0x0,_0xa3dd1b(_0x3e2fff[_0x3792b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3792b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3792b0([0x6c,0x6f,0x77])}),_0x11a3dc[_0x3792b0([0x74,0x68,0x65,0x6e])](()=>{_0x185044||_0x94c49c(_0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26170b(){return _0x4c18bb[_0x3792b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3792b0([0x76,0x69,0x65,0x77])][_0x3792b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3792b0([0x61,0x75,0x74,0x6f]);}function _0x20e80f(){_0x4c18bb[_0x3792b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3792b0([0x76,0x69,0x65,0x77])][_0x3792b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3792b0([0x61,0x75,0x74,0x6f]);}}function _0x66a3c8(_0x5bb14e){const _0x237b58=[new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36085e=>setTimeout(_0x36085e,0x278546a0^_0x39ed28)),_0x11a3dc[_0x3792b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x151377=>{let _0xb4d361=0x0;_0x4c18bb[_0x3792b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3792b0([0x6f,0x6e])](_0x3792b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xdb8796,_0x1e031c)=>{_0x1e031c[0x0][_0x3792b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb4d361++,_0xb4d361==(0x278c7994^_0x39ed28)&&(_0x151377(),_0xdb8796[_0x3792b0([0x6f,0x66,0x66])]());});}))];return window[_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3792b0([0x72,0x61,0x63,0x65])](_0x237b58)[_0x3792b0([0x74,0x68,0x65,0x6e])](()=>_0x5bb14e);}async function _0x7a0c7b(){await _0x11a3dc,_0x4c18bb[_0x3792b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3792b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22b957,_0x4c18bb[_0x3792b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3792b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22b957,_0x4c18bb[_0x3792b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3792b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48fd43(_0x327514){const _0x1749e4=_0x239674();_0x4c18bb[_0x1749e4]=_0x3792b0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x327514,_0x327514!=_0x3792b0([0x56,0x61,0x6c,0x69,0x64])&&_0x7a0c7b();}function _0x239674(){const _0x4a18e1=window[_0x3792b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3792b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3792b0([0x6e,0x6f,0x77])]())[_0x3792b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3792b0([0x2e]),'');let _0x102e93=_0x3792b0([0x77]);for(let _0x2cb3a0=0x0;_0x2cb3a0<_0x4a18e1[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cb3a0+=0x2){let _0x5ab484=window[_0x3792b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a18e1[_0x3792b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cb3a0,_0x2cb3a0+0x2));_0x5ab484>=_0x29a61c[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ab484-=_0x29a61c[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x102e93+=_0x29a61c[_0x5ab484];}return _0x102e93;}function _0x3cfec6(){const _0x496d3f=_0x1bfc3d[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])](_0x3792b0([0x2e]));if(0x3!=_0x496d3f[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c8f78(_0x496d3f[0x1]);function _0x3c8f78(_0x39017e){const _0x352869=_0x1bc6c5(_0x39017e);return _0x352869&&_0x3d81d2()?_0x352869:null;function _0x3d81d2(){const _0xbd0c11=_0x352869[_0x3792b0([0x6a,0x74,0x69])],_0x3e596c=window[_0x3792b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbd0c11[_0x3792b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbd0c11[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40b972={..._0x352869,[_0x3792b0([0x6a,0x74,0x69])]:_0xbd0c11[_0x3792b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xbd0c11[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40b972[_0x3792b0([0x76,0x63])],_0x2d7c48(_0x40b972)==_0x3e596c;}}}async function _0x37cde0(){let _0x272ba0=!0x0;try{const _0x29f4fb=_0x1bfc3d[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])](_0x3792b0([0x2e])),[_0x17f774,_0x154f23,_0x12541b]=_0x29f4fb;return _0x2689e1(_0x17f774),await _0x322845(_0x17f774,_0x154f23,_0x12541b),_0x272ba0;}catch{return!0x1;}function _0x2689e1(_0x28fabb){const _0x1bfbd7=_0x1bc6c5(_0x28fabb);_0x1bfbd7&&_0x1bfbd7[_0x3792b0([0x61,0x6c,0x67])]==_0x3792b0([0x45,0x53,0x32,0x35,0x36])||(_0x272ba0=!0x1);}async function _0x322845(_0x3a9889,_0x48d53b,_0x2ad859){const _0x9f016=window[_0x3792b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3792b0([0x66,0x72,0x6f,0x6d])](_0x3e0208(_0x2ad859),_0x3291da=>_0x3291da[_0x3792b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41928a=new window[(_0x3792b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3792b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a9889+_0x3792b0([0x2e])+_0x48d53b),_0x28fa8b=window[_0x3792b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3792b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28fa8b)return;const _0x270d96=await _0x28fa8b[_0x3792b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3792b0([0x6a,0x77,0x6b]),_0x477d9b,{[_0x3792b0([0x6e,0x61,0x6d,0x65])]:_0x3792b0([0x45,0x43,0x44,0x53,0x41]),[_0x3792b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3792b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3792b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28fa8b[_0x3792b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3792b0([0x6e,0x61,0x6d,0x65])]:_0x3792b0([0x45,0x43,0x44,0x53,0x41]),[_0x3792b0([0x68,0x61,0x73,0x68])]:{[_0x3792b0([0x6e,0x61,0x6d,0x65])]:_0x3792b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x270d96,_0x9f016,_0x41928a)||(_0x272ba0=!0x1);}}function _0x1bc6c5(_0x56892b){return _0x56892b[_0x3792b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3792b0([0x65,0x79]))?JSON[_0x3792b0([0x70,0x61,0x72,0x73,0x65])](_0x3e0208(_0x56892b)):null;}function _0x3e0208(_0x4080c0){return window[_0x3792b0([0x61,0x74,0x6f,0x62])](_0x4080c0[_0x3792b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3792b0([0x2b]))[_0x3792b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3792b0([0x2f])));}function _0x2d7c48(_0x46effb){let _0x1074d4=0x1505;function _0x5376cd(_0x14ec33){for(let _0x29cd13=0x0;_0x29cd13<_0x14ec33[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29cd13++){const _0x73c560=_0x14ec33[_0x3792b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29cd13);_0x1074d4=(_0x1074d4<<0x5)+_0x1074d4+_0x73c560,_0x1074d4&=_0x1074d4;}}function _0x10fc22(_0x1369e9){Array[_0x3792b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1369e9)?_0x1369e9[_0x3792b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10fc22):_0x1369e9&&typeof _0x1369e9==_0x3792b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3792b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1369e9)[_0x3792b0([0x73,0x6f,0x72,0x74])]()[_0x3792b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a4156,_0xfc1da])=>{_0x5376cd(_0x2a4156),_0x10fc22(_0xfc1da);}):_0x5376cd(window[_0x3792b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1369e9));}return _0x10fc22(_0x46effb),_0x1074d4>>>0x0;}function _0x4ebd05(_0x10fa0c){return _0x10fa0c[_0x3792b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3792b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3792b0([0x30]));}function _0x489650(_0x10067e){return _0x10067e[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3792b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3792b0([0x6a,0x6f,0x69,0x6e])]('');}function _0x22b957(){}function _0x3792b0(_0x2a1d18){const _0x51c19a=_0x4c02;return _0x2a1d18[_0x51c19a(0x1fb)](_0x5c77e7=>String[_0x51c19a(0x1d9)](_0x5c77e7))[_0x51c19a(0x1f0)]('');}_0x48fd43(await _0x39cca7());}(this);}[_0x1cba41(0x1f1)](){const _0x4fac83=_0x1cba41,_0x50401c=this[_0x4fac83(0x202)][_0x4fac83(0x1e7)][_0x4fac83(0x1f5)];_0x50401c[_0x4fac83(0x1cc)](_0x4fac83(0x1b7))&&_0x50401c[_0x4fac83(0x1e9)](_0x4fac83(0x1b7),{'allowAttributes':[_0x4fac83(0x1c9)]}),_0x50401c[_0x4fac83(0x1cc)](_0x4fac83(0x1cb))&&_0x50401c[_0x4fac83(0x1e9)](_0x4fac83(0x1cb),{'allowAttributes':[_0x4fac83(0x1c9)]});}[_0x1cba41(0x206)](){const _0x752474=_0x1cba41,_0x39bc21=this[_0x752474(0x202)];_0x39bc21[_0x752474(0x1da)][_0x752474(0x1f7)](_0x752474(0x1b8))[_0x752474(0x1ca)]({'model':_0x752474(0x1c9),'view':_0x752474(0x1d3)}),_0x39bc21[_0x752474(0x1da)][_0x752474(0x1f7)](_0x752474(0x1be))[_0x752474(0x20a)]({'model':{'key':_0x752474(0x1c9),'value':_0x1c6cf0=>_0x1c6cf0[_0x752474(0x204)](_0x752474(0x1d3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1751da=_0x39bc21[_0x752474(0x1d1)][_0x752474(0x200)](_0x752474(0x1ed));_0x1751da&&this[_0x752474(0x1ef)](_0x1751da,_0x752474(0x208),(_0x57f180,[_0x1f1184,_0x4f998d])=>{const _0x1fbfac=_0x752474;_0x1f1184[_0x1fbfac(0x1e4)](_0x1fbfac(0x1c9),_0x4f998d);});}[_0x1cba41(0x1db)](){const _0x30f047=_0x1cba41,_0x4a7ac9=this[_0x30f047(0x202)][_0x30f047(0x1c4)][_0x30f047(0x200)](_0x30f047(0x1f3))||{},_0x4edfce=this[_0x30f047(0x202)][_0x30f047(0x1c4)][_0x30f047(0x200)](_0x30f047(0x1c5))||'';this[_0x30f047(0x1d2)]=_0xef758e(_0x42f9b4[_0x30f047(0x1cf)],_0x30f047(0x1bc),{..._0x4a7ac9,'pubkey':_0x4edfce,'ctx-name':_0x30f047(0x1f4),'sourceList':'','imgOnly':_0x30f047(0x1f6),'removeCopyright':_0x30f047(0x1f6),'localeName':this[_0x30f047(0x202)][_0x30f047(0x1d7)][_0x30f047(0x1d4)],'externalSourcesEmbedCss':_0x30f047(0x1d0)}),this[_0x30f047(0x1d2)][_0x30f047(0x1df)]=_0x1205ef=>{const _0x3874f7=_0x30f047;if(_0x3874f7(0x1eb)==_0x1205ef)return _0x3874f7(0x1f9);},_0x42f9b4[_0x30f047(0x1cf)][_0x30f047(0x1c0)][_0x30f047(0x1e5)](this[_0x30f047(0x1d2)]);}[_0x1cba41(0x205)](){const _0x30f6cc=_0x1cba41;this[_0x30f6cc(0x1cd)]=_0xef758e(_0x42f9b4[_0x30f6cc(0x1cf)],_0x30f6cc(0x1fd),{'ctx-name':_0x30f6cc(0x1f4)}),_0x42f9b4[_0x30f6cc(0x1cf)][_0x30f6cc(0x1c0)][_0x30f6cc(0x1e5)](this[_0x30f6cc(0x1cd)]);}[_0x1cba41(0x1d6)](){const _0x4bf31c=_0x1cba41,_0x3620ee=this[_0x4bf31c(0x202)][_0x4bf31c(0x1d1)][_0x4bf31c(0x200)](_0x4bf31c(0x1ba));_0x3620ee&&this[_0x4bf31c(0x1ef)](_0x3620ee,_0x4bf31c(0x203),()=>{const _0x23db31=_0x4bf31c,_0x2bc31d=this[_0x23db31(0x202)][_0x23db31(0x1e7)][_0x23db31(0x1cf)][_0x23db31(0x1e8)][_0x23db31(0x201)]();_0x2bc31d&&_0x2bc31d[_0x23db31(0x204)](_0x23db31(0x1c9))&&this[_0x23db31(0x202)][_0x23db31(0x1c2)][_0x23db31(0x1fa)][_0x23db31(0x1c1)](_0x23db31(0x207),()=>{const _0x207efa=_0x23db31;_0x2fb543(this[_0x207efa(0x202)],_0x2bc31d);});});const _0x223230=this[_0x4bf31c(0x202)][_0x4bf31c(0x1d1)][_0x4bf31c(0x200)](_0x4bf31c(0x1bb));_0x223230&&this[_0x4bf31c(0x1ef)](_0x223230,_0x4bf31c(0x203),()=>{const _0x35324e=_0x4bf31c,_0x150f30=this[_0x35324e(0x202)][_0x35324e(0x1e7)][_0x35324e(0x1cf)][_0x35324e(0x1e8)][_0x35324e(0x201)]();_0x150f30&&_0x150f30[_0x35324e(0x204)](_0x35324e(0x1c9))&&this[_0x35324e(0x202)][_0x35324e(0x1c2)][_0x35324e(0x1fa)][_0x35324e(0x1c1)](_0x35324e(0x207),()=>{const _0x141a2b=_0x35324e;_0x2fb543(this[_0x141a2b(0x202)],_0x150f30);});});}}function _0x304b(){const _0x23b6da=['editing','2986158HIHdwy','config','uploadcare.pubkey','uploadcare','configElement','ctxElement','uploadcareImageId','attributeToAttribute','imageInline','isRegistered','_ctxElement','add','document','\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','commands','_configElement','data-uc-image-id','contentLanguage','2221065OsOLWa','_initImageProcessingIndicator','locale','destroy','fromCharCode','conversion','_initConfig','1331202PJmAuW','UploadcareEditing','PictureEditing','iconHrefResolver','requires','input[uploadcare-file-input]','46130iHtcJB','remove','removeAttribute','appendChild','init','model','selection','extend','9343944uQZgnX','closeMax','pluginName','replaceImageSource','afterInit','listenTo','join','_initSchema','1201239KCNeov','uploadcare.uploader','uploader','schema','true','for','2682itipIV','#uc-icon-arrow-down','view','map','href','uc-upload-ctx-provider','isOfficialPlugin','5KRlSSo','get','getSelectedElement','editor','execute','getAttribute','_initCtx','_initConversion','render','cleanupImage','3657848dVRDFA','elementToAttribute','imageBlock','downcast','querySelector','insertImage','uploadcareImageReplace','uc-config','isPremiumPlugin','upcast','7NCrGcj','body','once'];_0x304b=function(){return _0x23b6da;};return _0x304b();}
|
|
23
|
+
const _0x1c2ad8=_0x29dd;function _0x5dbd(){const _0x4a8dd0=['remove','imageInline','contentLanguage','true','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','render','requires','iconHrefResolver','5409tEbVJO','document','uploadcare.pubkey','uploader','configElement','href','uc-upload-ctx-provider','model','join','pluginName','385470rQCNmj','4eRxgUK','upcast','#uc-icon-arrow-down','closeMax','insertImage','downcast','afterInit','imageBlock','_configElement','uploadcareImageId','elementToAttribute','uploadcareImageReplace','editing','PictureEditing','8CYqYgN','once','getAttribute','_initConfig','selection','body','5369683KAPcvg','2LoslZX','isRegistered','isPremiumPlugin','extend','_initCtx','26280ergHmB','appendChild','input[uploadcare-file-input]','config','listenTo','_initSchema','commands','querySelector','3558663ChBPTR','_initConversion','1249651OyLNwq','schema','isOfficialPlugin','data-uc-image-id','removeAttribute','add','uploadcare.uploader','fromCharCode','_initImageProcessingIndicator','replaceImageSource','conversion','_ctxElement','map','3631340YrBgLJ','ctxElement','getSelectedElement','UploadcareEditing','execute','3947447LkvEYl','attributeToAttribute','for','uc-config','destroy','view','editor','cleanupImage','uploadcare','locale','init','get'];_0x5dbd=function(){return _0x4a8dd0;};return _0x5dbd();}(function(_0x14f4c1,_0x52a4d2){const _0x11b0c0=_0x29dd,_0x2f1979=_0x14f4c1();while(!![]){try{const _0x4e1544=parseInt(_0x11b0c0(0x205))/0x1*(-parseInt(_0x11b0c0(0x1f6))/0x2)+parseInt(_0x11b0c0(0x203))/0x3+-parseInt(_0x11b0c0(0x1e1))/0x4*(parseInt(_0x11b0c0(0x212))/0x5)+-parseInt(_0x11b0c0(0x1e0))/0x6+-parseInt(_0x11b0c0(0x217))/0x7*(-parseInt(_0x11b0c0(0x1ef))/0x8)+parseInt(_0x11b0c0(0x22b))/0x9*(parseInt(_0x11b0c0(0x1fb))/0xa)+-parseInt(_0x11b0c0(0x1f5))/0xb;if(_0x4e1544===_0x52a4d2)break;else _0x2f1979['push'](_0x2f1979['shift']());}catch(_0xe961d4){_0x2f1979['push'](_0x2f1979['shift']());}}}(_0x5dbd,0xc39e5));function _0x29dd(_0xaf46ef,_0x3c4483){const _0x5dbdf4=_0x5dbd();return _0x29dd=function(_0x29dd44,_0xe36596){_0x29dd44=_0x29dd44-0x1d7;let _0x3b44e7=_0x5dbdf4[_0x29dd44];return _0x3b44e7;},_0x29dd(_0xaf46ef,_0x3c4483);}import{Plugin as _0x958d01}from'ckeditor5/src/core.js';import{Dialog as _0x145852}from'ckeditor5/src/ui.js';import{createElement as _0x3cad2b,global as _0x25c710,uid as _0x4c5476}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x291b34}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x113a84}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x43b4d5}from'./utils/editingutils.js';export class UploadcareEditing extends _0x958d01{[_0x1c2ad8(0x1e9)]=null;[_0x1c2ad8(0x210)]=null;static get[_0x1c2ad8(0x1df)](){const _0x2b8377=_0x1c2ad8;return _0x2b8377(0x215);}static get[_0x1c2ad8(0x229)](){const _0x4f87e8=_0x1c2ad8;return[_0x4f87e8(0x1ee),_0x113a84,_0x145852];}static get[_0x1c2ad8(0x207)](){return!0x0;}static get[_0x1c2ad8(0x1f8)](){return!0x0;}get[_0x1c2ad8(0x1da)](){const _0x27af0b=_0x1c2ad8;return this[_0x27af0b(0x1e9)];}get[_0x1c2ad8(0x213)](){const _0x3eb22f=_0x1c2ad8;return this[_0x3eb22f(0x210)];}[_0x1c2ad8(0x221)](){const _0x3e91e2=_0x1c2ad8,_0x5c6aa3=this[_0x3e91e2(0x21d)];_0x5c6aa3[_0x3e91e2(0x201)][_0x3e91e2(0x20a)](_0x3e91e2(0x21f),new _0x291b34(_0x5c6aa3));}[_0x1c2ad8(0x1e7)](){const _0x38a70f=_0x1c2ad8;this[_0x38a70f(0x200)](),this[_0x38a70f(0x204)](),this[_0x38a70f(0x1f2)](),this[_0x38a70f(0x1fa)](),this[_0x38a70f(0x20d)](),this[_0x38a70f(0x1ff)](this[_0x38a70f(0x21d)],_0x38a70f(0x21b),()=>{const _0xe4f28e=_0x38a70f;this[_0xe4f28e(0x1e9)]&&(this[_0xe4f28e(0x1e9)][_0xe4f28e(0x223)](),this[_0xe4f28e(0x1e9)]=null),this[_0xe4f28e(0x210)]&&(this[_0xe4f28e(0x210)][_0xe4f28e(0x223)](),this[_0xe4f28e(0x210)]=null);const _0x1dc730=_0x25c710[_0xe4f28e(0x1d7)][_0xe4f28e(0x202)](_0xe4f28e(0x1fd));_0x1dc730&&_0x1dc730[_0xe4f28e(0x223)]();}),async function(_0x24eb8d){const _0x56eb0e=_0x335f96([0x7a,0x32,0x75,0x55,0x33,0x6d,0x74,0x72,0x42,0x4c,0x37,0x71,0x77,0x4b,0x78,0x45,0x36,0x52,0x35,0x66,0x50,0x56,0x4e,0x63,0x34,0x44,0x57,0x70,0x73,0x4d,0x6a,0x58,0x5a,0x6f,0x30,0x43,0x6e,0x53,0x48,0x59,0x6b,0x67,0x76,0x4f,0x69,0x54,0x49,0x61,0x39,0x65,0x79,0x38,0x31,0x47,0x62,0x51,0x4a,0x41,0x6c,0x46,0x64,0x68]),_0x229518=0x46e70fe5,_0x12390a=0x46e0661d^_0x229518,_0x23ae8d=window[_0x335f96([0x44,0x61,0x74,0x65])][_0x335f96([0x6e,0x6f,0x77])](),_0x10189c=_0x24eb8d[_0x335f96([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e7eba=new window[(_0x335f96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x100323=>{_0x10189c[_0x335f96([0x6f,0x6e,0x63,0x65])](_0x335f96([0x72,0x65,0x61,0x64,0x79]),_0x100323);}),_0x52070f={[_0x335f96([0x6b,0x74,0x79])]:_0x335f96([0x45,0x43]),[_0x335f96([0x75,0x73,0x65])]:_0x335f96([0x73,0x69,0x67]),[_0x335f96([0x63,0x72,0x76])]:_0x335f96([0x50,0x2d,0x32,0x35,0x36]),[_0x335f96([0x78])]:_0x335f96([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]),[_0x335f96([0x79])]:_0x335f96([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]),[_0x335f96([0x61,0x6c,0x67])]:_0x335f96([0x45,0x53,0x32,0x35,0x36])},_0xcc50=_0x10189c[_0x335f96([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x335f96([0x67,0x65,0x74])](_0x335f96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f1e61(){let _0x5a68d3,_0x490468=null,_0x2ba41c=null;try{if(_0xcc50==_0x335f96([0x47,0x50,0x4c]))return _0x335f96([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a68d3=_0x1e5c19(),!_0x5a68d3)return _0x335f96([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a68d3[_0x335f96([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ba41c=_0x3bc7c9(_0x5a68d3[_0x335f96([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a68d3[_0x335f96([0x6a,0x74,0x69])])),await _0xf9076d()?_0x3a5df1()?_0x12f513()?_0x335f96([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40258e()?(_0x5a68d3[_0x335f96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x335f96([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x490468=_0x435860(_0x335f96([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a68d3[_0x335f96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x335f96([0x74,0x72,0x69,0x61,0x6c])&&(_0x490468=_0x435860(_0x335f96([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5b60f5()):_0x335f96([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x335f96([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x335f96([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x335f96([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12f513(){const _0x2c13ac=[_0x335f96([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x335f96([0x74,0x72,0x69,0x61,0x6c])][_0x335f96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a68d3[_0x335f96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23ae8d/0x3e8:0xe10*_0x12390a;return _0x5a68d3[_0x335f96([0x65,0x78,0x70])]<_0x2c13ac;}function _0x3a5df1(){const _0x2a0e74=_0x5a68d3[_0x335f96([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a0e74&&(!!_0x2a0e74[_0x335f96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335f96([0x2a]))||!!_0x2a0e74[_0x335f96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335f96([0x55,0x50,0x4c,0x43])));}function _0x40258e(){const _0x18430f=_0x29dd,_0x5f2a13=_0x5a68d3[_0x335f96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f2a13||0x0==_0x5f2a13[_0x335f96([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53b43c}=new URL(window[_0x335f96([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x18430f(0x1db)]);if(_0x5f2a13[_0x335f96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b43c))return!0x0;const _0x207b3e=_0x53b43c[_0x335f96([0x73,0x70,0x6c,0x69,0x74])](_0x335f96([0x2e]));return _0x5f2a13[_0x335f96([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36401e=>_0x36401e[_0x335f96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335f96([0x2a])))[_0x335f96([0x6d,0x61,0x70])](_0x2a5914=>_0x2a5914[_0x335f96([0x73,0x70,0x6c,0x69,0x74])](_0x335f96([0x2e])))[_0x335f96([0x73,0x6f,0x6d,0x65])](_0x19f42c=>_0x207b3e[_0x335f96([0x65,0x76,0x65,0x72,0x79])]((_0x1e7e81,_0x4551e2)=>_0x19f42c[_0x4551e2]===_0x1e7e81||_0x19f42c[_0x4551e2]===_0x335f96([0x2a])));}function _0x5b60f5(){return _0x490468&&_0x2ba41c?new window[(_0x335f96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c535e,_0x29a8d3)=>{_0x490468[_0x335f96([0x74,0x68,0x65,0x6e])](_0x5c535e,_0x29a8d3),_0x2ba41c[_0x335f96([0x74,0x68,0x65,0x6e])](_0x26254f=>{_0x26254f!=_0x335f96([0x56,0x61,0x6c,0x69,0x64])&&_0x5c535e(_0x26254f);},_0x29a8d3);}):_0x490468||_0x2ba41c||_0x335f96([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3bc7c9(_0x3ae4a1,_0x538e74){return new window[(_0x335f96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fb5c5=>{if(_0x46abfa())return _0x3fb5c5(_0x335f96([0x56,0x61,0x6c,0x69,0x64]));_0x13bcf7(),_0x10189c[_0x335f96([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x335f96([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x38ede3=!0x1;const _0xca2245=_0x4c5476();function _0x254cf7(_0x319c3e){return!!_0x319c3e&&(typeof _0x319c3e===_0x335f96([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x319c3e===_0x335f96([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x319c3e[_0x335f96([0x74,0x68,0x65,0x6e])]===_0x335f96([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x319c3e[_0x335f96([0x63,0x61,0x74,0x63,0x68])]===_0x335f96([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c15ae(_0x2e619a){_0xf6d81c(_0x2e619a)[_0x335f96([0x74,0x68,0x65,0x6e])](_0x210853=>{if(!_0x210853||_0x210853[_0x335f96([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x335f96([0x6f,0x6b]))return _0x335f96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54b078(_0x541343(_0xca2245+_0x538e74))!=_0x210853[_0x335f96([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x335f96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x335f96([0x56,0x61,0x6c,0x69,0x64]);})[_0x335f96([0x74,0x68,0x65,0x6e])](_0x544d96=>(_0xbdc983(),_0x544d96),()=>{const _0x25dc29=_0xd1f94d();return null==_0x25dc29?(_0xbdc983(),_0x335f96([0x56,0x61,0x6c,0x69,0x64])):_0x335f96(_0x23ae8d-_0x25dc29>(0x62eb8be5^_0x229518)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x335f96([0x74,0x68,0x65,0x6e])](_0x3fb5c5)[_0x335f96([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fb5c5(_0x335f96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x229b92=0x46d1e165^_0x229518;function _0xbdc983(){const _0x1fdcb6=_0x335f96([0x6c,0x6c,0x63,0x74,0x2d])+_0x54b078(_0x541343(_0x3ae4a1)),_0x5682df=_0x4943bb(_0x54b078(window[_0x335f96([0x4d,0x61,0x74,0x68])][_0x335f96([0x63,0x65,0x69,0x6c])](_0x23ae8d/_0x229b92)));window[_0x335f96([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x335f96([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fdcb6,_0x5682df);}function _0xd1f94d(){const _0x4c97a5=_0x335f96([0x6c,0x6c,0x63,0x74,0x2d])+_0x54b078(_0x541343(_0x3ae4a1)),_0x49ce6a=window[_0x335f96([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x335f96([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c97a5);return _0x49ce6a?window[_0x335f96([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4943bb(_0x49ce6a),0x10)*_0x229b92:null;}function _0xf6d81c(_0x18e137){return new window[(_0x335f96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x416f93,_0x193a59)=>{_0x18e137[_0x335f96([0x74,0x68,0x65,0x6e])](_0x416f93,_0x193a59),window[_0x335f96([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x193a59,0x46e6db25^_0x229518);});}}_0x10189c[_0x335f96([0x6f,0x6e])](_0x335f96([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cde93,_0x41d35c)=>{if(_0x41d35c[0x0]!=_0x3ae4a1)return _0x3fb5c5(_0x335f96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41d35c[0x1]={..._0x41d35c[0x1],[_0x335f96([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xca2245};},{[_0x335f96([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x335f96([0x68,0x69,0x67,0x68])}),_0x10189c[_0x335f96([0x6f,0x6e])](_0x335f96([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x411c5d=>{_0x254cf7(_0x411c5d[_0x335f96([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x38ede3=!0x0,_0x1c15ae(_0x411c5d[_0x335f96([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x335f96([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x335f96([0x6c,0x6f,0x77])}),_0x1e7eba[_0x335f96([0x74,0x68,0x65,0x6e])](()=>{_0x38ede3||_0x3fb5c5(_0x335f96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x46abfa(){return _0x10189c[_0x335f96([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x335f96([0x76,0x69,0x65,0x77])][_0x335f96([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x335f96([0x61,0x75,0x74,0x6f]);}function _0x13bcf7(){_0x10189c[_0x335f96([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x335f96([0x76,0x69,0x65,0x77])][_0x335f96([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x335f96([0x61,0x75,0x74,0x6f]);}}function _0x435860(_0x1e9c70){const _0x1ed061=[new window[(_0x335f96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5abdf5=>setTimeout(_0x5abdf5,0x46ee3129^_0x229518)),_0x1e7eba[_0x335f96([0x74,0x68,0x65,0x6e])](()=>new window[(_0x335f96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x401768=>{let _0x3eefa6=0x0;_0x10189c[_0x335f96([0x6d,0x6f,0x64,0x65,0x6c])][_0x335f96([0x6f,0x6e])](_0x335f96([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ee103,_0xf568f2)=>{_0xf568f2[0x0][_0x335f96([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3eefa6++,_0x3eefa6==(0x46e70e1d^_0x229518)&&(_0x401768(),_0x3ee103[_0x335f96([0x6f,0x66,0x66])]());});}))];return window[_0x335f96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x335f96([0x72,0x61,0x63,0x65])](_0x1ed061)[_0x335f96([0x74,0x68,0x65,0x6e])](()=>_0x1e9c70);}async function _0x37f9cd(){await _0x1e7eba,_0x10189c[_0x335f96([0x6d,0x6f,0x64,0x65,0x6c])][_0x335f96([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d701e,_0x10189c[_0x335f96([0x6d,0x6f,0x64,0x65,0x6c])][_0x335f96([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d701e,_0x10189c[_0x335f96([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x335f96([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x578373(_0x58a193){const _0x29b702=_0x562938();_0x10189c[_0x29b702]=_0x335f96([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58a193,_0x58a193!=_0x335f96([0x56,0x61,0x6c,0x69,0x64])&&_0x37f9cd();}function _0x562938(){const _0x5d668b=window[_0x335f96([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x335f96([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x335f96([0x6e,0x6f,0x77])]())[_0x335f96([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x335f96([0x2e]),'');let _0x335feb=_0x335f96([0x7a]);for(let _0x20437f=0x0;_0x20437f<_0x5d668b[_0x335f96([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20437f+=0x2){let _0x1d50c9=window[_0x335f96([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d668b[_0x335f96([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20437f,_0x20437f+0x2));_0x1d50c9>=_0x56eb0e[_0x335f96([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d50c9-=_0x56eb0e[_0x335f96([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x335feb+=_0x56eb0e[_0x1d50c9];}return _0x335feb;}function _0x1e5c19(){const _0x5c7c14=_0xcc50[_0x335f96([0x73,0x70,0x6c,0x69,0x74])](_0x335f96([0x2e]));if(0x3!=_0x5c7c14[_0x335f96([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x49577c(_0x5c7c14[0x1]);function _0x49577c(_0x230d52){const _0x42ddbf=_0x58eb42(_0x230d52);return _0x42ddbf&&_0x5da167()?_0x42ddbf:null;function _0x5da167(){const _0x5d70cd=_0x42ddbf[_0x335f96([0x6a,0x74,0x69])],_0x3c4238=window[_0x335f96([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d70cd[_0x335f96([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d70cd[_0x335f96([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35fe8f={..._0x42ddbf,[_0x335f96([0x6a,0x74,0x69])]:_0x5d70cd[_0x335f96([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d70cd[_0x335f96([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35fe8f[_0x335f96([0x76,0x63])],_0x541343(_0x35fe8f)==_0x3c4238;}}}async function _0xf9076d(){let _0x15e9fd=!0x0;try{const _0x470903=_0xcc50[_0x335f96([0x73,0x70,0x6c,0x69,0x74])](_0x335f96([0x2e])),[_0x8a6a,_0x4b5f8a,_0x54e892]=_0x470903;return _0x124225(_0x8a6a),await _0x4e5290(_0x8a6a,_0x4b5f8a,_0x54e892),_0x15e9fd;}catch{return!0x1;}function _0x124225(_0x7d7149){const _0x387455=_0x58eb42(_0x7d7149);_0x387455&&_0x387455[_0x335f96([0x61,0x6c,0x67])]==_0x335f96([0x45,0x53,0x32,0x35,0x36])||(_0x15e9fd=!0x1);}async function _0x4e5290(_0x40b48c,_0x4fbfa4,_0x2adb9a){const _0x281f7d=window[_0x335f96([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x335f96([0x66,0x72,0x6f,0x6d])](_0x9386ac(_0x2adb9a),_0x21e23a=>_0x21e23a[_0x335f96([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x92a6f=new window[(_0x335f96([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x335f96([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40b48c+_0x335f96([0x2e])+_0x4fbfa4),_0x2528d1=window[_0x335f96([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x335f96([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2528d1)return;const _0x4263dd=await _0x2528d1[_0x335f96([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x335f96([0x6a,0x77,0x6b]),_0x52070f,{[_0x335f96([0x6e,0x61,0x6d,0x65])]:_0x335f96([0x45,0x43,0x44,0x53,0x41]),[_0x335f96([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x335f96([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x335f96([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2528d1[_0x335f96([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x335f96([0x6e,0x61,0x6d,0x65])]:_0x335f96([0x45,0x43,0x44,0x53,0x41]),[_0x335f96([0x68,0x61,0x73,0x68])]:{[_0x335f96([0x6e,0x61,0x6d,0x65])]:_0x335f96([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4263dd,_0x281f7d,_0x92a6f)||(_0x15e9fd=!0x1);}}function _0x58eb42(_0x5d4023){return _0x5d4023[_0x335f96([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x335f96([0x65,0x79]))?JSON[_0x335f96([0x70,0x61,0x72,0x73,0x65])](_0x9386ac(_0x5d4023)):null;}function _0x9386ac(_0x3916d0){return window[_0x335f96([0x61,0x74,0x6f,0x62])](_0x3916d0[_0x335f96([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x335f96([0x2b]))[_0x335f96([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x335f96([0x2f])));}function _0x541343(_0x57699f){let _0x36b6dd=0x1505;function _0x416598(_0x190d5f){for(let _0x5b0f14=0x0;_0x5b0f14<_0x190d5f[_0x335f96([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b0f14++){const _0x4b5885=_0x190d5f[_0x335f96([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b0f14);_0x36b6dd=(_0x36b6dd<<0x5)+_0x36b6dd+_0x4b5885,_0x36b6dd&=_0x36b6dd;}}function _0x27a0cc(_0x2affa0){Array[_0x335f96([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2affa0)?_0x2affa0[_0x335f96([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27a0cc):_0x2affa0&&typeof _0x2affa0==_0x335f96([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x335f96([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2affa0)[_0x335f96([0x73,0x6f,0x72,0x74])]()[_0x335f96([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30534f,_0x5176cd])=>{_0x416598(_0x30534f),_0x27a0cc(_0x5176cd);}):_0x416598(window[_0x335f96([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2affa0));}return _0x27a0cc(_0x57699f),_0x36b6dd>>>0x0;}function _0x54b078(_0x55d6bf){return _0x55d6bf[_0x335f96([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x335f96([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x335f96([0x30]));}function _0x4943bb(_0x3d1f7c){return _0x3d1f7c[_0x335f96([0x73,0x70,0x6c,0x69,0x74])]('')[_0x335f96([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x335f96([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d701e(){}function _0x335f96(_0x2f2298){const _0x192dea=_0x29dd;return _0x2f2298[_0x192dea(0x211)](_0x143d43=>String[_0x192dea(0x20c)](_0x143d43))[_0x192dea(0x1de)]('');}_0x578373(await _0x5f1e61());}(this);}[_0x1c2ad8(0x200)](){const _0x9174c8=_0x1c2ad8,_0x58d92a=this[_0x9174c8(0x21d)][_0x9174c8(0x1dd)][_0x9174c8(0x206)];_0x58d92a[_0x9174c8(0x1f7)](_0x9174c8(0x1e8))&&_0x58d92a[_0x9174c8(0x1f9)](_0x9174c8(0x1e8),{'allowAttributes':[_0x9174c8(0x1ea)]}),_0x58d92a[_0x9174c8(0x1f7)](_0x9174c8(0x224))&&_0x58d92a[_0x9174c8(0x1f9)](_0x9174c8(0x224),{'allowAttributes':[_0x9174c8(0x1ea)]});}[_0x1c2ad8(0x204)](){const _0x12b071=_0x1c2ad8,_0x3635d7=this[_0x12b071(0x21d)];_0x3635d7[_0x12b071(0x20f)][_0x12b071(0x219)](_0x12b071(0x1e6))[_0x12b071(0x218)]({'model':_0x12b071(0x1ea),'view':_0x12b071(0x208)}),_0x3635d7[_0x12b071(0x20f)][_0x12b071(0x219)](_0x12b071(0x1e2))[_0x12b071(0x1eb)]({'model':{'key':_0x12b071(0x1ea),'value':_0x4d9660=>_0x4d9660[_0x12b071(0x1f1)](_0x12b071(0x208))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4c6235=_0x3635d7[_0x12b071(0x201)][_0x12b071(0x222)](_0x12b071(0x20e));_0x4c6235&&this[_0x12b071(0x1ff)](_0x4c6235,_0x12b071(0x21e),(_0x170f80,[_0x38b47e,_0x123266])=>{const _0x118ce8=_0x12b071;_0x38b47e[_0x118ce8(0x209)](_0x118ce8(0x1ea),_0x123266);});}[_0x1c2ad8(0x1f2)](){const _0x14860a=_0x1c2ad8,_0x6dedb8=this[_0x14860a(0x21d)][_0x14860a(0x1fe)][_0x14860a(0x222)](_0x14860a(0x20b))||{},_0x1044f4=this[_0x14860a(0x21d)][_0x14860a(0x1fe)][_0x14860a(0x222)](_0x14860a(0x1d8))||'';this[_0x14860a(0x1e9)]=_0x3cad2b(_0x25c710[_0x14860a(0x1d7)],_0x14860a(0x21a),{..._0x6dedb8,'pubkey':_0x1044f4,'ctx-name':_0x14860a(0x1d9),'sourceList':'','imgOnly':_0x14860a(0x226),'removeCopyright':_0x14860a(0x226),'localeName':this[_0x14860a(0x21d)][_0x14860a(0x220)][_0x14860a(0x225)],'externalSourcesEmbedCss':_0x14860a(0x227)}),this[_0x14860a(0x1e9)][_0x14860a(0x22a)]=_0x2cdd67=>{const _0x38d593=_0x14860a;if(_0x38d593(0x1e4)==_0x2cdd67)return _0x38d593(0x1e3);},_0x25c710[_0x14860a(0x1d7)][_0x14860a(0x1f4)][_0x14860a(0x1fc)](this[_0x14860a(0x1e9)]);}[_0x1c2ad8(0x1fa)](){const _0xeb4ece=_0x1c2ad8;this[_0xeb4ece(0x210)]=_0x3cad2b(_0x25c710[_0xeb4ece(0x1d7)],_0xeb4ece(0x1dc),{'ctx-name':_0xeb4ece(0x1d9)}),_0x25c710[_0xeb4ece(0x1d7)][_0xeb4ece(0x1f4)][_0xeb4ece(0x1fc)](this[_0xeb4ece(0x210)]);}[_0x1c2ad8(0x20d)](){const _0x394fa2=_0x1c2ad8,_0x1cbedb=this[_0x394fa2(0x21d)][_0x394fa2(0x201)][_0x394fa2(0x222)](_0x394fa2(0x1e5));_0x1cbedb&&this[_0x394fa2(0x1ff)](_0x1cbedb,_0x394fa2(0x216),()=>{const _0x2254de=_0x394fa2,_0x49aa3b=this[_0x2254de(0x21d)][_0x2254de(0x1dd)][_0x2254de(0x1d7)][_0x2254de(0x1f3)][_0x2254de(0x214)]();_0x49aa3b&&_0x49aa3b[_0x2254de(0x1f1)](_0x2254de(0x1ea))&&this[_0x2254de(0x21d)][_0x2254de(0x1ed)][_0x2254de(0x21c)][_0x2254de(0x1f0)](_0x2254de(0x228),()=>{const _0x1906f8=_0x2254de;_0x43b4d5(this[_0x1906f8(0x21d)],_0x49aa3b);});});const _0xcb7069=this[_0x394fa2(0x21d)][_0x394fa2(0x201)][_0x394fa2(0x222)](_0x394fa2(0x1ec));_0xcb7069&&this[_0x394fa2(0x1ff)](_0xcb7069,_0x394fa2(0x216),()=>{const _0x32910f=_0x394fa2,_0x19d80d=this[_0x32910f(0x21d)][_0x32910f(0x1dd)][_0x32910f(0x1d7)][_0x32910f(0x1f3)][_0x32910f(0x214)]();_0x19d80d&&_0x19d80d[_0x32910f(0x1f1)](_0x32910f(0x1ea))&&this[_0x32910f(0x21d)][_0x32910f(0x1ed)][_0x32910f(0x21c)][_0x32910f(0x1f0)](_0x32910f(0x228),()=>{const _0x1966c0=_0x32910f;_0x43b4d5(this[_0x1966c0(0x21d)],_0x19d80d);});});}}
|
|
@@ -7,7 +7,11 @@ import type { Editor } from 'ckeditor5/src/core.js';
|
|
|
7
7
|
import type { Element as ModelElement } from 'ckeditor5/src/engine.js';
|
|
8
8
|
declare const UploadcareImageEditController_base: {
|
|
9
9
|
new (): import("ckeditor5/src/utils.js").Observable;
|
|
10
|
-
prototype: import("ckeditor5/src/utils.js").Observable;
|
|
10
|
+
prototype: import("ckeditor5/src/utils.js").Observable; /**
|
|
11
|
+
* The editor instance.
|
|
12
|
+
*
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
11
15
|
};
|
|
12
16
|
/**
|
|
13
17
|
* Controller for the Image Edit Dialog.
|
|
@@ -15,7 +19,7 @@ declare const UploadcareImageEditController_base: {
|
|
|
15
19
|
* It manages the dialog and all the related actions during dialog instance lifecycle. It is bound to a dialog instance
|
|
16
20
|
* and an active image element and destroyed when dialog instance is closed.
|
|
17
21
|
*/
|
|
18
|
-
export
|
|
22
|
+
export declare class UploadcareImageEditController extends /* #__PURE__ -- @preserve */ UploadcareImageEditController_base {
|
|
19
23
|
/**
|
|
20
24
|
* Whenever the controller is active and dialog UI visible.
|
|
21
25
|
*
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x5bc739,ObservableMixin as _0x1fb83e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4711b8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x28af6d}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x45c6bd}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x33c67e}from'../../utils/uploadutils.js';import{getImageUrls as _0x3cf727,getImageDimension as _0x3a0eac}from'../../utils/editingutils.js';import{isAncestor as _0x4dc22a}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1fb83e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x427047,_0x3eedf8,_0x230cc4){super(),this['_editor']=_0x427047,this['_dialog']=_0x3eedf8,this['_imageElement']=_0x230cc4,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 _0x1da102=this['_imageElement'],_0x5966ba=_0x1da102['getAttribute']('uploadcareImageId'),_0x6b6166=_0x1da102['getAttribute']('src');if(_0x5966ba)await this['_loadImageInfo'](_0x5966ba,_0x6b6166);else{if(this['_imageCache']['has'](_0x6b6166)){const _0x1663f0=this['_imageCache']['get'](_0x6b6166);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1663f0['url'],this['imageDimension']=_0x1663f0['dimension'],this['imageId']=_0x1663f0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x31ab17}=this['_editor'],t=_0x31ab17['t'],_0x5d722c=new _0x45c6bd(_0x31ab17,this['imageStatus'],this['_attributes']);_0x5d722c['bind']('status')['to'](this,'imageStatus'),_0x5d722c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5d722c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5d722c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5d722c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x28af6d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5d722c,'position':_0x4711b8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5d722c['focus']();},'onHide':()=>{_0x5d722c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x13d1a8=>!_0x4dc22a(_0x13d1a8,_0x5d722c['element'])}});}['_loadImageInfo'](_0x364251,_0x526b8b){return _0x33c67e['getInfo'](_0x364251,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5c44a4=>{const {width:_0x44e0b6,height:_0x6e9d4}=_0x5c44a4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x526b8b,this['imageDimension']={'width':_0x44e0b6,'height':_0x6e9d4},this['imageId']=_0x364251;})['catch'](_0x59d108=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x59d108['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3d4604,_0x354a65){return this['_getImageAsFile'](_0x3d4604)['then'](_0x584e0d=>_0x33c67e['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x354a65['signal'],'file':_0x584e0d,'onProgress':_0x474c16=>{_0x474c16&&_0x474c16['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x474c16['value']));}}))['then'](_0x2bff4e=>{const {width:_0x4aa5df,height:_0x2d8cfc}=_0x2bff4e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bff4e['cdnUrl'],this['imageDimension']={'width':_0x4aa5df,'height':_0x2d8cfc},this['imageId']=_0x2bff4e['uuid'],this['imageUploadProgress']=null;const _0x314f99=_0x3d4604['getAttribute']('src');this['_imageCache']['set'](_0x314f99,{'id':_0x2bff4e['uuid'],'url':_0x2bff4e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xe3ef9e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xe3ef9e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2898e6,_0x39888d){_0x2898e6['on']('apply',(_0x4e2963,_0x5a01ac)=>{this['_replaceImage'](_0x39888d,_0x5a01ac['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2898e6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2898e6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5d8806,_0x46dc69,_0xd58d3b){const _0x5a63d3=this['_editor'],{width:_0x3d3e50,height:_0x990ec6}=_0x3a0eac(_0x46dc69,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4e48fe,imageSources:_0x330777}=_0x3cf727(_0x46dc69,_0x3d3e50);_0x5a63d3['model']['change'](_0xc8a994=>{if('$graveyard'===_0x5d8806['root']['rootName']){_0x5a63d3['execute']('insertImage',{'imageType':_0x5d8806['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5d8806['getAttributes']()),'uploadcareImageId':_0xd58d3b,'src':_0x4e48fe,'sources':_0x330777,'width':_0x3d3e50,'height':_0x990ec6}});const _0x91c28f=_0x5d8806['getChildren']();_0x5d8806=_0x5a63d3['model']['document']['selection']['getSelectedElement']();for(const _0x4b78c0 of _0x91c28f)_0xc8a994['append'](_0xc8a994['cloneElement'](_0x4b78c0),_0x5d8806);}else _0xc8a994['setSelection'](_0x5d8806,'on'),_0x5a63d3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5d8806['getAttributes']()),'uploadcareImageId':_0xd58d3b,'src':_0x4e48fe,'sources':_0x330777,'width':_0x3d3e50,'height':_0x990ec6},_0x5d8806);_0xc8a994['setSelection'](_0x5d8806,'on');});}async['_getImageAsFile'](_0x23edf3){const _0x9262b9=_0x5bc739['window'],_0xfc8b19=_0x5bc739['document']['location']['href'],_0x530885=new _0x9262b9['URL'](_0x23edf3['getAttribute']('src'),_0xfc8b19);if('data:'===_0x530885['protocol']){const _0x400046=_0x530885['href']['split'](','),_0x5655cd=_0x400046[0x0]['match'](/:(.*?);/)[0x1],_0x192f9a=_0x5655cd['split']('/')[0x1],_0x9e6eb4=_0x9262b9['atob'](_0x400046[_0x400046['length']-0x1]);let _0x363f07=_0x9e6eb4['length'];const _0x4dbfc2=new _0x9262b9['Uint8Array'](_0x363f07);for(;_0x363f07--;)_0x4dbfc2[_0x363f07]=_0x9e6eb4['charCodeAt'](_0x363f07);return new _0x9262b9['File']([_0x4dbfc2],'image.'+_0x192f9a,{'type':_0x5655cd});}const _0x5d7660=_0x530885['href']['split']('/'),_0x54165a=_0x5d7660[_0x5d7660['length']-0x1],_0x2ae277=_0x54165a['split']('.')[0x1];return _0x9262b9['fetch'](_0x530885['href'])['then'](_0x4e6274=>_0x4e6274['clone']()['blob']())['then'](_0x48b139=>new _0x9262b9['File']([_0x48b139],_0x54165a,{'type':'image/'+_0x2ae277}));}}
|
|
@@ -11,7 +11,7 @@ import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
|
|
|
11
11
|
/**
|
|
12
12
|
* A class representing the form editing view of the Uploadcare image edit feature.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export declare class UploadcareImageEditFormEditingView extends View {
|
|
15
15
|
/**
|
|
16
16
|
* Image source URL.
|
|
17
17
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4bf198,_0x5b6b2a){const _0x7f2cc1=_0x106c,_0x2c1e69=_0x4bf198();while(!![]){try{const _0x48f64c=parseInt(_0x7f2cc1(0x13e))/0x1*(parseInt(_0x7f2cc1(0x136))/0x2)+parseInt(_0x7f2cc1(0x134))/0x3+-parseInt(_0x7f2cc1(0x131))/0x4*(parseInt(_0x7f2cc1(0x13d))/0x5)+parseInt(_0x7f2cc1(0x12f))/0x6+-parseInt(_0x7f2cc1(0x135))/0x7*(parseInt(_0x7f2cc1(0x13b))/0x8)+parseInt(_0x7f2cc1(0x133))/0x9+-parseInt(_0x7f2cc1(0x139))/0xa;if(_0x48f64c===_0x5b6b2a)break;else _0x2c1e69['push'](_0x2c1e69['shift']());}catch(_0x2aff0b){_0x2c1e69['push'](_0x2c1e69['shift']());}}}(_0x460d,0xb4343));import{View as _0x53b323}from'ckeditor5/src/ui.js';function _0x106c(_0x54ec6f,_0x57d2d8){const _0x460dbd=_0x460d();return _0x106c=function(_0x106ca9,_0x559e76){_0x106ca9=_0x106ca9-0x12f;let _0x2adacf=_0x460dbd[_0x106ca9];return _0x2adacf;},_0x106c(_0x54ec6f,_0x57d2d8);}export class UploadcareImageEditFormEditingView extends _0x53b323{constructor(_0xf6d690,_0x5e7780){const _0x22c0c6=_0x106c;super(_0xf6d690);const _0x266322=this[_0x22c0c6(0x13c)];this[_0x22c0c6(0x140)](_0x22c0c6(0x13a),''),this[_0x22c0c6(0x137)]({'tag':_0x22c0c6(0x13f),'attributes':{..._0x5e7780,'class':[_0x22c0c6(0x130),_0x22c0c6(0x138)],'ctx-name':_0x22c0c6(0x132),'cdn-url':_0x266322['to'](_0x22c0c6(0x13a))}});}}function _0x460d(){const _0x651e13=['524970xtFuGX','uc-light','4ztQLzL','image-edit','263673dfmyRK','3330306XDjxvT','152817yrfaXE','4UldnJx','setTemplate','ck-uploadcare-theme','8579170XSjcgP','imageSrc','8hawbdk','bindTemplate','2512745eHMKbc','446759DLPoGd','uc-cloud-image-editor','set'];_0x460d=function(){return _0x651e13;};return _0x460d();}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
7
|
-
import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
|
|
7
|
+
import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
|
|
8
8
|
/**
|
|
9
9
|
* A class representing the form error view of the Uploadcare image edit feature.
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export declare class UploadcareImageEditFormErrorView extends View {
|
|
12
12
|
/**
|
|
13
13
|
* The image upload error details.
|
|
14
14
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as
|
|
23
|
+
import{IconError as _0x2714b2}from'ckeditor5/src/icons.js';import{ButtonView as _0x4e48cd,IconView as _0x301763,View as _0x1fda1a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1fda1a{constructor(_0x3b4082){super(_0x3b4082);const t=_0x3b4082['t'];this['set']('errorType',null);const _0x39dec7=new _0x4e48cd(_0x3b4082);_0x39dec7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x39dec7['withText']=!0x0,_0x39dec7['class']='ck-button-action',_0x39dec7['on']('execute',()=>{this['fire']('retry');}),_0x39dec7['bind']('isVisible')['to'](this,'errorType',_0x18cddb=>'NotFound'!==_0x18cddb);const _0x3f5f60=new _0x301763();_0x3f5f60['content']=_0x2714b2,_0x3f5f60['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f1d56=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':[_0x3f5f60,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f1d56['to']('errorType',_0x41f658=>t('NotFound'!==_0x41f658?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x39dec7]},{'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'}]}]}]});}}
|
|
@@ -10,7 +10,7 @@ import { View } from 'ckeditor5/src/ui.js';
|
|
|
10
10
|
/**
|
|
11
11
|
* A class representing the form loading view of the Uploadcare image edit feature.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export declare class UploadcareImageEditFormLoadingView extends View {
|
|
14
14
|
/**
|
|
15
15
|
* The image upload progress.
|
|
16
16
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x4b8053,View as _0x596d29}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x596d29{constructor(_0x4649f7){super(_0x4649f7);const t=_0x4649f7['t'],_0x1a7f87=this['bindTemplate'],_0x4d5765=new _0x4b8053();_0x4d5765['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':[_0x4d5765,{'text':_0x1a7f87['to']('imageUploadProgress',_0x3d365e=>t('Loading\x20image...')+'\x20('+(_0x3d365e||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'}]}]}]});}}
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformview
|
|
7
7
|
*/
|
|
8
8
|
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
-
import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
|
|
10
|
-
import DialogFocusManagerView from '../../utils/dialogfocusmanagerview.js';
|
|
9
|
+
import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
|
|
10
|
+
import { DialogFocusManagerView } from '../../utils/dialogfocusmanagerview.js';
|
|
11
11
|
import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
|
|
12
12
|
import '../../../theme/uploadcare-form.css';
|
|
13
13
|
/**
|
|
14
14
|
* A class representing the form view of the Uploadcare image edit feature.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare class UploadcareImageEditFormView extends DialogFocusManagerView {
|
|
17
17
|
/**
|
|
18
18
|
* Status of the image passed to the view;
|
|
19
19
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3bc990=_0x5ed2;(function(_0xae96a9,_0x2934b7){const _0x42be72=_0x5ed2,_0x1d04a1=_0xae96a9();while(!![]){try{const _0x1d3829=-parseInt(_0x42be72(0x19c))/0x1+-parseInt(_0x42be72(0x193))/0x2+parseInt(_0x42be72(0x168))/0x3*(-parseInt(_0x42be72(0x18c))/0x4)+-parseInt(_0x42be72(0x176))/0x5+parseInt(_0x42be72(0x183))/0x6*(-parseInt(_0x42be72(0x19a))/0x7)+parseInt(_0x42be72(0x172))/0x8*(parseInt(_0x42be72(0x185))/0x9)+parseInt(_0x42be72(0x186))/0xa*(parseInt(_0x42be72(0x169))/0xb);if(_0x1d3829===_0x2934b7)break;else _0x1d04a1['push'](_0x1d04a1['shift']());}catch(_0x295ccf){_0x1d04a1['push'](_0x1d04a1['shift']());}}}(_0x12cc,0x4eeb2));import{View as _0x3c5948}from'ckeditor5/src/ui.js';function _0x5ed2(_0x2aa7f6,_0x51a7d5){const _0x12cc9b=_0x12cc();return _0x5ed2=function(_0x5ed2be,_0x44ed17){_0x5ed2be=_0x5ed2be-0x165;let _0x439380=_0x12cc9b[_0x5ed2be];return _0x439380;},_0x5ed2(_0x2aa7f6,_0x51a7d5);}import{UploadcareImageEditFormLoadingView as _0x26dbc2}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3aff6a}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2a19a8}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x32618c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x32618c{[_0x3bc990(0x175)];[_0x3bc990(0x178)];[_0x3bc990(0x196)];[_0x3bc990(0x187)];[_0x3bc990(0x16a)];constructor(_0xe72561,_0x24e0fc,_0x48ba21){const _0x216383=_0x3bc990;super(_0xe72561),this[_0x216383(0x175)]=this[_0x216383(0x188)](),this[_0x216383(0x178)]=new _0x26dbc2(_0xe72561),this[_0x216383(0x196)]=new _0x3aff6a(_0xe72561),this[_0x216383(0x187)]=new _0x2a19a8(_0xe72561,_0x48ba21),this[_0x216383(0x16a)]=new _0x3c5948(_0xe72561),this[_0x216383(0x16a)][_0x216383(0x179)](this[_0x216383(0x173)]()),this[_0x216383(0x167)](_0x216383(0x174),_0x24e0fc),this[_0x216383(0x179)]({'tag':_0x216383(0x18e),'attributes':{'class':['ck',_0x216383(0x18b),_0x216383(0x16b)],'tabindex':'-1'},'children':this[_0x216383(0x175)]}),this[_0x216383(0x177)](),this[_0x216383(0x17a)](_0x216383(0x192),()=>{const _0x156fb9=_0x216383;this[_0x156fb9(0x18d)](this[_0x156fb9(0x17e)],_0x104c60=>{const _0x2d0751=_0x156fb9;this[_0x2d0751(0x182)](_0x104c60);});}),this['on'](_0x216383(0x17f),()=>{const _0x26a831=_0x216383;this[_0x26a831(0x177)]();}),this[_0x216383(0x18a)]();}[_0x3bc990(0x18f)](){const _0x386ae2=_0x3bc990;this[_0x386ae2(0x17e)][_0x386ae2(0x18f)]();}[_0x3bc990(0x177)](){const _0x502ac0=_0x3bc990;switch(this[_0x502ac0(0x175)][_0x502ac0(0x19b)](),this[_0x502ac0(0x174)]){case _0x502ac0(0x189):this[_0x502ac0(0x175)][_0x502ac0(0x197)](this[_0x502ac0(0x178)]);break;case _0x502ac0(0x166):this[_0x502ac0(0x175)][_0x502ac0(0x197)](this[_0x502ac0(0x196)]);break;case _0x502ac0(0x17d):this[_0x502ac0(0x175)][_0x502ac0(0x171)]([this[_0x502ac0(0x187)],this[_0x502ac0(0x16a)]]);}}[_0x3bc990(0x18d)](_0x5d9736,_0x52c7b3){const _0x4dca22=_0x3bc990,_0x58f529=_0x4dca22(0x16f),_0x1e4469=_0x5d9736[_0x4dca22(0x170)](_0x58f529);if(_0x1e4469)return _0x52c7b3(_0x1e4469);const _0x2fd38a=new MutationObserver(_0x31a142=>{const _0x43364b=_0x4dca22,_0x50a1aa=_0x31a142[_0x43364b(0x165)](_0x5f1974=>_0x5f1974[_0x43364b(0x17b)]===_0x5d9736&&_0x5f1974[_0x43364b(0x180)][_0x43364b(0x16d)]>0x0&&_0x5f1974[_0x43364b(0x180)][0x0][_0x43364b(0x198)][_0x43364b(0x181)]()===_0x58f529);_0x50a1aa[_0x43364b(0x16d)]&&(_0x2fd38a[_0x43364b(0x194)](),_0x52c7b3(_0x50a1aa[0x0][_0x43364b(0x180)][0x0]));});_0x2fd38a[_0x4dca22(0x195)](_0x5d9736,{'childList':!0x0,'subtree':!0x0});}[_0x3bc990(0x182)](_0x4c01b2){const _0x333d79=_0x3bc990;_0x4c01b2[_0x333d79(0x184)](_0x333d79(0x191),_0x2d4050=>{const _0x484934=_0x333d79;this[_0x484934(0x16c)](_0x484934(0x191),{'imageSrc':_0x2d4050[_0x484934(0x199)][_0x484934(0x190)]});}),_0x4c01b2[_0x333d79(0x184)](_0x333d79(0x16e),()=>{const _0x31a596=_0x333d79;this[_0x31a596(0x16c)](_0x31a596(0x16e));});}[_0x3bc990(0x18a)](){const _0x156ce3=_0x3bc990;this[_0x156ce3(0x196)]['on'](_0x156ce3(0x17c),()=>{const _0x4900e6=_0x156ce3;this[_0x4900e6(0x16c)](_0x4900e6(0x17c));});}}function _0x12cc(){const _0x3df467=['retry','ready','element','change:status','addedNodes','toLowerCase','_addUploadcareImageEditorListeners','59718lEkYgz','addEventListener','5454oxCdXJ','1502630QcKkZi','_editingView','createCollection','uploading','_addErrorViewListeners','ck-reset_all-excluded','4JkPBgY','_waitForImageEditorComponent','div','focus','cdnUrl','apply','render','771500dvpLmH','disconnect','observe','_errorView','add','nodeName','detail','91JFyuei','clear','304650loexZE','filter','error','set','158073Qjuwuh','88OlfvAE','_focusableView','ck-uploadcare-form','fire','length','cancel','uc-cloud-image-editor','querySelector','addMany','5736xDjTYt','getFocusableElement','status','_items','2204380mhFLWt','_setView','_loadingView','setTemplate','once','target'];_0x12cc=function(){return _0x3df467;};return _0x12cc();}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
11
|
-
import UploadcareImageEditController from './ui/uploadcareimageeditcontroller.js';
|
|
11
|
+
import { UploadcareImageEditController } from './ui/uploadcareimageeditcontroller.js';
|
|
12
12
|
/**
|
|
13
13
|
* The Uploadcare edit image command.
|
|
14
14
|
*
|
|
@@ -18,7 +18,7 @@ import UploadcareImageEditController from './ui/uploadcareimageeditcontroller.js
|
|
|
18
18
|
* editor.execute( 'uploadcareImageEdit' );
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export declare class UploadcareImageEditCommand extends Command {
|
|
22
22
|
/**
|
|
23
23
|
* Whenever the controller is active and dialog UI visible.
|
|
24
24
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x548f64=_0x4c5b;function _0x18a8(){const _0x81451d=['1236896tmFpSi','1088cAfpAE','set','imageEditController','getSelectedElement','selection','1010HhVtTB','1420RogFJf','imageBlock','plugins','92844cFOhnz','get','7995190CiaNjI','9252hicUOQ','uploadcare.allowExternalImagesEditing','isEnabled','2457087IDbPqY','imageInline','document','requires','_isEditable','refresh','54934dOPyKo','config','execute','model','1388RXgUai','unbind','isActive','7637hDKIRQ','bind','element','editor'];_0x18a8=function(){return _0x81451d;};return _0x18a8();}(function(_0x868d4b,_0x2415a7){const _0x464a29=_0x4c5b,_0x3f0203=_0x868d4b();while(!![]){try{const _0x5ae337=-parseInt(_0x464a29(0x1d2))/0x1*(parseInt(_0x464a29(0x1c4))/0x2)+parseInt(_0x464a29(0x1db))/0x3+-parseInt(_0x464a29(0x1cb))/0x4+parseInt(_0x464a29(0x1d7))/0x5+-parseInt(_0x464a29(0x1d8))/0x6*(-parseInt(_0x464a29(0x1c7))/0x7)+-parseInt(_0x464a29(0x1cc))/0x8*(parseInt(_0x464a29(0x1d5))/0x9)+-parseInt(_0x464a29(0x1d1))/0xa*(parseInt(_0x464a29(0x1c0))/0xb);if(_0x5ae337===_0x2415a7)break;else _0x3f0203['push'](_0x3f0203['shift']());}catch(_0x191035){_0x3f0203['push'](_0x3f0203['shift']());}}}(_0x18a8,0xdb50b));import{Command as _0x3a50e4}from'ckeditor5/src/core.js';import{Dialog as _0x126d2a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x50f4b1}from'./ui/uploadcareimageeditcontroller.js';function _0x4c5b(_0x1acf42,_0x23dab8){const _0x18a8f2=_0x18a8();return _0x4c5b=function(_0x4c5b86,_0xac6ded){_0x4c5b86=_0x4c5b86-0x1be;let _0x47b24a=_0x18a8f2[_0x4c5b86];return _0x47b24a;},_0x4c5b(_0x1acf42,_0x23dab8);}import{createEditabilityChecker as _0x2a7b83}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3a50e4{[_0x548f64(0x1ce)];static get[_0x548f64(0x1de)](){return[_0x126d2a];}[_0x548f64(0x1be)];constructor(_0x19376c){const _0x507e87=_0x548f64;super(_0x19376c),this[_0x507e87(0x1ce)]=void 0x0,this[_0x507e87(0x1be)]=_0x2a7b83(_0x19376c[_0x507e87(0x1c1)][_0x507e87(0x1d6)](_0x507e87(0x1d9))||[]),this[_0x507e87(0x1cd)]({'isActive':!0x1});}[_0x548f64(0x1bf)](){const _0x5da93d=_0x548f64,_0x4a8369=this[_0x5da93d(0x1ca)][_0x5da93d(0x1c3)][_0x5da93d(0x1dd)][_0x5da93d(0x1d0)][_0x5da93d(0x1cf)]();this[_0x5da93d(0x1da)]=this[_0x5da93d(0x1be)](_0x4a8369);}[_0x548f64(0x1c2)](){const _0x5d45bf=_0x548f64;this[_0x5d45bf(0x1ce)]&&(this[_0x5d45bf(0x1c5)](_0x5d45bf(0x1c6)),this[_0x5d45bf(0x1ce)]=void 0x0);const _0x58130c=this[_0x5d45bf(0x1ca)][_0x5d45bf(0x1c3)][_0x5d45bf(0x1dd)][_0x5d45bf(0x1d0)][_0x5d45bf(0x1cf)]();_0x58130c&&(_0x58130c['is'](_0x5d45bf(0x1c9),_0x5d45bf(0x1d3))||_0x58130c['is'](_0x5d45bf(0x1c9),_0x5d45bf(0x1dc)))&&(this[_0x5d45bf(0x1ce)]=new _0x50f4b1(this[_0x5d45bf(0x1ca)],this[_0x5d45bf(0x1ca)][_0x5d45bf(0x1d4)][_0x5d45bf(0x1d6)](_0x126d2a),_0x58130c),this[_0x5d45bf(0x1c8)](_0x5d45bf(0x1c6))['to'](this[_0x5d45bf(0x1ce)],_0x5d45bf(0x1c6)));}}
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
10
|
import { Notification } from 'ckeditor5/src/ui.js';
|
|
11
|
-
import UploadcareEditing from '../uploadcareediting.js';
|
|
11
|
+
import { UploadcareEditing } from '../uploadcareediting.js';
|
|
12
12
|
/**
|
|
13
13
|
* The Uploadcare image editing plugin.
|
|
14
14
|
*
|
|
15
15
|
* It complements the {@link module:uploadcare/uploadcare~Uploadcare Uploadcare feature} by adding editing capabilities for uploaded images.
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export declare class UploadcareImageEditEditing extends Plugin {
|
|
18
18
|
/**
|
|
19
19
|
* @inheritDoc
|
|
20
20
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x540562=_0x9680;(function(_0x5d3ddc,_0x13b6ce){const _0x274035=_0x9680,_0x94a8f3=_0x5d3ddc();while(!![]){try{const _0x23a9e8=-parseInt(_0x274035(0x111))/0x1*(parseInt(_0x274035(0x11b))/0x2)+parseInt(_0x274035(0x10b))/0x3*(parseInt(_0x274035(0x122))/0x4)+parseInt(_0x274035(0x113))/0x5*(-parseInt(_0x274035(0x118))/0x6)+parseInt(_0x274035(0x11c))/0x7*(parseInt(_0x274035(0x110))/0x8)+parseInt(_0x274035(0x115))/0x9*(-parseInt(_0x274035(0x11d))/0xa)+parseInt(_0x274035(0x114))/0xb+parseInt(_0x274035(0x10d))/0xc;if(_0x23a9e8===_0x13b6ce)break;else _0x94a8f3['push'](_0x94a8f3['shift']());}catch(_0x575e58){_0x94a8f3['push'](_0x94a8f3['shift']());}}}(_0x111d,0xe6916));import{Plugin as _0x231478}from'ckeditor5/src/core.js';import{Notification as _0x38d04e}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x22f7d4}from'./uploadcareimageeditcommand.js';function _0x111d(){const _0x1a1f60=['add','uploadcareImageEdit','125136xYUmjf','469InafrV','isPremiumPlugin','2518205crDFlY','2657710AnOtFJ','54oDgWpu','pluginName','isOfficialPlugin','6iQjGrn','UploadcareImageEditEditing','ImageUtils','1868tolmLp','511HhYhCh','783810ERLOyj','commands','ImageEditing','requires','init','2776EABOeE','834PrIxkx','uploadcareImageReplace','9359652ywIwGJ'];_0x111d=function(){return _0x1a1f60;};return _0x111d();}function _0x9680(_0xd850f4,_0x23f30f){const _0x111dca=_0x111d();return _0x9680=function(_0x9680b0,_0xd69dcf){_0x9680b0=_0x9680b0-0x10b;let _0x503271=_0x111dca[_0x9680b0];return _0x503271;},_0x9680(_0xd850f4,_0x23f30f);}import{UploadcareImageReplaceCommand as _0x36ac8f}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x31de6c}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x231478{static get[_0x540562(0x116)](){const _0xe274b1=_0x540562;return _0xe274b1(0x119);}static get[_0x540562(0x120)](){const _0x69671c=_0x540562;return[_0x31de6c,_0x38d04e,_0x69671c(0x11a),_0x69671c(0x11f)];}static get[_0x540562(0x117)](){return!0x0;}static get[_0x540562(0x112)](){return!0x0;}[_0x540562(0x121)](){const _0x2fd8ad=_0x540562,{editor:_0xa71b54}=this;_0xa71b54[_0x2fd8ad(0x11e)][_0x2fd8ad(0x10e)](_0x2fd8ad(0x10f),new _0x22f7d4(_0xa71b54)),_0xa71b54[_0x2fd8ad(0x11e)][_0x2fd8ad(0x10e)](_0x2fd8ad(0x10c),new _0x36ac8f(_0xa71b54));}}
|
|
@@ -15,7 +15,7 @@ import '../../theme/uploadcare-theme.css';
|
|
|
15
15
|
* It registers the `'uploadcareImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
|
|
16
16
|
* that allows you to open the Uploadcare dialog and edit the image.
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
18
|
+
export declare class UploadcareImageEditUI extends Plugin {
|
|
19
19
|
/**
|
|
20
20
|
* @inheritDoc
|
|
21
21
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x188d86}from'ckeditor5/src/core.js';import{ButtonView as _0x1b8fe1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x41d76e}from'ckeditor5/src/icons.js';import{createElement as _0x757a10}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x188d86{['_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 _0x50b2fc=this['editor'];_0x50b2fc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x29305d=>{const _0x2bd6fd=_0x50b2fc['commands']['get']('uploadcareImageEdit'),_0x17efb5=new _0x1b8fe1(_0x29305d),t=_0x29305d['t'];return _0x17efb5['set']({'icon':_0x41d76e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x17efb5['bind']('isEnabled')['to'](_0x2bd6fd),_0x17efb5['bind']('isOn')['to'](_0x2bd6fd,'isActive'),this['listenTo'](_0x17efb5,'execute',()=>{_0x50b2fc['execute']('uploadcareImageEdit'),_0x50b2fc['editing']['view']['focus']();}),_0x17efb5;}),this['_initConfig']();}['_initConfig'](){const _0x2a28ca=_0x757a10(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2a28ca),this['listenTo'](this['editor'],'destroy',()=>{_0x2a28ca['remove']();});}}
|
|
@@ -11,7 +11,7 @@ import { Command } from 'ckeditor5/src/core.js';
|
|
|
11
11
|
*
|
|
12
12
|
* It replaces given image element attributes.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export declare class UploadcareImageReplaceCommand extends Command {
|
|
15
15
|
/**
|
|
16
16
|
* @inheritDoc
|
|
17
17
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29d975=_0x45e7;(function(_0x1b32b2,_0x4c1073){const _0x594d16=_0x45e7,_0x5d519e=_0x1b32b2();while(!![]){try{const _0x14415e=parseInt(_0x594d16(0xad))/0x1+parseInt(_0x594d16(0xb3))/0x2+parseInt(_0x594d16(0xa5))/0x3*(parseInt(_0x594d16(0xa4))/0x4)+-parseInt(_0x594d16(0xa1))/0x5*(parseInt(_0x594d16(0xb1))/0x6)+-parseInt(_0x594d16(0xb6))/0x7+-parseInt(_0x594d16(0xb0))/0x8+parseInt(_0x594d16(0xb9))/0x9;if(_0x14415e===_0x4c1073)break;else _0x5d519e['push'](_0x5d519e['shift']());}catch(_0xce0b72){_0x5d519e['push'](_0x5d519e['shift']());}}}(_0x15ec,0xe090a));function _0x45e7(_0x55c99e,_0x296a42){const _0x15ecd7=_0x15ec();return _0x45e7=function(_0x45e7b2,_0x695b6c){_0x45e7b2=_0x45e7b2-0xa1;let _0x1a748a=_0x15ecd7[_0x45e7b2];return _0x1a748a;},_0x45e7(_0x55c99e,_0x296a42);}import{Command as _0x2b55ef}from'ckeditor5/src/core.js';function _0x15ec(){const _0x2114cb=['execute','model','refresh','srcset','selection','1031660iTzabK','imageInline','setAttributes','1621144wZdYOQ','78cXQnni','sizes','799920hBpvyF','editor','change','4948629JJNLmR','document','isEnabled','7693326VcHyCD','459920RdSUph','element','imageBlock','8FHJbOV','1108149zSjYDY','getSelectedElement','removeAttribute'];_0x15ec=function(){return _0x2114cb;};return _0x15ec();}export class UploadcareImageReplaceCommand extends _0x2b55ef{[_0x29d975(0xaa)](){const _0x40e32e=_0x29d975,_0x196ee3=this[_0x40e32e(0xb4)][_0x40e32e(0xa9)][_0x40e32e(0xb7)][_0x40e32e(0xac)][_0x40e32e(0xa6)]();this[_0x40e32e(0xb8)]=Boolean(_0x196ee3&&(_0x196ee3['is'](_0x40e32e(0xa2),_0x40e32e(0xa3))||_0x196ee3['is'](_0x40e32e(0xa2),_0x40e32e(0xae))));}[_0x29d975(0xa8)](_0x47cbb3){const _0x460927=_0x29d975,_0xded196=this[_0x460927(0xb4)][_0x460927(0xa9)][_0x460927(0xb7)][_0x460927(0xac)][_0x460927(0xa6)]();this[_0x460927(0xb4)][_0x460927(0xa9)][_0x460927(0xb5)](_0xff6a0e=>{const _0x25886f=_0x460927;_0xff6a0e[_0x25886f(0xaf)](_0x47cbb3,_0xded196),_0xff6a0e[_0x25886f(0xa7)](_0x25886f(0xab),_0xded196),_0xff6a0e[_0x25886f(0xa7)](_0x25886f(0xb2),_0xded196);});}}
|