@ckeditor/ckeditor5-ai 46.0.1 → 46.0.2-alpha.1

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 _0x43d6ec=_0x467c;(function(_0x1b70d0,_0x234053){const _0x202b8f=_0x467c,_0x3ad044=_0x1b70d0();while(!![]){try{const _0x36b7a1=-parseInt(_0x202b8f(0x1af))/0x1+parseInt(_0x202b8f(0x184))/0x2+-parseInt(_0x202b8f(0x172))/0x3*(parseInt(_0x202b8f(0x18a))/0x4)+-parseInt(_0x202b8f(0x19a))/0x5+-parseInt(_0x202b8f(0x1bf))/0x6+-parseInt(_0x202b8f(0x194))/0x7*(parseInt(_0x202b8f(0x197))/0x8)+-parseInt(_0x202b8f(0x1b2))/0x9*(-parseInt(_0x202b8f(0x1c2))/0xa);if(_0x36b7a1===_0x234053)break;else _0x3ad044['push'](_0x3ad044['shift']());}catch(_0xa94520){_0x3ad044['push'](_0x3ad044['shift']());}}}(_0xffd2,0xc1293));import{Plugin as _0x3c25d3}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x552fd7}from'./aiassistantui.js';function _0x467c(_0x2c06b9,_0x1df675){const _0xffd2b1=_0xffd2();return _0x467c=function(_0x467c3f,_0x529beb){_0x467c3f=_0x467c3f-0x15b;let _0x306c7c=_0xffd2b1[_0x467c3f];return _0x306c7c;},_0x467c(_0x2c06b9,_0x1df675);}import{AIAssistantEditing as _0x5725f1}from'./aiassistantediting.js';import{getTranslation as _0x5284fc}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x46da91}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x3c25d3{static get[_0x43d6ec(0x15c)](){return[_0x552fd7,_0x5725f1];}static get[_0x43d6ec(0x182)](){const _0x48978b=_0x43d6ec;return _0x48978b(0x183);}static get[_0x43d6ec(0x168)](){return!0x0;}static get[_0x43d6ec(0x1a7)](){return!0x0;}constructor(_0x33cdcf){const _0x47eaf7=_0x43d6ec;super(_0x33cdcf);const _0xfed7ae=_0x33cdcf[_0x47eaf7(0x1b5)],_0x1cf42=_0x33cdcf[_0x47eaf7(0x1a0)];_0xfed7ae[_0x47eaf7(0x17e)](_0x47eaf7(0x16f),!0x0),_0xfed7ae[_0x47eaf7(0x17e)](_0x47eaf7(0x1b7),getDefaultAICommands(_0x1cf42)),_0xfed7ae[_0x47eaf7(0x17e)](_0x47eaf7(0x17c),[]),_0xfed7ae[_0x47eaf7(0x17e)](_0x47eaf7(0x1c4),[]);let _0x159240=_0x46da91(_0xfed7ae[_0x47eaf7(0x1a5)](_0x47eaf7(0x1b7)),_0x1cf42);const _0x3d54a=_0xfed7ae[_0x47eaf7(0x1a5)](_0x47eaf7(0x17c)),_0x110bac=_0xfed7ae[_0x47eaf7(0x1a5)](_0x47eaf7(0x1c4));_0x3d54a[_0x47eaf7(0x19f)](_0x2039ea=>{const _0x113c46=_0x47eaf7,_0x2783af=_0x159240[_0x113c46(0x18d)](_0x1dcd09=>_0x1dcd09[_0x113c46(0x18b)]===_0x2039ea[_0x113c46(0x18b)]);_0x2783af?_0x2783af[_0x113c46(0x1bb)]=_0x2783af[_0x113c46(0x1bb)][_0x113c46(0x17b)](_0x2039ea[_0x113c46(0x1bb)]):_0x159240[_0x113c46(0x195)](_0x2039ea);}),_0x159240=_0x159240[_0x47eaf7(0x1c7)](_0x5885d4=>!_0x110bac[_0x47eaf7(0x190)](_0x5885d4[_0x47eaf7(0x18b)])),_0x159240[_0x47eaf7(0x19f)](_0x5e87e7=>{const _0x5604a7=_0x47eaf7;_0x5e87e7[_0x5604a7(0x1bb)]=_0x5e87e7[_0x5604a7(0x1bb)][_0x5604a7(0x1c7)](_0x3ac34d=>!_0x110bac[_0x5604a7(0x190)](_0x3ac34d['id']));}),_0xfed7ae[_0x47eaf7(0x1b8)](_0x47eaf7(0x1b7),_0x159240);}}function _0xffd2(){const _0x35a833=['Translate','friendly','casual','597592cCMgfO','Generate\x20from\x20selection','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','9SbuCvQ','generate','Direct','config','editOrReview','ai.aiAssistant.commands','set','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','translateHindi','commands','Friendly','Hindi','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','1925952xGKpeN','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Confident','16573020acTcTk','Translate\x20the\x20content\x20to\x20Arabic\x20language.','ai.aiAssistant.removeCommands','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','makeLonger','filter','Translate\x20the\x20content\x20to\x20English\x20language.','Make\x20longer','Arabic','requires','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Change\x20style','Simplified\x20Chinese','Journalism','business','poetic','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateFrench','simplifyLanguage','Professional','isOfficialPlugin','changeStyle','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','English','translatePortuguese','translate','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','ai.aiAssistant.preserveComments','direct','changeTone','60AJDTzk','Edit\x20or\x20review','improveWriting','translateSpanish','translateArabic','translateGerman','Translate\x20the\x20content\x20to\x20German\x20language.','Business','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','concat','ai.aiAssistant.extraCommandGroups','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','define','translateChinese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Translate\x20the\x20content\x20to\x20French\x20language.','pluginName','AIAssistant','1527240SpmUuv','makeShorter','Poetic','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Summarize','Casual','14716NHKCls','groupId','professional','find','Change\x20tone','Improve\x20writing','includes','German','confident','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','57197XDHryU','push','Spanish','392WyIvzK','Legal','French','1185960Cxpovr','Continue','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Make\x20shorter','forEach','locale','translateEnglish','legal','Simplify\x20language','Portuguese','get','continue','isPremiumPlugin','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','journalism','summarize','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'];_0xffd2=function(){return _0x35a833;};return _0xffd2();}export function getDefaultAICommands(_0x138b07){const _0x81fb88=_0x43d6ec;return[{'groupId':_0x81fb88(0x1b6),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x173)),'commands':[{'id':_0x81fb88(0x174),'label':_0x5284fc(_0x138b07,_0x81fb88(0x18f)),'prompt':_0x81fb88(0x187)},{'id':_0x81fb88(0x185),'label':_0x5284fc(_0x138b07,_0x81fb88(0x19e)),'prompt':_0x81fb88(0x1be)},{'id':_0x81fb88(0x1c6),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1c9)),'prompt':_0x81fb88(0x193)},{'id':_0x81fb88(0x166),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1a3)),'prompt':_0x81fb88(0x16a)}]},{'groupId':_0x81fb88(0x1b3),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x1b0)),'commands':[{'id':_0x81fb88(0x1aa),'label':_0x5284fc(_0x138b07,_0x81fb88(0x188)),'prompt':_0x81fb88(0x1a8)},{'id':_0x81fb88(0x1a6),'label':_0x5284fc(_0x138b07,_0x81fb88(0x19b)),'prompt':_0x81fb88(0x1c5)}]},{'groupId':_0x81fb88(0x171),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x18e)),'commands':[{'id':_0x81fb88(0x18c),'label':_0x5284fc(_0x138b07,_0x81fb88(0x167)),'prompt':_0x81fb88(0x1c0)},{'id':_0x81fb88(0x1ae),'label':_0x5284fc(_0x138b07,_0x81fb88(0x189)),'prompt':_0x81fb88(0x16e)},{'id':_0x81fb88(0x170),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1b4)),'prompt':_0x81fb88(0x1b1)},{'id':_0x81fb88(0x192),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1c1)),'prompt':_0x81fb88(0x180)},{'id':_0x81fb88(0x1ad),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1bc)),'prompt':_0x81fb88(0x17a)}]},{'groupId':_0x81fb88(0x169),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x15f)),'commands':[{'id':_0x81fb88(0x162),'label':_0x5284fc(_0x138b07,_0x81fb88(0x179)),'prompt':_0x81fb88(0x1ab)},{'id':_0x81fb88(0x1a2),'label':_0x5284fc(_0x138b07,_0x81fb88(0x198)),'prompt':_0x81fb88(0x1b9)},{'id':_0x81fb88(0x1a9),'label':_0x5284fc(_0x138b07,_0x81fb88(0x161)),'prompt':_0x81fb88(0x15e)},{'id':_0x81fb88(0x163),'label':_0x5284fc(_0x138b07,_0x81fb88(0x186)),'prompt':_0x81fb88(0x17d)}]},{'groupId':_0x81fb88(0x16d),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x1ac)),'commands':[{'id':_0x81fb88(0x1a1),'label':_0x5284fc(_0x138b07,_0x81fb88(0x16b)),'prompt':_0x81fb88(0x1c8)},{'id':_0x81fb88(0x175),'label':_0x5284fc(_0x138b07,_0x81fb88(0x196)),'prompt':_0x81fb88(0x19d)},{'id':_0x81fb88(0x16c),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1a4)),'prompt':_0x81fb88(0x164)},{'id':_0x81fb88(0x177),'label':_0x5284fc(_0x138b07,_0x81fb88(0x191)),'prompt':_0x81fb88(0x178)},{'id':_0x81fb88(0x165),'label':_0x5284fc(_0x138b07,_0x81fb88(0x199)),'prompt':_0x81fb88(0x181)},{'id':_0x81fb88(0x17f),'label':_0x5284fc(_0x138b07,_0x81fb88(0x160)),'prompt':_0x81fb88(0x19c)},{'id':_0x81fb88(0x1ba),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1bd)),'prompt':_0x81fb88(0x15d)},{'id':_0x81fb88(0x176),'label':_0x5284fc(_0x138b07,_0x81fb88(0x15b)),'prompt':_0x81fb88(0x1c3)}]}];}
23
+ const _0x3a43e3=_0x460e;(function(_0x1c381c,_0x1dc0fc){const _0x722697=_0x460e,_0x756bb2=_0x1c381c();while(!![]){try{const _0x6bc007=-parseInt(_0x722697(0x1b1))/0x1*(parseInt(_0x722697(0x173))/0x2)+-parseInt(_0x722697(0x18f))/0x3*(parseInt(_0x722697(0x19a))/0x4)+-parseInt(_0x722697(0x162))/0x5*(-parseInt(_0x722697(0x188))/0x6)+parseInt(_0x722697(0x165))/0x7*(parseInt(_0x722697(0x1a7))/0x8)+parseInt(_0x722697(0x19f))/0x9*(parseInt(_0x722697(0x1a3))/0xa)+parseInt(_0x722697(0x197))/0xb*(-parseInt(_0x722697(0x19c))/0xc)+parseInt(_0x722697(0x16b))/0xd;if(_0x6bc007===_0x1dc0fc)break;else _0x756bb2['push'](_0x756bb2['shift']());}catch(_0x156f72){_0x756bb2['push'](_0x756bb2['shift']());}}}(_0x564b,0xc4d53));function _0x564b(){const _0x3eb097=['translateEnglish','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Journalism','professional','German','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','push','groupId','business','Edit\x20or\x20review','define','ai.aiAssistant.preserveComments','makeShorter','3683055bnvQgU','poetic','continue','10549GpUCGC','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','locale','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Arabic','improveWriting','10252723uRuCqU','includes','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','legal','Change\x20tone','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Summarize','166FqheQO','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Legal','filter','isOfficialPlugin','Translate\x20the\x20content\x20to\x20German\x20language.','summarize','translatePortuguese','casual','Improve\x20writing','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Spanish','translateFrench','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','get','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Continue','Generate\x20from\x20selection','translateSpanish','ai.aiAssistant.removeCommands','commands','6NLyGeV','editOrReview','ai.aiAssistant.commands','Friendly','Make\x20longer','journalism','generate','5001mROCPS','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','config','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Poetic','changeStyle','Change\x20style','French','430265kOZusy','ai.aiAssistant.extraCommandGroups','translateChinese','1196dJNejM','Hindi','36WXvvXa','friendly','translateHindi','148977QlulpN','Translate\x20the\x20content\x20to\x20French\x20language.','translateArabic','find','310KnlbrE','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Make\x20shorter','Direct','728AKkNEp','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Portuguese','forEach','Professional','changeTone','translateGerman','Translate\x20the\x20content\x20to\x20Hindi\x20language.','pluginName','translate','9079NfdWjF','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','English','direct','Confident','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','makeLonger','isPremiumPlugin','requires','set','Translate\x20the\x20content\x20to\x20English\x20language.','Translate','Simplify\x20language','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Business','simplifyLanguage','concat','confident','AIAssistant','Simplified\x20Chinese','Casual'];_0x564b=function(){return _0x3eb097;};return _0x564b();}import{Plugin as _0x598099}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x20328c}from'./aiassistantui.js';import{AIAssistantEditing as _0x5e0cb8}from'./aiassistantediting.js';import{getTranslation as _0x184c50}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0xb478f3}from'./utils/normalizecommandsconfig.js';function _0x460e(_0x3323a5,_0x51765e){const _0x564b6f=_0x564b();return _0x460e=function(_0x460e6c,_0x4ea90d){_0x460e6c=_0x460e6c-0x14f;let _0x13ea7a=_0x564b6f[_0x460e6c];return _0x13ea7a;},_0x460e(_0x3323a5,_0x51765e);}export class AIAssistant extends _0x598099{static get[_0x3a43e3(0x1b9)](){return[_0x20328c,_0x5e0cb8];}static get[_0x3a43e3(0x1af)](){const _0x9d0bc8=_0x3a43e3;return _0x9d0bc8(0x151);}static get[_0x3a43e3(0x177)](){return!0x0;}static get[_0x3a43e3(0x1b8)](){return!0x0;}constructor(_0x778f90){const _0x5a5fa0=_0x3a43e3;super(_0x778f90);const _0x2408ca=_0x778f90[_0x5a5fa0(0x191)],_0x2f1cbb=_0x778f90[_0x5a5fa0(0x167)];_0x2408ca[_0x5a5fa0(0x15f)](_0x5a5fa0(0x160),!0x0),_0x2408ca[_0x5a5fa0(0x15f)](_0x5a5fa0(0x18a),getDefaultAICommands(_0x2f1cbb)),_0x2408ca[_0x5a5fa0(0x15f)](_0x5a5fa0(0x198),[]),_0x2408ca[_0x5a5fa0(0x15f)](_0x5a5fa0(0x186),[]);let _0x4f0596=_0xb478f3(_0x2408ca[_0x5a5fa0(0x181)](_0x5a5fa0(0x18a)),_0x2f1cbb);const _0xb56916=_0x2408ca[_0x5a5fa0(0x181)](_0x5a5fa0(0x198)),_0x55e2a4=_0x2408ca[_0x5a5fa0(0x181)](_0x5a5fa0(0x186));_0xb56916[_0x5a5fa0(0x1aa)](_0x724e35=>{const _0x20a6e4=_0x5a5fa0,_0x3a26d1=_0x4f0596[_0x20a6e4(0x1a2)](_0x3333c6=>_0x3333c6[_0x20a6e4(0x15c)]===_0x724e35[_0x20a6e4(0x15c)]);_0x3a26d1?_0x3a26d1[_0x20a6e4(0x187)]=_0x3a26d1[_0x20a6e4(0x187)][_0x20a6e4(0x14f)](_0x724e35[_0x20a6e4(0x187)]):_0x4f0596[_0x20a6e4(0x15b)](_0x724e35);}),_0x4f0596=_0x4f0596[_0x5a5fa0(0x176)](_0x24f4bd=>!_0x55e2a4[_0x5a5fa0(0x16c)](_0x24f4bd[_0x5a5fa0(0x15c)])),_0x4f0596[_0x5a5fa0(0x1aa)](_0x4e2728=>{const _0x1a2174=_0x5a5fa0;_0x4e2728[_0x1a2174(0x187)]=_0x4e2728[_0x1a2174(0x187)][_0x1a2174(0x176)](_0x2b7d98=>!_0x55e2a4[_0x1a2174(0x16c)](_0x2b7d98['id']));}),_0x2408ca[_0x5a5fa0(0x1ba)](_0x5a5fa0(0x18a),_0x4f0596);}}export function getDefaultAICommands(_0x549355){const _0x397ae3=_0x3a43e3;return[{'groupId':_0x397ae3(0x189),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x15e)),'commands':[{'id':_0x397ae3(0x16a),'label':_0x184c50(_0x549355,_0x397ae3(0x17c)),'prompt':_0x397ae3(0x15a)},{'id':_0x397ae3(0x161),'label':_0x184c50(_0x549355,_0x397ae3(0x1a5)),'prompt':_0x397ae3(0x180)},{'id':_0x397ae3(0x1b7),'label':_0x184c50(_0x549355,_0x397ae3(0x18c)),'prompt':_0x397ae3(0x155)},{'id':_0x397ae3(0x1c0),'label':_0x184c50(_0x549355,_0x397ae3(0x1bd)),'prompt':_0x397ae3(0x1b6)}]},{'groupId':_0x397ae3(0x18e),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x184)),'commands':[{'id':_0x397ae3(0x179),'label':_0x184c50(_0x549355,_0x397ae3(0x172)),'prompt':_0x397ae3(0x16e)},{'id':_0x397ae3(0x164),'label':_0x184c50(_0x549355,_0x397ae3(0x183)),'prompt':_0x397ae3(0x16d)}]},{'groupId':_0x397ae3(0x1ac),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x170)),'commands':[{'id':_0x397ae3(0x158),'label':_0x184c50(_0x549355,_0x397ae3(0x1ab)),'prompt':_0x397ae3(0x1be)},{'id':_0x397ae3(0x17b),'label':_0x184c50(_0x549355,_0x397ae3(0x153)),'prompt':_0x397ae3(0x192)},{'id':_0x397ae3(0x1b4),'label':_0x184c50(_0x549355,_0x397ae3(0x1a6)),'prompt':_0x397ae3(0x166)},{'id':_0x397ae3(0x150),'label':_0x184c50(_0x549355,_0x397ae3(0x1b5)),'prompt':_0x397ae3(0x182)},{'id':_0x397ae3(0x19d),'label':_0x184c50(_0x549355,_0x397ae3(0x18b)),'prompt':_0x397ae3(0x1b2)}]},{'groupId':_0x397ae3(0x194),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x195)),'commands':[{'id':_0x397ae3(0x15d),'label':_0x184c50(_0x549355,_0x397ae3(0x1bf)),'prompt':_0x397ae3(0x171)},{'id':_0x397ae3(0x16f),'label':_0x184c50(_0x549355,_0x397ae3(0x175)),'prompt':_0x397ae3(0x190)},{'id':_0x397ae3(0x18d),'label':_0x184c50(_0x549355,_0x397ae3(0x157)),'prompt':_0x397ae3(0x1a4)},{'id':_0x397ae3(0x163),'label':_0x184c50(_0x549355,_0x397ae3(0x193)),'prompt':_0x397ae3(0x168)}]},{'groupId':_0x397ae3(0x1b0),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x1bc)),'commands':[{'id':_0x397ae3(0x154),'label':_0x184c50(_0x549355,_0x397ae3(0x1b3)),'prompt':_0x397ae3(0x1bb)},{'id':_0x397ae3(0x185),'label':_0x184c50(_0x549355,_0x397ae3(0x17e)),'prompt':_0x397ae3(0x174)},{'id':_0x397ae3(0x17a),'label':_0x184c50(_0x549355,_0x397ae3(0x1a9)),'prompt':_0x397ae3(0x1a8)},{'id':_0x397ae3(0x1ad),'label':_0x184c50(_0x549355,_0x397ae3(0x159)),'prompt':_0x397ae3(0x178)},{'id':_0x397ae3(0x17f),'label':_0x184c50(_0x549355,_0x397ae3(0x196)),'prompt':_0x397ae3(0x1a0)},{'id':_0x397ae3(0x199),'label':_0x184c50(_0x549355,_0x397ae3(0x152)),'prompt':_0x397ae3(0x156)},{'id':_0x397ae3(0x19e),'label':_0x184c50(_0x549355,_0x397ae3(0x19b)),'prompt':_0x397ae3(0x1ae)},{'id':_0x397ae3(0x1a1),'label':_0x184c50(_0x549355,_0x397ae3(0x169)),'prompt':_0x397ae3(0x17d)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41583a=_0x3e20;function _0x3e20(_0x2d8cd1,_0x4d6f2a){const _0x403f1d=_0x403f();return _0x3e20=function(_0x3e2005,_0x16a1ce){_0x3e2005=_0x3e2005-0x1d0;let _0x4e9ca9=_0x403f1d[_0x3e2005];return _0x4e9ca9;},_0x3e20(_0x2d8cd1,_0x4d6f2a);}(function(_0x1920e3,_0x44dd8e){const _0x3aa5c9=_0x3e20,_0x58cf53=_0x1920e3();while(!![]){try{const _0x38b8fe=-parseInt(_0x3aa5c9(0x1ed))/0x1+parseInt(_0x3aa5c9(0x1dc))/0x2*(-parseInt(_0x3aa5c9(0x1e7))/0x3)+parseInt(_0x3aa5c9(0x1d7))/0x4*(parseInt(_0x3aa5c9(0x20a))/0x5)+-parseInt(_0x3aa5c9(0x1d5))/0x6*(parseInt(_0x3aa5c9(0x202))/0x7)+parseInt(_0x3aa5c9(0x232))/0x8+-parseInt(_0x3aa5c9(0x21d))/0x9*(parseInt(_0x3aa5c9(0x21e))/0xa)+parseInt(_0x3aa5c9(0x1f6))/0xb;if(_0x38b8fe===_0x44dd8e)break;else _0x58cf53['push'](_0x58cf53['shift']());}catch(_0x2ca1a6){_0x58cf53['push'](_0x58cf53['shift']());}}}(_0x403f,0x8873d));function _0x403f(){const _0x52185e=['getRange','28AtMAlT','insertContent','markerToElement','markerToHighlight','_createEmptyTableRows','1045866nkxgfh','markers','span','ai-ui','ai.useTheme','deleteContent','afterInit','insertContentBelow','DataTransfer','getLastPosition','getRowIndexes','3gKIvLv','off','lowest','_getTableRowCountFromContent','ck-ai-assistant-ui_theme','table','991786rbBQYO','canEditAt','change','for','join','start','resultRange','length','conversion','18601847CSHhBM','updateMarker','_pasteHTMLUsingClipboard','contentInsertion','pop','AIAssistantEditing','TableUtils','getSelectedBlocks','findAncestor','getRows','has','isAtEnd','21TMESbI','setSelection','model','document','schema','addMarker','setData','getColumnIndexes','592645rcsbyq','selection','editing','filter','createSelection','plugins','data','_prepareTableInsertBelowPosition','getSelectedTableCells','_getDefaultInsertBelowPosition','getRanges','get','pluginName','first','config','ck-fake-ai-selection_collapsed','init','isCollapsed','paste','9PdSJsU','1931890PaNbwW','last','editor','insertRows','createPositionAfter','from','removeMarker','fire','markerRange','text/html','hideFakeVisualSelection','createRange','forEach','ck-fake-ai-selection','isPremiumPlugin','createPositionAt','once','element','createUIElement','end','5191192kyPRkA','getChild','getChildren','fromCharCode','_resetContentOfSelectedTableCells','getFirstRange','map','editingDowncast','push','isContent','_getAISelection','isOfficialPlugin','addClass','showFakeVisualSelection','href','getLastMatchingPosition','getMarkersGroup','parse','1805724VxzJfm'];_0x403f=function(){return _0x52185e;};return _0x403f();}import{uid as _0x27d3dd}from'ckeditor5/src/utils.js';import{Plugin as _0x47b08b}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x74112c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x27d2b3,ViewDataTransfer as _0x9d02f7}from'ckeditor5/src/engine.js';const l=globalThis[_0x41583a(0x1e4)],w=_0x41583a(0x1df);export class AIAssistantEditing extends _0x47b08b{static get[_0x41583a(0x216)](){const _0x21f1c2=_0x41583a;return _0x21f1c2(0x1fb);}static get[_0x41583a(0x23d)](){return!0x0;}static get[_0x41583a(0x22c)](){return!0x0;}[_0x41583a(0x21a)](){const _0x3207cc=_0x41583a,{editor:_0x2dd1a5}=this,_0xc67a81=[_0x3207cc(0x22b)];_0x2dd1a5[_0x3207cc(0x218)][_0x3207cc(0x215)](_0x3207cc(0x1e0))&&_0xc67a81[_0x3207cc(0x23a)](_0x3207cc(0x1eb)),_0x2dd1a5[_0x3207cc(0x1f5)][_0x3207cc(0x1f0)](_0x3207cc(0x239))[_0x3207cc(0x1da)]({'model':w,'view':{'classes':_0xc67a81,'priority':0xc}}),_0x2dd1a5[_0x3207cc(0x1f5)][_0x3207cc(0x1f0)](_0x3207cc(0x239))[_0x3207cc(0x1d9)]({'model':w,'view':(_0x17c4e2,{writer:_0x1bb3a5})=>{const _0x59dc24=_0x3207cc;if(!_0x17c4e2[_0x59dc24(0x226)][_0x59dc24(0x21b)])return null;const _0x5d824b=_0x1bb3a5[_0x59dc24(0x230)](_0x59dc24(0x1de));return _0x1bb3a5[_0x59dc24(0x23e)]([_0x59dc24(0x22b),_0x59dc24(0x219)],_0x5d824b),_0x5d824b;}});}[_0x41583a(0x1e2)](){!async function(_0x7fb5a9){const _0x6f4906=_0x5e5b05([0x4f,0x76,0x52,0x58,0x77,0x4e,0x64,0x79,0x67,0x36,0x37,0x35,0x30,0x49,0x70,0x5a,0x4b,0x6d,0x65,0x32,0x54,0x63,0x50,0x45,0x66,0x6e,0x6b,0x74,0x6f,0x78,0x38,0x72,0x4d,0x43,0x53,0x68,0x48,0x51,0x44,0x61,0x6c,0x57,0x71,0x7a,0x73,0x33,0x56,0x39,0x59,0x4c,0x62,0x69,0x41,0x4a,0x75,0x55,0x6a,0x42,0x46,0x31,0x47,0x34]),_0x5e1be4=0x384fd530,_0x5bd36d=0x3848a518^_0x5e1be4,_0x611887=window[_0x5e5b05([0x44,0x61,0x74,0x65])][_0x5e5b05([0x6e,0x6f,0x77])](),_0x211638=_0x7fb5a9[_0x5e5b05([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x192fa6=new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57b44e=>{_0x211638[_0x5e5b05([0x6f,0x6e,0x63,0x65])](_0x5e5b05([0x72,0x65,0x61,0x64,0x79]),_0x57b44e);}),_0x433f8f={[_0x5e5b05([0x6b,0x74,0x79])]:_0x5e5b05([0x45,0x43]),[_0x5e5b05([0x75,0x73,0x65])]:_0x5e5b05([0x73,0x69,0x67]),[_0x5e5b05([0x63,0x72,0x76])]:_0x5e5b05([0x50,0x2d,0x32,0x35,0x36]),[_0x5e5b05([0x78])]:_0x5e5b05([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]),[_0x5e5b05([0x79])]:_0x5e5b05([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]),[_0x5e5b05([0x61,0x6c,0x67])]:_0x5e5b05([0x45,0x53,0x32,0x35,0x36])},_0x44ec4d=_0x211638[_0x5e5b05([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e5b05([0x67,0x65,0x74])](_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x143eca(){let _0x103191,_0x4483ed=null,_0x38f334=null;try{if(_0x44ec4d==_0x5e5b05([0x47,0x50,0x4c]))return _0x5e5b05([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x103191=_0x8fbdd2(),!_0x103191)return _0x5e5b05([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x103191[_0x5e5b05([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38f334=_0x3a3fd3(_0x103191[_0x5e5b05([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x103191[_0x5e5b05([0x6a,0x74,0x69])])),await _0x5a248f()?_0x1df49d()?_0x367bd7()?_0x5e5b05([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31466b()?(_0x103191[_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e5b05([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4483ed=_0x2d0687(_0x5e5b05([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x103191[_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e5b05([0x74,0x72,0x69,0x61,0x6c])&&(_0x4483ed=_0x2d0687(_0x5e5b05([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c589d()):_0x5e5b05([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e5b05([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e5b05([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e5b05([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x367bd7(){const _0x237c10=[_0x5e5b05([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e5b05([0x74,0x72,0x69,0x61,0x6c])][_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103191[_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x611887/0x3e8:0xe10*_0x5bd36d;return _0x103191[_0x5e5b05([0x65,0x78,0x70])]<_0x237c10;}function _0x1df49d(){const _0x4f379d=_0x103191[_0x5e5b05([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f379d&&(!!_0x4f379d[_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e5b05([0x2a]))||!!_0x4f379d[_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e5b05([0x41,0x49])));}function _0x31466b(){const _0x424af1=_0x3e20,_0xd7cf15=_0x103191[_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd7cf15||0x0==_0xd7cf15[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9a80b2}=new URL(window[_0x5e5b05([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x424af1(0x1d1)]);if(_0xd7cf15[_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a80b2))return!0x0;const _0x159a72=_0x9a80b2[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])](_0x5e5b05([0x2e]));return _0xd7cf15[_0x5e5b05([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x318002=>_0x318002[_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e5b05([0x2a])))[_0x5e5b05([0x6d,0x61,0x70])](_0x54b4be=>_0x54b4be[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])](_0x5e5b05([0x2e])))[_0x5e5b05([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dad8=>_0x2dad8[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x159a72[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e5b05([0x6d,0x61,0x70])](_0x1d2f66=>Array(_0x159a72[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d2f66[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e5b05([0x66,0x69,0x6c,0x6c])](_0x1d2f66[0x0]===_0x5e5b05([0x2a])?_0x5e5b05([0x2a]):'')[_0x5e5b05([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d2f66))[_0x5e5b05([0x73,0x6f,0x6d,0x65])](_0x35b411=>_0x159a72[_0x5e5b05([0x65,0x76,0x65,0x72,0x79])]((_0x186780,_0x5a817d)=>_0x35b411[_0x5a817d]===_0x186780||_0x35b411[_0x5a817d]===_0x5e5b05([0x2a])));}function _0x2c589d(){return _0x4483ed&&_0x38f334?new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bb2a1,_0xdc177)=>{_0x4483ed[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x5bb2a1,_0xdc177),_0x38f334[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x643ab1=>{_0x643ab1!=_0x5e5b05([0x56,0x61,0x6c,0x69,0x64])&&_0x5bb2a1(_0x643ab1);},_0xdc177);}):_0x4483ed||_0x38f334||_0x5e5b05([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a3fd3(_0x32fd10,_0x1207cd){return new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1e2e=>{if(_0x5967d7())return _0x2a1e2e(_0x5e5b05([0x56,0x61,0x6c,0x69,0x64]));_0x245052(),_0x211638[_0x5e5b05([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e5b05([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5dff7f=!0x1;const _0x308667=_0x27d3dd();function _0x4cad6c(_0x466e27){return!!_0x466e27&&(typeof _0x466e27===_0x5e5b05([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x466e27===_0x5e5b05([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x466e27[_0x5e5b05([0x74,0x68,0x65,0x6e])]===_0x5e5b05([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x466e27[_0x5e5b05([0x63,0x61,0x74,0x63,0x68])]===_0x5e5b05([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33bce9(_0x2c72be){_0x4f3acf(_0x2c72be)[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x5e36aa=>{if(!_0x5e36aa||_0x5e36aa[_0x5e5b05([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e5b05([0x6f,0x6b]))return _0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2aab8f(_0x315d6c(_0x308667+_0x1207cd))!=_0x5e36aa[_0x5e5b05([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e5b05([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x2dd7f3=>(_0xe7c3ad(),_0x2dd7f3),()=>{const _0x6cd145=_0x4d97d5();return null==_0x6cd145?(_0xe7c3ad(),_0x5e5b05([0x56,0x61,0x6c,0x69,0x64])):_0x5e5b05(_0x611887-_0x6cd145>(0x1c435130^_0x5e1be4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x2a1e2e)[_0x5e5b05([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a1e2e(_0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4db552=0x38793bb0^_0x5e1be4;function _0xe7c3ad(){const _0x5d42d8=_0x5e5b05([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aab8f(_0x315d6c(_0x32fd10)),_0x52efd9=_0x2c34cd(_0x2aab8f(window[_0x5e5b05([0x4d,0x61,0x74,0x68])][_0x5e5b05([0x63,0x65,0x69,0x6c])](_0x611887/_0x4db552)));window[_0x5e5b05([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e5b05([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d42d8,_0x52efd9);}function _0x4d97d5(){const _0x2de38e=_0x5e5b05([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aab8f(_0x315d6c(_0x32fd10)),_0x166ac6=window[_0x5e5b05([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e5b05([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2de38e);return _0x166ac6?window[_0x5e5b05([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c34cd(_0x166ac6),0x10)*_0x4db552:null;}function _0x4f3acf(_0x59f8cd){return new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x70a342,_0x5be31f)=>{_0x59f8cd[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x70a342,_0x5be31f),window[_0x5e5b05([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5be31f,0x384e01f0^_0x5e1be4);});}}_0x211638[_0x5e5b05([0x6f,0x6e])](_0x5e5b05([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x438584,_0x144e2d)=>{if(_0x144e2d[0x0]!=_0x32fd10)return _0x2a1e2e(_0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x144e2d[0x1]={..._0x144e2d[0x1],[_0x5e5b05([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x308667};},{[_0x5e5b05([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e5b05([0x68,0x69,0x67,0x68])}),_0x211638[_0x5e5b05([0x6f,0x6e])](_0x5e5b05([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19b268=>{_0x4cad6c(_0x19b268[_0x5e5b05([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5dff7f=!0x0,_0x33bce9(_0x19b268[_0x5e5b05([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e5b05([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e5b05([0x6c,0x6f,0x77])}),_0x192fa6[_0x5e5b05([0x74,0x68,0x65,0x6e])](()=>{_0x5dff7f||_0x2a1e2e(_0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5967d7(){return _0x211638[_0x5e5b05([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e5b05([0x76,0x69,0x65,0x77])][_0x5e5b05([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e5b05([0x61,0x75,0x74,0x6f]);}function _0x245052(){_0x211638[_0x5e5b05([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e5b05([0x76,0x69,0x65,0x77])][_0x5e5b05([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e5b05([0x61,0x75,0x74,0x6f]);}}function _0x2d0687(_0x53f36b){const _0x384647=[new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39e3a1=>setTimeout(_0x39e3a1,0x3846ebfc^_0x5e1be4)),_0x192fa6[_0x5e5b05([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b1d00=>{let _0x1d0056=0x0;_0x211638[_0x5e5b05([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e5b05([0x6f,0x6e])](_0x5e5b05([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x505ef6,_0x1906e0)=>{_0x1906e0[0x0][_0x5e5b05([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d0056++,_0x1d0056==(0x384fd4c8^_0x5e1be4)&&(_0x5b1d00(),_0x505ef6[_0x5e5b05([0x6f,0x66,0x66])]());});}))];return window[_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e5b05([0x72,0x61,0x63,0x65])](_0x384647)[_0x5e5b05([0x74,0x68,0x65,0x6e])](()=>_0x53f36b);}async function _0x4ff9fb(){await _0x192fa6,_0x211638[_0x5e5b05([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e5b05([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x106a27,_0x211638[_0x5e5b05([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e5b05([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x106a27,_0x211638[_0x5e5b05([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e5b05([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x50e19c(_0x2a9863){const _0x57dbec=_0x21ce7a();_0x211638[_0x57dbec]=_0x5e5b05([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a9863,_0x2a9863!=_0x5e5b05([0x56,0x61,0x6c,0x69,0x64])&&_0x4ff9fb();}function _0x21ce7a(){const _0x345a95=window[_0x5e5b05([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e5b05([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e5b05([0x6e,0x6f,0x77])]())[_0x5e5b05([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e5b05([0x2e]),'');let _0x426d6c=_0x5e5b05([0x4f]);for(let _0x530ed3=0x0;_0x530ed3<_0x345a95[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x530ed3+=0x2){let _0x4fbea8=window[_0x5e5b05([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x345a95[_0x5e5b05([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x530ed3,_0x530ed3+0x2));_0x4fbea8>=_0x6f4906[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fbea8-=_0x6f4906[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x426d6c+=_0x6f4906[_0x4fbea8];}return _0x426d6c;}function _0x8fbdd2(){const _0x2bfcab=_0x44ec4d[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])](_0x5e5b05([0x2e]));if(0x3!=_0x2bfcab[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x49c78f(_0x2bfcab[0x1]);function _0x49c78f(_0x3fd45e){const _0x4752dc=_0x385b37(_0x3fd45e);return _0x4752dc&&_0x1d7d2c()?_0x4752dc:null;function _0x1d7d2c(){const _0x580f06=_0x4752dc[_0x5e5b05([0x6a,0x74,0x69])],_0x31f026=window[_0x5e5b05([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x580f06[_0x5e5b05([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x580f06[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b22b9={..._0x4752dc,[_0x5e5b05([0x6a,0x74,0x69])]:_0x580f06[_0x5e5b05([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x580f06[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b22b9[_0x5e5b05([0x76,0x63])],_0x315d6c(_0x1b22b9)==_0x31f026;}}}async function _0x5a248f(){let _0x1d812f=!0x0;try{const _0x589173=_0x44ec4d[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])](_0x5e5b05([0x2e])),[_0x53906f,_0x216c8d,_0x2244f2]=_0x589173;return _0x49de5b(_0x53906f),await _0x5c7168(_0x53906f,_0x216c8d,_0x2244f2),_0x1d812f;}catch{return!0x1;}function _0x49de5b(_0x1e8b82){const _0x1de377=_0x385b37(_0x1e8b82);_0x1de377&&_0x1de377[_0x5e5b05([0x61,0x6c,0x67])]==_0x5e5b05([0x45,0x53,0x32,0x35,0x36])||(_0x1d812f=!0x1);}async function _0x5c7168(_0x35d47e,_0x489e1d,_0x402ea7){const _0x3b17e1=window[_0x5e5b05([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e5b05([0x66,0x72,0x6f,0x6d])](_0x39d022(_0x402ea7),_0x1a63b4=>_0x1a63b4[_0x5e5b05([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x119453=new window[(_0x5e5b05([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e5b05([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x35d47e+_0x5e5b05([0x2e])+_0x489e1d),_0x215ec7=window[_0x5e5b05([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e5b05([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x215ec7)return;const _0x4d4553=await _0x215ec7[_0x5e5b05([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e5b05([0x6a,0x77,0x6b]),_0x433f8f,{[_0x5e5b05([0x6e,0x61,0x6d,0x65])]:_0x5e5b05([0x45,0x43,0x44,0x53,0x41]),[_0x5e5b05([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e5b05([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e5b05([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x215ec7[_0x5e5b05([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e5b05([0x6e,0x61,0x6d,0x65])]:_0x5e5b05([0x45,0x43,0x44,0x53,0x41]),[_0x5e5b05([0x68,0x61,0x73,0x68])]:{[_0x5e5b05([0x6e,0x61,0x6d,0x65])]:_0x5e5b05([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d4553,_0x3b17e1,_0x119453)||(_0x1d812f=!0x1);}}function _0x385b37(_0x473791){return _0x473791[_0x5e5b05([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e5b05([0x65,0x79]))?JSON[_0x5e5b05([0x70,0x61,0x72,0x73,0x65])](_0x39d022(_0x473791)):null;}function _0x39d022(_0x237356){return window[_0x5e5b05([0x61,0x74,0x6f,0x62])](_0x237356[_0x5e5b05([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e5b05([0x2b]))[_0x5e5b05([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e5b05([0x2f])));}function _0x315d6c(_0x34821e){let _0x476700=0x1505;function _0x4b9782(_0xac023d){for(let _0x12df1a=0x0;_0x12df1a<_0xac023d[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12df1a++){const _0xb0f98e=_0xac023d[_0x5e5b05([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12df1a);_0x476700=(_0x476700<<0x5)+_0x476700+_0xb0f98e,_0x476700&=_0x476700;}}function _0xbf4bd8(_0x4038ca){Array[_0x5e5b05([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4038ca)?_0x4038ca[_0x5e5b05([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbf4bd8):_0x4038ca&&typeof _0x4038ca==_0x5e5b05([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e5b05([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4038ca)[_0x5e5b05([0x73,0x6f,0x72,0x74])]()[_0x5e5b05([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2890c5,_0xe17646])=>{_0x4b9782(_0x2890c5),_0xbf4bd8(_0xe17646);}):_0x4b9782(window[_0x5e5b05([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4038ca));}return _0xbf4bd8(_0x34821e),_0x476700>>>0x0;}function _0x2aab8f(_0x936dc4){return _0x936dc4[_0x5e5b05([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e5b05([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e5b05([0x30]));}function _0x2c34cd(_0x18cf1e){return _0x18cf1e[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e5b05([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e5b05([0x6a,0x6f,0x69,0x6e])]('');}function _0x106a27(){}function _0x5e5b05(_0x534f12){const _0x41665b=_0x3e20;return _0x534f12[_0x41665b(0x238)](_0x15890e=>String[_0x41665b(0x235)](_0x15890e))[_0x41665b(0x1f1)]('');}_0x50e19c(await _0x143eca());}(this);}[_0x41583a(0x1d0)](){const _0x223406=_0x41583a,_0xf07a6c=this[_0x223406(0x220)][_0x223406(0x204)];_0xf07a6c[_0x223406(0x1ef)](_0x2b9f8a=>{const _0x409293=_0x223406,_0x2d718a=_0xf07a6c[_0x409293(0x205)][_0x409293(0x20b)][_0x409293(0x214)]();let _0x48484e=0x0;for(const _0x18c168 of _0x2d718a){const _0x301635=w+':'+_0x48484e;if(_0xf07a6c[_0x409293(0x1dd)][_0x409293(0x200)](_0x301635))_0x2b9f8a[_0x409293(0x1f7)](_0x301635,{'range':_0x18c168});else{if(_0x18c168[_0x409293(0x1f2)][_0x409293(0x201)]){const _0x49986d=_0x18c168[_0x409293(0x1f2)][_0x409293(0x1d2)](({item:_0x2a5493})=>!_0xf07a6c[_0x409293(0x206)][_0x409293(0x23b)](_0x2a5493),{'boundaries':_0x18c168});_0x2b9f8a[_0x409293(0x207)](_0x301635,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2b9f8a[_0x409293(0x229)](_0x49986d,_0x18c168[_0x409293(0x231)])});}else _0x2b9f8a[_0x409293(0x207)](_0x301635,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x18c168});}_0x48484e++;}});}[_0x41583a(0x228)](){const _0x4aa09f=_0x41583a,_0x13421f=this[_0x4aa09f(0x220)][_0x4aa09f(0x204)],_0x128998=Array[_0x4aa09f(0x223)](this[_0x4aa09f(0x220)][_0x4aa09f(0x204)][_0x4aa09f(0x1dd)][_0x4aa09f(0x1d3)](w));_0x128998[_0x4aa09f(0x1f4)]&&_0x13421f[_0x4aa09f(0x1ef)](_0x2d935f=>{const _0x130d8b=_0x4aa09f;_0x128998[_0x130d8b(0x22a)](_0x1a82c9=>{const _0x4ce3c5=_0x130d8b;_0x2d935f[_0x4ce3c5(0x224)](_0x1a82c9);});});}[_0x41583a(0x1d8)](_0x4fe604,_0x2d80e1){const _0x51d6e7=_0x41583a,_0x3c71fb=this[_0x51d6e7(0x23c)](),_0x804787=_0x2d80e1||_0x3c71fb[_0x51d6e7(0x237)]();this[_0x51d6e7(0x220)][_0x51d6e7(0x204)][_0x51d6e7(0x1ee)](_0x804787)&&this[_0x51d6e7(0x220)][_0x51d6e7(0x204)][_0x51d6e7(0x1ef)](_0x28b5b0=>{const _0x131e18=_0x51d6e7;this[_0x131e18(0x228)](),_0x2d80e1||this[_0x131e18(0x236)](_0x28b5b0,_0x3c71fb),this[_0x131e18(0x1f8)]({'insertAt':_0x804787,'writer':_0x28b5b0,'html':_0x4fe604});});}[_0x41583a(0x1e3)](_0xb80619){const _0x5ef83f=_0x41583a,{model:_0x39366b}=this[_0x5ef83f(0x220)],_0x1440da=this[_0x5ef83f(0x23c)]();_0x39366b[_0x5ef83f(0x1ef)](()=>{const _0x2e91b3=_0x5ef83f,_0x3f94c4=this[_0x2e91b3(0x211)](_0xb80619,_0x1440da)||this[_0x2e91b3(0x213)](_0x1440da);this[_0x2e91b3(0x1d8)](_0xb80619,_0x3f94c4);});}[_0x41583a(0x23c)](){const _0x591a11=_0x41583a,_0x5318c6=this[_0x591a11(0x220)][_0x591a11(0x204)],_0x57a6c6=Array[_0x591a11(0x223)](_0x5318c6[_0x591a11(0x1dd)][_0x591a11(0x1d3)](w))[_0x591a11(0x238)](_0x46c656=>_0x46c656[_0x591a11(0x1d6)]());return _0x5318c6[_0x591a11(0x20e)](_0x57a6c6);}[_0x41583a(0x1f8)]({writer:_0x13c523,html:_0x3cc075,insertAt:_0x10e8e5}){const _0x3a10e6=_0x41583a,{view:_0x321be0}=this[_0x3a10e6(0x220)][_0x3a10e6(0x20c)],_0x9c9f84=this[_0x3a10e6(0x220)][_0x3a10e6(0x20f)][_0x3a10e6(0x215)](_0x74112c),_0x15544d=new l();_0x15544d[_0x3a10e6(0x208)](_0x3a10e6(0x227),_0x3cc075);const _0x3e0c59=new ClipboardEvent(_0x3a10e6(0x21c),{'clipboardData':_0x15544d}),_0x28f042=new _0x27d2b3(_0x321be0,_0x3e0c59,{'dataTransfer':new _0x9d02f7(_0x15544d)});_0x13c523[_0x3a10e6(0x203)](_0x10e8e5);const _0x5d83e8=(_0x44b0f1,_0x384e41)=>{const _0x4b7527=_0x3a10e6;_0x384e41[_0x4b7527(0x1f3)]&&_0x13c523[_0x4b7527(0x203)](_0x384e41[_0x4b7527(0x1f3)]);};_0x9c9f84[_0x3a10e6(0x22e)](_0x3a10e6(0x1f9),_0x5d83e8,{'priority':_0x3a10e6(0x1e9)}),_0x321be0[_0x3a10e6(0x205)][_0x3a10e6(0x225)](_0x3a10e6(0x21c),_0x28f042),_0x9c9f84[_0x3a10e6(0x1e8)](_0x3a10e6(0x1f9),_0x5d83e8);}[_0x41583a(0x213)](_0x599496){const _0x1826fb=_0x41583a,{model:_0x59fa81}=this[_0x1826fb(0x220)],_0x13945f=Array[_0x1826fb(0x223)](_0x599496[_0x1826fb(0x1fd)]());return _0x13945f[_0x1826fb(0x1f4)]?_0x59fa81[_0x1826fb(0x222)](_0x13945f[_0x1826fb(0x1fa)]()):_0x599496[_0x1826fb(0x1e5)]();}[_0x41583a(0x211)](_0xc67486,_0x2b7249){const _0x4c3f4f=_0x41583a,{model:_0x54d3cf,plugins:_0x23e302}=this[_0x4c3f4f(0x220)];if(_0x23e302[_0x4c3f4f(0x200)](_0x4c3f4f(0x1fc))){const _0x59f6a2=_0x23e302[_0x4c3f4f(0x215)](_0x4c3f4f(0x1fc))[_0x4c3f4f(0x212)](_0x2b7249);if(_0x59f6a2[_0x4c3f4f(0x1f4)]){const _0x30abc5=this[_0x4c3f4f(0x1ea)](_0xc67486),_0x5d3928=this[_0x4c3f4f(0x1db)](_0x59f6a2,_0x30abc5);return _0x54d3cf[_0x4c3f4f(0x22d)](_0x5d3928,0x0);}}return null;}[_0x41583a(0x1ea)](_0x56f3f0){const _0x52991f=_0x41583a,_0x1fa6db=this[_0x52991f(0x220)][_0x52991f(0x20f)][_0x52991f(0x215)](_0x52991f(0x1fc)),_0xff3547=this[_0x52991f(0x220)][_0x52991f(0x210)][_0x52991f(0x1d4)](_0x56f3f0),_0x3a5381=Array[_0x52991f(0x223)](_0xff3547[_0x52991f(0x234)]())[_0x52991f(0x20d)](_0x534ae2=>_0x534ae2['is'](_0x52991f(0x22f),_0x52991f(0x1ec)));let _0x216d6b=0x0;return _0x3a5381[_0x52991f(0x22a)](_0x5be80e=>{const _0x326821=_0x52991f;_0x216d6b+=_0x1fa6db[_0x326821(0x1ff)](_0x5be80e);}),_0x216d6b;}[_0x41583a(0x1db)](_0x4099f7,_0x3d95d1){const _0x280781=_0x41583a,_0x2ba438=this[_0x280781(0x220)][_0x280781(0x20f)][_0x280781(0x215)](_0x280781(0x1fc)),_0x51c771=_0x2ba438[_0x280781(0x1e6)](_0x4099f7),_0x4d5160=_0x2ba438[_0x280781(0x209)](_0x4099f7),_0x3a7999=_0x51c771[_0x280781(0x21f)]+0x1,_0x14fe91=_0x4d5160[_0x280781(0x217)],_0x4a5d44=_0x4099f7[0x0][_0x280781(0x1fe)](_0x280781(0x1ec));for(let _0x33ed47=0x0;_0x33ed47<_0x3d95d1;_0x33ed47++)_0x2ba438[_0x280781(0x221)](_0x4a5d44,{'at':_0x3a7999});return _0x4a5d44[_0x280781(0x233)](_0x3a7999)[_0x280781(0x233)](_0x14fe91);}[_0x41583a(0x236)](_0x264a2b,_0x3d0555){const _0x24bad7=_0x41583a,{plugins:_0x549daf}=this[_0x24bad7(0x220)],{model:_0x257402}=_0x264a2b;if(!_0x549daf[_0x24bad7(0x200)](_0x24bad7(0x1fc)))return;_0x549daf[_0x24bad7(0x215)](_0x24bad7(0x1fc))[_0x24bad7(0x212)](_0x3d0555)[_0x24bad7(0x1f4)]&&_0x257402[_0x24bad7(0x1e1)](_0x3d0555);}}
23
+ const _0x473a02=_0x2192;function _0x2192(_0x558ee7,_0x440796){const _0x3ae712=_0x3ae7();return _0x2192=function(_0x2192f3,_0x55d7de){_0x2192f3=_0x2192f3-0x18c;let _0x4115ce=_0x3ae712[_0x2192f3];return _0x4115ce;},_0x2192(_0x558ee7,_0x440796);}function _0x3ae7(){const _0x16a788=['_createEmptyTableRows','isAtEnd','start','_getTableRowCountFromContent','isOfficialPlugin','4WNkUTx','init','removeMarker','map','contentInsertion','createUIElement','model','get','getFirstRange','markerToHighlight','AIAssistantEditing','data','getRanges','editingDowncast','length','pluginName','first','hideFakeVisualSelection','getSelectedTableCells','updateMarker','findAncestor','ai.useTheme','3134087PUNkpa','afterInit','href','isPremiumPlugin','end','isContent','getRows','document','isCollapsed','createPositionAfter','80opDhCC','table','ai-ui','4610997ALlslK','fire','getChild','markers','398YlCFmk','span','_getDefaultInsertBelowPosition','insertContentBelow','getColumnIndexes','208086rnyfZG','addMarker','74074HwFPPT','config','insertRows','1776nbNRcU','showFakeVisualSelection','setSelection','off','from','element','21aWNBfq','createSelection','pop','getChildren','getRange','schema','for','643020mdEeRw','setData','1427lMwyMM','plugins','editor','ck-fake-ai-selection','1021432HAkQyc','conversion','parse','editing','markerRange','canEditAt','getMarkersGroup','forEach','ck-fake-ai-selection_collapsed','10VoqmzA','createPositionAt','createRange','filter','resultRange','ck-ai-assistant-ui_theme','getLastPosition','lowest','getSelectedBlocks','markerToElement','DataTransfer','has','selection','last','TableUtils','deleteContent','push','change','_pasteHTMLUsingClipboard','addClass','insertContent','paste','fromCharCode','_getAISelection','getRowIndexes','_prepareTableInsertBelowPosition','getLastMatchingPosition','text/html','_resetContentOfSelectedTableCells','once','join'];_0x3ae7=function(){return _0x16a788;};return _0x3ae7();}(function(_0x4b9512,_0x418d03){const _0x52af7a=_0x2192,_0x2b2a9e=_0x4b9512();while(!![]){try{const _0x2eeeae=-parseInt(_0x52af7a(0x1ce))/0x1*(-parseInt(_0x52af7a(0x1b5))/0x2)+-parseInt(_0x52af7a(0x1cc))/0x3*(parseInt(_0x52af7a(0x18e))/0x4)+-parseInt(_0x52af7a(0x1ae))/0x5*(-parseInt(_0x52af7a(0x1ba))/0x6)+parseInt(_0x52af7a(0x1c5))/0x7*(-parseInt(_0x52af7a(0x1d2))/0x8)+-parseInt(_0x52af7a(0x1b1))/0x9+-parseInt(_0x52af7a(0x1db))/0xa*(parseInt(_0x52af7a(0x1a4))/0xb)+parseInt(_0x52af7a(0x1bf))/0xc*(parseInt(_0x52af7a(0x1bc))/0xd);if(_0x2eeeae===_0x418d03)break;else _0x2b2a9e['push'](_0x2b2a9e['shift']());}catch(_0x3df8cc){_0x2b2a9e['push'](_0x2b2a9e['shift']());}}}(_0x3ae7,0x4633a));import{uid as _0xcd5a12}from'ckeditor5/src/utils.js';import{Plugin as _0x1d67b3}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x221fb2}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x57034c,ViewDataTransfer as _0x1f0c55}from'ckeditor5/src/engine.js';const l=globalThis[_0x473a02(0x1e5)],w=_0x473a02(0x1b0);export class AIAssistantEditing extends _0x1d67b3{static get[_0x473a02(0x19d)](){const _0xc6f517=_0x473a02;return _0xc6f517(0x198);}static get[_0x473a02(0x18d)](){return!0x0;}static get[_0x473a02(0x1a7)](){return!0x0;}[_0x473a02(0x18f)](){const _0x43f4b3=_0x473a02,{editor:_0x3e5ef8}=this,_0x418bac=[_0x43f4b3(0x1d1)];_0x3e5ef8[_0x43f4b3(0x1bd)][_0x43f4b3(0x195)](_0x43f4b3(0x1a3))&&_0x418bac[_0x43f4b3(0x1eb)](_0x43f4b3(0x1e0)),_0x3e5ef8[_0x43f4b3(0x1d3)][_0x43f4b3(0x1cb)](_0x43f4b3(0x19b))[_0x43f4b3(0x197)]({'model':w,'view':{'classes':_0x418bac,'priority':0xc}}),_0x3e5ef8[_0x43f4b3(0x1d3)][_0x43f4b3(0x1cb)](_0x43f4b3(0x19b))[_0x43f4b3(0x1e4)]({'model':w,'view':(_0x55cf40,{writer:_0x2d8f2c})=>{const _0x3abb7e=_0x43f4b3;if(!_0x55cf40[_0x3abb7e(0x1d6)][_0x3abb7e(0x1ac)])return null;const _0x330627=_0x2d8f2c[_0x3abb7e(0x193)](_0x3abb7e(0x1b6));return _0x2d8f2c[_0x3abb7e(0x1ee)]([_0x3abb7e(0x1d1),_0x3abb7e(0x1da)],_0x330627),_0x330627;}});}[_0x473a02(0x1a5)](){!async function(_0x1ab878){const _0x23842f=_0x3df2ff([0x76,0x6f,0x79,0x62,0x37,0x55,0x65,0x36,0x30,0x52,0x45,0x57,0x63,0x41,0x6a,0x50,0x58,0x74,0x48,0x72,0x5a,0x64,0x42,0x77,0x54,0x4d,0x56,0x69,0x49,0x59,0x6d,0x31,0x4c,0x6c,0x51,0x75,0x53,0x61,0x4e,0x4f,0x6e,0x71,0x4b,0x4a,0x78,0x6b,0x70,0x73,0x44,0x46,0x33,0x43,0x7a,0x47,0x39,0x66,0x32,0x68,0x34,0x35,0x38,0x67]),_0x2543f3=0x3b1227d3,_0x1f92b2=0x3b15573b^_0x2543f3,_0x4fab3a=window[_0x3df2ff([0x44,0x61,0x74,0x65])][_0x3df2ff([0x6e,0x6f,0x77])](),_0xe30673=_0x1ab878[_0x3df2ff([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f7ba9=new window[(_0x3df2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3db8db=>{_0xe30673[_0x3df2ff([0x6f,0x6e,0x63,0x65])](_0x3df2ff([0x72,0x65,0x61,0x64,0x79]),_0x3db8db);}),_0x2e7009={[_0x3df2ff([0x6b,0x74,0x79])]:_0x3df2ff([0x45,0x43]),[_0x3df2ff([0x75,0x73,0x65])]:_0x3df2ff([0x73,0x69,0x67]),[_0x3df2ff([0x63,0x72,0x76])]:_0x3df2ff([0x50,0x2d,0x32,0x35,0x36]),[_0x3df2ff([0x78])]:_0x3df2ff([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]),[_0x3df2ff([0x79])]:_0x3df2ff([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]),[_0x3df2ff([0x61,0x6c,0x67])]:_0x3df2ff([0x45,0x53,0x32,0x35,0x36])},_0xc99052=_0xe30673[_0x3df2ff([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3df2ff([0x67,0x65,0x74])](_0x3df2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x120a9d(){let _0x7042c7,_0x235bc7=null,_0x54b487=null;try{if(_0xc99052==_0x3df2ff([0x47,0x50,0x4c]))return _0x3df2ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7042c7=_0x2434c7(),!_0x7042c7)return _0x3df2ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7042c7[_0x3df2ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54b487=_0x50c95c(_0x7042c7[_0x3df2ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7042c7[_0x3df2ff([0x6a,0x74,0x69])])),await _0xa74c28()?_0x2d7a85()?_0x121f54()?_0x3df2ff([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31478a()?(_0x7042c7[_0x3df2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3df2ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x235bc7=_0x371723(_0x3df2ff([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7042c7[_0x3df2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3df2ff([0x74,0x72,0x69,0x61,0x6c])&&(_0x235bc7=_0x371723(_0x3df2ff([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13be7c()):_0x3df2ff([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3df2ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3df2ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3df2ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x121f54(){const _0x2631d7=[_0x3df2ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3df2ff([0x74,0x72,0x69,0x61,0x6c])][_0x3df2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7042c7[_0x3df2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4fab3a/0x3e8:0xe10*_0x1f92b2;return _0x7042c7[_0x3df2ff([0x65,0x78,0x70])]<_0x2631d7;}function _0x2d7a85(){const _0x57ce9d=_0x7042c7[_0x3df2ff([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57ce9d&&(!!_0x57ce9d[_0x3df2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3df2ff([0x2a]))||!!_0x57ce9d[_0x3df2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3df2ff([0x41,0x49])));}function _0x31478a(){const _0x453f9b=_0x2192,_0x24d2e4=_0x7042c7[_0x3df2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24d2e4||0x0==_0x24d2e4[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2232cc}=new URL(window[_0x3df2ff([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x453f9b(0x1a6)]);if(_0x24d2e4[_0x3df2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2232cc))return!0x0;const _0x341ec0=_0x2232cc[_0x3df2ff([0x73,0x70,0x6c,0x69,0x74])](_0x3df2ff([0x2e]));return _0x24d2e4[_0x3df2ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2952cd=>_0x2952cd[_0x3df2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3df2ff([0x2a])))[_0x3df2ff([0x6d,0x61,0x70])](_0x44c421=>_0x44c421[_0x3df2ff([0x73,0x70,0x6c,0x69,0x74])](_0x3df2ff([0x2e])))[_0x3df2ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56664b=>_0x56664b[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x341ec0[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3df2ff([0x6d,0x61,0x70])](_0x1adba9=>Array(_0x341ec0[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1adba9[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3df2ff([0x66,0x69,0x6c,0x6c])](_0x1adba9[0x0]===_0x3df2ff([0x2a])?_0x3df2ff([0x2a]):'')[_0x3df2ff([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1adba9))[_0x3df2ff([0x73,0x6f,0x6d,0x65])](_0x1f443f=>_0x341ec0[_0x3df2ff([0x65,0x76,0x65,0x72,0x79])]((_0x430bc1,_0x504d82)=>_0x1f443f[_0x504d82]===_0x430bc1||_0x1f443f[_0x504d82]===_0x3df2ff([0x2a])));}function _0x13be7c(){return _0x235bc7&&_0x54b487?new window[(_0x3df2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2dbb5e,_0x39f345)=>{_0x235bc7[_0x3df2ff([0x74,0x68,0x65,0x6e])](_0x2dbb5e,_0x39f345),_0x54b487[_0x3df2ff([0x74,0x68,0x65,0x6e])](_0x287411=>{_0x287411!=_0x3df2ff([0x56,0x61,0x6c,0x69,0x64])&&_0x2dbb5e(_0x287411);},_0x39f345);}):_0x235bc7||_0x54b487||_0x3df2ff([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50c95c(_0x4062df,_0x10c46b){return new window[(_0x3df2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x249cf9=>{if(_0x7e0f96())return _0x249cf9(_0x3df2ff([0x56,0x61,0x6c,0x69,0x64]));_0x3926aa(),_0xe30673[_0x3df2ff([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3df2ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b502b=!0x1;const _0x3ac958=_0xcd5a12();function _0x4dce45(_0x5b678e){return!!_0x5b678e&&(typeof _0x5b678e===_0x3df2ff([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b678e===_0x3df2ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b678e[_0x3df2ff([0x74,0x68,0x65,0x6e])]===_0x3df2ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b678e[_0x3df2ff([0x63,0x61,0x74,0x63,0x68])]===_0x3df2ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc159ab(_0x57b9ad){_0xa4acf7(_0x57b9ad)[_0x3df2ff([0x74,0x68,0x65,0x6e])](_0x142c10=>{if(!_0x142c10||_0x142c10[_0x3df2ff([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3df2ff([0x6f,0x6b]))return _0x3df2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x37989b(_0x32de5b(_0x3ac958+_0x10c46b))!=_0x142c10[_0x3df2ff([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3df2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3df2ff([0x56,0x61,0x6c,0x69,0x64]);})[_0x3df2ff([0x74,0x68,0x65,0x6e])](_0x43afd0=>(_0x46d334(),_0x43afd0),()=>{const _0x4075ff=_0x4407cb();return null==_0x4075ff?(_0x46d334(),_0x3df2ff([0x56,0x61,0x6c,0x69,0x64])):_0x3df2ff(_0x4fab3a-_0x4075ff>(0x1f1ea3d3^_0x2543f3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3df2ff([0x74,0x68,0x65,0x6e])](_0x249cf9)[_0x3df2ff([0x63,0x61,0x74,0x63,0x68])](()=>{_0x249cf9(_0x3df2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e898f=0x3b24c953^_0x2543f3;function _0x46d334(){const _0x2a78d3=_0x3df2ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x37989b(_0x32de5b(_0x4062df)),_0x5a2e7e=_0x5e6cd5(_0x37989b(window[_0x3df2ff([0x4d,0x61,0x74,0x68])][_0x3df2ff([0x63,0x65,0x69,0x6c])](_0x4fab3a/_0x3e898f)));window[_0x3df2ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3df2ff([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a78d3,_0x5a2e7e);}function _0x4407cb(){const _0x5238d5=_0x3df2ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x37989b(_0x32de5b(_0x4062df)),_0x4657e9=window[_0x3df2ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3df2ff([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5238d5);return _0x4657e9?window[_0x3df2ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e6cd5(_0x4657e9),0x10)*_0x3e898f:null;}function _0xa4acf7(_0x31928a){return new window[(_0x3df2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a2fbe,_0x5b6353)=>{_0x31928a[_0x3df2ff([0x74,0x68,0x65,0x6e])](_0x4a2fbe,_0x5b6353),window[_0x3df2ff([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b6353,0x3b13f313^_0x2543f3);});}}_0xe30673[_0x3df2ff([0x6f,0x6e])](_0x3df2ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xced9a8,_0x295451)=>{if(_0x295451[0x0]!=_0x4062df)return _0x249cf9(_0x3df2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x295451[0x1]={..._0x295451[0x1],[_0x3df2ff([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ac958};},{[_0x3df2ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3df2ff([0x68,0x69,0x67,0x68])}),_0xe30673[_0x3df2ff([0x6f,0x6e])](_0x3df2ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1161d5=>{_0x4dce45(_0x1161d5[_0x3df2ff([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b502b=!0x0,_0xc159ab(_0x1161d5[_0x3df2ff([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3df2ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3df2ff([0x6c,0x6f,0x77])}),_0x4f7ba9[_0x3df2ff([0x74,0x68,0x65,0x6e])](()=>{_0x4b502b||_0x249cf9(_0x3df2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7e0f96(){return _0xe30673[_0x3df2ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3df2ff([0x76,0x69,0x65,0x77])][_0x3df2ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3df2ff([0x61,0x75,0x74,0x6f]);}function _0x3926aa(){_0xe30673[_0x3df2ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3df2ff([0x76,0x69,0x65,0x77])][_0x3df2ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3df2ff([0x61,0x75,0x74,0x6f]);}}function _0x371723(_0x1511c6){const _0x4d2098=[new window[(_0x3df2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f59a4=>setTimeout(_0x1f59a4,0x3b1b191f^_0x2543f3)),_0x4f7ba9[_0x3df2ff([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3df2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f6513=>{let _0x19d7ef=0x0;_0xe30673[_0x3df2ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x3df2ff([0x6f,0x6e])](_0x3df2ff([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e38cd,_0x129602)=>{_0x129602[0x0][_0x3df2ff([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19d7ef++,_0x19d7ef==(0x3b12262b^_0x2543f3)&&(_0x2f6513(),_0x4e38cd[_0x3df2ff([0x6f,0x66,0x66])]());});}))];return window[_0x3df2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3df2ff([0x72,0x61,0x63,0x65])](_0x4d2098)[_0x3df2ff([0x74,0x68,0x65,0x6e])](()=>_0x1511c6);}async function _0x811b8e(){await _0x4f7ba9,_0xe30673[_0x3df2ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x3df2ff([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3102e2,_0xe30673[_0x3df2ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x3df2ff([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3102e2,_0xe30673[_0x3df2ff([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3df2ff([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x420e47(_0x560df8){const _0x5957ee=_0xa14120();_0xe30673[_0x5957ee]=_0x3df2ff([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x560df8,_0x560df8!=_0x3df2ff([0x56,0x61,0x6c,0x69,0x64])&&_0x811b8e();}function _0xa14120(){const _0x2fb94a=window[_0x3df2ff([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3df2ff([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3df2ff([0x6e,0x6f,0x77])]())[_0x3df2ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3df2ff([0x2e]),'');let _0x8f23e9=_0x3df2ff([0x76]);for(let _0x493327=0x0;_0x493327<_0x2fb94a[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x493327+=0x2){let _0x8a73aa=window[_0x3df2ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fb94a[_0x3df2ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x493327,_0x493327+0x2));_0x8a73aa>=_0x23842f[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8a73aa-=_0x23842f[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8f23e9+=_0x23842f[_0x8a73aa];}return _0x8f23e9;}function _0x2434c7(){const _0xd95993=_0xc99052[_0x3df2ff([0x73,0x70,0x6c,0x69,0x74])](_0x3df2ff([0x2e]));if(0x3!=_0xd95993[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1eaa26(_0xd95993[0x1]);function _0x1eaa26(_0x3d1895){const _0x581329=_0xa0f206(_0x3d1895);return _0x581329&&_0x15d4d4()?_0x581329:null;function _0x15d4d4(){const _0x4d70b2=_0x581329[_0x3df2ff([0x6a,0x74,0x69])],_0x4f1d44=window[_0x3df2ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d70b2[_0x3df2ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d70b2[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bc386={..._0x581329,[_0x3df2ff([0x6a,0x74,0x69])]:_0x4d70b2[_0x3df2ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d70b2[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bc386[_0x3df2ff([0x76,0x63])],_0x32de5b(_0x4bc386)==_0x4f1d44;}}}async function _0xa74c28(){let _0x2b0d52=!0x0;try{const _0x2a5b91=_0xc99052[_0x3df2ff([0x73,0x70,0x6c,0x69,0x74])](_0x3df2ff([0x2e])),[_0x37b981,_0x59b6d5,_0x3fc9f2]=_0x2a5b91;return _0x4936e6(_0x37b981),await _0x16c324(_0x37b981,_0x59b6d5,_0x3fc9f2),_0x2b0d52;}catch{return!0x1;}function _0x4936e6(_0x585d9d){const _0x54a1e0=_0xa0f206(_0x585d9d);_0x54a1e0&&_0x54a1e0[_0x3df2ff([0x61,0x6c,0x67])]==_0x3df2ff([0x45,0x53,0x32,0x35,0x36])||(_0x2b0d52=!0x1);}async function _0x16c324(_0x2d690e,_0x5592c9,_0x53abd3){const _0x1a5092=window[_0x3df2ff([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3df2ff([0x66,0x72,0x6f,0x6d])](_0x104921(_0x53abd3),_0x3cf97a=>_0x3cf97a[_0x3df2ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19c837=new window[(_0x3df2ff([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3df2ff([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d690e+_0x3df2ff([0x2e])+_0x5592c9),_0x10a8b8=window[_0x3df2ff([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3df2ff([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10a8b8)return;const _0x2584d1=await _0x10a8b8[_0x3df2ff([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3df2ff([0x6a,0x77,0x6b]),_0x2e7009,{[_0x3df2ff([0x6e,0x61,0x6d,0x65])]:_0x3df2ff([0x45,0x43,0x44,0x53,0x41]),[_0x3df2ff([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3df2ff([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3df2ff([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10a8b8[_0x3df2ff([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3df2ff([0x6e,0x61,0x6d,0x65])]:_0x3df2ff([0x45,0x43,0x44,0x53,0x41]),[_0x3df2ff([0x68,0x61,0x73,0x68])]:{[_0x3df2ff([0x6e,0x61,0x6d,0x65])]:_0x3df2ff([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2584d1,_0x1a5092,_0x19c837)||(_0x2b0d52=!0x1);}}function _0xa0f206(_0x34219e){return _0x34219e[_0x3df2ff([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3df2ff([0x65,0x79]))?JSON[_0x3df2ff([0x70,0x61,0x72,0x73,0x65])](_0x104921(_0x34219e)):null;}function _0x104921(_0x195606){return window[_0x3df2ff([0x61,0x74,0x6f,0x62])](_0x195606[_0x3df2ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3df2ff([0x2b]))[_0x3df2ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3df2ff([0x2f])));}function _0x32de5b(_0x381918){let _0x13268d=0x1505;function _0xf49904(_0x3253f7){for(let _0x15c238=0x0;_0x15c238<_0x3253f7[_0x3df2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15c238++){const _0x44cd60=_0x3253f7[_0x3df2ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15c238);_0x13268d=(_0x13268d<<0x5)+_0x13268d+_0x44cd60,_0x13268d&=_0x13268d;}}function _0x3a4df8(_0x208f07){Array[_0x3df2ff([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x208f07)?_0x208f07[_0x3df2ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a4df8):_0x208f07&&typeof _0x208f07==_0x3df2ff([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3df2ff([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x208f07)[_0x3df2ff([0x73,0x6f,0x72,0x74])]()[_0x3df2ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x787f42,_0x54a997])=>{_0xf49904(_0x787f42),_0x3a4df8(_0x54a997);}):_0xf49904(window[_0x3df2ff([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x208f07));}return _0x3a4df8(_0x381918),_0x13268d>>>0x0;}function _0x37989b(_0x5e48fa){return _0x5e48fa[_0x3df2ff([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3df2ff([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3df2ff([0x30]));}function _0x5e6cd5(_0x1915ff){return _0x1915ff[_0x3df2ff([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3df2ff([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3df2ff([0x6a,0x6f,0x69,0x6e])]('');}function _0x3102e2(){}function _0x3df2ff(_0x17b252){const _0x21c9b3=_0x2192;return _0x17b252[_0x21c9b3(0x191)](_0x27b7b7=>String[_0x21c9b3(0x1f1)](_0x27b7b7))[_0x21c9b3(0x1f9)]('');}_0x420e47(await _0x120a9d());}(this);}[_0x473a02(0x1c0)](){const _0x3d3f31=_0x473a02,_0x594ffb=this[_0x3d3f31(0x1d0)][_0x3d3f31(0x194)];_0x594ffb[_0x3d3f31(0x1ec)](_0x12a5e5=>{const _0x3c466f=_0x3d3f31,_0x310abf=_0x594ffb[_0x3c466f(0x1ab)][_0x3c466f(0x1e7)][_0x3c466f(0x19a)]();let _0x17c670=0x0;for(const _0x21d8da of _0x310abf){const _0x5902c6=w+':'+_0x17c670;if(_0x594ffb[_0x3c466f(0x1b4)][_0x3c466f(0x1e6)](_0x5902c6))_0x12a5e5[_0x3c466f(0x1a1)](_0x5902c6,{'range':_0x21d8da});else{if(_0x21d8da[_0x3c466f(0x1fc)][_0x3c466f(0x1fb)]){const _0x5d3697=_0x21d8da[_0x3c466f(0x1fc)][_0x3c466f(0x1f5)](({item:_0x3cd61a})=>!_0x594ffb[_0x3c466f(0x1ca)][_0x3c466f(0x1a9)](_0x3cd61a),{'boundaries':_0x21d8da});_0x12a5e5[_0x3c466f(0x1bb)](_0x5902c6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x12a5e5[_0x3c466f(0x1dd)](_0x5d3697,_0x21d8da[_0x3c466f(0x1a8)])});}else _0x12a5e5[_0x3c466f(0x1bb)](_0x5902c6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x21d8da});}_0x17c670++;}});}[_0x473a02(0x19f)](){const _0x1cd249=_0x473a02,_0x1b268f=this[_0x1cd249(0x1d0)][_0x1cd249(0x194)],_0x3e0901=Array[_0x1cd249(0x1c3)](this[_0x1cd249(0x1d0)][_0x1cd249(0x194)][_0x1cd249(0x1b4)][_0x1cd249(0x1d8)](w));_0x3e0901[_0x1cd249(0x19c)]&&_0x1b268f[_0x1cd249(0x1ec)](_0x24123d=>{const _0x5e9a4f=_0x1cd249;_0x3e0901[_0x5e9a4f(0x1d9)](_0x140fb1=>{const _0x417b6f=_0x5e9a4f;_0x24123d[_0x417b6f(0x190)](_0x140fb1);});});}[_0x473a02(0x1ef)](_0x3e2096,_0x4fb268){const _0x381fcd=_0x473a02,_0x30eea9=this[_0x381fcd(0x1f2)](),_0x5754b9=_0x4fb268||_0x30eea9[_0x381fcd(0x196)]();this[_0x381fcd(0x1d0)][_0x381fcd(0x194)][_0x381fcd(0x1d7)](_0x5754b9)&&this[_0x381fcd(0x1d0)][_0x381fcd(0x194)][_0x381fcd(0x1ec)](_0x559301=>{const _0x39f365=_0x381fcd;this[_0x39f365(0x19f)](),_0x4fb268||this[_0x39f365(0x1f7)](_0x559301,_0x30eea9),this[_0x39f365(0x1ed)]({'insertAt':_0x5754b9,'writer':_0x559301,'html':_0x3e2096});});}[_0x473a02(0x1b8)](_0x3ef74f){const _0x31b02c=_0x473a02,{model:_0x43d92f}=this[_0x31b02c(0x1d0)],_0x8a563a=this[_0x31b02c(0x1f2)]();_0x43d92f[_0x31b02c(0x1ec)](()=>{const _0x573916=_0x31b02c,_0x42e5a3=this[_0x573916(0x1f4)](_0x3ef74f,_0x8a563a)||this[_0x573916(0x1b7)](_0x8a563a);this[_0x573916(0x1ef)](_0x3ef74f,_0x42e5a3);});}[_0x473a02(0x1f2)](){const _0x2a0a29=_0x473a02,_0x1a1bf8=this[_0x2a0a29(0x1d0)][_0x2a0a29(0x194)],_0x6f388=Array[_0x2a0a29(0x1c3)](_0x1a1bf8[_0x2a0a29(0x1b4)][_0x2a0a29(0x1d8)](w))[_0x2a0a29(0x191)](_0x206476=>_0x206476[_0x2a0a29(0x1c9)]());return _0x1a1bf8[_0x2a0a29(0x1c6)](_0x6f388);}[_0x473a02(0x1ed)]({writer:_0x472722,html:_0x1b9255,insertAt:_0x3f0439}){const _0xc8fa70=_0x473a02,{view:_0x439a08}=this[_0xc8fa70(0x1d0)][_0xc8fa70(0x1d5)],_0x10a448=this[_0xc8fa70(0x1d0)][_0xc8fa70(0x1cf)][_0xc8fa70(0x195)](_0x221fb2),_0x5f227b=new l();_0x5f227b[_0xc8fa70(0x1cd)](_0xc8fa70(0x1f6),_0x1b9255);const _0x1db03f=new ClipboardEvent(_0xc8fa70(0x1f0),{'clipboardData':_0x5f227b}),_0x5cff4d=new _0x57034c(_0x439a08,_0x1db03f,{'dataTransfer':new _0x1f0c55(_0x5f227b)});_0x472722[_0xc8fa70(0x1c1)](_0x3f0439);const _0x36e842=(_0x1d6b4f,_0x42a20f)=>{const _0x56e54a=_0xc8fa70;_0x42a20f[_0x56e54a(0x1df)]&&_0x472722[_0x56e54a(0x1c1)](_0x42a20f[_0x56e54a(0x1df)]);};_0x10a448[_0xc8fa70(0x1f8)](_0xc8fa70(0x192),_0x36e842,{'priority':_0xc8fa70(0x1e2)}),_0x439a08[_0xc8fa70(0x1ab)][_0xc8fa70(0x1b2)](_0xc8fa70(0x1f0),_0x5cff4d),_0x10a448[_0xc8fa70(0x1c2)](_0xc8fa70(0x192),_0x36e842);}[_0x473a02(0x1b7)](_0x2095ea){const _0x38b3c8=_0x473a02,{model:_0x15d676}=this[_0x38b3c8(0x1d0)],_0x1038f5=Array[_0x38b3c8(0x1c3)](_0x2095ea[_0x38b3c8(0x1e3)]());return _0x1038f5[_0x38b3c8(0x19c)]?_0x15d676[_0x38b3c8(0x1ad)](_0x1038f5[_0x38b3c8(0x1c7)]()):_0x2095ea[_0x38b3c8(0x1e1)]();}[_0x473a02(0x1f4)](_0x5ab034,_0x4f0817){const _0x3e2ffe=_0x473a02,{model:_0x1d8b17,plugins:_0x63c981}=this[_0x3e2ffe(0x1d0)];if(_0x63c981[_0x3e2ffe(0x1e6)](_0x3e2ffe(0x1e9))){const _0x14d59c=_0x63c981[_0x3e2ffe(0x195)](_0x3e2ffe(0x1e9))[_0x3e2ffe(0x1a0)](_0x4f0817);if(_0x14d59c[_0x3e2ffe(0x19c)]){const _0xe7cc2d=this[_0x3e2ffe(0x18c)](_0x5ab034),_0x360029=this[_0x3e2ffe(0x1fa)](_0x14d59c,_0xe7cc2d);return _0x1d8b17[_0x3e2ffe(0x1dc)](_0x360029,0x0);}}return null;}[_0x473a02(0x18c)](_0x526931){const _0x16d272=_0x473a02,_0x374c41=this[_0x16d272(0x1d0)][_0x16d272(0x1cf)][_0x16d272(0x195)](_0x16d272(0x1e9)),_0x1ca911=this[_0x16d272(0x1d0)][_0x16d272(0x199)][_0x16d272(0x1d4)](_0x526931),_0x1d5062=Array[_0x16d272(0x1c3)](_0x1ca911[_0x16d272(0x1c8)]())[_0x16d272(0x1de)](_0x208bc9=>_0x208bc9['is'](_0x16d272(0x1c4),_0x16d272(0x1af)));let _0xd5ba3e=0x0;return _0x1d5062[_0x16d272(0x1d9)](_0x35c6ff=>{const _0x4f3665=_0x16d272;_0xd5ba3e+=_0x374c41[_0x4f3665(0x1aa)](_0x35c6ff);}),_0xd5ba3e;}[_0x473a02(0x1fa)](_0x3aec5a,_0x487653){const _0x17af28=_0x473a02,_0x31bf3a=this[_0x17af28(0x1d0)][_0x17af28(0x1cf)][_0x17af28(0x195)](_0x17af28(0x1e9)),_0x2fcb8d=_0x31bf3a[_0x17af28(0x1f3)](_0x3aec5a),_0x3d8d8f=_0x31bf3a[_0x17af28(0x1b9)](_0x3aec5a),_0x519ba9=_0x2fcb8d[_0x17af28(0x1e8)]+0x1,_0x3f4789=_0x3d8d8f[_0x17af28(0x19e)],_0x1e6833=_0x3aec5a[0x0][_0x17af28(0x1a2)](_0x17af28(0x1af));for(let _0x2ca715=0x0;_0x2ca715<_0x487653;_0x2ca715++)_0x31bf3a[_0x17af28(0x1be)](_0x1e6833,{'at':_0x519ba9});return _0x1e6833[_0x17af28(0x1b3)](_0x519ba9)[_0x17af28(0x1b3)](_0x3f4789);}[_0x473a02(0x1f7)](_0x1414d7,_0x10766a){const _0x470c8c=_0x473a02,{plugins:_0x2941a7}=this[_0x470c8c(0x1d0)],{model:_0xcf6c10}=_0x1414d7;if(!_0x2941a7[_0x470c8c(0x1e6)](_0x470c8c(0x1e9)))return;_0x2941a7[_0x470c8c(0x195)](_0x470c8c(0x1e9))[_0x470c8c(0x1a0)](_0x10766a)[_0x470c8c(0x19c)]&&_0xcf6c10[_0x470c8c(0x1ea)](_0x10766a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59bb7e=_0xd6a0;(function(_0x36a48d,_0x4bb242){const _0xa778eb=_0xd6a0,_0xdf095d=_0x36a48d();while(!![]){try{const _0x49a049=-parseInt(_0xa778eb(0x280))/0x1+parseInt(_0xa778eb(0x216))/0x2*(-parseInt(_0xa778eb(0x257))/0x3)+parseInt(_0xa778eb(0x1fd))/0x4+-parseInt(_0xa778eb(0x250))/0x5*(parseInt(_0xa778eb(0x23e))/0x6)+-parseInt(_0xa778eb(0x1e3))/0x7+-parseInt(_0xa778eb(0x25f))/0x8+parseInt(_0xa778eb(0x252))/0x9;if(_0x49a049===_0x4bb242)break;else _0xdf095d['push'](_0xdf095d['shift']());}catch(_0x22c140){_0xdf095d['push'](_0xdf095d['shift']());}}}(_0x1916,0x3d885));import{Plugin as _0x4f6102}from'ckeditor5/src/core.js';import{IconMagicWand as _0x13b9db,IconRobotPencil as _0x5196e1}from'ckeditor5/src/icons.js';import{first as _0x3b1d31,CKEditorError as _0x338621}from'ckeditor5/src/utils.js';import{createDropdown as _0x5f3d58,addMenuToDropdown as _0x477376,ButtonView as _0x37bac4,MenuBarMenuListItemButtonView as _0x3ecfa8,Dialog as _0x283f7a,DialogViewPosition as _0x115db1,MenuBarMenuView as _0xf5e03,MenuBarMenuListView as _0x465bea,MenuBarMenuListItemView as _0x39cebf}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x32bbff,UNGROUPED_COMMANDS_GROUP_ID as _0x421b30}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x48e185}from'./aiassistantediting.js';import{AIAdapter as _0x5eb955}from'./adapters/aiadapter.js';import{getTranslation as _0x4abfa4}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x2b1108}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x3f6b9f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x506ce3}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2a79ef}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';function _0xd6a0(_0xfb9320,_0xf8db94){const _0x19163a=_0x1916();return _0xd6a0=function(_0xd6a055,_0xa888fd){_0xd6a055=_0xd6a055-0x1dd;let _0x5f05f9=_0x19163a[_0xd6a055];return _0x5f05f9;},_0xd6a0(_0xfb9320,_0xf8db94);}import'../theme/ai-form.css';const l=globalThis[_0x59bb7e(0x23d)];import{ClipboardMarkersUtils as _0x5d17b0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1c3f6a,ViewDataTransfer as _0x4c7e42}from'ckeditor5/src/engine.js';function _0x1916(){const _0x115555=['invalid','licenseKey','push','hideFakeVisualSelection','fire','AI\x20Commands','menuBar:aiCommands','AIAssistantUI','getLimitElement','init','rawHtml','command:','aiAssistant','text','826959LIasZw','_getResolvedCommandsDefinitions','_forceMarkersCopy','ck-ai-commands-dropdown\x20','_initAriaAiStatusChangeAnnouncements','AI\x20is\x20writing','requires','focus','_aiAssistantController','body','getData','reset','destroy','_getMenuBarGroupButtons','execute','selection','get','define','menuPanelClass','replace','usageLimit','</p>','show','prompt','change:value','enabledCommandsIds','1437860JQiaDk','ai.aiAssistant.disabledElements','document','aiLicenseKeyInvalid','replaceContent','schema','polite','aiLicenseKeyValid','wasMoved','trialLimit','ai-commands-config-order-collision','change:isProcessing','textAdapter','groupLabel','delegate','_createAIAssistantUIButton','menuView','<p>','AI\x20Assistant','isEnabled','isFlat','listenTo','comment','ck-ai-assistant-button\x20','getRanges','52922hHQxJA','INSERT','update','getSelectedElement','featureNotAllowed','Error\x20during\x20AI\x20content\x20generation:\x20%0','queryView','ai.useTheme','source','menuitemcheckbox','hideUI','aiLicenseKeyTrialLimit','plugins','_aiAdapter','\x20ck-ai-assistant-ui_theme','fieldView','_initView','buttonView','showAIAssistant','promptView','isPremiumPlugin','set','buttons','copy','from','_dialog','insertContent','model','currentContext','expired','domainLimit','aiCommands','change:enabledCommandsIds','evaluationLimit','bind','requiresContent','order','map','hide','DataTransfer','2241678MPGSVz','trim','_licenseKeyCheckInterval','render','aiLicenseKeyEvaluationLimit','tableOfContents','editing','aiLicenseKeyNotAllowed','AIAssistant','EDITOR_TOP_SIDE','ai.aiAssistant.commands','panelView','items','ck-ai-assistant-ui','length','custom','_commandDefinitions','includes','5miipGm','aiLicenseKeyUsageLimit','9827937SpgXEM','insertContentBelow','Generated\x20content:\x20%0','showUI','label','15FpCPzb','isOfficialPlugin','componentFactory','change:isError','setSelection','announce','_showLicenseError','groupId','3632296zCtrJQ','change','children','REPLACE','errorView','_uiCssClasses','_populateMenuBarMenu','splice','text/html','showFakeVisualSelection','add','commands','isCollapsed','once','_onExecute','getSelectedBlocks','aiLicenseKeyExpired','locale','values','updateView','contentArea','editor','ai.aiAssistant.contentAreaCssClass','aiLicenseKeyDomainLimit','config','updatePosition','pluginName','addMany','view','sort','_formView','media','forEach','121329tlwAkh','menuBar:aiAssistant','filter','isOn'];_0x1916=function(){return _0x115555;};return _0x1916();}export class AIAssistantUI extends _0x4f6102{[_0x59bb7e(0x285)];[_0x59bb7e(0x240)];[_0x59bb7e(0x22f)];[_0x59bb7e(0x27d)];[_0x59bb7e(0x223)];[_0x59bb7e(0x1eb)];[_0x59bb7e(0x264)]='';static get[_0x59bb7e(0x279)](){const _0x187511=_0x59bb7e;return _0x187511(0x28b);}static get[_0x59bb7e(0x258)](){return!0x0;}static get[_0x59bb7e(0x22a)](){return!0x0;}static get[_0x59bb7e(0x1e9)](){return[_0x5d17b0,_0x48e185,_0x5eb955,_0x283f7a];}constructor(_0x42ef78){const _0x41fe62=_0x59bb7e;super(_0x42ef78),_0x42ef78[_0x41fe62(0x277)][_0x41fe62(0x1f4)](_0x41fe62(0x1fe),[_0x41fe62(0x27e),_0x41fe62(0x1df),_0x41fe62(0x243)]),_0x42ef78[_0x41fe62(0x277)][_0x41fe62(0x1f4)](_0x41fe62(0x275),''),_0x42ef78[_0x41fe62(0x277)][_0x41fe62(0x1f4)](_0x41fe62(0x21d),!0x0),this[_0x41fe62(0x264)]=_0x41fe62(0x24b)+(_0x42ef78[_0x41fe62(0x277)][_0x41fe62(0x1f3)](_0x41fe62(0x21d))?_0x41fe62(0x224):'');}[_0x59bb7e(0x1de)](){const _0x12787e=_0x59bb7e,{editor:_0x38cd4a}=this;this[_0x12787e(0x223)]=_0x38cd4a[_0x12787e(0x222)][_0x12787e(0x1f3)](_0x5eb955),this[_0x12787e(0x22f)]=_0x38cd4a[_0x12787e(0x222)][_0x12787e(0x1f3)](_0x283f7a),this[_0x12787e(0x27d)]=null,this[_0x12787e(0x24e)]=this[_0x12787e(0x1e4)]();const _0x3b1b6d=new _0x2b1108(_0x38cd4a,Array[_0x12787e(0x22e)](this[_0x12787e(0x24e)][_0x12787e(0x271)]()));_0x38cd4a[_0x12787e(0x26a)][_0x12787e(0x269)](_0x12787e(0x228),_0x3b1b6d),_0x38cd4a['ui'][_0x12787e(0x259)][_0x12787e(0x269)](_0x12787e(0x235),_0x29e6ca=>{const _0x229acc=_0x12787e,_0x15f5bf=_0x5f3d58(_0x29e6ca);return _0x15f5bf[_0x229acc(0x22b)]({'class':_0x229acc(0x1e6)+this[_0x229acc(0x264)]}),_0x15f5bf[_0x229acc(0x227)][_0x229acc(0x22b)]({'label':_0x4abfa4(_0x29e6ca,_0x229acc(0x289)),'icon':_0x13b9db,'tooltip':!0x0}),_0x15f5bf['on'](_0x229acc(0x1f1),_0x1afd17=>this[_0x229acc(0x26d)](_0x1afd17[_0x229acc(0x21e)]['id'])),_0x477376(_0x15f5bf,_0x38cd4a['ui'][_0x229acc(0x27b)][_0x229acc(0x1ec)],function(_0x43c286){const _0x5cd132=_0x229acc,_0xc8c6a9=_0x32bbff(_0x43c286[_0x5cd132(0x277)][_0x5cd132(0x1f3)](_0x5cd132(0x248)),_0x43c286[_0x5cd132(0x270)]),_0x3edb32=U(_0x43c286,_0xc8c6a9)[_0x5cd132(0x282)](_0x55c54c=>_0x55c54c[_0x5cd132(0x26a)][_0x5cd132(0x24c)]);if(0x1===_0x3edb32[_0x5cd132(0x24c)])return U(_0x43c286,_0x3edb32[0x0][_0x5cd132(0x26a)])[_0x5cd132(0x23b)](_0x376da9=>({'id':_0x376da9['id'],'label':_0x376da9[_0x5cd132(0x256)]}));return _0x3edb32[_0x5cd132(0x23b)](_0x5d8d1f=>{const _0x967af2=_0x5cd132,{groupId:_0x2d9336,groupLabel:_0xa12c16,commands:_0x5ac773}=_0x5d8d1f,_0x2ced7d=U(_0x43c286,_0x5ac773)[_0x967af2(0x23b)](_0x4fb870=>({'id':_0x4fb870['id'],'label':_0x4fb870[_0x967af2(0x256)]}));return{'id':_0x2d9336,'menu':_0xa12c16||_0x2d9336,'children':_0x2ced7d};});}(_0x38cd4a),{'ariaLabel':_0x4abfa4(_0x29e6ca,_0x229acc(0x289))}),_0x15f5bf[_0x229acc(0x20d)][_0x229acc(0x1f5)]=_0x229acc(0x1e6)+this[_0x229acc(0x264)],_0x3b1b6d['on'](_0x229acc(0x236),_0x3597d7),_0x15f5bf[_0x229acc(0x20d)][_0x229acc(0x26c)](_0x229acc(0x241),_0x3597d7),_0x15f5bf;function _0x3597d7(){const _0x272943=_0x229acc;_0x15f5bf[_0x272943(0x210)]=_0x3b1b6d[_0x272943(0x1fc)][_0x272943(0x24c)]>0x0;for(const _0x11bb00 of _0x15f5bf[_0x272943(0x20d)][_0x272943(0x22c)])_0x11bb00[_0x272943(0x210)]=_0x3b1b6d[_0x272943(0x1fc)][_0x272943(0x24f)](_0x11bb00['id']);}}),_0x38cd4a['ui'][_0x12787e(0x259)][_0x12787e(0x269)](_0x12787e(0x28a),_0x94e0f8=>{const _0x14b645=_0x12787e,_0x377a2d=new _0xf5e03(_0x94e0f8);_0x377a2d[_0x14b645(0x227)][_0x14b645(0x22b)]({'label':_0x4abfa4(_0x94e0f8,_0x14b645(0x289)),'icon':_0x13b9db}),_0x377a2d[_0x14b645(0x238)](_0x14b645(0x210))['to'](_0x3b1b6d,_0x14b645(0x1fc),_0x1eced8=>_0x1eced8[_0x14b645(0x24c)]>0x0);const _0x8a13be=_0x32bbff(_0x38cd4a[_0x14b645(0x277)][_0x14b645(0x1f3)](_0x14b645(0x248)),_0x94e0f8);return this[_0x14b645(0x265)](_0x3b1b6d,_0x377a2d,_0x8a13be,_0x4b91d7=>this[_0x14b645(0x26d)](_0x4b91d7)),_0x377a2d;}),_0x38cd4a['ui'][_0x12787e(0x259)][_0x12787e(0x269)](_0x12787e(0x1e1),()=>{const _0x2186a6=_0x12787e,_0x4a11f1=this[_0x2186a6(0x20c)](_0x37bac4);return _0x4a11f1[_0x2186a6(0x22b)]({'tooltip':!0x0,'class':_0x2186a6(0x214)+this[_0x2186a6(0x264)]}),_0x4a11f1;}),_0x38cd4a['ui'][_0x12787e(0x259)][_0x12787e(0x269)](_0x12787e(0x281),()=>{const _0x17c607=_0x12787e,_0x1ad2ea=this[_0x17c607(0x20c)](_0x3ecfa8);return _0x1ad2ea[_0x17c607(0x22b)]({'role':_0x17c607(0x21f)}),_0x1ad2ea;}),this[_0x12787e(0x285)]=this[_0x12787e(0x274)][_0x12787e(0x277)][_0x12787e(0x1f3)](_0x12787e(0x285));const _0x5af9b2=this[_0x12787e(0x274)];this[_0x12787e(0x240)]=setInterval(()=>{const _0x4ac75f=_0x12787e;let _0x5b88c5;for(const _0xb0ba77 in _0x5af9b2){const _0x54dd7d=_0xb0ba77,_0x1a21a6=_0x5af9b2[_0x54dd7d];if(_0x4ac75f(0x204)==_0x1a21a6||_0x4ac75f(0x200)==_0x1a21a6||_0x4ac75f(0x26f)==_0x1a21a6||_0x4ac75f(0x276)==_0x1a21a6||_0x4ac75f(0x245)==_0x1a21a6||_0x4ac75f(0x242)==_0x1a21a6||_0x4ac75f(0x221)==_0x1a21a6||_0x4ac75f(0x251)==_0x1a21a6){delete _0x5af9b2[_0x54dd7d],_0x5b88c5=_0x1a21a6,clearInterval(this[_0x4ac75f(0x240)]),this[_0x4ac75f(0x240)]=void 0x0;break;}}_0x4ac75f(0x200)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x284)),_0x4ac75f(0x26f)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x233)),_0x4ac75f(0x276)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x234)),_0x4ac75f(0x245)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x21a),_0x4ac75f(0x246)),_0x4ac75f(0x242)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x237)),_0x4ac75f(0x221)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x206)),_0x4ac75f(0x251)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x1f7));},0x3e8);}[_0x59bb7e(0x1ef)](){const _0x3ace1f=_0x59bb7e;super[_0x3ace1f(0x1ef)](),this[_0x3ace1f(0x240)]&&clearInterval(this[_0x3ace1f(0x240)]);}[_0x59bb7e(0x255)](_0x384313='',_0x3cef45='',_0x287a8f=_0x59bb7e(0x24d)){const _0x1fb89c=_0x59bb7e,_0x5d38fe=this[_0x1fb89c(0x274)],_0x4fb489=_0x5d38fe[_0x1fb89c(0x244)][_0x1fb89c(0x27b)],_0x3e4a7d=_0x5d38fe[_0x1fb89c(0x222)][_0x1fb89c(0x1f3)](_0x48e185),_0x315362=_0x5d38fe[_0x1fb89c(0x222)][_0x1fb89c(0x1f3)](_0x5d17b0);_0x3e4a7d[_0x1fb89c(0x268)]();const _0x442e05=new l(),_0x21803f=new ClipboardEvent(_0x1fb89c(0x22d),{'clipboardData':_0x442e05}),_0x115cd6=new _0x4c7e42(_0x442e05),_0x378e42=new _0x1c3f6a(_0x4fb489,_0x21803f,{'dataTransfer':_0x115cd6});_0x315362[_0x1fb89c(0x1e5)](_0x1fb89c(0x213),()=>{const _0x33fdb9=_0x1fb89c;_0x4fb489[_0x33fdb9(0x1ff)][_0x33fdb9(0x288)](_0x33fdb9(0x22d),_0x378e42);}),this[_0x1fb89c(0x27d)]||(this[_0x1fb89c(0x226)](),this[_0x1fb89c(0x1eb)]=new _0x3f6b9f(_0x5d38fe,this[_0x1fb89c(0x223)][_0x1fb89c(0x209)],this[_0x1fb89c(0x27d)]));let _0x1b4986=_0x115cd6[_0x1fb89c(0x1ed)](_0x1fb89c(0x267));const _0x18d21a=_0x5d38fe[_0x1fb89c(0x231)][_0x1fb89c(0x1ff)][_0x1fb89c(0x1f2)],_0x566a66=Array[_0x1fb89c(0x22e)](_0x18d21a[_0x1fb89c(0x215)]());0x1===_0x566a66[_0x1fb89c(0x24c)]&&_0x566a66[0x0][_0x1fb89c(0x211)]&&!_0x18d21a[_0x1fb89c(0x219)]()&&''!==_0x1b4986[_0x1fb89c(0x1f6)](/&nbsp;/g,'')[_0x1fb89c(0x23f)]()&&(_0x1b4986=_0x1fb89c(0x20e)+_0x1b4986+_0x1fb89c(0x1f8)),this[_0x1fb89c(0x1eb)][_0x1fb89c(0x272)]({'actionId':_0x287a8f,'query':_0x384313,'htmlContent':_0x1b4986,'label':_0x3cef45,'mainActionLabel':_0x2a79ef[_0x5d38fe[_0x1fb89c(0x231)][_0x1fb89c(0x1ff)][_0x1fb89c(0x1f2)][_0x1fb89c(0x26b)]?_0x1fb89c(0x217):_0x1fb89c(0x262)]}),_0x1fb89c(0x1e1)!==this[_0x1fb89c(0x22f)]['id']?this[_0x1fb89c(0x22f)][_0x1fb89c(0x1f9)]({'id':_0x1fb89c(0x1e1),'icon':_0x5196e1,'title':_0x4abfa4(this[_0x1fb89c(0x274)][_0x1fb89c(0x270)],_0x1fb89c(0x20f)),'content':this[_0x1fb89c(0x27d)],'position':_0x115db1[_0x1fb89c(0x247)],'onShow':()=>{const _0x38160c=_0x1fb89c;this[_0x38160c(0x27d)][_0x38160c(0x1ea)]();},'onHide':()=>{const _0x417996=_0x1fb89c;this[_0x417996(0x1eb)][_0x417996(0x1ee)](),_0x3e4a7d[_0x417996(0x287)]();}}):this[_0x1fb89c(0x22f)][_0x1fb89c(0x27b)][_0x1fb89c(0x205)]||this[_0x1fb89c(0x22f)][_0x1fb89c(0x27b)][_0x1fb89c(0x278)]();}[_0x59bb7e(0x220)](){const _0x5b78c=_0x59bb7e;this[_0x5b78c(0x22f)][_0x5b78c(0x23c)]();}[_0x59bb7e(0x1e4)](){const _0x3a904b=_0x59bb7e,_0x260658=new Map(),_0x23196b=_0x32bbff(this[_0x3a904b(0x274)][_0x3a904b(0x277)][_0x3a904b(0x1f3)](_0x3a904b(0x248)),this[_0x3a904b(0x274)][_0x3a904b(0x270)]);for(const _0x147f77 of _0x23196b)for(const _0x147cdd of _0x147f77[_0x3a904b(0x26a)])_0x260658[_0x3a904b(0x22b)](_0x147cdd['id'],{..._0x147cdd,'groupId':_0x147f77[_0x3a904b(0x25e)],'groupLabel':_0x147f77[_0x3a904b(0x20a)]||_0x147f77[_0x3a904b(0x25e)]});return _0x260658;}[_0x59bb7e(0x20c)](_0x58fe37){const _0x4f769e=_0x59bb7e,_0x181cec=this[_0x4f769e(0x274)],_0x924033=_0x181cec[_0x4f769e(0x26a)][_0x4f769e(0x1f3)](_0x4f769e(0x228)),_0x352a42=new _0x58fe37(_0x181cec[_0x4f769e(0x270)]);return _0x352a42[_0x4f769e(0x22b)]({'label':_0x4abfa4(_0x181cec[_0x4f769e(0x270)],_0x4f769e(0x20f)),'icon':_0x5196e1,'isToggleable':!0x0}),_0x352a42[_0x4f769e(0x238)](_0x4f769e(0x210))['to'](_0x924033),_0x352a42[_0x4f769e(0x238)](_0x4f769e(0x283))['to'](this[_0x4f769e(0x22f)],'id',_0xe83d7f=>_0x4f769e(0x1e1)===_0xe83d7f),this[_0x4f769e(0x212)](_0x352a42,_0x4f769e(0x1f1),()=>{const _0x27fc00=_0x4f769e;_0x352a42[_0x27fc00(0x283)]?this[_0x27fc00(0x220)]():_0x924033[_0x27fc00(0x1f1)]();}),_0x352a42;}[_0x59bb7e(0x226)](){const _0x7978a2=_0x59bb7e,_0x91b90c=this[_0x7978a2(0x274)][_0x7978a2(0x222)][_0x7978a2(0x1f3)](_0x48e185);this[_0x7978a2(0x27d)]=new _0x506ce3(this[_0x7978a2(0x274)][_0x7978a2(0x270)],this[_0x7978a2(0x264)],this[_0x7978a2(0x274)][_0x7978a2(0x277)][_0x7978a2(0x1f3)](_0x7978a2(0x275))),this[_0x7978a2(0x27d)]['on'](_0x7978a2(0x1fb),()=>{const _0x4d1e69=_0x7978a2;this[_0x4d1e69(0x22f)][_0x4d1e69(0x27b)][_0x4d1e69(0x205)]||this[_0x4d1e69(0x22f)][_0x4d1e69(0x27b)][_0x4d1e69(0x278)]();}),this[_0x7978a2(0x27d)][_0x7978a2(0x229)][_0x7978a2(0x21c)][_0x7978a2(0x225)]['on'](_0x7978a2(0x218),()=>{const _0x30d12a=_0x7978a2;this[_0x30d12a(0x22f)][_0x30d12a(0x27b)][_0x30d12a(0x205)]||this[_0x30d12a(0x22f)][_0x30d12a(0x27b)][_0x30d12a(0x278)]();}),this[_0x7978a2(0x212)](this[_0x7978a2(0x27d)],_0x7978a2(0x201),()=>{const _0x4d0e06=_0x7978a2;_0x91b90c[_0x4d0e06(0x230)](this[_0x4d0e06(0x1eb)][_0x4d0e06(0x232)]),this[_0x4d0e06(0x220)]();}),this[_0x7978a2(0x212)](this[_0x7978a2(0x27d)],_0x7978a2(0x253),()=>{const _0x22b391=_0x7978a2;_0x91b90c[_0x22b391(0x253)](this[_0x22b391(0x1eb)][_0x22b391(0x232)]),this[_0x22b391(0x220)]();}),this[_0x7978a2(0x1e7)]();}[_0x59bb7e(0x1e7)](){const _0x44ce0c=_0x59bb7e,{locale:_0x7c192d,ui:{ariaLiveAnnouncer:_0x46b440}}=this[_0x44ce0c(0x274)];this[_0x44ce0c(0x27d)][_0x44ce0c(0x273)]['on'](_0x44ce0c(0x208),(_0x516e14,_0x405ad1,_0x233a97)=>{const _0x1c011c=_0x44ce0c,_0x243316=this[_0x1c011c(0x1eb)][_0x1c011c(0x232)];_0x233a97?_0x46b440[_0x1c011c(0x25c)](_0x4abfa4(_0x7c192d,_0x1c011c(0x1e8))):_0x243316&&_0x46b440[_0x1c011c(0x25c)](_0x4abfa4(_0x7c192d,_0x1c011c(0x254),_0x243316),{'politeness':_0x1c011c(0x203),'isUnsafeHTML':!0x0});}),this[_0x44ce0c(0x27d)]['on'](_0x44ce0c(0x25a),(_0x4dc011,_0x1d19d8,_0xf380f5)=>{const _0x4a84af=_0x44ce0c;if(_0xf380f5){const _0x24c3d9=this[_0x4a84af(0x27d)][_0x4a84af(0x263)][_0x4a84af(0x1e2)];_0x46b440[_0x4a84af(0x25c)](_0x4abfa4(_0x7c192d,_0x4a84af(0x21b),_0x24c3d9));}});}[_0x59bb7e(0x26d)](_0x23f211){const _0x66dd64=_0x59bb7e,_0x5efa89=this[_0x66dd64(0x24e)][_0x66dd64(0x1f3)](_0x23f211),_0x5d170b=this[_0x66dd64(0x274)],_0x2d5128=_0x5d170b[_0x66dd64(0x231)][_0x66dd64(0x1ff)][_0x66dd64(0x1f2)],_0x1e07a7=_0x5d170b[_0x66dd64(0x26a)][_0x66dd64(0x1f3)](_0x66dd64(0x228)),_0xfc9700=_0x5d170b[_0x66dd64(0x222)][_0x66dd64(0x1f3)](_0x48e185),_0x22e690=''+(_0x5efa89[_0x66dd64(0x25e)]!==_0x421b30?_0x5efa89[_0x66dd64(0x20a)]+':\x20':'')+_0x5efa89[_0x66dd64(0x256)];if(!0x1!==_0x5efa89[_0x66dd64(0x239)]&&_0x2d5128[_0x66dd64(0x26b)]){const _0x4dd0ee=_0x3b1d31(_0x2d5128[_0x66dd64(0x26e)]())||_0x5d170b[_0x66dd64(0x231)][_0x66dd64(0x202)][_0x66dd64(0x1dd)](_0x2d5128);_0x5d170b[_0x66dd64(0x231)][_0x66dd64(0x260)](_0x481547=>{const _0x185e26=_0x66dd64;_0x481547[_0x185e26(0x25b)](_0x4dd0ee,'in');});}_0xfc9700[_0x66dd64(0x268)](),_0x1e07a7[_0x66dd64(0x1f1)](_0x5efa89[_0x66dd64(0x1fa)],_0x22e690,_0x66dd64(0x1e0)+_0x23f211);}[_0x59bb7e(0x265)](_0x1a4262,_0x2285ef,_0x161302,_0x4697f5){const _0x57c85f=_0x59bb7e,_0x3b1c37=this[_0x57c85f(0x274)],_0x22ea5e=_0x3b1c37[_0x57c85f(0x270)],_0x249eab=new _0x465bea(_0x22ea5e),_0x309b17=U(_0x3b1c37,_0x161302)[_0x57c85f(0x282)](_0x363d39=>_0x363d39[_0x57c85f(0x26a)][_0x57c85f(0x24c)]);0x1===_0x309b17[_0x57c85f(0x24c)]?this[_0x57c85f(0x1f0)]({'command':_0x1a4262,'commands':_0x309b17[0x0][_0x57c85f(0x26a)],'parentMenuView':_0x2285ef,'onExecute':_0x4697f5})[_0x57c85f(0x27f)](_0x4be6a6=>_0x249eab[_0x57c85f(0x24a)][_0x57c85f(0x269)](_0x4be6a6)):_0x309b17[_0x57c85f(0x27f)](({groupId:_0x61f03c,groupLabel:_0x408970,commands:_0x3c7b32})=>{const _0x38aeff=_0x57c85f,_0x45b845=new _0x39cebf(_0x22ea5e,_0x2285ef),_0x136920=new _0xf5e03(_0x22ea5e),_0x585f10=new _0x465bea(_0x22ea5e),_0x33e74a=this[_0x38aeff(0x1f0)]({'command':_0x1a4262,'commands':_0x3c7b32,'parentMenuView':_0x136920,'onExecute':_0x4697f5});_0x136920[_0x38aeff(0x227)][_0x38aeff(0x22b)]({'label':_0x408970||_0x61f03c}),_0x136920[_0x38aeff(0x20b)](_0x38aeff(0x1f1))['to'](_0x2285ef),_0x585f10[_0x38aeff(0x24a)][_0x38aeff(0x27a)](_0x33e74a),_0x136920[_0x38aeff(0x249)][_0x38aeff(0x261)][_0x38aeff(0x269)](_0x585f10),_0x45b845[_0x38aeff(0x261)][_0x38aeff(0x269)](_0x136920),_0x249eab[_0x38aeff(0x24a)][_0x38aeff(0x269)](_0x45b845);}),_0x2285ef[_0x57c85f(0x249)][_0x57c85f(0x261)][_0x57c85f(0x269)](_0x249eab);}[_0x59bb7e(0x1f0)]({command:_0x53fe95,commands:_0x25ab4f,parentMenuView:_0xdbf095,onExecute:_0x155d43}){const _0xe7ff66=_0x59bb7e,_0x5a2d01=this[_0xe7ff66(0x274)],_0x4ce9cd=_0x5a2d01[_0xe7ff66(0x270)];return U(_0x5a2d01,_0x25ab4f)[_0xe7ff66(0x23b)](_0xb94544=>{const _0xe1a9c4=_0xe7ff66,_0x228856=new _0x39cebf(_0x4ce9cd,_0xdbf095),_0x9264b8=new _0x3ecfa8(_0x4ce9cd);return _0x9264b8[_0xe1a9c4(0x22b)]({'label':_0xb94544[_0xe1a9c4(0x256)]}),_0x9264b8[_0xe1a9c4(0x20b)](_0xe1a9c4(0x1f1))['to'](_0xdbf095),_0x9264b8['on'](_0xe1a9c4(0x1f1),()=>_0x155d43(_0xb94544['id'])),_0x9264b8[_0xe1a9c4(0x238)](_0xe1a9c4(0x210))['to'](_0x53fe95,_0xe1a9c4(0x1fc),_0x7d0c73=>_0x7d0c73[_0xe1a9c4(0x24f)](_0xb94544['id'])),_0x228856[_0xe1a9c4(0x261)][_0xe1a9c4(0x269)](_0x9264b8),_0x228856;});}}function T(_0x3c0848,_0x27675d){const _0x18f215=_0x59bb7e;return void 0x0!==_0x3c0848[_0x18f215(0x23a)]&&void 0x0===_0x27675d[_0x18f215(0x23a)]?0x1:void 0x0===_0x3c0848[_0x18f215(0x23a)]&&void 0x0!==_0x27675d[_0x18f215(0x23a)]?-0x1:void 0x0!==_0x3c0848[_0x18f215(0x23a)]&&void 0x0!==_0x27675d[_0x18f215(0x23a)]?_0x3c0848[_0x18f215(0x23a)]-_0x27675d[_0x18f215(0x23a)]:0x0;}function U(_0x4ee63b,_0x2df6f7){const _0x4a4075=_0x59bb7e;_0x2df6f7[_0x4a4075(0x27c)](T);const _0xd4b7ee={},_0x578c70=[];for(const _0x34ee54 of _0x2df6f7)if(void 0x0!==_0x34ee54[_0x4a4075(0x23a)]){if(_0x34ee54[_0x4a4075(0x23a)]in _0xd4b7ee)throw new _0x338621(_0x4a4075(0x207),_0x4ee63b,{'conflictingDefinitions':[_0x34ee54,_0xd4b7ee[_0x34ee54[_0x4a4075(0x23a)]]]});_0xd4b7ee[_0x34ee54[_0x4a4075(0x23a)]]=_0x34ee54,_0x578c70[_0x4a4075(0x266)](_0x34ee54[_0x4a4075(0x23a)],0x0,_0x34ee54);}else _0x578c70[_0x4a4075(0x286)](_0x34ee54);return _0x578c70;}
23
+ const _0x4c358e=_0x2abb;(function(_0x1fc610,_0x1099b0){const _0x8099c9=_0x2abb,_0x18bcf7=_0x1fc610();while(!![]){try{const _0x3f95c9=parseInt(_0x8099c9(0x1ac))/0x1*(parseInt(_0x8099c9(0x1c0))/0x2)+parseInt(_0x8099c9(0x1b2))/0x3*(-parseInt(_0x8099c9(0x1a8))/0x4)+-parseInt(_0x8099c9(0x1d4))/0x5*(parseInt(_0x8099c9(0x1e8))/0x6)+-parseInt(_0x8099c9(0x237))/0x7+-parseInt(_0x8099c9(0x1d5))/0x8+parseInt(_0x8099c9(0x1a6))/0x9+parseInt(_0x8099c9(0x1a9))/0xa;if(_0x3f95c9===_0x1099b0)break;else _0x18bcf7['push'](_0x18bcf7['shift']());}catch(_0x58d975){_0x18bcf7['push'](_0x18bcf7['shift']());}}}(_0x1860,0x7a99e));import{Plugin as _0x4a93f1}from'ckeditor5/src/core.js';import{IconMagicWand as _0x288277,IconRobotPencil as _0x492762}from'ckeditor5/src/icons.js';import{first as _0x2caed7,CKEditorError as _0x1adda2}from'ckeditor5/src/utils.js';import{createDropdown as _0x2fc6ab,addMenuToDropdown as _0x55b5ba,ButtonView as _0x2b2b2d,MenuBarMenuListItemButtonView as _0x4f5b9a,Dialog as _0x48c8cc,DialogViewPosition as _0x3eeb0f,MenuBarMenuView as _0x4db90f,MenuBarMenuListView as _0x454659,MenuBarMenuListItemView as _0x59a9c5}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x352b4d,UNGROUPED_COMMANDS_GROUP_ID as _0x946c2e}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x829d22}from'./aiassistantediting.js';import{AIAdapter as _0x491f15}from'./adapters/aiadapter.js';function _0x1860(){const _0x266294=['promptView','aiLicenseKeyExpired','_getResolvedCommandsDefinitions','locale','domainLimit','_getMenuBarGroupButtons','isEnabled','ai-commands-config-order-collision','isFlat','4950Quqlue','selection','children','fire','_initAriaAiStatusChangeAnnouncements','update','ai.aiAssistant.disabledElements','execute','insertContent','trim','Generated\x20content:\x20%0','contentArea','<p>','editor','invalid','wasMoved','_initView','addMany','DataTransfer','aiLicenseKeyTrialLimit','_aiAdapter','source','\x20ck-ai-assistant-ui_theme','enabledCommandsIds','change:value','copy','delegate','hide','requiresContent','showUI','buttons','ai.useTheme','view','order','hideFakeVisualSelection','_uiCssClasses','change','plugins','_createAIAssistantUIButton','REPLACE','getRanges','_aiAssistantController','values','componentFactory','aiLicenseKeyValid','isPremiumPlugin','polite','ck-ai-commands-dropdown\x20','_populateMenuBarMenu','aiLicenseKeyNotAllowed','length','showAIAssistant','evaluationLimit','command:','_onExecute','Error\x20during\x20AI\x20content\x20generation:\x20%0','listenTo','updateView','announce','menuPanelClass','rawHtml','menuBar:aiCommands','getSelectedElement','custom','featureNotAllowed','AI\x20is\x20writing','_licenseKeyCheckInterval','replace','queryView','ck-ai-assistant-button\x20','splice','text/html','config','groupLabel','model','map','aiLicenseKeyEvaluationLimit','comment','body','4932634qaKArj','textAdapter','menuBar:aiAssistant','EDITOR_TOP_SIDE','isCollapsed','forEach','get','change:isProcessing','items','AI\x20Commands','currentContext','push','once','showFakeVisualSelection','licenseKey','setSelection','replaceContent','init','panelView','sort','AIAssistant','tableOfContents','ck-ai-assistant-ui','text','set','pluginName','_dialog','destroy','show','ai.aiAssistant.contentAreaCssClass','insertContentBelow','1520361gcbIVa','trialLimit','2559052KlgpBm','25635300yZprDV','change:isError','from','25uqKftv','define','AI\x20Assistant','aiAssistant','_showLicenseError','ai.aiAssistant.commands','3AIhKdE','filter','prompt','isOfficialPlugin','</p>','schema','_formView','menuView','errorView','change:enabledCommandsIds','reset','includes','media','buttonView','19246rYVCKI','aiCommands','menuitemcheckbox','requires','isOn','aiLicenseKeyUsageLimit','commands','hideUI','getSelectedBlocks','bind','document','aiLicenseKeyDomainLimit','AIAssistantUI','fieldView','expired','_commandDefinitions','groupId','render','editing','INSERT','1730ErOnZV','6727880HjTfwt','updatePosition','_forceMarkersCopy','aiLicenseKeyInvalid','focus','label','add','getLimitElement','usageLimit','getData'];_0x1860=function(){return _0x266294;};return _0x1860();}import{getTranslation as _0x2505c1}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3a6923}from'./ui/showaiassistantcommand.js';function _0x2abb(_0x535c00,_0x27ab23){const _0x1860cb=_0x1860();return _0x2abb=function(_0x2abb12,_0x2705e7){_0x2abb12=_0x2abb12-0x197;let _0x5d45ee=_0x1860cb[_0x2abb12];return _0x5d45ee;},_0x2abb(_0x535c00,_0x27ab23);}import{AIAssistantController as _0x4cfeb9}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3ab367}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4c77f9}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x4c358e(0x1fa)];import{ClipboardMarkersUtils as _0x243f8d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x58a7c4,ViewDataTransfer as _0x354a3f}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4a93f1{[_0x4c358e(0x245)];[_0x4c358e(0x22a)];[_0x4c358e(0x1a1)];[_0x4c358e(0x1b8)];[_0x4c358e(0x1fc)];[_0x4c358e(0x211)];[_0x4c358e(0x20b)]='';static get[_0x4c358e(0x1a0)](){const _0x287170=_0x4c358e;return _0x287170(0x1cc);}static get[_0x4c358e(0x1b5)](){return!0x0;}static get[_0x4c358e(0x215)](){return!0x0;}static get[_0x4c358e(0x1c3)](){return[_0x243f8d,_0x829d22,_0x491f15,_0x48c8cc];}constructor(_0x16eb8f){const _0x74369b=_0x4c358e;super(_0x16eb8f),_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x1ad)](_0x74369b(0x1ee),[_0x74369b(0x1be),_0x74369b(0x224),_0x74369b(0x19c)]),_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x1ad)](_0x74369b(0x1a4),''),_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x1ad)](_0x74369b(0x207),!0x0),this[_0x74369b(0x20b)]=_0x74369b(0x19d)+(_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x23d)](_0x74369b(0x207))?_0x74369b(0x1fe):'');}[_0x4c358e(0x198)](){const _0x341677=_0x4c358e,{editor:_0x1d50ab}=this;this[_0x341677(0x1fc)]=_0x1d50ab[_0x341677(0x20d)][_0x341677(0x23d)](_0x491f15),this[_0x341677(0x1a1)]=_0x1d50ab[_0x341677(0x20d)][_0x341677(0x23d)](_0x48c8cc),this[_0x341677(0x1b8)]=null,this[_0x341677(0x1cf)]=this[_0x341677(0x1e1)]();const _0x3a58e5=new _0x3a6923(_0x1d50ab,Array[_0x341677(0x1ab)](this[_0x341677(0x1cf)][_0x341677(0x212)]()));_0x1d50ab[_0x341677(0x1c6)][_0x341677(0x1db)](_0x341677(0x21b),_0x3a58e5),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x1c1),_0x27285e=>{const _0x35b4de=_0x341677,_0x1b6a6c=_0x2fc6ab(_0x27285e);return _0x1b6a6c[_0x35b4de(0x19f)]({'class':_0x35b4de(0x217)+this[_0x35b4de(0x20b)]}),_0x1b6a6c[_0x35b4de(0x1bf)][_0x35b4de(0x19f)]({'label':_0x2505c1(_0x27285e,_0x35b4de(0x240)),'icon':_0x288277,'tooltip':!0x0}),_0x1b6a6c['on'](_0x35b4de(0x1ef),_0x5db479=>this[_0x35b4de(0x21e)](_0x5db479[_0x35b4de(0x1fd)]['id'])),_0x55b5ba(_0x1b6a6c,_0x1d50ab['ui'][_0x35b4de(0x208)][_0x35b4de(0x236)],function(_0x64b711){const _0x46eced=_0x35b4de,_0x22b299=_0x352b4d(_0x64b711[_0x46eced(0x230)][_0x46eced(0x23d)](_0x46eced(0x1b1)),_0x64b711[_0x46eced(0x1e2)]),_0x520a98=U(_0x64b711,_0x22b299)[_0x46eced(0x1b3)](_0xb1245c=>_0xb1245c[_0x46eced(0x1c6)][_0x46eced(0x21a)]);if(0x1===_0x520a98[_0x46eced(0x21a)])return U(_0x64b711,_0x520a98[0x0][_0x46eced(0x1c6)])[_0x46eced(0x233)](_0xffaf45=>({'id':_0xffaf45['id'],'label':_0xffaf45[_0x46eced(0x1da)]}));return _0x520a98[_0x46eced(0x233)](_0x35f505=>{const _0x1815a0=_0x46eced,{groupId:_0x57ca90,groupLabel:_0x9d3005,commands:_0x5256a0}=_0x35f505,_0x52ffdf=U(_0x64b711,_0x5256a0)[_0x1815a0(0x233)](_0x3d4a4a=>({'id':_0x3d4a4a['id'],'label':_0x3d4a4a[_0x1815a0(0x1da)]}));return{'id':_0x57ca90,'menu':_0x9d3005||_0x57ca90,'children':_0x52ffdf};});}(_0x1d50ab),{'ariaLabel':_0x2505c1(_0x27285e,_0x35b4de(0x240))}),_0x1b6a6c[_0x35b4de(0x1b9)][_0x35b4de(0x223)]=_0x35b4de(0x217)+this[_0x35b4de(0x20b)],_0x3a58e5['on'](_0x35b4de(0x1bb),_0x253d5a),_0x1b6a6c[_0x35b4de(0x1b9)][_0x35b4de(0x243)](_0x35b4de(0x1d1),_0x253d5a),_0x1b6a6c;function _0x253d5a(){const _0x4036e0=_0x35b4de;_0x1b6a6c[_0x4036e0(0x1e5)]=_0x3a58e5[_0x4036e0(0x1ff)][_0x4036e0(0x21a)]>0x0;for(const _0x2d154c of _0x1b6a6c[_0x4036e0(0x1b9)][_0x4036e0(0x206)])_0x2d154c[_0x4036e0(0x1e5)]=_0x3a58e5[_0x4036e0(0x1ff)][_0x4036e0(0x1bd)](_0x2d154c['id']);}}),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x225),_0x7e545e=>{const _0x48a306=_0x341677,_0x3a0a7f=new _0x4db90f(_0x7e545e);_0x3a0a7f[_0x48a306(0x1bf)][_0x48a306(0x19f)]({'label':_0x2505c1(_0x7e545e,_0x48a306(0x240)),'icon':_0x288277}),_0x3a0a7f[_0x48a306(0x1c9)](_0x48a306(0x1e5))['to'](_0x3a58e5,_0x48a306(0x1ff),_0x239306=>_0x239306[_0x48a306(0x21a)]>0x0);const _0x4a4e68=_0x352b4d(_0x1d50ab[_0x48a306(0x230)][_0x48a306(0x23d)](_0x48a306(0x1b1)),_0x7e545e);return this[_0x48a306(0x218)](_0x3a58e5,_0x3a0a7f,_0x4a4e68,_0x2505a6=>this[_0x48a306(0x21e)](_0x2505a6)),_0x3a0a7f;}),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x1af),()=>{const _0x118f2c=_0x341677,_0x3a94ef=this[_0x118f2c(0x20e)](_0x2b2b2d);return _0x3a94ef[_0x118f2c(0x19f)]({'tooltip':!0x0,'class':_0x118f2c(0x22d)+this[_0x118f2c(0x20b)]}),_0x3a94ef;}),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x239),()=>{const _0x23b765=_0x341677,_0x2dfb83=this[_0x23b765(0x20e)](_0x4f5b9a);return _0x2dfb83[_0x23b765(0x19f)]({'role':_0x23b765(0x1c2)}),_0x2dfb83;}),this[_0x341677(0x245)]=this[_0x341677(0x1f5)][_0x341677(0x230)][_0x341677(0x23d)](_0x341677(0x245));const _0xddf81f=this[_0x341677(0x1f5)];this[_0x341677(0x22a)]=setInterval(()=>{const _0x3c3a5=_0x341677;let _0x34a927;for(const _0x495b68 in _0xddf81f){const _0x27b2a4=_0x495b68,_0x17bbeb=_0xddf81f[_0x27b2a4];if(_0x3c3a5(0x214)==_0x17bbeb||_0x3c3a5(0x1d8)==_0x17bbeb||_0x3c3a5(0x1e0)==_0x17bbeb||_0x3c3a5(0x1cb)==_0x17bbeb||_0x3c3a5(0x219)==_0x17bbeb||_0x3c3a5(0x234)==_0x17bbeb||_0x3c3a5(0x1fb)==_0x17bbeb||_0x3c3a5(0x1c5)==_0x17bbeb){delete _0xddf81f[_0x27b2a4],_0x34a927=_0x17bbeb,clearInterval(this[_0x3c3a5(0x22a)]),this[_0x3c3a5(0x22a)]=void 0x0;break;}}_0x3c3a5(0x1d8)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1f6)),_0x3c3a5(0x1e0)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1ce)),_0x3c3a5(0x1cb)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1e3)),_0x3c3a5(0x219)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x228),_0x3c3a5(0x19b)),_0x3c3a5(0x234)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x21c)),_0x3c3a5(0x1fb)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1a7)),_0x3c3a5(0x1c5)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1dd));},0x3e8);}[_0x4c358e(0x1a2)](){const _0x177991=_0x4c358e;super[_0x177991(0x1a2)](),this[_0x177991(0x22a)]&&clearInterval(this[_0x177991(0x22a)]);}[_0x4c358e(0x205)](_0x4c1111='',_0x42c7e9='',_0x2a297e=_0x4c358e(0x227)){const _0xfe84ff=_0x4c358e,_0x12a3b6=this[_0xfe84ff(0x1f5)],_0x2960ac=_0x12a3b6[_0xfe84ff(0x1d2)][_0xfe84ff(0x208)],_0x14abe8=_0x12a3b6[_0xfe84ff(0x20d)][_0xfe84ff(0x23d)](_0x829d22),_0x50f492=_0x12a3b6[_0xfe84ff(0x20d)][_0xfe84ff(0x23d)](_0x243f8d);_0x14abe8[_0xfe84ff(0x244)]();const _0x582fb9=new l(),_0x4fcc64=new ClipboardEvent(_0xfe84ff(0x201),{'clipboardData':_0x582fb9}),_0x548ef6=new _0x354a3f(_0x582fb9),_0x8e520f=new _0x58a7c4(_0x2960ac,_0x4fcc64,{'dataTransfer':_0x548ef6});_0x50f492[_0xfe84ff(0x1d7)](_0xfe84ff(0x235),()=>{const _0x2ae6bf=_0xfe84ff;_0x2960ac[_0x2ae6bf(0x1ca)][_0x2ae6bf(0x1eb)](_0x2ae6bf(0x201),_0x8e520f);}),this[_0xfe84ff(0x1b8)]||(this[_0xfe84ff(0x1f8)](),this[_0xfe84ff(0x211)]=new _0x4cfeb9(_0x12a3b6,this[_0xfe84ff(0x1fc)][_0xfe84ff(0x238)],this[_0xfe84ff(0x1b8)]));let _0x2adc2b=_0x548ef6[_0xfe84ff(0x1de)](_0xfe84ff(0x22f));const _0x448863=_0x12a3b6[_0xfe84ff(0x232)][_0xfe84ff(0x1ca)][_0xfe84ff(0x1e9)],_0x360ee0=Array[_0xfe84ff(0x1ab)](_0x448863[_0xfe84ff(0x210)]());0x1===_0x360ee0[_0xfe84ff(0x21a)]&&_0x360ee0[0x0][_0xfe84ff(0x1e7)]&&!_0x448863[_0xfe84ff(0x226)]()&&''!==_0x2adc2b[_0xfe84ff(0x22b)](/&nbsp;/g,'')[_0xfe84ff(0x1f1)]()&&(_0x2adc2b=_0xfe84ff(0x1f4)+_0x2adc2b+_0xfe84ff(0x1b6)),this[_0xfe84ff(0x211)][_0xfe84ff(0x221)]({'actionId':_0x2a297e,'query':_0x4c1111,'htmlContent':_0x2adc2b,'label':_0x42c7e9,'mainActionLabel':_0x4c77f9[_0x12a3b6[_0xfe84ff(0x232)][_0xfe84ff(0x1ca)][_0xfe84ff(0x1e9)][_0xfe84ff(0x23b)]?_0xfe84ff(0x1d3):_0xfe84ff(0x20f)]}),_0xfe84ff(0x1af)!==this[_0xfe84ff(0x1a1)]['id']?this[_0xfe84ff(0x1a1)][_0xfe84ff(0x1a3)]({'id':_0xfe84ff(0x1af),'icon':_0x492762,'title':_0x2505c1(this[_0xfe84ff(0x1f5)][_0xfe84ff(0x1e2)],_0xfe84ff(0x1ae)),'content':this[_0xfe84ff(0x1b8)],'position':_0x3eeb0f[_0xfe84ff(0x23a)],'onShow':()=>{const _0xa2344b=_0xfe84ff;this[_0xa2344b(0x1b8)][_0xa2344b(0x1d9)]();},'onHide':()=>{const _0x14489b=_0xfe84ff;this[_0x14489b(0x211)][_0x14489b(0x1bc)](),_0x14abe8[_0x14489b(0x20a)]();}}):this[_0xfe84ff(0x1a1)][_0xfe84ff(0x208)][_0xfe84ff(0x1f7)]||this[_0xfe84ff(0x1a1)][_0xfe84ff(0x208)][_0xfe84ff(0x1d6)]();}[_0x4c358e(0x1c7)](){const _0x1d8ff4=_0x4c358e;this[_0x1d8ff4(0x1a1)][_0x1d8ff4(0x203)]();}[_0x4c358e(0x1e1)](){const _0x8b1c31=_0x4c358e,_0x574fbc=new Map(),_0x3a34a0=_0x352b4d(this[_0x8b1c31(0x1f5)][_0x8b1c31(0x230)][_0x8b1c31(0x23d)](_0x8b1c31(0x1b1)),this[_0x8b1c31(0x1f5)][_0x8b1c31(0x1e2)]);for(const _0x1f4069 of _0x3a34a0)for(const _0x5525f7 of _0x1f4069[_0x8b1c31(0x1c6)])_0x574fbc[_0x8b1c31(0x19f)](_0x5525f7['id'],{..._0x5525f7,'groupId':_0x1f4069[_0x8b1c31(0x1d0)],'groupLabel':_0x1f4069[_0x8b1c31(0x231)]||_0x1f4069[_0x8b1c31(0x1d0)]});return _0x574fbc;}[_0x4c358e(0x20e)](_0x1616bc){const _0x1b640c=_0x4c358e,_0x30df63=this[_0x1b640c(0x1f5)],_0x40d2ec=_0x30df63[_0x1b640c(0x1c6)][_0x1b640c(0x23d)](_0x1b640c(0x21b)),_0x355388=new _0x1616bc(_0x30df63[_0x1b640c(0x1e2)]);return _0x355388[_0x1b640c(0x19f)]({'label':_0x2505c1(_0x30df63[_0x1b640c(0x1e2)],_0x1b640c(0x1ae)),'icon':_0x492762,'isToggleable':!0x0}),_0x355388[_0x1b640c(0x1c9)](_0x1b640c(0x1e5))['to'](_0x40d2ec),_0x355388[_0x1b640c(0x1c9)](_0x1b640c(0x1c4))['to'](this[_0x1b640c(0x1a1)],'id',_0x267c32=>_0x1b640c(0x1af)===_0x267c32),this[_0x1b640c(0x220)](_0x355388,_0x1b640c(0x1ef),()=>{const _0x3bf16b=_0x1b640c;_0x355388[_0x3bf16b(0x1c4)]?this[_0x3bf16b(0x1c7)]():_0x40d2ec[_0x3bf16b(0x1ef)]();}),_0x355388;}[_0x4c358e(0x1f8)](){const _0xd5aaaf=_0x4c358e,_0x48d4d1=this[_0xd5aaaf(0x1f5)][_0xd5aaaf(0x20d)][_0xd5aaaf(0x23d)](_0x829d22);this[_0xd5aaaf(0x1b8)]=new _0x3ab367(this[_0xd5aaaf(0x1f5)][_0xd5aaaf(0x1e2)],this[_0xd5aaaf(0x20b)],this[_0xd5aaaf(0x1f5)][_0xd5aaaf(0x230)][_0xd5aaaf(0x23d)](_0xd5aaaf(0x1a4))),this[_0xd5aaaf(0x1b8)]['on'](_0xd5aaaf(0x200),()=>{const _0x4bf884=_0xd5aaaf;this[_0x4bf884(0x1a1)][_0x4bf884(0x208)][_0x4bf884(0x1f7)]||this[_0x4bf884(0x1a1)][_0x4bf884(0x208)][_0x4bf884(0x1d6)]();}),this[_0xd5aaaf(0x1b8)][_0xd5aaaf(0x1df)][_0xd5aaaf(0x22c)][_0xd5aaaf(0x1cd)]['on'](_0xd5aaaf(0x1ed),()=>{const _0x167c1f=_0xd5aaaf;this[_0x167c1f(0x1a1)][_0x167c1f(0x208)][_0x167c1f(0x1f7)]||this[_0x167c1f(0x1a1)][_0x167c1f(0x208)][_0x167c1f(0x1d6)]();}),this[_0xd5aaaf(0x220)](this[_0xd5aaaf(0x1b8)],_0xd5aaaf(0x197),()=>{const _0x314842=_0xd5aaaf;_0x48d4d1[_0x314842(0x1f0)](this[_0x314842(0x211)][_0x314842(0x241)]),this[_0x314842(0x1c7)]();}),this[_0xd5aaaf(0x220)](this[_0xd5aaaf(0x1b8)],_0xd5aaaf(0x1a5),()=>{const _0xf8ef1d=_0xd5aaaf;_0x48d4d1[_0xf8ef1d(0x1a5)](this[_0xf8ef1d(0x211)][_0xf8ef1d(0x241)]),this[_0xf8ef1d(0x1c7)]();}),this[_0xd5aaaf(0x1ec)]();}[_0x4c358e(0x1ec)](){const _0x1ede43=_0x4c358e,{locale:_0x398828,ui:{ariaLiveAnnouncer:_0xbc6693}}=this[_0x1ede43(0x1f5)];this[_0x1ede43(0x1b8)][_0x1ede43(0x1f3)]['on'](_0x1ede43(0x23e),(_0x353322,_0x4c19a6,_0x11798b)=>{const _0x2e8dcc=_0x1ede43,_0x2b4314=this[_0x2e8dcc(0x211)][_0x2e8dcc(0x241)];_0x11798b?_0xbc6693[_0x2e8dcc(0x222)](_0x2505c1(_0x398828,_0x2e8dcc(0x229))):_0x2b4314&&_0xbc6693[_0x2e8dcc(0x222)](_0x2505c1(_0x398828,_0x2e8dcc(0x1f2),_0x2b4314),{'politeness':_0x2e8dcc(0x216),'isUnsafeHTML':!0x0});}),this[_0x1ede43(0x1b8)]['on'](_0x1ede43(0x1aa),(_0x1aefae,_0x4bb7ec,_0x438fcb)=>{const _0x3679bb=_0x1ede43;if(_0x438fcb){const _0x1baeb7=this[_0x3679bb(0x1b8)][_0x3679bb(0x1ba)][_0x3679bb(0x19e)];_0xbc6693[_0x3679bb(0x222)](_0x2505c1(_0x398828,_0x3679bb(0x21f),_0x1baeb7));}});}[_0x4c358e(0x21e)](_0x1ee3a2){const _0x580e49=_0x4c358e,_0x290bc2=this[_0x580e49(0x1cf)][_0x580e49(0x23d)](_0x1ee3a2),_0x182a01=this[_0x580e49(0x1f5)],_0x4d647f=_0x182a01[_0x580e49(0x232)][_0x580e49(0x1ca)][_0x580e49(0x1e9)],_0x57829b=_0x182a01[_0x580e49(0x1c6)][_0x580e49(0x23d)](_0x580e49(0x21b)),_0xff3ff7=_0x182a01[_0x580e49(0x20d)][_0x580e49(0x23d)](_0x829d22),_0x3065bf=''+(_0x290bc2[_0x580e49(0x1d0)]!==_0x946c2e?_0x290bc2[_0x580e49(0x231)]+':\x20':'')+_0x290bc2[_0x580e49(0x1da)];if(!0x1!==_0x290bc2[_0x580e49(0x204)]&&_0x4d647f[_0x580e49(0x23b)]){const _0x47bcea=_0x2caed7(_0x4d647f[_0x580e49(0x1c8)]())||_0x182a01[_0x580e49(0x232)][_0x580e49(0x1b7)][_0x580e49(0x1dc)](_0x4d647f);_0x182a01[_0x580e49(0x232)][_0x580e49(0x20c)](_0x332031=>{const _0x75b465=_0x580e49;_0x332031[_0x75b465(0x246)](_0x47bcea,'in');});}_0xff3ff7[_0x580e49(0x244)](),_0x57829b[_0x580e49(0x1ef)](_0x290bc2[_0x580e49(0x1b4)],_0x3065bf,_0x580e49(0x21d)+_0x1ee3a2);}[_0x4c358e(0x218)](_0x5745ab,_0x336de9,_0x5e1798,_0x70b0b6){const _0xaad043=_0x4c358e,_0x4f9d81=this[_0xaad043(0x1f5)],_0x363146=_0x4f9d81[_0xaad043(0x1e2)],_0x126d26=new _0x454659(_0x363146),_0x12278f=U(_0x4f9d81,_0x5e1798)[_0xaad043(0x1b3)](_0x31c6c9=>_0x31c6c9[_0xaad043(0x1c6)][_0xaad043(0x21a)]);0x1===_0x12278f[_0xaad043(0x21a)]?this[_0xaad043(0x1e4)]({'command':_0x5745ab,'commands':_0x12278f[0x0][_0xaad043(0x1c6)],'parentMenuView':_0x336de9,'onExecute':_0x70b0b6})[_0xaad043(0x23c)](_0x1b3d83=>_0x126d26[_0xaad043(0x23f)][_0xaad043(0x1db)](_0x1b3d83)):_0x12278f[_0xaad043(0x23c)](({groupId:_0x4b64cb,groupLabel:_0x3bf80f,commands:_0x29b9c5})=>{const _0x4b4841=_0xaad043,_0x1a1de1=new _0x59a9c5(_0x363146,_0x336de9),_0x390624=new _0x4db90f(_0x363146),_0x54b246=new _0x454659(_0x363146),_0x47281e=this[_0x4b4841(0x1e4)]({'command':_0x5745ab,'commands':_0x29b9c5,'parentMenuView':_0x390624,'onExecute':_0x70b0b6});_0x390624[_0x4b4841(0x1bf)][_0x4b4841(0x19f)]({'label':_0x3bf80f||_0x4b64cb}),_0x390624[_0x4b4841(0x202)](_0x4b4841(0x1ef))['to'](_0x336de9),_0x54b246[_0x4b4841(0x23f)][_0x4b4841(0x1f9)](_0x47281e),_0x390624[_0x4b4841(0x199)][_0x4b4841(0x1ea)][_0x4b4841(0x1db)](_0x54b246),_0x1a1de1[_0x4b4841(0x1ea)][_0x4b4841(0x1db)](_0x390624),_0x126d26[_0x4b4841(0x23f)][_0x4b4841(0x1db)](_0x1a1de1);}),_0x336de9[_0xaad043(0x199)][_0xaad043(0x1ea)][_0xaad043(0x1db)](_0x126d26);}[_0x4c358e(0x1e4)]({command:_0x298436,commands:_0x26ee16,parentMenuView:_0x347c08,onExecute:_0x2dec80}){const _0x4c1d7a=_0x4c358e,_0x4a2427=this[_0x4c1d7a(0x1f5)],_0x13fcb9=_0x4a2427[_0x4c1d7a(0x1e2)];return U(_0x4a2427,_0x26ee16)[_0x4c1d7a(0x233)](_0x564c3a=>{const _0x21eb7a=_0x4c1d7a,_0x292653=new _0x59a9c5(_0x13fcb9,_0x347c08),_0x4ad3bc=new _0x4f5b9a(_0x13fcb9);return _0x4ad3bc[_0x21eb7a(0x19f)]({'label':_0x564c3a[_0x21eb7a(0x1da)]}),_0x4ad3bc[_0x21eb7a(0x202)](_0x21eb7a(0x1ef))['to'](_0x347c08),_0x4ad3bc['on'](_0x21eb7a(0x1ef),()=>_0x2dec80(_0x564c3a['id'])),_0x4ad3bc[_0x21eb7a(0x1c9)](_0x21eb7a(0x1e5))['to'](_0x298436,_0x21eb7a(0x1ff),_0xbe271d=>_0xbe271d[_0x21eb7a(0x1bd)](_0x564c3a['id'])),_0x292653[_0x21eb7a(0x1ea)][_0x21eb7a(0x1db)](_0x4ad3bc),_0x292653;});}}function T(_0x1ef531,_0x11bd74){const _0x4d1efe=_0x4c358e;return void 0x0!==_0x1ef531[_0x4d1efe(0x209)]&&void 0x0===_0x11bd74[_0x4d1efe(0x209)]?0x1:void 0x0===_0x1ef531[_0x4d1efe(0x209)]&&void 0x0!==_0x11bd74[_0x4d1efe(0x209)]?-0x1:void 0x0!==_0x1ef531[_0x4d1efe(0x209)]&&void 0x0!==_0x11bd74[_0x4d1efe(0x209)]?_0x1ef531[_0x4d1efe(0x209)]-_0x11bd74[_0x4d1efe(0x209)]:0x0;}function U(_0x2e760c,_0x40777c){const _0x2fed95=_0x4c358e;_0x40777c[_0x2fed95(0x19a)](T);const _0x18c4d2={},_0x171de4=[];for(const _0xcf731a of _0x40777c)if(void 0x0!==_0xcf731a[_0x2fed95(0x209)]){if(_0xcf731a[_0x2fed95(0x209)]in _0x18c4d2)throw new _0x1adda2(_0x2fed95(0x1e6),_0x2e760c,{'conflictingDefinitions':[_0xcf731a,_0x18c4d2[_0xcf731a[_0x2fed95(0x209)]]]});_0x18c4d2[_0xcf731a[_0x2fed95(0x209)]]=_0xcf731a,_0x171de4[_0x2fed95(0x22e)](_0xcf731a[_0x2fed95(0x209)],0x0,_0xcf731a);}else _0x171de4[_0x2fed95(0x242)](_0xcf731a);return _0x171de4;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xa3ab16,_0x502207){var _0x211864=_0x374f,_0x2f01c8=_0xa3ab16();while(!![]){try{var _0xdfae64=-parseInt(_0x211864(0x1f4))/0x1*(parseInt(_0x211864(0x1ee))/0x2)+-parseInt(_0x211864(0x1ec))/0x3*(parseInt(_0x211864(0x1f2))/0x4)+parseInt(_0x211864(0x1f0))/0x5+-parseInt(_0x211864(0x1f1))/0x6+-parseInt(_0x211864(0x1ef))/0x7+-parseInt(_0x211864(0x1ed))/0x8+parseInt(_0x211864(0x1f3))/0x9;if(_0xdfae64===_0x502207)break;else _0x2f01c8['push'](_0x2f01c8['shift']());}catch(_0x5f2167){_0x2f01c8['push'](_0x2f01c8['shift']());}}}(_0x3d90,0xbc30f));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';function _0x374f(_0x41b571,_0x39c455){var _0x3d9044=_0x3d90();return _0x374f=function(_0x374f95,_0x28cd25){_0x374f95=_0x374f95-0x1ec;var _0x3646fd=_0x3d9044[_0x374f95];return _0x3646fd;},_0x374f(_0x41b571,_0x39c455);}function _0x3d90(){var _0x5085c8=['3oayOsL','52736bIPlWn','410DcHMnO','9201465RKzTPk','5492620EFOXQn','2760732nrcAtT','2961364jWqNII','22707783DfVPvq','1606fTYuFH'];_0x3d90=function(){return _0x5085c8;};return _0x3d90();}
23
+ (function(_0x168e64,_0x2ff58c){var _0x4e80d2=_0x4343,_0x42f799=_0x168e64();while(!![]){try{var _0x46788c=parseInt(_0x4e80d2(0x152))/0x1*(parseInt(_0x4e80d2(0x14f))/0x2)+-parseInt(_0x4e80d2(0x14e))/0x3*(parseInt(_0x4e80d2(0x154))/0x4)+parseInt(_0x4e80d2(0x14b))/0x5*(parseInt(_0x4e80d2(0x150))/0x6)+-parseInt(_0x4e80d2(0x14d))/0x7+-parseInt(_0x4e80d2(0x153))/0x8+-parseInt(_0x4e80d2(0x151))/0x9+parseInt(_0x4e80d2(0x14c))/0xa;if(_0x46788c===_0x2ff58c)break;else _0x42f799['push'](_0x42f799['shift']());}catch(_0x235296){_0x42f799['push'](_0x42f799['shift']());}}}(_0x3021,0xce72f));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';function _0x4343(_0x4b4aed,_0x2e88b4){var _0x302105=_0x3021();return _0x4343=function(_0x43438f,_0x5204ee){_0x43438f=_0x43438f-0x14b;var _0x3aa2d1=_0x302105[_0x43438f];return _0x3aa2d1;},_0x4343(_0x4b4aed,_0x2e88b4);}export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x3021(){var _0x5ab1c6=['6887826YrNgoL','65YJYiqu','954152VhwmqF','1452cuqWjD','1615xauspM','22668650JKmUqA','2142539UWjwzG','9957TEijji','12146jGKQex','10764hVTROe'];_0x3021=function(){return _0x5ab1c6;};return _0x3021();}export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3e01(){var _0x5f190c=['3950ykKKlB','903976XYmovK','243604DjiiKq','28MbIgFm','2qNFHHE','815730CcdcaV','42769kGOPIJ','121diXwaJ','4113dZrGzL','1248576naerFJ','723894BlXGdy','35EdvUoq'];_0x3e01=function(){return _0x5f190c;};return _0x3e01();}(function(_0x54698b,_0x293480){var _0x219d9c=_0x581c,_0x3fd86a=_0x54698b();while(!![]){try{var _0xa15464=-parseInt(_0x219d9c(0xb8))/0x1+-parseInt(_0x219d9c(0xb6))/0x2*(parseInt(_0x219d9c(0xb7))/0x3)+parseInt(_0x219d9c(0xb4))/0x4*(-parseInt(_0x219d9c(0xbd))/0x5)+parseInt(_0x219d9c(0xbc))/0x6+-parseInt(_0x219d9c(0xb5))/0x7*(parseInt(_0x219d9c(0xbf))/0x8)+parseInt(_0x219d9c(0xba))/0x9*(parseInt(_0x219d9c(0xbe))/0xa)+parseInt(_0x219d9c(0xb9))/0xb*(parseInt(_0x219d9c(0xbb))/0xc);if(_0xa15464===_0x293480)break;else _0x3fd86a['push'](_0x3fd86a['shift']());}catch(_0x2686d1){_0x3fd86a['push'](_0x3fd86a['shift']());}}}(_0x3e01,0x3db2e));function _0x581c(_0x53357e,_0x11fc2c){var _0x3e01c1=_0x3e01();return _0x581c=function(_0x581c70,_0x1ea185){_0x581c70=_0x581c70-0xb4;var _0x111ec3=_0x3e01c1[_0x581c70];return _0x111ec3;},_0x581c(_0x53357e,_0x11fc2c);}import{CKEditorError as _0x4eaeb7}from'ckeditor5/src/utils.js';
23
+ (function(_0x1dda3f,_0xbbab5f){var _0x1108c7=_0x5438,_0x36115d=_0x1dda3f();while(!![]){try{var _0x31427d=parseInt(_0x1108c7(0x1c0))/0x1*(-parseInt(_0x1108c7(0x1c2))/0x2)+-parseInt(_0x1108c7(0x1c7))/0x3*(-parseInt(_0x1108c7(0x1c3))/0x4)+-parseInt(_0x1108c7(0x1c1))/0x5*(-parseInt(_0x1108c7(0x1c9))/0x6)+parseInt(_0x1108c7(0x1c5))/0x7+-parseInt(_0x1108c7(0x1c8))/0x8+parseInt(_0x1108c7(0x1c6))/0x9+parseInt(_0x1108c7(0x1c4))/0xa;if(_0x31427d===_0xbbab5f)break;else _0x36115d['push'](_0x36115d['shift']());}catch(_0x3074eb){_0x36115d['push'](_0x36115d['shift']());}}}(_0x14b3,0xf1966));function _0x5438(_0x57f8d9,_0xfe1c){var _0x14b3db=_0x14b3();return _0x5438=function(_0x543822,_0x5a768d){_0x543822=_0x543822-0x1c0;var _0x563e48=_0x14b3db[_0x543822];return _0x563e48;},_0x5438(_0x57f8d9,_0xfe1c);}function _0x14b3(){var _0x4c4e6a=['41096GjcUbK','7651460SGhpvL','455476bUygYd','5505732iKpaoE','75gvCnEF','7791048PErTkT','3556482szUITt','46jidZiP','15sWqLoH','65810mkRERn'];_0x14b3=function(){return _0x4c4e6a;};return _0x14b3();}import{CKEditorError as _0x2c2f1a}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d7f7c=_0x9306;(function(_0x3d57b7,_0x85a289){const _0x4333ba=_0x9306,_0x38f5b2=_0x3d57b7();while(!![]){try{const _0x1a5e25=-parseInt(_0x4333ba(0x1b2))/0x1*(-parseInt(_0x4333ba(0x181))/0x2)+parseInt(_0x4333ba(0x17d))/0x3*(parseInt(_0x4333ba(0x16c))/0x4)+-parseInt(_0x4333ba(0x1c1))/0x5*(parseInt(_0x4333ba(0x187))/0x6)+parseInt(_0x4333ba(0x170))/0x7*(parseInt(_0x4333ba(0x1ae))/0x8)+-parseInt(_0x4333ba(0x1b4))/0x9*(parseInt(_0x4333ba(0x161))/0xa)+parseInt(_0x4333ba(0x188))/0xb*(parseInt(_0x4333ba(0x164))/0xc)+-parseInt(_0x4333ba(0x1b5))/0xd*(parseInt(_0x4333ba(0x1be))/0xe);if(_0x1a5e25===_0x85a289)break;else _0x38f5b2['push'](_0x38f5b2['shift']());}catch(_0x46e680){_0x38f5b2['push'](_0x38f5b2['shift']());}}}(_0x3440,0x7305f));import{ObservableMixin as _0x2deb92}from'ckeditor5/src/utils.js';function _0x3440(){const _0x5654e2=['textAdapter','```','3057016iToGKH','div','_sanitizationContainer','abort','13597ssusEJ','toView','239004UGzhqv','39wKLvPY','render','set','ELEMENT_NODE','setContentOf','rename','config','startsWith','markers','2561986HPXVNZ','value','length','43090XveoXD','stopListening','destroy','get','querySelector','finally','stringify','_stripMarkdownSyntax','320XIYRKG','listenTo','currentResponse','12NPHSaY','reset','_handleQuery','<h1></h1>','editing','tryAgainEvent','ai.aiAssistant.preserveComments','toModel','4ewiCNq','catch','previousContext','body','7eNmMqj','prompt','htmlProcessor','name','previousQuery','makeRequest','message','trim','previousActionId','element','_parseAndNormalizeContent','custom','text/html','2631171tCPXOT','remove','push','nodeType','106BPTAnw','_isH1TagSupportEnabled','reverse','childNodes','editor','previousLabel','402rnbNil','5142555hVPJNh','view','updateView','finishProcessing','innerHTML','isProcessing','currentContext','handleError','submitPrompt','once','processor','parseFromString','from','_xmlSerializer','domConverter','_sanitizeHTML','createElement','startProcessing','_domParser','viewToDom','then','```html','mainAction','endsWith','set:currentContext','substring','isRendered','_normalizeResponseHeadings','exec','serializeToString','initialContext','document','clear','stopProcessing','match','data'];_0x3440=function(){return _0x5654e2;};return _0x3440();}function _0x9306(_0x223e5f,_0x22017d){const _0x344053=_0x3440();return _0x9306=function(_0x930607,_0x29c156){_0x930607=_0x930607-0x15f;let _0xb72235=_0x344053[_0x930607];return _0xb72235;},_0x9306(_0x223e5f,_0x22017d);}import{AIRequestError as _0x15f098}from'../adapters/aiadapter.js';import{Matcher as _0xbefcee,ViewUpcastWriter as _0x54208f}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x2deb92(){[_0x1d7f7c(0x185)];[_0x1d7f7c(0x1ac)];[_0x1d7f7c(0x189)];[_0x1d7f7c(0x1b0)];[_0x1d7f7c(0x19a)];[_0x1d7f7c(0x195)];constructor(_0x5aa126,_0x32ab14,_0x330dda){const _0x4689f6=_0x1d7f7c;super(),this[_0x4689f6(0x185)]=_0x5aa126,this[_0x4689f6(0x1ac)]=_0x32ab14,this[_0x4689f6(0x1b0)]=document[_0x4689f6(0x198)](_0x4689f6(0x1af)),this[_0x4689f6(0x19a)]=new DOMParser(),this[_0x4689f6(0x195)]=new XMLSerializer(),this[_0x4689f6(0x189)]=_0x330dda,this[_0x4689f6(0x1b7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4689f6(0x1a0),(_0x5eb6b4,_0x15dd3d,_0x3e357b)=>{const _0x4332c3=_0x4689f6;this[_0x4332c3(0x189)][_0x4332c3(0x1bf)]=this[_0x4332c3(0x197)](_0x3e357b);}),this[_0x4689f6(0x162)](this[_0x4689f6(0x189)],_0x4689f6(0x190),(_0x59b55b,_0xd95b75)=>{const _0x467a54=_0x4689f6,_0x407eb4=this[_0x467a54(0x18e)]||this[_0x467a54(0x1a6)];this[_0x467a54(0x166)](_0xd95b75,_0x407eb4,_0x467a54(0x17b));}),this[_0x4689f6(0x162)](this[_0x4689f6(0x189)],_0x4689f6(0x169),()=>{const _0x4b63fe=_0x4689f6;this[_0x4b63fe(0x189)][_0x4b63fe(0x171)]=this[_0x4b63fe(0x186)],this[_0x4b63fe(0x166)](this[_0x4b63fe(0x174)],this[_0x4b63fe(0x16e)],this[_0x4b63fe(0x178)],this[_0x4b63fe(0x186)]);}),this[_0x4689f6(0x162)](this[_0x4689f6(0x189)],_0x4689f6(0x1a9),()=>{const _0x21352b=_0x4689f6;this[_0x21352b(0x1a9)]();});}[_0x1d7f7c(0x1c3)](){const _0x46a6b8=_0x1d7f7c;this[_0x46a6b8(0x1c2)]();}async[_0x1d7f7c(0x18a)]({actionId:_0x335dc3,query:_0x33a442,htmlContent:_0x3f130e,label:_0x30a520,mainActionLabel:_0x26af74}){const _0xe1bcd5=_0x1d7f7c;this[_0xe1bcd5(0x189)][_0xe1bcd5(0x171)]=_0x30a520,this[_0xe1bcd5(0x189)][_0xe1bcd5(0x19e)]=_0x26af74,this[_0xe1bcd5(0x1a6)]=_0x3f130e,_0x33a442&&(this[_0xe1bcd5(0x189)][_0xe1bcd5(0x1a2)]?this[_0xe1bcd5(0x166)](_0x33a442,_0x3f130e,_0x335dc3,_0x30a520):this[_0xe1bcd5(0x189)][_0xe1bcd5(0x191)](_0xe1bcd5(0x1b6),()=>{const _0x2495be=_0xe1bcd5;this[_0x2495be(0x166)](_0x33a442,_0x3f130e,_0x335dc3,_0x30a520);}));}[_0x1d7f7c(0x1a9)](){const _0x3cdb1f=_0x1d7f7c;this[_0x3cdb1f(0x18d)]&&(this[_0x3cdb1f(0x18d)]=!0x1,this[_0x3cdb1f(0x189)][_0x3cdb1f(0x18b)](),this[_0x3cdb1f(0x1ac)][_0x3cdb1f(0x1b1)]());}[_0x1d7f7c(0x165)](){const _0x40a69b=_0x1d7f7c;this[_0x40a69b(0x1a6)]='',this[_0x40a69b(0x18e)]='',this[_0x40a69b(0x163)]='',this[_0x40a69b(0x16e)]='',this[_0x40a69b(0x174)]='',this[_0x40a69b(0x186)]='',this[_0x40a69b(0x178)]=void 0x0,this[_0x40a69b(0x189)][_0x40a69b(0x165)](),this[_0x40a69b(0x1a9)]();}async[_0x1d7f7c(0x166)](_0x1b0b0b,_0x56e304,_0x52f2c5,_0x2d9634){const _0x22a25c=_0x1d7f7c;return this[_0x22a25c(0x18d)]=!0x0,this[_0x22a25c(0x189)][_0x22a25c(0x199)](),this[_0x22a25c(0x16e)]=_0x56e304,this[_0x22a25c(0x174)]=_0x1b0b0b,this[_0x22a25c(0x186)]=_0x2d9634||_0x1b0b0b,this[_0x22a25c(0x178)]=_0x52f2c5,new Promise(_0x3177c4=>{const _0x71f124=_0x22a25c;this[_0x71f124(0x1ac)][_0x71f124(0x175)]({'query':_0x1b0b0b,'context':_0x56e304,'onData':_0x2983f2=>{const _0x35bb26=_0x71f124;this[_0x35bb26(0x163)]=_0x2983f2,this[_0x35bb26(0x18e)]=this[_0x35bb26(0x17a)](this[_0x35bb26(0x163)]);},'actionId':_0x52f2c5})[_0x71f124(0x19c)](()=>{const _0x327d1b=_0x71f124;!this[_0x327d1b(0x18e)]&&this[_0x327d1b(0x163)]&&(this[_0x327d1b(0x18e)]=this[_0x327d1b(0x17a)](this[_0x327d1b(0x163)],!0x0));})[_0x71f124(0x16d)](_0x460b0c=>{const _0x3774ce=_0x71f124;_0x460b0c instanceof _0x15f098?this[_0x3774ce(0x189)][_0x3774ce(0x18f)](_0x460b0c[_0x3774ce(0x176)]):this[_0x3774ce(0x189)][_0x3774ce(0x18f)](),_0x3177c4();})[_0x71f124(0x1c6)](()=>{const _0x1f934a=_0x71f124;this[_0x1f934a(0x1a9)](),_0x3177c4();});});}[_0x1d7f7c(0x17a)](_0x3abe9a,_0x12c1fc=!0x1){const _0x470948=_0x1d7f7c,_0x51c166=Q[_0x470948(0x1a4)](_0x3abe9a);_0x3abe9a=_0x51c166?_0x3abe9a[_0x470948(0x1a1)](_0x51c166[0x1][_0x470948(0x1c0)]):_0x3abe9a[_0x470948(0x1c0)]<0x64&&!_0x12c1fc?'':this[_0x470948(0x160)](_0x3abe9a);const _0x5e06b1=this[_0x470948(0x19a)][_0x470948(0x193)](_0x3abe9a,_0x470948(0x17c));if(_0x51c166){const _0x680600=Array[_0x470948(0x194)](_0x5e06b1[_0x470948(0x16f)][_0x470948(0x184)]);_0x680600[_0x470948(0x183)]();for(const _0x55f64c of _0x680600){if(_0x55f64c[_0x470948(0x180)]==Node[_0x470948(0x1b8)])break;_0x55f64c[_0x470948(0x17e)]();}}const _0x283878=this[_0x470948(0x185)][_0x470948(0x1ab)][_0x470948(0x192)][_0x470948(0x1b3)](this[_0x470948(0x195)][_0x470948(0x1a5)](_0x5e06b1[_0x470948(0x16f)]));this[_0x470948(0x182)]()||this[_0x470948(0x1a3)](_0x283878);const _0xcea67=this[_0x470948(0x185)][_0x470948(0x1bb)][_0x470948(0x1c4)](_0x470948(0x16a)),_0x2ca30c=this[_0x470948(0x185)][_0x470948(0x1ab)][_0x470948(0x16b)](_0x283878);return _0xcea67||_0x2ca30c[_0x470948(0x1bd)][_0x470948(0x1a8)](),this[_0x470948(0x185)][_0x470948(0x1ab)][_0x470948(0x15f)](_0x2ca30c);}[_0x1d7f7c(0x1a3)](_0x35a7cf){const _0x3f3323=_0x1d7f7c,_0x4dc0f3=new _0x54208f(this[_0x3f3323(0x185)][_0x3f3323(0x168)][_0x3f3323(0x189)][_0x3f3323(0x1a7)]),_0x3cc062=new _0xbefcee({'name':/^h[1-5]$/}),_0x445e6e=[];let _0x5452df=!0x1;for(const _0x717c4b of _0x35a7cf)_0x717c4b['is'](_0x3f3323(0x179))&&_0x3cc062[_0x3f3323(0x1aa)](_0x717c4b)&&(_0x445e6e[_0x3f3323(0x17f)](_0x717c4b),'h1'==_0x717c4b[_0x3f3323(0x173)]&&(_0x5452df=!0x0));if(_0x5452df){for(const _0x47e460 of _0x445e6e)_0x4dc0f3[_0x3f3323(0x1ba)]('h'+(parseInt(_0x47e460[_0x3f3323(0x173)][0x1])+0x1),_0x47e460);}}[_0x1d7f7c(0x182)](){const _0x2a33eb=_0x1d7f7c,{data:_0x452c37,editing:_0x45fb7a}=this[_0x2a33eb(0x185)],_0x42aa3d=_0x452c37[_0x2a33eb(0x172)][_0x2a33eb(0x1b3)](_0x2a33eb(0x167)),_0x4b1d8d=_0x452c37[_0x2a33eb(0x1b3)](_0x452c37[_0x2a33eb(0x16b)](_0x42aa3d));return!!_0x45fb7a[_0x2a33eb(0x189)][_0x2a33eb(0x196)][_0x2a33eb(0x19b)](_0x4b1d8d)[_0x2a33eb(0x1c5)]('h1');}[_0x1d7f7c(0x197)](_0x29fe09){const _0x3e7413=_0x1d7f7c;return this[_0x3e7413(0x185)][_0x3e7413(0x168)][_0x3e7413(0x189)][_0x3e7413(0x196)][_0x3e7413(0x1b9)](this[_0x3e7413(0x1b0)],_0x29fe09),this[_0x3e7413(0x1b0)][_0x3e7413(0x18c)];}[_0x1d7f7c(0x160)](_0x3aa1b6){const _0x1361f5=_0x1d7f7c,_0x4186a5=_0x3aa1b6[_0x1361f5(0x177)]();return _0x4186a5[_0x1361f5(0x1bc)](_0x1361f5(0x19d))?_0x4186a5[_0x1361f5(0x19f)](_0x1361f5(0x1ad))?_0x4186a5[_0x1361f5(0x1a1)](0x7,_0x4186a5[_0x1361f5(0x1c0)]-0x3):_0x4186a5[_0x1361f5(0x1a1)](0x7):_0x3aa1b6;}}
23
+ const _0x2fa035=_0x2f67;function _0x17d8(){const _0x1f7c57=['_parseAndNormalizeContent','set:currentContext','63SBYLcL','data','view','processor','name','once','destroy','setContentOf','handleError','exec','previousQuery','prompt','_xmlSerializer','editing','value','startsWith','render','24706385FuTZQg','```html','_sanitizationContainer','isRendered','previousActionId','ai.aiAssistant.preserveComments','editor','childNodes','currentContext','_sanitizeHTML','finally','63aRNTlJ','parseFromString','11750QBqnDo','stopListening','endsWith','finishProcessing','reverse','toModel','ELEMENT_NODE','innerHTML','787770VQsfDF','catch','isProcessing','347565VrbbGN','currentResponse','6057752PcxcLu','from','message','get','898610PksNQW','htmlProcessor','text/html','querySelector','body','tryAgainEvent','domConverter','updateView','createElement','listenTo','258IiRgns','abort','mainAction','_stripMarkdownSyntax','substring','_domParser','then','document','textAdapter','toView','length','nodeType','config','push','1793895tDVdqH','viewToDom','stringify','stopProcessing','submitPrompt','reset','previousContext','rename','markers','previousLabel','div','element','custom','```','makeRequest','<h1></h1>','serializeToString','trim','20mAqUyd','_isH1TagSupportEnabled','startProcessing','_handleQuery','match','remove','initialContext','set','clear','_normalizeResponseHeadings'];_0x17d8=function(){return _0x1f7c57;};return _0x17d8();}(function(_0xf0349a,_0x20694a){const _0x28fd8c=_0x2f67,_0x13c927=_0xf0349a();while(!![]){try{const _0x50ba7a=-parseInt(_0x28fd8c(0x155))/0x1*(-parseInt(_0x28fd8c(0x170))/0x2)+parseInt(_0x28fd8c(0x17e))/0x3+-parseInt(_0x28fd8c(0x190))/0x4*(parseInt(_0x28fd8c(0x160))/0x5)+-parseInt(_0x28fd8c(0x15d))/0x6*(-parseInt(_0x28fd8c(0x153))/0x7)+parseInt(_0x28fd8c(0x162))/0x8+-parseInt(_0x28fd8c(0x19c))/0x9*(parseInt(_0x28fd8c(0x166))/0xa)+-parseInt(_0x28fd8c(0x148))/0xb;if(_0x50ba7a===_0x20694a)break;else _0x13c927['push'](_0x13c927['shift']());}catch(_0x1216fd){_0x13c927['push'](_0x13c927['shift']());}}}(_0x17d8,0xcaa0a));import{ObservableMixin as _0x17d7e7}from'ckeditor5/src/utils.js';function _0x2f67(_0x5303f5,_0x204724){const _0x17d854=_0x17d8();return _0x2f67=function(_0x2f67bc,_0x158c87){_0x2f67bc=_0x2f67bc-0x145;let _0x4e5717=_0x17d854[_0x2f67bc];return _0x4e5717;},_0x2f67(_0x5303f5,_0x204724);}import{AIRequestError as _0x18d32a}from'../adapters/aiadapter.js';import{Matcher as _0x55156c,ViewUpcastWriter as _0x42ff36}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x17d7e7(){[_0x2fa035(0x14e)];[_0x2fa035(0x178)];[_0x2fa035(0x19e)];[_0x2fa035(0x14a)];[_0x2fa035(0x175)];[_0x2fa035(0x1a8)];constructor(_0x15b0ca,_0x213628,_0x211b38){const _0x30d3d4=_0x2fa035;super(),this[_0x30d3d4(0x14e)]=_0x15b0ca,this[_0x30d3d4(0x178)]=_0x213628,this[_0x30d3d4(0x14a)]=document[_0x30d3d4(0x16e)](_0x30d3d4(0x188)),this[_0x30d3d4(0x175)]=new DOMParser(),this[_0x30d3d4(0x1a8)]=new XMLSerializer(),this[_0x30d3d4(0x19e)]=_0x211b38,this[_0x30d3d4(0x197)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x30d3d4(0x19b),(_0x48ac34,_0x5adf9b,_0x30229f)=>{const _0x1592a9=_0x30d3d4;this[_0x1592a9(0x19e)][_0x1592a9(0x145)]=this[_0x1592a9(0x151)](_0x30229f);}),this[_0x30d3d4(0x16f)](this[_0x30d3d4(0x19e)],_0x30d3d4(0x182),(_0x1bbe95,_0x2ea55e)=>{const _0x24d0ce=_0x30d3d4,_0x54a662=this[_0x24d0ce(0x150)]||this[_0x24d0ce(0x196)];this[_0x24d0ce(0x193)](_0x2ea55e,_0x54a662,_0x24d0ce(0x18a));}),this[_0x30d3d4(0x16f)](this[_0x30d3d4(0x19e)],_0x30d3d4(0x16b),()=>{const _0x598638=_0x30d3d4;this[_0x598638(0x19e)][_0x598638(0x1a7)]=this[_0x598638(0x187)],this[_0x598638(0x193)](this[_0x598638(0x1a6)],this[_0x598638(0x184)],this[_0x598638(0x14c)],this[_0x598638(0x187)]);}),this[_0x30d3d4(0x16f)](this[_0x30d3d4(0x19e)],_0x30d3d4(0x181),()=>{const _0x4ce253=_0x30d3d4;this[_0x4ce253(0x181)]();});}[_0x2fa035(0x1a2)](){const _0x1335cb=_0x2fa035;this[_0x1335cb(0x156)]();}async[_0x2fa035(0x16d)]({actionId:_0x3d904a,query:_0x210f58,htmlContent:_0x34259c,label:_0x540219,mainActionLabel:_0x1c4309}){const _0x2a8eab=_0x2fa035;this[_0x2a8eab(0x19e)][_0x2a8eab(0x1a7)]=_0x540219,this[_0x2a8eab(0x19e)][_0x2a8eab(0x172)]=_0x1c4309,this[_0x2a8eab(0x196)]=_0x34259c,_0x210f58&&(this[_0x2a8eab(0x19e)][_0x2a8eab(0x14b)]?this[_0x2a8eab(0x193)](_0x210f58,_0x34259c,_0x3d904a,_0x540219):this[_0x2a8eab(0x19e)][_0x2a8eab(0x1a1)](_0x2a8eab(0x147),()=>{const _0x55d82c=_0x2a8eab;this[_0x55d82c(0x193)](_0x210f58,_0x34259c,_0x3d904a,_0x540219);}));}[_0x2fa035(0x181)](){const _0x4c09b2=_0x2fa035;this[_0x4c09b2(0x15f)]&&(this[_0x4c09b2(0x15f)]=!0x1,this[_0x4c09b2(0x19e)][_0x4c09b2(0x158)](),this[_0x4c09b2(0x178)][_0x4c09b2(0x171)]());}[_0x2fa035(0x183)](){const _0xf70087=_0x2fa035;this[_0xf70087(0x196)]='',this[_0xf70087(0x150)]='',this[_0xf70087(0x161)]='',this[_0xf70087(0x184)]='',this[_0xf70087(0x1a6)]='',this[_0xf70087(0x187)]='',this[_0xf70087(0x14c)]=void 0x0,this[_0xf70087(0x19e)][_0xf70087(0x183)](),this[_0xf70087(0x181)]();}async[_0x2fa035(0x193)](_0x3eb4df,_0xc3d29b,_0x334695,_0xce9225){const _0x4450fd=_0x2fa035;return this[_0x4450fd(0x15f)]=!0x0,this[_0x4450fd(0x19e)][_0x4450fd(0x192)](),this[_0x4450fd(0x184)]=_0xc3d29b,this[_0x4450fd(0x1a6)]=_0x3eb4df,this[_0x4450fd(0x187)]=_0xce9225||_0x3eb4df,this[_0x4450fd(0x14c)]=_0x334695,new Promise(_0x349edb=>{const _0x95158d=_0x4450fd;this[_0x95158d(0x178)][_0x95158d(0x18c)]({'query':_0x3eb4df,'context':_0xc3d29b,'onData':_0x2485ad=>{const _0x3d5699=_0x95158d;this[_0x3d5699(0x161)]=_0x2485ad,this[_0x3d5699(0x150)]=this[_0x3d5699(0x19a)](this[_0x3d5699(0x161)]);},'actionId':_0x334695})[_0x95158d(0x176)](()=>{const _0x2fa009=_0x95158d;!this[_0x2fa009(0x150)]&&this[_0x2fa009(0x161)]&&(this[_0x2fa009(0x150)]=this[_0x2fa009(0x19a)](this[_0x2fa009(0x161)],!0x0));})[_0x95158d(0x15e)](_0x4a0fab=>{const _0x166bee=_0x95158d;_0x4a0fab instanceof _0x18d32a?this[_0x166bee(0x19e)][_0x166bee(0x1a4)](_0x4a0fab[_0x166bee(0x164)]):this[_0x166bee(0x19e)][_0x166bee(0x1a4)](),_0x349edb();})[_0x95158d(0x152)](()=>{const _0x1b62fc=_0x95158d;this[_0x1b62fc(0x181)](),_0x349edb();});});}[_0x2fa035(0x19a)](_0x210751,_0x583e83=!0x1){const _0x509243=_0x2fa035,_0x3bf8ad=Q[_0x509243(0x1a5)](_0x210751);_0x210751=_0x3bf8ad?_0x210751[_0x509243(0x174)](_0x3bf8ad[0x1][_0x509243(0x17a)]):_0x210751[_0x509243(0x17a)]<0x64&&!_0x583e83?'':this[_0x509243(0x173)](_0x210751);const _0x114e78=this[_0x509243(0x175)][_0x509243(0x154)](_0x210751,_0x509243(0x168));if(_0x3bf8ad){const _0x21ac79=Array[_0x509243(0x163)](_0x114e78[_0x509243(0x16a)][_0x509243(0x14f)]);_0x21ac79[_0x509243(0x159)]();for(const _0xebfce6 of _0x21ac79){if(_0xebfce6[_0x509243(0x17b)]==Node[_0x509243(0x15b)])break;_0xebfce6[_0x509243(0x195)]();}}const _0x2f6f93=this[_0x509243(0x14e)][_0x509243(0x19d)][_0x509243(0x19f)][_0x509243(0x179)](this[_0x509243(0x1a8)][_0x509243(0x18e)](_0x114e78[_0x509243(0x16a)]));this[_0x509243(0x191)]()||this[_0x509243(0x199)](_0x2f6f93);const _0x13be38=this[_0x509243(0x14e)][_0x509243(0x17c)][_0x509243(0x165)](_0x509243(0x14d)),_0x392513=this[_0x509243(0x14e)][_0x509243(0x19d)][_0x509243(0x15a)](_0x2f6f93);return _0x13be38||_0x392513[_0x509243(0x186)][_0x509243(0x198)](),this[_0x509243(0x14e)][_0x509243(0x19d)][_0x509243(0x180)](_0x392513);}[_0x2fa035(0x199)](_0x59c4e2){const _0x3bcf0a=_0x2fa035,_0xb47385=new _0x42ff36(this[_0x3bcf0a(0x14e)][_0x3bcf0a(0x1a9)][_0x3bcf0a(0x19e)][_0x3bcf0a(0x177)]),_0x857b3a=new _0x55156c({'name':/^h[1-5]$/}),_0x932cdb=[];let _0x50326a=!0x1;for(const _0x1adb50 of _0x59c4e2)_0x1adb50['is'](_0x3bcf0a(0x189))&&_0x857b3a[_0x3bcf0a(0x194)](_0x1adb50)&&(_0x932cdb[_0x3bcf0a(0x17d)](_0x1adb50),'h1'==_0x1adb50[_0x3bcf0a(0x1a0)]&&(_0x50326a=!0x0));if(_0x50326a){for(const _0x2c1650 of _0x932cdb)_0xb47385[_0x3bcf0a(0x185)]('h'+(parseInt(_0x2c1650[_0x3bcf0a(0x1a0)][0x1])+0x1),_0x2c1650);}}[_0x2fa035(0x191)](){const _0x2bb398=_0x2fa035,{data:_0x20a262,editing:_0xd90e4f}=this[_0x2bb398(0x14e)],_0x298612=_0x20a262[_0x2bb398(0x167)][_0x2bb398(0x179)](_0x2bb398(0x18d)),_0x4e4892=_0x20a262[_0x2bb398(0x179)](_0x20a262[_0x2bb398(0x15a)](_0x298612));return!!_0xd90e4f[_0x2bb398(0x19e)][_0x2bb398(0x16c)][_0x2bb398(0x17f)](_0x4e4892)[_0x2bb398(0x169)]('h1');}[_0x2fa035(0x151)](_0x3922e2){const _0x5e263b=_0x2fa035;return this[_0x5e263b(0x14e)][_0x5e263b(0x1a9)][_0x5e263b(0x19e)][_0x5e263b(0x16c)][_0x5e263b(0x1a3)](this[_0x5e263b(0x14a)],_0x3922e2),this[_0x5e263b(0x14a)][_0x5e263b(0x15c)];}[_0x2fa035(0x173)](_0x230a14){const _0x39cff7=_0x2fa035,_0x5545df=_0x230a14[_0x39cff7(0x18f)]();return _0x5545df[_0x39cff7(0x146)](_0x39cff7(0x149))?_0x5545df[_0x39cff7(0x157)](_0x39cff7(0x18b))?_0x5545df[_0x39cff7(0x174)](0x7,_0x5545df[_0x39cff7(0x17a)]-0x3):_0x5545df[_0x39cff7(0x174)](0x7):_0x230a14;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cfe89=_0x5857;(function(_0x43dade,_0x411ac2){const _0x25c2c6=_0x5857,_0x32d787=_0x43dade();while(!![]){try{const _0x3a5427=-parseInt(_0x25c2c6(0xcd))/0x1+-parseInt(_0x25c2c6(0x9b))/0x2*(parseInt(_0x25c2c6(0xd6))/0x3)+parseInt(_0x25c2c6(0x98))/0x4*(parseInt(_0x25c2c6(0xb8))/0x5)+parseInt(_0x25c2c6(0xa8))/0x6*(parseInt(_0x25c2c6(0xd4))/0x7)+parseInt(_0x25c2c6(0x9a))/0x8*(-parseInt(_0x25c2c6(0xc7))/0x9)+-parseInt(_0x25c2c6(0xe3))/0xa+-parseInt(_0x25c2c6(0xa7))/0xb*(-parseInt(_0x25c2c6(0xb4))/0xc);if(_0x3a5427===_0x411ac2)break;else _0x32d787['push'](_0x32d787['shift']());}catch(_0xc1a6bf){_0x32d787['push'](_0x32d787['shift']());}}}(_0x1161,0xc4242));import{global as _0x4f6ea3}from'ckeditor5/src/utils.js';import{View as _0x452513,ButtonView as _0x51f06b,SpinnerView as _0x96abe1}from'ckeditor5/src/ui.js';import{IconCheck as _0x2a1009,IconCopy as _0x8785a2}from'ckeditor5/src/icons.js';import{getTranslation as _0x356b94}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x452513{[_0x3cfe89(0xc1)];[_0x3cfe89(0xb9)];constructor(_0x4facdb,_0x2f5650=''){const _0x5071fd=_0x3cfe89;super(_0x4facdb),this[_0x5071fd(0xaf)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3b0e1b=this[_0x5071fd(0xa2)];this[_0x5071fd(0xc1)]=new ContentFieldView(_0x4facdb,_0x2f5650),this[_0x5071fd(0xb9)]=this[_0x5071fd(0xcb)](),this[_0x5071fd(0xac)]({'tag':_0x5071fd(0x9c),'attributes':{'class':['ck',_0x5071fd(0xc2),_0x3b0e1b['if'](_0x5071fd(0xe1),_0x5071fd(0xa5),_0x31b6f0=>!_0x31b6f0)],'tabindex':'-1'},'children':[{'tag':_0x5071fd(0x9c),'attributes':{'class':['ck',_0x5071fd(0xd9),_0x3b0e1b['if'](_0x5071fd(0xb3),_0x5071fd(0xd2))]},'children':[this[_0x5071fd(0xc1)],{'tag':_0x5071fd(0x9c),'attributes':{'class':['ck',_0x5071fd(0xe0)]},'children':[this[_0x5071fd(0xb9)]]}]}]});}[_0x3cfe89(0xd7)](){const _0x23a2d7=_0x3cfe89;super[_0x23a2d7(0xd7)](),this[_0x23a2d7(0xb1)]&&this[_0x23a2d7(0xc1)][_0x23a2d7(0xc3)](this[_0x23a2d7(0xb1)]);let _0x150aaa=!0x1;this['on'](_0x23a2d7(0xc5),(_0x3ab124,_0xbf114f,_0x337be2)=>{const _0x442a60=_0x23a2d7,_0x22780c=!this[_0x442a60(0xc1)][_0x442a60(0xca)][_0x442a60(0xce)](_0x442a60(0xa3));this[_0x442a60(0xc1)][_0x442a60(0xc3)](_0x337be2),this[_0x442a60(0xb3)]&&_0x22780c&&!_0x150aaa&&this[_0x442a60(0xca)][_0x442a60(0x93)]({'top':this[_0x442a60(0xca)][_0x442a60(0x95)],'behavior':_0x442a60(0xcf)});}),this['on'](_0x23a2d7(0xdc),(_0xba9ddc,_0x28e0b2,_0x2f460c)=>{const _0x19b71e=_0x23a2d7;_0x150aaa=!0x1,_0x2f460c?(this[_0x19b71e(0xb1)]=null,this[_0x19b71e(0xc1)][_0x19b71e(0xe2)]()):this[_0x19b71e(0xb1)]||this[_0x19b71e(0xc1)][_0x19b71e(0xc3)]('');}),this[_0x23a2d7(0xde)](this[_0x23a2d7(0xca)],_0x23a2d7(0xa4),()=>{_0x150aaa=!0x0;}),this[_0x23a2d7(0xde)](this[_0x23a2d7(0xca)],_0x23a2d7(0x99),()=>{_0x150aaa=!0x0;});}[_0x3cfe89(0xdd)](){const _0x1b4169=_0x3cfe89;this[_0x1b4169(0xca)][_0x1b4169(0xdd)]();}[_0x3cfe89(0xcb)](){const _0x577035=_0x3cfe89,_0x4246a5=this[_0x577035(0xd0)],_0x11fb8d=new _0x51f06b(this[_0x577035(0xd0)]),_0x5cbea3=_0x577035(0xc6);return _0x11fb8d[_0x577035(0xaf)]({'label':_0x356b94(_0x4246a5,_0x577035(0xc4)),'icon':_0x8785a2,'class':_0x5cbea3,'tooltip':!0x0}),_0x11fb8d[_0x577035(0xbe)](_0x577035(0xe1))['to'](this,_0x577035(0xb1),_0x4e2c02=>!!_0x4e2c02),_0x11fb8d[_0x577035(0xbe)](_0x577035(0xcc))['to'](this,_0x577035(0xb3),_0x30c537=>!_0x30c537),_0x11fb8d['on'](_0x577035(0xd1),()=>{const _0x31a8f4=_0x577035;this[_0x31a8f4(0xae)](this[_0x31a8f4(0xc1)][_0x31a8f4(0xca)]),_0x11fb8d[_0x31a8f4(0xa9)]=_0x2a1009,_0x11fb8d[_0x31a8f4(0x91)]=_0x5cbea3+_0x31a8f4(0xbc),this[_0x31a8f4(0xdd)](),setTimeout(()=>{const _0x1abf1e=_0x31a8f4;_0x11fb8d[_0x1abf1e(0xa9)]=_0x8785a2,_0x11fb8d[_0x1abf1e(0x91)]=_0x5cbea3;},0x3e8);}),_0x11fb8d;}[_0x3cfe89(0xae)](_0x549977){const _0xedabb9=_0x3cfe89,{window:_0x3cd98c,document:_0x4b58b2}=_0x4f6ea3;if(_0x3cd98c[_0xedabb9(0x9e)]){const {Blob:_0x60bb36,ClipboardItem:_0x274a24}=_0x3cd98c,_0x5d8ce6=[new _0x274a24({'text/html':new _0x60bb36([_0x549977[_0xedabb9(0xaa)]],{'type':_0xedabb9(0xb5)}),'text/plain':new _0x60bb36([_0x549977[_0xedabb9(0xab)]||''],{'type':_0xedabb9(0x9f)})})];navigator[_0xedabb9(0xb2)][_0xedabb9(0x97)](_0x5d8ce6);}else{const _0x16bc2f=_0x4b58b2[_0xedabb9(0x94)](_0xedabb9(0x9c));_0x16bc2f[_0xedabb9(0x9d)][_0xedabb9(0xbd)]=_0xedabb9(0xc0),_0x16bc2f[_0xedabb9(0x9d)][_0xedabb9(0xa6)]=_0xedabb9(0xad),_0x16bc2f[_0xedabb9(0xaa)]=_0xedabb9(0xc8)+_0x549977[_0xedabb9(0xaa)]+_0xedabb9(0xda),_0x4b58b2[_0xedabb9(0xa1)][_0xedabb9(0xe4)](_0x16bc2f);const _0x469216=_0x4b58b2[_0xedabb9(0xc9)]();_0x469216[_0xedabb9(0xba)](_0x16bc2f[_0xedabb9(0xd8)]),_0x469216[_0xedabb9(0x90)](_0x16bc2f[_0xedabb9(0xbb)]);const _0x239864=_0x3cd98c[_0xedabb9(0xdf)]();_0x239864[_0xedabb9(0xb0)](),_0x239864[_0xedabb9(0x92)](_0x469216),_0x4b58b2[_0xedabb9(0xdb)](_0xedabb9(0xb7)),_0x16bc2f[_0xedabb9(0x96)]();}}}export class ContentFieldView extends _0x452513{constructor(_0x3dd7b3,_0x4f0b6f=''){const _0x295fee=_0x3cfe89;super(_0x3dd7b3),this[_0x295fee(0xa0)]=this[_0x295fee(0xe6)](),this[_0x295fee(0xac)]({'tag':_0x295fee(0x9c),'attributes':{'class':['ck',_0x295fee(0xd5),_0x4f0b6f,_0x295fee(0xb6),_0x295fee(0xe5)]}});}[_0x3cfe89(0xc3)](_0x22c4d1){const _0x31db4f=_0x3cfe89;this[_0x31db4f(0xca)][_0x31db4f(0xaa)]=_0x22c4d1;}[_0x3cfe89(0xe2)](){const _0x4f1115=_0x3cfe89;this[_0x4f1115(0xca)][_0x4f1115(0xe4)](this[_0x4f1115(0xa0)][_0x4f1115(0xca)]);}[_0x3cfe89(0xe6)](){const _0x2596d9=_0x3cfe89,_0x1704b=new _0x452513(),_0x288b3b=this[_0x2596d9(0xd0)],_0x1b6c44=new _0x96abe1();return _0x1b6c44[_0x2596d9(0xe1)]=!0x0,_0x1704b[_0x2596d9(0xac)]({'tag':_0x2596d9(0x9c),'attributes':{'class':['ck',_0x2596d9(0xd3)]},'children':[_0x1b6c44,{'text':_0x356b94(_0x288b3b,_0x2596d9(0xbf))}]}),_0x1704b[_0x2596d9(0xd7)](),_0x1704b;}}function _0x5857(_0x877883,_0x657480){const _0x1161e7=_0x1161();return _0x5857=function(_0x585770,_0x177969){_0x585770=_0x585770-0x90;let _0x3d4a98=_0x1161e7[_0x585770];return _0x3d4a98;},_0x5857(_0x877883,_0x657480);}function _0x1161(){const _0x1cf1dc=['isEnabled','27063IrRFaT','querySelector','smooth','locale','execute','ck-ai-form__content-area--processing','ck-ai-form__loader','7qhenmX','ck-content','6HWhExg','render','firstElementChild','ck-ai-form__content-area','<span>]</span>','execCommand','change:isProcessing','focus','listenTo','getSelection','ck-ai-form__copy-button-wrapper','isVisible','appendLoader','9259490AULlLt','appendChild','ck-ai-form__content-field','_createLoader','setEndBefore','class','addRange','scrollTo','createElement','scrollHeight','remove','write','56RDSYYb','mousedown','19288TsvjxP','409918ivbhkR','div','style','ClipboardItem','text/plain','loaderView','body','bindTemplate','.ck-ai-form__loader','wheel','ck-hidden','left','207658vguMSN','348414hpvZBw','icon','innerHTML','textContent','setTemplate','-9999px','_copyHTMLToClipboard','set','removeAllRanges','value','clipboard','isProcessing','972CCTIup','text/html','ck-reset_all-excluded','copy','295525TDbIed','copyButtonView','setStartAfter','lastElementChild','\x20ck-ai-form__copy-button--copied','position','bind','AI\x20is\x20writing...','absolute','contentFieldView','ck-ai-form__content-area-wrapper','setContent','Copy','change:value','ck-ai-form__copy-button','927RaxZbh','<span>[</span>','createRange','element','_createCopyButton'];_0x1161=function(){return _0x1cf1dc;};return _0x1161();}
23
+ const _0x44c507=_0xdaa1;(function(_0x2879c4,_0x206abe){const _0x296020=_0xdaa1,_0x15185e=_0x2879c4();while(!![]){try{const _0x2c8099=parseInt(_0x296020(0x137))/0x1*(-parseInt(_0x296020(0x12e))/0x2)+parseInt(_0x296020(0x147))/0x3*(-parseInt(_0x296020(0x10c))/0x4)+-parseInt(_0x296020(0x102))/0x5*(parseInt(_0x296020(0x14e))/0x6)+parseInt(_0x296020(0x131))/0x7*(-parseInt(_0x296020(0x156))/0x8)+-parseInt(_0x296020(0x14b))/0x9+parseInt(_0x296020(0x11f))/0xa*(parseInt(_0x296020(0x14f))/0xb)+parseInt(_0x296020(0x149))/0xc;if(_0x2c8099===_0x206abe)break;else _0x15185e['push'](_0x15185e['shift']());}catch(_0x5d3454){_0x15185e['push'](_0x15185e['shift']());}}}(_0x1050,0x7e73a));import{global as _0x4d7b7a}from'ckeditor5/src/utils.js';import{View as _0x30c445,ButtonView as _0x55bf54,SpinnerView as _0x178f5f}from'ckeditor5/src/ui.js';function _0xdaa1(_0x212dd5,_0x48e02a){const _0x1050d8=_0x1050();return _0xdaa1=function(_0xdaa18e,_0x287a7d){_0xdaa18e=_0xdaa18e-0x101;let _0x234869=_0x1050d8[_0xdaa18e];return _0x234869;},_0xdaa1(_0x212dd5,_0x48e02a);}import{IconCheck as _0x124a19,IconCopy as _0x5bbe85}from'ckeditor5/src/icons.js';import{getTranslation as _0x518f5b}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x30c445{[_0x44c507(0x106)];[_0x44c507(0x10a)];constructor(_0x1c9187,_0x37c797=''){const _0x42a37a=_0x44c507;super(_0x1c9187),this[_0x42a37a(0x110)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x54d81a=this[_0x42a37a(0x11d)];this[_0x42a37a(0x106)]=new ContentFieldView(_0x1c9187,_0x37c797),this[_0x42a37a(0x10a)]=this[_0x42a37a(0x157)](),this[_0x42a37a(0x10b)]({'tag':_0x42a37a(0x114),'attributes':{'class':['ck',_0x42a37a(0x111),_0x54d81a['if'](_0x42a37a(0x11c),_0x42a37a(0x139),_0x31901f=>!_0x31901f)],'tabindex':'-1'},'children':[{'tag':_0x42a37a(0x114),'attributes':{'class':['ck',_0x42a37a(0x13c),_0x54d81a['if'](_0x42a37a(0x105),_0x42a37a(0x13a))]},'children':[this[_0x42a37a(0x106)],{'tag':_0x42a37a(0x114),'attributes':{'class':['ck',_0x42a37a(0x12a)]},'children':[this[_0x42a37a(0x10a)]]}]}]});}[_0x44c507(0x152)](){const _0xe3c102=_0x44c507;super[_0xe3c102(0x152)](),this[_0xe3c102(0x14d)]&&this[_0xe3c102(0x106)][_0xe3c102(0x150)](this[_0xe3c102(0x14d)]);let _0x511b8d=!0x1;this['on'](_0xe3c102(0x144),(_0x12e9eb,_0x3d95ce,_0x5bb318)=>{const _0x337549=_0xe3c102,_0x1683cb=!this[_0x337549(0x106)][_0x337549(0x115)][_0x337549(0x132)](_0x337549(0x12c));this[_0x337549(0x106)][_0x337549(0x150)](_0x5bb318),this[_0x337549(0x105)]&&_0x1683cb&&!_0x511b8d&&this[_0x337549(0x115)][_0x337549(0x122)]({'top':this[_0x337549(0x115)][_0x337549(0x12b)],'behavior':_0x337549(0x146)});}),this['on'](_0xe3c102(0x138),(_0x631748,_0x397be3,_0x295341)=>{const _0x32a76a=_0xe3c102;_0x511b8d=!0x1,_0x295341?(this[_0x32a76a(0x14d)]=null,this[_0x32a76a(0x106)][_0x32a76a(0x112)]()):this[_0x32a76a(0x14d)]||this[_0x32a76a(0x106)][_0x32a76a(0x150)]('');}),this[_0xe3c102(0x108)](this[_0xe3c102(0x115)],_0xe3c102(0x140),()=>{_0x511b8d=!0x0;}),this[_0xe3c102(0x108)](this[_0xe3c102(0x115)],_0xe3c102(0x10e),()=>{_0x511b8d=!0x0;});}[_0x44c507(0x134)](){const _0x42d387=_0x44c507;this[_0x42d387(0x115)][_0x42d387(0x134)]();}[_0x44c507(0x157)](){const _0x526a8f=_0x44c507,_0x5c98d2=this[_0x526a8f(0x13f)],_0x1e8f62=new _0x55bf54(this[_0x526a8f(0x13f)]),_0x54eca6=_0x526a8f(0x101);return _0x1e8f62[_0x526a8f(0x110)]({'label':_0x518f5b(_0x5c98d2,_0x526a8f(0x128)),'icon':_0x5bbe85,'class':_0x54eca6,'tooltip':!0x0}),_0x1e8f62[_0x526a8f(0x129)](_0x526a8f(0x11c))['to'](this,_0x526a8f(0x14d),_0xb79240=>!!_0xb79240),_0x1e8f62[_0x526a8f(0x129)](_0x526a8f(0x154))['to'](this,_0x526a8f(0x105),_0x1be901=>!_0x1be901),_0x1e8f62['on'](_0x526a8f(0x13b),()=>{const _0x564362=_0x526a8f;this[_0x564362(0x10d)](this[_0x564362(0x106)][_0x564362(0x115)]),_0x1e8f62[_0x564362(0x103)]=_0x124a19,_0x1e8f62[_0x564362(0x130)]=_0x54eca6+_0x564362(0x151),this[_0x564362(0x134)](),setTimeout(()=>{const _0xf64061=_0x564362;_0x1e8f62[_0xf64061(0x103)]=_0x5bbe85,_0x1e8f62[_0xf64061(0x130)]=_0x54eca6;},0x3e8);}),_0x1e8f62;}[_0x44c507(0x10d)](_0x5717bb){const _0x17cd57=_0x44c507,{window:_0xdb9c4d,document:_0x1b0801}=_0x4d7b7a;if(_0xdb9c4d[_0x17cd57(0x119)]){const {Blob:_0x1977bc,ClipboardItem:_0x49947f}=_0xdb9c4d,_0x16428b=[new _0x49947f({'text/html':new _0x1977bc([_0x5717bb[_0x17cd57(0x116)]],{'type':_0x17cd57(0x107)}),'text/plain':new _0x1977bc([_0x5717bb[_0x17cd57(0x142)]||''],{'type':_0x17cd57(0x133)})})];navigator[_0x17cd57(0x11e)][_0x17cd57(0x136)](_0x16428b);}else{const _0x2a7ebd=_0x1b0801[_0x17cd57(0x135)](_0x17cd57(0x114));_0x2a7ebd[_0x17cd57(0x14a)][_0x17cd57(0x145)]=_0x17cd57(0x113),_0x2a7ebd[_0x17cd57(0x14a)][_0x17cd57(0x13e)]=_0x17cd57(0x14c),_0x2a7ebd[_0x17cd57(0x116)]=_0x17cd57(0x10f)+_0x5717bb[_0x17cd57(0x116)]+_0x17cd57(0x11a),_0x1b0801[_0x17cd57(0x12d)][_0x17cd57(0x124)](_0x2a7ebd);const _0x196a81=_0x1b0801[_0x17cd57(0x126)]();_0x196a81[_0x17cd57(0x155)](_0x2a7ebd[_0x17cd57(0x127)]),_0x196a81[_0x17cd57(0x117)](_0x2a7ebd[_0x17cd57(0x153)]);const _0x3ae123=_0xdb9c4d[_0x17cd57(0x118)]();_0x3ae123[_0x17cd57(0x141)](),_0x3ae123[_0x17cd57(0x12f)](_0x196a81),_0x1b0801[_0x17cd57(0x11b)](_0x17cd57(0x109)),_0x2a7ebd[_0x17cd57(0x104)]();}}}function _0x1050(){const _0x27a851=['listenTo','copy','copyButtonView','setTemplate','1286876xjkjMQ','_copyHTMLToClipboard','mousedown','<span>[</span>','set','ck-ai-form__content-area-wrapper','appendLoader','absolute','div','element','innerHTML','setEndBefore','getSelection','ClipboardItem','<span>]</span>','execCommand','isVisible','bindTemplate','clipboard','7744260GxndTq','ck-ai-form__loader','ck-ai-form__content-field','scrollTo','AI\x20is\x20writing...','appendChild','loaderView','createRange','firstElementChild','Copy','bind','ck-ai-form__copy-button-wrapper','scrollHeight','.ck-ai-form__loader','body','2csHtvJ','addRange','class','3556fmtRKO','querySelector','text/plain','focus','createElement','write','41507XXShLq','change:isProcessing','ck-hidden','ck-ai-form__content-area--processing','execute','ck-ai-form__content-area','ck-reset_all-excluded','left','locale','wheel','removeAllRanges','textContent','ck-content','change:value','position','smooth','3jbToBM','_createLoader','8096976qiykue','style','1787778IdBFKL','-9999px','value','852IzgKir','11IZZXck','setContent','\x20ck-ai-form__copy-button--copied','render','lastElementChild','isEnabled','setStartAfter','2440gHnBCZ','_createCopyButton','ck-ai-form__copy-button','7550agMNqT','icon','remove','isProcessing','contentFieldView','text/html'];_0x1050=function(){return _0x27a851;};return _0x1050();}export class ContentFieldView extends _0x30c445{constructor(_0x4a47a4,_0x446af2=''){const _0x4781c1=_0x44c507;super(_0x4a47a4),this[_0x4781c1(0x125)]=this[_0x4781c1(0x148)](),this[_0x4781c1(0x10b)]({'tag':_0x4781c1(0x114),'attributes':{'class':['ck',_0x4781c1(0x143),_0x446af2,_0x4781c1(0x13d),_0x4781c1(0x121)]}});}[_0x44c507(0x150)](_0x22d4dd){const _0x20a82e=_0x44c507;this[_0x20a82e(0x115)][_0x20a82e(0x116)]=_0x22d4dd;}[_0x44c507(0x112)](){const _0x4e3867=_0x44c507;this[_0x4e3867(0x115)][_0x4e3867(0x124)](this[_0x4e3867(0x125)][_0x4e3867(0x115)]);}[_0x44c507(0x148)](){const _0x36be76=_0x44c507,_0x541bad=new _0x30c445(),_0x411f55=this[_0x36be76(0x13f)],_0x589e0e=new _0x178f5f();return _0x589e0e[_0x36be76(0x11c)]=!0x0,_0x541bad[_0x36be76(0x10b)]({'tag':_0x36be76(0x114),'attributes':{'class':['ck',_0x36be76(0x120)]},'children':[_0x589e0e,{'text':_0x518f5b(_0x411f55,_0x36be76(0x123))}]}),_0x541bad[_0x36be76(0x152)](),_0x541bad;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x44e010,_0x236f37){const _0x369923=_0x3178,_0x2a9de3=_0x44e010();while(!![]){try{const _0xaff436=-parseInt(_0x369923(0x9d))/0x1+-parseInt(_0x369923(0x90))/0x2*(-parseInt(_0x369923(0x9a))/0x3)+-parseInt(_0x369923(0x9b))/0x4+-parseInt(_0x369923(0x8d))/0x5+-parseInt(_0x369923(0x92))/0x6*(parseInt(_0x369923(0x98))/0x7)+parseInt(_0x369923(0x8c))/0x8*(-parseInt(_0x369923(0x9c))/0x9)+parseInt(_0x369923(0x8e))/0xa*(parseInt(_0x369923(0x91))/0xb);if(_0xaff436===_0x236f37)break;else _0x2a9de3['push'](_0x2a9de3['shift']());}catch(_0x3748b9){_0x2a9de3['push'](_0x2a9de3['shift']());}}}(_0x368b,0x65e1b));import{IconError as _0x2fd3a4}from'ckeditor5/src/icons.js';import{View as _0x4d6d43,IconView as _0x1b667c}from'ckeditor5/src/ui.js';function _0x368b(){const _0x11b2bd=['6TmbTWR','setTemplate','text','set','div','bindTemplate','192059izHbfk','ck-ai-form__error','3DJRjUu','2713628HGnSSd','7486515NXIonw','772716XdWhBL','8vGGwkh','3966790IfazEj','4580JMAQQR','content','667676itVWcv','76549aapHpq'];_0x368b=function(){return _0x11b2bd;};return _0x368b();}function _0x3178(_0x1a5d2c,_0x10be3c){const _0x368bca=_0x368b();return _0x3178=function(_0x31783b,_0x492282){_0x31783b=_0x31783b-0x8c;let _0x38caad=_0x368bca[_0x31783b];return _0x38caad;},_0x3178(_0x1a5d2c,_0x10be3c);}export class AIFormErrorView extends _0x4d6d43{constructor(_0x5c4a86,_0x58cce4=''){const _0x4fb47a=_0x3178;super(_0x5c4a86);const _0x107715=new _0x1b667c(),_0x10ce89=this[_0x4fb47a(0x97)];this[_0x4fb47a(0x95)](_0x4fb47a(0x94),_0x58cce4),_0x107715[_0x4fb47a(0x8f)]=_0x2fd3a4,this[_0x4fb47a(0x93)]({'tag':_0x4fb47a(0x96),'attributes':{'class':['ck',_0x4fb47a(0x99)]},'children':[_0x107715,{'text':_0x10ce89['to'](_0x4fb47a(0x94))}]});}}
23
+ (function(_0x2ffd5c,_0x21b2d8){const _0x13b6ed=_0x345f,_0x6f88d7=_0x2ffd5c();while(!![]){try{const _0x315ca9=parseInt(_0x13b6ed(0x9f))/0x1+parseInt(_0x13b6ed(0xa8))/0x2*(-parseInt(_0x13b6ed(0xaa))/0x3)+parseInt(_0x13b6ed(0xac))/0x4+-parseInt(_0x13b6ed(0xa1))/0x5*(parseInt(_0x13b6ed(0xa7))/0x6)+-parseInt(_0x13b6ed(0xab))/0x7*(-parseInt(_0x13b6ed(0xb0))/0x8)+-parseInt(_0x13b6ed(0xad))/0x9*(-parseInt(_0x13b6ed(0xaf))/0xa)+parseInt(_0x13b6ed(0xa5))/0xb;if(_0x315ca9===_0x21b2d8)break;else _0x6f88d7['push'](_0x6f88d7['shift']());}catch(_0x3f8e46){_0x6f88d7['push'](_0x6f88d7['shift']());}}}(_0x1a2c,0x497e5));function _0x345f(_0x51c16e,_0x9ba93b){const _0x1a2c3d=_0x1a2c();return _0x345f=function(_0x345f87,_0x252a3f){_0x345f87=_0x345f87-0x9f;let _0x343570=_0x1a2c3d[_0x345f87];return _0x343570;},_0x345f(_0x51c16e,_0x9ba93b);}function _0x1a2c(){const _0x5de050=['2151965GiidhO','text','setTemplate','content','1351625CdHRgs','ck-ai-form__error','6XVJQnz','49752fWcQbV','set','36PchGSF','161JFVeji','1668240QDdNRC','36513kVBABM','bindTemplate','880RDAxmg','38632arGrfj','21916jTUAUR','div'];_0x1a2c=function(){return _0x5de050;};return _0x1a2c();}import{IconError as _0x559659}from'ckeditor5/src/icons.js';import{View as _0x3daec5,IconView as _0x46ab2a}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x3daec5{constructor(_0x1d639e,_0x4c0022=''){const _0xef1ad2=_0x345f;super(_0x1d639e);const _0x55edb6=new _0x46ab2a(),_0x1ef07b=this[_0xef1ad2(0xae)];this[_0xef1ad2(0xa9)](_0xef1ad2(0xa2),_0x4c0022),_0x55edb6[_0xef1ad2(0xa4)]=_0x559659,this[_0xef1ad2(0xa3)]({'tag':_0xef1ad2(0xa0),'attributes':{'class':['ck',_0xef1ad2(0xa6)]},'children':[_0x55edb6,{'text':_0x1ef07b['to'](_0xef1ad2(0xa2))}]});}}