@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.1 → 45.0.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xdcae0d,Command as _0x4dc350}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2d71ae,IconGooglePhotos as _0x182ce7,IconGoogleDrive as _0x59e464,IconFacebook as _0x552905,IconDropbox as _0x5c5ad3,IconUploadcareLink as _0x402bf0,IconUploadcareImageUpload as _0x51e128,IconError as et,IconUploadcareImageEdit as _0x30fd27}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3deb83,MenuBarMenuListItemButtonView as _0x4065c2,View as _0x162a25,FocusCycler as _0x5cdd65,Dialog as _0x18dc70,DialogViewPosition as _0x7eb6fb,SpinnerView as _0x37c5d1,IconView as at,Notification as _0x1b82c8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x35cdec,DomEmitterMixin as _0x45089a,global as _0x269879,getAncestors as _0x109de0,ObservableMixin as _0x2e87b1,createElement as _0x878022,uid as _0x494c1e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x485313}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x214a3d,info as _0x238a8e}from'@uploadcare/upload-client';import*as _0x125d40 from'@uploadcare/file-uploader';var o=function(_0x40ac20){return _0x40ac20['Local']='local',_0x40ac20['URL']='url',_0x40ac20['Dropbox']='dropbox',_0x40ac20['GDrive']='gdrive',_0x40ac20['Facebook']='facebook',_0x40ac20['GPhotos']='gphotos',_0x40ac20['OneDrive']='onedrive',_0x40ac20;}({});function _(_0x934615,_0x4db2ec,_0x55b22b){const t=_0x934615['t'],_0x163de9=_0x934615['t'];switch(_0x4db2ec){case o['Local']:return{'text':_0x163de9('Insert'===_0x55b22b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x163de9('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x55b22b?_0x163de9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x163de9('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x55b22b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x55b22b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x55b22b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x55b22b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x55b22b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4db2ec;}}class e extends _0xdcae0d{['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 _0x25b213=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xfdc48c;for(const _0xf0f582 in _0x25b213){const _0x5e5dbf=_0xf0f582,_0x24374a=_0x25b213[_0x5e5dbf];if('uploadcareLicenseKeyValid'==_0x24374a||'uploadcareLicenseKeyInvalid'==_0x24374a||'uploadcareLicenseKeyExpired'==_0x24374a||'uploadcareLicenseKeyDomainLimit'==_0x24374a||'uploadcareLicenseKeyNotAllowed'==_0x24374a||'uploadcareLicenseKeyEvaluationLimit'==_0x24374a||'uploadcareLicenseKeyTrialLimit'==_0x24374a||'uploadcareLicenseKeyUsageLimit'==_0x24374a){delete _0x25b213[_0x5e5dbf],_0xfdc48c=_0x24374a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xfdc48c&&_0x25b213['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xfdc48c&&_0x25b213['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xfdc48c&&_0x25b213['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xfdc48c&&_0x25b213['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xfdc48c&&_0x25b213['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xfdc48c&&_0x25b213['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xfdc48c&&_0x25b213['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3b6bf8}=this,_0x4f77a2=_0x3b6bf8['commands']['get']('uploadcare');if(!_0x4f77a2)return;const _0x5c510e=this['_normalizeConfigSourceList'](_0x3b6bf8['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2208ab,_0x120425)=>{const _0x4c18e4=this['_getIntegrationKey'](_0x120425['type']);return _0x2208ab[_0x4c18e4]||(_0x2208ab[_0x4c18e4]=[]),_0x2208ab[_0x4c18e4]['push'](_0x120425),_0x2208ab;},{});_0x3b6bf8['plugins']['has']('ImageInsertUI')&&_0x3b6bf8['commands']['get']('uploadcare')&&Object['entries'](_0x5c510e)['forEach'](([_0xebab58,_0x2a6ede])=>{_0x3b6bf8['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xebab58,'observable':()=>_0x4f77a2,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2a6ede),'formViewCreator':()=>this['_createDropdownButtons'](_0x2a6ede),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2a6ede),'override':'assetManager'!==_0xebab58});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x466fde){const {locale:_0x328484}=this['editor'];return _0x466fde['map'](_0x26fd6a=>{const _0x5a8e30=_(_0x328484,_0x26fd6a,'Insert');switch(_0x26fd6a){case o['Local']:return{'icon':_0x51e128,'type':o['Local'],..._0x5a8e30};case o['URL']:return{'icon':_0x402bf0,'type':o['URL'],..._0x5a8e30};case o['Dropbox']:return{'icon':_0x5c5ad3,'type':o['Dropbox'],..._0x5a8e30};case o['Facebook']:return{'icon':_0x552905,'type':o['Facebook'],..._0x5a8e30};case o['GDrive']:return{'icon':_0x59e464,'type':o['GDrive'],..._0x5a8e30};case o['GPhotos']:return{'icon':_0x182ce7,'type':o['GPhotos'],..._0x5a8e30};case o['OneDrive']:return{'icon':_0x2d71ae,'type':o['OneDrive'],..._0x5a8e30};}});}['_getIntegrationKey'](_0x251996){switch(_0x251996){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2f7736,_0xf85b83){const _0x5f56f3=this['editor'],_0x1aa4b3=new _0x2f7736(_0x5f56f3['locale']),_0x299235=_0x5f56f3['commands']['get']('uploadcare');return _0x1aa4b3['bind']('isEnabled')['to'](_0x299235),_0x1aa4b3['on']('execute',()=>{_0x299235['execute'](_0xf85b83);}),_0x1aa4b3;}['_createToolbarButton'](_0x49b160){const {locale:_0x3df0a4}=this['editor'],_0x4cefe2=this['editor']['plugins']['get']('ImageInsertUI'),_0x1b8b64=_0x49b160[0x0],_0x3d5878=this['_createButton'](_0x3deb83,_0x1b8b64['type']);return _0x3d5878['icon']=_0x1b8b64['icon'],_0x3d5878['bind']('label')['to'](_0x4cefe2,'isImageSelected',_0x2ca9dc=>_(_0x3df0a4,_0x1b8b64['type'],_0x2ca9dc?'Replace':'Insert')['text']),_0x3d5878['tooltip']=!0x0,_0x3d5878;}['_createDropdownButtons'](_0x48a1fe){const {locale:_0x46dc3b}=this['editor'],_0x401923=this['editor']['plugins']['get']('ImageInsertUI');return _0x48a1fe['map'](_0x2815af=>{const _0x27ec5a=this['_createButton'](_0x3deb83,_0x2815af['type']);return _0x27ec5a['withText']=!0x0,_0x27ec5a['icon']=_0x2815af['icon'],_0x27ec5a['bind']('label')['to'](_0x401923,'isImageSelected',_0x258a9d=>_(_0x46dc3b,_0x2815af['type'],_0x258a9d?'Replace':'Insert')['text']),_0x27ec5a;});}['_createMenuBarButtons'](_0x375a29){return _0x375a29['map'](_0x2a6344=>{const _0x519db7=this['_createButton'](_0x4065c2,_0x2a6344['type']);return _0x519db7['icon']=_0x2a6344['icon'],_0x519db7['label']=_0x2a6344['shortText'],_0x519db7;});}}class q extends _0x162a25{['focusTracker'];['focusCycler'];constructor(_0x563b5d){super(_0x563b5d),this['focusTracker']=new _0x35cdec(),this['focusCycler']=new _0x5cdd65({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0xaff3c0){super(_0xaff3c0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x5b3c26,_0x2eb5b5){const _0x147bbb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x47568c=>_0x47568c<=_0x2eb5b5)['map'](_0x4d8cb8=>_0x5b3c26['replace'](/\/$/,'')+'/-/resize/'+_0x4d8cb8+'x/\x20'+_0x4d8cb8+'w');return{'imageFallbackUrl':_0x5b3c26,'imageSources':[{'srcset':_0x147bbb['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2eb5b5+'px)\x20100vw,\x20'+_0x2eb5b5+'px','type':'image/webp'}]};}function A(_0x463dcc,_0x44d171,_0x6bbcb3){const _0x4dafaa=_0x463dcc['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4dafaa?parseInt(_0x4dafaa[0x1],0xa):_0x44d171,'height':_0x4dafaa?parseInt(_0x4dafaa[0x2],0xa):_0x6bbcb3};}function m(_0x236684,_0x4dbe6c){const _0x3d5da6=Object['create'](_0x45089a),_0x42ba73=_0x236684['plugins']['get']('ImageUtils'),_0x4c317e=_0x236684['editing']['mapper']['toViewElement'](_0x4dbe6c),_0x202b71=_0x42ba73['findViewImgElement'](_0x4c317e),_0x4aa746=_0x236684['editing']['view']['domConverter']['viewToDom'](_0x202b71),_0x1c42e0=_0x4dbe6c['getAttribute']('width'),_0x2c1dea=_0x4dbe6c['getAttribute']('height'),_0x45db9f='image-processing';_0x236684['editing']['view']['change'](_0x479554=>{_0x479554['addClass'](_0x45db9f,_0x4c317e),_0x479554['setStyle']('aspect-ratio',_0x1c42e0+'/'+_0x2c1dea,_0x202b71);}),_0x3d5da6['listenTo'](_0x4aa746,'load',()=>{_0x3d5da6['stopListening'](_0x4aa746,'load'),_0x236684['editing']['view']['change'](_0x4cea30=>{_0x4cea30['removeClass'](_0x45db9f,_0x4c317e),_0x4cea30['removeStyle']('aspect-ratio',_0x202b71);});});}function V(_0x19f922){if(Array['isArray'](_0x19f922)){const _0x2c6880=_0x19f922['map'](V);return _0x35fcf2=>_0x2c6880['some'](_0x20452c=>_0x20452c(_0x35fcf2));}if('origin'==_0x19f922){const _0x48028d=_0x269879['window']['location']['origin'];return _0x457615=>new URL(_0x457615,_0x269879['document']['baseURI'])['origin']==_0x48028d;}return'function'==typeof _0x19f922?_0x19f922:_0x19f922 instanceof RegExp?_0x2b19fc=>!(!_0x2b19fc['match'](_0x19f922)&&!_0x2b19fc['replace'](/^https?:\/\//,'')['match'](_0x19f922)):()=>!0x1;}function F(_0x3a3415,_0x3d3b46){return _0x109de0(_0x3a3415['target'])['includes'](_0x3d3b46);}class l extends/* #__PURE__ -- @preserve */
24
- _0x2e87b1(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xf1ac81,_0x499be4,_0x144bab){super(),this['_editor']=_0xf1ac81,this['_editing']=_0x499be4,this['_dialog']=_0xf1ac81['plugins']['get'](_0x18dc70),this['_api']=_0x499be4['ctxElement']['getAPI'](),this['_type']=_0x144bab,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:_0x2b7701,model:_0x713f5d}=this['_editor'],_0x3e99cb=_0x713f5d['document']['selection']['getSelectedElement'](),_0x80022=_0x3e99cb&&(_0x3e99cb['is']('element','imageBlock')||_0x3e99cb['is']('element','imageInline'));this['_formView']=new S(_0x2b7701),this['_dialog']['show']({'id':'uploadCare','icon':_0x51e128,'title':_(_0x2b7701,this['_type'],_0x80022?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x7eb6fb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x44e362=>!F(_0x44e362,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xc15132}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x172803=>{const _0x48bf5a=_0xc15132['length'];for(const _0x300942 of _0xc15132){const _0x1d0ba6=_0x300942===_0xc15132[_0x48bf5a-0x1],{cdnUrl:_0x43df50,fileInfo:_0x11d247}=_0x300942;if(!_0x43df50||!_0x11d247)continue;const {width:_0x156488,height:_0x289e73}=_0x11d247['imageInfo'],_0x39e2ab=A(_0x43df50,_0x156488,_0x289e73),_0x4e7686=E(_0x43df50,_0x39e2ab['width']),_0x12fb09={'id':_0x11d247['uuid'],'type':'image','attributes':{'imageDimension':_0x39e2ab,..._0x4e7686}};this['_insertAsset'](_0x12fb09,_0x1d0ba6,_0x172803);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3e5dd6=>{'idle'===_0x3e5dd6['detail']['status']&&!_0x3e5dd6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3f11c2,_0x4f3ae0,_0x178719){const _0x1479d2=this['_editor']['model']['document']['selection'],_0x2f5609=_0x1479d2['getSelectedElement'](),_0x26f874=!(!_0x2f5609||!_0x2f5609['is']('element','imageInline'));_0x178719['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3f11c2,_0x26f874),_0x4f3ae0||_0x178719['setSelection'](_0x1479d2['getLastPosition']());}['_insertImage'](_0x311fec,_0x4e4252){const _0x52bb46=this['_editor'],{imageDimension:_0x7f8181,imageFallbackUrl:_0x94aae1,imageSources:_0x4fc273}=_0x311fec['attributes'];_0x52bb46['execute']('insertImage',{'imageType':_0x4e4252?'imageInline':null,'source':{'uploadcareImageId':_0x311fec['id'],'src':_0x94aae1,'sources':_0x4fc273,..._0x7f8181}});}}class n extends _0x4dc350{['_editing'];['_controller']=null;static get['requires'](){return[_0x18dc70,i];}constructor(_0x551800){super(_0x551800),this['_editing']=_0x551800['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1aa9c3){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x1aa9c3);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x57ff1f,publicKey:_0x4f32f9,signal:_0x3af044,onProgress:_0x3f15d8}){return _0x214a3d(_0x57ff1f,{'publicKey':_0x4f32f9,'store':'auto','signal':_0x3af044,'onProgress':_0x3f15d8});}static['getInfo'](_0x57b6a2,_0x3164ad){return _0x238a8e(_0x57b6a2,_0x3164ad);}}class p extends _0xdcae0d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x485313,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x13fe2a=this['editor'];if(!!!_0x13fe2a['config']['get']('uploadcare'))return;_0x13fe2a['plugins']['get'](_0x485313)['createUploadAdapter']=_0xc052de=>new x(_0xc052de,_0x13fe2a),_0x13fe2a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x49e4a9,{imageElement:_0x1761a1,data:_0x28276c})=>{_0x13fe2a['model']['change'](_0x54330f=>{_0x54330f['setAttribute']('uploadcareImageId',_0x28276c['uploadcareImageId'],_0x1761a1);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x19d1a6,_0x3753f5){this['loader']=_0x19d1a6,this['editor']=_0x3753f5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x59977c=this['editor']['config']['get']('uploadcare.pubkey'),_0x5c8895=await this['loader']['file'];return C['upload']({'file':_0x5c8895,'publicKey':_0x59977c,'signal':this['controller']['signal'],'onProgress':_0x4a3cb4=>{_0x4a3cb4&&_0x4a3cb4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4a3cb4['value']);}})['then'](async _0x56149b=>{const {imageFallbackUrl:_0x275598,imageSources:_0x276652}=E(_0x56149b['cdnUrl'],_0x56149b['imageInfo']['width']);return{'uploadcareImageId':_0x56149b['uuid'],'default':_0x275598,'sources':_0x276652};})['catch'](()=>{const _0x29ce7e=t('Cannot\x20upload\x20file:')+('\x20'+_0x5c8895['name']+'.');return Promise['reject'](_0x29ce7e);});}['abort'](){this['controller']['abort']();}}class i extends _0xdcae0d{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x18dc70];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x1fa077=this['editor'];_0x1fa077['commands']['add']('uploadcare',new n(_0x1fa077));}['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 _0x536ead=_0x269879['document']['querySelector']('input[uploadcare-file-input]');_0x536ead&&_0x536ead['remove']();}),async function(_0x22689b){const _0x5dbeb3=_0x41c7c3([0x68,0x6f,0x75,0x63,0x35,0x32,0x44,0x66,0x76,0x51,0x4e,0x58,0x55,0x62,0x65,0x4c,0x43,0x61,0x7a,0x72,0x73,0x69,0x4b,0x6c,0x49,0x56,0x6d,0x45,0x48,0x6e,0x53,0x41,0x4a,0x6b,0x47,0x67,0x33,0x54,0x78,0x36,0x30,0x5a,0x70,0x42,0x4f,0x38,0x37,0x34,0x74,0x46,0x64,0x4d,0x52,0x79,0x50,0x57,0x31,0x71,0x77,0x6a,0x39,0x59]),_0x1251f4=0x619ff3c8,_0x16f8b6=0x61989098^_0x1251f4,_0x535a5f=window[_0x41c7c3([0x44,0x61,0x74,0x65])][_0x41c7c3([0x6e,0x6f,0x77])](),_0x3de148=_0x22689b[_0x41c7c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x173318=new window[(_0x41c7c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x563ecc=>{_0x3de148[_0x41c7c3([0x6f,0x6e,0x63,0x65])](_0x41c7c3([0x72,0x65,0x61,0x64,0x79]),_0x563ecc);}),_0x3e7d52={[_0x41c7c3([0x6b,0x74,0x79])]:_0x41c7c3([0x45,0x43]),[_0x41c7c3([0x75,0x73,0x65])]:_0x41c7c3([0x73,0x69,0x67]),[_0x41c7c3([0x63,0x72,0x76])]:_0x41c7c3([0x50,0x2d,0x32,0x35,0x36]),[_0x41c7c3([0x78])]:_0x41c7c3([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]),[_0x41c7c3([0x79])]:_0x41c7c3([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]),[_0x41c7c3([0x61,0x6c,0x67])]:_0x41c7c3([0x45,0x53,0x32,0x35,0x36])},_0x557852=_0x3de148[_0x41c7c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41c7c3([0x67,0x65,0x74])](_0x41c7c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x187cad(){let _0x1c0085,_0x49abbb=null,_0x8504f1=null;try{if(_0x557852==_0x41c7c3([0x47,0x50,0x4c]))return _0x41c7c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c0085=_0x59ac9a(),!_0x1c0085)return _0x41c7c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c0085[_0x41c7c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8504f1=_0x2c6e08(_0x1c0085[_0x41c7c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c0085[_0x41c7c3([0x6a,0x74,0x69])])),await _0x3c0b47()?_0x113dd5()?_0x169e5c()?_0x41c7c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2b2b06()?(_0x1c0085[_0x41c7c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41c7c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49abbb=_0x5530af(_0x41c7c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c0085[_0x41c7c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41c7c3([0x74,0x72,0x69,0x61,0x6c])&&(_0x49abbb=_0x5530af(_0x41c7c3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x462c3c()):_0x41c7c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41c7c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41c7c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xf360ff){return _0x41c7c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x169e5c(){const _0x1ae631=[_0x41c7c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41c7c3([0x74,0x72,0x69,0x61,0x6c])][_0x41c7c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c0085[_0x41c7c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x535a5f/0x3e8:0xe10*_0x16f8b6;return _0x1c0085[_0x41c7c3([0x65,0x78,0x70])]<_0x1ae631;}function _0x113dd5(){const _0x264933=_0x1c0085[_0x41c7c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x264933&&(!!_0x264933[_0x41c7c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c7c3([0x2a]))||!!_0x264933[_0x41c7c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c7c3([0x55,0x50,0x4c,0x43])));}function _0x2b2b06(){const _0x58f6e5=_0x1c0085[_0x41c7c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58f6e5||0x0==_0x58f6e5[_0x41c7c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50c53d}=new URL(window[_0x41c7c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x58f6e5[_0x41c7c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50c53d))return!0x0;const _0x414439=_0x50c53d[_0x41c7c3([0x73,0x70,0x6c,0x69,0x74])](_0x41c7c3([0x2e]));return _0x58f6e5[_0x41c7c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44bc22=>_0x44bc22[_0x41c7c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c7c3([0x2a])))[_0x41c7c3([0x6d,0x61,0x70])](_0x5b65a2=>_0x5b65a2[_0x41c7c3([0x73,0x70,0x6c,0x69,0x74])](_0x41c7c3([0x2e])))[_0x41c7c3([0x73,0x6f,0x6d,0x65])](_0x215bb5=>_0x414439[_0x41c7c3([0x65,0x76,0x65,0x72,0x79])]((_0x17670c,_0x190054)=>_0x215bb5[_0x190054]===_0x17670c||_0x215bb5[_0x190054]===_0x41c7c3([0x2a])));}function _0x462c3c(){return _0x49abbb&&_0x8504f1?new window[(_0x41c7c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34ac2d,_0x3376ae)=>{_0x49abbb[_0x41c7c3([0x74,0x68,0x65,0x6e])](_0x34ac2d,_0x3376ae),_0x8504f1[_0x41c7c3([0x74,0x68,0x65,0x6e])](_0x377330=>{_0x377330!=_0x41c7c3([0x56,0x61,0x6c,0x69,0x64])&&_0x34ac2d(_0x377330);},_0x3376ae);}):_0x49abbb||_0x8504f1||_0x41c7c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c6e08(_0x1a6f80,_0x12b524){return new window[(_0x41c7c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x368bf2=>{if(_0x570cc8())return _0x368bf2(_0x41c7c3([0x56,0x61,0x6c,0x69,0x64]));_0x55dc65(),_0x3de148[_0x41c7c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41c7c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xcc8493=!0x1;const _0x411edd=_0x494c1e();function _0x43d030(_0x889052){return!!_0x889052&&(typeof _0x889052===_0x41c7c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x889052===_0x41c7c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x889052[_0x41c7c3([0x74,0x68,0x65,0x6e])]===_0x41c7c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x889052[_0x41c7c3([0x63,0x61,0x74,0x63,0x68])]===_0x41c7c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33f847(_0x5e45b3){_0x581ad4(_0x5e45b3)[_0x41c7c3([0x74,0x68,0x65,0x6e])](_0x58fe38=>{if(!_0x58fe38||_0x58fe38[_0x41c7c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41c7c3([0x6f,0x6b]))return _0x41c7c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x231593(_0x4ecf08(_0x411edd+_0x12b524))!=_0x58fe38[_0x41c7c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41c7c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41c7c3([0x56,0x61,0x6c,0x69,0x64]);})[_0x41c7c3([0x74,0x68,0x65,0x6e])](_0x26cdb1=>(_0x52e599(),_0x26cdb1),()=>{const _0x389650=_0x28f0c2();return null==_0x389650?(_0x52e599(),_0x41c7c3([0x56,0x61,0x6c,0x69,0x64])):_0x41c7c3(_0x535a5f-_0x389650>(0x459377c8^_0x1251f4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41c7c3([0x74,0x68,0x65,0x6e])](_0x368bf2)[_0x41c7c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x368bf2(_0x41c7c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x421e2e=0x61a91d48^_0x1251f4;function _0x52e599(){const _0x2db278=_0x41c7c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x231593(_0x4ecf08(_0x1a6f80)),_0x4eb110=_0x4882cf(_0x231593(window[_0x41c7c3([0x4d,0x61,0x74,0x68])][_0x41c7c3([0x63,0x65,0x69,0x6c])](_0x535a5f/_0x421e2e)));window[_0x41c7c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41c7c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2db278,_0x4eb110);}function _0x28f0c2(){const _0x1d8c87=_0x41c7c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x231593(_0x4ecf08(_0x1a6f80)),_0x4aadb0=window[_0x41c7c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41c7c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d8c87);return _0x4aadb0?window[_0x41c7c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4882cf(_0x4aadb0),0x10)*_0x421e2e:null;}function _0x581ad4(_0x41a21d){return new window[(_0x41c7c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a1463,_0x19830d)=>{_0x41a21d[_0x41c7c3([0x74,0x68,0x65,0x6e])](_0x2a1463,_0x19830d),window[_0x41c7c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19830d,0x619e2708^_0x1251f4);});}}_0x3de148[_0x41c7c3([0x6f,0x6e])](_0x41c7c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x154838,_0x41f99e)=>{if(_0x41f99e[0x0]!=_0x1a6f80)return _0x368bf2(_0x41c7c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41f99e[0x1]={..._0x41f99e[0x1],[_0x41c7c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x411edd};},{[_0x41c7c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41c7c3([0x68,0x69,0x67,0x68])}),_0x3de148[_0x41c7c3([0x6f,0x6e])](_0x41c7c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26dbc6=>{_0x43d030(_0x26dbc6[_0x41c7c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xcc8493=!0x0,_0x33f847(_0x26dbc6[_0x41c7c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41c7c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41c7c3([0x6c,0x6f,0x77])}),_0x173318[_0x41c7c3([0x74,0x68,0x65,0x6e])](()=>{_0xcc8493||_0x368bf2(_0x41c7c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x570cc8(){return _0x3de148[_0x41c7c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41c7c3([0x76,0x69,0x65,0x77])][_0x41c7c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41c7c3([0x61,0x75,0x74,0x6f]);}function _0x55dc65(){_0x3de148[_0x41c7c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41c7c3([0x76,0x69,0x65,0x77])][_0x41c7c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41c7c3([0x61,0x75,0x74,0x6f]);}}function _0x5530af(_0x4bdfac){const _0x50f71b=[new window[(_0x41c7c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5b9f=>setTimeout(_0x5e5b9f,0x6196cd04^_0x1251f4)),_0x173318[_0x41c7c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41c7c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x331cc2=>{let _0xb3ea56=0x0;_0x3de148[_0x41c7c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x41c7c3([0x6f,0x6e])](_0x41c7c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1de546,_0x2875a3)=>{_0x2875a3[0x0][_0x41c7c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb3ea56++,_0xb3ea56==(0x619ff230^_0x1251f4)&&(_0x331cc2(),_0x1de546[_0x41c7c3([0x6f,0x66,0x66])]());});}))];return window[_0x41c7c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41c7c3([0x72,0x61,0x63,0x65])](_0x50f71b)[_0x41c7c3([0x74,0x68,0x65,0x6e])](()=>_0x4bdfac);}async function _0x3b2603(){await _0x173318,_0x3de148[_0x41c7c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x41c7c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1acaa5,_0x3de148[_0x41c7c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x41c7c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1acaa5,_0x3de148[_0x41c7c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41c7c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d590d(_0x15da16){const _0x1650c0=_0x57c48d();_0x3de148[_0x1650c0]=_0x41c7c3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15da16,_0x15da16!=_0x41c7c3([0x56,0x61,0x6c,0x69,0x64])&&_0x3b2603();}function _0x57c48d(){const _0x3161c2=window[_0x41c7c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41c7c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41c7c3([0x6e,0x6f,0x77])]())[_0x41c7c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41c7c3([0x2e]),'');let _0x2ae3c2=_0x41c7c3([0x68]);for(let _0x38f31a=0x0;_0x38f31a<_0x3161c2[_0x41c7c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38f31a+=0x2){let _0x30d5e4=window[_0x41c7c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3161c2[_0x41c7c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38f31a,_0x38f31a+0x2));_0x30d5e4>=_0x5dbeb3[_0x41c7c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30d5e4-=_0x5dbeb3[_0x41c7c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ae3c2+=_0x5dbeb3[_0x30d5e4];}return _0x2ae3c2;}function _0x59ac9a(){const _0x55114f=_0x557852[_0x41c7c3([0x73,0x70,0x6c,0x69,0x74])](_0x41c7c3([0x2e]));if(0x3!=_0x55114f[_0x41c7c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b2b7b(_0x55114f[0x1]);function _0x5b2b7b(_0xa5b6da){const _0x3fb42f=_0x20154f(_0xa5b6da);return _0x3fb42f&&_0x3a4ae0()?_0x3fb42f:null;function _0x3a4ae0(){const _0x168bcb=_0x3fb42f[_0x41c7c3([0x6a,0x74,0x69])],_0x251fcb=window[_0x41c7c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x168bcb[_0x41c7c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x168bcb[_0x41c7c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfd8cee={..._0x3fb42f,[_0x41c7c3([0x6a,0x74,0x69])]:_0x168bcb[_0x41c7c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x168bcb[_0x41c7c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfd8cee[_0x41c7c3([0x76,0x63])],_0x4ecf08(_0xfd8cee)==_0x251fcb;}}}async function _0x3c0b47(){let _0x4fbcee=!0x0;try{const _0x384a61=_0x557852[_0x41c7c3([0x73,0x70,0x6c,0x69,0x74])](_0x41c7c3([0x2e])),[_0x505997,_0x1f39a9,_0x440acd]=_0x384a61;return _0x398c4c(_0x505997),await _0x33a8e7(_0x505997,_0x1f39a9,_0x440acd),_0x4fbcee;}catch(_0x55fa24){return!0x1;}function _0x398c4c(_0x32d113){const _0x38cbbb=_0x20154f(_0x32d113);_0x38cbbb&&_0x38cbbb[_0x41c7c3([0x61,0x6c,0x67])]==_0x41c7c3([0x45,0x53,0x32,0x35,0x36])||(_0x4fbcee=!0x1);}async function _0x33a8e7(_0x421d59,_0x554f18,_0x40f3e6){const _0x36315a=window[_0x41c7c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41c7c3([0x66,0x72,0x6f,0x6d])](_0x2c5552(_0x40f3e6),_0x21a207=>_0x21a207[_0x41c7c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d91ce=new window[(_0x41c7c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41c7c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x421d59+_0x41c7c3([0x2e])+_0x554f18),_0x2ab4ec=window[_0x41c7c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41c7c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ab4ec)return;const _0xe54c9e=await _0x2ab4ec[_0x41c7c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41c7c3([0x6a,0x77,0x6b]),_0x3e7d52,{[_0x41c7c3([0x6e,0x61,0x6d,0x65])]:_0x41c7c3([0x45,0x43,0x44,0x53,0x41]),[_0x41c7c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41c7c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41c7c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ab4ec[_0x41c7c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41c7c3([0x6e,0x61,0x6d,0x65])]:_0x41c7c3([0x45,0x43,0x44,0x53,0x41]),[_0x41c7c3([0x68,0x61,0x73,0x68])]:{[_0x41c7c3([0x6e,0x61,0x6d,0x65])]:_0x41c7c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe54c9e,_0x36315a,_0x3d91ce)||(_0x4fbcee=!0x1);}}function _0x20154f(_0x3b00f5){return _0x3b00f5[_0x41c7c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41c7c3([0x65,0x79]))?JSON[_0x41c7c3([0x70,0x61,0x72,0x73,0x65])](_0x2c5552(_0x3b00f5)):null;}function _0x2c5552(_0xbe0ba7){return window[_0x41c7c3([0x61,0x74,0x6f,0x62])](_0xbe0ba7[_0x41c7c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41c7c3([0x2b]))[_0x41c7c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41c7c3([0x2f])));}function _0x4ecf08(_0x5c2b0e){let _0xab05aa=0x1505;function _0x1481c8(_0x486c48){for(let _0x3e9526=0x0;_0x3e9526<_0x486c48[_0x41c7c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e9526++){const _0x42d1ee=_0x486c48[_0x41c7c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e9526);_0xab05aa=(_0xab05aa<<0x5)+_0xab05aa+_0x42d1ee,_0xab05aa&=_0xab05aa;}}function _0x4f6eae(_0x5d258f){Array[_0x41c7c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d258f)?_0x5d258f[_0x41c7c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f6eae):_0x5d258f&&typeof _0x5d258f==_0x41c7c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41c7c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d258f)[_0x41c7c3([0x73,0x6f,0x72,0x74])]()[_0x41c7c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x169ac4,_0xc9fb72])=>{_0x1481c8(_0x169ac4),_0x4f6eae(_0xc9fb72);}):_0x1481c8(window[_0x41c7c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d258f));}return _0x4f6eae(_0x5c2b0e),_0xab05aa>>>0x0;}function _0x231593(_0x5a536e){return _0x5a536e[_0x41c7c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41c7c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41c7c3([0x30]));}function _0x4882cf(_0x11ee23){return _0x11ee23[_0x41c7c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41c7c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41c7c3([0x6a,0x6f,0x69,0x6e])]('');}function _0x1acaa5(){}function _0x41c7c3(_0x484c52){return _0x484c52['map'](_0x12652c=>String['fromCharCode'](_0x12652c))['join']('');}_0x4d590d(await _0x187cad());}(this);}['_initSchema'](){const _0x231610=this['editor']['model']['schema'];_0x231610['isRegistered']('imageBlock')&&_0x231610['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x231610['isRegistered']('imageInline')&&_0x231610['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x749238=this['editor'];_0x749238['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x749238['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x22f10b=>_0x22f10b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x57b20e=_0x749238['commands']['get']('replaceImageSource');_0x57b20e&&this['listenTo'](_0x57b20e,'cleanupImage',(_0x42113a,[_0x146e3a,_0x3f7451])=>{_0x146e3a['removeAttribute']('uploadcareImageId',_0x3f7451);});}['_initConfig'](){const _0x35e3bc=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2d07e1=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x878022(_0x269879['document'],'uc-config',{..._0x35e3bc,'pubkey':_0x2d07e1,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x1f033c=>{if('closeMax'==_0x1f033c)return'#uc-icon-arrow-down';},_0x269879['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x878022(_0x269879['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x269879['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x579b86=this['editor']['commands']['get']('insertImage');_0x579b86&&this['listenTo'](_0x579b86,'execute',()=>{const _0x2d68c9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2d68c9&&_0x2d68c9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2d68c9);});});const _0x5846c4=this['editor']['commands']['get']('uploadcareImageReplace');_0x5846c4&&this['listenTo'](_0x5846c4,'execute',()=>{const _0x5adac9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5adac9&&_0x5adac9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x5adac9);});});}}class u extends _0xdcae0d{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x49888c){super(_0x49888c),_0x49888c['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x125d40['defineComponents'](_0x125d40);}}class ta extends _0x162a25{constructor(_0x56efaa){super(_0x56efaa);const t=_0x56efaa['t'],_0x26ce3c=this['bindTemplate'],_0x4e4f1c=new _0x37c5d1();_0x4e4f1c['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':[_0x4e4f1c,{'text':_0x26ce3c['to']('imageUploadProgress',_0x2e9584=>t('Loading\x20image...')+'\x20('+(_0x2e9584||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x162a25{constructor(_0x51142b){super(_0x51142b);const t=_0x51142b['t'];this['set']('errorType',null);const _0x3e68c8=new _0x3deb83(_0x51142b);_0x3e68c8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3e68c8['withText']=!0x0,_0x3e68c8['class']='ck-button-action',_0x3e68c8['on']('execute',()=>{this['fire']('retry');}),_0x3e68c8['bind']('isVisible')['to'](this,'errorType',_0xe76338=>'NotFound'!==_0xe76338);const _0x2fff8a=new at();_0x2fff8a['content']=et,_0x2fff8a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x47313c=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':[_0x2fff8a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x47313c['to']('errorType',_0x2c26e=>t('NotFound'!==_0x2c26e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3e68c8]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x162a25{constructor(_0x132ee7,_0x3d0147){super(_0x132ee7);const _0x6c2bf6=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3d0147,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x6c2bf6['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x353cd4,_0x1e8961,_0x2f8b27){super(_0x353cd4),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x353cd4),this['_errorView']=new rt(_0x353cd4),this['_editingView']=new tt(_0x353cd4,_0x2f8b27),this['_focusableView']=new _0x162a25(_0x353cd4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1e8961),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'],_0x4be9ca=>{this['_addUploadcareImageEditorListeners'](_0x4be9ca);});}),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'](_0x13e296,_0x4eeafc){const _0x46e4a9='uc-cloud-image-editor',_0x4b4084=_0x13e296['querySelector'](_0x46e4a9);if(_0x4b4084)return _0x4eeafc(_0x4b4084);const _0xc2db2f=new MutationObserver(_0x390ab2=>{const _0x5b4f80=_0x390ab2['filter'](_0x5a0ff9=>_0x5a0ff9['target']===_0x13e296&&_0x5a0ff9['addedNodes']['length']>0x0&&_0x5a0ff9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x46e4a9);_0x5b4f80['length']&&(_0xc2db2f['disconnect'](),_0x4eeafc(_0x5b4f80[0x0]['addedNodes'][0x0]));});_0xc2db2f['observe'](_0x13e296,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x15c235){_0x15c235['addEventListener']('apply',_0x47345c=>{this['fire']('apply',{'imageSrc':_0x47345c['detail']['cdnUrl']});}),_0x15c235['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x2e87b1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3ca94d,_0x50db77,_0xd23828){super(),this['_editor']=_0x3ca94d,this['_dialog']=_0x50db77,this['_imageElement']=_0xd23828,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 _0x1a0efa=this['_imageElement'],_0x5cf0fc=_0x1a0efa['getAttribute']('uploadcareImageId'),_0x5ca213=_0x1a0efa['getAttribute']('src');if(_0x5cf0fc)await this['_loadImageInfo'](_0x5cf0fc,_0x5ca213);else{if(this['_imageCache']['has'](_0x5ca213)){const _0x2d5b70=this['_imageCache']['get'](_0x5ca213);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d5b70['url'],this['imageDimension']=_0x2d5b70['dimension'],this['imageId']=_0x2d5b70['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x34de15}=this['_editor'],t=_0x34de15['t'],_0x389698=new Z(_0x34de15,this['imageStatus'],this['_attributes']);_0x389698['bind']('status')['to'](this,'imageStatus'),_0x389698['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x389698['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x389698['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x389698,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x30fd27,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x389698,'position':_0x7eb6fb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x389698['focus']();},'onHide':()=>{_0x389698['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2b7580=>!F(_0x2b7580,_0x389698['element'])}});}['_loadImageInfo'](_0x32bfb2,_0x2d783d){return C['getInfo'](_0x32bfb2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x7cfa02=>{const {width:_0x43dbe3,height:_0x4c8e68}=_0x7cfa02['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d783d,this['imageDimension']={'width':_0x43dbe3,'height':_0x4c8e68},this['imageId']=_0x32bfb2;})['catch'](_0x2ea596=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ea596['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2bc779,_0x46f5ec){return this['_getImageAsFile'](_0x2bc779)['then'](_0x1fae88=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x46f5ec['signal'],'file':_0x1fae88,'onProgress':_0x44a52a=>{_0x44a52a&&_0x44a52a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x44a52a['value']));}}))['then'](_0xaeddfd=>{const {width:_0x4faf02,height:_0x285564}=_0xaeddfd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xaeddfd['cdnUrl'],this['imageDimension']={'width':_0x4faf02,'height':_0x285564},this['imageId']=_0xaeddfd['uuid'],this['imageUploadProgress']=null;const _0x513b73=_0x2bc779['getAttribute']('src');this['_imageCache']['set'](_0x513b73,{'id':_0xaeddfd['uuid'],'url':_0xaeddfd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x279fc9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x279fc9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x17791b,_0x31eadd){_0x17791b['on']('apply',(_0x570464,_0x49150f)=>{this['_replaceImage'](_0x31eadd,_0x49150f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x17791b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x17791b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x435904,_0x1d81d1,_0x30ed7f){const _0x47887e=this['_editor'],{width:_0x151e99,height:_0x356d72}=A(_0x1d81d1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x24ec94,imageSources:_0x245fe7}=E(_0x1d81d1,_0x151e99);_0x47887e['model']['change'](_0x32a1ea=>{if('$graveyard'===_0x435904['root']['rootName']){_0x47887e['execute']('insertImage',{'imageType':_0x435904['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x435904['getAttributes']()),'uploadcareImageId':_0x30ed7f,'src':_0x24ec94,'sources':_0x245fe7,'width':_0x151e99,'height':_0x356d72}});const _0x507b23=_0x435904['getChildren']();_0x435904=_0x47887e['model']['document']['selection']['getSelectedElement']();for(const _0x408e9f of _0x507b23)_0x32a1ea['append'](_0x32a1ea['cloneElement'](_0x408e9f),_0x435904);}else _0x32a1ea['setSelection'](_0x435904,'on'),_0x47887e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x435904['getAttributes']()),'uploadcareImageId':_0x30ed7f,'src':_0x24ec94,'sources':_0x245fe7,'width':_0x151e99,'height':_0x356d72},_0x435904);_0x32a1ea['setSelection'](_0x435904,'on');});}async['_getImageAsFile'](_0x4e916e){const _0x1f5688=_0x269879['window'],_0x45c5e0=_0x269879['document']['location']['href'],_0xcd8afb=new _0x1f5688['URL'](_0x4e916e['getAttribute']('src'),_0x45c5e0);if('data:'===_0xcd8afb['protocol']){const _0x5202f2=_0xcd8afb['href']['split'](','),_0x3cf092=_0x5202f2[0x0]['match'](/:(.*?);/)[0x1],_0x3daadf=_0x3cf092['split']('/')[0x1],_0x5cc238=_0x1f5688['atob'](_0x5202f2[_0x5202f2['length']-0x1]);let _0x5b78ab=_0x5cc238['length'];const _0x1703e7=new _0x1f5688['Uint8Array'](_0x5b78ab);for(;_0x5b78ab--;)_0x1703e7[_0x5b78ab]=_0x5cc238['charCodeAt'](_0x5b78ab);return new _0x1f5688['File']([_0x1703e7],'image.'+_0x3daadf,{'type':_0x3cf092});}const _0x12df9f=_0xcd8afb['href']['split']('/'),_0x5d799a=_0x12df9f[_0x12df9f['length']-0x1],_0x10c6e8=_0x5d799a['split']('.')[0x1];return _0x1f5688['fetch'](_0xcd8afb['href'])['then'](_0x50344d=>_0x50344d['clone']()['blob']())['then'](_0x4d7933=>new _0x1f5688['File']([_0x4d7933],_0x5d799a,{'type':'image/'+_0x10c6e8}));}}class J extends _0x4dc350{['imageEditController'];static get['requires'](){return[_0x18dc70];}['_isEditable'];constructor(_0x486727){super(_0x486727),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x14be57){const _0x2df763=V(_0x14be57);return _0x37a026=>!(!_0x37a026||!_0x37a026['is']('element','imageBlock')&&!_0x37a026['is']('element','imageInline'))&&(!!_0x37a026['hasAttribute']('uploadcareImageId')||!!_0x37a026['hasAttribute']('src')&&_0x2df763(_0x37a026['getAttribute']('src')));}(_0x486727['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x14a386=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x14a386);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x361bcd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x361bcd&&(_0x361bcd['is']('element','imageBlock')||_0x361bcd['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x18dc70),_0x361bcd),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x4dc350{['refresh'](){const _0x15965d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x15965d&&(_0x15965d['is']('element','imageBlock')||_0x15965d['is']('element','imageInline')));}['execute'](_0x7e839e){const _0x67f293=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x22091b=>{_0x22091b['setAttributes'](_0x7e839e,_0x67f293),_0x22091b['removeAttribute']('srcset',_0x67f293),_0x22091b['removeAttribute']('sizes',_0x67f293);});}}class g extends _0xdcae0d{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x1b82c8,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5a3840}=this;_0x5a3840['commands']['add']('uploadcareImageEdit',new J(_0x5a3840)),_0x5a3840['commands']['add']('uploadcareImageReplace',new O(_0x5a3840));}}class j extends _0xdcae0d{['_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 _0x8ee817=this['editor'];_0x8ee817['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4eb0f7=>{const _0x537d92=_0x8ee817['commands']['get']('uploadcareImageEdit'),_0x13ce1d=new _0x3deb83(_0x4eb0f7),t=_0x4eb0f7['t'];return _0x13ce1d['set']({'icon':_0x30fd27,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x13ce1d['bind']('isEnabled')['to'](_0x537d92),_0x13ce1d['bind']('isOn')['to'](_0x537d92,'isActive'),this['listenTo'](_0x13ce1d,'execute',()=>{_0x8ee817['execute']('uploadcareImageEdit'),_0x8ee817['editing']['view']['focus']();}),_0x13ce1d;}),this['_initConfig']();}['_initConfig'](){const _0x5b24b7=_0x878022(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5b24b7),this['listenTo'](this['editor'],'destroy',()=>{_0x5b24b7['remove']();});}}class P extends _0xdcae0d{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x4b1643,Command as _0x72aed9}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1eae0c,IconGooglePhotos as _0x59aa6f,IconGoogleDrive as _0x47bb7b,IconFacebook as _0x3397b9,IconDropbox as _0x53a1d1,IconUploadcareLink as _0x4d4b91,IconUploadcareImageUpload as _0x58afa9,IconError as et,IconUploadcareImageEdit as _0x293e12}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2fe36f,MenuBarMenuListItemButtonView as _0x3562b1,View as _0x4eb252,FocusCycler as _0xbd3c46,Dialog as _0x21b59c,DialogViewPosition as _0x3b991b,SpinnerView as _0x12eb5f,IconView as at,Notification as _0x5c0c66}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x222885,DomEmitterMixin as _0x3db2fd,global as _0x530f25,getAncestors as _0x57bc4c,ObservableMixin as _0x42a206,createElement as _0x545e04,uid as _0x37397e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x54dfa8}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x23dd83,info as _0x5cf94c}from'@uploadcare/upload-client';import*as _0xa708e2 from'@uploadcare/file-uploader';var o=function(_0x2ccfa4){return _0x2ccfa4['Local']='local',_0x2ccfa4['URL']='url',_0x2ccfa4['Dropbox']='dropbox',_0x2ccfa4['GDrive']='gdrive',_0x2ccfa4['Facebook']='facebook',_0x2ccfa4['GPhotos']='gphotos',_0x2ccfa4['OneDrive']='onedrive',_0x2ccfa4;}({});function _(_0x3cd052,_0x129f5c,_0x1a6698){const t=_0x3cd052['t'],_0x1cd3b1=_0x3cd052['t'];switch(_0x129f5c){case o['Local']:return{'text':_0x1cd3b1('Insert'===_0x1a6698?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1cd3b1('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x1a6698?_0x1cd3b1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1cd3b1('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x1a6698?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x1a6698?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x1a6698?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x1a6698?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x1a6698?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x129f5c;}}class e extends _0x4b1643{['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 _0x17f148=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1358b5;for(const _0x2fa73f in _0x17f148){const _0x4d2a11=_0x2fa73f,_0x5243fc=_0x17f148[_0x4d2a11];if('uploadcareLicenseKeyValid'==_0x5243fc||'uploadcareLicenseKeyInvalid'==_0x5243fc||'uploadcareLicenseKeyExpired'==_0x5243fc||'uploadcareLicenseKeyDomainLimit'==_0x5243fc||'uploadcareLicenseKeyNotAllowed'==_0x5243fc||'uploadcareLicenseKeyEvaluationLimit'==_0x5243fc||'uploadcareLicenseKeyTrialLimit'==_0x5243fc||'uploadcareLicenseKeyUsageLimit'==_0x5243fc){delete _0x17f148[_0x4d2a11],_0x1358b5=_0x5243fc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1358b5&&_0x17f148['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1358b5&&_0x17f148['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1358b5&&_0x17f148['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1358b5&&_0x17f148['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1358b5&&_0x17f148['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1358b5&&_0x17f148['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1358b5&&_0x17f148['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x28c461}=this,_0x3bac19=_0x28c461['commands']['get']('uploadcare');if(!_0x3bac19)return;const _0x3c3eee=this['_normalizeConfigSourceList'](_0x28c461['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x9904fd,_0x3bee97)=>{const _0x4bf7c0=this['_getIntegrationKey'](_0x3bee97['type']);return _0x9904fd[_0x4bf7c0]||(_0x9904fd[_0x4bf7c0]=[]),_0x9904fd[_0x4bf7c0]['push'](_0x3bee97),_0x9904fd;},{});_0x28c461['plugins']['has']('ImageInsertUI')&&_0x28c461['commands']['get']('uploadcare')&&Object['entries'](_0x3c3eee)['forEach'](([_0x2fec2e,_0x46b204])=>{_0x28c461['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2fec2e,'observable':()=>_0x3bac19,'buttonViewCreator':()=>this['_createToolbarButton'](_0x46b204),'formViewCreator':()=>this['_createDropdownButtons'](_0x46b204),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x46b204),'override':'assetManager'!==_0x2fec2e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x320379){const {locale:_0x2f57d3}=this['editor'];return _0x320379['map'](_0x3e184c=>{const _0x25fec0=_(_0x2f57d3,_0x3e184c,'Insert');switch(_0x3e184c){case o['Local']:return{'icon':_0x58afa9,'type':o['Local'],..._0x25fec0};case o['URL']:return{'icon':_0x4d4b91,'type':o['URL'],..._0x25fec0};case o['Dropbox']:return{'icon':_0x53a1d1,'type':o['Dropbox'],..._0x25fec0};case o['Facebook']:return{'icon':_0x3397b9,'type':o['Facebook'],..._0x25fec0};case o['GDrive']:return{'icon':_0x47bb7b,'type':o['GDrive'],..._0x25fec0};case o['GPhotos']:return{'icon':_0x59aa6f,'type':o['GPhotos'],..._0x25fec0};case o['OneDrive']:return{'icon':_0x1eae0c,'type':o['OneDrive'],..._0x25fec0};}});}['_getIntegrationKey'](_0x52cea1){switch(_0x52cea1){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2d5476,_0x241b68){const _0x2fea14=this['editor'],_0x31a1d5=new _0x2d5476(_0x2fea14['locale']),_0x3adeb2=_0x2fea14['commands']['get']('uploadcare');return _0x31a1d5['bind']('isEnabled')['to'](_0x3adeb2),_0x31a1d5['on']('execute',()=>{_0x3adeb2['execute'](_0x241b68);}),_0x31a1d5;}['_createToolbarButton'](_0xa1a854){const {locale:_0x1bf177}=this['editor'],_0xc71383=this['editor']['plugins']['get']('ImageInsertUI'),_0x3adb9f=_0xa1a854[0x0],_0x5e893a=this['_createButton'](_0x2fe36f,_0x3adb9f['type']);return _0x5e893a['icon']=_0x3adb9f['icon'],_0x5e893a['bind']('label')['to'](_0xc71383,'isImageSelected',_0x26453c=>_(_0x1bf177,_0x3adb9f['type'],_0x26453c?'Replace':'Insert')['text']),_0x5e893a['tooltip']=!0x0,_0x5e893a;}['_createDropdownButtons'](_0x4d3e51){const {locale:_0x4e97b1}=this['editor'],_0x2784c5=this['editor']['plugins']['get']('ImageInsertUI');return _0x4d3e51['map'](_0x160d88=>{const _0x11de5f=this['_createButton'](_0x2fe36f,_0x160d88['type']);return _0x11de5f['withText']=!0x0,_0x11de5f['icon']=_0x160d88['icon'],_0x11de5f['bind']('label')['to'](_0x2784c5,'isImageSelected',_0x8cb483=>_(_0x4e97b1,_0x160d88['type'],_0x8cb483?'Replace':'Insert')['text']),_0x11de5f;});}['_createMenuBarButtons'](_0x2df625){return _0x2df625['map'](_0x3e3f3c=>{const _0x3a9df4=this['_createButton'](_0x3562b1,_0x3e3f3c['type']);return _0x3a9df4['icon']=_0x3e3f3c['icon'],_0x3a9df4['label']=_0x3e3f3c['shortText'],_0x3a9df4;});}}class q extends _0x4eb252{['focusTracker'];['focusCycler'];constructor(_0x21e558){super(_0x21e558),this['focusTracker']=new _0x222885(),this['focusCycler']=new _0xbd3c46({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x11aa1f){super(_0x11aa1f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x31ac20,_0x1a6b04){const _0x6e2319=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3dd068=>_0x3dd068<=_0x1a6b04)['map'](_0x30d1a2=>_0x31ac20['replace'](/\/$/,'')+'/-/resize/'+_0x30d1a2+'x/\x20'+_0x30d1a2+'w');return{'imageFallbackUrl':_0x31ac20,'imageSources':[{'srcset':_0x6e2319['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1a6b04+'px)\x20100vw,\x20'+_0x1a6b04+'px','type':'image/webp'}]};}function A(_0x1d3ec2,_0x493cad,_0x5e4d48){const _0x1fb817=_0x1d3ec2['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1fb817?parseInt(_0x1fb817[0x1],0xa):_0x493cad,'height':_0x1fb817?parseInt(_0x1fb817[0x2],0xa):_0x5e4d48};}function m(_0x2ec2ae,_0x314087){const _0x3b5d1a=Object['create'](_0x3db2fd),_0x366cae=_0x2ec2ae['plugins']['get']('ImageUtils'),_0x5e549b=_0x2ec2ae['editing']['mapper']['toViewElement'](_0x314087),_0x1e35aa=_0x366cae['findViewImgElement'](_0x5e549b),_0xc5ee5=_0x2ec2ae['editing']['view']['domConverter']['viewToDom'](_0x1e35aa),_0x4e86d8=_0x314087['getAttribute']('width'),_0x361579=_0x314087['getAttribute']('height'),_0x30f9fe='image-processing';_0x2ec2ae['editing']['view']['change'](_0x1b75de=>{_0x1b75de['addClass'](_0x30f9fe,_0x5e549b),_0x1b75de['setStyle']('aspect-ratio',_0x4e86d8+'/'+_0x361579,_0x1e35aa);}),_0x3b5d1a['listenTo'](_0xc5ee5,'load',()=>{_0x3b5d1a['stopListening'](_0xc5ee5,'load'),_0x2ec2ae['editing']['view']['change'](_0x5d7d1b=>{_0x5d7d1b['removeClass'](_0x30f9fe,_0x5e549b),_0x5d7d1b['removeStyle']('aspect-ratio',_0x1e35aa);});});}function R(_0x443178){if(Array['isArray'](_0x443178)){const _0x2d5cf0=_0x443178['map'](R);return _0x5c573f=>_0x2d5cf0['some'](_0x2936f0=>_0x2936f0(_0x5c573f));}if('origin'==_0x443178){const _0x1d0cc1=_0x530f25['window']['location']['origin'];return _0x22e665=>new URL(_0x22e665,_0x530f25['document']['baseURI'])['origin']==_0x1d0cc1;}return'function'==typeof _0x443178?_0x443178:_0x443178 instanceof RegExp?_0x3e769a=>!(!_0x3e769a['match'](_0x443178)&&!_0x3e769a['replace'](/^https?:\/\//,'')['match'](_0x443178)):()=>!0x1;}function F(_0x255cba,_0x1f50dd){return _0x57bc4c(_0x255cba['target'])['includes'](_0x1f50dd);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x42a206(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5641fb,_0xf0d447,_0x1c56e5){super(),this['_editor']=_0x5641fb,this['_editing']=_0xf0d447,this['_dialog']=_0x5641fb['plugins']['get'](_0x21b59c),this['_api']=_0xf0d447['ctxElement']['getAPI'](),this['_type']=_0x1c56e5,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:_0x27b26c,model:_0x5d9ef6}=this['_editor'],_0x343b3a=_0x5d9ef6['document']['selection']['getSelectedElement'](),_0x4ba2fd=_0x343b3a&&(_0x343b3a['is']('element','imageBlock')||_0x343b3a['is']('element','imageInline'));this['_formView']=new S(_0x27b26c),this['_dialog']['show']({'id':'uploadCare','icon':_0x58afa9,'title':_(_0x27b26c,this['_type'],_0x4ba2fd?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3b991b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x44be3a=>!F(_0x44be3a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1f97ee}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x14b6bd=>{const _0x4b3760=_0x1f97ee['length'];for(const _0x304ce4 of _0x1f97ee){const _0x5c284b=_0x304ce4===_0x1f97ee[_0x4b3760-0x1],{cdnUrl:_0x5e4c97,fileInfo:_0x28dd6a}=_0x304ce4;if(!_0x5e4c97||!_0x28dd6a)continue;const {width:_0x158cfa,height:_0x297a2b}=_0x28dd6a['imageInfo'],_0xfd2cd6=A(_0x5e4c97,_0x158cfa,_0x297a2b),_0x17be8d=E(_0x5e4c97,_0xfd2cd6['width']),_0x33a065={'id':_0x28dd6a['uuid'],'type':'image','attributes':{'imageDimension':_0xfd2cd6,..._0x17be8d}};this['_insertAsset'](_0x33a065,_0x5c284b,_0x14b6bd);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2bd005=>{'idle'===_0x2bd005['detail']['status']&&!_0x2bd005['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x23a258,_0x21cd29,_0x150b7f){const _0x35d3af=this['_editor']['model']['document']['selection'],_0x2efd02=_0x35d3af['getSelectedElement'](),_0x565a3a=!(!_0x2efd02||!_0x2efd02['is']('element','imageInline'));_0x150b7f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x23a258,_0x565a3a),_0x21cd29||_0x150b7f['setSelection'](_0x35d3af['getLastPosition']());}['_insertImage'](_0x24ef22,_0x3430f1){const _0xe9c366=this['_editor'],{imageDimension:_0x2b6090,imageFallbackUrl:_0x3eb70c,imageSources:_0x3a0bd6}=_0x24ef22['attributes'];_0xe9c366['execute']('insertImage',{'imageType':_0x3430f1?'imageInline':null,'source':{'uploadcareImageId':_0x24ef22['id'],'src':_0x3eb70c,'sources':_0x3a0bd6,..._0x2b6090}});}}class n extends _0x72aed9{['_editing'];['_controller']=null;static get['requires'](){return[_0x21b59c,i];}constructor(_0x83d885){super(_0x83d885),this['_editing']=_0x83d885['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x180b2b){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x180b2b);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x1eadc5,publicKey:_0x1c39c2,signal:_0x538dc3,onProgress:_0x4b7a8c}){return _0x23dd83(_0x1eadc5,{'publicKey':_0x1c39c2,'store':'auto','signal':_0x538dc3,'onProgress':_0x4b7a8c});}static['getInfo'](_0x19aad,_0x41518b){return _0x5cf94c(_0x19aad,_0x41518b);}}class p extends _0x4b1643{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x54dfa8,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2e39a7=this['editor'];if(!!!_0x2e39a7['config']['get']('uploadcare'))return;_0x2e39a7['plugins']['get'](_0x54dfa8)['createUploadAdapter']=_0x3b4b79=>new x(_0x3b4b79,_0x2e39a7),_0x2e39a7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x31486a,{imageElement:_0x363095,data:_0x2ba21b})=>{_0x2e39a7['model']['change'](_0x9322b2=>{_0x9322b2['setAttribute']('uploadcareImageId',_0x2ba21b['uploadcareImageId'],_0x363095);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3ce9c4,_0x506e09){this['loader']=_0x3ce9c4,this['editor']=_0x506e09,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1f45d3=this['editor']['config']['get']('uploadcare.pubkey'),_0x2aee9e=await this['loader']['file'];return C['upload']({'file':_0x2aee9e,'publicKey':_0x1f45d3,'signal':this['controller']['signal'],'onProgress':_0x2ce2ed=>{_0x2ce2ed&&_0x2ce2ed['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2ce2ed['value']);}})['then'](async _0x4bee98=>{const {imageFallbackUrl:_0xe89006,imageSources:_0x8dd458}=E(_0x4bee98['cdnUrl'],_0x4bee98['imageInfo']['width']);return{'uploadcareImageId':_0x4bee98['uuid'],'default':_0xe89006,'sources':_0x8dd458};})['catch'](()=>{const _0x4b828a=t('Cannot\x20upload\x20file:')+('\x20'+_0x2aee9e['name']+'.');return Promise['reject'](_0x4b828a);});}['abort'](){this['controller']['abort']();}}class i extends _0x4b1643{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x21b59c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x5ea3bf=this['editor'];_0x5ea3bf['commands']['add']('uploadcare',new n(_0x5ea3bf));}['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 _0x2f49a4=_0x530f25['document']['querySelector']('input[uploadcare-file-input]');_0x2f49a4&&_0x2f49a4['remove']();}),async function(_0x1133e5){const _0x5d4fc8=_0x1988ac([0x65,0x31,0x6d,0x43,0x70,0x4f,0x48,0x6a,0x64,0x6e,0x6f,0x51,0x44,0x6b,0x46,0x56,0x74,0x4a,0x58,0x69,0x75,0x68,0x76,0x52,0x61,0x38,0x37,0x34,0x47,0x55,0x35,0x67,0x78,0x71,0x49,0x66,0x5a,0x4c,0x63,0x50,0x73,0x7a,0x41,0x62,0x30,0x42,0x53,0x57,0x4b,0x54,0x36,0x6c,0x32,0x59,0x4d,0x4e,0x45,0x77,0x72,0x33,0x39,0x79]),_0x24c191=0x79a48d67,_0x6ad93a=0x79a3e927^_0x24c191,_0x458722=window[_0x1988ac([0x44,0x61,0x74,0x65])][_0x1988ac([0x6e,0x6f,0x77])](),_0x555aa9=_0x1133e5[_0x1988ac([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17b2a2=new window[(_0x1988ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a6513=>{_0x555aa9[_0x1988ac([0x6f,0x6e,0x63,0x65])](_0x1988ac([0x72,0x65,0x61,0x64,0x79]),_0x1a6513);}),_0x34a140={[_0x1988ac([0x6b,0x74,0x79])]:_0x1988ac([0x45,0x43]),[_0x1988ac([0x75,0x73,0x65])]:_0x1988ac([0x73,0x69,0x67]),[_0x1988ac([0x63,0x72,0x76])]:_0x1988ac([0x50,0x2d,0x32,0x35,0x36]),[_0x1988ac([0x78])]:_0x1988ac([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]),[_0x1988ac([0x79])]:_0x1988ac([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]),[_0x1988ac([0x61,0x6c,0x67])]:_0x1988ac([0x45,0x53,0x32,0x35,0x36])},_0x4ae53f=_0x555aa9[_0x1988ac([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1988ac([0x67,0x65,0x74])](_0x1988ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14c5b9(){let _0x515388,_0x27e3d4=null,_0x57a72c=null;try{if(_0x4ae53f==_0x1988ac([0x47,0x50,0x4c]))return _0x1988ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x515388=_0xfbe3b7(),!_0x515388)return _0x1988ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x515388[_0x1988ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57a72c=_0x28c7d2(_0x515388[_0x1988ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x515388[_0x1988ac([0x6a,0x74,0x69])])),await _0x5b465b()?_0x4d994e()?_0x26375b()?_0x1988ac([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e06f2()?(_0x515388[_0x1988ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1988ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27e3d4=_0x4ce457(_0x1988ac([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x515388[_0x1988ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1988ac([0x74,0x72,0x69,0x61,0x6c])&&(_0x27e3d4=_0x4ce457(_0x1988ac([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f20bd()):_0x1988ac([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1988ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1988ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1c21a9){return _0x1988ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26375b(){const _0x3f80f4=[_0x1988ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1988ac([0x74,0x72,0x69,0x61,0x6c])][_0x1988ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515388[_0x1988ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x458722/0x3e8:0xe10*_0x6ad93a;return _0x515388[_0x1988ac([0x65,0x78,0x70])]<_0x3f80f4;}function _0x4d994e(){const _0x146bf5=_0x515388[_0x1988ac([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x146bf5&&(!!_0x146bf5[_0x1988ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1988ac([0x2a]))||!!_0x146bf5[_0x1988ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1988ac([0x55,0x50,0x4c,0x43])));}function _0x3e06f2(){const _0x2ab5ac=_0x515388[_0x1988ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ab5ac||0x0==_0x2ab5ac[_0x1988ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1363d0}=new URL(window[_0x1988ac([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2ab5ac[_0x1988ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1363d0))return!0x0;const _0x3de00c=_0x1363d0[_0x1988ac([0x73,0x70,0x6c,0x69,0x74])](_0x1988ac([0x2e]));return _0x2ab5ac[_0x1988ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4584de=>_0x4584de[_0x1988ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1988ac([0x2a])))[_0x1988ac([0x6d,0x61,0x70])](_0x2885b1=>_0x2885b1[_0x1988ac([0x73,0x70,0x6c,0x69,0x74])](_0x1988ac([0x2e])))[_0x1988ac([0x73,0x6f,0x6d,0x65])](_0x345530=>_0x3de00c[_0x1988ac([0x65,0x76,0x65,0x72,0x79])]((_0xb8aaf8,_0x2abb05)=>_0x345530[_0x2abb05]===_0xb8aaf8||_0x345530[_0x2abb05]===_0x1988ac([0x2a])));}function _0x2f20bd(){return _0x27e3d4&&_0x57a72c?new window[(_0x1988ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29b4d5,_0x540c87)=>{_0x27e3d4[_0x1988ac([0x74,0x68,0x65,0x6e])](_0x29b4d5,_0x540c87),_0x57a72c[_0x1988ac([0x74,0x68,0x65,0x6e])](_0x3edba2=>{_0x3edba2!=_0x1988ac([0x56,0x61,0x6c,0x69,0x64])&&_0x29b4d5(_0x3edba2);},_0x540c87);}):_0x27e3d4||_0x57a72c||_0x1988ac([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28c7d2(_0x45bb57,_0x46c683){return new window[(_0x1988ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x396ff6=>{if(_0x339f3c())return _0x396ff6(_0x1988ac([0x56,0x61,0x6c,0x69,0x64]));_0x21eac2(),_0x555aa9[_0x1988ac([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1988ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x514918=!0x1;const _0x5c1312=_0x37397e();function _0x114cb6(_0x3a58a6){return!!_0x3a58a6&&(typeof _0x3a58a6===_0x1988ac([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a58a6===_0x1988ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a58a6[_0x1988ac([0x74,0x68,0x65,0x6e])]===_0x1988ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a58a6[_0x1988ac([0x63,0x61,0x74,0x63,0x68])]===_0x1988ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9e06e6(_0x40791){_0x503553(_0x40791)[_0x1988ac([0x74,0x68,0x65,0x6e])](_0x45b290=>{if(!_0x45b290||_0x45b290[_0x1988ac([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1988ac([0x6f,0x6b]))return _0x1988ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x895736(_0x3490e5(_0x5c1312+_0x46c683))!=_0x45b290[_0x1988ac([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1988ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1988ac([0x56,0x61,0x6c,0x69,0x64]);})[_0x1988ac([0x74,0x68,0x65,0x6e])](_0x431c5c=>(_0x336a08(),_0x431c5c),()=>{const _0xe0892f=_0x2f2c9f();return null==_0xe0892f?(_0x336a08(),_0x1988ac([0x56,0x61,0x6c,0x69,0x64])):_0x1988ac(_0x458722-_0xe0892f>(0x5da80967^_0x24c191)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1988ac([0x74,0x68,0x65,0x6e])](_0x396ff6)[_0x1988ac([0x63,0x61,0x74,0x63,0x68])](()=>{_0x396ff6(_0x1988ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f703d=0x799263e7^_0x24c191;function _0x336a08(){const _0x524d3d=_0x1988ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x895736(_0x3490e5(_0x45bb57)),_0x2f651e=_0x180524(_0x895736(window[_0x1988ac([0x4d,0x61,0x74,0x68])][_0x1988ac([0x63,0x65,0x69,0x6c])](_0x458722/_0x4f703d)));window[_0x1988ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1988ac([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x524d3d,_0x2f651e);}function _0x2f2c9f(){const _0x33078f=_0x1988ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x895736(_0x3490e5(_0x45bb57)),_0x447d75=window[_0x1988ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1988ac([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33078f);return _0x447d75?window[_0x1988ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x180524(_0x447d75),0x10)*_0x4f703d:null;}function _0x503553(_0x2c3ed4){return new window[(_0x1988ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9b40c,_0x3ccb45)=>{_0x2c3ed4[_0x1988ac([0x74,0x68,0x65,0x6e])](_0x9b40c,_0x3ccb45),window[_0x1988ac([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ccb45,0x79a559a7^_0x24c191);});}}_0x555aa9[_0x1988ac([0x6f,0x6e])](_0x1988ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5579f6,_0x351851)=>{if(_0x351851[0x0]!=_0x45bb57)return _0x396ff6(_0x1988ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x351851[0x1]={..._0x351851[0x1],[_0x1988ac([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c1312};},{[_0x1988ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1988ac([0x68,0x69,0x67,0x68])}),_0x555aa9[_0x1988ac([0x6f,0x6e])](_0x1988ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55949a=>{_0x114cb6(_0x55949a[_0x1988ac([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x514918=!0x0,_0x9e06e6(_0x55949a[_0x1988ac([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1988ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1988ac([0x6c,0x6f,0x77])}),_0x17b2a2[_0x1988ac([0x74,0x68,0x65,0x6e])](()=>{_0x514918||_0x396ff6(_0x1988ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x339f3c(){return _0x555aa9[_0x1988ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1988ac([0x76,0x69,0x65,0x77])][_0x1988ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1988ac([0x61,0x75,0x74,0x6f]);}function _0x21eac2(){_0x555aa9[_0x1988ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1988ac([0x76,0x69,0x65,0x77])][_0x1988ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1988ac([0x61,0x75,0x74,0x6f]);}}function _0x4ce457(_0x2a628e){const _0x230adf=[new window[(_0x1988ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5763f7=>setTimeout(_0x5763f7,0x79adb3ab^_0x24c191)),_0x17b2a2[_0x1988ac([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1988ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42f1c4=>{let _0x3a41c9=0x0;_0x555aa9[_0x1988ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x1988ac([0x6f,0x6e])](_0x1988ac([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10bf71,_0x50711d)=>{_0x50711d[0x0][_0x1988ac([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a41c9++,_0x3a41c9==(0x79a48c9f^_0x24c191)&&(_0x42f1c4(),_0x10bf71[_0x1988ac([0x6f,0x66,0x66])]());});}))];return window[_0x1988ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1988ac([0x72,0x61,0x63,0x65])](_0x230adf)[_0x1988ac([0x74,0x68,0x65,0x6e])](()=>_0x2a628e);}async function _0x5391d2(){await _0x17b2a2,_0x555aa9[_0x1988ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x1988ac([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f75f0,_0x555aa9[_0x1988ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x1988ac([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f75f0,_0x555aa9[_0x1988ac([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1988ac([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f7959(_0x2a9345){const _0x33cea2=_0x4be907();_0x555aa9[_0x33cea2]=_0x1988ac([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a9345,_0x2a9345!=_0x1988ac([0x56,0x61,0x6c,0x69,0x64])&&_0x5391d2();}function _0x4be907(){const _0x57965a=window[_0x1988ac([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1988ac([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1988ac([0x6e,0x6f,0x77])]())[_0x1988ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1988ac([0x2e]),'');let _0x2bd110=_0x1988ac([0x65]);for(let _0x5e37ad=0x0;_0x5e37ad<_0x57965a[_0x1988ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e37ad+=0x2){let _0x5d993d=window[_0x1988ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57965a[_0x1988ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e37ad,_0x5e37ad+0x2));_0x5d993d>=_0x5d4fc8[_0x1988ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d993d-=_0x5d4fc8[_0x1988ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2bd110+=_0x5d4fc8[_0x5d993d];}return _0x2bd110;}function _0xfbe3b7(){const _0x462430=_0x4ae53f[_0x1988ac([0x73,0x70,0x6c,0x69,0x74])](_0x1988ac([0x2e]));if(0x3!=_0x462430[_0x1988ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26020e(_0x462430[0x1]);function _0x26020e(_0x1260d9){const _0x5ddd45=_0x140978(_0x1260d9);return _0x5ddd45&&_0xe6b755()?_0x5ddd45:null;function _0xe6b755(){const _0x3deba3=_0x5ddd45[_0x1988ac([0x6a,0x74,0x69])],_0xe83dd0=window[_0x1988ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3deba3[_0x1988ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3deba3[_0x1988ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d85d2={..._0x5ddd45,[_0x1988ac([0x6a,0x74,0x69])]:_0x3deba3[_0x1988ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3deba3[_0x1988ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d85d2[_0x1988ac([0x76,0x63])],_0x3490e5(_0x2d85d2)==_0xe83dd0;}}}async function _0x5b465b(){let _0x261723=!0x0;try{const _0x5975fe=_0x4ae53f[_0x1988ac([0x73,0x70,0x6c,0x69,0x74])](_0x1988ac([0x2e])),[_0x472df5,_0x510569,_0x33c8e9]=_0x5975fe;return _0x1cf830(_0x472df5),await _0x3d09ee(_0x472df5,_0x510569,_0x33c8e9),_0x261723;}catch(_0x44358c){return!0x1;}function _0x1cf830(_0x533a14){const _0x5dd0a1=_0x140978(_0x533a14);_0x5dd0a1&&_0x5dd0a1[_0x1988ac([0x61,0x6c,0x67])]==_0x1988ac([0x45,0x53,0x32,0x35,0x36])||(_0x261723=!0x1);}async function _0x3d09ee(_0x4ec933,_0x1b20da,_0xe1d2f4){const _0x4ef77c=window[_0x1988ac([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1988ac([0x66,0x72,0x6f,0x6d])](_0x277f0c(_0xe1d2f4),_0x3d15d0=>_0x3d15d0[_0x1988ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x387142=new window[(_0x1988ac([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1988ac([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ec933+_0x1988ac([0x2e])+_0x1b20da),_0x2b4b62=window[_0x1988ac([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1988ac([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b4b62)return;const _0x366daa=await _0x2b4b62[_0x1988ac([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1988ac([0x6a,0x77,0x6b]),_0x34a140,{[_0x1988ac([0x6e,0x61,0x6d,0x65])]:_0x1988ac([0x45,0x43,0x44,0x53,0x41]),[_0x1988ac([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1988ac([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1988ac([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b4b62[_0x1988ac([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1988ac([0x6e,0x61,0x6d,0x65])]:_0x1988ac([0x45,0x43,0x44,0x53,0x41]),[_0x1988ac([0x68,0x61,0x73,0x68])]:{[_0x1988ac([0x6e,0x61,0x6d,0x65])]:_0x1988ac([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x366daa,_0x4ef77c,_0x387142)||(_0x261723=!0x1);}}function _0x140978(_0x16b350){return _0x16b350[_0x1988ac([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1988ac([0x65,0x79]))?JSON[_0x1988ac([0x70,0x61,0x72,0x73,0x65])](_0x277f0c(_0x16b350)):null;}function _0x277f0c(_0xd06cf){return window[_0x1988ac([0x61,0x74,0x6f,0x62])](_0xd06cf[_0x1988ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1988ac([0x2b]))[_0x1988ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1988ac([0x2f])));}function _0x3490e5(_0xcd3d2b){let _0x4fee23=0x1505;function _0x4755bd(_0x23ad8b){for(let _0x427414=0x0;_0x427414<_0x23ad8b[_0x1988ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x427414++){const _0x3d49bc=_0x23ad8b[_0x1988ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x427414);_0x4fee23=(_0x4fee23<<0x5)+_0x4fee23+_0x3d49bc,_0x4fee23&=_0x4fee23;}}function _0x153734(_0x497902){Array[_0x1988ac([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x497902)?_0x497902[_0x1988ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x153734):_0x497902&&typeof _0x497902==_0x1988ac([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1988ac([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x497902)[_0x1988ac([0x73,0x6f,0x72,0x74])]()[_0x1988ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x150c43,_0x483706])=>{_0x4755bd(_0x150c43),_0x153734(_0x483706);}):_0x4755bd(window[_0x1988ac([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x497902));}return _0x153734(_0xcd3d2b),_0x4fee23>>>0x0;}function _0x895736(_0xb300b7){return _0xb300b7[_0x1988ac([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1988ac([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1988ac([0x30]));}function _0x180524(_0x5d605d){return _0x5d605d[_0x1988ac([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1988ac([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1988ac([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f75f0(){}function _0x1988ac(_0x146a31){return _0x146a31['map'](_0x1b47f1=>String['fromCharCode'](_0x1b47f1))['join']('');}_0x3f7959(await _0x14c5b9());}(this);}['_initSchema'](){const _0x3e194a=this['editor']['model']['schema'];_0x3e194a['isRegistered']('imageBlock')&&_0x3e194a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3e194a['isRegistered']('imageInline')&&_0x3e194a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x114089=this['editor'];_0x114089['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x114089['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4c305a=>_0x4c305a['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5cfa38=_0x114089['commands']['get']('replaceImageSource');_0x5cfa38&&this['listenTo'](_0x5cfa38,'cleanupImage',(_0x37a23d,[_0x37f4ac,_0x59bc70])=>{_0x37f4ac['removeAttribute']('uploadcareImageId',_0x59bc70);});}['_initConfig'](){const _0x3c12f6=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1c6dfe=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x545e04(_0x530f25['document'],'uc-config',{..._0x3c12f6,'pubkey':_0x1c6dfe,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x1c928c=>{if('closeMax'==_0x1c928c)return'#uc-icon-arrow-down';},_0x530f25['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x545e04(_0x530f25['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x530f25['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2abb58=this['editor']['commands']['get']('insertImage');_0x2abb58&&this['listenTo'](_0x2abb58,'execute',()=>{const _0x102d30=this['editor']['model']['document']['selection']['getSelectedElement']();_0x102d30&&_0x102d30['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x102d30);});});const _0x5ee37b=this['editor']['commands']['get']('uploadcareImageReplace');_0x5ee37b&&this['listenTo'](_0x5ee37b,'execute',()=>{const _0x57dfeb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x57dfeb&&_0x57dfeb['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x57dfeb);});});}}class u extends _0x4b1643{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x544705){super(_0x544705),_0x544705['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0xa708e2['defineComponents'](_0xa708e2);}}class ta extends _0x4eb252{constructor(_0x20eb90){super(_0x20eb90);const t=_0x20eb90['t'],_0x328e2c=this['bindTemplate'],_0xb95656=new _0x12eb5f();_0xb95656['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':[_0xb95656,{'text':_0x328e2c['to']('imageUploadProgress',_0xcde10a=>t('Loading\x20image...')+'\x20('+(_0xcde10a||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x4eb252{constructor(_0x50f3a8){super(_0x50f3a8);const t=_0x50f3a8['t'];this['set']('errorType',null);const _0x4383ef=new _0x2fe36f(_0x50f3a8);_0x4383ef['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4383ef['withText']=!0x0,_0x4383ef['class']='ck-button-action',_0x4383ef['on']('execute',()=>{this['fire']('retry');}),_0x4383ef['bind']('isVisible')['to'](this,'errorType',_0x23c617=>'NotFound'!==_0x23c617);const _0x5d9d5d=new at();_0x5d9d5d['content']=et,_0x5d9d5d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2753a1=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':[_0x5d9d5d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2753a1['to']('errorType',_0x51566a=>t('NotFound'!==_0x51566a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4383ef]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x4eb252{constructor(_0x569c67,_0x182e71){super(_0x569c67);const _0x14ceaa=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x182e71,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x14ceaa['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x318ef1,_0x547232,_0x50097b){super(_0x318ef1),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x318ef1),this['_errorView']=new rt(_0x318ef1),this['_editingView']=new tt(_0x318ef1,_0x50097b),this['_focusableView']=new _0x4eb252(_0x318ef1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x547232),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'],_0x104ccf=>{this['_addUploadcareImageEditorListeners'](_0x104ccf);});}),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'](_0x5e8ce2,_0x16cda7){const _0x53d298='uc-cloud-image-editor',_0x2fd0e3=_0x5e8ce2['querySelector'](_0x53d298);if(_0x2fd0e3)return _0x16cda7(_0x2fd0e3);const _0x273e73=new MutationObserver(_0x2af926=>{const _0x12f832=_0x2af926['filter'](_0x1374bc=>_0x1374bc['target']===_0x5e8ce2&&_0x1374bc['addedNodes']['length']>0x0&&_0x1374bc['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x53d298);_0x12f832['length']&&(_0x273e73['disconnect'](),_0x16cda7(_0x12f832[0x0]['addedNodes'][0x0]));});_0x273e73['observe'](_0x5e8ce2,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x19b75c){_0x19b75c['addEventListener']('apply',_0x26571f=>{this['fire']('apply',{'imageSrc':_0x26571f['detail']['cdnUrl']});}),_0x19b75c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
+ _0x42a206(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x53dcf3,_0x1b0168,_0x1fe963){super(),this['_editor']=_0x53dcf3,this['_dialog']=_0x1b0168,this['_imageElement']=_0x1fe963,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 _0x3f4797=this['_imageElement'],_0x177410=_0x3f4797['getAttribute']('uploadcareImageId'),_0x1cd6ce=_0x3f4797['getAttribute']('src');if(_0x177410)await this['_loadImageInfo'](_0x177410,_0x1cd6ce);else{if(this['_imageCache']['has'](_0x1cd6ce)){const _0x3fd6c1=this['_imageCache']['get'](_0x1cd6ce);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3fd6c1['url'],this['imageDimension']=_0x3fd6c1['dimension'],this['imageId']=_0x3fd6c1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x52f4b7}=this['_editor'],t=_0x52f4b7['t'],_0x2d6291=new Z(_0x52f4b7,this['imageStatus'],this['_attributes']);_0x2d6291['bind']('status')['to'](this,'imageStatus'),_0x2d6291['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2d6291['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2d6291['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2d6291,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x293e12,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2d6291,'position':_0x3b991b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2d6291['focus']();},'onHide':()=>{_0x2d6291['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2b2441=>!F(_0x2b2441,_0x2d6291['element'])}});}['_loadImageInfo'](_0x3b78e7,_0x127062){return C['getInfo'](_0x3b78e7,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2a89e2=>{const {width:_0x210bc8,height:_0x100ac4}=_0x2a89e2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x127062,this['imageDimension']={'width':_0x210bc8,'height':_0x100ac4},this['imageId']=_0x3b78e7;})['catch'](_0x36245b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x36245b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5344d0,_0x26b11b){return this['_getImageAsFile'](_0x5344d0)['then'](_0x46716f=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x26b11b['signal'],'file':_0x46716f,'onProgress':_0x1186d3=>{_0x1186d3&&_0x1186d3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1186d3['value']));}}))['then'](_0x56ccaf=>{const {width:_0x4b1e75,height:_0x3478be}=_0x56ccaf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56ccaf['cdnUrl'],this['imageDimension']={'width':_0x4b1e75,'height':_0x3478be},this['imageId']=_0x56ccaf['uuid'],this['imageUploadProgress']=null;const _0xdae2f3=_0x5344d0['getAttribute']('src');this['_imageCache']['set'](_0xdae2f3,{'id':_0x56ccaf['uuid'],'url':_0x56ccaf['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x22673a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22673a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x117fe8,_0xbf5dd6){_0x117fe8['on']('apply',(_0x293e5c,_0x4971cb)=>{this['_replaceImage'](_0xbf5dd6,_0x4971cb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x117fe8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x117fe8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x25d4ef,_0x5bf45a,_0x24d3c1){const _0x51df0b=this['_editor'],{width:_0x5cf1d1,height:_0xae46e9}=A(_0x5bf45a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xe5752e,imageSources:_0x4f9e31}=E(_0x5bf45a,_0x5cf1d1);_0x51df0b['model']['change'](_0x5da03d=>{if('$graveyard'===_0x25d4ef['root']['rootName']){_0x51df0b['execute']('insertImage',{'imageType':_0x25d4ef['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x25d4ef['getAttributes']()),'uploadcareImageId':_0x24d3c1,'src':_0xe5752e,'sources':_0x4f9e31,'width':_0x5cf1d1,'height':_0xae46e9}});const _0x1990bb=_0x25d4ef['getChildren']();_0x25d4ef=_0x51df0b['model']['document']['selection']['getSelectedElement']();for(const _0x299ce6 of _0x1990bb)_0x5da03d['append'](_0x5da03d['cloneElement'](_0x299ce6),_0x25d4ef);}else _0x5da03d['setSelection'](_0x25d4ef,'on'),_0x51df0b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x25d4ef['getAttributes']()),'uploadcareImageId':_0x24d3c1,'src':_0xe5752e,'sources':_0x4f9e31,'width':_0x5cf1d1,'height':_0xae46e9},_0x25d4ef);_0x5da03d['setSelection'](_0x25d4ef,'on');});}async['_getImageAsFile'](_0x25a191){const _0x2d9693=_0x530f25['window'],_0x136dc0=_0x530f25['document']['location']['href'],_0x814334=new _0x2d9693['URL'](_0x25a191['getAttribute']('src'),_0x136dc0);if('data:'===_0x814334['protocol']){const _0x3817ac=_0x814334['href']['split'](','),_0x5cc0d4=_0x3817ac[0x0]['match'](/:(.*?);/)[0x1],_0xae1073=_0x5cc0d4['split']('/')[0x1],_0x394c4e=_0x2d9693['atob'](_0x3817ac[_0x3817ac['length']-0x1]);let _0x38b195=_0x394c4e['length'];const _0x305150=new _0x2d9693['Uint8Array'](_0x38b195);for(;_0x38b195--;)_0x305150[_0x38b195]=_0x394c4e['charCodeAt'](_0x38b195);return new _0x2d9693['File']([_0x305150],'image.'+_0xae1073,{'type':_0x5cc0d4});}const _0x4edb9c=_0x814334['href']['split']('/'),_0x53393c=_0x4edb9c[_0x4edb9c['length']-0x1],_0x43aa12=_0x53393c['split']('.')[0x1];return _0x2d9693['fetch'](_0x814334['href'])['then'](_0xe9be15=>_0xe9be15['clone']()['blob']())['then'](_0x23966a=>new _0x2d9693['File']([_0x23966a],_0x53393c,{'type':'image/'+_0x43aa12}));}}class V extends _0x72aed9{['imageEditController'];static get['requires'](){return[_0x21b59c];}['_isEditable'];constructor(_0x257368){super(_0x257368),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5a8cc6){const _0x164b41=R(_0x5a8cc6);return _0x368d53=>!(!_0x368d53||!_0x368d53['is']('element','imageBlock')&&!_0x368d53['is']('element','imageInline'))&&(!!_0x368d53['hasAttribute']('uploadcareImageId')||!!_0x368d53['hasAttribute']('src')&&_0x164b41(_0x368d53['getAttribute']('src')));}(_0x257368['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3b0136=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3b0136);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x29ab2f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x29ab2f&&(_0x29ab2f['is']('element','imageBlock')||_0x29ab2f['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0x21b59c),_0x29ab2f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x72aed9{['refresh'](){const _0x34b3ab=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x34b3ab&&(_0x34b3ab['is']('element','imageBlock')||_0x34b3ab['is']('element','imageInline')));}['execute'](_0x166e31){const _0x520050=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5cea34=>{_0x5cea34['setAttributes'](_0x166e31,_0x520050),_0x5cea34['removeAttribute']('srcset',_0x520050),_0x5cea34['removeAttribute']('sizes',_0x520050);});}}class g extends _0x4b1643{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5c0c66,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ce206}=this;_0x3ce206['commands']['add']('uploadcareImageEdit',new V(_0x3ce206)),_0x3ce206['commands']['add']('uploadcareImageReplace',new X(_0x3ce206));}}class j extends _0x4b1643{['_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 _0x1177d3=this['editor'];_0x1177d3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x29e23a=>{const _0x1424c9=_0x1177d3['commands']['get']('uploadcareImageEdit'),_0x38d95d=new _0x2fe36f(_0x29e23a),t=_0x29e23a['t'];return _0x38d95d['set']({'icon':_0x293e12,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x38d95d['bind']('isEnabled')['to'](_0x1424c9),_0x38d95d['bind']('isOn')['to'](_0x1424c9,'isActive'),this['listenTo'](_0x38d95d,'execute',()=>{_0x1177d3['execute']('uploadcareImageEdit'),_0x1177d3['editing']['view']['focus']();}),_0x38d95d;}),this['_initConfig']();}['_initConfig'](){const _0x3b2fa6=_0x545e04(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3b2fa6),this['listenTo'](this['editor'],'destroy',()=>{_0x3b2fa6['remove']();});}}class P extends _0x4b1643{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x50cc20=>0x1!=_0x50cc20}};
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':_0x541c90=>0x1!=_0x541c90}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf4640d=>{const {af:{dictionary:_0x584480,getPluralForm:_0x375647}}={'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':_0x42b3f2=>0x1!=_0x42b3f2}};_0xf4640d['af']||={'dictionary':{},'getPluralForm':null},_0xf4640d['af']['dictionary']=Object['assign'](_0xf4640d['af']['dictionary'],_0x584480),_0xf4640d['af']['getPluralForm']=_0x375647;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x76c7e6=>{const {af:{dictionary:_0x2de845,getPluralForm:_0x549d11}}={'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':_0x5fe4b8=>0x1!=_0x5fe4b8}};_0x76c7e6['af']||={'dictionary':{},'getPluralForm':null},_0x76c7e6['af']['dictionary']=Object['assign'](_0x76c7e6['af']['dictionary'],_0x2de845),_0x76c7e6['af']['getPluralForm']=_0x549d11;})(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':_0x349197=>0x0==_0x349197?0x0:0x1==_0x349197?0x1:0x2==_0x349197?0x2:_0x349197%0x64>=0x3&&_0x349197%0x64<=0xa?0x3:_0x349197%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':_0x5c37bd=>0x0==_0x5c37bd?0x0:0x1==_0x5c37bd?0x1:0x2==_0x5c37bd?0x2:_0x5c37bd%0x64>=0x3&&_0x5c37bd%0x64<=0xa?0x3:_0x5c37bd%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x426e89=>{const {ar:{dictionary:_0x918048,getPluralForm:_0x5f52b7}}={'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':_0x3bd60a=>0x0==_0x3bd60a?0x0:0x1==_0x3bd60a?0x1:0x2==_0x3bd60a?0x2:_0x3bd60a%0x64>=0x3&&_0x3bd60a%0x64<=0xa?0x3:_0x3bd60a%0x64>=0xb?0x4:0x5}};_0x426e89['ar']||={'dictionary':{},'getPluralForm':null},_0x426e89['ar']['dictionary']=Object['assign'](_0x426e89['ar']['dictionary'],_0x918048),_0x426e89['ar']['getPluralForm']=_0x5f52b7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4cab40=>{const {ar:{dictionary:_0x1f5d30,getPluralForm:_0x24d4c6}}={'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':_0x18189b=>0x0==_0x18189b?0x0:0x1==_0x18189b?0x1:0x2==_0x18189b?0x2:_0x18189b%0x64>=0x3&&_0x18189b%0x64<=0xa?0x3:_0x18189b%0x64>=0xb?0x4:0x5}};_0x4cab40['ar']||={'dictionary':{},'getPluralForm':null},_0x4cab40['ar']['dictionary']=Object['assign'](_0x4cab40['ar']['dictionary'],_0x1f5d30),_0x4cab40['ar']['getPluralForm']=_0x24d4c6;})(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':_0x4668e9=>0x1!=_0x4668e9}};
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':_0x7a658e=>0x1!=_0x7a658e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33305a=>{const {ast:{dictionary:_0x277c2c,getPluralForm:_0x53f2c1}}={'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':_0x4eabb9=>0x1!=_0x4eabb9}};_0x33305a['ast']||={'dictionary':{},'getPluralForm':null},_0x33305a['ast']['dictionary']=Object['assign'](_0x33305a['ast']['dictionary'],_0x277c2c),_0x33305a['ast']['getPluralForm']=_0x53f2c1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2b1f00=>{const {ast:{dictionary:_0x44aa83,getPluralForm:_0x1f627f}}={'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':_0x3d40a7=>0x1!=_0x3d40a7}};_0x2b1f00['ast']||={'dictionary':{},'getPluralForm':null},_0x2b1f00['ast']['dictionary']=Object['assign'](_0x2b1f00['ast']['dictionary'],_0x44aa83),_0x2b1f00['ast']['getPluralForm']=_0x1f627f;})(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':_0x3b861e=>0x1!=_0x3b861e}};
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':_0x102cb2=>0x1!=_0x102cb2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x24e609=>{const {az:{dictionary:_0x17f513,getPluralForm:_0x321593}}={'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':_0xfa993b=>0x1!=_0xfa993b}};_0x24e609['az']||={'dictionary':{},'getPluralForm':null},_0x24e609['az']['dictionary']=Object['assign'](_0x24e609['az']['dictionary'],_0x17f513),_0x24e609['az']['getPluralForm']=_0x321593;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2971f9=>{const {az:{dictionary:_0x1b2dd1,getPluralForm:_0x187782}}={'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':_0xb4f252=>0x1!=_0xb4f252}};_0x2971f9['az']||={'dictionary':{},'getPluralForm':null},_0x2971f9['az']['dictionary']=Object['assign'](_0x2971f9['az']['dictionary'],_0x1b2dd1),_0x2971f9['az']['getPluralForm']=_0x187782;})(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':_0x47d6a5=>_0x47d6a5%0xa==0x1&&_0x47d6a5%0x64!=0xb?0x0:_0x47d6a5%0xa>=0x2&&_0x47d6a5%0xa<=0x4&&(_0x47d6a5%0x64<0xa||_0x47d6a5%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':_0x236adc=>_0x236adc%0xa==0x1&&_0x236adc%0x64!=0xb?0x0:_0x236adc%0xa>=0x2&&_0x236adc%0xa<=0x4&&(_0x236adc%0x64<0xa||_0x236adc%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5efea5=>{const {be:{dictionary:_0x7577d5,getPluralForm:_0x4ced4a}}={'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':_0x361275=>_0x361275%0xa==0x1&&_0x361275%0x64!=0xb?0x0:_0x361275%0xa>=0x2&&_0x361275%0xa<=0x4&&(_0x361275%0x64<0xa||_0x361275%0x64>=0x14)?0x1:0x2}};_0x5efea5['be']||={'dictionary':{},'getPluralForm':null},_0x5efea5['be']['dictionary']=Object['assign'](_0x5efea5['be']['dictionary'],_0x7577d5),_0x5efea5['be']['getPluralForm']=_0x4ced4a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x103d36=>{const {be:{dictionary:_0x6f6e75,getPluralForm:_0x417863}}={'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':_0x53aeec=>_0x53aeec%0xa==0x1&&_0x53aeec%0x64!=0xb?0x0:_0x53aeec%0xa>=0x2&&_0x53aeec%0xa<=0x4&&(_0x53aeec%0x64<0xa||_0x53aeec%0x64>=0x14)?0x1:0x2}};_0x103d36['be']||={'dictionary':{},'getPluralForm':null},_0x103d36['be']['dictionary']=Object['assign'](_0x103d36['be']['dictionary'],_0x6f6e75),_0x103d36['be']['getPluralForm']=_0x417863;})(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':_0x1861d5=>0x1!=_0x1861d5}};
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':_0x253e41=>0x1!=_0x253e41}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1af694=>{const {bg:{dictionary:_0x3d8cf1,getPluralForm:_0x1ff2b3}}={'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':_0x437639=>0x1!=_0x437639}};_0x1af694['bg']||={'dictionary':{},'getPluralForm':null},_0x1af694['bg']['dictionary']=Object['assign'](_0x1af694['bg']['dictionary'],_0x3d8cf1),_0x1af694['bg']['getPluralForm']=_0x1ff2b3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x56c271=>{const {bg:{dictionary:_0x26d652,getPluralForm:_0x3bbffc}}={'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':_0x545316=>0x1!=_0x545316}};_0x56c271['bg']||={'dictionary':{},'getPluralForm':null},_0x56c271['bg']['dictionary']=Object['assign'](_0x56c271['bg']['dictionary'],_0x26d652),_0x56c271['bg']['getPluralForm']=_0x3bbffc;})(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':_0x9adffc=>0x1!=_0x9adffc}};
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':_0x1bd49e=>0x1!=_0x1bd49e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x36b74d=>{const {bn:{dictionary:_0x3c641e,getPluralForm:_0x11c6f1}}={'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':_0x691cdd=>0x1!=_0x691cdd}};_0x36b74d['bn']||={'dictionary':{},'getPluralForm':null},_0x36b74d['bn']['dictionary']=Object['assign'](_0x36b74d['bn']['dictionary'],_0x3c641e),_0x36b74d['bn']['getPluralForm']=_0x11c6f1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x15f949=>{const {bn:{dictionary:_0x2170b8,getPluralForm:_0x1de8ec}}={'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':_0x4d5c56=>0x1!=_0x4d5c56}};_0x15f949['bn']||={'dictionary':{},'getPluralForm':null},_0x15f949['bn']['dictionary']=Object['assign'](_0x15f949['bn']['dictionary'],_0x2170b8),_0x15f949['bn']['getPluralForm']=_0x1de8ec;})(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':_0x211711=>_0x211711%0xa==0x1&&_0x211711%0x64!=0xb?0x0:_0x211711%0xa>=0x2&&_0x211711%0xa<=0x4&&(_0x211711%0x64<0xa||_0x211711%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':_0x3d9982=>_0x3d9982%0xa==0x1&&_0x3d9982%0x64!=0xb?0x0:_0x3d9982%0xa>=0x2&&_0x3d9982%0xa<=0x4&&(_0x3d9982%0x64<0xa||_0x3d9982%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x9c738c=>{const {bs:{dictionary:_0x544446,getPluralForm:_0x596934}}={'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':_0x45a645=>_0x45a645%0xa==0x1&&_0x45a645%0x64!=0xb?0x0:_0x45a645%0xa>=0x2&&_0x45a645%0xa<=0x4&&(_0x45a645%0x64<0xa||_0x45a645%0x64>=0x14)?0x1:0x2}};_0x9c738c['bs']||={'dictionary':{},'getPluralForm':null},_0x9c738c['bs']['dictionary']=Object['assign'](_0x9c738c['bs']['dictionary'],_0x544446),_0x9c738c['bs']['getPluralForm']=_0x596934;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4522f2=>{const {bs:{dictionary:_0x277469,getPluralForm:_0x58c61f}}={'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':_0x41f0b0=>_0x41f0b0%0xa==0x1&&_0x41f0b0%0x64!=0xb?0x0:_0x41f0b0%0xa>=0x2&&_0x41f0b0%0xa<=0x4&&(_0x41f0b0%0x64<0xa||_0x41f0b0%0x64>=0x14)?0x1:0x2}};_0x4522f2['bs']||={'dictionary':{},'getPluralForm':null},_0x4522f2['bs']['dictionary']=Object['assign'](_0x4522f2['bs']['dictionary'],_0x277469),_0x4522f2['bs']['getPluralForm']=_0x58c61f;})(window['CKEDITOR_TRANSLATIONS']||={});