@ckeditor/ckeditor5-uploadcare 45.2.0-alpha.6 → 45.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x4b9715,Command as _0x580370}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x27f7d1,IconGooglePhotos as _0x35d1dd,IconGoogleDrive as _0x53508f,IconFacebook as _0x2a6959,IconDropbox as _0x4270df,IconUploadcareLink as _0x30fcf2,IconUploadcareImageUpload as _0x4a02c4,IconError as et,IconUploadcareImageEdit as _0xcda355}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1f25d4,MenuBarMenuListItemButtonView as _0x218b02,View as _0x26ab36,FocusCycler as _0x3e7f3c,Dialog as _0x5910bb,DialogViewPosition as _0x3438aa,SpinnerView as _0x142d27,IconView as at,Notification as _0xd7b856}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x567cdf,DomEmitterMixin as _0x50cc95,global as _0x44b72b,getAncestors as _0x3fdcd9,ObservableMixin as _0x34d9c3,createElement as _0x3d9441,uid as _0x153d54}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x593eb6}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x46d02b,info as _0x53a626}from'@uploadcare/upload-client';import*as _0x506f9b from'@uploadcare/file-uploader';var o=function(_0x113a49){return _0x113a49['Local']='local',_0x113a49['URL']='url',_0x113a49['Dropbox']='dropbox',_0x113a49['GDrive']='gdrive',_0x113a49['Facebook']='facebook',_0x113a49['GPhotos']='gphotos',_0x113a49['OneDrive']='onedrive',_0x113a49;}({});function _(_0x126059,_0x21ab63,_0x218923){const t=_0x126059['t'],_0x403b1a=_0x126059['t'];switch(_0x21ab63){case o['Local']:return{'text':_0x403b1a('Insert'===_0x218923?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x403b1a('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x218923?_0x403b1a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x403b1a('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x218923?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x218923?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x218923?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x218923?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x218923?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x21ab63;}}class e extends _0x4b9715{['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 _0x94fe5d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c2e31;for(const _0x57431b in _0x94fe5d){const _0x5c4a82=_0x57431b,_0x416fe0=_0x94fe5d[_0x5c4a82];if('uploadcareLicenseKeyValid'==_0x416fe0||'uploadcareLicenseKeyInvalid'==_0x416fe0||'uploadcareLicenseKeyExpired'==_0x416fe0||'uploadcareLicenseKeyDomainLimit'==_0x416fe0||'uploadcareLicenseKeyNotAllowed'==_0x416fe0||'uploadcareLicenseKeyEvaluationLimit'==_0x416fe0||'uploadcareLicenseKeyTrialLimit'==_0x416fe0||'uploadcareLicenseKeyUsageLimit'==_0x416fe0){delete _0x94fe5d[_0x5c4a82],_0x4c2e31=_0x416fe0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4c2e31&&_0x94fe5d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4c2e31&&_0x94fe5d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4c2e31&&_0x94fe5d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4c2e31&&_0x94fe5d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4c2e31&&_0x94fe5d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4c2e31&&_0x94fe5d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4c2e31&&_0x94fe5d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1371e9}=this,_0x5c3e35=_0x1371e9['commands']['get']('uploadcare');if(!_0x5c3e35)return;const _0x544556=this['_normalizeConfigSourceList'](_0x1371e9['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x389989,_0x30e865)=>{const _0x3c8243=this['_getIntegrationKey'](_0x30e865['type']);return _0x389989[_0x3c8243]||(_0x389989[_0x3c8243]=[]),_0x389989[_0x3c8243]['push'](_0x30e865),_0x389989;},{});_0x1371e9['plugins']['has']('ImageInsertUI')&&_0x1371e9['commands']['get']('uploadcare')&&Object['entries'](_0x544556)['forEach'](([_0x27f57c,_0x16ad29])=>{_0x1371e9['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x27f57c,'observable':()=>_0x5c3e35,'buttonViewCreator':()=>this['_createToolbarButton'](_0x16ad29),'formViewCreator':()=>this['_createDropdownButtons'](_0x16ad29),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x16ad29),'override':'assetManager'!==_0x27f57c});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1e83a2){const {locale:_0x46832d}=this['editor'];return _0x1e83a2['map'](_0x2e5416=>{const _0x4692fe=_(_0x46832d,_0x2e5416,'Insert');switch(_0x2e5416){case o['Local']:return{'icon':_0x4a02c4,'type':o['Local'],..._0x4692fe};case o['URL']:return{'icon':_0x30fcf2,'type':o['URL'],..._0x4692fe};case o['Dropbox']:return{'icon':_0x4270df,'type':o['Dropbox'],..._0x4692fe};case o['Facebook']:return{'icon':_0x2a6959,'type':o['Facebook'],..._0x4692fe};case o['GDrive']:return{'icon':_0x53508f,'type':o['GDrive'],..._0x4692fe};case o['GPhotos']:return{'icon':_0x35d1dd,'type':o['GPhotos'],..._0x4692fe};case o['OneDrive']:return{'icon':_0x27f7d1,'type':o['OneDrive'],..._0x4692fe};}});}['_getIntegrationKey'](_0x227eb9){switch(_0x227eb9){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x87acda,_0x162c4f){const _0x4e6523=this['editor'],_0x27ae4f=new _0x87acda(_0x4e6523['locale']),_0x38c0a2=_0x4e6523['commands']['get']('uploadcare');return _0x27ae4f['bind']('isEnabled')['to'](_0x38c0a2),_0x27ae4f['on']('execute',()=>{_0x38c0a2['execute'](_0x162c4f);}),_0x27ae4f;}['_createToolbarButton'](_0x46782b){const {locale:_0x16b9c1}=this['editor'],_0x2dfe8f=this['editor']['plugins']['get']('ImageInsertUI'),_0x54909c=_0x46782b[0x0],_0x11ebb8=this['_createButton'](_0x1f25d4,_0x54909c['type']);return _0x11ebb8['icon']=_0x54909c['icon'],_0x11ebb8['bind']('label')['to'](_0x2dfe8f,'isImageSelected',_0x3c66dd=>_(_0x16b9c1,_0x54909c['type'],_0x3c66dd?'Replace':'Insert')['text']),_0x11ebb8['tooltip']=!0x0,_0x11ebb8;}['_createDropdownButtons'](_0x51bcb7){const {locale:_0x2f8fbc}=this['editor'],_0x47b794=this['editor']['plugins']['get']('ImageInsertUI');return _0x51bcb7['map'](_0x173dd9=>{const _0x297224=this['_createButton'](_0x1f25d4,_0x173dd9['type']);return _0x297224['withText']=!0x0,_0x297224['icon']=_0x173dd9['icon'],_0x297224['bind']('label')['to'](_0x47b794,'isImageSelected',_0x19997d=>_(_0x2f8fbc,_0x173dd9['type'],_0x19997d?'Replace':'Insert')['text']),_0x297224;});}['_createMenuBarButtons'](_0x5bbc3b){return _0x5bbc3b['map'](_0x26197b=>{const _0x52be12=this['_createButton'](_0x218b02,_0x26197b['type']);return _0x52be12['icon']=_0x26197b['icon'],_0x52be12['label']=_0x26197b['shortText'],_0x52be12;});}}class q extends _0x26ab36{['focusTracker'];['focusCycler'];constructor(_0x45bf7){super(_0x45bf7),this['focusTracker']=new _0x567cdf(),this['focusCycler']=new _0x3e7f3c({'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(_0x39d05c){super(_0x39d05c),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(_0x5538a2,_0x382747){const _0x3fa6ba=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x52d615=>_0x52d615<=_0x382747)['map'](_0x3cecba=>_0x5538a2['replace'](/\/$/,'')+'/-/resize/'+_0x3cecba+'x/\x20'+_0x3cecba+'w');return{'imageFallbackUrl':_0x5538a2,'imageSources':[{'srcset':_0x3fa6ba['join'](',\x20'),'sizes':'(max-width:\x20'+_0x382747+'px)\x20100vw,\x20'+_0x382747+'px','type':'image/webp'}]};}function A(_0x2e1ee1,_0x4dd4c8,_0x10ec3f){const _0x9d8455=_0x2e1ee1['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x9d8455?parseInt(_0x9d8455[0x1],0xa):_0x4dd4c8,'height':_0x9d8455?parseInt(_0x9d8455[0x2],0xa):_0x10ec3f};}function m(_0x5bed40,_0x30e16f){const _0xe58ab=Object['create'](_0x50cc95),_0x1e54b7=_0x5bed40['plugins']['get']('ImageUtils'),_0xeeecbe=_0x5bed40['editing']['mapper']['toViewElement'](_0x30e16f),_0x56dac4=_0x1e54b7['findViewImgElement'](_0xeeecbe),_0x146474=_0x5bed40['editing']['view']['domConverter']['viewToDom'](_0x56dac4),_0x24cdc4=_0x30e16f['getAttribute']('width'),_0x3ffc2e=_0x30e16f['getAttribute']('height'),_0x10b8b8='image-processing';_0x5bed40['editing']['view']['change'](_0x4af678=>{_0x4af678['addClass'](_0x10b8b8,_0xeeecbe),_0x4af678['setStyle']('aspect-ratio',_0x24cdc4+'/'+_0x3ffc2e,_0x56dac4);}),_0xe58ab['listenTo'](_0x146474,'load',()=>{_0xe58ab['stopListening'](_0x146474,'load'),_0x5bed40['editing']['view']['change'](_0x31d65d=>{_0x31d65d['removeClass'](_0x10b8b8,_0xeeecbe),_0x31d65d['removeStyle']('aspect-ratio',_0x56dac4);});});}function R(_0x1efb95){if(Array['isArray'](_0x1efb95)){const _0xd1842a=_0x1efb95['map'](R);return _0x45b63c=>_0xd1842a['some'](_0x4affd3=>_0x4affd3(_0x45b63c));}if('origin'==_0x1efb95){const _0x4ab5ee=_0x44b72b['window']['location']['origin'];return _0xad9938=>new URL(_0xad9938,_0x44b72b['document']['baseURI'])['origin']==_0x4ab5ee;}return'function'==typeof _0x1efb95?_0x1efb95:_0x1efb95 instanceof RegExp?_0x27ad5b=>!(!_0x27ad5b['match'](_0x1efb95)&&!_0x27ad5b['replace'](/^https?:\/\//,'')['match'](_0x1efb95)):()=>!0x1;}function F(_0x3fbaf5,_0x2592ed){return _0x3fdcd9(_0x3fbaf5['target'])['includes'](_0x2592ed);}class l extends/* #__PURE__ -- @preserve */
24
- _0x34d9c3(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5dd0c3,_0x40a56b,_0x125bee){super(),this['_editor']=_0x5dd0c3,this['_editing']=_0x40a56b,this['_dialog']=_0x5dd0c3['plugins']['get'](_0x5910bb),this['_api']=_0x40a56b['ctxElement']['getAPI'](),this['_type']=_0x125bee,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:_0x2b700b,model:_0x4b336c}=this['_editor'],_0x5cab86=_0x4b336c['document']['selection']['getSelectedElement'](),_0x32ae0e=_0x5cab86&&(_0x5cab86['is']('element','imageBlock')||_0x5cab86['is']('element','imageInline'));this['_formView']=new S(_0x2b700b),this['_dialog']['show']({'id':'uploadCare','icon':_0x4a02c4,'title':_(_0x2b700b,this['_type'],_0x32ae0e?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3438aa['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x355952=>!F(_0x355952,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1563ca}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3461d0=>{const _0x22a32b=_0x1563ca['length'];for(const _0x514016 of _0x1563ca){const _0x58e0fe=_0x514016===_0x1563ca[_0x22a32b-0x1],{cdnUrl:_0x1d79d1,fileInfo:_0x4b56df}=_0x514016;if(!_0x1d79d1||!_0x4b56df)continue;const {width:_0x9916cf,height:_0x195697}=_0x4b56df['imageInfo'],_0x53f73f=A(_0x1d79d1,_0x9916cf,_0x195697),_0x2ed2a4=E(_0x1d79d1,_0x53f73f['width']),_0x389447={'id':_0x4b56df['uuid'],'type':'image','attributes':{'imageDimension':_0x53f73f,..._0x2ed2a4}};this['_insertAsset'](_0x389447,_0x58e0fe,_0x3461d0);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x8eb5d7=>{'idle'===_0x8eb5d7['detail']['status']&&!_0x8eb5d7['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1a6875,_0x218678,_0x101015){const _0x21e29e=this['_editor']['model']['document']['selection'],_0x5ea177=_0x21e29e['getSelectedElement'](),_0xde41e6=!(!_0x5ea177||!_0x5ea177['is']('element','imageInline'));_0x101015['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1a6875,_0xde41e6),_0x218678||_0x101015['setSelection'](_0x21e29e['getLastPosition']());}['_insertImage'](_0x20330d,_0x15a4b7){const _0x12821a=this['_editor'],{imageDimension:_0x1f63fe,imageFallbackUrl:_0x56f0a6,imageSources:_0x14c104}=_0x20330d['attributes'];_0x12821a['execute']('insertImage',{'imageType':_0x15a4b7?'imageInline':null,'source':{'uploadcareImageId':_0x20330d['id'],'src':_0x56f0a6,'sources':_0x14c104,..._0x1f63fe}});}}class n extends _0x580370{['_editing'];['_controller']=null;static get['requires'](){return[_0x5910bb,i];}constructor(_0x3d97ac){super(_0x3d97ac),this['_editing']=_0x3d97ac['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xa91734){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0xa91734);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x3f5c44,publicKey:_0x29174d,signal:_0x14ab19,onProgress:_0x2edf6c}){return _0x46d02b(_0x3f5c44,{'publicKey':_0x29174d,'store':'auto','signal':_0x14ab19,'onProgress':_0x2edf6c});}static['getInfo'](_0x5972e3,_0x1a44df){return _0x53a626(_0x5972e3,_0x1a44df);}}class p extends _0x4b9715{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x593eb6,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4ce98b=this['editor'];if(!!!_0x4ce98b['config']['get']('uploadcare'))return;_0x4ce98b['plugins']['get'](_0x593eb6)['createUploadAdapter']=_0xc22cb1=>new x(_0xc22cb1,_0x4ce98b),_0x4ce98b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4da56c,{imageElement:_0x41c355,data:_0x355774})=>{_0x4ce98b['model']['change'](_0x2912ea=>{_0x2912ea['setAttribute']('uploadcareImageId',_0x355774['uploadcareImageId'],_0x41c355);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x7200eb,_0x3bab7c){this['loader']=_0x7200eb,this['editor']=_0x3bab7c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3b3a82=this['editor']['config']['get']('uploadcare.pubkey'),_0x309ddb=await this['loader']['file'];return C['upload']({'file':_0x309ddb,'publicKey':_0x3b3a82,'signal':this['controller']['signal'],'onProgress':_0x5c7761=>{_0x5c7761&&_0x5c7761['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5c7761['value']);}})['then'](async _0x4dc50f=>{const {imageFallbackUrl:_0xd531c5,imageSources:_0x362af1}=E(_0x4dc50f['cdnUrl'],_0x4dc50f['imageInfo']['width']);return{'uploadcareImageId':_0x4dc50f['uuid'],'default':_0xd531c5,'sources':_0x362af1};})['catch'](()=>{const _0x38e5f3=t('Cannot\x20upload\x20file:')+('\x20'+_0x309ddb['name']+'.');return Promise['reject'](_0x38e5f3);});}['abort'](){this['controller']['abort']();}}class i extends _0x4b9715{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x5910bb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x417f67=this['editor'];_0x417f67['commands']['add']('uploadcare',new n(_0x417f67));}['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 _0x5263d1=_0x44b72b['document']['querySelector']('input[uploadcare-file-input]');_0x5263d1&&_0x5263d1['remove']();}),async function(_0x3916ae){const _0x39adfe=_0x1c3eb2([0x57,0x34,0x49,0x61,0x6a,0x66,0x33,0x30,0x47,0x74,0x38,0x79,0x6b,0x65,0x39,0x7a,0x6f,0x37,0x4e,0x4c,0x46,0x71,0x70,0x69,0x63,0x51,0x44,0x5a,0x31,0x62,0x32,0x6d,0x55,0x56,0x64,0x58,0x45,0x73,0x4d,0x72,0x35,0x36,0x75,0x4a,0x50,0x68,0x76,0x42,0x4f,0x6e,0x54,0x77,0x41,0x67,0x52,0x53,0x59,0x48,0x6c,0x43,0x4b,0x78]),_0xe9a44b=0x6cf7ea60,_0x521618=0x6cf083d0^_0xe9a44b,_0x536aee=window[_0x1c3eb2([0x44,0x61,0x74,0x65])][_0x1c3eb2([0x6e,0x6f,0x77])](),_0x190c75=_0x3916ae[_0x1c3eb2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5dc0bf=new window[(_0x1c3eb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51cec9=>{_0x190c75[_0x1c3eb2([0x6f,0x6e,0x63,0x65])](_0x1c3eb2([0x72,0x65,0x61,0x64,0x79]),_0x51cec9);}),_0x45846d={[_0x1c3eb2([0x6b,0x74,0x79])]:_0x1c3eb2([0x45,0x43]),[_0x1c3eb2([0x75,0x73,0x65])]:_0x1c3eb2([0x73,0x69,0x67]),[_0x1c3eb2([0x63,0x72,0x76])]:_0x1c3eb2([0x50,0x2d,0x32,0x35,0x36]),[_0x1c3eb2([0x78])]:_0x1c3eb2([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]),[_0x1c3eb2([0x79])]:_0x1c3eb2([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]),[_0x1c3eb2([0x61,0x6c,0x67])]:_0x1c3eb2([0x45,0x53,0x32,0x35,0x36])},_0x49d863=_0x190c75[_0x1c3eb2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c3eb2([0x67,0x65,0x74])](_0x1c3eb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xba243d(){let _0x30602f,_0x542d8d=null,_0x26f8bf=null;try{if(_0x49d863==_0x1c3eb2([0x47,0x50,0x4c]))return _0x1c3eb2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30602f=_0x592aed(),!_0x30602f)return _0x1c3eb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30602f[_0x1c3eb2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26f8bf=_0x1ed11a(_0x30602f[_0x1c3eb2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30602f[_0x1c3eb2([0x6a,0x74,0x69])])),await _0x236ad1()?_0x515b86()?_0x14f86d()?_0x1c3eb2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x321c2f()?(_0x30602f[_0x1c3eb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c3eb2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x542d8d=_0x1c9441(_0x1c3eb2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30602f[_0x1c3eb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c3eb2([0x74,0x72,0x69,0x61,0x6c])&&(_0x542d8d=_0x1c9441(_0x1c3eb2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x941bd4()):_0x1c3eb2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c3eb2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c3eb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c3eb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x14f86d(){const _0x5346fb=[_0x1c3eb2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c3eb2([0x74,0x72,0x69,0x61,0x6c])][_0x1c3eb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30602f[_0x1c3eb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x536aee/0x3e8:0xe10*_0x521618;return _0x30602f[_0x1c3eb2([0x65,0x78,0x70])]<_0x5346fb;}function _0x515b86(){const _0x5acc0e=_0x30602f[_0x1c3eb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5acc0e&&(!!_0x5acc0e[_0x1c3eb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3eb2([0x2a]))||!!_0x5acc0e[_0x1c3eb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3eb2([0x55,0x50,0x4c,0x43])));}function _0x321c2f(){const _0x194853=_0x30602f[_0x1c3eb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x194853||0x0==_0x194853[_0x1c3eb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x373b77}=new URL(window[_0x1c3eb2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x194853[_0x1c3eb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373b77))return!0x0;const _0x295b7a=_0x373b77[_0x1c3eb2([0x73,0x70,0x6c,0x69,0x74])](_0x1c3eb2([0x2e]));return _0x194853[_0x1c3eb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51d0a7=>_0x51d0a7[_0x1c3eb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3eb2([0x2a])))[_0x1c3eb2([0x6d,0x61,0x70])](_0x501e4a=>_0x501e4a[_0x1c3eb2([0x73,0x70,0x6c,0x69,0x74])](_0x1c3eb2([0x2e])))[_0x1c3eb2([0x73,0x6f,0x6d,0x65])](_0x57dec3=>_0x295b7a[_0x1c3eb2([0x65,0x76,0x65,0x72,0x79])]((_0xce61d5,_0x43e90a)=>_0x57dec3[_0x43e90a]===_0xce61d5||_0x57dec3[_0x43e90a]===_0x1c3eb2([0x2a])));}function _0x941bd4(){return _0x542d8d&&_0x26f8bf?new window[(_0x1c3eb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6ebd30,_0xab4290)=>{_0x542d8d[_0x1c3eb2([0x74,0x68,0x65,0x6e])](_0x6ebd30,_0xab4290),_0x26f8bf[_0x1c3eb2([0x74,0x68,0x65,0x6e])](_0x21258a=>{_0x21258a!=_0x1c3eb2([0x56,0x61,0x6c,0x69,0x64])&&_0x6ebd30(_0x21258a);},_0xab4290);}):_0x542d8d||_0x26f8bf||_0x1c3eb2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ed11a(_0x20da2f,_0x295811){return new window[(_0x1c3eb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18ac50=>{if(_0x29e991())return _0x18ac50(_0x1c3eb2([0x56,0x61,0x6c,0x69,0x64]));_0x4fc48f(),_0x190c75[_0x1c3eb2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c3eb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2778ff=!0x1;const _0x1b3e82=_0x153d54();function _0x514252(_0x1a28f0){return!!_0x1a28f0&&(typeof _0x1a28f0===_0x1c3eb2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a28f0===_0x1c3eb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a28f0[_0x1c3eb2([0x74,0x68,0x65,0x6e])]===_0x1c3eb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a28f0[_0x1c3eb2([0x63,0x61,0x74,0x63,0x68])]===_0x1c3eb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xfac819(_0x11450c){_0x1aa30a(_0x11450c)[_0x1c3eb2([0x74,0x68,0x65,0x6e])](_0x2b8731=>{if(!_0x2b8731||_0x2b8731[_0x1c3eb2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c3eb2([0x6f,0x6b]))return _0x1c3eb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a1a0f(_0xf974e7(_0x1b3e82+_0x295811))!=_0x2b8731[_0x1c3eb2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c3eb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c3eb2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c3eb2([0x74,0x68,0x65,0x6e])](_0x17e33e=>(_0x2dd810(),_0x17e33e),()=>{const _0x8f949b=_0x19eb25();return null==_0x8f949b?(_0x2dd810(),_0x1c3eb2([0x56,0x61,0x6c,0x69,0x64])):_0x1c3eb2(_0x536aee-_0x8f949b>(0x48fb6e60^_0xe9a44b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c3eb2([0x74,0x68,0x65,0x6e])](_0x18ac50)[_0x1c3eb2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18ac50(_0x1c3eb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x137895=0x6cc104e0^_0xe9a44b;function _0x2dd810(){const _0x583ef4=_0x1c3eb2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1a0f(_0xf974e7(_0x20da2f)),_0x38b8e5=_0x562a9a(_0x4a1a0f(window[_0x1c3eb2([0x4d,0x61,0x74,0x68])][_0x1c3eb2([0x63,0x65,0x69,0x6c])](_0x536aee/_0x137895)));window[_0x1c3eb2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c3eb2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x583ef4,_0x38b8e5);}function _0x19eb25(){const _0x5443b1=_0x1c3eb2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1a0f(_0xf974e7(_0x20da2f)),_0x55dc1b=window[_0x1c3eb2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c3eb2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5443b1);return _0x55dc1b?window[_0x1c3eb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x562a9a(_0x55dc1b),0x10)*_0x137895:null;}function _0x1aa30a(_0x50bc55){return new window[(_0x1c3eb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1afeac,_0x2bc996)=>{_0x50bc55[_0x1c3eb2([0x74,0x68,0x65,0x6e])](_0x1afeac,_0x2bc996),window[_0x1c3eb2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bc996,0x6cf63ea0^_0xe9a44b);});}}_0x190c75[_0x1c3eb2([0x6f,0x6e])](_0x1c3eb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20ce49,_0x546337)=>{if(_0x546337[0x0]!=_0x20da2f)return _0x18ac50(_0x1c3eb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x546337[0x1]={..._0x546337[0x1],[_0x1c3eb2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b3e82};},{[_0x1c3eb2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c3eb2([0x68,0x69,0x67,0x68])}),_0x190c75[_0x1c3eb2([0x6f,0x6e])](_0x1c3eb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1fc981=>{_0x514252(_0x1fc981[_0x1c3eb2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2778ff=!0x0,_0xfac819(_0x1fc981[_0x1c3eb2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c3eb2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c3eb2([0x6c,0x6f,0x77])}),_0x5dc0bf[_0x1c3eb2([0x74,0x68,0x65,0x6e])](()=>{_0x2778ff||_0x18ac50(_0x1c3eb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29e991(){return _0x190c75[_0x1c3eb2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c3eb2([0x76,0x69,0x65,0x77])][_0x1c3eb2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c3eb2([0x61,0x75,0x74,0x6f]);}function _0x4fc48f(){_0x190c75[_0x1c3eb2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c3eb2([0x76,0x69,0x65,0x77])][_0x1c3eb2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c3eb2([0x61,0x75,0x74,0x6f]);}}function _0x1c9441(_0xb7d1ea){const _0x45393e=[new window[(_0x1c3eb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59d3b9=>setTimeout(_0x59d3b9,0x6cfed4ac^_0xe9a44b)),_0x5dc0bf[_0x1c3eb2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c3eb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40505c=>{let _0x24a4c5=0x0;_0x190c75[_0x1c3eb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c3eb2([0x6f,0x6e])](_0x1c3eb2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x70b33a,_0x21172a)=>{_0x21172a[0x0][_0x1c3eb2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24a4c5++,_0x24a4c5==(0x6cf7eb98^_0xe9a44b)&&(_0x40505c(),_0x70b33a[_0x1c3eb2([0x6f,0x66,0x66])]());});}))];return window[_0x1c3eb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c3eb2([0x72,0x61,0x63,0x65])](_0x45393e)[_0x1c3eb2([0x74,0x68,0x65,0x6e])](()=>_0xb7d1ea);}async function _0x3d213c(){await _0x5dc0bf,_0x190c75[_0x1c3eb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c3eb2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x254a88,_0x190c75[_0x1c3eb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c3eb2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x254a88,_0x190c75[_0x1c3eb2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c3eb2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a5314(_0x57f823){const _0x1969ec=_0x1e3515();_0x190c75[_0x1969ec]=_0x1c3eb2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57f823,_0x57f823!=_0x1c3eb2([0x56,0x61,0x6c,0x69,0x64])&&_0x3d213c();}function _0x1e3515(){const _0x49fbb6=window[_0x1c3eb2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c3eb2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c3eb2([0x6e,0x6f,0x77])]())[_0x1c3eb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c3eb2([0x2e]),'');let _0x297a11=_0x1c3eb2([0x57]);for(let _0x421f83=0x0;_0x421f83<_0x49fbb6[_0x1c3eb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x421f83+=0x2){let _0x5ab430=window[_0x1c3eb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49fbb6[_0x1c3eb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x421f83,_0x421f83+0x2));_0x5ab430>=_0x39adfe[_0x1c3eb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ab430-=_0x39adfe[_0x1c3eb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x297a11+=_0x39adfe[_0x5ab430];}return _0x297a11;}function _0x592aed(){const _0x52c8c7=_0x49d863[_0x1c3eb2([0x73,0x70,0x6c,0x69,0x74])](_0x1c3eb2([0x2e]));if(0x3!=_0x52c8c7[_0x1c3eb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ebd7c(_0x52c8c7[0x1]);function _0x4ebd7c(_0x2926bf){const _0x3e58f6=_0x25eafe(_0x2926bf);return _0x3e58f6&&_0x274296()?_0x3e58f6:null;function _0x274296(){const _0xa89e77=_0x3e58f6[_0x1c3eb2([0x6a,0x74,0x69])],_0x4de0c8=window[_0x1c3eb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa89e77[_0x1c3eb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa89e77[_0x1c3eb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ac303={..._0x3e58f6,[_0x1c3eb2([0x6a,0x74,0x69])]:_0xa89e77[_0x1c3eb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa89e77[_0x1c3eb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ac303[_0x1c3eb2([0x76,0x63])],_0xf974e7(_0x3ac303)==_0x4de0c8;}}}async function _0x236ad1(){let _0xc8bdc9=!0x0;try{const _0xc769bf=_0x49d863[_0x1c3eb2([0x73,0x70,0x6c,0x69,0x74])](_0x1c3eb2([0x2e])),[_0x50fdb9,_0x4cd406,_0x1595dd]=_0xc769bf;return _0x4a35ef(_0x50fdb9),await _0x25b64f(_0x50fdb9,_0x4cd406,_0x1595dd),_0xc8bdc9;}catch{return!0x1;}function _0x4a35ef(_0x3564c0){const _0xe41876=_0x25eafe(_0x3564c0);_0xe41876&&_0xe41876[_0x1c3eb2([0x61,0x6c,0x67])]==_0x1c3eb2([0x45,0x53,0x32,0x35,0x36])||(_0xc8bdc9=!0x1);}async function _0x25b64f(_0x2f3042,_0x36772d,_0x1a9f60){const _0x15df70=window[_0x1c3eb2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c3eb2([0x66,0x72,0x6f,0x6d])](_0x39956e(_0x1a9f60),_0x4bb636=>_0x4bb636[_0x1c3eb2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e0aea=new window[(_0x1c3eb2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c3eb2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f3042+_0x1c3eb2([0x2e])+_0x36772d),_0x1d4d32=window[_0x1c3eb2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c3eb2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d4d32)return;const _0x85a06c=await _0x1d4d32[_0x1c3eb2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c3eb2([0x6a,0x77,0x6b]),_0x45846d,{[_0x1c3eb2([0x6e,0x61,0x6d,0x65])]:_0x1c3eb2([0x45,0x43,0x44,0x53,0x41]),[_0x1c3eb2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c3eb2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c3eb2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d4d32[_0x1c3eb2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c3eb2([0x6e,0x61,0x6d,0x65])]:_0x1c3eb2([0x45,0x43,0x44,0x53,0x41]),[_0x1c3eb2([0x68,0x61,0x73,0x68])]:{[_0x1c3eb2([0x6e,0x61,0x6d,0x65])]:_0x1c3eb2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x85a06c,_0x15df70,_0x1e0aea)||(_0xc8bdc9=!0x1);}}function _0x25eafe(_0x46fb65){return _0x46fb65[_0x1c3eb2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c3eb2([0x65,0x79]))?JSON[_0x1c3eb2([0x70,0x61,0x72,0x73,0x65])](_0x39956e(_0x46fb65)):null;}function _0x39956e(_0x475a10){return window[_0x1c3eb2([0x61,0x74,0x6f,0x62])](_0x475a10[_0x1c3eb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c3eb2([0x2b]))[_0x1c3eb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c3eb2([0x2f])));}function _0xf974e7(_0x4a1dc1){let _0x487f6c=0x1505;function _0x4a14be(_0x2afb73){for(let _0x427918=0x0;_0x427918<_0x2afb73[_0x1c3eb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x427918++){const _0x1f7f9a=_0x2afb73[_0x1c3eb2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x427918);_0x487f6c=(_0x487f6c<<0x5)+_0x487f6c+_0x1f7f9a,_0x487f6c&=_0x487f6c;}}function _0x37dcf1(_0x534845){Array[_0x1c3eb2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x534845)?_0x534845[_0x1c3eb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37dcf1):_0x534845&&typeof _0x534845==_0x1c3eb2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c3eb2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x534845)[_0x1c3eb2([0x73,0x6f,0x72,0x74])]()[_0x1c3eb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5aff1f,_0x5b0a5d])=>{_0x4a14be(_0x5aff1f),_0x37dcf1(_0x5b0a5d);}):_0x4a14be(window[_0x1c3eb2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x534845));}return _0x37dcf1(_0x4a1dc1),_0x487f6c>>>0x0;}function _0x4a1a0f(_0x52413e){return _0x52413e[_0x1c3eb2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c3eb2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c3eb2([0x30]));}function _0x562a9a(_0x4cb99f){return _0x4cb99f[_0x1c3eb2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c3eb2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c3eb2([0x6a,0x6f,0x69,0x6e])]('');}function _0x254a88(){}function _0x1c3eb2(_0x1f6a6f){return _0x1f6a6f['map'](_0x26094b=>String['fromCharCode'](_0x26094b))['join']('');}_0x4a5314(await _0xba243d());}(this);}['_initSchema'](){const _0x34d413=this['editor']['model']['schema'];_0x34d413['isRegistered']('imageBlock')&&_0x34d413['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x34d413['isRegistered']('imageInline')&&_0x34d413['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4c6c55=this['editor'];_0x4c6c55['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4c6c55['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5a110b=>_0x5a110b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x394e33=_0x4c6c55['commands']['get']('replaceImageSource');_0x394e33&&this['listenTo'](_0x394e33,'cleanupImage',(_0x3c8fbf,[_0x3b59af,_0x134e33])=>{_0x3b59af['removeAttribute']('uploadcareImageId',_0x134e33);});}['_initConfig'](){const _0x363ba0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5e2f5a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3d9441(_0x44b72b['document'],'uc-config',{..._0x363ba0,'pubkey':_0x5e2f5a,'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']=_0x31885a=>{if('closeMax'==_0x31885a)return'#uc-icon-arrow-down';},_0x44b72b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3d9441(_0x44b72b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x44b72b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x53508c=this['editor']['commands']['get']('insertImage');_0x53508c&&this['listenTo'](_0x53508c,'execute',()=>{const _0x52c36e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x52c36e&&_0x52c36e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x52c36e);});});const _0x77663=this['editor']['commands']['get']('uploadcareImageReplace');_0x77663&&this['listenTo'](_0x77663,'execute',()=>{const _0x3d408c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d408c&&_0x3d408c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3d408c);});});}}class u extends _0x4b9715{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3fd0df){super(_0x3fd0df),_0x3fd0df['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x506f9b['defineComponents'](_0x506f9b);}}class ta extends _0x26ab36{constructor(_0x6db38a){super(_0x6db38a);const t=_0x6db38a['t'],_0x108cdf=this['bindTemplate'],_0x4b85f0=new _0x142d27();_0x4b85f0['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':[_0x4b85f0,{'text':_0x108cdf['to']('imageUploadProgress',_0x31a2f9=>t('Loading\x20image...')+'\x20('+(_0x31a2f9||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 _0x26ab36{constructor(_0x2a1410){super(_0x2a1410);const t=_0x2a1410['t'];this['set']('errorType',null);const _0x5dd53c=new _0x1f25d4(_0x2a1410);_0x5dd53c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5dd53c['withText']=!0x0,_0x5dd53c['class']='ck-button-action',_0x5dd53c['on']('execute',()=>{this['fire']('retry');}),_0x5dd53c['bind']('isVisible')['to'](this,'errorType',_0x20d08e=>'NotFound'!==_0x20d08e);const _0x35bb88=new at();_0x35bb88['content']=et,_0x35bb88['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x19a3d8=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':[_0x35bb88,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x19a3d8['to']('errorType',_0x2ed939=>t('NotFound'!==_0x2ed939?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5dd53c]},{'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 _0x26ab36{constructor(_0x54deb0,_0x28563c){super(_0x54deb0);const _0x5e4dfb=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x28563c,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5e4dfb['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2985aa,_0x4093c5,_0x45d680){super(_0x2985aa),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x2985aa),this['_errorView']=new rt(_0x2985aa),this['_editingView']=new tt(_0x2985aa,_0x45d680),this['_focusableView']=new _0x26ab36(_0x2985aa),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4093c5),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'],_0x1b55a5=>{this['_addUploadcareImageEditorListeners'](_0x1b55a5);});}),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'](_0x57485e,_0x2a1acd){const _0x7aa79c='uc-cloud-image-editor',_0x2156e1=_0x57485e['querySelector'](_0x7aa79c);if(_0x2156e1)return _0x2a1acd(_0x2156e1);const _0x59d411=new MutationObserver(_0x399e46=>{const _0x73f5d4=_0x399e46['filter'](_0x4aa75e=>_0x4aa75e['target']===_0x57485e&&_0x4aa75e['addedNodes']['length']>0x0&&_0x4aa75e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x7aa79c);_0x73f5d4['length']&&(_0x59d411['disconnect'](),_0x2a1acd(_0x73f5d4[0x0]['addedNodes'][0x0]));});_0x59d411['observe'](_0x57485e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x18c43c){_0x18c43c['addEventListener']('apply',_0x2c2acf=>{this['fire']('apply',{'imageSrc':_0x2c2acf['detail']['cdnUrl']});}),_0x18c43c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
- _0x34d9c3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x301a82,_0x12536e,_0x42ab2d){super(),this['_editor']=_0x301a82,this['_dialog']=_0x12536e,this['_imageElement']=_0x42ab2d,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 _0xb114d3=this['_imageElement'],_0x1e9e9c=_0xb114d3['getAttribute']('uploadcareImageId'),_0x20a4e7=_0xb114d3['getAttribute']('src');if(_0x1e9e9c)await this['_loadImageInfo'](_0x1e9e9c,_0x20a4e7);else{if(this['_imageCache']['has'](_0x20a4e7)){const _0x1a9403=this['_imageCache']['get'](_0x20a4e7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a9403['url'],this['imageDimension']=_0x1a9403['dimension'],this['imageId']=_0x1a9403['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3786b9}=this['_editor'],t=_0x3786b9['t'],_0x14f0f4=new Z(_0x3786b9,this['imageStatus'],this['_attributes']);_0x14f0f4['bind']('status')['to'](this,'imageStatus'),_0x14f0f4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x14f0f4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x14f0f4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x14f0f4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xcda355,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x14f0f4,'position':_0x3438aa['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x14f0f4['focus']();},'onHide':()=>{_0x14f0f4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x132c36=>!F(_0x132c36,_0x14f0f4['element'])}});}['_loadImageInfo'](_0x1e590e,_0x89e46f){return C['getInfo'](_0x1e590e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5c0ef3=>{const {width:_0x3be175,height:_0x25558a}=_0x5c0ef3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x89e46f,this['imageDimension']={'width':_0x3be175,'height':_0x25558a},this['imageId']=_0x1e590e;})['catch'](_0x4791fe=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4791fe['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3b2583,_0x703212){return this['_getImageAsFile'](_0x3b2583)['then'](_0x312d23=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x703212['signal'],'file':_0x312d23,'onProgress':_0x55c76e=>{_0x55c76e&&_0x55c76e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x55c76e['value']));}}))['then'](_0x544111=>{const {width:_0xb6789b,height:_0x344250}=_0x544111['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x544111['cdnUrl'],this['imageDimension']={'width':_0xb6789b,'height':_0x344250},this['imageId']=_0x544111['uuid'],this['imageUploadProgress']=null;const _0x2509e0=_0x3b2583['getAttribute']('src');this['_imageCache']['set'](_0x2509e0,{'id':_0x544111['uuid'],'url':_0x544111['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x21fb1f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x21fb1f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x35e71e,_0x15fb29){_0x35e71e['on']('apply',(_0x27119f,_0x2715fb)=>{this['_replaceImage'](_0x15fb29,_0x2715fb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x35e71e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x35e71e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3015c3,_0x55dc67,_0x593e0a){const _0x155db3=this['_editor'],{width:_0x321ffe,height:_0x299105}=A(_0x55dc67,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4f63dd,imageSources:_0x2063c7}=E(_0x55dc67,_0x321ffe);_0x155db3['model']['change'](_0x2b48ee=>{if('$graveyard'===_0x3015c3['root']['rootName']){_0x155db3['execute']('insertImage',{'imageType':_0x3015c3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3015c3['getAttributes']()),'uploadcareImageId':_0x593e0a,'src':_0x4f63dd,'sources':_0x2063c7,'width':_0x321ffe,'height':_0x299105}});const _0x5aa8c8=_0x3015c3['getChildren']();_0x3015c3=_0x155db3['model']['document']['selection']['getSelectedElement']();for(const _0xfd25e4 of _0x5aa8c8)_0x2b48ee['append'](_0x2b48ee['cloneElement'](_0xfd25e4),_0x3015c3);}else _0x2b48ee['setSelection'](_0x3015c3,'on'),_0x155db3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3015c3['getAttributes']()),'uploadcareImageId':_0x593e0a,'src':_0x4f63dd,'sources':_0x2063c7,'width':_0x321ffe,'height':_0x299105},_0x3015c3);_0x2b48ee['setSelection'](_0x3015c3,'on');});}async['_getImageAsFile'](_0x2ae8e6){const _0x2511e9=_0x44b72b['window'],_0x59c1e7=_0x44b72b['document']['location']['href'],_0x381093=new _0x2511e9['URL'](_0x2ae8e6['getAttribute']('src'),_0x59c1e7);if('data:'===_0x381093['protocol']){const _0x33842a=_0x381093['href']['split'](','),_0x390294=_0x33842a[0x0]['match'](/:(.*?);/)[0x1],_0xefd83e=_0x390294['split']('/')[0x1],_0x335c57=_0x2511e9['atob'](_0x33842a[_0x33842a['length']-0x1]);let _0x296a70=_0x335c57['length'];const _0x577ca8=new _0x2511e9['Uint8Array'](_0x296a70);for(;_0x296a70--;)_0x577ca8[_0x296a70]=_0x335c57['charCodeAt'](_0x296a70);return new _0x2511e9['File']([_0x577ca8],'image.'+_0xefd83e,{'type':_0x390294});}const _0x32a31f=_0x381093['href']['split']('/'),_0x4dc450=_0x32a31f[_0x32a31f['length']-0x1],_0x24b332=_0x4dc450['split']('.')[0x1];return _0x2511e9['fetch'](_0x381093['href'])['then'](_0x44d19d=>_0x44d19d['clone']()['blob']())['then'](_0x4a4095=>new _0x2511e9['File']([_0x4a4095],_0x4dc450,{'type':'image/'+_0x24b332}));}}class V extends _0x580370{['imageEditController'];static get['requires'](){return[_0x5910bb];}['_isEditable'];constructor(_0xdb6931){super(_0xdb6931),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xf1adec){const _0x3d7ed9=R(_0xf1adec);return _0x23e5b1=>!(!_0x23e5b1||!_0x23e5b1['is']('element','imageBlock')&&!_0x23e5b1['is']('element','imageInline'))&&(!!_0x23e5b1['hasAttribute']('uploadcareImageId')||!!_0x23e5b1['hasAttribute']('src')&&_0x3d7ed9(_0x23e5b1['getAttribute']('src')));}(_0xdb6931['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x22366b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x22366b);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2e14b5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2e14b5&&(_0x2e14b5['is']('element','imageBlock')||_0x2e14b5['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0x5910bb),_0x2e14b5),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x580370{['refresh'](){const _0x1ffe18=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1ffe18&&(_0x1ffe18['is']('element','imageBlock')||_0x1ffe18['is']('element','imageInline')));}['execute'](_0x5e5609){const _0x1d205d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3b0d83=>{_0x3b0d83['setAttributes'](_0x5e5609,_0x1d205d),_0x3b0d83['removeAttribute']('srcset',_0x1d205d),_0x3b0d83['removeAttribute']('sizes',_0x1d205d);});}}class g extends _0x4b9715{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0xd7b856,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57af01}=this;_0x57af01['commands']['add']('uploadcareImageEdit',new V(_0x57af01)),_0x57af01['commands']['add']('uploadcareImageReplace',new X(_0x57af01));}}class j extends _0x4b9715{['_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 _0x11bf6a=this['editor'];_0x11bf6a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x469eb9=>{const _0xdc82a2=_0x11bf6a['commands']['get']('uploadcareImageEdit'),_0x5eacdb=new _0x1f25d4(_0x469eb9),t=_0x469eb9['t'];return _0x5eacdb['set']({'icon':_0xcda355,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5eacdb['bind']('isEnabled')['to'](_0xdc82a2),_0x5eacdb['bind']('isOn')['to'](_0xdc82a2,'isActive'),this['listenTo'](_0x5eacdb,'execute',()=>{_0x11bf6a['execute']('uploadcareImageEdit'),_0x11bf6a['editing']['view']['focus']();}),_0x5eacdb;}),this['_initConfig']();}['_initConfig'](){const _0x126f00=_0x3d9441(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x126f00),this['listenTo'](this['editor'],'destroy',()=>{_0x126f00['remove']();});}}class P extends _0x4b9715{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 _0x450e6c,Command as _0x4cacde}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x180044,IconGooglePhotos as _0x106eb4,IconGoogleDrive as _0x353eef,IconFacebook as _0x2c6906,IconDropbox as _0x4f4914,IconUploadcareLink as _0x1911f4,IconUploadcareImageUpload as _0x1e5ad5,IconError as et,IconUploadcareImageEdit as _0x58989d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x502c41,MenuBarMenuListItemButtonView as _0x373575,View as _0x3a82a6,FocusCycler as _0x16cdec,Dialog as _0x39eac9,DialogViewPosition as _0x58b703,SpinnerView as _0x219b6a,IconView as at,Notification as _0x47a320}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5625f3,DomEmitterMixin as _0x37323c,global as _0x44d8c0,getAncestors as _0x465119,ObservableMixin as _0x2d0ef2,createElement as _0x3bf948,uid as _0x567cbb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x14a79b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x29e9b5,info as _0x179f0b}from'@uploadcare/upload-client';import*as _0x2ff80c from'@uploadcare/file-uploader';var o=function(_0x2c758e){return _0x2c758e['Local']='local',_0x2c758e['URL']='url',_0x2c758e['Dropbox']='dropbox',_0x2c758e['GDrive']='gdrive',_0x2c758e['Facebook']='facebook',_0x2c758e['GPhotos']='gphotos',_0x2c758e['OneDrive']='onedrive',_0x2c758e;}({});function _(_0xd1280,_0x546a9a,_0x42a9e0){const t=_0xd1280['t'],_0x36afb9=_0xd1280['t'];switch(_0x546a9a){case o['Local']:return{'text':_0x36afb9('Insert'===_0x42a9e0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x36afb9('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x42a9e0?_0x36afb9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x36afb9('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x42a9e0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x42a9e0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x42a9e0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x42a9e0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x42a9e0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x546a9a;}}class e extends _0x450e6c{['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 _0x4db305=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4bab5f;for(const _0x31dea2 in _0x4db305){const _0x565d4f=_0x31dea2,_0x27ee5f=_0x4db305[_0x565d4f];if('uploadcareLicenseKeyValid'==_0x27ee5f||'uploadcareLicenseKeyInvalid'==_0x27ee5f||'uploadcareLicenseKeyExpired'==_0x27ee5f||'uploadcareLicenseKeyDomainLimit'==_0x27ee5f||'uploadcareLicenseKeyNotAllowed'==_0x27ee5f||'uploadcareLicenseKeyEvaluationLimit'==_0x27ee5f||'uploadcareLicenseKeyTrialLimit'==_0x27ee5f||'uploadcareLicenseKeyUsageLimit'==_0x27ee5f){delete _0x4db305[_0x565d4f],_0x4bab5f=_0x27ee5f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4bab5f&&_0x4db305['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4bab5f&&_0x4db305['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4bab5f&&_0x4db305['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4bab5f&&_0x4db305['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4bab5f&&_0x4db305['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4bab5f&&_0x4db305['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4bab5f&&_0x4db305['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x45e04e}=this,_0x565c8b=_0x45e04e['commands']['get']('uploadcare');if(!_0x565c8b)return;const _0x2d7fe3=this['_normalizeConfigSourceList'](_0x45e04e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x57b916,_0x5ce7f5)=>{const _0x2ee98f=this['_getIntegrationKey'](_0x5ce7f5['type']);return _0x57b916[_0x2ee98f]||(_0x57b916[_0x2ee98f]=[]),_0x57b916[_0x2ee98f]['push'](_0x5ce7f5),_0x57b916;},{});_0x45e04e['plugins']['has']('ImageInsertUI')&&_0x45e04e['commands']['get']('uploadcare')&&Object['entries'](_0x2d7fe3)['forEach'](([_0x26ee3e,_0x4c179f])=>{_0x45e04e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x26ee3e,'observable':()=>_0x565c8b,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4c179f),'formViewCreator':()=>this['_createDropdownButtons'](_0x4c179f),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4c179f),'override':'assetManager'!==_0x26ee3e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3f2ca0){const {locale:_0x267f28}=this['editor'];return _0x3f2ca0['map'](_0x154004=>{const _0x13f16c=_(_0x267f28,_0x154004,'Insert');switch(_0x154004){case o['Local']:return{'icon':_0x1e5ad5,'type':o['Local'],..._0x13f16c};case o['URL']:return{'icon':_0x1911f4,'type':o['URL'],..._0x13f16c};case o['Dropbox']:return{'icon':_0x4f4914,'type':o['Dropbox'],..._0x13f16c};case o['Facebook']:return{'icon':_0x2c6906,'type':o['Facebook'],..._0x13f16c};case o['GDrive']:return{'icon':_0x353eef,'type':o['GDrive'],..._0x13f16c};case o['GPhotos']:return{'icon':_0x106eb4,'type':o['GPhotos'],..._0x13f16c};case o['OneDrive']:return{'icon':_0x180044,'type':o['OneDrive'],..._0x13f16c};}});}['_getIntegrationKey'](_0x253dd2){switch(_0x253dd2){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4e6e02,_0x3148a1){const _0x46e289=this['editor'],_0x4b208a=new _0x4e6e02(_0x46e289['locale']),_0x5229a2=_0x46e289['commands']['get']('uploadcare');return _0x4b208a['bind']('isEnabled')['to'](_0x5229a2),_0x4b208a['on']('execute',()=>{_0x5229a2['execute'](_0x3148a1);}),_0x4b208a;}['_createToolbarButton'](_0x131aeb){const {locale:_0x2cd5c3}=this['editor'],_0x7bd24b=this['editor']['plugins']['get']('ImageInsertUI'),_0x2d340f=_0x131aeb[0x0],_0x135a0c=this['_createButton'](_0x502c41,_0x2d340f['type']);return _0x135a0c['icon']=_0x2d340f['icon'],_0x135a0c['bind']('label')['to'](_0x7bd24b,'isImageSelected',_0x496bc9=>_(_0x2cd5c3,_0x2d340f['type'],_0x496bc9?'Replace':'Insert')['text']),_0x135a0c['tooltip']=!0x0,_0x135a0c;}['_createDropdownButtons'](_0x292eb3){const {locale:_0x5d7caa}=this['editor'],_0x1f8820=this['editor']['plugins']['get']('ImageInsertUI');return _0x292eb3['map'](_0x37322e=>{const _0x4fc186=this['_createButton'](_0x502c41,_0x37322e['type']);return _0x4fc186['withText']=!0x0,_0x4fc186['icon']=_0x37322e['icon'],_0x4fc186['bind']('label')['to'](_0x1f8820,'isImageSelected',_0x4b3c87=>_(_0x5d7caa,_0x37322e['type'],_0x4b3c87?'Replace':'Insert')['text']),_0x4fc186;});}['_createMenuBarButtons'](_0x341ca4){return _0x341ca4['map'](_0x324405=>{const _0x3153c3=this['_createButton'](_0x373575,_0x324405['type']);return _0x3153c3['icon']=_0x324405['icon'],_0x3153c3['label']=_0x324405['shortText'],_0x3153c3;});}}class q extends _0x3a82a6{['focusTracker'];['focusCycler'];constructor(_0x37436f){super(_0x37436f),this['focusTracker']=new _0x5625f3(),this['focusCycler']=new _0x16cdec({'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(_0x3d90b4){super(_0x3d90b4),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(_0xbf31e4,_0x20c58a){const _0x588bbf=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1db95e=>_0x1db95e<=_0x20c58a)['map'](_0x2bc35d=>_0xbf31e4['replace'](/\/$/,'')+'/-/resize/'+_0x2bc35d+'x/\x20'+_0x2bc35d+'w');return{'imageFallbackUrl':_0xbf31e4,'imageSources':[{'srcset':_0x588bbf['join'](',\x20'),'sizes':'(max-width:\x20'+_0x20c58a+'px)\x20100vw,\x20'+_0x20c58a+'px','type':'image/webp'}]};}function A(_0x1e95e9,_0x7b5ffa,_0x4e89a1){const _0x2b7805=_0x1e95e9['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2b7805?parseInt(_0x2b7805[0x1],0xa):_0x7b5ffa,'height':_0x2b7805?parseInt(_0x2b7805[0x2],0xa):_0x4e89a1};}function m(_0x188396,_0x1e9f69){const _0x2c5d58=Object['create'](_0x37323c),_0x1974f1=_0x188396['plugins']['get']('ImageUtils'),_0x4fd458=_0x188396['editing']['mapper']['toViewElement'](_0x1e9f69),_0x2f8a20=_0x1974f1['findViewImgElement'](_0x4fd458),_0x449138=_0x188396['editing']['view']['domConverter']['viewToDom'](_0x2f8a20),_0x34ed1e=_0x1e9f69['getAttribute']('width'),_0x3863a3=_0x1e9f69['getAttribute']('height'),_0x24ac87='image-processing';_0x188396['editing']['view']['change'](_0x2a0d08=>{_0x2a0d08['addClass'](_0x24ac87,_0x4fd458),_0x2a0d08['setStyle']('aspect-ratio',_0x34ed1e+'/'+_0x3863a3,_0x2f8a20);}),_0x2c5d58['listenTo'](_0x449138,'load',()=>{_0x2c5d58['stopListening'](_0x449138,'load'),_0x188396['editing']['view']['change'](_0x348ccd=>{_0x348ccd['removeClass'](_0x24ac87,_0x4fd458),_0x348ccd['removeStyle']('aspect-ratio',_0x2f8a20);});});}function R(_0x1c9d19){if(Array['isArray'](_0x1c9d19)){const _0x25b1e5=_0x1c9d19['map'](R);return _0x4d580b=>_0x25b1e5['some'](_0x54160a=>_0x54160a(_0x4d580b));}if('origin'==_0x1c9d19){const _0x5ba915=_0x44d8c0['window']['location']['origin'];return _0xfd1f10=>new URL(_0xfd1f10,_0x44d8c0['document']['baseURI'])['origin']==_0x5ba915;}return'function'==typeof _0x1c9d19?_0x1c9d19:_0x1c9d19 instanceof RegExp?_0x32da86=>!(!_0x32da86['match'](_0x1c9d19)&&!_0x32da86['replace'](/^https?:\/\//,'')['match'](_0x1c9d19)):()=>!0x1;}function F(_0x45185f,_0x4542ca){return _0x465119(_0x45185f['target'])['includes'](_0x4542ca);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x2d0ef2(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5d521b,_0x2ae01e,_0x25300f){super(),this['_editor']=_0x5d521b,this['_editing']=_0x2ae01e,this['_dialog']=_0x5d521b['plugins']['get'](_0x39eac9),this['_api']=_0x2ae01e['ctxElement']['getAPI'](),this['_type']=_0x25300f,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:_0x2078a8,model:_0x139c05}=this['_editor'],_0x282dd2=_0x139c05['document']['selection']['getSelectedElement'](),_0x3f7816=_0x282dd2&&(_0x282dd2['is']('element','imageBlock')||_0x282dd2['is']('element','imageInline'));this['_formView']=new S(_0x2078a8),this['_dialog']['show']({'id':'uploadCare','icon':_0x1e5ad5,'title':_(_0x2078a8,this['_type'],_0x3f7816?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x58b703['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1a4ec3=>!F(_0x1a4ec3,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2b1a87}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1fe2b7=>{const _0x2add6a=_0x2b1a87['length'];for(const _0x3171b6 of _0x2b1a87){const _0x19efc5=_0x3171b6===_0x2b1a87[_0x2add6a-0x1],{cdnUrl:_0x28b8b6,fileInfo:_0x36a682}=_0x3171b6;if(!_0x28b8b6||!_0x36a682)continue;const {width:_0x406814,height:_0x35ef20}=_0x36a682['imageInfo'],_0x326b7e=A(_0x28b8b6,_0x406814,_0x35ef20),_0x18aeae=E(_0x28b8b6,_0x326b7e['width']),_0xbde2ad={'id':_0x36a682['uuid'],'type':'image','attributes':{'imageDimension':_0x326b7e,..._0x18aeae}};this['_insertAsset'](_0xbde2ad,_0x19efc5,_0x1fe2b7);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x296aee=>{'idle'===_0x296aee['detail']['status']&&!_0x296aee['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xda68d3,_0x1efa3e,_0x5a2ddf){const _0x22e56c=this['_editor']['model']['document']['selection'],_0x27181b=_0x22e56c['getSelectedElement'](),_0x182d29=!(!_0x27181b||!_0x27181b['is']('element','imageInline'));_0x5a2ddf['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xda68d3,_0x182d29),_0x1efa3e||_0x5a2ddf['setSelection'](_0x22e56c['getLastPosition']());}['_insertImage'](_0x377b0f,_0x53e900){const _0x52eb19=this['_editor'],{imageDimension:_0xa040a5,imageFallbackUrl:_0x33c973,imageSources:_0x77deb5}=_0x377b0f['attributes'];_0x52eb19['execute']('insertImage',{'imageType':_0x53e900?'imageInline':null,'source':{'uploadcareImageId':_0x377b0f['id'],'src':_0x33c973,'sources':_0x77deb5,..._0xa040a5}});}}class n extends _0x4cacde{['_editing'];['_controller']=null;static get['requires'](){return[_0x39eac9,i];}constructor(_0x12b23f){super(_0x12b23f),this['_editing']=_0x12b23f['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x7d6627){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x7d6627);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x5c17fb,publicKey:_0x4a69cf,signal:_0xe0cd83,onProgress:_0x2105a7}){return _0x29e9b5(_0x5c17fb,{'publicKey':_0x4a69cf,'store':'auto','signal':_0xe0cd83,'onProgress':_0x2105a7});}static['getInfo'](_0x45a1da,_0x527acb){return _0x179f0b(_0x45a1da,_0x527acb);}}class p extends _0x450e6c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x14a79b,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x9ffab5=this['editor'];if(!!!_0x9ffab5['config']['get']('uploadcare'))return;_0x9ffab5['plugins']['get'](_0x14a79b)['createUploadAdapter']=_0x1816a4=>new x(_0x1816a4,_0x9ffab5),_0x9ffab5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4bad99,{imageElement:_0x2b62c4,data:_0x27840b})=>{_0x9ffab5['model']['change'](_0x2497c5=>{_0x2497c5['setAttribute']('uploadcareImageId',_0x27840b['uploadcareImageId'],_0x2b62c4);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1e0e72,_0x59c3a3){this['loader']=_0x1e0e72,this['editor']=_0x59c3a3,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2b3d0c=this['editor']['config']['get']('uploadcare.pubkey'),_0x3d9643=await this['loader']['file'];return C['upload']({'file':_0x3d9643,'publicKey':_0x2b3d0c,'signal':this['controller']['signal'],'onProgress':_0x5e619a=>{_0x5e619a&&_0x5e619a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5e619a['value']);}})['then'](async _0x238780=>{const {imageFallbackUrl:_0x344f37,imageSources:_0x2b1859}=E(_0x238780['cdnUrl'],_0x238780['imageInfo']['width']);return{'uploadcareImageId':_0x238780['uuid'],'default':_0x344f37,'sources':_0x2b1859};})['catch'](()=>{const _0x38b919=t('Cannot\x20upload\x20file:')+('\x20'+_0x3d9643['name']+'.');return Promise['reject'](_0x38b919);});}['abort'](){this['controller']['abort']();}}class i extends _0x450e6c{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x39eac9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x386685=this['editor'];_0x386685['commands']['add']('uploadcare',new n(_0x386685));}['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 _0x24d5e5=_0x44d8c0['document']['querySelector']('input[uploadcare-file-input]');_0x24d5e5&&_0x24d5e5['remove']();}),async function(_0x397bc8){const _0x3c4a0e=_0xa71aad([0x6a,0x43,0x46,0x6b,0x34,0x4d,0x76,0x49,0x33,0x71,0x4c,0x65,0x7a,0x41,0x59,0x4a,0x36,0x4e,0x38,0x6f,0x69,0x75,0x50,0x77,0x5a,0x56,0x4f,0x58,0x54,0x39,0x45,0x4b,0x35,0x57,0x51,0x61,0x42,0x48,0x67,0x44,0x74,0x68,0x31,0x73,0x70,0x30,0x6d,0x52,0x47,0x72,0x32,0x66,0x63,0x79,0x37,0x53,0x64,0x62,0x78,0x6e,0x6c,0x55]),_0x476c8d=0x3d2eecae,_0x54c13a=0x3d298566^_0x476c8d,_0x1c8370=window[_0xa71aad([0x44,0x61,0x74,0x65])][_0xa71aad([0x6e,0x6f,0x77])](),_0x38a716=_0x397bc8[_0xa71aad([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d1579=new window[(_0xa71aad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27caa6=>{_0x38a716[_0xa71aad([0x6f,0x6e,0x63,0x65])](_0xa71aad([0x72,0x65,0x61,0x64,0x79]),_0x27caa6);}),_0x1fdc8c={[_0xa71aad([0x6b,0x74,0x79])]:_0xa71aad([0x45,0x43]),[_0xa71aad([0x75,0x73,0x65])]:_0xa71aad([0x73,0x69,0x67]),[_0xa71aad([0x63,0x72,0x76])]:_0xa71aad([0x50,0x2d,0x32,0x35,0x36]),[_0xa71aad([0x78])]:_0xa71aad([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]),[_0xa71aad([0x79])]:_0xa71aad([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]),[_0xa71aad([0x61,0x6c,0x67])]:_0xa71aad([0x45,0x53,0x32,0x35,0x36])},_0x205aa9=_0x38a716[_0xa71aad([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa71aad([0x67,0x65,0x74])](_0xa71aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3faafe(){let _0x1b6575,_0x4e86f5=null,_0x50585e=null;try{if(_0x205aa9==_0xa71aad([0x47,0x50,0x4c]))return _0xa71aad([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b6575=_0x59e628(),!_0x1b6575)return _0xa71aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b6575[_0xa71aad([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50585e=_0x159490(_0x1b6575[_0xa71aad([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b6575[_0xa71aad([0x6a,0x74,0x69])])),await _0x49033f()?_0x27b5ab()?_0xe5f7db()?_0xa71aad([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x441620()?(_0x1b6575[_0xa71aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa71aad([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e86f5=_0x329faa(_0xa71aad([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b6575[_0xa71aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa71aad([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e86f5=_0x329faa(_0xa71aad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b3789()):_0xa71aad([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa71aad([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa71aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa71aad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe5f7db(){const _0x54eb87=[_0xa71aad([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa71aad([0x74,0x72,0x69,0x61,0x6c])][_0xa71aad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6575[_0xa71aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c8370/0x3e8:0xe10*_0x54c13a;return _0x1b6575[_0xa71aad([0x65,0x78,0x70])]<_0x54eb87;}function _0x27b5ab(){const _0x19e922=_0x1b6575[_0xa71aad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19e922&&(!!_0x19e922[_0xa71aad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa71aad([0x2a]))||!!_0x19e922[_0xa71aad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa71aad([0x55,0x50,0x4c,0x43])));}function _0x441620(){const _0x545bd8=_0x1b6575[_0xa71aad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x545bd8||0x0==_0x545bd8[_0xa71aad([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x308d89}=new URL(window[_0xa71aad([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x545bd8[_0xa71aad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x308d89))return!0x0;const _0x1d5eac=_0x308d89[_0xa71aad([0x73,0x70,0x6c,0x69,0x74])](_0xa71aad([0x2e]));return _0x545bd8[_0xa71aad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b13dc=>_0x5b13dc[_0xa71aad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa71aad([0x2a])))[_0xa71aad([0x6d,0x61,0x70])](_0x1adf91=>_0x1adf91[_0xa71aad([0x73,0x70,0x6c,0x69,0x74])](_0xa71aad([0x2e])))[_0xa71aad([0x73,0x6f,0x6d,0x65])](_0x795cf4=>_0x1d5eac[_0xa71aad([0x65,0x76,0x65,0x72,0x79])]((_0x4743d3,_0x4ee8bd)=>_0x795cf4[_0x4ee8bd]===_0x4743d3||_0x795cf4[_0x4ee8bd]===_0xa71aad([0x2a])));}function _0x3b3789(){return _0x4e86f5&&_0x50585e?new window[(_0xa71aad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e54b4,_0x3929e2)=>{_0x4e86f5[_0xa71aad([0x74,0x68,0x65,0x6e])](_0x2e54b4,_0x3929e2),_0x50585e[_0xa71aad([0x74,0x68,0x65,0x6e])](_0x108a60=>{_0x108a60!=_0xa71aad([0x56,0x61,0x6c,0x69,0x64])&&_0x2e54b4(_0x108a60);},_0x3929e2);}):_0x4e86f5||_0x50585e||_0xa71aad([0x56,0x61,0x6c,0x69,0x64]);}}function _0x159490(_0x1d687c,_0x315584){return new window[(_0xa71aad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x317a61=>{if(_0x4d372f())return _0x317a61(_0xa71aad([0x56,0x61,0x6c,0x69,0x64]));_0x350fb0(),_0x38a716[_0xa71aad([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa71aad([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x347ba3=!0x1;const _0x3d0cd7=_0x567cbb();function _0x27b432(_0x19b0f1){return!!_0x19b0f1&&(typeof _0x19b0f1===_0xa71aad([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19b0f1===_0xa71aad([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19b0f1[_0xa71aad([0x74,0x68,0x65,0x6e])]===_0xa71aad([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19b0f1[_0xa71aad([0x63,0x61,0x74,0x63,0x68])]===_0xa71aad([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5bc41b(_0xb5968e){_0x1c3e56(_0xb5968e)[_0xa71aad([0x74,0x68,0x65,0x6e])](_0x4ec9e2=>{if(!_0x4ec9e2||_0x4ec9e2[_0xa71aad([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa71aad([0x6f,0x6b]))return _0xa71aad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34f303(_0x1a2b85(_0x3d0cd7+_0x315584))!=_0x4ec9e2[_0xa71aad([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa71aad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa71aad([0x56,0x61,0x6c,0x69,0x64]);})[_0xa71aad([0x74,0x68,0x65,0x6e])](_0x4d69bd=>(_0x40a1af(),_0x4d69bd),()=>{const _0x2d852d=_0x25fb2b();return null==_0x2d852d?(_0x40a1af(),_0xa71aad([0x56,0x61,0x6c,0x69,0x64])):_0xa71aad(_0x1c8370-_0x2d852d>(0x192268ae^_0x476c8d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa71aad([0x74,0x68,0x65,0x6e])](_0x317a61)[_0xa71aad([0x63,0x61,0x74,0x63,0x68])](()=>{_0x317a61(_0xa71aad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46fb7a=0x3d18022e^_0x476c8d;function _0x40a1af(){const _0x453523=_0xa71aad([0x6c,0x6c,0x63,0x74,0x2d])+_0x34f303(_0x1a2b85(_0x1d687c)),_0xdd01a3=_0x4b3b8c(_0x34f303(window[_0xa71aad([0x4d,0x61,0x74,0x68])][_0xa71aad([0x63,0x65,0x69,0x6c])](_0x1c8370/_0x46fb7a)));window[_0xa71aad([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa71aad([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x453523,_0xdd01a3);}function _0x25fb2b(){const _0x501ee4=_0xa71aad([0x6c,0x6c,0x63,0x74,0x2d])+_0x34f303(_0x1a2b85(_0x1d687c)),_0x1df6d1=window[_0xa71aad([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa71aad([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x501ee4);return _0x1df6d1?window[_0xa71aad([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b3b8c(_0x1df6d1),0x10)*_0x46fb7a:null;}function _0x1c3e56(_0x1105c6){return new window[(_0xa71aad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bf7c1,_0x688e95)=>{_0x1105c6[_0xa71aad([0x74,0x68,0x65,0x6e])](_0x4bf7c1,_0x688e95),window[_0xa71aad([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x688e95,0x3d2f386e^_0x476c8d);});}}_0x38a716[_0xa71aad([0x6f,0x6e])](_0xa71aad([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ab46f,_0x203d4a)=>{if(_0x203d4a[0x0]!=_0x1d687c)return _0x317a61(_0xa71aad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x203d4a[0x1]={..._0x203d4a[0x1],[_0xa71aad([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d0cd7};},{[_0xa71aad([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa71aad([0x68,0x69,0x67,0x68])}),_0x38a716[_0xa71aad([0x6f,0x6e])](_0xa71aad([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22269a=>{_0x27b432(_0x22269a[_0xa71aad([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x347ba3=!0x0,_0x5bc41b(_0x22269a[_0xa71aad([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa71aad([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa71aad([0x6c,0x6f,0x77])}),_0x1d1579[_0xa71aad([0x74,0x68,0x65,0x6e])](()=>{_0x347ba3||_0x317a61(_0xa71aad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d372f(){return _0x38a716[_0xa71aad([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa71aad([0x76,0x69,0x65,0x77])][_0xa71aad([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa71aad([0x61,0x75,0x74,0x6f]);}function _0x350fb0(){_0x38a716[_0xa71aad([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa71aad([0x76,0x69,0x65,0x77])][_0xa71aad([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa71aad([0x61,0x75,0x74,0x6f]);}}function _0x329faa(_0x50d042){const _0x98bced=[new window[(_0xa71aad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb6d898=>setTimeout(_0xb6d898,0x3d27d262^_0x476c8d)),_0x1d1579[_0xa71aad([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa71aad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x793c46=>{let _0x2b80bf=0x0;_0x38a716[_0xa71aad([0x6d,0x6f,0x64,0x65,0x6c])][_0xa71aad([0x6f,0x6e])](_0xa71aad([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19ede8,_0x15baef)=>{_0x15baef[0x0][_0xa71aad([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b80bf++,_0x2b80bf==(0x3d2eed56^_0x476c8d)&&(_0x793c46(),_0x19ede8[_0xa71aad([0x6f,0x66,0x66])]());});}))];return window[_0xa71aad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa71aad([0x72,0x61,0x63,0x65])](_0x98bced)[_0xa71aad([0x74,0x68,0x65,0x6e])](()=>_0x50d042);}async function _0x3047c6(){await _0x1d1579,_0x38a716[_0xa71aad([0x6d,0x6f,0x64,0x65,0x6c])][_0xa71aad([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x462d5b,_0x38a716[_0xa71aad([0x6d,0x6f,0x64,0x65,0x6c])][_0xa71aad([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x462d5b,_0x38a716[_0xa71aad([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa71aad([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16ba09(_0x4245c5){const _0x3a3b5a=_0x4b90c8();_0x38a716[_0x3a3b5a]=_0xa71aad([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4245c5,_0x4245c5!=_0xa71aad([0x56,0x61,0x6c,0x69,0x64])&&_0x3047c6();}function _0x4b90c8(){const _0x315636=window[_0xa71aad([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa71aad([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa71aad([0x6e,0x6f,0x77])]())[_0xa71aad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa71aad([0x2e]),'');let _0x464e77=_0xa71aad([0x6a]);for(let _0x42f83b=0x0;_0x42f83b<_0x315636[_0xa71aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42f83b+=0x2){let _0x5813a4=window[_0xa71aad([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x315636[_0xa71aad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42f83b,_0x42f83b+0x2));_0x5813a4>=_0x3c4a0e[_0xa71aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5813a4-=_0x3c4a0e[_0xa71aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x464e77+=_0x3c4a0e[_0x5813a4];}return _0x464e77;}function _0x59e628(){const _0x23f1ec=_0x205aa9[_0xa71aad([0x73,0x70,0x6c,0x69,0x74])](_0xa71aad([0x2e]));if(0x3!=_0x23f1ec[_0xa71aad([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e385b(_0x23f1ec[0x1]);function _0x1e385b(_0x136293){const _0x57e6a6=_0x31e010(_0x136293);return _0x57e6a6&&_0xf0f5cc()?_0x57e6a6:null;function _0xf0f5cc(){const _0x557250=_0x57e6a6[_0xa71aad([0x6a,0x74,0x69])],_0x565a52=window[_0xa71aad([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x557250[_0xa71aad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x557250[_0xa71aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x224e24={..._0x57e6a6,[_0xa71aad([0x6a,0x74,0x69])]:_0x557250[_0xa71aad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x557250[_0xa71aad([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x224e24[_0xa71aad([0x76,0x63])],_0x1a2b85(_0x224e24)==_0x565a52;}}}async function _0x49033f(){let _0x4f18dd=!0x0;try{const _0x292fa0=_0x205aa9[_0xa71aad([0x73,0x70,0x6c,0x69,0x74])](_0xa71aad([0x2e])),[_0x1ec068,_0x50ffe1,_0x5ea966]=_0x292fa0;return _0x29eb60(_0x1ec068),await _0x5577fc(_0x1ec068,_0x50ffe1,_0x5ea966),_0x4f18dd;}catch{return!0x1;}function _0x29eb60(_0x2e4b9a){const _0x211a57=_0x31e010(_0x2e4b9a);_0x211a57&&_0x211a57[_0xa71aad([0x61,0x6c,0x67])]==_0xa71aad([0x45,0x53,0x32,0x35,0x36])||(_0x4f18dd=!0x1);}async function _0x5577fc(_0x454785,_0x4234e2,_0x11d9d2){const _0x562caf=window[_0xa71aad([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa71aad([0x66,0x72,0x6f,0x6d])](_0x36d014(_0x11d9d2),_0x3e8877=>_0x3e8877[_0xa71aad([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x311c2f=new window[(_0xa71aad([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa71aad([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x454785+_0xa71aad([0x2e])+_0x4234e2),_0x23da93=window[_0xa71aad([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa71aad([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x23da93)return;const _0x1d8854=await _0x23da93[_0xa71aad([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa71aad([0x6a,0x77,0x6b]),_0x1fdc8c,{[_0xa71aad([0x6e,0x61,0x6d,0x65])]:_0xa71aad([0x45,0x43,0x44,0x53,0x41]),[_0xa71aad([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa71aad([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa71aad([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x23da93[_0xa71aad([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa71aad([0x6e,0x61,0x6d,0x65])]:_0xa71aad([0x45,0x43,0x44,0x53,0x41]),[_0xa71aad([0x68,0x61,0x73,0x68])]:{[_0xa71aad([0x6e,0x61,0x6d,0x65])]:_0xa71aad([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d8854,_0x562caf,_0x311c2f)||(_0x4f18dd=!0x1);}}function _0x31e010(_0x456084){return _0x456084[_0xa71aad([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa71aad([0x65,0x79]))?JSON[_0xa71aad([0x70,0x61,0x72,0x73,0x65])](_0x36d014(_0x456084)):null;}function _0x36d014(_0x58703c){return window[_0xa71aad([0x61,0x74,0x6f,0x62])](_0x58703c[_0xa71aad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa71aad([0x2b]))[_0xa71aad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa71aad([0x2f])));}function _0x1a2b85(_0x1c0661){let _0x1332a8=0x1505;function _0x4f4e37(_0x882f51){for(let _0x3d5f9c=0x0;_0x3d5f9c<_0x882f51[_0xa71aad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d5f9c++){const _0x3e886e=_0x882f51[_0xa71aad([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d5f9c);_0x1332a8=(_0x1332a8<<0x5)+_0x1332a8+_0x3e886e,_0x1332a8&=_0x1332a8;}}function _0x10344f(_0x2cf409){Array[_0xa71aad([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2cf409)?_0x2cf409[_0xa71aad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10344f):_0x2cf409&&typeof _0x2cf409==_0xa71aad([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa71aad([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2cf409)[_0xa71aad([0x73,0x6f,0x72,0x74])]()[_0xa71aad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1dfa07,_0x59ae02])=>{_0x4f4e37(_0x1dfa07),_0x10344f(_0x59ae02);}):_0x4f4e37(window[_0xa71aad([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2cf409));}return _0x10344f(_0x1c0661),_0x1332a8>>>0x0;}function _0x34f303(_0x4c37d3){return _0x4c37d3[_0xa71aad([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa71aad([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa71aad([0x30]));}function _0x4b3b8c(_0xf0e2ed){return _0xf0e2ed[_0xa71aad([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa71aad([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa71aad([0x6a,0x6f,0x69,0x6e])]('');}function _0x462d5b(){}function _0xa71aad(_0x4848ff){return _0x4848ff['map'](_0x7460da=>String['fromCharCode'](_0x7460da))['join']('');}_0x16ba09(await _0x3faafe());}(this);}['_initSchema'](){const _0x4b157f=this['editor']['model']['schema'];_0x4b157f['isRegistered']('imageBlock')&&_0x4b157f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4b157f['isRegistered']('imageInline')&&_0x4b157f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x89d328=this['editor'];_0x89d328['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x89d328['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x77e200=>_0x77e200['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5a53a9=_0x89d328['commands']['get']('replaceImageSource');_0x5a53a9&&this['listenTo'](_0x5a53a9,'cleanupImage',(_0xc20dcb,[_0x4310af,_0x4fc0c7])=>{_0x4310af['removeAttribute']('uploadcareImageId',_0x4fc0c7);});}['_initConfig'](){const _0x418a6c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x324c75=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3bf948(_0x44d8c0['document'],'uc-config',{..._0x418a6c,'pubkey':_0x324c75,'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']=_0xb14574=>{if('closeMax'==_0xb14574)return'#uc-icon-arrow-down';},_0x44d8c0['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3bf948(_0x44d8c0['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x44d8c0['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4e4e33=this['editor']['commands']['get']('insertImage');_0x4e4e33&&this['listenTo'](_0x4e4e33,'execute',()=>{const _0x152b94=this['editor']['model']['document']['selection']['getSelectedElement']();_0x152b94&&_0x152b94['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x152b94);});});const _0x58bc1b=this['editor']['commands']['get']('uploadcareImageReplace');_0x58bc1b&&this['listenTo'](_0x58bc1b,'execute',()=>{const _0x49f044=this['editor']['model']['document']['selection']['getSelectedElement']();_0x49f044&&_0x49f044['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x49f044);});});}}class u extends _0x450e6c{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2cec04){super(_0x2cec04),_0x2cec04['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x2ff80c['defineComponents'](_0x2ff80c);}}class ta extends _0x3a82a6{constructor(_0x3f67c5){super(_0x3f67c5);const t=_0x3f67c5['t'],_0x4e3e2a=this['bindTemplate'],_0x8e46f9=new _0x219b6a();_0x8e46f9['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':[_0x8e46f9,{'text':_0x4e3e2a['to']('imageUploadProgress',_0x157c4f=>t('Loading\x20image...')+'\x20('+(_0x157c4f||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 _0x3a82a6{constructor(_0xea2c60){super(_0xea2c60);const t=_0xea2c60['t'];this['set']('errorType',null);const _0xd51d98=new _0x502c41(_0xea2c60);_0xd51d98['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xd51d98['withText']=!0x0,_0xd51d98['class']='ck-button-action',_0xd51d98['on']('execute',()=>{this['fire']('retry');}),_0xd51d98['bind']('isVisible')['to'](this,'errorType',_0x3ca8aa=>'NotFound'!==_0x3ca8aa);const _0x18dbd7=new at();_0x18dbd7['content']=et,_0x18dbd7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x81dac6=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':[_0x18dbd7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x81dac6['to']('errorType',_0x950425=>t('NotFound'!==_0x950425?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xd51d98]},{'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 _0x3a82a6{constructor(_0x459e21,_0x5acd03){super(_0x459e21);const _0x559fff=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5acd03,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x559fff['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x338558,_0x5b4b47,_0x2c630b){super(_0x338558),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x338558),this['_errorView']=new rt(_0x338558),this['_editingView']=new tt(_0x338558,_0x2c630b),this['_focusableView']=new _0x3a82a6(_0x338558),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5b4b47),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'],_0x540ab2=>{this['_addUploadcareImageEditorListeners'](_0x540ab2);});}),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'](_0x36c609,_0x117c46){const _0x3647c1='uc-cloud-image-editor',_0x417efc=_0x36c609['querySelector'](_0x3647c1);if(_0x417efc)return _0x117c46(_0x417efc);const _0x2dbc5c=new MutationObserver(_0xc536c7=>{const _0x55d025=_0xc536c7['filter'](_0x38c2a6=>_0x38c2a6['target']===_0x36c609&&_0x38c2a6['addedNodes']['length']>0x0&&_0x38c2a6['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3647c1);_0x55d025['length']&&(_0x2dbc5c['disconnect'](),_0x117c46(_0x55d025[0x0]['addedNodes'][0x0]));});_0x2dbc5c['observe'](_0x36c609,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4a45bb){_0x4a45bb['addEventListener']('apply',_0x3d31f7=>{this['fire']('apply',{'imageSrc':_0x3d31f7['detail']['cdnUrl']});}),_0x4a45bb['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
+ _0x2d0ef2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4f9653,_0x517a77,_0x21e76b){super(),this['_editor']=_0x4f9653,this['_dialog']=_0x517a77,this['_imageElement']=_0x21e76b,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 _0x3c8c39=this['_imageElement'],_0x556e2c=_0x3c8c39['getAttribute']('uploadcareImageId'),_0x204754=_0x3c8c39['getAttribute']('src');if(_0x556e2c)await this['_loadImageInfo'](_0x556e2c,_0x204754);else{if(this['_imageCache']['has'](_0x204754)){const _0x3c94c6=this['_imageCache']['get'](_0x204754);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c94c6['url'],this['imageDimension']=_0x3c94c6['dimension'],this['imageId']=_0x3c94c6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x51e660}=this['_editor'],t=_0x51e660['t'],_0xe8460d=new Z(_0x51e660,this['imageStatus'],this['_attributes']);_0xe8460d['bind']('status')['to'](this,'imageStatus'),_0xe8460d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xe8460d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xe8460d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xe8460d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x58989d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xe8460d,'position':_0x58b703['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xe8460d['focus']();},'onHide':()=>{_0xe8460d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x47b61a=>!F(_0x47b61a,_0xe8460d['element'])}});}['_loadImageInfo'](_0x2ef83b,_0x46c40c){return C['getInfo'](_0x2ef83b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1bcb92=>{const {width:_0x1b5c04,height:_0x393884}=_0x1bcb92['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x46c40c,this['imageDimension']={'width':_0x1b5c04,'height':_0x393884},this['imageId']=_0x2ef83b;})['catch'](_0xd4b95e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xd4b95e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3f2e15,_0x400f52){return this['_getImageAsFile'](_0x3f2e15)['then'](_0x16f747=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x400f52['signal'],'file':_0x16f747,'onProgress':_0x1c3805=>{_0x1c3805&&_0x1c3805['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1c3805['value']));}}))['then'](_0x4e3687=>{const {width:_0x4fac77,height:_0x5a2594}=_0x4e3687['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e3687['cdnUrl'],this['imageDimension']={'width':_0x4fac77,'height':_0x5a2594},this['imageId']=_0x4e3687['uuid'],this['imageUploadProgress']=null;const _0x524a6e=_0x3f2e15['getAttribute']('src');this['_imageCache']['set'](_0x524a6e,{'id':_0x4e3687['uuid'],'url':_0x4e3687['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x202cd8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x202cd8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x532993,_0x4f9d71){_0x532993['on']('apply',(_0x360058,_0x504f77)=>{this['_replaceImage'](_0x4f9d71,_0x504f77['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x532993['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x532993['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2516af,_0x3506cb,_0x4b05be){const _0x13290f=this['_editor'],{width:_0x4f59d9,height:_0x4db4f4}=A(_0x3506cb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4fdf96,imageSources:_0x13845d}=E(_0x3506cb,_0x4f59d9);_0x13290f['model']['change'](_0x52307b=>{if('$graveyard'===_0x2516af['root']['rootName']){_0x13290f['execute']('insertImage',{'imageType':_0x2516af['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2516af['getAttributes']()),'uploadcareImageId':_0x4b05be,'src':_0x4fdf96,'sources':_0x13845d,'width':_0x4f59d9,'height':_0x4db4f4}});const _0x3c8163=_0x2516af['getChildren']();_0x2516af=_0x13290f['model']['document']['selection']['getSelectedElement']();for(const _0x152956 of _0x3c8163)_0x52307b['append'](_0x52307b['cloneElement'](_0x152956),_0x2516af);}else _0x52307b['setSelection'](_0x2516af,'on'),_0x13290f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2516af['getAttributes']()),'uploadcareImageId':_0x4b05be,'src':_0x4fdf96,'sources':_0x13845d,'width':_0x4f59d9,'height':_0x4db4f4},_0x2516af);_0x52307b['setSelection'](_0x2516af,'on');});}async['_getImageAsFile'](_0x434d0f){const _0x58e852=_0x44d8c0['window'],_0xce5b20=_0x44d8c0['document']['location']['href'],_0x11668c=new _0x58e852['URL'](_0x434d0f['getAttribute']('src'),_0xce5b20);if('data:'===_0x11668c['protocol']){const _0x4cb010=_0x11668c['href']['split'](','),_0x15babe=_0x4cb010[0x0]['match'](/:(.*?);/)[0x1],_0xa37331=_0x15babe['split']('/')[0x1],_0x3ae3eb=_0x58e852['atob'](_0x4cb010[_0x4cb010['length']-0x1]);let _0x2954e0=_0x3ae3eb['length'];const _0x31511c=new _0x58e852['Uint8Array'](_0x2954e0);for(;_0x2954e0--;)_0x31511c[_0x2954e0]=_0x3ae3eb['charCodeAt'](_0x2954e0);return new _0x58e852['File']([_0x31511c],'image.'+_0xa37331,{'type':_0x15babe});}const _0xf5232c=_0x11668c['href']['split']('/'),_0x18ce34=_0xf5232c[_0xf5232c['length']-0x1],_0xa0e652=_0x18ce34['split']('.')[0x1];return _0x58e852['fetch'](_0x11668c['href'])['then'](_0x1c11e1=>_0x1c11e1['clone']()['blob']())['then'](_0x4290d3=>new _0x58e852['File']([_0x4290d3],_0x18ce34,{'type':'image/'+_0xa0e652}));}}class V extends _0x4cacde{['imageEditController'];static get['requires'](){return[_0x39eac9];}['_isEditable'];constructor(_0x464537){super(_0x464537),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x212f86){const _0x2063ac=R(_0x212f86);return _0x9bf448=>!(!_0x9bf448||!_0x9bf448['is']('element','imageBlock')&&!_0x9bf448['is']('element','imageInline'))&&(!!_0x9bf448['hasAttribute']('uploadcareImageId')||!!_0x9bf448['hasAttribute']('src')&&_0x2063ac(_0x9bf448['getAttribute']('src')));}(_0x464537['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x23c839=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x23c839);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x58f72a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x58f72a&&(_0x58f72a['is']('element','imageBlock')||_0x58f72a['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0x39eac9),_0x58f72a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x4cacde{['refresh'](){const _0x4d864=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4d864&&(_0x4d864['is']('element','imageBlock')||_0x4d864['is']('element','imageInline')));}['execute'](_0x3f0024){const _0x54959b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x249f34=>{_0x249f34['setAttributes'](_0x3f0024,_0x54959b),_0x249f34['removeAttribute']('srcset',_0x54959b),_0x249f34['removeAttribute']('sizes',_0x54959b);});}}class g extends _0x450e6c{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x47a320,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5281ab}=this;_0x5281ab['commands']['add']('uploadcareImageEdit',new V(_0x5281ab)),_0x5281ab['commands']['add']('uploadcareImageReplace',new X(_0x5281ab));}}class j extends _0x450e6c{['_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 _0x2c182c=this['editor'];_0x2c182c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x112de5=>{const _0x3adedd=_0x2c182c['commands']['get']('uploadcareImageEdit'),_0x569e7e=new _0x502c41(_0x112de5),t=_0x112de5['t'];return _0x569e7e['set']({'icon':_0x58989d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x569e7e['bind']('isEnabled')['to'](_0x3adedd),_0x569e7e['bind']('isOn')['to'](_0x3adedd,'isActive'),this['listenTo'](_0x569e7e,'execute',()=>{_0x2c182c['execute']('uploadcareImageEdit'),_0x2c182c['editing']['view']['focus']();}),_0x569e7e;}),this['_initConfig']();}['_initConfig'](){const _0x9a6376=_0x3bf948(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x9a6376),this['listenTo'](this['editor'],'destroy',()=>{_0x9a6376['remove']();});}}class P extends _0x450e6c{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':_0x4d422a=>0x1!=_0x4d422a}};
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':_0x126dc6=>0x1!=_0x126dc6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x253ccf=>{const {af:{dictionary:_0x865b6d,getPluralForm:_0x98256}}={'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':_0x3d785e=>0x1!=_0x3d785e}};_0x253ccf['af']||={'dictionary':{},'getPluralForm':null},_0x253ccf['af']['dictionary']=Object['assign'](_0x253ccf['af']['dictionary'],_0x865b6d),_0x253ccf['af']['getPluralForm']=_0x98256;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5b66d9=>{const {af:{dictionary:_0x418c13,getPluralForm:_0x1a0084}}={'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':_0x1b3775=>0x1!=_0x1b3775}};_0x5b66d9['af']||={'dictionary':{},'getPluralForm':null},_0x5b66d9['af']['dictionary']=Object['assign'](_0x5b66d9['af']['dictionary'],_0x418c13),_0x5b66d9['af']['getPluralForm']=_0x1a0084;})(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':_0x2b8349=>0x0==_0x2b8349?0x0:0x1==_0x2b8349?0x1:0x2==_0x2b8349?0x2:_0x2b8349%0x64>=0x3&&_0x2b8349%0x64<=0xa?0x3:_0x2b8349%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':_0x3106fb=>0x0==_0x3106fb?0x0:0x1==_0x3106fb?0x1:0x2==_0x3106fb?0x2:_0x3106fb%0x64>=0x3&&_0x3106fb%0x64<=0xa?0x3:_0x3106fb%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2aa508=>{const {ar:{dictionary:_0x1123f3,getPluralForm:_0x4155b2}}={'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':_0x1e7857=>0x0==_0x1e7857?0x0:0x1==_0x1e7857?0x1:0x2==_0x1e7857?0x2:_0x1e7857%0x64>=0x3&&_0x1e7857%0x64<=0xa?0x3:_0x1e7857%0x64>=0xb?0x4:0x5}};_0x2aa508['ar']||={'dictionary':{},'getPluralForm':null},_0x2aa508['ar']['dictionary']=Object['assign'](_0x2aa508['ar']['dictionary'],_0x1123f3),_0x2aa508['ar']['getPluralForm']=_0x4155b2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x433b37=>{const {ar:{dictionary:_0x2f33cc,getPluralForm:_0x3e35f6}}={'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':_0x41ea9b=>0x0==_0x41ea9b?0x0:0x1==_0x41ea9b?0x1:0x2==_0x41ea9b?0x2:_0x41ea9b%0x64>=0x3&&_0x41ea9b%0x64<=0xa?0x3:_0x41ea9b%0x64>=0xb?0x4:0x5}};_0x433b37['ar']||={'dictionary':{},'getPluralForm':null},_0x433b37['ar']['dictionary']=Object['assign'](_0x433b37['ar']['dictionary'],_0x2f33cc),_0x433b37['ar']['getPluralForm']=_0x3e35f6;})(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':_0x423b05=>0x1!=_0x423b05}};
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':_0x21105c=>0x1!=_0x21105c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13a9ca=>{const {ast:{dictionary:_0x346e8d,getPluralForm:_0x59db95}}={'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':_0x52da5d=>0x1!=_0x52da5d}};_0x13a9ca['ast']||={'dictionary':{},'getPluralForm':null},_0x13a9ca['ast']['dictionary']=Object['assign'](_0x13a9ca['ast']['dictionary'],_0x346e8d),_0x13a9ca['ast']['getPluralForm']=_0x59db95;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x39cf30=>{const {ast:{dictionary:_0x4a9ae8,getPluralForm:_0x531a8a}}={'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':_0x223338=>0x1!=_0x223338}};_0x39cf30['ast']||={'dictionary':{},'getPluralForm':null},_0x39cf30['ast']['dictionary']=Object['assign'](_0x39cf30['ast']['dictionary'],_0x4a9ae8),_0x39cf30['ast']['getPluralForm']=_0x531a8a;})(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':_0x4336eb=>0x1!=_0x4336eb}};
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':_0xb144e=>0x1!=_0xb144e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5965f6=>{const {az:{dictionary:_0x354fa9,getPluralForm:_0x1e2faa}}={'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':_0x1edf70=>0x1!=_0x1edf70}};_0x5965f6['az']||={'dictionary':{},'getPluralForm':null},_0x5965f6['az']['dictionary']=Object['assign'](_0x5965f6['az']['dictionary'],_0x354fa9),_0x5965f6['az']['getPluralForm']=_0x1e2faa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xd5f161=>{const {az:{dictionary:_0x319117,getPluralForm:_0x5371e2}}={'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':_0x2d5055=>0x1!=_0x2d5055}};_0xd5f161['az']||={'dictionary':{},'getPluralForm':null},_0xd5f161['az']['dictionary']=Object['assign'](_0xd5f161['az']['dictionary'],_0x319117),_0xd5f161['az']['getPluralForm']=_0x5371e2;})(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':_0x2845d9=>_0x2845d9%0xa==0x1&&_0x2845d9%0x64!=0xb?0x0:_0x2845d9%0xa>=0x2&&_0x2845d9%0xa<=0x4&&(_0x2845d9%0x64<0xa||_0x2845d9%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':_0x25336e=>_0x25336e%0xa==0x1&&_0x25336e%0x64!=0xb?0x0:_0x25336e%0xa>=0x2&&_0x25336e%0xa<=0x4&&(_0x25336e%0x64<0xa||_0x25336e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f24cc=>{const {be:{dictionary:_0x5ea103,getPluralForm:_0x31a625}}={'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':_0x53077c=>_0x53077c%0xa==0x1&&_0x53077c%0x64!=0xb?0x0:_0x53077c%0xa>=0x2&&_0x53077c%0xa<=0x4&&(_0x53077c%0x64<0xa||_0x53077c%0x64>=0x14)?0x1:0x2}};_0x2f24cc['be']||={'dictionary':{},'getPluralForm':null},_0x2f24cc['be']['dictionary']=Object['assign'](_0x2f24cc['be']['dictionary'],_0x5ea103),_0x2f24cc['be']['getPluralForm']=_0x31a625;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e6127=>{const {be:{dictionary:_0x684f5b,getPluralForm:_0x17c9ee}}={'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':_0x2e1c96=>_0x2e1c96%0xa==0x1&&_0x2e1c96%0x64!=0xb?0x0:_0x2e1c96%0xa>=0x2&&_0x2e1c96%0xa<=0x4&&(_0x2e1c96%0x64<0xa||_0x2e1c96%0x64>=0x14)?0x1:0x2}};_0x1e6127['be']||={'dictionary':{},'getPluralForm':null},_0x1e6127['be']['dictionary']=Object['assign'](_0x1e6127['be']['dictionary'],_0x684f5b),_0x1e6127['be']['getPluralForm']=_0x17c9ee;})(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':_0x5d0e26=>0x1!=_0x5d0e26}};
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':_0x4c5f57=>0x1!=_0x4c5f57}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1aa6aa=>{const {bg:{dictionary:_0x2de9d2,getPluralForm:_0x45670d}}={'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':_0x2289f3=>0x1!=_0x2289f3}};_0x1aa6aa['bg']||={'dictionary':{},'getPluralForm':null},_0x1aa6aa['bg']['dictionary']=Object['assign'](_0x1aa6aa['bg']['dictionary'],_0x2de9d2),_0x1aa6aa['bg']['getPluralForm']=_0x45670d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x584261=>{const {bg:{dictionary:_0x1dba43,getPluralForm:_0x2964b6}}={'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':_0x432d1f=>0x1!=_0x432d1f}};_0x584261['bg']||={'dictionary':{},'getPluralForm':null},_0x584261['bg']['dictionary']=Object['assign'](_0x584261['bg']['dictionary'],_0x1dba43),_0x584261['bg']['getPluralForm']=_0x2964b6;})(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':_0x1a0b25=>0x1!=_0x1a0b25}};
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':_0x1a444f=>0x1!=_0x1a444f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xee82fb=>{const {bn:{dictionary:_0x4c48c3,getPluralForm:_0x2ffab7}}={'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':_0xc4751d=>0x1!=_0xc4751d}};_0xee82fb['bn']||={'dictionary':{},'getPluralForm':null},_0xee82fb['bn']['dictionary']=Object['assign'](_0xee82fb['bn']['dictionary'],_0x4c48c3),_0xee82fb['bn']['getPluralForm']=_0x2ffab7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25d134=>{const {bn:{dictionary:_0x527901,getPluralForm:_0x42e02b}}={'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':_0x5a3d09=>0x1!=_0x5a3d09}};_0x25d134['bn']||={'dictionary':{},'getPluralForm':null},_0x25d134['bn']['dictionary']=Object['assign'](_0x25d134['bn']['dictionary'],_0x527901),_0x25d134['bn']['getPluralForm']=_0x42e02b;})(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':_0x517686=>_0x517686%0xa==0x1&&_0x517686%0x64!=0xb?0x0:_0x517686%0xa>=0x2&&_0x517686%0xa<=0x4&&(_0x517686%0x64<0xa||_0x517686%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':_0x276154=>_0x276154%0xa==0x1&&_0x276154%0x64!=0xb?0x0:_0x276154%0xa>=0x2&&_0x276154%0xa<=0x4&&(_0x276154%0x64<0xa||_0x276154%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c101e=>{const {bs:{dictionary:_0x4ab900,getPluralForm:_0x965b5c}}={'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':_0x487589=>_0x487589%0xa==0x1&&_0x487589%0x64!=0xb?0x0:_0x487589%0xa>=0x2&&_0x487589%0xa<=0x4&&(_0x487589%0x64<0xa||_0x487589%0x64>=0x14)?0x1:0x2}};_0x2c101e['bs']||={'dictionary':{},'getPluralForm':null},_0x2c101e['bs']['dictionary']=Object['assign'](_0x2c101e['bs']['dictionary'],_0x4ab900),_0x2c101e['bs']['getPluralForm']=_0x965b5c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xb09641=>{const {bs:{dictionary:_0x5d11ec,getPluralForm:_0x3df1e2}}={'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':_0x2f33b0=>_0x2f33b0%0xa==0x1&&_0x2f33b0%0x64!=0xb?0x0:_0x2f33b0%0xa>=0x2&&_0x2f33b0%0xa<=0x4&&(_0x2f33b0%0x64<0xa||_0x2f33b0%0x64>=0x14)?0x1:0x2}};_0xb09641['bs']||={'dictionary':{},'getPluralForm':null},_0xb09641['bs']['dictionary']=Object['assign'](_0xb09641['bs']['dictionary'],_0x5d11ec),_0xb09641['bs']['getPluralForm']=_0x3df1e2;})(window['CKEDITOR_TRANSLATIONS']||={});