@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260126.0 → 0.0.0-nightly-20260127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4e36d6,Command as _0xa26275}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x936201,IconGooglePhotos as _0x1199e0,IconGoogleDrive as _0x42f870,IconFacebook as _0x451d08,IconDropbox as _0x87c1e,IconUploadcareLink as _0x2a8dd4,IconUploadcareImageUpload as _0x3e1f6d,IconError as _0x32d279,IconUploadcareImageEdit as _0x1cf45c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2139ff,MenuBarMenuListItemButtonView as _0x20f871,View as _0x34b2af,FocusCycler as _0x3dce7a,Dialog as _0x23e26a,DialogViewPosition as _0x23f2d8,SpinnerView as _0x58820d,IconView as _0x1445a4,Notification as _0x358433}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x352ca2,DomEmitterMixin as _0xe39373,global as _0x1216dd,getAncestors as _0x2555df,ObservableMixin as _0x5c098a,uid as _0x21535b,createElement as _0x48ab9a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x12cbb0}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x514606,info as _0x53bf61}from'@uploadcare/upload-client';import*as _0x326677 from'@uploadcare/file-uploader';var i=function(_0x5f129a){return _0x5f129a['Local']='local',_0x5f129a['URL']='url',_0x5f129a['Dropbox']='dropbox',_0x5f129a['GDrive']='gdrive',_0x5f129a['Facebook']='facebook',_0x5f129a['GPhotos']='gphotos',_0x5f129a['OneDrive']='onedrive',_0x5f129a;}({});function _(_0x12e397,_0x2407c3,_0x36740c){const t=_0x12e397['t'],_0xc9dbe4=_0x12e397['t'];switch(_0x2407c3){case i['Local']:return{'text':_0xc9dbe4('Insert'===_0x36740c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xc9dbe4('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x36740c?_0xc9dbe4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xc9dbe4('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x36740c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x36740c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x36740c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x36740c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x36740c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2407c3;}}class e extends _0x4e36d6{['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 _0xcec58a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5bb7ed;for(const _0x2aab5c in _0xcec58a){const _0x455777=_0x2aab5c,_0x399530=_0xcec58a[_0x455777];if('uploadcareLicenseKeyValid'==_0x399530||'uploadcareLicenseKeyInvalid'==_0x399530||'uploadcareLicenseKeyExpired'==_0x399530||'uploadcareLicenseKeyDomainLimit'==_0x399530||'uploadcareLicenseKeyNotAllowed'==_0x399530||'uploadcareLicenseKeyEvaluationLimit'==_0x399530||'uploadcareLicenseKeyUsageLimit'==_0x399530){delete _0xcec58a[_0x455777],_0x5bb7ed=_0x399530,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5bb7ed&&_0xcec58a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5bb7ed&&_0xcec58a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5bb7ed&&_0xcec58a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5bb7ed&&_0xcec58a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5bb7ed&&_0xcec58a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5bb7ed&&_0xcec58a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x40ed1e}=this,_0x4da251=_0x40ed1e['commands']['get']('uploadcare');if(!_0x4da251)return;const _0x3a3d16=this['_normalizeConfigSourceList'](_0x40ed1e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5f024d,_0x52f744)=>{const _0x332f80=this['_getIntegrationKey'](_0x52f744['type']);return _0x5f024d[_0x332f80]||(_0x5f024d[_0x332f80]=[]),_0x5f024d[_0x332f80]['push'](_0x52f744),_0x5f024d;},{});_0x40ed1e['plugins']['has']('ImageInsertUI')&&_0x40ed1e['commands']['get']('uploadcare')&&Object['entries'](_0x3a3d16)['forEach'](([_0x1f2ec2,_0x2c6d43])=>{_0x40ed1e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1f2ec2,'observable':()=>_0x4da251,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2c6d43),'formViewCreator':()=>this['_createDropdownButtons'](_0x2c6d43),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2c6d43),'override':'assetManager'!==_0x1f2ec2});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x51d6dd){const {locale:_0x236033}=this['editor'];return _0x51d6dd['map'](_0x54d2d1=>{const _0xaaa83=_(_0x236033,_0x54d2d1,'Insert');switch(_0x54d2d1){case i['Local']:return{'icon':_0x3e1f6d,'type':i['Local'],..._0xaaa83};case i['URL']:return{'icon':_0x2a8dd4,'type':i['URL'],..._0xaaa83};case i['Dropbox']:return{'icon':_0x87c1e,'type':i['Dropbox'],..._0xaaa83};case i['Facebook']:return{'icon':_0x451d08,'type':i['Facebook'],..._0xaaa83};case i['GDrive']:return{'icon':_0x42f870,'type':i['GDrive'],..._0xaaa83};case i['GPhotos']:return{'icon':_0x1199e0,'type':i['GPhotos'],..._0xaaa83};case i['OneDrive']:return{'icon':_0x936201,'type':i['OneDrive'],..._0xaaa83};}});}['_getIntegrationKey'](_0x4c9378){switch(_0x4c9378){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3d51a7,_0x47526c){const _0x4dd221=this['editor'],_0x3cec9f=new _0x3d51a7(_0x4dd221['locale']),_0x203005=_0x4dd221['commands']['get']('uploadcare');return _0x3cec9f['bind']('isEnabled')['to'](_0x203005),_0x3cec9f['on']('execute',()=>{_0x203005['execute'](_0x47526c);}),_0x3cec9f;}['_createToolbarButton'](_0x36df98){const {locale:_0x5f18a2}=this['editor'],_0x4e8e5a=this['editor']['plugins']['get']('ImageInsertUI'),_0x58a9d1=_0x36df98[0x0],_0x5d53aa=this['_createButton'](_0x2139ff,_0x58a9d1['type']);return _0x5d53aa['icon']=_0x58a9d1['icon'],_0x5d53aa['bind']('label')['to'](_0x4e8e5a,'isImageSelected',_0x471b0e=>_(_0x5f18a2,_0x58a9d1['type'],_0x471b0e?'Replace':'Insert')['text']),_0x5d53aa['tooltip']=!0x0,_0x5d53aa;}['_createDropdownButtons'](_0x337419){const {locale:_0x402d0f}=this['editor'],_0x278211=this['editor']['plugins']['get']('ImageInsertUI');return _0x337419['map'](_0x498eef=>{const _0x414162=this['_createButton'](_0x2139ff,_0x498eef['type']);return _0x414162['withText']=!0x0,_0x414162['icon']=_0x498eef['icon'],_0x414162['bind']('label')['to'](_0x278211,'isImageSelected',_0x4e5156=>_(_0x402d0f,_0x498eef['type'],_0x4e5156?'Replace':'Insert')['text']),_0x414162;});}['_createMenuBarButtons'](_0x5195a7){return _0x5195a7['map'](_0x4c68d7=>{const _0x1cbfd6=this['_createButton'](_0x20f871,_0x4c68d7['type']);return _0x1cbfd6['icon']=_0x4c68d7['icon'],_0x1cbfd6['label']=_0x4c68d7['shortText'],_0x1cbfd6;});}}class F extends _0x34b2af{['focusTracker'];['focusCycler'];constructor(_0x54e5ae){super(_0x54e5ae),this['focusTracker']=new _0x352ca2(),this['focusCycler']=new _0x3dce7a({'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(_0x49e92c,_0x3e6dcc){super(_0x49e92c),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-'+_0x3e6dcc}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x1b157f,_0x371d59){const _0x24ad6a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xc121ac=>_0xc121ac<=_0x371d59)['map'](_0x480e5b=>_0x1b157f['replace'](/\/$/,'')+'/-/resize/'+_0x480e5b+'x/\x20'+_0x480e5b+'w');return{'imageFallbackUrl':_0x1b157f,'imageSources':[{'srcset':_0x24ad6a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x371d59+'px)\x20100vw,\x20'+_0x371d59+'px','type':'image/webp'}]};}function S(_0x5349dd,_0x554dc0,_0x3d8f23){const _0x6e6f4b=_0x5349dd['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x6e6f4b?parseInt(_0x6e6f4b[0x1],0xa):_0x554dc0,'height':_0x6e6f4b?parseInt(_0x6e6f4b[0x2],0xa):_0x3d8f23};}function p(_0x3731b0,_0x3147dc){const _0xb09eef=new(_0xe39373())(),_0x1aaa2a=_0x3731b0['plugins']['get']('ImageUtils'),_0x56e286=_0x3731b0['editing']['mapper']['toViewElement'](_0x3147dc),_0x4dbe08=_0x1aaa2a['findViewImgElement'](_0x56e286),_0x3932ce=_0x3731b0['editing']['view']['domConverter']['viewToDom'](_0x4dbe08),_0x1e703c=_0x3147dc['getAttribute']('width'),_0x18013f=_0x3147dc['getAttribute']('height'),_0x25efc3='image-processing';_0x3731b0['editing']['view']['change'](_0x74309=>{_0x74309['addClass'](_0x25efc3,_0x56e286),_0x74309['setStyle']('aspect-ratio',_0x1e703c+'/'+_0x18013f,_0x4dbe08);}),_0xb09eef['listenTo'](_0x3932ce,'load',()=>{_0xb09eef['stopListening'](_0x3932ce,'load'),_0x3731b0['editing']['view']['change'](_0x399f93=>{_0x399f93['removeClass'](_0x25efc3,_0x56e286),_0x399f93['removeStyle']('aspect-ratio',_0x4dbe08);});});}function G(_0x1d0898){if(Array['isArray'](_0x1d0898)){const _0x217f58=_0x1d0898['map'](G);return _0x1b8327=>_0x217f58['some'](_0xa25392=>_0xa25392(_0x1b8327));}if('origin'==_0x1d0898){const _0x1aa990=_0x1216dd['window']['location']['origin'];return _0x3a3d58=>new URL(_0x3a3d58,_0x1216dd['document']['baseURI'])['origin']==_0x1aa990;}return'function'==typeof _0x1d0898?_0x1d0898:_0x1d0898 instanceof RegExp?_0x5827a0=>!(!_0x5827a0['match'](_0x1d0898)&&!_0x5827a0['replace'](/^https?:\/\//,'')['match'](_0x1d0898)):()=>!0x1;}function A(_0x53e9aa,_0x28f547){return _0x2555df(_0x53e9aa['target'])['includes'](_0x28f547);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5c098a(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xe855b7,_0x2f13ad,_0x1b1c22){super(),this['_editor']=_0xe855b7,this['_editing']=_0x2f13ad,this['_dialog']=_0xe855b7['plugins']['get'](_0x23e26a),this['_api']=_0x2f13ad['ctxElement']['getAPI'](),this['_type']=_0x1b1c22,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:_0x178387,model:_0x1f33d2}=this['_editor'],_0x4c0a67=_0x1f33d2['document']['selection']['getSelectedElement'](),_0x147730=_0x4c0a67&&(_0x4c0a67['is']('element','imageBlock')||_0x4c0a67['is']('element','imageInline'));this['_formView']=new x(_0x178387,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3e1f6d,'title':_(_0x178387,this['_type'],_0x147730?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x23f2d8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1a20c6=>!A(_0x1a20c6,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2911f5}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x37b8d9=>{const _0x2c18fb=_0x2911f5['length'];for(const _0x3e7472 of _0x2911f5){const _0x4c8545=_0x3e7472===_0x2911f5[_0x2c18fb-0x1],{cdnUrl:_0x3255df,fileInfo:_0x1d6985}=_0x3e7472;if(!_0x3255df||!_0x1d6985)continue;const {width:_0x333b35,height:_0x5910ce}=_0x1d6985['imageInfo'],_0x4c130c=S(_0x3255df,_0x333b35,_0x5910ce),_0x5a2662=C(_0x3255df,_0x4c130c['width']),_0x2885c3={'id':_0x1d6985['uuid'],'type':'image','attributes':{'imageDimension':_0x4c130c,..._0x5a2662}};this['_insertAsset'](_0x2885c3,_0x4c8545,_0x37b8d9);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xa4e824=>{'idle'===_0xa4e824['detail']['status']&&!_0xa4e824['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x53d63a,_0x504c49,_0x106007){const _0x13c3fb=this['_editor']['model']['document']['selection'],_0x33fcf4=_0x13c3fb['getSelectedElement'](),_0x41066a=!(!_0x33fcf4||!_0x33fcf4['is']('element','imageInline'));_0x106007['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x53d63a,_0x41066a),_0x504c49||_0x106007['setSelection'](_0x13c3fb['getLastPosition']());}['_insertImage'](_0x1c7273,_0x173e6c){const _0x58d542=this['_editor'],{imageDimension:_0x6fc29d,imageFallbackUrl:_0x53d415,imageSources:_0x362b77}=_0x1c7273['attributes'];_0x58d542['execute']('insertImage',{'imageType':_0x173e6c?'imageInline':null,'source':{'uploadcareImageId':_0x1c7273['id'],'src':_0x53d415,'sources':_0x362b77,..._0x6fc29d}});}}class w extends _0xa26275{['_editing'];['_controller']=null;static get['requires'](){return[_0x23e26a,o];}constructor(_0x216c49){super(_0x216c49),this['_editing']=_0x216c49['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2cb2b1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2cb2b1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5dcef3,..._0x5de23e}){return _0x514606(_0x5dcef3,_0x5de23e);}static['getInfo'](_0x4425e1,_0x269b7c){return _0x53bf61(_0x4425e1,_0x269b7c);}}class f extends _0x4e36d6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x12cbb0,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x53338a=this['editor'];if(!!!_0x53338a['config']['get']('uploadcare'))return;_0x53338a['plugins']['get'](_0x12cbb0)['createUploadAdapter']=_0x754c9=>new k(_0x754c9,_0x53338a),_0x53338a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x57311b,{imageElement:_0x4a80a3,data:_0x4b083a})=>{_0x53338a['model']['change'](_0x2ec295=>{_0x2ec295['setAttribute']('uploadcareImageId',_0x4b083a['uploadcareImageId'],_0x4a80a3);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x191184,_0x462c04){this['loader']=_0x191184,this['editor']=_0x462c04,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4c37f9=await this['loader']['file'];return j['upload']({'file':_0x4c37f9,'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':_0x3db206=>{_0x3db206&&_0x3db206['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3db206['value']);}})['then'](async _0x3ed85b=>{const {imageFallbackUrl:_0x539264,imageSources:_0x9722a2}=C(_0x3ed85b['cdnUrl'],_0x3ed85b['imageInfo']['width']);return{'uploadcareImageId':_0x3ed85b['uuid'],'default':_0x539264,'sources':_0x9722a2};})['catch'](()=>{const _0x29aee9=t('Cannot\x20upload\x20file:')+('\x20'+_0x4c37f9['name']+'.');return Promise['reject'](_0x29aee9);});}['abort'](){this['controller']['abort']();}}class o extends _0x4e36d6{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x23e26a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x416cbb){super(_0x416cbb),this['ucContextId']=_0x21535b();}['init'](){const _0x228d87=this['editor'];_0x228d87['commands']['add']('uploadcare',new w(_0x228d87));}['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 _0x30c2fa=_0x1216dd['document']['querySelector']('input[uploadcare-file-input]');_0x30c2fa&&_0x30c2fa['remove']();}),async function(_0x57f90f){const _0x2be5fb=_0x572923([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]),_0x525cb3=0x535f8c3a,_0x57056d=0x5358f3d2^_0x525cb3,_0x58f5ce=window[_0x572923([0x44,0x61,0x74,0x65])][_0x572923([0x6e,0x6f,0x77])](),_0x96f420=_0x57f90f[_0x572923([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x53eb26=new window[(_0x572923([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cd929=>{_0x96f420[_0x572923([0x6f,0x6e,0x63,0x65])](_0x572923([0x72,0x65,0x61,0x64,0x79]),_0x2cd929);}),_0x43eedc={[_0x572923([0x6b,0x74,0x79])]:_0x572923([0x45,0x43]),[_0x572923([0x75,0x73,0x65])]:_0x572923([0x73,0x69,0x67]),[_0x572923([0x63,0x72,0x76])]:_0x572923([0x50,0x2d,0x32,0x35,0x36]),[_0x572923([0x78])]:_0x572923([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]),[_0x572923([0x79])]:_0x572923([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]),[_0x572923([0x61,0x6c,0x67])]:_0x572923([0x45,0x53,0x32,0x35,0x36])},_0x589138=_0x96f420[_0x572923([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x572923([0x67,0x65,0x74])](_0x572923([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d8970(){let _0xa42722,_0x40a8a5=null,_0x1362d4=null;try{if(_0x589138==_0x572923([0x47,0x50,0x4c]))return _0x572923([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa42722=_0x15cc93(),!_0xa42722)return _0x572923([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa42722[_0x572923([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1362d4=_0x557062(_0xa42722[_0x572923([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa42722[_0x572923([0x6a,0x74,0x69])])),await _0x429ba4()?_0x2ee020()?_0x39d839()?_0x572923([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17b441()?(_0xa42722[_0x572923([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572923([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40a8a5=_0x4bdd6c(_0x572923([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ea2cd()):_0x572923([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x572923([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x572923([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x572923([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39d839(){const _0x414f12=[_0x572923([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x572923([0x74,0x72,0x69,0x61,0x6c])][_0x572923([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa42722[_0x572923([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x58f5ce/0x3e8:0xe10*_0x57056d;return _0xa42722[_0x572923([0x65,0x78,0x70])]<_0x414f12;}function _0x2ee020(){const _0x3c6436=_0xa42722[_0x572923([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c6436&&(!!_0x3c6436[_0x572923([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572923([0x2a]))||!!_0x3c6436[_0x572923([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572923([0x55,0x50,0x4c,0x43])));}function _0x17b441(){const _0xb3cb1b=_0xa42722[_0x572923([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb3cb1b||0x0==_0xb3cb1b[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x353a05}=new URL(window[_0x572923([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb3cb1b[_0x572923([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x353a05))return!0x0;const _0xe57c36=_0x353a05[_0x572923([0x73,0x70,0x6c,0x69,0x74])](_0x572923([0x2e]));return _0xb3cb1b[_0x572923([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe5c387=>_0xe5c387[_0x572923([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572923([0x2a])))[_0x572923([0x6d,0x61,0x70])](_0x1d3477=>_0x1d3477[_0x572923([0x73,0x70,0x6c,0x69,0x74])](_0x572923([0x2e])))[_0x572923([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x558c73=>_0x558c73[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe57c36[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x572923([0x6d,0x61,0x70])](_0x3c86c7=>Array(_0xe57c36[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c86c7[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x572923([0x66,0x69,0x6c,0x6c])](_0x3c86c7[0x0]===_0x572923([0x2a])?_0x572923([0x2a]):'')[_0x572923([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c86c7))[_0x572923([0x73,0x6f,0x6d,0x65])](_0x33a778=>_0xe57c36[_0x572923([0x65,0x76,0x65,0x72,0x79])]((_0x6efb,_0x52b421)=>_0x33a778[_0x52b421]===_0x6efb||_0x33a778[_0x52b421]===_0x572923([0x2a])));}function _0x2ea2cd(){return _0x40a8a5&&_0x1362d4?new window[(_0x572923([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35fc25,_0x502738)=>{_0x40a8a5[_0x572923([0x74,0x68,0x65,0x6e])](_0x35fc25,_0x502738),_0x1362d4[_0x572923([0x74,0x68,0x65,0x6e])](_0x29fd4e=>{_0x29fd4e!=_0x572923([0x56,0x61,0x6c,0x69,0x64])&&_0x35fc25(_0x29fd4e);},_0x502738);}):_0x40a8a5||_0x1362d4||_0x572923([0x56,0x61,0x6c,0x69,0x64]);}}function _0x557062(_0x49d56b,_0x40823e){return new window[(_0x572923([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x431cfe=>{if(_0x12fb41())return _0x431cfe(_0x572923([0x56,0x61,0x6c,0x69,0x64]));_0x47cd8c(),_0x96f420[_0x572923([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x572923([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b3f77=!0x1;const _0x631c3a=_0x21535b();function _0x4f1605(_0x54b1fa){return!!_0x54b1fa&&(typeof _0x54b1fa===_0x572923([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54b1fa===_0x572923([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54b1fa[_0x572923([0x74,0x68,0x65,0x6e])]===_0x572923([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54b1fa[_0x572923([0x63,0x61,0x74,0x63,0x68])]===_0x572923([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x268d7e(_0x2f8240){_0x138e93(_0x2f8240)[_0x572923([0x74,0x68,0x65,0x6e])](_0x37344b=>{if(!_0x37344b||_0x37344b[_0x572923([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x572923([0x6f,0x6b]))return _0x572923([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ef1a5(_0x2f861e(_0x631c3a+_0x40823e))!=_0x37344b[_0x572923([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x572923([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x572923([0x56,0x61,0x6c,0x69,0x64]);})[_0x572923([0x74,0x68,0x65,0x6e])](_0x1031aa=>(_0x32272b(),_0x1031aa),()=>{const _0x177f36=_0x36159c();return null==_0x177f36?(_0x32272b(),_0x572923([0x56,0x61,0x6c,0x69,0x64])):_0x572923(_0x58f5ce-_0x177f36>(0x7753083a^_0x525cb3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x572923([0x74,0x68,0x65,0x6e])](_0x431cfe)[_0x572923([0x63,0x61,0x74,0x63,0x68])](()=>{_0x431cfe(_0x572923([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e5693=0x536962ba^_0x525cb3;function _0x32272b(){const _0x2c3251=_0x572923([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ef1a5(_0x2f861e(_0x49d56b)),_0xa2d7b9=_0x38de67(_0x3ef1a5(window[_0x572923([0x4d,0x61,0x74,0x68])][_0x572923([0x63,0x65,0x69,0x6c])](_0x58f5ce/_0x2e5693)));window[_0x572923([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572923([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c3251,_0xa2d7b9);}function _0x36159c(){const _0x54206d=_0x572923([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ef1a5(_0x2f861e(_0x49d56b)),_0x4970aa=window[_0x572923([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572923([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54206d);return _0x4970aa?window[_0x572923([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38de67(_0x4970aa),0x10)*_0x2e5693:null;}function _0x138e93(_0x468415){return new window[(_0x572923([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x441ef5,_0x46631d)=>{_0x468415[_0x572923([0x74,0x68,0x65,0x6e])](_0x441ef5,_0x46631d),window[_0x572923([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46631d,0x535e58fa^_0x525cb3);});}}_0x96f420[_0x572923([0x6f,0x6e])](_0x572923([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49e1ed,_0x4c79de)=>{if(_0x4c79de[0x0]!=_0x49d56b)return _0x431cfe(_0x572923([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c79de[0x1]={..._0x4c79de[0x1],[_0x572923([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x631c3a};},{[_0x572923([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572923([0x68,0x69,0x67,0x68])}),_0x96f420[_0x572923([0x6f,0x6e])](_0x572923([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x467546=>{_0x4f1605(_0x467546[_0x572923([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b3f77=!0x0,_0x268d7e(_0x467546[_0x572923([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x572923([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572923([0x6c,0x6f,0x77])}),_0x53eb26[_0x572923([0x74,0x68,0x65,0x6e])](()=>{_0x2b3f77||_0x431cfe(_0x572923([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12fb41(){return _0x96f420[_0x572923([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572923([0x76,0x69,0x65,0x77])][_0x572923([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x572923([0x61,0x75,0x74,0x6f]);}function _0x47cd8c(){_0x96f420[_0x572923([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572923([0x76,0x69,0x65,0x77])][_0x572923([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x572923([0x61,0x75,0x74,0x6f]);}}function _0x4bdd6c(_0x391c9e){const _0x550e46=[new window[(_0x572923([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33061c=>setTimeout(_0x33061c,0x5356b2f6^_0x525cb3)),_0x53eb26[_0x572923([0x74,0x68,0x65,0x6e])](()=>new window[(_0x572923([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f916e=>{let _0x4756b4=0x0;_0x96f420[_0x572923([0x6d,0x6f,0x64,0x65,0x6c])][_0x572923([0x6f,0x6e])](_0x572923([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x112f83,_0x2a1baa)=>{_0x2a1baa[0x0][_0x572923([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4756b4++,_0x4756b4==(0x535f89d2^_0x525cb3)&&(_0x4f916e(),_0x112f83[_0x572923([0x6f,0x66,0x66])]());});}))];return window[_0x572923([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x572923([0x72,0x61,0x63,0x65])](_0x550e46)[_0x572923([0x74,0x68,0x65,0x6e])](()=>_0x391c9e);}async function _0x36eb79(){await _0x53eb26,_0x96f420[_0x572923([0x6d,0x6f,0x64,0x65,0x6c])][_0x572923([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f3438,_0x96f420[_0x572923([0x6d,0x6f,0x64,0x65,0x6c])][_0x572923([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f3438,_0x96f420[_0x572923([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x572923([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xbf0db7(_0x2a45cb){const _0xbaf64b=_0x5d92f2();_0x96f420[_0xbaf64b]=_0x572923([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a45cb,_0x2a45cb!=_0x572923([0x56,0x61,0x6c,0x69,0x64])&&_0x36eb79();}function _0x5d92f2(){const _0x4f4bfe=window[_0x572923([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x572923([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x572923([0x6e,0x6f,0x77])]())[_0x572923([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x572923([0x2e]),'');let _0x14d993=_0x572923([0x68]);for(let _0x2fa962=0x0;_0x2fa962<_0x4f4bfe[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fa962+=0x2){let _0x20cd0e=window[_0x572923([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f4bfe[_0x572923([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fa962,_0x2fa962+0x2));_0x20cd0e>=_0x2be5fb[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20cd0e-=_0x2be5fb[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14d993+=_0x2be5fb[_0x20cd0e];}return _0x14d993;}function _0x15cc93(){const _0x214133=_0x589138[_0x572923([0x73,0x70,0x6c,0x69,0x74])](_0x572923([0x2e]));if(0x3!=_0x214133[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f3ef(_0x214133[0x1]);function _0x3f3ef(_0x2a641c){const _0x2652b5=_0x34c108(_0x2a641c);return _0x2652b5&&_0x426189()?_0x2652b5:null;function _0x426189(){const _0x4344a4=_0x2652b5[_0x572923([0x6a,0x74,0x69])],_0x27515a=window[_0x572923([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4344a4[_0x572923([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4344a4[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x743fbf={..._0x2652b5,[_0x572923([0x6a,0x74,0x69])]:_0x4344a4[_0x572923([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4344a4[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x743fbf[_0x572923([0x76,0x63])],_0x2f861e(_0x743fbf)==_0x27515a;}}}async function _0x429ba4(){let _0x5be9f8=!0x0;try{const _0x19a8b8=_0x589138[_0x572923([0x73,0x70,0x6c,0x69,0x74])](_0x572923([0x2e])),[_0x2b8440,_0x321355,_0x3ad0b9]=_0x19a8b8;return _0x25eff7(_0x2b8440),await _0x586ab8(_0x2b8440,_0x321355,_0x3ad0b9),_0x5be9f8;}catch{return!0x1;}function _0x25eff7(_0x6490f8){const _0x589914=_0x34c108(_0x6490f8);_0x589914&&_0x589914[_0x572923([0x61,0x6c,0x67])]==_0x572923([0x45,0x53,0x32,0x35,0x36])||(_0x5be9f8=!0x1);}async function _0x586ab8(_0x4be8ef,_0x507fa1,_0x2a10e4){const _0x2ceaac=window[_0x572923([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x572923([0x66,0x72,0x6f,0x6d])](_0x435f35(_0x2a10e4),_0x4110fe=>_0x4110fe[_0x572923([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56e4ac=new window[(_0x572923([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x572923([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4be8ef+_0x572923([0x2e])+_0x507fa1),_0x3f9ea7=window[_0x572923([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x572923([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f9ea7)return;const _0x5a6828=await _0x3f9ea7[_0x572923([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x572923([0x6a,0x77,0x6b]),_0x43eedc,{[_0x572923([0x6e,0x61,0x6d,0x65])]:_0x572923([0x45,0x43,0x44,0x53,0x41]),[_0x572923([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x572923([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x572923([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f9ea7[_0x572923([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x572923([0x6e,0x61,0x6d,0x65])]:_0x572923([0x45,0x43,0x44,0x53,0x41]),[_0x572923([0x68,0x61,0x73,0x68])]:{[_0x572923([0x6e,0x61,0x6d,0x65])]:_0x572923([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a6828,_0x2ceaac,_0x56e4ac)||(_0x5be9f8=!0x1);}}function _0x34c108(_0x566d07){return _0x566d07[_0x572923([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x572923([0x65,0x79]))?JSON[_0x572923([0x70,0x61,0x72,0x73,0x65])](_0x435f35(_0x566d07)):null;}function _0x435f35(_0x1c7ad1){return window[_0x572923([0x61,0x74,0x6f,0x62])](_0x1c7ad1[_0x572923([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x572923([0x2b]))[_0x572923([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x572923([0x2f])));}function _0x2f861e(_0x5ebd32){let _0x219640=0x1505;function _0x4ca0f5(_0x15b279){for(let _0x5edc76=0x0;_0x5edc76<_0x15b279[_0x572923([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5edc76++){const _0x1a5a75=_0x15b279[_0x572923([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5edc76);_0x219640=(_0x219640<<0x5)+_0x219640+_0x1a5a75,_0x219640&=_0x219640;}}function _0x33ac2a(_0x111d3c){Array[_0x572923([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x111d3c)?_0x111d3c[_0x572923([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33ac2a):_0x111d3c&&typeof _0x111d3c==_0x572923([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x572923([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x111d3c)[_0x572923([0x73,0x6f,0x72,0x74])]()[_0x572923([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x555b5c,_0x115ec5])=>{_0x4ca0f5(_0x555b5c),_0x33ac2a(_0x115ec5);}):_0x4ca0f5(window[_0x572923([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x111d3c));}return _0x33ac2a(_0x5ebd32),_0x219640>>>0x0;}function _0x3ef1a5(_0x9b0daf){return _0x9b0daf[_0x572923([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x572923([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x572923([0x30]));}function _0x38de67(_0x3d818c){return _0x3d818c[_0x572923([0x73,0x70,0x6c,0x69,0x74])]('')[_0x572923([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x572923([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f3438(){}function _0x572923(_0x293ba5){return _0x293ba5['map'](_0x558d20=>String['fromCharCode'](_0x558d20))['join']('');}_0xbf0db7(await _0x2d8970());}(this);}['_initSchema'](){const _0x167633=this['editor']['model']['schema'];_0x167633['isRegistered']('imageBlock')&&_0x167633['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x167633['isRegistered']('imageInline')&&_0x167633['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1ab328=this['editor'];_0x1ab328['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1ab328['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x8ca9ce=>_0x8ca9ce['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x37eec8=_0x1ab328['commands']['get']('replaceImageSource');_0x37eec8&&this['listenTo'](_0x37eec8,'cleanupImage',(_0x4c3b38,[_0x1874d0,_0x38712e])=>{_0x1874d0['removeAttribute']('uploadcareImageId',_0x38712e);});}['_initConfig'](){const _0x1bc177=this['editor']['config']['get']('uploadcare.uploader')||{},_0x530036=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x48ab9a(_0x1216dd['document'],'uc-config',{..._0x1bc177,'pubkey':_0x530036,'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']=_0x212128=>{if('closeMax'==_0x212128)return'#uc-icon-arrow-down';},_0x1216dd['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x48ab9a(_0x1216dd['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1216dd['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x117909=this['editor']['commands']['get']('insertImage');_0x117909&&this['listenTo'](_0x117909,'execute',()=>{const _0xe2bb3f=this['editor']['model']['document']['selection']['getSelectedElement']();_0xe2bb3f&&_0xe2bb3f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xe2bb3f);});});const _0x155cb8=this['editor']['commands']['get']('uploadcareImageReplace');_0x155cb8&&this['listenTo'](_0x155cb8,'execute',()=>{const _0x44e2c7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x44e2c7&&_0x44e2c7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x44e2c7);});});}}class tt extends _0x4e36d6{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x7e06d8){super(_0x7e06d8),_0x7e06d8['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x326677['defineComponents'](_0x326677),this['_defineLocale']();}['_defineLocale'](){const _0x1cb811=this['editor']['config']['get']('uploadcare.locale'),_0x1fe7bc=this['editor']['locale']['contentLanguage'];_0x1cb811&&_0x326677['defineLocale'](_0x1fe7bc,_0x1cb811);}}class ii extends _0x34b2af{constructor(_0xc62706){super(_0xc62706);const t=_0xc62706['t'],_0x47033d=this['bindTemplate'],_0x5f497a=new _0x58820d();_0x5f497a['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':[_0x5f497a,{'text':_0x47033d['to']('imageUploadProgress',_0x2653fc=>t('Loading\x20image...')+'\x20('+(_0x2653fc||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 _0x34b2af{constructor(_0x55cc7b){super(_0x55cc7b);const t=_0x55cc7b['t'];this['set']('errorType',null);const _0x996e2c=new _0x2139ff(_0x55cc7b);_0x996e2c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x996e2c['withText']=!0x0,_0x996e2c['class']='ck-button-action',_0x996e2c['on']('execute',()=>{this['fire']('retry');}),_0x996e2c['bind']('isVisible')['to'](this,'errorType',_0x5c5e46=>'NotFound'!==_0x5c5e46);const _0x4381e4=new _0x1445a4();_0x4381e4['content']=_0x32d279,_0x4381e4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2f4de1=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':[_0x4381e4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2f4de1['to']('errorType',_0x1b3df3=>t('NotFound'!==_0x1b3df3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x996e2c]},{'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 _0x34b2af{constructor(_0x58ed1f,_0x8c3ab1){super(_0x58ed1f);const _0x1510ce=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x8c3ab1,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1510ce['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x50489e,_0xbd6a6,_0x4ed3cf){super(_0x50489e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x50489e),this['_errorView']=new ti(_0x50489e),this['_editingView']=new ei(_0x50489e,_0x4ed3cf),this['_focusableView']=new _0x34b2af(_0x50489e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xbd6a6),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'],_0x1b4286=>{this['_addUploadcareImageEditorListeners'](_0x1b4286);});}),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'](_0x4ddc51,_0x1e033d){const _0x4cd03c='uc-cloud-image-editor',_0x530104=_0x4ddc51['querySelector'](_0x4cd03c);if(_0x530104)return _0x1e033d(_0x530104);const _0x2a1371=new MutationObserver(_0x233940=>{const _0x2be173=_0x233940['filter'](_0x3bd45c=>_0x3bd45c['target']===_0x4ddc51&&_0x3bd45c['addedNodes']['length']>0x0&&_0x3bd45c['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4cd03c);_0x2be173['length']&&(_0x2a1371['disconnect'](),_0x1e033d(_0x2be173[0x0]['addedNodes'][0x0]));});_0x2a1371['observe'](_0x4ddc51,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2ced31){_0x2ced31['addEventListener']('apply',_0x1e03fb=>{this['fire']('apply',{'imageSrc':_0x1e03fb['detail']['cdnUrl']});}),_0x2ced31['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5c098a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x460268,_0x52d492,_0xd880e){super(),this['_editor']=_0x460268,this['_dialog']=_0x52d492,this['_imageElement']=_0xd880e,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 _0x2fcf2e=this['_imageElement'],_0x25fd57=_0x2fcf2e['getAttribute']('uploadcareImageId'),_0x2095c1=_0x2fcf2e['getAttribute']('src');if(_0x25fd57)await this['_loadImageInfo'](_0x25fd57,_0x2095c1);else{if(this['_imageCache']['has'](_0x2095c1)){const _0x26cb46=this['_imageCache']['get'](_0x2095c1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26cb46['url'],this['imageDimension']=_0x26cb46['dimension'],this['imageId']=_0x26cb46['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x42315e}=this['_editor'],t=_0x42315e['t'],_0x4d59ad=new X(_0x42315e,this['imageStatus'],this['_attributes']);_0x4d59ad['bind']('status')['to'](this,'imageStatus'),_0x4d59ad['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4d59ad['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4d59ad['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4d59ad,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1cf45c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4d59ad,'position':_0x23f2d8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4d59ad['focus']();},'onHide':()=>{_0x4d59ad['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x572946=>!A(_0x572946,_0x4d59ad['element'])}});}['_loadImageInfo'](_0x42cf35,_0x3c0e00){return j['getInfo'](_0x42cf35,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5ad934=>{const {width:_0xf2e3ce,height:_0x2a28d6}=_0x5ad934['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c0e00,this['imageDimension']={'width':_0xf2e3ce,'height':_0x2a28d6},this['imageId']=_0x42cf35;})['catch'](_0x165c6f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x165c6f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x9c8f37,_0x4956d7){return this['_getImageAsFile'](_0x9c8f37)['then'](_0x53bb59=>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':_0x4956d7['signal'],'file':_0x53bb59,'onProgress':_0x3bd880=>{_0x3bd880&&_0x3bd880['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3bd880['value']));}}))['then'](_0x59dcc7=>{const {width:_0x5b34b8,height:_0x5d3076}=_0x59dcc7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59dcc7['cdnUrl'],this['imageDimension']={'width':_0x5b34b8,'height':_0x5d3076},this['imageId']=_0x59dcc7['uuid'],this['imageUploadProgress']=null;const _0xd44fdc=_0x9c8f37['getAttribute']('src');this['_imageCache']['set'](_0xd44fdc,{'id':_0x59dcc7['uuid'],'url':_0x59dcc7['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x21ad65=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x21ad65['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1a7dfa,_0x34c3ad){_0x1a7dfa['on']('apply',(_0x521368,_0x3bad4b)=>{this['_replaceImage'](_0x34c3ad,_0x3bad4b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1a7dfa['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1a7dfa['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x256f05,_0x38f1b7,_0x31a671){const _0x192603=this['_editor'],{width:_0x58aa4f,height:_0x3eaf9c}=S(_0x38f1b7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x109efe,imageSources:_0x33d329}=C(_0x38f1b7,_0x58aa4f);_0x192603['model']['change'](_0x4155b6=>{if('$graveyard'===_0x256f05['root']['rootName']){_0x192603['execute']('insertImage',{'imageType':_0x256f05['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x256f05['getAttributes']()),'uploadcareImageId':_0x31a671,'src':_0x109efe,'sources':_0x33d329,'width':_0x58aa4f,'height':_0x3eaf9c}});const _0x4a6bca=_0x256f05['getChildren']();_0x256f05=_0x192603['model']['document']['selection']['getSelectedElement']();for(const _0x5a6edd of _0x4a6bca)_0x4155b6['append'](_0x4155b6['cloneElement'](_0x5a6edd),_0x256f05);}else _0x4155b6['setSelection'](_0x256f05,'on'),_0x192603['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x256f05['getAttributes']()),'uploadcareImageId':_0x31a671,'src':_0x109efe,'sources':_0x33d329,'width':_0x58aa4f,'height':_0x3eaf9c},_0x256f05);_0x4155b6['setSelection'](_0x256f05,'on');});}async['_getImageAsFile'](_0x1bd397){const _0x55ee98=_0x1216dd['window'],_0x359421=_0x1216dd['document']['location']['href'],_0x158ec5=new _0x55ee98['URL'](_0x1bd397['getAttribute']('src'),_0x359421);if('data:'===_0x158ec5['protocol']){const _0x1c2da5=_0x158ec5['href']['split'](','),_0x17d555=_0x1c2da5[0x0]['match'](/:(.*?);/)[0x1],_0x573192=_0x17d555['split']('/')[0x1],_0x4c63b1=_0x55ee98['atob'](_0x1c2da5[_0x1c2da5['length']-0x1]);let _0x41a0bc=_0x4c63b1['length'];const _0x4bc57e=new _0x55ee98['Uint8Array'](_0x41a0bc);for(;_0x41a0bc--;)_0x4bc57e[_0x41a0bc]=_0x4c63b1['charCodeAt'](_0x41a0bc);return new _0x55ee98['File']([_0x4bc57e],'image.'+_0x573192,{'type':_0x17d555});}const _0x39e692=_0x158ec5['href']['split']('/'),_0x57da30=_0x39e692[_0x39e692['length']-0x1],_0x4d2847=_0x57da30['split']('.')[0x1];return _0x55ee98['fetch'](_0x158ec5['href'])['then'](_0x233e1e=>_0x233e1e['clone']()['blob']())['then'](_0x295aa6=>new _0x55ee98['File']([_0x295aa6],_0x57da30,{'type':'image/'+_0x4d2847}));}}class O extends _0xa26275{['imageEditController'];static get['requires'](){return[_0x23e26a];}['_isEditable'];constructor(_0x36e674){super(_0x36e674),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2853a1){const _0x8b1e28=G(_0x2853a1);return _0x2c1a73=>!(!_0x2c1a73||!_0x2c1a73['is']('element','imageBlock')&&!_0x2c1a73['is']('element','imageInline'))&&(!!_0x2c1a73['hasAttribute']('uploadcareImageId')||!!_0x2c1a73['hasAttribute']('src')&&_0x8b1e28(_0x2c1a73['getAttribute']('src')));}(_0x36e674['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3bd067=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3bd067);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1570e8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1570e8&&(_0x1570e8['is']('element','imageBlock')||_0x1570e8['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x23e26a),_0x1570e8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xa26275{['refresh'](){const _0x4bcbbe=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4bcbbe&&(_0x4bcbbe['is']('element','imageBlock')||_0x4bcbbe['is']('element','imageInline')));}['execute'](_0x14847d){const _0x1325d1=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x587e07=>{_0x587e07['setAttributes'](_0x14847d,_0x1325d1),_0x587e07['removeAttribute']('srcset',_0x1325d1),_0x587e07['removeAttribute']('sizes',_0x1325d1);});}}class m extends _0x4e36d6{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x358433,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x477db9}=this;_0x477db9['commands']['add']('uploadcareImageEdit',new O(_0x477db9)),_0x477db9['commands']['add']('uploadcareImageReplace',new R(_0x477db9));}}class g extends _0x4e36d6{['_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 _0x4504da=this['editor'];_0x4504da['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2b2342=>{const _0x4102e9=_0x4504da['commands']['get']('uploadcareImageEdit'),_0x2aa7a6=new _0x2139ff(_0x2b2342),t=_0x2b2342['t'];return _0x2aa7a6['set']({'icon':_0x1cf45c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2aa7a6['bind']('isEnabled')['to'](_0x4102e9),_0x2aa7a6['bind']('isOn')['to'](_0x4102e9,'isActive'),this['listenTo'](_0x2aa7a6,'execute',()=>{_0x4504da['execute']('uploadcareImageEdit'),_0x4504da['editing']['view']['focus']();}),_0x2aa7a6;}),this['_initConfig']();}['_initConfig'](){const _0x386622=_0x48ab9a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x386622),this['listenTo'](this['editor'],'destroy',()=>{_0x386622['remove']();});}}class et extends _0x4e36d6{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x238df6,Command as _0x312da0}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x483cfd,IconGooglePhotos as _0x4c19e5,IconGoogleDrive as _0x39d050,IconFacebook as _0xe2b073,IconDropbox as _0x515d46,IconUploadcareLink as _0x5e55b6,IconUploadcareImageUpload as _0x47cbe5,IconError as _0x1d8958,IconUploadcareImageEdit as _0x27a4e7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2cfc74,MenuBarMenuListItemButtonView as _0x833790,View as _0x47f667,FocusCycler as _0x1d2dd0,Dialog as _0x42b106,DialogViewPosition as _0x1c055c,SpinnerView as _0x4e861f,IconView as _0x1a8258,Notification as _0x2bbf0b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4452d7,DomEmitterMixin as _0x2cec30,global as _0x5b1a97,getAncestors as _0xd131f8,ObservableMixin as _0x11e7bf,uid as _0x8db982,createElement as _0x57a7a4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3048f1}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x12d506,info as _0xd1c487}from'@uploadcare/upload-client';import*as _0x139334 from'@uploadcare/file-uploader';var i=function(_0x46d971){return _0x46d971['Local']='local',_0x46d971['URL']='url',_0x46d971['Dropbox']='dropbox',_0x46d971['GDrive']='gdrive',_0x46d971['Facebook']='facebook',_0x46d971['GPhotos']='gphotos',_0x46d971['OneDrive']='onedrive',_0x46d971;}({});function _(_0x1ea21c,_0x575518,_0x584d8c){const t=_0x1ea21c['t'],_0x21524c=_0x1ea21c['t'];switch(_0x575518){case i['Local']:return{'text':_0x21524c('Insert'===_0x584d8c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x21524c('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x584d8c?_0x21524c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x21524c('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x584d8c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x584d8c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x584d8c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x584d8c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x584d8c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x575518;}}class e extends _0x238df6{['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 _0x445dd8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x354c67;for(const _0x193c1d in _0x445dd8){const _0x13786f=_0x193c1d,_0x144245=_0x445dd8[_0x13786f];if('uploadcareLicenseKeyValid'==_0x144245||'uploadcareLicenseKeyInvalid'==_0x144245||'uploadcareLicenseKeyExpired'==_0x144245||'uploadcareLicenseKeyDomainLimit'==_0x144245||'uploadcareLicenseKeyNotAllowed'==_0x144245||'uploadcareLicenseKeyEvaluationLimit'==_0x144245||'uploadcareLicenseKeyUsageLimit'==_0x144245){delete _0x445dd8[_0x13786f],_0x354c67=_0x144245,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x354c67&&_0x445dd8['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x354c67&&_0x445dd8['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x354c67&&_0x445dd8['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x354c67&&_0x445dd8['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x354c67&&_0x445dd8['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x354c67&&_0x445dd8['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1f83ea}=this,_0x487f7b=_0x1f83ea['commands']['get']('uploadcare');if(!_0x487f7b)return;const _0x5a3ea5=this['_normalizeConfigSourceList'](_0x1f83ea['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x21c8ff,_0x180da6)=>{const _0x55423a=this['_getIntegrationKey'](_0x180da6['type']);return _0x21c8ff[_0x55423a]||(_0x21c8ff[_0x55423a]=[]),_0x21c8ff[_0x55423a]['push'](_0x180da6),_0x21c8ff;},{});_0x1f83ea['plugins']['has']('ImageInsertUI')&&_0x1f83ea['commands']['get']('uploadcare')&&Object['entries'](_0x5a3ea5)['forEach'](([_0x5c8c40,_0x17fa26])=>{_0x1f83ea['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5c8c40,'observable':()=>_0x487f7b,'buttonViewCreator':()=>this['_createToolbarButton'](_0x17fa26),'formViewCreator':()=>this['_createDropdownButtons'](_0x17fa26),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x17fa26),'override':'assetManager'!==_0x5c8c40});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2b2a1b){const {locale:_0x437789}=this['editor'];return _0x2b2a1b['map'](_0x5c89b5=>{const _0x45153e=_(_0x437789,_0x5c89b5,'Insert');switch(_0x5c89b5){case i['Local']:return{'icon':_0x47cbe5,'type':i['Local'],..._0x45153e};case i['URL']:return{'icon':_0x5e55b6,'type':i['URL'],..._0x45153e};case i['Dropbox']:return{'icon':_0x515d46,'type':i['Dropbox'],..._0x45153e};case i['Facebook']:return{'icon':_0xe2b073,'type':i['Facebook'],..._0x45153e};case i['GDrive']:return{'icon':_0x39d050,'type':i['GDrive'],..._0x45153e};case i['GPhotos']:return{'icon':_0x4c19e5,'type':i['GPhotos'],..._0x45153e};case i['OneDrive']:return{'icon':_0x483cfd,'type':i['OneDrive'],..._0x45153e};}});}['_getIntegrationKey'](_0x25b5d6){switch(_0x25b5d6){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xea95d8,_0x39cb5d){const _0x4bc30e=this['editor'],_0x3feea6=new _0xea95d8(_0x4bc30e['locale']),_0x1b8080=_0x4bc30e['commands']['get']('uploadcare');return _0x3feea6['bind']('isEnabled')['to'](_0x1b8080),_0x3feea6['on']('execute',()=>{_0x1b8080['execute'](_0x39cb5d);}),_0x3feea6;}['_createToolbarButton'](_0x502c74){const {locale:_0x36b75b}=this['editor'],_0x3c2885=this['editor']['plugins']['get']('ImageInsertUI'),_0x55c7d7=_0x502c74[0x0],_0x409447=this['_createButton'](_0x2cfc74,_0x55c7d7['type']);return _0x409447['icon']=_0x55c7d7['icon'],_0x409447['bind']('label')['to'](_0x3c2885,'isImageSelected',_0x148846=>_(_0x36b75b,_0x55c7d7['type'],_0x148846?'Replace':'Insert')['text']),_0x409447['tooltip']=!0x0,_0x409447;}['_createDropdownButtons'](_0x4b3219){const {locale:_0xbcf0ab}=this['editor'],_0x56f7c7=this['editor']['plugins']['get']('ImageInsertUI');return _0x4b3219['map'](_0x4e4f92=>{const _0x15b99a=this['_createButton'](_0x2cfc74,_0x4e4f92['type']);return _0x15b99a['withText']=!0x0,_0x15b99a['icon']=_0x4e4f92['icon'],_0x15b99a['bind']('label')['to'](_0x56f7c7,'isImageSelected',_0x3bdd8a=>_(_0xbcf0ab,_0x4e4f92['type'],_0x3bdd8a?'Replace':'Insert')['text']),_0x15b99a;});}['_createMenuBarButtons'](_0x37e4cf){return _0x37e4cf['map'](_0x12c148=>{const _0x14b175=this['_createButton'](_0x833790,_0x12c148['type']);return _0x14b175['icon']=_0x12c148['icon'],_0x14b175['label']=_0x12c148['shortText'],_0x14b175;});}}class V extends _0x47f667{['focusTracker'];['focusCycler'];constructor(_0x3d9011){super(_0x3d9011),this['focusTracker']=new _0x4452d7(),this['focusCycler']=new _0x1d2dd0({'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(_0x1a1979,_0x482abf){super(_0x1a1979),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-'+_0x482abf}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x285103,_0x1905de){const _0x454b50=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x14f59e=>_0x14f59e<=_0x1905de)['map'](_0xd639c6=>_0x285103['replace'](/\/$/,'')+'/-/resize/'+_0xd639c6+'x/\x20'+_0xd639c6+'w');return{'imageFallbackUrl':_0x285103,'imageSources':[{'srcset':_0x454b50['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1905de+'px)\x20100vw,\x20'+_0x1905de+'px','type':'image/webp'}]};}function F(_0x35067b,_0x371c16,_0x346e9f){const _0x3df941=_0x35067b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3df941?parseInt(_0x3df941[0x1],0xa):_0x371c16,'height':_0x3df941?parseInt(_0x3df941[0x2],0xa):_0x346e9f};}function p(_0x4ea77a,_0x5651e3){const _0x18edb8=new(_0x2cec30())(),_0x3cf35b=_0x4ea77a['plugins']['get']('ImageUtils'),_0x2b93ce=_0x4ea77a['editing']['mapper']['toViewElement'](_0x5651e3),_0x32f799=_0x3cf35b['findViewImgElement'](_0x2b93ce),_0x3c5c69=_0x4ea77a['editing']['view']['domConverter']['viewToDom'](_0x32f799),_0xa8cd6a=_0x5651e3['getAttribute']('width'),_0x445b92=_0x5651e3['getAttribute']('height'),_0x23236c='image-processing';_0x4ea77a['editing']['view']['change'](_0x40a3a2=>{_0x40a3a2['addClass'](_0x23236c,_0x2b93ce),_0x40a3a2['setStyle']('aspect-ratio',_0xa8cd6a+'/'+_0x445b92,_0x32f799);}),_0x18edb8['listenTo'](_0x3c5c69,'load',()=>{_0x18edb8['stopListening'](_0x3c5c69,'load'),_0x4ea77a['editing']['view']['change'](_0x522a5b=>{_0x522a5b['removeClass'](_0x23236c,_0x2b93ce),_0x522a5b['removeStyle']('aspect-ratio',_0x32f799);});});}function R(_0x42ac2e){if(Array['isArray'](_0x42ac2e)){const _0x38d82b=_0x42ac2e['map'](R);return _0x1d942f=>_0x38d82b['some'](_0x858e57=>_0x858e57(_0x1d942f));}if('origin'==_0x42ac2e){const _0x5e588f=_0x5b1a97['window']['location']['origin'];return _0x54f631=>new URL(_0x54f631,_0x5b1a97['document']['baseURI'])['origin']==_0x5e588f;}return'function'==typeof _0x42ac2e?_0x42ac2e:_0x42ac2e instanceof RegExp?_0x4b4745=>!(!_0x4b4745['match'](_0x42ac2e)&&!_0x4b4745['replace'](/^https?:\/\//,'')['match'](_0x42ac2e)):()=>!0x1;}function M(_0x5e3b45,_0x33b94f){return _0xd131f8(_0x5e3b45['target'])['includes'](_0x33b94f);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x11e7bf(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xc4b257,_0x100743,_0x343734){super(),this['_editor']=_0xc4b257,this['_editing']=_0x100743,this['_dialog']=_0xc4b257['plugins']['get'](_0x42b106),this['_api']=_0x100743['ctxElement']['getAPI'](),this['_type']=_0x343734,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:_0x4dadca,model:_0x3d32a2}=this['_editor'],_0x896d84=_0x3d32a2['document']['selection']['getSelectedElement'](),_0x2a67f9=_0x896d84&&(_0x896d84['is']('element','imageBlock')||_0x896d84['is']('element','imageInline'));this['_formView']=new S(_0x4dadca,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x47cbe5,'title':_(_0x4dadca,this['_type'],_0x2a67f9?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1c055c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xde19de=>!M(_0xde19de,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2a1794}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x47f97f=>{const _0x43d65a=_0x2a1794['length'];for(const _0x54cae5 of _0x2a1794){const _0x435e1d=_0x54cae5===_0x2a1794[_0x43d65a-0x1],{cdnUrl:_0x855606,fileInfo:_0x388d6c}=_0x54cae5;if(!_0x855606||!_0x388d6c)continue;const {width:_0x56a5c0,height:_0x97c68d}=_0x388d6c['imageInfo'],_0x4c08e9=F(_0x855606,_0x56a5c0,_0x97c68d),_0x3310f5=C(_0x855606,_0x4c08e9['width']),_0x91f84={'id':_0x388d6c['uuid'],'type':'image','attributes':{'imageDimension':_0x4c08e9,..._0x3310f5}};this['_insertAsset'](_0x91f84,_0x435e1d,_0x47f97f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x48b5b0=>{'idle'===_0x48b5b0['detail']['status']&&!_0x48b5b0['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xf9041f,_0x551d80,_0x30472f){const _0x2de622=this['_editor']['model']['document']['selection'],_0x352524=_0x2de622['getSelectedElement'](),_0x451f91=!(!_0x352524||!_0x352524['is']('element','imageInline'));_0x30472f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xf9041f,_0x451f91),_0x551d80||_0x30472f['setSelection'](_0x2de622['getLastPosition']());}['_insertImage'](_0x9f0561,_0x289f90){const _0x12b051=this['_editor'],{imageDimension:_0x563272,imageFallbackUrl:_0x2cf087,imageSources:_0x49913a}=_0x9f0561['attributes'];_0x12b051['execute']('insertImage',{'imageType':_0x289f90?'imageInline':null,'source':{'uploadcareImageId':_0x9f0561['id'],'src':_0x2cf087,'sources':_0x49913a,..._0x563272}});}}class w extends _0x312da0{['_editing'];['_controller']=null;static get['requires'](){return[_0x42b106,o];}constructor(_0x4c268){super(_0x4c268),this['_editing']=_0x4c268['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5ae5e8){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5ae5e8);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x51cb82,..._0x27434a}){return _0x12d506(_0x51cb82,_0x27434a);}static['getInfo'](_0x28b9b9,_0x13549a){return _0xd1c487(_0x28b9b9,_0x13549a);}}class f extends _0x238df6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3048f1,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x456d2f=this['editor'];if(!!!_0x456d2f['config']['get']('uploadcare'))return;_0x456d2f['plugins']['get'](_0x3048f1)['createUploadAdapter']=_0x446398=>new k(_0x446398,_0x456d2f),_0x456d2f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2607cb,{imageElement:_0x1d6ebb,data:_0x4b91f7})=>{_0x456d2f['model']['change'](_0x4dd92b=>{_0x4dd92b['setAttribute']('uploadcareImageId',_0x4b91f7['uploadcareImageId'],_0x1d6ebb);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x447bab,_0x4196d8){this['loader']=_0x447bab,this['editor']=_0x4196d8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1a787a=await this['loader']['file'];return j['upload']({'file':_0x1a787a,'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':_0x4ea212=>{_0x4ea212&&_0x4ea212['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4ea212['value']);}})['then'](async _0x128498=>{const {imageFallbackUrl:_0x4fac37,imageSources:_0x542cd5}=C(_0x128498['cdnUrl'],_0x128498['imageInfo']['width']);return{'uploadcareImageId':_0x128498['uuid'],'default':_0x4fac37,'sources':_0x542cd5};})['catch'](()=>{const _0x5ac976=t('Cannot\x20upload\x20file:')+('\x20'+_0x1a787a['name']+'.');return Promise['reject'](_0x5ac976);});}['abort'](){this['controller']['abort']();}}class o extends _0x238df6{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x42b106];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x33159f){super(_0x33159f),this['ucContextId']=_0x8db982();}['init'](){const _0x49e704=this['editor'];_0x49e704['commands']['add']('uploadcare',new w(_0x49e704));}['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 _0x4ad416=_0x5b1a97['document']['querySelector']('input[uploadcare-file-input]');_0x4ad416&&_0x4ad416['remove']();}),async function(_0x3f1174){const _0x345f63=_0x435af5([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]),_0x53e3d5=0x535f8c3a,_0x15d814=0x53580c3a^_0x53e3d5,_0x2775af=window[_0x435af5([0x44,0x61,0x74,0x65])][_0x435af5([0x6e,0x6f,0x77])](),_0x120496=_0x3f1174[_0x435af5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28f715=new window[(_0x435af5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a6edb=>{_0x120496[_0x435af5([0x6f,0x6e,0x63,0x65])](_0x435af5([0x72,0x65,0x61,0x64,0x79]),_0x4a6edb);}),_0x594345={[_0x435af5([0x6b,0x74,0x79])]:_0x435af5([0x45,0x43]),[_0x435af5([0x75,0x73,0x65])]:_0x435af5([0x73,0x69,0x67]),[_0x435af5([0x63,0x72,0x76])]:_0x435af5([0x50,0x2d,0x32,0x35,0x36]),[_0x435af5([0x78])]:_0x435af5([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]),[_0x435af5([0x79])]:_0x435af5([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]),[_0x435af5([0x61,0x6c,0x67])]:_0x435af5([0x45,0x53,0x32,0x35,0x36])},_0x431db0=_0x120496[_0x435af5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x435af5([0x67,0x65,0x74])](_0x435af5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x139d29(){let _0x21fd40,_0x28948f=null,_0x25e89b=null;try{if(_0x431db0==_0x435af5([0x47,0x50,0x4c]))return _0x435af5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21fd40=_0x3f2f1f(),!_0x21fd40)return _0x435af5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21fd40[_0x435af5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25e89b=_0xd4539c(_0x21fd40[_0x435af5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21fd40[_0x435af5([0x6a,0x74,0x69])])),await _0x1ec567()?_0x130b97()?_0x1ae52a()?_0x435af5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3dfb26()?(_0x21fd40[_0x435af5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x435af5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28948f=_0x31be82(_0x435af5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b1036()):_0x435af5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x435af5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x435af5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x435af5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ae52a(){const _0x57d51a=[_0x435af5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x435af5([0x74,0x72,0x69,0x61,0x6c])][_0x435af5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21fd40[_0x435af5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2775af/0x3e8:0xe10*_0x15d814;return _0x21fd40[_0x435af5([0x65,0x78,0x70])]<_0x57d51a;}function _0x130b97(){const _0x221f2e=_0x21fd40[_0x435af5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x221f2e&&(!!_0x221f2e[_0x435af5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x435af5([0x2a]))||!!_0x221f2e[_0x435af5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x435af5([0x55,0x50,0x4c,0x43])));}function _0x3dfb26(){const _0x5c08a3=_0x21fd40[_0x435af5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c08a3||0x0==_0x5c08a3[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1427f4}=new URL(window[_0x435af5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c08a3[_0x435af5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1427f4))return!0x0;const _0x1454d9=_0x1427f4[_0x435af5([0x73,0x70,0x6c,0x69,0x74])](_0x435af5([0x2e]));return _0x5c08a3[_0x435af5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x590bea=>_0x590bea[_0x435af5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x435af5([0x2a])))[_0x435af5([0x6d,0x61,0x70])](_0x4a175b=>_0x4a175b[_0x435af5([0x73,0x70,0x6c,0x69,0x74])](_0x435af5([0x2e])))[_0x435af5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a7475=>_0x5a7475[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1454d9[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x435af5([0x6d,0x61,0x70])](_0x387b49=>Array(_0x1454d9[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x387b49[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x435af5([0x66,0x69,0x6c,0x6c])](_0x387b49[0x0]===_0x435af5([0x2a])?_0x435af5([0x2a]):'')[_0x435af5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x387b49))[_0x435af5([0x73,0x6f,0x6d,0x65])](_0x3e0a4d=>_0x1454d9[_0x435af5([0x65,0x76,0x65,0x72,0x79])]((_0x2ebe99,_0x209f3f)=>_0x3e0a4d[_0x209f3f]===_0x2ebe99||_0x3e0a4d[_0x209f3f]===_0x435af5([0x2a])));}function _0x4b1036(){return _0x28948f&&_0x25e89b?new window[(_0x435af5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x430a7a,_0x3e71d7)=>{_0x28948f[_0x435af5([0x74,0x68,0x65,0x6e])](_0x430a7a,_0x3e71d7),_0x25e89b[_0x435af5([0x74,0x68,0x65,0x6e])](_0x343c99=>{_0x343c99!=_0x435af5([0x56,0x61,0x6c,0x69,0x64])&&_0x430a7a(_0x343c99);},_0x3e71d7);}):_0x28948f||_0x25e89b||_0x435af5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd4539c(_0x1f956e,_0x356573){return new window[(_0x435af5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a74d4=>{if(_0x57ceee())return _0x1a74d4(_0x435af5([0x56,0x61,0x6c,0x69,0x64]));_0x748428(),_0x120496[_0x435af5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x435af5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xec5d8b=!0x1;const _0x1f1a24=_0x8db982();function _0x482e5c(_0x408093){return!!_0x408093&&(typeof _0x408093===_0x435af5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x408093===_0x435af5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x408093[_0x435af5([0x74,0x68,0x65,0x6e])]===_0x435af5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x408093[_0x435af5([0x63,0x61,0x74,0x63,0x68])]===_0x435af5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8c7014(_0x3b7cd1){_0x35cb4a(_0x3b7cd1)[_0x435af5([0x74,0x68,0x65,0x6e])](_0x8b4c18=>{if(!_0x8b4c18||_0x8b4c18[_0x435af5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x435af5([0x6f,0x6b]))return _0x435af5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f6586(_0x1cf0c6(_0x1f1a24+_0x356573))!=_0x8b4c18[_0x435af5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x435af5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x435af5([0x56,0x61,0x6c,0x69,0x64]);})[_0x435af5([0x74,0x68,0x65,0x6e])](_0x28dab8=>(_0x188c14(),_0x28dab8),()=>{const _0x4ff93f=_0x2fdc8e();return null==_0x4ff93f?(_0x188c14(),_0x435af5([0x56,0x61,0x6c,0x69,0x64])):_0x435af5(_0x2775af-_0x4ff93f>(0x7753083a^_0x53e3d5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x435af5([0x74,0x68,0x65,0x6e])](_0x1a74d4)[_0x435af5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a74d4(_0x435af5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7bfb56=0x536962ba^_0x53e3d5;function _0x188c14(){const _0x577066=_0x435af5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f6586(_0x1cf0c6(_0x1f956e)),_0x5c32e1=_0x4f27e3(_0x4f6586(window[_0x435af5([0x4d,0x61,0x74,0x68])][_0x435af5([0x63,0x65,0x69,0x6c])](_0x2775af/_0x7bfb56)));window[_0x435af5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x435af5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x577066,_0x5c32e1);}function _0x2fdc8e(){const _0x54d012=_0x435af5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f6586(_0x1cf0c6(_0x1f956e)),_0xf5e638=window[_0x435af5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x435af5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54d012);return _0xf5e638?window[_0x435af5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f27e3(_0xf5e638),0x10)*_0x7bfb56:null;}function _0x35cb4a(_0x47dae8){return new window[(_0x435af5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49725c,_0x47652b)=>{_0x47dae8[_0x435af5([0x74,0x68,0x65,0x6e])](_0x49725c,_0x47652b),window[_0x435af5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47652b,0x535e58fa^_0x53e3d5);});}}_0x120496[_0x435af5([0x6f,0x6e])](_0x435af5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcdbb3e,_0xd478e3)=>{if(_0xd478e3[0x0]!=_0x1f956e)return _0x1a74d4(_0x435af5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd478e3[0x1]={..._0xd478e3[0x1],[_0x435af5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f1a24};},{[_0x435af5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x435af5([0x68,0x69,0x67,0x68])}),_0x120496[_0x435af5([0x6f,0x6e])](_0x435af5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34bb1e=>{_0x482e5c(_0x34bb1e[_0x435af5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xec5d8b=!0x0,_0x8c7014(_0x34bb1e[_0x435af5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x435af5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x435af5([0x6c,0x6f,0x77])}),_0x28f715[_0x435af5([0x74,0x68,0x65,0x6e])](()=>{_0xec5d8b||_0x1a74d4(_0x435af5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57ceee(){return _0x120496[_0x435af5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x435af5([0x76,0x69,0x65,0x77])][_0x435af5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x435af5([0x61,0x75,0x74,0x6f]);}function _0x748428(){_0x120496[_0x435af5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x435af5([0x76,0x69,0x65,0x77])][_0x435af5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x435af5([0x61,0x75,0x74,0x6f]);}}function _0x31be82(_0x499434){const _0x4ac38b=[new window[(_0x435af5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x122e04=>setTimeout(_0x122e04,0x5356b2f6^_0x53e3d5)),_0x28f715[_0x435af5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x435af5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39b7ea=>{let _0x3bc83b=0x0;_0x120496[_0x435af5([0x6d,0x6f,0x64,0x65,0x6c])][_0x435af5([0x6f,0x6e])](_0x435af5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x537da1,_0x53db05)=>{_0x53db05[0x0][_0x435af5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bc83b++,_0x3bc83b==(0x535f89d2^_0x53e3d5)&&(_0x39b7ea(),_0x537da1[_0x435af5([0x6f,0x66,0x66])]());});}))];return window[_0x435af5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x435af5([0x72,0x61,0x63,0x65])](_0x4ac38b)[_0x435af5([0x74,0x68,0x65,0x6e])](()=>_0x499434);}async function _0x3e9bc4(){await _0x28f715,_0x120496[_0x435af5([0x6d,0x6f,0x64,0x65,0x6c])][_0x435af5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f7dde,_0x120496[_0x435af5([0x6d,0x6f,0x64,0x65,0x6c])][_0x435af5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f7dde,_0x120496[_0x435af5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x435af5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x560be7(_0x26a10a){const _0x2de65b=_0xd284ee();_0x120496[_0x2de65b]=_0x435af5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26a10a,_0x26a10a!=_0x435af5([0x56,0x61,0x6c,0x69,0x64])&&_0x3e9bc4();}function _0xd284ee(){const _0x5bc39b=window[_0x435af5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x435af5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x435af5([0x6e,0x6f,0x77])]())[_0x435af5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x435af5([0x2e]),'');let _0x28fc65=_0x435af5([0x68]);for(let _0x445d5d=0x0;_0x445d5d<_0x5bc39b[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x445d5d+=0x2){let _0x5566bd=window[_0x435af5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bc39b[_0x435af5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x445d5d,_0x445d5d+0x2));_0x5566bd>=_0x345f63[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5566bd-=_0x345f63[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28fc65+=_0x345f63[_0x5566bd];}return _0x28fc65;}function _0x3f2f1f(){const _0x443779=_0x431db0[_0x435af5([0x73,0x70,0x6c,0x69,0x74])](_0x435af5([0x2e]));if(0x3!=_0x443779[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x288cbc(_0x443779[0x1]);function _0x288cbc(_0x45de8d){const _0x2b73f2=_0x624d7b(_0x45de8d);return _0x2b73f2&&_0xb25258()?_0x2b73f2:null;function _0xb25258(){const _0x382083=_0x2b73f2[_0x435af5([0x6a,0x74,0x69])],_0x12526a=window[_0x435af5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x382083[_0x435af5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x382083[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fffc1={..._0x2b73f2,[_0x435af5([0x6a,0x74,0x69])]:_0x382083[_0x435af5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x382083[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fffc1[_0x435af5([0x76,0x63])],_0x1cf0c6(_0x4fffc1)==_0x12526a;}}}async function _0x1ec567(){let _0x4e6193=!0x0;try{const _0x1acc80=_0x431db0[_0x435af5([0x73,0x70,0x6c,0x69,0x74])](_0x435af5([0x2e])),[_0x5d5fea,_0x2490d9,_0xb229a3]=_0x1acc80;return _0x4b21e9(_0x5d5fea),await _0x38665f(_0x5d5fea,_0x2490d9,_0xb229a3),_0x4e6193;}catch{return!0x1;}function _0x4b21e9(_0x53f5dd){const _0x598664=_0x624d7b(_0x53f5dd);_0x598664&&_0x598664[_0x435af5([0x61,0x6c,0x67])]==_0x435af5([0x45,0x53,0x32,0x35,0x36])||(_0x4e6193=!0x1);}async function _0x38665f(_0x41e9c8,_0x3da9d0,_0x27f058){const _0x5a58fb=window[_0x435af5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x435af5([0x66,0x72,0x6f,0x6d])](_0x515778(_0x27f058),_0x334145=>_0x334145[_0x435af5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb0db9=new window[(_0x435af5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x435af5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41e9c8+_0x435af5([0x2e])+_0x3da9d0),_0x28c653=window[_0x435af5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x435af5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28c653)return;const _0x3c4c21=await _0x28c653[_0x435af5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x435af5([0x6a,0x77,0x6b]),_0x594345,{[_0x435af5([0x6e,0x61,0x6d,0x65])]:_0x435af5([0x45,0x43,0x44,0x53,0x41]),[_0x435af5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x435af5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x435af5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28c653[_0x435af5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x435af5([0x6e,0x61,0x6d,0x65])]:_0x435af5([0x45,0x43,0x44,0x53,0x41]),[_0x435af5([0x68,0x61,0x73,0x68])]:{[_0x435af5([0x6e,0x61,0x6d,0x65])]:_0x435af5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c4c21,_0x5a58fb,_0xb0db9)||(_0x4e6193=!0x1);}}function _0x624d7b(_0x47206c){return _0x47206c[_0x435af5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x435af5([0x65,0x79]))?JSON[_0x435af5([0x70,0x61,0x72,0x73,0x65])](_0x515778(_0x47206c)):null;}function _0x515778(_0x321948){return window[_0x435af5([0x61,0x74,0x6f,0x62])](_0x321948[_0x435af5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x435af5([0x2b]))[_0x435af5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x435af5([0x2f])));}function _0x1cf0c6(_0x131dc1){let _0x1a4866=0x1505;function _0x5d739a(_0x2359ea){for(let _0x3a77b2=0x0;_0x3a77b2<_0x2359ea[_0x435af5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a77b2++){const _0x36adc5=_0x2359ea[_0x435af5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a77b2);_0x1a4866=(_0x1a4866<<0x5)+_0x1a4866+_0x36adc5,_0x1a4866&=_0x1a4866;}}function _0x450b8d(_0x55fd45){Array[_0x435af5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55fd45)?_0x55fd45[_0x435af5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x450b8d):_0x55fd45&&typeof _0x55fd45==_0x435af5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x435af5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55fd45)[_0x435af5([0x73,0x6f,0x72,0x74])]()[_0x435af5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2db047,_0xe5db64])=>{_0x5d739a(_0x2db047),_0x450b8d(_0xe5db64);}):_0x5d739a(window[_0x435af5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55fd45));}return _0x450b8d(_0x131dc1),_0x1a4866>>>0x0;}function _0x4f6586(_0x5824cf){return _0x5824cf[_0x435af5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x435af5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x435af5([0x30]));}function _0x4f27e3(_0x2aebb2){return _0x2aebb2[_0x435af5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x435af5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x435af5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f7dde(){}function _0x435af5(_0x2a96b0){return _0x2a96b0['map'](_0x5f27cf=>String['fromCharCode'](_0x5f27cf))['join']('');}_0x560be7(await _0x139d29());}(this);}['_initSchema'](){const _0x5af17c=this['editor']['model']['schema'];_0x5af17c['isRegistered']('imageBlock')&&_0x5af17c['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5af17c['isRegistered']('imageInline')&&_0x5af17c['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x25e230=this['editor'];_0x25e230['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x25e230['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4c492d=>_0x4c492d['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2c7b87=_0x25e230['commands']['get']('replaceImageSource');_0x2c7b87&&this['listenTo'](_0x2c7b87,'cleanupImage',(_0x35af9d,[_0x58e04a,_0x439b81])=>{_0x58e04a['removeAttribute']('uploadcareImageId',_0x439b81);});}['_initConfig'](){const _0x2090bd=this['editor']['config']['get']('uploadcare.uploader')||{},_0x177de6=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x57a7a4(_0x5b1a97['document'],'uc-config',{..._0x2090bd,'pubkey':_0x177de6,'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']=_0x5cf5de=>{if('closeMax'==_0x5cf5de)return'#uc-icon-arrow-down';},_0x5b1a97['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x57a7a4(_0x5b1a97['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5b1a97['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4c3885=this['editor']['commands']['get']('insertImage');_0x4c3885&&this['listenTo'](_0x4c3885,'execute',()=>{const _0x51b88a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x51b88a&&_0x51b88a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x51b88a);});});const _0x5c97da=this['editor']['commands']['get']('uploadcareImageReplace');_0x5c97da&&this['listenTo'](_0x5c97da,'execute',()=>{const _0x38e836=this['editor']['model']['document']['selection']['getSelectedElement']();_0x38e836&&_0x38e836['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x38e836);});});}}class tt extends _0x238df6{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1482f4){super(_0x1482f4),_0x1482f4['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x139334['defineComponents'](_0x139334),this['_defineLocale']();}['_defineLocale'](){const _0x13b3a0=this['editor']['config']['get']('uploadcare.locale'),_0x5cc41b=this['editor']['locale']['contentLanguage'];_0x13b3a0&&_0x139334['defineLocale'](_0x5cc41b,_0x13b3a0);}}class ii extends _0x47f667{constructor(_0x2412f6){super(_0x2412f6);const t=_0x2412f6['t'],_0x579e3f=this['bindTemplate'],_0x3d1cc7=new _0x4e861f();_0x3d1cc7['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':[_0x3d1cc7,{'text':_0x579e3f['to']('imageUploadProgress',_0x1c20be=>t('Loading\x20image...')+'\x20('+(_0x1c20be||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 _0x47f667{constructor(_0x390390){super(_0x390390);const t=_0x390390['t'];this['set']('errorType',null);const _0x429715=new _0x2cfc74(_0x390390);_0x429715['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x429715['withText']=!0x0,_0x429715['class']='ck-button-action',_0x429715['on']('execute',()=>{this['fire']('retry');}),_0x429715['bind']('isVisible')['to'](this,'errorType',_0x47b087=>'NotFound'!==_0x47b087);const _0x2f06d5=new _0x1a8258();_0x2f06d5['content']=_0x1d8958,_0x2f06d5['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1c957b=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':[_0x2f06d5,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1c957b['to']('errorType',_0x4d7a9d=>t('NotFound'!==_0x4d7a9d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x429715]},{'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 _0x47f667{constructor(_0x22a74d,_0x25fccf){super(_0x22a74d);const _0x13b279=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x25fccf,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x13b279['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x14e9f3,_0x2bfc47,_0x258808){super(_0x14e9f3),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x14e9f3),this['_errorView']=new ti(_0x14e9f3),this['_editingView']=new ei(_0x14e9f3,_0x258808),this['_focusableView']=new _0x47f667(_0x14e9f3),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2bfc47),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'],_0x47d9da=>{this['_addUploadcareImageEditorListeners'](_0x47d9da);});}),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'](_0x588124,_0x3be2e5){const _0xfe8e94='uc-cloud-image-editor',_0x2d904f=_0x588124['querySelector'](_0xfe8e94);if(_0x2d904f)return _0x3be2e5(_0x2d904f);const _0x53ca1a=new MutationObserver(_0x51fa4b=>{const _0x2c3aa8=_0x51fa4b['filter'](_0x2a155e=>_0x2a155e['target']===_0x588124&&_0x2a155e['addedNodes']['length']>0x0&&_0x2a155e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xfe8e94);_0x2c3aa8['length']&&(_0x53ca1a['disconnect'](),_0x3be2e5(_0x2c3aa8[0x0]['addedNodes'][0x0]));});_0x53ca1a['observe'](_0x588124,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x120f28){_0x120f28['addEventListener']('apply',_0x28bf66=>{this['fire']('apply',{'imageSrc':_0x28bf66['detail']['cdnUrl']});}),_0x120f28['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x11e7bf(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x38b108,_0x4e20a2,_0x178271){super(),this['_editor']=_0x38b108,this['_dialog']=_0x4e20a2,this['_imageElement']=_0x178271,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 _0xe41c4e=this['_imageElement'],_0x224042=_0xe41c4e['getAttribute']('uploadcareImageId'),_0x5d0d91=_0xe41c4e['getAttribute']('src');if(_0x224042)await this['_loadImageInfo'](_0x224042,_0x5d0d91);else{if(this['_imageCache']['has'](_0x5d0d91)){const _0x185e0b=this['_imageCache']['get'](_0x5d0d91);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x185e0b['url'],this['imageDimension']=_0x185e0b['dimension'],this['imageId']=_0x185e0b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x316ffe}=this['_editor'],t=_0x316ffe['t'],_0x37af9c=new X(_0x316ffe,this['imageStatus'],this['_attributes']);_0x37af9c['bind']('status')['to'](this,'imageStatus'),_0x37af9c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x37af9c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x37af9c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x37af9c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x27a4e7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x37af9c,'position':_0x1c055c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x37af9c['focus']();},'onHide':()=>{_0x37af9c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x96f7b0=>!M(_0x96f7b0,_0x37af9c['element'])}});}['_loadImageInfo'](_0x2a0fd3,_0x5cb48a){return j['getInfo'](_0x2a0fd3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x12da0e=>{const {width:_0x1fa09b,height:_0x573ae3}=_0x12da0e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5cb48a,this['imageDimension']={'width':_0x1fa09b,'height':_0x573ae3},this['imageId']=_0x2a0fd3;})['catch'](_0x3e47a6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3e47a6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2c7e73,_0x536ccc){return this['_getImageAsFile'](_0x2c7e73)['then'](_0xb9511d=>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':_0x536ccc['signal'],'file':_0xb9511d,'onProgress':_0xec5dea=>{_0xec5dea&&_0xec5dea['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xec5dea['value']));}}))['then'](_0xd770a9=>{const {width:_0xd00d7d,height:_0x49de15}=_0xd770a9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd770a9['cdnUrl'],this['imageDimension']={'width':_0xd00d7d,'height':_0x49de15},this['imageId']=_0xd770a9['uuid'],this['imageUploadProgress']=null;const _0x2b21b2=_0x2c7e73['getAttribute']('src');this['_imageCache']['set'](_0x2b21b2,{'id':_0xd770a9['uuid'],'url':_0xd770a9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2e6f68=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2e6f68['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4197e1,_0xdc85a7){_0x4197e1['on']('apply',(_0xeee897,_0x346de0)=>{this['_replaceImage'](_0xdc85a7,_0x346de0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4197e1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4197e1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x44a7a0,_0x4de35c,_0x15a3de){const _0x2e46e1=this['_editor'],{width:_0x1347f7,height:_0x189516}=F(_0x4de35c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x25992f,imageSources:_0x3f8e13}=C(_0x4de35c,_0x1347f7);_0x2e46e1['model']['change'](_0x1ab3ad=>{if('$graveyard'===_0x44a7a0['root']['rootName']){_0x2e46e1['execute']('insertImage',{'imageType':_0x44a7a0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x44a7a0['getAttributes']()),'uploadcareImageId':_0x15a3de,'src':_0x25992f,'sources':_0x3f8e13,'width':_0x1347f7,'height':_0x189516}});const _0x25c597=_0x44a7a0['getChildren']();_0x44a7a0=_0x2e46e1['model']['document']['selection']['getSelectedElement']();for(const _0x2dddb0 of _0x25c597)_0x1ab3ad['append'](_0x1ab3ad['cloneElement'](_0x2dddb0),_0x44a7a0);}else _0x1ab3ad['setSelection'](_0x44a7a0,'on'),_0x2e46e1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x44a7a0['getAttributes']()),'uploadcareImageId':_0x15a3de,'src':_0x25992f,'sources':_0x3f8e13,'width':_0x1347f7,'height':_0x189516},_0x44a7a0);_0x1ab3ad['setSelection'](_0x44a7a0,'on');});}async['_getImageAsFile'](_0x37b2d6){const _0xeadc7a=_0x5b1a97['window'],_0x949cc4=_0x5b1a97['document']['location']['href'],_0x28ecc7=new _0xeadc7a['URL'](_0x37b2d6['getAttribute']('src'),_0x949cc4);if('data:'===_0x28ecc7['protocol']){const _0x279af6=_0x28ecc7['href']['split'](','),_0x578760=_0x279af6[0x0]['match'](/:(.*?);/)[0x1],_0x2e7d86=_0x578760['split']('/')[0x1],_0x69bad5=_0xeadc7a['atob'](_0x279af6[_0x279af6['length']-0x1]);let _0x4c7cc6=_0x69bad5['length'];const _0x39c28d=new _0xeadc7a['Uint8Array'](_0x4c7cc6);for(;_0x4c7cc6--;)_0x39c28d[_0x4c7cc6]=_0x69bad5['charCodeAt'](_0x4c7cc6);return new _0xeadc7a['File']([_0x39c28d],'image.'+_0x2e7d86,{'type':_0x578760});}const _0x11c06c=_0x28ecc7['href']['split']('/'),_0x4f0bdc=_0x11c06c[_0x11c06c['length']-0x1],_0x1ec22c=_0x4f0bdc['split']('.')[0x1];return _0xeadc7a['fetch'](_0x28ecc7['href'])['then'](_0x47ac77=>_0x47ac77['clone']()['blob']())['then'](_0x1b04b0=>new _0xeadc7a['File']([_0x1b04b0],_0x4f0bdc,{'type':'image/'+_0x1ec22c}));}}class N extends _0x312da0{['imageEditController'];static get['requires'](){return[_0x42b106];}['_isEditable'];constructor(_0x4797c1){super(_0x4797c1),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x386c99){const _0x397463=R(_0x386c99);return _0x50010a=>!(!_0x50010a||!_0x50010a['is']('element','imageBlock')&&!_0x50010a['is']('element','imageInline'))&&(!!_0x50010a['hasAttribute']('uploadcareImageId')||!!_0x50010a['hasAttribute']('src')&&_0x397463(_0x50010a['getAttribute']('src')));}(_0x4797c1['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3597a5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3597a5);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x29c294=this['editor']['model']['document']['selection']['getSelectedElement']();_0x29c294&&(_0x29c294['is']('element','imageBlock')||_0x29c294['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x42b106),_0x29c294),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x312da0{['refresh'](){const _0x39bc7e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x39bc7e&&(_0x39bc7e['is']('element','imageBlock')||_0x39bc7e['is']('element','imageInline')));}['execute'](_0x2fe0da){const _0x189880=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1e9040=>{_0x1e9040['setAttributes'](_0x2fe0da,_0x189880),_0x1e9040['removeAttribute']('srcset',_0x189880),_0x1e9040['removeAttribute']('sizes',_0x189880);});}}class m extends _0x238df6{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x2bbf0b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ca3e4}=this;_0x5ca3e4['commands']['add']('uploadcareImageEdit',new N(_0x5ca3e4)),_0x5ca3e4['commands']['add']('uploadcareImageReplace',new O(_0x5ca3e4));}}class g extends _0x238df6{['_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 _0x2bbc5e=this['editor'];_0x2bbc5e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x184b82=>{const _0x4627db=_0x2bbc5e['commands']['get']('uploadcareImageEdit'),_0x34b044=new _0x2cfc74(_0x184b82),t=_0x184b82['t'];return _0x34b044['set']({'icon':_0x27a4e7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x34b044['bind']('isEnabled')['to'](_0x4627db),_0x34b044['bind']('isOn')['to'](_0x4627db,'isActive'),this['listenTo'](_0x34b044,'execute',()=>{_0x2bbc5e['execute']('uploadcareImageEdit'),_0x2bbc5e['editing']['view']['focus']();}),_0x34b044;}),this['_initConfig']();}['_initConfig'](){const _0x39e1c0=_0x57a7a4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x39e1c0),this['listenTo'](this['editor'],'destroy',()=>{_0x39e1c0['remove']();});}}class et extends _0x238df6{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':_0xeecad6=>0x1!=_0xeecad6}};
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':_0x13fe54=>0x1!=_0x13fe54}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f012d=>{const {af:{dictionary:_0x54ab54,getPluralForm:_0x4787e4}}={'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':_0x277588=>0x1!=_0x277588}};_0x3f012d['af']||={'dictionary':{},'getPluralForm':null},_0x3f012d['af']['dictionary']=Object['assign'](_0x3f012d['af']['dictionary'],_0x54ab54),_0x3f012d['af']['getPluralForm']=_0x4787e4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1dc597=>{const {af:{dictionary:_0x65e414,getPluralForm:_0x141a7e}}={'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':_0x38386a=>0x1!=_0x38386a}};_0x1dc597['af']||={'dictionary':{},'getPluralForm':null},_0x1dc597['af']['dictionary']=Object['assign'](_0x1dc597['af']['dictionary'],_0x65e414),_0x1dc597['af']['getPluralForm']=_0x141a7e;})(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':_0x137de7=>0x0==_0x137de7?0x0:0x1==_0x137de7?0x1:0x2==_0x137de7?0x2:_0x137de7%0x64>=0x3&&_0x137de7%0x64<=0xa?0x3:_0x137de7%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':_0x2e3303=>0x0==_0x2e3303?0x0:0x1==_0x2e3303?0x1:0x2==_0x2e3303?0x2:_0x2e3303%0x64>=0x3&&_0x2e3303%0x64<=0xa?0x3:_0x2e3303%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x45a915=>{const {ar:{dictionary:_0x407aa6,getPluralForm:_0x258343}}={'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':_0x3474f8=>0x0==_0x3474f8?0x0:0x1==_0x3474f8?0x1:0x2==_0x3474f8?0x2:_0x3474f8%0x64>=0x3&&_0x3474f8%0x64<=0xa?0x3:_0x3474f8%0x64>=0xb?0x4:0x5}};_0x45a915['ar']||={'dictionary':{},'getPluralForm':null},_0x45a915['ar']['dictionary']=Object['assign'](_0x45a915['ar']['dictionary'],_0x407aa6),_0x45a915['ar']['getPluralForm']=_0x258343;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3de1ed=>{const {ar:{dictionary:_0x5d1d7f,getPluralForm:_0x527455}}={'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':_0x497297=>0x0==_0x497297?0x0:0x1==_0x497297?0x1:0x2==_0x497297?0x2:_0x497297%0x64>=0x3&&_0x497297%0x64<=0xa?0x3:_0x497297%0x64>=0xb?0x4:0x5}};_0x3de1ed['ar']||={'dictionary':{},'getPluralForm':null},_0x3de1ed['ar']['dictionary']=Object['assign'](_0x3de1ed['ar']['dictionary'],_0x5d1d7f),_0x3de1ed['ar']['getPluralForm']=_0x527455;})(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':_0x3e1ca3=>0x1!=_0x3e1ca3}};
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':_0x296604=>0x1!=_0x296604}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x45f534=>{const {ast:{dictionary:_0x5d12d7,getPluralForm:_0x1d2922}}={'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':_0x52da92=>0x1!=_0x52da92}};_0x45f534['ast']||={'dictionary':{},'getPluralForm':null},_0x45f534['ast']['dictionary']=Object['assign'](_0x45f534['ast']['dictionary'],_0x5d12d7),_0x45f534['ast']['getPluralForm']=_0x1d2922;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3653a2=>{const {ast:{dictionary:_0x4f3fd5,getPluralForm:_0x2c55d0}}={'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':_0xafa3a1=>0x1!=_0xafa3a1}};_0x3653a2['ast']||={'dictionary':{},'getPluralForm':null},_0x3653a2['ast']['dictionary']=Object['assign'](_0x3653a2['ast']['dictionary'],_0x4f3fd5),_0x3653a2['ast']['getPluralForm']=_0x2c55d0;})(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':_0x485955=>0x1!=_0x485955}};
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':_0x1ebba7=>0x1!=_0x1ebba7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21a3e0=>{const {az:{dictionary:_0x5b8169,getPluralForm:_0x5dad3f}}={'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':_0xc0441=>0x1!=_0xc0441}};_0x21a3e0['az']||={'dictionary':{},'getPluralForm':null},_0x21a3e0['az']['dictionary']=Object['assign'](_0x21a3e0['az']['dictionary'],_0x5b8169),_0x21a3e0['az']['getPluralForm']=_0x5dad3f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5690fa=>{const {az:{dictionary:_0x270550,getPluralForm:_0x20d434}}={'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':_0x3fa314=>0x1!=_0x3fa314}};_0x5690fa['az']||={'dictionary':{},'getPluralForm':null},_0x5690fa['az']['dictionary']=Object['assign'](_0x5690fa['az']['dictionary'],_0x270550),_0x5690fa['az']['getPluralForm']=_0x20d434;})(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':_0x785318=>_0x785318%0xa==0x1&&_0x785318%0x64!=0xb?0x0:_0x785318%0xa>=0x2&&_0x785318%0xa<=0x4&&(_0x785318%0x64<0xa||_0x785318%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':_0x3d29e1=>_0x3d29e1%0xa==0x1&&_0x3d29e1%0x64!=0xb?0x0:_0x3d29e1%0xa>=0x2&&_0x3d29e1%0xa<=0x4&&(_0x3d29e1%0x64<0xa||_0x3d29e1%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x30acef=>{const {be:{dictionary:_0xb8f984,getPluralForm:_0x3bcbb4}}={'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':_0x1ec90c=>_0x1ec90c%0xa==0x1&&_0x1ec90c%0x64!=0xb?0x0:_0x1ec90c%0xa>=0x2&&_0x1ec90c%0xa<=0x4&&(_0x1ec90c%0x64<0xa||_0x1ec90c%0x64>=0x14)?0x1:0x2}};_0x30acef['be']||={'dictionary':{},'getPluralForm':null},_0x30acef['be']['dictionary']=Object['assign'](_0x30acef['be']['dictionary'],_0xb8f984),_0x30acef['be']['getPluralForm']=_0x3bcbb4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x6f76b0=>{const {be:{dictionary:_0x3603d2,getPluralForm:_0x51e685}}={'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':_0x1ced8b=>_0x1ced8b%0xa==0x1&&_0x1ced8b%0x64!=0xb?0x0:_0x1ced8b%0xa>=0x2&&_0x1ced8b%0xa<=0x4&&(_0x1ced8b%0x64<0xa||_0x1ced8b%0x64>=0x14)?0x1:0x2}};_0x6f76b0['be']||={'dictionary':{},'getPluralForm':null},_0x6f76b0['be']['dictionary']=Object['assign'](_0x6f76b0['be']['dictionary'],_0x3603d2),_0x6f76b0['be']['getPluralForm']=_0x51e685;})(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':_0x2689b6=>0x1!=_0x2689b6}};
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':_0x5e175e=>0x1!=_0x5e175e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x139616=>{const {bg:{dictionary:_0x4b6896,getPluralForm:_0x513d53}}={'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':_0x47f06a=>0x1!=_0x47f06a}};_0x139616['bg']||={'dictionary':{},'getPluralForm':null},_0x139616['bg']['dictionary']=Object['assign'](_0x139616['bg']['dictionary'],_0x4b6896),_0x139616['bg']['getPluralForm']=_0x513d53;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52605b=>{const {bg:{dictionary:_0x43d7a5,getPluralForm:_0x2ca653}}={'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':_0x546fb9=>0x1!=_0x546fb9}};_0x52605b['bg']||={'dictionary':{},'getPluralForm':null},_0x52605b['bg']['dictionary']=Object['assign'](_0x52605b['bg']['dictionary'],_0x43d7a5),_0x52605b['bg']['getPluralForm']=_0x2ca653;})(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':_0x241d40=>0x1!=_0x241d40}};
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':_0x57da99=>0x1!=_0x57da99}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x450dfb=>{const {bn:{dictionary:_0xe590c3,getPluralForm:_0x3dc36f}}={'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':_0x2858dd=>0x1!=_0x2858dd}};_0x450dfb['bn']||={'dictionary':{},'getPluralForm':null},_0x450dfb['bn']['dictionary']=Object['assign'](_0x450dfb['bn']['dictionary'],_0xe590c3),_0x450dfb['bn']['getPluralForm']=_0x3dc36f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e8950=>{const {bn:{dictionary:_0x39c4d6,getPluralForm:_0x3c1ac0}}={'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':_0x3e70c6=>0x1!=_0x3e70c6}};_0x1e8950['bn']||={'dictionary':{},'getPluralForm':null},_0x1e8950['bn']['dictionary']=Object['assign'](_0x1e8950['bn']['dictionary'],_0x39c4d6),_0x1e8950['bn']['getPluralForm']=_0x3c1ac0;})(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':_0x57fd12=>_0x57fd12%0xa==0x1&&_0x57fd12%0x64!=0xb?0x0:_0x57fd12%0xa>=0x2&&_0x57fd12%0xa<=0x4&&(_0x57fd12%0x64<0xa||_0x57fd12%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':_0x31cac6=>_0x31cac6%0xa==0x1&&_0x31cac6%0x64!=0xb?0x0:_0x31cac6%0xa>=0x2&&_0x31cac6%0xa<=0x4&&(_0x31cac6%0x64<0xa||_0x31cac6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x539c7d=>{const {bs:{dictionary:_0x21f752,getPluralForm:_0x195a68}}={'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':_0x3acf23=>_0x3acf23%0xa==0x1&&_0x3acf23%0x64!=0xb?0x0:_0x3acf23%0xa>=0x2&&_0x3acf23%0xa<=0x4&&(_0x3acf23%0x64<0xa||_0x3acf23%0x64>=0x14)?0x1:0x2}};_0x539c7d['bs']||={'dictionary':{},'getPluralForm':null},_0x539c7d['bs']['dictionary']=Object['assign'](_0x539c7d['bs']['dictionary'],_0x21f752),_0x539c7d['bs']['getPluralForm']=_0x195a68;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2cc223=>{const {bs:{dictionary:_0x237133,getPluralForm:_0x174f51}}={'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':_0x27d615=>_0x27d615%0xa==0x1&&_0x27d615%0x64!=0xb?0x0:_0x27d615%0xa>=0x2&&_0x27d615%0xa<=0x4&&(_0x27d615%0x64<0xa||_0x27d615%0x64>=0x14)?0x1:0x2}};_0x2cc223['bs']||={'dictionary':{},'getPluralForm':null},_0x2cc223['bs']['dictionary']=Object['assign'](_0x2cc223['bs']['dictionary'],_0x237133),_0x2cc223['bs']['getPluralForm']=_0x174f51;})(window['CKEDITOR_TRANSLATIONS']||={});