@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250630.0 → 0.0.0-nightly-20250701.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 _0x570584,Command as _0x31bcb9}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x88f31a,IconGooglePhotos as _0x84fbc,IconGoogleDrive as _0x1ac652,IconFacebook as _0x38dfa9,IconDropbox as _0x1b5d86,IconUploadcareLink as _0x10403a,IconUploadcareImageUpload as _0x5ca10f,IconError as _0x3ece53,IconUploadcareImageEdit as _0x27e0e8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x359938,MenuBarMenuListItemButtonView as _0x55f733,View as _0x1fdb42,FocusCycler as _0x4469d4,Dialog as _0x6c8f89,DialogViewPosition as _0x3cd8f3,SpinnerView as _0x3cf05d,IconView as _0x462416,Notification as _0x25394d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x356e94,DomEmitterMixin as _0x3809ef,global as _0x312e58,getAncestors as _0xf8ac5b,ObservableMixin as _0x5d27aa,uid as _0x1acdf7,createElement as _0x3bc14f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x14be9e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x404a78,info as _0x4532db}from'@uploadcare/upload-client';import*as _0x52d687 from'@uploadcare/file-uploader';var i=function(_0x4065bb){return _0x4065bb['Local']='local',_0x4065bb['URL']='url',_0x4065bb['Dropbox']='dropbox',_0x4065bb['GDrive']='gdrive',_0x4065bb['Facebook']='facebook',_0x4065bb['GPhotos']='gphotos',_0x4065bb['OneDrive']='onedrive',_0x4065bb;}({});function _(_0x416266,_0x2eadd0,_0x2ddbdd){const t=_0x416266['t'],_0x5bab3a=_0x416266['t'];switch(_0x2eadd0){case i['Local']:return{'text':_0x5bab3a('Insert'===_0x2ddbdd?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5bab3a('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2ddbdd?_0x5bab3a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5bab3a('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2ddbdd?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2ddbdd?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2ddbdd?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2ddbdd?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2ddbdd?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2eadd0;}}class e extends _0x570584{['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 _0x4f35bb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x132186;for(const _0x4df0b2 in _0x4f35bb){const _0x28fe3d=_0x4df0b2,_0x397d3e=_0x4f35bb[_0x28fe3d];if('uploadcareLicenseKeyValid'==_0x397d3e||'uploadcareLicenseKeyInvalid'==_0x397d3e||'uploadcareLicenseKeyExpired'==_0x397d3e||'uploadcareLicenseKeyDomainLimit'==_0x397d3e||'uploadcareLicenseKeyNotAllowed'==_0x397d3e||'uploadcareLicenseKeyEvaluationLimit'==_0x397d3e||'uploadcareLicenseKeyTrialLimit'==_0x397d3e||'uploadcareLicenseKeyUsageLimit'==_0x397d3e){delete _0x4f35bb[_0x28fe3d],_0x132186=_0x397d3e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x132186&&_0x4f35bb['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x132186&&_0x4f35bb['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x132186&&_0x4f35bb['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x132186&&_0x4f35bb['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x132186&&_0x4f35bb['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x132186&&_0x4f35bb['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x132186&&_0x4f35bb['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x10d0c7}=this,_0x2158c7=_0x10d0c7['commands']['get']('uploadcare');if(!_0x2158c7)return;const _0x11b789=this['_normalizeConfigSourceList'](_0x10d0c7['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x49de37,_0x479f08)=>{const _0x316ef5=this['_getIntegrationKey'](_0x479f08['type']);return _0x49de37[_0x316ef5]||(_0x49de37[_0x316ef5]=[]),_0x49de37[_0x316ef5]['push'](_0x479f08),_0x49de37;},{});_0x10d0c7['plugins']['has']('ImageInsertUI')&&_0x10d0c7['commands']['get']('uploadcare')&&Object['entries'](_0x11b789)['forEach'](([_0x34a43e,_0x380e44])=>{_0x10d0c7['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x34a43e,'observable':()=>_0x2158c7,'buttonViewCreator':()=>this['_createToolbarButton'](_0x380e44),'formViewCreator':()=>this['_createDropdownButtons'](_0x380e44),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x380e44),'override':'assetManager'!==_0x34a43e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x228cc6){const {locale:_0x1c1cfc}=this['editor'];return _0x228cc6['map'](_0x1d21a6=>{const _0x5935a9=_(_0x1c1cfc,_0x1d21a6,'Insert');switch(_0x1d21a6){case i['Local']:return{'icon':_0x5ca10f,'type':i['Local'],..._0x5935a9};case i['URL']:return{'icon':_0x10403a,'type':i['URL'],..._0x5935a9};case i['Dropbox']:return{'icon':_0x1b5d86,'type':i['Dropbox'],..._0x5935a9};case i['Facebook']:return{'icon':_0x38dfa9,'type':i['Facebook'],..._0x5935a9};case i['GDrive']:return{'icon':_0x1ac652,'type':i['GDrive'],..._0x5935a9};case i['GPhotos']:return{'icon':_0x84fbc,'type':i['GPhotos'],..._0x5935a9};case i['OneDrive']:return{'icon':_0x88f31a,'type':i['OneDrive'],..._0x5935a9};}});}['_getIntegrationKey'](_0x5105ab){switch(_0x5105ab){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x25a174,_0x581b04){const _0xd5829c=this['editor'],_0x2b2c1f=new _0x25a174(_0xd5829c['locale']),_0x153cc9=_0xd5829c['commands']['get']('uploadcare');return _0x2b2c1f['bind']('isEnabled')['to'](_0x153cc9),_0x2b2c1f['on']('execute',()=>{_0x153cc9['execute'](_0x581b04);}),_0x2b2c1f;}['_createToolbarButton'](_0x104469){const {locale:_0x48f684}=this['editor'],_0x2896bc=this['editor']['plugins']['get']('ImageInsertUI'),_0x5697d9=_0x104469[0x0],_0x42a350=this['_createButton'](_0x359938,_0x5697d9['type']);return _0x42a350['icon']=_0x5697d9['icon'],_0x42a350['bind']('label')['to'](_0x2896bc,'isImageSelected',_0x5cdd10=>_(_0x48f684,_0x5697d9['type'],_0x5cdd10?'Replace':'Insert')['text']),_0x42a350['tooltip']=!0x0,_0x42a350;}['_createDropdownButtons'](_0x37672a){const {locale:_0x5503b8}=this['editor'],_0xa234b2=this['editor']['plugins']['get']('ImageInsertUI');return _0x37672a['map'](_0x25f1df=>{const _0x568ef2=this['_createButton'](_0x359938,_0x25f1df['type']);return _0x568ef2['withText']=!0x0,_0x568ef2['icon']=_0x25f1df['icon'],_0x568ef2['bind']('label')['to'](_0xa234b2,'isImageSelected',_0x4e3249=>_(_0x5503b8,_0x25f1df['type'],_0x4e3249?'Replace':'Insert')['text']),_0x568ef2;});}['_createMenuBarButtons'](_0x24a7d3){return _0x24a7d3['map'](_0x3860fa=>{const _0x49320b=this['_createButton'](_0x55f733,_0x3860fa['type']);return _0x49320b['icon']=_0x3860fa['icon'],_0x49320b['label']=_0x3860fa['shortText'],_0x49320b;});}}class F extends _0x1fdb42{['focusTracker'];['focusCycler'];constructor(_0x234fee){super(_0x234fee),this['focusTracker']=new _0x356e94(),this['focusCycler']=new _0x4469d4({'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(_0x53a489,_0x3439b6){super(_0x53a489),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-'+_0x3439b6}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x22eddc,_0x39ba88){const _0x3451f8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xd01ad=>_0xd01ad<=_0x39ba88)['map'](_0x23918f=>_0x22eddc['replace'](/\/$/,'')+'/-/resize/'+_0x23918f+'x/\x20'+_0x23918f+'w');return{'imageFallbackUrl':_0x22eddc,'imageSources':[{'srcset':_0x3451f8['join'](',\x20'),'sizes':'(max-width:\x20'+_0x39ba88+'px)\x20100vw,\x20'+_0x39ba88+'px','type':'image/webp'}]};}function C(_0x11fad2,_0x53c37f,_0x595a99){const _0x8c0d08=_0x11fad2['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x8c0d08?parseInt(_0x8c0d08[0x1],0xa):_0x53c37f,'height':_0x8c0d08?parseInt(_0x8c0d08[0x2],0xa):_0x595a99};}function p(_0x19b6ed,_0x167cfd){const _0x1d8ea9=new(_0x3809ef())(),_0x120631=_0x19b6ed['plugins']['get']('ImageUtils'),_0x43f87f=_0x19b6ed['editing']['mapper']['toViewElement'](_0x167cfd),_0x1238e6=_0x120631['findViewImgElement'](_0x43f87f),_0x1b21ed=_0x19b6ed['editing']['view']['domConverter']['viewToDom'](_0x1238e6),_0x3d9782=_0x167cfd['getAttribute']('width'),_0x3405fe=_0x167cfd['getAttribute']('height'),_0x36f256='image-processing';_0x19b6ed['editing']['view']['change'](_0x347ddb=>{_0x347ddb['addClass'](_0x36f256,_0x43f87f),_0x347ddb['setStyle']('aspect-ratio',_0x3d9782+'/'+_0x3405fe,_0x1238e6);}),_0x1d8ea9['listenTo'](_0x1b21ed,'load',()=>{_0x1d8ea9['stopListening'](_0x1b21ed,'load'),_0x19b6ed['editing']['view']['change'](_0x13fba5=>{_0x13fba5['removeClass'](_0x36f256,_0x43f87f),_0x13fba5['removeStyle']('aspect-ratio',_0x1238e6);});});}function G(_0x5eda7c){if(Array['isArray'](_0x5eda7c)){const _0x403e70=_0x5eda7c['map'](G);return _0x31a50a=>_0x403e70['some'](_0x14a49b=>_0x14a49b(_0x31a50a));}if('origin'==_0x5eda7c){const _0x55ab16=_0x312e58['window']['location']['origin'];return _0x5f3118=>new URL(_0x5f3118,_0x312e58['document']['baseURI'])['origin']==_0x55ab16;}return'function'==typeof _0x5eda7c?_0x5eda7c:_0x5eda7c instanceof RegExp?_0x375fe1=>!(!_0x375fe1['match'](_0x5eda7c)&&!_0x375fe1['replace'](/^https?:\/\//,'')['match'](_0x5eda7c)):()=>!0x1;}function S(_0x334264,_0x3570a1){return _0xf8ac5b(_0x334264['target'])['includes'](_0x3570a1);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5d27aa(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x241c55,_0xeb874d,_0x31ba07){super(),this['_editor']=_0x241c55,this['_editing']=_0xeb874d,this['_dialog']=_0x241c55['plugins']['get'](_0x6c8f89),this['_api']=_0xeb874d['ctxElement']['getAPI'](),this['_type']=_0x31ba07,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:_0x5e79c9,model:_0x498faf}=this['_editor'],_0x574ae4=_0x498faf['document']['selection']['getSelectedElement'](),_0x11d810=_0x574ae4&&(_0x574ae4['is']('element','imageBlock')||_0x574ae4['is']('element','imageInline'));this['_formView']=new x(_0x5e79c9,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5ca10f,'title':_(_0x5e79c9,this['_type'],_0x11d810?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3cd8f3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x14e444=>!S(_0x14e444,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2bf403}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5e2084=>{const _0x348e5a=_0x2bf403['length'];for(const _0x34f2fb of _0x2bf403){const _0x594adf=_0x34f2fb===_0x2bf403[_0x348e5a-0x1],{cdnUrl:_0x5e386d,fileInfo:_0x40a15}=_0x34f2fb;if(!_0x5e386d||!_0x40a15)continue;const {width:_0x1afaab,height:_0x3cb86d}=_0x40a15['imageInfo'],_0x171e6f=C(_0x5e386d,_0x1afaab,_0x3cb86d),_0x2164b6=k(_0x5e386d,_0x171e6f['width']),_0x57dbe8={'id':_0x40a15['uuid'],'type':'image','attributes':{'imageDimension':_0x171e6f,..._0x2164b6}};this['_insertAsset'](_0x57dbe8,_0x594adf,_0x5e2084);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3e4964=>{'idle'===_0x3e4964['detail']['status']&&!_0x3e4964['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x47dac3,_0x10e02c,_0x3b1337){const _0x3d237b=this['_editor']['model']['document']['selection'],_0x50a461=_0x3d237b['getSelectedElement'](),_0x52d686=!(!_0x50a461||!_0x50a461['is']('element','imageInline'));_0x3b1337['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x47dac3,_0x52d686),_0x10e02c||_0x3b1337['setSelection'](_0x3d237b['getLastPosition']());}['_insertImage'](_0x1e14e0,_0x54d867){const _0x384760=this['_editor'],{imageDimension:_0x50e780,imageFallbackUrl:_0x1acf10,imageSources:_0x4f743a}=_0x1e14e0['attributes'];_0x384760['execute']('insertImage',{'imageType':_0x54d867?'imageInline':null,'source':{'uploadcareImageId':_0x1e14e0['id'],'src':_0x1acf10,'sources':_0x4f743a,..._0x50e780}});}}class w extends _0x31bcb9{['_editing'];['_controller']=null;static get['requires'](){return[_0x6c8f89,o];}constructor(_0x12f16c){super(_0x12f16c),this['_editing']=_0x12f16c['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x426074){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x426074);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x51b710,publicKey:_0x232f63,signal:_0x41ff62,onProgress:_0xf7f4d3}){return _0x404a78(_0x51b710,{'publicKey':_0x232f63,'store':'auto','signal':_0x41ff62,'onProgress':_0xf7f4d3});}static['getInfo'](_0x16c3d1,_0x554294){return _0x4532db(_0x16c3d1,_0x554294);}}class f extends _0x570584{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x14be9e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2b53d5=this['editor'];if(!!!_0x2b53d5['config']['get']('uploadcare'))return;_0x2b53d5['plugins']['get'](_0x14be9e)['createUploadAdapter']=_0x2dfb28=>new A(_0x2dfb28,_0x2b53d5),_0x2b53d5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5d93c6,{imageElement:_0x189288,data:_0x3a5e02})=>{_0x2b53d5['model']['change'](_0x1f7951=>{_0x1f7951['setAttribute']('uploadcareImageId',_0x3a5e02['uploadcareImageId'],_0x189288);});});}}class A{['loader'];['editor'];['controller'];constructor(_0xc14127,_0x12d1de){this['loader']=_0xc14127,this['editor']=_0x12d1de,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xf9d837=this['editor']['config']['get']('uploadcare.pubkey'),_0x6efb9c=await this['loader']['file'];return j['upload']({'file':_0x6efb9c,'publicKey':_0xf9d837,'signal':this['controller']['signal'],'onProgress':_0x59e2ae=>{_0x59e2ae&&_0x59e2ae['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x59e2ae['value']);}})['then'](async _0x4de43a=>{const {imageFallbackUrl:_0x111dd3,imageSources:_0x4e79b7}=k(_0x4de43a['cdnUrl'],_0x4de43a['imageInfo']['width']);return{'uploadcareImageId':_0x4de43a['uuid'],'default':_0x111dd3,'sources':_0x4e79b7};})['catch'](()=>{const _0x13538d=t('Cannot\x20upload\x20file:')+('\x20'+_0x6efb9c['name']+'.');return Promise['reject'](_0x13538d);});}['abort'](){this['controller']['abort']();}}class o extends _0x570584{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x6c8f89];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x31b941){super(_0x31b941),this['ucContextId']=_0x1acdf7();}['init'](){const _0x1d86fe=this['editor'];_0x1d86fe['commands']['add']('uploadcare',new w(_0x1d86fe));}['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 _0x1d56c9=_0x312e58['document']['querySelector']('input[uploadcare-file-input]');_0x1d56c9&&_0x1d56c9['remove']();}),async function(_0x529cf1){const _0x50e054=_0x3e574d([0x74,0x44,0x38,0x35,0x30,0x70,0x46,0x63,0x77,0x43,0x65,0x5a,0x51,0x62,0x6c,0x53,0x31,0x68,0x4f,0x75,0x58,0x45,0x4c,0x54,0x48,0x73,0x76,0x6a,0x4b,0x36,0x6b,0x66,0x4e,0x50,0x55,0x69,0x37,0x33,0x6e,0x64,0x4d,0x47,0x61,0x32,0x4a,0x71,0x79,0x72,0x41,0x7a,0x42,0x49,0x78,0x59,0x34,0x56,0x52,0x39,0x6d,0x6f,0x57,0x67]),_0x63a70b=0x1fb4dc0c,_0x22ec5d=0x1fb3b034^_0x63a70b,_0x449585=window[_0x3e574d([0x44,0x61,0x74,0x65])][_0x3e574d([0x6e,0x6f,0x77])](),_0x5183a7=_0x529cf1[_0x3e574d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1bac81=new window[(_0x3e574d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e1d9=>{_0x5183a7[_0x3e574d([0x6f,0x6e,0x63,0x65])](_0x3e574d([0x72,0x65,0x61,0x64,0x79]),_0x34e1d9);}),_0x2c94b5={[_0x3e574d([0x6b,0x74,0x79])]:_0x3e574d([0x45,0x43]),[_0x3e574d([0x75,0x73,0x65])]:_0x3e574d([0x73,0x69,0x67]),[_0x3e574d([0x63,0x72,0x76])]:_0x3e574d([0x50,0x2d,0x32,0x35,0x36]),[_0x3e574d([0x78])]:_0x3e574d([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]),[_0x3e574d([0x79])]:_0x3e574d([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]),[_0x3e574d([0x61,0x6c,0x67])]:_0x3e574d([0x45,0x53,0x32,0x35,0x36])},_0x3181cd=_0x5183a7[_0x3e574d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e574d([0x67,0x65,0x74])](_0x3e574d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x37bae5(){let _0x495fb3,_0x3cdd42=null,_0x2f1a17=null;try{if(_0x3181cd==_0x3e574d([0x47,0x50,0x4c]))return _0x3e574d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x495fb3=_0x2978be(),!_0x495fb3)return _0x3e574d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x495fb3[_0x3e574d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f1a17=_0x19d84c(_0x495fb3[_0x3e574d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x495fb3[_0x3e574d([0x6a,0x74,0x69])])),await _0x1c1982()?_0xd25db9()?_0x511b1e()?_0x3e574d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x586b28()?(_0x495fb3[_0x3e574d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e574d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cdd42=_0x28e322(_0x3e574d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x495fb3[_0x3e574d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e574d([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cdd42=_0x28e322(_0x3e574d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6450bd()):_0x3e574d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e574d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e574d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e574d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x511b1e(){const _0x2083e2=[_0x3e574d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e574d([0x74,0x72,0x69,0x61,0x6c])][_0x3e574d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x495fb3[_0x3e574d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x449585/0x3e8:0xe10*_0x22ec5d;return _0x495fb3[_0x3e574d([0x65,0x78,0x70])]<_0x2083e2;}function _0xd25db9(){const _0x4a999c=_0x495fb3[_0x3e574d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a999c&&(!!_0x4a999c[_0x3e574d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e574d([0x2a]))||!!_0x4a999c[_0x3e574d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e574d([0x55,0x50,0x4c,0x43])));}function _0x586b28(){const _0x42f5f3=_0x495fb3[_0x3e574d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42f5f3||0x0==_0x42f5f3[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c9155}=new URL(window[_0x3e574d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42f5f3[_0x3e574d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9155))return!0x0;const _0x47707d=_0x2c9155[_0x3e574d([0x73,0x70,0x6c,0x69,0x74])](_0x3e574d([0x2e]));return _0x42f5f3[_0x3e574d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x263d54=>_0x263d54[_0x3e574d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e574d([0x2a])))[_0x3e574d([0x6d,0x61,0x70])](_0x4ecf43=>_0x4ecf43[_0x3e574d([0x73,0x70,0x6c,0x69,0x74])](_0x3e574d([0x2e])))[_0x3e574d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x534cbb=>_0x534cbb[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47707d[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e574d([0x6d,0x61,0x70])](_0x509d5a=>Array(_0x47707d[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x509d5a[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e574d([0x66,0x69,0x6c,0x6c])](_0x509d5a[0x0]===_0x3e574d([0x2a])?_0x3e574d([0x2a]):'')[_0x3e574d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x509d5a))[_0x3e574d([0x73,0x6f,0x6d,0x65])](_0x3321b=>_0x47707d[_0x3e574d([0x65,0x76,0x65,0x72,0x79])]((_0x296e5f,_0x54f935)=>_0x3321b[_0x54f935]===_0x296e5f||_0x3321b[_0x54f935]===_0x3e574d([0x2a])));}function _0x6450bd(){return _0x3cdd42&&_0x2f1a17?new window[(_0x3e574d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ae9f7,_0x407f88)=>{_0x3cdd42[_0x3e574d([0x74,0x68,0x65,0x6e])](_0x2ae9f7,_0x407f88),_0x2f1a17[_0x3e574d([0x74,0x68,0x65,0x6e])](_0x8f6972=>{_0x8f6972!=_0x3e574d([0x56,0x61,0x6c,0x69,0x64])&&_0x2ae9f7(_0x8f6972);},_0x407f88);}):_0x3cdd42||_0x2f1a17||_0x3e574d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19d84c(_0x198bb1,_0x41b2e5){return new window[(_0x3e574d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2774a3=>{if(_0x40c646())return _0x2774a3(_0x3e574d([0x56,0x61,0x6c,0x69,0x64]));_0x348d08(),_0x5183a7[_0x3e574d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e574d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28ab54=!0x1;const _0x2ae31a=_0x1acdf7();function _0x1c8272(_0x255e2a){return!!_0x255e2a&&(typeof _0x255e2a===_0x3e574d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x255e2a===_0x3e574d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x255e2a[_0x3e574d([0x74,0x68,0x65,0x6e])]===_0x3e574d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x255e2a[_0x3e574d([0x63,0x61,0x74,0x63,0x68])]===_0x3e574d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30a20d(_0x2b4fed){_0x483bda(_0x2b4fed)[_0x3e574d([0x74,0x68,0x65,0x6e])](_0x27bcbf=>{if(!_0x27bcbf||_0x27bcbf[_0x3e574d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e574d([0x6f,0x6b]))return _0x3e574d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35ad74(_0x5ef8a5(_0x2ae31a+_0x41b2e5))!=_0x27bcbf[_0x3e574d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e574d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e574d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e574d([0x74,0x68,0x65,0x6e])](_0x24ef49=>(_0x42f81f(),_0x24ef49),()=>{const _0x261985=_0x17acbe();return null==_0x261985?(_0x42f81f(),_0x3e574d([0x56,0x61,0x6c,0x69,0x64])):_0x3e574d(_0x449585-_0x261985>(0x3bb8580c^_0x63a70b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e574d([0x74,0x68,0x65,0x6e])](_0x2774a3)[_0x3e574d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2774a3(_0x3e574d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b1834=0x1f82328c^_0x63a70b;function _0x42f81f(){const _0x4b8597=_0x3e574d([0x6c,0x6c,0x63,0x74,0x2d])+_0x35ad74(_0x5ef8a5(_0x198bb1)),_0xde824e=_0x4834b0(_0x35ad74(window[_0x3e574d([0x4d,0x61,0x74,0x68])][_0x3e574d([0x63,0x65,0x69,0x6c])](_0x449585/_0x4b1834)));window[_0x3e574d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e574d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b8597,_0xde824e);}function _0x17acbe(){const _0x4fd628=_0x3e574d([0x6c,0x6c,0x63,0x74,0x2d])+_0x35ad74(_0x5ef8a5(_0x198bb1)),_0x597270=window[_0x3e574d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e574d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fd628);return _0x597270?window[_0x3e574d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4834b0(_0x597270),0x10)*_0x4b1834:null;}function _0x483bda(_0x462c03){return new window[(_0x3e574d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30d575,_0x5958f1)=>{_0x462c03[_0x3e574d([0x74,0x68,0x65,0x6e])](_0x30d575,_0x5958f1),window[_0x3e574d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5958f1,0x1fb508cc^_0x63a70b);});}}_0x5183a7[_0x3e574d([0x6f,0x6e])](_0x3e574d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x217f36,_0x4830dd)=>{if(_0x4830dd[0x0]!=_0x198bb1)return _0x2774a3(_0x3e574d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4830dd[0x1]={..._0x4830dd[0x1],[_0x3e574d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ae31a};},{[_0x3e574d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e574d([0x68,0x69,0x67,0x68])}),_0x5183a7[_0x3e574d([0x6f,0x6e])](_0x3e574d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8dd17a=>{_0x1c8272(_0x8dd17a[_0x3e574d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28ab54=!0x0,_0x30a20d(_0x8dd17a[_0x3e574d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e574d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e574d([0x6c,0x6f,0x77])}),_0x1bac81[_0x3e574d([0x74,0x68,0x65,0x6e])](()=>{_0x28ab54||_0x2774a3(_0x3e574d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x40c646(){return _0x5183a7[_0x3e574d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e574d([0x76,0x69,0x65,0x77])][_0x3e574d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e574d([0x61,0x75,0x74,0x6f]);}function _0x348d08(){_0x5183a7[_0x3e574d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e574d([0x76,0x69,0x65,0x77])][_0x3e574d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e574d([0x61,0x75,0x74,0x6f]);}}function _0x28e322(_0x38a7c1){const _0x3c24db=[new window[(_0x3e574d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x236bab=>setTimeout(_0x236bab,0x1fbde2c0^_0x63a70b)),_0x1bac81[_0x3e574d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e574d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b15b1=>{let _0x42ddce=0x0;_0x5183a7[_0x3e574d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e574d([0x6f,0x6e])](_0x3e574d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19e03e,_0xff2e58)=>{_0xff2e58[0x0][_0x3e574d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42ddce++,_0x42ddce==(0x1fb4ddf4^_0x63a70b)&&(_0x5b15b1(),_0x19e03e[_0x3e574d([0x6f,0x66,0x66])]());});}))];return window[_0x3e574d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e574d([0x72,0x61,0x63,0x65])](_0x3c24db)[_0x3e574d([0x74,0x68,0x65,0x6e])](()=>_0x38a7c1);}async function _0x26922c(){await _0x1bac81,_0x5183a7[_0x3e574d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e574d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f0433,_0x5183a7[_0x3e574d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e574d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f0433,_0x5183a7[_0x3e574d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e574d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x218db1(_0x38359f){const _0x319810=_0x5ef17e();_0x5183a7[_0x319810]=_0x3e574d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38359f,_0x38359f!=_0x3e574d([0x56,0x61,0x6c,0x69,0x64])&&_0x26922c();}function _0x5ef17e(){const _0xf8d792=window[_0x3e574d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e574d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e574d([0x6e,0x6f,0x77])]())[_0x3e574d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e574d([0x2e]),'');let _0x4bd2be=_0x3e574d([0x74]);for(let _0x54544c=0x0;_0x54544c<_0xf8d792[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54544c+=0x2){let _0x126812=window[_0x3e574d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf8d792[_0x3e574d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54544c,_0x54544c+0x2));_0x126812>=_0x50e054[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x126812-=_0x50e054[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4bd2be+=_0x50e054[_0x126812];}return _0x4bd2be;}function _0x2978be(){const _0x1fd5c8=_0x3181cd[_0x3e574d([0x73,0x70,0x6c,0x69,0x74])](_0x3e574d([0x2e]));if(0x3!=_0x1fd5c8[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x218cb9(_0x1fd5c8[0x1]);function _0x218cb9(_0x5edd17){const _0x19dda5=_0x4dc582(_0x5edd17);return _0x19dda5&&_0x377e43()?_0x19dda5:null;function _0x377e43(){const _0x579f9f=_0x19dda5[_0x3e574d([0x6a,0x74,0x69])],_0x9746b3=window[_0x3e574d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x579f9f[_0x3e574d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x579f9f[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1671b9={..._0x19dda5,[_0x3e574d([0x6a,0x74,0x69])]:_0x579f9f[_0x3e574d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x579f9f[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1671b9[_0x3e574d([0x76,0x63])],_0x5ef8a5(_0x1671b9)==_0x9746b3;}}}async function _0x1c1982(){let _0x550600=!0x0;try{const _0x2aa0e6=_0x3181cd[_0x3e574d([0x73,0x70,0x6c,0x69,0x74])](_0x3e574d([0x2e])),[_0x4bc30e,_0x5f53c1,_0x2e559b]=_0x2aa0e6;return _0xa581e(_0x4bc30e),await _0x11e3c4(_0x4bc30e,_0x5f53c1,_0x2e559b),_0x550600;}catch{return!0x1;}function _0xa581e(_0x50409a){const _0x1b121e=_0x4dc582(_0x50409a);_0x1b121e&&_0x1b121e[_0x3e574d([0x61,0x6c,0x67])]==_0x3e574d([0x45,0x53,0x32,0x35,0x36])||(_0x550600=!0x1);}async function _0x11e3c4(_0x2f1ec4,_0x40b097,_0x46b3da){const _0x136452=window[_0x3e574d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e574d([0x66,0x72,0x6f,0x6d])](_0x485e23(_0x46b3da),_0x52be5b=>_0x52be5b[_0x3e574d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e8487=new window[(_0x3e574d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e574d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f1ec4+_0x3e574d([0x2e])+_0x40b097),_0x528005=window[_0x3e574d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e574d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x528005)return;const _0x1c6e6c=await _0x528005[_0x3e574d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e574d([0x6a,0x77,0x6b]),_0x2c94b5,{[_0x3e574d([0x6e,0x61,0x6d,0x65])]:_0x3e574d([0x45,0x43,0x44,0x53,0x41]),[_0x3e574d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e574d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e574d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x528005[_0x3e574d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e574d([0x6e,0x61,0x6d,0x65])]:_0x3e574d([0x45,0x43,0x44,0x53,0x41]),[_0x3e574d([0x68,0x61,0x73,0x68])]:{[_0x3e574d([0x6e,0x61,0x6d,0x65])]:_0x3e574d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c6e6c,_0x136452,_0x5e8487)||(_0x550600=!0x1);}}function _0x4dc582(_0x2042f7){return _0x2042f7[_0x3e574d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e574d([0x65,0x79]))?JSON[_0x3e574d([0x70,0x61,0x72,0x73,0x65])](_0x485e23(_0x2042f7)):null;}function _0x485e23(_0x2293d3){return window[_0x3e574d([0x61,0x74,0x6f,0x62])](_0x2293d3[_0x3e574d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e574d([0x2b]))[_0x3e574d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e574d([0x2f])));}function _0x5ef8a5(_0x47a8be){let _0x4f2b23=0x1505;function _0x34a407(_0x534e19){for(let _0x53c365=0x0;_0x53c365<_0x534e19[_0x3e574d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53c365++){const _0x931db7=_0x534e19[_0x3e574d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53c365);_0x4f2b23=(_0x4f2b23<<0x5)+_0x4f2b23+_0x931db7,_0x4f2b23&=_0x4f2b23;}}function _0x1bb49b(_0x42026b){Array[_0x3e574d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42026b)?_0x42026b[_0x3e574d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bb49b):_0x42026b&&typeof _0x42026b==_0x3e574d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e574d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42026b)[_0x3e574d([0x73,0x6f,0x72,0x74])]()[_0x3e574d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e51c2,_0x2f1855])=>{_0x34a407(_0x1e51c2),_0x1bb49b(_0x2f1855);}):_0x34a407(window[_0x3e574d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42026b));}return _0x1bb49b(_0x47a8be),_0x4f2b23>>>0x0;}function _0x35ad74(_0x165b05){return _0x165b05[_0x3e574d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e574d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e574d([0x30]));}function _0x4834b0(_0x16a4a3){return _0x16a4a3[_0x3e574d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e574d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e574d([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f0433(){}function _0x3e574d(_0x1ff503){return _0x1ff503['map'](_0x13aecc=>String['fromCharCode'](_0x13aecc))['join']('');}_0x218db1(await _0x37bae5());}(this);}['_initSchema'](){const _0x279fd6=this['editor']['model']['schema'];_0x279fd6['isRegistered']('imageBlock')&&_0x279fd6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x279fd6['isRegistered']('imageInline')&&_0x279fd6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1c4887=this['editor'];_0x1c4887['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1c4887['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x892d19=>_0x892d19['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x40af54=_0x1c4887['commands']['get']('replaceImageSource');_0x40af54&&this['listenTo'](_0x40af54,'cleanupImage',(_0x361180,[_0x3fcec7,_0x2f80ed])=>{_0x3fcec7['removeAttribute']('uploadcareImageId',_0x2f80ed);});}['_initConfig'](){const _0x2229d7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x19a82e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3bc14f(_0x312e58['document'],'uc-config',{..._0x2229d7,'pubkey':_0x19a82e,'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']=_0x45b051=>{if('closeMax'==_0x45b051)return'#uc-icon-arrow-down';},_0x312e58['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3bc14f(_0x312e58['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x312e58['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x255c6b=this['editor']['commands']['get']('insertImage');_0x255c6b&&this['listenTo'](_0x255c6b,'execute',()=>{const _0x2f2b32=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2f2b32&&_0x2f2b32['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2f2b32);});});const _0x5bf6c9=this['editor']['commands']['get']('uploadcareImageReplace');_0x5bf6c9&&this['listenTo'](_0x5bf6c9,'execute',()=>{const _0x8fe652=this['editor']['model']['document']['selection']['getSelectedElement']();_0x8fe652&&_0x8fe652['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x8fe652);});});}}class tt extends _0x570584{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e65b5){super(_0x5e65b5),_0x5e65b5['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x52d687['defineComponents'](_0x52d687);}}class ii extends _0x1fdb42{constructor(_0x205676){super(_0x205676);const t=_0x205676['t'],_0x2ac1fb=this['bindTemplate'],_0x29e0f3=new _0x3cf05d();_0x29e0f3['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':[_0x29e0f3,{'text':_0x2ac1fb['to']('imageUploadProgress',_0x3d84ab=>t('Loading\x20image...')+'\x20('+(_0x3d84ab||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 _0x1fdb42{constructor(_0x1c7970){super(_0x1c7970);const t=_0x1c7970['t'];this['set']('errorType',null);const _0x3a3aca=new _0x359938(_0x1c7970);_0x3a3aca['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3a3aca['withText']=!0x0,_0x3a3aca['class']='ck-button-action',_0x3a3aca['on']('execute',()=>{this['fire']('retry');}),_0x3a3aca['bind']('isVisible')['to'](this,'errorType',_0x3e6e72=>'NotFound'!==_0x3e6e72);const _0x8295be=new _0x462416();_0x8295be['content']=_0x3ece53,_0x8295be['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x355346=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':[_0x8295be,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x355346['to']('errorType',_0x50293b=>t('NotFound'!==_0x50293b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3a3aca]},{'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 _0x1fdb42{constructor(_0x1623da,_0x18327d){super(_0x1623da);const _0x5a774b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x18327d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5a774b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xdc1b2e,_0x12624e,_0x14a61d){super(_0xdc1b2e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xdc1b2e),this['_errorView']=new ti(_0xdc1b2e),this['_editingView']=new ei(_0xdc1b2e,_0x14a61d),this['_focusableView']=new _0x1fdb42(_0xdc1b2e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x12624e),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'],_0x328341=>{this['_addUploadcareImageEditorListeners'](_0x328341);});}),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'](_0x4a13a9,_0x54f8d5){const _0x5c343d='uc-cloud-image-editor',_0xdcee2f=_0x4a13a9['querySelector'](_0x5c343d);if(_0xdcee2f)return _0x54f8d5(_0xdcee2f);const _0x46d0b2=new MutationObserver(_0x55ea48=>{const _0x575394=_0x55ea48['filter'](_0x3994d7=>_0x3994d7['target']===_0x4a13a9&&_0x3994d7['addedNodes']['length']>0x0&&_0x3994d7['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5c343d);_0x575394['length']&&(_0x46d0b2['disconnect'](),_0x54f8d5(_0x575394[0x0]['addedNodes'][0x0]));});_0x46d0b2['observe'](_0x4a13a9,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4699a5){_0x4699a5['addEventListener']('apply',_0x45a5fc=>{this['fire']('apply',{'imageSrc':_0x45a5fc['detail']['cdnUrl']});}),_0x4699a5['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5d27aa(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x31216b,_0x151aca,_0x22a35a){super(),this['_editor']=_0x31216b,this['_dialog']=_0x151aca,this['_imageElement']=_0x22a35a,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 _0x10d1bb=this['_imageElement'],_0xb84842=_0x10d1bb['getAttribute']('uploadcareImageId'),_0x36cc05=_0x10d1bb['getAttribute']('src');if(_0xb84842)await this['_loadImageInfo'](_0xb84842,_0x36cc05);else{if(this['_imageCache']['has'](_0x36cc05)){const _0x33428f=this['_imageCache']['get'](_0x36cc05);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x33428f['url'],this['imageDimension']=_0x33428f['dimension'],this['imageId']=_0x33428f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1c883d}=this['_editor'],t=_0x1c883d['t'],_0x41ef22=new X(_0x1c883d,this['imageStatus'],this['_attributes']);_0x41ef22['bind']('status')['to'](this,'imageStatus'),_0x41ef22['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x41ef22['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x41ef22['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x41ef22,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x27e0e8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x41ef22,'position':_0x3cd8f3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x41ef22['focus']();},'onHide':()=>{_0x41ef22['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x22cdbf=>!S(_0x22cdbf,_0x41ef22['element'])}});}['_loadImageInfo'](_0x139a1b,_0x33fb71){return j['getInfo'](_0x139a1b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5c1f35=>{const {width:_0x5816c3,height:_0x235574}=_0x5c1f35['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x33fb71,this['imageDimension']={'width':_0x5816c3,'height':_0x235574},this['imageId']=_0x139a1b;})['catch'](_0x94bf5a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x94bf5a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a93e3,_0x356af8){return this['_getImageAsFile'](_0x4a93e3)['then'](_0x37b5d4=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x356af8['signal'],'file':_0x37b5d4,'onProgress':_0x433fd2=>{_0x433fd2&&_0x433fd2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x433fd2['value']));}}))['then'](_0x1ab995=>{const {width:_0x33760f,height:_0xb0a09c}=_0x1ab995['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1ab995['cdnUrl'],this['imageDimension']={'width':_0x33760f,'height':_0xb0a09c},this['imageId']=_0x1ab995['uuid'],this['imageUploadProgress']=null;const _0x4a3358=_0x4a93e3['getAttribute']('src');this['_imageCache']['set'](_0x4a3358,{'id':_0x1ab995['uuid'],'url':_0x1ab995['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x254e55=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x254e55['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3f0fce,_0x127f47){_0x3f0fce['on']('apply',(_0x7ff897,_0x19f71f)=>{this['_replaceImage'](_0x127f47,_0x19f71f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3f0fce['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3f0fce['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2dfcd4,_0xdff10a,_0x2a7da3){const _0x5c7b05=this['_editor'],{width:_0x2a349d,height:_0x4669d7}=C(_0xdff10a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x157be1,imageSources:_0xc7b9d9}=k(_0xdff10a,_0x2a349d);_0x5c7b05['model']['change'](_0x12fd2b=>{if('$graveyard'===_0x2dfcd4['root']['rootName']){_0x5c7b05['execute']('insertImage',{'imageType':_0x2dfcd4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2dfcd4['getAttributes']()),'uploadcareImageId':_0x2a7da3,'src':_0x157be1,'sources':_0xc7b9d9,'width':_0x2a349d,'height':_0x4669d7}});const _0x3310f1=_0x2dfcd4['getChildren']();_0x2dfcd4=_0x5c7b05['model']['document']['selection']['getSelectedElement']();for(const _0x251fd7 of _0x3310f1)_0x12fd2b['append'](_0x12fd2b['cloneElement'](_0x251fd7),_0x2dfcd4);}else _0x12fd2b['setSelection'](_0x2dfcd4,'on'),_0x5c7b05['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2dfcd4['getAttributes']()),'uploadcareImageId':_0x2a7da3,'src':_0x157be1,'sources':_0xc7b9d9,'width':_0x2a349d,'height':_0x4669d7},_0x2dfcd4);_0x12fd2b['setSelection'](_0x2dfcd4,'on');});}async['_getImageAsFile'](_0x2818d4){const _0x381c06=_0x312e58['window'],_0x2bd33a=_0x312e58['document']['location']['href'],_0x3a45b9=new _0x381c06['URL'](_0x2818d4['getAttribute']('src'),_0x2bd33a);if('data:'===_0x3a45b9['protocol']){const _0x5cf2af=_0x3a45b9['href']['split'](','),_0x4b979c=_0x5cf2af[0x0]['match'](/:(.*?);/)[0x1],_0x36a342=_0x4b979c['split']('/')[0x1],_0xec8f73=_0x381c06['atob'](_0x5cf2af[_0x5cf2af['length']-0x1]);let _0x4bb6ba=_0xec8f73['length'];const _0x492087=new _0x381c06['Uint8Array'](_0x4bb6ba);for(;_0x4bb6ba--;)_0x492087[_0x4bb6ba]=_0xec8f73['charCodeAt'](_0x4bb6ba);return new _0x381c06['File']([_0x492087],'image.'+_0x36a342,{'type':_0x4b979c});}const _0x443ad9=_0x3a45b9['href']['split']('/'),_0x19f97b=_0x443ad9[_0x443ad9['length']-0x1],_0x4b33ba=_0x19f97b['split']('.')[0x1];return _0x381c06['fetch'](_0x3a45b9['href'])['then'](_0x44454b=>_0x44454b['clone']()['blob']())['then'](_0x24ab6c=>new _0x381c06['File']([_0x24ab6c],_0x19f97b,{'type':'image/'+_0x4b33ba}));}}class O extends _0x31bcb9{['imageEditController'];static get['requires'](){return[_0x6c8f89];}['_isEditable'];constructor(_0x4a5845){super(_0x4a5845),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x56f3af){const _0x5ec358=G(_0x56f3af);return _0x1a8333=>!(!_0x1a8333||!_0x1a8333['is']('element','imageBlock')&&!_0x1a8333['is']('element','imageInline'))&&(!!_0x1a8333['hasAttribute']('uploadcareImageId')||!!_0x1a8333['hasAttribute']('src')&&_0x5ec358(_0x1a8333['getAttribute']('src')));}(_0x4a5845['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x37dfc3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x37dfc3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4a3c9e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a3c9e&&(_0x4a3c9e['is']('element','imageBlock')||_0x4a3c9e['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x6c8f89),_0x4a3c9e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x31bcb9{['refresh'](){const _0x7035da=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x7035da&&(_0x7035da['is']('element','imageBlock')||_0x7035da['is']('element','imageInline')));}['execute'](_0x4766e3){const _0x1a93c0=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2fccb6=>{_0x2fccb6['setAttributes'](_0x4766e3,_0x1a93c0),_0x2fccb6['removeAttribute']('srcset',_0x1a93c0),_0x2fccb6['removeAttribute']('sizes',_0x1a93c0);});}}class m extends _0x570584{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x25394d,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2174e4}=this;_0x2174e4['commands']['add']('uploadcareImageEdit',new O(_0x2174e4)),_0x2174e4['commands']['add']('uploadcareImageReplace',new R(_0x2174e4));}}class g extends _0x570584{['_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 _0x1791e2=this['editor'];_0x1791e2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5041e6=>{const _0x41ace8=_0x1791e2['commands']['get']('uploadcareImageEdit'),_0xe7e5b0=new _0x359938(_0x5041e6),t=_0x5041e6['t'];return _0xe7e5b0['set']({'icon':_0x27e0e8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xe7e5b0['bind']('isEnabled')['to'](_0x41ace8),_0xe7e5b0['bind']('isOn')['to'](_0x41ace8,'isActive'),this['listenTo'](_0xe7e5b0,'execute',()=>{_0x1791e2['execute']('uploadcareImageEdit'),_0x1791e2['editing']['view']['focus']();}),_0xe7e5b0;}),this['_initConfig']();}['_initConfig'](){const _0x4c637a=_0x3bc14f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4c637a),this['listenTo'](this['editor'],'destroy',()=>{_0x4c637a['remove']();});}}class et extends _0x570584{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 _0x3d8fdc,Command as _0x55c30a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5d2098,IconGooglePhotos as _0x55cb8f,IconGoogleDrive as _0x34d300,IconFacebook as _0x43b8df,IconDropbox as _0x38b7c6,IconUploadcareLink as _0x52a7da,IconUploadcareImageUpload as _0x4a3e23,IconError as _0x2540b9,IconUploadcareImageEdit as _0xf3f67a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x111c23,MenuBarMenuListItemButtonView as _0x45adb5,View as _0x30a6cf,FocusCycler as _0x21ffa6,Dialog as _0x28ae35,DialogViewPosition as _0x11d848,SpinnerView as _0x5cbeb3,IconView as _0x1e4696,Notification as _0x3b1ae0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x211af4,DomEmitterMixin as _0x2fe842,global as _0x198779,getAncestors as _0x16112c,ObservableMixin as _0x5569ba,uid as _0x2d6f79,createElement as _0x374c4e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3e2cb9}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x193704,info as _0x1be61d}from'@uploadcare/upload-client';import*as _0x427875 from'@uploadcare/file-uploader';var i=function(_0x57f51a){return _0x57f51a['Local']='local',_0x57f51a['URL']='url',_0x57f51a['Dropbox']='dropbox',_0x57f51a['GDrive']='gdrive',_0x57f51a['Facebook']='facebook',_0x57f51a['GPhotos']='gphotos',_0x57f51a['OneDrive']='onedrive',_0x57f51a;}({});function _(_0x45bbe8,_0x527d70,_0x770c15){const t=_0x45bbe8['t'],_0x55a72c=_0x45bbe8['t'];switch(_0x527d70){case i['Local']:return{'text':_0x55a72c('Insert'===_0x770c15?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x55a72c('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x770c15?_0x55a72c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x55a72c('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x770c15?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x770c15?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x770c15?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x770c15?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x770c15?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x527d70;}}class e extends _0x3d8fdc{['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 _0x2fce5f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3228a0;for(const _0x4afc15 in _0x2fce5f){const _0x2e53b7=_0x4afc15,_0x377613=_0x2fce5f[_0x2e53b7];if('uploadcareLicenseKeyValid'==_0x377613||'uploadcareLicenseKeyInvalid'==_0x377613||'uploadcareLicenseKeyExpired'==_0x377613||'uploadcareLicenseKeyDomainLimit'==_0x377613||'uploadcareLicenseKeyNotAllowed'==_0x377613||'uploadcareLicenseKeyEvaluationLimit'==_0x377613||'uploadcareLicenseKeyTrialLimit'==_0x377613||'uploadcareLicenseKeyUsageLimit'==_0x377613){delete _0x2fce5f[_0x2e53b7],_0x3228a0=_0x377613,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3228a0&&_0x2fce5f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3228a0&&_0x2fce5f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3228a0&&_0x2fce5f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3228a0&&_0x2fce5f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3228a0&&_0x2fce5f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3228a0&&_0x2fce5f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3228a0&&_0x2fce5f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5ef064}=this,_0x39c7ec=_0x5ef064['commands']['get']('uploadcare');if(!_0x39c7ec)return;const _0x569c13=this['_normalizeConfigSourceList'](_0x5ef064['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xb41bd1,_0x1de5ec)=>{const _0x3acd2d=this['_getIntegrationKey'](_0x1de5ec['type']);return _0xb41bd1[_0x3acd2d]||(_0xb41bd1[_0x3acd2d]=[]),_0xb41bd1[_0x3acd2d]['push'](_0x1de5ec),_0xb41bd1;},{});_0x5ef064['plugins']['has']('ImageInsertUI')&&_0x5ef064['commands']['get']('uploadcare')&&Object['entries'](_0x569c13)['forEach'](([_0x4c8e8c,_0x29242a])=>{_0x5ef064['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4c8e8c,'observable':()=>_0x39c7ec,'buttonViewCreator':()=>this['_createToolbarButton'](_0x29242a),'formViewCreator':()=>this['_createDropdownButtons'](_0x29242a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x29242a),'override':'assetManager'!==_0x4c8e8c});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3e30e7){const {locale:_0x8e8f3d}=this['editor'];return _0x3e30e7['map'](_0x1fd8e0=>{const _0x2b25a8=_(_0x8e8f3d,_0x1fd8e0,'Insert');switch(_0x1fd8e0){case i['Local']:return{'icon':_0x4a3e23,'type':i['Local'],..._0x2b25a8};case i['URL']:return{'icon':_0x52a7da,'type':i['URL'],..._0x2b25a8};case i['Dropbox']:return{'icon':_0x38b7c6,'type':i['Dropbox'],..._0x2b25a8};case i['Facebook']:return{'icon':_0x43b8df,'type':i['Facebook'],..._0x2b25a8};case i['GDrive']:return{'icon':_0x34d300,'type':i['GDrive'],..._0x2b25a8};case i['GPhotos']:return{'icon':_0x55cb8f,'type':i['GPhotos'],..._0x2b25a8};case i['OneDrive']:return{'icon':_0x5d2098,'type':i['OneDrive'],..._0x2b25a8};}});}['_getIntegrationKey'](_0x50214f){switch(_0x50214f){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1a6975,_0x553409){const _0x552872=this['editor'],_0x48f0b5=new _0x1a6975(_0x552872['locale']),_0x2e6bdb=_0x552872['commands']['get']('uploadcare');return _0x48f0b5['bind']('isEnabled')['to'](_0x2e6bdb),_0x48f0b5['on']('execute',()=>{_0x2e6bdb['execute'](_0x553409);}),_0x48f0b5;}['_createToolbarButton'](_0x1bf805){const {locale:_0x4fb937}=this['editor'],_0xbb2ac2=this['editor']['plugins']['get']('ImageInsertUI'),_0x497632=_0x1bf805[0x0],_0x2aa764=this['_createButton'](_0x111c23,_0x497632['type']);return _0x2aa764['icon']=_0x497632['icon'],_0x2aa764['bind']('label')['to'](_0xbb2ac2,'isImageSelected',_0x3fd8ec=>_(_0x4fb937,_0x497632['type'],_0x3fd8ec?'Replace':'Insert')['text']),_0x2aa764['tooltip']=!0x0,_0x2aa764;}['_createDropdownButtons'](_0x37fedb){const {locale:_0x12fd65}=this['editor'],_0x51d04d=this['editor']['plugins']['get']('ImageInsertUI');return _0x37fedb['map'](_0x11b86a=>{const _0x597e0e=this['_createButton'](_0x111c23,_0x11b86a['type']);return _0x597e0e['withText']=!0x0,_0x597e0e['icon']=_0x11b86a['icon'],_0x597e0e['bind']('label')['to'](_0x51d04d,'isImageSelected',_0x5a7350=>_(_0x12fd65,_0x11b86a['type'],_0x5a7350?'Replace':'Insert')['text']),_0x597e0e;});}['_createMenuBarButtons'](_0x586dce){return _0x586dce['map'](_0x483d78=>{const _0x1e12cc=this['_createButton'](_0x45adb5,_0x483d78['type']);return _0x1e12cc['icon']=_0x483d78['icon'],_0x1e12cc['label']=_0x483d78['shortText'],_0x1e12cc;});}}class F extends _0x30a6cf{['focusTracker'];['focusCycler'];constructor(_0x542bef){super(_0x542bef),this['focusTracker']=new _0x211af4(),this['focusCycler']=new _0x21ffa6({'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(_0xd91a89,_0x55dd30){super(_0xd91a89),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-'+_0x55dd30}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0xb47085,_0x1a62c3){const _0x2f6ab8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x370d1b=>_0x370d1b<=_0x1a62c3)['map'](_0x335348=>_0xb47085['replace'](/\/$/,'')+'/-/resize/'+_0x335348+'x/\x20'+_0x335348+'w');return{'imageFallbackUrl':_0xb47085,'imageSources':[{'srcset':_0x2f6ab8['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1a62c3+'px)\x20100vw,\x20'+_0x1a62c3+'px','type':'image/webp'}]};}function C(_0x4a1065,_0x4d460a,_0x4ef57a){const _0x4d5c11=_0x4a1065['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4d5c11?parseInt(_0x4d5c11[0x1],0xa):_0x4d460a,'height':_0x4d5c11?parseInt(_0x4d5c11[0x2],0xa):_0x4ef57a};}function p(_0xc6ef90,_0xf9f8b){const _0x42c182=new(_0x2fe842())(),_0x261105=_0xc6ef90['plugins']['get']('ImageUtils'),_0x36dffa=_0xc6ef90['editing']['mapper']['toViewElement'](_0xf9f8b),_0x2bacbb=_0x261105['findViewImgElement'](_0x36dffa),_0x49cf75=_0xc6ef90['editing']['view']['domConverter']['viewToDom'](_0x2bacbb),_0x26dbd6=_0xf9f8b['getAttribute']('width'),_0x2b6f71=_0xf9f8b['getAttribute']('height'),_0x4b8c96='image-processing';_0xc6ef90['editing']['view']['change'](_0x58bf46=>{_0x58bf46['addClass'](_0x4b8c96,_0x36dffa),_0x58bf46['setStyle']('aspect-ratio',_0x26dbd6+'/'+_0x2b6f71,_0x2bacbb);}),_0x42c182['listenTo'](_0x49cf75,'load',()=>{_0x42c182['stopListening'](_0x49cf75,'load'),_0xc6ef90['editing']['view']['change'](_0x2ad407=>{_0x2ad407['removeClass'](_0x4b8c96,_0x36dffa),_0x2ad407['removeStyle']('aspect-ratio',_0x2bacbb);});});}function G(_0x3e3555){if(Array['isArray'](_0x3e3555)){const _0x4c5dc0=_0x3e3555['map'](G);return _0x4b5e2f=>_0x4c5dc0['some'](_0x3ca3ed=>_0x3ca3ed(_0x4b5e2f));}if('origin'==_0x3e3555){const _0xe8550d=_0x198779['window']['location']['origin'];return _0x2d09d5=>new URL(_0x2d09d5,_0x198779['document']['baseURI'])['origin']==_0xe8550d;}return'function'==typeof _0x3e3555?_0x3e3555:_0x3e3555 instanceof RegExp?_0x5208b9=>!(!_0x5208b9['match'](_0x3e3555)&&!_0x5208b9['replace'](/^https?:\/\//,'')['match'](_0x3e3555)):()=>!0x1;}function S(_0x3fc176,_0xe61a1d){return _0x16112c(_0x3fc176['target'])['includes'](_0xe61a1d);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x5569ba(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x20e3c7,_0x26337c,_0x4c18be){super(),this['_editor']=_0x20e3c7,this['_editing']=_0x26337c,this['_dialog']=_0x20e3c7['plugins']['get'](_0x28ae35),this['_api']=_0x26337c['ctxElement']['getAPI'](),this['_type']=_0x4c18be,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:_0x3d3c5d,model:_0x10c8f5}=this['_editor'],_0x40e5ae=_0x10c8f5['document']['selection']['getSelectedElement'](),_0xdf496d=_0x40e5ae&&(_0x40e5ae['is']('element','imageBlock')||_0x40e5ae['is']('element','imageInline'));this['_formView']=new x(_0x3d3c5d,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4a3e23,'title':_(_0x3d3c5d,this['_type'],_0xdf496d?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x11d848['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x486bca=>!S(_0x486bca,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x35c3af}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4b1eb0=>{const _0x956d0d=_0x35c3af['length'];for(const _0x27c2df of _0x35c3af){const _0x385a78=_0x27c2df===_0x35c3af[_0x956d0d-0x1],{cdnUrl:_0x141dda,fileInfo:_0x33a461}=_0x27c2df;if(!_0x141dda||!_0x33a461)continue;const {width:_0x506da3,height:_0x42cb7f}=_0x33a461['imageInfo'],_0x500669=C(_0x141dda,_0x506da3,_0x42cb7f),_0x180648=k(_0x141dda,_0x500669['width']),_0x661921={'id':_0x33a461['uuid'],'type':'image','attributes':{'imageDimension':_0x500669,..._0x180648}};this['_insertAsset'](_0x661921,_0x385a78,_0x4b1eb0);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x36458c=>{'idle'===_0x36458c['detail']['status']&&!_0x36458c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x35faef,_0x23ef3a,_0x4e7c3d){const _0x494948=this['_editor']['model']['document']['selection'],_0x200d52=_0x494948['getSelectedElement'](),_0x3e20b6=!(!_0x200d52||!_0x200d52['is']('element','imageInline'));_0x4e7c3d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x35faef,_0x3e20b6),_0x23ef3a||_0x4e7c3d['setSelection'](_0x494948['getLastPosition']());}['_insertImage'](_0x2d081a,_0x595386){const _0x4b9ec2=this['_editor'],{imageDimension:_0x31cdbd,imageFallbackUrl:_0x2d89db,imageSources:_0x591122}=_0x2d081a['attributes'];_0x4b9ec2['execute']('insertImage',{'imageType':_0x595386?'imageInline':null,'source':{'uploadcareImageId':_0x2d081a['id'],'src':_0x2d89db,'sources':_0x591122,..._0x31cdbd}});}}class w extends _0x55c30a{['_editing'];['_controller']=null;static get['requires'](){return[_0x28ae35,o];}constructor(_0x2e1d00){super(_0x2e1d00),this['_editing']=_0x2e1d00['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x9cf205){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x9cf205);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x49e222,publicKey:_0xa9eb53,signal:_0x3bb00c,onProgress:_0x5451f4}){return _0x193704(_0x49e222,{'publicKey':_0xa9eb53,'store':'auto','signal':_0x3bb00c,'onProgress':_0x5451f4});}static['getInfo'](_0x4e4e9e,_0x2507c7){return _0x1be61d(_0x4e4e9e,_0x2507c7);}}class f extends _0x3d8fdc{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3e2cb9,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4575d8=this['editor'];if(!!!_0x4575d8['config']['get']('uploadcare'))return;_0x4575d8['plugins']['get'](_0x3e2cb9)['createUploadAdapter']=_0x209da3=>new A(_0x209da3,_0x4575d8),_0x4575d8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x14a899,{imageElement:_0x190bbc,data:_0xd43a35})=>{_0x4575d8['model']['change'](_0x3a5fc3=>{_0x3a5fc3['setAttribute']('uploadcareImageId',_0xd43a35['uploadcareImageId'],_0x190bbc);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x2ebbb9,_0x44175a){this['loader']=_0x2ebbb9,this['editor']=_0x44175a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x31dc87=this['editor']['config']['get']('uploadcare.pubkey'),_0x2775e0=await this['loader']['file'];return j['upload']({'file':_0x2775e0,'publicKey':_0x31dc87,'signal':this['controller']['signal'],'onProgress':_0x4abd40=>{_0x4abd40&&_0x4abd40['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4abd40['value']);}})['then'](async _0x55a689=>{const {imageFallbackUrl:_0x3f5c32,imageSources:_0xdf8973}=k(_0x55a689['cdnUrl'],_0x55a689['imageInfo']['width']);return{'uploadcareImageId':_0x55a689['uuid'],'default':_0x3f5c32,'sources':_0xdf8973};})['catch'](()=>{const _0x554360=t('Cannot\x20upload\x20file:')+('\x20'+_0x2775e0['name']+'.');return Promise['reject'](_0x554360);});}['abort'](){this['controller']['abort']();}}class o extends _0x3d8fdc{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x28ae35];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1299fd){super(_0x1299fd),this['ucContextId']=_0x2d6f79();}['init'](){const _0x23b05f=this['editor'];_0x23b05f['commands']['add']('uploadcare',new w(_0x23b05f));}['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 _0x3f4f39=_0x198779['document']['querySelector']('input[uploadcare-file-input]');_0x3f4f39&&_0x3f4f39['remove']();}),async function(_0xfee92a){const _0x39143b=_0xe2bda4([0x34,0x55,0x62,0x41,0x73,0x54,0x45,0x38,0x6d,0x75,0x35,0x6e,0x6f,0x44,0x66,0x33,0x31,0x6a,0x43,0x67,0x57,0x6c,0x4a,0x72,0x70,0x52,0x48,0x68,0x61,0x58,0x46,0x36,0x32,0x6b,0x4b,0x4f,0x7a,0x50,0x4c,0x78,0x74,0x63,0x76,0x47,0x30,0x4e,0x56,0x39,0x64,0x79,0x49,0x5a,0x51,0x77,0x4d,0x59,0x71,0x65,0x53,0x42,0x69,0x37]),_0x5341a1=0x1b343a87,_0x34fdb4=0x1b3356d7^_0x5341a1,_0x841b23=window[_0xe2bda4([0x44,0x61,0x74,0x65])][_0xe2bda4([0x6e,0x6f,0x77])](),_0x5eb04e=_0xfee92a[_0xe2bda4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19a9c6=new window[(_0xe2bda4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x568f41=>{_0x5eb04e[_0xe2bda4([0x6f,0x6e,0x63,0x65])](_0xe2bda4([0x72,0x65,0x61,0x64,0x79]),_0x568f41);}),_0x587bca={[_0xe2bda4([0x6b,0x74,0x79])]:_0xe2bda4([0x45,0x43]),[_0xe2bda4([0x75,0x73,0x65])]:_0xe2bda4([0x73,0x69,0x67]),[_0xe2bda4([0x63,0x72,0x76])]:_0xe2bda4([0x50,0x2d,0x32,0x35,0x36]),[_0xe2bda4([0x78])]:_0xe2bda4([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]),[_0xe2bda4([0x79])]:_0xe2bda4([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]),[_0xe2bda4([0x61,0x6c,0x67])]:_0xe2bda4([0x45,0x53,0x32,0x35,0x36])},_0x329eff=_0x5eb04e[_0xe2bda4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe2bda4([0x67,0x65,0x74])](_0xe2bda4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e4cf9(){let _0x3a39c2,_0x5541af=null,_0x20aa5e=null;try{if(_0x329eff==_0xe2bda4([0x47,0x50,0x4c]))return _0xe2bda4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a39c2=_0x26e0ba(),!_0x3a39c2)return _0xe2bda4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a39c2[_0xe2bda4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20aa5e=_0x29eec5(_0x3a39c2[_0xe2bda4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a39c2[_0xe2bda4([0x6a,0x74,0x69])])),await _0x2b9864()?_0x2e7150()?_0x4142df()?_0xe2bda4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe6dbf9()?(_0x3a39c2[_0xe2bda4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe2bda4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5541af=_0x1a66d5(_0xe2bda4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a39c2[_0xe2bda4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe2bda4([0x74,0x72,0x69,0x61,0x6c])&&(_0x5541af=_0x1a66d5(_0xe2bda4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x224667()):_0xe2bda4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe2bda4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe2bda4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe2bda4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4142df(){const _0x413461=[_0xe2bda4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe2bda4([0x74,0x72,0x69,0x61,0x6c])][_0xe2bda4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a39c2[_0xe2bda4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x841b23/0x3e8:0xe10*_0x34fdb4;return _0x3a39c2[_0xe2bda4([0x65,0x78,0x70])]<_0x413461;}function _0x2e7150(){const _0x4d5383=_0x3a39c2[_0xe2bda4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d5383&&(!!_0x4d5383[_0xe2bda4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe2bda4([0x2a]))||!!_0x4d5383[_0xe2bda4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe2bda4([0x55,0x50,0x4c,0x43])));}function _0xe6dbf9(){const _0x425b96=_0x3a39c2[_0xe2bda4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x425b96||0x0==_0x425b96[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x173849}=new URL(window[_0xe2bda4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x425b96[_0xe2bda4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x173849))return!0x0;const _0x1a836f=_0x173849[_0xe2bda4([0x73,0x70,0x6c,0x69,0x74])](_0xe2bda4([0x2e]));return _0x425b96[_0xe2bda4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cd466=>_0x3cd466[_0xe2bda4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe2bda4([0x2a])))[_0xe2bda4([0x6d,0x61,0x70])](_0x5b445a=>_0x5b445a[_0xe2bda4([0x73,0x70,0x6c,0x69,0x74])](_0xe2bda4([0x2e])))[_0xe2bda4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x692652=>_0x692652[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a836f[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe2bda4([0x6d,0x61,0x70])](_0x1b8b7c=>Array(_0x1a836f[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b8b7c[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe2bda4([0x66,0x69,0x6c,0x6c])](_0x1b8b7c[0x0]===_0xe2bda4([0x2a])?_0xe2bda4([0x2a]):'')[_0xe2bda4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b8b7c))[_0xe2bda4([0x73,0x6f,0x6d,0x65])](_0x2677f2=>_0x1a836f[_0xe2bda4([0x65,0x76,0x65,0x72,0x79])]((_0x156231,_0x3a6fb0)=>_0x2677f2[_0x3a6fb0]===_0x156231||_0x2677f2[_0x3a6fb0]===_0xe2bda4([0x2a])));}function _0x224667(){return _0x5541af&&_0x20aa5e?new window[(_0xe2bda4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56196e,_0xe760cc)=>{_0x5541af[_0xe2bda4([0x74,0x68,0x65,0x6e])](_0x56196e,_0xe760cc),_0x20aa5e[_0xe2bda4([0x74,0x68,0x65,0x6e])](_0x396747=>{_0x396747!=_0xe2bda4([0x56,0x61,0x6c,0x69,0x64])&&_0x56196e(_0x396747);},_0xe760cc);}):_0x5541af||_0x20aa5e||_0xe2bda4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x29eec5(_0x3011ed,_0x48b1fd){return new window[(_0xe2bda4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dd983=>{if(_0x38f36d())return _0x2dd983(_0xe2bda4([0x56,0x61,0x6c,0x69,0x64]));_0x1c5963(),_0x5eb04e[_0xe2bda4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe2bda4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x559ae5=!0x1;const _0x14c185=_0x2d6f79();function _0x334391(_0xd8cd2a){return!!_0xd8cd2a&&(typeof _0xd8cd2a===_0xe2bda4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd8cd2a===_0xe2bda4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd8cd2a[_0xe2bda4([0x74,0x68,0x65,0x6e])]===_0xe2bda4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd8cd2a[_0xe2bda4([0x63,0x61,0x74,0x63,0x68])]===_0xe2bda4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f33c9(_0x25a757){_0x4ff1f3(_0x25a757)[_0xe2bda4([0x74,0x68,0x65,0x6e])](_0x5f30fd=>{if(!_0x5f30fd||_0x5f30fd[_0xe2bda4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe2bda4([0x6f,0x6b]))return _0xe2bda4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3de15f(_0x129ebf(_0x14c185+_0x48b1fd))!=_0x5f30fd[_0xe2bda4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe2bda4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe2bda4([0x56,0x61,0x6c,0x69,0x64]);})[_0xe2bda4([0x74,0x68,0x65,0x6e])](_0x54e019=>(_0x1ba8ab(),_0x54e019),()=>{const _0x6285b2=_0x44cccc();return null==_0x6285b2?(_0x1ba8ab(),_0xe2bda4([0x56,0x61,0x6c,0x69,0x64])):_0xe2bda4(_0x841b23-_0x6285b2>(0x3f38be87^_0x5341a1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe2bda4([0x74,0x68,0x65,0x6e])](_0x2dd983)[_0xe2bda4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2dd983(_0xe2bda4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x34b53b=0x1b02d407^_0x5341a1;function _0x1ba8ab(){const _0x504f79=_0xe2bda4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3de15f(_0x129ebf(_0x3011ed)),_0x31bc59=_0x5ecdb0(_0x3de15f(window[_0xe2bda4([0x4d,0x61,0x74,0x68])][_0xe2bda4([0x63,0x65,0x69,0x6c])](_0x841b23/_0x34b53b)));window[_0xe2bda4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe2bda4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x504f79,_0x31bc59);}function _0x44cccc(){const _0x5a3586=_0xe2bda4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3de15f(_0x129ebf(_0x3011ed)),_0x59f98d=window[_0xe2bda4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe2bda4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a3586);return _0x59f98d?window[_0xe2bda4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ecdb0(_0x59f98d),0x10)*_0x34b53b:null;}function _0x4ff1f3(_0x6ccb18){return new window[(_0xe2bda4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bcf67,_0x598177)=>{_0x6ccb18[_0xe2bda4([0x74,0x68,0x65,0x6e])](_0x5bcf67,_0x598177),window[_0xe2bda4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x598177,0x1b35ee47^_0x5341a1);});}}_0x5eb04e[_0xe2bda4([0x6f,0x6e])](_0xe2bda4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x381cd4,_0x50fdd1)=>{if(_0x50fdd1[0x0]!=_0x3011ed)return _0x2dd983(_0xe2bda4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50fdd1[0x1]={..._0x50fdd1[0x1],[_0xe2bda4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14c185};},{[_0xe2bda4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe2bda4([0x68,0x69,0x67,0x68])}),_0x5eb04e[_0xe2bda4([0x6f,0x6e])](_0xe2bda4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f9dd6=>{_0x334391(_0x4f9dd6[_0xe2bda4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x559ae5=!0x0,_0x1f33c9(_0x4f9dd6[_0xe2bda4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe2bda4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe2bda4([0x6c,0x6f,0x77])}),_0x19a9c6[_0xe2bda4([0x74,0x68,0x65,0x6e])](()=>{_0x559ae5||_0x2dd983(_0xe2bda4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38f36d(){return _0x5eb04e[_0xe2bda4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe2bda4([0x76,0x69,0x65,0x77])][_0xe2bda4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe2bda4([0x61,0x75,0x74,0x6f]);}function _0x1c5963(){_0x5eb04e[_0xe2bda4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe2bda4([0x76,0x69,0x65,0x77])][_0xe2bda4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe2bda4([0x61,0x75,0x74,0x6f]);}}function _0x1a66d5(_0x393b3b){const _0x199753=[new window[(_0xe2bda4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d8638=>setTimeout(_0x3d8638,0x1b3d044b^_0x5341a1)),_0x19a9c6[_0xe2bda4([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe2bda4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f237b=>{let _0x1dc132=0x0;_0x5eb04e[_0xe2bda4([0x6d,0x6f,0x64,0x65,0x6c])][_0xe2bda4([0x6f,0x6e])](_0xe2bda4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x387014,_0x24c8d1)=>{_0x24c8d1[0x0][_0xe2bda4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1dc132++,_0x1dc132==(0x1b343b7f^_0x5341a1)&&(_0x4f237b(),_0x387014[_0xe2bda4([0x6f,0x66,0x66])]());});}))];return window[_0xe2bda4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe2bda4([0x72,0x61,0x63,0x65])](_0x199753)[_0xe2bda4([0x74,0x68,0x65,0x6e])](()=>_0x393b3b);}async function _0x149242(){await _0x19a9c6,_0x5eb04e[_0xe2bda4([0x6d,0x6f,0x64,0x65,0x6c])][_0xe2bda4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33b9a2,_0x5eb04e[_0xe2bda4([0x6d,0x6f,0x64,0x65,0x6c])][_0xe2bda4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33b9a2,_0x5eb04e[_0xe2bda4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe2bda4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ecfc0(_0x20aac2){const _0x2bbbc9=_0x2cf34b();_0x5eb04e[_0x2bbbc9]=_0xe2bda4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20aac2,_0x20aac2!=_0xe2bda4([0x56,0x61,0x6c,0x69,0x64])&&_0x149242();}function _0x2cf34b(){const _0x6ee53a=window[_0xe2bda4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe2bda4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe2bda4([0x6e,0x6f,0x77])]())[_0xe2bda4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe2bda4([0x2e]),'');let _0x37b494=_0xe2bda4([0x55]);for(let _0x26c203=0x0;_0x26c203<_0x6ee53a[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26c203+=0x2){let _0x174365=window[_0xe2bda4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6ee53a[_0xe2bda4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26c203,_0x26c203+0x2));_0x174365>=_0x39143b[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x174365-=_0x39143b[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37b494+=_0x39143b[_0x174365];}return _0x37b494;}function _0x26e0ba(){const _0x2deb28=_0x329eff[_0xe2bda4([0x73,0x70,0x6c,0x69,0x74])](_0xe2bda4([0x2e]));if(0x3!=_0x2deb28[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x738997(_0x2deb28[0x1]);function _0x738997(_0x42bbf0){const _0x59047e=_0x2250a0(_0x42bbf0);return _0x59047e&&_0xd0d7dc()?_0x59047e:null;function _0xd0d7dc(){const _0x43b3b2=_0x59047e[_0xe2bda4([0x6a,0x74,0x69])],_0x17cafd=window[_0xe2bda4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43b3b2[_0xe2bda4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43b3b2[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1db756={..._0x59047e,[_0xe2bda4([0x6a,0x74,0x69])]:_0x43b3b2[_0xe2bda4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43b3b2[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1db756[_0xe2bda4([0x76,0x63])],_0x129ebf(_0x1db756)==_0x17cafd;}}}async function _0x2b9864(){let _0x4dce42=!0x0;try{const _0x394f66=_0x329eff[_0xe2bda4([0x73,0x70,0x6c,0x69,0x74])](_0xe2bda4([0x2e])),[_0x5d09a8,_0x30a51a,_0x3abaa1]=_0x394f66;return _0x591a51(_0x5d09a8),await _0x323159(_0x5d09a8,_0x30a51a,_0x3abaa1),_0x4dce42;}catch{return!0x1;}function _0x591a51(_0x4f88ed){const _0x126dff=_0x2250a0(_0x4f88ed);_0x126dff&&_0x126dff[_0xe2bda4([0x61,0x6c,0x67])]==_0xe2bda4([0x45,0x53,0x32,0x35,0x36])||(_0x4dce42=!0x1);}async function _0x323159(_0x125ef9,_0x4e4428,_0x283e1c){const _0x548306=window[_0xe2bda4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe2bda4([0x66,0x72,0x6f,0x6d])](_0x514f99(_0x283e1c),_0x562c51=>_0x562c51[_0xe2bda4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36c670=new window[(_0xe2bda4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe2bda4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x125ef9+_0xe2bda4([0x2e])+_0x4e4428),_0x18edca=window[_0xe2bda4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe2bda4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x18edca)return;const _0x544ff2=await _0x18edca[_0xe2bda4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe2bda4([0x6a,0x77,0x6b]),_0x587bca,{[_0xe2bda4([0x6e,0x61,0x6d,0x65])]:_0xe2bda4([0x45,0x43,0x44,0x53,0x41]),[_0xe2bda4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe2bda4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe2bda4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x18edca[_0xe2bda4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe2bda4([0x6e,0x61,0x6d,0x65])]:_0xe2bda4([0x45,0x43,0x44,0x53,0x41]),[_0xe2bda4([0x68,0x61,0x73,0x68])]:{[_0xe2bda4([0x6e,0x61,0x6d,0x65])]:_0xe2bda4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x544ff2,_0x548306,_0x36c670)||(_0x4dce42=!0x1);}}function _0x2250a0(_0x1dbcbc){return _0x1dbcbc[_0xe2bda4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe2bda4([0x65,0x79]))?JSON[_0xe2bda4([0x70,0x61,0x72,0x73,0x65])](_0x514f99(_0x1dbcbc)):null;}function _0x514f99(_0x41e6df){return window[_0xe2bda4([0x61,0x74,0x6f,0x62])](_0x41e6df[_0xe2bda4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe2bda4([0x2b]))[_0xe2bda4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe2bda4([0x2f])));}function _0x129ebf(_0x4837d6){let _0x3c90c6=0x1505;function _0x55b232(_0x5121db){for(let _0x111a92=0x0;_0x111a92<_0x5121db[_0xe2bda4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x111a92++){const _0x1c9eed=_0x5121db[_0xe2bda4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x111a92);_0x3c90c6=(_0x3c90c6<<0x5)+_0x3c90c6+_0x1c9eed,_0x3c90c6&=_0x3c90c6;}}function _0x22539b(_0x33e59a){Array[_0xe2bda4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33e59a)?_0x33e59a[_0xe2bda4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22539b):_0x33e59a&&typeof _0x33e59a==_0xe2bda4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe2bda4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33e59a)[_0xe2bda4([0x73,0x6f,0x72,0x74])]()[_0xe2bda4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x158bad,_0x3cb190])=>{_0x55b232(_0x158bad),_0x22539b(_0x3cb190);}):_0x55b232(window[_0xe2bda4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33e59a));}return _0x22539b(_0x4837d6),_0x3c90c6>>>0x0;}function _0x3de15f(_0x81b149){return _0x81b149[_0xe2bda4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe2bda4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe2bda4([0x30]));}function _0x5ecdb0(_0x59ed5b){return _0x59ed5b[_0xe2bda4([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe2bda4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe2bda4([0x6a,0x6f,0x69,0x6e])]('');}function _0x33b9a2(){}function _0xe2bda4(_0xef5c49){return _0xef5c49['map'](_0x323878=>String['fromCharCode'](_0x323878))['join']('');}_0x1ecfc0(await _0x5e4cf9());}(this);}['_initSchema'](){const _0x52c9f4=this['editor']['model']['schema'];_0x52c9f4['isRegistered']('imageBlock')&&_0x52c9f4['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x52c9f4['isRegistered']('imageInline')&&_0x52c9f4['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1d7e75=this['editor'];_0x1d7e75['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1d7e75['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5b52a7=>_0x5b52a7['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x14b10c=_0x1d7e75['commands']['get']('replaceImageSource');_0x14b10c&&this['listenTo'](_0x14b10c,'cleanupImage',(_0x334b0c,[_0x311308,_0x533516])=>{_0x311308['removeAttribute']('uploadcareImageId',_0x533516);});}['_initConfig'](){const _0xc6580b=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1386d7=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x374c4e(_0x198779['document'],'uc-config',{..._0xc6580b,'pubkey':_0x1386d7,'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']=_0x30e926=>{if('closeMax'==_0x30e926)return'#uc-icon-arrow-down';},_0x198779['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x374c4e(_0x198779['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x198779['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3e0141=this['editor']['commands']['get']('insertImage');_0x3e0141&&this['listenTo'](_0x3e0141,'execute',()=>{const _0x2d2346=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2d2346&&_0x2d2346['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2d2346);});});const _0x5e8828=this['editor']['commands']['get']('uploadcareImageReplace');_0x5e8828&&this['listenTo'](_0x5e8828,'execute',()=>{const _0x56f6a4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x56f6a4&&_0x56f6a4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x56f6a4);});});}}class tt extends _0x3d8fdc{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x15626e){super(_0x15626e),_0x15626e['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x427875['defineComponents'](_0x427875);}}class ii extends _0x30a6cf{constructor(_0x490d95){super(_0x490d95);const t=_0x490d95['t'],_0x20ddeb=this['bindTemplate'],_0x12c75b=new _0x5cbeb3();_0x12c75b['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':[_0x12c75b,{'text':_0x20ddeb['to']('imageUploadProgress',_0x284b0a=>t('Loading\x20image...')+'\x20('+(_0x284b0a||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 _0x30a6cf{constructor(_0x56ed9b){super(_0x56ed9b);const t=_0x56ed9b['t'];this['set']('errorType',null);const _0x10fe23=new _0x111c23(_0x56ed9b);_0x10fe23['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x10fe23['withText']=!0x0,_0x10fe23['class']='ck-button-action',_0x10fe23['on']('execute',()=>{this['fire']('retry');}),_0x10fe23['bind']('isVisible')['to'](this,'errorType',_0x284674=>'NotFound'!==_0x284674);const _0x427965=new _0x1e4696();_0x427965['content']=_0x2540b9,_0x427965['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x38d0e2=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':[_0x427965,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x38d0e2['to']('errorType',_0x380818=>t('NotFound'!==_0x380818?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x10fe23]},{'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 _0x30a6cf{constructor(_0x460d42,_0x27a19a){super(_0x460d42);const _0x2a27ee=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x27a19a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2a27ee['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x14cc19,_0x1f6d03,_0x527dc7){super(_0x14cc19),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x14cc19),this['_errorView']=new ti(_0x14cc19),this['_editingView']=new ei(_0x14cc19,_0x527dc7),this['_focusableView']=new _0x30a6cf(_0x14cc19),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1f6d03),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'],_0x386c3d=>{this['_addUploadcareImageEditorListeners'](_0x386c3d);});}),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'](_0x2b4a3c,_0x19087c){const _0x374b04='uc-cloud-image-editor',_0x275bb9=_0x2b4a3c['querySelector'](_0x374b04);if(_0x275bb9)return _0x19087c(_0x275bb9);const _0x3976d2=new MutationObserver(_0x555045=>{const _0x4f074e=_0x555045['filter'](_0x3f9b04=>_0x3f9b04['target']===_0x2b4a3c&&_0x3f9b04['addedNodes']['length']>0x0&&_0x3f9b04['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x374b04);_0x4f074e['length']&&(_0x3976d2['disconnect'](),_0x19087c(_0x4f074e[0x0]['addedNodes'][0x0]));});_0x3976d2['observe'](_0x2b4a3c,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x7b739f){_0x7b739f['addEventListener']('apply',_0x571b3e=>{this['fire']('apply',{'imageSrc':_0x571b3e['detail']['cdnUrl']});}),_0x7b739f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x5569ba(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2c4a05,_0x126a14,_0x5c8e32){super(),this['_editor']=_0x2c4a05,this['_dialog']=_0x126a14,this['_imageElement']=_0x5c8e32,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 _0x28ab38=this['_imageElement'],_0x5d04ba=_0x28ab38['getAttribute']('uploadcareImageId'),_0x79b9fe=_0x28ab38['getAttribute']('src');if(_0x5d04ba)await this['_loadImageInfo'](_0x5d04ba,_0x79b9fe);else{if(this['_imageCache']['has'](_0x79b9fe)){const _0x313f82=this['_imageCache']['get'](_0x79b9fe);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x313f82['url'],this['imageDimension']=_0x313f82['dimension'],this['imageId']=_0x313f82['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3b1615}=this['_editor'],t=_0x3b1615['t'],_0x3cb20b=new X(_0x3b1615,this['imageStatus'],this['_attributes']);_0x3cb20b['bind']('status')['to'](this,'imageStatus'),_0x3cb20b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3cb20b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3cb20b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3cb20b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xf3f67a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3cb20b,'position':_0x11d848['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3cb20b['focus']();},'onHide':()=>{_0x3cb20b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xd24d35=>!S(_0xd24d35,_0x3cb20b['element'])}});}['_loadImageInfo'](_0x515986,_0x2f0023){return j['getInfo'](_0x515986,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2d26a4=>{const {width:_0x4187b0,height:_0x1490d2}=_0x2d26a4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2f0023,this['imageDimension']={'width':_0x4187b0,'height':_0x1490d2},this['imageId']=_0x515986;})['catch'](_0x42f55f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42f55f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2d8558,_0x1040ae){return this['_getImageAsFile'](_0x2d8558)['then'](_0x15a3ac=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1040ae['signal'],'file':_0x15a3ac,'onProgress':_0x99a338=>{_0x99a338&&_0x99a338['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x99a338['value']));}}))['then'](_0x4dd421=>{const {width:_0x963a26,height:_0x26f3e9}=_0x4dd421['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4dd421['cdnUrl'],this['imageDimension']={'width':_0x963a26,'height':_0x26f3e9},this['imageId']=_0x4dd421['uuid'],this['imageUploadProgress']=null;const _0x5df89c=_0x2d8558['getAttribute']('src');this['_imageCache']['set'](_0x5df89c,{'id':_0x4dd421['uuid'],'url':_0x4dd421['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x159e19=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x159e19['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a986b,_0x5b5a7f){_0x2a986b['on']('apply',(_0x2d7cd6,_0x5e1aad)=>{this['_replaceImage'](_0x5b5a7f,_0x5e1aad['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a986b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a986b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4c7871,_0x40a58c,_0x1dc254){const _0x2bc8cc=this['_editor'],{width:_0x315e08,height:_0x59b150}=C(_0x40a58c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3acdfe,imageSources:_0x50f7ad}=k(_0x40a58c,_0x315e08);_0x2bc8cc['model']['change'](_0x5e1b42=>{if('$graveyard'===_0x4c7871['root']['rootName']){_0x2bc8cc['execute']('insertImage',{'imageType':_0x4c7871['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4c7871['getAttributes']()),'uploadcareImageId':_0x1dc254,'src':_0x3acdfe,'sources':_0x50f7ad,'width':_0x315e08,'height':_0x59b150}});const _0x323094=_0x4c7871['getChildren']();_0x4c7871=_0x2bc8cc['model']['document']['selection']['getSelectedElement']();for(const _0x2aa546 of _0x323094)_0x5e1b42['append'](_0x5e1b42['cloneElement'](_0x2aa546),_0x4c7871);}else _0x5e1b42['setSelection'](_0x4c7871,'on'),_0x2bc8cc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4c7871['getAttributes']()),'uploadcareImageId':_0x1dc254,'src':_0x3acdfe,'sources':_0x50f7ad,'width':_0x315e08,'height':_0x59b150},_0x4c7871);_0x5e1b42['setSelection'](_0x4c7871,'on');});}async['_getImageAsFile'](_0x1fffc8){const _0xf29f1f=_0x198779['window'],_0x37e00e=_0x198779['document']['location']['href'],_0x12db63=new _0xf29f1f['URL'](_0x1fffc8['getAttribute']('src'),_0x37e00e);if('data:'===_0x12db63['protocol']){const _0x559baa=_0x12db63['href']['split'](','),_0x9da17=_0x559baa[0x0]['match'](/:(.*?);/)[0x1],_0x28a672=_0x9da17['split']('/')[0x1],_0x58b97b=_0xf29f1f['atob'](_0x559baa[_0x559baa['length']-0x1]);let _0x1a9e30=_0x58b97b['length'];const _0xfc6d02=new _0xf29f1f['Uint8Array'](_0x1a9e30);for(;_0x1a9e30--;)_0xfc6d02[_0x1a9e30]=_0x58b97b['charCodeAt'](_0x1a9e30);return new _0xf29f1f['File']([_0xfc6d02],'image.'+_0x28a672,{'type':_0x9da17});}const _0x3905a7=_0x12db63['href']['split']('/'),_0x1a3932=_0x3905a7[_0x3905a7['length']-0x1],_0x597206=_0x1a3932['split']('.')[0x1];return _0xf29f1f['fetch'](_0x12db63['href'])['then'](_0x36f045=>_0x36f045['clone']()['blob']())['then'](_0x2f2e03=>new _0xf29f1f['File']([_0x2f2e03],_0x1a3932,{'type':'image/'+_0x597206}));}}class O extends _0x55c30a{['imageEditController'];static get['requires'](){return[_0x28ae35];}['_isEditable'];constructor(_0xae9ca4){super(_0xae9ca4),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5e4bb2){const _0x407a2e=G(_0x5e4bb2);return _0x20294e=>!(!_0x20294e||!_0x20294e['is']('element','imageBlock')&&!_0x20294e['is']('element','imageInline'))&&(!!_0x20294e['hasAttribute']('uploadcareImageId')||!!_0x20294e['hasAttribute']('src')&&_0x407a2e(_0x20294e['getAttribute']('src')));}(_0xae9ca4['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x342967=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x342967);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1d7055=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1d7055&&(_0x1d7055['is']('element','imageBlock')||_0x1d7055['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x28ae35),_0x1d7055),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x55c30a{['refresh'](){const _0x185fcf=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x185fcf&&(_0x185fcf['is']('element','imageBlock')||_0x185fcf['is']('element','imageInline')));}['execute'](_0x3ea1b3){const _0x4650de=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2fbe46=>{_0x2fbe46['setAttributes'](_0x3ea1b3,_0x4650de),_0x2fbe46['removeAttribute']('srcset',_0x4650de),_0x2fbe46['removeAttribute']('sizes',_0x4650de);});}}class m extends _0x3d8fdc{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3b1ae0,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b4a2a}=this;_0x1b4a2a['commands']['add']('uploadcareImageEdit',new O(_0x1b4a2a)),_0x1b4a2a['commands']['add']('uploadcareImageReplace',new R(_0x1b4a2a));}}class g extends _0x3d8fdc{['_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 _0x17ebfb=this['editor'];_0x17ebfb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4ac916=>{const _0x225240=_0x17ebfb['commands']['get']('uploadcareImageEdit'),_0x53fd8b=new _0x111c23(_0x4ac916),t=_0x4ac916['t'];return _0x53fd8b['set']({'icon':_0xf3f67a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x53fd8b['bind']('isEnabled')['to'](_0x225240),_0x53fd8b['bind']('isOn')['to'](_0x225240,'isActive'),this['listenTo'](_0x53fd8b,'execute',()=>{_0x17ebfb['execute']('uploadcareImageEdit'),_0x17ebfb['editing']['view']['focus']();}),_0x53fd8b;}),this['_initConfig']();}['_initConfig'](){const _0x4b7d6d=_0x374c4e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4b7d6d),this['listenTo'](this['editor'],'destroy',()=>{_0x4b7d6d['remove']();});}}class et extends _0x3d8fdc{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2af032=>0x1!=_0x2af032}};
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':_0x5722e6=>0x1!=_0x5722e6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x237b5c=>{const {af:{dictionary:_0x263f1f,getPluralForm:_0xca6807}}={'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':_0x3c9b9f=>0x1!=_0x3c9b9f}};_0x237b5c['af']||={'dictionary':{},'getPluralForm':null},_0x237b5c['af']['dictionary']=Object['assign'](_0x237b5c['af']['dictionary'],_0x263f1f),_0x237b5c['af']['getPluralForm']=_0xca6807;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2cfed9=>{const {af:{dictionary:_0x191b7b,getPluralForm:_0x27cfda}}={'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':_0x4cbf17=>0x1!=_0x4cbf17}};_0x2cfed9['af']||={'dictionary':{},'getPluralForm':null},_0x2cfed9['af']['dictionary']=Object['assign'](_0x2cfed9['af']['dictionary'],_0x191b7b),_0x2cfed9['af']['getPluralForm']=_0x27cfda;})(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':_0x5aed39=>0x0==_0x5aed39?0x0:0x1==_0x5aed39?0x1:0x2==_0x5aed39?0x2:_0x5aed39%0x64>=0x3&&_0x5aed39%0x64<=0xa?0x3:_0x5aed39%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':_0x10347f=>0x0==_0x10347f?0x0:0x1==_0x10347f?0x1:0x2==_0x10347f?0x2:_0x10347f%0x64>=0x3&&_0x10347f%0x64<=0xa?0x3:_0x10347f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x760ecf=>{const {ar:{dictionary:_0x5ceecf,getPluralForm:_0x3316df}}={'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':_0x3fd042=>0x0==_0x3fd042?0x0:0x1==_0x3fd042?0x1:0x2==_0x3fd042?0x2:_0x3fd042%0x64>=0x3&&_0x3fd042%0x64<=0xa?0x3:_0x3fd042%0x64>=0xb?0x4:0x5}};_0x760ecf['ar']||={'dictionary':{},'getPluralForm':null},_0x760ecf['ar']['dictionary']=Object['assign'](_0x760ecf['ar']['dictionary'],_0x5ceecf),_0x760ecf['ar']['getPluralForm']=_0x3316df;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37bc84=>{const {ar:{dictionary:_0x5edde7,getPluralForm:_0x1ee7dc}}={'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':_0x247108=>0x0==_0x247108?0x0:0x1==_0x247108?0x1:0x2==_0x247108?0x2:_0x247108%0x64>=0x3&&_0x247108%0x64<=0xa?0x3:_0x247108%0x64>=0xb?0x4:0x5}};_0x37bc84['ar']||={'dictionary':{},'getPluralForm':null},_0x37bc84['ar']['dictionary']=Object['assign'](_0x37bc84['ar']['dictionary'],_0x5edde7),_0x37bc84['ar']['getPluralForm']=_0x1ee7dc;})(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':_0x4a58c2=>0x1!=_0x4a58c2}};
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':_0x45fb8c=>0x1!=_0x45fb8c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x540831=>{const {ast:{dictionary:_0x364509,getPluralForm:_0x292633}}={'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':_0x2e247e=>0x1!=_0x2e247e}};_0x540831['ast']||={'dictionary':{},'getPluralForm':null},_0x540831['ast']['dictionary']=Object['assign'](_0x540831['ast']['dictionary'],_0x364509),_0x540831['ast']['getPluralForm']=_0x292633;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1d6e44=>{const {ast:{dictionary:_0x398fe6,getPluralForm:_0x3d65e6}}={'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':_0x1a8ac4=>0x1!=_0x1a8ac4}};_0x1d6e44['ast']||={'dictionary':{},'getPluralForm':null},_0x1d6e44['ast']['dictionary']=Object['assign'](_0x1d6e44['ast']['dictionary'],_0x398fe6),_0x1d6e44['ast']['getPluralForm']=_0x3d65e6;})(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':_0xa405bd=>0x1!=_0xa405bd}};
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':_0x2ff47e=>0x1!=_0x2ff47e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x32d382=>{const {az:{dictionary:_0x4f7231,getPluralForm:_0x2c6d6b}}={'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':_0x17401f=>0x1!=_0x17401f}};_0x32d382['az']||={'dictionary':{},'getPluralForm':null},_0x32d382['az']['dictionary']=Object['assign'](_0x32d382['az']['dictionary'],_0x4f7231),_0x32d382['az']['getPluralForm']=_0x2c6d6b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3820b9=>{const {az:{dictionary:_0x48d616,getPluralForm:_0x43a490}}={'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':_0x3207aa=>0x1!=_0x3207aa}};_0x3820b9['az']||={'dictionary':{},'getPluralForm':null},_0x3820b9['az']['dictionary']=Object['assign'](_0x3820b9['az']['dictionary'],_0x48d616),_0x3820b9['az']['getPluralForm']=_0x43a490;})(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':_0x4e2eac=>_0x4e2eac%0xa==0x1&&_0x4e2eac%0x64!=0xb?0x0:_0x4e2eac%0xa>=0x2&&_0x4e2eac%0xa<=0x4&&(_0x4e2eac%0x64<0xa||_0x4e2eac%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':_0x1ef60b=>_0x1ef60b%0xa==0x1&&_0x1ef60b%0x64!=0xb?0x0:_0x1ef60b%0xa>=0x2&&_0x1ef60b%0xa<=0x4&&(_0x1ef60b%0x64<0xa||_0x1ef60b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x16e8ea=>{const {be:{dictionary:_0x29ea95,getPluralForm:_0x44b478}}={'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':_0x133c9c=>_0x133c9c%0xa==0x1&&_0x133c9c%0x64!=0xb?0x0:_0x133c9c%0xa>=0x2&&_0x133c9c%0xa<=0x4&&(_0x133c9c%0x64<0xa||_0x133c9c%0x64>=0x14)?0x1:0x2}};_0x16e8ea['be']||={'dictionary':{},'getPluralForm':null},_0x16e8ea['be']['dictionary']=Object['assign'](_0x16e8ea['be']['dictionary'],_0x29ea95),_0x16e8ea['be']['getPluralForm']=_0x44b478;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x26f670=>{const {be:{dictionary:_0x332940,getPluralForm:_0xec16f3}}={'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':_0x4845d4=>_0x4845d4%0xa==0x1&&_0x4845d4%0x64!=0xb?0x0:_0x4845d4%0xa>=0x2&&_0x4845d4%0xa<=0x4&&(_0x4845d4%0x64<0xa||_0x4845d4%0x64>=0x14)?0x1:0x2}};_0x26f670['be']||={'dictionary':{},'getPluralForm':null},_0x26f670['be']['dictionary']=Object['assign'](_0x26f670['be']['dictionary'],_0x332940),_0x26f670['be']['getPluralForm']=_0xec16f3;})(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':_0x2e4d17=>0x1!=_0x2e4d17}};
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':_0x536de7=>0x1!=_0x536de7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e62ff=>{const {bg:{dictionary:_0x523903,getPluralForm:_0x5acbaa}}={'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':_0x2c1a23=>0x1!=_0x2c1a23}};_0x5e62ff['bg']||={'dictionary':{},'getPluralForm':null},_0x5e62ff['bg']['dictionary']=Object['assign'](_0x5e62ff['bg']['dictionary'],_0x523903),_0x5e62ff['bg']['getPluralForm']=_0x5acbaa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3897e6=>{const {bg:{dictionary:_0x2fa834,getPluralForm:_0x5a93f8}}={'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':_0x30319c=>0x1!=_0x30319c}};_0x3897e6['bg']||={'dictionary':{},'getPluralForm':null},_0x3897e6['bg']['dictionary']=Object['assign'](_0x3897e6['bg']['dictionary'],_0x2fa834),_0x3897e6['bg']['getPluralForm']=_0x5a93f8;})(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':_0x20355e=>0x1!=_0x20355e}};
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':_0x2605cf=>0x1!=_0x2605cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x311f12=>{const {bn:{dictionary:_0x3642f8,getPluralForm:_0x16a497}}={'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':_0x5a22d9=>0x1!=_0x5a22d9}};_0x311f12['bn']||={'dictionary':{},'getPluralForm':null},_0x311f12['bn']['dictionary']=Object['assign'](_0x311f12['bn']['dictionary'],_0x3642f8),_0x311f12['bn']['getPluralForm']=_0x16a497;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24b190=>{const {bn:{dictionary:_0x15bdc8,getPluralForm:_0x3f6bf2}}={'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':_0x4d80d2=>0x1!=_0x4d80d2}};_0x24b190['bn']||={'dictionary':{},'getPluralForm':null},_0x24b190['bn']['dictionary']=Object['assign'](_0x24b190['bn']['dictionary'],_0x15bdc8),_0x24b190['bn']['getPluralForm']=_0x3f6bf2;})(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':_0x29a555=>_0x29a555%0xa==0x1&&_0x29a555%0x64!=0xb?0x0:_0x29a555%0xa>=0x2&&_0x29a555%0xa<=0x4&&(_0x29a555%0x64<0xa||_0x29a555%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':_0xd7ac5e=>_0xd7ac5e%0xa==0x1&&_0xd7ac5e%0x64!=0xb?0x0:_0xd7ac5e%0xa>=0x2&&_0xd7ac5e%0xa<=0x4&&(_0xd7ac5e%0x64<0xa||_0xd7ac5e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2327ff=>{const {bs:{dictionary:_0x1a39f7,getPluralForm:_0x58830b}}={'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':_0xa8e447=>_0xa8e447%0xa==0x1&&_0xa8e447%0x64!=0xb?0x0:_0xa8e447%0xa>=0x2&&_0xa8e447%0xa<=0x4&&(_0xa8e447%0x64<0xa||_0xa8e447%0x64>=0x14)?0x1:0x2}};_0x2327ff['bs']||={'dictionary':{},'getPluralForm':null},_0x2327ff['bs']['dictionary']=Object['assign'](_0x2327ff['bs']['dictionary'],_0x1a39f7),_0x2327ff['bs']['getPluralForm']=_0x58830b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x708438=>{const {bs:{dictionary:_0x34e801,getPluralForm:_0x330052}}={'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':_0x1cbb45=>_0x1cbb45%0xa==0x1&&_0x1cbb45%0x64!=0xb?0x0:_0x1cbb45%0xa>=0x2&&_0x1cbb45%0xa<=0x4&&(_0x1cbb45%0x64<0xa||_0x1cbb45%0x64>=0x14)?0x1:0x2}};_0x708438['bs']||={'dictionary':{},'getPluralForm':null},_0x708438['bs']['dictionary']=Object['assign'](_0x708438['bs']['dictionary'],_0x34e801),_0x708438['bs']['getPluralForm']=_0x330052;})(window['CKEDITOR_TRANSLATIONS']||={});