@ckeditor/ckeditor5-uploadcare 46.0.1-alpha.0 → 46.0.1-alpha.10

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 _0x1a77d2,Command as _0x1cec3a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2148c7,IconGooglePhotos as _0x45d03c,IconGoogleDrive as _0x35ae7d,IconFacebook as _0x5c8b45,IconDropbox as _0x56c151,IconUploadcareLink as _0x5109df,IconUploadcareImageUpload as _0x7304d5,IconError as _0x257560,IconUploadcareImageEdit as _0x2e6416}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xb08e4f,MenuBarMenuListItemButtonView as _0x373468,View as _0x1d47c4,FocusCycler as _0x1e040d,Dialog as _0x33bbba,DialogViewPosition as _0x2c2d8b,SpinnerView as _0x111968,IconView as _0x4c0eb3,Notification as _0x2f5b6c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x486528,DomEmitterMixin as _0x56085a,global as _0x37a09a,getAncestors as _0x971ac2,ObservableMixin as _0x399ad8,uid as _0x34e376,createElement as _0x811ee6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3e9d47}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x293677,info as _0x42e54a}from'@uploadcare/upload-client';import*as _0x1fe1ea from'@uploadcare/file-uploader';var i=function(_0x481c7d){return _0x481c7d['Local']='local',_0x481c7d['URL']='url',_0x481c7d['Dropbox']='dropbox',_0x481c7d['GDrive']='gdrive',_0x481c7d['Facebook']='facebook',_0x481c7d['GPhotos']='gphotos',_0x481c7d['OneDrive']='onedrive',_0x481c7d;}({});function _(_0x3e30d6,_0x4fff24,_0x2a878c){const t=_0x3e30d6['t'],_0x3d44a6=_0x3e30d6['t'];switch(_0x4fff24){case i['Local']:return{'text':_0x3d44a6('Insert'===_0x2a878c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3d44a6('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2a878c?_0x3d44a6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3d44a6('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2a878c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2a878c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2a878c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2a878c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2a878c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4fff24;}}class e extends _0x1a77d2{['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 _0x1b6400=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40afd9;for(const _0x485532 in _0x1b6400){const _0x35f7e6=_0x485532,_0x463610=_0x1b6400[_0x35f7e6];if('uploadcareLicenseKeyValid'==_0x463610||'uploadcareLicenseKeyInvalid'==_0x463610||'uploadcareLicenseKeyExpired'==_0x463610||'uploadcareLicenseKeyDomainLimit'==_0x463610||'uploadcareLicenseKeyNotAllowed'==_0x463610||'uploadcareLicenseKeyEvaluationLimit'==_0x463610||'uploadcareLicenseKeyTrialLimit'==_0x463610||'uploadcareLicenseKeyUsageLimit'==_0x463610){delete _0x1b6400[_0x35f7e6],_0x40afd9=_0x463610,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x40afd9&&_0x1b6400['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x40afd9&&_0x1b6400['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x40afd9&&_0x1b6400['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x40afd9&&_0x1b6400['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x40afd9&&_0x1b6400['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x40afd9&&_0x1b6400['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x40afd9&&_0x1b6400['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3d23b3}=this,_0x8a9440=_0x3d23b3['commands']['get']('uploadcare');if(!_0x8a9440)return;const _0x4c2e68=this['_normalizeConfigSourceList'](_0x3d23b3['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1d7862,_0x36358c)=>{const _0x4dc1a1=this['_getIntegrationKey'](_0x36358c['type']);return _0x1d7862[_0x4dc1a1]||(_0x1d7862[_0x4dc1a1]=[]),_0x1d7862[_0x4dc1a1]['push'](_0x36358c),_0x1d7862;},{});_0x3d23b3['plugins']['has']('ImageInsertUI')&&_0x3d23b3['commands']['get']('uploadcare')&&Object['entries'](_0x4c2e68)['forEach'](([_0x29461b,_0x176b5a])=>{_0x3d23b3['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x29461b,'observable':()=>_0x8a9440,'buttonViewCreator':()=>this['_createToolbarButton'](_0x176b5a),'formViewCreator':()=>this['_createDropdownButtons'](_0x176b5a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x176b5a),'override':'assetManager'!==_0x29461b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xa2f2e0){const {locale:_0x25589a}=this['editor'];return _0xa2f2e0['map'](_0x3d7781=>{const _0x3f43fa=_(_0x25589a,_0x3d7781,'Insert');switch(_0x3d7781){case i['Local']:return{'icon':_0x7304d5,'type':i['Local'],..._0x3f43fa};case i['URL']:return{'icon':_0x5109df,'type':i['URL'],..._0x3f43fa};case i['Dropbox']:return{'icon':_0x56c151,'type':i['Dropbox'],..._0x3f43fa};case i['Facebook']:return{'icon':_0x5c8b45,'type':i['Facebook'],..._0x3f43fa};case i['GDrive']:return{'icon':_0x35ae7d,'type':i['GDrive'],..._0x3f43fa};case i['GPhotos']:return{'icon':_0x45d03c,'type':i['GPhotos'],..._0x3f43fa};case i['OneDrive']:return{'icon':_0x2148c7,'type':i['OneDrive'],..._0x3f43fa};}});}['_getIntegrationKey'](_0x342278){switch(_0x342278){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x353fb4,_0x44e79d){const _0x341717=this['editor'],_0x172c2b=new _0x353fb4(_0x341717['locale']),_0x2a6046=_0x341717['commands']['get']('uploadcare');return _0x172c2b['bind']('isEnabled')['to'](_0x2a6046),_0x172c2b['on']('execute',()=>{_0x2a6046['execute'](_0x44e79d);}),_0x172c2b;}['_createToolbarButton'](_0x1a31c6){const {locale:_0x6b4ddd}=this['editor'],_0x53f3df=this['editor']['plugins']['get']('ImageInsertUI'),_0x54b296=_0x1a31c6[0x0],_0x38a807=this['_createButton'](_0xb08e4f,_0x54b296['type']);return _0x38a807['icon']=_0x54b296['icon'],_0x38a807['bind']('label')['to'](_0x53f3df,'isImageSelected',_0x4327fc=>_(_0x6b4ddd,_0x54b296['type'],_0x4327fc?'Replace':'Insert')['text']),_0x38a807['tooltip']=!0x0,_0x38a807;}['_createDropdownButtons'](_0x16920e){const {locale:_0x12805d}=this['editor'],_0x1803e9=this['editor']['plugins']['get']('ImageInsertUI');return _0x16920e['map'](_0x474036=>{const _0x8d7488=this['_createButton'](_0xb08e4f,_0x474036['type']);return _0x8d7488['withText']=!0x0,_0x8d7488['icon']=_0x474036['icon'],_0x8d7488['bind']('label')['to'](_0x1803e9,'isImageSelected',_0x41ae4b=>_(_0x12805d,_0x474036['type'],_0x41ae4b?'Replace':'Insert')['text']),_0x8d7488;});}['_createMenuBarButtons'](_0x4c11fa){return _0x4c11fa['map'](_0x1c0fba=>{const _0x7dc619=this['_createButton'](_0x373468,_0x1c0fba['type']);return _0x7dc619['icon']=_0x1c0fba['icon'],_0x7dc619['label']=_0x1c0fba['shortText'],_0x7dc619;});}}class W extends _0x1d47c4{['focusTracker'];['focusCycler'];constructor(_0x1d5d55){super(_0x1d5d55),this['focusTracker']=new _0x486528(),this['focusCycler']=new _0x1e040d({'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 R extends W{constructor(_0xa187ce,_0x52ee31){super(_0xa187ce),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-'+_0x52ee31}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x553026,_0x5a6200){const _0x314f7f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x279472=>_0x279472<=_0x5a6200)['map'](_0x3194a2=>_0x553026['replace'](/\/$/,'')+'/-/resize/'+_0x3194a2+'x/\x20'+_0x3194a2+'w');return{'imageFallbackUrl':_0x553026,'imageSources':[{'srcset':_0x314f7f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5a6200+'px)\x20100vw,\x20'+_0x5a6200+'px','type':'image/webp'}]};}function V(_0x2d3e3e,_0x8294fb,_0x845eed){const _0x34b3be=_0x2d3e3e['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x34b3be?parseInt(_0x34b3be[0x1],0xa):_0x8294fb,'height':_0x34b3be?parseInt(_0x34b3be[0x2],0xa):_0x845eed};}function p(_0x3bee7b,_0x30c59a){const _0x40262=new(_0x56085a())(),_0x50ef36=_0x3bee7b['plugins']['get']('ImageUtils'),_0x151e40=_0x3bee7b['editing']['mapper']['toViewElement'](_0x30c59a),_0x219df7=_0x50ef36['findViewImgElement'](_0x151e40),_0x9a2688=_0x3bee7b['editing']['view']['domConverter']['viewToDom'](_0x219df7),_0x58e1af=_0x30c59a['getAttribute']('width'),_0xc96666=_0x30c59a['getAttribute']('height'),_0x6382a1='image-processing';_0x3bee7b['editing']['view']['change'](_0x12d99f=>{_0x12d99f['addClass'](_0x6382a1,_0x151e40),_0x12d99f['setStyle']('aspect-ratio',_0x58e1af+'/'+_0xc96666,_0x219df7);}),_0x40262['listenTo'](_0x9a2688,'load',()=>{_0x40262['stopListening'](_0x9a2688,'load'),_0x3bee7b['editing']['view']['change'](_0x8db9b8=>{_0x8db9b8['removeClass'](_0x6382a1,_0x151e40),_0x8db9b8['removeStyle']('aspect-ratio',_0x219df7);});});}function z(_0x36774b){if(Array['isArray'](_0x36774b)){const _0x2d665d=_0x36774b['map'](z);return _0x447dca=>_0x2d665d['some'](_0x4f28e7=>_0x4f28e7(_0x447dca));}if('origin'==_0x36774b){const _0x53de73=_0x37a09a['window']['location']['origin'];return _0x5f3eb7=>new URL(_0x5f3eb7,_0x37a09a['document']['baseURI'])['origin']==_0x53de73;}return'function'==typeof _0x36774b?_0x36774b:_0x36774b instanceof RegExp?_0x339b39=>!(!_0x339b39['match'](_0x36774b)&&!_0x339b39['replace'](/^https?:\/\//,'')['match'](_0x36774b)):()=>!0x1;}function Q(_0x1398aa,_0x2e81e2){return _0x971ac2(_0x1398aa['target'])['includes'](_0x2e81e2);}class n extends/* #__PURE__ -- @preserve */
24
- _0x399ad8(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4e5c1a,_0x48a1c5,_0x11be3e){super(),this['_editor']=_0x4e5c1a,this['_editing']=_0x48a1c5,this['_dialog']=_0x4e5c1a['plugins']['get'](_0x33bbba),this['_api']=_0x48a1c5['ctxElement']['getAPI'](),this['_type']=_0x11be3e,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:_0x1e5ba7,model:_0x265d2d}=this['_editor'],_0x2beb0b=_0x265d2d['document']['selection']['getSelectedElement'](),_0x55052f=_0x2beb0b&&(_0x2beb0b['is']('element','imageBlock')||_0x2beb0b['is']('element','imageInline'));this['_formView']=new R(_0x1e5ba7,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x7304d5,'title':_(_0x1e5ba7,this['_type'],_0x55052f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2c2d8b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x447816=>!Q(_0x447816,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x547512}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5ebd69=>{const _0x26d70e=_0x547512['length'];for(const _0x53dd27 of _0x547512){const _0x3cabd5=_0x53dd27===_0x547512[_0x26d70e-0x1],{cdnUrl:_0x26629a,fileInfo:_0x282baa}=_0x53dd27;if(!_0x26629a||!_0x282baa)continue;const {width:_0x467ce5,height:_0x224d79}=_0x282baa['imageInfo'],_0x5259ba=V(_0x26629a,_0x467ce5,_0x224d79),_0x2454b5=k(_0x26629a,_0x5259ba['width']),_0x1a89a2={'id':_0x282baa['uuid'],'type':'image','attributes':{'imageDimension':_0x5259ba,..._0x2454b5}};this['_insertAsset'](_0x1a89a2,_0x3cabd5,_0x5ebd69);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5d1feb=>{'idle'===_0x5d1feb['detail']['status']&&!_0x5d1feb['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x36e194,_0xf4d528,_0x2315c8){const _0xae31e0=this['_editor']['model']['document']['selection'],_0x4a73a9=_0xae31e0['getSelectedElement'](),_0x554bee=!(!_0x4a73a9||!_0x4a73a9['is']('element','imageInline'));_0x2315c8['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x36e194,_0x554bee),_0xf4d528||_0x2315c8['setSelection'](_0xae31e0['getLastPosition']());}['_insertImage'](_0x28d683,_0x187613){const _0x2dc1f7=this['_editor'],{imageDimension:_0x583e5d,imageFallbackUrl:_0x233d62,imageSources:_0x425b27}=_0x28d683['attributes'];_0x2dc1f7['execute']('insertImage',{'imageType':_0x187613?'imageInline':null,'source':{'uploadcareImageId':_0x28d683['id'],'src':_0x233d62,'sources':_0x425b27,..._0x583e5d}});}}class w extends _0x1cec3a{['_editing'];['_controller']=null;static get['requires'](){return[_0x33bbba,o];}constructor(_0x427d19){super(_0x427d19),this['_editing']=_0x427d19['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1a3564){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1a3564);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x2ec443,publicKey:_0xdf0b57,signal:_0x4322b7,onProgress:_0x3c0e63}){return _0x293677(_0x2ec443,{'publicKey':_0xdf0b57,'store':'auto','signal':_0x4322b7,'onProgress':_0x3c0e63});}static['getInfo'](_0x2e4449,_0x564743){return _0x42e54a(_0x2e4449,_0x564743);}}class f extends _0x1a77d2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3e9d47,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x265b32=this['editor'];if(!!!_0x265b32['config']['get']('uploadcare'))return;_0x265b32['plugins']['get'](_0x3e9d47)['createUploadAdapter']=_0xfd1fcb=>new A(_0xfd1fcb,_0x265b32),_0x265b32['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4701df,{imageElement:_0x120f66,data:_0x2ed839})=>{_0x265b32['model']['change'](_0x4d1095=>{_0x4d1095['setAttribute']('uploadcareImageId',_0x2ed839['uploadcareImageId'],_0x120f66);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x493cd1,_0x406366){this['loader']=_0x493cd1,this['editor']=_0x406366,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2cde80=this['editor']['config']['get']('uploadcare.pubkey'),_0x4db4fb=await this['loader']['file'];return j['upload']({'file':_0x4db4fb,'publicKey':_0x2cde80,'signal':this['controller']['signal'],'onProgress':_0x168816=>{_0x168816&&_0x168816['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x168816['value']);}})['then'](async _0x1778ff=>{const {imageFallbackUrl:_0x5460b9,imageSources:_0x192ef1}=k(_0x1778ff['cdnUrl'],_0x1778ff['imageInfo']['width']);return{'uploadcareImageId':_0x1778ff['uuid'],'default':_0x5460b9,'sources':_0x192ef1};})['catch'](()=>{const _0x5e9cd8=t('Cannot\x20upload\x20file:')+('\x20'+_0x4db4fb['name']+'.');return Promise['reject'](_0x5e9cd8);});}['abort'](){this['controller']['abort']();}}class o extends _0x1a77d2{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x33bbba];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x31e0d8){super(_0x31e0d8),this['ucContextId']=_0x34e376();}['init'](){const _0x112a07=this['editor'];_0x112a07['commands']['add']('uploadcare',new w(_0x112a07));}['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 _0x30b802=_0x37a09a['document']['querySelector']('input[uploadcare-file-input]');_0x30b802&&_0x30b802['remove']();}),async function(_0x6542da){const _0x20e90b=_0x1e4d92([0x78,0x47,0x4b,0x5a,0x4d,0x41,0x73,0x75,0x38,0x74,0x39,0x4f,0x35,0x71,0x6e,0x31,0x46,0x6d,0x59,0x72,0x52,0x43,0x65,0x67,0x63,0x4a,0x79,0x42,0x34,0x77,0x53,0x76,0x45,0x49,0x37,0x51,0x68,0x7a,0x36,0x48,0x62,0x55,0x6c,0x61,0x4c,0x50,0x32,0x70,0x4e,0x56,0x30,0x57,0x6b,0x66,0x54,0x6a,0x64,0x33,0x58,0x69,0x6f,0x44]),_0x5a4cba=0x6b3ee172,_0x341bf3=0x6b398e7a^_0x5a4cba,_0x43140e=window[_0x1e4d92([0x44,0x61,0x74,0x65])][_0x1e4d92([0x6e,0x6f,0x77])](),_0x5368b7=_0x6542da[_0x1e4d92([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a5294=new window[(_0x1e4d92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23d31b=>{_0x5368b7[_0x1e4d92([0x6f,0x6e,0x63,0x65])](_0x1e4d92([0x72,0x65,0x61,0x64,0x79]),_0x23d31b);}),_0x4f85b9={[_0x1e4d92([0x6b,0x74,0x79])]:_0x1e4d92([0x45,0x43]),[_0x1e4d92([0x75,0x73,0x65])]:_0x1e4d92([0x73,0x69,0x67]),[_0x1e4d92([0x63,0x72,0x76])]:_0x1e4d92([0x50,0x2d,0x32,0x35,0x36]),[_0x1e4d92([0x78])]:_0x1e4d92([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]),[_0x1e4d92([0x79])]:_0x1e4d92([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]),[_0x1e4d92([0x61,0x6c,0x67])]:_0x1e4d92([0x45,0x53,0x32,0x35,0x36])},_0x54b7a9=_0x5368b7[_0x1e4d92([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e4d92([0x67,0x65,0x74])](_0x1e4d92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc5a03d(){let _0x131b59,_0x2c5122=null,_0x1ca376=null;try{if(_0x54b7a9==_0x1e4d92([0x47,0x50,0x4c]))return _0x1e4d92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x131b59=_0x2a2bb1(),!_0x131b59)return _0x1e4d92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x131b59[_0x1e4d92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ca376=_0x45b6b7(_0x131b59[_0x1e4d92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x131b59[_0x1e4d92([0x6a,0x74,0x69])])),await _0x4b00e8()?_0x485639()?_0x4fa5a1()?_0x1e4d92([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3352bd()?(_0x131b59[_0x1e4d92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e4d92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c5122=_0x3607d2(_0x1e4d92([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x131b59[_0x1e4d92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e4d92([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c5122=_0x3607d2(_0x1e4d92([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2cfde6()):_0x1e4d92([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e4d92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e4d92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e4d92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4fa5a1(){const _0x2ca810=[_0x1e4d92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e4d92([0x74,0x72,0x69,0x61,0x6c])][_0x1e4d92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x131b59[_0x1e4d92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43140e/0x3e8:0xe10*_0x341bf3;return _0x131b59[_0x1e4d92([0x65,0x78,0x70])]<_0x2ca810;}function _0x485639(){const _0xe24658=_0x131b59[_0x1e4d92([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe24658&&(!!_0xe24658[_0x1e4d92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e4d92([0x2a]))||!!_0xe24658[_0x1e4d92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e4d92([0x55,0x50,0x4c,0x43])));}function _0x3352bd(){const _0x10cdf8=_0x131b59[_0x1e4d92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10cdf8||0x0==_0x10cdf8[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d9398}=new URL(window[_0x1e4d92([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x10cdf8[_0x1e4d92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9398))return!0x0;const _0x321e77=_0x3d9398[_0x1e4d92([0x73,0x70,0x6c,0x69,0x74])](_0x1e4d92([0x2e]));return _0x10cdf8[_0x1e4d92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22daa8=>_0x22daa8[_0x1e4d92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e4d92([0x2a])))[_0x1e4d92([0x6d,0x61,0x70])](_0x1d87f6=>_0x1d87f6[_0x1e4d92([0x73,0x70,0x6c,0x69,0x74])](_0x1e4d92([0x2e])))[_0x1e4d92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b2f5f=>_0x4b2f5f[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x321e77[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e4d92([0x6d,0x61,0x70])](_0x8760d7=>Array(_0x321e77[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8760d7[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e4d92([0x66,0x69,0x6c,0x6c])](_0x8760d7[0x0]===_0x1e4d92([0x2a])?_0x1e4d92([0x2a]):'')[_0x1e4d92([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8760d7))[_0x1e4d92([0x73,0x6f,0x6d,0x65])](_0x55eeae=>_0x321e77[_0x1e4d92([0x65,0x76,0x65,0x72,0x79])]((_0x1c1f6e,_0x54dfdb)=>_0x55eeae[_0x54dfdb]===_0x1c1f6e||_0x55eeae[_0x54dfdb]===_0x1e4d92([0x2a])));}function _0x2cfde6(){return _0x2c5122&&_0x1ca376?new window[(_0x1e4d92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1afa21,_0x18d58d)=>{_0x2c5122[_0x1e4d92([0x74,0x68,0x65,0x6e])](_0x1afa21,_0x18d58d),_0x1ca376[_0x1e4d92([0x74,0x68,0x65,0x6e])](_0x34be59=>{_0x34be59!=_0x1e4d92([0x56,0x61,0x6c,0x69,0x64])&&_0x1afa21(_0x34be59);},_0x18d58d);}):_0x2c5122||_0x1ca376||_0x1e4d92([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45b6b7(_0x26c792,_0xe96e24){return new window[(_0x1e4d92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xab0365=>{if(_0x12ae40())return _0xab0365(_0x1e4d92([0x56,0x61,0x6c,0x69,0x64]));_0x414e33(),_0x5368b7[_0x1e4d92([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e4d92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e1641=!0x1;const _0x455229=_0x34e376();function _0x2d56aa(_0x22923c){return!!_0x22923c&&(typeof _0x22923c===_0x1e4d92([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22923c===_0x1e4d92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22923c[_0x1e4d92([0x74,0x68,0x65,0x6e])]===_0x1e4d92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22923c[_0x1e4d92([0x63,0x61,0x74,0x63,0x68])]===_0x1e4d92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1751a8(_0x16c19a){_0x5ceb9c(_0x16c19a)[_0x1e4d92([0x74,0x68,0x65,0x6e])](_0x3e7683=>{if(!_0x3e7683||_0x3e7683[_0x1e4d92([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e4d92([0x6f,0x6b]))return _0x1e4d92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf637f7(_0x503cbb(_0x455229+_0xe96e24))!=_0x3e7683[_0x1e4d92([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e4d92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e4d92([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e4d92([0x74,0x68,0x65,0x6e])](_0x2c7c78=>(_0x2317f7(),_0x2c7c78),()=>{const _0x23e8e5=_0x225eb0();return null==_0x23e8e5?(_0x2317f7(),_0x1e4d92([0x56,0x61,0x6c,0x69,0x64])):_0x1e4d92(_0x43140e-_0x23e8e5>(0x4f326572^_0x5a4cba)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e4d92([0x74,0x68,0x65,0x6e])](_0xab0365)[_0x1e4d92([0x63,0x61,0x74,0x63,0x68])](()=>{_0xab0365(_0x1e4d92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x167a03=0x6b080ff2^_0x5a4cba;function _0x2317f7(){const _0x228717=_0x1e4d92([0x6c,0x6c,0x63,0x74,0x2d])+_0xf637f7(_0x503cbb(_0x26c792)),_0x32344e=_0x2df9a3(_0xf637f7(window[_0x1e4d92([0x4d,0x61,0x74,0x68])][_0x1e4d92([0x63,0x65,0x69,0x6c])](_0x43140e/_0x167a03)));window[_0x1e4d92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e4d92([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x228717,_0x32344e);}function _0x225eb0(){const _0x28f302=_0x1e4d92([0x6c,0x6c,0x63,0x74,0x2d])+_0xf637f7(_0x503cbb(_0x26c792)),_0x584db7=window[_0x1e4d92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e4d92([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28f302);return _0x584db7?window[_0x1e4d92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2df9a3(_0x584db7),0x10)*_0x167a03:null;}function _0x5ceb9c(_0x491982){return new window[(_0x1e4d92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a9416,_0x33e8e6)=>{_0x491982[_0x1e4d92([0x74,0x68,0x65,0x6e])](_0x1a9416,_0x33e8e6),window[_0x1e4d92([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x33e8e6,0x6b3f35b2^_0x5a4cba);});}}_0x5368b7[_0x1e4d92([0x6f,0x6e])](_0x1e4d92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x46aa2,_0x4c7a7a)=>{if(_0x4c7a7a[0x0]!=_0x26c792)return _0xab0365(_0x1e4d92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c7a7a[0x1]={..._0x4c7a7a[0x1],[_0x1e4d92([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x455229};},{[_0x1e4d92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e4d92([0x68,0x69,0x67,0x68])}),_0x5368b7[_0x1e4d92([0x6f,0x6e])](_0x1e4d92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x20eb9b=>{_0x2d56aa(_0x20eb9b[_0x1e4d92([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e1641=!0x0,_0x1751a8(_0x20eb9b[_0x1e4d92([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e4d92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e4d92([0x6c,0x6f,0x77])}),_0x2a5294[_0x1e4d92([0x74,0x68,0x65,0x6e])](()=>{_0x2e1641||_0xab0365(_0x1e4d92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12ae40(){return _0x5368b7[_0x1e4d92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e4d92([0x76,0x69,0x65,0x77])][_0x1e4d92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e4d92([0x61,0x75,0x74,0x6f]);}function _0x414e33(){_0x5368b7[_0x1e4d92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e4d92([0x76,0x69,0x65,0x77])][_0x1e4d92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e4d92([0x61,0x75,0x74,0x6f]);}}function _0x3607d2(_0x1c74d0){const _0x561848=[new window[(_0x1e4d92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12bf02=>setTimeout(_0x12bf02,0x6b37dfbe^_0x5a4cba)),_0x2a5294[_0x1e4d92([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e4d92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37989e=>{let _0x5bfae8=0x0;_0x5368b7[_0x1e4d92([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e4d92([0x6f,0x6e])](_0x1e4d92([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a06d7,_0x333b14)=>{_0x333b14[0x0][_0x1e4d92([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5bfae8++,_0x5bfae8==(0x6b3ee08a^_0x5a4cba)&&(_0x37989e(),_0x2a06d7[_0x1e4d92([0x6f,0x66,0x66])]());});}))];return window[_0x1e4d92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e4d92([0x72,0x61,0x63,0x65])](_0x561848)[_0x1e4d92([0x74,0x68,0x65,0x6e])](()=>_0x1c74d0);}async function _0x4ecde9(){await _0x2a5294,_0x5368b7[_0x1e4d92([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e4d92([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c7ca9,_0x5368b7[_0x1e4d92([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e4d92([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c7ca9,_0x5368b7[_0x1e4d92([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e4d92([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x157899(_0x2c509b){const _0x4772a7=_0x3472b3();_0x5368b7[_0x4772a7]=_0x1e4d92([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c509b,_0x2c509b!=_0x1e4d92([0x56,0x61,0x6c,0x69,0x64])&&_0x4ecde9();}function _0x3472b3(){const _0x144e9f=window[_0x1e4d92([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e4d92([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e4d92([0x6e,0x6f,0x77])]())[_0x1e4d92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e4d92([0x2e]),'');let _0x2d75f7=_0x1e4d92([0x78]);for(let _0x7d3758=0x0;_0x7d3758<_0x144e9f[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7d3758+=0x2){let _0x4a4ac1=window[_0x1e4d92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x144e9f[_0x1e4d92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7d3758,_0x7d3758+0x2));_0x4a4ac1>=_0x20e90b[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a4ac1-=_0x20e90b[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d75f7+=_0x20e90b[_0x4a4ac1];}return _0x2d75f7;}function _0x2a2bb1(){const _0x15ea76=_0x54b7a9[_0x1e4d92([0x73,0x70,0x6c,0x69,0x74])](_0x1e4d92([0x2e]));if(0x3!=_0x15ea76[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x95007f(_0x15ea76[0x1]);function _0x95007f(_0x8ea313){const _0x29c05b=_0x404179(_0x8ea313);return _0x29c05b&&_0x1fa0af()?_0x29c05b:null;function _0x1fa0af(){const _0x3af35f=_0x29c05b[_0x1e4d92([0x6a,0x74,0x69])],_0x3c39ff=window[_0x1e4d92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3af35f[_0x1e4d92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3af35f[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4abb39={..._0x29c05b,[_0x1e4d92([0x6a,0x74,0x69])]:_0x3af35f[_0x1e4d92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3af35f[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4abb39[_0x1e4d92([0x76,0x63])],_0x503cbb(_0x4abb39)==_0x3c39ff;}}}async function _0x4b00e8(){let _0x4973f5=!0x0;try{const _0x3bcbf0=_0x54b7a9[_0x1e4d92([0x73,0x70,0x6c,0x69,0x74])](_0x1e4d92([0x2e])),[_0x13ecfe,_0x3874f5,_0x17c8f1]=_0x3bcbf0;return _0xc2e4ec(_0x13ecfe),await _0x45f94b(_0x13ecfe,_0x3874f5,_0x17c8f1),_0x4973f5;}catch{return!0x1;}function _0xc2e4ec(_0x103d7e){const _0x310130=_0x404179(_0x103d7e);_0x310130&&_0x310130[_0x1e4d92([0x61,0x6c,0x67])]==_0x1e4d92([0x45,0x53,0x32,0x35,0x36])||(_0x4973f5=!0x1);}async function _0x45f94b(_0x314439,_0x1ff261,_0x3a82d2){const _0x55528a=window[_0x1e4d92([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e4d92([0x66,0x72,0x6f,0x6d])](_0x153819(_0x3a82d2),_0x2d9eaf=>_0x2d9eaf[_0x1e4d92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43160e=new window[(_0x1e4d92([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e4d92([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x314439+_0x1e4d92([0x2e])+_0x1ff261),_0xae5d0c=window[_0x1e4d92([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e4d92([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xae5d0c)return;const _0x3bcc99=await _0xae5d0c[_0x1e4d92([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e4d92([0x6a,0x77,0x6b]),_0x4f85b9,{[_0x1e4d92([0x6e,0x61,0x6d,0x65])]:_0x1e4d92([0x45,0x43,0x44,0x53,0x41]),[_0x1e4d92([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e4d92([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e4d92([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xae5d0c[_0x1e4d92([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e4d92([0x6e,0x61,0x6d,0x65])]:_0x1e4d92([0x45,0x43,0x44,0x53,0x41]),[_0x1e4d92([0x68,0x61,0x73,0x68])]:{[_0x1e4d92([0x6e,0x61,0x6d,0x65])]:_0x1e4d92([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3bcc99,_0x55528a,_0x43160e)||(_0x4973f5=!0x1);}}function _0x404179(_0x29cb32){return _0x29cb32[_0x1e4d92([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e4d92([0x65,0x79]))?JSON[_0x1e4d92([0x70,0x61,0x72,0x73,0x65])](_0x153819(_0x29cb32)):null;}function _0x153819(_0x20541b){return window[_0x1e4d92([0x61,0x74,0x6f,0x62])](_0x20541b[_0x1e4d92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e4d92([0x2b]))[_0x1e4d92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e4d92([0x2f])));}function _0x503cbb(_0x1b7225){let _0x39cac5=0x1505;function _0x4510d9(_0x17273d){for(let _0x2657ba=0x0;_0x2657ba<_0x17273d[_0x1e4d92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2657ba++){const _0x41b586=_0x17273d[_0x1e4d92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2657ba);_0x39cac5=(_0x39cac5<<0x5)+_0x39cac5+_0x41b586,_0x39cac5&=_0x39cac5;}}function _0x2cfeda(_0x32d96f){Array[_0x1e4d92([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32d96f)?_0x32d96f[_0x1e4d92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2cfeda):_0x32d96f&&typeof _0x32d96f==_0x1e4d92([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e4d92([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32d96f)[_0x1e4d92([0x73,0x6f,0x72,0x74])]()[_0x1e4d92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15965c,_0x48a346])=>{_0x4510d9(_0x15965c),_0x2cfeda(_0x48a346);}):_0x4510d9(window[_0x1e4d92([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32d96f));}return _0x2cfeda(_0x1b7225),_0x39cac5>>>0x0;}function _0xf637f7(_0x48b589){return _0x48b589[_0x1e4d92([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e4d92([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e4d92([0x30]));}function _0x2df9a3(_0x541c5e){return _0x541c5e[_0x1e4d92([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e4d92([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e4d92([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c7ca9(){}function _0x1e4d92(_0x49cab5){return _0x49cab5['map'](_0x3fd269=>String['fromCharCode'](_0x3fd269))['join']('');}_0x157899(await _0xc5a03d());}(this);}['_initSchema'](){const _0x588c5d=this['editor']['model']['schema'];_0x588c5d['isRegistered']('imageBlock')&&_0x588c5d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x588c5d['isRegistered']('imageInline')&&_0x588c5d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5250d6=this['editor'];_0x5250d6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5250d6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x6873cf=>_0x6873cf['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3a2e2f=_0x5250d6['commands']['get']('replaceImageSource');_0x3a2e2f&&this['listenTo'](_0x3a2e2f,'cleanupImage',(_0x46677c,[_0x55f771,_0x3d149e])=>{_0x55f771['removeAttribute']('uploadcareImageId',_0x3d149e);});}['_initConfig'](){const _0x40666f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5b2874=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x811ee6(_0x37a09a['document'],'uc-config',{..._0x40666f,'pubkey':_0x5b2874,'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']=_0x20e600=>{if('closeMax'==_0x20e600)return'#uc-icon-arrow-down';},_0x37a09a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x811ee6(_0x37a09a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x37a09a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5dc768=this['editor']['commands']['get']('insertImage');_0x5dc768&&this['listenTo'](_0x5dc768,'execute',()=>{const _0x1b8fba=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1b8fba&&_0x1b8fba['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1b8fba);});});const _0x5f4570=this['editor']['commands']['get']('uploadcareImageReplace');_0x5f4570&&this['listenTo'](_0x5f4570,'execute',()=>{const _0x4f7ed1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f7ed1&&_0x4f7ed1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4f7ed1);});});}}class tt extends _0x1a77d2{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x303d97){super(_0x303d97),_0x303d97['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1fe1ea['defineComponents'](_0x1fe1ea);}}class ii extends _0x1d47c4{constructor(_0x2927d7){super(_0x2927d7);const t=_0x2927d7['t'],_0x43312c=this['bindTemplate'],_0x49394a=new _0x111968();_0x49394a['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':[_0x49394a,{'text':_0x43312c['to']('imageUploadProgress',_0x44cc33=>t('Loading\x20image...')+'\x20('+(_0x44cc33||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 _0x1d47c4{constructor(_0xb45d98){super(_0xb45d98);const t=_0xb45d98['t'];this['set']('errorType',null);const _0x4b2115=new _0xb08e4f(_0xb45d98);_0x4b2115['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4b2115['withText']=!0x0,_0x4b2115['class']='ck-button-action',_0x4b2115['on']('execute',()=>{this['fire']('retry');}),_0x4b2115['bind']('isVisible')['to'](this,'errorType',_0x151d6c=>'NotFound'!==_0x151d6c);const _0x21d18a=new _0x4c0eb3();_0x21d18a['content']=_0x257560,_0x21d18a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1f98fb=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':[_0x21d18a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1f98fb['to']('errorType',_0x423996=>t('NotFound'!==_0x423996?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4b2115]},{'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 _0x1d47c4{constructor(_0x356f24,_0x57256f){super(_0x356f24);const _0x1da4d5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x57256f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1da4d5['to']('imageSrc')}});}}class X extends W{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x21b38c,_0x467bf2,_0x3bb3dd){super(_0x21b38c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x21b38c),this['_errorView']=new ti(_0x21b38c),this['_editingView']=new ei(_0x21b38c,_0x3bb3dd),this['_focusableView']=new _0x1d47c4(_0x21b38c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x467bf2),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'],_0x440a88=>{this['_addUploadcareImageEditorListeners'](_0x440a88);});}),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'](_0x5e53d5,_0x3bb39a){const _0x5548ba='uc-cloud-image-editor',_0x32eba7=_0x5e53d5['querySelector'](_0x5548ba);if(_0x32eba7)return _0x3bb39a(_0x32eba7);const _0x2cd30f=new MutationObserver(_0x2b7f4f=>{const _0x3cd381=_0x2b7f4f['filter'](_0x17b24f=>_0x17b24f['target']===_0x5e53d5&&_0x17b24f['addedNodes']['length']>0x0&&_0x17b24f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5548ba);_0x3cd381['length']&&(_0x2cd30f['disconnect'](),_0x3bb39a(_0x3cd381[0x0]['addedNodes'][0x0]));});_0x2cd30f['observe'](_0x5e53d5,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x558958){_0x558958['addEventListener']('apply',_0x5c4b59=>{this['fire']('apply',{'imageSrc':_0x5c4b59['detail']['cdnUrl']});}),_0x558958['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x399ad8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2293db,_0x275bbc,_0x4f7495){super(),this['_editor']=_0x2293db,this['_dialog']=_0x275bbc,this['_imageElement']=_0x4f7495,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 _0x2ea768=this['_imageElement'],_0x1f82b4=_0x2ea768['getAttribute']('uploadcareImageId'),_0x16bb17=_0x2ea768['getAttribute']('src');if(_0x1f82b4)await this['_loadImageInfo'](_0x1f82b4,_0x16bb17);else{if(this['_imageCache']['has'](_0x16bb17)){const _0x577c8a=this['_imageCache']['get'](_0x16bb17);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x577c8a['url'],this['imageDimension']=_0x577c8a['dimension'],this['imageId']=_0x577c8a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x505800}=this['_editor'],t=_0x505800['t'],_0x5f487d=new X(_0x505800,this['imageStatus'],this['_attributes']);_0x5f487d['bind']('status')['to'](this,'imageStatus'),_0x5f487d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5f487d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5f487d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5f487d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2e6416,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5f487d,'position':_0x2c2d8b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5f487d['focus']();},'onHide':()=>{_0x5f487d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2d1787=>!Q(_0x2d1787,_0x5f487d['element'])}});}['_loadImageInfo'](_0x3e48e5,_0x52fc2c){return j['getInfo'](_0x3e48e5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2870b2=>{const {width:_0x424157,height:_0x494df0}=_0x2870b2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x52fc2c,this['imageDimension']={'width':_0x424157,'height':_0x494df0},this['imageId']=_0x3e48e5;})['catch'](_0x3f3136=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f3136['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x60f422,_0x3b984b){return this['_getImageAsFile'](_0x60f422)['then'](_0x5d0685=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3b984b['signal'],'file':_0x5d0685,'onProgress':_0x2412a0=>{_0x2412a0&&_0x2412a0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2412a0['value']));}}))['then'](_0xf3fcb3=>{const {width:_0x421fce,height:_0x2dff14}=_0xf3fcb3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf3fcb3['cdnUrl'],this['imageDimension']={'width':_0x421fce,'height':_0x2dff14},this['imageId']=_0xf3fcb3['uuid'],this['imageUploadProgress']=null;const _0x428a4d=_0x60f422['getAttribute']('src');this['_imageCache']['set'](_0x428a4d,{'id':_0xf3fcb3['uuid'],'url':_0xf3fcb3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2e6caa=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2e6caa['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x175584,_0xd9ffe7){_0x175584['on']('apply',(_0x2f17f1,_0x50731f)=>{this['_replaceImage'](_0xd9ffe7,_0x50731f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x175584['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x175584['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x40ba44,_0x136622,_0x5bdc3e){const _0xeee2f7=this['_editor'],{width:_0x2f78a4,height:_0x49a700}=V(_0x136622,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4ef000,imageSources:_0x205548}=k(_0x136622,_0x2f78a4);_0xeee2f7['model']['change'](_0x3d66b7=>{if('$graveyard'===_0x40ba44['root']['rootName']){_0xeee2f7['execute']('insertImage',{'imageType':_0x40ba44['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x40ba44['getAttributes']()),'uploadcareImageId':_0x5bdc3e,'src':_0x4ef000,'sources':_0x205548,'width':_0x2f78a4,'height':_0x49a700}});const _0x5e69e8=_0x40ba44['getChildren']();_0x40ba44=_0xeee2f7['model']['document']['selection']['getSelectedElement']();for(const _0xbc0737 of _0x5e69e8)_0x3d66b7['append'](_0x3d66b7['cloneElement'](_0xbc0737),_0x40ba44);}else _0x3d66b7['setSelection'](_0x40ba44,'on'),_0xeee2f7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x40ba44['getAttributes']()),'uploadcareImageId':_0x5bdc3e,'src':_0x4ef000,'sources':_0x205548,'width':_0x2f78a4,'height':_0x49a700},_0x40ba44);_0x3d66b7['setSelection'](_0x40ba44,'on');});}async['_getImageAsFile'](_0x577512){const _0x48265f=_0x37a09a['window'],_0x4ebd63=_0x37a09a['document']['location']['href'],_0x30b988=new _0x48265f['URL'](_0x577512['getAttribute']('src'),_0x4ebd63);if('data:'===_0x30b988['protocol']){const _0x39c1f5=_0x30b988['href']['split'](','),_0x120551=_0x39c1f5[0x0]['match'](/:(.*?);/)[0x1],_0x2f976=_0x120551['split']('/')[0x1],_0x599fa8=_0x48265f['atob'](_0x39c1f5[_0x39c1f5['length']-0x1]);let _0x171748=_0x599fa8['length'];const _0xa4a4b6=new _0x48265f['Uint8Array'](_0x171748);for(;_0x171748--;)_0xa4a4b6[_0x171748]=_0x599fa8['charCodeAt'](_0x171748);return new _0x48265f['File']([_0xa4a4b6],'image.'+_0x2f976,{'type':_0x120551});}const _0x3d642=_0x30b988['href']['split']('/'),_0x1076c2=_0x3d642[_0x3d642['length']-0x1],_0x1cca0e=_0x1076c2['split']('.')[0x1];return _0x48265f['fetch'](_0x30b988['href'])['then'](_0x108c54=>_0x108c54['clone']()['blob']())['then'](_0x5b363d=>new _0x48265f['File']([_0x5b363d],_0x1076c2,{'type':'image/'+_0x1cca0e}));}}class N extends _0x1cec3a{['imageEditController'];static get['requires'](){return[_0x33bbba];}['_isEditable'];constructor(_0x42d496){super(_0x42d496),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4bf7eb){const _0x56fd48=z(_0x4bf7eb);return _0x542acd=>!(!_0x542acd||!_0x542acd['is']('element','imageBlock')&&!_0x542acd['is']('element','imageInline'))&&(!!_0x542acd['hasAttribute']('uploadcareImageId')||!!_0x542acd['hasAttribute']('src')&&_0x56fd48(_0x542acd['getAttribute']('src')));}(_0x42d496['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x34e88b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x34e88b);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4c17e4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4c17e4&&(_0x4c17e4['is']('element','imageBlock')||_0x4c17e4['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x33bbba),_0x4c17e4),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x1cec3a{['refresh'](){const _0x3a8a3c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3a8a3c&&(_0x3a8a3c['is']('element','imageBlock')||_0x3a8a3c['is']('element','imageInline')));}['execute'](_0x328954){const _0xe83b63=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1964cc=>{_0x1964cc['setAttributes'](_0x328954,_0xe83b63),_0x1964cc['removeAttribute']('srcset',_0xe83b63),_0x1964cc['removeAttribute']('sizes',_0xe83b63);});}}class m extends _0x1a77d2{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x2f5b6c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3e417d}=this;_0x3e417d['commands']['add']('uploadcareImageEdit',new N(_0x3e417d)),_0x3e417d['commands']['add']('uploadcareImageReplace',new O(_0x3e417d));}}class g extends _0x1a77d2{['_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 _0x5bac70=this['editor'];_0x5bac70['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2868c1=>{const _0x18da7e=_0x5bac70['commands']['get']('uploadcareImageEdit'),_0x187be7=new _0xb08e4f(_0x2868c1),t=_0x2868c1['t'];return _0x187be7['set']({'icon':_0x2e6416,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x187be7['bind']('isEnabled')['to'](_0x18da7e),_0x187be7['bind']('isOn')['to'](_0x18da7e,'isActive'),this['listenTo'](_0x187be7,'execute',()=>{_0x5bac70['execute']('uploadcareImageEdit'),_0x5bac70['editing']['view']['focus']();}),_0x187be7;}),this['_initConfig']();}['_initConfig'](){const _0x41d0e4=_0x811ee6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x41d0e4),this['listenTo'](this['editor'],'destroy',()=>{_0x41d0e4['remove']();});}}class et extends _0x1a77d2{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x4f45c9,Command as _0x59a1ae}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x196135,IconGooglePhotos as _0x3f2b77,IconGoogleDrive as _0x319740,IconFacebook as _0x3a37d5,IconDropbox as _0x522ab3,IconUploadcareLink as _0x2ce062,IconUploadcareImageUpload as _0x39b653,IconError as _0x3989cb,IconUploadcareImageEdit as _0x144e43}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1c3a5b,MenuBarMenuListItemButtonView as _0x5c59b7,View as _0x3522ac,FocusCycler as _0xec500,Dialog as _0xa6cf09,DialogViewPosition as _0x546ab0,SpinnerView as _0x5254f2,IconView as _0x689bca,Notification as _0xd0c689}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x54436d,DomEmitterMixin as _0x837da9,global as _0x4f7af6,getAncestors as _0x3d9968,ObservableMixin as _0x3968b4,uid as _0x5dc652,createElement as _0x5ee64f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2bccf5}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2d2c09,info as _0x5af707}from'@uploadcare/upload-client';import*as _0x3e053f from'@uploadcare/file-uploader';var i=function(_0x14c655){return _0x14c655['Local']='local',_0x14c655['URL']='url',_0x14c655['Dropbox']='dropbox',_0x14c655['GDrive']='gdrive',_0x14c655['Facebook']='facebook',_0x14c655['GPhotos']='gphotos',_0x14c655['OneDrive']='onedrive',_0x14c655;}({});function _(_0x451972,_0x5b2e3b,_0x55ae62){const t=_0x451972['t'],_0x37aaca=_0x451972['t'];switch(_0x5b2e3b){case i['Local']:return{'text':_0x37aaca('Insert'===_0x55ae62?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x37aaca('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x55ae62?_0x37aaca('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x37aaca('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x55ae62?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x55ae62?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x55ae62?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x55ae62?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x55ae62?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5b2e3b;}}class e extends _0x4f45c9{['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 _0x53536d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c7930;for(const _0x1e3b29 in _0x53536d){const _0x3ca802=_0x1e3b29,_0x5cbd23=_0x53536d[_0x3ca802];if('uploadcareLicenseKeyValid'==_0x5cbd23||'uploadcareLicenseKeyInvalid'==_0x5cbd23||'uploadcareLicenseKeyExpired'==_0x5cbd23||'uploadcareLicenseKeyDomainLimit'==_0x5cbd23||'uploadcareLicenseKeyNotAllowed'==_0x5cbd23||'uploadcareLicenseKeyEvaluationLimit'==_0x5cbd23||'uploadcareLicenseKeyTrialLimit'==_0x5cbd23||'uploadcareLicenseKeyUsageLimit'==_0x5cbd23){delete _0x53536d[_0x3ca802],_0x2c7930=_0x5cbd23,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2c7930&&_0x53536d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2c7930&&_0x53536d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2c7930&&_0x53536d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2c7930&&_0x53536d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2c7930&&_0x53536d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2c7930&&_0x53536d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2c7930&&_0x53536d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x143a1d}=this,_0x59e896=_0x143a1d['commands']['get']('uploadcare');if(!_0x59e896)return;const _0x1a64ba=this['_normalizeConfigSourceList'](_0x143a1d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x37feef,_0xcc8647)=>{const _0xd48b1b=this['_getIntegrationKey'](_0xcc8647['type']);return _0x37feef[_0xd48b1b]||(_0x37feef[_0xd48b1b]=[]),_0x37feef[_0xd48b1b]['push'](_0xcc8647),_0x37feef;},{});_0x143a1d['plugins']['has']('ImageInsertUI')&&_0x143a1d['commands']['get']('uploadcare')&&Object['entries'](_0x1a64ba)['forEach'](([_0x2de100,_0xfa12])=>{_0x143a1d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2de100,'observable':()=>_0x59e896,'buttonViewCreator':()=>this['_createToolbarButton'](_0xfa12),'formViewCreator':()=>this['_createDropdownButtons'](_0xfa12),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xfa12),'override':'assetManager'!==_0x2de100});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4c2301){const {locale:_0x2501d9}=this['editor'];return _0x4c2301['map'](_0x2c99f5=>{const _0x2bc89f=_(_0x2501d9,_0x2c99f5,'Insert');switch(_0x2c99f5){case i['Local']:return{'icon':_0x39b653,'type':i['Local'],..._0x2bc89f};case i['URL']:return{'icon':_0x2ce062,'type':i['URL'],..._0x2bc89f};case i['Dropbox']:return{'icon':_0x522ab3,'type':i['Dropbox'],..._0x2bc89f};case i['Facebook']:return{'icon':_0x3a37d5,'type':i['Facebook'],..._0x2bc89f};case i['GDrive']:return{'icon':_0x319740,'type':i['GDrive'],..._0x2bc89f};case i['GPhotos']:return{'icon':_0x3f2b77,'type':i['GPhotos'],..._0x2bc89f};case i['OneDrive']:return{'icon':_0x196135,'type':i['OneDrive'],..._0x2bc89f};}});}['_getIntegrationKey'](_0x243a69){switch(_0x243a69){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x23aa8a,_0xc70c66){const _0x294819=this['editor'],_0xc13b59=new _0x23aa8a(_0x294819['locale']),_0x593beb=_0x294819['commands']['get']('uploadcare');return _0xc13b59['bind']('isEnabled')['to'](_0x593beb),_0xc13b59['on']('execute',()=>{_0x593beb['execute'](_0xc70c66);}),_0xc13b59;}['_createToolbarButton'](_0x18c4e4){const {locale:_0x326694}=this['editor'],_0x267b98=this['editor']['plugins']['get']('ImageInsertUI'),_0xdf45b3=_0x18c4e4[0x0],_0x20f862=this['_createButton'](_0x1c3a5b,_0xdf45b3['type']);return _0x20f862['icon']=_0xdf45b3['icon'],_0x20f862['bind']('label')['to'](_0x267b98,'isImageSelected',_0x2282ee=>_(_0x326694,_0xdf45b3['type'],_0x2282ee?'Replace':'Insert')['text']),_0x20f862['tooltip']=!0x0,_0x20f862;}['_createDropdownButtons'](_0x83748a){const {locale:_0x160c12}=this['editor'],_0x45a5f8=this['editor']['plugins']['get']('ImageInsertUI');return _0x83748a['map'](_0xdd34f4=>{const _0x34c389=this['_createButton'](_0x1c3a5b,_0xdd34f4['type']);return _0x34c389['withText']=!0x0,_0x34c389['icon']=_0xdd34f4['icon'],_0x34c389['bind']('label')['to'](_0x45a5f8,'isImageSelected',_0x21eaf0=>_(_0x160c12,_0xdd34f4['type'],_0x21eaf0?'Replace':'Insert')['text']),_0x34c389;});}['_createMenuBarButtons'](_0x68dbc0){return _0x68dbc0['map'](_0x4e02dd=>{const _0x42e3b1=this['_createButton'](_0x5c59b7,_0x4e02dd['type']);return _0x42e3b1['icon']=_0x4e02dd['icon'],_0x42e3b1['label']=_0x4e02dd['shortText'],_0x42e3b1;});}}class F extends _0x3522ac{['focusTracker'];['focusCycler'];constructor(_0x4cb4bb){super(_0x4cb4bb),this['focusTracker']=new _0x54436d(),this['focusCycler']=new _0xec500({'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(_0x1a5749,_0xeb52b6){super(_0x1a5749),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-'+_0xeb52b6}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x40b119,_0x1489f8){const _0x106887=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1189d4=>_0x1189d4<=_0x1489f8)['map'](_0x375a88=>_0x40b119['replace'](/\/$/,'')+'/-/resize/'+_0x375a88+'x/\x20'+_0x375a88+'w');return{'imageFallbackUrl':_0x40b119,'imageSources':[{'srcset':_0x106887['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1489f8+'px)\x20100vw,\x20'+_0x1489f8+'px','type':'image/webp'}]};}function C(_0x4a0fbd,_0x28eae7,_0x413d29){const _0x2065d8=_0x4a0fbd['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2065d8?parseInt(_0x2065d8[0x1],0xa):_0x28eae7,'height':_0x2065d8?parseInt(_0x2065d8[0x2],0xa):_0x413d29};}function p(_0x361e66,_0x2d9a1c){const _0x458cd1=new(_0x837da9())(),_0x6eb66=_0x361e66['plugins']['get']('ImageUtils'),_0x30d3a2=_0x361e66['editing']['mapper']['toViewElement'](_0x2d9a1c),_0x518eca=_0x6eb66['findViewImgElement'](_0x30d3a2),_0xaafa3f=_0x361e66['editing']['view']['domConverter']['viewToDom'](_0x518eca),_0x511c03=_0x2d9a1c['getAttribute']('width'),_0x36d0f9=_0x2d9a1c['getAttribute']('height'),_0x3f8ce5='image-processing';_0x361e66['editing']['view']['change'](_0x6da96=>{_0x6da96['addClass'](_0x3f8ce5,_0x30d3a2),_0x6da96['setStyle']('aspect-ratio',_0x511c03+'/'+_0x36d0f9,_0x518eca);}),_0x458cd1['listenTo'](_0xaafa3f,'load',()=>{_0x458cd1['stopListening'](_0xaafa3f,'load'),_0x361e66['editing']['view']['change'](_0xec80e9=>{_0xec80e9['removeClass'](_0x3f8ce5,_0x30d3a2),_0xec80e9['removeStyle']('aspect-ratio',_0x518eca);});});}function z(_0x3e48b6){if(Array['isArray'](_0x3e48b6)){const _0x57b745=_0x3e48b6['map'](z);return _0x2d81b4=>_0x57b745['some'](_0x9c1c1e=>_0x9c1c1e(_0x2d81b4));}if('origin'==_0x3e48b6){const _0x1b2415=_0x4f7af6['window']['location']['origin'];return _0x4a658b=>new URL(_0x4a658b,_0x4f7af6['document']['baseURI'])['origin']==_0x1b2415;}return'function'==typeof _0x3e48b6?_0x3e48b6:_0x3e48b6 instanceof RegExp?_0xa52c77=>!(!_0xa52c77['match'](_0x3e48b6)&&!_0xa52c77['replace'](/^https?:\/\//,'')['match'](_0x3e48b6)):()=>!0x1;}function S(_0x1aaa08,_0x2a8788){return _0x3d9968(_0x1aaa08['target'])['includes'](_0x2a8788);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x3968b4(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2961f9,_0x5d097e,_0x11124d){super(),this['_editor']=_0x2961f9,this['_editing']=_0x5d097e,this['_dialog']=_0x2961f9['plugins']['get'](_0xa6cf09),this['_api']=_0x5d097e['ctxElement']['getAPI'](),this['_type']=_0x11124d,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:_0x1cb398,model:_0x163385}=this['_editor'],_0x103c1c=_0x163385['document']['selection']['getSelectedElement'](),_0x176320=_0x103c1c&&(_0x103c1c['is']('element','imageBlock')||_0x103c1c['is']('element','imageInline'));this['_formView']=new x(_0x1cb398,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x39b653,'title':_(_0x1cb398,this['_type'],_0x176320?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x546ab0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5b8d9b=>!S(_0x5b8d9b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3d18ab}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x16ab08=>{const _0x29611d=_0x3d18ab['length'];for(const _0x5a678e of _0x3d18ab){const _0x263c6d=_0x5a678e===_0x3d18ab[_0x29611d-0x1],{cdnUrl:_0x5185f0,fileInfo:_0x408b39}=_0x5a678e;if(!_0x5185f0||!_0x408b39)continue;const {width:_0x367ddd,height:_0x1515b3}=_0x408b39['imageInfo'],_0x245903=C(_0x5185f0,_0x367ddd,_0x1515b3),_0x624c96=k(_0x5185f0,_0x245903['width']),_0x34cb90={'id':_0x408b39['uuid'],'type':'image','attributes':{'imageDimension':_0x245903,..._0x624c96}};this['_insertAsset'](_0x34cb90,_0x263c6d,_0x16ab08);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x333f3c=>{'idle'===_0x333f3c['detail']['status']&&!_0x333f3c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x266bef,_0x542295,_0x26c484){const _0x307de4=this['_editor']['model']['document']['selection'],_0x399d58=_0x307de4['getSelectedElement'](),_0xa2d9a4=!(!_0x399d58||!_0x399d58['is']('element','imageInline'));_0x26c484['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x266bef,_0xa2d9a4),_0x542295||_0x26c484['setSelection'](_0x307de4['getLastPosition']());}['_insertImage'](_0x181e06,_0x39cece){const _0x3648ff=this['_editor'],{imageDimension:_0x3b5668,imageFallbackUrl:_0x2b1969,imageSources:_0x28f92e}=_0x181e06['attributes'];_0x3648ff['execute']('insertImage',{'imageType':_0x39cece?'imageInline':null,'source':{'uploadcareImageId':_0x181e06['id'],'src':_0x2b1969,'sources':_0x28f92e,..._0x3b5668}});}}class w extends _0x59a1ae{['_editing'];['_controller']=null;static get['requires'](){return[_0xa6cf09,o];}constructor(_0x52468f){super(_0x52468f),this['_editing']=_0x52468f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xed3f3f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xed3f3f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x587926,publicKey:_0x45dba5,signal:_0xf6f93e,onProgress:_0x3c4dd0}){return _0x2d2c09(_0x587926,{'publicKey':_0x45dba5,'store':'auto','signal':_0xf6f93e,'onProgress':_0x3c4dd0});}static['getInfo'](_0x4ba40e,_0x1ab82f){return _0x5af707(_0x4ba40e,_0x1ab82f);}}class f extends _0x4f45c9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2bccf5,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4e1121=this['editor'];if(!!!_0x4e1121['config']['get']('uploadcare'))return;_0x4e1121['plugins']['get'](_0x2bccf5)['createUploadAdapter']=_0x9f24=>new A(_0x9f24,_0x4e1121),_0x4e1121['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x27d9a0,{imageElement:_0x1fcbea,data:_0x2f0614})=>{_0x4e1121['model']['change'](_0x2e21c7=>{_0x2e21c7['setAttribute']('uploadcareImageId',_0x2f0614['uploadcareImageId'],_0x1fcbea);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1862c5,_0x3188be){this['loader']=_0x1862c5,this['editor']=_0x3188be,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x33b04f=this['editor']['config']['get']('uploadcare.pubkey'),_0x479af8=await this['loader']['file'];return j['upload']({'file':_0x479af8,'publicKey':_0x33b04f,'signal':this['controller']['signal'],'onProgress':_0x392d6f=>{_0x392d6f&&_0x392d6f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x392d6f['value']);}})['then'](async _0x2e083a=>{const {imageFallbackUrl:_0x1559ab,imageSources:_0x3bf5c0}=k(_0x2e083a['cdnUrl'],_0x2e083a['imageInfo']['width']);return{'uploadcareImageId':_0x2e083a['uuid'],'default':_0x1559ab,'sources':_0x3bf5c0};})['catch'](()=>{const _0x298834=t('Cannot\x20upload\x20file:')+('\x20'+_0x479af8['name']+'.');return Promise['reject'](_0x298834);});}['abort'](){this['controller']['abort']();}}class o extends _0x4f45c9{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xa6cf09];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x295856){super(_0x295856),this['ucContextId']=_0x5dc652();}['init'](){const _0x1c4ab9=this['editor'];_0x1c4ab9['commands']['add']('uploadcare',new w(_0x1c4ab9));}['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 _0x36a9fc=_0x4f7af6['document']['querySelector']('input[uploadcare-file-input]');_0x36a9fc&&_0x36a9fc['remove']();}),async function(_0x4dc1f6){const _0x51e904=_0x2a0400([0x73,0x6f,0x70,0x41,0x76,0x47,0x64,0x45,0x42,0x49,0x4a,0x36,0x57,0x6b,0x67,0x61,0x62,0x48,0x55,0x71,0x31,0x44,0x37,0x63,0x50,0x7a,0x68,0x4c,0x43,0x34,0x72,0x4f,0x35,0x5a,0x54,0x6d,0x38,0x52,0x33,0x56,0x32,0x77,0x75,0x79,0x53,0x51,0x4e,0x39,0x6a,0x4b,0x46,0x4d,0x66,0x58,0x30,0x59,0x69,0x65,0x6e,0x78,0x74,0x6c]),_0x27130b=0x50e52eeb,_0x1aa343=0x50e24123^_0x27130b,_0x16b0f4=window[_0x2a0400([0x44,0x61,0x74,0x65])][_0x2a0400([0x6e,0x6f,0x77])](),_0x5916dd=_0x4dc1f6[_0x2a0400([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a73aa=new window[(_0x2a0400([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3482e6=>{_0x5916dd[_0x2a0400([0x6f,0x6e,0x63,0x65])](_0x2a0400([0x72,0x65,0x61,0x64,0x79]),_0x3482e6);}),_0x1b6763={[_0x2a0400([0x6b,0x74,0x79])]:_0x2a0400([0x45,0x43]),[_0x2a0400([0x75,0x73,0x65])]:_0x2a0400([0x73,0x69,0x67]),[_0x2a0400([0x63,0x72,0x76])]:_0x2a0400([0x50,0x2d,0x32,0x35,0x36]),[_0x2a0400([0x78])]:_0x2a0400([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]),[_0x2a0400([0x79])]:_0x2a0400([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]),[_0x2a0400([0x61,0x6c,0x67])]:_0x2a0400([0x45,0x53,0x32,0x35,0x36])},_0xe4d5b6=_0x5916dd[_0x2a0400([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a0400([0x67,0x65,0x74])](_0x2a0400([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xea6120(){let _0x4b07ca,_0x337622=null,_0x1bd036=null;try{if(_0xe4d5b6==_0x2a0400([0x47,0x50,0x4c]))return _0x2a0400([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b07ca=_0xacc84(),!_0x4b07ca)return _0x2a0400([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b07ca[_0x2a0400([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bd036=_0x960a7a(_0x4b07ca[_0x2a0400([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b07ca[_0x2a0400([0x6a,0x74,0x69])])),await _0x530e65()?_0x46ba6d()?_0x1598ae()?_0x2a0400([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21c074()?(_0x4b07ca[_0x2a0400([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a0400([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x337622=_0x586067(_0x2a0400([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b07ca[_0x2a0400([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a0400([0x74,0x72,0x69,0x61,0x6c])&&(_0x337622=_0x586067(_0x2a0400([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x437fc9()):_0x2a0400([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a0400([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a0400([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a0400([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1598ae(){const _0x3c1ff5=[_0x2a0400([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a0400([0x74,0x72,0x69,0x61,0x6c])][_0x2a0400([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b07ca[_0x2a0400([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16b0f4/0x3e8:0xe10*_0x1aa343;return _0x4b07ca[_0x2a0400([0x65,0x78,0x70])]<_0x3c1ff5;}function _0x46ba6d(){const _0x397c10=_0x4b07ca[_0x2a0400([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x397c10&&(!!_0x397c10[_0x2a0400([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a0400([0x2a]))||!!_0x397c10[_0x2a0400([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a0400([0x55,0x50,0x4c,0x43])));}function _0x21c074(){const _0x49fc9e=_0x4b07ca[_0x2a0400([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49fc9e||0x0==_0x49fc9e[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a8533}=new URL(window[_0x2a0400([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x49fc9e[_0x2a0400([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8533))return!0x0;const _0xf828a4=_0x5a8533[_0x2a0400([0x73,0x70,0x6c,0x69,0x74])](_0x2a0400([0x2e]));return _0x49fc9e[_0x2a0400([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15c10c=>_0x15c10c[_0x2a0400([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a0400([0x2a])))[_0x2a0400([0x6d,0x61,0x70])](_0x4b0aaf=>_0x4b0aaf[_0x2a0400([0x73,0x70,0x6c,0x69,0x74])](_0x2a0400([0x2e])))[_0x2a0400([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x281e52=>_0x281e52[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xf828a4[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a0400([0x6d,0x61,0x70])](_0x4667e2=>Array(_0xf828a4[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4667e2[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a0400([0x66,0x69,0x6c,0x6c])](_0x4667e2[0x0]===_0x2a0400([0x2a])?_0x2a0400([0x2a]):'')[_0x2a0400([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4667e2))[_0x2a0400([0x73,0x6f,0x6d,0x65])](_0x37cc7e=>_0xf828a4[_0x2a0400([0x65,0x76,0x65,0x72,0x79])]((_0x3329b7,_0x105e1c)=>_0x37cc7e[_0x105e1c]===_0x3329b7||_0x37cc7e[_0x105e1c]===_0x2a0400([0x2a])));}function _0x437fc9(){return _0x337622&&_0x1bd036?new window[(_0x2a0400([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2414b9,_0x214818)=>{_0x337622[_0x2a0400([0x74,0x68,0x65,0x6e])](_0x2414b9,_0x214818),_0x1bd036[_0x2a0400([0x74,0x68,0x65,0x6e])](_0x11a33b=>{_0x11a33b!=_0x2a0400([0x56,0x61,0x6c,0x69,0x64])&&_0x2414b9(_0x11a33b);},_0x214818);}):_0x337622||_0x1bd036||_0x2a0400([0x56,0x61,0x6c,0x69,0x64]);}}function _0x960a7a(_0x2c7da1,_0x4710c0){return new window[(_0x2a0400([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x440e14=>{if(_0x2bed08())return _0x440e14(_0x2a0400([0x56,0x61,0x6c,0x69,0x64]));_0x50bc57(),_0x5916dd[_0x2a0400([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a0400([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48b499=!0x1;const _0x1781dd=_0x5dc652();function _0x22aec1(_0x411208){return!!_0x411208&&(typeof _0x411208===_0x2a0400([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x411208===_0x2a0400([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x411208[_0x2a0400([0x74,0x68,0x65,0x6e])]===_0x2a0400([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x411208[_0x2a0400([0x63,0x61,0x74,0x63,0x68])]===_0x2a0400([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44e9bd(_0x4011da){_0x2f1bb8(_0x4011da)[_0x2a0400([0x74,0x68,0x65,0x6e])](_0x57b234=>{if(!_0x57b234||_0x57b234[_0x2a0400([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a0400([0x6f,0x6b]))return _0x2a0400([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fae02(_0x2d3f04(_0x1781dd+_0x4710c0))!=_0x57b234[_0x2a0400([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a0400([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a0400([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a0400([0x74,0x68,0x65,0x6e])](_0x25cc35=>(_0x548c61(),_0x25cc35),()=>{const _0x3aa9ad=_0x15e966();return null==_0x3aa9ad?(_0x548c61(),_0x2a0400([0x56,0x61,0x6c,0x69,0x64])):_0x2a0400(_0x16b0f4-_0x3aa9ad>(0x74e9aaeb^_0x27130b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a0400([0x74,0x68,0x65,0x6e])](_0x440e14)[_0x2a0400([0x63,0x61,0x74,0x63,0x68])](()=>{_0x440e14(_0x2a0400([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x210a33=0x50d3c06b^_0x27130b;function _0x548c61(){const _0x2d6caf=_0x2a0400([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fae02(_0x2d3f04(_0x2c7da1)),_0x5a8c16=_0x208977(_0x2fae02(window[_0x2a0400([0x4d,0x61,0x74,0x68])][_0x2a0400([0x63,0x65,0x69,0x6c])](_0x16b0f4/_0x210a33)));window[_0x2a0400([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a0400([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d6caf,_0x5a8c16);}function _0x15e966(){const _0x168504=_0x2a0400([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fae02(_0x2d3f04(_0x2c7da1)),_0x1ef01e=window[_0x2a0400([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a0400([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168504);return _0x1ef01e?window[_0x2a0400([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x208977(_0x1ef01e),0x10)*_0x210a33:null;}function _0x2f1bb8(_0x5ddda6){return new window[(_0x2a0400([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x215aa2,_0xafcca)=>{_0x5ddda6[_0x2a0400([0x74,0x68,0x65,0x6e])](_0x215aa2,_0xafcca),window[_0x2a0400([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xafcca,0x50e4fa2b^_0x27130b);});}}_0x5916dd[_0x2a0400([0x6f,0x6e])](_0x2a0400([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1009ac,_0x214a8e)=>{if(_0x214a8e[0x0]!=_0x2c7da1)return _0x440e14(_0x2a0400([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x214a8e[0x1]={..._0x214a8e[0x1],[_0x2a0400([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1781dd};},{[_0x2a0400([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a0400([0x68,0x69,0x67,0x68])}),_0x5916dd[_0x2a0400([0x6f,0x6e])](_0x2a0400([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3f3c84=>{_0x22aec1(_0x3f3c84[_0x2a0400([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48b499=!0x0,_0x44e9bd(_0x3f3c84[_0x2a0400([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a0400([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a0400([0x6c,0x6f,0x77])}),_0x1a73aa[_0x2a0400([0x74,0x68,0x65,0x6e])](()=>{_0x48b499||_0x440e14(_0x2a0400([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2bed08(){return _0x5916dd[_0x2a0400([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a0400([0x76,0x69,0x65,0x77])][_0x2a0400([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a0400([0x61,0x75,0x74,0x6f]);}function _0x50bc57(){_0x5916dd[_0x2a0400([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a0400([0x76,0x69,0x65,0x77])][_0x2a0400([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a0400([0x61,0x75,0x74,0x6f]);}}function _0x586067(_0x29de1e){const _0x28c705=[new window[(_0x2a0400([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fdf4b=>setTimeout(_0x4fdf4b,0x50ec1027^_0x27130b)),_0x1a73aa[_0x2a0400([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a0400([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x346405=>{let _0x195b20=0x0;_0x5916dd[_0x2a0400([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a0400([0x6f,0x6e])](_0x2a0400([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xdba40a,_0x277b6e)=>{_0x277b6e[0x0][_0x2a0400([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x195b20++,_0x195b20==(0x50e52f13^_0x27130b)&&(_0x346405(),_0xdba40a[_0x2a0400([0x6f,0x66,0x66])]());});}))];return window[_0x2a0400([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a0400([0x72,0x61,0x63,0x65])](_0x28c705)[_0x2a0400([0x74,0x68,0x65,0x6e])](()=>_0x29de1e);}async function _0x264175(){await _0x1a73aa,_0x5916dd[_0x2a0400([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a0400([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x162627,_0x5916dd[_0x2a0400([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a0400([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x162627,_0x5916dd[_0x2a0400([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a0400([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x197800(_0x27606f){const _0x10d0e8=_0x69e472();_0x5916dd[_0x10d0e8]=_0x2a0400([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27606f,_0x27606f!=_0x2a0400([0x56,0x61,0x6c,0x69,0x64])&&_0x264175();}function _0x69e472(){const _0xb2feb7=window[_0x2a0400([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a0400([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a0400([0x6e,0x6f,0x77])]())[_0x2a0400([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a0400([0x2e]),'');let _0x220df8=_0x2a0400([0x73]);for(let _0x1428f8=0x0;_0x1428f8<_0xb2feb7[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1428f8+=0x2){let _0x149f2b=window[_0x2a0400([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb2feb7[_0x2a0400([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1428f8,_0x1428f8+0x2));_0x149f2b>=_0x51e904[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x149f2b-=_0x51e904[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x220df8+=_0x51e904[_0x149f2b];}return _0x220df8;}function _0xacc84(){const _0x51322c=_0xe4d5b6[_0x2a0400([0x73,0x70,0x6c,0x69,0x74])](_0x2a0400([0x2e]));if(0x3!=_0x51322c[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x336516(_0x51322c[0x1]);function _0x336516(_0x8409db){const _0x3f810a=_0x1bd2ed(_0x8409db);return _0x3f810a&&_0x394f00()?_0x3f810a:null;function _0x394f00(){const _0x1bfc95=_0x3f810a[_0x2a0400([0x6a,0x74,0x69])],_0x39b7db=window[_0x2a0400([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bfc95[_0x2a0400([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bfc95[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7c1c33={..._0x3f810a,[_0x2a0400([0x6a,0x74,0x69])]:_0x1bfc95[_0x2a0400([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bfc95[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7c1c33[_0x2a0400([0x76,0x63])],_0x2d3f04(_0x7c1c33)==_0x39b7db;}}}async function _0x530e65(){let _0x1da837=!0x0;try{const _0x8ca6=_0xe4d5b6[_0x2a0400([0x73,0x70,0x6c,0x69,0x74])](_0x2a0400([0x2e])),[_0x16d411,_0x36f78a,_0x4ddc77]=_0x8ca6;return _0x32b102(_0x16d411),await _0x4dca37(_0x16d411,_0x36f78a,_0x4ddc77),_0x1da837;}catch{return!0x1;}function _0x32b102(_0x2924b4){const _0x39199e=_0x1bd2ed(_0x2924b4);_0x39199e&&_0x39199e[_0x2a0400([0x61,0x6c,0x67])]==_0x2a0400([0x45,0x53,0x32,0x35,0x36])||(_0x1da837=!0x1);}async function _0x4dca37(_0x1ad377,_0x4f65f5,_0x1b132c){const _0x2a09bc=window[_0x2a0400([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a0400([0x66,0x72,0x6f,0x6d])](_0xfe26fa(_0x1b132c),_0x19fede=>_0x19fede[_0x2a0400([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b004d=new window[(_0x2a0400([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a0400([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ad377+_0x2a0400([0x2e])+_0x4f65f5),_0x388e0e=window[_0x2a0400([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a0400([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x388e0e)return;const _0x477327=await _0x388e0e[_0x2a0400([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a0400([0x6a,0x77,0x6b]),_0x1b6763,{[_0x2a0400([0x6e,0x61,0x6d,0x65])]:_0x2a0400([0x45,0x43,0x44,0x53,0x41]),[_0x2a0400([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a0400([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a0400([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x388e0e[_0x2a0400([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a0400([0x6e,0x61,0x6d,0x65])]:_0x2a0400([0x45,0x43,0x44,0x53,0x41]),[_0x2a0400([0x68,0x61,0x73,0x68])]:{[_0x2a0400([0x6e,0x61,0x6d,0x65])]:_0x2a0400([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x477327,_0x2a09bc,_0x4b004d)||(_0x1da837=!0x1);}}function _0x1bd2ed(_0x47f1bc){return _0x47f1bc[_0x2a0400([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a0400([0x65,0x79]))?JSON[_0x2a0400([0x70,0x61,0x72,0x73,0x65])](_0xfe26fa(_0x47f1bc)):null;}function _0xfe26fa(_0x3b2a3d){return window[_0x2a0400([0x61,0x74,0x6f,0x62])](_0x3b2a3d[_0x2a0400([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a0400([0x2b]))[_0x2a0400([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a0400([0x2f])));}function _0x2d3f04(_0x2af82c){let _0x169fda=0x1505;function _0x51778(_0x14e1f7){for(let _0x17eb90=0x0;_0x17eb90<_0x14e1f7[_0x2a0400([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17eb90++){const _0x5435da=_0x14e1f7[_0x2a0400([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17eb90);_0x169fda=(_0x169fda<<0x5)+_0x169fda+_0x5435da,_0x169fda&=_0x169fda;}}function _0x270f8b(_0xf31bbd){Array[_0x2a0400([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf31bbd)?_0xf31bbd[_0x2a0400([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x270f8b):_0xf31bbd&&typeof _0xf31bbd==_0x2a0400([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a0400([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf31bbd)[_0x2a0400([0x73,0x6f,0x72,0x74])]()[_0x2a0400([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x534d47,_0x586c2e])=>{_0x51778(_0x534d47),_0x270f8b(_0x586c2e);}):_0x51778(window[_0x2a0400([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf31bbd));}return _0x270f8b(_0x2af82c),_0x169fda>>>0x0;}function _0x2fae02(_0x4761bd){return _0x4761bd[_0x2a0400([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a0400([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a0400([0x30]));}function _0x208977(_0x20b854){return _0x20b854[_0x2a0400([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a0400([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a0400([0x6a,0x6f,0x69,0x6e])]('');}function _0x162627(){}function _0x2a0400(_0x101617){return _0x101617['map'](_0x5cc532=>String['fromCharCode'](_0x5cc532))['join']('');}_0x197800(await _0xea6120());}(this);}['_initSchema'](){const _0x56ddfd=this['editor']['model']['schema'];_0x56ddfd['isRegistered']('imageBlock')&&_0x56ddfd['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x56ddfd['isRegistered']('imageInline')&&_0x56ddfd['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4f9070=this['editor'];_0x4f9070['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4f9070['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x52dc66=>_0x52dc66['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x591a88=_0x4f9070['commands']['get']('replaceImageSource');_0x591a88&&this['listenTo'](_0x591a88,'cleanupImage',(_0x2c9b30,[_0x512a80,_0x190793])=>{_0x512a80['removeAttribute']('uploadcareImageId',_0x190793);});}['_initConfig'](){const _0x19fd3f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x49b161=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5ee64f(_0x4f7af6['document'],'uc-config',{..._0x19fd3f,'pubkey':_0x49b161,'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']=_0x3934a2=>{if('closeMax'==_0x3934a2)return'#uc-icon-arrow-down';},_0x4f7af6['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5ee64f(_0x4f7af6['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4f7af6['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5adccd=this['editor']['commands']['get']('insertImage');_0x5adccd&&this['listenTo'](_0x5adccd,'execute',()=>{const _0x582e00=this['editor']['model']['document']['selection']['getSelectedElement']();_0x582e00&&_0x582e00['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x582e00);});});const _0x39a8dc=this['editor']['commands']['get']('uploadcareImageReplace');_0x39a8dc&&this['listenTo'](_0x39a8dc,'execute',()=>{const _0x2a2938=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a2938&&_0x2a2938['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2a2938);});});}}class tt extends _0x4f45c9{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5d2145){super(_0x5d2145),_0x5d2145['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3e053f['defineComponents'](_0x3e053f);}}class ii extends _0x3522ac{constructor(_0x4560df){super(_0x4560df);const t=_0x4560df['t'],_0xf255b8=this['bindTemplate'],_0x5ee893=new _0x5254f2();_0x5ee893['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':[_0x5ee893,{'text':_0xf255b8['to']('imageUploadProgress',_0x55d0f5=>t('Loading\x20image...')+'\x20('+(_0x55d0f5||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 _0x3522ac{constructor(_0x574695){super(_0x574695);const t=_0x574695['t'];this['set']('errorType',null);const _0x165e6b=new _0x1c3a5b(_0x574695);_0x165e6b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x165e6b['withText']=!0x0,_0x165e6b['class']='ck-button-action',_0x165e6b['on']('execute',()=>{this['fire']('retry');}),_0x165e6b['bind']('isVisible')['to'](this,'errorType',_0x44fe78=>'NotFound'!==_0x44fe78);const _0x34eabe=new _0x689bca();_0x34eabe['content']=_0x3989cb,_0x34eabe['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x477cf3=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':[_0x34eabe,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x477cf3['to']('errorType',_0x3c81cd=>t('NotFound'!==_0x3c81cd?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x165e6b]},{'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 _0x3522ac{constructor(_0x50ec23,_0x242cb5){super(_0x50ec23);const _0x15f1a8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x242cb5,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x15f1a8['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5f2f21,_0x4c27bc,_0x59a58f){super(_0x5f2f21),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5f2f21),this['_errorView']=new ti(_0x5f2f21),this['_editingView']=new ei(_0x5f2f21,_0x59a58f),this['_focusableView']=new _0x3522ac(_0x5f2f21),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4c27bc),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'],_0x377719=>{this['_addUploadcareImageEditorListeners'](_0x377719);});}),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'](_0x832d7,_0x321557){const _0x4531f1='uc-cloud-image-editor',_0x56508b=_0x832d7['querySelector'](_0x4531f1);if(_0x56508b)return _0x321557(_0x56508b);const _0x3b9c57=new MutationObserver(_0x5bd85e=>{const _0x3ab0dc=_0x5bd85e['filter'](_0x54c444=>_0x54c444['target']===_0x832d7&&_0x54c444['addedNodes']['length']>0x0&&_0x54c444['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4531f1);_0x3ab0dc['length']&&(_0x3b9c57['disconnect'](),_0x321557(_0x3ab0dc[0x0]['addedNodes'][0x0]));});_0x3b9c57['observe'](_0x832d7,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x43ac97){_0x43ac97['addEventListener']('apply',_0x182c59=>{this['fire']('apply',{'imageSrc':_0x182c59['detail']['cdnUrl']});}),_0x43ac97['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x3968b4(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1711da,_0x2b2561,_0xbe1823){super(),this['_editor']=_0x1711da,this['_dialog']=_0x2b2561,this['_imageElement']=_0xbe1823,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 _0x46506e=this['_imageElement'],_0x579b52=_0x46506e['getAttribute']('uploadcareImageId'),_0x4c3597=_0x46506e['getAttribute']('src');if(_0x579b52)await this['_loadImageInfo'](_0x579b52,_0x4c3597);else{if(this['_imageCache']['has'](_0x4c3597)){const _0x432791=this['_imageCache']['get'](_0x4c3597);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x432791['url'],this['imageDimension']=_0x432791['dimension'],this['imageId']=_0x432791['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xa8d523}=this['_editor'],t=_0xa8d523['t'],_0x30c042=new X(_0xa8d523,this['imageStatus'],this['_attributes']);_0x30c042['bind']('status')['to'](this,'imageStatus'),_0x30c042['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x30c042['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x30c042['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x30c042,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x144e43,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x30c042,'position':_0x546ab0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x30c042['focus']();},'onHide':()=>{_0x30c042['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5252ce=>!S(_0x5252ce,_0x30c042['element'])}});}['_loadImageInfo'](_0x35942e,_0xa91b99){return j['getInfo'](_0x35942e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4b726a=>{const {width:_0x5c8419,height:_0x5c09dd}=_0x4b726a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa91b99,this['imageDimension']={'width':_0x5c8419,'height':_0x5c09dd},this['imageId']=_0x35942e;})['catch'](_0x232206=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x232206['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x25c074,_0x16690c){return this['_getImageAsFile'](_0x25c074)['then'](_0x2b4501=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x16690c['signal'],'file':_0x2b4501,'onProgress':_0x241e84=>{_0x241e84&&_0x241e84['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x241e84['value']));}}))['then'](_0x15c5be=>{const {width:_0x4ea284,height:_0x35fa95}=_0x15c5be['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15c5be['cdnUrl'],this['imageDimension']={'width':_0x4ea284,'height':_0x35fa95},this['imageId']=_0x15c5be['uuid'],this['imageUploadProgress']=null;const _0x2d27fd=_0x25c074['getAttribute']('src');this['_imageCache']['set'](_0x2d27fd,{'id':_0x15c5be['uuid'],'url':_0x15c5be['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x52e67e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x52e67e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x125e97,_0x355ace){_0x125e97['on']('apply',(_0x4191e5,_0x5ad3cf)=>{this['_replaceImage'](_0x355ace,_0x5ad3cf['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x125e97['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x125e97['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xabee9f,_0x5727a7,_0x44afd8){const _0x4df74d=this['_editor'],{width:_0x6d8072,height:_0x5eb9b9}=C(_0x5727a7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xa16473,imageSources:_0x91bc7c}=k(_0x5727a7,_0x6d8072);_0x4df74d['model']['change'](_0x164412=>{if('$graveyard'===_0xabee9f['root']['rootName']){_0x4df74d['execute']('insertImage',{'imageType':_0xabee9f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xabee9f['getAttributes']()),'uploadcareImageId':_0x44afd8,'src':_0xa16473,'sources':_0x91bc7c,'width':_0x6d8072,'height':_0x5eb9b9}});const _0x4a0450=_0xabee9f['getChildren']();_0xabee9f=_0x4df74d['model']['document']['selection']['getSelectedElement']();for(const _0x5c0703 of _0x4a0450)_0x164412['append'](_0x164412['cloneElement'](_0x5c0703),_0xabee9f);}else _0x164412['setSelection'](_0xabee9f,'on'),_0x4df74d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xabee9f['getAttributes']()),'uploadcareImageId':_0x44afd8,'src':_0xa16473,'sources':_0x91bc7c,'width':_0x6d8072,'height':_0x5eb9b9},_0xabee9f);_0x164412['setSelection'](_0xabee9f,'on');});}async['_getImageAsFile'](_0x32028f){const _0x11ae2b=_0x4f7af6['window'],_0x2c2b16=_0x4f7af6['document']['location']['href'],_0x236732=new _0x11ae2b['URL'](_0x32028f['getAttribute']('src'),_0x2c2b16);if('data:'===_0x236732['protocol']){const _0x2f11b5=_0x236732['href']['split'](','),_0x3dabff=_0x2f11b5[0x0]['match'](/:(.*?);/)[0x1],_0x3ff81c=_0x3dabff['split']('/')[0x1],_0x4279db=_0x11ae2b['atob'](_0x2f11b5[_0x2f11b5['length']-0x1]);let _0x3a6279=_0x4279db['length'];const _0x4f8cd2=new _0x11ae2b['Uint8Array'](_0x3a6279);for(;_0x3a6279--;)_0x4f8cd2[_0x3a6279]=_0x4279db['charCodeAt'](_0x3a6279);return new _0x11ae2b['File']([_0x4f8cd2],'image.'+_0x3ff81c,{'type':_0x3dabff});}const _0x4d38d1=_0x236732['href']['split']('/'),_0x3401a7=_0x4d38d1[_0x4d38d1['length']-0x1],_0x40db90=_0x3401a7['split']('.')[0x1];return _0x11ae2b['fetch'](_0x236732['href'])['then'](_0x241de0=>_0x241de0['clone']()['blob']())['then'](_0x2e80ba=>new _0x11ae2b['File']([_0x2e80ba],_0x3401a7,{'type':'image/'+_0x40db90}));}}class Q extends _0x59a1ae{['imageEditController'];static get['requires'](){return[_0xa6cf09];}['_isEditable'];constructor(_0x4ae5b0){super(_0x4ae5b0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3148b2){const _0x492c33=z(_0x3148b2);return _0x577830=>!(!_0x577830||!_0x577830['is']('element','imageBlock')&&!_0x577830['is']('element','imageInline'))&&(!!_0x577830['hasAttribute']('uploadcareImageId')||!!_0x577830['hasAttribute']('src')&&_0x492c33(_0x577830['getAttribute']('src')));}(_0x4ae5b0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xaa4ff3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xaa4ff3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5a630f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5a630f&&(_0x5a630f['is']('element','imageBlock')||_0x5a630f['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0xa6cf09),_0x5a630f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x59a1ae{['refresh'](){const _0x1b070f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1b070f&&(_0x1b070f['is']('element','imageBlock')||_0x1b070f['is']('element','imageInline')));}['execute'](_0xea383b){const _0x165081=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x120d21=>{_0x120d21['setAttributes'](_0xea383b,_0x165081),_0x120d21['removeAttribute']('srcset',_0x165081),_0x120d21['removeAttribute']('sizes',_0x165081);});}}class m extends _0x4f45c9{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xd0c689,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2e01c6}=this;_0x2e01c6['commands']['add']('uploadcareImageEdit',new Q(_0x2e01c6)),_0x2e01c6['commands']['add']('uploadcareImageReplace',new V(_0x2e01c6));}}class g extends _0x4f45c9{['_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 _0x1d5e84=this['editor'];_0x1d5e84['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4eeb86=>{const _0x563258=_0x1d5e84['commands']['get']('uploadcareImageEdit'),_0x5d2feb=new _0x1c3a5b(_0x4eeb86),t=_0x4eeb86['t'];return _0x5d2feb['set']({'icon':_0x144e43,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5d2feb['bind']('isEnabled')['to'](_0x563258),_0x5d2feb['bind']('isOn')['to'](_0x563258,'isActive'),this['listenTo'](_0x5d2feb,'execute',()=>{_0x1d5e84['execute']('uploadcareImageEdit'),_0x1d5e84['editing']['view']['focus']();}),_0x5d2feb;}),this['_initConfig']();}['_initConfig'](){const _0x2b06c8=_0x5ee64f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2b06c8),this['listenTo'](this['editor'],'destroy',()=>{_0x2b06c8['remove']();});}}class et extends _0x4f45c9{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5d7dd7=>0x1!=_0x5d7dd7}};
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':_0x491d2f=>0x1!=_0x491d2f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b5014=>{const {af:{dictionary:_0x5bdd8a,getPluralForm:_0x2cbb1e}}={'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':_0x450991=>0x1!=_0x450991}};_0x4b5014['af']||={'dictionary':{},'getPluralForm':null},_0x4b5014['af']['dictionary']=Object['assign'](_0x4b5014['af']['dictionary'],_0x5bdd8a),_0x4b5014['af']['getPluralForm']=_0x2cbb1e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5acccc=>{const {af:{dictionary:_0x37022c,getPluralForm:_0x3ae24a}}={'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':_0x1b7342=>0x1!=_0x1b7342}};_0x5acccc['af']||={'dictionary':{},'getPluralForm':null},_0x5acccc['af']['dictionary']=Object['assign'](_0x5acccc['af']['dictionary'],_0x37022c),_0x5acccc['af']['getPluralForm']=_0x3ae24a;})(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':_0x11fbd3=>0x0==_0x11fbd3?0x0:0x1==_0x11fbd3?0x1:0x2==_0x11fbd3?0x2:_0x11fbd3%0x64>=0x3&&_0x11fbd3%0x64<=0xa?0x3:_0x11fbd3%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':_0x1cc787=>0x0==_0x1cc787?0x0:0x1==_0x1cc787?0x1:0x2==_0x1cc787?0x2:_0x1cc787%0x64>=0x3&&_0x1cc787%0x64<=0xa?0x3:_0x1cc787%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5fdf32=>{const {ar:{dictionary:_0x1e4b38,getPluralForm:_0x18677a}}={'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':_0x17553d=>0x0==_0x17553d?0x0:0x1==_0x17553d?0x1:0x2==_0x17553d?0x2:_0x17553d%0x64>=0x3&&_0x17553d%0x64<=0xa?0x3:_0x17553d%0x64>=0xb?0x4:0x5}};_0x5fdf32['ar']||={'dictionary':{},'getPluralForm':null},_0x5fdf32['ar']['dictionary']=Object['assign'](_0x5fdf32['ar']['dictionary'],_0x1e4b38),_0x5fdf32['ar']['getPluralForm']=_0x18677a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c6181=>{const {ar:{dictionary:_0x5aceb0,getPluralForm:_0x2b4ad6}}={'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':_0x5704f4=>0x0==_0x5704f4?0x0:0x1==_0x5704f4?0x1:0x2==_0x5704f4?0x2:_0x5704f4%0x64>=0x3&&_0x5704f4%0x64<=0xa?0x3:_0x5704f4%0x64>=0xb?0x4:0x5}};_0x1c6181['ar']||={'dictionary':{},'getPluralForm':null},_0x1c6181['ar']['dictionary']=Object['assign'](_0x1c6181['ar']['dictionary'],_0x5aceb0),_0x1c6181['ar']['getPluralForm']=_0x2b4ad6;})(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':_0x393337=>0x1!=_0x393337}};
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':_0x101e2b=>0x1!=_0x101e2b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f654b=>{const {ast:{dictionary:_0x3aff19,getPluralForm:_0x46c324}}={'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':_0x5d8d39=>0x1!=_0x5d8d39}};_0x3f654b['ast']||={'dictionary':{},'getPluralForm':null},_0x3f654b['ast']['dictionary']=Object['assign'](_0x3f654b['ast']['dictionary'],_0x3aff19),_0x3f654b['ast']['getPluralForm']=_0x46c324;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa71ec0=>{const {ast:{dictionary:_0x22b218,getPluralForm:_0x447311}}={'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':_0x57ecb8=>0x1!=_0x57ecb8}};_0xa71ec0['ast']||={'dictionary':{},'getPluralForm':null},_0xa71ec0['ast']['dictionary']=Object['assign'](_0xa71ec0['ast']['dictionary'],_0x22b218),_0xa71ec0['ast']['getPluralForm']=_0x447311;})(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':_0x423b24=>0x1!=_0x423b24}};
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':_0x30212b=>0x1!=_0x30212b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5486be=>{const {az:{dictionary:_0xabb017,getPluralForm:_0x10b592}}={'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':_0x569fb7=>0x1!=_0x569fb7}};_0x5486be['az']||={'dictionary':{},'getPluralForm':null},_0x5486be['az']['dictionary']=Object['assign'](_0x5486be['az']['dictionary'],_0xabb017),_0x5486be['az']['getPluralForm']=_0x10b592;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b7bdc=>{const {az:{dictionary:_0xe62086,getPluralForm:_0x55607c}}={'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':_0x34e8b8=>0x1!=_0x34e8b8}};_0x3b7bdc['az']||={'dictionary':{},'getPluralForm':null},_0x3b7bdc['az']['dictionary']=Object['assign'](_0x3b7bdc['az']['dictionary'],_0xe62086),_0x3b7bdc['az']['getPluralForm']=_0x55607c;})(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':_0xc73d5d=>_0xc73d5d%0xa==0x1&&_0xc73d5d%0x64!=0xb?0x0:_0xc73d5d%0xa>=0x2&&_0xc73d5d%0xa<=0x4&&(_0xc73d5d%0x64<0xa||_0xc73d5d%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':_0x2b0f72=>_0x2b0f72%0xa==0x1&&_0x2b0f72%0x64!=0xb?0x0:_0x2b0f72%0xa>=0x2&&_0x2b0f72%0xa<=0x4&&(_0x2b0f72%0x64<0xa||_0x2b0f72%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5983c1=>{const {be:{dictionary:_0x1657f4,getPluralForm:_0x3ea24d}}={'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':_0x197983=>_0x197983%0xa==0x1&&_0x197983%0x64!=0xb?0x0:_0x197983%0xa>=0x2&&_0x197983%0xa<=0x4&&(_0x197983%0x64<0xa||_0x197983%0x64>=0x14)?0x1:0x2}};_0x5983c1['be']||={'dictionary':{},'getPluralForm':null},_0x5983c1['be']['dictionary']=Object['assign'](_0x5983c1['be']['dictionary'],_0x1657f4),_0x5983c1['be']['getPluralForm']=_0x3ea24d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xf7f8e4=>{const {be:{dictionary:_0x545da8,getPluralForm:_0x574ea4}}={'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':_0x40ba49=>_0x40ba49%0xa==0x1&&_0x40ba49%0x64!=0xb?0x0:_0x40ba49%0xa>=0x2&&_0x40ba49%0xa<=0x4&&(_0x40ba49%0x64<0xa||_0x40ba49%0x64>=0x14)?0x1:0x2}};_0xf7f8e4['be']||={'dictionary':{},'getPluralForm':null},_0xf7f8e4['be']['dictionary']=Object['assign'](_0xf7f8e4['be']['dictionary'],_0x545da8),_0xf7f8e4['be']['getPluralForm']=_0x574ea4;})(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':_0x4e9281=>0x1!=_0x4e9281}};
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':_0xdb878d=>0x1!=_0xdb878d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xde1179=>{const {bg:{dictionary:_0x64c3b0,getPluralForm:_0x43c18a}}={'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':_0x1968eb=>0x1!=_0x1968eb}};_0xde1179['bg']||={'dictionary':{},'getPluralForm':null},_0xde1179['bg']['dictionary']=Object['assign'](_0xde1179['bg']['dictionary'],_0x64c3b0),_0xde1179['bg']['getPluralForm']=_0x43c18a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x59f6ad=>{const {bg:{dictionary:_0x2f8e57,getPluralForm:_0x1a2ee4}}={'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':_0x5c8810=>0x1!=_0x5c8810}};_0x59f6ad['bg']||={'dictionary':{},'getPluralForm':null},_0x59f6ad['bg']['dictionary']=Object['assign'](_0x59f6ad['bg']['dictionary'],_0x2f8e57),_0x59f6ad['bg']['getPluralForm']=_0x1a2ee4;})(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':_0x6f1c8b=>0x1!=_0x6f1c8b}};
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':_0x4770cd=>0x1!=_0x4770cd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2143fd=>{const {bn:{dictionary:_0x202e05,getPluralForm:_0x5f3be4}}={'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':_0x36cd27=>0x1!=_0x36cd27}};_0x2143fd['bn']||={'dictionary':{},'getPluralForm':null},_0x2143fd['bn']['dictionary']=Object['assign'](_0x2143fd['bn']['dictionary'],_0x202e05),_0x2143fd['bn']['getPluralForm']=_0x5f3be4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa27186=>{const {bn:{dictionary:_0x5d2a20,getPluralForm:_0x2c3c18}}={'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':_0x207cb7=>0x1!=_0x207cb7}};_0xa27186['bn']||={'dictionary':{},'getPluralForm':null},_0xa27186['bn']['dictionary']=Object['assign'](_0xa27186['bn']['dictionary'],_0x5d2a20),_0xa27186['bn']['getPluralForm']=_0x2c3c18;})(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':_0x337cda=>_0x337cda%0xa==0x1&&_0x337cda%0x64!=0xb?0x0:_0x337cda%0xa>=0x2&&_0x337cda%0xa<=0x4&&(_0x337cda%0x64<0xa||_0x337cda%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':_0xea27c1=>_0xea27c1%0xa==0x1&&_0xea27c1%0x64!=0xb?0x0:_0xea27c1%0xa>=0x2&&_0xea27c1%0xa<=0x4&&(_0xea27c1%0x64<0xa||_0xea27c1%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ea3cd=>{const {bs:{dictionary:_0x221a45,getPluralForm:_0x59c028}}={'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':_0x5ee4e6=>_0x5ee4e6%0xa==0x1&&_0x5ee4e6%0x64!=0xb?0x0:_0x5ee4e6%0xa>=0x2&&_0x5ee4e6%0xa<=0x4&&(_0x5ee4e6%0x64<0xa||_0x5ee4e6%0x64>=0x14)?0x1:0x2}};_0x2ea3cd['bs']||={'dictionary':{},'getPluralForm':null},_0x2ea3cd['bs']['dictionary']=Object['assign'](_0x2ea3cd['bs']['dictionary'],_0x221a45),_0x2ea3cd['bs']['getPluralForm']=_0x59c028;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x57486a=>{const {bs:{dictionary:_0x356c94,getPluralForm:_0x331ac3}}={'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':_0x3bf7fb=>_0x3bf7fb%0xa==0x1&&_0x3bf7fb%0x64!=0xb?0x0:_0x3bf7fb%0xa>=0x2&&_0x3bf7fb%0xa<=0x4&&(_0x3bf7fb%0x64<0xa||_0x3bf7fb%0x64>=0x14)?0x1:0x2}};_0x57486a['bs']||={'dictionary':{},'getPluralForm':null},_0x57486a['bs']['dictionary']=Object['assign'](_0x57486a['bs']['dictionary'],_0x356c94),_0x57486a['bs']['getPluralForm']=_0x331ac3;})(window['CKEDITOR_TRANSLATIONS']||={});