@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250605.0 → 0.0.0-nightly-20250606.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 (193) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/augmentation.d.ts +4 -4
  151. package/src/index.d.ts +7 -7
  152. package/src/index.js +1 -1
  153. package/src/ui/uploadcarecontroller.d.ts +2 -2
  154. package/src/ui/uploadcarecontroller.js +2 -2
  155. package/src/ui/uploadcareformview.d.ts +2 -2
  156. package/src/ui/uploadcareformview.js +1 -1
  157. package/src/uploadcare.d.ts +3 -3
  158. package/src/uploadcare.js +1 -1
  159. package/src/uploadcarecommand.d.ts +2 -2
  160. package/src/uploadcarecommand.js +1 -1
  161. package/src/uploadcareconfig.js +1 -1
  162. package/src/uploadcareediting.d.ts +2 -2
  163. package/src/uploadcareediting.js +1 -1
  164. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +6 -2
  165. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  166. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
  167. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  168. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  169. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  170. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
  171. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  172. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +3 -3
  173. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  174. package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  175. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  176. package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  177. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  178. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  179. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  180. package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  181. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  182. package/src/uploadcareimageedit.d.ts +3 -3
  183. package/src/uploadcareimageedit.js +1 -1
  184. package/src/uploadcareui.d.ts +1 -1
  185. package/src/uploadcareui.js +1 -1
  186. package/src/uploadcareuploadadapter.d.ts +2 -2
  187. package/src/uploadcareuploadadapter.js +1 -1
  188. package/src/utils/common-translations.js +1 -1
  189. package/src/utils/dialogfocusmanagerview.d.ts +1 -1
  190. package/src/utils/dialogfocusmanagerview.js +1 -1
  191. package/src/utils/editingutils.js +1 -1
  192. package/src/utils/isancestor.js +1 -1
  193. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3f156b,Command as _0x2d1f94}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4b7406,IconGooglePhotos as _0x557085,IconGoogleDrive as _0x31f145,IconFacebook as _0xece6f9,IconDropbox as _0x5ad6d9,IconUploadcareLink as _0x4ed8d9,IconUploadcareImageUpload as _0xb5a937,IconError as et,IconUploadcareImageEdit as _0x5b4712}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2777cb,MenuBarMenuListItemButtonView as _0x22fd2a,View as _0x9b6b9c,FocusCycler as _0x1f8b40,Dialog as _0x5e48ab,DialogViewPosition as _0x37c69e,SpinnerView as _0x58d0c8,IconView as at,Notification as _0x13ac37}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5be53b,DomEmitterMixin as _0x454063,global as _0x1a8e3d,getAncestors as _0x31bb0a,ObservableMixin as _0x3af053,createElement as _0x33a006,uid as _0x82c7a0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x541f33}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5e523f,info as _0x39ac4f}from'@uploadcare/upload-client';import*as _0x3e458b from'@uploadcare/file-uploader';var o=function(_0x36a780){return _0x36a780['Local']='local',_0x36a780['URL']='url',_0x36a780['Dropbox']='dropbox',_0x36a780['GDrive']='gdrive',_0x36a780['Facebook']='facebook',_0x36a780['GPhotos']='gphotos',_0x36a780['OneDrive']='onedrive',_0x36a780;}({});function _(_0xb5f15d,_0x41fac6,_0x5b35b7){const t=_0xb5f15d['t'],_0xd323d0=_0xb5f15d['t'];switch(_0x41fac6){case o['Local']:return{'text':_0xd323d0('Insert'===_0x5b35b7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xd323d0('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x5b35b7?_0xd323d0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xd323d0('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x5b35b7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x5b35b7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x5b35b7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x5b35b7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x5b35b7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x41fac6;}}class e extends _0x3f156b{['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 _0x2d09f5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x55271e;for(const _0x349835 in _0x2d09f5){const _0x51f24c=_0x349835,_0x126905=_0x2d09f5[_0x51f24c];if('uploadcareLicenseKeyValid'==_0x126905||'uploadcareLicenseKeyInvalid'==_0x126905||'uploadcareLicenseKeyExpired'==_0x126905||'uploadcareLicenseKeyDomainLimit'==_0x126905||'uploadcareLicenseKeyNotAllowed'==_0x126905||'uploadcareLicenseKeyEvaluationLimit'==_0x126905||'uploadcareLicenseKeyTrialLimit'==_0x126905||'uploadcareLicenseKeyUsageLimit'==_0x126905){delete _0x2d09f5[_0x51f24c],_0x55271e=_0x126905,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x55271e&&_0x2d09f5['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x55271e&&_0x2d09f5['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x55271e&&_0x2d09f5['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x55271e&&_0x2d09f5['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x55271e&&_0x2d09f5['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x55271e&&_0x2d09f5['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x55271e&&_0x2d09f5['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x238500}=this,_0x7e5c44=_0x238500['commands']['get']('uploadcare');if(!_0x7e5c44)return;const _0x5d220d=this['_normalizeConfigSourceList'](_0x238500['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x543955,_0xb46ef3)=>{const _0x2bd68a=this['_getIntegrationKey'](_0xb46ef3['type']);return _0x543955[_0x2bd68a]||(_0x543955[_0x2bd68a]=[]),_0x543955[_0x2bd68a]['push'](_0xb46ef3),_0x543955;},{});_0x238500['plugins']['has']('ImageInsertUI')&&_0x238500['commands']['get']('uploadcare')&&Object['entries'](_0x5d220d)['forEach'](([_0x915815,_0xb9e292])=>{_0x238500['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x915815,'observable':()=>_0x7e5c44,'buttonViewCreator':()=>this['_createToolbarButton'](_0xb9e292),'formViewCreator':()=>this['_createDropdownButtons'](_0xb9e292),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xb9e292),'override':'assetManager'!==_0x915815});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x59f301){const {locale:_0x3e4208}=this['editor'];return _0x59f301['map'](_0x113faf=>{const _0x3c75a8=_(_0x3e4208,_0x113faf,'Insert');switch(_0x113faf){case o['Local']:return{'icon':_0xb5a937,'type':o['Local'],..._0x3c75a8};case o['URL']:return{'icon':_0x4ed8d9,'type':o['URL'],..._0x3c75a8};case o['Dropbox']:return{'icon':_0x5ad6d9,'type':o['Dropbox'],..._0x3c75a8};case o['Facebook']:return{'icon':_0xece6f9,'type':o['Facebook'],..._0x3c75a8};case o['GDrive']:return{'icon':_0x31f145,'type':o['GDrive'],..._0x3c75a8};case o['GPhotos']:return{'icon':_0x557085,'type':o['GPhotos'],..._0x3c75a8};case o['OneDrive']:return{'icon':_0x4b7406,'type':o['OneDrive'],..._0x3c75a8};}});}['_getIntegrationKey'](_0x17e685){switch(_0x17e685){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3ec1cd,_0x7f72ab){const _0x47a1df=this['editor'],_0x40d47b=new _0x3ec1cd(_0x47a1df['locale']),_0x3dace8=_0x47a1df['commands']['get']('uploadcare');return _0x40d47b['bind']('isEnabled')['to'](_0x3dace8),_0x40d47b['on']('execute',()=>{_0x3dace8['execute'](_0x7f72ab);}),_0x40d47b;}['_createToolbarButton'](_0x58fe1b){const {locale:_0x5b797b}=this['editor'],_0x230640=this['editor']['plugins']['get']('ImageInsertUI'),_0x430e65=_0x58fe1b[0x0],_0x55a58b=this['_createButton'](_0x2777cb,_0x430e65['type']);return _0x55a58b['icon']=_0x430e65['icon'],_0x55a58b['bind']('label')['to'](_0x230640,'isImageSelected',_0x38d27d=>_(_0x5b797b,_0x430e65['type'],_0x38d27d?'Replace':'Insert')['text']),_0x55a58b['tooltip']=!0x0,_0x55a58b;}['_createDropdownButtons'](_0x3330a3){const {locale:_0x273ca8}=this['editor'],_0x5a9efc=this['editor']['plugins']['get']('ImageInsertUI');return _0x3330a3['map'](_0x44f279=>{const _0x2989b0=this['_createButton'](_0x2777cb,_0x44f279['type']);return _0x2989b0['withText']=!0x0,_0x2989b0['icon']=_0x44f279['icon'],_0x2989b0['bind']('label')['to'](_0x5a9efc,'isImageSelected',_0xa695ee=>_(_0x273ca8,_0x44f279['type'],_0xa695ee?'Replace':'Insert')['text']),_0x2989b0;});}['_createMenuBarButtons'](_0x1a5dba){return _0x1a5dba['map'](_0x4b196b=>{const _0x503042=this['_createButton'](_0x22fd2a,_0x4b196b['type']);return _0x503042['icon']=_0x4b196b['icon'],_0x503042['label']=_0x4b196b['shortText'],_0x503042;});}}class q extends _0x9b6b9c{['focusTracker'];['focusCycler'];constructor(_0x25cc75){super(_0x25cc75),this['focusTracker']=new _0x5be53b(),this['focusCycler']=new _0x1f8b40({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x45261e){super(_0x45261e),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x2996a8,_0x1f065e){const _0x5cb041=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5cc64a=>_0x5cc64a<=_0x1f065e)['map'](_0x2a23d1=>_0x2996a8['replace'](/\/$/,'')+'/-/resize/'+_0x2a23d1+'x/\x20'+_0x2a23d1+'w');return{'imageFallbackUrl':_0x2996a8,'imageSources':[{'srcset':_0x5cb041['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1f065e+'px)\x20100vw,\x20'+_0x1f065e+'px','type':'image/webp'}]};}function A(_0x3b23c3,_0x2dd834,_0x341433){const _0x158de3=_0x3b23c3['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x158de3?parseInt(_0x158de3[0x1],0xa):_0x2dd834,'height':_0x158de3?parseInt(_0x158de3[0x2],0xa):_0x341433};}function m(_0x3ebd95,_0x16367d){const _0x228e39=new(_0x454063())(),_0x54df62=_0x3ebd95['plugins']['get']('ImageUtils'),_0xee8cf2=_0x3ebd95['editing']['mapper']['toViewElement'](_0x16367d),_0x3cde1b=_0x54df62['findViewImgElement'](_0xee8cf2),_0x171eae=_0x3ebd95['editing']['view']['domConverter']['viewToDom'](_0x3cde1b),_0x2f1edb=_0x16367d['getAttribute']('width'),_0x5d4c0a=_0x16367d['getAttribute']('height'),_0x5966dd='image-processing';_0x3ebd95['editing']['view']['change'](_0x59f1c6=>{_0x59f1c6['addClass'](_0x5966dd,_0xee8cf2),_0x59f1c6['setStyle']('aspect-ratio',_0x2f1edb+'/'+_0x5d4c0a,_0x3cde1b);}),_0x228e39['listenTo'](_0x171eae,'load',()=>{_0x228e39['stopListening'](_0x171eae,'load'),_0x3ebd95['editing']['view']['change'](_0x3ecc7a=>{_0x3ecc7a['removeClass'](_0x5966dd,_0xee8cf2),_0x3ecc7a['removeStyle']('aspect-ratio',_0x3cde1b);});});}function V(_0x287d69){if(Array['isArray'](_0x287d69)){const _0x327cde=_0x287d69['map'](V);return _0x16b207=>_0x327cde['some'](_0x5ee5df=>_0x5ee5df(_0x16b207));}if('origin'==_0x287d69){const _0x489fcc=_0x1a8e3d['window']['location']['origin'];return _0x412dd8=>new URL(_0x412dd8,_0x1a8e3d['document']['baseURI'])['origin']==_0x489fcc;}return'function'==typeof _0x287d69?_0x287d69:_0x287d69 instanceof RegExp?_0x232c65=>!(!_0x232c65['match'](_0x287d69)&&!_0x232c65['replace'](/^https?:\/\//,'')['match'](_0x287d69)):()=>!0x1;}function F(_0x16a544,_0xe37858){return _0x31bb0a(_0x16a544['target'])['includes'](_0xe37858);}class l extends/* #__PURE__ -- @preserve */
24
- _0x3af053(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1069d1,_0x2eb1c0,_0x4a9e89){super(),this['_editor']=_0x1069d1,this['_editing']=_0x2eb1c0,this['_dialog']=_0x1069d1['plugins']['get'](_0x5e48ab),this['_api']=_0x2eb1c0['ctxElement']['getAPI'](),this['_type']=_0x4a9e89,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:_0xa06084,model:_0xa0df88}=this['_editor'],_0x47bd1a=_0xa0df88['document']['selection']['getSelectedElement'](),_0x682ace=_0x47bd1a&&(_0x47bd1a['is']('element','imageBlock')||_0x47bd1a['is']('element','imageInline'));this['_formView']=new S(_0xa06084),this['_dialog']['show']({'id':'uploadCare','icon':_0xb5a937,'title':_(_0xa06084,this['_type'],_0x682ace?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x37c69e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3b4380=>!F(_0x3b4380,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x415afc}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x50ac68=>{const _0x604382=_0x415afc['length'];for(const _0x5377e2 of _0x415afc){const _0x12b066=_0x5377e2===_0x415afc[_0x604382-0x1],{cdnUrl:_0x3ce55a,fileInfo:_0x3ed055}=_0x5377e2;if(!_0x3ce55a||!_0x3ed055)continue;const {width:_0x1c852e,height:_0x38951e}=_0x3ed055['imageInfo'],_0x1fe6d9=A(_0x3ce55a,_0x1c852e,_0x38951e),_0x12868b=E(_0x3ce55a,_0x1fe6d9['width']),_0x3b8ad2={'id':_0x3ed055['uuid'],'type':'image','attributes':{'imageDimension':_0x1fe6d9,..._0x12868b}};this['_insertAsset'](_0x3b8ad2,_0x12b066,_0x50ac68);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4880ab=>{'idle'===_0x4880ab['detail']['status']&&!_0x4880ab['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4735f3,_0x56e656,_0x2d4557){const _0x331448=this['_editor']['model']['document']['selection'],_0xa8de67=_0x331448['getSelectedElement'](),_0x7c6050=!(!_0xa8de67||!_0xa8de67['is']('element','imageInline'));_0x2d4557['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4735f3,_0x7c6050),_0x56e656||_0x2d4557['setSelection'](_0x331448['getLastPosition']());}['_insertImage'](_0x4b214d,_0x26ed06){const _0x576951=this['_editor'],{imageDimension:_0x2a8be7,imageFallbackUrl:_0x49e196,imageSources:_0x1ac908}=_0x4b214d['attributes'];_0x576951['execute']('insertImage',{'imageType':_0x26ed06?'imageInline':null,'source':{'uploadcareImageId':_0x4b214d['id'],'src':_0x49e196,'sources':_0x1ac908,..._0x2a8be7}});}}class n extends _0x2d1f94{['_editing'];['_controller']=null;static get['requires'](){return[_0x5e48ab,i];}constructor(_0x2aabe6){super(_0x2aabe6),this['_editing']=_0x2aabe6['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xce16b0){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0xce16b0);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x39a838,publicKey:_0x1dda2f,signal:_0xebf6dc,onProgress:_0x498bbd}){return _0x5e523f(_0x39a838,{'publicKey':_0x1dda2f,'store':'auto','signal':_0xebf6dc,'onProgress':_0x498bbd});}static['getInfo'](_0x5055cf,_0x52e54f){return _0x39ac4f(_0x5055cf,_0x52e54f);}}class p extends _0x3f156b{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x541f33,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x31133b=this['editor'];if(!!!_0x31133b['config']['get']('uploadcare'))return;_0x31133b['plugins']['get'](_0x541f33)['createUploadAdapter']=_0x3498f9=>new x(_0x3498f9,_0x31133b),_0x31133b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x38f74e,{imageElement:_0x1431ee,data:_0x1ae896})=>{_0x31133b['model']['change'](_0x1c3037=>{_0x1c3037['setAttribute']('uploadcareImageId',_0x1ae896['uploadcareImageId'],_0x1431ee);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x5b9942,_0x34975d){this['loader']=_0x5b9942,this['editor']=_0x34975d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4aeb9f=this['editor']['config']['get']('uploadcare.pubkey'),_0x49077=await this['loader']['file'];return C['upload']({'file':_0x49077,'publicKey':_0x4aeb9f,'signal':this['controller']['signal'],'onProgress':_0x1c3074=>{_0x1c3074&&_0x1c3074['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1c3074['value']);}})['then'](async _0x1a2336=>{const {imageFallbackUrl:_0x176763,imageSources:_0x528521}=E(_0x1a2336['cdnUrl'],_0x1a2336['imageInfo']['width']);return{'uploadcareImageId':_0x1a2336['uuid'],'default':_0x176763,'sources':_0x528521};})['catch'](()=>{const _0x410374=t('Cannot\x20upload\x20file:')+('\x20'+_0x49077['name']+'.');return Promise['reject'](_0x410374);});}['abort'](){this['controller']['abort']();}}class i extends _0x3f156b{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x5e48ab];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x2a5218=this['editor'];_0x2a5218['commands']['add']('uploadcare',new n(_0x2a5218));}['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 _0x22b3c7=_0x1a8e3d['document']['querySelector']('input[uploadcare-file-input]');_0x22b3c7&&_0x22b3c7['remove']();}),async function(_0x1c34c5){const _0x56895a=_0x376a29([0x57,0x38,0x6b,0x65,0x61,0x6a,0x44,0x62,0x66,0x67,0x31,0x64,0x36,0x45,0x37,0x4e,0x4b,0x47,0x7a,0x56,0x54,0x48,0x33,0x73,0x79,0x42,0x5a,0x52,0x71,0x34,0x6f,0x74,0x46,0x58,0x55,0x63,0x77,0x4f,0x6d,0x43,0x51,0x76,0x70,0x4a,0x39,0x32,0x72,0x6e,0x78,0x41,0x75,0x53,0x59,0x49,0x30,0x68,0x69,0x4c,0x35,0x4d,0x50,0x6c]),_0x44e31f=0x74ec027d,_0x3d3bef=0x74eb6b9d^_0x44e31f,_0x4fe3bc=window[_0x376a29([0x44,0x61,0x74,0x65])][_0x376a29([0x6e,0x6f,0x77])](),_0x42b756=_0x1c34c5[_0x376a29([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46261f=new window[(_0x376a29([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b6e17=>{_0x42b756[_0x376a29([0x6f,0x6e,0x63,0x65])](_0x376a29([0x72,0x65,0x61,0x64,0x79]),_0x4b6e17);}),_0xee6135={[_0x376a29([0x6b,0x74,0x79])]:_0x376a29([0x45,0x43]),[_0x376a29([0x75,0x73,0x65])]:_0x376a29([0x73,0x69,0x67]),[_0x376a29([0x63,0x72,0x76])]:_0x376a29([0x50,0x2d,0x32,0x35,0x36]),[_0x376a29([0x78])]:_0x376a29([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]),[_0x376a29([0x79])]:_0x376a29([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]),[_0x376a29([0x61,0x6c,0x67])]:_0x376a29([0x45,0x53,0x32,0x35,0x36])},_0x2a9f81=_0x42b756[_0x376a29([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x376a29([0x67,0x65,0x74])](_0x376a29([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e12d7(){let _0x2ed34e,_0x522b8a=null,_0x41e37d=null;try{if(_0x2a9f81==_0x376a29([0x47,0x50,0x4c]))return _0x376a29([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ed34e=_0x49d95f(),!_0x2ed34e)return _0x376a29([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ed34e[_0x376a29([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41e37d=_0x2f1015(_0x2ed34e[_0x376a29([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ed34e[_0x376a29([0x6a,0x74,0x69])])),await _0x2ad5eb()?_0x516153()?_0x2674c9()?_0x376a29([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5acca5()?(_0x2ed34e[_0x376a29([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x376a29([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x522b8a=_0x55c40e(_0x376a29([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ed34e[_0x376a29([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x376a29([0x74,0x72,0x69,0x61,0x6c])&&(_0x522b8a=_0x55c40e(_0x376a29([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28a7f5()):_0x376a29([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x376a29([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x376a29([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x376a29([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2674c9(){const _0x2502d0=[_0x376a29([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x376a29([0x74,0x72,0x69,0x61,0x6c])][_0x376a29([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ed34e[_0x376a29([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4fe3bc/0x3e8:0xe10*_0x3d3bef;return _0x2ed34e[_0x376a29([0x65,0x78,0x70])]<_0x2502d0;}function _0x516153(){const _0x557ec4=_0x2ed34e[_0x376a29([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x557ec4&&(!!_0x557ec4[_0x376a29([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x376a29([0x2a]))||!!_0x557ec4[_0x376a29([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x376a29([0x55,0x50,0x4c,0x43])));}function _0x5acca5(){const _0x324aa6=_0x2ed34e[_0x376a29([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x324aa6||0x0==_0x324aa6[_0x376a29([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xcb1671}=new URL(window[_0x376a29([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x324aa6[_0x376a29([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcb1671))return!0x0;const _0x9538a0=_0xcb1671[_0x376a29([0x73,0x70,0x6c,0x69,0x74])](_0x376a29([0x2e]));return _0x324aa6[_0x376a29([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bb609=>_0x2bb609[_0x376a29([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x376a29([0x2a])))[_0x376a29([0x6d,0x61,0x70])](_0x12b03e=>_0x12b03e[_0x376a29([0x73,0x70,0x6c,0x69,0x74])](_0x376a29([0x2e])))[_0x376a29([0x73,0x6f,0x6d,0x65])](_0x1a15a3=>_0x9538a0[_0x376a29([0x65,0x76,0x65,0x72,0x79])]((_0x476067,_0x740db4)=>_0x1a15a3[_0x740db4]===_0x476067||_0x1a15a3[_0x740db4]===_0x376a29([0x2a])));}function _0x28a7f5(){return _0x522b8a&&_0x41e37d?new window[(_0x376a29([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x402661,_0x49ea0f)=>{_0x522b8a[_0x376a29([0x74,0x68,0x65,0x6e])](_0x402661,_0x49ea0f),_0x41e37d[_0x376a29([0x74,0x68,0x65,0x6e])](_0x5db539=>{_0x5db539!=_0x376a29([0x56,0x61,0x6c,0x69,0x64])&&_0x402661(_0x5db539);},_0x49ea0f);}):_0x522b8a||_0x41e37d||_0x376a29([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f1015(_0x3cfa4c,_0x41794d){return new window[(_0x376a29([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc3b475=>{if(_0x565828())return _0xc3b475(_0x376a29([0x56,0x61,0x6c,0x69,0x64]));_0x356a79(),_0x42b756[_0x376a29([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x376a29([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24d8e8=!0x1;const _0x4b4292=_0x82c7a0();function _0x5d8576(_0x4e99b0){return!!_0x4e99b0&&(typeof _0x4e99b0===_0x376a29([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e99b0===_0x376a29([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e99b0[_0x376a29([0x74,0x68,0x65,0x6e])]===_0x376a29([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e99b0[_0x376a29([0x63,0x61,0x74,0x63,0x68])]===_0x376a29([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23f040(_0x52d974){_0x17d294(_0x52d974)[_0x376a29([0x74,0x68,0x65,0x6e])](_0x802dc6=>{if(!_0x802dc6||_0x802dc6[_0x376a29([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x376a29([0x6f,0x6b]))return _0x376a29([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x542714(_0x23bd36(_0x4b4292+_0x41794d))!=_0x802dc6[_0x376a29([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x376a29([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x376a29([0x56,0x61,0x6c,0x69,0x64]);})[_0x376a29([0x74,0x68,0x65,0x6e])](_0x465856=>(_0x517b59(),_0x465856),()=>{const _0x4dcfbb=_0x4a0c94();return null==_0x4dcfbb?(_0x517b59(),_0x376a29([0x56,0x61,0x6c,0x69,0x64])):_0x376a29(_0x4fe3bc-_0x4dcfbb>(0x50e0867d^_0x44e31f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x376a29([0x74,0x68,0x65,0x6e])](_0xc3b475)[_0x376a29([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc3b475(_0x376a29([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x569696=0x74daecfd^_0x44e31f;function _0x517b59(){const _0x30f1f3=_0x376a29([0x6c,0x6c,0x63,0x74,0x2d])+_0x542714(_0x23bd36(_0x3cfa4c)),_0x27461c=_0xf295a7(_0x542714(window[_0x376a29([0x4d,0x61,0x74,0x68])][_0x376a29([0x63,0x65,0x69,0x6c])](_0x4fe3bc/_0x569696)));window[_0x376a29([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x376a29([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30f1f3,_0x27461c);}function _0x4a0c94(){const _0xc46b1d=_0x376a29([0x6c,0x6c,0x63,0x74,0x2d])+_0x542714(_0x23bd36(_0x3cfa4c)),_0x73185a=window[_0x376a29([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x376a29([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc46b1d);return _0x73185a?window[_0x376a29([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf295a7(_0x73185a),0x10)*_0x569696:null;}function _0x17d294(_0xf7e909){return new window[(_0x376a29([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cbfdd,_0x31c576)=>{_0xf7e909[_0x376a29([0x74,0x68,0x65,0x6e])](_0x4cbfdd,_0x31c576),window[_0x376a29([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31c576,0x74edd6bd^_0x44e31f);});}}_0x42b756[_0x376a29([0x6f,0x6e])](_0x376a29([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ab0a6,_0x506ef3)=>{if(_0x506ef3[0x0]!=_0x3cfa4c)return _0xc3b475(_0x376a29([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x506ef3[0x1]={..._0x506ef3[0x1],[_0x376a29([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b4292};},{[_0x376a29([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x376a29([0x68,0x69,0x67,0x68])}),_0x42b756[_0x376a29([0x6f,0x6e])](_0x376a29([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x358870=>{_0x5d8576(_0x358870[_0x376a29([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24d8e8=!0x0,_0x23f040(_0x358870[_0x376a29([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x376a29([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x376a29([0x6c,0x6f,0x77])}),_0x46261f[_0x376a29([0x74,0x68,0x65,0x6e])](()=>{_0x24d8e8||_0xc3b475(_0x376a29([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x565828(){return _0x42b756[_0x376a29([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x376a29([0x76,0x69,0x65,0x77])][_0x376a29([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x376a29([0x61,0x75,0x74,0x6f]);}function _0x356a79(){_0x42b756[_0x376a29([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x376a29([0x76,0x69,0x65,0x77])][_0x376a29([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x376a29([0x61,0x75,0x74,0x6f]);}}function _0x55c40e(_0x4e3d42){const _0x86157d=[new window[(_0x376a29([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x386a8a=>setTimeout(_0x386a8a,0x74e53cb1^_0x44e31f)),_0x46261f[_0x376a29([0x74,0x68,0x65,0x6e])](()=>new window[(_0x376a29([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3302fd=>{let _0x361f6e=0x0;_0x42b756[_0x376a29([0x6d,0x6f,0x64,0x65,0x6c])][_0x376a29([0x6f,0x6e])](_0x376a29([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a7758,_0x4d2565)=>{_0x4d2565[0x0][_0x376a29([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x361f6e++,_0x361f6e==(0x74ec0385^_0x44e31f)&&(_0x3302fd(),_0x1a7758[_0x376a29([0x6f,0x66,0x66])]());});}))];return window[_0x376a29([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x376a29([0x72,0x61,0x63,0x65])](_0x86157d)[_0x376a29([0x74,0x68,0x65,0x6e])](()=>_0x4e3d42);}async function _0x35ff11(){await _0x46261f,_0x42b756[_0x376a29([0x6d,0x6f,0x64,0x65,0x6c])][_0x376a29([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4402cc,_0x42b756[_0x376a29([0x6d,0x6f,0x64,0x65,0x6c])][_0x376a29([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4402cc,_0x42b756[_0x376a29([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x376a29([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfd417c(_0x4337b3){const _0x397bfb=_0x3bda15();_0x42b756[_0x397bfb]=_0x376a29([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4337b3,_0x4337b3!=_0x376a29([0x56,0x61,0x6c,0x69,0x64])&&_0x35ff11();}function _0x3bda15(){const _0x449af5=window[_0x376a29([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x376a29([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x376a29([0x6e,0x6f,0x77])]())[_0x376a29([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x376a29([0x2e]),'');let _0x221fc0=_0x376a29([0x57]);for(let _0x16c087=0x0;_0x16c087<_0x449af5[_0x376a29([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16c087+=0x2){let _0x715edd=window[_0x376a29([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x449af5[_0x376a29([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16c087,_0x16c087+0x2));_0x715edd>=_0x56895a[_0x376a29([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x715edd-=_0x56895a[_0x376a29([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x221fc0+=_0x56895a[_0x715edd];}return _0x221fc0;}function _0x49d95f(){const _0x59918f=_0x2a9f81[_0x376a29([0x73,0x70,0x6c,0x69,0x74])](_0x376a29([0x2e]));if(0x3!=_0x59918f[_0x376a29([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ba248(_0x59918f[0x1]);function _0x1ba248(_0x24c57d){const _0x536db4=_0x5ceacd(_0x24c57d);return _0x536db4&&_0x43f229()?_0x536db4:null;function _0x43f229(){const _0xead9d=_0x536db4[_0x376a29([0x6a,0x74,0x69])],_0x8f606e=window[_0x376a29([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xead9d[_0x376a29([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xead9d[_0x376a29([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x586160={..._0x536db4,[_0x376a29([0x6a,0x74,0x69])]:_0xead9d[_0x376a29([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xead9d[_0x376a29([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x586160[_0x376a29([0x76,0x63])],_0x23bd36(_0x586160)==_0x8f606e;}}}async function _0x2ad5eb(){let _0x6c9ae8=!0x0;try{const _0x145b69=_0x2a9f81[_0x376a29([0x73,0x70,0x6c,0x69,0x74])](_0x376a29([0x2e])),[_0x280413,_0x52b65e,_0x5cd178]=_0x145b69;return _0x37321d(_0x280413),await _0x507754(_0x280413,_0x52b65e,_0x5cd178),_0x6c9ae8;}catch{return!0x1;}function _0x37321d(_0x3ed1c){const _0x3f6997=_0x5ceacd(_0x3ed1c);_0x3f6997&&_0x3f6997[_0x376a29([0x61,0x6c,0x67])]==_0x376a29([0x45,0x53,0x32,0x35,0x36])||(_0x6c9ae8=!0x1);}async function _0x507754(_0x3c247e,_0x5c04ea,_0x3c6010){const _0x276a79=window[_0x376a29([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x376a29([0x66,0x72,0x6f,0x6d])](_0x5f57c5(_0x3c6010),_0x18eee1=>_0x18eee1[_0x376a29([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x360830=new window[(_0x376a29([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x376a29([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c247e+_0x376a29([0x2e])+_0x5c04ea),_0x5e706b=window[_0x376a29([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x376a29([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e706b)return;const _0x454f37=await _0x5e706b[_0x376a29([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x376a29([0x6a,0x77,0x6b]),_0xee6135,{[_0x376a29([0x6e,0x61,0x6d,0x65])]:_0x376a29([0x45,0x43,0x44,0x53,0x41]),[_0x376a29([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x376a29([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x376a29([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e706b[_0x376a29([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x376a29([0x6e,0x61,0x6d,0x65])]:_0x376a29([0x45,0x43,0x44,0x53,0x41]),[_0x376a29([0x68,0x61,0x73,0x68])]:{[_0x376a29([0x6e,0x61,0x6d,0x65])]:_0x376a29([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x454f37,_0x276a79,_0x360830)||(_0x6c9ae8=!0x1);}}function _0x5ceacd(_0x5a2696){return _0x5a2696[_0x376a29([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x376a29([0x65,0x79]))?JSON[_0x376a29([0x70,0x61,0x72,0x73,0x65])](_0x5f57c5(_0x5a2696)):null;}function _0x5f57c5(_0x19b5fa){return window[_0x376a29([0x61,0x74,0x6f,0x62])](_0x19b5fa[_0x376a29([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x376a29([0x2b]))[_0x376a29([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x376a29([0x2f])));}function _0x23bd36(_0x4ed3e9){let _0xda26b9=0x1505;function _0x56d20f(_0x386716){for(let _0x2e9157=0x0;_0x2e9157<_0x386716[_0x376a29([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e9157++){const _0x3e8ed6=_0x386716[_0x376a29([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e9157);_0xda26b9=(_0xda26b9<<0x5)+_0xda26b9+_0x3e8ed6,_0xda26b9&=_0xda26b9;}}function _0x363067(_0x44fb26){Array[_0x376a29([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x44fb26)?_0x44fb26[_0x376a29([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x363067):_0x44fb26&&typeof _0x44fb26==_0x376a29([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x376a29([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x44fb26)[_0x376a29([0x73,0x6f,0x72,0x74])]()[_0x376a29([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26bd6e,_0x34723a])=>{_0x56d20f(_0x26bd6e),_0x363067(_0x34723a);}):_0x56d20f(window[_0x376a29([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x44fb26));}return _0x363067(_0x4ed3e9),_0xda26b9>>>0x0;}function _0x542714(_0x11ed85){return _0x11ed85[_0x376a29([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x376a29([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x376a29([0x30]));}function _0xf295a7(_0x50eabd){return _0x50eabd[_0x376a29([0x73,0x70,0x6c,0x69,0x74])]('')[_0x376a29([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x376a29([0x6a,0x6f,0x69,0x6e])]('');}function _0x4402cc(){}function _0x376a29(_0x4dc12d){return _0x4dc12d['map'](_0x2a0764=>String['fromCharCode'](_0x2a0764))['join']('');}_0xfd417c(await _0x4e12d7());}(this);}['_initSchema'](){const _0x3e8e70=this['editor']['model']['schema'];_0x3e8e70['isRegistered']('imageBlock')&&_0x3e8e70['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3e8e70['isRegistered']('imageInline')&&_0x3e8e70['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2c9165=this['editor'];_0x2c9165['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2c9165['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x49e11b=>_0x49e11b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xc45b52=_0x2c9165['commands']['get']('replaceImageSource');_0xc45b52&&this['listenTo'](_0xc45b52,'cleanupImage',(_0x37dd21,[_0x37647a,_0x1ab45b])=>{_0x37647a['removeAttribute']('uploadcareImageId',_0x1ab45b);});}['_initConfig'](){const _0x37a256=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2e175f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x33a006(_0x1a8e3d['document'],'uc-config',{..._0x37a256,'pubkey':_0x2e175f,'ctx-name':'uploader','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']=_0x15f0a0=>{if('closeMax'==_0x15f0a0)return'#uc-icon-arrow-down';},_0x1a8e3d['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x33a006(_0x1a8e3d['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x1a8e3d['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x32cf86=this['editor']['commands']['get']('insertImage');_0x32cf86&&this['listenTo'](_0x32cf86,'execute',()=>{const _0x1cc38a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1cc38a&&_0x1cc38a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1cc38a);});});const _0x34fadf=this['editor']['commands']['get']('uploadcareImageReplace');_0x34fadf&&this['listenTo'](_0x34fadf,'execute',()=>{const _0x1b6bad=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1b6bad&&_0x1b6bad['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1b6bad);});});}}class u extends _0x3f156b{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ca592){super(_0x2ca592),_0x2ca592['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x3e458b['defineComponents'](_0x3e458b);}}class ta extends _0x9b6b9c{constructor(_0x39e6f7){super(_0x39e6f7);const t=_0x39e6f7['t'],_0x46a220=this['bindTemplate'],_0x3068c1=new _0x58d0c8();_0x3068c1['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':[_0x3068c1,{'text':_0x46a220['to']('imageUploadProgress',_0x599e52=>t('Loading\x20image...')+'\x20('+(_0x599e52||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 rt extends _0x9b6b9c{constructor(_0x41fe64){super(_0x41fe64);const t=_0x41fe64['t'];this['set']('errorType',null);const _0x1b1021=new _0x2777cb(_0x41fe64);_0x1b1021['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1b1021['withText']=!0x0,_0x1b1021['class']='ck-button-action',_0x1b1021['on']('execute',()=>{this['fire']('retry');}),_0x1b1021['bind']('isVisible')['to'](this,'errorType',_0x227d5d=>'NotFound'!==_0x227d5d);const _0x5ad62e=new at();_0x5ad62e['content']=et,_0x5ad62e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2e816a=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':[_0x5ad62e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2e816a['to']('errorType',_0x5c3e1d=>t('NotFound'!==_0x5c3e1d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1b1021]},{'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 tt extends _0x9b6b9c{constructor(_0x2a0ad3,_0x8f0b84){super(_0x2a0ad3);const _0x5ae9a1=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x8f0b84,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5ae9a1['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x273bb6,_0x53abc8,_0x3b5947){super(_0x273bb6),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x273bb6),this['_errorView']=new rt(_0x273bb6),this['_editingView']=new tt(_0x273bb6,_0x3b5947),this['_focusableView']=new _0x9b6b9c(_0x273bb6),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x53abc8),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'],_0x2d5032=>{this['_addUploadcareImageEditorListeners'](_0x2d5032);});}),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'](_0x155eee,_0x349c63){const _0x55816b='uc-cloud-image-editor',_0x364c73=_0x155eee['querySelector'](_0x55816b);if(_0x364c73)return _0x349c63(_0x364c73);const _0x482cef=new MutationObserver(_0x5cb9d0=>{const _0xbfe267=_0x5cb9d0['filter'](_0x3fbd47=>_0x3fbd47['target']===_0x155eee&&_0x3fbd47['addedNodes']['length']>0x0&&_0x3fbd47['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x55816b);_0xbfe267['length']&&(_0x482cef['disconnect'](),_0x349c63(_0xbfe267[0x0]['addedNodes'][0x0]));});_0x482cef['observe'](_0x155eee,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xca6c60){_0xca6c60['addEventListener']('apply',_0x1418c4=>{this['fire']('apply',{'imageSrc':_0x1418c4['detail']['cdnUrl']});}),_0xca6c60['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x3af053(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4e484c,_0x13f3b0,_0x39ac93){super(),this['_editor']=_0x4e484c,this['_dialog']=_0x13f3b0,this['_imageElement']=_0x39ac93,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 _0x47749d=this['_imageElement'],_0x19ac27=_0x47749d['getAttribute']('uploadcareImageId'),_0x14a6d4=_0x47749d['getAttribute']('src');if(_0x19ac27)await this['_loadImageInfo'](_0x19ac27,_0x14a6d4);else{if(this['_imageCache']['has'](_0x14a6d4)){const _0x1494b5=this['_imageCache']['get'](_0x14a6d4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1494b5['url'],this['imageDimension']=_0x1494b5['dimension'],this['imageId']=_0x1494b5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x158837}=this['_editor'],t=_0x158837['t'],_0x17f5b5=new Z(_0x158837,this['imageStatus'],this['_attributes']);_0x17f5b5['bind']('status')['to'](this,'imageStatus'),_0x17f5b5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x17f5b5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x17f5b5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x17f5b5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5b4712,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x17f5b5,'position':_0x37c69e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x17f5b5['focus']();},'onHide':()=>{_0x17f5b5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2a23a1=>!F(_0x2a23a1,_0x17f5b5['element'])}});}['_loadImageInfo'](_0x3045f2,_0x488668){return C['getInfo'](_0x3045f2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x281f00=>{const {width:_0x37b794,height:_0x1259ff}=_0x281f00['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x488668,this['imageDimension']={'width':_0x37b794,'height':_0x1259ff},this['imageId']=_0x3045f2;})['catch'](_0x3ddaa8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3ddaa8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x7a6656,_0x5a4f84){return this['_getImageAsFile'](_0x7a6656)['then'](_0x3973e7=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5a4f84['signal'],'file':_0x3973e7,'onProgress':_0x6bb41d=>{_0x6bb41d&&_0x6bb41d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x6bb41d['value']));}}))['then'](_0x3630f4=>{const {width:_0x32100c,height:_0x1936bb}=_0x3630f4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3630f4['cdnUrl'],this['imageDimension']={'width':_0x32100c,'height':_0x1936bb},this['imageId']=_0x3630f4['uuid'],this['imageUploadProgress']=null;const _0x4cbc62=_0x7a6656['getAttribute']('src');this['_imageCache']['set'](_0x4cbc62,{'id':_0x3630f4['uuid'],'url':_0x3630f4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x452396=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x452396['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xa6fea4,_0x46bc84){_0xa6fea4['on']('apply',(_0x55d63a,_0x1af252)=>{this['_replaceImage'](_0x46bc84,_0x1af252['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xa6fea4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xa6fea4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5b1862,_0x1c848c,_0x2953c9){const _0x44165a=this['_editor'],{width:_0x5cbe18,height:_0x313487}=A(_0x1c848c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3766c2,imageSources:_0x3093b1}=E(_0x1c848c,_0x5cbe18);_0x44165a['model']['change'](_0x4b2232=>{if('$graveyard'===_0x5b1862['root']['rootName']){_0x44165a['execute']('insertImage',{'imageType':_0x5b1862['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5b1862['getAttributes']()),'uploadcareImageId':_0x2953c9,'src':_0x3766c2,'sources':_0x3093b1,'width':_0x5cbe18,'height':_0x313487}});const _0xb8bbbd=_0x5b1862['getChildren']();_0x5b1862=_0x44165a['model']['document']['selection']['getSelectedElement']();for(const _0xe69bc5 of _0xb8bbbd)_0x4b2232['append'](_0x4b2232['cloneElement'](_0xe69bc5),_0x5b1862);}else _0x4b2232['setSelection'](_0x5b1862,'on'),_0x44165a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5b1862['getAttributes']()),'uploadcareImageId':_0x2953c9,'src':_0x3766c2,'sources':_0x3093b1,'width':_0x5cbe18,'height':_0x313487},_0x5b1862);_0x4b2232['setSelection'](_0x5b1862,'on');});}async['_getImageAsFile'](_0x20326b){const _0x3ad676=_0x1a8e3d['window'],_0x276750=_0x1a8e3d['document']['location']['href'],_0x1f6da8=new _0x3ad676['URL'](_0x20326b['getAttribute']('src'),_0x276750);if('data:'===_0x1f6da8['protocol']){const _0x2d58dd=_0x1f6da8['href']['split'](','),_0x414ed5=_0x2d58dd[0x0]['match'](/:(.*?);/)[0x1],_0x5e04ee=_0x414ed5['split']('/')[0x1],_0x5078cb=_0x3ad676['atob'](_0x2d58dd[_0x2d58dd['length']-0x1]);let _0x1dd271=_0x5078cb['length'];const _0x324a61=new _0x3ad676['Uint8Array'](_0x1dd271);for(;_0x1dd271--;)_0x324a61[_0x1dd271]=_0x5078cb['charCodeAt'](_0x1dd271);return new _0x3ad676['File']([_0x324a61],'image.'+_0x5e04ee,{'type':_0x414ed5});}const _0x3540c8=_0x1f6da8['href']['split']('/'),_0xa50339=_0x3540c8[_0x3540c8['length']-0x1],_0x57d18f=_0xa50339['split']('.')[0x1];return _0x3ad676['fetch'](_0x1f6da8['href'])['then'](_0x4276c9=>_0x4276c9['clone']()['blob']())['then'](_0x3dbced=>new _0x3ad676['File']([_0x3dbced],_0xa50339,{'type':'image/'+_0x57d18f}));}}class J extends _0x2d1f94{['imageEditController'];static get['requires'](){return[_0x5e48ab];}['_isEditable'];constructor(_0x28081f){super(_0x28081f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x10a23b){const _0x1ae7d0=V(_0x10a23b);return _0x2800e4=>!(!_0x2800e4||!_0x2800e4['is']('element','imageBlock')&&!_0x2800e4['is']('element','imageInline'))&&(!!_0x2800e4['hasAttribute']('uploadcareImageId')||!!_0x2800e4['hasAttribute']('src')&&_0x1ae7d0(_0x2800e4['getAttribute']('src')));}(_0x28081f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x456748=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x456748);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5dbc6b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5dbc6b&&(_0x5dbc6b['is']('element','imageBlock')||_0x5dbc6b['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x5e48ab),_0x5dbc6b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2d1f94{['refresh'](){const _0xaf1679=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xaf1679&&(_0xaf1679['is']('element','imageBlock')||_0xaf1679['is']('element','imageInline')));}['execute'](_0x1083e1){const _0x4e15af=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4b495c=>{_0x4b495c['setAttributes'](_0x1083e1,_0x4e15af),_0x4b495c['removeAttribute']('srcset',_0x4e15af),_0x4b495c['removeAttribute']('sizes',_0x4e15af);});}}class g extends _0x3f156b{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x13ac37,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x25bd00}=this;_0x25bd00['commands']['add']('uploadcareImageEdit',new J(_0x25bd00)),_0x25bd00['commands']['add']('uploadcareImageReplace',new O(_0x25bd00));}}class j extends _0x3f156b{['_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 _0x496bee=this['editor'];_0x496bee['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3d4f79=>{const _0x56a7dc=_0x496bee['commands']['get']('uploadcareImageEdit'),_0x556d7e=new _0x2777cb(_0x3d4f79),t=_0x3d4f79['t'];return _0x556d7e['set']({'icon':_0x5b4712,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x556d7e['bind']('isEnabled')['to'](_0x56a7dc),_0x556d7e['bind']('isOn')['to'](_0x56a7dc,'isActive'),this['listenTo'](_0x556d7e,'execute',()=>{_0x496bee['execute']('uploadcareImageEdit'),_0x496bee['editing']['view']['focus']();}),_0x556d7e;}),this['_initConfig']();}['_initConfig'](){const _0x1f1bfb=_0x33a006(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1f1bfb),this['listenTo'](this['editor'],'destroy',()=>{_0x1f1bfb['remove']();});}}class P extends _0x3f156b{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x589e7d,Command as _0x28510c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x275059,IconGooglePhotos as _0x5123dd,IconGoogleDrive as _0x5c14ea,IconFacebook as _0x42e69d,IconDropbox as _0x599c1,IconUploadcareLink as _0x284163,IconUploadcareImageUpload as _0x4430d1,IconError as _0x12a912,IconUploadcareImageEdit as _0x562f42}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3733d5,MenuBarMenuListItemButtonView as _0x2708ef,View as _0xa725a6,FocusCycler as _0x44d067,Dialog as _0x116834,DialogViewPosition as _0x4e1800,SpinnerView as _0x4b3f8b,IconView as _0x15a299,Notification as _0x11dd72}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x13f1b7,DomEmitterMixin as _0x1d29cb,global as _0x6f12a9,getAncestors as _0x7fcf,ObservableMixin as _0x13e97c,createElement as _0xdf1b45,uid as _0x38a09c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xcbcdf6}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2a80cc,info as _0x380f6b}from'@uploadcare/upload-client';import*as _0x41981a from'@uploadcare/file-uploader';var i=function(_0x4c721a){return _0x4c721a['Local']='local',_0x4c721a['URL']='url',_0x4c721a['Dropbox']='dropbox',_0x4c721a['GDrive']='gdrive',_0x4c721a['Facebook']='facebook',_0x4c721a['GPhotos']='gphotos',_0x4c721a['OneDrive']='onedrive',_0x4c721a;}({});function _(_0x41583e,_0x138b20,_0x4d6a7d){const t=_0x41583e['t'],_0x2869a6=_0x41583e['t'];switch(_0x138b20){case i['Local']:return{'text':_0x2869a6('Insert'===_0x4d6a7d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2869a6('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4d6a7d?_0x2869a6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2869a6('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4d6a7d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4d6a7d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4d6a7d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4d6a7d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4d6a7d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x138b20;}}class e extends _0x589e7d{['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 _0x1716ce=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x399ae9;for(const _0x1a88d8 in _0x1716ce){const _0x4342c5=_0x1a88d8,_0x5f1744=_0x1716ce[_0x4342c5];if('uploadcareLicenseKeyValid'==_0x5f1744||'uploadcareLicenseKeyInvalid'==_0x5f1744||'uploadcareLicenseKeyExpired'==_0x5f1744||'uploadcareLicenseKeyDomainLimit'==_0x5f1744||'uploadcareLicenseKeyNotAllowed'==_0x5f1744||'uploadcareLicenseKeyEvaluationLimit'==_0x5f1744||'uploadcareLicenseKeyTrialLimit'==_0x5f1744||'uploadcareLicenseKeyUsageLimit'==_0x5f1744){delete _0x1716ce[_0x4342c5],_0x399ae9=_0x5f1744,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x399ae9&&_0x1716ce['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x399ae9&&_0x1716ce['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x399ae9&&_0x1716ce['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x399ae9&&_0x1716ce['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x399ae9&&_0x1716ce['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x399ae9&&_0x1716ce['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x399ae9&&_0x1716ce['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x41edfc}=this,_0x4017e6=_0x41edfc['commands']['get']('uploadcare');if(!_0x4017e6)return;const _0x106d52=this['_normalizeConfigSourceList'](_0x41edfc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xb6e101,_0x51dff1)=>{const _0x2af9eb=this['_getIntegrationKey'](_0x51dff1['type']);return _0xb6e101[_0x2af9eb]||(_0xb6e101[_0x2af9eb]=[]),_0xb6e101[_0x2af9eb]['push'](_0x51dff1),_0xb6e101;},{});_0x41edfc['plugins']['has']('ImageInsertUI')&&_0x41edfc['commands']['get']('uploadcare')&&Object['entries'](_0x106d52)['forEach'](([_0x2cf876,_0xae2660])=>{_0x41edfc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2cf876,'observable':()=>_0x4017e6,'buttonViewCreator':()=>this['_createToolbarButton'](_0xae2660),'formViewCreator':()=>this['_createDropdownButtons'](_0xae2660),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xae2660),'override':'assetManager'!==_0x2cf876});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x395183){const {locale:_0x116561}=this['editor'];return _0x395183['map'](_0x6f7509=>{const _0x2b7c5f=_(_0x116561,_0x6f7509,'Insert');switch(_0x6f7509){case i['Local']:return{'icon':_0x4430d1,'type':i['Local'],..._0x2b7c5f};case i['URL']:return{'icon':_0x284163,'type':i['URL'],..._0x2b7c5f};case i['Dropbox']:return{'icon':_0x599c1,'type':i['Dropbox'],..._0x2b7c5f};case i['Facebook']:return{'icon':_0x42e69d,'type':i['Facebook'],..._0x2b7c5f};case i['GDrive']:return{'icon':_0x5c14ea,'type':i['GDrive'],..._0x2b7c5f};case i['GPhotos']:return{'icon':_0x5123dd,'type':i['GPhotos'],..._0x2b7c5f};case i['OneDrive']:return{'icon':_0x275059,'type':i['OneDrive'],..._0x2b7c5f};}});}['_getIntegrationKey'](_0x3f7f19){switch(_0x3f7f19){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3a4ae0,_0x33c25f){const _0x47f144=this['editor'],_0x4ff181=new _0x3a4ae0(_0x47f144['locale']),_0x31848c=_0x47f144['commands']['get']('uploadcare');return _0x4ff181['bind']('isEnabled')['to'](_0x31848c),_0x4ff181['on']('execute',()=>{_0x31848c['execute'](_0x33c25f);}),_0x4ff181;}['_createToolbarButton'](_0x68310f){const {locale:_0x5b7667}=this['editor'],_0x5eee7e=this['editor']['plugins']['get']('ImageInsertUI'),_0x2b7cb4=_0x68310f[0x0],_0x5aa26b=this['_createButton'](_0x3733d5,_0x2b7cb4['type']);return _0x5aa26b['icon']=_0x2b7cb4['icon'],_0x5aa26b['bind']('label')['to'](_0x5eee7e,'isImageSelected',_0x2bd934=>_(_0x5b7667,_0x2b7cb4['type'],_0x2bd934?'Replace':'Insert')['text']),_0x5aa26b['tooltip']=!0x0,_0x5aa26b;}['_createDropdownButtons'](_0x2c1e9b){const {locale:_0x1253aa}=this['editor'],_0x316d70=this['editor']['plugins']['get']('ImageInsertUI');return _0x2c1e9b['map'](_0x359dac=>{const _0x464600=this['_createButton'](_0x3733d5,_0x359dac['type']);return _0x464600['withText']=!0x0,_0x464600['icon']=_0x359dac['icon'],_0x464600['bind']('label')['to'](_0x316d70,'isImageSelected',_0x4593e2=>_(_0x1253aa,_0x359dac['type'],_0x4593e2?'Replace':'Insert')['text']),_0x464600;});}['_createMenuBarButtons'](_0x3e19d6){return _0x3e19d6['map'](_0xa576=>{const _0x15337c=this['_createButton'](_0x2708ef,_0xa576['type']);return _0x15337c['icon']=_0xa576['icon'],_0x15337c['label']=_0xa576['shortText'],_0x15337c;});}}class F extends _0xa725a6{['focusTracker'];['focusCycler'];constructor(_0x1d79ba){super(_0x1d79ba),this['focusTracker']=new _0x13f1b7(),this['focusCycler']=new _0x44d067({'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(_0x5ca590){super(_0x5ca590),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x1b994d,_0x40c7ed){const _0x46709a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x212216=>_0x212216<=_0x40c7ed)['map'](_0x24466d=>_0x1b994d['replace'](/\/$/,'')+'/-/resize/'+_0x24466d+'x/\x20'+_0x24466d+'w');return{'imageFallbackUrl':_0x1b994d,'imageSources':[{'srcset':_0x46709a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x40c7ed+'px)\x20100vw,\x20'+_0x40c7ed+'px','type':'image/webp'}]};}function C(_0x220f1c,_0x28b783,_0x18677a){const _0x4ce572=_0x220f1c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4ce572?parseInt(_0x4ce572[0x1],0xa):_0x28b783,'height':_0x4ce572?parseInt(_0x4ce572[0x2],0xa):_0x18677a};}function p(_0x5690c3,_0x4416df){const _0x28068f=new(_0x1d29cb())(),_0x2c5fbc=_0x5690c3['plugins']['get']('ImageUtils'),_0x5aa9f0=_0x5690c3['editing']['mapper']['toViewElement'](_0x4416df),_0x2cbbae=_0x2c5fbc['findViewImgElement'](_0x5aa9f0),_0x266672=_0x5690c3['editing']['view']['domConverter']['viewToDom'](_0x2cbbae),_0x4f9617=_0x4416df['getAttribute']('width'),_0x4cffca=_0x4416df['getAttribute']('height'),_0x2f68a8='image-processing';_0x5690c3['editing']['view']['change'](_0x20a9dd=>{_0x20a9dd['addClass'](_0x2f68a8,_0x5aa9f0),_0x20a9dd['setStyle']('aspect-ratio',_0x4f9617+'/'+_0x4cffca,_0x2cbbae);}),_0x28068f['listenTo'](_0x266672,'load',()=>{_0x28068f['stopListening'](_0x266672,'load'),_0x5690c3['editing']['view']['change'](_0x175eb2=>{_0x175eb2['removeClass'](_0x2f68a8,_0x5aa9f0),_0x175eb2['removeStyle']('aspect-ratio',_0x2cbbae);});});}function z(_0x2fd30c){if(Array['isArray'](_0x2fd30c)){const _0x435a52=_0x2fd30c['map'](z);return _0x592ee4=>_0x435a52['some'](_0x5cfeef=>_0x5cfeef(_0x592ee4));}if('origin'==_0x2fd30c){const _0x4c69fe=_0x6f12a9['window']['location']['origin'];return _0xf0eeb7=>new URL(_0xf0eeb7,_0x6f12a9['document']['baseURI'])['origin']==_0x4c69fe;}return'function'==typeof _0x2fd30c?_0x2fd30c:_0x2fd30c instanceof RegExp?_0x5d9af7=>!(!_0x5d9af7['match'](_0x2fd30c)&&!_0x5d9af7['replace'](/^https?:\/\//,'')['match'](_0x2fd30c)):()=>!0x1;}function S(_0x20d928,_0xdf7ece){return _0x7fcf(_0x20d928['target'])['includes'](_0xdf7ece);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x13e97c(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1b4bb7,_0x4e9dc6,_0x1d953e){super(),this['_editor']=_0x1b4bb7,this['_editing']=_0x4e9dc6,this['_dialog']=_0x1b4bb7['plugins']['get'](_0x116834),this['_api']=_0x4e9dc6['ctxElement']['getAPI'](),this['_type']=_0x1d953e,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:_0x276a94,model:_0x4a73b1}=this['_editor'],_0x39d52c=_0x4a73b1['document']['selection']['getSelectedElement'](),_0x523dbd=_0x39d52c&&(_0x39d52c['is']('element','imageBlock')||_0x39d52c['is']('element','imageInline'));this['_formView']=new x(_0x276a94),this['_dialog']['show']({'id':'uploadCare','icon':_0x4430d1,'title':_(_0x276a94,this['_type'],_0x523dbd?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4e1800['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x96269b=>!S(_0x96269b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1b6714}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x270728=>{const _0x3c8572=_0x1b6714['length'];for(const _0xd0c606 of _0x1b6714){const _0xd6ed94=_0xd0c606===_0x1b6714[_0x3c8572-0x1],{cdnUrl:_0x3fa7b2,fileInfo:_0x2549c4}=_0xd0c606;if(!_0x3fa7b2||!_0x2549c4)continue;const {width:_0x2721a9,height:_0x52b70d}=_0x2549c4['imageInfo'],_0x9c8bac=C(_0x3fa7b2,_0x2721a9,_0x52b70d),_0x2a1275=k(_0x3fa7b2,_0x9c8bac['width']),_0x1d9e79={'id':_0x2549c4['uuid'],'type':'image','attributes':{'imageDimension':_0x9c8bac,..._0x2a1275}};this['_insertAsset'](_0x1d9e79,_0xd6ed94,_0x270728);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x553375=>{'idle'===_0x553375['detail']['status']&&!_0x553375['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x164c29,_0x582773,_0x434735){const _0x2e8a22=this['_editor']['model']['document']['selection'],_0xafc86a=_0x2e8a22['getSelectedElement'](),_0x3f34c2=!(!_0xafc86a||!_0xafc86a['is']('element','imageInline'));_0x434735['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x164c29,_0x3f34c2),_0x582773||_0x434735['setSelection'](_0x2e8a22['getLastPosition']());}['_insertImage'](_0xa5b1ce,_0x4b1060){const _0x933a02=this['_editor'],{imageDimension:_0x1a88ab,imageFallbackUrl:_0x5c0999,imageSources:_0x12b152}=_0xa5b1ce['attributes'];_0x933a02['execute']('insertImage',{'imageType':_0x4b1060?'imageInline':null,'source':{'uploadcareImageId':_0xa5b1ce['id'],'src':_0x5c0999,'sources':_0x12b152,..._0x1a88ab}});}}class w extends _0x28510c{['_editing'];['_controller']=null;static get['requires'](){return[_0x116834,o];}constructor(_0x16e6fa){super(_0x16e6fa),this['_editing']=_0x16e6fa['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5d61b5){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5d61b5);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x2fbc92,publicKey:_0xa019ab,signal:_0x1a11d4,onProgress:_0x2de509}){return _0x2a80cc(_0x2fbc92,{'publicKey':_0xa019ab,'store':'auto','signal':_0x1a11d4,'onProgress':_0x2de509});}static['getInfo'](_0x37fec4,_0x170628){return _0x380f6b(_0x37fec4,_0x170628);}}class f extends _0x589e7d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xcbcdf6,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5c8892=this['editor'];if(!!!_0x5c8892['config']['get']('uploadcare'))return;_0x5c8892['plugins']['get'](_0xcbcdf6)['createUploadAdapter']=_0x3583ac=>new A(_0x3583ac,_0x5c8892),_0x5c8892['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x58b2ed,{imageElement:_0x33073a,data:_0x1f4fa9})=>{_0x5c8892['model']['change'](_0x1dbf50=>{_0x1dbf50['setAttribute']('uploadcareImageId',_0x1f4fa9['uploadcareImageId'],_0x33073a);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x5171d7,_0x265e8c){this['loader']=_0x5171d7,this['editor']=_0x265e8c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3c902c=this['editor']['config']['get']('uploadcare.pubkey'),_0x30f47a=await this['loader']['file'];return j['upload']({'file':_0x30f47a,'publicKey':_0x3c902c,'signal':this['controller']['signal'],'onProgress':_0x2a9b75=>{_0x2a9b75&&_0x2a9b75['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2a9b75['value']);}})['then'](async _0x40b25d=>{const {imageFallbackUrl:_0x14b9b8,imageSources:_0xa40bc2}=k(_0x40b25d['cdnUrl'],_0x40b25d['imageInfo']['width']);return{'uploadcareImageId':_0x40b25d['uuid'],'default':_0x14b9b8,'sources':_0xa40bc2};})['catch'](()=>{const _0x26f326=t('Cannot\x20upload\x20file:')+('\x20'+_0x30f47a['name']+'.');return Promise['reject'](_0x26f326);});}['abort'](){this['controller']['abort']();}}class o extends _0x589e7d{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x116834];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x5df081=this['editor'];_0x5df081['commands']['add']('uploadcare',new w(_0x5df081));}['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 _0x409130=_0x6f12a9['document']['querySelector']('input[uploadcare-file-input]');_0x409130&&_0x409130['remove']();}),async function(_0x544d4e){const _0x20b022=_0x5c22b6([0x7a,0x32,0x75,0x55,0x33,0x6d,0x74,0x72,0x42,0x4c,0x37,0x71,0x77,0x4b,0x78,0x45,0x36,0x52,0x35,0x66,0x50,0x56,0x4e,0x63,0x34,0x44,0x57,0x70,0x73,0x4d,0x6a,0x58,0x5a,0x6f,0x30,0x43,0x6e,0x53,0x48,0x59,0x6b,0x67,0x76,0x4f,0x69,0x54,0x49,0x61,0x39,0x65,0x79,0x38,0x31,0x47,0x62,0x51,0x4a,0x41,0x6c,0x46,0x64,0x68]),_0x5b06db=0x46e70fe5,_0x2024da=0x46e0661d^_0x5b06db,_0x9a52fa=window[_0x5c22b6([0x44,0x61,0x74,0x65])][_0x5c22b6([0x6e,0x6f,0x77])](),_0xa766c2=_0x544d4e[_0x5c22b6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b4db6=new window[(_0x5c22b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3325e5=>{_0xa766c2[_0x5c22b6([0x6f,0x6e,0x63,0x65])](_0x5c22b6([0x72,0x65,0x61,0x64,0x79]),_0x3325e5);}),_0x524b0f={[_0x5c22b6([0x6b,0x74,0x79])]:_0x5c22b6([0x45,0x43]),[_0x5c22b6([0x75,0x73,0x65])]:_0x5c22b6([0x73,0x69,0x67]),[_0x5c22b6([0x63,0x72,0x76])]:_0x5c22b6([0x50,0x2d,0x32,0x35,0x36]),[_0x5c22b6([0x78])]:_0x5c22b6([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]),[_0x5c22b6([0x79])]:_0x5c22b6([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]),[_0x5c22b6([0x61,0x6c,0x67])]:_0x5c22b6([0x45,0x53,0x32,0x35,0x36])},_0x44e0f4=_0xa766c2[_0x5c22b6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c22b6([0x67,0x65,0x74])](_0x5c22b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10b04a(){let _0x1030f6,_0x5bbee9=null,_0x5b31f4=null;try{if(_0x44e0f4==_0x5c22b6([0x47,0x50,0x4c]))return _0x5c22b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1030f6=_0x5e4bd0(),!_0x1030f6)return _0x5c22b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1030f6[_0x5c22b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b31f4=_0x5a9d27(_0x1030f6[_0x5c22b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1030f6[_0x5c22b6([0x6a,0x74,0x69])])),await _0xac921b()?_0x3ecfc0()?_0x1b5044()?_0x5c22b6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43e981()?(_0x1030f6[_0x5c22b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c22b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5bbee9=_0x38aa26(_0x5c22b6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1030f6[_0x5c22b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c22b6([0x74,0x72,0x69,0x61,0x6c])&&(_0x5bbee9=_0x38aa26(_0x5c22b6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19b8bb()):_0x5c22b6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c22b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c22b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c22b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b5044(){const _0x429658=[_0x5c22b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c22b6([0x74,0x72,0x69,0x61,0x6c])][_0x5c22b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1030f6[_0x5c22b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9a52fa/0x3e8:0xe10*_0x2024da;return _0x1030f6[_0x5c22b6([0x65,0x78,0x70])]<_0x429658;}function _0x3ecfc0(){const _0xb6c6e5=_0x1030f6[_0x5c22b6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xb6c6e5&&(!!_0xb6c6e5[_0x5c22b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c22b6([0x2a]))||!!_0xb6c6e5[_0x5c22b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c22b6([0x55,0x50,0x4c,0x43])));}function _0x43e981(){const _0xbb91fe=_0x1030f6[_0x5c22b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xbb91fe||0x0==_0xbb91fe[_0x5c22b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20e10a}=new URL(window[_0x5c22b6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xbb91fe[_0x5c22b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20e10a))return!0x0;const _0x4b95f6=_0x20e10a[_0x5c22b6([0x73,0x70,0x6c,0x69,0x74])](_0x5c22b6([0x2e]));return _0xbb91fe[_0x5c22b6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x473c2a=>_0x473c2a[_0x5c22b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c22b6([0x2a])))[_0x5c22b6([0x6d,0x61,0x70])](_0x1dcf71=>_0x1dcf71[_0x5c22b6([0x73,0x70,0x6c,0x69,0x74])](_0x5c22b6([0x2e])))[_0x5c22b6([0x73,0x6f,0x6d,0x65])](_0x3d4cb9=>_0x4b95f6[_0x5c22b6([0x65,0x76,0x65,0x72,0x79])]((_0x4a67e9,_0x43c4e8)=>_0x3d4cb9[_0x43c4e8]===_0x4a67e9||_0x3d4cb9[_0x43c4e8]===_0x5c22b6([0x2a])));}function _0x19b8bb(){return _0x5bbee9&&_0x5b31f4?new window[(_0x5c22b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb7e1ca,_0x1a620c)=>{_0x5bbee9[_0x5c22b6([0x74,0x68,0x65,0x6e])](_0xb7e1ca,_0x1a620c),_0x5b31f4[_0x5c22b6([0x74,0x68,0x65,0x6e])](_0x12f9cc=>{_0x12f9cc!=_0x5c22b6([0x56,0x61,0x6c,0x69,0x64])&&_0xb7e1ca(_0x12f9cc);},_0x1a620c);}):_0x5bbee9||_0x5b31f4||_0x5c22b6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a9d27(_0x341b60,_0x481d6a){return new window[(_0x5c22b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bb562=>{if(_0x3fd957())return _0x2bb562(_0x5c22b6([0x56,0x61,0x6c,0x69,0x64]));_0x917941(),_0xa766c2[_0x5c22b6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c22b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cfeef=!0x1;const _0x54b670=_0x38a09c();function _0x3c8cd3(_0x21046b){return!!_0x21046b&&(typeof _0x21046b===_0x5c22b6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21046b===_0x5c22b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21046b[_0x5c22b6([0x74,0x68,0x65,0x6e])]===_0x5c22b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21046b[_0x5c22b6([0x63,0x61,0x74,0x63,0x68])]===_0x5c22b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x48f156(_0x496875){_0x49d258(_0x496875)[_0x5c22b6([0x74,0x68,0x65,0x6e])](_0x163075=>{if(!_0x163075||_0x163075[_0x5c22b6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c22b6([0x6f,0x6b]))return _0x5c22b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x12aacb(_0x438970(_0x54b670+_0x481d6a))!=_0x163075[_0x5c22b6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c22b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c22b6([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c22b6([0x74,0x68,0x65,0x6e])](_0x29a287=>(_0x30c8e8(),_0x29a287),()=>{const _0x1c626e=_0x5a6d5e();return null==_0x1c626e?(_0x30c8e8(),_0x5c22b6([0x56,0x61,0x6c,0x69,0x64])):_0x5c22b6(_0x9a52fa-_0x1c626e>(0x62eb8be5^_0x5b06db)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c22b6([0x74,0x68,0x65,0x6e])](_0x2bb562)[_0x5c22b6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2bb562(_0x5c22b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x79d595=0x46d1e165^_0x5b06db;function _0x30c8e8(){const _0x4269a5=_0x5c22b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x12aacb(_0x438970(_0x341b60)),_0x245018=_0x52ebed(_0x12aacb(window[_0x5c22b6([0x4d,0x61,0x74,0x68])][_0x5c22b6([0x63,0x65,0x69,0x6c])](_0x9a52fa/_0x79d595)));window[_0x5c22b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c22b6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4269a5,_0x245018);}function _0x5a6d5e(){const _0x2026c0=_0x5c22b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x12aacb(_0x438970(_0x341b60)),_0x74c837=window[_0x5c22b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c22b6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2026c0);return _0x74c837?window[_0x5c22b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52ebed(_0x74c837),0x10)*_0x79d595:null;}function _0x49d258(_0x242641){return new window[(_0x5c22b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3465cd,_0x311a82)=>{_0x242641[_0x5c22b6([0x74,0x68,0x65,0x6e])](_0x3465cd,_0x311a82),window[_0x5c22b6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x311a82,0x46e6db25^_0x5b06db);});}}_0xa766c2[_0x5c22b6([0x6f,0x6e])](_0x5c22b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27727a,_0x4ddfe3)=>{if(_0x4ddfe3[0x0]!=_0x341b60)return _0x2bb562(_0x5c22b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ddfe3[0x1]={..._0x4ddfe3[0x1],[_0x5c22b6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x54b670};},{[_0x5c22b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c22b6([0x68,0x69,0x67,0x68])}),_0xa766c2[_0x5c22b6([0x6f,0x6e])](_0x5c22b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2aa521=>{_0x3c8cd3(_0x2aa521[_0x5c22b6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cfeef=!0x0,_0x48f156(_0x2aa521[_0x5c22b6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c22b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c22b6([0x6c,0x6f,0x77])}),_0x3b4db6[_0x5c22b6([0x74,0x68,0x65,0x6e])](()=>{_0x4cfeef||_0x2bb562(_0x5c22b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3fd957(){return _0xa766c2[_0x5c22b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c22b6([0x76,0x69,0x65,0x77])][_0x5c22b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c22b6([0x61,0x75,0x74,0x6f]);}function _0x917941(){_0xa766c2[_0x5c22b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c22b6([0x76,0x69,0x65,0x77])][_0x5c22b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c22b6([0x61,0x75,0x74,0x6f]);}}function _0x38aa26(_0x5d8fd1){const _0x5d9c9e=[new window[(_0x5c22b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37c0a0=>setTimeout(_0x37c0a0,0x46ee3129^_0x5b06db)),_0x3b4db6[_0x5c22b6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c22b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28fc49=>{let _0x4bac0b=0x0;_0xa766c2[_0x5c22b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c22b6([0x6f,0x6e])](_0x5c22b6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x549a75,_0x4fd8fc)=>{_0x4fd8fc[0x0][_0x5c22b6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4bac0b++,_0x4bac0b==(0x46e70e1d^_0x5b06db)&&(_0x28fc49(),_0x549a75[_0x5c22b6([0x6f,0x66,0x66])]());});}))];return window[_0x5c22b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c22b6([0x72,0x61,0x63,0x65])](_0x5d9c9e)[_0x5c22b6([0x74,0x68,0x65,0x6e])](()=>_0x5d8fd1);}async function _0x32a9a7(){await _0x3b4db6,_0xa766c2[_0x5c22b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c22b6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b24d4,_0xa766c2[_0x5c22b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c22b6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b24d4,_0xa766c2[_0x5c22b6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c22b6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2273d1(_0x47824f){const _0x1bf6d9=_0x423199();_0xa766c2[_0x1bf6d9]=_0x5c22b6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x47824f,_0x47824f!=_0x5c22b6([0x56,0x61,0x6c,0x69,0x64])&&_0x32a9a7();}function _0x423199(){const _0x25fc78=window[_0x5c22b6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c22b6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c22b6([0x6e,0x6f,0x77])]())[_0x5c22b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c22b6([0x2e]),'');let _0x2244b7=_0x5c22b6([0x7a]);for(let _0x1ae5b1=0x0;_0x1ae5b1<_0x25fc78[_0x5c22b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ae5b1+=0x2){let _0x3e4237=window[_0x5c22b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25fc78[_0x5c22b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ae5b1,_0x1ae5b1+0x2));_0x3e4237>=_0x20b022[_0x5c22b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e4237-=_0x20b022[_0x5c22b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2244b7+=_0x20b022[_0x3e4237];}return _0x2244b7;}function _0x5e4bd0(){const _0x2de870=_0x44e0f4[_0x5c22b6([0x73,0x70,0x6c,0x69,0x74])](_0x5c22b6([0x2e]));if(0x3!=_0x2de870[_0x5c22b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa2ecd6(_0x2de870[0x1]);function _0xa2ecd6(_0x22d257){const _0x4c730e=_0x1826c3(_0x22d257);return _0x4c730e&&_0x39ac1f()?_0x4c730e:null;function _0x39ac1f(){const _0x12ddd1=_0x4c730e[_0x5c22b6([0x6a,0x74,0x69])],_0x4557a4=window[_0x5c22b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12ddd1[_0x5c22b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12ddd1[_0x5c22b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46ebeb={..._0x4c730e,[_0x5c22b6([0x6a,0x74,0x69])]:_0x12ddd1[_0x5c22b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12ddd1[_0x5c22b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46ebeb[_0x5c22b6([0x76,0x63])],_0x438970(_0x46ebeb)==_0x4557a4;}}}async function _0xac921b(){let _0x11996a=!0x0;try{const _0x18141a=_0x44e0f4[_0x5c22b6([0x73,0x70,0x6c,0x69,0x74])](_0x5c22b6([0x2e])),[_0x369b99,_0xc91b9d,_0x13a2be]=_0x18141a;return _0x18f355(_0x369b99),await _0x132a90(_0x369b99,_0xc91b9d,_0x13a2be),_0x11996a;}catch{return!0x1;}function _0x18f355(_0x5c7eec){const _0x5f42ce=_0x1826c3(_0x5c7eec);_0x5f42ce&&_0x5f42ce[_0x5c22b6([0x61,0x6c,0x67])]==_0x5c22b6([0x45,0x53,0x32,0x35,0x36])||(_0x11996a=!0x1);}async function _0x132a90(_0x172177,_0x4cfb52,_0x4d4dae){const _0x53855e=window[_0x5c22b6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c22b6([0x66,0x72,0x6f,0x6d])](_0x10ff10(_0x4d4dae),_0x183b5f=>_0x183b5f[_0x5c22b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x203c6c=new window[(_0x5c22b6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c22b6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x172177+_0x5c22b6([0x2e])+_0x4cfb52),_0x2c14ab=window[_0x5c22b6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c22b6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c14ab)return;const _0x50f498=await _0x2c14ab[_0x5c22b6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c22b6([0x6a,0x77,0x6b]),_0x524b0f,{[_0x5c22b6([0x6e,0x61,0x6d,0x65])]:_0x5c22b6([0x45,0x43,0x44,0x53,0x41]),[_0x5c22b6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c22b6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c22b6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c14ab[_0x5c22b6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c22b6([0x6e,0x61,0x6d,0x65])]:_0x5c22b6([0x45,0x43,0x44,0x53,0x41]),[_0x5c22b6([0x68,0x61,0x73,0x68])]:{[_0x5c22b6([0x6e,0x61,0x6d,0x65])]:_0x5c22b6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50f498,_0x53855e,_0x203c6c)||(_0x11996a=!0x1);}}function _0x1826c3(_0x58b6b4){return _0x58b6b4[_0x5c22b6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c22b6([0x65,0x79]))?JSON[_0x5c22b6([0x70,0x61,0x72,0x73,0x65])](_0x10ff10(_0x58b6b4)):null;}function _0x10ff10(_0x5627bb){return window[_0x5c22b6([0x61,0x74,0x6f,0x62])](_0x5627bb[_0x5c22b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c22b6([0x2b]))[_0x5c22b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c22b6([0x2f])));}function _0x438970(_0x420ade){let _0x4715be=0x1505;function _0x7de549(_0x14e39a){for(let _0x19b169=0x0;_0x19b169<_0x14e39a[_0x5c22b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19b169++){const _0x18ec40=_0x14e39a[_0x5c22b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19b169);_0x4715be=(_0x4715be<<0x5)+_0x4715be+_0x18ec40,_0x4715be&=_0x4715be;}}function _0x5c47a4(_0x4dc3c4){Array[_0x5c22b6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4dc3c4)?_0x4dc3c4[_0x5c22b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c47a4):_0x4dc3c4&&typeof _0x4dc3c4==_0x5c22b6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c22b6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4dc3c4)[_0x5c22b6([0x73,0x6f,0x72,0x74])]()[_0x5c22b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc5ede7,_0x5ba884])=>{_0x7de549(_0xc5ede7),_0x5c47a4(_0x5ba884);}):_0x7de549(window[_0x5c22b6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4dc3c4));}return _0x5c47a4(_0x420ade),_0x4715be>>>0x0;}function _0x12aacb(_0x1ceac6){return _0x1ceac6[_0x5c22b6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c22b6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c22b6([0x30]));}function _0x52ebed(_0x457f38){return _0x457f38[_0x5c22b6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c22b6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c22b6([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b24d4(){}function _0x5c22b6(_0x3da3ba){return _0x3da3ba['map'](_0x1df833=>String['fromCharCode'](_0x1df833))['join']('');}_0x2273d1(await _0x10b04a());}(this);}['_initSchema'](){const _0x4a0676=this['editor']['model']['schema'];_0x4a0676['isRegistered']('imageBlock')&&_0x4a0676['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4a0676['isRegistered']('imageInline')&&_0x4a0676['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x38d876=this['editor'];_0x38d876['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x38d876['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x50c0e4=>_0x50c0e4['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5e9064=_0x38d876['commands']['get']('replaceImageSource');_0x5e9064&&this['listenTo'](_0x5e9064,'cleanupImage',(_0x59a5cd,[_0x36b7ca,_0x52798a])=>{_0x36b7ca['removeAttribute']('uploadcareImageId',_0x52798a);});}['_initConfig'](){const _0x2cff4c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x265021=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xdf1b45(_0x6f12a9['document'],'uc-config',{..._0x2cff4c,'pubkey':_0x265021,'ctx-name':'uploader','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']=_0x6e5bc3=>{if('closeMax'==_0x6e5bc3)return'#uc-icon-arrow-down';},_0x6f12a9['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xdf1b45(_0x6f12a9['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x6f12a9['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3663f=this['editor']['commands']['get']('insertImage');_0x3663f&&this['listenTo'](_0x3663f,'execute',()=>{const _0x3dd7a1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3dd7a1&&_0x3dd7a1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3dd7a1);});});const _0x34670e=this['editor']['commands']['get']('uploadcareImageReplace');_0x34670e&&this['listenTo'](_0x34670e,'execute',()=>{const _0x580c21=this['editor']['model']['document']['selection']['getSelectedElement']();_0x580c21&&_0x580c21['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x580c21);});});}}class tt extends _0x589e7d{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x56f84f){super(_0x56f84f),_0x56f84f['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x41981a['defineComponents'](_0x41981a);}}class ii extends _0xa725a6{constructor(_0xba5d32){super(_0xba5d32);const t=_0xba5d32['t'],_0x4cdf53=this['bindTemplate'],_0x6e41d4=new _0x4b3f8b();_0x6e41d4['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':[_0x6e41d4,{'text':_0x4cdf53['to']('imageUploadProgress',_0x35a282=>t('Loading\x20image...')+'\x20('+(_0x35a282||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 _0xa725a6{constructor(_0x1c7389){super(_0x1c7389);const t=_0x1c7389['t'];this['set']('errorType',null);const _0x4765e8=new _0x3733d5(_0x1c7389);_0x4765e8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4765e8['withText']=!0x0,_0x4765e8['class']='ck-button-action',_0x4765e8['on']('execute',()=>{this['fire']('retry');}),_0x4765e8['bind']('isVisible')['to'](this,'errorType',_0x390d6d=>'NotFound'!==_0x390d6d);const _0x3d721a=new _0x15a299();_0x3d721a['content']=_0x12a912,_0x3d721a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3e5107=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':[_0x3d721a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3e5107['to']('errorType',_0x582108=>t('NotFound'!==_0x582108?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4765e8]},{'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 _0xa725a6{constructor(_0x18294f,_0x1cf439){super(_0x18294f);const _0x271b23=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1cf439,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x271b23['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xea7d5a,_0x7cab4b,_0x40a443){super(_0xea7d5a),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xea7d5a),this['_errorView']=new ti(_0xea7d5a),this['_editingView']=new ei(_0xea7d5a,_0x40a443),this['_focusableView']=new _0xa725a6(_0xea7d5a),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x7cab4b),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'],_0x20add2=>{this['_addUploadcareImageEditorListeners'](_0x20add2);});}),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'](_0x2e7983,_0x45631f){const _0x2e34c4='uc-cloud-image-editor',_0x4a3838=_0x2e7983['querySelector'](_0x2e34c4);if(_0x4a3838)return _0x45631f(_0x4a3838);const _0xeead0d=new MutationObserver(_0x45cea2=>{const _0x376735=_0x45cea2['filter'](_0x5c4d41=>_0x5c4d41['target']===_0x2e7983&&_0x5c4d41['addedNodes']['length']>0x0&&_0x5c4d41['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2e34c4);_0x376735['length']&&(_0xeead0d['disconnect'](),_0x45631f(_0x376735[0x0]['addedNodes'][0x0]));});_0xeead0d['observe'](_0x2e7983,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x10da44){_0x10da44['addEventListener']('apply',_0x242f25=>{this['fire']('apply',{'imageSrc':_0x242f25['detail']['cdnUrl']});}),_0x10da44['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x13e97c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2f8c95,_0x3f7a0e,_0x5e4f7a){super(),this['_editor']=_0x2f8c95,this['_dialog']=_0x3f7a0e,this['_imageElement']=_0x5e4f7a,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 _0x21f3a9=this['_imageElement'],_0x36b76d=_0x21f3a9['getAttribute']('uploadcareImageId'),_0x178d4e=_0x21f3a9['getAttribute']('src');if(_0x36b76d)await this['_loadImageInfo'](_0x36b76d,_0x178d4e);else{if(this['_imageCache']['has'](_0x178d4e)){const _0x38c532=this['_imageCache']['get'](_0x178d4e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38c532['url'],this['imageDimension']=_0x38c532['dimension'],this['imageId']=_0x38c532['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4f8ec4}=this['_editor'],t=_0x4f8ec4['t'],_0x58a76e=new X(_0x4f8ec4,this['imageStatus'],this['_attributes']);_0x58a76e['bind']('status')['to'](this,'imageStatus'),_0x58a76e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x58a76e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x58a76e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x58a76e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x562f42,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x58a76e,'position':_0x4e1800['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x58a76e['focus']();},'onHide':()=>{_0x58a76e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x39a58c=>!S(_0x39a58c,_0x58a76e['element'])}});}['_loadImageInfo'](_0x301e06,_0x2666cf){return j['getInfo'](_0x301e06,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4793b1=>{const {width:_0x3b0bf1,height:_0x82dd0f}=_0x4793b1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2666cf,this['imageDimension']={'width':_0x3b0bf1,'height':_0x82dd0f},this['imageId']=_0x301e06;})['catch'](_0xcf3605=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xcf3605['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x285aa3,_0x3d62fe){return this['_getImageAsFile'](_0x285aa3)['then'](_0x50defa=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3d62fe['signal'],'file':_0x50defa,'onProgress':_0x11aa28=>{_0x11aa28&&_0x11aa28['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x11aa28['value']));}}))['then'](_0x123fac=>{const {width:_0x3254e5,height:_0x35ac90}=_0x123fac['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x123fac['cdnUrl'],this['imageDimension']={'width':_0x3254e5,'height':_0x35ac90},this['imageId']=_0x123fac['uuid'],this['imageUploadProgress']=null;const _0x2d186e=_0x285aa3['getAttribute']('src');this['_imageCache']['set'](_0x2d186e,{'id':_0x123fac['uuid'],'url':_0x123fac['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1ece88=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ece88['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5ab68a,_0x224876){_0x5ab68a['on']('apply',(_0x28d21a,_0x3a5449)=>{this['_replaceImage'](_0x224876,_0x3a5449['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5ab68a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5ab68a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5084d5,_0x1e5030,_0x50e1f7){const _0x2fc857=this['_editor'],{width:_0x36247a,height:_0x138095}=C(_0x1e5030,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1a4c0f,imageSources:_0xc11f6d}=k(_0x1e5030,_0x36247a);_0x2fc857['model']['change'](_0xb2bcaa=>{if('$graveyard'===_0x5084d5['root']['rootName']){_0x2fc857['execute']('insertImage',{'imageType':_0x5084d5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5084d5['getAttributes']()),'uploadcareImageId':_0x50e1f7,'src':_0x1a4c0f,'sources':_0xc11f6d,'width':_0x36247a,'height':_0x138095}});const _0x302d38=_0x5084d5['getChildren']();_0x5084d5=_0x2fc857['model']['document']['selection']['getSelectedElement']();for(const _0x2ce498 of _0x302d38)_0xb2bcaa['append'](_0xb2bcaa['cloneElement'](_0x2ce498),_0x5084d5);}else _0xb2bcaa['setSelection'](_0x5084d5,'on'),_0x2fc857['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5084d5['getAttributes']()),'uploadcareImageId':_0x50e1f7,'src':_0x1a4c0f,'sources':_0xc11f6d,'width':_0x36247a,'height':_0x138095},_0x5084d5);_0xb2bcaa['setSelection'](_0x5084d5,'on');});}async['_getImageAsFile'](_0x44a7bc){const _0x15428e=_0x6f12a9['window'],_0x51c86c=_0x6f12a9['document']['location']['href'],_0x1ce9ad=new _0x15428e['URL'](_0x44a7bc['getAttribute']('src'),_0x51c86c);if('data:'===_0x1ce9ad['protocol']){const _0x1f14a0=_0x1ce9ad['href']['split'](','),_0x381bbf=_0x1f14a0[0x0]['match'](/:(.*?);/)[0x1],_0x244633=_0x381bbf['split']('/')[0x1],_0x203c90=_0x15428e['atob'](_0x1f14a0[_0x1f14a0['length']-0x1]);let _0x42ac63=_0x203c90['length'];const _0x46af5a=new _0x15428e['Uint8Array'](_0x42ac63);for(;_0x42ac63--;)_0x46af5a[_0x42ac63]=_0x203c90['charCodeAt'](_0x42ac63);return new _0x15428e['File']([_0x46af5a],'image.'+_0x244633,{'type':_0x381bbf});}const _0x4ee233=_0x1ce9ad['href']['split']('/'),_0x42d7a5=_0x4ee233[_0x4ee233['length']-0x1],_0x342313=_0x42d7a5['split']('.')[0x1];return _0x15428e['fetch'](_0x1ce9ad['href'])['then'](_0x287681=>_0x287681['clone']()['blob']())['then'](_0x5044d7=>new _0x15428e['File']([_0x5044d7],_0x42d7a5,{'type':'image/'+_0x342313}));}}class Q extends _0x28510c{['imageEditController'];static get['requires'](){return[_0x116834];}['_isEditable'];constructor(_0x457a95){super(_0x457a95),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x40e145){const _0x384eb2=z(_0x40e145);return _0x253f06=>!(!_0x253f06||!_0x253f06['is']('element','imageBlock')&&!_0x253f06['is']('element','imageInline'))&&(!!_0x253f06['hasAttribute']('uploadcareImageId')||!!_0x253f06['hasAttribute']('src')&&_0x384eb2(_0x253f06['getAttribute']('src')));}(_0x457a95['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4faffb=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4faffb);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x267f79=this['editor']['model']['document']['selection']['getSelectedElement']();_0x267f79&&(_0x267f79['is']('element','imageBlock')||_0x267f79['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x116834),_0x267f79),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x28510c{['refresh'](){const _0xffc3e4=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xffc3e4&&(_0xffc3e4['is']('element','imageBlock')||_0xffc3e4['is']('element','imageInline')));}['execute'](_0x56da3f){const _0x587ffa=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2cbf37=>{_0x2cbf37['setAttributes'](_0x56da3f,_0x587ffa),_0x2cbf37['removeAttribute']('srcset',_0x587ffa),_0x2cbf37['removeAttribute']('sizes',_0x587ffa);});}}class m extends _0x589e7d{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x11dd72,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c5cac}=this;_0x2c5cac['commands']['add']('uploadcareImageEdit',new Q(_0x2c5cac)),_0x2c5cac['commands']['add']('uploadcareImageReplace',new V(_0x2c5cac));}}class g extends _0x589e7d{['_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 _0x6dbebf=this['editor'];_0x6dbebf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x457767=>{const _0x5ce9c5=_0x6dbebf['commands']['get']('uploadcareImageEdit'),_0x9e869c=new _0x3733d5(_0x457767),t=_0x457767['t'];return _0x9e869c['set']({'icon':_0x562f42,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x9e869c['bind']('isEnabled')['to'](_0x5ce9c5),_0x9e869c['bind']('isOn')['to'](_0x5ce9c5,'isActive'),this['listenTo'](_0x9e869c,'execute',()=>{_0x6dbebf['execute']('uploadcareImageEdit'),_0x6dbebf['editing']['view']['focus']();}),_0x9e869c;}),this['_initConfig']();}['_initConfig'](){const _0x282045=_0xdf1b45(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x282045),this['listenTo'](this['editor'],'destroy',()=>{_0x282045['remove']();});}}class et extends _0x589e7d{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,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x54edb7=>0x1!=_0x54edb7}};
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':_0xba0d52=>0x1!=_0xba0d52}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4f4e0d=>{const {af:{dictionary:_0x2ea32b,getPluralForm:_0x5406b7}}={'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':_0x534569=>0x1!=_0x534569}};_0x4f4e0d['af']||={'dictionary':{},'getPluralForm':null},_0x4f4e0d['af']['dictionary']=Object['assign'](_0x4f4e0d['af']['dictionary'],_0x2ea32b),_0x4f4e0d['af']['getPluralForm']=_0x5406b7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x352039=>{const {af:{dictionary:_0x3395f5,getPluralForm:_0x4e3e57}}={'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':_0x274cf1=>0x1!=_0x274cf1}};_0x352039['af']||={'dictionary':{},'getPluralForm':null},_0x352039['af']['dictionary']=Object['assign'](_0x352039['af']['dictionary'],_0x3395f5),_0x352039['af']['getPluralForm']=_0x4e3e57;})(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':_0x249284=>0x0==_0x249284?0x0:0x1==_0x249284?0x1:0x2==_0x249284?0x2:_0x249284%0x64>=0x3&&_0x249284%0x64<=0xa?0x3:_0x249284%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':_0x15d590=>0x0==_0x15d590?0x0:0x1==_0x15d590?0x1:0x2==_0x15d590?0x2:_0x15d590%0x64>=0x3&&_0x15d590%0x64<=0xa?0x3:_0x15d590%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x27d699=>{const {ar:{dictionary:_0x1fd407,getPluralForm:_0xa4eb4e}}={'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':_0x47aede=>0x0==_0x47aede?0x0:0x1==_0x47aede?0x1:0x2==_0x47aede?0x2:_0x47aede%0x64>=0x3&&_0x47aede%0x64<=0xa?0x3:_0x47aede%0x64>=0xb?0x4:0x5}};_0x27d699['ar']||={'dictionary':{},'getPluralForm':null},_0x27d699['ar']['dictionary']=Object['assign'](_0x27d699['ar']['dictionary'],_0x1fd407),_0x27d699['ar']['getPluralForm']=_0xa4eb4e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xe282ad=>{const {ar:{dictionary:_0xb33378,getPluralForm:_0xfac84b}}={'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':_0x4a458e=>0x0==_0x4a458e?0x0:0x1==_0x4a458e?0x1:0x2==_0x4a458e?0x2:_0x4a458e%0x64>=0x3&&_0x4a458e%0x64<=0xa?0x3:_0x4a458e%0x64>=0xb?0x4:0x5}};_0xe282ad['ar']||={'dictionary':{},'getPluralForm':null},_0xe282ad['ar']['dictionary']=Object['assign'](_0xe282ad['ar']['dictionary'],_0xb33378),_0xe282ad['ar']['getPluralForm']=_0xfac84b;})(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':_0xa175f4=>0x1!=_0xa175f4}};
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':_0x2f90cf=>0x1!=_0x2f90cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1114ce=>{const {ast:{dictionary:_0x1ad6a2,getPluralForm:_0x594044}}={'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':_0x2f6d43=>0x1!=_0x2f6d43}};_0x1114ce['ast']||={'dictionary':{},'getPluralForm':null},_0x1114ce['ast']['dictionary']=Object['assign'](_0x1114ce['ast']['dictionary'],_0x1ad6a2),_0x1114ce['ast']['getPluralForm']=_0x594044;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x26bbcb=>{const {ast:{dictionary:_0x458a7d,getPluralForm:_0x332bdd}}={'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':_0x227a59=>0x1!=_0x227a59}};_0x26bbcb['ast']||={'dictionary':{},'getPluralForm':null},_0x26bbcb['ast']['dictionary']=Object['assign'](_0x26bbcb['ast']['dictionary'],_0x458a7d),_0x26bbcb['ast']['getPluralForm']=_0x332bdd;})(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':_0x187a96=>0x1!=_0x187a96}};
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':_0x575d0a=>0x1!=_0x575d0a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x41faba=>{const {az:{dictionary:_0x30b9ec,getPluralForm:_0x45acc7}}={'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':_0x3b94f1=>0x1!=_0x3b94f1}};_0x41faba['az']||={'dictionary':{},'getPluralForm':null},_0x41faba['az']['dictionary']=Object['assign'](_0x41faba['az']['dictionary'],_0x30b9ec),_0x41faba['az']['getPluralForm']=_0x45acc7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1ede7d=>{const {az:{dictionary:_0x49a1dc,getPluralForm:_0x2dcb82}}={'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':_0x1905e3=>0x1!=_0x1905e3}};_0x1ede7d['az']||={'dictionary':{},'getPluralForm':null},_0x1ede7d['az']['dictionary']=Object['assign'](_0x1ede7d['az']['dictionary'],_0x49a1dc),_0x1ede7d['az']['getPluralForm']=_0x2dcb82;})(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':_0x3e760f=>_0x3e760f%0xa==0x1&&_0x3e760f%0x64!=0xb?0x0:_0x3e760f%0xa>=0x2&&_0x3e760f%0xa<=0x4&&(_0x3e760f%0x64<0xa||_0x3e760f%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':_0xa81c29=>_0xa81c29%0xa==0x1&&_0xa81c29%0x64!=0xb?0x0:_0xa81c29%0xa>=0x2&&_0xa81c29%0xa<=0x4&&(_0xa81c29%0x64<0xa||_0xa81c29%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x14b9dd=>{const {be:{dictionary:_0x2b8633,getPluralForm:_0x52c5fd}}={'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':_0x1c5995=>_0x1c5995%0xa==0x1&&_0x1c5995%0x64!=0xb?0x0:_0x1c5995%0xa>=0x2&&_0x1c5995%0xa<=0x4&&(_0x1c5995%0x64<0xa||_0x1c5995%0x64>=0x14)?0x1:0x2}};_0x14b9dd['be']||={'dictionary':{},'getPluralForm':null},_0x14b9dd['be']['dictionary']=Object['assign'](_0x14b9dd['be']['dictionary'],_0x2b8633),_0x14b9dd['be']['getPluralForm']=_0x52c5fd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x391842=>{const {be:{dictionary:_0x422fa2,getPluralForm:_0x77d022}}={'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':_0x2a949e=>_0x2a949e%0xa==0x1&&_0x2a949e%0x64!=0xb?0x0:_0x2a949e%0xa>=0x2&&_0x2a949e%0xa<=0x4&&(_0x2a949e%0x64<0xa||_0x2a949e%0x64>=0x14)?0x1:0x2}};_0x391842['be']||={'dictionary':{},'getPluralForm':null},_0x391842['be']['dictionary']=Object['assign'](_0x391842['be']['dictionary'],_0x422fa2),_0x391842['be']['getPluralForm']=_0x77d022;})(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':_0x21c066=>0x1!=_0x21c066}};
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':_0x487f62=>0x1!=_0x487f62}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3377f3=>{const {bg:{dictionary:_0x3d1b04,getPluralForm:_0x3ff2e0}}={'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':_0x3184b7=>0x1!=_0x3184b7}};_0x3377f3['bg']||={'dictionary':{},'getPluralForm':null},_0x3377f3['bg']['dictionary']=Object['assign'](_0x3377f3['bg']['dictionary'],_0x3d1b04),_0x3377f3['bg']['getPluralForm']=_0x3ff2e0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x49245e=>{const {bg:{dictionary:_0x58e9a9,getPluralForm:_0x3cdf41}}={'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':_0x5b9b90=>0x1!=_0x5b9b90}};_0x49245e['bg']||={'dictionary':{},'getPluralForm':null},_0x49245e['bg']['dictionary']=Object['assign'](_0x49245e['bg']['dictionary'],_0x58e9a9),_0x49245e['bg']['getPluralForm']=_0x3cdf41;})(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':_0x1a5780=>0x1!=_0x1a5780}};
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':_0x4809f3=>0x1!=_0x4809f3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26f630=>{const {bn:{dictionary:_0x584a45,getPluralForm:_0x524b9d}}={'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':_0x41dbd1=>0x1!=_0x41dbd1}};_0x26f630['bn']||={'dictionary':{},'getPluralForm':null},_0x26f630['bn']['dictionary']=Object['assign'](_0x26f630['bn']['dictionary'],_0x584a45),_0x26f630['bn']['getPluralForm']=_0x524b9d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32e9fe=>{const {bn:{dictionary:_0x4e11cd,getPluralForm:_0x30d0bc}}={'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':_0x3616b8=>0x1!=_0x3616b8}};_0x32e9fe['bn']||={'dictionary':{},'getPluralForm':null},_0x32e9fe['bn']['dictionary']=Object['assign'](_0x32e9fe['bn']['dictionary'],_0x4e11cd),_0x32e9fe['bn']['getPluralForm']=_0x30d0bc;})(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':_0x3b790e=>_0x3b790e%0xa==0x1&&_0x3b790e%0x64!=0xb?0x0:_0x3b790e%0xa>=0x2&&_0x3b790e%0xa<=0x4&&(_0x3b790e%0x64<0xa||_0x3b790e%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':_0x2c9cb6=>_0x2c9cb6%0xa==0x1&&_0x2c9cb6%0x64!=0xb?0x0:_0x2c9cb6%0xa>=0x2&&_0x2c9cb6%0xa<=0x4&&(_0x2c9cb6%0x64<0xa||_0x2c9cb6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x53c72b=>{const {bs:{dictionary:_0x2ebb60,getPluralForm:_0x5ee630}}={'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':_0x433bef=>_0x433bef%0xa==0x1&&_0x433bef%0x64!=0xb?0x0:_0x433bef%0xa>=0x2&&_0x433bef%0xa<=0x4&&(_0x433bef%0x64<0xa||_0x433bef%0x64>=0x14)?0x1:0x2}};_0x53c72b['bs']||={'dictionary':{},'getPluralForm':null},_0x53c72b['bs']['dictionary']=Object['assign'](_0x53c72b['bs']['dictionary'],_0x2ebb60),_0x53c72b['bs']['getPluralForm']=_0x5ee630;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2309ba=>{const {bs:{dictionary:_0x26399f,getPluralForm:_0x54ce85}}={'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':_0x3dd030=>_0x3dd030%0xa==0x1&&_0x3dd030%0x64!=0xb?0x0:_0x3dd030%0xa>=0x2&&_0x3dd030%0xa<=0x4&&(_0x3dd030%0x64<0xa||_0x3dd030%0x64>=0x14)?0x1:0x2}};_0x2309ba['bs']||={'dictionary':{},'getPluralForm':null},_0x2309ba['bs']['dictionary']=Object['assign'](_0x2309ba['bs']['dictionary'],_0x26399f),_0x2309ba['bs']['getPluralForm']=_0x54ce85;})(window['CKEDITOR_TRANSLATIONS']||={});