@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20251230.0 → 0.0.0-nightly-next-20251231.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 _0x3d96dc,Command as _0x2ab42d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3aa5bd,IconGooglePhotos as _0x1f9652,IconGoogleDrive as _0x2c26c2,IconFacebook as _0x3f8c31,IconDropbox as _0x405cfc,IconUploadcareLink as _0x39a298,IconUploadcareImageUpload as _0x40441e,IconError as _0x5534a1,IconUploadcareImageEdit as _0x301683}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x65779a,MenuBarMenuListItemButtonView as _0x5858a,View as _0x28f53c,FocusCycler as _0x2bd272,Dialog as _0x830a86,DialogViewPosition as _0x1947d0,SpinnerView as _0x569cb2,IconView as _0x46c00b,Notification as _0x4d8809}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x239dcc,DomEmitterMixin as _0x54a521,global as _0x2f90d9,getAncestors as _0x4ec9b8,ObservableMixin as _0x3b50f4,uid as _0x21c21c,createElement as _0x1c2155}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x435e26}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x16c596,info as _0x460408}from'@uploadcare/upload-client';import*as _0x32a09e from'@uploadcare/file-uploader';var i=function(_0x1490ce){return _0x1490ce['Local']='local',_0x1490ce['URL']='url',_0x1490ce['Dropbox']='dropbox',_0x1490ce['GDrive']='gdrive',_0x1490ce['Facebook']='facebook',_0x1490ce['GPhotos']='gphotos',_0x1490ce['OneDrive']='onedrive',_0x1490ce;}({});function _(_0x14d3ee,_0x12b68e,_0x52414c){const t=_0x14d3ee['t'],_0xbe2aab=_0x14d3ee['t'];switch(_0x12b68e){case i['Local']:return{'text':_0xbe2aab('Insert'===_0x52414c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xbe2aab('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x52414c?_0xbe2aab('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xbe2aab('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x52414c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x52414c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x52414c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x52414c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x52414c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x12b68e;}}class e extends _0x3d96dc{['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 _0x3e9aa2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e408b;for(const _0xf4896e in _0x3e9aa2){const _0x3487f6=_0xf4896e,_0xa3c9ea=_0x3e9aa2[_0x3487f6];if('uploadcareLicenseKeyValid'==_0xa3c9ea||'uploadcareLicenseKeyInvalid'==_0xa3c9ea||'uploadcareLicenseKeyExpired'==_0xa3c9ea||'uploadcareLicenseKeyDomainLimit'==_0xa3c9ea||'uploadcareLicenseKeyNotAllowed'==_0xa3c9ea||'uploadcareLicenseKeyEvaluationLimit'==_0xa3c9ea||'uploadcareLicenseKeyTrialLimit'==_0xa3c9ea||'uploadcareLicenseKeyUsageLimit'==_0xa3c9ea){delete _0x3e9aa2[_0x3487f6],_0x2e408b=_0xa3c9ea,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2e408b&&_0x3e9aa2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2e408b&&_0x3e9aa2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2e408b&&_0x3e9aa2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2e408b&&_0x3e9aa2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2e408b&&_0x3e9aa2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2e408b&&_0x3e9aa2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2e408b&&_0x3e9aa2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4dcbcb}=this,_0x5814d4=_0x4dcbcb['commands']['get']('uploadcare');if(!_0x5814d4)return;const _0x571208=this['_normalizeConfigSourceList'](_0x4dcbcb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2a7700,_0x2a28c3)=>{const _0x1cb501=this['_getIntegrationKey'](_0x2a28c3['type']);return _0x2a7700[_0x1cb501]||(_0x2a7700[_0x1cb501]=[]),_0x2a7700[_0x1cb501]['push'](_0x2a28c3),_0x2a7700;},{});_0x4dcbcb['plugins']['has']('ImageInsertUI')&&_0x4dcbcb['commands']['get']('uploadcare')&&Object['entries'](_0x571208)['forEach'](([_0x44c9a6,_0x2bd8ce])=>{_0x4dcbcb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x44c9a6,'observable':()=>_0x5814d4,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2bd8ce),'formViewCreator':()=>this['_createDropdownButtons'](_0x2bd8ce),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2bd8ce),'override':'assetManager'!==_0x44c9a6});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4532f8){const {locale:_0x45cb5d}=this['editor'];return _0x4532f8['map'](_0x38c791=>{const _0x44e5e6=_(_0x45cb5d,_0x38c791,'Insert');switch(_0x38c791){case i['Local']:return{'icon':_0x40441e,'type':i['Local'],..._0x44e5e6};case i['URL']:return{'icon':_0x39a298,'type':i['URL'],..._0x44e5e6};case i['Dropbox']:return{'icon':_0x405cfc,'type':i['Dropbox'],..._0x44e5e6};case i['Facebook']:return{'icon':_0x3f8c31,'type':i['Facebook'],..._0x44e5e6};case i['GDrive']:return{'icon':_0x2c26c2,'type':i['GDrive'],..._0x44e5e6};case i['GPhotos']:return{'icon':_0x1f9652,'type':i['GPhotos'],..._0x44e5e6};case i['OneDrive']:return{'icon':_0x3aa5bd,'type':i['OneDrive'],..._0x44e5e6};}});}['_getIntegrationKey'](_0x3e366d){switch(_0x3e366d){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x29fc1a,_0x16605b){const _0x1cfd33=this['editor'],_0x3d1768=new _0x29fc1a(_0x1cfd33['locale']),_0x24299c=_0x1cfd33['commands']['get']('uploadcare');return _0x3d1768['bind']('isEnabled')['to'](_0x24299c),_0x3d1768['on']('execute',()=>{_0x24299c['execute'](_0x16605b);}),_0x3d1768;}['_createToolbarButton'](_0x12a6c6){const {locale:_0x7538f9}=this['editor'],_0x5269aa=this['editor']['plugins']['get']('ImageInsertUI'),_0x547e81=_0x12a6c6[0x0],_0x228e6a=this['_createButton'](_0x65779a,_0x547e81['type']);return _0x228e6a['icon']=_0x547e81['icon'],_0x228e6a['bind']('label')['to'](_0x5269aa,'isImageSelected',_0x579230=>_(_0x7538f9,_0x547e81['type'],_0x579230?'Replace':'Insert')['text']),_0x228e6a['tooltip']=!0x0,_0x228e6a;}['_createDropdownButtons'](_0x528218){const {locale:_0x20b93e}=this['editor'],_0xecb48c=this['editor']['plugins']['get']('ImageInsertUI');return _0x528218['map'](_0x54ab08=>{const _0x374aa2=this['_createButton'](_0x65779a,_0x54ab08['type']);return _0x374aa2['withText']=!0x0,_0x374aa2['icon']=_0x54ab08['icon'],_0x374aa2['bind']('label')['to'](_0xecb48c,'isImageSelected',_0x318767=>_(_0x20b93e,_0x54ab08['type'],_0x318767?'Replace':'Insert')['text']),_0x374aa2;});}['_createMenuBarButtons'](_0x51aba5){return _0x51aba5['map'](_0x7ed2=>{const _0x2f0d1d=this['_createButton'](_0x5858a,_0x7ed2['type']);return _0x2f0d1d['icon']=_0x7ed2['icon'],_0x2f0d1d['label']=_0x7ed2['shortText'],_0x2f0d1d;});}}class F extends _0x28f53c{['focusTracker'];['focusCycler'];constructor(_0x1a211d){super(_0x1a211d),this['focusTracker']=new _0x239dcc(),this['focusCycler']=new _0x2bd272({'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(_0x37228e,_0x99359b){super(_0x37228e),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-'+_0x99359b}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x33ade9,_0x1adc45){const _0x4160f3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4750b5=>_0x4750b5<=_0x1adc45)['map'](_0x57cdda=>_0x33ade9['replace'](/\/$/,'')+'/-/resize/'+_0x57cdda+'x/\x20'+_0x57cdda+'w');return{'imageFallbackUrl':_0x33ade9,'imageSources':[{'srcset':_0x4160f3['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1adc45+'px)\x20100vw,\x20'+_0x1adc45+'px','type':'image/webp'}]};}function S(_0x2b7b36,_0x331d60,_0x283591){const _0x4d8dc6=_0x2b7b36['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4d8dc6?parseInt(_0x4d8dc6[0x1],0xa):_0x331d60,'height':_0x4d8dc6?parseInt(_0x4d8dc6[0x2],0xa):_0x283591};}function p(_0x5eb8e1,_0x49f0a){const _0x6a23d4=new(_0x54a521())(),_0x281eeb=_0x5eb8e1['plugins']['get']('ImageUtils'),_0x2f27cb=_0x5eb8e1['editing']['mapper']['toViewElement'](_0x49f0a),_0x5e3740=_0x281eeb['findViewImgElement'](_0x2f27cb),_0x373fcd=_0x5eb8e1['editing']['view']['domConverter']['viewToDom'](_0x5e3740),_0x33f061=_0x49f0a['getAttribute']('width'),_0x1934c6=_0x49f0a['getAttribute']('height'),_0x29d638='image-processing';_0x5eb8e1['editing']['view']['change'](_0x42881f=>{_0x42881f['addClass'](_0x29d638,_0x2f27cb),_0x42881f['setStyle']('aspect-ratio',_0x33f061+'/'+_0x1934c6,_0x5e3740);}),_0x6a23d4['listenTo'](_0x373fcd,'load',()=>{_0x6a23d4['stopListening'](_0x373fcd,'load'),_0x5eb8e1['editing']['view']['change'](_0x2a296d=>{_0x2a296d['removeClass'](_0x29d638,_0x2f27cb),_0x2a296d['removeStyle']('aspect-ratio',_0x5e3740);});});}function G(_0x58b282){if(Array['isArray'](_0x58b282)){const _0x9706a3=_0x58b282['map'](G);return _0x7104da=>_0x9706a3['some'](_0x98ca02=>_0x98ca02(_0x7104da));}if('origin'==_0x58b282){const _0x41888d=_0x2f90d9['window']['location']['origin'];return _0x4e016d=>new URL(_0x4e016d,_0x2f90d9['document']['baseURI'])['origin']==_0x41888d;}return'function'==typeof _0x58b282?_0x58b282:_0x58b282 instanceof RegExp?_0xacc8ec=>!(!_0xacc8ec['match'](_0x58b282)&&!_0xacc8ec['replace'](/^https?:\/\//,'')['match'](_0x58b282)):()=>!0x1;}function A(_0x18d82b,_0x49f919){return _0x4ec9b8(_0x18d82b['target'])['includes'](_0x49f919);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3b50f4(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2d4b33,_0x10aa38,_0x9589ea){super(),this['_editor']=_0x2d4b33,this['_editing']=_0x10aa38,this['_dialog']=_0x2d4b33['plugins']['get'](_0x830a86),this['_api']=_0x10aa38['ctxElement']['getAPI'](),this['_type']=_0x9589ea,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:_0x54852e,model:_0x192d1c}=this['_editor'],_0x3ded43=_0x192d1c['document']['selection']['getSelectedElement'](),_0x589e9e=_0x3ded43&&(_0x3ded43['is']('element','imageBlock')||_0x3ded43['is']('element','imageInline'));this['_formView']=new x(_0x54852e,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x40441e,'title':_(_0x54852e,this['_type'],_0x589e9e?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1947d0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x16bcf6=>!A(_0x16bcf6,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1b6e47}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5a3ae9=>{const _0x2b4713=_0x1b6e47['length'];for(const _0x3c5770 of _0x1b6e47){const _0x193ece=_0x3c5770===_0x1b6e47[_0x2b4713-0x1],{cdnUrl:_0x180f93,fileInfo:_0x56abc3}=_0x3c5770;if(!_0x180f93||!_0x56abc3)continue;const {width:_0x1f5390,height:_0x11c3ca}=_0x56abc3['imageInfo'],_0x1b457c=S(_0x180f93,_0x1f5390,_0x11c3ca),_0x3154f5=C(_0x180f93,_0x1b457c['width']),_0x1d7c25={'id':_0x56abc3['uuid'],'type':'image','attributes':{'imageDimension':_0x1b457c,..._0x3154f5}};this['_insertAsset'](_0x1d7c25,_0x193ece,_0x5a3ae9);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x574735=>{'idle'===_0x574735['detail']['status']&&!_0x574735['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1ba49c,_0x5afa83,_0x80ee26){const _0x8a263a=this['_editor']['model']['document']['selection'],_0x19f747=_0x8a263a['getSelectedElement'](),_0x323904=!(!_0x19f747||!_0x19f747['is']('element','imageInline'));_0x80ee26['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1ba49c,_0x323904),_0x5afa83||_0x80ee26['setSelection'](_0x8a263a['getLastPosition']());}['_insertImage'](_0x36d3b9,_0x255811){const _0x10b58e=this['_editor'],{imageDimension:_0x316914,imageFallbackUrl:_0x2a752e,imageSources:_0x37e4c2}=_0x36d3b9['attributes'];_0x10b58e['execute']('insertImage',{'imageType':_0x255811?'imageInline':null,'source':{'uploadcareImageId':_0x36d3b9['id'],'src':_0x2a752e,'sources':_0x37e4c2,..._0x316914}});}}class w extends _0x2ab42d{['_editing'];['_controller']=null;static get['requires'](){return[_0x830a86,o];}constructor(_0x28bfcf){super(_0x28bfcf),this['_editing']=_0x28bfcf['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4528b1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4528b1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3bd8a3,..._0x51a504}){return _0x16c596(_0x3bd8a3,_0x51a504);}static['getInfo'](_0x4cde7a,_0x4b834e){return _0x460408(_0x4cde7a,_0x4b834e);}}class f extends _0x3d96dc{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x435e26,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3698df=this['editor'];if(!!!_0x3698df['config']['get']('uploadcare'))return;_0x3698df['plugins']['get'](_0x435e26)['createUploadAdapter']=_0xaf0c2a=>new k(_0xaf0c2a,_0x3698df),_0x3698df['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2c69e8,{imageElement:_0xd8ca1,data:_0x4192e8})=>{_0x3698df['model']['change'](_0x4e55f3=>{_0x4e55f3['setAttribute']('uploadcareImageId',_0x4192e8['uploadcareImageId'],_0xd8ca1);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1c7e45,_0x578cd4){this['loader']=_0x1c7e45,this['editor']=_0x578cd4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x301335=await this['loader']['file'];return j['upload']({'file':_0x301335,'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':_0x2a239a=>{_0x2a239a&&_0x2a239a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2a239a['value']);}})['then'](async _0x3825bf=>{const {imageFallbackUrl:_0x4b97c9,imageSources:_0x4f9049}=C(_0x3825bf['cdnUrl'],_0x3825bf['imageInfo']['width']);return{'uploadcareImageId':_0x3825bf['uuid'],'default':_0x4b97c9,'sources':_0x4f9049};})['catch'](()=>{const _0x594411=t('Cannot\x20upload\x20file:')+('\x20'+_0x301335['name']+'.');return Promise['reject'](_0x594411);});}['abort'](){this['controller']['abort']();}}class o extends _0x3d96dc{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x830a86];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x2b7d45){super(_0x2b7d45),this['ucContextId']=_0x21c21c();}['init'](){const _0x3cf34f=this['editor'];_0x3cf34f['commands']['add']('uploadcare',new w(_0x3cf34f));}['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 _0x245e84=_0x2f90d9['document']['querySelector']('input[uploadcare-file-input]');_0x245e84&&_0x245e84['remove']();}),async function(_0x1ff9ef){const _0x3b1af3=_0x104baf([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]),_0x34780e=0x535f8c3a,_0x424541=0x5358f15a^_0x34780e,_0x4cb9bc=window[_0x104baf([0x44,0x61,0x74,0x65])][_0x104baf([0x6e,0x6f,0x77])](),_0x5160e9=_0x1ff9ef[_0x104baf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4feefe=new window[(_0x104baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a18e5=>{_0x5160e9[_0x104baf([0x6f,0x6e,0x63,0x65])](_0x104baf([0x72,0x65,0x61,0x64,0x79]),_0x1a18e5);}),_0xcd1dc7={[_0x104baf([0x6b,0x74,0x79])]:_0x104baf([0x45,0x43]),[_0x104baf([0x75,0x73,0x65])]:_0x104baf([0x73,0x69,0x67]),[_0x104baf([0x63,0x72,0x76])]:_0x104baf([0x50,0x2d,0x32,0x35,0x36]),[_0x104baf([0x78])]:_0x104baf([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]),[_0x104baf([0x79])]:_0x104baf([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]),[_0x104baf([0x61,0x6c,0x67])]:_0x104baf([0x45,0x53,0x32,0x35,0x36])},_0x544929=_0x5160e9[_0x104baf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x104baf([0x67,0x65,0x74])](_0x104baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x479822(){let _0x12b780,_0x26f50a=null,_0x1b7397=null;try{if(_0x544929==_0x104baf([0x47,0x50,0x4c]))return _0x104baf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12b780=_0x4fe559(),!_0x12b780)return _0x104baf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12b780[_0x104baf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b7397=_0x7fb8eb(_0x12b780[_0x104baf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12b780[_0x104baf([0x6a,0x74,0x69])])),await _0x156a7a()?_0x571998()?_0x371e89()?_0x104baf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11b7b9()?(_0x12b780[_0x104baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x104baf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26f50a=_0x444204(_0x104baf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12b780[_0x104baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x104baf([0x74,0x72,0x69,0x61,0x6c])&&(_0x26f50a=_0x444204(_0x104baf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe1e22()):_0x104baf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x104baf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x104baf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x104baf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x371e89(){const _0x4307af=[_0x104baf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x104baf([0x74,0x72,0x69,0x61,0x6c])][_0x104baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12b780[_0x104baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cb9bc/0x3e8:0xe10*_0x424541;return _0x12b780[_0x104baf([0x65,0x78,0x70])]<_0x4307af;}function _0x571998(){const _0x3a8422=_0x12b780[_0x104baf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a8422&&(!!_0x3a8422[_0x104baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104baf([0x2a]))||!!_0x3a8422[_0x104baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104baf([0x55,0x50,0x4c,0x43])));}function _0x11b7b9(){const _0x38b295=_0x12b780[_0x104baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38b295||0x0==_0x38b295[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5cd1c6}=new URL(window[_0x104baf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x38b295[_0x104baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cd1c6))return!0x0;const _0x266d96=_0x5cd1c6[_0x104baf([0x73,0x70,0x6c,0x69,0x74])](_0x104baf([0x2e]));return _0x38b295[_0x104baf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x187aad=>_0x187aad[_0x104baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104baf([0x2a])))[_0x104baf([0x6d,0x61,0x70])](_0x22f804=>_0x22f804[_0x104baf([0x73,0x70,0x6c,0x69,0x74])](_0x104baf([0x2e])))[_0x104baf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41124b=>_0x41124b[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x266d96[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x104baf([0x6d,0x61,0x70])](_0x1d2b1b=>Array(_0x266d96[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d2b1b[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x104baf([0x66,0x69,0x6c,0x6c])](_0x1d2b1b[0x0]===_0x104baf([0x2a])?_0x104baf([0x2a]):'')[_0x104baf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d2b1b))[_0x104baf([0x73,0x6f,0x6d,0x65])](_0x2895f=>_0x266d96[_0x104baf([0x65,0x76,0x65,0x72,0x79])]((_0x2ef62f,_0x98dfad)=>_0x2895f[_0x98dfad]===_0x2ef62f||_0x2895f[_0x98dfad]===_0x104baf([0x2a])));}function _0xe1e22(){return _0x26f50a&&_0x1b7397?new window[(_0x104baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ee31c,_0x457db9)=>{_0x26f50a[_0x104baf([0x74,0x68,0x65,0x6e])](_0x5ee31c,_0x457db9),_0x1b7397[_0x104baf([0x74,0x68,0x65,0x6e])](_0x5a807a=>{_0x5a807a!=_0x104baf([0x56,0x61,0x6c,0x69,0x64])&&_0x5ee31c(_0x5a807a);},_0x457db9);}):_0x26f50a||_0x1b7397||_0x104baf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x7fb8eb(_0x348ed5,_0x445da4){return new window[(_0x104baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6a17d9=>{if(_0x4241de())return _0x6a17d9(_0x104baf([0x56,0x61,0x6c,0x69,0x64]));_0x57d773(),_0x5160e9[_0x104baf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x104baf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4193ee=!0x1;const _0x4d2b76=_0x21c21c();function _0x53d1a2(_0x38b912){return!!_0x38b912&&(typeof _0x38b912===_0x104baf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38b912===_0x104baf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38b912[_0x104baf([0x74,0x68,0x65,0x6e])]===_0x104baf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38b912[_0x104baf([0x63,0x61,0x74,0x63,0x68])]===_0x104baf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x567403(_0x3f7654){_0x1d808a(_0x3f7654)[_0x104baf([0x74,0x68,0x65,0x6e])](_0x11c947=>{if(!_0x11c947||_0x11c947[_0x104baf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x104baf([0x6f,0x6b]))return _0x104baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7b7131(_0x9be490(_0x4d2b76+_0x445da4))!=_0x11c947[_0x104baf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x104baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x104baf([0x56,0x61,0x6c,0x69,0x64]);})[_0x104baf([0x74,0x68,0x65,0x6e])](_0xa5daa9=>(_0x20de0e(),_0xa5daa9),()=>{const _0x525dc9=_0xfd2a87();return null==_0x525dc9?(_0x20de0e(),_0x104baf([0x56,0x61,0x6c,0x69,0x64])):_0x104baf(_0x4cb9bc-_0x525dc9>(0x7753083a^_0x34780e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x104baf([0x74,0x68,0x65,0x6e])](_0x6a17d9)[_0x104baf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6a17d9(_0x104baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x189ed9=0x536962ba^_0x34780e;function _0x20de0e(){const _0x53b8cf=_0x104baf([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b7131(_0x9be490(_0x348ed5)),_0x1712eb=_0x56bbd0(_0x7b7131(window[_0x104baf([0x4d,0x61,0x74,0x68])][_0x104baf([0x63,0x65,0x69,0x6c])](_0x4cb9bc/_0x189ed9)));window[_0x104baf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x104baf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53b8cf,_0x1712eb);}function _0xfd2a87(){const _0x518b8c=_0x104baf([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b7131(_0x9be490(_0x348ed5)),_0x5f11cd=window[_0x104baf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x104baf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x518b8c);return _0x5f11cd?window[_0x104baf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56bbd0(_0x5f11cd),0x10)*_0x189ed9:null;}function _0x1d808a(_0x50a361){return new window[(_0x104baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a9304,_0x4ebc57)=>{_0x50a361[_0x104baf([0x74,0x68,0x65,0x6e])](_0x3a9304,_0x4ebc57),window[_0x104baf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ebc57,0x535e58fa^_0x34780e);});}}_0x5160e9[_0x104baf([0x6f,0x6e])](_0x104baf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e43b7,_0x4feafd)=>{if(_0x4feafd[0x0]!=_0x348ed5)return _0x6a17d9(_0x104baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4feafd[0x1]={..._0x4feafd[0x1],[_0x104baf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d2b76};},{[_0x104baf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x104baf([0x68,0x69,0x67,0x68])}),_0x5160e9[_0x104baf([0x6f,0x6e])](_0x104baf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x46bb66=>{_0x53d1a2(_0x46bb66[_0x104baf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4193ee=!0x0,_0x567403(_0x46bb66[_0x104baf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x104baf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x104baf([0x6c,0x6f,0x77])}),_0x4feefe[_0x104baf([0x74,0x68,0x65,0x6e])](()=>{_0x4193ee||_0x6a17d9(_0x104baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4241de(){return _0x5160e9[_0x104baf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x104baf([0x76,0x69,0x65,0x77])][_0x104baf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x104baf([0x61,0x75,0x74,0x6f]);}function _0x57d773(){_0x5160e9[_0x104baf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x104baf([0x76,0x69,0x65,0x77])][_0x104baf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x104baf([0x61,0x75,0x74,0x6f]);}}function _0x444204(_0x252342){const _0x4919a8=[new window[(_0x104baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29de4c=>setTimeout(_0x29de4c,0x5356b2f6^_0x34780e)),_0x4feefe[_0x104baf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x104baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5874e2=>{let _0x387681=0x0;_0x5160e9[_0x104baf([0x6d,0x6f,0x64,0x65,0x6c])][_0x104baf([0x6f,0x6e])](_0x104baf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x465510,_0x5bfced)=>{_0x5bfced[0x0][_0x104baf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x387681++,_0x387681==(0x535f89d2^_0x34780e)&&(_0x5874e2(),_0x465510[_0x104baf([0x6f,0x66,0x66])]());});}))];return window[_0x104baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x104baf([0x72,0x61,0x63,0x65])](_0x4919a8)[_0x104baf([0x74,0x68,0x65,0x6e])](()=>_0x252342);}async function _0x48dd5(){await _0x4feefe,_0x5160e9[_0x104baf([0x6d,0x6f,0x64,0x65,0x6c])][_0x104baf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fa834,_0x5160e9[_0x104baf([0x6d,0x6f,0x64,0x65,0x6c])][_0x104baf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fa834,_0x5160e9[_0x104baf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x104baf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e7234(_0x2a1e06){const _0x46e603=_0x48bebe();_0x5160e9[_0x46e603]=_0x104baf([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a1e06,_0x2a1e06!=_0x104baf([0x56,0x61,0x6c,0x69,0x64])&&_0x48dd5();}function _0x48bebe(){const _0x8a416f=window[_0x104baf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x104baf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x104baf([0x6e,0x6f,0x77])]())[_0x104baf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x104baf([0x2e]),'');let _0x179db9=_0x104baf([0x68]);for(let _0xa2039f=0x0;_0xa2039f<_0x8a416f[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa2039f+=0x2){let _0x3248db=window[_0x104baf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8a416f[_0x104baf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa2039f,_0xa2039f+0x2));_0x3248db>=_0x3b1af3[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3248db-=_0x3b1af3[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x179db9+=_0x3b1af3[_0x3248db];}return _0x179db9;}function _0x4fe559(){const _0x117440=_0x544929[_0x104baf([0x73,0x70,0x6c,0x69,0x74])](_0x104baf([0x2e]));if(0x3!=_0x117440[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e41b0(_0x117440[0x1]);function _0x3e41b0(_0x9529f5){const _0x18bdd8=_0x400998(_0x9529f5);return _0x18bdd8&&_0x46463e()?_0x18bdd8:null;function _0x46463e(){const _0x538979=_0x18bdd8[_0x104baf([0x6a,0x74,0x69])],_0x30d9ff=window[_0x104baf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x538979[_0x104baf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x538979[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2109ef={..._0x18bdd8,[_0x104baf([0x6a,0x74,0x69])]:_0x538979[_0x104baf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x538979[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2109ef[_0x104baf([0x76,0x63])],_0x9be490(_0x2109ef)==_0x30d9ff;}}}async function _0x156a7a(){let _0x503d3b=!0x0;try{const _0x830f26=_0x544929[_0x104baf([0x73,0x70,0x6c,0x69,0x74])](_0x104baf([0x2e])),[_0x49aa12,_0x1bab26,_0x37050f]=_0x830f26;return _0xb0c8ed(_0x49aa12),await _0x133bc9(_0x49aa12,_0x1bab26,_0x37050f),_0x503d3b;}catch{return!0x1;}function _0xb0c8ed(_0x3e635b){const _0x4f0343=_0x400998(_0x3e635b);_0x4f0343&&_0x4f0343[_0x104baf([0x61,0x6c,0x67])]==_0x104baf([0x45,0x53,0x32,0x35,0x36])||(_0x503d3b=!0x1);}async function _0x133bc9(_0x39d4b8,_0x582b92,_0x17dbd4){const _0x3109f0=window[_0x104baf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x104baf([0x66,0x72,0x6f,0x6d])](_0x356e3f(_0x17dbd4),_0x43ef6b=>_0x43ef6b[_0x104baf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a1f72=new window[(_0x104baf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x104baf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39d4b8+_0x104baf([0x2e])+_0x582b92),_0xb00c3a=window[_0x104baf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x104baf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb00c3a)return;const _0x1c71a9=await _0xb00c3a[_0x104baf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x104baf([0x6a,0x77,0x6b]),_0xcd1dc7,{[_0x104baf([0x6e,0x61,0x6d,0x65])]:_0x104baf([0x45,0x43,0x44,0x53,0x41]),[_0x104baf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x104baf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x104baf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb00c3a[_0x104baf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x104baf([0x6e,0x61,0x6d,0x65])]:_0x104baf([0x45,0x43,0x44,0x53,0x41]),[_0x104baf([0x68,0x61,0x73,0x68])]:{[_0x104baf([0x6e,0x61,0x6d,0x65])]:_0x104baf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c71a9,_0x3109f0,_0x2a1f72)||(_0x503d3b=!0x1);}}function _0x400998(_0x2646b8){return _0x2646b8[_0x104baf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x104baf([0x65,0x79]))?JSON[_0x104baf([0x70,0x61,0x72,0x73,0x65])](_0x356e3f(_0x2646b8)):null;}function _0x356e3f(_0x6f4d68){return window[_0x104baf([0x61,0x74,0x6f,0x62])](_0x6f4d68[_0x104baf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x104baf([0x2b]))[_0x104baf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x104baf([0x2f])));}function _0x9be490(_0x37da97){let _0x53e238=0x1505;function _0x3922fd(_0x1b3535){for(let _0x485d2b=0x0;_0x485d2b<_0x1b3535[_0x104baf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x485d2b++){const _0x5904a1=_0x1b3535[_0x104baf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x485d2b);_0x53e238=(_0x53e238<<0x5)+_0x53e238+_0x5904a1,_0x53e238&=_0x53e238;}}function _0x3155ed(_0x52c567){Array[_0x104baf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52c567)?_0x52c567[_0x104baf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3155ed):_0x52c567&&typeof _0x52c567==_0x104baf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x104baf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52c567)[_0x104baf([0x73,0x6f,0x72,0x74])]()[_0x104baf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x533fa6,_0x140545])=>{_0x3922fd(_0x533fa6),_0x3155ed(_0x140545);}):_0x3922fd(window[_0x104baf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52c567));}return _0x3155ed(_0x37da97),_0x53e238>>>0x0;}function _0x7b7131(_0x12e107){return _0x12e107[_0x104baf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x104baf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x104baf([0x30]));}function _0x56bbd0(_0x494897){return _0x494897[_0x104baf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x104baf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x104baf([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fa834(){}function _0x104baf(_0x7bc389){return _0x7bc389['map'](_0xbae20b=>String['fromCharCode'](_0xbae20b))['join']('');}_0x3e7234(await _0x479822());}(this);}['_initSchema'](){const _0x2c4f2a=this['editor']['model']['schema'];_0x2c4f2a['isRegistered']('imageBlock')&&_0x2c4f2a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2c4f2a['isRegistered']('imageInline')&&_0x2c4f2a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3509ba=this['editor'];_0x3509ba['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3509ba['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5cfe33=>_0x5cfe33['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x36d0b8=_0x3509ba['commands']['get']('replaceImageSource');_0x36d0b8&&this['listenTo'](_0x36d0b8,'cleanupImage',(_0x5cd557,[_0x326a8f,_0x4fb37e])=>{_0x326a8f['removeAttribute']('uploadcareImageId',_0x4fb37e);});}['_initConfig'](){const _0x55a403=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2e76f0=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1c2155(_0x2f90d9['document'],'uc-config',{..._0x55a403,'pubkey':_0x2e76f0,'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']=_0x598149=>{if('closeMax'==_0x598149)return'#uc-icon-arrow-down';},_0x2f90d9['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1c2155(_0x2f90d9['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2f90d9['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1de2a3=this['editor']['commands']['get']('insertImage');_0x1de2a3&&this['listenTo'](_0x1de2a3,'execute',()=>{const _0x48659f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x48659f&&_0x48659f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x48659f);});});const _0x518e53=this['editor']['commands']['get']('uploadcareImageReplace');_0x518e53&&this['listenTo'](_0x518e53,'execute',()=>{const _0x4bb636=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4bb636&&_0x4bb636['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4bb636);});});}}class tt extends _0x3d96dc{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x559ba0){super(_0x559ba0),_0x559ba0['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x32a09e['defineComponents'](_0x32a09e),this['_defineLocale']();}['_defineLocale'](){const _0x2cc7fd=this['editor']['config']['get']('uploadcare.locale'),_0x151245=this['editor']['locale']['contentLanguage'];_0x2cc7fd&&_0x32a09e['defineLocale'](_0x151245,_0x2cc7fd);}}class ii extends _0x28f53c{constructor(_0x43e059){super(_0x43e059);const t=_0x43e059['t'],_0x404af8=this['bindTemplate'],_0x4fc2c8=new _0x569cb2();_0x4fc2c8['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':[_0x4fc2c8,{'text':_0x404af8['to']('imageUploadProgress',_0x33ca41=>t('Loading\x20image...')+'\x20('+(_0x33ca41||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 _0x28f53c{constructor(_0x9261a6){super(_0x9261a6);const t=_0x9261a6['t'];this['set']('errorType',null);const _0x5c1884=new _0x65779a(_0x9261a6);_0x5c1884['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c1884['withText']=!0x0,_0x5c1884['class']='ck-button-action',_0x5c1884['on']('execute',()=>{this['fire']('retry');}),_0x5c1884['bind']('isVisible')['to'](this,'errorType',_0x55f4dd=>'NotFound'!==_0x55f4dd);const _0x29923b=new _0x46c00b();_0x29923b['content']=_0x5534a1,_0x29923b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x343195=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':[_0x29923b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x343195['to']('errorType',_0xd303d3=>t('NotFound'!==_0xd303d3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c1884]},{'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 _0x28f53c{constructor(_0x4553bc,_0x4de44d){super(_0x4553bc);const _0x273fcc=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4de44d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x273fcc['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4dd2d3,_0x3b6af2,_0x176a6d){super(_0x4dd2d3),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4dd2d3),this['_errorView']=new ti(_0x4dd2d3),this['_editingView']=new ei(_0x4dd2d3,_0x176a6d),this['_focusableView']=new _0x28f53c(_0x4dd2d3),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3b6af2),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'],_0x582fdf=>{this['_addUploadcareImageEditorListeners'](_0x582fdf);});}),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'](_0x5352f3,_0x1c0802){const _0x198f88='uc-cloud-image-editor',_0x222b54=_0x5352f3['querySelector'](_0x198f88);if(_0x222b54)return _0x1c0802(_0x222b54);const _0x4d61b2=new MutationObserver(_0x22e492=>{const _0x526b3c=_0x22e492['filter'](_0x5ad08e=>_0x5ad08e['target']===_0x5352f3&&_0x5ad08e['addedNodes']['length']>0x0&&_0x5ad08e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x198f88);_0x526b3c['length']&&(_0x4d61b2['disconnect'](),_0x1c0802(_0x526b3c[0x0]['addedNodes'][0x0]));});_0x4d61b2['observe'](_0x5352f3,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x576c20){_0x576c20['addEventListener']('apply',_0x48566e=>{this['fire']('apply',{'imageSrc':_0x48566e['detail']['cdnUrl']});}),_0x576c20['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x3b50f4(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5e274e,_0x37c9a1,_0x32e859){super(),this['_editor']=_0x5e274e,this['_dialog']=_0x37c9a1,this['_imageElement']=_0x32e859,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 _0x483649=this['_imageElement'],_0x2550ae=_0x483649['getAttribute']('uploadcareImageId'),_0x25b366=_0x483649['getAttribute']('src');if(_0x2550ae)await this['_loadImageInfo'](_0x2550ae,_0x25b366);else{if(this['_imageCache']['has'](_0x25b366)){const _0x35417b=this['_imageCache']['get'](_0x25b366);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x35417b['url'],this['imageDimension']=_0x35417b['dimension'],this['imageId']=_0x35417b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4fb1f6}=this['_editor'],t=_0x4fb1f6['t'],_0x3a05ad=new X(_0x4fb1f6,this['imageStatus'],this['_attributes']);_0x3a05ad['bind']('status')['to'](this,'imageStatus'),_0x3a05ad['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3a05ad['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3a05ad['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3a05ad,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x301683,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3a05ad,'position':_0x1947d0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3a05ad['focus']();},'onHide':()=>{_0x3a05ad['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2599e3=>!A(_0x2599e3,_0x3a05ad['element'])}});}['_loadImageInfo'](_0x1b3c86,_0x2b1596){return j['getInfo'](_0x1b3c86,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x959b15=>{const {width:_0x20d6c5,height:_0x396fdf}=_0x959b15['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b1596,this['imageDimension']={'width':_0x20d6c5,'height':_0x396fdf},this['imageId']=_0x1b3c86;})['catch'](_0x1a0f4d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a0f4d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x464c91,_0x498ba6){return this['_getImageAsFile'](_0x464c91)['then'](_0x2df644=>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':_0x498ba6['signal'],'file':_0x2df644,'onProgress':_0x2ed3e5=>{_0x2ed3e5&&_0x2ed3e5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2ed3e5['value']));}}))['then'](_0x5d5a07=>{const {width:_0x2aff9d,height:_0x3bd4c5}=_0x5d5a07['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d5a07['cdnUrl'],this['imageDimension']={'width':_0x2aff9d,'height':_0x3bd4c5},this['imageId']=_0x5d5a07['uuid'],this['imageUploadProgress']=null;const _0x31771f=_0x464c91['getAttribute']('src');this['_imageCache']['set'](_0x31771f,{'id':_0x5d5a07['uuid'],'url':_0x5d5a07['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x32aa17=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x32aa17['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x419ef1,_0x4e20bc){_0x419ef1['on']('apply',(_0x5cb9de,_0x15103b)=>{this['_replaceImage'](_0x4e20bc,_0x15103b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x419ef1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x419ef1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x22be6d,_0x23be87,_0x2f8923){const _0x8d5464=this['_editor'],{width:_0x59dbba,height:_0x5d13d6}=S(_0x23be87,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4d2d81,imageSources:_0x5c9fc4}=C(_0x23be87,_0x59dbba);_0x8d5464['model']['change'](_0xfcbc64=>{if('$graveyard'===_0x22be6d['root']['rootName']){_0x8d5464['execute']('insertImage',{'imageType':_0x22be6d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x22be6d['getAttributes']()),'uploadcareImageId':_0x2f8923,'src':_0x4d2d81,'sources':_0x5c9fc4,'width':_0x59dbba,'height':_0x5d13d6}});const _0x231b41=_0x22be6d['getChildren']();_0x22be6d=_0x8d5464['model']['document']['selection']['getSelectedElement']();for(const _0x34b862 of _0x231b41)_0xfcbc64['append'](_0xfcbc64['cloneElement'](_0x34b862),_0x22be6d);}else _0xfcbc64['setSelection'](_0x22be6d,'on'),_0x8d5464['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x22be6d['getAttributes']()),'uploadcareImageId':_0x2f8923,'src':_0x4d2d81,'sources':_0x5c9fc4,'width':_0x59dbba,'height':_0x5d13d6},_0x22be6d);_0xfcbc64['setSelection'](_0x22be6d,'on');});}async['_getImageAsFile'](_0x4ec6f6){const _0x38b94a=_0x2f90d9['window'],_0x1df231=_0x2f90d9['document']['location']['href'],_0x3fe24e=new _0x38b94a['URL'](_0x4ec6f6['getAttribute']('src'),_0x1df231);if('data:'===_0x3fe24e['protocol']){const _0x5f22d4=_0x3fe24e['href']['split'](','),_0x233299=_0x5f22d4[0x0]['match'](/:(.*?);/)[0x1],_0x9bb030=_0x233299['split']('/')[0x1],_0x24ac19=_0x38b94a['atob'](_0x5f22d4[_0x5f22d4['length']-0x1]);let _0x455084=_0x24ac19['length'];const _0x57644=new _0x38b94a['Uint8Array'](_0x455084);for(;_0x455084--;)_0x57644[_0x455084]=_0x24ac19['charCodeAt'](_0x455084);return new _0x38b94a['File']([_0x57644],'image.'+_0x9bb030,{'type':_0x233299});}const _0x195160=_0x3fe24e['href']['split']('/'),_0x54023c=_0x195160[_0x195160['length']-0x1],_0xa780ce=_0x54023c['split']('.')[0x1];return _0x38b94a['fetch'](_0x3fe24e['href'])['then'](_0xb4483f=>_0xb4483f['clone']()['blob']())['then'](_0x2d30a3=>new _0x38b94a['File']([_0x2d30a3],_0x54023c,{'type':'image/'+_0xa780ce}));}}class O extends _0x2ab42d{['imageEditController'];static get['requires'](){return[_0x830a86];}['_isEditable'];constructor(_0xd7a378){super(_0xd7a378),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x454abc){const _0x3b3511=G(_0x454abc);return _0x3f99d8=>!(!_0x3f99d8||!_0x3f99d8['is']('element','imageBlock')&&!_0x3f99d8['is']('element','imageInline'))&&(!!_0x3f99d8['hasAttribute']('uploadcareImageId')||!!_0x3f99d8['hasAttribute']('src')&&_0x3b3511(_0x3f99d8['getAttribute']('src')));}(_0xd7a378['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xb77375=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xb77375);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x587da5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x587da5&&(_0x587da5['is']('element','imageBlock')||_0x587da5['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x830a86),_0x587da5),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2ab42d{['refresh'](){const _0x745267=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x745267&&(_0x745267['is']('element','imageBlock')||_0x745267['is']('element','imageInline')));}['execute'](_0x2a8d76){const _0x56f66e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1dbeaf=>{_0x1dbeaf['setAttributes'](_0x2a8d76,_0x56f66e),_0x1dbeaf['removeAttribute']('srcset',_0x56f66e),_0x1dbeaf['removeAttribute']('sizes',_0x56f66e);});}}class m extends _0x3d96dc{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4d8809,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31e9fb}=this;_0x31e9fb['commands']['add']('uploadcareImageEdit',new O(_0x31e9fb)),_0x31e9fb['commands']['add']('uploadcareImageReplace',new R(_0x31e9fb));}}class g extends _0x3d96dc{['_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 _0x338531=this['editor'];_0x338531['ui']['componentFactory']['add']('uploadcareImageEdit',_0x591e7c=>{const _0x48a352=_0x338531['commands']['get']('uploadcareImageEdit'),_0x355182=new _0x65779a(_0x591e7c),t=_0x591e7c['t'];return _0x355182['set']({'icon':_0x301683,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x355182['bind']('isEnabled')['to'](_0x48a352),_0x355182['bind']('isOn')['to'](_0x48a352,'isActive'),this['listenTo'](_0x355182,'execute',()=>{_0x338531['execute']('uploadcareImageEdit'),_0x338531['editing']['view']['focus']();}),_0x355182;}),this['_initConfig']();}['_initConfig'](){const _0x12a886=_0x1c2155(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x12a886),this['listenTo'](this['editor'],'destroy',()=>{_0x12a886['remove']();});}}class et extends _0x3d96dc{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x3a8bb6,Command as _0x274d06}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x464c33,IconGooglePhotos as _0x212105,IconGoogleDrive as _0x43ca6d,IconFacebook as _0x3e1917,IconDropbox as _0xbcea61,IconUploadcareLink as _0x41e069,IconUploadcareImageUpload as _0x2dba7c,IconError as _0x287524,IconUploadcareImageEdit as _0x3f920d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1570bf,MenuBarMenuListItemButtonView as _0x44fb14,View as _0x5819e1,FocusCycler as _0x55afe3,Dialog as _0x2313af,DialogViewPosition as _0x1dda78,SpinnerView as _0x3da385,IconView as _0x4f1a05,Notification as _0xd4a88a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4b293a,DomEmitterMixin as _0x18fcdb,global as _0x23e51b,getAncestors as _0x40f741,ObservableMixin as _0x9202d9,uid as _0xefd9cc,createElement as _0xef8ff4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5ae976}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5e451b,info as _0x1b3102}from'@uploadcare/upload-client';import*as _0x9e40f4 from'@uploadcare/file-uploader';var i=function(_0x331d50){return _0x331d50['Local']='local',_0x331d50['URL']='url',_0x331d50['Dropbox']='dropbox',_0x331d50['GDrive']='gdrive',_0x331d50['Facebook']='facebook',_0x331d50['GPhotos']='gphotos',_0x331d50['OneDrive']='onedrive',_0x331d50;}({});function _(_0x2aa9fd,_0x20cd5,_0x9d16a8){const t=_0x2aa9fd['t'],_0xecffc4=_0x2aa9fd['t'];switch(_0x20cd5){case i['Local']:return{'text':_0xecffc4('Insert'===_0x9d16a8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xecffc4('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x9d16a8?_0xecffc4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xecffc4('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x9d16a8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x9d16a8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x9d16a8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x9d16a8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x9d16a8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x20cd5;}}class e extends _0x3a8bb6{['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 _0x2bdc2e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb3f5c1;for(const _0x595921 in _0x2bdc2e){const _0x548ad2=_0x595921,_0x188770=_0x2bdc2e[_0x548ad2];if('uploadcareLicenseKeyValid'==_0x188770||'uploadcareLicenseKeyInvalid'==_0x188770||'uploadcareLicenseKeyExpired'==_0x188770||'uploadcareLicenseKeyDomainLimit'==_0x188770||'uploadcareLicenseKeyNotAllowed'==_0x188770||'uploadcareLicenseKeyEvaluationLimit'==_0x188770||'uploadcareLicenseKeyTrialLimit'==_0x188770||'uploadcareLicenseKeyUsageLimit'==_0x188770){delete _0x2bdc2e[_0x548ad2],_0xb3f5c1=_0x188770,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xb3f5c1&&_0x2bdc2e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xb3f5c1&&_0x2bdc2e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xb3f5c1&&_0x2bdc2e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xb3f5c1&&_0x2bdc2e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xb3f5c1&&_0x2bdc2e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xb3f5c1&&_0x2bdc2e['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xb3f5c1&&_0x2bdc2e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xdc9ed9}=this,_0x54f249=_0xdc9ed9['commands']['get']('uploadcare');if(!_0x54f249)return;const _0xa2c2e3=this['_normalizeConfigSourceList'](_0xdc9ed9['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1d2fa0,_0xb05273)=>{const _0x5b857f=this['_getIntegrationKey'](_0xb05273['type']);return _0x1d2fa0[_0x5b857f]||(_0x1d2fa0[_0x5b857f]=[]),_0x1d2fa0[_0x5b857f]['push'](_0xb05273),_0x1d2fa0;},{});_0xdc9ed9['plugins']['has']('ImageInsertUI')&&_0xdc9ed9['commands']['get']('uploadcare')&&Object['entries'](_0xa2c2e3)['forEach'](([_0x53a153,_0x7e9b34])=>{_0xdc9ed9['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x53a153,'observable':()=>_0x54f249,'buttonViewCreator':()=>this['_createToolbarButton'](_0x7e9b34),'formViewCreator':()=>this['_createDropdownButtons'](_0x7e9b34),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x7e9b34),'override':'assetManager'!==_0x53a153});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1011a5){const {locale:_0x28ab34}=this['editor'];return _0x1011a5['map'](_0x2506e9=>{const _0x20af5e=_(_0x28ab34,_0x2506e9,'Insert');switch(_0x2506e9){case i['Local']:return{'icon':_0x2dba7c,'type':i['Local'],..._0x20af5e};case i['URL']:return{'icon':_0x41e069,'type':i['URL'],..._0x20af5e};case i['Dropbox']:return{'icon':_0xbcea61,'type':i['Dropbox'],..._0x20af5e};case i['Facebook']:return{'icon':_0x3e1917,'type':i['Facebook'],..._0x20af5e};case i['GDrive']:return{'icon':_0x43ca6d,'type':i['GDrive'],..._0x20af5e};case i['GPhotos']:return{'icon':_0x212105,'type':i['GPhotos'],..._0x20af5e};case i['OneDrive']:return{'icon':_0x464c33,'type':i['OneDrive'],..._0x20af5e};}});}['_getIntegrationKey'](_0xc3e4ac){switch(_0xc3e4ac){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x545586,_0x62c243){const _0x1dc3a1=this['editor'],_0x5c3056=new _0x545586(_0x1dc3a1['locale']),_0x1d2512=_0x1dc3a1['commands']['get']('uploadcare');return _0x5c3056['bind']('isEnabled')['to'](_0x1d2512),_0x5c3056['on']('execute',()=>{_0x1d2512['execute'](_0x62c243);}),_0x5c3056;}['_createToolbarButton'](_0x8f3ed2){const {locale:_0x3311a2}=this['editor'],_0x1f06fb=this['editor']['plugins']['get']('ImageInsertUI'),_0x3071ac=_0x8f3ed2[0x0],_0x371398=this['_createButton'](_0x1570bf,_0x3071ac['type']);return _0x371398['icon']=_0x3071ac['icon'],_0x371398['bind']('label')['to'](_0x1f06fb,'isImageSelected',_0x14ca1e=>_(_0x3311a2,_0x3071ac['type'],_0x14ca1e?'Replace':'Insert')['text']),_0x371398['tooltip']=!0x0,_0x371398;}['_createDropdownButtons'](_0x4c3c49){const {locale:_0x2c72cf}=this['editor'],_0x481180=this['editor']['plugins']['get']('ImageInsertUI');return _0x4c3c49['map'](_0x5e2921=>{const _0x574f71=this['_createButton'](_0x1570bf,_0x5e2921['type']);return _0x574f71['withText']=!0x0,_0x574f71['icon']=_0x5e2921['icon'],_0x574f71['bind']('label')['to'](_0x481180,'isImageSelected',_0x25dfa5=>_(_0x2c72cf,_0x5e2921['type'],_0x25dfa5?'Replace':'Insert')['text']),_0x574f71;});}['_createMenuBarButtons'](_0x2c7e4d){return _0x2c7e4d['map'](_0x19b82c=>{const _0x4f4ec3=this['_createButton'](_0x44fb14,_0x19b82c['type']);return _0x4f4ec3['icon']=_0x19b82c['icon'],_0x4f4ec3['label']=_0x19b82c['shortText'],_0x4f4ec3;});}}class F extends _0x5819e1{['focusTracker'];['focusCycler'];constructor(_0x16f554){super(_0x16f554),this['focusTracker']=new _0x4b293a(),this['focusCycler']=new _0x55afe3({'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(_0x3725bb,_0x275b1a){super(_0x3725bb),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-'+_0x275b1a}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x807569,_0x1be371){const _0x473d9b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4f6887=>_0x4f6887<=_0x1be371)['map'](_0xbf2e51=>_0x807569['replace'](/\/$/,'')+'/-/resize/'+_0xbf2e51+'x/\x20'+_0xbf2e51+'w');return{'imageFallbackUrl':_0x807569,'imageSources':[{'srcset':_0x473d9b['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1be371+'px)\x20100vw,\x20'+_0x1be371+'px','type':'image/webp'}]};}function S(_0x4cfbb1,_0x114e6c,_0x373b41){const _0x1eed08=_0x4cfbb1['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1eed08?parseInt(_0x1eed08[0x1],0xa):_0x114e6c,'height':_0x1eed08?parseInt(_0x1eed08[0x2],0xa):_0x373b41};}function p(_0x17cdab,_0x305512){const _0x2bf073=new(_0x18fcdb())(),_0x4c0d32=_0x17cdab['plugins']['get']('ImageUtils'),_0x273aa6=_0x17cdab['editing']['mapper']['toViewElement'](_0x305512),_0xce73cc=_0x4c0d32['findViewImgElement'](_0x273aa6),_0x5d9dce=_0x17cdab['editing']['view']['domConverter']['viewToDom'](_0xce73cc),_0x103d68=_0x305512['getAttribute']('width'),_0x2b0500=_0x305512['getAttribute']('height'),_0x1a28dc='image-processing';_0x17cdab['editing']['view']['change'](_0x311cd6=>{_0x311cd6['addClass'](_0x1a28dc,_0x273aa6),_0x311cd6['setStyle']('aspect-ratio',_0x103d68+'/'+_0x2b0500,_0xce73cc);}),_0x2bf073['listenTo'](_0x5d9dce,'load',()=>{_0x2bf073['stopListening'](_0x5d9dce,'load'),_0x17cdab['editing']['view']['change'](_0xe44dc4=>{_0xe44dc4['removeClass'](_0x1a28dc,_0x273aa6),_0xe44dc4['removeStyle']('aspect-ratio',_0xce73cc);});});}function G(_0x5535e1){if(Array['isArray'](_0x5535e1)){const _0x3df682=_0x5535e1['map'](G);return _0x2405b3=>_0x3df682['some'](_0x2f4309=>_0x2f4309(_0x2405b3));}if('origin'==_0x5535e1){const _0x48302a=_0x23e51b['window']['location']['origin'];return _0x53e2ad=>new URL(_0x53e2ad,_0x23e51b['document']['baseURI'])['origin']==_0x48302a;}return'function'==typeof _0x5535e1?_0x5535e1:_0x5535e1 instanceof RegExp?_0x373572=>!(!_0x373572['match'](_0x5535e1)&&!_0x373572['replace'](/^https?:\/\//,'')['match'](_0x5535e1)):()=>!0x1;}function A(_0xe5898,_0xd78639){return _0x40f741(_0xe5898['target'])['includes'](_0xd78639);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x9202d9(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4d65cd,_0x491c31,_0xadbef4){super(),this['_editor']=_0x4d65cd,this['_editing']=_0x491c31,this['_dialog']=_0x4d65cd['plugins']['get'](_0x2313af),this['_api']=_0x491c31['ctxElement']['getAPI'](),this['_type']=_0xadbef4,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:_0x32e826,model:_0x1d88fa}=this['_editor'],_0x4c6095=_0x1d88fa['document']['selection']['getSelectedElement'](),_0x360a05=_0x4c6095&&(_0x4c6095['is']('element','imageBlock')||_0x4c6095['is']('element','imageInline'));this['_formView']=new x(_0x32e826,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2dba7c,'title':_(_0x32e826,this['_type'],_0x360a05?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1dda78['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x224c4d=>!A(_0x224c4d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2c8be1}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x253679=>{const _0x5d26b9=_0x2c8be1['length'];for(const _0x4d860c of _0x2c8be1){const _0x200007=_0x4d860c===_0x2c8be1[_0x5d26b9-0x1],{cdnUrl:_0x32ee50,fileInfo:_0xec3b11}=_0x4d860c;if(!_0x32ee50||!_0xec3b11)continue;const {width:_0x32251f,height:_0x14282d}=_0xec3b11['imageInfo'],_0x90158d=S(_0x32ee50,_0x32251f,_0x14282d),_0x4395e7=C(_0x32ee50,_0x90158d['width']),_0x374371={'id':_0xec3b11['uuid'],'type':'image','attributes':{'imageDimension':_0x90158d,..._0x4395e7}};this['_insertAsset'](_0x374371,_0x200007,_0x253679);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x330022=>{'idle'===_0x330022['detail']['status']&&!_0x330022['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x25561b,_0x4a6b0c,_0x28a94c){const _0x1eb803=this['_editor']['model']['document']['selection'],_0x4d1713=_0x1eb803['getSelectedElement'](),_0x2c01a6=!(!_0x4d1713||!_0x4d1713['is']('element','imageInline'));_0x28a94c['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x25561b,_0x2c01a6),_0x4a6b0c||_0x28a94c['setSelection'](_0x1eb803['getLastPosition']());}['_insertImage'](_0x55795f,_0x1e0b8f){const _0x34be55=this['_editor'],{imageDimension:_0x223437,imageFallbackUrl:_0x339b04,imageSources:_0x7548ff}=_0x55795f['attributes'];_0x34be55['execute']('insertImage',{'imageType':_0x1e0b8f?'imageInline':null,'source':{'uploadcareImageId':_0x55795f['id'],'src':_0x339b04,'sources':_0x7548ff,..._0x223437}});}}class w extends _0x274d06{['_editing'];['_controller']=null;static get['requires'](){return[_0x2313af,o];}constructor(_0x7243dc){super(_0x7243dc),this['_editing']=_0x7243dc['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x368a32){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x368a32);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x564f13,..._0x3222e0}){return _0x5e451b(_0x564f13,_0x3222e0);}static['getInfo'](_0x5c6faf,_0x509c69){return _0x1b3102(_0x5c6faf,_0x509c69);}}class f extends _0x3a8bb6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5ae976,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2ceea5=this['editor'];if(!!!_0x2ceea5['config']['get']('uploadcare'))return;_0x2ceea5['plugins']['get'](_0x5ae976)['createUploadAdapter']=_0xb06a2e=>new k(_0xb06a2e,_0x2ceea5),_0x2ceea5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x238c30,{imageElement:_0x3e8467,data:_0x4e8d53})=>{_0x2ceea5['model']['change'](_0x2408a3=>{_0x2408a3['setAttribute']('uploadcareImageId',_0x4e8d53['uploadcareImageId'],_0x3e8467);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x30ce5f,_0x5f06ab){this['loader']=_0x30ce5f,this['editor']=_0x5f06ab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1a3094=await this['loader']['file'];return j['upload']({'file':_0x1a3094,'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':_0x2e7ba4=>{_0x2e7ba4&&_0x2e7ba4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2e7ba4['value']);}})['then'](async _0x42cf70=>{const {imageFallbackUrl:_0x3fa857,imageSources:_0xff001a}=C(_0x42cf70['cdnUrl'],_0x42cf70['imageInfo']['width']);return{'uploadcareImageId':_0x42cf70['uuid'],'default':_0x3fa857,'sources':_0xff001a};})['catch'](()=>{const _0x460fa=t('Cannot\x20upload\x20file:')+('\x20'+_0x1a3094['name']+'.');return Promise['reject'](_0x460fa);});}['abort'](){this['controller']['abort']();}}class o extends _0x3a8bb6{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2313af];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5c73de){super(_0x5c73de),this['ucContextId']=_0xefd9cc();}['init'](){const _0x30a978=this['editor'];_0x30a978['commands']['add']('uploadcare',new w(_0x30a978));}['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 _0x466bd5=_0x23e51b['document']['querySelector']('input[uploadcare-file-input]');_0x466bd5&&_0x466bd5['remove']();}),async function(_0x1dab5e){const _0x2f7e21=_0x35c6eb([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]),_0x2b30c3=0x535f8c3a,_0x5e88d2=0x5358f142^_0x2b30c3,_0x2774fb=window[_0x35c6eb([0x44,0x61,0x74,0x65])][_0x35c6eb([0x6e,0x6f,0x77])](),_0x3e764e=_0x1dab5e[_0x35c6eb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x239adf=new window[(_0x35c6eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12b1a8=>{_0x3e764e[_0x35c6eb([0x6f,0x6e,0x63,0x65])](_0x35c6eb([0x72,0x65,0x61,0x64,0x79]),_0x12b1a8);}),_0x2a0daf={[_0x35c6eb([0x6b,0x74,0x79])]:_0x35c6eb([0x45,0x43]),[_0x35c6eb([0x75,0x73,0x65])]:_0x35c6eb([0x73,0x69,0x67]),[_0x35c6eb([0x63,0x72,0x76])]:_0x35c6eb([0x50,0x2d,0x32,0x35,0x36]),[_0x35c6eb([0x78])]:_0x35c6eb([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]),[_0x35c6eb([0x79])]:_0x35c6eb([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]),[_0x35c6eb([0x61,0x6c,0x67])]:_0x35c6eb([0x45,0x53,0x32,0x35,0x36])},_0x1986f6=_0x3e764e[_0x35c6eb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35c6eb([0x67,0x65,0x74])](_0x35c6eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x442a76(){let _0x493b49,_0x519aaf=null,_0x2fcb17=null;try{if(_0x1986f6==_0x35c6eb([0x47,0x50,0x4c]))return _0x35c6eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x493b49=_0xd9611a(),!_0x493b49)return _0x35c6eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x493b49[_0x35c6eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2fcb17=_0x1cf05f(_0x493b49[_0x35c6eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x493b49[_0x35c6eb([0x6a,0x74,0x69])])),await _0x371835()?_0x36ccfa()?_0x3d69a1()?_0x35c6eb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x680f36()?(_0x493b49[_0x35c6eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35c6eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x519aaf=_0xc4e951(_0x35c6eb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x493b49[_0x35c6eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35c6eb([0x74,0x72,0x69,0x61,0x6c])&&(_0x519aaf=_0xc4e951(_0x35c6eb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35fa32()):_0x35c6eb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35c6eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35c6eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x35c6eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d69a1(){const _0x4f1e0b=[_0x35c6eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35c6eb([0x74,0x72,0x69,0x61,0x6c])][_0x35c6eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x493b49[_0x35c6eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2774fb/0x3e8:0xe10*_0x5e88d2;return _0x493b49[_0x35c6eb([0x65,0x78,0x70])]<_0x4f1e0b;}function _0x36ccfa(){const _0x9e3ae4=_0x493b49[_0x35c6eb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9e3ae4&&(!!_0x9e3ae4[_0x35c6eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c6eb([0x2a]))||!!_0x9e3ae4[_0x35c6eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c6eb([0x55,0x50,0x4c,0x43])));}function _0x680f36(){const _0x1f34a5=_0x493b49[_0x35c6eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f34a5||0x0==_0x1f34a5[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a85ea}=new URL(window[_0x35c6eb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1f34a5[_0x35c6eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a85ea))return!0x0;const _0x34ffea=_0x2a85ea[_0x35c6eb([0x73,0x70,0x6c,0x69,0x74])](_0x35c6eb([0x2e]));return _0x1f34a5[_0x35c6eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xeb0411=>_0xeb0411[_0x35c6eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c6eb([0x2a])))[_0x35c6eb([0x6d,0x61,0x70])](_0x2c4a56=>_0x2c4a56[_0x35c6eb([0x73,0x70,0x6c,0x69,0x74])](_0x35c6eb([0x2e])))[_0x35c6eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4224b2=>_0x4224b2[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34ffea[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35c6eb([0x6d,0x61,0x70])](_0x4ea241=>Array(_0x34ffea[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ea241[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35c6eb([0x66,0x69,0x6c,0x6c])](_0x4ea241[0x0]===_0x35c6eb([0x2a])?_0x35c6eb([0x2a]):'')[_0x35c6eb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ea241))[_0x35c6eb([0x73,0x6f,0x6d,0x65])](_0x49b1a7=>_0x34ffea[_0x35c6eb([0x65,0x76,0x65,0x72,0x79])]((_0x4d57a7,_0x4ce059)=>_0x49b1a7[_0x4ce059]===_0x4d57a7||_0x49b1a7[_0x4ce059]===_0x35c6eb([0x2a])));}function _0x35fa32(){return _0x519aaf&&_0x2fcb17?new window[(_0x35c6eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a9ae1,_0x20304a)=>{_0x519aaf[_0x35c6eb([0x74,0x68,0x65,0x6e])](_0x5a9ae1,_0x20304a),_0x2fcb17[_0x35c6eb([0x74,0x68,0x65,0x6e])](_0x2faa30=>{_0x2faa30!=_0x35c6eb([0x56,0x61,0x6c,0x69,0x64])&&_0x5a9ae1(_0x2faa30);},_0x20304a);}):_0x519aaf||_0x2fcb17||_0x35c6eb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1cf05f(_0x4ce02d,_0x26128d){return new window[(_0x35c6eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4edf78=>{if(_0x20e6e2())return _0x4edf78(_0x35c6eb([0x56,0x61,0x6c,0x69,0x64]));_0x42b590(),_0x3e764e[_0x35c6eb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35c6eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6f84c7=!0x1;const _0x2acb34=_0xefd9cc();function _0x481df8(_0x340427){return!!_0x340427&&(typeof _0x340427===_0x35c6eb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x340427===_0x35c6eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x340427[_0x35c6eb([0x74,0x68,0x65,0x6e])]===_0x35c6eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x340427[_0x35c6eb([0x63,0x61,0x74,0x63,0x68])]===_0x35c6eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x377a22(_0x513da3){_0x4a5926(_0x513da3)[_0x35c6eb([0x74,0x68,0x65,0x6e])](_0x50ad51=>{if(!_0x50ad51||_0x50ad51[_0x35c6eb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35c6eb([0x6f,0x6b]))return _0x35c6eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a1d1a(_0x5db55c(_0x2acb34+_0x26128d))!=_0x50ad51[_0x35c6eb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35c6eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35c6eb([0x56,0x61,0x6c,0x69,0x64]);})[_0x35c6eb([0x74,0x68,0x65,0x6e])](_0x342841=>(_0x40d3f4(),_0x342841),()=>{const _0x468900=_0x590a11();return null==_0x468900?(_0x40d3f4(),_0x35c6eb([0x56,0x61,0x6c,0x69,0x64])):_0x35c6eb(_0x2774fb-_0x468900>(0x7753083a^_0x2b30c3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35c6eb([0x74,0x68,0x65,0x6e])](_0x4edf78)[_0x35c6eb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4edf78(_0x35c6eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45c201=0x536962ba^_0x2b30c3;function _0x40d3f4(){const _0x2308d7=_0x35c6eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a1d1a(_0x5db55c(_0x4ce02d)),_0x4a6d6a=_0x368702(_0x3a1d1a(window[_0x35c6eb([0x4d,0x61,0x74,0x68])][_0x35c6eb([0x63,0x65,0x69,0x6c])](_0x2774fb/_0x45c201)));window[_0x35c6eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35c6eb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2308d7,_0x4a6d6a);}function _0x590a11(){const _0x388ee6=_0x35c6eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a1d1a(_0x5db55c(_0x4ce02d)),_0x578c2f=window[_0x35c6eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35c6eb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x388ee6);return _0x578c2f?window[_0x35c6eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x368702(_0x578c2f),0x10)*_0x45c201:null;}function _0x4a5926(_0x4fdb15){return new window[(_0x35c6eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x78770b,_0x355d12)=>{_0x4fdb15[_0x35c6eb([0x74,0x68,0x65,0x6e])](_0x78770b,_0x355d12),window[_0x35c6eb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x355d12,0x535e58fa^_0x2b30c3);});}}_0x3e764e[_0x35c6eb([0x6f,0x6e])](_0x35c6eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9dcf3b,_0x126a53)=>{if(_0x126a53[0x0]!=_0x4ce02d)return _0x4edf78(_0x35c6eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x126a53[0x1]={..._0x126a53[0x1],[_0x35c6eb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2acb34};},{[_0x35c6eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35c6eb([0x68,0x69,0x67,0x68])}),_0x3e764e[_0x35c6eb([0x6f,0x6e])](_0x35c6eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x413b4d=>{_0x481df8(_0x413b4d[_0x35c6eb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6f84c7=!0x0,_0x377a22(_0x413b4d[_0x35c6eb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35c6eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35c6eb([0x6c,0x6f,0x77])}),_0x239adf[_0x35c6eb([0x74,0x68,0x65,0x6e])](()=>{_0x6f84c7||_0x4edf78(_0x35c6eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20e6e2(){return _0x3e764e[_0x35c6eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35c6eb([0x76,0x69,0x65,0x77])][_0x35c6eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35c6eb([0x61,0x75,0x74,0x6f]);}function _0x42b590(){_0x3e764e[_0x35c6eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35c6eb([0x76,0x69,0x65,0x77])][_0x35c6eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35c6eb([0x61,0x75,0x74,0x6f]);}}function _0xc4e951(_0x2eddee){const _0x45c069=[new window[(_0x35c6eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44f186=>setTimeout(_0x44f186,0x5356b2f6^_0x2b30c3)),_0x239adf[_0x35c6eb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35c6eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45df37=>{let _0x184efd=0x0;_0x3e764e[_0x35c6eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c6eb([0x6f,0x6e])](_0x35c6eb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2076bf,_0x12cc9d)=>{_0x12cc9d[0x0][_0x35c6eb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x184efd++,_0x184efd==(0x535f89d2^_0x2b30c3)&&(_0x45df37(),_0x2076bf[_0x35c6eb([0x6f,0x66,0x66])]());});}))];return window[_0x35c6eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35c6eb([0x72,0x61,0x63,0x65])](_0x45c069)[_0x35c6eb([0x74,0x68,0x65,0x6e])](()=>_0x2eddee);}async function _0x242f11(){await _0x239adf,_0x3e764e[_0x35c6eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c6eb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30bf2d,_0x3e764e[_0x35c6eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c6eb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30bf2d,_0x3e764e[_0x35c6eb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35c6eb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f22b5(_0x3d4472){const _0x399c70=_0x51d648();_0x3e764e[_0x399c70]=_0x35c6eb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d4472,_0x3d4472!=_0x35c6eb([0x56,0x61,0x6c,0x69,0x64])&&_0x242f11();}function _0x51d648(){const _0x54b304=window[_0x35c6eb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35c6eb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35c6eb([0x6e,0x6f,0x77])]())[_0x35c6eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35c6eb([0x2e]),'');let _0x1b823d=_0x35c6eb([0x68]);for(let _0x36994=0x0;_0x36994<_0x54b304[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36994+=0x2){let _0xc9745d=window[_0x35c6eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54b304[_0x35c6eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36994,_0x36994+0x2));_0xc9745d>=_0x2f7e21[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc9745d-=_0x2f7e21[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b823d+=_0x2f7e21[_0xc9745d];}return _0x1b823d;}function _0xd9611a(){const _0x44f9c8=_0x1986f6[_0x35c6eb([0x73,0x70,0x6c,0x69,0x74])](_0x35c6eb([0x2e]));if(0x3!=_0x44f9c8[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x560c47(_0x44f9c8[0x1]);function _0x560c47(_0x54d7b4){const _0x256c20=_0x23aa49(_0x54d7b4);return _0x256c20&&_0x14f718()?_0x256c20:null;function _0x14f718(){const _0x4b5f0f=_0x256c20[_0x35c6eb([0x6a,0x74,0x69])],_0x57f98d=window[_0x35c6eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b5f0f[_0x35c6eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b5f0f[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b768b={..._0x256c20,[_0x35c6eb([0x6a,0x74,0x69])]:_0x4b5f0f[_0x35c6eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b5f0f[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b768b[_0x35c6eb([0x76,0x63])],_0x5db55c(_0x2b768b)==_0x57f98d;}}}async function _0x371835(){let _0x57ae29=!0x0;try{const _0x109e16=_0x1986f6[_0x35c6eb([0x73,0x70,0x6c,0x69,0x74])](_0x35c6eb([0x2e])),[_0x77a8db,_0x5cafc0,_0x2f21fe]=_0x109e16;return _0x49fc99(_0x77a8db),await _0x5d8d2c(_0x77a8db,_0x5cafc0,_0x2f21fe),_0x57ae29;}catch{return!0x1;}function _0x49fc99(_0x1b5a13){const _0x3b26f1=_0x23aa49(_0x1b5a13);_0x3b26f1&&_0x3b26f1[_0x35c6eb([0x61,0x6c,0x67])]==_0x35c6eb([0x45,0x53,0x32,0x35,0x36])||(_0x57ae29=!0x1);}async function _0x5d8d2c(_0x573463,_0x4780c3,_0x52c925){const _0x30db38=window[_0x35c6eb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35c6eb([0x66,0x72,0x6f,0x6d])](_0x1ed209(_0x52c925),_0x55cc0f=>_0x55cc0f[_0x35c6eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16b1f2=new window[(_0x35c6eb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35c6eb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x573463+_0x35c6eb([0x2e])+_0x4780c3),_0x2ce6df=window[_0x35c6eb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35c6eb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ce6df)return;const _0x5e5b8d=await _0x2ce6df[_0x35c6eb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35c6eb([0x6a,0x77,0x6b]),_0x2a0daf,{[_0x35c6eb([0x6e,0x61,0x6d,0x65])]:_0x35c6eb([0x45,0x43,0x44,0x53,0x41]),[_0x35c6eb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35c6eb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35c6eb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ce6df[_0x35c6eb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35c6eb([0x6e,0x61,0x6d,0x65])]:_0x35c6eb([0x45,0x43,0x44,0x53,0x41]),[_0x35c6eb([0x68,0x61,0x73,0x68])]:{[_0x35c6eb([0x6e,0x61,0x6d,0x65])]:_0x35c6eb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e5b8d,_0x30db38,_0x16b1f2)||(_0x57ae29=!0x1);}}function _0x23aa49(_0x5b9067){return _0x5b9067[_0x35c6eb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35c6eb([0x65,0x79]))?JSON[_0x35c6eb([0x70,0x61,0x72,0x73,0x65])](_0x1ed209(_0x5b9067)):null;}function _0x1ed209(_0x1838c2){return window[_0x35c6eb([0x61,0x74,0x6f,0x62])](_0x1838c2[_0x35c6eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35c6eb([0x2b]))[_0x35c6eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35c6eb([0x2f])));}function _0x5db55c(_0x22c8a0){let _0xe9121f=0x1505;function _0x26f69e(_0x205d0c){for(let _0x45874c=0x0;_0x45874c<_0x205d0c[_0x35c6eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45874c++){const _0x5404=_0x205d0c[_0x35c6eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45874c);_0xe9121f=(_0xe9121f<<0x5)+_0xe9121f+_0x5404,_0xe9121f&=_0xe9121f;}}function _0x289121(_0x4db9f3){Array[_0x35c6eb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4db9f3)?_0x4db9f3[_0x35c6eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x289121):_0x4db9f3&&typeof _0x4db9f3==_0x35c6eb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35c6eb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4db9f3)[_0x35c6eb([0x73,0x6f,0x72,0x74])]()[_0x35c6eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26aafa,_0x3aebe7])=>{_0x26f69e(_0x26aafa),_0x289121(_0x3aebe7);}):_0x26f69e(window[_0x35c6eb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4db9f3));}return _0x289121(_0x22c8a0),_0xe9121f>>>0x0;}function _0x3a1d1a(_0x558c1b){return _0x558c1b[_0x35c6eb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35c6eb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35c6eb([0x30]));}function _0x368702(_0x1b8200){return _0x1b8200[_0x35c6eb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35c6eb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35c6eb([0x6a,0x6f,0x69,0x6e])]('');}function _0x30bf2d(){}function _0x35c6eb(_0x591103){return _0x591103['map'](_0x216199=>String['fromCharCode'](_0x216199))['join']('');}_0x5f22b5(await _0x442a76());}(this);}['_initSchema'](){const _0x514cc6=this['editor']['model']['schema'];_0x514cc6['isRegistered']('imageBlock')&&_0x514cc6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x514cc6['isRegistered']('imageInline')&&_0x514cc6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5f2197=this['editor'];_0x5f2197['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5f2197['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1f02c8=>_0x1f02c8['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xdefc44=_0x5f2197['commands']['get']('replaceImageSource');_0xdefc44&&this['listenTo'](_0xdefc44,'cleanupImage',(_0x1a982c,[_0x5418cf,_0x1b2d1f])=>{_0x5418cf['removeAttribute']('uploadcareImageId',_0x1b2d1f);});}['_initConfig'](){const _0x29de95=this['editor']['config']['get']('uploadcare.uploader')||{},_0x560ee4=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xef8ff4(_0x23e51b['document'],'uc-config',{..._0x29de95,'pubkey':_0x560ee4,'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']=_0x37bab0=>{if('closeMax'==_0x37bab0)return'#uc-icon-arrow-down';},_0x23e51b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xef8ff4(_0x23e51b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x23e51b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4e5f0f=this['editor']['commands']['get']('insertImage');_0x4e5f0f&&this['listenTo'](_0x4e5f0f,'execute',()=>{const _0x4ebc39=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4ebc39&&_0x4ebc39['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4ebc39);});});const _0x15107a=this['editor']['commands']['get']('uploadcareImageReplace');_0x15107a&&this['listenTo'](_0x15107a,'execute',()=>{const _0x80e40e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x80e40e&&_0x80e40e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x80e40e);});});}}class tt extends _0x3a8bb6{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x243d83){super(_0x243d83),_0x243d83['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x9e40f4['defineComponents'](_0x9e40f4),this['_defineLocale']();}['_defineLocale'](){const _0x4af549=this['editor']['config']['get']('uploadcare.locale'),_0x43d63f=this['editor']['locale']['contentLanguage'];_0x4af549&&_0x9e40f4['defineLocale'](_0x43d63f,_0x4af549);}}class ii extends _0x5819e1{constructor(_0x2ae8dd){super(_0x2ae8dd);const t=_0x2ae8dd['t'],_0x2972b0=this['bindTemplate'],_0x310bfc=new _0x3da385();_0x310bfc['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':[_0x310bfc,{'text':_0x2972b0['to']('imageUploadProgress',_0x2d9b4d=>t('Loading\x20image...')+'\x20('+(_0x2d9b4d||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 _0x5819e1{constructor(_0x1a13eb){super(_0x1a13eb);const t=_0x1a13eb['t'];this['set']('errorType',null);const _0x3ec8cc=new _0x1570bf(_0x1a13eb);_0x3ec8cc['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3ec8cc['withText']=!0x0,_0x3ec8cc['class']='ck-button-action',_0x3ec8cc['on']('execute',()=>{this['fire']('retry');}),_0x3ec8cc['bind']('isVisible')['to'](this,'errorType',_0x1ffa62=>'NotFound'!==_0x1ffa62);const _0x3e7662=new _0x4f1a05();_0x3e7662['content']=_0x287524,_0x3e7662['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3deabf=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':[_0x3e7662,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3deabf['to']('errorType',_0x4aac44=>t('NotFound'!==_0x4aac44?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3ec8cc]},{'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 _0x5819e1{constructor(_0x584707,_0x24cefe){super(_0x584707);const _0x4c0efa=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x24cefe,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4c0efa['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x10bff1,_0x59d301,_0x5555ef){super(_0x10bff1),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x10bff1),this['_errorView']=new ti(_0x10bff1),this['_editingView']=new ei(_0x10bff1,_0x5555ef),this['_focusableView']=new _0x5819e1(_0x10bff1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x59d301),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'],_0x34acd5=>{this['_addUploadcareImageEditorListeners'](_0x34acd5);});}),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'](_0x1c9c97,_0x4132f){const _0x382ac0='uc-cloud-image-editor',_0x3bc473=_0x1c9c97['querySelector'](_0x382ac0);if(_0x3bc473)return _0x4132f(_0x3bc473);const _0x52e923=new MutationObserver(_0x2c6246=>{const _0x517c4c=_0x2c6246['filter'](_0x485dd9=>_0x485dd9['target']===_0x1c9c97&&_0x485dd9['addedNodes']['length']>0x0&&_0x485dd9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x382ac0);_0x517c4c['length']&&(_0x52e923['disconnect'](),_0x4132f(_0x517c4c[0x0]['addedNodes'][0x0]));});_0x52e923['observe'](_0x1c9c97,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x135af4){_0x135af4['addEventListener']('apply',_0x158aa3=>{this['fire']('apply',{'imageSrc':_0x158aa3['detail']['cdnUrl']});}),_0x135af4['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x9202d9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x31e9c7,_0x2e85d3,_0x391290){super(),this['_editor']=_0x31e9c7,this['_dialog']=_0x2e85d3,this['_imageElement']=_0x391290,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 _0xee3c64=this['_imageElement'],_0x25aa61=_0xee3c64['getAttribute']('uploadcareImageId'),_0x25d4da=_0xee3c64['getAttribute']('src');if(_0x25aa61)await this['_loadImageInfo'](_0x25aa61,_0x25d4da);else{if(this['_imageCache']['has'](_0x25d4da)){const _0x3182a0=this['_imageCache']['get'](_0x25d4da);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3182a0['url'],this['imageDimension']=_0x3182a0['dimension'],this['imageId']=_0x3182a0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x6bbd2f}=this['_editor'],t=_0x6bbd2f['t'],_0x28fd15=new X(_0x6bbd2f,this['imageStatus'],this['_attributes']);_0x28fd15['bind']('status')['to'](this,'imageStatus'),_0x28fd15['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x28fd15['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x28fd15['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x28fd15,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3f920d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x28fd15,'position':_0x1dda78['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x28fd15['focus']();},'onHide':()=>{_0x28fd15['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2fe965=>!A(_0x2fe965,_0x28fd15['element'])}});}['_loadImageInfo'](_0x502442,_0x143a0d){return j['getInfo'](_0x502442,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x29cc3e=>{const {width:_0x3a5be0,height:_0x2bd787}=_0x29cc3e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x143a0d,this['imageDimension']={'width':_0x3a5be0,'height':_0x2bd787},this['imageId']=_0x502442;})['catch'](_0xcfa37d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xcfa37d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4d931e,_0x2dd389){return this['_getImageAsFile'](_0x4d931e)['then'](_0xddc1ad=>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':_0x2dd389['signal'],'file':_0xddc1ad,'onProgress':_0x1555c8=>{_0x1555c8&&_0x1555c8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1555c8['value']));}}))['then'](_0x54b1eb=>{const {width:_0x1b25c9,height:_0x49b293}=_0x54b1eb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54b1eb['cdnUrl'],this['imageDimension']={'width':_0x1b25c9,'height':_0x49b293},this['imageId']=_0x54b1eb['uuid'],this['imageUploadProgress']=null;const _0x5aee0a=_0x4d931e['getAttribute']('src');this['_imageCache']['set'](_0x5aee0a,{'id':_0x54b1eb['uuid'],'url':_0x54b1eb['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5549e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5549e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48c0c0,_0x57219b){_0x48c0c0['on']('apply',(_0x3547ac,_0x48cbf4)=>{this['_replaceImage'](_0x57219b,_0x48cbf4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48c0c0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48c0c0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x54c30a,_0x55b658,_0x3bb8f3){const _0x294978=this['_editor'],{width:_0x3ef0d0,height:_0x3007f3}=S(_0x55b658,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x55e9ed,imageSources:_0x550f69}=C(_0x55b658,_0x3ef0d0);_0x294978['model']['change'](_0x253b60=>{if('$graveyard'===_0x54c30a['root']['rootName']){_0x294978['execute']('insertImage',{'imageType':_0x54c30a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x54c30a['getAttributes']()),'uploadcareImageId':_0x3bb8f3,'src':_0x55e9ed,'sources':_0x550f69,'width':_0x3ef0d0,'height':_0x3007f3}});const _0x25eeda=_0x54c30a['getChildren']();_0x54c30a=_0x294978['model']['document']['selection']['getSelectedElement']();for(const _0x30d037 of _0x25eeda)_0x253b60['append'](_0x253b60['cloneElement'](_0x30d037),_0x54c30a);}else _0x253b60['setSelection'](_0x54c30a,'on'),_0x294978['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x54c30a['getAttributes']()),'uploadcareImageId':_0x3bb8f3,'src':_0x55e9ed,'sources':_0x550f69,'width':_0x3ef0d0,'height':_0x3007f3},_0x54c30a);_0x253b60['setSelection'](_0x54c30a,'on');});}async['_getImageAsFile'](_0x4f05db){const _0xd286b0=_0x23e51b['window'],_0x58e704=_0x23e51b['document']['location']['href'],_0x17a229=new _0xd286b0['URL'](_0x4f05db['getAttribute']('src'),_0x58e704);if('data:'===_0x17a229['protocol']){const _0x20859d=_0x17a229['href']['split'](','),_0x4979e6=_0x20859d[0x0]['match'](/:(.*?);/)[0x1],_0x475a7d=_0x4979e6['split']('/')[0x1],_0x11efa9=_0xd286b0['atob'](_0x20859d[_0x20859d['length']-0x1]);let _0x54bfdc=_0x11efa9['length'];const _0x4d44a0=new _0xd286b0['Uint8Array'](_0x54bfdc);for(;_0x54bfdc--;)_0x4d44a0[_0x54bfdc]=_0x11efa9['charCodeAt'](_0x54bfdc);return new _0xd286b0['File']([_0x4d44a0],'image.'+_0x475a7d,{'type':_0x4979e6});}const _0x565aa2=_0x17a229['href']['split']('/'),_0x3de20e=_0x565aa2[_0x565aa2['length']-0x1],_0x15821d=_0x3de20e['split']('.')[0x1];return _0xd286b0['fetch'](_0x17a229['href'])['then'](_0x527950=>_0x527950['clone']()['blob']())['then'](_0x311bd1=>new _0xd286b0['File']([_0x311bd1],_0x3de20e,{'type':'image/'+_0x15821d}));}}class O extends _0x274d06{['imageEditController'];static get['requires'](){return[_0x2313af];}['_isEditable'];constructor(_0x48f53c){super(_0x48f53c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x32f8ba){const _0x56ce5a=G(_0x32f8ba);return _0x164cb1=>!(!_0x164cb1||!_0x164cb1['is']('element','imageBlock')&&!_0x164cb1['is']('element','imageInline'))&&(!!_0x164cb1['hasAttribute']('uploadcareImageId')||!!_0x164cb1['hasAttribute']('src')&&_0x56ce5a(_0x164cb1['getAttribute']('src')));}(_0x48f53c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x31fcb3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x31fcb3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x55de0a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x55de0a&&(_0x55de0a['is']('element','imageBlock')||_0x55de0a['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2313af),_0x55de0a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x274d06{['refresh'](){const _0x2038e2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2038e2&&(_0x2038e2['is']('element','imageBlock')||_0x2038e2['is']('element','imageInline')));}['execute'](_0x11949a){const _0x1d4d7e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x344bfe=>{_0x344bfe['setAttributes'](_0x11949a,_0x1d4d7e),_0x344bfe['removeAttribute']('srcset',_0x1d4d7e),_0x344bfe['removeAttribute']('sizes',_0x1d4d7e);});}}class m extends _0x3a8bb6{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xd4a88a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x496b93}=this;_0x496b93['commands']['add']('uploadcareImageEdit',new O(_0x496b93)),_0x496b93['commands']['add']('uploadcareImageReplace',new R(_0x496b93));}}class g extends _0x3a8bb6{['_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 _0xf1afc=this['editor'];_0xf1afc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x463c48=>{const _0x6b6b56=_0xf1afc['commands']['get']('uploadcareImageEdit'),_0xc61544=new _0x1570bf(_0x463c48),t=_0x463c48['t'];return _0xc61544['set']({'icon':_0x3f920d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xc61544['bind']('isEnabled')['to'](_0x6b6b56),_0xc61544['bind']('isOn')['to'](_0x6b6b56,'isActive'),this['listenTo'](_0xc61544,'execute',()=>{_0xf1afc['execute']('uploadcareImageEdit'),_0xf1afc['editing']['view']['focus']();}),_0xc61544;}),this['_initConfig']();}['_initConfig'](){const _0x331712=_0xef8ff4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x331712),this['listenTo'](this['editor'],'destroy',()=>{_0x331712['remove']();});}}class et extends _0x3a8bb6{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':_0x4dc4e5=>0x1!=_0x4dc4e5}};
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':_0x4bb8f0=>0x1!=_0x4bb8f0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x14293b=>{const {af:{dictionary:_0x5a5fd6,getPluralForm:_0x435a96}}={'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':_0x388443=>0x1!=_0x388443}};_0x14293b['af']||={'dictionary':{},'getPluralForm':null},_0x14293b['af']['dictionary']=Object['assign'](_0x14293b['af']['dictionary'],_0x5a5fd6),_0x14293b['af']['getPluralForm']=_0x435a96;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x537f82=>{const {af:{dictionary:_0x50eb4c,getPluralForm:_0x4e3712}}={'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':_0x1fbef6=>0x1!=_0x1fbef6}};_0x537f82['af']||={'dictionary':{},'getPluralForm':null},_0x537f82['af']['dictionary']=Object['assign'](_0x537f82['af']['dictionary'],_0x50eb4c),_0x537f82['af']['getPluralForm']=_0x4e3712;})(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':_0x113a90=>0x0==_0x113a90?0x0:0x1==_0x113a90?0x1:0x2==_0x113a90?0x2:_0x113a90%0x64>=0x3&&_0x113a90%0x64<=0xa?0x3:_0x113a90%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':_0x5e6fa8=>0x0==_0x5e6fa8?0x0:0x1==_0x5e6fa8?0x1:0x2==_0x5e6fa8?0x2:_0x5e6fa8%0x64>=0x3&&_0x5e6fa8%0x64<=0xa?0x3:_0x5e6fa8%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x100885=>{const {ar:{dictionary:_0x10f8e5,getPluralForm:_0x1abf04}}={'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':_0x25b575=>0x0==_0x25b575?0x0:0x1==_0x25b575?0x1:0x2==_0x25b575?0x2:_0x25b575%0x64>=0x3&&_0x25b575%0x64<=0xa?0x3:_0x25b575%0x64>=0xb?0x4:0x5}};_0x100885['ar']||={'dictionary':{},'getPluralForm':null},_0x100885['ar']['dictionary']=Object['assign'](_0x100885['ar']['dictionary'],_0x10f8e5),_0x100885['ar']['getPluralForm']=_0x1abf04;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4fe41f=>{const {ar:{dictionary:_0xfbf084,getPluralForm:_0x20f50e}}={'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':_0x8b2b24=>0x0==_0x8b2b24?0x0:0x1==_0x8b2b24?0x1:0x2==_0x8b2b24?0x2:_0x8b2b24%0x64>=0x3&&_0x8b2b24%0x64<=0xa?0x3:_0x8b2b24%0x64>=0xb?0x4:0x5}};_0x4fe41f['ar']||={'dictionary':{},'getPluralForm':null},_0x4fe41f['ar']['dictionary']=Object['assign'](_0x4fe41f['ar']['dictionary'],_0xfbf084),_0x4fe41f['ar']['getPluralForm']=_0x20f50e;})(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':_0x289ef8=>0x1!=_0x289ef8}};
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':_0x2b4efe=>0x1!=_0x2b4efe}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x55af6d=>{const {ast:{dictionary:_0xcd205c,getPluralForm:_0x399ac9}}={'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':_0xe9c729=>0x1!=_0xe9c729}};_0x55af6d['ast']||={'dictionary':{},'getPluralForm':null},_0x55af6d['ast']['dictionary']=Object['assign'](_0x55af6d['ast']['dictionary'],_0xcd205c),_0x55af6d['ast']['getPluralForm']=_0x399ac9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2531f8=>{const {ast:{dictionary:_0x8a08e6,getPluralForm:_0x533b81}}={'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':_0x2b0944=>0x1!=_0x2b0944}};_0x2531f8['ast']||={'dictionary':{},'getPluralForm':null},_0x2531f8['ast']['dictionary']=Object['assign'](_0x2531f8['ast']['dictionary'],_0x8a08e6),_0x2531f8['ast']['getPluralForm']=_0x533b81;})(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':_0x110e65=>0x1!=_0x110e65}};
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':_0x316aa3=>0x1!=_0x316aa3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c213a=>{const {az:{dictionary:_0xc0302f,getPluralForm:_0x3e209b}}={'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':_0x3dd3b0=>0x1!=_0x3dd3b0}};_0x2c213a['az']||={'dictionary':{},'getPluralForm':null},_0x2c213a['az']['dictionary']=Object['assign'](_0x2c213a['az']['dictionary'],_0xc0302f),_0x2c213a['az']['getPluralForm']=_0x3e209b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x555c74=>{const {az:{dictionary:_0x24265e,getPluralForm:_0x13a6c7}}={'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':_0xc0eaa2=>0x1!=_0xc0eaa2}};_0x555c74['az']||={'dictionary':{},'getPluralForm':null},_0x555c74['az']['dictionary']=Object['assign'](_0x555c74['az']['dictionary'],_0x24265e),_0x555c74['az']['getPluralForm']=_0x13a6c7;})(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':_0x395dfd=>_0x395dfd%0xa==0x1&&_0x395dfd%0x64!=0xb?0x0:_0x395dfd%0xa>=0x2&&_0x395dfd%0xa<=0x4&&(_0x395dfd%0x64<0xa||_0x395dfd%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':_0xf3c08f=>_0xf3c08f%0xa==0x1&&_0xf3c08f%0x64!=0xb?0x0:_0xf3c08f%0xa>=0x2&&_0xf3c08f%0xa<=0x4&&(_0xf3c08f%0x64<0xa||_0xf3c08f%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x16002e=>{const {be:{dictionary:_0x3b5f7b,getPluralForm:_0x3154e5}}={'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':_0x40e6ad=>_0x40e6ad%0xa==0x1&&_0x40e6ad%0x64!=0xb?0x0:_0x40e6ad%0xa>=0x2&&_0x40e6ad%0xa<=0x4&&(_0x40e6ad%0x64<0xa||_0x40e6ad%0x64>=0x14)?0x1:0x2}};_0x16002e['be']||={'dictionary':{},'getPluralForm':null},_0x16002e['be']['dictionary']=Object['assign'](_0x16002e['be']['dictionary'],_0x3b5f7b),_0x16002e['be']['getPluralForm']=_0x3154e5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa9d86d=>{const {be:{dictionary:_0x51169a,getPluralForm:_0x22f504}}={'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':_0x56c9cf=>_0x56c9cf%0xa==0x1&&_0x56c9cf%0x64!=0xb?0x0:_0x56c9cf%0xa>=0x2&&_0x56c9cf%0xa<=0x4&&(_0x56c9cf%0x64<0xa||_0x56c9cf%0x64>=0x14)?0x1:0x2}};_0xa9d86d['be']||={'dictionary':{},'getPluralForm':null},_0xa9d86d['be']['dictionary']=Object['assign'](_0xa9d86d['be']['dictionary'],_0x51169a),_0xa9d86d['be']['getPluralForm']=_0x22f504;})(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':_0x5de941=>0x1!=_0x5de941}};
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':_0x58acbb=>0x1!=_0x58acbb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2a7db1=>{const {bg:{dictionary:_0xa61a04,getPluralForm:_0x34db4d}}={'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':_0x4b57a9=>0x1!=_0x4b57a9}};_0x2a7db1['bg']||={'dictionary':{},'getPluralForm':null},_0x2a7db1['bg']['dictionary']=Object['assign'](_0x2a7db1['bg']['dictionary'],_0xa61a04),_0x2a7db1['bg']['getPluralForm']=_0x34db4d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x486cbc=>{const {bg:{dictionary:_0x13a658,getPluralForm:_0x241ea6}}={'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':_0xba39db=>0x1!=_0xba39db}};_0x486cbc['bg']||={'dictionary':{},'getPluralForm':null},_0x486cbc['bg']['dictionary']=Object['assign'](_0x486cbc['bg']['dictionary'],_0x13a658),_0x486cbc['bg']['getPluralForm']=_0x241ea6;})(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':_0x2c8f34=>0x1!=_0x2c8f34}};
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':_0xd45933=>0x1!=_0xd45933}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4de793=>{const {bn:{dictionary:_0x32b1fb,getPluralForm:_0x5ea6bc}}={'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':_0x2fc1f4=>0x1!=_0x2fc1f4}};_0x4de793['bn']||={'dictionary':{},'getPluralForm':null},_0x4de793['bn']['dictionary']=Object['assign'](_0x4de793['bn']['dictionary'],_0x32b1fb),_0x4de793['bn']['getPluralForm']=_0x5ea6bc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4afda8=>{const {bn:{dictionary:_0x561646,getPluralForm:_0x1f9e32}}={'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':_0x17e72e=>0x1!=_0x17e72e}};_0x4afda8['bn']||={'dictionary':{},'getPluralForm':null},_0x4afda8['bn']['dictionary']=Object['assign'](_0x4afda8['bn']['dictionary'],_0x561646),_0x4afda8['bn']['getPluralForm']=_0x1f9e32;})(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':_0x3ef0ea=>_0x3ef0ea%0xa==0x1&&_0x3ef0ea%0x64!=0xb?0x0:_0x3ef0ea%0xa>=0x2&&_0x3ef0ea%0xa<=0x4&&(_0x3ef0ea%0x64<0xa||_0x3ef0ea%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':_0x2f6bd3=>_0x2f6bd3%0xa==0x1&&_0x2f6bd3%0x64!=0xb?0x0:_0x2f6bd3%0xa>=0x2&&_0x2f6bd3%0xa<=0x4&&(_0x2f6bd3%0x64<0xa||_0x2f6bd3%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4415c9=>{const {bs:{dictionary:_0x39f1f4,getPluralForm:_0x3311aa}}={'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':_0x5d2ff3=>_0x5d2ff3%0xa==0x1&&_0x5d2ff3%0x64!=0xb?0x0:_0x5d2ff3%0xa>=0x2&&_0x5d2ff3%0xa<=0x4&&(_0x5d2ff3%0x64<0xa||_0x5d2ff3%0x64>=0x14)?0x1:0x2}};_0x4415c9['bs']||={'dictionary':{},'getPluralForm':null},_0x4415c9['bs']['dictionary']=Object['assign'](_0x4415c9['bs']['dictionary'],_0x39f1f4),_0x4415c9['bs']['getPluralForm']=_0x3311aa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1a49d4=>{const {bs:{dictionary:_0x15fae5,getPluralForm:_0x1dc18a}}={'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':_0x1d3f44=>_0x1d3f44%0xa==0x1&&_0x1d3f44%0x64!=0xb?0x0:_0x1d3f44%0xa>=0x2&&_0x1d3f44%0xa<=0x4&&(_0x1d3f44%0x64<0xa||_0x1d3f44%0x64>=0x14)?0x1:0x2}};_0x1a49d4['bs']||={'dictionary':{},'getPluralForm':null},_0x1a49d4['bs']['dictionary']=Object['assign'](_0x1a49d4['bs']['dictionary'],_0x15fae5),_0x1a49d4['bs']['getPluralForm']=_0x1dc18a;})(window['CKEDITOR_TRANSLATIONS']||={});