@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250709.0 → 0.0.0-nightly-20250710.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 _0xf6a35a,Command as _0x4f7e6f}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4b1496,IconGooglePhotos as _0x435b42,IconGoogleDrive as _0x21aafd,IconFacebook as _0x46aba7,IconDropbox as _0x4d4e4f,IconUploadcareLink as _0x8668da,IconUploadcareImageUpload as _0x236887,IconError as _0x5a770c,IconUploadcareImageEdit as _0x45e2a0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2b70cd,MenuBarMenuListItemButtonView as _0x51e882,View as _0x1e7c86,FocusCycler as _0x32b41a,Dialog as _0x1761c2,DialogViewPosition as _0x188ce3,SpinnerView as _0x3ee959,IconView as _0x37d76c,Notification as _0x1d0ead}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xab41e0,DomEmitterMixin as _0x1882d5,global as _0x46c507,getAncestors as _0x3d7977,ObservableMixin as _0x5d4e50,uid as _0x8ba1cf,createElement as _0x7c7a62}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x848664}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3cbacf,info as _0x3cc4a1}from'@uploadcare/upload-client';import*as _0x4ad440 from'@uploadcare/file-uploader';var i=function(_0x4eb177){return _0x4eb177['Local']='local',_0x4eb177['URL']='url',_0x4eb177['Dropbox']='dropbox',_0x4eb177['GDrive']='gdrive',_0x4eb177['Facebook']='facebook',_0x4eb177['GPhotos']='gphotos',_0x4eb177['OneDrive']='onedrive',_0x4eb177;}({});function _(_0x75d2f7,_0x29685b,_0x16bbd7){const t=_0x75d2f7['t'],_0x328b1=_0x75d2f7['t'];switch(_0x29685b){case i['Local']:return{'text':_0x328b1('Insert'===_0x16bbd7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x328b1('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x16bbd7?_0x328b1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x328b1('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x16bbd7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x16bbd7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x16bbd7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x16bbd7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x16bbd7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x29685b;}}class e extends _0xf6a35a{['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 _0x2dde39=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59257b;for(const _0x279ab6 in _0x2dde39){const _0x1cdaaa=_0x279ab6,_0x2d287c=_0x2dde39[_0x1cdaaa];if('uploadcareLicenseKeyValid'==_0x2d287c||'uploadcareLicenseKeyInvalid'==_0x2d287c||'uploadcareLicenseKeyExpired'==_0x2d287c||'uploadcareLicenseKeyDomainLimit'==_0x2d287c||'uploadcareLicenseKeyNotAllowed'==_0x2d287c||'uploadcareLicenseKeyEvaluationLimit'==_0x2d287c||'uploadcareLicenseKeyTrialLimit'==_0x2d287c||'uploadcareLicenseKeyUsageLimit'==_0x2d287c){delete _0x2dde39[_0x1cdaaa],_0x59257b=_0x2d287c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x59257b&&_0x2dde39['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x59257b&&_0x2dde39['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x59257b&&_0x2dde39['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x59257b&&_0x2dde39['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x59257b&&_0x2dde39['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x59257b&&_0x2dde39['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x59257b&&_0x2dde39['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5e15ce}=this,_0x41904f=_0x5e15ce['commands']['get']('uploadcare');if(!_0x41904f)return;const _0x5e5353=this['_normalizeConfigSourceList'](_0x5e15ce['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1e2dde,_0x361f28)=>{const _0x13b1a1=this['_getIntegrationKey'](_0x361f28['type']);return _0x1e2dde[_0x13b1a1]||(_0x1e2dde[_0x13b1a1]=[]),_0x1e2dde[_0x13b1a1]['push'](_0x361f28),_0x1e2dde;},{});_0x5e15ce['plugins']['has']('ImageInsertUI')&&_0x5e15ce['commands']['get']('uploadcare')&&Object['entries'](_0x5e5353)['forEach'](([_0x319541,_0x1c3136])=>{_0x5e15ce['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x319541,'observable':()=>_0x41904f,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1c3136),'formViewCreator':()=>this['_createDropdownButtons'](_0x1c3136),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1c3136),'override':'assetManager'!==_0x319541});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x220385){const {locale:_0x234307}=this['editor'];return _0x220385['map'](_0x25bbf9=>{const _0x22c66d=_(_0x234307,_0x25bbf9,'Insert');switch(_0x25bbf9){case i['Local']:return{'icon':_0x236887,'type':i['Local'],..._0x22c66d};case i['URL']:return{'icon':_0x8668da,'type':i['URL'],..._0x22c66d};case i['Dropbox']:return{'icon':_0x4d4e4f,'type':i['Dropbox'],..._0x22c66d};case i['Facebook']:return{'icon':_0x46aba7,'type':i['Facebook'],..._0x22c66d};case i['GDrive']:return{'icon':_0x21aafd,'type':i['GDrive'],..._0x22c66d};case i['GPhotos']:return{'icon':_0x435b42,'type':i['GPhotos'],..._0x22c66d};case i['OneDrive']:return{'icon':_0x4b1496,'type':i['OneDrive'],..._0x22c66d};}});}['_getIntegrationKey'](_0x1b66dd){switch(_0x1b66dd){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x456b05,_0x1d10d8){const _0x21df24=this['editor'],_0x288643=new _0x456b05(_0x21df24['locale']),_0x194b06=_0x21df24['commands']['get']('uploadcare');return _0x288643['bind']('isEnabled')['to'](_0x194b06),_0x288643['on']('execute',()=>{_0x194b06['execute'](_0x1d10d8);}),_0x288643;}['_createToolbarButton'](_0xe35c7c){const {locale:_0x3edb0e}=this['editor'],_0x12b129=this['editor']['plugins']['get']('ImageInsertUI'),_0x4938d0=_0xe35c7c[0x0],_0x5defbb=this['_createButton'](_0x2b70cd,_0x4938d0['type']);return _0x5defbb['icon']=_0x4938d0['icon'],_0x5defbb['bind']('label')['to'](_0x12b129,'isImageSelected',_0x1fbbe1=>_(_0x3edb0e,_0x4938d0['type'],_0x1fbbe1?'Replace':'Insert')['text']),_0x5defbb['tooltip']=!0x0,_0x5defbb;}['_createDropdownButtons'](_0x29d95e){const {locale:_0x22690f}=this['editor'],_0x9cdf19=this['editor']['plugins']['get']('ImageInsertUI');return _0x29d95e['map'](_0x4a896d=>{const _0x2390de=this['_createButton'](_0x2b70cd,_0x4a896d['type']);return _0x2390de['withText']=!0x0,_0x2390de['icon']=_0x4a896d['icon'],_0x2390de['bind']('label')['to'](_0x9cdf19,'isImageSelected',_0x3bc693=>_(_0x22690f,_0x4a896d['type'],_0x3bc693?'Replace':'Insert')['text']),_0x2390de;});}['_createMenuBarButtons'](_0x517bbd){return _0x517bbd['map'](_0x5c98a9=>{const _0x4459cd=this['_createButton'](_0x51e882,_0x5c98a9['type']);return _0x4459cd['icon']=_0x5c98a9['icon'],_0x4459cd['label']=_0x5c98a9['shortText'],_0x4459cd;});}}class F extends _0x1e7c86{['focusTracker'];['focusCycler'];constructor(_0x32018c){super(_0x32018c),this['focusTracker']=new _0xab41e0(),this['focusCycler']=new _0x32b41a({'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(_0x1e44f4,_0x4c1e8b){super(_0x1e44f4),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-'+_0x4c1e8b}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x396935,_0x3ba953){const _0x46f67d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x45bf90=>_0x45bf90<=_0x3ba953)['map'](_0x15bbb5=>_0x396935['replace'](/\/$/,'')+'/-/resize/'+_0x15bbb5+'x/\x20'+_0x15bbb5+'w');return{'imageFallbackUrl':_0x396935,'imageSources':[{'srcset':_0x46f67d['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3ba953+'px)\x20100vw,\x20'+_0x3ba953+'px','type':'image/webp'}]};}function C(_0x5f3e06,_0x1aaaed,_0x278403){const _0x393e34=_0x5f3e06['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x393e34?parseInt(_0x393e34[0x1],0xa):_0x1aaaed,'height':_0x393e34?parseInt(_0x393e34[0x2],0xa):_0x278403};}function p(_0x5c2ad6,_0xc9d36d){const _0x35ec58=new(_0x1882d5())(),_0x217af0=_0x5c2ad6['plugins']['get']('ImageUtils'),_0xa6a81d=_0x5c2ad6['editing']['mapper']['toViewElement'](_0xc9d36d),_0x1b930f=_0x217af0['findViewImgElement'](_0xa6a81d),_0x79bd7e=_0x5c2ad6['editing']['view']['domConverter']['viewToDom'](_0x1b930f),_0x11fa33=_0xc9d36d['getAttribute']('width'),_0x592269=_0xc9d36d['getAttribute']('height'),_0xc30dce='image-processing';_0x5c2ad6['editing']['view']['change'](_0x2fc7b0=>{_0x2fc7b0['addClass'](_0xc30dce,_0xa6a81d),_0x2fc7b0['setStyle']('aspect-ratio',_0x11fa33+'/'+_0x592269,_0x1b930f);}),_0x35ec58['listenTo'](_0x79bd7e,'load',()=>{_0x35ec58['stopListening'](_0x79bd7e,'load'),_0x5c2ad6['editing']['view']['change'](_0x2b7d76=>{_0x2b7d76['removeClass'](_0xc30dce,_0xa6a81d),_0x2b7d76['removeStyle']('aspect-ratio',_0x1b930f);});});}function G(_0x3f93ac){if(Array['isArray'](_0x3f93ac)){const _0x5a50e8=_0x3f93ac['map'](G);return _0x2e8cbb=>_0x5a50e8['some'](_0x33c122=>_0x33c122(_0x2e8cbb));}if('origin'==_0x3f93ac){const _0x122e15=_0x46c507['window']['location']['origin'];return _0x1800c4=>new URL(_0x1800c4,_0x46c507['document']['baseURI'])['origin']==_0x122e15;}return'function'==typeof _0x3f93ac?_0x3f93ac:_0x3f93ac instanceof RegExp?_0x28ad85=>!(!_0x28ad85['match'](_0x3f93ac)&&!_0x28ad85['replace'](/^https?:\/\//,'')['match'](_0x3f93ac)):()=>!0x1;}function S(_0x390196,_0x2246ab){return _0x3d7977(_0x390196['target'])['includes'](_0x2246ab);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5d4e50(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xb01e,_0x21a3bf,_0x594bd0){super(),this['_editor']=_0xb01e,this['_editing']=_0x21a3bf,this['_dialog']=_0xb01e['plugins']['get'](_0x1761c2),this['_api']=_0x21a3bf['ctxElement']['getAPI'](),this['_type']=_0x594bd0,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:_0xd699ea,model:_0x417654}=this['_editor'],_0x475393=_0x417654['document']['selection']['getSelectedElement'](),_0x4286df=_0x475393&&(_0x475393['is']('element','imageBlock')||_0x475393['is']('element','imageInline'));this['_formView']=new x(_0xd699ea,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x236887,'title':_(_0xd699ea,this['_type'],_0x4286df?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x188ce3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x395ef5=>!S(_0x395ef5,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x322369}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4a5537=>{const _0x16fb6e=_0x322369['length'];for(const _0x2c682d of _0x322369){const _0xafef17=_0x2c682d===_0x322369[_0x16fb6e-0x1],{cdnUrl:_0x1584b7,fileInfo:_0x5c0027}=_0x2c682d;if(!_0x1584b7||!_0x5c0027)continue;const {width:_0x25d155,height:_0x214d73}=_0x5c0027['imageInfo'],_0x59daef=C(_0x1584b7,_0x25d155,_0x214d73),_0x1be10c=k(_0x1584b7,_0x59daef['width']),_0x2e9fe9={'id':_0x5c0027['uuid'],'type':'image','attributes':{'imageDimension':_0x59daef,..._0x1be10c}};this['_insertAsset'](_0x2e9fe9,_0xafef17,_0x4a5537);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2ecfdc=>{'idle'===_0x2ecfdc['detail']['status']&&!_0x2ecfdc['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xbbd37f,_0x157e16,_0xf9e753){const _0x4e8e68=this['_editor']['model']['document']['selection'],_0x251bc1=_0x4e8e68['getSelectedElement'](),_0x55c96b=!(!_0x251bc1||!_0x251bc1['is']('element','imageInline'));_0xf9e753['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xbbd37f,_0x55c96b),_0x157e16||_0xf9e753['setSelection'](_0x4e8e68['getLastPosition']());}['_insertImage'](_0x20fa88,_0x383be8){const _0x273fe9=this['_editor'],{imageDimension:_0x599cb9,imageFallbackUrl:_0x3500a1,imageSources:_0x43aea9}=_0x20fa88['attributes'];_0x273fe9['execute']('insertImage',{'imageType':_0x383be8?'imageInline':null,'source':{'uploadcareImageId':_0x20fa88['id'],'src':_0x3500a1,'sources':_0x43aea9,..._0x599cb9}});}}class w extends _0x4f7e6f{['_editing'];['_controller']=null;static get['requires'](){return[_0x1761c2,o];}constructor(_0x2d349f){super(_0x2d349f),this['_editing']=_0x2d349f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5647a5){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5647a5);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x461b4b,publicKey:_0x3c8025,signal:_0x951ee4,onProgress:_0xc5734c}){return _0x3cbacf(_0x461b4b,{'publicKey':_0x3c8025,'store':'auto','signal':_0x951ee4,'onProgress':_0xc5734c});}static['getInfo'](_0x596e52,_0x1e6ec1){return _0x3cc4a1(_0x596e52,_0x1e6ec1);}}class f extends _0xf6a35a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x848664,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4e9fc6=this['editor'];if(!!!_0x4e9fc6['config']['get']('uploadcare'))return;_0x4e9fc6['plugins']['get'](_0x848664)['createUploadAdapter']=_0x3d46f1=>new A(_0x3d46f1,_0x4e9fc6),_0x4e9fc6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x272d77,{imageElement:_0x18b38b,data:_0x5afe6f})=>{_0x4e9fc6['model']['change'](_0x249cd2=>{_0x249cd2['setAttribute']('uploadcareImageId',_0x5afe6f['uploadcareImageId'],_0x18b38b);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x2c8d0f,_0x3ef2a8){this['loader']=_0x2c8d0f,this['editor']=_0x3ef2a8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x189ab8=this['editor']['config']['get']('uploadcare.pubkey'),_0x5799c9=await this['loader']['file'];return j['upload']({'file':_0x5799c9,'publicKey':_0x189ab8,'signal':this['controller']['signal'],'onProgress':_0x1309be=>{_0x1309be&&_0x1309be['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1309be['value']);}})['then'](async _0x527ac6=>{const {imageFallbackUrl:_0x27e644,imageSources:_0xe00b08}=k(_0x527ac6['cdnUrl'],_0x527ac6['imageInfo']['width']);return{'uploadcareImageId':_0x527ac6['uuid'],'default':_0x27e644,'sources':_0xe00b08};})['catch'](()=>{const _0x2ee285=t('Cannot\x20upload\x20file:')+('\x20'+_0x5799c9['name']+'.');return Promise['reject'](_0x2ee285);});}['abort'](){this['controller']['abort']();}}class o extends _0xf6a35a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1761c2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5aeeec){super(_0x5aeeec),this['ucContextId']=_0x8ba1cf();}['init'](){const _0x245caf=this['editor'];_0x245caf['commands']['add']('uploadcare',new w(_0x245caf));}['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 _0x3499bd=_0x46c507['document']['querySelector']('input[uploadcare-file-input]');_0x3499bd&&_0x3499bd['remove']();}),async function(_0x50c37b){const _0x10a281=_0xd6bc5d([0x78,0x45,0x57,0x61,0x4b,0x55,0x47,0x77,0x62,0x71,0x42,0x79,0x48,0x56,0x34,0x5a,0x67,0x64,0x43,0x58,0x53,0x37,0x66,0x4e,0x73,0x74,0x4f,0x33,0x4d,0x65,0x54,0x52,0x41,0x6b,0x46,0x69,0x36,0x4c,0x6e,0x70,0x49,0x59,0x75,0x76,0x72,0x7a,0x6a,0x44,0x39,0x31,0x63,0x6f,0x6c,0x32,0x6d,0x38,0x68,0x50,0x51,0x30,0x35,0x4a]),_0xcec27c=0x6f708ba4,_0x5e247d=0x6f77e6b4^_0xcec27c,_0x42e57f=window[_0xd6bc5d([0x44,0x61,0x74,0x65])][_0xd6bc5d([0x6e,0x6f,0x77])](),_0x17573b=_0x50c37b[_0xd6bc5d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19bfa6=new window[(_0xd6bc5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5441e7=>{_0x17573b[_0xd6bc5d([0x6f,0x6e,0x63,0x65])](_0xd6bc5d([0x72,0x65,0x61,0x64,0x79]),_0x5441e7);}),_0x501942={[_0xd6bc5d([0x6b,0x74,0x79])]:_0xd6bc5d([0x45,0x43]),[_0xd6bc5d([0x75,0x73,0x65])]:_0xd6bc5d([0x73,0x69,0x67]),[_0xd6bc5d([0x63,0x72,0x76])]:_0xd6bc5d([0x50,0x2d,0x32,0x35,0x36]),[_0xd6bc5d([0x78])]:_0xd6bc5d([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]),[_0xd6bc5d([0x79])]:_0xd6bc5d([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]),[_0xd6bc5d([0x61,0x6c,0x67])]:_0xd6bc5d([0x45,0x53,0x32,0x35,0x36])},_0x4e76cb=_0x17573b[_0xd6bc5d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd6bc5d([0x67,0x65,0x74])](_0xd6bc5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d2a65(){let _0x4bd36d,_0x2953b9=null,_0x2738aa=null;try{if(_0x4e76cb==_0xd6bc5d([0x47,0x50,0x4c]))return _0xd6bc5d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4bd36d=_0x51ba10(),!_0x4bd36d)return _0xd6bc5d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4bd36d[_0xd6bc5d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2738aa=_0x247740(_0x4bd36d[_0xd6bc5d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4bd36d[_0xd6bc5d([0x6a,0x74,0x69])])),await _0xd21b75()?_0x1d6c79()?_0x184d74()?_0xd6bc5d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b90bc()?(_0x4bd36d[_0xd6bc5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd6bc5d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2953b9=_0x4abb0c(_0xd6bc5d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bd36d[_0xd6bc5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd6bc5d([0x74,0x72,0x69,0x61,0x6c])&&(_0x2953b9=_0x4abb0c(_0xd6bc5d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ca431()):_0xd6bc5d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd6bc5d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd6bc5d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd6bc5d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x184d74(){const _0x3aa0fa=[_0xd6bc5d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd6bc5d([0x74,0x72,0x69,0x61,0x6c])][_0xd6bc5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bd36d[_0xd6bc5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42e57f/0x3e8:0xe10*_0x5e247d;return _0x4bd36d[_0xd6bc5d([0x65,0x78,0x70])]<_0x3aa0fa;}function _0x1d6c79(){const _0x39ea6d=_0x4bd36d[_0xd6bc5d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39ea6d&&(!!_0x39ea6d[_0xd6bc5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd6bc5d([0x2a]))||!!_0x39ea6d[_0xd6bc5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd6bc5d([0x55,0x50,0x4c,0x43])));}function _0x5b90bc(){const _0x31863a=_0x4bd36d[_0xd6bc5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31863a||0x0==_0x31863a[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53cd96}=new URL(window[_0xd6bc5d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31863a[_0xd6bc5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53cd96))return!0x0;const _0x36e02d=_0x53cd96[_0xd6bc5d([0x73,0x70,0x6c,0x69,0x74])](_0xd6bc5d([0x2e]));return _0x31863a[_0xd6bc5d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a9313=>_0x4a9313[_0xd6bc5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd6bc5d([0x2a])))[_0xd6bc5d([0x6d,0x61,0x70])](_0x4fd0ad=>_0x4fd0ad[_0xd6bc5d([0x73,0x70,0x6c,0x69,0x74])](_0xd6bc5d([0x2e])))[_0xd6bc5d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37bd38=>_0x37bd38[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36e02d[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd6bc5d([0x6d,0x61,0x70])](_0x1e3bd9=>Array(_0x36e02d[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e3bd9[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd6bc5d([0x66,0x69,0x6c,0x6c])](_0x1e3bd9[0x0]===_0xd6bc5d([0x2a])?_0xd6bc5d([0x2a]):'')[_0xd6bc5d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e3bd9))[_0xd6bc5d([0x73,0x6f,0x6d,0x65])](_0x54555d=>_0x36e02d[_0xd6bc5d([0x65,0x76,0x65,0x72,0x79])]((_0x5111d0,_0x2ca36a)=>_0x54555d[_0x2ca36a]===_0x5111d0||_0x54555d[_0x2ca36a]===_0xd6bc5d([0x2a])));}function _0x4ca431(){return _0x2953b9&&_0x2738aa?new window[(_0xd6bc5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52591e,_0x86ff44)=>{_0x2953b9[_0xd6bc5d([0x74,0x68,0x65,0x6e])](_0x52591e,_0x86ff44),_0x2738aa[_0xd6bc5d([0x74,0x68,0x65,0x6e])](_0x16d0ad=>{_0x16d0ad!=_0xd6bc5d([0x56,0x61,0x6c,0x69,0x64])&&_0x52591e(_0x16d0ad);},_0x86ff44);}):_0x2953b9||_0x2738aa||_0xd6bc5d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x247740(_0x50c85b,_0x87e34b){return new window[(_0xd6bc5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dd206=>{if(_0x2df84f())return _0x2dd206(_0xd6bc5d([0x56,0x61,0x6c,0x69,0x64]));_0x47a6cd(),_0x17573b[_0xd6bc5d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd6bc5d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x587cc0=!0x1;const _0x45c124=_0x8ba1cf();function _0x148e84(_0x41ff8d){return!!_0x41ff8d&&(typeof _0x41ff8d===_0xd6bc5d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41ff8d===_0xd6bc5d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41ff8d[_0xd6bc5d([0x74,0x68,0x65,0x6e])]===_0xd6bc5d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41ff8d[_0xd6bc5d([0x63,0x61,0x74,0x63,0x68])]===_0xd6bc5d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x221415(_0x5d6e39){_0x1c6b18(_0x5d6e39)[_0xd6bc5d([0x74,0x68,0x65,0x6e])](_0x51071d=>{if(!_0x51071d||_0x51071d[_0xd6bc5d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd6bc5d([0x6f,0x6b]))return _0xd6bc5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2dcb52(_0x6093c5(_0x45c124+_0x87e34b))!=_0x51071d[_0xd6bc5d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd6bc5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd6bc5d([0x56,0x61,0x6c,0x69,0x64]);})[_0xd6bc5d([0x74,0x68,0x65,0x6e])](_0x2d76f5=>(_0x181db4(),_0x2d76f5),()=>{const _0x442d05=_0x39bda1();return null==_0x442d05?(_0x181db4(),_0xd6bc5d([0x56,0x61,0x6c,0x69,0x64])):_0xd6bc5d(_0x42e57f-_0x442d05>(0x4b7c0fa4^_0xcec27c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd6bc5d([0x74,0x68,0x65,0x6e])](_0x2dd206)[_0xd6bc5d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2dd206(_0xd6bc5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14aa80=0x6f466524^_0xcec27c;function _0x181db4(){const _0x1dfd2=_0xd6bc5d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2dcb52(_0x6093c5(_0x50c85b)),_0x2beac2=_0x447e94(_0x2dcb52(window[_0xd6bc5d([0x4d,0x61,0x74,0x68])][_0xd6bc5d([0x63,0x65,0x69,0x6c])](_0x42e57f/_0x14aa80)));window[_0xd6bc5d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd6bc5d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dfd2,_0x2beac2);}function _0x39bda1(){const _0x51ff5d=_0xd6bc5d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2dcb52(_0x6093c5(_0x50c85b)),_0x540a32=window[_0xd6bc5d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd6bc5d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51ff5d);return _0x540a32?window[_0xd6bc5d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x447e94(_0x540a32),0x10)*_0x14aa80:null;}function _0x1c6b18(_0x5b4e61){return new window[(_0xd6bc5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x581a0f,_0x399336)=>{_0x5b4e61[_0xd6bc5d([0x74,0x68,0x65,0x6e])](_0x581a0f,_0x399336),window[_0xd6bc5d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x399336,0x6f715f64^_0xcec27c);});}}_0x17573b[_0xd6bc5d([0x6f,0x6e])](_0xd6bc5d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57326a,_0xd71459)=>{if(_0xd71459[0x0]!=_0x50c85b)return _0x2dd206(_0xd6bc5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd71459[0x1]={..._0xd71459[0x1],[_0xd6bc5d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45c124};},{[_0xd6bc5d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd6bc5d([0x68,0x69,0x67,0x68])}),_0x17573b[_0xd6bc5d([0x6f,0x6e])](_0xd6bc5d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe825ab=>{_0x148e84(_0xe825ab[_0xd6bc5d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x587cc0=!0x0,_0x221415(_0xe825ab[_0xd6bc5d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd6bc5d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd6bc5d([0x6c,0x6f,0x77])}),_0x19bfa6[_0xd6bc5d([0x74,0x68,0x65,0x6e])](()=>{_0x587cc0||_0x2dd206(_0xd6bc5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2df84f(){return _0x17573b[_0xd6bc5d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd6bc5d([0x76,0x69,0x65,0x77])][_0xd6bc5d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd6bc5d([0x61,0x75,0x74,0x6f]);}function _0x47a6cd(){_0x17573b[_0xd6bc5d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd6bc5d([0x76,0x69,0x65,0x77])][_0xd6bc5d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd6bc5d([0x61,0x75,0x74,0x6f]);}}function _0x4abb0c(_0x4bc481){const _0x1fc5d1=[new window[(_0xd6bc5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3331c3=>setTimeout(_0x3331c3,0x6f79b568^_0xcec27c)),_0x19bfa6[_0xd6bc5d([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd6bc5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c9ef9=>{let _0x59c5ff=0x0;_0x17573b[_0xd6bc5d([0x6d,0x6f,0x64,0x65,0x6c])][_0xd6bc5d([0x6f,0x6e])](_0xd6bc5d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54ce1e,_0x24e1d6)=>{_0x24e1d6[0x0][_0xd6bc5d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x59c5ff++,_0x59c5ff==(0x6f708a5c^_0xcec27c)&&(_0x5c9ef9(),_0x54ce1e[_0xd6bc5d([0x6f,0x66,0x66])]());});}))];return window[_0xd6bc5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd6bc5d([0x72,0x61,0x63,0x65])](_0x1fc5d1)[_0xd6bc5d([0x74,0x68,0x65,0x6e])](()=>_0x4bc481);}async function _0x3e369e(){await _0x19bfa6,_0x17573b[_0xd6bc5d([0x6d,0x6f,0x64,0x65,0x6c])][_0xd6bc5d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bfbbd,_0x17573b[_0xd6bc5d([0x6d,0x6f,0x64,0x65,0x6c])][_0xd6bc5d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bfbbd,_0x17573b[_0xd6bc5d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd6bc5d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d5995(_0x404b64){const _0x29a974=_0xdf21eb();_0x17573b[_0x29a974]=_0xd6bc5d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x404b64,_0x404b64!=_0xd6bc5d([0x56,0x61,0x6c,0x69,0x64])&&_0x3e369e();}function _0xdf21eb(){const _0x1e3b2b=window[_0xd6bc5d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd6bc5d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd6bc5d([0x6e,0x6f,0x77])]())[_0xd6bc5d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd6bc5d([0x2e]),'');let _0x41d2c5=_0xd6bc5d([0x78]);for(let _0x56d438=0x0;_0x56d438<_0x1e3b2b[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56d438+=0x2){let _0x14a850=window[_0xd6bc5d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e3b2b[_0xd6bc5d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56d438,_0x56d438+0x2));_0x14a850>=_0x10a281[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14a850-=_0x10a281[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41d2c5+=_0x10a281[_0x14a850];}return _0x41d2c5;}function _0x51ba10(){const _0x2d60ba=_0x4e76cb[_0xd6bc5d([0x73,0x70,0x6c,0x69,0x74])](_0xd6bc5d([0x2e]));if(0x3!=_0x2d60ba[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x394202(_0x2d60ba[0x1]);function _0x394202(_0x54b650){const _0x51fe78=_0x4bdf43(_0x54b650);return _0x51fe78&&_0x4fc885()?_0x51fe78:null;function _0x4fc885(){const _0x56f181=_0x51fe78[_0xd6bc5d([0x6a,0x74,0x69])],_0x3c0e4f=window[_0xd6bc5d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56f181[_0xd6bc5d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56f181[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x571bc1={..._0x51fe78,[_0xd6bc5d([0x6a,0x74,0x69])]:_0x56f181[_0xd6bc5d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56f181[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x571bc1[_0xd6bc5d([0x76,0x63])],_0x6093c5(_0x571bc1)==_0x3c0e4f;}}}async function _0xd21b75(){let _0x4ca801=!0x0;try{const _0x48782d=_0x4e76cb[_0xd6bc5d([0x73,0x70,0x6c,0x69,0x74])](_0xd6bc5d([0x2e])),[_0x3db767,_0xa2d19,_0x98faa9]=_0x48782d;return _0x249ed4(_0x3db767),await _0x26c070(_0x3db767,_0xa2d19,_0x98faa9),_0x4ca801;}catch{return!0x1;}function _0x249ed4(_0x50b886){const _0x4fbfae=_0x4bdf43(_0x50b886);_0x4fbfae&&_0x4fbfae[_0xd6bc5d([0x61,0x6c,0x67])]==_0xd6bc5d([0x45,0x53,0x32,0x35,0x36])||(_0x4ca801=!0x1);}async function _0x26c070(_0x34c356,_0x38c50e,_0x40e18c){const _0x296a=window[_0xd6bc5d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd6bc5d([0x66,0x72,0x6f,0x6d])](_0x14559a(_0x40e18c),_0x17c718=>_0x17c718[_0xd6bc5d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b588c=new window[(_0xd6bc5d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd6bc5d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x34c356+_0xd6bc5d([0x2e])+_0x38c50e),_0x4744d2=window[_0xd6bc5d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd6bc5d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4744d2)return;const _0x338ce5=await _0x4744d2[_0xd6bc5d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd6bc5d([0x6a,0x77,0x6b]),_0x501942,{[_0xd6bc5d([0x6e,0x61,0x6d,0x65])]:_0xd6bc5d([0x45,0x43,0x44,0x53,0x41]),[_0xd6bc5d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd6bc5d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd6bc5d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4744d2[_0xd6bc5d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd6bc5d([0x6e,0x61,0x6d,0x65])]:_0xd6bc5d([0x45,0x43,0x44,0x53,0x41]),[_0xd6bc5d([0x68,0x61,0x73,0x68])]:{[_0xd6bc5d([0x6e,0x61,0x6d,0x65])]:_0xd6bc5d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x338ce5,_0x296a,_0x4b588c)||(_0x4ca801=!0x1);}}function _0x4bdf43(_0x27e9ad){return _0x27e9ad[_0xd6bc5d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd6bc5d([0x65,0x79]))?JSON[_0xd6bc5d([0x70,0x61,0x72,0x73,0x65])](_0x14559a(_0x27e9ad)):null;}function _0x14559a(_0x6d8041){return window[_0xd6bc5d([0x61,0x74,0x6f,0x62])](_0x6d8041[_0xd6bc5d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd6bc5d([0x2b]))[_0xd6bc5d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd6bc5d([0x2f])));}function _0x6093c5(_0x52056f){let _0x48930f=0x1505;function _0x3bda35(_0x25300e){for(let _0x1e0b87=0x0;_0x1e0b87<_0x25300e[_0xd6bc5d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e0b87++){const _0x4a519f=_0x25300e[_0xd6bc5d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e0b87);_0x48930f=(_0x48930f<<0x5)+_0x48930f+_0x4a519f,_0x48930f&=_0x48930f;}}function _0x278c96(_0x600d4a){Array[_0xd6bc5d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x600d4a)?_0x600d4a[_0xd6bc5d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x278c96):_0x600d4a&&typeof _0x600d4a==_0xd6bc5d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd6bc5d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x600d4a)[_0xd6bc5d([0x73,0x6f,0x72,0x74])]()[_0xd6bc5d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f37a8,_0x4949d4])=>{_0x3bda35(_0x5f37a8),_0x278c96(_0x4949d4);}):_0x3bda35(window[_0xd6bc5d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x600d4a));}return _0x278c96(_0x52056f),_0x48930f>>>0x0;}function _0x2dcb52(_0x3683a2){return _0x3683a2[_0xd6bc5d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd6bc5d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd6bc5d([0x30]));}function _0x447e94(_0x4c3749){return _0x4c3749[_0xd6bc5d([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd6bc5d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd6bc5d([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bfbbd(){}function _0xd6bc5d(_0x2b7180){return _0x2b7180['map'](_0x4fcfdd=>String['fromCharCode'](_0x4fcfdd))['join']('');}_0x2d5995(await _0x5d2a65());}(this);}['_initSchema'](){const _0x47969d=this['editor']['model']['schema'];_0x47969d['isRegistered']('imageBlock')&&_0x47969d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x47969d['isRegistered']('imageInline')&&_0x47969d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4a310a=this['editor'];_0x4a310a['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4a310a['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3de7ad=>_0x3de7ad['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1e69ae=_0x4a310a['commands']['get']('replaceImageSource');_0x1e69ae&&this['listenTo'](_0x1e69ae,'cleanupImage',(_0x4c4648,[_0x3f11b8,_0x38536b])=>{_0x3f11b8['removeAttribute']('uploadcareImageId',_0x38536b);});}['_initConfig'](){const _0x4af083=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4d44ee=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x7c7a62(_0x46c507['document'],'uc-config',{..._0x4af083,'pubkey':_0x4d44ee,'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']=_0x20590a=>{if('closeMax'==_0x20590a)return'#uc-icon-arrow-down';},_0x46c507['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x7c7a62(_0x46c507['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x46c507['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5ef76c=this['editor']['commands']['get']('insertImage');_0x5ef76c&&this['listenTo'](_0x5ef76c,'execute',()=>{const _0x1696da=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1696da&&_0x1696da['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1696da);});});const _0x12b629=this['editor']['commands']['get']('uploadcareImageReplace');_0x12b629&&this['listenTo'](_0x12b629,'execute',()=>{const _0x58f140=this['editor']['model']['document']['selection']['getSelectedElement']();_0x58f140&&_0x58f140['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x58f140);});});}}class tt extends _0xf6a35a{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x91b96c){super(_0x91b96c),_0x91b96c['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4ad440['defineComponents'](_0x4ad440);}}class ii extends _0x1e7c86{constructor(_0x283e1b){super(_0x283e1b);const t=_0x283e1b['t'],_0x2249a2=this['bindTemplate'],_0x196e6d=new _0x3ee959();_0x196e6d['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':[_0x196e6d,{'text':_0x2249a2['to']('imageUploadProgress',_0x3ffdb2=>t('Loading\x20image...')+'\x20('+(_0x3ffdb2||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 _0x1e7c86{constructor(_0x3064bd){super(_0x3064bd);const t=_0x3064bd['t'];this['set']('errorType',null);const _0x6f6eca=new _0x2b70cd(_0x3064bd);_0x6f6eca['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x6f6eca['withText']=!0x0,_0x6f6eca['class']='ck-button-action',_0x6f6eca['on']('execute',()=>{this['fire']('retry');}),_0x6f6eca['bind']('isVisible')['to'](this,'errorType',_0x4b9d7d=>'NotFound'!==_0x4b9d7d);const _0x153c69=new _0x37d76c();_0x153c69['content']=_0x5a770c,_0x153c69['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x382f90=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':[_0x153c69,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x382f90['to']('errorType',_0x3e4f8c=>t('NotFound'!==_0x3e4f8c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x6f6eca]},{'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 _0x1e7c86{constructor(_0xef741,_0x445c1a){super(_0xef741);const _0x48b109=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x445c1a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x48b109['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3bd808,_0x1da022,_0xcc0780){super(_0x3bd808),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3bd808),this['_errorView']=new ti(_0x3bd808),this['_editingView']=new ei(_0x3bd808,_0xcc0780),this['_focusableView']=new _0x1e7c86(_0x3bd808),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1da022),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'],_0x445e1e=>{this['_addUploadcareImageEditorListeners'](_0x445e1e);});}),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'](_0xbcdcac,_0xc80965){const _0x4d672b='uc-cloud-image-editor',_0x169dd3=_0xbcdcac['querySelector'](_0x4d672b);if(_0x169dd3)return _0xc80965(_0x169dd3);const _0x532ab9=new MutationObserver(_0x479ef9=>{const _0x454d16=_0x479ef9['filter'](_0x480988=>_0x480988['target']===_0xbcdcac&&_0x480988['addedNodes']['length']>0x0&&_0x480988['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4d672b);_0x454d16['length']&&(_0x532ab9['disconnect'](),_0xc80965(_0x454d16[0x0]['addedNodes'][0x0]));});_0x532ab9['observe'](_0xbcdcac,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2dcf16){_0x2dcf16['addEventListener']('apply',_0xcb0c95=>{this['fire']('apply',{'imageSrc':_0xcb0c95['detail']['cdnUrl']});}),_0x2dcf16['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5d4e50(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x14fbfb,_0x174da7,_0x26287a){super(),this['_editor']=_0x14fbfb,this['_dialog']=_0x174da7,this['_imageElement']=_0x26287a,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 _0x156ce2=this['_imageElement'],_0x42005f=_0x156ce2['getAttribute']('uploadcareImageId'),_0x23bf0f=_0x156ce2['getAttribute']('src');if(_0x42005f)await this['_loadImageInfo'](_0x42005f,_0x23bf0f);else{if(this['_imageCache']['has'](_0x23bf0f)){const _0x114dc9=this['_imageCache']['get'](_0x23bf0f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x114dc9['url'],this['imageDimension']=_0x114dc9['dimension'],this['imageId']=_0x114dc9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x27b513}=this['_editor'],t=_0x27b513['t'],_0x5102a1=new X(_0x27b513,this['imageStatus'],this['_attributes']);_0x5102a1['bind']('status')['to'](this,'imageStatus'),_0x5102a1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5102a1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5102a1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5102a1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x45e2a0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5102a1,'position':_0x188ce3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5102a1['focus']();},'onHide':()=>{_0x5102a1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x537943=>!S(_0x537943,_0x5102a1['element'])}});}['_loadImageInfo'](_0x252379,_0x337c50){return j['getInfo'](_0x252379,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x37ec8e=>{const {width:_0x2c80c8,height:_0x5432a1}=_0x37ec8e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x337c50,this['imageDimension']={'width':_0x2c80c8,'height':_0x5432a1},this['imageId']=_0x252379;})['catch'](_0xc647cc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xc647cc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5e5492,_0x3c8812){return this['_getImageAsFile'](_0x5e5492)['then'](_0x36b4ba=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3c8812['signal'],'file':_0x36b4ba,'onProgress':_0x392b62=>{_0x392b62&&_0x392b62['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x392b62['value']));}}))['then'](_0x439ebb=>{const {width:_0x393ac9,height:_0x21c67e}=_0x439ebb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x439ebb['cdnUrl'],this['imageDimension']={'width':_0x393ac9,'height':_0x21c67e},this['imageId']=_0x439ebb['uuid'],this['imageUploadProgress']=null;const _0x7c64b1=_0x5e5492['getAttribute']('src');this['_imageCache']['set'](_0x7c64b1,{'id':_0x439ebb['uuid'],'url':_0x439ebb['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x264d83=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x264d83['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4d6d6f,_0x24014c){_0x4d6d6f['on']('apply',(_0x207618,_0x191234)=>{this['_replaceImage'](_0x24014c,_0x191234['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4d6d6f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4d6d6f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x22ea41,_0x18d491,_0x397909){const _0x225d5a=this['_editor'],{width:_0x345127,height:_0x2e75ab}=C(_0x18d491,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x29e20a,imageSources:_0x678e2c}=k(_0x18d491,_0x345127);_0x225d5a['model']['change'](_0x216b63=>{if('$graveyard'===_0x22ea41['root']['rootName']){_0x225d5a['execute']('insertImage',{'imageType':_0x22ea41['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x22ea41['getAttributes']()),'uploadcareImageId':_0x397909,'src':_0x29e20a,'sources':_0x678e2c,'width':_0x345127,'height':_0x2e75ab}});const _0x132b6f=_0x22ea41['getChildren']();_0x22ea41=_0x225d5a['model']['document']['selection']['getSelectedElement']();for(const _0x556644 of _0x132b6f)_0x216b63['append'](_0x216b63['cloneElement'](_0x556644),_0x22ea41);}else _0x216b63['setSelection'](_0x22ea41,'on'),_0x225d5a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x22ea41['getAttributes']()),'uploadcareImageId':_0x397909,'src':_0x29e20a,'sources':_0x678e2c,'width':_0x345127,'height':_0x2e75ab},_0x22ea41);_0x216b63['setSelection'](_0x22ea41,'on');});}async['_getImageAsFile'](_0x4134f6){const _0x4e3933=_0x46c507['window'],_0x218915=_0x46c507['document']['location']['href'],_0x4303c2=new _0x4e3933['URL'](_0x4134f6['getAttribute']('src'),_0x218915);if('data:'===_0x4303c2['protocol']){const _0xdd83a8=_0x4303c2['href']['split'](','),_0x275584=_0xdd83a8[0x0]['match'](/:(.*?);/)[0x1],_0x11e9a3=_0x275584['split']('/')[0x1],_0x3c4146=_0x4e3933['atob'](_0xdd83a8[_0xdd83a8['length']-0x1]);let _0x391606=_0x3c4146['length'];const _0x453691=new _0x4e3933['Uint8Array'](_0x391606);for(;_0x391606--;)_0x453691[_0x391606]=_0x3c4146['charCodeAt'](_0x391606);return new _0x4e3933['File']([_0x453691],'image.'+_0x11e9a3,{'type':_0x275584});}const _0x58c2b3=_0x4303c2['href']['split']('/'),_0x469b2c=_0x58c2b3[_0x58c2b3['length']-0x1],_0x2d4c99=_0x469b2c['split']('.')[0x1];return _0x4e3933['fetch'](_0x4303c2['href'])['then'](_0x4ca88b=>_0x4ca88b['clone']()['blob']())['then'](_0x509ee9=>new _0x4e3933['File']([_0x509ee9],_0x469b2c,{'type':'image/'+_0x2d4c99}));}}class O extends _0x4f7e6f{['imageEditController'];static get['requires'](){return[_0x1761c2];}['_isEditable'];constructor(_0x14f79c){super(_0x14f79c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x139580){const _0x4aadb7=G(_0x139580);return _0x267f6d=>!(!_0x267f6d||!_0x267f6d['is']('element','imageBlock')&&!_0x267f6d['is']('element','imageInline'))&&(!!_0x267f6d['hasAttribute']('uploadcareImageId')||!!_0x267f6d['hasAttribute']('src')&&_0x4aadb7(_0x267f6d['getAttribute']('src')));}(_0x14f79c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3dbe63=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3dbe63);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x382dde=this['editor']['model']['document']['selection']['getSelectedElement']();_0x382dde&&(_0x382dde['is']('element','imageBlock')||_0x382dde['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1761c2),_0x382dde),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4f7e6f{['refresh'](){const _0x2727ed=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2727ed&&(_0x2727ed['is']('element','imageBlock')||_0x2727ed['is']('element','imageInline')));}['execute'](_0x216a5b){const _0x43a8ca=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4886fd=>{_0x4886fd['setAttributes'](_0x216a5b,_0x43a8ca),_0x4886fd['removeAttribute']('srcset',_0x43a8ca),_0x4886fd['removeAttribute']('sizes',_0x43a8ca);});}}class m extends _0xf6a35a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1d0ead,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39a88b}=this;_0x39a88b['commands']['add']('uploadcareImageEdit',new O(_0x39a88b)),_0x39a88b['commands']['add']('uploadcareImageReplace',new R(_0x39a88b));}}class g extends _0xf6a35a{['_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 _0x1bfe39=this['editor'];_0x1bfe39['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2aff03=>{const _0x33f83d=_0x1bfe39['commands']['get']('uploadcareImageEdit'),_0x32b54b=new _0x2b70cd(_0x2aff03),t=_0x2aff03['t'];return _0x32b54b['set']({'icon':_0x45e2a0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x32b54b['bind']('isEnabled')['to'](_0x33f83d),_0x32b54b['bind']('isOn')['to'](_0x33f83d,'isActive'),this['listenTo'](_0x32b54b,'execute',()=>{_0x1bfe39['execute']('uploadcareImageEdit'),_0x1bfe39['editing']['view']['focus']();}),_0x32b54b;}),this['_initConfig']();}['_initConfig'](){const _0x198a7d=_0x7c7a62(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x198a7d),this['listenTo'](this['editor'],'destroy',()=>{_0x198a7d['remove']();});}}class et extends _0xf6a35a{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};
23
+ import{Plugin as _0x163a53,Command as _0x390069}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3b8e31,IconGooglePhotos as _0x2ec8e7,IconGoogleDrive as _0x4de8f2,IconFacebook as _0x107ac6,IconDropbox as _0x5337a6,IconUploadcareLink as _0x2337b7,IconUploadcareImageUpload as _0x3d954f,IconError as _0x32c1b9,IconUploadcareImageEdit as _0x24b55f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xf5ffbf,MenuBarMenuListItemButtonView as _0xd7b9ec,View as _0xa9337f,FocusCycler as _0x10c3aa,Dialog as _0x1f55f9,DialogViewPosition as _0x1e9f94,SpinnerView as _0x46ff13,IconView as _0x13e183,Notification as _0x3742f4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5b21f1,DomEmitterMixin as _0x3fefcd,global as _0x3c49f8,getAncestors as _0x3c822c,ObservableMixin as _0xe71998,uid as _0x30c5d8,createElement as _0x314128}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x136391}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2eeff8,info as _0x272895}from'@uploadcare/upload-client';import*as _0x1dd2f3 from'@uploadcare/file-uploader';var i=function(_0x70e534){return _0x70e534['Local']='local',_0x70e534['URL']='url',_0x70e534['Dropbox']='dropbox',_0x70e534['GDrive']='gdrive',_0x70e534['Facebook']='facebook',_0x70e534['GPhotos']='gphotos',_0x70e534['OneDrive']='onedrive',_0x70e534;}({});function _(_0x1e7b46,_0x1d50f0,_0x2959f4){const t=_0x1e7b46['t'],_0x1e692d=_0x1e7b46['t'];switch(_0x1d50f0){case i['Local']:return{'text':_0x1e692d('Insert'===_0x2959f4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1e692d('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2959f4?_0x1e692d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1e692d('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1d50f0;}}class e extends _0x163a53{['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 _0x31f42b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e06aa;for(const _0xb7a300 in _0x31f42b){const _0x269fec=_0xb7a300,_0x4fe25d=_0x31f42b[_0x269fec];if('uploadcareLicenseKeyValid'==_0x4fe25d||'uploadcareLicenseKeyInvalid'==_0x4fe25d||'uploadcareLicenseKeyExpired'==_0x4fe25d||'uploadcareLicenseKeyDomainLimit'==_0x4fe25d||'uploadcareLicenseKeyNotAllowed'==_0x4fe25d||'uploadcareLicenseKeyEvaluationLimit'==_0x4fe25d||'uploadcareLicenseKeyTrialLimit'==_0x4fe25d||'uploadcareLicenseKeyUsageLimit'==_0x4fe25d){delete _0x31f42b[_0x269fec],_0x3e06aa=_0x4fe25d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3e06aa&&_0x31f42b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3e06aa&&_0x31f42b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3e06aa&&_0x31f42b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3e06aa&&_0x31f42b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3e06aa&&_0x31f42b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3e06aa&&_0x31f42b['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3e06aa&&_0x31f42b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x281837}=this,_0x49d4ad=_0x281837['commands']['get']('uploadcare');if(!_0x49d4ad)return;const _0x5d8fce=this['_normalizeConfigSourceList'](_0x281837['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1eb996,_0x30d20e)=>{const _0x1081ec=this['_getIntegrationKey'](_0x30d20e['type']);return _0x1eb996[_0x1081ec]||(_0x1eb996[_0x1081ec]=[]),_0x1eb996[_0x1081ec]['push'](_0x30d20e),_0x1eb996;},{});_0x281837['plugins']['has']('ImageInsertUI')&&_0x281837['commands']['get']('uploadcare')&&Object['entries'](_0x5d8fce)['forEach'](([_0x163158,_0x566f31])=>{_0x281837['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x163158,'observable':()=>_0x49d4ad,'buttonViewCreator':()=>this['_createToolbarButton'](_0x566f31),'formViewCreator':()=>this['_createDropdownButtons'](_0x566f31),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x566f31),'override':'assetManager'!==_0x163158});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1fd1a5){const {locale:_0x382edc}=this['editor'];return _0x1fd1a5['map'](_0x4e25ff=>{const _0x3726cb=_(_0x382edc,_0x4e25ff,'Insert');switch(_0x4e25ff){case i['Local']:return{'icon':_0x3d954f,'type':i['Local'],..._0x3726cb};case i['URL']:return{'icon':_0x2337b7,'type':i['URL'],..._0x3726cb};case i['Dropbox']:return{'icon':_0x5337a6,'type':i['Dropbox'],..._0x3726cb};case i['Facebook']:return{'icon':_0x107ac6,'type':i['Facebook'],..._0x3726cb};case i['GDrive']:return{'icon':_0x4de8f2,'type':i['GDrive'],..._0x3726cb};case i['GPhotos']:return{'icon':_0x2ec8e7,'type':i['GPhotos'],..._0x3726cb};case i['OneDrive']:return{'icon':_0x3b8e31,'type':i['OneDrive'],..._0x3726cb};}});}['_getIntegrationKey'](_0x1840c3){switch(_0x1840c3){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3f4e0a,_0xd614b6){const _0x52e779=this['editor'],_0x3572fa=new _0x3f4e0a(_0x52e779['locale']),_0x12cd2c=_0x52e779['commands']['get']('uploadcare');return _0x3572fa['bind']('isEnabled')['to'](_0x12cd2c),_0x3572fa['on']('execute',()=>{_0x12cd2c['execute'](_0xd614b6);}),_0x3572fa;}['_createToolbarButton'](_0x3c0192){const {locale:_0x7af7d8}=this['editor'],_0x43584f=this['editor']['plugins']['get']('ImageInsertUI'),_0x6e6029=_0x3c0192[0x0],_0x27a55b=this['_createButton'](_0xf5ffbf,_0x6e6029['type']);return _0x27a55b['icon']=_0x6e6029['icon'],_0x27a55b['bind']('label')['to'](_0x43584f,'isImageSelected',_0x559bc3=>_(_0x7af7d8,_0x6e6029['type'],_0x559bc3?'Replace':'Insert')['text']),_0x27a55b['tooltip']=!0x0,_0x27a55b;}['_createDropdownButtons'](_0x464dd4){const {locale:_0x332b11}=this['editor'],_0xea53c2=this['editor']['plugins']['get']('ImageInsertUI');return _0x464dd4['map'](_0x47313c=>{const _0x307899=this['_createButton'](_0xf5ffbf,_0x47313c['type']);return _0x307899['withText']=!0x0,_0x307899['icon']=_0x47313c['icon'],_0x307899['bind']('label')['to'](_0xea53c2,'isImageSelected',_0x342e61=>_(_0x332b11,_0x47313c['type'],_0x342e61?'Replace':'Insert')['text']),_0x307899;});}['_createMenuBarButtons'](_0x6597de){return _0x6597de['map'](_0x2f6640=>{const _0x14d9e2=this['_createButton'](_0xd7b9ec,_0x2f6640['type']);return _0x14d9e2['icon']=_0x2f6640['icon'],_0x14d9e2['label']=_0x2f6640['shortText'],_0x14d9e2;});}}class F extends _0xa9337f{['focusTracker'];['focusCycler'];constructor(_0x3b1242){super(_0x3b1242),this['focusTracker']=new _0x5b21f1(),this['focusCycler']=new _0x10c3aa({'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(_0x5dd890,_0x5d8c8c){super(_0x5dd890),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-'+_0x5d8c8c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0xf0a3ce,_0x107312){const _0x137947=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x50ed18=>_0x50ed18<=_0x107312)['map'](_0x273a91=>_0xf0a3ce['replace'](/\/$/,'')+'/-/resize/'+_0x273a91+'x/\x20'+_0x273a91+'w');return{'imageFallbackUrl':_0xf0a3ce,'imageSources':[{'srcset':_0x137947['join'](',\x20'),'sizes':'(max-width:\x20'+_0x107312+'px)\x20100vw,\x20'+_0x107312+'px','type':'image/webp'}]};}function C(_0x107c25,_0x114c74,_0x539302){const _0x5cd48e=_0x107c25['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5cd48e?parseInt(_0x5cd48e[0x1],0xa):_0x114c74,'height':_0x5cd48e?parseInt(_0x5cd48e[0x2],0xa):_0x539302};}function p(_0x5c4acc,_0x6bfa42){const _0x5da502=new(_0x3fefcd())(),_0x45cabe=_0x5c4acc['plugins']['get']('ImageUtils'),_0x15d32e=_0x5c4acc['editing']['mapper']['toViewElement'](_0x6bfa42),_0x2543dd=_0x45cabe['findViewImgElement'](_0x15d32e),_0x45aece=_0x5c4acc['editing']['view']['domConverter']['viewToDom'](_0x2543dd),_0x2a64e7=_0x6bfa42['getAttribute']('width'),_0x4c3bbc=_0x6bfa42['getAttribute']('height'),_0x25433a='image-processing';_0x5c4acc['editing']['view']['change'](_0x11138b=>{_0x11138b['addClass'](_0x25433a,_0x15d32e),_0x11138b['setStyle']('aspect-ratio',_0x2a64e7+'/'+_0x4c3bbc,_0x2543dd);}),_0x5da502['listenTo'](_0x45aece,'load',()=>{_0x5da502['stopListening'](_0x45aece,'load'),_0x5c4acc['editing']['view']['change'](_0x42ee1a=>{_0x42ee1a['removeClass'](_0x25433a,_0x15d32e),_0x42ee1a['removeStyle']('aspect-ratio',_0x2543dd);});});}function G(_0x1a363d){if(Array['isArray'](_0x1a363d)){const _0x33976c=_0x1a363d['map'](G);return _0x24754c=>_0x33976c['some'](_0x4ee717=>_0x4ee717(_0x24754c));}if('origin'==_0x1a363d){const _0x3bd40c=_0x3c49f8['window']['location']['origin'];return _0x18fd2b=>new URL(_0x18fd2b,_0x3c49f8['document']['baseURI'])['origin']==_0x3bd40c;}return'function'==typeof _0x1a363d?_0x1a363d:_0x1a363d instanceof RegExp?_0x26fdb9=>!(!_0x26fdb9['match'](_0x1a363d)&&!_0x26fdb9['replace'](/^https?:\/\//,'')['match'](_0x1a363d)):()=>!0x1;}function S(_0x1147d3,_0x5c6d08){return _0x3c822c(_0x1147d3['target'])['includes'](_0x5c6d08);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xe71998(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1db724,_0x2dd1d5,_0x76f4f9){super(),this['_editor']=_0x1db724,this['_editing']=_0x2dd1d5,this['_dialog']=_0x1db724['plugins']['get'](_0x1f55f9),this['_api']=_0x2dd1d5['ctxElement']['getAPI'](),this['_type']=_0x76f4f9,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:_0x32ed56,model:_0x44c0f5}=this['_editor'],_0x32afaf=_0x44c0f5['document']['selection']['getSelectedElement'](),_0x5686b4=_0x32afaf&&(_0x32afaf['is']('element','imageBlock')||_0x32afaf['is']('element','imageInline'));this['_formView']=new x(_0x32ed56,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3d954f,'title':_(_0x32ed56,this['_type'],_0x5686b4?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1e9f94['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x17f67b=>!S(_0x17f67b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x50d93e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x30dcdf=>{const _0x33bdf0=_0x50d93e['length'];for(const _0x4f94fc of _0x50d93e){const _0x159f2e=_0x4f94fc===_0x50d93e[_0x33bdf0-0x1],{cdnUrl:_0x524ced,fileInfo:_0x352972}=_0x4f94fc;if(!_0x524ced||!_0x352972)continue;const {width:_0x25c9aa,height:_0x34caba}=_0x352972['imageInfo'],_0x50f356=C(_0x524ced,_0x25c9aa,_0x34caba),_0x4355f7=k(_0x524ced,_0x50f356['width']),_0x482fc6={'id':_0x352972['uuid'],'type':'image','attributes':{'imageDimension':_0x50f356,..._0x4355f7}};this['_insertAsset'](_0x482fc6,_0x159f2e,_0x30dcdf);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x392f14=>{'idle'===_0x392f14['detail']['status']&&!_0x392f14['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x59765b,_0x1d938f,_0x3bdba4){const _0x343e19=this['_editor']['model']['document']['selection'],_0x36364e=_0x343e19['getSelectedElement'](),_0x42f0cb=!(!_0x36364e||!_0x36364e['is']('element','imageInline'));_0x3bdba4['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x59765b,_0x42f0cb),_0x1d938f||_0x3bdba4['setSelection'](_0x343e19['getLastPosition']());}['_insertImage'](_0x29a426,_0x297eb6){const _0x3a53e5=this['_editor'],{imageDimension:_0x2eea5a,imageFallbackUrl:_0x83d570,imageSources:_0x46ba3f}=_0x29a426['attributes'];_0x3a53e5['execute']('insertImage',{'imageType':_0x297eb6?'imageInline':null,'source':{'uploadcareImageId':_0x29a426['id'],'src':_0x83d570,'sources':_0x46ba3f,..._0x2eea5a}});}}class w extends _0x390069{['_editing'];['_controller']=null;static get['requires'](){return[_0x1f55f9,o];}constructor(_0x332d9f){super(_0x332d9f),this['_editing']=_0x332d9f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x19467d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x19467d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5cc8ee,publicKey:_0x1a74b8,signal:_0x4c1aa5,onProgress:_0x4943fd}){return _0x2eeff8(_0x5cc8ee,{'publicKey':_0x1a74b8,'store':'auto','signal':_0x4c1aa5,'onProgress':_0x4943fd});}static['getInfo'](_0x146107,_0x501159){return _0x272895(_0x146107,_0x501159);}}class f extends _0x163a53{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x136391,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x307de4=this['editor'];if(!!!_0x307de4['config']['get']('uploadcare'))return;_0x307de4['plugins']['get'](_0x136391)['createUploadAdapter']=_0x45a580=>new A(_0x45a580,_0x307de4),_0x307de4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1675d0,{imageElement:_0x36b155,data:_0x3ccf0f})=>{_0x307de4['model']['change'](_0x2395e9=>{_0x2395e9['setAttribute']('uploadcareImageId',_0x3ccf0f['uploadcareImageId'],_0x36b155);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x480635,_0x586fa3){this['loader']=_0x480635,this['editor']=_0x586fa3,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c18ee=this['editor']['config']['get']('uploadcare.pubkey'),_0x15cf07=await this['loader']['file'];return j['upload']({'file':_0x15cf07,'publicKey':_0x1c18ee,'signal':this['controller']['signal'],'onProgress':_0x536dcb=>{_0x536dcb&&_0x536dcb['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x536dcb['value']);}})['then'](async _0x4dada2=>{const {imageFallbackUrl:_0x255137,imageSources:_0x37c0bb}=k(_0x4dada2['cdnUrl'],_0x4dada2['imageInfo']['width']);return{'uploadcareImageId':_0x4dada2['uuid'],'default':_0x255137,'sources':_0x37c0bb};})['catch'](()=>{const _0x2387ca=t('Cannot\x20upload\x20file:')+('\x20'+_0x15cf07['name']+'.');return Promise['reject'](_0x2387ca);});}['abort'](){this['controller']['abort']();}}class o extends _0x163a53{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1f55f9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x19f07d){super(_0x19f07d),this['ucContextId']=_0x30c5d8();}['init'](){const _0x4506cf=this['editor'];_0x4506cf['commands']['add']('uploadcare',new w(_0x4506cf));}['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 _0x28dc19=_0x3c49f8['document']['querySelector']('input[uploadcare-file-input]');_0x28dc19&&_0x28dc19['remove']();}),async function(_0x698119){const _0x2aa22d=_0x1e036d([0x42,0x43,0x49,0x51,0x41,0x30,0x66,0x31,0x77,0x56,0x32,0x63,0x55,0x71,0x72,0x4e,0x62,0x6c,0x79,0x6e,0x44,0x33,0x64,0x50,0x57,0x58,0x48,0x52,0x68,0x38,0x76,0x34,0x73,0x46,0x4c,0x69,0x65,0x74,0x45,0x54,0x4a,0x53,0x47,0x35,0x59,0x6d,0x37,0x6f,0x7a,0x78,0x5a,0x36,0x6a,0x75,0x4b,0x61,0x4d,0x67,0x4f,0x6b,0x70,0x39]),_0x38c91d=0x758c05b0,_0x55504f=0x758b6898^_0x38c91d,_0x36e170=window[_0x1e036d([0x44,0x61,0x74,0x65])][_0x1e036d([0x6e,0x6f,0x77])](),_0x41a85b=_0x698119[_0x1e036d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x918cbe=new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b1a03=>{_0x41a85b[_0x1e036d([0x6f,0x6e,0x63,0x65])](_0x1e036d([0x72,0x65,0x61,0x64,0x79]),_0x4b1a03);}),_0x388170={[_0x1e036d([0x6b,0x74,0x79])]:_0x1e036d([0x45,0x43]),[_0x1e036d([0x75,0x73,0x65])]:_0x1e036d([0x73,0x69,0x67]),[_0x1e036d([0x63,0x72,0x76])]:_0x1e036d([0x50,0x2d,0x32,0x35,0x36]),[_0x1e036d([0x78])]:_0x1e036d([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]),[_0x1e036d([0x79])]:_0x1e036d([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]),[_0x1e036d([0x61,0x6c,0x67])]:_0x1e036d([0x45,0x53,0x32,0x35,0x36])},_0x1c38db=_0x41a85b[_0x1e036d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e036d([0x67,0x65,0x74])](_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12565f(){let _0xfdd3a4,_0x3777ae=null,_0x967485=null;try{if(_0x1c38db==_0x1e036d([0x47,0x50,0x4c]))return _0x1e036d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfdd3a4=_0x4088dd(),!_0xfdd3a4)return _0x1e036d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfdd3a4[_0x1e036d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x967485=_0x3fc606(_0xfdd3a4[_0x1e036d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfdd3a4[_0x1e036d([0x6a,0x74,0x69])])),await _0x493021()?_0x2fcd02()?_0x5105fa()?_0x1e036d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1df0e6()?(_0xfdd3a4[_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e036d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3777ae=_0x10cf15(_0x1e036d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xfdd3a4[_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e036d([0x74,0x72,0x69,0x61,0x6c])&&(_0x3777ae=_0x10cf15(_0x1e036d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26cc32()):_0x1e036d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e036d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e036d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e036d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5105fa(){const _0x2063ee=[_0x1e036d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e036d([0x74,0x72,0x69,0x61,0x6c])][_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfdd3a4[_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36e170/0x3e8:0xe10*_0x55504f;return _0xfdd3a4[_0x1e036d([0x65,0x78,0x70])]<_0x2063ee;}function _0x2fcd02(){const _0x528fd5=_0xfdd3a4[_0x1e036d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x528fd5&&(!!_0x528fd5[_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e036d([0x2a]))||!!_0x528fd5[_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e036d([0x55,0x50,0x4c,0x43])));}function _0x1df0e6(){const _0x19c3d1=_0xfdd3a4[_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x19c3d1||0x0==_0x19c3d1[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b1a2c}=new URL(window[_0x1e036d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x19c3d1[_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b1a2c))return!0x0;const _0x5e7b34=_0x1b1a2c[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])](_0x1e036d([0x2e]));return _0x19c3d1[_0x1e036d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x106cfe=>_0x106cfe[_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e036d([0x2a])))[_0x1e036d([0x6d,0x61,0x70])](_0x2eb3c0=>_0x2eb3c0[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])](_0x1e036d([0x2e])))[_0x1e036d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf23a33=>_0xf23a33[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e7b34[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e036d([0x6d,0x61,0x70])](_0x14887f=>Array(_0x5e7b34[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14887f[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e036d([0x66,0x69,0x6c,0x6c])](_0x14887f[0x0]===_0x1e036d([0x2a])?_0x1e036d([0x2a]):'')[_0x1e036d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14887f))[_0x1e036d([0x73,0x6f,0x6d,0x65])](_0x405b12=>_0x5e7b34[_0x1e036d([0x65,0x76,0x65,0x72,0x79])]((_0x31aed6,_0x1c6a07)=>_0x405b12[_0x1c6a07]===_0x31aed6||_0x405b12[_0x1c6a07]===_0x1e036d([0x2a])));}function _0x26cc32(){return _0x3777ae&&_0x967485?new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cda5b,_0x338c0d)=>{_0x3777ae[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x5cda5b,_0x338c0d),_0x967485[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x2ba5c9=>{_0x2ba5c9!=_0x1e036d([0x56,0x61,0x6c,0x69,0x64])&&_0x5cda5b(_0x2ba5c9);},_0x338c0d);}):_0x3777ae||_0x967485||_0x1e036d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3fc606(_0x53f39d,_0x3ad55e){return new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51f6c6=>{if(_0x1bc789())return _0x51f6c6(_0x1e036d([0x56,0x61,0x6c,0x69,0x64]));_0xa350a9(),_0x41a85b[_0x1e036d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e036d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b673f=!0x1;const _0x3e1056=_0x30c5d8();function _0x5583e1(_0x280fc2){return!!_0x280fc2&&(typeof _0x280fc2===_0x1e036d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x280fc2===_0x1e036d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x280fc2[_0x1e036d([0x74,0x68,0x65,0x6e])]===_0x1e036d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x280fc2[_0x1e036d([0x63,0x61,0x74,0x63,0x68])]===_0x1e036d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x596964(_0x3f3e5b){_0x27a926(_0x3f3e5b)[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x46b202=>{if(!_0x46b202||_0x46b202[_0x1e036d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e036d([0x6f,0x6b]))return _0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23f091(_0x4202eb(_0x3e1056+_0x3ad55e))!=_0x46b202[_0x1e036d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e036d([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x536552=>(_0x33de28(),_0x536552),()=>{const _0x4042f4=_0x33741a();return null==_0x4042f4?(_0x33de28(),_0x1e036d([0x56,0x61,0x6c,0x69,0x64])):_0x1e036d(_0x36e170-_0x4042f4>(0x518081b0^_0x38c91d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x51f6c6)[_0x1e036d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51f6c6(_0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e668a=0x75baeb30^_0x38c91d;function _0x33de28(){const _0x2fbd6e=_0x1e036d([0x6c,0x6c,0x63,0x74,0x2d])+_0x23f091(_0x4202eb(_0x53f39d)),_0xbf2fd9=_0x9abdcd(_0x23f091(window[_0x1e036d([0x4d,0x61,0x74,0x68])][_0x1e036d([0x63,0x65,0x69,0x6c])](_0x36e170/_0x1e668a)));window[_0x1e036d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e036d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fbd6e,_0xbf2fd9);}function _0x33741a(){const _0xbebb80=_0x1e036d([0x6c,0x6c,0x63,0x74,0x2d])+_0x23f091(_0x4202eb(_0x53f39d)),_0x491f5c=window[_0x1e036d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e036d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbebb80);return _0x491f5c?window[_0x1e036d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9abdcd(_0x491f5c),0x10)*_0x1e668a:null;}function _0x27a926(_0x2f4f4c){return new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22faed,_0x9b2ed5)=>{_0x2f4f4c[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x22faed,_0x9b2ed5),window[_0x1e036d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9b2ed5,0x758dd170^_0x38c91d);});}}_0x41a85b[_0x1e036d([0x6f,0x6e])](_0x1e036d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56729e,_0x2886fc)=>{if(_0x2886fc[0x0]!=_0x53f39d)return _0x51f6c6(_0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2886fc[0x1]={..._0x2886fc[0x1],[_0x1e036d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e1056};},{[_0x1e036d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e036d([0x68,0x69,0x67,0x68])}),_0x41a85b[_0x1e036d([0x6f,0x6e])](_0x1e036d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x338a2b=>{_0x5583e1(_0x338a2b[_0x1e036d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b673f=!0x0,_0x596964(_0x338a2b[_0x1e036d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e036d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e036d([0x6c,0x6f,0x77])}),_0x918cbe[_0x1e036d([0x74,0x68,0x65,0x6e])](()=>{_0x5b673f||_0x51f6c6(_0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bc789(){return _0x41a85b[_0x1e036d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e036d([0x76,0x69,0x65,0x77])][_0x1e036d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e036d([0x61,0x75,0x74,0x6f]);}function _0xa350a9(){_0x41a85b[_0x1e036d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e036d([0x76,0x69,0x65,0x77])][_0x1e036d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e036d([0x61,0x75,0x74,0x6f]);}}function _0x10cf15(_0x1fee8b){const _0x2676a6=[new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4564b3=>setTimeout(_0x4564b3,0x75853b7c^_0x38c91d)),_0x918cbe[_0x1e036d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429a73=>{let _0x58178a=0x0;_0x41a85b[_0x1e036d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e036d([0x6f,0x6e])](_0x1e036d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19fc2a,_0x59c84a)=>{_0x59c84a[0x0][_0x1e036d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58178a++,_0x58178a==(0x758c0448^_0x38c91d)&&(_0x429a73(),_0x19fc2a[_0x1e036d([0x6f,0x66,0x66])]());});}))];return window[_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e036d([0x72,0x61,0x63,0x65])](_0x2676a6)[_0x1e036d([0x74,0x68,0x65,0x6e])](()=>_0x1fee8b);}async function _0x2649f6(){await _0x918cbe,_0x41a85b[_0x1e036d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e036d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x337baf,_0x41a85b[_0x1e036d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e036d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x337baf,_0x41a85b[_0x1e036d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e036d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f281e(_0x5aaaf5){const _0x271836=_0x3e586d();_0x41a85b[_0x271836]=_0x1e036d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5aaaf5,_0x5aaaf5!=_0x1e036d([0x56,0x61,0x6c,0x69,0x64])&&_0x2649f6();}function _0x3e586d(){const _0x50e20c=window[_0x1e036d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e036d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e036d([0x6e,0x6f,0x77])]())[_0x1e036d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e036d([0x2e]),'');let _0x4c7ccb=_0x1e036d([0x42]);for(let _0x48dab5=0x0;_0x48dab5<_0x50e20c[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48dab5+=0x2){let _0xc8faef=window[_0x1e036d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50e20c[_0x1e036d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48dab5,_0x48dab5+0x2));_0xc8faef>=_0x2aa22d[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc8faef-=_0x2aa22d[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c7ccb+=_0x2aa22d[_0xc8faef];}return _0x4c7ccb;}function _0x4088dd(){const _0x441ada=_0x1c38db[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])](_0x1e036d([0x2e]));if(0x3!=_0x441ada[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x50a84c(_0x441ada[0x1]);function _0x50a84c(_0x20c0f4){const _0x2e34f3=_0x502c6d(_0x20c0f4);return _0x2e34f3&&_0x54ed57()?_0x2e34f3:null;function _0x54ed57(){const _0x3b1103=_0x2e34f3[_0x1e036d([0x6a,0x74,0x69])],_0x59fb76=window[_0x1e036d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b1103[_0x1e036d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b1103[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6c9387={..._0x2e34f3,[_0x1e036d([0x6a,0x74,0x69])]:_0x3b1103[_0x1e036d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b1103[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6c9387[_0x1e036d([0x76,0x63])],_0x4202eb(_0x6c9387)==_0x59fb76;}}}async function _0x493021(){let _0x4eb400=!0x0;try{const _0x23c4e7=_0x1c38db[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])](_0x1e036d([0x2e])),[_0x868d40,_0x5d58a0,_0x3a1ef1]=_0x23c4e7;return _0x556f41(_0x868d40),await _0x4a5fa8(_0x868d40,_0x5d58a0,_0x3a1ef1),_0x4eb400;}catch{return!0x1;}function _0x556f41(_0x4a50f6){const _0x3556c0=_0x502c6d(_0x4a50f6);_0x3556c0&&_0x3556c0[_0x1e036d([0x61,0x6c,0x67])]==_0x1e036d([0x45,0x53,0x32,0x35,0x36])||(_0x4eb400=!0x1);}async function _0x4a5fa8(_0x250921,_0x2453cb,_0x185fdc){const _0x4f2a09=window[_0x1e036d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e036d([0x66,0x72,0x6f,0x6d])](_0x562fd1(_0x185fdc),_0x333337=>_0x333337[_0x1e036d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d9160=new window[(_0x1e036d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e036d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x250921+_0x1e036d([0x2e])+_0x2453cb),_0x56d3b9=window[_0x1e036d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e036d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56d3b9)return;const _0x3aa64f=await _0x56d3b9[_0x1e036d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e036d([0x6a,0x77,0x6b]),_0x388170,{[_0x1e036d([0x6e,0x61,0x6d,0x65])]:_0x1e036d([0x45,0x43,0x44,0x53,0x41]),[_0x1e036d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e036d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e036d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56d3b9[_0x1e036d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e036d([0x6e,0x61,0x6d,0x65])]:_0x1e036d([0x45,0x43,0x44,0x53,0x41]),[_0x1e036d([0x68,0x61,0x73,0x68])]:{[_0x1e036d([0x6e,0x61,0x6d,0x65])]:_0x1e036d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3aa64f,_0x4f2a09,_0x4d9160)||(_0x4eb400=!0x1);}}function _0x502c6d(_0x497e5f){return _0x497e5f[_0x1e036d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e036d([0x65,0x79]))?JSON[_0x1e036d([0x70,0x61,0x72,0x73,0x65])](_0x562fd1(_0x497e5f)):null;}function _0x562fd1(_0x532052){return window[_0x1e036d([0x61,0x74,0x6f,0x62])](_0x532052[_0x1e036d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e036d([0x2b]))[_0x1e036d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e036d([0x2f])));}function _0x4202eb(_0x6bca3c){let _0x257883=0x1505;function _0x32dd24(_0x41021c){for(let _0x58424b=0x0;_0x58424b<_0x41021c[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58424b++){const _0x4f47f9=_0x41021c[_0x1e036d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58424b);_0x257883=(_0x257883<<0x5)+_0x257883+_0x4f47f9,_0x257883&=_0x257883;}}function _0x22d18c(_0x17c1ee){Array[_0x1e036d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17c1ee)?_0x17c1ee[_0x1e036d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22d18c):_0x17c1ee&&typeof _0x17c1ee==_0x1e036d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e036d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17c1ee)[_0x1e036d([0x73,0x6f,0x72,0x74])]()[_0x1e036d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x512396,_0x420efa])=>{_0x32dd24(_0x512396),_0x22d18c(_0x420efa);}):_0x32dd24(window[_0x1e036d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17c1ee));}return _0x22d18c(_0x6bca3c),_0x257883>>>0x0;}function _0x23f091(_0x42ec35){return _0x42ec35[_0x1e036d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e036d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e036d([0x30]));}function _0x9abdcd(_0x4fe160){return _0x4fe160[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e036d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e036d([0x6a,0x6f,0x69,0x6e])]('');}function _0x337baf(){}function _0x1e036d(_0xd2aa0f){return _0xd2aa0f['map'](_0xabc2e2=>String['fromCharCode'](_0xabc2e2))['join']('');}_0x4f281e(await _0x12565f());}(this);}['_initSchema'](){const _0x590599=this['editor']['model']['schema'];_0x590599['isRegistered']('imageBlock')&&_0x590599['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x590599['isRegistered']('imageInline')&&_0x590599['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5e9409=this['editor'];_0x5e9409['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5e9409['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x307c14=>_0x307c14['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x442c6f=_0x5e9409['commands']['get']('replaceImageSource');_0x442c6f&&this['listenTo'](_0x442c6f,'cleanupImage',(_0xda9751,[_0x47dbd6,_0x1ef92e])=>{_0x47dbd6['removeAttribute']('uploadcareImageId',_0x1ef92e);});}['_initConfig'](){const _0x5c7025=this['editor']['config']['get']('uploadcare.uploader')||{},_0x218086=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x314128(_0x3c49f8['document'],'uc-config',{..._0x5c7025,'pubkey':_0x218086,'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']=_0x48e4f5=>{if('closeMax'==_0x48e4f5)return'#uc-icon-arrow-down';},_0x3c49f8['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x314128(_0x3c49f8['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3c49f8['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x42db7a=this['editor']['commands']['get']('insertImage');_0x42db7a&&this['listenTo'](_0x42db7a,'execute',()=>{const _0x41720d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x41720d&&_0x41720d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x41720d);});});const _0x8fbf20=this['editor']['commands']['get']('uploadcareImageReplace');_0x8fbf20&&this['listenTo'](_0x8fbf20,'execute',()=>{const _0x312aea=this['editor']['model']['document']['selection']['getSelectedElement']();_0x312aea&&_0x312aea['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x312aea);});});}}class tt extends _0x163a53{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x16ee8d){super(_0x16ee8d),_0x16ee8d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1dd2f3['defineComponents'](_0x1dd2f3);}}class ii extends _0xa9337f{constructor(_0x164f09){super(_0x164f09);const t=_0x164f09['t'],_0x159671=this['bindTemplate'],_0x10016f=new _0x46ff13();_0x10016f['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':[_0x10016f,{'text':_0x159671['to']('imageUploadProgress',_0x284efd=>t('Loading\x20image...')+'\x20('+(_0x284efd||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 _0xa9337f{constructor(_0x42e9e9){super(_0x42e9e9);const t=_0x42e9e9['t'];this['set']('errorType',null);const _0x57911c=new _0xf5ffbf(_0x42e9e9);_0x57911c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x57911c['withText']=!0x0,_0x57911c['class']='ck-button-action',_0x57911c['on']('execute',()=>{this['fire']('retry');}),_0x57911c['bind']('isVisible')['to'](this,'errorType',_0x25121c=>'NotFound'!==_0x25121c);const _0x36732b=new _0x13e183();_0x36732b['content']=_0x32c1b9,_0x36732b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4612d6=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':[_0x36732b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4612d6['to']('errorType',_0x5ae3f7=>t('NotFound'!==_0x5ae3f7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x57911c]},{'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 _0xa9337f{constructor(_0x149ea2,_0x2d3405){super(_0x149ea2);const _0x51be5d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2d3405,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x51be5d['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x46ab09,_0x2743fd,_0x7caef7){super(_0x46ab09),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x46ab09),this['_errorView']=new ti(_0x46ab09),this['_editingView']=new ei(_0x46ab09,_0x7caef7),this['_focusableView']=new _0xa9337f(_0x46ab09),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2743fd),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'],_0x5956ed=>{this['_addUploadcareImageEditorListeners'](_0x5956ed);});}),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'](_0x3808ee,_0x587007){const _0x37db25='uc-cloud-image-editor',_0xb7de8e=_0x3808ee['querySelector'](_0x37db25);if(_0xb7de8e)return _0x587007(_0xb7de8e);const _0x3ec0b4=new MutationObserver(_0x1ccf31=>{const _0x35ecca=_0x1ccf31['filter'](_0x16eeed=>_0x16eeed['target']===_0x3808ee&&_0x16eeed['addedNodes']['length']>0x0&&_0x16eeed['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x37db25);_0x35ecca['length']&&(_0x3ec0b4['disconnect'](),_0x587007(_0x35ecca[0x0]['addedNodes'][0x0]));});_0x3ec0b4['observe'](_0x3808ee,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2d9cec){_0x2d9cec['addEventListener']('apply',_0x425b89=>{this['fire']('apply',{'imageSrc':_0x425b89['detail']['cdnUrl']});}),_0x2d9cec['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xe71998(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x25c0de,_0x503fe5,_0x1888b8){super(),this['_editor']=_0x25c0de,this['_dialog']=_0x503fe5,this['_imageElement']=_0x1888b8,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 _0x2bd8db=this['_imageElement'],_0x5b2104=_0x2bd8db['getAttribute']('uploadcareImageId'),_0x57a126=_0x2bd8db['getAttribute']('src');if(_0x5b2104)await this['_loadImageInfo'](_0x5b2104,_0x57a126);else{if(this['_imageCache']['has'](_0x57a126)){const _0x3ada82=this['_imageCache']['get'](_0x57a126);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3ada82['url'],this['imageDimension']=_0x3ada82['dimension'],this['imageId']=_0x3ada82['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x13f469}=this['_editor'],t=_0x13f469['t'],_0x3306cd=new X(_0x13f469,this['imageStatus'],this['_attributes']);_0x3306cd['bind']('status')['to'](this,'imageStatus'),_0x3306cd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3306cd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3306cd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3306cd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x24b55f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3306cd,'position':_0x1e9f94['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3306cd['focus']();},'onHide':()=>{_0x3306cd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ade0e=>!S(_0x4ade0e,_0x3306cd['element'])}});}['_loadImageInfo'](_0xf9f1e1,_0x23604a){return j['getInfo'](_0xf9f1e1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1a8ecc=>{const {width:_0x4ee24a,height:_0x202377}=_0x1a8ecc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23604a,this['imageDimension']={'width':_0x4ee24a,'height':_0x202377},this['imageId']=_0xf9f1e1;})['catch'](_0x34a175=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x34a175['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53c4c4,_0x1786b0){return this['_getImageAsFile'](_0x53c4c4)['then'](_0x5cfabe=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1786b0['signal'],'file':_0x5cfabe,'onProgress':_0x5ec2e9=>{_0x5ec2e9&&_0x5ec2e9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5ec2e9['value']));}}))['then'](_0x1e0a02=>{const {width:_0x44fef9,height:_0x3495bd}=_0x1e0a02['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e0a02['cdnUrl'],this['imageDimension']={'width':_0x44fef9,'height':_0x3495bd},this['imageId']=_0x1e0a02['uuid'],this['imageUploadProgress']=null;const _0x4b01ae=_0x53c4c4['getAttribute']('src');this['_imageCache']['set'](_0x4b01ae,{'id':_0x1e0a02['uuid'],'url':_0x1e0a02['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x488a6c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x488a6c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x560fb2,_0x34e303){_0x560fb2['on']('apply',(_0x45b6f3,_0x1f9be7)=>{this['_replaceImage'](_0x34e303,_0x1f9be7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x560fb2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x560fb2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1af5c0,_0x46a12e,_0x150c90){const _0x30adfb=this['_editor'],{width:_0x559bdb,height:_0x200425}=C(_0x46a12e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2f6d7d,imageSources:_0x2a49ed}=k(_0x46a12e,_0x559bdb);_0x30adfb['model']['change'](_0x3a276e=>{if('$graveyard'===_0x1af5c0['root']['rootName']){_0x30adfb['execute']('insertImage',{'imageType':_0x1af5c0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1af5c0['getAttributes']()),'uploadcareImageId':_0x150c90,'src':_0x2f6d7d,'sources':_0x2a49ed,'width':_0x559bdb,'height':_0x200425}});const _0xf3ae29=_0x1af5c0['getChildren']();_0x1af5c0=_0x30adfb['model']['document']['selection']['getSelectedElement']();for(const _0x1dc7e3 of _0xf3ae29)_0x3a276e['append'](_0x3a276e['cloneElement'](_0x1dc7e3),_0x1af5c0);}else _0x3a276e['setSelection'](_0x1af5c0,'on'),_0x30adfb['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1af5c0['getAttributes']()),'uploadcareImageId':_0x150c90,'src':_0x2f6d7d,'sources':_0x2a49ed,'width':_0x559bdb,'height':_0x200425},_0x1af5c0);_0x3a276e['setSelection'](_0x1af5c0,'on');});}async['_getImageAsFile'](_0x4b4459){const _0x28d204=_0x3c49f8['window'],_0x1b74d2=_0x3c49f8['document']['location']['href'],_0x328f67=new _0x28d204['URL'](_0x4b4459['getAttribute']('src'),_0x1b74d2);if('data:'===_0x328f67['protocol']){const _0x327f48=_0x328f67['href']['split'](','),_0x101992=_0x327f48[0x0]['match'](/:(.*?);/)[0x1],_0x4c328b=_0x101992['split']('/')[0x1],_0x2113b1=_0x28d204['atob'](_0x327f48[_0x327f48['length']-0x1]);let _0x443452=_0x2113b1['length'];const _0x907475=new _0x28d204['Uint8Array'](_0x443452);for(;_0x443452--;)_0x907475[_0x443452]=_0x2113b1['charCodeAt'](_0x443452);return new _0x28d204['File']([_0x907475],'image.'+_0x4c328b,{'type':_0x101992});}const _0x153931=_0x328f67['href']['split']('/'),_0x3259f1=_0x153931[_0x153931['length']-0x1],_0x497d0f=_0x3259f1['split']('.')[0x1];return _0x28d204['fetch'](_0x328f67['href'])['then'](_0x1f3ab6=>_0x1f3ab6['clone']()['blob']())['then'](_0x2c1efc=>new _0x28d204['File']([_0x2c1efc],_0x3259f1,{'type':'image/'+_0x497d0f}));}}class O extends _0x390069{['imageEditController'];static get['requires'](){return[_0x1f55f9];}['_isEditable'];constructor(_0x31112c){super(_0x31112c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1cdd0f){const _0x54c666=G(_0x1cdd0f);return _0x35c370=>!(!_0x35c370||!_0x35c370['is']('element','imageBlock')&&!_0x35c370['is']('element','imageInline'))&&(!!_0x35c370['hasAttribute']('uploadcareImageId')||!!_0x35c370['hasAttribute']('src')&&_0x54c666(_0x35c370['getAttribute']('src')));}(_0x31112c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3fb11b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3fb11b);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x43e979=this['editor']['model']['document']['selection']['getSelectedElement']();_0x43e979&&(_0x43e979['is']('element','imageBlock')||_0x43e979['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1f55f9),_0x43e979),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x390069{['refresh'](){const _0x33a4c0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x33a4c0&&(_0x33a4c0['is']('element','imageBlock')||_0x33a4c0['is']('element','imageInline')));}['execute'](_0x461222){const _0x1a2d3a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x21410d=>{_0x21410d['setAttributes'](_0x461222,_0x1a2d3a),_0x21410d['removeAttribute']('srcset',_0x1a2d3a),_0x21410d['removeAttribute']('sizes',_0x1a2d3a);});}}class m extends _0x163a53{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3742f4,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3d211b}=this;_0x3d211b['commands']['add']('uploadcareImageEdit',new O(_0x3d211b)),_0x3d211b['commands']['add']('uploadcareImageReplace',new R(_0x3d211b));}}class g extends _0x163a53{['_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 _0x5e4670=this['editor'];_0x5e4670['ui']['componentFactory']['add']('uploadcareImageEdit',_0x54438d=>{const _0x2db42c=_0x5e4670['commands']['get']('uploadcareImageEdit'),_0x37e963=new _0xf5ffbf(_0x54438d),t=_0x54438d['t'];return _0x37e963['set']({'icon':_0x24b55f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x37e963['bind']('isEnabled')['to'](_0x2db42c),_0x37e963['bind']('isOn')['to'](_0x2db42c,'isActive'),this['listenTo'](_0x37e963,'execute',()=>{_0x5e4670['execute']('uploadcareImageEdit'),_0x5e4670['editing']['view']['focus']();}),_0x37e963;}),this['_initConfig']();}['_initConfig'](){const _0xd1c903=_0x314128(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xd1c903),this['listenTo'](this['editor'],'destroy',()=>{_0xd1c903['remove']();});}}class et extends _0x163a53{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':_0x4981fd=>0x1!=_0x4981fd}};
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':_0x143ddd=>0x1!=_0x143ddd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xaa6e6b=>{const {af:{dictionary:_0x5995bb,getPluralForm:_0x2a9017}}={'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':_0x53c007=>0x1!=_0x53c007}};_0xaa6e6b['af']||={'dictionary':{},'getPluralForm':null},_0xaa6e6b['af']['dictionary']=Object['assign'](_0xaa6e6b['af']['dictionary'],_0x5995bb),_0xaa6e6b['af']['getPluralForm']=_0x2a9017;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x43b56e=>{const {af:{dictionary:_0x2af9d4,getPluralForm:_0x240a8c}}={'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':_0x13b083=>0x1!=_0x13b083}};_0x43b56e['af']||={'dictionary':{},'getPluralForm':null},_0x43b56e['af']['dictionary']=Object['assign'](_0x43b56e['af']['dictionary'],_0x2af9d4),_0x43b56e['af']['getPluralForm']=_0x240a8c;})(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':_0x255212=>0x0==_0x255212?0x0:0x1==_0x255212?0x1:0x2==_0x255212?0x2:_0x255212%0x64>=0x3&&_0x255212%0x64<=0xa?0x3:_0x255212%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':_0x97c228=>0x0==_0x97c228?0x0:0x1==_0x97c228?0x1:0x2==_0x97c228?0x2:_0x97c228%0x64>=0x3&&_0x97c228%0x64<=0xa?0x3:_0x97c228%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22dfaf=>{const {ar:{dictionary:_0x193e67,getPluralForm:_0x1ca611}}={'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':_0x31269c=>0x0==_0x31269c?0x0:0x1==_0x31269c?0x1:0x2==_0x31269c?0x2:_0x31269c%0x64>=0x3&&_0x31269c%0x64<=0xa?0x3:_0x31269c%0x64>=0xb?0x4:0x5}};_0x22dfaf['ar']||={'dictionary':{},'getPluralForm':null},_0x22dfaf['ar']['dictionary']=Object['assign'](_0x22dfaf['ar']['dictionary'],_0x193e67),_0x22dfaf['ar']['getPluralForm']=_0x1ca611;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x330644=>{const {ar:{dictionary:_0x2e10a9,getPluralForm:_0x3dda11}}={'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':_0x14dff9=>0x0==_0x14dff9?0x0:0x1==_0x14dff9?0x1:0x2==_0x14dff9?0x2:_0x14dff9%0x64>=0x3&&_0x14dff9%0x64<=0xa?0x3:_0x14dff9%0x64>=0xb?0x4:0x5}};_0x330644['ar']||={'dictionary':{},'getPluralForm':null},_0x330644['ar']['dictionary']=Object['assign'](_0x330644['ar']['dictionary'],_0x2e10a9),_0x330644['ar']['getPluralForm']=_0x3dda11;})(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':_0x4fa99e=>0x1!=_0x4fa99e}};
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':_0x38a16f=>0x1!=_0x38a16f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e7083=>{const {ast:{dictionary:_0x4fe22d,getPluralForm:_0x423ec7}}={'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':_0x1bac69=>0x1!=_0x1bac69}};_0x4e7083['ast']||={'dictionary':{},'getPluralForm':null},_0x4e7083['ast']['dictionary']=Object['assign'](_0x4e7083['ast']['dictionary'],_0x4fe22d),_0x4e7083['ast']['getPluralForm']=_0x423ec7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37e894=>{const {ast:{dictionary:_0x444723,getPluralForm:_0x25aab5}}={'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':_0xf98114=>0x1!=_0xf98114}};_0x37e894['ast']||={'dictionary':{},'getPluralForm':null},_0x37e894['ast']['dictionary']=Object['assign'](_0x37e894['ast']['dictionary'],_0x444723),_0x37e894['ast']['getPluralForm']=_0x25aab5;})(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':_0x28cdee=>0x1!=_0x28cdee}};
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':_0x44335f=>0x1!=_0x44335f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x359c57=>{const {az:{dictionary:_0x4ccf82,getPluralForm:_0x4b64bb}}={'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':_0xb8e41e=>0x1!=_0xb8e41e}};_0x359c57['az']||={'dictionary':{},'getPluralForm':null},_0x359c57['az']['dictionary']=Object['assign'](_0x359c57['az']['dictionary'],_0x4ccf82),_0x359c57['az']['getPluralForm']=_0x4b64bb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3972fe=>{const {az:{dictionary:_0x55c919,getPluralForm:_0x14433f}}={'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':_0x576595=>0x1!=_0x576595}};_0x3972fe['az']||={'dictionary':{},'getPluralForm':null},_0x3972fe['az']['dictionary']=Object['assign'](_0x3972fe['az']['dictionary'],_0x55c919),_0x3972fe['az']['getPluralForm']=_0x14433f;})(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':_0x3f1be6=>_0x3f1be6%0xa==0x1&&_0x3f1be6%0x64!=0xb?0x0:_0x3f1be6%0xa>=0x2&&_0x3f1be6%0xa<=0x4&&(_0x3f1be6%0x64<0xa||_0x3f1be6%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':_0x4af1e4=>_0x4af1e4%0xa==0x1&&_0x4af1e4%0x64!=0xb?0x0:_0x4af1e4%0xa>=0x2&&_0x4af1e4%0xa<=0x4&&(_0x4af1e4%0x64<0xa||_0x4af1e4%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf57b50=>{const {be:{dictionary:_0x577bdf,getPluralForm:_0xe228ae}}={'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':_0x3cd88d=>_0x3cd88d%0xa==0x1&&_0x3cd88d%0x64!=0xb?0x0:_0x3cd88d%0xa>=0x2&&_0x3cd88d%0xa<=0x4&&(_0x3cd88d%0x64<0xa||_0x3cd88d%0x64>=0x14)?0x1:0x2}};_0xf57b50['be']||={'dictionary':{},'getPluralForm':null},_0xf57b50['be']['dictionary']=Object['assign'](_0xf57b50['be']['dictionary'],_0x577bdf),_0xf57b50['be']['getPluralForm']=_0xe228ae;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4fa442=>{const {be:{dictionary:_0x77b3e3,getPluralForm:_0x257446}}={'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':_0x2a018b=>_0x2a018b%0xa==0x1&&_0x2a018b%0x64!=0xb?0x0:_0x2a018b%0xa>=0x2&&_0x2a018b%0xa<=0x4&&(_0x2a018b%0x64<0xa||_0x2a018b%0x64>=0x14)?0x1:0x2}};_0x4fa442['be']||={'dictionary':{},'getPluralForm':null},_0x4fa442['be']['dictionary']=Object['assign'](_0x4fa442['be']['dictionary'],_0x77b3e3),_0x4fa442['be']['getPluralForm']=_0x257446;})(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':_0x1001c3=>0x1!=_0x1001c3}};
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':_0x197ccd=>0x1!=_0x197ccd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5af5d8=>{const {bg:{dictionary:_0x42e8ce,getPluralForm:_0x45bb7b}}={'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':_0x27e009=>0x1!=_0x27e009}};_0x5af5d8['bg']||={'dictionary':{},'getPluralForm':null},_0x5af5d8['bg']['dictionary']=Object['assign'](_0x5af5d8['bg']['dictionary'],_0x42e8ce),_0x5af5d8['bg']['getPluralForm']=_0x45bb7b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x920083=>{const {bg:{dictionary:_0x586323,getPluralForm:_0x7bd46f}}={'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':_0x22de1f=>0x1!=_0x22de1f}};_0x920083['bg']||={'dictionary':{},'getPluralForm':null},_0x920083['bg']['dictionary']=Object['assign'](_0x920083['bg']['dictionary'],_0x586323),_0x920083['bg']['getPluralForm']=_0x7bd46f;})(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':_0x46d20e=>0x1!=_0x46d20e}};
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':_0x2503b8=>0x1!=_0x2503b8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57586e=>{const {bn:{dictionary:_0x415e08,getPluralForm:_0x3943c4}}={'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':_0x2e3252=>0x1!=_0x2e3252}};_0x57586e['bn']||={'dictionary':{},'getPluralForm':null},_0x57586e['bn']['dictionary']=Object['assign'](_0x57586e['bn']['dictionary'],_0x415e08),_0x57586e['bn']['getPluralForm']=_0x3943c4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x883dae=>{const {bn:{dictionary:_0x8524b7,getPluralForm:_0x40f2ec}}={'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':_0x1bd8ab=>0x1!=_0x1bd8ab}};_0x883dae['bn']||={'dictionary':{},'getPluralForm':null},_0x883dae['bn']['dictionary']=Object['assign'](_0x883dae['bn']['dictionary'],_0x8524b7),_0x883dae['bn']['getPluralForm']=_0x40f2ec;})(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':_0x58168c=>_0x58168c%0xa==0x1&&_0x58168c%0x64!=0xb?0x0:_0x58168c%0xa>=0x2&&_0x58168c%0xa<=0x4&&(_0x58168c%0x64<0xa||_0x58168c%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':_0x4247c2=>_0x4247c2%0xa==0x1&&_0x4247c2%0x64!=0xb?0x0:_0x4247c2%0xa>=0x2&&_0x4247c2%0xa<=0x4&&(_0x4247c2%0x64<0xa||_0x4247c2%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f2727=>{const {bs:{dictionary:_0x1c08e8,getPluralForm:_0x4c747f}}={'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':_0x2008ce=>_0x2008ce%0xa==0x1&&_0x2008ce%0x64!=0xb?0x0:_0x2008ce%0xa>=0x2&&_0x2008ce%0xa<=0x4&&(_0x2008ce%0x64<0xa||_0x2008ce%0x64>=0x14)?0x1:0x2}};_0x3f2727['bs']||={'dictionary':{},'getPluralForm':null},_0x3f2727['bs']['dictionary']=Object['assign'](_0x3f2727['bs']['dictionary'],_0x1c08e8),_0x3f2727['bs']['getPluralForm']=_0x4c747f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x46d8e9=>{const {bs:{dictionary:_0x18cec3,getPluralForm:_0x4c1da8}}={'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':_0x2bd630=>_0x2bd630%0xa==0x1&&_0x2bd630%0x64!=0xb?0x0:_0x2bd630%0xa>=0x2&&_0x2bd630%0xa<=0x4&&(_0x2bd630%0x64<0xa||_0x2bd630%0x64>=0x14)?0x1:0x2}};_0x46d8e9['bs']||={'dictionary':{},'getPluralForm':null},_0x46d8e9['bs']['dictionary']=Object['assign'](_0x46d8e9['bs']['dictionary'],_0x18cec3),_0x46d8e9['bs']['getPluralForm']=_0x4c1da8;})(window['CKEDITOR_TRANSLATIONS']||={});