@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251119.0 → 0.0.0-nightly-20251121.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 _0x402361,Command as _0x1d4c02}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x382378,IconGooglePhotos as _0x38197a,IconGoogleDrive as _0x35b54b,IconFacebook as _0x52b256,IconDropbox as _0x5a15d9,IconUploadcareLink as _0x2ebf29,IconUploadcareImageUpload as _0xc370e8,IconError as _0x5a87cc,IconUploadcareImageEdit as _0x3d9da3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xbb2f4a,MenuBarMenuListItemButtonView as _0x5eef18,View as _0x21629f,FocusCycler as _0x58e512,Dialog as _0x34612a,DialogViewPosition as _0x3a4984,SpinnerView as _0x40fa96,IconView as _0x4c570d,Notification as _0x18c9e4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x547186,DomEmitterMixin as _0x7314a,global as _0x1bee70,getAncestors as _0x1b353a,ObservableMixin as _0x5c4f2a,uid as _0x4e77ad,createElement as _0x466200}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x36ce51}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x63d46d,info as _0x24233d}from'@uploadcare/upload-client';import*as _0x5d6c61 from'@uploadcare/file-uploader';var i=function(_0x180171){return _0x180171['Local']='local',_0x180171['URL']='url',_0x180171['Dropbox']='dropbox',_0x180171['GDrive']='gdrive',_0x180171['Facebook']='facebook',_0x180171['GPhotos']='gphotos',_0x180171['OneDrive']='onedrive',_0x180171;}({});function _(_0x5a4452,_0x588d51,_0x4c20c4){const t=_0x5a4452['t'],_0x3a4781=_0x5a4452['t'];switch(_0x588d51){case i['Local']:return{'text':_0x3a4781('Insert'===_0x4c20c4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3a4781('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4c20c4?_0x3a4781('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3a4781('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4c20c4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4c20c4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4c20c4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4c20c4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4c20c4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x588d51;}}class e extends _0x402361{['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 _0x5a930d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa461fc;for(const _0x3c45d2 in _0x5a930d){const _0x2ddcbf=_0x3c45d2,_0x4a81d0=_0x5a930d[_0x2ddcbf];if('uploadcareLicenseKeyValid'==_0x4a81d0||'uploadcareLicenseKeyInvalid'==_0x4a81d0||'uploadcareLicenseKeyExpired'==_0x4a81d0||'uploadcareLicenseKeyDomainLimit'==_0x4a81d0||'uploadcareLicenseKeyNotAllowed'==_0x4a81d0||'uploadcareLicenseKeyEvaluationLimit'==_0x4a81d0||'uploadcareLicenseKeyTrialLimit'==_0x4a81d0||'uploadcareLicenseKeyUsageLimit'==_0x4a81d0){delete _0x5a930d[_0x2ddcbf],_0xa461fc=_0x4a81d0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xa461fc&&_0x5a930d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xa461fc&&_0x5a930d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xa461fc&&_0x5a930d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xa461fc&&_0x5a930d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xa461fc&&_0x5a930d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xa461fc&&_0x5a930d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xa461fc&&_0x5a930d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3cf168}=this,_0x561051=_0x3cf168['commands']['get']('uploadcare');if(!_0x561051)return;const _0x23b7e4=this['_normalizeConfigSourceList'](_0x3cf168['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x178f6e,_0x5267a5)=>{const _0xdb4dd8=this['_getIntegrationKey'](_0x5267a5['type']);return _0x178f6e[_0xdb4dd8]||(_0x178f6e[_0xdb4dd8]=[]),_0x178f6e[_0xdb4dd8]['push'](_0x5267a5),_0x178f6e;},{});_0x3cf168['plugins']['has']('ImageInsertUI')&&_0x3cf168['commands']['get']('uploadcare')&&Object['entries'](_0x23b7e4)['forEach'](([_0x445ab3,_0x4292ce])=>{_0x3cf168['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x445ab3,'observable':()=>_0x561051,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4292ce),'formViewCreator':()=>this['_createDropdownButtons'](_0x4292ce),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4292ce),'override':'assetManager'!==_0x445ab3});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x544e1f){const {locale:_0x19d6c1}=this['editor'];return _0x544e1f['map'](_0x531a83=>{const _0x50d796=_(_0x19d6c1,_0x531a83,'Insert');switch(_0x531a83){case i['Local']:return{'icon':_0xc370e8,'type':i['Local'],..._0x50d796};case i['URL']:return{'icon':_0x2ebf29,'type':i['URL'],..._0x50d796};case i['Dropbox']:return{'icon':_0x5a15d9,'type':i['Dropbox'],..._0x50d796};case i['Facebook']:return{'icon':_0x52b256,'type':i['Facebook'],..._0x50d796};case i['GDrive']:return{'icon':_0x35b54b,'type':i['GDrive'],..._0x50d796};case i['GPhotos']:return{'icon':_0x38197a,'type':i['GPhotos'],..._0x50d796};case i['OneDrive']:return{'icon':_0x382378,'type':i['OneDrive'],..._0x50d796};}});}['_getIntegrationKey'](_0x4408e5){switch(_0x4408e5){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5d6b7f,_0x5ce6a1){const _0x267f65=this['editor'],_0x119b71=new _0x5d6b7f(_0x267f65['locale']),_0x4b0063=_0x267f65['commands']['get']('uploadcare');return _0x119b71['bind']('isEnabled')['to'](_0x4b0063),_0x119b71['on']('execute',()=>{_0x4b0063['execute'](_0x5ce6a1);}),_0x119b71;}['_createToolbarButton'](_0x3094bf){const {locale:_0xf8ad42}=this['editor'],_0x2e1c49=this['editor']['plugins']['get']('ImageInsertUI'),_0x3deda2=_0x3094bf[0x0],_0x175b07=this['_createButton'](_0xbb2f4a,_0x3deda2['type']);return _0x175b07['icon']=_0x3deda2['icon'],_0x175b07['bind']('label')['to'](_0x2e1c49,'isImageSelected',_0x1cf473=>_(_0xf8ad42,_0x3deda2['type'],_0x1cf473?'Replace':'Insert')['text']),_0x175b07['tooltip']=!0x0,_0x175b07;}['_createDropdownButtons'](_0x3e7d5d){const {locale:_0x1e99a1}=this['editor'],_0x332657=this['editor']['plugins']['get']('ImageInsertUI');return _0x3e7d5d['map'](_0x3363d8=>{const _0x22d91c=this['_createButton'](_0xbb2f4a,_0x3363d8['type']);return _0x22d91c['withText']=!0x0,_0x22d91c['icon']=_0x3363d8['icon'],_0x22d91c['bind']('label')['to'](_0x332657,'isImageSelected',_0x48dce3=>_(_0x1e99a1,_0x3363d8['type'],_0x48dce3?'Replace':'Insert')['text']),_0x22d91c;});}['_createMenuBarButtons'](_0x25fc56){return _0x25fc56['map'](_0x1af27e=>{const _0x296adc=this['_createButton'](_0x5eef18,_0x1af27e['type']);return _0x296adc['icon']=_0x1af27e['icon'],_0x296adc['label']=_0x1af27e['shortText'],_0x296adc;});}}class V extends _0x21629f{['focusTracker'];['focusCycler'];constructor(_0x5c6abc){super(_0x5c6abc),this['focusTracker']=new _0x547186(),this['focusCycler']=new _0x58e512({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x3c1ce8,_0x31094b){super(_0x3c1ce8),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-'+_0x31094b}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x176923,_0x48067d){const _0x393e4d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1bcf55=>_0x1bcf55<=_0x48067d)['map'](_0xb79c58=>_0x176923['replace'](/\/$/,'')+'/-/resize/'+_0xb79c58+'x/\x20'+_0xb79c58+'w');return{'imageFallbackUrl':_0x176923,'imageSources':[{'srcset':_0x393e4d['join'](',\x20'),'sizes':'(max-width:\x20'+_0x48067d+'px)\x20100vw,\x20'+_0x48067d+'px','type':'image/webp'}]};}function F(_0x17b419,_0x1397be,_0x41720f){const _0x5d1c82=_0x17b419['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5d1c82?parseInt(_0x5d1c82[0x1],0xa):_0x1397be,'height':_0x5d1c82?parseInt(_0x5d1c82[0x2],0xa):_0x41720f};}function p(_0x207fd4,_0xa8572d){const _0x42f8b2=new(_0x7314a())(),_0xefa6a0=_0x207fd4['plugins']['get']('ImageUtils'),_0x1deeb4=_0x207fd4['editing']['mapper']['toViewElement'](_0xa8572d),_0x517177=_0xefa6a0['findViewImgElement'](_0x1deeb4),_0x394b0c=_0x207fd4['editing']['view']['domConverter']['viewToDom'](_0x517177),_0x203a64=_0xa8572d['getAttribute']('width'),_0x55f076=_0xa8572d['getAttribute']('height'),_0x7ca892='image-processing';_0x207fd4['editing']['view']['change'](_0x248bef=>{_0x248bef['addClass'](_0x7ca892,_0x1deeb4),_0x248bef['setStyle']('aspect-ratio',_0x203a64+'/'+_0x55f076,_0x517177);}),_0x42f8b2['listenTo'](_0x394b0c,'load',()=>{_0x42f8b2['stopListening'](_0x394b0c,'load'),_0x207fd4['editing']['view']['change'](_0x32491d=>{_0x32491d['removeClass'](_0x7ca892,_0x1deeb4),_0x32491d['removeStyle']('aspect-ratio',_0x517177);});});}function R(_0x345f0d){if(Array['isArray'](_0x345f0d)){const _0x5cd555=_0x345f0d['map'](R);return _0x22d712=>_0x5cd555['some'](_0x1d5e7c=>_0x1d5e7c(_0x22d712));}if('origin'==_0x345f0d){const _0x4bbdfa=_0x1bee70['window']['location']['origin'];return _0x5029a7=>new URL(_0x5029a7,_0x1bee70['document']['baseURI'])['origin']==_0x4bbdfa;}return'function'==typeof _0x345f0d?_0x345f0d:_0x345f0d instanceof RegExp?_0x2f8874=>!(!_0x2f8874['match'](_0x345f0d)&&!_0x2f8874['replace'](/^https?:\/\//,'')['match'](_0x345f0d)):()=>!0x1;}function M(_0x4972a,_0x3f3216){return _0x1b353a(_0x4972a['target'])['includes'](_0x3f3216);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5c4f2a(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x584f9e,_0x36ac5e,_0x36bf4b){super(),this['_editor']=_0x584f9e,this['_editing']=_0x36ac5e,this['_dialog']=_0x584f9e['plugins']['get'](_0x34612a),this['_api']=_0x36ac5e['ctxElement']['getAPI'](),this['_type']=_0x36bf4b,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:_0x7fe0c5,model:_0x4dcbad}=this['_editor'],_0x23b7d1=_0x4dcbad['document']['selection']['getSelectedElement'](),_0x35289c=_0x23b7d1&&(_0x23b7d1['is']('element','imageBlock')||_0x23b7d1['is']('element','imageInline'));this['_formView']=new S(_0x7fe0c5,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xc370e8,'title':_(_0x7fe0c5,this['_type'],_0x35289c?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3a4984['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1dc535=>!M(_0x1dc535,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4b71d8}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x112c2d=>{const _0x56caa7=_0x4b71d8['length'];for(const _0x4734b0 of _0x4b71d8){const _0x6a6e9c=_0x4734b0===_0x4b71d8[_0x56caa7-0x1],{cdnUrl:_0x3a8d68,fileInfo:_0x23adcc}=_0x4734b0;if(!_0x3a8d68||!_0x23adcc)continue;const {width:_0x15cc51,height:_0x145550}=_0x23adcc['imageInfo'],_0x31f397=F(_0x3a8d68,_0x15cc51,_0x145550),_0x5f089b=C(_0x3a8d68,_0x31f397['width']),_0x485591={'id':_0x23adcc['uuid'],'type':'image','attributes':{'imageDimension':_0x31f397,..._0x5f089b}};this['_insertAsset'](_0x485591,_0x6a6e9c,_0x112c2d);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5b3f7f=>{'idle'===_0x5b3f7f['detail']['status']&&!_0x5b3f7f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x570e05,_0x20e4d4,_0x512fe){const _0x2f34d4=this['_editor']['model']['document']['selection'],_0x396424=_0x2f34d4['getSelectedElement'](),_0x151e75=!(!_0x396424||!_0x396424['is']('element','imageInline'));_0x512fe['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x570e05,_0x151e75),_0x20e4d4||_0x512fe['setSelection'](_0x2f34d4['getLastPosition']());}['_insertImage'](_0x183980,_0x592152){const _0x5b492f=this['_editor'],{imageDimension:_0x54c208,imageFallbackUrl:_0xb51c3d,imageSources:_0x49779d}=_0x183980['attributes'];_0x5b492f['execute']('insertImage',{'imageType':_0x592152?'imageInline':null,'source':{'uploadcareImageId':_0x183980['id'],'src':_0xb51c3d,'sources':_0x49779d,..._0x54c208}});}}class w extends _0x1d4c02{['_editing'];['_controller']=null;static get['requires'](){return[_0x34612a,o];}constructor(_0x35f478){super(_0x35f478),this['_editing']=_0x35f478['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3e88ca){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3e88ca);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4ee3ff,..._0x388924}){return _0x63d46d(_0x4ee3ff,_0x388924);}static['getInfo'](_0x5afffe,_0x3c1e63){return _0x24233d(_0x5afffe,_0x3c1e63);}}class f extends _0x402361{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x36ce51,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2dfc35=this['editor'];if(!!!_0x2dfc35['config']['get']('uploadcare'))return;_0x2dfc35['plugins']['get'](_0x36ce51)['createUploadAdapter']=_0x28974f=>new k(_0x28974f,_0x2dfc35),_0x2dfc35['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4aaa14,{imageElement:_0x4c6956,data:_0x6f28b9})=>{_0x2dfc35['model']['change'](_0x533bc2=>{_0x533bc2['setAttribute']('uploadcareImageId',_0x6f28b9['uploadcareImageId'],_0x4c6956);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x636c43,_0x41d09a){this['loader']=_0x636c43,this['editor']=_0x41d09a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3c2c65=await this['loader']['file'];return j['upload']({'file':_0x3c2c65,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2e1bd6=>{_0x2e1bd6&&_0x2e1bd6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2e1bd6['value']);}})['then'](async _0x156947=>{const {imageFallbackUrl:_0x182a17,imageSources:_0x1ef8e4}=C(_0x156947['cdnUrl'],_0x156947['imageInfo']['width']);return{'uploadcareImageId':_0x156947['uuid'],'default':_0x182a17,'sources':_0x1ef8e4};})['catch'](()=>{const _0x3a801d=t('Cannot\x20upload\x20file:')+('\x20'+_0x3c2c65['name']+'.');return Promise['reject'](_0x3a801d);});}['abort'](){this['controller']['abort']();}}class o extends _0x402361{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x34612a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x7cbb0b){super(_0x7cbb0b),this['ucContextId']=_0x4e77ad();}['init'](){const _0x54b903=this['editor'];_0x54b903['commands']['add']('uploadcare',new w(_0x54b903));}['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 _0x21dbba=_0x1bee70['document']['querySelector']('input[uploadcare-file-input]');_0x21dbba&&_0x21dbba['remove']();}),async function(_0x4c0dc3){const _0x476c17=_0x2374b0([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x11f037=0x535f8c3a,_0x179d54=0x5358f5b2^_0x11f037,_0x3ed3be=window[_0x2374b0([0x44,0x61,0x74,0x65])][_0x2374b0([0x6e,0x6f,0x77])](),_0x3eb495=_0x4c0dc3[_0x2374b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x504d2d=new window[(_0x2374b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xeced00=>{_0x3eb495[_0x2374b0([0x6f,0x6e,0x63,0x65])](_0x2374b0([0x72,0x65,0x61,0x64,0x79]),_0xeced00);}),_0x5bba21={[_0x2374b0([0x6b,0x74,0x79])]:_0x2374b0([0x45,0x43]),[_0x2374b0([0x75,0x73,0x65])]:_0x2374b0([0x73,0x69,0x67]),[_0x2374b0([0x63,0x72,0x76])]:_0x2374b0([0x50,0x2d,0x32,0x35,0x36]),[_0x2374b0([0x78])]:_0x2374b0([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]),[_0x2374b0([0x79])]:_0x2374b0([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]),[_0x2374b0([0x61,0x6c,0x67])]:_0x2374b0([0x45,0x53,0x32,0x35,0x36])},_0x55f211=_0x3eb495[_0x2374b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2374b0([0x67,0x65,0x74])](_0x2374b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d64be(){let _0x4a36ce,_0x2bafa5=null,_0x1ff092=null;try{if(_0x55f211==_0x2374b0([0x47,0x50,0x4c]))return _0x2374b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a36ce=_0x188916(),!_0x4a36ce)return _0x2374b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a36ce[_0x2374b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ff092=_0x5e9319(_0x4a36ce[_0x2374b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a36ce[_0x2374b0([0x6a,0x74,0x69])])),await _0x28540c()?_0x55b858()?_0xa9082d()?_0x2374b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ae074()?(_0x4a36ce[_0x2374b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2374b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bafa5=_0x64b548(_0x2374b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a36ce[_0x2374b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2374b0([0x74,0x72,0x69,0x61,0x6c])&&(_0x2bafa5=_0x64b548(_0x2374b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f8d22()):_0x2374b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2374b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2374b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2374b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xa9082d(){const _0x2c9b53=[_0x2374b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2374b0([0x74,0x72,0x69,0x61,0x6c])][_0x2374b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a36ce[_0x2374b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ed3be/0x3e8:0xe10*_0x179d54;return _0x4a36ce[_0x2374b0([0x65,0x78,0x70])]<_0x2c9b53;}function _0x55b858(){const _0x427b07=_0x4a36ce[_0x2374b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x427b07&&(!!_0x427b07[_0x2374b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2374b0([0x2a]))||!!_0x427b07[_0x2374b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2374b0([0x55,0x50,0x4c,0x43])));}function _0x5ae074(){const _0x4ca47d=_0x4a36ce[_0x2374b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ca47d||0x0==_0x4ca47d[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x187263}=new URL(window[_0x2374b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4ca47d[_0x2374b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x187263))return!0x0;const _0x3f64c0=_0x187263[_0x2374b0([0x73,0x70,0x6c,0x69,0x74])](_0x2374b0([0x2e]));return _0x4ca47d[_0x2374b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x891c99=>_0x891c99[_0x2374b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2374b0([0x2a])))[_0x2374b0([0x6d,0x61,0x70])](_0x5e4f60=>_0x5e4f60[_0x2374b0([0x73,0x70,0x6c,0x69,0x74])](_0x2374b0([0x2e])))[_0x2374b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x353cc7=>_0x353cc7[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f64c0[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2374b0([0x6d,0x61,0x70])](_0x348135=>Array(_0x3f64c0[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x348135[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2374b0([0x66,0x69,0x6c,0x6c])](_0x348135[0x0]===_0x2374b0([0x2a])?_0x2374b0([0x2a]):'')[_0x2374b0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x348135))[_0x2374b0([0x73,0x6f,0x6d,0x65])](_0x57b6b7=>_0x3f64c0[_0x2374b0([0x65,0x76,0x65,0x72,0x79])]((_0x3d2dbb,_0x1d1c18)=>_0x57b6b7[_0x1d1c18]===_0x3d2dbb||_0x57b6b7[_0x1d1c18]===_0x2374b0([0x2a])));}function _0x5f8d22(){return _0x2bafa5&&_0x1ff092?new window[(_0x2374b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a3506,_0x427240)=>{_0x2bafa5[_0x2374b0([0x74,0x68,0x65,0x6e])](_0x4a3506,_0x427240),_0x1ff092[_0x2374b0([0x74,0x68,0x65,0x6e])](_0x280cb9=>{_0x280cb9!=_0x2374b0([0x56,0x61,0x6c,0x69,0x64])&&_0x4a3506(_0x280cb9);},_0x427240);}):_0x2bafa5||_0x1ff092||_0x2374b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e9319(_0x38ff29,_0x29bc17){return new window[(_0x2374b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d02ae=>{if(_0x2c3e7d())return _0x2d02ae(_0x2374b0([0x56,0x61,0x6c,0x69,0x64]));_0x24f93c(),_0x3eb495[_0x2374b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2374b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bb6a3=!0x1;const _0xd622ca=_0x4e77ad();function _0x4bae83(_0x12745c){return!!_0x12745c&&(typeof _0x12745c===_0x2374b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12745c===_0x2374b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12745c[_0x2374b0([0x74,0x68,0x65,0x6e])]===_0x2374b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12745c[_0x2374b0([0x63,0x61,0x74,0x63,0x68])]===_0x2374b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31975d(_0x308c22){_0x12b297(_0x308c22)[_0x2374b0([0x74,0x68,0x65,0x6e])](_0x1d2388=>{if(!_0x1d2388||_0x1d2388[_0x2374b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2374b0([0x6f,0x6b]))return _0x2374b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bb9ca(_0x3c94da(_0xd622ca+_0x29bc17))!=_0x1d2388[_0x2374b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2374b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2374b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2374b0([0x74,0x68,0x65,0x6e])](_0x153e13=>(_0x488d49(),_0x153e13),()=>{const _0x3a95f6=_0x246878();return null==_0x3a95f6?(_0x488d49(),_0x2374b0([0x56,0x61,0x6c,0x69,0x64])):_0x2374b0(_0x3ed3be-_0x3a95f6>(0x7753083a^_0x11f037)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2374b0([0x74,0x68,0x65,0x6e])](_0x2d02ae)[_0x2374b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d02ae(_0x2374b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e90a5=0x536962ba^_0x11f037;function _0x488d49(){const _0x46735a=_0x2374b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb9ca(_0x3c94da(_0x38ff29)),_0x1644a4=_0x96fab1(_0x5bb9ca(window[_0x2374b0([0x4d,0x61,0x74,0x68])][_0x2374b0([0x63,0x65,0x69,0x6c])](_0x3ed3be/_0x3e90a5)));window[_0x2374b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2374b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46735a,_0x1644a4);}function _0x246878(){const _0x10b097=_0x2374b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb9ca(_0x3c94da(_0x38ff29)),_0x3c0c05=window[_0x2374b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2374b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10b097);return _0x3c0c05?window[_0x2374b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x96fab1(_0x3c0c05),0x10)*_0x3e90a5:null;}function _0x12b297(_0x2352ba){return new window[(_0x2374b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f3f72,_0x3e51a3)=>{_0x2352ba[_0x2374b0([0x74,0x68,0x65,0x6e])](_0x1f3f72,_0x3e51a3),window[_0x2374b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e51a3,0x535e58fa^_0x11f037);});}}_0x3eb495[_0x2374b0([0x6f,0x6e])](_0x2374b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cc10c,_0x38422d)=>{if(_0x38422d[0x0]!=_0x38ff29)return _0x2d02ae(_0x2374b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38422d[0x1]={..._0x38422d[0x1],[_0x2374b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd622ca};},{[_0x2374b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2374b0([0x68,0x69,0x67,0x68])}),_0x3eb495[_0x2374b0([0x6f,0x6e])](_0x2374b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1bbf85=>{_0x4bae83(_0x1bbf85[_0x2374b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bb6a3=!0x0,_0x31975d(_0x1bbf85[_0x2374b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2374b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2374b0([0x6c,0x6f,0x77])}),_0x504d2d[_0x2374b0([0x74,0x68,0x65,0x6e])](()=>{_0x4bb6a3||_0x2d02ae(_0x2374b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c3e7d(){return _0x3eb495[_0x2374b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2374b0([0x76,0x69,0x65,0x77])][_0x2374b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2374b0([0x61,0x75,0x74,0x6f]);}function _0x24f93c(){_0x3eb495[_0x2374b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2374b0([0x76,0x69,0x65,0x77])][_0x2374b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2374b0([0x61,0x75,0x74,0x6f]);}}function _0x64b548(_0x5bd376){const _0xaf3b12=[new window[(_0x2374b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x485d36=>setTimeout(_0x485d36,0x5356b2f6^_0x11f037)),_0x504d2d[_0x2374b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2374b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57c00f=>{let _0x2fe463=0x0;_0x3eb495[_0x2374b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2374b0([0x6f,0x6e])](_0x2374b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1eef73,_0x15a95b)=>{_0x15a95b[0x0][_0x2374b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2fe463++,_0x2fe463==(0x535f8dc2^_0x11f037)&&(_0x57c00f(),_0x1eef73[_0x2374b0([0x6f,0x66,0x66])]());});}))];return window[_0x2374b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2374b0([0x72,0x61,0x63,0x65])](_0xaf3b12)[_0x2374b0([0x74,0x68,0x65,0x6e])](()=>_0x5bd376);}async function _0x5e43fb(){await _0x504d2d,_0x3eb495[_0x2374b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2374b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb2e3cf,_0x3eb495[_0x2374b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2374b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb2e3cf,_0x3eb495[_0x2374b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2374b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40e003(_0x551c7d){const _0x2b560e=_0x45e9fe();_0x3eb495[_0x2b560e]=_0x2374b0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x551c7d,_0x551c7d!=_0x2374b0([0x56,0x61,0x6c,0x69,0x64])&&_0x5e43fb();}function _0x45e9fe(){const _0xa4c0a9=window[_0x2374b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2374b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2374b0([0x6e,0x6f,0x77])]())[_0x2374b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2374b0([0x2e]),'');let _0x5e0ca3=_0x2374b0([0x68]);for(let _0x5bdf1f=0x0;_0x5bdf1f<_0xa4c0a9[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bdf1f+=0x2){let _0x54af0f=window[_0x2374b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa4c0a9[_0x2374b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bdf1f,_0x5bdf1f+0x2));_0x54af0f>=_0x476c17[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54af0f-=_0x476c17[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e0ca3+=_0x476c17[_0x54af0f];}return _0x5e0ca3;}function _0x188916(){const _0x195442=_0x55f211[_0x2374b0([0x73,0x70,0x6c,0x69,0x74])](_0x2374b0([0x2e]));if(0x3!=_0x195442[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fb4fc(_0x195442[0x1]);function _0x4fb4fc(_0x56c812){const _0x6a62a1=_0x4046cf(_0x56c812);return _0x6a62a1&&_0x1b5660()?_0x6a62a1:null;function _0x1b5660(){const _0x52f767=_0x6a62a1[_0x2374b0([0x6a,0x74,0x69])],_0x466725=window[_0x2374b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52f767[_0x2374b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52f767[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48ce92={..._0x6a62a1,[_0x2374b0([0x6a,0x74,0x69])]:_0x52f767[_0x2374b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52f767[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48ce92[_0x2374b0([0x76,0x63])],_0x3c94da(_0x48ce92)==_0x466725;}}}async function _0x28540c(){let _0x442d72=!0x0;try{const _0x22a584=_0x55f211[_0x2374b0([0x73,0x70,0x6c,0x69,0x74])](_0x2374b0([0x2e])),[_0x973e57,_0x2fd24,_0x1e942c]=_0x22a584;return _0x10a862(_0x973e57),await _0x44a7dd(_0x973e57,_0x2fd24,_0x1e942c),_0x442d72;}catch{return!0x1;}function _0x10a862(_0x32c71e){const _0x4ac27c=_0x4046cf(_0x32c71e);_0x4ac27c&&_0x4ac27c[_0x2374b0([0x61,0x6c,0x67])]==_0x2374b0([0x45,0x53,0x32,0x35,0x36])||(_0x442d72=!0x1);}async function _0x44a7dd(_0x2309ed,_0x2a82dd,_0x1f57d6){const _0x1f4778=window[_0x2374b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2374b0([0x66,0x72,0x6f,0x6d])](_0x2b97bc(_0x1f57d6),_0x3f26cd=>_0x3f26cd[_0x2374b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c2ee1=new window[(_0x2374b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2374b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2309ed+_0x2374b0([0x2e])+_0x2a82dd),_0xf2b2e2=window[_0x2374b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2374b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf2b2e2)return;const _0x203791=await _0xf2b2e2[_0x2374b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2374b0([0x6a,0x77,0x6b]),_0x5bba21,{[_0x2374b0([0x6e,0x61,0x6d,0x65])]:_0x2374b0([0x45,0x43,0x44,0x53,0x41]),[_0x2374b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2374b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2374b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf2b2e2[_0x2374b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2374b0([0x6e,0x61,0x6d,0x65])]:_0x2374b0([0x45,0x43,0x44,0x53,0x41]),[_0x2374b0([0x68,0x61,0x73,0x68])]:{[_0x2374b0([0x6e,0x61,0x6d,0x65])]:_0x2374b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x203791,_0x1f4778,_0x4c2ee1)||(_0x442d72=!0x1);}}function _0x4046cf(_0x2144e3){return _0x2144e3[_0x2374b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2374b0([0x65,0x79]))?JSON[_0x2374b0([0x70,0x61,0x72,0x73,0x65])](_0x2b97bc(_0x2144e3)):null;}function _0x2b97bc(_0x1370b9){return window[_0x2374b0([0x61,0x74,0x6f,0x62])](_0x1370b9[_0x2374b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2374b0([0x2b]))[_0x2374b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2374b0([0x2f])));}function _0x3c94da(_0x45ef5b){let _0xaee4f0=0x1505;function _0xa9f6f7(_0x1dd872){for(let _0x2a3e02=0x0;_0x2a3e02<_0x1dd872[_0x2374b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a3e02++){const _0xb11e77=_0x1dd872[_0x2374b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a3e02);_0xaee4f0=(_0xaee4f0<<0x5)+_0xaee4f0+_0xb11e77,_0xaee4f0&=_0xaee4f0;}}function _0x37359b(_0x5e2a77){Array[_0x2374b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e2a77)?_0x5e2a77[_0x2374b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37359b):_0x5e2a77&&typeof _0x5e2a77==_0x2374b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2374b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e2a77)[_0x2374b0([0x73,0x6f,0x72,0x74])]()[_0x2374b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21b172,_0x409251])=>{_0xa9f6f7(_0x21b172),_0x37359b(_0x409251);}):_0xa9f6f7(window[_0x2374b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e2a77));}return _0x37359b(_0x45ef5b),_0xaee4f0>>>0x0;}function _0x5bb9ca(_0x1ee469){return _0x1ee469[_0x2374b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2374b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2374b0([0x30]));}function _0x96fab1(_0x452bfb){return _0x452bfb[_0x2374b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2374b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2374b0([0x6a,0x6f,0x69,0x6e])]('');}function _0xb2e3cf(){}function _0x2374b0(_0x5570ca){return _0x5570ca['map'](_0x469a1d=>String['fromCharCode'](_0x469a1d))['join']('');}_0x40e003(await _0x5d64be());}(this);}['_initSchema'](){const _0x31d623=this['editor']['model']['schema'];_0x31d623['isRegistered']('imageBlock')&&_0x31d623['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x31d623['isRegistered']('imageInline')&&_0x31d623['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x479649=this['editor'];_0x479649['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x479649['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x595cf8=>_0x595cf8['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xc4a1ef=_0x479649['commands']['get']('replaceImageSource');_0xc4a1ef&&this['listenTo'](_0xc4a1ef,'cleanupImage',(_0x4d649c,[_0xe83d50,_0x269f7d])=>{_0xe83d50['removeAttribute']('uploadcareImageId',_0x269f7d);});}['_initConfig'](){const _0x4ceb47=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5b517d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x466200(_0x1bee70['document'],'uc-config',{..._0x4ceb47,'pubkey':_0x5b517d,'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']=_0xb2ef86=>{if('closeMax'==_0xb2ef86)return'#uc-icon-arrow-down';},_0x1bee70['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x466200(_0x1bee70['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1bee70['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x42ce32=this['editor']['commands']['get']('insertImage');_0x42ce32&&this['listenTo'](_0x42ce32,'execute',()=>{const _0x42e939=this['editor']['model']['document']['selection']['getSelectedElement']();_0x42e939&&_0x42e939['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x42e939);});});const _0x252950=this['editor']['commands']['get']('uploadcareImageReplace');_0x252950&&this['listenTo'](_0x252950,'execute',()=>{const _0x27ff2a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x27ff2a&&_0x27ff2a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x27ff2a);});});}}class tt extends _0x402361{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4510b8){super(_0x4510b8),_0x4510b8['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5d6c61['defineComponents'](_0x5d6c61),this['_defineLocale']();}['_defineLocale'](){const _0x30cf57=this['editor']['config']['get']('uploadcare.locale'),_0x20f7d9=this['editor']['locale']['contentLanguage'];_0x30cf57&&_0x5d6c61['defineLocale'](_0x20f7d9,_0x30cf57);}}class ii extends _0x21629f{constructor(_0x2695f8){super(_0x2695f8);const t=_0x2695f8['t'],_0x33db15=this['bindTemplate'],_0x5464ed=new _0x40fa96();_0x5464ed['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':[_0x5464ed,{'text':_0x33db15['to']('imageUploadProgress',_0xf4e265=>t('Loading\x20image...')+'\x20('+(_0xf4e265||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 _0x21629f{constructor(_0x23525c){super(_0x23525c);const t=_0x23525c['t'];this['set']('errorType',null);const _0x1e4580=new _0xbb2f4a(_0x23525c);_0x1e4580['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1e4580['withText']=!0x0,_0x1e4580['class']='ck-button-action',_0x1e4580['on']('execute',()=>{this['fire']('retry');}),_0x1e4580['bind']('isVisible')['to'](this,'errorType',_0x5dddf0=>'NotFound'!==_0x5dddf0);const _0x4f9366=new _0x4c570d();_0x4f9366['content']=_0x5a87cc,_0x4f9366['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5012d0=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':[_0x4f9366,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5012d0['to']('errorType',_0x5576cd=>t('NotFound'!==_0x5576cd?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1e4580]},{'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 _0x21629f{constructor(_0xd18616,_0x360c23){super(_0xd18616);const _0x25157e=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x360c23,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x25157e['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5dd604,_0x243403,_0x52536a){super(_0x5dd604),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5dd604),this['_errorView']=new ti(_0x5dd604),this['_editingView']=new ei(_0x5dd604,_0x52536a),this['_focusableView']=new _0x21629f(_0x5dd604),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x243403),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'],_0x15c9aa=>{this['_addUploadcareImageEditorListeners'](_0x15c9aa);});}),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'](_0x5f3572,_0x18cfda){const _0x336f69='uc-cloud-image-editor',_0x5b64e6=_0x5f3572['querySelector'](_0x336f69);if(_0x5b64e6)return _0x18cfda(_0x5b64e6);const _0x144c6e=new MutationObserver(_0x3cc8be=>{const _0x260c28=_0x3cc8be['filter'](_0x477130=>_0x477130['target']===_0x5f3572&&_0x477130['addedNodes']['length']>0x0&&_0x477130['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x336f69);_0x260c28['length']&&(_0x144c6e['disconnect'](),_0x18cfda(_0x260c28[0x0]['addedNodes'][0x0]));});_0x144c6e['observe'](_0x5f3572,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xc4b192){_0xc4b192['addEventListener']('apply',_0x55d10a=>{this['fire']('apply',{'imageSrc':_0x55d10a['detail']['cdnUrl']});}),_0xc4b192['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5c4f2a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4f1abf,_0x24c6c5,_0x4185c4){super(),this['_editor']=_0x4f1abf,this['_dialog']=_0x24c6c5,this['_imageElement']=_0x4185c4,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 _0x485b3b=this['_imageElement'],_0x397181=_0x485b3b['getAttribute']('uploadcareImageId'),_0x48f402=_0x485b3b['getAttribute']('src');if(_0x397181)await this['_loadImageInfo'](_0x397181,_0x48f402);else{if(this['_imageCache']['has'](_0x48f402)){const _0x5a6493=this['_imageCache']['get'](_0x48f402);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a6493['url'],this['imageDimension']=_0x5a6493['dimension'],this['imageId']=_0x5a6493['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3ba890}=this['_editor'],t=_0x3ba890['t'],_0x2761d1=new X(_0x3ba890,this['imageStatus'],this['_attributes']);_0x2761d1['bind']('status')['to'](this,'imageStatus'),_0x2761d1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2761d1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2761d1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2761d1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3d9da3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2761d1,'position':_0x3a4984['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2761d1['focus']();},'onHide':()=>{_0x2761d1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb4e51c=>!M(_0xb4e51c,_0x2761d1['element'])}});}['_loadImageInfo'](_0x486888,_0x325426){return j['getInfo'](_0x486888,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x472fb3=>{const {width:_0x2c68a9,height:_0x4f08d2}=_0x472fb3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x325426,this['imageDimension']={'width':_0x2c68a9,'height':_0x4f08d2},this['imageId']=_0x486888;})['catch'](_0x1a88e4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a88e4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x181a9a,_0x44caa2){return this['_getImageAsFile'](_0x181a9a)['then'](_0x380d17=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x44caa2['signal'],'file':_0x380d17,'onProgress':_0x259dc5=>{_0x259dc5&&_0x259dc5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x259dc5['value']));}}))['then'](_0x76b597=>{const {width:_0x1a9de5,height:_0x45862f}=_0x76b597['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x76b597['cdnUrl'],this['imageDimension']={'width':_0x1a9de5,'height':_0x45862f},this['imageId']=_0x76b597['uuid'],this['imageUploadProgress']=null;const _0x5e8139=_0x181a9a['getAttribute']('src');this['_imageCache']['set'](_0x5e8139,{'id':_0x76b597['uuid'],'url':_0x76b597['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4e74f2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e74f2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1795d9,_0x4e27b0){_0x1795d9['on']('apply',(_0x2eb94a,_0xc360a0)=>{this['_replaceImage'](_0x4e27b0,_0xc360a0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1795d9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1795d9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x162547,_0x38aa65,_0x2b59ee){const _0x8181fc=this['_editor'],{width:_0x458dc5,height:_0x224f5c}=F(_0x38aa65,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4fef74,imageSources:_0x58fb32}=C(_0x38aa65,_0x458dc5);_0x8181fc['model']['change'](_0x251980=>{if('$graveyard'===_0x162547['root']['rootName']){_0x8181fc['execute']('insertImage',{'imageType':_0x162547['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x162547['getAttributes']()),'uploadcareImageId':_0x2b59ee,'src':_0x4fef74,'sources':_0x58fb32,'width':_0x458dc5,'height':_0x224f5c}});const _0x1aee9d=_0x162547['getChildren']();_0x162547=_0x8181fc['model']['document']['selection']['getSelectedElement']();for(const _0x330cab of _0x1aee9d)_0x251980['append'](_0x251980['cloneElement'](_0x330cab),_0x162547);}else _0x251980['setSelection'](_0x162547,'on'),_0x8181fc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x162547['getAttributes']()),'uploadcareImageId':_0x2b59ee,'src':_0x4fef74,'sources':_0x58fb32,'width':_0x458dc5,'height':_0x224f5c},_0x162547);_0x251980['setSelection'](_0x162547,'on');});}async['_getImageAsFile'](_0x58daba){const _0x5e34c2=_0x1bee70['window'],_0x14c84e=_0x1bee70['document']['location']['href'],_0x2e0502=new _0x5e34c2['URL'](_0x58daba['getAttribute']('src'),_0x14c84e);if('data:'===_0x2e0502['protocol']){const _0x1d1940=_0x2e0502['href']['split'](','),_0x164e95=_0x1d1940[0x0]['match'](/:(.*?);/)[0x1],_0x5aafb0=_0x164e95['split']('/')[0x1],_0x1a95b0=_0x5e34c2['atob'](_0x1d1940[_0x1d1940['length']-0x1]);let _0x3265fa=_0x1a95b0['length'];const _0xf26640=new _0x5e34c2['Uint8Array'](_0x3265fa);for(;_0x3265fa--;)_0xf26640[_0x3265fa]=_0x1a95b0['charCodeAt'](_0x3265fa);return new _0x5e34c2['File']([_0xf26640],'image.'+_0x5aafb0,{'type':_0x164e95});}const _0x4d872d=_0x2e0502['href']['split']('/'),_0x33ba67=_0x4d872d[_0x4d872d['length']-0x1],_0x3e2024=_0x33ba67['split']('.')[0x1];return _0x5e34c2['fetch'](_0x2e0502['href'])['then'](_0x4f0b18=>_0x4f0b18['clone']()['blob']())['then'](_0x7386ff=>new _0x5e34c2['File']([_0x7386ff],_0x33ba67,{'type':'image/'+_0x3e2024}));}}class N extends _0x1d4c02{['imageEditController'];static get['requires'](){return[_0x34612a];}['_isEditable'];constructor(_0xb743c6){super(_0xb743c6),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5d243f){const _0xd0cf5b=R(_0x5d243f);return _0x574b0c=>!(!_0x574b0c||!_0x574b0c['is']('element','imageBlock')&&!_0x574b0c['is']('element','imageInline'))&&(!!_0x574b0c['hasAttribute']('uploadcareImageId')||!!_0x574b0c['hasAttribute']('src')&&_0xd0cf5b(_0x574b0c['getAttribute']('src')));}(_0xb743c6['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x392ee2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x392ee2);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x525b60=this['editor']['model']['document']['selection']['getSelectedElement']();_0x525b60&&(_0x525b60['is']('element','imageBlock')||_0x525b60['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x34612a),_0x525b60),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x1d4c02{['refresh'](){const _0x11b304=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x11b304&&(_0x11b304['is']('element','imageBlock')||_0x11b304['is']('element','imageInline')));}['execute'](_0x55b828){const _0x293dcf=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x12234e=>{_0x12234e['setAttributes'](_0x55b828,_0x293dcf),_0x12234e['removeAttribute']('srcset',_0x293dcf),_0x12234e['removeAttribute']('sizes',_0x293dcf);});}}class m extends _0x402361{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x18c9e4,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x6636e6}=this;_0x6636e6['commands']['add']('uploadcareImageEdit',new N(_0x6636e6)),_0x6636e6['commands']['add']('uploadcareImageReplace',new O(_0x6636e6));}}class g extends _0x402361{['_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 _0x49864c=this['editor'];_0x49864c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x29f74d=>{const _0x25b912=_0x49864c['commands']['get']('uploadcareImageEdit'),_0x5ba010=new _0xbb2f4a(_0x29f74d),t=_0x29f74d['t'];return _0x5ba010['set']({'icon':_0x3d9da3,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5ba010['bind']('isEnabled')['to'](_0x25b912),_0x5ba010['bind']('isOn')['to'](_0x25b912,'isActive'),this['listenTo'](_0x5ba010,'execute',()=>{_0x49864c['execute']('uploadcareImageEdit'),_0x49864c['editing']['view']['focus']();}),_0x5ba010;}),this['_initConfig']();}['_initConfig'](){const _0x2aa909=_0x466200(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2aa909),this['listenTo'](this['editor'],'destroy',()=>{_0x2aa909['remove']();});}}class et extends _0x402361{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x443f5c,Command as _0x57a68a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x114eb9,IconGooglePhotos as _0x57984f,IconGoogleDrive as _0x909c29,IconFacebook as _0x4bc50f,IconDropbox as _0x412fbf,IconUploadcareLink as _0x43b16f,IconUploadcareImageUpload as _0x185b63,IconError as _0x100bd6,IconUploadcareImageEdit as _0x576c90}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x286d0a,MenuBarMenuListItemButtonView as _0x27997f,View as _0x2cd9eb,FocusCycler as _0x4938e6,Dialog as _0x9884e,DialogViewPosition as _0x52a94c,SpinnerView as _0xeaea56,IconView as _0x6a5aea,Notification as _0x4bc154}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x28c70b,DomEmitterMixin as _0x428e92,global as _0x138a30,getAncestors as _0x2497b1,ObservableMixin as _0x4187a9,uid as _0x2c62ef,createElement as _0x26334c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1fb0c1}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2061b0,info as _0xcea7fa}from'@uploadcare/upload-client';import*as _0x4c3e66 from'@uploadcare/file-uploader';var i=function(_0x6a42df){return _0x6a42df['Local']='local',_0x6a42df['URL']='url',_0x6a42df['Dropbox']='dropbox',_0x6a42df['GDrive']='gdrive',_0x6a42df['Facebook']='facebook',_0x6a42df['GPhotos']='gphotos',_0x6a42df['OneDrive']='onedrive',_0x6a42df;}({});function _(_0x2afd42,_0x45420c,_0x1598fa){const t=_0x2afd42['t'],_0x51bf8e=_0x2afd42['t'];switch(_0x45420c){case i['Local']:return{'text':_0x51bf8e('Insert'===_0x1598fa?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x51bf8e('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1598fa?_0x51bf8e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x51bf8e('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1598fa?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1598fa?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1598fa?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1598fa?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1598fa?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x45420c;}}class e extends _0x443f5c{['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 _0x52d70d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3ad883;for(const _0x16003b in _0x52d70d){const _0x463460=_0x16003b,_0x4190fd=_0x52d70d[_0x463460];if('uploadcareLicenseKeyValid'==_0x4190fd||'uploadcareLicenseKeyInvalid'==_0x4190fd||'uploadcareLicenseKeyExpired'==_0x4190fd||'uploadcareLicenseKeyDomainLimit'==_0x4190fd||'uploadcareLicenseKeyNotAllowed'==_0x4190fd||'uploadcareLicenseKeyEvaluationLimit'==_0x4190fd||'uploadcareLicenseKeyTrialLimit'==_0x4190fd||'uploadcareLicenseKeyUsageLimit'==_0x4190fd){delete _0x52d70d[_0x463460],_0x3ad883=_0x4190fd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3ad883&&_0x52d70d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3ad883&&_0x52d70d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3ad883&&_0x52d70d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3ad883&&_0x52d70d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3ad883&&_0x52d70d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3ad883&&_0x52d70d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3ad883&&_0x52d70d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4a3cfe}=this,_0x259b68=_0x4a3cfe['commands']['get']('uploadcare');if(!_0x259b68)return;const _0x3176eb=this['_normalizeConfigSourceList'](_0x4a3cfe['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5c719f,_0x29d381)=>{const _0x429155=this['_getIntegrationKey'](_0x29d381['type']);return _0x5c719f[_0x429155]||(_0x5c719f[_0x429155]=[]),_0x5c719f[_0x429155]['push'](_0x29d381),_0x5c719f;},{});_0x4a3cfe['plugins']['has']('ImageInsertUI')&&_0x4a3cfe['commands']['get']('uploadcare')&&Object['entries'](_0x3176eb)['forEach'](([_0x2676f4,_0x583391])=>{_0x4a3cfe['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2676f4,'observable':()=>_0x259b68,'buttonViewCreator':()=>this['_createToolbarButton'](_0x583391),'formViewCreator':()=>this['_createDropdownButtons'](_0x583391),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x583391),'override':'assetManager'!==_0x2676f4});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x424732){const {locale:_0x2d9e0c}=this['editor'];return _0x424732['map'](_0x470744=>{const _0x461030=_(_0x2d9e0c,_0x470744,'Insert');switch(_0x470744){case i['Local']:return{'icon':_0x185b63,'type':i['Local'],..._0x461030};case i['URL']:return{'icon':_0x43b16f,'type':i['URL'],..._0x461030};case i['Dropbox']:return{'icon':_0x412fbf,'type':i['Dropbox'],..._0x461030};case i['Facebook']:return{'icon':_0x4bc50f,'type':i['Facebook'],..._0x461030};case i['GDrive']:return{'icon':_0x909c29,'type':i['GDrive'],..._0x461030};case i['GPhotos']:return{'icon':_0x57984f,'type':i['GPhotos'],..._0x461030};case i['OneDrive']:return{'icon':_0x114eb9,'type':i['OneDrive'],..._0x461030};}});}['_getIntegrationKey'](_0x135ce8){switch(_0x135ce8){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xc7fdf,_0x5e06ab){const _0x613a7d=this['editor'],_0x2d8621=new _0xc7fdf(_0x613a7d['locale']),_0x500d2f=_0x613a7d['commands']['get']('uploadcare');return _0x2d8621['bind']('isEnabled')['to'](_0x500d2f),_0x2d8621['on']('execute',()=>{_0x500d2f['execute'](_0x5e06ab);}),_0x2d8621;}['_createToolbarButton'](_0x4b00d4){const {locale:_0x37f11c}=this['editor'],_0x59d1ff=this['editor']['plugins']['get']('ImageInsertUI'),_0x1a3564=_0x4b00d4[0x0],_0x24b88b=this['_createButton'](_0x286d0a,_0x1a3564['type']);return _0x24b88b['icon']=_0x1a3564['icon'],_0x24b88b['bind']('label')['to'](_0x59d1ff,'isImageSelected',_0x482f19=>_(_0x37f11c,_0x1a3564['type'],_0x482f19?'Replace':'Insert')['text']),_0x24b88b['tooltip']=!0x0,_0x24b88b;}['_createDropdownButtons'](_0xadf7a4){const {locale:_0x3468bc}=this['editor'],_0x352330=this['editor']['plugins']['get']('ImageInsertUI');return _0xadf7a4['map'](_0x17dc53=>{const _0x325564=this['_createButton'](_0x286d0a,_0x17dc53['type']);return _0x325564['withText']=!0x0,_0x325564['icon']=_0x17dc53['icon'],_0x325564['bind']('label')['to'](_0x352330,'isImageSelected',_0x31c990=>_(_0x3468bc,_0x17dc53['type'],_0x31c990?'Replace':'Insert')['text']),_0x325564;});}['_createMenuBarButtons'](_0x3a23e9){return _0x3a23e9['map'](_0x10dd7b=>{const _0x30fc4=this['_createButton'](_0x27997f,_0x10dd7b['type']);return _0x30fc4['icon']=_0x10dd7b['icon'],_0x30fc4['label']=_0x10dd7b['shortText'],_0x30fc4;});}}class F extends _0x2cd9eb{['focusTracker'];['focusCycler'];constructor(_0x13c2e8){super(_0x13c2e8),this['focusTracker']=new _0x28c70b(),this['focusCycler']=new _0x4938e6({'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(_0x5ce958,_0x525fdf){super(_0x5ce958),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-'+_0x525fdf}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4db595,_0x4871d1){const _0x2b1109=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3c68d8=>_0x3c68d8<=_0x4871d1)['map'](_0x669e1a=>_0x4db595['replace'](/\/$/,'')+'/-/resize/'+_0x669e1a+'x/\x20'+_0x669e1a+'w');return{'imageFallbackUrl':_0x4db595,'imageSources':[{'srcset':_0x2b1109['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4871d1+'px)\x20100vw,\x20'+_0x4871d1+'px','type':'image/webp'}]};}function S(_0x8e9e80,_0x4c510f,_0x4ca568){const _0x314c68=_0x8e9e80['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x314c68?parseInt(_0x314c68[0x1],0xa):_0x4c510f,'height':_0x314c68?parseInt(_0x314c68[0x2],0xa):_0x4ca568};}function p(_0x537c33,_0x5534e9){const _0x157cea=new(_0x428e92())(),_0x24ba5e=_0x537c33['plugins']['get']('ImageUtils'),_0x32bd31=_0x537c33['editing']['mapper']['toViewElement'](_0x5534e9),_0x8bd303=_0x24ba5e['findViewImgElement'](_0x32bd31),_0xed98a3=_0x537c33['editing']['view']['domConverter']['viewToDom'](_0x8bd303),_0x276455=_0x5534e9['getAttribute']('width'),_0x483368=_0x5534e9['getAttribute']('height'),_0x20e7c1='image-processing';_0x537c33['editing']['view']['change'](_0x5bd20f=>{_0x5bd20f['addClass'](_0x20e7c1,_0x32bd31),_0x5bd20f['setStyle']('aspect-ratio',_0x276455+'/'+_0x483368,_0x8bd303);}),_0x157cea['listenTo'](_0xed98a3,'load',()=>{_0x157cea['stopListening'](_0xed98a3,'load'),_0x537c33['editing']['view']['change'](_0x3081d4=>{_0x3081d4['removeClass'](_0x20e7c1,_0x32bd31),_0x3081d4['removeStyle']('aspect-ratio',_0x8bd303);});});}function G(_0x54d9a7){if(Array['isArray'](_0x54d9a7)){const _0x5970ac=_0x54d9a7['map'](G);return _0x3a4efe=>_0x5970ac['some'](_0x15f973=>_0x15f973(_0x3a4efe));}if('origin'==_0x54d9a7){const _0x1d3702=_0x138a30['window']['location']['origin'];return _0x1683bb=>new URL(_0x1683bb,_0x138a30['document']['baseURI'])['origin']==_0x1d3702;}return'function'==typeof _0x54d9a7?_0x54d9a7:_0x54d9a7 instanceof RegExp?_0x5c6665=>!(!_0x5c6665['match'](_0x54d9a7)&&!_0x5c6665['replace'](/^https?:\/\//,'')['match'](_0x54d9a7)):()=>!0x1;}function A(_0x1a3a94,_0x1fcdfa){return _0x2497b1(_0x1a3a94['target'])['includes'](_0x1fcdfa);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x4187a9(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x563a85,_0x1d7e1f,_0x3f5379){super(),this['_editor']=_0x563a85,this['_editing']=_0x1d7e1f,this['_dialog']=_0x563a85['plugins']['get'](_0x9884e),this['_api']=_0x1d7e1f['ctxElement']['getAPI'](),this['_type']=_0x3f5379,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:_0x4f930d,model:_0x454ea5}=this['_editor'],_0x290a3e=_0x454ea5['document']['selection']['getSelectedElement'](),_0x510fea=_0x290a3e&&(_0x290a3e['is']('element','imageBlock')||_0x290a3e['is']('element','imageInline'));this['_formView']=new x(_0x4f930d,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x185b63,'title':_(_0x4f930d,this['_type'],_0x510fea?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x52a94c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1b961b=>!A(_0x1b961b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5f24f4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x376267=>{const _0x5b2913=_0x5f24f4['length'];for(const _0x5ebee8 of _0x5f24f4){const _0x48652d=_0x5ebee8===_0x5f24f4[_0x5b2913-0x1],{cdnUrl:_0x554c72,fileInfo:_0x2172bc}=_0x5ebee8;if(!_0x554c72||!_0x2172bc)continue;const {width:_0x1f1687,height:_0x37ece6}=_0x2172bc['imageInfo'],_0x22f036=S(_0x554c72,_0x1f1687,_0x37ece6),_0x34eb93=C(_0x554c72,_0x22f036['width']),_0x265ab3={'id':_0x2172bc['uuid'],'type':'image','attributes':{'imageDimension':_0x22f036,..._0x34eb93}};this['_insertAsset'](_0x265ab3,_0x48652d,_0x376267);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x286371=>{'idle'===_0x286371['detail']['status']&&!_0x286371['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5b51b8,_0x33b846,_0x852722){const _0x145a1b=this['_editor']['model']['document']['selection'],_0x4adbdb=_0x145a1b['getSelectedElement'](),_0x1dfbf5=!(!_0x4adbdb||!_0x4adbdb['is']('element','imageInline'));_0x852722['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5b51b8,_0x1dfbf5),_0x33b846||_0x852722['setSelection'](_0x145a1b['getLastPosition']());}['_insertImage'](_0x103a18,_0x2c541c){const _0x41b19a=this['_editor'],{imageDimension:_0x3b6938,imageFallbackUrl:_0x1173c0,imageSources:_0x11752f}=_0x103a18['attributes'];_0x41b19a['execute']('insertImage',{'imageType':_0x2c541c?'imageInline':null,'source':{'uploadcareImageId':_0x103a18['id'],'src':_0x1173c0,'sources':_0x11752f,..._0x3b6938}});}}class w extends _0x57a68a{['_editing'];['_controller']=null;static get['requires'](){return[_0x9884e,o];}constructor(_0x37c6b7){super(_0x37c6b7),this['_editing']=_0x37c6b7['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1e69dd){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1e69dd);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x450d0f,..._0x3111ca}){return _0x2061b0(_0x450d0f,_0x3111ca);}static['getInfo'](_0x29ee28,_0x31c143){return _0xcea7fa(_0x29ee28,_0x31c143);}}class f extends _0x443f5c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1fb0c1,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x12ca9e=this['editor'];if(!!!_0x12ca9e['config']['get']('uploadcare'))return;_0x12ca9e['plugins']['get'](_0x1fb0c1)['createUploadAdapter']=_0x188aad=>new k(_0x188aad,_0x12ca9e),_0x12ca9e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xfe4af1,{imageElement:_0x1c5efb,data:_0x3e93ce})=>{_0x12ca9e['model']['change'](_0x28704a=>{_0x28704a['setAttribute']('uploadcareImageId',_0x3e93ce['uploadcareImageId'],_0x1c5efb);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2144c8,_0x556da2){this['loader']=_0x2144c8,this['editor']=_0x556da2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x331ecb=await this['loader']['file'];return j['upload']({'file':_0x331ecb,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x4202ec=>{_0x4202ec&&_0x4202ec['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4202ec['value']);}})['then'](async _0x1d4054=>{const {imageFallbackUrl:_0x4271f1,imageSources:_0x227a2b}=C(_0x1d4054['cdnUrl'],_0x1d4054['imageInfo']['width']);return{'uploadcareImageId':_0x1d4054['uuid'],'default':_0x4271f1,'sources':_0x227a2b};})['catch'](()=>{const _0x3ab18f=t('Cannot\x20upload\x20file:')+('\x20'+_0x331ecb['name']+'.');return Promise['reject'](_0x3ab18f);});}['abort'](){this['controller']['abort']();}}class o extends _0x443f5c{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x9884e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x393b8c){super(_0x393b8c),this['ucContextId']=_0x2c62ef();}['init'](){const _0x7fed66=this['editor'];_0x7fed66['commands']['add']('uploadcare',new w(_0x7fed66));}['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 _0x5b781c=_0x138a30['document']['querySelector']('input[uploadcare-file-input]');_0x5b781c&&_0x5b781c['remove']();}),async function(_0x34fc22){const _0xd2e303=_0xa67f34([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5e9357=0x535f8c3a,_0x270e1f=0x5358f582^_0x5e9357,_0x163190=window[_0xa67f34([0x44,0x61,0x74,0x65])][_0xa67f34([0x6e,0x6f,0x77])](),_0x2f6291=_0x34fc22[_0xa67f34([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59f402=new window[(_0xa67f34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58451e=>{_0x2f6291[_0xa67f34([0x6f,0x6e,0x63,0x65])](_0xa67f34([0x72,0x65,0x61,0x64,0x79]),_0x58451e);}),_0x418272={[_0xa67f34([0x6b,0x74,0x79])]:_0xa67f34([0x45,0x43]),[_0xa67f34([0x75,0x73,0x65])]:_0xa67f34([0x73,0x69,0x67]),[_0xa67f34([0x63,0x72,0x76])]:_0xa67f34([0x50,0x2d,0x32,0x35,0x36]),[_0xa67f34([0x78])]:_0xa67f34([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]),[_0xa67f34([0x79])]:_0xa67f34([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]),[_0xa67f34([0x61,0x6c,0x67])]:_0xa67f34([0x45,0x53,0x32,0x35,0x36])},_0x42d356=_0x2f6291[_0xa67f34([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa67f34([0x67,0x65,0x74])](_0xa67f34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49ac88(){let _0xae8df4,_0x31acdb=null,_0x39a011=null;try{if(_0x42d356==_0xa67f34([0x47,0x50,0x4c]))return _0xa67f34([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xae8df4=_0x3595ce(),!_0xae8df4)return _0xa67f34([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xae8df4[_0xa67f34([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39a011=_0x19503f(_0xae8df4[_0xa67f34([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xae8df4[_0xa67f34([0x6a,0x74,0x69])])),await _0x10cc38()?_0x417490()?_0x48f53f()?_0xa67f34([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56ebee()?(_0xae8df4[_0xa67f34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa67f34([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31acdb=_0x3875f8(_0xa67f34([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xae8df4[_0xa67f34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa67f34([0x74,0x72,0x69,0x61,0x6c])&&(_0x31acdb=_0x3875f8(_0xa67f34([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c2f07()):_0xa67f34([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa67f34([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa67f34([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa67f34([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48f53f(){const _0x57927a=[_0xa67f34([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa67f34([0x74,0x72,0x69,0x61,0x6c])][_0xa67f34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xae8df4[_0xa67f34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x163190/0x3e8:0xe10*_0x270e1f;return _0xae8df4[_0xa67f34([0x65,0x78,0x70])]<_0x57927a;}function _0x417490(){const _0x16834e=_0xae8df4[_0xa67f34([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16834e&&(!!_0x16834e[_0xa67f34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa67f34([0x2a]))||!!_0x16834e[_0xa67f34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa67f34([0x55,0x50,0x4c,0x43])));}function _0x56ebee(){const _0x1cb4d1=_0xae8df4[_0xa67f34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1cb4d1||0x0==_0x1cb4d1[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4014a4}=new URL(window[_0xa67f34([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1cb4d1[_0xa67f34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4014a4))return!0x0;const _0x318d63=_0x4014a4[_0xa67f34([0x73,0x70,0x6c,0x69,0x74])](_0xa67f34([0x2e]));return _0x1cb4d1[_0xa67f34([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e32a0=>_0x1e32a0[_0xa67f34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa67f34([0x2a])))[_0xa67f34([0x6d,0x61,0x70])](_0x140525=>_0x140525[_0xa67f34([0x73,0x70,0x6c,0x69,0x74])](_0xa67f34([0x2e])))[_0xa67f34([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34ecae=>_0x34ecae[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x318d63[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa67f34([0x6d,0x61,0x70])](_0x5e2f12=>Array(_0x318d63[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e2f12[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa67f34([0x66,0x69,0x6c,0x6c])](_0x5e2f12[0x0]===_0xa67f34([0x2a])?_0xa67f34([0x2a]):'')[_0xa67f34([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e2f12))[_0xa67f34([0x73,0x6f,0x6d,0x65])](_0x2f85b4=>_0x318d63[_0xa67f34([0x65,0x76,0x65,0x72,0x79])]((_0x2bc14e,_0x573fee)=>_0x2f85b4[_0x573fee]===_0x2bc14e||_0x2f85b4[_0x573fee]===_0xa67f34([0x2a])));}function _0x5c2f07(){return _0x31acdb&&_0x39a011?new window[(_0xa67f34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b145,_0x4b98ab)=>{_0x31acdb[_0xa67f34([0x74,0x68,0x65,0x6e])](_0x12b145,_0x4b98ab),_0x39a011[_0xa67f34([0x74,0x68,0x65,0x6e])](_0x1422e0=>{_0x1422e0!=_0xa67f34([0x56,0x61,0x6c,0x69,0x64])&&_0x12b145(_0x1422e0);},_0x4b98ab);}):_0x31acdb||_0x39a011||_0xa67f34([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19503f(_0x4c15d0,_0x5ce283){return new window[(_0xa67f34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2730fb=>{if(_0x3f169f())return _0x2730fb(_0xa67f34([0x56,0x61,0x6c,0x69,0x64]));_0x3d0ca8(),_0x2f6291[_0xa67f34([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa67f34([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb5ed32=!0x1;const _0x38e37f=_0x2c62ef();function _0x251ac0(_0x31cf8b){return!!_0x31cf8b&&(typeof _0x31cf8b===_0xa67f34([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31cf8b===_0xa67f34([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31cf8b[_0xa67f34([0x74,0x68,0x65,0x6e])]===_0xa67f34([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31cf8b[_0xa67f34([0x63,0x61,0x74,0x63,0x68])]===_0xa67f34([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d3d7d(_0x599367){_0x4772f7(_0x599367)[_0xa67f34([0x74,0x68,0x65,0x6e])](_0x1c46f0=>{if(!_0x1c46f0||_0x1c46f0[_0xa67f34([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa67f34([0x6f,0x6b]))return _0xa67f34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5693c1(_0x461c3e(_0x38e37f+_0x5ce283))!=_0x1c46f0[_0xa67f34([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa67f34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa67f34([0x56,0x61,0x6c,0x69,0x64]);})[_0xa67f34([0x74,0x68,0x65,0x6e])](_0x20f91e=>(_0x3f13e4(),_0x20f91e),()=>{const _0x3105fa=_0x2d5aca();return null==_0x3105fa?(_0x3f13e4(),_0xa67f34([0x56,0x61,0x6c,0x69,0x64])):_0xa67f34(_0x163190-_0x3105fa>(0x7753083a^_0x5e9357)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa67f34([0x74,0x68,0x65,0x6e])](_0x2730fb)[_0xa67f34([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2730fb(_0xa67f34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1dea07=0x536962ba^_0x5e9357;function _0x3f13e4(){const _0x13cdf7=_0xa67f34([0x6c,0x6c,0x63,0x74,0x2d])+_0x5693c1(_0x461c3e(_0x4c15d0)),_0x3e4edd=_0x105bad(_0x5693c1(window[_0xa67f34([0x4d,0x61,0x74,0x68])][_0xa67f34([0x63,0x65,0x69,0x6c])](_0x163190/_0x1dea07)));window[_0xa67f34([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa67f34([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13cdf7,_0x3e4edd);}function _0x2d5aca(){const _0x276e1d=_0xa67f34([0x6c,0x6c,0x63,0x74,0x2d])+_0x5693c1(_0x461c3e(_0x4c15d0)),_0x519e96=window[_0xa67f34([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa67f34([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x276e1d);return _0x519e96?window[_0xa67f34([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x105bad(_0x519e96),0x10)*_0x1dea07:null;}function _0x4772f7(_0x36b23b){return new window[(_0xa67f34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a64ef,_0x4947b4)=>{_0x36b23b[_0xa67f34([0x74,0x68,0x65,0x6e])](_0x2a64ef,_0x4947b4),window[_0xa67f34([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4947b4,0x535e58fa^_0x5e9357);});}}_0x2f6291[_0xa67f34([0x6f,0x6e])](_0xa67f34([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xdcd6a4,_0x1106b9)=>{if(_0x1106b9[0x0]!=_0x4c15d0)return _0x2730fb(_0xa67f34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1106b9[0x1]={..._0x1106b9[0x1],[_0xa67f34([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38e37f};},{[_0xa67f34([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa67f34([0x68,0x69,0x67,0x68])}),_0x2f6291[_0xa67f34([0x6f,0x6e])](_0xa67f34([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2fc982=>{_0x251ac0(_0x2fc982[_0xa67f34([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb5ed32=!0x0,_0x5d3d7d(_0x2fc982[_0xa67f34([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa67f34([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa67f34([0x6c,0x6f,0x77])}),_0x59f402[_0xa67f34([0x74,0x68,0x65,0x6e])](()=>{_0xb5ed32||_0x2730fb(_0xa67f34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f169f(){return _0x2f6291[_0xa67f34([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa67f34([0x76,0x69,0x65,0x77])][_0xa67f34([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa67f34([0x61,0x75,0x74,0x6f]);}function _0x3d0ca8(){_0x2f6291[_0xa67f34([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa67f34([0x76,0x69,0x65,0x77])][_0xa67f34([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa67f34([0x61,0x75,0x74,0x6f]);}}function _0x3875f8(_0x217c98){const _0x31e527=[new window[(_0xa67f34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40fbb3=>setTimeout(_0x40fbb3,0x5356b2f6^_0x5e9357)),_0x59f402[_0xa67f34([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa67f34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43cfd4=>{let _0x3bf63a=0x0;_0x2f6291[_0xa67f34([0x6d,0x6f,0x64,0x65,0x6c])][_0xa67f34([0x6f,0x6e])](_0xa67f34([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b80ab,_0x35ea6c)=>{_0x35ea6c[0x0][_0xa67f34([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bf63a++,_0x3bf63a==(0x535f8dc2^_0x5e9357)&&(_0x43cfd4(),_0x3b80ab[_0xa67f34([0x6f,0x66,0x66])]());});}))];return window[_0xa67f34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa67f34([0x72,0x61,0x63,0x65])](_0x31e527)[_0xa67f34([0x74,0x68,0x65,0x6e])](()=>_0x217c98);}async function _0x514e6c(){await _0x59f402,_0x2f6291[_0xa67f34([0x6d,0x6f,0x64,0x65,0x6c])][_0xa67f34([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53e684,_0x2f6291[_0xa67f34([0x6d,0x6f,0x64,0x65,0x6c])][_0xa67f34([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53e684,_0x2f6291[_0xa67f34([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa67f34([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x412527(_0x11333c){const _0x51995a=_0xe7cf4f();_0x2f6291[_0x51995a]=_0xa67f34([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11333c,_0x11333c!=_0xa67f34([0x56,0x61,0x6c,0x69,0x64])&&_0x514e6c();}function _0xe7cf4f(){const _0x576b21=window[_0xa67f34([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa67f34([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa67f34([0x6e,0x6f,0x77])]())[_0xa67f34([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa67f34([0x2e]),'');let _0x12b741=_0xa67f34([0x68]);for(let _0x5f3efa=0x0;_0x5f3efa<_0x576b21[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f3efa+=0x2){let _0x29a80b=window[_0xa67f34([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x576b21[_0xa67f34([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f3efa,_0x5f3efa+0x2));_0x29a80b>=_0xd2e303[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29a80b-=_0xd2e303[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x12b741+=_0xd2e303[_0x29a80b];}return _0x12b741;}function _0x3595ce(){const _0x342dd7=_0x42d356[_0xa67f34([0x73,0x70,0x6c,0x69,0x74])](_0xa67f34([0x2e]));if(0x3!=_0x342dd7[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c27af(_0x342dd7[0x1]);function _0x4c27af(_0x10a5ea){const _0x580cfc=_0x52f484(_0x10a5ea);return _0x580cfc&&_0x5e816e()?_0x580cfc:null;function _0x5e816e(){const _0x4bcbee=_0x580cfc[_0xa67f34([0x6a,0x74,0x69])],_0x529886=window[_0xa67f34([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bcbee[_0xa67f34([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bcbee[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x414aa5={..._0x580cfc,[_0xa67f34([0x6a,0x74,0x69])]:_0x4bcbee[_0xa67f34([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4bcbee[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x414aa5[_0xa67f34([0x76,0x63])],_0x461c3e(_0x414aa5)==_0x529886;}}}async function _0x10cc38(){let _0x43d38c=!0x0;try{const _0x5539d0=_0x42d356[_0xa67f34([0x73,0x70,0x6c,0x69,0x74])](_0xa67f34([0x2e])),[_0x39e346,_0x49581d,_0x32b11d]=_0x5539d0;return _0x585bab(_0x39e346),await _0x487a66(_0x39e346,_0x49581d,_0x32b11d),_0x43d38c;}catch{return!0x1;}function _0x585bab(_0x40b470){const _0x298086=_0x52f484(_0x40b470);_0x298086&&_0x298086[_0xa67f34([0x61,0x6c,0x67])]==_0xa67f34([0x45,0x53,0x32,0x35,0x36])||(_0x43d38c=!0x1);}async function _0x487a66(_0x584dc3,_0x1a0a06,_0x195bd3){const _0x4d3730=window[_0xa67f34([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa67f34([0x66,0x72,0x6f,0x6d])](_0x7a0db1(_0x195bd3),_0x5d03f8=>_0x5d03f8[_0xa67f34([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x186e02=new window[(_0xa67f34([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa67f34([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x584dc3+_0xa67f34([0x2e])+_0x1a0a06),_0x58100b=window[_0xa67f34([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa67f34([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58100b)return;const _0x38464b=await _0x58100b[_0xa67f34([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa67f34([0x6a,0x77,0x6b]),_0x418272,{[_0xa67f34([0x6e,0x61,0x6d,0x65])]:_0xa67f34([0x45,0x43,0x44,0x53,0x41]),[_0xa67f34([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa67f34([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa67f34([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58100b[_0xa67f34([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa67f34([0x6e,0x61,0x6d,0x65])]:_0xa67f34([0x45,0x43,0x44,0x53,0x41]),[_0xa67f34([0x68,0x61,0x73,0x68])]:{[_0xa67f34([0x6e,0x61,0x6d,0x65])]:_0xa67f34([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38464b,_0x4d3730,_0x186e02)||(_0x43d38c=!0x1);}}function _0x52f484(_0x4dec47){return _0x4dec47[_0xa67f34([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa67f34([0x65,0x79]))?JSON[_0xa67f34([0x70,0x61,0x72,0x73,0x65])](_0x7a0db1(_0x4dec47)):null;}function _0x7a0db1(_0x3c70fc){return window[_0xa67f34([0x61,0x74,0x6f,0x62])](_0x3c70fc[_0xa67f34([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa67f34([0x2b]))[_0xa67f34([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa67f34([0x2f])));}function _0x461c3e(_0x35de83){let _0x1d9b83=0x1505;function _0x168b8b(_0x1d97e3){for(let _0x3c2ae6=0x0;_0x3c2ae6<_0x1d97e3[_0xa67f34([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c2ae6++){const _0x75310a=_0x1d97e3[_0xa67f34([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c2ae6);_0x1d9b83=(_0x1d9b83<<0x5)+_0x1d9b83+_0x75310a,_0x1d9b83&=_0x1d9b83;}}function _0x52c050(_0x35c8ae){Array[_0xa67f34([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35c8ae)?_0x35c8ae[_0xa67f34([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52c050):_0x35c8ae&&typeof _0x35c8ae==_0xa67f34([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa67f34([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35c8ae)[_0xa67f34([0x73,0x6f,0x72,0x74])]()[_0xa67f34([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x535dac,_0x5c8857])=>{_0x168b8b(_0x535dac),_0x52c050(_0x5c8857);}):_0x168b8b(window[_0xa67f34([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35c8ae));}return _0x52c050(_0x35de83),_0x1d9b83>>>0x0;}function _0x5693c1(_0x55ec7a){return _0x55ec7a[_0xa67f34([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa67f34([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa67f34([0x30]));}function _0x105bad(_0x51637b){return _0x51637b[_0xa67f34([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa67f34([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa67f34([0x6a,0x6f,0x69,0x6e])]('');}function _0x53e684(){}function _0xa67f34(_0x4e8815){return _0x4e8815['map'](_0x3097c0=>String['fromCharCode'](_0x3097c0))['join']('');}_0x412527(await _0x49ac88());}(this);}['_initSchema'](){const _0x55e7d7=this['editor']['model']['schema'];_0x55e7d7['isRegistered']('imageBlock')&&_0x55e7d7['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x55e7d7['isRegistered']('imageInline')&&_0x55e7d7['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4882fd=this['editor'];_0x4882fd['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4882fd['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1a510d=>_0x1a510d['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5baac7=_0x4882fd['commands']['get']('replaceImageSource');_0x5baac7&&this['listenTo'](_0x5baac7,'cleanupImage',(_0x4fe6c1,[_0x1785fb,_0x1a1f7c])=>{_0x1785fb['removeAttribute']('uploadcareImageId',_0x1a1f7c);});}['_initConfig'](){const _0xe9a67c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3a3dd4=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x26334c(_0x138a30['document'],'uc-config',{..._0xe9a67c,'pubkey':_0x3a3dd4,'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']=_0x30f852=>{if('closeMax'==_0x30f852)return'#uc-icon-arrow-down';},_0x138a30['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x26334c(_0x138a30['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x138a30['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5c1ee6=this['editor']['commands']['get']('insertImage');_0x5c1ee6&&this['listenTo'](_0x5c1ee6,'execute',()=>{const _0xec6555=this['editor']['model']['document']['selection']['getSelectedElement']();_0xec6555&&_0xec6555['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xec6555);});});const _0x3d69a5=this['editor']['commands']['get']('uploadcareImageReplace');_0x3d69a5&&this['listenTo'](_0x3d69a5,'execute',()=>{const _0x13e900=this['editor']['model']['document']['selection']['getSelectedElement']();_0x13e900&&_0x13e900['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x13e900);});});}}class tt extends _0x443f5c{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x862c14){super(_0x862c14),_0x862c14['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4c3e66['defineComponents'](_0x4c3e66),this['_defineLocale']();}['_defineLocale'](){const _0x1f1071=this['editor']['config']['get']('uploadcare.locale'),_0x39e613=this['editor']['locale']['contentLanguage'];_0x1f1071&&_0x4c3e66['defineLocale'](_0x39e613,_0x1f1071);}}class ii extends _0x2cd9eb{constructor(_0x1a8d9a){super(_0x1a8d9a);const t=_0x1a8d9a['t'],_0x5a8767=this['bindTemplate'],_0x1bfe62=new _0xeaea56();_0x1bfe62['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':[_0x1bfe62,{'text':_0x5a8767['to']('imageUploadProgress',_0x16c273=>t('Loading\x20image...')+'\x20('+(_0x16c273||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 _0x2cd9eb{constructor(_0x2aef22){super(_0x2aef22);const t=_0x2aef22['t'];this['set']('errorType',null);const _0x37f3e2=new _0x286d0a(_0x2aef22);_0x37f3e2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x37f3e2['withText']=!0x0,_0x37f3e2['class']='ck-button-action',_0x37f3e2['on']('execute',()=>{this['fire']('retry');}),_0x37f3e2['bind']('isVisible')['to'](this,'errorType',_0x576005=>'NotFound'!==_0x576005);const _0x499669=new _0x6a5aea();_0x499669['content']=_0x100bd6,_0x499669['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2a11eb=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':[_0x499669,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2a11eb['to']('errorType',_0x552ed6=>t('NotFound'!==_0x552ed6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x37f3e2]},{'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 _0x2cd9eb{constructor(_0x2c2966,_0x35bac4){super(_0x2c2966);const _0x4ec463=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x35bac4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4ec463['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x32ed1b,_0xca45e9,_0x1b814f){super(_0x32ed1b),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x32ed1b),this['_errorView']=new ti(_0x32ed1b),this['_editingView']=new ei(_0x32ed1b,_0x1b814f),this['_focusableView']=new _0x2cd9eb(_0x32ed1b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xca45e9),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'],_0xce3487=>{this['_addUploadcareImageEditorListeners'](_0xce3487);});}),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'](_0x42c17e,_0x3e1cdf){const _0xb53dbc='uc-cloud-image-editor',_0x5a9519=_0x42c17e['querySelector'](_0xb53dbc);if(_0x5a9519)return _0x3e1cdf(_0x5a9519);const _0x439c81=new MutationObserver(_0x1b22a4=>{const _0x425864=_0x1b22a4['filter'](_0x35acf4=>_0x35acf4['target']===_0x42c17e&&_0x35acf4['addedNodes']['length']>0x0&&_0x35acf4['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xb53dbc);_0x425864['length']&&(_0x439c81['disconnect'](),_0x3e1cdf(_0x425864[0x0]['addedNodes'][0x0]));});_0x439c81['observe'](_0x42c17e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x227818){_0x227818['addEventListener']('apply',_0x230ff4=>{this['fire']('apply',{'imageSrc':_0x230ff4['detail']['cdnUrl']});}),_0x227818['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x4187a9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1ddeba,_0x46b162,_0x173c8c){super(),this['_editor']=_0x1ddeba,this['_dialog']=_0x46b162,this['_imageElement']=_0x173c8c,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 _0x54a2f8=this['_imageElement'],_0x525e13=_0x54a2f8['getAttribute']('uploadcareImageId'),_0x55b509=_0x54a2f8['getAttribute']('src');if(_0x525e13)await this['_loadImageInfo'](_0x525e13,_0x55b509);else{if(this['_imageCache']['has'](_0x55b509)){const _0x83fb43=this['_imageCache']['get'](_0x55b509);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x83fb43['url'],this['imageDimension']=_0x83fb43['dimension'],this['imageId']=_0x83fb43['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1e0249}=this['_editor'],t=_0x1e0249['t'],_0x6e1ca9=new X(_0x1e0249,this['imageStatus'],this['_attributes']);_0x6e1ca9['bind']('status')['to'](this,'imageStatus'),_0x6e1ca9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x6e1ca9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x6e1ca9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x6e1ca9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x576c90,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x6e1ca9,'position':_0x52a94c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x6e1ca9['focus']();},'onHide':()=>{_0x6e1ca9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4deb86=>!A(_0x4deb86,_0x6e1ca9['element'])}});}['_loadImageInfo'](_0x47a4dd,_0x34993e){return j['getInfo'](_0x47a4dd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x23f55c=>{const {width:_0x5cebc7,height:_0x11992e}=_0x23f55c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34993e,this['imageDimension']={'width':_0x5cebc7,'height':_0x11992e},this['imageId']=_0x47a4dd;})['catch'](_0x3d2b25=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d2b25['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x106540,_0x3efff0){return this['_getImageAsFile'](_0x106540)['then'](_0x49c274=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3efff0['signal'],'file':_0x49c274,'onProgress':_0x228c1e=>{_0x228c1e&&_0x228c1e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x228c1e['value']));}}))['then'](_0x6f3511=>{const {width:_0x509403,height:_0x26ab07}=_0x6f3511['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x6f3511['cdnUrl'],this['imageDimension']={'width':_0x509403,'height':_0x26ab07},this['imageId']=_0x6f3511['uuid'],this['imageUploadProgress']=null;const _0x57012f=_0x106540['getAttribute']('src');this['_imageCache']['set'](_0x57012f,{'id':_0x6f3511['uuid'],'url':_0x6f3511['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x246f08=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x246f08['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x325760,_0x342c89){_0x325760['on']('apply',(_0x4a1670,_0x51dd50)=>{this['_replaceImage'](_0x342c89,_0x51dd50['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x325760['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x325760['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xeffade,_0x3f7f00,_0x47b01d){const _0x4f84bf=this['_editor'],{width:_0x119ac6,height:_0x25eaa4}=S(_0x3f7f00,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x33be8c,imageSources:_0x4469c7}=C(_0x3f7f00,_0x119ac6);_0x4f84bf['model']['change'](_0x36adc7=>{if('$graveyard'===_0xeffade['root']['rootName']){_0x4f84bf['execute']('insertImage',{'imageType':_0xeffade['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xeffade['getAttributes']()),'uploadcareImageId':_0x47b01d,'src':_0x33be8c,'sources':_0x4469c7,'width':_0x119ac6,'height':_0x25eaa4}});const _0x5ab5b3=_0xeffade['getChildren']();_0xeffade=_0x4f84bf['model']['document']['selection']['getSelectedElement']();for(const _0x5074d7 of _0x5ab5b3)_0x36adc7['append'](_0x36adc7['cloneElement'](_0x5074d7),_0xeffade);}else _0x36adc7['setSelection'](_0xeffade,'on'),_0x4f84bf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xeffade['getAttributes']()),'uploadcareImageId':_0x47b01d,'src':_0x33be8c,'sources':_0x4469c7,'width':_0x119ac6,'height':_0x25eaa4},_0xeffade);_0x36adc7['setSelection'](_0xeffade,'on');});}async['_getImageAsFile'](_0x3cedfe){const _0x1d2cd3=_0x138a30['window'],_0x37d5c5=_0x138a30['document']['location']['href'],_0xb71779=new _0x1d2cd3['URL'](_0x3cedfe['getAttribute']('src'),_0x37d5c5);if('data:'===_0xb71779['protocol']){const _0x519589=_0xb71779['href']['split'](','),_0x1bc903=_0x519589[0x0]['match'](/:(.*?);/)[0x1],_0x230642=_0x1bc903['split']('/')[0x1],_0x418891=_0x1d2cd3['atob'](_0x519589[_0x519589['length']-0x1]);let _0x55032e=_0x418891['length'];const _0x1007e8=new _0x1d2cd3['Uint8Array'](_0x55032e);for(;_0x55032e--;)_0x1007e8[_0x55032e]=_0x418891['charCodeAt'](_0x55032e);return new _0x1d2cd3['File']([_0x1007e8],'image.'+_0x230642,{'type':_0x1bc903});}const _0x5438c6=_0xb71779['href']['split']('/'),_0x3d1d03=_0x5438c6[_0x5438c6['length']-0x1],_0x1eb521=_0x3d1d03['split']('.')[0x1];return _0x1d2cd3['fetch'](_0xb71779['href'])['then'](_0x27c3de=>_0x27c3de['clone']()['blob']())['then'](_0x5de312=>new _0x1d2cd3['File']([_0x5de312],_0x3d1d03,{'type':'image/'+_0x1eb521}));}}class O extends _0x57a68a{['imageEditController'];static get['requires'](){return[_0x9884e];}['_isEditable'];constructor(_0x1a0ff7){super(_0x1a0ff7),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x283b13){const _0x28c86e=G(_0x283b13);return _0x171b23=>!(!_0x171b23||!_0x171b23['is']('element','imageBlock')&&!_0x171b23['is']('element','imageInline'))&&(!!_0x171b23['hasAttribute']('uploadcareImageId')||!!_0x171b23['hasAttribute']('src')&&_0x28c86e(_0x171b23['getAttribute']('src')));}(_0x1a0ff7['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x19baa9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x19baa9);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x14d62a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x14d62a&&(_0x14d62a['is']('element','imageBlock')||_0x14d62a['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x9884e),_0x14d62a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x57a68a{['refresh'](){const _0x53f728=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x53f728&&(_0x53f728['is']('element','imageBlock')||_0x53f728['is']('element','imageInline')));}['execute'](_0x133cc5){const _0x20c1a9=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5240b9=>{_0x5240b9['setAttributes'](_0x133cc5,_0x20c1a9),_0x5240b9['removeAttribute']('srcset',_0x20c1a9),_0x5240b9['removeAttribute']('sizes',_0x20c1a9);});}}class m extends _0x443f5c{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4bc154,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f2c41}=this;_0x4f2c41['commands']['add']('uploadcareImageEdit',new O(_0x4f2c41)),_0x4f2c41['commands']['add']('uploadcareImageReplace',new R(_0x4f2c41));}}class g extends _0x443f5c{['_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 _0x234a3d=this['editor'];_0x234a3d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5405a8=>{const _0x8f2d51=_0x234a3d['commands']['get']('uploadcareImageEdit'),_0x3b62cb=new _0x286d0a(_0x5405a8),t=_0x5405a8['t'];return _0x3b62cb['set']({'icon':_0x576c90,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3b62cb['bind']('isEnabled')['to'](_0x8f2d51),_0x3b62cb['bind']('isOn')['to'](_0x8f2d51,'isActive'),this['listenTo'](_0x3b62cb,'execute',()=>{_0x234a3d['execute']('uploadcareImageEdit'),_0x234a3d['editing']['view']['focus']();}),_0x3b62cb;}),this['_initConfig']();}['_initConfig'](){const _0x13008d=_0x26334c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x13008d),this['listenTo'](this['editor'],'destroy',()=>{_0x13008d['remove']();});}}class et extends _0x443f5c{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':_0x41b290=>0x1!=_0x41b290}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4775b4=>0x1!=_0x4775b4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3e8f7c=>{const {af:{dictionary:_0x542901,getPluralForm:_0xfa55bd}}={'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':_0x2f45a5=>0x1!=_0x2f45a5}};_0x3e8f7c['af']||={'dictionary':{},'getPluralForm':null},_0x3e8f7c['af']['dictionary']=Object['assign'](_0x3e8f7c['af']['dictionary'],_0x542901),_0x3e8f7c['af']['getPluralForm']=_0xfa55bd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x21d4cd=>{const {af:{dictionary:_0x123ac7,getPluralForm:_0x2787da}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x54151e=>0x1!=_0x54151e}};_0x21d4cd['af']||={'dictionary':{},'getPluralForm':null},_0x21d4cd['af']['dictionary']=Object['assign'](_0x21d4cd['af']['dictionary'],_0x123ac7),_0x21d4cd['af']['getPluralForm']=_0x2787da;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x56b77f=>0x0==_0x56b77f?0x0:0x1==_0x56b77f?0x1:0x2==_0x56b77f?0x2:_0x56b77f%0x64>=0x3&&_0x56b77f%0x64<=0xa?0x3:_0x56b77f%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':_0xec2c12=>0x0==_0xec2c12?0x0:0x1==_0xec2c12?0x1:0x2==_0xec2c12?0x2:_0xec2c12%0x64>=0x3&&_0xec2c12%0x64<=0xa?0x3:_0xec2c12%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ff38e=>{const {ar:{dictionary:_0x8ac56f,getPluralForm:_0x50f83d}}={'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':_0x54d10b=>0x0==_0x54d10b?0x0:0x1==_0x54d10b?0x1:0x2==_0x54d10b?0x2:_0x54d10b%0x64>=0x3&&_0x54d10b%0x64<=0xa?0x3:_0x54d10b%0x64>=0xb?0x4:0x5}};_0x1ff38e['ar']||={'dictionary':{},'getPluralForm':null},_0x1ff38e['ar']['dictionary']=Object['assign'](_0x1ff38e['ar']['dictionary'],_0x8ac56f),_0x1ff38e['ar']['getPluralForm']=_0x50f83d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22a0bb=>{const {ar:{dictionary:_0x3bfec3,getPluralForm:_0x13919b}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x1733be=>0x0==_0x1733be?0x0:0x1==_0x1733be?0x1:0x2==_0x1733be?0x2:_0x1733be%0x64>=0x3&&_0x1733be%0x64<=0xa?0x3:_0x1733be%0x64>=0xb?0x4:0x5}};_0x22a0bb['ar']||={'dictionary':{},'getPluralForm':null},_0x22a0bb['ar']['dictionary']=Object['assign'](_0x22a0bb['ar']['dictionary'],_0x3bfec3),_0x22a0bb['ar']['getPluralForm']=_0x13919b;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x3d1856=>0x1!=_0x3d1856}};
23
+ export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x12e7a3=>0x1!=_0x12e7a3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x17f714=>{const {ast:{dictionary:_0x4736b0,getPluralForm:_0x2131c1}}={'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':_0x30c81a=>0x1!=_0x30c81a}};_0x17f714['ast']||={'dictionary':{},'getPluralForm':null},_0x17f714['ast']['dictionary']=Object['assign'](_0x17f714['ast']['dictionary'],_0x4736b0),_0x17f714['ast']['getPluralForm']=_0x2131c1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x39c445=>{const {ast:{dictionary:_0x249138,getPluralForm:_0x1e667a}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x59761d=>0x1!=_0x59761d}};_0x39c445['ast']||={'dictionary':{},'getPluralForm':null},_0x39c445['ast']['dictionary']=Object['assign'](_0x39c445['ast']['dictionary'],_0x249138),_0x39c445['ast']['getPluralForm']=_0x1e667a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x4f64c7=>0x1!=_0x4f64c7}};
23
+ export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x47c1af=>0x1!=_0x47c1af}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x48cc92=>{const {az:{dictionary:_0xc867eb,getPluralForm:_0x5bffae}}={'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':_0x1d3c8a=>0x1!=_0x1d3c8a}};_0x48cc92['az']||={'dictionary':{},'getPluralForm':null},_0x48cc92['az']['dictionary']=Object['assign'](_0x48cc92['az']['dictionary'],_0xc867eb),_0x48cc92['az']['getPluralForm']=_0x5bffae;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x450f5d=>{const {az:{dictionary:_0x52ce82,getPluralForm:_0x542c0e}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x49a4d=>0x1!=_0x49a4d}};_0x450f5d['az']||={'dictionary':{},'getPluralForm':null},_0x450f5d['az']['dictionary']=Object['assign'](_0x450f5d['az']['dictionary'],_0x52ce82),_0x450f5d['az']['getPluralForm']=_0x542c0e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x3d7f04=>_0x3d7f04%0xa==0x1&&_0x3d7f04%0x64!=0xb?0x0:_0x3d7f04%0xa>=0x2&&_0x3d7f04%0xa<=0x4&&(_0x3d7f04%0x64<0xa||_0x3d7f04%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':_0x36c3db=>_0x36c3db%0xa==0x1&&_0x36c3db%0x64!=0xb?0x0:_0x36c3db%0xa>=0x2&&_0x36c3db%0xa<=0x4&&(_0x36c3db%0x64<0xa||_0x36c3db%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5dac96=>{const {be:{dictionary:_0x3ea710,getPluralForm:_0x569ec7}}={'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':_0x3fc42c=>_0x3fc42c%0xa==0x1&&_0x3fc42c%0x64!=0xb?0x0:_0x3fc42c%0xa>=0x2&&_0x3fc42c%0xa<=0x4&&(_0x3fc42c%0x64<0xa||_0x3fc42c%0x64>=0x14)?0x1:0x2}};_0x5dac96['be']||={'dictionary':{},'getPluralForm':null},_0x5dac96['be']['dictionary']=Object['assign'](_0x5dac96['be']['dictionary'],_0x3ea710),_0x5dac96['be']['getPluralForm']=_0x569ec7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x30053d=>{const {be:{dictionary:_0x387534,getPluralForm:_0x5a6c25}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x50b044=>_0x50b044%0xa==0x1&&_0x50b044%0x64!=0xb?0x0:_0x50b044%0xa>=0x2&&_0x50b044%0xa<=0x4&&(_0x50b044%0x64<0xa||_0x50b044%0x64>=0x14)?0x1:0x2}};_0x30053d['be']||={'dictionary':{},'getPluralForm':null},_0x30053d['be']['dictionary']=Object['assign'](_0x30053d['be']['dictionary'],_0x387534),_0x30053d['be']['getPluralForm']=_0x5a6c25;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x34840e=>0x1!=_0x34840e}};
23
+ export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x203e74=>0x1!=_0x203e74}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f5c8d=>{const {bg:{dictionary:_0x21222b,getPluralForm:_0x363ace}}={'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':_0x435a33=>0x1!=_0x435a33}};_0x2f5c8d['bg']||={'dictionary':{},'getPluralForm':null},_0x2f5c8d['bg']['dictionary']=Object['assign'](_0x2f5c8d['bg']['dictionary'],_0x21222b),_0x2f5c8d['bg']['getPluralForm']=_0x363ace;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xc7abb7=>{const {bg:{dictionary:_0x5caf72,getPluralForm:_0x24776f}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x595dab=>0x1!=_0x595dab}};_0xc7abb7['bg']||={'dictionary':{},'getPluralForm':null},_0xc7abb7['bg']['dictionary']=Object['assign'](_0xc7abb7['bg']['dictionary'],_0x5caf72),_0xc7abb7['bg']['getPluralForm']=_0x24776f;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x4b04f2=>0x1!=_0x4b04f2}};
23
+ export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x3c68ee=>0x1!=_0x3c68ee}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1c0a5a=>{const {bn:{dictionary:_0x1a65a0,getPluralForm:_0x3a813b}}={'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':_0x36a7a7=>0x1!=_0x36a7a7}};_0x1c0a5a['bn']||={'dictionary':{},'getPluralForm':null},_0x1c0a5a['bn']['dictionary']=Object['assign'](_0x1c0a5a['bn']['dictionary'],_0x1a65a0),_0x1c0a5a['bn']['getPluralForm']=_0x3a813b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3c6a51=>{const {bn:{dictionary:_0x5e561b,getPluralForm:_0x307480}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x540ff0=>0x1!=_0x540ff0}};_0x3c6a51['bn']||={'dictionary':{},'getPluralForm':null},_0x3c6a51['bn']['dictionary']=Object['assign'](_0x3c6a51['bn']['dictionary'],_0x5e561b),_0x3c6a51['bn']['getPluralForm']=_0x307480;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x54e58c=>_0x54e58c%0xa==0x1&&_0x54e58c%0x64!=0xb?0x0:_0x54e58c%0xa>=0x2&&_0x54e58c%0xa<=0x4&&(_0x54e58c%0x64<0xa||_0x54e58c%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':_0x52fe63=>_0x52fe63%0xa==0x1&&_0x52fe63%0x64!=0xb?0x0:_0x52fe63%0xa>=0x2&&_0x52fe63%0xa<=0x4&&(_0x52fe63%0x64<0xa||_0x52fe63%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x451d36=>{const {bs:{dictionary:_0x548323,getPluralForm:_0x16651d}}={'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':_0x41a93d=>_0x41a93d%0xa==0x1&&_0x41a93d%0x64!=0xb?0x0:_0x41a93d%0xa>=0x2&&_0x41a93d%0xa<=0x4&&(_0x41a93d%0x64<0xa||_0x41a93d%0x64>=0x14)?0x1:0x2}};_0x451d36['bs']||={'dictionary':{},'getPluralForm':null},_0x451d36['bs']['dictionary']=Object['assign'](_0x451d36['bs']['dictionary'],_0x548323),_0x451d36['bs']['getPluralForm']=_0x16651d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x28ca12=>{const {bs:{dictionary:_0x1630a8,getPluralForm:_0x2865eb}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xd7d4a6=>_0xd7d4a6%0xa==0x1&&_0xd7d4a6%0x64!=0xb?0x0:_0xd7d4a6%0xa>=0x2&&_0xd7d4a6%0xa<=0x4&&(_0xd7d4a6%0x64<0xa||_0xd7d4a6%0x64>=0x14)?0x1:0x2}};_0x28ca12['bs']||={'dictionary':{},'getPluralForm':null},_0x28ca12['bs']['dictionary']=Object['assign'](_0x28ca12['bs']['dictionary'],_0x1630a8),_0x28ca12['bs']['getPluralForm']=_0x2865eb;})(window['CKEDITOR_TRANSLATIONS']||={});