@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251203.0 → 0.0.0-nightly-20251204.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 _0x5529e1,Command as _0xdcaedd}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x316436,IconGooglePhotos as _0x4fe954,IconGoogleDrive as _0x4c5d44,IconFacebook as _0x18b380,IconDropbox as _0x22fa9b,IconUploadcareLink as _0x434de6,IconUploadcareImageUpload as _0xa8bd31,IconError as _0x4699c2,IconUploadcareImageEdit as _0x3a33ff}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5ca8b5,MenuBarMenuListItemButtonView as _0x3b8fa2,View as _0x3cc980,FocusCycler as _0x3276ce,Dialog as _0x2f6f99,DialogViewPosition as _0x266679,SpinnerView as _0x42c23f,IconView as _0x2d903e,Notification as _0x1dd87f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x49dccd,DomEmitterMixin as _0x5921bb,global as _0x5881a7,getAncestors as _0x5d53ff,ObservableMixin as _0x1859a3,uid as _0x14e9d0,createElement as _0x402594}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2d24d3}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1319c5,info as _0x113197}from'@uploadcare/upload-client';import*as _0x2ff8f6 from'@uploadcare/file-uploader';var i=function(_0x2eef4c){return _0x2eef4c['Local']='local',_0x2eef4c['URL']='url',_0x2eef4c['Dropbox']='dropbox',_0x2eef4c['GDrive']='gdrive',_0x2eef4c['Facebook']='facebook',_0x2eef4c['GPhotos']='gphotos',_0x2eef4c['OneDrive']='onedrive',_0x2eef4c;}({});function _(_0x16676b,_0x229345,_0x2bba11){const t=_0x16676b['t'],_0x53ceb9=_0x16676b['t'];switch(_0x229345){case i['Local']:return{'text':_0x53ceb9('Insert'===_0x2bba11?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x53ceb9('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2bba11?_0x53ceb9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x53ceb9('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2bba11?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x229345;}}class e extends _0x5529e1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x65a859=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x364c09;for(const _0x14f53b in _0x65a859){const _0x2d6a11=_0x14f53b,_0x200b09=_0x65a859[_0x2d6a11];if('uploadcareLicenseKeyValid'==_0x200b09||'uploadcareLicenseKeyInvalid'==_0x200b09||'uploadcareLicenseKeyExpired'==_0x200b09||'uploadcareLicenseKeyDomainLimit'==_0x200b09||'uploadcareLicenseKeyNotAllowed'==_0x200b09||'uploadcareLicenseKeyEvaluationLimit'==_0x200b09||'uploadcareLicenseKeyTrialLimit'==_0x200b09||'uploadcareLicenseKeyUsageLimit'==_0x200b09){delete _0x65a859[_0x2d6a11],_0x364c09=_0x200b09,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x364c09&&_0x65a859['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x364c09&&_0x65a859['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x364c09&&_0x65a859['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x364c09&&_0x65a859['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x364c09&&_0x65a859['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x364c09&&_0x65a859['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x364c09&&_0x65a859['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3f93e0}=this,_0x27ed9c=_0x3f93e0['commands']['get']('uploadcare');if(!_0x27ed9c)return;const _0x1fa79b=this['_normalizeConfigSourceList'](_0x3f93e0['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1b611a,_0x3f6ae7)=>{const _0x31b397=this['_getIntegrationKey'](_0x3f6ae7['type']);return _0x1b611a[_0x31b397]||(_0x1b611a[_0x31b397]=[]),_0x1b611a[_0x31b397]['push'](_0x3f6ae7),_0x1b611a;},{});_0x3f93e0['plugins']['has']('ImageInsertUI')&&_0x3f93e0['commands']['get']('uploadcare')&&Object['entries'](_0x1fa79b)['forEach'](([_0xe51bc1,_0x411d55])=>{_0x3f93e0['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xe51bc1,'observable':()=>_0x27ed9c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x411d55),'formViewCreator':()=>this['_createDropdownButtons'](_0x411d55),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x411d55),'override':'assetManager'!==_0xe51bc1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3d0d35){const {locale:_0x476520}=this['editor'];return _0x3d0d35['map'](_0x8959c9=>{const _0x4d271e=_(_0x476520,_0x8959c9,'Insert');switch(_0x8959c9){case i['Local']:return{'icon':_0xa8bd31,'type':i['Local'],..._0x4d271e};case i['URL']:return{'icon':_0x434de6,'type':i['URL'],..._0x4d271e};case i['Dropbox']:return{'icon':_0x22fa9b,'type':i['Dropbox'],..._0x4d271e};case i['Facebook']:return{'icon':_0x18b380,'type':i['Facebook'],..._0x4d271e};case i['GDrive']:return{'icon':_0x4c5d44,'type':i['GDrive'],..._0x4d271e};case i['GPhotos']:return{'icon':_0x4fe954,'type':i['GPhotos'],..._0x4d271e};case i['OneDrive']:return{'icon':_0x316436,'type':i['OneDrive'],..._0x4d271e};}});}['_getIntegrationKey'](_0x2895dd){switch(_0x2895dd){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x560a23,_0x40b591){const _0x121656=this['editor'],_0x54509c=new _0x560a23(_0x121656['locale']),_0x37e2eb=_0x121656['commands']['get']('uploadcare');return _0x54509c['bind']('isEnabled')['to'](_0x37e2eb),_0x54509c['on']('execute',()=>{_0x37e2eb['execute'](_0x40b591);}),_0x54509c;}['_createToolbarButton'](_0x166d9e){const {locale:_0x1a2492}=this['editor'],_0x4b1bb4=this['editor']['plugins']['get']('ImageInsertUI'),_0xc441bf=_0x166d9e[0x0],_0x5433d0=this['_createButton'](_0x5ca8b5,_0xc441bf['type']);return _0x5433d0['icon']=_0xc441bf['icon'],_0x5433d0['bind']('label')['to'](_0x4b1bb4,'isImageSelected',_0x370ad0=>_(_0x1a2492,_0xc441bf['type'],_0x370ad0?'Replace':'Insert')['text']),_0x5433d0['tooltip']=!0x0,_0x5433d0;}['_createDropdownButtons'](_0x59de79){const {locale:_0x4a71f4}=this['editor'],_0x5eb89d=this['editor']['plugins']['get']('ImageInsertUI');return _0x59de79['map'](_0x15805c=>{const _0x4bccbe=this['_createButton'](_0x5ca8b5,_0x15805c['type']);return _0x4bccbe['withText']=!0x0,_0x4bccbe['icon']=_0x15805c['icon'],_0x4bccbe['bind']('label')['to'](_0x5eb89d,'isImageSelected',_0x255ab2=>_(_0x4a71f4,_0x15805c['type'],_0x255ab2?'Replace':'Insert')['text']),_0x4bccbe;});}['_createMenuBarButtons'](_0x202664){return _0x202664['map'](_0x5d8140=>{const _0x1b5d2f=this['_createButton'](_0x3b8fa2,_0x5d8140['type']);return _0x1b5d2f['icon']=_0x5d8140['icon'],_0x1b5d2f['label']=_0x5d8140['shortText'],_0x1b5d2f;});}}class F extends _0x3cc980{['focusTracker'];['focusCycler'];constructor(_0x5c0b99){super(_0x5c0b99),this['focusTracker']=new _0x49dccd(),this['focusCycler']=new _0x3276ce({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x13d0f6,_0x264c9f){super(_0x13d0f6),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x264c9f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x1a237b,_0x64d93d){const _0x95a9de=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x384a24=>_0x384a24<=_0x64d93d)['map'](_0x3fc707=>_0x1a237b['replace'](/\/$/,'')+'/-/resize/'+_0x3fc707+'x/\x20'+_0x3fc707+'w');return{'imageFallbackUrl':_0x1a237b,'imageSources':[{'srcset':_0x95a9de['join'](',\x20'),'sizes':'(max-width:\x20'+_0x64d93d+'px)\x20100vw,\x20'+_0x64d93d+'px','type':'image/webp'}]};}function S(_0x14e0d0,_0x19f104,_0x589b8f){const _0x3d069b=_0x14e0d0['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3d069b?parseInt(_0x3d069b[0x1],0xa):_0x19f104,'height':_0x3d069b?parseInt(_0x3d069b[0x2],0xa):_0x589b8f};}function p(_0x32b512,_0x42a010){const _0x242d47=new(_0x5921bb())(),_0x2bf9d1=_0x32b512['plugins']['get']('ImageUtils'),_0x23cf0d=_0x32b512['editing']['mapper']['toViewElement'](_0x42a010),_0xaf774b=_0x2bf9d1['findViewImgElement'](_0x23cf0d),_0x3a1fb5=_0x32b512['editing']['view']['domConverter']['viewToDom'](_0xaf774b),_0x28f00a=_0x42a010['getAttribute']('width'),_0x332849=_0x42a010['getAttribute']('height'),_0x19d398='image-processing';_0x32b512['editing']['view']['change'](_0x26527c=>{_0x26527c['addClass'](_0x19d398,_0x23cf0d),_0x26527c['setStyle']('aspect-ratio',_0x28f00a+'/'+_0x332849,_0xaf774b);}),_0x242d47['listenTo'](_0x3a1fb5,'load',()=>{_0x242d47['stopListening'](_0x3a1fb5,'load'),_0x32b512['editing']['view']['change'](_0x20939b=>{_0x20939b['removeClass'](_0x19d398,_0x23cf0d),_0x20939b['removeStyle']('aspect-ratio',_0xaf774b);});});}function G(_0x28e814){if(Array['isArray'](_0x28e814)){const _0x3f9ec3=_0x28e814['map'](G);return _0x1b1d32=>_0x3f9ec3['some'](_0x6195c8=>_0x6195c8(_0x1b1d32));}if('origin'==_0x28e814){const _0x1f0598=_0x5881a7['window']['location']['origin'];return _0x351cd8=>new URL(_0x351cd8,_0x5881a7['document']['baseURI'])['origin']==_0x1f0598;}return'function'==typeof _0x28e814?_0x28e814:_0x28e814 instanceof RegExp?_0xc0a448=>!(!_0xc0a448['match'](_0x28e814)&&!_0xc0a448['replace'](/^https?:\/\//,'')['match'](_0x28e814)):()=>!0x1;}function A(_0x44b03f,_0x57f5f6){return _0x5d53ff(_0x44b03f['target'])['includes'](_0x57f5f6);}class n extends/* #__PURE__ -- @preserve */
24
- _0x1859a3(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x31bd5f,_0x1ad588,_0x18aaa4){super(),this['_editor']=_0x31bd5f,this['_editing']=_0x1ad588,this['_dialog']=_0x31bd5f['plugins']['get'](_0x2f6f99),this['_api']=_0x1ad588['ctxElement']['getAPI'](),this['_type']=_0x18aaa4,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x13cbae,model:_0x29bb07}=this['_editor'],_0x1f1e4f=_0x29bb07['document']['selection']['getSelectedElement'](),_0x93094=_0x1f1e4f&&(_0x1f1e4f['is']('element','imageBlock')||_0x1f1e4f['is']('element','imageInline'));this['_formView']=new x(_0x13cbae,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xa8bd31,'title':_(_0x13cbae,this['_type'],_0x93094?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x266679['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5ef481=>!A(_0x5ef481,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x50844a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3e2142=>{const _0x18b6d9=_0x50844a['length'];for(const _0x25ebe3 of _0x50844a){const _0x111b84=_0x25ebe3===_0x50844a[_0x18b6d9-0x1],{cdnUrl:_0x94e152,fileInfo:_0x2188ac}=_0x25ebe3;if(!_0x94e152||!_0x2188ac)continue;const {width:_0x57b5ca,height:_0x4ad398}=_0x2188ac['imageInfo'],_0x292487=S(_0x94e152,_0x57b5ca,_0x4ad398),_0x5042cb=C(_0x94e152,_0x292487['width']),_0x5740bb={'id':_0x2188ac['uuid'],'type':'image','attributes':{'imageDimension':_0x292487,..._0x5042cb}};this['_insertAsset'](_0x5740bb,_0x111b84,_0x3e2142);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x32eaf9=>{'idle'===_0x32eaf9['detail']['status']&&!_0x32eaf9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4cd19b,_0xfddc2a,_0x4a7b6f){const _0x2934db=this['_editor']['model']['document']['selection'],_0x1fb108=_0x2934db['getSelectedElement'](),_0x2e3252=!(!_0x1fb108||!_0x1fb108['is']('element','imageInline'));_0x4a7b6f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4cd19b,_0x2e3252),_0xfddc2a||_0x4a7b6f['setSelection'](_0x2934db['getLastPosition']());}['_insertImage'](_0x56dfac,_0x55d55f){const _0x42c4b2=this['_editor'],{imageDimension:_0x560ab8,imageFallbackUrl:_0x3118d2,imageSources:_0x1e6e74}=_0x56dfac['attributes'];_0x42c4b2['execute']('insertImage',{'imageType':_0x55d55f?'imageInline':null,'source':{'uploadcareImageId':_0x56dfac['id'],'src':_0x3118d2,'sources':_0x1e6e74,..._0x560ab8}});}}class w extends _0xdcaedd{['_editing'];['_controller']=null;static get['requires'](){return[_0x2f6f99,o];}constructor(_0xba4bac){super(_0xba4bac),this['_editing']=_0xba4bac['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x16fde2){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x16fde2);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x53bde3,..._0x47b149}){return _0x1319c5(_0x53bde3,_0x47b149);}static['getInfo'](_0x55fe66,_0x38cf5e){return _0x113197(_0x55fe66,_0x38cf5e);}}class f extends _0x5529e1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2d24d3,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x573b9f=this['editor'];if(!!!_0x573b9f['config']['get']('uploadcare'))return;_0x573b9f['plugins']['get'](_0x2d24d3)['createUploadAdapter']=_0x414c22=>new k(_0x414c22,_0x573b9f),_0x573b9f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3074ca,{imageElement:_0x161c2b,data:_0x4f921d})=>{_0x573b9f['model']['change'](_0x254056=>{_0x254056['setAttribute']('uploadcareImageId',_0x4f921d['uploadcareImageId'],_0x161c2b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x54eb3c,_0x2ba5ae){this['loader']=_0x54eb3c,this['editor']=_0x2ba5ae,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x171918=await this['loader']['file'];return j['upload']({'file':_0x171918,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3ba967=>{_0x3ba967&&_0x3ba967['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3ba967['value']);}})['then'](async _0x202387=>{const {imageFallbackUrl:_0x762db8,imageSources:_0x441f39}=C(_0x202387['cdnUrl'],_0x202387['imageInfo']['width']);return{'uploadcareImageId':_0x202387['uuid'],'default':_0x762db8,'sources':_0x441f39};})['catch'](()=>{const _0x28f374=t('Cannot\x20upload\x20file:')+('\x20'+_0x171918['name']+'.');return Promise['reject'](_0x28f374);});}['abort'](){this['controller']['abort']();}}class o extends _0x5529e1{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2f6f99];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1fac1a){super(_0x1fac1a),this['ucContextId']=_0x14e9d0();}['init'](){const _0x17fc66=this['editor'];_0x17fc66['commands']['add']('uploadcare',new w(_0x17fc66));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x25a344=_0x5881a7['document']['querySelector']('input[uploadcare-file-input]');_0x25a344&&_0x25a344['remove']();}),async function(_0x1600a9){const _0x5417f9=_0x46545e([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0xe6f766=0x535f8c3a,_0x536afe=0x5358f6e2^_0xe6f766,_0x59555b=window[_0x46545e([0x44,0x61,0x74,0x65])][_0x46545e([0x6e,0x6f,0x77])](),_0x22a348=_0x1600a9[_0x46545e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa13b8b=new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d6319=>{_0x22a348[_0x46545e([0x6f,0x6e,0x63,0x65])](_0x46545e([0x72,0x65,0x61,0x64,0x79]),_0x1d6319);}),_0x2b6755={[_0x46545e([0x6b,0x74,0x79])]:_0x46545e([0x45,0x43]),[_0x46545e([0x75,0x73,0x65])]:_0x46545e([0x73,0x69,0x67]),[_0x46545e([0x63,0x72,0x76])]:_0x46545e([0x50,0x2d,0x32,0x35,0x36]),[_0x46545e([0x78])]:_0x46545e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x46545e([0x79])]:_0x46545e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x46545e([0x61,0x6c,0x67])]:_0x46545e([0x45,0x53,0x32,0x35,0x36])},_0x588169=_0x22a348[_0x46545e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46545e([0x67,0x65,0x74])](_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1bf528(){let _0x3fe024,_0x4e3c9c=null,_0x245f3b=null;try{if(_0x588169==_0x46545e([0x47,0x50,0x4c]))return _0x46545e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fe024=_0x9f7f58(),!_0x3fe024)return _0x46545e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fe024[_0x46545e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x245f3b=_0x269e99(_0x3fe024[_0x46545e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fe024[_0x46545e([0x6a,0x74,0x69])])),await _0xa6b447()?_0x2b1664()?_0x546854()?_0x46545e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fa9f2()?(_0x3fe024[_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46545e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e3c9c=_0x444ab6(_0x46545e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fe024[_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46545e([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e3c9c=_0x444ab6(_0x46545e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34b081()):_0x46545e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46545e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46545e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46545e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x546854(){const _0x5b40fe=[_0x46545e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46545e([0x74,0x72,0x69,0x61,0x6c])][_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe024[_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59555b/0x3e8:0xe10*_0x536afe;return _0x3fe024[_0x46545e([0x65,0x78,0x70])]<_0x5b40fe;}function _0x2b1664(){const _0x4212e8=_0x3fe024[_0x46545e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4212e8&&(!!_0x4212e8[_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46545e([0x2a]))||!!_0x4212e8[_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46545e([0x55,0x50,0x4c,0x43])));}function _0x2fa9f2(){const _0x162d63=_0x3fe024[_0x46545e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x162d63||0x0==_0x162d63[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51340c}=new URL(window[_0x46545e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x162d63[_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51340c))return!0x0;const _0x37c7a2=_0x51340c[_0x46545e([0x73,0x70,0x6c,0x69,0x74])](_0x46545e([0x2e]));return _0x162d63[_0x46545e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26b146=>_0x26b146[_0x46545e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46545e([0x2a])))[_0x46545e([0x6d,0x61,0x70])](_0xc0bf86=>_0xc0bf86[_0x46545e([0x73,0x70,0x6c,0x69,0x74])](_0x46545e([0x2e])))[_0x46545e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f233d=>_0x1f233d[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x37c7a2[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46545e([0x6d,0x61,0x70])](_0x540236=>Array(_0x37c7a2[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x540236[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46545e([0x66,0x69,0x6c,0x6c])](_0x540236[0x0]===_0x46545e([0x2a])?_0x46545e([0x2a]):'')[_0x46545e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x540236))[_0x46545e([0x73,0x6f,0x6d,0x65])](_0x57bec9=>_0x37c7a2[_0x46545e([0x65,0x76,0x65,0x72,0x79])]((_0x1d6fde,_0x3f05df)=>_0x57bec9[_0x3f05df]===_0x1d6fde||_0x57bec9[_0x3f05df]===_0x46545e([0x2a])));}function _0x34b081(){return _0x4e3c9c&&_0x245f3b?new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d957c,_0x4af196)=>{_0x4e3c9c[_0x46545e([0x74,0x68,0x65,0x6e])](_0x1d957c,_0x4af196),_0x245f3b[_0x46545e([0x74,0x68,0x65,0x6e])](_0xc99adc=>{_0xc99adc!=_0x46545e([0x56,0x61,0x6c,0x69,0x64])&&_0x1d957c(_0xc99adc);},_0x4af196);}):_0x4e3c9c||_0x245f3b||_0x46545e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x269e99(_0x4cfa74,_0x181fe9){return new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20eaa9=>{if(_0x4d1059())return _0x20eaa9(_0x46545e([0x56,0x61,0x6c,0x69,0x64]));_0x55aa4c(),_0x22a348[_0x46545e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46545e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2588ab=!0x1;const _0x3eeb5d=_0x14e9d0();function _0xc77486(_0x4f60db){return!!_0x4f60db&&(typeof _0x4f60db===_0x46545e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f60db===_0x46545e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f60db[_0x46545e([0x74,0x68,0x65,0x6e])]===_0x46545e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f60db[_0x46545e([0x63,0x61,0x74,0x63,0x68])]===_0x46545e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x111b02(_0xb4632b){_0x2739cf(_0xb4632b)[_0x46545e([0x74,0x68,0x65,0x6e])](_0x2214ea=>{if(!_0x2214ea||_0x2214ea[_0x46545e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46545e([0x6f,0x6b]))return _0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x352f67(_0x527129(_0x3eeb5d+_0x181fe9))!=_0x2214ea[_0x46545e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46545e([0x56,0x61,0x6c,0x69,0x64]);})[_0x46545e([0x74,0x68,0x65,0x6e])](_0xef3823=>(_0x9f3cc6(),_0xef3823),()=>{const _0x448021=_0x4654ad();return null==_0x448021?(_0x9f3cc6(),_0x46545e([0x56,0x61,0x6c,0x69,0x64])):_0x46545e(_0x59555b-_0x448021>(0x7753083a^_0xe6f766)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46545e([0x74,0x68,0x65,0x6e])](_0x20eaa9)[_0x46545e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20eaa9(_0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2693ef=0x536962ba^_0xe6f766;function _0x9f3cc6(){const _0x1bcef0=_0x46545e([0x6c,0x6c,0x63,0x74,0x2d])+_0x352f67(_0x527129(_0x4cfa74)),_0x3bc4a2=_0xfa010b(_0x352f67(window[_0x46545e([0x4d,0x61,0x74,0x68])][_0x46545e([0x63,0x65,0x69,0x6c])](_0x59555b/_0x2693ef)));window[_0x46545e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46545e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bcef0,_0x3bc4a2);}function _0x4654ad(){const _0x1269a8=_0x46545e([0x6c,0x6c,0x63,0x74,0x2d])+_0x352f67(_0x527129(_0x4cfa74)),_0x836609=window[_0x46545e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46545e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1269a8);return _0x836609?window[_0x46545e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfa010b(_0x836609),0x10)*_0x2693ef:null;}function _0x2739cf(_0xfae2b6){return new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c3b17,_0x5862e7)=>{_0xfae2b6[_0x46545e([0x74,0x68,0x65,0x6e])](_0x3c3b17,_0x5862e7),window[_0x46545e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5862e7,0x535e58fa^_0xe6f766);});}}_0x22a348[_0x46545e([0x6f,0x6e])](_0x46545e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26c674,_0x198351)=>{if(_0x198351[0x0]!=_0x4cfa74)return _0x20eaa9(_0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x198351[0x1]={..._0x198351[0x1],[_0x46545e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3eeb5d};},{[_0x46545e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46545e([0x68,0x69,0x67,0x68])}),_0x22a348[_0x46545e([0x6f,0x6e])](_0x46545e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x526519=>{_0xc77486(_0x526519[_0x46545e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2588ab=!0x0,_0x111b02(_0x526519[_0x46545e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46545e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46545e([0x6c,0x6f,0x77])}),_0xa13b8b[_0x46545e([0x74,0x68,0x65,0x6e])](()=>{_0x2588ab||_0x20eaa9(_0x46545e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d1059(){return _0x22a348[_0x46545e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46545e([0x76,0x69,0x65,0x77])][_0x46545e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46545e([0x61,0x75,0x74,0x6f]);}function _0x55aa4c(){_0x22a348[_0x46545e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46545e([0x76,0x69,0x65,0x77])][_0x46545e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46545e([0x61,0x75,0x74,0x6f]);}}function _0x444ab6(_0x11426c){const _0x161ed6=[new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39e641=>setTimeout(_0x39e641,0x5356b2f6^_0xe6f766)),_0xa13b8b[_0x46545e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25c55b=>{let _0x34a854=0x0;_0x22a348[_0x46545e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46545e([0x6f,0x6e])](_0x46545e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3681cf,_0x1223c6)=>{_0x1223c6[0x0][_0x46545e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34a854++,_0x34a854==(0x535f8dc2^_0xe6f766)&&(_0x25c55b(),_0x3681cf[_0x46545e([0x6f,0x66,0x66])]());});}))];return window[_0x46545e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46545e([0x72,0x61,0x63,0x65])](_0x161ed6)[_0x46545e([0x74,0x68,0x65,0x6e])](()=>_0x11426c);}async function _0x56e81e(){await _0xa13b8b,_0x22a348[_0x46545e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46545e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x557553,_0x22a348[_0x46545e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46545e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x557553,_0x22a348[_0x46545e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46545e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e112d(_0x5eef71){const _0x554c09=_0x5c1ebd();_0x22a348[_0x554c09]=_0x46545e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5eef71,_0x5eef71!=_0x46545e([0x56,0x61,0x6c,0x69,0x64])&&_0x56e81e();}function _0x5c1ebd(){const _0x94f83a=window[_0x46545e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46545e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46545e([0x6e,0x6f,0x77])]())[_0x46545e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46545e([0x2e]),'');let _0x555cae=_0x46545e([0x68]);for(let _0x410d9b=0x0;_0x410d9b<_0x94f83a[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x410d9b+=0x2){let _0xbd82d9=window[_0x46545e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x94f83a[_0x46545e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x410d9b,_0x410d9b+0x2));_0xbd82d9>=_0x5417f9[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbd82d9-=_0x5417f9[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x555cae+=_0x5417f9[_0xbd82d9];}return _0x555cae;}function _0x9f7f58(){const _0x944cae=_0x588169[_0x46545e([0x73,0x70,0x6c,0x69,0x74])](_0x46545e([0x2e]));if(0x3!=_0x944cae[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x393a27(_0x944cae[0x1]);function _0x393a27(_0x459f59){const _0x3f9e6b=_0x114072(_0x459f59);return _0x3f9e6b&&_0x42a2d2()?_0x3f9e6b:null;function _0x42a2d2(){const _0x4ca0c9=_0x3f9e6b[_0x46545e([0x6a,0x74,0x69])],_0xd0fd5f=window[_0x46545e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ca0c9[_0x46545e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ca0c9[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa041e7={..._0x3f9e6b,[_0x46545e([0x6a,0x74,0x69])]:_0x4ca0c9[_0x46545e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ca0c9[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa041e7[_0x46545e([0x76,0x63])],_0x527129(_0xa041e7)==_0xd0fd5f;}}}async function _0xa6b447(){let _0x2a56c7=!0x0;try{const _0x27a900=_0x588169[_0x46545e([0x73,0x70,0x6c,0x69,0x74])](_0x46545e([0x2e])),[_0x4387b5,_0x52dd5e,_0x43eee5]=_0x27a900;return _0x1fa145(_0x4387b5),await _0x2faaa8(_0x4387b5,_0x52dd5e,_0x43eee5),_0x2a56c7;}catch{return!0x1;}function _0x1fa145(_0xea4aea){const _0x3bfc30=_0x114072(_0xea4aea);_0x3bfc30&&_0x3bfc30[_0x46545e([0x61,0x6c,0x67])]==_0x46545e([0x45,0x53,0x32,0x35,0x36])||(_0x2a56c7=!0x1);}async function _0x2faaa8(_0x119d38,_0x2d56ac,_0x303d4c){const _0x563105=window[_0x46545e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46545e([0x66,0x72,0x6f,0x6d])](_0x5c2fb7(_0x303d4c),_0x11c942=>_0x11c942[_0x46545e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3ee4fa=new window[(_0x46545e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46545e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x119d38+_0x46545e([0x2e])+_0x2d56ac),_0x37dd51=window[_0x46545e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46545e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37dd51)return;const _0x29bae1=await _0x37dd51[_0x46545e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46545e([0x6a,0x77,0x6b]),_0x2b6755,{[_0x46545e([0x6e,0x61,0x6d,0x65])]:_0x46545e([0x45,0x43,0x44,0x53,0x41]),[_0x46545e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46545e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46545e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37dd51[_0x46545e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46545e([0x6e,0x61,0x6d,0x65])]:_0x46545e([0x45,0x43,0x44,0x53,0x41]),[_0x46545e([0x68,0x61,0x73,0x68])]:{[_0x46545e([0x6e,0x61,0x6d,0x65])]:_0x46545e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29bae1,_0x563105,_0x3ee4fa)||(_0x2a56c7=!0x1);}}function _0x114072(_0x39340b){return _0x39340b[_0x46545e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46545e([0x65,0x79]))?JSON[_0x46545e([0x70,0x61,0x72,0x73,0x65])](_0x5c2fb7(_0x39340b)):null;}function _0x5c2fb7(_0xeb7625){return window[_0x46545e([0x61,0x74,0x6f,0x62])](_0xeb7625[_0x46545e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46545e([0x2b]))[_0x46545e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46545e([0x2f])));}function _0x527129(_0x36c86a){let _0x122d6d=0x1505;function _0x1fa0ec(_0x7673d4){for(let _0x404135=0x0;_0x404135<_0x7673d4[_0x46545e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x404135++){const _0x26a69a=_0x7673d4[_0x46545e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x404135);_0x122d6d=(_0x122d6d<<0x5)+_0x122d6d+_0x26a69a,_0x122d6d&=_0x122d6d;}}function _0x5f34f0(_0x30f064){Array[_0x46545e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x30f064)?_0x30f064[_0x46545e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f34f0):_0x30f064&&typeof _0x30f064==_0x46545e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46545e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x30f064)[_0x46545e([0x73,0x6f,0x72,0x74])]()[_0x46545e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x456d60,_0x32db92])=>{_0x1fa0ec(_0x456d60),_0x5f34f0(_0x32db92);}):_0x1fa0ec(window[_0x46545e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x30f064));}return _0x5f34f0(_0x36c86a),_0x122d6d>>>0x0;}function _0x352f67(_0x3ff454){return _0x3ff454[_0x46545e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46545e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46545e([0x30]));}function _0xfa010b(_0x696845){return _0x696845[_0x46545e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46545e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46545e([0x6a,0x6f,0x69,0x6e])]('');}function _0x557553(){}function _0x46545e(_0x468064){return _0x468064['map'](_0x16f16d=>String['fromCharCode'](_0x16f16d))['join']('');}_0x5e112d(await _0x1bf528());}(this);}['_initSchema'](){const _0x1cdec6=this['editor']['model']['schema'];_0x1cdec6['isRegistered']('imageBlock')&&_0x1cdec6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1cdec6['isRegistered']('imageInline')&&_0x1cdec6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x569bc0=this['editor'];_0x569bc0['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x569bc0['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x196f4c=>_0x196f4c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x89de38=_0x569bc0['commands']['get']('replaceImageSource');_0x89de38&&this['listenTo'](_0x89de38,'cleanupImage',(_0x3497c1,[_0xe03689,_0x2529c6])=>{_0xe03689['removeAttribute']('uploadcareImageId',_0x2529c6);});}['_initConfig'](){const _0x7d3f5c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x558992=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x402594(_0x5881a7['document'],'uc-config',{..._0x7d3f5c,'pubkey':_0x558992,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0xca6422=>{if('closeMax'==_0xca6422)return'#uc-icon-arrow-down';},_0x5881a7['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x402594(_0x5881a7['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5881a7['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x397524=this['editor']['commands']['get']('insertImage');_0x397524&&this['listenTo'](_0x397524,'execute',()=>{const _0x19a200=this['editor']['model']['document']['selection']['getSelectedElement']();_0x19a200&&_0x19a200['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x19a200);});});const _0x9c0bf1=this['editor']['commands']['get']('uploadcareImageReplace');_0x9c0bf1&&this['listenTo'](_0x9c0bf1,'execute',()=>{const _0x1dc848=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1dc848&&_0x1dc848['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1dc848);});});}}class tt extends _0x5529e1{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f0952){super(_0x1f0952),_0x1f0952['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2ff8f6['defineComponents'](_0x2ff8f6),this['_defineLocale']();}['_defineLocale'](){const _0x5ba8ca=this['editor']['config']['get']('uploadcare.locale'),_0x1863ce=this['editor']['locale']['contentLanguage'];_0x5ba8ca&&_0x2ff8f6['defineLocale'](_0x1863ce,_0x5ba8ca);}}class ii extends _0x3cc980{constructor(_0x1d896c){super(_0x1d896c);const t=_0x1d896c['t'],_0x25322a=this['bindTemplate'],_0x4d8f70=new _0x42c23f();_0x4d8f70['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x4d8f70,{'text':_0x25322a['to']('imageUploadProgress',_0x59eaea=>t('Loading\x20image...')+'\x20('+(_0x59eaea||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x3cc980{constructor(_0x54bcc1){super(_0x54bcc1);const t=_0x54bcc1['t'];this['set']('errorType',null);const _0x14045a=new _0x5ca8b5(_0x54bcc1);_0x14045a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x14045a['withText']=!0x0,_0x14045a['class']='ck-button-action',_0x14045a['on']('execute',()=>{this['fire']('retry');}),_0x14045a['bind']('isVisible')['to'](this,'errorType',_0x1d04e4=>'NotFound'!==_0x1d04e4);const _0x1bc3c3=new _0x2d903e();_0x1bc3c3['content']=_0x4699c2,_0x1bc3c3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xff0dcc=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x1bc3c3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xff0dcc['to']('errorType',_0x2e7536=>t('NotFound'!==_0x2e7536?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x14045a]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x3cc980{constructor(_0x195f84,_0x5613d2){super(_0x195f84);const _0x379ba9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5613d2,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x379ba9['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x37891f,_0x197432,_0x2675c1){super(_0x37891f),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x37891f),this['_errorView']=new ti(_0x37891f),this['_editingView']=new ei(_0x37891f,_0x2675c1),this['_focusableView']=new _0x3cc980(_0x37891f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x197432),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x5838c9=>{this['_addUploadcareImageEditorListeners'](_0x5838c9);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x240711,_0x4b7593){const _0x5804f0='uc-cloud-image-editor',_0x3661b1=_0x240711['querySelector'](_0x5804f0);if(_0x3661b1)return _0x4b7593(_0x3661b1);const _0x5831c5=new MutationObserver(_0x31204b=>{const _0x1c87c9=_0x31204b['filter'](_0x3e361a=>_0x3e361a['target']===_0x240711&&_0x3e361a['addedNodes']['length']>0x0&&_0x3e361a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5804f0);_0x1c87c9['length']&&(_0x5831c5['disconnect'](),_0x4b7593(_0x1c87c9[0x0]['addedNodes'][0x0]));});_0x5831c5['observe'](_0x240711,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5b51f5){_0x5b51f5['addEventListener']('apply',_0x334401=>{this['fire']('apply',{'imageSrc':_0x334401['detail']['cdnUrl']});}),_0x5b51f5['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x1859a3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xc11c5e,_0x6e11e4,_0x101a0b){super(),this['_editor']=_0xc11c5e,this['_dialog']=_0x6e11e4,this['_imageElement']=_0x101a0b,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x573c25=this['_imageElement'],_0xbe9a46=_0x573c25['getAttribute']('uploadcareImageId'),_0x2bfcbc=_0x573c25['getAttribute']('src');if(_0xbe9a46)await this['_loadImageInfo'](_0xbe9a46,_0x2bfcbc);else{if(this['_imageCache']['has'](_0x2bfcbc)){const _0xf4476e=this['_imageCache']['get'](_0x2bfcbc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf4476e['url'],this['imageDimension']=_0xf4476e['dimension'],this['imageId']=_0xf4476e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4a030b}=this['_editor'],t=_0x4a030b['t'],_0x5c888a=new X(_0x4a030b,this['imageStatus'],this['_attributes']);_0x5c888a['bind']('status')['to'](this,'imageStatus'),_0x5c888a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5c888a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5c888a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5c888a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3a33ff,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5c888a,'position':_0x266679['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5c888a['focus']();},'onHide':()=>{_0x5c888a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4c351d=>!A(_0x4c351d,_0x5c888a['element'])}});}['_loadImageInfo'](_0x1602ff,_0x251edc){return j['getInfo'](_0x1602ff,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x357ecc=>{const {width:_0x5f3b9d,height:_0x56e4b1}=_0x357ecc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x251edc,this['imageDimension']={'width':_0x5f3b9d,'height':_0x56e4b1},this['imageId']=_0x1602ff;})['catch'](_0x2f6635=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2f6635['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5bfcdd,_0x34e4d4){return this['_getImageAsFile'](_0x5bfcdd)['then'](_0x161ffb=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x34e4d4['signal'],'file':_0x161ffb,'onProgress':_0x5ab8ba=>{_0x5ab8ba&&_0x5ab8ba['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5ab8ba['value']));}}))['then'](_0x5160f3=>{const {width:_0xf6e08,height:_0x468b93}=_0x5160f3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5160f3['cdnUrl'],this['imageDimension']={'width':_0xf6e08,'height':_0x468b93},this['imageId']=_0x5160f3['uuid'],this['imageUploadProgress']=null;const _0x431898=_0x5bfcdd['getAttribute']('src');this['_imageCache']['set'](_0x431898,{'id':_0x5160f3['uuid'],'url':_0x5160f3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb87026=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb87026['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4910bb,_0x5f4c63){_0x4910bb['on']('apply',(_0x21d554,_0x424d35)=>{this['_replaceImage'](_0x5f4c63,_0x424d35['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4910bb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4910bb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x33113a,_0x3b82a9,_0x2c9d62){const _0x133f1b=this['_editor'],{width:_0x438c5d,height:_0x5d2d5a}=S(_0x3b82a9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x41e0b9,imageSources:_0x5e2684}=C(_0x3b82a9,_0x438c5d);_0x133f1b['model']['change'](_0x2d5493=>{if('$graveyard'===_0x33113a['root']['rootName']){_0x133f1b['execute']('insertImage',{'imageType':_0x33113a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x33113a['getAttributes']()),'uploadcareImageId':_0x2c9d62,'src':_0x41e0b9,'sources':_0x5e2684,'width':_0x438c5d,'height':_0x5d2d5a}});const _0x27e89b=_0x33113a['getChildren']();_0x33113a=_0x133f1b['model']['document']['selection']['getSelectedElement']();for(const _0x1de89e of _0x27e89b)_0x2d5493['append'](_0x2d5493['cloneElement'](_0x1de89e),_0x33113a);}else _0x2d5493['setSelection'](_0x33113a,'on'),_0x133f1b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x33113a['getAttributes']()),'uploadcareImageId':_0x2c9d62,'src':_0x41e0b9,'sources':_0x5e2684,'width':_0x438c5d,'height':_0x5d2d5a},_0x33113a);_0x2d5493['setSelection'](_0x33113a,'on');});}async['_getImageAsFile'](_0x33df59){const _0x5d58e8=_0x5881a7['window'],_0x35a65a=_0x5881a7['document']['location']['href'],_0x2d8bd3=new _0x5d58e8['URL'](_0x33df59['getAttribute']('src'),_0x35a65a);if('data:'===_0x2d8bd3['protocol']){const _0x41fafa=_0x2d8bd3['href']['split'](','),_0x364856=_0x41fafa[0x0]['match'](/:(.*?);/)[0x1],_0x676c9a=_0x364856['split']('/')[0x1],_0x4538e2=_0x5d58e8['atob'](_0x41fafa[_0x41fafa['length']-0x1]);let _0x12dc2d=_0x4538e2['length'];const _0x215136=new _0x5d58e8['Uint8Array'](_0x12dc2d);for(;_0x12dc2d--;)_0x215136[_0x12dc2d]=_0x4538e2['charCodeAt'](_0x12dc2d);return new _0x5d58e8['File']([_0x215136],'image.'+_0x676c9a,{'type':_0x364856});}const _0x1a6396=_0x2d8bd3['href']['split']('/'),_0x373c6d=_0x1a6396[_0x1a6396['length']-0x1],_0x558da8=_0x373c6d['split']('.')[0x1];return _0x5d58e8['fetch'](_0x2d8bd3['href'])['then'](_0x268f65=>_0x268f65['clone']()['blob']())['then'](_0x4232d3=>new _0x5d58e8['File']([_0x4232d3],_0x373c6d,{'type':'image/'+_0x558da8}));}}class O extends _0xdcaedd{['imageEditController'];static get['requires'](){return[_0x2f6f99];}['_isEditable'];constructor(_0x45990b){super(_0x45990b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3f8cc4){const _0x561d5e=G(_0x3f8cc4);return _0x1b1c9e=>!(!_0x1b1c9e||!_0x1b1c9e['is']('element','imageBlock')&&!_0x1b1c9e['is']('element','imageInline'))&&(!!_0x1b1c9e['hasAttribute']('uploadcareImageId')||!!_0x1b1c9e['hasAttribute']('src')&&_0x561d5e(_0x1b1c9e['getAttribute']('src')));}(_0x45990b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5b0cf3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5b0cf3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3ff706=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3ff706&&(_0x3ff706['is']('element','imageBlock')||_0x3ff706['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2f6f99),_0x3ff706),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xdcaedd{['refresh'](){const _0x3e638b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3e638b&&(_0x3e638b['is']('element','imageBlock')||_0x3e638b['is']('element','imageInline')));}['execute'](_0x55c7b4){const _0x373ef3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xd093e=>{_0xd093e['setAttributes'](_0x55c7b4,_0x373ef3),_0xd093e['removeAttribute']('srcset',_0x373ef3),_0xd093e['removeAttribute']('sizes',_0x373ef3);});}}class m extends _0x5529e1{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1dd87f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d0bf0}=this;_0x5d0bf0['commands']['add']('uploadcareImageEdit',new O(_0x5d0bf0)),_0x5d0bf0['commands']['add']('uploadcareImageReplace',new R(_0x5d0bf0));}}class g extends _0x5529e1{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x3a3942=this['editor'];_0x3a3942['ui']['componentFactory']['add']('uploadcareImageEdit',_0x245205=>{const _0x537394=_0x3a3942['commands']['get']('uploadcareImageEdit'),_0x11bbbf=new _0x5ca8b5(_0x245205),t=_0x245205['t'];return _0x11bbbf['set']({'icon':_0x3a33ff,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x11bbbf['bind']('isEnabled')['to'](_0x537394),_0x11bbbf['bind']('isOn')['to'](_0x537394,'isActive'),this['listenTo'](_0x11bbbf,'execute',()=>{_0x3a3942['execute']('uploadcareImageEdit'),_0x3a3942['editing']['view']['focus']();}),_0x11bbbf;}),this['_initConfig']();}['_initConfig'](){const _0x3f92d3=_0x402594(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3f92d3),this['listenTo'](this['editor'],'destroy',()=>{_0x3f92d3['remove']();});}}class et extends _0x5529e1{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x49a477,Command as _0x42d0d4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3c0be5,IconGooglePhotos as _0x5f11ef,IconGoogleDrive as _0x1ec65d,IconFacebook as _0x1663bd,IconDropbox as _0x316224,IconUploadcareLink as _0x161fd,IconUploadcareImageUpload as _0x4b3a0c,IconError as _0x12b890,IconUploadcareImageEdit as _0x48402f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x39e1d8,MenuBarMenuListItemButtonView as _0x50675d,View as _0x2fc5bf,FocusCycler as _0x1bed3a,Dialog as _0x188df8,DialogViewPosition as _0x2814e2,SpinnerView as _0x396033,IconView as _0x29ccb,Notification as _0x4ce916}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xf6f4d,DomEmitterMixin as _0x478cb3,global as _0x539047,getAncestors as _0x3f93e1,ObservableMixin as _0x1ff690,uid as _0x36916d,createElement as _0x2147ac}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x39b287}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x161c94,info as _0x46e32d}from'@uploadcare/upload-client';import*as _0x56c9c6 from'@uploadcare/file-uploader';var i=function(_0x1a35fc){return _0x1a35fc['Local']='local',_0x1a35fc['URL']='url',_0x1a35fc['Dropbox']='dropbox',_0x1a35fc['GDrive']='gdrive',_0x1a35fc['Facebook']='facebook',_0x1a35fc['GPhotos']='gphotos',_0x1a35fc['OneDrive']='onedrive',_0x1a35fc;}({});function _(_0xf1b22d,_0x31546a,_0x3a2c7b){const t=_0xf1b22d['t'],_0x18fb52=_0xf1b22d['t'];switch(_0x31546a){case i['Local']:return{'text':_0x18fb52('Insert'===_0x3a2c7b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x18fb52('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3a2c7b?_0x18fb52('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x18fb52('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3a2c7b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3a2c7b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3a2c7b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3a2c7b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3a2c7b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x31546a;}}class e extends _0x49a477{['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 _0x4a7448=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3af4a3;for(const _0x373577 in _0x4a7448){const _0x369900=_0x373577,_0x220ad6=_0x4a7448[_0x369900];if('uploadcareLicenseKeyValid'==_0x220ad6||'uploadcareLicenseKeyInvalid'==_0x220ad6||'uploadcareLicenseKeyExpired'==_0x220ad6||'uploadcareLicenseKeyDomainLimit'==_0x220ad6||'uploadcareLicenseKeyNotAllowed'==_0x220ad6||'uploadcareLicenseKeyEvaluationLimit'==_0x220ad6||'uploadcareLicenseKeyTrialLimit'==_0x220ad6||'uploadcareLicenseKeyUsageLimit'==_0x220ad6){delete _0x4a7448[_0x369900],_0x3af4a3=_0x220ad6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3af4a3&&_0x4a7448['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3af4a3&&_0x4a7448['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3af4a3&&_0x4a7448['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3af4a3&&_0x4a7448['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3af4a3&&_0x4a7448['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3af4a3&&_0x4a7448['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3af4a3&&_0x4a7448['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5b71c4}=this,_0x31e594=_0x5b71c4['commands']['get']('uploadcare');if(!_0x31e594)return;const _0x3ff657=this['_normalizeConfigSourceList'](_0x5b71c4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x13e39c,_0x3ae1bc)=>{const _0x4d5af8=this['_getIntegrationKey'](_0x3ae1bc['type']);return _0x13e39c[_0x4d5af8]||(_0x13e39c[_0x4d5af8]=[]),_0x13e39c[_0x4d5af8]['push'](_0x3ae1bc),_0x13e39c;},{});_0x5b71c4['plugins']['has']('ImageInsertUI')&&_0x5b71c4['commands']['get']('uploadcare')&&Object['entries'](_0x3ff657)['forEach'](([_0x24acfc,_0x5e2dbd])=>{_0x5b71c4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x24acfc,'observable':()=>_0x31e594,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5e2dbd),'formViewCreator':()=>this['_createDropdownButtons'](_0x5e2dbd),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5e2dbd),'override':'assetManager'!==_0x24acfc});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x371b56){const {locale:_0x512d96}=this['editor'];return _0x371b56['map'](_0x10f85f=>{const _0x532bac=_(_0x512d96,_0x10f85f,'Insert');switch(_0x10f85f){case i['Local']:return{'icon':_0x4b3a0c,'type':i['Local'],..._0x532bac};case i['URL']:return{'icon':_0x161fd,'type':i['URL'],..._0x532bac};case i['Dropbox']:return{'icon':_0x316224,'type':i['Dropbox'],..._0x532bac};case i['Facebook']:return{'icon':_0x1663bd,'type':i['Facebook'],..._0x532bac};case i['GDrive']:return{'icon':_0x1ec65d,'type':i['GDrive'],..._0x532bac};case i['GPhotos']:return{'icon':_0x5f11ef,'type':i['GPhotos'],..._0x532bac};case i['OneDrive']:return{'icon':_0x3c0be5,'type':i['OneDrive'],..._0x532bac};}});}['_getIntegrationKey'](_0x193f0d){switch(_0x193f0d){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x21c42b,_0x67b98c){const _0x4dee33=this['editor'],_0x3834dd=new _0x21c42b(_0x4dee33['locale']),_0x1d55d1=_0x4dee33['commands']['get']('uploadcare');return _0x3834dd['bind']('isEnabled')['to'](_0x1d55d1),_0x3834dd['on']('execute',()=>{_0x1d55d1['execute'](_0x67b98c);}),_0x3834dd;}['_createToolbarButton'](_0x2344ec){const {locale:_0x75a0af}=this['editor'],_0x3b3b5c=this['editor']['plugins']['get']('ImageInsertUI'),_0x1cbd09=_0x2344ec[0x0],_0x3062bb=this['_createButton'](_0x39e1d8,_0x1cbd09['type']);return _0x3062bb['icon']=_0x1cbd09['icon'],_0x3062bb['bind']('label')['to'](_0x3b3b5c,'isImageSelected',_0x1e4df5=>_(_0x75a0af,_0x1cbd09['type'],_0x1e4df5?'Replace':'Insert')['text']),_0x3062bb['tooltip']=!0x0,_0x3062bb;}['_createDropdownButtons'](_0x4da6e2){const {locale:_0xc620ff}=this['editor'],_0x2933fd=this['editor']['plugins']['get']('ImageInsertUI');return _0x4da6e2['map'](_0x564270=>{const _0x17baac=this['_createButton'](_0x39e1d8,_0x564270['type']);return _0x17baac['withText']=!0x0,_0x17baac['icon']=_0x564270['icon'],_0x17baac['bind']('label')['to'](_0x2933fd,'isImageSelected',_0x571798=>_(_0xc620ff,_0x564270['type'],_0x571798?'Replace':'Insert')['text']),_0x17baac;});}['_createMenuBarButtons'](_0x1fdfc2){return _0x1fdfc2['map'](_0x2448d9=>{const _0xc58ef8=this['_createButton'](_0x50675d,_0x2448d9['type']);return _0xc58ef8['icon']=_0x2448d9['icon'],_0xc58ef8['label']=_0x2448d9['shortText'],_0xc58ef8;});}}class F extends _0x2fc5bf{['focusTracker'];['focusCycler'];constructor(_0x2cf0a1){super(_0x2cf0a1),this['focusTracker']=new _0xf6f4d(),this['focusCycler']=new _0x1bed3a({'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(_0x26d0a0,_0x400916){super(_0x26d0a0),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-'+_0x400916}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4ab1ed,_0x32225a){const _0x10e83b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2bfc24=>_0x2bfc24<=_0x32225a)['map'](_0x48a851=>_0x4ab1ed['replace'](/\/$/,'')+'/-/resize/'+_0x48a851+'x/\x20'+_0x48a851+'w');return{'imageFallbackUrl':_0x4ab1ed,'imageSources':[{'srcset':_0x10e83b['join'](',\x20'),'sizes':'(max-width:\x20'+_0x32225a+'px)\x20100vw,\x20'+_0x32225a+'px','type':'image/webp'}]};}function S(_0x58f8e6,_0x3cb74a,_0x3c4ea5){const _0x1a352f=_0x58f8e6['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1a352f?parseInt(_0x1a352f[0x1],0xa):_0x3cb74a,'height':_0x1a352f?parseInt(_0x1a352f[0x2],0xa):_0x3c4ea5};}function p(_0x2b5df1,_0x43259f){const _0x2a1a7a=new(_0x478cb3())(),_0x13ae73=_0x2b5df1['plugins']['get']('ImageUtils'),_0xab6fbf=_0x2b5df1['editing']['mapper']['toViewElement'](_0x43259f),_0x5cb8f2=_0x13ae73['findViewImgElement'](_0xab6fbf),_0x2bb54e=_0x2b5df1['editing']['view']['domConverter']['viewToDom'](_0x5cb8f2),_0x10e17f=_0x43259f['getAttribute']('width'),_0x3ed2e9=_0x43259f['getAttribute']('height'),_0x358930='image-processing';_0x2b5df1['editing']['view']['change'](_0x441221=>{_0x441221['addClass'](_0x358930,_0xab6fbf),_0x441221['setStyle']('aspect-ratio',_0x10e17f+'/'+_0x3ed2e9,_0x5cb8f2);}),_0x2a1a7a['listenTo'](_0x2bb54e,'load',()=>{_0x2a1a7a['stopListening'](_0x2bb54e,'load'),_0x2b5df1['editing']['view']['change'](_0x39c810=>{_0x39c810['removeClass'](_0x358930,_0xab6fbf),_0x39c810['removeStyle']('aspect-ratio',_0x5cb8f2);});});}function z(_0x39d397){if(Array['isArray'](_0x39d397)){const _0x22c619=_0x39d397['map'](z);return _0x4f61da=>_0x22c619['some'](_0x4144e0=>_0x4144e0(_0x4f61da));}if('origin'==_0x39d397){const _0x3b5aab=_0x539047['window']['location']['origin'];return _0x3b4589=>new URL(_0x3b4589,_0x539047['document']['baseURI'])['origin']==_0x3b5aab;}return'function'==typeof _0x39d397?_0x39d397:_0x39d397 instanceof RegExp?_0x23f7a5=>!(!_0x23f7a5['match'](_0x39d397)&&!_0x23f7a5['replace'](/^https?:\/\//,'')['match'](_0x39d397)):()=>!0x1;}function A(_0x4bb96f,_0x33e954){return _0x3f93e1(_0x4bb96f['target'])['includes'](_0x33e954);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x1ff690(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x442fd1,_0x53224c,_0x4c6aec){super(),this['_editor']=_0x442fd1,this['_editing']=_0x53224c,this['_dialog']=_0x442fd1['plugins']['get'](_0x188df8),this['_api']=_0x53224c['ctxElement']['getAPI'](),this['_type']=_0x4c6aec,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:_0xa64667,model:_0x3f08c1}=this['_editor'],_0x277984=_0x3f08c1['document']['selection']['getSelectedElement'](),_0x1190e9=_0x277984&&(_0x277984['is']('element','imageBlock')||_0x277984['is']('element','imageInline'));this['_formView']=new x(_0xa64667,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4b3a0c,'title':_(_0xa64667,this['_type'],_0x1190e9?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2814e2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x21a265=>!A(_0x21a265,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x47ed6c}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x55bf59=>{const _0x2bb024=_0x47ed6c['length'];for(const _0x5130ed of _0x47ed6c){const _0x3f4ebf=_0x5130ed===_0x47ed6c[_0x2bb024-0x1],{cdnUrl:_0x315e26,fileInfo:_0x415fae}=_0x5130ed;if(!_0x315e26||!_0x415fae)continue;const {width:_0x328110,height:_0x37467c}=_0x415fae['imageInfo'],_0x157cf6=S(_0x315e26,_0x328110,_0x37467c),_0x776d3b=C(_0x315e26,_0x157cf6['width']),_0x39c7d5={'id':_0x415fae['uuid'],'type':'image','attributes':{'imageDimension':_0x157cf6,..._0x776d3b}};this['_insertAsset'](_0x39c7d5,_0x3f4ebf,_0x55bf59);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x66d41a=>{'idle'===_0x66d41a['detail']['status']&&!_0x66d41a['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x37d1a8,_0x199553,_0x5dfb9c){const _0x318783=this['_editor']['model']['document']['selection'],_0x469a05=_0x318783['getSelectedElement'](),_0x1a2ecb=!(!_0x469a05||!_0x469a05['is']('element','imageInline'));_0x5dfb9c['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x37d1a8,_0x1a2ecb),_0x199553||_0x5dfb9c['setSelection'](_0x318783['getLastPosition']());}['_insertImage'](_0x4af41d,_0x41c685){const _0xcf0b6d=this['_editor'],{imageDimension:_0x117a9c,imageFallbackUrl:_0x21f506,imageSources:_0x5278cd}=_0x4af41d['attributes'];_0xcf0b6d['execute']('insertImage',{'imageType':_0x41c685?'imageInline':null,'source':{'uploadcareImageId':_0x4af41d['id'],'src':_0x21f506,'sources':_0x5278cd,..._0x117a9c}});}}class w extends _0x42d0d4{['_editing'];['_controller']=null;static get['requires'](){return[_0x188df8,o];}constructor(_0xd22bb3){super(_0xd22bb3),this['_editing']=_0xd22bb3['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x494585){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x494585);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0xffe981,..._0xd7a743}){return _0x161c94(_0xffe981,_0xd7a743);}static['getInfo'](_0x491517,_0x4eb153){return _0x46e32d(_0x491517,_0x4eb153);}}class f extends _0x49a477{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x39b287,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x592702=this['editor'];if(!!!_0x592702['config']['get']('uploadcare'))return;_0x592702['plugins']['get'](_0x39b287)['createUploadAdapter']=_0xfcb1bc=>new k(_0xfcb1bc,_0x592702),_0x592702['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x88bfa1,{imageElement:_0x34cec7,data:_0x57f13d})=>{_0x592702['model']['change'](_0x3367ba=>{_0x3367ba['setAttribute']('uploadcareImageId',_0x57f13d['uploadcareImageId'],_0x34cec7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x806b14,_0x3994ae){this['loader']=_0x806b14,this['editor']=_0x3994ae,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xf20b3e=await this['loader']['file'];return j['upload']({'file':_0xf20b3e,'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':_0x5d137f=>{_0x5d137f&&_0x5d137f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5d137f['value']);}})['then'](async _0x1b062d=>{const {imageFallbackUrl:_0x3fe831,imageSources:_0x2f74fd}=C(_0x1b062d['cdnUrl'],_0x1b062d['imageInfo']['width']);return{'uploadcareImageId':_0x1b062d['uuid'],'default':_0x3fe831,'sources':_0x2f74fd};})['catch'](()=>{const _0x1ad366=t('Cannot\x20upload\x20file:')+('\x20'+_0xf20b3e['name']+'.');return Promise['reject'](_0x1ad366);});}['abort'](){this['controller']['abort']();}}class o extends _0x49a477{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x188df8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1bcba3){super(_0x1bcba3),this['ucContextId']=_0x36916d();}['init'](){const _0xeb1d07=this['editor'];_0xeb1d07['commands']['add']('uploadcare',new w(_0xeb1d07));}['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 _0x58a3ca=_0x539047['document']['querySelector']('input[uploadcare-file-input]');_0x58a3ca&&_0x58a3ca['remove']();}),async function(_0x155490){const _0xa770a6=_0x1ae3a2([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]),_0x5b22bb=0x535f8c3a,_0x7e78b4=0x5358f6ca^_0x5b22bb,_0x54e450=window[_0x1ae3a2([0x44,0x61,0x74,0x65])][_0x1ae3a2([0x6e,0x6f,0x77])](),_0x31465e=_0x155490[_0x1ae3a2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cc1c7=new window[(_0x1ae3a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x370d9d=>{_0x31465e[_0x1ae3a2([0x6f,0x6e,0x63,0x65])](_0x1ae3a2([0x72,0x65,0x61,0x64,0x79]),_0x370d9d);}),_0x543007={[_0x1ae3a2([0x6b,0x74,0x79])]:_0x1ae3a2([0x45,0x43]),[_0x1ae3a2([0x75,0x73,0x65])]:_0x1ae3a2([0x73,0x69,0x67]),[_0x1ae3a2([0x63,0x72,0x76])]:_0x1ae3a2([0x50,0x2d,0x32,0x35,0x36]),[_0x1ae3a2([0x78])]:_0x1ae3a2([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]),[_0x1ae3a2([0x79])]:_0x1ae3a2([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]),[_0x1ae3a2([0x61,0x6c,0x67])]:_0x1ae3a2([0x45,0x53,0x32,0x35,0x36])},_0x2887b6=_0x31465e[_0x1ae3a2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ae3a2([0x67,0x65,0x74])](_0x1ae3a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29956d(){let _0x5bde1f,_0x2e683d=null,_0x23e599=null;try{if(_0x2887b6==_0x1ae3a2([0x47,0x50,0x4c]))return _0x1ae3a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5bde1f=_0xa96bdc(),!_0x5bde1f)return _0x1ae3a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5bde1f[_0x1ae3a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23e599=_0x6fb8b0(_0x5bde1f[_0x1ae3a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5bde1f[_0x1ae3a2([0x6a,0x74,0x69])])),await _0x1c1739()?_0x499c09()?_0x1a758a()?_0x1ae3a2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20cd25()?(_0x5bde1f[_0x1ae3a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ae3a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e683d=_0x51ffce(_0x1ae3a2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5bde1f[_0x1ae3a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ae3a2([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e683d=_0x51ffce(_0x1ae3a2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a3476()):_0x1ae3a2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ae3a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ae3a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ae3a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a758a(){const _0x1f89b4=[_0x1ae3a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ae3a2([0x74,0x72,0x69,0x61,0x6c])][_0x1ae3a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bde1f[_0x1ae3a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x54e450/0x3e8:0xe10*_0x7e78b4;return _0x5bde1f[_0x1ae3a2([0x65,0x78,0x70])]<_0x1f89b4;}function _0x499c09(){const _0x5bb889=_0x5bde1f[_0x1ae3a2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bb889&&(!!_0x5bb889[_0x1ae3a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ae3a2([0x2a]))||!!_0x5bb889[_0x1ae3a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ae3a2([0x55,0x50,0x4c,0x43])));}function _0x20cd25(){const _0x2291cc=_0x5bde1f[_0x1ae3a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2291cc||0x0==_0x2291cc[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15404b}=new URL(window[_0x1ae3a2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2291cc[_0x1ae3a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15404b))return!0x0;const _0xee9de=_0x15404b[_0x1ae3a2([0x73,0x70,0x6c,0x69,0x74])](_0x1ae3a2([0x2e]));return _0x2291cc[_0x1ae3a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a9b0a=>_0x5a9b0a[_0x1ae3a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ae3a2([0x2a])))[_0x1ae3a2([0x6d,0x61,0x70])](_0x5c7c01=>_0x5c7c01[_0x1ae3a2([0x73,0x70,0x6c,0x69,0x74])](_0x1ae3a2([0x2e])))[_0x1ae3a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bff6f=>_0x1bff6f[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xee9de[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ae3a2([0x6d,0x61,0x70])](_0x560c28=>Array(_0xee9de[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x560c28[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ae3a2([0x66,0x69,0x6c,0x6c])](_0x560c28[0x0]===_0x1ae3a2([0x2a])?_0x1ae3a2([0x2a]):'')[_0x1ae3a2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x560c28))[_0x1ae3a2([0x73,0x6f,0x6d,0x65])](_0x105c52=>_0xee9de[_0x1ae3a2([0x65,0x76,0x65,0x72,0x79])]((_0x427ba6,_0x42eb6c)=>_0x105c52[_0x42eb6c]===_0x427ba6||_0x105c52[_0x42eb6c]===_0x1ae3a2([0x2a])));}function _0x1a3476(){return _0x2e683d&&_0x23e599?new window[(_0x1ae3a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f9d28,_0xd9d3f8)=>{_0x2e683d[_0x1ae3a2([0x74,0x68,0x65,0x6e])](_0x2f9d28,_0xd9d3f8),_0x23e599[_0x1ae3a2([0x74,0x68,0x65,0x6e])](_0x36d991=>{_0x36d991!=_0x1ae3a2([0x56,0x61,0x6c,0x69,0x64])&&_0x2f9d28(_0x36d991);},_0xd9d3f8);}):_0x2e683d||_0x23e599||_0x1ae3a2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6fb8b0(_0xd4af3f,_0x5715f6){return new window[(_0x1ae3a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ba7b1=>{if(_0x2ad8c6())return _0x4ba7b1(_0x1ae3a2([0x56,0x61,0x6c,0x69,0x64]));_0x2e2eed(),_0x31465e[_0x1ae3a2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ae3a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53911c=!0x1;const _0x20d8d3=_0x36916d();function _0x26bd07(_0x2a94a2){return!!_0x2a94a2&&(typeof _0x2a94a2===_0x1ae3a2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a94a2===_0x1ae3a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a94a2[_0x1ae3a2([0x74,0x68,0x65,0x6e])]===_0x1ae3a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a94a2[_0x1ae3a2([0x63,0x61,0x74,0x63,0x68])]===_0x1ae3a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d75c3(_0x520e2a){_0x180104(_0x520e2a)[_0x1ae3a2([0x74,0x68,0x65,0x6e])](_0x52d196=>{if(!_0x52d196||_0x52d196[_0x1ae3a2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ae3a2([0x6f,0x6b]))return _0x1ae3a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x95de00(_0x27817a(_0x20d8d3+_0x5715f6))!=_0x52d196[_0x1ae3a2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ae3a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ae3a2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ae3a2([0x74,0x68,0x65,0x6e])](_0x4142e1=>(_0x38dc80(),_0x4142e1),()=>{const _0xe6d17f=_0x372d79();return null==_0xe6d17f?(_0x38dc80(),_0x1ae3a2([0x56,0x61,0x6c,0x69,0x64])):_0x1ae3a2(_0x54e450-_0xe6d17f>(0x7753083a^_0x5b22bb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ae3a2([0x74,0x68,0x65,0x6e])](_0x4ba7b1)[_0x1ae3a2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ba7b1(_0x1ae3a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14eeda=0x536962ba^_0x5b22bb;function _0x38dc80(){const _0x3b424d=_0x1ae3a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x95de00(_0x27817a(_0xd4af3f)),_0x4ac09d=_0x40b824(_0x95de00(window[_0x1ae3a2([0x4d,0x61,0x74,0x68])][_0x1ae3a2([0x63,0x65,0x69,0x6c])](_0x54e450/_0x14eeda)));window[_0x1ae3a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ae3a2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b424d,_0x4ac09d);}function _0x372d79(){const _0x322e6f=_0x1ae3a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x95de00(_0x27817a(_0xd4af3f)),_0x5172f9=window[_0x1ae3a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ae3a2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x322e6f);return _0x5172f9?window[_0x1ae3a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40b824(_0x5172f9),0x10)*_0x14eeda:null;}function _0x180104(_0x51dee2){return new window[(_0x1ae3a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcaf704,_0x38bc0c)=>{_0x51dee2[_0x1ae3a2([0x74,0x68,0x65,0x6e])](_0xcaf704,_0x38bc0c),window[_0x1ae3a2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38bc0c,0x535e58fa^_0x5b22bb);});}}_0x31465e[_0x1ae3a2([0x6f,0x6e])](_0x1ae3a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x374181,_0x3f81b0)=>{if(_0x3f81b0[0x0]!=_0xd4af3f)return _0x4ba7b1(_0x1ae3a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f81b0[0x1]={..._0x3f81b0[0x1],[_0x1ae3a2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20d8d3};},{[_0x1ae3a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ae3a2([0x68,0x69,0x67,0x68])}),_0x31465e[_0x1ae3a2([0x6f,0x6e])](_0x1ae3a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x221a70=>{_0x26bd07(_0x221a70[_0x1ae3a2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53911c=!0x0,_0x1d75c3(_0x221a70[_0x1ae3a2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ae3a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ae3a2([0x6c,0x6f,0x77])}),_0x1cc1c7[_0x1ae3a2([0x74,0x68,0x65,0x6e])](()=>{_0x53911c||_0x4ba7b1(_0x1ae3a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ad8c6(){return _0x31465e[_0x1ae3a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ae3a2([0x76,0x69,0x65,0x77])][_0x1ae3a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ae3a2([0x61,0x75,0x74,0x6f]);}function _0x2e2eed(){_0x31465e[_0x1ae3a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ae3a2([0x76,0x69,0x65,0x77])][_0x1ae3a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ae3a2([0x61,0x75,0x74,0x6f]);}}function _0x51ffce(_0x11f57a){const _0x30fdcc=[new window[(_0x1ae3a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434f60=>setTimeout(_0x434f60,0x5356b2f6^_0x5b22bb)),_0x1cc1c7[_0x1ae3a2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ae3a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47c78f=>{let _0xe57474=0x0;_0x31465e[_0x1ae3a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ae3a2([0x6f,0x6e])](_0x1ae3a2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42a885,_0x5bb106)=>{_0x5bb106[0x0][_0x1ae3a2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe57474++,_0xe57474==(0x535f8dc2^_0x5b22bb)&&(_0x47c78f(),_0x42a885[_0x1ae3a2([0x6f,0x66,0x66])]());});}))];return window[_0x1ae3a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ae3a2([0x72,0x61,0x63,0x65])](_0x30fdcc)[_0x1ae3a2([0x74,0x68,0x65,0x6e])](()=>_0x11f57a);}async function _0x308c22(){await _0x1cc1c7,_0x31465e[_0x1ae3a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ae3a2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4771ed,_0x31465e[_0x1ae3a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ae3a2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4771ed,_0x31465e[_0x1ae3a2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ae3a2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x52260d(_0x3252a9){const _0x30df2e=_0x46af26();_0x31465e[_0x30df2e]=_0x1ae3a2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3252a9,_0x3252a9!=_0x1ae3a2([0x56,0x61,0x6c,0x69,0x64])&&_0x308c22();}function _0x46af26(){const _0x57b92e=window[_0x1ae3a2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ae3a2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ae3a2([0x6e,0x6f,0x77])]())[_0x1ae3a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ae3a2([0x2e]),'');let _0x4d709e=_0x1ae3a2([0x68]);for(let _0x490466=0x0;_0x490466<_0x57b92e[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x490466+=0x2){let _0x2c12ad=window[_0x1ae3a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57b92e[_0x1ae3a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x490466,_0x490466+0x2));_0x2c12ad>=_0xa770a6[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c12ad-=_0xa770a6[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d709e+=_0xa770a6[_0x2c12ad];}return _0x4d709e;}function _0xa96bdc(){const _0x100c5c=_0x2887b6[_0x1ae3a2([0x73,0x70,0x6c,0x69,0x74])](_0x1ae3a2([0x2e]));if(0x3!=_0x100c5c[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x332834(_0x100c5c[0x1]);function _0x332834(_0xcce446){const _0x5678da=_0x5f2ce1(_0xcce446);return _0x5678da&&_0x4e5127()?_0x5678da:null;function _0x4e5127(){const _0x5bb88e=_0x5678da[_0x1ae3a2([0x6a,0x74,0x69])],_0x16b9f6=window[_0x1ae3a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bb88e[_0x1ae3a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bb88e[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x14c713={..._0x5678da,[_0x1ae3a2([0x6a,0x74,0x69])]:_0x5bb88e[_0x1ae3a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5bb88e[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x14c713[_0x1ae3a2([0x76,0x63])],_0x27817a(_0x14c713)==_0x16b9f6;}}}async function _0x1c1739(){let _0x123864=!0x0;try{const _0x4bad5b=_0x2887b6[_0x1ae3a2([0x73,0x70,0x6c,0x69,0x74])](_0x1ae3a2([0x2e])),[_0x484b9d,_0x4b9106,_0x2b010c]=_0x4bad5b;return _0x4c7f59(_0x484b9d),await _0x34ff59(_0x484b9d,_0x4b9106,_0x2b010c),_0x123864;}catch{return!0x1;}function _0x4c7f59(_0x569715){const _0xb9f030=_0x5f2ce1(_0x569715);_0xb9f030&&_0xb9f030[_0x1ae3a2([0x61,0x6c,0x67])]==_0x1ae3a2([0x45,0x53,0x32,0x35,0x36])||(_0x123864=!0x1);}async function _0x34ff59(_0x525519,_0x3e084f,_0x2f9021){const _0x8d9386=window[_0x1ae3a2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ae3a2([0x66,0x72,0x6f,0x6d])](_0x4d281f(_0x2f9021),_0x4966a3=>_0x4966a3[_0x1ae3a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ae06c=new window[(_0x1ae3a2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ae3a2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x525519+_0x1ae3a2([0x2e])+_0x3e084f),_0x2f6f42=window[_0x1ae3a2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ae3a2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f6f42)return;const _0x58ff9e=await _0x2f6f42[_0x1ae3a2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ae3a2([0x6a,0x77,0x6b]),_0x543007,{[_0x1ae3a2([0x6e,0x61,0x6d,0x65])]:_0x1ae3a2([0x45,0x43,0x44,0x53,0x41]),[_0x1ae3a2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ae3a2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ae3a2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f6f42[_0x1ae3a2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ae3a2([0x6e,0x61,0x6d,0x65])]:_0x1ae3a2([0x45,0x43,0x44,0x53,0x41]),[_0x1ae3a2([0x68,0x61,0x73,0x68])]:{[_0x1ae3a2([0x6e,0x61,0x6d,0x65])]:_0x1ae3a2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58ff9e,_0x8d9386,_0x4ae06c)||(_0x123864=!0x1);}}function _0x5f2ce1(_0x10e46b){return _0x10e46b[_0x1ae3a2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ae3a2([0x65,0x79]))?JSON[_0x1ae3a2([0x70,0x61,0x72,0x73,0x65])](_0x4d281f(_0x10e46b)):null;}function _0x4d281f(_0x3ac3da){return window[_0x1ae3a2([0x61,0x74,0x6f,0x62])](_0x3ac3da[_0x1ae3a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ae3a2([0x2b]))[_0x1ae3a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ae3a2([0x2f])));}function _0x27817a(_0x11e478){let _0x5b9dae=0x1505;function _0x3a946c(_0x425a36){for(let _0x2fdf05=0x0;_0x2fdf05<_0x425a36[_0x1ae3a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fdf05++){const _0x285b3b=_0x425a36[_0x1ae3a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2fdf05);_0x5b9dae=(_0x5b9dae<<0x5)+_0x5b9dae+_0x285b3b,_0x5b9dae&=_0x5b9dae;}}function _0x14c450(_0x57ad8c){Array[_0x1ae3a2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57ad8c)?_0x57ad8c[_0x1ae3a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14c450):_0x57ad8c&&typeof _0x57ad8c==_0x1ae3a2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ae3a2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57ad8c)[_0x1ae3a2([0x73,0x6f,0x72,0x74])]()[_0x1ae3a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ce819,_0x4fd0cd])=>{_0x3a946c(_0x4ce819),_0x14c450(_0x4fd0cd);}):_0x3a946c(window[_0x1ae3a2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57ad8c));}return _0x14c450(_0x11e478),_0x5b9dae>>>0x0;}function _0x95de00(_0x1730ec){return _0x1730ec[_0x1ae3a2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ae3a2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ae3a2([0x30]));}function _0x40b824(_0x477ea6){return _0x477ea6[_0x1ae3a2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ae3a2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ae3a2([0x6a,0x6f,0x69,0x6e])]('');}function _0x4771ed(){}function _0x1ae3a2(_0x4ca2a1){return _0x4ca2a1['map'](_0x12079b=>String['fromCharCode'](_0x12079b))['join']('');}_0x52260d(await _0x29956d());}(this);}['_initSchema'](){const _0xa5cb56=this['editor']['model']['schema'];_0xa5cb56['isRegistered']('imageBlock')&&_0xa5cb56['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xa5cb56['isRegistered']('imageInline')&&_0xa5cb56['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x320245=this['editor'];_0x320245['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x320245['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x28b7dd=>_0x28b7dd['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1de465=_0x320245['commands']['get']('replaceImageSource');_0x1de465&&this['listenTo'](_0x1de465,'cleanupImage',(_0x148e36,[_0x2fc44d,_0x16085f])=>{_0x2fc44d['removeAttribute']('uploadcareImageId',_0x16085f);});}['_initConfig'](){const _0x4389cc=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2bb0fb=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2147ac(_0x539047['document'],'uc-config',{..._0x4389cc,'pubkey':_0x2bb0fb,'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']=_0x320cb3=>{if('closeMax'==_0x320cb3)return'#uc-icon-arrow-down';},_0x539047['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2147ac(_0x539047['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x539047['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xb5e7b9=this['editor']['commands']['get']('insertImage');_0xb5e7b9&&this['listenTo'](_0xb5e7b9,'execute',()=>{const _0x508f3d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x508f3d&&_0x508f3d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x508f3d);});});const _0x5948c8=this['editor']['commands']['get']('uploadcareImageReplace');_0x5948c8&&this['listenTo'](_0x5948c8,'execute',()=>{const _0x33f654=this['editor']['model']['document']['selection']['getSelectedElement']();_0x33f654&&_0x33f654['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x33f654);});});}}class tt extends _0x49a477{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x409782){super(_0x409782),_0x409782['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x56c9c6['defineComponents'](_0x56c9c6),this['_defineLocale']();}['_defineLocale'](){const _0x54587d=this['editor']['config']['get']('uploadcare.locale'),_0x43725f=this['editor']['locale']['contentLanguage'];_0x54587d&&_0x56c9c6['defineLocale'](_0x43725f,_0x54587d);}}class ii extends _0x2fc5bf{constructor(_0x554fa7){super(_0x554fa7);const t=_0x554fa7['t'],_0x3be151=this['bindTemplate'],_0x3fb49d=new _0x396033();_0x3fb49d['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':[_0x3fb49d,{'text':_0x3be151['to']('imageUploadProgress',_0x24dd6c=>t('Loading\x20image...')+'\x20('+(_0x24dd6c||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 _0x2fc5bf{constructor(_0x3da536){super(_0x3da536);const t=_0x3da536['t'];this['set']('errorType',null);const _0x307883=new _0x39e1d8(_0x3da536);_0x307883['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x307883['withText']=!0x0,_0x307883['class']='ck-button-action',_0x307883['on']('execute',()=>{this['fire']('retry');}),_0x307883['bind']('isVisible')['to'](this,'errorType',_0x423798=>'NotFound'!==_0x423798);const _0x39c8a7=new _0x29ccb();_0x39c8a7['content']=_0x12b890,_0x39c8a7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x15cccb=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':[_0x39c8a7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x15cccb['to']('errorType',_0x233d11=>t('NotFound'!==_0x233d11?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x307883]},{'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 _0x2fc5bf{constructor(_0x511700,_0x4ac4d1){super(_0x511700);const _0x22a4ee=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4ac4d1,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x22a4ee['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2862c9,_0x195d85,_0x5a1824){super(_0x2862c9),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x2862c9),this['_errorView']=new ti(_0x2862c9),this['_editingView']=new ei(_0x2862c9,_0x5a1824),this['_focusableView']=new _0x2fc5bf(_0x2862c9),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x195d85),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'],_0x1c6b45=>{this['_addUploadcareImageEditorListeners'](_0x1c6b45);});}),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'](_0x3ec1bd,_0x5f4f6b){const _0x24686a='uc-cloud-image-editor',_0x123712=_0x3ec1bd['querySelector'](_0x24686a);if(_0x123712)return _0x5f4f6b(_0x123712);const _0x40fd00=new MutationObserver(_0x58f999=>{const _0x4a85be=_0x58f999['filter'](_0x5cf69d=>_0x5cf69d['target']===_0x3ec1bd&&_0x5cf69d['addedNodes']['length']>0x0&&_0x5cf69d['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x24686a);_0x4a85be['length']&&(_0x40fd00['disconnect'](),_0x5f4f6b(_0x4a85be[0x0]['addedNodes'][0x0]));});_0x40fd00['observe'](_0x3ec1bd,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x7f987a){_0x7f987a['addEventListener']('apply',_0x1dc8bb=>{this['fire']('apply',{'imageSrc':_0x1dc8bb['detail']['cdnUrl']});}),_0x7f987a['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x1ff690(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5153c7,_0x3245e4,_0x25c268){super(),this['_editor']=_0x5153c7,this['_dialog']=_0x3245e4,this['_imageElement']=_0x25c268,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 _0x47d5ad=this['_imageElement'],_0x279918=_0x47d5ad['getAttribute']('uploadcareImageId'),_0x1437e1=_0x47d5ad['getAttribute']('src');if(_0x279918)await this['_loadImageInfo'](_0x279918,_0x1437e1);else{if(this['_imageCache']['has'](_0x1437e1)){const _0x1cb460=this['_imageCache']['get'](_0x1437e1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cb460['url'],this['imageDimension']=_0x1cb460['dimension'],this['imageId']=_0x1cb460['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2fdd8f}=this['_editor'],t=_0x2fdd8f['t'],_0x375808=new X(_0x2fdd8f,this['imageStatus'],this['_attributes']);_0x375808['bind']('status')['to'](this,'imageStatus'),_0x375808['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x375808['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x375808['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x375808,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x48402f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x375808,'position':_0x2814e2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x375808['focus']();},'onHide':()=>{_0x375808['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5b0e9a=>!A(_0x5b0e9a,_0x375808['element'])}});}['_loadImageInfo'](_0x4440b4,_0x2f92c2){return j['getInfo'](_0x4440b4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x47646c=>{const {width:_0x3310fd,height:_0xc1875b}=_0x47646c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2f92c2,this['imageDimension']={'width':_0x3310fd,'height':_0xc1875b},this['imageId']=_0x4440b4;})['catch'](_0x4d670f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4d670f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x27131c,_0x4d5254){return this['_getImageAsFile'](_0x27131c)['then'](_0x27e3da=>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':_0x4d5254['signal'],'file':_0x27e3da,'onProgress':_0x353c2f=>{_0x353c2f&&_0x353c2f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x353c2f['value']));}}))['then'](_0x1849c7=>{const {width:_0x34150b,height:_0x4f8458}=_0x1849c7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1849c7['cdnUrl'],this['imageDimension']={'width':_0x34150b,'height':_0x4f8458},this['imageId']=_0x1849c7['uuid'],this['imageUploadProgress']=null;const _0x30a13a=_0x27131c['getAttribute']('src');this['_imageCache']['set'](_0x30a13a,{'id':_0x1849c7['uuid'],'url':_0x1849c7['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x362311=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x362311['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x275805,_0x2f3669){_0x275805['on']('apply',(_0x451eb0,_0x3156c5)=>{this['_replaceImage'](_0x2f3669,_0x3156c5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x275805['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x275805['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2d4543,_0xf0c95f,_0x42f8b1){const _0x28e58d=this['_editor'],{width:_0x9517bf,height:_0x33cac0}=S(_0xf0c95f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x467477,imageSources:_0x305127}=C(_0xf0c95f,_0x9517bf);_0x28e58d['model']['change'](_0x4a7a65=>{if('$graveyard'===_0x2d4543['root']['rootName']){_0x28e58d['execute']('insertImage',{'imageType':_0x2d4543['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2d4543['getAttributes']()),'uploadcareImageId':_0x42f8b1,'src':_0x467477,'sources':_0x305127,'width':_0x9517bf,'height':_0x33cac0}});const _0xe9da89=_0x2d4543['getChildren']();_0x2d4543=_0x28e58d['model']['document']['selection']['getSelectedElement']();for(const _0x5333e8 of _0xe9da89)_0x4a7a65['append'](_0x4a7a65['cloneElement'](_0x5333e8),_0x2d4543);}else _0x4a7a65['setSelection'](_0x2d4543,'on'),_0x28e58d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2d4543['getAttributes']()),'uploadcareImageId':_0x42f8b1,'src':_0x467477,'sources':_0x305127,'width':_0x9517bf,'height':_0x33cac0},_0x2d4543);_0x4a7a65['setSelection'](_0x2d4543,'on');});}async['_getImageAsFile'](_0x269bc7){const _0x47990a=_0x539047['window'],_0x37b7a3=_0x539047['document']['location']['href'],_0x483ca6=new _0x47990a['URL'](_0x269bc7['getAttribute']('src'),_0x37b7a3);if('data:'===_0x483ca6['protocol']){const _0x8c13db=_0x483ca6['href']['split'](','),_0x36a0a5=_0x8c13db[0x0]['match'](/:(.*?);/)[0x1],_0x1eb3d0=_0x36a0a5['split']('/')[0x1],_0x15776b=_0x47990a['atob'](_0x8c13db[_0x8c13db['length']-0x1]);let _0x37cfb3=_0x15776b['length'];const _0x2db7c1=new _0x47990a['Uint8Array'](_0x37cfb3);for(;_0x37cfb3--;)_0x2db7c1[_0x37cfb3]=_0x15776b['charCodeAt'](_0x37cfb3);return new _0x47990a['File']([_0x2db7c1],'image.'+_0x1eb3d0,{'type':_0x36a0a5});}const _0x25f19e=_0x483ca6['href']['split']('/'),_0x1e15fd=_0x25f19e[_0x25f19e['length']-0x1],_0x27fa9d=_0x1e15fd['split']('.')[0x1];return _0x47990a['fetch'](_0x483ca6['href'])['then'](_0x4f751c=>_0x4f751c['clone']()['blob']())['then'](_0xe99ace=>new _0x47990a['File']([_0xe99ace],_0x1e15fd,{'type':'image/'+_0x27fa9d}));}}class Q extends _0x42d0d4{['imageEditController'];static get['requires'](){return[_0x188df8];}['_isEditable'];constructor(_0x2aa4bf){super(_0x2aa4bf),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5dd9b3){const _0x21173a=z(_0x5dd9b3);return _0x5f26eb=>!(!_0x5f26eb||!_0x5f26eb['is']('element','imageBlock')&&!_0x5f26eb['is']('element','imageInline'))&&(!!_0x5f26eb['hasAttribute']('uploadcareImageId')||!!_0x5f26eb['hasAttribute']('src')&&_0x21173a(_0x5f26eb['getAttribute']('src')));}(_0x2aa4bf['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x273ed8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x273ed8);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x48e355=this['editor']['model']['document']['selection']['getSelectedElement']();_0x48e355&&(_0x48e355['is']('element','imageBlock')||_0x48e355['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x188df8),_0x48e355),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x42d0d4{['refresh'](){const _0x4ea7bc=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4ea7bc&&(_0x4ea7bc['is']('element','imageBlock')||_0x4ea7bc['is']('element','imageInline')));}['execute'](_0x53db11){const _0x3805be=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1cb9a4=>{_0x1cb9a4['setAttributes'](_0x53db11,_0x3805be),_0x1cb9a4['removeAttribute']('srcset',_0x3805be),_0x1cb9a4['removeAttribute']('sizes',_0x3805be);});}}class m extends _0x49a477{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4ce916,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x185405}=this;_0x185405['commands']['add']('uploadcareImageEdit',new Q(_0x185405)),_0x185405['commands']['add']('uploadcareImageReplace',new V(_0x185405));}}class g extends _0x49a477{['_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 _0x125907=this['editor'];_0x125907['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1885be=>{const _0x4ccbb2=_0x125907['commands']['get']('uploadcareImageEdit'),_0x207cf7=new _0x39e1d8(_0x1885be),t=_0x1885be['t'];return _0x207cf7['set']({'icon':_0x48402f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x207cf7['bind']('isEnabled')['to'](_0x4ccbb2),_0x207cf7['bind']('isOn')['to'](_0x4ccbb2,'isActive'),this['listenTo'](_0x207cf7,'execute',()=>{_0x125907['execute']('uploadcareImageEdit'),_0x125907['editing']['view']['focus']();}),_0x207cf7;}),this['_initConfig']();}['_initConfig'](){const _0x2891ac=_0x2147ac(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2891ac),this['listenTo'](this['editor'],'destroy',()=>{_0x2891ac['remove']();});}}class et extends _0x49a477{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -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':_0x382b81=>0x1!=_0x382b81}};
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':_0x46b892=>0x1!=_0x46b892}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40a304=>{const {af:{dictionary:_0x4652f7,getPluralForm:_0x40e20b}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x12e6c9=>0x1!=_0x12e6c9}};_0x40a304['af']||={'dictionary':{},'getPluralForm':null},_0x40a304['af']['dictionary']=Object['assign'](_0x40a304['af']['dictionary'],_0x4652f7),_0x40a304['af']['getPluralForm']=_0x40e20b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2947eb=>{const {af:{dictionary:_0x3f6130,getPluralForm:_0x181511}}={'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':_0x5aea79=>0x1!=_0x5aea79}};_0x2947eb['af']||={'dictionary':{},'getPluralForm':null},_0x2947eb['af']['dictionary']=Object['assign'](_0x2947eb['af']['dictionary'],_0x3f6130),_0x2947eb['af']['getPluralForm']=_0x181511;})(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':_0x3dc317=>0x0==_0x3dc317?0x0:0x1==_0x3dc317?0x1:0x2==_0x3dc317?0x2:_0x3dc317%0x64>=0x3&&_0x3dc317%0x64<=0xa?0x3:_0x3dc317%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':_0x5dba71=>0x0==_0x5dba71?0x0:0x1==_0x5dba71?0x1:0x2==_0x5dba71?0x2:_0x5dba71%0x64>=0x3&&_0x5dba71%0x64<=0xa?0x3:_0x5dba71%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x282a64=>{const {ar:{dictionary:_0x977c9,getPluralForm:_0x294688}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x4a0591=>0x0==_0x4a0591?0x0:0x1==_0x4a0591?0x1:0x2==_0x4a0591?0x2:_0x4a0591%0x64>=0x3&&_0x4a0591%0x64<=0xa?0x3:_0x4a0591%0x64>=0xb?0x4:0x5}};_0x282a64['ar']||={'dictionary':{},'getPluralForm':null},_0x282a64['ar']['dictionary']=Object['assign'](_0x282a64['ar']['dictionary'],_0x977c9),_0x282a64['ar']['getPluralForm']=_0x294688;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c7c25=>{const {ar:{dictionary:_0x578eeb,getPluralForm:_0x39dcbd}}={'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':_0x39e62b=>0x0==_0x39e62b?0x0:0x1==_0x39e62b?0x1:0x2==_0x39e62b?0x2:_0x39e62b%0x64>=0x3&&_0x39e62b%0x64<=0xa?0x3:_0x39e62b%0x64>=0xb?0x4:0x5}};_0x1c7c25['ar']||={'dictionary':{},'getPluralForm':null},_0x1c7c25['ar']['dictionary']=Object['assign'](_0x1c7c25['ar']['dictionary'],_0x578eeb),_0x1c7c25['ar']['getPluralForm']=_0x39dcbd;})(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':_0x1b22e9=>0x1!=_0x1b22e9}};
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':_0x47dc0f=>0x1!=_0x47dc0f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d07a3=>{const {ast:{dictionary:_0x34d2fc,getPluralForm:_0x263f08}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2e2bf6=>0x1!=_0x2e2bf6}};_0x1d07a3['ast']||={'dictionary':{},'getPluralForm':null},_0x1d07a3['ast']['dictionary']=Object['assign'](_0x1d07a3['ast']['dictionary'],_0x34d2fc),_0x1d07a3['ast']['getPluralForm']=_0x263f08;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c758b=>{const {ast:{dictionary:_0x22038b,getPluralForm:_0x3d28a8}}={'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':_0xe6d9f4=>0x1!=_0xe6d9f4}};_0x2c758b['ast']||={'dictionary':{},'getPluralForm':null},_0x2c758b['ast']['dictionary']=Object['assign'](_0x2c758b['ast']['dictionary'],_0x22038b),_0x2c758b['ast']['getPluralForm']=_0x3d28a8;})(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':_0x5e65b0=>0x1!=_0x5e65b0}};
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':_0x2ff33c=>0x1!=_0x2ff33c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3edfe6=>{const {az:{dictionary:_0x56d4d9,getPluralForm:_0x5b2309}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x18d504=>0x1!=_0x18d504}};_0x3edfe6['az']||={'dictionary':{},'getPluralForm':null},_0x3edfe6['az']['dictionary']=Object['assign'](_0x3edfe6['az']['dictionary'],_0x56d4d9),_0x3edfe6['az']['getPluralForm']=_0x5b2309;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x98deda=>{const {az:{dictionary:_0x42f286,getPluralForm:_0x2feeb3}}={'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':_0x360eb6=>0x1!=_0x360eb6}};_0x98deda['az']||={'dictionary':{},'getPluralForm':null},_0x98deda['az']['dictionary']=Object['assign'](_0x98deda['az']['dictionary'],_0x42f286),_0x98deda['az']['getPluralForm']=_0x2feeb3;})(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':_0x5ea4e8=>_0x5ea4e8%0xa==0x1&&_0x5ea4e8%0x64!=0xb?0x0:_0x5ea4e8%0xa>=0x2&&_0x5ea4e8%0xa<=0x4&&(_0x5ea4e8%0x64<0xa||_0x5ea4e8%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':_0xdfd863=>_0xdfd863%0xa==0x1&&_0xdfd863%0x64!=0xb?0x0:_0xdfd863%0xa>=0x2&&_0xdfd863%0xa<=0x4&&(_0xdfd863%0x64<0xa||_0xdfd863%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x54d91e=>{const {be:{dictionary:_0x1b3ce7,getPluralForm:_0x3944a3}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x8db71c=>_0x8db71c%0xa==0x1&&_0x8db71c%0x64!=0xb?0x0:_0x8db71c%0xa>=0x2&&_0x8db71c%0xa<=0x4&&(_0x8db71c%0x64<0xa||_0x8db71c%0x64>=0x14)?0x1:0x2}};_0x54d91e['be']||={'dictionary':{},'getPluralForm':null},_0x54d91e['be']['dictionary']=Object['assign'](_0x54d91e['be']['dictionary'],_0x1b3ce7),_0x54d91e['be']['getPluralForm']=_0x3944a3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d445d=>{const {be:{dictionary:_0x4a8ce9,getPluralForm:_0x6a3bc2}}={'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':_0x2013e0=>_0x2013e0%0xa==0x1&&_0x2013e0%0x64!=0xb?0x0:_0x2013e0%0xa>=0x2&&_0x2013e0%0xa<=0x4&&(_0x2013e0%0x64<0xa||_0x2013e0%0x64>=0x14)?0x1:0x2}};_0x5d445d['be']||={'dictionary':{},'getPluralForm':null},_0x5d445d['be']['dictionary']=Object['assign'](_0x5d445d['be']['dictionary'],_0x4a8ce9),_0x5d445d['be']['getPluralForm']=_0x6a3bc2;})(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':_0x19cb0b=>0x1!=_0x19cb0b}};
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':_0x14be07=>0x1!=_0x14be07}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1eb64a=>{const {bg:{dictionary:_0xf72015,getPluralForm:_0x21e19f}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x2006d3=>0x1!=_0x2006d3}};_0x1eb64a['bg']||={'dictionary':{},'getPluralForm':null},_0x1eb64a['bg']['dictionary']=Object['assign'](_0x1eb64a['bg']['dictionary'],_0xf72015),_0x1eb64a['bg']['getPluralForm']=_0x21e19f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1ba76d=>{const {bg:{dictionary:_0x539f25,getPluralForm:_0x3e88ba}}={'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':_0x71fe79=>0x1!=_0x71fe79}};_0x1ba76d['bg']||={'dictionary':{},'getPluralForm':null},_0x1ba76d['bg']['dictionary']=Object['assign'](_0x1ba76d['bg']['dictionary'],_0x539f25),_0x1ba76d['bg']['getPluralForm']=_0x3e88ba;})(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':_0x38dd66=>0x1!=_0x38dd66}};
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':_0x32c4a4=>0x1!=_0x32c4a4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ac327=>{const {bn:{dictionary:_0x19d910,getPluralForm:_0x61d21f}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x583790=>0x1!=_0x583790}};_0x5ac327['bn']||={'dictionary':{},'getPluralForm':null},_0x5ac327['bn']['dictionary']=Object['assign'](_0x5ac327['bn']['dictionary'],_0x19d910),_0x5ac327['bn']['getPluralForm']=_0x61d21f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x404dfe=>{const {bn:{dictionary:_0x3ad71c,getPluralForm:_0x39bef4}}={'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':_0x1567bc=>0x1!=_0x1567bc}};_0x404dfe['bn']||={'dictionary':{},'getPluralForm':null},_0x404dfe['bn']['dictionary']=Object['assign'](_0x404dfe['bn']['dictionary'],_0x3ad71c),_0x404dfe['bn']['getPluralForm']=_0x39bef4;})(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':_0x4511cc=>_0x4511cc%0xa==0x1&&_0x4511cc%0x64!=0xb?0x0:_0x4511cc%0xa>=0x2&&_0x4511cc%0xa<=0x4&&(_0x4511cc%0x64<0xa||_0x4511cc%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':_0x4d688d=>_0x4d688d%0xa==0x1&&_0x4d688d%0x64!=0xb?0x0:_0x4d688d%0xa>=0x2&&_0x4d688d%0xa<=0x4&&(_0x4d688d%0x64<0xa||_0x4d688d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x53728d=>{const {bs:{dictionary:_0x42bf84,getPluralForm:_0x4dd01c}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x158212=>_0x158212%0xa==0x1&&_0x158212%0x64!=0xb?0x0:_0x158212%0xa>=0x2&&_0x158212%0xa<=0x4&&(_0x158212%0x64<0xa||_0x158212%0x64>=0x14)?0x1:0x2}};_0x53728d['bs']||={'dictionary':{},'getPluralForm':null},_0x53728d['bs']['dictionary']=Object['assign'](_0x53728d['bs']['dictionary'],_0x42bf84),_0x53728d['bs']['getPluralForm']=_0x4dd01c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x51e974=>{const {bs:{dictionary:_0x388dfb,getPluralForm:_0x3d42ab}}={'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':_0x50add5=>_0x50add5%0xa==0x1&&_0x50add5%0x64!=0xb?0x0:_0x50add5%0xa>=0x2&&_0x50add5%0xa<=0x4&&(_0x50add5%0x64<0xa||_0x50add5%0x64>=0x14)?0x1:0x2}};_0x51e974['bs']||={'dictionary':{},'getPluralForm':null},_0x51e974['bs']['dictionary']=Object['assign'](_0x51e974['bs']['dictionary'],_0x388dfb),_0x51e974['bs']['getPluralForm']=_0x3d42ab;})(window['CKEDITOR_TRANSLATIONS']||={});