@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251202.0 → 0.0.0-nightly-20251203.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 _0x48785e,Command as _0x42bd53}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1272d9,IconGooglePhotos as _0x424219,IconGoogleDrive as _0x472ac5,IconFacebook as _0x5358b7,IconDropbox as _0x101a77,IconUploadcareLink as _0x37cfca,IconUploadcareImageUpload as _0x523204,IconError as _0x3283e0,IconUploadcareImageEdit as _0x55b258}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xdcb460,MenuBarMenuListItemButtonView as _0xae84ad,View as _0x201534,FocusCycler as _0x1ad5c1,Dialog as _0x356bd9,DialogViewPosition as _0x22cd58,SpinnerView as _0x1fcde2,IconView as _0x56876d,Notification as _0x1373f0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x33b99a,DomEmitterMixin as _0x52a3fd,global as _0x435ac1,getAncestors as _0x118540,ObservableMixin as _0x5bc8a7,uid as _0x59b5d4,createElement as _0x1fae8b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2e058e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x9e1a63,info as _0x94039b}from'@uploadcare/upload-client';import*as _0x39dffe from'@uploadcare/file-uploader';var i=function(_0x31a59d){return _0x31a59d['Local']='local',_0x31a59d['URL']='url',_0x31a59d['Dropbox']='dropbox',_0x31a59d['GDrive']='gdrive',_0x31a59d['Facebook']='facebook',_0x31a59d['GPhotos']='gphotos',_0x31a59d['OneDrive']='onedrive',_0x31a59d;}({});function _(_0x47b938,_0xd56f31,_0x501287){const t=_0x47b938['t'],_0x3b1f76=_0x47b938['t'];switch(_0xd56f31){case i['Local']:return{'text':_0x3b1f76('Insert'===_0x501287?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3b1f76('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x501287?_0x3b1f76('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3b1f76('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd56f31;}}class e extends _0x48785e{['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 _0x1749a2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x550021;for(const _0x13bb97 in _0x1749a2){const _0x2ce66d=_0x13bb97,_0x52244e=_0x1749a2[_0x2ce66d];if('uploadcareLicenseKeyValid'==_0x52244e||'uploadcareLicenseKeyInvalid'==_0x52244e||'uploadcareLicenseKeyExpired'==_0x52244e||'uploadcareLicenseKeyDomainLimit'==_0x52244e||'uploadcareLicenseKeyNotAllowed'==_0x52244e||'uploadcareLicenseKeyEvaluationLimit'==_0x52244e||'uploadcareLicenseKeyTrialLimit'==_0x52244e||'uploadcareLicenseKeyUsageLimit'==_0x52244e){delete _0x1749a2[_0x2ce66d],_0x550021=_0x52244e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x550021&&_0x1749a2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x550021&&_0x1749a2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x550021&&_0x1749a2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x550021&&_0x1749a2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x550021&&_0x1749a2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x550021&&_0x1749a2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x550021&&_0x1749a2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x49c2cc}=this,_0x31d3ee=_0x49c2cc['commands']['get']('uploadcare');if(!_0x31d3ee)return;const _0x3f414f=this['_normalizeConfigSourceList'](_0x49c2cc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x57b5ab,_0x2e3215)=>{const _0x513d65=this['_getIntegrationKey'](_0x2e3215['type']);return _0x57b5ab[_0x513d65]||(_0x57b5ab[_0x513d65]=[]),_0x57b5ab[_0x513d65]['push'](_0x2e3215),_0x57b5ab;},{});_0x49c2cc['plugins']['has']('ImageInsertUI')&&_0x49c2cc['commands']['get']('uploadcare')&&Object['entries'](_0x3f414f)['forEach'](([_0x28cff6,_0x27acb0])=>{_0x49c2cc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x28cff6,'observable':()=>_0x31d3ee,'buttonViewCreator':()=>this['_createToolbarButton'](_0x27acb0),'formViewCreator':()=>this['_createDropdownButtons'](_0x27acb0),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x27acb0),'override':'assetManager'!==_0x28cff6});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5951fe){const {locale:_0x36fa33}=this['editor'];return _0x5951fe['map'](_0x468906=>{const _0x571b44=_(_0x36fa33,_0x468906,'Insert');switch(_0x468906){case i['Local']:return{'icon':_0x523204,'type':i['Local'],..._0x571b44};case i['URL']:return{'icon':_0x37cfca,'type':i['URL'],..._0x571b44};case i['Dropbox']:return{'icon':_0x101a77,'type':i['Dropbox'],..._0x571b44};case i['Facebook']:return{'icon':_0x5358b7,'type':i['Facebook'],..._0x571b44};case i['GDrive']:return{'icon':_0x472ac5,'type':i['GDrive'],..._0x571b44};case i['GPhotos']:return{'icon':_0x424219,'type':i['GPhotos'],..._0x571b44};case i['OneDrive']:return{'icon':_0x1272d9,'type':i['OneDrive'],..._0x571b44};}});}['_getIntegrationKey'](_0x12aa32){switch(_0x12aa32){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x32a113,_0x1b7c9a){const _0x1ed1cc=this['editor'],_0x1a388d=new _0x32a113(_0x1ed1cc['locale']),_0x4e783a=_0x1ed1cc['commands']['get']('uploadcare');return _0x1a388d['bind']('isEnabled')['to'](_0x4e783a),_0x1a388d['on']('execute',()=>{_0x4e783a['execute'](_0x1b7c9a);}),_0x1a388d;}['_createToolbarButton'](_0x45ddfb){const {locale:_0x31e716}=this['editor'],_0x11d617=this['editor']['plugins']['get']('ImageInsertUI'),_0x4ed158=_0x45ddfb[0x0],_0x25fcd2=this['_createButton'](_0xdcb460,_0x4ed158['type']);return _0x25fcd2['icon']=_0x4ed158['icon'],_0x25fcd2['bind']('label')['to'](_0x11d617,'isImageSelected',_0x11c636=>_(_0x31e716,_0x4ed158['type'],_0x11c636?'Replace':'Insert')['text']),_0x25fcd2['tooltip']=!0x0,_0x25fcd2;}['_createDropdownButtons'](_0x4a4a6d){const {locale:_0x199a9f}=this['editor'],_0x1a1c9d=this['editor']['plugins']['get']('ImageInsertUI');return _0x4a4a6d['map'](_0xacf31f=>{const _0x3e6e87=this['_createButton'](_0xdcb460,_0xacf31f['type']);return _0x3e6e87['withText']=!0x0,_0x3e6e87['icon']=_0xacf31f['icon'],_0x3e6e87['bind']('label')['to'](_0x1a1c9d,'isImageSelected',_0x11c7c2=>_(_0x199a9f,_0xacf31f['type'],_0x11c7c2?'Replace':'Insert')['text']),_0x3e6e87;});}['_createMenuBarButtons'](_0x244ac3){return _0x244ac3['map'](_0xce5a68=>{const _0x2ad17d=this['_createButton'](_0xae84ad,_0xce5a68['type']);return _0x2ad17d['icon']=_0xce5a68['icon'],_0x2ad17d['label']=_0xce5a68['shortText'],_0x2ad17d;});}}class V extends _0x201534{['focusTracker'];['focusCycler'];constructor(_0x1cd135){super(_0x1cd135),this['focusTracker']=new _0x33b99a(),this['focusCycler']=new _0x1ad5c1({'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 S extends V{constructor(_0x47ede9,_0x174bf0){super(_0x47ede9),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-'+_0x174bf0}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x44d1d3,_0x450a7f){const _0x3be8ee=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x128520=>_0x128520<=_0x450a7f)['map'](_0x4f41b8=>_0x44d1d3['replace'](/\/$/,'')+'/-/resize/'+_0x4f41b8+'x/\x20'+_0x4f41b8+'w');return{'imageFallbackUrl':_0x44d1d3,'imageSources':[{'srcset':_0x3be8ee['join'](',\x20'),'sizes':'(max-width:\x20'+_0x450a7f+'px)\x20100vw,\x20'+_0x450a7f+'px','type':'image/webp'}]};}function F(_0x1d3fcd,_0x49bd97,_0x4a2407){const _0xf26ed5=_0x1d3fcd['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xf26ed5?parseInt(_0xf26ed5[0x1],0xa):_0x49bd97,'height':_0xf26ed5?parseInt(_0xf26ed5[0x2],0xa):_0x4a2407};}function p(_0x1acac7,_0x57cda1){const _0x48bb6f=new(_0x52a3fd())(),_0x3883ba=_0x1acac7['plugins']['get']('ImageUtils'),_0x4b3e81=_0x1acac7['editing']['mapper']['toViewElement'](_0x57cda1),_0x4a278b=_0x3883ba['findViewImgElement'](_0x4b3e81),_0x134c85=_0x1acac7['editing']['view']['domConverter']['viewToDom'](_0x4a278b),_0xe80fb6=_0x57cda1['getAttribute']('width'),_0xd31a83=_0x57cda1['getAttribute']('height'),_0x22ef6c='image-processing';_0x1acac7['editing']['view']['change'](_0x40b374=>{_0x40b374['addClass'](_0x22ef6c,_0x4b3e81),_0x40b374['setStyle']('aspect-ratio',_0xe80fb6+'/'+_0xd31a83,_0x4a278b);}),_0x48bb6f['listenTo'](_0x134c85,'load',()=>{_0x48bb6f['stopListening'](_0x134c85,'load'),_0x1acac7['editing']['view']['change'](_0x38f141=>{_0x38f141['removeClass'](_0x22ef6c,_0x4b3e81),_0x38f141['removeStyle']('aspect-ratio',_0x4a278b);});});}function R(_0x530734){if(Array['isArray'](_0x530734)){const _0x4cd87b=_0x530734['map'](R);return _0x3d413c=>_0x4cd87b['some'](_0x39d3fc=>_0x39d3fc(_0x3d413c));}if('origin'==_0x530734){const _0x550812=_0x435ac1['window']['location']['origin'];return _0x26e8eb=>new URL(_0x26e8eb,_0x435ac1['document']['baseURI'])['origin']==_0x550812;}return'function'==typeof _0x530734?_0x530734:_0x530734 instanceof RegExp?_0x20db2a=>!(!_0x20db2a['match'](_0x530734)&&!_0x20db2a['replace'](/^https?:\/\//,'')['match'](_0x530734)):()=>!0x1;}function M(_0x4ea269,_0x50bcab){return _0x118540(_0x4ea269['target'])['includes'](_0x50bcab);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5bc8a7(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x30bc51,_0x4436d3,_0x2ab688){super(),this['_editor']=_0x30bc51,this['_editing']=_0x4436d3,this['_dialog']=_0x30bc51['plugins']['get'](_0x356bd9),this['_api']=_0x4436d3['ctxElement']['getAPI'](),this['_type']=_0x2ab688,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:_0x331f3b,model:_0x571fce}=this['_editor'],_0x2bcef1=_0x571fce['document']['selection']['getSelectedElement'](),_0x3097e0=_0x2bcef1&&(_0x2bcef1['is']('element','imageBlock')||_0x2bcef1['is']('element','imageInline'));this['_formView']=new S(_0x331f3b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x523204,'title':_(_0x331f3b,this['_type'],_0x3097e0?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x22cd58['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x311908=>!M(_0x311908,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4fb5bb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4a8723=>{const _0x7ae168=_0x4fb5bb['length'];for(const _0x403d7c of _0x4fb5bb){const _0x235327=_0x403d7c===_0x4fb5bb[_0x7ae168-0x1],{cdnUrl:_0x583639,fileInfo:_0x143793}=_0x403d7c;if(!_0x583639||!_0x143793)continue;const {width:_0x15bc44,height:_0x2db89e}=_0x143793['imageInfo'],_0x3ef66f=F(_0x583639,_0x15bc44,_0x2db89e),_0x15011c=C(_0x583639,_0x3ef66f['width']),_0x18dc98={'id':_0x143793['uuid'],'type':'image','attributes':{'imageDimension':_0x3ef66f,..._0x15011c}};this['_insertAsset'](_0x18dc98,_0x235327,_0x4a8723);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x484ce9=>{'idle'===_0x484ce9['detail']['status']&&!_0x484ce9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2433df,_0x1feda7,_0x30674f){const _0x486536=this['_editor']['model']['document']['selection'],_0x9de851=_0x486536['getSelectedElement'](),_0x507b9d=!(!_0x9de851||!_0x9de851['is']('element','imageInline'));_0x30674f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2433df,_0x507b9d),_0x1feda7||_0x30674f['setSelection'](_0x486536['getLastPosition']());}['_insertImage'](_0x30ab7e,_0x53b76e){const _0x337202=this['_editor'],{imageDimension:_0x2d47ff,imageFallbackUrl:_0x20b7f9,imageSources:_0x385054}=_0x30ab7e['attributes'];_0x337202['execute']('insertImage',{'imageType':_0x53b76e?'imageInline':null,'source':{'uploadcareImageId':_0x30ab7e['id'],'src':_0x20b7f9,'sources':_0x385054,..._0x2d47ff}});}}class w extends _0x42bd53{['_editing'];['_controller']=null;static get['requires'](){return[_0x356bd9,o];}constructor(_0x3440d9){super(_0x3440d9),this['_editing']=_0x3440d9['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3da1f9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3da1f9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x554ac2,..._0x2131cd}){return _0x9e1a63(_0x554ac2,_0x2131cd);}static['getInfo'](_0x40c73b,_0x1e6fe2){return _0x94039b(_0x40c73b,_0x1e6fe2);}}class f extends _0x48785e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2e058e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x521888=this['editor'];if(!!!_0x521888['config']['get']('uploadcare'))return;_0x521888['plugins']['get'](_0x2e058e)['createUploadAdapter']=_0x2393fc=>new k(_0x2393fc,_0x521888),_0x521888['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2ca727,{imageElement:_0x2cb846,data:_0x4f6193})=>{_0x521888['model']['change'](_0x9b432c=>{_0x9b432c['setAttribute']('uploadcareImageId',_0x4f6193['uploadcareImageId'],_0x2cb846);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2f4a90,_0x5a57cb){this['loader']=_0x2f4a90,this['editor']=_0x5a57cb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x15db05=await this['loader']['file'];return j['upload']({'file':_0x15db05,'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':_0x42b506=>{_0x42b506&&_0x42b506['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x42b506['value']);}})['then'](async _0x11bb8f=>{const {imageFallbackUrl:_0xf616a8,imageSources:_0x2d40d2}=C(_0x11bb8f['cdnUrl'],_0x11bb8f['imageInfo']['width']);return{'uploadcareImageId':_0x11bb8f['uuid'],'default':_0xf616a8,'sources':_0x2d40d2};})['catch'](()=>{const _0x45e2bb=t('Cannot\x20upload\x20file:')+('\x20'+_0x15db05['name']+'.');return Promise['reject'](_0x45e2bb);});}['abort'](){this['controller']['abort']();}}class o extends _0x48785e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x356bd9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x18c9c0){super(_0x18c9c0),this['ucContextId']=_0x59b5d4();}['init'](){const _0x660535=this['editor'];_0x660535['commands']['add']('uploadcare',new w(_0x660535));}['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 _0x471a24=_0x435ac1['document']['querySelector']('input[uploadcare-file-input]');_0x471a24&&_0x471a24['remove']();}),async function(_0x16cdd){const _0x413e38=_0x5db2df([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]),_0x2e0a4c=0x535f8c3a,_0x1970e7=0x5358f6fa^_0x2e0a4c,_0x46d345=window[_0x5db2df([0x44,0x61,0x74,0x65])][_0x5db2df([0x6e,0x6f,0x77])](),_0x3af88d=_0x16cdd[_0x5db2df([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb53299=new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x882a32=>{_0x3af88d[_0x5db2df([0x6f,0x6e,0x63,0x65])](_0x5db2df([0x72,0x65,0x61,0x64,0x79]),_0x882a32);}),_0x43bf02={[_0x5db2df([0x6b,0x74,0x79])]:_0x5db2df([0x45,0x43]),[_0x5db2df([0x75,0x73,0x65])]:_0x5db2df([0x73,0x69,0x67]),[_0x5db2df([0x63,0x72,0x76])]:_0x5db2df([0x50,0x2d,0x32,0x35,0x36]),[_0x5db2df([0x78])]:_0x5db2df([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]),[_0x5db2df([0x79])]:_0x5db2df([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]),[_0x5db2df([0x61,0x6c,0x67])]:_0x5db2df([0x45,0x53,0x32,0x35,0x36])},_0x5daab7=_0x3af88d[_0x5db2df([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5db2df([0x67,0x65,0x74])](_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x122b76(){let _0x1047ee,_0x2bcf80=null,_0x5ef985=null;try{if(_0x5daab7==_0x5db2df([0x47,0x50,0x4c]))return _0x5db2df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1047ee=_0x26519d(),!_0x1047ee)return _0x5db2df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1047ee[_0x5db2df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ef985=_0x2951c4(_0x1047ee[_0x5db2df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1047ee[_0x5db2df([0x6a,0x74,0x69])])),await _0x140d34()?_0x11f45d()?_0x4129eb()?_0x5db2df([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17de88()?(_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5db2df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bcf80=_0x5d5e1b(_0x5db2df([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5db2df([0x74,0x72,0x69,0x61,0x6c])&&(_0x2bcf80=_0x5d5e1b(_0x5db2df([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x377835()):_0x5db2df([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5db2df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5db2df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5db2df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4129eb(){const _0x284fad=[_0x5db2df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5db2df([0x74,0x72,0x69,0x61,0x6c])][_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46d345/0x3e8:0xe10*_0x1970e7;return _0x1047ee[_0x5db2df([0x65,0x78,0x70])]<_0x284fad;}function _0x11f45d(){const _0x35a26b=_0x1047ee[_0x5db2df([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35a26b&&(!!_0x35a26b[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db2df([0x2a]))||!!_0x35a26b[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db2df([0x55,0x50,0x4c,0x43])));}function _0x17de88(){const _0x3df018=_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3df018||0x0==_0x3df018[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3603db}=new URL(window[_0x5db2df([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3df018[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3603db))return!0x0;const _0x1b17e5=_0x3603db[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e]));return _0x3df018[_0x5db2df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x586d37=>_0x586d37[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db2df([0x2a])))[_0x5db2df([0x6d,0x61,0x70])](_0x14440f=>_0x14440f[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e])))[_0x5db2df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x510674=>_0x510674[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b17e5[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5db2df([0x6d,0x61,0x70])](_0x5d90bf=>Array(_0x1b17e5[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d90bf[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5db2df([0x66,0x69,0x6c,0x6c])](_0x5d90bf[0x0]===_0x5db2df([0x2a])?_0x5db2df([0x2a]):'')[_0x5db2df([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d90bf))[_0x5db2df([0x73,0x6f,0x6d,0x65])](_0x473aad=>_0x1b17e5[_0x5db2df([0x65,0x76,0x65,0x72,0x79])]((_0x228800,_0x14bc3f)=>_0x473aad[_0x14bc3f]===_0x228800||_0x473aad[_0x14bc3f]===_0x5db2df([0x2a])));}function _0x377835(){return _0x2bcf80&&_0x5ef985?new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ebee3,_0x30a571)=>{_0x2bcf80[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x4ebee3,_0x30a571),_0x5ef985[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x226941=>{_0x226941!=_0x5db2df([0x56,0x61,0x6c,0x69,0x64])&&_0x4ebee3(_0x226941);},_0x30a571);}):_0x2bcf80||_0x5ef985||_0x5db2df([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2951c4(_0x4d5814,_0x362f1b){return new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d31d1=>{if(_0x3e204a())return _0x3d31d1(_0x5db2df([0x56,0x61,0x6c,0x69,0x64]));_0x2d9558(),_0x3af88d[_0x5db2df([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5db2df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55e702=!0x1;const _0x15c761=_0x59b5d4();function _0x3e7f79(_0x30314a){return!!_0x30314a&&(typeof _0x30314a===_0x5db2df([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30314a===_0x5db2df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30314a[_0x5db2df([0x74,0x68,0x65,0x6e])]===_0x5db2df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30314a[_0x5db2df([0x63,0x61,0x74,0x63,0x68])]===_0x5db2df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x268c7c(_0x5c2a15){_0xcdfbb0(_0x5c2a15)[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x2c8ef4=>{if(!_0x2c8ef4||_0x2c8ef4[_0x5db2df([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5db2df([0x6f,0x6b]))return _0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b27b0(_0x98e514(_0x15c761+_0x362f1b))!=_0x2c8ef4[_0x5db2df([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5db2df([0x56,0x61,0x6c,0x69,0x64]);})[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x2ed3c8=>(_0x421dc3(),_0x2ed3c8),()=>{const _0x3578eb=_0x31ef40();return null==_0x3578eb?(_0x421dc3(),_0x5db2df([0x56,0x61,0x6c,0x69,0x64])):_0x5db2df(_0x46d345-_0x3578eb>(0x7753083a^_0x2e0a4c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x3d31d1)[_0x5db2df([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d31d1(_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47862c=0x536962ba^_0x2e0a4c;function _0x421dc3(){const _0x3858bf=_0x5db2df([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b27b0(_0x98e514(_0x4d5814)),_0x16b25e=_0x49abcf(_0x4b27b0(window[_0x5db2df([0x4d,0x61,0x74,0x68])][_0x5db2df([0x63,0x65,0x69,0x6c])](_0x46d345/_0x47862c)));window[_0x5db2df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5db2df([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3858bf,_0x16b25e);}function _0x31ef40(){const _0x168162=_0x5db2df([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b27b0(_0x98e514(_0x4d5814)),_0x384662=window[_0x5db2df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5db2df([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168162);return _0x384662?window[_0x5db2df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49abcf(_0x384662),0x10)*_0x47862c:null;}function _0xcdfbb0(_0x211b76){return new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16af4a,_0x400cee)=>{_0x211b76[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x16af4a,_0x400cee),window[_0x5db2df([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x400cee,0x535e58fa^_0x2e0a4c);});}}_0x3af88d[_0x5db2df([0x6f,0x6e])](_0x5db2df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x201387,_0x2e96ac)=>{if(_0x2e96ac[0x0]!=_0x4d5814)return _0x3d31d1(_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e96ac[0x1]={..._0x2e96ac[0x1],[_0x5db2df([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15c761};},{[_0x5db2df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5db2df([0x68,0x69,0x67,0x68])}),_0x3af88d[_0x5db2df([0x6f,0x6e])](_0x5db2df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc7e460=>{_0x3e7f79(_0xc7e460[_0x5db2df([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55e702=!0x0,_0x268c7c(_0xc7e460[_0x5db2df([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5db2df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5db2df([0x6c,0x6f,0x77])}),_0xb53299[_0x5db2df([0x74,0x68,0x65,0x6e])](()=>{_0x55e702||_0x3d31d1(_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e204a(){return _0x3af88d[_0x5db2df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5db2df([0x76,0x69,0x65,0x77])][_0x5db2df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5db2df([0x61,0x75,0x74,0x6f]);}function _0x2d9558(){_0x3af88d[_0x5db2df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5db2df([0x76,0x69,0x65,0x77])][_0x5db2df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5db2df([0x61,0x75,0x74,0x6f]);}}function _0x5d5e1b(_0x30a3f5){const _0x48718f=[new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfed4=>setTimeout(_0x4cfed4,0x5356b2f6^_0x2e0a4c)),_0xb53299[_0x5db2df([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x298613=>{let _0x50559d=0x0;_0x3af88d[_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c])][_0x5db2df([0x6f,0x6e])](_0x5db2df([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39f66e,_0x152a11)=>{_0x152a11[0x0][_0x5db2df([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50559d++,_0x50559d==(0x535f8dc2^_0x2e0a4c)&&(_0x298613(),_0x39f66e[_0x5db2df([0x6f,0x66,0x66])]());});}))];return window[_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5db2df([0x72,0x61,0x63,0x65])](_0x48718f)[_0x5db2df([0x74,0x68,0x65,0x6e])](()=>_0x30a3f5);}async function _0x5674b7(){await _0xb53299,_0x3af88d[_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c])][_0x5db2df([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e9b2c,_0x3af88d[_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c])][_0x5db2df([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e9b2c,_0x3af88d[_0x5db2df([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x553bd8(_0x414779){const _0x14d5b4=_0x55615f();_0x3af88d[_0x14d5b4]=_0x5db2df([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x414779,_0x414779!=_0x5db2df([0x56,0x61,0x6c,0x69,0x64])&&_0x5674b7();}function _0x55615f(){const _0x368ad9=window[_0x5db2df([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5db2df([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5db2df([0x6e,0x6f,0x77])]())[_0x5db2df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5db2df([0x2e]),'');let _0x4cdc32=_0x5db2df([0x68]);for(let _0x24ba2c=0x0;_0x24ba2c<_0x368ad9[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24ba2c+=0x2){let _0x8f05c=window[_0x5db2df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x368ad9[_0x5db2df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24ba2c,_0x24ba2c+0x2));_0x8f05c>=_0x413e38[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8f05c-=_0x413e38[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4cdc32+=_0x413e38[_0x8f05c];}return _0x4cdc32;}function _0x26519d(){const _0x3f5a1b=_0x5daab7[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e]));if(0x3!=_0x3f5a1b[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33ec90(_0x3f5a1b[0x1]);function _0x33ec90(_0x59f7d1){const _0x4dbe11=_0x6f13e(_0x59f7d1);return _0x4dbe11&&_0x207761()?_0x4dbe11:null;function _0x207761(){const _0x171188=_0x4dbe11[_0x5db2df([0x6a,0x74,0x69])],_0x17888b=window[_0x5db2df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x171188[_0x5db2df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x171188[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1698e3={..._0x4dbe11,[_0x5db2df([0x6a,0x74,0x69])]:_0x171188[_0x5db2df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x171188[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1698e3[_0x5db2df([0x76,0x63])],_0x98e514(_0x1698e3)==_0x17888b;}}}async function _0x140d34(){let _0x3359ef=!0x0;try{const _0x483f02=_0x5daab7[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e])),[_0x2aa9c4,_0xf19fe0,_0x5246d8]=_0x483f02;return _0x596c14(_0x2aa9c4),await _0x2d13a4(_0x2aa9c4,_0xf19fe0,_0x5246d8),_0x3359ef;}catch{return!0x1;}function _0x596c14(_0x2ff60f){const _0x415458=_0x6f13e(_0x2ff60f);_0x415458&&_0x415458[_0x5db2df([0x61,0x6c,0x67])]==_0x5db2df([0x45,0x53,0x32,0x35,0x36])||(_0x3359ef=!0x1);}async function _0x2d13a4(_0x2e332d,_0xbbafdd,_0xccc5d0){const _0x28d75d=window[_0x5db2df([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5db2df([0x66,0x72,0x6f,0x6d])](_0x56da40(_0xccc5d0),_0x22c38f=>_0x22c38f[_0x5db2df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35acd1=new window[(_0x5db2df([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5db2df([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e332d+_0x5db2df([0x2e])+_0xbbafdd),_0x176690=window[_0x5db2df([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5db2df([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x176690)return;const _0x4c9ef3=await _0x176690[_0x5db2df([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5db2df([0x6a,0x77,0x6b]),_0x43bf02,{[_0x5db2df([0x6e,0x61,0x6d,0x65])]:_0x5db2df([0x45,0x43,0x44,0x53,0x41]),[_0x5db2df([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5db2df([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5db2df([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x176690[_0x5db2df([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5db2df([0x6e,0x61,0x6d,0x65])]:_0x5db2df([0x45,0x43,0x44,0x53,0x41]),[_0x5db2df([0x68,0x61,0x73,0x68])]:{[_0x5db2df([0x6e,0x61,0x6d,0x65])]:_0x5db2df([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c9ef3,_0x28d75d,_0x35acd1)||(_0x3359ef=!0x1);}}function _0x6f13e(_0x29fd2e){return _0x29fd2e[_0x5db2df([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5db2df([0x65,0x79]))?JSON[_0x5db2df([0x70,0x61,0x72,0x73,0x65])](_0x56da40(_0x29fd2e)):null;}function _0x56da40(_0x330eaf){return window[_0x5db2df([0x61,0x74,0x6f,0x62])](_0x330eaf[_0x5db2df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5db2df([0x2b]))[_0x5db2df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5db2df([0x2f])));}function _0x98e514(_0x1db9bb){let _0x357d89=0x1505;function _0x4160db(_0x28f24e){for(let _0x4681ff=0x0;_0x4681ff<_0x28f24e[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4681ff++){const _0x4719f5=_0x28f24e[_0x5db2df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4681ff);_0x357d89=(_0x357d89<<0x5)+_0x357d89+_0x4719f5,_0x357d89&=_0x357d89;}}function _0x1dc639(_0x26dd6f){Array[_0x5db2df([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26dd6f)?_0x26dd6f[_0x5db2df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dc639):_0x26dd6f&&typeof _0x26dd6f==_0x5db2df([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5db2df([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26dd6f)[_0x5db2df([0x73,0x6f,0x72,0x74])]()[_0x5db2df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2abec8,_0xa097fe])=>{_0x4160db(_0x2abec8),_0x1dc639(_0xa097fe);}):_0x4160db(window[_0x5db2df([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26dd6f));}return _0x1dc639(_0x1db9bb),_0x357d89>>>0x0;}function _0x4b27b0(_0x47b3cd){return _0x47b3cd[_0x5db2df([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5db2df([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5db2df([0x30]));}function _0x49abcf(_0x5e1c3b){return _0x5e1c3b[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5db2df([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5db2df([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e9b2c(){}function _0x5db2df(_0x5d1f89){return _0x5d1f89['map'](_0x47edda=>String['fromCharCode'](_0x47edda))['join']('');}_0x553bd8(await _0x122b76());}(this);}['_initSchema'](){const _0x8781d2=this['editor']['model']['schema'];_0x8781d2['isRegistered']('imageBlock')&&_0x8781d2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x8781d2['isRegistered']('imageInline')&&_0x8781d2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x39c477=this['editor'];_0x39c477['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x39c477['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x104828=>_0x104828['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x42f817=_0x39c477['commands']['get']('replaceImageSource');_0x42f817&&this['listenTo'](_0x42f817,'cleanupImage',(_0x816dd8,[_0xe6bbd5,_0x111eb6])=>{_0xe6bbd5['removeAttribute']('uploadcareImageId',_0x111eb6);});}['_initConfig'](){const _0x100ce4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x194c26=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1fae8b(_0x435ac1['document'],'uc-config',{..._0x100ce4,'pubkey':_0x194c26,'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']=_0x562f9a=>{if('closeMax'==_0x562f9a)return'#uc-icon-arrow-down';},_0x435ac1['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1fae8b(_0x435ac1['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x435ac1['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x14dcec=this['editor']['commands']['get']('insertImage');_0x14dcec&&this['listenTo'](_0x14dcec,'execute',()=>{const _0x60bed4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x60bed4&&_0x60bed4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x60bed4);});});const _0x1172a1=this['editor']['commands']['get']('uploadcareImageReplace');_0x1172a1&&this['listenTo'](_0x1172a1,'execute',()=>{const _0x44e55a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x44e55a&&_0x44e55a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x44e55a);});});}}class tt extends _0x48785e{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5b2c8d){super(_0x5b2c8d),_0x5b2c8d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x39dffe['defineComponents'](_0x39dffe),this['_defineLocale']();}['_defineLocale'](){const _0x353eba=this['editor']['config']['get']('uploadcare.locale'),_0x33ebf4=this['editor']['locale']['contentLanguage'];_0x353eba&&_0x39dffe['defineLocale'](_0x33ebf4,_0x353eba);}}class ii extends _0x201534{constructor(_0x4c2474){super(_0x4c2474);const t=_0x4c2474['t'],_0x3eb021=this['bindTemplate'],_0x4b1587=new _0x1fcde2();_0x4b1587['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':[_0x4b1587,{'text':_0x3eb021['to']('imageUploadProgress',_0x4d7937=>t('Loading\x20image...')+'\x20('+(_0x4d7937||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 _0x201534{constructor(_0x5b2e98){super(_0x5b2e98);const t=_0x5b2e98['t'];this['set']('errorType',null);const _0x5f789a=new _0xdcb460(_0x5b2e98);_0x5f789a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5f789a['withText']=!0x0,_0x5f789a['class']='ck-button-action',_0x5f789a['on']('execute',()=>{this['fire']('retry');}),_0x5f789a['bind']('isVisible')['to'](this,'errorType',_0x587818=>'NotFound'!==_0x587818);const _0x2a977e=new _0x56876d();_0x2a977e['content']=_0x3283e0,_0x2a977e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x51e7b7=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':[_0x2a977e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x51e7b7['to']('errorType',_0x8c7aef=>t('NotFound'!==_0x8c7aef?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5f789a]},{'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 _0x201534{constructor(_0x46b214,_0x2eb9f4){super(_0x46b214);const _0xb3eae8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2eb9f4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xb3eae8['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x49ecec,_0x31c80f,_0x43a290){super(_0x49ecec),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x49ecec),this['_errorView']=new ti(_0x49ecec),this['_editingView']=new ei(_0x49ecec,_0x43a290),this['_focusableView']=new _0x201534(_0x49ecec),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x31c80f),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'],_0xdf3b68=>{this['_addUploadcareImageEditorListeners'](_0xdf3b68);});}),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'](_0x3e92db,_0x3cfb11){const _0xd62071='uc-cloud-image-editor',_0x38926f=_0x3e92db['querySelector'](_0xd62071);if(_0x38926f)return _0x3cfb11(_0x38926f);const _0x3f7a69=new MutationObserver(_0x13ffdf=>{const _0x344d58=_0x13ffdf['filter'](_0x52f0e3=>_0x52f0e3['target']===_0x3e92db&&_0x52f0e3['addedNodes']['length']>0x0&&_0x52f0e3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xd62071);_0x344d58['length']&&(_0x3f7a69['disconnect'](),_0x3cfb11(_0x344d58[0x0]['addedNodes'][0x0]));});_0x3f7a69['observe'](_0x3e92db,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2c4a53){_0x2c4a53['addEventListener']('apply',_0x24bff6=>{this['fire']('apply',{'imageSrc':_0x24bff6['detail']['cdnUrl']});}),_0x2c4a53['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5bc8a7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1f61f6,_0x51fffb,_0xfaac34){super(),this['_editor']=_0x1f61f6,this['_dialog']=_0x51fffb,this['_imageElement']=_0xfaac34,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 _0xbe57a8=this['_imageElement'],_0x320c04=_0xbe57a8['getAttribute']('uploadcareImageId'),_0x369e5f=_0xbe57a8['getAttribute']('src');if(_0x320c04)await this['_loadImageInfo'](_0x320c04,_0x369e5f);else{if(this['_imageCache']['has'](_0x369e5f)){const _0x5e976d=this['_imageCache']['get'](_0x369e5f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e976d['url'],this['imageDimension']=_0x5e976d['dimension'],this['imageId']=_0x5e976d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5ae17e}=this['_editor'],t=_0x5ae17e['t'],_0x27444c=new X(_0x5ae17e,this['imageStatus'],this['_attributes']);_0x27444c['bind']('status')['to'](this,'imageStatus'),_0x27444c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x27444c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x27444c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x27444c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x55b258,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x27444c,'position':_0x22cd58['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x27444c['focus']();},'onHide':()=>{_0x27444c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58491f=>!M(_0x58491f,_0x27444c['element'])}});}['_loadImageInfo'](_0x21e51e,_0xa21505){return j['getInfo'](_0x21e51e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4c6f34=>{const {width:_0x5dd080,height:_0x3fd5c3}=_0x4c6f34['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa21505,this['imageDimension']={'width':_0x5dd080,'height':_0x3fd5c3},this['imageId']=_0x21e51e;})['catch'](_0x411eeb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x411eeb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5525a2,_0x59df41){return this['_getImageAsFile'](_0x5525a2)['then'](_0x1e8414=>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':_0x59df41['signal'],'file':_0x1e8414,'onProgress':_0x569f7a=>{_0x569f7a&&_0x569f7a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x569f7a['value']));}}))['then'](_0x333baf=>{const {width:_0x5402af,height:_0x299ae7}=_0x333baf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x333baf['cdnUrl'],this['imageDimension']={'width':_0x5402af,'height':_0x299ae7},this['imageId']=_0x333baf['uuid'],this['imageUploadProgress']=null;const _0x3d895d=_0x5525a2['getAttribute']('src');this['_imageCache']['set'](_0x3d895d,{'id':_0x333baf['uuid'],'url':_0x333baf['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x45df9a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45df9a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x385b8d,_0x16e2a8){_0x385b8d['on']('apply',(_0x1e3816,_0x3b5bf7)=>{this['_replaceImage'](_0x16e2a8,_0x3b5bf7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x385b8d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x385b8d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4bb24b,_0x43dda0,_0x114d75){const _0x12db99=this['_editor'],{width:_0x4ed820,height:_0x237201}=F(_0x43dda0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2fb094,imageSources:_0x597c58}=C(_0x43dda0,_0x4ed820);_0x12db99['model']['change'](_0x25a742=>{if('$graveyard'===_0x4bb24b['root']['rootName']){_0x12db99['execute']('insertImage',{'imageType':_0x4bb24b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4bb24b['getAttributes']()),'uploadcareImageId':_0x114d75,'src':_0x2fb094,'sources':_0x597c58,'width':_0x4ed820,'height':_0x237201}});const _0x1464a7=_0x4bb24b['getChildren']();_0x4bb24b=_0x12db99['model']['document']['selection']['getSelectedElement']();for(const _0x393496 of _0x1464a7)_0x25a742['append'](_0x25a742['cloneElement'](_0x393496),_0x4bb24b);}else _0x25a742['setSelection'](_0x4bb24b,'on'),_0x12db99['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4bb24b['getAttributes']()),'uploadcareImageId':_0x114d75,'src':_0x2fb094,'sources':_0x597c58,'width':_0x4ed820,'height':_0x237201},_0x4bb24b);_0x25a742['setSelection'](_0x4bb24b,'on');});}async['_getImageAsFile'](_0x4aba9a){const _0x276906=_0x435ac1['window'],_0x1f76c6=_0x435ac1['document']['location']['href'],_0x1af0ce=new _0x276906['URL'](_0x4aba9a['getAttribute']('src'),_0x1f76c6);if('data:'===_0x1af0ce['protocol']){const _0xc65d20=_0x1af0ce['href']['split'](','),_0x1d22cb=_0xc65d20[0x0]['match'](/:(.*?);/)[0x1],_0x2968ca=_0x1d22cb['split']('/')[0x1],_0x54e74d=_0x276906['atob'](_0xc65d20[_0xc65d20['length']-0x1]);let _0x5b49c9=_0x54e74d['length'];const _0x471e7c=new _0x276906['Uint8Array'](_0x5b49c9);for(;_0x5b49c9--;)_0x471e7c[_0x5b49c9]=_0x54e74d['charCodeAt'](_0x5b49c9);return new _0x276906['File']([_0x471e7c],'image.'+_0x2968ca,{'type':_0x1d22cb});}const _0x26953d=_0x1af0ce['href']['split']('/'),_0x1bb8a6=_0x26953d[_0x26953d['length']-0x1],_0x368976=_0x1bb8a6['split']('.')[0x1];return _0x276906['fetch'](_0x1af0ce['href'])['then'](_0x42a97b=>_0x42a97b['clone']()['blob']())['then'](_0xc64f86=>new _0x276906['File']([_0xc64f86],_0x1bb8a6,{'type':'image/'+_0x368976}));}}class N extends _0x42bd53{['imageEditController'];static get['requires'](){return[_0x356bd9];}['_isEditable'];constructor(_0x42378f){super(_0x42378f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x564d70){const _0x2c1e3a=R(_0x564d70);return _0x9453d2=>!(!_0x9453d2||!_0x9453d2['is']('element','imageBlock')&&!_0x9453d2['is']('element','imageInline'))&&(!!_0x9453d2['hasAttribute']('uploadcareImageId')||!!_0x9453d2['hasAttribute']('src')&&_0x2c1e3a(_0x9453d2['getAttribute']('src')));}(_0x42378f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x34a167=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x34a167);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x556d62=this['editor']['model']['document']['selection']['getSelectedElement']();_0x556d62&&(_0x556d62['is']('element','imageBlock')||_0x556d62['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x356bd9),_0x556d62),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x42bd53{['refresh'](){const _0x59fa90=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x59fa90&&(_0x59fa90['is']('element','imageBlock')||_0x59fa90['is']('element','imageInline')));}['execute'](_0x4480b8){const _0x33642=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x815aa2=>{_0x815aa2['setAttributes'](_0x4480b8,_0x33642),_0x815aa2['removeAttribute']('srcset',_0x33642),_0x815aa2['removeAttribute']('sizes',_0x33642);});}}class m extends _0x48785e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1373f0,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x73b6fa}=this;_0x73b6fa['commands']['add']('uploadcareImageEdit',new N(_0x73b6fa)),_0x73b6fa['commands']['add']('uploadcareImageReplace',new O(_0x73b6fa));}}class g extends _0x48785e{['_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 _0x466823=this['editor'];_0x466823['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4dab93=>{const _0x396648=_0x466823['commands']['get']('uploadcareImageEdit'),_0x4119fa=new _0xdcb460(_0x4dab93),t=_0x4dab93['t'];return _0x4119fa['set']({'icon':_0x55b258,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4119fa['bind']('isEnabled')['to'](_0x396648),_0x4119fa['bind']('isOn')['to'](_0x396648,'isActive'),this['listenTo'](_0x4119fa,'execute',()=>{_0x466823['execute']('uploadcareImageEdit'),_0x466823['editing']['view']['focus']();}),_0x4119fa;}),this['_initConfig']();}['_initConfig'](){const _0x384692=_0x1fae8b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x384692),this['listenTo'](this['editor'],'destroy',()=>{_0x384692['remove']();});}}class et extends _0x48785e{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,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x5529e1,Command as _0xdcaedd}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x316436,IconGooglePhotos as _0x4fe954,IconGoogleDrive as _0x4c5d44,IconFacebook as _0x18b380,IconDropbox as _0x22fa9b,IconUploadcareLink as _0x434de6,IconUploadcareImageUpload as _0xa8bd31,IconError as _0x4699c2,IconUploadcareImageEdit as _0x3a33ff}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5ca8b5,MenuBarMenuListItemButtonView as _0x3b8fa2,View as _0x3cc980,FocusCycler as _0x3276ce,Dialog as _0x2f6f99,DialogViewPosition as _0x266679,SpinnerView as _0x42c23f,IconView as _0x2d903e,Notification as _0x1dd87f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x49dccd,DomEmitterMixin as _0x5921bb,global as _0x5881a7,getAncestors as _0x5d53ff,ObservableMixin as _0x1859a3,uid as _0x14e9d0,createElement as _0x402594}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2d24d3}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1319c5,info as _0x113197}from'@uploadcare/upload-client';import*as _0x2ff8f6 from'@uploadcare/file-uploader';var i=function(_0x2eef4c){return _0x2eef4c['Local']='local',_0x2eef4c['URL']='url',_0x2eef4c['Dropbox']='dropbox',_0x2eef4c['GDrive']='gdrive',_0x2eef4c['Facebook']='facebook',_0x2eef4c['GPhotos']='gphotos',_0x2eef4c['OneDrive']='onedrive',_0x2eef4c;}({});function _(_0x16676b,_0x229345,_0x2bba11){const t=_0x16676b['t'],_0x53ceb9=_0x16676b['t'];switch(_0x229345){case i['Local']:return{'text':_0x53ceb9('Insert'===_0x2bba11?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x53ceb9('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2bba11?_0x53ceb9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x53ceb9('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x229345;}}class e extends _0x5529e1{['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 _0x65a859=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x364c09;for(const _0x14f53b in _0x65a859){const _0x2d6a11=_0x14f53b,_0x200b09=_0x65a859[_0x2d6a11];if('uploadcareLicenseKeyValid'==_0x200b09||'uploadcareLicenseKeyInvalid'==_0x200b09||'uploadcareLicenseKeyExpired'==_0x200b09||'uploadcareLicenseKeyDomainLimit'==_0x200b09||'uploadcareLicenseKeyNotAllowed'==_0x200b09||'uploadcareLicenseKeyEvaluationLimit'==_0x200b09||'uploadcareLicenseKeyTrialLimit'==_0x200b09||'uploadcareLicenseKeyUsageLimit'==_0x200b09){delete _0x65a859[_0x2d6a11],_0x364c09=_0x200b09,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x364c09&&_0x65a859['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x364c09&&_0x65a859['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x364c09&&_0x65a859['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x364c09&&_0x65a859['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x364c09&&_0x65a859['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x364c09&&_0x65a859['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x364c09&&_0x65a859['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3f93e0}=this,_0x27ed9c=_0x3f93e0['commands']['get']('uploadcare');if(!_0x27ed9c)return;const _0x1fa79b=this['_normalizeConfigSourceList'](_0x3f93e0['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1b611a,_0x3f6ae7)=>{const _0x31b397=this['_getIntegrationKey'](_0x3f6ae7['type']);return _0x1b611a[_0x31b397]||(_0x1b611a[_0x31b397]=[]),_0x1b611a[_0x31b397]['push'](_0x3f6ae7),_0x1b611a;},{});_0x3f93e0['plugins']['has']('ImageInsertUI')&&_0x3f93e0['commands']['get']('uploadcare')&&Object['entries'](_0x1fa79b)['forEach'](([_0xe51bc1,_0x411d55])=>{_0x3f93e0['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xe51bc1,'observable':()=>_0x27ed9c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x411d55),'formViewCreator':()=>this['_createDropdownButtons'](_0x411d55),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x411d55),'override':'assetManager'!==_0xe51bc1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3d0d35){const {locale:_0x476520}=this['editor'];return _0x3d0d35['map'](_0x8959c9=>{const _0x4d271e=_(_0x476520,_0x8959c9,'Insert');switch(_0x8959c9){case i['Local']:return{'icon':_0xa8bd31,'type':i['Local'],..._0x4d271e};case i['URL']:return{'icon':_0x434de6,'type':i['URL'],..._0x4d271e};case i['Dropbox']:return{'icon':_0x22fa9b,'type':i['Dropbox'],..._0x4d271e};case i['Facebook']:return{'icon':_0x18b380,'type':i['Facebook'],..._0x4d271e};case i['GDrive']:return{'icon':_0x4c5d44,'type':i['GDrive'],..._0x4d271e};case i['GPhotos']:return{'icon':_0x4fe954,'type':i['GPhotos'],..._0x4d271e};case i['OneDrive']:return{'icon':_0x316436,'type':i['OneDrive'],..._0x4d271e};}});}['_getIntegrationKey'](_0x2895dd){switch(_0x2895dd){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x560a23,_0x40b591){const _0x121656=this['editor'],_0x54509c=new _0x560a23(_0x121656['locale']),_0x37e2eb=_0x121656['commands']['get']('uploadcare');return _0x54509c['bind']('isEnabled')['to'](_0x37e2eb),_0x54509c['on']('execute',()=>{_0x37e2eb['execute'](_0x40b591);}),_0x54509c;}['_createToolbarButton'](_0x166d9e){const {locale:_0x1a2492}=this['editor'],_0x4b1bb4=this['editor']['plugins']['get']('ImageInsertUI'),_0xc441bf=_0x166d9e[0x0],_0x5433d0=this['_createButton'](_0x5ca8b5,_0xc441bf['type']);return _0x5433d0['icon']=_0xc441bf['icon'],_0x5433d0['bind']('label')['to'](_0x4b1bb4,'isImageSelected',_0x370ad0=>_(_0x1a2492,_0xc441bf['type'],_0x370ad0?'Replace':'Insert')['text']),_0x5433d0['tooltip']=!0x0,_0x5433d0;}['_createDropdownButtons'](_0x59de79){const {locale:_0x4a71f4}=this['editor'],_0x5eb89d=this['editor']['plugins']['get']('ImageInsertUI');return _0x59de79['map'](_0x15805c=>{const _0x4bccbe=this['_createButton'](_0x5ca8b5,_0x15805c['type']);return _0x4bccbe['withText']=!0x0,_0x4bccbe['icon']=_0x15805c['icon'],_0x4bccbe['bind']('label')['to'](_0x5eb89d,'isImageSelected',_0x255ab2=>_(_0x4a71f4,_0x15805c['type'],_0x255ab2?'Replace':'Insert')['text']),_0x4bccbe;});}['_createMenuBarButtons'](_0x202664){return _0x202664['map'](_0x5d8140=>{const _0x1b5d2f=this['_createButton'](_0x3b8fa2,_0x5d8140['type']);return _0x1b5d2f['icon']=_0x5d8140['icon'],_0x1b5d2f['label']=_0x5d8140['shortText'],_0x1b5d2f;});}}class F extends _0x3cc980{['focusTracker'];['focusCycler'];constructor(_0x5c0b99){super(_0x5c0b99),this['focusTracker']=new _0x49dccd(),this['focusCycler']=new _0x3276ce({'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(_0x13d0f6,_0x264c9f){super(_0x13d0f6),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-'+_0x264c9f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x1a237b,_0x64d93d){const _0x95a9de=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x384a24=>_0x384a24<=_0x64d93d)['map'](_0x3fc707=>_0x1a237b['replace'](/\/$/,'')+'/-/resize/'+_0x3fc707+'x/\x20'+_0x3fc707+'w');return{'imageFallbackUrl':_0x1a237b,'imageSources':[{'srcset':_0x95a9de['join'](',\x20'),'sizes':'(max-width:\x20'+_0x64d93d+'px)\x20100vw,\x20'+_0x64d93d+'px','type':'image/webp'}]};}function S(_0x14e0d0,_0x19f104,_0x589b8f){const _0x3d069b=_0x14e0d0['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3d069b?parseInt(_0x3d069b[0x1],0xa):_0x19f104,'height':_0x3d069b?parseInt(_0x3d069b[0x2],0xa):_0x589b8f};}function p(_0x32b512,_0x42a010){const _0x242d47=new(_0x5921bb())(),_0x2bf9d1=_0x32b512['plugins']['get']('ImageUtils'),_0x23cf0d=_0x32b512['editing']['mapper']['toViewElement'](_0x42a010),_0xaf774b=_0x2bf9d1['findViewImgElement'](_0x23cf0d),_0x3a1fb5=_0x32b512['editing']['view']['domConverter']['viewToDom'](_0xaf774b),_0x28f00a=_0x42a010['getAttribute']('width'),_0x332849=_0x42a010['getAttribute']('height'),_0x19d398='image-processing';_0x32b512['editing']['view']['change'](_0x26527c=>{_0x26527c['addClass'](_0x19d398,_0x23cf0d),_0x26527c['setStyle']('aspect-ratio',_0x28f00a+'/'+_0x332849,_0xaf774b);}),_0x242d47['listenTo'](_0x3a1fb5,'load',()=>{_0x242d47['stopListening'](_0x3a1fb5,'load'),_0x32b512['editing']['view']['change'](_0x20939b=>{_0x20939b['removeClass'](_0x19d398,_0x23cf0d),_0x20939b['removeStyle']('aspect-ratio',_0xaf774b);});});}function G(_0x28e814){if(Array['isArray'](_0x28e814)){const _0x3f9ec3=_0x28e814['map'](G);return _0x1b1d32=>_0x3f9ec3['some'](_0x6195c8=>_0x6195c8(_0x1b1d32));}if('origin'==_0x28e814){const _0x1f0598=_0x5881a7['window']['location']['origin'];return _0x351cd8=>new URL(_0x351cd8,_0x5881a7['document']['baseURI'])['origin']==_0x1f0598;}return'function'==typeof _0x28e814?_0x28e814:_0x28e814 instanceof RegExp?_0xc0a448=>!(!_0xc0a448['match'](_0x28e814)&&!_0xc0a448['replace'](/^https?:\/\//,'')['match'](_0x28e814)):()=>!0x1;}function A(_0x44b03f,_0x57f5f6){return _0x5d53ff(_0x44b03f['target'])['includes'](_0x57f5f6);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x1859a3(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x31bd5f,_0x1ad588,_0x18aaa4){super(),this['_editor']=_0x31bd5f,this['_editing']=_0x1ad588,this['_dialog']=_0x31bd5f['plugins']['get'](_0x2f6f99),this['_api']=_0x1ad588['ctxElement']['getAPI'](),this['_type']=_0x18aaa4,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:_0x13cbae,model:_0x29bb07}=this['_editor'],_0x1f1e4f=_0x29bb07['document']['selection']['getSelectedElement'](),_0x93094=_0x1f1e4f&&(_0x1f1e4f['is']('element','imageBlock')||_0x1f1e4f['is']('element','imageInline'));this['_formView']=new x(_0x13cbae,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xa8bd31,'title':_(_0x13cbae,this['_type'],_0x93094?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x266679['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5ef481=>!A(_0x5ef481,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x50844a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3e2142=>{const _0x18b6d9=_0x50844a['length'];for(const _0x25ebe3 of _0x50844a){const _0x111b84=_0x25ebe3===_0x50844a[_0x18b6d9-0x1],{cdnUrl:_0x94e152,fileInfo:_0x2188ac}=_0x25ebe3;if(!_0x94e152||!_0x2188ac)continue;const {width:_0x57b5ca,height:_0x4ad398}=_0x2188ac['imageInfo'],_0x292487=S(_0x94e152,_0x57b5ca,_0x4ad398),_0x5042cb=C(_0x94e152,_0x292487['width']),_0x5740bb={'id':_0x2188ac['uuid'],'type':'image','attributes':{'imageDimension':_0x292487,..._0x5042cb}};this['_insertAsset'](_0x5740bb,_0x111b84,_0x3e2142);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x32eaf9=>{'idle'===_0x32eaf9['detail']['status']&&!_0x32eaf9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4cd19b,_0xfddc2a,_0x4a7b6f){const _0x2934db=this['_editor']['model']['document']['selection'],_0x1fb108=_0x2934db['getSelectedElement'](),_0x2e3252=!(!_0x1fb108||!_0x1fb108['is']('element','imageInline'));_0x4a7b6f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4cd19b,_0x2e3252),_0xfddc2a||_0x4a7b6f['setSelection'](_0x2934db['getLastPosition']());}['_insertImage'](_0x56dfac,_0x55d55f){const _0x42c4b2=this['_editor'],{imageDimension:_0x560ab8,imageFallbackUrl:_0x3118d2,imageSources:_0x1e6e74}=_0x56dfac['attributes'];_0x42c4b2['execute']('insertImage',{'imageType':_0x55d55f?'imageInline':null,'source':{'uploadcareImageId':_0x56dfac['id'],'src':_0x3118d2,'sources':_0x1e6e74,..._0x560ab8}});}}class w extends _0xdcaedd{['_editing'];['_controller']=null;static get['requires'](){return[_0x2f6f99,o];}constructor(_0xba4bac){super(_0xba4bac),this['_editing']=_0xba4bac['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x16fde2){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x16fde2);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x53bde3,..._0x47b149}){return _0x1319c5(_0x53bde3,_0x47b149);}static['getInfo'](_0x55fe66,_0x38cf5e){return _0x113197(_0x55fe66,_0x38cf5e);}}class f extends _0x5529e1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2d24d3,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x573b9f=this['editor'];if(!!!_0x573b9f['config']['get']('uploadcare'))return;_0x573b9f['plugins']['get'](_0x2d24d3)['createUploadAdapter']=_0x414c22=>new k(_0x414c22,_0x573b9f),_0x573b9f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3074ca,{imageElement:_0x161c2b,data:_0x4f921d})=>{_0x573b9f['model']['change'](_0x254056=>{_0x254056['setAttribute']('uploadcareImageId',_0x4f921d['uploadcareImageId'],_0x161c2b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x54eb3c,_0x2ba5ae){this['loader']=_0x54eb3c,this['editor']=_0x2ba5ae,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x171918=await this['loader']['file'];return j['upload']({'file':_0x171918,'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':_0x3ba967=>{_0x3ba967&&_0x3ba967['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3ba967['value']);}})['then'](async _0x202387=>{const {imageFallbackUrl:_0x762db8,imageSources:_0x441f39}=C(_0x202387['cdnUrl'],_0x202387['imageInfo']['width']);return{'uploadcareImageId':_0x202387['uuid'],'default':_0x762db8,'sources':_0x441f39};})['catch'](()=>{const _0x28f374=t('Cannot\x20upload\x20file:')+('\x20'+_0x171918['name']+'.');return Promise['reject'](_0x28f374);});}['abort'](){this['controller']['abort']();}}class o extends _0x5529e1{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2f6f99];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1fac1a){super(_0x1fac1a),this['ucContextId']=_0x14e9d0();}['init'](){const _0x17fc66=this['editor'];_0x17fc66['commands']['add']('uploadcare',new w(_0x17fc66));}['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 _0x25a344=_0x5881a7['document']['querySelector']('input[uploadcare-file-input]');_0x25a344&&_0x25a344['remove']();}),async function(_0x1600a9){const _0x5417f9=_0x46545e([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]),_0xe6f766=0x535f8c3a,_0x536afe=0x5358f6e2^_0xe6f766,_0x59555b=window[_0x46545e([0x44,0x61,0x74,0x65])][_0x46545e([0x6e,0x6f,0x77])](),_0x22a348=_0x1600a9[_0x46545e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa13b8b=new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d6319=>{_0x22a348[_0x46545e([0x6f,0x6e,0x63,0x65])](_0x46545e([0x72,0x65,0x61,0x64,0x79]),_0x1d6319);}),_0x2b6755={[_0x46545e([0x6b,0x74,0x79])]:_0x46545e([0x45,0x43]),[_0x46545e([0x75,0x73,0x65])]:_0x46545e([0x73,0x69,0x67]),[_0x46545e([0x63,0x72,0x76])]:_0x46545e([0x50,0x2d,0x32,0x35,0x36]),[_0x46545e([0x78])]:_0x46545e([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]),[_0x46545e([0x79])]:_0x46545e([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]),[_0x46545e([0x61,0x6c,0x67])]:_0x46545e([0x45,0x53,0x32,0x35,0x36])},_0x588169=_0x22a348[_0x46545e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46545e([0x67,0x65,0x74])](_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1bf528(){let _0x3fe024,_0x4e3c9c=null,_0x245f3b=null;try{if(_0x588169==_0x46545e([0x47,0x50,0x4c]))return _0x46545e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fe024=_0x9f7f58(),!_0x3fe024)return _0x46545e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fe024[_0x46545e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x245f3b=_0x269e99(_0x3fe024[_0x46545e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fe024[_0x46545e([0x6a,0x74,0x69])])),await _0xa6b447()?_0x2b1664()?_0x546854()?_0x46545e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fa9f2()?(_0x3fe024[_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46545e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e3c9c=_0x444ab6(_0x46545e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fe024[_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46545e([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e3c9c=_0x444ab6(_0x46545e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34b081()):_0x46545e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46545e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46545e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46545e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x546854(){const _0x5b40fe=[_0x46545e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46545e([0x74,0x72,0x69,0x61,0x6c])][_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe024[_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59555b/0x3e8:0xe10*_0x536afe;return _0x3fe024[_0x46545e([0x65,0x78,0x70])]<_0x5b40fe;}function _0x2b1664(){const _0x4212e8=_0x3fe024[_0x46545e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4212e8&&(!!_0x4212e8[_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46545e([0x2a]))||!!_0x4212e8[_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46545e([0x55,0x50,0x4c,0x43])));}function _0x2fa9f2(){const _0x162d63=_0x3fe024[_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x162d63||0x0==_0x162d63[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51340c}=new URL(window[_0x46545e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x162d63[_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51340c))return!0x0;const _0x37c7a2=_0x51340c[_0x46545e([0x73,0x70,0x6c,0x69,0x74])](_0x46545e([0x2e]));return _0x162d63[_0x46545e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26b146=>_0x26b146[_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46545e([0x2a])))[_0x46545e([0x6d,0x61,0x70])](_0xc0bf86=>_0xc0bf86[_0x46545e([0x73,0x70,0x6c,0x69,0x74])](_0x46545e([0x2e])))[_0x46545e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f233d=>_0x1f233d[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x37c7a2[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46545e([0x6d,0x61,0x70])](_0x540236=>Array(_0x37c7a2[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x540236[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46545e([0x66,0x69,0x6c,0x6c])](_0x540236[0x0]===_0x46545e([0x2a])?_0x46545e([0x2a]):'')[_0x46545e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x540236))[_0x46545e([0x73,0x6f,0x6d,0x65])](_0x57bec9=>_0x37c7a2[_0x46545e([0x65,0x76,0x65,0x72,0x79])]((_0x1d6fde,_0x3f05df)=>_0x57bec9[_0x3f05df]===_0x1d6fde||_0x57bec9[_0x3f05df]===_0x46545e([0x2a])));}function _0x34b081(){return _0x4e3c9c&&_0x245f3b?new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d957c,_0x4af196)=>{_0x4e3c9c[_0x46545e([0x74,0x68,0x65,0x6e])](_0x1d957c,_0x4af196),_0x245f3b[_0x46545e([0x74,0x68,0x65,0x6e])](_0xc99adc=>{_0xc99adc!=_0x46545e([0x56,0x61,0x6c,0x69,0x64])&&_0x1d957c(_0xc99adc);},_0x4af196);}):_0x4e3c9c||_0x245f3b||_0x46545e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x269e99(_0x4cfa74,_0x181fe9){return new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20eaa9=>{if(_0x4d1059())return _0x20eaa9(_0x46545e([0x56,0x61,0x6c,0x69,0x64]));_0x55aa4c(),_0x22a348[_0x46545e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46545e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2588ab=!0x1;const _0x3eeb5d=_0x14e9d0();function _0xc77486(_0x4f60db){return!!_0x4f60db&&(typeof _0x4f60db===_0x46545e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f60db===_0x46545e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f60db[_0x46545e([0x74,0x68,0x65,0x6e])]===_0x46545e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f60db[_0x46545e([0x63,0x61,0x74,0x63,0x68])]===_0x46545e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x111b02(_0xb4632b){_0x2739cf(_0xb4632b)[_0x46545e([0x74,0x68,0x65,0x6e])](_0x2214ea=>{if(!_0x2214ea||_0x2214ea[_0x46545e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46545e([0x6f,0x6b]))return _0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x352f67(_0x527129(_0x3eeb5d+_0x181fe9))!=_0x2214ea[_0x46545e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46545e([0x56,0x61,0x6c,0x69,0x64]);})[_0x46545e([0x74,0x68,0x65,0x6e])](_0xef3823=>(_0x9f3cc6(),_0xef3823),()=>{const _0x448021=_0x4654ad();return null==_0x448021?(_0x9f3cc6(),_0x46545e([0x56,0x61,0x6c,0x69,0x64])):_0x46545e(_0x59555b-_0x448021>(0x7753083a^_0xe6f766)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46545e([0x74,0x68,0x65,0x6e])](_0x20eaa9)[_0x46545e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20eaa9(_0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2693ef=0x536962ba^_0xe6f766;function _0x9f3cc6(){const _0x1bcef0=_0x46545e([0x6c,0x6c,0x63,0x74,0x2d])+_0x352f67(_0x527129(_0x4cfa74)),_0x3bc4a2=_0xfa010b(_0x352f67(window[_0x46545e([0x4d,0x61,0x74,0x68])][_0x46545e([0x63,0x65,0x69,0x6c])](_0x59555b/_0x2693ef)));window[_0x46545e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46545e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bcef0,_0x3bc4a2);}function _0x4654ad(){const _0x1269a8=_0x46545e([0x6c,0x6c,0x63,0x74,0x2d])+_0x352f67(_0x527129(_0x4cfa74)),_0x836609=window[_0x46545e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46545e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1269a8);return _0x836609?window[_0x46545e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfa010b(_0x836609),0x10)*_0x2693ef:null;}function _0x2739cf(_0xfae2b6){return new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c3b17,_0x5862e7)=>{_0xfae2b6[_0x46545e([0x74,0x68,0x65,0x6e])](_0x3c3b17,_0x5862e7),window[_0x46545e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5862e7,0x535e58fa^_0xe6f766);});}}_0x22a348[_0x46545e([0x6f,0x6e])](_0x46545e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26c674,_0x198351)=>{if(_0x198351[0x0]!=_0x4cfa74)return _0x20eaa9(_0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x198351[0x1]={..._0x198351[0x1],[_0x46545e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3eeb5d};},{[_0x46545e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46545e([0x68,0x69,0x67,0x68])}),_0x22a348[_0x46545e([0x6f,0x6e])](_0x46545e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x526519=>{_0xc77486(_0x526519[_0x46545e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2588ab=!0x0,_0x111b02(_0x526519[_0x46545e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46545e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46545e([0x6c,0x6f,0x77])}),_0xa13b8b[_0x46545e([0x74,0x68,0x65,0x6e])](()=>{_0x2588ab||_0x20eaa9(_0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d1059(){return _0x22a348[_0x46545e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46545e([0x76,0x69,0x65,0x77])][_0x46545e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46545e([0x61,0x75,0x74,0x6f]);}function _0x55aa4c(){_0x22a348[_0x46545e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46545e([0x76,0x69,0x65,0x77])][_0x46545e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46545e([0x61,0x75,0x74,0x6f]);}}function _0x444ab6(_0x11426c){const _0x161ed6=[new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39e641=>setTimeout(_0x39e641,0x5356b2f6^_0xe6f766)),_0xa13b8b[_0x46545e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25c55b=>{let _0x34a854=0x0;_0x22a348[_0x46545e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46545e([0x6f,0x6e])](_0x46545e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3681cf,_0x1223c6)=>{_0x1223c6[0x0][_0x46545e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34a854++,_0x34a854==(0x535f8dc2^_0xe6f766)&&(_0x25c55b(),_0x3681cf[_0x46545e([0x6f,0x66,0x66])]());});}))];return window[_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46545e([0x72,0x61,0x63,0x65])](_0x161ed6)[_0x46545e([0x74,0x68,0x65,0x6e])](()=>_0x11426c);}async function _0x56e81e(){await _0xa13b8b,_0x22a348[_0x46545e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46545e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x557553,_0x22a348[_0x46545e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46545e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x557553,_0x22a348[_0x46545e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46545e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e112d(_0x5eef71){const _0x554c09=_0x5c1ebd();_0x22a348[_0x554c09]=_0x46545e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5eef71,_0x5eef71!=_0x46545e([0x56,0x61,0x6c,0x69,0x64])&&_0x56e81e();}function _0x5c1ebd(){const _0x94f83a=window[_0x46545e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46545e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46545e([0x6e,0x6f,0x77])]())[_0x46545e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46545e([0x2e]),'');let _0x555cae=_0x46545e([0x68]);for(let _0x410d9b=0x0;_0x410d9b<_0x94f83a[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x410d9b+=0x2){let _0xbd82d9=window[_0x46545e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x94f83a[_0x46545e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x410d9b,_0x410d9b+0x2));_0xbd82d9>=_0x5417f9[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbd82d9-=_0x5417f9[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x555cae+=_0x5417f9[_0xbd82d9];}return _0x555cae;}function _0x9f7f58(){const _0x944cae=_0x588169[_0x46545e([0x73,0x70,0x6c,0x69,0x74])](_0x46545e([0x2e]));if(0x3!=_0x944cae[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x393a27(_0x944cae[0x1]);function _0x393a27(_0x459f59){const _0x3f9e6b=_0x114072(_0x459f59);return _0x3f9e6b&&_0x42a2d2()?_0x3f9e6b:null;function _0x42a2d2(){const _0x4ca0c9=_0x3f9e6b[_0x46545e([0x6a,0x74,0x69])],_0xd0fd5f=window[_0x46545e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ca0c9[_0x46545e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ca0c9[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa041e7={..._0x3f9e6b,[_0x46545e([0x6a,0x74,0x69])]:_0x4ca0c9[_0x46545e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ca0c9[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa041e7[_0x46545e([0x76,0x63])],_0x527129(_0xa041e7)==_0xd0fd5f;}}}async function _0xa6b447(){let _0x2a56c7=!0x0;try{const _0x27a900=_0x588169[_0x46545e([0x73,0x70,0x6c,0x69,0x74])](_0x46545e([0x2e])),[_0x4387b5,_0x52dd5e,_0x43eee5]=_0x27a900;return _0x1fa145(_0x4387b5),await _0x2faaa8(_0x4387b5,_0x52dd5e,_0x43eee5),_0x2a56c7;}catch{return!0x1;}function _0x1fa145(_0xea4aea){const _0x3bfc30=_0x114072(_0xea4aea);_0x3bfc30&&_0x3bfc30[_0x46545e([0x61,0x6c,0x67])]==_0x46545e([0x45,0x53,0x32,0x35,0x36])||(_0x2a56c7=!0x1);}async function _0x2faaa8(_0x119d38,_0x2d56ac,_0x303d4c){const _0x563105=window[_0x46545e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46545e([0x66,0x72,0x6f,0x6d])](_0x5c2fb7(_0x303d4c),_0x11c942=>_0x11c942[_0x46545e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3ee4fa=new window[(_0x46545e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46545e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x119d38+_0x46545e([0x2e])+_0x2d56ac),_0x37dd51=window[_0x46545e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46545e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37dd51)return;const _0x29bae1=await _0x37dd51[_0x46545e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46545e([0x6a,0x77,0x6b]),_0x2b6755,{[_0x46545e([0x6e,0x61,0x6d,0x65])]:_0x46545e([0x45,0x43,0x44,0x53,0x41]),[_0x46545e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46545e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46545e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37dd51[_0x46545e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46545e([0x6e,0x61,0x6d,0x65])]:_0x46545e([0x45,0x43,0x44,0x53,0x41]),[_0x46545e([0x68,0x61,0x73,0x68])]:{[_0x46545e([0x6e,0x61,0x6d,0x65])]:_0x46545e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29bae1,_0x563105,_0x3ee4fa)||(_0x2a56c7=!0x1);}}function _0x114072(_0x39340b){return _0x39340b[_0x46545e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46545e([0x65,0x79]))?JSON[_0x46545e([0x70,0x61,0x72,0x73,0x65])](_0x5c2fb7(_0x39340b)):null;}function _0x5c2fb7(_0xeb7625){return window[_0x46545e([0x61,0x74,0x6f,0x62])](_0xeb7625[_0x46545e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46545e([0x2b]))[_0x46545e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46545e([0x2f])));}function _0x527129(_0x36c86a){let _0x122d6d=0x1505;function _0x1fa0ec(_0x7673d4){for(let _0x404135=0x0;_0x404135<_0x7673d4[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x404135++){const _0x26a69a=_0x7673d4[_0x46545e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x404135);_0x122d6d=(_0x122d6d<<0x5)+_0x122d6d+_0x26a69a,_0x122d6d&=_0x122d6d;}}function _0x5f34f0(_0x30f064){Array[_0x46545e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x30f064)?_0x30f064[_0x46545e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f34f0):_0x30f064&&typeof _0x30f064==_0x46545e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46545e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x30f064)[_0x46545e([0x73,0x6f,0x72,0x74])]()[_0x46545e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x456d60,_0x32db92])=>{_0x1fa0ec(_0x456d60),_0x5f34f0(_0x32db92);}):_0x1fa0ec(window[_0x46545e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x30f064));}return _0x5f34f0(_0x36c86a),_0x122d6d>>>0x0;}function _0x352f67(_0x3ff454){return _0x3ff454[_0x46545e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46545e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46545e([0x30]));}function _0xfa010b(_0x696845){return _0x696845[_0x46545e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46545e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46545e([0x6a,0x6f,0x69,0x6e])]('');}function _0x557553(){}function _0x46545e(_0x468064){return _0x468064['map'](_0x16f16d=>String['fromCharCode'](_0x16f16d))['join']('');}_0x5e112d(await _0x1bf528());}(this);}['_initSchema'](){const _0x1cdec6=this['editor']['model']['schema'];_0x1cdec6['isRegistered']('imageBlock')&&_0x1cdec6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1cdec6['isRegistered']('imageInline')&&_0x1cdec6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x569bc0=this['editor'];_0x569bc0['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x569bc0['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x196f4c=>_0x196f4c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x89de38=_0x569bc0['commands']['get']('replaceImageSource');_0x89de38&&this['listenTo'](_0x89de38,'cleanupImage',(_0x3497c1,[_0xe03689,_0x2529c6])=>{_0xe03689['removeAttribute']('uploadcareImageId',_0x2529c6);});}['_initConfig'](){const _0x7d3f5c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x558992=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x402594(_0x5881a7['document'],'uc-config',{..._0x7d3f5c,'pubkey':_0x558992,'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']=_0xca6422=>{if('closeMax'==_0xca6422)return'#uc-icon-arrow-down';},_0x5881a7['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x402594(_0x5881a7['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5881a7['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x397524=this['editor']['commands']['get']('insertImage');_0x397524&&this['listenTo'](_0x397524,'execute',()=>{const _0x19a200=this['editor']['model']['document']['selection']['getSelectedElement']();_0x19a200&&_0x19a200['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x19a200);});});const _0x9c0bf1=this['editor']['commands']['get']('uploadcareImageReplace');_0x9c0bf1&&this['listenTo'](_0x9c0bf1,'execute',()=>{const _0x1dc848=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1dc848&&_0x1dc848['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1dc848);});});}}class tt extends _0x5529e1{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f0952){super(_0x1f0952),_0x1f0952['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2ff8f6['defineComponents'](_0x2ff8f6),this['_defineLocale']();}['_defineLocale'](){const _0x5ba8ca=this['editor']['config']['get']('uploadcare.locale'),_0x1863ce=this['editor']['locale']['contentLanguage'];_0x5ba8ca&&_0x2ff8f6['defineLocale'](_0x1863ce,_0x5ba8ca);}}class ii extends _0x3cc980{constructor(_0x1d896c){super(_0x1d896c);const t=_0x1d896c['t'],_0x25322a=this['bindTemplate'],_0x4d8f70=new _0x42c23f();_0x4d8f70['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':[_0x4d8f70,{'text':_0x25322a['to']('imageUploadProgress',_0x59eaea=>t('Loading\x20image...')+'\x20('+(_0x59eaea||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 _0x3cc980{constructor(_0x54bcc1){super(_0x54bcc1);const t=_0x54bcc1['t'];this['set']('errorType',null);const _0x14045a=new _0x5ca8b5(_0x54bcc1);_0x14045a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x14045a['withText']=!0x0,_0x14045a['class']='ck-button-action',_0x14045a['on']('execute',()=>{this['fire']('retry');}),_0x14045a['bind']('isVisible')['to'](this,'errorType',_0x1d04e4=>'NotFound'!==_0x1d04e4);const _0x1bc3c3=new _0x2d903e();_0x1bc3c3['content']=_0x4699c2,_0x1bc3c3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xff0dcc=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':[_0x1bc3c3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xff0dcc['to']('errorType',_0x2e7536=>t('NotFound'!==_0x2e7536?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x14045a]},{'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 _0x3cc980{constructor(_0x195f84,_0x5613d2){super(_0x195f84);const _0x379ba9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5613d2,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x379ba9['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x37891f,_0x197432,_0x2675c1){super(_0x37891f),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x37891f),this['_errorView']=new ti(_0x37891f),this['_editingView']=new ei(_0x37891f,_0x2675c1),this['_focusableView']=new _0x3cc980(_0x37891f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x197432),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'],_0x5838c9=>{this['_addUploadcareImageEditorListeners'](_0x5838c9);});}),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'](_0x240711,_0x4b7593){const _0x5804f0='uc-cloud-image-editor',_0x3661b1=_0x240711['querySelector'](_0x5804f0);if(_0x3661b1)return _0x4b7593(_0x3661b1);const _0x5831c5=new MutationObserver(_0x31204b=>{const _0x1c87c9=_0x31204b['filter'](_0x3e361a=>_0x3e361a['target']===_0x240711&&_0x3e361a['addedNodes']['length']>0x0&&_0x3e361a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5804f0);_0x1c87c9['length']&&(_0x5831c5['disconnect'](),_0x4b7593(_0x1c87c9[0x0]['addedNodes'][0x0]));});_0x5831c5['observe'](_0x240711,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5b51f5){_0x5b51f5['addEventListener']('apply',_0x334401=>{this['fire']('apply',{'imageSrc':_0x334401['detail']['cdnUrl']});}),_0x5b51f5['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x1859a3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xc11c5e,_0x6e11e4,_0x101a0b){super(),this['_editor']=_0xc11c5e,this['_dialog']=_0x6e11e4,this['_imageElement']=_0x101a0b,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 _0x573c25=this['_imageElement'],_0xbe9a46=_0x573c25['getAttribute']('uploadcareImageId'),_0x2bfcbc=_0x573c25['getAttribute']('src');if(_0xbe9a46)await this['_loadImageInfo'](_0xbe9a46,_0x2bfcbc);else{if(this['_imageCache']['has'](_0x2bfcbc)){const _0xf4476e=this['_imageCache']['get'](_0x2bfcbc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf4476e['url'],this['imageDimension']=_0xf4476e['dimension'],this['imageId']=_0xf4476e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4a030b}=this['_editor'],t=_0x4a030b['t'],_0x5c888a=new X(_0x4a030b,this['imageStatus'],this['_attributes']);_0x5c888a['bind']('status')['to'](this,'imageStatus'),_0x5c888a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5c888a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5c888a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5c888a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3a33ff,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5c888a,'position':_0x266679['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5c888a['focus']();},'onHide':()=>{_0x5c888a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4c351d=>!A(_0x4c351d,_0x5c888a['element'])}});}['_loadImageInfo'](_0x1602ff,_0x251edc){return j['getInfo'](_0x1602ff,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x357ecc=>{const {width:_0x5f3b9d,height:_0x56e4b1}=_0x357ecc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x251edc,this['imageDimension']={'width':_0x5f3b9d,'height':_0x56e4b1},this['imageId']=_0x1602ff;})['catch'](_0x2f6635=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2f6635['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5bfcdd,_0x34e4d4){return this['_getImageAsFile'](_0x5bfcdd)['then'](_0x161ffb=>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':_0x34e4d4['signal'],'file':_0x161ffb,'onProgress':_0x5ab8ba=>{_0x5ab8ba&&_0x5ab8ba['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5ab8ba['value']));}}))['then'](_0x5160f3=>{const {width:_0xf6e08,height:_0x468b93}=_0x5160f3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5160f3['cdnUrl'],this['imageDimension']={'width':_0xf6e08,'height':_0x468b93},this['imageId']=_0x5160f3['uuid'],this['imageUploadProgress']=null;const _0x431898=_0x5bfcdd['getAttribute']('src');this['_imageCache']['set'](_0x431898,{'id':_0x5160f3['uuid'],'url':_0x5160f3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb87026=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb87026['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4910bb,_0x5f4c63){_0x4910bb['on']('apply',(_0x21d554,_0x424d35)=>{this['_replaceImage'](_0x5f4c63,_0x424d35['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4910bb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4910bb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x33113a,_0x3b82a9,_0x2c9d62){const _0x133f1b=this['_editor'],{width:_0x438c5d,height:_0x5d2d5a}=S(_0x3b82a9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x41e0b9,imageSources:_0x5e2684}=C(_0x3b82a9,_0x438c5d);_0x133f1b['model']['change'](_0x2d5493=>{if('$graveyard'===_0x33113a['root']['rootName']){_0x133f1b['execute']('insertImage',{'imageType':_0x33113a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x33113a['getAttributes']()),'uploadcareImageId':_0x2c9d62,'src':_0x41e0b9,'sources':_0x5e2684,'width':_0x438c5d,'height':_0x5d2d5a}});const _0x27e89b=_0x33113a['getChildren']();_0x33113a=_0x133f1b['model']['document']['selection']['getSelectedElement']();for(const _0x1de89e of _0x27e89b)_0x2d5493['append'](_0x2d5493['cloneElement'](_0x1de89e),_0x33113a);}else _0x2d5493['setSelection'](_0x33113a,'on'),_0x133f1b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x33113a['getAttributes']()),'uploadcareImageId':_0x2c9d62,'src':_0x41e0b9,'sources':_0x5e2684,'width':_0x438c5d,'height':_0x5d2d5a},_0x33113a);_0x2d5493['setSelection'](_0x33113a,'on');});}async['_getImageAsFile'](_0x33df59){const _0x5d58e8=_0x5881a7['window'],_0x35a65a=_0x5881a7['document']['location']['href'],_0x2d8bd3=new _0x5d58e8['URL'](_0x33df59['getAttribute']('src'),_0x35a65a);if('data:'===_0x2d8bd3['protocol']){const _0x41fafa=_0x2d8bd3['href']['split'](','),_0x364856=_0x41fafa[0x0]['match'](/:(.*?);/)[0x1],_0x676c9a=_0x364856['split']('/')[0x1],_0x4538e2=_0x5d58e8['atob'](_0x41fafa[_0x41fafa['length']-0x1]);let _0x12dc2d=_0x4538e2['length'];const _0x215136=new _0x5d58e8['Uint8Array'](_0x12dc2d);for(;_0x12dc2d--;)_0x215136[_0x12dc2d]=_0x4538e2['charCodeAt'](_0x12dc2d);return new _0x5d58e8['File']([_0x215136],'image.'+_0x676c9a,{'type':_0x364856});}const _0x1a6396=_0x2d8bd3['href']['split']('/'),_0x373c6d=_0x1a6396[_0x1a6396['length']-0x1],_0x558da8=_0x373c6d['split']('.')[0x1];return _0x5d58e8['fetch'](_0x2d8bd3['href'])['then'](_0x268f65=>_0x268f65['clone']()['blob']())['then'](_0x4232d3=>new _0x5d58e8['File']([_0x4232d3],_0x373c6d,{'type':'image/'+_0x558da8}));}}class O extends _0xdcaedd{['imageEditController'];static get['requires'](){return[_0x2f6f99];}['_isEditable'];constructor(_0x45990b){super(_0x45990b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3f8cc4){const _0x561d5e=G(_0x3f8cc4);return _0x1b1c9e=>!(!_0x1b1c9e||!_0x1b1c9e['is']('element','imageBlock')&&!_0x1b1c9e['is']('element','imageInline'))&&(!!_0x1b1c9e['hasAttribute']('uploadcareImageId')||!!_0x1b1c9e['hasAttribute']('src')&&_0x561d5e(_0x1b1c9e['getAttribute']('src')));}(_0x45990b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5b0cf3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5b0cf3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3ff706=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3ff706&&(_0x3ff706['is']('element','imageBlock')||_0x3ff706['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2f6f99),_0x3ff706),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xdcaedd{['refresh'](){const _0x3e638b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3e638b&&(_0x3e638b['is']('element','imageBlock')||_0x3e638b['is']('element','imageInline')));}['execute'](_0x55c7b4){const _0x373ef3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xd093e=>{_0xd093e['setAttributes'](_0x55c7b4,_0x373ef3),_0xd093e['removeAttribute']('srcset',_0x373ef3),_0xd093e['removeAttribute']('sizes',_0x373ef3);});}}class m extends _0x5529e1{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1dd87f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d0bf0}=this;_0x5d0bf0['commands']['add']('uploadcareImageEdit',new O(_0x5d0bf0)),_0x5d0bf0['commands']['add']('uploadcareImageReplace',new R(_0x5d0bf0));}}class g extends _0x5529e1{['_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 _0x3a3942=this['editor'];_0x3a3942['ui']['componentFactory']['add']('uploadcareImageEdit',_0x245205=>{const _0x537394=_0x3a3942['commands']['get']('uploadcareImageEdit'),_0x11bbbf=new _0x5ca8b5(_0x245205),t=_0x245205['t'];return _0x11bbbf['set']({'icon':_0x3a33ff,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x11bbbf['bind']('isEnabled')['to'](_0x537394),_0x11bbbf['bind']('isOn')['to'](_0x537394,'isActive'),this['listenTo'](_0x11bbbf,'execute',()=>{_0x3a3942['execute']('uploadcareImageEdit'),_0x3a3942['editing']['view']['focus']();}),_0x11bbbf;}),this['_initConfig']();}['_initConfig'](){const _0x3f92d3=_0x402594(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3f92d3),this['listenTo'](this['editor'],'destroy',()=>{_0x3f92d3['remove']();});}}class et extends _0x5529e1{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':_0x344fea=>0x1!=_0x344fea}};
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':_0x382b81=>0x1!=_0x382b81}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5c8c24=>{const {af:{dictionary:_0x2ad4b0,getPluralForm:_0x124c9e}}={'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':_0x44438e=>0x1!=_0x44438e}};_0x5c8c24['af']||={'dictionary':{},'getPluralForm':null},_0x5c8c24['af']['dictionary']=Object['assign'](_0x5c8c24['af']['dictionary'],_0x2ad4b0),_0x5c8c24['af']['getPluralForm']=_0x124c9e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x40a304=>{const {af:{dictionary:_0x4652f7,getPluralForm:_0x40e20b}}={'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':_0x12e6c9=>0x1!=_0x12e6c9}};_0x40a304['af']||={'dictionary':{},'getPluralForm':null},_0x40a304['af']['dictionary']=Object['assign'](_0x40a304['af']['dictionary'],_0x4652f7),_0x40a304['af']['getPluralForm']=_0x40e20b;})(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':_0x48dc94=>0x0==_0x48dc94?0x0:0x1==_0x48dc94?0x1:0x2==_0x48dc94?0x2:_0x48dc94%0x64>=0x3&&_0x48dc94%0x64<=0xa?0x3:_0x48dc94%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':_0x3dc317=>0x0==_0x3dc317?0x0:0x1==_0x3dc317?0x1:0x2==_0x3dc317?0x2:_0x3dc317%0x64>=0x3&&_0x3dc317%0x64<=0xa?0x3:_0x3dc317%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x6aa844=>{const {ar:{dictionary:_0x3bebf6,getPluralForm:_0x4a1108}}={'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':_0x4c62c2=>0x0==_0x4c62c2?0x0:0x1==_0x4c62c2?0x1:0x2==_0x4c62c2?0x2:_0x4c62c2%0x64>=0x3&&_0x4c62c2%0x64<=0xa?0x3:_0x4c62c2%0x64>=0xb?0x4:0x5}};_0x6aa844['ar']||={'dictionary':{},'getPluralForm':null},_0x6aa844['ar']['dictionary']=Object['assign'](_0x6aa844['ar']['dictionary'],_0x3bebf6),_0x6aa844['ar']['getPluralForm']=_0x4a1108;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x282a64=>{const {ar:{dictionary:_0x977c9,getPluralForm:_0x294688}}={'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':_0x4a0591=>0x0==_0x4a0591?0x0:0x1==_0x4a0591?0x1:0x2==_0x4a0591?0x2:_0x4a0591%0x64>=0x3&&_0x4a0591%0x64<=0xa?0x3:_0x4a0591%0x64>=0xb?0x4:0x5}};_0x282a64['ar']||={'dictionary':{},'getPluralForm':null},_0x282a64['ar']['dictionary']=Object['assign'](_0x282a64['ar']['dictionary'],_0x977c9),_0x282a64['ar']['getPluralForm']=_0x294688;})(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':_0x9b5ae2=>0x1!=_0x9b5ae2}};
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':_0x1b22e9=>0x1!=_0x1b22e9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21eb84=>{const {ast:{dictionary:_0x406634,getPluralForm:_0x2679d6}}={'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':_0x56b47c=>0x1!=_0x56b47c}};_0x21eb84['ast']||={'dictionary':{},'getPluralForm':null},_0x21eb84['ast']['dictionary']=Object['assign'](_0x21eb84['ast']['dictionary'],_0x406634),_0x21eb84['ast']['getPluralForm']=_0x2679d6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1d07a3=>{const {ast:{dictionary:_0x34d2fc,getPluralForm:_0x263f08}}={'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':_0x2e2bf6=>0x1!=_0x2e2bf6}};_0x1d07a3['ast']||={'dictionary':{},'getPluralForm':null},_0x1d07a3['ast']['dictionary']=Object['assign'](_0x1d07a3['ast']['dictionary'],_0x34d2fc),_0x1d07a3['ast']['getPluralForm']=_0x263f08;})(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':_0x4631b1=>0x1!=_0x4631b1}};
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':_0x5e65b0=>0x1!=_0x5e65b0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x287e6a=>{const {az:{dictionary:_0x18cd4a,getPluralForm:_0x689c72}}={'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':_0x1fb90b=>0x1!=_0x1fb90b}};_0x287e6a['az']||={'dictionary':{},'getPluralForm':null},_0x287e6a['az']['dictionary']=Object['assign'](_0x287e6a['az']['dictionary'],_0x18cd4a),_0x287e6a['az']['getPluralForm']=_0x689c72;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3edfe6=>{const {az:{dictionary:_0x56d4d9,getPluralForm:_0x5b2309}}={'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':_0x18d504=>0x1!=_0x18d504}};_0x3edfe6['az']||={'dictionary':{},'getPluralForm':null},_0x3edfe6['az']['dictionary']=Object['assign'](_0x3edfe6['az']['dictionary'],_0x56d4d9),_0x3edfe6['az']['getPluralForm']=_0x5b2309;})(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':_0x4e17c5=>_0x4e17c5%0xa==0x1&&_0x4e17c5%0x64!=0xb?0x0:_0x4e17c5%0xa>=0x2&&_0x4e17c5%0xa<=0x4&&(_0x4e17c5%0x64<0xa||_0x4e17c5%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':_0x5ea4e8=>_0x5ea4e8%0xa==0x1&&_0x5ea4e8%0x64!=0xb?0x0:_0x5ea4e8%0xa>=0x2&&_0x5ea4e8%0xa<=0x4&&(_0x5ea4e8%0x64<0xa||_0x5ea4e8%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ca625=>{const {be:{dictionary:_0x1f844e,getPluralForm:_0x5ea811}}={'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':_0x5e901f=>_0x5e901f%0xa==0x1&&_0x5e901f%0x64!=0xb?0x0:_0x5e901f%0xa>=0x2&&_0x5e901f%0xa<=0x4&&(_0x5e901f%0x64<0xa||_0x5e901f%0x64>=0x14)?0x1:0x2}};_0x2ca625['be']||={'dictionary':{},'getPluralForm':null},_0x2ca625['be']['dictionary']=Object['assign'](_0x2ca625['be']['dictionary'],_0x1f844e),_0x2ca625['be']['getPluralForm']=_0x5ea811;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x54d91e=>{const {be:{dictionary:_0x1b3ce7,getPluralForm:_0x3944a3}}={'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':_0x8db71c=>_0x8db71c%0xa==0x1&&_0x8db71c%0x64!=0xb?0x0:_0x8db71c%0xa>=0x2&&_0x8db71c%0xa<=0x4&&(_0x8db71c%0x64<0xa||_0x8db71c%0x64>=0x14)?0x1:0x2}};_0x54d91e['be']||={'dictionary':{},'getPluralForm':null},_0x54d91e['be']['dictionary']=Object['assign'](_0x54d91e['be']['dictionary'],_0x1b3ce7),_0x54d91e['be']['getPluralForm']=_0x3944a3;})(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':_0x1408cf=>0x1!=_0x1408cf}};
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':_0x19cb0b=>0x1!=_0x19cb0b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x251c52=>{const {bg:{dictionary:_0x4344da,getPluralForm:_0x345be3}}={'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':_0x2d13f7=>0x1!=_0x2d13f7}};_0x251c52['bg']||={'dictionary':{},'getPluralForm':null},_0x251c52['bg']['dictionary']=Object['assign'](_0x251c52['bg']['dictionary'],_0x4344da),_0x251c52['bg']['getPluralForm']=_0x345be3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1eb64a=>{const {bg:{dictionary:_0xf72015,getPluralForm:_0x21e19f}}={'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':_0x2006d3=>0x1!=_0x2006d3}};_0x1eb64a['bg']||={'dictionary':{},'getPluralForm':null},_0x1eb64a['bg']['dictionary']=Object['assign'](_0x1eb64a['bg']['dictionary'],_0xf72015),_0x1eb64a['bg']['getPluralForm']=_0x21e19f;})(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':_0x4e25a8=>0x1!=_0x4e25a8}};
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':_0x38dd66=>0x1!=_0x38dd66}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f555d=>{const {bn:{dictionary:_0x4ef435,getPluralForm:_0x172fb1}}={'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':_0x1525b3=>0x1!=_0x1525b3}};_0x3f555d['bn']||={'dictionary':{},'getPluralForm':null},_0x3f555d['bn']['dictionary']=Object['assign'](_0x3f555d['bn']['dictionary'],_0x4ef435),_0x3f555d['bn']['getPluralForm']=_0x172fb1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5ac327=>{const {bn:{dictionary:_0x19d910,getPluralForm:_0x61d21f}}={'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':_0x583790=>0x1!=_0x583790}};_0x5ac327['bn']||={'dictionary':{},'getPluralForm':null},_0x5ac327['bn']['dictionary']=Object['assign'](_0x5ac327['bn']['dictionary'],_0x19d910),_0x5ac327['bn']['getPluralForm']=_0x61d21f;})(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':_0x2839dd=>_0x2839dd%0xa==0x1&&_0x2839dd%0x64!=0xb?0x0:_0x2839dd%0xa>=0x2&&_0x2839dd%0xa<=0x4&&(_0x2839dd%0x64<0xa||_0x2839dd%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':_0x4511cc=>_0x4511cc%0xa==0x1&&_0x4511cc%0x64!=0xb?0x0:_0x4511cc%0xa>=0x2&&_0x4511cc%0xa<=0x4&&(_0x4511cc%0x64<0xa||_0x4511cc%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22e7ef=>{const {bs:{dictionary:_0x5ec0ba,getPluralForm:_0x550bd1}}={'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':_0x510088=>_0x510088%0xa==0x1&&_0x510088%0x64!=0xb?0x0:_0x510088%0xa>=0x2&&_0x510088%0xa<=0x4&&(_0x510088%0x64<0xa||_0x510088%0x64>=0x14)?0x1:0x2}};_0x22e7ef['bs']||={'dictionary':{},'getPluralForm':null},_0x22e7ef['bs']['dictionary']=Object['assign'](_0x22e7ef['bs']['dictionary'],_0x5ec0ba),_0x22e7ef['bs']['getPluralForm']=_0x550bd1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x53728d=>{const {bs:{dictionary:_0x42bf84,getPluralForm:_0x4dd01c}}={'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':_0x158212=>_0x158212%0xa==0x1&&_0x158212%0x64!=0xb?0x0:_0x158212%0xa>=0x2&&_0x158212%0xa<=0x4&&(_0x158212%0x64<0xa||_0x158212%0x64>=0x14)?0x1:0x2}};_0x53728d['bs']||={'dictionary':{},'getPluralForm':null},_0x53728d['bs']['dictionary']=Object['assign'](_0x53728d['bs']['dictionary'],_0x42bf84),_0x53728d['bs']['getPluralForm']=_0x4dd01c;})(window['CKEDITOR_TRANSLATIONS']||={});