@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251218.0 → 0.0.0-nightly-20251220.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index-editor.css +38 -74
  3. package/dist/index.css +40 -78
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +9 -9
  152. package/src/index.js +1 -1
  153. package/src/ui/uploadcarecontroller.js +2 -2
  154. package/src/ui/uploadcareformview.js +1 -1
  155. package/src/uploadcare.js +1 -1
  156. package/src/uploadcarecommand.js +1 -1
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  168. package/src/uploadcareimageedit.js +1 -1
  169. package/src/uploadcareui.js +1 -1
  170. package/src/uploadcareuploadadapter.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/dialogfocusmanagerview.js +1 -1
  173. package/src/utils/editingutils.js +1 -1
  174. package/src/utils/isancestor.js +1 -1
  175. package/src/utils/uploadutils.js +1 -1
  176. package/theme/uploadcare-form.css +4 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4d8b1b,Command as _0xcd1462}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x268ce3,IconGooglePhotos as _0x2e5459,IconGoogleDrive as _0x163bfc,IconFacebook as _0x537774,IconDropbox as _0x2d17d4,IconUploadcareLink as _0x430c89,IconUploadcareImageUpload as _0x637fcd,IconError as _0x2c792d,IconUploadcareImageEdit as _0x43aaaa}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x58a88e,MenuBarMenuListItemButtonView as _0x4ababa,View as _0x50764c,FocusCycler as _0xcee17d,Dialog as _0x59a921,DialogViewPosition as _0x9c8c58,SpinnerView as _0x250155,IconView as _0x3af733,Notification as _0x4ec434}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x540e0d,DomEmitterMixin as _0x50b020,global as _0x28ef36,getAncestors as _0x6af533,ObservableMixin as _0x4fc692,uid as _0x26ff52,createElement as _0x132ca0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x45b973}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x14b17a,info as _0xe2bf55}from'@uploadcare/upload-client';import*as _0x2c084d from'@uploadcare/file-uploader';var i=function(_0x7974a0){return _0x7974a0['Local']='local',_0x7974a0['URL']='url',_0x7974a0['Dropbox']='dropbox',_0x7974a0['GDrive']='gdrive',_0x7974a0['Facebook']='facebook',_0x7974a0['GPhotos']='gphotos',_0x7974a0['OneDrive']='onedrive',_0x7974a0;}({});function _(_0x36dd9a,_0x576023,_0x35cb16){const t=_0x36dd9a['t'],_0x1f25d7=_0x36dd9a['t'];switch(_0x576023){case i['Local']:return{'text':_0x1f25d7('Insert'===_0x35cb16?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1f25d7('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x35cb16?_0x1f25d7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1f25d7('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x35cb16?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x35cb16?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x35cb16?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x35cb16?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x35cb16?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x576023;}}class e extends _0x4d8b1b{['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 _0x280988=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ae9b6;for(const _0x5de73b in _0x280988){const _0x314a8b=_0x5de73b,_0xba75f7=_0x280988[_0x314a8b];if('uploadcareLicenseKeyValid'==_0xba75f7||'uploadcareLicenseKeyInvalid'==_0xba75f7||'uploadcareLicenseKeyExpired'==_0xba75f7||'uploadcareLicenseKeyDomainLimit'==_0xba75f7||'uploadcareLicenseKeyNotAllowed'==_0xba75f7||'uploadcareLicenseKeyEvaluationLimit'==_0xba75f7||'uploadcareLicenseKeyTrialLimit'==_0xba75f7||'uploadcareLicenseKeyUsageLimit'==_0xba75f7){delete _0x280988[_0x314a8b],_0x5ae9b6=_0xba75f7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5ae9b6&&_0x280988['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5ae9b6&&_0x280988['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5ae9b6&&_0x280988['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5ae9b6&&_0x280988['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5ae9b6&&_0x280988['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5ae9b6&&_0x280988['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5ae9b6&&_0x280988['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1824f2}=this,_0x55cedc=_0x1824f2['commands']['get']('uploadcare');if(!_0x55cedc)return;const _0x2a643b=this['_normalizeConfigSourceList'](_0x1824f2['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3a0d20,_0x12aaf0)=>{const _0x2305e4=this['_getIntegrationKey'](_0x12aaf0['type']);return _0x3a0d20[_0x2305e4]||(_0x3a0d20[_0x2305e4]=[]),_0x3a0d20[_0x2305e4]['push'](_0x12aaf0),_0x3a0d20;},{});_0x1824f2['plugins']['has']('ImageInsertUI')&&_0x1824f2['commands']['get']('uploadcare')&&Object['entries'](_0x2a643b)['forEach'](([_0x39b432,_0x588c9c])=>{_0x1824f2['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x39b432,'observable':()=>_0x55cedc,'buttonViewCreator':()=>this['_createToolbarButton'](_0x588c9c),'formViewCreator':()=>this['_createDropdownButtons'](_0x588c9c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x588c9c),'override':'assetManager'!==_0x39b432});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3da544){const {locale:_0x432d64}=this['editor'];return _0x3da544['map'](_0x1051ec=>{const _0x5a12d7=_(_0x432d64,_0x1051ec,'Insert');switch(_0x1051ec){case i['Local']:return{'icon':_0x637fcd,'type':i['Local'],..._0x5a12d7};case i['URL']:return{'icon':_0x430c89,'type':i['URL'],..._0x5a12d7};case i['Dropbox']:return{'icon':_0x2d17d4,'type':i['Dropbox'],..._0x5a12d7};case i['Facebook']:return{'icon':_0x537774,'type':i['Facebook'],..._0x5a12d7};case i['GDrive']:return{'icon':_0x163bfc,'type':i['GDrive'],..._0x5a12d7};case i['GPhotos']:return{'icon':_0x2e5459,'type':i['GPhotos'],..._0x5a12d7};case i['OneDrive']:return{'icon':_0x268ce3,'type':i['OneDrive'],..._0x5a12d7};}});}['_getIntegrationKey'](_0x47bd3){switch(_0x47bd3){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4af51e,_0x462f92){const _0x36970f=this['editor'],_0x53e7da=new _0x4af51e(_0x36970f['locale']),_0xf490fc=_0x36970f['commands']['get']('uploadcare');return _0x53e7da['bind']('isEnabled')['to'](_0xf490fc),_0x53e7da['on']('execute',()=>{_0xf490fc['execute'](_0x462f92);}),_0x53e7da;}['_createToolbarButton'](_0x4f8dbb){const {locale:_0x46c746}=this['editor'],_0x471ce9=this['editor']['plugins']['get']('ImageInsertUI'),_0x54d9b7=_0x4f8dbb[0x0],_0x2a76d9=this['_createButton'](_0x58a88e,_0x54d9b7['type']);return _0x2a76d9['icon']=_0x54d9b7['icon'],_0x2a76d9['bind']('label')['to'](_0x471ce9,'isImageSelected',_0x1c0a77=>_(_0x46c746,_0x54d9b7['type'],_0x1c0a77?'Replace':'Insert')['text']),_0x2a76d9['tooltip']=!0x0,_0x2a76d9;}['_createDropdownButtons'](_0x45e770){const {locale:_0x498076}=this['editor'],_0x13df62=this['editor']['plugins']['get']('ImageInsertUI');return _0x45e770['map'](_0x2c33c8=>{const _0x189436=this['_createButton'](_0x58a88e,_0x2c33c8['type']);return _0x189436['withText']=!0x0,_0x189436['icon']=_0x2c33c8['icon'],_0x189436['bind']('label')['to'](_0x13df62,'isImageSelected',_0x5a197b=>_(_0x498076,_0x2c33c8['type'],_0x5a197b?'Replace':'Insert')['text']),_0x189436;});}['_createMenuBarButtons'](_0x1b8ebc){return _0x1b8ebc['map'](_0xa8414a=>{const _0x41327e=this['_createButton'](_0x4ababa,_0xa8414a['type']);return _0x41327e['icon']=_0xa8414a['icon'],_0x41327e['label']=_0xa8414a['shortText'],_0x41327e;});}}class F extends _0x50764c{['focusTracker'];['focusCycler'];constructor(_0xcdd1c7){super(_0xcdd1c7),this['focusTracker']=new _0x540e0d(),this['focusCycler']=new _0xcee17d({'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(_0x48f7dd,_0x1a9980){super(_0x48f7dd),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-'+_0x1a9980}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x810d5d,_0x3ad3cd){const _0x3124da=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5d959b=>_0x5d959b<=_0x3ad3cd)['map'](_0x573aa0=>_0x810d5d['replace'](/\/$/,'')+'/-/resize/'+_0x573aa0+'x/\x20'+_0x573aa0+'w');return{'imageFallbackUrl':_0x810d5d,'imageSources':[{'srcset':_0x3124da['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3ad3cd+'px)\x20100vw,\x20'+_0x3ad3cd+'px','type':'image/webp'}]};}function S(_0x117edb,_0x123df1,_0x194b1f){const _0x4e7fb1=_0x117edb['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4e7fb1?parseInt(_0x4e7fb1[0x1],0xa):_0x123df1,'height':_0x4e7fb1?parseInt(_0x4e7fb1[0x2],0xa):_0x194b1f};}function p(_0x39d047,_0x326ef7){const _0x20a738=new(_0x50b020())(),_0x5df0b4=_0x39d047['plugins']['get']('ImageUtils'),_0xd8dbe2=_0x39d047['editing']['mapper']['toViewElement'](_0x326ef7),_0x5c16f2=_0x5df0b4['findViewImgElement'](_0xd8dbe2),_0x270935=_0x39d047['editing']['view']['domConverter']['viewToDom'](_0x5c16f2),_0x35b861=_0x326ef7['getAttribute']('width'),_0x31d115=_0x326ef7['getAttribute']('height'),_0x576921='image-processing';_0x39d047['editing']['view']['change'](_0x4f0d32=>{_0x4f0d32['addClass'](_0x576921,_0xd8dbe2),_0x4f0d32['setStyle']('aspect-ratio',_0x35b861+'/'+_0x31d115,_0x5c16f2);}),_0x20a738['listenTo'](_0x270935,'load',()=>{_0x20a738['stopListening'](_0x270935,'load'),_0x39d047['editing']['view']['change'](_0x1e7b79=>{_0x1e7b79['removeClass'](_0x576921,_0xd8dbe2),_0x1e7b79['removeStyle']('aspect-ratio',_0x5c16f2);});});}function G(_0x42d7c9){if(Array['isArray'](_0x42d7c9)){const _0xfcf084=_0x42d7c9['map'](G);return _0x240642=>_0xfcf084['some'](_0x1ec5ce=>_0x1ec5ce(_0x240642));}if('origin'==_0x42d7c9){const _0x9c956a=_0x28ef36['window']['location']['origin'];return _0x5f3b1e=>new URL(_0x5f3b1e,_0x28ef36['document']['baseURI'])['origin']==_0x9c956a;}return'function'==typeof _0x42d7c9?_0x42d7c9:_0x42d7c9 instanceof RegExp?_0x1f0d71=>!(!_0x1f0d71['match'](_0x42d7c9)&&!_0x1f0d71['replace'](/^https?:\/\//,'')['match'](_0x42d7c9)):()=>!0x1;}function A(_0x38828e,_0x390253){return _0x6af533(_0x38828e['target'])['includes'](_0x390253);}class n extends/* #__PURE__ -- @preserve */
24
- _0x4fc692(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x22e82c,_0x4143d3,_0x5d8b44){super(),this['_editor']=_0x22e82c,this['_editing']=_0x4143d3,this['_dialog']=_0x22e82c['plugins']['get'](_0x59a921),this['_api']=_0x4143d3['ctxElement']['getAPI'](),this['_type']=_0x5d8b44,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:_0x210cff,model:_0x1bc042}=this['_editor'],_0x53403e=_0x1bc042['document']['selection']['getSelectedElement'](),_0x40e6af=_0x53403e&&(_0x53403e['is']('element','imageBlock')||_0x53403e['is']('element','imageInline'));this['_formView']=new x(_0x210cff,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x637fcd,'title':_(_0x210cff,this['_type'],_0x40e6af?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x9c8c58['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x13035c=>!A(_0x13035c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x14a84f}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x257f4b=>{const _0x1e4136=_0x14a84f['length'];for(const _0x37a2a0 of _0x14a84f){const _0x15b51f=_0x37a2a0===_0x14a84f[_0x1e4136-0x1],{cdnUrl:_0x12c42d,fileInfo:_0x195f51}=_0x37a2a0;if(!_0x12c42d||!_0x195f51)continue;const {width:_0x42cae8,height:_0x3ccdfb}=_0x195f51['imageInfo'],_0x1db25d=S(_0x12c42d,_0x42cae8,_0x3ccdfb),_0x36615a=C(_0x12c42d,_0x1db25d['width']),_0x3f6fec={'id':_0x195f51['uuid'],'type':'image','attributes':{'imageDimension':_0x1db25d,..._0x36615a}};this['_insertAsset'](_0x3f6fec,_0x15b51f,_0x257f4b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x55e839=>{'idle'===_0x55e839['detail']['status']&&!_0x55e839['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x40feb1,_0x44b241,_0x3b573b){const _0x375183=this['_editor']['model']['document']['selection'],_0x3752c8=_0x375183['getSelectedElement'](),_0x27599c=!(!_0x3752c8||!_0x3752c8['is']('element','imageInline'));_0x3b573b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x40feb1,_0x27599c),_0x44b241||_0x3b573b['setSelection'](_0x375183['getLastPosition']());}['_insertImage'](_0x5d2def,_0x555890){const _0x232b51=this['_editor'],{imageDimension:_0xda9c6d,imageFallbackUrl:_0xee3461,imageSources:_0x2da781}=_0x5d2def['attributes'];_0x232b51['execute']('insertImage',{'imageType':_0x555890?'imageInline':null,'source':{'uploadcareImageId':_0x5d2def['id'],'src':_0xee3461,'sources':_0x2da781,..._0xda9c6d}});}}class w extends _0xcd1462{['_editing'];['_controller']=null;static get['requires'](){return[_0x59a921,o];}constructor(_0x4f7ba1){super(_0x4f7ba1),this['_editing']=_0x4f7ba1['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5ef372){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5ef372);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1236f6,..._0x3a2699}){return _0x14b17a(_0x1236f6,_0x3a2699);}static['getInfo'](_0x3600f4,_0x3e5919){return _0xe2bf55(_0x3600f4,_0x3e5919);}}class f extends _0x4d8b1b{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x45b973,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5b3996=this['editor'];if(!!!_0x5b3996['config']['get']('uploadcare'))return;_0x5b3996['plugins']['get'](_0x45b973)['createUploadAdapter']=_0x4084ed=>new k(_0x4084ed,_0x5b3996),_0x5b3996['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x542c1a,{imageElement:_0x19a179,data:_0x38a9f0})=>{_0x5b3996['model']['change'](_0x53f8b0=>{_0x53f8b0['setAttribute']('uploadcareImageId',_0x38a9f0['uploadcareImageId'],_0x19a179);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4534a0,_0x5b6e21){this['loader']=_0x4534a0,this['editor']=_0x5b6e21,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3e19ae=await this['loader']['file'];return j['upload']({'file':_0x3e19ae,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x29ca36=>{_0x29ca36&&_0x29ca36['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x29ca36['value']);}})['then'](async _0x36334f=>{const {imageFallbackUrl:_0x5a51df,imageSources:_0x48bd42}=C(_0x36334f['cdnUrl'],_0x36334f['imageInfo']['width']);return{'uploadcareImageId':_0x36334f['uuid'],'default':_0x5a51df,'sources':_0x48bd42};})['catch'](()=>{const _0x5a864e=t('Cannot\x20upload\x20file:')+('\x20'+_0x3e19ae['name']+'.');return Promise['reject'](_0x5a864e);});}['abort'](){this['controller']['abort']();}}class o extends _0x4d8b1b{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x59a921];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5f4991){super(_0x5f4991),this['ucContextId']=_0x26ff52();}['init'](){const _0x30ae64=this['editor'];_0x30ae64['commands']['add']('uploadcare',new w(_0x30ae64));}['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 _0x53c724=_0x28ef36['document']['querySelector']('input[uploadcare-file-input]');_0x53c724&&_0x53c724['remove']();}),async function(_0x2a135d){const _0x34fa1=_0x44fd89([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x3eccb2=0x535f8c3a,_0x3e8bf3=0x5358f07a^_0x3eccb2,_0x49e1c6=window[_0x44fd89([0x44,0x61,0x74,0x65])][_0x44fd89([0x6e,0x6f,0x77])](),_0x8e69e2=_0x2a135d[_0x44fd89([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ac90e=new window[(_0x44fd89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fb7a9=>{_0x8e69e2[_0x44fd89([0x6f,0x6e,0x63,0x65])](_0x44fd89([0x72,0x65,0x61,0x64,0x79]),_0x3fb7a9);}),_0x257a26={[_0x44fd89([0x6b,0x74,0x79])]:_0x44fd89([0x45,0x43]),[_0x44fd89([0x75,0x73,0x65])]:_0x44fd89([0x73,0x69,0x67]),[_0x44fd89([0x63,0x72,0x76])]:_0x44fd89([0x50,0x2d,0x32,0x35,0x36]),[_0x44fd89([0x78])]:_0x44fd89([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]),[_0x44fd89([0x79])]:_0x44fd89([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]),[_0x44fd89([0x61,0x6c,0x67])]:_0x44fd89([0x45,0x53,0x32,0x35,0x36])},_0xb930f5=_0x8e69e2[_0x44fd89([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x44fd89([0x67,0x65,0x74])](_0x44fd89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x41ceaf(){let _0x923a34,_0x338aa3=null,_0x570fb3=null;try{if(_0xb930f5==_0x44fd89([0x47,0x50,0x4c]))return _0x44fd89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x923a34=_0x479b20(),!_0x923a34)return _0x44fd89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x923a34[_0x44fd89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x570fb3=_0x17e834(_0x923a34[_0x44fd89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x923a34[_0x44fd89([0x6a,0x74,0x69])])),await _0x3a10c6()?_0x33d4be()?_0x145714()?_0x44fd89([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x168086()?(_0x923a34[_0x44fd89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44fd89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x338aa3=_0x335034(_0x44fd89([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x923a34[_0x44fd89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44fd89([0x74,0x72,0x69,0x61,0x6c])&&(_0x338aa3=_0x335034(_0x44fd89([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35192c()):_0x44fd89([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x44fd89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x44fd89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x44fd89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x145714(){const _0x3613a2=[_0x44fd89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x44fd89([0x74,0x72,0x69,0x61,0x6c])][_0x44fd89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x923a34[_0x44fd89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x49e1c6/0x3e8:0xe10*_0x3e8bf3;return _0x923a34[_0x44fd89([0x65,0x78,0x70])]<_0x3613a2;}function _0x33d4be(){const _0x1fcd4d=_0x923a34[_0x44fd89([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fcd4d&&(!!_0x1fcd4d[_0x44fd89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44fd89([0x2a]))||!!_0x1fcd4d[_0x44fd89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44fd89([0x55,0x50,0x4c,0x43])));}function _0x168086(){const _0x420c89=_0x923a34[_0x44fd89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x420c89||0x0==_0x420c89[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d5b54}=new URL(window[_0x44fd89([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x420c89[_0x44fd89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d5b54))return!0x0;const _0x90cd5=_0x2d5b54[_0x44fd89([0x73,0x70,0x6c,0x69,0x74])](_0x44fd89([0x2e]));return _0x420c89[_0x44fd89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x238ccf=>_0x238ccf[_0x44fd89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44fd89([0x2a])))[_0x44fd89([0x6d,0x61,0x70])](_0x37e981=>_0x37e981[_0x44fd89([0x73,0x70,0x6c,0x69,0x74])](_0x44fd89([0x2e])))[_0x44fd89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33f2fc=>_0x33f2fc[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x90cd5[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44fd89([0x6d,0x61,0x70])](_0x41b166=>Array(_0x90cd5[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41b166[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44fd89([0x66,0x69,0x6c,0x6c])](_0x41b166[0x0]===_0x44fd89([0x2a])?_0x44fd89([0x2a]):'')[_0x44fd89([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41b166))[_0x44fd89([0x73,0x6f,0x6d,0x65])](_0xe8460c=>_0x90cd5[_0x44fd89([0x65,0x76,0x65,0x72,0x79])]((_0x2257e2,_0x174281)=>_0xe8460c[_0x174281]===_0x2257e2||_0xe8460c[_0x174281]===_0x44fd89([0x2a])));}function _0x35192c(){return _0x338aa3&&_0x570fb3?new window[(_0x44fd89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d4c25,_0x685f33)=>{_0x338aa3[_0x44fd89([0x74,0x68,0x65,0x6e])](_0x5d4c25,_0x685f33),_0x570fb3[_0x44fd89([0x74,0x68,0x65,0x6e])](_0x329174=>{_0x329174!=_0x44fd89([0x56,0x61,0x6c,0x69,0x64])&&_0x5d4c25(_0x329174);},_0x685f33);}):_0x338aa3||_0x570fb3||_0x44fd89([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17e834(_0x2a499d,_0x5a0594){return new window[(_0x44fd89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x209af9=>{if(_0x1957dd())return _0x209af9(_0x44fd89([0x56,0x61,0x6c,0x69,0x64]));_0x2aa942(),_0x8e69e2[_0x44fd89([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x44fd89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e8b21=!0x1;const _0x43ea45=_0x26ff52();function _0x21288f(_0x32fe0e){return!!_0x32fe0e&&(typeof _0x32fe0e===_0x44fd89([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32fe0e===_0x44fd89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32fe0e[_0x44fd89([0x74,0x68,0x65,0x6e])]===_0x44fd89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32fe0e[_0x44fd89([0x63,0x61,0x74,0x63,0x68])]===_0x44fd89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d6da4(_0x223d27){_0x3da46a(_0x223d27)[_0x44fd89([0x74,0x68,0x65,0x6e])](_0xe1dd65=>{if(!_0xe1dd65||_0xe1dd65[_0x44fd89([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x44fd89([0x6f,0x6b]))return _0x44fd89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4012a5(_0x1b5dd2(_0x43ea45+_0x5a0594))!=_0xe1dd65[_0x44fd89([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x44fd89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x44fd89([0x56,0x61,0x6c,0x69,0x64]);})[_0x44fd89([0x74,0x68,0x65,0x6e])](_0x3c3a09=>(_0x4b24bd(),_0x3c3a09),()=>{const _0x7059fb=_0x313f5a();return null==_0x7059fb?(_0x4b24bd(),_0x44fd89([0x56,0x61,0x6c,0x69,0x64])):_0x44fd89(_0x49e1c6-_0x7059fb>(0x7753083a^_0x3eccb2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x44fd89([0x74,0x68,0x65,0x6e])](_0x209af9)[_0x44fd89([0x63,0x61,0x74,0x63,0x68])](()=>{_0x209af9(_0x44fd89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x22dfd4=0x536962ba^_0x3eccb2;function _0x4b24bd(){const _0x2e1b0a=_0x44fd89([0x6c,0x6c,0x63,0x74,0x2d])+_0x4012a5(_0x1b5dd2(_0x2a499d)),_0x286113=_0x2f767(_0x4012a5(window[_0x44fd89([0x4d,0x61,0x74,0x68])][_0x44fd89([0x63,0x65,0x69,0x6c])](_0x49e1c6/_0x22dfd4)));window[_0x44fd89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44fd89([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e1b0a,_0x286113);}function _0x313f5a(){const _0x5bf627=_0x44fd89([0x6c,0x6c,0x63,0x74,0x2d])+_0x4012a5(_0x1b5dd2(_0x2a499d)),_0x158226=window[_0x44fd89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44fd89([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bf627);return _0x158226?window[_0x44fd89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f767(_0x158226),0x10)*_0x22dfd4:null;}function _0x3da46a(_0x18f400){return new window[(_0x44fd89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4441eb,_0x22e41e)=>{_0x18f400[_0x44fd89([0x74,0x68,0x65,0x6e])](_0x4441eb,_0x22e41e),window[_0x44fd89([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22e41e,0x535e58fa^_0x3eccb2);});}}_0x8e69e2[_0x44fd89([0x6f,0x6e])](_0x44fd89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3688ea,_0x46f3b0)=>{if(_0x46f3b0[0x0]!=_0x2a499d)return _0x209af9(_0x44fd89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46f3b0[0x1]={..._0x46f3b0[0x1],[_0x44fd89([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43ea45};},{[_0x44fd89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44fd89([0x68,0x69,0x67,0x68])}),_0x8e69e2[_0x44fd89([0x6f,0x6e])](_0x44fd89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4389f6=>{_0x21288f(_0x4389f6[_0x44fd89([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e8b21=!0x0,_0x4d6da4(_0x4389f6[_0x44fd89([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x44fd89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44fd89([0x6c,0x6f,0x77])}),_0x4ac90e[_0x44fd89([0x74,0x68,0x65,0x6e])](()=>{_0x2e8b21||_0x209af9(_0x44fd89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1957dd(){return _0x8e69e2[_0x44fd89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44fd89([0x76,0x69,0x65,0x77])][_0x44fd89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x44fd89([0x61,0x75,0x74,0x6f]);}function _0x2aa942(){_0x8e69e2[_0x44fd89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44fd89([0x76,0x69,0x65,0x77])][_0x44fd89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x44fd89([0x61,0x75,0x74,0x6f]);}}function _0x335034(_0x2f9634){const _0xad35f1=[new window[(_0x44fd89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12461f=>setTimeout(_0x12461f,0x5356b2f6^_0x3eccb2)),_0x4ac90e[_0x44fd89([0x74,0x68,0x65,0x6e])](()=>new window[(_0x44fd89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54635e=>{let _0x9282f1=0x0;_0x8e69e2[_0x44fd89([0x6d,0x6f,0x64,0x65,0x6c])][_0x44fd89([0x6f,0x6e])](_0x44fd89([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36f4fc,_0x9dd34e)=>{_0x9dd34e[0x0][_0x44fd89([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9282f1++,_0x9282f1==(0x535f8dc2^_0x3eccb2)&&(_0x54635e(),_0x36f4fc[_0x44fd89([0x6f,0x66,0x66])]());});}))];return window[_0x44fd89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x44fd89([0x72,0x61,0x63,0x65])](_0xad35f1)[_0x44fd89([0x74,0x68,0x65,0x6e])](()=>_0x2f9634);}async function _0x719354(){await _0x4ac90e,_0x8e69e2[_0x44fd89([0x6d,0x6f,0x64,0x65,0x6c])][_0x44fd89([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41916f,_0x8e69e2[_0x44fd89([0x6d,0x6f,0x64,0x65,0x6c])][_0x44fd89([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41916f,_0x8e69e2[_0x44fd89([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x44fd89([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38150b(_0x1537af){const _0x42734d=_0x9be46b();_0x8e69e2[_0x42734d]=_0x44fd89([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1537af,_0x1537af!=_0x44fd89([0x56,0x61,0x6c,0x69,0x64])&&_0x719354();}function _0x9be46b(){const _0x1c3a71=window[_0x44fd89([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x44fd89([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x44fd89([0x6e,0x6f,0x77])]())[_0x44fd89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x44fd89([0x2e]),'');let _0x57ea31=_0x44fd89([0x68]);for(let _0x47cc8a=0x0;_0x47cc8a<_0x1c3a71[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47cc8a+=0x2){let _0x2dbb1=window[_0x44fd89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c3a71[_0x44fd89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47cc8a,_0x47cc8a+0x2));_0x2dbb1>=_0x34fa1[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2dbb1-=_0x34fa1[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57ea31+=_0x34fa1[_0x2dbb1];}return _0x57ea31;}function _0x479b20(){const _0x5cb9fe=_0xb930f5[_0x44fd89([0x73,0x70,0x6c,0x69,0x74])](_0x44fd89([0x2e]));if(0x3!=_0x5cb9fe[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x122de2(_0x5cb9fe[0x1]);function _0x122de2(_0x4bf414){const _0x428942=_0x4dfe3a(_0x4bf414);return _0x428942&&_0x89527d()?_0x428942:null;function _0x89527d(){const _0x483470=_0x428942[_0x44fd89([0x6a,0x74,0x69])],_0x38ad3=window[_0x44fd89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x483470[_0x44fd89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x483470[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33056a={..._0x428942,[_0x44fd89([0x6a,0x74,0x69])]:_0x483470[_0x44fd89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x483470[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33056a[_0x44fd89([0x76,0x63])],_0x1b5dd2(_0x33056a)==_0x38ad3;}}}async function _0x3a10c6(){let _0x5b3cb5=!0x0;try{const _0x3a0fc9=_0xb930f5[_0x44fd89([0x73,0x70,0x6c,0x69,0x74])](_0x44fd89([0x2e])),[_0x313a73,_0x284315,_0x12d5dc]=_0x3a0fc9;return _0xa71c6d(_0x313a73),await _0x5a7d95(_0x313a73,_0x284315,_0x12d5dc),_0x5b3cb5;}catch{return!0x1;}function _0xa71c6d(_0x30b959){const _0x4f4f6c=_0x4dfe3a(_0x30b959);_0x4f4f6c&&_0x4f4f6c[_0x44fd89([0x61,0x6c,0x67])]==_0x44fd89([0x45,0x53,0x32,0x35,0x36])||(_0x5b3cb5=!0x1);}async function _0x5a7d95(_0x4988b2,_0x5b3e2d,_0x3dbf65){const _0x17a53c=window[_0x44fd89([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x44fd89([0x66,0x72,0x6f,0x6d])](_0x4af910(_0x3dbf65),_0x2c1b53=>_0x2c1b53[_0x44fd89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x145be5=new window[(_0x44fd89([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x44fd89([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4988b2+_0x44fd89([0x2e])+_0x5b3e2d),_0x4dd1a9=window[_0x44fd89([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x44fd89([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dd1a9)return;const _0x99477f=await _0x4dd1a9[_0x44fd89([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x44fd89([0x6a,0x77,0x6b]),_0x257a26,{[_0x44fd89([0x6e,0x61,0x6d,0x65])]:_0x44fd89([0x45,0x43,0x44,0x53,0x41]),[_0x44fd89([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x44fd89([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x44fd89([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dd1a9[_0x44fd89([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x44fd89([0x6e,0x61,0x6d,0x65])]:_0x44fd89([0x45,0x43,0x44,0x53,0x41]),[_0x44fd89([0x68,0x61,0x73,0x68])]:{[_0x44fd89([0x6e,0x61,0x6d,0x65])]:_0x44fd89([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x99477f,_0x17a53c,_0x145be5)||(_0x5b3cb5=!0x1);}}function _0x4dfe3a(_0x436480){return _0x436480[_0x44fd89([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x44fd89([0x65,0x79]))?JSON[_0x44fd89([0x70,0x61,0x72,0x73,0x65])](_0x4af910(_0x436480)):null;}function _0x4af910(_0x3e880d){return window[_0x44fd89([0x61,0x74,0x6f,0x62])](_0x3e880d[_0x44fd89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x44fd89([0x2b]))[_0x44fd89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x44fd89([0x2f])));}function _0x1b5dd2(_0x5670a2){let _0x568eaf=0x1505;function _0x54df6a(_0x3a4e85){for(let _0x4f12ae=0x0;_0x4f12ae<_0x3a4e85[_0x44fd89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f12ae++){const _0x1caf19=_0x3a4e85[_0x44fd89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f12ae);_0x568eaf=(_0x568eaf<<0x5)+_0x568eaf+_0x1caf19,_0x568eaf&=_0x568eaf;}}function _0x18e0b7(_0x200da4){Array[_0x44fd89([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x200da4)?_0x200da4[_0x44fd89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18e0b7):_0x200da4&&typeof _0x200da4==_0x44fd89([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x44fd89([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x200da4)[_0x44fd89([0x73,0x6f,0x72,0x74])]()[_0x44fd89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ab588,_0x2d532b])=>{_0x54df6a(_0x4ab588),_0x18e0b7(_0x2d532b);}):_0x54df6a(window[_0x44fd89([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x200da4));}return _0x18e0b7(_0x5670a2),_0x568eaf>>>0x0;}function _0x4012a5(_0x4899d0){return _0x4899d0[_0x44fd89([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x44fd89([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x44fd89([0x30]));}function _0x2f767(_0x3cda2a){return _0x3cda2a[_0x44fd89([0x73,0x70,0x6c,0x69,0x74])]('')[_0x44fd89([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x44fd89([0x6a,0x6f,0x69,0x6e])]('');}function _0x41916f(){}function _0x44fd89(_0x2170a9){return _0x2170a9['map'](_0xb9ed47=>String['fromCharCode'](_0xb9ed47))['join']('');}_0x38150b(await _0x41ceaf());}(this);}['_initSchema'](){const _0x1dcdec=this['editor']['model']['schema'];_0x1dcdec['isRegistered']('imageBlock')&&_0x1dcdec['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1dcdec['isRegistered']('imageInline')&&_0x1dcdec['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x14c16f=this['editor'];_0x14c16f['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x14c16f['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xe73161=>_0xe73161['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b2c47=_0x14c16f['commands']['get']('replaceImageSource');_0x2b2c47&&this['listenTo'](_0x2b2c47,'cleanupImage',(_0x1fe066,[_0x27efb5,_0x5389f8])=>{_0x27efb5['removeAttribute']('uploadcareImageId',_0x5389f8);});}['_initConfig'](){const _0x37abb8=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3c5054=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x132ca0(_0x28ef36['document'],'uc-config',{..._0x37abb8,'pubkey':_0x3c5054,'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']=_0x27504f=>{if('closeMax'==_0x27504f)return'#uc-icon-arrow-down';},_0x28ef36['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x132ca0(_0x28ef36['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x28ef36['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2c6a6d=this['editor']['commands']['get']('insertImage');_0x2c6a6d&&this['listenTo'](_0x2c6a6d,'execute',()=>{const _0x59a532=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59a532&&_0x59a532['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x59a532);});});const _0xaa2d02=this['editor']['commands']['get']('uploadcareImageReplace');_0xaa2d02&&this['listenTo'](_0xaa2d02,'execute',()=>{const _0x1671bd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1671bd&&_0x1671bd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1671bd);});});}}class tt extends _0x4d8b1b{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x532d9e){super(_0x532d9e),_0x532d9e['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2c084d['defineComponents'](_0x2c084d),this['_defineLocale']();}['_defineLocale'](){const _0x432660=this['editor']['config']['get']('uploadcare.locale'),_0x36cf64=this['editor']['locale']['contentLanguage'];_0x432660&&_0x2c084d['defineLocale'](_0x36cf64,_0x432660);}}class ii extends _0x50764c{constructor(_0x6e9099){super(_0x6e9099);const t=_0x6e9099['t'],_0x58c1de=this['bindTemplate'],_0x47a1c3=new _0x250155();_0x47a1c3['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':[_0x47a1c3,{'text':_0x58c1de['to']('imageUploadProgress',_0x1ea97a=>t('Loading\x20image...')+'\x20('+(_0x1ea97a||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 _0x50764c{constructor(_0x1d9704){super(_0x1d9704);const t=_0x1d9704['t'];this['set']('errorType',null);const _0x5b8451=new _0x58a88e(_0x1d9704);_0x5b8451['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5b8451['withText']=!0x0,_0x5b8451['class']='ck-button-action',_0x5b8451['on']('execute',()=>{this['fire']('retry');}),_0x5b8451['bind']('isVisible')['to'](this,'errorType',_0x5851e3=>'NotFound'!==_0x5851e3);const _0x3b62d6=new _0x3af733();_0x3b62d6['content']=_0x2c792d,_0x3b62d6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x195159=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':[_0x3b62d6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x195159['to']('errorType',_0x5dd550=>t('NotFound'!==_0x5dd550?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5b8451]},{'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 _0x50764c{constructor(_0x460dca,_0x447a1e){super(_0x460dca);const _0x2aa149=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x447a1e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2aa149['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3ca1a3,_0xc9377c,_0x370799){super(_0x3ca1a3),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3ca1a3),this['_errorView']=new ti(_0x3ca1a3),this['_editingView']=new ei(_0x3ca1a3,_0x370799),this['_focusableView']=new _0x50764c(_0x3ca1a3),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xc9377c),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'],_0x2e19ea=>{this['_addUploadcareImageEditorListeners'](_0x2e19ea);});}),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'](_0x3b1932,_0x1c71ab){const _0x1604d8='uc-cloud-image-editor',_0x325758=_0x3b1932['querySelector'](_0x1604d8);if(_0x325758)return _0x1c71ab(_0x325758);const _0x718b61=new MutationObserver(_0x9d87e6=>{const _0x538b9c=_0x9d87e6['filter'](_0xc64899=>_0xc64899['target']===_0x3b1932&&_0xc64899['addedNodes']['length']>0x0&&_0xc64899['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1604d8);_0x538b9c['length']&&(_0x718b61['disconnect'](),_0x1c71ab(_0x538b9c[0x0]['addedNodes'][0x0]));});_0x718b61['observe'](_0x3b1932,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x31ba27){_0x31ba27['addEventListener']('apply',_0x17da1d=>{this['fire']('apply',{'imageSrc':_0x17da1d['detail']['cdnUrl']});}),_0x31ba27['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x4fc692(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xfb553d,_0x161440,_0x1dec9d){super(),this['_editor']=_0xfb553d,this['_dialog']=_0x161440,this['_imageElement']=_0x1dec9d,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 _0xe28769=this['_imageElement'],_0x4d449e=_0xe28769['getAttribute']('uploadcareImageId'),_0x1d22a5=_0xe28769['getAttribute']('src');if(_0x4d449e)await this['_loadImageInfo'](_0x4d449e,_0x1d22a5);else{if(this['_imageCache']['has'](_0x1d22a5)){const _0x31e35b=this['_imageCache']['get'](_0x1d22a5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x31e35b['url'],this['imageDimension']=_0x31e35b['dimension'],this['imageId']=_0x31e35b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x93a0a8}=this['_editor'],t=_0x93a0a8['t'],_0x1623eb=new X(_0x93a0a8,this['imageStatus'],this['_attributes']);_0x1623eb['bind']('status')['to'](this,'imageStatus'),_0x1623eb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1623eb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1623eb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1623eb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x43aaaa,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1623eb,'position':_0x9c8c58['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1623eb['focus']();},'onHide':()=>{_0x1623eb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3e4f46=>!A(_0x3e4f46,_0x1623eb['element'])}});}['_loadImageInfo'](_0x6759e2,_0x1db61c){return j['getInfo'](_0x6759e2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xd3d32d=>{const {width:_0x3c9d76,height:_0x145e25}=_0xd3d32d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1db61c,this['imageDimension']={'width':_0x3c9d76,'height':_0x145e25},this['imageId']=_0x6759e2;})['catch'](_0x483d72=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x483d72['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3d634b,_0x5a37dd){return this['_getImageAsFile'](_0x3d634b)['then'](_0x5876ab=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5a37dd['signal'],'file':_0x5876ab,'onProgress':_0x42ddeb=>{_0x42ddeb&&_0x42ddeb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x42ddeb['value']));}}))['then'](_0x983e95=>{const {width:_0x27247d,height:_0x169069}=_0x983e95['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x983e95['cdnUrl'],this['imageDimension']={'width':_0x27247d,'height':_0x169069},this['imageId']=_0x983e95['uuid'],this['imageUploadProgress']=null;const _0xaf3255=_0x3d634b['getAttribute']('src');this['_imageCache']['set'](_0xaf3255,{'id':_0x983e95['uuid'],'url':_0x983e95['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2e4f17=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2e4f17['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x19b067,_0x11111c){_0x19b067['on']('apply',(_0x5b5835,_0x2041f3)=>{this['_replaceImage'](_0x11111c,_0x2041f3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x19b067['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x19b067['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4bb9c4,_0x25dded,_0x35e085){const _0x361e6b=this['_editor'],{width:_0x230adf,height:_0xbb2a78}=S(_0x25dded,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x426ffc,imageSources:_0x30e1dc}=C(_0x25dded,_0x230adf);_0x361e6b['model']['change'](_0x4553cb=>{if('$graveyard'===_0x4bb9c4['root']['rootName']){_0x361e6b['execute']('insertImage',{'imageType':_0x4bb9c4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4bb9c4['getAttributes']()),'uploadcareImageId':_0x35e085,'src':_0x426ffc,'sources':_0x30e1dc,'width':_0x230adf,'height':_0xbb2a78}});const _0x3f8705=_0x4bb9c4['getChildren']();_0x4bb9c4=_0x361e6b['model']['document']['selection']['getSelectedElement']();for(const _0x465809 of _0x3f8705)_0x4553cb['append'](_0x4553cb['cloneElement'](_0x465809),_0x4bb9c4);}else _0x4553cb['setSelection'](_0x4bb9c4,'on'),_0x361e6b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4bb9c4['getAttributes']()),'uploadcareImageId':_0x35e085,'src':_0x426ffc,'sources':_0x30e1dc,'width':_0x230adf,'height':_0xbb2a78},_0x4bb9c4);_0x4553cb['setSelection'](_0x4bb9c4,'on');});}async['_getImageAsFile'](_0x534349){const _0x25ac7b=_0x28ef36['window'],_0x4e7adc=_0x28ef36['document']['location']['href'],_0x9c5662=new _0x25ac7b['URL'](_0x534349['getAttribute']('src'),_0x4e7adc);if('data:'===_0x9c5662['protocol']){const _0x450549=_0x9c5662['href']['split'](','),_0x5d33d2=_0x450549[0x0]['match'](/:(.*?);/)[0x1],_0x878603=_0x5d33d2['split']('/')[0x1],_0x2c2bf2=_0x25ac7b['atob'](_0x450549[_0x450549['length']-0x1]);let _0x7ca30a=_0x2c2bf2['length'];const _0x56e2a4=new _0x25ac7b['Uint8Array'](_0x7ca30a);for(;_0x7ca30a--;)_0x56e2a4[_0x7ca30a]=_0x2c2bf2['charCodeAt'](_0x7ca30a);return new _0x25ac7b['File']([_0x56e2a4],'image.'+_0x878603,{'type':_0x5d33d2});}const _0x1d5484=_0x9c5662['href']['split']('/'),_0x183e5b=_0x1d5484[_0x1d5484['length']-0x1],_0x19b2f2=_0x183e5b['split']('.')[0x1];return _0x25ac7b['fetch'](_0x9c5662['href'])['then'](_0x50f4b9=>_0x50f4b9['clone']()['blob']())['then'](_0x510616=>new _0x25ac7b['File']([_0x510616],_0x183e5b,{'type':'image/'+_0x19b2f2}));}}class O extends _0xcd1462{['imageEditController'];static get['requires'](){return[_0x59a921];}['_isEditable'];constructor(_0x67bf51){super(_0x67bf51),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5aa587){const _0x3db03b=G(_0x5aa587);return _0x216042=>!(!_0x216042||!_0x216042['is']('element','imageBlock')&&!_0x216042['is']('element','imageInline'))&&(!!_0x216042['hasAttribute']('uploadcareImageId')||!!_0x216042['hasAttribute']('src')&&_0x3db03b(_0x216042['getAttribute']('src')));}(_0x67bf51['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3d2de9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3d2de9);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x51a143=this['editor']['model']['document']['selection']['getSelectedElement']();_0x51a143&&(_0x51a143['is']('element','imageBlock')||_0x51a143['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x59a921),_0x51a143),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xcd1462{['refresh'](){const _0x28d062=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x28d062&&(_0x28d062['is']('element','imageBlock')||_0x28d062['is']('element','imageInline')));}['execute'](_0x253a32){const _0x3f0159=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x6a0d94=>{_0x6a0d94['setAttributes'](_0x253a32,_0x3f0159),_0x6a0d94['removeAttribute']('srcset',_0x3f0159),_0x6a0d94['removeAttribute']('sizes',_0x3f0159);});}}class m extends _0x4d8b1b{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4ec434,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x30d8b4}=this;_0x30d8b4['commands']['add']('uploadcareImageEdit',new O(_0x30d8b4)),_0x30d8b4['commands']['add']('uploadcareImageReplace',new R(_0x30d8b4));}}class g extends _0x4d8b1b{['_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 _0x4e7414=this['editor'];_0x4e7414['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1adf79=>{const _0x34a70a=_0x4e7414['commands']['get']('uploadcareImageEdit'),_0x3b0c9e=new _0x58a88e(_0x1adf79),t=_0x1adf79['t'];return _0x3b0c9e['set']({'icon':_0x43aaaa,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3b0c9e['bind']('isEnabled')['to'](_0x34a70a),_0x3b0c9e['bind']('isOn')['to'](_0x34a70a,'isActive'),this['listenTo'](_0x3b0c9e,'execute',()=>{_0x4e7414['execute']('uploadcareImageEdit'),_0x4e7414['editing']['view']['focus']();}),_0x3b0c9e;}),this['_initConfig']();}['_initConfig'](){const _0x2b78de=_0x132ca0(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2b78de),this['listenTo'](this['editor'],'destroy',()=>{_0x2b78de['remove']();});}}class et extends _0x4d8b1b{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x4d31a5,Command as _0x385f6a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x49540e,IconGooglePhotos as _0x4ac66d,IconGoogleDrive as _0x13ff00,IconFacebook as _0x3a90da,IconDropbox as _0x29a3c3,IconUploadcareLink as _0x65d8b7,IconUploadcareImageUpload as _0x43f123,IconError as _0x1a810a,IconUploadcareImageEdit as _0x442020}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3eb3f8,MenuBarMenuListItemButtonView as _0x2f7672,View as _0x492c26,FocusCycler as _0x490fd5,Dialog as _0x4a947d,DialogViewPosition as _0x44e96c,SpinnerView as _0x1b5296,IconView as _0x53e33a,Notification as _0x43f64a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2822e4,DomEmitterMixin as _0x40cff2,global as _0x4dfc76,getAncestors as _0x50538c,ObservableMixin as _0x33644f,uid as _0x29f2b9,createElement as _0x788e32}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x263911}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5c78bb,info as _0x78ac85}from'@uploadcare/upload-client';import*as _0x265dec from'@uploadcare/file-uploader';var i=function(_0x4810a4){return _0x4810a4['Local']='local',_0x4810a4['URL']='url',_0x4810a4['Dropbox']='dropbox',_0x4810a4['GDrive']='gdrive',_0x4810a4['Facebook']='facebook',_0x4810a4['GPhotos']='gphotos',_0x4810a4['OneDrive']='onedrive',_0x4810a4;}({});function _(_0x1daf7b,_0x1797d7,_0xabfe88){const t=_0x1daf7b['t'],_0xeec7de=_0x1daf7b['t'];switch(_0x1797d7){case i['Local']:return{'text':_0xeec7de('Insert'===_0xabfe88?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xeec7de('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xabfe88?_0xeec7de('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xeec7de('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xabfe88?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xabfe88?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xabfe88?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xabfe88?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xabfe88?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1797d7;}}class e extends _0x4d31a5{['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 _0x585588=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb20aed;for(const _0x1949e3 in _0x585588){const _0x95205c=_0x1949e3,_0x395d75=_0x585588[_0x95205c];if('uploadcareLicenseKeyValid'==_0x395d75||'uploadcareLicenseKeyInvalid'==_0x395d75||'uploadcareLicenseKeyExpired'==_0x395d75||'uploadcareLicenseKeyDomainLimit'==_0x395d75||'uploadcareLicenseKeyNotAllowed'==_0x395d75||'uploadcareLicenseKeyEvaluationLimit'==_0x395d75||'uploadcareLicenseKeyTrialLimit'==_0x395d75||'uploadcareLicenseKeyUsageLimit'==_0x395d75){delete _0x585588[_0x95205c],_0xb20aed=_0x395d75,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xb20aed&&_0x585588['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xb20aed&&_0x585588['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xb20aed&&_0x585588['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xb20aed&&_0x585588['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xb20aed&&_0x585588['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xb20aed&&_0x585588['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xb20aed&&_0x585588['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3de42b}=this,_0x36bb40=_0x3de42b['commands']['get']('uploadcare');if(!_0x36bb40)return;const _0x21776d=this['_normalizeConfigSourceList'](_0x3de42b['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x49c3f4,_0x1e807a)=>{const _0x456b31=this['_getIntegrationKey'](_0x1e807a['type']);return _0x49c3f4[_0x456b31]||(_0x49c3f4[_0x456b31]=[]),_0x49c3f4[_0x456b31]['push'](_0x1e807a),_0x49c3f4;},{});_0x3de42b['plugins']['has']('ImageInsertUI')&&_0x3de42b['commands']['get']('uploadcare')&&Object['entries'](_0x21776d)['forEach'](([_0x30702e,_0x19f9b8])=>{_0x3de42b['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x30702e,'observable':()=>_0x36bb40,'buttonViewCreator':()=>this['_createToolbarButton'](_0x19f9b8),'formViewCreator':()=>this['_createDropdownButtons'](_0x19f9b8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x19f9b8),'override':'assetManager'!==_0x30702e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x298903){const {locale:_0x5031a8}=this['editor'];return _0x298903['map'](_0x49abab=>{const _0x5483a9=_(_0x5031a8,_0x49abab,'Insert');switch(_0x49abab){case i['Local']:return{'icon':_0x43f123,'type':i['Local'],..._0x5483a9};case i['URL']:return{'icon':_0x65d8b7,'type':i['URL'],..._0x5483a9};case i['Dropbox']:return{'icon':_0x29a3c3,'type':i['Dropbox'],..._0x5483a9};case i['Facebook']:return{'icon':_0x3a90da,'type':i['Facebook'],..._0x5483a9};case i['GDrive']:return{'icon':_0x13ff00,'type':i['GDrive'],..._0x5483a9};case i['GPhotos']:return{'icon':_0x4ac66d,'type':i['GPhotos'],..._0x5483a9};case i['OneDrive']:return{'icon':_0x49540e,'type':i['OneDrive'],..._0x5483a9};}});}['_getIntegrationKey'](_0x154c2b){switch(_0x154c2b){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5c7f3b,_0x2fcdf8){const _0x2a84eb=this['editor'],_0xd6db7a=new _0x5c7f3b(_0x2a84eb['locale']),_0x4e7191=_0x2a84eb['commands']['get']('uploadcare');return _0xd6db7a['bind']('isEnabled')['to'](_0x4e7191),_0xd6db7a['on']('execute',()=>{_0x4e7191['execute'](_0x2fcdf8);}),_0xd6db7a;}['_createToolbarButton'](_0x402da5){const {locale:_0x4e0ea4}=this['editor'],_0x350e35=this['editor']['plugins']['get']('ImageInsertUI'),_0x4f6f2d=_0x402da5[0x0],_0x4305e5=this['_createButton'](_0x3eb3f8,_0x4f6f2d['type']);return _0x4305e5['icon']=_0x4f6f2d['icon'],_0x4305e5['bind']('label')['to'](_0x350e35,'isImageSelected',_0x16a321=>_(_0x4e0ea4,_0x4f6f2d['type'],_0x16a321?'Replace':'Insert')['text']),_0x4305e5['tooltip']=!0x0,_0x4305e5;}['_createDropdownButtons'](_0x5902b8){const {locale:_0x291023}=this['editor'],_0x36b164=this['editor']['plugins']['get']('ImageInsertUI');return _0x5902b8['map'](_0x1310a4=>{const _0x20115e=this['_createButton'](_0x3eb3f8,_0x1310a4['type']);return _0x20115e['withText']=!0x0,_0x20115e['icon']=_0x1310a4['icon'],_0x20115e['bind']('label')['to'](_0x36b164,'isImageSelected',_0x2835d9=>_(_0x291023,_0x1310a4['type'],_0x2835d9?'Replace':'Insert')['text']),_0x20115e;});}['_createMenuBarButtons'](_0x1325ef){return _0x1325ef['map'](_0x541ed5=>{const _0x329cae=this['_createButton'](_0x2f7672,_0x541ed5['type']);return _0x329cae['icon']=_0x541ed5['icon'],_0x329cae['label']=_0x541ed5['shortText'],_0x329cae;});}}class F extends _0x492c26{['focusTracker'];['focusCycler'];constructor(_0x221e41){super(_0x221e41),this['focusTracker']=new _0x2822e4(),this['focusCycler']=new _0x490fd5({'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(_0x52106c,_0x32a5c3){super(_0x52106c),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-'+_0x32a5c3}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3498b5,_0x4b1240){const _0x217441=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3c5916=>_0x3c5916<=_0x4b1240)['map'](_0x40bde9=>_0x3498b5['replace'](/\/$/,'')+'/-/resize/'+_0x40bde9+'x/\x20'+_0x40bde9+'w');return{'imageFallbackUrl':_0x3498b5,'imageSources':[{'srcset':_0x217441['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4b1240+'px)\x20100vw,\x20'+_0x4b1240+'px','type':'image/webp'}]};}function S(_0x494a1f,_0x2c89be,_0x53d949){const _0xd7d3c8=_0x494a1f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xd7d3c8?parseInt(_0xd7d3c8[0x1],0xa):_0x2c89be,'height':_0xd7d3c8?parseInt(_0xd7d3c8[0x2],0xa):_0x53d949};}function p(_0x2aff31,_0x10912f){const _0xa493f9=new(_0x40cff2())(),_0x2aa03a=_0x2aff31['plugins']['get']('ImageUtils'),_0x425f96=_0x2aff31['editing']['mapper']['toViewElement'](_0x10912f),_0x561450=_0x2aa03a['findViewImgElement'](_0x425f96),_0x19e620=_0x2aff31['editing']['view']['domConverter']['viewToDom'](_0x561450),_0x8aedc6=_0x10912f['getAttribute']('width'),_0x3db24e=_0x10912f['getAttribute']('height'),_0x422fa2='image-processing';_0x2aff31['editing']['view']['change'](_0x2ee787=>{_0x2ee787['addClass'](_0x422fa2,_0x425f96),_0x2ee787['setStyle']('aspect-ratio',_0x8aedc6+'/'+_0x3db24e,_0x561450);}),_0xa493f9['listenTo'](_0x19e620,'load',()=>{_0xa493f9['stopListening'](_0x19e620,'load'),_0x2aff31['editing']['view']['change'](_0x2f420f=>{_0x2f420f['removeClass'](_0x422fa2,_0x425f96),_0x2f420f['removeStyle']('aspect-ratio',_0x561450);});});}function G(_0x2e48e7){if(Array['isArray'](_0x2e48e7)){const _0x2f064a=_0x2e48e7['map'](G);return _0x197a24=>_0x2f064a['some'](_0x381d3d=>_0x381d3d(_0x197a24));}if('origin'==_0x2e48e7){const _0x2c9ad7=_0x4dfc76['window']['location']['origin'];return _0x137f63=>new URL(_0x137f63,_0x4dfc76['document']['baseURI'])['origin']==_0x2c9ad7;}return'function'==typeof _0x2e48e7?_0x2e48e7:_0x2e48e7 instanceof RegExp?_0x2f5709=>!(!_0x2f5709['match'](_0x2e48e7)&&!_0x2f5709['replace'](/^https?:\/\//,'')['match'](_0x2e48e7)):()=>!0x1;}function A(_0x2cc8fc,_0x41af77){return _0x50538c(_0x2cc8fc['target'])['includes'](_0x41af77);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x33644f(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x20489d,_0x213702,_0x5446b1){super(),this['_editor']=_0x20489d,this['_editing']=_0x213702,this['_dialog']=_0x20489d['plugins']['get'](_0x4a947d),this['_api']=_0x213702['ctxElement']['getAPI'](),this['_type']=_0x5446b1,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:_0x49be08,model:_0x1aaa03}=this['_editor'],_0x5e4bd2=_0x1aaa03['document']['selection']['getSelectedElement'](),_0x4b5c36=_0x5e4bd2&&(_0x5e4bd2['is']('element','imageBlock')||_0x5e4bd2['is']('element','imageInline'));this['_formView']=new x(_0x49be08,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x43f123,'title':_(_0x49be08,this['_type'],_0x4b5c36?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x44e96c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xa460ea=>!A(_0xa460ea,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xd14398}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x220bed=>{const _0x1cb3af=_0xd14398['length'];for(const _0x2c1cd0 of _0xd14398){const _0x514200=_0x2c1cd0===_0xd14398[_0x1cb3af-0x1],{cdnUrl:_0x4f894b,fileInfo:_0x12f5c4}=_0x2c1cd0;if(!_0x4f894b||!_0x12f5c4)continue;const {width:_0x4651cc,height:_0x1c0f6f}=_0x12f5c4['imageInfo'],_0x4759ee=S(_0x4f894b,_0x4651cc,_0x1c0f6f),_0x5dd3cc=C(_0x4f894b,_0x4759ee['width']),_0x8b6f7d={'id':_0x12f5c4['uuid'],'type':'image','attributes':{'imageDimension':_0x4759ee,..._0x5dd3cc}};this['_insertAsset'](_0x8b6f7d,_0x514200,_0x220bed);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x538749=>{'idle'===_0x538749['detail']['status']&&!_0x538749['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x45431f,_0x39375e,_0x2c4e65){const _0x12e508=this['_editor']['model']['document']['selection'],_0xa23a8d=_0x12e508['getSelectedElement'](),_0x1007b8=!(!_0xa23a8d||!_0xa23a8d['is']('element','imageInline'));_0x2c4e65['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x45431f,_0x1007b8),_0x39375e||_0x2c4e65['setSelection'](_0x12e508['getLastPosition']());}['_insertImage'](_0x2cffad,_0x4ae274){const _0xf991a2=this['_editor'],{imageDimension:_0x494680,imageFallbackUrl:_0x281ad6,imageSources:_0x44031a}=_0x2cffad['attributes'];_0xf991a2['execute']('insertImage',{'imageType':_0x4ae274?'imageInline':null,'source':{'uploadcareImageId':_0x2cffad['id'],'src':_0x281ad6,'sources':_0x44031a,..._0x494680}});}}class w extends _0x385f6a{['_editing'];['_controller']=null;static get['requires'](){return[_0x4a947d,o];}constructor(_0x2576e7){super(_0x2576e7),this['_editing']=_0x2576e7['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x26c393){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x26c393);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x18a017,..._0x5618fb}){return _0x5c78bb(_0x18a017,_0x5618fb);}static['getInfo'](_0x1d4602,_0x663541){return _0x78ac85(_0x1d4602,_0x663541);}}class f extends _0x4d31a5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x263911,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x580ced=this['editor'];if(!!!_0x580ced['config']['get']('uploadcare'))return;_0x580ced['plugins']['get'](_0x263911)['createUploadAdapter']=_0x2ac0ba=>new k(_0x2ac0ba,_0x580ced),_0x580ced['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2d53d5,{imageElement:_0x23bb10,data:_0x2ce73a})=>{_0x580ced['model']['change'](_0x42c782=>{_0x42c782['setAttribute']('uploadcareImageId',_0x2ce73a['uploadcareImageId'],_0x23bb10);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x42c2df,_0x4eaebf){this['loader']=_0x42c2df,this['editor']=_0x4eaebf,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x292522=await this['loader']['file'];return j['upload']({'file':_0x292522,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x27a206=>{_0x27a206&&_0x27a206['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x27a206['value']);}})['then'](async _0x460c8e=>{const {imageFallbackUrl:_0x75f3cf,imageSources:_0x364168}=C(_0x460c8e['cdnUrl'],_0x460c8e['imageInfo']['width']);return{'uploadcareImageId':_0x460c8e['uuid'],'default':_0x75f3cf,'sources':_0x364168};})['catch'](()=>{const _0x58ae99=t('Cannot\x20upload\x20file:')+('\x20'+_0x292522['name']+'.');return Promise['reject'](_0x58ae99);});}['abort'](){this['controller']['abort']();}}class o extends _0x4d31a5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4a947d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x112635){super(_0x112635),this['ucContextId']=_0x29f2b9();}['init'](){const _0xca43e1=this['editor'];_0xca43e1['commands']['add']('uploadcare',new w(_0xca43e1));}['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 _0x296dc8=_0x4dfc76['document']['querySelector']('input[uploadcare-file-input]');_0x296dc8&&_0x296dc8['remove']();}),async function(_0x17780f){const _0x5cf925=_0x511fc6([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0xf81936=0x535f8c3a,_0x1817bf=0x5358f04a^_0xf81936,_0x221b6f=window[_0x511fc6([0x44,0x61,0x74,0x65])][_0x511fc6([0x6e,0x6f,0x77])](),_0x229fec=_0x17780f[_0x511fc6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x262916=new window[(_0x511fc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bc8b4=>{_0x229fec[_0x511fc6([0x6f,0x6e,0x63,0x65])](_0x511fc6([0x72,0x65,0x61,0x64,0x79]),_0x2bc8b4);}),_0x11a646={[_0x511fc6([0x6b,0x74,0x79])]:_0x511fc6([0x45,0x43]),[_0x511fc6([0x75,0x73,0x65])]:_0x511fc6([0x73,0x69,0x67]),[_0x511fc6([0x63,0x72,0x76])]:_0x511fc6([0x50,0x2d,0x32,0x35,0x36]),[_0x511fc6([0x78])]:_0x511fc6([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]),[_0x511fc6([0x79])]:_0x511fc6([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]),[_0x511fc6([0x61,0x6c,0x67])]:_0x511fc6([0x45,0x53,0x32,0x35,0x36])},_0x37a3bb=_0x229fec[_0x511fc6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x511fc6([0x67,0x65,0x74])](_0x511fc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57145a(){let _0x472c8d,_0x21edcb=null,_0x1ee812=null;try{if(_0x37a3bb==_0x511fc6([0x47,0x50,0x4c]))return _0x511fc6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x472c8d=_0x58e9f5(),!_0x472c8d)return _0x511fc6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x472c8d[_0x511fc6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ee812=_0x937b2a(_0x472c8d[_0x511fc6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x472c8d[_0x511fc6([0x6a,0x74,0x69])])),await _0x341314()?_0x58d6ae()?_0x409e9f()?_0x511fc6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26b1dc()?(_0x472c8d[_0x511fc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x511fc6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21edcb=_0x1aefbe(_0x511fc6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x472c8d[_0x511fc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x511fc6([0x74,0x72,0x69,0x61,0x6c])&&(_0x21edcb=_0x1aefbe(_0x511fc6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x336745()):_0x511fc6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x511fc6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x511fc6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x511fc6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x409e9f(){const _0x46b99a=[_0x511fc6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x511fc6([0x74,0x72,0x69,0x61,0x6c])][_0x511fc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x472c8d[_0x511fc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x221b6f/0x3e8:0xe10*_0x1817bf;return _0x472c8d[_0x511fc6([0x65,0x78,0x70])]<_0x46b99a;}function _0x58d6ae(){const _0x35eff9=_0x472c8d[_0x511fc6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35eff9&&(!!_0x35eff9[_0x511fc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511fc6([0x2a]))||!!_0x35eff9[_0x511fc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511fc6([0x55,0x50,0x4c,0x43])));}function _0x26b1dc(){const _0x45d8db=_0x472c8d[_0x511fc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45d8db||0x0==_0x45d8db[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58fb56}=new URL(window[_0x511fc6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x45d8db[_0x511fc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58fb56))return!0x0;const _0x5404f7=_0x58fb56[_0x511fc6([0x73,0x70,0x6c,0x69,0x74])](_0x511fc6([0x2e]));return _0x45d8db[_0x511fc6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b8e48=>_0x3b8e48[_0x511fc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511fc6([0x2a])))[_0x511fc6([0x6d,0x61,0x70])](_0x2810e7=>_0x2810e7[_0x511fc6([0x73,0x70,0x6c,0x69,0x74])](_0x511fc6([0x2e])))[_0x511fc6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x261e52=>_0x261e52[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5404f7[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x511fc6([0x6d,0x61,0x70])](_0x11362a=>Array(_0x5404f7[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11362a[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x511fc6([0x66,0x69,0x6c,0x6c])](_0x11362a[0x0]===_0x511fc6([0x2a])?_0x511fc6([0x2a]):'')[_0x511fc6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11362a))[_0x511fc6([0x73,0x6f,0x6d,0x65])](_0x3276c5=>_0x5404f7[_0x511fc6([0x65,0x76,0x65,0x72,0x79])]((_0x2237e5,_0x381a8d)=>_0x3276c5[_0x381a8d]===_0x2237e5||_0x3276c5[_0x381a8d]===_0x511fc6([0x2a])));}function _0x336745(){return _0x21edcb&&_0x1ee812?new window[(_0x511fc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2aa396,_0x67b377)=>{_0x21edcb[_0x511fc6([0x74,0x68,0x65,0x6e])](_0x2aa396,_0x67b377),_0x1ee812[_0x511fc6([0x74,0x68,0x65,0x6e])](_0x598e6d=>{_0x598e6d!=_0x511fc6([0x56,0x61,0x6c,0x69,0x64])&&_0x2aa396(_0x598e6d);},_0x67b377);}):_0x21edcb||_0x1ee812||_0x511fc6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x937b2a(_0x540b0f,_0x1796f3){return new window[(_0x511fc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fed5d=>{if(_0x3b6486())return _0x1fed5d(_0x511fc6([0x56,0x61,0x6c,0x69,0x64]));_0x35b905(),_0x229fec[_0x511fc6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x511fc6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3381aa=!0x1;const _0x517a89=_0x29f2b9();function _0x4d5a7c(_0x3d1cf2){return!!_0x3d1cf2&&(typeof _0x3d1cf2===_0x511fc6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d1cf2===_0x511fc6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d1cf2[_0x511fc6([0x74,0x68,0x65,0x6e])]===_0x511fc6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d1cf2[_0x511fc6([0x63,0x61,0x74,0x63,0x68])]===_0x511fc6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x258be7(_0x308ef3){_0x16c37a(_0x308ef3)[_0x511fc6([0x74,0x68,0x65,0x6e])](_0x35cf5b=>{if(!_0x35cf5b||_0x35cf5b[_0x511fc6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x511fc6([0x6f,0x6b]))return _0x511fc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4877f1(_0x49f6cb(_0x517a89+_0x1796f3))!=_0x35cf5b[_0x511fc6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x511fc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x511fc6([0x56,0x61,0x6c,0x69,0x64]);})[_0x511fc6([0x74,0x68,0x65,0x6e])](_0x34a34e=>(_0x14e357(),_0x34a34e),()=>{const _0x4f4a2e=_0xc7627d();return null==_0x4f4a2e?(_0x14e357(),_0x511fc6([0x56,0x61,0x6c,0x69,0x64])):_0x511fc6(_0x221b6f-_0x4f4a2e>(0x7753083a^_0xf81936)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x511fc6([0x74,0x68,0x65,0x6e])](_0x1fed5d)[_0x511fc6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1fed5d(_0x511fc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2af6d7=0x536962ba^_0xf81936;function _0x14e357(){const _0x18bb96=_0x511fc6([0x6c,0x6c,0x63,0x74,0x2d])+_0x4877f1(_0x49f6cb(_0x540b0f)),_0x14bc27=_0x1b129d(_0x4877f1(window[_0x511fc6([0x4d,0x61,0x74,0x68])][_0x511fc6([0x63,0x65,0x69,0x6c])](_0x221b6f/_0x2af6d7)));window[_0x511fc6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x511fc6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18bb96,_0x14bc27);}function _0xc7627d(){const _0x698636=_0x511fc6([0x6c,0x6c,0x63,0x74,0x2d])+_0x4877f1(_0x49f6cb(_0x540b0f)),_0x5b2fe9=window[_0x511fc6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x511fc6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x698636);return _0x5b2fe9?window[_0x511fc6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b129d(_0x5b2fe9),0x10)*_0x2af6d7:null;}function _0x16c37a(_0x498603){return new window[(_0x511fc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4dfe8f,_0xe8651a)=>{_0x498603[_0x511fc6([0x74,0x68,0x65,0x6e])](_0x4dfe8f,_0xe8651a),window[_0x511fc6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe8651a,0x535e58fa^_0xf81936);});}}_0x229fec[_0x511fc6([0x6f,0x6e])](_0x511fc6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fbe97,_0x7ed3cd)=>{if(_0x7ed3cd[0x0]!=_0x540b0f)return _0x1fed5d(_0x511fc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7ed3cd[0x1]={..._0x7ed3cd[0x1],[_0x511fc6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x517a89};},{[_0x511fc6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x511fc6([0x68,0x69,0x67,0x68])}),_0x229fec[_0x511fc6([0x6f,0x6e])](_0x511fc6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b42f2=>{_0x4d5a7c(_0x4b42f2[_0x511fc6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3381aa=!0x0,_0x258be7(_0x4b42f2[_0x511fc6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x511fc6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x511fc6([0x6c,0x6f,0x77])}),_0x262916[_0x511fc6([0x74,0x68,0x65,0x6e])](()=>{_0x3381aa||_0x1fed5d(_0x511fc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b6486(){return _0x229fec[_0x511fc6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x511fc6([0x76,0x69,0x65,0x77])][_0x511fc6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x511fc6([0x61,0x75,0x74,0x6f]);}function _0x35b905(){_0x229fec[_0x511fc6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x511fc6([0x76,0x69,0x65,0x77])][_0x511fc6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x511fc6([0x61,0x75,0x74,0x6f]);}}function _0x1aefbe(_0x4cd3b9){const _0xe63fd2=[new window[(_0x511fc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2484ef=>setTimeout(_0x2484ef,0x5356b2f6^_0xf81936)),_0x262916[_0x511fc6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x511fc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x147e16=>{let _0x5254ae=0x0;_0x229fec[_0x511fc6([0x6d,0x6f,0x64,0x65,0x6c])][_0x511fc6([0x6f,0x6e])](_0x511fc6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x161459,_0xd7e50)=>{_0xd7e50[0x0][_0x511fc6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5254ae++,_0x5254ae==(0x535f89d2^_0xf81936)&&(_0x147e16(),_0x161459[_0x511fc6([0x6f,0x66,0x66])]());});}))];return window[_0x511fc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x511fc6([0x72,0x61,0x63,0x65])](_0xe63fd2)[_0x511fc6([0x74,0x68,0x65,0x6e])](()=>_0x4cd3b9);}async function _0x4e4125(){await _0x262916,_0x229fec[_0x511fc6([0x6d,0x6f,0x64,0x65,0x6c])][_0x511fc6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x466077,_0x229fec[_0x511fc6([0x6d,0x6f,0x64,0x65,0x6c])][_0x511fc6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x466077,_0x229fec[_0x511fc6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x511fc6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e454b(_0x1c3634){const _0x5d876d=_0x56cdfd();_0x229fec[_0x5d876d]=_0x511fc6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c3634,_0x1c3634!=_0x511fc6([0x56,0x61,0x6c,0x69,0x64])&&_0x4e4125();}function _0x56cdfd(){const _0x28f256=window[_0x511fc6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x511fc6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x511fc6([0x6e,0x6f,0x77])]())[_0x511fc6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x511fc6([0x2e]),'');let _0x422986=_0x511fc6([0x68]);for(let _0x936519=0x0;_0x936519<_0x28f256[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x936519+=0x2){let _0x5dd784=window[_0x511fc6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28f256[_0x511fc6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x936519,_0x936519+0x2));_0x5dd784>=_0x5cf925[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dd784-=_0x5cf925[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x422986+=_0x5cf925[_0x5dd784];}return _0x422986;}function _0x58e9f5(){const _0x5f0309=_0x37a3bb[_0x511fc6([0x73,0x70,0x6c,0x69,0x74])](_0x511fc6([0x2e]));if(0x3!=_0x5f0309[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x579a21(_0x5f0309[0x1]);function _0x579a21(_0x1d825d){const _0x1dac6f=_0x1127b4(_0x1d825d);return _0x1dac6f&&_0x40f727()?_0x1dac6f:null;function _0x40f727(){const _0x19898a=_0x1dac6f[_0x511fc6([0x6a,0x74,0x69])],_0x535229=window[_0x511fc6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19898a[_0x511fc6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19898a[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4100cf={..._0x1dac6f,[_0x511fc6([0x6a,0x74,0x69])]:_0x19898a[_0x511fc6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19898a[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4100cf[_0x511fc6([0x76,0x63])],_0x49f6cb(_0x4100cf)==_0x535229;}}}async function _0x341314(){let _0x40639d=!0x0;try{const _0x55f015=_0x37a3bb[_0x511fc6([0x73,0x70,0x6c,0x69,0x74])](_0x511fc6([0x2e])),[_0x5c761e,_0x25ac24,_0x2fb010]=_0x55f015;return _0x4d1f15(_0x5c761e),await _0x57dca4(_0x5c761e,_0x25ac24,_0x2fb010),_0x40639d;}catch{return!0x1;}function _0x4d1f15(_0x3a0a45){const _0x1cc9df=_0x1127b4(_0x3a0a45);_0x1cc9df&&_0x1cc9df[_0x511fc6([0x61,0x6c,0x67])]==_0x511fc6([0x45,0x53,0x32,0x35,0x36])||(_0x40639d=!0x1);}async function _0x57dca4(_0x2b29db,_0x474660,_0x38ccc1){const _0x25513f=window[_0x511fc6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x511fc6([0x66,0x72,0x6f,0x6d])](_0x598c9b(_0x38ccc1),_0x2921c9=>_0x2921c9[_0x511fc6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ab9f9=new window[(_0x511fc6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x511fc6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b29db+_0x511fc6([0x2e])+_0x474660),_0x2f8fc2=window[_0x511fc6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x511fc6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f8fc2)return;const _0x12a136=await _0x2f8fc2[_0x511fc6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x511fc6([0x6a,0x77,0x6b]),_0x11a646,{[_0x511fc6([0x6e,0x61,0x6d,0x65])]:_0x511fc6([0x45,0x43,0x44,0x53,0x41]),[_0x511fc6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x511fc6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x511fc6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f8fc2[_0x511fc6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x511fc6([0x6e,0x61,0x6d,0x65])]:_0x511fc6([0x45,0x43,0x44,0x53,0x41]),[_0x511fc6([0x68,0x61,0x73,0x68])]:{[_0x511fc6([0x6e,0x61,0x6d,0x65])]:_0x511fc6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12a136,_0x25513f,_0x5ab9f9)||(_0x40639d=!0x1);}}function _0x1127b4(_0x1d818d){return _0x1d818d[_0x511fc6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x511fc6([0x65,0x79]))?JSON[_0x511fc6([0x70,0x61,0x72,0x73,0x65])](_0x598c9b(_0x1d818d)):null;}function _0x598c9b(_0x127b7d){return window[_0x511fc6([0x61,0x74,0x6f,0x62])](_0x127b7d[_0x511fc6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x511fc6([0x2b]))[_0x511fc6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x511fc6([0x2f])));}function _0x49f6cb(_0x4bc3d1){let _0x538303=0x1505;function _0xd0b14(_0x2358f6){for(let _0x32d737=0x0;_0x32d737<_0x2358f6[_0x511fc6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32d737++){const _0x4db871=_0x2358f6[_0x511fc6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x32d737);_0x538303=(_0x538303<<0x5)+_0x538303+_0x4db871,_0x538303&=_0x538303;}}function _0x3066bf(_0x27b495){Array[_0x511fc6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27b495)?_0x27b495[_0x511fc6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3066bf):_0x27b495&&typeof _0x27b495==_0x511fc6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x511fc6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27b495)[_0x511fc6([0x73,0x6f,0x72,0x74])]()[_0x511fc6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56f733,_0xd8eea4])=>{_0xd0b14(_0x56f733),_0x3066bf(_0xd8eea4);}):_0xd0b14(window[_0x511fc6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27b495));}return _0x3066bf(_0x4bc3d1),_0x538303>>>0x0;}function _0x4877f1(_0x67fbcb){return _0x67fbcb[_0x511fc6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x511fc6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x511fc6([0x30]));}function _0x1b129d(_0x4f6b37){return _0x4f6b37[_0x511fc6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x511fc6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x511fc6([0x6a,0x6f,0x69,0x6e])]('');}function _0x466077(){}function _0x511fc6(_0x4a56a0){return _0x4a56a0['map'](_0x3bf83f=>String['fromCharCode'](_0x3bf83f))['join']('');}_0x3e454b(await _0x57145a());}(this);}['_initSchema'](){const _0x3541e4=this['editor']['model']['schema'];_0x3541e4['isRegistered']('imageBlock')&&_0x3541e4['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3541e4['isRegistered']('imageInline')&&_0x3541e4['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1cf62e=this['editor'];_0x1cf62e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1cf62e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x275324=>_0x275324['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1655fd=_0x1cf62e['commands']['get']('replaceImageSource');_0x1655fd&&this['listenTo'](_0x1655fd,'cleanupImage',(_0x3783a1,[_0x40d876,_0x5bc852])=>{_0x40d876['removeAttribute']('uploadcareImageId',_0x5bc852);});}['_initConfig'](){const _0x1bf2db=this['editor']['config']['get']('uploadcare.uploader')||{},_0x11b040=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x788e32(_0x4dfc76['document'],'uc-config',{..._0x1bf2db,'pubkey':_0x11b040,'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']=_0x56ec44=>{if('closeMax'==_0x56ec44)return'#uc-icon-arrow-down';},_0x4dfc76['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x788e32(_0x4dfc76['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4dfc76['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x309b3d=this['editor']['commands']['get']('insertImage');_0x309b3d&&this['listenTo'](_0x309b3d,'execute',()=>{const _0x31358a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x31358a&&_0x31358a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x31358a);});});const _0x83b2e7=this['editor']['commands']['get']('uploadcareImageReplace');_0x83b2e7&&this['listenTo'](_0x83b2e7,'execute',()=>{const _0x59055b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59055b&&_0x59055b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x59055b);});});}}class tt extends _0x4d31a5{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x43a55f){super(_0x43a55f),_0x43a55f['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x265dec['defineComponents'](_0x265dec),this['_defineLocale']();}['_defineLocale'](){const _0x5c368c=this['editor']['config']['get']('uploadcare.locale'),_0x41152c=this['editor']['locale']['contentLanguage'];_0x5c368c&&_0x265dec['defineLocale'](_0x41152c,_0x5c368c);}}class ii extends _0x492c26{constructor(_0x2162d0){super(_0x2162d0);const t=_0x2162d0['t'],_0x544ae2=this['bindTemplate'],_0x592b1f=new _0x1b5296();_0x592b1f['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':[_0x592b1f,{'text':_0x544ae2['to']('imageUploadProgress',_0x1f451a=>t('Loading\x20image...')+'\x20('+(_0x1f451a||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 _0x492c26{constructor(_0x2b31a9){super(_0x2b31a9);const t=_0x2b31a9['t'];this['set']('errorType',null);const _0x3944b4=new _0x3eb3f8(_0x2b31a9);_0x3944b4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3944b4['withText']=!0x0,_0x3944b4['class']='ck-button-action',_0x3944b4['on']('execute',()=>{this['fire']('retry');}),_0x3944b4['bind']('isVisible')['to'](this,'errorType',_0x55b358=>'NotFound'!==_0x55b358);const _0x211464=new _0x53e33a();_0x211464['content']=_0x1a810a,_0x211464['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3a5f71=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':[_0x211464,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3a5f71['to']('errorType',_0x5fd881=>t('NotFound'!==_0x5fd881?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3944b4]},{'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 _0x492c26{constructor(_0xcb9f9b,_0x3d9624){super(_0xcb9f9b);const _0x44200c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3d9624,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x44200c['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4a89f7,_0x56e68a,_0x53801b){super(_0x4a89f7),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4a89f7),this['_errorView']=new ti(_0x4a89f7),this['_editingView']=new ei(_0x4a89f7,_0x53801b),this['_focusableView']=new _0x492c26(_0x4a89f7),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x56e68a),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'],_0x44cc26=>{this['_addUploadcareImageEditorListeners'](_0x44cc26);});}),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'](_0xb84cf3,_0x5babce){const _0x217bb3='uc-cloud-image-editor',_0x4694c8=_0xb84cf3['querySelector'](_0x217bb3);if(_0x4694c8)return _0x5babce(_0x4694c8);const _0x3d9fe0=new MutationObserver(_0x1eec33=>{const _0x200f6e=_0x1eec33['filter'](_0xb94f46=>_0xb94f46['target']===_0xb84cf3&&_0xb94f46['addedNodes']['length']>0x0&&_0xb94f46['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x217bb3);_0x200f6e['length']&&(_0x3d9fe0['disconnect'](),_0x5babce(_0x200f6e[0x0]['addedNodes'][0x0]));});_0x3d9fe0['observe'](_0xb84cf3,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x50e424){_0x50e424['addEventListener']('apply',_0x3073c0=>{this['fire']('apply',{'imageSrc':_0x3073c0['detail']['cdnUrl']});}),_0x50e424['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x33644f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5d8c8f,_0x100624,_0x267338){super(),this['_editor']=_0x5d8c8f,this['_dialog']=_0x100624,this['_imageElement']=_0x267338,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 _0x11da1a=this['_imageElement'],_0x12a894=_0x11da1a['getAttribute']('uploadcareImageId'),_0x39b2c7=_0x11da1a['getAttribute']('src');if(_0x12a894)await this['_loadImageInfo'](_0x12a894,_0x39b2c7);else{if(this['_imageCache']['has'](_0x39b2c7)){const _0x3a3ebf=this['_imageCache']['get'](_0x39b2c7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a3ebf['url'],this['imageDimension']=_0x3a3ebf['dimension'],this['imageId']=_0x3a3ebf['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x55df16}=this['_editor'],t=_0x55df16['t'],_0x513745=new X(_0x55df16,this['imageStatus'],this['_attributes']);_0x513745['bind']('status')['to'](this,'imageStatus'),_0x513745['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x513745['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x513745['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x513745,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x442020,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x513745,'position':_0x44e96c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x513745['focus']();},'onHide':()=>{_0x513745['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x31a651=>!A(_0x31a651,_0x513745['element'])}});}['_loadImageInfo'](_0x3ae344,_0x45f3a6){return j['getInfo'](_0x3ae344,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2a440c=>{const {width:_0x4c9864,height:_0x348824}=_0x2a440c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x45f3a6,this['imageDimension']={'width':_0x4c9864,'height':_0x348824},this['imageId']=_0x3ae344;})['catch'](_0x23553e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x23553e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2e50ee,_0x357227){return this['_getImageAsFile'](_0x2e50ee)['then'](_0x382237=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x357227['signal'],'file':_0x382237,'onProgress':_0x1691e9=>{_0x1691e9&&_0x1691e9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1691e9['value']));}}))['then'](_0x46a4db=>{const {width:_0x4e0996,height:_0x194c4e}=_0x46a4db['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x46a4db['cdnUrl'],this['imageDimension']={'width':_0x4e0996,'height':_0x194c4e},this['imageId']=_0x46a4db['uuid'],this['imageUploadProgress']=null;const _0xba0a10=_0x2e50ee['getAttribute']('src');this['_imageCache']['set'](_0xba0a10,{'id':_0x46a4db['uuid'],'url':_0x46a4db['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x582e12=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x582e12['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3fc302,_0x2c6ce6){_0x3fc302['on']('apply',(_0x27baf5,_0x4bae8f)=>{this['_replaceImage'](_0x2c6ce6,_0x4bae8f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3fc302['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3fc302['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x393a3e,_0xf66640,_0x4c02b0){const _0xc07df4=this['_editor'],{width:_0x5aa2a4,height:_0x4696c6}=S(_0xf66640,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x45f8d2,imageSources:_0x32ab3e}=C(_0xf66640,_0x5aa2a4);_0xc07df4['model']['change'](_0xb788b9=>{if('$graveyard'===_0x393a3e['root']['rootName']){_0xc07df4['execute']('insertImage',{'imageType':_0x393a3e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x393a3e['getAttributes']()),'uploadcareImageId':_0x4c02b0,'src':_0x45f8d2,'sources':_0x32ab3e,'width':_0x5aa2a4,'height':_0x4696c6}});const _0x104f09=_0x393a3e['getChildren']();_0x393a3e=_0xc07df4['model']['document']['selection']['getSelectedElement']();for(const _0x5758ed of _0x104f09)_0xb788b9['append'](_0xb788b9['cloneElement'](_0x5758ed),_0x393a3e);}else _0xb788b9['setSelection'](_0x393a3e,'on'),_0xc07df4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x393a3e['getAttributes']()),'uploadcareImageId':_0x4c02b0,'src':_0x45f8d2,'sources':_0x32ab3e,'width':_0x5aa2a4,'height':_0x4696c6},_0x393a3e);_0xb788b9['setSelection'](_0x393a3e,'on');});}async['_getImageAsFile'](_0x321c59){const _0x46653e=_0x4dfc76['window'],_0x3d5aee=_0x4dfc76['document']['location']['href'],_0x5ae2b5=new _0x46653e['URL'](_0x321c59['getAttribute']('src'),_0x3d5aee);if('data:'===_0x5ae2b5['protocol']){const _0x5913fa=_0x5ae2b5['href']['split'](','),_0x4df1a7=_0x5913fa[0x0]['match'](/:(.*?);/)[0x1],_0x2cdc74=_0x4df1a7['split']('/')[0x1],_0x24048d=_0x46653e['atob'](_0x5913fa[_0x5913fa['length']-0x1]);let _0x188647=_0x24048d['length'];const _0x32a4e7=new _0x46653e['Uint8Array'](_0x188647);for(;_0x188647--;)_0x32a4e7[_0x188647]=_0x24048d['charCodeAt'](_0x188647);return new _0x46653e['File']([_0x32a4e7],'image.'+_0x2cdc74,{'type':_0x4df1a7});}const _0x380e70=_0x5ae2b5['href']['split']('/'),_0x539ef1=_0x380e70[_0x380e70['length']-0x1],_0x18fd94=_0x539ef1['split']('.')[0x1];return _0x46653e['fetch'](_0x5ae2b5['href'])['then'](_0x529503=>_0x529503['clone']()['blob']())['then'](_0x5d7c09=>new _0x46653e['File']([_0x5d7c09],_0x539ef1,{'type':'image/'+_0x18fd94}));}}class O extends _0x385f6a{['imageEditController'];static get['requires'](){return[_0x4a947d];}['_isEditable'];constructor(_0x3c83ed){super(_0x3c83ed),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x58a640){const _0x134ad0=G(_0x58a640);return _0x184c7f=>!(!_0x184c7f||!_0x184c7f['is']('element','imageBlock')&&!_0x184c7f['is']('element','imageInline'))&&(!!_0x184c7f['hasAttribute']('uploadcareImageId')||!!_0x184c7f['hasAttribute']('src')&&_0x134ad0(_0x184c7f['getAttribute']('src')));}(_0x3c83ed['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x16208f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x16208f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3ad57e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3ad57e&&(_0x3ad57e['is']('element','imageBlock')||_0x3ad57e['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4a947d),_0x3ad57e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x385f6a{['refresh'](){const _0x3aada3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3aada3&&(_0x3aada3['is']('element','imageBlock')||_0x3aada3['is']('element','imageInline')));}['execute'](_0x1515ac){const _0x2a0288=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2a9aef=>{_0x2a9aef['setAttributes'](_0x1515ac,_0x2a0288),_0x2a9aef['removeAttribute']('srcset',_0x2a0288),_0x2a9aef['removeAttribute']('sizes',_0x2a0288);});}}class m extends _0x4d31a5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x43f64a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x578af7}=this;_0x578af7['commands']['add']('uploadcareImageEdit',new O(_0x578af7)),_0x578af7['commands']['add']('uploadcareImageReplace',new R(_0x578af7));}}class g extends _0x4d31a5{['_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 _0x3302f5=this['editor'];_0x3302f5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2017ec=>{const _0x44a16b=_0x3302f5['commands']['get']('uploadcareImageEdit'),_0x4c4ba1=new _0x3eb3f8(_0x2017ec),t=_0x2017ec['t'];return _0x4c4ba1['set']({'icon':_0x442020,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4c4ba1['bind']('isEnabled')['to'](_0x44a16b),_0x4c4ba1['bind']('isOn')['to'](_0x44a16b,'isActive'),this['listenTo'](_0x4c4ba1,'execute',()=>{_0x3302f5['execute']('uploadcareImageEdit'),_0x3302f5['editing']['view']['focus']();}),_0x4c4ba1;}),this['_initConfig']();}['_initConfig'](){const _0x1d3ea9=_0x788e32(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1d3ea9),this['listenTo'](this['editor'],'destroy',()=>{_0x1d3ea9['remove']();});}}class et extends _0x4d31a5{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xaf7936=>0x1!=_0xaf7936}};
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':_0x2e5d4a=>0x1!=_0x2e5d4a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb6a0ff=>{const {af:{dictionary:_0x267c5c,getPluralForm:_0xc9549a}}={'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':_0x52142c=>0x1!=_0x52142c}};_0xb6a0ff['af']||={'dictionary':{},'getPluralForm':null},_0xb6a0ff['af']['dictionary']=Object['assign'](_0xb6a0ff['af']['dictionary'],_0x267c5c),_0xb6a0ff['af']['getPluralForm']=_0xc9549a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x7f84d2=>{const {af:{dictionary:_0x89feae,getPluralForm:_0x188e36}}={'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':_0x1053d8=>0x1!=_0x1053d8}};_0x7f84d2['af']||={'dictionary':{},'getPluralForm':null},_0x7f84d2['af']['dictionary']=Object['assign'](_0x7f84d2['af']['dictionary'],_0x89feae),_0x7f84d2['af']['getPluralForm']=_0x188e36;})(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':_0x2b855c=>0x0==_0x2b855c?0x0:0x1==_0x2b855c?0x1:0x2==_0x2b855c?0x2:_0x2b855c%0x64>=0x3&&_0x2b855c%0x64<=0xa?0x3:_0x2b855c%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':_0x11448c=>0x0==_0x11448c?0x0:0x1==_0x11448c?0x1:0x2==_0x11448c?0x2:_0x11448c%0x64>=0x3&&_0x11448c%0x64<=0xa?0x3:_0x11448c%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2afd03=>{const {ar:{dictionary:_0x302191,getPluralForm:_0x1b9210}}={'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':_0x203671=>0x0==_0x203671?0x0:0x1==_0x203671?0x1:0x2==_0x203671?0x2:_0x203671%0x64>=0x3&&_0x203671%0x64<=0xa?0x3:_0x203671%0x64>=0xb?0x4:0x5}};_0x2afd03['ar']||={'dictionary':{},'getPluralForm':null},_0x2afd03['ar']['dictionary']=Object['assign'](_0x2afd03['ar']['dictionary'],_0x302191),_0x2afd03['ar']['getPluralForm']=_0x1b9210;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x23ee9e=>{const {ar:{dictionary:_0x52baa9,getPluralForm:_0x29537d}}={'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':_0x1ee856=>0x0==_0x1ee856?0x0:0x1==_0x1ee856?0x1:0x2==_0x1ee856?0x2:_0x1ee856%0x64>=0x3&&_0x1ee856%0x64<=0xa?0x3:_0x1ee856%0x64>=0xb?0x4:0x5}};_0x23ee9e['ar']||={'dictionary':{},'getPluralForm':null},_0x23ee9e['ar']['dictionary']=Object['assign'](_0x23ee9e['ar']['dictionary'],_0x52baa9),_0x23ee9e['ar']['getPluralForm']=_0x29537d;})(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':_0x59491d=>0x1!=_0x59491d}};
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':_0x5c364c=>0x1!=_0x5c364c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x16237c=>{const {ast:{dictionary:_0x52d2cf,getPluralForm:_0x5f184b}}={'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':_0x4fa79e=>0x1!=_0x4fa79e}};_0x16237c['ast']||={'dictionary':{},'getPluralForm':null},_0x16237c['ast']['dictionary']=Object['assign'](_0x16237c['ast']['dictionary'],_0x52d2cf),_0x16237c['ast']['getPluralForm']=_0x5f184b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x179281=>{const {ast:{dictionary:_0x130705,getPluralForm:_0x34f511}}={'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':_0x5f5439=>0x1!=_0x5f5439}};_0x179281['ast']||={'dictionary':{},'getPluralForm':null},_0x179281['ast']['dictionary']=Object['assign'](_0x179281['ast']['dictionary'],_0x130705),_0x179281['ast']['getPluralForm']=_0x34f511;})(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':_0x5c7c0a=>0x1!=_0x5c7c0a}};
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':_0x5d5ef0=>0x1!=_0x5d5ef0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc43365=>{const {az:{dictionary:_0x2a5660,getPluralForm:_0x273ace}}={'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':_0x5cd20f=>0x1!=_0x5cd20f}};_0xc43365['az']||={'dictionary':{},'getPluralForm':null},_0xc43365['az']['dictionary']=Object['assign'](_0xc43365['az']['dictionary'],_0x2a5660),_0xc43365['az']['getPluralForm']=_0x273ace;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5637f8=>{const {az:{dictionary:_0x5adc9f,getPluralForm:_0x1b878b}}={'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':_0x308bff=>0x1!=_0x308bff}};_0x5637f8['az']||={'dictionary':{},'getPluralForm':null},_0x5637f8['az']['dictionary']=Object['assign'](_0x5637f8['az']['dictionary'],_0x5adc9f),_0x5637f8['az']['getPluralForm']=_0x1b878b;})(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':_0x196693=>_0x196693%0xa==0x1&&_0x196693%0x64!=0xb?0x0:_0x196693%0xa>=0x2&&_0x196693%0xa<=0x4&&(_0x196693%0x64<0xa||_0x196693%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':_0x39d683=>_0x39d683%0xa==0x1&&_0x39d683%0x64!=0xb?0x0:_0x39d683%0xa>=0x2&&_0x39d683%0xa<=0x4&&(_0x39d683%0x64<0xa||_0x39d683%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c5174=>{const {be:{dictionary:_0x1df45a,getPluralForm:_0x3bd3aa}}={'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':_0x1cd4d3=>_0x1cd4d3%0xa==0x1&&_0x1cd4d3%0x64!=0xb?0x0:_0x1cd4d3%0xa>=0x2&&_0x1cd4d3%0xa<=0x4&&(_0x1cd4d3%0x64<0xa||_0x1cd4d3%0x64>=0x14)?0x1:0x2}};_0x4c5174['be']||={'dictionary':{},'getPluralForm':null},_0x4c5174['be']['dictionary']=Object['assign'](_0x4c5174['be']['dictionary'],_0x1df45a),_0x4c5174['be']['getPluralForm']=_0x3bd3aa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d0622=>{const {be:{dictionary:_0x2107b4,getPluralForm:_0x2e0672}}={'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':_0x45d3e2=>_0x45d3e2%0xa==0x1&&_0x45d3e2%0x64!=0xb?0x0:_0x45d3e2%0xa>=0x2&&_0x45d3e2%0xa<=0x4&&(_0x45d3e2%0x64<0xa||_0x45d3e2%0x64>=0x14)?0x1:0x2}};_0x3d0622['be']||={'dictionary':{},'getPluralForm':null},_0x3d0622['be']['dictionary']=Object['assign'](_0x3d0622['be']['dictionary'],_0x2107b4),_0x3d0622['be']['getPluralForm']=_0x2e0672;})(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':_0x2cda1a=>0x1!=_0x2cda1a}};
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':_0x1d4973=>0x1!=_0x1d4973}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4920a9=>{const {bg:{dictionary:_0x1197c1,getPluralForm:_0x50d365}}={'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':_0x4f3aa7=>0x1!=_0x4f3aa7}};_0x4920a9['bg']||={'dictionary':{},'getPluralForm':null},_0x4920a9['bg']['dictionary']=Object['assign'](_0x4920a9['bg']['dictionary'],_0x1197c1),_0x4920a9['bg']['getPluralForm']=_0x50d365;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3e2dfe=>{const {bg:{dictionary:_0x143fcc,getPluralForm:_0x6a895}}={'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':_0x1ae39b=>0x1!=_0x1ae39b}};_0x3e2dfe['bg']||={'dictionary':{},'getPluralForm':null},_0x3e2dfe['bg']['dictionary']=Object['assign'](_0x3e2dfe['bg']['dictionary'],_0x143fcc),_0x3e2dfe['bg']['getPluralForm']=_0x6a895;})(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':_0x54dbf5=>0x1!=_0x54dbf5}};
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':_0xa53a3f=>0x1!=_0xa53a3f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x7f1764=>{const {bn:{dictionary:_0xd9e469,getPluralForm:_0x2bfe7d}}={'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':_0x5ebedc=>0x1!=_0x5ebedc}};_0x7f1764['bn']||={'dictionary':{},'getPluralForm':null},_0x7f1764['bn']['dictionary']=Object['assign'](_0x7f1764['bn']['dictionary'],_0xd9e469),_0x7f1764['bn']['getPluralForm']=_0x2bfe7d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3dadfe=>{const {bn:{dictionary:_0x24c589,getPluralForm:_0x355478}}={'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':_0x290f25=>0x1!=_0x290f25}};_0x3dadfe['bn']||={'dictionary':{},'getPluralForm':null},_0x3dadfe['bn']['dictionary']=Object['assign'](_0x3dadfe['bn']['dictionary'],_0x24c589),_0x3dadfe['bn']['getPluralForm']=_0x355478;})(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':_0x1f2fb3=>_0x1f2fb3%0xa==0x1&&_0x1f2fb3%0x64!=0xb?0x0:_0x1f2fb3%0xa>=0x2&&_0x1f2fb3%0xa<=0x4&&(_0x1f2fb3%0x64<0xa||_0x1f2fb3%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':_0x3b61b2=>_0x3b61b2%0xa==0x1&&_0x3b61b2%0x64!=0xb?0x0:_0x3b61b2%0xa>=0x2&&_0x3b61b2%0xa<=0x4&&(_0x3b61b2%0x64<0xa||_0x3b61b2%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ed28d=>{const {bs:{dictionary:_0xfb6209,getPluralForm:_0x3e18a4}}={'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':_0x2caec7=>_0x2caec7%0xa==0x1&&_0x2caec7%0x64!=0xb?0x0:_0x2caec7%0xa>=0x2&&_0x2caec7%0xa<=0x4&&(_0x2caec7%0x64<0xa||_0x2caec7%0x64>=0x14)?0x1:0x2}};_0x2ed28d['bs']||={'dictionary':{},'getPluralForm':null},_0x2ed28d['bs']['dictionary']=Object['assign'](_0x2ed28d['bs']['dictionary'],_0xfb6209),_0x2ed28d['bs']['getPluralForm']=_0x3e18a4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x334fc5=>{const {bs:{dictionary:_0x56b3bf,getPluralForm:_0x787235}}={'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':_0x3471e7=>_0x3471e7%0xa==0x1&&_0x3471e7%0x64!=0xb?0x0:_0x3471e7%0xa>=0x2&&_0x3471e7%0xa<=0x4&&(_0x3471e7%0x64<0xa||_0x3471e7%0x64>=0x14)?0x1:0x2}};_0x334fc5['bs']||={'dictionary':{},'getPluralForm':null},_0x334fc5['bs']['dictionary']=Object['assign'](_0x334fc5['bs']['dictionary'],_0x56b3bf),_0x334fc5['bs']['getPluralForm']=_0x787235;})(window['CKEDITOR_TRANSLATIONS']||={});