@ckeditor/ckeditor5-uploadcare 48.3.1 → 48.4.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.
Files changed (156) hide show
  1. package/dist/index-content.css +0 -3
  2. package/dist/index-editor.css +2523 -2523
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/dist/ui/uploadcareformview.d.ts +0 -1
  152. package/dist/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +0 -1
  153. package/dist/uploadcareimageedit/uploadcareimageeditui.d.ts +0 -2
  154. package/dist/uploadcareui.d.ts +0 -3
  155. package/dist/utils/dialogfocusmanagerview.d.ts +0 -1
  156. package/package.json +9 -8
package/dist/index.d.ts CHANGED
@@ -15,4 +15,6 @@ export { UploadcareImageEditCommand } from "./uploadcareimageedit/uploadcareimag
15
15
  export { UploadcareCommand } from "./uploadcarecommand.js";
16
16
  export { UploadcareUploadAdapter } from "./uploadcareuploadadapter.js";
17
17
  export type { UploadcareConfig, UploadcareSource, UploadcareAssetImageDefinition, UploadcareExcludedKeys, UploadcareUploaderConfig, UploadcareEditorConfig, UploadcareAssetImageAttributesDefinition, UploadcareLocaleDefinition, UploadcareLocaleDefinitionResolver } from "./uploadcareconfig.js";
18
+ import "../theme/index-editor.css";
19
+ import "../theme/index-content.css";
18
20
  import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x42606f,Plugin as _0xf59544}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x103bfc,IconError as _0x40d3d7,IconFacebook as _0x373541,IconGoogleDrive as _0x41e164,IconGooglePhotos as _0x4ff19a,IconOneDrive as _0x40ad59,IconUploadcareImageEdit as _0x282e67,IconUploadcareImageUpload as _0x4af691,IconUploadcareLink as _0xc01f52}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x108ee7,Dialog as _0x2685ab,DialogViewPosition as _0x4b0200,FocusCycler as _0x77e8a0,IconView as _0x3c810c,MenuBarMenuListItemButtonView as _0x22ebe6,Notification as _0x355739,SpinnerView as _0x3ba27d,View as _0x15d918}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x239896,FocusTracker as _0x40a4f6,ObservableMixin as _0x211a54,createElement as _0x2a7d11,getAncestors as _0x23e8a4,global as _0x343abf,uid as _0x539b23}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0x442ce3,ImageUploadEditing as _0x2c9ebc,ImageUploadProgress as _0x18a0cd,ImageUtils as _0x30aa56,PictureEditing as _0x39d575}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x50d41f}from'@ckeditor/ckeditor5-upload';import{info as _0x195305,uploadFile as _0x9e9ea2}from'@uploadcare/upload-client';import*as _0x2e0eeb from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0xddee2a,_0x44dd30,_0x20214c){const t=_0xddee2a['t'],_0x28ddf7=_0xddee2a['t'];switch(_0x44dd30){case'local':return{'text':_0x28ddf7('Insert'===_0x20214c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x28ddf7('From\x20computer')};case'url':return{'text':'Insert'===_0x20214c?_0x28ddf7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x28ddf7('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x44dd30;}}var V=class extends _0xf59544{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13c0bf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e7122;for(const _0x430e49 in _0x13c0bf){const _0x51d48c=_0x430e49,_0x195647=_0x13c0bf[_0x51d48c];if('uploadcareLicenseKeyValid'==_0x195647||'uploadcareLicenseKeyInvalid'==_0x195647||'uploadcareLicenseKeyExpired'==_0x195647||'uploadcareLicenseKeyDomainLimit'==_0x195647||'uploadcareLicenseKeyNotAllowed'==_0x195647||'uploadcareLicenseKeyEvaluationLimit'==_0x195647||'uploadcareLicenseKeyUsageLimit'==_0x195647){delete _0x13c0bf[_0x51d48c],_0x1e7122=_0x195647,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1e7122&&_0x13c0bf['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1e7122&&_0x13c0bf['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1e7122&&_0x13c0bf['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1e7122&&_0x13c0bf['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1e7122&&_0x13c0bf['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1e7122&&_0x13c0bf['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x57d5bb}=this,_0x464f20=_0x57d5bb['commands']['get']('uploadcare');if(!_0x464f20)return;const _0x258058=this['_normalizeConfigSourceList'](_0x57d5bb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2c793b,_0x2f3526)=>{const _0x3e3672=this['_getIntegrationKey'](_0x2f3526['type']);return _0x2c793b[_0x3e3672]||(_0x2c793b[_0x3e3672]=[]),_0x2c793b[_0x3e3672]['push'](_0x2f3526),_0x2c793b;},{});_0x57d5bb['plugins']['has']('ImageInsertUI')&&_0x57d5bb['commands']['get']('uploadcare')&&Object['entries'](_0x258058)['forEach'](([_0x69fd41,_0x527183])=>{_0x57d5bb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x69fd41,'observable':()=>_0x464f20,'buttonViewCreator':()=>this['_createToolbarButton'](_0x527183),'formViewCreator':()=>this['_createDropdownButtons'](_0x527183),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x527183),'override':'assetManager'!==_0x69fd41});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x21a305){const {locale:_0x4bb600}=this['editor'];return _0x21a305['map'](_0x559d23=>{const _0x4a7a8f=T(_0x4bb600,_0x559d23,'Insert');switch(_0x559d23){case'local':return{'icon':_0x4af691,'type':'local',..._0x4a7a8f};case'url':return{'icon':_0xc01f52,'type':'url',..._0x4a7a8f};case'dropbox':return{'icon':_0x103bfc,'type':'dropbox',..._0x4a7a8f};case'facebook':return{'icon':_0x373541,'type':'facebook',..._0x4a7a8f};case'gdrive':return{'icon':_0x41e164,'type':'gdrive',..._0x4a7a8f};case'gphotos':return{'icon':_0x4ff19a,'type':'gphotos',..._0x4a7a8f};case'onedrive':return{'icon':_0x40ad59,'type':'onedrive',..._0x4a7a8f};}});}['_getIntegrationKey'](_0x55169a){switch(_0x55169a){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x9337f3,_0x74c8ed){const _0x1d506d=this['editor'],_0x52827f=new _0x9337f3(_0x1d506d['locale']),_0x38c58f=_0x1d506d['commands']['get']('uploadcare');return _0x52827f['bind']('isEnabled')['to'](_0x38c58f),_0x52827f['on']('execute',()=>{_0x38c58f['execute'](_0x74c8ed);}),_0x52827f;}['_createToolbarButton'](_0x3ee33b){const {locale:_0x25a1d3}=this['editor'],_0x237c02=this['editor']['plugins']['get']('ImageInsertUI'),_0x103b5b=_0x3ee33b[0x0],_0x44bda5=this['_createButton'](_0x108ee7,_0x103b5b['type']);return _0x44bda5['icon']=_0x103b5b['icon'],_0x44bda5['bind']('label')['to'](_0x237c02,'isImageSelected',_0x25c1c0=>T(_0x25a1d3,_0x103b5b['type'],_0x25c1c0?'Replace':'Insert')['text']),_0x44bda5['tooltip']=!0x0,_0x44bda5;}['_createDropdownButtons'](_0x16eb73){const {locale:_0x32355e}=this['editor'],_0x475a56=this['editor']['plugins']['get']('ImageInsertUI');return _0x16eb73['map'](_0x100f33=>{const _0x5e94ae=this['_createButton'](_0x108ee7,_0x100f33['type']);return _0x5e94ae['withText']=!0x0,_0x5e94ae['icon']=_0x100f33['icon'],_0x5e94ae['bind']('label')['to'](_0x475a56,'isImageSelected',_0x3e7957=>T(_0x32355e,_0x100f33['type'],_0x3e7957?'Replace':'Insert')['text']),_0x5e94ae;});}['_createMenuBarButtons'](_0x5ad90c){return _0x5ad90c['map'](_0x285c92=>{const _0x22bf41=this['_createButton'](_0x22ebe6,_0x285c92['type']);return _0x22bf41['icon']=_0x285c92['icon'],_0x22bf41['label']=_0x285c92['shortText'],_0x22bf41;});}},F=class extends _0x15d918{['focusTracker'];['focusCycler'];constructor(_0x3f3cb5){super(_0x3f3cb5),this['focusTracker']=new _0x40a4f6(),this['focusCycler']=new _0x77e8a0({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}},$=class extends F{constructor(_0x45102f,_0x12a4e9){super(_0x45102f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x12a4e9}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0x85450e,_0x12bfb6){const _0x4e97ba=_0x85450e['replace'](/\/$/,'');return{'imageFallbackUrl':_0x85450e,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5e7a74=>_0x5e7a74<_0x12bfb6)['map'](_0xb7b43b=>_0x4e97ba+'/-/resize/'+_0xb7b43b+'x/\x20'+_0xb7b43b+'w'),_0x85450e+'\x20'+_0x12bfb6+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x12bfb6+'px)\x20100vw,\x20'+_0x12bfb6+'px','type':'image/webp'}]};}function j(_0x27dccf,_0x58d7d5,_0x52eab7){const _0x1de37f=_0x27dccf['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1de37f?parseInt(_0x1de37f[0x1],0xa):_0x58d7d5,'height':_0x1de37f?parseInt(_0x1de37f[0x2],0xa):_0x52eab7};}function q(_0x2818b3,_0x447ac1){const _0x307bd1=new(_0x239896())(),_0x22174e=_0x2818b3['plugins']['get']('ImageUtils'),_0x1145de=_0x2818b3['editing']['mapper']['toViewElement'](_0x447ac1),_0x572698=_0x22174e['findViewImgElement'](_0x1145de),_0x20320e=_0x2818b3['editing']['view']['domConverter']['viewToDom'](_0x572698),_0x138566=_0x447ac1['getAttribute']('width'),_0x452fff=_0x447ac1['getAttribute']('height'),_0x2bcc1b='image-processing';_0x2818b3['editing']['view']['change'](_0xb45501=>{_0xb45501['addClass'](_0x2bcc1b,_0x1145de),_0xb45501['setStyle']('aspect-ratio',_0x138566+'/'+_0x452fff,_0x572698);}),_0x307bd1['listenTo'](_0x20320e,'load',()=>{_0x307bd1['stopListening'](_0x20320e,'load'),_0x2818b3['editing']['view']['change'](_0x35635f=>{_0x35635f['removeClass'](_0x2bcc1b,_0x1145de),_0x35635f['removeStyle']('aspect-ratio',_0x572698);});});}function M(_0x376fc3){if(Array['isArray'](_0x376fc3)){const _0x5bdfcf=_0x376fc3['map'](M);return _0x1806cc=>_0x5bdfcf['some'](_0x2cdc4a=>_0x2cdc4a(_0x1806cc));}if('origin'==_0x376fc3){const _0x52b760=_0x343abf['window']['location']['origin'];return _0x449080=>new URL(_0x449080,_0x343abf['document']['baseURI'])['origin']==_0x52b760;}return'function'==typeof _0x376fc3?_0x376fc3:_0x376fc3 instanceof RegExp?_0x1d790b=>!(!_0x1d790b['match'](_0x376fc3)&&!_0x1d790b['replace'](/^https?:\/\//,'')['match'](_0x376fc3)):()=>!0x1;}function H(_0x4ec213,_0x572778){return _0x23e8a4(_0x4ec213['target'])['includes'](_0x572778);}const W=/* #__PURE__ -- @preserve */
24
- _0x211a54();var G=class extends W{['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x357cb6,_0x736854,_0x3406ed){super(),this['_editor']=_0x357cb6,this['_editing']=_0x736854,this['_dialog']=_0x357cb6['plugins']['get'](_0x2685ab),this['_api']=_0x736854['ctxElement']['getAPI'](),this['_type']=_0x3406ed,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x1c4f5c,model:_0x35f5cb}=this['_editor'],_0xbf9c35=_0x35f5cb['document']['selection']['getSelectedElement'](),_0x50490b=_0xbf9c35&&(_0xbf9c35['is']('element','imageBlock')||_0xbf9c35['is']('element','imageInline'));this['_formView']=new $(_0x1c4f5c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4af691,'title':T(_0x1c4f5c,this['_type'],_0x50490b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4b0200['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x29ec60=>!H(_0x29ec60,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x374e11}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x408740=>{const _0x4a4217=_0x374e11['length'];for(const _0x447f8e of _0x374e11){const _0x284c5c=_0x447f8e===_0x374e11[_0x4a4217-0x1],{cdnUrl:_0x529189,fileInfo:_0x44c67d}=_0x447f8e;if(!_0x529189||!_0x44c67d)continue;const {width:_0x5d2a40,height:_0x4a62fd}=_0x44c67d['imageInfo'],_0x2f8d18=j(_0x529189,_0x5d2a40,_0x4a62fd),_0x18c999=B(_0x529189,_0x2f8d18['width']),_0x1b8252={'id':_0x44c67d['uuid'],'type':'image','attributes':{'imageDimension':_0x2f8d18,..._0x18c999}};this['_insertAsset'](_0x1b8252,_0x284c5c,_0x408740);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x19749a=>{'idle'===_0x19749a['detail']['status']&&!_0x19749a['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}['_insertAsset'](_0x35f498,_0x5af611,_0x46ebd5){const _0x542ccd=this['_editor']['model']['document']['selection'],_0x28976b=_0x542ccd['getSelectedElement'](),_0xb77edf=!(!_0x28976b||!_0x28976b['is']('element','imageInline'));_0x46ebd5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x35f498,_0xb77edf),_0x5af611||_0x46ebd5['setSelection'](_0x542ccd['getLastPosition']());}['_insertImage'](_0x3a1d0d,_0x145afa){const _0xdbf91d=this['_editor'],{imageDimension:_0x14ccf6,imageFallbackUrl:_0x1397a9,imageSources:_0x251110}=_0x3a1d0d['attributes'];_0xdbf91d['execute']('insertImage',{'imageType':_0x145afa?'imageInline':null,'source':{'uploadcareImageId':_0x3a1d0d['id'],'src':_0x1397a9,'sources':_0x251110,..._0x14ccf6}});}},z=class extends _0x42606f{['_editing'];['_controller']=null;static get['requires'](){return[_0x2685ab,Z];}constructor(_0x36293e){super(_0x36293e),this['_editing']=_0x36293e['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xd3bde5){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0xd3bde5);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x564212,..._0x5d777a}){return _0x9e9ea2(_0x564212,_0x5d777a);}static['getInfo'](_0x3b7204,_0x3d77cf){return _0x195305(_0x3b7204,_0x3d77cf);}},J=class extends _0xf59544{static get['requires'](){return[_0x2c9ebc,_0x18a0cd,_0x50d41f,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x56a45e=this['editor'];if(!_0x56a45e['config']['get']('uploadcare'))return;_0x56a45e['plugins']['get'](_0x50d41f)['createUploadAdapter']=_0x238ced=>new X(_0x238ced,_0x56a45e),_0x56a45e['plugins']['get'](_0x2c9ebc)['on']('uploadComplete',(_0x1d0ed9,{imageElement:_0x2042eb,data:_0xbe8502})=>{_0x56a45e['model']['change'](_0x40b59b=>{_0x40b59b['setAttribute']('uploadcareImageId',_0xbe8502['uploadcareImageId'],_0x2042eb);});});}},X=class{['loader'];['editor'];['controller'];constructor(_0x184760,_0x3a8483){this['loader']=_0x184760,this['editor']=_0x3a8483,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2424d3=await this['loader']['file'];return Q['upload']({'file':_0x2424d3,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x51d74f=>{_0x51d74f&&_0x51d74f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x51d74f['value']);}})['then'](async _0x2df007=>{const {imageFallbackUrl:_0x566680,imageSources:_0x597b13}=B(_0x2df007['cdnUrl'],_0x2df007['imageInfo']['width']);return{'uploadcareImageId':_0x2df007['uuid'],'default':_0x566680,'sources':_0x597b13};})['catch'](()=>{const _0x1d74e1=t('Cannot\x20upload\x20file:')+('\x20'+_0x2424d3['name']+'.');return Promise['reject'](_0x1d74e1);});}['abort'](){this['controller']['abort']();}},Z=class extends _0xf59544{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0x39d575,J,_0x2685ab];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x56b719){super(_0x56b719),this['ucContextId']=_0x539b23();}['init'](){const _0x5855f1=this['editor'];_0x5855f1['commands']['add']('uploadcare',new z(_0x5855f1));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x4e95f5=_0x343abf['document']['querySelector']('input[uploadcare-file-input]');_0x4e95f5&&_0x4e95f5['remove']();}),async function(_0xf61894){const _0x4e20c9='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x3b8cc1=0x78fc0,_0xd3242c=window['Date']['now'](),_0x1dd08a=_0xf61894['editor'],_0x343876=new window['Promise'](_0x2e1c73=>{_0x1dd08a['once']('ready',_0x2e1c73);}),_0xf92850={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2a564c=_0x1dd08a['config']['get']('licenseKey');async function _0x384ca4(){let _0x28405a,_0x53536d=null,_0x5d6937=null;try{return'GPL'==_0x2a564c?'NotAllowed':(_0x28405a=_0x305d03(),_0x28405a?(_0x28405a['usageEndpoint']&&(_0x5d6937=_0x14064e(_0x28405a['usageEndpoint'],_0x28405a['jti'])),await _0x27c0a4()?_0x250a3f()?_0x3f33f6()?'Expired':_0x26bd02()?('evaluation'==_0x28405a['licenseType']&&(_0x53536d=_0x488a58('EvaluationLimit')),await _0x14e676()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3f33f6(){const _0x2f1ab9=['evaluation','trial']['includes'](_0x28405a['licenseType'])?_0xd3242c/0x3e8:0xe10*_0x3b8cc1;return _0x28405a['exp']<_0x2f1ab9;}function _0x250a3f(){const _0x1bd504=_0x28405a['features'];return!!_0x1bd504&&(!!_0x1bd504['includes']('*')||!!_0x1bd504['includes']('UPLC'));}function _0x26bd02(){const _0x32b5aa=_0x28405a['licensedHosts'];if(!_0x32b5aa||0x0==_0x32b5aa['length'])return!0x0;const {hostname:_0x2252f1}=new URL(window['location']['href']);if(_0x32b5aa['includes'](_0x2252f1))return!0x0;const _0x38442d=_0x2252f1['split']('.');return _0x32b5aa['filter'](_0x515669=>_0x515669['includes']('*'))['map'](_0xd0e249=>_0xd0e249['split']('.'))['filter'](_0x16837e=>_0x16837e['length']<=_0x38442d['length'])['map'](_0x3aefa4=>Array(_0x38442d['length']-_0x3aefa4['length'])['fill']('*'===_0x3aefa4[0x0]?'*':'')['concat'](_0x3aefa4))['some'](_0x19a893=>_0x38442d['every']((_0x5909a6,_0x339925)=>_0x19a893[_0x339925]===_0x5909a6||'*'===_0x19a893[_0x339925]));}function _0x14e676(){return _0x53536d&&_0x5d6937?new window['Promise']((_0x20fde0,_0xa05847)=>{_0x53536d['then'](_0x20fde0,_0xa05847),_0x5d6937['then'](_0x1efe67=>{'Valid'!=_0x1efe67&&_0x20fde0(_0x1efe67);},_0xa05847);}):_0x53536d||_0x5d6937||'Valid';}}function _0x14064e(_0xb6c750,_0x2e8ffb){return new window['Promise'](_0x1c3d6b=>{if(_0x5cf1dd())return _0x1c3d6b('Valid');_0x17ca60(),_0x1dd08a['decorate']('_sendUsageRequest');let _0x450f9a=!0x1;const _0x515f1a=_0x539b23();function _0x1e1a87(_0x4bfde6){return!!_0x4bfde6&&('object'==typeof _0x4bfde6||'function'==typeof _0x4bfde6)&&'function'==typeof _0x4bfde6['then']&&'function'==typeof _0x4bfde6['catch'];}function _0x1863fd(_0xf26e5){_0x295124(_0xf26e5)['then'](_0x31ac3d=>_0x31ac3d&&'ok'==_0x31ac3d['status']?_0x1a202a(_0x27945b(_0x515f1a+_0x2e8ffb))!=_0x31ac3d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b714f=>(_0xed4176(),_0x1b714f),()=>{const _0x4c303e=_0x469bad();return null==_0x4c303e?(_0xed4176(),'Valid'):_0xd3242c-_0x4c303e>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1c3d6b)['catch'](()=>{_0x1c3d6b('UsageLimit');});const _0x564597=0x36ee80;function _0xed4176(){const _0x2bed2c='llct-'+_0x1a202a(_0x27945b(_0xb6c750)),_0x3e34b7=_0x59b493(_0x1a202a(window['Math']['ceil'](_0xd3242c/_0x564597)));window['localStorage']['setItem'](_0x2bed2c,_0x3e34b7);}function _0x469bad(){const _0xc1e1c5='llct-'+_0x1a202a(_0x27945b(_0xb6c750)),_0x25b0c5=window['localStorage']['getItem'](_0xc1e1c5);return _0x25b0c5?window['parseInt'](_0x59b493(_0x25b0c5),0x10)*_0x564597:null;}function _0x295124(_0x54d16c){return new window['Promise']((_0x4794d7,_0x444aa6)=>{_0x54d16c['then'](_0x4794d7,_0x444aa6),window['setTimeout'](_0x444aa6,0x1d4c0);});}}_0x1dd08a['on']('_sendUsageRequest',(_0x276079,_0x1fce98)=>{if(_0x1fce98[0x0]!=_0xb6c750)return _0x1c3d6b('UsageLimit');_0x1fce98[0x1]={..._0x1fce98[0x1],'requestId':_0x515f1a};},{'priority':'high'}),_0x1dd08a['on']('_sendUsageRequest',_0x4a4a92=>{_0x1e1a87(_0x4a4a92['return'])&&(_0x450f9a=!0x0,_0x1863fd(_0x4a4a92['return']));},{'priority':'low'}),_0x343876['then'](()=>{_0x450f9a||_0x1c3d6b('UsageLimit');});});function _0x5cf1dd(){return'auto'==_0x1dd08a['editing']['view']['_overlayModeHint'];}function _0x17ca60(){_0x1dd08a['editing']['view']['_overlayModeHint']='auto';}}function _0x488a58(_0x275bf8){const _0x1658e1=[new window['Promise'](_0x1420ab=>setTimeout(_0x1420ab,0x93ecc)),_0x343876['then'](()=>new window['Promise'](_0x402f43=>{let _0x15c468=0x0;_0x1dd08a['model']['on']('applyOperation',(_0x4712c0,_0x4ec5d0)=>{_0x4ec5d0[0x0]['isDocumentOperation']&&_0x15c468++,0x5e8==_0x15c468&&(_0x402f43(),_0x4712c0['off']());});}))];return window['Promise']['race'](_0x1658e1)['then'](()=>_0x275bf8);}async function _0x215cbc(){await _0x343876,_0x1dd08a['model']['change']=_0x529bf0,_0x1dd08a['model']['enqueueChange']=_0x529bf0,_0x1dd08a['enableReadOnlyMode']('model');}function _0x341a66(_0x56eafe){const _0x254f09=_0x2a36b7();_0x1dd08a[_0x254f09]='uploadcareLicenseKey'+_0x56eafe,'Valid'!=_0x56eafe&&_0x215cbc();}function _0x2a36b7(){const _0x38b0d4=window['String'](window['performance']['now']())['replace']('.','');let _0x5e3a39='h';for(let _0xc5e00a=0x0;_0xc5e00a<_0x38b0d4['length'];_0xc5e00a+=0x2){let _0x396706=window['parseInt'](_0x38b0d4['substring'](_0xc5e00a,_0xc5e00a+0x2));_0x396706>=0x3e&&(_0x396706-=0x3e),_0x5e3a39+=_0x4e20c9[_0x396706];}return _0x5e3a39;}function _0x305d03(){const _0x2a1722=_0x2a564c['split']('.');if(0x3!=_0x2a1722['length'])return null;return _0xc1f1bf(_0x2a1722[0x1]);function _0xc1f1bf(_0x416607){const _0x125430=_0x1e0c7d(_0x416607);return _0x125430&&_0x8b12f7()?_0x125430:null;function _0x8b12f7(){const _0x26fabd=_0x125430['jti'],_0x33d07e=window['parseInt'](_0x26fabd['substring'](_0x26fabd['length']-0x8),0x10),_0x4a034a={..._0x125430,'jti':_0x26fabd['substring'](0x0,_0x26fabd['length']-0x8)};return delete _0x4a034a['vc'],_0x27945b(_0x4a034a)==_0x33d07e;}}}async function _0x27c0a4(){let _0x389ca7=!0x0;try{const [_0x26d08e,_0x30151a,_0x387767]=_0x2a564c['split']('.');return _0x192383(_0x26d08e),await _0x3fa887(_0x26d08e,_0x30151a,_0x387767),_0x389ca7;}catch{return!0x1;}function _0x192383(_0x2524a0){const _0x2174b1=_0x1e0c7d(_0x2524a0);_0x2174b1&&'ES256'==_0x2174b1['alg']||(_0x389ca7=!0x1);}async function _0x3fa887(_0x36f51f,_0x43a46e,_0x189bd3){const _0x551f2e=window['Uint8Array']['from'](_0xc6f70f(_0x189bd3),_0x2436a7=>_0x2436a7['charCodeAt'](0x0)),_0x585c76=new window['TextEncoder']()['encode'](_0x36f51f+'.'+_0x43a46e),_0x5aff1a=window['crypto']['subtle'];if(!_0x5aff1a)return;const _0x64bc4a=await _0x5aff1a['importKey']('jwk',_0xf92850,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5aff1a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x64bc4a,_0x551f2e,_0x585c76)||(_0x389ca7=!0x1);}}function _0x1e0c7d(_0x2a58f3){return _0x2a58f3['startsWith']('ey')?JSON['parse'](_0xc6f70f(_0x2a58f3)):null;}function _0xc6f70f(_0x473953){return window['atob'](_0x473953['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x27945b(_0xec08b6){let _0x39e928=0x1505;function _0x114827(_0x2d6ab2){for(let _0xd76286=0x0;_0xd76286<_0x2d6ab2['length'];_0xd76286++){const _0xcd3d7b=_0x2d6ab2['charCodeAt'](_0xd76286);_0x39e928=(_0x39e928<<0x5)+_0x39e928+_0xcd3d7b,_0x39e928&=_0x39e928;}}function _0x460619(_0x528f62){Array['isArray'](_0x528f62)?_0x528f62['forEach'](_0x460619):_0x528f62&&'object'==typeof _0x528f62?Object['entries'](_0x528f62)['sort']()['forEach'](([_0x14478f,_0x2f9afa])=>{_0x114827(_0x14478f),_0x460619(_0x2f9afa);}):_0x114827(window['String'](_0x528f62));}return _0x460619(_0xec08b6),_0x39e928>>>0x0;}function _0x1a202a(_0x233b21){return _0x233b21['toString'](0x10)['padStart'](0x8,'0');}function _0x59b493(_0x23a1ea){return _0x23a1ea['split']('')['reverse']()['join']('');}function _0x529bf0(){}_0x341a66(await _0x384ca4());}(this);}['_initSchema'](){const _0x59949e=this['editor']['model']['schema'];_0x59949e['isRegistered']('imageBlock')&&_0x59949e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x59949e['isRegistered']('imageInline')&&_0x59949e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xf009b3=this['editor'];_0xf009b3['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xf009b3['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3224bf=>_0x3224bf['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5247a8=_0xf009b3['commands']['get']('replaceImageSource');_0x5247a8&&this['listenTo'](_0x5247a8,'cleanupImage',(_0x42f591,[_0xf16357,_0x24412a])=>{_0xf16357['removeAttribute']('uploadcareImageId',_0x24412a);});}['_initConfig'](){const _0x47f54f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4bd462=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2a7d11(_0x343abf['document'],'uc-config',{..._0x47f54f,'pubkey':_0x4bd462,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\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'}),this['_configElement']['iconHrefResolver']=_0x57e362=>{if('closeMax'==_0x57e362)return'#uc-icon-arrow-down';},_0x343abf['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2a7d11(_0x343abf['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x343abf['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x48fb5e=this['editor']['commands']['get']('insertImage');_0x48fb5e&&this['listenTo'](_0x48fb5e,'execute',()=>{const _0xd128da=this['editor']['model']['document']['selection']['getSelectedElement']();_0xd128da&&_0xd128da['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0xd128da);});});const _0x4ab29a=this['editor']['commands']['get']('uploadcareImageReplace');_0x4ab29a&&this['listenTo'](_0x4ab29a,'execute',()=>{const _0x1f8bed=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1f8bed&&_0x1f8bed['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x1f8bed);});});}},Y=class extends _0xf59544{static get['requires'](){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4660a6){super(_0x4660a6),_0x4660a6['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x2e0eeb['defineComponents'](_0x2e0eeb),this['_defineLocale']();}['_defineLocale'](){const _0x53c91d=this['editor']['config']['get']('uploadcare.locale'),_0xa10f71=this['editor']['locale']['contentLanguage'];_0x53c91d&&_0x2e0eeb['defineLocale'](_0xa10f71,_0x53c91d);}},tt=class extends _0x15d918{constructor(_0x5077be){super(_0x5077be);const t=_0x5077be['t'],_0x5732f6=this['bindTemplate'],_0x49449a=new _0x3ba27d();_0x49449a['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':[_0x49449a,{'text':_0x5732f6['to']('imageUploadProgress',_0x4b8039=>t('Loading\x20image...')+'\x20('+(_0x4b8039||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'}]}]}]});}},et=class extends _0x15d918{constructor(_0x24f7d2){super(_0x24f7d2);const t=_0x24f7d2['t'];this['set']('errorType',null);const _0x4e3ebc=new _0x108ee7(_0x24f7d2);_0x4e3ebc['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4e3ebc['withText']=!0x0,_0x4e3ebc['class']='ck-button-action',_0x4e3ebc['on']('execute',()=>{this['fire']('retry');}),_0x4e3ebc['bind']('isVisible')['to'](this,'errorType',_0x4d4f90=>'NotFound'!==_0x4d4f90);const _0x58e489=new _0x3c810c();_0x58e489['content']=_0x40d3d7,_0x58e489['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ac07f=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':[_0x58e489,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ac07f['to']('errorType',_0x3d2767=>t('NotFound'!==_0x3d2767?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4e3ebc]},{'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'}]}]}]});}},it=class extends _0x15d918{constructor(_0x57c0fa,_0x131469){super(_0x57c0fa);const _0x4df07d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x131469,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4df07d['to']('imageSrc')}});}},st=class extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5ece55,_0x20dcba,_0x860b7f){super(_0x5ece55),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x5ece55),this['_errorView']=new et(_0x5ece55),this['_editingView']=new it(_0x5ece55,_0x860b7f),this['_focusableView']=new _0x15d918(_0x5ece55),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x20dcba),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x46236c=>{this['_addUploadcareImageEditorListeners'](_0x46236c);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0xde1a61,_0x516187){const _0x5ef971='uc-cloud-image-editor',_0x31d850=_0xde1a61['querySelector'](_0x5ef971);if(_0x31d850)return _0x516187(_0x31d850);const _0x589d3a=new MutationObserver(_0x32d166=>{const _0x5be493=_0x32d166['filter'](_0x6dc75a=>_0x6dc75a['target']===_0xde1a61&&_0x6dc75a['addedNodes']['length']>0x0&&_0x6dc75a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5ef971);_0x5be493['length']&&(_0x589d3a['disconnect'](),_0x516187(_0x5be493[0x0]['addedNodes'][0x0]));});_0x589d3a['observe'](_0xde1a61,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3b480e){_0x3b480e['addEventListener']('apply',_0x436106=>{this['fire']('apply',{'imageSrc':_0x436106['detail']['cdnUrl']});}),_0x3b480e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const rt=/* #__PURE__ -- @preserve */
25
- _0x211a54();var nt=class extends rt{['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1a31ed,_0x27f20e,_0x4311a5){super(),this['_editor']=_0x1a31ed,this['_dialog']=_0x27f20e,this['_imageElement']=_0x4311a5,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 _0x22881a=this['_imageElement'],_0x13b83d=_0x22881a['getAttribute']('uploadcareImageId'),_0x2fc3d9=_0x22881a['getAttribute']('src');if(_0x13b83d)await this['_loadImageInfo'](_0x13b83d,_0x2fc3d9);else{if(this['_imageCache']['has'](_0x2fc3d9)){const _0x4853ba=this['_imageCache']['get'](_0x2fc3d9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4853ba['url'],this['imageDimension']=_0x4853ba['dimension'],this['imageId']=_0x4853ba['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1429b8}=this['_editor'],t=_0x1429b8['t'],_0x26e85d=new st(_0x1429b8,this['imageStatus'],this['_attributes']);_0x26e85d['bind']('status')['to'](this,'imageStatus'),_0x26e85d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x26e85d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x26e85d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x26e85d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x282e67,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x26e85d,'position':_0x4b0200['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x26e85d['focus']();},'onHide':()=>{_0x26e85d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x25e90d=>!H(_0x25e90d,_0x26e85d['element'])}});}['_loadImageInfo'](_0x5e1f11,_0x2f99c3){return Q['getInfo'](_0x5e1f11,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xa49247=>{const {width:_0x7c216b,height:_0x4b6308}=_0xa49247['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2f99c3,this['imageDimension']={'width':_0x7c216b,'height':_0x4b6308},this['imageId']=_0x5e1f11;})['catch'](_0x4f10c7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f10c7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x10b893,_0x50ad41){return this['_getImageAsFile'](_0x10b893)['then'](_0x24e4de=>Q['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':_0x50ad41['signal'],'file':_0x24e4de,'onProgress':_0x1ad4cb=>{_0x1ad4cb&&_0x1ad4cb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1ad4cb['value']));}}))['then'](_0x144260=>{const {width:_0x11cddc,height:_0x7bff02}=_0x144260['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x144260['cdnUrl'],this['imageDimension']={'width':_0x11cddc,'height':_0x7bff02},this['imageId']=_0x144260['uuid'],this['imageUploadProgress']=null;const _0x16abc9=_0x10b893['getAttribute']('src');this['_imageCache']['set'](_0x16abc9,{'id':_0x144260['uuid'],'url':_0x144260['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1567a9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1567a9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x214e0f,_0x5aa51e){_0x214e0f['on']('apply',(_0x327f94,_0x3e20c7)=>{this['_replaceImage'](_0x5aa51e,_0x3e20c7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x214e0f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x214e0f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x45fec5,_0x34a13f,_0x1cc5ee){const _0x5ae66c=this['_editor'],{width:_0x541cd9,height:_0x2502a3}=j(_0x34a13f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x25826a,imageSources:_0x1da634}=B(_0x34a13f,_0x541cd9);_0x5ae66c['model']['change'](_0xb94cba=>{if('$graveyard'!==_0x45fec5['root']['rootName'])_0xb94cba['setSelection'](_0x45fec5,'on'),_0x5ae66c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x45fec5['getAttributes']()),'uploadcareImageId':_0x1cc5ee,'src':_0x25826a,'sources':_0x1da634,'width':_0x541cd9,'height':_0x2502a3},_0x45fec5);else{_0x5ae66c['execute']('insertImage',{'imageType':_0x45fec5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x45fec5['getAttributes']()),'uploadcareImageId':_0x1cc5ee,'src':_0x25826a,'sources':_0x1da634,'width':_0x541cd9,'height':_0x2502a3}});const _0x12f8d1=_0x45fec5['getChildren']();_0x45fec5=_0x5ae66c['model']['document']['selection']['getSelectedElement']();for(const _0x3dcea9 of _0x12f8d1)_0xb94cba['append'](_0xb94cba['cloneElement'](_0x3dcea9),_0x45fec5);}_0xb94cba['setSelection'](_0x45fec5,'on');});}async['_getImageAsFile'](_0x2b3b1d){const _0x1f7fc0=_0x343abf['window'],_0x3f7673=_0x343abf['document']['location']['href'],_0x516ae4=new _0x1f7fc0['URL'](_0x2b3b1d['getAttribute']('src'),_0x3f7673);if('data:'===_0x516ae4['protocol']){const _0x36c486=_0x516ae4['href']['split'](','),_0x47b547=_0x36c486[0x0]['match'](/:(.*?);/)[0x1],_0x1605cd=_0x47b547['split']('/')[0x1],_0x5100ee=_0x1f7fc0['atob'](_0x36c486[_0x36c486['length']-0x1]);let _0x1afc6b=_0x5100ee['length'];const _0x12cba1=new _0x1f7fc0['Uint8Array'](_0x1afc6b);for(;_0x1afc6b--;)_0x12cba1[_0x1afc6b]=_0x5100ee['charCodeAt'](_0x1afc6b);return new _0x1f7fc0['File']([_0x12cba1],'image.'+_0x1605cd,{'type':_0x47b547});}const _0x7327de=_0x516ae4['href']['split']('/'),_0x4a375d=_0x7327de[_0x7327de['length']-0x1],_0x43dd83=_0x4a375d['split']('.')[0x1];return _0x1f7fc0['fetch'](_0x516ae4['href'])['then'](_0xddce4a=>_0xddce4a['clone']()['blob']())['then'](_0x45a76d=>new _0x1f7fc0['File']([_0x45a76d],_0x4a375d,{'type':'image/'+_0x43dd83}));}},at=class extends _0x42606f{['imageEditController'];static get['requires'](){return[_0x2685ab];}['_isEditable'];constructor(_0xfa8067){super(_0xfa8067),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x554fc5){const _0x1a9b18=M(_0x554fc5);return _0x3c521c=>!(!_0x3c521c||!_0x3c521c['is']('element','imageBlock')&&!_0x3c521c['is']('element','imageInline'))&&(!!_0x3c521c['hasAttribute']('uploadcareImageId')||!!_0x3c521c['hasAttribute']('src')&&_0x1a9b18(_0x3c521c['getAttribute']('src')));}(_0xfa8067['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x24926f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x24926f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4a193c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a193c&&(_0x4a193c['is']('element','imageBlock')||_0x4a193c['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x2685ab),_0x4a193c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x42606f{['refresh'](){const _0x3fcb79=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3fcb79&&(_0x3fcb79['is']('element','imageBlock')||_0x3fcb79['is']('element','imageInline')));}['execute'](_0x28706a){const _0x5f360d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x557629=>{_0x557629['setAttributes'](_0x28706a,_0x5f360d),_0x557629['removeAttribute']('srcset',_0x5f360d),_0x557629['removeAttribute']('sizes',_0x5f360d);});}},ct=class extends _0xf59544{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[Z,_0x355739,_0x30aa56,_0x442ce3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ccae4}=this;_0x3ccae4['commands']['add']('uploadcareImageEdit',new at(_0x3ccae4)),_0x3ccae4['commands']['add']('uploadcareImageReplace',new ot(_0x3ccae4));}},lt=class extends _0xf59544{['_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 _0x6fc34d=this['editor'];_0x6fc34d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x50be77=>{const _0x4606ef=_0x6fc34d['commands']['get']('uploadcareImageEdit'),_0x4a3fa6=new _0x108ee7(_0x50be77),t=_0x50be77['t'];return _0x4a3fa6['set']({'icon':_0x282e67,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4a3fa6['bind']('isEnabled')['to'](_0x4606ef),_0x4a3fa6['bind']('isOn')['to'](_0x4606ef,'isActive'),this['listenTo'](_0x4a3fa6,'execute',()=>{_0x6fc34d['execute']('uploadcareImageEdit'),_0x6fc34d['editing']['view']['focus']();}),_0x4a3fa6;}),this['_initConfig']();}['_initConfig'](){const _0x1ee674=_0x2a7d11(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1ee674),this['listenTo'](this['editor'],'destroy',()=>{_0x1ee674['remove']();});}},ut=class extends _0xf59544{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[ct,lt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Y as Uploadcare,z as UploadcareCommand,Z as UploadcareEditing,ut as UploadcareImageEdit,at as UploadcareImageEditCommand,ct as UploadcareImageEditEditing,lt as UploadcareImageEditUI,V as UploadcareUI,J as UploadcareUploadAdapter};
23
+ import{Command as _0x1d4366,Plugin as _0x3b6558}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x1c6829,IconError as _0x4354f0,IconFacebook as _0x5e29e2,IconGoogleDrive as _0x2ea3da,IconGooglePhotos as _0xb3fc9,IconOneDrive as _0x38e883,IconUploadcareImageEdit as _0x54137f,IconUploadcareImageUpload as _0x2ccb1a,IconUploadcareLink as _0x25da04}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x195453,Dialog as _0x851813,DialogViewPosition as _0x3e98e3,FocusCycler as _0x399e05,IconView as _0x487347,MenuBarMenuListItemButtonView as _0x4baf3c,Notification as _0x2f420e,SpinnerView as _0x58e96e,View as _0x528159}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x33069f,FocusTracker as _0x47fd90,ObservableMixin as _0x196f3a,createElement as _0x112f76,getAncestors as _0xb07eb4,global as _0x49852f,uid as _0x9f5bec}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0x1f6832,ImageUploadEditing as _0x4b9d29,ImageUploadProgress as _0x5a1e5f,ImageUtils as _0x3236fa,PictureEditing as _0x561fdf}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x5d6284}from'@ckeditor/ckeditor5-upload';import{info as _0x4e31f6,uploadFile as _0x4894fc}from'@uploadcare/upload-client';import*as _0x25752a from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0x4217ca,_0x4e8bcb,_0x256035){const t=_0x4217ca['t'],_0x57dabe=_0x4217ca['t'];switch(_0x4e8bcb){case'local':return{'text':_0x57dabe('Insert'===_0x256035?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x57dabe('From\x20computer')};case'url':return{'text':'Insert'===_0x256035?_0x57dabe('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x57dabe('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x256035?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x256035?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x256035?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x256035?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x256035?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4e8bcb;}}var V=class extends _0x3b6558{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x33d298=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2fd813;for(const _0x30b2b3 in _0x33d298){const _0x2c054e=_0x30b2b3,_0x306927=_0x33d298[_0x2c054e];if('uploadcareLicenseKeyValid'==_0x306927||'uploadcareLicenseKeyInvalid'==_0x306927||'uploadcareLicenseKeyExpired'==_0x306927||'uploadcareLicenseKeyDomainLimit'==_0x306927||'uploadcareLicenseKeyNotAllowed'==_0x306927||'uploadcareLicenseKeyEvaluationLimit'==_0x306927||'uploadcareLicenseKeyUsageLimit'==_0x306927){delete _0x33d298[_0x2c054e],_0x2fd813=_0x306927,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2fd813&&_0x33d298['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2fd813&&_0x33d298['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2fd813&&_0x33d298['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2fd813&&_0x33d298['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2fd813&&_0x33d298['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2fd813&&_0x33d298['_showLicenseError']('usageLimit');},0x3e8);}afterInit(){const {editor:_0x3bed06}=this,_0x17a7ce=_0x3bed06['commands']['get']('uploadcare');if(!_0x17a7ce)return;const _0x47f31e=this['_normalizeConfigSourceList'](_0x3bed06['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x20c488,_0x1fcb87)=>{const _0x5836cf=this['_getIntegrationKey'](_0x1fcb87['type']);return _0x20c488[_0x5836cf]||(_0x20c488[_0x5836cf]=[]),_0x20c488[_0x5836cf]['push'](_0x1fcb87),_0x20c488;},{});_0x3bed06['plugins']['has']('ImageInsertUI')&&_0x3bed06['commands']['get']('uploadcare')&&Object['entries'](_0x47f31e)['forEach'](([_0x35d4ad,_0x3c8883])=>{_0x3bed06['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x35d4ad,'observable':()=>_0x17a7ce,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3c8883),'formViewCreator':()=>this['_createDropdownButtons'](_0x3c8883),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3c8883),'override':'assetManager'!==_0x35d4ad});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x6dc84){const {locale:_0x59006d}=this['editor'];return _0x6dc84['map'](_0x3a9184=>{const _0x1aca4f=T(_0x59006d,_0x3a9184,'Insert');switch(_0x3a9184){case'local':return{'icon':_0x2ccb1a,'type':'local',..._0x1aca4f};case'url':return{'icon':_0x25da04,'type':'url',..._0x1aca4f};case'dropbox':return{'icon':_0x1c6829,'type':'dropbox',..._0x1aca4f};case'facebook':return{'icon':_0x5e29e2,'type':'facebook',..._0x1aca4f};case'gdrive':return{'icon':_0x2ea3da,'type':'gdrive',..._0x1aca4f};case'gphotos':return{'icon':_0xb3fc9,'type':'gphotos',..._0x1aca4f};case'onedrive':return{'icon':_0x38e883,'type':'onedrive',..._0x1aca4f};}});}_getIntegrationKey(_0x36c8ef){switch(_0x36c8ef){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x2b76e9,_0x3b0759){const _0x43bbe1=this['editor'],_0x6f86f6=new _0x2b76e9(_0x43bbe1['locale']),_0x4d0d00=_0x43bbe1['commands']['get']('uploadcare');return _0x6f86f6['bind']('isEnabled')['to'](_0x4d0d00),_0x6f86f6['on']('execute',()=>{_0x4d0d00['execute'](_0x3b0759);}),_0x6f86f6;}_createToolbarButton(_0x4c3c0b){const {locale:_0xfc9e10}=this['editor'],_0x4e64e3=this['editor']['plugins']['get']('ImageInsertUI'),_0x142432=_0x4c3c0b[0x0],_0x5ea4c9=this['_createButton'](_0x195453,_0x142432['type']);return _0x5ea4c9['icon']=_0x142432['icon'],_0x5ea4c9['bind']('label')['to'](_0x4e64e3,'isImageSelected',_0x3ef1e3=>T(_0xfc9e10,_0x142432['type'],_0x3ef1e3?'Replace':'Insert')['text']),_0x5ea4c9['tooltip']=!0x0,_0x5ea4c9;}_createDropdownButtons(_0x1d9b1e){const {locale:_0x2d33b8}=this['editor'],_0x167d39=this['editor']['plugins']['get']('ImageInsertUI');return _0x1d9b1e['map'](_0x3d6649=>{const _0x48354b=this['_createButton'](_0x195453,_0x3d6649['type']);return _0x48354b['withText']=!0x0,_0x48354b['icon']=_0x3d6649['icon'],_0x48354b['bind']('label')['to'](_0x167d39,'isImageSelected',_0x336340=>T(_0x2d33b8,_0x3d6649['type'],_0x336340?'Replace':'Insert')['text']),_0x48354b;});}_createMenuBarButtons(_0xea572d){return _0xea572d['map'](_0x3f3797=>{const _0x3ee0ee=this['_createButton'](_0x4baf3c,_0x3f3797['type']);return _0x3ee0ee['icon']=_0x3f3797['icon'],_0x3ee0ee['label']=_0x3f3797['shortText'],_0x3ee0ee;});}},F=class extends _0x528159{['focusTracker'];['focusCycler'];constructor(_0x4b3ff1){super(_0x4b3ff1),this['focusTracker']=new _0x47fd90(),this['focusCycler']=new _0x399e05({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}getFocusableElement(){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}},$=class extends F{constructor(_0x4393e8,_0x45647f){super(_0x4393e8),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x45647f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0x658f60,_0x33956a){const _0x56e131=_0x658f60['replace'](/\/$/,'');return{'imageFallbackUrl':_0x658f60,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x10126f=>_0x10126f<_0x33956a)['map'](_0x34240b=>_0x56e131+'/-/resize/'+_0x34240b+'x/\x20'+_0x34240b+'w'),_0x658f60+'\x20'+_0x33956a+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x33956a+'px)\x20100vw,\x20'+_0x33956a+'px','type':'image/webp'}]};}function j(_0x159b56,_0x5d7dae,_0x4af8c4){const _0x532741=_0x159b56['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x532741?parseInt(_0x532741[0x1],0xa):_0x5d7dae,'height':_0x532741?parseInt(_0x532741[0x2],0xa):_0x4af8c4};}function q(_0x56155c,_0x17fe31){const _0x5dd28d=new(_0x33069f())(),_0x3e474b=_0x56155c['plugins']['get']('ImageUtils'),_0x5ce2eb=_0x56155c['editing']['mapper']['toViewElement'](_0x17fe31),_0xeb4f7e=_0x3e474b['findViewImgElement'](_0x5ce2eb),_0x4c19d9=_0x56155c['editing']['view']['domConverter']['viewToDom'](_0xeb4f7e),_0x1082ba=_0x17fe31['getAttribute']('width'),_0x19c691=_0x17fe31['getAttribute']('height'),_0x360d45='image-processing';_0x56155c['editing']['view']['change'](_0x258009=>{_0x258009['addClass'](_0x360d45,_0x5ce2eb),_0x258009['setStyle']('aspect-ratio',_0x1082ba+'/'+_0x19c691,_0xeb4f7e);}),_0x5dd28d['listenTo'](_0x4c19d9,'load',()=>{_0x5dd28d['stopListening'](_0x4c19d9,'load'),_0x56155c['editing']['view']['change'](_0x489c2b=>{_0x489c2b['removeClass'](_0x360d45,_0x5ce2eb),_0x489c2b['removeStyle']('aspect-ratio',_0xeb4f7e);});});}function M(_0x4ee7ab){if(Array['isArray'](_0x4ee7ab)){const _0x1d9f6f=_0x4ee7ab['map'](M);return _0x3d9446=>_0x1d9f6f['some'](_0x1c3178=>_0x1c3178(_0x3d9446));}if('origin'==_0x4ee7ab){const _0x40a163=_0x49852f['window']['location']['origin'];return _0x428499=>new URL(_0x428499,_0x49852f['document']['baseURI'])['origin']==_0x40a163;}return'function'==typeof _0x4ee7ab?_0x4ee7ab:_0x4ee7ab instanceof RegExp?_0x453a44=>!(!_0x453a44['match'](_0x4ee7ab)&&!_0x453a44['replace'](/^https?:\/\//,'')['match'](_0x4ee7ab)):()=>!0x1;}function H(_0x3dce51,_0x462c0){return _0xb07eb4(_0x3dce51['target'])['includes'](_0x462c0);}const W=/* #__PURE__ -- @preserve */
24
+ _0x196f3a();var G=class extends W{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0x15034d,_0x1d17f1,_0xb3fbd1){super(),this['_editor']=_0x15034d,this['_editing']=_0x1d17f1,this['_dialog']=_0x15034d['plugins']['get'](_0x851813),this['_api']=_0x1d17f1['ctxElement']['getAPI'](),this['_type']=_0xb3fbd1,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}destroy(){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}_initDialog(){const {locale:_0x25ae21,model:_0x2dfcff}=this['_editor'],_0x464dca=_0x2dfcff['document']['selection']['getSelectedElement'](),_0x542b7a=_0x464dca&&(_0x464dca['is']('element','imageBlock')||_0x464dca['is']('element','imageInline'));this['_formView']=new $(_0x25ae21,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2ccb1a,'title':T(_0x25ae21,this['_type'],_0x542b7a?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3e98e3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4e34bd=>!H(_0x4e34bd,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5066fd}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4c424a=>{const _0x50b21b=_0x5066fd['length'];for(const _0x249746 of _0x5066fd){const _0x5970b2=_0x249746===_0x5066fd[_0x50b21b-0x1],{cdnUrl:_0x8a463a,fileInfo:_0x3dc8c6}=_0x249746;if(!_0x8a463a||!_0x3dc8c6)continue;const {width:_0x121b3e,height:_0x1e926f}=_0x3dc8c6['imageInfo'],_0x1f253a=j(_0x8a463a,_0x121b3e,_0x1e926f),_0xf01128=B(_0x8a463a,_0x1f253a['width']),_0x2363a9={'id':_0x3dc8c6['uuid'],'type':'image','attributes':{'imageDimension':_0x1f253a,..._0xf01128}};this['_insertAsset'](_0x2363a9,_0x5970b2,_0x4c424a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1d26d0=>{'idle'===_0x1d26d0['detail']['status']&&!_0x1d26d0['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x152079,_0x20440f,_0x37a732){const _0x587ba3=this['_editor']['model']['document']['selection'],_0x52db13=_0x587ba3['getSelectedElement'](),_0x19fd51=!(!_0x52db13||!_0x52db13['is']('element','imageInline'));_0x37a732['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x152079,_0x19fd51),_0x20440f||_0x37a732['setSelection'](_0x587ba3['getLastPosition']());}_insertImage(_0x2eb14b,_0x28a66a){const _0x2a0054=this['_editor'],{imageDimension:_0x1b721e,imageFallbackUrl:_0x3e84ed,imageSources:_0x29e01c}=_0x2eb14b['attributes'];_0x2a0054['execute']('insertImage',{'imageType':_0x28a66a?'imageInline':null,'source':{'uploadcareImageId':_0x2eb14b['id'],'src':_0x3e84ed,'sources':_0x29e01c,..._0x1b721e}});}},z=class extends _0x1d4366{_editing;_controller=null;static get requires(){return[_0x851813,Z];}constructor(_0x32b4c6){super(_0x32b4c6),this['_editing']=_0x32b4c6['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x3279c5){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0x3279c5);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x29f42e,..._0x472e5e}){return _0x4894fc(_0x29f42e,_0x472e5e);}static getInfo(_0x532e03,_0x2c8b93){return _0x4e31f6(_0x532e03,_0x2c8b93);}},J=class extends _0x3b6558{static get requires(){return[_0x4b9d29,_0x5a1e5f,_0x5d6284,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x5a7770=this['editor'];if(!_0x5a7770['config']['get']('uploadcare'))return;_0x5a7770['plugins']['get'](_0x5d6284)['createUploadAdapter']=_0xdc5e4a=>new X(_0xdc5e4a,_0x5a7770),_0x5a7770['plugins']['get'](_0x4b9d29)['on']('uploadComplete',(_0x4cf743,{imageElement:_0x42e462,data:_0x247574})=>{_0x5a7770['model']['change'](_0x217078=>{_0x217078['setAttribute']('uploadcareImageId',_0x247574['uploadcareImageId'],_0x42e462);});});}},X=class{['loader'];editor;controller;constructor(_0x38979c,_0x2345b9){this['loader']=_0x38979c,this['editor']=_0x2345b9,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2f9e4e=await this['loader']['file'];return Q['upload']({'file':_0x2f9e4e,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3d30fa=>{_0x3d30fa&&_0x3d30fa['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3d30fa['value']);}})['then'](async _0x3b3719=>{const {imageFallbackUrl:_0x37dcad,imageSources:_0x10b2c6}=B(_0x3b3719['cdnUrl'],_0x3b3719['imageInfo']['width']);return{'uploadcareImageId':_0x3b3719['uuid'],'default':_0x37dcad,'sources':_0x10b2c6};})['catch'](()=>{const _0x3949da=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f9e4e['name']+'.');return Promise['reject'](_0x3949da);});}abort(){this['controller']['abort']();}},Z=class extends _0x3b6558{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0x561fdf,J,_0x851813];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x8c060d){super(_0x8c060d),this['ucContextId']=_0x9f5bec();}init(){const _0x911cc7=this['editor'];_0x911cc7['commands']['add']('uploadcare',new z(_0x911cc7));}afterInit(){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x15a343=_0x49852f['document']['querySelector']('input[uploadcare-file-input]');_0x15a343&&_0x15a343['remove']();}),async function(_0x4bd58a){const _0x383c01='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x431299=0x79128,_0x4b18e5=window['Date']['now'](),_0xb65663=_0x4bd58a['editor'],_0x3b7bb1=new window['Promise'](_0x485f30=>{_0xb65663['once']('ready',_0x485f30);}),_0x39ab63={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4aa2ce=_0xb65663['config']['get']('licenseKey');async function _0x49ce1c(){let _0x58fe5f,_0x53507a=null,_0x318972=null;try{return'GPL'==_0x4aa2ce?'NotAllowed':(_0x58fe5f=_0x598f18(),_0x58fe5f?(_0x58fe5f['usageEndpoint']&&(_0x318972=_0x264fc4(_0x58fe5f['usageEndpoint'],_0x58fe5f['jti'])),await _0x3510a6()?_0x3523f7()?_0x1ecc08()?'Expired':_0x15b813()?('evaluation'==_0x58fe5f['licenseType']&&(_0x53507a=_0x22459b('EvaluationLimit')),await _0x93c817()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1ecc08(){const _0x29c045=['evaluation','trial']['includes'](_0x58fe5f['licenseType'])?_0x4b18e5/0x3e8:0xe10*_0x431299;return _0x58fe5f['exp']<_0x29c045;}function _0x3523f7(){const _0x4c642b=_0x58fe5f['features'];return!!_0x4c642b&&(!!_0x4c642b['includes']('*')||!!_0x4c642b['includes']('UPLC'));}function _0x15b813(){const _0x3096db=_0x58fe5f['licensedHosts'];if(!_0x3096db||0x0==_0x3096db['length'])return!0x0;const {hostname:_0x23806a}=new URL(window['location']['href']);if(_0x3096db['includes'](_0x23806a))return!0x0;const _0x2b1048=_0x23806a['split']('.');return _0x3096db['filter'](_0x5692a4=>_0x5692a4['includes']('*'))['map'](_0x417b7a=>_0x417b7a['split']('.'))['filter'](_0xce33d1=>_0xce33d1['length']<=_0x2b1048['length'])['map'](_0xe8de48=>Array(_0x2b1048['length']-_0xe8de48['length'])['fill']('*'===_0xe8de48[0x0]?'*':'')['concat'](_0xe8de48))['some'](_0x223d22=>_0x2b1048['every']((_0x338baa,_0x51644e)=>_0x223d22[_0x51644e]===_0x338baa||'*'===_0x223d22[_0x51644e]));}function _0x93c817(){return _0x53507a&&_0x318972?new window['Promise']((_0x517969,_0xe4adfc)=>{_0x53507a['then'](_0x517969,_0xe4adfc),_0x318972['then'](_0x54b9bd=>{'Valid'!=_0x54b9bd&&_0x517969(_0x54b9bd);},_0xe4adfc);}):_0x53507a||_0x318972||'Valid';}}function _0x264fc4(_0x4a4c84,_0x54fc3d){return new window['Promise'](_0x3a94fa=>{if(_0x297188())return _0x3a94fa('Valid');_0x408f67(),_0xb65663['decorate']('_sendUsageRequest');let _0x2a2303=!0x1;const _0x4ab11f=_0x9f5bec();function _0x2e274e(_0x33ee5b){return!!_0x33ee5b&&('object'==typeof _0x33ee5b||'function'==typeof _0x33ee5b)&&'function'==typeof _0x33ee5b['then']&&'function'==typeof _0x33ee5b['catch'];}function _0x5c8596(_0x5eadbd){_0x48b55a(_0x5eadbd)['then'](_0x297a0c=>_0x297a0c&&'ok'==_0x297a0c['status']?_0x53ec20(_0x1d38d2(_0x4ab11f+_0x54fc3d))!=_0x297a0c['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x327767=>(_0x1f3a41(),_0x327767),()=>{const _0x2b5b81=_0x434e4c();return null==_0x2b5b81?(_0x1f3a41(),'Valid'):_0x4b18e5-_0x2b5b81>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3a94fa)['catch'](()=>{_0x3a94fa('UsageLimit');});const _0x3a3f3d=0x36ee80;function _0x1f3a41(){const _0x19f082='llct-'+_0x53ec20(_0x1d38d2(_0x4a4c84)),_0x24f5e9=_0x1356b8(_0x53ec20(window['Math']['ceil'](_0x4b18e5/_0x3a3f3d)));window['localStorage']['setItem'](_0x19f082,_0x24f5e9);}function _0x434e4c(){const _0x408699='llct-'+_0x53ec20(_0x1d38d2(_0x4a4c84)),_0x517335=window['localStorage']['getItem'](_0x408699);return _0x517335?window['parseInt'](_0x1356b8(_0x517335),0x10)*_0x3a3f3d:null;}function _0x48b55a(_0x40c48c){return new window['Promise']((_0x56d251,_0x4001e8)=>{_0x40c48c['then'](_0x56d251,_0x4001e8),window['setTimeout'](_0x4001e8,0x1d4c0);});}}_0xb65663['on']('_sendUsageRequest',(_0x4c5d3d,_0x4575c4)=>{if(_0x4575c4[0x0]!=_0x4a4c84)return _0x3a94fa('UsageLimit');_0x4575c4[0x1]={..._0x4575c4[0x1],'requestId':_0x4ab11f};},{'priority':'high'}),_0xb65663['on']('_sendUsageRequest',_0x559f62=>{_0x2e274e(_0x559f62['return'])&&(_0x2a2303=!0x0,_0x5c8596(_0x559f62['return']));},{'priority':'low'}),_0x3b7bb1['then'](()=>{_0x2a2303||_0x3a94fa('UsageLimit');});});function _0x297188(){return'auto'==_0xb65663['editing']['view']['_overlayModeHint'];}function _0x408f67(){_0xb65663['editing']['view']['_overlayModeHint']='auto';}}function _0x22459b(_0x4a05fb){const _0x284b3f=[new window['Promise'](_0x12afe6=>setTimeout(_0x12afe6,0x93ecc)),_0x3b7bb1['then'](()=>new window['Promise'](_0x455f31=>{let _0x572f1a=0x0;_0xb65663['model']['on']('applyOperation',(_0x157304,_0x1a6390)=>{_0x1a6390[0x0]['isDocumentOperation']&&_0x572f1a++,0x5e8==_0x572f1a&&(_0x455f31(),_0x157304['off']());});}))];return window['Promise']['race'](_0x284b3f)['then'](()=>_0x4a05fb);}async function _0x11df23(){await _0x3b7bb1,_0xb65663['model']['change']=_0x4d3883,_0xb65663['model']['enqueueChange']=_0x4d3883,_0xb65663['enableReadOnlyMode']('model');}function _0x1481f1(_0x483ca8){const _0x369722=_0x59318c();_0xb65663[_0x369722]='uploadcareLicenseKey'+_0x483ca8,'Valid'!=_0x483ca8&&_0x11df23();}function _0x59318c(){const _0x19d39b=window['String'](window['performance']['now']())['replace']('.','');let _0x249d03='h';for(let _0x15ba38=0x0;_0x15ba38<_0x19d39b['length'];_0x15ba38+=0x2){let _0x345658=window['parseInt'](_0x19d39b['substring'](_0x15ba38,_0x15ba38+0x2));_0x345658>=0x3e&&(_0x345658-=0x3e),_0x249d03+=_0x383c01[_0x345658];}return _0x249d03;}function _0x598f18(){const _0x34fc6d=_0x4aa2ce['split']('.');if(0x3!=_0x34fc6d['length'])return null;return _0x1c43d8(_0x34fc6d[0x1]);function _0x1c43d8(_0x17a7ee){const _0x56d3b0=_0x576b96(_0x17a7ee);return _0x56d3b0&&_0x4df5ec()?_0x56d3b0:null;function _0x4df5ec(){const _0x3defaa=_0x56d3b0['jti'],_0x55c94d=window['parseInt'](_0x3defaa['substring'](_0x3defaa['length']-0x8),0x10),_0x30981d={..._0x56d3b0,'jti':_0x3defaa['substring'](0x0,_0x3defaa['length']-0x8)};return delete _0x30981d['vc'],_0x1d38d2(_0x30981d)==_0x55c94d;}}}async function _0x3510a6(){let _0x1db6fe=!0x0;try{const [_0x240d24,_0x2e5f9f,_0x1cc07f]=_0x4aa2ce['split']('.');return _0x5e4d5a(_0x240d24),await _0x25671c(_0x240d24,_0x2e5f9f,_0x1cc07f),_0x1db6fe;}catch{return!0x1;}function _0x5e4d5a(_0x970d7d){const _0x249f76=_0x576b96(_0x970d7d);_0x249f76&&'ES256'==_0x249f76['alg']||(_0x1db6fe=!0x1);}async function _0x25671c(_0x56cffc,_0x456bde,_0x3b9bbe){const _0x2f0218=window['Uint8Array']['from'](_0xdecde7(_0x3b9bbe),_0x1a4a9f=>_0x1a4a9f['charCodeAt'](0x0)),_0xa3b17=new window['TextEncoder']()['encode'](_0x56cffc+'.'+_0x456bde),_0x10a313=window['crypto']['subtle'];if(!_0x10a313)return;const _0x5e5436=await _0x10a313['importKey']('jwk',_0x39ab63,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x10a313['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5e5436,_0x2f0218,_0xa3b17)||(_0x1db6fe=!0x1);}}function _0x576b96(_0x3fff24){return _0x3fff24['startsWith']('ey')?JSON['parse'](_0xdecde7(_0x3fff24)):null;}function _0xdecde7(_0x2f33e0){return window['atob'](_0x2f33e0['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1d38d2(_0x1c9d3c){let _0x7b4358=0x1505;function _0x23a87f(_0x951c78){for(let _0x265a41=0x0;_0x265a41<_0x951c78['length'];_0x265a41++){const _0x219b48=_0x951c78['charCodeAt'](_0x265a41);_0x7b4358=(_0x7b4358<<0x5)+_0x7b4358+_0x219b48,_0x7b4358&=_0x7b4358;}}function _0x2da45b(_0x5de020){Array['isArray'](_0x5de020)?_0x5de020['forEach'](_0x2da45b):_0x5de020&&'object'==typeof _0x5de020?Object['entries'](_0x5de020)['sort']()['forEach'](([_0x382359,_0x155dc1])=>{_0x23a87f(_0x382359),_0x2da45b(_0x155dc1);}):_0x23a87f(window['String'](_0x5de020));}return _0x2da45b(_0x1c9d3c),_0x7b4358>>>0x0;}function _0x53ec20(_0x3eb3db){return _0x3eb3db['toString'](0x10)['padStart'](0x8,'0');}function _0x1356b8(_0xd89756){return _0xd89756['split']('')['reverse']()['join']('');}function _0x4d3883(){}_0x1481f1(await _0x49ce1c());}(this);}_initSchema(){const _0x5c678c=this['editor']['model']['schema'];_0x5c678c['isRegistered']('imageBlock')&&_0x5c678c['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5c678c['isRegistered']('imageInline')&&_0x5c678c['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x227078=this['editor'];_0x227078['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x227078['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x47159e=>_0x47159e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2ab786=_0x227078['commands']['get']('replaceImageSource');_0x2ab786&&this['listenTo'](_0x2ab786,'cleanupImage',(_0xa41796,[_0xe92bac,_0x1d6c10])=>{_0xe92bac['removeAttribute']('uploadcareImageId',_0x1d6c10);});}_initConfig(){const _0xdd97df=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1f309a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x112f76(_0x49852f['document'],'uc-config',{..._0xdd97df,'pubkey':_0x1f309a,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\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'}),this['_configElement']['iconHrefResolver']=_0x4f5251=>{if('closeMax'==_0x4f5251)return'#uc-icon-arrow-down';},_0x49852f['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=_0x112f76(_0x49852f['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x49852f['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0x16cf31=this['editor']['commands']['get']('insertImage');_0x16cf31&&this['listenTo'](_0x16cf31,'execute',()=>{const _0x36f5e7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x36f5e7&&_0x36f5e7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x36f5e7);});});const _0x1b3c40=this['editor']['commands']['get']('uploadcareImageReplace');_0x1b3c40&&this['listenTo'](_0x1b3c40,'execute',()=>{const _0x51c648=this['editor']['model']['document']['selection']['getSelectedElement']();_0x51c648&&_0x51c648['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x51c648);});});}},Y=class extends _0x3b6558{static get requires(){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x6a4d76){super(_0x6a4d76),_0x6a4d76['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x25752a['defineComponents'](_0x25752a),this['_defineLocale']();}['_defineLocale'](){const _0x22c00c=this['editor']['config']['get']('uploadcare.locale'),_0x83b614=this['editor']['locale']['contentLanguage'];_0x22c00c&&_0x25752a['defineLocale'](_0x83b614,_0x22c00c);}},tt=class extends _0x528159{constructor(_0x4f867e){super(_0x4f867e);const t=_0x4f867e['t'],_0x4f0540=this['bindTemplate'],_0x1d6938=new _0x58e96e();_0x1d6938['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':[_0x1d6938,{'text':_0x4f0540['to']('imageUploadProgress',_0x26c0cc=>t('Loading\x20image...')+'\x20('+(_0x26c0cc||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'}]}]}]});}},et=class extends _0x528159{constructor(_0x10067b){super(_0x10067b);const t=_0x10067b['t'];this['set']('errorType',null);const _0x23cd58=new _0x195453(_0x10067b);_0x23cd58['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x23cd58['withText']=!0x0,_0x23cd58['class']='ck-button-action',_0x23cd58['on']('execute',()=>{this['fire']('retry');}),_0x23cd58['bind']('isVisible')['to'](this,'errorType',_0x154f75=>'NotFound'!==_0x154f75);const _0x379233=new _0x487347();_0x379233['content']=_0x4354f0,_0x379233['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xdf265b=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':[_0x379233,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xdf265b['to']('errorType',_0x2ebd48=>t('NotFound'!==_0x2ebd48?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x23cd58]},{'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'}]}]}]});}},it=class extends _0x528159{constructor(_0x556ebb,_0x792b13){super(_0x556ebb);const _0x4ba918=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x792b13,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4ba918['to']('imageSrc')}});}},st=class extends F{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x3ee480,_0x3b2139,_0x159fe8){super(_0x3ee480),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x3ee480),this['_errorView']=new et(_0x3ee480),this['_editingView']=new it(_0x3ee480,_0x159fe8),this['_focusableView']=new _0x528159(_0x3ee480),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3b2139),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x4561c8=>{this['_addUploadcareImageEditorListeners'](_0x4561c8);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}_setView(){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}_waitForImageEditorComponent(_0x5e7b39,_0x468d4e){const _0x57826f='uc-cloud-image-editor',_0x5cb1dd=_0x5e7b39['querySelector'](_0x57826f);if(_0x5cb1dd)return _0x468d4e(_0x5cb1dd);const _0x299492=new MutationObserver(_0x4337e8=>{const _0x20b325=_0x4337e8['filter'](_0x4249c8=>_0x4249c8['target']===_0x5e7b39&&_0x4249c8['addedNodes']['length']>0x0&&_0x4249c8['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x57826f);_0x20b325['length']&&(_0x299492['disconnect'](),_0x468d4e(_0x20b325[0x0]['addedNodes'][0x0]));});_0x299492['observe'](_0x5e7b39,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x120783){_0x120783['addEventListener']('apply',_0x51e8c7=>{this['fire']('apply',{'imageSrc':_0x51e8c7['detail']['cdnUrl']});}),_0x120783['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const rt=/* #__PURE__ -- @preserve */
25
+ _0x196f3a();var nt=class extends rt{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0x1d84c3,_0x1087a5,_0x4bcf46){super(),this['_editor']=_0x1d84c3,this['_dialog']=_0x1087a5,this['_imageElement']=_0x4bcf46,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 _0x26e76b=this['_imageElement'],_0x46af25=_0x26e76b['getAttribute']('uploadcareImageId'),_0x697d8a=_0x26e76b['getAttribute']('src');if(_0x46af25)await this['_loadImageInfo'](_0x46af25,_0x697d8a);else{if(this['_imageCache']['has'](_0x697d8a)){const _0x31da3f=this['_imageCache']['get'](_0x697d8a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x31da3f['url'],this['imageDimension']=_0x31da3f['dimension'],this['imageId']=_0x31da3f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x17df5d}=this['_editor'],t=_0x17df5d['t'],_0x365243=new st(_0x17df5d,this['imageStatus'],this['_attributes']);_0x365243['bind']('status')['to'](this,'imageStatus'),_0x365243['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x365243['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x365243['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x365243,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x54137f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x365243,'position':_0x3e98e3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x365243['focus']();},'onHide':()=>{_0x365243['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x301fa3=>!H(_0x301fa3,_0x365243['element'])}});}['_loadImageInfo'](_0x1633f6,_0x4ff5bf){return Q['getInfo'](_0x1633f6,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5cb4ed=>{const {width:_0x57ddca,height:_0x1b91e1}=_0x5cb4ed['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4ff5bf,this['imageDimension']={'width':_0x57ddca,'height':_0x1b91e1},this['imageId']=_0x1633f6;})['catch'](_0x3e2ae1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3e2ae1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x7bff7b,_0x56ffdb){return this['_getImageAsFile'](_0x7bff7b)['then'](_0x5461ae=>Q['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':_0x56ffdb['signal'],'file':_0x5461ae,'onProgress':_0x28d119=>{_0x28d119&&_0x28d119['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x28d119['value']));}}))['then'](_0x2ddec2=>{const {width:_0x3e6f80,height:_0x876cdc}=_0x2ddec2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ddec2['cdnUrl'],this['imageDimension']={'width':_0x3e6f80,'height':_0x876cdc},this['imageId']=_0x2ddec2['uuid'],this['imageUploadProgress']=null;const _0x3283df=_0x7bff7b['getAttribute']('src');this['_imageCache']['set'](_0x3283df,{'id':_0x2ddec2['uuid'],'url':_0x2ddec2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1db923=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1db923['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0x54e2db,_0x536758){_0x54e2db['on']('apply',(_0x41a083,_0x5f5c2a)=>{this['_replaceImage'](_0x536758,_0x5f5c2a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x54e2db['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x54e2db['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x987c07,_0x119b57,_0x5abbdc){const _0x5ce885=this['_editor'],{width:_0xa072a4,height:_0x2cc517}=j(_0x119b57,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5bcf6b,imageSources:_0xb39f93}=B(_0x119b57,_0xa072a4);_0x5ce885['model']['change'](_0x21c493=>{if('$graveyard'!==_0x987c07['root']['rootName'])_0x21c493['setSelection'](_0x987c07,'on'),_0x5ce885['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x987c07['getAttributes']()),'uploadcareImageId':_0x5abbdc,'src':_0x5bcf6b,'sources':_0xb39f93,'width':_0xa072a4,'height':_0x2cc517},_0x987c07);else{_0x5ce885['execute']('insertImage',{'imageType':_0x987c07['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x987c07['getAttributes']()),'uploadcareImageId':_0x5abbdc,'src':_0x5bcf6b,'sources':_0xb39f93,'width':_0xa072a4,'height':_0x2cc517}});const _0x31625a=_0x987c07['getChildren']();_0x987c07=_0x5ce885['model']['document']['selection']['getSelectedElement']();for(const _0x1dfe77 of _0x31625a)_0x21c493['append'](_0x21c493['cloneElement'](_0x1dfe77),_0x987c07);}_0x21c493['setSelection'](_0x987c07,'on');});}async _getImageAsFile(_0x2bb018){const _0x57fd45=_0x49852f['window'],_0x4d3ed3=_0x49852f['document']['location']['href'],_0x49d4ed=new _0x57fd45['URL'](_0x2bb018['getAttribute']('src'),_0x4d3ed3);if('data:'===_0x49d4ed['protocol']){const _0x33c962=_0x49d4ed['href']['split'](','),_0x45a32c=_0x33c962[0x0]['match'](/:(.*?);/)[0x1],_0xdfa528=_0x45a32c['split']('/')[0x1],_0x45ec27=_0x57fd45['atob'](_0x33c962[_0x33c962['length']-0x1]);let _0x151a2f=_0x45ec27['length'];const _0x3e147a=new _0x57fd45['Uint8Array'](_0x151a2f);for(;_0x151a2f--;)_0x3e147a[_0x151a2f]=_0x45ec27['charCodeAt'](_0x151a2f);return new _0x57fd45['File']([_0x3e147a],'image.'+_0xdfa528,{'type':_0x45a32c});}const _0x59588a=_0x49d4ed['href']['split']('/'),_0x399ed9=_0x59588a[_0x59588a['length']-0x1],_0x2e5306=_0x399ed9['split']('.')[0x1];return _0x57fd45['fetch'](_0x49d4ed['href'])['then'](_0x5b1d60=>_0x5b1d60['clone']()['blob']())['then'](_0x54383d=>new _0x57fd45['File']([_0x54383d],_0x399ed9,{'type':'image/'+_0x2e5306}));}},at=class extends _0x1d4366{imageEditController;static get requires(){return[_0x851813];}_isEditable;constructor(_0x34b975){super(_0x34b975),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4888ab){const _0x4723b5=M(_0x4888ab);return _0x4ee2b9=>!(!_0x4ee2b9||!_0x4ee2b9['is']('element','imageBlock')&&!_0x4ee2b9['is']('element','imageInline'))&&(!!_0x4ee2b9['hasAttribute']('uploadcareImageId')||!!_0x4ee2b9['hasAttribute']('src')&&_0x4723b5(_0x4ee2b9['getAttribute']('src')));}(_0x34b975['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x13139f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x13139f);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5ab06b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5ab06b&&(_0x5ab06b['is']('element','imageBlock')||_0x5ab06b['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x851813),_0x5ab06b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x1d4366{['refresh'](){const _0x3277d6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3277d6&&(_0x3277d6['is']('element','imageBlock')||_0x3277d6['is']('element','imageInline')));}execute(_0x420114){const _0x2f352b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xe757e9=>{_0xe757e9['setAttributes'](_0x420114,_0x2f352b),_0xe757e9['removeAttribute']('srcset',_0x2f352b),_0xe757e9['removeAttribute']('sizes',_0x2f352b);});}},ct=class extends _0x3b6558{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[Z,_0x2f420e,_0x3236fa,_0x1f6832];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x326589}=this;_0x326589['commands']['add']('uploadcareImageEdit',new at(_0x326589)),_0x326589['commands']['add']('uploadcareImageReplace',new ot(_0x326589));}},lt=class extends _0x3b6558{['_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 _0x498bea=this['editor'];_0x498bea['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40fcfa=>{const _0x3d2e55=_0x498bea['commands']['get']('uploadcareImageEdit'),_0x52129c=new _0x195453(_0x40fcfa),t=_0x40fcfa['t'];return _0x52129c['set']({'icon':_0x54137f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x52129c['bind']('isEnabled')['to'](_0x3d2e55),_0x52129c['bind']('isOn')['to'](_0x3d2e55,'isActive'),this['listenTo'](_0x52129c,'execute',()=>{_0x498bea['execute']('uploadcareImageEdit'),_0x498bea['editing']['view']['focus']();}),_0x52129c;}),this['_initConfig']();}_initConfig(){const _0x14e6cb=_0x112f76(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x14e6cb),this['listenTo'](this['editor'],'destroy',()=>{_0x14e6cb['remove']();});}},ut=class extends _0x3b6558{static get['pluginName'](){return'UploadcareImageEdit';}static get requires(){return[ct,lt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Y as Uploadcare,z as UploadcareCommand,Z as UploadcareEditing,ut as UploadcareImageEdit,at as UploadcareImageEditCommand,ct as UploadcareImageEditEditing,lt as UploadcareImageEditUI,V as UploadcareUI,J as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4c4969=>0x1!=_0x4c4969}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4ea7c6=>0x1!=_0x4ea7c6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2910f0=>{const {af:{dictionary:_0x23b480,getPluralForm:_0x1cbf86}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x23bf92=>0x1!=_0x23bf92}};_0x2910f0['af']||={'dictionary':{},'getPluralForm':null},_0x2910f0['af']['dictionary']=Object['assign'](_0x2910f0['af']['dictionary'],_0x23b480),_0x2910f0['af']['getPluralForm']=_0x1cbf86;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x519f4e=>{const {af:{dictionary:_0x467fb7,getPluralForm:_0x2d0bf1}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x28bb1f=>0x1!=_0x28bb1f}};_0x519f4e['af']||={'dictionary':{},'getPluralForm':null},_0x519f4e['af']['dictionary']=Object['assign'](_0x519f4e['af']['dictionary'],_0x467fb7),_0x519f4e['af']['getPluralForm']=_0x2d0bf1;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x38e686=>0x0==_0x38e686?0x0:0x1==_0x38e686?0x1:0x2==_0x38e686?0x2:_0x38e686%0x64>=0x3&&_0x38e686%0x64<=0xa?0x3:_0x38e686%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x4709c8=>0x0==_0x4709c8?0x0:0x1==_0x4709c8?0x1:0x2==_0x4709c8?0x2:_0x4709c8%0x64>=0x3&&_0x4709c8%0x64<=0xa?0x3:_0x4709c8%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b360e=>{const {ar:{dictionary:_0xea4fff,getPluralForm:_0x543b7f}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x3ac397=>0x0==_0x3ac397?0x0:0x1==_0x3ac397?0x1:0x2==_0x3ac397?0x2:_0x3ac397%0x64>=0x3&&_0x3ac397%0x64<=0xa?0x3:_0x3ac397%0x64>=0xb?0x4:0x5}};_0x4b360e['ar']||={'dictionary':{},'getPluralForm':null},_0x4b360e['ar']['dictionary']=Object['assign'](_0x4b360e['ar']['dictionary'],_0xea4fff),_0x4b360e['ar']['getPluralForm']=_0x543b7f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1b20d2=>{const {ar:{dictionary:_0x36b99b,getPluralForm:_0x243eb2}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x2b6b5b=>0x0==_0x2b6b5b?0x0:0x1==_0x2b6b5b?0x1:0x2==_0x2b6b5b?0x2:_0x2b6b5b%0x64>=0x3&&_0x2b6b5b%0x64<=0xa?0x3:_0x2b6b5b%0x64>=0xb?0x4:0x5}};_0x1b20d2['ar']||={'dictionary':{},'getPluralForm':null},_0x1b20d2['ar']['dictionary']=Object['assign'](_0x1b20d2['ar']['dictionary'],_0x36b99b),_0x1b20d2['ar']['getPluralForm']=_0x243eb2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x17292f=>0x1!=_0x17292f}};
23
+ export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x56081b=>0x1!=_0x56081b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xfb6ce3=>{const {ast:{dictionary:_0xcc3582,getPluralForm:_0x26af3e}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x36b0ef=>0x1!=_0x36b0ef}};_0xfb6ce3['ast']||={'dictionary':{},'getPluralForm':null},_0xfb6ce3['ast']['dictionary']=Object['assign'](_0xfb6ce3['ast']['dictionary'],_0xcc3582),_0xfb6ce3['ast']['getPluralForm']=_0x26af3e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x27e6e7=>{const {ast:{dictionary:_0x4aed09,getPluralForm:_0x2c3bad}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3f6243=>0x1!=_0x3f6243}};_0x27e6e7['ast']||={'dictionary':{},'getPluralForm':null},_0x27e6e7['ast']['dictionary']=Object['assign'](_0x27e6e7['ast']['dictionary'],_0x4aed09),_0x27e6e7['ast']['getPluralForm']=_0x2c3bad;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1d514c=>0x1!=_0x1d514c}};
23
+ export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x6bc577=>0x1!=_0x6bc577}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x222c7d=>{const {az:{dictionary:_0x54b5a8,getPluralForm:_0x35cc70}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x439305=>0x1!=_0x439305}};_0x222c7d['az']||={'dictionary':{},'getPluralForm':null},_0x222c7d['az']['dictionary']=Object['assign'](_0x222c7d['az']['dictionary'],_0x54b5a8),_0x222c7d['az']['getPluralForm']=_0x35cc70;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xe13ad0=>{const {az:{dictionary:_0x3d9e73,getPluralForm:_0x31fce9}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x49b8ad=>0x1!=_0x49b8ad}};_0xe13ad0['az']||={'dictionary':{},'getPluralForm':null},_0xe13ad0['az']['dictionary']=Object['assign'](_0xe13ad0['az']['dictionary'],_0x3d9e73),_0xe13ad0['az']['getPluralForm']=_0x31fce9;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5cc3e5=>_0x5cc3e5%0xa==0x1&&_0x5cc3e5%0x64!=0xb?0x0:_0x5cc3e5%0xa>=0x2&&_0x5cc3e5%0xa<=0x4&&(_0x5cc3e5%0x64<0xa||_0x5cc3e5%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1665bc=>_0x1665bc%0xa==0x1&&_0x1665bc%0x64!=0xb?0x0:_0x1665bc%0xa>=0x2&&_0x1665bc%0xa<=0x4&&(_0x1665bc%0x64<0xa||_0x1665bc%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x473217=>{const {be:{dictionary:_0x12784b,getPluralForm:_0x1c539e}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1fd913=>_0x1fd913%0xa==0x1&&_0x1fd913%0x64!=0xb?0x0:_0x1fd913%0xa>=0x2&&_0x1fd913%0xa<=0x4&&(_0x1fd913%0x64<0xa||_0x1fd913%0x64>=0x14)?0x1:0x2}};_0x473217['be']||={'dictionary':{},'getPluralForm':null},_0x473217['be']['dictionary']=Object['assign'](_0x473217['be']['dictionary'],_0x12784b),_0x473217['be']['getPluralForm']=_0x1c539e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xc924f9=>{const {be:{dictionary:_0x1b6b82,getPluralForm:_0x151fdf}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1f2153=>_0x1f2153%0xa==0x1&&_0x1f2153%0x64!=0xb?0x0:_0x1f2153%0xa>=0x2&&_0x1f2153%0xa<=0x4&&(_0x1f2153%0x64<0xa||_0x1f2153%0x64>=0x14)?0x1:0x2}};_0xc924f9['be']||={'dictionary':{},'getPluralForm':null},_0xc924f9['be']['dictionary']=Object['assign'](_0xc924f9['be']['dictionary'],_0x1b6b82),_0xc924f9['be']['getPluralForm']=_0x151fdf;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x3785ab=>0x1!=_0x3785ab}};
23
+ export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x45a838=>0x1!=_0x45a838}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x42cb12=>{const {bg:{dictionary:_0x18272b,getPluralForm:_0x5ddd41}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x467b46=>0x1!=_0x467b46}};_0x42cb12['bg']||={'dictionary':{},'getPluralForm':null},_0x42cb12['bg']['dictionary']=Object['assign'](_0x42cb12['bg']['dictionary'],_0x18272b),_0x42cb12['bg']['getPluralForm']=_0x5ddd41;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x34882a=>{const {bg:{dictionary:_0x39380e,getPluralForm:_0x5e205b}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x2484be=>0x1!=_0x2484be}};_0x34882a['bg']||={'dictionary':{},'getPluralForm':null},_0x34882a['bg']['dictionary']=Object['assign'](_0x34882a['bg']['dictionary'],_0x39380e),_0x34882a['bg']['getPluralForm']=_0x5e205b;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x5caca1=>0x1!=_0x5caca1}};
23
+ export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x3cdddb=>0x1!=_0x3cdddb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x27d63f=>{const {bn:{dictionary:_0x54268c,getPluralForm:_0x447d45}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x47e64a=>0x1!=_0x47e64a}};_0x27d63f['bn']||={'dictionary':{},'getPluralForm':null},_0x27d63f['bn']['dictionary']=Object['assign'](_0x27d63f['bn']['dictionary'],_0x54268c),_0x27d63f['bn']['getPluralForm']=_0x447d45;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xf68925=>{const {bn:{dictionary:_0x27779c,getPluralForm:_0x1bba5e}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0xdd79b=>0x1!=_0xdd79b}};_0xf68925['bn']||={'dictionary':{},'getPluralForm':null},_0xf68925['bn']['dictionary']=Object['assign'](_0xf68925['bn']['dictionary'],_0x27779c),_0xf68925['bn']['getPluralForm']=_0x1bba5e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4bf9d8=>_0x4bf9d8%0xa==0x1&&_0x4bf9d8%0x64!=0xb?0x0:_0x4bf9d8%0xa>=0x2&&_0x4bf9d8%0xa<=0x4&&(_0x4bf9d8%0x64<0xa||_0x4bf9d8%0x64>=0x14)?0x1:0x2}};
23
+ export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x31069f=>_0x31069f%0xa==0x1&&_0x31069f%0x64!=0xb?0x0:_0x31069f%0xa>=0x2&&_0x31069f%0xa<=0x4&&(_0x31069f%0x64<0xa||_0x31069f%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x45a73e=>{const {bs:{dictionary:_0x4d7ec4,getPluralForm:_0x5e2e1a}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x231cbf=>_0x231cbf%0xa==0x1&&_0x231cbf%0x64!=0xb?0x0:_0x231cbf%0xa>=0x2&&_0x231cbf%0xa<=0x4&&(_0x231cbf%0x64<0xa||_0x231cbf%0x64>=0x14)?0x1:0x2}};_0x45a73e['bs']||={'dictionary':{},'getPluralForm':null},_0x45a73e['bs']['dictionary']=Object['assign'](_0x45a73e['bs']['dictionary'],_0x4d7ec4),_0x45a73e['bs']['getPluralForm']=_0x5e2e1a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x129c8e=>{const {bs:{dictionary:_0x28ac54,getPluralForm:_0x4a46a0}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3fb2ac=>_0x3fb2ac%0xa==0x1&&_0x3fb2ac%0x64!=0xb?0x0:_0x3fb2ac%0xa>=0x2&&_0x3fb2ac%0xa<=0x4&&(_0x3fb2ac%0x64<0xa||_0x3fb2ac%0x64>=0x14)?0x1:0x2}};_0x129c8e['bs']||={'dictionary':{},'getPluralForm':null},_0x129c8e['bs']['dictionary']=Object['assign'](_0x129c8e['bs']['dictionary'],_0x28ac54),_0x129c8e['bs']['getPluralForm']=_0x4a46a0;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0xb9e003=>0x1!=_0xb9e003}};
23
+ export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x48b2eb=>0x1!=_0x48b2eb}};