@ckeditor/ckeditor5-uploadcare 47.1.0-alpha.2 → 47.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.d.ts +54 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { ArrayOrItem } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import type { ConfigType } from '@uploadcare/file-uploader';
|
|
11
|
+
/**
|
|
12
|
+
* Locale definition type matching Uploadcare `LocaleDefinition` type.
|
|
13
|
+
* A plain object with translation keys and values.
|
|
14
|
+
*/
|
|
15
|
+
export type UploadcareLocaleDefinition = Record<string, string>;
|
|
16
|
+
/**
|
|
17
|
+
* Locale definition resolver type matching Uploadcare `LocaleDefinitionResolver` type.
|
|
18
|
+
* A function that returns a Promise with `LocaleDefinition`.
|
|
19
|
+
*/
|
|
20
|
+
export type UploadcareLocaleDefinitionResolver = () => Promise<UploadcareLocaleDefinition>;
|
|
11
21
|
/**
|
|
12
22
|
* The configuration of the {@link module:uploadcare/uploadcare~Uploadcare Uploadcare feature}.
|
|
13
23
|
*
|
|
@@ -71,7 +81,7 @@ export interface UploadcareConfig {
|
|
|
71
81
|
* Additionally, below options are not supported:
|
|
72
82
|
* * `imgOnly` - It's `true` by default.
|
|
73
83
|
* * `removeCopyright` - It's `true` by default.
|
|
74
|
-
* * `localeName` -
|
|
84
|
+
* * `localeName` - Custom translations can be provided via the `locale` config option.
|
|
75
85
|
* * `confirmUpload` - It's `false` by default.
|
|
76
86
|
* * `cameraMirror` - The `camera` source is not supported.
|
|
77
87
|
* * `cameraCapture` - The `camera` source is not supported.
|
|
@@ -106,6 +116,49 @@ export interface UploadcareConfig {
|
|
|
106
116
|
* @default []
|
|
107
117
|
*/
|
|
108
118
|
allowExternalImagesEditing?: ArrayOrItem<RegExp | 'origin' | ((src: string) => boolean)>;
|
|
119
|
+
/**
|
|
120
|
+
* Locale configuration for Uploadcare components.
|
|
121
|
+
*
|
|
122
|
+
* The plugin automatically uses the editor's language (`editor.locale.contentLanguage`) as the locale name.
|
|
123
|
+
* If the editor language is different from 'en', you need to provide translations for that language.
|
|
124
|
+
* This property is used only to supply translations that will be used by Uploadcare components.
|
|
125
|
+
*
|
|
126
|
+
* For information on how to configure the editor's language, see the
|
|
127
|
+
* [CKEditor 5 localization documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/deep-dive/ui/localization.html).
|
|
128
|
+
*
|
|
129
|
+
* Example with `UploadcareLocaleDefinition`:
|
|
130
|
+
* ```ts
|
|
131
|
+
* uploadcare: {
|
|
132
|
+
* pubkey: 'YOUR_PUBLIC_KEY',
|
|
133
|
+
* locale: {
|
|
134
|
+
* 'locale-id': 'de',
|
|
135
|
+
* 'social-source-lang': 'de',
|
|
136
|
+
* 'upload-file': 'Datei hochladen',
|
|
137
|
+
* 'file__one': 'Datei',
|
|
138
|
+
* 'file__other': 'Dateien',
|
|
139
|
+
* 'header-uploading': 'Lade {{count}} {{plural:file(count)}} hoch'
|
|
140
|
+
* }
|
|
141
|
+
* }
|
|
142
|
+
* ```
|
|
143
|
+
*
|
|
144
|
+
* Example with `UploadcareLocaleDefinitionResolver` (for CDN loading):
|
|
145
|
+
* ```ts
|
|
146
|
+
* uploadcare: {
|
|
147
|
+
* pubkey: 'YOUR_PUBLIC_KEY',
|
|
148
|
+
* locale: () => import('https://cdn.jsdelivr.net/npm/@uploadcare/file-uploader@v1/locales/file-uploader/de.js')
|
|
149
|
+
* .then( module => module.default )
|
|
150
|
+
* }
|
|
151
|
+
* ```
|
|
152
|
+
*
|
|
153
|
+
* For detailed information about locale definition format, available languages, and CDN translations,
|
|
154
|
+
* see the [Uploadcare localization documentation](https://uploadcare.com/docs/file-uploader/localization/).
|
|
155
|
+
*
|
|
156
|
+
* When translations are provided, they will be automatically applied to the Uploadcare
|
|
157
|
+
* components using `UC.defineLocale()` with the editor's language as the locale name.
|
|
158
|
+
*
|
|
159
|
+
* @default undefined
|
|
160
|
+
*/
|
|
161
|
+
locale?: UploadcareLocaleDefinition | UploadcareLocaleDefinitionResolver;
|
|
109
162
|
}
|
|
110
163
|
/**
|
|
111
164
|
* Configuration interface for the Uploadcare File Uploader component.
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4318ef,_0x201bc1){var _0x45104d=_0x28bb,_0x87aff2=_0x4318ef();while(!![]){try{var _0x3885c3=-parseInt(_0x45104d(0xd0))/0x1+parseInt(_0x45104d(0xcb))/0x2*(parseInt(_0x45104d(0xbf))/0x3)+parseInt(_0x45104d(0xcd))/0x4+-parseInt(_0x45104d(0xd4))/0x5+-parseInt(_0x45104d(0xc2))/0x6*(-parseInt(_0x45104d(0xc1))/0x7)+-parseInt(_0x45104d(0xbe))/0x8+parseInt(_0x45104d(0xce))/0x9*(parseInt(_0x45104d(0xd5))/0xa);if(_0x3885c3===_0x201bc1)break;else _0x87aff2['push'](_0x87aff2['shift']());}catch(_0x32cb68){_0x87aff2['push'](_0x87aff2['shift']());}}}(_0x2d71,0x829e2));export var UploadcareSource;function _0x2d71(){var _0x203dea=['Dropbox','1043697AuvLLJ','gphotos','gdrive','URL','1683840UfmQJA','10uBlmsE','660984zPUtfe','84831wDvtdN','dropbox','14XXcJJL','1197762uedfmk','local','Local','GPhotos','OneDrive','GDrive','facebook','Facebook','url','38uJZPqr','onedrive','1372628AkgSvt','6465816kKwCCC'];_0x2d71=function(){return _0x203dea;};return _0x2d71();}function _0x28bb(_0x3e80ef,_0x2f0ed7){var _0x2d71e8=_0x2d71();return _0x28bb=function(_0x28bb66,_0x337190){_0x28bb66=_0x28bb66-0xbe;var _0x1951a0=_0x2d71e8[_0x28bb66];return _0x1951a0;},_0x28bb(_0x3e80ef,_0x2f0ed7);}!function(_0xfa4aa8){var _0x4a12de=_0x28bb;_0xfa4aa8[_0x4a12de(0xc4)]=_0x4a12de(0xc3),_0xfa4aa8[_0x4a12de(0xd3)]=_0x4a12de(0xca),_0xfa4aa8[_0x4a12de(0xcf)]=_0x4a12de(0xc0),_0xfa4aa8[_0x4a12de(0xc7)]=_0x4a12de(0xd2),_0xfa4aa8[_0x4a12de(0xc9)]=_0x4a12de(0xc8),_0xfa4aa8[_0x4a12de(0xc5)]=_0x4a12de(0xd1),_0xfa4aa8[_0x4a12de(0xc6)]=_0x4a12de(0xcc);}(UploadcareSource||(UploadcareSource={}));
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1e87da=_0xd6ac;(function(_0x150ed0,_0x5c4d31){const _0x13e3ab=_0xd6ac,_0x43d531=_0x150ed0();while(!![]){try{const _0x53337a=-parseInt(_0x13e3ab(0xd5))/0x1*(parseInt(_0x13e3ab(0xbc))/0x2)+parseInt(_0x13e3ab(0xca))/0x3*(parseInt(_0x13e3ab(0xf8))/0x4)+-parseInt(_0x13e3ab(0xf9))/0x5*(parseInt(_0x13e3ab(0xe8))/0x6)+-parseInt(_0x13e3ab(0xf2))/0x7+parseInt(_0x13e3ab(0xf4))/0x8+-parseInt(_0x13e3ab(0xd6))/0x9+parseInt(_0x13e3ab(0xdc))/0xa*(parseInt(_0x13e3ab(0xc3))/0xb);if(_0x53337a===_0x5c4d31)break;else _0x43d531['push'](_0x43d531['shift']());}catch(_0x1a658c){_0x43d531['push'](_0x43d531['shift']());}}}(_0x14e6,0x47ef0));function _0xd6ac(_0x48d08b,_0x433cf5){const _0x14e64f=_0x14e6();return _0xd6ac=function(_0xd6ac64,_0x235e3e){_0xd6ac64=_0xd6ac64-0xa4;let _0x4d767f=_0x14e64f[_0xd6ac64];return _0x4d767f;},_0xd6ac(_0x48d08b,_0x433cf5);}function _0x14e6(){const _0x487acb=['editing','configElement','uploader-','598SFIPlV','4628115KHARnj','href','querySelector','UploadcareEditing','isRegistered','true','340VEbupS','schema','uploadcareImageId','config','listenTo','model','uploadcare.pubkey','fromCharCode','imageInline','_initSchema','_ctxElement','uploadcareImageReplace','1748382SnjiqY','commands','attributeToAttribute','data-uc-image-id','ctxElement','destroy','_initConfig','appendChild','selection','upcast','2358104BkfjiZ','_initImageProcessingIndicator','902328aihneW','extend','isOfficialPlugin','afterInit','32684AqsGaf','5xHGkBU','locale','insertImage','removeAttribute','uploadcare.uploader','init','editor','getSelectedElement','once','pluginName','downcast','_configElement','get','_initCtx','map','uc-upload-ctx-provider','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcare','elementToAttribute','getAttribute','replaceImageSource','requires','body','isPremiumPlugin','for','372RgFCAc','iconHrefResolver','imageBlock','conversion','input[uploadcare-file-input]','closeMax','view','366641bVwMsf','_initConversion','document','PictureEditing','contentLanguage','remove','join','111zkmqbQ','cleanupImage','ucContextId','execute','uc-config','render','add','#uc-icon-arrow-down'];_0x14e6=function(){return _0x487acb;};return _0x14e6();}import{Plugin as _0x55f996}from'ckeditor5/src/core.js';import{Dialog as _0x14e42b}from'ckeditor5/src/ui.js';import{createElement as _0x526dea,global as _0x2bda02,uid as _0x19b02b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5e1eb4}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x46acec}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x462b0c}from'./utils/editingutils.js';export class UploadcareEditing extends _0x55f996{[_0x1e87da(0xae)]=null;[_0x1e87da(0xe6)]=null;static get[_0x1e87da(0xac)](){const _0x5c717d=_0x1e87da;return _0x5c717d(0xd9);}static get[_0x1e87da(0xb8)](){const _0x488f02=_0x1e87da;return[_0x488f02(0xc6),_0x46acec,_0x14e42b];}static get[_0x1e87da(0xf6)](){return!0x0;}static get[_0x1e87da(0xba)](){return!0x0;}[_0x1e87da(0xcc)];get[_0x1e87da(0xd3)](){const _0x48a095=_0x1e87da;return this[_0x48a095(0xae)];}get[_0x1e87da(0xec)](){const _0x1717e2=_0x1e87da;return this[_0x1717e2(0xe6)];}constructor(_0x2d97ca){const _0x173b3c=_0x1e87da;super(_0x2d97ca),this[_0x173b3c(0xcc)]=_0x19b02b();}[_0x1e87da(0xa8)](){const _0x48ad6d=_0x1e87da,_0x2a765a=this[_0x48ad6d(0xa9)];_0x2a765a[_0x48ad6d(0xe9)][_0x48ad6d(0xd0)](_0x48ad6d(0xb4),new _0x5e1eb4(_0x2a765a));}[_0x1e87da(0xf7)](){const _0x22c7ac=_0x1e87da;this[_0x22c7ac(0xe5)](),this[_0x22c7ac(0xc4)](),this[_0x22c7ac(0xee)](),this[_0x22c7ac(0xb0)](),this[_0x22c7ac(0xf3)](),this[_0x22c7ac(0xe0)](this[_0x22c7ac(0xa9)],_0x22c7ac(0xed),()=>{const _0x53712f=_0x22c7ac;this[_0x53712f(0xae)]&&(this[_0x53712f(0xae)][_0x53712f(0xc8)](),this[_0x53712f(0xae)]=null),this[_0x53712f(0xe6)]&&(this[_0x53712f(0xe6)][_0x53712f(0xc8)](),this[_0x53712f(0xe6)]=null);const _0x55b1db=_0x2bda02[_0x53712f(0xc5)][_0x53712f(0xd8)](_0x53712f(0xc0));_0x55b1db&&_0x55b1db[_0x53712f(0xc8)]();}),async function(_0x50b746){const _0x5e573b=_0x5c30a7([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x279432=0x3d8d0df,_0x53f1d4=0x3dfa687^_0x279432,_0x30776f=window[_0x5c30a7([0x44,0x61,0x74,0x65])][_0x5c30a7([0x6e,0x6f,0x77])](),_0xf4123a=_0x50b746[_0x5c30a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4da084=new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36dac1=>{_0xf4123a[_0x5c30a7([0x6f,0x6e,0x63,0x65])](_0x5c30a7([0x72,0x65,0x61,0x64,0x79]),_0x36dac1);}),_0x435f22={[_0x5c30a7([0x6b,0x74,0x79])]:_0x5c30a7([0x45,0x43]),[_0x5c30a7([0x75,0x73,0x65])]:_0x5c30a7([0x73,0x69,0x67]),[_0x5c30a7([0x63,0x72,0x76])]:_0x5c30a7([0x50,0x2d,0x32,0x35,0x36]),[_0x5c30a7([0x78])]:_0x5c30a7([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]),[_0x5c30a7([0x79])]:_0x5c30a7([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]),[_0x5c30a7([0x61,0x6c,0x67])]:_0x5c30a7([0x45,0x53,0x32,0x35,0x36])},_0x101bb7=_0xf4123a[_0x5c30a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c30a7([0x67,0x65,0x74])](_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c80c8(){let _0x47967c,_0x322c8a=null,_0x4000d8=null;try{if(_0x101bb7==_0x5c30a7([0x47,0x50,0x4c]))return _0x5c30a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47967c=_0x16832b(),!_0x47967c)return _0x5c30a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47967c[_0x5c30a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4000d8=_0x578b2b(_0x47967c[_0x5c30a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47967c[_0x5c30a7([0x6a,0x74,0x69])])),await _0x1c63df()?_0x54753d()?_0x4d062d()?_0x5c30a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x517e6b()?(_0x47967c[_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c30a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x322c8a=_0x4f28ed(_0x5c30a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47967c[_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c30a7([0x74,0x72,0x69,0x61,0x6c])&&(_0x322c8a=_0x4f28ed(_0x5c30a7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x8a6e6b()):_0x5c30a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c30a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c30a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c30a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d062d(){const _0x12b888=[_0x5c30a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c30a7([0x74,0x72,0x69,0x61,0x6c])][_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47967c[_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30776f/0x3e8:0xe10*_0x53f1d4;return _0x47967c[_0x5c30a7([0x65,0x78,0x70])]<_0x12b888;}function _0x54753d(){const _0x199d6b=_0x47967c[_0x5c30a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x199d6b&&(!!_0x199d6b[_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c30a7([0x2a]))||!!_0x199d6b[_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c30a7([0x55,0x50,0x4c,0x43])));}function _0x517e6b(){const _0x35f0a8=_0xd6ac,_0x3486b6=_0x47967c[_0x5c30a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3486b6||0x0==_0x3486b6[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5bf3ec}=new URL(window[_0x5c30a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x35f0a8(0xd7)]);if(_0x3486b6[_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bf3ec))return!0x0;const _0x49764c=_0x5bf3ec[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])](_0x5c30a7([0x2e]));return _0x3486b6[_0x5c30a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ec21d=>_0x3ec21d[_0x5c30a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c30a7([0x2a])))[_0x5c30a7([0x6d,0x61,0x70])](_0x45f7c4=>_0x45f7c4[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])](_0x5c30a7([0x2e])))[_0x5c30a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd57049=>_0xd57049[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x49764c[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c30a7([0x6d,0x61,0x70])](_0x2d477c=>Array(_0x49764c[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2d477c[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c30a7([0x66,0x69,0x6c,0x6c])](_0x2d477c[0x0]===_0x5c30a7([0x2a])?_0x5c30a7([0x2a]):'')[_0x5c30a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2d477c))[_0x5c30a7([0x73,0x6f,0x6d,0x65])](_0x482d59=>_0x49764c[_0x5c30a7([0x65,0x76,0x65,0x72,0x79])]((_0x12fdb1,_0x14f83d)=>_0x482d59[_0x14f83d]===_0x12fdb1||_0x482d59[_0x14f83d]===_0x5c30a7([0x2a])));}function _0x8a6e6b(){return _0x322c8a&&_0x4000d8?new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x355311,_0x412618)=>{_0x322c8a[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x355311,_0x412618),_0x4000d8[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x15fbcd=>{_0x15fbcd!=_0x5c30a7([0x56,0x61,0x6c,0x69,0x64])&&_0x355311(_0x15fbcd);},_0x412618);}):_0x322c8a||_0x4000d8||_0x5c30a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x578b2b(_0x39c01a,_0x472803){return new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x241d5b=>{if(_0x3a0973())return _0x241d5b(_0x5c30a7([0x56,0x61,0x6c,0x69,0x64]));_0xb9c60c(),_0xf4123a[_0x5c30a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c30a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x71b29b=!0x1;const _0x2f7d43=_0x19b02b();function _0x99fc28(_0x179af2){return!!_0x179af2&&(typeof _0x179af2===_0x5c30a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x179af2===_0x5c30a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x179af2[_0x5c30a7([0x74,0x68,0x65,0x6e])]===_0x5c30a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x179af2[_0x5c30a7([0x63,0x61,0x74,0x63,0x68])]===_0x5c30a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24b112(_0xc52b6e){_0x482104(_0xc52b6e)[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x1b6838=>{if(!_0x1b6838||_0x1b6838[_0x5c30a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c30a7([0x6f,0x6b]))return _0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x536de0(_0x4a2d3a(_0x2f7d43+_0x472803))!=_0x1b6838[_0x5c30a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c30a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x1a374d=>(_0x571015(),_0x1a374d),()=>{const _0xc25b96=_0xc1b354();return null==_0xc25b96?(_0x571015(),_0x5c30a7([0x56,0x61,0x6c,0x69,0x64])):_0x5c30a7(_0x30776f-_0xc25b96>(0x27d454df^_0x279432)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x241d5b)[_0x5c30a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x241d5b(_0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x560c5c=0x3ee3e5f^_0x279432;function _0x571015(){const _0x833d00=_0x5c30a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x536de0(_0x4a2d3a(_0x39c01a)),_0x422eff=_0x37e3f6(_0x536de0(window[_0x5c30a7([0x4d,0x61,0x74,0x68])][_0x5c30a7([0x63,0x65,0x69,0x6c])](_0x30776f/_0x560c5c)));window[_0x5c30a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c30a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x833d00,_0x422eff);}function _0xc1b354(){const _0x32d210=_0x5c30a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x536de0(_0x4a2d3a(_0x39c01a)),_0x28017d=window[_0x5c30a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c30a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32d210);return _0x28017d?window[_0x5c30a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37e3f6(_0x28017d),0x10)*_0x560c5c:null;}function _0x482104(_0x54cc96){return new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x354851,_0x18889e)=>{_0x54cc96[_0x5c30a7([0x74,0x68,0x65,0x6e])](_0x354851,_0x18889e),window[_0x5c30a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18889e,0x3d9041f^_0x279432);});}}_0xf4123a[_0x5c30a7([0x6f,0x6e])](_0x5c30a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44e08c,_0x7de3fe)=>{if(_0x7de3fe[0x0]!=_0x39c01a)return _0x241d5b(_0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7de3fe[0x1]={..._0x7de3fe[0x1],[_0x5c30a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f7d43};},{[_0x5c30a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c30a7([0x68,0x69,0x67,0x68])}),_0xf4123a[_0x5c30a7([0x6f,0x6e])](_0x5c30a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x160d62=>{_0x99fc28(_0x160d62[_0x5c30a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x71b29b=!0x0,_0x24b112(_0x160d62[_0x5c30a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c30a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c30a7([0x6c,0x6f,0x77])}),_0x4da084[_0x5c30a7([0x74,0x68,0x65,0x6e])](()=>{_0x71b29b||_0x241d5b(_0x5c30a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a0973(){return _0xf4123a[_0x5c30a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c30a7([0x76,0x69,0x65,0x77])][_0x5c30a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c30a7([0x61,0x75,0x74,0x6f]);}function _0xb9c60c(){_0xf4123a[_0x5c30a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c30a7([0x76,0x69,0x65,0x77])][_0x5c30a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c30a7([0x61,0x75,0x74,0x6f]);}}function _0x4f28ed(_0x10fffd){const _0x40345a=[new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2048ad=>setTimeout(_0x2048ad,0x3d1ee13^_0x279432)),_0x4da084[_0x5c30a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56009b=>{let _0x3e9208=0x0;_0xf4123a[_0x5c30a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c30a7([0x6f,0x6e])](_0x5c30a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c6bc3,_0x2d287a)=>{_0x2d287a[0x0][_0x5c30a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e9208++,_0x3e9208==(0x3d8d127^_0x279432)&&(_0x56009b(),_0x4c6bc3[_0x5c30a7([0x6f,0x66,0x66])]());});}))];return window[_0x5c30a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c30a7([0x72,0x61,0x63,0x65])](_0x40345a)[_0x5c30a7([0x74,0x68,0x65,0x6e])](()=>_0x10fffd);}async function _0x216e22(){await _0x4da084,_0xf4123a[_0x5c30a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c30a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b3e4f,_0xf4123a[_0x5c30a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c30a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b3e4f,_0xf4123a[_0x5c30a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c30a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf8b02b(_0xdb56b3){const _0x27871f=_0x102ca1();_0xf4123a[_0x27871f]=_0x5c30a7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdb56b3,_0xdb56b3!=_0x5c30a7([0x56,0x61,0x6c,0x69,0x64])&&_0x216e22();}function _0x102ca1(){const _0x58d632=window[_0x5c30a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c30a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c30a7([0x6e,0x6f,0x77])]())[_0x5c30a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c30a7([0x2e]),'');let _0x4115cf=_0x5c30a7([0x52]);for(let _0x2ea2b0=0x0;_0x2ea2b0<_0x58d632[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ea2b0+=0x2){let _0x4e2164=window[_0x5c30a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58d632[_0x5c30a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ea2b0,_0x2ea2b0+0x2));_0x4e2164>=_0x5e573b[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e2164-=_0x5e573b[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4115cf+=_0x5e573b[_0x4e2164];}return _0x4115cf;}function _0x16832b(){const _0x1dcf48=_0x101bb7[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])](_0x5c30a7([0x2e]));if(0x3!=_0x1dcf48[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd7b038(_0x1dcf48[0x1]);function _0xd7b038(_0x41f13b){const _0xb19d62=_0x454140(_0x41f13b);return _0xb19d62&&_0x413752()?_0xb19d62:null;function _0x413752(){const _0x46906a=_0xb19d62[_0x5c30a7([0x6a,0x74,0x69])],_0x3d8918=window[_0x5c30a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46906a[_0x5c30a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46906a[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39f445={..._0xb19d62,[_0x5c30a7([0x6a,0x74,0x69])]:_0x46906a[_0x5c30a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46906a[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39f445[_0x5c30a7([0x76,0x63])],_0x4a2d3a(_0x39f445)==_0x3d8918;}}}async function _0x1c63df(){let _0x1d9b16=!0x0;try{const _0x5d8fa7=_0x101bb7[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])](_0x5c30a7([0x2e])),[_0xa143e8,_0x4de0e6,_0x6226e2]=_0x5d8fa7;return _0x422592(_0xa143e8),await _0x156e53(_0xa143e8,_0x4de0e6,_0x6226e2),_0x1d9b16;}catch{return!0x1;}function _0x422592(_0x273a29){const _0x5d64ce=_0x454140(_0x273a29);_0x5d64ce&&_0x5d64ce[_0x5c30a7([0x61,0x6c,0x67])]==_0x5c30a7([0x45,0x53,0x32,0x35,0x36])||(_0x1d9b16=!0x1);}async function _0x156e53(_0x1209be,_0x1dfaf9,_0x572822){const _0x2ab251=window[_0x5c30a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c30a7([0x66,0x72,0x6f,0x6d])](_0x33e189(_0x572822),_0x1086c4=>_0x1086c4[_0x5c30a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32c600=new window[(_0x5c30a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c30a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1209be+_0x5c30a7([0x2e])+_0x1dfaf9),_0x5aeb50=window[_0x5c30a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c30a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5aeb50)return;const _0x25edc5=await _0x5aeb50[_0x5c30a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c30a7([0x6a,0x77,0x6b]),_0x435f22,{[_0x5c30a7([0x6e,0x61,0x6d,0x65])]:_0x5c30a7([0x45,0x43,0x44,0x53,0x41]),[_0x5c30a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c30a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c30a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5aeb50[_0x5c30a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c30a7([0x6e,0x61,0x6d,0x65])]:_0x5c30a7([0x45,0x43,0x44,0x53,0x41]),[_0x5c30a7([0x68,0x61,0x73,0x68])]:{[_0x5c30a7([0x6e,0x61,0x6d,0x65])]:_0x5c30a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25edc5,_0x2ab251,_0x32c600)||(_0x1d9b16=!0x1);}}function _0x454140(_0x4a4f06){return _0x4a4f06[_0x5c30a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c30a7([0x65,0x79]))?JSON[_0x5c30a7([0x70,0x61,0x72,0x73,0x65])](_0x33e189(_0x4a4f06)):null;}function _0x33e189(_0x25e8a1){return window[_0x5c30a7([0x61,0x74,0x6f,0x62])](_0x25e8a1[_0x5c30a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c30a7([0x2b]))[_0x5c30a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c30a7([0x2f])));}function _0x4a2d3a(_0x4af91c){let _0x47c22e=0x1505;function _0x2ab769(_0x12ffbe){for(let _0x131593=0x0;_0x131593<_0x12ffbe[_0x5c30a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x131593++){const _0x499ad1=_0x12ffbe[_0x5c30a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x131593);_0x47c22e=(_0x47c22e<<0x5)+_0x47c22e+_0x499ad1,_0x47c22e&=_0x47c22e;}}function _0x1fd66c(_0x21ba3f){Array[_0x5c30a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x21ba3f)?_0x21ba3f[_0x5c30a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1fd66c):_0x21ba3f&&typeof _0x21ba3f==_0x5c30a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c30a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x21ba3f)[_0x5c30a7([0x73,0x6f,0x72,0x74])]()[_0x5c30a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c43c4,_0x111a67])=>{_0x2ab769(_0x1c43c4),_0x1fd66c(_0x111a67);}):_0x2ab769(window[_0x5c30a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x21ba3f));}return _0x1fd66c(_0x4af91c),_0x47c22e>>>0x0;}function _0x536de0(_0x594b31){return _0x594b31[_0x5c30a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c30a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c30a7([0x30]));}function _0x37e3f6(_0x187b3b){return _0x187b3b[_0x5c30a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c30a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c30a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b3e4f(){}function _0x5c30a7(_0xa38c4a){const _0x53b185=_0xd6ac;return _0xa38c4a[_0x53b185(0xb1)](_0x431f2f=>String[_0x53b185(0xe3)](_0x431f2f))[_0x53b185(0xc9)]('');}_0xf8b02b(await _0x4c80c8());}(this);}[_0x1e87da(0xe5)](){const _0x556e55=_0x1e87da,_0x49a97c=this[_0x556e55(0xa9)][_0x556e55(0xe1)][_0x556e55(0xdd)];_0x49a97c[_0x556e55(0xda)](_0x556e55(0xbe))&&_0x49a97c[_0x556e55(0xf5)](_0x556e55(0xbe),{'allowAttributes':[_0x556e55(0xde)]}),_0x49a97c[_0x556e55(0xda)](_0x556e55(0xe4))&&_0x49a97c[_0x556e55(0xf5)](_0x556e55(0xe4),{'allowAttributes':[_0x556e55(0xde)]});}[_0x1e87da(0xc4)](){const _0x3044aa=_0x1e87da,_0x326591=this[_0x3044aa(0xa9)];_0x326591[_0x3044aa(0xbf)][_0x3044aa(0xbb)](_0x3044aa(0xad))[_0x3044aa(0xea)]({'model':_0x3044aa(0xde),'view':_0x3044aa(0xeb)}),_0x326591[_0x3044aa(0xbf)][_0x3044aa(0xbb)](_0x3044aa(0xf1))[_0x3044aa(0xb5)]({'model':{'key':_0x3044aa(0xde),'value':_0x503a8c=>_0x503a8c[_0x3044aa(0xb6)](_0x3044aa(0xeb))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5c3e72=_0x326591[_0x3044aa(0xe9)][_0x3044aa(0xaf)](_0x3044aa(0xb7));_0x5c3e72&&this[_0x3044aa(0xe0)](_0x5c3e72,_0x3044aa(0xcb),(_0x3da7d8,[_0x3ba95f,_0x107d8f])=>{const _0x319e7e=_0x3044aa;_0x3ba95f[_0x319e7e(0xa6)](_0x319e7e(0xde),_0x107d8f);});}[_0x1e87da(0xee)](){const _0x2534ae=_0x1e87da,_0x304ce5=this[_0x2534ae(0xa9)][_0x2534ae(0xdf)][_0x2534ae(0xaf)](_0x2534ae(0xa7))||{},_0x2e28ef=this[_0x2534ae(0xa9)][_0x2534ae(0xdf)][_0x2534ae(0xaf)](_0x2534ae(0xe2))||'';this[_0x2534ae(0xae)]=_0x526dea(_0x2bda02[_0x2534ae(0xc5)],_0x2534ae(0xce),{..._0x304ce5,'pubkey':_0x2e28ef,'ctx-name':_0x2534ae(0xd4)+this[_0x2534ae(0xcc)],'sourceList':'','imgOnly':_0x2534ae(0xdb),'removeCopyright':_0x2534ae(0xdb),'localeName':this[_0x2534ae(0xa9)][_0x2534ae(0xa4)][_0x2534ae(0xc7)],'externalSourcesEmbedCss':_0x2534ae(0xb3)}),this[_0x2534ae(0xae)][_0x2534ae(0xbd)]=_0x259575=>{const _0x43303f=_0x2534ae;if(_0x43303f(0xc1)==_0x259575)return _0x43303f(0xd1);},_0x2bda02[_0x2534ae(0xc5)][_0x2534ae(0xb9)][_0x2534ae(0xef)](this[_0x2534ae(0xae)]);}[_0x1e87da(0xb0)](){const _0x5c247e=_0x1e87da;this[_0x5c247e(0xe6)]=_0x526dea(_0x2bda02[_0x5c247e(0xc5)],_0x5c247e(0xb2),{'ctx-name':_0x5c247e(0xd4)+this[_0x5c247e(0xcc)]}),_0x2bda02[_0x5c247e(0xc5)][_0x5c247e(0xb9)][_0x5c247e(0xef)](this[_0x5c247e(0xe6)]);}[_0x1e87da(0xf3)](){const _0x2e84ff=_0x1e87da,_0x21712b=this[_0x2e84ff(0xa9)][_0x2e84ff(0xe9)][_0x2e84ff(0xaf)](_0x2e84ff(0xa5));_0x21712b&&this[_0x2e84ff(0xe0)](_0x21712b,_0x2e84ff(0xcd),()=>{const _0x2757f2=_0x2e84ff,_0x47db9a=this[_0x2757f2(0xa9)][_0x2757f2(0xe1)][_0x2757f2(0xc5)][_0x2757f2(0xf0)][_0x2757f2(0xaa)]();_0x47db9a&&_0x47db9a[_0x2757f2(0xb6)](_0x2757f2(0xde))&&this[_0x2757f2(0xa9)][_0x2757f2(0xd2)][_0x2757f2(0xc2)][_0x2757f2(0xab)](_0x2757f2(0xcf),()=>{const _0x24a157=_0x2757f2;_0x462b0c(this[_0x24a157(0xa9)],_0x47db9a);});});const _0x286c8c=this[_0x2e84ff(0xa9)][_0x2e84ff(0xe9)][_0x2e84ff(0xaf)](_0x2e84ff(0xe7));_0x286c8c&&this[_0x2e84ff(0xe0)](_0x286c8c,_0x2e84ff(0xcd),()=>{const _0x41b639=_0x2e84ff,_0x24208e=this[_0x41b639(0xa9)][_0x41b639(0xe1)][_0x41b639(0xc5)][_0x41b639(0xf0)][_0x41b639(0xaa)]();_0x24208e&&_0x24208e[_0x41b639(0xb6)](_0x41b639(0xde))&&this[_0x41b639(0xa9)][_0x41b639(0xd2)][_0x41b639(0xc2)][_0x41b639(0xab)](_0x41b639(0xcf),()=>{const _0x566868=_0x41b639;_0x462b0c(this[_0x566868(0xa9)],_0x24208e);});});}}
|
|
23
|
+
const _0x27282=_0x3e14;function _0x3e14(_0x3f3d0a,_0x1122a7){const _0x3d33e5=_0x3d33();return _0x3e14=function(_0x3e142a,_0x180cfe){_0x3e142a=_0x3e142a-0x14d;let _0x4866f5=_0x3d33e5[_0x3e142a];return _0x4866f5;},_0x3e14(_0x3f3d0a,_0x1122a7);}(function(_0x146486,_0x33bbbc){const _0x1ccffd=_0x3e14,_0x5e6a33=_0x146486();while(!![]){try{const _0x5f5cb8=parseInt(_0x1ccffd(0x153))/0x1+-parseInt(_0x1ccffd(0x189))/0x2*(parseInt(_0x1ccffd(0x16f))/0x3)+-parseInt(_0x1ccffd(0x19f))/0x4*(-parseInt(_0x1ccffd(0x176))/0x5)+-parseInt(_0x1ccffd(0x15b))/0x6+parseInt(_0x1ccffd(0x17b))/0x7*(-parseInt(_0x1ccffd(0x160))/0x8)+-parseInt(_0x1ccffd(0x177))/0x9*(parseInt(_0x1ccffd(0x19a))/0xa)+parseInt(_0x1ccffd(0x163))/0xb*(parseInt(_0x1ccffd(0x17a))/0xc);if(_0x5f5cb8===_0x33bbbc)break;else _0x5e6a33['push'](_0x5e6a33['shift']());}catch(_0x5ee4ef){_0x5e6a33['push'](_0x5e6a33['shift']());}}}(_0x3d33,0xcbc8f));import{Plugin as _0x3a0cb2}from'ckeditor5/src/core.js';import{Dialog as _0x15606d}from'ckeditor5/src/ui.js';import{createElement as _0x5f27b3,global as _0x2b5c2e,uid as _0x2b35eb}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x59c15e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5d2810}from'./uploadcareuploadadapter.js';function _0x3d33(){const _0x2e8fba=['replaceImageSource','appendChild','imageBlock','ucContextId','1624kNMtMH','render','remove','242NfliKe','_initConfig','uploadcare.uploader','_initConversion','uploader-','upcast','getSelectedElement','conversion','closeMax','isPremiumPlugin','listenTo','uploadcare.pubkey','9717NPksEh','removeAttribute','config','PictureEditing','_initImageProcessingIndicator','destroy','pluginName','85YUJUaT','63pRpxcd','get','extend','801948abFkhn','13482SYHcCq','getAttribute','configElement','iconHrefResolver','_initCtx','map','cleanupImage','schema','uc-upload-ctx-provider','commands','attributeToAttribute','isOfficialPlugin','once','body','362ImAFWT','view','document','for','uploadcareImageId','href','editing','uc-config','downcast','elementToAttribute','data-uc-image-id','_initSchema','execute','insertImage','imageInline','fromCharCode','afterInit','237700CvoejT','join','\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','requires','contentLanguage','120868PzZUuP','model','add','#uc-icon-arrow-down','true','init','editor','querySelector','_configElement','selection','ctxElement','591228NEanyo','uploadcareImageReplace','locale','isRegistered','UploadcareEditing','input[uploadcare-file-input]','uploadcare','_ctxElement','3580950nIFxVf'];_0x3d33=function(){return _0x2e8fba;};return _0x3d33();}import{showImageProcessingIndicator as _0x126a70}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3a0cb2{[_0x27282(0x150)]=null;[_0x27282(0x15a)]=null;static get[_0x27282(0x175)](){const _0x284243=_0x27282;return _0x284243(0x157);}static get[_0x27282(0x19d)](){const _0x1f407a=_0x27282;return[_0x1f407a(0x172),_0x5d2810,_0x15606d];}static get[_0x27282(0x186)](){return!0x0;}static get[_0x27282(0x16c)](){return!0x0;}[_0x27282(0x15f)];get[_0x27282(0x17d)](){const _0x1abe34=_0x27282;return this[_0x1abe34(0x150)];}get[_0x27282(0x152)](){const _0x287f77=_0x27282;return this[_0x287f77(0x15a)];}constructor(_0x51c41e){const _0x129861=_0x27282;super(_0x51c41e),this[_0x129861(0x15f)]=_0x2b35eb();}[_0x27282(0x14d)](){const _0x3c4bd=_0x27282,_0x21a84c=this[_0x3c4bd(0x14e)];_0x21a84c[_0x3c4bd(0x184)][_0x3c4bd(0x1a1)](_0x3c4bd(0x159),new _0x59c15e(_0x21a84c));}[_0x27282(0x199)](){const _0x146d5a=_0x27282;this[_0x146d5a(0x194)](),this[_0x146d5a(0x166)](),this[_0x146d5a(0x164)](),this[_0x146d5a(0x17f)](),this[_0x146d5a(0x173)](),this[_0x146d5a(0x16d)](this[_0x146d5a(0x14e)],_0x146d5a(0x174),()=>{const _0x5f2eee=_0x146d5a;this[_0x5f2eee(0x150)]&&(this[_0x5f2eee(0x150)][_0x5f2eee(0x162)](),this[_0x5f2eee(0x150)]=null),this[_0x5f2eee(0x15a)]&&(this[_0x5f2eee(0x15a)][_0x5f2eee(0x162)](),this[_0x5f2eee(0x15a)]=null);const _0x275947=_0x2b5c2e[_0x5f2eee(0x18b)][_0x5f2eee(0x14f)](_0x5f2eee(0x158));_0x275947&&_0x275947[_0x5f2eee(0x162)]();}),async function(_0x5bc6f6){const _0x1ecd1a=_0x4c0944([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x3905cb=0x535f8c3a,_0xef64de=0x5358fbaa^_0x3905cb,_0x4b1321=window[_0x4c0944([0x44,0x61,0x74,0x65])][_0x4c0944([0x6e,0x6f,0x77])](),_0x54cb2c=_0x5bc6f6[_0x4c0944([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd7fec3=new window[(_0x4c0944([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17a475=>{_0x54cb2c[_0x4c0944([0x6f,0x6e,0x63,0x65])](_0x4c0944([0x72,0x65,0x61,0x64,0x79]),_0x17a475);}),_0x49ba9b={[_0x4c0944([0x6b,0x74,0x79])]:_0x4c0944([0x45,0x43]),[_0x4c0944([0x75,0x73,0x65])]:_0x4c0944([0x73,0x69,0x67]),[_0x4c0944([0x63,0x72,0x76])]:_0x4c0944([0x50,0x2d,0x32,0x35,0x36]),[_0x4c0944([0x78])]:_0x4c0944([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]),[_0x4c0944([0x79])]:_0x4c0944([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]),[_0x4c0944([0x61,0x6c,0x67])]:_0x4c0944([0x45,0x53,0x32,0x35,0x36])},_0x451cb6=_0x54cb2c[_0x4c0944([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c0944([0x67,0x65,0x74])](_0x4c0944([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa17c43(){let _0x49f00a,_0x133c91=null,_0x174423=null;try{if(_0x451cb6==_0x4c0944([0x47,0x50,0x4c]))return _0x4c0944([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49f00a=_0x27d859(),!_0x49f00a)return _0x4c0944([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49f00a[_0x4c0944([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x174423=_0x4e949c(_0x49f00a[_0x4c0944([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49f00a[_0x4c0944([0x6a,0x74,0x69])])),await _0x3b25b0()?_0x693f64()?_0x25db94()?_0x4c0944([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x37e1a1()?(_0x49f00a[_0x4c0944([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c0944([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x133c91=_0x56c51d(_0x4c0944([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49f00a[_0x4c0944([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c0944([0x74,0x72,0x69,0x61,0x6c])&&(_0x133c91=_0x56c51d(_0x4c0944([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33caf7()):_0x4c0944([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c0944([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c0944([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c0944([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25db94(){const _0x225bec=[_0x4c0944([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c0944([0x74,0x72,0x69,0x61,0x6c])][_0x4c0944([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49f00a[_0x4c0944([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b1321/0x3e8:0xe10*_0xef64de;return _0x49f00a[_0x4c0944([0x65,0x78,0x70])]<_0x225bec;}function _0x693f64(){const _0x1c9c24=_0x49f00a[_0x4c0944([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c9c24&&(!!_0x1c9c24[_0x4c0944([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0944([0x2a]))||!!_0x1c9c24[_0x4c0944([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0944([0x55,0x50,0x4c,0x43])));}function _0x37e1a1(){const _0x4ff692=_0x3e14,_0x1e77b6=_0x49f00a[_0x4c0944([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e77b6||0x0==_0x1e77b6[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cde23}=new URL(window[_0x4c0944([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ff692(0x18e)]);if(_0x1e77b6[_0x4c0944([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cde23))return!0x0;const _0x3da421=_0x1cde23[_0x4c0944([0x73,0x70,0x6c,0x69,0x74])](_0x4c0944([0x2e]));return _0x1e77b6[_0x4c0944([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9c5e95=>_0x9c5e95[_0x4c0944([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0944([0x2a])))[_0x4c0944([0x6d,0x61,0x70])](_0x51cfcb=>_0x51cfcb[_0x4c0944([0x73,0x70,0x6c,0x69,0x74])](_0x4c0944([0x2e])))[_0x4c0944([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a47ba=>_0x3a47ba[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3da421[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c0944([0x6d,0x61,0x70])](_0x21924a=>Array(_0x3da421[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x21924a[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c0944([0x66,0x69,0x6c,0x6c])](_0x21924a[0x0]===_0x4c0944([0x2a])?_0x4c0944([0x2a]):'')[_0x4c0944([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x21924a))[_0x4c0944([0x73,0x6f,0x6d,0x65])](_0x25d5ad=>_0x3da421[_0x4c0944([0x65,0x76,0x65,0x72,0x79])]((_0x8abf61,_0x5aec67)=>_0x25d5ad[_0x5aec67]===_0x8abf61||_0x25d5ad[_0x5aec67]===_0x4c0944([0x2a])));}function _0x33caf7(){return _0x133c91&&_0x174423?new window[(_0x4c0944([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cb0a8,_0x1d7864)=>{_0x133c91[_0x4c0944([0x74,0x68,0x65,0x6e])](_0x4cb0a8,_0x1d7864),_0x174423[_0x4c0944([0x74,0x68,0x65,0x6e])](_0x25be43=>{_0x25be43!=_0x4c0944([0x56,0x61,0x6c,0x69,0x64])&&_0x4cb0a8(_0x25be43);},_0x1d7864);}):_0x133c91||_0x174423||_0x4c0944([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e949c(_0xba4ec8,_0x538a5a){return new window[(_0x4c0944([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e7e2b=>{if(_0xf39c10())return _0x1e7e2b(_0x4c0944([0x56,0x61,0x6c,0x69,0x64]));_0x2835df(),_0x54cb2c[_0x4c0944([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c0944([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e4559=!0x1;const _0x149dbe=_0x2b35eb();function _0x453cf7(_0x2cd1c1){return!!_0x2cd1c1&&(typeof _0x2cd1c1===_0x4c0944([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2cd1c1===_0x4c0944([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2cd1c1[_0x4c0944([0x74,0x68,0x65,0x6e])]===_0x4c0944([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2cd1c1[_0x4c0944([0x63,0x61,0x74,0x63,0x68])]===_0x4c0944([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x505962(_0x1375e0){_0x3be737(_0x1375e0)[_0x4c0944([0x74,0x68,0x65,0x6e])](_0x5168ee=>{if(!_0x5168ee||_0x5168ee[_0x4c0944([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c0944([0x6f,0x6b]))return _0x4c0944([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31bf99(_0x17908d(_0x149dbe+_0x538a5a))!=_0x5168ee[_0x4c0944([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c0944([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c0944([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c0944([0x74,0x68,0x65,0x6e])](_0x4cec1a=>(_0x33e596(),_0x4cec1a),()=>{const _0x21c7d3=_0x9852f6();return null==_0x21c7d3?(_0x33e596(),_0x4c0944([0x56,0x61,0x6c,0x69,0x64])):_0x4c0944(_0x4b1321-_0x21c7d3>(0x7753083a^_0x3905cb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c0944([0x74,0x68,0x65,0x6e])](_0x1e7e2b)[_0x4c0944([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e7e2b(_0x4c0944([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc96ba1=0x536962ba^_0x3905cb;function _0x33e596(){const _0xc0677d=_0x4c0944([0x6c,0x6c,0x63,0x74,0x2d])+_0x31bf99(_0x17908d(_0xba4ec8)),_0x4a544d=_0x5e4a97(_0x31bf99(window[_0x4c0944([0x4d,0x61,0x74,0x68])][_0x4c0944([0x63,0x65,0x69,0x6c])](_0x4b1321/_0xc96ba1)));window[_0x4c0944([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c0944([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc0677d,_0x4a544d);}function _0x9852f6(){const _0x6527db=_0x4c0944([0x6c,0x6c,0x63,0x74,0x2d])+_0x31bf99(_0x17908d(_0xba4ec8)),_0x305d46=window[_0x4c0944([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c0944([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6527db);return _0x305d46?window[_0x4c0944([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e4a97(_0x305d46),0x10)*_0xc96ba1:null;}function _0x3be737(_0x38a628){return new window[(_0x4c0944([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34e31d,_0x57bc27)=>{_0x38a628[_0x4c0944([0x74,0x68,0x65,0x6e])](_0x34e31d,_0x57bc27),window[_0x4c0944([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x57bc27,0x535e58fa^_0x3905cb);});}}_0x54cb2c[_0x4c0944([0x6f,0x6e])](_0x4c0944([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16a118,_0x2d7258)=>{if(_0x2d7258[0x0]!=_0xba4ec8)return _0x1e7e2b(_0x4c0944([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d7258[0x1]={..._0x2d7258[0x1],[_0x4c0944([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x149dbe};},{[_0x4c0944([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c0944([0x68,0x69,0x67,0x68])}),_0x54cb2c[_0x4c0944([0x6f,0x6e])](_0x4c0944([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1564bb=>{_0x453cf7(_0x1564bb[_0x4c0944([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e4559=!0x0,_0x505962(_0x1564bb[_0x4c0944([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c0944([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c0944([0x6c,0x6f,0x77])}),_0xd7fec3[_0x4c0944([0x74,0x68,0x65,0x6e])](()=>{_0x1e4559||_0x1e7e2b(_0x4c0944([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf39c10(){return _0x54cb2c[_0x4c0944([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c0944([0x76,0x69,0x65,0x77])][_0x4c0944([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c0944([0x61,0x75,0x74,0x6f]);}function _0x2835df(){_0x54cb2c[_0x4c0944([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c0944([0x76,0x69,0x65,0x77])][_0x4c0944([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c0944([0x61,0x75,0x74,0x6f]);}}function _0x56c51d(_0x523ea4){const _0x5e5e9d=[new window[(_0x4c0944([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xda882b=>setTimeout(_0xda882b,0x5356b2f6^_0x3905cb)),_0xd7fec3[_0x4c0944([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c0944([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x108882=>{let _0x4d3eb4=0x0;_0x54cb2c[_0x4c0944([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c0944([0x6f,0x6e])](_0x4c0944([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e8aab,_0x361daa)=>{_0x361daa[0x0][_0x4c0944([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d3eb4++,_0x4d3eb4==(0x535f8dc2^_0x3905cb)&&(_0x108882(),_0x3e8aab[_0x4c0944([0x6f,0x66,0x66])]());});}))];return window[_0x4c0944([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c0944([0x72,0x61,0x63,0x65])](_0x5e5e9d)[_0x4c0944([0x74,0x68,0x65,0x6e])](()=>_0x523ea4);}async function _0x16f8a9(){await _0xd7fec3,_0x54cb2c[_0x4c0944([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c0944([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a9bef,_0x54cb2c[_0x4c0944([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c0944([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a9bef,_0x54cb2c[_0x4c0944([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c0944([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11e6b2(_0x334bc6){const _0x58d0a8=_0xb6973();_0x54cb2c[_0x58d0a8]=_0x4c0944([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x334bc6,_0x334bc6!=_0x4c0944([0x56,0x61,0x6c,0x69,0x64])&&_0x16f8a9();}function _0xb6973(){const _0x4072e5=window[_0x4c0944([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c0944([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c0944([0x6e,0x6f,0x77])]())[_0x4c0944([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c0944([0x2e]),'');let _0x4178c4=_0x4c0944([0x68]);for(let _0x11295c=0x0;_0x11295c<_0x4072e5[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11295c+=0x2){let _0x2bd24e=window[_0x4c0944([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4072e5[_0x4c0944([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11295c,_0x11295c+0x2));_0x2bd24e>=_0x1ecd1a[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2bd24e-=_0x1ecd1a[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4178c4+=_0x1ecd1a[_0x2bd24e];}return _0x4178c4;}function _0x27d859(){const _0x170a0e=_0x451cb6[_0x4c0944([0x73,0x70,0x6c,0x69,0x74])](_0x4c0944([0x2e]));if(0x3!=_0x170a0e[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e46b8(_0x170a0e[0x1]);function _0x1e46b8(_0x2e9c89){const _0x5ad183=_0x4192c8(_0x2e9c89);return _0x5ad183&&_0x4ec240()?_0x5ad183:null;function _0x4ec240(){const _0x3f3c39=_0x5ad183[_0x4c0944([0x6a,0x74,0x69])],_0xf1f477=window[_0x4c0944([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f3c39[_0x4c0944([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f3c39[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd69639={..._0x5ad183,[_0x4c0944([0x6a,0x74,0x69])]:_0x3f3c39[_0x4c0944([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f3c39[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd69639[_0x4c0944([0x76,0x63])],_0x17908d(_0xd69639)==_0xf1f477;}}}async function _0x3b25b0(){let _0x561391=!0x0;try{const _0xbf6026=_0x451cb6[_0x4c0944([0x73,0x70,0x6c,0x69,0x74])](_0x4c0944([0x2e])),[_0xf74226,_0x4f258f,_0x6fc382]=_0xbf6026;return _0x4dc955(_0xf74226),await _0x523f44(_0xf74226,_0x4f258f,_0x6fc382),_0x561391;}catch{return!0x1;}function _0x4dc955(_0x2b1854){const _0x303a1f=_0x4192c8(_0x2b1854);_0x303a1f&&_0x303a1f[_0x4c0944([0x61,0x6c,0x67])]==_0x4c0944([0x45,0x53,0x32,0x35,0x36])||(_0x561391=!0x1);}async function _0x523f44(_0x11fd8a,_0x49638d,_0x281ce2){const _0x3eb5bc=window[_0x4c0944([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c0944([0x66,0x72,0x6f,0x6d])](_0x620545(_0x281ce2),_0xf166ad=>_0xf166ad[_0x4c0944([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14e21a=new window[(_0x4c0944([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c0944([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11fd8a+_0x4c0944([0x2e])+_0x49638d),_0x50d851=window[_0x4c0944([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c0944([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50d851)return;const _0xfa4b8e=await _0x50d851[_0x4c0944([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c0944([0x6a,0x77,0x6b]),_0x49ba9b,{[_0x4c0944([0x6e,0x61,0x6d,0x65])]:_0x4c0944([0x45,0x43,0x44,0x53,0x41]),[_0x4c0944([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c0944([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c0944([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50d851[_0x4c0944([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c0944([0x6e,0x61,0x6d,0x65])]:_0x4c0944([0x45,0x43,0x44,0x53,0x41]),[_0x4c0944([0x68,0x61,0x73,0x68])]:{[_0x4c0944([0x6e,0x61,0x6d,0x65])]:_0x4c0944([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xfa4b8e,_0x3eb5bc,_0x14e21a)||(_0x561391=!0x1);}}function _0x4192c8(_0x392134){return _0x392134[_0x4c0944([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c0944([0x65,0x79]))?JSON[_0x4c0944([0x70,0x61,0x72,0x73,0x65])](_0x620545(_0x392134)):null;}function _0x620545(_0x161929){return window[_0x4c0944([0x61,0x74,0x6f,0x62])](_0x161929[_0x4c0944([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c0944([0x2b]))[_0x4c0944([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c0944([0x2f])));}function _0x17908d(_0x44d9ca){let _0x127aef=0x1505;function _0x5cbf9c(_0x3c47f8){for(let _0x521d74=0x0;_0x521d74<_0x3c47f8[_0x4c0944([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x521d74++){const _0x3006d8=_0x3c47f8[_0x4c0944([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x521d74);_0x127aef=(_0x127aef<<0x5)+_0x127aef+_0x3006d8,_0x127aef&=_0x127aef;}}function _0x53a8f5(_0x52104c){Array[_0x4c0944([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52104c)?_0x52104c[_0x4c0944([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x53a8f5):_0x52104c&&typeof _0x52104c==_0x4c0944([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c0944([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52104c)[_0x4c0944([0x73,0x6f,0x72,0x74])]()[_0x4c0944([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x17c632,_0x530761])=>{_0x5cbf9c(_0x17c632),_0x53a8f5(_0x530761);}):_0x5cbf9c(window[_0x4c0944([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52104c));}return _0x53a8f5(_0x44d9ca),_0x127aef>>>0x0;}function _0x31bf99(_0x4b2b66){return _0x4b2b66[_0x4c0944([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c0944([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c0944([0x30]));}function _0x5e4a97(_0x1809d7){return _0x1809d7[_0x4c0944([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c0944([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c0944([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a9bef(){}function _0x4c0944(_0x3e1e98){const _0x10383d=_0x3e14;return _0x3e1e98[_0x10383d(0x180)](_0x32051d=>String[_0x10383d(0x198)](_0x32051d))[_0x10383d(0x19b)]('');}_0x11e6b2(await _0xa17c43());}(this);}[_0x27282(0x194)](){const _0x1bb4bb=_0x27282,_0x1a3594=this[_0x1bb4bb(0x14e)][_0x1bb4bb(0x1a0)][_0x1bb4bb(0x182)];_0x1a3594[_0x1bb4bb(0x156)](_0x1bb4bb(0x15e))&&_0x1a3594[_0x1bb4bb(0x179)](_0x1bb4bb(0x15e),{'allowAttributes':[_0x1bb4bb(0x18d)]}),_0x1a3594[_0x1bb4bb(0x156)](_0x1bb4bb(0x197))&&_0x1a3594[_0x1bb4bb(0x179)](_0x1bb4bb(0x197),{'allowAttributes':[_0x1bb4bb(0x18d)]});}[_0x27282(0x166)](){const _0x202a55=_0x27282,_0x32b45e=this[_0x202a55(0x14e)];_0x32b45e[_0x202a55(0x16a)][_0x202a55(0x18c)](_0x202a55(0x191))[_0x202a55(0x185)]({'model':_0x202a55(0x18d),'view':_0x202a55(0x193)}),_0x32b45e[_0x202a55(0x16a)][_0x202a55(0x18c)](_0x202a55(0x168))[_0x202a55(0x192)]({'model':{'key':_0x202a55(0x18d),'value':_0x15bb06=>_0x15bb06[_0x202a55(0x17c)](_0x202a55(0x193))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x316ce9=_0x32b45e[_0x202a55(0x184)][_0x202a55(0x178)](_0x202a55(0x15c));_0x316ce9&&this[_0x202a55(0x16d)](_0x316ce9,_0x202a55(0x181),(_0x455266,[_0x4b03f6,_0x530326])=>{const _0xa95d76=_0x202a55;_0x4b03f6[_0xa95d76(0x170)](_0xa95d76(0x18d),_0x530326);});}[_0x27282(0x164)](){const _0x2d08ca=_0x27282,_0x52637d=this[_0x2d08ca(0x14e)][_0x2d08ca(0x171)][_0x2d08ca(0x178)](_0x2d08ca(0x165))||{},_0x4282f4=this[_0x2d08ca(0x14e)][_0x2d08ca(0x171)][_0x2d08ca(0x178)](_0x2d08ca(0x16e))||'';this[_0x2d08ca(0x150)]=_0x5f27b3(_0x2b5c2e[_0x2d08ca(0x18b)],_0x2d08ca(0x190),{..._0x52637d,'pubkey':_0x4282f4,'ctx-name':_0x2d08ca(0x167)+this[_0x2d08ca(0x15f)],'sourceList':'','imgOnly':_0x2d08ca(0x1a3),'removeCopyright':_0x2d08ca(0x1a3),'localeName':this[_0x2d08ca(0x14e)][_0x2d08ca(0x155)][_0x2d08ca(0x19e)],'externalSourcesEmbedCss':_0x2d08ca(0x19c)}),this[_0x2d08ca(0x150)][_0x2d08ca(0x17e)]=_0x2549c5=>{const _0x31a443=_0x2d08ca;if(_0x31a443(0x16b)==_0x2549c5)return _0x31a443(0x1a2);},_0x2b5c2e[_0x2d08ca(0x18b)][_0x2d08ca(0x188)][_0x2d08ca(0x15d)](this[_0x2d08ca(0x150)]);}[_0x27282(0x17f)](){const _0x50f414=_0x27282;this[_0x50f414(0x15a)]=_0x5f27b3(_0x2b5c2e[_0x50f414(0x18b)],_0x50f414(0x183),{'ctx-name':_0x50f414(0x167)+this[_0x50f414(0x15f)]}),_0x2b5c2e[_0x50f414(0x18b)][_0x50f414(0x188)][_0x50f414(0x15d)](this[_0x50f414(0x15a)]);}[_0x27282(0x173)](){const _0x1cfeb0=_0x27282,_0x5848ef=this[_0x1cfeb0(0x14e)][_0x1cfeb0(0x184)][_0x1cfeb0(0x178)](_0x1cfeb0(0x196));_0x5848ef&&this[_0x1cfeb0(0x16d)](_0x5848ef,_0x1cfeb0(0x195),()=>{const _0x35f6a5=_0x1cfeb0,_0x43c23a=this[_0x35f6a5(0x14e)][_0x35f6a5(0x1a0)][_0x35f6a5(0x18b)][_0x35f6a5(0x151)][_0x35f6a5(0x169)]();_0x43c23a&&_0x43c23a[_0x35f6a5(0x17c)](_0x35f6a5(0x18d))&&this[_0x35f6a5(0x14e)][_0x35f6a5(0x18f)][_0x35f6a5(0x18a)][_0x35f6a5(0x187)](_0x35f6a5(0x161),()=>{const _0x228dd4=_0x35f6a5;_0x126a70(this[_0x228dd4(0x14e)],_0x43c23a);});});const _0x21eb27=this[_0x1cfeb0(0x14e)][_0x1cfeb0(0x184)][_0x1cfeb0(0x178)](_0x1cfeb0(0x154));_0x21eb27&&this[_0x1cfeb0(0x16d)](_0x21eb27,_0x1cfeb0(0x195),()=>{const _0x2907c7=_0x1cfeb0,_0xc91351=this[_0x2907c7(0x14e)][_0x2907c7(0x1a0)][_0x2907c7(0x18b)][_0x2907c7(0x151)][_0x2907c7(0x169)]();_0xc91351&&_0xc91351[_0x2907c7(0x17c)](_0x2907c7(0x18d))&&this[_0x2907c7(0x14e)][_0x2907c7(0x18f)][_0x2907c7(0x18a)][_0x2907c7(0x187)](_0x2907c7(0x161),()=>{const _0x1e8280=_0x2907c7;_0x126a70(this[_0x1e8280(0x14e)],_0xc91351);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x918225,ObservableMixin as _0x3cf52f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x24207b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1a0688}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x35c32a}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x354fbf}from'../../utils/uploadutils.js';import{getImageUrls as _0x1f5423,getImageDimension as _0xdbbf8b}from'../../utils/editingutils.js';import{isAncestor as _0x676e9b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3cf52f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x453dac,_0x2cca8b,_0x332971){super(),this['_editor']=_0x453dac,this['_dialog']=_0x2cca8b,this['_imageElement']=_0x332971,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 _0x498c67=this['_imageElement'],_0x4e0f8a=_0x498c67['getAttribute']('uploadcareImageId'),_0x8fbf=_0x498c67['getAttribute']('src');if(_0x4e0f8a)await this['_loadImageInfo'](_0x4e0f8a,_0x8fbf);else{if(this['_imageCache']['has'](_0x8fbf)){const _0x469f26=this['_imageCache']['get'](_0x8fbf);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x469f26['url'],this['imageDimension']=_0x469f26['dimension'],this['imageId']=_0x469f26['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x305e14}=this['_editor'],t=_0x305e14['t'],_0x20c220=new _0x35c32a(_0x305e14,this['imageStatus'],this['_attributes']);_0x20c220['bind']('status')['to'](this,'imageStatus'),_0x20c220['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x20c220['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x20c220['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x20c220,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1a0688,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x20c220,'position':_0x24207b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x20c220['focus']();},'onHide':()=>{_0x20c220['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xdee1de=>!_0x676e9b(_0xdee1de,_0x20c220['element'])}});}['_loadImageInfo'](_0x30e0bf,_0x2a044e){return _0x354fbf['getInfo'](_0x30e0bf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5b486c=>{const {width:_0x363d33,height:_0x2c7b5a}=_0x5b486c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a044e,this['imageDimension']={'width':_0x363d33,'height':_0x2c7b5a},this['imageId']=_0x30e0bf;})['catch'](_0x30da86=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30da86['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1615a6,_0x2c651e){return this['_getImageAsFile'](_0x1615a6)['then'](_0x475ac7=>_0x354fbf['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2c651e['signal'],'file':_0x475ac7,'onProgress':_0x5ab45d=>{_0x5ab45d&&_0x5ab45d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5ab45d['value']));}}))['then'](_0x1b7e11=>{const {width:_0x271659,height:_0x536a6c}=_0x1b7e11['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b7e11['cdnUrl'],this['imageDimension']={'width':_0x271659,'height':_0x536a6c},this['imageId']=_0x1b7e11['uuid'],this['imageUploadProgress']=null;const _0x9eadbc=_0x1615a6['getAttribute']('src');this['_imageCache']['set'](_0x9eadbc,{'id':_0x1b7e11['uuid'],'url':_0x1b7e11['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x22a2e2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22a2e2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1ed2e4,_0x1fd1d8){_0x1ed2e4['on']('apply',(_0x2e45c,_0x1e879c)=>{this['_replaceImage'](_0x1fd1d8,_0x1e879c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1ed2e4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1ed2e4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x41d712,_0x1d34f6,_0x2dd2d6){const _0x2748c8=this['_editor'],{width:_0x4d7a71,height:_0x89d688}=_0xdbbf8b(_0x1d34f6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x347058,imageSources:_0xdd4286}=_0x1f5423(_0x1d34f6,_0x4d7a71);_0x2748c8['model']['change'](_0x16f7c2=>{if('$graveyard'===_0x41d712['root']['rootName']){_0x2748c8['execute']('insertImage',{'imageType':_0x41d712['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x41d712['getAttributes']()),'uploadcareImageId':_0x2dd2d6,'src':_0x347058,'sources':_0xdd4286,'width':_0x4d7a71,'height':_0x89d688}});const _0x1f0a6b=_0x41d712['getChildren']();_0x41d712=_0x2748c8['model']['document']['selection']['getSelectedElement']();for(const _0x35c484 of _0x1f0a6b)_0x16f7c2['append'](_0x16f7c2['cloneElement'](_0x35c484),_0x41d712);}else _0x16f7c2['setSelection'](_0x41d712,'on'),_0x2748c8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x41d712['getAttributes']()),'uploadcareImageId':_0x2dd2d6,'src':_0x347058,'sources':_0xdd4286,'width':_0x4d7a71,'height':_0x89d688},_0x41d712);_0x16f7c2['setSelection'](_0x41d712,'on');});}async['_getImageAsFile'](_0x1ab594){const _0x35424c=_0x918225['window'],_0x42ee10=_0x918225['document']['location']['href'],_0x1c7053=new _0x35424c['URL'](_0x1ab594['getAttribute']('src'),_0x42ee10);if('data:'===_0x1c7053['protocol']){const _0x47c3c3=_0x1c7053['href']['split'](','),_0x423db4=_0x47c3c3[0x0]['match'](/:(.*?);/)[0x1],_0x2d804d=_0x423db4['split']('/')[0x1],_0x2a8728=_0x35424c['atob'](_0x47c3c3[_0x47c3c3['length']-0x1]);let _0x58e31d=_0x2a8728['length'];const _0x2124a6=new _0x35424c['Uint8Array'](_0x58e31d);for(;_0x58e31d--;)_0x2124a6[_0x58e31d]=_0x2a8728['charCodeAt'](_0x58e31d);return new _0x35424c['File']([_0x2124a6],'image.'+_0x2d804d,{'type':_0x423db4});}const _0x153d1c=_0x1c7053['href']['split']('/'),_0x33c700=_0x153d1c[_0x153d1c['length']-0x1],_0x5c6e2e=_0x33c700['split']('.')[0x1];return _0x35424c['fetch'](_0x1c7053['href'])['then'](_0x4bbef3=>_0x4bbef3['clone']()['blob']())['then'](_0x414d12=>new _0x35424c['File']([_0x414d12],_0x33c700,{'type':'image/'+_0x5c6e2e}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x54fa(_0x39f26c,_0x27891a){const _0x4bc8bc=_0x4bc8();return _0x54fa=function(_0x54fa8a,_0x41b18d){_0x54fa8a=_0x54fa8a-0x1f3;let _0x1cc401=_0x4bc8bc[_0x54fa8a];return _0x1cc401;},_0x54fa(_0x39f26c,_0x27891a);}(function(_0x4b012d,_0xc77493){const _0x597cd9=_0x54fa,_0x40afab=_0x4b012d();while(!![]){try{const _0x471296=parseInt(_0x597cd9(0x1fe))/0x1*(-parseInt(_0x597cd9(0x1fd))/0x2)+parseInt(_0x597cd9(0x200))/0x3+-parseInt(_0x597cd9(0x201))/0x4*(-parseInt(_0x597cd9(0x205))/0x5)+parseInt(_0x597cd9(0x202))/0x6*(-parseInt(_0x597cd9(0x1fc))/0x7)+-parseInt(_0x597cd9(0x1ff))/0x8+-parseInt(_0x597cd9(0x1f8))/0x9+-parseInt(_0x597cd9(0x1fa))/0xa*(-parseInt(_0x597cd9(0x1f4))/0xb);if(_0x471296===_0xc77493)break;else _0x40afab['push'](_0x40afab['shift']());}catch(_0x4829d3){_0x40afab['push'](_0x40afab['shift']());}}}(_0x4bc8,0x62e75));import{View as _0x4b6f44}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4b6f44{constructor(_0xf850b0,_0x2c1395){const _0x15ce55=_0x54fa;super(_0xf850b0);const _0x33c6b8=this[_0x15ce55(0x1f7)];this[_0x15ce55(0x1f6)](_0x15ce55(0x1f5),''),this[_0x15ce55(0x204)]({'tag':_0x15ce55(0x203),'attributes':{..._0x2c1395,'class':[_0x15ce55(0x1f3),_0x15ce55(0x1fb)],'ctx-name':_0x15ce55(0x1f9),'cdn-url':_0x33c6b8['to'](_0x15ce55(0x1f5))}});}}function _0x4bc8(){const _0x5b494a=['271756CWZMmj','545322aIlXMq','uc-cloud-image-editor','setTemplate','40ObxfpH','uc-light','18106myVAbg','imageSrc','set','bindTemplate','113715YrWFlN','image-edit','3970qyrfsI','ck-uploadcare-theme','7xpxZUv','2286ebrcTA','316mfbMSR','4565504oUfZeA','730599jjTgaM'];_0x4bc8=function(){return _0x5b494a;};return _0x4bc8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as
|
|
23
|
+
import{IconError as _0x2c63fa}from'ckeditor5/src/icons.js';import{ButtonView as _0x334950,IconView as _0x2dd72a,View as _0x76590c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x76590c{constructor(_0x587e70){super(_0x587e70);const t=_0x587e70['t'];this['set']('errorType',null);const _0x4d8a1e=new _0x334950(_0x587e70);_0x4d8a1e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4d8a1e['withText']=!0x0,_0x4d8a1e['class']='ck-button-action',_0x4d8a1e['on']('execute',()=>{this['fire']('retry');}),_0x4d8a1e['bind']('isVisible')['to'](this,'errorType',_0x1ba572=>'NotFound'!==_0x1ba572);const _0x337dea=new _0x2dd72a();_0x337dea['content']=_0x2c63fa,_0x337dea['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x175dad=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':[_0x337dea,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x175dad['to']('errorType',_0x350669=>t('NotFound'!==_0x350669?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4d8a1e]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x200290,View as _0x431d6a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x431d6a{constructor(_0x2be50e){super(_0x2be50e);const t=_0x2be50e['t'],_0x4c2e22=this['bindTemplate'],_0x6354c3=new _0x200290();_0x6354c3['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':[_0x6354c3,{'text':_0x4c2e22['to']('imageUploadProgress',_0x2b2c67=>t('Loading\x20image...')+'\x20('+(_0x2b2c67||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc28a8f=_0x44a7;(function(_0x1c7260,_0xc6a4bd){const _0x5bba50=_0x44a7,_0x4a2c38=_0x1c7260();while(!![]){try{const _0x149150=parseInt(_0x5bba50(0xec))/0x1+-parseInt(_0x5bba50(0xfc))/0x2*(-parseInt(_0x5bba50(0xe2))/0x3)+-parseInt(_0x5bba50(0xe1))/0x4+parseInt(_0x5bba50(0xcd))/0x5*(-parseInt(_0x5bba50(0xfb))/0x6)+-parseInt(_0x5bba50(0xf1))/0x7+-parseInt(_0x5bba50(0xf9))/0x8+-parseInt(_0x5bba50(0xd6))/0x9*(-parseInt(_0x5bba50(0xdf))/0xa);if(_0x149150===_0xc6a4bd)break;else _0x4a2c38['push'](_0x4a2c38['shift']());}catch(_0x2b911d){_0x4a2c38['push'](_0x4a2c38['shift']());}}}(_0x26aa,0xed0b0));function _0x44a7(_0x5d065e,_0x195660){const _0x26aa6d=_0x26aa();return _0x44a7=function(_0x44a748,_0x222d00){_0x44a748=_0x44a748-0xcb;let _0x4e2c8f=_0x26aa6d[_0x44a748];return _0x4e2c8f;},_0x44a7(_0x5d065e,_0x195660);}import{View as _0x5ecfcc}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5ea747}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x5098f2}from'./uploadcareimageeditformerrorview.js';function _0x26aa(){const _0x52d4ec=['_items','filter','render','802572KbEZQy','createCollection','set','_addUploadcareImageEditorListeners','_errorView','8085497xFctOn','_loadingView','ck-uploadcare-form','uploading','focus','getFocusableElement','disconnect','add','4630400xQdhvz','once','48eiDSXP','43948zVoius','toLowerCase','nodeName','retry','ready','_addErrorViewListeners','detail','addEventListener','212050bpfPJG','clear','_focusableView','error','addMany','cdnUrl','length','_waitForImageEditorComponent','setTemplate','1134qlaZXa','querySelector','cancel','element','_editingView','change:status','ck-reset_all-excluded','apply','uc-cloud-image-editor','152860iQpYEb','status','2693436nrwANM','135DEeHTd','fire','_setView','addedNodes','observe','target','div'];_0x26aa=function(){return _0x52d4ec;};return _0x26aa();}import{UploadcareImageEditFormEditingView as _0x457720}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x221970}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x221970{[_0xc28a8f(0xe9)];[_0xc28a8f(0xf2)];[_0xc28a8f(0xf0)];[_0xc28a8f(0xda)];[_0xc28a8f(0xcf)];constructor(_0x30b119,_0xbe47f4,_0x4b2320){const _0x216a27=_0xc28a8f;super(_0x30b119),this[_0x216a27(0xe9)]=this[_0x216a27(0xed)](),this[_0x216a27(0xf2)]=new _0x5ea747(_0x30b119),this[_0x216a27(0xf0)]=new _0x5098f2(_0x30b119),this[_0x216a27(0xda)]=new _0x457720(_0x30b119,_0x4b2320),this[_0x216a27(0xcf)]=new _0x5ecfcc(_0x30b119),this[_0x216a27(0xcf)][_0x216a27(0xd5)](this[_0x216a27(0xf6)]()),this[_0x216a27(0xee)](_0x216a27(0xe0),_0xbe47f4),this[_0x216a27(0xd5)]({'tag':_0x216a27(0xe8),'attributes':{'class':['ck',_0x216a27(0xdc),_0x216a27(0xf3)],'tabindex':'-1'},'children':this[_0x216a27(0xe9)]}),this[_0x216a27(0xe4)](),this[_0x216a27(0xfa)](_0x216a27(0xeb),()=>{const _0x4cc7a3=_0x216a27;this[_0x4cc7a3(0xd4)](this[_0x4cc7a3(0xd9)],_0x38086a=>{const _0x238e1b=_0x4cc7a3;this[_0x238e1b(0xef)](_0x38086a);});}),this['on'](_0x216a27(0xdb),()=>{const _0x3eb4a4=_0x216a27;this[_0x3eb4a4(0xe4)]();}),this[_0x216a27(0x101)]();}[_0xc28a8f(0xf5)](){const _0x2a3d6e=_0xc28a8f;this[_0x2a3d6e(0xd9)][_0x2a3d6e(0xf5)]();}[_0xc28a8f(0xe4)](){const _0x464ab9=_0xc28a8f;switch(this[_0x464ab9(0xe9)][_0x464ab9(0xce)](),this[_0x464ab9(0xe0)]){case _0x464ab9(0xf4):this[_0x464ab9(0xe9)][_0x464ab9(0xf8)](this[_0x464ab9(0xf2)]);break;case _0x464ab9(0xd0):this[_0x464ab9(0xe9)][_0x464ab9(0xf8)](this[_0x464ab9(0xf0)]);break;case _0x464ab9(0x100):this[_0x464ab9(0xe9)][_0x464ab9(0xd1)]([this[_0x464ab9(0xda)],this[_0x464ab9(0xcf)]]);}}[_0xc28a8f(0xd4)](_0xdb8e2a,_0x394289){const _0x3f60d8=_0xc28a8f,_0x1a0fd3=_0x3f60d8(0xde),_0x1a6172=_0xdb8e2a[_0x3f60d8(0xd7)](_0x1a0fd3);if(_0x1a6172)return _0x394289(_0x1a6172);const _0x2f6865=new MutationObserver(_0x2cdf80=>{const _0x1ad32e=_0x3f60d8,_0x22c28e=_0x2cdf80[_0x1ad32e(0xea)](_0x49aa1a=>_0x49aa1a[_0x1ad32e(0xe7)]===_0xdb8e2a&&_0x49aa1a[_0x1ad32e(0xe5)][_0x1ad32e(0xd3)]>0x0&&_0x49aa1a[_0x1ad32e(0xe5)][0x0][_0x1ad32e(0xfe)][_0x1ad32e(0xfd)]()===_0x1a0fd3);_0x22c28e[_0x1ad32e(0xd3)]&&(_0x2f6865[_0x1ad32e(0xf7)](),_0x394289(_0x22c28e[0x0][_0x1ad32e(0xe5)][0x0]));});_0x2f6865[_0x3f60d8(0xe6)](_0xdb8e2a,{'childList':!0x0,'subtree':!0x0});}[_0xc28a8f(0xef)](_0x244bfb){const _0x49f6cc=_0xc28a8f;_0x244bfb[_0x49f6cc(0xcc)](_0x49f6cc(0xdd),_0x19529d=>{const _0x5dfa6b=_0x49f6cc;this[_0x5dfa6b(0xe3)](_0x5dfa6b(0xdd),{'imageSrc':_0x19529d[_0x5dfa6b(0xcb)][_0x5dfa6b(0xd2)]});}),_0x244bfb[_0x49f6cc(0xcc)](_0x49f6cc(0xd8),()=>{const _0x16c402=_0x49f6cc;this[_0x16c402(0xe3)](_0x16c402(0xd8));});}[_0xc28a8f(0x101)](){const _0x3aa114=_0xc28a8f;this[_0x3aa114(0xf0)]['on'](_0x3aa114(0xff),()=>{const _0x1be2cb=_0x3aa114;this[_0x1be2cb(0xe3)](_0x1be2cb(0xff));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5eed65=_0x13f6;function _0x45e3(){const _0x24a6ff=['element','7jMyogd','bind','plugins','imageBlock','set','imageInline','803021isjGPk','editor','28042335CyIvWk','refresh','5304528vyopiC','document','_isEditable','isEnabled','263934hVSZul','get','unbind','selection','860024YTWHxX','getSelectedElement','execute','config','2745528TqDdgX','isActive','5965485otNUCv','uploadcare.allowExternalImagesEditing','imageEditController','2QPJblt','requires','model'];_0x45e3=function(){return _0x24a6ff;};return _0x45e3();}(function(_0x4040af,_0x4dfa0f){const _0x5ae813=_0x13f6,_0x59a989=_0x4040af();while(!![]){try{const _0x229575=-parseInt(_0x5ae813(0x8d))/0x1*(-parseInt(_0x5ae813(0x83))/0x2)+-parseInt(_0x5ae813(0x95))/0x3+-parseInt(_0x5ae813(0x91))/0x4+-parseInt(_0x5ae813(0x9f))/0x5+-parseInt(_0x5ae813(0x9d))/0x6+-parseInt(_0x5ae813(0x87))/0x7*(parseInt(_0x5ae813(0x99))/0x8)+parseInt(_0x5ae813(0x8f))/0x9;if(_0x229575===_0x4dfa0f)break;else _0x59a989['push'](_0x59a989['shift']());}catch(_0x2066eb){_0x59a989['push'](_0x59a989['shift']());}}}(_0x45e3,0xb642a));import{Command as _0x2bd7f3}from'ckeditor5/src/core.js';import{Dialog as _0x52fee5}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x504e6c}from'./ui/uploadcareimageeditcontroller.js';function _0x13f6(_0x44880d,_0x13cddb){const _0x45e34b=_0x45e3();return _0x13f6=function(_0x13f6a7,_0x8d2ca){_0x13f6a7=_0x13f6a7-0x83;let _0x5113b9=_0x45e34b[_0x13f6a7];return _0x5113b9;},_0x13f6(_0x44880d,_0x13cddb);}import{createEditabilityChecker as _0x302fbb}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2bd7f3{[_0x5eed65(0xa1)];static get[_0x5eed65(0x84)](){return[_0x52fee5];}[_0x5eed65(0x93)];constructor(_0x1c3f1c){const _0x2bfb75=_0x5eed65;super(_0x1c3f1c),this[_0x2bfb75(0xa1)]=void 0x0,this[_0x2bfb75(0x93)]=_0x302fbb(_0x1c3f1c[_0x2bfb75(0x9c)][_0x2bfb75(0x96)](_0x2bfb75(0xa0))||[]),this[_0x2bfb75(0x8b)]({'isActive':!0x1});}[_0x5eed65(0x90)](){const _0x11f2bf=_0x5eed65,_0x402c19=this[_0x11f2bf(0x8e)][_0x11f2bf(0x85)][_0x11f2bf(0x92)][_0x11f2bf(0x98)][_0x11f2bf(0x9a)]();this[_0x11f2bf(0x94)]=this[_0x11f2bf(0x93)](_0x402c19);}[_0x5eed65(0x9b)](){const _0x3aacb1=_0x5eed65;this[_0x3aacb1(0xa1)]&&(this[_0x3aacb1(0x97)](_0x3aacb1(0x9e)),this[_0x3aacb1(0xa1)]=void 0x0);const _0x5e2c37=this[_0x3aacb1(0x8e)][_0x3aacb1(0x85)][_0x3aacb1(0x92)][_0x3aacb1(0x98)][_0x3aacb1(0x9a)]();_0x5e2c37&&(_0x5e2c37['is'](_0x3aacb1(0x86),_0x3aacb1(0x8a))||_0x5e2c37['is'](_0x3aacb1(0x86),_0x3aacb1(0x8c)))&&(this[_0x3aacb1(0xa1)]=new _0x504e6c(this[_0x3aacb1(0x8e)],this[_0x3aacb1(0x8e)][_0x3aacb1(0x89)][_0x3aacb1(0x96)](_0x52fee5),_0x5e2c37),this[_0x3aacb1(0x88)](_0x3aacb1(0x9e))['to'](this[_0x3aacb1(0xa1)],_0x3aacb1(0x9e)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4fbe10=_0x1bc9;(function(_0x3dd3d,_0x249237){const _0x283716=_0x1bc9,_0x5c123b=_0x3dd3d();while(!![]){try{const _0x1a8071=parseInt(_0x283716(0x1a8))/0x1+parseInt(_0x283716(0x19c))/0x2+parseInt(_0x283716(0x199))/0x3*(parseInt(_0x283716(0x197))/0x4)+parseInt(_0x283716(0x198))/0x5+parseInt(_0x283716(0x19b))/0x6*(-parseInt(_0x283716(0x1a5))/0x7)+-parseInt(_0x283716(0x195))/0x8*(parseInt(_0x283716(0x19f))/0x9)+parseInt(_0x283716(0x1a3))/0xa;if(_0x1a8071===_0x249237)break;else _0x5c123b['push'](_0x5c123b['shift']());}catch(_0x32cb18){_0x5c123b['push'](_0x5c123b['shift']());}}}(_0x406c,0xe7054));import{Plugin as _0x63aa84}from'ckeditor5/src/core.js';import{Notification as _0x4f5352}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x189f86}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xc12f61}from'./uploadcareimagereplacecommand.js';function _0x1bc9(_0x440427,_0x1c6942){const _0x406cd1=_0x406c();return _0x1bc9=function(_0x1bc901,_0x18eab5){_0x1bc901=_0x1bc901-0x194;let _0x4c8b5b=_0x406cd1[_0x1bc901];return _0x4c8b5b;},_0x1bc9(_0x440427,_0x1c6942);}import{UploadcareEditing as _0x2a4a4c}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x63aa84{static get[_0x4fbe10(0x1a2)](){const _0x5ee891=_0x4fbe10;return _0x5ee891(0x194);}static get[_0x4fbe10(0x1a9)](){const _0x42c4d9=_0x4fbe10;return[_0x2a4a4c,_0x4f5352,_0x42c4d9(0x1a1),_0x42c4d9(0x19d)];}static get[_0x4fbe10(0x1a7)](){return!0x0;}static get[_0x4fbe10(0x19e)](){return!0x0;}[_0x4fbe10(0x1a4)](){const _0x25df49=_0x4fbe10,{editor:_0x515700}=this;_0x515700[_0x25df49(0x196)][_0x25df49(0x1a6)](_0x25df49(0x19a),new _0x189f86(_0x515700)),_0x515700[_0x25df49(0x196)][_0x25df49(0x1a6)](_0x25df49(0x1a0),new _0xc12f61(_0x515700));}}function _0x406c(){const _0x2b0324=['14usBPaJ','add','isOfficialPlugin','933199JfWSzl','requires','UploadcareImageEditEditing','418344TECehO','commands','1735332GYcqLB','3828485TbyuSz','3XLymfi','uploadcareImageEdit','2701734lhJNLh','318362WAwYxY','ImageEditing','isPremiumPlugin','243fqRdQO','uploadcareImageReplace','ImageUtils','pluginName','9668390hqQOGN','init'];_0x406c=function(){return _0x2b0324;};return _0x406c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1a4016}from'ckeditor5/src/core.js';import{ButtonView as _0x2a7cd2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x370437}from'ckeditor5/src/icons.js';import{createElement as _0x588983}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 _0x1a4016{['_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 _0x227415=this['editor'];_0x227415['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3cd811=>{const _0x31c405=_0x227415['commands']['get']('uploadcareImageEdit'),_0x570c8a=new _0x2a7cd2(_0x3cd811),t=_0x3cd811['t'];return _0x570c8a['set']({'icon':_0x370437,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x570c8a['bind']('isEnabled')['to'](_0x31c405),_0x570c8a['bind']('isOn')['to'](_0x31c405,'isActive'),this['listenTo'](_0x570c8a,'execute',()=>{_0x227415['execute']('uploadcareImageEdit'),_0x227415['editing']['view']['focus']();}),_0x570c8a;}),this['_initConfig']();}['_initConfig'](){const _0x3fdeb9=_0x588983(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3fdeb9),this['listenTo'](this['editor'],'destroy',()=>{_0x3fdeb9['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3e04aa=_0x1eb0;function _0x4f43(){const _0x305839=['sizes','478220kWHmCi','change','210tXfYWf','864729MBFswa','getSelectedElement','7045992pHjCSF','imageBlock','3kzWGqE','removeAttribute','6140706rmGLdG','execute','document','element','2zqCLhX','imageInline','selection','srcset','283072TDKUqq','editor','3674230zijAOd','2970xsAbpb','isEnabled','model','refresh','5xsubwC','120660KaQUvx','setAttributes'];_0x4f43=function(){return _0x305839;};return _0x4f43();}(function(_0x43178d,_0x413d71){const _0x270cf8=_0x1eb0,_0x170aaf=_0x43178d();while(!![]){try{const _0x57255b=parseInt(_0x270cf8(0xcf))/0x1*(-parseInt(_0x270cf8(0xbd))/0x2)+parseInt(_0x270cf8(0xd3))/0x3*(-parseInt(_0x270cf8(0xcc))/0x4)+parseInt(_0x270cf8(0xc8))/0x5*(-parseInt(_0x270cf8(0xb9))/0x6)+parseInt(_0x270cf8(0xce))/0x7*(parseInt(_0x270cf8(0xc1))/0x8)+-parseInt(_0x270cf8(0xd1))/0x9+-parseInt(_0x270cf8(0xc3))/0xa+parseInt(_0x270cf8(0xc4))/0xb*(parseInt(_0x270cf8(0xc9))/0xc);if(_0x57255b===_0x413d71)break;else _0x170aaf['push'](_0x170aaf['shift']());}catch(_0x1f181f){_0x170aaf['push'](_0x170aaf['shift']());}}}(_0x4f43,0x96f54));function _0x1eb0(_0x3c980e,_0x2d80fc){const _0x4f43a9=_0x4f43();return _0x1eb0=function(_0x1eb094,_0x1359c6){_0x1eb094=_0x1eb094-0xb9;let _0x341262=_0x4f43a9[_0x1eb094];return _0x341262;},_0x1eb0(_0x3c980e,_0x2d80fc);}import{Command as _0x3fef0f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x3fef0f{[_0x3e04aa(0xc7)](){const _0x424fd5=_0x3e04aa,_0x8a0c04=this[_0x424fd5(0xc2)][_0x424fd5(0xc6)][_0x424fd5(0xbb)][_0x424fd5(0xbf)][_0x424fd5(0xd0)]();this[_0x424fd5(0xc5)]=Boolean(_0x8a0c04&&(_0x8a0c04['is'](_0x424fd5(0xbc),_0x424fd5(0xd2))||_0x8a0c04['is'](_0x424fd5(0xbc),_0x424fd5(0xbe))));}[_0x3e04aa(0xba)](_0x28143c){const _0x1589ca=_0x3e04aa,_0xed348e=this[_0x1589ca(0xc2)][_0x1589ca(0xc6)][_0x1589ca(0xbb)][_0x1589ca(0xbf)][_0x1589ca(0xd0)]();this[_0x1589ca(0xc2)][_0x1589ca(0xc6)][_0x1589ca(0xcd)](_0x451ac2=>{const _0x243f24=_0x1589ca;_0x451ac2[_0x243f24(0xca)](_0x28143c,_0xed348e),_0x451ac2[_0x243f24(0xd4)](_0x243f24(0xc0),_0xed348e),_0x451ac2[_0x243f24(0xd4)](_0x243f24(0xcb),_0xed348e);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2a5d(){var _0x41c4ee=['582060emnQUD','pluginName','183410qMTgwn','13210KyVKqS','isPremiumPlugin','7mWaeln','requires','272DJvSnL','UploadcareImageEdit','isOfficialPlugin','171OBqlVK','2765224BXGZBR','22SyFesN','168390QXkHwr','8567350rcbXNv','101691eFyqVo'];_0x2a5d=function(){return _0x41c4ee;};return _0x2a5d();}var _0x269a1a=_0x3617;(function(_0xbd1257,_0x11bdf5){var _0x2dcd2f=_0x3617,_0xa6b6b4=_0xbd1257();while(!![]){try{var _0x3fc82c=-parseInt(_0x2dcd2f(0x190))/0x1+parseInt(_0x2dcd2f(0x18a))/0x2*(parseInt(_0x2dcd2f(0x18d))/0x3)+parseInt(_0x2dcd2f(0x195))/0x4*(-parseInt(_0x2dcd2f(0x191))/0x5)+-parseInt(_0x2dcd2f(0x18e))/0x6*(-parseInt(_0x2dcd2f(0x193))/0x7)+-parseInt(_0x2dcd2f(0x189))/0x8+parseInt(_0x2dcd2f(0x188))/0x9*(-parseInt(_0x2dcd2f(0x18b))/0xa)+parseInt(_0x2dcd2f(0x18c))/0xb;if(_0x3fc82c===_0x11bdf5)break;else _0xa6b6b4['push'](_0xa6b6b4['shift']());}catch(_0x3871c1){_0xa6b6b4['push'](_0xa6b6b4['shift']());}}}(_0x2a5d,0x35ba3));import{Plugin as _0x57745d}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x40e563}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2740b9}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3617(_0x376eeb,_0x313b26){var _0x2a5db1=_0x2a5d();return _0x3617=function(_0x361725,_0x31e8f2){_0x361725=_0x361725-0x186;var _0x54c625=_0x2a5db1[_0x361725];return _0x54c625;},_0x3617(_0x376eeb,_0x313b26);}export class UploadcareImageEdit extends _0x57745d{static get[_0x269a1a(0x18f)](){var _0x4705ba=_0x269a1a;return _0x4705ba(0x186);}static get[_0x269a1a(0x194)](){return[_0x40e563,_0x2740b9];}static get[_0x269a1a(0x187)](){return!0x0;}static get[_0x269a1a(0x192)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x160494=_0x1d63;function _0x37e2(){const _0xe401d4=['shortText','_createDropdownButtons','config','destroy','uploadcareLicenseKeyValid','3609228RHaRzN','usageLimit','evaluationLimit','7884848WKjQGj','isEnabled','push','registerIntegration','featureNotAllowed','icon','UploadcareUI','41756oOVjCc','GDrive','_licenseKeyCheckInterval','bind','get','tooltip','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyExpired','Replace','_getIntegrationKey','domainLimit','plugins','URL','5jhZUEa','_createToolbarButton','upload','OneDrive','has','invalid','init','12696XBinhS','label','Facebook','reduce','editor','_createButton','uploadcareLicenseKeyNotAllowed','expired','type','uploadcareLicenseKeyUsageLimit','uploadcare.uploader.sourceList','forEach','pluginName','3536230ENIkZF','1794UJYqjo','uploadcare','3703fTXIhq','uploadcareLicenseKeyDomainLimit','withText','isPremiumPlugin','Dropbox','trialLimit','text','Local','uploadcareLicenseKeyInvalid','map','GPhotos','isOfficialPlugin','execute','isImageSelected','entries','27ihjHRr','_createMenuBarButtons','assetManager','_normalizeConfigSourceList','locale','_showLicenseError','ImageInsertUI','url','afterInit','25970923evyHaS','Insert','commands','695vUFAdI','Uploadcare','uploadcareLicenseKeyEvaluationLimit','licenseKey'];_0x37e2=function(){return _0xe401d4;};return _0x37e2();}(function(_0xb99d96,_0x51a691){const _0x2614d8=_0x1d63,_0x44e511=_0xb99d96();while(!![]){try{const _0x3b7949=-parseInt(_0x2614d8(0x1b6))/0x1*(parseInt(_0x2614d8(0x1cb))/0x2)+-parseInt(_0x2614d8(0x1f1))/0x3+-parseInt(_0x2614d8(0x1fb))/0x4*(parseInt(_0x2614d8(0x1e8))/0x5)+-parseInt(_0x2614d8(0x1bd))/0x6*(-parseInt(_0x2614d8(0x1cd))/0x7)+parseInt(_0x2614d8(0x1f4))/0x8+-parseInt(_0x2614d8(0x1dc))/0x9*(parseInt(_0x2614d8(0x1ca))/0xa)+parseInt(_0x2614d8(0x1e5))/0xb;if(_0x3b7949===_0x51a691)break;else _0x44e511['push'](_0x44e511['shift']());}catch(_0x3dccd9){_0x44e511['push'](_0x44e511['shift']());}}}(_0x37e2,0xb6410));import{Plugin as _0xe3582f}from'ckeditor5/src/core.js';import{IconDropbox as _0x4f19f4,IconFacebook as _0x4f4925,IconGoogleDrive as _0x286282,IconGooglePhotos as _0x48ef44,IconUploadcareImageUpload as _0x1029c2,IconUploadcareLink as _0x5cc5d1,IconOneDrive as _0x4a6ff2}from'ckeditor5/src/icons.js';import{ButtonView as _0xf10452,MenuBarMenuListItemButtonView as _0xf373e3}from'ckeditor5/src/ui.js';function _0x1d63(_0x504935,_0x3e134e){const _0x37e23e=_0x37e2();return _0x1d63=function(_0x1d63cb,_0x365b81){_0x1d63cb=_0x1d63cb-0x1ae;let _0x16b677=_0x37e23e[_0x1d63cb];return _0x16b677;},_0x1d63(_0x504935,_0x3e134e);}import{UploadcareSource as _0xc7fdf8}from'./uploadcareconfig.js';import{getTranslation as _0x43aeae}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xe3582f{[_0x160494(0x1eb)];[_0x160494(0x1fd)];static get[_0x160494(0x1c9)](){const _0x242250=_0x160494;return _0x242250(0x1fa);}static get[_0x160494(0x1d8)](){return!0x0;}static get[_0x160494(0x1d0)](){return!0x0;}[_0x160494(0x1bc)](){const _0x233253=_0x160494;this[_0x233253(0x1eb)]=this[_0x233253(0x1c1)][_0x233253(0x1ee)][_0x233253(0x1ff)](_0x233253(0x1eb));const _0x4b96e9=this[_0x233253(0x1c1)];this[_0x233253(0x1fd)]=setInterval(()=>{const _0x4c65c7=_0x233253;let _0x3bd01c;for(const _0x158750 in _0x4b96e9){const _0x25d4e1=_0x158750,_0x376bc1=_0x4b96e9[_0x25d4e1];if(_0x4c65c7(0x1f0)==_0x376bc1||_0x4c65c7(0x1d5)==_0x376bc1||_0x4c65c7(0x1b0)==_0x376bc1||_0x4c65c7(0x1ce)==_0x376bc1||_0x4c65c7(0x1c3)==_0x376bc1||_0x4c65c7(0x1ea)==_0x376bc1||_0x4c65c7(0x1af)==_0x376bc1||_0x4c65c7(0x1c6)==_0x376bc1){delete _0x4b96e9[_0x25d4e1],_0x3bd01c=_0x376bc1,clearInterval(this[_0x4c65c7(0x1fd)]),this[_0x4c65c7(0x1fd)]=void 0x0;break;}}_0x4c65c7(0x1d5)==_0x3bd01c&&_0x4b96e9[_0x4c65c7(0x1e1)](_0x4c65c7(0x1bb)),_0x4c65c7(0x1b0)==_0x3bd01c&&_0x4b96e9[_0x4c65c7(0x1e1)](_0x4c65c7(0x1c4)),_0x4c65c7(0x1ce)==_0x3bd01c&&_0x4b96e9[_0x4c65c7(0x1e1)](_0x4c65c7(0x1b3)),_0x4c65c7(0x1c3)==_0x3bd01c&&_0x4b96e9[_0x4c65c7(0x1e1)](_0x4c65c7(0x1f8),_0x4c65c7(0x1e9)),_0x4c65c7(0x1ea)==_0x3bd01c&&_0x4b96e9[_0x4c65c7(0x1e1)](_0x4c65c7(0x1f3)),_0x4c65c7(0x1af)==_0x3bd01c&&_0x4b96e9[_0x4c65c7(0x1e1)](_0x4c65c7(0x1d2)),_0x4c65c7(0x1c6)==_0x3bd01c&&_0x4b96e9[_0x4c65c7(0x1e1)](_0x4c65c7(0x1f2));},0x3e8);}[_0x160494(0x1e4)](){const _0x2842d8=_0x160494,{editor:_0x1647c0}=this,_0x42e2eb=_0x1647c0[_0x2842d8(0x1e7)][_0x2842d8(0x1ff)](_0x2842d8(0x1cc));if(!_0x42e2eb)return;const _0x94c6d4=this[_0x2842d8(0x1df)](_0x1647c0[_0x2842d8(0x1ee)][_0x2842d8(0x1ff)](_0x2842d8(0x1c7)))[_0x2842d8(0x1c0)]((_0x98f1c2,_0x5bf76d)=>{const _0x5feed0=_0x2842d8,_0x40b952=this[_0x5feed0(0x1b2)](_0x5bf76d[_0x5feed0(0x1c5)]);return _0x98f1c2[_0x40b952]||(_0x98f1c2[_0x40b952]=[]),_0x98f1c2[_0x40b952][_0x5feed0(0x1f6)](_0x5bf76d),_0x98f1c2;},{});_0x1647c0[_0x2842d8(0x1b4)][_0x2842d8(0x1ba)](_0x2842d8(0x1e2))&&_0x1647c0[_0x2842d8(0x1e7)][_0x2842d8(0x1ff)](_0x2842d8(0x1cc))&&Object[_0x2842d8(0x1db)](_0x94c6d4)[_0x2842d8(0x1c8)](([_0x9f3d7c,_0x20adc7])=>{const _0x2206c5=_0x2842d8;_0x1647c0[_0x2206c5(0x1b4)][_0x2206c5(0x1ff)](_0x2206c5(0x1e2))[_0x2206c5(0x1f7)]({'name':_0x9f3d7c,'observable':()=>_0x42e2eb,'buttonViewCreator':()=>this[_0x2206c5(0x1b7)](_0x20adc7),'formViewCreator':()=>this[_0x2206c5(0x1ed)](_0x20adc7),'menuBarButtonViewCreator':()=>this[_0x2206c5(0x1dd)](_0x20adc7),'override':_0x2206c5(0x1de)!==_0x9f3d7c});});}[_0x160494(0x1ef)](){const _0x1db198=_0x160494;super[_0x1db198(0x1ef)](),this[_0x1db198(0x1fd)]&&clearInterval(this[_0x1db198(0x1fd)]);}[_0x160494(0x1df)](_0x4040db){const _0x3d21f7=_0x160494,{locale:_0x44a41f}=this[_0x3d21f7(0x1c1)];return _0x4040db[_0x3d21f7(0x1d6)](_0x4fa769=>{const _0x26e42d=_0x3d21f7,_0x23116c=_0x43aeae(_0x44a41f,_0x4fa769,_0x26e42d(0x1e6));switch(_0x4fa769){case _0xc7fdf8[_0x26e42d(0x1d4)]:return{'icon':_0x1029c2,'type':_0xc7fdf8[_0x26e42d(0x1d4)],..._0x23116c};case _0xc7fdf8[_0x26e42d(0x1b5)]:return{'icon':_0x5cc5d1,'type':_0xc7fdf8[_0x26e42d(0x1b5)],..._0x23116c};case _0xc7fdf8[_0x26e42d(0x1d1)]:return{'icon':_0x4f19f4,'type':_0xc7fdf8[_0x26e42d(0x1d1)],..._0x23116c};case _0xc7fdf8[_0x26e42d(0x1bf)]:return{'icon':_0x4f4925,'type':_0xc7fdf8[_0x26e42d(0x1bf)],..._0x23116c};case _0xc7fdf8[_0x26e42d(0x1fc)]:return{'icon':_0x286282,'type':_0xc7fdf8[_0x26e42d(0x1fc)],..._0x23116c};case _0xc7fdf8[_0x26e42d(0x1d7)]:return{'icon':_0x48ef44,'type':_0xc7fdf8[_0x26e42d(0x1d7)],..._0x23116c};case _0xc7fdf8[_0x26e42d(0x1b9)]:return{'icon':_0x4a6ff2,'type':_0xc7fdf8[_0x26e42d(0x1b9)],..._0x23116c};}});}[_0x160494(0x1b2)](_0x1f2817){const _0x110a76=_0x160494;switch(_0x1f2817){case _0xc7fdf8[_0x110a76(0x1d4)]:return _0x110a76(0x1b8);case _0xc7fdf8[_0x110a76(0x1b5)]:return _0x110a76(0x1e3);default:return _0x110a76(0x1de);}}[_0x160494(0x1c2)](_0x13d479,_0x4de537){const _0x423a54=_0x160494,_0x3f3cb0=this[_0x423a54(0x1c1)],_0x4abc3b=new _0x13d479(_0x3f3cb0[_0x423a54(0x1e0)]),_0x181bac=_0x3f3cb0[_0x423a54(0x1e7)][_0x423a54(0x1ff)](_0x423a54(0x1cc));return _0x4abc3b[_0x423a54(0x1fe)](_0x423a54(0x1f5))['to'](_0x181bac),_0x4abc3b['on'](_0x423a54(0x1d9),()=>{const _0x4571e0=_0x423a54;_0x181bac[_0x4571e0(0x1d9)](_0x4de537);}),_0x4abc3b;}[_0x160494(0x1b7)](_0x492e42){const _0xb782aa=_0x160494,{locale:_0x5e1d12}=this[_0xb782aa(0x1c1)],_0x4acf28=this[_0xb782aa(0x1c1)][_0xb782aa(0x1b4)][_0xb782aa(0x1ff)](_0xb782aa(0x1e2)),_0x1361ac=_0x492e42[0x0],_0x4837bd=this[_0xb782aa(0x1c2)](_0xf10452,_0x1361ac[_0xb782aa(0x1c5)]);return _0x4837bd[_0xb782aa(0x1f9)]=_0x1361ac[_0xb782aa(0x1f9)],_0x4837bd[_0xb782aa(0x1fe)](_0xb782aa(0x1be))['to'](_0x4acf28,_0xb782aa(0x1da),_0x375994=>_0x43aeae(_0x5e1d12,_0x1361ac[_0xb782aa(0x1c5)],_0x375994?_0xb782aa(0x1b1):_0xb782aa(0x1e6))[_0xb782aa(0x1d3)]),_0x4837bd[_0xb782aa(0x1ae)]=!0x0,_0x4837bd;}[_0x160494(0x1ed)](_0x4503d0){const _0x585d44=_0x160494,{locale:_0x20a7c9}=this[_0x585d44(0x1c1)],_0x364f40=this[_0x585d44(0x1c1)][_0x585d44(0x1b4)][_0x585d44(0x1ff)](_0x585d44(0x1e2));return _0x4503d0[_0x585d44(0x1d6)](_0x437f8f=>{const _0x39c672=_0x585d44,_0x42d224=this[_0x39c672(0x1c2)](_0xf10452,_0x437f8f[_0x39c672(0x1c5)]);return _0x42d224[_0x39c672(0x1cf)]=!0x0,_0x42d224[_0x39c672(0x1f9)]=_0x437f8f[_0x39c672(0x1f9)],_0x42d224[_0x39c672(0x1fe)](_0x39c672(0x1be))['to'](_0x364f40,_0x39c672(0x1da),_0x2e126b=>_0x43aeae(_0x20a7c9,_0x437f8f[_0x39c672(0x1c5)],_0x2e126b?_0x39c672(0x1b1):_0x39c672(0x1e6))[_0x39c672(0x1d3)]),_0x42d224;});}[_0x160494(0x1dd)](_0x141c22){const _0x1db5be=_0x160494;return _0x141c22[_0x1db5be(0x1d6)](_0x4b8301=>{const _0x144200=_0x1db5be,_0x303db8=this[_0x144200(0x1c2)](_0xf373e3,_0x4b8301[_0x144200(0x1c5)]);return _0x303db8[_0x144200(0x1f9)]=_0x4b8301[_0x144200(0x1f9)],_0x303db8[_0x144200(0x1be)]=_0x4b8301[_0x144200(0x1ec)],_0x303db8;});}}
|