@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260114.0 → 0.0.0-nightly-next-20260115.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 (225) hide show
  1. package/dist/index.js +3 -3
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +16 -29
  149. package/lang/contexts.json +0 -24
  150. package/lang/translations/af.po +0 -100
  151. package/lang/translations/ar.po +0 -100
  152. package/lang/translations/ast.po +0 -100
  153. package/lang/translations/az.po +0 -100
  154. package/lang/translations/be.po +0 -100
  155. package/lang/translations/bg.po +0 -100
  156. package/lang/translations/bn.po +0 -100
  157. package/lang/translations/bs.po +0 -100
  158. package/lang/translations/ca.po +0 -100
  159. package/lang/translations/cs.po +0 -100
  160. package/lang/translations/da.po +0 -100
  161. package/lang/translations/de-ch.po +0 -100
  162. package/lang/translations/de.po +0 -100
  163. package/lang/translations/el.po +0 -100
  164. package/lang/translations/en-au.po +0 -100
  165. package/lang/translations/en-gb.po +0 -100
  166. package/lang/translations/en.po +0 -100
  167. package/lang/translations/eo.po +0 -100
  168. package/lang/translations/es-co.po +0 -100
  169. package/lang/translations/es.po +0 -100
  170. package/lang/translations/et.po +0 -100
  171. package/lang/translations/eu.po +0 -100
  172. package/lang/translations/fa.po +0 -100
  173. package/lang/translations/fi.po +0 -100
  174. package/lang/translations/fr.po +0 -100
  175. package/lang/translations/gl.po +0 -100
  176. package/lang/translations/gu.po +0 -100
  177. package/lang/translations/he.po +0 -100
  178. package/lang/translations/hi.po +0 -100
  179. package/lang/translations/hr.po +0 -100
  180. package/lang/translations/hu.po +0 -100
  181. package/lang/translations/hy.po +0 -100
  182. package/lang/translations/id.po +0 -100
  183. package/lang/translations/it.po +0 -100
  184. package/lang/translations/ja.po +0 -100
  185. package/lang/translations/jv.po +0 -100
  186. package/lang/translations/kk.po +0 -100
  187. package/lang/translations/km.po +0 -100
  188. package/lang/translations/kn.po +0 -100
  189. package/lang/translations/ko.po +0 -100
  190. package/lang/translations/ku.po +0 -100
  191. package/lang/translations/lt.po +0 -100
  192. package/lang/translations/lv.po +0 -100
  193. package/lang/translations/ms.po +0 -100
  194. package/lang/translations/nb.po +0 -100
  195. package/lang/translations/ne.po +0 -100
  196. package/lang/translations/nl.po +0 -100
  197. package/lang/translations/no.po +0 -100
  198. package/lang/translations/oc.po +0 -100
  199. package/lang/translations/pl.po +0 -100
  200. package/lang/translations/pt-br.po +0 -100
  201. package/lang/translations/pt.po +0 -100
  202. package/lang/translations/ro.po +0 -100
  203. package/lang/translations/ru.po +0 -100
  204. package/lang/translations/si.po +0 -100
  205. package/lang/translations/sk.po +0 -100
  206. package/lang/translations/sl.po +0 -100
  207. package/lang/translations/sq.po +0 -100
  208. package/lang/translations/sr-latn.po +0 -100
  209. package/lang/translations/sr.po +0 -100
  210. package/lang/translations/sv.po +0 -100
  211. package/lang/translations/th.po +0 -100
  212. package/lang/translations/ti.po +0 -100
  213. package/lang/translations/tk.po +0 -100
  214. package/lang/translations/tr.po +0 -100
  215. package/lang/translations/tt.po +0 -100
  216. package/lang/translations/ug.po +0 -100
  217. package/lang/translations/uk.po +0 -100
  218. package/lang/translations/ur.po +0 -100
  219. package/lang/translations/uz.po +0 -100
  220. package/lang/translations/vi.po +0 -100
  221. package/lang/translations/zh-cn.po +0 -100
  222. package/lang/translations/zh.po +0 -100
  223. package/theme/uploadcare-form.css +0 -201
  224. package/theme/uploadcare-theme.css +0 -20
  225. package/theme/uploadcareimageedit.css +0 -64
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3848f3,Command as _0x1d469b}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x558443,IconGooglePhotos as _0x485cc9,IconGoogleDrive as _0x12ffc6,IconFacebook as _0x2a3372,IconDropbox as _0x512ace,IconUploadcareLink as _0xea8d2e,IconUploadcareImageUpload as _0x2df586,IconError as _0x491885,IconUploadcareImageEdit as _0x21e60b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x196b41,MenuBarMenuListItemButtonView as _0x1a4f57,View as _0x323ddf,FocusCycler as _0x2ea228,Dialog as _0x25b695,DialogViewPosition as _0x43c614,SpinnerView as _0x244174,IconView as _0x53cb4f,Notification as _0x53a6ee}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x202a20,DomEmitterMixin as _0x54068c,global as _0x3cca34,getAncestors as _0x358b0e,ObservableMixin as _0x1397c3,uid as _0x569142,createElement as _0x139c29}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4125de}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x136615,info as _0x50c2d8}from'@uploadcare/upload-client';import*as _0x50e5ff from'@uploadcare/file-uploader';var S=function(_0x2876c9){return _0x2876c9['Local']='local',_0x2876c9['URL']='url',_0x2876c9['Dropbox']='dropbox',_0x2876c9['GDrive']='gdrive',_0x2876c9['Facebook']='facebook',_0x2876c9['GPhotos']='gphotos',_0x2876c9['OneDrive']='onedrive',_0x2876c9;}({});function T(_0x4764a3,_0x45b337,_0x3ade6d){const t=_0x4764a3['t'],_0x2575c8=_0x4764a3['t'];switch(_0x45b337){case S['Local']:return{'text':_0x2575c8('Insert'===_0x3ade6d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2575c8('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x3ade6d?_0x2575c8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2575c8('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x3ade6d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x3ade6d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x3ade6d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x3ade6d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x3ade6d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x45b337;}}class A extends _0x3848f3{['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 _0x35d04d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e25b7;for(const _0x453b6a in _0x35d04d){const _0x41079d=_0x453b6a,_0x2f44f2=_0x35d04d[_0x41079d];if('uploadcareLicenseKeyValid'==_0x2f44f2||'uploadcareLicenseKeyInvalid'==_0x2f44f2||'uploadcareLicenseKeyExpired'==_0x2f44f2||'uploadcareLicenseKeyDomainLimit'==_0x2f44f2||'uploadcareLicenseKeyNotAllowed'==_0x2f44f2||'uploadcareLicenseKeyEvaluationLimit'==_0x2f44f2||'uploadcareLicenseKeyUsageLimit'==_0x2f44f2){delete _0x35d04d[_0x41079d],_0x1e25b7=_0x2f44f2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1e25b7&&_0x35d04d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1e25b7&&_0x35d04d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1e25b7&&_0x35d04d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1e25b7&&_0x35d04d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1e25b7&&_0x35d04d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1e25b7&&_0x35d04d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5d2059}=this,_0x3acdcd=_0x5d2059['commands']['get']('uploadcare');if(!_0x3acdcd)return;const _0x2c505c=this['_normalizeConfigSourceList'](_0x5d2059['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1e3aea,_0x3238ac)=>{const _0xf9e83f=this['_getIntegrationKey'](_0x3238ac['type']);return _0x1e3aea[_0xf9e83f]||(_0x1e3aea[_0xf9e83f]=[]),_0x1e3aea[_0xf9e83f]['push'](_0x3238ac),_0x1e3aea;},{});_0x5d2059['plugins']['has']('ImageInsertUI')&&_0x5d2059['commands']['get']('uploadcare')&&Object['entries'](_0x2c505c)['forEach'](([_0x1a2d7d,_0x34d26b])=>{_0x5d2059['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1a2d7d,'observable':()=>_0x3acdcd,'buttonViewCreator':()=>this['_createToolbarButton'](_0x34d26b),'formViewCreator':()=>this['_createDropdownButtons'](_0x34d26b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x34d26b),'override':'assetManager'!==_0x1a2d7d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xda05bb){const {locale:_0x43e590}=this['editor'];return _0xda05bb['map'](_0x314f8d=>{const _0x3462d5=T(_0x43e590,_0x314f8d,'Insert');switch(_0x314f8d){case S['Local']:return{'icon':_0x2df586,'type':S['Local'],..._0x3462d5};case S['URL']:return{'icon':_0xea8d2e,'type':S['URL'],..._0x3462d5};case S['Dropbox']:return{'icon':_0x512ace,'type':S['Dropbox'],..._0x3462d5};case S['Facebook']:return{'icon':_0x2a3372,'type':S['Facebook'],..._0x3462d5};case S['GDrive']:return{'icon':_0x12ffc6,'type':S['GDrive'],..._0x3462d5};case S['GPhotos']:return{'icon':_0x485cc9,'type':S['GPhotos'],..._0x3462d5};case S['OneDrive']:return{'icon':_0x558443,'type':S['OneDrive'],..._0x3462d5};}});}['_getIntegrationKey'](_0x447156){switch(_0x447156){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x170c09,_0x159ee4){const _0x51e231=this['editor'],_0x986889=new _0x170c09(_0x51e231['locale']),_0x36e1b2=_0x51e231['commands']['get']('uploadcare');return _0x986889['bind']('isEnabled')['to'](_0x36e1b2),_0x986889['on']('execute',()=>{_0x36e1b2['execute'](_0x159ee4);}),_0x986889;}['_createToolbarButton'](_0x13d450){const {locale:_0x47547f}=this['editor'],_0x339a89=this['editor']['plugins']['get']('ImageInsertUI'),_0x4d4ee4=_0x13d450[0x0],_0x380464=this['_createButton'](_0x196b41,_0x4d4ee4['type']);return _0x380464['icon']=_0x4d4ee4['icon'],_0x380464['bind']('label')['to'](_0x339a89,'isImageSelected',_0x27da37=>T(_0x47547f,_0x4d4ee4['type'],_0x27da37?'Replace':'Insert')['text']),_0x380464['tooltip']=!0x0,_0x380464;}['_createDropdownButtons'](_0x4515f0){const {locale:_0x361dc2}=this['editor'],_0x48fb42=this['editor']['plugins']['get']('ImageInsertUI');return _0x4515f0['map'](_0x5a19f3=>{const _0xb1ee7=this['_createButton'](_0x196b41,_0x5a19f3['type']);return _0xb1ee7['withText']=!0x0,_0xb1ee7['icon']=_0x5a19f3['icon'],_0xb1ee7['bind']('label')['to'](_0x48fb42,'isImageSelected',_0x206775=>T(_0x361dc2,_0x5a19f3['type'],_0x206775?'Replace':'Insert')['text']),_0xb1ee7;});}['_createMenuBarButtons'](_0x5008c5){return _0x5008c5['map'](_0x2ae122=>{const _0x14c366=this['_createButton'](_0x1a4f57,_0x2ae122['type']);return _0x14c366['icon']=_0x2ae122['icon'],_0x14c366['label']=_0x2ae122['shortText'],_0x14c366;});}}class K extends _0x323ddf{['focusTracker'];['focusCycler'];constructor(_0x2cd389){super(_0x2cd389),this['focusTracker']=new _0x202a20(),this['focusCycler']=new _0x2ea228({'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 O extends K{constructor(_0x9d709c,_0x14fad6){super(_0x9d709c),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-'+_0x14fad6}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x9f93dd,_0x3427a8){const _0x48f7a3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x9bf900=>_0x9bf900<=_0x3427a8)['map'](_0x92d40=>_0x9f93dd['replace'](/\/$/,'')+'/-/resize/'+_0x92d40+'x/\x20'+_0x92d40+'w');return{'imageFallbackUrl':_0x9f93dd,'imageSources':[{'srcset':_0x48f7a3['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3427a8+'px)\x20100vw,\x20'+_0x3427a8+'px','type':'image/webp'}]};}function F(_0x4e0afa,_0x2e3fc5,_0x1bb4a6){const _0x10e0be=_0x4e0afa['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x10e0be?parseInt(_0x10e0be[0x1],0xa):_0x2e3fc5,'height':_0x10e0be?parseInt(_0x10e0be[0x2],0xa):_0x1bb4a6};}function $(_0x1c1bdd,_0x5c3b73){const _0x16a789=new(_0x54068c())(),_0xbab6c2=_0x1c1bdd['plugins']['get']('ImageUtils'),_0x2c4732=_0x1c1bdd['editing']['mapper']['toViewElement'](_0x5c3b73),_0x58777=_0xbab6c2['findViewImgElement'](_0x2c4732),_0x22ae5a=_0x1c1bdd['editing']['view']['domConverter']['viewToDom'](_0x58777),_0x519e8e=_0x5c3b73['getAttribute']('width'),_0x484925=_0x5c3b73['getAttribute']('height'),_0x3d7b5a='image-processing';_0x1c1bdd['editing']['view']['change'](_0x5d6c32=>{_0x5d6c32['addClass'](_0x3d7b5a,_0x2c4732),_0x5d6c32['setStyle']('aspect-ratio',_0x519e8e+'/'+_0x484925,_0x58777);}),_0x16a789['listenTo'](_0x22ae5a,'load',()=>{_0x16a789['stopListening'](_0x22ae5a,'load'),_0x1c1bdd['editing']['view']['change'](_0x114eb0=>{_0x114eb0['removeClass'](_0x3d7b5a,_0x2c4732),_0x114eb0['removeStyle']('aspect-ratio',_0x58777);});});}function B(_0x3214b5){if(Array['isArray'](_0x3214b5)){const _0x48098c=_0x3214b5['map'](B);return _0x20f60b=>_0x48098c['some'](_0x198d52=>_0x198d52(_0x20f60b));}if('origin'==_0x3214b5){const _0x25f054=_0x3cca34['window']['location']['origin'];return _0x245469=>new URL(_0x245469,_0x3cca34['document']['baseURI'])['origin']==_0x25f054;}return'function'==typeof _0x3214b5?_0x3214b5:_0x3214b5 instanceof RegExp?_0x4932c1=>!(!_0x4932c1['match'](_0x3214b5)&&!_0x4932c1['replace'](/^https?:\/\//,'')['match'](_0x3214b5)):()=>!0x1;}function V(_0x4e48de,_0x47aa55){return _0x358b0e(_0x4e48de['target'])['includes'](_0x47aa55);}class j extends/* #__PURE__ -- @preserve */
24
- _0x1397c3(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2b56c0,_0x2f6b27,_0x5b8324){super(),this['_editor']=_0x2b56c0,this['_editing']=_0x2f6b27,this['_dialog']=_0x2b56c0['plugins']['get'](_0x25b695),this['_api']=_0x2f6b27['ctxElement']['getAPI'](),this['_type']=_0x5b8324,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:_0x5a5d63,model:_0x18cd8e}=this['_editor'],_0x18ce95=_0x18cd8e['document']['selection']['getSelectedElement'](),_0x5b7c91=_0x18ce95&&(_0x18ce95['is']('element','imageBlock')||_0x18ce95['is']('element','imageInline'));this['_formView']=new O(_0x5a5d63,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2df586,'title':T(_0x5a5d63,this['_type'],_0x5b7c91?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x43c614['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x46e194=>!V(_0x46e194,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x29b3e2}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x165b27=>{const _0x5aae92=_0x29b3e2['length'];for(const _0x360ea7 of _0x29b3e2){const _0x52de74=_0x360ea7===_0x29b3e2[_0x5aae92-0x1],{cdnUrl:_0x52f9c4,fileInfo:_0x47d5ab}=_0x360ea7;if(!_0x52f9c4||!_0x47d5ab)continue;const {width:_0xf48b82,height:_0x205b6a}=_0x47d5ab['imageInfo'],_0x4f7e08=F(_0x52f9c4,_0xf48b82,_0x205b6a),_0x22c241=D(_0x52f9c4,_0x4f7e08['width']),_0x3ff534={'id':_0x47d5ab['uuid'],'type':'image','attributes':{'imageDimension':_0x4f7e08,..._0x22c241}};this['_insertAsset'](_0x3ff534,_0x52de74,_0x165b27);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2497b6=>{'idle'===_0x2497b6['detail']['status']&&!_0x2497b6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x56ee17,_0x5ee64c,_0x2c66fd){const _0x4f161b=this['_editor']['model']['document']['selection'],_0x2f5ddf=_0x4f161b['getSelectedElement'](),_0x2c10f4=!(!_0x2f5ddf||!_0x2f5ddf['is']('element','imageInline'));_0x2c66fd['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x56ee17,_0x2c10f4),_0x5ee64c||_0x2c66fd['setSelection'](_0x4f161b['getLastPosition']());}['_insertImage'](_0xcf102e,_0x4d68f2){const _0x2a89e3=this['_editor'],{imageDimension:_0x4e0e6c,imageFallbackUrl:_0x2b0084,imageSources:_0x1b54c0}=_0xcf102e['attributes'];_0x2a89e3['execute']('insertImage',{'imageType':_0x4d68f2?'imageInline':null,'source':{'uploadcareImageId':_0xcf102e['id'],'src':_0x2b0084,'sources':_0x1b54c0,..._0x4e0e6c}});}}class M extends _0x1d469b{['_editing'];['_controller']=null;static get['requires'](){return[_0x25b695,z];}constructor(_0x36b3ca){super(_0x36b3ca),this['_editing']=_0x36b3ca['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x26dad7){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x26dad7);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x5332ce,..._0x4c7e1f}){return _0x136615(_0x5332ce,_0x4c7e1f);}static['getInfo'](_0x480fbb,_0x1a7374){return _0x50c2d8(_0x480fbb,_0x1a7374);}}class W extends _0x3848f3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4125de,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x497a79=this['editor'];if(!!!_0x497a79['config']['get']('uploadcare'))return;_0x497a79['plugins']['get'](_0x4125de)['createUploadAdapter']=_0x10e82c=>new G(_0x10e82c,_0x497a79),_0x497a79['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x50547b,{imageElement:_0x2a2d86,data:_0x2a340a})=>{_0x497a79['model']['change'](_0x30354e=>{_0x30354e['setAttribute']('uploadcareImageId',_0x2a340a['uploadcareImageId'],_0x2a2d86);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x2d3293,_0x4c83d4){this['loader']=_0x2d3293,this['editor']=_0x4c83d4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4c5640=await this['loader']['file'];return q['upload']({'file':_0x4c5640,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1925bf=>{_0x1925bf&&_0x1925bf['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1925bf['value']);}})['then'](async _0x5808a9=>{const {imageFallbackUrl:_0x18797c,imageSources:_0x1c075a}=D(_0x5808a9['cdnUrl'],_0x5808a9['imageInfo']['width']);return{'uploadcareImageId':_0x5808a9['uuid'],'default':_0x18797c,'sources':_0x1c075a};})['catch'](()=>{const _0x5c8fc4=t('Cannot\x20upload\x20file:')+('\x20'+_0x4c5640['name']+'.');return Promise['reject'](_0x5c8fc4);});}['abort'](){this['controller']['abort']();}}class z extends _0x3848f3{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x25b695];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x13d6d2){super(_0x13d6d2),this['ucContextId']=_0x569142();}['init'](){const _0x274c53=this['editor'];_0x274c53['commands']['add']('uploadcare',new M(_0x274c53));}['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 _0x12312f=_0x3cca34['document']['querySelector']('input[uploadcare-file-input]');_0x12312f&&_0x12312f['remove']();}),async function(_0x196882){const _0x2faaa5=_0x475f2c([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x21f13a=0x535f8c3a,_0x56b7e4=0x5358f2f2^_0x21f13a,_0x524934=window[_0x475f2c([0x44,0x61,0x74,0x65])][_0x475f2c([0x6e,0x6f,0x77])](),_0x1189aa=_0x196882[_0x475f2c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x9a5c7b=new window[(_0x475f2c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2947c3=>{_0x1189aa[_0x475f2c([0x6f,0x6e,0x63,0x65])](_0x475f2c([0x72,0x65,0x61,0x64,0x79]),_0x2947c3);}),_0x351012={[_0x475f2c([0x6b,0x74,0x79])]:_0x475f2c([0x45,0x43]),[_0x475f2c([0x75,0x73,0x65])]:_0x475f2c([0x73,0x69,0x67]),[_0x475f2c([0x63,0x72,0x76])]:_0x475f2c([0x50,0x2d,0x32,0x35,0x36]),[_0x475f2c([0x78])]:_0x475f2c([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]),[_0x475f2c([0x79])]:_0x475f2c([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]),[_0x475f2c([0x61,0x6c,0x67])]:_0x475f2c([0x45,0x53,0x32,0x35,0x36])},_0x16454e=_0x1189aa[_0x475f2c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x475f2c([0x67,0x65,0x74])](_0x475f2c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x113ada(){let _0x306e2f,_0x2fde51=null,_0x31508d=null;try{if(_0x16454e==_0x475f2c([0x47,0x50,0x4c]))return _0x475f2c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x306e2f=_0x14a2e6(),!_0x306e2f)return _0x475f2c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x306e2f[_0x475f2c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31508d=_0x25da50(_0x306e2f[_0x475f2c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x306e2f[_0x475f2c([0x6a,0x74,0x69])])),await _0x58331d()?_0x2a818b()?_0x84a9f5()?_0x475f2c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2589b2()?(_0x306e2f[_0x475f2c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x475f2c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2fde51=_0x1111ba(_0x475f2c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x154200()):_0x475f2c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x475f2c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x475f2c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x475f2c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x84a9f5(){const _0x127210=[_0x475f2c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x475f2c([0x74,0x72,0x69,0x61,0x6c])][_0x475f2c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x306e2f[_0x475f2c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x524934/0x3e8:0xe10*_0x56b7e4;return _0x306e2f[_0x475f2c([0x65,0x78,0x70])]<_0x127210;}function _0x2a818b(){const _0x298644=_0x306e2f[_0x475f2c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x298644&&(!!_0x298644[_0x475f2c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475f2c([0x2a]))||!!_0x298644[_0x475f2c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475f2c([0x55,0x50,0x4c,0x43])));}function _0x2589b2(){const _0x5714d9=_0x306e2f[_0x475f2c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5714d9||0x0==_0x5714d9[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ee40d}=new URL(window[_0x475f2c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5714d9[_0x475f2c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ee40d))return!0x0;const _0x4cd487=_0x4ee40d[_0x475f2c([0x73,0x70,0x6c,0x69,0x74])](_0x475f2c([0x2e]));return _0x5714d9[_0x475f2c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ac8bc=>_0x4ac8bc[_0x475f2c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475f2c([0x2a])))[_0x475f2c([0x6d,0x61,0x70])](_0x111dd8=>_0x111dd8[_0x475f2c([0x73,0x70,0x6c,0x69,0x74])](_0x475f2c([0x2e])))[_0x475f2c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36321e=>_0x36321e[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4cd487[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x475f2c([0x6d,0x61,0x70])](_0x2a8076=>Array(_0x4cd487[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a8076[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x475f2c([0x66,0x69,0x6c,0x6c])](_0x2a8076[0x0]===_0x475f2c([0x2a])?_0x475f2c([0x2a]):'')[_0x475f2c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a8076))[_0x475f2c([0x73,0x6f,0x6d,0x65])](_0x298474=>_0x4cd487[_0x475f2c([0x65,0x76,0x65,0x72,0x79])]((_0x61d372,_0x3f799c)=>_0x298474[_0x3f799c]===_0x61d372||_0x298474[_0x3f799c]===_0x475f2c([0x2a])));}function _0x154200(){return _0x2fde51&&_0x31508d?new window[(_0x475f2c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a99c8,_0x2f9bb3)=>{_0x2fde51[_0x475f2c([0x74,0x68,0x65,0x6e])](_0x2a99c8,_0x2f9bb3),_0x31508d[_0x475f2c([0x74,0x68,0x65,0x6e])](_0x4fcd0b=>{_0x4fcd0b!=_0x475f2c([0x56,0x61,0x6c,0x69,0x64])&&_0x2a99c8(_0x4fcd0b);},_0x2f9bb3);}):_0x2fde51||_0x31508d||_0x475f2c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25da50(_0x228df9,_0x32a57a){return new window[(_0x475f2c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x116e63=>{if(_0x3bf180())return _0x116e63(_0x475f2c([0x56,0x61,0x6c,0x69,0x64]));_0x119974(),_0x1189aa[_0x475f2c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x475f2c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e57b2=!0x1;const _0xf26924=_0x569142();function _0x32b93a(_0x85d10a){return!!_0x85d10a&&(typeof _0x85d10a===_0x475f2c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x85d10a===_0x475f2c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x85d10a[_0x475f2c([0x74,0x68,0x65,0x6e])]===_0x475f2c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x85d10a[_0x475f2c([0x63,0x61,0x74,0x63,0x68])]===_0x475f2c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ee946(_0x5cb510){_0x1ff25d(_0x5cb510)[_0x475f2c([0x74,0x68,0x65,0x6e])](_0x14ac43=>{if(!_0x14ac43||_0x14ac43[_0x475f2c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x475f2c([0x6f,0x6b]))return _0x475f2c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b53dd(_0x1c5b8b(_0xf26924+_0x32a57a))!=_0x14ac43[_0x475f2c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x475f2c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x475f2c([0x56,0x61,0x6c,0x69,0x64]);})[_0x475f2c([0x74,0x68,0x65,0x6e])](_0x3c8b95=>(_0x24d4dd(),_0x3c8b95),()=>{const _0xce7e1e=_0x4b07bf();return null==_0xce7e1e?(_0x24d4dd(),_0x475f2c([0x56,0x61,0x6c,0x69,0x64])):_0x475f2c(_0x524934-_0xce7e1e>(0x7753083a^_0x21f13a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x475f2c([0x74,0x68,0x65,0x6e])](_0x116e63)[_0x475f2c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x116e63(_0x475f2c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ba10a=0x536962ba^_0x21f13a;function _0x24d4dd(){const _0x7a045d=_0x475f2c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b53dd(_0x1c5b8b(_0x228df9)),_0x73a190=_0x4bd232(_0x3b53dd(window[_0x475f2c([0x4d,0x61,0x74,0x68])][_0x475f2c([0x63,0x65,0x69,0x6c])](_0x524934/_0x4ba10a)));window[_0x475f2c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x475f2c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7a045d,_0x73a190);}function _0x4b07bf(){const _0x115eda=_0x475f2c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b53dd(_0x1c5b8b(_0x228df9)),_0x384b0c=window[_0x475f2c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x475f2c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x115eda);return _0x384b0c?window[_0x475f2c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bd232(_0x384b0c),0x10)*_0x4ba10a:null;}function _0x1ff25d(_0x9e57d6){return new window[(_0x475f2c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a4307,_0x54a191)=>{_0x9e57d6[_0x475f2c([0x74,0x68,0x65,0x6e])](_0x1a4307,_0x54a191),window[_0x475f2c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54a191,0x535e58fa^_0x21f13a);});}}_0x1189aa[_0x475f2c([0x6f,0x6e])](_0x475f2c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34f2e1,_0x2baf7b)=>{if(_0x2baf7b[0x0]!=_0x228df9)return _0x116e63(_0x475f2c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2baf7b[0x1]={..._0x2baf7b[0x1],[_0x475f2c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf26924};},{[_0x475f2c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x475f2c([0x68,0x69,0x67,0x68])}),_0x1189aa[_0x475f2c([0x6f,0x6e])](_0x475f2c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32dac8=>{_0x32b93a(_0x32dac8[_0x475f2c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e57b2=!0x0,_0x4ee946(_0x32dac8[_0x475f2c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x475f2c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x475f2c([0x6c,0x6f,0x77])}),_0x9a5c7b[_0x475f2c([0x74,0x68,0x65,0x6e])](()=>{_0x1e57b2||_0x116e63(_0x475f2c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3bf180(){return _0x1189aa[_0x475f2c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x475f2c([0x76,0x69,0x65,0x77])][_0x475f2c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x475f2c([0x61,0x75,0x74,0x6f]);}function _0x119974(){_0x1189aa[_0x475f2c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x475f2c([0x76,0x69,0x65,0x77])][_0x475f2c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x475f2c([0x61,0x75,0x74,0x6f]);}}function _0x1111ba(_0x5bee84){const _0x1d80e5=[new window[(_0x475f2c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e9d1a=>setTimeout(_0x4e9d1a,0x5356b2f6^_0x21f13a)),_0x9a5c7b[_0x475f2c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x475f2c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bf5fb=>{let _0x37dadd=0x0;_0x1189aa[_0x475f2c([0x6d,0x6f,0x64,0x65,0x6c])][_0x475f2c([0x6f,0x6e])](_0x475f2c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b8d0d,_0x3308fc)=>{_0x3308fc[0x0][_0x475f2c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37dadd++,_0x37dadd==(0x535f89d2^_0x21f13a)&&(_0x4bf5fb(),_0x1b8d0d[_0x475f2c([0x6f,0x66,0x66])]());});}))];return window[_0x475f2c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x475f2c([0x72,0x61,0x63,0x65])](_0x1d80e5)[_0x475f2c([0x74,0x68,0x65,0x6e])](()=>_0x5bee84);}async function _0x16d707(){await _0x9a5c7b,_0x1189aa[_0x475f2c([0x6d,0x6f,0x64,0x65,0x6c])][_0x475f2c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa3124c,_0x1189aa[_0x475f2c([0x6d,0x6f,0x64,0x65,0x6c])][_0x475f2c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa3124c,_0x1189aa[_0x475f2c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x475f2c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x34acc6(_0x2974b4){const _0x573e02=_0x32d917();_0x1189aa[_0x573e02]=_0x475f2c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2974b4,_0x2974b4!=_0x475f2c([0x56,0x61,0x6c,0x69,0x64])&&_0x16d707();}function _0x32d917(){const _0x192db5=window[_0x475f2c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x475f2c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x475f2c([0x6e,0x6f,0x77])]())[_0x475f2c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x475f2c([0x2e]),'');let _0x5ecf44=_0x475f2c([0x68]);for(let _0x114a70=0x0;_0x114a70<_0x192db5[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x114a70+=0x2){let _0x5b64a7=window[_0x475f2c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x192db5[_0x475f2c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x114a70,_0x114a70+0x2));_0x5b64a7>=_0x2faaa5[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b64a7-=_0x2faaa5[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ecf44+=_0x2faaa5[_0x5b64a7];}return _0x5ecf44;}function _0x14a2e6(){const _0x1192ea=_0x16454e[_0x475f2c([0x73,0x70,0x6c,0x69,0x74])](_0x475f2c([0x2e]));if(0x3!=_0x1192ea[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x598664(_0x1192ea[0x1]);function _0x598664(_0x39f7e5){const _0x13b5bc=_0x2fc8df(_0x39f7e5);return _0x13b5bc&&_0x24877c()?_0x13b5bc:null;function _0x24877c(){const _0x811078=_0x13b5bc[_0x475f2c([0x6a,0x74,0x69])],_0x49b3c3=window[_0x475f2c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x811078[_0x475f2c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x811078[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f031d={..._0x13b5bc,[_0x475f2c([0x6a,0x74,0x69])]:_0x811078[_0x475f2c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x811078[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f031d[_0x475f2c([0x76,0x63])],_0x1c5b8b(_0x1f031d)==_0x49b3c3;}}}async function _0x58331d(){let _0x329583=!0x0;try{const _0x3e90da=_0x16454e[_0x475f2c([0x73,0x70,0x6c,0x69,0x74])](_0x475f2c([0x2e])),[_0x8bd2b3,_0x439b68,_0x21696f]=_0x3e90da;return _0x3e5f82(_0x8bd2b3),await _0xcb3e10(_0x8bd2b3,_0x439b68,_0x21696f),_0x329583;}catch{return!0x1;}function _0x3e5f82(_0x1d7cc1){const _0x44d0ee=_0x2fc8df(_0x1d7cc1);_0x44d0ee&&_0x44d0ee[_0x475f2c([0x61,0x6c,0x67])]==_0x475f2c([0x45,0x53,0x32,0x35,0x36])||(_0x329583=!0x1);}async function _0xcb3e10(_0x226501,_0x5d2578,_0x20291d){const _0x5416f5=window[_0x475f2c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x475f2c([0x66,0x72,0x6f,0x6d])](_0x36b04f(_0x20291d),_0x22f4b3=>_0x22f4b3[_0x475f2c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7c2696=new window[(_0x475f2c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x475f2c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x226501+_0x475f2c([0x2e])+_0x5d2578),_0x1a48fc=window[_0x475f2c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x475f2c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a48fc)return;const _0x11d87d=await _0x1a48fc[_0x475f2c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x475f2c([0x6a,0x77,0x6b]),_0x351012,{[_0x475f2c([0x6e,0x61,0x6d,0x65])]:_0x475f2c([0x45,0x43,0x44,0x53,0x41]),[_0x475f2c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x475f2c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x475f2c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a48fc[_0x475f2c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x475f2c([0x6e,0x61,0x6d,0x65])]:_0x475f2c([0x45,0x43,0x44,0x53,0x41]),[_0x475f2c([0x68,0x61,0x73,0x68])]:{[_0x475f2c([0x6e,0x61,0x6d,0x65])]:_0x475f2c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11d87d,_0x5416f5,_0x7c2696)||(_0x329583=!0x1);}}function _0x2fc8df(_0xeae190){return _0xeae190[_0x475f2c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x475f2c([0x65,0x79]))?JSON[_0x475f2c([0x70,0x61,0x72,0x73,0x65])](_0x36b04f(_0xeae190)):null;}function _0x36b04f(_0x3ff6df){return window[_0x475f2c([0x61,0x74,0x6f,0x62])](_0x3ff6df[_0x475f2c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x475f2c([0x2b]))[_0x475f2c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x475f2c([0x2f])));}function _0x1c5b8b(_0xcc313c){let _0x4111fa=0x1505;function _0x10a9a8(_0xde9465){for(let _0x22240f=0x0;_0x22240f<_0xde9465[_0x475f2c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22240f++){const _0x55eec7=_0xde9465[_0x475f2c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22240f);_0x4111fa=(_0x4111fa<<0x5)+_0x4111fa+_0x55eec7,_0x4111fa&=_0x4111fa;}}function _0x270d7f(_0x20b69c){Array[_0x475f2c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20b69c)?_0x20b69c[_0x475f2c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x270d7f):_0x20b69c&&typeof _0x20b69c==_0x475f2c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x475f2c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20b69c)[_0x475f2c([0x73,0x6f,0x72,0x74])]()[_0x475f2c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3541ff,_0x2664d7])=>{_0x10a9a8(_0x3541ff),_0x270d7f(_0x2664d7);}):_0x10a9a8(window[_0x475f2c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20b69c));}return _0x270d7f(_0xcc313c),_0x4111fa>>>0x0;}function _0x3b53dd(_0x2c5c6d){return _0x2c5c6d[_0x475f2c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x475f2c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x475f2c([0x30]));}function _0x4bd232(_0x2881e6){return _0x2881e6[_0x475f2c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x475f2c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x475f2c([0x6a,0x6f,0x69,0x6e])]('');}function _0xa3124c(){}function _0x475f2c(_0x436d3e){return _0x436d3e['map'](_0x9ab424=>String['fromCharCode'](_0x9ab424))['join']('');}_0x34acc6(await _0x113ada());}(this);}['_initSchema'](){const _0x5768b3=this['editor']['model']['schema'];_0x5768b3['isRegistered']('imageBlock')&&_0x5768b3['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5768b3['isRegistered']('imageInline')&&_0x5768b3['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x356ef1=this['editor'];_0x356ef1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x356ef1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xc7ba57=>_0xc7ba57['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2e1689=_0x356ef1['commands']['get']('replaceImageSource');_0x2e1689&&this['listenTo'](_0x2e1689,'cleanupImage',(_0x324b38,[_0xf36f6a,_0xe20aca])=>{_0xf36f6a['removeAttribute']('uploadcareImageId',_0xe20aca);});}['_initConfig'](){const _0x3e5b36=this['editor']['config']['get']('uploadcare.uploader')||{},_0x7bb7b5=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x139c29(_0x3cca34['document'],'uc-config',{..._0x3e5b36,'pubkey':_0x7bb7b5,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x566690=>{if('closeMax'==_0x566690)return'#uc-icon-arrow-down';},_0x3cca34['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x139c29(_0x3cca34['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3cca34['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x20c9ef=this['editor']['commands']['get']('insertImage');_0x20c9ef&&this['listenTo'](_0x20c9ef,'execute',()=>{const _0x3363c8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3363c8&&_0x3363c8['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x3363c8);});});const _0xb64ea8=this['editor']['commands']['get']('uploadcareImageReplace');_0xb64ea8&&this['listenTo'](_0xb64ea8,'execute',()=>{const _0xa0a9cc=this['editor']['model']['document']['selection']['getSelectedElement']();_0xa0a9cc&&_0xa0a9cc['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0xa0a9cc);});});}}class H extends _0x3848f3{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4554e4){super(_0x4554e4),_0x4554e4['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x50e5ff['defineComponents'](_0x50e5ff),this['_defineLocale']();}['_defineLocale'](){const _0x1e43f7=this['editor']['config']['get']('uploadcare.locale'),_0x3e3c8b=this['editor']['locale']['contentLanguage'];_0x1e43f7&&_0x50e5ff['defineLocale'](_0x3e3c8b,_0x1e43f7);}}class J extends _0x323ddf{constructor(_0x388b1b){super(_0x388b1b);const t=_0x388b1b['t'],_0x2b17b8=this['bindTemplate'],_0x51dd6a=new _0x244174();_0x51dd6a['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':[_0x51dd6a,{'text':_0x2b17b8['to']('imageUploadProgress',_0x438dc5=>t('Loading\x20image...')+'\x20('+(_0x438dc5||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 Z extends _0x323ddf{constructor(_0x3064d3){super(_0x3064d3);const t=_0x3064d3['t'];this['set']('errorType',null);const _0x3c6d9d=new _0x196b41(_0x3064d3);_0x3c6d9d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3c6d9d['withText']=!0x0,_0x3c6d9d['class']='ck-button-action',_0x3c6d9d['on']('execute',()=>{this['fire']('retry');}),_0x3c6d9d['bind']('isVisible')['to'](this,'errorType',_0x31f694=>'NotFound'!==_0x31f694);const _0x568dda=new _0x53cb4f();_0x568dda['content']=_0x491885,_0x568dda['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x209867=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':[_0x568dda,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x209867['to']('errorType',_0x241b97=>t('NotFound'!==_0x241b97?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3c6d9d]},{'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 Q extends _0x323ddf{constructor(_0x21628a,_0x205533){super(_0x21628a);const _0x373d0a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x205533,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x373d0a['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3c2577,_0x4ae972,_0x52abb4){super(_0x3c2577),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x3c2577),this['_errorView']=new Z(_0x3c2577),this['_editingView']=new Q(_0x3c2577,_0x52abb4),this['_focusableView']=new _0x323ddf(_0x3c2577),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4ae972),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'],_0x31a643=>{this['_addUploadcareImageEditorListeners'](_0x31a643);});}),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'](_0x2784ae,_0x206866){const _0x2bb703='uc-cloud-image-editor',_0x325a3c=_0x2784ae['querySelector'](_0x2bb703);if(_0x325a3c)return _0x206866(_0x325a3c);const _0x558f04=new MutationObserver(_0x1102c2=>{const _0x21efc2=_0x1102c2['filter'](_0x4b6f36=>_0x4b6f36['target']===_0x2784ae&&_0x4b6f36['addedNodes']['length']>0x0&&_0x4b6f36['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2bb703);_0x21efc2['length']&&(_0x558f04['disconnect'](),_0x206866(_0x21efc2[0x0]['addedNodes'][0x0]));});_0x558f04['observe'](_0x2784ae,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x201742){_0x201742['addEventListener']('apply',_0x4104ef=>{this['fire']('apply',{'imageSrc':_0x4104ef['detail']['cdnUrl']});}),_0x201742['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
25
- _0x1397c3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x48b747,_0x460324,_0x270be1){super(),this['_editor']=_0x48b747,this['_dialog']=_0x460324,this['_imageElement']=_0x270be1,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 _0x35f40a=this['_imageElement'],_0x441e29=_0x35f40a['getAttribute']('uploadcareImageId'),_0x531f66=_0x35f40a['getAttribute']('src');if(_0x441e29)await this['_loadImageInfo'](_0x441e29,_0x531f66);else{if(this['_imageCache']['has'](_0x531f66)){const _0x5633b7=this['_imageCache']['get'](_0x531f66);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5633b7['url'],this['imageDimension']=_0x5633b7['dimension'],this['imageId']=_0x5633b7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x13ae29}=this['_editor'],t=_0x13ae29['t'],_0x5eff8c=new X(_0x13ae29,this['imageStatus'],this['_attributes']);_0x5eff8c['bind']('status')['to'](this,'imageStatus'),_0x5eff8c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5eff8c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5eff8c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5eff8c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x21e60b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5eff8c,'position':_0x43c614['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5eff8c['focus']();},'onHide':()=>{_0x5eff8c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xd8963=>!V(_0xd8963,_0x5eff8c['element'])}});}['_loadImageInfo'](_0x55558d,_0x45f431){return q['getInfo'](_0x55558d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x838566=>{const {width:_0x23f55a,height:_0x1dc0aa}=_0x838566['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x45f431,this['imageDimension']={'width':_0x23f55a,'height':_0x1dc0aa},this['imageId']=_0x55558d;})['catch'](_0x1651fd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1651fd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x46e54d,_0x37b69c){return this['_getImageAsFile'](_0x46e54d)['then'](_0x148ac1=>q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x37b69c['signal'],'file':_0x148ac1,'onProgress':_0x5dd14e=>{_0x5dd14e&&_0x5dd14e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5dd14e['value']));}}))['then'](_0x1c0016=>{const {width:_0x136776,height:_0x104ad2}=_0x1c0016['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1c0016['cdnUrl'],this['imageDimension']={'width':_0x136776,'height':_0x104ad2},this['imageId']=_0x1c0016['uuid'],this['imageUploadProgress']=null;const _0x99bdf9=_0x46e54d['getAttribute']('src');this['_imageCache']['set'](_0x99bdf9,{'id':_0x1c0016['uuid'],'url':_0x1c0016['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xfcb782=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xfcb782['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2c3d5c,_0x5e8f51){_0x2c3d5c['on']('apply',(_0x8fb62f,_0x5e4462)=>{this['_replaceImage'](_0x5e8f51,_0x5e4462['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2c3d5c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2c3d5c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1b1cae,_0x3862d4,_0x182aa4){const _0x4e0174=this['_editor'],{width:_0x5584bd,height:_0x3d8e0e}=F(_0x3862d4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x26df06,imageSources:_0x3f89ed}=D(_0x3862d4,_0x5584bd);_0x4e0174['model']['change'](_0x204d7c=>{if('$graveyard'===_0x1b1cae['root']['rootName']){_0x4e0174['execute']('insertImage',{'imageType':_0x1b1cae['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1b1cae['getAttributes']()),'uploadcareImageId':_0x182aa4,'src':_0x26df06,'sources':_0x3f89ed,'width':_0x5584bd,'height':_0x3d8e0e}});const _0x338b54=_0x1b1cae['getChildren']();_0x1b1cae=_0x4e0174['model']['document']['selection']['getSelectedElement']();for(const _0x1fcd8f of _0x338b54)_0x204d7c['append'](_0x204d7c['cloneElement'](_0x1fcd8f),_0x1b1cae);}else _0x204d7c['setSelection'](_0x1b1cae,'on'),_0x4e0174['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1b1cae['getAttributes']()),'uploadcareImageId':_0x182aa4,'src':_0x26df06,'sources':_0x3f89ed,'width':_0x5584bd,'height':_0x3d8e0e},_0x1b1cae);_0x204d7c['setSelection'](_0x1b1cae,'on');});}async['_getImageAsFile'](_0x16c86d){const _0x255646=_0x3cca34['window'],_0x20bbb9=_0x3cca34['document']['location']['href'],_0x28c642=new _0x255646['URL'](_0x16c86d['getAttribute']('src'),_0x20bbb9);if('data:'===_0x28c642['protocol']){const _0x3b30f2=_0x28c642['href']['split'](','),_0x405742=_0x3b30f2[0x0]['match'](/:(.*?);/)[0x1],_0x206d57=_0x405742['split']('/')[0x1],_0x1abfa2=_0x255646['atob'](_0x3b30f2[_0x3b30f2['length']-0x1]);let _0x1d0e82=_0x1abfa2['length'];const _0x828fb0=new _0x255646['Uint8Array'](_0x1d0e82);for(;_0x1d0e82--;)_0x828fb0[_0x1d0e82]=_0x1abfa2['charCodeAt'](_0x1d0e82);return new _0x255646['File']([_0x828fb0],'image.'+_0x206d57,{'type':_0x405742});}const _0x1e429f=_0x28c642['href']['split']('/'),_0x57f29e=_0x1e429f[_0x1e429f['length']-0x1],_0x4a9d16=_0x57f29e['split']('.')[0x1];return _0x255646['fetch'](_0x28c642['href'])['then'](_0xd68369=>_0xd68369['clone']()['blob']())['then'](_0x5f4345=>new _0x255646['File']([_0x5f4345],_0x57f29e,{'type':'image/'+_0x4a9d16}));}}class tt extends _0x1d469b{['imageEditController'];static get['requires'](){return[_0x25b695];}['_isEditable'];constructor(_0x4da9b0){super(_0x4da9b0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x439740){const _0x1cfd91=B(_0x439740);return _0xb55e08=>!(!_0xb55e08||!_0xb55e08['is']('element','imageBlock')&&!_0xb55e08['is']('element','imageInline'))&&(!!_0xb55e08['hasAttribute']('uploadcareImageId')||!!_0xb55e08['hasAttribute']('src')&&_0x1cfd91(_0xb55e08['getAttribute']('src')));}(_0x4da9b0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x84aa6a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x84aa6a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xd3c624=this['editor']['model']['document']['selection']['getSelectedElement']();_0xd3c624&&(_0xd3c624['is']('element','imageBlock')||_0xd3c624['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x25b695),_0xd3c624),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x1d469b{['refresh'](){const _0x344df0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x344df0&&(_0x344df0['is']('element','imageBlock')||_0x344df0['is']('element','imageInline')));}['execute'](_0x286f32){const _0x5e9be3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x53167d=>{_0x53167d['setAttributes'](_0x286f32,_0x5e9be3),_0x53167d['removeAttribute']('srcset',_0x5e9be3),_0x53167d['removeAttribute']('sizes',_0x5e9be3);});}}class it extends _0x3848f3{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x53a6ee,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1ebfbb}=this;_0x1ebfbb['commands']['add']('uploadcareImageEdit',new tt(_0x1ebfbb)),_0x1ebfbb['commands']['add']('uploadcareImageReplace',new et(_0x1ebfbb));}}class st extends _0x3848f3{['_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 _0x433ea3=this['editor'];_0x433ea3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x594ee7=>{const _0x2710db=_0x433ea3['commands']['get']('uploadcareImageEdit'),_0x1969fe=new _0x196b41(_0x594ee7),t=_0x594ee7['t'];return _0x1969fe['set']({'icon':_0x21e60b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1969fe['bind']('isEnabled')['to'](_0x2710db),_0x1969fe['bind']('isOn')['to'](_0x2710db,'isActive'),this['listenTo'](_0x1969fe,'execute',()=>{_0x433ea3['execute']('uploadcareImageEdit'),_0x433ea3['editing']['view']['focus']();}),_0x1969fe;}),this['_initConfig']();}['_initConfig'](){const _0x3e08db=_0x139c29(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3e08db),this['listenTo'](this['editor'],'destroy',()=>{_0x3e08db['remove']();});}}class nt extends _0x3848f3{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W as UploadcareUploadAdapter};
23
+ import{Plugin as _0x15d2c8,Command as _0x4d5053}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x29004f,IconGooglePhotos as _0xf9a7e6,IconGoogleDrive as _0x246e2e,IconFacebook as _0x1e874d,IconDropbox as _0x2f9dcd,IconUploadcareLink as _0xb92cd5,IconUploadcareImageUpload as _0x511932,IconError as _0x1c5869,IconUploadcareImageEdit as _0x4dd986}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x549855,MenuBarMenuListItemButtonView as _0xe4f1e0,View as _0x11b1d6,FocusCycler as _0x171ed0,Dialog as _0x31b948,DialogViewPosition as _0x2ed971,SpinnerView as _0x365f57,IconView as _0x1abb9a,Notification as _0x58bff2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1497b5,DomEmitterMixin as _0x14bc35,global as _0x4c41e4,getAncestors as _0x8eeca4,ObservableMixin as _0x1f2ac8,uid as _0x596c2d,createElement as _0x484ddd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1a1358}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x48e3e6,info as _0x59576f}from'@uploadcare/upload-client';import*as _0x37a3ae from'@uploadcare/file-uploader';var S=function(_0x81510f){return _0x81510f['Local']='local',_0x81510f['URL']='url',_0x81510f['Dropbox']='dropbox',_0x81510f['GDrive']='gdrive',_0x81510f['Facebook']='facebook',_0x81510f['GPhotos']='gphotos',_0x81510f['OneDrive']='onedrive',_0x81510f;}({});function T(_0x5bb890,_0x45ee2e,_0x1b4bf1){const t=_0x5bb890['t'],_0x548c05=_0x5bb890['t'];switch(_0x45ee2e){case S['Local']:return{'text':_0x548c05('Insert'===_0x1b4bf1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x548c05('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x1b4bf1?_0x548c05('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x548c05('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x45ee2e;}}class A extends _0x15d2c8{['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 _0x50007f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x51426;for(const _0x458d28 in _0x50007f){const _0x25688f=_0x458d28,_0x2d4d4f=_0x50007f[_0x25688f];if('uploadcareLicenseKeyValid'==_0x2d4d4f||'uploadcareLicenseKeyInvalid'==_0x2d4d4f||'uploadcareLicenseKeyExpired'==_0x2d4d4f||'uploadcareLicenseKeyDomainLimit'==_0x2d4d4f||'uploadcareLicenseKeyNotAllowed'==_0x2d4d4f||'uploadcareLicenseKeyEvaluationLimit'==_0x2d4d4f||'uploadcareLicenseKeyUsageLimit'==_0x2d4d4f){delete _0x50007f[_0x25688f],_0x51426=_0x2d4d4f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x51426&&_0x50007f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x51426&&_0x50007f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x51426&&_0x50007f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x51426&&_0x50007f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x51426&&_0x50007f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x51426&&_0x50007f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5b21c5}=this,_0x39c7a2=_0x5b21c5['commands']['get']('uploadcare');if(!_0x39c7a2)return;const _0x3543b7=this['_normalizeConfigSourceList'](_0x5b21c5['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x429cfb,_0x3dc0e8)=>{const _0xe17519=this['_getIntegrationKey'](_0x3dc0e8['type']);return _0x429cfb[_0xe17519]||(_0x429cfb[_0xe17519]=[]),_0x429cfb[_0xe17519]['push'](_0x3dc0e8),_0x429cfb;},{});_0x5b21c5['plugins']['has']('ImageInsertUI')&&_0x5b21c5['commands']['get']('uploadcare')&&Object['entries'](_0x3543b7)['forEach'](([_0x422a2f,_0x531761])=>{_0x5b21c5['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x422a2f,'observable':()=>_0x39c7a2,'buttonViewCreator':()=>this['_createToolbarButton'](_0x531761),'formViewCreator':()=>this['_createDropdownButtons'](_0x531761),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x531761),'override':'assetManager'!==_0x422a2f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x7114c1){const {locale:_0x146bf1}=this['editor'];return _0x7114c1['map'](_0x5717d0=>{const _0x33e0c8=T(_0x146bf1,_0x5717d0,'Insert');switch(_0x5717d0){case S['Local']:return{'icon':_0x511932,'type':S['Local'],..._0x33e0c8};case S['URL']:return{'icon':_0xb92cd5,'type':S['URL'],..._0x33e0c8};case S['Dropbox']:return{'icon':_0x2f9dcd,'type':S['Dropbox'],..._0x33e0c8};case S['Facebook']:return{'icon':_0x1e874d,'type':S['Facebook'],..._0x33e0c8};case S['GDrive']:return{'icon':_0x246e2e,'type':S['GDrive'],..._0x33e0c8};case S['GPhotos']:return{'icon':_0xf9a7e6,'type':S['GPhotos'],..._0x33e0c8};case S['OneDrive']:return{'icon':_0x29004f,'type':S['OneDrive'],..._0x33e0c8};}});}['_getIntegrationKey'](_0x68dc73){switch(_0x68dc73){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x528e15,_0x1d6a95){const _0xeff959=this['editor'],_0x25ce35=new _0x528e15(_0xeff959['locale']),_0x29dbf1=_0xeff959['commands']['get']('uploadcare');return _0x25ce35['bind']('isEnabled')['to'](_0x29dbf1),_0x25ce35['on']('execute',()=>{_0x29dbf1['execute'](_0x1d6a95);}),_0x25ce35;}['_createToolbarButton'](_0x315a68){const {locale:_0x567862}=this['editor'],_0x5832ff=this['editor']['plugins']['get']('ImageInsertUI'),_0x455cae=_0x315a68[0x0],_0x59a418=this['_createButton'](_0x549855,_0x455cae['type']);return _0x59a418['icon']=_0x455cae['icon'],_0x59a418['bind']('label')['to'](_0x5832ff,'isImageSelected',_0x232989=>T(_0x567862,_0x455cae['type'],_0x232989?'Replace':'Insert')['text']),_0x59a418['tooltip']=!0x0,_0x59a418;}['_createDropdownButtons'](_0x3c20fd){const {locale:_0x5826f7}=this['editor'],_0x58251e=this['editor']['plugins']['get']('ImageInsertUI');return _0x3c20fd['map'](_0x5397cb=>{const _0x4b83d2=this['_createButton'](_0x549855,_0x5397cb['type']);return _0x4b83d2['withText']=!0x0,_0x4b83d2['icon']=_0x5397cb['icon'],_0x4b83d2['bind']('label')['to'](_0x58251e,'isImageSelected',_0xd02b8c=>T(_0x5826f7,_0x5397cb['type'],_0xd02b8c?'Replace':'Insert')['text']),_0x4b83d2;});}['_createMenuBarButtons'](_0x45c8ea){return _0x45c8ea['map'](_0x3ab6b2=>{const _0x304716=this['_createButton'](_0xe4f1e0,_0x3ab6b2['type']);return _0x304716['icon']=_0x3ab6b2['icon'],_0x304716['label']=_0x3ab6b2['shortText'],_0x304716;});}}class K extends _0x11b1d6{['focusTracker'];['focusCycler'];constructor(_0x1c8b6f){super(_0x1c8b6f),this['focusTracker']=new _0x1497b5(),this['focusCycler']=new _0x171ed0({'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 O extends K{constructor(_0x7dcdf5,_0x8c31ba){super(_0x7dcdf5),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-'+_0x8c31ba}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x1d23dd,_0x5d9436){const _0x2c9bdd=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x317cf0=>_0x317cf0<=_0x5d9436)['map'](_0x4a3e6d=>_0x1d23dd['replace'](/\/$/,'')+'/-/resize/'+_0x4a3e6d+'x/\x20'+_0x4a3e6d+'w');return{'imageFallbackUrl':_0x1d23dd,'imageSources':[{'srcset':_0x2c9bdd['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5d9436+'px)\x20100vw,\x20'+_0x5d9436+'px','type':'image/webp'}]};}function F(_0x323274,_0x2ec712,_0x3bf11d){const _0x5b6899=_0x323274['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5b6899?parseInt(_0x5b6899[0x1],0xa):_0x2ec712,'height':_0x5b6899?parseInt(_0x5b6899[0x2],0xa):_0x3bf11d};}function $(_0x501e34,_0x24d910){const _0x387bc7=new(_0x14bc35())(),_0x1c467b=_0x501e34['plugins']['get']('ImageUtils'),_0x553874=_0x501e34['editing']['mapper']['toViewElement'](_0x24d910),_0x7e8d31=_0x1c467b['findViewImgElement'](_0x553874),_0x4214e3=_0x501e34['editing']['view']['domConverter']['viewToDom'](_0x7e8d31),_0x102d16=_0x24d910['getAttribute']('width'),_0x1da4c3=_0x24d910['getAttribute']('height'),_0x5a9715='image-processing';_0x501e34['editing']['view']['change'](_0x489e9b=>{_0x489e9b['addClass'](_0x5a9715,_0x553874),_0x489e9b['setStyle']('aspect-ratio',_0x102d16+'/'+_0x1da4c3,_0x7e8d31);}),_0x387bc7['listenTo'](_0x4214e3,'load',()=>{_0x387bc7['stopListening'](_0x4214e3,'load'),_0x501e34['editing']['view']['change'](_0x426bcf=>{_0x426bcf['removeClass'](_0x5a9715,_0x553874),_0x426bcf['removeStyle']('aspect-ratio',_0x7e8d31);});});}function B(_0x17092c){if(Array['isArray'](_0x17092c)){const _0x1e2902=_0x17092c['map'](B);return _0x49ad88=>_0x1e2902['some'](_0x238b88=>_0x238b88(_0x49ad88));}if('origin'==_0x17092c){const _0x58742f=_0x4c41e4['window']['location']['origin'];return _0x1a1fb7=>new URL(_0x1a1fb7,_0x4c41e4['document']['baseURI'])['origin']==_0x58742f;}return'function'==typeof _0x17092c?_0x17092c:_0x17092c instanceof RegExp?_0x18d270=>!(!_0x18d270['match'](_0x17092c)&&!_0x18d270['replace'](/^https?:\/\//,'')['match'](_0x17092c)):()=>!0x1;}function V(_0x1a6da6,_0xde8321){return _0x8eeca4(_0x1a6da6['target'])['includes'](_0xde8321);}class j extends/* #__PURE__ -- @preserve */
24
+ _0x1f2ac8(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x20536f,_0x450d49,_0x4f91c2){super(),this['_editor']=_0x20536f,this['_editing']=_0x450d49,this['_dialog']=_0x20536f['plugins']['get'](_0x31b948),this['_api']=_0x450d49['ctxElement']['getAPI'](),this['_type']=_0x4f91c2,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:_0x33c239,model:_0x41bb7c}=this['_editor'],_0x11f7ed=_0x41bb7c['document']['selection']['getSelectedElement'](),_0x2fbb62=_0x11f7ed&&(_0x11f7ed['is']('element','imageBlock')||_0x11f7ed['is']('element','imageInline'));this['_formView']=new O(_0x33c239,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x511932,'title':T(_0x33c239,this['_type'],_0x2fbb62?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2ed971['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58175b=>!V(_0x58175b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5e5904}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xd556cb=>{const _0x4d31d7=_0x5e5904['length'];for(const _0x2623cd of _0x5e5904){const _0x2174ac=_0x2623cd===_0x5e5904[_0x4d31d7-0x1],{cdnUrl:_0x561b40,fileInfo:_0x2771af}=_0x2623cd;if(!_0x561b40||!_0x2771af)continue;const {width:_0x2a0ed2,height:_0x30bb34}=_0x2771af['imageInfo'],_0x4f8b49=F(_0x561b40,_0x2a0ed2,_0x30bb34),_0x32cb29=D(_0x561b40,_0x4f8b49['width']),_0x302972={'id':_0x2771af['uuid'],'type':'image','attributes':{'imageDimension':_0x4f8b49,..._0x32cb29}};this['_insertAsset'](_0x302972,_0x2174ac,_0xd556cb);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1967b6=>{'idle'===_0x1967b6['detail']['status']&&!_0x1967b6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x51fb6a,_0x545862,_0x5d2eb9){const _0x5d82fc=this['_editor']['model']['document']['selection'],_0x5b3961=_0x5d82fc['getSelectedElement'](),_0x1ba659=!(!_0x5b3961||!_0x5b3961['is']('element','imageInline'));_0x5d2eb9['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x51fb6a,_0x1ba659),_0x545862||_0x5d2eb9['setSelection'](_0x5d82fc['getLastPosition']());}['_insertImage'](_0x5244a9,_0x9b4ba2){const _0x4321f6=this['_editor'],{imageDimension:_0x162315,imageFallbackUrl:_0x27a75b,imageSources:_0x2e7ac0}=_0x5244a9['attributes'];_0x4321f6['execute']('insertImage',{'imageType':_0x9b4ba2?'imageInline':null,'source':{'uploadcareImageId':_0x5244a9['id'],'src':_0x27a75b,'sources':_0x2e7ac0,..._0x162315}});}}class M extends _0x4d5053{['_editing'];['_controller']=null;static get['requires'](){return[_0x31b948,z];}constructor(_0x358b13){super(_0x358b13),this['_editing']=_0x358b13['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1642d9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x1642d9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x388508,..._0x33fed2}){return _0x48e3e6(_0x388508,_0x33fed2);}static['getInfo'](_0x5691aa,_0x4798de){return _0x59576f(_0x5691aa,_0x4798de);}}class W extends _0x15d2c8{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1a1358,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x25ad22=this['editor'];if(!!!_0x25ad22['config']['get']('uploadcare'))return;_0x25ad22['plugins']['get'](_0x1a1358)['createUploadAdapter']=_0x1b9220=>new G(_0x1b9220,_0x25ad22),_0x25ad22['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1e2394,{imageElement:_0x54fb86,data:_0x236196})=>{_0x25ad22['model']['change'](_0x283200=>{_0x283200['setAttribute']('uploadcareImageId',_0x236196['uploadcareImageId'],_0x54fb86);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x1236c7,_0x2ed2c0){this['loader']=_0x1236c7,this['editor']=_0x2ed2c0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e5cc5=await this['loader']['file'];return q['upload']({'file':_0x5e5cc5,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0xb49d9e=>{_0xb49d9e&&_0xb49d9e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xb49d9e['value']);}})['then'](async _0x2a56ee=>{const {imageFallbackUrl:_0x2bddb5,imageSources:_0x439986}=D(_0x2a56ee['cdnUrl'],_0x2a56ee['imageInfo']['width']);return{'uploadcareImageId':_0x2a56ee['uuid'],'default':_0x2bddb5,'sources':_0x439986};})['catch'](()=>{const _0x4a0e2c=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e5cc5['name']+'.');return Promise['reject'](_0x4a0e2c);});}['abort'](){this['controller']['abort']();}}class z extends _0x15d2c8{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x31b948];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4c9f1b){super(_0x4c9f1b),this['ucContextId']=_0x596c2d();}['init'](){const _0x49b170=this['editor'];_0x49b170['commands']['add']('uploadcare',new M(_0x49b170));}['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 _0x481daf=_0x4c41e4['document']['querySelector']('input[uploadcare-file-input]');_0x481daf&&_0x481daf['remove']();}),async function(_0xdbc32){const _0x5e150b=_0x52055d([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x4c272e=0x535f8c3a,_0x56833d=0x5358f2da^_0x4c272e,_0x1001ce=window[_0x52055d([0x44,0x61,0x74,0x65])][_0x52055d([0x6e,0x6f,0x77])](),_0x51e5c5=_0xdbc32[_0x52055d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40652d=new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e4e5e=>{_0x51e5c5[_0x52055d([0x6f,0x6e,0x63,0x65])](_0x52055d([0x72,0x65,0x61,0x64,0x79]),_0x5e4e5e);}),_0x5da0ff={[_0x52055d([0x6b,0x74,0x79])]:_0x52055d([0x45,0x43]),[_0x52055d([0x75,0x73,0x65])]:_0x52055d([0x73,0x69,0x67]),[_0x52055d([0x63,0x72,0x76])]:_0x52055d([0x50,0x2d,0x32,0x35,0x36]),[_0x52055d([0x78])]:_0x52055d([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]),[_0x52055d([0x79])]:_0x52055d([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]),[_0x52055d([0x61,0x6c,0x67])]:_0x52055d([0x45,0x53,0x32,0x35,0x36])},_0x144de9=_0x51e5c5[_0x52055d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52055d([0x67,0x65,0x74])](_0x52055d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb908c8(){let _0x104a8a,_0x79e1a6=null,_0x51396f=null;try{if(_0x144de9==_0x52055d([0x47,0x50,0x4c]))return _0x52055d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x104a8a=_0x54ea33(),!_0x104a8a)return _0x52055d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x104a8a[_0x52055d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51396f=_0x4d2b26(_0x104a8a[_0x52055d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x104a8a[_0x52055d([0x6a,0x74,0x69])])),await _0x24fb86()?_0x728469()?_0x374a76()?_0x52055d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3bb8a1()?(_0x104a8a[_0x52055d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52055d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x79e1a6=_0x7f500d(_0x52055d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x274d00()):_0x52055d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52055d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52055d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52055d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x374a76(){const _0x33494c=[_0x52055d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52055d([0x74,0x72,0x69,0x61,0x6c])][_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104a8a[_0x52055d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1001ce/0x3e8:0xe10*_0x56833d;return _0x104a8a[_0x52055d([0x65,0x78,0x70])]<_0x33494c;}function _0x728469(){const _0x5c93bf=_0x104a8a[_0x52055d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c93bf&&(!!_0x5c93bf[_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52055d([0x2a]))||!!_0x5c93bf[_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52055d([0x55,0x50,0x4c,0x43])));}function _0x3bb8a1(){const _0x57f7a1=_0x104a8a[_0x52055d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57f7a1||0x0==_0x57f7a1[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52e3fa}=new URL(window[_0x52055d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x57f7a1[_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52e3fa))return!0x0;const _0x3bbc1c=_0x52e3fa[_0x52055d([0x73,0x70,0x6c,0x69,0x74])](_0x52055d([0x2e]));return _0x57f7a1[_0x52055d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b70ca=>_0x1b70ca[_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52055d([0x2a])))[_0x52055d([0x6d,0x61,0x70])](_0x28742e=>_0x28742e[_0x52055d([0x73,0x70,0x6c,0x69,0x74])](_0x52055d([0x2e])))[_0x52055d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a824a=>_0x3a824a[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3bbc1c[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52055d([0x6d,0x61,0x70])](_0x1e6867=>Array(_0x3bbc1c[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e6867[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52055d([0x66,0x69,0x6c,0x6c])](_0x1e6867[0x0]===_0x52055d([0x2a])?_0x52055d([0x2a]):'')[_0x52055d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e6867))[_0x52055d([0x73,0x6f,0x6d,0x65])](_0x39b8a7=>_0x3bbc1c[_0x52055d([0x65,0x76,0x65,0x72,0x79])]((_0x26d45b,_0x4ac617)=>_0x39b8a7[_0x4ac617]===_0x26d45b||_0x39b8a7[_0x4ac617]===_0x52055d([0x2a])));}function _0x274d00(){return _0x79e1a6&&_0x51396f?new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbfe8d,_0x2e3cdc)=>{_0x79e1a6[_0x52055d([0x74,0x68,0x65,0x6e])](_0xbfe8d,_0x2e3cdc),_0x51396f[_0x52055d([0x74,0x68,0x65,0x6e])](_0x1eb2d4=>{_0x1eb2d4!=_0x52055d([0x56,0x61,0x6c,0x69,0x64])&&_0xbfe8d(_0x1eb2d4);},_0x2e3cdc);}):_0x79e1a6||_0x51396f||_0x52055d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d2b26(_0x111646,_0x5f3f66){return new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x833645=>{if(_0x1efdbe())return _0x833645(_0x52055d([0x56,0x61,0x6c,0x69,0x64]));_0x527f9a(),_0x51e5c5[_0x52055d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52055d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17c3cc=!0x1;const _0x202a99=_0x596c2d();function _0x4d7901(_0x545c73){return!!_0x545c73&&(typeof _0x545c73===_0x52055d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x545c73===_0x52055d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x545c73[_0x52055d([0x74,0x68,0x65,0x6e])]===_0x52055d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x545c73[_0x52055d([0x63,0x61,0x74,0x63,0x68])]===_0x52055d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x589c7f(_0x5b21e8){_0x32afca(_0x5b21e8)[_0x52055d([0x74,0x68,0x65,0x6e])](_0x5d7e69=>{if(!_0x5d7e69||_0x5d7e69[_0x52055d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52055d([0x6f,0x6b]))return _0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1873af(_0x4c8101(_0x202a99+_0x5f3f66))!=_0x5d7e69[_0x52055d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52055d([0x56,0x61,0x6c,0x69,0x64]);})[_0x52055d([0x74,0x68,0x65,0x6e])](_0x373bbc=>(_0x3d4135(),_0x373bbc),()=>{const _0x5bf740=_0x343d40();return null==_0x5bf740?(_0x3d4135(),_0x52055d([0x56,0x61,0x6c,0x69,0x64])):_0x52055d(_0x1001ce-_0x5bf740>(0x7753083a^_0x4c272e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52055d([0x74,0x68,0x65,0x6e])](_0x833645)[_0x52055d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x833645(_0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x104807=0x536962ba^_0x4c272e;function _0x3d4135(){const _0x49c54d=_0x52055d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1873af(_0x4c8101(_0x111646)),_0x3ff710=_0x4ca9a9(_0x1873af(window[_0x52055d([0x4d,0x61,0x74,0x68])][_0x52055d([0x63,0x65,0x69,0x6c])](_0x1001ce/_0x104807)));window[_0x52055d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52055d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49c54d,_0x3ff710);}function _0x343d40(){const _0x4ccc3f=_0x52055d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1873af(_0x4c8101(_0x111646)),_0x5db9cd=window[_0x52055d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52055d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ccc3f);return _0x5db9cd?window[_0x52055d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ca9a9(_0x5db9cd),0x10)*_0x104807:null;}function _0x32afca(_0x224240){return new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25b583,_0x38248a)=>{_0x224240[_0x52055d([0x74,0x68,0x65,0x6e])](_0x25b583,_0x38248a),window[_0x52055d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38248a,0x535e58fa^_0x4c272e);});}}_0x51e5c5[_0x52055d([0x6f,0x6e])](_0x52055d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d4895,_0x158ccb)=>{if(_0x158ccb[0x0]!=_0x111646)return _0x833645(_0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x158ccb[0x1]={..._0x158ccb[0x1],[_0x52055d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x202a99};},{[_0x52055d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52055d([0x68,0x69,0x67,0x68])}),_0x51e5c5[_0x52055d([0x6f,0x6e])](_0x52055d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25e805=>{_0x4d7901(_0x25e805[_0x52055d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17c3cc=!0x0,_0x589c7f(_0x25e805[_0x52055d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52055d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52055d([0x6c,0x6f,0x77])}),_0x40652d[_0x52055d([0x74,0x68,0x65,0x6e])](()=>{_0x17c3cc||_0x833645(_0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1efdbe(){return _0x51e5c5[_0x52055d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52055d([0x76,0x69,0x65,0x77])][_0x52055d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52055d([0x61,0x75,0x74,0x6f]);}function _0x527f9a(){_0x51e5c5[_0x52055d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52055d([0x76,0x69,0x65,0x77])][_0x52055d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52055d([0x61,0x75,0x74,0x6f]);}}function _0x7f500d(_0x11e59c){const _0x3c885b=[new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21ab2c=>setTimeout(_0x21ab2c,0x5356b2f6^_0x4c272e)),_0x40652d[_0x52055d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc62ce4=>{let _0x5376ee=0x0;_0x51e5c5[_0x52055d([0x6d,0x6f,0x64,0x65,0x6c])][_0x52055d([0x6f,0x6e])](_0x52055d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x353f99,_0x425548)=>{_0x425548[0x0][_0x52055d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5376ee++,_0x5376ee==(0x535f89d2^_0x4c272e)&&(_0xc62ce4(),_0x353f99[_0x52055d([0x6f,0x66,0x66])]());});}))];return window[_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52055d([0x72,0x61,0x63,0x65])](_0x3c885b)[_0x52055d([0x74,0x68,0x65,0x6e])](()=>_0x11e59c);}async function _0x5537e5(){await _0x40652d,_0x51e5c5[_0x52055d([0x6d,0x6f,0x64,0x65,0x6c])][_0x52055d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4931c9,_0x51e5c5[_0x52055d([0x6d,0x6f,0x64,0x65,0x6c])][_0x52055d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4931c9,_0x51e5c5[_0x52055d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52055d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5883ba(_0x2f6b7e){const _0x2731a4=_0x267abb();_0x51e5c5[_0x2731a4]=_0x52055d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f6b7e,_0x2f6b7e!=_0x52055d([0x56,0x61,0x6c,0x69,0x64])&&_0x5537e5();}function _0x267abb(){const _0x3b30b0=window[_0x52055d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52055d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52055d([0x6e,0x6f,0x77])]())[_0x52055d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52055d([0x2e]),'');let _0x4cdf5e=_0x52055d([0x68]);for(let _0x59a9c7=0x0;_0x59a9c7<_0x3b30b0[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59a9c7+=0x2){let _0x2a0757=window[_0x52055d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b30b0[_0x52055d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59a9c7,_0x59a9c7+0x2));_0x2a0757>=_0x5e150b[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a0757-=_0x5e150b[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4cdf5e+=_0x5e150b[_0x2a0757];}return _0x4cdf5e;}function _0x54ea33(){const _0x49fdef=_0x144de9[_0x52055d([0x73,0x70,0x6c,0x69,0x74])](_0x52055d([0x2e]));if(0x3!=_0x49fdef[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4327a0(_0x49fdef[0x1]);function _0x4327a0(_0x571c76){const _0x308421=_0x2a215c(_0x571c76);return _0x308421&&_0x4dd6db()?_0x308421:null;function _0x4dd6db(){const _0x5680b6=_0x308421[_0x52055d([0x6a,0x74,0x69])],_0x988bce=window[_0x52055d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5680b6[_0x52055d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5680b6[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40e3b9={..._0x308421,[_0x52055d([0x6a,0x74,0x69])]:_0x5680b6[_0x52055d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5680b6[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40e3b9[_0x52055d([0x76,0x63])],_0x4c8101(_0x40e3b9)==_0x988bce;}}}async function _0x24fb86(){let _0x8f6986=!0x0;try{const _0x12cc6e=_0x144de9[_0x52055d([0x73,0x70,0x6c,0x69,0x74])](_0x52055d([0x2e])),[_0x99372d,_0x547141,_0x2516cf]=_0x12cc6e;return _0x508942(_0x99372d),await _0x23bbff(_0x99372d,_0x547141,_0x2516cf),_0x8f6986;}catch{return!0x1;}function _0x508942(_0x59a14c){const _0x31fe6e=_0x2a215c(_0x59a14c);_0x31fe6e&&_0x31fe6e[_0x52055d([0x61,0x6c,0x67])]==_0x52055d([0x45,0x53,0x32,0x35,0x36])||(_0x8f6986=!0x1);}async function _0x23bbff(_0x529275,_0xb466b7,_0x164b20){const _0x333598=window[_0x52055d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52055d([0x66,0x72,0x6f,0x6d])](_0x1cc4c5(_0x164b20),_0x5df3ec=>_0x5df3ec[_0x52055d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d8585=new window[(_0x52055d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52055d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x529275+_0x52055d([0x2e])+_0xb466b7),_0x377230=window[_0x52055d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52055d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x377230)return;const _0x3e3677=await _0x377230[_0x52055d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52055d([0x6a,0x77,0x6b]),_0x5da0ff,{[_0x52055d([0x6e,0x61,0x6d,0x65])]:_0x52055d([0x45,0x43,0x44,0x53,0x41]),[_0x52055d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52055d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52055d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x377230[_0x52055d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52055d([0x6e,0x61,0x6d,0x65])]:_0x52055d([0x45,0x43,0x44,0x53,0x41]),[_0x52055d([0x68,0x61,0x73,0x68])]:{[_0x52055d([0x6e,0x61,0x6d,0x65])]:_0x52055d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e3677,_0x333598,_0x3d8585)||(_0x8f6986=!0x1);}}function _0x2a215c(_0x138537){return _0x138537[_0x52055d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52055d([0x65,0x79]))?JSON[_0x52055d([0x70,0x61,0x72,0x73,0x65])](_0x1cc4c5(_0x138537)):null;}function _0x1cc4c5(_0x366bbd){return window[_0x52055d([0x61,0x74,0x6f,0x62])](_0x366bbd[_0x52055d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52055d([0x2b]))[_0x52055d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52055d([0x2f])));}function _0x4c8101(_0x483d1e){let _0x1e2c18=0x1505;function _0x271b88(_0x35df33){for(let _0x397a46=0x0;_0x397a46<_0x35df33[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x397a46++){const _0x3730c9=_0x35df33[_0x52055d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x397a46);_0x1e2c18=(_0x1e2c18<<0x5)+_0x1e2c18+_0x3730c9,_0x1e2c18&=_0x1e2c18;}}function _0x3d6e1f(_0x3f975a){Array[_0x52055d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f975a)?_0x3f975a[_0x52055d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d6e1f):_0x3f975a&&typeof _0x3f975a==_0x52055d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52055d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f975a)[_0x52055d([0x73,0x6f,0x72,0x74])]()[_0x52055d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d6e9f,_0x178dd6])=>{_0x271b88(_0x4d6e9f),_0x3d6e1f(_0x178dd6);}):_0x271b88(window[_0x52055d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f975a));}return _0x3d6e1f(_0x483d1e),_0x1e2c18>>>0x0;}function _0x1873af(_0xa99a98){return _0xa99a98[_0x52055d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52055d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52055d([0x30]));}function _0x4ca9a9(_0x5c72a5){return _0x5c72a5[_0x52055d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52055d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52055d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4931c9(){}function _0x52055d(_0x1379db){return _0x1379db['map'](_0x10d3f8=>String['fromCharCode'](_0x10d3f8))['join']('');}_0x5883ba(await _0xb908c8());}(this);}['_initSchema'](){const _0x1de749=this['editor']['model']['schema'];_0x1de749['isRegistered']('imageBlock')&&_0x1de749['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1de749['isRegistered']('imageInline')&&_0x1de749['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x54f8f1=this['editor'];_0x54f8f1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x54f8f1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xe54139=>_0xe54139['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f51f9=_0x54f8f1['commands']['get']('replaceImageSource');_0x2f51f9&&this['listenTo'](_0x2f51f9,'cleanupImage',(_0x825b48,[_0x3c17f4,_0x5e9a1a])=>{_0x3c17f4['removeAttribute']('uploadcareImageId',_0x5e9a1a);});}['_initConfig'](){const _0x1d9b9b=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5523ee=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x484ddd(_0x4c41e4['document'],'uc-config',{..._0x1d9b9b,'pubkey':_0x5523ee,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x1e2f55=>{if('closeMax'==_0x1e2f55)return'#uc-icon-arrow-down';},_0x4c41e4['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x484ddd(_0x4c41e4['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4c41e4['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xfe73cc=this['editor']['commands']['get']('insertImage');_0xfe73cc&&this['listenTo'](_0xfe73cc,'execute',()=>{const _0x4e5cb1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4e5cb1&&_0x4e5cb1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x4e5cb1);});});const _0x4b8003=this['editor']['commands']['get']('uploadcareImageReplace');_0x4b8003&&this['listenTo'](_0x4b8003,'execute',()=>{const _0x507fc5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x507fc5&&_0x507fc5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x507fc5);});});}}class H extends _0x15d2c8{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x54fe6f){super(_0x54fe6f),_0x54fe6f['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x37a3ae['defineComponents'](_0x37a3ae),this['_defineLocale']();}['_defineLocale'](){const _0x496a27=this['editor']['config']['get']('uploadcare.locale'),_0x2c4dec=this['editor']['locale']['contentLanguage'];_0x496a27&&_0x37a3ae['defineLocale'](_0x2c4dec,_0x496a27);}}class J extends _0x11b1d6{constructor(_0x32eb63){super(_0x32eb63);const t=_0x32eb63['t'],_0x23cd19=this['bindTemplate'],_0x150d95=new _0x365f57();_0x150d95['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':[_0x150d95,{'text':_0x23cd19['to']('imageUploadProgress',_0xe1d522=>t('Loading\x20image...')+'\x20('+(_0xe1d522||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 Z extends _0x11b1d6{constructor(_0xaf5fc1){super(_0xaf5fc1);const t=_0xaf5fc1['t'];this['set']('errorType',null);const _0x22a224=new _0x549855(_0xaf5fc1);_0x22a224['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x22a224['withText']=!0x0,_0x22a224['class']='ck-button-action',_0x22a224['on']('execute',()=>{this['fire']('retry');}),_0x22a224['bind']('isVisible')['to'](this,'errorType',_0x2a8a4b=>'NotFound'!==_0x2a8a4b);const _0x244e23=new _0x1abb9a();_0x244e23['content']=_0x1c5869,_0x244e23['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x484a5b=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':[_0x244e23,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x484a5b['to']('errorType',_0x5c1f7f=>t('NotFound'!==_0x5c1f7f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x22a224]},{'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 Q extends _0x11b1d6{constructor(_0xb1a4a8,_0x3af2b){super(_0xb1a4a8);const _0x3f791c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3af2b,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3f791c['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x16da36,_0x2861ec,_0x2f235e){super(_0x16da36),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x16da36),this['_errorView']=new Z(_0x16da36),this['_editingView']=new Q(_0x16da36,_0x2f235e),this['_focusableView']=new _0x11b1d6(_0x16da36),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2861ec),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'],_0x25c380=>{this['_addUploadcareImageEditorListeners'](_0x25c380);});}),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'](_0x5c1e24,_0xb027b3){const _0x222198='uc-cloud-image-editor',_0x2f524d=_0x5c1e24['querySelector'](_0x222198);if(_0x2f524d)return _0xb027b3(_0x2f524d);const _0x2b42d9=new MutationObserver(_0x18e435=>{const _0x21b240=_0x18e435['filter'](_0x4c0225=>_0x4c0225['target']===_0x5c1e24&&_0x4c0225['addedNodes']['length']>0x0&&_0x4c0225['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x222198);_0x21b240['length']&&(_0x2b42d9['disconnect'](),_0xb027b3(_0x21b240[0x0]['addedNodes'][0x0]));});_0x2b42d9['observe'](_0x5c1e24,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x58e837){_0x58e837['addEventListener']('apply',_0x412cc8=>{this['fire']('apply',{'imageSrc':_0x412cc8['detail']['cdnUrl']});}),_0x58e837['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
25
+ _0x1f2ac8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3cd6a5,_0x595cb4,_0x5f3cf1){super(),this['_editor']=_0x3cd6a5,this['_dialog']=_0x595cb4,this['_imageElement']=_0x5f3cf1,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 _0x5a4dc1=this['_imageElement'],_0x705689=_0x5a4dc1['getAttribute']('uploadcareImageId'),_0xe1dc63=_0x5a4dc1['getAttribute']('src');if(_0x705689)await this['_loadImageInfo'](_0x705689,_0xe1dc63);else{if(this['_imageCache']['has'](_0xe1dc63)){const _0x42792f=this['_imageCache']['get'](_0xe1dc63);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42792f['url'],this['imageDimension']=_0x42792f['dimension'],this['imageId']=_0x42792f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x557055}=this['_editor'],t=_0x557055['t'],_0x489380=new X(_0x557055,this['imageStatus'],this['_attributes']);_0x489380['bind']('status')['to'](this,'imageStatus'),_0x489380['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x489380['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x489380['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x489380,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4dd986,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x489380,'position':_0x2ed971['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x489380['focus']();},'onHide':()=>{_0x489380['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5255a4=>!V(_0x5255a4,_0x489380['element'])}});}['_loadImageInfo'](_0x4500bf,_0x1bebec){return q['getInfo'](_0x4500bf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x568f8a=>{const {width:_0x5ac522,height:_0x4845b9}=_0x568f8a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1bebec,this['imageDimension']={'width':_0x5ac522,'height':_0x4845b9},this['imageId']=_0x4500bf;})['catch'](_0x389670=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x389670['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x12c2bf,_0x3c664c){return this['_getImageAsFile'](_0x12c2bf)['then'](_0x497060=>q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3c664c['signal'],'file':_0x497060,'onProgress':_0x3b7396=>{_0x3b7396&&_0x3b7396['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3b7396['value']));}}))['then'](_0x4620d3=>{const {width:_0x3ba124,height:_0x3ebc22}=_0x4620d3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4620d3['cdnUrl'],this['imageDimension']={'width':_0x3ba124,'height':_0x3ebc22},this['imageId']=_0x4620d3['uuid'],this['imageUploadProgress']=null;const _0x5f5859=_0x12c2bf['getAttribute']('src');this['_imageCache']['set'](_0x5f5859,{'id':_0x4620d3['uuid'],'url':_0x4620d3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x102046=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x102046['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x142586,_0xb989df){_0x142586['on']('apply',(_0x5ef8aa,_0x2865f8)=>{this['_replaceImage'](_0xb989df,_0x2865f8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x142586['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x142586['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x318926,_0x1c3a12,_0x4e19b9){const _0x4cefbc=this['_editor'],{width:_0x422952,height:_0x3b26d3}=F(_0x1c3a12,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x39c6e7,imageSources:_0xc2eab3}=D(_0x1c3a12,_0x422952);_0x4cefbc['model']['change'](_0x16fa0e=>{if('$graveyard'===_0x318926['root']['rootName']){_0x4cefbc['execute']('insertImage',{'imageType':_0x318926['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x318926['getAttributes']()),'uploadcareImageId':_0x4e19b9,'src':_0x39c6e7,'sources':_0xc2eab3,'width':_0x422952,'height':_0x3b26d3}});const _0x3a021b=_0x318926['getChildren']();_0x318926=_0x4cefbc['model']['document']['selection']['getSelectedElement']();for(const _0x13b95f of _0x3a021b)_0x16fa0e['append'](_0x16fa0e['cloneElement'](_0x13b95f),_0x318926);}else _0x16fa0e['setSelection'](_0x318926,'on'),_0x4cefbc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x318926['getAttributes']()),'uploadcareImageId':_0x4e19b9,'src':_0x39c6e7,'sources':_0xc2eab3,'width':_0x422952,'height':_0x3b26d3},_0x318926);_0x16fa0e['setSelection'](_0x318926,'on');});}async['_getImageAsFile'](_0x394652){const _0x1ffb31=_0x4c41e4['window'],_0x1281b1=_0x4c41e4['document']['location']['href'],_0x36d2a2=new _0x1ffb31['URL'](_0x394652['getAttribute']('src'),_0x1281b1);if('data:'===_0x36d2a2['protocol']){const _0x35fdfc=_0x36d2a2['href']['split'](','),_0x2ee4a7=_0x35fdfc[0x0]['match'](/:(.*?);/)[0x1],_0x39d235=_0x2ee4a7['split']('/')[0x1],_0x1fb942=_0x1ffb31['atob'](_0x35fdfc[_0x35fdfc['length']-0x1]);let _0x197de2=_0x1fb942['length'];const _0x3307c6=new _0x1ffb31['Uint8Array'](_0x197de2);for(;_0x197de2--;)_0x3307c6[_0x197de2]=_0x1fb942['charCodeAt'](_0x197de2);return new _0x1ffb31['File']([_0x3307c6],'image.'+_0x39d235,{'type':_0x2ee4a7});}const _0x2f22ae=_0x36d2a2['href']['split']('/'),_0x3eb97f=_0x2f22ae[_0x2f22ae['length']-0x1],_0x3f04d3=_0x3eb97f['split']('.')[0x1];return _0x1ffb31['fetch'](_0x36d2a2['href'])['then'](_0x1212dd=>_0x1212dd['clone']()['blob']())['then'](_0x1e019c=>new _0x1ffb31['File']([_0x1e019c],_0x3eb97f,{'type':'image/'+_0x3f04d3}));}}class tt extends _0x4d5053{['imageEditController'];static get['requires'](){return[_0x31b948];}['_isEditable'];constructor(_0x151927){super(_0x151927),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x28b5dc){const _0x2fc0e8=B(_0x28b5dc);return _0x2ae708=>!(!_0x2ae708||!_0x2ae708['is']('element','imageBlock')&&!_0x2ae708['is']('element','imageInline'))&&(!!_0x2ae708['hasAttribute']('uploadcareImageId')||!!_0x2ae708['hasAttribute']('src')&&_0x2fc0e8(_0x2ae708['getAttribute']('src')));}(_0x151927['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x55cf2e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x55cf2e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x41c8ac=this['editor']['model']['document']['selection']['getSelectedElement']();_0x41c8ac&&(_0x41c8ac['is']('element','imageBlock')||_0x41c8ac['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x31b948),_0x41c8ac),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x4d5053{['refresh'](){const _0x5964a7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5964a7&&(_0x5964a7['is']('element','imageBlock')||_0x5964a7['is']('element','imageInline')));}['execute'](_0x3a4395){const _0x2eef95=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1b0a7c=>{_0x1b0a7c['setAttributes'](_0x3a4395,_0x2eef95),_0x1b0a7c['removeAttribute']('srcset',_0x2eef95),_0x1b0a7c['removeAttribute']('sizes',_0x2eef95);});}}class it extends _0x15d2c8{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x58bff2,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37e4f2}=this;_0x37e4f2['commands']['add']('uploadcareImageEdit',new tt(_0x37e4f2)),_0x37e4f2['commands']['add']('uploadcareImageReplace',new et(_0x37e4f2));}}class st extends _0x15d2c8{['_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 _0x349f2b=this['editor'];_0x349f2b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1cb7b5=>{const _0x3fa46b=_0x349f2b['commands']['get']('uploadcareImageEdit'),_0x5349c6=new _0x549855(_0x1cb7b5),t=_0x1cb7b5['t'];return _0x5349c6['set']({'icon':_0x4dd986,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5349c6['bind']('isEnabled')['to'](_0x3fa46b),_0x5349c6['bind']('isOn')['to'](_0x3fa46b,'isActive'),this['listenTo'](_0x5349c6,'execute',()=>{_0x349f2b['execute']('uploadcareImageEdit'),_0x349f2b['editing']['view']['focus']();}),_0x5349c6;}),this['_initConfig']();}['_initConfig'](){const _0x4829c5=_0x484ddd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4829c5),this['listenTo'](this['editor'],'destroy',()=>{_0x4829c5['remove']();});}}class nt extends _0x15d2c8{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1a7fa7=>0x1!=_0x1a7fa7}};
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':_0x5a4cb0=>0x1!=_0x5a4cb0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb7b053=>{const {af:{dictionary:_0x5bc335,getPluralForm:_0x336c7f}}={'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':_0x1a0c36=>0x1!=_0x1a0c36}};_0xb7b053['af']||={'dictionary':{},'getPluralForm':null},_0xb7b053['af']['dictionary']=Object['assign'](_0xb7b053['af']['dictionary'],_0x5bc335),_0xb7b053['af']['getPluralForm']=_0x336c7f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x529939=>{const {af:{dictionary:_0x1213a8,getPluralForm:_0x3f2d43}}={'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':_0x540f99=>0x1!=_0x540f99}};_0x529939['af']||={'dictionary':{},'getPluralForm':null},_0x529939['af']['dictionary']=Object['assign'](_0x529939['af']['dictionary'],_0x1213a8),_0x529939['af']['getPluralForm']=_0x3f2d43;})(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':_0x26652f=>0x0==_0x26652f?0x0:0x1==_0x26652f?0x1:0x2==_0x26652f?0x2:_0x26652f%0x64>=0x3&&_0x26652f%0x64<=0xa?0x3:_0x26652f%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':_0x11fd04=>0x0==_0x11fd04?0x0:0x1==_0x11fd04?0x1:0x2==_0x11fd04?0x2:_0x11fd04%0x64>=0x3&&_0x11fd04%0x64<=0xa?0x3:_0x11fd04%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2405b6=>{const {ar:{dictionary:_0x49c9d5,getPluralForm:_0x1ce643}}={'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':_0x54d9f4=>0x0==_0x54d9f4?0x0:0x1==_0x54d9f4?0x1:0x2==_0x54d9f4?0x2:_0x54d9f4%0x64>=0x3&&_0x54d9f4%0x64<=0xa?0x3:_0x54d9f4%0x64>=0xb?0x4:0x5}};_0x2405b6['ar']||={'dictionary':{},'getPluralForm':null},_0x2405b6['ar']['dictionary']=Object['assign'](_0x2405b6['ar']['dictionary'],_0x49c9d5),_0x2405b6['ar']['getPluralForm']=_0x1ce643;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x30db69=>{const {ar:{dictionary:_0x27c2dd,getPluralForm:_0x1ed2d1}}={'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':_0x10ba85=>0x0==_0x10ba85?0x0:0x1==_0x10ba85?0x1:0x2==_0x10ba85?0x2:_0x10ba85%0x64>=0x3&&_0x10ba85%0x64<=0xa?0x3:_0x10ba85%0x64>=0xb?0x4:0x5}};_0x30db69['ar']||={'dictionary':{},'getPluralForm':null},_0x30db69['ar']['dictionary']=Object['assign'](_0x30db69['ar']['dictionary'],_0x27c2dd),_0x30db69['ar']['getPluralForm']=_0x1ed2d1;})(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':_0x1eacfb=>0x1!=_0x1eacfb}};
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':_0x1a64c1=>0x1!=_0x1a64c1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2649eb=>{const {ast:{dictionary:_0x1c0921,getPluralForm:_0x301c32}}={'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':_0x6baee5=>0x1!=_0x6baee5}};_0x2649eb['ast']||={'dictionary':{},'getPluralForm':null},_0x2649eb['ast']['dictionary']=Object['assign'](_0x2649eb['ast']['dictionary'],_0x1c0921),_0x2649eb['ast']['getPluralForm']=_0x301c32;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x118c16=>{const {ast:{dictionary:_0xc6dc4c,getPluralForm:_0x49e81b}}={'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':_0xd473e4=>0x1!=_0xd473e4}};_0x118c16['ast']||={'dictionary':{},'getPluralForm':null},_0x118c16['ast']['dictionary']=Object['assign'](_0x118c16['ast']['dictionary'],_0xc6dc4c),_0x118c16['ast']['getPluralForm']=_0x49e81b;})(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':_0x2943ee=>0x1!=_0x2943ee}};
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':_0x48c77a=>0x1!=_0x48c77a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x82da21=>{const {az:{dictionary:_0x5637da,getPluralForm:_0x5ae1da}}={'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':_0x15f220=>0x1!=_0x15f220}};_0x82da21['az']||={'dictionary':{},'getPluralForm':null},_0x82da21['az']['dictionary']=Object['assign'](_0x82da21['az']['dictionary'],_0x5637da),_0x82da21['az']['getPluralForm']=_0x5ae1da;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1657be=>{const {az:{dictionary:_0x574277,getPluralForm:_0x2927fe}}={'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':_0x2abddc=>0x1!=_0x2abddc}};_0x1657be['az']||={'dictionary':{},'getPluralForm':null},_0x1657be['az']['dictionary']=Object['assign'](_0x1657be['az']['dictionary'],_0x574277),_0x1657be['az']['getPluralForm']=_0x2927fe;})(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':_0x5e6fa0=>_0x5e6fa0%0xa==0x1&&_0x5e6fa0%0x64!=0xb?0x0:_0x5e6fa0%0xa>=0x2&&_0x5e6fa0%0xa<=0x4&&(_0x5e6fa0%0x64<0xa||_0x5e6fa0%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':_0x558d61=>_0x558d61%0xa==0x1&&_0x558d61%0x64!=0xb?0x0:_0x558d61%0xa>=0x2&&_0x558d61%0xa<=0x4&&(_0x558d61%0x64<0xa||_0x558d61%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x336ab2=>{const {be:{dictionary:_0x3be107,getPluralForm:_0x9a41be}}={'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':_0x55c053=>_0x55c053%0xa==0x1&&_0x55c053%0x64!=0xb?0x0:_0x55c053%0xa>=0x2&&_0x55c053%0xa<=0x4&&(_0x55c053%0x64<0xa||_0x55c053%0x64>=0x14)?0x1:0x2}};_0x336ab2['be']||={'dictionary':{},'getPluralForm':null},_0x336ab2['be']['dictionary']=Object['assign'](_0x336ab2['be']['dictionary'],_0x3be107),_0x336ab2['be']['getPluralForm']=_0x9a41be;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x58381c=>{const {be:{dictionary:_0xd80b9a,getPluralForm:_0x2dfd57}}={'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':_0x28bb9a=>_0x28bb9a%0xa==0x1&&_0x28bb9a%0x64!=0xb?0x0:_0x28bb9a%0xa>=0x2&&_0x28bb9a%0xa<=0x4&&(_0x28bb9a%0x64<0xa||_0x28bb9a%0x64>=0x14)?0x1:0x2}};_0x58381c['be']||={'dictionary':{},'getPluralForm':null},_0x58381c['be']['dictionary']=Object['assign'](_0x58381c['be']['dictionary'],_0xd80b9a),_0x58381c['be']['getPluralForm']=_0x2dfd57;})(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':_0xdbdc16=>0x1!=_0xdbdc16}};
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':_0x30165b=>0x1!=_0x30165b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x299e2a=>{const {bg:{dictionary:_0x58d2c9,getPluralForm:_0x4d257f}}={'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':_0x579195=>0x1!=_0x579195}};_0x299e2a['bg']||={'dictionary':{},'getPluralForm':null},_0x299e2a['bg']['dictionary']=Object['assign'](_0x299e2a['bg']['dictionary'],_0x58d2c9),_0x299e2a['bg']['getPluralForm']=_0x4d257f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c0a19=>{const {bg:{dictionary:_0x1bae37,getPluralForm:_0x39760e}}={'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':_0x1c6168=>0x1!=_0x1c6168}};_0x2c0a19['bg']||={'dictionary':{},'getPluralForm':null},_0x2c0a19['bg']['dictionary']=Object['assign'](_0x2c0a19['bg']['dictionary'],_0x1bae37),_0x2c0a19['bg']['getPluralForm']=_0x39760e;})(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':_0x4c8204=>0x1!=_0x4c8204}};
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':_0x176d75=>0x1!=_0x176d75}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2eb36f=>{const {bn:{dictionary:_0x112176,getPluralForm:_0x5deed9}}={'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':_0x3ea42f=>0x1!=_0x3ea42f}};_0x2eb36f['bn']||={'dictionary':{},'getPluralForm':null},_0x2eb36f['bn']['dictionary']=Object['assign'](_0x2eb36f['bn']['dictionary'],_0x112176),_0x2eb36f['bn']['getPluralForm']=_0x5deed9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e32e2=>{const {bn:{dictionary:_0x992cac,getPluralForm:_0x27bf75}}={'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':_0x3a3d67=>0x1!=_0x3a3d67}};_0x1e32e2['bn']||={'dictionary':{},'getPluralForm':null},_0x1e32e2['bn']['dictionary']=Object['assign'](_0x1e32e2['bn']['dictionary'],_0x992cac),_0x1e32e2['bn']['getPluralForm']=_0x27bf75;})(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':_0x2ed089=>_0x2ed089%0xa==0x1&&_0x2ed089%0x64!=0xb?0x0:_0x2ed089%0xa>=0x2&&_0x2ed089%0xa<=0x4&&(_0x2ed089%0x64<0xa||_0x2ed089%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':_0x4fbe4d=>_0x4fbe4d%0xa==0x1&&_0x4fbe4d%0x64!=0xb?0x0:_0x4fbe4d%0xa>=0x2&&_0x4fbe4d%0xa<=0x4&&(_0x4fbe4d%0x64<0xa||_0x4fbe4d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1a34d9=>{const {bs:{dictionary:_0xbd1807,getPluralForm:_0x2b9481}}={'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':_0x196840=>_0x196840%0xa==0x1&&_0x196840%0x64!=0xb?0x0:_0x196840%0xa>=0x2&&_0x196840%0xa<=0x4&&(_0x196840%0x64<0xa||_0x196840%0x64>=0x14)?0x1:0x2}};_0x1a34d9['bs']||={'dictionary':{},'getPluralForm':null},_0x1a34d9['bs']['dictionary']=Object['assign'](_0x1a34d9['bs']['dictionary'],_0xbd1807),_0x1a34d9['bs']['getPluralForm']=_0x2b9481;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b764f=>{const {bs:{dictionary:_0x3340f4,getPluralForm:_0x2d5e1e}}={'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':_0x4db746=>_0x4db746%0xa==0x1&&_0x4db746%0x64!=0xb?0x0:_0x4db746%0xa>=0x2&&_0x4db746%0xa<=0x4&&(_0x4db746%0x64<0xa||_0x4db746%0x64>=0x14)?0x1:0x2}};_0x3b764f['bs']||={'dictionary':{},'getPluralForm':null},_0x3b764f['bs']['dictionary']=Object['assign'](_0x3b764f['bs']['dictionary'],_0x3340f4),_0x3b764f['bs']['getPluralForm']=_0x2d5e1e;})(window['CKEDITOR_TRANSLATIONS']||={});