@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251030.0 → 0.0.0-nightly-20251101.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 _0x3c1487,Command as _0xed420d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2d9d58,IconGooglePhotos as _0x22e1c2,IconGoogleDrive as _0x51d529,IconFacebook as _0x467f0e,IconDropbox as _0x5352fa,IconUploadcareLink as _0x43bdf7,IconUploadcareImageUpload as _0x34a163,IconError as _0x20b2f1,IconUploadcareImageEdit as _0x107ac3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xd0d516,MenuBarMenuListItemButtonView as _0x57282b,View as _0x1de0c3,FocusCycler as _0xf5f5f9,Dialog as _0x162ab3,DialogViewPosition as _0x2697c2,SpinnerView as _0x28f04f,IconView as _0x4766ec,Notification as _0x180c24}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xc38981,DomEmitterMixin as _0x139be4,global as _0x5e8dae,getAncestors as _0x2b3f7c,ObservableMixin as _0x254191,uid as _0x10e13,createElement as _0x1ae2c6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x33f607}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x194d46,info as _0xecd410}from'@uploadcare/upload-client';import*as _0x2da02d from'@uploadcare/file-uploader';var i=function(_0x4f2497){return _0x4f2497['Local']='local',_0x4f2497['URL']='url',_0x4f2497['Dropbox']='dropbox',_0x4f2497['GDrive']='gdrive',_0x4f2497['Facebook']='facebook',_0x4f2497['GPhotos']='gphotos',_0x4f2497['OneDrive']='onedrive',_0x4f2497;}({});function _(_0x51782d,_0x2da2a8,_0x221ccd){const t=_0x51782d['t'],_0x49677b=_0x51782d['t'];switch(_0x2da2a8){case i['Local']:return{'text':_0x49677b('Insert'===_0x221ccd?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x49677b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x221ccd?_0x49677b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x49677b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x221ccd?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x221ccd?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x221ccd?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x221ccd?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x221ccd?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2da2a8;}}class e extends _0x3c1487{['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 _0x14747d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a6721;for(const _0x37e50c in _0x14747d){const _0x4b0f88=_0x37e50c,_0x5dcb21=_0x14747d[_0x4b0f88];if('uploadcareLicenseKeyValid'==_0x5dcb21||'uploadcareLicenseKeyInvalid'==_0x5dcb21||'uploadcareLicenseKeyExpired'==_0x5dcb21||'uploadcareLicenseKeyDomainLimit'==_0x5dcb21||'uploadcareLicenseKeyNotAllowed'==_0x5dcb21||'uploadcareLicenseKeyEvaluationLimit'==_0x5dcb21||'uploadcareLicenseKeyTrialLimit'==_0x5dcb21||'uploadcareLicenseKeyUsageLimit'==_0x5dcb21){delete _0x14747d[_0x4b0f88],_0x4a6721=_0x5dcb21,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4a6721&&_0x14747d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4a6721&&_0x14747d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4a6721&&_0x14747d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4a6721&&_0x14747d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4a6721&&_0x14747d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4a6721&&_0x14747d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4a6721&&_0x14747d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3c5934}=this,_0x554f31=_0x3c5934['commands']['get']('uploadcare');if(!_0x554f31)return;const _0x3f9e6c=this['_normalizeConfigSourceList'](_0x3c5934['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x49914e,_0x590b2e)=>{const _0x55eb7f=this['_getIntegrationKey'](_0x590b2e['type']);return _0x49914e[_0x55eb7f]||(_0x49914e[_0x55eb7f]=[]),_0x49914e[_0x55eb7f]['push'](_0x590b2e),_0x49914e;},{});_0x3c5934['plugins']['has']('ImageInsertUI')&&_0x3c5934['commands']['get']('uploadcare')&&Object['entries'](_0x3f9e6c)['forEach'](([_0x3fe809,_0x6b9f2b])=>{_0x3c5934['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3fe809,'observable':()=>_0x554f31,'buttonViewCreator':()=>this['_createToolbarButton'](_0x6b9f2b),'formViewCreator':()=>this['_createDropdownButtons'](_0x6b9f2b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x6b9f2b),'override':'assetManager'!==_0x3fe809});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x572edd){const {locale:_0x58cb15}=this['editor'];return _0x572edd['map'](_0x5f01c4=>{const _0x39731c=_(_0x58cb15,_0x5f01c4,'Insert');switch(_0x5f01c4){case i['Local']:return{'icon':_0x34a163,'type':i['Local'],..._0x39731c};case i['URL']:return{'icon':_0x43bdf7,'type':i['URL'],..._0x39731c};case i['Dropbox']:return{'icon':_0x5352fa,'type':i['Dropbox'],..._0x39731c};case i['Facebook']:return{'icon':_0x467f0e,'type':i['Facebook'],..._0x39731c};case i['GDrive']:return{'icon':_0x51d529,'type':i['GDrive'],..._0x39731c};case i['GPhotos']:return{'icon':_0x22e1c2,'type':i['GPhotos'],..._0x39731c};case i['OneDrive']:return{'icon':_0x2d9d58,'type':i['OneDrive'],..._0x39731c};}});}['_getIntegrationKey'](_0x236807){switch(_0x236807){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x435e82,_0x50bf3f){const _0x4f7145=this['editor'],_0x343d85=new _0x435e82(_0x4f7145['locale']),_0x14b6b6=_0x4f7145['commands']['get']('uploadcare');return _0x343d85['bind']('isEnabled')['to'](_0x14b6b6),_0x343d85['on']('execute',()=>{_0x14b6b6['execute'](_0x50bf3f);}),_0x343d85;}['_createToolbarButton'](_0x493cb9){const {locale:_0x159463}=this['editor'],_0x2a8d6b=this['editor']['plugins']['get']('ImageInsertUI'),_0x3f2739=_0x493cb9[0x0],_0x5e7a00=this['_createButton'](_0xd0d516,_0x3f2739['type']);return _0x5e7a00['icon']=_0x3f2739['icon'],_0x5e7a00['bind']('label')['to'](_0x2a8d6b,'isImageSelected',_0x2381e6=>_(_0x159463,_0x3f2739['type'],_0x2381e6?'Replace':'Insert')['text']),_0x5e7a00['tooltip']=!0x0,_0x5e7a00;}['_createDropdownButtons'](_0x2a6b55){const {locale:_0xfb11}=this['editor'],_0x39cd5c=this['editor']['plugins']['get']('ImageInsertUI');return _0x2a6b55['map'](_0x4ae362=>{const _0x405c7a=this['_createButton'](_0xd0d516,_0x4ae362['type']);return _0x405c7a['withText']=!0x0,_0x405c7a['icon']=_0x4ae362['icon'],_0x405c7a['bind']('label')['to'](_0x39cd5c,'isImageSelected',_0x55cccf=>_(_0xfb11,_0x4ae362['type'],_0x55cccf?'Replace':'Insert')['text']),_0x405c7a;});}['_createMenuBarButtons'](_0x507ae4){return _0x507ae4['map'](_0x454a2b=>{const _0x2f49a0=this['_createButton'](_0x57282b,_0x454a2b['type']);return _0x2f49a0['icon']=_0x454a2b['icon'],_0x2f49a0['label']=_0x454a2b['shortText'],_0x2f49a0;});}}class F extends _0x1de0c3{['focusTracker'];['focusCycler'];constructor(_0x4fc55d){super(_0x4fc55d),this['focusTracker']=new _0xc38981(),this['focusCycler']=new _0xf5f5f9({'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(_0x3662b3,_0x4ebb8f){super(_0x3662b3),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-'+_0x4ebb8f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4f58bc,_0x17b315){const _0x594f7e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x519057=>_0x519057<=_0x17b315)['map'](_0x409ee8=>_0x4f58bc['replace'](/\/$/,'')+'/-/resize/'+_0x409ee8+'x/\x20'+_0x409ee8+'w');return{'imageFallbackUrl':_0x4f58bc,'imageSources':[{'srcset':_0x594f7e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x17b315+'px)\x20100vw,\x20'+_0x17b315+'px','type':'image/webp'}]};}function S(_0x85ad22,_0x4a1ccd,_0x77c208){const _0x1c7e8e=_0x85ad22['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1c7e8e?parseInt(_0x1c7e8e[0x1],0xa):_0x4a1ccd,'height':_0x1c7e8e?parseInt(_0x1c7e8e[0x2],0xa):_0x77c208};}function p(_0xbd5c08,_0x31c4af){const _0x538289=new(_0x139be4())(),_0x2a8720=_0xbd5c08['plugins']['get']('ImageUtils'),_0x461d05=_0xbd5c08['editing']['mapper']['toViewElement'](_0x31c4af),_0x3ffacc=_0x2a8720['findViewImgElement'](_0x461d05),_0x18ffe6=_0xbd5c08['editing']['view']['domConverter']['viewToDom'](_0x3ffacc),_0x38fa26=_0x31c4af['getAttribute']('width'),_0x1bf7f8=_0x31c4af['getAttribute']('height'),_0x3991ab='image-processing';_0xbd5c08['editing']['view']['change'](_0x2aae90=>{_0x2aae90['addClass'](_0x3991ab,_0x461d05),_0x2aae90['setStyle']('aspect-ratio',_0x38fa26+'/'+_0x1bf7f8,_0x3ffacc);}),_0x538289['listenTo'](_0x18ffe6,'load',()=>{_0x538289['stopListening'](_0x18ffe6,'load'),_0xbd5c08['editing']['view']['change'](_0x350901=>{_0x350901['removeClass'](_0x3991ab,_0x461d05),_0x350901['removeStyle']('aspect-ratio',_0x3ffacc);});});}function G(_0x4cb6be){if(Array['isArray'](_0x4cb6be)){const _0xfa3b03=_0x4cb6be['map'](G);return _0x355c76=>_0xfa3b03['some'](_0x3eb498=>_0x3eb498(_0x355c76));}if('origin'==_0x4cb6be){const _0x561c93=_0x5e8dae['window']['location']['origin'];return _0xb56ff7=>new URL(_0xb56ff7,_0x5e8dae['document']['baseURI'])['origin']==_0x561c93;}return'function'==typeof _0x4cb6be?_0x4cb6be:_0x4cb6be instanceof RegExp?_0x275a4d=>!(!_0x275a4d['match'](_0x4cb6be)&&!_0x275a4d['replace'](/^https?:\/\//,'')['match'](_0x4cb6be)):()=>!0x1;}function A(_0xcd47ff,_0x3e8095){return _0x2b3f7c(_0xcd47ff['target'])['includes'](_0x3e8095);}class n extends/* #__PURE__ -- @preserve */
24
- _0x254191(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x172f74,_0x191406,_0x5dd404){super(),this['_editor']=_0x172f74,this['_editing']=_0x191406,this['_dialog']=_0x172f74['plugins']['get'](_0x162ab3),this['_api']=_0x191406['ctxElement']['getAPI'](),this['_type']=_0x5dd404,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:_0xb719bc,model:_0x29ed08}=this['_editor'],_0x4b1123=_0x29ed08['document']['selection']['getSelectedElement'](),_0x4812b7=_0x4b1123&&(_0x4b1123['is']('element','imageBlock')||_0x4b1123['is']('element','imageInline'));this['_formView']=new x(_0xb719bc,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x34a163,'title':_(_0xb719bc,this['_type'],_0x4812b7?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2697c2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x44fd3f=>!A(_0x44fd3f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x29ec02}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x277ebf=>{const _0x57c8ed=_0x29ec02['length'];for(const _0x4f77c0 of _0x29ec02){const _0x21616c=_0x4f77c0===_0x29ec02[_0x57c8ed-0x1],{cdnUrl:_0x2023d5,fileInfo:_0x4f488b}=_0x4f77c0;if(!_0x2023d5||!_0x4f488b)continue;const {width:_0x2ee4d0,height:_0xc5bd47}=_0x4f488b['imageInfo'],_0x29ade2=S(_0x2023d5,_0x2ee4d0,_0xc5bd47),_0x23b07f=C(_0x2023d5,_0x29ade2['width']),_0x5a2c7d={'id':_0x4f488b['uuid'],'type':'image','attributes':{'imageDimension':_0x29ade2,..._0x23b07f}};this['_insertAsset'](_0x5a2c7d,_0x21616c,_0x277ebf);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x44d33f=>{'idle'===_0x44d33f['detail']['status']&&!_0x44d33f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4860a1,_0x51dbbe,_0x43ece4){const _0x5b5d54=this['_editor']['model']['document']['selection'],_0x41a873=_0x5b5d54['getSelectedElement'](),_0x26a016=!(!_0x41a873||!_0x41a873['is']('element','imageInline'));_0x43ece4['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4860a1,_0x26a016),_0x51dbbe||_0x43ece4['setSelection'](_0x5b5d54['getLastPosition']());}['_insertImage'](_0x7daae6,_0x32ceee){const _0x4332d9=this['_editor'],{imageDimension:_0x293382,imageFallbackUrl:_0x4f0006,imageSources:_0x44ec7d}=_0x7daae6['attributes'];_0x4332d9['execute']('insertImage',{'imageType':_0x32ceee?'imageInline':null,'source':{'uploadcareImageId':_0x7daae6['id'],'src':_0x4f0006,'sources':_0x44ec7d,..._0x293382}});}}class w extends _0xed420d{['_editing'];['_controller']=null;static get['requires'](){return[_0x162ab3,o];}constructor(_0x4af3ec){super(_0x4af3ec),this['_editing']=_0x4af3ec['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x393183){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x393183);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x36618c,..._0x561004}){return _0x194d46(_0x36618c,_0x561004);}static['getInfo'](_0x2e2606,_0x54735d){return _0xecd410(_0x2e2606,_0x54735d);}}class f extends _0x3c1487{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x33f607,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b7713=this['editor'];if(!!!_0x3b7713['config']['get']('uploadcare'))return;_0x3b7713['plugins']['get'](_0x33f607)['createUploadAdapter']=_0x180a01=>new k(_0x180a01,_0x3b7713),_0x3b7713['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4ed434,{imageElement:_0x4a1123,data:_0x52f0a6})=>{_0x3b7713['model']['change'](_0x1935d7=>{_0x1935d7['setAttribute']('uploadcareImageId',_0x52f0a6['uploadcareImageId'],_0x4a1123);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x43a2e7,_0x335983){this['loader']=_0x43a2e7,this['editor']=_0x335983,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2f94e6=await this['loader']['file'];return j['upload']({'file':_0x2f94e6,'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':_0x47d199=>{_0x47d199&&_0x47d199['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x47d199['value']);}})['then'](async _0x2aa6c7=>{const {imageFallbackUrl:_0x5238ea,imageSources:_0x4df5d8}=C(_0x2aa6c7['cdnUrl'],_0x2aa6c7['imageInfo']['width']);return{'uploadcareImageId':_0x2aa6c7['uuid'],'default':_0x5238ea,'sources':_0x4df5d8};})['catch'](()=>{const _0xff90f5=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f94e6['name']+'.');return Promise['reject'](_0xff90f5);});}['abort'](){this['controller']['abort']();}}class o extends _0x3c1487{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x162ab3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x371238){super(_0x371238),this['ucContextId']=_0x10e13();}['init'](){const _0x4ed24f=this['editor'];_0x4ed24f['commands']['add']('uploadcare',new w(_0x4ed24f));}['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 _0x463480=_0x5e8dae['document']['querySelector']('input[uploadcare-file-input]');_0x463480&&_0x463480['remove']();}),async function(_0x9389db){const _0x58c7bf=_0x405205([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]),_0x3f9fee=0x535f8c3a,_0x141b10=0x5358fb92^_0x3f9fee,_0x3976f6=window[_0x405205([0x44,0x61,0x74,0x65])][_0x405205([0x6e,0x6f,0x77])](),_0x55e6fa=_0x9389db[_0x405205([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x470025=new window[(_0x405205([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47a98e=>{_0x55e6fa[_0x405205([0x6f,0x6e,0x63,0x65])](_0x405205([0x72,0x65,0x61,0x64,0x79]),_0x47a98e);}),_0x2e124b={[_0x405205([0x6b,0x74,0x79])]:_0x405205([0x45,0x43]),[_0x405205([0x75,0x73,0x65])]:_0x405205([0x73,0x69,0x67]),[_0x405205([0x63,0x72,0x76])]:_0x405205([0x50,0x2d,0x32,0x35,0x36]),[_0x405205([0x78])]:_0x405205([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]),[_0x405205([0x79])]:_0x405205([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]),[_0x405205([0x61,0x6c,0x67])]:_0x405205([0x45,0x53,0x32,0x35,0x36])},_0x3d3fce=_0x55e6fa[_0x405205([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x405205([0x67,0x65,0x74])](_0x405205([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x41b2a9(){let _0x4fd231,_0x18b7b9=null,_0x4ffe58=null;try{if(_0x3d3fce==_0x405205([0x47,0x50,0x4c]))return _0x405205([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4fd231=_0x42f218(),!_0x4fd231)return _0x405205([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4fd231[_0x405205([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ffe58=_0x5b0b43(_0x4fd231[_0x405205([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4fd231[_0x405205([0x6a,0x74,0x69])])),await _0x49260d()?_0x320301()?_0x1d56b7()?_0x405205([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x37492f()?(_0x4fd231[_0x405205([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x405205([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18b7b9=_0x5efe80(_0x405205([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4fd231[_0x405205([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x405205([0x74,0x72,0x69,0x61,0x6c])&&(_0x18b7b9=_0x5efe80(_0x405205([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x281bce()):_0x405205([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x405205([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x405205([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x405205([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d56b7(){const _0x137a42=[_0x405205([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x405205([0x74,0x72,0x69,0x61,0x6c])][_0x405205([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fd231[_0x405205([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3976f6/0x3e8:0xe10*_0x141b10;return _0x4fd231[_0x405205([0x65,0x78,0x70])]<_0x137a42;}function _0x320301(){const _0x4f4e8=_0x4fd231[_0x405205([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f4e8&&(!!_0x4f4e8[_0x405205([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x405205([0x2a]))||!!_0x4f4e8[_0x405205([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x405205([0x55,0x50,0x4c,0x43])));}function _0x37492f(){const _0x467a36=_0x4fd231[_0x405205([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x467a36||0x0==_0x467a36[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x375390}=new URL(window[_0x405205([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x467a36[_0x405205([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x375390))return!0x0;const _0x36e3fd=_0x375390[_0x405205([0x73,0x70,0x6c,0x69,0x74])](_0x405205([0x2e]));return _0x467a36[_0x405205([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fd4c0=>_0x1fd4c0[_0x405205([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x405205([0x2a])))[_0x405205([0x6d,0x61,0x70])](_0x4f51c4=>_0x4f51c4[_0x405205([0x73,0x70,0x6c,0x69,0x74])](_0x405205([0x2e])))[_0x405205([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x567082=>_0x567082[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36e3fd[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x405205([0x6d,0x61,0x70])](_0x4d2cdd=>Array(_0x36e3fd[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4d2cdd[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x405205([0x66,0x69,0x6c,0x6c])](_0x4d2cdd[0x0]===_0x405205([0x2a])?_0x405205([0x2a]):'')[_0x405205([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4d2cdd))[_0x405205([0x73,0x6f,0x6d,0x65])](_0x53779d=>_0x36e3fd[_0x405205([0x65,0x76,0x65,0x72,0x79])]((_0x5b8e1c,_0xa8e432)=>_0x53779d[_0xa8e432]===_0x5b8e1c||_0x53779d[_0xa8e432]===_0x405205([0x2a])));}function _0x281bce(){return _0x18b7b9&&_0x4ffe58?new window[(_0x405205([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36789c,_0x4543be)=>{_0x18b7b9[_0x405205([0x74,0x68,0x65,0x6e])](_0x36789c,_0x4543be),_0x4ffe58[_0x405205([0x74,0x68,0x65,0x6e])](_0x592ab5=>{_0x592ab5!=_0x405205([0x56,0x61,0x6c,0x69,0x64])&&_0x36789c(_0x592ab5);},_0x4543be);}):_0x18b7b9||_0x4ffe58||_0x405205([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b0b43(_0x245dcd,_0x310cd3){return new window[(_0x405205([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dff2e=>{if(_0x4af14d())return _0x3dff2e(_0x405205([0x56,0x61,0x6c,0x69,0x64]));_0x1526b5(),_0x55e6fa[_0x405205([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x405205([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36b190=!0x1;const _0x5bd496=_0x10e13();function _0x18657b(_0x12e2f9){return!!_0x12e2f9&&(typeof _0x12e2f9===_0x405205([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12e2f9===_0x405205([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12e2f9[_0x405205([0x74,0x68,0x65,0x6e])]===_0x405205([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12e2f9[_0x405205([0x63,0x61,0x74,0x63,0x68])]===_0x405205([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d4e66(_0x494cbf){_0x29433a(_0x494cbf)[_0x405205([0x74,0x68,0x65,0x6e])](_0x17ce13=>{if(!_0x17ce13||_0x17ce13[_0x405205([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x405205([0x6f,0x6b]))return _0x405205([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x343a2f(_0x1e339f(_0x5bd496+_0x310cd3))!=_0x17ce13[_0x405205([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x405205([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x405205([0x56,0x61,0x6c,0x69,0x64]);})[_0x405205([0x74,0x68,0x65,0x6e])](_0x466e28=>(_0x29d60b(),_0x466e28),()=>{const _0x42ae90=_0x500117();return null==_0x42ae90?(_0x29d60b(),_0x405205([0x56,0x61,0x6c,0x69,0x64])):_0x405205(_0x3976f6-_0x42ae90>(0x7753083a^_0x3f9fee)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x405205([0x74,0x68,0x65,0x6e])](_0x3dff2e)[_0x405205([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3dff2e(_0x405205([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b23c9=0x536962ba^_0x3f9fee;function _0x29d60b(){const _0x3ec407=_0x405205([0x6c,0x6c,0x63,0x74,0x2d])+_0x343a2f(_0x1e339f(_0x245dcd)),_0x53e0cc=_0x5982f4(_0x343a2f(window[_0x405205([0x4d,0x61,0x74,0x68])][_0x405205([0x63,0x65,0x69,0x6c])](_0x3976f6/_0x3b23c9)));window[_0x405205([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x405205([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ec407,_0x53e0cc);}function _0x500117(){const _0x2a7489=_0x405205([0x6c,0x6c,0x63,0x74,0x2d])+_0x343a2f(_0x1e339f(_0x245dcd)),_0x7c135d=window[_0x405205([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x405205([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a7489);return _0x7c135d?window[_0x405205([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5982f4(_0x7c135d),0x10)*_0x3b23c9:null;}function _0x29433a(_0x29e3e4){return new window[(_0x405205([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51d336,_0x47c682)=>{_0x29e3e4[_0x405205([0x74,0x68,0x65,0x6e])](_0x51d336,_0x47c682),window[_0x405205([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47c682,0x535e58fa^_0x3f9fee);});}}_0x55e6fa[_0x405205([0x6f,0x6e])](_0x405205([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34d5c2,_0x2375bd)=>{if(_0x2375bd[0x0]!=_0x245dcd)return _0x3dff2e(_0x405205([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2375bd[0x1]={..._0x2375bd[0x1],[_0x405205([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bd496};},{[_0x405205([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x405205([0x68,0x69,0x67,0x68])}),_0x55e6fa[_0x405205([0x6f,0x6e])](_0x405205([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5aa1bc=>{_0x18657b(_0x5aa1bc[_0x405205([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36b190=!0x0,_0x1d4e66(_0x5aa1bc[_0x405205([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x405205([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x405205([0x6c,0x6f,0x77])}),_0x470025[_0x405205([0x74,0x68,0x65,0x6e])](()=>{_0x36b190||_0x3dff2e(_0x405205([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4af14d(){return _0x55e6fa[_0x405205([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x405205([0x76,0x69,0x65,0x77])][_0x405205([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x405205([0x61,0x75,0x74,0x6f]);}function _0x1526b5(){_0x55e6fa[_0x405205([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x405205([0x76,0x69,0x65,0x77])][_0x405205([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x405205([0x61,0x75,0x74,0x6f]);}}function _0x5efe80(_0xa5cfc1){const _0x1c4799=[new window[(_0x405205([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a324=>setTimeout(_0x20a324,0x5356b2f6^_0x3f9fee)),_0x470025[_0x405205([0x74,0x68,0x65,0x6e])](()=>new window[(_0x405205([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a5dd3=>{let _0x296c2c=0x0;_0x55e6fa[_0x405205([0x6d,0x6f,0x64,0x65,0x6c])][_0x405205([0x6f,0x6e])](_0x405205([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d22df,_0x2a5270)=>{_0x2a5270[0x0][_0x405205([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x296c2c++,_0x296c2c==(0x535f8dc2^_0x3f9fee)&&(_0x5a5dd3(),_0x4d22df[_0x405205([0x6f,0x66,0x66])]());});}))];return window[_0x405205([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x405205([0x72,0x61,0x63,0x65])](_0x1c4799)[_0x405205([0x74,0x68,0x65,0x6e])](()=>_0xa5cfc1);}async function _0x24ac23(){await _0x470025,_0x55e6fa[_0x405205([0x6d,0x6f,0x64,0x65,0x6c])][_0x405205([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5783ab,_0x55e6fa[_0x405205([0x6d,0x6f,0x64,0x65,0x6c])][_0x405205([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5783ab,_0x55e6fa[_0x405205([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x405205([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x226271(_0x3abbdc){const _0xa3a1f4=_0x46c1aa();_0x55e6fa[_0xa3a1f4]=_0x405205([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3abbdc,_0x3abbdc!=_0x405205([0x56,0x61,0x6c,0x69,0x64])&&_0x24ac23();}function _0x46c1aa(){const _0x2471a2=window[_0x405205([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x405205([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x405205([0x6e,0x6f,0x77])]())[_0x405205([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x405205([0x2e]),'');let _0x9e5864=_0x405205([0x68]);for(let _0x1617af=0x0;_0x1617af<_0x2471a2[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1617af+=0x2){let _0x2d6af2=window[_0x405205([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2471a2[_0x405205([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1617af,_0x1617af+0x2));_0x2d6af2>=_0x58c7bf[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d6af2-=_0x58c7bf[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9e5864+=_0x58c7bf[_0x2d6af2];}return _0x9e5864;}function _0x42f218(){const _0x2d5a1a=_0x3d3fce[_0x405205([0x73,0x70,0x6c,0x69,0x74])](_0x405205([0x2e]));if(0x3!=_0x2d5a1a[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x536174(_0x2d5a1a[0x1]);function _0x536174(_0x20f6f7){const _0x512182=_0x1cdd3a(_0x20f6f7);return _0x512182&&_0x4930fd()?_0x512182:null;function _0x4930fd(){const _0x274cab=_0x512182[_0x405205([0x6a,0x74,0x69])],_0x3749ed=window[_0x405205([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x274cab[_0x405205([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x274cab[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x552461={..._0x512182,[_0x405205([0x6a,0x74,0x69])]:_0x274cab[_0x405205([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x274cab[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x552461[_0x405205([0x76,0x63])],_0x1e339f(_0x552461)==_0x3749ed;}}}async function _0x49260d(){let _0x234ceb=!0x0;try{const _0x35f783=_0x3d3fce[_0x405205([0x73,0x70,0x6c,0x69,0x74])](_0x405205([0x2e])),[_0x3839e0,_0x49b324,_0x788c3d]=_0x35f783;return _0x2387b6(_0x3839e0),await _0x2365cf(_0x3839e0,_0x49b324,_0x788c3d),_0x234ceb;}catch{return!0x1;}function _0x2387b6(_0x132dc3){const _0x55ae6b=_0x1cdd3a(_0x132dc3);_0x55ae6b&&_0x55ae6b[_0x405205([0x61,0x6c,0x67])]==_0x405205([0x45,0x53,0x32,0x35,0x36])||(_0x234ceb=!0x1);}async function _0x2365cf(_0x7536a3,_0x5d3377,_0x2b511f){const _0x308a8d=window[_0x405205([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x405205([0x66,0x72,0x6f,0x6d])](_0x159332(_0x2b511f),_0x32a61d=>_0x32a61d[_0x405205([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27aab7=new window[(_0x405205([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x405205([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7536a3+_0x405205([0x2e])+_0x5d3377),_0x40b3a2=window[_0x405205([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x405205([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40b3a2)return;const _0x2c7730=await _0x40b3a2[_0x405205([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x405205([0x6a,0x77,0x6b]),_0x2e124b,{[_0x405205([0x6e,0x61,0x6d,0x65])]:_0x405205([0x45,0x43,0x44,0x53,0x41]),[_0x405205([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x405205([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x405205([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40b3a2[_0x405205([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x405205([0x6e,0x61,0x6d,0x65])]:_0x405205([0x45,0x43,0x44,0x53,0x41]),[_0x405205([0x68,0x61,0x73,0x68])]:{[_0x405205([0x6e,0x61,0x6d,0x65])]:_0x405205([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c7730,_0x308a8d,_0x27aab7)||(_0x234ceb=!0x1);}}function _0x1cdd3a(_0x15f98d){return _0x15f98d[_0x405205([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x405205([0x65,0x79]))?JSON[_0x405205([0x70,0x61,0x72,0x73,0x65])](_0x159332(_0x15f98d)):null;}function _0x159332(_0xc2356){return window[_0x405205([0x61,0x74,0x6f,0x62])](_0xc2356[_0x405205([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x405205([0x2b]))[_0x405205([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x405205([0x2f])));}function _0x1e339f(_0x160cbe){let _0x1b5985=0x1505;function _0x1b176a(_0xf58e2e){for(let _0x4e7c72=0x0;_0x4e7c72<_0xf58e2e[_0x405205([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e7c72++){const _0x50a2d2=_0xf58e2e[_0x405205([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e7c72);_0x1b5985=(_0x1b5985<<0x5)+_0x1b5985+_0x50a2d2,_0x1b5985&=_0x1b5985;}}function _0x4a6259(_0x484d9e){Array[_0x405205([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x484d9e)?_0x484d9e[_0x405205([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a6259):_0x484d9e&&typeof _0x484d9e==_0x405205([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x405205([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x484d9e)[_0x405205([0x73,0x6f,0x72,0x74])]()[_0x405205([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d34a3,_0x319ef6])=>{_0x1b176a(_0x3d34a3),_0x4a6259(_0x319ef6);}):_0x1b176a(window[_0x405205([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x484d9e));}return _0x4a6259(_0x160cbe),_0x1b5985>>>0x0;}function _0x343a2f(_0x1f8f7b){return _0x1f8f7b[_0x405205([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x405205([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x405205([0x30]));}function _0x5982f4(_0x2911b2){return _0x2911b2[_0x405205([0x73,0x70,0x6c,0x69,0x74])]('')[_0x405205([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x405205([0x6a,0x6f,0x69,0x6e])]('');}function _0x5783ab(){}function _0x405205(_0xeaf2b){return _0xeaf2b['map'](_0x3c99b6=>String['fromCharCode'](_0x3c99b6))['join']('');}_0x226271(await _0x41b2a9());}(this);}['_initSchema'](){const _0x446138=this['editor']['model']['schema'];_0x446138['isRegistered']('imageBlock')&&_0x446138['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x446138['isRegistered']('imageInline')&&_0x446138['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2d78c6=this['editor'];_0x2d78c6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2d78c6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x15d7b2=>_0x15d7b2['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4b8dfe=_0x2d78c6['commands']['get']('replaceImageSource');_0x4b8dfe&&this['listenTo'](_0x4b8dfe,'cleanupImage',(_0x316305,[_0x308cc1,_0x299b55])=>{_0x308cc1['removeAttribute']('uploadcareImageId',_0x299b55);});}['_initConfig'](){const _0x5f05b4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4395bd=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1ae2c6(_0x5e8dae['document'],'uc-config',{..._0x5f05b4,'pubkey':_0x4395bd,'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']=_0x3213c0=>{if('closeMax'==_0x3213c0)return'#uc-icon-arrow-down';},_0x5e8dae['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1ae2c6(_0x5e8dae['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5e8dae['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x56b373=this['editor']['commands']['get']('insertImage');_0x56b373&&this['listenTo'](_0x56b373,'execute',()=>{const _0x48f850=this['editor']['model']['document']['selection']['getSelectedElement']();_0x48f850&&_0x48f850['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x48f850);});});const _0x200bef=this['editor']['commands']['get']('uploadcareImageReplace');_0x200bef&&this['listenTo'](_0x200bef,'execute',()=>{const _0x405935=this['editor']['model']['document']['selection']['getSelectedElement']();_0x405935&&_0x405935['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x405935);});});}}class tt extends _0x3c1487{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x277f0d){super(_0x277f0d),_0x277f0d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2da02d['defineComponents'](_0x2da02d),this['_defineLocale']();}['_defineLocale'](){const _0x5800ad=this['editor']['config']['get']('uploadcare.locale'),_0x42075c=this['editor']['locale']['contentLanguage'];_0x5800ad&&_0x2da02d['defineLocale'](_0x42075c,_0x5800ad);}}class ii extends _0x1de0c3{constructor(_0x1bf8b6){super(_0x1bf8b6);const t=_0x1bf8b6['t'],_0x36cc95=this['bindTemplate'],_0x32e47d=new _0x28f04f();_0x32e47d['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':[_0x32e47d,{'text':_0x36cc95['to']('imageUploadProgress',_0x203258=>t('Loading\x20image...')+'\x20('+(_0x203258||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 _0x1de0c3{constructor(_0x374555){super(_0x374555);const t=_0x374555['t'];this['set']('errorType',null);const _0x8b6cce=new _0xd0d516(_0x374555);_0x8b6cce['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x8b6cce['withText']=!0x0,_0x8b6cce['class']='ck-button-action',_0x8b6cce['on']('execute',()=>{this['fire']('retry');}),_0x8b6cce['bind']('isVisible')['to'](this,'errorType',_0x1bcbed=>'NotFound'!==_0x1bcbed);const _0x26f46=new _0x4766ec();_0x26f46['content']=_0x20b2f1,_0x26f46['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xdd4876=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':[_0x26f46,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xdd4876['to']('errorType',_0x3e524d=>t('NotFound'!==_0x3e524d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x8b6cce]},{'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 _0x1de0c3{constructor(_0x3b3cd5,_0x5f32d7){super(_0x3b3cd5);const _0x5bcd9a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5f32d7,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5bcd9a['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x28de10,_0x5d0571,_0x410d26){super(_0x28de10),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x28de10),this['_errorView']=new ti(_0x28de10),this['_editingView']=new ei(_0x28de10,_0x410d26),this['_focusableView']=new _0x1de0c3(_0x28de10),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5d0571),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'],_0x335911=>{this['_addUploadcareImageEditorListeners'](_0x335911);});}),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'](_0x19bac1,_0x3306c9){const _0x2f7a61='uc-cloud-image-editor',_0x2026aa=_0x19bac1['querySelector'](_0x2f7a61);if(_0x2026aa)return _0x3306c9(_0x2026aa);const _0x46c9e6=new MutationObserver(_0x6453f0=>{const _0x912186=_0x6453f0['filter'](_0x50235a=>_0x50235a['target']===_0x19bac1&&_0x50235a['addedNodes']['length']>0x0&&_0x50235a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2f7a61);_0x912186['length']&&(_0x46c9e6['disconnect'](),_0x3306c9(_0x912186[0x0]['addedNodes'][0x0]));});_0x46c9e6['observe'](_0x19bac1,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2ad940){_0x2ad940['addEventListener']('apply',_0xbcd468=>{this['fire']('apply',{'imageSrc':_0xbcd468['detail']['cdnUrl']});}),_0x2ad940['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x254191(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x524dae,_0x3726f7,_0x5ea321){super(),this['_editor']=_0x524dae,this['_dialog']=_0x3726f7,this['_imageElement']=_0x5ea321,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 _0x115c66=this['_imageElement'],_0x3f79ae=_0x115c66['getAttribute']('uploadcareImageId'),_0x20e146=_0x115c66['getAttribute']('src');if(_0x3f79ae)await this['_loadImageInfo'](_0x3f79ae,_0x20e146);else{if(this['_imageCache']['has'](_0x20e146)){const _0x56abbe=this['_imageCache']['get'](_0x20e146);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56abbe['url'],this['imageDimension']=_0x56abbe['dimension'],this['imageId']=_0x56abbe['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x23ec3c}=this['_editor'],t=_0x23ec3c['t'],_0x3f5cfd=new X(_0x23ec3c,this['imageStatus'],this['_attributes']);_0x3f5cfd['bind']('status')['to'](this,'imageStatus'),_0x3f5cfd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3f5cfd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3f5cfd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3f5cfd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x107ac3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3f5cfd,'position':_0x2697c2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3f5cfd['focus']();},'onHide':()=>{_0x3f5cfd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3d3e04=>!A(_0x3d3e04,_0x3f5cfd['element'])}});}['_loadImageInfo'](_0x198b64,_0x27a1d4){return j['getInfo'](_0x198b64,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x136a2d=>{const {width:_0x1a3403,height:_0xb8a581}=_0x136a2d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x27a1d4,this['imageDimension']={'width':_0x1a3403,'height':_0xb8a581},this['imageId']=_0x198b64;})['catch'](_0x515136=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x515136['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x278ba7,_0x5d985f){return this['_getImageAsFile'](_0x278ba7)['then'](_0x47b34d=>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':_0x5d985f['signal'],'file':_0x47b34d,'onProgress':_0x246a89=>{_0x246a89&&_0x246a89['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x246a89['value']));}}))['then'](_0x1de2e3=>{const {width:_0x2309b9,height:_0x10c0f5}=_0x1de2e3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1de2e3['cdnUrl'],this['imageDimension']={'width':_0x2309b9,'height':_0x10c0f5},this['imageId']=_0x1de2e3['uuid'],this['imageUploadProgress']=null;const _0x1e68e2=_0x278ba7['getAttribute']('src');this['_imageCache']['set'](_0x1e68e2,{'id':_0x1de2e3['uuid'],'url':_0x1de2e3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2d0538=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2d0538['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2e75e0,_0x326a4d){_0x2e75e0['on']('apply',(_0x5d44db,_0x1a4c96)=>{this['_replaceImage'](_0x326a4d,_0x1a4c96['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2e75e0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2e75e0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2119c0,_0x3814d1,_0x4c2ab8){const _0x58ca7f=this['_editor'],{width:_0x259ec4,height:_0x5ac5e2}=S(_0x3814d1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3a3bf7,imageSources:_0x1b5561}=C(_0x3814d1,_0x259ec4);_0x58ca7f['model']['change'](_0x588dbf=>{if('$graveyard'===_0x2119c0['root']['rootName']){_0x58ca7f['execute']('insertImage',{'imageType':_0x2119c0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2119c0['getAttributes']()),'uploadcareImageId':_0x4c2ab8,'src':_0x3a3bf7,'sources':_0x1b5561,'width':_0x259ec4,'height':_0x5ac5e2}});const _0x145ad4=_0x2119c0['getChildren']();_0x2119c0=_0x58ca7f['model']['document']['selection']['getSelectedElement']();for(const _0x363d2f of _0x145ad4)_0x588dbf['append'](_0x588dbf['cloneElement'](_0x363d2f),_0x2119c0);}else _0x588dbf['setSelection'](_0x2119c0,'on'),_0x58ca7f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2119c0['getAttributes']()),'uploadcareImageId':_0x4c2ab8,'src':_0x3a3bf7,'sources':_0x1b5561,'width':_0x259ec4,'height':_0x5ac5e2},_0x2119c0);_0x588dbf['setSelection'](_0x2119c0,'on');});}async['_getImageAsFile'](_0x1c8350){const _0x35f3d6=_0x5e8dae['window'],_0x3471d9=_0x5e8dae['document']['location']['href'],_0x18d1a3=new _0x35f3d6['URL'](_0x1c8350['getAttribute']('src'),_0x3471d9);if('data:'===_0x18d1a3['protocol']){const _0x4d0d55=_0x18d1a3['href']['split'](','),_0x595581=_0x4d0d55[0x0]['match'](/:(.*?);/)[0x1],_0x25f4ac=_0x595581['split']('/')[0x1],_0x11fbf7=_0x35f3d6['atob'](_0x4d0d55[_0x4d0d55['length']-0x1]);let _0x377310=_0x11fbf7['length'];const _0xe044a=new _0x35f3d6['Uint8Array'](_0x377310);for(;_0x377310--;)_0xe044a[_0x377310]=_0x11fbf7['charCodeAt'](_0x377310);return new _0x35f3d6['File']([_0xe044a],'image.'+_0x25f4ac,{'type':_0x595581});}const _0x11a29c=_0x18d1a3['href']['split']('/'),_0x141bac=_0x11a29c[_0x11a29c['length']-0x1],_0x5b3413=_0x141bac['split']('.')[0x1];return _0x35f3d6['fetch'](_0x18d1a3['href'])['then'](_0x570882=>_0x570882['clone']()['blob']())['then'](_0x1a50aa=>new _0x35f3d6['File']([_0x1a50aa],_0x141bac,{'type':'image/'+_0x5b3413}));}}class O extends _0xed420d{['imageEditController'];static get['requires'](){return[_0x162ab3];}['_isEditable'];constructor(_0x5c7a2b){super(_0x5c7a2b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x24f15a){const _0x59b00b=G(_0x24f15a);return _0x29ce0e=>!(!_0x29ce0e||!_0x29ce0e['is']('element','imageBlock')&&!_0x29ce0e['is']('element','imageInline'))&&(!!_0x29ce0e['hasAttribute']('uploadcareImageId')||!!_0x29ce0e['hasAttribute']('src')&&_0x59b00b(_0x29ce0e['getAttribute']('src')));}(_0x5c7a2b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x26d1b1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x26d1b1);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x17f7a8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x17f7a8&&(_0x17f7a8['is']('element','imageBlock')||_0x17f7a8['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x162ab3),_0x17f7a8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xed420d{['refresh'](){const _0x4f7bdc=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4f7bdc&&(_0x4f7bdc['is']('element','imageBlock')||_0x4f7bdc['is']('element','imageInline')));}['execute'](_0x10a2d7){const _0x5919d7=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2f5c6b=>{_0x2f5c6b['setAttributes'](_0x10a2d7,_0x5919d7),_0x2f5c6b['removeAttribute']('srcset',_0x5919d7),_0x2f5c6b['removeAttribute']('sizes',_0x5919d7);});}}class m extends _0x3c1487{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x180c24,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x50260b}=this;_0x50260b['commands']['add']('uploadcareImageEdit',new O(_0x50260b)),_0x50260b['commands']['add']('uploadcareImageReplace',new R(_0x50260b));}}class g extends _0x3c1487{['_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 _0x472588=this['editor'];_0x472588['ui']['componentFactory']['add']('uploadcareImageEdit',_0x53d47a=>{const _0x38dfed=_0x472588['commands']['get']('uploadcareImageEdit'),_0x29add9=new _0xd0d516(_0x53d47a),t=_0x53d47a['t'];return _0x29add9['set']({'icon':_0x107ac3,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x29add9['bind']('isEnabled')['to'](_0x38dfed),_0x29add9['bind']('isOn')['to'](_0x38dfed,'isActive'),this['listenTo'](_0x29add9,'execute',()=>{_0x472588['execute']('uploadcareImageEdit'),_0x472588['editing']['view']['focus']();}),_0x29add9;}),this['_initConfig']();}['_initConfig'](){const _0x4ddb1a=_0x1ae2c6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4ddb1a),this['listenTo'](this['editor'],'destroy',()=>{_0x4ddb1a['remove']();});}}class et extends _0x3c1487{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 _0x3ba018,Command as _0x9f6c51}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4fee3b,IconGooglePhotos as _0x1be7fd,IconGoogleDrive as _0x14ad76,IconFacebook as _0x5ffbe3,IconDropbox as _0x26ecdf,IconUploadcareLink as _0xb9a571,IconUploadcareImageUpload as _0x41031d,IconError as _0x5982d1,IconUploadcareImageEdit as _0x492800}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5d53c9,MenuBarMenuListItemButtonView as _0x4b1183,View as _0x4d65b1,FocusCycler as _0x21b020,Dialog as _0x1395c3,DialogViewPosition as _0x2152e4,SpinnerView as _0x391b89,IconView as _0x4f4a55,Notification as _0x34cd1c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x24489b,DomEmitterMixin as _0x4f8bd1,global as _0x11e893,getAncestors as _0x554b32,ObservableMixin as _0x2dfaf0,uid as _0x437ba5,createElement as _0x16c64c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xccc9da}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x40f05e,info as _0x490086}from'@uploadcare/upload-client';import*as _0x214642 from'@uploadcare/file-uploader';var i=function(_0x1ff45d){return _0x1ff45d['Local']='local',_0x1ff45d['URL']='url',_0x1ff45d['Dropbox']='dropbox',_0x1ff45d['GDrive']='gdrive',_0x1ff45d['Facebook']='facebook',_0x1ff45d['GPhotos']='gphotos',_0x1ff45d['OneDrive']='onedrive',_0x1ff45d;}({});function _(_0x3b029f,_0x9ade34,_0x47c27f){const t=_0x3b029f['t'],_0xbac574=_0x3b029f['t'];switch(_0x9ade34){case i['Local']:return{'text':_0xbac574('Insert'===_0x47c27f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xbac574('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x47c27f?_0xbac574('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xbac574('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x47c27f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x47c27f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x47c27f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x47c27f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x47c27f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x9ade34;}}class e extends _0x3ba018{['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 _0x2f384d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4e2134;for(const _0x2f0f6c in _0x2f384d){const _0x2b9ba1=_0x2f0f6c,_0x25994c=_0x2f384d[_0x2b9ba1];if('uploadcareLicenseKeyValid'==_0x25994c||'uploadcareLicenseKeyInvalid'==_0x25994c||'uploadcareLicenseKeyExpired'==_0x25994c||'uploadcareLicenseKeyDomainLimit'==_0x25994c||'uploadcareLicenseKeyNotAllowed'==_0x25994c||'uploadcareLicenseKeyEvaluationLimit'==_0x25994c||'uploadcareLicenseKeyTrialLimit'==_0x25994c||'uploadcareLicenseKeyUsageLimit'==_0x25994c){delete _0x2f384d[_0x2b9ba1],_0x4e2134=_0x25994c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4e2134&&_0x2f384d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4e2134&&_0x2f384d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4e2134&&_0x2f384d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4e2134&&_0x2f384d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4e2134&&_0x2f384d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4e2134&&_0x2f384d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4e2134&&_0x2f384d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xe2dae2}=this,_0x4d01ca=_0xe2dae2['commands']['get']('uploadcare');if(!_0x4d01ca)return;const _0x3fd6c0=this['_normalizeConfigSourceList'](_0xe2dae2['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5b59db,_0x4d4253)=>{const _0x41226f=this['_getIntegrationKey'](_0x4d4253['type']);return _0x5b59db[_0x41226f]||(_0x5b59db[_0x41226f]=[]),_0x5b59db[_0x41226f]['push'](_0x4d4253),_0x5b59db;},{});_0xe2dae2['plugins']['has']('ImageInsertUI')&&_0xe2dae2['commands']['get']('uploadcare')&&Object['entries'](_0x3fd6c0)['forEach'](([_0x19d808,_0x59030a])=>{_0xe2dae2['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x19d808,'observable':()=>_0x4d01ca,'buttonViewCreator':()=>this['_createToolbarButton'](_0x59030a),'formViewCreator':()=>this['_createDropdownButtons'](_0x59030a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x59030a),'override':'assetManager'!==_0x19d808});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x339e81){const {locale:_0x128b5e}=this['editor'];return _0x339e81['map'](_0x2bb7ae=>{const _0x5980a9=_(_0x128b5e,_0x2bb7ae,'Insert');switch(_0x2bb7ae){case i['Local']:return{'icon':_0x41031d,'type':i['Local'],..._0x5980a9};case i['URL']:return{'icon':_0xb9a571,'type':i['URL'],..._0x5980a9};case i['Dropbox']:return{'icon':_0x26ecdf,'type':i['Dropbox'],..._0x5980a9};case i['Facebook']:return{'icon':_0x5ffbe3,'type':i['Facebook'],..._0x5980a9};case i['GDrive']:return{'icon':_0x14ad76,'type':i['GDrive'],..._0x5980a9};case i['GPhotos']:return{'icon':_0x1be7fd,'type':i['GPhotos'],..._0x5980a9};case i['OneDrive']:return{'icon':_0x4fee3b,'type':i['OneDrive'],..._0x5980a9};}});}['_getIntegrationKey'](_0xbf0f9f){switch(_0xbf0f9f){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4c04ba,_0x16137c){const _0x2dac26=this['editor'],_0x27182d=new _0x4c04ba(_0x2dac26['locale']),_0x24801b=_0x2dac26['commands']['get']('uploadcare');return _0x27182d['bind']('isEnabled')['to'](_0x24801b),_0x27182d['on']('execute',()=>{_0x24801b['execute'](_0x16137c);}),_0x27182d;}['_createToolbarButton'](_0x4a0dc5){const {locale:_0x2143d6}=this['editor'],_0x43edc5=this['editor']['plugins']['get']('ImageInsertUI'),_0x4163c4=_0x4a0dc5[0x0],_0x53b3f8=this['_createButton'](_0x5d53c9,_0x4163c4['type']);return _0x53b3f8['icon']=_0x4163c4['icon'],_0x53b3f8['bind']('label')['to'](_0x43edc5,'isImageSelected',_0x313d53=>_(_0x2143d6,_0x4163c4['type'],_0x313d53?'Replace':'Insert')['text']),_0x53b3f8['tooltip']=!0x0,_0x53b3f8;}['_createDropdownButtons'](_0x3f2cab){const {locale:_0x2b1850}=this['editor'],_0x2a4cb9=this['editor']['plugins']['get']('ImageInsertUI');return _0x3f2cab['map'](_0x530182=>{const _0x2a7efc=this['_createButton'](_0x5d53c9,_0x530182['type']);return _0x2a7efc['withText']=!0x0,_0x2a7efc['icon']=_0x530182['icon'],_0x2a7efc['bind']('label')['to'](_0x2a4cb9,'isImageSelected',_0x3877e0=>_(_0x2b1850,_0x530182['type'],_0x3877e0?'Replace':'Insert')['text']),_0x2a7efc;});}['_createMenuBarButtons'](_0x54bc56){return _0x54bc56['map'](_0x48ea34=>{const _0x1bdf28=this['_createButton'](_0x4b1183,_0x48ea34['type']);return _0x1bdf28['icon']=_0x48ea34['icon'],_0x1bdf28['label']=_0x48ea34['shortText'],_0x1bdf28;});}}class F extends _0x4d65b1{['focusTracker'];['focusCycler'];constructor(_0x472664){super(_0x472664),this['focusTracker']=new _0x24489b(),this['focusCycler']=new _0x21b020({'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(_0xf020b9,_0x27a2e8){super(_0xf020b9),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-'+_0x27a2e8}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x583097,_0x2b7cf7){const _0x43cc7e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5b8474=>_0x5b8474<=_0x2b7cf7)['map'](_0xa41ab5=>_0x583097['replace'](/\/$/,'')+'/-/resize/'+_0xa41ab5+'x/\x20'+_0xa41ab5+'w');return{'imageFallbackUrl':_0x583097,'imageSources':[{'srcset':_0x43cc7e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2b7cf7+'px)\x20100vw,\x20'+_0x2b7cf7+'px','type':'image/webp'}]};}function S(_0x20efcc,_0x188c62,_0x5bc38c){const _0x5f5216=_0x20efcc['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5f5216?parseInt(_0x5f5216[0x1],0xa):_0x188c62,'height':_0x5f5216?parseInt(_0x5f5216[0x2],0xa):_0x5bc38c};}function p(_0x590632,_0x24dacb){const _0x247de5=new(_0x4f8bd1())(),_0x1a8563=_0x590632['plugins']['get']('ImageUtils'),_0x2c073e=_0x590632['editing']['mapper']['toViewElement'](_0x24dacb),_0x54f650=_0x1a8563['findViewImgElement'](_0x2c073e),_0x539afa=_0x590632['editing']['view']['domConverter']['viewToDom'](_0x54f650),_0x394ae9=_0x24dacb['getAttribute']('width'),_0x28abef=_0x24dacb['getAttribute']('height'),_0x38e879='image-processing';_0x590632['editing']['view']['change'](_0xbf391a=>{_0xbf391a['addClass'](_0x38e879,_0x2c073e),_0xbf391a['setStyle']('aspect-ratio',_0x394ae9+'/'+_0x28abef,_0x54f650);}),_0x247de5['listenTo'](_0x539afa,'load',()=>{_0x247de5['stopListening'](_0x539afa,'load'),_0x590632['editing']['view']['change'](_0x29bfcb=>{_0x29bfcb['removeClass'](_0x38e879,_0x2c073e),_0x29bfcb['removeStyle']('aspect-ratio',_0x54f650);});});}function z(_0x270cb0){if(Array['isArray'](_0x270cb0)){const _0x27a70c=_0x270cb0['map'](z);return _0x11b037=>_0x27a70c['some'](_0x762df2=>_0x762df2(_0x11b037));}if('origin'==_0x270cb0){const _0x5225e8=_0x11e893['window']['location']['origin'];return _0x363e24=>new URL(_0x363e24,_0x11e893['document']['baseURI'])['origin']==_0x5225e8;}return'function'==typeof _0x270cb0?_0x270cb0:_0x270cb0 instanceof RegExp?_0x53487f=>!(!_0x53487f['match'](_0x270cb0)&&!_0x53487f['replace'](/^https?:\/\//,'')['match'](_0x270cb0)):()=>!0x1;}function A(_0x5e9653,_0x56f315){return _0x554b32(_0x5e9653['target'])['includes'](_0x56f315);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x2dfaf0(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5735e9,_0x55d9e7,_0xeb7c14){super(),this['_editor']=_0x5735e9,this['_editing']=_0x55d9e7,this['_dialog']=_0x5735e9['plugins']['get'](_0x1395c3),this['_api']=_0x55d9e7['ctxElement']['getAPI'](),this['_type']=_0xeb7c14,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:_0x26968b,model:_0x46c710}=this['_editor'],_0x32527e=_0x46c710['document']['selection']['getSelectedElement'](),_0x58f54f=_0x32527e&&(_0x32527e['is']('element','imageBlock')||_0x32527e['is']('element','imageInline'));this['_formView']=new x(_0x26968b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x41031d,'title':_(_0x26968b,this['_type'],_0x58f54f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2152e4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x622ba4=>!A(_0x622ba4,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4c5e51}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x17940f=>{const _0x102c6f=_0x4c5e51['length'];for(const _0xaf208 of _0x4c5e51){const _0x2d4c53=_0xaf208===_0x4c5e51[_0x102c6f-0x1],{cdnUrl:_0x3f1e45,fileInfo:_0x3252b4}=_0xaf208;if(!_0x3f1e45||!_0x3252b4)continue;const {width:_0x3514d2,height:_0x57089d}=_0x3252b4['imageInfo'],_0x1a9804=S(_0x3f1e45,_0x3514d2,_0x57089d),_0x6ca649=C(_0x3f1e45,_0x1a9804['width']),_0x2d069d={'id':_0x3252b4['uuid'],'type':'image','attributes':{'imageDimension':_0x1a9804,..._0x6ca649}};this['_insertAsset'](_0x2d069d,_0x2d4c53,_0x17940f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x15b704=>{'idle'===_0x15b704['detail']['status']&&!_0x15b704['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x56d85e,_0x2a92b4,_0x3ac1dd){const _0x43dbce=this['_editor']['model']['document']['selection'],_0x20d894=_0x43dbce['getSelectedElement'](),_0x70053a=!(!_0x20d894||!_0x20d894['is']('element','imageInline'));_0x3ac1dd['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x56d85e,_0x70053a),_0x2a92b4||_0x3ac1dd['setSelection'](_0x43dbce['getLastPosition']());}['_insertImage'](_0x4915a8,_0x5e41bd){const _0x568342=this['_editor'],{imageDimension:_0x443a41,imageFallbackUrl:_0x56f147,imageSources:_0x273ccc}=_0x4915a8['attributes'];_0x568342['execute']('insertImage',{'imageType':_0x5e41bd?'imageInline':null,'source':{'uploadcareImageId':_0x4915a8['id'],'src':_0x56f147,'sources':_0x273ccc,..._0x443a41}});}}class w extends _0x9f6c51{['_editing'];['_controller']=null;static get['requires'](){return[_0x1395c3,o];}constructor(_0x2b12c5){super(_0x2b12c5),this['_editing']=_0x2b12c5['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1987a2){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1987a2);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1f15ea,..._0x59b69a}){return _0x40f05e(_0x1f15ea,_0x59b69a);}static['getInfo'](_0x67ebfd,_0x3717e7){return _0x490086(_0x67ebfd,_0x3717e7);}}class f extends _0x3ba018{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xccc9da,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3a5b19=this['editor'];if(!!!_0x3a5b19['config']['get']('uploadcare'))return;_0x3a5b19['plugins']['get'](_0xccc9da)['createUploadAdapter']=_0x52817c=>new k(_0x52817c,_0x3a5b19),_0x3a5b19['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x20eae8,{imageElement:_0x1ccebf,data:_0x252efe})=>{_0x3a5b19['model']['change'](_0x3abe65=>{_0x3abe65['setAttribute']('uploadcareImageId',_0x252efe['uploadcareImageId'],_0x1ccebf);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x45137c,_0x2fc4a5){this['loader']=_0x45137c,this['editor']=_0x2fc4a5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4fd958=await this['loader']['file'];return j['upload']({'file':_0x4fd958,'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':_0xf604f1=>{_0xf604f1&&_0xf604f1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xf604f1['value']);}})['then'](async _0x5037a4=>{const {imageFallbackUrl:_0x5dd40c,imageSources:_0x1c8815}=C(_0x5037a4['cdnUrl'],_0x5037a4['imageInfo']['width']);return{'uploadcareImageId':_0x5037a4['uuid'],'default':_0x5dd40c,'sources':_0x1c8815};})['catch'](()=>{const _0x2c0a2a=t('Cannot\x20upload\x20file:')+('\x20'+_0x4fd958['name']+'.');return Promise['reject'](_0x2c0a2a);});}['abort'](){this['controller']['abort']();}}class o extends _0x3ba018{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1395c3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x53b156){super(_0x53b156),this['ucContextId']=_0x437ba5();}['init'](){const _0x2b5598=this['editor'];_0x2b5598['commands']['add']('uploadcare',new w(_0x2b5598));}['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 _0x368cb0=_0x11e893['document']['querySelector']('input[uploadcare-file-input]');_0x368cb0&&_0x368cb0['remove']();}),async function(_0x4e9d41){const _0x247278=_0x5c3eac([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]),_0x14b282=0x535f8c3a,_0x3fc548=0x5358fbe2^_0x14b282,_0x269df1=window[_0x5c3eac([0x44,0x61,0x74,0x65])][_0x5c3eac([0x6e,0x6f,0x77])](),_0x4bcb61=_0x4e9d41[_0x5c3eac([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x258436=new window[(_0x5c3eac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ad17b=>{_0x4bcb61[_0x5c3eac([0x6f,0x6e,0x63,0x65])](_0x5c3eac([0x72,0x65,0x61,0x64,0x79]),_0x3ad17b);}),_0x32261c={[_0x5c3eac([0x6b,0x74,0x79])]:_0x5c3eac([0x45,0x43]),[_0x5c3eac([0x75,0x73,0x65])]:_0x5c3eac([0x73,0x69,0x67]),[_0x5c3eac([0x63,0x72,0x76])]:_0x5c3eac([0x50,0x2d,0x32,0x35,0x36]),[_0x5c3eac([0x78])]:_0x5c3eac([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]),[_0x5c3eac([0x79])]:_0x5c3eac([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]),[_0x5c3eac([0x61,0x6c,0x67])]:_0x5c3eac([0x45,0x53,0x32,0x35,0x36])},_0x18ab0d=_0x4bcb61[_0x5c3eac([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c3eac([0x67,0x65,0x74])](_0x5c3eac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe438b3(){let _0x3dbf2b,_0x2e983c=null,_0x4ee266=null;try{if(_0x18ab0d==_0x5c3eac([0x47,0x50,0x4c]))return _0x5c3eac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3dbf2b=_0x4880fa(),!_0x3dbf2b)return _0x5c3eac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3dbf2b[_0x5c3eac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ee266=_0x265635(_0x3dbf2b[_0x5c3eac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3dbf2b[_0x5c3eac([0x6a,0x74,0x69])])),await _0x2c86a8()?_0x474761()?_0x43235e()?_0x5c3eac([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25fb28()?(_0x3dbf2b[_0x5c3eac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c3eac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e983c=_0x2fb57d(_0x5c3eac([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3dbf2b[_0x5c3eac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c3eac([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e983c=_0x2fb57d(_0x5c3eac([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b2112()):_0x5c3eac([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c3eac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c3eac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c3eac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43235e(){const _0x1dc692=[_0x5c3eac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c3eac([0x74,0x72,0x69,0x61,0x6c])][_0x5c3eac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dbf2b[_0x5c3eac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x269df1/0x3e8:0xe10*_0x3fc548;return _0x3dbf2b[_0x5c3eac([0x65,0x78,0x70])]<_0x1dc692;}function _0x474761(){const _0x4d886c=_0x3dbf2b[_0x5c3eac([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d886c&&(!!_0x4d886c[_0x5c3eac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c3eac([0x2a]))||!!_0x4d886c[_0x5c3eac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c3eac([0x55,0x50,0x4c,0x43])));}function _0x25fb28(){const _0x21a2d2=_0x3dbf2b[_0x5c3eac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21a2d2||0x0==_0x21a2d2[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41f4dc}=new URL(window[_0x5c3eac([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x21a2d2[_0x5c3eac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41f4dc))return!0x0;const _0x232c45=_0x41f4dc[_0x5c3eac([0x73,0x70,0x6c,0x69,0x74])](_0x5c3eac([0x2e]));return _0x21a2d2[_0x5c3eac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbee62e=>_0xbee62e[_0x5c3eac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c3eac([0x2a])))[_0x5c3eac([0x6d,0x61,0x70])](_0x5c24eb=>_0x5c24eb[_0x5c3eac([0x73,0x70,0x6c,0x69,0x74])](_0x5c3eac([0x2e])))[_0x5c3eac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32a079=>_0x32a079[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x232c45[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c3eac([0x6d,0x61,0x70])](_0x1bc55c=>Array(_0x232c45[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1bc55c[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c3eac([0x66,0x69,0x6c,0x6c])](_0x1bc55c[0x0]===_0x5c3eac([0x2a])?_0x5c3eac([0x2a]):'')[_0x5c3eac([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1bc55c))[_0x5c3eac([0x73,0x6f,0x6d,0x65])](_0x212013=>_0x232c45[_0x5c3eac([0x65,0x76,0x65,0x72,0x79])]((_0x140f6f,_0x2e5cbf)=>_0x212013[_0x2e5cbf]===_0x140f6f||_0x212013[_0x2e5cbf]===_0x5c3eac([0x2a])));}function _0x3b2112(){return _0x2e983c&&_0x4ee266?new window[(_0x5c3eac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x443311,_0x4ec2f4)=>{_0x2e983c[_0x5c3eac([0x74,0x68,0x65,0x6e])](_0x443311,_0x4ec2f4),_0x4ee266[_0x5c3eac([0x74,0x68,0x65,0x6e])](_0x2b9b6e=>{_0x2b9b6e!=_0x5c3eac([0x56,0x61,0x6c,0x69,0x64])&&_0x443311(_0x2b9b6e);},_0x4ec2f4);}):_0x2e983c||_0x4ee266||_0x5c3eac([0x56,0x61,0x6c,0x69,0x64]);}}function _0x265635(_0x3fc632,_0x14a963){return new window[(_0x5c3eac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2969e3=>{if(_0x1866a9())return _0x2969e3(_0x5c3eac([0x56,0x61,0x6c,0x69,0x64]));_0x4a1b50(),_0x4bcb61[_0x5c3eac([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c3eac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52e76e=!0x1;const _0x4a3f44=_0x437ba5();function _0x52f587(_0x2a8504){return!!_0x2a8504&&(typeof _0x2a8504===_0x5c3eac([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a8504===_0x5c3eac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a8504[_0x5c3eac([0x74,0x68,0x65,0x6e])]===_0x5c3eac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a8504[_0x5c3eac([0x63,0x61,0x74,0x63,0x68])]===_0x5c3eac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f5a19(_0x252fe0){_0x243539(_0x252fe0)[_0x5c3eac([0x74,0x68,0x65,0x6e])](_0x4c9bef=>{if(!_0x4c9bef||_0x4c9bef[_0x5c3eac([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c3eac([0x6f,0x6b]))return _0x5c3eac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f437a(_0x1f0b9b(_0x4a3f44+_0x14a963))!=_0x4c9bef[_0x5c3eac([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c3eac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c3eac([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c3eac([0x74,0x68,0x65,0x6e])](_0x2fad9f=>(_0x2ea710(),_0x2fad9f),()=>{const _0x119118=_0x1d837a();return null==_0x119118?(_0x2ea710(),_0x5c3eac([0x56,0x61,0x6c,0x69,0x64])):_0x5c3eac(_0x269df1-_0x119118>(0x7753083a^_0x14b282)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c3eac([0x74,0x68,0x65,0x6e])](_0x2969e3)[_0x5c3eac([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2969e3(_0x5c3eac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4afd76=0x536962ba^_0x14b282;function _0x2ea710(){const _0x2720a1=_0x5c3eac([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f437a(_0x1f0b9b(_0x3fc632)),_0x3935dc=_0x55c320(_0x1f437a(window[_0x5c3eac([0x4d,0x61,0x74,0x68])][_0x5c3eac([0x63,0x65,0x69,0x6c])](_0x269df1/_0x4afd76)));window[_0x5c3eac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c3eac([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2720a1,_0x3935dc);}function _0x1d837a(){const _0xb6a1e6=_0x5c3eac([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f437a(_0x1f0b9b(_0x3fc632)),_0x278c8b=window[_0x5c3eac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c3eac([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb6a1e6);return _0x278c8b?window[_0x5c3eac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55c320(_0x278c8b),0x10)*_0x4afd76:null;}function _0x243539(_0x57ea7c){return new window[(_0x5c3eac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3866ee,_0x35fe97)=>{_0x57ea7c[_0x5c3eac([0x74,0x68,0x65,0x6e])](_0x3866ee,_0x35fe97),window[_0x5c3eac([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x35fe97,0x535e58fa^_0x14b282);});}}_0x4bcb61[_0x5c3eac([0x6f,0x6e])](_0x5c3eac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x225b23,_0x4c2fb8)=>{if(_0x4c2fb8[0x0]!=_0x3fc632)return _0x2969e3(_0x5c3eac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c2fb8[0x1]={..._0x4c2fb8[0x1],[_0x5c3eac([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a3f44};},{[_0x5c3eac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c3eac([0x68,0x69,0x67,0x68])}),_0x4bcb61[_0x5c3eac([0x6f,0x6e])](_0x5c3eac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bcefa=>{_0x52f587(_0x2bcefa[_0x5c3eac([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52e76e=!0x0,_0x2f5a19(_0x2bcefa[_0x5c3eac([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c3eac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c3eac([0x6c,0x6f,0x77])}),_0x258436[_0x5c3eac([0x74,0x68,0x65,0x6e])](()=>{_0x52e76e||_0x2969e3(_0x5c3eac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1866a9(){return _0x4bcb61[_0x5c3eac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c3eac([0x76,0x69,0x65,0x77])][_0x5c3eac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c3eac([0x61,0x75,0x74,0x6f]);}function _0x4a1b50(){_0x4bcb61[_0x5c3eac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c3eac([0x76,0x69,0x65,0x77])][_0x5c3eac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c3eac([0x61,0x75,0x74,0x6f]);}}function _0x2fb57d(_0x126169){const _0x34f92c=[new window[(_0x5c3eac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434231=>setTimeout(_0x434231,0x5356b2f6^_0x14b282)),_0x258436[_0x5c3eac([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c3eac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2d98=>{let _0x4f4f20=0x0;_0x4bcb61[_0x5c3eac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c3eac([0x6f,0x6e])](_0x5c3eac([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3da41f,_0x447d91)=>{_0x447d91[0x0][_0x5c3eac([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f4f20++,_0x4f4f20==(0x535f8dc2^_0x14b282)&&(_0x4f2d98(),_0x3da41f[_0x5c3eac([0x6f,0x66,0x66])]());});}))];return window[_0x5c3eac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c3eac([0x72,0x61,0x63,0x65])](_0x34f92c)[_0x5c3eac([0x74,0x68,0x65,0x6e])](()=>_0x126169);}async function _0x178e8e(){await _0x258436,_0x4bcb61[_0x5c3eac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c3eac([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1abb55,_0x4bcb61[_0x5c3eac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c3eac([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1abb55,_0x4bcb61[_0x5c3eac([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c3eac([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x341131(_0x4fb4fe){const _0x3d98b8=_0xb7e01e();_0x4bcb61[_0x3d98b8]=_0x5c3eac([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4fb4fe,_0x4fb4fe!=_0x5c3eac([0x56,0x61,0x6c,0x69,0x64])&&_0x178e8e();}function _0xb7e01e(){const _0x1e4207=window[_0x5c3eac([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c3eac([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c3eac([0x6e,0x6f,0x77])]())[_0x5c3eac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c3eac([0x2e]),'');let _0x47af30=_0x5c3eac([0x68]);for(let _0x2eda36=0x0;_0x2eda36<_0x1e4207[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2eda36+=0x2){let _0x4ee7f2=window[_0x5c3eac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e4207[_0x5c3eac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2eda36,_0x2eda36+0x2));_0x4ee7f2>=_0x247278[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ee7f2-=_0x247278[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47af30+=_0x247278[_0x4ee7f2];}return _0x47af30;}function _0x4880fa(){const _0x4313ed=_0x18ab0d[_0x5c3eac([0x73,0x70,0x6c,0x69,0x74])](_0x5c3eac([0x2e]));if(0x3!=_0x4313ed[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x96d6aa(_0x4313ed[0x1]);function _0x96d6aa(_0x24c6a2){const _0x18af27=_0x10b27c(_0x24c6a2);return _0x18af27&&_0x47f94e()?_0x18af27:null;function _0x47f94e(){const _0x5bc88f=_0x18af27[_0x5c3eac([0x6a,0x74,0x69])],_0x110cec=window[_0x5c3eac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bc88f[_0x5c3eac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bc88f[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x446e1b={..._0x18af27,[_0x5c3eac([0x6a,0x74,0x69])]:_0x5bc88f[_0x5c3eac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5bc88f[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x446e1b[_0x5c3eac([0x76,0x63])],_0x1f0b9b(_0x446e1b)==_0x110cec;}}}async function _0x2c86a8(){let _0x5a4991=!0x0;try{const _0x5a1cae=_0x18ab0d[_0x5c3eac([0x73,0x70,0x6c,0x69,0x74])](_0x5c3eac([0x2e])),[_0x52ce4b,_0x2a44e2,_0x59c7a5]=_0x5a1cae;return _0x1a9d25(_0x52ce4b),await _0x4c090f(_0x52ce4b,_0x2a44e2,_0x59c7a5),_0x5a4991;}catch{return!0x1;}function _0x1a9d25(_0x4da29f){const _0x4d0184=_0x10b27c(_0x4da29f);_0x4d0184&&_0x4d0184[_0x5c3eac([0x61,0x6c,0x67])]==_0x5c3eac([0x45,0x53,0x32,0x35,0x36])||(_0x5a4991=!0x1);}async function _0x4c090f(_0x5ceb47,_0x2bf7f2,_0x16a626){const _0x4d0f62=window[_0x5c3eac([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c3eac([0x66,0x72,0x6f,0x6d])](_0xdb4d59(_0x16a626),_0x529f5e=>_0x529f5e[_0x5c3eac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a837d=new window[(_0x5c3eac([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c3eac([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ceb47+_0x5c3eac([0x2e])+_0x2bf7f2),_0x3a871a=window[_0x5c3eac([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c3eac([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a871a)return;const _0x59e61f=await _0x3a871a[_0x5c3eac([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c3eac([0x6a,0x77,0x6b]),_0x32261c,{[_0x5c3eac([0x6e,0x61,0x6d,0x65])]:_0x5c3eac([0x45,0x43,0x44,0x53,0x41]),[_0x5c3eac([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c3eac([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c3eac([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a871a[_0x5c3eac([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c3eac([0x6e,0x61,0x6d,0x65])]:_0x5c3eac([0x45,0x43,0x44,0x53,0x41]),[_0x5c3eac([0x68,0x61,0x73,0x68])]:{[_0x5c3eac([0x6e,0x61,0x6d,0x65])]:_0x5c3eac([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59e61f,_0x4d0f62,_0x1a837d)||(_0x5a4991=!0x1);}}function _0x10b27c(_0x250ea8){return _0x250ea8[_0x5c3eac([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c3eac([0x65,0x79]))?JSON[_0x5c3eac([0x70,0x61,0x72,0x73,0x65])](_0xdb4d59(_0x250ea8)):null;}function _0xdb4d59(_0x13fb9d){return window[_0x5c3eac([0x61,0x74,0x6f,0x62])](_0x13fb9d[_0x5c3eac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c3eac([0x2b]))[_0x5c3eac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c3eac([0x2f])));}function _0x1f0b9b(_0x46f1c0){let _0x5578c7=0x1505;function _0x4bf014(_0x2f608c){for(let _0x567ef7=0x0;_0x567ef7<_0x2f608c[_0x5c3eac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x567ef7++){const _0x572ae4=_0x2f608c[_0x5c3eac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x567ef7);_0x5578c7=(_0x5578c7<<0x5)+_0x5578c7+_0x572ae4,_0x5578c7&=_0x5578c7;}}function _0x581433(_0x103078){Array[_0x5c3eac([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x103078)?_0x103078[_0x5c3eac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x581433):_0x103078&&typeof _0x103078==_0x5c3eac([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c3eac([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x103078)[_0x5c3eac([0x73,0x6f,0x72,0x74])]()[_0x5c3eac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c200b,_0x5f5471])=>{_0x4bf014(_0x3c200b),_0x581433(_0x5f5471);}):_0x4bf014(window[_0x5c3eac([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x103078));}return _0x581433(_0x46f1c0),_0x5578c7>>>0x0;}function _0x1f437a(_0x4c018c){return _0x4c018c[_0x5c3eac([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c3eac([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c3eac([0x30]));}function _0x55c320(_0x49c772){return _0x49c772[_0x5c3eac([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c3eac([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c3eac([0x6a,0x6f,0x69,0x6e])]('');}function _0x1abb55(){}function _0x5c3eac(_0x247a4f){return _0x247a4f['map'](_0x4dd542=>String['fromCharCode'](_0x4dd542))['join']('');}_0x341131(await _0xe438b3());}(this);}['_initSchema'](){const _0x131beb=this['editor']['model']['schema'];_0x131beb['isRegistered']('imageBlock')&&_0x131beb['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x131beb['isRegistered']('imageInline')&&_0x131beb['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x54f738=this['editor'];_0x54f738['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x54f738['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4e9c3a=>_0x4e9c3a['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xa197e0=_0x54f738['commands']['get']('replaceImageSource');_0xa197e0&&this['listenTo'](_0xa197e0,'cleanupImage',(_0x22ed61,[_0x4b251c,_0x159168])=>{_0x4b251c['removeAttribute']('uploadcareImageId',_0x159168);});}['_initConfig'](){const _0x528492=this['editor']['config']['get']('uploadcare.uploader')||{},_0x54408c=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x16c64c(_0x11e893['document'],'uc-config',{..._0x528492,'pubkey':_0x54408c,'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']=_0x8514a9=>{if('closeMax'==_0x8514a9)return'#uc-icon-arrow-down';},_0x11e893['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x16c64c(_0x11e893['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x11e893['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x30c762=this['editor']['commands']['get']('insertImage');_0x30c762&&this['listenTo'](_0x30c762,'execute',()=>{const _0x44fc03=this['editor']['model']['document']['selection']['getSelectedElement']();_0x44fc03&&_0x44fc03['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x44fc03);});});const _0xb3160d=this['editor']['commands']['get']('uploadcareImageReplace');_0xb3160d&&this['listenTo'](_0xb3160d,'execute',()=>{const _0x8d0ae4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x8d0ae4&&_0x8d0ae4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x8d0ae4);});});}}class tt extends _0x3ba018{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4339aa){super(_0x4339aa),_0x4339aa['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x214642['defineComponents'](_0x214642),this['_defineLocale']();}['_defineLocale'](){const _0x681798=this['editor']['config']['get']('uploadcare.locale'),_0xf82b31=this['editor']['locale']['contentLanguage'];_0x681798&&_0x214642['defineLocale'](_0xf82b31,_0x681798);}}class ii extends _0x4d65b1{constructor(_0x4b1d04){super(_0x4b1d04);const t=_0x4b1d04['t'],_0xd38beb=this['bindTemplate'],_0x4db95a=new _0x391b89();_0x4db95a['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':[_0x4db95a,{'text':_0xd38beb['to']('imageUploadProgress',_0x557f76=>t('Loading\x20image...')+'\x20('+(_0x557f76||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 _0x4d65b1{constructor(_0x141d43){super(_0x141d43);const t=_0x141d43['t'];this['set']('errorType',null);const _0x410158=new _0x5d53c9(_0x141d43);_0x410158['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x410158['withText']=!0x0,_0x410158['class']='ck-button-action',_0x410158['on']('execute',()=>{this['fire']('retry');}),_0x410158['bind']('isVisible')['to'](this,'errorType',_0x249b87=>'NotFound'!==_0x249b87);const _0x2db016=new _0x4f4a55();_0x2db016['content']=_0x5982d1,_0x2db016['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x51fcbd=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':[_0x2db016,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x51fcbd['to']('errorType',_0x4d44e6=>t('NotFound'!==_0x4d44e6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x410158]},{'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 _0x4d65b1{constructor(_0x1d2c70,_0x3bf259){super(_0x1d2c70);const _0x129253=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3bf259,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x129253['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1fc96d,_0x3f3dbd,_0x56b957){super(_0x1fc96d),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1fc96d),this['_errorView']=new ti(_0x1fc96d),this['_editingView']=new ei(_0x1fc96d,_0x56b957),this['_focusableView']=new _0x4d65b1(_0x1fc96d),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3f3dbd),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'],_0x2f5c9c=>{this['_addUploadcareImageEditorListeners'](_0x2f5c9c);});}),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'](_0x1af66c,_0x5defd5){const _0x11b5bb='uc-cloud-image-editor',_0x4cb505=_0x1af66c['querySelector'](_0x11b5bb);if(_0x4cb505)return _0x5defd5(_0x4cb505);const _0x1fc80c=new MutationObserver(_0x3e4ab6=>{const _0x4cd729=_0x3e4ab6['filter'](_0x1623e6=>_0x1623e6['target']===_0x1af66c&&_0x1623e6['addedNodes']['length']>0x0&&_0x1623e6['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x11b5bb);_0x4cd729['length']&&(_0x1fc80c['disconnect'](),_0x5defd5(_0x4cd729[0x0]['addedNodes'][0x0]));});_0x1fc80c['observe'](_0x1af66c,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x25d7dd){_0x25d7dd['addEventListener']('apply',_0x48b27b=>{this['fire']('apply',{'imageSrc':_0x48b27b['detail']['cdnUrl']});}),_0x25d7dd['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x2dfaf0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4e1e90,_0x3ddd15,_0x157f20){super(),this['_editor']=_0x4e1e90,this['_dialog']=_0x3ddd15,this['_imageElement']=_0x157f20,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 _0x9f8613=this['_imageElement'],_0x320587=_0x9f8613['getAttribute']('uploadcareImageId'),_0xe9d783=_0x9f8613['getAttribute']('src');if(_0x320587)await this['_loadImageInfo'](_0x320587,_0xe9d783);else{if(this['_imageCache']['has'](_0xe9d783)){const _0x5023d4=this['_imageCache']['get'](_0xe9d783);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5023d4['url'],this['imageDimension']=_0x5023d4['dimension'],this['imageId']=_0x5023d4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3131a5}=this['_editor'],t=_0x3131a5['t'],_0x6ae334=new X(_0x3131a5,this['imageStatus'],this['_attributes']);_0x6ae334['bind']('status')['to'](this,'imageStatus'),_0x6ae334['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x6ae334['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x6ae334['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x6ae334,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x492800,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x6ae334,'position':_0x2152e4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x6ae334['focus']();},'onHide':()=>{_0x6ae334['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x200383=>!A(_0x200383,_0x6ae334['element'])}});}['_loadImageInfo'](_0x52fdbd,_0x5e5190){return j['getInfo'](_0x52fdbd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x182afd=>{const {width:_0x28a186,height:_0xb9b658}=_0x182afd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e5190,this['imageDimension']={'width':_0x28a186,'height':_0xb9b658},this['imageId']=_0x52fdbd;})['catch'](_0x5e3c70=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5e3c70['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3faf7f,_0x2bebb5){return this['_getImageAsFile'](_0x3faf7f)['then'](_0x58a84b=>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':_0x2bebb5['signal'],'file':_0x58a84b,'onProgress':_0x9e75ee=>{_0x9e75ee&&_0x9e75ee['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x9e75ee['value']));}}))['then'](_0x56359b=>{const {width:_0x3a8756,height:_0x2dc43e}=_0x56359b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56359b['cdnUrl'],this['imageDimension']={'width':_0x3a8756,'height':_0x2dc43e},this['imageId']=_0x56359b['uuid'],this['imageUploadProgress']=null;const _0x56593a=_0x3faf7f['getAttribute']('src');this['_imageCache']['set'](_0x56593a,{'id':_0x56359b['uuid'],'url':_0x56359b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5d9276=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5d9276['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1eff7a,_0x5a0656){_0x1eff7a['on']('apply',(_0x149e1c,_0x4ca142)=>{this['_replaceImage'](_0x5a0656,_0x4ca142['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1eff7a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1eff7a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x422731,_0x4d3834,_0x1aa30b){const _0x135746=this['_editor'],{width:_0x1e641f,height:_0x40067c}=S(_0x4d3834,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3dae91,imageSources:_0x423214}=C(_0x4d3834,_0x1e641f);_0x135746['model']['change'](_0x2d257b=>{if('$graveyard'===_0x422731['root']['rootName']){_0x135746['execute']('insertImage',{'imageType':_0x422731['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x422731['getAttributes']()),'uploadcareImageId':_0x1aa30b,'src':_0x3dae91,'sources':_0x423214,'width':_0x1e641f,'height':_0x40067c}});const _0x38ccad=_0x422731['getChildren']();_0x422731=_0x135746['model']['document']['selection']['getSelectedElement']();for(const _0x1f91fb of _0x38ccad)_0x2d257b['append'](_0x2d257b['cloneElement'](_0x1f91fb),_0x422731);}else _0x2d257b['setSelection'](_0x422731,'on'),_0x135746['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x422731['getAttributes']()),'uploadcareImageId':_0x1aa30b,'src':_0x3dae91,'sources':_0x423214,'width':_0x1e641f,'height':_0x40067c},_0x422731);_0x2d257b['setSelection'](_0x422731,'on');});}async['_getImageAsFile'](_0x45027f){const _0x2b39bb=_0x11e893['window'],_0x81211c=_0x11e893['document']['location']['href'],_0x9f0edb=new _0x2b39bb['URL'](_0x45027f['getAttribute']('src'),_0x81211c);if('data:'===_0x9f0edb['protocol']){const _0x5def00=_0x9f0edb['href']['split'](','),_0x2cff07=_0x5def00[0x0]['match'](/:(.*?);/)[0x1],_0x29f74b=_0x2cff07['split']('/')[0x1],_0x5b2fcd=_0x2b39bb['atob'](_0x5def00[_0x5def00['length']-0x1]);let _0x2ee950=_0x5b2fcd['length'];const _0x320268=new _0x2b39bb['Uint8Array'](_0x2ee950);for(;_0x2ee950--;)_0x320268[_0x2ee950]=_0x5b2fcd['charCodeAt'](_0x2ee950);return new _0x2b39bb['File']([_0x320268],'image.'+_0x29f74b,{'type':_0x2cff07});}const _0x7c84fa=_0x9f0edb['href']['split']('/'),_0x5065e4=_0x7c84fa[_0x7c84fa['length']-0x1],_0x370856=_0x5065e4['split']('.')[0x1];return _0x2b39bb['fetch'](_0x9f0edb['href'])['then'](_0x4be2fb=>_0x4be2fb['clone']()['blob']())['then'](_0x12525e=>new _0x2b39bb['File']([_0x12525e],_0x5065e4,{'type':'image/'+_0x370856}));}}class Q extends _0x9f6c51{['imageEditController'];static get['requires'](){return[_0x1395c3];}['_isEditable'];constructor(_0x37ffc7){super(_0x37ffc7),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2252c8){const _0x5c84a9=z(_0x2252c8);return _0x1ced25=>!(!_0x1ced25||!_0x1ced25['is']('element','imageBlock')&&!_0x1ced25['is']('element','imageInline'))&&(!!_0x1ced25['hasAttribute']('uploadcareImageId')||!!_0x1ced25['hasAttribute']('src')&&_0x5c84a9(_0x1ced25['getAttribute']('src')));}(_0x37ffc7['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x583564=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x583564);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xd7703c=this['editor']['model']['document']['selection']['getSelectedElement']();_0xd7703c&&(_0xd7703c['is']('element','imageBlock')||_0xd7703c['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x1395c3),_0xd7703c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x9f6c51{['refresh'](){const _0x31f757=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x31f757&&(_0x31f757['is']('element','imageBlock')||_0x31f757['is']('element','imageInline')));}['execute'](_0x340903){const _0x5269fe=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1b2b23=>{_0x1b2b23['setAttributes'](_0x340903,_0x5269fe),_0x1b2b23['removeAttribute']('srcset',_0x5269fe),_0x1b2b23['removeAttribute']('sizes',_0x5269fe);});}}class m extends _0x3ba018{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x34cd1c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x111cd4}=this;_0x111cd4['commands']['add']('uploadcareImageEdit',new Q(_0x111cd4)),_0x111cd4['commands']['add']('uploadcareImageReplace',new V(_0x111cd4));}}class g extends _0x3ba018{['_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 _0x447e55=this['editor'];_0x447e55['ui']['componentFactory']['add']('uploadcareImageEdit',_0x23071c=>{const _0x309941=_0x447e55['commands']['get']('uploadcareImageEdit'),_0x179c00=new _0x5d53c9(_0x23071c),t=_0x23071c['t'];return _0x179c00['set']({'icon':_0x492800,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x179c00['bind']('isEnabled')['to'](_0x309941),_0x179c00['bind']('isOn')['to'](_0x309941,'isActive'),this['listenTo'](_0x179c00,'execute',()=>{_0x447e55['execute']('uploadcareImageEdit'),_0x447e55['editing']['view']['focus']();}),_0x179c00;}),this['_initConfig']();}['_initConfig'](){const _0x31077c=_0x16c64c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x31077c),this['listenTo'](this['editor'],'destroy',()=>{_0x31077c['remove']();});}}class et extends _0x3ba018{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4d4203=>0x1!=_0x4d4203}};
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':_0x3b2efe=>0x1!=_0x3b2efe}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c60ea=>{const {af:{dictionary:_0x1bb8cd,getPluralForm:_0x31ce14}}={'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':_0x48bc70=>0x1!=_0x48bc70}};_0x3c60ea['af']||={'dictionary':{},'getPluralForm':null},_0x3c60ea['af']['dictionary']=Object['assign'](_0x3c60ea['af']['dictionary'],_0x1bb8cd),_0x3c60ea['af']['getPluralForm']=_0x31ce14;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x38b681=>{const {af:{dictionary:_0x914f8e,getPluralForm:_0x1eac38}}={'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':_0x56ed45=>0x1!=_0x56ed45}};_0x38b681['af']||={'dictionary':{},'getPluralForm':null},_0x38b681['af']['dictionary']=Object['assign'](_0x38b681['af']['dictionary'],_0x914f8e),_0x38b681['af']['getPluralForm']=_0x1eac38;})(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':_0x5a6f29=>0x0==_0x5a6f29?0x0:0x1==_0x5a6f29?0x1:0x2==_0x5a6f29?0x2:_0x5a6f29%0x64>=0x3&&_0x5a6f29%0x64<=0xa?0x3:_0x5a6f29%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':_0xeb48f9=>0x0==_0xeb48f9?0x0:0x1==_0xeb48f9?0x1:0x2==_0xeb48f9?0x2:_0xeb48f9%0x64>=0x3&&_0xeb48f9%0x64<=0xa?0x3:_0xeb48f9%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf2e23f=>{const {ar:{dictionary:_0x1cae69,getPluralForm:_0x41a192}}={'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':_0x255bb8=>0x0==_0x255bb8?0x0:0x1==_0x255bb8?0x1:0x2==_0x255bb8?0x2:_0x255bb8%0x64>=0x3&&_0x255bb8%0x64<=0xa?0x3:_0x255bb8%0x64>=0xb?0x4:0x5}};_0xf2e23f['ar']||={'dictionary':{},'getPluralForm':null},_0xf2e23f['ar']['dictionary']=Object['assign'](_0xf2e23f['ar']['dictionary'],_0x1cae69),_0xf2e23f['ar']['getPluralForm']=_0x41a192;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5987f4=>{const {ar:{dictionary:_0x58cd4e,getPluralForm:_0x385f3d}}={'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':_0x1c2d3d=>0x0==_0x1c2d3d?0x0:0x1==_0x1c2d3d?0x1:0x2==_0x1c2d3d?0x2:_0x1c2d3d%0x64>=0x3&&_0x1c2d3d%0x64<=0xa?0x3:_0x1c2d3d%0x64>=0xb?0x4:0x5}};_0x5987f4['ar']||={'dictionary':{},'getPluralForm':null},_0x5987f4['ar']['dictionary']=Object['assign'](_0x5987f4['ar']['dictionary'],_0x58cd4e),_0x5987f4['ar']['getPluralForm']=_0x385f3d;})(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':_0x4249b6=>0x1!=_0x4249b6}};
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':_0x1f7f3c=>0x1!=_0x1f7f3c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33bbec=>{const {ast:{dictionary:_0x5eadd9,getPluralForm:_0x58e61f}}={'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':_0x3ac10b=>0x1!=_0x3ac10b}};_0x33bbec['ast']||={'dictionary':{},'getPluralForm':null},_0x33bbec['ast']['dictionary']=Object['assign'](_0x33bbec['ast']['dictionary'],_0x5eadd9),_0x33bbec['ast']['getPluralForm']=_0x58e61f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b8834=>{const {ast:{dictionary:_0x248c92,getPluralForm:_0xdb47ba}}={'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':_0x1e3a74=>0x1!=_0x1e3a74}};_0x4b8834['ast']||={'dictionary':{},'getPluralForm':null},_0x4b8834['ast']['dictionary']=Object['assign'](_0x4b8834['ast']['dictionary'],_0x248c92),_0x4b8834['ast']['getPluralForm']=_0xdb47ba;})(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':_0x578509=>0x1!=_0x578509}};
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':_0x122f61=>0x1!=_0x122f61}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4992d1=>{const {az:{dictionary:_0x1f06dd,getPluralForm:_0x4629f0}}={'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':_0x539045=>0x1!=_0x539045}};_0x4992d1['az']||={'dictionary':{},'getPluralForm':null},_0x4992d1['az']['dictionary']=Object['assign'](_0x4992d1['az']['dictionary'],_0x1f06dd),_0x4992d1['az']['getPluralForm']=_0x4629f0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5c3575=>{const {az:{dictionary:_0x2ab44a,getPluralForm:_0x5c7671}}={'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':_0x34a8f4=>0x1!=_0x34a8f4}};_0x5c3575['az']||={'dictionary':{},'getPluralForm':null},_0x5c3575['az']['dictionary']=Object['assign'](_0x5c3575['az']['dictionary'],_0x2ab44a),_0x5c3575['az']['getPluralForm']=_0x5c7671;})(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':_0x229270=>_0x229270%0xa==0x1&&_0x229270%0x64!=0xb?0x0:_0x229270%0xa>=0x2&&_0x229270%0xa<=0x4&&(_0x229270%0x64<0xa||_0x229270%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':_0x4b47a8=>_0x4b47a8%0xa==0x1&&_0x4b47a8%0x64!=0xb?0x0:_0x4b47a8%0xa>=0x2&&_0x4b47a8%0xa<=0x4&&(_0x4b47a8%0x64<0xa||_0x4b47a8%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4f9190=>{const {be:{dictionary:_0x24db0c,getPluralForm:_0x39391b}}={'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':_0x55c743=>_0x55c743%0xa==0x1&&_0x55c743%0x64!=0xb?0x0:_0x55c743%0xa>=0x2&&_0x55c743%0xa<=0x4&&(_0x55c743%0x64<0xa||_0x55c743%0x64>=0x14)?0x1:0x2}};_0x4f9190['be']||={'dictionary':{},'getPluralForm':null},_0x4f9190['be']['dictionary']=Object['assign'](_0x4f9190['be']['dictionary'],_0x24db0c),_0x4f9190['be']['getPluralForm']=_0x39391b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1374e1=>{const {be:{dictionary:_0x3b7f7c,getPluralForm:_0xf09f69}}={'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':_0x192cee=>_0x192cee%0xa==0x1&&_0x192cee%0x64!=0xb?0x0:_0x192cee%0xa>=0x2&&_0x192cee%0xa<=0x4&&(_0x192cee%0x64<0xa||_0x192cee%0x64>=0x14)?0x1:0x2}};_0x1374e1['be']||={'dictionary':{},'getPluralForm':null},_0x1374e1['be']['dictionary']=Object['assign'](_0x1374e1['be']['dictionary'],_0x3b7f7c),_0x1374e1['be']['getPluralForm']=_0xf09f69;})(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':_0x58b6b1=>0x1!=_0x58b6b1}};
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':_0x1207cf=>0x1!=_0x1207cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3bbc59=>{const {bg:{dictionary:_0x3e27e8,getPluralForm:_0x1b9b5b}}={'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':_0x128d5c=>0x1!=_0x128d5c}};_0x3bbc59['bg']||={'dictionary':{},'getPluralForm':null},_0x3bbc59['bg']['dictionary']=Object['assign'](_0x3bbc59['bg']['dictionary'],_0x3e27e8),_0x3bbc59['bg']['getPluralForm']=_0x1b9b5b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x352459=>{const {bg:{dictionary:_0x3c37a3,getPluralForm:_0x48e67f}}={'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':_0x4b4859=>0x1!=_0x4b4859}};_0x352459['bg']||={'dictionary':{},'getPluralForm':null},_0x352459['bg']['dictionary']=Object['assign'](_0x352459['bg']['dictionary'],_0x3c37a3),_0x352459['bg']['getPluralForm']=_0x48e67f;})(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':_0x5e4237=>0x1!=_0x5e4237}};
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':_0x495be6=>0x1!=_0x495be6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c2233=>{const {bn:{dictionary:_0x481b0a,getPluralForm:_0x44463f}}={'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':_0x1365e1=>0x1!=_0x1365e1}};_0x2c2233['bn']||={'dictionary':{},'getPluralForm':null},_0x2c2233['bn']['dictionary']=Object['assign'](_0x2c2233['bn']['dictionary'],_0x481b0a),_0x2c2233['bn']['getPluralForm']=_0x44463f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5a7735=>{const {bn:{dictionary:_0x29095f,getPluralForm:_0x40a9e4}}={'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':_0x2d3e83=>0x1!=_0x2d3e83}};_0x5a7735['bn']||={'dictionary':{},'getPluralForm':null},_0x5a7735['bn']['dictionary']=Object['assign'](_0x5a7735['bn']['dictionary'],_0x29095f),_0x5a7735['bn']['getPluralForm']=_0x40a9e4;})(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':_0x3a5644=>_0x3a5644%0xa==0x1&&_0x3a5644%0x64!=0xb?0x0:_0x3a5644%0xa>=0x2&&_0x3a5644%0xa<=0x4&&(_0x3a5644%0x64<0xa||_0x3a5644%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':_0x2ac127=>_0x2ac127%0xa==0x1&&_0x2ac127%0x64!=0xb?0x0:_0x2ac127%0xa>=0x2&&_0x2ac127%0xa<=0x4&&(_0x2ac127%0x64<0xa||_0x2ac127%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x453a1e=>{const {bs:{dictionary:_0x339d27,getPluralForm:_0x9f75d4}}={'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':_0x83d8e5=>_0x83d8e5%0xa==0x1&&_0x83d8e5%0x64!=0xb?0x0:_0x83d8e5%0xa>=0x2&&_0x83d8e5%0xa<=0x4&&(_0x83d8e5%0x64<0xa||_0x83d8e5%0x64>=0x14)?0x1:0x2}};_0x453a1e['bs']||={'dictionary':{},'getPluralForm':null},_0x453a1e['bs']['dictionary']=Object['assign'](_0x453a1e['bs']['dictionary'],_0x339d27),_0x453a1e['bs']['getPluralForm']=_0x9f75d4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x558b57=>{const {bs:{dictionary:_0x4163da,getPluralForm:_0x4599b9}}={'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':_0x5dd34d=>_0x5dd34d%0xa==0x1&&_0x5dd34d%0x64!=0xb?0x0:_0x5dd34d%0xa>=0x2&&_0x5dd34d%0xa<=0x4&&(_0x5dd34d%0x64<0xa||_0x5dd34d%0x64>=0x14)?0x1:0x2}};_0x558b57['bs']||={'dictionary':{},'getPluralForm':null},_0x558b57['bs']['dictionary']=Object['assign'](_0x558b57['bs']['dictionary'],_0x4163da),_0x558b57['bs']['getPluralForm']=_0x4599b9;})(window['CKEDITOR_TRANSLATIONS']||={});