@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251125.1 → 0.0.0-nightly-20251126.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 _0x40a027,Command as _0x1805a0}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3f17cc,IconGooglePhotos as _0x320109,IconGoogleDrive as _0x1a6fa3,IconFacebook as _0x29c687,IconDropbox as _0x539a71,IconUploadcareLink as _0x349338,IconUploadcareImageUpload as _0x2a2a2e,IconError as _0x3f8c3e,IconUploadcareImageEdit as _0x21b4d9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x23d61e,MenuBarMenuListItemButtonView as _0x48c943,View as _0x255f97,FocusCycler as _0x3bb36c,Dialog as _0x54518c,DialogViewPosition as _0x2a21c1,SpinnerView as _0xae7dea,IconView as _0x15cd82,Notification as _0x450039}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x11b6cc,DomEmitterMixin as _0x9b0dcd,global as _0x49a30f,getAncestors as _0x587559,ObservableMixin as _0x2308c3,uid as _0x5c4a34,createElement as _0x43e691}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x179ffb}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x70a705,info as _0x5a4252}from'@uploadcare/upload-client';import*as _0x2a9564 from'@uploadcare/file-uploader';var i=function(_0x2bfd19){return _0x2bfd19['Local']='local',_0x2bfd19['URL']='url',_0x2bfd19['Dropbox']='dropbox',_0x2bfd19['GDrive']='gdrive',_0x2bfd19['Facebook']='facebook',_0x2bfd19['GPhotos']='gphotos',_0x2bfd19['OneDrive']='onedrive',_0x2bfd19;}({});function _(_0x38b4b5,_0x175bfc,_0x581fab){const t=_0x38b4b5['t'],_0x34b641=_0x38b4b5['t'];switch(_0x175bfc){case i['Local']:return{'text':_0x34b641('Insert'===_0x581fab?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x34b641('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x581fab?_0x34b641('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x34b641('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x175bfc;}}class e extends _0x40a027{['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 _0x6af407=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ce458;for(const _0x317c4 in _0x6af407){const _0x413166=_0x317c4,_0x299ca8=_0x6af407[_0x413166];if('uploadcareLicenseKeyValid'==_0x299ca8||'uploadcareLicenseKeyInvalid'==_0x299ca8||'uploadcareLicenseKeyExpired'==_0x299ca8||'uploadcareLicenseKeyDomainLimit'==_0x299ca8||'uploadcareLicenseKeyNotAllowed'==_0x299ca8||'uploadcareLicenseKeyEvaluationLimit'==_0x299ca8||'uploadcareLicenseKeyTrialLimit'==_0x299ca8||'uploadcareLicenseKeyUsageLimit'==_0x299ca8){delete _0x6af407[_0x413166],_0x1ce458=_0x299ca8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1ce458&&_0x6af407['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1ce458&&_0x6af407['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1ce458&&_0x6af407['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1ce458&&_0x6af407['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1ce458&&_0x6af407['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1ce458&&_0x6af407['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1ce458&&_0x6af407['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x213868}=this,_0x2d341c=_0x213868['commands']['get']('uploadcare');if(!_0x2d341c)return;const _0x594a34=this['_normalizeConfigSourceList'](_0x213868['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4cfccd,_0x29712f)=>{const _0x697a54=this['_getIntegrationKey'](_0x29712f['type']);return _0x4cfccd[_0x697a54]||(_0x4cfccd[_0x697a54]=[]),_0x4cfccd[_0x697a54]['push'](_0x29712f),_0x4cfccd;},{});_0x213868['plugins']['has']('ImageInsertUI')&&_0x213868['commands']['get']('uploadcare')&&Object['entries'](_0x594a34)['forEach'](([_0x55ea18,_0x1d7f30])=>{_0x213868['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x55ea18,'observable':()=>_0x2d341c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1d7f30),'formViewCreator':()=>this['_createDropdownButtons'](_0x1d7f30),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1d7f30),'override':'assetManager'!==_0x55ea18});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x493d6f){const {locale:_0x5e9a41}=this['editor'];return _0x493d6f['map'](_0x9bafb3=>{const _0x5e187c=_(_0x5e9a41,_0x9bafb3,'Insert');switch(_0x9bafb3){case i['Local']:return{'icon':_0x2a2a2e,'type':i['Local'],..._0x5e187c};case i['URL']:return{'icon':_0x349338,'type':i['URL'],..._0x5e187c};case i['Dropbox']:return{'icon':_0x539a71,'type':i['Dropbox'],..._0x5e187c};case i['Facebook']:return{'icon':_0x29c687,'type':i['Facebook'],..._0x5e187c};case i['GDrive']:return{'icon':_0x1a6fa3,'type':i['GDrive'],..._0x5e187c};case i['GPhotos']:return{'icon':_0x320109,'type':i['GPhotos'],..._0x5e187c};case i['OneDrive']:return{'icon':_0x3f17cc,'type':i['OneDrive'],..._0x5e187c};}});}['_getIntegrationKey'](_0xe70d4a){switch(_0xe70d4a){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x54377d,_0x3454d3){const _0x5814f3=this['editor'],_0x3da80a=new _0x54377d(_0x5814f3['locale']),_0x2b93cf=_0x5814f3['commands']['get']('uploadcare');return _0x3da80a['bind']('isEnabled')['to'](_0x2b93cf),_0x3da80a['on']('execute',()=>{_0x2b93cf['execute'](_0x3454d3);}),_0x3da80a;}['_createToolbarButton'](_0x302380){const {locale:_0x3de68c}=this['editor'],_0x10d09e=this['editor']['plugins']['get']('ImageInsertUI'),_0x405b29=_0x302380[0x0],_0x600cfb=this['_createButton'](_0x23d61e,_0x405b29['type']);return _0x600cfb['icon']=_0x405b29['icon'],_0x600cfb['bind']('label')['to'](_0x10d09e,'isImageSelected',_0x1b6f23=>_(_0x3de68c,_0x405b29['type'],_0x1b6f23?'Replace':'Insert')['text']),_0x600cfb['tooltip']=!0x0,_0x600cfb;}['_createDropdownButtons'](_0xdcb275){const {locale:_0x166e23}=this['editor'],_0x24447a=this['editor']['plugins']['get']('ImageInsertUI');return _0xdcb275['map'](_0x50e789=>{const _0x19aa45=this['_createButton'](_0x23d61e,_0x50e789['type']);return _0x19aa45['withText']=!0x0,_0x19aa45['icon']=_0x50e789['icon'],_0x19aa45['bind']('label')['to'](_0x24447a,'isImageSelected',_0x560af4=>_(_0x166e23,_0x50e789['type'],_0x560af4?'Replace':'Insert')['text']),_0x19aa45;});}['_createMenuBarButtons'](_0x5b5df7){return _0x5b5df7['map'](_0x2880c5=>{const _0xb00ce=this['_createButton'](_0x48c943,_0x2880c5['type']);return _0xb00ce['icon']=_0x2880c5['icon'],_0xb00ce['label']=_0x2880c5['shortText'],_0xb00ce;});}}class F extends _0x255f97{['focusTracker'];['focusCycler'];constructor(_0x153632){super(_0x153632),this['focusTracker']=new _0x11b6cc(),this['focusCycler']=new _0x3bb36c({'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(_0x54dfdf,_0x1281f6){super(_0x54dfdf),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-'+_0x1281f6}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x40d633,_0x4ec438){const _0x471441=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4db9e8=>_0x4db9e8<=_0x4ec438)['map'](_0xc34d08=>_0x40d633['replace'](/\/$/,'')+'/-/resize/'+_0xc34d08+'x/\x20'+_0xc34d08+'w');return{'imageFallbackUrl':_0x40d633,'imageSources':[{'srcset':_0x471441['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4ec438+'px)\x20100vw,\x20'+_0x4ec438+'px','type':'image/webp'}]};}function S(_0x29aa05,_0x46b405,_0x50418a){const _0xb3a26=_0x29aa05['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xb3a26?parseInt(_0xb3a26[0x1],0xa):_0x46b405,'height':_0xb3a26?parseInt(_0xb3a26[0x2],0xa):_0x50418a};}function p(_0x442d44,_0x258412){const _0x46ad31=new(_0x9b0dcd())(),_0x433a8e=_0x442d44['plugins']['get']('ImageUtils'),_0x32c4b6=_0x442d44['editing']['mapper']['toViewElement'](_0x258412),_0x5dd69a=_0x433a8e['findViewImgElement'](_0x32c4b6),_0x2b5dc1=_0x442d44['editing']['view']['domConverter']['viewToDom'](_0x5dd69a),_0x148765=_0x258412['getAttribute']('width'),_0x3b1e09=_0x258412['getAttribute']('height'),_0x4609ae='image-processing';_0x442d44['editing']['view']['change'](_0x477bfc=>{_0x477bfc['addClass'](_0x4609ae,_0x32c4b6),_0x477bfc['setStyle']('aspect-ratio',_0x148765+'/'+_0x3b1e09,_0x5dd69a);}),_0x46ad31['listenTo'](_0x2b5dc1,'load',()=>{_0x46ad31['stopListening'](_0x2b5dc1,'load'),_0x442d44['editing']['view']['change'](_0x164058=>{_0x164058['removeClass'](_0x4609ae,_0x32c4b6),_0x164058['removeStyle']('aspect-ratio',_0x5dd69a);});});}function z(_0xa87afd){if(Array['isArray'](_0xa87afd)){const _0x258767=_0xa87afd['map'](z);return _0x335b48=>_0x258767['some'](_0x345886=>_0x345886(_0x335b48));}if('origin'==_0xa87afd){const _0x31ae9c=_0x49a30f['window']['location']['origin'];return _0x36e818=>new URL(_0x36e818,_0x49a30f['document']['baseURI'])['origin']==_0x31ae9c;}return'function'==typeof _0xa87afd?_0xa87afd:_0xa87afd instanceof RegExp?_0x42ca92=>!(!_0x42ca92['match'](_0xa87afd)&&!_0x42ca92['replace'](/^https?:\/\//,'')['match'](_0xa87afd)):()=>!0x1;}function A(_0x511c77,_0x1dca99){return _0x587559(_0x511c77['target'])['includes'](_0x1dca99);}class n extends/* #__PURE__ -- @preserve */
24
- _0x2308c3(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x569821,_0x2e283b,_0x3fc729){super(),this['_editor']=_0x569821,this['_editing']=_0x2e283b,this['_dialog']=_0x569821['plugins']['get'](_0x54518c),this['_api']=_0x2e283b['ctxElement']['getAPI'](),this['_type']=_0x3fc729,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:_0x1e8c1a,model:_0x43e4de}=this['_editor'],_0x3189a0=_0x43e4de['document']['selection']['getSelectedElement'](),_0x477803=_0x3189a0&&(_0x3189a0['is']('element','imageBlock')||_0x3189a0['is']('element','imageInline'));this['_formView']=new x(_0x1e8c1a,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2a2a2e,'title':_(_0x1e8c1a,this['_type'],_0x477803?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2a21c1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58ec81=>!A(_0x58ec81,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x46ecfb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3066bf=>{const _0x26ff8d=_0x46ecfb['length'];for(const _0x4b8a7a of _0x46ecfb){const _0x53b5e2=_0x4b8a7a===_0x46ecfb[_0x26ff8d-0x1],{cdnUrl:_0x3932b6,fileInfo:_0x4baa1a}=_0x4b8a7a;if(!_0x3932b6||!_0x4baa1a)continue;const {width:_0x4a3a31,height:_0x2c46f9}=_0x4baa1a['imageInfo'],_0x567dbc=S(_0x3932b6,_0x4a3a31,_0x2c46f9),_0x311614=C(_0x3932b6,_0x567dbc['width']),_0x1a6311={'id':_0x4baa1a['uuid'],'type':'image','attributes':{'imageDimension':_0x567dbc,..._0x311614}};this['_insertAsset'](_0x1a6311,_0x53b5e2,_0x3066bf);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x6ad723=>{'idle'===_0x6ad723['detail']['status']&&!_0x6ad723['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x368e1d,_0x5d6159,_0x26bd3e){const _0x44fea1=this['_editor']['model']['document']['selection'],_0x2264c5=_0x44fea1['getSelectedElement'](),_0x163e08=!(!_0x2264c5||!_0x2264c5['is']('element','imageInline'));_0x26bd3e['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x368e1d,_0x163e08),_0x5d6159||_0x26bd3e['setSelection'](_0x44fea1['getLastPosition']());}['_insertImage'](_0x4a29ff,_0x3ceae7){const _0x34b85b=this['_editor'],{imageDimension:_0x59ad02,imageFallbackUrl:_0x28f6be,imageSources:_0x1d7d92}=_0x4a29ff['attributes'];_0x34b85b['execute']('insertImage',{'imageType':_0x3ceae7?'imageInline':null,'source':{'uploadcareImageId':_0x4a29ff['id'],'src':_0x28f6be,'sources':_0x1d7d92,..._0x59ad02}});}}class w extends _0x1805a0{['_editing'];['_controller']=null;static get['requires'](){return[_0x54518c,o];}constructor(_0x3134c7){super(_0x3134c7),this['_editing']=_0x3134c7['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2d1e41){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2d1e41);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4e6aa6,..._0x41f03d}){return _0x70a705(_0x4e6aa6,_0x41f03d);}static['getInfo'](_0x280456,_0x466858){return _0x5a4252(_0x280456,_0x466858);}}class f extends _0x40a027{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x179ffb,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x28fbfb=this['editor'];if(!!!_0x28fbfb['config']['get']('uploadcare'))return;_0x28fbfb['plugins']['get'](_0x179ffb)['createUploadAdapter']=_0x32887a=>new k(_0x32887a,_0x28fbfb),_0x28fbfb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2083ea,{imageElement:_0x4e27e7,data:_0x27d5c3})=>{_0x28fbfb['model']['change'](_0x125d64=>{_0x125d64['setAttribute']('uploadcareImageId',_0x27d5c3['uploadcareImageId'],_0x4e27e7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1c66d2,_0x10d063){this['loader']=_0x1c66d2,this['editor']=_0x10d063,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x126376=await this['loader']['file'];return j['upload']({'file':_0x126376,'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':_0x29af01=>{_0x29af01&&_0x29af01['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x29af01['value']);}})['then'](async _0x48c9eb=>{const {imageFallbackUrl:_0x1f5c0b,imageSources:_0x30046c}=C(_0x48c9eb['cdnUrl'],_0x48c9eb['imageInfo']['width']);return{'uploadcareImageId':_0x48c9eb['uuid'],'default':_0x1f5c0b,'sources':_0x30046c};})['catch'](()=>{const _0x29c68b=t('Cannot\x20upload\x20file:')+('\x20'+_0x126376['name']+'.');return Promise['reject'](_0x29c68b);});}['abort'](){this['controller']['abort']();}}class o extends _0x40a027{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x54518c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3715ce){super(_0x3715ce),this['ucContextId']=_0x5c4a34();}['init'](){const _0x777cd5=this['editor'];_0x777cd5['commands']['add']('uploadcare',new w(_0x777cd5));}['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 _0x261e4f=_0x49a30f['document']['querySelector']('input[uploadcare-file-input]');_0x261e4f&&_0x261e4f['remove']();}),async function(_0x4fc68f){const _0x44bcae=_0x34b41b([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]),_0x4202e6=0x535f8c3a,_0x1bda0a=0x5358f622^_0x4202e6,_0x38d7f4=window[_0x34b41b([0x44,0x61,0x74,0x65])][_0x34b41b([0x6e,0x6f,0x77])](),_0x220238=_0x4fc68f[_0x34b41b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x9c344e=new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ae91e=>{_0x220238[_0x34b41b([0x6f,0x6e,0x63,0x65])](_0x34b41b([0x72,0x65,0x61,0x64,0x79]),_0x1ae91e);}),_0x3cc361={[_0x34b41b([0x6b,0x74,0x79])]:_0x34b41b([0x45,0x43]),[_0x34b41b([0x75,0x73,0x65])]:_0x34b41b([0x73,0x69,0x67]),[_0x34b41b([0x63,0x72,0x76])]:_0x34b41b([0x50,0x2d,0x32,0x35,0x36]),[_0x34b41b([0x78])]:_0x34b41b([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]),[_0x34b41b([0x79])]:_0x34b41b([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]),[_0x34b41b([0x61,0x6c,0x67])]:_0x34b41b([0x45,0x53,0x32,0x35,0x36])},_0x25ac24=_0x220238[_0x34b41b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34b41b([0x67,0x65,0x74])](_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xfd71b7(){let _0xcbb465,_0x1597f9=null,_0x412054=null;try{if(_0x25ac24==_0x34b41b([0x47,0x50,0x4c]))return _0x34b41b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xcbb465=_0x18321a(),!_0xcbb465)return _0x34b41b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xcbb465[_0x34b41b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x412054=_0x2a1505(_0xcbb465[_0x34b41b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xcbb465[_0x34b41b([0x6a,0x74,0x69])])),await _0x11ea5f()?_0x32f2e0()?_0x51c01f()?_0x34b41b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x253a5d()?(_0xcbb465[_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34b41b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1597f9=_0x4d4af2(_0x34b41b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xcbb465[_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34b41b([0x74,0x72,0x69,0x61,0x6c])&&(_0x1597f9=_0x4d4af2(_0x34b41b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11d836()):_0x34b41b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34b41b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34b41b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34b41b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51c01f(){const _0x532b6b=[_0x34b41b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34b41b([0x74,0x72,0x69,0x61,0x6c])][_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcbb465[_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38d7f4/0x3e8:0xe10*_0x1bda0a;return _0xcbb465[_0x34b41b([0x65,0x78,0x70])]<_0x532b6b;}function _0x32f2e0(){const _0x5ad681=_0xcbb465[_0x34b41b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ad681&&(!!_0x5ad681[_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b41b([0x2a]))||!!_0x5ad681[_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b41b([0x55,0x50,0x4c,0x43])));}function _0x253a5d(){const _0x4f78c3=_0xcbb465[_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f78c3||0x0==_0x4f78c3[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ef81c}=new URL(window[_0x34b41b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4f78c3[_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef81c))return!0x0;const _0xe50568=_0x1ef81c[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])](_0x34b41b([0x2e]));return _0x4f78c3[_0x34b41b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x554c09=>_0x554c09[_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b41b([0x2a])))[_0x34b41b([0x6d,0x61,0x70])](_0x485f1e=>_0x485f1e[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])](_0x34b41b([0x2e])))[_0x34b41b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x736821=>_0x736821[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe50568[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34b41b([0x6d,0x61,0x70])](_0x478461=>Array(_0xe50568[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x478461[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34b41b([0x66,0x69,0x6c,0x6c])](_0x478461[0x0]===_0x34b41b([0x2a])?_0x34b41b([0x2a]):'')[_0x34b41b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x478461))[_0x34b41b([0x73,0x6f,0x6d,0x65])](_0x251045=>_0xe50568[_0x34b41b([0x65,0x76,0x65,0x72,0x79])]((_0x1e2f6c,_0x3c5af1)=>_0x251045[_0x3c5af1]===_0x1e2f6c||_0x251045[_0x3c5af1]===_0x34b41b([0x2a])));}function _0x11d836(){return _0x1597f9&&_0x412054?new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46b0e8,_0x454d97)=>{_0x1597f9[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x46b0e8,_0x454d97),_0x412054[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x3650f3=>{_0x3650f3!=_0x34b41b([0x56,0x61,0x6c,0x69,0x64])&&_0x46b0e8(_0x3650f3);},_0x454d97);}):_0x1597f9||_0x412054||_0x34b41b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a1505(_0x33ae4a,_0x34f157){return new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f0194=>{if(_0xb55bb3())return _0x4f0194(_0x34b41b([0x56,0x61,0x6c,0x69,0x64]));_0x1e14d6(),_0x220238[_0x34b41b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34b41b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3fbda8=!0x1;const _0x3c0429=_0x5c4a34();function _0x173bcc(_0x112a17){return!!_0x112a17&&(typeof _0x112a17===_0x34b41b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x112a17===_0x34b41b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x112a17[_0x34b41b([0x74,0x68,0x65,0x6e])]===_0x34b41b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x112a17[_0x34b41b([0x63,0x61,0x74,0x63,0x68])]===_0x34b41b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x348112(_0x504058){_0x511522(_0x504058)[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x547fb5=>{if(!_0x547fb5||_0x547fb5[_0x34b41b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34b41b([0x6f,0x6b]))return _0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe1e4f2(_0x2cf64d(_0x3c0429+_0x34f157))!=_0x547fb5[_0x34b41b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34b41b([0x56,0x61,0x6c,0x69,0x64]);})[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x4281ac=>(_0x525a0f(),_0x4281ac),()=>{const _0x51c773=_0x189d9f();return null==_0x51c773?(_0x525a0f(),_0x34b41b([0x56,0x61,0x6c,0x69,0x64])):_0x34b41b(_0x38d7f4-_0x51c773>(0x7753083a^_0x4202e6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x4f0194)[_0x34b41b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f0194(_0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dfd2b=0x536962ba^_0x4202e6;function _0x525a0f(){const _0x8a829d=_0x34b41b([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1e4f2(_0x2cf64d(_0x33ae4a)),_0x479916=_0x38590c(_0xe1e4f2(window[_0x34b41b([0x4d,0x61,0x74,0x68])][_0x34b41b([0x63,0x65,0x69,0x6c])](_0x38d7f4/_0x5dfd2b)));window[_0x34b41b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34b41b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8a829d,_0x479916);}function _0x189d9f(){const _0x3a5f27=_0x34b41b([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1e4f2(_0x2cf64d(_0x33ae4a)),_0x37aca6=window[_0x34b41b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34b41b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a5f27);return _0x37aca6?window[_0x34b41b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38590c(_0x37aca6),0x10)*_0x5dfd2b:null;}function _0x511522(_0xb6b7ca){return new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36bb15,_0x2f1058)=>{_0xb6b7ca[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x36bb15,_0x2f1058),window[_0x34b41b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f1058,0x535e58fa^_0x4202e6);});}}_0x220238[_0x34b41b([0x6f,0x6e])](_0x34b41b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ea978,_0x4b678e)=>{if(_0x4b678e[0x0]!=_0x33ae4a)return _0x4f0194(_0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b678e[0x1]={..._0x4b678e[0x1],[_0x34b41b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c0429};},{[_0x34b41b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34b41b([0x68,0x69,0x67,0x68])}),_0x220238[_0x34b41b([0x6f,0x6e])](_0x34b41b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x14da7d=>{_0x173bcc(_0x14da7d[_0x34b41b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3fbda8=!0x0,_0x348112(_0x14da7d[_0x34b41b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34b41b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34b41b([0x6c,0x6f,0x77])}),_0x9c344e[_0x34b41b([0x74,0x68,0x65,0x6e])](()=>{_0x3fbda8||_0x4f0194(_0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb55bb3(){return _0x220238[_0x34b41b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34b41b([0x76,0x69,0x65,0x77])][_0x34b41b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34b41b([0x61,0x75,0x74,0x6f]);}function _0x1e14d6(){_0x220238[_0x34b41b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34b41b([0x76,0x69,0x65,0x77])][_0x34b41b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34b41b([0x61,0x75,0x74,0x6f]);}}function _0x4d4af2(_0x2ce693){const _0x11b800=[new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31c005=>setTimeout(_0x31c005,0x5356b2f6^_0x4202e6)),_0x9c344e[_0x34b41b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36c469=>{let _0x58ebdb=0x0;_0x220238[_0x34b41b([0x6d,0x6f,0x64,0x65,0x6c])][_0x34b41b([0x6f,0x6e])](_0x34b41b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x121df4,_0x15e43e)=>{_0x15e43e[0x0][_0x34b41b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58ebdb++,_0x58ebdb==(0x535f8dc2^_0x4202e6)&&(_0x36c469(),_0x121df4[_0x34b41b([0x6f,0x66,0x66])]());});}))];return window[_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34b41b([0x72,0x61,0x63,0x65])](_0x11b800)[_0x34b41b([0x74,0x68,0x65,0x6e])](()=>_0x2ce693);}async function _0x5c8016(){await _0x9c344e,_0x220238[_0x34b41b([0x6d,0x6f,0x64,0x65,0x6c])][_0x34b41b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a48a2,_0x220238[_0x34b41b([0x6d,0x6f,0x64,0x65,0x6c])][_0x34b41b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a48a2,_0x220238[_0x34b41b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34b41b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16a1e1(_0x4aebd7){const _0x186d41=_0x35e391();_0x220238[_0x186d41]=_0x34b41b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4aebd7,_0x4aebd7!=_0x34b41b([0x56,0x61,0x6c,0x69,0x64])&&_0x5c8016();}function _0x35e391(){const _0x444c17=window[_0x34b41b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34b41b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34b41b([0x6e,0x6f,0x77])]())[_0x34b41b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34b41b([0x2e]),'');let _0x37ae85=_0x34b41b([0x68]);for(let _0x4c8e2b=0x0;_0x4c8e2b<_0x444c17[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c8e2b+=0x2){let _0x48b596=window[_0x34b41b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x444c17[_0x34b41b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c8e2b,_0x4c8e2b+0x2));_0x48b596>=_0x44bcae[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48b596-=_0x44bcae[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37ae85+=_0x44bcae[_0x48b596];}return _0x37ae85;}function _0x18321a(){const _0xb78a45=_0x25ac24[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])](_0x34b41b([0x2e]));if(0x3!=_0xb78a45[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2826e5(_0xb78a45[0x1]);function _0x2826e5(_0x318c5a){const _0x5294f2=_0x2fd42f(_0x318c5a);return _0x5294f2&&_0x2e7527()?_0x5294f2:null;function _0x2e7527(){const _0x3ae6c1=_0x5294f2[_0x34b41b([0x6a,0x74,0x69])],_0x339581=window[_0x34b41b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ae6c1[_0x34b41b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ae6c1[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4040f0={..._0x5294f2,[_0x34b41b([0x6a,0x74,0x69])]:_0x3ae6c1[_0x34b41b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ae6c1[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4040f0[_0x34b41b([0x76,0x63])],_0x2cf64d(_0x4040f0)==_0x339581;}}}async function _0x11ea5f(){let _0xbb7447=!0x0;try{const _0x3a329f=_0x25ac24[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])](_0x34b41b([0x2e])),[_0x26003c,_0x395b44,_0x4d2b96]=_0x3a329f;return _0x2eb8fa(_0x26003c),await _0x4f2da8(_0x26003c,_0x395b44,_0x4d2b96),_0xbb7447;}catch{return!0x1;}function _0x2eb8fa(_0xcdcef){const _0x56b44d=_0x2fd42f(_0xcdcef);_0x56b44d&&_0x56b44d[_0x34b41b([0x61,0x6c,0x67])]==_0x34b41b([0x45,0x53,0x32,0x35,0x36])||(_0xbb7447=!0x1);}async function _0x4f2da8(_0x45789b,_0x24effd,_0x59caa9){const _0x9848c4=window[_0x34b41b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34b41b([0x66,0x72,0x6f,0x6d])](_0x326c1a(_0x59caa9),_0x1427c5=>_0x1427c5[_0x34b41b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc723a9=new window[(_0x34b41b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34b41b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45789b+_0x34b41b([0x2e])+_0x24effd),_0x43b806=window[_0x34b41b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34b41b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43b806)return;const _0x37800a=await _0x43b806[_0x34b41b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34b41b([0x6a,0x77,0x6b]),_0x3cc361,{[_0x34b41b([0x6e,0x61,0x6d,0x65])]:_0x34b41b([0x45,0x43,0x44,0x53,0x41]),[_0x34b41b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34b41b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34b41b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43b806[_0x34b41b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34b41b([0x6e,0x61,0x6d,0x65])]:_0x34b41b([0x45,0x43,0x44,0x53,0x41]),[_0x34b41b([0x68,0x61,0x73,0x68])]:{[_0x34b41b([0x6e,0x61,0x6d,0x65])]:_0x34b41b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37800a,_0x9848c4,_0xc723a9)||(_0xbb7447=!0x1);}}function _0x2fd42f(_0xc329cf){return _0xc329cf[_0x34b41b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34b41b([0x65,0x79]))?JSON[_0x34b41b([0x70,0x61,0x72,0x73,0x65])](_0x326c1a(_0xc329cf)):null;}function _0x326c1a(_0x1d1bb5){return window[_0x34b41b([0x61,0x74,0x6f,0x62])](_0x1d1bb5[_0x34b41b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34b41b([0x2b]))[_0x34b41b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34b41b([0x2f])));}function _0x2cf64d(_0x2fcf33){let _0x5b476a=0x1505;function _0x31f2e8(_0x449c6f){for(let _0xffd35d=0x0;_0xffd35d<_0x449c6f[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xffd35d++){const _0x2c916e=_0x449c6f[_0x34b41b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xffd35d);_0x5b476a=(_0x5b476a<<0x5)+_0x5b476a+_0x2c916e,_0x5b476a&=_0x5b476a;}}function _0x2fdd7a(_0x4a77f6){Array[_0x34b41b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a77f6)?_0x4a77f6[_0x34b41b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2fdd7a):_0x4a77f6&&typeof _0x4a77f6==_0x34b41b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34b41b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a77f6)[_0x34b41b([0x73,0x6f,0x72,0x74])]()[_0x34b41b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x544100,_0x2b54d4])=>{_0x31f2e8(_0x544100),_0x2fdd7a(_0x2b54d4);}):_0x31f2e8(window[_0x34b41b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a77f6));}return _0x2fdd7a(_0x2fcf33),_0x5b476a>>>0x0;}function _0xe1e4f2(_0x12bf85){return _0x12bf85[_0x34b41b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34b41b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34b41b([0x30]));}function _0x38590c(_0x4d9703){return _0x4d9703[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34b41b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34b41b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a48a2(){}function _0x34b41b(_0x28c83e){return _0x28c83e['map'](_0x1cb36b=>String['fromCharCode'](_0x1cb36b))['join']('');}_0x16a1e1(await _0xfd71b7());}(this);}['_initSchema'](){const _0x25988c=this['editor']['model']['schema'];_0x25988c['isRegistered']('imageBlock')&&_0x25988c['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x25988c['isRegistered']('imageInline')&&_0x25988c['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xa844d1=this['editor'];_0xa844d1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xa844d1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3d80ee=>_0x3d80ee['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1a88a6=_0xa844d1['commands']['get']('replaceImageSource');_0x1a88a6&&this['listenTo'](_0x1a88a6,'cleanupImage',(_0x3c65e1,[_0x30a79c,_0x59cc3d])=>{_0x30a79c['removeAttribute']('uploadcareImageId',_0x59cc3d);});}['_initConfig'](){const _0x5713be=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5797c3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x43e691(_0x49a30f['document'],'uc-config',{..._0x5713be,'pubkey':_0x5797c3,'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']=_0x37204a=>{if('closeMax'==_0x37204a)return'#uc-icon-arrow-down';},_0x49a30f['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x43e691(_0x49a30f['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x49a30f['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x14a9b=this['editor']['commands']['get']('insertImage');_0x14a9b&&this['listenTo'](_0x14a9b,'execute',()=>{const _0x440757=this['editor']['model']['document']['selection']['getSelectedElement']();_0x440757&&_0x440757['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x440757);});});const _0x507e50=this['editor']['commands']['get']('uploadcareImageReplace');_0x507e50&&this['listenTo'](_0x507e50,'execute',()=>{const _0x5f5358=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5f5358&&_0x5f5358['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5f5358);});});}}class tt extends _0x40a027{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x31013b){super(_0x31013b),_0x31013b['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2a9564['defineComponents'](_0x2a9564),this['_defineLocale']();}['_defineLocale'](){const _0x382a5e=this['editor']['config']['get']('uploadcare.locale'),_0x571e22=this['editor']['locale']['contentLanguage'];_0x382a5e&&_0x2a9564['defineLocale'](_0x571e22,_0x382a5e);}}class ii extends _0x255f97{constructor(_0x402c56){super(_0x402c56);const t=_0x402c56['t'],_0x42dc3c=this['bindTemplate'],_0x183635=new _0xae7dea();_0x183635['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':[_0x183635,{'text':_0x42dc3c['to']('imageUploadProgress',_0xad8e77=>t('Loading\x20image...')+'\x20('+(_0xad8e77||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 _0x255f97{constructor(_0xe2274e){super(_0xe2274e);const t=_0xe2274e['t'];this['set']('errorType',null);const _0x11abcc=new _0x23d61e(_0xe2274e);_0x11abcc['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x11abcc['withText']=!0x0,_0x11abcc['class']='ck-button-action',_0x11abcc['on']('execute',()=>{this['fire']('retry');}),_0x11abcc['bind']('isVisible')['to'](this,'errorType',_0x346e51=>'NotFound'!==_0x346e51);const _0x276de9=new _0x15cd82();_0x276de9['content']=_0x3f8c3e,_0x276de9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xd1c3bf=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':[_0x276de9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xd1c3bf['to']('errorType',_0x305db1=>t('NotFound'!==_0x305db1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x11abcc]},{'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 _0x255f97{constructor(_0x41b62f,_0x2f35d8){super(_0x41b62f);const _0xe0a618=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2f35d8,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xe0a618['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x512145,_0x26afae,_0x5b2dd6){super(_0x512145),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x512145),this['_errorView']=new ti(_0x512145),this['_editingView']=new ei(_0x512145,_0x5b2dd6),this['_focusableView']=new _0x255f97(_0x512145),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x26afae),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'],_0x35b364=>{this['_addUploadcareImageEditorListeners'](_0x35b364);});}),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'](_0x13e32d,_0xde4208){const _0x576c31='uc-cloud-image-editor',_0x587bcf=_0x13e32d['querySelector'](_0x576c31);if(_0x587bcf)return _0xde4208(_0x587bcf);const _0x552998=new MutationObserver(_0x1006b6=>{const _0x1e62ce=_0x1006b6['filter'](_0x2d1875=>_0x2d1875['target']===_0x13e32d&&_0x2d1875['addedNodes']['length']>0x0&&_0x2d1875['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x576c31);_0x1e62ce['length']&&(_0x552998['disconnect'](),_0xde4208(_0x1e62ce[0x0]['addedNodes'][0x0]));});_0x552998['observe'](_0x13e32d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4b4d7e){_0x4b4d7e['addEventListener']('apply',_0x5d2d77=>{this['fire']('apply',{'imageSrc':_0x5d2d77['detail']['cdnUrl']});}),_0x4b4d7e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x2308c3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2fa64e,_0x5dd14e,_0xec7a41){super(),this['_editor']=_0x2fa64e,this['_dialog']=_0x5dd14e,this['_imageElement']=_0xec7a41,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 _0x5910f8=this['_imageElement'],_0x3b6fcf=_0x5910f8['getAttribute']('uploadcareImageId'),_0xd27f22=_0x5910f8['getAttribute']('src');if(_0x3b6fcf)await this['_loadImageInfo'](_0x3b6fcf,_0xd27f22);else{if(this['_imageCache']['has'](_0xd27f22)){const _0x1b4a9f=this['_imageCache']['get'](_0xd27f22);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b4a9f['url'],this['imageDimension']=_0x1b4a9f['dimension'],this['imageId']=_0x1b4a9f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x48894e}=this['_editor'],t=_0x48894e['t'],_0x35dc20=new X(_0x48894e,this['imageStatus'],this['_attributes']);_0x35dc20['bind']('status')['to'](this,'imageStatus'),_0x35dc20['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x35dc20['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x35dc20['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x35dc20,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x21b4d9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x35dc20,'position':_0x2a21c1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x35dc20['focus']();},'onHide':()=>{_0x35dc20['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5a3354=>!A(_0x5a3354,_0x35dc20['element'])}});}['_loadImageInfo'](_0x2b34a5,_0x1957da){return j['getInfo'](_0x2b34a5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2e1918=>{const {width:_0x58ab0a,height:_0x383bac}=_0x2e1918['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1957da,this['imageDimension']={'width':_0x58ab0a,'height':_0x383bac},this['imageId']=_0x2b34a5;})['catch'](_0x22ba58=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22ba58['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2fd7c5,_0x15d3c5){return this['_getImageAsFile'](_0x2fd7c5)['then'](_0x130a24=>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':_0x15d3c5['signal'],'file':_0x130a24,'onProgress':_0x5c1fa5=>{_0x5c1fa5&&_0x5c1fa5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5c1fa5['value']));}}))['then'](_0x4774cd=>{const {width:_0x3bd90a,height:_0x162343}=_0x4774cd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4774cd['cdnUrl'],this['imageDimension']={'width':_0x3bd90a,'height':_0x162343},this['imageId']=_0x4774cd['uuid'],this['imageUploadProgress']=null;const _0x54f70f=_0x2fd7c5['getAttribute']('src');this['_imageCache']['set'](_0x54f70f,{'id':_0x4774cd['uuid'],'url':_0x4774cd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xdcbf41=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xdcbf41['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x28555c,_0x4957f4){_0x28555c['on']('apply',(_0x37f528,_0x40dbd9)=>{this['_replaceImage'](_0x4957f4,_0x40dbd9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x28555c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x28555c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x153a4c,_0xf8081e,_0x5c01e9){const _0x5ae3b8=this['_editor'],{width:_0x763fc1,height:_0x2feeed}=S(_0xf8081e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x431dae,imageSources:_0x3fa4ee}=C(_0xf8081e,_0x763fc1);_0x5ae3b8['model']['change'](_0x160622=>{if('$graveyard'===_0x153a4c['root']['rootName']){_0x5ae3b8['execute']('insertImage',{'imageType':_0x153a4c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x153a4c['getAttributes']()),'uploadcareImageId':_0x5c01e9,'src':_0x431dae,'sources':_0x3fa4ee,'width':_0x763fc1,'height':_0x2feeed}});const _0xdc6e80=_0x153a4c['getChildren']();_0x153a4c=_0x5ae3b8['model']['document']['selection']['getSelectedElement']();for(const _0x563b4e of _0xdc6e80)_0x160622['append'](_0x160622['cloneElement'](_0x563b4e),_0x153a4c);}else _0x160622['setSelection'](_0x153a4c,'on'),_0x5ae3b8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x153a4c['getAttributes']()),'uploadcareImageId':_0x5c01e9,'src':_0x431dae,'sources':_0x3fa4ee,'width':_0x763fc1,'height':_0x2feeed},_0x153a4c);_0x160622['setSelection'](_0x153a4c,'on');});}async['_getImageAsFile'](_0x1182ad){const _0x4c2c74=_0x49a30f['window'],_0x4446cb=_0x49a30f['document']['location']['href'],_0x405bd9=new _0x4c2c74['URL'](_0x1182ad['getAttribute']('src'),_0x4446cb);if('data:'===_0x405bd9['protocol']){const _0x47dbd1=_0x405bd9['href']['split'](','),_0x31b86b=_0x47dbd1[0x0]['match'](/:(.*?);/)[0x1],_0x31de62=_0x31b86b['split']('/')[0x1],_0x4281ef=_0x4c2c74['atob'](_0x47dbd1[_0x47dbd1['length']-0x1]);let _0x16e237=_0x4281ef['length'];const _0x3db92b=new _0x4c2c74['Uint8Array'](_0x16e237);for(;_0x16e237--;)_0x3db92b[_0x16e237]=_0x4281ef['charCodeAt'](_0x16e237);return new _0x4c2c74['File']([_0x3db92b],'image.'+_0x31de62,{'type':_0x31b86b});}const _0x3294be=_0x405bd9['href']['split']('/'),_0x310894=_0x3294be[_0x3294be['length']-0x1],_0x44ef4c=_0x310894['split']('.')[0x1];return _0x4c2c74['fetch'](_0x405bd9['href'])['then'](_0x3df063=>_0x3df063['clone']()['blob']())['then'](_0x4f76a2=>new _0x4c2c74['File']([_0x4f76a2],_0x310894,{'type':'image/'+_0x44ef4c}));}}class Q extends _0x1805a0{['imageEditController'];static get['requires'](){return[_0x54518c];}['_isEditable'];constructor(_0xec1ec){super(_0xec1ec),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x549e5a){const _0x14a8ea=z(_0x549e5a);return _0x3f98dc=>!(!_0x3f98dc||!_0x3f98dc['is']('element','imageBlock')&&!_0x3f98dc['is']('element','imageInline'))&&(!!_0x3f98dc['hasAttribute']('uploadcareImageId')||!!_0x3f98dc['hasAttribute']('src')&&_0x14a8ea(_0x3f98dc['getAttribute']('src')));}(_0xec1ec['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4a0143=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4a0143);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2553b1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2553b1&&(_0x2553b1['is']('element','imageBlock')||_0x2553b1['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x54518c),_0x2553b1),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x1805a0{['refresh'](){const _0x1b4f78=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1b4f78&&(_0x1b4f78['is']('element','imageBlock')||_0x1b4f78['is']('element','imageInline')));}['execute'](_0x16527a){const _0x475726=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x32e061=>{_0x32e061['setAttributes'](_0x16527a,_0x475726),_0x32e061['removeAttribute']('srcset',_0x475726),_0x32e061['removeAttribute']('sizes',_0x475726);});}}class m extends _0x40a027{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x450039,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a0af5}=this;_0x1a0af5['commands']['add']('uploadcareImageEdit',new Q(_0x1a0af5)),_0x1a0af5['commands']['add']('uploadcareImageReplace',new V(_0x1a0af5));}}class g extends _0x40a027{['_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 _0x5a23ee=this['editor'];_0x5a23ee['ui']['componentFactory']['add']('uploadcareImageEdit',_0x166975=>{const _0x240bfd=_0x5a23ee['commands']['get']('uploadcareImageEdit'),_0x45c452=new _0x23d61e(_0x166975),t=_0x166975['t'];return _0x45c452['set']({'icon':_0x21b4d9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x45c452['bind']('isEnabled')['to'](_0x240bfd),_0x45c452['bind']('isOn')['to'](_0x240bfd,'isActive'),this['listenTo'](_0x45c452,'execute',()=>{_0x5a23ee['execute']('uploadcareImageEdit'),_0x5a23ee['editing']['view']['focus']();}),_0x45c452;}),this['_initConfig']();}['_initConfig'](){const _0x541995=_0x43e691(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x541995),this['listenTo'](this['editor'],'destroy',()=>{_0x541995['remove']();});}}class et extends _0x40a027{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 _0x9edcba,Command as _0x29c7ff}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x234ec2,IconGooglePhotos as _0x197806,IconGoogleDrive as _0x361a87,IconFacebook as _0x9bdb1f,IconDropbox as _0x15e84f,IconUploadcareLink as _0xc4de25,IconUploadcareImageUpload as _0x3b887d,IconError as _0x559812,IconUploadcareImageEdit as _0x5ee898}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x570821,MenuBarMenuListItemButtonView as _0x13a2c9,View as _0x130440,FocusCycler as _0x12a9ca,Dialog as _0xadced8,DialogViewPosition as _0x333918,SpinnerView as _0xca99f9,IconView as _0x3a5aaf,Notification as _0x284348}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2183e0,DomEmitterMixin as _0x4c5504,global as _0x206eec,getAncestors as _0x2b9835,ObservableMixin as _0xc15507,uid as _0x4c6026,createElement as _0x3bf56a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2c0cb1}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x21c228,info as _0x6faec4}from'@uploadcare/upload-client';import*as _0x5b0283 from'@uploadcare/file-uploader';var i=function(_0x15e9e1){return _0x15e9e1['Local']='local',_0x15e9e1['URL']='url',_0x15e9e1['Dropbox']='dropbox',_0x15e9e1['GDrive']='gdrive',_0x15e9e1['Facebook']='facebook',_0x15e9e1['GPhotos']='gphotos',_0x15e9e1['OneDrive']='onedrive',_0x15e9e1;}({});function _(_0x11ce6d,_0x21face,_0xc1f1c1){const t=_0x11ce6d['t'],_0x4dda94=_0x11ce6d['t'];switch(_0x21face){case i['Local']:return{'text':_0x4dda94('Insert'===_0xc1f1c1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4dda94('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xc1f1c1?_0x4dda94('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4dda94('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xc1f1c1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x21face;}}class e extends _0x9edcba{['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 _0x77f7b2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e0bed;for(const _0x1eb0b5 in _0x77f7b2){const _0x192a26=_0x1eb0b5,_0x17df52=_0x77f7b2[_0x192a26];if('uploadcareLicenseKeyValid'==_0x17df52||'uploadcareLicenseKeyInvalid'==_0x17df52||'uploadcareLicenseKeyExpired'==_0x17df52||'uploadcareLicenseKeyDomainLimit'==_0x17df52||'uploadcareLicenseKeyNotAllowed'==_0x17df52||'uploadcareLicenseKeyEvaluationLimit'==_0x17df52||'uploadcareLicenseKeyTrialLimit'==_0x17df52||'uploadcareLicenseKeyUsageLimit'==_0x17df52){delete _0x77f7b2[_0x192a26],_0x3e0bed=_0x17df52,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3e0bed&&_0x77f7b2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5ec2d0}=this,_0x139aa8=_0x5ec2d0['commands']['get']('uploadcare');if(!_0x139aa8)return;const _0x3a9ff7=this['_normalizeConfigSourceList'](_0x5ec2d0['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2ba288,_0x4a4e4e)=>{const _0x56d218=this['_getIntegrationKey'](_0x4a4e4e['type']);return _0x2ba288[_0x56d218]||(_0x2ba288[_0x56d218]=[]),_0x2ba288[_0x56d218]['push'](_0x4a4e4e),_0x2ba288;},{});_0x5ec2d0['plugins']['has']('ImageInsertUI')&&_0x5ec2d0['commands']['get']('uploadcare')&&Object['entries'](_0x3a9ff7)['forEach'](([_0x184f1b,_0x161bdd])=>{_0x5ec2d0['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x184f1b,'observable':()=>_0x139aa8,'buttonViewCreator':()=>this['_createToolbarButton'](_0x161bdd),'formViewCreator':()=>this['_createDropdownButtons'](_0x161bdd),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x161bdd),'override':'assetManager'!==_0x184f1b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3cf272){const {locale:_0x47ca47}=this['editor'];return _0x3cf272['map'](_0x379ae9=>{const _0x235f99=_(_0x47ca47,_0x379ae9,'Insert');switch(_0x379ae9){case i['Local']:return{'icon':_0x3b887d,'type':i['Local'],..._0x235f99};case i['URL']:return{'icon':_0xc4de25,'type':i['URL'],..._0x235f99};case i['Dropbox']:return{'icon':_0x15e84f,'type':i['Dropbox'],..._0x235f99};case i['Facebook']:return{'icon':_0x9bdb1f,'type':i['Facebook'],..._0x235f99};case i['GDrive']:return{'icon':_0x361a87,'type':i['GDrive'],..._0x235f99};case i['GPhotos']:return{'icon':_0x197806,'type':i['GPhotos'],..._0x235f99};case i['OneDrive']:return{'icon':_0x234ec2,'type':i['OneDrive'],..._0x235f99};}});}['_getIntegrationKey'](_0x45fa4b){switch(_0x45fa4b){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5a77bf,_0x28d1ac){const _0x55c2a5=this['editor'],_0x611b86=new _0x5a77bf(_0x55c2a5['locale']),_0x3a8485=_0x55c2a5['commands']['get']('uploadcare');return _0x611b86['bind']('isEnabled')['to'](_0x3a8485),_0x611b86['on']('execute',()=>{_0x3a8485['execute'](_0x28d1ac);}),_0x611b86;}['_createToolbarButton'](_0x3c1e90){const {locale:_0x198e35}=this['editor'],_0x468bb4=this['editor']['plugins']['get']('ImageInsertUI'),_0x463267=_0x3c1e90[0x0],_0x5b5a8a=this['_createButton'](_0x570821,_0x463267['type']);return _0x5b5a8a['icon']=_0x463267['icon'],_0x5b5a8a['bind']('label')['to'](_0x468bb4,'isImageSelected',_0x2f8265=>_(_0x198e35,_0x463267['type'],_0x2f8265?'Replace':'Insert')['text']),_0x5b5a8a['tooltip']=!0x0,_0x5b5a8a;}['_createDropdownButtons'](_0xb2ab37){const {locale:_0x4d9933}=this['editor'],_0x1d0c22=this['editor']['plugins']['get']('ImageInsertUI');return _0xb2ab37['map'](_0x32c976=>{const _0x4a7131=this['_createButton'](_0x570821,_0x32c976['type']);return _0x4a7131['withText']=!0x0,_0x4a7131['icon']=_0x32c976['icon'],_0x4a7131['bind']('label')['to'](_0x1d0c22,'isImageSelected',_0x38a9c9=>_(_0x4d9933,_0x32c976['type'],_0x38a9c9?'Replace':'Insert')['text']),_0x4a7131;});}['_createMenuBarButtons'](_0x556a93){return _0x556a93['map'](_0xceacac=>{const _0x2c6af5=this['_createButton'](_0x13a2c9,_0xceacac['type']);return _0x2c6af5['icon']=_0xceacac['icon'],_0x2c6af5['label']=_0xceacac['shortText'],_0x2c6af5;});}}class F extends _0x130440{['focusTracker'];['focusCycler'];constructor(_0x54bf3e){super(_0x54bf3e),this['focusTracker']=new _0x2183e0(),this['focusCycler']=new _0x12a9ca({'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(_0x34ba71,_0xbc084f){super(_0x34ba71),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-'+_0xbc084f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x258035,_0x561e90){const _0x300999=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x35855f=>_0x35855f<=_0x561e90)['map'](_0x10f2fd=>_0x258035['replace'](/\/$/,'')+'/-/resize/'+_0x10f2fd+'x/\x20'+_0x10f2fd+'w');return{'imageFallbackUrl':_0x258035,'imageSources':[{'srcset':_0x300999['join'](',\x20'),'sizes':'(max-width:\x20'+_0x561e90+'px)\x20100vw,\x20'+_0x561e90+'px','type':'image/webp'}]};}function S(_0x4141b8,_0x582616,_0x4bd4cd){const _0xc8f95=_0x4141b8['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xc8f95?parseInt(_0xc8f95[0x1],0xa):_0x582616,'height':_0xc8f95?parseInt(_0xc8f95[0x2],0xa):_0x4bd4cd};}function p(_0x3a323b,_0x3cd8f6){const _0x2baa9e=new(_0x4c5504())(),_0x74391c=_0x3a323b['plugins']['get']('ImageUtils'),_0x3efdfe=_0x3a323b['editing']['mapper']['toViewElement'](_0x3cd8f6),_0x857966=_0x74391c['findViewImgElement'](_0x3efdfe),_0x2c18d5=_0x3a323b['editing']['view']['domConverter']['viewToDom'](_0x857966),_0x4fff67=_0x3cd8f6['getAttribute']('width'),_0x176a8c=_0x3cd8f6['getAttribute']('height'),_0x1489ff='image-processing';_0x3a323b['editing']['view']['change'](_0x26d45f=>{_0x26d45f['addClass'](_0x1489ff,_0x3efdfe),_0x26d45f['setStyle']('aspect-ratio',_0x4fff67+'/'+_0x176a8c,_0x857966);}),_0x2baa9e['listenTo'](_0x2c18d5,'load',()=>{_0x2baa9e['stopListening'](_0x2c18d5,'load'),_0x3a323b['editing']['view']['change'](_0x1fd7d3=>{_0x1fd7d3['removeClass'](_0x1489ff,_0x3efdfe),_0x1fd7d3['removeStyle']('aspect-ratio',_0x857966);});});}function G(_0x44a076){if(Array['isArray'](_0x44a076)){const _0x237344=_0x44a076['map'](G);return _0x463667=>_0x237344['some'](_0x3e82ef=>_0x3e82ef(_0x463667));}if('origin'==_0x44a076){const _0x5200c6=_0x206eec['window']['location']['origin'];return _0x38306d=>new URL(_0x38306d,_0x206eec['document']['baseURI'])['origin']==_0x5200c6;}return'function'==typeof _0x44a076?_0x44a076:_0x44a076 instanceof RegExp?_0x142ac6=>!(!_0x142ac6['match'](_0x44a076)&&!_0x142ac6['replace'](/^https?:\/\//,'')['match'](_0x44a076)):()=>!0x1;}function A(_0x30a96d,_0x4f33a5){return _0x2b9835(_0x30a96d['target'])['includes'](_0x4f33a5);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xc15507(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2199dc,_0x215c08,_0x29c298){super(),this['_editor']=_0x2199dc,this['_editing']=_0x215c08,this['_dialog']=_0x2199dc['plugins']['get'](_0xadced8),this['_api']=_0x215c08['ctxElement']['getAPI'](),this['_type']=_0x29c298,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:_0x2eddec,model:_0x4fd0e0}=this['_editor'],_0x50b9fc=_0x4fd0e0['document']['selection']['getSelectedElement'](),_0x77d2bd=_0x50b9fc&&(_0x50b9fc['is']('element','imageBlock')||_0x50b9fc['is']('element','imageInline'));this['_formView']=new x(_0x2eddec,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3b887d,'title':_(_0x2eddec,this['_type'],_0x77d2bd?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x333918['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28b382=>!A(_0x28b382,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5f4966}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x301778=>{const _0x378c89=_0x5f4966['length'];for(const _0x3fd3ba of _0x5f4966){const _0xece680=_0x3fd3ba===_0x5f4966[_0x378c89-0x1],{cdnUrl:_0x5e1cd4,fileInfo:_0x507ee2}=_0x3fd3ba;if(!_0x5e1cd4||!_0x507ee2)continue;const {width:_0x4d759f,height:_0x239397}=_0x507ee2['imageInfo'],_0x56ec8e=S(_0x5e1cd4,_0x4d759f,_0x239397),_0x38c0bb=C(_0x5e1cd4,_0x56ec8e['width']),_0x56a4ea={'id':_0x507ee2['uuid'],'type':'image','attributes':{'imageDimension':_0x56ec8e,..._0x38c0bb}};this['_insertAsset'](_0x56a4ea,_0xece680,_0x301778);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x59d5f2=>{'idle'===_0x59d5f2['detail']['status']&&!_0x59d5f2['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x35eeb8,_0x155478,_0x354255){const _0x153123=this['_editor']['model']['document']['selection'],_0x586796=_0x153123['getSelectedElement'](),_0xd45383=!(!_0x586796||!_0x586796['is']('element','imageInline'));_0x354255['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x35eeb8,_0xd45383),_0x155478||_0x354255['setSelection'](_0x153123['getLastPosition']());}['_insertImage'](_0x9cfc06,_0x568cf6){const _0x593537=this['_editor'],{imageDimension:_0x5ec548,imageFallbackUrl:_0x4fd20a,imageSources:_0x52aced}=_0x9cfc06['attributes'];_0x593537['execute']('insertImage',{'imageType':_0x568cf6?'imageInline':null,'source':{'uploadcareImageId':_0x9cfc06['id'],'src':_0x4fd20a,'sources':_0x52aced,..._0x5ec548}});}}class w extends _0x29c7ff{['_editing'];['_controller']=null;static get['requires'](){return[_0xadced8,o];}constructor(_0x4f08da){super(_0x4f08da),this['_editing']=_0x4f08da['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x547b48){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x547b48);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5dada4,..._0x1dd5c2}){return _0x21c228(_0x5dada4,_0x1dd5c2);}static['getInfo'](_0x5aa8b2,_0x387c3f){return _0x6faec4(_0x5aa8b2,_0x387c3f);}}class f extends _0x9edcba{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2c0cb1,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x7cf5fb=this['editor'];if(!!!_0x7cf5fb['config']['get']('uploadcare'))return;_0x7cf5fb['plugins']['get'](_0x2c0cb1)['createUploadAdapter']=_0x15ed57=>new k(_0x15ed57,_0x7cf5fb),_0x7cf5fb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x78c94f,{imageElement:_0x20358e,data:_0x4335b7})=>{_0x7cf5fb['model']['change'](_0x67f6fa=>{_0x67f6fa['setAttribute']('uploadcareImageId',_0x4335b7['uploadcareImageId'],_0x20358e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1effd6,_0x5b2208){this['loader']=_0x1effd6,this['editor']=_0x5b2208,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x550264=await this['loader']['file'];return j['upload']({'file':_0x550264,'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':_0x5d1865=>{_0x5d1865&&_0x5d1865['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5d1865['value']);}})['then'](async _0x3028e5=>{const {imageFallbackUrl:_0x37677e,imageSources:_0x16c395}=C(_0x3028e5['cdnUrl'],_0x3028e5['imageInfo']['width']);return{'uploadcareImageId':_0x3028e5['uuid'],'default':_0x37677e,'sources':_0x16c395};})['catch'](()=>{const _0x249e50=t('Cannot\x20upload\x20file:')+('\x20'+_0x550264['name']+'.');return Promise['reject'](_0x249e50);});}['abort'](){this['controller']['abort']();}}class o extends _0x9edcba{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xadced8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1a1bdc){super(_0x1a1bdc),this['ucContextId']=_0x4c6026();}['init'](){const _0x33c1a9=this['editor'];_0x33c1a9['commands']['add']('uploadcare',new w(_0x33c1a9));}['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 _0x40aca8=_0x206eec['document']['querySelector']('input[uploadcare-file-input]');_0x40aca8&&_0x40aca8['remove']();}),async function(_0x3e3def){const _0x52213f=_0x31cfb9([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]),_0x1612f3=0x535f8c3a,_0x20de88=0x5358f60a^_0x1612f3,_0x16e63b=window[_0x31cfb9([0x44,0x61,0x74,0x65])][_0x31cfb9([0x6e,0x6f,0x77])](),_0x556efe=_0x3e3def[_0x31cfb9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x235b50=new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3db636=>{_0x556efe[_0x31cfb9([0x6f,0x6e,0x63,0x65])](_0x31cfb9([0x72,0x65,0x61,0x64,0x79]),_0x3db636);}),_0x2cb5ef={[_0x31cfb9([0x6b,0x74,0x79])]:_0x31cfb9([0x45,0x43]),[_0x31cfb9([0x75,0x73,0x65])]:_0x31cfb9([0x73,0x69,0x67]),[_0x31cfb9([0x63,0x72,0x76])]:_0x31cfb9([0x50,0x2d,0x32,0x35,0x36]),[_0x31cfb9([0x78])]:_0x31cfb9([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]),[_0x31cfb9([0x79])]:_0x31cfb9([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]),[_0x31cfb9([0x61,0x6c,0x67])]:_0x31cfb9([0x45,0x53,0x32,0x35,0x36])},_0x37dc6f=_0x556efe[_0x31cfb9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31cfb9([0x67,0x65,0x74])](_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3436b9(){let _0x27bebd,_0x3c2903=null,_0x1dfa46=null;try{if(_0x37dc6f==_0x31cfb9([0x47,0x50,0x4c]))return _0x31cfb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27bebd=_0x2fb6ce(),!_0x27bebd)return _0x31cfb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27bebd[_0x31cfb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1dfa46=_0x12fd5b(_0x27bebd[_0x31cfb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27bebd[_0x31cfb9([0x6a,0x74,0x69])])),await _0x567b68()?_0x551b92()?_0x5e7ccf()?_0x31cfb9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1819fd()?(_0x27bebd[_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31cfb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c2903=_0x4f46c3(_0x31cfb9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27bebd[_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31cfb9([0x74,0x72,0x69,0x61,0x6c])&&(_0x3c2903=_0x4f46c3(_0x31cfb9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38363e()):_0x31cfb9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31cfb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31cfb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31cfb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e7ccf(){const _0x1c3315=[_0x31cfb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31cfb9([0x74,0x72,0x69,0x61,0x6c])][_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27bebd[_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16e63b/0x3e8:0xe10*_0x20de88;return _0x27bebd[_0x31cfb9([0x65,0x78,0x70])]<_0x1c3315;}function _0x551b92(){const _0x79bf3=_0x27bebd[_0x31cfb9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x79bf3&&(!!_0x79bf3[_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31cfb9([0x2a]))||!!_0x79bf3[_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31cfb9([0x55,0x50,0x4c,0x43])));}function _0x1819fd(){const _0x164a61=_0x27bebd[_0x31cfb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x164a61||0x0==_0x164a61[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8f3e93}=new URL(window[_0x31cfb9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x164a61[_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8f3e93))return!0x0;const _0x37b93b=_0x8f3e93[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])](_0x31cfb9([0x2e]));return _0x164a61[_0x31cfb9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8445a5=>_0x8445a5[_0x31cfb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31cfb9([0x2a])))[_0x31cfb9([0x6d,0x61,0x70])](_0x1ba428=>_0x1ba428[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])](_0x31cfb9([0x2e])))[_0x31cfb9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13f2ff=>_0x13f2ff[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x37b93b[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31cfb9([0x6d,0x61,0x70])](_0x2193dd=>Array(_0x37b93b[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2193dd[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31cfb9([0x66,0x69,0x6c,0x6c])](_0x2193dd[0x0]===_0x31cfb9([0x2a])?_0x31cfb9([0x2a]):'')[_0x31cfb9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2193dd))[_0x31cfb9([0x73,0x6f,0x6d,0x65])](_0x5e0fa4=>_0x37b93b[_0x31cfb9([0x65,0x76,0x65,0x72,0x79])]((_0x4f9a92,_0x43b4dc)=>_0x5e0fa4[_0x43b4dc]===_0x4f9a92||_0x5e0fa4[_0x43b4dc]===_0x31cfb9([0x2a])));}function _0x38363e(){return _0x3c2903&&_0x1dfa46?new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdd389e,_0x1f6ef9)=>{_0x3c2903[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0xdd389e,_0x1f6ef9),_0x1dfa46[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x219662=>{_0x219662!=_0x31cfb9([0x56,0x61,0x6c,0x69,0x64])&&_0xdd389e(_0x219662);},_0x1f6ef9);}):_0x3c2903||_0x1dfa46||_0x31cfb9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12fd5b(_0x210fa0,_0xc49382){return new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c7ac5=>{if(_0x55e129())return _0x4c7ac5(_0x31cfb9([0x56,0x61,0x6c,0x69,0x64]));_0x2844d8(),_0x556efe[_0x31cfb9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31cfb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x261d65=!0x1;const _0x5d2be6=_0x4c6026();function _0x1f31bd(_0x191672){return!!_0x191672&&(typeof _0x191672===_0x31cfb9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x191672===_0x31cfb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x191672[_0x31cfb9([0x74,0x68,0x65,0x6e])]===_0x31cfb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x191672[_0x31cfb9([0x63,0x61,0x74,0x63,0x68])]===_0x31cfb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x469d61(_0x327e9b){_0xf8d9eb(_0x327e9b)[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x578007=>{if(!_0x578007||_0x578007[_0x31cfb9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31cfb9([0x6f,0x6b]))return _0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33a1ab(_0x44c779(_0x5d2be6+_0xc49382))!=_0x578007[_0x31cfb9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31cfb9([0x56,0x61,0x6c,0x69,0x64]);})[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x59ccd8=>(_0x8ab0f5(),_0x59ccd8),()=>{const _0x2cbfc8=_0x1e6baa();return null==_0x2cbfc8?(_0x8ab0f5(),_0x31cfb9([0x56,0x61,0x6c,0x69,0x64])):_0x31cfb9(_0x16e63b-_0x2cbfc8>(0x7753083a^_0x1612f3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x4c7ac5)[_0x31cfb9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c7ac5(_0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f6a1a=0x536962ba^_0x1612f3;function _0x8ab0f5(){const _0x462896=_0x31cfb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x33a1ab(_0x44c779(_0x210fa0)),_0xa6426c=_0x3a9c26(_0x33a1ab(window[_0x31cfb9([0x4d,0x61,0x74,0x68])][_0x31cfb9([0x63,0x65,0x69,0x6c])](_0x16e63b/_0x2f6a1a)));window[_0x31cfb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31cfb9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x462896,_0xa6426c);}function _0x1e6baa(){const _0x1c6004=_0x31cfb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x33a1ab(_0x44c779(_0x210fa0)),_0x1be098=window[_0x31cfb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31cfb9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c6004);return _0x1be098?window[_0x31cfb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a9c26(_0x1be098),0x10)*_0x2f6a1a:null;}function _0xf8d9eb(_0x277539){return new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x542f66,_0x5bffcd)=>{_0x277539[_0x31cfb9([0x74,0x68,0x65,0x6e])](_0x542f66,_0x5bffcd),window[_0x31cfb9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5bffcd,0x535e58fa^_0x1612f3);});}}_0x556efe[_0x31cfb9([0x6f,0x6e])](_0x31cfb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e64d9,_0x34d3b8)=>{if(_0x34d3b8[0x0]!=_0x210fa0)return _0x4c7ac5(_0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34d3b8[0x1]={..._0x34d3b8[0x1],[_0x31cfb9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d2be6};},{[_0x31cfb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31cfb9([0x68,0x69,0x67,0x68])}),_0x556efe[_0x31cfb9([0x6f,0x6e])](_0x31cfb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a0c39=>{_0x1f31bd(_0x2a0c39[_0x31cfb9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x261d65=!0x0,_0x469d61(_0x2a0c39[_0x31cfb9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31cfb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31cfb9([0x6c,0x6f,0x77])}),_0x235b50[_0x31cfb9([0x74,0x68,0x65,0x6e])](()=>{_0x261d65||_0x4c7ac5(_0x31cfb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x55e129(){return _0x556efe[_0x31cfb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31cfb9([0x76,0x69,0x65,0x77])][_0x31cfb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31cfb9([0x61,0x75,0x74,0x6f]);}function _0x2844d8(){_0x556efe[_0x31cfb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31cfb9([0x76,0x69,0x65,0x77])][_0x31cfb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31cfb9([0x61,0x75,0x74,0x6f]);}}function _0x4f46c3(_0x1da464){const _0x1971c8=[new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x400de2=>setTimeout(_0x400de2,0x5356b2f6^_0x1612f3)),_0x235b50[_0x31cfb9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x210bec=>{let _0x3048ed=0x0;_0x556efe[_0x31cfb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x31cfb9([0x6f,0x6e])](_0x31cfb9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44a5d0,_0x333ec9)=>{_0x333ec9[0x0][_0x31cfb9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3048ed++,_0x3048ed==(0x535f8dc2^_0x1612f3)&&(_0x210bec(),_0x44a5d0[_0x31cfb9([0x6f,0x66,0x66])]());});}))];return window[_0x31cfb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31cfb9([0x72,0x61,0x63,0x65])](_0x1971c8)[_0x31cfb9([0x74,0x68,0x65,0x6e])](()=>_0x1da464);}async function _0xc4712e(){await _0x235b50,_0x556efe[_0x31cfb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x31cfb9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d0894,_0x556efe[_0x31cfb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x31cfb9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d0894,_0x556efe[_0x31cfb9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31cfb9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29f4e8(_0x2701fa){const _0x56f25a=_0x4eb6e2();_0x556efe[_0x56f25a]=_0x31cfb9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2701fa,_0x2701fa!=_0x31cfb9([0x56,0x61,0x6c,0x69,0x64])&&_0xc4712e();}function _0x4eb6e2(){const _0x90a60e=window[_0x31cfb9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31cfb9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31cfb9([0x6e,0x6f,0x77])]())[_0x31cfb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31cfb9([0x2e]),'');let _0x540667=_0x31cfb9([0x68]);for(let _0x26c4d7=0x0;_0x26c4d7<_0x90a60e[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26c4d7+=0x2){let _0x5e0b0a=window[_0x31cfb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x90a60e[_0x31cfb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26c4d7,_0x26c4d7+0x2));_0x5e0b0a>=_0x52213f[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e0b0a-=_0x52213f[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x540667+=_0x52213f[_0x5e0b0a];}return _0x540667;}function _0x2fb6ce(){const _0x49d63d=_0x37dc6f[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])](_0x31cfb9([0x2e]));if(0x3!=_0x49d63d[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x262e5e(_0x49d63d[0x1]);function _0x262e5e(_0xd0dc03){const _0xd2e8d4=_0xadaaf6(_0xd0dc03);return _0xd2e8d4&&_0x129a85()?_0xd2e8d4:null;function _0x129a85(){const _0xef8314=_0xd2e8d4[_0x31cfb9([0x6a,0x74,0x69])],_0x421ee4=window[_0x31cfb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xef8314[_0x31cfb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xef8314[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2bfb9f={..._0xd2e8d4,[_0x31cfb9([0x6a,0x74,0x69])]:_0xef8314[_0x31cfb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xef8314[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2bfb9f[_0x31cfb9([0x76,0x63])],_0x44c779(_0x2bfb9f)==_0x421ee4;}}}async function _0x567b68(){let _0x17acb7=!0x0;try{const _0x2505fe=_0x37dc6f[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])](_0x31cfb9([0x2e])),[_0x200073,_0x2b3d85,_0x2da1e7]=_0x2505fe;return _0x4dece8(_0x200073),await _0x338981(_0x200073,_0x2b3d85,_0x2da1e7),_0x17acb7;}catch{return!0x1;}function _0x4dece8(_0x25e366){const _0x52e032=_0xadaaf6(_0x25e366);_0x52e032&&_0x52e032[_0x31cfb9([0x61,0x6c,0x67])]==_0x31cfb9([0x45,0x53,0x32,0x35,0x36])||(_0x17acb7=!0x1);}async function _0x338981(_0x51a0e7,_0x55ea06,_0x458237){const _0x2b461d=window[_0x31cfb9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31cfb9([0x66,0x72,0x6f,0x6d])](_0x307dfd(_0x458237),_0x522098=>_0x522098[_0x31cfb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5df8a2=new window[(_0x31cfb9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31cfb9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51a0e7+_0x31cfb9([0x2e])+_0x55ea06),_0x1e2cf2=window[_0x31cfb9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31cfb9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e2cf2)return;const _0x3ed9bf=await _0x1e2cf2[_0x31cfb9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31cfb9([0x6a,0x77,0x6b]),_0x2cb5ef,{[_0x31cfb9([0x6e,0x61,0x6d,0x65])]:_0x31cfb9([0x45,0x43,0x44,0x53,0x41]),[_0x31cfb9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31cfb9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31cfb9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e2cf2[_0x31cfb9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31cfb9([0x6e,0x61,0x6d,0x65])]:_0x31cfb9([0x45,0x43,0x44,0x53,0x41]),[_0x31cfb9([0x68,0x61,0x73,0x68])]:{[_0x31cfb9([0x6e,0x61,0x6d,0x65])]:_0x31cfb9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ed9bf,_0x2b461d,_0x5df8a2)||(_0x17acb7=!0x1);}}function _0xadaaf6(_0x36ee82){return _0x36ee82[_0x31cfb9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31cfb9([0x65,0x79]))?JSON[_0x31cfb9([0x70,0x61,0x72,0x73,0x65])](_0x307dfd(_0x36ee82)):null;}function _0x307dfd(_0x5c3208){return window[_0x31cfb9([0x61,0x74,0x6f,0x62])](_0x5c3208[_0x31cfb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31cfb9([0x2b]))[_0x31cfb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31cfb9([0x2f])));}function _0x44c779(_0x290bef){let _0x46d2a1=0x1505;function _0x5ddf92(_0x5cdc70){for(let _0x67afdf=0x0;_0x67afdf<_0x5cdc70[_0x31cfb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x67afdf++){const _0x15ef5f=_0x5cdc70[_0x31cfb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x67afdf);_0x46d2a1=(_0x46d2a1<<0x5)+_0x46d2a1+_0x15ef5f,_0x46d2a1&=_0x46d2a1;}}function _0x54b26f(_0x21c2c0){Array[_0x31cfb9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x21c2c0)?_0x21c2c0[_0x31cfb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54b26f):_0x21c2c0&&typeof _0x21c2c0==_0x31cfb9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31cfb9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x21c2c0)[_0x31cfb9([0x73,0x6f,0x72,0x74])]()[_0x31cfb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x999988,_0x2c16ad])=>{_0x5ddf92(_0x999988),_0x54b26f(_0x2c16ad);}):_0x5ddf92(window[_0x31cfb9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x21c2c0));}return _0x54b26f(_0x290bef),_0x46d2a1>>>0x0;}function _0x33a1ab(_0x32ac97){return _0x32ac97[_0x31cfb9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31cfb9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31cfb9([0x30]));}function _0x3a9c26(_0x386936){return _0x386936[_0x31cfb9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31cfb9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31cfb9([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d0894(){}function _0x31cfb9(_0x9360ed){return _0x9360ed['map'](_0x3aca29=>String['fromCharCode'](_0x3aca29))['join']('');}_0x29f4e8(await _0x3436b9());}(this);}['_initSchema'](){const _0x1f317e=this['editor']['model']['schema'];_0x1f317e['isRegistered']('imageBlock')&&_0x1f317e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1f317e['isRegistered']('imageInline')&&_0x1f317e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x55cb92=this['editor'];_0x55cb92['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x55cb92['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x25ee45=>_0x25ee45['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x32e76c=_0x55cb92['commands']['get']('replaceImageSource');_0x32e76c&&this['listenTo'](_0x32e76c,'cleanupImage',(_0x33cd58,[_0x35261f,_0x455204])=>{_0x35261f['removeAttribute']('uploadcareImageId',_0x455204);});}['_initConfig'](){const _0x413519=this['editor']['config']['get']('uploadcare.uploader')||{},_0x598d3f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3bf56a(_0x206eec['document'],'uc-config',{..._0x413519,'pubkey':_0x598d3f,'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']=_0x574445=>{if('closeMax'==_0x574445)return'#uc-icon-arrow-down';},_0x206eec['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3bf56a(_0x206eec['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x206eec['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3de974=this['editor']['commands']['get']('insertImage');_0x3de974&&this['listenTo'](_0x3de974,'execute',()=>{const _0xe2a946=this['editor']['model']['document']['selection']['getSelectedElement']();_0xe2a946&&_0xe2a946['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xe2a946);});});const _0x2c21f2=this['editor']['commands']['get']('uploadcareImageReplace');_0x2c21f2&&this['listenTo'](_0x2c21f2,'execute',()=>{const _0x58c252=this['editor']['model']['document']['selection']['getSelectedElement']();_0x58c252&&_0x58c252['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x58c252);});});}}class tt extends _0x9edcba{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x30b2d7){super(_0x30b2d7),_0x30b2d7['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5b0283['defineComponents'](_0x5b0283),this['_defineLocale']();}['_defineLocale'](){const _0x1a78f0=this['editor']['config']['get']('uploadcare.locale'),_0x4d13d9=this['editor']['locale']['contentLanguage'];_0x1a78f0&&_0x5b0283['defineLocale'](_0x4d13d9,_0x1a78f0);}}class ii extends _0x130440{constructor(_0x2f18ce){super(_0x2f18ce);const t=_0x2f18ce['t'],_0x131466=this['bindTemplate'],_0x40fd42=new _0xca99f9();_0x40fd42['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':[_0x40fd42,{'text':_0x131466['to']('imageUploadProgress',_0x12b983=>t('Loading\x20image...')+'\x20('+(_0x12b983||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 _0x130440{constructor(_0x3c3950){super(_0x3c3950);const t=_0x3c3950['t'];this['set']('errorType',null);const _0x248aea=new _0x570821(_0x3c3950);_0x248aea['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x248aea['withText']=!0x0,_0x248aea['class']='ck-button-action',_0x248aea['on']('execute',()=>{this['fire']('retry');}),_0x248aea['bind']('isVisible')['to'](this,'errorType',_0xf182d8=>'NotFound'!==_0xf182d8);const _0x393607=new _0x3a5aaf();_0x393607['content']=_0x559812,_0x393607['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2f2d79=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':[_0x393607,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2f2d79['to']('errorType',_0x51efdf=>t('NotFound'!==_0x51efdf?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x248aea]},{'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 _0x130440{constructor(_0x40de58,_0x44d936){super(_0x40de58);const _0x18b19b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x44d936,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x18b19b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2df95f,_0x15b31d,_0xe52137){super(_0x2df95f),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x2df95f),this['_errorView']=new ti(_0x2df95f),this['_editingView']=new ei(_0x2df95f,_0xe52137),this['_focusableView']=new _0x130440(_0x2df95f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x15b31d),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'],_0x5bd950=>{this['_addUploadcareImageEditorListeners'](_0x5bd950);});}),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'](_0x2452b3,_0x49875e){const _0x50cbe2='uc-cloud-image-editor',_0x25887a=_0x2452b3['querySelector'](_0x50cbe2);if(_0x25887a)return _0x49875e(_0x25887a);const _0x51b15f=new MutationObserver(_0x607542=>{const _0x4e9296=_0x607542['filter'](_0x3cbad5=>_0x3cbad5['target']===_0x2452b3&&_0x3cbad5['addedNodes']['length']>0x0&&_0x3cbad5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x50cbe2);_0x4e9296['length']&&(_0x51b15f['disconnect'](),_0x49875e(_0x4e9296[0x0]['addedNodes'][0x0]));});_0x51b15f['observe'](_0x2452b3,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5fff9e){_0x5fff9e['addEventListener']('apply',_0x4b2f62=>{this['fire']('apply',{'imageSrc':_0x4b2f62['detail']['cdnUrl']});}),_0x5fff9e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xc15507(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5d4ee3,_0x200f73,_0x19a8b5){super(),this['_editor']=_0x5d4ee3,this['_dialog']=_0x200f73,this['_imageElement']=_0x19a8b5,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 _0x221716=this['_imageElement'],_0x4f47f5=_0x221716['getAttribute']('uploadcareImageId'),_0x1fcf7e=_0x221716['getAttribute']('src');if(_0x4f47f5)await this['_loadImageInfo'](_0x4f47f5,_0x1fcf7e);else{if(this['_imageCache']['has'](_0x1fcf7e)){const _0x133b19=this['_imageCache']['get'](_0x1fcf7e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x133b19['url'],this['imageDimension']=_0x133b19['dimension'],this['imageId']=_0x133b19['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x433fbb}=this['_editor'],t=_0x433fbb['t'],_0x324f44=new X(_0x433fbb,this['imageStatus'],this['_attributes']);_0x324f44['bind']('status')['to'](this,'imageStatus'),_0x324f44['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x324f44['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x324f44['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x324f44,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5ee898,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x324f44,'position':_0x333918['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x324f44['focus']();},'onHide':()=>{_0x324f44['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xa7c6be=>!A(_0xa7c6be,_0x324f44['element'])}});}['_loadImageInfo'](_0x366541,_0x5682fe){return j['getInfo'](_0x366541,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x573226=>{const {width:_0x4e3048,height:_0xae803b}=_0x573226['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5682fe,this['imageDimension']={'width':_0x4e3048,'height':_0xae803b},this['imageId']=_0x366541;})['catch'](_0x469bde=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x469bde['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x6509e2,_0x3163c0){return this['_getImageAsFile'](_0x6509e2)['then'](_0x174f21=>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':_0x3163c0['signal'],'file':_0x174f21,'onProgress':_0x392df9=>{_0x392df9&&_0x392df9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x392df9['value']));}}))['then'](_0x317b15=>{const {width:_0x149473,height:_0x16775a}=_0x317b15['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x317b15['cdnUrl'],this['imageDimension']={'width':_0x149473,'height':_0x16775a},this['imageId']=_0x317b15['uuid'],this['imageUploadProgress']=null;const _0x2b4edd=_0x6509e2['getAttribute']('src');this['_imageCache']['set'](_0x2b4edd,{'id':_0x317b15['uuid'],'url':_0x317b15['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x16d397=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x16d397['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xe9270e,_0x111fd1){_0xe9270e['on']('apply',(_0x356cfc,_0x1b4571)=>{this['_replaceImage'](_0x111fd1,_0x1b4571['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xe9270e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xe9270e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x522a,_0x109dad,_0x15cf88){const _0x3c5f44=this['_editor'],{width:_0x12ba0d,height:_0x8f21c1}=S(_0x109dad,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5d985b,imageSources:_0x1e6782}=C(_0x109dad,_0x12ba0d);_0x3c5f44['model']['change'](_0x404dbd=>{if('$graveyard'===_0x522a['root']['rootName']){_0x3c5f44['execute']('insertImage',{'imageType':_0x522a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x522a['getAttributes']()),'uploadcareImageId':_0x15cf88,'src':_0x5d985b,'sources':_0x1e6782,'width':_0x12ba0d,'height':_0x8f21c1}});const _0x1a012f=_0x522a['getChildren']();_0x522a=_0x3c5f44['model']['document']['selection']['getSelectedElement']();for(const _0xfe1f09 of _0x1a012f)_0x404dbd['append'](_0x404dbd['cloneElement'](_0xfe1f09),_0x522a);}else _0x404dbd['setSelection'](_0x522a,'on'),_0x3c5f44['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x522a['getAttributes']()),'uploadcareImageId':_0x15cf88,'src':_0x5d985b,'sources':_0x1e6782,'width':_0x12ba0d,'height':_0x8f21c1},_0x522a);_0x404dbd['setSelection'](_0x522a,'on');});}async['_getImageAsFile'](_0x37cdf2){const _0x5fe9b9=_0x206eec['window'],_0x5ee3bd=_0x206eec['document']['location']['href'],_0x3322c1=new _0x5fe9b9['URL'](_0x37cdf2['getAttribute']('src'),_0x5ee3bd);if('data:'===_0x3322c1['protocol']){const _0x44318e=_0x3322c1['href']['split'](','),_0x3908fc=_0x44318e[0x0]['match'](/:(.*?);/)[0x1],_0xd2bac6=_0x3908fc['split']('/')[0x1],_0x34229b=_0x5fe9b9['atob'](_0x44318e[_0x44318e['length']-0x1]);let _0x5206f9=_0x34229b['length'];const _0x8cb423=new _0x5fe9b9['Uint8Array'](_0x5206f9);for(;_0x5206f9--;)_0x8cb423[_0x5206f9]=_0x34229b['charCodeAt'](_0x5206f9);return new _0x5fe9b9['File']([_0x8cb423],'image.'+_0xd2bac6,{'type':_0x3908fc});}const _0x1520f6=_0x3322c1['href']['split']('/'),_0x4160b0=_0x1520f6[_0x1520f6['length']-0x1],_0x576385=_0x4160b0['split']('.')[0x1];return _0x5fe9b9['fetch'](_0x3322c1['href'])['then'](_0x4ba7b0=>_0x4ba7b0['clone']()['blob']())['then'](_0x6c41a=>new _0x5fe9b9['File']([_0x6c41a],_0x4160b0,{'type':'image/'+_0x576385}));}}class O extends _0x29c7ff{['imageEditController'];static get['requires'](){return[_0xadced8];}['_isEditable'];constructor(_0x144a2f){super(_0x144a2f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x33e792){const _0x5c3fda=G(_0x33e792);return _0x57d8f9=>!(!_0x57d8f9||!_0x57d8f9['is']('element','imageBlock')&&!_0x57d8f9['is']('element','imageInline'))&&(!!_0x57d8f9['hasAttribute']('uploadcareImageId')||!!_0x57d8f9['hasAttribute']('src')&&_0x5c3fda(_0x57d8f9['getAttribute']('src')));}(_0x144a2f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x169cde=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x169cde);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x543258=this['editor']['model']['document']['selection']['getSelectedElement']();_0x543258&&(_0x543258['is']('element','imageBlock')||_0x543258['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0xadced8),_0x543258),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x29c7ff{['refresh'](){const _0x46f02=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x46f02&&(_0x46f02['is']('element','imageBlock')||_0x46f02['is']('element','imageInline')));}['execute'](_0xf5e54b){const _0x4df41b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x567164=>{_0x567164['setAttributes'](_0xf5e54b,_0x4df41b),_0x567164['removeAttribute']('srcset',_0x4df41b),_0x567164['removeAttribute']('sizes',_0x4df41b);});}}class m extends _0x9edcba{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x284348,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3a275d}=this;_0x3a275d['commands']['add']('uploadcareImageEdit',new O(_0x3a275d)),_0x3a275d['commands']['add']('uploadcareImageReplace',new R(_0x3a275d));}}class g extends _0x9edcba{['_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 _0x3428a1=this['editor'];_0x3428a1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1e80e4=>{const _0x11507b=_0x3428a1['commands']['get']('uploadcareImageEdit'),_0x1bedfd=new _0x570821(_0x1e80e4),t=_0x1e80e4['t'];return _0x1bedfd['set']({'icon':_0x5ee898,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1bedfd['bind']('isEnabled')['to'](_0x11507b),_0x1bedfd['bind']('isOn')['to'](_0x11507b,'isActive'),this['listenTo'](_0x1bedfd,'execute',()=>{_0x3428a1['execute']('uploadcareImageEdit'),_0x3428a1['editing']['view']['focus']();}),_0x1bedfd;}),this['_initConfig']();}['_initConfig'](){const _0xc695d0=_0x3bf56a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc695d0),this['listenTo'](this['editor'],'destroy',()=>{_0xc695d0['remove']();});}}class et extends _0x9edcba{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':_0x20cc15=>0x1!=_0x20cc15}};
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':_0x318695=>0x1!=_0x318695}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x35d61b=>{const {af:{dictionary:_0x1114a2,getPluralForm:_0x317aa8}}={'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':_0x3dc498=>0x1!=_0x3dc498}};_0x35d61b['af']||={'dictionary':{},'getPluralForm':null},_0x35d61b['af']['dictionary']=Object['assign'](_0x35d61b['af']['dictionary'],_0x1114a2),_0x35d61b['af']['getPluralForm']=_0x317aa8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2f8811=>{const {af:{dictionary:_0x59d2a5,getPluralForm:_0x79ff69}}={'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':_0x471a18=>0x1!=_0x471a18}};_0x2f8811['af']||={'dictionary':{},'getPluralForm':null},_0x2f8811['af']['dictionary']=Object['assign'](_0x2f8811['af']['dictionary'],_0x59d2a5),_0x2f8811['af']['getPluralForm']=_0x79ff69;})(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':_0x57c3ba=>0x0==_0x57c3ba?0x0:0x1==_0x57c3ba?0x1:0x2==_0x57c3ba?0x2:_0x57c3ba%0x64>=0x3&&_0x57c3ba%0x64<=0xa?0x3:_0x57c3ba%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':_0x3c1c29=>0x0==_0x3c1c29?0x0:0x1==_0x3c1c29?0x1:0x2==_0x3c1c29?0x2:_0x3c1c29%0x64>=0x3&&_0x3c1c29%0x64<=0xa?0x3:_0x3c1c29%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1a7962=>{const {ar:{dictionary:_0x2ca0f6,getPluralForm:_0x2c96f8}}={'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':_0x6d39af=>0x0==_0x6d39af?0x0:0x1==_0x6d39af?0x1:0x2==_0x6d39af?0x2:_0x6d39af%0x64>=0x3&&_0x6d39af%0x64<=0xa?0x3:_0x6d39af%0x64>=0xb?0x4:0x5}};_0x1a7962['ar']||={'dictionary':{},'getPluralForm':null},_0x1a7962['ar']['dictionary']=Object['assign'](_0x1a7962['ar']['dictionary'],_0x2ca0f6),_0x1a7962['ar']['getPluralForm']=_0x2c96f8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5ebf97=>{const {ar:{dictionary:_0x34e8f8,getPluralForm:_0x4f8b82}}={'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':_0x5694d3=>0x0==_0x5694d3?0x0:0x1==_0x5694d3?0x1:0x2==_0x5694d3?0x2:_0x5694d3%0x64>=0x3&&_0x5694d3%0x64<=0xa?0x3:_0x5694d3%0x64>=0xb?0x4:0x5}};_0x5ebf97['ar']||={'dictionary':{},'getPluralForm':null},_0x5ebf97['ar']['dictionary']=Object['assign'](_0x5ebf97['ar']['dictionary'],_0x34e8f8),_0x5ebf97['ar']['getPluralForm']=_0x4f8b82;})(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':_0x1505dc=>0x1!=_0x1505dc}};
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':_0x32fa60=>0x1!=_0x32fa60}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f98e7=>{const {ast:{dictionary:_0x51ebb8,getPluralForm:_0x42ec30}}={'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':_0x1672db=>0x1!=_0x1672db}};_0x3f98e7['ast']||={'dictionary':{},'getPluralForm':null},_0x3f98e7['ast']['dictionary']=Object['assign'](_0x3f98e7['ast']['dictionary'],_0x51ebb8),_0x3f98e7['ast']['getPluralForm']=_0x42ec30;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x176e91=>{const {ast:{dictionary:_0x4eb8a6,getPluralForm:_0x1612eb}}={'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':_0x4ae321=>0x1!=_0x4ae321}};_0x176e91['ast']||={'dictionary':{},'getPluralForm':null},_0x176e91['ast']['dictionary']=Object['assign'](_0x176e91['ast']['dictionary'],_0x4eb8a6),_0x176e91['ast']['getPluralForm']=_0x1612eb;})(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':_0x38adc9=>0x1!=_0x38adc9}};
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':_0x30582c=>0x1!=_0x30582c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x486b26=>{const {az:{dictionary:_0x5c6a8d,getPluralForm:_0x3b4bd3}}={'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':_0x4fe031=>0x1!=_0x4fe031}};_0x486b26['az']||={'dictionary':{},'getPluralForm':null},_0x486b26['az']['dictionary']=Object['assign'](_0x486b26['az']['dictionary'],_0x5c6a8d),_0x486b26['az']['getPluralForm']=_0x3b4bd3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x206606=>{const {az:{dictionary:_0x3dcc58,getPluralForm:_0x5e33c6}}={'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':_0x21af0b=>0x1!=_0x21af0b}};_0x206606['az']||={'dictionary':{},'getPluralForm':null},_0x206606['az']['dictionary']=Object['assign'](_0x206606['az']['dictionary'],_0x3dcc58),_0x206606['az']['getPluralForm']=_0x5e33c6;})(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':_0x4aa804=>_0x4aa804%0xa==0x1&&_0x4aa804%0x64!=0xb?0x0:_0x4aa804%0xa>=0x2&&_0x4aa804%0xa<=0x4&&(_0x4aa804%0x64<0xa||_0x4aa804%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':_0x5c048b=>_0x5c048b%0xa==0x1&&_0x5c048b%0x64!=0xb?0x0:_0x5c048b%0xa>=0x2&&_0x5c048b%0xa<=0x4&&(_0x5c048b%0x64<0xa||_0x5c048b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11b08a=>{const {be:{dictionary:_0xfc5c09,getPluralForm:_0x559cc8}}={'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':_0x565fea=>_0x565fea%0xa==0x1&&_0x565fea%0x64!=0xb?0x0:_0x565fea%0xa>=0x2&&_0x565fea%0xa<=0x4&&(_0x565fea%0x64<0xa||_0x565fea%0x64>=0x14)?0x1:0x2}};_0x11b08a['be']||={'dictionary':{},'getPluralForm':null},_0x11b08a['be']['dictionary']=Object['assign'](_0x11b08a['be']['dictionary'],_0xfc5c09),_0x11b08a['be']['getPluralForm']=_0x559cc8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4c3a4b=>{const {be:{dictionary:_0x386243,getPluralForm:_0x1326bd}}={'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':_0x21261f=>_0x21261f%0xa==0x1&&_0x21261f%0x64!=0xb?0x0:_0x21261f%0xa>=0x2&&_0x21261f%0xa<=0x4&&(_0x21261f%0x64<0xa||_0x21261f%0x64>=0x14)?0x1:0x2}};_0x4c3a4b['be']||={'dictionary':{},'getPluralForm':null},_0x4c3a4b['be']['dictionary']=Object['assign'](_0x4c3a4b['be']['dictionary'],_0x386243),_0x4c3a4b['be']['getPluralForm']=_0x1326bd;})(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':_0x4d4160=>0x1!=_0x4d4160}};
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':_0x49aa69=>0x1!=_0x49aa69}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x9f469a=>{const {bg:{dictionary:_0x18434b,getPluralForm:_0x3c4373}}={'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':_0x6db478=>0x1!=_0x6db478}};_0x9f469a['bg']||={'dictionary':{},'getPluralForm':null},_0x9f469a['bg']['dictionary']=Object['assign'](_0x9f469a['bg']['dictionary'],_0x18434b),_0x9f469a['bg']['getPluralForm']=_0x3c4373;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x15f74a=>{const {bg:{dictionary:_0x179fda,getPluralForm:_0x2d22b1}}={'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':_0x1a5dfe=>0x1!=_0x1a5dfe}};_0x15f74a['bg']||={'dictionary':{},'getPluralForm':null},_0x15f74a['bg']['dictionary']=Object['assign'](_0x15f74a['bg']['dictionary'],_0x179fda),_0x15f74a['bg']['getPluralForm']=_0x2d22b1;})(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':_0x3722b0=>0x1!=_0x3722b0}};
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':_0x2ed49e=>0x1!=_0x2ed49e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x454cd7=>{const {bn:{dictionary:_0x2d7be6,getPluralForm:_0xd0eb70}}={'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':_0x41f05e=>0x1!=_0x41f05e}};_0x454cd7['bn']||={'dictionary':{},'getPluralForm':null},_0x454cd7['bn']['dictionary']=Object['assign'](_0x454cd7['bn']['dictionary'],_0x2d7be6),_0x454cd7['bn']['getPluralForm']=_0xd0eb70;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14088c=>{const {bn:{dictionary:_0x385ccb,getPluralForm:_0x52f789}}={'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':_0x5004c5=>0x1!=_0x5004c5}};_0x14088c['bn']||={'dictionary':{},'getPluralForm':null},_0x14088c['bn']['dictionary']=Object['assign'](_0x14088c['bn']['dictionary'],_0x385ccb),_0x14088c['bn']['getPluralForm']=_0x52f789;})(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':_0x578e14=>_0x578e14%0xa==0x1&&_0x578e14%0x64!=0xb?0x0:_0x578e14%0xa>=0x2&&_0x578e14%0xa<=0x4&&(_0x578e14%0x64<0xa||_0x578e14%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':_0x1e992d=>_0x1e992d%0xa==0x1&&_0x1e992d%0x64!=0xb?0x0:_0x1e992d%0xa>=0x2&&_0x1e992d%0xa<=0x4&&(_0x1e992d%0x64<0xa||_0x1e992d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x10b43d=>{const {bs:{dictionary:_0x5807ae,getPluralForm:_0x2cd25d}}={'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':_0x261493=>_0x261493%0xa==0x1&&_0x261493%0x64!=0xb?0x0:_0x261493%0xa>=0x2&&_0x261493%0xa<=0x4&&(_0x261493%0x64<0xa||_0x261493%0x64>=0x14)?0x1:0x2}};_0x10b43d['bs']||={'dictionary':{},'getPluralForm':null},_0x10b43d['bs']['dictionary']=Object['assign'](_0x10b43d['bs']['dictionary'],_0x5807ae),_0x10b43d['bs']['getPluralForm']=_0x2cd25d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8b1741=>{const {bs:{dictionary:_0x10cecd,getPluralForm:_0x13fdad}}={'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':_0x34b881=>_0x34b881%0xa==0x1&&_0x34b881%0x64!=0xb?0x0:_0x34b881%0xa>=0x2&&_0x34b881%0xa<=0x4&&(_0x34b881%0x64<0xa||_0x34b881%0x64>=0x14)?0x1:0x2}};_0x8b1741['bs']||={'dictionary':{},'getPluralForm':null},_0x8b1741['bs']['dictionary']=Object['assign'](_0x8b1741['bs']['dictionary'],_0x10cecd),_0x8b1741['bs']['getPluralForm']=_0x13fdad;})(window['CKEDITOR_TRANSLATIONS']||={});