@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251124.0 → 0.0.0-nightly-20251125.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 (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2b0850,Command as _0x8d5551}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3ad99c,IconGooglePhotos as _0x4002db,IconGoogleDrive as _0x37fa75,IconFacebook as _0x3959d8,IconDropbox as _0x210101,IconUploadcareLink as _0x10d99a,IconUploadcareImageUpload as _0x5d4fd7,IconError as _0x426d82,IconUploadcareImageEdit as _0x117f88}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3565e8,MenuBarMenuListItemButtonView as _0x3c9985,View as _0x2aea28,FocusCycler as _0x3a9837,Dialog as _0x5b01d3,DialogViewPosition as _0x2eb6ad,SpinnerView as _0x1872e0,IconView as _0x24f00d,Notification as _0x3e2df5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4ace88,DomEmitterMixin as _0x27e3b3,global as _0x15bdb4,getAncestors as _0x258571,ObservableMixin as _0x1f1b7b,uid as _0x2b5637,createElement as _0x3e63ff}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1db946}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4a03ae,info as _0x5054bf}from'@uploadcare/upload-client';import*as _0xfb2bf4 from'@uploadcare/file-uploader';var i=function(_0x41fe83){return _0x41fe83['Local']='local',_0x41fe83['URL']='url',_0x41fe83['Dropbox']='dropbox',_0x41fe83['GDrive']='gdrive',_0x41fe83['Facebook']='facebook',_0x41fe83['GPhotos']='gphotos',_0x41fe83['OneDrive']='onedrive',_0x41fe83;}({});function _(_0x183276,_0x24353a,_0x1f60ac){const t=_0x183276['t'],_0x3ffed8=_0x183276['t'];switch(_0x24353a){case i['Local']:return{'text':_0x3ffed8('Insert'===_0x1f60ac?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3ffed8('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1f60ac?_0x3ffed8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3ffed8('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x24353a;}}class e extends _0x2b0850{['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 _0x377c6f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4d267e;for(const _0xebeb5f in _0x377c6f){const _0x1e2332=_0xebeb5f,_0x374c64=_0x377c6f[_0x1e2332];if('uploadcareLicenseKeyValid'==_0x374c64||'uploadcareLicenseKeyInvalid'==_0x374c64||'uploadcareLicenseKeyExpired'==_0x374c64||'uploadcareLicenseKeyDomainLimit'==_0x374c64||'uploadcareLicenseKeyNotAllowed'==_0x374c64||'uploadcareLicenseKeyEvaluationLimit'==_0x374c64||'uploadcareLicenseKeyTrialLimit'==_0x374c64||'uploadcareLicenseKeyUsageLimit'==_0x374c64){delete _0x377c6f[_0x1e2332],_0x4d267e=_0x374c64,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4d267e&&_0x377c6f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4d267e&&_0x377c6f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4d267e&&_0x377c6f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4d267e&&_0x377c6f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4d267e&&_0x377c6f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4d267e&&_0x377c6f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4d267e&&_0x377c6f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4940be}=this,_0x632100=_0x4940be['commands']['get']('uploadcare');if(!_0x632100)return;const _0x69d838=this['_normalizeConfigSourceList'](_0x4940be['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1ee152,_0x1d3b82)=>{const _0x2f3729=this['_getIntegrationKey'](_0x1d3b82['type']);return _0x1ee152[_0x2f3729]||(_0x1ee152[_0x2f3729]=[]),_0x1ee152[_0x2f3729]['push'](_0x1d3b82),_0x1ee152;},{});_0x4940be['plugins']['has']('ImageInsertUI')&&_0x4940be['commands']['get']('uploadcare')&&Object['entries'](_0x69d838)['forEach'](([_0x53a1ec,_0x4625be])=>{_0x4940be['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x53a1ec,'observable':()=>_0x632100,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4625be),'formViewCreator':()=>this['_createDropdownButtons'](_0x4625be),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4625be),'override':'assetManager'!==_0x53a1ec});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x9e40f7){const {locale:_0x5bd14f}=this['editor'];return _0x9e40f7['map'](_0x2a9077=>{const _0x23eeae=_(_0x5bd14f,_0x2a9077,'Insert');switch(_0x2a9077){case i['Local']:return{'icon':_0x5d4fd7,'type':i['Local'],..._0x23eeae};case i['URL']:return{'icon':_0x10d99a,'type':i['URL'],..._0x23eeae};case i['Dropbox']:return{'icon':_0x210101,'type':i['Dropbox'],..._0x23eeae};case i['Facebook']:return{'icon':_0x3959d8,'type':i['Facebook'],..._0x23eeae};case i['GDrive']:return{'icon':_0x37fa75,'type':i['GDrive'],..._0x23eeae};case i['GPhotos']:return{'icon':_0x4002db,'type':i['GPhotos'],..._0x23eeae};case i['OneDrive']:return{'icon':_0x3ad99c,'type':i['OneDrive'],..._0x23eeae};}});}['_getIntegrationKey'](_0x5e1f3e){switch(_0x5e1f3e){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x371846,_0xcafe52){const _0x8ce302=this['editor'],_0x4ac651=new _0x371846(_0x8ce302['locale']),_0x20af68=_0x8ce302['commands']['get']('uploadcare');return _0x4ac651['bind']('isEnabled')['to'](_0x20af68),_0x4ac651['on']('execute',()=>{_0x20af68['execute'](_0xcafe52);}),_0x4ac651;}['_createToolbarButton'](_0x2932b4){const {locale:_0x16697a}=this['editor'],_0x5568d6=this['editor']['plugins']['get']('ImageInsertUI'),_0x10aa08=_0x2932b4[0x0],_0xc276d1=this['_createButton'](_0x3565e8,_0x10aa08['type']);return _0xc276d1['icon']=_0x10aa08['icon'],_0xc276d1['bind']('label')['to'](_0x5568d6,'isImageSelected',_0x1c8202=>_(_0x16697a,_0x10aa08['type'],_0x1c8202?'Replace':'Insert')['text']),_0xc276d1['tooltip']=!0x0,_0xc276d1;}['_createDropdownButtons'](_0x592505){const {locale:_0x38f835}=this['editor'],_0x3134dc=this['editor']['plugins']['get']('ImageInsertUI');return _0x592505['map'](_0x81dd98=>{const _0x455b90=this['_createButton'](_0x3565e8,_0x81dd98['type']);return _0x455b90['withText']=!0x0,_0x455b90['icon']=_0x81dd98['icon'],_0x455b90['bind']('label')['to'](_0x3134dc,'isImageSelected',_0x51cf95=>_(_0x38f835,_0x81dd98['type'],_0x51cf95?'Replace':'Insert')['text']),_0x455b90;});}['_createMenuBarButtons'](_0x3559a6){return _0x3559a6['map'](_0x15b572=>{const _0x2bbeb2=this['_createButton'](_0x3c9985,_0x15b572['type']);return _0x2bbeb2['icon']=_0x15b572['icon'],_0x2bbeb2['label']=_0x15b572['shortText'],_0x2bbeb2;});}}class F extends _0x2aea28{['focusTracker'];['focusCycler'];constructor(_0x257941){super(_0x257941),this['focusTracker']=new _0x4ace88(),this['focusCycler']=new _0x3a9837({'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 x extends F{constructor(_0x510dc0,_0x44f346){super(_0x510dc0),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-'+_0x44f346}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3292c1,_0x2ddfb1){const _0x2b4cf9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x347336=>_0x347336<=_0x2ddfb1)['map'](_0x23b42c=>_0x3292c1['replace'](/\/$/,'')+'/-/resize/'+_0x23b42c+'x/\x20'+_0x23b42c+'w');return{'imageFallbackUrl':_0x3292c1,'imageSources':[{'srcset':_0x2b4cf9['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2ddfb1+'px)\x20100vw,\x20'+_0x2ddfb1+'px','type':'image/webp'}]};}function S(_0x4b868b,_0x37d94b,_0x5591ae){const _0x44c5a4=_0x4b868b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x44c5a4?parseInt(_0x44c5a4[0x1],0xa):_0x37d94b,'height':_0x44c5a4?parseInt(_0x44c5a4[0x2],0xa):_0x5591ae};}function p(_0x23127,_0x26139b){const _0x542fbf=new(_0x27e3b3())(),_0x297981=_0x23127['plugins']['get']('ImageUtils'),_0x460a38=_0x23127['editing']['mapper']['toViewElement'](_0x26139b),_0x4256a1=_0x297981['findViewImgElement'](_0x460a38),_0x2c5c0b=_0x23127['editing']['view']['domConverter']['viewToDom'](_0x4256a1),_0x2b4aab=_0x26139b['getAttribute']('width'),_0x13d564=_0x26139b['getAttribute']('height'),_0x25c510='image-processing';_0x23127['editing']['view']['change'](_0x1ae21d=>{_0x1ae21d['addClass'](_0x25c510,_0x460a38),_0x1ae21d['setStyle']('aspect-ratio',_0x2b4aab+'/'+_0x13d564,_0x4256a1);}),_0x542fbf['listenTo'](_0x2c5c0b,'load',()=>{_0x542fbf['stopListening'](_0x2c5c0b,'load'),_0x23127['editing']['view']['change'](_0x4550cf=>{_0x4550cf['removeClass'](_0x25c510,_0x460a38),_0x4550cf['removeStyle']('aspect-ratio',_0x4256a1);});});}function z(_0x11da17){if(Array['isArray'](_0x11da17)){const _0x5e0792=_0x11da17['map'](z);return _0x6292e3=>_0x5e0792['some'](_0x16f528=>_0x16f528(_0x6292e3));}if('origin'==_0x11da17){const _0x1afa6f=_0x15bdb4['window']['location']['origin'];return _0x37d226=>new URL(_0x37d226,_0x15bdb4['document']['baseURI'])['origin']==_0x1afa6f;}return'function'==typeof _0x11da17?_0x11da17:_0x11da17 instanceof RegExp?_0x1aa2eb=>!(!_0x1aa2eb['match'](_0x11da17)&&!_0x1aa2eb['replace'](/^https?:\/\//,'')['match'](_0x11da17)):()=>!0x1;}function A(_0x40fcd2,_0x43e49){return _0x258571(_0x40fcd2['target'])['includes'](_0x43e49);}class n extends/* #__PURE__ -- @preserve */
24
- _0x1f1b7b(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2b2446,_0x44fcea,_0x42d17b){super(),this['_editor']=_0x2b2446,this['_editing']=_0x44fcea,this['_dialog']=_0x2b2446['plugins']['get'](_0x5b01d3),this['_api']=_0x44fcea['ctxElement']['getAPI'](),this['_type']=_0x42d17b,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:_0x523b9e,model:_0x1e5c6d}=this['_editor'],_0x3ad538=_0x1e5c6d['document']['selection']['getSelectedElement'](),_0x121297=_0x3ad538&&(_0x3ad538['is']('element','imageBlock')||_0x3ad538['is']('element','imageInline'));this['_formView']=new x(_0x523b9e,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5d4fd7,'title':_(_0x523b9e,this['_type'],_0x121297?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2eb6ad['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2a41e0=>!A(_0x2a41e0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2588d5}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1c5c44=>{const _0xbccbcf=_0x2588d5['length'];for(const _0x29a1de of _0x2588d5){const _0x454bd7=_0x29a1de===_0x2588d5[_0xbccbcf-0x1],{cdnUrl:_0x1b4cde,fileInfo:_0x1c417b}=_0x29a1de;if(!_0x1b4cde||!_0x1c417b)continue;const {width:_0x483220,height:_0x45aedb}=_0x1c417b['imageInfo'],_0x4868fb=S(_0x1b4cde,_0x483220,_0x45aedb),_0x2aa6f1=C(_0x1b4cde,_0x4868fb['width']),_0x3a99b6={'id':_0x1c417b['uuid'],'type':'image','attributes':{'imageDimension':_0x4868fb,..._0x2aa6f1}};this['_insertAsset'](_0x3a99b6,_0x454bd7,_0x1c5c44);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x487462=>{'idle'===_0x487462['detail']['status']&&!_0x487462['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x373d21,_0x388e7a,_0x3aa0c3){const _0x551641=this['_editor']['model']['document']['selection'],_0x10b2c7=_0x551641['getSelectedElement'](),_0x4d99c0=!(!_0x10b2c7||!_0x10b2c7['is']('element','imageInline'));_0x3aa0c3['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x373d21,_0x4d99c0),_0x388e7a||_0x3aa0c3['setSelection'](_0x551641['getLastPosition']());}['_insertImage'](_0x419c44,_0x44c4bb){const _0xac8057=this['_editor'],{imageDimension:_0x2a4be8,imageFallbackUrl:_0x4724f6,imageSources:_0x2910b8}=_0x419c44['attributes'];_0xac8057['execute']('insertImage',{'imageType':_0x44c4bb?'imageInline':null,'source':{'uploadcareImageId':_0x419c44['id'],'src':_0x4724f6,'sources':_0x2910b8,..._0x2a4be8}});}}class w extends _0x8d5551{['_editing'];['_controller']=null;static get['requires'](){return[_0x5b01d3,o];}constructor(_0x582d9f){super(_0x582d9f),this['_editing']=_0x582d9f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3d8ab4){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3d8ab4);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3f9d06,..._0x43f357}){return _0x4a03ae(_0x3f9d06,_0x43f357);}static['getInfo'](_0x408ff6,_0x4f9132){return _0x5054bf(_0x408ff6,_0x4f9132);}}class f extends _0x2b0850{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1db946,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x437b61=this['editor'];if(!!!_0x437b61['config']['get']('uploadcare'))return;_0x437b61['plugins']['get'](_0x1db946)['createUploadAdapter']=_0x4a0e3b=>new k(_0x4a0e3b,_0x437b61),_0x437b61['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x402854,{imageElement:_0x20fe10,data:_0x202dce})=>{_0x437b61['model']['change'](_0x427829=>{_0x427829['setAttribute']('uploadcareImageId',_0x202dce['uploadcareImageId'],_0x20fe10);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2852b0,_0x3be389){this['loader']=_0x2852b0,this['editor']=_0x3be389,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x51a626=await this['loader']['file'];return j['upload']({'file':_0x51a626,'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':_0x15ea09=>{_0x15ea09&&_0x15ea09['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x15ea09['value']);}})['then'](async _0x16e26d=>{const {imageFallbackUrl:_0x191d71,imageSources:_0xdf03bd}=C(_0x16e26d['cdnUrl'],_0x16e26d['imageInfo']['width']);return{'uploadcareImageId':_0x16e26d['uuid'],'default':_0x191d71,'sources':_0xdf03bd};})['catch'](()=>{const _0x59849b=t('Cannot\x20upload\x20file:')+('\x20'+_0x51a626['name']+'.');return Promise['reject'](_0x59849b);});}['abort'](){this['controller']['abort']();}}class o extends _0x2b0850{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x5b01d3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x546c48){super(_0x546c48),this['ucContextId']=_0x2b5637();}['init'](){const _0x39c09b=this['editor'];_0x39c09b['commands']['add']('uploadcare',new w(_0x39c09b));}['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 _0x16ac5c=_0x15bdb4['document']['querySelector']('input[uploadcare-file-input]');_0x16ac5c&&_0x16ac5c['remove']();}),async function(_0x5bf005){const _0x3671e4=_0x34c44a([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x17e759=0x535f8c3a,_0x5aecd1=0x5358f63a^_0x17e759,_0x517874=window[_0x34c44a([0x44,0x61,0x74,0x65])][_0x34c44a([0x6e,0x6f,0x77])](),_0x587912=_0x5bf005[_0x34c44a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19e0fa=new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x288377=>{_0x587912[_0x34c44a([0x6f,0x6e,0x63,0x65])](_0x34c44a([0x72,0x65,0x61,0x64,0x79]),_0x288377);}),_0x318e2c={[_0x34c44a([0x6b,0x74,0x79])]:_0x34c44a([0x45,0x43]),[_0x34c44a([0x75,0x73,0x65])]:_0x34c44a([0x73,0x69,0x67]),[_0x34c44a([0x63,0x72,0x76])]:_0x34c44a([0x50,0x2d,0x32,0x35,0x36]),[_0x34c44a([0x78])]:_0x34c44a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x34c44a([0x79])]:_0x34c44a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x34c44a([0x61,0x6c,0x67])]:_0x34c44a([0x45,0x53,0x32,0x35,0x36])},_0x913dbc=_0x587912[_0x34c44a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34c44a([0x67,0x65,0x74])](_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x66193e(){let _0x5e256f,_0x145af7=null,_0x329a65=null;try{if(_0x913dbc==_0x34c44a([0x47,0x50,0x4c]))return _0x34c44a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e256f=_0x36a4db(),!_0x5e256f)return _0x34c44a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e256f[_0x34c44a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x329a65=_0x4b9f14(_0x5e256f[_0x34c44a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e256f[_0x34c44a([0x6a,0x74,0x69])])),await _0x5b2ca8()?_0x204c83()?_0x5644ae()?_0x34c44a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x579ddd()?(_0x5e256f[_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34c44a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x145af7=_0x3e9aef(_0x34c44a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e256f[_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34c44a([0x74,0x72,0x69,0x61,0x6c])&&(_0x145af7=_0x3e9aef(_0x34c44a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e3a38()):_0x34c44a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34c44a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34c44a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34c44a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5644ae(){const _0x41015a=[_0x34c44a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34c44a([0x74,0x72,0x69,0x61,0x6c])][_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e256f[_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x517874/0x3e8:0xe10*_0x5aecd1;return _0x5e256f[_0x34c44a([0x65,0x78,0x70])]<_0x41015a;}function _0x204c83(){const _0x16c398=_0x5e256f[_0x34c44a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16c398&&(!!_0x16c398[_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c44a([0x2a]))||!!_0x16c398[_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c44a([0x55,0x50,0x4c,0x43])));}function _0x579ddd(){const _0x1de44e=_0x5e256f[_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1de44e||0x0==_0x1de44e[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x412b2c}=new URL(window[_0x34c44a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1de44e[_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412b2c))return!0x0;const _0x3e7c4f=_0x412b2c[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])](_0x34c44a([0x2e]));return _0x1de44e[_0x34c44a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x524f90=>_0x524f90[_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c44a([0x2a])))[_0x34c44a([0x6d,0x61,0x70])](_0x12ad4b=>_0x12ad4b[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])](_0x34c44a([0x2e])))[_0x34c44a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2693cf=>_0x2693cf[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e7c4f[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34c44a([0x6d,0x61,0x70])](_0x36563d=>Array(_0x3e7c4f[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36563d[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34c44a([0x66,0x69,0x6c,0x6c])](_0x36563d[0x0]===_0x34c44a([0x2a])?_0x34c44a([0x2a]):'')[_0x34c44a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36563d))[_0x34c44a([0x73,0x6f,0x6d,0x65])](_0x3c2a9a=>_0x3e7c4f[_0x34c44a([0x65,0x76,0x65,0x72,0x79])]((_0xea4e18,_0x54330f)=>_0x3c2a9a[_0x54330f]===_0xea4e18||_0x3c2a9a[_0x54330f]===_0x34c44a([0x2a])));}function _0x5e3a38(){return _0x145af7&&_0x329a65?new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x598759,_0x1f1ad1)=>{_0x145af7[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x598759,_0x1f1ad1),_0x329a65[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x5e2377=>{_0x5e2377!=_0x34c44a([0x56,0x61,0x6c,0x69,0x64])&&_0x598759(_0x5e2377);},_0x1f1ad1);}):_0x145af7||_0x329a65||_0x34c44a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b9f14(_0x4660d2,_0x550504){return new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d9041=>{if(_0x562c7c())return _0x5d9041(_0x34c44a([0x56,0x61,0x6c,0x69,0x64]));_0x4cf6ea(),_0x587912[_0x34c44a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34c44a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13ee52=!0x1;const _0x47af0c=_0x2b5637();function _0x1cc2ce(_0x33cd20){return!!_0x33cd20&&(typeof _0x33cd20===_0x34c44a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33cd20===_0x34c44a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33cd20[_0x34c44a([0x74,0x68,0x65,0x6e])]===_0x34c44a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33cd20[_0x34c44a([0x63,0x61,0x74,0x63,0x68])]===_0x34c44a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e3d0e(_0x13ebe5){_0x552a30(_0x13ebe5)[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x11f685=>{if(!_0x11f685||_0x11f685[_0x34c44a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34c44a([0x6f,0x6b]))return _0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x407c69(_0x4c957a(_0x47af0c+_0x550504))!=_0x11f685[_0x34c44a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34c44a([0x56,0x61,0x6c,0x69,0x64]);})[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x16e239=>(_0x19e08a(),_0x16e239),()=>{const _0x2576bc=_0x5d821a();return null==_0x2576bc?(_0x19e08a(),_0x34c44a([0x56,0x61,0x6c,0x69,0x64])):_0x34c44a(_0x517874-_0x2576bc>(0x7753083a^_0x17e759)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x5d9041)[_0x34c44a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d9041(_0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x163151=0x536962ba^_0x17e759;function _0x19e08a(){const _0x561215=_0x34c44a([0x6c,0x6c,0x63,0x74,0x2d])+_0x407c69(_0x4c957a(_0x4660d2)),_0x2be793=_0x170699(_0x407c69(window[_0x34c44a([0x4d,0x61,0x74,0x68])][_0x34c44a([0x63,0x65,0x69,0x6c])](_0x517874/_0x163151)));window[_0x34c44a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34c44a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x561215,_0x2be793);}function _0x5d821a(){const _0x40f339=_0x34c44a([0x6c,0x6c,0x63,0x74,0x2d])+_0x407c69(_0x4c957a(_0x4660d2)),_0x1d0ea3=window[_0x34c44a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34c44a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40f339);return _0x1d0ea3?window[_0x34c44a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x170699(_0x1d0ea3),0x10)*_0x163151:null;}function _0x552a30(_0x3d2666){return new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7f2094,_0x39d4ed)=>{_0x3d2666[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x7f2094,_0x39d4ed),window[_0x34c44a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39d4ed,0x535e58fa^_0x17e759);});}}_0x587912[_0x34c44a([0x6f,0x6e])](_0x34c44a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x434087,_0x1f7776)=>{if(_0x1f7776[0x0]!=_0x4660d2)return _0x5d9041(_0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f7776[0x1]={..._0x1f7776[0x1],[_0x34c44a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47af0c};},{[_0x34c44a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34c44a([0x68,0x69,0x67,0x68])}),_0x587912[_0x34c44a([0x6f,0x6e])](_0x34c44a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x265515=>{_0x1cc2ce(_0x265515[_0x34c44a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13ee52=!0x0,_0x1e3d0e(_0x265515[_0x34c44a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34c44a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34c44a([0x6c,0x6f,0x77])}),_0x19e0fa[_0x34c44a([0x74,0x68,0x65,0x6e])](()=>{_0x13ee52||_0x5d9041(_0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x562c7c(){return _0x587912[_0x34c44a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34c44a([0x76,0x69,0x65,0x77])][_0x34c44a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34c44a([0x61,0x75,0x74,0x6f]);}function _0x4cf6ea(){_0x587912[_0x34c44a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34c44a([0x76,0x69,0x65,0x77])][_0x34c44a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34c44a([0x61,0x75,0x74,0x6f]);}}function _0x3e9aef(_0xdebf9e){const _0x580c35=[new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21de94=>setTimeout(_0x21de94,0x5356b2f6^_0x17e759)),_0x19e0fa[_0x34c44a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a3fcd=>{let _0x3747ab=0x0;_0x587912[_0x34c44a([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c44a([0x6f,0x6e])](_0x34c44a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a8d07,_0x3c221c)=>{_0x3c221c[0x0][_0x34c44a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3747ab++,_0x3747ab==(0x535f8dc2^_0x17e759)&&(_0x1a3fcd(),_0x5a8d07[_0x34c44a([0x6f,0x66,0x66])]());});}))];return window[_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34c44a([0x72,0x61,0x63,0x65])](_0x580c35)[_0x34c44a([0x74,0x68,0x65,0x6e])](()=>_0xdebf9e);}async function _0x54296d(){await _0x19e0fa,_0x587912[_0x34c44a([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c44a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1be1f2,_0x587912[_0x34c44a([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c44a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1be1f2,_0x587912[_0x34c44a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34c44a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45ce05(_0x3fcb35){const _0x38ed2c=_0x30b836();_0x587912[_0x38ed2c]=_0x34c44a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fcb35,_0x3fcb35!=_0x34c44a([0x56,0x61,0x6c,0x69,0x64])&&_0x54296d();}function _0x30b836(){const _0x4288f6=window[_0x34c44a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34c44a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34c44a([0x6e,0x6f,0x77])]())[_0x34c44a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34c44a([0x2e]),'');let _0x111e68=_0x34c44a([0x68]);for(let _0x2ae3ec=0x0;_0x2ae3ec<_0x4288f6[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ae3ec+=0x2){let _0x3b7ba0=window[_0x34c44a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4288f6[_0x34c44a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ae3ec,_0x2ae3ec+0x2));_0x3b7ba0>=_0x3671e4[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b7ba0-=_0x3671e4[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x111e68+=_0x3671e4[_0x3b7ba0];}return _0x111e68;}function _0x36a4db(){const _0x3a8e05=_0x913dbc[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])](_0x34c44a([0x2e]));if(0x3!=_0x3a8e05[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x276c45(_0x3a8e05[0x1]);function _0x276c45(_0x1c4599){const _0x3b2a43=_0x1b0fef(_0x1c4599);return _0x3b2a43&&_0xc21684()?_0x3b2a43:null;function _0xc21684(){const _0x3730d4=_0x3b2a43[_0x34c44a([0x6a,0x74,0x69])],_0x4f3f8=window[_0x34c44a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3730d4[_0x34c44a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3730d4[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e4679={..._0x3b2a43,[_0x34c44a([0x6a,0x74,0x69])]:_0x3730d4[_0x34c44a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3730d4[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e4679[_0x34c44a([0x76,0x63])],_0x4c957a(_0x4e4679)==_0x4f3f8;}}}async function _0x5b2ca8(){let _0x431dad=!0x0;try{const _0x25bd97=_0x913dbc[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])](_0x34c44a([0x2e])),[_0x1c19a3,_0x3cb696,_0x2d7b6d]=_0x25bd97;return _0x2d8b88(_0x1c19a3),await _0x5a2963(_0x1c19a3,_0x3cb696,_0x2d7b6d),_0x431dad;}catch{return!0x1;}function _0x2d8b88(_0x36c596){const _0x3918ef=_0x1b0fef(_0x36c596);_0x3918ef&&_0x3918ef[_0x34c44a([0x61,0x6c,0x67])]==_0x34c44a([0x45,0x53,0x32,0x35,0x36])||(_0x431dad=!0x1);}async function _0x5a2963(_0x159d2f,_0x5c202e,_0x5ef09a){const _0x353e69=window[_0x34c44a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34c44a([0x66,0x72,0x6f,0x6d])](_0x242ca7(_0x5ef09a),_0xcbbe6b=>_0xcbbe6b[_0x34c44a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x814603=new window[(_0x34c44a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34c44a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x159d2f+_0x34c44a([0x2e])+_0x5c202e),_0x17bc69=window[_0x34c44a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34c44a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17bc69)return;const _0x55568a=await _0x17bc69[_0x34c44a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34c44a([0x6a,0x77,0x6b]),_0x318e2c,{[_0x34c44a([0x6e,0x61,0x6d,0x65])]:_0x34c44a([0x45,0x43,0x44,0x53,0x41]),[_0x34c44a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34c44a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34c44a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17bc69[_0x34c44a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34c44a([0x6e,0x61,0x6d,0x65])]:_0x34c44a([0x45,0x43,0x44,0x53,0x41]),[_0x34c44a([0x68,0x61,0x73,0x68])]:{[_0x34c44a([0x6e,0x61,0x6d,0x65])]:_0x34c44a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55568a,_0x353e69,_0x814603)||(_0x431dad=!0x1);}}function _0x1b0fef(_0x3e4e34){return _0x3e4e34[_0x34c44a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34c44a([0x65,0x79]))?JSON[_0x34c44a([0x70,0x61,0x72,0x73,0x65])](_0x242ca7(_0x3e4e34)):null;}function _0x242ca7(_0x34f679){return window[_0x34c44a([0x61,0x74,0x6f,0x62])](_0x34f679[_0x34c44a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34c44a([0x2b]))[_0x34c44a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34c44a([0x2f])));}function _0x4c957a(_0x5719da){let _0x251330=0x1505;function _0x9c1efd(_0x541fb6){for(let _0x1f8731=0x0;_0x1f8731<_0x541fb6[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f8731++){const _0xd3c07d=_0x541fb6[_0x34c44a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f8731);_0x251330=(_0x251330<<0x5)+_0x251330+_0xd3c07d,_0x251330&=_0x251330;}}function _0x3f608a(_0x19d0ea){Array[_0x34c44a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19d0ea)?_0x19d0ea[_0x34c44a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f608a):_0x19d0ea&&typeof _0x19d0ea==_0x34c44a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34c44a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19d0ea)[_0x34c44a([0x73,0x6f,0x72,0x74])]()[_0x34c44a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5542a5,_0x4d5913])=>{_0x9c1efd(_0x5542a5),_0x3f608a(_0x4d5913);}):_0x9c1efd(window[_0x34c44a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19d0ea));}return _0x3f608a(_0x5719da),_0x251330>>>0x0;}function _0x407c69(_0x2ea272){return _0x2ea272[_0x34c44a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34c44a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34c44a([0x30]));}function _0x170699(_0x465d12){return _0x465d12[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34c44a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34c44a([0x6a,0x6f,0x69,0x6e])]('');}function _0x1be1f2(){}function _0x34c44a(_0x1cb494){return _0x1cb494['map'](_0x5933b3=>String['fromCharCode'](_0x5933b3))['join']('');}_0x45ce05(await _0x66193e());}(this);}['_initSchema'](){const _0x3cce6e=this['editor']['model']['schema'];_0x3cce6e['isRegistered']('imageBlock')&&_0x3cce6e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3cce6e['isRegistered']('imageInline')&&_0x3cce6e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x31437d=this['editor'];_0x31437d['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x31437d['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x6612e2=>_0x6612e2['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b0560=_0x31437d['commands']['get']('replaceImageSource');_0x2b0560&&this['listenTo'](_0x2b0560,'cleanupImage',(_0x500c1f,[_0x1d45a3,_0x6d79c8])=>{_0x1d45a3['removeAttribute']('uploadcareImageId',_0x6d79c8);});}['_initConfig'](){const _0x187f4d=this['editor']['config']['get']('uploadcare.uploader')||{},_0xcd8d2d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3e63ff(_0x15bdb4['document'],'uc-config',{..._0x187f4d,'pubkey':_0xcd8d2d,'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']=_0x5dd552=>{if('closeMax'==_0x5dd552)return'#uc-icon-arrow-down';},_0x15bdb4['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3e63ff(_0x15bdb4['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x15bdb4['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xa7a283=this['editor']['commands']['get']('insertImage');_0xa7a283&&this['listenTo'](_0xa7a283,'execute',()=>{const _0x1d7766=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1d7766&&_0x1d7766['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1d7766);});});const _0x4dd11c=this['editor']['commands']['get']('uploadcareImageReplace');_0x4dd11c&&this['listenTo'](_0x4dd11c,'execute',()=>{const _0x171a6d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x171a6d&&_0x171a6d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x171a6d);});});}}class tt extends _0x2b0850{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x566a8a){super(_0x566a8a),_0x566a8a['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xfb2bf4['defineComponents'](_0xfb2bf4),this['_defineLocale']();}['_defineLocale'](){const _0x11705f=this['editor']['config']['get']('uploadcare.locale'),_0x3b218a=this['editor']['locale']['contentLanguage'];_0x11705f&&_0xfb2bf4['defineLocale'](_0x3b218a,_0x11705f);}}class ii extends _0x2aea28{constructor(_0xb6b482){super(_0xb6b482);const t=_0xb6b482['t'],_0x39f6a4=this['bindTemplate'],_0x5d90fd=new _0x1872e0();_0x5d90fd['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':[_0x5d90fd,{'text':_0x39f6a4['to']('imageUploadProgress',_0x105549=>t('Loading\x20image...')+'\x20('+(_0x105549||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'}]}]}]});}}class ti extends _0x2aea28{constructor(_0x4640a6){super(_0x4640a6);const t=_0x4640a6['t'];this['set']('errorType',null);const _0x4cd9c2=new _0x3565e8(_0x4640a6);_0x4cd9c2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4cd9c2['withText']=!0x0,_0x4cd9c2['class']='ck-button-action',_0x4cd9c2['on']('execute',()=>{this['fire']('retry');}),_0x4cd9c2['bind']('isVisible')['to'](this,'errorType',_0x5ae1a2=>'NotFound'!==_0x5ae1a2);const _0x4427de=new _0x24f00d();_0x4427de['content']=_0x426d82,_0x4427de['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x459f67=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':[_0x4427de,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x459f67['to']('errorType',_0x1c3205=>t('NotFound'!==_0x1c3205?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4cd9c2]},{'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'}]}]}]});}}class ei extends _0x2aea28{constructor(_0xf9135,_0x135973){super(_0xf9135);const _0x22c9a5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x135973,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x22c9a5['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x37f400,_0x5d8f1c,_0x3b5df1){super(_0x37f400),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x37f400),this['_errorView']=new ti(_0x37f400),this['_editingView']=new ei(_0x37f400,_0x3b5df1),this['_focusableView']=new _0x2aea28(_0x37f400),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5d8f1c),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'],_0x127661=>{this['_addUploadcareImageEditorListeners'](_0x127661);});}),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'](_0xf937ea,_0x160089){const _0x585c8f='uc-cloud-image-editor',_0x4a3f56=_0xf937ea['querySelector'](_0x585c8f);if(_0x4a3f56)return _0x160089(_0x4a3f56);const _0x569957=new MutationObserver(_0x2fa27e=>{const _0x4adad4=_0x2fa27e['filter'](_0x10c5c3=>_0x10c5c3['target']===_0xf937ea&&_0x10c5c3['addedNodes']['length']>0x0&&_0x10c5c3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x585c8f);_0x4adad4['length']&&(_0x569957['disconnect'](),_0x160089(_0x4adad4[0x0]['addedNodes'][0x0]));});_0x569957['observe'](_0xf937ea,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1a5e12){_0x1a5e12['addEventListener']('apply',_0x4c635d=>{this['fire']('apply',{'imageSrc':_0x4c635d['detail']['cdnUrl']});}),_0x1a5e12['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x1f1b7b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1736a2,_0x49385f,_0x241b2a){super(),this['_editor']=_0x1736a2,this['_dialog']=_0x49385f,this['_imageElement']=_0x241b2a,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 _0x4e93ec=this['_imageElement'],_0x32f4b8=_0x4e93ec['getAttribute']('uploadcareImageId'),_0xcd3e1e=_0x4e93ec['getAttribute']('src');if(_0x32f4b8)await this['_loadImageInfo'](_0x32f4b8,_0xcd3e1e);else{if(this['_imageCache']['has'](_0xcd3e1e)){const _0x5668b0=this['_imageCache']['get'](_0xcd3e1e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5668b0['url'],this['imageDimension']=_0x5668b0['dimension'],this['imageId']=_0x5668b0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1ae45c}=this['_editor'],t=_0x1ae45c['t'],_0x890c41=new X(_0x1ae45c,this['imageStatus'],this['_attributes']);_0x890c41['bind']('status')['to'](this,'imageStatus'),_0x890c41['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x890c41['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x890c41['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x890c41,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x117f88,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x890c41,'position':_0x2eb6ad['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x890c41['focus']();},'onHide':()=>{_0x890c41['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x36ee20=>!A(_0x36ee20,_0x890c41['element'])}});}['_loadImageInfo'](_0x3e9d72,_0x43ea86){return j['getInfo'](_0x3e9d72,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x217726=>{const {width:_0x1c2c7d,height:_0x24ab51}=_0x217726['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43ea86,this['imageDimension']={'width':_0x1c2c7d,'height':_0x24ab51},this['imageId']=_0x3e9d72;})['catch'](_0x3ed38e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3ed38e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x403426,_0x549bfc){return this['_getImageAsFile'](_0x403426)['then'](_0x43e853=>j['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':_0x549bfc['signal'],'file':_0x43e853,'onProgress':_0x1f5cb6=>{_0x1f5cb6&&_0x1f5cb6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1f5cb6['value']));}}))['then'](_0x5bb75f=>{const {width:_0x3658c6,height:_0x2df272}=_0x5bb75f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5bb75f['cdnUrl'],this['imageDimension']={'width':_0x3658c6,'height':_0x2df272},this['imageId']=_0x5bb75f['uuid'],this['imageUploadProgress']=null;const _0x267516=_0x403426['getAttribute']('src');this['_imageCache']['set'](_0x267516,{'id':_0x5bb75f['uuid'],'url':_0x5bb75f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2c626d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c626d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1a2951,_0x8bb843){_0x1a2951['on']('apply',(_0x683c96,_0x5d3958)=>{this['_replaceImage'](_0x8bb843,_0x5d3958['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1a2951['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1a2951['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x424c5d,_0x4dedc2,_0x4ca92f){const _0x31160f=this['_editor'],{width:_0x567737,height:_0x590108}=S(_0x4dedc2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3a7b71,imageSources:_0x55ba55}=C(_0x4dedc2,_0x567737);_0x31160f['model']['change'](_0x1dfea6=>{if('$graveyard'===_0x424c5d['root']['rootName']){_0x31160f['execute']('insertImage',{'imageType':_0x424c5d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x424c5d['getAttributes']()),'uploadcareImageId':_0x4ca92f,'src':_0x3a7b71,'sources':_0x55ba55,'width':_0x567737,'height':_0x590108}});const _0x438eb7=_0x424c5d['getChildren']();_0x424c5d=_0x31160f['model']['document']['selection']['getSelectedElement']();for(const _0x5321ed of _0x438eb7)_0x1dfea6['append'](_0x1dfea6['cloneElement'](_0x5321ed),_0x424c5d);}else _0x1dfea6['setSelection'](_0x424c5d,'on'),_0x31160f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x424c5d['getAttributes']()),'uploadcareImageId':_0x4ca92f,'src':_0x3a7b71,'sources':_0x55ba55,'width':_0x567737,'height':_0x590108},_0x424c5d);_0x1dfea6['setSelection'](_0x424c5d,'on');});}async['_getImageAsFile'](_0x5be1cc){const _0x1ca87d=_0x15bdb4['window'],_0x49558e=_0x15bdb4['document']['location']['href'],_0xed7c1c=new _0x1ca87d['URL'](_0x5be1cc['getAttribute']('src'),_0x49558e);if('data:'===_0xed7c1c['protocol']){const _0xefe89c=_0xed7c1c['href']['split'](','),_0x141790=_0xefe89c[0x0]['match'](/:(.*?);/)[0x1],_0x22b1bc=_0x141790['split']('/')[0x1],_0x12f925=_0x1ca87d['atob'](_0xefe89c[_0xefe89c['length']-0x1]);let _0xebb210=_0x12f925['length'];const _0x79c618=new _0x1ca87d['Uint8Array'](_0xebb210);for(;_0xebb210--;)_0x79c618[_0xebb210]=_0x12f925['charCodeAt'](_0xebb210);return new _0x1ca87d['File']([_0x79c618],'image.'+_0x22b1bc,{'type':_0x141790});}const _0x572449=_0xed7c1c['href']['split']('/'),_0x5bbb7f=_0x572449[_0x572449['length']-0x1],_0xd7798=_0x5bbb7f['split']('.')[0x1];return _0x1ca87d['fetch'](_0xed7c1c['href'])['then'](_0x44596e=>_0x44596e['clone']()['blob']())['then'](_0x5c530a=>new _0x1ca87d['File']([_0x5c530a],_0x5bbb7f,{'type':'image/'+_0xd7798}));}}class Q extends _0x8d5551{['imageEditController'];static get['requires'](){return[_0x5b01d3];}['_isEditable'];constructor(_0x34b7c3){super(_0x34b7c3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x434f36){const _0x1ed0d1=z(_0x434f36);return _0x521633=>!(!_0x521633||!_0x521633['is']('element','imageBlock')&&!_0x521633['is']('element','imageInline'))&&(!!_0x521633['hasAttribute']('uploadcareImageId')||!!_0x521633['hasAttribute']('src')&&_0x1ed0d1(_0x521633['getAttribute']('src')));}(_0x34b7c3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xb1ef51=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xb1ef51);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x170a3e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x170a3e&&(_0x170a3e['is']('element','imageBlock')||_0x170a3e['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x5b01d3),_0x170a3e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x8d5551{['refresh'](){const _0x5adaaa=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5adaaa&&(_0x5adaaa['is']('element','imageBlock')||_0x5adaaa['is']('element','imageInline')));}['execute'](_0x31bbd8){const _0x2a10bd=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1bea21=>{_0x1bea21['setAttributes'](_0x31bbd8,_0x2a10bd),_0x1bea21['removeAttribute']('srcset',_0x2a10bd),_0x1bea21['removeAttribute']('sizes',_0x2a10bd);});}}class m extends _0x2b0850{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3e2df5,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x16069c}=this;_0x16069c['commands']['add']('uploadcareImageEdit',new Q(_0x16069c)),_0x16069c['commands']['add']('uploadcareImageReplace',new V(_0x16069c));}}class g extends _0x2b0850{['_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 _0x4d52be=this['editor'];_0x4d52be['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3ee611=>{const _0x5fe28a=_0x4d52be['commands']['get']('uploadcareImageEdit'),_0x282266=new _0x3565e8(_0x3ee611),t=_0x3ee611['t'];return _0x282266['set']({'icon':_0x117f88,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x282266['bind']('isEnabled')['to'](_0x5fe28a),_0x282266['bind']('isOn')['to'](_0x5fe28a,'isActive'),this['listenTo'](_0x282266,'execute',()=>{_0x4d52be['execute']('uploadcareImageEdit'),_0x4d52be['editing']['view']['focus']();}),_0x282266;}),this['_initConfig']();}['_initConfig'](){const _0xa85960=_0x3e63ff(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xa85960),this['listenTo'](this['editor'],'destroy',()=>{_0xa85960['remove']();});}}class et extends _0x2b0850{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x50d93f,Command as _0x2950ea}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2ce77a,IconGooglePhotos as _0x3d5996,IconGoogleDrive as _0xbf9145,IconFacebook as _0xef237a,IconDropbox as _0x38769f,IconUploadcareLink as _0x3a1b87,IconUploadcareImageUpload as _0x1a612b,IconError as _0x5368f9,IconUploadcareImageEdit as _0x42d718}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3bda9b,MenuBarMenuListItemButtonView as _0x5d9c4c,View as _0x307b01,FocusCycler as _0x22234b,Dialog as _0x16cd90,DialogViewPosition as _0x2cd43a,SpinnerView as _0x30ccdc,IconView as _0x3b3b25,Notification as _0x3e2f7c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x309b1f,DomEmitterMixin as _0x474d6d,global as _0x2af7a5,getAncestors as _0x48c1f3,ObservableMixin as _0x2fa053,uid as _0x557d61,createElement as _0x50ab71}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x36a1ea}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5a9775,info as _0x3c892d}from'@uploadcare/upload-client';import*as _0x4619a7 from'@uploadcare/file-uploader';var i=function(_0x5fbb85){return _0x5fbb85['Local']='local',_0x5fbb85['URL']='url',_0x5fbb85['Dropbox']='dropbox',_0x5fbb85['GDrive']='gdrive',_0x5fbb85['Facebook']='facebook',_0x5fbb85['GPhotos']='gphotos',_0x5fbb85['OneDrive']='onedrive',_0x5fbb85;}({});function _(_0x293173,_0x35ce50,_0x3ec8a6){const t=_0x293173['t'],_0x57227e=_0x293173['t'];switch(_0x35ce50){case i['Local']:return{'text':_0x57227e('Insert'===_0x3ec8a6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x57227e('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3ec8a6?_0x57227e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x57227e('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3ec8a6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x35ce50;}}class e extends _0x50d93f{['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 _0x5ef642=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e2073;for(const _0x1c3331 in _0x5ef642){const _0x214e5c=_0x1c3331,_0x55c615=_0x5ef642[_0x214e5c];if('uploadcareLicenseKeyValid'==_0x55c615||'uploadcareLicenseKeyInvalid'==_0x55c615||'uploadcareLicenseKeyExpired'==_0x55c615||'uploadcareLicenseKeyDomainLimit'==_0x55c615||'uploadcareLicenseKeyNotAllowed'==_0x55c615||'uploadcareLicenseKeyEvaluationLimit'==_0x55c615||'uploadcareLicenseKeyTrialLimit'==_0x55c615||'uploadcareLicenseKeyUsageLimit'==_0x55c615){delete _0x5ef642[_0x214e5c],_0x5e2073=_0x55c615,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5e2073&&_0x5ef642['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5e2073&&_0x5ef642['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5e2073&&_0x5ef642['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5e2073&&_0x5ef642['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5e2073&&_0x5ef642['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5e2073&&_0x5ef642['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5e2073&&_0x5ef642['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x432c0d}=this,_0x37e21e=_0x432c0d['commands']['get']('uploadcare');if(!_0x37e21e)return;const _0x44e431=this['_normalizeConfigSourceList'](_0x432c0d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3d4fb2,_0xc8455)=>{const _0x5c8f7a=this['_getIntegrationKey'](_0xc8455['type']);return _0x3d4fb2[_0x5c8f7a]||(_0x3d4fb2[_0x5c8f7a]=[]),_0x3d4fb2[_0x5c8f7a]['push'](_0xc8455),_0x3d4fb2;},{});_0x432c0d['plugins']['has']('ImageInsertUI')&&_0x432c0d['commands']['get']('uploadcare')&&Object['entries'](_0x44e431)['forEach'](([_0x24ebad,_0x81c8e4])=>{_0x432c0d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x24ebad,'observable':()=>_0x37e21e,'buttonViewCreator':()=>this['_createToolbarButton'](_0x81c8e4),'formViewCreator':()=>this['_createDropdownButtons'](_0x81c8e4),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x81c8e4),'override':'assetManager'!==_0x24ebad});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x21cc8c){const {locale:_0x29a31b}=this['editor'];return _0x21cc8c['map'](_0x28ab9c=>{const _0x1a125e=_(_0x29a31b,_0x28ab9c,'Insert');switch(_0x28ab9c){case i['Local']:return{'icon':_0x1a612b,'type':i['Local'],..._0x1a125e};case i['URL']:return{'icon':_0x3a1b87,'type':i['URL'],..._0x1a125e};case i['Dropbox']:return{'icon':_0x38769f,'type':i['Dropbox'],..._0x1a125e};case i['Facebook']:return{'icon':_0xef237a,'type':i['Facebook'],..._0x1a125e};case i['GDrive']:return{'icon':_0xbf9145,'type':i['GDrive'],..._0x1a125e};case i['GPhotos']:return{'icon':_0x3d5996,'type':i['GPhotos'],..._0x1a125e};case i['OneDrive']:return{'icon':_0x2ce77a,'type':i['OneDrive'],..._0x1a125e};}});}['_getIntegrationKey'](_0x21155f){switch(_0x21155f){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3c8585,_0x284d39){const _0x1e063b=this['editor'],_0x4db24f=new _0x3c8585(_0x1e063b['locale']),_0x4d8d7d=_0x1e063b['commands']['get']('uploadcare');return _0x4db24f['bind']('isEnabled')['to'](_0x4d8d7d),_0x4db24f['on']('execute',()=>{_0x4d8d7d['execute'](_0x284d39);}),_0x4db24f;}['_createToolbarButton'](_0x29be31){const {locale:_0x58abb7}=this['editor'],_0x41dcd0=this['editor']['plugins']['get']('ImageInsertUI'),_0xe263a5=_0x29be31[0x0],_0x158f4b=this['_createButton'](_0x3bda9b,_0xe263a5['type']);return _0x158f4b['icon']=_0xe263a5['icon'],_0x158f4b['bind']('label')['to'](_0x41dcd0,'isImageSelected',_0x1cbd27=>_(_0x58abb7,_0xe263a5['type'],_0x1cbd27?'Replace':'Insert')['text']),_0x158f4b['tooltip']=!0x0,_0x158f4b;}['_createDropdownButtons'](_0x88d161){const {locale:_0x51fedc}=this['editor'],_0x11ac85=this['editor']['plugins']['get']('ImageInsertUI');return _0x88d161['map'](_0x814cb4=>{const _0x1faf30=this['_createButton'](_0x3bda9b,_0x814cb4['type']);return _0x1faf30['withText']=!0x0,_0x1faf30['icon']=_0x814cb4['icon'],_0x1faf30['bind']('label')['to'](_0x11ac85,'isImageSelected',_0x4c5ab8=>_(_0x51fedc,_0x814cb4['type'],_0x4c5ab8?'Replace':'Insert')['text']),_0x1faf30;});}['_createMenuBarButtons'](_0x44b62b){return _0x44b62b['map'](_0x6db479=>{const _0x111784=this['_createButton'](_0x5d9c4c,_0x6db479['type']);return _0x111784['icon']=_0x6db479['icon'],_0x111784['label']=_0x6db479['shortText'],_0x111784;});}}class F extends _0x307b01{['focusTracker'];['focusCycler'];constructor(_0x2fdc97){super(_0x2fdc97),this['focusTracker']=new _0x309b1f(),this['focusCycler']=new _0x22234b({'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 x extends F{constructor(_0xf1e70e,_0x5a272d){super(_0xf1e70e),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-'+_0x5a272d}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x1ac80f,_0x20eb04){const _0x55f1f6=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4d6fc4=>_0x4d6fc4<=_0x20eb04)['map'](_0x2b4983=>_0x1ac80f['replace'](/\/$/,'')+'/-/resize/'+_0x2b4983+'x/\x20'+_0x2b4983+'w');return{'imageFallbackUrl':_0x1ac80f,'imageSources':[{'srcset':_0x55f1f6['join'](',\x20'),'sizes':'(max-width:\x20'+_0x20eb04+'px)\x20100vw,\x20'+_0x20eb04+'px','type':'image/webp'}]};}function S(_0x41ff76,_0x2733b5,_0x51637e){const _0x1be7b3=_0x41ff76['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1be7b3?parseInt(_0x1be7b3[0x1],0xa):_0x2733b5,'height':_0x1be7b3?parseInt(_0x1be7b3[0x2],0xa):_0x51637e};}function p(_0x7cb483,_0xf197ae){const _0x549312=new(_0x474d6d())(),_0x3dc143=_0x7cb483['plugins']['get']('ImageUtils'),_0x5131da=_0x7cb483['editing']['mapper']['toViewElement'](_0xf197ae),_0x52f552=_0x3dc143['findViewImgElement'](_0x5131da),_0x1ecd0d=_0x7cb483['editing']['view']['domConverter']['viewToDom'](_0x52f552),_0x456f01=_0xf197ae['getAttribute']('width'),_0x39b9db=_0xf197ae['getAttribute']('height'),_0x19493d='image-processing';_0x7cb483['editing']['view']['change'](_0x23a210=>{_0x23a210['addClass'](_0x19493d,_0x5131da),_0x23a210['setStyle']('aspect-ratio',_0x456f01+'/'+_0x39b9db,_0x52f552);}),_0x549312['listenTo'](_0x1ecd0d,'load',()=>{_0x549312['stopListening'](_0x1ecd0d,'load'),_0x7cb483['editing']['view']['change'](_0x2abd45=>{_0x2abd45['removeClass'](_0x19493d,_0x5131da),_0x2abd45['removeStyle']('aspect-ratio',_0x52f552);});});}function G(_0xc467e){if(Array['isArray'](_0xc467e)){const _0xf4b487=_0xc467e['map'](G);return _0x560a08=>_0xf4b487['some'](_0x254996=>_0x254996(_0x560a08));}if('origin'==_0xc467e){const _0x4e91c8=_0x2af7a5['window']['location']['origin'];return _0x193af1=>new URL(_0x193af1,_0x2af7a5['document']['baseURI'])['origin']==_0x4e91c8;}return'function'==typeof _0xc467e?_0xc467e:_0xc467e instanceof RegExp?_0x1b919e=>!(!_0x1b919e['match'](_0xc467e)&&!_0x1b919e['replace'](/^https?:\/\//,'')['match'](_0xc467e)):()=>!0x1;}function A(_0x4ba909,_0x3342c1){return _0x48c1f3(_0x4ba909['target'])['includes'](_0x3342c1);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x2fa053(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x512beb,_0x40aa83,_0x249421){super(),this['_editor']=_0x512beb,this['_editing']=_0x40aa83,this['_dialog']=_0x512beb['plugins']['get'](_0x16cd90),this['_api']=_0x40aa83['ctxElement']['getAPI'](),this['_type']=_0x249421,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:_0x3ca240,model:_0x2bc95e}=this['_editor'],_0x30fe9a=_0x2bc95e['document']['selection']['getSelectedElement'](),_0x31030e=_0x30fe9a&&(_0x30fe9a['is']('element','imageBlock')||_0x30fe9a['is']('element','imageInline'));this['_formView']=new x(_0x3ca240,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1a612b,'title':_(_0x3ca240,this['_type'],_0x31030e?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2cd43a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xfb1ec3=>!A(_0xfb1ec3,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x47dff8}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2d6aef=>{const _0x302ee9=_0x47dff8['length'];for(const _0x4bb75e of _0x47dff8){const _0x5a408a=_0x4bb75e===_0x47dff8[_0x302ee9-0x1],{cdnUrl:_0x399726,fileInfo:_0x465084}=_0x4bb75e;if(!_0x399726||!_0x465084)continue;const {width:_0xad9b71,height:_0x323044}=_0x465084['imageInfo'],_0x47eed8=S(_0x399726,_0xad9b71,_0x323044),_0x59f543=C(_0x399726,_0x47eed8['width']),_0x3a7939={'id':_0x465084['uuid'],'type':'image','attributes':{'imageDimension':_0x47eed8,..._0x59f543}};this['_insertAsset'](_0x3a7939,_0x5a408a,_0x2d6aef);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2a8355=>{'idle'===_0x2a8355['detail']['status']&&!_0x2a8355['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x243063,_0x59ce69,_0x335f9a){const _0xbf1fd0=this['_editor']['model']['document']['selection'],_0x514f01=_0xbf1fd0['getSelectedElement'](),_0xab07cc=!(!_0x514f01||!_0x514f01['is']('element','imageInline'));_0x335f9a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x243063,_0xab07cc),_0x59ce69||_0x335f9a['setSelection'](_0xbf1fd0['getLastPosition']());}['_insertImage'](_0xa81391,_0x166fad){const _0x412a2e=this['_editor'],{imageDimension:_0x18475b,imageFallbackUrl:_0x527507,imageSources:_0x13ca35}=_0xa81391['attributes'];_0x412a2e['execute']('insertImage',{'imageType':_0x166fad?'imageInline':null,'source':{'uploadcareImageId':_0xa81391['id'],'src':_0x527507,'sources':_0x13ca35,..._0x18475b}});}}class w extends _0x2950ea{['_editing'];['_controller']=null;static get['requires'](){return[_0x16cd90,o];}constructor(_0x128df3){super(_0x128df3),this['_editing']=_0x128df3['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4cd128){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4cd128);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x2b08d1,..._0x43a76e}){return _0x5a9775(_0x2b08d1,_0x43a76e);}static['getInfo'](_0x1092c8,_0x52b38b){return _0x3c892d(_0x1092c8,_0x52b38b);}}class f extends _0x50d93f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x36a1ea,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x38298e=this['editor'];if(!!!_0x38298e['config']['get']('uploadcare'))return;_0x38298e['plugins']['get'](_0x36a1ea)['createUploadAdapter']=_0x564ae7=>new k(_0x564ae7,_0x38298e),_0x38298e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x599c4f,{imageElement:_0xec0316,data:_0x5671de})=>{_0x38298e['model']['change'](_0x382cc8=>{_0x382cc8['setAttribute']('uploadcareImageId',_0x5671de['uploadcareImageId'],_0xec0316);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4897c8,_0xc5cbbc){this['loader']=_0x4897c8,this['editor']=_0xc5cbbc,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x166c23=await this['loader']['file'];return j['upload']({'file':_0x166c23,'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':_0x1448bb=>{_0x1448bb&&_0x1448bb['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1448bb['value']);}})['then'](async _0x53b15e=>{const {imageFallbackUrl:_0x1b00e7,imageSources:_0x315b57}=C(_0x53b15e['cdnUrl'],_0x53b15e['imageInfo']['width']);return{'uploadcareImageId':_0x53b15e['uuid'],'default':_0x1b00e7,'sources':_0x315b57};})['catch'](()=>{const _0x2faf9a=t('Cannot\x20upload\x20file:')+('\x20'+_0x166c23['name']+'.');return Promise['reject'](_0x2faf9a);});}['abort'](){this['controller']['abort']();}}class o extends _0x50d93f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x16cd90];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4a8877){super(_0x4a8877),this['ucContextId']=_0x557d61();}['init'](){const _0x35ae52=this['editor'];_0x35ae52['commands']['add']('uploadcare',new w(_0x35ae52));}['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 _0x862ab1=_0x2af7a5['document']['querySelector']('input[uploadcare-file-input]');_0x862ab1&&_0x862ab1['remove']();}),async function(_0x43f0f8){const _0x364a12=_0x3fc4af([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x46e2d6=0x535f8c3a,_0x80ed48=0x5358f622^_0x46e2d6,_0x151bc6=window[_0x3fc4af([0x44,0x61,0x74,0x65])][_0x3fc4af([0x6e,0x6f,0x77])](),_0x1fa5a6=_0x43f0f8[_0x3fc4af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17695d=new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f20c7=>{_0x1fa5a6[_0x3fc4af([0x6f,0x6e,0x63,0x65])](_0x3fc4af([0x72,0x65,0x61,0x64,0x79]),_0x4f20c7);}),_0x3f0c15={[_0x3fc4af([0x6b,0x74,0x79])]:_0x3fc4af([0x45,0x43]),[_0x3fc4af([0x75,0x73,0x65])]:_0x3fc4af([0x73,0x69,0x67]),[_0x3fc4af([0x63,0x72,0x76])]:_0x3fc4af([0x50,0x2d,0x32,0x35,0x36]),[_0x3fc4af([0x78])]:_0x3fc4af([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3fc4af([0x79])]:_0x3fc4af([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3fc4af([0x61,0x6c,0x67])]:_0x3fc4af([0x45,0x53,0x32,0x35,0x36])},_0x197228=_0x1fa5a6[_0x3fc4af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fc4af([0x67,0x65,0x74])](_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x379f16(){let _0x52a92f,_0x32fcbc=null,_0x36c0d6=null;try{if(_0x197228==_0x3fc4af([0x47,0x50,0x4c]))return _0x3fc4af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52a92f=_0x51672d(),!_0x52a92f)return _0x3fc4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52a92f[_0x3fc4af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36c0d6=_0x5c86cf(_0x52a92f[_0x3fc4af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52a92f[_0x3fc4af([0x6a,0x74,0x69])])),await _0x2224ac()?_0x580903()?_0x3331e9()?_0x3fc4af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x163818()?(_0x52a92f[_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc4af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32fcbc=_0x5899bc(_0x3fc4af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52a92f[_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc4af([0x74,0x72,0x69,0x61,0x6c])&&(_0x32fcbc=_0x5899bc(_0x3fc4af([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x947e3f()):_0x3fc4af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc4af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fc4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fc4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3331e9(){const _0x55149f=[_0x3fc4af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fc4af([0x74,0x72,0x69,0x61,0x6c])][_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52a92f[_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x151bc6/0x3e8:0xe10*_0x80ed48;return _0x52a92f[_0x3fc4af([0x65,0x78,0x70])]<_0x55149f;}function _0x580903(){const _0x3843a4=_0x52a92f[_0x3fc4af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3843a4&&(!!_0x3843a4[_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc4af([0x2a]))||!!_0x3843a4[_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc4af([0x55,0x50,0x4c,0x43])));}function _0x163818(){const _0x56ffe8=_0x52a92f[_0x3fc4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x56ffe8||0x0==_0x56ffe8[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x11528d}=new URL(window[_0x3fc4af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x56ffe8[_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11528d))return!0x0;const _0x40355a=_0x11528d[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fc4af([0x2e]));return _0x56ffe8[_0x3fc4af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57beea=>_0x57beea[_0x3fc4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc4af([0x2a])))[_0x3fc4af([0x6d,0x61,0x70])](_0x5e95a4=>_0x5e95a4[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fc4af([0x2e])))[_0x3fc4af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1db942=>_0x1db942[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40355a[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc4af([0x6d,0x61,0x70])](_0x294573=>Array(_0x40355a[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x294573[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc4af([0x66,0x69,0x6c,0x6c])](_0x294573[0x0]===_0x3fc4af([0x2a])?_0x3fc4af([0x2a]):'')[_0x3fc4af([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x294573))[_0x3fc4af([0x73,0x6f,0x6d,0x65])](_0x15471f=>_0x40355a[_0x3fc4af([0x65,0x76,0x65,0x72,0x79])]((_0x1a71f0,_0xb7ec22)=>_0x15471f[_0xb7ec22]===_0x1a71f0||_0x15471f[_0xb7ec22]===_0x3fc4af([0x2a])));}function _0x947e3f(){return _0x32fcbc&&_0x36c0d6?new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f253b,_0x1df2b5)=>{_0x32fcbc[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x3f253b,_0x1df2b5),_0x36c0d6[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x47facb=>{_0x47facb!=_0x3fc4af([0x56,0x61,0x6c,0x69,0x64])&&_0x3f253b(_0x47facb);},_0x1df2b5);}):_0x32fcbc||_0x36c0d6||_0x3fc4af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c86cf(_0x562f38,_0x13931){return new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45d32a=>{if(_0x224db9())return _0x45d32a(_0x3fc4af([0x56,0x61,0x6c,0x69,0x64]));_0x5b207a(),_0x1fa5a6[_0x3fc4af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fc4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x30da5c=!0x1;const _0x5dbabe=_0x557d61();function _0x4f612c(_0x281f1e){return!!_0x281f1e&&(typeof _0x281f1e===_0x3fc4af([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x281f1e===_0x3fc4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x281f1e[_0x3fc4af([0x74,0x68,0x65,0x6e])]===_0x3fc4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x281f1e[_0x3fc4af([0x63,0x61,0x74,0x63,0x68])]===_0x3fc4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3834df(_0x11ae7a){_0x194e5a(_0x11ae7a)[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x5040e7=>{if(!_0x5040e7||_0x5040e7[_0x3fc4af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fc4af([0x6f,0x6b]))return _0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19d39c(_0x2ceb51(_0x5dbabe+_0x13931))!=_0x5040e7[_0x3fc4af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc4af([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x54c435=>(_0x37f34b(),_0x54c435),()=>{const _0x1806f0=_0x26a450();return null==_0x1806f0?(_0x37f34b(),_0x3fc4af([0x56,0x61,0x6c,0x69,0x64])):_0x3fc4af(_0x151bc6-_0x1806f0>(0x7753083a^_0x46e2d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x45d32a)[_0x3fc4af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45d32a(_0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c6dc1=0x536962ba^_0x46e2d6;function _0x37f34b(){const _0xab2584=_0x3fc4af([0x6c,0x6c,0x63,0x74,0x2d])+_0x19d39c(_0x2ceb51(_0x562f38)),_0x31a597=_0x21faf1(_0x19d39c(window[_0x3fc4af([0x4d,0x61,0x74,0x68])][_0x3fc4af([0x63,0x65,0x69,0x6c])](_0x151bc6/_0x2c6dc1)));window[_0x3fc4af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc4af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xab2584,_0x31a597);}function _0x26a450(){const _0x38c311=_0x3fc4af([0x6c,0x6c,0x63,0x74,0x2d])+_0x19d39c(_0x2ceb51(_0x562f38)),_0x44d306=window[_0x3fc4af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc4af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38c311);return _0x44d306?window[_0x3fc4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21faf1(_0x44d306),0x10)*_0x2c6dc1:null;}function _0x194e5a(_0x11459d){return new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58283c,_0x5a610f)=>{_0x11459d[_0x3fc4af([0x74,0x68,0x65,0x6e])](_0x58283c,_0x5a610f),window[_0x3fc4af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a610f,0x535e58fa^_0x46e2d6);});}}_0x1fa5a6[_0x3fc4af([0x6f,0x6e])](_0x3fc4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x208174,_0x2da919)=>{if(_0x2da919[0x0]!=_0x562f38)return _0x45d32a(_0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2da919[0x1]={..._0x2da919[0x1],[_0x3fc4af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5dbabe};},{[_0x3fc4af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc4af([0x68,0x69,0x67,0x68])}),_0x1fa5a6[_0x3fc4af([0x6f,0x6e])](_0x3fc4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x471543=>{_0x4f612c(_0x471543[_0x3fc4af([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x30da5c=!0x0,_0x3834df(_0x471543[_0x3fc4af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fc4af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc4af([0x6c,0x6f,0x77])}),_0x17695d[_0x3fc4af([0x74,0x68,0x65,0x6e])](()=>{_0x30da5c||_0x45d32a(_0x3fc4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x224db9(){return _0x1fa5a6[_0x3fc4af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc4af([0x76,0x69,0x65,0x77])][_0x3fc4af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fc4af([0x61,0x75,0x74,0x6f]);}function _0x5b207a(){_0x1fa5a6[_0x3fc4af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc4af([0x76,0x69,0x65,0x77])][_0x3fc4af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fc4af([0x61,0x75,0x74,0x6f]);}}function _0x5899bc(_0x589209){const _0x4e3eb0=[new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x486b29=>setTimeout(_0x486b29,0x5356b2f6^_0x46e2d6)),_0x17695d[_0x3fc4af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cc874=>{let _0x389601=0x0;_0x1fa5a6[_0x3fc4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc4af([0x6f,0x6e])](_0x3fc4af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe36c52,_0x474f1d)=>{_0x474f1d[0x0][_0x3fc4af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x389601++,_0x389601==(0x535f8dc2^_0x46e2d6)&&(_0x3cc874(),_0xe36c52[_0x3fc4af([0x6f,0x66,0x66])]());});}))];return window[_0x3fc4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fc4af([0x72,0x61,0x63,0x65])](_0x4e3eb0)[_0x3fc4af([0x74,0x68,0x65,0x6e])](()=>_0x589209);}async function _0x7c39d6(){await _0x17695d,_0x1fa5a6[_0x3fc4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc4af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x486bea,_0x1fa5a6[_0x3fc4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc4af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x486bea,_0x1fa5a6[_0x3fc4af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fc4af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51f8bf(_0x13c86b){const _0x513ac1=_0x7d6c79();_0x1fa5a6[_0x513ac1]=_0x3fc4af([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x13c86b,_0x13c86b!=_0x3fc4af([0x56,0x61,0x6c,0x69,0x64])&&_0x7c39d6();}function _0x7d6c79(){const _0x43f75a=window[_0x3fc4af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fc4af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fc4af([0x6e,0x6f,0x77])]())[_0x3fc4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fc4af([0x2e]),'');let _0xa3333=_0x3fc4af([0x68]);for(let _0x3585ca=0x0;_0x3585ca<_0x43f75a[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3585ca+=0x2){let _0x36c0fb=window[_0x3fc4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43f75a[_0x3fc4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3585ca,_0x3585ca+0x2));_0x36c0fb>=_0x364a12[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36c0fb-=_0x364a12[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa3333+=_0x364a12[_0x36c0fb];}return _0xa3333;}function _0x51672d(){const _0xeb0baa=_0x197228[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fc4af([0x2e]));if(0x3!=_0xeb0baa[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x220acf(_0xeb0baa[0x1]);function _0x220acf(_0x42e573){const _0x41a4dd=_0x2c6eaa(_0x42e573);return _0x41a4dd&&_0x414bea()?_0x41a4dd:null;function _0x414bea(){const _0x4e1381=_0x41a4dd[_0x3fc4af([0x6a,0x74,0x69])],_0x4b5ec3=window[_0x3fc4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e1381[_0x3fc4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e1381[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16c893={..._0x41a4dd,[_0x3fc4af([0x6a,0x74,0x69])]:_0x4e1381[_0x3fc4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e1381[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16c893[_0x3fc4af([0x76,0x63])],_0x2ceb51(_0x16c893)==_0x4b5ec3;}}}async function _0x2224ac(){let _0x4b1d07=!0x0;try{const _0x288a5d=_0x197228[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])](_0x3fc4af([0x2e])),[_0x45c57d,_0x55087a,_0x2b345e]=_0x288a5d;return _0x41c39b(_0x45c57d),await _0xc21a6c(_0x45c57d,_0x55087a,_0x2b345e),_0x4b1d07;}catch{return!0x1;}function _0x41c39b(_0x13476a){const _0x5d034a=_0x2c6eaa(_0x13476a);_0x5d034a&&_0x5d034a[_0x3fc4af([0x61,0x6c,0x67])]==_0x3fc4af([0x45,0x53,0x32,0x35,0x36])||(_0x4b1d07=!0x1);}async function _0xc21a6c(_0x459012,_0x541c43,_0x41b0a9){const _0xa504e6=window[_0x3fc4af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fc4af([0x66,0x72,0x6f,0x6d])](_0x4e5bde(_0x41b0a9),_0x245182=>_0x245182[_0x3fc4af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1fc8e8=new window[(_0x3fc4af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fc4af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x459012+_0x3fc4af([0x2e])+_0x541c43),_0x3b6a7b=window[_0x3fc4af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fc4af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b6a7b)return;const _0x45fab6=await _0x3b6a7b[_0x3fc4af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fc4af([0x6a,0x77,0x6b]),_0x3f0c15,{[_0x3fc4af([0x6e,0x61,0x6d,0x65])]:_0x3fc4af([0x45,0x43,0x44,0x53,0x41]),[_0x3fc4af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fc4af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fc4af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b6a7b[_0x3fc4af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fc4af([0x6e,0x61,0x6d,0x65])]:_0x3fc4af([0x45,0x43,0x44,0x53,0x41]),[_0x3fc4af([0x68,0x61,0x73,0x68])]:{[_0x3fc4af([0x6e,0x61,0x6d,0x65])]:_0x3fc4af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45fab6,_0xa504e6,_0x1fc8e8)||(_0x4b1d07=!0x1);}}function _0x2c6eaa(_0x545260){return _0x545260[_0x3fc4af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fc4af([0x65,0x79]))?JSON[_0x3fc4af([0x70,0x61,0x72,0x73,0x65])](_0x4e5bde(_0x545260)):null;}function _0x4e5bde(_0x178ffc){return window[_0x3fc4af([0x61,0x74,0x6f,0x62])](_0x178ffc[_0x3fc4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fc4af([0x2b]))[_0x3fc4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fc4af([0x2f])));}function _0x2ceb51(_0x27836f){let _0x26a2c1=0x1505;function _0x5bcf22(_0x478c05){for(let _0x84c76f=0x0;_0x84c76f<_0x478c05[_0x3fc4af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x84c76f++){const _0x46fc87=_0x478c05[_0x3fc4af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x84c76f);_0x26a2c1=(_0x26a2c1<<0x5)+_0x26a2c1+_0x46fc87,_0x26a2c1&=_0x26a2c1;}}function _0x25970c(_0x130d3e){Array[_0x3fc4af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x130d3e)?_0x130d3e[_0x3fc4af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25970c):_0x130d3e&&typeof _0x130d3e==_0x3fc4af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fc4af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x130d3e)[_0x3fc4af([0x73,0x6f,0x72,0x74])]()[_0x3fc4af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32bc22,_0x3448b5])=>{_0x5bcf22(_0x32bc22),_0x25970c(_0x3448b5);}):_0x5bcf22(window[_0x3fc4af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x130d3e));}return _0x25970c(_0x27836f),_0x26a2c1>>>0x0;}function _0x19d39c(_0x3cd2ae){return _0x3cd2ae[_0x3fc4af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fc4af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fc4af([0x30]));}function _0x21faf1(_0x199447){return _0x199447[_0x3fc4af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fc4af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fc4af([0x6a,0x6f,0x69,0x6e])]('');}function _0x486bea(){}function _0x3fc4af(_0x2bfca1){return _0x2bfca1['map'](_0x42ef95=>String['fromCharCode'](_0x42ef95))['join']('');}_0x51f8bf(await _0x379f16());}(this);}['_initSchema'](){const _0x21fdd0=this['editor']['model']['schema'];_0x21fdd0['isRegistered']('imageBlock')&&_0x21fdd0['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x21fdd0['isRegistered']('imageInline')&&_0x21fdd0['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xb91b2e=this['editor'];_0xb91b2e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xb91b2e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x398105=>_0x398105['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x39be66=_0xb91b2e['commands']['get']('replaceImageSource');_0x39be66&&this['listenTo'](_0x39be66,'cleanupImage',(_0x5a5ce4,[_0x248a92,_0x53a0e2])=>{_0x248a92['removeAttribute']('uploadcareImageId',_0x53a0e2);});}['_initConfig'](){const _0x4308f0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x39df18=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x50ab71(_0x2af7a5['document'],'uc-config',{..._0x4308f0,'pubkey':_0x39df18,'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']=_0x2e52ab=>{if('closeMax'==_0x2e52ab)return'#uc-icon-arrow-down';},_0x2af7a5['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x50ab71(_0x2af7a5['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2af7a5['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xc7e99c=this['editor']['commands']['get']('insertImage');_0xc7e99c&&this['listenTo'](_0xc7e99c,'execute',()=>{const _0x62865b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x62865b&&_0x62865b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x62865b);});});const _0x4750ce=this['editor']['commands']['get']('uploadcareImageReplace');_0x4750ce&&this['listenTo'](_0x4750ce,'execute',()=>{const _0x1d7689=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1d7689&&_0x1d7689['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1d7689);});});}}class tt extends _0x50d93f{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x29e18e){super(_0x29e18e),_0x29e18e['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4619a7['defineComponents'](_0x4619a7),this['_defineLocale']();}['_defineLocale'](){const _0x5bc365=this['editor']['config']['get']('uploadcare.locale'),_0x39c437=this['editor']['locale']['contentLanguage'];_0x5bc365&&_0x4619a7['defineLocale'](_0x39c437,_0x5bc365);}}class ii extends _0x307b01{constructor(_0xa73ad2){super(_0xa73ad2);const t=_0xa73ad2['t'],_0x5047ce=this['bindTemplate'],_0x9eec77=new _0x30ccdc();_0x9eec77['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':[_0x9eec77,{'text':_0x5047ce['to']('imageUploadProgress',_0x235ad8=>t('Loading\x20image...')+'\x20('+(_0x235ad8||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'}]}]}]});}}class ti extends _0x307b01{constructor(_0x2dcdfc){super(_0x2dcdfc);const t=_0x2dcdfc['t'];this['set']('errorType',null);const _0xca19e=new _0x3bda9b(_0x2dcdfc);_0xca19e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xca19e['withText']=!0x0,_0xca19e['class']='ck-button-action',_0xca19e['on']('execute',()=>{this['fire']('retry');}),_0xca19e['bind']('isVisible')['to'](this,'errorType',_0x24f77e=>'NotFound'!==_0x24f77e);const _0x20c816=new _0x3b3b25();_0x20c816['content']=_0x5368f9,_0x20c816['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x399b10=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':[_0x20c816,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x399b10['to']('errorType',_0x245795=>t('NotFound'!==_0x245795?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xca19e]},{'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'}]}]}]});}}class ei extends _0x307b01{constructor(_0x102a5c,_0x2e1f30){super(_0x102a5c);const _0x21dc5b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2e1f30,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x21dc5b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3c19bf,_0x2d6f28,_0x5f5af0){super(_0x3c19bf),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3c19bf),this['_errorView']=new ti(_0x3c19bf),this['_editingView']=new ei(_0x3c19bf,_0x5f5af0),this['_focusableView']=new _0x307b01(_0x3c19bf),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2d6f28),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'],_0x58197e=>{this['_addUploadcareImageEditorListeners'](_0x58197e);});}),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'](_0x255284,_0x57a712){const _0x117d15='uc-cloud-image-editor',_0x3f7d6d=_0x255284['querySelector'](_0x117d15);if(_0x3f7d6d)return _0x57a712(_0x3f7d6d);const _0x55d1bb=new MutationObserver(_0xd0aedf=>{const _0x908c99=_0xd0aedf['filter'](_0x3ab826=>_0x3ab826['target']===_0x255284&&_0x3ab826['addedNodes']['length']>0x0&&_0x3ab826['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x117d15);_0x908c99['length']&&(_0x55d1bb['disconnect'](),_0x57a712(_0x908c99[0x0]['addedNodes'][0x0]));});_0x55d1bb['observe'](_0x255284,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x55a8af){_0x55a8af['addEventListener']('apply',_0x98b5f8=>{this['fire']('apply',{'imageSrc':_0x98b5f8['detail']['cdnUrl']});}),_0x55a8af['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x2fa053(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2d4415,_0x420b45,_0x5e7da0){super(),this['_editor']=_0x2d4415,this['_dialog']=_0x420b45,this['_imageElement']=_0x5e7da0,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 _0x32acbb=this['_imageElement'],_0x5e8a55=_0x32acbb['getAttribute']('uploadcareImageId'),_0x3dd729=_0x32acbb['getAttribute']('src');if(_0x5e8a55)await this['_loadImageInfo'](_0x5e8a55,_0x3dd729);else{if(this['_imageCache']['has'](_0x3dd729)){const _0x32bf0=this['_imageCache']['get'](_0x3dd729);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32bf0['url'],this['imageDimension']=_0x32bf0['dimension'],this['imageId']=_0x32bf0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1ee96e}=this['_editor'],t=_0x1ee96e['t'],_0x5d37bf=new X(_0x1ee96e,this['imageStatus'],this['_attributes']);_0x5d37bf['bind']('status')['to'](this,'imageStatus'),_0x5d37bf['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5d37bf['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5d37bf['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5d37bf,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x42d718,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5d37bf,'position':_0x2cd43a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5d37bf['focus']();},'onHide':()=>{_0x5d37bf['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x59e26a=>!A(_0x59e26a,_0x5d37bf['element'])}});}['_loadImageInfo'](_0x398c08,_0x13f590){return j['getInfo'](_0x398c08,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2f7fdc=>{const {width:_0x5160b5,height:_0x523b3a}=_0x2f7fdc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13f590,this['imageDimension']={'width':_0x5160b5,'height':_0x523b3a},this['imageId']=_0x398c08;})['catch'](_0x302d3f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x302d3f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x25f0f1,_0x2ad47d){return this['_getImageAsFile'](_0x25f0f1)['then'](_0x503993=>j['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':_0x2ad47d['signal'],'file':_0x503993,'onProgress':_0x173d5a=>{_0x173d5a&&_0x173d5a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x173d5a['value']));}}))['then'](_0x1aa3be=>{const {width:_0x1c1ab1,height:_0x3286f2}=_0x1aa3be['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1aa3be['cdnUrl'],this['imageDimension']={'width':_0x1c1ab1,'height':_0x3286f2},this['imageId']=_0x1aa3be['uuid'],this['imageUploadProgress']=null;const _0x543c1a=_0x25f0f1['getAttribute']('src');this['_imageCache']['set'](_0x543c1a,{'id':_0x1aa3be['uuid'],'url':_0x1aa3be['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x27236c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x27236c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x348c65,_0x5009d0){_0x348c65['on']('apply',(_0x508213,_0x13962d)=>{this['_replaceImage'](_0x5009d0,_0x13962d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x348c65['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x348c65['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x30878e,_0x414405,_0x4ec0f4){const _0x55312a=this['_editor'],{width:_0x61f706,height:_0x1505c}=S(_0x414405,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2c6a2c,imageSources:_0x5b596c}=C(_0x414405,_0x61f706);_0x55312a['model']['change'](_0x4988bf=>{if('$graveyard'===_0x30878e['root']['rootName']){_0x55312a['execute']('insertImage',{'imageType':_0x30878e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x30878e['getAttributes']()),'uploadcareImageId':_0x4ec0f4,'src':_0x2c6a2c,'sources':_0x5b596c,'width':_0x61f706,'height':_0x1505c}});const _0x588f0d=_0x30878e['getChildren']();_0x30878e=_0x55312a['model']['document']['selection']['getSelectedElement']();for(const _0x2d13c9 of _0x588f0d)_0x4988bf['append'](_0x4988bf['cloneElement'](_0x2d13c9),_0x30878e);}else _0x4988bf['setSelection'](_0x30878e,'on'),_0x55312a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x30878e['getAttributes']()),'uploadcareImageId':_0x4ec0f4,'src':_0x2c6a2c,'sources':_0x5b596c,'width':_0x61f706,'height':_0x1505c},_0x30878e);_0x4988bf['setSelection'](_0x30878e,'on');});}async['_getImageAsFile'](_0x5307fc){const _0x207d7b=_0x2af7a5['window'],_0x16cf94=_0x2af7a5['document']['location']['href'],_0x2ec2fb=new _0x207d7b['URL'](_0x5307fc['getAttribute']('src'),_0x16cf94);if('data:'===_0x2ec2fb['protocol']){const _0x1d7de0=_0x2ec2fb['href']['split'](','),_0x7ad304=_0x1d7de0[0x0]['match'](/:(.*?);/)[0x1],_0x48d665=_0x7ad304['split']('/')[0x1],_0x1d3329=_0x207d7b['atob'](_0x1d7de0[_0x1d7de0['length']-0x1]);let _0x1f3226=_0x1d3329['length'];const _0x1ab830=new _0x207d7b['Uint8Array'](_0x1f3226);for(;_0x1f3226--;)_0x1ab830[_0x1f3226]=_0x1d3329['charCodeAt'](_0x1f3226);return new _0x207d7b['File']([_0x1ab830],'image.'+_0x48d665,{'type':_0x7ad304});}const _0x5a1ff=_0x2ec2fb['href']['split']('/'),_0x30d2f7=_0x5a1ff[_0x5a1ff['length']-0x1],_0x115e72=_0x30d2f7['split']('.')[0x1];return _0x207d7b['fetch'](_0x2ec2fb['href'])['then'](_0x5e00c4=>_0x5e00c4['clone']()['blob']())['then'](_0x55edc9=>new _0x207d7b['File']([_0x55edc9],_0x30d2f7,{'type':'image/'+_0x115e72}));}}class O extends _0x2950ea{['imageEditController'];static get['requires'](){return[_0x16cd90];}['_isEditable'];constructor(_0x2d83fa){super(_0x2d83fa),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x12a50d){const _0x814bd6=G(_0x12a50d);return _0x57be87=>!(!_0x57be87||!_0x57be87['is']('element','imageBlock')&&!_0x57be87['is']('element','imageInline'))&&(!!_0x57be87['hasAttribute']('uploadcareImageId')||!!_0x57be87['hasAttribute']('src')&&_0x814bd6(_0x57be87['getAttribute']('src')));}(_0x2d83fa['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x14b179=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x14b179);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x53a66d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x53a66d&&(_0x53a66d['is']('element','imageBlock')||_0x53a66d['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x16cd90),_0x53a66d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2950ea{['refresh'](){const _0x5250cd=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5250cd&&(_0x5250cd['is']('element','imageBlock')||_0x5250cd['is']('element','imageInline')));}['execute'](_0x53aba1){const _0x74e4f3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x55bfd7=>{_0x55bfd7['setAttributes'](_0x53aba1,_0x74e4f3),_0x55bfd7['removeAttribute']('srcset',_0x74e4f3),_0x55bfd7['removeAttribute']('sizes',_0x74e4f3);});}}class m extends _0x50d93f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3e2f7c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1d9cec}=this;_0x1d9cec['commands']['add']('uploadcareImageEdit',new O(_0x1d9cec)),_0x1d9cec['commands']['add']('uploadcareImageReplace',new R(_0x1d9cec));}}class g extends _0x50d93f{['_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 _0x51c2db=this['editor'];_0x51c2db['ui']['componentFactory']['add']('uploadcareImageEdit',_0x333c85=>{const _0x37d0de=_0x51c2db['commands']['get']('uploadcareImageEdit'),_0x55f890=new _0x3bda9b(_0x333c85),t=_0x333c85['t'];return _0x55f890['set']({'icon':_0x42d718,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x55f890['bind']('isEnabled')['to'](_0x37d0de),_0x55f890['bind']('isOn')['to'](_0x37d0de,'isActive'),this['listenTo'](_0x55f890,'execute',()=>{_0x51c2db['execute']('uploadcareImageEdit'),_0x51c2db['editing']['view']['focus']();}),_0x55f890;}),this['_initConfig']();}['_initConfig'](){const _0x9fe196=_0x50ab71(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x9fe196),this['listenTo'](this['editor'],'destroy',()=>{_0x9fe196['remove']();});}}class et extends _0x50d93f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f 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':_0x4775b4=>0x1!=_0x4775b4}};
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':_0x37b59f=>0x1!=_0x37b59f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21d4cd=>{const {af:{dictionary:_0x123ac7,getPluralForm:_0x2787da}}={'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':_0x54151e=>0x1!=_0x54151e}};_0x21d4cd['af']||={'dictionary':{},'getPluralForm':null},_0x21d4cd['af']['dictionary']=Object['assign'](_0x21d4cd['af']['dictionary'],_0x123ac7),_0x21d4cd['af']['getPluralForm']=_0x2787da;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5f4ff4=>{const {af:{dictionary:_0x3a65c7,getPluralForm:_0x249b03}}={'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':_0x3e2f86=>0x1!=_0x3e2f86}};_0x5f4ff4['af']||={'dictionary':{},'getPluralForm':null},_0x5f4ff4['af']['dictionary']=Object['assign'](_0x5f4ff4['af']['dictionary'],_0x3a65c7),_0x5f4ff4['af']['getPluralForm']=_0x249b03;})(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':_0xec2c12=>0x0==_0xec2c12?0x0:0x1==_0xec2c12?0x1:0x2==_0xec2c12?0x2:_0xec2c12%0x64>=0x3&&_0xec2c12%0x64<=0xa?0x3:_0xec2c12%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':_0x144220=>0x0==_0x144220?0x0:0x1==_0x144220?0x1:0x2==_0x144220?0x2:_0x144220%0x64>=0x3&&_0x144220%0x64<=0xa?0x3:_0x144220%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22a0bb=>{const {ar:{dictionary:_0x3bfec3,getPluralForm:_0x13919b}}={'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':_0x1733be=>0x0==_0x1733be?0x0:0x1==_0x1733be?0x1:0x2==_0x1733be?0x2:_0x1733be%0x64>=0x3&&_0x1733be%0x64<=0xa?0x3:_0x1733be%0x64>=0xb?0x4:0x5}};_0x22a0bb['ar']||={'dictionary':{},'getPluralForm':null},_0x22a0bb['ar']['dictionary']=Object['assign'](_0x22a0bb['ar']['dictionary'],_0x3bfec3),_0x22a0bb['ar']['getPluralForm']=_0x13919b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x11151d=>{const {ar:{dictionary:_0x389e3a,getPluralForm:_0x59f34d}}={'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':_0x827547=>0x0==_0x827547?0x0:0x1==_0x827547?0x1:0x2==_0x827547?0x2:_0x827547%0x64>=0x3&&_0x827547%0x64<=0xa?0x3:_0x827547%0x64>=0xb?0x4:0x5}};_0x11151d['ar']||={'dictionary':{},'getPluralForm':null},_0x11151d['ar']['dictionary']=Object['assign'](_0x11151d['ar']['dictionary'],_0x389e3a),_0x11151d['ar']['getPluralForm']=_0x59f34d;})(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':_0x12e7a3=>0x1!=_0x12e7a3}};
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':_0x2eb84b=>0x1!=_0x2eb84b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x39c445=>{const {ast:{dictionary:_0x249138,getPluralForm:_0x1e667a}}={'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':_0x59761d=>0x1!=_0x59761d}};_0x39c445['ast']||={'dictionary':{},'getPluralForm':null},_0x39c445['ast']['dictionary']=Object['assign'](_0x39c445['ast']['dictionary'],_0x249138),_0x39c445['ast']['getPluralForm']=_0x1e667a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b3b40=>{const {ast:{dictionary:_0x480302,getPluralForm:_0x2a3f21}}={'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':_0x5692fc=>0x1!=_0x5692fc}};_0x3b3b40['ast']||={'dictionary':{},'getPluralForm':null},_0x3b3b40['ast']['dictionary']=Object['assign'](_0x3b3b40['ast']['dictionary'],_0x480302),_0x3b3b40['ast']['getPluralForm']=_0x2a3f21;})(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':_0x47c1af=>0x1!=_0x47c1af}};
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':_0x665649=>0x1!=_0x665649}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x450f5d=>{const {az:{dictionary:_0x52ce82,getPluralForm:_0x542c0e}}={'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':_0x49a4d=>0x1!=_0x49a4d}};_0x450f5d['az']||={'dictionary':{},'getPluralForm':null},_0x450f5d['az']['dictionary']=Object['assign'](_0x450f5d['az']['dictionary'],_0x52ce82),_0x450f5d['az']['getPluralForm']=_0x542c0e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3e4be0=>{const {az:{dictionary:_0x4ddcd2,getPluralForm:_0x2f11e0}}={'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':_0x418574=>0x1!=_0x418574}};_0x3e4be0['az']||={'dictionary':{},'getPluralForm':null},_0x3e4be0['az']['dictionary']=Object['assign'](_0x3e4be0['az']['dictionary'],_0x4ddcd2),_0x3e4be0['az']['getPluralForm']=_0x2f11e0;})(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':_0x36c3db=>_0x36c3db%0xa==0x1&&_0x36c3db%0x64!=0xb?0x0:_0x36c3db%0xa>=0x2&&_0x36c3db%0xa<=0x4&&(_0x36c3db%0x64<0xa||_0x36c3db%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':_0xb19083=>_0xb19083%0xa==0x1&&_0xb19083%0x64!=0xb?0x0:_0xb19083%0xa>=0x2&&_0xb19083%0xa<=0x4&&(_0xb19083%0x64<0xa||_0xb19083%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x30053d=>{const {be:{dictionary:_0x387534,getPluralForm:_0x5a6c25}}={'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':_0x50b044=>_0x50b044%0xa==0x1&&_0x50b044%0x64!=0xb?0x0:_0x50b044%0xa>=0x2&&_0x50b044%0xa<=0x4&&(_0x50b044%0x64<0xa||_0x50b044%0x64>=0x14)?0x1:0x2}};_0x30053d['be']||={'dictionary':{},'getPluralForm':null},_0x30053d['be']['dictionary']=Object['assign'](_0x30053d['be']['dictionary'],_0x387534),_0x30053d['be']['getPluralForm']=_0x5a6c25;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa39ab3=>{const {be:{dictionary:_0x4a7a89,getPluralForm:_0x573433}}={'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':_0x4b7894=>_0x4b7894%0xa==0x1&&_0x4b7894%0x64!=0xb?0x0:_0x4b7894%0xa>=0x2&&_0x4b7894%0xa<=0x4&&(_0x4b7894%0x64<0xa||_0x4b7894%0x64>=0x14)?0x1:0x2}};_0xa39ab3['be']||={'dictionary':{},'getPluralForm':null},_0xa39ab3['be']['dictionary']=Object['assign'](_0xa39ab3['be']['dictionary'],_0x4a7a89),_0xa39ab3['be']['getPluralForm']=_0x573433;})(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':_0x203e74=>0x1!=_0x203e74}};
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':_0x3223e5=>0x1!=_0x3223e5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc7abb7=>{const {bg:{dictionary:_0x5caf72,getPluralForm:_0x24776f}}={'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':_0x595dab=>0x1!=_0x595dab}};_0xc7abb7['bg']||={'dictionary':{},'getPluralForm':null},_0xc7abb7['bg']['dictionary']=Object['assign'](_0xc7abb7['bg']['dictionary'],_0x5caf72),_0xc7abb7['bg']['getPluralForm']=_0x24776f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4ad914=>{const {bg:{dictionary:_0x302d8c,getPluralForm:_0xb19ff0}}={'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':_0x338cb5=>0x1!=_0x338cb5}};_0x4ad914['bg']||={'dictionary':{},'getPluralForm':null},_0x4ad914['bg']['dictionary']=Object['assign'](_0x4ad914['bg']['dictionary'],_0x302d8c),_0x4ad914['bg']['getPluralForm']=_0xb19ff0;})(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':_0x3c68ee=>0x1!=_0x3c68ee}};
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':_0x3e5024=>0x1!=_0x3e5024}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c6a51=>{const {bn:{dictionary:_0x5e561b,getPluralForm:_0x307480}}={'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':_0x540ff0=>0x1!=_0x540ff0}};_0x3c6a51['bn']||={'dictionary':{},'getPluralForm':null},_0x3c6a51['bn']['dictionary']=Object['assign'](_0x3c6a51['bn']['dictionary'],_0x5e561b),_0x3c6a51['bn']['getPluralForm']=_0x307480;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x368503=>{const {bn:{dictionary:_0x3098c5,getPluralForm:_0x592346}}={'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':_0x5d39f7=>0x1!=_0x5d39f7}};_0x368503['bn']||={'dictionary':{},'getPluralForm':null},_0x368503['bn']['dictionary']=Object['assign'](_0x368503['bn']['dictionary'],_0x3098c5),_0x368503['bn']['getPluralForm']=_0x592346;})(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':_0x52fe63=>_0x52fe63%0xa==0x1&&_0x52fe63%0x64!=0xb?0x0:_0x52fe63%0xa>=0x2&&_0x52fe63%0xa<=0x4&&(_0x52fe63%0x64<0xa||_0x52fe63%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':_0x347c3f=>_0x347c3f%0xa==0x1&&_0x347c3f%0x64!=0xb?0x0:_0x347c3f%0xa>=0x2&&_0x347c3f%0xa<=0x4&&(_0x347c3f%0x64<0xa||_0x347c3f%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x28ca12=>{const {bs:{dictionary:_0x1630a8,getPluralForm:_0x2865eb}}={'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':_0xd7d4a6=>_0xd7d4a6%0xa==0x1&&_0xd7d4a6%0x64!=0xb?0x0:_0xd7d4a6%0xa>=0x2&&_0xd7d4a6%0xa<=0x4&&(_0xd7d4a6%0x64<0xa||_0xd7d4a6%0x64>=0x14)?0x1:0x2}};_0x28ca12['bs']||={'dictionary':{},'getPluralForm':null},_0x28ca12['bs']['dictionary']=Object['assign'](_0x28ca12['bs']['dictionary'],_0x1630a8),_0x28ca12['bs']['getPluralForm']=_0x2865eb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3866ac=>{const {bs:{dictionary:_0x26120e,getPluralForm:_0xcb8601}}={'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':_0x36a1e1=>_0x36a1e1%0xa==0x1&&_0x36a1e1%0x64!=0xb?0x0:_0x36a1e1%0xa>=0x2&&_0x36a1e1%0xa<=0x4&&(_0x36a1e1%0x64<0xa||_0x36a1e1%0x64>=0x14)?0x1:0x2}};_0x3866ac['bs']||={'dictionary':{},'getPluralForm':null},_0x3866ac['bs']['dictionary']=Object['assign'](_0x3866ac['bs']['dictionary'],_0x26120e),_0x3866ac['bs']['getPluralForm']=_0xcb8601;})(window['CKEDITOR_TRANSLATIONS']||={});