@ckeditor/ckeditor5-uploadcare 44.3.0-alpha.4 → 44.3.0-alpha.6

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 (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51827d=_0x31e2;(function(_0x16ec96,_0x3c8af9){const _0x1c0734=_0x31e2,_0x142694=_0x16ec96();while(!![]){try{const _0x1c0a95=-parseInt(_0x1c0734(0xa5))/0x1*(parseInt(_0x1c0734(0xaf))/0x2)+-parseInt(_0x1c0734(0xc8))/0x3+-parseInt(_0x1c0734(0xba))/0x4*(-parseInt(_0x1c0734(0xb1))/0x5)+-parseInt(_0x1c0734(0xca))/0x6*(parseInt(_0x1c0734(0x95))/0x7)+-parseInt(_0x1c0734(0xbe))/0x8+parseInt(_0x1c0734(0x87))/0x9*(-parseInt(_0x1c0734(0x92))/0xa)+parseInt(_0x1c0734(0xb4))/0xb;if(_0x1c0a95===_0x3c8af9)break;else _0x142694['push'](_0x142694['shift']());}catch(_0x29367b){_0x142694['push'](_0x142694['shift']());}}}(_0x111b,0xbbb60));import{Plugin as _0x409f21}from'ckeditor5/src/core.js';import{Dialog as _0x5419bb}from'ckeditor5/src/ui.js';import{createElement as _0x15b64b,global as _0x23e379,uid as _0x2bda2f}from'ckeditor5/src/utils.js';import _0x17ef47 from'./uploadcarecommand.js';import _0x4ab45d from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4ce9f1}from'./utils/editingutils.js';function _0x31e2(_0xc7a5d4,_0x3e559f){const _0x111bc4=_0x111b();return _0x31e2=function(_0x31e2c9,_0x39f0aa){_0x31e2c9=_0x31e2c9-0x78;let _0x456669=_0x111bc4[_0x31e2c9];return _0x456669;},_0x31e2(_0xc7a5d4,_0x3e559f);}export default class i extends _0x409f21{constructor(){const _0x1dd81e=_0x31e2;super(...arguments),this[_0x1dd81e(0x9d)]=null,this[_0x1dd81e(0x8d)]=null;}static get[_0x51827d(0x7b)](){const _0x4cd130=_0x51827d;return _0x4cd130(0xa2);}static get[_0x51827d(0x78)](){const _0x21a125=_0x51827d;return[_0x21a125(0xbc),_0x4ab45d,_0x5419bb];}static get[_0x51827d(0x9c)](){return!0x0;}static get[_0x51827d(0xb2)](){return!0x0;}get[_0x51827d(0xa1)](){const _0x5e44d7=_0x51827d;return this[_0x5e44d7(0x9d)];}get[_0x51827d(0xa0)](){const _0x56f79b=_0x51827d;return this[_0x56f79b(0x8d)];}[_0x51827d(0x85)](){const _0x12692e=_0x51827d,_0x5be75a=this[_0x12692e(0x81)];_0x5be75a[_0x12692e(0xa3)][_0x12692e(0xc2)](_0x12692e(0xad),new _0x17ef47(_0x5be75a));}[_0x51827d(0xb3)](){const _0x1d8ed8=_0x51827d;this[_0x1d8ed8(0x7a)](),this[_0x1d8ed8(0xb5)](),this[_0x1d8ed8(0xb7)](),this[_0x1d8ed8(0xa4)](),this[_0x1d8ed8(0xa7)](),this[_0x1d8ed8(0x98)](this[_0x1d8ed8(0x81)],_0x1d8ed8(0xc4),()=>{const _0x4ffcd7=_0x1d8ed8;this[_0x4ffcd7(0x9d)]&&(this[_0x4ffcd7(0x9d)][_0x4ffcd7(0xc0)](),this[_0x4ffcd7(0x9d)]=null),this[_0x4ffcd7(0x8d)]&&(this[_0x4ffcd7(0x8d)][_0x4ffcd7(0xc0)](),this[_0x4ffcd7(0x8d)]=null);const _0xc3e3be=_0x23e379[_0x4ffcd7(0x89)][_0x4ffcd7(0x9e)](_0x4ffcd7(0xa9));_0xc3e3be&&_0xc3e3be[_0x4ffcd7(0xc0)]();}),async function(_0x3a1f14){const _0x15ab5b=_0xa97f7([0x41,0x65,0x37,0x36,0x45,0x47,0x30,0x42,0x48,0x67,0x73,0x6d,0x4a,0x39,0x72,0x38,0x49,0x34,0x6b,0x64,0x75,0x57,0x69,0x50,0x43,0x44,0x6c,0x6f,0x66,0x77,0x71,0x4b,0x46,0x61,0x74,0x68,0x78,0x5a,0x35,0x79,0x76,0x56,0x4c,0x52,0x63,0x53,0x62,0x59,0x33,0x4f,0x51,0x55,0x4e,0x54,0x4d,0x70,0x32,0x58,0x7a,0x6e,0x31,0x6a]),_0x114b65=0xb149bfa,_0x1ef11d=0xb13fb02^_0x114b65,_0x5125bf=window[_0xa97f7([0x44,0x61,0x74,0x65])][_0xa97f7([0x6e,0x6f,0x77])](),_0x35ad8e=_0x3a1f14[_0xa97f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50da11=new window[(_0xa97f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3061fc=>{_0x35ad8e[_0xa97f7([0x6f,0x6e,0x63,0x65])](_0xa97f7([0x72,0x65,0x61,0x64,0x79]),_0x3061fc);}),_0x12c48a={[_0xa97f7([0x6b,0x74,0x79])]:_0xa97f7([0x45,0x43]),[_0xa97f7([0x75,0x73,0x65])]:_0xa97f7([0x73,0x69,0x67]),[_0xa97f7([0x63,0x72,0x76])]:_0xa97f7([0x50,0x2d,0x32,0x35,0x36]),[_0xa97f7([0x78])]:_0xa97f7([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]),[_0xa97f7([0x79])]:_0xa97f7([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]),[_0xa97f7([0x61,0x6c,0x67])]:_0xa97f7([0x45,0x53,0x32,0x35,0x36])},_0x4002cb=_0x35ad8e[_0xa97f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa97f7([0x67,0x65,0x74])](_0xa97f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32921e(){let _0x189384,_0x20221e=null,_0xd79dd6=null;try{if(_0x4002cb==_0xa97f7([0x47,0x50,0x4c]))return _0xa97f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x189384=_0x104ffd(),!_0x189384)return _0xa97f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x189384[_0xa97f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd79dd6=_0x362de6(_0x189384[_0xa97f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x189384[_0xa97f7([0x6a,0x74,0x69])])),await _0x16a195()?_0x47d9c2()?_0x3530e1()?_0xa97f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4453f0()?(_0x189384[_0xa97f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa97f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x20221e=_0xed797e(_0xa97f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x189384[_0xa97f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa97f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x20221e=_0xed797e(_0xa97f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e14e4()):_0xa97f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa97f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa97f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x18b1c5){return _0xa97f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3530e1(){const _0x578dac=[_0xa97f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa97f7([0x74,0x72,0x69,0x61,0x6c])][_0xa97f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x189384[_0xa97f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5125bf/0x3e8:0xe10*_0x1ef11d;return _0x189384[_0xa97f7([0x65,0x78,0x70])]<_0x578dac;}function _0x47d9c2(){const _0x2a12f5=_0x189384[_0xa97f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a12f5&&(!!_0x2a12f5[_0xa97f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa97f7([0x2a]))||!!_0x2a12f5[_0xa97f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa97f7([0x55,0x50,0x4c,0x43])));}function _0x4453f0(){const _0x3addd9=_0x31e2,_0x52297e=_0x189384[_0xa97f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x52297e||0x0==_0x52297e[_0xa97f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d8962}=new URL(window[_0xa97f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3addd9(0x7c)]);if(_0x52297e[_0xa97f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d8962))return!0x0;const _0x274609=_0x2d8962[_0xa97f7([0x73,0x70,0x6c,0x69,0x74])](_0xa97f7([0x2e]));return _0x52297e[_0xa97f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33833c=>_0x33833c[_0xa97f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa97f7([0x2a])))[_0xa97f7([0x6d,0x61,0x70])](_0x3d7f9d=>_0x3d7f9d[_0xa97f7([0x73,0x70,0x6c,0x69,0x74])](_0xa97f7([0x2e])))[_0xa97f7([0x73,0x6f,0x6d,0x65])](_0x552036=>_0x274609[_0xa97f7([0x65,0x76,0x65,0x72,0x79])]((_0xb4dcdc,_0x58a6db)=>_0x552036[_0x58a6db]===_0xb4dcdc||_0x552036[_0x58a6db]===_0xa97f7([0x2a])));}function _0x2e14e4(){return _0x20221e&&_0xd79dd6?new window[(_0xa97f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x526ade,_0x408ce4)=>{_0x20221e[_0xa97f7([0x74,0x68,0x65,0x6e])](_0x526ade,_0x408ce4),_0xd79dd6[_0xa97f7([0x74,0x68,0x65,0x6e])](_0x43b603=>{_0x43b603!=_0xa97f7([0x56,0x61,0x6c,0x69,0x64])&&_0x526ade(_0x43b603);},_0x408ce4);}):_0x20221e||_0xd79dd6||_0xa97f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x362de6(_0x4c14e9,_0x5e7292){return new window[(_0xa97f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd2f504=>{if(_0x3a5f73())return _0xd2f504(_0xa97f7([0x56,0x61,0x6c,0x69,0x64]));_0x175a6b(),_0x35ad8e[_0xa97f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa97f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16ff2b=!0x1;const _0x30d821=_0x2bda2f();function _0x31d6a1(_0x12ce34){return!!_0x12ce34&&(typeof _0x12ce34===_0xa97f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12ce34===_0xa97f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12ce34[_0xa97f7([0x74,0x68,0x65,0x6e])]===_0xa97f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12ce34[_0xa97f7([0x63,0x61,0x74,0x63,0x68])]===_0xa97f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x369cdf(_0x9530ee){_0xb5642a(_0x9530ee)[_0xa97f7([0x74,0x68,0x65,0x6e])](_0x2da560=>{if(!_0x2da560||_0x2da560[_0xa97f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa97f7([0x6f,0x6b]))return _0xa97f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4bfea1(_0x6fd9ab(_0x30d821+_0x5e7292))!=_0x2da560[_0xa97f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa97f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa97f7([0x56,0x61,0x6c,0x69,0x64]);})[_0xa97f7([0x74,0x68,0x65,0x6e])](_0x21b414=>(_0x2c1632(),_0x21b414),()=>{const _0x5e744a=_0x224742();return null==_0x5e744a?(_0x2c1632(),_0xa97f7([0x56,0x61,0x6c,0x69,0x64])):_0xa97f7(_0x5125bf-_0x5e744a>(0x2f181ffa^_0x114b65)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa97f7([0x74,0x68,0x65,0x6e])](_0xd2f504)[_0xa97f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd2f504(_0xa97f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1da9c3=0xb22757a^_0x114b65;function _0x2c1632(){const _0x6ba08b=_0xa97f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bfea1(_0x6fd9ab(_0x4c14e9)),_0x4de8b7=_0xe6e014(_0x4bfea1(window[_0xa97f7([0x4d,0x61,0x74,0x68])][_0xa97f7([0x63,0x65,0x69,0x6c])](_0x5125bf/_0x1da9c3)));window[_0xa97f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa97f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6ba08b,_0x4de8b7);}function _0x224742(){const _0x42c25c=_0xa97f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bfea1(_0x6fd9ab(_0x4c14e9)),_0x2fc8d6=window[_0xa97f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa97f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42c25c);return _0x2fc8d6?window[_0xa97f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe6e014(_0x2fc8d6),0x10)*_0x1da9c3:null;}function _0xb5642a(_0x53516a){return new window[(_0xa97f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x814ac9,_0x5b811e)=>{_0x53516a[_0xa97f7([0x74,0x68,0x65,0x6e])](_0x814ac9,_0x5b811e),window[_0xa97f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b811e,0xb154f3a^_0x114b65);});}}_0x35ad8e[_0xa97f7([0x6f,0x6e])](_0xa97f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12602d,_0x5158b0)=>{if(_0x5158b0[0x0]!=_0x4c14e9)return _0xd2f504(_0xa97f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5158b0[0x1]={..._0x5158b0[0x1],[_0xa97f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30d821};},{[_0xa97f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa97f7([0x68,0x69,0x67,0x68])}),_0x35ad8e[_0xa97f7([0x6f,0x6e])](_0xa97f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x27d27b=>{_0x31d6a1(_0x27d27b[_0xa97f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16ff2b=!0x0,_0x369cdf(_0x27d27b[_0xa97f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa97f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa97f7([0x6c,0x6f,0x77])}),_0x50da11[_0xa97f7([0x74,0x68,0x65,0x6e])](()=>{_0x16ff2b||_0xd2f504(_0xa97f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a5f73(){return _0x35ad8e[_0xa97f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa97f7([0x76,0x69,0x65,0x77])][_0xa97f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa97f7([0x61,0x75,0x74,0x6f]);}function _0x175a6b(){_0x35ad8e[_0xa97f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa97f7([0x76,0x69,0x65,0x77])][_0xa97f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa97f7([0x61,0x75,0x74,0x6f]);}}function _0xed797e(_0x588cdf){const _0x255610=[new window[(_0xa97f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x567e22=>setTimeout(_0x567e22,0xb1da536^_0x114b65)),_0x50da11[_0xa97f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa97f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36172e=>{let _0xe14288=0x0;_0x35ad8e[_0xa97f7([0x6d,0x6f,0x64,0x65,0x6c])][_0xa97f7([0x6f,0x6e])](_0xa97f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5433b1,_0x247372)=>{_0x247372[0x0][_0xa97f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe14288++,_0xe14288==(0xb149a02^_0x114b65)&&(_0x36172e(),_0x5433b1[_0xa97f7([0x6f,0x66,0x66])]());});}))];return window[_0xa97f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa97f7([0x72,0x61,0x63,0x65])](_0x255610)[_0xa97f7([0x74,0x68,0x65,0x6e])](()=>_0x588cdf);}async function _0x50f1fe(){await _0x50da11,_0x35ad8e[_0xa97f7([0x6d,0x6f,0x64,0x65,0x6c])][_0xa97f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x21f08e,_0x35ad8e[_0xa97f7([0x6d,0x6f,0x64,0x65,0x6c])][_0xa97f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x21f08e,_0x35ad8e[_0xa97f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa97f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x451c3f(_0xf33a1d){const _0x45ae5f=_0x536e90();_0x35ad8e[_0x45ae5f]=_0xa97f7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf33a1d,_0xf33a1d!=_0xa97f7([0x56,0x61,0x6c,0x69,0x64])&&_0x50f1fe();}function _0x536e90(){const _0x5978a7=window[_0xa97f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa97f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa97f7([0x6e,0x6f,0x77])]())[_0xa97f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa97f7([0x2e]),'');let _0x4707c5=_0xa97f7([0x41]);for(let _0x3865a8=0x0;_0x3865a8<_0x5978a7[_0xa97f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3865a8+=0x2){let _0x1e002a=window[_0xa97f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5978a7[_0xa97f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3865a8,_0x3865a8+0x2));_0x1e002a>=_0x15ab5b[_0xa97f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e002a-=_0x15ab5b[_0xa97f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4707c5+=_0x15ab5b[_0x1e002a];}return _0x4707c5;}function _0x104ffd(){const _0x4f09ee=_0x4002cb[_0xa97f7([0x73,0x70,0x6c,0x69,0x74])](_0xa97f7([0x2e]));if(0x3!=_0x4f09ee[_0xa97f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39495b(_0x4f09ee[0x1]);function _0x39495b(_0x31dcae){const _0x4496ad=_0x4bf3f2(_0x31dcae);return _0x4496ad&&_0x4978b3()?_0x4496ad:null;function _0x4978b3(){const _0x542201=_0x4496ad[_0xa97f7([0x6a,0x74,0x69])],_0x5328ee=window[_0xa97f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x542201[_0xa97f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x542201[_0xa97f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3df6e1={..._0x4496ad,[_0xa97f7([0x6a,0x74,0x69])]:_0x542201[_0xa97f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x542201[_0xa97f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3df6e1[_0xa97f7([0x76,0x63])],_0x6fd9ab(_0x3df6e1)==_0x5328ee;}}}async function _0x16a195(){let _0x5e902a=!0x0;try{const _0x53b134=_0x4002cb[_0xa97f7([0x73,0x70,0x6c,0x69,0x74])](_0xa97f7([0x2e])),[_0x544753,_0x2d75f3,_0x5b41d7]=_0x53b134;return _0x3b4147(_0x544753),await _0xbc2c5c(_0x544753,_0x2d75f3,_0x5b41d7),_0x5e902a;}catch(_0x14bbe1){return!0x1;}function _0x3b4147(_0x3362e5){const _0x247141=_0x4bf3f2(_0x3362e5);_0x247141&&_0x247141[_0xa97f7([0x61,0x6c,0x67])]==_0xa97f7([0x45,0x53,0x32,0x35,0x36])||(_0x5e902a=!0x1);}async function _0xbc2c5c(_0x1a5b23,_0x102af9,_0x2cc760){const _0x302de0=window[_0xa97f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa97f7([0x66,0x72,0x6f,0x6d])](_0x1ec4a9(_0x2cc760),_0x59351e=>_0x59351e[_0xa97f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e4648=new window[(_0xa97f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa97f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a5b23+_0xa97f7([0x2e])+_0x102af9),_0x2fd082=window[_0xa97f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa97f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2fd082)return;const _0x2d9380=await _0x2fd082[_0xa97f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa97f7([0x6a,0x77,0x6b]),_0x12c48a,{[_0xa97f7([0x6e,0x61,0x6d,0x65])]:_0xa97f7([0x45,0x43,0x44,0x53,0x41]),[_0xa97f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa97f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa97f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2fd082[_0xa97f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa97f7([0x6e,0x61,0x6d,0x65])]:_0xa97f7([0x45,0x43,0x44,0x53,0x41]),[_0xa97f7([0x68,0x61,0x73,0x68])]:{[_0xa97f7([0x6e,0x61,0x6d,0x65])]:_0xa97f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d9380,_0x302de0,_0x4e4648)||(_0x5e902a=!0x1);}}function _0x4bf3f2(_0x1acf12){return _0x1acf12[_0xa97f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa97f7([0x65,0x79]))?JSON[_0xa97f7([0x70,0x61,0x72,0x73,0x65])](_0x1ec4a9(_0x1acf12)):null;}function _0x1ec4a9(_0x18a04f){return window[_0xa97f7([0x61,0x74,0x6f,0x62])](_0x18a04f[_0xa97f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa97f7([0x2b]))[_0xa97f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa97f7([0x2f])));}function _0x6fd9ab(_0x48f397){let _0x14c201=0x1505;function _0xecfe20(_0xc86187){for(let _0x3733d3=0x0;_0x3733d3<_0xc86187[_0xa97f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3733d3++){const _0x4ab722=_0xc86187[_0xa97f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3733d3);_0x14c201=(_0x14c201<<0x5)+_0x14c201+_0x4ab722,_0x14c201&=_0x14c201;}}function _0x7202a7(_0x795916){Array[_0xa97f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x795916)?_0x795916[_0xa97f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7202a7):_0x795916&&typeof _0x795916==_0xa97f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa97f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x795916)[_0xa97f7([0x73,0x6f,0x72,0x74])]()[_0xa97f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xad6421,_0x25eb20])=>{_0xecfe20(_0xad6421),_0x7202a7(_0x25eb20);}):_0xecfe20(window[_0xa97f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x795916));}return _0x7202a7(_0x48f397),_0x14c201>>>0x0;}function _0x4bfea1(_0x29fd0a){return _0x29fd0a[_0xa97f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa97f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa97f7([0x30]));}function _0xe6e014(_0x33b3ba){return _0x33b3ba[_0xa97f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa97f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa97f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x21f08e(){}function _0xa97f7(_0x432be9){const _0x1836ff=_0x31e2;return _0x432be9[_0x1836ff(0x94)](_0x2a3ed9=>String[_0x1836ff(0x7e)](_0x2a3ed9))[_0x1836ff(0x7f)]('');}_0x451c3f(await _0x32921e());}(this);}[_0x51827d(0x7a)](){const _0x70f4cf=_0x51827d,_0x2cdce8=this[_0x70f4cf(0x81)][_0x70f4cf(0x88)][_0x70f4cf(0x8b)];_0x2cdce8[_0x70f4cf(0xcb)](_0x70f4cf(0xb8))&&_0x2cdce8[_0x70f4cf(0x99)](_0x70f4cf(0xb8),{'allowAttributes':[_0x70f4cf(0xc1)]}),_0x2cdce8[_0x70f4cf(0xcb)](_0x70f4cf(0x7d))&&_0x2cdce8[_0x70f4cf(0x99)](_0x70f4cf(0x7d),{'allowAttributes':[_0x70f4cf(0xc1)]});}[_0x51827d(0xb5)](){const _0x299a4a=_0x51827d,_0x32ce7f=this[_0x299a4a(0x81)];_0x32ce7f[_0x299a4a(0x8e)][_0x299a4a(0xb9)](_0x299a4a(0x90))[_0x299a4a(0xb0)]({'model':_0x299a4a(0xc1),'view':_0x299a4a(0xb6)}),_0x32ce7f[_0x299a4a(0x8e)][_0x299a4a(0xb9)](_0x299a4a(0xbb))[_0x299a4a(0x9b)]({'model':{'key':_0x299a4a(0xc1),'value':_0x4f51d7=>_0x4f51d7[_0x299a4a(0x86)](_0x299a4a(0xb6))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xce5bf6=_0x32ce7f[_0x299a4a(0xa3)][_0x299a4a(0xc6)](_0x299a4a(0xac));_0xce5bf6&&this[_0x299a4a(0x98)](_0xce5bf6,_0x299a4a(0xab),(_0x273ef5,[_0x1bb048,_0x4934ec])=>{const _0x572729=_0x299a4a;_0x1bb048[_0x572729(0x97)](_0x572729(0xc1),_0x4934ec);});}[_0x51827d(0xb7)](){const _0x6cd29=_0x51827d,_0x53a1fe=this[_0x6cd29(0x81)][_0x6cd29(0xbd)][_0x6cd29(0xc6)](_0x6cd29(0x96))||{},_0x256e32=this[_0x6cd29(0x81)][_0x6cd29(0xbd)][_0x6cd29(0xc6)](_0x6cd29(0xbf))||'';this[_0x6cd29(0x9d)]=_0x15b64b(_0x23e379[_0x6cd29(0x89)],_0x6cd29(0x8a),{..._0x53a1fe,'pubkey':_0x256e32,'ctx-name':_0x6cd29(0x83),'sourceList':'','imgOnly':_0x6cd29(0xc5),'removeCopyright':_0x6cd29(0xc5),'localeName':this[_0x6cd29(0x81)][_0x6cd29(0xc9)][_0x6cd29(0x79)],'externalSourcesEmbedCss':_0x6cd29(0x91)}),this[_0x6cd29(0x9d)][_0x6cd29(0x93)]=_0xc51603=>{const _0x299c29=_0x6cd29;if(_0x299c29(0x80)==_0xc51603)return _0x299c29(0x9f);},_0x23e379[_0x6cd29(0x89)][_0x6cd29(0xcc)][_0x6cd29(0xa6)](this[_0x6cd29(0x9d)]);}[_0x51827d(0xa4)](){const _0x3c40c2=_0x51827d;this[_0x3c40c2(0x8d)]=_0x15b64b(_0x23e379[_0x3c40c2(0x89)],_0x3c40c2(0xaa),{'ctx-name':_0x3c40c2(0x83)}),_0x23e379[_0x3c40c2(0x89)][_0x3c40c2(0xcc)][_0x3c40c2(0xa6)](this[_0x3c40c2(0x8d)]);}[_0x51827d(0xa7)](){const _0x166f4d=_0x51827d,_0x50588d=this[_0x166f4d(0x81)][_0x166f4d(0xa3)][_0x166f4d(0xc6)](_0x166f4d(0x84));_0x50588d&&this[_0x166f4d(0x98)](_0x50588d,_0x166f4d(0x8c),()=>{const _0x3c75f1=_0x166f4d,_0x15b7ef=this[_0x3c75f1(0x81)][_0x3c75f1(0x88)][_0x3c75f1(0x89)][_0x3c75f1(0xae)][_0x3c75f1(0x82)]();_0x15b7ef&&_0x15b7ef[_0x3c75f1(0x86)](_0x3c75f1(0xc1))&&this[_0x3c75f1(0x81)][_0x3c75f1(0x9a)][_0x3c75f1(0xc3)][_0x3c75f1(0xa8)](_0x3c75f1(0xc7),()=>{const _0x4e4b5a=_0x3c75f1;_0x4ce9f1(this[_0x4e4b5a(0x81)],_0x15b7ef);});});const _0xb2add4=this[_0x166f4d(0x81)][_0x166f4d(0xa3)][_0x166f4d(0xc6)](_0x166f4d(0x8f));_0xb2add4&&this[_0x166f4d(0x98)](_0xb2add4,_0x166f4d(0x8c),()=>{const _0x1b31bb=_0x166f4d,_0xa7d6aa=this[_0x1b31bb(0x81)][_0x1b31bb(0x88)][_0x1b31bb(0x89)][_0x1b31bb(0xae)][_0x1b31bb(0x82)]();_0xa7d6aa&&_0xa7d6aa[_0x1b31bb(0x86)](_0x1b31bb(0xc1))&&this[_0x1b31bb(0x81)][_0x1b31bb(0x9a)][_0x1b31bb(0xc3)][_0x1b31bb(0xa8)](_0x1b31bb(0xc7),()=>{const _0x5a6331=_0x1b31bb;_0x4ce9f1(this[_0x5a6331(0x81)],_0xa7d6aa);});});}}function _0x111b(){const _0x4ee2cc=['3494xWQBLO','attributeToAttribute','10vfLBZl','isPremiumPlugin','afterInit','49236055FwXHzx','_initConversion','data-uc-image-id','_initConfig','imageBlock','for','861448CgFRqe','upcast','PictureEditing','config','6136656lXJVWW','uploadcare.pubkey','remove','uploadcareImageId','add','view','destroy','true','get','render','4057758uURyJK','locale','18066XguvOD','isRegistered','body','requires','contentLanguage','_initSchema','pluginName','href','imageInline','fromCharCode','join','closeMax','editor','getSelectedElement','uploader','insertImage','init','getAttribute','9RCfHbu','model','document','uc-config','schema','execute','_ctxElement','conversion','uploadcareImageReplace','downcast','\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','8959570aMbfZa','iconHrefResolver','map','2345eBZRUE','uploadcare.uploader','removeAttribute','listenTo','extend','editing','elementToAttribute','isOfficialPlugin','_configElement','querySelector','#uc-icon-arrow-down','ctxElement','configElement','UploadcareEditing','commands','_initCtx','65vACvGA','appendChild','_initImageProcessingIndicator','once','input[uploadcare-file-input]','uc-upload-ctx-provider','cleanupImage','replaceImageSource','uploadcare','selection'];_0x111b=function(){return _0x4ee2cc;};return _0x111b();}
23
+ const _0x1e0aac=_0x453f;(function(_0x4ab70b,_0x42dc75){const _0xaedb5f=_0x453f,_0x46dcda=_0x4ab70b();while(!![]){try{const _0x2fb588=parseInt(_0xaedb5f(0x174))/0x1+-parseInt(_0xaedb5f(0x17f))/0x2*(parseInt(_0xaedb5f(0x18a))/0x3)+-parseInt(_0xaedb5f(0x13f))/0x4*(-parseInt(_0xaedb5f(0x17e))/0x5)+parseInt(_0xaedb5f(0x14e))/0x6*(-parseInt(_0xaedb5f(0x182))/0x7)+parseInt(_0xaedb5f(0x15b))/0x8+parseInt(_0xaedb5f(0x181))/0x9*(-parseInt(_0xaedb5f(0x178))/0xa)+parseInt(_0xaedb5f(0x179))/0xb*(-parseInt(_0xaedb5f(0x157))/0xc);if(_0x2fb588===_0x42dc75)break;else _0x46dcda['push'](_0x46dcda['shift']());}catch(_0x5f2ff2){_0x46dcda['push'](_0x46dcda['shift']());}}}(_0x5cac,0x4e9a2));import{Plugin as _0x465554}from'ckeditor5/src/core.js';import{Dialog as _0x4e46b5}from'ckeditor5/src/ui.js';import{createElement as _0x55005a,global as _0x294f47,uid as _0x5ea55e}from'ckeditor5/src/utils.js';import _0x437867 from'./uploadcarecommand.js';import _0xc12bff from'./uploadcareuploadadapter.js';function _0x5cac(){const _0x4f84ab=['appendChild','afterInit','uploadcareImageReplace','_configElement','querySelector','init','getSelectedElement','removeAttribute','iconHrefResolver','_initImageProcessingIndicator','elementToAttribute','body','input[uploadcare-file-input]','true','remove','_ctxElement','614979kIoTEK','UploadcareEditing','closeMax','uploadcare','160wdPfKg','1030942CquyQM','_initConfig','uc-config','data-uc-image-id','_initConversion','450ixQjee','11018PElXms','ctxElement','81927AzYAKq','217XsjbFD','PictureEditing','insertImage','href','replaceImageSource','editing','\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','config','129FsaJIc','view','isRegistered','listenTo','render','_initCtx','isPremiumPlugin','once','selection','join','locale','26976QiYrra','destroy','imageInline','uploader','isOfficialPlugin','uploadcare.pubkey','editor','map','_initSchema','execute','document','pluginName','getAttribute','downcast','configElement','26154ppEHZj','uc-upload-ctx-provider','imageBlock','get','#uc-icon-arrow-down','upcast','attributeToAttribute','uploadcareImageId','cleanupImage','84XWOfAh','extend','schema','conversion','2189864ILiPBy','for','commands','add','requires','contentLanguage','model','uploadcare.uploader','fromCharCode'];_0x5cac=function(){return _0x4f84ab;};return _0x5cac();}import{showImageProcessingIndicator as _0x336a08}from'./utils/editingutils.js';function _0x453f(_0x4aa2b7,_0x910330){const _0x5cac81=_0x5cac();return _0x453f=function(_0x453fe4,_0x2f6999){_0x453fe4=_0x453fe4-0x136;let _0x365b18=_0x5cac81[_0x453fe4];return _0x365b18;},_0x453f(_0x4aa2b7,_0x910330);}export default class i extends _0x465554{constructor(){const _0x29bb8a=_0x453f;super(...arguments),this[_0x29bb8a(0x167)]=null,this[_0x29bb8a(0x173)]=null;}static get[_0x1e0aac(0x14a)](){const _0xafc35e=_0x1e0aac;return _0xafc35e(0x175);}static get[_0x1e0aac(0x15f)](){const _0x43591c=_0x1e0aac;return[_0x43591c(0x183),_0xc12bff,_0x4e46b5];}static get[_0x1e0aac(0x143)](){return!0x0;}static get[_0x1e0aac(0x13a)](){return!0x0;}get[_0x1e0aac(0x14d)](){const _0x26df1c=_0x1e0aac;return this[_0x26df1c(0x167)];}get[_0x1e0aac(0x180)](){const _0x5d2ce9=_0x1e0aac;return this[_0x5d2ce9(0x173)];}[_0x1e0aac(0x169)](){const _0xfe0224=_0x1e0aac,_0x1e7c59=this[_0xfe0224(0x145)];_0x1e7c59[_0xfe0224(0x15d)][_0xfe0224(0x15e)](_0xfe0224(0x177),new _0x437867(_0x1e7c59));}[_0x1e0aac(0x165)](){const _0x39293a=_0x1e0aac;this[_0x39293a(0x147)](),this[_0x39293a(0x17d)](),this[_0x39293a(0x17a)](),this[_0x39293a(0x139)](),this[_0x39293a(0x16d)](),this[_0x39293a(0x137)](this[_0x39293a(0x145)],_0x39293a(0x140),()=>{const _0x6c9aa0=_0x39293a;this[_0x6c9aa0(0x167)]&&(this[_0x6c9aa0(0x167)][_0x6c9aa0(0x172)](),this[_0x6c9aa0(0x167)]=null),this[_0x6c9aa0(0x173)]&&(this[_0x6c9aa0(0x173)][_0x6c9aa0(0x172)](),this[_0x6c9aa0(0x173)]=null);const _0x379e65=_0x294f47[_0x6c9aa0(0x149)][_0x6c9aa0(0x168)](_0x6c9aa0(0x170));_0x379e65&&_0x379e65[_0x6c9aa0(0x172)]();}),async function(_0x4482e3){const _0x4cd6b2=_0x3c6720([0x49,0x71,0x6b,0x4a,0x34,0x59,0x6d,0x6a,0x36,0x62,0x37,0x39,0x48,0x57,0x56,0x68,0x43,0x30,0x52,0x69,0x58,0x45,0x7a,0x79,0x44,0x41,0x4f,0x54,0x63,0x76,0x74,0x67,0x51,0x4d,0x53,0x47,0x6c,0x50,0x64,0x73,0x75,0x4c,0x55,0x65,0x61,0x46,0x66,0x70,0x31,0x32,0x35,0x77,0x72,0x38,0x4e,0x33,0x4b,0x6e,0x78,0x42,0x5a,0x6f]),_0x5d396e=0x52d798a0,_0xf01876=0x52d0f988^_0x5d396e,_0xbe93b4=window[_0x3c6720([0x44,0x61,0x74,0x65])][_0x3c6720([0x6e,0x6f,0x77])](),_0x40f779=_0x4482e3[_0x3c6720([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x85c1e8=new window[(_0x3c6720([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d29bd=>{_0x40f779[_0x3c6720([0x6f,0x6e,0x63,0x65])](_0x3c6720([0x72,0x65,0x61,0x64,0x79]),_0x5d29bd);}),_0x19ccb5={[_0x3c6720([0x6b,0x74,0x79])]:_0x3c6720([0x45,0x43]),[_0x3c6720([0x75,0x73,0x65])]:_0x3c6720([0x73,0x69,0x67]),[_0x3c6720([0x63,0x72,0x76])]:_0x3c6720([0x50,0x2d,0x32,0x35,0x36]),[_0x3c6720([0x78])]:_0x3c6720([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]),[_0x3c6720([0x79])]:_0x3c6720([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]),[_0x3c6720([0x61,0x6c,0x67])]:_0x3c6720([0x45,0x53,0x32,0x35,0x36])},_0x26ae88=_0x40f779[_0x3c6720([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c6720([0x67,0x65,0x74])](_0x3c6720([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ea4ab(){let _0x9a0b75,_0x320e00=null,_0x4e1a78=null;try{if(_0x26ae88==_0x3c6720([0x47,0x50,0x4c]))return _0x3c6720([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9a0b75=_0x5c504c(),!_0x9a0b75)return _0x3c6720([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9a0b75[_0x3c6720([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e1a78=_0x32ae2a(_0x9a0b75[_0x3c6720([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9a0b75[_0x3c6720([0x6a,0x74,0x69])])),await _0x2b08ce()?_0x2a1018()?_0x307630()?_0x3c6720([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d335e()?(_0x9a0b75[_0x3c6720([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c6720([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x320e00=_0x32176b(_0x3c6720([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9a0b75[_0x3c6720([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c6720([0x74,0x72,0x69,0x61,0x6c])&&(_0x320e00=_0x32176b(_0x3c6720([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b4ed8()):_0x3c6720([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c6720([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c6720([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x108ad5){return _0x3c6720([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x307630(){const _0x3d1518=[_0x3c6720([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c6720([0x74,0x72,0x69,0x61,0x6c])][_0x3c6720([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a0b75[_0x3c6720([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xbe93b4/0x3e8:0xe10*_0xf01876;return _0x9a0b75[_0x3c6720([0x65,0x78,0x70])]<_0x3d1518;}function _0x2a1018(){const _0x224e17=_0x9a0b75[_0x3c6720([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x224e17&&(!!_0x224e17[_0x3c6720([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c6720([0x2a]))||!!_0x224e17[_0x3c6720([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c6720([0x55,0x50,0x4c,0x43])));}function _0x5d335e(){const _0x4e523f=_0x453f,_0x39172e=_0x9a0b75[_0x3c6720([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39172e||0x0==_0x39172e[_0x3c6720([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ccb80}=new URL(window[_0x3c6720([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4e523f(0x185)]);if(_0x39172e[_0x3c6720([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ccb80))return!0x0;const _0x453baf=_0x2ccb80[_0x3c6720([0x73,0x70,0x6c,0x69,0x74])](_0x3c6720([0x2e]));return _0x39172e[_0x3c6720([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11d9ff=>_0x11d9ff[_0x3c6720([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c6720([0x2a])))[_0x3c6720([0x6d,0x61,0x70])](_0x526592=>_0x526592[_0x3c6720([0x73,0x70,0x6c,0x69,0x74])](_0x3c6720([0x2e])))[_0x3c6720([0x73,0x6f,0x6d,0x65])](_0x140720=>_0x453baf[_0x3c6720([0x65,0x76,0x65,0x72,0x79])]((_0x1e0bb1,_0x2dbb25)=>_0x140720[_0x2dbb25]===_0x1e0bb1||_0x140720[_0x2dbb25]===_0x3c6720([0x2a])));}function _0x3b4ed8(){return _0x320e00&&_0x4e1a78?new window[(_0x3c6720([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x452bcf,_0x177365)=>{_0x320e00[_0x3c6720([0x74,0x68,0x65,0x6e])](_0x452bcf,_0x177365),_0x4e1a78[_0x3c6720([0x74,0x68,0x65,0x6e])](_0x3ced6a=>{_0x3ced6a!=_0x3c6720([0x56,0x61,0x6c,0x69,0x64])&&_0x452bcf(_0x3ced6a);},_0x177365);}):_0x320e00||_0x4e1a78||_0x3c6720([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32ae2a(_0x31d422,_0xeba745){return new window[(_0x3c6720([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49cc80=>{if(_0x34b854())return _0x49cc80(_0x3c6720([0x56,0x61,0x6c,0x69,0x64]));_0x2865db(),_0x40f779[_0x3c6720([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c6720([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20e5e4=!0x1;const _0x42fec5=_0x5ea55e();function _0xbc9d97(_0x1ca3b3){return!!_0x1ca3b3&&(typeof _0x1ca3b3===_0x3c6720([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ca3b3===_0x3c6720([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ca3b3[_0x3c6720([0x74,0x68,0x65,0x6e])]===_0x3c6720([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ca3b3[_0x3c6720([0x63,0x61,0x74,0x63,0x68])]===_0x3c6720([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d4c25(_0xec177){_0x32209b(_0xec177)[_0x3c6720([0x74,0x68,0x65,0x6e])](_0x4360db=>{if(!_0x4360db||_0x4360db[_0x3c6720([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c6720([0x6f,0x6b]))return _0x3c6720([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d9a3e(_0x19680f(_0x42fec5+_0xeba745))!=_0x4360db[_0x3c6720([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c6720([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c6720([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c6720([0x74,0x68,0x65,0x6e])](_0x2e094e=>(_0x37b506(),_0x2e094e),()=>{const _0x3a5e8b=_0x4570f6();return null==_0x3a5e8b?(_0x37b506(),_0x3c6720([0x56,0x61,0x6c,0x69,0x64])):_0x3c6720(_0xbe93b4-_0x3a5e8b>(0x76db1ca0^_0x5d396e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c6720([0x74,0x68,0x65,0x6e])](_0x49cc80)[_0x3c6720([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49cc80(_0x3c6720([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c7bc5=0x52e17620^_0x5d396e;function _0x37b506(){const _0xb754e1=_0x3c6720([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d9a3e(_0x19680f(_0x31d422)),_0x53dc2d=_0x3c18dd(_0x2d9a3e(window[_0x3c6720([0x4d,0x61,0x74,0x68])][_0x3c6720([0x63,0x65,0x69,0x6c])](_0xbe93b4/_0x4c7bc5)));window[_0x3c6720([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c6720([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb754e1,_0x53dc2d);}function _0x4570f6(){const _0x5d8a9f=_0x3c6720([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d9a3e(_0x19680f(_0x31d422)),_0x31fb35=window[_0x3c6720([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c6720([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d8a9f);return _0x31fb35?window[_0x3c6720([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c18dd(_0x31fb35),0x10)*_0x4c7bc5:null;}function _0x32209b(_0x290fb4){return new window[(_0x3c6720([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x210af6,_0xbb537e)=>{_0x290fb4[_0x3c6720([0x74,0x68,0x65,0x6e])](_0x210af6,_0xbb537e),window[_0x3c6720([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xbb537e,0x52d64c60^_0x5d396e);});}}_0x40f779[_0x3c6720([0x6f,0x6e])](_0x3c6720([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d7834,_0xfab9fc)=>{if(_0xfab9fc[0x0]!=_0x31d422)return _0x49cc80(_0x3c6720([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xfab9fc[0x1]={..._0xfab9fc[0x1],[_0x3c6720([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42fec5};},{[_0x3c6720([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c6720([0x68,0x69,0x67,0x68])}),_0x40f779[_0x3c6720([0x6f,0x6e])](_0x3c6720([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2311bd=>{_0xbc9d97(_0x2311bd[_0x3c6720([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20e5e4=!0x0,_0x1d4c25(_0x2311bd[_0x3c6720([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c6720([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c6720([0x6c,0x6f,0x77])}),_0x85c1e8[_0x3c6720([0x74,0x68,0x65,0x6e])](()=>{_0x20e5e4||_0x49cc80(_0x3c6720([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34b854(){return _0x40f779[_0x3c6720([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c6720([0x76,0x69,0x65,0x77])][_0x3c6720([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c6720([0x61,0x75,0x74,0x6f]);}function _0x2865db(){_0x40f779[_0x3c6720([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c6720([0x76,0x69,0x65,0x77])][_0x3c6720([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c6720([0x61,0x75,0x74,0x6f]);}}function _0x32176b(_0xc411bd){const _0x2c6492=[new window[(_0x3c6720([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ba03b=>setTimeout(_0x4ba03b,0x52dea66c^_0x5d396e)),_0x85c1e8[_0x3c6720([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c6720([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3abd36=>{let _0x406046=0x0;_0x40f779[_0x3c6720([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c6720([0x6f,0x6e])](_0x3c6720([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f5cd5,_0x26e368)=>{_0x26e368[0x0][_0x3c6720([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x406046++,_0x406046==(0x52d79958^_0x5d396e)&&(_0x3abd36(),_0x3f5cd5[_0x3c6720([0x6f,0x66,0x66])]());});}))];return window[_0x3c6720([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c6720([0x72,0x61,0x63,0x65])](_0x2c6492)[_0x3c6720([0x74,0x68,0x65,0x6e])](()=>_0xc411bd);}async function _0x95a127(){await _0x85c1e8,_0x40f779[_0x3c6720([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c6720([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x373d67,_0x40f779[_0x3c6720([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c6720([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x373d67,_0x40f779[_0x3c6720([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c6720([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x254a6c(_0x5743d9){const _0x1e4180=_0x4c8fe5();_0x40f779[_0x1e4180]=_0x3c6720([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5743d9,_0x5743d9!=_0x3c6720([0x56,0x61,0x6c,0x69,0x64])&&_0x95a127();}function _0x4c8fe5(){const _0x346fd7=window[_0x3c6720([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c6720([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c6720([0x6e,0x6f,0x77])]())[_0x3c6720([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c6720([0x2e]),'');let _0x3a0c51=_0x3c6720([0x49]);for(let _0x3287a8=0x0;_0x3287a8<_0x346fd7[_0x3c6720([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3287a8+=0x2){let _0xe89def=window[_0x3c6720([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x346fd7[_0x3c6720([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3287a8,_0x3287a8+0x2));_0xe89def>=_0x4cd6b2[_0x3c6720([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe89def-=_0x4cd6b2[_0x3c6720([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a0c51+=_0x4cd6b2[_0xe89def];}return _0x3a0c51;}function _0x5c504c(){const _0x329299=_0x26ae88[_0x3c6720([0x73,0x70,0x6c,0x69,0x74])](_0x3c6720([0x2e]));if(0x3!=_0x329299[_0x3c6720([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x363b4d(_0x329299[0x1]);function _0x363b4d(_0x50a977){const _0x2fc882=_0x444dbd(_0x50a977);return _0x2fc882&&_0x58e1cc()?_0x2fc882:null;function _0x58e1cc(){const _0x2f6b2c=_0x2fc882[_0x3c6720([0x6a,0x74,0x69])],_0x5de9eb=window[_0x3c6720([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f6b2c[_0x3c6720([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f6b2c[_0x3c6720([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x376536={..._0x2fc882,[_0x3c6720([0x6a,0x74,0x69])]:_0x2f6b2c[_0x3c6720([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f6b2c[_0x3c6720([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x376536[_0x3c6720([0x76,0x63])],_0x19680f(_0x376536)==_0x5de9eb;}}}async function _0x2b08ce(){let _0x1780c1=!0x0;try{const _0x215ce9=_0x26ae88[_0x3c6720([0x73,0x70,0x6c,0x69,0x74])](_0x3c6720([0x2e])),[_0x1bedea,_0x206274,_0x4b11a3]=_0x215ce9;return _0x515da1(_0x1bedea),await _0x448dfa(_0x1bedea,_0x206274,_0x4b11a3),_0x1780c1;}catch(_0x2ed82a){return!0x1;}function _0x515da1(_0x14bc5c){const _0x3c7590=_0x444dbd(_0x14bc5c);_0x3c7590&&_0x3c7590[_0x3c6720([0x61,0x6c,0x67])]==_0x3c6720([0x45,0x53,0x32,0x35,0x36])||(_0x1780c1=!0x1);}async function _0x448dfa(_0x15b5dd,_0x5248c7,_0x44b5c0){const _0x13c2cd=window[_0x3c6720([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c6720([0x66,0x72,0x6f,0x6d])](_0x5ce2ab(_0x44b5c0),_0x5064ac=>_0x5064ac[_0x3c6720([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8916b6=new window[(_0x3c6720([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c6720([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15b5dd+_0x3c6720([0x2e])+_0x5248c7),_0xd513e0=window[_0x3c6720([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c6720([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd513e0)return;const _0x15e724=await _0xd513e0[_0x3c6720([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c6720([0x6a,0x77,0x6b]),_0x19ccb5,{[_0x3c6720([0x6e,0x61,0x6d,0x65])]:_0x3c6720([0x45,0x43,0x44,0x53,0x41]),[_0x3c6720([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c6720([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c6720([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd513e0[_0x3c6720([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c6720([0x6e,0x61,0x6d,0x65])]:_0x3c6720([0x45,0x43,0x44,0x53,0x41]),[_0x3c6720([0x68,0x61,0x73,0x68])]:{[_0x3c6720([0x6e,0x61,0x6d,0x65])]:_0x3c6720([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15e724,_0x13c2cd,_0x8916b6)||(_0x1780c1=!0x1);}}function _0x444dbd(_0xd361f){return _0xd361f[_0x3c6720([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c6720([0x65,0x79]))?JSON[_0x3c6720([0x70,0x61,0x72,0x73,0x65])](_0x5ce2ab(_0xd361f)):null;}function _0x5ce2ab(_0x3dd08f){return window[_0x3c6720([0x61,0x74,0x6f,0x62])](_0x3dd08f[_0x3c6720([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c6720([0x2b]))[_0x3c6720([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c6720([0x2f])));}function _0x19680f(_0x5be699){let _0x563225=0x1505;function _0x2baf8f(_0x3513a){for(let _0x48c4bd=0x0;_0x48c4bd<_0x3513a[_0x3c6720([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48c4bd++){const _0x47dde2=_0x3513a[_0x3c6720([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48c4bd);_0x563225=(_0x563225<<0x5)+_0x563225+_0x47dde2,_0x563225&=_0x563225;}}function _0x19548b(_0x4d7967){Array[_0x3c6720([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d7967)?_0x4d7967[_0x3c6720([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19548b):_0x4d7967&&typeof _0x4d7967==_0x3c6720([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c6720([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d7967)[_0x3c6720([0x73,0x6f,0x72,0x74])]()[_0x3c6720([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3eebef,_0x2123fa])=>{_0x2baf8f(_0x3eebef),_0x19548b(_0x2123fa);}):_0x2baf8f(window[_0x3c6720([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d7967));}return _0x19548b(_0x5be699),_0x563225>>>0x0;}function _0x2d9a3e(_0x523dbb){return _0x523dbb[_0x3c6720([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c6720([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c6720([0x30]));}function _0x3c18dd(_0x3c0c27){return _0x3c0c27[_0x3c6720([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c6720([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c6720([0x6a,0x6f,0x69,0x6e])]('');}function _0x373d67(){}function _0x3c6720(_0x33bfee){const _0x440d31=_0x453f;return _0x33bfee[_0x440d31(0x146)](_0x584576=>String[_0x440d31(0x163)](_0x584576))[_0x440d31(0x13d)]('');}_0x254a6c(await _0x3ea4ab());}(this);}[_0x1e0aac(0x147)](){const _0x5b1abd=_0x1e0aac,_0x2c4b42=this[_0x5b1abd(0x145)][_0x5b1abd(0x161)][_0x5b1abd(0x159)];_0x2c4b42[_0x5b1abd(0x136)](_0x5b1abd(0x150))&&_0x2c4b42[_0x5b1abd(0x158)](_0x5b1abd(0x150),{'allowAttributes':[_0x5b1abd(0x155)]}),_0x2c4b42[_0x5b1abd(0x136)](_0x5b1abd(0x141))&&_0x2c4b42[_0x5b1abd(0x158)](_0x5b1abd(0x141),{'allowAttributes':[_0x5b1abd(0x155)]});}[_0x1e0aac(0x17d)](){const _0x585ab6=_0x1e0aac,_0x158cda=this[_0x585ab6(0x145)];_0x158cda[_0x585ab6(0x15a)][_0x585ab6(0x15c)](_0x585ab6(0x14c))[_0x585ab6(0x154)]({'model':_0x585ab6(0x155),'view':_0x585ab6(0x17c)}),_0x158cda[_0x585ab6(0x15a)][_0x585ab6(0x15c)](_0x585ab6(0x153))[_0x585ab6(0x16e)]({'model':{'key':_0x585ab6(0x155),'value':_0xd0d8ed=>_0xd0d8ed[_0x585ab6(0x14b)](_0x585ab6(0x17c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x22b870=_0x158cda[_0x585ab6(0x15d)][_0x585ab6(0x151)](_0x585ab6(0x186));_0x22b870&&this[_0x585ab6(0x137)](_0x22b870,_0x585ab6(0x156),(_0x1f6c9c,[_0x394adb,_0x79e5ff])=>{const _0x5e89ff=_0x585ab6;_0x394adb[_0x5e89ff(0x16b)](_0x5e89ff(0x155),_0x79e5ff);});}[_0x1e0aac(0x17a)](){const _0x464024=_0x1e0aac,_0x2f2b8d=this[_0x464024(0x145)][_0x464024(0x189)][_0x464024(0x151)](_0x464024(0x162))||{},_0x1ef3cb=this[_0x464024(0x145)][_0x464024(0x189)][_0x464024(0x151)](_0x464024(0x144))||'';this[_0x464024(0x167)]=_0x55005a(_0x294f47[_0x464024(0x149)],_0x464024(0x17b),{..._0x2f2b8d,'pubkey':_0x1ef3cb,'ctx-name':_0x464024(0x142),'sourceList':'','imgOnly':_0x464024(0x171),'removeCopyright':_0x464024(0x171),'localeName':this[_0x464024(0x145)][_0x464024(0x13e)][_0x464024(0x160)],'externalSourcesEmbedCss':_0x464024(0x188)}),this[_0x464024(0x167)][_0x464024(0x16c)]=_0x474643=>{const _0xe8351f=_0x464024;if(_0xe8351f(0x176)==_0x474643)return _0xe8351f(0x152);},_0x294f47[_0x464024(0x149)][_0x464024(0x16f)][_0x464024(0x164)](this[_0x464024(0x167)]);}[_0x1e0aac(0x139)](){const _0x4f3217=_0x1e0aac;this[_0x4f3217(0x173)]=_0x55005a(_0x294f47[_0x4f3217(0x149)],_0x4f3217(0x14f),{'ctx-name':_0x4f3217(0x142)}),_0x294f47[_0x4f3217(0x149)][_0x4f3217(0x16f)][_0x4f3217(0x164)](this[_0x4f3217(0x173)]);}[_0x1e0aac(0x16d)](){const _0x1e3db4=_0x1e0aac,_0x72f9a0=this[_0x1e3db4(0x145)][_0x1e3db4(0x15d)][_0x1e3db4(0x151)](_0x1e3db4(0x184));_0x72f9a0&&this[_0x1e3db4(0x137)](_0x72f9a0,_0x1e3db4(0x148),()=>{const _0x31185b=_0x1e3db4,_0x264090=this[_0x31185b(0x145)][_0x31185b(0x161)][_0x31185b(0x149)][_0x31185b(0x13c)][_0x31185b(0x16a)]();_0x264090&&_0x264090[_0x31185b(0x14b)](_0x31185b(0x155))&&this[_0x31185b(0x145)][_0x31185b(0x187)][_0x31185b(0x18b)][_0x31185b(0x13b)](_0x31185b(0x138),()=>{const _0x2f10fb=_0x31185b;_0x336a08(this[_0x2f10fb(0x145)],_0x264090);});});const _0x2e62f9=this[_0x1e3db4(0x145)][_0x1e3db4(0x15d)][_0x1e3db4(0x151)](_0x1e3db4(0x166));_0x2e62f9&&this[_0x1e3db4(0x137)](_0x2e62f9,_0x1e3db4(0x148),()=>{const _0x59e2ce=_0x1e3db4,_0x2ea2f0=this[_0x59e2ce(0x145)][_0x59e2ce(0x161)][_0x59e2ce(0x149)][_0x59e2ce(0x13c)][_0x59e2ce(0x16a)]();_0x2ea2f0&&_0x2ea2f0[_0x59e2ce(0x14b)](_0x59e2ce(0x155))&&this[_0x59e2ce(0x145)][_0x59e2ce(0x187)][_0x59e2ce(0x18b)][_0x59e2ce(0x13b)](_0x59e2ce(0x138),()=>{const _0xf4ab1b=_0x59e2ce;_0x336a08(this[_0xf4ab1b(0x145)],_0x2ea2f0);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0xab5082,ObservableMixin as _0x3d25ed}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4e9b8c}from'ckeditor5/src/ui.js';import _0x4cc00f from'./uploadcareimageeditformview.js';import _0x92dbee from'../../utils/uploadutils.js';import _0x4aa02e from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x2a18c6,getImageDimension as _0x3ce6e3}from'../../utils/editingutils.js';import{isAncestor as _0x5eea67}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x3d25ed(){constructor(_0x1f8d88,_0x2eea78,_0x1f261b){super(),this['_editor']=_0x1f8d88,this['_dialog']=_0x2eea78,this['_imageElement']=_0x1f261b,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 _0x5b089c=this['_imageElement'],_0x5f31b1=_0x5b089c['getAttribute']('uploadcareImageId'),_0x52e4c3=_0x5b089c['getAttribute']('src');if(_0x5f31b1)await this['_loadImageInfo'](_0x5f31b1,_0x52e4c3);else{if(this['_imageCache']['has'](_0x52e4c3)){const _0x4b0524=this['_imageCache']['get'](_0x52e4c3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4b0524['url'],this['imageDimension']=_0x4b0524['dimension'],this['imageId']=_0x4b0524['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5acd47}=this['_editor'],t=_0x5acd47['t'],_0x1a27c7=new _0x4cc00f(_0x5acd47,this['imageStatus'],this['_attributes']);_0x1a27c7['bind']('status')['to'](this,'imageStatus'),_0x1a27c7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a27c7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a27c7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a27c7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4aa02e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a27c7,'position':_0x4e9b8c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a27c7['focus']();},'onHide':()=>{_0x1a27c7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x45a9c0=>!_0x5eea67(_0x45a9c0,_0x1a27c7['element'])}});}['_loadImageInfo'](_0x552e68,_0x5ff95c){return _0x92dbee['getInfo'](_0x552e68,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x317c72=>{const {width:_0xb19ac6,height:_0x190a39}=_0x317c72['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5ff95c,this['imageDimension']={'width':_0xb19ac6,'height':_0x190a39},this['imageId']=_0x552e68;})['catch'](_0x25c6d5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x25c6d5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x422a26,_0x1839dd){return this['_getImageAsFile'](_0x422a26)['then'](_0x2f1c20=>_0x92dbee['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1839dd['signal'],'file':_0x2f1c20,'onProgress':_0x4e6f1d=>{_0x4e6f1d&&_0x4e6f1d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4e6f1d['value']));}}))['then'](_0x297a7a=>{const {width:_0x2ad2e0,height:_0x1dedde}=_0x297a7a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x297a7a['cdnUrl'],this['imageDimension']={'width':_0x2ad2e0,'height':_0x1dedde},this['imageId']=_0x297a7a['uuid'],this['imageUploadProgress']=null;const _0x1531b3=_0x422a26['getAttribute']('src');this['_imageCache']['set'](_0x1531b3,{'id':_0x297a7a['uuid'],'url':_0x297a7a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb1aa96=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb1aa96['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1ed00e,_0x520a9b){_0x1ed00e['on']('apply',(_0x395605,_0x4f7f8f)=>{this['_replaceImage'](_0x520a9b,_0x4f7f8f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1ed00e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1ed00e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x46c08b,_0x4c41fa,_0x2faa73){const _0x213b26=this['_editor'],{width:_0x27ff5b,height:_0x43cdbe}=_0x3ce6e3(_0x4c41fa,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x183c3f,imageSources:_0x3368cc}=_0x2a18c6(_0x4c41fa,_0x27ff5b);_0x213b26['model']['change'](_0x15a81e=>{if('$graveyard'===_0x46c08b['root']['rootName']){_0x213b26['execute']('insertImage',{'imageType':_0x46c08b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x46c08b['getAttributes']()),'uploadcareImageId':_0x2faa73,'src':_0x183c3f,'sources':_0x3368cc,'width':_0x27ff5b,'height':_0x43cdbe}});const _0x1bb7c9=_0x46c08b['getChildren']();_0x46c08b=_0x213b26['model']['document']['selection']['getSelectedElement']();for(const _0x10377b of _0x1bb7c9)_0x15a81e['append'](_0x15a81e['cloneElement'](_0x10377b),_0x46c08b);}else _0x15a81e['setSelection'](_0x46c08b,'on'),_0x213b26['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x46c08b['getAttributes']()),'uploadcareImageId':_0x2faa73,'src':_0x183c3f,'sources':_0x3368cc,'width':_0x27ff5b,'height':_0x43cdbe},_0x46c08b);_0x15a81e['setSelection'](_0x46c08b,'on');});}async['_getImageAsFile'](_0x5bc417){const _0x4c28a3=_0xab5082['window'],_0x2480a5=_0xab5082['document']['location']['href'],_0x3f99e1=new _0x4c28a3['URL'](_0x5bc417['getAttribute']('src'),_0x2480a5);if('data:'===_0x3f99e1['protocol']){const _0x30ac3d=_0x3f99e1['href']['split'](','),_0x2cf642=_0x30ac3d[0x0]['match'](/:(.*?);/)[0x1],_0x15ce3e=_0x2cf642['split']('/')[0x1],_0x310499=_0x4c28a3['atob'](_0x30ac3d[_0x30ac3d['length']-0x1]);let _0xadf927=_0x310499['length'];const _0x5b4775=new _0x4c28a3['Uint8Array'](_0xadf927);for(;_0xadf927--;)_0x5b4775[_0xadf927]=_0x310499['charCodeAt'](_0xadf927);return new _0x4c28a3['File']([_0x5b4775],'image.'+_0x15ce3e,{'type':_0x2cf642});}const _0x4e16bc=_0x3f99e1['href']['split']('/'),_0x50b614=_0x4e16bc[_0x4e16bc['length']-0x1],_0x2c77c1=_0x50b614['split']('.')[0x1];return _0x4c28a3['fetch'](_0x3f99e1['href'])['then'](_0x1a0cc3=>_0x1a0cc3['clone']()['blob']())['then'](_0x35409d=>new _0x4c28a3['File']([_0x35409d],_0x50b614,{'type':'image/'+_0x2c77c1}));}}
23
+ import{global as _0x1bc5c5,ObservableMixin as _0x69f636}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1d2dbb}from'ckeditor5/src/ui.js';import _0xda9734 from'./uploadcareimageeditformview.js';import _0x3c2194 from'../../utils/uploadutils.js';import _0x5914eb from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x57b248,getImageDimension as _0x5b0581}from'../../utils/editingutils.js';import{isAncestor as _0x124b20}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x69f636(){constructor(_0x4c128a,_0x1c6c47,_0x2e5289){super(),this['_editor']=_0x4c128a,this['_dialog']=_0x1c6c47,this['_imageElement']=_0x2e5289,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 _0x1fd399=this['_imageElement'],_0x5e4398=_0x1fd399['getAttribute']('uploadcareImageId'),_0x5cfd4c=_0x1fd399['getAttribute']('src');if(_0x5e4398)await this['_loadImageInfo'](_0x5e4398,_0x5cfd4c);else{if(this['_imageCache']['has'](_0x5cfd4c)){const _0x5083df=this['_imageCache']['get'](_0x5cfd4c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5083df['url'],this['imageDimension']=_0x5083df['dimension'],this['imageId']=_0x5083df['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xcf684}=this['_editor'],t=_0xcf684['t'],_0x2fca39=new _0xda9734(_0xcf684,this['imageStatus'],this['_attributes']);_0x2fca39['bind']('status')['to'](this,'imageStatus'),_0x2fca39['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2fca39['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2fca39['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2fca39,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5914eb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2fca39,'position':_0x1d2dbb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2fca39['focus']();},'onHide':()=>{_0x2fca39['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x57d92f=>!_0x124b20(_0x57d92f,_0x2fca39['element'])}});}['_loadImageInfo'](_0x1bf47d,_0x20eb4e){return _0x3c2194['getInfo'](_0x1bf47d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3d6eeb=>{const {width:_0x572a9b,height:_0xe4568}=_0x3d6eeb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20eb4e,this['imageDimension']={'width':_0x572a9b,'height':_0xe4568},this['imageId']=_0x1bf47d;})['catch'](_0xaaf3ea=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xaaf3ea['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x583bd5,_0xf2fb20){return this['_getImageAsFile'](_0x583bd5)['then'](_0x223afb=>_0x3c2194['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xf2fb20['signal'],'file':_0x223afb,'onProgress':_0x537f0b=>{_0x537f0b&&_0x537f0b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x537f0b['value']));}}))['then'](_0x5aea35=>{const {width:_0x2e4608,height:_0x55a3cb}=_0x5aea35['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5aea35['cdnUrl'],this['imageDimension']={'width':_0x2e4608,'height':_0x55a3cb},this['imageId']=_0x5aea35['uuid'],this['imageUploadProgress']=null;const _0x3ddf44=_0x583bd5['getAttribute']('src');this['_imageCache']['set'](_0x3ddf44,{'id':_0x5aea35['uuid'],'url':_0x5aea35['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f1823=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1823['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x38f3a6,_0x2bd633){_0x38f3a6['on']('apply',(_0x124423,_0x4c63ce)=>{this['_replaceImage'](_0x2bd633,_0x4c63ce['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x38f3a6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x38f3a6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x282757,_0x6c7c49,_0xfdfeca){const _0xa41234=this['_editor'],{width:_0x174b5a,height:_0x17c874}=_0x5b0581(_0x6c7c49,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3aeaa7,imageSources:_0x457424}=_0x57b248(_0x6c7c49,_0x174b5a);_0xa41234['model']['change'](_0x342006=>{if('$graveyard'===_0x282757['root']['rootName']){_0xa41234['execute']('insertImage',{'imageType':_0x282757['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x282757['getAttributes']()),'uploadcareImageId':_0xfdfeca,'src':_0x3aeaa7,'sources':_0x457424,'width':_0x174b5a,'height':_0x17c874}});const _0x2b18ba=_0x282757['getChildren']();_0x282757=_0xa41234['model']['document']['selection']['getSelectedElement']();for(const _0x21ff15 of _0x2b18ba)_0x342006['append'](_0x342006['cloneElement'](_0x21ff15),_0x282757);}else _0x342006['setSelection'](_0x282757,'on'),_0xa41234['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x282757['getAttributes']()),'uploadcareImageId':_0xfdfeca,'src':_0x3aeaa7,'sources':_0x457424,'width':_0x174b5a,'height':_0x17c874},_0x282757);_0x342006['setSelection'](_0x282757,'on');});}async['_getImageAsFile'](_0x37dcf0){const _0x182f72=_0x1bc5c5['window'],_0x1a3f5f=_0x1bc5c5['document']['location']['href'],_0x1e9e36=new _0x182f72['URL'](_0x37dcf0['getAttribute']('src'),_0x1a3f5f);if('data:'===_0x1e9e36['protocol']){const _0x14576c=_0x1e9e36['href']['split'](','),_0xab9c85=_0x14576c[0x0]['match'](/:(.*?);/)[0x1],_0x2c3ca4=_0xab9c85['split']('/')[0x1],_0x385a80=_0x182f72['atob'](_0x14576c[_0x14576c['length']-0x1]);let _0x8dbf11=_0x385a80['length'];const _0x1d4729=new _0x182f72['Uint8Array'](_0x8dbf11);for(;_0x8dbf11--;)_0x1d4729[_0x8dbf11]=_0x385a80['charCodeAt'](_0x8dbf11);return new _0x182f72['File']([_0x1d4729],'image.'+_0x2c3ca4,{'type':_0xab9c85});}const _0x3d9440=_0x1e9e36['href']['split']('/'),_0x5bd824=_0x3d9440[_0x3d9440['length']-0x1],_0x20bd8f=_0x5bd824['split']('.')[0x1];return _0x182f72['fetch'](_0x1e9e36['href'])['then'](_0x24d528=>_0x24d528['clone']()['blob']())['then'](_0x156ff4=>new _0x182f72['File']([_0x156ff4],_0x5bd824,{'type':'image/'+_0x20bd8f}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1caf(_0x5788ca,_0xdb7f3f){const _0x30c20c=_0x30c2();return _0x1caf=function(_0x1cafd1,_0x2f7f24){_0x1cafd1=_0x1cafd1-0x1f4;let _0x4c9d51=_0x30c20c[_0x1cafd1];return _0x4c9d51;},_0x1caf(_0x5788ca,_0xdb7f3f);}(function(_0x527ce3,_0x558d39){const _0x26c8d3=_0x1caf,_0x2dfc01=_0x527ce3();while(!![]){try{const _0x2e81f5=-parseInt(_0x26c8d3(0x1f8))/0x1+-parseInt(_0x26c8d3(0x1fc))/0x2*(-parseInt(_0x26c8d3(0x1ff))/0x3)+parseInt(_0x26c8d3(0x1f9))/0x4+parseInt(_0x26c8d3(0x202))/0x5*(parseInt(_0x26c8d3(0x1f6))/0x6)+-parseInt(_0x26c8d3(0x1f7))/0x7*(-parseInt(_0x26c8d3(0x204))/0x8)+-parseInt(_0x26c8d3(0x203))/0x9+-parseInt(_0x26c8d3(0x1f4))/0xa;if(_0x2e81f5===_0x558d39)break;else _0x2dfc01['push'](_0x2dfc01['shift']());}catch(_0x3ce165){_0x2dfc01['push'](_0x2dfc01['shift']());}}}(_0x30c2,0x4cf5f));function _0x30c2(){const _0x22b540=['1790631PbFOuR','1760mvfdzG','imageSrc','1631170MZMpPs','bindTemplate','4668yrXGOH','2331YrTtfD','502498UHIfgu','963168huywfI','uc-cloud-image-editor','uc-light','2OqKlIg','ck-uploadcare-theme','setTemplate','1654323VPzvLh','set','image-edit','2020VsUrxf'];_0x30c2=function(){return _0x22b540;};return _0x30c2();}import{View as _0x348fa9}from'ckeditor5/src/ui.js';export default class tt extends _0x348fa9{constructor(_0x3f1813,_0x3fbdac){const _0x3d3959=_0x1caf;super(_0x3f1813);const _0x4f1e54=this[_0x3d3959(0x1f5)];this[_0x3d3959(0x200)](_0x3d3959(0x205),''),this[_0x3d3959(0x1fe)]({'tag':_0x3d3959(0x1fa),'attributes':{..._0x3fbdac,'class':[_0x3d3959(0x1fb),_0x3d3959(0x1fd)],'ctx-name':_0x3d3959(0x201),'cdn-url':_0x4f1e54['to'](_0x3d3959(0x205))}});}}
23
+ function _0x4243(){const _0x45557e=['uc-light','4058HIBmAu','591939FVvYMq','830tFDvzW','set','imageSrc','image-edit','12BibiyB','bindTemplate','2618OQHLYl','469ApUEVq','60vzppOR','20058aVUCXA','uc-cloud-image-editor','12081EyXsMv','428jrIYQF','setTemplate','ck-uploadcare-theme','26tYyxHU','53079RfjnLs','33632EPmJdt','2225619BRPojX'];_0x4243=function(){return _0x45557e;};return _0x4243();}(function(_0x37b565,_0x5ed1e5){const _0x29f2f3=_0x5798,_0x20a39e=_0x37b565();while(!![]){try{const _0x50889b=parseInt(_0x29f2f3(0xd2))/0x1*(parseInt(_0x29f2f3(0xcd))/0x2)+parseInt(_0x29f2f3(0xdf))/0x3*(-parseInt(_0x29f2f3(0xe0))/0x4)+-parseInt(_0x29f2f3(0xd4))/0x5*(parseInt(_0x29f2f3(0xdd))/0x6)+parseInt(_0x29f2f3(0xdb))/0x7*(parseInt(_0x29f2f3(0xcf))/0x8)+-parseInt(_0x29f2f3(0xd3))/0x9*(-parseInt(_0x29f2f3(0xdc))/0xa)+-parseInt(_0x29f2f3(0xd0))/0xb*(parseInt(_0x29f2f3(0xd8))/0xc)+-parseInt(_0x29f2f3(0xce))/0xd*(-parseInt(_0x29f2f3(0xda))/0xe);if(_0x50889b===_0x5ed1e5)break;else _0x20a39e['push'](_0x20a39e['shift']());}catch(_0x457b78){_0x20a39e['push'](_0x20a39e['shift']());}}}(_0x4243,0x4a51d));import{View as _0x1306a3}from'ckeditor5/src/ui.js';function _0x5798(_0x385e88,_0x161244){const _0x424351=_0x4243();return _0x5798=function(_0x579823,_0x32db9e){_0x579823=_0x579823-0xcb;let _0x516b42=_0x424351[_0x579823];return _0x516b42;},_0x5798(_0x385e88,_0x161244);}export default class tt extends _0x1306a3{constructor(_0x2f0571,_0x1ac6f7){const _0x2a6c32=_0x5798;super(_0x2f0571);const _0x1ed5c2=this[_0x2a6c32(0xd9)];this[_0x2a6c32(0xd5)](_0x2a6c32(0xd6),''),this[_0x2a6c32(0xcb)]({'tag':_0x2a6c32(0xde),'attributes':{..._0x1ac6f7,'class':[_0x2a6c32(0xd1),_0x2a6c32(0xcc)],'ctx-name':_0x2a6c32(0xd7),'cdn-url':_0x1ed5c2['to'](_0x2a6c32(0xd6))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x20d531,IconView as et,View as _0x4a4f24}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x4a4f24{constructor(_0x44eec6){super(_0x44eec6);const t=_0x44eec6['t'];this['set']('errorType',null);const _0x4d938e=new _0x20d531(_0x44eec6);_0x4d938e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4d938e['withText']=!0x0,_0x4d938e['class']='ck-button-action',_0x4d938e['on']('execute',()=>{this['fire']('retry');}),_0x4d938e['bind']('isVisible')['to'](this,'errorType',_0x14e36a=>'NotFound'!==_0x14e36a);const _0xbe4e62=new et();_0xbe4e62['content']=at,_0xbe4e62['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5633c8=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':[_0xbe4e62,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5633c8['to']('errorType',_0x10bfd3=>t('NotFound'!==_0x10bfd3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4d938e]},{'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'}]}]}]});}}
23
+ import{ButtonView as _0x5a9909,IconView as et,View as _0x411c40}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x411c40{constructor(_0x40d321){super(_0x40d321);const t=_0x40d321['t'];this['set']('errorType',null);const _0x388ad2=new _0x5a9909(_0x40d321);_0x388ad2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x388ad2['withText']=!0x0,_0x388ad2['class']='ck-button-action',_0x388ad2['on']('execute',()=>{this['fire']('retry');}),_0x388ad2['bind']('isVisible')['to'](this,'errorType',_0x174ee1=>'NotFound'!==_0x174ee1);const _0x545e46=new et();_0x545e46['content']=at,_0x545e46['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x437306=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':[_0x545e46,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x437306['to']('errorType',_0x2b896f=>t('NotFound'!==_0x2b896f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x388ad2]},{'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'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x545b9f,View as _0x267838}from'ckeditor5/src/ui.js';export default class ta extends _0x267838{constructor(_0x1d809f){super(_0x1d809f);const t=_0x1d809f['t'],_0x443495=this['bindTemplate'],_0x28069d=new _0x545b9f();_0x28069d['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':[_0x28069d,{'text':_0x443495['to']('imageUploadProgress',_0x9cbb2b=>t('Loading\x20image...')+'\x20('+(_0x9cbb2b||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'}]}]}]});}}
23
+ import{SpinnerView as _0x1b7c19,View as _0x42fcf6}from'ckeditor5/src/ui.js';export default class ta extends _0x42fcf6{constructor(_0x4a8717){super(_0x4a8717);const t=_0x4a8717['t'],_0x42b8d3=this['bindTemplate'],_0x43f98d=new _0x1b7c19();_0x43f98d['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':[_0x43f98d,{'text':_0x42b8d3['to']('imageUploadProgress',_0x3714ce=>t('Loading\x20image...')+'\x20('+(_0x3714ce||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'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52fce=_0x16d9;(function(_0x3883fb,_0x3279bb){const _0x4ad822=_0x16d9,_0x217adb=_0x3883fb();while(!![]){try{const _0x1cb68f=parseInt(_0x4ad822(0xce))/0x1*(-parseInt(_0x4ad822(0xe9))/0x2)+-parseInt(_0x4ad822(0xe3))/0x3+-parseInt(_0x4ad822(0xc2))/0x4+-parseInt(_0x4ad822(0xe8))/0x5+parseInt(_0x4ad822(0xc8))/0x6*(parseInt(_0x4ad822(0xc1))/0x7)+parseInt(_0x4ad822(0xbf))/0x8*(parseInt(_0x4ad822(0xe4))/0x9)+parseInt(_0x4ad822(0xde))/0xa;if(_0x1cb68f===_0x3279bb)break;else _0x217adb['push'](_0x217adb['shift']());}catch(_0x51047b){_0x217adb['push'](_0x217adb['shift']());}}}(_0xb8e2,0x3a7e5));import{View as _0x45d09f}from'ckeditor5/src/ui.js';import _0x3b9aa9 from'./uploadcareimageeditformloadingview.js';import _0x4935d5 from'./uploadcareimageeditformerrorview.js';function _0xb8e2(){const _0x1b7912=['ck-uploadcare-form','addedNodes','uploading','cancel','uc-cloud-image-editor','status','clear','render','8YUNqXY','element','14bovCXH','172176PLflYE','_focusableView','_waitForImageEditorComponent','_addErrorViewListeners','getFocusableElement','length','566178TeTlqg','_items','apply','createCollection','_addUploadcareImageEditorListeners','change:status','5eNXgbe','target','_editingView','div','disconnect','focus','nodeName','detail','observe','_errorView','add','filter','setTemplate','addMany','_setView','fire','5842190HXXrzE','ck-reset_all-excluded','error','ready','cdnUrl','88713jBOrMm','1649187znbbZy','set','once','retry','1366695izZPVw','148258wPzIda','toLowerCase','querySelector','_loadingView','addEventListener'];_0xb8e2=function(){return _0x1b7912;};return _0xb8e2();}import _0x351bf0 from'./uploadcareimageeditformeditingview.js';function _0x16d9(_0x26484e,_0xacdb49){const _0xb8e21e=_0xb8e2();return _0x16d9=function(_0x16d9ba,_0x58f4ed){_0x16d9ba=_0x16d9ba-0xb9;let _0x5574e4=_0xb8e21e[_0x16d9ba];return _0x5574e4;},_0x16d9(_0x26484e,_0xacdb49);}import _0x58c861 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x58c861{constructor(_0x17f6aa,_0x5d0d69,_0x55ee1e){const _0x113cb7=_0x16d9;super(_0x17f6aa),this[_0x113cb7(0xc9)]=this[_0x113cb7(0xcb)](),this[_0x113cb7(0xec)]=new _0x3b9aa9(_0x17f6aa),this[_0x113cb7(0xd7)]=new _0x4935d5(_0x17f6aa),this[_0x113cb7(0xd0)]=new _0x351bf0(_0x17f6aa,_0x55ee1e),this[_0x113cb7(0xc3)]=new _0x45d09f(_0x17f6aa),this[_0x113cb7(0xc3)][_0x113cb7(0xda)](this[_0x113cb7(0xc6)]()),this[_0x113cb7(0xe5)](_0x113cb7(0xbc),_0x5d0d69),this[_0x113cb7(0xda)]({'tag':_0x113cb7(0xd1),'attributes':{'class':['ck',_0x113cb7(0xdf),_0x113cb7(0xee)],'tabindex':'-1'},'children':this[_0x113cb7(0xc9)]}),this[_0x113cb7(0xdc)](),this[_0x113cb7(0xe6)](_0x113cb7(0xbe),()=>{const _0x25248f=_0x113cb7;this[_0x25248f(0xc4)](this[_0x25248f(0xc0)],_0x1e8c9c=>{const _0x92a2bc=_0x25248f;this[_0x92a2bc(0xcc)](_0x1e8c9c);});}),this['on'](_0x113cb7(0xcd),()=>{const _0x4f03c9=_0x113cb7;this[_0x4f03c9(0xdc)]();}),this[_0x113cb7(0xc5)]();}[_0x52fce(0xd3)](){const _0x2fd06a=_0x52fce;this[_0x2fd06a(0xc0)][_0x2fd06a(0xd3)]();}[_0x52fce(0xdc)](){const _0x184c84=_0x52fce;switch(this[_0x184c84(0xc9)][_0x184c84(0xbd)](),this[_0x184c84(0xbc)]){case _0x184c84(0xb9):this[_0x184c84(0xc9)][_0x184c84(0xd8)](this[_0x184c84(0xec)]);break;case _0x184c84(0xe0):this[_0x184c84(0xc9)][_0x184c84(0xd8)](this[_0x184c84(0xd7)]);break;case _0x184c84(0xe1):this[_0x184c84(0xc9)][_0x184c84(0xdb)]([this[_0x184c84(0xd0)],this[_0x184c84(0xc3)]]);}}[_0x52fce(0xc4)](_0x56bd03,_0x49bc67){const _0x2a4682=_0x52fce,_0x18d7eb=_0x2a4682(0xbb),_0x25438c=_0x56bd03[_0x2a4682(0xeb)](_0x18d7eb);if(_0x25438c)return _0x49bc67(_0x25438c);const _0x40e6a7=new MutationObserver(_0xabf09e=>{const _0x280c35=_0x2a4682,_0x5cf462=_0xabf09e[_0x280c35(0xd9)](_0x4ee2db=>_0x4ee2db[_0x280c35(0xcf)]===_0x56bd03&&_0x4ee2db[_0x280c35(0xef)][_0x280c35(0xc7)]>0x0&&_0x4ee2db[_0x280c35(0xef)][0x0][_0x280c35(0xd4)][_0x280c35(0xea)]()===_0x18d7eb);_0x5cf462[_0x280c35(0xc7)]&&(_0x40e6a7[_0x280c35(0xd2)](),_0x49bc67(_0x5cf462[0x0][_0x280c35(0xef)][0x0]));});_0x40e6a7[_0x2a4682(0xd6)](_0x56bd03,{'childList':!0x0,'subtree':!0x0});}[_0x52fce(0xcc)](_0x3b07e5){const _0x1bf2e8=_0x52fce;_0x3b07e5[_0x1bf2e8(0xed)](_0x1bf2e8(0xca),_0x513879=>{const _0x39c9df=_0x1bf2e8;this[_0x39c9df(0xdd)](_0x39c9df(0xca),{'imageSrc':_0x513879[_0x39c9df(0xd5)][_0x39c9df(0xe2)]});}),_0x3b07e5[_0x1bf2e8(0xed)](_0x1bf2e8(0xba),()=>{const _0x39cfe7=_0x1bf2e8;this[_0x39cfe7(0xdd)](_0x39cfe7(0xba));});}[_0x52fce(0xc5)](){const _0x1b864e=_0x52fce;this[_0x1b864e(0xd7)]['on'](_0x1b864e(0xe7),()=>{const _0x4d480c=_0x1b864e;this[_0x4d480c(0xdd)](_0x4d480c(0xe7));});}}
23
+ const _0x435d2e=_0x3707;(function(_0x4cc4ae,_0xc0f33b){const _0x3b6963=_0x3707,_0x2958da=_0x4cc4ae();while(!![]){try{const _0x1341c4=-parseInt(_0x3b6963(0xa0))/0x1*(-parseInt(_0x3b6963(0xae))/0x2)+parseInt(_0x3b6963(0xb7))/0x3+-parseInt(_0x3b6963(0xd4))/0x4+parseInt(_0x3b6963(0xc6))/0x5+-parseInt(_0x3b6963(0xc1))/0x6+parseInt(_0x3b6963(0xb0))/0x7*(-parseInt(_0x3b6963(0xbd))/0x8)+parseInt(_0x3b6963(0xc2))/0x9*(-parseInt(_0x3b6963(0xb3))/0xa);if(_0x1341c4===_0xc0f33b)break;else _0x2958da['push'](_0x2958da['shift']());}catch(_0x56eae2){_0x2958da['push'](_0x2958da['shift']());}}}(_0x4fca,0x9c0eb));function _0x3707(_0x151c61,_0x4f6e24){const _0x4fca27=_0x4fca();return _0x3707=function(_0x370708,_0x44221d){_0x370708=_0x370708-0x9e;let _0x23ff8b=_0x4fca27[_0x370708];return _0x23ff8b;},_0x3707(_0x151c61,_0x4f6e24);}function _0x4fca(){const _0x25060e=['_focusableView','1459580etLmLD','uc-cloud-image-editor','filter','77oOSWSb','clear','ck-uploadcare-form','toLowerCase','change:status','render','error','nodeName','addedNodes','_errorView','_addUploadcareImageEditorListeners','_setView','getFocusableElement','set','10196YAHWPu','ready','1995oQbJEp','observe','cancel','1104650gKKfYE','target','once','apply','2509608dbAnCh','addMany','uploading','_editingView','querySelector','focus','19016JzTKTs','createCollection','element','div','3350448dCFBxX','9lmbEDu','status','detail','_loadingView','5606710YnDigO','add','disconnect','_addErrorViewListeners','setTemplate','fire','addEventListener','retry','_items','_waitForImageEditorComponent','length','cdnUrl','ck-reset_all-excluded'];_0x4fca=function(){return _0x25060e;};return _0x4fca();}import{View as _0x3c7d74}from'ckeditor5/src/ui.js';import _0x5a31e7 from'./uploadcareimageeditformloadingview.js';import _0x17feaa from'./uploadcareimageeditformerrorview.js';import _0x48a262 from'./uploadcareimageeditformeditingview.js';import _0x370392 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x370392{constructor(_0x39520d,_0x30a7d6,_0x21afe8){const _0x19e3a3=_0x3707;super(_0x39520d),this[_0x19e3a3(0xce)]=this[_0x19e3a3(0xbe)](),this[_0x19e3a3(0xc5)]=new _0x5a31e7(_0x39520d),this[_0x19e3a3(0xa9)]=new _0x17feaa(_0x39520d),this[_0x19e3a3(0xba)]=new _0x48a262(_0x39520d,_0x21afe8),this[_0x19e3a3(0xd3)]=new _0x3c7d74(_0x39520d),this[_0x19e3a3(0xd3)][_0x19e3a3(0xca)](this[_0x19e3a3(0xac)]()),this[_0x19e3a3(0xad)](_0x19e3a3(0xc3),_0x30a7d6),this[_0x19e3a3(0xca)]({'tag':_0x19e3a3(0xc0),'attributes':{'class':['ck',_0x19e3a3(0xd2),_0x19e3a3(0xa2)],'tabindex':'-1'},'children':this[_0x19e3a3(0xce)]}),this[_0x19e3a3(0xab)](),this[_0x19e3a3(0xb5)](_0x19e3a3(0xa5),()=>{const _0x2844c7=_0x19e3a3;this[_0x2844c7(0xcf)](this[_0x2844c7(0xbf)],_0x3482f2=>{const _0x51f4a9=_0x2844c7;this[_0x51f4a9(0xaa)](_0x3482f2);});}),this['on'](_0x19e3a3(0xa4),()=>{const _0x37c776=_0x19e3a3;this[_0x37c776(0xab)]();}),this[_0x19e3a3(0xc9)]();}[_0x435d2e(0xbc)](){const _0x35c97b=_0x435d2e;this[_0x35c97b(0xbf)][_0x35c97b(0xbc)]();}[_0x435d2e(0xab)](){const _0x2354c3=_0x435d2e;switch(this[_0x2354c3(0xce)][_0x2354c3(0xa1)](),this[_0x2354c3(0xc3)]){case _0x2354c3(0xb9):this[_0x2354c3(0xce)][_0x2354c3(0xc7)](this[_0x2354c3(0xc5)]);break;case _0x2354c3(0xa6):this[_0x2354c3(0xce)][_0x2354c3(0xc7)](this[_0x2354c3(0xa9)]);break;case _0x2354c3(0xaf):this[_0x2354c3(0xce)][_0x2354c3(0xb8)]([this[_0x2354c3(0xba)],this[_0x2354c3(0xd3)]]);}}[_0x435d2e(0xcf)](_0x5e168f,_0x136ee9){const _0x4b5ef9=_0x435d2e,_0x4f87ae=_0x4b5ef9(0x9e),_0x236c39=_0x5e168f[_0x4b5ef9(0xbb)](_0x4f87ae);if(_0x236c39)return _0x136ee9(_0x236c39);const _0x2c8991=new MutationObserver(_0x5d07dd=>{const _0x1cd45c=_0x4b5ef9,_0x410ecc=_0x5d07dd[_0x1cd45c(0x9f)](_0x1f9fde=>_0x1f9fde[_0x1cd45c(0xb4)]===_0x5e168f&&_0x1f9fde[_0x1cd45c(0xa8)][_0x1cd45c(0xd0)]>0x0&&_0x1f9fde[_0x1cd45c(0xa8)][0x0][_0x1cd45c(0xa7)][_0x1cd45c(0xa3)]()===_0x4f87ae);_0x410ecc[_0x1cd45c(0xd0)]&&(_0x2c8991[_0x1cd45c(0xc8)](),_0x136ee9(_0x410ecc[0x0][_0x1cd45c(0xa8)][0x0]));});_0x2c8991[_0x4b5ef9(0xb1)](_0x5e168f,{'childList':!0x0,'subtree':!0x0});}[_0x435d2e(0xaa)](_0xb06451){const _0x48ea27=_0x435d2e;_0xb06451[_0x48ea27(0xcc)](_0x48ea27(0xb6),_0x4dc931=>{const _0x158b24=_0x48ea27;this[_0x158b24(0xcb)](_0x158b24(0xb6),{'imageSrc':_0x4dc931[_0x158b24(0xc4)][_0x158b24(0xd1)]});}),_0xb06451[_0x48ea27(0xcc)](_0x48ea27(0xb2),()=>{const _0x9c6e2=_0x48ea27;this[_0x9c6e2(0xcb)](_0x9c6e2(0xb2));});}[_0x435d2e(0xc9)](){const _0x4dbb0b=_0x435d2e;this[_0x4dbb0b(0xa9)]['on'](_0x4dbb0b(0xcd),()=>{const _0x120b3e=_0x4dbb0b;this[_0x120b3e(0xcb)](_0x120b3e(0xcd));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58ee08=_0x33ec;(function(_0x5cb87f,_0x4e54d6){const _0x11be14=_0x33ec,_0x3f1c64=_0x5cb87f();while(!![]){try{const _0x3af808=parseInt(_0x11be14(0xed))/0x1+-parseInt(_0x11be14(0xeb))/0x2+parseInt(_0x11be14(0xd4))/0x3*(parseInt(_0x11be14(0xd8))/0x4)+-parseInt(_0x11be14(0xd1))/0x5*(parseInt(_0x11be14(0xde))/0x6)+-parseInt(_0x11be14(0xe3))/0x7+parseInt(_0x11be14(0xe6))/0x8*(parseInt(_0x11be14(0xe5))/0x9)+parseInt(_0x11be14(0xdd))/0xa;if(_0x3af808===_0x4e54d6)break;else _0x3f1c64['push'](_0x3f1c64['shift']());}catch(_0x5e363c){_0x3f1c64['push'](_0x3f1c64['shift']());}}}(_0x46f9,0xe4df6));import{Command as _0x38cf6a}from'ckeditor5/src/core.js';function _0x33ec(_0x446a18,_0x3d1a05){const _0x46f9c=_0x46f9();return _0x33ec=function(_0x33ec91,_0x2b0ae){_0x33ec91=_0x33ec91-0xcf;let _0x258eb6=_0x46f9c[_0x33ec91];return _0x258eb6;},_0x33ec(_0x446a18,_0x3d1a05);}import{Dialog as _0x506549}from'ckeditor5/src/ui.js';import _0x2c4289 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x502cef}from'../utils/editingutils.js';function _0x46f9(){const _0x579759=['521981hCblBj','element','_isEditable','model','65020xeJhFs','uploadcare.allowExternalImagesEditing','config','31284cmdvsd','get','imageBlock','plugins','52cqjoJh','selection','document','refresh','set','9131680eHWatt','42OpUXsT','isActive','execute','requires','bind','2046065PgzXkA','getSelectedElement','369zfXWdU','314536oAIYyp','unbind','imageEditController','editor','isEnabled','3723850MDvBlP','imageInline'];_0x46f9=function(){return _0x579759;};return _0x46f9();}export default class J extends _0x38cf6a{static get[_0x58ee08(0xe1)](){return[_0x506549];}constructor(_0x536be3){const _0x3b85d9=_0x58ee08;super(_0x536be3),this[_0x3b85d9(0xe8)]=void 0x0,this[_0x3b85d9(0xcf)]=_0x502cef(_0x536be3[_0x3b85d9(0xd3)][_0x3b85d9(0xd5)](_0x3b85d9(0xd2))||[]),this[_0x3b85d9(0xdc)]({'isActive':!0x1});}[_0x58ee08(0xdb)](){const _0x27a1c8=_0x58ee08,_0xcda302=this[_0x27a1c8(0xe9)][_0x27a1c8(0xd0)][_0x27a1c8(0xda)][_0x27a1c8(0xd9)][_0x27a1c8(0xe4)]();this[_0x27a1c8(0xea)]=this[_0x27a1c8(0xcf)](_0xcda302);}[_0x58ee08(0xe0)](){const _0x53846b=_0x58ee08;this[_0x53846b(0xe8)]&&(this[_0x53846b(0xe7)](_0x53846b(0xdf)),this[_0x53846b(0xe8)]=void 0x0);const _0xdfce87=this[_0x53846b(0xe9)][_0x53846b(0xd0)][_0x53846b(0xda)][_0x53846b(0xd9)][_0x53846b(0xe4)]();_0xdfce87&&(_0xdfce87['is'](_0x53846b(0xee),_0x53846b(0xd6))||_0xdfce87['is'](_0x53846b(0xee),_0x53846b(0xec)))&&(this[_0x53846b(0xe8)]=new _0x2c4289(this[_0x53846b(0xe9)],this[_0x53846b(0xe9)][_0x53846b(0xd7)][_0x53846b(0xd5)](_0x506549),_0xdfce87),this[_0x53846b(0xe2)](_0x53846b(0xdf))['to'](this[_0x53846b(0xe8)],_0x53846b(0xdf)));}}
23
+ function _0x4a20(_0x2e1bfd,_0x532f6b){const _0x4ca3b8=_0x4ca3();return _0x4a20=function(_0x4a20a4,_0x4cc63d){_0x4a20a4=_0x4a20a4-0x1d3;let _0x5e774f=_0x4ca3b8[_0x4a20a4];return _0x5e774f;},_0x4a20(_0x2e1bfd,_0x532f6b);}const _0x2cc66e=_0x4a20;(function(_0x14c4c2,_0x3e72ca){const _0x2986bf=_0x4a20,_0x5c8956=_0x14c4c2();while(!![]){try{const _0xb2b3c1=parseInt(_0x2986bf(0x1df))/0x1*(parseInt(_0x2986bf(0x1d4))/0x2)+-parseInt(_0x2986bf(0x1f0))/0x3*(parseInt(_0x2986bf(0x1ef))/0x4)+-parseInt(_0x2986bf(0x1de))/0x5+parseInt(_0x2986bf(0x1e6))/0x6*(parseInt(_0x2986bf(0x1e8))/0x7)+parseInt(_0x2986bf(0x1f2))/0x8+-parseInt(_0x2986bf(0x1e3))/0x9+parseInt(_0x2986bf(0x1d9))/0xa;if(_0xb2b3c1===_0x3e72ca)break;else _0x5c8956['push'](_0x5c8956['shift']());}catch(_0x416f87){_0x5c8956['push'](_0x5c8956['shift']());}}}(_0x4ca3,0x9ceab));import{Command as _0x17acef}from'ckeditor5/src/core.js';import{Dialog as _0x47c77a}from'ckeditor5/src/ui.js';import _0x11c9cb from'./ui/uploadcareimageeditcontroller.js';function _0x4ca3(){const _0x1dd97d=['plugins','config','uploadcare.allowExternalImagesEditing','element','4342990RrcPvb','29qULtvN','refresh','document','isEnabled','10055061mgpBfs','set','requires','708JFuNyM','imageEditController','32893IMsPpe','imageInline','getSelectedElement','selection','model','_isEditable','execute','4348FJGObl','1173tgoxQP','editor','7085592xaWwIg','unbind','24968tbSTLP','bind','isActive','get','imageBlock','12513580PRzgeq'];_0x4ca3=function(){return _0x1dd97d;};return _0x4ca3();}import{createEditabilityChecker as _0x3113fe}from'../utils/editingutils.js';export default class J extends _0x17acef{static get[_0x2cc66e(0x1e5)](){return[_0x47c77a];}constructor(_0x1a3678){const _0x2b0861=_0x2cc66e;super(_0x1a3678),this[_0x2b0861(0x1e7)]=void 0x0,this[_0x2b0861(0x1ed)]=_0x3113fe(_0x1a3678[_0x2b0861(0x1db)][_0x2b0861(0x1d7)](_0x2b0861(0x1dc))||[]),this[_0x2b0861(0x1e4)]({'isActive':!0x1});}[_0x2cc66e(0x1e0)](){const _0x4a58b9=_0x2cc66e,_0x22a4ca=this[_0x4a58b9(0x1f1)][_0x4a58b9(0x1ec)][_0x4a58b9(0x1e1)][_0x4a58b9(0x1eb)][_0x4a58b9(0x1ea)]();this[_0x4a58b9(0x1e2)]=this[_0x4a58b9(0x1ed)](_0x22a4ca);}[_0x2cc66e(0x1ee)](){const _0x5a2106=_0x2cc66e;this[_0x5a2106(0x1e7)]&&(this[_0x5a2106(0x1d3)](_0x5a2106(0x1d6)),this[_0x5a2106(0x1e7)]=void 0x0);const _0x90e80d=this[_0x5a2106(0x1f1)][_0x5a2106(0x1ec)][_0x5a2106(0x1e1)][_0x5a2106(0x1eb)][_0x5a2106(0x1ea)]();_0x90e80d&&(_0x90e80d['is'](_0x5a2106(0x1dd),_0x5a2106(0x1d8))||_0x90e80d['is'](_0x5a2106(0x1dd),_0x5a2106(0x1e9)))&&(this[_0x5a2106(0x1e7)]=new _0x11c9cb(this[_0x5a2106(0x1f1)],this[_0x5a2106(0x1f1)][_0x5a2106(0x1da)][_0x5a2106(0x1d7)](_0x47c77a),_0x90e80d),this[_0x5a2106(0x1d5)](_0x5a2106(0x1d6))['to'](this[_0x5a2106(0x1e7)],_0x5a2106(0x1d6)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x415f15=_0x1dd7;(function(_0xb4838f,_0x48927e){const _0x254b36=_0x1dd7,_0x344922=_0xb4838f();while(!![]){try{const _0x2bea7f=parseInt(_0x254b36(0x75))/0x1+parseInt(_0x254b36(0x70))/0x2*(-parseInt(_0x254b36(0x77))/0x3)+parseInt(_0x254b36(0x7e))/0x4+-parseInt(_0x254b36(0x6d))/0x5+parseInt(_0x254b36(0x6c))/0x6+-parseInt(_0x254b36(0x6e))/0x7+-parseInt(_0x254b36(0x79))/0x8;if(_0x2bea7f===_0x48927e)break;else _0x344922['push'](_0x344922['shift']());}catch(_0x52f541){_0x344922['push'](_0x344922['shift']());}}}(_0x3fe1,0x19db0));import{Plugin as _0x4ee1b9}from'ckeditor5/src/core.js';function _0x1dd7(_0x7e81a7,_0xb20e75){const _0x3fe185=_0x3fe1();return _0x1dd7=function(_0x1dd70e,_0x24fc63){_0x1dd70e=_0x1dd70e-0x6b;let _0x285ac2=_0x3fe185[_0x1dd70e];return _0x285ac2;},_0x1dd7(_0x7e81a7,_0xb20e75);}import{Notification as _0x5bdc8d}from'ckeditor5/src/ui.js';import _0x179889 from'./uploadcareimageeditcommand.js';import _0x22118c from'./uploadcareimagereplacecommand.js';function _0x3fe1(){const _0x211fad=['isOfficialPlugin','isPremiumPlugin','ImageUtils','add','65335rwKOHu','pluginName','29535PCwFHW','uploadcareImageEdit','52992GbwQUV','UploadcareImageEditEditing','requires','init','uploadcareImageReplace','463116MljuWo','commands','1176972rWBrko','992640XescHM','50050yYsmui','ImageEditing','12OmHUdx'];_0x3fe1=function(){return _0x211fad;};return _0x3fe1();}import _0x1903fa from'../uploadcareediting.js';export default class m extends _0x4ee1b9{static get[_0x415f15(0x76)](){const _0x546a10=_0x415f15;return _0x546a10(0x7a);}static get[_0x415f15(0x7b)](){const _0x169e0f=_0x415f15;return[_0x1903fa,_0x5bdc8d,_0x169e0f(0x73),_0x169e0f(0x6f)];}static get[_0x415f15(0x71)](){return!0x0;}static get[_0x415f15(0x72)](){return!0x0;}[_0x415f15(0x7c)](){const _0x3291e4=_0x415f15,{editor:_0x466471}=this;_0x466471[_0x3291e4(0x6b)][_0x3291e4(0x74)](_0x3291e4(0x78),new _0x179889(_0x466471)),_0x466471[_0x3291e4(0x6b)][_0x3291e4(0x74)](_0x3291e4(0x7d),new _0x22118c(_0x466471));}}
23
+ const _0x32f22f=_0xc61b;(function(_0x3434e4,_0x5e2632){const _0x309042=_0xc61b,_0x157f73=_0x3434e4();while(!![]){try{const _0x1fbcb7=parseInt(_0x309042(0x1d2))/0x1+parseInt(_0x309042(0x1d3))/0x2*(parseInt(_0x309042(0x1df))/0x3)+parseInt(_0x309042(0x1dc))/0x4*(parseInt(_0x309042(0x1e2))/0x5)+-parseInt(_0x309042(0x1d1))/0x6*(-parseInt(_0x309042(0x1e0))/0x7)+parseInt(_0x309042(0x1db))/0x8*(parseInt(_0x309042(0x1e5))/0x9)+-parseInt(_0x309042(0x1d0))/0xa+parseInt(_0x309042(0x1d9))/0xb*(-parseInt(_0x309042(0x1dd))/0xc);if(_0x1fbcb7===_0x5e2632)break;else _0x157f73['push'](_0x157f73['shift']());}catch(_0x3db6e0){_0x157f73['push'](_0x157f73['shift']());}}}(_0xeaf2,0x8c01d));import{Plugin as _0x550024}from'ckeditor5/src/core.js';import{Notification as _0x200424}from'ckeditor5/src/ui.js';import _0x5ad061 from'./uploadcareimageeditcommand.js';import _0x4dfe00 from'./uploadcareimagereplacecommand.js';function _0xc61b(_0x5df027,_0x331680){const _0xeaf2a1=_0xeaf2();return _0xc61b=function(_0xc61be1,_0xbb3cc5){_0xc61be1=_0xc61be1-0x1ce;let _0xbe01e9=_0xeaf2a1[_0xc61be1];return _0xbe01e9;},_0xc61b(_0x5df027,_0x331680);}import _0x4bb17c from'../uploadcareediting.js';export default class m extends _0x550024{static get[_0x32f22f(0x1e1)](){const _0x10bc94=_0x32f22f;return _0x10bc94(0x1de);}static get[_0x32f22f(0x1e3)](){const _0x1d5aae=_0x32f22f;return[_0x4bb17c,_0x200424,_0x1d5aae(0x1d4),_0x1d5aae(0x1d6)];}static get[_0x32f22f(0x1d7)](){return!0x0;}static get[_0x32f22f(0x1da)](){return!0x0;}[_0x32f22f(0x1cf)](){const _0x17c661=_0x32f22f,{editor:_0x242c60}=this;_0x242c60[_0x17c661(0x1d8)][_0x17c661(0x1e4)](_0x17c661(0x1ce),new _0x5ad061(_0x242c60)),_0x242c60[_0x17c661(0x1d8)][_0x17c661(0x1e4)](_0x17c661(0x1d5),new _0x4dfe00(_0x242c60));}}function _0xeaf2(){const _0x2a4bb5=['uploadcareImageEdit','init','4246660ssiDOu','1566hOqnmY','478870XdoeIJ','7176FRXSHV','ImageUtils','uploadcareImageReplace','ImageEditing','isOfficialPlugin','commands','60566faqRaO','isPremiumPlugin','891976IZiCPU','2128276sDNDLD','6060sqCvcy','UploadcareImageEditEditing','933PacpFs','29351mkupqn','pluginName','5PLEmzy','requires','add','45IAipoJ'];_0xeaf2=function(){return _0x2a4bb5;};return _0xeaf2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x31e46d}from'ckeditor5/src/core.js';import{ButtonView as _0x4d280d}from'ckeditor5/src/ui.js';import{createElement as _0x378f12}from'ckeditor5/src/utils.js';import _0xe444e9 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x31e46d{constructor(){super(...arguments),this['_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 _0x474177=this['editor'];_0x474177['ui']['componentFactory']['add']('uploadcareImageEdit',_0x760b04=>{const _0x36192a=_0x474177['commands']['get']('uploadcareImageEdit'),_0x2f1db3=new _0x4d280d(_0x760b04),t=_0x760b04['t'];return _0x2f1db3['set']({'icon':_0xe444e9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2f1db3['bind']('isEnabled')['to'](_0x36192a),_0x2f1db3['bind']('isOn')['to'](_0x36192a,'isActive'),this['listenTo'](_0x2f1db3,'execute',()=>{_0x474177['execute']('uploadcareImageEdit'),_0x474177['editing']['view']['focus']();}),_0x2f1db3;}),this['_initConfig']();}['_initConfig'](){const _0x3e91c5=_0x378f12(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3e91c5),this['listenTo'](this['editor'],'destroy',()=>{_0x3e91c5['remove']();});}}
23
+ import{Plugin as _0x4eff1d}from'ckeditor5/src/core.js';import{ButtonView as _0x591cf9}from'ckeditor5/src/ui.js';import{createElement as _0x4c4bd9}from'ckeditor5/src/utils.js';import _0x3030fb from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x4eff1d{constructor(){super(...arguments),this['_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 _0x27c81f=this['editor'];_0x27c81f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x225ee9=>{const _0x13ff77=_0x27c81f['commands']['get']('uploadcareImageEdit'),_0x26379a=new _0x591cf9(_0x225ee9),t=_0x225ee9['t'];return _0x26379a['set']({'icon':_0x3030fb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x26379a['bind']('isEnabled')['to'](_0x13ff77),_0x26379a['bind']('isOn')['to'](_0x13ff77,'isActive'),this['listenTo'](_0x26379a,'execute',()=>{_0x27c81f['execute']('uploadcareImageEdit'),_0x27c81f['editing']['view']['focus']();}),_0x26379a;}),this['_initConfig']();}['_initConfig'](){const _0xa50033=_0x4c4bd9(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xa50033),this['listenTo'](this['editor'],'destroy',()=>{_0xa50033['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2df9dd=_0x3a89;function _0x3a89(_0x6b9ac5,_0x45ef95){const _0x3fad43=_0x3fad();return _0x3a89=function(_0x3a89c5,_0x84124e){_0x3a89c5=_0x3a89c5-0x117;let _0x3bf2ea=_0x3fad43[_0x3a89c5];return _0x3bf2ea;},_0x3a89(_0x6b9ac5,_0x45ef95);}(function(_0x578fdf,_0x1e519e){const _0xcabd8=_0x3a89,_0x3a3f5f=_0x578fdf();while(!![]){try{const _0x7828e7=-parseInt(_0xcabd8(0x12b))/0x1*(-parseInt(_0xcabd8(0x129))/0x2)+-parseInt(_0xcabd8(0x120))/0x3*(parseInt(_0xcabd8(0x12a))/0x4)+-parseInt(_0xcabd8(0x131))/0x5*(parseInt(_0xcabd8(0x130))/0x6)+-parseInt(_0xcabd8(0x119))/0x7+parseInt(_0xcabd8(0x117))/0x8*(-parseInt(_0xcabd8(0x121))/0x9)+parseInt(_0xcabd8(0x127))/0xa*(parseInt(_0xcabd8(0x11c))/0xb)+-parseInt(_0xcabd8(0x12f))/0xc*(-parseInt(_0xcabd8(0x12d))/0xd);if(_0x7828e7===_0x1e519e)break;else _0x3a3f5f['push'](_0x3a3f5f['shift']());}catch(_0x4ca470){_0x3a3f5f['push'](_0x3a3f5f['shift']());}}}(_0x3fad,0x712dc));import{Command as _0x5ec9f2}from'ckeditor5/src/core.js';export default class O extends _0x5ec9f2{[_0x2df9dd(0x128)](){const _0x23449c=_0x2df9dd,_0x484a26=this[_0x23449c(0x125)][_0x23449c(0x132)][_0x23449c(0x126)][_0x23449c(0x123)][_0x23449c(0x11f)]();this[_0x23449c(0x122)]=Boolean(_0x484a26&&(_0x484a26['is'](_0x23449c(0x11e),_0x23449c(0x12e))||_0x484a26['is'](_0x23449c(0x11e),_0x23449c(0x124))));}[_0x2df9dd(0x118)](_0x19c7ae){const _0x4f8477=_0x2df9dd,_0x3b28aa=this[_0x4f8477(0x125)][_0x4f8477(0x132)][_0x4f8477(0x126)][_0x4f8477(0x123)][_0x4f8477(0x11f)]();this[_0x4f8477(0x125)][_0x4f8477(0x132)][_0x4f8477(0x11d)](_0x5345b0=>{const _0x20fe83=_0x4f8477;_0x5345b0[_0x20fe83(0x11b)](_0x19c7ae,_0x3b28aa),_0x5345b0[_0x20fe83(0x12c)](_0x20fe83(0x11a),_0x3b28aa),_0x5345b0[_0x20fe83(0x12c)](_0x20fe83(0x133),_0x3b28aa);});}}function _0x3fad(){const _0x40b670=['210lwBxpe','refresh','92wswDrc','1674344XOdoIf','19541KwsXEb','removeAttribute','91xFUIyz','imageBlock','2750508BhgJgg','22704BRvgny','175QDaTzR','model','sizes','1628920fcAMOU','execute','3359391VYlVkZ','srcset','setAttributes','10791VsGhbA','change','element','getSelectedElement','6mInjta','27Hemzgy','isEnabled','selection','imageInline','editor','document'];_0x3fad=function(){return _0x40b670;};return _0x3fad();}
23
+ const _0x310376=_0x43bd;function _0x43bd(_0x26e7b1,_0xa0f003){const _0x1f977f=_0x1f97();return _0x43bd=function(_0x43bd37,_0x5702ac){_0x43bd37=_0x43bd37-0x156;let _0x438e8f=_0x1f977f[_0x43bd37];return _0x438e8f;},_0x43bd(_0x26e7b1,_0xa0f003);}(function(_0x5523a5,_0x3467a3){const _0x74c640=_0x43bd,_0x3296b0=_0x5523a5();while(!![]){try{const _0x543ca4=-parseInt(_0x74c640(0x157))/0x1*(parseInt(_0x74c640(0x16a))/0x2)+-parseInt(_0x74c640(0x162))/0x3+parseInt(_0x74c640(0x15b))/0x4+parseInt(_0x74c640(0x165))/0x5+parseInt(_0x74c640(0x163))/0x6+-parseInt(_0x74c640(0x164))/0x7*(parseInt(_0x74c640(0x15f))/0x8)+-parseInt(_0x74c640(0x16f))/0x9*(-parseInt(_0x74c640(0x16b))/0xa);if(_0x543ca4===_0x3467a3)break;else _0x3296b0['push'](_0x3296b0['shift']());}catch(_0x5748b6){_0x3296b0['push'](_0x3296b0['shift']());}}}(_0x1f97,0xecc68));import{Command as _0x319910}from'ckeditor5/src/core.js';function _0x1f97(){const _0x7ed4d5=['5392365VoDKxR','removeAttribute','imageInline','setAttributes','getSelectedElement','2HPOqzy','30HokmCt','model','element','sizes','7756839QRNWMS','change','1780691MhDACg','imageBlock','selection','srcset','615992wOuGbJ','document','isEnabled','editor','216hGmbzS','refresh','execute','2861070intREQ','6595272SZxrkF','314503ioRZOq'];_0x1f97=function(){return _0x7ed4d5;};return _0x1f97();}export default class O extends _0x319910{[_0x310376(0x160)](){const _0x5dd07b=_0x310376,_0x4b453c=this[_0x5dd07b(0x15e)][_0x5dd07b(0x16c)][_0x5dd07b(0x15c)][_0x5dd07b(0x159)][_0x5dd07b(0x169)]();this[_0x5dd07b(0x15d)]=Boolean(_0x4b453c&&(_0x4b453c['is'](_0x5dd07b(0x16d),_0x5dd07b(0x158))||_0x4b453c['is'](_0x5dd07b(0x16d),_0x5dd07b(0x167))));}[_0x310376(0x161)](_0x267d51){const _0x343eb2=_0x310376,_0x36e369=this[_0x343eb2(0x15e)][_0x343eb2(0x16c)][_0x343eb2(0x15c)][_0x343eb2(0x159)][_0x343eb2(0x169)]();this[_0x343eb2(0x15e)][_0x343eb2(0x16c)][_0x343eb2(0x156)](_0x150b43=>{const _0x27daee=_0x343eb2;_0x150b43[_0x27daee(0x168)](_0x267d51,_0x36e369),_0x150b43[_0x27daee(0x166)](_0x27daee(0x15a),_0x36e369),_0x150b43[_0x27daee(0x166)](_0x27daee(0x16e),_0x36e369);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x285b(){var _0x1dd5a5=['978036XpFECG','1bPwORY','1617955RInlQZ','4RwtkNr','8CfvWDH','99SOjgMx','1008798uESGXL','359506ijzJCV','UploadcareImageEdit','requires','isOfficialPlugin','570807urhPTI','pluginName','542350euqesM','isPremiumPlugin','1509732zbdUso'];_0x285b=function(){return _0x1dd5a5;};return _0x285b();}function _0xe9fb(_0x1f1f7e,_0x3f015c){var _0x285b90=_0x285b();return _0xe9fb=function(_0xe9fbcb,_0x485cc5){_0xe9fbcb=_0xe9fbcb-0xeb;var _0x43ebbe=_0x285b90[_0xe9fbcb];return _0x43ebbe;},_0xe9fb(_0x1f1f7e,_0x3f015c);}var _0x3f57fb=_0xe9fb;(function(_0x2149e8,_0x196624){var _0x27c22e=_0xe9fb,_0x17ba56=_0x2149e8();while(!![]){try{var _0x359380=-parseInt(_0x27c22e(0xf3))/0x1*(-parseInt(_0x27c22e(0xf9))/0x2)+parseInt(_0x27c22e(0xf2))/0x3+parseInt(_0x27c22e(0xf5))/0x4*(parseInt(_0x27c22e(0xf4))/0x5)+-parseInt(_0x27c22e(0xf1))/0x6+parseInt(_0x27c22e(0xf8))/0x7+-parseInt(_0x27c22e(0xf6))/0x8*(parseInt(_0x27c22e(0xed))/0x9)+parseInt(_0x27c22e(0xef))/0xa*(-parseInt(_0x27c22e(0xf7))/0xb);if(_0x359380===_0x196624)break;else _0x17ba56['push'](_0x17ba56['shift']());}catch(_0x46c79c){_0x17ba56['push'](_0x17ba56['shift']());}}}(_0x285b,0x29946));import{Plugin as _0x37a7cb}from'ckeditor5/src/core.js';import _0x1de8af from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x3454cf from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x37a7cb{static get[_0x3f57fb(0xee)](){var _0x24a89a=_0x3f57fb;return _0x24a89a(0xfa);}static get[_0x3f57fb(0xeb)](){return[_0x1de8af,_0x3454cf];}static get[_0x3f57fb(0xec)](){return!0x0;}static get[_0x3f57fb(0xf0)](){return!0x0;}}
23
+ var _0x44cf2b=_0x5e68;(function(_0x283a28,_0x37deee){var _0x522147=_0x5e68,_0x115597=_0x283a28();while(!![]){try{var _0x5942cb=parseInt(_0x522147(0x1c3))/0x1+parseInt(_0x522147(0x1bb))/0x2+-parseInt(_0x522147(0x1bd))/0x3+parseInt(_0x522147(0x1bf))/0x4+-parseInt(_0x522147(0x1b5))/0x5*(parseInt(_0x522147(0x1c2))/0x6)+-parseInt(_0x522147(0x1b6))/0x7*(-parseInt(_0x522147(0x1c0))/0x8)+parseInt(_0x522147(0x1b9))/0x9*(-parseInt(_0x522147(0x1be))/0xa);if(_0x5942cb===_0x37deee)break;else _0x115597['push'](_0x115597['shift']());}catch(_0x130400){_0x115597['push'](_0x115597['shift']());}}}(_0x4770,0xda2bd));import{Plugin as _0xe15afe}from'ckeditor5/src/core.js';import _0x49c994 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x115d6d from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5e68(_0x546d74,_0x53f410){var _0x477073=_0x4770();return _0x5e68=function(_0x5e6847,_0x272003){_0x5e6847=_0x5e6847-0x1b5;var _0x4cf81f=_0x477073[_0x5e6847];return _0x4cf81f;},_0x5e68(_0x546d74,_0x53f410);}export default class j extends _0xe15afe{static get[_0x44cf2b(0x1b8)](){var _0x15d441=_0x44cf2b;return _0x15d441(0x1bc);}static get[_0x44cf2b(0x1b7)](){return[_0x49c994,_0x115d6d];}static get[_0x44cf2b(0x1ba)](){return!0x0;}static get[_0x44cf2b(0x1c1)](){return!0x0;}}function _0x4770(){var _0x1890e2=['1239360nxsYDm','1290WeisyX','5205080oxiTKy','8WeqszB','isPremiumPlugin','6qQVccz','1678136mAvgdM','3278630wqhJGF','12423299KgkdRz','requires','pluginName','312525nbBzvB','isOfficialPlugin','3375674LUTtGO','UploadcareImageEdit'];_0x4770=function(){return _0x1890e2;};return _0x4770();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43ed40=_0x38a9;(function(_0x6df745,_0x9c9d39){const _0x44ab6e=_0x38a9,_0x2b35d2=_0x6df745();while(!![]){try{const _0x1d4b3e=-parseInt(_0x44ab6e(0xa8))/0x1*(-parseInt(_0x44ab6e(0x97))/0x2)+-parseInt(_0x44ab6e(0x88))/0x3*(parseInt(_0x44ab6e(0x71))/0x4)+parseInt(_0x44ab6e(0xad))/0x5*(parseInt(_0x44ab6e(0xb1))/0x6)+-parseInt(_0x44ab6e(0x81))/0x7*(parseInt(_0x44ab6e(0x87))/0x8)+parseInt(_0x44ab6e(0xc4))/0x9*(parseInt(_0x44ab6e(0x75))/0xa)+-parseInt(_0x44ab6e(0xbc))/0xb*(-parseInt(_0x44ab6e(0x91))/0xc)+parseInt(_0x44ab6e(0xb9))/0xd*(-parseInt(_0x44ab6e(0x7d))/0xe);if(_0x1d4b3e===_0x9c9d39)break;else _0x2b35d2['push'](_0x2b35d2['shift']());}catch(_0x255e44){_0x2b35d2['push'](_0x2b35d2['shift']());}}}(_0x1c0d,0x1a44e));import{Plugin as _0x97c0f0,icons as _0x590e25}from'ckeditor5/src/core.js';import{ButtonView as _0x2f3aa7,MenuBarMenuListItemButtonView as _0x38a7db}from'ckeditor5/src/ui.js';import _0x1db23c from'../theme/icons/dropbox.svg';import _0x2cac07 from'../theme/icons/facebook.svg';import _0x20aff7 from'../theme/icons/google-drive.svg';import _0x19e4dc from'../theme/icons/google-photos.svg';function _0x1c0d(){const _0xf13250=['assetManager','Uploadcare','_createToolbarButton','text','115210bdHEBB','shortText','invalid','uploadcareLicenseKeyExpired','trialLimit','push','_showLicenseError','init','OneDrive','isImageSelected','UploadcareUI','uploadcare','licenseKey','bind','Replace','type','uploadcareLicenseKeyUsageLimit','1vgHPsz','editor','_normalizeConfigSourceList','uploadcareLicenseKeyNotAllowed','expired','109130vPuoWN','destroy','plugins','isPremiumPlugin','36yvRWBW','URL','evaluationLimit','get','_getIntegrationKey','isOfficialPlugin','withText','commands','246220CmYqAC','execute','has','22ejpONJ','isEnabled','uploadcareLicenseKeyTrialLimit','domainLimit','Local','_createDropdownButtons','imageUpload','ImageInsertUI','179757oTMJHq','featureNotAllowed','url','36dkjheS','_createMenuBarButtons','afterInit','usageLimit','20nsDYlh','GPhotos','forEach','registerIntegration','entries','uploadcareLicenseKeyEvaluationLimit','tooltip','Dropbox','56vYWTiO','reduce','uploadcare.uploader.sourceList','pluginName','7RWfKre','GDrive','Facebook','label','icon','locale','244176KEUVev','39987noQXPi','uploadcareLicenseKeyDomainLimit','upload','Insert','uploadcareLicenseKeyValid','map','uploadcareLicenseKeyInvalid','_licenseKeyCheckInterval','_createButton','632004HfpBYZ','config'];_0x1c0d=function(){return _0xf13250;};return _0x1c0d();}import _0xc3122f from'../theme/icons/link.svg';import _0x554a7f from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x1236a8}from'./uploadcareconfig.js';import{getTranslation as _0xc8002d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x38a9(_0x44d07c,_0x5ab4d1){const _0x1c0d23=_0x1c0d();return _0x38a9=function(_0x38a9d4,_0x29a394){_0x38a9d4=_0x38a9d4-0x70;let _0x230776=_0x1c0d23[_0x38a9d4];return _0x230776;},_0x38a9(_0x44d07c,_0x5ab4d1);}export default class e extends _0x97c0f0{static get[_0x43ed40(0x80)](){const _0x2cc329=_0x43ed40;return _0x2cc329(0xa1);}static get[_0x43ed40(0xb6)](){return!0x0;}static get[_0x43ed40(0xb0)](){return!0x0;}[_0x43ed40(0x9e)](){const _0x49fc52=_0x43ed40;this[_0x49fc52(0xa3)]=this[_0x49fc52(0xa9)][_0x49fc52(0x92)][_0x49fc52(0xb4)](_0x49fc52(0xa3));const _0x4c074b=this[_0x49fc52(0xa9)];this[_0x49fc52(0x8f)]=setInterval(()=>{const _0xab3c8e=_0x49fc52;let _0x51c39d;for(const _0xe8810a in _0x4c074b){const _0xab8164=_0xe8810a,_0xf47ba5=_0x4c074b[_0xab8164];if(_0xab3c8e(0x8c)==_0xf47ba5||_0xab3c8e(0x8e)==_0xf47ba5||_0xab3c8e(0x9a)==_0xf47ba5||_0xab3c8e(0x89)==_0xf47ba5||_0xab3c8e(0xab)==_0xf47ba5||_0xab3c8e(0x7a)==_0xf47ba5||_0xab3c8e(0xbe)==_0xf47ba5||_0xab3c8e(0xa7)==_0xf47ba5){delete _0x4c074b[_0xab8164],_0x51c39d=_0xf47ba5,clearInterval(this[_0xab3c8e(0x8f)]),this[_0xab3c8e(0x8f)]=void 0x0;break;}}_0xab3c8e(0x8e)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0x99)),_0xab3c8e(0x9a)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0xac)),_0xab3c8e(0x89)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0xbf)),_0xab3c8e(0xab)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0xc5),_0xab3c8e(0x94)),_0xab3c8e(0x7a)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0xb3)),_0xab3c8e(0xbe)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0x9b)),_0xab3c8e(0xa7)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0x74));},0x3e8);}[_0x43ed40(0x73)](){const _0x3674c5=_0x43ed40,{editor:_0x2d07ed}=this,_0x2cbc17=_0x2d07ed[_0x3674c5(0xb8)][_0x3674c5(0xb4)](_0x3674c5(0xa2));if(!_0x2cbc17)return;const _0x255165=this[_0x3674c5(0xaa)](_0x2d07ed[_0x3674c5(0x92)][_0x3674c5(0xb4)](_0x3674c5(0x7f)))[_0x3674c5(0x7e)]((_0x38d288,_0x17caf5)=>{const _0x1ffd37=_0x3674c5,_0x459d96=this[_0x1ffd37(0xb5)](_0x17caf5[_0x1ffd37(0xa6)]);return _0x38d288[_0x459d96]||(_0x38d288[_0x459d96]=[]),_0x38d288[_0x459d96][_0x1ffd37(0x9c)](_0x17caf5),_0x38d288;},{});_0x2d07ed[_0x3674c5(0xaf)][_0x3674c5(0xbb)](_0x3674c5(0xc3))&&_0x2d07ed[_0x3674c5(0xb8)][_0x3674c5(0xb4)](_0x3674c5(0xa2))&&Object[_0x3674c5(0x79)](_0x255165)[_0x3674c5(0x77)](([_0x50b474,_0x409526])=>{const _0x4bb8cd=_0x3674c5;_0x2d07ed[_0x4bb8cd(0xaf)][_0x4bb8cd(0xb4)](_0x4bb8cd(0xc3))[_0x4bb8cd(0x78)]({'name':_0x50b474,'observable':()=>_0x2cbc17,'buttonViewCreator':()=>this[_0x4bb8cd(0x95)](_0x409526),'formViewCreator':()=>this[_0x4bb8cd(0xc1)](_0x409526),'menuBarButtonViewCreator':()=>this[_0x4bb8cd(0x72)](_0x409526),'override':_0x4bb8cd(0x93)!==_0x50b474});});}[_0x43ed40(0xae)](){const _0x305905=_0x43ed40;super[_0x305905(0xae)](),this[_0x305905(0x8f)]&&clearInterval(this[_0x305905(0x8f)]);}[_0x43ed40(0xaa)](_0x2c9b88){const _0x31abb0=_0x43ed40,{locale:_0x281a7d}=this[_0x31abb0(0xa9)];return _0x2c9b88[_0x31abb0(0x8d)](_0x2b0483=>{const _0x4ea740=_0x31abb0,_0x3cab95=_0xc8002d(_0x281a7d,_0x2b0483,_0x4ea740(0x8b));switch(_0x2b0483){case _0x1236a8[_0x4ea740(0xc0)]:return{'icon':_0x590e25[_0x4ea740(0xc2)],'type':_0x1236a8[_0x4ea740(0xc0)],..._0x3cab95};case _0x1236a8[_0x4ea740(0xb2)]:return{'icon':_0xc3122f,'type':_0x1236a8[_0x4ea740(0xb2)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x7c)]:return{'icon':_0x1db23c,'type':_0x1236a8[_0x4ea740(0x7c)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x83)]:return{'icon':_0x2cac07,'type':_0x1236a8[_0x4ea740(0x83)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x82)]:return{'icon':_0x20aff7,'type':_0x1236a8[_0x4ea740(0x82)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x76)]:return{'icon':_0x19e4dc,'type':_0x1236a8[_0x4ea740(0x76)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x9f)]:return{'icon':_0x554a7f,'type':_0x1236a8[_0x4ea740(0x9f)],..._0x3cab95};}});}[_0x43ed40(0xb5)](_0x572511){const _0x562b66=_0x43ed40;switch(_0x572511){case _0x1236a8[_0x562b66(0xc0)]:return _0x562b66(0x8a);case _0x1236a8[_0x562b66(0xb2)]:return _0x562b66(0x70);default:return _0x562b66(0x93);}}[_0x43ed40(0x90)](_0x43c25a,_0x1cb499){const _0x81461a=_0x43ed40,_0x44df19=this[_0x81461a(0xa9)],_0x2a2118=new _0x43c25a(_0x44df19[_0x81461a(0x86)]),_0x29732d=_0x44df19[_0x81461a(0xb8)][_0x81461a(0xb4)](_0x81461a(0xa2));return _0x2a2118[_0x81461a(0xa4)](_0x81461a(0xbd))['to'](_0x29732d),_0x2a2118['on'](_0x81461a(0xba),()=>{const _0x3f2635=_0x81461a;_0x29732d[_0x3f2635(0xba)](_0x1cb499);}),_0x2a2118;}[_0x43ed40(0x95)](_0x3163af){const _0x1c69c9=_0x43ed40,{locale:_0x1ac6b0}=this[_0x1c69c9(0xa9)],_0xa34648=this[_0x1c69c9(0xa9)][_0x1c69c9(0xaf)][_0x1c69c9(0xb4)](_0x1c69c9(0xc3)),_0x23535f=_0x3163af[0x0],_0x38cb99=this[_0x1c69c9(0x90)](_0x2f3aa7,_0x23535f[_0x1c69c9(0xa6)]);return _0x38cb99[_0x1c69c9(0x85)]=_0x23535f[_0x1c69c9(0x85)],_0x38cb99[_0x1c69c9(0xa4)](_0x1c69c9(0x84))['to'](_0xa34648,_0x1c69c9(0xa0),_0x4ac8e1=>_0xc8002d(_0x1ac6b0,_0x23535f[_0x1c69c9(0xa6)],_0x4ac8e1?_0x1c69c9(0xa5):_0x1c69c9(0x8b))[_0x1c69c9(0x96)]),_0x38cb99[_0x1c69c9(0x7b)]=!0x0,_0x38cb99;}[_0x43ed40(0xc1)](_0x1278ba){const _0x31ed51=_0x43ed40,{locale:_0x276c01}=this[_0x31ed51(0xa9)],_0x3b2fe3=this[_0x31ed51(0xa9)][_0x31ed51(0xaf)][_0x31ed51(0xb4)](_0x31ed51(0xc3));return _0x1278ba[_0x31ed51(0x8d)](_0x698f36=>{const _0x5acef0=_0x31ed51,_0x3b1dc0=this[_0x5acef0(0x90)](_0x2f3aa7,_0x698f36[_0x5acef0(0xa6)]);return _0x3b1dc0[_0x5acef0(0xb7)]=!0x0,_0x3b1dc0[_0x5acef0(0x85)]=_0x698f36[_0x5acef0(0x85)],_0x3b1dc0[_0x5acef0(0xa4)](_0x5acef0(0x84))['to'](_0x3b2fe3,_0x5acef0(0xa0),_0x19918=>_0xc8002d(_0x276c01,_0x698f36[_0x5acef0(0xa6)],_0x19918?_0x5acef0(0xa5):_0x5acef0(0x8b))[_0x5acef0(0x96)]),_0x3b1dc0;});}[_0x43ed40(0x72)](_0x1efdd6){const _0x131716=_0x43ed40;return _0x1efdd6[_0x131716(0x8d)](_0x57da39=>{const _0x30b67f=_0x131716,_0x3e9725=this[_0x30b67f(0x90)](_0x38a7db,_0x57da39[_0x30b67f(0xa6)]);return _0x3e9725[_0x30b67f(0x85)]=_0x57da39[_0x30b67f(0x85)],_0x3e9725[_0x30b67f(0x84)]=_0x57da39[_0x30b67f(0x98)],_0x3e9725;});}}
23
+ const _0x143da3=_0x22f7;(function(_0x5e7cb,_0x1444ce){const _0x2361b2=_0x22f7,_0x556e6f=_0x5e7cb();while(!![]){try{const _0xf0b158=-parseInt(_0x2361b2(0xac))/0x1+parseInt(_0x2361b2(0xdc))/0x2*(-parseInt(_0x2361b2(0xa8))/0x3)+-parseInt(_0x2361b2(0xe4))/0x4+-parseInt(_0x2361b2(0xd8))/0x5*(parseInt(_0x2361b2(0xf2))/0x6)+-parseInt(_0x2361b2(0xad))/0x7*(parseInt(_0x2361b2(0xee))/0x8)+parseInt(_0x2361b2(0xd4))/0x9+-parseInt(_0x2361b2(0xcd))/0xa*(-parseInt(_0x2361b2(0xd1))/0xb);if(_0xf0b158===_0x1444ce)break;else _0x556e6f['push'](_0x556e6f['shift']());}catch(_0x427d56){_0x556e6f['push'](_0x556e6f['shift']());}}}(_0x2259,0xd9e95));function _0x2259(){const _0x2c1046=['OneDrive','_showLicenseError','Insert','3399344yrRvAc','isOfficialPlugin','expired','icon','_createDropdownButtons','evaluationLimit','init','isPremiumPlugin','featureNotAllowed','type','10696Caaybz','map','uploadcare','URL','78OgdBDA','has','_licenseKeyCheckInterval','Facebook','GDrive','uploadcareLicenseKeyTrialLimit','_createMenuBarButtons','uploadcareLicenseKeyEvaluationLimit','shortText','204351BpNenk','bind','label','Local','994138MDAlGn','7714yIpzHb','Uploadcare','Replace','licenseKey','_createButton','pluginName','_createToolbarButton','reduce','plugins','url','trialLimit','entries','editor','_normalizeConfigSourceList','GPhotos','registerIntegration','domainLimit','config','uploadcareLicenseKeyDomainLimit','UploadcareUI','uploadcareLicenseKeyValid','get','text','commands','upload','uploadcareLicenseKeyInvalid','imageUpload','usageLimit','isImageSelected','push','uploadcare.uploader.sourceList','uploadcareLicenseKeyNotAllowed','10nNneIF','destroy','Dropbox','locale','52829205qYcHzQ','invalid','assetManager','14365440kYPJyD','execute','uploadcareLicenseKeyExpired','tooltip','396505iECIat','_getIntegrationKey','ImageInsertUI','forEach','34JmpAKl','isEnabled','withText','uploadcareLicenseKeyUsageLimit','afterInit'];_0x2259=function(){return _0x2c1046;};return _0x2259();}import{Plugin as _0x1fa5d3,icons as _0x4eada6}from'ckeditor5/src/core.js';import{ButtonView as _0x273cfe,MenuBarMenuListItemButtonView as _0x3d1e92}from'ckeditor5/src/ui.js';import _0x3f24d0 from'../theme/icons/dropbox.svg';import _0x4a9823 from'../theme/icons/facebook.svg';import _0x35b077 from'../theme/icons/google-drive.svg';import _0x5c539 from'../theme/icons/google-photos.svg';import _0xebb31d from'../theme/icons/link.svg';import _0x39ccd4 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x57ceac}from'./uploadcareconfig.js';import{getTranslation as _0x1be5e0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x22f7(_0xb83f97,_0x99d2fe){const _0x225978=_0x2259();return _0x22f7=function(_0x22f740,_0x5a68e7){_0x22f740=_0x22f740-0xa1;let _0x47c6cc=_0x225978[_0x22f740];return _0x47c6cc;},_0x22f7(_0xb83f97,_0x99d2fe);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x1fa5d3{static get[_0x143da3(0xb2)](){const _0x564f40=_0x143da3;return _0x564f40(0xc0);}static get[_0x143da3(0xe5)](){return!0x0;}static get[_0x143da3(0xeb)](){return!0x0;}[_0x143da3(0xea)](){const _0x1bad78=_0x143da3;this[_0x1bad78(0xb0)]=this[_0x1bad78(0xb9)][_0x1bad78(0xbe)][_0x1bad78(0xc2)](_0x1bad78(0xb0));const _0x273348=this[_0x1bad78(0xb9)];this[_0x1bad78(0xa1)]=setInterval(()=>{const _0x488506=_0x1bad78;let _0x1f653b;for(const _0x16a18d in _0x273348){const _0x28a312=_0x16a18d,_0x5dd825=_0x273348[_0x28a312];if(_0x488506(0xc1)==_0x5dd825||_0x488506(0xc6)==_0x5dd825||_0x488506(0xd6)==_0x5dd825||_0x488506(0xbf)==_0x5dd825||_0x488506(0xcc)==_0x5dd825||_0x488506(0xa6)==_0x5dd825||_0x488506(0xa4)==_0x5dd825||_0x488506(0xdf)==_0x5dd825){delete _0x273348[_0x28a312],_0x1f653b=_0x5dd825,clearInterval(this[_0x488506(0xa1)]),this[_0x488506(0xa1)]=void 0x0;break;}}_0x488506(0xc6)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xd2)),_0x488506(0xd6)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xe6)),_0x488506(0xbf)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xbd)),_0x488506(0xcc)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xec),_0x488506(0xae)),_0x488506(0xa6)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xe9)),_0x488506(0xa4)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xb7)),_0x488506(0xdf)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xc8));},0x3e8);}[_0x143da3(0xe0)](){const _0x4e71b5=_0x143da3,{editor:_0x55d7a4}=this,_0xa18740=_0x55d7a4[_0x4e71b5(0xc4)][_0x4e71b5(0xc2)](_0x4e71b5(0xf0));if(!_0xa18740)return;const _0x49ed17=this[_0x4e71b5(0xba)](_0x55d7a4[_0x4e71b5(0xbe)][_0x4e71b5(0xc2)](_0x4e71b5(0xcb)))[_0x4e71b5(0xb4)]((_0x1ed0d8,_0x48382a)=>{const _0x1e4740=_0x4e71b5,_0x4ed2a7=this[_0x1e4740(0xd9)](_0x48382a[_0x1e4740(0xed)]);return _0x1ed0d8[_0x4ed2a7]||(_0x1ed0d8[_0x4ed2a7]=[]),_0x1ed0d8[_0x4ed2a7][_0x1e4740(0xca)](_0x48382a),_0x1ed0d8;},{});_0x55d7a4[_0x4e71b5(0xb5)][_0x4e71b5(0xf3)](_0x4e71b5(0xda))&&_0x55d7a4[_0x4e71b5(0xc4)][_0x4e71b5(0xc2)](_0x4e71b5(0xf0))&&Object[_0x4e71b5(0xb8)](_0x49ed17)[_0x4e71b5(0xdb)](([_0x27a42a,_0x1214ff])=>{const _0x2221c1=_0x4e71b5;_0x55d7a4[_0x2221c1(0xb5)][_0x2221c1(0xc2)](_0x2221c1(0xda))[_0x2221c1(0xbc)]({'name':_0x27a42a,'observable':()=>_0xa18740,'buttonViewCreator':()=>this[_0x2221c1(0xb3)](_0x1214ff),'formViewCreator':()=>this[_0x2221c1(0xe8)](_0x1214ff),'menuBarButtonViewCreator':()=>this[_0x2221c1(0xa5)](_0x1214ff),'override':_0x2221c1(0xd3)!==_0x27a42a});});}[_0x143da3(0xce)](){const _0x4c22c1=_0x143da3;super[_0x4c22c1(0xce)](),this[_0x4c22c1(0xa1)]&&clearInterval(this[_0x4c22c1(0xa1)]);}[_0x143da3(0xba)](_0x42d222){const _0x52ae4b=_0x143da3,{locale:_0x5787ff}=this[_0x52ae4b(0xb9)];return _0x42d222[_0x52ae4b(0xef)](_0x39f58d=>{const _0x38f690=_0x52ae4b,_0x31e94a=_0x1be5e0(_0x5787ff,_0x39f58d,_0x38f690(0xe3));switch(_0x39f58d){case _0x57ceac[_0x38f690(0xab)]:return{'icon':_0x4eada6[_0x38f690(0xc7)],'type':_0x57ceac[_0x38f690(0xab)],..._0x31e94a};case _0x57ceac[_0x38f690(0xf1)]:return{'icon':_0xebb31d,'type':_0x57ceac[_0x38f690(0xf1)],..._0x31e94a};case _0x57ceac[_0x38f690(0xcf)]:return{'icon':_0x3f24d0,'type':_0x57ceac[_0x38f690(0xcf)],..._0x31e94a};case _0x57ceac[_0x38f690(0xa2)]:return{'icon':_0x4a9823,'type':_0x57ceac[_0x38f690(0xa2)],..._0x31e94a};case _0x57ceac[_0x38f690(0xa3)]:return{'icon':_0x35b077,'type':_0x57ceac[_0x38f690(0xa3)],..._0x31e94a};case _0x57ceac[_0x38f690(0xbb)]:return{'icon':_0x5c539,'type':_0x57ceac[_0x38f690(0xbb)],..._0x31e94a};case _0x57ceac[_0x38f690(0xe1)]:return{'icon':_0x39ccd4,'type':_0x57ceac[_0x38f690(0xe1)],..._0x31e94a};}});}[_0x143da3(0xd9)](_0xf231ff){const _0x1cdbfa=_0x143da3;switch(_0xf231ff){case _0x57ceac[_0x1cdbfa(0xab)]:return _0x1cdbfa(0xc5);case _0x57ceac[_0x1cdbfa(0xf1)]:return _0x1cdbfa(0xb6);default:return _0x1cdbfa(0xd3);}}[_0x143da3(0xb1)](_0x78e44a,_0x402f1d){const _0x42e8bf=_0x143da3,_0x37a259=this[_0x42e8bf(0xb9)],_0x19934b=new _0x78e44a(_0x37a259[_0x42e8bf(0xd0)]),_0xcfa02c=_0x37a259[_0x42e8bf(0xc4)][_0x42e8bf(0xc2)](_0x42e8bf(0xf0));return _0x19934b[_0x42e8bf(0xa9)](_0x42e8bf(0xdd))['to'](_0xcfa02c),_0x19934b['on'](_0x42e8bf(0xd5),()=>{const _0x25e5c1=_0x42e8bf;_0xcfa02c[_0x25e5c1(0xd5)](_0x402f1d);}),_0x19934b;}[_0x143da3(0xb3)](_0x34ae35){const _0x4082c5=_0x143da3,{locale:_0xa58f05}=this[_0x4082c5(0xb9)],_0x2fdbc8=this[_0x4082c5(0xb9)][_0x4082c5(0xb5)][_0x4082c5(0xc2)](_0x4082c5(0xda)),_0x414b63=_0x34ae35[0x0],_0x4024d2=this[_0x4082c5(0xb1)](_0x273cfe,_0x414b63[_0x4082c5(0xed)]);return _0x4024d2[_0x4082c5(0xe7)]=_0x414b63[_0x4082c5(0xe7)],_0x4024d2[_0x4082c5(0xa9)](_0x4082c5(0xaa))['to'](_0x2fdbc8,_0x4082c5(0xc9),_0x5caa9d=>_0x1be5e0(_0xa58f05,_0x414b63[_0x4082c5(0xed)],_0x5caa9d?_0x4082c5(0xaf):_0x4082c5(0xe3))[_0x4082c5(0xc3)]),_0x4024d2[_0x4082c5(0xd7)]=!0x0,_0x4024d2;}[_0x143da3(0xe8)](_0x5535ad){const _0x7b4f4e=_0x143da3,{locale:_0x5ef2db}=this[_0x7b4f4e(0xb9)],_0xc3d814=this[_0x7b4f4e(0xb9)][_0x7b4f4e(0xb5)][_0x7b4f4e(0xc2)](_0x7b4f4e(0xda));return _0x5535ad[_0x7b4f4e(0xef)](_0x55a7f2=>{const _0x247fb5=_0x7b4f4e,_0x29ba5f=this[_0x247fb5(0xb1)](_0x273cfe,_0x55a7f2[_0x247fb5(0xed)]);return _0x29ba5f[_0x247fb5(0xde)]=!0x0,_0x29ba5f[_0x247fb5(0xe7)]=_0x55a7f2[_0x247fb5(0xe7)],_0x29ba5f[_0x247fb5(0xa9)](_0x247fb5(0xaa))['to'](_0xc3d814,_0x247fb5(0xc9),_0xbadbaa=>_0x1be5e0(_0x5ef2db,_0x55a7f2[_0x247fb5(0xed)],_0xbadbaa?_0x247fb5(0xaf):_0x247fb5(0xe3))[_0x247fb5(0xc3)]),_0x29ba5f;});}[_0x143da3(0xa5)](_0x57d7f6){const _0x1d15be=_0x143da3;return _0x57d7f6[_0x1d15be(0xef)](_0x3aaf94=>{const _0x14282a=_0x1d15be,_0x5bdc45=this[_0x14282a(0xb1)](_0x3d1e92,_0x3aaf94[_0x14282a(0xed)]);return _0x5bdc45[_0x14282a(0xe7)]=_0x3aaf94[_0x14282a(0xe7)],_0x5bdc45[_0x14282a(0xaa)]=_0x3aaf94[_0x14282a(0xa7)],_0x5bdc45;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2c25ae}from'ckeditor5/src/core.js';import{FileRepository as _0x40f43d}from'ckeditor5/src/upload.js';import _0x21e7a6 from'./uploadcareediting.js';import _0x501efd from'./utils/uploadutils.js';import{getImageUrls as _0x426cb4}from'./utils/editingutils.js';export default class f extends _0x2c25ae{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x40f43d,_0x21e7a6];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b8244=this['editor'];if(!!!_0x3b8244['config']['get']('uploadcare'))return;_0x3b8244['plugins']['get'](_0x40f43d)['createUploadAdapter']=_0xefab54=>new E(_0xefab54,_0x3b8244),_0x3b8244['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x19011f,{imageElement:_0x88a36c,data:_0x2cdb4a})=>{_0x3b8244['model']['change'](_0x35554b=>{_0x35554b['setAttribute']('uploadcareImageId',_0x2cdb4a['uploadcareImageId'],_0x88a36c);});});}}class E{constructor(_0x179ae6,_0x4a6f6a){this['loader']=_0x179ae6,this['editor']=_0x4a6f6a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xc56c9e=this['editor']['config']['get']('uploadcare.pubkey'),_0x48a215=await this['loader']['file'];return _0x501efd['upload']({'file':_0x48a215,'publicKey':_0xc56c9e,'signal':this['controller']['signal'],'onProgress':_0x144949=>{_0x144949&&_0x144949['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x144949['value']);}})['then'](async _0x114896=>{const {imageFallbackUrl:_0x593f81,imageSources:_0x5f2ccc}=_0x426cb4(_0x114896['cdnUrl'],_0x114896['imageInfo']['width']);return{'uploadcareImageId':_0x114896['uuid'],'default':_0x593f81,'sources':_0x5f2ccc};})['catch'](()=>{const _0x373c1c=t('Cannot\x20upload\x20file:')+('\x20'+_0x48a215['name']+'.');return Promise['reject'](_0x373c1c);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x565d35}from'ckeditor5/src/core.js';import{FileRepository as _0x3f9268}from'ckeditor5/src/upload.js';import _0x2046c8 from'./uploadcareediting.js';import _0x55d267 from'./utils/uploadutils.js';import{getImageUrls as _0x52b32b}from'./utils/editingutils.js';export default class f extends _0x565d35{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3f9268,_0x2046c8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3bf9d1=this['editor'];if(!!!_0x3bf9d1['config']['get']('uploadcare'))return;_0x3bf9d1['plugins']['get'](_0x3f9268)['createUploadAdapter']=_0x2bce7f=>new E(_0x2bce7f,_0x3bf9d1),_0x3bf9d1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x359a6f,{imageElement:_0x39d603,data:_0x444f6a})=>{_0x3bf9d1['model']['change'](_0x2e2223=>{_0x2e2223['setAttribute']('uploadcareImageId',_0x444f6a['uploadcareImageId'],_0x39d603);});});}}class E{constructor(_0x2f343c,_0x7598aa){this['loader']=_0x2f343c,this['editor']=_0x7598aa,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x12c692=this['editor']['config']['get']('uploadcare.pubkey'),_0x2efa55=await this['loader']['file'];return _0x55d267['upload']({'file':_0x2efa55,'publicKey':_0x12c692,'signal':this['controller']['signal'],'onProgress':_0x10d406=>{_0x10d406&&_0x10d406['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x10d406['value']);}})['then'](async _0x5a954c=>{const {imageFallbackUrl:_0x1ad2d0,imageSources:_0x27e73f}=_0x52b32b(_0x5a954c['cdnUrl'],_0x5a954c['imageInfo']['width']);return{'uploadcareImageId':_0x5a954c['uuid'],'default':_0x1ad2d0,'sources':_0x27e73f};})['catch'](()=>{const _0x35b6c4=t('Cannot\x20upload\x20file:')+('\x20'+_0x2efa55['name']+'.');return Promise['reject'](_0x35b6c4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1980ef}from'../uploadcareconfig.js';export function getTranslation(_0x52cd50,_0x481aa5,_0x564a40){const t=_0x52cd50['t'],_0x261bee=_0x52cd50['t'];switch(_0x481aa5){case _0x1980ef['Local']:return{'text':_0x261bee('Insert'===_0x564a40?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x261bee('From\x20computer')};case _0x1980ef['URL']:return{'text':'Insert'===_0x564a40?_0x261bee('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x261bee('Via\x20URL')};case _0x1980ef['Dropbox']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1980ef['Facebook']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1980ef['GDrive']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1980ef['GPhotos']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1980ef['OneDrive']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x481aa5;}}
23
+ import{UploadcareSource as _0x353705}from'../uploadcareconfig.js';export function getTranslation(_0x1b0c5c,_0x54f21a,_0x6206d5){const t=_0x1b0c5c['t'],_0x1c12b0=_0x1b0c5c['t'];switch(_0x54f21a){case _0x353705['Local']:return{'text':_0x1c12b0('Insert'===_0x6206d5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1c12b0('From\x20computer')};case _0x353705['URL']:return{'text':'Insert'===_0x6206d5?_0x1c12b0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1c12b0('Via\x20URL')};case _0x353705['Dropbox']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x353705['Facebook']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x353705['GDrive']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x353705['GPhotos']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x353705['OneDrive']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x54f21a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xbfef(_0x1bb915,_0x39e725){var _0xf08672=_0xf086();return _0xbfef=function(_0xbfefd8,_0x59b6c7){_0xbfefd8=_0xbfefd8-0x19f;var _0x460581=_0xf08672[_0xbfefd8];return _0x460581;},_0xbfef(_0x1bb915,_0x39e725);}var _0x756b77=_0xbfef;(function(_0x57570d,_0x500374){var _0x36b72b=_0xbfef,_0x2ba4a6=_0x57570d();while(!![]){try{var _0x15aa70=parseInt(_0x36b72b(0x1a7))/0x1+-parseInt(_0x36b72b(0x1ab))/0x2*(-parseInt(_0x36b72b(0x1b0))/0x3)+parseInt(_0x36b72b(0x1a9))/0x4*(-parseInt(_0x36b72b(0x1a5))/0x5)+parseInt(_0x36b72b(0x1a2))/0x6*(-parseInt(_0x36b72b(0x1ad))/0x7)+parseInt(_0x36b72b(0x1af))/0x8+parseInt(_0x36b72b(0x1a1))/0x9*(parseInt(_0x36b72b(0x1aa))/0xa)+parseInt(_0x36b72b(0x1b1))/0xb;if(_0x15aa70===_0x500374)break;else _0x2ba4a6['push'](_0x2ba4a6['shift']());}catch(_0x326848){_0x2ba4a6['push'](_0x2ba4a6['shift']());}}}(_0xf086,0x3d43c));function _0xf086(){var _0x1e66c3=['427452ifKfeQ','getFocusableElement','div','20UOTPUs','bindTemplate','229244LrOvOz','focusTracker','260036NBUOzD','7640bMZYXT','27110ffJgQb','forwardCycle','49Qkqkma','fire','2633672FlGsGf','69WosHYJ','29656IZsWli','focusCycler','createCollection','true','1611RXtbJG'];_0xf086=function(){return _0x1e66c3;};return _0xf086();}import{FocusTracker as _0x4df6ed}from'ckeditor5/src/utils.js';import{View as _0x826c53,FocusCycler as _0x4460f4}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x826c53{constructor(_0x56ed10){var _0x246f3e=_0xbfef;super(_0x56ed10),this[_0x246f3e(0x1a8)]=new _0x4df6ed(),this[_0x246f3e(0x1b2)]=new _0x4460f4({'focusables':this[_0x246f3e(0x19f)](),'focusTracker':this[_0x246f3e(0x1a8)]});}[_0x756b77(0x1a3)](){var _0xc61158=_0x756b77;return{'tag':_0xc61158(0x1a4),'attributes':{'aria-hidden':_0xc61158(0x1a0),'tabindex':'0'},'on':{'focus':this[_0xc61158(0x1a6)]['to'](()=>{var _0x1b177c=_0xc61158;this[_0x1b177c(0x1b2)][_0x1b177c(0x1ae)](_0x1b177c(0x1ac));})}};}}
23
+ function _0x5b73(_0x21a706,_0x5d1b74){var _0x50ecc8=_0x50ec();return _0x5b73=function(_0x5b7396,_0x270860){_0x5b7396=_0x5b7396-0x1ae;var _0x2c3141=_0x50ecc8[_0x5b7396];return _0x2c3141;},_0x5b73(_0x21a706,_0x5d1b74);}var _0x3b2a03=_0x5b73;(function(_0x83cecf,_0x39d04e){var _0x53e7ef=_0x5b73,_0x42cf82=_0x83cecf();while(!![]){try{var _0xc86e9f=-parseInt(_0x53e7ef(0x1c0))/0x1*(-parseInt(_0x53e7ef(0x1bf))/0x2)+-parseInt(_0x53e7ef(0x1b6))/0x3+-parseInt(_0x53e7ef(0x1b7))/0x4+-parseInt(_0x53e7ef(0x1b3))/0x5*(-parseInt(_0x53e7ef(0x1bd))/0x6)+parseInt(_0x53e7ef(0x1af))/0x7+parseInt(_0x53e7ef(0x1b5))/0x8*(-parseInt(_0x53e7ef(0x1b1))/0x9)+parseInt(_0x53e7ef(0x1ae))/0xa*(parseInt(_0x53e7ef(0x1be))/0xb);if(_0xc86e9f===_0x39d04e)break;else _0x42cf82['push'](_0x42cf82['shift']());}catch(_0x138946){_0x42cf82['push'](_0x42cf82['shift']());}}}(_0x50ec,0xab5a1));import{FocusTracker as _0x3dab2d}from'ckeditor5/src/utils.js';import{View as _0x15ff5a,FocusCycler as _0xe29621}from'ckeditor5/src/ui.js';function _0x50ec(){var _0xd2df38=['getFocusableElement','5506896SPPRcj','4044753ZLDssv','5061248RYSjRG','fire','forwardCycle','focusCycler','div','focusTracker','5418OGLgIm','16379MVtdRU','1183478uhsnaK','2kXYBby','createCollection','10990bXxpXE','6399204NIVKfL','bindTemplate','18bMHVFK','true','5305baZOyr'];_0x50ec=function(){return _0xd2df38;};return _0x50ec();}import'../../theme/uploadcare-form.css';export default class q extends _0x15ff5a{constructor(_0x1714d9){var _0x45cbee=_0x5b73;super(_0x1714d9),this[_0x45cbee(0x1bc)]=new _0x3dab2d(),this[_0x45cbee(0x1ba)]=new _0xe29621({'focusables':this[_0x45cbee(0x1c1)](),'focusTracker':this[_0x45cbee(0x1bc)]});}[_0x3b2a03(0x1b4)](){var _0x2f3e48=_0x3b2a03;return{'tag':_0x2f3e48(0x1bb),'attributes':{'aria-hidden':_0x2f3e48(0x1b2),'tabindex':'0'},'on':{'focus':this[_0x2f3e48(0x1b0)]['to'](()=>{var _0xb087f8=_0x2f3e48;this[_0xb087f8(0x1ba)][_0xb087f8(0x1b8)](_0xb087f8(0x1b9));})}};}}