@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251130.0 → 0.0.0-nightly-20251202.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 +10 -10
  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 _0x412426,Command as _0x57022b}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3e5771,IconGooglePhotos as _0x1e2de4,IconGoogleDrive as _0x4645fa,IconFacebook as _0x458098,IconDropbox as _0x69b546,IconUploadcareLink as _0xe02ef7,IconUploadcareImageUpload as _0x243d57,IconError as _0x6059ee,IconUploadcareImageEdit as _0x47e873}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x36c05f,MenuBarMenuListItemButtonView as _0x3aa7be,View as _0x179a6d,FocusCycler as _0x3d3ae5,Dialog as _0x4a7b8f,DialogViewPosition as _0x5f1bc4,SpinnerView as _0x53ca23,IconView as _0x41fd44,Notification as _0xcce88d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x9c523a,DomEmitterMixin as _0x7230e7,global as _0x494a9e,getAncestors as _0x1403cf,ObservableMixin as _0x1d985e,uid as _0x3e5d95,createElement as _0x24c806}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x31f334}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x41cf25,info as _0x58d73a}from'@uploadcare/upload-client';import*as _0x1adcc6 from'@uploadcare/file-uploader';var i=function(_0x2b9c46){return _0x2b9c46['Local']='local',_0x2b9c46['URL']='url',_0x2b9c46['Dropbox']='dropbox',_0x2b9c46['GDrive']='gdrive',_0x2b9c46['Facebook']='facebook',_0x2b9c46['GPhotos']='gphotos',_0x2b9c46['OneDrive']='onedrive',_0x2b9c46;}({});function _(_0x218c98,_0x23ec06,_0x596f7f){const t=_0x218c98['t'],_0x5a2eb3=_0x218c98['t'];switch(_0x23ec06){case i['Local']:return{'text':_0x5a2eb3('Insert'===_0x596f7f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5a2eb3('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x596f7f?_0x5a2eb3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5a2eb3('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x596f7f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x596f7f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x596f7f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x596f7f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x596f7f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x23ec06;}}class e extends _0x412426{['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 _0x1811e4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23cb11;for(const _0x4e6d26 in _0x1811e4){const _0xaf3d65=_0x4e6d26,_0x561d70=_0x1811e4[_0xaf3d65];if('uploadcareLicenseKeyValid'==_0x561d70||'uploadcareLicenseKeyInvalid'==_0x561d70||'uploadcareLicenseKeyExpired'==_0x561d70||'uploadcareLicenseKeyDomainLimit'==_0x561d70||'uploadcareLicenseKeyNotAllowed'==_0x561d70||'uploadcareLicenseKeyEvaluationLimit'==_0x561d70||'uploadcareLicenseKeyTrialLimit'==_0x561d70||'uploadcareLicenseKeyUsageLimit'==_0x561d70){delete _0x1811e4[_0xaf3d65],_0x23cb11=_0x561d70,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x23cb11&&_0x1811e4['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x23cb11&&_0x1811e4['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x23cb11&&_0x1811e4['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x23cb11&&_0x1811e4['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x23cb11&&_0x1811e4['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x23cb11&&_0x1811e4['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x23cb11&&_0x1811e4['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x330d93}=this,_0x500bf0=_0x330d93['commands']['get']('uploadcare');if(!_0x500bf0)return;const _0x48471d=this['_normalizeConfigSourceList'](_0x330d93['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x583691,_0x1d4007)=>{const _0x104381=this['_getIntegrationKey'](_0x1d4007['type']);return _0x583691[_0x104381]||(_0x583691[_0x104381]=[]),_0x583691[_0x104381]['push'](_0x1d4007),_0x583691;},{});_0x330d93['plugins']['has']('ImageInsertUI')&&_0x330d93['commands']['get']('uploadcare')&&Object['entries'](_0x48471d)['forEach'](([_0x3bab07,_0xd5abc8])=>{_0x330d93['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3bab07,'observable':()=>_0x500bf0,'buttonViewCreator':()=>this['_createToolbarButton'](_0xd5abc8),'formViewCreator':()=>this['_createDropdownButtons'](_0xd5abc8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xd5abc8),'override':'assetManager'!==_0x3bab07});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x480fa9){const {locale:_0x37da64}=this['editor'];return _0x480fa9['map'](_0x306e39=>{const _0x2fcb76=_(_0x37da64,_0x306e39,'Insert');switch(_0x306e39){case i['Local']:return{'icon':_0x243d57,'type':i['Local'],..._0x2fcb76};case i['URL']:return{'icon':_0xe02ef7,'type':i['URL'],..._0x2fcb76};case i['Dropbox']:return{'icon':_0x69b546,'type':i['Dropbox'],..._0x2fcb76};case i['Facebook']:return{'icon':_0x458098,'type':i['Facebook'],..._0x2fcb76};case i['GDrive']:return{'icon':_0x4645fa,'type':i['GDrive'],..._0x2fcb76};case i['GPhotos']:return{'icon':_0x1e2de4,'type':i['GPhotos'],..._0x2fcb76};case i['OneDrive']:return{'icon':_0x3e5771,'type':i['OneDrive'],..._0x2fcb76};}});}['_getIntegrationKey'](_0x1ec479){switch(_0x1ec479){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5478f7,_0x26a674){const _0xf825c8=this['editor'],_0x683288=new _0x5478f7(_0xf825c8['locale']),_0x476f34=_0xf825c8['commands']['get']('uploadcare');return _0x683288['bind']('isEnabled')['to'](_0x476f34),_0x683288['on']('execute',()=>{_0x476f34['execute'](_0x26a674);}),_0x683288;}['_createToolbarButton'](_0x58c671){const {locale:_0x56d1a8}=this['editor'],_0x162824=this['editor']['plugins']['get']('ImageInsertUI'),_0xa9553b=_0x58c671[0x0],_0x305ea2=this['_createButton'](_0x36c05f,_0xa9553b['type']);return _0x305ea2['icon']=_0xa9553b['icon'],_0x305ea2['bind']('label')['to'](_0x162824,'isImageSelected',_0x597d04=>_(_0x56d1a8,_0xa9553b['type'],_0x597d04?'Replace':'Insert')['text']),_0x305ea2['tooltip']=!0x0,_0x305ea2;}['_createDropdownButtons'](_0x1c4a20){const {locale:_0x1635ed}=this['editor'],_0x320960=this['editor']['plugins']['get']('ImageInsertUI');return _0x1c4a20['map'](_0x32d7de=>{const _0x13cd2a=this['_createButton'](_0x36c05f,_0x32d7de['type']);return _0x13cd2a['withText']=!0x0,_0x13cd2a['icon']=_0x32d7de['icon'],_0x13cd2a['bind']('label')['to'](_0x320960,'isImageSelected',_0x44f90c=>_(_0x1635ed,_0x32d7de['type'],_0x44f90c?'Replace':'Insert')['text']),_0x13cd2a;});}['_createMenuBarButtons'](_0x2920b8){return _0x2920b8['map'](_0x45bc4f=>{const _0x24ea11=this['_createButton'](_0x3aa7be,_0x45bc4f['type']);return _0x24ea11['icon']=_0x45bc4f['icon'],_0x24ea11['label']=_0x45bc4f['shortText'],_0x24ea11;});}}class F extends _0x179a6d{['focusTracker'];['focusCycler'];constructor(_0xbd8ea2){super(_0xbd8ea2),this['focusTracker']=new _0x9c523a(),this['focusCycler']=new _0x3d3ae5({'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(_0x4d1023,_0x17e9a6){super(_0x4d1023),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-'+_0x17e9a6}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x563a87,_0x4b5dd9){const _0x1cde9b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x28de38=>_0x28de38<=_0x4b5dd9)['map'](_0x1e0656=>_0x563a87['replace'](/\/$/,'')+'/-/resize/'+_0x1e0656+'x/\x20'+_0x1e0656+'w');return{'imageFallbackUrl':_0x563a87,'imageSources':[{'srcset':_0x1cde9b['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4b5dd9+'px)\x20100vw,\x20'+_0x4b5dd9+'px','type':'image/webp'}]};}function S(_0x1c4bae,_0x4ed470,_0x586b61){const _0x5c55f0=_0x1c4bae['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5c55f0?parseInt(_0x5c55f0[0x1],0xa):_0x4ed470,'height':_0x5c55f0?parseInt(_0x5c55f0[0x2],0xa):_0x586b61};}function p(_0x3e202e,_0x55297a){const _0x4b2bcf=new(_0x7230e7())(),_0x1ce87b=_0x3e202e['plugins']['get']('ImageUtils'),_0xaf4342=_0x3e202e['editing']['mapper']['toViewElement'](_0x55297a),_0x23f8b7=_0x1ce87b['findViewImgElement'](_0xaf4342),_0x55e72b=_0x3e202e['editing']['view']['domConverter']['viewToDom'](_0x23f8b7),_0x599176=_0x55297a['getAttribute']('width'),_0x2bdc6d=_0x55297a['getAttribute']('height'),_0x122ee2='image-processing';_0x3e202e['editing']['view']['change'](_0x44d278=>{_0x44d278['addClass'](_0x122ee2,_0xaf4342),_0x44d278['setStyle']('aspect-ratio',_0x599176+'/'+_0x2bdc6d,_0x23f8b7);}),_0x4b2bcf['listenTo'](_0x55e72b,'load',()=>{_0x4b2bcf['stopListening'](_0x55e72b,'load'),_0x3e202e['editing']['view']['change'](_0x5abb48=>{_0x5abb48['removeClass'](_0x122ee2,_0xaf4342),_0x5abb48['removeStyle']('aspect-ratio',_0x23f8b7);});});}function z(_0x46aaec){if(Array['isArray'](_0x46aaec)){const _0x34ad9d=_0x46aaec['map'](z);return _0x573fad=>_0x34ad9d['some'](_0x31d882=>_0x31d882(_0x573fad));}if('origin'==_0x46aaec){const _0x3b50ac=_0x494a9e['window']['location']['origin'];return _0x231c7c=>new URL(_0x231c7c,_0x494a9e['document']['baseURI'])['origin']==_0x3b50ac;}return'function'==typeof _0x46aaec?_0x46aaec:_0x46aaec instanceof RegExp?_0x2f96be=>!(!_0x2f96be['match'](_0x46aaec)&&!_0x2f96be['replace'](/^https?:\/\//,'')['match'](_0x46aaec)):()=>!0x1;}function A(_0x12eeda,_0x27a1f6){return _0x1403cf(_0x12eeda['target'])['includes'](_0x27a1f6);}class n extends/* #__PURE__ -- @preserve */
24
- _0x1d985e(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2d54d8,_0x1ab045,_0x45a546){super(),this['_editor']=_0x2d54d8,this['_editing']=_0x1ab045,this['_dialog']=_0x2d54d8['plugins']['get'](_0x4a7b8f),this['_api']=_0x1ab045['ctxElement']['getAPI'](),this['_type']=_0x45a546,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:_0x40132e,model:_0x54c5bb}=this['_editor'],_0x55a5a6=_0x54c5bb['document']['selection']['getSelectedElement'](),_0x3c39b2=_0x55a5a6&&(_0x55a5a6['is']('element','imageBlock')||_0x55a5a6['is']('element','imageInline'));this['_formView']=new x(_0x40132e,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x243d57,'title':_(_0x40132e,this['_type'],_0x3c39b2?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5f1bc4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ca72c=>!A(_0x4ca72c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x41a827}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x284f2b=>{const _0x1a5d78=_0x41a827['length'];for(const _0x1e34bf of _0x41a827){const _0x387afe=_0x1e34bf===_0x41a827[_0x1a5d78-0x1],{cdnUrl:_0x4ccf26,fileInfo:_0x313eb3}=_0x1e34bf;if(!_0x4ccf26||!_0x313eb3)continue;const {width:_0x5af587,height:_0xf7d0ea}=_0x313eb3['imageInfo'],_0x4ca4f3=S(_0x4ccf26,_0x5af587,_0xf7d0ea),_0x56baca=C(_0x4ccf26,_0x4ca4f3['width']),_0x499385={'id':_0x313eb3['uuid'],'type':'image','attributes':{'imageDimension':_0x4ca4f3,..._0x56baca}};this['_insertAsset'](_0x499385,_0x387afe,_0x284f2b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x21761d=>{'idle'===_0x21761d['detail']['status']&&!_0x21761d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x48f4ba,_0x5960b0,_0x21798b){const _0x4dfdce=this['_editor']['model']['document']['selection'],_0x260253=_0x4dfdce['getSelectedElement'](),_0x33f56d=!(!_0x260253||!_0x260253['is']('element','imageInline'));_0x21798b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x48f4ba,_0x33f56d),_0x5960b0||_0x21798b['setSelection'](_0x4dfdce['getLastPosition']());}['_insertImage'](_0x5346f4,_0x3e380a){const _0x11773d=this['_editor'],{imageDimension:_0x29a0bd,imageFallbackUrl:_0xb2ed47,imageSources:_0x5b4f62}=_0x5346f4['attributes'];_0x11773d['execute']('insertImage',{'imageType':_0x3e380a?'imageInline':null,'source':{'uploadcareImageId':_0x5346f4['id'],'src':_0xb2ed47,'sources':_0x5b4f62,..._0x29a0bd}});}}class w extends _0x57022b{['_editing'];['_controller']=null;static get['requires'](){return[_0x4a7b8f,o];}constructor(_0x24e70b){super(_0x24e70b),this['_editing']=_0x24e70b['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x17dc2a){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x17dc2a);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x27066e,..._0x5e5f7d}){return _0x41cf25(_0x27066e,_0x5e5f7d);}static['getInfo'](_0x1038d8,_0x4acf0e){return _0x58d73a(_0x1038d8,_0x4acf0e);}}class f extends _0x412426{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x31f334,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4f26e0=this['editor'];if(!!!_0x4f26e0['config']['get']('uploadcare'))return;_0x4f26e0['plugins']['get'](_0x31f334)['createUploadAdapter']=_0x5a1344=>new k(_0x5a1344,_0x4f26e0),_0x4f26e0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x50368a,{imageElement:_0x5498bf,data:_0xcaae63})=>{_0x4f26e0['model']['change'](_0x45a697=>{_0x45a697['setAttribute']('uploadcareImageId',_0xcaae63['uploadcareImageId'],_0x5498bf);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1e9a74,_0x42f4b2){this['loader']=_0x1e9a74,this['editor']=_0x42f4b2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x52917e=await this['loader']['file'];return j['upload']({'file':_0x52917e,'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':_0x526b78=>{_0x526b78&&_0x526b78['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x526b78['value']);}})['then'](async _0x1888e3=>{const {imageFallbackUrl:_0x4f4f3e,imageSources:_0x24ac08}=C(_0x1888e3['cdnUrl'],_0x1888e3['imageInfo']['width']);return{'uploadcareImageId':_0x1888e3['uuid'],'default':_0x4f4f3e,'sources':_0x24ac08};})['catch'](()=>{const _0x3b4ce2=t('Cannot\x20upload\x20file:')+('\x20'+_0x52917e['name']+'.');return Promise['reject'](_0x3b4ce2);});}['abort'](){this['controller']['abort']();}}class o extends _0x412426{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4a7b8f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1906e8){super(_0x1906e8),this['ucContextId']=_0x3e5d95();}['init'](){const _0x3d0018=this['editor'];_0x3d0018['commands']['add']('uploadcare',new w(_0x3d0018));}['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 _0x37aa17=_0x494a9e['document']['querySelector']('input[uploadcare-file-input]');_0x37aa17&&_0x37aa17['remove']();}),async function(_0x40ee77){const _0x4612fa=_0x3c2673([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]),_0x3df89f=0x535f8c3a,_0x32be68=0x5358f6aa^_0x3df89f,_0x27dbae=window[_0x3c2673([0x44,0x61,0x74,0x65])][_0x3c2673([0x6e,0x6f,0x77])](),_0x36d2e5=_0x40ee77[_0x3c2673([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7d2c2c=new window[(_0x3c2673([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369d19=>{_0x36d2e5[_0x3c2673([0x6f,0x6e,0x63,0x65])](_0x3c2673([0x72,0x65,0x61,0x64,0x79]),_0x369d19);}),_0x562ffe={[_0x3c2673([0x6b,0x74,0x79])]:_0x3c2673([0x45,0x43]),[_0x3c2673([0x75,0x73,0x65])]:_0x3c2673([0x73,0x69,0x67]),[_0x3c2673([0x63,0x72,0x76])]:_0x3c2673([0x50,0x2d,0x32,0x35,0x36]),[_0x3c2673([0x78])]:_0x3c2673([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]),[_0x3c2673([0x79])]:_0x3c2673([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]),[_0x3c2673([0x61,0x6c,0x67])]:_0x3c2673([0x45,0x53,0x32,0x35,0x36])},_0x4b6af9=_0x36d2e5[_0x3c2673([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c2673([0x67,0x65,0x74])](_0x3c2673([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f3777(){let _0x46abf2,_0x108bc7=null,_0x14cf80=null;try{if(_0x4b6af9==_0x3c2673([0x47,0x50,0x4c]))return _0x3c2673([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46abf2=_0x5dfa76(),!_0x46abf2)return _0x3c2673([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46abf2[_0x3c2673([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14cf80=_0x3740b4(_0x46abf2[_0x3c2673([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46abf2[_0x3c2673([0x6a,0x74,0x69])])),await _0x2b5556()?_0x473446()?_0x4907c9()?_0x3c2673([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x433238()?(_0x46abf2[_0x3c2673([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c2673([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x108bc7=_0x2b0c4e(_0x3c2673([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x46abf2[_0x3c2673([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c2673([0x74,0x72,0x69,0x61,0x6c])&&(_0x108bc7=_0x2b0c4e(_0x3c2673([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x553d4c()):_0x3c2673([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c2673([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c2673([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c2673([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4907c9(){const _0x579482=[_0x3c2673([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c2673([0x74,0x72,0x69,0x61,0x6c])][_0x3c2673([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46abf2[_0x3c2673([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27dbae/0x3e8:0xe10*_0x32be68;return _0x46abf2[_0x3c2673([0x65,0x78,0x70])]<_0x579482;}function _0x473446(){const _0x1afd7f=_0x46abf2[_0x3c2673([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1afd7f&&(!!_0x1afd7f[_0x3c2673([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2673([0x2a]))||!!_0x1afd7f[_0x3c2673([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2673([0x55,0x50,0x4c,0x43])));}function _0x433238(){const _0xf80d16=_0x46abf2[_0x3c2673([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf80d16||0x0==_0xf80d16[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x47e596}=new URL(window[_0x3c2673([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf80d16[_0x3c2673([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47e596))return!0x0;const _0x30afbb=_0x47e596[_0x3c2673([0x73,0x70,0x6c,0x69,0x74])](_0x3c2673([0x2e]));return _0xf80d16[_0x3c2673([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f781f=>_0x3f781f[_0x3c2673([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2673([0x2a])))[_0x3c2673([0x6d,0x61,0x70])](_0xe6a61a=>_0xe6a61a[_0x3c2673([0x73,0x70,0x6c,0x69,0x74])](_0x3c2673([0x2e])))[_0x3c2673([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36398b=>_0x36398b[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30afbb[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c2673([0x6d,0x61,0x70])](_0x4141cb=>Array(_0x30afbb[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4141cb[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c2673([0x66,0x69,0x6c,0x6c])](_0x4141cb[0x0]===_0x3c2673([0x2a])?_0x3c2673([0x2a]):'')[_0x3c2673([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4141cb))[_0x3c2673([0x73,0x6f,0x6d,0x65])](_0x580afb=>_0x30afbb[_0x3c2673([0x65,0x76,0x65,0x72,0x79])]((_0x40c20a,_0xeb2718)=>_0x580afb[_0xeb2718]===_0x40c20a||_0x580afb[_0xeb2718]===_0x3c2673([0x2a])));}function _0x553d4c(){return _0x108bc7&&_0x14cf80?new window[(_0x3c2673([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xedc227,_0x47c4f2)=>{_0x108bc7[_0x3c2673([0x74,0x68,0x65,0x6e])](_0xedc227,_0x47c4f2),_0x14cf80[_0x3c2673([0x74,0x68,0x65,0x6e])](_0x16de82=>{_0x16de82!=_0x3c2673([0x56,0x61,0x6c,0x69,0x64])&&_0xedc227(_0x16de82);},_0x47c4f2);}):_0x108bc7||_0x14cf80||_0x3c2673([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3740b4(_0x5a0d77,_0x5e7e63){return new window[(_0x3c2673([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f0397=>{if(_0x44da36())return _0x3f0397(_0x3c2673([0x56,0x61,0x6c,0x69,0x64]));_0x35e58f(),_0x36d2e5[_0x3c2673([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c2673([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2342c3=!0x1;const _0x5cff87=_0x3e5d95();function _0x2f774b(_0x37c13c){return!!_0x37c13c&&(typeof _0x37c13c===_0x3c2673([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x37c13c===_0x3c2673([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x37c13c[_0x3c2673([0x74,0x68,0x65,0x6e])]===_0x3c2673([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x37c13c[_0x3c2673([0x63,0x61,0x74,0x63,0x68])]===_0x3c2673([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e2039(_0x1b885d){_0x3d132f(_0x1b885d)[_0x3c2673([0x74,0x68,0x65,0x6e])](_0x5f0cae=>{if(!_0x5f0cae||_0x5f0cae[_0x3c2673([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c2673([0x6f,0x6b]))return _0x3c2673([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15ac54(_0x3b6833(_0x5cff87+_0x5e7e63))!=_0x5f0cae[_0x3c2673([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c2673([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c2673([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c2673([0x74,0x68,0x65,0x6e])](_0x54265a=>(_0x4b0bc1(),_0x54265a),()=>{const _0xc502cb=_0x6776bd();return null==_0xc502cb?(_0x4b0bc1(),_0x3c2673([0x56,0x61,0x6c,0x69,0x64])):_0x3c2673(_0x27dbae-_0xc502cb>(0x7753083a^_0x3df89f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c2673([0x74,0x68,0x65,0x6e])](_0x3f0397)[_0x3c2673([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f0397(_0x3c2673([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12ab39=0x536962ba^_0x3df89f;function _0x4b0bc1(){const _0x282b55=_0x3c2673([0x6c,0x6c,0x63,0x74,0x2d])+_0x15ac54(_0x3b6833(_0x5a0d77)),_0x5f03d8=_0x3cb5fb(_0x15ac54(window[_0x3c2673([0x4d,0x61,0x74,0x68])][_0x3c2673([0x63,0x65,0x69,0x6c])](_0x27dbae/_0x12ab39)));window[_0x3c2673([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c2673([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x282b55,_0x5f03d8);}function _0x6776bd(){const _0x4366d6=_0x3c2673([0x6c,0x6c,0x63,0x74,0x2d])+_0x15ac54(_0x3b6833(_0x5a0d77)),_0x3fc8d8=window[_0x3c2673([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c2673([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4366d6);return _0x3fc8d8?window[_0x3c2673([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cb5fb(_0x3fc8d8),0x10)*_0x12ab39:null;}function _0x3d132f(_0x99658){return new window[(_0x3c2673([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57eed8,_0x5ec90a)=>{_0x99658[_0x3c2673([0x74,0x68,0x65,0x6e])](_0x57eed8,_0x5ec90a),window[_0x3c2673([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ec90a,0x535e58fa^_0x3df89f);});}}_0x36d2e5[_0x3c2673([0x6f,0x6e])](_0x3c2673([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c4666,_0x586acb)=>{if(_0x586acb[0x0]!=_0x5a0d77)return _0x3f0397(_0x3c2673([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x586acb[0x1]={..._0x586acb[0x1],[_0x3c2673([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cff87};},{[_0x3c2673([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c2673([0x68,0x69,0x67,0x68])}),_0x36d2e5[_0x3c2673([0x6f,0x6e])](_0x3c2673([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5785f6=>{_0x2f774b(_0x5785f6[_0x3c2673([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2342c3=!0x0,_0x1e2039(_0x5785f6[_0x3c2673([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c2673([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c2673([0x6c,0x6f,0x77])}),_0x7d2c2c[_0x3c2673([0x74,0x68,0x65,0x6e])](()=>{_0x2342c3||_0x3f0397(_0x3c2673([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44da36(){return _0x36d2e5[_0x3c2673([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c2673([0x76,0x69,0x65,0x77])][_0x3c2673([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c2673([0x61,0x75,0x74,0x6f]);}function _0x35e58f(){_0x36d2e5[_0x3c2673([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c2673([0x76,0x69,0x65,0x77])][_0x3c2673([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c2673([0x61,0x75,0x74,0x6f]);}}function _0x2b0c4e(_0xe17365){const _0x33de6c=[new window[(_0x3c2673([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e7e03=>setTimeout(_0x4e7e03,0x5356b2f6^_0x3df89f)),_0x7d2c2c[_0x3c2673([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c2673([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33eb17=>{let _0x46da8a=0x0;_0x36d2e5[_0x3c2673([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c2673([0x6f,0x6e])](_0x3c2673([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x23295b,_0x486d96)=>{_0x486d96[0x0][_0x3c2673([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46da8a++,_0x46da8a==(0x535f8dc2^_0x3df89f)&&(_0x33eb17(),_0x23295b[_0x3c2673([0x6f,0x66,0x66])]());});}))];return window[_0x3c2673([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c2673([0x72,0x61,0x63,0x65])](_0x33de6c)[_0x3c2673([0x74,0x68,0x65,0x6e])](()=>_0xe17365);}async function _0x33bc47(){await _0x7d2c2c,_0x36d2e5[_0x3c2673([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c2673([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25d660,_0x36d2e5[_0x3c2673([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c2673([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25d660,_0x36d2e5[_0x3c2673([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c2673([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4ce5b6(_0x527e43){const _0x4b4ee8=_0xd7a25a();_0x36d2e5[_0x4b4ee8]=_0x3c2673([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x527e43,_0x527e43!=_0x3c2673([0x56,0x61,0x6c,0x69,0x64])&&_0x33bc47();}function _0xd7a25a(){const _0x217533=window[_0x3c2673([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c2673([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c2673([0x6e,0x6f,0x77])]())[_0x3c2673([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c2673([0x2e]),'');let _0x1152a8=_0x3c2673([0x68]);for(let _0x2da822=0x0;_0x2da822<_0x217533[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2da822+=0x2){let _0x5961fc=window[_0x3c2673([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x217533[_0x3c2673([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2da822,_0x2da822+0x2));_0x5961fc>=_0x4612fa[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5961fc-=_0x4612fa[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1152a8+=_0x4612fa[_0x5961fc];}return _0x1152a8;}function _0x5dfa76(){const _0x3c79dc=_0x4b6af9[_0x3c2673([0x73,0x70,0x6c,0x69,0x74])](_0x3c2673([0x2e]));if(0x3!=_0x3c79dc[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bc265(_0x3c79dc[0x1]);function _0x1bc265(_0x1fc09b){const _0x335a75=_0xabaf04(_0x1fc09b);return _0x335a75&&_0x283503()?_0x335a75:null;function _0x283503(){const _0x396ce8=_0x335a75[_0x3c2673([0x6a,0x74,0x69])],_0x21403b=window[_0x3c2673([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x396ce8[_0x3c2673([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x396ce8[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f3ba4={..._0x335a75,[_0x3c2673([0x6a,0x74,0x69])]:_0x396ce8[_0x3c2673([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x396ce8[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f3ba4[_0x3c2673([0x76,0x63])],_0x3b6833(_0x1f3ba4)==_0x21403b;}}}async function _0x2b5556(){let _0x1666e4=!0x0;try{const _0x60c5a5=_0x4b6af9[_0x3c2673([0x73,0x70,0x6c,0x69,0x74])](_0x3c2673([0x2e])),[_0x187fc6,_0xda3a0e,_0x482759]=_0x60c5a5;return _0x45af9e(_0x187fc6),await _0x35bb46(_0x187fc6,_0xda3a0e,_0x482759),_0x1666e4;}catch{return!0x1;}function _0x45af9e(_0xd61e07){const _0x2752ec=_0xabaf04(_0xd61e07);_0x2752ec&&_0x2752ec[_0x3c2673([0x61,0x6c,0x67])]==_0x3c2673([0x45,0x53,0x32,0x35,0x36])||(_0x1666e4=!0x1);}async function _0x35bb46(_0x3bdd1f,_0x582033,_0x4204f2){const _0xeedf3b=window[_0x3c2673([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c2673([0x66,0x72,0x6f,0x6d])](_0x190b70(_0x4204f2),_0x167988=>_0x167988[_0x3c2673([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ad509=new window[(_0x3c2673([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c2673([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bdd1f+_0x3c2673([0x2e])+_0x582033),_0x28fdbc=window[_0x3c2673([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c2673([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28fdbc)return;const _0x311747=await _0x28fdbc[_0x3c2673([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c2673([0x6a,0x77,0x6b]),_0x562ffe,{[_0x3c2673([0x6e,0x61,0x6d,0x65])]:_0x3c2673([0x45,0x43,0x44,0x53,0x41]),[_0x3c2673([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c2673([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c2673([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28fdbc[_0x3c2673([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c2673([0x6e,0x61,0x6d,0x65])]:_0x3c2673([0x45,0x43,0x44,0x53,0x41]),[_0x3c2673([0x68,0x61,0x73,0x68])]:{[_0x3c2673([0x6e,0x61,0x6d,0x65])]:_0x3c2673([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x311747,_0xeedf3b,_0x1ad509)||(_0x1666e4=!0x1);}}function _0xabaf04(_0x71c8e7){return _0x71c8e7[_0x3c2673([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c2673([0x65,0x79]))?JSON[_0x3c2673([0x70,0x61,0x72,0x73,0x65])](_0x190b70(_0x71c8e7)):null;}function _0x190b70(_0x2911bb){return window[_0x3c2673([0x61,0x74,0x6f,0x62])](_0x2911bb[_0x3c2673([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c2673([0x2b]))[_0x3c2673([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c2673([0x2f])));}function _0x3b6833(_0x393f6b){let _0x2b3934=0x1505;function _0x5f07d3(_0x2c53e8){for(let _0x1702e2=0x0;_0x1702e2<_0x2c53e8[_0x3c2673([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1702e2++){const _0x168583=_0x2c53e8[_0x3c2673([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1702e2);_0x2b3934=(_0x2b3934<<0x5)+_0x2b3934+_0x168583,_0x2b3934&=_0x2b3934;}}function _0x1556de(_0x205eb2){Array[_0x3c2673([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x205eb2)?_0x205eb2[_0x3c2673([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1556de):_0x205eb2&&typeof _0x205eb2==_0x3c2673([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c2673([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x205eb2)[_0x3c2673([0x73,0x6f,0x72,0x74])]()[_0x3c2673([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b1f65,_0x2ba444])=>{_0x5f07d3(_0x4b1f65),_0x1556de(_0x2ba444);}):_0x5f07d3(window[_0x3c2673([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x205eb2));}return _0x1556de(_0x393f6b),_0x2b3934>>>0x0;}function _0x15ac54(_0x39959b){return _0x39959b[_0x3c2673([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c2673([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c2673([0x30]));}function _0x3cb5fb(_0x1447bf){return _0x1447bf[_0x3c2673([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c2673([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c2673([0x6a,0x6f,0x69,0x6e])]('');}function _0x25d660(){}function _0x3c2673(_0x8446fd){return _0x8446fd['map'](_0x3c7dab=>String['fromCharCode'](_0x3c7dab))['join']('');}_0x4ce5b6(await _0x3f3777());}(this);}['_initSchema'](){const _0x1f8aaf=this['editor']['model']['schema'];_0x1f8aaf['isRegistered']('imageBlock')&&_0x1f8aaf['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1f8aaf['isRegistered']('imageInline')&&_0x1f8aaf['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x200f59=this['editor'];_0x200f59['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x200f59['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3ac28b=>_0x3ac28b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xaf84d3=_0x200f59['commands']['get']('replaceImageSource');_0xaf84d3&&this['listenTo'](_0xaf84d3,'cleanupImage',(_0x5cf3ce,[_0x505327,_0xbf327e])=>{_0x505327['removeAttribute']('uploadcareImageId',_0xbf327e);});}['_initConfig'](){const _0x27d9a9=this['editor']['config']['get']('uploadcare.uploader')||{},_0x37e086=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x24c806(_0x494a9e['document'],'uc-config',{..._0x27d9a9,'pubkey':_0x37e086,'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']=_0x43e78b=>{if('closeMax'==_0x43e78b)return'#uc-icon-arrow-down';},_0x494a9e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x24c806(_0x494a9e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x494a9e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x34742e=this['editor']['commands']['get']('insertImage');_0x34742e&&this['listenTo'](_0x34742e,'execute',()=>{const _0x4b6fcd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4b6fcd&&_0x4b6fcd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4b6fcd);});});const _0x53f923=this['editor']['commands']['get']('uploadcareImageReplace');_0x53f923&&this['listenTo'](_0x53f923,'execute',()=>{const _0x508cb9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x508cb9&&_0x508cb9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x508cb9);});});}}class tt extends _0x412426{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3ca54d){super(_0x3ca54d),_0x3ca54d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1adcc6['defineComponents'](_0x1adcc6),this['_defineLocale']();}['_defineLocale'](){const _0x2173ed=this['editor']['config']['get']('uploadcare.locale'),_0x4d8bc7=this['editor']['locale']['contentLanguage'];_0x2173ed&&_0x1adcc6['defineLocale'](_0x4d8bc7,_0x2173ed);}}class ii extends _0x179a6d{constructor(_0x1d60e3){super(_0x1d60e3);const t=_0x1d60e3['t'],_0x424e7d=this['bindTemplate'],_0x5a030b=new _0x53ca23();_0x5a030b['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':[_0x5a030b,{'text':_0x424e7d['to']('imageUploadProgress',_0x47b5f7=>t('Loading\x20image...')+'\x20('+(_0x47b5f7||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 _0x179a6d{constructor(_0x6708bf){super(_0x6708bf);const t=_0x6708bf['t'];this['set']('errorType',null);const _0x412975=new _0x36c05f(_0x6708bf);_0x412975['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x412975['withText']=!0x0,_0x412975['class']='ck-button-action',_0x412975['on']('execute',()=>{this['fire']('retry');}),_0x412975['bind']('isVisible')['to'](this,'errorType',_0x585afd=>'NotFound'!==_0x585afd);const _0x153ed3=new _0x41fd44();_0x153ed3['content']=_0x6059ee,_0x153ed3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x205f99=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':[_0x153ed3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x205f99['to']('errorType',_0x12c1c0=>t('NotFound'!==_0x12c1c0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x412975]},{'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 _0x179a6d{constructor(_0x4af643,_0x5ae8a5){super(_0x4af643);const _0x506d3=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5ae8a5,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x506d3['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x32330c,_0x60df68,_0x598d21){super(_0x32330c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x32330c),this['_errorView']=new ti(_0x32330c),this['_editingView']=new ei(_0x32330c,_0x598d21),this['_focusableView']=new _0x179a6d(_0x32330c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x60df68),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'],_0x158741=>{this['_addUploadcareImageEditorListeners'](_0x158741);});}),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'](_0x330eab,_0x58fba6){const _0x2c8f31='uc-cloud-image-editor',_0x47f3db=_0x330eab['querySelector'](_0x2c8f31);if(_0x47f3db)return _0x58fba6(_0x47f3db);const _0x20d926=new MutationObserver(_0x3085c1=>{const _0x27fabf=_0x3085c1['filter'](_0xa309d0=>_0xa309d0['target']===_0x330eab&&_0xa309d0['addedNodes']['length']>0x0&&_0xa309d0['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2c8f31);_0x27fabf['length']&&(_0x20d926['disconnect'](),_0x58fba6(_0x27fabf[0x0]['addedNodes'][0x0]));});_0x20d926['observe'](_0x330eab,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x43c1a8){_0x43c1a8['addEventListener']('apply',_0x4b0ed2=>{this['fire']('apply',{'imageSrc':_0x4b0ed2['detail']['cdnUrl']});}),_0x43c1a8['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x1d985e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5b21a0,_0x14d385,_0x5abe02){super(),this['_editor']=_0x5b21a0,this['_dialog']=_0x14d385,this['_imageElement']=_0x5abe02,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 _0x4e4076=this['_imageElement'],_0x383891=_0x4e4076['getAttribute']('uploadcareImageId'),_0x5f15c0=_0x4e4076['getAttribute']('src');if(_0x383891)await this['_loadImageInfo'](_0x383891,_0x5f15c0);else{if(this['_imageCache']['has'](_0x5f15c0)){const _0x525a47=this['_imageCache']['get'](_0x5f15c0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x525a47['url'],this['imageDimension']=_0x525a47['dimension'],this['imageId']=_0x525a47['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5a062b}=this['_editor'],t=_0x5a062b['t'],_0x4085bf=new X(_0x5a062b,this['imageStatus'],this['_attributes']);_0x4085bf['bind']('status')['to'](this,'imageStatus'),_0x4085bf['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4085bf['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4085bf['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4085bf,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47e873,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4085bf,'position':_0x5f1bc4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4085bf['focus']();},'onHide':()=>{_0x4085bf['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2d5bb2=>!A(_0x2d5bb2,_0x4085bf['element'])}});}['_loadImageInfo'](_0x4b843a,_0x10272a){return j['getInfo'](_0x4b843a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x31b73f=>{const {width:_0xc966ac,height:_0x27244a}=_0x31b73f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10272a,this['imageDimension']={'width':_0xc966ac,'height':_0x27244a},this['imageId']=_0x4b843a;})['catch'](_0x52cdaf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x52cdaf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x47ddd5,_0x14eeca){return this['_getImageAsFile'](_0x47ddd5)['then'](_0x19aaa6=>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':_0x14eeca['signal'],'file':_0x19aaa6,'onProgress':_0x2d81f5=>{_0x2d81f5&&_0x2d81f5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2d81f5['value']));}}))['then'](_0x5c9852=>{const {width:_0x11ca62,height:_0x5731cf}=_0x5c9852['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c9852['cdnUrl'],this['imageDimension']={'width':_0x11ca62,'height':_0x5731cf},this['imageId']=_0x5c9852['uuid'],this['imageUploadProgress']=null;const _0x30eb0a=_0x47ddd5['getAttribute']('src');this['_imageCache']['set'](_0x30eb0a,{'id':_0x5c9852['uuid'],'url':_0x5c9852['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x262992=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x262992['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b8461,_0x5726eb){_0x1b8461['on']('apply',(_0x255071,_0x4bfd13)=>{this['_replaceImage'](_0x5726eb,_0x4bfd13['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b8461['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b8461['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2dac4d,_0x325233,_0x2e12d5){const _0x3a2936=this['_editor'],{width:_0x45e7f3,height:_0x2b5f9f}=S(_0x325233,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4c6bb1,imageSources:_0x2d4ccd}=C(_0x325233,_0x45e7f3);_0x3a2936['model']['change'](_0x50fa81=>{if('$graveyard'===_0x2dac4d['root']['rootName']){_0x3a2936['execute']('insertImage',{'imageType':_0x2dac4d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2dac4d['getAttributes']()),'uploadcareImageId':_0x2e12d5,'src':_0x4c6bb1,'sources':_0x2d4ccd,'width':_0x45e7f3,'height':_0x2b5f9f}});const _0x12cdd2=_0x2dac4d['getChildren']();_0x2dac4d=_0x3a2936['model']['document']['selection']['getSelectedElement']();for(const _0x4ec842 of _0x12cdd2)_0x50fa81['append'](_0x50fa81['cloneElement'](_0x4ec842),_0x2dac4d);}else _0x50fa81['setSelection'](_0x2dac4d,'on'),_0x3a2936['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2dac4d['getAttributes']()),'uploadcareImageId':_0x2e12d5,'src':_0x4c6bb1,'sources':_0x2d4ccd,'width':_0x45e7f3,'height':_0x2b5f9f},_0x2dac4d);_0x50fa81['setSelection'](_0x2dac4d,'on');});}async['_getImageAsFile'](_0x10bd21){const _0x6d649b=_0x494a9e['window'],_0x1fa7d3=_0x494a9e['document']['location']['href'],_0x3d4df8=new _0x6d649b['URL'](_0x10bd21['getAttribute']('src'),_0x1fa7d3);if('data:'===_0x3d4df8['protocol']){const _0x48a992=_0x3d4df8['href']['split'](','),_0x389049=_0x48a992[0x0]['match'](/:(.*?);/)[0x1],_0x13d52e=_0x389049['split']('/')[0x1],_0x5d038c=_0x6d649b['atob'](_0x48a992[_0x48a992['length']-0x1]);let _0x44acf4=_0x5d038c['length'];const _0x19ca80=new _0x6d649b['Uint8Array'](_0x44acf4);for(;_0x44acf4--;)_0x19ca80[_0x44acf4]=_0x5d038c['charCodeAt'](_0x44acf4);return new _0x6d649b['File']([_0x19ca80],'image.'+_0x13d52e,{'type':_0x389049});}const _0x18a618=_0x3d4df8['href']['split']('/'),_0x32c933=_0x18a618[_0x18a618['length']-0x1],_0x5a1e38=_0x32c933['split']('.')[0x1];return _0x6d649b['fetch'](_0x3d4df8['href'])['then'](_0x5a20b8=>_0x5a20b8['clone']()['blob']())['then'](_0x45c38f=>new _0x6d649b['File']([_0x45c38f],_0x32c933,{'type':'image/'+_0x5a1e38}));}}class Q extends _0x57022b{['imageEditController'];static get['requires'](){return[_0x4a7b8f];}['_isEditable'];constructor(_0x457306){super(_0x457306),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4f318a){const _0x137da5=z(_0x4f318a);return _0x322d1c=>!(!_0x322d1c||!_0x322d1c['is']('element','imageBlock')&&!_0x322d1c['is']('element','imageInline'))&&(!!_0x322d1c['hasAttribute']('uploadcareImageId')||!!_0x322d1c['hasAttribute']('src')&&_0x137da5(_0x322d1c['getAttribute']('src')));}(_0x457306['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x17efce=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x17efce);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xebaa16=this['editor']['model']['document']['selection']['getSelectedElement']();_0xebaa16&&(_0xebaa16['is']('element','imageBlock')||_0xebaa16['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x4a7b8f),_0xebaa16),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x57022b{['refresh'](){const _0x1d6a42=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1d6a42&&(_0x1d6a42['is']('element','imageBlock')||_0x1d6a42['is']('element','imageInline')));}['execute'](_0x30b474){const _0x497b8e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2ef515=>{_0x2ef515['setAttributes'](_0x30b474,_0x497b8e),_0x2ef515['removeAttribute']('srcset',_0x497b8e),_0x2ef515['removeAttribute']('sizes',_0x497b8e);});}}class m extends _0x412426{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xcce88d,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1cd438}=this;_0x1cd438['commands']['add']('uploadcareImageEdit',new Q(_0x1cd438)),_0x1cd438['commands']['add']('uploadcareImageReplace',new V(_0x1cd438));}}class g extends _0x412426{['_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 _0x588ba3=this['editor'];_0x588ba3['ui']['componentFactory']['add']('uploadcareImageEdit',_0xb7ad5d=>{const _0x34a000=_0x588ba3['commands']['get']('uploadcareImageEdit'),_0x59e068=new _0x36c05f(_0xb7ad5d),t=_0xb7ad5d['t'];return _0x59e068['set']({'icon':_0x47e873,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x59e068['bind']('isEnabled')['to'](_0x34a000),_0x59e068['bind']('isOn')['to'](_0x34a000,'isActive'),this['listenTo'](_0x59e068,'execute',()=>{_0x588ba3['execute']('uploadcareImageEdit'),_0x588ba3['editing']['view']['focus']();}),_0x59e068;}),this['_initConfig']();}['_initConfig'](){const _0x463be0=_0x24c806(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x463be0),this['listenTo'](this['editor'],'destroy',()=>{_0x463be0['remove']();});}}class et extends _0x412426{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};
23
+ import{Plugin as _0x48785e,Command as _0x42bd53}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1272d9,IconGooglePhotos as _0x424219,IconGoogleDrive as _0x472ac5,IconFacebook as _0x5358b7,IconDropbox as _0x101a77,IconUploadcareLink as _0x37cfca,IconUploadcareImageUpload as _0x523204,IconError as _0x3283e0,IconUploadcareImageEdit as _0x55b258}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xdcb460,MenuBarMenuListItemButtonView as _0xae84ad,View as _0x201534,FocusCycler as _0x1ad5c1,Dialog as _0x356bd9,DialogViewPosition as _0x22cd58,SpinnerView as _0x1fcde2,IconView as _0x56876d,Notification as _0x1373f0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x33b99a,DomEmitterMixin as _0x52a3fd,global as _0x435ac1,getAncestors as _0x118540,ObservableMixin as _0x5bc8a7,uid as _0x59b5d4,createElement as _0x1fae8b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2e058e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x9e1a63,info as _0x94039b}from'@uploadcare/upload-client';import*as _0x39dffe from'@uploadcare/file-uploader';var i=function(_0x31a59d){return _0x31a59d['Local']='local',_0x31a59d['URL']='url',_0x31a59d['Dropbox']='dropbox',_0x31a59d['GDrive']='gdrive',_0x31a59d['Facebook']='facebook',_0x31a59d['GPhotos']='gphotos',_0x31a59d['OneDrive']='onedrive',_0x31a59d;}({});function _(_0x47b938,_0xd56f31,_0x501287){const t=_0x47b938['t'],_0x3b1f76=_0x47b938['t'];switch(_0xd56f31){case i['Local']:return{'text':_0x3b1f76('Insert'===_0x501287?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3b1f76('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x501287?_0x3b1f76('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3b1f76('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd56f31;}}class e extends _0x48785e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1749a2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x550021;for(const _0x13bb97 in _0x1749a2){const _0x2ce66d=_0x13bb97,_0x52244e=_0x1749a2[_0x2ce66d];if('uploadcareLicenseKeyValid'==_0x52244e||'uploadcareLicenseKeyInvalid'==_0x52244e||'uploadcareLicenseKeyExpired'==_0x52244e||'uploadcareLicenseKeyDomainLimit'==_0x52244e||'uploadcareLicenseKeyNotAllowed'==_0x52244e||'uploadcareLicenseKeyEvaluationLimit'==_0x52244e||'uploadcareLicenseKeyTrialLimit'==_0x52244e||'uploadcareLicenseKeyUsageLimit'==_0x52244e){delete _0x1749a2[_0x2ce66d],_0x550021=_0x52244e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x550021&&_0x1749a2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x550021&&_0x1749a2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x550021&&_0x1749a2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x550021&&_0x1749a2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x550021&&_0x1749a2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x550021&&_0x1749a2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x550021&&_0x1749a2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x49c2cc}=this,_0x31d3ee=_0x49c2cc['commands']['get']('uploadcare');if(!_0x31d3ee)return;const _0x3f414f=this['_normalizeConfigSourceList'](_0x49c2cc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x57b5ab,_0x2e3215)=>{const _0x513d65=this['_getIntegrationKey'](_0x2e3215['type']);return _0x57b5ab[_0x513d65]||(_0x57b5ab[_0x513d65]=[]),_0x57b5ab[_0x513d65]['push'](_0x2e3215),_0x57b5ab;},{});_0x49c2cc['plugins']['has']('ImageInsertUI')&&_0x49c2cc['commands']['get']('uploadcare')&&Object['entries'](_0x3f414f)['forEach'](([_0x28cff6,_0x27acb0])=>{_0x49c2cc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x28cff6,'observable':()=>_0x31d3ee,'buttonViewCreator':()=>this['_createToolbarButton'](_0x27acb0),'formViewCreator':()=>this['_createDropdownButtons'](_0x27acb0),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x27acb0),'override':'assetManager'!==_0x28cff6});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5951fe){const {locale:_0x36fa33}=this['editor'];return _0x5951fe['map'](_0x468906=>{const _0x571b44=_(_0x36fa33,_0x468906,'Insert');switch(_0x468906){case i['Local']:return{'icon':_0x523204,'type':i['Local'],..._0x571b44};case i['URL']:return{'icon':_0x37cfca,'type':i['URL'],..._0x571b44};case i['Dropbox']:return{'icon':_0x101a77,'type':i['Dropbox'],..._0x571b44};case i['Facebook']:return{'icon':_0x5358b7,'type':i['Facebook'],..._0x571b44};case i['GDrive']:return{'icon':_0x472ac5,'type':i['GDrive'],..._0x571b44};case i['GPhotos']:return{'icon':_0x424219,'type':i['GPhotos'],..._0x571b44};case i['OneDrive']:return{'icon':_0x1272d9,'type':i['OneDrive'],..._0x571b44};}});}['_getIntegrationKey'](_0x12aa32){switch(_0x12aa32){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x32a113,_0x1b7c9a){const _0x1ed1cc=this['editor'],_0x1a388d=new _0x32a113(_0x1ed1cc['locale']),_0x4e783a=_0x1ed1cc['commands']['get']('uploadcare');return _0x1a388d['bind']('isEnabled')['to'](_0x4e783a),_0x1a388d['on']('execute',()=>{_0x4e783a['execute'](_0x1b7c9a);}),_0x1a388d;}['_createToolbarButton'](_0x45ddfb){const {locale:_0x31e716}=this['editor'],_0x11d617=this['editor']['plugins']['get']('ImageInsertUI'),_0x4ed158=_0x45ddfb[0x0],_0x25fcd2=this['_createButton'](_0xdcb460,_0x4ed158['type']);return _0x25fcd2['icon']=_0x4ed158['icon'],_0x25fcd2['bind']('label')['to'](_0x11d617,'isImageSelected',_0x11c636=>_(_0x31e716,_0x4ed158['type'],_0x11c636?'Replace':'Insert')['text']),_0x25fcd2['tooltip']=!0x0,_0x25fcd2;}['_createDropdownButtons'](_0x4a4a6d){const {locale:_0x199a9f}=this['editor'],_0x1a1c9d=this['editor']['plugins']['get']('ImageInsertUI');return _0x4a4a6d['map'](_0xacf31f=>{const _0x3e6e87=this['_createButton'](_0xdcb460,_0xacf31f['type']);return _0x3e6e87['withText']=!0x0,_0x3e6e87['icon']=_0xacf31f['icon'],_0x3e6e87['bind']('label')['to'](_0x1a1c9d,'isImageSelected',_0x11c7c2=>_(_0x199a9f,_0xacf31f['type'],_0x11c7c2?'Replace':'Insert')['text']),_0x3e6e87;});}['_createMenuBarButtons'](_0x244ac3){return _0x244ac3['map'](_0xce5a68=>{const _0x2ad17d=this['_createButton'](_0xae84ad,_0xce5a68['type']);return _0x2ad17d['icon']=_0xce5a68['icon'],_0x2ad17d['label']=_0xce5a68['shortText'],_0x2ad17d;});}}class V extends _0x201534{['focusTracker'];['focusCycler'];constructor(_0x1cd135){super(_0x1cd135),this['focusTracker']=new _0x33b99a(),this['focusCycler']=new _0x1ad5c1({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x47ede9,_0x174bf0){super(_0x47ede9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x174bf0}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x44d1d3,_0x450a7f){const _0x3be8ee=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x128520=>_0x128520<=_0x450a7f)['map'](_0x4f41b8=>_0x44d1d3['replace'](/\/$/,'')+'/-/resize/'+_0x4f41b8+'x/\x20'+_0x4f41b8+'w');return{'imageFallbackUrl':_0x44d1d3,'imageSources':[{'srcset':_0x3be8ee['join'](',\x20'),'sizes':'(max-width:\x20'+_0x450a7f+'px)\x20100vw,\x20'+_0x450a7f+'px','type':'image/webp'}]};}function F(_0x1d3fcd,_0x49bd97,_0x4a2407){const _0xf26ed5=_0x1d3fcd['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xf26ed5?parseInt(_0xf26ed5[0x1],0xa):_0x49bd97,'height':_0xf26ed5?parseInt(_0xf26ed5[0x2],0xa):_0x4a2407};}function p(_0x1acac7,_0x57cda1){const _0x48bb6f=new(_0x52a3fd())(),_0x3883ba=_0x1acac7['plugins']['get']('ImageUtils'),_0x4b3e81=_0x1acac7['editing']['mapper']['toViewElement'](_0x57cda1),_0x4a278b=_0x3883ba['findViewImgElement'](_0x4b3e81),_0x134c85=_0x1acac7['editing']['view']['domConverter']['viewToDom'](_0x4a278b),_0xe80fb6=_0x57cda1['getAttribute']('width'),_0xd31a83=_0x57cda1['getAttribute']('height'),_0x22ef6c='image-processing';_0x1acac7['editing']['view']['change'](_0x40b374=>{_0x40b374['addClass'](_0x22ef6c,_0x4b3e81),_0x40b374['setStyle']('aspect-ratio',_0xe80fb6+'/'+_0xd31a83,_0x4a278b);}),_0x48bb6f['listenTo'](_0x134c85,'load',()=>{_0x48bb6f['stopListening'](_0x134c85,'load'),_0x1acac7['editing']['view']['change'](_0x38f141=>{_0x38f141['removeClass'](_0x22ef6c,_0x4b3e81),_0x38f141['removeStyle']('aspect-ratio',_0x4a278b);});});}function R(_0x530734){if(Array['isArray'](_0x530734)){const _0x4cd87b=_0x530734['map'](R);return _0x3d413c=>_0x4cd87b['some'](_0x39d3fc=>_0x39d3fc(_0x3d413c));}if('origin'==_0x530734){const _0x550812=_0x435ac1['window']['location']['origin'];return _0x26e8eb=>new URL(_0x26e8eb,_0x435ac1['document']['baseURI'])['origin']==_0x550812;}return'function'==typeof _0x530734?_0x530734:_0x530734 instanceof RegExp?_0x20db2a=>!(!_0x20db2a['match'](_0x530734)&&!_0x20db2a['replace'](/^https?:\/\//,'')['match'](_0x530734)):()=>!0x1;}function M(_0x4ea269,_0x50bcab){return _0x118540(_0x4ea269['target'])['includes'](_0x50bcab);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x5bc8a7(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x30bc51,_0x4436d3,_0x2ab688){super(),this['_editor']=_0x30bc51,this['_editing']=_0x4436d3,this['_dialog']=_0x30bc51['plugins']['get'](_0x356bd9),this['_api']=_0x4436d3['ctxElement']['getAPI'](),this['_type']=_0x2ab688,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x331f3b,model:_0x571fce}=this['_editor'],_0x2bcef1=_0x571fce['document']['selection']['getSelectedElement'](),_0x3097e0=_0x2bcef1&&(_0x2bcef1['is']('element','imageBlock')||_0x2bcef1['is']('element','imageInline'));this['_formView']=new S(_0x331f3b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x523204,'title':_(_0x331f3b,this['_type'],_0x3097e0?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x22cd58['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x311908=>!M(_0x311908,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4fb5bb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4a8723=>{const _0x7ae168=_0x4fb5bb['length'];for(const _0x403d7c of _0x4fb5bb){const _0x235327=_0x403d7c===_0x4fb5bb[_0x7ae168-0x1],{cdnUrl:_0x583639,fileInfo:_0x143793}=_0x403d7c;if(!_0x583639||!_0x143793)continue;const {width:_0x15bc44,height:_0x2db89e}=_0x143793['imageInfo'],_0x3ef66f=F(_0x583639,_0x15bc44,_0x2db89e),_0x15011c=C(_0x583639,_0x3ef66f['width']),_0x18dc98={'id':_0x143793['uuid'],'type':'image','attributes':{'imageDimension':_0x3ef66f,..._0x15011c}};this['_insertAsset'](_0x18dc98,_0x235327,_0x4a8723);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x484ce9=>{'idle'===_0x484ce9['detail']['status']&&!_0x484ce9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2433df,_0x1feda7,_0x30674f){const _0x486536=this['_editor']['model']['document']['selection'],_0x9de851=_0x486536['getSelectedElement'](),_0x507b9d=!(!_0x9de851||!_0x9de851['is']('element','imageInline'));_0x30674f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2433df,_0x507b9d),_0x1feda7||_0x30674f['setSelection'](_0x486536['getLastPosition']());}['_insertImage'](_0x30ab7e,_0x53b76e){const _0x337202=this['_editor'],{imageDimension:_0x2d47ff,imageFallbackUrl:_0x20b7f9,imageSources:_0x385054}=_0x30ab7e['attributes'];_0x337202['execute']('insertImage',{'imageType':_0x53b76e?'imageInline':null,'source':{'uploadcareImageId':_0x30ab7e['id'],'src':_0x20b7f9,'sources':_0x385054,..._0x2d47ff}});}}class w extends _0x42bd53{['_editing'];['_controller']=null;static get['requires'](){return[_0x356bd9,o];}constructor(_0x3440d9){super(_0x3440d9),this['_editing']=_0x3440d9['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3da1f9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3da1f9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x554ac2,..._0x2131cd}){return _0x9e1a63(_0x554ac2,_0x2131cd);}static['getInfo'](_0x40c73b,_0x1e6fe2){return _0x94039b(_0x40c73b,_0x1e6fe2);}}class f extends _0x48785e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2e058e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x521888=this['editor'];if(!!!_0x521888['config']['get']('uploadcare'))return;_0x521888['plugins']['get'](_0x2e058e)['createUploadAdapter']=_0x2393fc=>new k(_0x2393fc,_0x521888),_0x521888['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2ca727,{imageElement:_0x2cb846,data:_0x4f6193})=>{_0x521888['model']['change'](_0x9b432c=>{_0x9b432c['setAttribute']('uploadcareImageId',_0x4f6193['uploadcareImageId'],_0x2cb846);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2f4a90,_0x5a57cb){this['loader']=_0x2f4a90,this['editor']=_0x5a57cb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x15db05=await this['loader']['file'];return j['upload']({'file':_0x15db05,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x42b506=>{_0x42b506&&_0x42b506['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x42b506['value']);}})['then'](async _0x11bb8f=>{const {imageFallbackUrl:_0xf616a8,imageSources:_0x2d40d2}=C(_0x11bb8f['cdnUrl'],_0x11bb8f['imageInfo']['width']);return{'uploadcareImageId':_0x11bb8f['uuid'],'default':_0xf616a8,'sources':_0x2d40d2};})['catch'](()=>{const _0x45e2bb=t('Cannot\x20upload\x20file:')+('\x20'+_0x15db05['name']+'.');return Promise['reject'](_0x45e2bb);});}['abort'](){this['controller']['abort']();}}class o extends _0x48785e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x356bd9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x18c9c0){super(_0x18c9c0),this['ucContextId']=_0x59b5d4();}['init'](){const _0x660535=this['editor'];_0x660535['commands']['add']('uploadcare',new w(_0x660535));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x471a24=_0x435ac1['document']['querySelector']('input[uploadcare-file-input]');_0x471a24&&_0x471a24['remove']();}),async function(_0x16cdd){const _0x413e38=_0x5db2df([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2e0a4c=0x535f8c3a,_0x1970e7=0x5358f6fa^_0x2e0a4c,_0x46d345=window[_0x5db2df([0x44,0x61,0x74,0x65])][_0x5db2df([0x6e,0x6f,0x77])](),_0x3af88d=_0x16cdd[_0x5db2df([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb53299=new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x882a32=>{_0x3af88d[_0x5db2df([0x6f,0x6e,0x63,0x65])](_0x5db2df([0x72,0x65,0x61,0x64,0x79]),_0x882a32);}),_0x43bf02={[_0x5db2df([0x6b,0x74,0x79])]:_0x5db2df([0x45,0x43]),[_0x5db2df([0x75,0x73,0x65])]:_0x5db2df([0x73,0x69,0x67]),[_0x5db2df([0x63,0x72,0x76])]:_0x5db2df([0x50,0x2d,0x32,0x35,0x36]),[_0x5db2df([0x78])]:_0x5db2df([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5db2df([0x79])]:_0x5db2df([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5db2df([0x61,0x6c,0x67])]:_0x5db2df([0x45,0x53,0x32,0x35,0x36])},_0x5daab7=_0x3af88d[_0x5db2df([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5db2df([0x67,0x65,0x74])](_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x122b76(){let _0x1047ee,_0x2bcf80=null,_0x5ef985=null;try{if(_0x5daab7==_0x5db2df([0x47,0x50,0x4c]))return _0x5db2df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1047ee=_0x26519d(),!_0x1047ee)return _0x5db2df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1047ee[_0x5db2df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ef985=_0x2951c4(_0x1047ee[_0x5db2df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1047ee[_0x5db2df([0x6a,0x74,0x69])])),await _0x140d34()?_0x11f45d()?_0x4129eb()?_0x5db2df([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17de88()?(_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5db2df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bcf80=_0x5d5e1b(_0x5db2df([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5db2df([0x74,0x72,0x69,0x61,0x6c])&&(_0x2bcf80=_0x5d5e1b(_0x5db2df([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x377835()):_0x5db2df([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5db2df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5db2df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5db2df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4129eb(){const _0x284fad=[_0x5db2df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5db2df([0x74,0x72,0x69,0x61,0x6c])][_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46d345/0x3e8:0xe10*_0x1970e7;return _0x1047ee[_0x5db2df([0x65,0x78,0x70])]<_0x284fad;}function _0x11f45d(){const _0x35a26b=_0x1047ee[_0x5db2df([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35a26b&&(!!_0x35a26b[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db2df([0x2a]))||!!_0x35a26b[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db2df([0x55,0x50,0x4c,0x43])));}function _0x17de88(){const _0x3df018=_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3df018||0x0==_0x3df018[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3603db}=new URL(window[_0x5db2df([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3df018[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3603db))return!0x0;const _0x1b17e5=_0x3603db[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e]));return _0x3df018[_0x5db2df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x586d37=>_0x586d37[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db2df([0x2a])))[_0x5db2df([0x6d,0x61,0x70])](_0x14440f=>_0x14440f[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e])))[_0x5db2df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x510674=>_0x510674[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b17e5[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5db2df([0x6d,0x61,0x70])](_0x5d90bf=>Array(_0x1b17e5[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d90bf[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5db2df([0x66,0x69,0x6c,0x6c])](_0x5d90bf[0x0]===_0x5db2df([0x2a])?_0x5db2df([0x2a]):'')[_0x5db2df([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d90bf))[_0x5db2df([0x73,0x6f,0x6d,0x65])](_0x473aad=>_0x1b17e5[_0x5db2df([0x65,0x76,0x65,0x72,0x79])]((_0x228800,_0x14bc3f)=>_0x473aad[_0x14bc3f]===_0x228800||_0x473aad[_0x14bc3f]===_0x5db2df([0x2a])));}function _0x377835(){return _0x2bcf80&&_0x5ef985?new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ebee3,_0x30a571)=>{_0x2bcf80[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x4ebee3,_0x30a571),_0x5ef985[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x226941=>{_0x226941!=_0x5db2df([0x56,0x61,0x6c,0x69,0x64])&&_0x4ebee3(_0x226941);},_0x30a571);}):_0x2bcf80||_0x5ef985||_0x5db2df([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2951c4(_0x4d5814,_0x362f1b){return new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d31d1=>{if(_0x3e204a())return _0x3d31d1(_0x5db2df([0x56,0x61,0x6c,0x69,0x64]));_0x2d9558(),_0x3af88d[_0x5db2df([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5db2df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55e702=!0x1;const _0x15c761=_0x59b5d4();function _0x3e7f79(_0x30314a){return!!_0x30314a&&(typeof _0x30314a===_0x5db2df([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30314a===_0x5db2df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30314a[_0x5db2df([0x74,0x68,0x65,0x6e])]===_0x5db2df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30314a[_0x5db2df([0x63,0x61,0x74,0x63,0x68])]===_0x5db2df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x268c7c(_0x5c2a15){_0xcdfbb0(_0x5c2a15)[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x2c8ef4=>{if(!_0x2c8ef4||_0x2c8ef4[_0x5db2df([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5db2df([0x6f,0x6b]))return _0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b27b0(_0x98e514(_0x15c761+_0x362f1b))!=_0x2c8ef4[_0x5db2df([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5db2df([0x56,0x61,0x6c,0x69,0x64]);})[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x2ed3c8=>(_0x421dc3(),_0x2ed3c8),()=>{const _0x3578eb=_0x31ef40();return null==_0x3578eb?(_0x421dc3(),_0x5db2df([0x56,0x61,0x6c,0x69,0x64])):_0x5db2df(_0x46d345-_0x3578eb>(0x7753083a^_0x2e0a4c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x3d31d1)[_0x5db2df([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d31d1(_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47862c=0x536962ba^_0x2e0a4c;function _0x421dc3(){const _0x3858bf=_0x5db2df([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b27b0(_0x98e514(_0x4d5814)),_0x16b25e=_0x49abcf(_0x4b27b0(window[_0x5db2df([0x4d,0x61,0x74,0x68])][_0x5db2df([0x63,0x65,0x69,0x6c])](_0x46d345/_0x47862c)));window[_0x5db2df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5db2df([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3858bf,_0x16b25e);}function _0x31ef40(){const _0x168162=_0x5db2df([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b27b0(_0x98e514(_0x4d5814)),_0x384662=window[_0x5db2df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5db2df([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168162);return _0x384662?window[_0x5db2df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49abcf(_0x384662),0x10)*_0x47862c:null;}function _0xcdfbb0(_0x211b76){return new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16af4a,_0x400cee)=>{_0x211b76[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x16af4a,_0x400cee),window[_0x5db2df([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x400cee,0x535e58fa^_0x2e0a4c);});}}_0x3af88d[_0x5db2df([0x6f,0x6e])](_0x5db2df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x201387,_0x2e96ac)=>{if(_0x2e96ac[0x0]!=_0x4d5814)return _0x3d31d1(_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e96ac[0x1]={..._0x2e96ac[0x1],[_0x5db2df([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15c761};},{[_0x5db2df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5db2df([0x68,0x69,0x67,0x68])}),_0x3af88d[_0x5db2df([0x6f,0x6e])](_0x5db2df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc7e460=>{_0x3e7f79(_0xc7e460[_0x5db2df([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55e702=!0x0,_0x268c7c(_0xc7e460[_0x5db2df([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5db2df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5db2df([0x6c,0x6f,0x77])}),_0xb53299[_0x5db2df([0x74,0x68,0x65,0x6e])](()=>{_0x55e702||_0x3d31d1(_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e204a(){return _0x3af88d[_0x5db2df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5db2df([0x76,0x69,0x65,0x77])][_0x5db2df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5db2df([0x61,0x75,0x74,0x6f]);}function _0x2d9558(){_0x3af88d[_0x5db2df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5db2df([0x76,0x69,0x65,0x77])][_0x5db2df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5db2df([0x61,0x75,0x74,0x6f]);}}function _0x5d5e1b(_0x30a3f5){const _0x48718f=[new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfed4=>setTimeout(_0x4cfed4,0x5356b2f6^_0x2e0a4c)),_0xb53299[_0x5db2df([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x298613=>{let _0x50559d=0x0;_0x3af88d[_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c])][_0x5db2df([0x6f,0x6e])](_0x5db2df([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39f66e,_0x152a11)=>{_0x152a11[0x0][_0x5db2df([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50559d++,_0x50559d==(0x535f8dc2^_0x2e0a4c)&&(_0x298613(),_0x39f66e[_0x5db2df([0x6f,0x66,0x66])]());});}))];return window[_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5db2df([0x72,0x61,0x63,0x65])](_0x48718f)[_0x5db2df([0x74,0x68,0x65,0x6e])](()=>_0x30a3f5);}async function _0x5674b7(){await _0xb53299,_0x3af88d[_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c])][_0x5db2df([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e9b2c,_0x3af88d[_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c])][_0x5db2df([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e9b2c,_0x3af88d[_0x5db2df([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x553bd8(_0x414779){const _0x14d5b4=_0x55615f();_0x3af88d[_0x14d5b4]=_0x5db2df([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x414779,_0x414779!=_0x5db2df([0x56,0x61,0x6c,0x69,0x64])&&_0x5674b7();}function _0x55615f(){const _0x368ad9=window[_0x5db2df([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5db2df([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5db2df([0x6e,0x6f,0x77])]())[_0x5db2df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5db2df([0x2e]),'');let _0x4cdc32=_0x5db2df([0x68]);for(let _0x24ba2c=0x0;_0x24ba2c<_0x368ad9[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24ba2c+=0x2){let _0x8f05c=window[_0x5db2df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x368ad9[_0x5db2df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24ba2c,_0x24ba2c+0x2));_0x8f05c>=_0x413e38[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8f05c-=_0x413e38[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4cdc32+=_0x413e38[_0x8f05c];}return _0x4cdc32;}function _0x26519d(){const _0x3f5a1b=_0x5daab7[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e]));if(0x3!=_0x3f5a1b[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33ec90(_0x3f5a1b[0x1]);function _0x33ec90(_0x59f7d1){const _0x4dbe11=_0x6f13e(_0x59f7d1);return _0x4dbe11&&_0x207761()?_0x4dbe11:null;function _0x207761(){const _0x171188=_0x4dbe11[_0x5db2df([0x6a,0x74,0x69])],_0x17888b=window[_0x5db2df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x171188[_0x5db2df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x171188[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1698e3={..._0x4dbe11,[_0x5db2df([0x6a,0x74,0x69])]:_0x171188[_0x5db2df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x171188[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1698e3[_0x5db2df([0x76,0x63])],_0x98e514(_0x1698e3)==_0x17888b;}}}async function _0x140d34(){let _0x3359ef=!0x0;try{const _0x483f02=_0x5daab7[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e])),[_0x2aa9c4,_0xf19fe0,_0x5246d8]=_0x483f02;return _0x596c14(_0x2aa9c4),await _0x2d13a4(_0x2aa9c4,_0xf19fe0,_0x5246d8),_0x3359ef;}catch{return!0x1;}function _0x596c14(_0x2ff60f){const _0x415458=_0x6f13e(_0x2ff60f);_0x415458&&_0x415458[_0x5db2df([0x61,0x6c,0x67])]==_0x5db2df([0x45,0x53,0x32,0x35,0x36])||(_0x3359ef=!0x1);}async function _0x2d13a4(_0x2e332d,_0xbbafdd,_0xccc5d0){const _0x28d75d=window[_0x5db2df([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5db2df([0x66,0x72,0x6f,0x6d])](_0x56da40(_0xccc5d0),_0x22c38f=>_0x22c38f[_0x5db2df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35acd1=new window[(_0x5db2df([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5db2df([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e332d+_0x5db2df([0x2e])+_0xbbafdd),_0x176690=window[_0x5db2df([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5db2df([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x176690)return;const _0x4c9ef3=await _0x176690[_0x5db2df([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5db2df([0x6a,0x77,0x6b]),_0x43bf02,{[_0x5db2df([0x6e,0x61,0x6d,0x65])]:_0x5db2df([0x45,0x43,0x44,0x53,0x41]),[_0x5db2df([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5db2df([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5db2df([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x176690[_0x5db2df([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5db2df([0x6e,0x61,0x6d,0x65])]:_0x5db2df([0x45,0x43,0x44,0x53,0x41]),[_0x5db2df([0x68,0x61,0x73,0x68])]:{[_0x5db2df([0x6e,0x61,0x6d,0x65])]:_0x5db2df([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c9ef3,_0x28d75d,_0x35acd1)||(_0x3359ef=!0x1);}}function _0x6f13e(_0x29fd2e){return _0x29fd2e[_0x5db2df([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5db2df([0x65,0x79]))?JSON[_0x5db2df([0x70,0x61,0x72,0x73,0x65])](_0x56da40(_0x29fd2e)):null;}function _0x56da40(_0x330eaf){return window[_0x5db2df([0x61,0x74,0x6f,0x62])](_0x330eaf[_0x5db2df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5db2df([0x2b]))[_0x5db2df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5db2df([0x2f])));}function _0x98e514(_0x1db9bb){let _0x357d89=0x1505;function _0x4160db(_0x28f24e){for(let _0x4681ff=0x0;_0x4681ff<_0x28f24e[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4681ff++){const _0x4719f5=_0x28f24e[_0x5db2df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4681ff);_0x357d89=(_0x357d89<<0x5)+_0x357d89+_0x4719f5,_0x357d89&=_0x357d89;}}function _0x1dc639(_0x26dd6f){Array[_0x5db2df([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26dd6f)?_0x26dd6f[_0x5db2df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dc639):_0x26dd6f&&typeof _0x26dd6f==_0x5db2df([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5db2df([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26dd6f)[_0x5db2df([0x73,0x6f,0x72,0x74])]()[_0x5db2df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2abec8,_0xa097fe])=>{_0x4160db(_0x2abec8),_0x1dc639(_0xa097fe);}):_0x4160db(window[_0x5db2df([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26dd6f));}return _0x1dc639(_0x1db9bb),_0x357d89>>>0x0;}function _0x4b27b0(_0x47b3cd){return _0x47b3cd[_0x5db2df([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5db2df([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5db2df([0x30]));}function _0x49abcf(_0x5e1c3b){return _0x5e1c3b[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5db2df([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5db2df([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e9b2c(){}function _0x5db2df(_0x5d1f89){return _0x5d1f89['map'](_0x47edda=>String['fromCharCode'](_0x47edda))['join']('');}_0x553bd8(await _0x122b76());}(this);}['_initSchema'](){const _0x8781d2=this['editor']['model']['schema'];_0x8781d2['isRegistered']('imageBlock')&&_0x8781d2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x8781d2['isRegistered']('imageInline')&&_0x8781d2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x39c477=this['editor'];_0x39c477['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x39c477['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x104828=>_0x104828['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x42f817=_0x39c477['commands']['get']('replaceImageSource');_0x42f817&&this['listenTo'](_0x42f817,'cleanupImage',(_0x816dd8,[_0xe6bbd5,_0x111eb6])=>{_0xe6bbd5['removeAttribute']('uploadcareImageId',_0x111eb6);});}['_initConfig'](){const _0x100ce4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x194c26=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1fae8b(_0x435ac1['document'],'uc-config',{..._0x100ce4,'pubkey':_0x194c26,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x562f9a=>{if('closeMax'==_0x562f9a)return'#uc-icon-arrow-down';},_0x435ac1['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1fae8b(_0x435ac1['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x435ac1['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x14dcec=this['editor']['commands']['get']('insertImage');_0x14dcec&&this['listenTo'](_0x14dcec,'execute',()=>{const _0x60bed4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x60bed4&&_0x60bed4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x60bed4);});});const _0x1172a1=this['editor']['commands']['get']('uploadcareImageReplace');_0x1172a1&&this['listenTo'](_0x1172a1,'execute',()=>{const _0x44e55a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x44e55a&&_0x44e55a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x44e55a);});});}}class tt extends _0x48785e{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5b2c8d){super(_0x5b2c8d),_0x5b2c8d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x39dffe['defineComponents'](_0x39dffe),this['_defineLocale']();}['_defineLocale'](){const _0x353eba=this['editor']['config']['get']('uploadcare.locale'),_0x33ebf4=this['editor']['locale']['contentLanguage'];_0x353eba&&_0x39dffe['defineLocale'](_0x33ebf4,_0x353eba);}}class ii extends _0x201534{constructor(_0x4c2474){super(_0x4c2474);const t=_0x4c2474['t'],_0x3eb021=this['bindTemplate'],_0x4b1587=new _0x1fcde2();_0x4b1587['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x4b1587,{'text':_0x3eb021['to']('imageUploadProgress',_0x4d7937=>t('Loading\x20image...')+'\x20('+(_0x4d7937||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x201534{constructor(_0x5b2e98){super(_0x5b2e98);const t=_0x5b2e98['t'];this['set']('errorType',null);const _0x5f789a=new _0xdcb460(_0x5b2e98);_0x5f789a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5f789a['withText']=!0x0,_0x5f789a['class']='ck-button-action',_0x5f789a['on']('execute',()=>{this['fire']('retry');}),_0x5f789a['bind']('isVisible')['to'](this,'errorType',_0x587818=>'NotFound'!==_0x587818);const _0x2a977e=new _0x56876d();_0x2a977e['content']=_0x3283e0,_0x2a977e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x51e7b7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2a977e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x51e7b7['to']('errorType',_0x8c7aef=>t('NotFound'!==_0x8c7aef?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5f789a]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x201534{constructor(_0x46b214,_0x2eb9f4){super(_0x46b214);const _0xb3eae8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2eb9f4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xb3eae8['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x49ecec,_0x31c80f,_0x43a290){super(_0x49ecec),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x49ecec),this['_errorView']=new ti(_0x49ecec),this['_editingView']=new ei(_0x49ecec,_0x43a290),this['_focusableView']=new _0x201534(_0x49ecec),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x31c80f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0xdf3b68=>{this['_addUploadcareImageEditorListeners'](_0xdf3b68);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x3e92db,_0x3cfb11){const _0xd62071='uc-cloud-image-editor',_0x38926f=_0x3e92db['querySelector'](_0xd62071);if(_0x38926f)return _0x3cfb11(_0x38926f);const _0x3f7a69=new MutationObserver(_0x13ffdf=>{const _0x344d58=_0x13ffdf['filter'](_0x52f0e3=>_0x52f0e3['target']===_0x3e92db&&_0x52f0e3['addedNodes']['length']>0x0&&_0x52f0e3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xd62071);_0x344d58['length']&&(_0x3f7a69['disconnect'](),_0x3cfb11(_0x344d58[0x0]['addedNodes'][0x0]));});_0x3f7a69['observe'](_0x3e92db,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2c4a53){_0x2c4a53['addEventListener']('apply',_0x24bff6=>{this['fire']('apply',{'imageSrc':_0x24bff6['detail']['cdnUrl']});}),_0x2c4a53['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x5bc8a7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1f61f6,_0x51fffb,_0xfaac34){super(),this['_editor']=_0x1f61f6,this['_dialog']=_0x51fffb,this['_imageElement']=_0xfaac34,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0xbe57a8=this['_imageElement'],_0x320c04=_0xbe57a8['getAttribute']('uploadcareImageId'),_0x369e5f=_0xbe57a8['getAttribute']('src');if(_0x320c04)await this['_loadImageInfo'](_0x320c04,_0x369e5f);else{if(this['_imageCache']['has'](_0x369e5f)){const _0x5e976d=this['_imageCache']['get'](_0x369e5f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e976d['url'],this['imageDimension']=_0x5e976d['dimension'],this['imageId']=_0x5e976d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5ae17e}=this['_editor'],t=_0x5ae17e['t'],_0x27444c=new X(_0x5ae17e,this['imageStatus'],this['_attributes']);_0x27444c['bind']('status')['to'](this,'imageStatus'),_0x27444c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x27444c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x27444c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x27444c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x55b258,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x27444c,'position':_0x22cd58['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x27444c['focus']();},'onHide':()=>{_0x27444c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58491f=>!M(_0x58491f,_0x27444c['element'])}});}['_loadImageInfo'](_0x21e51e,_0xa21505){return j['getInfo'](_0x21e51e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4c6f34=>{const {width:_0x5dd080,height:_0x3fd5c3}=_0x4c6f34['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa21505,this['imageDimension']={'width':_0x5dd080,'height':_0x3fd5c3},this['imageId']=_0x21e51e;})['catch'](_0x411eeb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x411eeb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5525a2,_0x59df41){return this['_getImageAsFile'](_0x5525a2)['then'](_0x1e8414=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x59df41['signal'],'file':_0x1e8414,'onProgress':_0x569f7a=>{_0x569f7a&&_0x569f7a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x569f7a['value']));}}))['then'](_0x333baf=>{const {width:_0x5402af,height:_0x299ae7}=_0x333baf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x333baf['cdnUrl'],this['imageDimension']={'width':_0x5402af,'height':_0x299ae7},this['imageId']=_0x333baf['uuid'],this['imageUploadProgress']=null;const _0x3d895d=_0x5525a2['getAttribute']('src');this['_imageCache']['set'](_0x3d895d,{'id':_0x333baf['uuid'],'url':_0x333baf['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x45df9a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45df9a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x385b8d,_0x16e2a8){_0x385b8d['on']('apply',(_0x1e3816,_0x3b5bf7)=>{this['_replaceImage'](_0x16e2a8,_0x3b5bf7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x385b8d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x385b8d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4bb24b,_0x43dda0,_0x114d75){const _0x12db99=this['_editor'],{width:_0x4ed820,height:_0x237201}=F(_0x43dda0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2fb094,imageSources:_0x597c58}=C(_0x43dda0,_0x4ed820);_0x12db99['model']['change'](_0x25a742=>{if('$graveyard'===_0x4bb24b['root']['rootName']){_0x12db99['execute']('insertImage',{'imageType':_0x4bb24b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4bb24b['getAttributes']()),'uploadcareImageId':_0x114d75,'src':_0x2fb094,'sources':_0x597c58,'width':_0x4ed820,'height':_0x237201}});const _0x1464a7=_0x4bb24b['getChildren']();_0x4bb24b=_0x12db99['model']['document']['selection']['getSelectedElement']();for(const _0x393496 of _0x1464a7)_0x25a742['append'](_0x25a742['cloneElement'](_0x393496),_0x4bb24b);}else _0x25a742['setSelection'](_0x4bb24b,'on'),_0x12db99['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4bb24b['getAttributes']()),'uploadcareImageId':_0x114d75,'src':_0x2fb094,'sources':_0x597c58,'width':_0x4ed820,'height':_0x237201},_0x4bb24b);_0x25a742['setSelection'](_0x4bb24b,'on');});}async['_getImageAsFile'](_0x4aba9a){const _0x276906=_0x435ac1['window'],_0x1f76c6=_0x435ac1['document']['location']['href'],_0x1af0ce=new _0x276906['URL'](_0x4aba9a['getAttribute']('src'),_0x1f76c6);if('data:'===_0x1af0ce['protocol']){const _0xc65d20=_0x1af0ce['href']['split'](','),_0x1d22cb=_0xc65d20[0x0]['match'](/:(.*?);/)[0x1],_0x2968ca=_0x1d22cb['split']('/')[0x1],_0x54e74d=_0x276906['atob'](_0xc65d20[_0xc65d20['length']-0x1]);let _0x5b49c9=_0x54e74d['length'];const _0x471e7c=new _0x276906['Uint8Array'](_0x5b49c9);for(;_0x5b49c9--;)_0x471e7c[_0x5b49c9]=_0x54e74d['charCodeAt'](_0x5b49c9);return new _0x276906['File']([_0x471e7c],'image.'+_0x2968ca,{'type':_0x1d22cb});}const _0x26953d=_0x1af0ce['href']['split']('/'),_0x1bb8a6=_0x26953d[_0x26953d['length']-0x1],_0x368976=_0x1bb8a6['split']('.')[0x1];return _0x276906['fetch'](_0x1af0ce['href'])['then'](_0x42a97b=>_0x42a97b['clone']()['blob']())['then'](_0xc64f86=>new _0x276906['File']([_0xc64f86],_0x1bb8a6,{'type':'image/'+_0x368976}));}}class N extends _0x42bd53{['imageEditController'];static get['requires'](){return[_0x356bd9];}['_isEditable'];constructor(_0x42378f){super(_0x42378f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x564d70){const _0x2c1e3a=R(_0x564d70);return _0x9453d2=>!(!_0x9453d2||!_0x9453d2['is']('element','imageBlock')&&!_0x9453d2['is']('element','imageInline'))&&(!!_0x9453d2['hasAttribute']('uploadcareImageId')||!!_0x9453d2['hasAttribute']('src')&&_0x2c1e3a(_0x9453d2['getAttribute']('src')));}(_0x42378f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x34a167=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x34a167);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x556d62=this['editor']['model']['document']['selection']['getSelectedElement']();_0x556d62&&(_0x556d62['is']('element','imageBlock')||_0x556d62['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x356bd9),_0x556d62),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x42bd53{['refresh'](){const _0x59fa90=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x59fa90&&(_0x59fa90['is']('element','imageBlock')||_0x59fa90['is']('element','imageInline')));}['execute'](_0x4480b8){const _0x33642=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x815aa2=>{_0x815aa2['setAttributes'](_0x4480b8,_0x33642),_0x815aa2['removeAttribute']('srcset',_0x33642),_0x815aa2['removeAttribute']('sizes',_0x33642);});}}class m extends _0x48785e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1373f0,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x73b6fa}=this;_0x73b6fa['commands']['add']('uploadcareImageEdit',new N(_0x73b6fa)),_0x73b6fa['commands']['add']('uploadcareImageReplace',new O(_0x73b6fa));}}class g extends _0x48785e{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x466823=this['editor'];_0x466823['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4dab93=>{const _0x396648=_0x466823['commands']['get']('uploadcareImageEdit'),_0x4119fa=new _0xdcb460(_0x4dab93),t=_0x4dab93['t'];return _0x4119fa['set']({'icon':_0x55b258,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4119fa['bind']('isEnabled')['to'](_0x396648),_0x4119fa['bind']('isOn')['to'](_0x396648,'isActive'),this['listenTo'](_0x4119fa,'execute',()=>{_0x466823['execute']('uploadcareImageEdit'),_0x466823['editing']['view']['focus']();}),_0x4119fa;}),this['_initConfig']();}['_initConfig'](){const _0x384692=_0x1fae8b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x384692),this['listenTo'](this['editor'],'destroy',()=>{_0x384692['remove']();});}}class et extends _0x48785e{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -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':_0x318695=>0x1!=_0x318695}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x344fea=>0x1!=_0x344fea}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f8811=>{const {af:{dictionary:_0x59d2a5,getPluralForm:_0x79ff69}}={'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':_0x471a18=>0x1!=_0x471a18}};_0x2f8811['af']||={'dictionary':{},'getPluralForm':null},_0x2f8811['af']['dictionary']=Object['assign'](_0x2f8811['af']['dictionary'],_0x59d2a5),_0x2f8811['af']['getPluralForm']=_0x79ff69;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5c8c24=>{const {af:{dictionary:_0x2ad4b0,getPluralForm:_0x124c9e}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x44438e=>0x1!=_0x44438e}};_0x5c8c24['af']||={'dictionary':{},'getPluralForm':null},_0x5c8c24['af']['dictionary']=Object['assign'](_0x5c8c24['af']['dictionary'],_0x2ad4b0),_0x5c8c24['af']['getPluralForm']=_0x124c9e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x3c1c29=>0x0==_0x3c1c29?0x0:0x1==_0x3c1c29?0x1:0x2==_0x3c1c29?0x2:_0x3c1c29%0x64>=0x3&&_0x3c1c29%0x64<=0xa?0x3:_0x3c1c29%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':_0x48dc94=>0x0==_0x48dc94?0x0:0x1==_0x48dc94?0x1:0x2==_0x48dc94?0x2:_0x48dc94%0x64>=0x3&&_0x48dc94%0x64<=0xa?0x3:_0x48dc94%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ebf97=>{const {ar:{dictionary:_0x34e8f8,getPluralForm:_0x4f8b82}}={'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':_0x5694d3=>0x0==_0x5694d3?0x0:0x1==_0x5694d3?0x1:0x2==_0x5694d3?0x2:_0x5694d3%0x64>=0x3&&_0x5694d3%0x64<=0xa?0x3:_0x5694d3%0x64>=0xb?0x4:0x5}};_0x5ebf97['ar']||={'dictionary':{},'getPluralForm':null},_0x5ebf97['ar']['dictionary']=Object['assign'](_0x5ebf97['ar']['dictionary'],_0x34e8f8),_0x5ebf97['ar']['getPluralForm']=_0x4f8b82;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x6aa844=>{const {ar:{dictionary:_0x3bebf6,getPluralForm:_0x4a1108}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x4c62c2=>0x0==_0x4c62c2?0x0:0x1==_0x4c62c2?0x1:0x2==_0x4c62c2?0x2:_0x4c62c2%0x64>=0x3&&_0x4c62c2%0x64<=0xa?0x3:_0x4c62c2%0x64>=0xb?0x4:0x5}};_0x6aa844['ar']||={'dictionary':{},'getPluralForm':null},_0x6aa844['ar']['dictionary']=Object['assign'](_0x6aa844['ar']['dictionary'],_0x3bebf6),_0x6aa844['ar']['getPluralForm']=_0x4a1108;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x32fa60=>0x1!=_0x32fa60}};
23
+ export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x9b5ae2=>0x1!=_0x9b5ae2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x176e91=>{const {ast:{dictionary:_0x4eb8a6,getPluralForm:_0x1612eb}}={'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':_0x4ae321=>0x1!=_0x4ae321}};_0x176e91['ast']||={'dictionary':{},'getPluralForm':null},_0x176e91['ast']['dictionary']=Object['assign'](_0x176e91['ast']['dictionary'],_0x4eb8a6),_0x176e91['ast']['getPluralForm']=_0x1612eb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x21eb84=>{const {ast:{dictionary:_0x406634,getPluralForm:_0x2679d6}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x56b47c=>0x1!=_0x56b47c}};_0x21eb84['ast']||={'dictionary':{},'getPluralForm':null},_0x21eb84['ast']['dictionary']=Object['assign'](_0x21eb84['ast']['dictionary'],_0x406634),_0x21eb84['ast']['getPluralForm']=_0x2679d6;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x30582c=>0x1!=_0x30582c}};
23
+ export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4631b1=>0x1!=_0x4631b1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x206606=>{const {az:{dictionary:_0x3dcc58,getPluralForm:_0x5e33c6}}={'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':_0x21af0b=>0x1!=_0x21af0b}};_0x206606['az']||={'dictionary':{},'getPluralForm':null},_0x206606['az']['dictionary']=Object['assign'](_0x206606['az']['dictionary'],_0x3dcc58),_0x206606['az']['getPluralForm']=_0x5e33c6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x287e6a=>{const {az:{dictionary:_0x18cd4a,getPluralForm:_0x689c72}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1fb90b=>0x1!=_0x1fb90b}};_0x287e6a['az']||={'dictionary':{},'getPluralForm':null},_0x287e6a['az']['dictionary']=Object['assign'](_0x287e6a['az']['dictionary'],_0x18cd4a),_0x287e6a['az']['getPluralForm']=_0x689c72;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x5c048b=>_0x5c048b%0xa==0x1&&_0x5c048b%0x64!=0xb?0x0:_0x5c048b%0xa>=0x2&&_0x5c048b%0xa<=0x4&&(_0x5c048b%0x64<0xa||_0x5c048b%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':_0x4e17c5=>_0x4e17c5%0xa==0x1&&_0x4e17c5%0x64!=0xb?0x0:_0x4e17c5%0xa>=0x2&&_0x4e17c5%0xa<=0x4&&(_0x4e17c5%0x64<0xa||_0x4e17c5%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c3a4b=>{const {be:{dictionary:_0x386243,getPluralForm:_0x1326bd}}={'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':_0x21261f=>_0x21261f%0xa==0x1&&_0x21261f%0x64!=0xb?0x0:_0x21261f%0xa>=0x2&&_0x21261f%0xa<=0x4&&(_0x21261f%0x64<0xa||_0x21261f%0x64>=0x14)?0x1:0x2}};_0x4c3a4b['be']||={'dictionary':{},'getPluralForm':null},_0x4c3a4b['be']['dictionary']=Object['assign'](_0x4c3a4b['be']['dictionary'],_0x386243),_0x4c3a4b['be']['getPluralForm']=_0x1326bd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2ca625=>{const {be:{dictionary:_0x1f844e,getPluralForm:_0x5ea811}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5e901f=>_0x5e901f%0xa==0x1&&_0x5e901f%0x64!=0xb?0x0:_0x5e901f%0xa>=0x2&&_0x5e901f%0xa<=0x4&&(_0x5e901f%0x64<0xa||_0x5e901f%0x64>=0x14)?0x1:0x2}};_0x2ca625['be']||={'dictionary':{},'getPluralForm':null},_0x2ca625['be']['dictionary']=Object['assign'](_0x2ca625['be']['dictionary'],_0x1f844e),_0x2ca625['be']['getPluralForm']=_0x5ea811;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x49aa69=>0x1!=_0x49aa69}};
23
+ export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x1408cf=>0x1!=_0x1408cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x15f74a=>{const {bg:{dictionary:_0x179fda,getPluralForm:_0x2d22b1}}={'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':_0x1a5dfe=>0x1!=_0x1a5dfe}};_0x15f74a['bg']||={'dictionary':{},'getPluralForm':null},_0x15f74a['bg']['dictionary']=Object['assign'](_0x15f74a['bg']['dictionary'],_0x179fda),_0x15f74a['bg']['getPluralForm']=_0x2d22b1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x251c52=>{const {bg:{dictionary:_0x4344da,getPluralForm:_0x345be3}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x2d13f7=>0x1!=_0x2d13f7}};_0x251c52['bg']||={'dictionary':{},'getPluralForm':null},_0x251c52['bg']['dictionary']=Object['assign'](_0x251c52['bg']['dictionary'],_0x4344da),_0x251c52['bg']['getPluralForm']=_0x345be3;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x2ed49e=>0x1!=_0x2ed49e}};
23
+ export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x4e25a8=>0x1!=_0x4e25a8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x14088c=>{const {bn:{dictionary:_0x385ccb,getPluralForm:_0x52f789}}={'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':_0x5004c5=>0x1!=_0x5004c5}};_0x14088c['bn']||={'dictionary':{},'getPluralForm':null},_0x14088c['bn']['dictionary']=Object['assign'](_0x14088c['bn']['dictionary'],_0x385ccb),_0x14088c['bn']['getPluralForm']=_0x52f789;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3f555d=>{const {bn:{dictionary:_0x4ef435,getPluralForm:_0x172fb1}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x1525b3=>0x1!=_0x1525b3}};_0x3f555d['bn']||={'dictionary':{},'getPluralForm':null},_0x3f555d['bn']['dictionary']=Object['assign'](_0x3f555d['bn']['dictionary'],_0x4ef435),_0x3f555d['bn']['getPluralForm']=_0x172fb1;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x1e992d=>_0x1e992d%0xa==0x1&&_0x1e992d%0x64!=0xb?0x0:_0x1e992d%0xa>=0x2&&_0x1e992d%0xa<=0x4&&(_0x1e992d%0x64<0xa||_0x1e992d%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':_0x2839dd=>_0x2839dd%0xa==0x1&&_0x2839dd%0x64!=0xb?0x0:_0x2839dd%0xa>=0x2&&_0x2839dd%0xa<=0x4&&(_0x2839dd%0x64<0xa||_0x2839dd%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x8b1741=>{const {bs:{dictionary:_0x10cecd,getPluralForm:_0x13fdad}}={'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':_0x34b881=>_0x34b881%0xa==0x1&&_0x34b881%0x64!=0xb?0x0:_0x34b881%0xa>=0x2&&_0x34b881%0xa<=0x4&&(_0x34b881%0x64<0xa||_0x34b881%0x64>=0x14)?0x1:0x2}};_0x8b1741['bs']||={'dictionary':{},'getPluralForm':null},_0x8b1741['bs']['dictionary']=Object['assign'](_0x8b1741['bs']['dictionary'],_0x10cecd),_0x8b1741['bs']['getPluralForm']=_0x13fdad;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22e7ef=>{const {bs:{dictionary:_0x5ec0ba,getPluralForm:_0x550bd1}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x510088=>_0x510088%0xa==0x1&&_0x510088%0x64!=0xb?0x0:_0x510088%0xa>=0x2&&_0x510088%0xa<=0x4&&(_0x510088%0x64<0xa||_0x510088%0x64>=0x14)?0x1:0x2}};_0x22e7ef['bs']||={'dictionary':{},'getPluralForm':null},_0x22e7ef['bs']['dictionary']=Object['assign'](_0x22e7ef['bs']['dictionary'],_0x5ec0ba),_0x22e7ef['bs']['getPluralForm']=_0x550bd1;})(window['CKEDITOR_TRANSLATIONS']||={});