@ckeditor/ckeditor5-ai 44.1.0-alpha.1 → 44.1.0-alpha.3

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 (168) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  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/adapters/aiadapter.js +1 -1
  149. package/src/adapters/aitextadapter.js +1 -1
  150. package/src/adapters/awstextadapter.js +1 -1
  151. package/src/adapters/openaitextadapter.js +1 -1
  152. package/src/aiassistant.js +1 -1
  153. package/src/aiassistantediting.js +1 -1
  154. package/src/aiassistantui.js +1 -1
  155. package/src/index.js +1 -1
  156. package/src/legacyerrors.js +1 -1
  157. package/src/ui/aiassistantcontroller.js +2 -2
  158. package/src/ui/form/aiformcontentarea.js +1 -1
  159. package/src/ui/form/aiformerrorview.js +1 -1
  160. package/src/ui/form/aiformpromptview.js +1 -1
  161. package/src/ui/form/aiformtoolbarview.js +1 -1
  162. package/src/ui/form/aiformview.js +1 -1
  163. package/src/ui/form/aihistorylistitemview.js +1 -1
  164. package/src/ui/form/aihistorylistview.js +1 -1
  165. package/src/ui/form/prompthistory.js +1 -1
  166. package/src/ui/showaiassistantcommand.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x231a58=_0xd9d3;(function(_0x3e056a,_0x4d9343){const _0x545454=_0xd9d3,_0x188789=_0x3e056a();while(!![]){try{const _0x5c1d6e=-parseInt(_0x545454(0x24b))/0x1+-parseInt(_0x545454(0x24e))/0x2*(-parseInt(_0x545454(0x24a))/0x3)+parseInt(_0x545454(0x1f0))/0x4+parseInt(_0x545454(0x20b))/0x5*(parseInt(_0x545454(0x1ee))/0x6)+-parseInt(_0x545454(0x202))/0x7+-parseInt(_0x545454(0x242))/0x8+parseInt(_0x545454(0x1f5))/0x9;if(_0x5c1d6e===_0x4d9343)break;else _0x188789['push'](_0x188789['shift']());}catch(_0x29b74e){_0x188789['push'](_0x188789['shift']());}}}(_0x22c0,0x3dad7));import{Plugin as _0x10ee71}from'ckeditor5/src/core.js';import _0x41a389 from'./aiassistantui.js';import _0x514f2b from'./aiassistantediting.js';import{getTranslation as _0x362249}from'./utils/common-translations.js';function _0xd9d3(_0xebf5eb,_0x46df2a){const _0x22c08d=_0x22c0();return _0xd9d3=function(_0xd9d33e,_0x2589ef){_0xd9d33e=_0xd9d33e-0x1e5;let _0x412fae=_0x22c08d[_0xd9d33e];return _0x412fae;},_0xd9d3(_0xebf5eb,_0x46df2a);}function _0x22c0(){const _0x341f40=['define','editOrReview','push','German','requires','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','concat','Change\x20style','2479722aELTXg','Poetic','ai.aiAssistant.removeCommands','English','isOfficialPlugin','makeLonger','commands','config','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','48230YFyIuP','Summarize','ai.aiAssistant.extraCommandGroups','Make\x20longer','Spanish','translatePortuguese','continue','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','simplifyLanguage','Direct','Generate\x20from\x20selection','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','confident','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','filter','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','changeStyle','groupId','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','pluginName','translateEnglish','Translate','get','translate','improveWriting','Simplified\x20Chinese','isPremiumPlugin','summarize','Portuguese','Continue','Friendly','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','journalism','generate','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Translate\x20the\x20content\x20to\x20German\x20language.','locale','Edit\x20or\x20review','Change\x20tone','forEach','Hindi','find','casual','translateGerman','translateHindi','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','direct','poetic','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Casual','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Simplify\x20language','Professional','2051728quHxdl','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','includes','translateFrench','translateChinese','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','set','Business','15uRbbhY','394537fxHKAK','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Confident','107842cjhiVq','Improve\x20writing','makeShorter','friendly','changeTone','Translate\x20the\x20content\x20to\x20French\x20language.','legal','business','Journalism','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Legal','translateSpanish','Translate\x20the\x20content\x20to\x20English\x20language.','276LrcMEi','translateArabic','1082924pFbYAP','French','professional','ai.aiAssistant.commands','AIAssistant','2464452kKzVTC','Arabic','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Make\x20shorter'];_0x22c0=function(){return _0x341f40;};return _0x22c0();}import{normalizeCommandsConfig as _0xddddeb}from'./utils/normalizecommandsconfig.js';export default class r extends _0x10ee71{static get[_0x231a58(0x1fe)](){return[_0x41a389,_0x514f2b];}static get[_0x231a58(0x21e)](){const _0x2e67a8=_0x231a58;return _0x2e67a8(0x1f4);}static get[_0x231a58(0x206)](){return!0x0;}static get[_0x231a58(0x225)](){return!0x0;}constructor(_0x1c1c18){const _0x2ab9a9=_0x231a58;super(_0x1c1c18);const _0xfce867=_0x1c1c18[_0x2ab9a9(0x209)],_0xcf821c=_0x1c1c18[_0x2ab9a9(0x22f)];_0xfce867[_0x2ab9a9(0x1fa)](_0x2ab9a9(0x1f3),getDefaultCommands(_0xcf821c)),_0xfce867[_0x2ab9a9(0x1fa)](_0x2ab9a9(0x20d),[]),_0xfce867[_0x2ab9a9(0x1fa)](_0x2ab9a9(0x204),[]);const _0x37dcf7=_0xddddeb(_0xfce867[_0x2ab9a9(0x221)](_0x2ab9a9(0x1f3)),_0xcf821c),_0x526c0e=_0xfce867[_0x2ab9a9(0x221)](_0x2ab9a9(0x20d)),_0x3f1d4d=_0xfce867[_0x2ab9a9(0x221)](_0x2ab9a9(0x204));_0x526c0e[_0x2ab9a9(0x232)](_0x901e40=>{const _0x1a5fe4=_0x2ab9a9,_0x30e7b1=_0x37dcf7[_0x1a5fe4(0x234)](_0x33cee5=>_0x33cee5[_0x1a5fe4(0x21c)]===_0x901e40[_0x1a5fe4(0x21c)]);_0x30e7b1?_0x30e7b1[_0x1a5fe4(0x208)]=_0x30e7b1[_0x1a5fe4(0x208)][_0x1a5fe4(0x200)](_0x901e40[_0x1a5fe4(0x208)]):_0x37dcf7[_0x1a5fe4(0x1fc)](_0x901e40);}),_0x37dcf7[_0x2ab9a9(0x232)](_0x3e8bd8=>{const _0x3db167=_0x2ab9a9;_0x3e8bd8[_0x3db167(0x208)]=_0x3e8bd8[_0x3db167(0x208)][_0x3db167(0x219)](_0x4710c8=>!_0x3f1d4d[_0x3db167(0x244)](_0x4710c8['id']));}),_0xfce867[_0x2ab9a9(0x248)](_0x2ab9a9(0x1f3),_0x37dcf7);}}export function getDefaultCommands(_0x536ee3){const _0x4a8492=_0x231a58;return[{'groupId':_0x4a8492(0x1fb),'groupLabel':_0x362249(_0x536ee3,_0x4a8492(0x230)),'commands':[{'id':_0x4a8492(0x223),'label':_0x362249(_0x536ee3,_0x4a8492(0x24f)),'prompt':_0x4a8492(0x238)},{'id':_0x4a8492(0x250),'label':_0x362249(_0x536ee3,_0x4a8492(0x1f9)),'prompt':_0x4a8492(0x1ea)},{'id':_0x4a8492(0x207),'label':_0x362249(_0x536ee3,_0x4a8492(0x20e)),'prompt':_0x4a8492(0x22d)},{'id':_0x4a8492(0x213),'label':_0x362249(_0x536ee3,_0x4a8492(0x240)),'prompt':_0x4a8492(0x23f)}]},{'groupId':_0x4a8492(0x22c),'groupLabel':_0x362249(_0x536ee3,_0x4a8492(0x215)),'commands':[{'id':_0x4a8492(0x226),'label':_0x362249(_0x536ee3,_0x4a8492(0x20c)),'prompt':_0x4a8492(0x216)},{'id':_0x4a8492(0x211),'label':_0x362249(_0x536ee3,_0x4a8492(0x228)),'prompt':_0x4a8492(0x218)}]},{'groupId':_0x4a8492(0x1e5),'groupLabel':_0x362249(_0x536ee3,_0x4a8492(0x231)),'commands':[{'id':_0x4a8492(0x1f2),'label':_0x362249(_0x536ee3,_0x4a8492(0x241)),'prompt':_0x4a8492(0x243)},{'id':_0x4a8492(0x235),'label':_0x362249(_0x536ee3,_0x4a8492(0x23e)),'prompt':_0x4a8492(0x212)},{'id':_0x4a8492(0x23b),'label':_0x362249(_0x536ee3,_0x4a8492(0x214)),'prompt':_0x4a8492(0x23a)},{'id':_0x4a8492(0x217),'label':_0x362249(_0x536ee3,_0x4a8492(0x24d)),'prompt':_0x4a8492(0x21d)},{'id':_0x4a8492(0x251),'label':_0x362249(_0x536ee3,_0x4a8492(0x229)),'prompt':_0x4a8492(0x247)}]},{'groupId':_0x4a8492(0x21b),'groupLabel':_0x362249(_0x536ee3,_0x4a8492(0x201)),'commands':[{'id':_0x4a8492(0x1e8),'label':_0x362249(_0x536ee3,_0x4a8492(0x249)),'prompt':_0x4a8492(0x22a)},{'id':_0x4a8492(0x1e7),'label':_0x362249(_0x536ee3,_0x4a8492(0x1eb)),'prompt':_0x4a8492(0x20a)},{'id':_0x4a8492(0x22b),'label':_0x362249(_0x536ee3,_0x4a8492(0x1e9)),'prompt':_0x4a8492(0x23d)},{'id':_0x4a8492(0x23c),'label':_0x362249(_0x536ee3,_0x4a8492(0x203)),'prompt':_0x4a8492(0x239)}]},{'groupId':_0x4a8492(0x222),'groupLabel':_0x362249(_0x536ee3,_0x4a8492(0x220)),'commands':[{'id':_0x4a8492(0x21f),'label':_0x362249(_0x536ee3,_0x4a8492(0x205)),'prompt':_0x4a8492(0x1ed)},{'id':_0x4a8492(0x1ec),'label':_0x362249(_0x536ee3,_0x4a8492(0x20f)),'prompt':_0x4a8492(0x1f7)},{'id':_0x4a8492(0x210),'label':_0x362249(_0x536ee3,_0x4a8492(0x227)),'prompt':_0x4a8492(0x21a)},{'id':_0x4a8492(0x236),'label':_0x362249(_0x536ee3,_0x4a8492(0x1fd)),'prompt':_0x4a8492(0x22e)},{'id':_0x4a8492(0x245),'label':_0x362249(_0x536ee3,_0x4a8492(0x1f1)),'prompt':_0x4a8492(0x1e6)},{'id':_0x4a8492(0x246),'label':_0x362249(_0x536ee3,_0x4a8492(0x224)),'prompt':_0x4a8492(0x1ff)},{'id':_0x4a8492(0x237),'label':_0x362249(_0x536ee3,_0x4a8492(0x233)),'prompt':_0x4a8492(0x1f8)},{'id':_0x4a8492(0x1ef),'label':_0x362249(_0x536ee3,_0x4a8492(0x1f6)),'prompt':_0x4a8492(0x24c)}]}];}
23
+ function _0x4ea7(){const _0x34076d=['requires','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','changeTone','400700btKwDB','set','Legal','translateChinese','Poetic','Journalism','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','groupId','Business','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','makeShorter','locale','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','business','122mcQYIZ','get','translate','simplifyLanguage','1800Cckzhb','Casual','push','includes','poetic','Translate\x20the\x20content\x20to\x20Arabic\x20language.','summarize','translateHindi','Professional','concat','journalism','forEach','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','isPremiumPlugin','ai.aiAssistant.removeCommands','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Spanish','makeLonger','Change\x20tone','Make\x20longer','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translateGerman','Simplify\x20language','Arabic','859126LipbGX','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','ai.aiAssistant.commands','confident','changeStyle','23352SXPsCr','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','continue','direct','ai.aiAssistant.extraCommandGroups','Continue','config','Summarize','friendly','translateArabic','editOrReview','Friendly','Change\x20style','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Portuguese','casual','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','1845746ZYggdI','3100104sqBIHi','Improve\x20writing','Confident','Direct','filter','French','professional','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','improveWriting','find','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','generate','Edit\x20or\x20review','Simplified\x20Chinese','translateSpanish','German','translateEnglish','3489540BEfyPC','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','legal','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','commands','translatePortuguese','Hindi','26016JrtXds','AIAssistant','pluginName','Generate\x20from\x20selection','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','translateFrench','isOfficialPlugin','Translate','define','English','Make\x20shorter','Translate\x20the\x20content\x20to\x20French\x20language.','Translate\x20the\x20content\x20to\x20German\x20language.'];_0x4ea7=function(){return _0x34076d;};return _0x4ea7();}const _0x4efa11=_0x1e2a;(function(_0x3c2515,_0x450def){const _0x1db14f=_0x1e2a,_0xff2eda=_0x3c2515();while(!![]){try{const _0x134ad9=parseInt(_0x1db14f(0x17a))/0x1+-parseInt(_0x1db14f(0x15e))/0x2*(-parseInt(_0x1db14f(0x1ab))/0x3)+-parseInt(_0x1db14f(0x192))/0x4+parseInt(_0x1db14f(0x14f))/0x5+-parseInt(_0x1db14f(0x1a4))/0x6+-parseInt(_0x1db14f(0x191))/0x7+parseInt(_0x1db14f(0x17f))/0x8*(parseInt(_0x1db14f(0x162))/0x9);if(_0x134ad9===_0x450def)break;else _0xff2eda['push'](_0xff2eda['shift']());}catch(_0x159e4a){_0xff2eda['push'](_0xff2eda['shift']());}}}(_0x4ea7,0x69694));import{Plugin as _0x5159f9}from'ckeditor5/src/core.js';import _0x385459 from'./aiassistantui.js';import _0xa968ed from'./aiassistantediting.js';import{getTranslation as _0x3957dd}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x251efc}from'./utils/normalizecommandsconfig.js';export default class r extends _0x5159f9{static get[_0x4efa11(0x1b8)](){return[_0x385459,_0xa968ed];}static get[_0x4efa11(0x1ad)](){const _0x36c8f1=_0x4efa11;return _0x36c8f1(0x1ac);}static get[_0x4efa11(0x1b1)](){return!0x0;}static get[_0x4efa11(0x16f)](){return!0x0;}constructor(_0x4310e9){const _0x4ff804=_0x4efa11;super(_0x4310e9);const _0x17d1d0=_0x4310e9[_0x4ff804(0x185)],_0x4cc896=_0x4310e9[_0x4ff804(0x15b)];_0x17d1d0[_0x4ff804(0x1b3)](_0x4ff804(0x17c),getDefaultCommands(_0x4cc896)),_0x17d1d0[_0x4ff804(0x1b3)](_0x4ff804(0x183),[]),_0x17d1d0[_0x4ff804(0x1b3)](_0x4ff804(0x170),[]);const _0x3c52e0=_0x251efc(_0x17d1d0[_0x4ff804(0x15f)](_0x4ff804(0x17c)),_0x4cc896),_0x4dc4e7=_0x17d1d0[_0x4ff804(0x15f)](_0x4ff804(0x183)),_0x1f6f00=_0x17d1d0[_0x4ff804(0x15f)](_0x4ff804(0x170));_0x4dc4e7[_0x4ff804(0x16d)](_0x28b9bc=>{const _0x45070d=_0x4ff804,_0x18d3a8=_0x3c52e0[_0x45070d(0x19b)](_0x344cee=>_0x344cee[_0x45070d(0x157)]===_0x28b9bc[_0x45070d(0x157)]);_0x18d3a8?_0x18d3a8[_0x45070d(0x1a8)]=_0x18d3a8[_0x45070d(0x1a8)][_0x45070d(0x16b)](_0x28b9bc[_0x45070d(0x1a8)]):_0x3c52e0[_0x45070d(0x164)](_0x28b9bc);}),_0x3c52e0[_0x4ff804(0x16d)](_0x418e7c=>{const _0x5dc1fa=_0x4ff804;_0x418e7c[_0x5dc1fa(0x1a8)]=_0x418e7c[_0x5dc1fa(0x1a8)][_0x5dc1fa(0x196)](_0x3d3e1d=>!_0x1f6f00[_0x5dc1fa(0x165)](_0x3d3e1d['id']));}),_0x17d1d0[_0x4ff804(0x150)](_0x4ff804(0x17c),_0x3c52e0);}}function _0x1e2a(_0x217703,_0x51d993){const _0x4ea726=_0x4ea7();return _0x1e2a=function(_0x1e2a86,_0x4de74f){_0x1e2a86=_0x1e2a86-0x14f;let _0x4c593d=_0x4ea726[_0x1e2a86];return _0x4c593d;},_0x1e2a(_0x217703,_0x51d993);}export function getDefaultCommands(_0x19576e){const _0x2134d9=_0x4efa11;return[{'groupId':_0x2134d9(0x189),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x19f)),'commands':[{'id':_0x2134d9(0x19a),'label':_0x3957dd(_0x19576e,_0x2134d9(0x193)),'prompt':_0x2134d9(0x18d)},{'id':_0x2134d9(0x15a),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1b5)),'prompt':_0x2134d9(0x17b)},{'id':_0x2134d9(0x173),'label':_0x3957dd(_0x19576e,_0x2134d9(0x175)),'prompt':_0x2134d9(0x16e)},{'id':_0x2134d9(0x161),'label':_0x3957dd(_0x19576e,_0x2134d9(0x178)),'prompt':_0x2134d9(0x176)}]},{'groupId':_0x2134d9(0x19e),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x1ae)),'commands':[{'id':_0x2134d9(0x168),'label':_0x3957dd(_0x19576e,_0x2134d9(0x186)),'prompt':_0x2134d9(0x19c)},{'id':_0x2134d9(0x181),'label':_0x3957dd(_0x19576e,_0x2134d9(0x184)),'prompt':_0x2134d9(0x1a5)}]},{'groupId':_0x2134d9(0x1bb),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x174)),'commands':[{'id':_0x2134d9(0x198),'label':_0x3957dd(_0x19576e,_0x2134d9(0x16a)),'prompt':_0x2134d9(0x1af)},{'id':_0x2134d9(0x18f),'label':_0x3957dd(_0x19576e,_0x2134d9(0x163)),'prompt':_0x2134d9(0x159)},{'id':_0x2134d9(0x182),'label':_0x3957dd(_0x19576e,_0x2134d9(0x195)),'prompt':_0x2134d9(0x171)},{'id':_0x2134d9(0x17d),'label':_0x3957dd(_0x19576e,_0x2134d9(0x194)),'prompt':_0x2134d9(0x156)},{'id':_0x2134d9(0x187),'label':_0x3957dd(_0x19576e,_0x2134d9(0x18a)),'prompt':_0x2134d9(0x15c)}]},{'groupId':_0x2134d9(0x17e),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x18b)),'commands':[{'id':_0x2134d9(0x15d),'label':_0x3957dd(_0x19576e,_0x2134d9(0x158)),'prompt':_0x2134d9(0x199)},{'id':_0x2134d9(0x1a6),'label':_0x3957dd(_0x19576e,_0x2134d9(0x151)),'prompt':_0x2134d9(0x18c)},{'id':_0x2134d9(0x16c),'label':_0x3957dd(_0x19576e,_0x2134d9(0x154)),'prompt':_0x2134d9(0x1a7)},{'id':_0x2134d9(0x166),'label':_0x3957dd(_0x19576e,_0x2134d9(0x153)),'prompt':_0x2134d9(0x19d)}]},{'groupId':_0x2134d9(0x160),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x1b2)),'commands':[{'id':_0x2134d9(0x1a3),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1b4)),'prompt':_0x2134d9(0x1ba)},{'id':_0x2134d9(0x1a1),'label':_0x3957dd(_0x19576e,_0x2134d9(0x172)),'prompt':_0x2134d9(0x155)},{'id':_0x2134d9(0x1a9),'label':_0x3957dd(_0x19576e,_0x2134d9(0x18e)),'prompt':_0x2134d9(0x190)},{'id':_0x2134d9(0x177),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1a2)),'prompt':_0x2134d9(0x1b7)},{'id':_0x2134d9(0x1b0),'label':_0x3957dd(_0x19576e,_0x2134d9(0x197)),'prompt':_0x2134d9(0x1b6)},{'id':_0x2134d9(0x152),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1a0)),'prompt':_0x2134d9(0x180)},{'id':_0x2134d9(0x169),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1aa)),'prompt':_0x2134d9(0x1b9)},{'id':_0x2134d9(0x188),'label':_0x3957dd(_0x19576e,_0x2134d9(0x179)),'prompt':_0x2134d9(0x167)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12af3e=_0x418a;function _0x5191(){const _0x255190=['setSelection','toModel','1630416vbvaOO','117667pMyAlN','addClass','fromCharCode','ai-ui','data','getLastMatchingPosition','21873408tBgxEM','getRange','canEditAt','insertContentBelow','document','get','1775064MWzGKT','start','length','ck-fake-ai-selection','href','createRange','isOfficialPlugin','processor','from','conversion','42sPEFVk','62CXFDfE','afterInit','markerToHighlight','pluginName','hideFakeVisualSelection','init','markers','updateMarker','179575EgKfJL','schema','AIAssistantEditing','ck-fake-ai-selection_collapsed','createPositionAfter','markerRange','33210FSCuzK','172PNhLEJ','editingDowncast','showFakeVisualSelection','29112btGIoD','pop','isPremiumPlugin','createUIElement','markerToElement','editor','has','model','join','insertContent','toView','end','for','removeMarker','change','getSelectedBlocks','isContent','isCollapsed','1360cwsoJi','addMarker','405dMsxAo','getFirstRange','createSelection','getLastPosition','map','push','isAtEnd','ck-ai-assistant-ui_theme','span','selection','ai.useTheme','config'];_0x5191=function(){return _0x255190;};return _0x5191();}(function(_0x571255,_0x2db881){const _0x1a99f3=_0x418a,_0xd0aa58=_0x571255();while(!![]){try{const _0x4fa80f=parseInt(_0x1a99f3(0x143))/0x1*(parseInt(_0x1a99f3(0x181))/0x2)+-parseInt(_0x1a99f3(0x169))/0x3+parseInt(_0x1a99f3(0x144))/0x4*(-parseInt(_0x1a99f3(0x13d))/0x5)+parseInt(_0x1a99f3(0x176))/0x6*(parseInt(_0x1a99f3(0x180))/0x7)+-parseInt(_0x1a99f3(0x147))/0x8*(parseInt(_0x1a99f3(0x15b))/0x9)+-parseInt(_0x1a99f3(0x159))/0xa*(parseInt(_0x1a99f3(0x16a))/0xb)+parseInt(_0x1a99f3(0x170))/0xc;if(_0x4fa80f===_0x2db881)break;else _0xd0aa58['push'](_0xd0aa58['shift']());}catch(_0x3d17ba){_0xd0aa58['push'](_0xd0aa58['shift']());}}}(_0x5191,0xe0da2));import{uid as _0x3b5065}from'ckeditor5/src/utils.js';function _0x418a(_0x5bbe90,_0x283e58){const _0x519194=_0x5191();return _0x418a=function(_0x418a06,_0x4e7588){_0x418a06=_0x418a06-0x13d;let _0x56ca7a=_0x519194[_0x418a06];return _0x56ca7a;},_0x418a(_0x5bbe90,_0x283e58);}import{Plugin as _0x244721}from'ckeditor5/src/core.js';const u=_0x12af3e(0x16d);export default class a extends _0x244721{static get[_0x12af3e(0x184)](){const _0x1d25a0=_0x12af3e;return _0x1d25a0(0x13f);}static get[_0x12af3e(0x17c)](){return!0x0;}static get[_0x12af3e(0x149)](){return!0x0;}[_0x12af3e(0x186)](){const _0x8613=_0x12af3e,{editor:_0x3917fe}=this,_0x496f2c=[_0x8613(0x179)];_0x3917fe[_0x8613(0x166)][_0x8613(0x175)](_0x8613(0x165))&&_0x496f2c[_0x8613(0x160)](_0x8613(0x162)),_0x3917fe[_0x8613(0x17f)][_0x8613(0x153)](_0x8613(0x145))[_0x8613(0x183)]({'model':u,'view':{'classes':_0x496f2c,'priority':0xc}}),_0x3917fe[_0x8613(0x17f)][_0x8613(0x153)](_0x8613(0x145))[_0x8613(0x14b)]({'model':u,'view':(_0x1e5ecc,{writer:_0x19af73})=>{const _0x29d130=_0x8613;if(!_0x1e5ecc[_0x29d130(0x142)][_0x29d130(0x158)])return null;const _0xf9aeda=_0x19af73[_0x29d130(0x14a)](_0x29d130(0x163));return _0x19af73[_0x29d130(0x16b)]([_0x29d130(0x179),_0x29d130(0x140)],_0xf9aeda),_0xf9aeda;}});}[_0x12af3e(0x182)](){!async function(_0x1e2440){const _0x43b693=_0x19e87d([0x61,0x58,0x32,0x72,0x54,0x4a,0x34,0x47,0x30,0x36,0x71,0x64,0x73,0x4c,0x77,0x37,0x38,0x6d,0x6c,0x65,0x66,0x45,0x74,0x75,0x31,0x43,0x6b,0x62,0x39,0x35,0x50,0x44,0x46,0x6e,0x79,0x55,0x42,0x6f,0x51,0x4f,0x67,0x78,0x59,0x76,0x70,0x33,0x48,0x4b,0x63,0x57,0x68,0x7a,0x5a,0x41,0x6a,0x53,0x69,0x52,0x4e,0x56,0x49,0x4d]),_0x3f3d93=0x73f48f83,_0x82adad=0x73f3d6fb^_0x3f3d93,_0x15d766=window[_0x19e87d([0x44,0x61,0x74,0x65])][_0x19e87d([0x6e,0x6f,0x77])](),_0x541020=_0x1e2440[_0x19e87d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x16e40e=new window[(_0x19e87d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d6f18=>{_0x541020[_0x19e87d([0x6f,0x6e,0x63,0x65])](_0x19e87d([0x72,0x65,0x61,0x64,0x79]),_0x4d6f18);}),_0x22b9cb={[_0x19e87d([0x6b,0x74,0x79])]:_0x19e87d([0x45,0x43]),[_0x19e87d([0x75,0x73,0x65])]:_0x19e87d([0x73,0x69,0x67]),[_0x19e87d([0x63,0x72,0x76])]:_0x19e87d([0x50,0x2d,0x32,0x35,0x36]),[_0x19e87d([0x78])]:_0x19e87d([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]),[_0x19e87d([0x79])]:_0x19e87d([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]),[_0x19e87d([0x61,0x6c,0x67])]:_0x19e87d([0x45,0x53,0x32,0x35,0x36])},_0x10740e=_0x541020[_0x19e87d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x19e87d([0x67,0x65,0x74])](_0x19e87d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x96bb9d(){let _0x3d2742,_0x1e2c66=null,_0x40ac8b=null;try{if(_0x10740e==_0x19e87d([0x47,0x50,0x4c]))return _0x19e87d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d2742=_0x210282(),!_0x3d2742)return _0x19e87d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d2742[_0x19e87d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x40ac8b=_0x51a784(_0x3d2742[_0x19e87d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d2742[_0x19e87d([0x6a,0x74,0x69])])),await _0x204a1e()?_0xbfbf7e()?_0x3bd19a()?_0x19e87d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cdb3c()?(_0x3d2742[_0x19e87d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19e87d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e2c66=_0x5299b8(_0x19e87d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d2742[_0x19e87d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19e87d([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e2c66=_0x5299b8(_0x19e87d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d2742[_0x19e87d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19e87d([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x1e2c66=_0x5299b8(_0x19e87d([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x588e2f()):_0x19e87d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x19e87d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x19e87d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x59ac80){return _0x19e87d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3bd19a(){const _0x8bf8e7=[_0x19e87d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x19e87d([0x74,0x72,0x69,0x61,0x6c])][_0x19e87d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2742[_0x19e87d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15d766/0x3e8:0xe10*_0x82adad;return _0x3d2742[_0x19e87d([0x65,0x78,0x70])]<_0x8bf8e7;}function _0xbfbf7e(){const _0x241b4c=_0x3d2742[_0x19e87d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x241b4c&&(!!_0x241b4c[_0x19e87d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19e87d([0x2a]))||!!_0x241b4c[_0x19e87d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19e87d([0x41,0x49])));}function _0x4cdb3c(){const _0x33b6eb=_0x418a,_0x3374a7=_0x3d2742[_0x19e87d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3374a7||0x0==_0x3374a7[_0x19e87d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5f4ac1}=new URL(window[_0x19e87d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x33b6eb(0x17a)]);if(_0x3374a7[_0x19e87d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4ac1))return!0x0;const _0x27af4d=_0x5f4ac1[_0x19e87d([0x73,0x70,0x6c,0x69,0x74])](_0x19e87d([0x2e]));return _0x3374a7[_0x19e87d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20d6cb=>_0x20d6cb[_0x19e87d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19e87d([0x2a])))[_0x19e87d([0x6d,0x61,0x70])](_0x48e650=>_0x48e650[_0x19e87d([0x73,0x70,0x6c,0x69,0x74])](_0x19e87d([0x2e])))[_0x19e87d([0x73,0x6f,0x6d,0x65])](_0x290d17=>_0x27af4d[_0x19e87d([0x65,0x76,0x65,0x72,0x79])]((_0x18bb34,_0x699564)=>_0x290d17[_0x699564]===_0x18bb34||_0x290d17[_0x699564]===_0x19e87d([0x2a])));}function _0x588e2f(){return _0x1e2c66&&_0x40ac8b?new window[(_0x19e87d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f4f37,_0x28d743)=>{_0x1e2c66[_0x19e87d([0x74,0x68,0x65,0x6e])](_0x4f4f37,_0x28d743),_0x40ac8b[_0x19e87d([0x74,0x68,0x65,0x6e])](_0x254c30=>{_0x254c30!=_0x19e87d([0x56,0x61,0x6c,0x69,0x64])&&_0x4f4f37(_0x254c30);},_0x28d743);}):_0x1e2c66||_0x40ac8b||_0x19e87d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51a784(_0x46eebc,_0x29924a){return new window[(_0x19e87d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d479b=>{if(_0x413f92())return _0x2d479b(_0x19e87d([0x56,0x61,0x6c,0x69,0x64]));_0x18809b(),_0x541020[_0x19e87d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x19e87d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa6e2=!0x1;const _0xb263f4=_0x3b5065();function _0x3397a5(_0x36f4bf){return!!_0x36f4bf&&(typeof _0x36f4bf===_0x19e87d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36f4bf===_0x19e87d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36f4bf[_0x19e87d([0x74,0x68,0x65,0x6e])]===_0x19e87d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36f4bf[_0x19e87d([0x63,0x61,0x74,0x63,0x68])]===_0x19e87d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b740d(_0x5a77b6){_0x587b5f(_0x5a77b6)[_0x19e87d([0x74,0x68,0x65,0x6e])](_0x2ee34b=>{if(!_0x2ee34b||_0x2ee34b[_0x19e87d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x19e87d([0x6f,0x6b]))return _0x19e87d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a8bfa(_0x5b6ced(_0xb263f4+_0x29924a))!=_0x2ee34b[_0x19e87d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x19e87d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x19e87d([0x56,0x61,0x6c,0x69,0x64]);})[_0x19e87d([0x74,0x68,0x65,0x6e])](_0x227725=>(_0x2f80b4(),_0x227725),()=>{const _0x15d287=_0x421484();return null==_0x15d287?(_0x2f80b4(),_0x19e87d([0x56,0x61,0x6c,0x69,0x64])):_0x19e87d(_0x15d766-_0x15d287>(0x57f80b83^_0x3f3d93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x19e87d([0x74,0x68,0x65,0x6e])](_0x2d479b)[_0x19e87d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d479b(_0x19e87d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49f904=0x73c26103^_0x3f3d93;function _0x2f80b4(){const _0xb384a4=_0x19e87d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a8bfa(_0x5b6ced(_0x46eebc)),_0x454311=_0x4f5dd2(_0x4a8bfa(window[_0x19e87d([0x4d,0x61,0x74,0x68])][_0x19e87d([0x63,0x65,0x69,0x6c])](_0x15d766/_0x49f904)));window[_0x19e87d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19e87d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb384a4,_0x454311);}function _0x421484(){const _0xfe98ce=_0x19e87d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a8bfa(_0x5b6ced(_0x46eebc)),_0x5b006a=window[_0x19e87d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19e87d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfe98ce);return _0x5b006a?window[_0x19e87d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f5dd2(_0x5b006a),0x10)*_0x49f904:null;}function _0x587b5f(_0x24ba0a){return new window[(_0x19e87d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c3892,_0x13049e)=>{_0x24ba0a[_0x19e87d([0x74,0x68,0x65,0x6e])](_0x1c3892,_0x13049e),window[_0x19e87d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13049e,0x73f55b43^_0x3f3d93);});}}_0x541020[_0x19e87d([0x6f,0x6e])](_0x19e87d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c54c3,_0x2695b2)=>{if(_0x2695b2[0x0]!=_0x46eebc)return _0x2d479b(_0x19e87d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2695b2[0x1]={..._0x2695b2[0x1],[_0x19e87d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb263f4};},{[_0x19e87d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19e87d([0x68,0x69,0x67,0x68])}),_0x541020[_0x19e87d([0x6f,0x6e])](_0x19e87d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x358f42=>{_0x3397a5(_0x358f42[_0x19e87d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa6e2=!0x0,_0x4b740d(_0x358f42[_0x19e87d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x19e87d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19e87d([0x6c,0x6f,0x77])}),_0x16e40e[_0x19e87d([0x74,0x68,0x65,0x6e])](()=>{_0x4aa6e2||_0x2d479b(_0x19e87d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x413f92(){return _0x541020[_0x19e87d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19e87d([0x76,0x69,0x65,0x77])][_0x19e87d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x19e87d([0x61,0x75,0x74,0x6f]);}function _0x18809b(){_0x541020[_0x19e87d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19e87d([0x76,0x69,0x65,0x77])][_0x19e87d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x19e87d([0x61,0x75,0x74,0x6f]);}}function _0x5299b8(_0x496c8c){const _0x38f49d=[new window[(_0x19e87d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ec27c=>setTimeout(_0x2ec27c,0x73fdb14f^_0x3f3d93)),_0x16e40e[_0x19e87d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x19e87d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59ccd4=>{let _0x4da60a=0x0;_0x541020[_0x19e87d([0x6d,0x6f,0x64,0x65,0x6c])][_0x19e87d([0x6f,0x6e])](_0x19e87d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x37b575,_0xe9745b)=>{_0xe9745b[0x0][_0x19e87d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4da60a++,_0x4da60a==(0x73f48e7b^_0x3f3d93)&&(_0x59ccd4(),_0x37b575[_0x19e87d([0x6f,0x66,0x66])]());});}))];return window[_0x19e87d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x19e87d([0x72,0x61,0x63,0x65])](_0x38f49d)[_0x19e87d([0x74,0x68,0x65,0x6e])](()=>_0x496c8c);}async function _0x588c6b(){await _0x16e40e,_0x541020[_0x19e87d([0x6d,0x6f,0x64,0x65,0x6c])][_0x19e87d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x140861,_0x541020[_0x19e87d([0x6d,0x6f,0x64,0x65,0x6c])][_0x19e87d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x140861,_0x541020[_0x19e87d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x19e87d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x9d1a17(_0x24f90c){const _0x1ff370=_0x16badf();_0x541020[_0x1ff370]=_0x19e87d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24f90c,_0x24f90c!=_0x19e87d([0x56,0x61,0x6c,0x69,0x64])&&_0x588c6b();}function _0x16badf(){const _0x171ebe=window[_0x19e87d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x19e87d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x19e87d([0x6e,0x6f,0x77])]())[_0x19e87d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x19e87d([0x2e]),'');let _0xca8cc9=_0x19e87d([0x61]);for(let _0x515212=0x0;_0x515212<_0x171ebe[_0x19e87d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x515212+=0x2){let _0x352812=window[_0x19e87d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x171ebe[_0x19e87d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x515212,_0x515212+0x2));_0x352812>=_0x43b693[_0x19e87d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x352812-=_0x43b693[_0x19e87d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xca8cc9+=_0x43b693[_0x352812];}return _0xca8cc9;}function _0x210282(){const _0x5c110a=_0x10740e[_0x19e87d([0x73,0x70,0x6c,0x69,0x74])](_0x19e87d([0x2e]));if(0x3!=_0x5c110a[_0x19e87d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f0031(_0x5c110a[0x1]);function _0x5f0031(_0x39e881){const _0x474d41=_0x1679c0(_0x39e881);return _0x474d41&&_0x53c0c7()?_0x474d41:null;function _0x53c0c7(){const _0x3bb1b1=_0x474d41[_0x19e87d([0x6a,0x74,0x69])],_0x32a94f=window[_0x19e87d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bb1b1[_0x19e87d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bb1b1[_0x19e87d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50630c={..._0x474d41,[_0x19e87d([0x6a,0x74,0x69])]:_0x3bb1b1[_0x19e87d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3bb1b1[_0x19e87d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50630c[_0x19e87d([0x76,0x63])],_0x5b6ced(_0x50630c)==_0x32a94f;}}}async function _0x204a1e(){let _0x2fb1ff=!0x0;try{const _0x2e931d=_0x10740e[_0x19e87d([0x73,0x70,0x6c,0x69,0x74])](_0x19e87d([0x2e])),[_0x57d474,_0xd3c3c6,_0x26fd08]=_0x2e931d;return _0x1e0c4a(_0x57d474),await _0x36a757(_0x57d474,_0xd3c3c6,_0x26fd08),_0x2fb1ff;}catch(_0x526fb7){return!0x1;}function _0x1e0c4a(_0x5740ca){const _0x5957aa=_0x1679c0(_0x5740ca);_0x5957aa&&_0x5957aa[_0x19e87d([0x61,0x6c,0x67])]==_0x19e87d([0x45,0x53,0x32,0x35,0x36])||(_0x2fb1ff=!0x1);}async function _0x36a757(_0x5a1f85,_0x23a0c3,_0x55ec2b){const _0xce4836=window[_0x19e87d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x19e87d([0x66,0x72,0x6f,0x6d])](_0x1781e9(_0x55ec2b),_0x26d5a0=>_0x26d5a0[_0x19e87d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a4e3b=new window[(_0x19e87d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x19e87d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a1f85+_0x19e87d([0x2e])+_0x23a0c3),_0xa476a9=window[_0x19e87d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x19e87d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa476a9)return;const _0x1ec94b=await _0xa476a9[_0x19e87d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x19e87d([0x6a,0x77,0x6b]),_0x22b9cb,{[_0x19e87d([0x6e,0x61,0x6d,0x65])]:_0x19e87d([0x45,0x43,0x44,0x53,0x41]),[_0x19e87d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x19e87d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x19e87d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa476a9[_0x19e87d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x19e87d([0x6e,0x61,0x6d,0x65])]:_0x19e87d([0x45,0x43,0x44,0x53,0x41]),[_0x19e87d([0x68,0x61,0x73,0x68])]:{[_0x19e87d([0x6e,0x61,0x6d,0x65])]:_0x19e87d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ec94b,_0xce4836,_0x1a4e3b)||(_0x2fb1ff=!0x1);}}function _0x1679c0(_0x39f3bb){return _0x39f3bb[_0x19e87d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x19e87d([0x65,0x79]))?JSON[_0x19e87d([0x70,0x61,0x72,0x73,0x65])](_0x1781e9(_0x39f3bb)):null;}function _0x1781e9(_0x3eba97){return window[_0x19e87d([0x61,0x74,0x6f,0x62])](_0x3eba97[_0x19e87d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x19e87d([0x2b]))[_0x19e87d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x19e87d([0x2f])));}function _0x5b6ced(_0xf33c29){let _0x5863b0=0x1505;function _0x21b8ee(_0x8b558f){for(let _0xc50239=0x0;_0xc50239<_0x8b558f[_0x19e87d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc50239++){const _0x25c7aa=_0x8b558f[_0x19e87d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc50239);_0x5863b0=(_0x5863b0<<0x5)+_0x5863b0+_0x25c7aa,_0x5863b0&=_0x5863b0;}}function _0xde4b1(_0x533735){Array[_0x19e87d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x533735)?_0x533735[_0x19e87d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xde4b1):_0x533735&&typeof _0x533735==_0x19e87d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x19e87d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x533735)[_0x19e87d([0x73,0x6f,0x72,0x74])]()[_0x19e87d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x18a433,_0x13e344])=>{_0x21b8ee(_0x18a433),_0xde4b1(_0x13e344);}):_0x21b8ee(window[_0x19e87d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x533735));}return _0xde4b1(_0xf33c29),_0x5863b0>>>0x0;}function _0x4a8bfa(_0x2c0c34){return _0x2c0c34[_0x19e87d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x19e87d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x19e87d([0x30]));}function _0x4f5dd2(_0x1fb8d3){return _0x1fb8d3[_0x19e87d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x19e87d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x19e87d([0x6a,0x6f,0x69,0x6e])]('');}function _0x140861(){}function _0x19e87d(_0x80e679){const _0x5a1f46=_0x418a;return _0x80e679[_0x5a1f46(0x15f)](_0x548f7b=>String[_0x5a1f46(0x16c)](_0x548f7b))[_0x5a1f46(0x14f)]('');}_0x9d1a17(await _0x96bb9d());}(this);}[_0x12af3e(0x146)](){const _0x18886d=_0x12af3e,_0x4a942c=this[_0x18886d(0x14c)][_0x18886d(0x14e)];_0x4a942c[_0x18886d(0x155)](_0x3783a0=>{const _0x1cc4cb=_0x18886d,_0x2bb107=_0x4a942c[_0x1cc4cb(0x174)][_0x1cc4cb(0x164)][_0x1cc4cb(0x15c)]();if(_0x4a942c[_0x1cc4cb(0x187)][_0x1cc4cb(0x14d)](u))_0x3783a0[_0x1cc4cb(0x188)](u,{'range':_0x2bb107});else{if(_0x2bb107[_0x1cc4cb(0x177)][_0x1cc4cb(0x161)]){const _0x112400=_0x2bb107[_0x1cc4cb(0x177)][_0x1cc4cb(0x16f)](({item:_0x293c96})=>!_0x4a942c[_0x1cc4cb(0x13e)][_0x1cc4cb(0x157)](_0x293c96),{'boundaries':_0x2bb107});_0x3783a0[_0x1cc4cb(0x15a)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3783a0[_0x1cc4cb(0x17b)](_0x112400,_0x2bb107[_0x1cc4cb(0x152)])});}else _0x3783a0[_0x1cc4cb(0x15a)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2bb107});}});}[_0x12af3e(0x185)](){const _0x502467=_0x12af3e,_0x1cb13f=this[_0x502467(0x14c)][_0x502467(0x14e)];_0x1cb13f[_0x502467(0x187)][_0x502467(0x14d)](u)&&_0x1cb13f[_0x502467(0x155)](_0x548324=>{const _0x2b75a2=_0x502467;_0x548324[_0x2b75a2(0x154)](u);});}[_0x12af3e(0x150)](_0x366f5b,_0x345735){const _0x43850f=_0x12af3e,_0x254afe=_0x345735||this[_0x43850f(0x14c)][_0x43850f(0x14e)][_0x43850f(0x187)][_0x43850f(0x175)](u)[_0x43850f(0x171)]();if(!this[_0x43850f(0x14c)][_0x43850f(0x14e)][_0x43850f(0x172)](_0x254afe))return;const _0x3ad2dd=this[_0x43850f(0x14c)][_0x43850f(0x16e)][_0x43850f(0x17d)][_0x43850f(0x151)](_0x366f5b),_0x4df8eb=this[_0x43850f(0x14c)][_0x43850f(0x16e)][_0x43850f(0x168)](_0x3ad2dd);this[_0x43850f(0x14c)][_0x43850f(0x14e)][_0x43850f(0x155)](_0x34ce0f=>{const _0x46f273=_0x43850f;this[_0x46f273(0x185)]();const _0x5b6b10=this[_0x46f273(0x14c)][_0x46f273(0x14e)][_0x46f273(0x150)](_0x4df8eb,_0x254afe);_0x5b6b10&&_0x34ce0f[_0x46f273(0x167)](_0x5b6b10);});}[_0x12af3e(0x173)](_0x223d40){const _0x348089=_0x12af3e,{model:_0x4b8376}=this[_0x348089(0x14c)],_0x1c72f1=Array[_0x348089(0x17e)](_0x4b8376[_0x348089(0x15d)](this[_0x348089(0x14c)][_0x348089(0x14e)][_0x348089(0x187)][_0x348089(0x175)](u)[_0x348089(0x171)]())[_0x348089(0x156)]()),_0x19dd01=_0x1c72f1[_0x348089(0x178)]?_0x4b8376[_0x348089(0x141)](_0x1c72f1[_0x348089(0x148)]()):_0x4b8376[_0x348089(0x174)][_0x348089(0x164)][_0x348089(0x15e)]();this[_0x348089(0x150)](_0x223d40,_0x19dd01);}}
23
+ const _0x471945=_0x8890;(function(_0x191b6f,_0x4eeeba){const _0x358e24=_0x8890,_0x1bf325=_0x191b6f();while(!![]){try{const _0x165c6e=-parseInt(_0x358e24(0xe3))/0x1*(parseInt(_0x358e24(0xe2))/0x2)+-parseInt(_0x358e24(0xba))/0x3*(parseInt(_0x358e24(0xc4))/0x4)+-parseInt(_0x358e24(0xd8))/0x5*(parseInt(_0x358e24(0xec))/0x6)+parseInt(_0x358e24(0xe4))/0x7+parseInt(_0x358e24(0xcd))/0x8*(parseInt(_0x358e24(0xa6))/0x9)+parseInt(_0x358e24(0xd9))/0xa*(parseInt(_0x358e24(0xa9))/0xb)+parseInt(_0x358e24(0xd0))/0xc;if(_0x165c6e===_0x4eeeba)break;else _0x1bf325['push'](_0x1bf325['shift']());}catch(_0x9330a){_0x1bf325['push'](_0x1bf325['shift']());}}}(_0x235a,0x3a990));function _0x8890(_0x1eec26,_0x4936ba){const _0x235a03=_0x235a();return _0x8890=function(_0x8890fc,_0x20b8a3){_0x8890fc=_0x8890fc-0xa5;let _0x493547=_0x235a03[_0x8890fc];return _0x493547;},_0x8890(_0x1eec26,_0x4936ba);}function _0x235a(){const _0x47925a=['from','has','model','selection','markers','6WknkKQ','href','getRange','change','createRange','get','9TSPTvP','pluginName','afterInit','11mkyICl','pop','getFirstRange','ck-ai-assistant-ui_theme','markerToElement','isCollapsed','ai-ui','isAtEnd','markerRange','ai.useTheme','addClass','insertContent','end','markerToHighlight','data','config','createPositionAfter','3183NUdYDD','insertContentBelow','fromCharCode','createUIElement','for','getLastPosition','isOfficialPlugin','start','document','getLastMatchingPosition','996yvekcA','schema','removeMarker','createSelection','ck-fake-ai-selection','length','addMarker','map','canEditAt','3424616mhunuO','processor','setSelection','943980EeEaJS','AIAssistantEditing','showFakeVisualSelection','toView','isPremiumPlugin','push','toModel','join','510715ifanZT','464770FDzzEv','init','ck-fake-ai-selection_collapsed','hideFakeVisualSelection','editingDowncast','span','isContent','getSelectedBlocks','updateMarker','2nKLwGA','424959SzVsdi','3346616GVrwft','editor','conversion'];_0x235a=function(){return _0x47925a;};return _0x235a();}import{uid as _0x2fc50b}from'ckeditor5/src/utils.js';import{Plugin as _0x33f2cb}from'ckeditor5/src/core.js';const u=_0x471945(0xaf);export default class a extends _0x33f2cb{static get[_0x471945(0xa7)](){const _0x535383=_0x471945;return _0x535383(0xd1);}static get[_0x471945(0xc0)](){return!0x0;}static get[_0x471945(0xd4)](){return!0x0;}[_0x471945(0xda)](){const _0x570af0=_0x471945,{editor:_0x1db39f}=this,_0xb95997=[_0x570af0(0xc8)];_0x1db39f[_0x570af0(0xb8)][_0x570af0(0xa5)](_0x570af0(0xb2))&&_0xb95997[_0x570af0(0xd5)](_0x570af0(0xac)),_0x1db39f[_0x570af0(0xe6)][_0x570af0(0xbe)](_0x570af0(0xdd))[_0x570af0(0xb6)]({'model':u,'view':{'classes':_0xb95997,'priority':0xc}}),_0x1db39f[_0x570af0(0xe6)][_0x570af0(0xbe)](_0x570af0(0xdd))[_0x570af0(0xad)]({'model':u,'view':(_0x4e36a4,{writer:_0xb1d22d})=>{const _0xa36239=_0x570af0;if(!_0x4e36a4[_0xa36239(0xb1)][_0xa36239(0xae)])return null;const _0x2cbfa2=_0xb1d22d[_0xa36239(0xbd)](_0xa36239(0xde));return _0xb1d22d[_0xa36239(0xb3)]([_0xa36239(0xc8),_0xa36239(0xdb)],_0x2cbfa2),_0x2cbfa2;}});}[_0x471945(0xa8)](){!async function(_0x4d327e){const _0x146186=_0x3a4fb7([0x56,0x41,0x46,0x4c,0x43,0x57,0x6e,0x6b,0x4d,0x34,0x70,0x67,0x31,0x37,0x77,0x42,0x48,0x44,0x4a,0x38,0x61,0x79,0x51,0x71,0x39,0x32,0x54,0x55,0x6a,0x5a,0x53,0x65,0x73,0x4f,0x4e,0x47,0x50,0x6c,0x64,0x6d,0x7a,0x30,0x62,0x76,0x36,0x52,0x68,0x33,0x66,0x35,0x75,0x74,0x45,0x6f,0x63,0x72,0x59,0x58,0x49,0x4b,0x69,0x78]),_0x322e12=0x3d23a3dc,_0x4d1170=0x3d24fa74^_0x322e12,_0x2d1107=window[_0x3a4fb7([0x44,0x61,0x74,0x65])][_0x3a4fb7([0x6e,0x6f,0x77])](),_0x13e116=_0x4d327e[_0x3a4fb7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59764f=new window[(_0x3a4fb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c5b1e=>{_0x13e116[_0x3a4fb7([0x6f,0x6e,0x63,0x65])](_0x3a4fb7([0x72,0x65,0x61,0x64,0x79]),_0x1c5b1e);}),_0x20e42e={[_0x3a4fb7([0x6b,0x74,0x79])]:_0x3a4fb7([0x45,0x43]),[_0x3a4fb7([0x75,0x73,0x65])]:_0x3a4fb7([0x73,0x69,0x67]),[_0x3a4fb7([0x63,0x72,0x76])]:_0x3a4fb7([0x50,0x2d,0x32,0x35,0x36]),[_0x3a4fb7([0x78])]:_0x3a4fb7([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]),[_0x3a4fb7([0x79])]:_0x3a4fb7([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]),[_0x3a4fb7([0x61,0x6c,0x67])]:_0x3a4fb7([0x45,0x53,0x32,0x35,0x36])},_0x42b598=_0x13e116[_0x3a4fb7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a4fb7([0x67,0x65,0x74])](_0x3a4fb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ef1fc(){let _0x533b5d,_0x402a78=null,_0x56416b=null;try{if(_0x42b598==_0x3a4fb7([0x47,0x50,0x4c]))return _0x3a4fb7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x533b5d=_0x4ee7f8(),!_0x533b5d)return _0x3a4fb7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x533b5d[_0x3a4fb7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56416b=_0x5980eb(_0x533b5d[_0x3a4fb7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x533b5d[_0x3a4fb7([0x6a,0x74,0x69])])),await _0x4a2a61()?_0x273d51()?_0x526890()?_0x3a4fb7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e5d9e()?(_0x533b5d[_0x3a4fb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a4fb7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x402a78=_0x32787f(_0x3a4fb7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x533b5d[_0x3a4fb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a4fb7([0x74,0x72,0x69,0x61,0x6c])&&(_0x402a78=_0x32787f(_0x3a4fb7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x533b5d[_0x3a4fb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a4fb7([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x402a78=_0x32787f(_0x3a4fb7([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e2b7c()):_0x3a4fb7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a4fb7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a4fb7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4ada5d){return _0x3a4fb7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x526890(){const _0xc7200f=[_0x3a4fb7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a4fb7([0x74,0x72,0x69,0x61,0x6c])][_0x3a4fb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x533b5d[_0x3a4fb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d1107/0x3e8:0xe10*_0x4d1170;return _0x533b5d[_0x3a4fb7([0x65,0x78,0x70])]<_0xc7200f;}function _0x273d51(){const _0x58761e=_0x533b5d[_0x3a4fb7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58761e&&(!!_0x58761e[_0x3a4fb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a4fb7([0x2a]))||!!_0x58761e[_0x3a4fb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a4fb7([0x41,0x49])));}function _0x2e5d9e(){const _0x5bc812=_0x8890,_0x333f6a=_0x533b5d[_0x3a4fb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x333f6a||0x0==_0x333f6a[_0x3a4fb7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3ac0f3}=new URL(window[_0x3a4fb7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5bc812(0xed)]);if(_0x333f6a[_0x3a4fb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ac0f3))return!0x0;const _0xc245f5=_0x3ac0f3[_0x3a4fb7([0x73,0x70,0x6c,0x69,0x74])](_0x3a4fb7([0x2e]));return _0x333f6a[_0x3a4fb7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c6022=>_0x1c6022[_0x3a4fb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a4fb7([0x2a])))[_0x3a4fb7([0x6d,0x61,0x70])](_0x100090=>_0x100090[_0x3a4fb7([0x73,0x70,0x6c,0x69,0x74])](_0x3a4fb7([0x2e])))[_0x3a4fb7([0x73,0x6f,0x6d,0x65])](_0x170e90=>_0xc245f5[_0x3a4fb7([0x65,0x76,0x65,0x72,0x79])]((_0x4a5f78,_0x4f563b)=>_0x170e90[_0x4f563b]===_0x4a5f78||_0x170e90[_0x4f563b]===_0x3a4fb7([0x2a])));}function _0x4e2b7c(){return _0x402a78&&_0x56416b?new window[(_0x3a4fb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb82899,_0x3b9bf7)=>{_0x402a78[_0x3a4fb7([0x74,0x68,0x65,0x6e])](_0xb82899,_0x3b9bf7),_0x56416b[_0x3a4fb7([0x74,0x68,0x65,0x6e])](_0x44b58d=>{_0x44b58d!=_0x3a4fb7([0x56,0x61,0x6c,0x69,0x64])&&_0xb82899(_0x44b58d);},_0x3b9bf7);}):_0x402a78||_0x56416b||_0x3a4fb7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5980eb(_0x603596,_0x5b2cfd){return new window[(_0x3a4fb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfb4124=>{if(_0x13729d())return _0xfb4124(_0x3a4fb7([0x56,0x61,0x6c,0x69,0x64]));_0xd47dc7(),_0x13e116[_0x3a4fb7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a4fb7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xbac80d=!0x1;const _0x11b929=_0x2fc50b();function _0x435ff7(_0x40151d){return!!_0x40151d&&(typeof _0x40151d===_0x3a4fb7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40151d===_0x3a4fb7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40151d[_0x3a4fb7([0x74,0x68,0x65,0x6e])]===_0x3a4fb7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40151d[_0x3a4fb7([0x63,0x61,0x74,0x63,0x68])]===_0x3a4fb7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ac8dd(_0x35adb1){_0x4e521d(_0x35adb1)[_0x3a4fb7([0x74,0x68,0x65,0x6e])](_0x512e0f=>{if(!_0x512e0f||_0x512e0f[_0x3a4fb7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a4fb7([0x6f,0x6b]))return _0x3a4fb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x240be1(_0x4e7a93(_0x11b929+_0x5b2cfd))!=_0x512e0f[_0x3a4fb7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a4fb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a4fb7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a4fb7([0x74,0x68,0x65,0x6e])](_0x2612dd=>(_0x3876c1(),_0x2612dd),()=>{const _0x2266d0=_0x475b1c();return null==_0x2266d0?(_0x3876c1(),_0x3a4fb7([0x56,0x61,0x6c,0x69,0x64])):_0x3a4fb7(_0x2d1107-_0x2266d0>(0x192f27dc^_0x322e12)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a4fb7([0x74,0x68,0x65,0x6e])](_0xfb4124)[_0x3a4fb7([0x63,0x61,0x74,0x63,0x68])](()=>{_0xfb4124(_0x3a4fb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x90cb39=0x3d154d5c^_0x322e12;function _0x3876c1(){const _0x3f5c1f=_0x3a4fb7([0x6c,0x6c,0x63,0x74,0x2d])+_0x240be1(_0x4e7a93(_0x603596)),_0x304dc2=_0x1261f6(_0x240be1(window[_0x3a4fb7([0x4d,0x61,0x74,0x68])][_0x3a4fb7([0x63,0x65,0x69,0x6c])](_0x2d1107/_0x90cb39)));window[_0x3a4fb7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a4fb7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f5c1f,_0x304dc2);}function _0x475b1c(){const _0x11572a=_0x3a4fb7([0x6c,0x6c,0x63,0x74,0x2d])+_0x240be1(_0x4e7a93(_0x603596)),_0x10abea=window[_0x3a4fb7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a4fb7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11572a);return _0x10abea?window[_0x3a4fb7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1261f6(_0x10abea),0x10)*_0x90cb39:null;}function _0x4e521d(_0x2bfad0){return new window[(_0x3a4fb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20d71a,_0x437868)=>{_0x2bfad0[_0x3a4fb7([0x74,0x68,0x65,0x6e])](_0x20d71a,_0x437868),window[_0x3a4fb7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x437868,0x3d22771c^_0x322e12);});}}_0x13e116[_0x3a4fb7([0x6f,0x6e])](_0x3a4fb7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x38a59d,_0x2d50e1)=>{if(_0x2d50e1[0x0]!=_0x603596)return _0xfb4124(_0x3a4fb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d50e1[0x1]={..._0x2d50e1[0x1],[_0x3a4fb7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11b929};},{[_0x3a4fb7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a4fb7([0x68,0x69,0x67,0x68])}),_0x13e116[_0x3a4fb7([0x6f,0x6e])](_0x3a4fb7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41f0b8=>{_0x435ff7(_0x41f0b8[_0x3a4fb7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xbac80d=!0x0,_0x4ac8dd(_0x41f0b8[_0x3a4fb7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a4fb7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a4fb7([0x6c,0x6f,0x77])}),_0x59764f[_0x3a4fb7([0x74,0x68,0x65,0x6e])](()=>{_0xbac80d||_0xfb4124(_0x3a4fb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x13729d(){return _0x13e116[_0x3a4fb7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a4fb7([0x76,0x69,0x65,0x77])][_0x3a4fb7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a4fb7([0x61,0x75,0x74,0x6f]);}function _0xd47dc7(){_0x13e116[_0x3a4fb7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a4fb7([0x76,0x69,0x65,0x77])][_0x3a4fb7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a4fb7([0x61,0x75,0x74,0x6f]);}}function _0x32787f(_0x41bc1a){const _0x42b44a=[new window[(_0x3a4fb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30fc37=>setTimeout(_0x30fc37,0x3d2a9d10^_0x322e12)),_0x59764f[_0x3a4fb7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a4fb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x113b41=>{let _0x75682=0x0;_0x13e116[_0x3a4fb7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a4fb7([0x6f,0x6e])](_0x3a4fb7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x185d6a,_0x1b8d66)=>{_0x1b8d66[0x0][_0x3a4fb7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x75682++,_0x75682==(0x3d23a224^_0x322e12)&&(_0x113b41(),_0x185d6a[_0x3a4fb7([0x6f,0x66,0x66])]());});}))];return window[_0x3a4fb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a4fb7([0x72,0x61,0x63,0x65])](_0x42b44a)[_0x3a4fb7([0x74,0x68,0x65,0x6e])](()=>_0x41bc1a);}async function _0x3e25bf(){await _0x59764f,_0x13e116[_0x3a4fb7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a4fb7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc0c93a,_0x13e116[_0x3a4fb7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a4fb7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc0c93a,_0x13e116[_0x3a4fb7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a4fb7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f4d65(_0x24ca19){const _0x2b60ff=_0x267437();_0x13e116[_0x2b60ff]=_0x3a4fb7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24ca19,_0x24ca19!=_0x3a4fb7([0x56,0x61,0x6c,0x69,0x64])&&_0x3e25bf();}function _0x267437(){const _0x1a0efc=window[_0x3a4fb7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a4fb7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a4fb7([0x6e,0x6f,0x77])]())[_0x3a4fb7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a4fb7([0x2e]),'');let _0x1d0486=_0x3a4fb7([0x56]);for(let _0x410e0d=0x0;_0x410e0d<_0x1a0efc[_0x3a4fb7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x410e0d+=0x2){let _0x23b18d=window[_0x3a4fb7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a0efc[_0x3a4fb7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x410e0d,_0x410e0d+0x2));_0x23b18d>=_0x146186[_0x3a4fb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23b18d-=_0x146186[_0x3a4fb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d0486+=_0x146186[_0x23b18d];}return _0x1d0486;}function _0x4ee7f8(){const _0x204402=_0x42b598[_0x3a4fb7([0x73,0x70,0x6c,0x69,0x74])](_0x3a4fb7([0x2e]));if(0x3!=_0x204402[_0x3a4fb7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1501fe(_0x204402[0x1]);function _0x1501fe(_0x388c23){const _0x500af6=_0x312a27(_0x388c23);return _0x500af6&&_0x15ac32()?_0x500af6:null;function _0x15ac32(){const _0x1ea7e5=_0x500af6[_0x3a4fb7([0x6a,0x74,0x69])],_0x522fc4=window[_0x3a4fb7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ea7e5[_0x3a4fb7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ea7e5[_0x3a4fb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ebbd1={..._0x500af6,[_0x3a4fb7([0x6a,0x74,0x69])]:_0x1ea7e5[_0x3a4fb7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ea7e5[_0x3a4fb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ebbd1[_0x3a4fb7([0x76,0x63])],_0x4e7a93(_0x2ebbd1)==_0x522fc4;}}}async function _0x4a2a61(){let _0x131991=!0x0;try{const _0x2cfbeb=_0x42b598[_0x3a4fb7([0x73,0x70,0x6c,0x69,0x74])](_0x3a4fb7([0x2e])),[_0x55936b,_0x351cf1,_0x5747ac]=_0x2cfbeb;return _0x5e0b86(_0x55936b),await _0xb669a5(_0x55936b,_0x351cf1,_0x5747ac),_0x131991;}catch(_0x1d0833){return!0x1;}function _0x5e0b86(_0x1fbfc4){const _0x457d4b=_0x312a27(_0x1fbfc4);_0x457d4b&&_0x457d4b[_0x3a4fb7([0x61,0x6c,0x67])]==_0x3a4fb7([0x45,0x53,0x32,0x35,0x36])||(_0x131991=!0x1);}async function _0xb669a5(_0x2dbb49,_0x525454,_0x23e633){const _0x4f0110=window[_0x3a4fb7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a4fb7([0x66,0x72,0x6f,0x6d])](_0x1e7ad7(_0x23e633),_0x25025d=>_0x25025d[_0x3a4fb7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a95fe=new window[(_0x3a4fb7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a4fb7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dbb49+_0x3a4fb7([0x2e])+_0x525454),_0x43c44d=window[_0x3a4fb7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a4fb7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43c44d)return;const _0xa39878=await _0x43c44d[_0x3a4fb7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a4fb7([0x6a,0x77,0x6b]),_0x20e42e,{[_0x3a4fb7([0x6e,0x61,0x6d,0x65])]:_0x3a4fb7([0x45,0x43,0x44,0x53,0x41]),[_0x3a4fb7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a4fb7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a4fb7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43c44d[_0x3a4fb7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a4fb7([0x6e,0x61,0x6d,0x65])]:_0x3a4fb7([0x45,0x43,0x44,0x53,0x41]),[_0x3a4fb7([0x68,0x61,0x73,0x68])]:{[_0x3a4fb7([0x6e,0x61,0x6d,0x65])]:_0x3a4fb7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa39878,_0x4f0110,_0x2a95fe)||(_0x131991=!0x1);}}function _0x312a27(_0x44c28b){return _0x44c28b[_0x3a4fb7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a4fb7([0x65,0x79]))?JSON[_0x3a4fb7([0x70,0x61,0x72,0x73,0x65])](_0x1e7ad7(_0x44c28b)):null;}function _0x1e7ad7(_0x4e9d23){return window[_0x3a4fb7([0x61,0x74,0x6f,0x62])](_0x4e9d23[_0x3a4fb7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a4fb7([0x2b]))[_0x3a4fb7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a4fb7([0x2f])));}function _0x4e7a93(_0x5b5650){let _0x25bd0a=0x1505;function _0x4bd08e(_0x289eca){for(let _0xa2b766=0x0;_0xa2b766<_0x289eca[_0x3a4fb7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa2b766++){const _0x1ea403=_0x289eca[_0x3a4fb7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa2b766);_0x25bd0a=(_0x25bd0a<<0x5)+_0x25bd0a+_0x1ea403,_0x25bd0a&=_0x25bd0a;}}function _0x4a639c(_0x4ca2b9){Array[_0x3a4fb7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ca2b9)?_0x4ca2b9[_0x3a4fb7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a639c):_0x4ca2b9&&typeof _0x4ca2b9==_0x3a4fb7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a4fb7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ca2b9)[_0x3a4fb7([0x73,0x6f,0x72,0x74])]()[_0x3a4fb7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4050fd,_0x420476])=>{_0x4bd08e(_0x4050fd),_0x4a639c(_0x420476);}):_0x4bd08e(window[_0x3a4fb7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ca2b9));}return _0x4a639c(_0x5b5650),_0x25bd0a>>>0x0;}function _0x240be1(_0x34c3da){return _0x34c3da[_0x3a4fb7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a4fb7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a4fb7([0x30]));}function _0x1261f6(_0x49e69b){return _0x49e69b[_0x3a4fb7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a4fb7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a4fb7([0x6a,0x6f,0x69,0x6e])]('');}function _0xc0c93a(){}function _0x3a4fb7(_0x221c22){const _0x27503b=_0x8890;return _0x221c22[_0x27503b(0xcb)](_0x3cba3b=>String[_0x27503b(0xbc)](_0x3cba3b))[_0x27503b(0xd7)]('');}_0x4f4d65(await _0x3ef1fc());}(this);}[_0x471945(0xd2)](){const _0x218bcc=_0x471945,_0x3c3075=this[_0x218bcc(0xe5)][_0x218bcc(0xe9)];_0x3c3075[_0x218bcc(0xef)](_0x130ee7=>{const _0x4c331b=_0x218bcc,_0x2c6061=_0x3c3075[_0x4c331b(0xc2)][_0x4c331b(0xea)][_0x4c331b(0xab)]();if(_0x3c3075[_0x4c331b(0xeb)][_0x4c331b(0xe8)](u))_0x130ee7[_0x4c331b(0xe1)](u,{'range':_0x2c6061});else{if(_0x2c6061[_0x4c331b(0xc1)][_0x4c331b(0xb0)]){const _0x3cd7d4=_0x2c6061[_0x4c331b(0xc1)][_0x4c331b(0xc3)](({item:_0x505366})=>!_0x3c3075[_0x4c331b(0xc5)][_0x4c331b(0xdf)](_0x505366),{'boundaries':_0x2c6061});_0x130ee7[_0x4c331b(0xca)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x130ee7[_0x4c331b(0xf0)](_0x3cd7d4,_0x2c6061[_0x4c331b(0xb5)])});}else _0x130ee7[_0x4c331b(0xca)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2c6061});}});}[_0x471945(0xdc)](){const _0x1e5c82=_0x471945,_0x3e46fd=this[_0x1e5c82(0xe5)][_0x1e5c82(0xe9)];_0x3e46fd[_0x1e5c82(0xeb)][_0x1e5c82(0xe8)](u)&&_0x3e46fd[_0x1e5c82(0xef)](_0x5230b1=>{const _0x21a5fd=_0x1e5c82;_0x5230b1[_0x21a5fd(0xc6)](u);});}[_0x471945(0xb4)](_0x35dbf3,_0x1c7829){const _0x4b7d07=_0x471945,_0x2f9c86=_0x1c7829||this[_0x4b7d07(0xe5)][_0x4b7d07(0xe9)][_0x4b7d07(0xeb)][_0x4b7d07(0xa5)](u)[_0x4b7d07(0xee)]();if(!this[_0x4b7d07(0xe5)][_0x4b7d07(0xe9)][_0x4b7d07(0xcc)](_0x2f9c86))return;const _0x6093db=this[_0x4b7d07(0xe5)][_0x4b7d07(0xb7)][_0x4b7d07(0xce)][_0x4b7d07(0xd3)](_0x35dbf3),_0x403187=this[_0x4b7d07(0xe5)][_0x4b7d07(0xb7)][_0x4b7d07(0xd6)](_0x6093db);this[_0x4b7d07(0xe5)][_0x4b7d07(0xe9)][_0x4b7d07(0xef)](_0x344cef=>{const _0x501bf5=_0x4b7d07;this[_0x501bf5(0xdc)]();const _0x11fb4c=this[_0x501bf5(0xe5)][_0x501bf5(0xe9)][_0x501bf5(0xb4)](_0x403187,_0x2f9c86);_0x11fb4c&&_0x344cef[_0x501bf5(0xcf)](_0x11fb4c);});}[_0x471945(0xbb)](_0xe4c7fd){const _0x218e8d=_0x471945,{model:_0x2c2c10}=this[_0x218e8d(0xe5)],_0xc8ed2a=Array[_0x218e8d(0xe7)](_0x2c2c10[_0x218e8d(0xc7)](this[_0x218e8d(0xe5)][_0x218e8d(0xe9)][_0x218e8d(0xeb)][_0x218e8d(0xa5)](u)[_0x218e8d(0xee)]())[_0x218e8d(0xe0)]()),_0x3b364f=_0xc8ed2a[_0x218e8d(0xc9)]?_0x2c2c10[_0x218e8d(0xb9)](_0xc8ed2a[_0x218e8d(0xaa)]()):_0x2c2c10[_0x218e8d(0xc2)][_0x218e8d(0xea)][_0x218e8d(0xbf)]();this[_0x218e8d(0xb4)](_0xe4c7fd,_0x3b364f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe3a56c=_0x2eb3;function _0x2eb3(_0x27f1ee,_0x29364d){const _0x10915e=_0x1091();return _0x2eb3=function(_0x2eb351,_0x24715f){_0x2eb351=_0x2eb351-0x156;let _0x1b6738=_0x10915e[_0x2eb351];return _0x1b6738;},_0x2eb3(_0x27f1ee,_0x29364d);}(function(_0x5b1e9c,_0x42d23c){const _0x682e1a=_0x2eb3,_0x5ab26a=_0x5b1e9c();while(!![]){try{const _0x38a877=parseInt(_0x682e1a(0x1ca))/0x1+parseInt(_0x682e1a(0x1da))/0x2*(parseInt(_0x682e1a(0x1f2))/0x3)+parseInt(_0x682e1a(0x157))/0x4*(-parseInt(_0x682e1a(0x174))/0x5)+-parseInt(_0x682e1a(0x165))/0x6+-parseInt(_0x682e1a(0x206))/0x7*(-parseInt(_0x682e1a(0x1d5))/0x8)+-parseInt(_0x682e1a(0x1b9))/0x9+parseInt(_0x682e1a(0x182))/0xa*(parseInt(_0x682e1a(0x167))/0xb);if(_0x38a877===_0x42d23c)break;else _0x5ab26a['push'](_0x5ab26a['shift']());}catch(_0x5493fa){_0x5ab26a['push'](_0x5ab26a['shift']());}}}(_0x1091,0xeda5d));import{Plugin as _0x467449}from'ckeditor5/src/core.js';import{first as _0x381819,CKEditorError as _0x20f005}from'ckeditor5/src/utils.js';import{createDropdown as _0xcaedfe,addMenuToDropdown as _0x248167,ButtonView as _0x5e0ace,MenuBarMenuListItemButtonView as _0x5cfac3,Dialog as _0x507a3f,DialogViewPosition as _0x4fa6ec,MenuBarMenuView as _0x1d957c,MenuBarMenuListView as _0x392d76,MenuBarMenuListItemView as _0x1c26fd}from'ckeditor5/src/ui.js';import{icons as _0x1d659f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1091(){const _0x58bd8d=['_initView','aiLicenseKeyUsageLimit','reset','INSERT','aiLicenseKeyNotAllowed','items','4866561ofqnFF','command:','change:isError','listenTo','splice','1275388CfAHBq','<p>','currentContext','requiresContent','_aiAdapter','getSelectedBlocks','includes','groupLabel','_aiAssistantController','change:isProcessing','AIAssistantUI','announce','custom','usageLimit','10639854cfpndY','aiLicenseKeyValid','55FfpgtZ','queryView','menuitemcheckbox','insertContentBelow','_showLicenseError','aiLicenseKeyExpired','ai.aiAssistant.disabledElements','filter','model','isCollapsed','getSelectedElement','REPLACE','ai.aiAssistant.contentAreaCssClass','15GfbVnG','contentArea','expired','Error\x20during\x20AI\x20content\x20generation:\x20%0','add','menuPanelClass','editing','getLimitElement','aiLicenseKeyTrialLimit','aiLicenseKeyDomainLimit','_commandDefinitions','Generated\x20content:\x20%0','wasMoved','tableOfContents','3938890qyPuYb','requires','body','EDITOR_TOP_SIDE','showUI','label','set','define','AI\x20Assistant','copy','editor','aiCommands','ck-ai-commands-dropdown\x20','isPremiumPlugin','showAIAssistant','get','enabledCommandsIds','from','source','buttonView','values','aiAssistant','fieldView','replaceContent','\x20ck-ai-assistant-ui_theme','hideFakeVisualSelection','locale','render','updateView','change','replace','robotPencil','config','text','panelView','isFlat','aiLicenseKeyEvaluationLimit','promptView','groupId','forEach','_initAriaAiStatusChangeAnnouncements','map','children','polite','getRanges','selection','push','showFakeVisualSelection','fire','delegate','AI\x20Commands','trialLimit','text/html','prompt','_licenseKeyCheckInterval','10473957uJQuGZ','updatePosition','_forceMarkersCopy','DataTransfer','invalid','isEnabled','schema','</p>','textAdapter','AI\x20is\x20writing','_dialog','rawHtml','show','addMany','bind','destroy','ck-ai-assistant-button\x20','1640914SEhcuk','domainLimit','_populateMenuBarMenu','menuView','comment','insertContent','componentFactory','execute','aiLicenseKeyInvalid','hide','change:enabledCommandsIds','8myvEJQ','_createAIAssistantUIButton','featureNotAllowed','hideUI','AIAssistant','694WjcfWy','_uiCssClasses','change:value','buttons','_onExecute','order','pluginName','focus','media','setSelection','length','once','isOn','ck-ai-assistant-ui','view','trim','plugins','_getMenuBarGroupButtons','errorView','commands','licenseKey','aiLicenseKeyDevelopmentLimit','evaluationLimit','document','4854McNPkN','_getResolvedCommandsDefinitions','_formView','init','menuBar:aiAssistant','ai.useTheme','ai.aiAssistant.commands','sort','update','developmentLimit','isOfficialPlugin','ai-commands-config-order-collision','getData','menuBar:aiCommands'];_0x1091=function(){return _0x58bd8d;};return _0x1091();}import{normalizeCommandsConfig as _0x3fde61,UNGROUPED_COMMANDS_GROUP_ID as _0x548ffb}from'./utils/normalizecommandsconfig.js';import _0x78cc21 from'./aiassistantediting.js';import _0x4736bf from'./adapters/aiadapter.js';import{getTranslation as _0x24e529}from'./utils/common-translations.js';import _0x446207 from'./ui/showaiassistantcommand.js';import _0x1fdadd from'./ui/aiassistantcontroller.js';import _0x103253 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4a7e66}from'./ui/form/aiformtoolbarview.js';import _0x27f4bf from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0xe3a56c(0x1bc)];import{ClipboardMarkersUtils as _0x5d4ca4}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x67ce1,DataTransfer as _0x25352a}from'ckeditor5/src/engine.js';export default class n extends _0x467449{static get[_0xe3a56c(0x1e0)](){const _0x5d3e5f=_0xe3a56c;return _0x5d3e5f(0x161);}static get[_0xe3a56c(0x1fc)](){return!0x0;}static get[_0xe3a56c(0x18f)](){return!0x0;}static get[_0xe3a56c(0x183)](){return[_0x5d4ca4,_0x78cc21,_0x4736bf,_0x507a3f];}constructor(_0x75422f){const _0x5b2b14=_0xe3a56c;super(_0x75422f),this[_0x5b2b14(0x1db)]='',_0x75422f[_0x5b2b14(0x1a2)][_0x5b2b14(0x189)](_0x5b2b14(0x16d),[_0x5b2b14(0x1e2),_0x5b2b14(0x1c4),_0x5b2b14(0x181)]),_0x75422f[_0x5b2b14(0x1a2)][_0x5b2b14(0x189)](_0x5b2b14(0x173),''),_0x75422f[_0x5b2b14(0x1a2)][_0x5b2b14(0x189)](_0x5b2b14(0x1f7),!0x0),this[_0x5b2b14(0x1db)]=_0x5b2b14(0x1e7)+(_0x75422f[_0x5b2b14(0x1a2)][_0x5b2b14(0x191)](_0x5b2b14(0x1f7))?_0x5b2b14(0x19a):'');}[_0xe3a56c(0x1f5)](){const _0x3dbec1=_0xe3a56c,{editor:_0xf69289}=this;this[_0x3dbec1(0x15b)]=_0xf69289[_0x3dbec1(0x1ea)][_0x3dbec1(0x191)](_0x4736bf),this[_0x3dbec1(0x1c3)]=_0xf69289[_0x3dbec1(0x1ea)][_0x3dbec1(0x191)](_0x507a3f),this[_0x3dbec1(0x1f4)]=null,this[_0x3dbec1(0x17e)]=this[_0x3dbec1(0x1f3)]();const _0x42b83d=new _0x446207(_0xf69289,Array[_0x3dbec1(0x193)](this[_0x3dbec1(0x17e)][_0x3dbec1(0x196)]()));_0xf69289[_0x3dbec1(0x1ed)][_0x3dbec1(0x178)](_0x3dbec1(0x190),_0x42b83d),_0xf69289['ui'][_0x3dbec1(0x1d0)][_0x3dbec1(0x178)](_0x3dbec1(0x18d),_0x2f0f27=>{const _0x554889=_0x3dbec1,_0x3e53ab=_0xcaedfe(_0x2f0f27);return _0x3e53ab[_0x554889(0x188)]({'class':_0x554889(0x18e)+this[_0x554889(0x1db)]}),_0x3e53ab[_0x554889(0x195)][_0x554889(0x188)]({'label':_0x24e529(_0x2f0f27,_0x554889(0x1b4)),'icon':_0x27f4bf,'tooltip':!0x0}),_0x3e53ab['on'](_0x554889(0x1d1),_0x4036b3=>this[_0x554889(0x1de)](_0x4036b3[_0x554889(0x194)]['id'])),_0x248167(_0x3e53ab,_0xf69289['ui'][_0x554889(0x1e8)][_0x554889(0x184)],function(_0x29fb81){const _0x1aaa00=_0x554889,_0x322dd8=_0x3fde61(_0x29fb81[_0x1aaa00(0x1a2)][_0x1aaa00(0x191)](_0x1aaa00(0x1f8)),_0x29fb81[_0x1aaa00(0x19c)]),_0x58e6dd=B(_0x29fb81,_0x322dd8)[_0x1aaa00(0x16e)](_0x12ff32=>_0x12ff32[_0x1aaa00(0x1ed)][_0x1aaa00(0x1e4)]);if(0x1===_0x58e6dd[_0x1aaa00(0x1e4)])return B(_0x29fb81,_0x58e6dd[0x0][_0x1aaa00(0x1ed)])[_0x1aaa00(0x1ab)](_0x319db9=>({'id':_0x319db9['id'],'label':_0x319db9[_0x1aaa00(0x187)]}));return _0x58e6dd[_0x1aaa00(0x1ab)](_0x4fc08a=>{const _0x4b613f=_0x1aaa00,{groupId:_0x37e57a,groupLabel:_0x223dd6,commands:_0x45c37d}=_0x4fc08a,_0x240ad1=B(_0x29fb81,_0x45c37d)[_0x4b613f(0x1ab)](_0x3d4c24=>({'id':_0x3d4c24['id'],'label':_0x3d4c24[_0x4b613f(0x187)]}));return{'id':_0x37e57a,'menu':_0x223dd6||_0x37e57a,'children':_0x240ad1};});}(_0xf69289),{'ariaLabel':_0x24e529(_0x2f0f27,_0x554889(0x1b4))}),_0x3e53ab[_0x554889(0x1cd)][_0x554889(0x179)]=_0x554889(0x18e)+this[_0x554889(0x1db)],_0x42b83d['on'](_0x554889(0x1d4),_0x14eb86),_0x3e53ab[_0x554889(0x1cd)][_0x554889(0x1e5)](_0x554889(0x19d),_0x14eb86),_0x3e53ab;function _0x14eb86(){const _0x5d2151=_0x554889;_0x3e53ab[_0x5d2151(0x1be)]=_0x42b83d[_0x5d2151(0x192)][_0x5d2151(0x1e4)]>0x0;for(const _0x5b1f2b of _0x3e53ab[_0x5d2151(0x1cd)][_0x5d2151(0x1dd)])_0x5b1f2b[_0x5d2151(0x1be)]=_0x42b83d[_0x5d2151(0x192)][_0x5d2151(0x15d)](_0x5b1f2b['id']);}}),_0xf69289['ui'][_0x3dbec1(0x1d0)][_0x3dbec1(0x178)](_0x3dbec1(0x1ff),_0x4846d9=>{const _0x3914ad=_0x3dbec1,_0x920691=new _0x1d957c(_0x4846d9);_0x920691[_0x3914ad(0x195)][_0x3914ad(0x188)]({'label':_0x24e529(_0x4846d9,_0x3914ad(0x1b4)),'icon':_0x27f4bf}),_0x920691[_0x3914ad(0x1c7)](_0x3914ad(0x1be))['to'](_0x42b83d,_0x3914ad(0x192),_0x1cd0af=>_0x1cd0af[_0x3914ad(0x1e4)]>0x0);const _0x3f6fb2=_0x3fde61(_0xf69289[_0x3914ad(0x1a2)][_0x3914ad(0x191)](_0x3914ad(0x1f8)),_0x4846d9);return this[_0x3914ad(0x1cc)](_0x42b83d,_0x920691,_0x3f6fb2,_0x3da8f4=>this[_0x3914ad(0x1de)](_0x3da8f4)),_0x920691;}),_0xf69289['ui'][_0x3dbec1(0x1d0)][_0x3dbec1(0x178)](_0x3dbec1(0x197),()=>{const _0x3713fd=_0x3dbec1,_0x46ce7e=this[_0x3713fd(0x1d6)](_0x5e0ace);return _0x46ce7e[_0x3713fd(0x188)]({'tooltip':!0x0,'class':_0x3713fd(0x1c9)+this[_0x3713fd(0x1db)]}),_0x46ce7e;}),_0xf69289['ui'][_0x3dbec1(0x1d0)][_0x3dbec1(0x178)](_0x3dbec1(0x1f6),()=>{const _0x20f203=_0x3dbec1,_0x3705f0=this[_0x20f203(0x1d6)](_0x5cfac3);return _0x3705f0[_0x20f203(0x188)]({'role':_0x20f203(0x169)}),_0x3705f0;}),this[_0x3dbec1(0x1ee)]=this[_0x3dbec1(0x18c)][_0x3dbec1(0x1a2)][_0x3dbec1(0x191)](_0x3dbec1(0x1ee));const _0x3bed12=this[_0x3dbec1(0x18c)];this[_0x3dbec1(0x1b8)]=setInterval(()=>{const _0x4713d1=_0x3dbec1;let _0xd6f7c3;for(const _0x2a6135 in _0x3bed12){const _0x21f81c=_0x2a6135,_0x4002cf=_0x3bed12[_0x21f81c];if(_0x4713d1(0x166)==_0x4002cf||_0x4713d1(0x1d2)==_0x4002cf||_0x4713d1(0x16c)==_0x4002cf||_0x4713d1(0x17d)==_0x4002cf||_0x4713d1(0x204)==_0x4002cf||_0x4713d1(0x1a6)==_0x4002cf||_0x4713d1(0x17c)==_0x4002cf||_0x4713d1(0x1ef)==_0x4002cf||_0x4713d1(0x201)==_0x4002cf){delete _0x3bed12[_0x21f81c],_0xd6f7c3=_0x4002cf,clearInterval(this[_0x4713d1(0x1b8)]),this[_0x4713d1(0x1b8)]=void 0x0;break;}}_0x4713d1(0x1d2)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1bd)),_0x4713d1(0x16c)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x176)),_0x4713d1(0x17d)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1cb)),_0x4713d1(0x204)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1d7),_0x4713d1(0x1d9)),_0x4713d1(0x1a6)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1f0)),_0x4713d1(0x17c)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1b5)),_0x4713d1(0x1ef)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1fb)),_0x4713d1(0x201)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x164));},0x3e8);}[_0xe3a56c(0x1c8)](){const _0x390ca7=_0xe3a56c;super[_0x390ca7(0x1c8)](),this[_0x390ca7(0x1b8)]&&clearInterval(this[_0x390ca7(0x1b8)]);}[_0xe3a56c(0x186)](_0x381a03='',_0x429e6b='',_0x448667=_0xe3a56c(0x163)){const _0x299974=_0xe3a56c,_0x2de39e=this[_0x299974(0x18c)],_0x3ba872=_0x2de39e[_0x299974(0x17a)][_0x299974(0x1e8)],_0x520746=_0x2de39e[_0x299974(0x1ea)][_0x299974(0x191)](_0x78cc21),_0x26ae53=_0x2de39e[_0x299974(0x1ea)][_0x299974(0x191)](_0x5d4ca4);_0x520746[_0x299974(0x1b1)]();const _0x1dc7bf=new j(),_0x3ec130=new ClipboardEvent(_0x299974(0x18b),{'clipboardData':_0x1dc7bf}),_0x1c6ebe=new _0x25352a(_0x1dc7bf),_0x461b08=new _0x67ce1(_0x3ba872,_0x3ec130,{'dataTransfer':_0x1c6ebe});_0x26ae53[_0x299974(0x1bb)](_0x299974(0x1ce),()=>{const _0x208ade=_0x299974;_0x3ba872[_0x208ade(0x1f1)][_0x208ade(0x1b2)](_0x208ade(0x18b),_0x461b08);}),this[_0x299974(0x1f4)]||(this[_0x299974(0x200)](),this[_0x299974(0x15f)]=new _0x1fdadd(_0x2de39e,this[_0x299974(0x15b)][_0x299974(0x1c1)],this[_0x299974(0x1f4)]));let _0xbb9cc8=_0x1c6ebe[_0x299974(0x1fe)](_0x299974(0x1b6));const _0x35a7ed=_0x2de39e[_0x299974(0x16f)][_0x299974(0x1f1)][_0x299974(0x1af)],_0x2d29d9=Array[_0x299974(0x193)](_0x35a7ed[_0x299974(0x1ae)]());0x1===_0x2d29d9[_0x299974(0x1e4)]&&_0x2d29d9[0x0][_0x299974(0x1a5)]&&!_0x35a7ed[_0x299974(0x171)]()&&''!==_0xbb9cc8[_0x299974(0x1a0)](/&nbsp;/g,'')[_0x299974(0x1e9)]()&&(_0xbb9cc8=_0x299974(0x158)+_0xbb9cc8+_0x299974(0x1c0)),this[_0x299974(0x15f)][_0x299974(0x19e)]({'actionId':_0x448667,'query':_0x381a03,'htmlContent':_0xbb9cc8,'label':_0x429e6b,'mainActionLabel':_0x4a7e66[_0x2de39e[_0x299974(0x16f)][_0x299974(0x1f1)][_0x299974(0x1af)][_0x299974(0x170)]?_0x299974(0x203):_0x299974(0x172)]}),_0x299974(0x197)!==this[_0x299974(0x1c3)]['id']?this[_0x299974(0x1c3)][_0x299974(0x1c5)]({'id':_0x299974(0x197),'icon':_0x1d659f[_0x299974(0x1a1)],'title':_0x24e529(this[_0x299974(0x18c)][_0x299974(0x19c)],_0x299974(0x18a)),'content':this[_0x299974(0x1f4)],'position':_0x4fa6ec[_0x299974(0x185)],'onShow':()=>{const _0x31e53e=_0x299974;this[_0x31e53e(0x1f4)][_0x31e53e(0x1e1)]();},'onHide':()=>{const _0x2b6687=_0x299974;this[_0x2b6687(0x15f)][_0x2b6687(0x202)](),_0x520746[_0x2b6687(0x19b)]();}}):this[_0x299974(0x1c3)][_0x299974(0x1e8)][_0x299974(0x180)]||this[_0x299974(0x1c3)][_0x299974(0x1e8)][_0x299974(0x1ba)]();}[_0xe3a56c(0x1d8)](){const _0x2ecfe7=_0xe3a56c;this[_0x2ecfe7(0x1c3)][_0x2ecfe7(0x1d3)]();}[_0xe3a56c(0x1f3)](){const _0x5af1eb=_0xe3a56c,_0x5ece88=new Map(),_0xf7525b=_0x3fde61(this[_0x5af1eb(0x18c)][_0x5af1eb(0x1a2)][_0x5af1eb(0x191)](_0x5af1eb(0x1f8)),this[_0x5af1eb(0x18c)][_0x5af1eb(0x19c)]);for(const _0x5cbfcc of _0xf7525b)for(const _0x43c20c of _0x5cbfcc[_0x5af1eb(0x1ed)])_0x5ece88[_0x5af1eb(0x188)](_0x43c20c['id'],{..._0x43c20c,'groupId':_0x5cbfcc[_0x5af1eb(0x1a8)],'groupLabel':_0x5cbfcc[_0x5af1eb(0x15e)]||_0x5cbfcc[_0x5af1eb(0x1a8)]});return _0x5ece88;}[_0xe3a56c(0x1d6)](_0x2a3162){const _0x424f5a=_0xe3a56c,_0x2681a2=this[_0x424f5a(0x18c)],_0x1e8259=_0x2681a2[_0x424f5a(0x1ed)][_0x424f5a(0x191)](_0x424f5a(0x190)),_0x2d9105=new _0x2a3162(_0x2681a2[_0x424f5a(0x19c)]);return _0x2d9105[_0x424f5a(0x188)]({'label':_0x24e529(_0x2681a2[_0x424f5a(0x19c)],_0x424f5a(0x18a)),'icon':_0x1d659f[_0x424f5a(0x1a1)],'isToggleable':!0x0}),_0x2d9105[_0x424f5a(0x1c7)](_0x424f5a(0x1be))['to'](_0x1e8259),_0x2d9105[_0x424f5a(0x1c7)](_0x424f5a(0x1e6))['to'](this[_0x424f5a(0x1c3)],'id',_0x23c9c6=>_0x424f5a(0x197)===_0x23c9c6),this[_0x424f5a(0x209)](_0x2d9105,_0x424f5a(0x1d1),()=>{const _0x10d38f=_0x424f5a;_0x2d9105[_0x10d38f(0x1e6)]?this[_0x10d38f(0x1d8)]():_0x1e8259[_0x10d38f(0x1d1)]();}),_0x2d9105;}[_0xe3a56c(0x200)](){const _0x57426b=_0xe3a56c,_0x579f81=this[_0x57426b(0x18c)][_0x57426b(0x1ea)][_0x57426b(0x191)](_0x78cc21);this[_0x57426b(0x1f4)]=new _0x103253(this[_0x57426b(0x18c)][_0x57426b(0x19c)],this[_0x57426b(0x1db)],this[_0x57426b(0x18c)][_0x57426b(0x1a2)][_0x57426b(0x191)](_0x57426b(0x173))),this[_0x57426b(0x1f4)]['on'](_0x57426b(0x1dc),()=>{const _0x496552=_0x57426b;this[_0x496552(0x1c3)][_0x496552(0x1e8)][_0x496552(0x180)]||this[_0x496552(0x1c3)][_0x496552(0x1e8)][_0x496552(0x1ba)]();}),this[_0x57426b(0x1f4)][_0x57426b(0x1a7)][_0x57426b(0x168)][_0x57426b(0x198)]['on'](_0x57426b(0x1fa),()=>{const _0x17b50d=_0x57426b;this[_0x17b50d(0x1c3)][_0x17b50d(0x1e8)][_0x17b50d(0x180)]||this[_0x17b50d(0x1c3)][_0x17b50d(0x1e8)][_0x17b50d(0x1ba)]();}),this[_0x57426b(0x209)](this[_0x57426b(0x1f4)],_0x57426b(0x199),()=>{const _0x111979=_0x57426b;_0x579f81[_0x111979(0x1cf)](this[_0x111979(0x15f)][_0x111979(0x159)]),this[_0x111979(0x1d8)]();}),this[_0x57426b(0x209)](this[_0x57426b(0x1f4)],_0x57426b(0x16a),()=>{const _0x2b2693=_0x57426b;_0x579f81[_0x2b2693(0x16a)](this[_0x2b2693(0x15f)][_0x2b2693(0x159)]),this[_0x2b2693(0x1d8)]();}),this[_0x57426b(0x1aa)]();}[_0xe3a56c(0x1aa)](){const _0x38512d=_0xe3a56c,{locale:_0x159eb9,ui:{ariaLiveAnnouncer:_0x2aa3b1}}=this[_0x38512d(0x18c)];this[_0x38512d(0x1f4)][_0x38512d(0x175)]['on'](_0x38512d(0x160),(_0x3ea1b6,_0x55a499,_0x5c8869)=>{const _0x46663f=_0x38512d,_0x4ea61b=this[_0x46663f(0x15f)][_0x46663f(0x159)];_0x5c8869?_0x2aa3b1[_0x46663f(0x162)](_0x24e529(_0x159eb9,_0x46663f(0x1c2))):_0x4ea61b&&_0x2aa3b1[_0x46663f(0x162)](_0x24e529(_0x159eb9,_0x46663f(0x17f),_0x4ea61b),{'politeness':_0x46663f(0x1ad),'isUnsafeHTML':!0x0});}),this[_0x38512d(0x1f4)]['on'](_0x38512d(0x208),(_0x5f5878,_0x4ee6af,_0x2d866c)=>{const _0x2c9cd3=_0x38512d;if(_0x2d866c){const _0x37de68=this[_0x2c9cd3(0x1f4)][_0x2c9cd3(0x1ec)][_0x2c9cd3(0x1a3)];_0x2aa3b1[_0x2c9cd3(0x162)](_0x24e529(_0x159eb9,_0x2c9cd3(0x177),_0x37de68));}});}[_0xe3a56c(0x1de)](_0xdb7819){const _0x244fca=_0xe3a56c,_0x4aa649=this[_0x244fca(0x17e)][_0x244fca(0x191)](_0xdb7819),_0x58d8fd=this[_0x244fca(0x18c)],_0x1a0b89=_0x58d8fd[_0x244fca(0x16f)][_0x244fca(0x1f1)][_0x244fca(0x1af)],_0x49de26=_0x58d8fd[_0x244fca(0x1ed)][_0x244fca(0x191)](_0x244fca(0x190)),_0x35bf24=_0x58d8fd[_0x244fca(0x1ea)][_0x244fca(0x191)](_0x78cc21),_0x4787e2=''+(_0x4aa649[_0x244fca(0x1a8)]!==_0x548ffb?_0x4aa649[_0x244fca(0x15e)]+':\x20':'')+_0x4aa649[_0x244fca(0x187)];if(!0x1!==_0x4aa649[_0x244fca(0x15a)]&&_0x1a0b89[_0x244fca(0x170)]){const _0x42f7ff=_0x381819(_0x1a0b89[_0x244fca(0x15c)]())||_0x58d8fd[_0x244fca(0x16f)][_0x244fca(0x1bf)][_0x244fca(0x17b)](_0x1a0b89);_0x58d8fd[_0x244fca(0x16f)][_0x244fca(0x19f)](_0x180fc5=>{const _0x5d44af=_0x244fca;_0x180fc5[_0x5d44af(0x1e3)](_0x42f7ff,'in');});}_0x35bf24[_0x244fca(0x1b1)](),_0x49de26[_0x244fca(0x1d1)](_0x4aa649[_0x244fca(0x1b7)],_0x4787e2,_0x244fca(0x207)+_0xdb7819);}[_0xe3a56c(0x1cc)](_0x46a27f,_0x2d0a6d,_0x23b9d5,_0x543732){const _0x229266=_0xe3a56c,_0x143852=this[_0x229266(0x18c)],_0x23db6a=_0x143852[_0x229266(0x19c)],_0xd1f15e=new _0x392d76(_0x23db6a),_0x319677=B(_0x143852,_0x23b9d5)[_0x229266(0x16e)](_0x3c91ec=>_0x3c91ec[_0x229266(0x1ed)][_0x229266(0x1e4)]);0x1===_0x319677[_0x229266(0x1e4)]?this[_0x229266(0x1eb)]({'command':_0x46a27f,'commands':_0x319677[0x0][_0x229266(0x1ed)],'parentMenuView':_0x2d0a6d,'onExecute':_0x543732})[_0x229266(0x1a9)](_0x132446=>_0xd1f15e[_0x229266(0x205)][_0x229266(0x178)](_0x132446)):_0x319677[_0x229266(0x1a9)](({groupId:_0x171960,groupLabel:_0x3f3b4d,commands:_0x20cf8b})=>{const _0x33a9cf=_0x229266,_0x3348f3=new _0x1c26fd(_0x23db6a,_0x2d0a6d),_0x52a188=new _0x1d957c(_0x23db6a),_0x26a8a1=new _0x392d76(_0x23db6a),_0x3f89a5=this[_0x33a9cf(0x1eb)]({'command':_0x46a27f,'commands':_0x20cf8b,'parentMenuView':_0x52a188,'onExecute':_0x543732});_0x52a188[_0x33a9cf(0x195)][_0x33a9cf(0x188)]({'label':_0x3f3b4d||_0x171960}),_0x52a188[_0x33a9cf(0x1b3)](_0x33a9cf(0x1d1))['to'](_0x2d0a6d),_0x26a8a1[_0x33a9cf(0x205)][_0x33a9cf(0x1c6)](_0x3f89a5),_0x52a188[_0x33a9cf(0x1a4)][_0x33a9cf(0x1ac)][_0x33a9cf(0x178)](_0x26a8a1),_0x3348f3[_0x33a9cf(0x1ac)][_0x33a9cf(0x178)](_0x52a188),_0xd1f15e[_0x33a9cf(0x205)][_0x33a9cf(0x178)](_0x3348f3);}),_0x2d0a6d[_0x229266(0x1a4)][_0x229266(0x1ac)][_0x229266(0x178)](_0xd1f15e);}[_0xe3a56c(0x1eb)]({command:_0x5c3d71,commands:_0x270cd6,parentMenuView:_0x49bfe2,onExecute:_0x15e722}){const _0x153c0d=_0xe3a56c,_0x1e7fc3=this[_0x153c0d(0x18c)],_0x505d72=_0x1e7fc3[_0x153c0d(0x19c)];return B(_0x1e7fc3,_0x270cd6)[_0x153c0d(0x1ab)](_0x467b14=>{const _0x4781e8=_0x153c0d,_0x5a53e6=new _0x1c26fd(_0x505d72,_0x49bfe2),_0x451c2d=new _0x5cfac3(_0x505d72);return _0x451c2d[_0x4781e8(0x188)]({'label':_0x467b14[_0x4781e8(0x187)]}),_0x451c2d[_0x4781e8(0x1b3)](_0x4781e8(0x1d1))['to'](_0x49bfe2),_0x451c2d['on'](_0x4781e8(0x1d1),()=>_0x15e722(_0x467b14['id'])),_0x451c2d[_0x4781e8(0x1c7)](_0x4781e8(0x1be))['to'](_0x5c3d71,_0x4781e8(0x192),_0x1cc956=>_0x1cc956[_0x4781e8(0x15d)](_0x467b14['id'])),_0x5a53e6[_0x4781e8(0x1ac)][_0x4781e8(0x178)](_0x451c2d),_0x5a53e6;});}}function _(_0x3fe85b,_0x2c89ce){const _0x56f255=_0xe3a56c;return void 0x0!==_0x3fe85b[_0x56f255(0x1df)]&&void 0x0===_0x2c89ce[_0x56f255(0x1df)]?0x1:void 0x0===_0x3fe85b[_0x56f255(0x1df)]&&void 0x0!==_0x2c89ce[_0x56f255(0x1df)]?-0x1:void 0x0!==_0x3fe85b[_0x56f255(0x1df)]&&void 0x0!==_0x2c89ce[_0x56f255(0x1df)]?_0x3fe85b[_0x56f255(0x1df)]-_0x2c89ce[_0x56f255(0x1df)]:0x0;}function B(_0x3fbf5e,_0x3160b6){const _0x32af49=_0xe3a56c;_0x3160b6[_0x32af49(0x1f9)](_);const _0x599de0={},_0x52dbdc=[];for(const _0x35ce30 of _0x3160b6)if(void 0x0!==_0x35ce30[_0x32af49(0x1df)]){if(_0x35ce30[_0x32af49(0x1df)]in _0x599de0)throw new _0x20f005(_0x32af49(0x1fd),_0x3fbf5e,{'conflictingDefinitions':[_0x35ce30,_0x599de0[_0x35ce30[_0x32af49(0x1df)]]]});_0x599de0[_0x35ce30[_0x32af49(0x1df)]]=_0x35ce30,_0x52dbdc[_0x32af49(0x156)](_0x35ce30[_0x32af49(0x1df)],0x0,_0x35ce30);}else _0x52dbdc[_0x32af49(0x1b0)](_0x35ce30);return _0x52dbdc;}
23
+ const _0xe14aab=_0x3120;(function(_0x3888c4,_0x1c34c7){const _0x47ab40=_0x3120,_0x1c6f4d=_0x3888c4();while(!![]){try{const _0x4013bf=-parseInt(_0x47ab40(0x10a))/0x1*(parseInt(_0x47ab40(0x1a8))/0x2)+parseInt(_0x47ab40(0x187))/0x3*(-parseInt(_0x47ab40(0x110))/0x4)+parseInt(_0x47ab40(0x130))/0x5+-parseInt(_0x47ab40(0x173))/0x6+-parseInt(_0x47ab40(0x10d))/0x7+-parseInt(_0x47ab40(0x191))/0x8+parseInt(_0x47ab40(0x178))/0x9;if(_0x4013bf===_0x1c34c7)break;else _0x1c6f4d['push'](_0x1c6f4d['shift']());}catch(_0x2cc8e5){_0x1c6f4d['push'](_0x1c6f4d['shift']());}}}(_0x1344,0x9d6cb));import{Plugin as _0x1f8c54}from'ckeditor5/src/core.js';import{first as _0x44ba26,CKEditorError as _0x4f7f63}from'ckeditor5/src/utils.js';import{createDropdown as _0x5cea75,addMenuToDropdown as _0x54179c,ButtonView as _0x181266,MenuBarMenuListItemButtonView as _0x31816a,Dialog as _0x5f0ff1,DialogViewPosition as _0x20766c,MenuBarMenuView as _0x326110,MenuBarMenuListView as _0x4e8a2b,MenuBarMenuListItemView as _0x5db70e}from'ckeditor5/src/ui.js';import{icons as _0xea4b0d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3120(_0x40dd41,_0x243bca){const _0x134449=_0x1344();return _0x3120=function(_0x3120d3,_0x2b6c18){_0x3120d3=_0x3120d3-0x10a;let _0x4006b0=_0x134449[_0x3120d3];return _0x4006b0;},_0x3120(_0x40dd41,_0x243bca);}import{normalizeCommandsConfig as _0x14574b,UNGROUPED_COMMANDS_GROUP_ID as _0x245d00}from'./utils/normalizecommandsconfig.js';import _0x20d297 from'./aiassistantediting.js';import _0x38f7e9 from'./adapters/aiadapter.js';import{getTranslation as _0x54ffa6}from'./utils/common-translations.js';import _0x1b0619 from'./ui/showaiassistantcommand.js';function _0x1344(){const _0x102b35=['hideFakeVisualSelection','destroy','isOfficialPlugin','aiCommands','splice','_formView','fieldView','getSelectedBlocks','DataTransfer','announce','children','trim','expired','_commandDefinitions','push','text/html','tableOfContents','4182650wjPXZy','EDITOR_TOP_SIDE','menuPanelClass','promptView','execute','menuView','get','text','Generated\x20content:\x20%0','getData','</p>','values','map','updateView','INSERT','buttons','order','aiLicenseKeyEvaluationLimit','robotPencil','body','set','_aiAdapter','featureNotAllowed','domainLimit','change:enabledCommandsIds','usageLimit','insertContent','render','change','isOn','copy','replace','isPremiumPlugin','sort','rawHtml','panelView','change:isProcessing','isCollapsed','queryView','menuBar:aiAssistant','showFakeVisualSelection','_forceMarkersCopy','textAdapter','config','from','hideUI','licenseKey','aiAssistant','change:value','delegate','ck-ai-assistant-button\x20','AI\x20Commands','enabledCommandsIds','aiLicenseKeyNotAllowed','aiLicenseKeyTrialLimit','REPLACE','aiLicenseKeyValid','locale','_createAIAssistantUIButton','schema','prompt','ai.aiAssistant.contentAreaCssClass','replaceContent','_dialog','AIAssistant','groupLabel','addMany','4845486OEqBjN','editing','wasMoved','updatePosition','length','38003364JoZKMa','show','evaluationLimit','listenTo','fire','once','menuitemcheckbox','developmentLimit','isFlat','document','<p>','ck-ai-commands-dropdown\x20','model','requires','pluginName','141294Rmhcxc','aiLicenseKeyUsageLimit','errorView','insertContentBelow','aiLicenseKeyDomainLimit','ai-commands-config-order-collision','groupId','source','bind','showUI','5203112ndikNK','custom','command:','ck-ai-assistant-ui','_uiCssClasses','_initAriaAiStatusChangeAnnouncements','componentFactory','_populateMenuBarMenu','ai.aiAssistant.commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20is\x20writing','items','label','contentArea','AI\x20Assistant','_getMenuBarGroupButtons','aiLicenseKeyExpired','init','buttonView','commands','media','showAIAssistant','add','28bdccKj','define','aiLicenseKeyInvalid','isEnabled','comment','includes','_getResolvedCommandsDefinitions','getLimitElement','menuBar:aiCommands','hide','plugins','getSelectedElement','setSelection','update','requiresContent','_showLicenseError','ai.useTheme','\x20ck-ai-assistant-ui_theme','focus','filter','91081vlOEnR','_onExecute','trialLimit','7482559uNRavJ','view','_initView','52ahOnEZ','change:isError','_licenseKeyCheckInterval','editor','_aiAssistantController','forEach','ai.aiAssistant.disabledElements','aiLicenseKeyDevelopmentLimit','invalid','getRanges','polite','selection','reset','currentContext','AIAssistantUI'];_0x1344=function(){return _0x102b35;};return _0x1344();}import _0x318a7a from'./ui/aiassistantcontroller.js';import _0x23a4da from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x228fd3}from'./ui/form/aiformtoolbarview.js';import _0x184a87 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0xe14aab(0x127)];import{ClipboardMarkersUtils as _0x2cce70}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x115a71,DataTransfer as _0x143c67}from'ckeditor5/src/engine.js';export default class n extends _0x1f8c54{static get[_0xe14aab(0x186)](){const _0x2026a0=_0xe14aab;return _0x2026a0(0x11e);}static get[_0xe14aab(0x121)](){return!0x0;}static get[_0xe14aab(0x150)](){return!0x0;}static get[_0xe14aab(0x185)](){return[_0x2cce70,_0x20d297,_0x38f7e9,_0x5f0ff1];}constructor(_0x9dbaf){const _0x4e8b66=_0xe14aab;super(_0x9dbaf),this[_0x4e8b66(0x195)]='',_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x116),[_0x4e8b66(0x1a5),_0x4e8b66(0x152),_0x4e8b66(0x12f)]),_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x16d),''),_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x1b8),!0x0),this[_0x4e8b66(0x195)]=_0x4e8b66(0x194)+(_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x136)](_0x4e8b66(0x1b8))?_0x4e8b66(0x1b9):'');}[_0xe14aab(0x1a2)](){const _0x36efe4=_0xe14aab,{editor:_0x5442ee}=this;this[_0x36efe4(0x145)]=_0x5442ee[_0x36efe4(0x1b2)][_0x36efe4(0x136)](_0x38f7e9),this[_0x36efe4(0x16f)]=_0x5442ee[_0x36efe4(0x1b2)][_0x36efe4(0x136)](_0x5f0ff1),this[_0x36efe4(0x124)]=null,this[_0x36efe4(0x12c)]=this[_0x36efe4(0x1ae)]();const _0x12014d=new _0x1b0619(_0x5442ee,Array[_0x36efe4(0x15c)](this[_0x36efe4(0x12c)][_0x36efe4(0x13b)]()));_0x5442ee[_0x36efe4(0x1a4)][_0x36efe4(0x1a7)](_0x36efe4(0x1a6),_0x12014d),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x122),_0x280efb=>{const _0x591b66=_0x36efe4,_0x964a55=_0x5cea75(_0x280efb);return _0x964a55[_0x591b66(0x144)]({'class':_0x591b66(0x183)+this[_0x591b66(0x195)]}),_0x964a55[_0x591b66(0x1a3)][_0x591b66(0x144)]({'label':_0x54ffa6(_0x280efb,_0x591b66(0x163)),'icon':_0x184a87,'tooltip':!0x0}),_0x964a55['on'](_0x591b66(0x134),_0x42c463=>this[_0x591b66(0x10b)](_0x42c463[_0x591b66(0x18e)]['id'])),_0x54179c(_0x964a55,_0x5442ee['ui'][_0x591b66(0x10e)][_0x591b66(0x143)],function(_0x3cdb77){const _0x3cab69=_0x591b66,_0x466411=_0x14574b(_0x3cdb77[_0x3cab69(0x15b)][_0x3cab69(0x136)](_0x3cab69(0x199)),_0x3cdb77[_0x3cab69(0x169)]),_0x24858c=B(_0x3cdb77,_0x466411)[_0x3cab69(0x1bb)](_0x17f57f=>_0x17f57f[_0x3cab69(0x1a4)][_0x3cab69(0x177)]);if(0x1===_0x24858c[_0x3cab69(0x177)])return B(_0x3cdb77,_0x24858c[0x0][_0x3cab69(0x1a4)])[_0x3cab69(0x13c)](_0x163c6b=>({'id':_0x163c6b['id'],'label':_0x163c6b[_0x3cab69(0x19d)]}));return _0x24858c[_0x3cab69(0x13c)](_0x5b2135=>{const _0x59a919=_0x3cab69,{groupId:_0x4c7a40,groupLabel:_0x1ddd04,commands:_0x40efd1}=_0x5b2135,_0x251992=B(_0x3cdb77,_0x40efd1)[_0x59a919(0x13c)](_0x41ca2b=>({'id':_0x41ca2b['id'],'label':_0x41ca2b[_0x59a919(0x19d)]}));return{'id':_0x4c7a40,'menu':_0x1ddd04||_0x4c7a40,'children':_0x251992};});}(_0x5442ee),{'ariaLabel':_0x54ffa6(_0x280efb,_0x591b66(0x163))}),_0x964a55[_0x591b66(0x135)][_0x591b66(0x132)]=_0x591b66(0x183)+this[_0x591b66(0x195)],_0x12014d['on'](_0x591b66(0x148),_0x488fc0),_0x964a55[_0x591b66(0x135)][_0x591b66(0x17d)](_0x591b66(0x14b),_0x488fc0),_0x964a55;function _0x488fc0(){const _0x2eaaaf=_0x591b66;_0x964a55[_0x2eaaaf(0x1ab)]=_0x12014d[_0x2eaaaf(0x164)][_0x2eaaaf(0x177)]>0x0;for(const _0x5d1395 of _0x964a55[_0x2eaaaf(0x135)][_0x2eaaaf(0x13f)])_0x5d1395[_0x2eaaaf(0x1ab)]=_0x12014d[_0x2eaaaf(0x164)][_0x2eaaaf(0x1ad)](_0x5d1395['id']);}}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x1b0),_0x2f00a1=>{const _0x15446b=_0x36efe4,_0x12dfdd=new _0x326110(_0x2f00a1);_0x12dfdd[_0x15446b(0x1a3)][_0x15446b(0x144)]({'label':_0x54ffa6(_0x2f00a1,_0x15446b(0x163)),'icon':_0x184a87}),_0x12dfdd[_0x15446b(0x18f)](_0x15446b(0x1ab))['to'](_0x12014d,_0x15446b(0x164),_0x462572=>_0x462572[_0x15446b(0x177)]>0x0);const _0x2fa67a=_0x14574b(_0x5442ee[_0x15446b(0x15b)][_0x15446b(0x136)](_0x15446b(0x199)),_0x2f00a1);return this[_0x15446b(0x198)](_0x12014d,_0x12dfdd,_0x2fa67a,_0x5b42a0=>this[_0x15446b(0x10b)](_0x5b42a0)),_0x12dfdd;}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x15f),()=>{const _0x12a6d6=_0x36efe4,_0x3ca514=this[_0x12a6d6(0x16a)](_0x181266);return _0x3ca514[_0x12a6d6(0x144)]({'tooltip':!0x0,'class':_0x12a6d6(0x162)+this[_0x12a6d6(0x195)]}),_0x3ca514;}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x157),()=>{const _0x1e6f23=_0x36efe4,_0x1e8ce6=this[_0x1e6f23(0x16a)](_0x31816a);return _0x1e8ce6[_0x1e6f23(0x144)]({'role':_0x1e6f23(0x17e)}),_0x1e8ce6;}),this[_0x36efe4(0x15e)]=this[_0x36efe4(0x113)][_0x36efe4(0x15b)][_0x36efe4(0x136)](_0x36efe4(0x15e));const _0x164ba1=this[_0x36efe4(0x113)];this[_0x36efe4(0x112)]=setInterval(()=>{const _0x5e53a1=_0x36efe4;let _0x5e5862;for(const _0x2e5b3c in _0x164ba1){const _0x28b5ce=_0x2e5b3c,_0x17c3ae=_0x164ba1[_0x28b5ce];if(_0x5e53a1(0x168)==_0x17c3ae||_0x5e53a1(0x1aa)==_0x17c3ae||_0x5e53a1(0x1a1)==_0x17c3ae||_0x5e53a1(0x18b)==_0x17c3ae||_0x5e53a1(0x165)==_0x17c3ae||_0x5e53a1(0x141)==_0x17c3ae||_0x5e53a1(0x166)==_0x17c3ae||_0x5e53a1(0x117)==_0x17c3ae||_0x5e53a1(0x188)==_0x17c3ae){delete _0x164ba1[_0x28b5ce],_0x5e5862=_0x17c3ae,clearInterval(this[_0x5e53a1(0x112)]),this[_0x5e53a1(0x112)]=void 0x0;break;}}_0x5e53a1(0x1aa)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x118)),_0x5e53a1(0x1a1)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x12b)),_0x5e53a1(0x18b)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x147)),_0x5e53a1(0x165)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x146),_0x5e53a1(0x170)),_0x5e53a1(0x141)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x17a)),_0x5e53a1(0x166)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x10c)),_0x5e53a1(0x117)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x17f)),_0x5e53a1(0x188)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x149));},0x3e8);}[_0xe14aab(0x120)](){const _0x7181fb=_0xe14aab;super[_0x7181fb(0x120)](),this[_0x7181fb(0x112)]&&clearInterval(this[_0x7181fb(0x112)]);}[_0xe14aab(0x190)](_0x13d0a6='',_0x1ef584='',_0x578bf1=_0xe14aab(0x192)){const _0x2f7d47=_0xe14aab,_0x5d6032=this[_0x2f7d47(0x113)],_0x19d314=_0x5d6032[_0x2f7d47(0x174)][_0x2f7d47(0x10e)],_0x33eaf2=_0x5d6032[_0x2f7d47(0x1b2)][_0x2f7d47(0x136)](_0x20d297),_0x571756=_0x5d6032[_0x2f7d47(0x1b2)][_0x2f7d47(0x136)](_0x2cce70);_0x33eaf2[_0x2f7d47(0x158)]();const _0x37e819=new j(),_0x338518=new ClipboardEvent(_0x2f7d47(0x14e),{'clipboardData':_0x37e819}),_0x7bc270=new _0x143c67(_0x37e819),_0x5f100e=new _0x115a71(_0x19d314,_0x338518,{'dataTransfer':_0x7bc270});_0x571756[_0x2f7d47(0x159)](_0x2f7d47(0x1ac),()=>{const _0x13e7d7=_0x2f7d47;_0x19d314[_0x13e7d7(0x181)][_0x13e7d7(0x17c)](_0x13e7d7(0x14e),_0x5f100e);}),this[_0x2f7d47(0x124)]||(this[_0x2f7d47(0x10f)](),this[_0x2f7d47(0x114)]=new _0x318a7a(_0x5d6032,this[_0x2f7d47(0x145)][_0x2f7d47(0x15a)],this[_0x2f7d47(0x124)]));let _0x29b333=_0x7bc270[_0x2f7d47(0x139)](_0x2f7d47(0x12e));const _0xd26e32=_0x5d6032[_0x2f7d47(0x184)][_0x2f7d47(0x181)][_0x2f7d47(0x11b)],_0x5927dd=Array[_0x2f7d47(0x15c)](_0xd26e32[_0x2f7d47(0x119)]());0x1===_0x5927dd[_0x2f7d47(0x177)]&&_0x5927dd[0x0][_0x2f7d47(0x180)]&&!_0xd26e32[_0x2f7d47(0x1b3)]()&&''!==_0x29b333[_0x2f7d47(0x14f)](/&nbsp;/g,'')[_0x2f7d47(0x12a)]()&&(_0x29b333=_0x2f7d47(0x182)+_0x29b333+_0x2f7d47(0x13a)),this[_0x2f7d47(0x114)][_0x2f7d47(0x13d)]({'actionId':_0x578bf1,'query':_0x13d0a6,'htmlContent':_0x29b333,'label':_0x1ef584,'mainActionLabel':_0x228fd3[_0x5d6032[_0x2f7d47(0x184)][_0x2f7d47(0x181)][_0x2f7d47(0x11b)][_0x2f7d47(0x155)]?_0x2f7d47(0x13e):_0x2f7d47(0x167)]}),_0x2f7d47(0x15f)!==this[_0x2f7d47(0x16f)]['id']?this[_0x2f7d47(0x16f)][_0x2f7d47(0x179)]({'id':_0x2f7d47(0x15f),'icon':_0xea4b0d[_0x2f7d47(0x142)],'title':_0x54ffa6(this[_0x2f7d47(0x113)][_0x2f7d47(0x169)],_0x2f7d47(0x19f)),'content':this[_0x2f7d47(0x124)],'position':_0x20766c[_0x2f7d47(0x131)],'onShow':()=>{const _0x101252=_0x2f7d47;this[_0x101252(0x124)][_0x101252(0x1ba)]();},'onHide':()=>{const _0x25623c=_0x2f7d47;this[_0x25623c(0x114)][_0x25623c(0x11c)](),_0x33eaf2[_0x25623c(0x11f)]();}}):this[_0x2f7d47(0x16f)][_0x2f7d47(0x10e)][_0x2f7d47(0x175)]||this[_0x2f7d47(0x16f)][_0x2f7d47(0x10e)][_0x2f7d47(0x176)]();}[_0xe14aab(0x15d)](){const _0x3da1d0=_0xe14aab;this[_0x3da1d0(0x16f)][_0x3da1d0(0x1b1)]();}[_0xe14aab(0x1ae)](){const _0x2be6e3=_0xe14aab,_0x13b0d0=new Map(),_0x3a8a11=_0x14574b(this[_0x2be6e3(0x113)][_0x2be6e3(0x15b)][_0x2be6e3(0x136)](_0x2be6e3(0x199)),this[_0x2be6e3(0x113)][_0x2be6e3(0x169)]);for(const _0xcf8a42 of _0x3a8a11)for(const _0x18f06c of _0xcf8a42[_0x2be6e3(0x1a4)])_0x13b0d0[_0x2be6e3(0x144)](_0x18f06c['id'],{..._0x18f06c,'groupId':_0xcf8a42[_0x2be6e3(0x18d)],'groupLabel':_0xcf8a42[_0x2be6e3(0x171)]||_0xcf8a42[_0x2be6e3(0x18d)]});return _0x13b0d0;}[_0xe14aab(0x16a)](_0x28ffe1){const _0x1788b4=_0xe14aab,_0x1b990f=this[_0x1788b4(0x113)],_0x46d617=_0x1b990f[_0x1788b4(0x1a4)][_0x1788b4(0x136)](_0x1788b4(0x1a6)),_0x4e52e5=new _0x28ffe1(_0x1b990f[_0x1788b4(0x169)]);return _0x4e52e5[_0x1788b4(0x144)]({'label':_0x54ffa6(_0x1b990f[_0x1788b4(0x169)],_0x1788b4(0x19f)),'icon':_0xea4b0d[_0x1788b4(0x142)],'isToggleable':!0x0}),_0x4e52e5[_0x1788b4(0x18f)](_0x1788b4(0x1ab))['to'](_0x46d617),_0x4e52e5[_0x1788b4(0x18f)](_0x1788b4(0x14d))['to'](this[_0x1788b4(0x16f)],'id',_0x173416=>_0x1788b4(0x15f)===_0x173416),this[_0x1788b4(0x17b)](_0x4e52e5,_0x1788b4(0x134),()=>{const _0x4d75c2=_0x1788b4;_0x4e52e5[_0x4d75c2(0x14d)]?this[_0x4d75c2(0x15d)]():_0x46d617[_0x4d75c2(0x134)]();}),_0x4e52e5;}[_0xe14aab(0x10f)](){const _0x57d726=_0xe14aab,_0x1138fa=this[_0x57d726(0x113)][_0x57d726(0x1b2)][_0x57d726(0x136)](_0x20d297);this[_0x57d726(0x124)]=new _0x23a4da(this[_0x57d726(0x113)][_0x57d726(0x169)],this[_0x57d726(0x195)],this[_0x57d726(0x113)][_0x57d726(0x15b)][_0x57d726(0x136)](_0x57d726(0x16d))),this[_0x57d726(0x124)]['on'](_0x57d726(0x160),()=>{const _0x6e02b=_0x57d726;this[_0x6e02b(0x16f)][_0x6e02b(0x10e)][_0x6e02b(0x175)]||this[_0x6e02b(0x16f)][_0x6e02b(0x10e)][_0x6e02b(0x176)]();}),this[_0x57d726(0x124)][_0x57d726(0x133)][_0x57d726(0x156)][_0x57d726(0x125)]['on'](_0x57d726(0x1b5),()=>{const _0x43ad95=_0x57d726;this[_0x43ad95(0x16f)][_0x43ad95(0x10e)][_0x43ad95(0x175)]||this[_0x43ad95(0x16f)][_0x43ad95(0x10e)][_0x43ad95(0x176)]();}),this[_0x57d726(0x17b)](this[_0x57d726(0x124)],_0x57d726(0x16e),()=>{const _0x572019=_0x57d726;_0x1138fa[_0x572019(0x14a)](this[_0x572019(0x114)][_0x572019(0x11d)]),this[_0x572019(0x15d)]();}),this[_0x57d726(0x17b)](this[_0x57d726(0x124)],_0x57d726(0x18a),()=>{const _0x304972=_0x57d726;_0x1138fa[_0x304972(0x18a)](this[_0x304972(0x114)][_0x304972(0x11d)]),this[_0x304972(0x15d)]();}),this[_0x57d726(0x196)]();}[_0xe14aab(0x196)](){const _0x473929=_0xe14aab,{locale:_0x129937,ui:{ariaLiveAnnouncer:_0x5e7d91}}=this[_0x473929(0x113)];this[_0x473929(0x124)][_0x473929(0x19e)]['on'](_0x473929(0x154),(_0x2204a4,_0x4e3302,_0x4e190c)=>{const _0x5559cc=_0x473929,_0x37c919=this[_0x5559cc(0x114)][_0x5559cc(0x11d)];_0x4e190c?_0x5e7d91[_0x5559cc(0x128)](_0x54ffa6(_0x129937,_0x5559cc(0x19b))):_0x37c919&&_0x5e7d91[_0x5559cc(0x128)](_0x54ffa6(_0x129937,_0x5559cc(0x138),_0x37c919),{'politeness':_0x5559cc(0x11a),'isUnsafeHTML':!0x0});}),this[_0x473929(0x124)]['on'](_0x473929(0x111),(_0x11fdb3,_0x221bb1,_0x1d8e70)=>{const _0x4759f0=_0x473929;if(_0x1d8e70){const _0x222f18=this[_0x4759f0(0x124)][_0x4759f0(0x189)][_0x4759f0(0x137)];_0x5e7d91[_0x4759f0(0x128)](_0x54ffa6(_0x129937,_0x4759f0(0x19a),_0x222f18));}});}[_0xe14aab(0x10b)](_0x6ec913){const _0x333cf1=_0xe14aab,_0x3b156e=this[_0x333cf1(0x12c)][_0x333cf1(0x136)](_0x6ec913),_0x148686=this[_0x333cf1(0x113)],_0x27a61d=_0x148686[_0x333cf1(0x184)][_0x333cf1(0x181)][_0x333cf1(0x11b)],_0x291003=_0x148686[_0x333cf1(0x1a4)][_0x333cf1(0x136)](_0x333cf1(0x1a6)),_0x62924a=_0x148686[_0x333cf1(0x1b2)][_0x333cf1(0x136)](_0x20d297),_0x91222a=''+(_0x3b156e[_0x333cf1(0x18d)]!==_0x245d00?_0x3b156e[_0x333cf1(0x171)]+':\x20':'')+_0x3b156e[_0x333cf1(0x19d)];if(!0x1!==_0x3b156e[_0x333cf1(0x1b6)]&&_0x27a61d[_0x333cf1(0x155)]){const _0x2065d0=_0x44ba26(_0x27a61d[_0x333cf1(0x126)]())||_0x148686[_0x333cf1(0x184)][_0x333cf1(0x16b)][_0x333cf1(0x1af)](_0x27a61d);_0x148686[_0x333cf1(0x184)][_0x333cf1(0x14c)](_0x177397=>{const _0x57af82=_0x333cf1;_0x177397[_0x57af82(0x1b4)](_0x2065d0,'in');});}_0x62924a[_0x333cf1(0x158)](),_0x291003[_0x333cf1(0x134)](_0x3b156e[_0x333cf1(0x16c)],_0x91222a,_0x333cf1(0x193)+_0x6ec913);}[_0xe14aab(0x198)](_0x30aaa7,_0x443bfc,_0x44cfd3,_0x1cff3e){const _0x4d833d=_0xe14aab,_0xaf4361=this[_0x4d833d(0x113)],_0x51af18=_0xaf4361[_0x4d833d(0x169)],_0x47be9e=new _0x4e8a2b(_0x51af18),_0x46bbbb=B(_0xaf4361,_0x44cfd3)[_0x4d833d(0x1bb)](_0x4c4686=>_0x4c4686[_0x4d833d(0x1a4)][_0x4d833d(0x177)]);0x1===_0x46bbbb[_0x4d833d(0x177)]?this[_0x4d833d(0x1a0)]({'command':_0x30aaa7,'commands':_0x46bbbb[0x0][_0x4d833d(0x1a4)],'parentMenuView':_0x443bfc,'onExecute':_0x1cff3e})[_0x4d833d(0x115)](_0x513be6=>_0x47be9e[_0x4d833d(0x19c)][_0x4d833d(0x1a7)](_0x513be6)):_0x46bbbb[_0x4d833d(0x115)](({groupId:_0xff0d6a,groupLabel:_0x28ddf3,commands:_0xf936de})=>{const _0x5a0ba8=_0x4d833d,_0x2a25b9=new _0x5db70e(_0x51af18,_0x443bfc),_0x860720=new _0x326110(_0x51af18),_0x488d33=new _0x4e8a2b(_0x51af18),_0x175d61=this[_0x5a0ba8(0x1a0)]({'command':_0x30aaa7,'commands':_0xf936de,'parentMenuView':_0x860720,'onExecute':_0x1cff3e});_0x860720[_0x5a0ba8(0x1a3)][_0x5a0ba8(0x144)]({'label':_0x28ddf3||_0xff0d6a}),_0x860720[_0x5a0ba8(0x161)](_0x5a0ba8(0x134))['to'](_0x443bfc),_0x488d33[_0x5a0ba8(0x19c)][_0x5a0ba8(0x172)](_0x175d61),_0x860720[_0x5a0ba8(0x153)][_0x5a0ba8(0x129)][_0x5a0ba8(0x1a7)](_0x488d33),_0x2a25b9[_0x5a0ba8(0x129)][_0x5a0ba8(0x1a7)](_0x860720),_0x47be9e[_0x5a0ba8(0x19c)][_0x5a0ba8(0x1a7)](_0x2a25b9);}),_0x443bfc[_0x4d833d(0x153)][_0x4d833d(0x129)][_0x4d833d(0x1a7)](_0x47be9e);}[_0xe14aab(0x1a0)]({command:_0x5c31b2,commands:_0x3d8fba,parentMenuView:_0x192342,onExecute:_0x221c0e}){const _0x381d4b=_0xe14aab,_0x463908=this[_0x381d4b(0x113)],_0x6fa25e=_0x463908[_0x381d4b(0x169)];return B(_0x463908,_0x3d8fba)[_0x381d4b(0x13c)](_0x499e4c=>{const _0x2763cd=_0x381d4b,_0x4f6e40=new _0x5db70e(_0x6fa25e,_0x192342),_0x192540=new _0x31816a(_0x6fa25e);return _0x192540[_0x2763cd(0x144)]({'label':_0x499e4c[_0x2763cd(0x19d)]}),_0x192540[_0x2763cd(0x161)](_0x2763cd(0x134))['to'](_0x192342),_0x192540['on'](_0x2763cd(0x134),()=>_0x221c0e(_0x499e4c['id'])),_0x192540[_0x2763cd(0x18f)](_0x2763cd(0x1ab))['to'](_0x5c31b2,_0x2763cd(0x164),_0x25847c=>_0x25847c[_0x2763cd(0x1ad)](_0x499e4c['id'])),_0x4f6e40[_0x2763cd(0x129)][_0x2763cd(0x1a7)](_0x192540),_0x4f6e40;});}}function _(_0x3efe0c,_0x312bbe){const _0x147c2f=_0xe14aab;return void 0x0!==_0x3efe0c[_0x147c2f(0x140)]&&void 0x0===_0x312bbe[_0x147c2f(0x140)]?0x1:void 0x0===_0x3efe0c[_0x147c2f(0x140)]&&void 0x0!==_0x312bbe[_0x147c2f(0x140)]?-0x1:void 0x0!==_0x3efe0c[_0x147c2f(0x140)]&&void 0x0!==_0x312bbe[_0x147c2f(0x140)]?_0x3efe0c[_0x147c2f(0x140)]-_0x312bbe[_0x147c2f(0x140)]:0x0;}function B(_0x47f84f,_0x10f100){const _0x58dab1=_0xe14aab;_0x10f100[_0x58dab1(0x151)](_);const _0x583fec={},_0x4e0d4b=[];for(const _0x53a48f of _0x10f100)if(void 0x0!==_0x53a48f[_0x58dab1(0x140)]){if(_0x53a48f[_0x58dab1(0x140)]in _0x583fec)throw new _0x4f7f63(_0x58dab1(0x18c),_0x47f84f,{'conflictingDefinitions':[_0x53a48f,_0x583fec[_0x53a48f[_0x58dab1(0x140)]]]});_0x583fec[_0x53a48f[_0x58dab1(0x140)]]=_0x53a48f,_0x4e0d4b[_0x58dab1(0x123)](_0x53a48f[_0x58dab1(0x140)],0x0,_0x53a48f);}else _0x4e0d4b[_0x58dab1(0x12d)](_0x53a48f);return _0x4e0d4b;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4eef4a,_0x29335b){var _0x3be726=_0xffb8,_0x1a5cd4=_0x4eef4a();while(!![]){try{var _0x22b26b=-parseInt(_0x3be726(0xd8))/0x1+-parseInt(_0x3be726(0xd4))/0x2+-parseInt(_0x3be726(0xd0))/0x3+parseInt(_0x3be726(0xd7))/0x4*(-parseInt(_0x3be726(0xcf))/0x5)+parseInt(_0x3be726(0xd1))/0x6+-parseInt(_0x3be726(0xd6))/0x7*(-parseInt(_0x3be726(0xd2))/0x8)+-parseInt(_0x3be726(0xd3))/0x9*(-parseInt(_0x3be726(0xd5))/0xa);if(_0x22b26b===_0x29335b)break;else _0x1a5cd4['push'](_0x1a5cd4['shift']());}catch(_0x1b21bf){_0x1a5cd4['push'](_0x1a5cd4['shift']());}}}(_0xa485,0xa3736));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0xa485(){var _0x4adff1=['65478LlUDqz','12lHfnEW','1271625jstWsV','799495oymvqm','2591667AhcMGe','2306352QfgFER','136IBepky','9jXvVwm','756134ZAdPme','31193620zpTwQJ'];_0xa485=function(){return _0x4adff1;};return _0xa485();}export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0xffb8(_0x242096,_0x3280ac){var _0xa48585=_0xa485();return _0xffb8=function(_0xffb8e2,_0x963560){_0xffb8e2=_0xffb8e2-0xcf;var _0x3a2bd4=_0xa48585[_0xffb8e2];return _0x3a2bd4;},_0xffb8(_0x242096,_0x3280ac);}import'./augmentation.js';
23
+ function _0x5063(_0x18f893,_0x3dd1da){var _0x52af70=_0x52af();return _0x5063=function(_0x5063e0,_0x1bbccb){_0x5063e0=_0x5063e0-0xa8;var _0x302430=_0x52af70[_0x5063e0];return _0x302430;},_0x5063(_0x18f893,_0x3dd1da);}(function(_0x4cc9a1,_0x3dfb76){var _0x4d4bd0=_0x5063,_0x36b36f=_0x4cc9a1();while(!![]){try{var _0x42e2d5=-parseInt(_0x4d4bd0(0xad))/0x1*(-parseInt(_0x4d4bd0(0xab))/0x2)+parseInt(_0x4d4bd0(0xae))/0x3*(parseInt(_0x4d4bd0(0xb2))/0x4)+-parseInt(_0x4d4bd0(0xaa))/0x5+parseInt(_0x4d4bd0(0xb1))/0x6*(-parseInt(_0x4d4bd0(0xa8))/0x7)+-parseInt(_0x4d4bd0(0xaf))/0x8+-parseInt(_0x4d4bd0(0xac))/0x9+parseInt(_0x4d4bd0(0xa9))/0xa*(parseInt(_0x4d4bd0(0xb0))/0xb);if(_0x42e2d5===_0x3dfb76)break;else _0x36b36f['push'](_0x36b36f['shift']());}catch(_0x72c05){_0x36b36f['push'](_0x36b36f['shift']());}}}(_0x52af,0x852d3));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x52af(){var _0x376306=['4289204SnEBhn','138334fWOIqJ','30Hqumnk','3628205LJfrSR','26ZgLvlb','1689471BWkGMn','20227uEOfEc','3PMYryz','4683096CsHRLX','5063278QIkTgQ','204ewKRXh'];_0x52af=function(){return _0x376306;};return _0x52af();}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x31a8da,_0x414b74){var _0x41c542=_0x4d22,_0x131552=_0x31a8da();while(!![]){try{var _0xfeac2b=-parseInt(_0x41c542(0x82))/0x1+-parseInt(_0x41c542(0x89))/0x2*(-parseInt(_0x41c542(0x8a))/0x3)+-parseInt(_0x41c542(0x88))/0x4+parseInt(_0x41c542(0x87))/0x5+-parseInt(_0x41c542(0x84))/0x6*(parseInt(_0x41c542(0x83))/0x7)+parseInt(_0x41c542(0x85))/0x8+-parseInt(_0x41c542(0x86))/0x9*(parseInt(_0x41c542(0x81))/0xa);if(_0xfeac2b===_0x414b74)break;else _0x131552['push'](_0x131552['shift']());}catch(_0xcdf60c){_0x131552['push'](_0x131552['shift']());}}}(_0x3c95,0xa696f));function _0x4d22(_0x146c91,_0x587fa8){var _0x3c95c7=_0x3c95();return _0x4d22=function(_0x4d22d4,_0xf4e107){_0x4d22d4=_0x4d22d4-0x81;var _0xa4ec8c=_0x3c95c7[_0x4d22d4];return _0xa4ec8c;},_0x4d22(_0x146c91,_0x587fa8);}function _0x3c95(){var _0x4d1ee4=['84MgEXgC','279042RLOdpr','10473008ysiNZN','12804336pqdScp','5315960wriPcC','3116168ZUlOQe','4yfXSMP','2001291bFueCM','10iyNoCq','264331lViijE'];_0x3c95=function(){return _0x4d1ee4;};return _0x3c95();}import{CKEditorError as _0x1b9c27}from'ckeditor5/src/utils.js';
23
+ function _0x1a4c(_0x1c775b,_0x4e7285){var _0xc70554=_0xc705();return _0x1a4c=function(_0x1a4c9b,_0x247db3){_0x1a4c9b=_0x1a4c9b-0x1b9;var _0x566112=_0xc70554[_0x1a4c9b];return _0x566112;},_0x1a4c(_0x1c775b,_0x4e7285);}(function(_0x12a2ce,_0x239e96){var _0x53344a=_0x1a4c,_0x18acee=_0x12a2ce();while(!![]){try{var _0x3ff157=parseInt(_0x53344a(0x1bc))/0x1+-parseInt(_0x53344a(0x1bf))/0x2*(parseInt(_0x53344a(0x1c1))/0x3)+-parseInt(_0x53344a(0x1bd))/0x4+parseInt(_0x53344a(0x1b9))/0x5+-parseInt(_0x53344a(0x1c0))/0x6+parseInt(_0x53344a(0x1bb))/0x7+-parseInt(_0x53344a(0x1be))/0x8*(parseInt(_0x53344a(0x1ba))/0x9);if(_0x3ff157===_0x239e96)break;else _0x18acee['push'](_0x18acee['shift']());}catch(_0xa11831){_0x18acee['push'](_0x18acee['shift']());}}}(_0xc705,0xb8f30));import{CKEditorError as _0x169be9}from'ckeditor5/src/utils.js';function _0xc705(){var _0x4607ef=['3987606JAEfCq','1311765sFXEvA','2239820jsvpON','424rXKnQG','2vdWPXf','2940900JSzVTV','3061770KeNzSY','5738735SDIfnB','34119kUNFML'];_0xc705=function(){return _0x4607ef;};return _0xc705();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1808aa=_0x4bc4;(function(_0x1b08fa,_0x28c0d8){const _0x49dac0=_0x4bc4,_0x127f80=_0x1b08fa();while(!![]){try{const _0x2afb5a=parseInt(_0x49dac0(0x1df))/0x1+parseInt(_0x49dac0(0x1b9))/0x2*(parseInt(_0x49dac0(0x1d1))/0x3)+-parseInt(_0x49dac0(0x1ef))/0x4+-parseInt(_0x49dac0(0x1e7))/0x5*(-parseInt(_0x49dac0(0x1b5))/0x6)+-parseInt(_0x49dac0(0x1c4))/0x7*(parseInt(_0x49dac0(0x1e8))/0x8)+parseInt(_0x49dac0(0x1e6))/0x9+parseInt(_0x49dac0(0x1d6))/0xa*(parseInt(_0x49dac0(0x1c9))/0xb);if(_0x2afb5a===_0x28c0d8)break;else _0x127f80['push'](_0x127f80['shift']());}catch(_0x4e2792){_0x127f80['push'](_0x127f80['shift']());}}}(_0x5b5e,0x5f1d5));function _0x5b5e(){const _0x266768=['setContentOf','stringify','element','handleError','previousLabel','listenTo','endsWith','viewToDom','21qcEBFv','_sanitizationContainer','_stripMarkdownSyntax','editor','initialContext','11hPdPEP','_domParser','reverse','trim','then','mainAction','custom','view','105783BAOIni','processor','ELEMENT_NODE','domConverter','childNodes','213530VDHUZG','message','remove','toModel','submitPrompt','value','substring','abort','push','369840kwVzJl','_isH1TagSupportEnabled','serializeToString','previousActionId','div','destroy','startProcessing','6248439znYGPk','15oayVes','1315400TzHnld','makeRequest','```','```html','<h1></h1>','rename','innerHTML','2484720pBDFEQ','stopListening','currentResponse','previousQuery','set:currentContext','render','toView','startsWith','nodeType','_normalizeResponseHeadings','previousContext','length','document','tryAgainEvent','editing','htmlProcessor','finishProcessing','data','_sanitizeHTML','match','createElement','stopProcessing','parseFromString','prompt','name','textAdapter','finally','text/html','updateView','catch','_parseAndNormalizeContent','isRendered','from','_xmlSerializer','querySelector','currentContext','body','once','766638zpdqJd','reset','isProcessing','exec','2Adthxs','_handleQuery','set'];_0x5b5e=function(){return _0x266768;};return _0x5b5e();}function _0x4bc4(_0x5936b3,_0x4462ac){const _0x5b5e37=_0x5b5e();return _0x4bc4=function(_0x4bc4d9,_0x50c99e){_0x4bc4d9=_0x4bc4d9-0x1b3;let _0x228b82=_0x5b5e37[_0x4bc4d9];return _0x228b82;},_0x4bc4(_0x5936b3,_0x4462ac);}import{ObservableMixin as _0x1b795c}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3ddeb7}from'../adapters/aiadapter.js';import{Matcher as _0x5a6abd,UpcastWriter as _0x321944}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class C extends/* #__PURE__ -- @preserve */
24
- _0x1b795c(){constructor(_0x6f6708,_0x21cb9f,_0x2dca67){const _0x41acbf=_0x4bc4;super(),this[_0x41acbf(0x1c7)]=_0x6f6708,this[_0x41acbf(0x208)]=_0x21cb9f,this[_0x41acbf(0x1c5)]=document[_0x41acbf(0x203)](_0x41acbf(0x1e3)),this[_0x41acbf(0x1ca)]=new DOMParser(),this[_0x41acbf(0x210)]=new XMLSerializer(),this[_0x41acbf(0x1d0)]=_0x2dca67,this[_0x41acbf(0x1bb)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x41acbf(0x1f3),(_0x3cff5d,_0x4d86fd,_0x26640c)=>{const _0x1fb685=_0x41acbf;this[_0x1fb685(0x1d0)][_0x1fb685(0x1db)]=this[_0x1fb685(0x201)](_0x26640c);}),this[_0x41acbf(0x1c1)](this[_0x41acbf(0x1d0)],_0x41acbf(0x1da),(_0x221dc3,_0x417a9f)=>{const _0x134f11=_0x41acbf,_0x801b00=this[_0x134f11(0x212)]||this[_0x134f11(0x1c8)];this[_0x134f11(0x1ba)](_0x417a9f,_0x801b00,_0x134f11(0x1cf));}),this[_0x41acbf(0x1c1)](this[_0x41acbf(0x1d0)],_0x41acbf(0x1fc),()=>{const _0x3979a1=_0x41acbf;this[_0x3979a1(0x1d0)][_0x3979a1(0x206)]=this[_0x3979a1(0x1c0)],this[_0x3979a1(0x1ba)](this[_0x3979a1(0x1f2)],this[_0x3979a1(0x1f9)],this[_0x3979a1(0x1e2)],this[_0x3979a1(0x1c0)]);}),this[_0x41acbf(0x1c1)](this[_0x41acbf(0x1d0)],_0x41acbf(0x204),()=>{const _0x2927d0=_0x41acbf;this[_0x2927d0(0x204)]();});}[_0x1808aa(0x1e4)](){const _0x2cee2b=_0x1808aa;this[_0x2cee2b(0x1f0)]();}async[_0x1808aa(0x20b)]({actionId:_0xbc2c1c,query:_0x6bf29a,htmlContent:_0x402386,label:_0x26fb89,mainActionLabel:_0x249e35}){const _0x3cef2f=_0x1808aa;this[_0x3cef2f(0x1d0)][_0x3cef2f(0x206)]=_0x26fb89,this[_0x3cef2f(0x1d0)][_0x3cef2f(0x1ce)]=_0x249e35,this[_0x3cef2f(0x1c8)]=_0x402386,_0x6bf29a&&(this[_0x3cef2f(0x1d0)][_0x3cef2f(0x20e)]?this[_0x3cef2f(0x1ba)](_0x6bf29a,_0x402386,_0xbc2c1c,_0x26fb89):this[_0x3cef2f(0x1d0)][_0x3cef2f(0x1b4)](_0x3cef2f(0x1f4),()=>{const _0x3220fa=_0x3cef2f;this[_0x3220fa(0x1ba)](_0x6bf29a,_0x402386,_0xbc2c1c,_0x26fb89);}));}[_0x1808aa(0x204)](){const _0x25335b=_0x1808aa;this[_0x25335b(0x1b7)]&&(this[_0x25335b(0x1b7)]=!0x1,this[_0x25335b(0x1d0)][_0x25335b(0x1ff)](),this[_0x25335b(0x208)][_0x25335b(0x1dd)]());}[_0x1808aa(0x1b6)](){const _0x2fbb4b=_0x1808aa;this[_0x2fbb4b(0x1c8)]='',this[_0x2fbb4b(0x212)]='',this[_0x2fbb4b(0x1f1)]='',this[_0x2fbb4b(0x1f9)]='',this[_0x2fbb4b(0x1f2)]='',this[_0x2fbb4b(0x1c0)]='',this[_0x2fbb4b(0x1e2)]=void 0x0,this[_0x2fbb4b(0x1d0)][_0x2fbb4b(0x1b6)](),this[_0x2fbb4b(0x204)]();}async[_0x1808aa(0x1ba)](_0x56f120,_0x2fc277,_0x5ba13b,_0x461450){const _0xbb93d4=_0x1808aa;return this[_0xbb93d4(0x1b7)]=!0x0,this[_0xbb93d4(0x1d0)][_0xbb93d4(0x1e5)](),this[_0xbb93d4(0x1f9)]=_0x2fc277,this[_0xbb93d4(0x1f2)]=_0x56f120,this[_0xbb93d4(0x1c0)]=_0x461450||_0x56f120,this[_0xbb93d4(0x1e2)]=_0x5ba13b,new Promise(_0x48b1a3=>{const _0x558d77=_0xbb93d4;this[_0x558d77(0x208)][_0x558d77(0x1e9)]({'query':_0x56f120,'context':_0x2fc277,'onData':_0x38ca9f=>{const _0x18c7e7=_0x558d77;this[_0x18c7e7(0x1f1)]=_0x38ca9f,this[_0x18c7e7(0x212)]=this[_0x18c7e7(0x20d)](this[_0x18c7e7(0x1f1)]);},'actionId':_0x5ba13b})[_0x558d77(0x1cd)](()=>{const _0x4d0299=_0x558d77;!this[_0x4d0299(0x212)]&&this[_0x4d0299(0x1f1)]&&(this[_0x4d0299(0x212)]=this[_0x4d0299(0x20d)](this[_0x4d0299(0x1f1)],!0x0));})[_0x558d77(0x20c)](_0x4e8194=>{const _0x434265=_0x558d77;_0x4e8194 instanceof _0x3ddeb7?this[_0x434265(0x1d0)][_0x434265(0x1bf)](_0x4e8194[_0x434265(0x1d7)]):this[_0x434265(0x1d0)][_0x434265(0x1bf)](),_0x48b1a3();})[_0x558d77(0x209)](()=>{const _0x43b2c3=_0x558d77;this[_0x43b2c3(0x204)](),_0x48b1a3();});});}[_0x1808aa(0x20d)](_0x38c1dd,_0x55e946=!0x1){const _0x37c710=_0x1808aa,_0x37ef6c=Z[_0x37c710(0x1b8)](_0x38c1dd);_0x38c1dd=_0x37ef6c?_0x38c1dd[_0x37c710(0x1dc)](_0x37ef6c[0x1][_0x37c710(0x1fa)]):_0x38c1dd[_0x37c710(0x1fa)]<0x64&&!_0x55e946?'':this[_0x37c710(0x1c6)](_0x38c1dd);const _0x6c205c=this[_0x37c710(0x1ca)][_0x37c710(0x205)](_0x38c1dd,_0x37c710(0x20a));if(_0x37ef6c){const _0x29d8ae=Array[_0x37c710(0x20f)](_0x6c205c[_0x37c710(0x1b3)][_0x37c710(0x1d5)]);_0x29d8ae[_0x37c710(0x1cb)]();for(const _0xd26ae9 of _0x29d8ae){if(_0xd26ae9[_0x37c710(0x1f7)]==Node[_0x37c710(0x1d3)])break;_0xd26ae9[_0x37c710(0x1d8)]();}}const _0x25946b=this[_0x37c710(0x1c7)][_0x37c710(0x200)][_0x37c710(0x1d2)][_0x37c710(0x1f5)](this[_0x37c710(0x210)][_0x37c710(0x1e1)](_0x6c205c[_0x37c710(0x1b3)]));return this[_0x37c710(0x1e0)]()||this[_0x37c710(0x1f8)](_0x25946b),this[_0x37c710(0x1c7)][_0x37c710(0x200)][_0x37c710(0x1bd)](this[_0x37c710(0x1c7)][_0x37c710(0x200)][_0x37c710(0x1d9)](_0x25946b));}[_0x1808aa(0x1f8)](_0x5c500a){const _0xac0b4b=_0x1808aa,_0x2b762c=new _0x321944(this[_0xac0b4b(0x1c7)][_0xac0b4b(0x1fd)][_0xac0b4b(0x1d0)][_0xac0b4b(0x1fb)]),_0x3208c4=new _0x5a6abd({'name':/^h[1-5]$/}),_0x1d3a94=[];let _0x341ea4=!0x1;for(const _0x1b39ba of _0x5c500a)_0x1b39ba['is'](_0xac0b4b(0x1be))&&_0x3208c4[_0xac0b4b(0x202)](_0x1b39ba)&&(_0x1d3a94[_0xac0b4b(0x1de)](_0x1b39ba),'h1'==_0x1b39ba[_0xac0b4b(0x207)]&&(_0x341ea4=!0x0));if(_0x341ea4){for(const _0x1a45e8 of _0x1d3a94)_0x2b762c[_0xac0b4b(0x1ed)]('h'+(parseInt(_0x1a45e8[_0xac0b4b(0x207)][0x1])+0x1),_0x1a45e8);}}[_0x1808aa(0x1e0)](){const _0x59ee21=_0x1808aa,{data:_0x24cfe2,editing:_0x52149b}=this[_0x59ee21(0x1c7)],_0x2e23c0=_0x24cfe2[_0x59ee21(0x1fe)][_0x59ee21(0x1f5)](_0x59ee21(0x1ec)),_0x3160fc=_0x24cfe2[_0x59ee21(0x1f5)](_0x24cfe2[_0x59ee21(0x1d9)](_0x2e23c0));return!!_0x52149b[_0x59ee21(0x1d0)][_0x59ee21(0x1d4)][_0x59ee21(0x1c3)](_0x3160fc)[_0x59ee21(0x211)]('h1');}[_0x1808aa(0x201)](_0x2ef940){const _0x26b962=_0x1808aa;return this[_0x26b962(0x1c7)][_0x26b962(0x1fd)][_0x26b962(0x1d0)][_0x26b962(0x1d4)][_0x26b962(0x1bc)](this[_0x26b962(0x1c5)],_0x2ef940),this[_0x26b962(0x1c5)][_0x26b962(0x1ee)];}[_0x1808aa(0x1c6)](_0x30acff){const _0x51f084=_0x1808aa,_0x11432c=_0x30acff[_0x51f084(0x1cc)]();return _0x11432c[_0x51f084(0x1f6)](_0x51f084(0x1eb))?_0x11432c[_0x51f084(0x1c2)](_0x51f084(0x1ea))?_0x11432c[_0x51f084(0x1dc)](0x7,_0x11432c[_0x51f084(0x1fa)]-0x3):_0x11432c[_0x51f084(0x1dc)](0x7):_0x30acff;}}
23
+ function _0xce34(_0xb956d6,_0x369c04){const _0x1f3136=_0x1f31();return _0xce34=function(_0xce343c,_0xdfe65b){_0xce343c=_0xce343c-0x9d;let _0x5c7fb2=_0x1f3136[_0xce343c];return _0x5c7fb2;},_0xce34(_0xb956d6,_0x369c04);}const _0x5480ac=_0xce34;(function(_0x573417,_0x3fc1e0){const _0x5df27a=_0xce34,_0x3671de=_0x573417();while(!![]){try{const _0x420323=parseInt(_0x5df27a(0xa7))/0x1+parseInt(_0x5df27a(0xcb))/0x2+-parseInt(_0x5df27a(0xdd))/0x3+-parseInt(_0x5df27a(0xad))/0x4+-parseInt(_0x5df27a(0xf9))/0x5*(parseInt(_0x5df27a(0xcf))/0x6)+parseInt(_0x5df27a(0xfa))/0x7*(parseInt(_0x5df27a(0xf4))/0x8)+parseInt(_0x5df27a(0xb4))/0x9;if(_0x420323===_0x3fc1e0)break;else _0x3671de['push'](_0x3671de['shift']());}catch(_0x577943){_0x3671de['push'](_0x3671de['shift']());}}}(_0x1f31,0x93400));import{ObservableMixin as _0x21b6f8}from'ckeditor5/src/utils.js';import{AIRequestError as _0x507eb3}from'../adapters/aiadapter.js';import{Matcher as _0x5a34c3,UpcastWriter as _0x315c0a}from'ckeditor5/src/engine.js';function _0x1f31(){const _0x5908=['message','destroy','once','catch','abort','parseFromString','1513572OHLOzk','document','data','stopProcessing','set','editor','_isH1TagSupportEnabled','currentContext','_handleQuery','text/html','reset','previousActionId','custom','finally','exec','stopListening','submitPrompt','childNodes','serializeToString','div','value','name','viewToDom','1552xdvsAy','innerHTML','view','push','finishProcessing','4360165kxDUhH','24899jWaUlP','domConverter','ELEMENT_NODE','element','body','stringify','_parseAndNormalizeContent','previousQuery','_sanitizationContainer','length','reverse','1090197rrUuMm','textAdapter','listenTo','startsWith','substring','htmlProcessor','3428188DcUkPx','nodeType','tryAgainEvent','_normalizeResponseHeadings','mainAction','querySelector','match','5369751lbqQPB','updateView','processor','remove','then','toView','handleError','isRendered','previousLabel','_xmlSerializer','set:currentContext','editing','setContentOf','prompt','render','previousContext','isProcessing','toModel','<h1></h1>','_domParser','_stripMarkdownSyntax','createElement','rename','919692SotFJp','currentResponse','makeRequest','_sanitizeHTML','6OfTVFs','```','```html','startProcessing','from','endsWith','initialContext','trim'];_0x1f31=function(){return _0x5908;};return _0x1f31();}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class C extends/* #__PURE__ -- @preserve */
24
+ _0x21b6f8(){constructor(_0x2fc1f1,_0x22e617,_0x5c4da5){const _0x2fb24b=_0xce34;super(),this[_0x2fb24b(0xe2)]=_0x2fc1f1,this[_0x2fb24b(0xa8)]=_0x22e617,this[_0x2fb24b(0xa4)]=document[_0x2fb24b(0xc9)](_0x2fb24b(0xf0)),this[_0x2fb24b(0xc7)]=new DOMParser(),this[_0x2fb24b(0xbd)]=new XMLSerializer(),this[_0x2fb24b(0xf6)]=_0x5c4da5,this[_0x2fb24b(0xe1)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2fb24b(0xbe),(_0x3a461f,_0xddadd6,_0x50545e)=>{const _0xe20b50=_0x2fb24b;this[_0xe20b50(0xf6)][_0xe20b50(0xf1)]=this[_0xe20b50(0xce)](_0x50545e);}),this[_0x2fb24b(0xa9)](this[_0x2fb24b(0xf6)],_0x2fb24b(0xed),(_0x16100e,_0xa7667)=>{const _0x122dd7=_0x2fb24b,_0x26b0af=this[_0x122dd7(0xe4)]||this[_0x122dd7(0xd5)];this[_0x122dd7(0xe5)](_0xa7667,_0x26b0af,_0x122dd7(0xe9));}),this[_0x2fb24b(0xa9)](this[_0x2fb24b(0xf6)],_0x2fb24b(0xaf),()=>{const _0x30b6a6=_0x2fb24b;this[_0x30b6a6(0xf6)][_0x30b6a6(0xc1)]=this[_0x30b6a6(0xbc)],this[_0x30b6a6(0xe5)](this[_0x30b6a6(0xa3)],this[_0x30b6a6(0xc3)],this[_0x30b6a6(0xe8)],this[_0x30b6a6(0xbc)]);}),this[_0x2fb24b(0xa9)](this[_0x2fb24b(0xf6)],_0x2fb24b(0xe0),()=>{const _0xd0dca6=_0x2fb24b;this[_0xd0dca6(0xe0)]();});}[_0x5480ac(0xd8)](){const _0x2de4e0=_0x5480ac;this[_0x2de4e0(0xec)]();}async[_0x5480ac(0xb5)]({actionId:_0xfb1740,query:_0x36be09,htmlContent:_0x27b152,label:_0x58122e,mainActionLabel:_0x4d946d}){const _0x4dedf7=_0x5480ac;this[_0x4dedf7(0xf6)][_0x4dedf7(0xc1)]=_0x58122e,this[_0x4dedf7(0xf6)][_0x4dedf7(0xb1)]=_0x4d946d,this[_0x4dedf7(0xd5)]=_0x27b152,_0x36be09&&(this[_0x4dedf7(0xf6)][_0x4dedf7(0xbb)]?this[_0x4dedf7(0xe5)](_0x36be09,_0x27b152,_0xfb1740,_0x58122e):this[_0x4dedf7(0xf6)][_0x4dedf7(0xd9)](_0x4dedf7(0xc2),()=>{const _0x3a6346=_0x4dedf7;this[_0x3a6346(0xe5)](_0x36be09,_0x27b152,_0xfb1740,_0x58122e);}));}[_0x5480ac(0xe0)](){const _0x3a9ba2=_0x5480ac;this[_0x3a9ba2(0xc4)]&&(this[_0x3a9ba2(0xc4)]=!0x1,this[_0x3a9ba2(0xf6)][_0x3a9ba2(0xf8)](),this[_0x3a9ba2(0xa8)][_0x3a9ba2(0xdb)]());}[_0x5480ac(0xe7)](){const _0x26ecac=_0x5480ac;this[_0x26ecac(0xd5)]='',this[_0x26ecac(0xe4)]='',this[_0x26ecac(0xcc)]='',this[_0x26ecac(0xc3)]='',this[_0x26ecac(0xa3)]='',this[_0x26ecac(0xbc)]='',this[_0x26ecac(0xe8)]=void 0x0,this[_0x26ecac(0xf6)][_0x26ecac(0xe7)](),this[_0x26ecac(0xe0)]();}async[_0x5480ac(0xe5)](_0x238452,_0x4cdfe7,_0x352f39,_0x46f282){const _0x192d70=_0x5480ac;return this[_0x192d70(0xc4)]=!0x0,this[_0x192d70(0xf6)][_0x192d70(0xd2)](),this[_0x192d70(0xc3)]=_0x4cdfe7,this[_0x192d70(0xa3)]=_0x238452,this[_0x192d70(0xbc)]=_0x46f282||_0x238452,this[_0x192d70(0xe8)]=_0x352f39,new Promise(_0x39d4dd=>{const _0x540e60=_0x192d70;this[_0x540e60(0xa8)][_0x540e60(0xcd)]({'query':_0x238452,'context':_0x4cdfe7,'onData':_0x3c2727=>{const _0x3f2d33=_0x540e60;this[_0x3f2d33(0xcc)]=_0x3c2727,this[_0x3f2d33(0xe4)]=this[_0x3f2d33(0xa2)](this[_0x3f2d33(0xcc)]);},'actionId':_0x352f39})[_0x540e60(0xb8)](()=>{const _0x4480db=_0x540e60;!this[_0x4480db(0xe4)]&&this[_0x4480db(0xcc)]&&(this[_0x4480db(0xe4)]=this[_0x4480db(0xa2)](this[_0x4480db(0xcc)],!0x0));})[_0x540e60(0xda)](_0x187ae4=>{const _0x229838=_0x540e60;_0x187ae4 instanceof _0x507eb3?this[_0x229838(0xf6)][_0x229838(0xba)](_0x187ae4[_0x229838(0xd7)]):this[_0x229838(0xf6)][_0x229838(0xba)](),_0x39d4dd();})[_0x540e60(0xea)](()=>{const _0x2f2aa7=_0x540e60;this[_0x2f2aa7(0xe0)](),_0x39d4dd();});});}[_0x5480ac(0xa2)](_0x24619d,_0x502db1=!0x1){const _0x210201=_0x5480ac,_0x55cf97=Z[_0x210201(0xeb)](_0x24619d);_0x24619d=_0x55cf97?_0x24619d[_0x210201(0xab)](_0x55cf97[0x1][_0x210201(0xa5)]):_0x24619d[_0x210201(0xa5)]<0x64&&!_0x502db1?'':this[_0x210201(0xc8)](_0x24619d);const _0x305f5e=this[_0x210201(0xc7)][_0x210201(0xdc)](_0x24619d,_0x210201(0xe6));if(_0x55cf97){const _0x368551=Array[_0x210201(0xd3)](_0x305f5e[_0x210201(0xa0)][_0x210201(0xee)]);_0x368551[_0x210201(0xa6)]();for(const _0x515ee5 of _0x368551){if(_0x515ee5[_0x210201(0xae)]==Node[_0x210201(0x9e)])break;_0x515ee5[_0x210201(0xb7)]();}}const _0x3d86b4=this[_0x210201(0xe2)][_0x210201(0xdf)][_0x210201(0xb6)][_0x210201(0xb9)](this[_0x210201(0xbd)][_0x210201(0xef)](_0x305f5e[_0x210201(0xa0)]));return this[_0x210201(0xe3)]()||this[_0x210201(0xb0)](_0x3d86b4),this[_0x210201(0xe2)][_0x210201(0xdf)][_0x210201(0xa1)](this[_0x210201(0xe2)][_0x210201(0xdf)][_0x210201(0xc5)](_0x3d86b4));}[_0x5480ac(0xb0)](_0x2c1a53){const _0x340d7e=_0x5480ac,_0x5bbc6b=new _0x315c0a(this[_0x340d7e(0xe2)][_0x340d7e(0xbf)][_0x340d7e(0xf6)][_0x340d7e(0xde)]),_0x1b4730=new _0x5a34c3({'name':/^h[1-5]$/}),_0x40f6de=[];let _0x592f83=!0x1;for(const _0x141795 of _0x2c1a53)_0x141795['is'](_0x340d7e(0x9f))&&_0x1b4730[_0x340d7e(0xb3)](_0x141795)&&(_0x40f6de[_0x340d7e(0xf7)](_0x141795),'h1'==_0x141795[_0x340d7e(0xf2)]&&(_0x592f83=!0x0));if(_0x592f83){for(const _0x1673e9 of _0x40f6de)_0x5bbc6b[_0x340d7e(0xca)]('h'+(parseInt(_0x1673e9[_0x340d7e(0xf2)][0x1])+0x1),_0x1673e9);}}[_0x5480ac(0xe3)](){const _0x1c4fb2=_0x5480ac,{data:_0x10df93,editing:_0x218591}=this[_0x1c4fb2(0xe2)],_0x277e98=_0x10df93[_0x1c4fb2(0xac)][_0x1c4fb2(0xb9)](_0x1c4fb2(0xc6)),_0x1c7fe2=_0x10df93[_0x1c4fb2(0xb9)](_0x10df93[_0x1c4fb2(0xc5)](_0x277e98));return!!_0x218591[_0x1c4fb2(0xf6)][_0x1c4fb2(0x9d)][_0x1c4fb2(0xf3)](_0x1c7fe2)[_0x1c4fb2(0xb2)]('h1');}[_0x5480ac(0xce)](_0x146bae){const _0x1b6489=_0x5480ac;return this[_0x1b6489(0xe2)][_0x1b6489(0xbf)][_0x1b6489(0xf6)][_0x1b6489(0x9d)][_0x1b6489(0xc0)](this[_0x1b6489(0xa4)],_0x146bae),this[_0x1b6489(0xa4)][_0x1b6489(0xf5)];}[_0x5480ac(0xc8)](_0x150891){const _0x2a8b0c=_0x5480ac,_0x57993d=_0x150891[_0x2a8b0c(0xd6)]();return _0x57993d[_0x2a8b0c(0xaa)](_0x2a8b0c(0xd1))?_0x57993d[_0x2a8b0c(0xd4)](_0x2a8b0c(0xd0))?_0x57993d[_0x2a8b0c(0xab)](0x7,_0x57993d[_0x2a8b0c(0xa5)]-0x3):_0x57993d[_0x2a8b0c(0xab)](0x7):_0x150891;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x323e59=_0x4b77;function _0x4b77(_0x3d23dd,_0x4dddef){const _0x5e0802=_0x5e08();return _0x4b77=function(_0x4b779b,_0x27b991){_0x4b779b=_0x4b779b-0x6c;let _0x4ce942=_0x5e0802[_0x4b779b];return _0x4ce942;},_0x4b77(_0x3d23dd,_0x4dddef);}function _0x5e08(){const _0x5ef036=['isEnabled','locale','wheel','<span>[</span>','class','removeAllRanges','innerHTML','execute','ClipboardItem','ck-ai-form__content-area','746901RwUfiU','ck-hidden','copyButtonView','setEndBefore','getSelection','bindTemplate','651546tdFFXh','\x20ck-ai-form__copy-button--copied','-9999px','<span>]</span>','absolute','_createCopyButton','position','write','164778OPfmzj','setStartAfter','632xjkaEz','left','text/plain','change:isProcessing','check','ck-ai-form__copy-button','ck-ai-form__loader','ck-reset_all-excluded','appendLoader','Copy','ck-content','set','4dwMmBv','contentFieldView','mousedown','render','copy','7050645JTSvwV','createElement','textContent','firstElementChild','bind','smooth','loaderView','icon','isVisible','createRange','lastElementChild','ck-ai-form__content-field','AI\x20is\x20writing...','element','value','.ck-ai-form__loader','ck-ai-form__content-area--processing','appendChild','querySelector','div','listenTo','isProcessing','execCommand','focus','style','_copyHTMLToClipboard','_createLoader','clipboard','setContent','text/html','1461865JmAQDu','1246aCyJBC','remove','ck-ai-form__content-area-wrapper','body','setTemplate','addRange','change:value','1753566gbdbIo','ck-ai-form__copy-button-wrapper','scrollHeight','scrollTo'];_0x5e08=function(){return _0x5ef036;};return _0x5e08();}(function(_0x21457d,_0x1d28f6){const _0x164a39=_0x4b77,_0x1f4d08=_0x21457d();while(!![]){try{const _0x16314f=-parseInt(_0x164a39(0xa9))/0x1+parseInt(_0x164a39(0xa1))/0x2+parseInt(_0x164a39(0x9b))/0x3*(parseInt(_0x164a39(0xb7))/0x4)+parseInt(_0x164a39(0x85))/0x5+parseInt(_0x164a39(0x8d))/0x6+-parseInt(_0x164a39(0x86))/0x7*(-parseInt(_0x164a39(0xab))/0x8)+-parseInt(_0x164a39(0xbc))/0x9;if(_0x16314f===_0x1d28f6)break;else _0x1f4d08['push'](_0x1f4d08['shift']());}catch(_0x384fff){_0x1f4d08['push'](_0x1f4d08['shift']());}}}(_0x5e08,0x36fe5));import{global as _0x49535d}from'ckeditor5/src/utils.js';import{View as _0x22254a,ButtonView as _0x1a7cf2,SpinnerView as _0x40dd1d}from'ckeditor5/src/ui.js';import _0x2c0533 from'../../../theme/icons/copy.svg';import{getTranslation as _0x11795f}from'../../utils/common-translations.js';import{icons as _0xb826c5}from'ckeditor5/src/core.js';export default class W extends _0x22254a{constructor(_0x37fb25,_0x2edff3=''){const _0x5a4022=_0x4b77;super(_0x37fb25),this[_0x5a4022(0xb6)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x220c3b=this[_0x5a4022(0xa0)];this[_0x5a4022(0xb8)]=new ContentFieldView(_0x37fb25,_0x2edff3),this[_0x5a4022(0x9d)]=this[_0x5a4022(0xa6)](),this[_0x5a4022(0x8a)]({'tag':_0x5a4022(0x7a),'attributes':{'class':['ck',_0x5a4022(0x88),_0x220c3b['if'](_0x5a4022(0x6f),_0x5a4022(0x9c),_0xbc92b5=>!_0xbc92b5)],'tabindex':'-1'},'children':[{'tag':_0x5a4022(0x7a),'attributes':{'class':['ck',_0x5a4022(0x9a),_0x220c3b['if'](_0x5a4022(0x7c),_0x5a4022(0x77))]},'children':[this[_0x5a4022(0xb8)],{'tag':_0x5a4022(0x7a),'attributes':{'class':['ck',_0x5a4022(0x8e)]},'children':[this[_0x5a4022(0x9d)]]}]}]});}[_0x323e59(0xba)](){const _0x3d12be=_0x323e59;super[_0x3d12be(0xba)](),this[_0x3d12be(0x75)]&&this[_0x3d12be(0xb8)][_0x3d12be(0x83)](this[_0x3d12be(0x75)]);let _0x1e5b1c=!0x1;this['on'](_0x3d12be(0x8c),(_0x5ac3ed,_0x457361,_0x3189a3)=>{const _0x5a4815=_0x3d12be,_0xf41c2b=!this[_0x5a4815(0xb8)][_0x5a4815(0x74)][_0x5a4815(0x79)](_0x5a4815(0x76));this[_0x5a4815(0xb8)][_0x5a4815(0x83)](_0x3189a3),this[_0x5a4815(0x7c)]&&_0xf41c2b&&!_0x1e5b1c&&this[_0x5a4815(0x74)][_0x5a4815(0x90)]({'top':this[_0x5a4815(0x74)][_0x5a4815(0x8f)],'behavior':_0x5a4815(0x6c)});}),this['on'](_0x3d12be(0xae),(_0x49002f,_0x76c302,_0x1ae226)=>{const _0x3df3c9=_0x3d12be;_0x1e5b1c=!0x1,_0x1ae226?(this[_0x3df3c9(0x75)]=null,this[_0x3df3c9(0xb8)][_0x3df3c9(0xb3)]()):this[_0x3df3c9(0x75)]||this[_0x3df3c9(0xb8)][_0x3df3c9(0x83)]('');}),this[_0x3d12be(0x7b)](this[_0x3d12be(0x74)],_0x3d12be(0x93),()=>{_0x1e5b1c=!0x0;}),this[_0x3d12be(0x7b)](this[_0x3d12be(0x74)],_0x3d12be(0xb9),()=>{_0x1e5b1c=!0x0;});}[_0x323e59(0x7e)](){const _0x5a8bb0=_0x323e59;this[_0x5a8bb0(0x74)][_0x5a8bb0(0x7e)]();}[_0x323e59(0xa6)](){const _0x4edd65=_0x323e59,_0x417579=this[_0x4edd65(0x92)],_0xfeda3e=new _0x1a7cf2(this[_0x4edd65(0x92)]),_0x33fdeb=_0x4edd65(0xb0);return _0xfeda3e[_0x4edd65(0xb6)]({'label':_0x11795f(_0x417579,_0x4edd65(0xb4)),'icon':_0x2c0533,'class':_0x33fdeb,'tooltip':!0x0}),_0xfeda3e[_0x4edd65(0xc0)](_0x4edd65(0x6f))['to'](this,_0x4edd65(0x75),_0x3666eb=>!!_0x3666eb),_0xfeda3e[_0x4edd65(0xc0)](_0x4edd65(0x91))['to'](this,_0x4edd65(0x7c),_0x218a4a=>!_0x218a4a),_0xfeda3e['on'](_0x4edd65(0x98),()=>{const _0x53dcfb=_0x4edd65;this[_0x53dcfb(0x80)](this[_0x53dcfb(0xb8)][_0x53dcfb(0x74)]),_0xfeda3e[_0x53dcfb(0x6e)]=_0xb826c5[_0x53dcfb(0xaf)],_0xfeda3e[_0x53dcfb(0x95)]=_0x33fdeb+_0x53dcfb(0xa2),this[_0x53dcfb(0x7e)](),setTimeout(()=>{const _0x4ec90a=_0x53dcfb;_0xfeda3e[_0x4ec90a(0x6e)]=_0x2c0533,_0xfeda3e[_0x4ec90a(0x95)]=_0x33fdeb;},0x3e8);}),_0xfeda3e;}[_0x323e59(0x80)](_0x3181bd){const _0x27639e=_0x323e59,{window:_0x2f3fa7,document:_0x1ad2f2}=_0x49535d;if(_0x2f3fa7[_0x27639e(0x99)]){const {Blob:_0x1a557f,ClipboardItem:_0x34ca9c}=_0x2f3fa7,_0x513f29=[new _0x34ca9c({'text/html':new _0x1a557f([_0x3181bd[_0x27639e(0x97)]],{'type':_0x27639e(0x84)}),'text/plain':new _0x1a557f([_0x3181bd[_0x27639e(0xbe)]||''],{'type':_0x27639e(0xad)})})];navigator[_0x27639e(0x82)][_0x27639e(0xa8)](_0x513f29);}else{const _0x56bc56=_0x1ad2f2[_0x27639e(0xbd)](_0x27639e(0x7a));_0x56bc56[_0x27639e(0x7f)][_0x27639e(0xa7)]=_0x27639e(0xa5),_0x56bc56[_0x27639e(0x7f)][_0x27639e(0xac)]=_0x27639e(0xa3),_0x56bc56[_0x27639e(0x97)]=_0x27639e(0x94)+_0x3181bd[_0x27639e(0x97)]+_0x27639e(0xa4),_0x1ad2f2[_0x27639e(0x89)][_0x27639e(0x78)](_0x56bc56);const _0x3f1a3c=_0x1ad2f2[_0x27639e(0x70)]();_0x3f1a3c[_0x27639e(0xaa)](_0x56bc56[_0x27639e(0xbf)]),_0x3f1a3c[_0x27639e(0x9e)](_0x56bc56[_0x27639e(0x71)]);const _0x184524=_0x2f3fa7[_0x27639e(0x9f)]();_0x184524[_0x27639e(0x96)](),_0x184524[_0x27639e(0x8b)](_0x3f1a3c),_0x1ad2f2[_0x27639e(0x7d)](_0x27639e(0xbb)),_0x56bc56[_0x27639e(0x87)]();}}}export class ContentFieldView extends _0x22254a{constructor(_0xe909bc,_0x4a4296=''){const _0x399983=_0x323e59;super(_0xe909bc),this[_0x399983(0x6d)]=this[_0x399983(0x81)](),this[_0x399983(0x8a)]({'tag':_0x399983(0x7a),'attributes':{'class':['ck',_0x399983(0xb5),_0x4a4296,_0x399983(0xb2),_0x399983(0x72)]}});}[_0x323e59(0x83)](_0x36d9f6){const _0x54a9f9=_0x323e59;this[_0x54a9f9(0x74)][_0x54a9f9(0x97)]=_0x36d9f6;}[_0x323e59(0xb3)](){const _0x20eebb=_0x323e59;this[_0x20eebb(0x74)][_0x20eebb(0x78)](this[_0x20eebb(0x6d)][_0x20eebb(0x74)]);}[_0x323e59(0x81)](){const _0x491d38=_0x323e59,_0x466eea=new _0x22254a(),_0x52a10d=this[_0x491d38(0x92)],_0x9bb301=new _0x40dd1d();return _0x9bb301[_0x491d38(0x6f)]=!0x0,_0x466eea[_0x491d38(0x8a)]({'tag':_0x491d38(0x7a),'attributes':{'class':['ck',_0x491d38(0xb1)]},'children':[_0x9bb301,{'text':_0x11795f(_0x52a10d,_0x491d38(0x73))}]}),_0x466eea[_0x491d38(0xba)](),_0x466eea;}}
23
+ const _0x567ddf=_0x63a5;(function(_0x3b7921,_0x34b6e8){const _0x393ef6=_0x63a5,_0x29373d=_0x3b7921();while(!![]){try{const _0x4c0709=-parseInt(_0x393ef6(0x1de))/0x1+parseInt(_0x393ef6(0x206))/0x2*(parseInt(_0x393ef6(0x1f2))/0x3)+-parseInt(_0x393ef6(0x216))/0x4+-parseInt(_0x393ef6(0x1f1))/0x5+-parseInt(_0x393ef6(0x215))/0x6*(parseInt(_0x393ef6(0x202))/0x7)+parseInt(_0x393ef6(0x1d0))/0x8*(parseInt(_0x393ef6(0x20b))/0x9)+parseInt(_0x393ef6(0x1c4))/0xa;if(_0x4c0709===_0x34b6e8)break;else _0x29373d['push'](_0x29373d['shift']());}catch(_0x4f9280){_0x29373d['push'](_0x29373d['shift']());}}}(_0x18ba,0x1920d));import{global as _0xfa3798}from'ckeditor5/src/utils.js';import{View as _0x265048,ButtonView as _0x3159e6,SpinnerView as _0x52320b}from'ckeditor5/src/ui.js';import _0x5e8318 from'../../../theme/icons/copy.svg';function _0x18ba(){const _0x51acf6=['class','getSelection','text/html','left','ck-ai-form__content-area','21nyoosd','value','copyButtonView','ck-reset_all-excluded','138dNEWpJ','_createLoader','wheel','Copy','\x20ck-ai-form__copy-button--copied','345366ilDmLG','mousedown','style','isEnabled','-9999px','absolute','isVisible','ck-content','change:value','check','342246KkYoTr','746388vzdOPA','write','clipboard','addRange','4659040PhYOia','ck-ai-form__content-area-wrapper','smooth','contentFieldView','ck-ai-form__content-field','.ck-ai-form__loader','remove','bind','scrollHeight','ck-hidden','innerHTML','setTemplate','32dIeQYp','_createCopyButton','element','removeAllRanges','ck-ai-form__content-area--processing','div','scrollTo','copy','set','ck-ai-form__copy-button','change:isProcessing','bindTemplate','icon','setStartAfter','205002QkFpyG','isProcessing','render','locale','position','execCommand','lastElementChild','AI\x20is\x20writing...','execute','ck-ai-form__copy-button-wrapper','firstElementChild','setEndBefore','appendLoader','textContent','body','_copyHTMLToClipboard','querySelector','setContent','ClipboardItem','86855AZjxzB','2766dnOcIO','listenTo','loaderView','ck-ai-form__loader','createRange','focus','<span>]</span>','appendChild','text/plain','<span>[</span>','createElement'];_0x18ba=function(){return _0x51acf6;};return _0x18ba();}function _0x63a5(_0x22066e,_0x4e08b5){const _0x18bafd=_0x18ba();return _0x63a5=function(_0x63a570,_0x49ee1a){_0x63a570=_0x63a570-0x1c1;let _0x1a8919=_0x18bafd[_0x63a570];return _0x1a8919;},_0x63a5(_0x22066e,_0x4e08b5);}import{getTranslation as _0xd21c7f}from'../../utils/common-translations.js';import{icons as _0x1a85cc}from'ckeditor5/src/core.js';export default class W extends _0x265048{constructor(_0x21381a,_0x377650=''){const _0x5560f8=_0x63a5;super(_0x21381a),this[_0x5560f8(0x1d8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x381f59=this[_0x5560f8(0x1db)];this[_0x5560f8(0x1c7)]=new ContentFieldView(_0x21381a,_0x377650),this[_0x5560f8(0x204)]=this[_0x5560f8(0x1d1)](),this[_0x5560f8(0x1cf)]({'tag':_0x5560f8(0x1d5),'attributes':{'class':['ck',_0x5560f8(0x1c5),_0x381f59['if'](_0x5560f8(0x211),_0x5560f8(0x1cd),_0x1d463c=>!_0x1d463c)],'tabindex':'-1'},'children':[{'tag':_0x5560f8(0x1d5),'attributes':{'class':['ck',_0x5560f8(0x201),_0x381f59['if'](_0x5560f8(0x1df),_0x5560f8(0x1d4))]},'children':[this[_0x5560f8(0x1c7)],{'tag':_0x5560f8(0x1d5),'attributes':{'class':['ck',_0x5560f8(0x1e7)]},'children':[this[_0x5560f8(0x204)]]}]}]});}[_0x567ddf(0x1e0)](){const _0x398fe5=_0x567ddf;super[_0x398fe5(0x1e0)](),this[_0x398fe5(0x203)]&&this[_0x398fe5(0x1c7)][_0x398fe5(0x1ef)](this[_0x398fe5(0x203)]);let _0x59b13d=!0x1;this['on'](_0x398fe5(0x213),(_0x12155d,_0x1ba6a6,_0x11227f)=>{const _0x4d221f=_0x398fe5,_0x1f9e2f=!this[_0x4d221f(0x1c7)][_0x4d221f(0x1d2)][_0x4d221f(0x1ee)](_0x4d221f(0x1c9));this[_0x4d221f(0x1c7)][_0x4d221f(0x1ef)](_0x11227f),this[_0x4d221f(0x1df)]&&_0x1f9e2f&&!_0x59b13d&&this[_0x4d221f(0x1d2)][_0x4d221f(0x1d6)]({'top':this[_0x4d221f(0x1d2)][_0x4d221f(0x1cc)],'behavior':_0x4d221f(0x1c6)});}),this['on'](_0x398fe5(0x1da),(_0x400981,_0x547822,_0x24898c)=>{const _0x2d8d67=_0x398fe5;_0x59b13d=!0x1,_0x24898c?(this[_0x2d8d67(0x203)]=null,this[_0x2d8d67(0x1c7)][_0x2d8d67(0x1ea)]()):this[_0x2d8d67(0x203)]||this[_0x2d8d67(0x1c7)][_0x2d8d67(0x1ef)]('');}),this[_0x398fe5(0x1f3)](this[_0x398fe5(0x1d2)],_0x398fe5(0x208),()=>{_0x59b13d=!0x0;}),this[_0x398fe5(0x1f3)](this[_0x398fe5(0x1d2)],_0x398fe5(0x20c),()=>{_0x59b13d=!0x0;});}[_0x567ddf(0x1f7)](){const _0x286b3a=_0x567ddf;this[_0x286b3a(0x1d2)][_0x286b3a(0x1f7)]();}[_0x567ddf(0x1d1)](){const _0x47a3aa=_0x567ddf,_0x185160=this[_0x47a3aa(0x1e1)],_0x307645=new _0x3159e6(this[_0x47a3aa(0x1e1)]),_0xabd71f=_0x47a3aa(0x1d9);return _0x307645[_0x47a3aa(0x1d8)]({'label':_0xd21c7f(_0x185160,_0x47a3aa(0x209)),'icon':_0x5e8318,'class':_0xabd71f,'tooltip':!0x0}),_0x307645[_0x47a3aa(0x1cb)](_0x47a3aa(0x211))['to'](this,_0x47a3aa(0x203),_0x1ae229=>!!_0x1ae229),_0x307645[_0x47a3aa(0x1cb)](_0x47a3aa(0x20e))['to'](this,_0x47a3aa(0x1df),_0x4b6e5b=>!_0x4b6e5b),_0x307645['on'](_0x47a3aa(0x1e6),()=>{const _0x2c467e=_0x47a3aa;this[_0x2c467e(0x1ed)](this[_0x2c467e(0x1c7)][_0x2c467e(0x1d2)]),_0x307645[_0x2c467e(0x1dc)]=_0x1a85cc[_0x2c467e(0x214)],_0x307645[_0x2c467e(0x1fd)]=_0xabd71f+_0x2c467e(0x20a),this[_0x2c467e(0x1f7)](),setTimeout(()=>{const _0x18b4fd=_0x2c467e;_0x307645[_0x18b4fd(0x1dc)]=_0x5e8318,_0x307645[_0x18b4fd(0x1fd)]=_0xabd71f;},0x3e8);}),_0x307645;}[_0x567ddf(0x1ed)](_0x4c913b){const _0x37a4b3=_0x567ddf,{window:_0xa137da,document:_0x549a1c}=_0xfa3798;if(_0xa137da[_0x37a4b3(0x1f0)]){const {Blob:_0x23cb2a,ClipboardItem:_0xbf2904}=_0xa137da,_0x57cbd2=[new _0xbf2904({'text/html':new _0x23cb2a([_0x4c913b[_0x37a4b3(0x1ce)]],{'type':_0x37a4b3(0x1ff)}),'text/plain':new _0x23cb2a([_0x4c913b[_0x37a4b3(0x1eb)]||''],{'type':_0x37a4b3(0x1fa)})})];navigator[_0x37a4b3(0x1c2)][_0x37a4b3(0x1c1)](_0x57cbd2);}else{const _0x53fc96=_0x549a1c[_0x37a4b3(0x1fc)](_0x37a4b3(0x1d5));_0x53fc96[_0x37a4b3(0x20d)][_0x37a4b3(0x1e2)]=_0x37a4b3(0x210),_0x53fc96[_0x37a4b3(0x20d)][_0x37a4b3(0x200)]=_0x37a4b3(0x20f),_0x53fc96[_0x37a4b3(0x1ce)]=_0x37a4b3(0x1fb)+_0x4c913b[_0x37a4b3(0x1ce)]+_0x37a4b3(0x1f8),_0x549a1c[_0x37a4b3(0x1ec)][_0x37a4b3(0x1f9)](_0x53fc96);const _0x432fea=_0x549a1c[_0x37a4b3(0x1f6)]();_0x432fea[_0x37a4b3(0x1dd)](_0x53fc96[_0x37a4b3(0x1e8)]),_0x432fea[_0x37a4b3(0x1e9)](_0x53fc96[_0x37a4b3(0x1e4)]);const _0xb5f914=_0xa137da[_0x37a4b3(0x1fe)]();_0xb5f914[_0x37a4b3(0x1d3)](),_0xb5f914[_0x37a4b3(0x1c3)](_0x432fea),_0x549a1c[_0x37a4b3(0x1e3)](_0x37a4b3(0x1d7)),_0x53fc96[_0x37a4b3(0x1ca)]();}}}export class ContentFieldView extends _0x265048{constructor(_0x46a6fa,_0x56704e=''){const _0x43d978=_0x567ddf;super(_0x46a6fa),this[_0x43d978(0x1f4)]=this[_0x43d978(0x207)](),this[_0x43d978(0x1cf)]({'tag':_0x43d978(0x1d5),'attributes':{'class':['ck',_0x43d978(0x212),_0x56704e,_0x43d978(0x205),_0x43d978(0x1c8)]}});}[_0x567ddf(0x1ef)](_0x21ef8b){const _0x10a92d=_0x567ddf;this[_0x10a92d(0x1d2)][_0x10a92d(0x1ce)]=_0x21ef8b;}[_0x567ddf(0x1ea)](){const _0x589e3e=_0x567ddf;this[_0x589e3e(0x1d2)][_0x589e3e(0x1f9)](this[_0x589e3e(0x1f4)][_0x589e3e(0x1d2)]);}[_0x567ddf(0x207)](){const _0x41c808=_0x567ddf,_0x2dc5f7=new _0x265048(),_0x348656=this[_0x41c808(0x1e1)],_0x3a4699=new _0x52320b();return _0x3a4699[_0x41c808(0x211)]=!0x0,_0x2dc5f7[_0x41c808(0x1cf)]({'tag':_0x41c808(0x1d5),'attributes':{'class':['ck',_0x41c808(0x1f5)]},'children':[_0x3a4699,{'text':_0xd21c7f(_0x348656,_0x41c808(0x1e5))}]}),_0x2dc5f7[_0x41c808(0x1e0)](),_0x2dc5f7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3ee84c,_0x195274){const _0x31b770=_0x25d4,_0x3c78e7=_0x3ee84c();while(!![]){try{const _0x183af9=parseInt(_0x31b770(0x85))/0x1*(parseInt(_0x31b770(0x8d))/0x2)+-parseInt(_0x31b770(0x8f))/0x3+-parseInt(_0x31b770(0x89))/0x4+parseInt(_0x31b770(0x87))/0x5+parseInt(_0x31b770(0x8c))/0x6+-parseInt(_0x31b770(0x95))/0x7*(parseInt(_0x31b770(0x8b))/0x8)+parseInt(_0x31b770(0x86))/0x9*(-parseInt(_0x31b770(0x91))/0xa);if(_0x183af9===_0x195274)break;else _0x3c78e7['push'](_0x3c78e7['shift']());}catch(_0x1e6aea){_0x3c78e7['push'](_0x3c78e7['shift']());}}}(_0x3aa3,0x1d6cb));function _0x25d4(_0x27c74e,_0x707c02){const _0x3aa3b8=_0x3aa3();return _0x25d4=function(_0x25d4f7,_0x34e224){_0x25d4f7=_0x25d4f7-0x85;let _0x21c833=_0x3aa3b8[_0x25d4f7];return _0x21c833;},_0x25d4(_0x27c74e,_0x707c02);}import{View as _0x1b2625,IconView as _0x1710b5}from'ckeditor5/src/ui.js';import _0x425f5a from'../../../theme/icons/error.svg';export default class tt extends _0x1b2625{constructor(_0x392d1b,_0x542fb7=''){const _0x411398=_0x25d4;super(_0x392d1b);const _0x116af1=new _0x1710b5(),_0x16d547=this[_0x411398(0x90)];this[_0x411398(0x88)](_0x411398(0x92),_0x542fb7),_0x116af1[_0x411398(0x8a)]=_0x425f5a,this[_0x411398(0x8e)]({'tag':_0x411398(0x94),'attributes':{'class':['ck',_0x411398(0x93)]},'children':[_0x116af1,{'text':_0x16d547['to'](_0x411398(0x92))}]});}}function _0x3aa3(){const _0x398296=['bindTemplate','411490phAzZW','text','ck-ai-form__error','div','196wNlgTc','1GheZRb','9otfCoR','806935sWdcUH','set','255388JghwPH','content','43592LHFdZt','1126158WQJXav','225016HgWIpd','setTemplate','250491QOBRGL'];_0x3aa3=function(){return _0x398296;};return _0x3aa3();}
23
+ function _0x35e0(){const _0x4730ce=['bindTemplate','35Uqxbmp','108jWTqXi','12215dospxB','ck-ai-form__error','99105XdGLkU','text','149352HyckET','116lvUPhI','9629708WgqcpP','10cYZEss','content','div','144934FSDMGS','set','759618Srpqmt','20571tgqCmh','setTemplate'];_0x35e0=function(){return _0x4730ce;};return _0x35e0();}(function(_0x26e9db,_0x107037){const _0x3fd1b7=_0x4d98,_0x34a724=_0x26e9db();while(!![]){try{const _0x342c4f=-parseInt(_0x3fd1b7(0x71))/0x1+parseInt(_0x3fd1b7(0x69))/0x2+-parseInt(_0x3fd1b7(0x6c))/0x3*(parseInt(_0x3fd1b7(0x76))/0x4)+parseInt(_0x3fd1b7(0x73))/0x5*(-parseInt(_0x3fd1b7(0x70))/0x6)+parseInt(_0x3fd1b7(0x6f))/0x7*(-parseInt(_0x3fd1b7(0x75))/0x8)+-parseInt(_0x3fd1b7(0x6b))/0x9+parseInt(_0x3fd1b7(0x66))/0xa*(parseInt(_0x3fd1b7(0x65))/0xb);if(_0x342c4f===_0x107037)break;else _0x34a724['push'](_0x34a724['shift']());}catch(_0x3b085b){_0x34a724['push'](_0x34a724['shift']());}}}(_0x35e0,0x3163e));import{View as _0x2eb84d,IconView as _0x1e98cc}from'ckeditor5/src/ui.js';function _0x4d98(_0xb2c2e8,_0x51dba4){const _0x35e0a6=_0x35e0();return _0x4d98=function(_0x4d9840,_0x3e2169){_0x4d9840=_0x4d9840-0x65;let _0x27c30e=_0x35e0a6[_0x4d9840];return _0x27c30e;},_0x4d98(_0xb2c2e8,_0x51dba4);}import _0x2c3381 from'../../../theme/icons/error.svg';export default class tt extends _0x2eb84d{constructor(_0x1655b1,_0x504d0d=''){const _0x104931=_0x4d98;super(_0x1655b1);const _0x5d2609=new _0x1e98cc(),_0x170117=this[_0x104931(0x6e)];this[_0x104931(0x6a)](_0x104931(0x74),_0x504d0d),_0x5d2609[_0x104931(0x67)]=_0x2c3381,this[_0x104931(0x6d)]({'tag':_0x104931(0x68),'attributes':{'class':['ck',_0x104931(0x72)]},'children':[_0x5d2609,{'text':_0x170117['to'](_0x104931(0x74))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf681(){const _0x450171=['focusFirst','element','8032668efAitj','2744424MevrYE','_createShowHistoryButton','12959230luuzYm','width','6umhFIE','isVisible','focusableChildren','requestAnimationFrame','2612223ulcNfz','699498bQwEMb','focusLast','target','update','excludeScrollbarsAndBorders','isEnabled','uiLanguageDirection','_createSubmitButton','isOn','queryView','279022FgqpEM','History','history','minRows','submit','keystrokes','fire','add','style','showHistoryButtonView','focus','locale','rtl','enter','ck-ai-form__toggle-history','focusCycler','1295450dmnufC','execute','ck-ai-form__submit','filteredView','Submit','fieldView','children','11PSyzjY','fieldWrapperChildren','isEmpty','render','bind','window','maxRows','resultsView','3gclINM','left','set','12sXqNsD','right','submitButtonView','value'];_0xf681=function(){return _0x450171;};return _0xf681();}const _0xe9c0f2=_0x2c24;(function(_0x412633,_0x58b938){const _0x3210f8=_0x2c24,_0xa3e2d9=_0x412633();while(!![]){try{const _0x5ca5cd=parseInt(_0x3210f8(0x21e))/0x1*(parseInt(_0x3210f8(0x1ff))/0x2)+parseInt(_0x3210f8(0x1f5))/0x3*(parseInt(_0x3210f8(0x221))/0x4)+parseInt(_0x3210f8(0x20f))/0x5*(parseInt(_0x3210f8(0x1f0))/0x6)+parseInt(_0x3210f8(0x227))/0x7+-parseInt(_0x3210f8(0x228))/0x8+-parseInt(_0x3210f8(0x1f4))/0x9+parseInt(_0x3210f8(0x1ee))/0xa*(-parseInt(_0x3210f8(0x216))/0xb);if(_0x5ca5cd===_0x58b938)break;else _0xa3e2d9['push'](_0xa3e2d9['shift']());}catch(_0xab53d8){_0xa3e2d9['push'](_0xa3e2d9['shift']());}}}(_0xf681,0x915de));function _0x2c24(_0x57da95,_0x452a74){const _0xf681fd=_0xf681();return _0x2c24=function(_0x2c2467,_0x11c1a4){_0x2c2467=_0x2c2467-0x1ee;let _0x1941f3=_0xf681fd[_0x2c2467];return _0x1941f3;},_0x2c24(_0x57da95,_0x452a74);}import{Rect as _0x22d267,global as _0x1fb69c,isVisible as _0x46f14d}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x354c8d,ButtonView as _0x1a4a23}from'ckeditor5/src/ui.js';import{icons as _0x3cd714}from'ckeditor5/src/core.js';import{getTranslation as _0xe8269c}from'../../utils/common-translations.js';import _0x5a938a from'../../../theme/icons/submit.svg';export default class ht extends _0x354c8d{constructor(_0x2694e0,_0x3f5d00){const _0xbec1af=_0x2c24;super(_0x2694e0,_0x3f5d00),this[_0xbec1af(0x1fe)][_0xbec1af(0x214)][_0xbec1af(0x202)]=0x1,this[_0xbec1af(0x1fe)][_0xbec1af(0x214)][_0xbec1af(0x21c)]=0x3,this[_0xbec1af(0x223)]=this[_0xbec1af(0x1fc)](),this[_0xbec1af(0x208)]=this[_0xbec1af(0x229)](),this[_0xbec1af(0x1f2)][_0xbec1af(0x206)](this[_0xbec1af(0x208)],0x1),this[_0xbec1af(0x1f2)][_0xbec1af(0x206)](this[_0xbec1af(0x223)]);}[_0xe9c0f2(0x219)](){const _0x3dfab0=_0xe9c0f2;super[_0x3dfab0(0x219)](),this[_0x3dfab0(0x1fe)][_0x3dfab0(0x217)][_0x3dfab0(0x206)](this[_0x3dfab0(0x208)]),this[_0x3dfab0(0x215)][_0x3dfab0(0x206)](this[_0x3dfab0(0x223)]),this[_0x3dfab0(0x204)][_0x3dfab0(0x220)](_0x3dfab0(0x20c),(_0xc324de,_0x57df57)=>{const _0x363aa7=_0x3dfab0;_0xc324de[_0x363aa7(0x1f7)]==this[_0x363aa7(0x1fe)][_0x363aa7(0x214)][_0x363aa7(0x226)]&&(this[_0x363aa7(0x203)](),_0x57df57());});}[_0xe9c0f2(0x1fc)](){const _0x3fb8d4=_0xe9c0f2,_0x2cb0d1=new _0x1a4a23(this[_0x3fb8d4(0x20a)]),_0x46b6ee=this[_0x3fb8d4(0x20a)];return _0x2cb0d1[_0x3fb8d4(0x220)]({'icon':_0x5a938a,'label':_0xe8269c(_0x46b6ee,_0x3fb8d4(0x213)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3fb8d4(0x211)}),_0x2cb0d1['on'](_0x3fb8d4(0x210),()=>{const _0x7c346e=_0x3fb8d4;this[_0x7c346e(0x203)]();}),_0x2cb0d1[_0x3fb8d4(0x21a)](_0x3fb8d4(0x1fa))['to'](this[_0x3fb8d4(0x1fe)][_0x3fb8d4(0x214)],_0x3fb8d4(0x218),this,_0x3fb8d4(0x1fa),(_0x20245e,_0x262f6a)=>!_0x20245e&&_0x262f6a),_0x2cb0d1;}[_0xe9c0f2(0x229)](){const _0x46efd7=_0xe9c0f2,_0x53e2e6=new _0x1a4a23(this[_0x46efd7(0x20a)]),_0x1d483b=this[_0x46efd7(0x21d)],_0x38cc01=this[_0x46efd7(0x20a)];_0x53e2e6[_0x46efd7(0x220)]({'label':_0xe8269c(_0x38cc01,_0x46efd7(0x200)),'withText':!0x1,'icon':_0x3cd714[_0x46efd7(0x201)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x46efd7(0x20d)}),_0x53e2e6[_0x46efd7(0x21a)](_0x46efd7(0x1fd))['to'](_0x1d483b,_0x46efd7(0x1f1)),_0x53e2e6[_0x46efd7(0x21a)](_0x46efd7(0x1fa))['to'](this,_0x46efd7(0x1fa)),_0x53e2e6['on'](_0x46efd7(0x210),()=>{const _0x2ac650=_0x46efd7;_0x1d483b[_0x2ac650(0x1f1)]=!_0x1d483b[_0x2ac650(0x1f1)],_0x1d483b[_0x2ac650(0x1f1)]?this[_0x2ac650(0x212)][_0x2ac650(0x209)]():this[_0x2ac650(0x209)]();});const _0x244a34=()=>{const _0x2673d7=_0x46efd7;_0x1fb69c[_0x2673d7(0x21b)][_0x2673d7(0x1f3)](()=>{const _0x455104=_0x2673d7;if(_0x46f14d(this[_0x455104(0x226)])){const _0x5b7c55=new _0x22d267(this[_0x455104(0x1fe)][_0x455104(0x214)][_0x455104(0x226)]),_0x509ab1=_0x5b7c55[_0x455104(0x1ef)],_0x572e3a=_0x455104(0x20b)===_0x38cc01[_0x455104(0x1fb)]?_0x455104(0x21f):_0x455104(0x222);_0x5b7c55[_0x455104(0x1f9)](),_0x53e2e6[_0x455104(0x226)][_0x455104(0x207)][_0x572e3a]=_0x509ab1-_0x5b7c55[_0x455104(0x1ef)]+0x1+'px';}});};return this[_0x46efd7(0x1fe)][_0x46efd7(0x214)]['on'](_0x46efd7(0x1f8),_0x244a34),this['on'](_0x46efd7(0x219),_0x244a34),_0x53e2e6;}[_0xe9c0f2(0x203)](){const _0x29f18c=_0xe9c0f2,_0x2cf3de=this[_0x29f18c(0x1fe)][_0x29f18c(0x214)][_0x29f18c(0x226)][_0x29f18c(0x224)];this[_0x29f18c(0x205)](_0x29f18c(0x203),_0x2cf3de);}[_0xe9c0f2(0x209)](_0x42ac34){const _0x3840a2=_0xe9c0f2;-0x1===_0x42ac34?this[_0x3840a2(0x20e)][_0x3840a2(0x1f6)]():this[_0x3840a2(0x20e)][_0x3840a2(0x225)]();}}
23
+ const _0x582825=_0x5a27;(function(_0x5a0a0c,_0x3178c8){const _0x1d67ef=_0x5a27,_0x5ed65c=_0x5a0a0c();while(!![]){try{const _0x2e7d90=parseInt(_0x1d67ef(0xa6))/0x1*(parseInt(_0x1d67ef(0xaf))/0x2)+-parseInt(_0x1d67ef(0xbc))/0x3*(-parseInt(_0x1d67ef(0xad))/0x4)+-parseInt(_0x1d67ef(0xcb))/0x5+-parseInt(_0x1d67ef(0xae))/0x6+-parseInt(_0x1d67ef(0xcd))/0x7*(-parseInt(_0x1d67ef(0xb2))/0x8)+parseInt(_0x1d67ef(0xa5))/0x9+parseInt(_0x1d67ef(0xa0))/0xa*(-parseInt(_0x1d67ef(0xcf))/0xb);if(_0x2e7d90===_0x3178c8)break;else _0x5ed65c['push'](_0x5ed65c['shift']());}catch(_0x33a79c){_0x5ed65c['push'](_0x5ed65c['shift']());}}}(_0x49bc,0x3ea8a));function _0x5a27(_0x20668f,_0x58a7d2){const _0x49bca3=_0x49bc();return _0x5a27=function(_0x5a27d0,_0x3206d6){_0x5a27d0=_0x5a27d0-0x9f;let _0x1962c8=_0x49bca3[_0x5a27d0];return _0x1962c8;},_0x5a27(_0x20668f,_0x58a7d2);}import{Rect as _0x48c06e,global as _0x1f1c22,isVisible as _0x33bd34}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1c4d5f,ButtonView as _0x2577b3}from'ckeditor5/src/ui.js';function _0x49bc(){const _0x5483d9=['fire','keystrokes','2266945UZFKLQ','value','217NPFFGg','requestAnimationFrame','4290011PgOCkW','update','bind','focusFirst','filteredView','target','submit','rtl','isOn','isVisible','element','history','_createSubmitButton','10pookKZ','showHistoryButtonView','fieldWrapperChildren','right','execute','4572504sVFPpL','1EKAlef','minRows','History','add','Submit','enter','ck-ai-form__toggle-history','6088fDMHnw','824484rAlpXu','108002wHKnhh','isEmpty','focusLast','64712AGGzXw','_createShowHistoryButton','submitButtonView','render','isEnabled','excludeScrollbarsAndBorders','locale','children','focus','maxRows','837ZndMOe','set','left','width','focusCycler','fieldView','resultsView','queryView','ck-ai-form__submit','uiLanguageDirection','focusableChildren','style','window'];_0x49bc=function(){return _0x5483d9;};return _0x49bc();}import{icons as _0x3655d5}from'ckeditor5/src/core.js';import{getTranslation as _0x597568}from'../../utils/common-translations.js';import _0x231dab from'../../../theme/icons/submit.svg';export default class ht extends _0x1c4d5f{constructor(_0x411dc1,_0x32a7ed){const _0x36dda3=_0x5a27;super(_0x411dc1,_0x32a7ed),this[_0x36dda3(0xc3)][_0x36dda3(0xc1)][_0x36dda3(0xa7)]=0x1,this[_0x36dda3(0xc3)][_0x36dda3(0xc1)][_0x36dda3(0xbb)]=0x3,this[_0x36dda3(0xb4)]=this[_0x36dda3(0x9f)](),this[_0x36dda3(0xa1)]=this[_0x36dda3(0xb3)](),this[_0x36dda3(0xc6)][_0x36dda3(0xa9)](this[_0x36dda3(0xa1)],0x1),this[_0x36dda3(0xc6)][_0x36dda3(0xa9)](this[_0x36dda3(0xb4)]);}[_0x582825(0xb5)](){const _0x2b2fe1=_0x582825;super[_0x2b2fe1(0xb5)](),this[_0x2b2fe1(0xc3)][_0x2b2fe1(0xa2)][_0x2b2fe1(0xa9)](this[_0x2b2fe1(0xa1)]),this[_0x2b2fe1(0xb9)][_0x2b2fe1(0xa9)](this[_0x2b2fe1(0xb4)]),this[_0x2b2fe1(0xca)][_0x2b2fe1(0xbd)](_0x2b2fe1(0xab),(_0x523cb3,_0x3e55c)=>{const _0x52a76=_0x2b2fe1;_0x523cb3[_0x52a76(0xd4)]==this[_0x52a76(0xc3)][_0x52a76(0xc1)][_0x52a76(0xd9)]&&(this[_0x52a76(0xd5)](),_0x3e55c());});}[_0x582825(0x9f)](){const _0x40af7d=_0x582825,_0x3624c7=new _0x2577b3(this[_0x40af7d(0xb8)]),_0x19fb42=this[_0x40af7d(0xb8)];return _0x3624c7[_0x40af7d(0xbd)]({'icon':_0x231dab,'label':_0x597568(_0x19fb42,_0x40af7d(0xaa)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x40af7d(0xc4)}),_0x3624c7['on'](_0x40af7d(0xa4),()=>{const _0x4a60d5=_0x40af7d;this[_0x4a60d5(0xd5)]();}),_0x3624c7[_0x40af7d(0xd1)](_0x40af7d(0xb6))['to'](this[_0x40af7d(0xc3)][_0x40af7d(0xc1)],_0x40af7d(0xb0),this,_0x40af7d(0xb6),(_0x51219b,_0xb639bc)=>!_0x51219b&&_0xb639bc),_0x3624c7;}[_0x582825(0xb3)](){const _0xcc24e1=_0x582825,_0x1662b6=new _0x2577b3(this[_0xcc24e1(0xb8)]),_0x45d242=this[_0xcc24e1(0xc2)],_0x20ea37=this[_0xcc24e1(0xb8)];_0x1662b6[_0xcc24e1(0xbd)]({'label':_0x597568(_0x20ea37,_0xcc24e1(0xa8)),'withText':!0x1,'icon':_0x3655d5[_0xcc24e1(0xda)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0xcc24e1(0xac)}),_0x1662b6[_0xcc24e1(0xd1)](_0xcc24e1(0xd7))['to'](_0x45d242,_0xcc24e1(0xd8)),_0x1662b6[_0xcc24e1(0xd1)](_0xcc24e1(0xb6))['to'](this,_0xcc24e1(0xb6)),_0x1662b6['on'](_0xcc24e1(0xa4),()=>{const _0x39bddf=_0xcc24e1;_0x45d242[_0x39bddf(0xd8)]=!_0x45d242[_0x39bddf(0xd8)],_0x45d242[_0x39bddf(0xd8)]?this[_0x39bddf(0xd3)][_0x39bddf(0xba)]():this[_0x39bddf(0xba)]();});const _0x5e80ca=()=>{const _0xea1384=_0xcc24e1;_0x1f1c22[_0xea1384(0xc8)][_0xea1384(0xce)](()=>{const _0x20020a=_0xea1384;if(_0x33bd34(this[_0x20020a(0xd9)])){const _0x44f7b5=new _0x48c06e(this[_0x20020a(0xc3)][_0x20020a(0xc1)][_0x20020a(0xd9)]),_0x3861d3=_0x44f7b5[_0x20020a(0xbf)],_0x22c9b9=_0x20020a(0xd6)===_0x20ea37[_0x20020a(0xc5)]?_0x20020a(0xbe):_0x20020a(0xa3);_0x44f7b5[_0x20020a(0xb7)](),_0x1662b6[_0x20020a(0xd9)][_0x20020a(0xc7)][_0x22c9b9]=_0x3861d3-_0x44f7b5[_0x20020a(0xbf)]+0x1+'px';}});};return this[_0xcc24e1(0xc3)][_0xcc24e1(0xc1)]['on'](_0xcc24e1(0xd0),_0x5e80ca),this['on'](_0xcc24e1(0xb5),_0x5e80ca),_0x1662b6;}[_0x582825(0xd5)](){const _0x508c56=_0x582825,_0x29a6f4=this[_0x508c56(0xc3)][_0x508c56(0xc1)][_0x508c56(0xd9)][_0x508c56(0xcc)];this[_0x508c56(0xc9)](_0x508c56(0xd5),_0x29a6f4);}[_0x582825(0xba)](_0x5e3fff){const _0x26a353=_0x582825;-0x1===_0x5e3fff?this[_0x26a353(0xc0)][_0x26a353(0xb1)]():this[_0x26a353(0xc0)][_0x26a353(0xd2)]();}}