@ckeditor/ckeditor5-ai 46.0.0-alpha.3 → 46.0.0-alpha.5

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 (170) 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/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22890e=_0x7a49;(function(_0x19b230,_0x3e2abf){const _0x2ddcaa=_0x7a49,_0x579e0c=_0x19b230();while(!![]){try{const _0x16471a=-parseInt(_0x2ddcaa(0x1ef))/0x1+parseInt(_0x2ddcaa(0x218))/0x2*(parseInt(_0x2ddcaa(0x226))/0x3)+-parseInt(_0x2ddcaa(0x1ec))/0x4+parseInt(_0x2ddcaa(0x1f0))/0x5*(-parseInt(_0x2ddcaa(0x224))/0x6)+parseInt(_0x2ddcaa(0x22c))/0x7+parseInt(_0x2ddcaa(0x1be))/0x8*(parseInt(_0x2ddcaa(0x1c9))/0x9)+-parseInt(_0x2ddcaa(0x1c0))/0xa*(-parseInt(_0x2ddcaa(0x1e8))/0xb);if(_0x16471a===_0x3e2abf)break;else _0x579e0c['push'](_0x579e0c['shift']());}catch(_0x5762d5){_0x579e0c['push'](_0x579e0c['shift']());}}}(_0x14ab,0x6733e));function _0x14ab(){const _0x17be91=['continue','English','translatePortuguese','translateSpanish','Translate\x20the\x20content\x20to\x20Spanish\x20language.','makeShorter','isOfficialPlugin','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Casual','Simplify\x20language','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','pluginName','Simplified\x20Chinese','ai.aiAssistant.removeCommands','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20English\x20language.','Portuguese','Continue','Direct','Arabic','Professional','Legal','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Summarize','14vWaZjZ','locale','Change\x20style','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','translateEnglish','Hindi','business','filter','legal','set','Friendly','6MCKiZG','forEach','177186RKfQla','journalism','includes','simplifyLanguage','casual','Translate\x20the\x20content\x20to\x20French\x20language.','2798964kPYJcZ','ai.aiAssistant.commands','1192ZjKaVC','find','10sXhwze','define','makeLonger','Translate','isPremiumPlugin','translateGerman','Confident','Spanish','AIAssistant','6309sNFLvN','editOrReview','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','translateFrench','confident','translate','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Make\x20longer','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Poetic','professional','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','ai.aiAssistant.preserveComments','Make\x20shorter','changeStyle','concat','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20writing','requires','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Edit\x20or\x20review','improveWriting','get','Business','Translate\x20the\x20content\x20to\x20German\x20language.','translateArabic','translateChinese','summarize','friendly','5305894NZllBh','direct','groupId','generate','2993008MXVjaS','Journalism','poetic','181888kpjbMa','236155DXjAwL','German','changeTone','ai.aiAssistant.extraCommandGroups','Change\x20tone','config','push','French','translateHindi','commands','Translate\x20the\x20content\x20to\x20Arabic\x20language.'];_0x14ab=function(){return _0x17be91;};return _0x14ab();}import{Plugin as _0x106f7c}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x5448bd}from'./aiassistantui.js';import{AIAssistantEditing as _0x4c8a91}from'./aiassistantediting.js';import{getTranslation as _0x1429e0}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x147f3f}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x106f7c{static get[_0x22890e(0x1dd)](){return[_0x5448bd,_0x4c8a91];}static get[_0x22890e(0x207)](){const _0x376218=_0x22890e;return _0x376218(0x1c8);}static get[_0x22890e(0x201)](){return!0x0;}static get[_0x22890e(0x1c4)](){return!0x0;}constructor(_0x571b4e){const _0xed0f00=_0x22890e;super(_0x571b4e);const _0x5f3458=_0x571b4e[_0xed0f00(0x1f5)],_0x3887bd=_0x571b4e[_0xed0f00(0x219)];_0x5f3458[_0xed0f00(0x1c1)](_0xed0f00(0x1d5),!0x0),_0x5f3458[_0xed0f00(0x1c1)](_0xed0f00(0x1bd),getDefaultAICommands(_0x3887bd)),_0x5f3458[_0xed0f00(0x1c1)](_0xed0f00(0x1f3),[]),_0x5f3458[_0xed0f00(0x1c1)](_0xed0f00(0x209),[]);let _0x10c7e1=_0x147f3f(_0x5f3458[_0xed0f00(0x1e1)](_0xed0f00(0x1bd)),_0x3887bd);const _0x44037a=_0x5f3458[_0xed0f00(0x1e1)](_0xed0f00(0x1f3)),_0x42a16b=_0x5f3458[_0xed0f00(0x1e1)](_0xed0f00(0x209));_0x44037a[_0xed0f00(0x225)](_0x19820e=>{const _0x4642e5=_0xed0f00,_0xbfc15f=_0x10c7e1[_0x4642e5(0x1bf)](_0x12e187=>_0x12e187[_0x4642e5(0x1ea)]===_0x19820e[_0x4642e5(0x1ea)]);_0xbfc15f?_0xbfc15f[_0x4642e5(0x1f9)]=_0xbfc15f[_0x4642e5(0x1f9)][_0x4642e5(0x1d8)](_0x19820e[_0x4642e5(0x1f9)]):_0x10c7e1[_0x4642e5(0x1f6)](_0x19820e);}),_0x10c7e1=_0x10c7e1[_0xed0f00(0x220)](_0x3b8d68=>!_0x42a16b[_0xed0f00(0x228)](_0x3b8d68[_0xed0f00(0x1ea)])),_0x10c7e1[_0xed0f00(0x225)](_0xd3866b=>{const _0x320e4a=_0xed0f00;_0xd3866b[_0x320e4a(0x1f9)]=_0xd3866b[_0x320e4a(0x1f9)][_0x320e4a(0x220)](_0x115f75=>!_0x42a16b[_0x320e4a(0x228)](_0x115f75['id']));}),_0x5f3458[_0xed0f00(0x222)](_0xed0f00(0x1bd),_0x10c7e1);}}function _0x7a49(_0x24a2c5,_0x5ee0a3){const _0x14ab9b=_0x14ab();return _0x7a49=function(_0x7a492,_0x13431a){_0x7a492=_0x7a492-0x1bd;let _0xad3d38=_0x14ab9b[_0x7a492];return _0xad3d38;},_0x7a49(_0x24a2c5,_0x5ee0a3);}export function getDefaultAICommands(_0x216932){const _0x9a3def=_0x22890e;return[{'groupId':_0x9a3def(0x1ca),'groupLabel':_0x1429e0(_0x216932,_0x9a3def(0x1df)),'commands':[{'id':_0x9a3def(0x1e0),'label':_0x1429e0(_0x216932,_0x9a3def(0x1dc)),'prompt':_0x9a3def(0x21b)},{'id':_0x9a3def(0x200),'label':_0x1429e0(_0x216932,_0x9a3def(0x1d6)),'prompt':_0x9a3def(0x1da)},{'id':_0x9a3def(0x1c2),'label':_0x1429e0(_0x216932,_0x9a3def(0x1d0)),'prompt':_0x9a3def(0x202)},{'id':_0x9a3def(0x229),'label':_0x1429e0(_0x216932,_0x9a3def(0x205)),'prompt':_0x9a3def(0x1d4)}]},{'groupId':_0x9a3def(0x1eb),'groupLabel':_0x1429e0(_0x216932,_0x9a3def(0x20b)),'commands':[{'id':_0x9a3def(0x1e6),'label':_0x1429e0(_0x216932,_0x9a3def(0x217)),'prompt':_0x9a3def(0x215)},{'id':_0x9a3def(0x1fb),'label':_0x1429e0(_0x216932,_0x9a3def(0x20e)),'prompt':_0x9a3def(0x1db)}]},{'groupId':_0x9a3def(0x1f2),'groupLabel':_0x1429e0(_0x216932,_0x9a3def(0x1f4)),'commands':[{'id':_0x9a3def(0x1d3),'label':_0x1429e0(_0x216932,_0x9a3def(0x211)),'prompt':_0x9a3def(0x20a)},{'id':_0x9a3def(0x22a),'label':_0x1429e0(_0x216932,_0x9a3def(0x204)),'prompt':_0x9a3def(0x213)},{'id':_0x9a3def(0x1e9),'label':_0x1429e0(_0x216932,_0x9a3def(0x20f)),'prompt':_0x9a3def(0x21c)},{'id':_0x9a3def(0x1cd),'label':_0x1429e0(_0x216932,_0x9a3def(0x1c6)),'prompt':_0x9a3def(0x1d1)},{'id':_0x9a3def(0x1e7),'label':_0x1429e0(_0x216932,_0x9a3def(0x223)),'prompt':_0x9a3def(0x214)}]},{'groupId':_0x9a3def(0x1d7),'groupLabel':_0x1429e0(_0x216932,_0x9a3def(0x21a)),'commands':[{'id':_0x9a3def(0x21f),'label':_0x1429e0(_0x216932,_0x9a3def(0x1e2)),'prompt':_0x9a3def(0x1de)},{'id':_0x9a3def(0x221),'label':_0x1429e0(_0x216932,_0x9a3def(0x212)),'prompt':_0x9a3def(0x1cb)},{'id':_0x9a3def(0x227),'label':_0x1429e0(_0x216932,_0x9a3def(0x1ed)),'prompt':_0x9a3def(0x206)},{'id':_0x9a3def(0x1ee),'label':_0x1429e0(_0x216932,_0x9a3def(0x1d2)),'prompt':_0x9a3def(0x203)}]},{'groupId':_0x9a3def(0x1ce),'groupLabel':_0x1429e0(_0x216932,_0x9a3def(0x1c3)),'commands':[{'id':_0x9a3def(0x21d),'label':_0x1429e0(_0x216932,_0x9a3def(0x1fc)),'prompt':_0x9a3def(0x20c)},{'id':_0x9a3def(0x1fe),'label':_0x1429e0(_0x216932,_0x9a3def(0x1c7)),'prompt':_0x9a3def(0x1ff)},{'id':_0x9a3def(0x1fd),'label':_0x1429e0(_0x216932,_0x9a3def(0x20d)),'prompt':_0x9a3def(0x1cf)},{'id':_0x9a3def(0x1c5),'label':_0x1429e0(_0x216932,_0x9a3def(0x1f1)),'prompt':_0x9a3def(0x1e3)},{'id':_0x9a3def(0x1cc),'label':_0x1429e0(_0x216932,_0x9a3def(0x1f7)),'prompt':_0x9a3def(0x22b)},{'id':_0x9a3def(0x1e5),'label':_0x1429e0(_0x216932,_0x9a3def(0x208)),'prompt':_0x9a3def(0x216)},{'id':_0x9a3def(0x1f8),'label':_0x1429e0(_0x216932,_0x9a3def(0x21e)),'prompt':_0x9a3def(0x1d9)},{'id':_0x9a3def(0x1e4),'label':_0x1429e0(_0x216932,_0x9a3def(0x210)),'prompt':_0x9a3def(0x1fa)}]}];}
23
+ const _0x13daa3=_0x74cd;(function(_0x15dc8d,_0x12ffd5){const _0x5a5535=_0x74cd,_0x336d09=_0x15dc8d();while(!![]){try{const _0x314f4e=-parseInt(_0x5a5535(0x1b0))/0x1+parseInt(_0x5a5535(0x184))/0x2*(parseInt(_0x5a5535(0x18d))/0x3)+-parseInt(_0x5a5535(0x1ab))/0x4*(parseInt(_0x5a5535(0x146))/0x5)+-parseInt(_0x5a5535(0x157))/0x6*(parseInt(_0x5a5535(0x1ae))/0x7)+-parseInt(_0x5a5535(0x17f))/0x8+parseInt(_0x5a5535(0x16f))/0x9+parseInt(_0x5a5535(0x152))/0xa;if(_0x314f4e===_0x12ffd5)break;else _0x336d09['push'](_0x336d09['shift']());}catch(_0x1bb616){_0x336d09['push'](_0x336d09['shift']());}}}(_0x53d7,0x51ba2));import{Plugin as _0xa19860}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x4b740e}from'./aiassistantui.js';import{AIAssistantEditing as _0x202b5f}from'./aiassistantediting.js';import{getTranslation as _0x26a9b0}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x4d068e}from'./utils/normalizecommandsconfig.js';function _0x74cd(_0x352426,_0x32b82e){const _0x53d76a=_0x53d7();return _0x74cd=function(_0x74cd1a,_0x4505a5){_0x74cd1a=_0x74cd1a-0x145;let _0x102209=_0x53d76a[_0x74cd1a];return _0x102209;},_0x74cd(_0x352426,_0x32b82e);}function _0x53d7(){const _0x5ba0f1=['2511187NwoRYZ','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','309086hOdlvm','Journalism','makeLonger','Confident','Improve\x20writing','2096745uFNmjK','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','push','German','confident','config','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Portuguese','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','7527330gEyCHY','ai.aiAssistant.extraCommandGroups','poetic','Simplify\x20language','Direct','6voYvSl','Change\x20style','journalism','AIAssistant','Simplified\x20Chinese','translateEnglish','translateHindi','ai.aiAssistant.removeCommands','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','translate','Make\x20shorter','makeShorter','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Professional','editOrReview','Hindi','Translate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','find','commands','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','get','concat','5085882zGmwTn','pluginName','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20English\x20language.','translateChinese','translatePortuguese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateGerman','Friendly','groupId','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','simplifyLanguage','continue','business','improveWriting','4425064rRtYuD','Summarize','generate','Poetic','filter','8DhUgpx','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Spanish','Business','legal','summarize','locale','requires','Legal','492924xgVJBa','ai.aiAssistant.preserveComments','professional','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','set','Translate\x20the\x20content\x20to\x20French\x20language.','translateArabic','ai.aiAssistant.commands','Continue','Translate\x20the\x20content\x20to\x20Spanish\x20language.','includes','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','English','isPremiumPlugin','Translate\x20the\x20content\x20to\x20German\x20language.','French','Change\x20tone','translateSpanish','forEach','casual','direct','translateFrench','changeStyle','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','changeTone','Arabic','Edit\x20or\x20review','Casual','Make\x20longer','isOfficialPlugin','4WWsxry','define','friendly'];_0x53d7=function(){return _0x5ba0f1;};return _0x53d7();}export class AIAssistant extends _0xa19860{static get[_0x13daa3(0x18b)](){return[_0x4b740e,_0x202b5f];}static get[_0x13daa3(0x170)](){const _0x5e7a81=_0x13daa3;return _0x5e7a81(0x15a);}static get[_0x13daa3(0x1aa)](){return!0x0;}static get[_0x13daa3(0x19a)](){return!0x0;}constructor(_0x26c333){const _0x24512a=_0x13daa3;super(_0x26c333);const _0x45b17b=_0x26c333[_0x24512a(0x14c)],_0x5d6050=_0x26c333[_0x24512a(0x18a)];_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x18e),!0x0),_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x194),getDefaultAICommands(_0x5d6050)),_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x153),[]),_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x15e),[]);let _0x241680=_0x4d068e(_0x45b17b[_0x24512a(0x16d)](_0x24512a(0x194)),_0x5d6050);const _0x283ef2=_0x45b17b[_0x24512a(0x16d)](_0x24512a(0x153)),_0x1bcc9a=_0x45b17b[_0x24512a(0x16d)](_0x24512a(0x15e));_0x283ef2[_0x24512a(0x19f)](_0x5ce5ba=>{const _0x5cfa82=_0x24512a,_0x4bc13d=_0x241680[_0x5cfa82(0x169)](_0x312548=>_0x312548[_0x5cfa82(0x179)]===_0x5ce5ba[_0x5cfa82(0x179)]);_0x4bc13d?_0x4bc13d[_0x5cfa82(0x16a)]=_0x4bc13d[_0x5cfa82(0x16a)][_0x5cfa82(0x16e)](_0x5ce5ba[_0x5cfa82(0x16a)]):_0x241680[_0x5cfa82(0x149)](_0x5ce5ba);}),_0x241680=_0x241680[_0x24512a(0x183)](_0x54dcc5=>!_0x1bcc9a[_0x24512a(0x197)](_0x54dcc5[_0x24512a(0x179)])),_0x241680[_0x24512a(0x19f)](_0x2f8ded=>{const _0xd7e57b=_0x24512a;_0x2f8ded[_0xd7e57b(0x16a)]=_0x2f8ded[_0xd7e57b(0x16a)][_0xd7e57b(0x183)](_0x5f4de4=>!_0x1bcc9a[_0xd7e57b(0x197)](_0x5f4de4['id']));}),_0x45b17b[_0x24512a(0x191)](_0x24512a(0x194),_0x241680);}}export function getDefaultAICommands(_0x10a28c){const _0x3f725b=_0x13daa3;return[{'groupId':_0x3f725b(0x165),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a7)),'commands':[{'id':_0x3f725b(0x17e),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x145)),'prompt':_0x3f725b(0x1a4)},{'id':_0x3f725b(0x162),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x161)),'prompt':_0x3f725b(0x17a)},{'id':_0x3f725b(0x1b2),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a9)),'prompt':_0x3f725b(0x14d)},{'id':_0x3f725b(0x17b),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x155)),'prompt':_0x3f725b(0x190)}]},{'groupId':_0x3f725b(0x181),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x147)),'commands':[{'id':_0x3f725b(0x189),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x180)),'prompt':_0x3f725b(0x168)},{'id':_0x3f725b(0x17c),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x195)),'prompt':_0x3f725b(0x175)}]},{'groupId':_0x3f725b(0x1a5),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x19d)),'commands':[{'id':_0x3f725b(0x18f),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x164)),'prompt':_0x3f725b(0x14e)},{'id':_0x3f725b(0x1a0),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a8)),'prompt':_0x3f725b(0x171)},{'id':_0x3f725b(0x1a1),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x156)),'prompt':_0x3f725b(0x151)},{'id':_0x3f725b(0x14b),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1b3)),'prompt':_0x3f725b(0x176)},{'id':_0x3f725b(0x1ad),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x178)),'prompt':_0x3f725b(0x16b)}]},{'groupId':_0x3f725b(0x1a3),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x158)),'commands':[{'id':_0x3f725b(0x17d),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x187)),'prompt':_0x3f725b(0x198)},{'id':_0x3f725b(0x188),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x18c)),'prompt':_0x3f725b(0x15f)},{'id':_0x3f725b(0x159),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1b1)),'prompt':_0x3f725b(0x1af)},{'id':_0x3f725b(0x154),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x182)),'prompt':_0x3f725b(0x185)}]},{'groupId':_0x3f725b(0x160),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x167)),'commands':[{'id':_0x3f725b(0x15c),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x199)),'prompt':_0x3f725b(0x172)},{'id':_0x3f725b(0x19e),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x186)),'prompt':_0x3f725b(0x196)},{'id':_0x3f725b(0x174),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x14f)),'prompt':_0x3f725b(0x148)},{'id':_0x3f725b(0x177),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x14a)),'prompt':_0x3f725b(0x19b)},{'id':_0x3f725b(0x1a2),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x19c)),'prompt':_0x3f725b(0x192)},{'id':_0x3f725b(0x173),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x15b)),'prompt':_0x3f725b(0x163)},{'id':_0x3f725b(0x15d),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x166)),'prompt':_0x3f725b(0x150)},{'id':_0x3f725b(0x193),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a6)),'prompt':_0x3f725b(0x16c)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1797cb=_0x3989;(function(_0x4288ce,_0x30eca7){const _0x2f984c=_0x3989,_0x5d8810=_0x4288ce();while(!![]){try{const _0x28f979=-parseInt(_0x2f984c(0x1d0))/0x1+-parseInt(_0x2f984c(0x191))/0x2+-parseInt(_0x2f984c(0x19d))/0x3*(parseInt(_0x2f984c(0x1d7))/0x4)+parseInt(_0x2f984c(0x1c4))/0x5*(parseInt(_0x2f984c(0x1ca))/0x6)+-parseInt(_0x2f984c(0x1f0))/0x7+-parseInt(_0x2f984c(0x1c7))/0x8*(-parseInt(_0x2f984c(0x1cc))/0x9)+parseInt(_0x2f984c(0x1fb))/0xa*(parseInt(_0x2f984c(0x1a6))/0xb);if(_0x28f979===_0x30eca7)break;else _0x5d8810['push'](_0x5d8810['shift']());}catch(_0x12a546){_0x5d8810['push'](_0x5d8810['shift']());}}}(_0x4603,0x5943b));import{uid as _0x4df640}from'ckeditor5/src/utils.js';import{Plugin as _0x51d6ee}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2a3197}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x18e0bb,ViewDataTransfer as _0x408146}from'ckeditor5/src/engine.js';const l=globalThis[_0x1797cb(0x1bc)],w=_0x1797cb(0x19f);function _0x3989(_0x383a03,_0x481bff){const _0x4603e9=_0x4603();return _0x3989=function(_0x39895f,_0x2f46a9){_0x39895f=_0x39895f-0x191;let _0x4472ad=_0x4603e9[_0x39895f];return _0x4472ad;},_0x3989(_0x383a03,_0x481bff);}export class AIAssistantEditing extends _0x51d6ee{static get[_0x1797cb(0x197)](){const _0x550ae8=_0x1797cb;return _0x550ae8(0x1e9);}static get[_0x1797cb(0x1aa)](){return!0x0;}static get[_0x1797cb(0x1e3)](){return!0x0;}[_0x1797cb(0x1f8)](){const _0x2b7ce7=_0x1797cb,{editor:_0xc42fe1}=this,_0x476983=[_0x2b7ce7(0x1cf)];_0xc42fe1[_0x2b7ce7(0x1b4)][_0x2b7ce7(0x1af)](_0x2b7ce7(0x195))&&_0x476983[_0x2b7ce7(0x1e5)](_0x2b7ce7(0x1eb)),_0xc42fe1[_0x2b7ce7(0x1a4)][_0x2b7ce7(0x19b)](_0x2b7ce7(0x1bb))[_0x2b7ce7(0x1da)]({'model':w,'view':{'classes':_0x476983,'priority':0xc}}),_0xc42fe1[_0x2b7ce7(0x1a4)][_0x2b7ce7(0x19b)](_0x2b7ce7(0x1bb))[_0x2b7ce7(0x1bf)]({'model':w,'view':(_0x37c64c,{writer:_0x14ec61})=>{const _0x3c42e9=_0x2b7ce7;if(!_0x37c64c[_0x3c42e9(0x1cd)][_0x3c42e9(0x1c6)])return null;const _0x447d84=_0x14ec61[_0x3c42e9(0x1c5)](_0x3c42e9(0x1ad));return _0x14ec61[_0x3c42e9(0x1ff)]([_0x3c42e9(0x1cf),_0x3c42e9(0x1b3)],_0x447d84),_0x447d84;}});}[_0x1797cb(0x1f5)](){!async function(_0x4bb82f){const _0x5bc916=_0x30ef08([0x55,0x34,0x47,0x4f,0x61,0x46,0x77,0x45,0x70,0x66,0x41,0x49,0x6c,0x79,0x78,0x63,0x58,0x7a,0x48,0x31,0x32,0x51,0x50,0x57,0x62,0x69,0x64,0x6f,0x30,0x71,0x54,0x36,0x59,0x52,0x42,0x73,0x4e,0x53,0x68,0x6d,0x65,0x4c,0x6b,0x6e,0x4a,0x75,0x4b,0x5a,0x35,0x43,0x67,0x74,0x56,0x38,0x76,0x33,0x37,0x72,0x44,0x6a,0x39,0x4d]),_0xc4072=0x4f1abb9c,_0x502c9c=0x4f1dd704^_0xc4072,_0x108cd6=window[_0x30ef08([0x44,0x61,0x74,0x65])][_0x30ef08([0x6e,0x6f,0x77])](),_0x426987=_0x4bb82f[_0x30ef08([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c0cbb=new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19a8e8=>{_0x426987[_0x30ef08([0x6f,0x6e,0x63,0x65])](_0x30ef08([0x72,0x65,0x61,0x64,0x79]),_0x19a8e8);}),_0x1dd610={[_0x30ef08([0x6b,0x74,0x79])]:_0x30ef08([0x45,0x43]),[_0x30ef08([0x75,0x73,0x65])]:_0x30ef08([0x73,0x69,0x67]),[_0x30ef08([0x63,0x72,0x76])]:_0x30ef08([0x50,0x2d,0x32,0x35,0x36]),[_0x30ef08([0x78])]:_0x30ef08([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]),[_0x30ef08([0x79])]:_0x30ef08([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]),[_0x30ef08([0x61,0x6c,0x67])]:_0x30ef08([0x45,0x53,0x32,0x35,0x36])},_0x191001=_0x426987[_0x30ef08([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30ef08([0x67,0x65,0x74])](_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12ab20(){let _0x2c00dd,_0x58b1c1=null,_0x309302=null;try{if(_0x191001==_0x30ef08([0x47,0x50,0x4c]))return _0x30ef08([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c00dd=_0x4a404f(),!_0x2c00dd)return _0x30ef08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c00dd[_0x30ef08([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x309302=_0x32f7da(_0x2c00dd[_0x30ef08([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c00dd[_0x30ef08([0x6a,0x74,0x69])])),await _0x357028()?_0x388ed8()?_0x3ed9f0()?_0x30ef08([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa2b9b6()?(_0x2c00dd[_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30ef08([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58b1c1=_0x11219a(_0x30ef08([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c00dd[_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30ef08([0x74,0x72,0x69,0x61,0x6c])&&(_0x58b1c1=_0x11219a(_0x30ef08([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26ea8b()):_0x30ef08([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30ef08([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30ef08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x30ef08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ed9f0(){const _0x2ef1d9=[_0x30ef08([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30ef08([0x74,0x72,0x69,0x61,0x6c])][_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c00dd[_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x108cd6/0x3e8:0xe10*_0x502c9c;return _0x2c00dd[_0x30ef08([0x65,0x78,0x70])]<_0x2ef1d9;}function _0x388ed8(){const _0x2a6213=_0x2c00dd[_0x30ef08([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a6213&&(!!_0x2a6213[_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30ef08([0x2a]))||!!_0x2a6213[_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30ef08([0x41,0x49])));}function _0xa2b9b6(){const _0x2ba953=_0x3989,_0x13cf10=_0x2c00dd[_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13cf10||0x0==_0x13cf10[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4cc104}=new URL(window[_0x30ef08([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ba953(0x1f1)]);if(_0x13cf10[_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc104))return!0x0;const _0x5a79b2=_0x4cc104[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])](_0x30ef08([0x2e]));return _0x13cf10[_0x30ef08([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc15121=>_0xc15121[_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30ef08([0x2a])))[_0x30ef08([0x6d,0x61,0x70])](_0x4206fe=>_0x4206fe[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])](_0x30ef08([0x2e])))[_0x30ef08([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x510d4d=>_0x510d4d[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a79b2[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30ef08([0x6d,0x61,0x70])](_0x23ddec=>Array(_0x5a79b2[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23ddec[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30ef08([0x66,0x69,0x6c,0x6c])](_0x23ddec[0x0]===_0x30ef08([0x2a])?_0x30ef08([0x2a]):'')[_0x30ef08([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23ddec))[_0x30ef08([0x73,0x6f,0x6d,0x65])](_0x5d6df7=>_0x5a79b2[_0x30ef08([0x65,0x76,0x65,0x72,0x79])]((_0xdbdf10,_0x222edb)=>_0x5d6df7[_0x222edb]===_0xdbdf10||_0x5d6df7[_0x222edb]===_0x30ef08([0x2a])));}function _0x26ea8b(){return _0x58b1c1&&_0x309302?new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e643c,_0x54c145)=>{_0x58b1c1[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x1e643c,_0x54c145),_0x309302[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x47ec2c=>{_0x47ec2c!=_0x30ef08([0x56,0x61,0x6c,0x69,0x64])&&_0x1e643c(_0x47ec2c);},_0x54c145);}):_0x58b1c1||_0x309302||_0x30ef08([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32f7da(_0x3acb9f,_0x5aea79){return new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x534d19=>{if(_0x3fe99f())return _0x534d19(_0x30ef08([0x56,0x61,0x6c,0x69,0x64]));_0x37e67f(),_0x426987[_0x30ef08([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30ef08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5f3032=!0x1;const _0x894c55=_0x4df640();function _0x2e6580(_0x5f4ea8){return!!_0x5f4ea8&&(typeof _0x5f4ea8===_0x30ef08([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f4ea8===_0x30ef08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f4ea8[_0x30ef08([0x74,0x68,0x65,0x6e])]===_0x30ef08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f4ea8[_0x30ef08([0x63,0x61,0x74,0x63,0x68])]===_0x30ef08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa48c0b(_0x3f97ef){_0x2cf357(_0x3f97ef)[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x294b43=>{if(!_0x294b43||_0x294b43[_0x30ef08([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30ef08([0x6f,0x6b]))return _0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24fc99(_0x47bf66(_0x894c55+_0x5aea79))!=_0x294b43[_0x30ef08([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30ef08([0x56,0x61,0x6c,0x69,0x64]);})[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x28413f=>(_0x7aaa4(),_0x28413f),()=>{const _0x149e34=_0x1caad9();return null==_0x149e34?(_0x7aaa4(),_0x30ef08([0x56,0x61,0x6c,0x69,0x64])):_0x30ef08(_0x108cd6-_0x149e34>(0x6b163f9c^_0xc4072)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x534d19)[_0x30ef08([0x63,0x61,0x74,0x63,0x68])](()=>{_0x534d19(_0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x268d3e=0x4f2c551c^_0xc4072;function _0x7aaa4(){const _0x36e27a=_0x30ef08([0x6c,0x6c,0x63,0x74,0x2d])+_0x24fc99(_0x47bf66(_0x3acb9f)),_0x2e34d7=_0x497d51(_0x24fc99(window[_0x30ef08([0x4d,0x61,0x74,0x68])][_0x30ef08([0x63,0x65,0x69,0x6c])](_0x108cd6/_0x268d3e)));window[_0x30ef08([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30ef08([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36e27a,_0x2e34d7);}function _0x1caad9(){const _0x291545=_0x30ef08([0x6c,0x6c,0x63,0x74,0x2d])+_0x24fc99(_0x47bf66(_0x3acb9f)),_0x2f3740=window[_0x30ef08([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30ef08([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x291545);return _0x2f3740?window[_0x30ef08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x497d51(_0x2f3740),0x10)*_0x268d3e:null;}function _0x2cf357(_0x583c47){return new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11ee6c,_0x9a4e8f)=>{_0x583c47[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x11ee6c,_0x9a4e8f),window[_0x30ef08([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9a4e8f,0x4f1b6f5c^_0xc4072);});}}_0x426987[_0x30ef08([0x6f,0x6e])](_0x30ef08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x360595,_0x1b2bb3)=>{if(_0x1b2bb3[0x0]!=_0x3acb9f)return _0x534d19(_0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b2bb3[0x1]={..._0x1b2bb3[0x1],[_0x30ef08([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x894c55};},{[_0x30ef08([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30ef08([0x68,0x69,0x67,0x68])}),_0x426987[_0x30ef08([0x6f,0x6e])](_0x30ef08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1df437=>{_0x2e6580(_0x1df437[_0x30ef08([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5f3032=!0x0,_0xa48c0b(_0x1df437[_0x30ef08([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30ef08([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30ef08([0x6c,0x6f,0x77])}),_0x1c0cbb[_0x30ef08([0x74,0x68,0x65,0x6e])](()=>{_0x5f3032||_0x534d19(_0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3fe99f(){return _0x426987[_0x30ef08([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30ef08([0x76,0x69,0x65,0x77])][_0x30ef08([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30ef08([0x61,0x75,0x74,0x6f]);}function _0x37e67f(){_0x426987[_0x30ef08([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30ef08([0x76,0x69,0x65,0x77])][_0x30ef08([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30ef08([0x61,0x75,0x74,0x6f]);}}function _0x11219a(_0x297992){const _0x1bd92e=[new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14b73d=>setTimeout(_0x14b73d,0x4f138550^_0xc4072)),_0x1c0cbb[_0x30ef08([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x168488=>{let _0x54395b=0x0;_0x426987[_0x30ef08([0x6d,0x6f,0x64,0x65,0x6c])][_0x30ef08([0x6f,0x6e])](_0x30ef08([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2766f0,_0x41a1a0)=>{_0x41a1a0[0x0][_0x30ef08([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54395b++,_0x54395b==(0x4f1aba64^_0xc4072)&&(_0x168488(),_0x2766f0[_0x30ef08([0x6f,0x66,0x66])]());});}))];return window[_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30ef08([0x72,0x61,0x63,0x65])](_0x1bd92e)[_0x30ef08([0x74,0x68,0x65,0x6e])](()=>_0x297992);}async function _0x56c94e(){await _0x1c0cbb,_0x426987[_0x30ef08([0x6d,0x6f,0x64,0x65,0x6c])][_0x30ef08([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ee668,_0x426987[_0x30ef08([0x6d,0x6f,0x64,0x65,0x6c])][_0x30ef08([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ee668,_0x426987[_0x30ef08([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30ef08([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48d7dc(_0x22d093){const _0x26541c=_0x165e87();_0x426987[_0x26541c]=_0x30ef08([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22d093,_0x22d093!=_0x30ef08([0x56,0x61,0x6c,0x69,0x64])&&_0x56c94e();}function _0x165e87(){const _0x26f400=window[_0x30ef08([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30ef08([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30ef08([0x6e,0x6f,0x77])]())[_0x30ef08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30ef08([0x2e]),'');let _0x424963=_0x30ef08([0x55]);for(let _0x1b2c59=0x0;_0x1b2c59<_0x26f400[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b2c59+=0x2){let _0x2904cd=window[_0x30ef08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26f400[_0x30ef08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2c59,_0x1b2c59+0x2));_0x2904cd>=_0x5bc916[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2904cd-=_0x5bc916[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x424963+=_0x5bc916[_0x2904cd];}return _0x424963;}function _0x4a404f(){const _0xbdef56=_0x191001[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])](_0x30ef08([0x2e]));if(0x3!=_0xbdef56[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x363d7a(_0xbdef56[0x1]);function _0x363d7a(_0x184eb1){const _0x3a48af=_0x4aa8c7(_0x184eb1);return _0x3a48af&&_0x2ed394()?_0x3a48af:null;function _0x2ed394(){const _0x573b13=_0x3a48af[_0x30ef08([0x6a,0x74,0x69])],_0x400bd9=window[_0x30ef08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x573b13[_0x30ef08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x573b13[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x478ac5={..._0x3a48af,[_0x30ef08([0x6a,0x74,0x69])]:_0x573b13[_0x30ef08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x573b13[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x478ac5[_0x30ef08([0x76,0x63])],_0x47bf66(_0x478ac5)==_0x400bd9;}}}async function _0x357028(){let _0x3af6d7=!0x0;try{const _0x53e138=_0x191001[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])](_0x30ef08([0x2e])),[_0x1950d7,_0x1bd569,_0x4bff14]=_0x53e138;return _0x1ab0a5(_0x1950d7),await _0x42c406(_0x1950d7,_0x1bd569,_0x4bff14),_0x3af6d7;}catch{return!0x1;}function _0x1ab0a5(_0x33f72b){const _0x431803=_0x4aa8c7(_0x33f72b);_0x431803&&_0x431803[_0x30ef08([0x61,0x6c,0x67])]==_0x30ef08([0x45,0x53,0x32,0x35,0x36])||(_0x3af6d7=!0x1);}async function _0x42c406(_0x1bdb8a,_0xe23fdb,_0x5072d3){const _0x10a7b5=window[_0x30ef08([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30ef08([0x66,0x72,0x6f,0x6d])](_0x563d72(_0x5072d3),_0x49260b=>_0x49260b[_0x30ef08([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e5449=new window[(_0x30ef08([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30ef08([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bdb8a+_0x30ef08([0x2e])+_0xe23fdb),_0x37e17c=window[_0x30ef08([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30ef08([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37e17c)return;const _0x1f9141=await _0x37e17c[_0x30ef08([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30ef08([0x6a,0x77,0x6b]),_0x1dd610,{[_0x30ef08([0x6e,0x61,0x6d,0x65])]:_0x30ef08([0x45,0x43,0x44,0x53,0x41]),[_0x30ef08([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30ef08([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30ef08([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37e17c[_0x30ef08([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30ef08([0x6e,0x61,0x6d,0x65])]:_0x30ef08([0x45,0x43,0x44,0x53,0x41]),[_0x30ef08([0x68,0x61,0x73,0x68])]:{[_0x30ef08([0x6e,0x61,0x6d,0x65])]:_0x30ef08([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f9141,_0x10a7b5,_0x4e5449)||(_0x3af6d7=!0x1);}}function _0x4aa8c7(_0x2ed7e5){return _0x2ed7e5[_0x30ef08([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30ef08([0x65,0x79]))?JSON[_0x30ef08([0x70,0x61,0x72,0x73,0x65])](_0x563d72(_0x2ed7e5)):null;}function _0x563d72(_0x94d507){return window[_0x30ef08([0x61,0x74,0x6f,0x62])](_0x94d507[_0x30ef08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30ef08([0x2b]))[_0x30ef08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30ef08([0x2f])));}function _0x47bf66(_0x2ce8a5){let _0x55e966=0x1505;function _0x411efe(_0x346731){for(let _0x3a445c=0x0;_0x3a445c<_0x346731[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a445c++){const _0x4205e9=_0x346731[_0x30ef08([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a445c);_0x55e966=(_0x55e966<<0x5)+_0x55e966+_0x4205e9,_0x55e966&=_0x55e966;}}function _0x2a5567(_0x392e57){Array[_0x30ef08([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x392e57)?_0x392e57[_0x30ef08([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a5567):_0x392e57&&typeof _0x392e57==_0x30ef08([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30ef08([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x392e57)[_0x30ef08([0x73,0x6f,0x72,0x74])]()[_0x30ef08([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x540188,_0x54cac4])=>{_0x411efe(_0x540188),_0x2a5567(_0x54cac4);}):_0x411efe(window[_0x30ef08([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x392e57));}return _0x2a5567(_0x2ce8a5),_0x55e966>>>0x0;}function _0x24fc99(_0x57ba20){return _0x57ba20[_0x30ef08([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30ef08([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30ef08([0x30]));}function _0x497d51(_0x1dcaed){return _0x1dcaed[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30ef08([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30ef08([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ee668(){}function _0x30ef08(_0x14fbb9){const _0x3a5e31=_0x3989;return _0x14fbb9[_0x3a5e31(0x1ea)](_0x260f8f=>String[_0x3a5e31(0x1ed)](_0x260f8f))[_0x3a5e31(0x1d3)]('');}_0x48d7dc(await _0x12ab20());}(this);}[_0x1797cb(0x1d9)](){const _0x26774d=_0x1797cb,_0x1d40c3=this[_0x26774d(0x193)][_0x26774d(0x1a7)];_0x1d40c3[_0x26774d(0x1a9)](_0x252458=>{const _0x2785e7=_0x26774d,_0xa1df2d=_0x1d40c3[_0x2785e7(0x1c8)][_0x2785e7(0x1b1)][_0x2785e7(0x1bd)]();let _0x37b5b1=0x0;for(const _0x433bf3 of _0xa1df2d){const _0x1a6342=w+':'+_0x37b5b1;if(_0x1d40c3[_0x2785e7(0x1b6)][_0x2785e7(0x1db)](_0x1a6342))_0x252458[_0x2785e7(0x19c)](_0x1a6342,{'range':_0x433bf3});else{if(_0x433bf3[_0x2785e7(0x1ec)][_0x2785e7(0x1c2)]){const _0x5159ff=_0x433bf3[_0x2785e7(0x1ec)][_0x2785e7(0x196)](({item:_0x4fed44})=>!_0x1d40c3[_0x2785e7(0x1b8)][_0x2785e7(0x1ba)](_0x4fed44),{'boundaries':_0x433bf3});_0x252458[_0x2785e7(0x1a3)](_0x1a6342,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x252458[_0x2785e7(0x1b2)](_0x5159ff,_0x433bf3[_0x2785e7(0x1b0)])});}else _0x252458[_0x2785e7(0x1a3)](_0x1a6342,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x433bf3});}_0x37b5b1++;}});}[_0x1797cb(0x1a2)](){const _0xd82bb9=_0x1797cb,_0x39906d=this[_0xd82bb9(0x193)][_0xd82bb9(0x1a7)],_0x2bb07a=Array[_0xd82bb9(0x1de)](this[_0xd82bb9(0x193)][_0xd82bb9(0x1a7)][_0xd82bb9(0x1b6)][_0xd82bb9(0x1fe)](w));_0x2bb07a[_0xd82bb9(0x1b7)]&&_0x39906d[_0xd82bb9(0x1a9)](_0x3d4fd1=>{const _0x1c033f=_0xd82bb9;_0x2bb07a[_0x1c033f(0x1f4)](_0x900977=>{const _0x41bb92=_0x1c033f;_0x3d4fd1[_0x41bb92(0x1f7)](_0x900977);});});}[_0x1797cb(0x1b5)](_0x2a3b6c,_0x1ba59d){const _0x102bab=_0x1797cb,_0x5728a1=this[_0x102bab(0x192)](),_0x4cfbdb=_0x1ba59d||_0x5728a1[_0x102bab(0x198)]();this[_0x102bab(0x193)][_0x102bab(0x1a7)][_0x102bab(0x1d2)](_0x4cfbdb)&&this[_0x102bab(0x193)][_0x102bab(0x1a7)][_0x102bab(0x1a9)](_0x32b9d6=>{const _0x16a648=_0x102bab;this[_0x16a648(0x1a2)](),_0x1ba59d||this[_0x16a648(0x1c0)](_0x32b9d6,_0x5728a1),this[_0x16a648(0x1f3)]({'insertAt':_0x4cfbdb,'writer':_0x32b9d6,'html':_0x2a3b6c});});}[_0x1797cb(0x1d4)](_0x474793){const _0x29868d=_0x1797cb,{model:_0x5bce3d}=this[_0x29868d(0x193)],_0x279e50=this[_0x29868d(0x192)]();_0x5bce3d[_0x29868d(0x1a9)](()=>{const _0x123c1e=_0x29868d,_0x189c11=this[_0x123c1e(0x1df)](_0x474793,_0x279e50)||this[_0x123c1e(0x1e2)](_0x279e50);this[_0x123c1e(0x1b5)](_0x474793,_0x189c11);});}[_0x1797cb(0x192)](){const _0x2442e0=_0x1797cb,_0x171fe2=this[_0x2442e0(0x193)][_0x2442e0(0x1a7)],_0x52a1d3=Array[_0x2442e0(0x1de)](_0x171fe2[_0x2442e0(0x1b6)][_0x2442e0(0x1fe)](w))[_0x2442e0(0x1ea)](_0x24c82f=>_0x24c82f[_0x2442e0(0x1dd)]());return _0x171fe2[_0x2442e0(0x1e4)](_0x52a1d3);}[_0x1797cb(0x1f3)]({writer:_0x51fee6,html:_0x15d025,insertAt:_0x3f24a3}){const _0x585443=_0x1797cb,{view:_0x46ff18}=this[_0x585443(0x193)][_0x585443(0x1ac)],_0x128470=this[_0x585443(0x193)][_0x585443(0x1e7)][_0x585443(0x1af)](_0x2a3197),_0x137610=new l();_0x137610[_0x585443(0x1ae)](_0x585443(0x1a1),_0x15d025);const _0x5dfc35=new ClipboardEvent(_0x585443(0x19a),{'clipboardData':_0x137610}),_0x682016=new _0x18e0bb(_0x46ff18,_0x5dfc35,{'dataTransfer':new _0x408146(_0x137610)});_0x51fee6[_0x585443(0x1fc)](_0x3f24a3);const _0x768ff2=(_0x3e9556,_0x3c86ab)=>{const _0x8e77e4=_0x585443;_0x3c86ab[_0x8e77e4(0x1c9)]&&_0x51fee6[_0x8e77e4(0x1fc)](_0x3c86ab[_0x8e77e4(0x1c9)]);};_0x128470[_0x585443(0x1ee)](_0x585443(0x1e0),_0x768ff2,{'priority':_0x585443(0x1dc)}),_0x46ff18[_0x585443(0x1c8)][_0x585443(0x1a5)](_0x585443(0x19a),_0x682016),_0x128470[_0x585443(0x1ab)](_0x585443(0x1e0),_0x768ff2);}[_0x1797cb(0x1e2)](_0x52bccf){const _0x17bf5a=_0x1797cb,{model:_0x473870}=this[_0x17bf5a(0x193)],_0x23ec63=Array[_0x17bf5a(0x1de)](_0x52bccf[_0x17bf5a(0x1ce)]());return _0x23ec63[_0x17bf5a(0x1b7)]?_0x473870[_0x17bf5a(0x19e)](_0x23ec63[_0x17bf5a(0x1a0)]()):_0x52bccf[_0x17bf5a(0x1e1)]();}[_0x1797cb(0x1df)](_0x55e92a,_0x4cc4bd){const _0x44217a=_0x1797cb,{model:_0x2a6271,plugins:_0x2ff48b}=this[_0x44217a(0x193)];if(_0x2ff48b[_0x44217a(0x1db)](_0x44217a(0x1ef))){const _0x46cde0=_0x2ff48b[_0x44217a(0x1af)](_0x44217a(0x1ef))[_0x44217a(0x1d8)](_0x4cc4bd);if(_0x46cde0[_0x44217a(0x1b7)]){const _0x2f7cb0=this[_0x44217a(0x1d6)](_0x55e92a),_0x24b0ee=this[_0x44217a(0x1e6)](_0x46cde0,_0x2f7cb0);return _0x2a6271[_0x44217a(0x1b9)](_0x24b0ee,0x0);}}return null;}[_0x1797cb(0x1d6)](_0x22234f){const _0x4a53db=_0x1797cb,_0x1f9040=this[_0x4a53db(0x193)][_0x4a53db(0x1e7)][_0x4a53db(0x1af)](_0x4a53db(0x1ef)),_0x61ad5e=this[_0x4a53db(0x193)][_0x4a53db(0x1f9)][_0x4a53db(0x194)](_0x22234f),_0x40e8fa=Array[_0x4a53db(0x1de)](_0x61ad5e[_0x4a53db(0x1f6)]())[_0x4a53db(0x1fa)](_0x31fa5b=>_0x31fa5b['is'](_0x4a53db(0x1d1),_0x4a53db(0x1fd)));let _0x62128f=0x0;return _0x40e8fa[_0x4a53db(0x1f4)](_0x8ba265=>{const _0xc13f7b=_0x4a53db;_0x62128f+=_0x1f9040[_0xc13f7b(0x1a8)](_0x8ba265);}),_0x62128f;}[_0x1797cb(0x1e6)](_0x5707e7,_0x3e8138){const _0x39d1be=_0x1797cb,_0x5ee69f=this[_0x39d1be(0x193)][_0x39d1be(0x1e7)][_0x39d1be(0x1af)](_0x39d1be(0x1ef)),_0x31c9ba=_0x5ee69f[_0x39d1be(0x1c1)](_0x5707e7),_0x826a8=_0x5ee69f[_0x39d1be(0x199)](_0x5707e7),_0x167ee6=_0x31c9ba[_0x39d1be(0x1cb)]+0x1,_0x3d86e9=_0x826a8[_0x39d1be(0x1e8)],_0x341f31=_0x5707e7[0x0][_0x39d1be(0x1d5)](_0x39d1be(0x1fd));for(let _0x164e22=0x0;_0x164e22<_0x3e8138;_0x164e22++)_0x5ee69f[_0x39d1be(0x1f2)](_0x341f31,{'at':_0x167ee6});return _0x341f31[_0x39d1be(0x1c3)](_0x167ee6)[_0x39d1be(0x1c3)](_0x3d86e9);}[_0x1797cb(0x1c0)](_0x3dcc9c,_0x3e3657){const _0x526f53=_0x1797cb,{plugins:_0x1f3626}=this[_0x526f53(0x193)],{model:_0x5c4c54}=_0x3dcc9c;if(!_0x1f3626[_0x526f53(0x1db)](_0x526f53(0x1ef)))return;_0x1f3626[_0x526f53(0x1af)](_0x526f53(0x1ef))[_0x526f53(0x1d8)](_0x3e3657)[_0x526f53(0x1b7)]&&_0x5c4c54[_0x526f53(0x1be)](_0x3e3657);}}function _0x4603(){const _0x284e35=['plugins','first','AIAssistantEditing','map','ck-ai-assistant-ui_theme','start','fromCharCode','once','TableUtils','4677631GCwWeT','href','insertRows','_pasteHTMLUsingClipboard','forEach','afterInit','getChildren','removeMarker','init','data','filter','1130KIlisI','setSelection','table','getMarkersGroup','addClass','691824jNOGiv','_getAISelection','editor','parse','ai.useTheme','getLastMatchingPosition','pluginName','getFirstRange','getColumnIndexes','paste','for','updateMarker','22893VGEHkv','createPositionAfter','ai-ui','pop','text/html','hideFakeVisualSelection','addMarker','conversion','fire','152911QWWzMR','model','getRows','change','isOfficialPlugin','off','editing','span','setData','get','end','selection','createRange','ck-fake-ai-selection_collapsed','config','insertContent','markers','length','schema','createPositionAt','isContent','editingDowncast','DataTransfer','getRanges','deleteContent','markerToElement','_resetContentOfSelectedTableCells','getRowIndexes','isAtEnd','getChild','85EZZmlO','createUIElement','isCollapsed','124448NmQTQK','document','resultRange','70602DdVekf','last','252EARoAN','markerRange','getSelectedBlocks','ck-fake-ai-selection','147489PnscCm','element','canEditAt','join','insertContentBelow','findAncestor','_getTableRowCountFromContent','356GrMnJk','getSelectedTableCells','showFakeVisualSelection','markerToHighlight','has','lowest','getRange','from','_prepareTableInsertBelowPosition','contentInsertion','getLastPosition','_getDefaultInsertBelowPosition','isPremiumPlugin','createSelection','push','_createEmptyTableRows'];_0x4603=function(){return _0x284e35;};return _0x4603();}
23
+ function _0x47fe(){const _0x28454b=['createPositionAt','push','first','addClass','isContent','getRange','ai-ui','removeMarker','model','_resetContentOfSelectedTableCells','off','filter','getFirstRange','parse','markers','for','getRanges','once','createRange','1431550GbOiVz','editor','getLastPosition','has','55746OMKfBP','map','insertRows','ck-fake-ai-selection','canEditAt','getChildren','markerToElement','fire','afterInit','end','getLastMatchingPosition','1732002hyoehC','_createEmptyTableRows','data','editingDowncast','getRowIndexes','1337061WfJUEq','getSelectedTableCells','1MXYnui','isPremiumPlugin','document','table','getChild','_getAISelection','232OZRJWb','3834320phtmMN','ck-ai-assistant-ui_theme','text/html','selection','forEach','setData','234676qmcUxn','_getTableRowCountFromContent','5094FPuBge','showFakeVisualSelection','isCollapsed','createUIElement','length','ai.useTheme','from','findAncestor','lowest','insertContent','href','addMarker','pluginName','276wqmuLP','paste','change','_pasteHTMLUsingClipboard','isOfficialPlugin','resultRange','getMarkersGroup','getColumnIndexes','pop','join','init','editing','last','DataTransfer','start','span','_prepareTableInsertBelowPosition','element','fromCharCode','plugins','contentInsertion','schema','hideFakeVisualSelection','5397ZqwYPf','get','markerToHighlight','isAtEnd','setSelection','_getDefaultInsertBelowPosition','insertContentBelow','ck-fake-ai-selection_collapsed','33enFuSJ','createSelection','AIAssistantEditing','TableUtils','config','getSelectedBlocks','deleteContent','conversion','createPositionAfter','updateMarker','getRows','markerRange'];_0x47fe=function(){return _0x28454b;};return _0x47fe();}const _0x522453=_0x2c87;(function(_0x1d8e22,_0x563f76){const _0x245be7=_0x2c87,_0x51297e=_0x1d8e22();while(!![]){try{const _0x461188=parseInt(_0x245be7(0x1e9))/0x1*(-parseInt(_0x245be7(0x1e2))/0x2)+-parseInt(_0x245be7(0x1b4))/0x3*(parseInt(_0x245be7(0x1f6))/0x4)+-parseInt(_0x245be7(0x1d3))/0x5+parseInt(_0x245be7(0x1f8))/0x6*(-parseInt(_0x245be7(0x1ac))/0x7)+parseInt(_0x245be7(0x1ef))/0x8*(-parseInt(_0x245be7(0x1d7))/0x9)+parseInt(_0x245be7(0x1f0))/0xa+parseInt(_0x245be7(0x1e7))/0xb*(parseInt(_0x245be7(0x205))/0xc);if(_0x461188===_0x563f76)break;else _0x51297e['push'](_0x51297e['shift']());}catch(_0x935ccb){_0x51297e['push'](_0x51297e['shift']());}}}(_0x47fe,0x8599e));function _0x2c87(_0x35eee1,_0x404107){const _0x47fe15=_0x47fe();return _0x2c87=function(_0x2c87b2,_0x13df2b){_0x2c87b2=_0x2c87b2-0x1a3;let _0x436a02=_0x47fe15[_0x2c87b2];return _0x436a02;},_0x2c87(_0x35eee1,_0x404107);}import{uid as _0x4449e9}from'ckeditor5/src/utils.js';import{Plugin as _0x32f2ed}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3c4b6b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3befad,ViewDataTransfer as _0x359d43}from'ckeditor5/src/engine.js';const l=globalThis[_0x522453(0x212)],w=_0x522453(0x1c6);export class AIAssistantEditing extends _0x32f2ed{static get[_0x522453(0x204)](){const _0x54c181=_0x522453;return _0x54c181(0x1b6);}static get[_0x522453(0x209)](){return!0x0;}static get[_0x522453(0x1ea)](){return!0x0;}[_0x522453(0x20f)](){const _0x3f7cfb=_0x522453,{editor:_0x3c52d2}=this,_0x598bb7=[_0x3f7cfb(0x1da)];_0x3c52d2[_0x3f7cfb(0x1b8)][_0x3f7cfb(0x1ad)](_0x3f7cfb(0x1fd))&&_0x598bb7[_0x3f7cfb(0x1c1)](_0x3f7cfb(0x1f1)),_0x3c52d2[_0x3f7cfb(0x1bb)][_0x3f7cfb(0x1cf)](_0x3f7cfb(0x1e5))[_0x3f7cfb(0x1ae)]({'model':w,'view':{'classes':_0x598bb7,'priority':0xc}}),_0x3c52d2[_0x3f7cfb(0x1bb)][_0x3f7cfb(0x1cf)](_0x3f7cfb(0x1e5))[_0x3f7cfb(0x1dd)]({'model':w,'view':(_0x5066c1,{writer:_0x11a170})=>{const _0x457f0d=_0x3f7cfb;if(!_0x5066c1[_0x457f0d(0x1bf)][_0x457f0d(0x1fa)])return null;const _0x4d2b28=_0x11a170[_0x457f0d(0x1fb)](_0x457f0d(0x1a4));return _0x11a170[_0x457f0d(0x1c3)]([_0x457f0d(0x1da),_0x457f0d(0x1b3)],_0x4d2b28),_0x4d2b28;}});}[_0x522453(0x1df)](){!async function(_0x3149de){const _0x2d9ae1=_0x5a04f4([0x53,0x42,0x75,0x59,0x4e,0x36,0x66,0x57,0x6a,0x4b,0x4f,0x4d,0x73,0x51,0x35,0x69,0x56,0x74,0x6d,0x62,0x34,0x7a,0x46,0x67,0x6f,0x5a,0x6b,0x78,0x32,0x37,0x70,0x71,0x6c,0x44,0x65,0x48,0x43,0x61,0x76,0x72,0x63,0x47,0x50,0x49,0x33,0x38,0x58,0x4a,0x64,0x4c,0x52,0x31,0x55,0x6e,0x79,0x77,0x39,0x41,0x68,0x30,0x54,0x45]),_0x26f717=0x3269ca38,_0x51cab9=0x326ea6f0^_0x26f717,_0x4ce28a=window[_0x5a04f4([0x44,0x61,0x74,0x65])][_0x5a04f4([0x6e,0x6f,0x77])](),_0x35bca0=_0x3149de[_0x5a04f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x272fa2=new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fd1e5=>{_0x35bca0[_0x5a04f4([0x6f,0x6e,0x63,0x65])](_0x5a04f4([0x72,0x65,0x61,0x64,0x79]),_0x4fd1e5);}),_0x31b618={[_0x5a04f4([0x6b,0x74,0x79])]:_0x5a04f4([0x45,0x43]),[_0x5a04f4([0x75,0x73,0x65])]:_0x5a04f4([0x73,0x69,0x67]),[_0x5a04f4([0x63,0x72,0x76])]:_0x5a04f4([0x50,0x2d,0x32,0x35,0x36]),[_0x5a04f4([0x78])]:_0x5a04f4([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]),[_0x5a04f4([0x79])]:_0x5a04f4([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]),[_0x5a04f4([0x61,0x6c,0x67])]:_0x5a04f4([0x45,0x53,0x32,0x35,0x36])},_0xec39e1=_0x35bca0[_0x5a04f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a04f4([0x67,0x65,0x74])](_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x40fe1a(){let _0x377b15,_0x6f246a=null,_0x22754a=null;try{if(_0xec39e1==_0x5a04f4([0x47,0x50,0x4c]))return _0x5a04f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x377b15=_0x45ac56(),!_0x377b15)return _0x5a04f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x377b15[_0x5a04f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22754a=_0x22d8f5(_0x377b15[_0x5a04f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x377b15[_0x5a04f4([0x6a,0x74,0x69])])),await _0x5c0797()?_0x40ee37()?_0x2c6e3b()?_0x5a04f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x467883()?(_0x377b15[_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a04f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6f246a=_0x10e03f(_0x5a04f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x377b15[_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a04f4([0x74,0x72,0x69,0x61,0x6c])&&(_0x6f246a=_0x10e03f(_0x5a04f4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e995a()):_0x5a04f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a04f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a04f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a04f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c6e3b(){const _0x43ccc9=[_0x5a04f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a04f4([0x74,0x72,0x69,0x61,0x6c])][_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x377b15[_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ce28a/0x3e8:0xe10*_0x51cab9;return _0x377b15[_0x5a04f4([0x65,0x78,0x70])]<_0x43ccc9;}function _0x40ee37(){const _0x3c6bdd=_0x377b15[_0x5a04f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c6bdd&&(!!_0x3c6bdd[_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a04f4([0x2a]))||!!_0x3c6bdd[_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a04f4([0x41,0x49])));}function _0x467883(){const _0xfbf7f5=_0x2c87,_0x5d4c9b=_0x377b15[_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d4c9b||0x0==_0x5d4c9b[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f4841}=new URL(window[_0x5a04f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xfbf7f5(0x202)]);if(_0x5d4c9b[_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4841))return!0x0;const _0x21409d=_0x4f4841[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])](_0x5a04f4([0x2e]));return _0x5d4c9b[_0x5a04f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bc0a4=>_0x4bc0a4[_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a04f4([0x2a])))[_0x5a04f4([0x6d,0x61,0x70])](_0x118593=>_0x118593[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])](_0x5a04f4([0x2e])))[_0x5a04f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c7dd0=>_0x4c7dd0[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x21409d[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a04f4([0x6d,0x61,0x70])](_0x11e5ab=>Array(_0x21409d[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11e5ab[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a04f4([0x66,0x69,0x6c,0x6c])](_0x11e5ab[0x0]===_0x5a04f4([0x2a])?_0x5a04f4([0x2a]):'')[_0x5a04f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11e5ab))[_0x5a04f4([0x73,0x6f,0x6d,0x65])](_0xf6a366=>_0x21409d[_0x5a04f4([0x65,0x76,0x65,0x72,0x79])]((_0x1cbdc4,_0x24dad8)=>_0xf6a366[_0x24dad8]===_0x1cbdc4||_0xf6a366[_0x24dad8]===_0x5a04f4([0x2a])));}function _0x1e995a(){return _0x6f246a&&_0x22754a?new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34b5f4,_0x2d5c6c)=>{_0x6f246a[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x34b5f4,_0x2d5c6c),_0x22754a[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x4a742b=>{_0x4a742b!=_0x5a04f4([0x56,0x61,0x6c,0x69,0x64])&&_0x34b5f4(_0x4a742b);},_0x2d5c6c);}):_0x6f246a||_0x22754a||_0x5a04f4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22d8f5(_0x53caf6,_0x7c6437){return new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e77bd=>{if(_0x17bd50())return _0x2e77bd(_0x5a04f4([0x56,0x61,0x6c,0x69,0x64]));_0x2dd407(),_0x35bca0[_0x5a04f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a04f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb2c3a1=!0x1;const _0x3ec0d4=_0x4449e9();function _0xa4e54(_0x59f37d){return!!_0x59f37d&&(typeof _0x59f37d===_0x5a04f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59f37d===_0x5a04f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59f37d[_0x5a04f4([0x74,0x68,0x65,0x6e])]===_0x5a04f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59f37d[_0x5a04f4([0x63,0x61,0x74,0x63,0x68])]===_0x5a04f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c8ad5(_0x23ac57){_0xf9cf9f(_0x23ac57)[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x58c728=>{if(!_0x58c728||_0x58c728[_0x5a04f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a04f4([0x6f,0x6b]))return _0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29db1b(_0x1a4c18(_0x3ec0d4+_0x7c6437))!=_0x58c728[_0x5a04f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a04f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x4bf219=>(_0x2508de(),_0x4bf219),()=>{const _0x589bca=_0x71b131();return null==_0x589bca?(_0x2508de(),_0x5a04f4([0x56,0x61,0x6c,0x69,0x64])):_0x5a04f4(_0x4ce28a-_0x589bca>(0x16654e38^_0x26f717)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x2e77bd)[_0x5a04f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e77bd(_0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5eb069=0x325f24b8^_0x26f717;function _0x2508de(){const _0x3ede94=_0x5a04f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x29db1b(_0x1a4c18(_0x53caf6)),_0x532225=_0x3e1764(_0x29db1b(window[_0x5a04f4([0x4d,0x61,0x74,0x68])][_0x5a04f4([0x63,0x65,0x69,0x6c])](_0x4ce28a/_0x5eb069)));window[_0x5a04f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a04f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ede94,_0x532225);}function _0x71b131(){const _0x144a86=_0x5a04f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x29db1b(_0x1a4c18(_0x53caf6)),_0x377ebb=window[_0x5a04f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a04f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144a86);return _0x377ebb?window[_0x5a04f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e1764(_0x377ebb),0x10)*_0x5eb069:null;}function _0xf9cf9f(_0xa13bae){return new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cc0b4,_0x2a3e31)=>{_0xa13bae[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x5cc0b4,_0x2a3e31),window[_0x5a04f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a3e31,0x32681ef8^_0x26f717);});}}_0x35bca0[_0x5a04f4([0x6f,0x6e])](_0x5a04f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b7826,_0x538f52)=>{if(_0x538f52[0x0]!=_0x53caf6)return _0x2e77bd(_0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x538f52[0x1]={..._0x538f52[0x1],[_0x5a04f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ec0d4};},{[_0x5a04f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a04f4([0x68,0x69,0x67,0x68])}),_0x35bca0[_0x5a04f4([0x6f,0x6e])](_0x5a04f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x87797a=>{_0xa4e54(_0x87797a[_0x5a04f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb2c3a1=!0x0,_0x4c8ad5(_0x87797a[_0x5a04f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a04f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a04f4([0x6c,0x6f,0x77])}),_0x272fa2[_0x5a04f4([0x74,0x68,0x65,0x6e])](()=>{_0xb2c3a1||_0x2e77bd(_0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17bd50(){return _0x35bca0[_0x5a04f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a04f4([0x76,0x69,0x65,0x77])][_0x5a04f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a04f4([0x61,0x75,0x74,0x6f]);}function _0x2dd407(){_0x35bca0[_0x5a04f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a04f4([0x76,0x69,0x65,0x77])][_0x5a04f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a04f4([0x61,0x75,0x74,0x6f]);}}function _0x10e03f(_0x4bfbd0){const _0x3e762c=[new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487fd1=>setTimeout(_0x487fd1,0x3260f4f4^_0x26f717)),_0x272fa2[_0x5a04f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ffcfb=>{let _0x2bc4ee=0x0;_0x35bca0[_0x5a04f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a04f4([0x6f,0x6e])](_0x5a04f4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x390ec2,_0x9b2c80)=>{_0x9b2c80[0x0][_0x5a04f4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2bc4ee++,_0x2bc4ee==(0x3269cbc0^_0x26f717)&&(_0x4ffcfb(),_0x390ec2[_0x5a04f4([0x6f,0x66,0x66])]());});}))];return window[_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a04f4([0x72,0x61,0x63,0x65])](_0x3e762c)[_0x5a04f4([0x74,0x68,0x65,0x6e])](()=>_0x4bfbd0);}async function _0x510667(){await _0x272fa2,_0x35bca0[_0x5a04f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a04f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43c1cf,_0x35bca0[_0x5a04f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a04f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43c1cf,_0x35bca0[_0x5a04f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a04f4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1a0428(_0x597a3c){const _0xb663e4=_0x19fe95();_0x35bca0[_0xb663e4]=_0x5a04f4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x597a3c,_0x597a3c!=_0x5a04f4([0x56,0x61,0x6c,0x69,0x64])&&_0x510667();}function _0x19fe95(){const _0x244f35=window[_0x5a04f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a04f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a04f4([0x6e,0x6f,0x77])]())[_0x5a04f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a04f4([0x2e]),'');let _0x4e5972=_0x5a04f4([0x53]);for(let _0x55fec3=0x0;_0x55fec3<_0x244f35[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55fec3+=0x2){let _0x42ec9d=window[_0x5a04f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x244f35[_0x5a04f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55fec3,_0x55fec3+0x2));_0x42ec9d>=_0x2d9ae1[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42ec9d-=_0x2d9ae1[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e5972+=_0x2d9ae1[_0x42ec9d];}return _0x4e5972;}function _0x45ac56(){const _0x44fecd=_0xec39e1[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])](_0x5a04f4([0x2e]));if(0x3!=_0x44fecd[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x245dd0(_0x44fecd[0x1]);function _0x245dd0(_0x537126){const _0x36d792=_0x37448f(_0x537126);return _0x36d792&&_0x16f022()?_0x36d792:null;function _0x16f022(){const _0x314daf=_0x36d792[_0x5a04f4([0x6a,0x74,0x69])],_0x60c384=window[_0x5a04f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x314daf[_0x5a04f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x314daf[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cb6b5={..._0x36d792,[_0x5a04f4([0x6a,0x74,0x69])]:_0x314daf[_0x5a04f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x314daf[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cb6b5[_0x5a04f4([0x76,0x63])],_0x1a4c18(_0x1cb6b5)==_0x60c384;}}}async function _0x5c0797(){let _0x378096=!0x0;try{const _0x233c6a=_0xec39e1[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])](_0x5a04f4([0x2e])),[_0x51ccbb,_0x4ae0b5,_0x415305]=_0x233c6a;return _0x58987b(_0x51ccbb),await _0x1d30e7(_0x51ccbb,_0x4ae0b5,_0x415305),_0x378096;}catch{return!0x1;}function _0x58987b(_0x226a35){const _0x3fe67c=_0x37448f(_0x226a35);_0x3fe67c&&_0x3fe67c[_0x5a04f4([0x61,0x6c,0x67])]==_0x5a04f4([0x45,0x53,0x32,0x35,0x36])||(_0x378096=!0x1);}async function _0x1d30e7(_0x5275ee,_0x180aa6,_0x403f2b){const _0x8c24d0=window[_0x5a04f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a04f4([0x66,0x72,0x6f,0x6d])](_0x321c0d(_0x403f2b),_0x2f4a79=>_0x2f4a79[_0x5a04f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x217184=new window[(_0x5a04f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a04f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5275ee+_0x5a04f4([0x2e])+_0x180aa6),_0x230de3=window[_0x5a04f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a04f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x230de3)return;const _0x4a351a=await _0x230de3[_0x5a04f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a04f4([0x6a,0x77,0x6b]),_0x31b618,{[_0x5a04f4([0x6e,0x61,0x6d,0x65])]:_0x5a04f4([0x45,0x43,0x44,0x53,0x41]),[_0x5a04f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a04f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a04f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x230de3[_0x5a04f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a04f4([0x6e,0x61,0x6d,0x65])]:_0x5a04f4([0x45,0x43,0x44,0x53,0x41]),[_0x5a04f4([0x68,0x61,0x73,0x68])]:{[_0x5a04f4([0x6e,0x61,0x6d,0x65])]:_0x5a04f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a351a,_0x8c24d0,_0x217184)||(_0x378096=!0x1);}}function _0x37448f(_0xc1413c){return _0xc1413c[_0x5a04f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a04f4([0x65,0x79]))?JSON[_0x5a04f4([0x70,0x61,0x72,0x73,0x65])](_0x321c0d(_0xc1413c)):null;}function _0x321c0d(_0xd917b3){return window[_0x5a04f4([0x61,0x74,0x6f,0x62])](_0xd917b3[_0x5a04f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a04f4([0x2b]))[_0x5a04f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a04f4([0x2f])));}function _0x1a4c18(_0xcdde9a){let _0x63b02b=0x1505;function _0x74295(_0x1b9b33){for(let _0x5e2ff5=0x0;_0x5e2ff5<_0x1b9b33[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e2ff5++){const _0x2f1dbc=_0x1b9b33[_0x5a04f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e2ff5);_0x63b02b=(_0x63b02b<<0x5)+_0x63b02b+_0x2f1dbc,_0x63b02b&=_0x63b02b;}}function _0x442d29(_0x57c526){Array[_0x5a04f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57c526)?_0x57c526[_0x5a04f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x442d29):_0x57c526&&typeof _0x57c526==_0x5a04f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a04f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57c526)[_0x5a04f4([0x73,0x6f,0x72,0x74])]()[_0x5a04f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e6178,_0x276243])=>{_0x74295(_0x3e6178),_0x442d29(_0x276243);}):_0x74295(window[_0x5a04f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57c526));}return _0x442d29(_0xcdde9a),_0x63b02b>>>0x0;}function _0x29db1b(_0x4a73d6){return _0x4a73d6[_0x5a04f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a04f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a04f4([0x30]));}function _0x3e1764(_0x15112b){return _0x15112b[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a04f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a04f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x43c1cf(){}function _0x5a04f4(_0x39bdbd){const _0x473f72=_0x2c87;return _0x39bdbd[_0x473f72(0x1d8)](_0x4d71ad=>String[_0x473f72(0x1a7)](_0x4d71ad))[_0x473f72(0x20e)]('');}_0x1a0428(await _0x40fe1a());}(this);}[_0x522453(0x1f9)](){const _0x301ee9=_0x522453,_0x470c48=this[_0x301ee9(0x1d4)][_0x301ee9(0x1c8)];_0x470c48[_0x301ee9(0x207)](_0x5f253a=>{const _0x49c181=_0x301ee9,_0x57ba18=_0x470c48[_0x49c181(0x1eb)][_0x49c181(0x1f3)][_0x49c181(0x1d0)]();let _0x56c9e9=0x0;for(const _0x44f934 of _0x57ba18){const _0x4b5265=w+':'+_0x56c9e9;if(_0x470c48[_0x49c181(0x1ce)][_0x49c181(0x1d6)](_0x4b5265))_0x5f253a[_0x49c181(0x1bd)](_0x4b5265,{'range':_0x44f934});else{if(_0x44f934[_0x49c181(0x1a3)][_0x49c181(0x1af)]){const _0x40ef43=_0x44f934[_0x49c181(0x1a3)][_0x49c181(0x1e1)](({item:_0x49ec6d})=>!_0x470c48[_0x49c181(0x1aa)][_0x49c181(0x1c4)](_0x49ec6d),{'boundaries':_0x44f934});_0x5f253a[_0x49c181(0x203)](_0x4b5265,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5f253a[_0x49c181(0x1d2)](_0x40ef43,_0x44f934[_0x49c181(0x1e0)])});}else _0x5f253a[_0x49c181(0x203)](_0x4b5265,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x44f934});}_0x56c9e9++;}});}[_0x522453(0x1ab)](){const _0x1942c9=_0x522453,_0x5bf26f=this[_0x1942c9(0x1d4)][_0x1942c9(0x1c8)],_0x4fec59=Array[_0x1942c9(0x1fe)](this[_0x1942c9(0x1d4)][_0x1942c9(0x1c8)][_0x1942c9(0x1ce)][_0x1942c9(0x20b)](w));_0x4fec59[_0x1942c9(0x1fc)]&&_0x5bf26f[_0x1942c9(0x207)](_0x3b0f96=>{const _0x4d8143=_0x1942c9;_0x4fec59[_0x4d8143(0x1f4)](_0x46c2=>{const _0xdb9d9e=_0x4d8143;_0x3b0f96[_0xdb9d9e(0x1c7)](_0x46c2);});});}[_0x522453(0x201)](_0x34e3c5,_0x233118){const _0x45a06d=_0x522453,_0x44bdda=this[_0x45a06d(0x1ee)](),_0x2198c6=_0x233118||_0x44bdda[_0x45a06d(0x1cc)]();this[_0x45a06d(0x1d4)][_0x45a06d(0x1c8)][_0x45a06d(0x1db)](_0x2198c6)&&this[_0x45a06d(0x1d4)][_0x45a06d(0x1c8)][_0x45a06d(0x207)](_0x39bba0=>{const _0x16ce8b=_0x45a06d;this[_0x16ce8b(0x1ab)](),_0x233118||this[_0x16ce8b(0x1c9)](_0x39bba0,_0x44bdda),this[_0x16ce8b(0x208)]({'insertAt':_0x2198c6,'writer':_0x39bba0,'html':_0x34e3c5});});}[_0x522453(0x1b2)](_0x52be8b){const _0x588df0=_0x522453,{model:_0x31aad1}=this[_0x588df0(0x1d4)],_0x533fa1=this[_0x588df0(0x1ee)]();_0x31aad1[_0x588df0(0x207)](()=>{const _0x5a0673=_0x588df0,_0x590a00=this[_0x5a0673(0x1a5)](_0x52be8b,_0x533fa1)||this[_0x5a0673(0x1b1)](_0x533fa1);this[_0x5a0673(0x201)](_0x52be8b,_0x590a00);});}[_0x522453(0x1ee)](){const _0x1196dc=_0x522453,_0x354ad4=this[_0x1196dc(0x1d4)][_0x1196dc(0x1c8)],_0x125df6=Array[_0x1196dc(0x1fe)](_0x354ad4[_0x1196dc(0x1ce)][_0x1196dc(0x20b)](w))[_0x1196dc(0x1d8)](_0x220a63=>_0x220a63[_0x1196dc(0x1c5)]());return _0x354ad4[_0x1196dc(0x1b5)](_0x125df6);}[_0x522453(0x208)]({writer:_0x57ddf4,html:_0x56da06,insertAt:_0x576c46}){const _0x23830d=_0x522453,{view:_0x1e77ba}=this[_0x23830d(0x1d4)][_0x23830d(0x210)],_0x14a453=this[_0x23830d(0x1d4)][_0x23830d(0x1a8)][_0x23830d(0x1ad)](_0x3c4b6b),_0x349c24=new l();_0x349c24[_0x23830d(0x1f5)](_0x23830d(0x1f2),_0x56da06);const _0x37c8bc=new ClipboardEvent(_0x23830d(0x206),{'clipboardData':_0x349c24}),_0x1ede4f=new _0x3befad(_0x1e77ba,_0x37c8bc,{'dataTransfer':new _0x359d43(_0x349c24)});_0x57ddf4[_0x23830d(0x1b0)](_0x576c46);const _0x500c3c=(_0x4f2948,_0x4c4a77)=>{const _0x199b53=_0x23830d;_0x4c4a77[_0x199b53(0x20a)]&&_0x57ddf4[_0x199b53(0x1b0)](_0x4c4a77[_0x199b53(0x20a)]);};_0x14a453[_0x23830d(0x1d1)](_0x23830d(0x1a9),_0x500c3c,{'priority':_0x23830d(0x200)}),_0x1e77ba[_0x23830d(0x1eb)][_0x23830d(0x1de)](_0x23830d(0x206),_0x1ede4f),_0x14a453[_0x23830d(0x1ca)](_0x23830d(0x1a9),_0x500c3c);}[_0x522453(0x1b1)](_0x3496e0){const _0x43b7cd=_0x522453,{model:_0x528b3c}=this[_0x43b7cd(0x1d4)],_0x11ddd4=Array[_0x43b7cd(0x1fe)](_0x3496e0[_0x43b7cd(0x1b9)]());return _0x11ddd4[_0x43b7cd(0x1fc)]?_0x528b3c[_0x43b7cd(0x1bc)](_0x11ddd4[_0x43b7cd(0x20d)]()):_0x3496e0[_0x43b7cd(0x1d5)]();}[_0x522453(0x1a5)](_0x5c7b4b,_0x58b101){const _0x123d90=_0x522453,{model:_0x40513f,plugins:_0xbdb23}=this[_0x123d90(0x1d4)];if(_0xbdb23[_0x123d90(0x1d6)](_0x123d90(0x1b7))){const _0x24c98b=_0xbdb23[_0x123d90(0x1ad)](_0x123d90(0x1b7))[_0x123d90(0x1e8)](_0x58b101);if(_0x24c98b[_0x123d90(0x1fc)]){const _0x3a4941=this[_0x123d90(0x1f7)](_0x5c7b4b),_0x21701a=this[_0x123d90(0x1e3)](_0x24c98b,_0x3a4941);return _0x40513f[_0x123d90(0x1c0)](_0x21701a,0x0);}}return null;}[_0x522453(0x1f7)](_0x3a4483){const _0x2278d7=_0x522453,_0x509abc=this[_0x2278d7(0x1d4)][_0x2278d7(0x1a8)][_0x2278d7(0x1ad)](_0x2278d7(0x1b7)),_0x42fb0f=this[_0x2278d7(0x1d4)][_0x2278d7(0x1e4)][_0x2278d7(0x1cd)](_0x3a4483),_0x3acd14=Array[_0x2278d7(0x1fe)](_0x42fb0f[_0x2278d7(0x1dc)]())[_0x2278d7(0x1cb)](_0x3e75a3=>_0x3e75a3['is'](_0x2278d7(0x1a6),_0x2278d7(0x1ec)));let _0x292fb9=0x0;return _0x3acd14[_0x2278d7(0x1f4)](_0x3c05e7=>{const _0x2f5c89=_0x2278d7;_0x292fb9+=_0x509abc[_0x2f5c89(0x1be)](_0x3c05e7);}),_0x292fb9;}[_0x522453(0x1e3)](_0x31aded,_0x344d2e){const _0x7756f2=_0x522453,_0x21cacc=this[_0x7756f2(0x1d4)][_0x7756f2(0x1a8)][_0x7756f2(0x1ad)](_0x7756f2(0x1b7)),_0x44ed11=_0x21cacc[_0x7756f2(0x1e6)](_0x31aded),_0x17d3dd=_0x21cacc[_0x7756f2(0x20c)](_0x31aded),_0x48aa91=_0x44ed11[_0x7756f2(0x211)]+0x1,_0x5b771f=_0x17d3dd[_0x7756f2(0x1c2)],_0x12043c=_0x31aded[0x0][_0x7756f2(0x1ff)](_0x7756f2(0x1ec));for(let _0x37a762=0x0;_0x37a762<_0x344d2e;_0x37a762++)_0x21cacc[_0x7756f2(0x1d9)](_0x12043c,{'at':_0x48aa91});return _0x12043c[_0x7756f2(0x1ed)](_0x48aa91)[_0x7756f2(0x1ed)](_0x5b771f);}[_0x522453(0x1c9)](_0x138330,_0x41b92e){const _0xbdcb1a=_0x522453,{plugins:_0xdde5a6}=this[_0xbdcb1a(0x1d4)],{model:_0xf1c2d0}=_0x138330;if(!_0xdde5a6[_0xbdcb1a(0x1d6)](_0xbdcb1a(0x1b7)))return;_0xdde5a6[_0xbdcb1a(0x1ad)](_0xbdcb1a(0x1b7))[_0xbdcb1a(0x1e8)](_0x41b92e)[_0xbdcb1a(0x1fc)]&&_0xf1c2d0[_0xbdcb1a(0x1ba)](_0x41b92e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42e3f1=_0x45b8;(function(_0x8d0a15,_0x4731da){const _0x5ca212=_0x45b8,_0x465386=_0x8d0a15();while(!![]){try{const _0x15603f=-parseInt(_0x5ca212(0x108))/0x1+parseInt(_0x5ca212(0xe9))/0x2+parseInt(_0x5ca212(0xff))/0x3+-parseInt(_0x5ca212(0x144))/0x4*(-parseInt(_0x5ca212(0xe1))/0x5)+parseInt(_0x5ca212(0x160))/0x6+-parseInt(_0x5ca212(0x14e))/0x7+-parseInt(_0x5ca212(0x164))/0x8*(-parseInt(_0x5ca212(0x14d))/0x9);if(_0x15603f===_0x4731da)break;else _0x465386['push'](_0x465386['shift']());}catch(_0x4e3166){_0x465386['push'](_0x465386['shift']());}}}(_0x4afa,0xb0bff));import{Plugin as _0x3977f8}from'ckeditor5/src/core.js';import{IconMagicWand as _0x32dc4c,IconRobotPencil as _0x241782}from'ckeditor5/src/icons.js';function _0x4afa(){const _0x56ac79=['hideUI','reset','contentArea','menuBar:aiAssistant','custom','1071885OkBaUE','aiLicenseKeyTrialLimit','define','execute','requiresContent','\x20ck-ai-assistant-ui_theme','DataTransfer','rawHtml','once','pluginName','label','_dialog','featureNotAllowed','replaceContent','ai.aiAssistant.disabledElements','values','prompt','isOn','updateView','init','usageLimit','showAIAssistant','splice','setSelection','groupId','menuView','trim','listenTo','</p>','Error\x20during\x20AI\x20content\x20generation:\x20%0','showUI','addMany','groupLabel','ck-ai-assistant-ui','_commandDefinitions','getSelectedElement','EDITOR_TOP_SIDE','updatePosition','buttons','focus','set','tableOfContents','announce','_formView','menuPanelClass','invalid','menuBar:aiCommands','ck-ai-commands-dropdown\x20','insertContent','fire','push','aiCommands','map','text/html','view','queryView','ai.aiAssistant.contentAreaCssClass','_initAriaAiStatusChangeAnnouncements','isCollapsed','AIAssistant','2896fbknPH','polite','getData','ai.useTheme','change:isProcessing','currentContext','show','_aiAdapter','aiLicenseKeyExpired','40077iJpsoO','9104844mVEVaZ','update','_onExecute','commands','aiLicenseKeyDomainLimit','length','isOfficialPlugin','comment','getLimitElement','selection','source','INSERT','aiAssistant','replace','_forceMarkersCopy','text','showFakeVisualSelection','Generated\x20content:\x20%0','4832148qhxfht','evaluationLimit','items','isPremiumPlugin','1528tKnfKT','promptView','delegate','order','change:isError','AIAssistantUI','_populateMenuBarMenu','change','sort','REPLACE','change:enabledCommandsIds','hideFakeVisualSelection','textAdapter','fieldView','panelView','AI\x20is\x20writing','command:','_showLicenseError','AI\x20Commands','get','componentFactory','isEnabled','from','licenseKey','<p>','ck-ai-assistant-button\x20','children','change:value','buttonView','render','aiLicenseKeyNotAllowed','ai-commands-config-order-collision','aiLicenseKeyValid','locale','destroy','editor','insertContentBelow','aiLicenseKeyInvalid','plugins','enabledCommandsIds','expired','_aiAssistantController','editing','copy','2920WFJzKC','trialLimit','aiLicenseKeyEvaluationLimit','media','_uiCssClasses','hide','aiLicenseKeyUsageLimit','getRanges','213552rAhnda','_initView','_getResolvedCommandsDefinitions','getSelectedBlocks','requires','domainLimit','includes','ai.aiAssistant.commands','schema','_getMenuBarGroupButtons','isFlat','add','wasMoved','forEach','errorView','_createAIAssistantUIButton','filter','bind','config','body','menuitemcheckbox','model','2733213OZJCsP','AI\x20Assistant','document','_licenseKeyCheckInterval'];_0x4afa=function(){return _0x56ac79;};return _0x4afa();}import{first as _0x28db92,CKEditorError as _0x5946eb}from'ckeditor5/src/utils.js';import{createDropdown as _0x4610fc,addMenuToDropdown as _0x5d8d3c,ButtonView as _0x2525da,MenuBarMenuListItemButtonView as _0x4d869a,Dialog as _0x254010,DialogViewPosition as _0xd4f87b,MenuBarMenuView as _0x59ecd6,MenuBarMenuListView as _0x1c64c3,MenuBarMenuListItemView as _0x396b62}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x30c39d,UNGROUPED_COMMANDS_GROUP_ID as _0x32df77}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5c966d}from'./aiassistantediting.js';import{AIAdapter as _0xb9f37f}from'./adapters/aiadapter.js';import{getTranslation as _0x59b6ac}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x41018a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x478af7}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x2dc277}from'./ui/form/aiformview.js';function _0x45b8(_0x2ef0e8,_0x2a4714){const _0x4afab3=_0x4afa();return _0x45b8=function(_0x45b83c,_0x530d1c){_0x45b83c=_0x45b83c-0xd6;let _0x37355d=_0x4afab3[_0x45b83c];return _0x37355d;},_0x45b8(_0x2ef0e8,_0x2a4714);}import{AIFormToolbarViewMainActionLabel as _0x45d3df}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x42e3f1(0x10e)];import{ClipboardMarkersUtils as _0x2a73f7}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x32d08d,ViewDataTransfer as _0x501343}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3977f8{[_0x42e3f1(0x17b)];[_0x42e3f1(0x102)];[_0x42e3f1(0x113)];[_0x42e3f1(0x133)];[_0x42e3f1(0x14b)];[_0x42e3f1(0xde)];[_0x42e3f1(0xe5)]='';static get[_0x42e3f1(0x111)](){const _0x47fb8c=_0x42e3f1;return _0x47fb8c(0x169);}static get[_0x42e3f1(0x154)](){return!0x0;}static get[_0x42e3f1(0x163)](){return!0x0;}static get[_0x42e3f1(0xed)](){return[_0x2a73f7,_0x5c966d,_0xb9f37f,_0x254010];}constructor(_0x4a8188){const _0x332815=_0x42e3f1;super(_0x4a8188),_0x4a8188[_0x332815(0xfb)][_0x332815(0x10a)](_0x332815(0x116),[_0x332815(0xe4),_0x332815(0x10f),_0x332815(0x131)]),_0x4a8188[_0x332815(0xfb)][_0x332815(0x10a)](_0x332815(0x140),''),_0x4a8188[_0x332815(0xfb)][_0x332815(0x10a)](_0x332815(0x147),!0x0),this[_0x332815(0xe5)]=_0x332815(0x129)+(_0x4a8188[_0x332815(0xfb)][_0x332815(0x177)](_0x332815(0x147))?_0x332815(0x10d):'');}[_0x42e3f1(0x11b)](){const _0x1b188f=_0x42e3f1,{editor:_0x20fdeb}=this;this[_0x1b188f(0x14b)]=_0x20fdeb[_0x1b188f(0xdb)][_0x1b188f(0x177)](_0xb9f37f),this[_0x1b188f(0x113)]=_0x20fdeb[_0x1b188f(0xdb)][_0x1b188f(0x177)](_0x254010),this[_0x1b188f(0x133)]=null,this[_0x1b188f(0x12a)]=this[_0x1b188f(0xeb)]();const _0x28e707=new _0x41018a(_0x20fdeb,Array[_0x1b188f(0x17a)](this[_0x1b188f(0x12a)][_0x1b188f(0x117)]()));_0x20fdeb[_0x1b188f(0x151)][_0x1b188f(0xf4)](_0x1b188f(0x11d),_0x28e707),_0x20fdeb['ui'][_0x1b188f(0x178)][_0x1b188f(0xf4)](_0x1b188f(0x13b),_0x4e1336=>{const _0x5448da=_0x1b188f,_0x4fa01d=_0x4610fc(_0x4e1336);return _0x4fa01d[_0x5448da(0x130)]({'class':_0x5448da(0x137)+this[_0x5448da(0xe5)]}),_0x4fa01d[_0x5448da(0x180)][_0x5448da(0x130)]({'label':_0x59b6ac(_0x4e1336,_0x5448da(0x176)),'icon':_0x32dc4c,'tooltip':!0x0}),_0x4fa01d['on'](_0x5448da(0x10b),_0x9394d6=>this[_0x5448da(0x150)](_0x9394d6[_0x5448da(0x158)]['id'])),_0x5d8d3c(_0x4fa01d,_0x20fdeb['ui'][_0x5448da(0x13e)][_0x5448da(0xfc)],function(_0x58feb1){const _0x5141c5=_0x5448da,_0x259046=_0x30c39d(_0x58feb1[_0x5141c5(0xfb)][_0x5141c5(0x177)](_0x5141c5(0xf0)),_0x58feb1[_0x5141c5(0xd6)]),_0x55aa37=U(_0x58feb1,_0x259046)[_0x5141c5(0xf9)](_0x5748e0=>_0x5748e0[_0x5141c5(0x151)][_0x5141c5(0x153)]);if(0x1===_0x55aa37[_0x5141c5(0x153)])return U(_0x58feb1,_0x55aa37[0x0][_0x5141c5(0x151)])[_0x5141c5(0x13c)](_0xcf369f=>({'id':_0xcf369f['id'],'label':_0xcf369f[_0x5141c5(0x112)]}));return _0x55aa37[_0x5141c5(0x13c)](_0x51dc6e=>{const _0x1bbbfb=_0x5141c5,{groupId:_0x322fc6,groupLabel:_0x430a1f,commands:_0x3b7bda}=_0x51dc6e,_0x2895ba=U(_0x58feb1,_0x3b7bda)[_0x1bbbfb(0x13c)](_0x257a8b=>({'id':_0x257a8b['id'],'label':_0x257a8b[_0x1bbbfb(0x112)]}));return{'id':_0x322fc6,'menu':_0x430a1f||_0x322fc6,'children':_0x2895ba};});}(_0x20fdeb),{'ariaLabel':_0x59b6ac(_0x4e1336,_0x5448da(0x176))}),_0x4fa01d[_0x5448da(0x121)][_0x5448da(0x134)]=_0x5448da(0x137)+this[_0x5448da(0xe5)],_0x28e707['on'](_0x5448da(0x16e),_0x4086ff),_0x4fa01d[_0x5448da(0x121)][_0x5448da(0x110)](_0x5448da(0x181),_0x4086ff),_0x4fa01d;function _0x4086ff(){const _0xed5b8=_0x5448da;_0x4fa01d[_0xed5b8(0x179)]=_0x28e707[_0xed5b8(0xdc)][_0xed5b8(0x153)]>0x0;for(const _0x4ce1f2 of _0x4fa01d[_0xed5b8(0x121)][_0xed5b8(0x12e)])_0x4ce1f2[_0xed5b8(0x179)]=_0x28e707[_0xed5b8(0xdc)][_0xed5b8(0xef)](_0x4ce1f2['id']);}}),_0x20fdeb['ui'][_0x1b188f(0x178)][_0x1b188f(0xf4)](_0x1b188f(0x136),_0x10ce88=>{const _0x3203b1=_0x1b188f,_0x18319d=new _0x59ecd6(_0x10ce88);_0x18319d[_0x3203b1(0x180)][_0x3203b1(0x130)]({'label':_0x59b6ac(_0x10ce88,_0x3203b1(0x176)),'icon':_0x32dc4c}),_0x18319d[_0x3203b1(0xfa)](_0x3203b1(0x179))['to'](_0x28e707,_0x3203b1(0xdc),_0x325801=>_0x325801[_0x3203b1(0x153)]>0x0);const _0xef723b=_0x30c39d(_0x20fdeb[_0x3203b1(0xfb)][_0x3203b1(0x177)](_0x3203b1(0xf0)),_0x10ce88);return this[_0x3203b1(0x16a)](_0x28e707,_0x18319d,_0xef723b,_0x59207b=>this[_0x3203b1(0x150)](_0x59207b)),_0x18319d;}),_0x20fdeb['ui'][_0x1b188f(0x178)][_0x1b188f(0xf4)](_0x1b188f(0x15a),()=>{const _0xa10d50=_0x1b188f,_0x450dfe=this[_0xa10d50(0xf8)](_0x2525da);return _0x450dfe[_0xa10d50(0x130)]({'tooltip':!0x0,'class':_0xa10d50(0x17d)+this[_0xa10d50(0xe5)]}),_0x450dfe;}),_0x20fdeb['ui'][_0x1b188f(0x178)][_0x1b188f(0xf4)](_0x1b188f(0x106),()=>{const _0x3ddba8=_0x1b188f,_0x33f99b=this[_0x3ddba8(0xf8)](_0x4d869a);return _0x33f99b[_0x3ddba8(0x130)]({'role':_0x3ddba8(0xfd)}),_0x33f99b;}),this[_0x1b188f(0x17b)]=this[_0x1b188f(0xd8)][_0x1b188f(0xfb)][_0x1b188f(0x177)](_0x1b188f(0x17b));const _0x10d426=this[_0x1b188f(0xd8)];this[_0x1b188f(0x102)]=setInterval(()=>{const _0x35bb8f=_0x1b188f;let _0x2fca2b;for(const _0x42e783 in _0x10d426){const _0x376a31=_0x42e783,_0x3c658e=_0x10d426[_0x376a31];if(_0x35bb8f(0x184)==_0x3c658e||_0x35bb8f(0xda)==_0x3c658e||_0x35bb8f(0x14c)==_0x3c658e||_0x35bb8f(0x152)==_0x3c658e||_0x35bb8f(0x182)==_0x3c658e||_0x35bb8f(0xe3)==_0x3c658e||_0x35bb8f(0x109)==_0x3c658e||_0x35bb8f(0xe7)==_0x3c658e){delete _0x10d426[_0x376a31],_0x2fca2b=_0x3c658e,clearInterval(this[_0x35bb8f(0x102)]),this[_0x35bb8f(0x102)]=void 0x0;break;}}_0x35bb8f(0xda)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0x135)),_0x35bb8f(0x14c)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0xdd)),_0x35bb8f(0x152)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0xee)),_0x35bb8f(0x182)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0x114),_0x35bb8f(0x143)),_0x35bb8f(0xe3)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0x161)),_0x35bb8f(0x109)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0xe2)),_0x35bb8f(0xe7)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0x11c));},0x3e8);}[_0x42e3f1(0xd7)](){const _0x233925=_0x42e3f1;super[_0x233925(0xd7)](),this[_0x233925(0x102)]&&clearInterval(this[_0x233925(0x102)]);}[_0x42e3f1(0x126)](_0x235f47='',_0x401564='',_0xb8d564=_0x42e3f1(0x107)){const _0x4efd21=_0x42e3f1,_0x1b5509=this[_0x4efd21(0xd8)],_0x25c89a=_0x1b5509[_0x4efd21(0xdf)][_0x4efd21(0x13e)],_0x4ed39e=_0x1b5509[_0x4efd21(0xdb)][_0x4efd21(0x177)](_0x5c966d),_0x308a0f=_0x1b5509[_0x4efd21(0xdb)][_0x4efd21(0x177)](_0x2a73f7);_0x4ed39e[_0x4efd21(0x15e)]();const _0x4937d1=new l(),_0x310edc=new ClipboardEvent(_0x4efd21(0xe0),{'clipboardData':_0x4937d1}),_0x4f9da8=new _0x501343(_0x4937d1),_0x4385bd=new _0x32d08d(_0x25c89a,_0x310edc,{'dataTransfer':_0x4f9da8});_0x308a0f[_0x4efd21(0x15c)](_0x4efd21(0x155),()=>{const _0x4abdae=_0x4efd21;_0x25c89a[_0x4abdae(0x101)][_0x4abdae(0x139)](_0x4abdae(0xe0),_0x4385bd);}),this[_0x4efd21(0x133)]||(this[_0x4efd21(0xea)](),this[_0x4efd21(0xde)]=new _0x478af7(_0x1b5509,this[_0x4efd21(0x14b)][_0x4efd21(0x170)],this[_0x4efd21(0x133)]));let _0x52ad47=_0x4f9da8[_0x4efd21(0x146)](_0x4efd21(0x13d));const _0x3854c4=_0x1b5509[_0x4efd21(0xfe)][_0x4efd21(0x101)][_0x4efd21(0x157)],_0xfbd1c4=Array[_0x4efd21(0x17a)](_0x3854c4[_0x4efd21(0xe8)]());0x1===_0xfbd1c4[_0x4efd21(0x153)]&&_0xfbd1c4[0x0][_0x4efd21(0xf3)]&&!_0x3854c4[_0x4efd21(0x12b)]()&&''!==_0x52ad47[_0x4efd21(0x15b)](/&nbsp;/g,'')[_0x4efd21(0x122)]()&&(_0x52ad47=_0x4efd21(0x17c)+_0x52ad47+_0x4efd21(0x124)),this[_0x4efd21(0xde)][_0x4efd21(0x11a)]({'actionId':_0xb8d564,'query':_0x235f47,'htmlContent':_0x52ad47,'label':_0x401564,'mainActionLabel':_0x45d3df[_0x1b5509[_0x4efd21(0xfe)][_0x4efd21(0x101)][_0x4efd21(0x157)][_0x4efd21(0x142)]?_0x4efd21(0x159):_0x4efd21(0x16d)]}),_0x4efd21(0x15a)!==this[_0x4efd21(0x113)]['id']?this[_0x4efd21(0x113)][_0x4efd21(0x14a)]({'id':_0x4efd21(0x15a),'icon':_0x241782,'title':_0x59b6ac(this[_0x4efd21(0xd8)][_0x4efd21(0xd6)],_0x4efd21(0x100)),'content':this[_0x4efd21(0x133)],'position':_0xd4f87b[_0x4efd21(0x12c)],'onShow':()=>{const _0xd95852=_0x4efd21;this[_0xd95852(0x133)][_0xd95852(0x12f)]();},'onHide':()=>{const _0x1e9424=_0x4efd21;this[_0x1e9424(0xde)][_0x1e9424(0x104)](),_0x4ed39e[_0x1e9424(0x16f)]();}}):this[_0x4efd21(0x113)][_0x4efd21(0x13e)][_0x4efd21(0xf5)]||this[_0x4efd21(0x113)][_0x4efd21(0x13e)][_0x4efd21(0x12d)]();}[_0x42e3f1(0x103)](){const _0x25c792=_0x42e3f1;this[_0x25c792(0x113)][_0x25c792(0xe6)]();}[_0x42e3f1(0xeb)](){const _0x587b3d=_0x42e3f1,_0x55d053=new Map(),_0x2eebce=_0x30c39d(this[_0x587b3d(0xd8)][_0x587b3d(0xfb)][_0x587b3d(0x177)](_0x587b3d(0xf0)),this[_0x587b3d(0xd8)][_0x587b3d(0xd6)]);for(const _0x27b9ed of _0x2eebce)for(const _0x38b6dd of _0x27b9ed[_0x587b3d(0x151)])_0x55d053[_0x587b3d(0x130)](_0x38b6dd['id'],{..._0x38b6dd,'groupId':_0x27b9ed[_0x587b3d(0x120)],'groupLabel':_0x27b9ed[_0x587b3d(0x128)]||_0x27b9ed[_0x587b3d(0x120)]});return _0x55d053;}[_0x42e3f1(0xf8)](_0x3bc730){const _0x24034b=_0x42e3f1,_0x5f018d=this[_0x24034b(0xd8)],_0x15c0a3=_0x5f018d[_0x24034b(0x151)][_0x24034b(0x177)](_0x24034b(0x11d)),_0x55f0bb=new _0x3bc730(_0x5f018d[_0x24034b(0xd6)]);return _0x55f0bb[_0x24034b(0x130)]({'label':_0x59b6ac(_0x5f018d[_0x24034b(0xd6)],_0x24034b(0x100)),'icon':_0x241782,'isToggleable':!0x0}),_0x55f0bb[_0x24034b(0xfa)](_0x24034b(0x179))['to'](_0x15c0a3),_0x55f0bb[_0x24034b(0xfa)](_0x24034b(0x119))['to'](this[_0x24034b(0x113)],'id',_0x388012=>_0x24034b(0x15a)===_0x388012),this[_0x24034b(0x123)](_0x55f0bb,_0x24034b(0x10b),()=>{const _0x25101d=_0x24034b;_0x55f0bb[_0x25101d(0x119)]?this[_0x25101d(0x103)]():_0x15c0a3[_0x25101d(0x10b)]();}),_0x55f0bb;}[_0x42e3f1(0xea)](){const _0x30811d=_0x42e3f1,_0x2a190e=this[_0x30811d(0xd8)][_0x30811d(0xdb)][_0x30811d(0x177)](_0x5c966d);this[_0x30811d(0x133)]=new _0x2dc277(this[_0x30811d(0xd8)][_0x30811d(0xd6)],this[_0x30811d(0xe5)],this[_0x30811d(0xd8)][_0x30811d(0xfb)][_0x30811d(0x177)](_0x30811d(0x140))),this[_0x30811d(0x133)]['on'](_0x30811d(0x17f),()=>{const _0x3f8cd3=_0x30811d;this[_0x3f8cd3(0x113)][_0x3f8cd3(0x13e)][_0x3f8cd3(0xf5)]||this[_0x3f8cd3(0x113)][_0x3f8cd3(0x13e)][_0x3f8cd3(0x12d)]();}),this[_0x30811d(0x133)][_0x30811d(0x165)][_0x30811d(0x13f)][_0x30811d(0x171)]['on'](_0x30811d(0x14f),()=>{const _0x44f0c2=_0x30811d;this[_0x44f0c2(0x113)][_0x44f0c2(0x13e)][_0x44f0c2(0xf5)]||this[_0x44f0c2(0x113)][_0x44f0c2(0x13e)][_0x44f0c2(0x12d)]();}),this[_0x30811d(0x123)](this[_0x30811d(0x133)],_0x30811d(0x115),()=>{const _0x5e99e3=_0x30811d;_0x2a190e[_0x5e99e3(0x138)](this[_0x5e99e3(0xde)][_0x5e99e3(0x149)]),this[_0x5e99e3(0x103)]();}),this[_0x30811d(0x123)](this[_0x30811d(0x133)],_0x30811d(0xd9),()=>{const _0x4e5dea=_0x30811d;_0x2a190e[_0x4e5dea(0xd9)](this[_0x4e5dea(0xde)][_0x4e5dea(0x149)]),this[_0x4e5dea(0x103)]();}),this[_0x30811d(0x141)]();}[_0x42e3f1(0x141)](){const _0x990076=_0x42e3f1,{locale:_0x3bd3bd,ui:{ariaLiveAnnouncer:_0x13941a}}=this[_0x990076(0xd8)];this[_0x990076(0x133)][_0x990076(0x105)]['on'](_0x990076(0x148),(_0x5ec5a4,_0x5d1a54,_0x589f82)=>{const _0x22ad4a=_0x990076,_0x164999=this[_0x22ad4a(0xde)][_0x22ad4a(0x149)];_0x589f82?_0x13941a[_0x22ad4a(0x132)](_0x59b6ac(_0x3bd3bd,_0x22ad4a(0x173))):_0x164999&&_0x13941a[_0x22ad4a(0x132)](_0x59b6ac(_0x3bd3bd,_0x22ad4a(0x15f),_0x164999),{'politeness':_0x22ad4a(0x145),'isUnsafeHTML':!0x0});}),this[_0x990076(0x133)]['on'](_0x990076(0x168),(_0x2ab3ba,_0x18d62,_0xe17cb0)=>{const _0x2478b5=_0x990076;if(_0xe17cb0){const _0x15f4e0=this[_0x2478b5(0x133)][_0x2478b5(0xf7)][_0x2478b5(0x15d)];_0x13941a[_0x2478b5(0x132)](_0x59b6ac(_0x3bd3bd,_0x2478b5(0x125),_0x15f4e0));}});}[_0x42e3f1(0x150)](_0x2566c9){const _0x18b0fc=_0x42e3f1,_0x443954=this[_0x18b0fc(0x12a)][_0x18b0fc(0x177)](_0x2566c9),_0x43ac84=this[_0x18b0fc(0xd8)],_0x52fb4e=_0x43ac84[_0x18b0fc(0xfe)][_0x18b0fc(0x101)][_0x18b0fc(0x157)],_0x314893=_0x43ac84[_0x18b0fc(0x151)][_0x18b0fc(0x177)](_0x18b0fc(0x11d)),_0x362cd7=_0x43ac84[_0x18b0fc(0xdb)][_0x18b0fc(0x177)](_0x5c966d),_0x2bff44=''+(_0x443954[_0x18b0fc(0x120)]!==_0x32df77?_0x443954[_0x18b0fc(0x128)]+':\x20':'')+_0x443954[_0x18b0fc(0x112)];if(!0x1!==_0x443954[_0x18b0fc(0x10c)]&&_0x52fb4e[_0x18b0fc(0x142)]){const _0x7689ab=_0x28db92(_0x52fb4e[_0x18b0fc(0xec)]())||_0x43ac84[_0x18b0fc(0xfe)][_0x18b0fc(0xf1)][_0x18b0fc(0x156)](_0x52fb4e);_0x43ac84[_0x18b0fc(0xfe)][_0x18b0fc(0x16b)](_0x226876=>{const _0x275f2e=_0x18b0fc;_0x226876[_0x275f2e(0x11f)](_0x7689ab,'in');});}_0x362cd7[_0x18b0fc(0x15e)](),_0x314893[_0x18b0fc(0x10b)](_0x443954[_0x18b0fc(0x118)],_0x2bff44,_0x18b0fc(0x174)+_0x2566c9);}[_0x42e3f1(0x16a)](_0x2a8fe3,_0x423790,_0x2344aa,_0x595bb5){const _0x561bb8=_0x42e3f1,_0x1c14cc=this[_0x561bb8(0xd8)],_0x1adf3d=_0x1c14cc[_0x561bb8(0xd6)],_0x416c69=new _0x1c64c3(_0x1adf3d),_0x54a588=U(_0x1c14cc,_0x2344aa)[_0x561bb8(0xf9)](_0xb6746e=>_0xb6746e[_0x561bb8(0x151)][_0x561bb8(0x153)]);0x1===_0x54a588[_0x561bb8(0x153)]?this[_0x561bb8(0xf2)]({'command':_0x2a8fe3,'commands':_0x54a588[0x0][_0x561bb8(0x151)],'parentMenuView':_0x423790,'onExecute':_0x595bb5})[_0x561bb8(0xf6)](_0x20a8a9=>_0x416c69[_0x561bb8(0x162)][_0x561bb8(0xf4)](_0x20a8a9)):_0x54a588[_0x561bb8(0xf6)](({groupId:_0x3f83fb,groupLabel:_0x59550a,commands:_0x105394})=>{const _0xc4e351=_0x561bb8,_0x29f7b7=new _0x396b62(_0x1adf3d,_0x423790),_0x4e6e74=new _0x59ecd6(_0x1adf3d),_0x817aa0=new _0x1c64c3(_0x1adf3d),_0x1c7e6e=this[_0xc4e351(0xf2)]({'command':_0x2a8fe3,'commands':_0x105394,'parentMenuView':_0x4e6e74,'onExecute':_0x595bb5});_0x4e6e74[_0xc4e351(0x180)][_0xc4e351(0x130)]({'label':_0x59550a||_0x3f83fb}),_0x4e6e74[_0xc4e351(0x166)](_0xc4e351(0x10b))['to'](_0x423790),_0x817aa0[_0xc4e351(0x162)][_0xc4e351(0x127)](_0x1c7e6e),_0x4e6e74[_0xc4e351(0x172)][_0xc4e351(0x17e)][_0xc4e351(0xf4)](_0x817aa0),_0x29f7b7[_0xc4e351(0x17e)][_0xc4e351(0xf4)](_0x4e6e74),_0x416c69[_0xc4e351(0x162)][_0xc4e351(0xf4)](_0x29f7b7);}),_0x423790[_0x561bb8(0x172)][_0x561bb8(0x17e)][_0x561bb8(0xf4)](_0x416c69);}[_0x42e3f1(0xf2)]({command:_0x3a9dd4,commands:_0x46cb96,parentMenuView:_0x183df1,onExecute:_0x416e65}){const _0x451ca0=_0x42e3f1,_0x2bad7a=this[_0x451ca0(0xd8)],_0x45cb62=_0x2bad7a[_0x451ca0(0xd6)];return U(_0x2bad7a,_0x46cb96)[_0x451ca0(0x13c)](_0x4e59d5=>{const _0x5ee12c=_0x451ca0,_0x5d4e28=new _0x396b62(_0x45cb62,_0x183df1),_0x32a736=new _0x4d869a(_0x45cb62);return _0x32a736[_0x5ee12c(0x130)]({'label':_0x4e59d5[_0x5ee12c(0x112)]}),_0x32a736[_0x5ee12c(0x166)](_0x5ee12c(0x10b))['to'](_0x183df1),_0x32a736['on'](_0x5ee12c(0x10b),()=>_0x416e65(_0x4e59d5['id'])),_0x32a736[_0x5ee12c(0xfa)](_0x5ee12c(0x179))['to'](_0x3a9dd4,_0x5ee12c(0xdc),_0x39d593=>_0x39d593[_0x5ee12c(0xef)](_0x4e59d5['id'])),_0x5d4e28[_0x5ee12c(0x17e)][_0x5ee12c(0xf4)](_0x32a736),_0x5d4e28;});}}function T(_0x50bf90,_0x365c0e){const _0x2b87f6=_0x42e3f1;return void 0x0!==_0x50bf90[_0x2b87f6(0x167)]&&void 0x0===_0x365c0e[_0x2b87f6(0x167)]?0x1:void 0x0===_0x50bf90[_0x2b87f6(0x167)]&&void 0x0!==_0x365c0e[_0x2b87f6(0x167)]?-0x1:void 0x0!==_0x50bf90[_0x2b87f6(0x167)]&&void 0x0!==_0x365c0e[_0x2b87f6(0x167)]?_0x50bf90[_0x2b87f6(0x167)]-_0x365c0e[_0x2b87f6(0x167)]:0x0;}function U(_0x1a9d5d,_0x1e1e6e){const _0x512057=_0x42e3f1;_0x1e1e6e[_0x512057(0x16c)](T);const _0x25eaa7={},_0x50a960=[];for(const _0x453b5e of _0x1e1e6e)if(void 0x0!==_0x453b5e[_0x512057(0x167)]){if(_0x453b5e[_0x512057(0x167)]in _0x25eaa7)throw new _0x5946eb(_0x512057(0x183),_0x1a9d5d,{'conflictingDefinitions':[_0x453b5e,_0x25eaa7[_0x453b5e[_0x512057(0x167)]]]});_0x25eaa7[_0x453b5e[_0x512057(0x167)]]=_0x453b5e,_0x50a960[_0x512057(0x11e)](_0x453b5e[_0x512057(0x167)],0x0,_0x453b5e);}else _0x50a960[_0x512057(0x13a)](_0x453b5e);return _0x50a960;}
23
+ const _0x266a20=_0x4b97;(function(_0x1cd6e1,_0x17bcff){const _0x5db235=_0x4b97,_0x1f06bd=_0x1cd6e1();while(!![]){try{const _0x462c3e=-parseInt(_0x5db235(0xe7))/0x1*(parseInt(_0x5db235(0x145))/0x2)+-parseInt(_0x5db235(0x176))/0x3*(parseInt(_0x5db235(0x122))/0x4)+parseInt(_0x5db235(0x149))/0x5*(-parseInt(_0x5db235(0x174))/0x6)+-parseInt(_0x5db235(0x164))/0x7*(parseInt(_0x5db235(0x107))/0x8)+parseInt(_0x5db235(0x17d))/0x9+parseInt(_0x5db235(0x11a))/0xa+-parseInt(_0x5db235(0x190))/0xb*(-parseInt(_0x5db235(0x103))/0xc);if(_0x462c3e===_0x17bcff)break;else _0x1f06bd['push'](_0x1f06bd['shift']());}catch(_0x371d17){_0x1f06bd['push'](_0x1f06bd['shift']());}}}(_0x54b4,0x63161));import{Plugin as _0x43b6c0}from'ckeditor5/src/core.js';import{IconMagicWand as _0x421ad6,IconRobotPencil as _0x23ef52}from'ckeditor5/src/icons.js';import{first as _0x4ddfcc,CKEditorError as _0x1ae989}from'ckeditor5/src/utils.js';import{createDropdown as _0x5b45f9,addMenuToDropdown as _0x29cad2,ButtonView as _0x5b8214,MenuBarMenuListItemButtonView as _0x242d56,Dialog as _0x2bc4b1,DialogViewPosition as _0x36fb51,MenuBarMenuView as _0x1fe446,MenuBarMenuListView as _0x1b3f28,MenuBarMenuListItemView as _0x4f156d}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x395120,UNGROUPED_COMMANDS_GROUP_ID as _0x57e837}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0xf76449}from'./aiassistantediting.js';import{AIAdapter as _0x5470e8}from'./adapters/aiadapter.js';import{getTranslation as _0x583892}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x58b1c8}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x229ae9}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x4650f6}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2544b7}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x266a20(0x13f)];import{ClipboardMarkersUtils as _0x776808}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x544603,ViewDataTransfer as _0x3da591}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x43b6c0{[_0x266a20(0xfa)];[_0x266a20(0x134)];[_0x266a20(0xfe)];[_0x266a20(0x143)];[_0x266a20(0x15a)];[_0x266a20(0x156)];[_0x266a20(0x17e)]='';static get[_0x266a20(0x126)](){const _0x36971b=_0x266a20;return _0x36971b(0xf1);}static get[_0x266a20(0x17a)](){return!0x0;}static get[_0x266a20(0x110)](){return!0x0;}static get[_0x266a20(0x13d)](){return[_0x776808,_0xf76449,_0x5470e8,_0x2bc4b1];}constructor(_0x49802a){const _0x346b53=_0x266a20;super(_0x49802a),_0x49802a[_0x346b53(0x169)][_0x346b53(0x17f)](_0x346b53(0x12d),[_0x346b53(0xed),_0x346b53(0x192),_0x346b53(0x155)]),_0x49802a[_0x346b53(0x169)][_0x346b53(0x17f)](_0x346b53(0x113),''),_0x49802a[_0x346b53(0x169)][_0x346b53(0x17f)](_0x346b53(0x196),!0x0),this[_0x346b53(0x17e)]=_0x346b53(0x184)+(_0x49802a[_0x346b53(0x169)][_0x346b53(0x141)](_0x346b53(0x196))?_0x346b53(0x12e):'');}[_0x266a20(0x150)](){const _0x2fec98=_0x266a20,{editor:_0x2e12c4}=this;this[_0x2fec98(0x15a)]=_0x2e12c4[_0x2fec98(0x117)][_0x2fec98(0x141)](_0x5470e8),this[_0x2fec98(0xfe)]=_0x2e12c4[_0x2fec98(0x117)][_0x2fec98(0x141)](_0x2bc4b1),this[_0x2fec98(0x143)]=null,this[_0x2fec98(0x197)]=this[_0x2fec98(0x124)]();const _0x4a71a8=new _0x58b1c8(_0x2e12c4,Array[_0x2fec98(0x142)](this[_0x2fec98(0x197)][_0x2fec98(0x177)]()));_0x2e12c4[_0x2fec98(0xea)][_0x2fec98(0x191)](_0x2fec98(0x18f),_0x4a71a8),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0x12c),_0x4cbdfb=>{const _0x4c883e=_0x2fec98,_0x119810=_0x5b45f9(_0x4cbdfb);return _0x119810[_0x4c883e(0x157)]({'class':_0x4c883e(0x18a)+this[_0x4c883e(0x17e)]}),_0x119810[_0x4c883e(0x18e)][_0x4c883e(0x157)]({'label':_0x583892(_0x4cbdfb,_0x4c883e(0x131)),'icon':_0x421ad6,'tooltip':!0x0}),_0x119810['on'](_0x4c883e(0x101),_0x36dadf=>this[_0x4c883e(0x14a)](_0x36dadf[_0x4c883e(0x178)]['id'])),_0x29cad2(_0x119810,_0x2e12c4['ui'][_0x4c883e(0x16b)][_0x4c883e(0x129)],function(_0x48c419){const _0x156151=_0x4c883e,_0x5cff8d=_0x395120(_0x48c419[_0x156151(0x169)][_0x156151(0x141)](_0x156151(0x137)),_0x48c419[_0x156151(0xf4)]),_0x4e4fce=U(_0x48c419,_0x5cff8d)[_0x156151(0x14b)](_0x1862d6=>_0x1862d6[_0x156151(0xea)][_0x156151(0x100)]);if(0x1===_0x4e4fce[_0x156151(0x100)])return U(_0x48c419,_0x4e4fce[0x0][_0x156151(0xea)])[_0x156151(0x179)](_0x4f485c=>({'id':_0x4f485c['id'],'label':_0x4f485c[_0x156151(0x18b)]}));return _0x4e4fce[_0x156151(0x179)](_0x368d92=>{const _0x4d9506=_0x156151,{groupId:_0x1630d3,groupLabel:_0x3c193f,commands:_0x28a88e}=_0x368d92,_0x5f42f2=U(_0x48c419,_0x28a88e)[_0x4d9506(0x179)](_0x564c89=>({'id':_0x564c89['id'],'label':_0x564c89[_0x4d9506(0x18b)]}));return{'id':_0x1630d3,'menu':_0x3c193f||_0x1630d3,'children':_0x5f42f2};});}(_0x2e12c4),{'ariaLabel':_0x583892(_0x4cbdfb,_0x4c883e(0x131))}),_0x119810[_0x4c883e(0x17c)][_0x4c883e(0x144)]=_0x4c883e(0x18a)+this[_0x4c883e(0x17e)],_0x4a71a8['on'](_0x4c883e(0x166),_0x7e9c9c),_0x119810[_0x4c883e(0x17c)][_0x4c883e(0x14d)](_0x4c883e(0x182),_0x7e9c9c),_0x119810;function _0x7e9c9c(){const _0x5a5f8c=_0x4c883e;_0x119810[_0x5a5f8c(0x175)]=_0x4a71a8[_0x5a5f8c(0x16f)][_0x5a5f8c(0x100)]>0x0;for(const _0x2569c7 of _0x119810[_0x5a5f8c(0x17c)][_0x5a5f8c(0x119)])_0x2569c7[_0x5a5f8c(0x175)]=_0x4a71a8[_0x5a5f8c(0x16f)][_0x5a5f8c(0xf8)](_0x2569c7['id']);}}),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0x132),_0x398ef8=>{const _0x363d80=_0x2fec98,_0x3e2266=new _0x1fe446(_0x398ef8);_0x3e2266[_0x363d80(0x18e)][_0x363d80(0x157)]({'label':_0x583892(_0x398ef8,_0x363d80(0x131)),'icon':_0x421ad6}),_0x3e2266[_0x363d80(0x111)](_0x363d80(0x175))['to'](_0x4a71a8,_0x363d80(0x16f),_0x5f17db=>_0x5f17db[_0x363d80(0x100)]>0x0);const _0x116607=_0x395120(_0x2e12c4[_0x363d80(0x169)][_0x363d80(0x141)](_0x363d80(0x137)),_0x398ef8);return this[_0x363d80(0x151)](_0x4a71a8,_0x3e2266,_0x116607,_0x29c2d2=>this[_0x363d80(0x14a)](_0x29c2d2)),_0x3e2266;}),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0xf6),()=>{const _0x5038c8=_0x2fec98,_0x5aa3e4=this[_0x5038c8(0x146)](_0x5b8214);return _0x5aa3e4[_0x5038c8(0x157)]({'tooltip':!0x0,'class':_0x5038c8(0x136)+this[_0x5038c8(0x17e)]}),_0x5aa3e4;}),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0x139),()=>{const _0x44f70=_0x2fec98,_0x17e376=this[_0x44f70(0x146)](_0x242d56);return _0x17e376[_0x44f70(0x157)]({'role':_0x44f70(0x15e)}),_0x17e376;}),this[_0x2fec98(0xfa)]=this[_0x2fec98(0x121)][_0x2fec98(0x169)][_0x2fec98(0x141)](_0x2fec98(0xfa));const _0x14deac=this[_0x2fec98(0x121)];this[_0x2fec98(0x134)]=setInterval(()=>{const _0x46288c=_0x2fec98;let _0x2c1256;for(const _0x247ef6 in _0x14deac){const _0xc6cc40=_0x247ef6,_0x492494=_0x14deac[_0xc6cc40];if(_0x46288c(0x12a)==_0x492494||_0x46288c(0x11b)==_0x492494||_0x46288c(0x15f)==_0x492494||_0x46288c(0x11d)==_0x492494||_0x46288c(0x115)==_0x492494||_0x46288c(0x189)==_0x492494||_0x46288c(0x15c)==_0x492494||_0x46288c(0x140)==_0x492494){delete _0x14deac[_0xc6cc40],_0x2c1256=_0x492494,clearInterval(this[_0x46288c(0x134)]),this[_0x46288c(0x134)]=void 0x0;break;}}_0x46288c(0x11b)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x12b)),_0x46288c(0x15f)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x112)),_0x46288c(0x11d)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x106)),_0x46288c(0x115)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x138),_0x46288c(0x162)),_0x46288c(0x189)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x18c)),_0x46288c(0x15c)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x186)),_0x46288c(0x140)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x194));},0x3e8);}[_0x266a20(0x13a)](){const _0x15ea8f=_0x266a20;super[_0x15ea8f(0x13a)](),this[_0x15ea8f(0x134)]&&clearInterval(this[_0x15ea8f(0x134)]);}[_0x266a20(0xf5)](_0x2e1a5c='',_0x4b1ba9='',_0x52c974=_0x266a20(0x133)){const _0x5ce98f=_0x266a20,_0x26daa5=this[_0x5ce98f(0x121)],_0x5f4d83=_0x26daa5[_0x5ce98f(0x11c)][_0x5ce98f(0x16b)],_0x386569=_0x26daa5[_0x5ce98f(0x117)][_0x5ce98f(0x141)](_0xf76449),_0x1794ea=_0x26daa5[_0x5ce98f(0x117)][_0x5ce98f(0x141)](_0x776808);_0x386569[_0x5ce98f(0x10e)]();const _0x2c9103=new l(),_0x51ea40=new ClipboardEvent(_0x5ce98f(0x17b),{'clipboardData':_0x2c9103}),_0x28a99c=new _0x3da591(_0x2c9103),_0x1244f1=new _0x544603(_0x5f4d83,_0x51ea40,{'dataTransfer':_0x28a99c});_0x1794ea[_0x5ce98f(0x11f)](_0x5ce98f(0x130),()=>{const _0x2f7c7b=_0x5ce98f;_0x5f4d83[_0x2f7c7b(0x102)][_0x2f7c7b(0x193)](_0x2f7c7b(0x17b),_0x1244f1);}),this[_0x5ce98f(0x143)]||(this[_0x5ce98f(0xeb)](),this[_0x5ce98f(0x156)]=new _0x229ae9(_0x26daa5,this[_0x5ce98f(0x15a)][_0x5ce98f(0x15d)],this[_0x5ce98f(0x143)]));let _0x4758ef=_0x28a99c[_0x5ce98f(0x195)](_0x5ce98f(0x180));const _0x1fd6ee=_0x26daa5[_0x5ce98f(0x128)][_0x5ce98f(0x102)][_0x5ce98f(0x123)],_0x2f7119=Array[_0x5ce98f(0x142)](_0x1fd6ee[_0x5ce98f(0x185)]());0x1===_0x2f7119[_0x5ce98f(0x100)]&&_0x2f7119[0x0][_0x5ce98f(0x181)]&&!_0x1fd6ee[_0x5ce98f(0x159)]()&&''!==_0x4758ef[_0x5ce98f(0x10c)](/&nbsp;/g,'')[_0x5ce98f(0x16a)]()&&(_0x4758ef=_0x5ce98f(0x165)+_0x4758ef+_0x5ce98f(0xef)),this[_0x5ce98f(0x156)][_0x5ce98f(0x16d)]({'actionId':_0x52c974,'query':_0x2e1a5c,'htmlContent':_0x4758ef,'label':_0x4b1ba9,'mainActionLabel':_0x2544b7[_0x26daa5[_0x5ce98f(0x128)][_0x5ce98f(0x102)][_0x5ce98f(0x123)][_0x5ce98f(0x11e)]?_0x5ce98f(0x120):_0x5ce98f(0xe8)]}),_0x5ce98f(0xf6)!==this[_0x5ce98f(0xfe)]['id']?this[_0x5ce98f(0xfe)][_0x5ce98f(0x14f)]({'id':_0x5ce98f(0xf6),'icon':_0x23ef52,'title':_0x583892(this[_0x5ce98f(0x121)][_0x5ce98f(0xf4)],_0x5ce98f(0x13c)),'content':this[_0x5ce98f(0x143)],'position':_0x36fb51[_0x5ce98f(0x170)],'onShow':()=>{const _0x300bc7=_0x5ce98f;this[_0x300bc7(0x143)][_0x300bc7(0x10d)]();},'onHide':()=>{const _0xcbc19d=_0x5ce98f;this[_0xcbc19d(0x156)][_0xcbc19d(0x160)](),_0x386569[_0xcbc19d(0xf0)]();}}):this[_0x5ce98f(0xfe)][_0x5ce98f(0x16b)][_0x5ce98f(0xe9)]||this[_0x5ce98f(0xfe)][_0x5ce98f(0x16b)][_0x5ce98f(0x127)]();}[_0x266a20(0x167)](){const _0x23af27=_0x266a20;this[_0x23af27(0xfe)][_0x23af27(0x171)]();}[_0x266a20(0x124)](){const _0x398d3a=_0x266a20,_0x3035f1=new Map(),_0x3cad25=_0x395120(this[_0x398d3a(0x121)][_0x398d3a(0x169)][_0x398d3a(0x141)](_0x398d3a(0x137)),this[_0x398d3a(0x121)][_0x398d3a(0xf4)]);for(const _0x5b95ce of _0x3cad25)for(const _0x3c2deb of _0x5b95ce[_0x398d3a(0xea)])_0x3035f1[_0x398d3a(0x157)](_0x3c2deb['id'],{..._0x3c2deb,'groupId':_0x5b95ce[_0x398d3a(0x13b)],'groupLabel':_0x5b95ce[_0x398d3a(0x153)]||_0x5b95ce[_0x398d3a(0x13b)]});return _0x3035f1;}[_0x266a20(0x146)](_0x464aa9){const _0x177fa8=_0x266a20,_0x2cceab=this[_0x177fa8(0x121)],_0x2e2cb8=_0x2cceab[_0x177fa8(0xea)][_0x177fa8(0x141)](_0x177fa8(0x18f)),_0x42ab63=new _0x464aa9(_0x2cceab[_0x177fa8(0xf4)]);return _0x42ab63[_0x177fa8(0x157)]({'label':_0x583892(_0x2cceab[_0x177fa8(0xf4)],_0x177fa8(0x13c)),'icon':_0x23ef52,'isToggleable':!0x0}),_0x42ab63[_0x177fa8(0x111)](_0x177fa8(0x175))['to'](_0x2e2cb8),_0x42ab63[_0x177fa8(0x111)](_0x177fa8(0x147))['to'](this[_0x177fa8(0xfe)],'id',_0x21176a=>_0x177fa8(0xf6)===_0x21176a),this[_0x177fa8(0x118)](_0x42ab63,_0x177fa8(0x101),()=>{const _0x5ca495=_0x177fa8;_0x42ab63[_0x5ca495(0x147)]?this[_0x5ca495(0x167)]():_0x2e2cb8[_0x5ca495(0x101)]();}),_0x42ab63;}[_0x266a20(0xeb)](){const _0x126e66=_0x266a20,_0x24ef09=this[_0x126e66(0x121)][_0x126e66(0x117)][_0x126e66(0x141)](_0xf76449);this[_0x126e66(0x143)]=new _0x4650f6(this[_0x126e66(0x121)][_0x126e66(0xf4)],this[_0x126e66(0x17e)],this[_0x126e66(0x121)][_0x126e66(0x169)][_0x126e66(0x141)](_0x126e66(0x113))),this[_0x126e66(0x143)]['on'](_0x126e66(0x109),()=>{const _0x295500=_0x126e66;this[_0x295500(0xfe)][_0x295500(0x16b)][_0x295500(0xe9)]||this[_0x295500(0xfe)][_0x295500(0x16b)][_0x295500(0x127)]();}),this[_0x126e66(0x143)][_0x126e66(0x18d)][_0x126e66(0x183)][_0x126e66(0x13e)]['on'](_0x126e66(0x105),()=>{const _0x4560d6=_0x126e66;this[_0x4560d6(0xfe)][_0x4560d6(0x16b)][_0x4560d6(0xe9)]||this[_0x4560d6(0xfe)][_0x4560d6(0x16b)][_0x4560d6(0x127)]();}),this[_0x126e66(0x118)](this[_0x126e66(0x143)],_0x126e66(0x187),()=>{const _0xb2d860=_0x126e66;_0x24ef09[_0xb2d860(0x158)](this[_0xb2d860(0x156)][_0xb2d860(0x114)]),this[_0xb2d860(0x167)]();}),this[_0x126e66(0x118)](this[_0x126e66(0x143)],_0x126e66(0x10f),()=>{const _0x53f8c9=_0x126e66;_0x24ef09[_0x53f8c9(0x10f)](this[_0x53f8c9(0x156)][_0x53f8c9(0x114)]),this[_0x53f8c9(0x167)]();}),this[_0x126e66(0xee)]();}[_0x266a20(0xee)](){const _0x525ba3=_0x266a20,{locale:_0x13fad9,ui:{ariaLiveAnnouncer:_0x29c5e6}}=this[_0x525ba3(0x121)];this[_0x525ba3(0x143)][_0x525ba3(0xf7)]['on'](_0x525ba3(0x15b),(_0x4b874d,_0x15b5e5,_0x163d58)=>{const _0x26fcaf=_0x525ba3,_0xb7a54=this[_0x26fcaf(0x156)][_0x26fcaf(0x114)];_0x163d58?_0x29c5e6[_0x26fcaf(0x188)](_0x583892(_0x13fad9,_0x26fcaf(0xfb))):_0xb7a54&&_0x29c5e6[_0x26fcaf(0x188)](_0x583892(_0x13fad9,_0x26fcaf(0x12f),_0xb7a54),{'politeness':_0x26fcaf(0xfc),'isUnsafeHTML':!0x0});}),this[_0x525ba3(0x143)]['on'](_0x525ba3(0xf3),(_0x22eeef,_0xf0e35c,_0x6e680e)=>{const _0x292949=_0x525ba3;if(_0x6e680e){const _0x331e67=this[_0x292949(0x143)][_0x292949(0x116)][_0x292949(0x104)];_0x29c5e6[_0x292949(0x188)](_0x583892(_0x13fad9,_0x292949(0x135),_0x331e67));}});}[_0x266a20(0x14a)](_0xe456a1){const _0x11a37c=_0x266a20,_0x398c10=this[_0x11a37c(0x197)][_0x11a37c(0x141)](_0xe456a1),_0x3f3a7d=this[_0x11a37c(0x121)],_0x4b3f46=_0x3f3a7d[_0x11a37c(0x128)][_0x11a37c(0x102)][_0x11a37c(0x123)],_0x1b9af0=_0x3f3a7d[_0x11a37c(0xea)][_0x11a37c(0x141)](_0x11a37c(0x18f)),_0x4cc583=_0x3f3a7d[_0x11a37c(0x117)][_0x11a37c(0x141)](_0xf76449),_0x2de86d=''+(_0x398c10[_0x11a37c(0x13b)]!==_0x57e837?_0x398c10[_0x11a37c(0x153)]+':\x20':'')+_0x398c10[_0x11a37c(0x18b)];if(!0x1!==_0x398c10[_0x11a37c(0xfd)]&&_0x4b3f46[_0x11a37c(0x11e)]){const _0x572717=_0x4ddfcc(_0x4b3f46[_0x11a37c(0x148)]())||_0x3f3a7d[_0x11a37c(0x128)][_0x11a37c(0x16c)][_0x11a37c(0x163)](_0x4b3f46);_0x3f3a7d[_0x11a37c(0x128)][_0x11a37c(0x172)](_0x3b1e60=>{const _0x177fac=_0x11a37c;_0x3b1e60[_0x177fac(0xff)](_0x572717,'in');});}_0x4cc583[_0x11a37c(0x10e)](),_0x1b9af0[_0x11a37c(0x101)](_0x398c10[_0x11a37c(0x152)],_0x2de86d,_0x11a37c(0x14e)+_0xe456a1);}[_0x266a20(0x151)](_0x9c4891,_0x44de34,_0xca7cc9,_0x55c21e){const _0x475501=_0x266a20,_0x4308ba=this[_0x475501(0x121)],_0x4ce11c=_0x4308ba[_0x475501(0xf4)],_0x53fc03=new _0x1b3f28(_0x4ce11c),_0x5ab1d1=U(_0x4308ba,_0xca7cc9)[_0x475501(0x14b)](_0x2543fe=>_0x2543fe[_0x475501(0xea)][_0x475501(0x100)]);0x1===_0x5ab1d1[_0x475501(0x100)]?this[_0x475501(0x108)]({'command':_0x9c4891,'commands':_0x5ab1d1[0x0][_0x475501(0xea)],'parentMenuView':_0x44de34,'onExecute':_0x55c21e})[_0x475501(0x154)](_0x5d36c7=>_0x53fc03[_0x475501(0xf2)][_0x475501(0x191)](_0x5d36c7)):_0x5ab1d1[_0x475501(0x154)](({groupId:_0x10d4a0,groupLabel:_0x4183fc,commands:_0xa754c4})=>{const _0x21c031=_0x475501,_0x51f078=new _0x4f156d(_0x4ce11c,_0x44de34),_0x568a4a=new _0x1fe446(_0x4ce11c),_0x252d16=new _0x1b3f28(_0x4ce11c),_0x56404e=this[_0x21c031(0x108)]({'command':_0x9c4891,'commands':_0xa754c4,'parentMenuView':_0x568a4a,'onExecute':_0x55c21e});_0x568a4a[_0x21c031(0x18e)][_0x21c031(0x157)]({'label':_0x4183fc||_0x10d4a0}),_0x568a4a[_0x21c031(0x16e)](_0x21c031(0x101))['to'](_0x44de34),_0x252d16[_0x21c031(0xf2)][_0x21c031(0x161)](_0x56404e),_0x568a4a[_0x21c031(0x168)][_0x21c031(0x198)][_0x21c031(0x191)](_0x252d16),_0x51f078[_0x21c031(0x198)][_0x21c031(0x191)](_0x568a4a),_0x53fc03[_0x21c031(0xf2)][_0x21c031(0x191)](_0x51f078);}),_0x44de34[_0x475501(0x168)][_0x475501(0x198)][_0x475501(0x191)](_0x53fc03);}[_0x266a20(0x108)]({command:_0x153044,commands:_0x3a4479,parentMenuView:_0x1d290f,onExecute:_0x2ed2d2}){const _0x1aebbb=_0x266a20,_0x10aabc=this[_0x1aebbb(0x121)],_0x222bdf=_0x10aabc[_0x1aebbb(0xf4)];return U(_0x10aabc,_0x3a4479)[_0x1aebbb(0x179)](_0x2afc1c=>{const _0x3ee08a=_0x1aebbb,_0x10a88b=new _0x4f156d(_0x222bdf,_0x1d290f),_0x251982=new _0x242d56(_0x222bdf);return _0x251982[_0x3ee08a(0x157)]({'label':_0x2afc1c[_0x3ee08a(0x18b)]}),_0x251982[_0x3ee08a(0x16e)](_0x3ee08a(0x101))['to'](_0x1d290f),_0x251982['on'](_0x3ee08a(0x101),()=>_0x2ed2d2(_0x2afc1c['id'])),_0x251982[_0x3ee08a(0x111)](_0x3ee08a(0x175))['to'](_0x153044,_0x3ee08a(0x16f),_0x1f8ad2=>_0x1f8ad2[_0x3ee08a(0xf8)](_0x2afc1c['id'])),_0x10a88b[_0x3ee08a(0x198)][_0x3ee08a(0x191)](_0x251982),_0x10a88b;});}}function _0x54b4(){const _0x564d41=['aiLicenseKeyNotAllowed','errorView','plugins','listenTo','buttons','2147640PLYdaO','aiLicenseKeyInvalid','editing','aiLicenseKeyDomainLimit','isCollapsed','_forceMarkersCopy','INSERT','editor','144588tgkfbc','selection','_getResolvedCommandsDefinitions','_showLicenseError','pluginName','updatePosition','model','body','aiLicenseKeyValid','invalid','aiCommands','ai.aiAssistant.disabledElements','\x20ck-ai-assistant-ui_theme','Generated\x20content:\x20%0','comment','AI\x20Commands','menuBar:aiCommands','custom','_licenseKeyCheckInterval','Error\x20during\x20AI\x20content\x20generation:\x20%0','ck-ai-assistant-button\x20','ai.aiAssistant.commands','featureNotAllowed','menuBar:aiAssistant','destroy','groupId','AI\x20Assistant','requires','fieldView','DataTransfer','aiLicenseKeyUsageLimit','get','from','_formView','menuPanelClass','35992LnUPgM','_createAIAssistantUIButton','isOn','getSelectedBlocks','195MeaLlw','_onExecute','filter','ai-commands-config-order-collision','once','command:','show','init','_populateMenuBarMenu','prompt','groupLabel','forEach','tableOfContents','_aiAssistantController','set','insertContent','getSelectedElement','_aiAdapter','change:isProcessing','aiLicenseKeyTrialLimit','textAdapter','menuitemcheckbox','aiLicenseKeyExpired','reset','addMany','AIAssistant','getLimitElement','7IzVQQv','<p>','change:enabledCommandsIds','hideUI','panelView','config','trim','view','schema','updateView','delegate','enabledCommandsIds','EDITOR_TOP_SIDE','hide','change','componentFactory','8058SBDhpg','isEnabled','60libVqH','values','source','map','isOfficialPlugin','copy','menuView','6175638LgpOpQ','_uiCssClasses','define','text/html','isFlat','render','queryView','ck-ai-assistant-ui','getRanges','trialLimit','replaceContent','announce','aiLicenseKeyEvaluationLimit','ck-ai-commands-dropdown\x20','label','evaluationLimit','promptView','buttonView','showAIAssistant','11WsNNzs','add','rawHtml','fire','usageLimit','getData','ai.useTheme','_commandDefinitions','children','7lntMwH','REPLACE','wasMoved','commands','_initView','splice','media','_initAriaAiStatusChangeAnnouncements','</p>','hideFakeVisualSelection','AIAssistantUI','items','change:isError','locale','showUI','aiAssistant','contentArea','includes','order','licenseKey','AI\x20is\x20writing','polite','requiresContent','_dialog','setSelection','length','execute','document','5890104XrAFoR','text','update','domainLimit','677136JdXTRl','_getMenuBarGroupButtons','change:value','push','sort','replace','focus','showFakeVisualSelection','insertContentBelow','isPremiumPlugin','bind','expired','ai.aiAssistant.contentAreaCssClass','currentContext'];_0x54b4=function(){return _0x564d41;};return _0x54b4();}function _0x4b97(_0x187456,_0x28a538){const _0x54b4cb=_0x54b4();return _0x4b97=function(_0x4b97a0,_0x15c7cb){_0x4b97a0=_0x4b97a0-0xe7;let _0x141184=_0x54b4cb[_0x4b97a0];return _0x141184;},_0x4b97(_0x187456,_0x28a538);}function T(_0xd55c37,_0x153543){const _0x4c3027=_0x266a20;return void 0x0!==_0xd55c37[_0x4c3027(0xf9)]&&void 0x0===_0x153543[_0x4c3027(0xf9)]?0x1:void 0x0===_0xd55c37[_0x4c3027(0xf9)]&&void 0x0!==_0x153543[_0x4c3027(0xf9)]?-0x1:void 0x0!==_0xd55c37[_0x4c3027(0xf9)]&&void 0x0!==_0x153543[_0x4c3027(0xf9)]?_0xd55c37[_0x4c3027(0xf9)]-_0x153543[_0x4c3027(0xf9)]:0x0;}function U(_0x5a0281,_0x1be808){const _0x4eed14=_0x266a20;_0x1be808[_0x4eed14(0x10b)](T);const _0x24146e={},_0x2b5ab5=[];for(const _0x4c33a4 of _0x1be808)if(void 0x0!==_0x4c33a4[_0x4eed14(0xf9)]){if(_0x4c33a4[_0x4eed14(0xf9)]in _0x24146e)throw new _0x1ae989(_0x4eed14(0x14c),_0x5a0281,{'conflictingDefinitions':[_0x4c33a4,_0x24146e[_0x4c33a4[_0x4eed14(0xf9)]]]});_0x24146e[_0x4c33a4[_0x4eed14(0xf9)]]=_0x4c33a4,_0x2b5ab5[_0x4eed14(0xec)](_0x4c33a4[_0x4eed14(0xf9)],0x0,_0x4c33a4);}else _0x2b5ab5[_0x4eed14(0x10a)](_0x4c33a4);return _0x2b5ab5;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x458322,_0x58c2ca){var _0x387fe7=_0x3267,_0x679505=_0x458322();while(!![]){try{var _0x27e3d9=-parseInt(_0x387fe7(0x1d5))/0x1*(parseInt(_0x387fe7(0x1cf))/0x2)+parseInt(_0x387fe7(0x1d2))/0x3*(-parseInt(_0x387fe7(0x1d1))/0x4)+-parseInt(_0x387fe7(0x1d8))/0x5+parseInt(_0x387fe7(0x1d0))/0x6+-parseInt(_0x387fe7(0x1d7))/0x7*(parseInt(_0x387fe7(0x1d6))/0x8)+-parseInt(_0x387fe7(0x1d4))/0x9+parseInt(_0x387fe7(0x1d3))/0xa;if(_0x27e3d9===_0x58c2ca)break;else _0x679505['push'](_0x679505['shift']());}catch(_0x896ac0){_0x679505['push'](_0x679505['shift']());}}}(_0x1ab1,0xcbf3f));function _0x1ab1(){var _0x372e74=['728014vfzlyn','7033560BUyoKP','130waslSc','6843186tnsYsH','58404hyRkbd','135DhcdEu','44854440JPcoky','9092088cJFfFj','18409YOQdxh','40BrpNyt'];_0x1ab1=function(){return _0x372e74;};return _0x1ab1();}export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';function _0x3267(_0x2a5e1c,_0x1684fb){var _0x1ab1b1=_0x1ab1();return _0x3267=function(_0x3267e7,_0x5460be){_0x3267e7=_0x3267e7-0x1cf;var _0x391ff8=_0x1ab1b1[_0x3267e7];return _0x391ff8;},_0x3267(_0x2a5e1c,_0x1684fb);}export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
23
+ (function(_0x2aab69,_0x573027){var _0x1bc648=_0x24b5,_0x106537=_0x2aab69();while(!![]){try{var _0x36805c=-parseInt(_0x1bc648(0x164))/0x1+parseInt(_0x1bc648(0x16a))/0x2*(-parseInt(_0x1bc648(0x162))/0x3)+parseInt(_0x1bc648(0x161))/0x4+-parseInt(_0x1bc648(0x163))/0x5*(parseInt(_0x1bc648(0x167))/0x6)+parseInt(_0x1bc648(0x166))/0x7+-parseInt(_0x1bc648(0x165))/0x8+parseInt(_0x1bc648(0x169))/0x9*(parseInt(_0x1bc648(0x168))/0xa);if(_0x36805c===_0x573027)break;else _0x106537['push'](_0x106537['shift']());}catch(_0x3cc2b1){_0x106537['push'](_0x106537['shift']());}}}(_0x43a6,0x1d973));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x24b5(_0x158d8d,_0x22c1f1){var _0x43a6ee=_0x43a6();return _0x24b5=function(_0x24b53b,_0x3925c7){_0x24b53b=_0x24b53b-0x161;var _0x59bf9e=_0x43a6ee[_0x24b53b];return _0x59bf9e;},_0x24b5(_0x158d8d,_0x22c1f1);}export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0x43a6(){var _0x195c7c=['396sjdTXR','132PfnMhz','826392kSWZPV','1788JLOZxB','290HGDCmm','63043gmYbCp','1477544lXlqMm','622181mbLupw','2838NHiTCv','31870GnrVgy'];_0x43a6=function(){return _0x195c7c;};return _0x43a6();}export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1c2f43,_0x3aae2e){var _0x558a1b=_0x320d,_0x1cde9d=_0x1c2f43();while(!![]){try{var _0x295b2a=parseInt(_0x558a1b(0x1e7))/0x1+parseInt(_0x558a1b(0x1e4))/0x2+-parseInt(_0x558a1b(0x1e5))/0x3*(parseInt(_0x558a1b(0x1e8))/0x4)+parseInt(_0x558a1b(0x1ea))/0x5+-parseInt(_0x558a1b(0x1e9))/0x6+parseInt(_0x558a1b(0x1eb))/0x7+-parseInt(_0x558a1b(0x1e6))/0x8;if(_0x295b2a===_0x3aae2e)break;else _0x1cde9d['push'](_0x1cde9d['shift']());}catch(_0x250c24){_0x1cde9d['push'](_0x1cde9d['shift']());}}}(_0x5ec9,0x5040d));function _0x320d(_0x15f721,_0xb86e42){var _0x5ec906=_0x5ec9();return _0x320d=function(_0x320d58,_0xd44b16){_0x320d58=_0x320d58-0x1e4;var _0x1d9913=_0x5ec906[_0x320d58];return _0x1d9913;},_0x320d(_0x15f721,_0xb86e42);}import{CKEditorError as _0x338375}from'ckeditor5/src/utils.js';function _0x5ec9(){var _0x2629c1=['4JjhTuJ','1836510rufVMM','2300235zVEuFn','4376939FrHRqE','428748oqGnEE','1397244kBxdOr','3688256lKOHdM','261884zdtwuA'];_0x5ec9=function(){return _0x2629c1;};return _0x5ec9();}
23
+ (function(_0xaabf54,_0x12b105){var _0x30683b=_0x313c,_0x21fb22=_0xaabf54();while(!![]){try{var _0x14126e=-parseInt(_0x30683b(0x1d6))/0x1*(-parseInt(_0x30683b(0x1d0))/0x2)+parseInt(_0x30683b(0x1d4))/0x3+parseInt(_0x30683b(0x1d2))/0x4+parseInt(_0x30683b(0x1d7))/0x5+-parseInt(_0x30683b(0x1d3))/0x6+parseInt(_0x30683b(0x1d8))/0x7+parseInt(_0x30683b(0x1d1))/0x8*(-parseInt(_0x30683b(0x1d5))/0x9);if(_0x14126e===_0x12b105)break;else _0x21fb22['push'](_0x21fb22['shift']());}catch(_0x21556f){_0x21fb22['push'](_0x21fb22['shift']());}}}(_0x557a,0xa808b));function _0x313c(_0x16c3ea,_0x32ad40){var _0x557a90=_0x557a();return _0x313c=function(_0x313cbc,_0x2c46a0){_0x313cbc=_0x313cbc-0x1d0;var _0x24ded8=_0x557a90[_0x313cbc];return _0x24ded8;},_0x313c(_0x16c3ea,_0x32ad40);}import{CKEditorError as _0x46cbbb}from'ckeditor5/src/utils.js';function _0x557a(){var _0x1a3269=['121347Zukiod','9uDUcOC','13jFXOJK','3756375QpaWdS','9144730MRFzaF','49116morvSf','18546728XRbxhG','4742564LYbjHZ','3578406vBcYRU'];_0x557a=function(){return _0x1a3269;};return _0x557a();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x31c1(_0x5ecd0e,_0x4bee99){const _0x323f80=_0x323f();return _0x31c1=function(_0x31c198,_0x53cc4c){_0x31c198=_0x31c198-0x127;let _0x3e42c7=_0x323f80[_0x31c198];return _0x3e42c7;},_0x31c1(_0x5ecd0e,_0x4bee99);}const _0x12104f=_0x31c1;(function(_0x25c5ff,_0x4f6919){const _0x178505=_0x31c1,_0x329867=_0x25c5ff();while(!![]){try{const _0xb24633=parseInt(_0x178505(0x127))/0x1+parseInt(_0x178505(0x150))/0x2+-parseInt(_0x178505(0x158))/0x3*(-parseInt(_0x178505(0x135))/0x4)+parseInt(_0x178505(0x164))/0x5*(-parseInt(_0x178505(0x16b))/0x6)+parseInt(_0x178505(0x13e))/0x7+parseInt(_0x178505(0x145))/0x8+-parseInt(_0x178505(0x182))/0x9*(parseInt(_0x178505(0x13b))/0xa);if(_0xb24633===_0x4f6919)break;else _0x329867['push'](_0x329867['shift']());}catch(_0x3e3424){_0x329867['push'](_0x329867['shift']());}}}(_0x323f,0x91a21));import{ObservableMixin as _0x5b810f}from'ckeditor5/src/utils.js';function _0x323f(){const _0x139b4c=['finally','destroy','initialContext','element','543252EhqiYw','endsWith','abort','```','previousQuery','setContentOf','323950gzUuSU','querySelector','_handleQuery','7787822enwHID','updateView','viewToDom','currentResponse','reverse','htmlProcessor','_stripMarkdownSyntax','6823840uDlzFV','_sanitizationContainer','previousLabel','childNodes','set','serializeToString','markers','value','stopListening','nodeType','editor','150484VrncEE','rename','previousActionId','submitPrompt','textAdapter','body','tryAgainEvent','currentContext','3rBYqei','toView','processor','mainAction','match','remove','listenTo','text/html','push','_isH1TagSupportEnabled','createElement','catch','5DpjuEZ','custom','startProcessing','get','ELEMENT_NODE','render','_sanitizeHTML','3315846bEhcXR','exec','_parseAndNormalizeContent','once','<h1></h1>','length','then','data','stopProcessing','makeRequest','_normalizeResponseHeadings','document','message','editing','```html','config','name','toModel','previousContext','_xmlSerializer','substring','isProcessing','div','477iOPipr','reset','handleError','set:currentContext','clear','parseFromString','finishProcessing','view','_domParser','689508qSDXIG','ai.aiAssistant.preserveComments','startsWith','domConverter','isRendered','from','prompt','stringify','trim','innerHTML'];_0x323f=function(){return _0x139b4c;};return _0x323f();}import{AIRequestError as _0x31eecd}from'../adapters/aiadapter.js';import{Matcher as _0x4ec632,ViewUpcastWriter as _0x5b792b}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x5b810f(){[_0x12104f(0x14f)];[_0x12104f(0x154)];[_0x12104f(0x189)];[_0x12104f(0x146)];[_0x12104f(0x18a)];[_0x12104f(0x17e)];constructor(_0x4aab2c,_0x402014,_0x47ee0c){const _0x5c9f73=_0x12104f;super(),this[_0x5c9f73(0x14f)]=_0x4aab2c,this[_0x5c9f73(0x154)]=_0x402014,this[_0x5c9f73(0x146)]=document[_0x5c9f73(0x162)](_0x5c9f73(0x181)),this[_0x5c9f73(0x18a)]=new DOMParser(),this[_0x5c9f73(0x17e)]=new XMLSerializer(),this[_0x5c9f73(0x189)]=_0x47ee0c,this[_0x5c9f73(0x149)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5c9f73(0x185),(_0x2871b3,_0x127f4f,_0x54d035)=>{const _0x3c8a43=_0x5c9f73;this[_0x3c8a43(0x189)][_0x3c8a43(0x14c)]=this[_0x3c8a43(0x16a)](_0x54d035);}),this[_0x5c9f73(0x15e)](this[_0x5c9f73(0x189)],_0x5c9f73(0x153),(_0x3ce3d8,_0x402684)=>{const _0xaf722c=_0x5c9f73,_0x4fce7d=this[_0xaf722c(0x157)]||this[_0xaf722c(0x133)];this[_0xaf722c(0x13d)](_0x402684,_0x4fce7d,_0xaf722c(0x165));}),this[_0x5c9f73(0x15e)](this[_0x5c9f73(0x189)],_0x5c9f73(0x156),()=>{const _0x57bb28=_0x5c9f73;this[_0x57bb28(0x189)][_0x57bb28(0x12d)]=this[_0x57bb28(0x147)],this[_0x57bb28(0x13d)](this[_0x57bb28(0x139)],this[_0x57bb28(0x17d)],this[_0x57bb28(0x152)],this[_0x57bb28(0x147)]);}),this[_0x5c9f73(0x15e)](this[_0x5c9f73(0x189)],_0x5c9f73(0x173),()=>{const _0x4bdf68=_0x5c9f73;this[_0x4bdf68(0x173)]();});}[_0x12104f(0x132)](){const _0x171806=_0x12104f;this[_0x171806(0x14d)]();}async[_0x12104f(0x13f)]({actionId:_0x599462,query:_0x55ecd5,htmlContent:_0x22d75b,label:_0x167aa8,mainActionLabel:_0x3ec5e1}){const _0x14cc3c=_0x12104f;this[_0x14cc3c(0x189)][_0x14cc3c(0x12d)]=_0x167aa8,this[_0x14cc3c(0x189)][_0x14cc3c(0x15b)]=_0x3ec5e1,this[_0x14cc3c(0x133)]=_0x22d75b,_0x55ecd5&&(this[_0x14cc3c(0x189)][_0x14cc3c(0x12b)]?this[_0x14cc3c(0x13d)](_0x55ecd5,_0x22d75b,_0x599462,_0x167aa8):this[_0x14cc3c(0x189)][_0x14cc3c(0x16e)](_0x14cc3c(0x169),()=>{const _0x26bc59=_0x14cc3c;this[_0x26bc59(0x13d)](_0x55ecd5,_0x22d75b,_0x599462,_0x167aa8);}));}[_0x12104f(0x173)](){const _0x598fcf=_0x12104f;this[_0x598fcf(0x180)]&&(this[_0x598fcf(0x180)]=!0x1,this[_0x598fcf(0x189)][_0x598fcf(0x188)](),this[_0x598fcf(0x154)][_0x598fcf(0x137)]());}[_0x12104f(0x183)](){const _0x2a5490=_0x12104f;this[_0x2a5490(0x133)]='',this[_0x2a5490(0x157)]='',this[_0x2a5490(0x141)]='',this[_0x2a5490(0x17d)]='',this[_0x2a5490(0x139)]='',this[_0x2a5490(0x147)]='',this[_0x2a5490(0x152)]=void 0x0,this[_0x2a5490(0x189)][_0x2a5490(0x183)](),this[_0x2a5490(0x173)]();}async[_0x12104f(0x13d)](_0x2e37cb,_0x5162c8,_0x452b51,_0x20fcb6){const _0x325983=_0x12104f;return this[_0x325983(0x180)]=!0x0,this[_0x325983(0x189)][_0x325983(0x166)](),this[_0x325983(0x17d)]=_0x5162c8,this[_0x325983(0x139)]=_0x2e37cb,this[_0x325983(0x147)]=_0x20fcb6||_0x2e37cb,this[_0x325983(0x152)]=_0x452b51,new Promise(_0x1b17b6=>{const _0x58feea=_0x325983;this[_0x58feea(0x154)][_0x58feea(0x174)]({'query':_0x2e37cb,'context':_0x5162c8,'onData':_0x4411ce=>{const _0x441eb8=_0x58feea;this[_0x441eb8(0x141)]=_0x4411ce,this[_0x441eb8(0x157)]=this[_0x441eb8(0x16d)](this[_0x441eb8(0x141)]);},'actionId':_0x452b51})[_0x58feea(0x171)](()=>{const _0x560c6e=_0x58feea;!this[_0x560c6e(0x157)]&&this[_0x560c6e(0x141)]&&(this[_0x560c6e(0x157)]=this[_0x560c6e(0x16d)](this[_0x560c6e(0x141)],!0x0));})[_0x58feea(0x163)](_0x29d9cc=>{const _0x4fcc91=_0x58feea;_0x29d9cc instanceof _0x31eecd?this[_0x4fcc91(0x189)][_0x4fcc91(0x184)](_0x29d9cc[_0x4fcc91(0x177)]):this[_0x4fcc91(0x189)][_0x4fcc91(0x184)](),_0x1b17b6();})[_0x58feea(0x131)](()=>{const _0x532714=_0x58feea;this[_0x532714(0x173)](),_0x1b17b6();});});}[_0x12104f(0x16d)](_0x591544,_0x335485=!0x1){const _0x1fe766=_0x12104f,_0x42e0a0=Q[_0x1fe766(0x16c)](_0x591544);_0x591544=_0x42e0a0?_0x591544[_0x1fe766(0x17f)](_0x42e0a0[0x1][_0x1fe766(0x170)]):_0x591544[_0x1fe766(0x170)]<0x64&&!_0x335485?'':this[_0x1fe766(0x144)](_0x591544);const _0x5804bf=this[_0x1fe766(0x18a)][_0x1fe766(0x187)](_0x591544,_0x1fe766(0x15f));if(_0x42e0a0){const _0x12dc32=Array[_0x1fe766(0x12c)](_0x5804bf[_0x1fe766(0x155)][_0x1fe766(0x148)]);_0x12dc32[_0x1fe766(0x142)]();for(const _0x4f4cbe of _0x12dc32){if(_0x4f4cbe[_0x1fe766(0x14e)]==Node[_0x1fe766(0x168)])break;_0x4f4cbe[_0x1fe766(0x15d)]();}}const _0x1f382d=this[_0x1fe766(0x14f)][_0x1fe766(0x172)][_0x1fe766(0x15a)][_0x1fe766(0x159)](this[_0x1fe766(0x17e)][_0x1fe766(0x14a)](_0x5804bf[_0x1fe766(0x155)]));this[_0x1fe766(0x161)]()||this[_0x1fe766(0x175)](_0x1f382d);const _0x2cb9ac=this[_0x1fe766(0x14f)][_0x1fe766(0x17a)][_0x1fe766(0x167)](_0x1fe766(0x128)),_0x56225f=this[_0x1fe766(0x14f)][_0x1fe766(0x172)][_0x1fe766(0x17c)](_0x1f382d);return _0x2cb9ac||_0x56225f[_0x1fe766(0x14b)][_0x1fe766(0x186)](),this[_0x1fe766(0x14f)][_0x1fe766(0x172)][_0x1fe766(0x12e)](_0x56225f);}[_0x12104f(0x175)](_0x219168){const _0x545de9=_0x12104f,_0x118131=new _0x5b792b(this[_0x545de9(0x14f)][_0x545de9(0x178)][_0x545de9(0x189)][_0x545de9(0x176)]),_0x232dcf=new _0x4ec632({'name':/^h[1-5]$/}),_0x2e407c=[];let _0x269497=!0x1;for(const _0x2b4f3f of _0x219168)_0x2b4f3f['is'](_0x545de9(0x134))&&_0x232dcf[_0x545de9(0x15c)](_0x2b4f3f)&&(_0x2e407c[_0x545de9(0x160)](_0x2b4f3f),'h1'==_0x2b4f3f[_0x545de9(0x17b)]&&(_0x269497=!0x0));if(_0x269497){for(const _0x22af65 of _0x2e407c)_0x118131[_0x545de9(0x151)]('h'+(parseInt(_0x22af65[_0x545de9(0x17b)][0x1])+0x1),_0x22af65);}}[_0x12104f(0x161)](){const _0x27d688=_0x12104f,{data:_0x436e71,editing:_0x2fe5c7}=this[_0x27d688(0x14f)],_0x4b090d=_0x436e71[_0x27d688(0x143)][_0x27d688(0x159)](_0x27d688(0x16f)),_0x157423=_0x436e71[_0x27d688(0x159)](_0x436e71[_0x27d688(0x17c)](_0x4b090d));return!!_0x2fe5c7[_0x27d688(0x189)][_0x27d688(0x12a)][_0x27d688(0x140)](_0x157423)[_0x27d688(0x13c)]('h1');}[_0x12104f(0x16a)](_0x7e4106){const _0x4db0ed=_0x12104f;return this[_0x4db0ed(0x14f)][_0x4db0ed(0x178)][_0x4db0ed(0x189)][_0x4db0ed(0x12a)][_0x4db0ed(0x13a)](this[_0x4db0ed(0x146)],_0x7e4106),this[_0x4db0ed(0x146)][_0x4db0ed(0x130)];}[_0x12104f(0x144)](_0x4b3fcb){const _0x131f85=_0x12104f,_0x108eca=_0x4b3fcb[_0x131f85(0x12f)]();return _0x108eca[_0x131f85(0x129)](_0x131f85(0x179))?_0x108eca[_0x131f85(0x136)](_0x131f85(0x138))?_0x108eca[_0x131f85(0x17f)](0x7,_0x108eca[_0x131f85(0x170)]-0x3):_0x108eca[_0x131f85(0x17f)](0x7):_0x4b3fcb;}}
23
+ function _0x4b5f(_0x4e55a4,_0x5095d6){const _0x330e1a=_0x330e();return _0x4b5f=function(_0x4b5f4a,_0xf48fa7){_0x4b5f4a=_0x4b5f4a-0x1a1;let _0x559827=_0x330e1a[_0x4b5f4a];return _0x559827;},_0x4b5f(_0x4e55a4,_0x5095d6);}function _0x330e(){const _0x10b99b=['endsWith','document','submitPrompt','startProcessing','190310bEtaLA','4908iQOaNR','name','render','editing','previousQuery','_normalizeResponseHeadings','body','then','value','trim','ELEMENT_NODE','set:currentContext','text/html','1522038oiZEjm','view','nodeType','833496VkonqH','htmlProcessor','handleError','_domParser','createElement','innerHTML','previousContext','tryAgainEvent','previousLabel','reverse','catch','once','editor','_stripMarkdownSyntax','9dgASgY','previousActionId','stringify','_parseAndNormalizeContent','querySelector','exec','reset','domConverter','rename','9354LiAcoX','updateView','isRendered','markers','from','get','textAdapter','custom','parseFromString','abort','substring','prompt','element','length','push','_sanitizeHTML','setContentOf','2rHelzs','_sanitizationContainer','destroy','_xmlSerializer','listenTo','childNodes','div','isProcessing','message','makeRequest','currentResponse','1246044glIuDu','stopProcessing','```html','serializeToString','initialContext','<h1></h1>','ai.aiAssistant.preserveComments','```','stopListening','_isH1TagSupportEnabled','finishProcessing','currentContext','remove','1195znYubS','toView','config','set','mainAction','3WpIiew','2405410xRNzFF','_handleQuery','toModel','viewToDom','match','finally','data','startsWith','clear','processor','44elpVjt'];_0x330e=function(){return _0x10b99b;};return _0x330e();}const _0x543e9b=_0x4b5f;(function(_0x20ef97,_0x53dbda){const _0x505b22=_0x4b5f,_0x27c768=_0x20ef97();while(!![]){try{const _0x2a7667=parseInt(_0x505b22(0x203))/0x1*(-parseInt(_0x505b22(0x1d6))/0x2)+parseInt(_0x505b22(0x1f3))/0x3*(-parseInt(_0x505b22(0x1e1))/0x4)+-parseInt(_0x505b22(0x1ee))/0x5*(-parseInt(_0x505b22(0x1c5))/0x6)+parseInt(_0x505b22(0x1ab))/0x7+-parseInt(_0x505b22(0x1ae))/0x8*(parseInt(_0x505b22(0x1bc))/0x9)+parseInt(_0x505b22(0x1f4))/0xa+-parseInt(_0x505b22(0x1fe))/0xb*(parseInt(_0x505b22(0x204))/0xc);if(_0x2a7667===_0x53dbda)break;else _0x27c768['push'](_0x27c768['shift']());}catch(_0x4f147d){_0x27c768['push'](_0x27c768['shift']());}}}(_0x330e,0x366d4));import{ObservableMixin as _0x2af685}from'ckeditor5/src/utils.js';import{AIRequestError as _0x191f72}from'../adapters/aiadapter.js';import{Matcher as _0x4038d0,ViewUpcastWriter as _0x1879bf}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x2af685(){[_0x543e9b(0x1ba)];[_0x543e9b(0x1cb)];[_0x543e9b(0x1ac)];[_0x543e9b(0x1d7)];[_0x543e9b(0x1b1)];[_0x543e9b(0x1d9)];constructor(_0x53d1d8,_0x4437c0,_0x26ee65){const _0x29148a=_0x543e9b;super(),this[_0x29148a(0x1ba)]=_0x53d1d8,this[_0x29148a(0x1cb)]=_0x4437c0,this[_0x29148a(0x1d7)]=document[_0x29148a(0x1b2)](_0x29148a(0x1dc)),this[_0x29148a(0x1b1)]=new DOMParser(),this[_0x29148a(0x1d9)]=new XMLSerializer(),this[_0x29148a(0x1ac)]=_0x26ee65,this[_0x29148a(0x1f1)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x29148a(0x1a9),(_0x556fc8,_0x517821,_0xa0ec11)=>{const _0x20fdf7=_0x29148a;this[_0x20fdf7(0x1ac)][_0x20fdf7(0x1a6)]=this[_0x20fdf7(0x1d4)](_0xa0ec11);}),this[_0x29148a(0x1da)](this[_0x29148a(0x1ac)],_0x29148a(0x201),(_0xb7c1ff,_0x3ad143)=>{const _0x2deaf8=_0x29148a,_0x45643c=this[_0x2deaf8(0x1ec)]||this[_0x2deaf8(0x1e5)];this[_0x2deaf8(0x1f5)](_0x3ad143,_0x45643c,_0x2deaf8(0x1cc));}),this[_0x29148a(0x1da)](this[_0x29148a(0x1ac)],_0x29148a(0x1b5),()=>{const _0x38b7f8=_0x29148a;this[_0x38b7f8(0x1ac)][_0x38b7f8(0x1d0)]=this[_0x38b7f8(0x1b6)],this[_0x38b7f8(0x1f5)](this[_0x38b7f8(0x1a2)],this[_0x38b7f8(0x1b4)],this[_0x38b7f8(0x1bd)],this[_0x38b7f8(0x1b6)]);}),this[_0x29148a(0x1da)](this[_0x29148a(0x1ac)],_0x29148a(0x1e2),()=>{const _0x58ba75=_0x29148a;this[_0x58ba75(0x1e2)]();});}[_0x543e9b(0x1d8)](){const _0x4d0bc7=_0x543e9b;this[_0x4d0bc7(0x1e9)]();}async[_0x543e9b(0x1c6)]({actionId:_0x5bd8f7,query:_0x4e086e,htmlContent:_0x3c32bc,label:_0xbc26e6,mainActionLabel:_0x3a2c82}){const _0x3ff069=_0x543e9b;this[_0x3ff069(0x1ac)][_0x3ff069(0x1d0)]=_0xbc26e6,this[_0x3ff069(0x1ac)][_0x3ff069(0x1f2)]=_0x3a2c82,this[_0x3ff069(0x1e5)]=_0x3c32bc,_0x4e086e&&(this[_0x3ff069(0x1ac)][_0x3ff069(0x1c7)]?this[_0x3ff069(0x1f5)](_0x4e086e,_0x3c32bc,_0x5bd8f7,_0xbc26e6):this[_0x3ff069(0x1ac)][_0x3ff069(0x1b9)](_0x3ff069(0x206),()=>{const _0x1c24ae=_0x3ff069;this[_0x1c24ae(0x1f5)](_0x4e086e,_0x3c32bc,_0x5bd8f7,_0xbc26e6);}));}[_0x543e9b(0x1e2)](){const _0x232eb9=_0x543e9b;this[_0x232eb9(0x1dd)]&&(this[_0x232eb9(0x1dd)]=!0x1,this[_0x232eb9(0x1ac)][_0x232eb9(0x1eb)](),this[_0x232eb9(0x1cb)][_0x232eb9(0x1ce)]());}[_0x543e9b(0x1c2)](){const _0x2d7a14=_0x543e9b;this[_0x2d7a14(0x1e5)]='',this[_0x2d7a14(0x1ec)]='',this[_0x2d7a14(0x1e0)]='',this[_0x2d7a14(0x1b4)]='',this[_0x2d7a14(0x1a2)]='',this[_0x2d7a14(0x1b6)]='',this[_0x2d7a14(0x1bd)]=void 0x0,this[_0x2d7a14(0x1ac)][_0x2d7a14(0x1c2)](),this[_0x2d7a14(0x1e2)]();}async[_0x543e9b(0x1f5)](_0x146be8,_0x37aff5,_0xf52e10,_0x84acc1){const _0x4bf2fa=_0x543e9b;return this[_0x4bf2fa(0x1dd)]=!0x0,this[_0x4bf2fa(0x1ac)][_0x4bf2fa(0x202)](),this[_0x4bf2fa(0x1b4)]=_0x37aff5,this[_0x4bf2fa(0x1a2)]=_0x146be8,this[_0x4bf2fa(0x1b6)]=_0x84acc1||_0x146be8,this[_0x4bf2fa(0x1bd)]=_0xf52e10,new Promise(_0x416daa=>{const _0x37d555=_0x4bf2fa;this[_0x37d555(0x1cb)][_0x37d555(0x1df)]({'query':_0x146be8,'context':_0x37aff5,'onData':_0x5050bc=>{const _0x3a4300=_0x37d555;this[_0x3a4300(0x1e0)]=_0x5050bc,this[_0x3a4300(0x1ec)]=this[_0x3a4300(0x1bf)](this[_0x3a4300(0x1e0)]);},'actionId':_0xf52e10})[_0x37d555(0x1a5)](()=>{const _0x319534=_0x37d555;!this[_0x319534(0x1ec)]&&this[_0x319534(0x1e0)]&&(this[_0x319534(0x1ec)]=this[_0x319534(0x1bf)](this[_0x319534(0x1e0)],!0x0));})[_0x37d555(0x1b8)](_0x4e840b=>{const _0x4f04f0=_0x37d555;_0x4e840b instanceof _0x191f72?this[_0x4f04f0(0x1ac)][_0x4f04f0(0x1b0)](_0x4e840b[_0x4f04f0(0x1de)]):this[_0x4f04f0(0x1ac)][_0x4f04f0(0x1b0)](),_0x416daa();})[_0x37d555(0x1f9)](()=>{const _0x4370cb=_0x37d555;this[_0x4370cb(0x1e2)](),_0x416daa();});});}[_0x543e9b(0x1bf)](_0x206ae8,_0x14483c=!0x1){const _0x12cc81=_0x543e9b,_0x4d30c0=Q[_0x12cc81(0x1c1)](_0x206ae8);_0x206ae8=_0x4d30c0?_0x206ae8[_0x12cc81(0x1cf)](_0x4d30c0[0x1][_0x12cc81(0x1d2)]):_0x206ae8[_0x12cc81(0x1d2)]<0x64&&!_0x14483c?'':this[_0x12cc81(0x1bb)](_0x206ae8);const _0x3ea50c=this[_0x12cc81(0x1b1)][_0x12cc81(0x1cd)](_0x206ae8,_0x12cc81(0x1aa));if(_0x4d30c0){const _0x2308e0=Array[_0x12cc81(0x1c9)](_0x3ea50c[_0x12cc81(0x1a4)][_0x12cc81(0x1db)]);_0x2308e0[_0x12cc81(0x1b7)]();for(const _0x5cb18a of _0x2308e0){if(_0x5cb18a[_0x12cc81(0x1ad)]==Node[_0x12cc81(0x1a8)])break;_0x5cb18a[_0x12cc81(0x1ed)]();}}const _0x408c25=this[_0x12cc81(0x1ba)][_0x12cc81(0x1fa)][_0x12cc81(0x1fd)][_0x12cc81(0x1ef)](this[_0x12cc81(0x1d9)][_0x12cc81(0x1e4)](_0x3ea50c[_0x12cc81(0x1a4)]));this[_0x12cc81(0x1ea)]()||this[_0x12cc81(0x1a3)](_0x408c25);const _0x2263bd=this[_0x12cc81(0x1ba)][_0x12cc81(0x1f0)][_0x12cc81(0x1ca)](_0x12cc81(0x1e7)),_0x264093=this[_0x12cc81(0x1ba)][_0x12cc81(0x1fa)][_0x12cc81(0x1f6)](_0x408c25);return _0x2263bd||_0x264093[_0x12cc81(0x1c8)][_0x12cc81(0x1fc)](),this[_0x12cc81(0x1ba)][_0x12cc81(0x1fa)][_0x12cc81(0x1be)](_0x264093);}[_0x543e9b(0x1a3)](_0x771b4d){const _0x324b98=_0x543e9b,_0x2009e1=new _0x1879bf(this[_0x324b98(0x1ba)][_0x324b98(0x1a1)][_0x324b98(0x1ac)][_0x324b98(0x200)]),_0xbbe2d0=new _0x4038d0({'name':/^h[1-5]$/}),_0x543e09=[];let _0x4b74c9=!0x1;for(const _0xec0c57 of _0x771b4d)_0xec0c57['is'](_0x324b98(0x1d1))&&_0xbbe2d0[_0x324b98(0x1f8)](_0xec0c57)&&(_0x543e09[_0x324b98(0x1d3)](_0xec0c57),'h1'==_0xec0c57[_0x324b98(0x205)]&&(_0x4b74c9=!0x0));if(_0x4b74c9){for(const _0x284853 of _0x543e09)_0x2009e1[_0x324b98(0x1c4)]('h'+(parseInt(_0x284853[_0x324b98(0x205)][0x1])+0x1),_0x284853);}}[_0x543e9b(0x1ea)](){const _0x200142=_0x543e9b,{data:_0x592cd7,editing:_0x46d66d}=this[_0x200142(0x1ba)],_0x473650=_0x592cd7[_0x200142(0x1af)][_0x200142(0x1ef)](_0x200142(0x1e6)),_0x1e4092=_0x592cd7[_0x200142(0x1ef)](_0x592cd7[_0x200142(0x1f6)](_0x473650));return!!_0x46d66d[_0x200142(0x1ac)][_0x200142(0x1c3)][_0x200142(0x1f7)](_0x1e4092)[_0x200142(0x1c0)]('h1');}[_0x543e9b(0x1d4)](_0x3ea316){const _0x1a9fcf=_0x543e9b;return this[_0x1a9fcf(0x1ba)][_0x1a9fcf(0x1a1)][_0x1a9fcf(0x1ac)][_0x1a9fcf(0x1c3)][_0x1a9fcf(0x1d5)](this[_0x1a9fcf(0x1d7)],_0x3ea316),this[_0x1a9fcf(0x1d7)][_0x1a9fcf(0x1b3)];}[_0x543e9b(0x1bb)](_0x381cb3){const _0xb997a=_0x543e9b,_0x5333c5=_0x381cb3[_0xb997a(0x1a7)]();return _0x5333c5[_0xb997a(0x1fb)](_0xb997a(0x1e3))?_0x5333c5[_0xb997a(0x1ff)](_0xb997a(0x1e8))?_0x5333c5[_0xb997a(0x1cf)](0x7,_0x5333c5[_0xb997a(0x1d2)]-0x3):_0x5333c5[_0xb997a(0x1cf)](0x7):_0x381cb3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46218d=_0x302a;(function(_0xcbe10a,_0x943caa){const _0x525102=_0x302a,_0x4c2522=_0xcbe10a();while(!![]){try{const _0x39d5d0=-parseInt(_0x525102(0x1fc))/0x1*(-parseInt(_0x525102(0x215))/0x2)+parseInt(_0x525102(0x224))/0x3+parseInt(_0x525102(0x21f))/0x4*(parseInt(_0x525102(0x1e4))/0x5)+-parseInt(_0x525102(0x1e9))/0x6+-parseInt(_0x525102(0x20a))/0x7+-parseInt(_0x525102(0x1f9))/0x8+parseInt(_0x525102(0x1db))/0x9;if(_0x39d5d0===_0x943caa)break;else _0x4c2522['push'](_0x4c2522['shift']());}catch(_0x54a0ad){_0x4c2522['push'](_0x4c2522['shift']());}}}(_0x1eb5,0xcb74d));import{global as _0x41a528}from'ckeditor5/src/utils.js';function _0x302a(_0x56b93d,_0x1efffa){const _0x1eb5f4=_0x1eb5();return _0x302a=function(_0x302a0b,_0x27f6bb){_0x302a0b=_0x302a0b-0x1d7;let _0x49cc2b=_0x1eb5f4[_0x302a0b];return _0x49cc2b;},_0x302a(_0x56b93d,_0x1efffa);}import{View as _0x5f14f7,ButtonView as _0x1dd376,SpinnerView as _0x1838bd}from'ckeditor5/src/ui.js';function _0x1eb5(){const _0x109fca=['setStartAfter','\x20ck-ai-form__copy-button--copied','8538066veJAWm','_createLoader','AI\x20is\x20writing...','ck-ai-form__copy-button','Copy','ck-ai-form__content-field','<span>]</span>','addRange','contentFieldView','wheel','listenTo','style','copy','render','position','firstElementChild','5092400LSERHW','element','querySelector','1CvJwQu','scrollHeight','icon','createElement','ck-ai-form__content-area-wrapper','locale','setEndBefore','scrollTo','value','setTemplate','loaderView','_createCopyButton','change:isProcessing','createRange','10604300kMUhBn','class','isProcessing','isEnabled','text/plain','clipboard','textContent','remove','appendLoader','absolute','ck-reset_all-excluded','2094576xQVMzd','ck-ai-form__content-area--processing','appendChild','ck-hidden','left','getSelection','set','body','focus','lastElementChild','42332Uutnpq','text/html','copyButtonView','_copyHTMLToClipboard','bind','2398368JVJlLL','ck-content','div','.ck-ai-form__loader','<span>[</span>','isVisible','execute','change:value','ck-ai-form__loader','-9999px','write','14858424JIWTfa','setContent','mousedown','smooth','execCommand','bindTemplate','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area','ClipboardItem','430SwVHbV','innerHTML','removeAllRanges'];_0x1eb5=function(){return _0x109fca;};return _0x1eb5();}import{IconCheck as _0x3a5e96,IconCopy as _0x1706f3}from'ckeditor5/src/icons.js';import{getTranslation as _0x328644}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x5f14f7{[_0x46218d(0x1f1)];[_0x46218d(0x221)];constructor(_0x204c7e,_0x7ce362=''){const _0x5875ab=_0x46218d;super(_0x204c7e),this[_0x5875ab(0x21b)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x7475ab=this[_0x5875ab(0x1e0)];this[_0x5875ab(0x1f1)]=new ContentFieldView(_0x204c7e,_0x7ce362),this[_0x5875ab(0x221)]=this[_0x5875ab(0x207)](),this[_0x5875ab(0x205)]({'tag':_0x5875ab(0x226),'attributes':{'class':['ck',_0x5875ab(0x200),_0x7475ab['if'](_0x5875ab(0x229),_0x5875ab(0x218),_0x1d0940=>!_0x1d0940)],'tabindex':'-1'},'children':[{'tag':_0x5875ab(0x226),'attributes':{'class':['ck',_0x5875ab(0x1e2),_0x7475ab['if'](_0x5875ab(0x20c),_0x5875ab(0x216))]},'children':[this[_0x5875ab(0x1f1)],{'tag':_0x5875ab(0x226),'attributes':{'class':['ck',_0x5875ab(0x1e1)]},'children':[this[_0x5875ab(0x221)]]}]}]});}[_0x46218d(0x1f6)](){const _0x4c6c94=_0x46218d;super[_0x4c6c94(0x1f6)](),this[_0x4c6c94(0x204)]&&this[_0x4c6c94(0x1f1)][_0x4c6c94(0x1dc)](this[_0x4c6c94(0x204)]);let _0x5c41e6=!0x1;this['on'](_0x4c6c94(0x1d7),(_0x5cb567,_0x99d286,_0x52dd77)=>{const _0xad3f3b=_0x4c6c94,_0x1e2e5b=!this[_0xad3f3b(0x1f1)][_0xad3f3b(0x1fa)][_0xad3f3b(0x1fb)](_0xad3f3b(0x227));this[_0xad3f3b(0x1f1)][_0xad3f3b(0x1dc)](_0x52dd77),this[_0xad3f3b(0x20c)]&&_0x1e2e5b&&!_0x5c41e6&&this[_0xad3f3b(0x1fa)][_0xad3f3b(0x203)]({'top':this[_0xad3f3b(0x1fa)][_0xad3f3b(0x1fd)],'behavior':_0xad3f3b(0x1de)});}),this['on'](_0x4c6c94(0x208),(_0x450bbb,_0x4181af,_0x513a80)=>{const _0x1d557a=_0x4c6c94;_0x5c41e6=!0x1,_0x513a80?(this[_0x1d557a(0x204)]=null,this[_0x1d557a(0x1f1)][_0x1d557a(0x212)]()):this[_0x1d557a(0x204)]||this[_0x1d557a(0x1f1)][_0x1d557a(0x1dc)]('');}),this[_0x4c6c94(0x1f3)](this[_0x4c6c94(0x1fa)],_0x4c6c94(0x1f2),()=>{_0x5c41e6=!0x0;}),this[_0x4c6c94(0x1f3)](this[_0x4c6c94(0x1fa)],_0x4c6c94(0x1dd),()=>{_0x5c41e6=!0x0;});}[_0x46218d(0x21d)](){const _0x1c6d31=_0x46218d;this[_0x1c6d31(0x1fa)][_0x1c6d31(0x21d)]();}[_0x46218d(0x207)](){const _0x574f7f=_0x46218d,_0x294e05=this[_0x574f7f(0x201)],_0x558f18=new _0x1dd376(this[_0x574f7f(0x201)]),_0x31eec8=_0x574f7f(0x1ec);return _0x558f18[_0x574f7f(0x21b)]({'label':_0x328644(_0x294e05,_0x574f7f(0x1ed)),'icon':_0x1706f3,'class':_0x31eec8,'tooltip':!0x0}),_0x558f18[_0x574f7f(0x223)](_0x574f7f(0x229))['to'](this,_0x574f7f(0x204),_0x18c92b=>!!_0x18c92b),_0x558f18[_0x574f7f(0x223)](_0x574f7f(0x20d))['to'](this,_0x574f7f(0x20c),_0x4a9dda=>!_0x4a9dda),_0x558f18['on'](_0x574f7f(0x22a),()=>{const _0x6d1c9d=_0x574f7f;this[_0x6d1c9d(0x222)](this[_0x6d1c9d(0x1f1)][_0x6d1c9d(0x1fa)]),_0x558f18[_0x6d1c9d(0x1fe)]=_0x3a5e96,_0x558f18[_0x6d1c9d(0x20b)]=_0x31eec8+_0x6d1c9d(0x1e8),this[_0x6d1c9d(0x21d)](),setTimeout(()=>{const _0x1d8a7b=_0x6d1c9d;_0x558f18[_0x1d8a7b(0x1fe)]=_0x1706f3,_0x558f18[_0x1d8a7b(0x20b)]=_0x31eec8;},0x3e8);}),_0x558f18;}[_0x46218d(0x222)](_0x1d5524){const _0x5dd8f6=_0x46218d,{window:_0x128e98,document:_0x231ac8}=_0x41a528;if(_0x128e98[_0x5dd8f6(0x1e3)]){const {Blob:_0x4a4dbf,ClipboardItem:_0x5a6fe8}=_0x128e98,_0x3757f5=[new _0x5a6fe8({'text/html':new _0x4a4dbf([_0x1d5524[_0x5dd8f6(0x1e5)]],{'type':_0x5dd8f6(0x220)}),'text/plain':new _0x4a4dbf([_0x1d5524[_0x5dd8f6(0x210)]||''],{'type':_0x5dd8f6(0x20e)})})];navigator[_0x5dd8f6(0x20f)][_0x5dd8f6(0x1da)](_0x3757f5);}else{const _0x462202=_0x231ac8[_0x5dd8f6(0x1ff)](_0x5dd8f6(0x226));_0x462202[_0x5dd8f6(0x1f4)][_0x5dd8f6(0x1f7)]=_0x5dd8f6(0x213),_0x462202[_0x5dd8f6(0x1f4)][_0x5dd8f6(0x219)]=_0x5dd8f6(0x1d9),_0x462202[_0x5dd8f6(0x1e5)]=_0x5dd8f6(0x228)+_0x1d5524[_0x5dd8f6(0x1e5)]+_0x5dd8f6(0x1ef),_0x231ac8[_0x5dd8f6(0x21c)][_0x5dd8f6(0x217)](_0x462202);const _0x181c77=_0x231ac8[_0x5dd8f6(0x209)]();_0x181c77[_0x5dd8f6(0x1e7)](_0x462202[_0x5dd8f6(0x1f8)]),_0x181c77[_0x5dd8f6(0x202)](_0x462202[_0x5dd8f6(0x21e)]);const _0x33b6ba=_0x128e98[_0x5dd8f6(0x21a)]();_0x33b6ba[_0x5dd8f6(0x1e6)](),_0x33b6ba[_0x5dd8f6(0x1f0)](_0x181c77),_0x231ac8[_0x5dd8f6(0x1df)](_0x5dd8f6(0x1f5)),_0x462202[_0x5dd8f6(0x211)]();}}}export class ContentFieldView extends _0x5f14f7{constructor(_0x34df9d,_0x2e7a77=''){const _0x23b58f=_0x46218d;super(_0x34df9d),this[_0x23b58f(0x206)]=this[_0x23b58f(0x1ea)](),this[_0x23b58f(0x205)]({'tag':_0x23b58f(0x226),'attributes':{'class':['ck',_0x23b58f(0x225),_0x2e7a77,_0x23b58f(0x214),_0x23b58f(0x1ee)]}});}[_0x46218d(0x1dc)](_0x5151de){const _0x20c331=_0x46218d;this[_0x20c331(0x1fa)][_0x20c331(0x1e5)]=_0x5151de;}[_0x46218d(0x212)](){const _0x4f7513=_0x46218d;this[_0x4f7513(0x1fa)][_0x4f7513(0x217)](this[_0x4f7513(0x206)][_0x4f7513(0x1fa)]);}[_0x46218d(0x1ea)](){const _0xa268f8=_0x46218d,_0x24a9e1=new _0x5f14f7(),_0x2d5e8=this[_0xa268f8(0x201)],_0x44bf6a=new _0x1838bd();return _0x44bf6a[_0xa268f8(0x229)]=!0x0,_0x24a9e1[_0xa268f8(0x205)]({'tag':_0xa268f8(0x226),'attributes':{'class':['ck',_0xa268f8(0x1d8)]},'children':[_0x44bf6a,{'text':_0x328644(_0x2d5e8,_0xa268f8(0x1eb))}]}),_0x24a9e1[_0xa268f8(0x1f6)](),_0x24a9e1;}}
23
+ const _0x8a7f4b=_0x30f5;(function(_0x107896,_0x5cab1b){const _0x1b113b=_0x30f5,_0x4bafd7=_0x107896();while(!![]){try{const _0x3ab87d=-parseInt(_0x1b113b(0x216))/0x1*(parseInt(_0x1b113b(0x1f6))/0x2)+-parseInt(_0x1b113b(0x20a))/0x3+parseInt(_0x1b113b(0x1fe))/0x4*(parseInt(_0x1b113b(0x20f))/0x5)+-parseInt(_0x1b113b(0x224))/0x6+parseInt(_0x1b113b(0x1f0))/0x7+-parseInt(_0x1b113b(0x20c))/0x8*(-parseInt(_0x1b113b(0x1f4))/0x9)+-parseInt(_0x1b113b(0x237))/0xa;if(_0x3ab87d===_0x5cab1b)break;else _0x4bafd7['push'](_0x4bafd7['shift']());}catch(_0x42b6ea){_0x4bafd7['push'](_0x4bafd7['shift']());}}}(_0x1842,0x3c7af));import{global as _0x2abadc}from'ckeditor5/src/utils.js';import{View as _0x579818,ButtonView as _0x1a2e03,SpinnerView as _0x969533}from'ckeditor5/src/ui.js';import{IconCheck as _0x1afbe7,IconCopy as _0x220db3}from'ckeditor5/src/icons.js';import{getTranslation as _0x5786b9}from'../../utils/common-translations.js';function _0x30f5(_0x3c0e0c,_0x372b73){const _0x184225=_0x1842();return _0x30f5=function(_0x30f575,_0x225a27){_0x30f575=_0x30f575-0x1eb;let _0x869549=_0x184225[_0x30f575];return _0x869549;},_0x30f5(_0x3c0e0c,_0x372b73);}export class AIFormContentArea extends _0x579818{[_0x8a7f4b(0x20b)];[_0x8a7f4b(0x214)];constructor(_0x21ed53,_0x5a9ca5=''){const _0x2f6883=_0x8a7f4b;super(_0x21ed53),this[_0x2f6883(0x227)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x36af98=this[_0x2f6883(0x1ee)];this[_0x2f6883(0x20b)]=new ContentFieldView(_0x21ed53,_0x5a9ca5),this[_0x2f6883(0x214)]=this[_0x2f6883(0x1ec)](),this[_0x2f6883(0x21a)]({'tag':_0x2f6883(0x23b),'attributes':{'class':['ck',_0x2f6883(0x20d),_0x36af98['if'](_0x2f6883(0x20e),_0x2f6883(0x1ed),_0x5daf69=>!_0x5daf69)],'tabindex':'-1'},'children':[{'tag':_0x2f6883(0x23b),'attributes':{'class':['ck',_0x2f6883(0x226),_0x36af98['if'](_0x2f6883(0x222),_0x2f6883(0x228))]},'children':[this[_0x2f6883(0x20b)],{'tag':_0x2f6883(0x23b),'attributes':{'class':['ck',_0x2f6883(0x223)]},'children':[this[_0x2f6883(0x214)]]}]}]});}[_0x8a7f4b(0x213)](){const _0x162016=_0x8a7f4b;super[_0x162016(0x213)](),this[_0x162016(0x211)]&&this[_0x162016(0x20b)][_0x162016(0x1f2)](this[_0x162016(0x211)]);let _0x49a07b=!0x1;this['on'](_0x162016(0x1eb),(_0x5604e7,_0x36f317,_0x1ea316)=>{const _0x20f594=_0x162016,_0x334dd6=!this[_0x20f594(0x20b)][_0x20f594(0x23f)][_0x20f594(0x204)](_0x20f594(0x220));this[_0x20f594(0x20b)][_0x20f594(0x1f2)](_0x1ea316),this[_0x20f594(0x222)]&&_0x334dd6&&!_0x49a07b&&this[_0x20f594(0x23f)][_0x20f594(0x230)]({'top':this[_0x20f594(0x23f)][_0x20f594(0x201)],'behavior':_0x20f594(0x1fd)});}),this['on'](_0x162016(0x235),(_0x25edfb,_0x185d77,_0x44c7d2)=>{const _0x2685b7=_0x162016;_0x49a07b=!0x1,_0x44c7d2?(this[_0x2685b7(0x211)]=null,this[_0x2685b7(0x20b)][_0x2685b7(0x215)]()):this[_0x2685b7(0x211)]||this[_0x2685b7(0x20b)][_0x2685b7(0x1f2)]('');}),this[_0x162016(0x21d)](this[_0x162016(0x23f)],_0x162016(0x1ff),()=>{_0x49a07b=!0x0;}),this[_0x162016(0x21d)](this[_0x162016(0x23f)],_0x162016(0x22b),()=>{_0x49a07b=!0x0;});}[_0x8a7f4b(0x1f5)](){const _0x107471=_0x8a7f4b;this[_0x107471(0x23f)][_0x107471(0x1f5)]();}[_0x8a7f4b(0x1ec)](){const _0x12d135=_0x8a7f4b,_0x5b3108=this[_0x12d135(0x207)],_0xb13523=new _0x1a2e03(this[_0x12d135(0x207)]),_0x2b003f=_0x12d135(0x231);return _0xb13523[_0x12d135(0x227)]({'label':_0x5786b9(_0x5b3108,_0x12d135(0x1fa)),'icon':_0x220db3,'class':_0x2b003f,'tooltip':!0x0}),_0xb13523[_0x12d135(0x238)](_0x12d135(0x20e))['to'](this,_0x12d135(0x211),_0x223540=>!!_0x223540),_0xb13523[_0x12d135(0x238)](_0x12d135(0x1ef))['to'](this,_0x12d135(0x222),_0x1196d8=>!_0x1196d8),_0xb13523['on'](_0x12d135(0x236),()=>{const _0x13eec7=_0x12d135;this[_0x13eec7(0x205)](this[_0x13eec7(0x20b)][_0x13eec7(0x23f)]),_0xb13523[_0x13eec7(0x1f3)]=_0x1afbe7,_0xb13523[_0x13eec7(0x233)]=_0x2b003f+_0x13eec7(0x1f7),this[_0x13eec7(0x1f5)](),setTimeout(()=>{const _0x3b221e=_0x13eec7;_0xb13523[_0x3b221e(0x1f3)]=_0x220db3,_0xb13523[_0x3b221e(0x233)]=_0x2b003f;},0x3e8);}),_0xb13523;}[_0x8a7f4b(0x205)](_0x5da070){const _0x3c1774=_0x8a7f4b,{window:_0x356e08,document:_0x209c0c}=_0x2abadc;if(_0x356e08[_0x3c1774(0x22d)]){const {Blob:_0x1c37df,ClipboardItem:_0x4454c9}=_0x356e08,_0x3fb1bd=[new _0x4454c9({'text/html':new _0x1c37df([_0x5da070[_0x3c1774(0x225)]],{'type':_0x3c1774(0x239)}),'text/plain':new _0x1c37df([_0x5da070[_0x3c1774(0x21b)]||''],{'type':_0x3c1774(0x23a)})})];navigator[_0x3c1774(0x22c)][_0x3c1774(0x1fc)](_0x3fb1bd);}else{const _0x4fcf83=_0x209c0c[_0x3c1774(0x234)](_0x3c1774(0x23b));_0x4fcf83[_0x3c1774(0x232)][_0x3c1774(0x208)]=_0x3c1774(0x219),_0x4fcf83[_0x3c1774(0x232)][_0x3c1774(0x21c)]=_0x3c1774(0x210),_0x4fcf83[_0x3c1774(0x225)]=_0x3c1774(0x23d)+_0x5da070[_0x3c1774(0x225)]+_0x3c1774(0x23c),_0x209c0c[_0x3c1774(0x200)][_0x3c1774(0x22e)](_0x4fcf83);const _0x452d2f=_0x209c0c[_0x3c1774(0x22a)]();_0x452d2f[_0x3c1774(0x221)](_0x4fcf83[_0x3c1774(0x21f)]),_0x452d2f[_0x3c1774(0x218)](_0x4fcf83[_0x3c1774(0x1fb)]);const _0x947ccc=_0x356e08[_0x3c1774(0x1f9)]();_0x947ccc[_0x3c1774(0x209)](),_0x947ccc[_0x3c1774(0x23e)](_0x452d2f),_0x209c0c[_0x3c1774(0x206)](_0x3c1774(0x1f1)),_0x4fcf83[_0x3c1774(0x21e)]();}}}export class ContentFieldView extends _0x579818{constructor(_0x353e21,_0x300242=''){const _0x584fdc=_0x8a7f4b;super(_0x353e21),this[_0x584fdc(0x217)]=this[_0x584fdc(0x229)](),this[_0x584fdc(0x21a)]({'tag':_0x584fdc(0x23b),'attributes':{'class':['ck',_0x584fdc(0x212),_0x300242,_0x584fdc(0x202),_0x584fdc(0x203)]}});}[_0x8a7f4b(0x1f2)](_0x2eb27a){const _0xeae36c=_0x8a7f4b;this[_0xeae36c(0x23f)][_0xeae36c(0x225)]=_0x2eb27a;}[_0x8a7f4b(0x215)](){const _0x185b11=_0x8a7f4b;this[_0x185b11(0x23f)][_0x185b11(0x22e)](this[_0x185b11(0x217)][_0x185b11(0x23f)]);}[_0x8a7f4b(0x229)](){const _0x252540=_0x8a7f4b,_0x488cda=new _0x579818(),_0x18e4a2=this[_0x252540(0x207)],_0x3d844f=new _0x969533();return _0x3d844f[_0x252540(0x20e)]=!0x0,_0x488cda[_0x252540(0x21a)]({'tag':_0x252540(0x23b),'attributes':{'class':['ck',_0x252540(0x1f8)]},'children':[_0x3d844f,{'text':_0x5786b9(_0x18e4a2,_0x252540(0x22f))}]}),_0x488cda[_0x252540(0x213)](),_0x488cda;}}function _0x1842(){const _0x5e2e7b=['execute','789320JNnEjy','bind','text/html','text/plain','div','<span>]</span>','<span>[</span>','addRange','element','change:value','_createCopyButton','ck-hidden','bindTemplate','isEnabled','1210909iTXqMh','copy','setContent','icon','14166ppDWeY','focus','458uLDENN','\x20ck-ai-form__copy-button--copied','ck-ai-form__loader','getSelection','Copy','lastElementChild','write','smooth','215240rxdJSt','wheel','body','scrollHeight','ck-reset_all-excluded','ck-ai-form__content-field','querySelector','_copyHTMLToClipboard','execCommand','locale','position','removeAllRanges','1008555lAlDQh','contentFieldView','1928CGinYU','ck-ai-form__content-area-wrapper','isVisible','40DAbsHx','-9999px','value','ck-content','render','copyButtonView','appendLoader','1229CloWDp','loaderView','setEndBefore','absolute','setTemplate','textContent','left','listenTo','remove','firstElementChild','.ck-ai-form__loader','setStartAfter','isProcessing','ck-ai-form__copy-button-wrapper','231096TMZaKQ','innerHTML','ck-ai-form__content-area','set','ck-ai-form__content-area--processing','_createLoader','createRange','mousedown','clipboard','ClipboardItem','appendChild','AI\x20is\x20writing...','scrollTo','ck-ai-form__copy-button','style','class','createElement','change:isProcessing'];_0x1842=function(){return _0x5e2e7b;};return _0x1842();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xb12f52,_0x48c2b0){const _0x3784=_0x1599,_0x15fa43=_0xb12f52();while(!![]){try{const _0x411e3f=parseInt(_0x3784(0xe6))/0x1*(-parseInt(_0x3784(0xec))/0x2)+-parseInt(_0x3784(0xee))/0x3+parseInt(_0x3784(0xe9))/0x4*(parseInt(_0x3784(0xe8))/0x5)+-parseInt(_0x3784(0xed))/0x6+parseInt(_0x3784(0xea))/0x7+-parseInt(_0x3784(0xe7))/0x8+parseInt(_0x3784(0xeb))/0x9;if(_0x411e3f===_0x48c2b0)break;else _0x15fa43['push'](_0x15fa43['shift']());}catch(_0x4085b4){_0x15fa43['push'](_0x15fa43['shift']());}}}(_0x50f1,0x32e98));import{IconError as _0xe44a8b}from'ckeditor5/src/icons.js';function _0x1599(_0x380d8f,_0x4b5d46){const _0x50f102=_0x50f1();return _0x1599=function(_0x159996,_0x5b4618){_0x159996=_0x159996-0xe4;let _0x4f623b=_0x50f102[_0x159996];return _0x4f623b;},_0x1599(_0x380d8f,_0x4b5d46);}import{View as _0x3d120c,IconView as _0x1bec64}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x3d120c{constructor(_0x27dd3,_0x118c80=''){const _0x1516f2=_0x1599;super(_0x27dd3);const _0x101426=new _0x1bec64(),_0x4b2cd3=this[_0x1516f2(0xf2)];this[_0x1516f2(0xf3)](_0x1516f2(0xf1),_0x118c80),_0x101426[_0x1516f2(0xef)]=_0xe44a8b,this[_0x1516f2(0xf0)]({'tag':_0x1516f2(0xe4),'attributes':{'class':['ck',_0x1516f2(0xe5)]},'children':[_0x101426,{'text':_0x4b2cd3['to'](_0x1516f2(0xf1))}]});}}function _0x50f1(){const _0x59f772=['setTemplate','text','bindTemplate','set','div','ck-ai-form__error','20469WRGTgb','1873008TUusjq','5fUawbG','1051124avqIrA','2560551BCQlgn','4626819FJlCRO','40mLipoo','977448VpkbfU','383145vqXpae','content'];_0x50f1=function(){return _0x59f772;};return _0x50f1();}
23
+ function _0x57d1(_0xaa556f,_0x4213e4){const _0x3060b3=_0x3060();return _0x57d1=function(_0x57d1ff,_0x365816){_0x57d1ff=_0x57d1ff-0x192;let _0x4ae7b3=_0x3060b3[_0x57d1ff];return _0x4ae7b3;},_0x57d1(_0xaa556f,_0x4213e4);}function _0x3060(){const _0x350d1d=['bindTemplate','text','3QpMBsv','set','11NIyxnA','content','453636dGubyE','ck-ai-form__error','setTemplate','5380328FujYwp','72cdWgdP','2091358JlwUch','1397255wRqfnw','div','651965LBrEFU','15146010olXoNT','7iMORGU','133659eFAbKF'];_0x3060=function(){return _0x350d1d;};return _0x3060();}(function(_0x57297a,_0x3fa426){const _0x22f500=_0x57d1,_0x35b679=_0x57297a();while(!![]){try{const _0x209d34=parseInt(_0x22f500(0x196))/0x1+-parseInt(_0x22f500(0x195))/0x2+-parseInt(_0x22f500(0x19e))/0x3*(parseInt(_0x22f500(0x1a2))/0x4)+-parseInt(_0x22f500(0x198))/0x5*(parseInt(_0x22f500(0x194))/0x6)+-parseInt(_0x22f500(0x19a))/0x7*(-parseInt(_0x22f500(0x193))/0x8)+parseInt(_0x22f500(0x19b))/0x9+parseInt(_0x22f500(0x199))/0xa*(parseInt(_0x22f500(0x1a0))/0xb);if(_0x209d34===_0x3fa426)break;else _0x35b679['push'](_0x35b679['shift']());}catch(_0x53bc69){_0x35b679['push'](_0x35b679['shift']());}}}(_0x3060,0xd5bb4));import{IconError as _0x59098c}from'ckeditor5/src/icons.js';import{View as _0x4d1a40,IconView as _0x147224}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4d1a40{constructor(_0x208dc3,_0x3e9231=''){const _0x4330ee=_0x57d1;super(_0x208dc3);const _0x154d72=new _0x147224(),_0x417043=this[_0x4330ee(0x19c)];this[_0x4330ee(0x19f)](_0x4330ee(0x19d),_0x3e9231),_0x154d72[_0x4330ee(0x1a1)]=_0x59098c,this[_0x4330ee(0x192)]({'tag':_0x4330ee(0x197),'attributes':{'class':['ck',_0x4330ee(0x1a3)]},'children':[_0x154d72,{'text':_0x417043['to'](_0x4330ee(0x19d))}]});}}