@ckeditor/ckeditor5-ai 46.0.0 → 46.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x294585=_0x132b;(function(_0x1d136e,_0x5455fd){const _0x174e01=_0x132b,_0x4c75f8=_0x1d136e();while(!![]){try{const _0x4eb468=parseInt(_0x174e01(0x156))/0x1+parseInt(_0x174e01(0x168))/0x2+parseInt(_0x174e01(0x151))/0x3+-parseInt(_0x174e01(0x136))/0x4+parseInt(_0x174e01(0x183))/0x5+-parseInt(_0x174e01(0x165))/0x6+parseInt(_0x174e01(0x161))/0x7*(parseInt(_0x174e01(0x155))/0x8);if(_0x4eb468===_0x5455fd)break;else _0x4c75f8['push'](_0x4c75f8['shift']());}catch(_0x4cad40){_0x4c75f8['push'](_0x4c75f8['shift']());}}}(_0x8bd1,0x2d775));function _0x8bd1(){const _0x551299=['business','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Poetic','Journalism','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Hindi','Direct','ai.aiAssistant.removeCommands','filter','simplifyLanguage','translateHindi','translateFrench','1120385CucVLr','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','makeLonger','improveWriting','push','English','config','changeTone','makeShorter','Portuguese','concat','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Edit\x20or\x20review','summarize','ai.aiAssistant.preserveComments','Casual','Translate\x20the\x20content\x20to\x20French\x20language.','Change\x20tone','forEach','translateArabic','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','isPremiumPlugin','includes','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Confident','translateSpanish','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Spanish','translatePortuguese','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','poetic','Simplified\x20Chinese','1272288pWkiCg','casual','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Change\x20style','Improve\x20writing','Continue','requires','translateEnglish','professional','journalism','editOrReview','Simplify\x20language','Translate\x20the\x20content\x20to\x20Hindi\x20language.','set','Arabic','translateGerman','define','Translate\x20the\x20content\x20to\x20Spanish\x20language.','get','translate','find','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','legal','Translate\x20the\x20content\x20to\x20German\x20language.','Summarize','Business','German','354954qOnxao','Translate','generate','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','6304HZfzGS','72933hjwkEo','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','ai.aiAssistant.extraCommandGroups','Generate\x20from\x20selection','translateChinese','changeStyle','locale','continue','Make\x20shorter','commands','1638OSyhou','isOfficialPlugin','Translate\x20the\x20content\x20to\x20English\x20language.','groupId','1341306xTObQc','friendly','Friendly','256264xpMcMG','French','confident','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','AIAssistant','Legal','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Professional','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','ai.aiAssistant.commands','Make\x20longer','direct','Translate\x20the\x20content\x20to\x20Arabic\x20language.','pluginName'];_0x8bd1=function(){return _0x551299;};return _0x8bd1();}import{Plugin as _0x50930e}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x33cdd9}from'./aiassistantui.js';import{AIAssistantEditing as _0x27acfc}from'./aiassistantediting.js';import{getTranslation as _0x50a1c2}from'./utils/common-translations.js';function _0x132b(_0x1b78ec,_0x91f364){const _0x8bd1cc=_0x8bd1();return _0x132b=function(_0x132b07,_0x4705c1){_0x132b07=_0x132b07-0x126;let _0x27ea12=_0x8bd1cc[_0x132b07];return _0x27ea12;},_0x132b(_0x1b78ec,_0x91f364);}import{normalizeCommandsConfig as _0x137c91}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x50930e{static get[_0x294585(0x13c)](){return[_0x33cdd9,_0x27acfc];}static get[_0x294585(0x176)](){const _0x29917d=_0x294585;return _0x29917d(0x16c);}static get[_0x294585(0x162)](){return!0x0;}static get[_0x294585(0x12b)](){return!0x0;}constructor(_0x537880){const _0x1783d2=_0x294585;super(_0x537880);const _0x3fe1ea=_0x537880[_0x1783d2(0x189)],_0x792b6a=_0x537880[_0x1783d2(0x15d)];_0x3fe1ea[_0x1783d2(0x146)](_0x1783d2(0x191),!0x0),_0x3fe1ea[_0x1783d2(0x146)](_0x1783d2(0x172),getDefaultAICommands(_0x792b6a)),_0x3fe1ea[_0x1783d2(0x146)](_0x1783d2(0x159),[]),_0x3fe1ea[_0x1783d2(0x146)](_0x1783d2(0x17e),[]);let _0x55da87=_0x137c91(_0x3fe1ea[_0x1783d2(0x148)](_0x1783d2(0x172)),_0x792b6a);const _0x33ef8f=_0x3fe1ea[_0x1783d2(0x148)](_0x1783d2(0x159)),_0x292705=_0x3fe1ea[_0x1783d2(0x148)](_0x1783d2(0x17e));_0x33ef8f[_0x1783d2(0x128)](_0x54ddc4=>{const _0x3172b7=_0x1783d2,_0x57d432=_0x55da87[_0x3172b7(0x14a)](_0x1b9d83=>_0x1b9d83[_0x3172b7(0x164)]===_0x54ddc4[_0x3172b7(0x164)]);_0x57d432?_0x57d432[_0x3172b7(0x160)]=_0x57d432[_0x3172b7(0x160)][_0x3172b7(0x18d)](_0x54ddc4[_0x3172b7(0x160)]):_0x55da87[_0x3172b7(0x187)](_0x54ddc4);}),_0x55da87=_0x55da87[_0x1783d2(0x17f)](_0x59555c=>!_0x292705[_0x1783d2(0x12c)](_0x59555c[_0x1783d2(0x164)])),_0x55da87[_0x1783d2(0x128)](_0x1803c1=>{const _0x53980f=_0x1783d2;_0x1803c1[_0x53980f(0x160)]=_0x1803c1[_0x53980f(0x160)][_0x53980f(0x17f)](_0x43913d=>!_0x292705[_0x53980f(0x12c)](_0x43913d['id']));}),_0x3fe1ea[_0x1783d2(0x143)](_0x1783d2(0x172),_0x55da87);}}export function getDefaultAICommands(_0x467b4b){const _0x44a1fd=_0x294585;return[{'groupId':_0x44a1fd(0x140),'groupLabel':_0x50a1c2(_0x467b4b,_0x44a1fd(0x18f)),'commands':[{'id':_0x44a1fd(0x186),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x13a)),'prompt':_0x44a1fd(0x171)},{'id':_0x44a1fd(0x18b),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x15f)),'prompt':_0x44a1fd(0x16e)},{'id':_0x44a1fd(0x185),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x173)),'prompt':_0x44a1fd(0x138)},{'id':_0x44a1fd(0x180),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x141)),'prompt':_0x44a1fd(0x184)}]},{'groupId':_0x44a1fd(0x153),'groupLabel':_0x50a1c2(_0x467b4b,_0x44a1fd(0x15a)),'commands':[{'id':_0x44a1fd(0x190),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x14e)),'prompt':_0x44a1fd(0x12a)},{'id':_0x44a1fd(0x15e),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x13b)),'prompt':_0x44a1fd(0x16f)}]},{'groupId':_0x44a1fd(0x18a),'groupLabel':_0x50a1c2(_0x467b4b,_0x44a1fd(0x127)),'commands':[{'id':_0x44a1fd(0x13e),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x170)),'prompt':_0x44a1fd(0x157)},{'id':_0x44a1fd(0x137),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x192)),'prompt':_0x44a1fd(0x158)},{'id':_0x44a1fd(0x174),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x17d)),'prompt':_0x44a1fd(0x130)},{'id':_0x44a1fd(0x16a),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x12e)),'prompt':_0x44a1fd(0x17b)},{'id':_0x44a1fd(0x166),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x167)),'prompt':_0x44a1fd(0x18e)}]},{'groupId':_0x44a1fd(0x15c),'groupLabel':_0x50a1c2(_0x467b4b,_0x44a1fd(0x139)),'commands':[{'id':_0x44a1fd(0x177),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x14f)),'prompt':_0x44a1fd(0x12d)},{'id':_0x44a1fd(0x14c),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x16d)),'prompt':_0x44a1fd(0x154)},{'id':_0x44a1fd(0x13f),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x17a)),'prompt':_0x44a1fd(0x14b)},{'id':_0x44a1fd(0x134),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x179)),'prompt':_0x44a1fd(0x16b)}]},{'groupId':_0x44a1fd(0x149),'groupLabel':_0x50a1c2(_0x467b4b,_0x44a1fd(0x152)),'commands':[{'id':_0x44a1fd(0x13d),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x188)),'prompt':_0x44a1fd(0x163)},{'id':_0x44a1fd(0x12f),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x131)),'prompt':_0x44a1fd(0x147)},{'id':_0x44a1fd(0x132),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x18c)),'prompt':_0x44a1fd(0x178)},{'id':_0x44a1fd(0x145),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x150)),'prompt':_0x44a1fd(0x14d)},{'id':_0x44a1fd(0x182),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x169)),'prompt':_0x44a1fd(0x126)},{'id':_0x44a1fd(0x15b),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x135)),'prompt':_0x44a1fd(0x133)},{'id':_0x44a1fd(0x181),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x17c)),'prompt':_0x44a1fd(0x142)},{'id':_0x44a1fd(0x129),'label':_0x50a1c2(_0x467b4b,_0x44a1fd(0x144)),'prompt':_0x44a1fd(0x175)}]}];}
23
+ function _0x45dc(_0x4be047,_0x24dcb2){const _0xe3b79e=_0xe3b7();return _0x45dc=function(_0x45dceb,_0xc108){_0x45dceb=_0x45dceb-0x188;let _0x437e4b=_0xe3b79e[_0x45dceb];return _0x437e4b;},_0x45dc(_0x4be047,_0x24dcb2);}const _0x1517de=_0x45dc;(function(_0x3aba04,_0x3041e2){const _0x4128f8=_0x45dc,_0x2299ef=_0x3aba04();while(!![]){try{const _0x559616=parseInt(_0x4128f8(0x18e))/0x1+parseInt(_0x4128f8(0x1b0))/0x2*(parseInt(_0x4128f8(0x19b))/0x3)+-parseInt(_0x4128f8(0x1a7))/0x4+parseInt(_0x4128f8(0x1ed))/0x5*(parseInt(_0x4128f8(0x1a6))/0x6)+-parseInt(_0x4128f8(0x19d))/0x7*(parseInt(_0x4128f8(0x1d1))/0x8)+parseInt(_0x4128f8(0x1c2))/0x9*(-parseInt(_0x4128f8(0x1d9))/0xa)+parseInt(_0x4128f8(0x1f8))/0xb*(parseInt(_0x4128f8(0x1d6))/0xc);if(_0x559616===_0x3041e2)break;else _0x2299ef['push'](_0x2299ef['shift']());}catch(_0x2ef90e){_0x2299ef['push'](_0x2299ef['shift']());}}}(_0xe3b7,0x40201));import{Plugin as _0x2c9297}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x54f230}from'./aiassistantui.js';import{AIAssistantEditing as _0x9df632}from'./aiassistantediting.js';import{getTranslation as _0x29f1f8}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x168db8}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x2c9297{static get[_0x1517de(0x1a5)](){return[_0x54f230,_0x9df632];}static get[_0x1517de(0x1e8)](){const _0x16b12a=_0x1517de;return _0x16b12a(0x1bb);}static get[_0x1517de(0x1cf)](){return!0x0;}static get[_0x1517de(0x1e9)](){return!0x0;}constructor(_0x2158b3){const _0x723a5f=_0x1517de;super(_0x2158b3);const _0x9a5222=_0x2158b3[_0x723a5f(0x191)],_0xb4857a=_0x2158b3[_0x723a5f(0x1a2)];_0x9a5222[_0x723a5f(0x1c1)](_0x723a5f(0x1ef),!0x0),_0x9a5222[_0x723a5f(0x1c1)](_0x723a5f(0x1f4),getDefaultAICommands(_0xb4857a)),_0x9a5222[_0x723a5f(0x1c1)](_0x723a5f(0x18b),[]),_0x9a5222[_0x723a5f(0x1c1)](_0x723a5f(0x192),[]);let _0x53ca99=_0x168db8(_0x9a5222[_0x723a5f(0x1eb)](_0x723a5f(0x1f4)),_0xb4857a);const _0x30066d=_0x9a5222[_0x723a5f(0x1eb)](_0x723a5f(0x18b)),_0x5ae9d8=_0x9a5222[_0x723a5f(0x1eb)](_0x723a5f(0x192));_0x30066d[_0x723a5f(0x1de)](_0x1613bf=>{const _0x53b1d0=_0x723a5f,_0x4e5912=_0x53ca99[_0x53b1d0(0x199)](_0xf1a159=>_0xf1a159[_0x53b1d0(0x1b2)]===_0x1613bf[_0x53b1d0(0x1b2)]);_0x4e5912?_0x4e5912[_0x53b1d0(0x1f1)]=_0x4e5912[_0x53b1d0(0x1f1)][_0x53b1d0(0x1e7)](_0x1613bf[_0x53b1d0(0x1f1)]):_0x53ca99[_0x53b1d0(0x1f5)](_0x1613bf);}),_0x53ca99=_0x53ca99[_0x723a5f(0x1ec)](_0x8f22f=>!_0x5ae9d8[_0x723a5f(0x1df)](_0x8f22f[_0x723a5f(0x1b2)])),_0x53ca99[_0x723a5f(0x1de)](_0x41025c=>{const _0x3dfcec=_0x723a5f;_0x41025c[_0x3dfcec(0x1f1)]=_0x41025c[_0x3dfcec(0x1f1)][_0x3dfcec(0x1ec)](_0x574200=>!_0x5ae9d8[_0x3dfcec(0x1df)](_0x574200['id']));}),_0x9a5222[_0x723a5f(0x1b6)](_0x723a5f(0x1f4),_0x53ca99);}}export function getDefaultAICommands(_0x50a0f9){const _0x274e4b=_0x1517de;return[{'groupId':_0x274e4b(0x194),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1d0)),'commands':[{'id':_0x274e4b(0x188),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x18d)),'prompt':_0x274e4b(0x1bf)},{'id':_0x274e4b(0x1b5),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1b4)),'prompt':_0x274e4b(0x1b3)},{'id':_0x274e4b(0x1b9),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1c4)),'prompt':_0x274e4b(0x1f3)},{'id':_0x274e4b(0x189),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1da)),'prompt':_0x274e4b(0x1e0)}]},{'groupId':_0x274e4b(0x1f6),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1d5)),'commands':[{'id':_0x274e4b(0x1dd),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1e5)),'prompt':_0x274e4b(0x1ad)},{'id':_0x274e4b(0x1a3),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1d7)),'prompt':_0x274e4b(0x1d3)}]},{'groupId':_0x274e4b(0x19f),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ee)),'commands':[{'id':_0x274e4b(0x1cb),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1d4)),'prompt':_0x274e4b(0x18f)},{'id':_0x274e4b(0x1ca),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x19a)),'prompt':_0x274e4b(0x1a9)},{'id':_0x274e4b(0x1f0),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x196)),'prompt':_0x274e4b(0x1cc)},{'id':_0x274e4b(0x1d8),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ea)),'prompt':_0x274e4b(0x1c9)},{'id':_0x274e4b(0x1be),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x190)),'prompt':_0x274e4b(0x19e)}]},{'groupId':_0x274e4b(0x1c6),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1b7)),'commands':[{'id':_0x274e4b(0x1d2),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1c3)),'prompt':_0x274e4b(0x1e4)},{'id':_0x274e4b(0x1e2),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1dc)),'prompt':_0x274e4b(0x1af)},{'id':_0x274e4b(0x1a4),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ba)),'prompt':_0x274e4b(0x1bd)},{'id':_0x274e4b(0x1a1),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ab)),'prompt':_0x274e4b(0x1e3)}]},{'groupId':_0x274e4b(0x1c7),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1a8)),'commands':[{'id':_0x274e4b(0x197),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ac)),'prompt':_0x274e4b(0x1b8)},{'id':_0x274e4b(0x1e6),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1f2)),'prompt':_0x274e4b(0x195)},{'id':_0x274e4b(0x1f7),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1aa)),'prompt':_0x274e4b(0x1b1)},{'id':_0x274e4b(0x1ce),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x198)),'prompt':_0x274e4b(0x18a)},{'id':_0x274e4b(0x1ae),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1c5)),'prompt':_0x274e4b(0x19c)},{'id':_0x274e4b(0x1db),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1a0)),'prompt':_0x274e4b(0x1c0)},{'id':_0x274e4b(0x18c),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1e1)),'prompt':_0x274e4b(0x1c8)},{'id':_0x274e4b(0x193),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1cd)),'prompt':_0x274e4b(0x1bc)}]}];}function _0xe3b7(){const _0x26b2cf=['direct','commands','Spanish','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','ai.aiAssistant.commands','push','generate','translatePortuguese','833943odwnLX','improveWriting','simplifyLanguage','Translate\x20the\x20content\x20to\x20German\x20language.','ai.aiAssistant.extraCommandGroups','translateHindi','Improve\x20writing','218977tKTShz','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Friendly','config','ai.aiAssistant.removeCommands','translateArabic','editOrReview','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Direct','translateEnglish','German','find','Casual','75hTNzWK','Translate\x20the\x20content\x20to\x20French\x20language.','1478897kOtCQY','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','changeTone','Simplified\x20Chinese','poetic','locale','continue','journalism','requires','412596qqzPKG','1921744fLKSsu','Translate','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Portuguese','Poetic','English','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateFrench','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','34786fMrsFz','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','groupId','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Make\x20shorter','makeShorter','set','Change\x20style','Translate\x20the\x20content\x20to\x20English\x20language.','makeLonger','Journalism','AIAssistant','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','friendly','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','define','378fSEYbJ','Business','Make\x20longer','French','changeStyle','translate','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','casual','professional','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Arabic','translateGerman','isOfficialPlugin','Edit\x20or\x20review','16iIYOKL','business','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Professional','Generate\x20from\x20selection','108celZXv','Continue','confident','89710KkFRFr','Simplify\x20language','translateChinese','Legal','summarize','forEach','includes','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Hindi','legal','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Summarize','translateSpanish','concat','pluginName','isPremiumPlugin','Confident','get','filter','15iWupZz','Change\x20tone','ai.aiAssistant.preserveComments'];_0xe3b7=function(){return _0x26b2cf;};return _0xe3b7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54e27a=_0x52a9;(function(_0x3c63c8,_0x4d460f){const _0x1ed85d=_0x52a9,_0x55dc99=_0x3c63c8();while(!![]){try{const _0x278b4c=parseInt(_0x1ed85d(0x11e))/0x1+-parseInt(_0x1ed85d(0x130))/0x2*(parseInt(_0x1ed85d(0xf0))/0x3)+parseInt(_0x1ed85d(0x10d))/0x4+parseInt(_0x1ed85d(0x145))/0x5*(-parseInt(_0x1ed85d(0x118))/0x6)+parseInt(_0x1ed85d(0x148))/0x7*(parseInt(_0x1ed85d(0x13e))/0x8)+-parseInt(_0x1ed85d(0xe1))/0x9+parseInt(_0x1ed85d(0x122))/0xa*(parseInt(_0x1ed85d(0x106))/0xb);if(_0x278b4c===_0x4d460f)break;else _0x55dc99['push'](_0x55dc99['shift']());}catch(_0xc90a3f){_0x55dc99['push'](_0x55dc99['shift']());}}}(_0x3932,0x1abb8));import{uid as _0x35bc1c}from'ckeditor5/src/utils.js';import{Plugin as _0x398099}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xe5a4a2}from'ckeditor5/src/clipboard.js';function _0x3932(){const _0xff414e=['createPositionAfter','hideFakeVisualSelection','getSelectedTableCells','getRows','findAncestor','editing','data','createUIElement','_createEmptyTableRows','pluginName','filter','32mXJuYj','_getAISelection','config','table','editor','from','has','65zOKjIQ','conversion','getColumnIndexes','371294jNsNZc','plugins','showFakeVisualSelection','insertContent','getFirstRange','markerToElement','createRange','off','1509354VGUMQV','map','setSelection','change','_getTableRowCountFromContent','lowest','last','end','init','getRange','createPositionAt','createSelection','model','ck-fake-ai-selection','element','297039OreIjy','getLastPosition','getMarkersGroup','resultRange','join','once','selection','setData','getChild','isPremiumPlugin','updateMarker','canEditAt','pop','parse','ck-fake-ai-selection_collapsed','editingDowncast','_resetContentOfSelectedTableCells','contentInsertion','markers','ai.useTheme','isContent','forEach','720621MhhoXo','afterInit','TableUtils','insertRows','getChildren','text/html','getRowIndexes','794852QVQOok','getSelectedBlocks','push','href','addClass','_getDefaultInsertBelowPosition','_pasteHTMLUsingClipboard','removeMarker','paste','isAtEnd','AIAssistantEditing','81246uUpwGS','deleteContent','document','markerRange','get','isCollapsed','10345joiorl','addMarker','insertContentBelow','isOfficialPlugin','20hLALex','ai-ui','DataTransfer','fire','_prepareTableInsertBelowPosition','span','ck-ai-assistant-ui_theme','length','for','getLastMatchingPosition','start','first','schema','markerToHighlight','2kIAOgX','getRanges','fromCharCode'];_0x3932=function(){return _0xff414e;};return _0x3932();}import{ViewDocumentDomEventData as _0x26d4ee,ViewDataTransfer as _0x1e7624}from'ckeditor5/src/engine.js';function _0x52a9(_0x7fd1b9,_0x42ed8c){const _0x3932f7=_0x3932();return _0x52a9=function(_0x52a9ad,_0x4743c5){_0x52a9ad=_0x52a9ad-0xe0;let _0xdfbfb7=_0x3932f7[_0x52a9ad];return _0xdfbfb7;},_0x52a9(_0x7fd1b9,_0x42ed8c);}const l=globalThis[_0x54e27a(0x124)],w=_0x54e27a(0x123);export class AIAssistantEditing extends _0x398099{static get[_0x54e27a(0x13c)](){const _0x45139a=_0x54e27a;return _0x45139a(0x117);}static get[_0x54e27a(0x121)](){return!0x0;}static get[_0x54e27a(0xf9)](){return!0x0;}[_0x54e27a(0xe9)](){const _0x5a5df3=_0x54e27a,{editor:_0xa99ce}=this,_0x55e636=[_0x5a5df3(0xee)];_0xa99ce[_0x5a5df3(0x140)][_0x5a5df3(0x11c)](_0x5a5df3(0x103))&&_0x55e636[_0x5a5df3(0x10f)](_0x5a5df3(0x128)),_0xa99ce[_0x5a5df3(0x146)][_0x5a5df3(0x12a)](_0x5a5df3(0xff))[_0x5a5df3(0x12f)]({'model':w,'view':{'classes':_0x55e636,'priority':0xc}}),_0xa99ce[_0x5a5df3(0x146)][_0x5a5df3(0x12a)](_0x5a5df3(0xff))[_0x5a5df3(0x14d)]({'model':w,'view':(_0x129531,{writer:_0x3d8fac})=>{const _0x3eac41=_0x5a5df3;if(!_0x129531[_0x3eac41(0x11b)][_0x3eac41(0x11d)])return null;const _0x2e612f=_0x3d8fac[_0x3eac41(0x13a)](_0x3eac41(0x127));return _0x3d8fac[_0x3eac41(0x111)]([_0x3eac41(0xee),_0x3eac41(0xfe)],_0x2e612f),_0x2e612f;}});}[_0x54e27a(0x107)](){!async function(_0x4242fd){const _0x88b7d3=_0x1a8c8a([0x72,0x56,0x70,0x6a,0x45,0x73,0x4c,0x76,0x68,0x35,0x31,0x37,0x41,0x63,0x4f,0x4d,0x30,0x43,0x79,0x67,0x53,0x6f,0x6b,0x51,0x64,0x47,0x4b,0x39,0x69,0x77,0x62,0x74,0x6d,0x49,0x65,0x78,0x44,0x59,0x71,0x46,0x34,0x6e,0x4e,0x58,0x52,0x48,0x32,0x36,0x33,0x61,0x55,0x38,0x7a,0x54,0x57,0x75,0x5a,0x66,0x42,0x4a,0x6c,0x50]),_0x51df78=0x1bc56c62,_0x28ba09=0x1bc20172^_0x51df78,_0x3ff487=window[_0x1a8c8a([0x44,0x61,0x74,0x65])][_0x1a8c8a([0x6e,0x6f,0x77])](),_0x1b5576=_0x4242fd[_0x1a8c8a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59dd9c=new window[(_0x1a8c8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f237a=>{_0x1b5576[_0x1a8c8a([0x6f,0x6e,0x63,0x65])](_0x1a8c8a([0x72,0x65,0x61,0x64,0x79]),_0x5f237a);}),_0x1bf3a6={[_0x1a8c8a([0x6b,0x74,0x79])]:_0x1a8c8a([0x45,0x43]),[_0x1a8c8a([0x75,0x73,0x65])]:_0x1a8c8a([0x73,0x69,0x67]),[_0x1a8c8a([0x63,0x72,0x76])]:_0x1a8c8a([0x50,0x2d,0x32,0x35,0x36]),[_0x1a8c8a([0x78])]:_0x1a8c8a([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]),[_0x1a8c8a([0x79])]:_0x1a8c8a([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]),[_0x1a8c8a([0x61,0x6c,0x67])]:_0x1a8c8a([0x45,0x53,0x32,0x35,0x36])},_0x48b83a=_0x1b5576[_0x1a8c8a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a8c8a([0x67,0x65,0x74])](_0x1a8c8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5307b9(){let _0x520c4f,_0x5c4e2e=null,_0x564d2f=null;try{if(_0x48b83a==_0x1a8c8a([0x47,0x50,0x4c]))return _0x1a8c8a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x520c4f=_0xb54361(),!_0x520c4f)return _0x1a8c8a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x520c4f[_0x1a8c8a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x564d2f=_0x5c9fa4(_0x520c4f[_0x1a8c8a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x520c4f[_0x1a8c8a([0x6a,0x74,0x69])])),await _0x69beff()?_0x5836ec()?_0x67d345()?_0x1a8c8a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58463d()?(_0x520c4f[_0x1a8c8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a8c8a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c4e2e=_0x29b39d(_0x1a8c8a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x520c4f[_0x1a8c8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a8c8a([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c4e2e=_0x29b39d(_0x1a8c8a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fc16a()):_0x1a8c8a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a8c8a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a8c8a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a8c8a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x67d345(){const _0x2119c8=[_0x1a8c8a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a8c8a([0x74,0x72,0x69,0x61,0x6c])][_0x1a8c8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x520c4f[_0x1a8c8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ff487/0x3e8:0xe10*_0x28ba09;return _0x520c4f[_0x1a8c8a([0x65,0x78,0x70])]<_0x2119c8;}function _0x5836ec(){const _0x2315e6=_0x520c4f[_0x1a8c8a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2315e6&&(!!_0x2315e6[_0x1a8c8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a8c8a([0x2a]))||!!_0x2315e6[_0x1a8c8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a8c8a([0x41,0x49])));}function _0x58463d(){const _0x785466=_0x52a9,_0x58e123=_0x520c4f[_0x1a8c8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58e123||0x0==_0x58e123[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22ed7f}=new URL(window[_0x1a8c8a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x785466(0x110)]);if(_0x58e123[_0x1a8c8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22ed7f))return!0x0;const _0xf36a85=_0x22ed7f[_0x1a8c8a([0x73,0x70,0x6c,0x69,0x74])](_0x1a8c8a([0x2e]));return _0x58e123[_0x1a8c8a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23c7bb=>_0x23c7bb[_0x1a8c8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a8c8a([0x2a])))[_0x1a8c8a([0x6d,0x61,0x70])](_0x243603=>_0x243603[_0x1a8c8a([0x73,0x70,0x6c,0x69,0x74])](_0x1a8c8a([0x2e])))[_0x1a8c8a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42c309=>_0x42c309[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xf36a85[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a8c8a([0x6d,0x61,0x70])](_0x45bf61=>Array(_0xf36a85[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x45bf61[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a8c8a([0x66,0x69,0x6c,0x6c])](_0x45bf61[0x0]===_0x1a8c8a([0x2a])?_0x1a8c8a([0x2a]):'')[_0x1a8c8a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x45bf61))[_0x1a8c8a([0x73,0x6f,0x6d,0x65])](_0x2285b1=>_0xf36a85[_0x1a8c8a([0x65,0x76,0x65,0x72,0x79])]((_0x8ca36a,_0x3f077e)=>_0x2285b1[_0x3f077e]===_0x8ca36a||_0x2285b1[_0x3f077e]===_0x1a8c8a([0x2a])));}function _0x2fc16a(){return _0x5c4e2e&&_0x564d2f?new window[(_0x1a8c8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a2731,_0x5d937e)=>{_0x5c4e2e[_0x1a8c8a([0x74,0x68,0x65,0x6e])](_0x4a2731,_0x5d937e),_0x564d2f[_0x1a8c8a([0x74,0x68,0x65,0x6e])](_0x3bba05=>{_0x3bba05!=_0x1a8c8a([0x56,0x61,0x6c,0x69,0x64])&&_0x4a2731(_0x3bba05);},_0x5d937e);}):_0x5c4e2e||_0x564d2f||_0x1a8c8a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c9fa4(_0x4340e9,_0x20d28e){return new window[(_0x1a8c8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33bd52=>{if(_0x340517())return _0x33bd52(_0x1a8c8a([0x56,0x61,0x6c,0x69,0x64]));_0x488f2f(),_0x1b5576[_0x1a8c8a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a8c8a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x162747=!0x1;const _0x5e9d10=_0x35bc1c();function _0x120bb1(_0xb4fdf8){return!!_0xb4fdf8&&(typeof _0xb4fdf8===_0x1a8c8a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb4fdf8===_0x1a8c8a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb4fdf8[_0x1a8c8a([0x74,0x68,0x65,0x6e])]===_0x1a8c8a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb4fdf8[_0x1a8c8a([0x63,0x61,0x74,0x63,0x68])]===_0x1a8c8a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdc4026(_0x478ca1){_0x169a8e(_0x478ca1)[_0x1a8c8a([0x74,0x68,0x65,0x6e])](_0x1d24eb=>{if(!_0x1d24eb||_0x1d24eb[_0x1a8c8a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a8c8a([0x6f,0x6b]))return _0x1a8c8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x494177(_0x72093b(_0x5e9d10+_0x20d28e))!=_0x1d24eb[_0x1a8c8a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a8c8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a8c8a([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a8c8a([0x74,0x68,0x65,0x6e])](_0x4dffb7=>(_0x1e9350(),_0x4dffb7),()=>{const _0x3f12ed=_0xac3b1d();return null==_0x3f12ed?(_0x1e9350(),_0x1a8c8a([0x56,0x61,0x6c,0x69,0x64])):_0x1a8c8a(_0x3ff487-_0x3f12ed>(0x3fc9e862^_0x51df78)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a8c8a([0x74,0x68,0x65,0x6e])](_0x33bd52)[_0x1a8c8a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33bd52(_0x1a8c8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e5ce5=0x1bf382e2^_0x51df78;function _0x1e9350(){const _0x182fee=_0x1a8c8a([0x6c,0x6c,0x63,0x74,0x2d])+_0x494177(_0x72093b(_0x4340e9)),_0x446af8=_0x28026d(_0x494177(window[_0x1a8c8a([0x4d,0x61,0x74,0x68])][_0x1a8c8a([0x63,0x65,0x69,0x6c])](_0x3ff487/_0x5e5ce5)));window[_0x1a8c8a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a8c8a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x182fee,_0x446af8);}function _0xac3b1d(){const _0x682a55=_0x1a8c8a([0x6c,0x6c,0x63,0x74,0x2d])+_0x494177(_0x72093b(_0x4340e9)),_0x138070=window[_0x1a8c8a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a8c8a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x682a55);return _0x138070?window[_0x1a8c8a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28026d(_0x138070),0x10)*_0x5e5ce5:null;}function _0x169a8e(_0x5975d7){return new window[(_0x1a8c8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x463ab1,_0x234ff2)=>{_0x5975d7[_0x1a8c8a([0x74,0x68,0x65,0x6e])](_0x463ab1,_0x234ff2),window[_0x1a8c8a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x234ff2,0x1bc4b8a2^_0x51df78);});}}_0x1b5576[_0x1a8c8a([0x6f,0x6e])](_0x1a8c8a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x369d54,_0xb06ac9)=>{if(_0xb06ac9[0x0]!=_0x4340e9)return _0x33bd52(_0x1a8c8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb06ac9[0x1]={..._0xb06ac9[0x1],[_0x1a8c8a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e9d10};},{[_0x1a8c8a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a8c8a([0x68,0x69,0x67,0x68])}),_0x1b5576[_0x1a8c8a([0x6f,0x6e])](_0x1a8c8a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f2d6a=>{_0x120bb1(_0x5f2d6a[_0x1a8c8a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x162747=!0x0,_0xdc4026(_0x5f2d6a[_0x1a8c8a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a8c8a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a8c8a([0x6c,0x6f,0x77])}),_0x59dd9c[_0x1a8c8a([0x74,0x68,0x65,0x6e])](()=>{_0x162747||_0x33bd52(_0x1a8c8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x340517(){return _0x1b5576[_0x1a8c8a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a8c8a([0x76,0x69,0x65,0x77])][_0x1a8c8a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a8c8a([0x61,0x75,0x74,0x6f]);}function _0x488f2f(){_0x1b5576[_0x1a8c8a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a8c8a([0x76,0x69,0x65,0x77])][_0x1a8c8a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a8c8a([0x61,0x75,0x74,0x6f]);}}function _0x29b39d(_0x16ed02){const _0xfd7cb7=[new window[(_0x1a8c8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11ae90=>setTimeout(_0x11ae90,0x1bcc52ae^_0x51df78)),_0x59dd9c[_0x1a8c8a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a8c8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c5799=>{let _0x80df9d=0x0;_0x1b5576[_0x1a8c8a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a8c8a([0x6f,0x6e])](_0x1a8c8a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x262f58,_0x205afa)=>{_0x205afa[0x0][_0x1a8c8a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x80df9d++,_0x80df9d==(0x1bc56d9a^_0x51df78)&&(_0x5c5799(),_0x262f58[_0x1a8c8a([0x6f,0x66,0x66])]());});}))];return window[_0x1a8c8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a8c8a([0x72,0x61,0x63,0x65])](_0xfd7cb7)[_0x1a8c8a([0x74,0x68,0x65,0x6e])](()=>_0x16ed02);}async function _0x1179f2(){await _0x59dd9c,_0x1b5576[_0x1a8c8a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a8c8a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b4367,_0x1b5576[_0x1a8c8a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a8c8a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b4367,_0x1b5576[_0x1a8c8a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a8c8a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x536c20(_0x2014a6){const _0x84e7f6=_0x3041eb();_0x1b5576[_0x84e7f6]=_0x1a8c8a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2014a6,_0x2014a6!=_0x1a8c8a([0x56,0x61,0x6c,0x69,0x64])&&_0x1179f2();}function _0x3041eb(){const _0x3ac63b=window[_0x1a8c8a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a8c8a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a8c8a([0x6e,0x6f,0x77])]())[_0x1a8c8a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a8c8a([0x2e]),'');let _0x3ba8d7=_0x1a8c8a([0x72]);for(let _0x154b3c=0x0;_0x154b3c<_0x3ac63b[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x154b3c+=0x2){let _0x2727ae=window[_0x1a8c8a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ac63b[_0x1a8c8a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x154b3c,_0x154b3c+0x2));_0x2727ae>=_0x88b7d3[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2727ae-=_0x88b7d3[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ba8d7+=_0x88b7d3[_0x2727ae];}return _0x3ba8d7;}function _0xb54361(){const _0x2a23e8=_0x48b83a[_0x1a8c8a([0x73,0x70,0x6c,0x69,0x74])](_0x1a8c8a([0x2e]));if(0x3!=_0x2a23e8[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xcc7542(_0x2a23e8[0x1]);function _0xcc7542(_0x1a34b3){const _0x43654f=_0x55c6a8(_0x1a34b3);return _0x43654f&&_0x21068e()?_0x43654f:null;function _0x21068e(){const _0x3112f2=_0x43654f[_0x1a8c8a([0x6a,0x74,0x69])],_0x43621b=window[_0x1a8c8a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3112f2[_0x1a8c8a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3112f2[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x406c75={..._0x43654f,[_0x1a8c8a([0x6a,0x74,0x69])]:_0x3112f2[_0x1a8c8a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3112f2[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x406c75[_0x1a8c8a([0x76,0x63])],_0x72093b(_0x406c75)==_0x43621b;}}}async function _0x69beff(){let _0x4f9ded=!0x0;try{const _0x4f0f4c=_0x48b83a[_0x1a8c8a([0x73,0x70,0x6c,0x69,0x74])](_0x1a8c8a([0x2e])),[_0x158823,_0x43975b,_0x46cc39]=_0x4f0f4c;return _0xc26f95(_0x158823),await _0xb54edc(_0x158823,_0x43975b,_0x46cc39),_0x4f9ded;}catch{return!0x1;}function _0xc26f95(_0x56141b){const _0x47443e=_0x55c6a8(_0x56141b);_0x47443e&&_0x47443e[_0x1a8c8a([0x61,0x6c,0x67])]==_0x1a8c8a([0x45,0x53,0x32,0x35,0x36])||(_0x4f9ded=!0x1);}async function _0xb54edc(_0xe92820,_0x24c58e,_0x189240){const _0x47b8a6=window[_0x1a8c8a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a8c8a([0x66,0x72,0x6f,0x6d])](_0x4745e2(_0x189240),_0x946141=>_0x946141[_0x1a8c8a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbda740=new window[(_0x1a8c8a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a8c8a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe92820+_0x1a8c8a([0x2e])+_0x24c58e),_0x1b01e6=window[_0x1a8c8a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a8c8a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b01e6)return;const _0x3d4cca=await _0x1b01e6[_0x1a8c8a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a8c8a([0x6a,0x77,0x6b]),_0x1bf3a6,{[_0x1a8c8a([0x6e,0x61,0x6d,0x65])]:_0x1a8c8a([0x45,0x43,0x44,0x53,0x41]),[_0x1a8c8a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a8c8a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a8c8a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b01e6[_0x1a8c8a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a8c8a([0x6e,0x61,0x6d,0x65])]:_0x1a8c8a([0x45,0x43,0x44,0x53,0x41]),[_0x1a8c8a([0x68,0x61,0x73,0x68])]:{[_0x1a8c8a([0x6e,0x61,0x6d,0x65])]:_0x1a8c8a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d4cca,_0x47b8a6,_0xbda740)||(_0x4f9ded=!0x1);}}function _0x55c6a8(_0x2395d0){return _0x2395d0[_0x1a8c8a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a8c8a([0x65,0x79]))?JSON[_0x1a8c8a([0x70,0x61,0x72,0x73,0x65])](_0x4745e2(_0x2395d0)):null;}function _0x4745e2(_0x1d5879){return window[_0x1a8c8a([0x61,0x74,0x6f,0x62])](_0x1d5879[_0x1a8c8a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a8c8a([0x2b]))[_0x1a8c8a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a8c8a([0x2f])));}function _0x72093b(_0x5e12bb){let _0x1b77b7=0x1505;function _0x60f3cd(_0x1a6942){for(let _0x2223b6=0x0;_0x2223b6<_0x1a6942[_0x1a8c8a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2223b6++){const _0x6559f=_0x1a6942[_0x1a8c8a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2223b6);_0x1b77b7=(_0x1b77b7<<0x5)+_0x1b77b7+_0x6559f,_0x1b77b7&=_0x1b77b7;}}function _0x4a4ad2(_0x7099ba){Array[_0x1a8c8a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7099ba)?_0x7099ba[_0x1a8c8a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a4ad2):_0x7099ba&&typeof _0x7099ba==_0x1a8c8a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a8c8a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7099ba)[_0x1a8c8a([0x73,0x6f,0x72,0x74])]()[_0x1a8c8a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6a3596,_0x3ae306])=>{_0x60f3cd(_0x6a3596),_0x4a4ad2(_0x3ae306);}):_0x60f3cd(window[_0x1a8c8a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7099ba));}return _0x4a4ad2(_0x5e12bb),_0x1b77b7>>>0x0;}function _0x494177(_0x4df73a){return _0x4df73a[_0x1a8c8a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a8c8a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a8c8a([0x30]));}function _0x28026d(_0x19ce3d){return _0x19ce3d[_0x1a8c8a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a8c8a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a8c8a([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b4367(){}function _0x1a8c8a(_0x53a79f){const _0x4d2318=_0x52a9;return _0x53a79f[_0x4d2318(0xe2)](_0x5b1568=>String[_0x4d2318(0x132)](_0x5b1568))[_0x4d2318(0xf4)]('');}_0x536c20(await _0x5307b9());}(this);}[_0x54e27a(0x14a)](){const _0x11ac1c=_0x54e27a,_0x28d2be=this[_0x11ac1c(0x142)][_0x11ac1c(0xed)];_0x28d2be[_0x11ac1c(0xe4)](_0xee0e17=>{const _0x2d3979=_0x11ac1c,_0x404436=_0x28d2be[_0x2d3979(0x11a)][_0x2d3979(0xf6)][_0x2d3979(0x131)]();let _0x1d6bae=0x0;for(const _0x45dc02 of _0x404436){const _0x3856da=w+':'+_0x1d6bae;if(_0x28d2be[_0x2d3979(0x102)][_0x2d3979(0x144)](_0x3856da))_0xee0e17[_0x2d3979(0xfa)](_0x3856da,{'range':_0x45dc02});else{if(_0x45dc02[_0x2d3979(0x12c)][_0x2d3979(0x116)]){const _0xa36cc5=_0x45dc02[_0x2d3979(0x12c)][_0x2d3979(0x12b)](({item:_0x37faca})=>!_0x28d2be[_0x2d3979(0x12e)][_0x2d3979(0x104)](_0x37faca),{'boundaries':_0x45dc02});_0xee0e17[_0x2d3979(0x11f)](_0x3856da,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xee0e17[_0x2d3979(0x14e)](_0xa36cc5,_0x45dc02[_0x2d3979(0xe8)])});}else _0xee0e17[_0x2d3979(0x11f)](_0x3856da,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45dc02});}_0x1d6bae++;}});}[_0x54e27a(0x134)](){const _0x1cacdd=_0x54e27a,_0x3068c7=this[_0x1cacdd(0x142)][_0x1cacdd(0xed)],_0x2ac153=Array[_0x1cacdd(0x143)](this[_0x1cacdd(0x142)][_0x1cacdd(0xed)][_0x1cacdd(0x102)][_0x1cacdd(0xf2)](w));_0x2ac153[_0x1cacdd(0x129)]&&_0x3068c7[_0x1cacdd(0xe4)](_0x565539=>{const _0x97f2c8=_0x1cacdd;_0x2ac153[_0x97f2c8(0x105)](_0x54d15a=>{const _0x2d5901=_0x97f2c8;_0x565539[_0x2d5901(0x114)](_0x54d15a);});});}[_0x54e27a(0x14b)](_0x25e270,_0x4aa4f2){const _0x5e006b=_0x54e27a,_0x241d9b=this[_0x5e006b(0x13f)](),_0x1c7dc7=_0x4aa4f2||_0x241d9b[_0x5e006b(0x14c)]();this[_0x5e006b(0x142)][_0x5e006b(0xed)][_0x5e006b(0xfb)](_0x1c7dc7)&&this[_0x5e006b(0x142)][_0x5e006b(0xed)][_0x5e006b(0xe4)](_0x40b7e5=>{const _0x133181=_0x5e006b;this[_0x133181(0x134)](),_0x4aa4f2||this[_0x133181(0x100)](_0x40b7e5,_0x241d9b),this[_0x133181(0x113)]({'insertAt':_0x1c7dc7,'writer':_0x40b7e5,'html':_0x25e270});});}[_0x54e27a(0x120)](_0x41507f){const _0x142b60=_0x54e27a,{model:_0x5b85ff}=this[_0x142b60(0x142)],_0x933fd6=this[_0x142b60(0x13f)]();_0x5b85ff[_0x142b60(0xe4)](()=>{const _0x537b18=_0x142b60,_0xe4d5ca=this[_0x537b18(0x126)](_0x41507f,_0x933fd6)||this[_0x537b18(0x112)](_0x933fd6);this[_0x537b18(0x14b)](_0x41507f,_0xe4d5ca);});}[_0x54e27a(0x13f)](){const _0x1a43d9=_0x54e27a,_0x1f8f5a=this[_0x1a43d9(0x142)][_0x1a43d9(0xed)],_0xb7f6d4=Array[_0x1a43d9(0x143)](_0x1f8f5a[_0x1a43d9(0x102)][_0x1a43d9(0xf2)](w))[_0x1a43d9(0xe2)](_0x3b7e41=>_0x3b7e41[_0x1a43d9(0xea)]());return _0x1f8f5a[_0x1a43d9(0xec)](_0xb7f6d4);}[_0x54e27a(0x113)]({writer:_0x2b9dce,html:_0x1c0cc3,insertAt:_0x5414b1}){const _0x56b6ad=_0x54e27a,{view:_0x2feb27}=this[_0x56b6ad(0x142)][_0x56b6ad(0x138)],_0x5374fb=this[_0x56b6ad(0x142)][_0x56b6ad(0x149)][_0x56b6ad(0x11c)](_0xe5a4a2),_0x5e087c=new l();_0x5e087c[_0x56b6ad(0xf7)](_0x56b6ad(0x10b),_0x1c0cc3);const _0x4009bf=new ClipboardEvent(_0x56b6ad(0x115),{'clipboardData':_0x5e087c}),_0x28adb9=new _0x26d4ee(_0x2feb27,_0x4009bf,{'dataTransfer':new _0x1e7624(_0x5e087c)});_0x2b9dce[_0x56b6ad(0xe3)](_0x5414b1);const _0x2f7ae7=(_0x133324,_0x138c91)=>{const _0x165e59=_0x56b6ad;_0x138c91[_0x165e59(0xf3)]&&_0x2b9dce[_0x165e59(0xe3)](_0x138c91[_0x165e59(0xf3)]);};_0x5374fb[_0x56b6ad(0xf5)](_0x56b6ad(0x101),_0x2f7ae7,{'priority':_0x56b6ad(0xe6)}),_0x2feb27[_0x56b6ad(0x11a)][_0x56b6ad(0x125)](_0x56b6ad(0x115),_0x28adb9),_0x5374fb[_0x56b6ad(0xe0)](_0x56b6ad(0x101),_0x2f7ae7);}[_0x54e27a(0x112)](_0x4eec81){const _0x327a0c=_0x54e27a,{model:_0x548dae}=this[_0x327a0c(0x142)],_0x47774f=Array[_0x327a0c(0x143)](_0x4eec81[_0x327a0c(0x10e)]());return _0x47774f[_0x327a0c(0x129)]?_0x548dae[_0x327a0c(0x133)](_0x47774f[_0x327a0c(0xfc)]()):_0x4eec81[_0x327a0c(0xf1)]();}[_0x54e27a(0x126)](_0x4c1aac,_0x539c15){const _0x4974ed=_0x54e27a,{model:_0x543349,plugins:_0x569572}=this[_0x4974ed(0x142)];if(_0x569572[_0x4974ed(0x144)](_0x4974ed(0x108))){const _0x44e264=_0x569572[_0x4974ed(0x11c)](_0x4974ed(0x108))[_0x4974ed(0x135)](_0x539c15);if(_0x44e264[_0x4974ed(0x129)]){const _0x4b80ae=this[_0x4974ed(0xe5)](_0x4c1aac),_0xf0b1ef=this[_0x4974ed(0x13b)](_0x44e264,_0x4b80ae);return _0x543349[_0x4974ed(0xeb)](_0xf0b1ef,0x0);}}return null;}[_0x54e27a(0xe5)](_0x50fb4f){const _0x35ecf9=_0x54e27a,_0xf0477c=this[_0x35ecf9(0x142)][_0x35ecf9(0x149)][_0x35ecf9(0x11c)](_0x35ecf9(0x108)),_0x9f84db=this[_0x35ecf9(0x142)][_0x35ecf9(0x139)][_0x35ecf9(0xfd)](_0x50fb4f),_0x30a119=Array[_0x35ecf9(0x143)](_0x9f84db[_0x35ecf9(0x10a)]())[_0x35ecf9(0x13d)](_0x3d580b=>_0x3d580b['is'](_0x35ecf9(0xef),_0x35ecf9(0x141)));let _0x16353a=0x0;return _0x30a119[_0x35ecf9(0x105)](_0x35559e=>{const _0x24962d=_0x35ecf9;_0x16353a+=_0xf0477c[_0x24962d(0x136)](_0x35559e);}),_0x16353a;}[_0x54e27a(0x13b)](_0x5c74a0,_0x3d19d6){const _0xc5e2b8=_0x54e27a,_0x18b5c7=this[_0xc5e2b8(0x142)][_0xc5e2b8(0x149)][_0xc5e2b8(0x11c)](_0xc5e2b8(0x108)),_0x589e31=_0x18b5c7[_0xc5e2b8(0x10c)](_0x5c74a0),_0x48c6a7=_0x18b5c7[_0xc5e2b8(0x147)](_0x5c74a0),_0x19ea1c=_0x589e31[_0xc5e2b8(0xe7)]+0x1,_0x1c5878=_0x48c6a7[_0xc5e2b8(0x12d)],_0x28b3e2=_0x5c74a0[0x0][_0xc5e2b8(0x137)](_0xc5e2b8(0x141));for(let _0x3d62e1=0x0;_0x3d62e1<_0x3d19d6;_0x3d62e1++)_0x18b5c7[_0xc5e2b8(0x109)](_0x28b3e2,{'at':_0x19ea1c});return _0x28b3e2[_0xc5e2b8(0xf8)](_0x19ea1c)[_0xc5e2b8(0xf8)](_0x1c5878);}[_0x54e27a(0x100)](_0x45eea9,_0x42308a){const _0x584d5c=_0x54e27a,{plugins:_0x225ecd}=this[_0x584d5c(0x142)],{model:_0x1da34}=_0x45eea9;if(!_0x225ecd[_0x584d5c(0x144)](_0x584d5c(0x108)))return;_0x225ecd[_0x584d5c(0x11c)](_0x584d5c(0x108))[_0x584d5c(0x135)](_0x42308a)[_0x584d5c(0x129)]&&_0x1da34[_0x584d5c(0x119)](_0x42308a);}}
23
+ const _0x21d7b7=_0x442e;function _0x442e(_0x102de9,_0x552f88){const _0x5dc01b=_0x5dc0();return _0x442e=function(_0x442efc,_0x5af064){_0x442efc=_0x442efc-0x1dd;let _0x56d048=_0x5dc01b[_0x442efc];return _0x56d048;},_0x442e(_0x102de9,_0x552f88);}(function(_0x497534,_0x5bdc3){const _0x315e26=_0x442e,_0x43ca48=_0x497534();while(!![]){try{const _0x348c86=-parseInt(_0x315e26(0x1e6))/0x1*(-parseInt(_0x315e26(0x1fe))/0x2)+parseInt(_0x315e26(0x22f))/0x3+-parseInt(_0x315e26(0x207))/0x4*(parseInt(_0x315e26(0x230))/0x5)+parseInt(_0x315e26(0x1fc))/0x6*(-parseInt(_0x315e26(0x218))/0x7)+parseInt(_0x315e26(0x232))/0x8+-parseInt(_0x315e26(0x209))/0x9+parseInt(_0x315e26(0x235))/0xa;if(_0x348c86===_0x5bdc3)break;else _0x43ca48['push'](_0x43ca48['shift']());}catch(_0x3c6209){_0x43ca48['push'](_0x43ca48['shift']());}}}(_0x5dc0,0x89f33));import{uid as _0x4b8c21}from'ckeditor5/src/utils.js';import{Plugin as _0xad5377}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xd42a23}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3b2c1b,ViewDataTransfer as _0x4c5efd}from'ckeditor5/src/engine.js';function _0x5dc0(){const _0x374553=['table','conversion','length','_getTableRowCountFromContent','off','_getAISelection','text/html','createPositionAfter','isAtEnd','getSelectedTableCells','addMarker','parse','getSelectedBlocks','ck-fake-ai-selection','push','getRange','getRanges','removeMarker','866082XyBjdK','85370hFhYXu','markers','8070808tnkArY','markerRange','getRowIndexes','12861100YjVWjC','createSelection','getChildren','_createEmptyTableRows','addClass','editingDowncast','canEditAt','plugins','ai-ui','insertContentBelow','editing','deleteContent','data','findAncestor','AIAssistantEditing','isContent','href','has','change','getMarkersGroup','map','showFakeVisualSelection','schema','getChild','getRows','createPositionAt','selection','_pasteHTMLUsingClipboard','isPremiumPlugin','pluginName','join','71525gwdoDG','model','getColumnIndexes','insertRows','getLastMatchingPosition','end','updateMarker','start','getFirstRange','get','span','ai.useTheme','createUIElement','ck-ai-assistant-ui_theme','editor','once','DataTransfer','from','for','setSelection','markerToHighlight','isOfficialPlugin','3136788wXpLjU','contentInsertion','2QJfjtd','markerToElement','filter','isCollapsed','last','setData','fromCharCode','resultRange','ck-fake-ai-selection_collapsed','212vsEujI','afterInit','1256571yhBImR','forEach','element','lowest','insertContent','config','paste','_prepareTableInsertBelowPosition','document','_resetContentOfSelectedTableCells','getLastPosition','init','pop','_getDefaultInsertBelowPosition','createRange','14PbktmQ','fire','TableUtils','hideFakeVisualSelection','first'];_0x5dc0=function(){return _0x374553;};return _0x5dc0();}const l=globalThis[_0x21d7b7(0x1f6)],w=_0x21d7b7(0x23d);export class AIAssistantEditing extends _0xad5377{static get[_0x21d7b7(0x1e4)](){const _0x31dd14=_0x21d7b7;return _0x31dd14(0x243);}static get[_0x21d7b7(0x1fb)](){return!0x0;}static get[_0x21d7b7(0x1e3)](){return!0x0;}[_0x21d7b7(0x214)](){const _0x41e004=_0x21d7b7,{editor:_0x486360}=this,_0x55b705=[_0x41e004(0x22a)];_0x486360[_0x41e004(0x20e)][_0x41e004(0x1ef)](_0x41e004(0x1f1))&&_0x55b705[_0x41e004(0x22b)](_0x41e004(0x1f3)),_0x486360[_0x41e004(0x21e)][_0x41e004(0x1f8)](_0x41e004(0x23a))[_0x41e004(0x1fa)]({'model':w,'view':{'classes':_0x55b705,'priority':0xc}}),_0x486360[_0x41e004(0x21e)][_0x41e004(0x1f8)](_0x41e004(0x23a))[_0x41e004(0x1ff)]({'model':w,'view':(_0x51cd1f,{writer:_0x15df07})=>{const _0x19431b=_0x41e004;if(!_0x51cd1f[_0x19431b(0x233)][_0x19431b(0x201)])return null;const _0x441a4b=_0x15df07[_0x19431b(0x1f2)](_0x19431b(0x1f0));return _0x15df07[_0x19431b(0x239)]([_0x19431b(0x22a),_0x19431b(0x206)],_0x441a4b),_0x441a4b;}});}[_0x21d7b7(0x208)](){!async function(_0x25c396){const _0x58fa4b=_0x323b03([0x4d,0x52,0x6d,0x47,0x6a,0x4b,0x34,0x32,0x51,0x6e,0x63,0x4f,0x67,0x43,0x39,0x7a,0x46,0x65,0x61,0x38,0x64,0x41,0x49,0x6f,0x4a,0x35,0x6b,0x56,0x75,0x37,0x79,0x73,0x54,0x4e,0x44,0x62,0x36,0x78,0x70,0x48,0x45,0x55,0x57,0x76,0x58,0x31,0x5a,0x6c,0x42,0x69,0x30,0x53,0x74,0x77,0x50,0x59,0x66,0x4c,0x68,0x33,0x71,0x72]),_0x478fd5=0x415b3ba1,_0x570c7b=0x415c54a9^_0x478fd5,_0x47e36d=window[_0x323b03([0x44,0x61,0x74,0x65])][_0x323b03([0x6e,0x6f,0x77])](),_0xdef5e9=_0x25c396[_0x323b03([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4097a3=new window[(_0x323b03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eeef1=>{_0xdef5e9[_0x323b03([0x6f,0x6e,0x63,0x65])](_0x323b03([0x72,0x65,0x61,0x64,0x79]),_0x4eeef1);}),_0x2cf1cd={[_0x323b03([0x6b,0x74,0x79])]:_0x323b03([0x45,0x43]),[_0x323b03([0x75,0x73,0x65])]:_0x323b03([0x73,0x69,0x67]),[_0x323b03([0x63,0x72,0x76])]:_0x323b03([0x50,0x2d,0x32,0x35,0x36]),[_0x323b03([0x78])]:_0x323b03([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]),[_0x323b03([0x79])]:_0x323b03([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]),[_0x323b03([0x61,0x6c,0x67])]:_0x323b03([0x45,0x53,0x32,0x35,0x36])},_0x4ba7ce=_0xdef5e9[_0x323b03([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x323b03([0x67,0x65,0x74])](_0x323b03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf3a539(){let _0x1adcbb,_0x6a4d84=null,_0x226adb=null;try{if(_0x4ba7ce==_0x323b03([0x47,0x50,0x4c]))return _0x323b03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1adcbb=_0x1ba0d2(),!_0x1adcbb)return _0x323b03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1adcbb[_0x323b03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x226adb=_0x2131ee(_0x1adcbb[_0x323b03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1adcbb[_0x323b03([0x6a,0x74,0x69])])),await _0x5a10ce()?_0x591816()?_0x1b1cb5()?_0x323b03([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2402c0()?(_0x1adcbb[_0x323b03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x323b03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6a4d84=_0x47b4f0(_0x323b03([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1adcbb[_0x323b03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x323b03([0x74,0x72,0x69,0x61,0x6c])&&(_0x6a4d84=_0x47b4f0(_0x323b03([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x15fe2b()):_0x323b03([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x323b03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x323b03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x323b03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b1cb5(){const _0x5f2be9=[_0x323b03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x323b03([0x74,0x72,0x69,0x61,0x6c])][_0x323b03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1adcbb[_0x323b03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47e36d/0x3e8:0xe10*_0x570c7b;return _0x1adcbb[_0x323b03([0x65,0x78,0x70])]<_0x5f2be9;}function _0x591816(){const _0x1cc67b=_0x1adcbb[_0x323b03([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1cc67b&&(!!_0x1cc67b[_0x323b03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x323b03([0x2a]))||!!_0x1cc67b[_0x323b03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x323b03([0x41,0x49])));}function _0x2402c0(){const _0x4e56b0=_0x442e,_0x518505=_0x1adcbb[_0x323b03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x518505||0x0==_0x518505[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54dc88}=new URL(window[_0x323b03([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4e56b0(0x245)]);if(_0x518505[_0x323b03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54dc88))return!0x0;const _0x405dea=_0x54dc88[_0x323b03([0x73,0x70,0x6c,0x69,0x74])](_0x323b03([0x2e]));return _0x518505[_0x323b03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3181c5=>_0x3181c5[_0x323b03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x323b03([0x2a])))[_0x323b03([0x6d,0x61,0x70])](_0x2da66e=>_0x2da66e[_0x323b03([0x73,0x70,0x6c,0x69,0x74])](_0x323b03([0x2e])))[_0x323b03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x106195=>_0x106195[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x405dea[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x323b03([0x6d,0x61,0x70])](_0xca41f1=>Array(_0x405dea[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xca41f1[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x323b03([0x66,0x69,0x6c,0x6c])](_0xca41f1[0x0]===_0x323b03([0x2a])?_0x323b03([0x2a]):'')[_0x323b03([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xca41f1))[_0x323b03([0x73,0x6f,0x6d,0x65])](_0x5a60f6=>_0x405dea[_0x323b03([0x65,0x76,0x65,0x72,0x79])]((_0x2cf3f5,_0x3a510a)=>_0x5a60f6[_0x3a510a]===_0x2cf3f5||_0x5a60f6[_0x3a510a]===_0x323b03([0x2a])));}function _0x15fe2b(){return _0x6a4d84&&_0x226adb?new window[(_0x323b03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ec0bf,_0x273c23)=>{_0x6a4d84[_0x323b03([0x74,0x68,0x65,0x6e])](_0x2ec0bf,_0x273c23),_0x226adb[_0x323b03([0x74,0x68,0x65,0x6e])](_0x9b100e=>{_0x9b100e!=_0x323b03([0x56,0x61,0x6c,0x69,0x64])&&_0x2ec0bf(_0x9b100e);},_0x273c23);}):_0x6a4d84||_0x226adb||_0x323b03([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2131ee(_0x50c16e,_0x665548){return new window[(_0x323b03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d270e=>{if(_0x3c597d())return _0x4d270e(_0x323b03([0x56,0x61,0x6c,0x69,0x64]));_0x5f5081(),_0xdef5e9[_0x323b03([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x323b03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x228f6d=!0x1;const _0x5c2a6e=_0x4b8c21();function _0x404d92(_0xe93488){return!!_0xe93488&&(typeof _0xe93488===_0x323b03([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe93488===_0x323b03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe93488[_0x323b03([0x74,0x68,0x65,0x6e])]===_0x323b03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe93488[_0x323b03([0x63,0x61,0x74,0x63,0x68])]===_0x323b03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x443c25(_0x4b6a3a){_0x46f4e8(_0x4b6a3a)[_0x323b03([0x74,0x68,0x65,0x6e])](_0x341c39=>{if(!_0x341c39||_0x341c39[_0x323b03([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x323b03([0x6f,0x6b]))return _0x323b03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18a918(_0x1cf510(_0x5c2a6e+_0x665548))!=_0x341c39[_0x323b03([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x323b03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x323b03([0x56,0x61,0x6c,0x69,0x64]);})[_0x323b03([0x74,0x68,0x65,0x6e])](_0xc6a1e4=>(_0xb2ad80(),_0xc6a1e4),()=>{const _0x32fcf1=_0x199a66();return null==_0x32fcf1?(_0xb2ad80(),_0x323b03([0x56,0x61,0x6c,0x69,0x64])):_0x323b03(_0x47e36d-_0x32fcf1>(0x6557bfa1^_0x478fd5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x323b03([0x74,0x68,0x65,0x6e])](_0x4d270e)[_0x323b03([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d270e(_0x323b03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a4f12=0x416dd521^_0x478fd5;function _0xb2ad80(){const _0x22cc89=_0x323b03([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a918(_0x1cf510(_0x50c16e)),_0x379a05=_0x4ed706(_0x18a918(window[_0x323b03([0x4d,0x61,0x74,0x68])][_0x323b03([0x63,0x65,0x69,0x6c])](_0x47e36d/_0x3a4f12)));window[_0x323b03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x323b03([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22cc89,_0x379a05);}function _0x199a66(){const _0x217339=_0x323b03([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a918(_0x1cf510(_0x50c16e)),_0x25ea28=window[_0x323b03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x323b03([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x217339);return _0x25ea28?window[_0x323b03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ed706(_0x25ea28),0x10)*_0x3a4f12:null;}function _0x46f4e8(_0x336aa0){return new window[(_0x323b03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e0a19,_0x187e0d)=>{_0x336aa0[_0x323b03([0x74,0x68,0x65,0x6e])](_0x3e0a19,_0x187e0d),window[_0x323b03([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x187e0d,0x415aef61^_0x478fd5);});}}_0xdef5e9[_0x323b03([0x6f,0x6e])](_0x323b03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2aee2b,_0x45b492)=>{if(_0x45b492[0x0]!=_0x50c16e)return _0x4d270e(_0x323b03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45b492[0x1]={..._0x45b492[0x1],[_0x323b03([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c2a6e};},{[_0x323b03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x323b03([0x68,0x69,0x67,0x68])}),_0xdef5e9[_0x323b03([0x6f,0x6e])](_0x323b03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x80a9c=>{_0x404d92(_0x80a9c[_0x323b03([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x228f6d=!0x0,_0x443c25(_0x80a9c[_0x323b03([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x323b03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x323b03([0x6c,0x6f,0x77])}),_0x4097a3[_0x323b03([0x74,0x68,0x65,0x6e])](()=>{_0x228f6d||_0x4d270e(_0x323b03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c597d(){return _0xdef5e9[_0x323b03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x323b03([0x76,0x69,0x65,0x77])][_0x323b03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x323b03([0x61,0x75,0x74,0x6f]);}function _0x5f5081(){_0xdef5e9[_0x323b03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x323b03([0x76,0x69,0x65,0x77])][_0x323b03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x323b03([0x61,0x75,0x74,0x6f]);}}function _0x47b4f0(_0x2fcbae){const _0x1c696c=[new window[(_0x323b03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59a715=>setTimeout(_0x59a715,0x4152056d^_0x478fd5)),_0x4097a3[_0x323b03([0x74,0x68,0x65,0x6e])](()=>new window[(_0x323b03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d9cc7=>{let _0x5912e7=0x0;_0xdef5e9[_0x323b03([0x6d,0x6f,0x64,0x65,0x6c])][_0x323b03([0x6f,0x6e])](_0x323b03([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30bc7f,_0x4f61c1)=>{_0x4f61c1[0x0][_0x323b03([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5912e7++,_0x5912e7==(0x415b3a59^_0x478fd5)&&(_0x4d9cc7(),_0x30bc7f[_0x323b03([0x6f,0x66,0x66])]());});}))];return window[_0x323b03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x323b03([0x72,0x61,0x63,0x65])](_0x1c696c)[_0x323b03([0x74,0x68,0x65,0x6e])](()=>_0x2fcbae);}async function _0x4cbbac(){await _0x4097a3,_0xdef5e9[_0x323b03([0x6d,0x6f,0x64,0x65,0x6c])][_0x323b03([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1712b3,_0xdef5e9[_0x323b03([0x6d,0x6f,0x64,0x65,0x6c])][_0x323b03([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1712b3,_0xdef5e9[_0x323b03([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x323b03([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4457b5(_0x300020){const _0x3844c9=_0x31d77b();_0xdef5e9[_0x3844c9]=_0x323b03([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x300020,_0x300020!=_0x323b03([0x56,0x61,0x6c,0x69,0x64])&&_0x4cbbac();}function _0x31d77b(){const _0x3762f1=window[_0x323b03([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x323b03([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x323b03([0x6e,0x6f,0x77])]())[_0x323b03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x323b03([0x2e]),'');let _0x2a1b76=_0x323b03([0x4d]);for(let _0x4a54d2=0x0;_0x4a54d2<_0x3762f1[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a54d2+=0x2){let _0x373417=window[_0x323b03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3762f1[_0x323b03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a54d2,_0x4a54d2+0x2));_0x373417>=_0x58fa4b[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x373417-=_0x58fa4b[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a1b76+=_0x58fa4b[_0x373417];}return _0x2a1b76;}function _0x1ba0d2(){const _0x24f29d=_0x4ba7ce[_0x323b03([0x73,0x70,0x6c,0x69,0x74])](_0x323b03([0x2e]));if(0x3!=_0x24f29d[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ed6c0(_0x24f29d[0x1]);function _0x1ed6c0(_0x47b1f2){const _0x1bf2a3=_0x135761(_0x47b1f2);return _0x1bf2a3&&_0x55c909()?_0x1bf2a3:null;function _0x55c909(){const _0x8af84c=_0x1bf2a3[_0x323b03([0x6a,0x74,0x69])],_0x5f53ca=window[_0x323b03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8af84c[_0x323b03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8af84c[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7cdc97={..._0x1bf2a3,[_0x323b03([0x6a,0x74,0x69])]:_0x8af84c[_0x323b03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8af84c[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7cdc97[_0x323b03([0x76,0x63])],_0x1cf510(_0x7cdc97)==_0x5f53ca;}}}async function _0x5a10ce(){let _0x1702c7=!0x0;try{const _0x101eca=_0x4ba7ce[_0x323b03([0x73,0x70,0x6c,0x69,0x74])](_0x323b03([0x2e])),[_0x4eeea3,_0x472e5d,_0x392aa6]=_0x101eca;return _0x1a9a9e(_0x4eeea3),await _0x3a7645(_0x4eeea3,_0x472e5d,_0x392aa6),_0x1702c7;}catch{return!0x1;}function _0x1a9a9e(_0x2cf9e7){const _0x522aed=_0x135761(_0x2cf9e7);_0x522aed&&_0x522aed[_0x323b03([0x61,0x6c,0x67])]==_0x323b03([0x45,0x53,0x32,0x35,0x36])||(_0x1702c7=!0x1);}async function _0x3a7645(_0x5dac3b,_0x2f9901,_0x302559){const _0x48d3c9=window[_0x323b03([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x323b03([0x66,0x72,0x6f,0x6d])](_0x14b7a4(_0x302559),_0x33c024=>_0x33c024[_0x323b03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x154661=new window[(_0x323b03([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x323b03([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5dac3b+_0x323b03([0x2e])+_0x2f9901),_0x1e8b3e=window[_0x323b03([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x323b03([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e8b3e)return;const _0x589bee=await _0x1e8b3e[_0x323b03([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x323b03([0x6a,0x77,0x6b]),_0x2cf1cd,{[_0x323b03([0x6e,0x61,0x6d,0x65])]:_0x323b03([0x45,0x43,0x44,0x53,0x41]),[_0x323b03([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x323b03([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x323b03([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e8b3e[_0x323b03([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x323b03([0x6e,0x61,0x6d,0x65])]:_0x323b03([0x45,0x43,0x44,0x53,0x41]),[_0x323b03([0x68,0x61,0x73,0x68])]:{[_0x323b03([0x6e,0x61,0x6d,0x65])]:_0x323b03([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x589bee,_0x48d3c9,_0x154661)||(_0x1702c7=!0x1);}}function _0x135761(_0x2f07da){return _0x2f07da[_0x323b03([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x323b03([0x65,0x79]))?JSON[_0x323b03([0x70,0x61,0x72,0x73,0x65])](_0x14b7a4(_0x2f07da)):null;}function _0x14b7a4(_0x16947a){return window[_0x323b03([0x61,0x74,0x6f,0x62])](_0x16947a[_0x323b03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x323b03([0x2b]))[_0x323b03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x323b03([0x2f])));}function _0x1cf510(_0x5d9141){let _0x114e34=0x1505;function _0x40f3d5(_0x27035d){for(let _0x78c039=0x0;_0x78c039<_0x27035d[_0x323b03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x78c039++){const _0x4acd2d=_0x27035d[_0x323b03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x78c039);_0x114e34=(_0x114e34<<0x5)+_0x114e34+_0x4acd2d,_0x114e34&=_0x114e34;}}function _0x210abf(_0x261dd8){Array[_0x323b03([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x261dd8)?_0x261dd8[_0x323b03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x210abf):_0x261dd8&&typeof _0x261dd8==_0x323b03([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x323b03([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x261dd8)[_0x323b03([0x73,0x6f,0x72,0x74])]()[_0x323b03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28f0d3,_0x1ec788])=>{_0x40f3d5(_0x28f0d3),_0x210abf(_0x1ec788);}):_0x40f3d5(window[_0x323b03([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x261dd8));}return _0x210abf(_0x5d9141),_0x114e34>>>0x0;}function _0x18a918(_0x987c3f){return _0x987c3f[_0x323b03([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x323b03([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x323b03([0x30]));}function _0x4ed706(_0x6191b3){return _0x6191b3[_0x323b03([0x73,0x70,0x6c,0x69,0x74])]('')[_0x323b03([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x323b03([0x6a,0x6f,0x69,0x6e])]('');}function _0x1712b3(){}function _0x323b03(_0x2a69c1){const _0x4b32bb=_0x442e;return _0x2a69c1[_0x4b32bb(0x249)](_0x22fba5=>String[_0x4b32bb(0x204)](_0x22fba5))[_0x4b32bb(0x1e5)]('');}_0x4457b5(await _0xf3a539());}(this);}[_0x21d7b7(0x24a)](){const _0x31d5ed=_0x21d7b7,_0x5b3c90=this[_0x31d5ed(0x1f4)][_0x31d5ed(0x1e7)];_0x5b3c90[_0x31d5ed(0x247)](_0x19e161=>{const _0xb75b8f=_0x31d5ed,_0x1a7848=_0x5b3c90[_0xb75b8f(0x211)][_0xb75b8f(0x1e1)][_0xb75b8f(0x22d)]();let _0x181b91=0x0;for(const _0x167114 of _0x1a7848){const _0x3025c9=w+':'+_0x181b91;if(_0x5b3c90[_0xb75b8f(0x231)][_0xb75b8f(0x246)](_0x3025c9))_0x19e161[_0xb75b8f(0x1ec)](_0x3025c9,{'range':_0x167114});else{if(_0x167114[_0xb75b8f(0x1ed)][_0xb75b8f(0x225)]){const _0x3bff98=_0x167114[_0xb75b8f(0x1ed)][_0xb75b8f(0x1ea)](({item:_0x1b7fcb})=>!_0x5b3c90[_0xb75b8f(0x1dd)][_0xb75b8f(0x244)](_0x1b7fcb),{'boundaries':_0x167114});_0x19e161[_0xb75b8f(0x227)](_0x3025c9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x19e161[_0xb75b8f(0x217)](_0x3bff98,_0x167114[_0xb75b8f(0x1eb)])});}else _0x19e161[_0xb75b8f(0x227)](_0x3025c9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x167114});}_0x181b91++;}});}[_0x21d7b7(0x21b)](){const _0x1f9ff7=_0x21d7b7,_0xb95fe2=this[_0x1f9ff7(0x1f4)][_0x1f9ff7(0x1e7)],_0x47770e=Array[_0x1f9ff7(0x1f7)](this[_0x1f9ff7(0x1f4)][_0x1f9ff7(0x1e7)][_0x1f9ff7(0x231)][_0x1f9ff7(0x248)](w));_0x47770e[_0x1f9ff7(0x21f)]&&_0xb95fe2[_0x1f9ff7(0x247)](_0x481074=>{const _0x26caac=_0x1f9ff7;_0x47770e[_0x26caac(0x20a)](_0x32b84a=>{const _0x1a75b2=_0x26caac;_0x481074[_0x1a75b2(0x22e)](_0x32b84a);});});}[_0x21d7b7(0x20d)](_0x2a9539,_0x1098f9){const _0x2288cc=_0x21d7b7,_0x54eb7c=this[_0x2288cc(0x222)](),_0x3ad245=_0x1098f9||_0x54eb7c[_0x2288cc(0x1ee)]();this[_0x2288cc(0x1f4)][_0x2288cc(0x1e7)][_0x2288cc(0x23b)](_0x3ad245)&&this[_0x2288cc(0x1f4)][_0x2288cc(0x1e7)][_0x2288cc(0x247)](_0x4b2a43=>{const _0x3ab7ad=_0x2288cc;this[_0x3ab7ad(0x21b)](),_0x1098f9||this[_0x3ab7ad(0x212)](_0x4b2a43,_0x54eb7c),this[_0x3ab7ad(0x1e2)]({'insertAt':_0x3ad245,'writer':_0x4b2a43,'html':_0x2a9539});});}[_0x21d7b7(0x23e)](_0xca5f69){const _0x42850e=_0x21d7b7,{model:_0xee6434}=this[_0x42850e(0x1f4)],_0x23069f=this[_0x42850e(0x222)]();_0xee6434[_0x42850e(0x247)](()=>{const _0x3b5f23=_0x42850e,_0x3fb216=this[_0x3b5f23(0x210)](_0xca5f69,_0x23069f)||this[_0x3b5f23(0x216)](_0x23069f);this[_0x3b5f23(0x20d)](_0xca5f69,_0x3fb216);});}[_0x21d7b7(0x222)](){const _0x13caa7=_0x21d7b7,_0x51d88a=this[_0x13caa7(0x1f4)][_0x13caa7(0x1e7)],_0x273d7b=Array[_0x13caa7(0x1f7)](_0x51d88a[_0x13caa7(0x231)][_0x13caa7(0x248)](w))[_0x13caa7(0x249)](_0x494be3=>_0x494be3[_0x13caa7(0x22c)]());return _0x51d88a[_0x13caa7(0x236)](_0x273d7b);}[_0x21d7b7(0x1e2)]({writer:_0x591cfb,html:_0x2558c5,insertAt:_0x2ee44a}){const _0x296905=_0x21d7b7,{view:_0x2ed01a}=this[_0x296905(0x1f4)][_0x296905(0x23f)],_0x3f30f9=this[_0x296905(0x1f4)][_0x296905(0x23c)][_0x296905(0x1ef)](_0xd42a23),_0x2aada8=new l();_0x2aada8[_0x296905(0x203)](_0x296905(0x223),_0x2558c5);const _0x1f8e74=new ClipboardEvent(_0x296905(0x20f),{'clipboardData':_0x2aada8}),_0x2e5964=new _0x3b2c1b(_0x2ed01a,_0x1f8e74,{'dataTransfer':new _0x4c5efd(_0x2aada8)});_0x591cfb[_0x296905(0x1f9)](_0x2ee44a);const _0x42f360=(_0x4c0f47,_0xe56b54)=>{const _0x9a1804=_0x296905;_0xe56b54[_0x9a1804(0x205)]&&_0x591cfb[_0x9a1804(0x1f9)](_0xe56b54[_0x9a1804(0x205)]);};_0x3f30f9[_0x296905(0x1f5)](_0x296905(0x1fd),_0x42f360,{'priority':_0x296905(0x20c)}),_0x2ed01a[_0x296905(0x211)][_0x296905(0x219)](_0x296905(0x20f),_0x2e5964),_0x3f30f9[_0x296905(0x221)](_0x296905(0x1fd),_0x42f360);}[_0x21d7b7(0x216)](_0x2db244){const _0x15828f=_0x21d7b7,{model:_0x20f08a}=this[_0x15828f(0x1f4)],_0x11c364=Array[_0x15828f(0x1f7)](_0x2db244[_0x15828f(0x229)]());return _0x11c364[_0x15828f(0x21f)]?_0x20f08a[_0x15828f(0x224)](_0x11c364[_0x15828f(0x215)]()):_0x2db244[_0x15828f(0x213)]();}[_0x21d7b7(0x210)](_0x2f18d4,_0x45ac1f){const _0xe3510f=_0x21d7b7,{model:_0x46603a,plugins:_0x10ace7}=this[_0xe3510f(0x1f4)];if(_0x10ace7[_0xe3510f(0x246)](_0xe3510f(0x21a))){const _0x302393=_0x10ace7[_0xe3510f(0x1ef)](_0xe3510f(0x21a))[_0xe3510f(0x226)](_0x45ac1f);if(_0x302393[_0xe3510f(0x21f)]){const _0x45dd5e=this[_0xe3510f(0x220)](_0x2f18d4),_0x163833=this[_0xe3510f(0x238)](_0x302393,_0x45dd5e);return _0x46603a[_0xe3510f(0x1e0)](_0x163833,0x0);}}return null;}[_0x21d7b7(0x220)](_0x17b298){const _0x4343da=_0x21d7b7,_0x45ec32=this[_0x4343da(0x1f4)][_0x4343da(0x23c)][_0x4343da(0x1ef)](_0x4343da(0x21a)),_0x561fc4=this[_0x4343da(0x1f4)][_0x4343da(0x241)][_0x4343da(0x228)](_0x17b298),_0x2c1cfc=Array[_0x4343da(0x1f7)](_0x561fc4[_0x4343da(0x237)]())[_0x4343da(0x200)](_0x4897be=>_0x4897be['is'](_0x4343da(0x20b),_0x4343da(0x21d)));let _0x44a051=0x0;return _0x2c1cfc[_0x4343da(0x20a)](_0x1e622f=>{const _0x14db51=_0x4343da;_0x44a051+=_0x45ec32[_0x14db51(0x1df)](_0x1e622f);}),_0x44a051;}[_0x21d7b7(0x238)](_0x1e9bd5,_0x274075){const _0x36fda4=_0x21d7b7,_0x130e20=this[_0x36fda4(0x1f4)][_0x36fda4(0x23c)][_0x36fda4(0x1ef)](_0x36fda4(0x21a)),_0x4c84e7=_0x130e20[_0x36fda4(0x234)](_0x1e9bd5),_0x2ef80f=_0x130e20[_0x36fda4(0x1e8)](_0x1e9bd5),_0x4db28d=_0x4c84e7[_0x36fda4(0x202)]+0x1,_0x11ca1b=_0x2ef80f[_0x36fda4(0x21c)],_0x396dcd=_0x1e9bd5[0x0][_0x36fda4(0x242)](_0x36fda4(0x21d));for(let _0xdeaab2=0x0;_0xdeaab2<_0x274075;_0xdeaab2++)_0x130e20[_0x36fda4(0x1e9)](_0x396dcd,{'at':_0x4db28d});return _0x396dcd[_0x36fda4(0x1de)](_0x4db28d)[_0x36fda4(0x1de)](_0x11ca1b);}[_0x21d7b7(0x212)](_0x895904,_0x58bdb5){const _0x370920=_0x21d7b7,{plugins:_0x2b2b95}=this[_0x370920(0x1f4)],{model:_0x527158}=_0x895904;if(!_0x2b2b95[_0x370920(0x246)](_0x370920(0x21a)))return;_0x2b2b95[_0x370920(0x1ef)](_0x370920(0x21a))[_0x370920(0x226)](_0x58bdb5)[_0x370920(0x21f)]&&_0x527158[_0x370920(0x240)](_0x58bdb5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cb7c8=_0x27c0;(function(_0xd4023a,_0x196b11){const _0x5db2ef=_0x27c0,_0xe8dc9f=_0xd4023a();while(!![]){try{const _0x1482b6=-parseInt(_0x5db2ef(0x1b6))/0x1*(parseInt(_0x5db2ef(0x1c0))/0x2)+-parseInt(_0x5db2ef(0x211))/0x3+parseInt(_0x5db2ef(0x223))/0x4+-parseInt(_0x5db2ef(0x1df))/0x5+parseInt(_0x5db2ef(0x206))/0x6*(-parseInt(_0x5db2ef(0x1f5))/0x7)+parseInt(_0x5db2ef(0x212))/0x8*(-parseInt(_0x5db2ef(0x1da))/0x9)+-parseInt(_0x5db2ef(0x1ec))/0xa*(-parseInt(_0x5db2ef(0x1aa))/0xb);if(_0x1482b6===_0x196b11)break;else _0xe8dc9f['push'](_0xe8dc9f['shift']());}catch(_0x4de4d3){_0xe8dc9f['push'](_0xe8dc9f['shift']());}}}(_0x48d8,0x61829));import{Plugin as _0x4b9657}from'ckeditor5/src/core.js';import{IconMagicWand as _0xc52c4e,IconRobotPencil as _0x3fd462}from'ckeditor5/src/icons.js';import{first as _0x4beb8d,CKEditorError as _0x37f6da}from'ckeditor5/src/utils.js';function _0x27c0(_0x1354c7,_0x5b6e08){const _0x48d8a6=_0x48d8();return _0x27c0=function(_0x27c007,_0x5c3396){_0x27c007=_0x27c007-0x173;let _0x55cfab=_0x48d8a6[_0x27c007];return _0x55cfab;},_0x27c0(_0x1354c7,_0x5b6e08);}import{createDropdown as _0x90bf84,addMenuToDropdown as _0x3c36b3,ButtonView as _0x229009,MenuBarMenuListItemButtonView as _0x7725d6,Dialog as _0x49a39b,DialogViewPosition as _0x2d5822,MenuBarMenuView as _0x49c015,MenuBarMenuListView as _0x103718,MenuBarMenuListItemView as _0x4d9b0a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x503888,UNGROUPED_COMMANDS_GROUP_ID as _0x5e81be}from'./utils/normalizecommandsconfig.js';function _0x48d8(){const _0x204e1a=['set','copy','_aiAssistantController','AIAssistant','ai-commands-config-order-collision','</p>','_onExecute','domainLimit','source','_populateMenuBarMenu','ck-ai-assistant-ui','ai.aiAssistant.contentAreaCssClass','3058794nOqENy','update','order','AI\x20Commands','view','licenseKey','getSelectedElement','AI\x20is\x20writing','wasMoved','text','textAdapter','1545759umemCR','6584iaodHb','_forceMarkersCopy','reset','_commandDefinitions','componentFactory','isPremiumPlugin','schema','length','trialLimit','menuPanelClass','text/html','requires','AIAssistantUI','change:value','define','aiLicenseKeyExpired','updateView','2787444pTtiQJ','tableOfContents','plugins','REPLACE','ck-ai-commands-dropdown\x20','ai.aiAssistant.disabledElements','DataTransfer','ck-ai-assistant-button\x20','addMany','fire','isFlat','custom','commands','change:isProcessing','trim','aiCommands','announce','_dialog','splice','filter','polite','values','currentContext','queryView','sort','hideUI','updatePosition','change:isError','from','contentArea','change:enabledCommandsIds','EDITOR_TOP_SIDE','ai.useTheme','replaceContent','render','comment','aiLicenseKeyTrialLimit','INSERT','bind','_createAIAssistantUIButton','insertContent','insertContentBelow','editor','locale','rawHtml','pluginName','ai.aiAssistant.commands','label','panelView','setSelection','items','model','errorView','media','buttons','body','45034wTYxFA','document','getLimitElement','destroy','showUI','showAIAssistant','hideFakeVisualSelection','Error\x20during\x20AI\x20content\x20generation:\x20%0','\x20ck-ai-assistant-ui_theme','getData','init','show','749BIqHUJ','_initView','menuBar:aiAssistant','menuBar:aiCommands','aiLicenseKeyValid','_licenseKeyCheckInterval','isCollapsed','<p>','prompt','includes','892vPPWgY','listenTo','_initAriaAiStatusChangeAnnouncements','change','usageLimit','isOfficialPlugin','aiLicenseKeyInvalid','enabledCommandsIds','editing','once','isOn','invalid','requiresContent','add','menuView','push','evaluationLimit','command:','_formView','AI\x20Assistant','fieldView','_getResolvedCommandsDefinitions','isEnabled','menuitemcheckbox','getSelectedBlocks','aiLicenseKeyNotAllowed','8343cJNxMK','_uiCssClasses','_aiAdapter','children','getRanges','2565535TOkDDO','promptView','_getMenuBarGroupButtons','showFakeVisualSelection','hide','groupId','aiLicenseKeyUsageLimit','config','focus','execute','get','Generated\x20content:\x20%0','delegate','5710AbnpiK','expired','aiAssistant','_showLicenseError','aiLicenseKeyDomainLimit','buttonView','featureNotAllowed','map','selection','7duryzE','groupLabel','forEach','replace','aiLicenseKeyEvaluationLimit'];_0x48d8=function(){return _0x204e1a;};return _0x48d8();}import{AIAssistantEditing as _0x54c106}from'./aiassistantediting.js';import{AIAdapter as _0x3ebdff}from'./adapters/aiadapter.js';import{getTranslation as _0x2f8b0a}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x508031}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x455475}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x32164e}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5b7429}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x2cb7c8(0x178)];import{ClipboardMarkersUtils as _0x10bec7}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x547c17,ViewDataTransfer as _0x424eba}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4b9657{[_0x2cb7c8(0x20b)];[_0x2cb7c8(0x1bb)];[_0x2cb7c8(0x183)];[_0x2cb7c8(0x1d2)];[_0x2cb7c8(0x1dc)];[_0x2cb7c8(0x1fc)];[_0x2cb7c8(0x1db)]='';static get[_0x2cb7c8(0x19f)](){const _0x7be1dc=_0x2cb7c8;return _0x7be1dc(0x21e);}static get[_0x2cb7c8(0x1c5)](){return!0x0;}static get[_0x2cb7c8(0x217)](){return!0x0;}static get[_0x2cb7c8(0x21d)](){return[_0x10bec7,_0x54c106,_0x3ebdff,_0x49a39b];}constructor(_0x1bd272){const _0x2dd51b=_0x2cb7c8;super(_0x1bd272),_0x1bd272[_0x2dd51b(0x1e6)][_0x2dd51b(0x220)](_0x2dd51b(0x177),[_0x2dd51b(0x1a7),_0x2dd51b(0x19e),_0x2dd51b(0x173)]),_0x1bd272[_0x2dd51b(0x1e6)][_0x2dd51b(0x220)](_0x2dd51b(0x205),''),_0x1bd272[_0x2dd51b(0x1e6)][_0x2dd51b(0x220)](_0x2dd51b(0x192),!0x0),this[_0x2dd51b(0x1db)]=_0x2dd51b(0x204)+(_0x1bd272[_0x2dd51b(0x1e6)][_0x2dd51b(0x1e9)](_0x2dd51b(0x192))?_0x2dd51b(0x1b2):'');}[_0x2cb7c8(0x1b4)](){const _0x4c5ac5=_0x2cb7c8,{editor:_0x1f5e20}=this;this[_0x4c5ac5(0x1dc)]=_0x1f5e20[_0x4c5ac5(0x174)][_0x4c5ac5(0x1e9)](_0x3ebdff),this[_0x4c5ac5(0x183)]=_0x1f5e20[_0x4c5ac5(0x174)][_0x4c5ac5(0x1e9)](_0x49a39b),this[_0x4c5ac5(0x1d2)]=null,this[_0x4c5ac5(0x215)]=this[_0x4c5ac5(0x1d5)]();const _0x5e97f7=new _0x508031(_0x1f5e20,Array[_0x4c5ac5(0x18e)](this[_0x4c5ac5(0x215)][_0x4c5ac5(0x187)]()));_0x1f5e20[_0x4c5ac5(0x17e)][_0x4c5ac5(0x1cd)](_0x4c5ac5(0x1af),_0x5e97f7),_0x1f5e20['ui'][_0x4c5ac5(0x216)][_0x4c5ac5(0x1cd)](_0x4c5ac5(0x181),_0x3c1377=>{const _0x3d3e61=_0x4c5ac5,_0x5919e7=_0x90bf84(_0x3c1377);return _0x5919e7[_0x3d3e61(0x1fa)]({'class':_0x3d3e61(0x176)+this[_0x3d3e61(0x1db)]}),_0x5919e7[_0x3d3e61(0x1f1)][_0x3d3e61(0x1fa)]({'label':_0x2f8b0a(_0x3c1377,_0x3d3e61(0x209)),'icon':_0xc52c4e,'tooltip':!0x0}),_0x5919e7['on'](_0x3d3e61(0x1e8),_0x527077=>this[_0x3d3e61(0x200)](_0x527077[_0x3d3e61(0x202)]['id'])),_0x3c36b3(_0x5919e7,_0x1f5e20['ui'][_0x3d3e61(0x20a)][_0x3d3e61(0x1a9)],function(_0x59a964){const _0x425747=_0x3d3e61,_0x2a726d=_0x503888(_0x59a964[_0x425747(0x1e6)][_0x425747(0x1e9)](_0x425747(0x1a0)),_0x59a964[_0x425747(0x19d)]),_0x409a4c=U(_0x59a964,_0x2a726d)[_0x425747(0x185)](_0x255b45=>_0x255b45[_0x425747(0x17e)][_0x425747(0x219)]);if(0x1===_0x409a4c[_0x425747(0x219)])return U(_0x59a964,_0x409a4c[0x0][_0x425747(0x17e)])[_0x425747(0x1f3)](_0xf8d27b=>({'id':_0xf8d27b['id'],'label':_0xf8d27b[_0x425747(0x1a1)]}));return _0x409a4c[_0x425747(0x1f3)](_0x3435b3=>{const _0x173a77=_0x425747,{groupId:_0x6ae845,groupLabel:_0x40b202,commands:_0x4ed496}=_0x3435b3,_0x3ca19b=U(_0x59a964,_0x4ed496)[_0x173a77(0x1f3)](_0x40c17c=>({'id':_0x40c17c['id'],'label':_0x40c17c[_0x173a77(0x1a1)]}));return{'id':_0x6ae845,'menu':_0x40b202||_0x6ae845,'children':_0x3ca19b};});}(_0x1f5e20),{'ariaLabel':_0x2f8b0a(_0x3c1377,_0x3d3e61(0x209))}),_0x5919e7[_0x3d3e61(0x1ce)][_0x3d3e61(0x21b)]=_0x3d3e61(0x176)+this[_0x3d3e61(0x1db)],_0x5e97f7['on'](_0x3d3e61(0x190),_0x3b7483),_0x5919e7[_0x3d3e61(0x1ce)][_0x3d3e61(0x1c9)](_0x3d3e61(0x194),_0x3b7483),_0x5919e7;function _0x3b7483(){const _0x4919da=_0x3d3e61;_0x5919e7[_0x4919da(0x1d6)]=_0x5e97f7[_0x4919da(0x1c7)][_0x4919da(0x219)]>0x0;for(const _0x540320 of _0x5919e7[_0x4919da(0x1ce)][_0x4919da(0x1a8)])_0x540320[_0x4919da(0x1d6)]=_0x5e97f7[_0x4919da(0x1c7)][_0x4919da(0x1bf)](_0x540320['id']);}}),_0x1f5e20['ui'][_0x4c5ac5(0x216)][_0x4c5ac5(0x1cd)](_0x4c5ac5(0x1b9),_0x52d16c=>{const _0x435c71=_0x4c5ac5,_0x2bf00d=new _0x49c015(_0x52d16c);_0x2bf00d[_0x435c71(0x1f1)][_0x435c71(0x1fa)]({'label':_0x2f8b0a(_0x52d16c,_0x435c71(0x209)),'icon':_0xc52c4e}),_0x2bf00d[_0x435c71(0x198)](_0x435c71(0x1d6))['to'](_0x5e97f7,_0x435c71(0x1c7),_0x376e7e=>_0x376e7e[_0x435c71(0x219)]>0x0);const _0x32fa52=_0x503888(_0x1f5e20[_0x435c71(0x1e6)][_0x435c71(0x1e9)](_0x435c71(0x1a0)),_0x52d16c);return this[_0x435c71(0x203)](_0x5e97f7,_0x2bf00d,_0x32fa52,_0x1bef76=>this[_0x435c71(0x200)](_0x1bef76)),_0x2bf00d;}),_0x1f5e20['ui'][_0x4c5ac5(0x216)][_0x4c5ac5(0x1cd)](_0x4c5ac5(0x1ee),()=>{const _0x12a5f3=_0x4c5ac5,_0x417293=this[_0x12a5f3(0x199)](_0x229009);return _0x417293[_0x12a5f3(0x1fa)]({'tooltip':!0x0,'class':_0x12a5f3(0x179)+this[_0x12a5f3(0x1db)]}),_0x417293;}),_0x1f5e20['ui'][_0x4c5ac5(0x216)][_0x4c5ac5(0x1cd)](_0x4c5ac5(0x1b8),()=>{const _0x59df42=_0x4c5ac5,_0x50ace3=this[_0x59df42(0x199)](_0x7725d6);return _0x50ace3[_0x59df42(0x1fa)]({'role':_0x59df42(0x1d7)}),_0x50ace3;}),this[_0x4c5ac5(0x20b)]=this[_0x4c5ac5(0x19c)][_0x4c5ac5(0x1e6)][_0x4c5ac5(0x1e9)](_0x4c5ac5(0x20b));const _0x41f043=this[_0x4c5ac5(0x19c)];this[_0x4c5ac5(0x1bb)]=setInterval(()=>{const _0x4951be=_0x4c5ac5;let _0x4287e6;for(const _0x139648 in _0x41f043){const _0xe0e79d=_0x139648,_0x503968=_0x41f043[_0xe0e79d];if(_0x4951be(0x1ba)==_0x503968||_0x4951be(0x1c6)==_0x503968||_0x4951be(0x221)==_0x503968||_0x4951be(0x1f0)==_0x503968||_0x4951be(0x1d9)==_0x503968||_0x4951be(0x1f9)==_0x503968||_0x4951be(0x196)==_0x503968||_0x4951be(0x1e5)==_0x503968){delete _0x41f043[_0xe0e79d],_0x4287e6=_0x503968,clearInterval(this[_0x4951be(0x1bb)]),this[_0x4951be(0x1bb)]=void 0x0;break;}}_0x4951be(0x1c6)==_0x4287e6&&_0x41f043[_0x4951be(0x1ef)](_0x4951be(0x1cb)),_0x4951be(0x221)==_0x4287e6&&_0x41f043[_0x4951be(0x1ef)](_0x4951be(0x1ed)),_0x4951be(0x1f0)==_0x4287e6&&_0x41f043[_0x4951be(0x1ef)](_0x4951be(0x201)),_0x4951be(0x1d9)==_0x4287e6&&_0x41f043[_0x4951be(0x1ef)](_0x4951be(0x1f2),_0x4951be(0x1fd)),_0x4951be(0x1f9)==_0x4287e6&&_0x41f043[_0x4951be(0x1ef)](_0x4951be(0x1d0)),_0x4951be(0x196)==_0x4287e6&&_0x41f043[_0x4951be(0x1ef)](_0x4951be(0x21a)),_0x4951be(0x1e5)==_0x4287e6&&_0x41f043[_0x4951be(0x1ef)](_0x4951be(0x1c4));},0x3e8);}[_0x2cb7c8(0x1ad)](){const _0xbae83e=_0x2cb7c8;super[_0xbae83e(0x1ad)](),this[_0xbae83e(0x1bb)]&&clearInterval(this[_0xbae83e(0x1bb)]);}[_0x2cb7c8(0x1ae)](_0x4378a1='',_0x3512dc='',_0x2687a4=_0x2cb7c8(0x17d)){const _0x56d007=_0x2cb7c8,_0x155c90=this[_0x56d007(0x19c)],_0x41ebfe=_0x155c90[_0x56d007(0x1c8)][_0x56d007(0x20a)],_0x418144=_0x155c90[_0x56d007(0x174)][_0x56d007(0x1e9)](_0x54c106),_0x4871e2=_0x155c90[_0x56d007(0x174)][_0x56d007(0x1e9)](_0x10bec7);_0x418144[_0x56d007(0x1e2)]();const _0xb59738=new l(),_0x2a659a=new ClipboardEvent(_0x56d007(0x1fb),{'clipboardData':_0xb59738}),_0x4c28c4=new _0x424eba(_0xb59738),_0x280e89=new _0x547c17(_0x41ebfe,_0x2a659a,{'dataTransfer':_0x4c28c4});_0x4871e2[_0x56d007(0x213)](_0x56d007(0x195),()=>{const _0x29f33e=_0x56d007;_0x41ebfe[_0x29f33e(0x1ab)][_0x29f33e(0x17b)](_0x29f33e(0x1fb),_0x280e89);}),this[_0x56d007(0x1d2)]||(this[_0x56d007(0x1b7)](),this[_0x56d007(0x1fc)]=new _0x455475(_0x155c90,this[_0x56d007(0x1dc)][_0x56d007(0x210)],this[_0x56d007(0x1d2)]));let _0x4f834f=_0x4c28c4[_0x56d007(0x1b3)](_0x56d007(0x21c));const _0x42340e=_0x155c90[_0x56d007(0x1a5)][_0x56d007(0x1ab)][_0x56d007(0x1f4)],_0x34dfac=Array[_0x56d007(0x18e)](_0x42340e[_0x56d007(0x1de)]());0x1===_0x34dfac[_0x56d007(0x219)]&&_0x34dfac[0x0][_0x56d007(0x17c)]&&!_0x42340e[_0x56d007(0x20c)]()&&''!==_0x4f834f[_0x56d007(0x1f8)](/&nbsp;/g,'')[_0x56d007(0x180)]()&&(_0x4f834f=_0x56d007(0x1bd)+_0x4f834f+_0x56d007(0x1ff)),this[_0x56d007(0x1fc)][_0x56d007(0x222)]({'actionId':_0x2687a4,'query':_0x4378a1,'htmlContent':_0x4f834f,'label':_0x3512dc,'mainActionLabel':_0x5b7429[_0x155c90[_0x56d007(0x1a5)][_0x56d007(0x1ab)][_0x56d007(0x1f4)][_0x56d007(0x1bc)]?_0x56d007(0x197):_0x56d007(0x175)]}),_0x56d007(0x1ee)!==this[_0x56d007(0x183)]['id']?this[_0x56d007(0x183)][_0x56d007(0x1b5)]({'id':_0x56d007(0x1ee),'icon':_0x3fd462,'title':_0x2f8b0a(this[_0x56d007(0x19c)][_0x56d007(0x19d)],_0x56d007(0x1d3)),'content':this[_0x56d007(0x1d2)],'position':_0x2d5822[_0x56d007(0x191)],'onShow':()=>{const _0x49eaf4=_0x56d007;this[_0x49eaf4(0x1d2)][_0x49eaf4(0x1e7)]();},'onHide':()=>{const _0xbc6c27=_0x56d007;this[_0xbc6c27(0x1fc)][_0xbc6c27(0x214)](),_0x418144[_0xbc6c27(0x1b0)]();}}):this[_0x56d007(0x183)][_0x56d007(0x20a)][_0x56d007(0x20e)]||this[_0x56d007(0x183)][_0x56d007(0x20a)][_0x56d007(0x18c)]();}[_0x2cb7c8(0x18b)](){const _0xec7100=_0x2cb7c8;this[_0xec7100(0x183)][_0xec7100(0x1e3)]();}[_0x2cb7c8(0x1d5)](){const _0x209a9b=_0x2cb7c8,_0x26b6a9=new Map(),_0x4bdf9a=_0x503888(this[_0x209a9b(0x19c)][_0x209a9b(0x1e6)][_0x209a9b(0x1e9)](_0x209a9b(0x1a0)),this[_0x209a9b(0x19c)][_0x209a9b(0x19d)]);for(const _0x516e80 of _0x4bdf9a)for(const _0x447530 of _0x516e80[_0x209a9b(0x17e)])_0x26b6a9[_0x209a9b(0x1fa)](_0x447530['id'],{..._0x447530,'groupId':_0x516e80[_0x209a9b(0x1e4)],'groupLabel':_0x516e80[_0x209a9b(0x1f6)]||_0x516e80[_0x209a9b(0x1e4)]});return _0x26b6a9;}[_0x2cb7c8(0x199)](_0x31db44){const _0x5405e8=_0x2cb7c8,_0x50ebd4=this[_0x5405e8(0x19c)],_0x5c9d35=_0x50ebd4[_0x5405e8(0x17e)][_0x5405e8(0x1e9)](_0x5405e8(0x1af)),_0x44c51f=new _0x31db44(_0x50ebd4[_0x5405e8(0x19d)]);return _0x44c51f[_0x5405e8(0x1fa)]({'label':_0x2f8b0a(_0x50ebd4[_0x5405e8(0x19d)],_0x5405e8(0x1d3)),'icon':_0x3fd462,'isToggleable':!0x0}),_0x44c51f[_0x5405e8(0x198)](_0x5405e8(0x1d6))['to'](_0x5c9d35),_0x44c51f[_0x5405e8(0x198)](_0x5405e8(0x1ca))['to'](this[_0x5405e8(0x183)],'id',_0x1312f4=>_0x5405e8(0x1ee)===_0x1312f4),this[_0x5405e8(0x1c1)](_0x44c51f,_0x5405e8(0x1e8),()=>{const _0xe64a11=_0x5405e8;_0x44c51f[_0xe64a11(0x1ca)]?this[_0xe64a11(0x18b)]():_0x5c9d35[_0xe64a11(0x1e8)]();}),_0x44c51f;}[_0x2cb7c8(0x1b7)](){const _0x29ec9f=_0x2cb7c8,_0x29b8ba=this[_0x29ec9f(0x19c)][_0x29ec9f(0x174)][_0x29ec9f(0x1e9)](_0x54c106);this[_0x29ec9f(0x1d2)]=new _0x32164e(this[_0x29ec9f(0x19c)][_0x29ec9f(0x19d)],this[_0x29ec9f(0x1db)],this[_0x29ec9f(0x19c)][_0x29ec9f(0x1e6)][_0x29ec9f(0x1e9)](_0x29ec9f(0x205))),this[_0x29ec9f(0x1d2)]['on'](_0x29ec9f(0x21f),()=>{const _0x4e0e96=_0x29ec9f;this[_0x4e0e96(0x183)][_0x4e0e96(0x20a)][_0x4e0e96(0x20e)]||this[_0x4e0e96(0x183)][_0x4e0e96(0x20a)][_0x4e0e96(0x18c)]();}),this[_0x29ec9f(0x1d2)][_0x29ec9f(0x1e0)][_0x29ec9f(0x189)][_0x29ec9f(0x1d4)]['on'](_0x29ec9f(0x207),()=>{const _0x295cb2=_0x29ec9f;this[_0x295cb2(0x183)][_0x295cb2(0x20a)][_0x295cb2(0x20e)]||this[_0x295cb2(0x183)][_0x295cb2(0x20a)][_0x295cb2(0x18c)]();}),this[_0x29ec9f(0x1c1)](this[_0x29ec9f(0x1d2)],_0x29ec9f(0x193),()=>{const _0x40a978=_0x29ec9f;_0x29b8ba[_0x40a978(0x19a)](this[_0x40a978(0x1fc)][_0x40a978(0x188)]),this[_0x40a978(0x18b)]();}),this[_0x29ec9f(0x1c1)](this[_0x29ec9f(0x1d2)],_0x29ec9f(0x19b),()=>{const _0x2e39ba=_0x29ec9f;_0x29b8ba[_0x2e39ba(0x19b)](this[_0x2e39ba(0x1fc)][_0x2e39ba(0x188)]),this[_0x2e39ba(0x18b)]();}),this[_0x29ec9f(0x1c2)]();}[_0x2cb7c8(0x1c2)](){const _0x1f9e12=_0x2cb7c8,{locale:_0x5a27b4,ui:{ariaLiveAnnouncer:_0x235013}}=this[_0x1f9e12(0x19c)];this[_0x1f9e12(0x1d2)][_0x1f9e12(0x18f)]['on'](_0x1f9e12(0x17f),(_0x4c6029,_0x1cf325,_0x4dceac)=>{const _0x1389b7=_0x1f9e12,_0x3e0cc9=this[_0x1389b7(0x1fc)][_0x1389b7(0x188)];_0x4dceac?_0x235013[_0x1389b7(0x182)](_0x2f8b0a(_0x5a27b4,_0x1389b7(0x20d))):_0x3e0cc9&&_0x235013[_0x1389b7(0x182)](_0x2f8b0a(_0x5a27b4,_0x1389b7(0x1ea),_0x3e0cc9),{'politeness':_0x1389b7(0x186),'isUnsafeHTML':!0x0});}),this[_0x1f9e12(0x1d2)]['on'](_0x1f9e12(0x18d),(_0xd28f1f,_0x53ad6f,_0x54ac4c)=>{const _0x8c5816=_0x1f9e12;if(_0x54ac4c){const _0x31aabe=this[_0x8c5816(0x1d2)][_0x8c5816(0x1a6)][_0x8c5816(0x20f)];_0x235013[_0x8c5816(0x182)](_0x2f8b0a(_0x5a27b4,_0x8c5816(0x1b1),_0x31aabe));}});}[_0x2cb7c8(0x200)](_0x1c2806){const _0x2ff9ca=_0x2cb7c8,_0x7b4dd9=this[_0x2ff9ca(0x215)][_0x2ff9ca(0x1e9)](_0x1c2806),_0x2856d0=this[_0x2ff9ca(0x19c)],_0x2242d4=_0x2856d0[_0x2ff9ca(0x1a5)][_0x2ff9ca(0x1ab)][_0x2ff9ca(0x1f4)],_0x567bb7=_0x2856d0[_0x2ff9ca(0x17e)][_0x2ff9ca(0x1e9)](_0x2ff9ca(0x1af)),_0x3eba48=_0x2856d0[_0x2ff9ca(0x174)][_0x2ff9ca(0x1e9)](_0x54c106),_0x1dc5aa=''+(_0x7b4dd9[_0x2ff9ca(0x1e4)]!==_0x5e81be?_0x7b4dd9[_0x2ff9ca(0x1f6)]+':\x20':'')+_0x7b4dd9[_0x2ff9ca(0x1a1)];if(!0x1!==_0x7b4dd9[_0x2ff9ca(0x1cc)]&&_0x2242d4[_0x2ff9ca(0x1bc)]){const _0x240a76=_0x4beb8d(_0x2242d4[_0x2ff9ca(0x1d8)]())||_0x2856d0[_0x2ff9ca(0x1a5)][_0x2ff9ca(0x218)][_0x2ff9ca(0x1ac)](_0x2242d4);_0x2856d0[_0x2ff9ca(0x1a5)][_0x2ff9ca(0x1c3)](_0x5b187a=>{const _0x24c43b=_0x2ff9ca;_0x5b187a[_0x24c43b(0x1a3)](_0x240a76,'in');});}_0x3eba48[_0x2ff9ca(0x1e2)](),_0x567bb7[_0x2ff9ca(0x1e8)](_0x7b4dd9[_0x2ff9ca(0x1be)],_0x1dc5aa,_0x2ff9ca(0x1d1)+_0x1c2806);}[_0x2cb7c8(0x203)](_0x2ac05c,_0x1acab7,_0x138567,_0x1df2c4){const _0x34dfcd=_0x2cb7c8,_0x1dfe53=this[_0x34dfcd(0x19c)],_0x30231c=_0x1dfe53[_0x34dfcd(0x19d)],_0x53ba8=new _0x103718(_0x30231c),_0x13ff81=U(_0x1dfe53,_0x138567)[_0x34dfcd(0x185)](_0x5b6d63=>_0x5b6d63[_0x34dfcd(0x17e)][_0x34dfcd(0x219)]);0x1===_0x13ff81[_0x34dfcd(0x219)]?this[_0x34dfcd(0x1e1)]({'command':_0x2ac05c,'commands':_0x13ff81[0x0][_0x34dfcd(0x17e)],'parentMenuView':_0x1acab7,'onExecute':_0x1df2c4})[_0x34dfcd(0x1f7)](_0x368f4e=>_0x53ba8[_0x34dfcd(0x1a4)][_0x34dfcd(0x1cd)](_0x368f4e)):_0x13ff81[_0x34dfcd(0x1f7)](({groupId:_0x5a70cc,groupLabel:_0x502d12,commands:_0x4614a9})=>{const _0x5203c0=_0x34dfcd,_0x48aa05=new _0x4d9b0a(_0x30231c,_0x1acab7),_0x4a7b33=new _0x49c015(_0x30231c),_0x33094e=new _0x103718(_0x30231c),_0x49df18=this[_0x5203c0(0x1e1)]({'command':_0x2ac05c,'commands':_0x4614a9,'parentMenuView':_0x4a7b33,'onExecute':_0x1df2c4});_0x4a7b33[_0x5203c0(0x1f1)][_0x5203c0(0x1fa)]({'label':_0x502d12||_0x5a70cc}),_0x4a7b33[_0x5203c0(0x1eb)](_0x5203c0(0x1e8))['to'](_0x1acab7),_0x33094e[_0x5203c0(0x1a4)][_0x5203c0(0x17a)](_0x49df18),_0x4a7b33[_0x5203c0(0x1a2)][_0x5203c0(0x1dd)][_0x5203c0(0x1cd)](_0x33094e),_0x48aa05[_0x5203c0(0x1dd)][_0x5203c0(0x1cd)](_0x4a7b33),_0x53ba8[_0x5203c0(0x1a4)][_0x5203c0(0x1cd)](_0x48aa05);}),_0x1acab7[_0x34dfcd(0x1a2)][_0x34dfcd(0x1dd)][_0x34dfcd(0x1cd)](_0x53ba8);}[_0x2cb7c8(0x1e1)]({command:_0x372ce4,commands:_0x79a6ac,parentMenuView:_0x1b4067,onExecute:_0x39ff30}){const _0x40368b=_0x2cb7c8,_0x6845c9=this[_0x40368b(0x19c)],_0x23d42b=_0x6845c9[_0x40368b(0x19d)];return U(_0x6845c9,_0x79a6ac)[_0x40368b(0x1f3)](_0x21b143=>{const _0x3405de=_0x40368b,_0x212be8=new _0x4d9b0a(_0x23d42b,_0x1b4067),_0x109c16=new _0x7725d6(_0x23d42b);return _0x109c16[_0x3405de(0x1fa)]({'label':_0x21b143[_0x3405de(0x1a1)]}),_0x109c16[_0x3405de(0x1eb)](_0x3405de(0x1e8))['to'](_0x1b4067),_0x109c16['on'](_0x3405de(0x1e8),()=>_0x39ff30(_0x21b143['id'])),_0x109c16[_0x3405de(0x198)](_0x3405de(0x1d6))['to'](_0x372ce4,_0x3405de(0x1c7),_0x495fe8=>_0x495fe8[_0x3405de(0x1bf)](_0x21b143['id'])),_0x212be8[_0x3405de(0x1dd)][_0x3405de(0x1cd)](_0x109c16),_0x212be8;});}}function T(_0x1be0b5,_0x31de10){const _0x29a84b=_0x2cb7c8;return void 0x0!==_0x1be0b5[_0x29a84b(0x208)]&&void 0x0===_0x31de10[_0x29a84b(0x208)]?0x1:void 0x0===_0x1be0b5[_0x29a84b(0x208)]&&void 0x0!==_0x31de10[_0x29a84b(0x208)]?-0x1:void 0x0!==_0x1be0b5[_0x29a84b(0x208)]&&void 0x0!==_0x31de10[_0x29a84b(0x208)]?_0x1be0b5[_0x29a84b(0x208)]-_0x31de10[_0x29a84b(0x208)]:0x0;}function U(_0x113e09,_0x4f0f63){const _0x127881=_0x2cb7c8;_0x4f0f63[_0x127881(0x18a)](T);const _0x171486={},_0x31f7b0=[];for(const _0x5976d0 of _0x4f0f63)if(void 0x0!==_0x5976d0[_0x127881(0x208)]){if(_0x5976d0[_0x127881(0x208)]in _0x171486)throw new _0x37f6da(_0x127881(0x1fe),_0x113e09,{'conflictingDefinitions':[_0x5976d0,_0x171486[_0x5976d0[_0x127881(0x208)]]]});_0x171486[_0x5976d0[_0x127881(0x208)]]=_0x5976d0,_0x31f7b0[_0x127881(0x184)](_0x5976d0[_0x127881(0x208)],0x0,_0x5976d0);}else _0x31f7b0[_0x127881(0x1cf)](_0x5976d0);return _0x31f7b0;}
23
+ const _0x583b7f=_0xd0ef;(function(_0x4bf854,_0x5ef822){const _0x550d20=_0xd0ef,_0x4e03cb=_0x4bf854();while(!![]){try{const _0x83ea52=parseInt(_0x550d20(0xb8))/0x1*(parseInt(_0x550d20(0xb5))/0x2)+-parseInt(_0x550d20(0x9d))/0x3*(-parseInt(_0x550d20(0xa2))/0x4)+parseInt(_0x550d20(0xbf))/0x5*(-parseInt(_0x550d20(0xea))/0x6)+-parseInt(_0x550d20(0xef))/0x7+-parseInt(_0x550d20(0x9f))/0x8+-parseInt(_0x550d20(0xe8))/0x9*(parseInt(_0x550d20(0xe7))/0xa)+-parseInt(_0x550d20(0xce))/0xb*(-parseInt(_0x550d20(0x111))/0xc);if(_0x83ea52===_0x5ef822)break;else _0x4e03cb['push'](_0x4e03cb['shift']());}catch(_0x110790){_0x4e03cb['push'](_0x4e03cb['shift']());}}}(_0x3bf8,0x5d5af));import{Plugin as _0x51a802}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3f4908,IconRobotPencil as _0x32faea}from'ckeditor5/src/icons.js';import{first as _0x57395d,CKEditorError as _0xfef7d2}from'ckeditor5/src/utils.js';import{createDropdown as _0x3e29a3,addMenuToDropdown as _0x2ed418,ButtonView as _0x7827e1,MenuBarMenuListItemButtonView as _0x564d15,Dialog as _0x5c3c93,DialogViewPosition as _0x252604,MenuBarMenuView as _0x4cc9c0,MenuBarMenuListView as _0x1788b6,MenuBarMenuListItemView as _0x2c3b4f}from'ckeditor5/src/ui.js';function _0xd0ef(_0x6f7446,_0x466188){const _0x3bf842=_0x3bf8();return _0xd0ef=function(_0xd0ef45,_0x1950fa){_0xd0ef45=_0xd0ef45-0x85;let _0x5110b8=_0x3bf842[_0xd0ef45];return _0x5110b8;},_0xd0ef(_0x6f7446,_0x466188);}function _0x3bf8(){const _0x4c4385=['length','items','requires','replaceContent','body','menuPanelClass','AIAssistantUI','</p>','_onExecute','label','once','hideUI','106wSQWRc','isEnabled','showFakeVisualSelection','2026xGkClu','_showLicenseError','model','command:','evaluationLimit','isOn','invalid','50kKPXZj','usageLimit','menuBar:aiAssistant','getSelectedBlocks','custom','insertContent','ck-ai-assistant-button\x20','promptView','_initView','forEach','menuBar:aiCommands','aiLicenseKeyNotAllowed','add','trialLimit','_aiAssistantController','482141yojFIv','setSelection','buttonView','featureNotAllowed','sort','map','children','values','reset','editing','aiLicenseKeyTrialLimit','getData','destroy','locale','isCollapsed','change:enabledCommandsIds','get','enabledCommandsIds','focus','componentFactory','_licenseKeyCheckInterval','change:isProcessing','ai.useTheme','menuView','bind','10agvqCf','2577654dBmome','text/html','229038HdebUT','source','ck-ai-assistant-ui','media','isFlat','3003266QtVyLd','schema','from','INSERT','panelView','currentContext','ai.aiAssistant.contentAreaCssClass','plugins','getSelectedElement','aiLicenseKeyUsageLimit','textAdapter','filter','expired','set','commands','queryView','hide','update','AI\x20Commands','\x20ck-ai-assistant-ui_theme','replace','AI\x20is\x20writing','wasMoved','aiLicenseKeyDomainLimit','selection','DataTransfer','copy','_formView','_initAriaAiStatusChangeAnnouncements','fire','updateView','_dialog','REPLACE','_uiCssClasses','396tFlbwq','hideFakeVisualSelection','tableOfContents','AIAssistant','render','polite','fieldView','change:isError','_createAIAssistantUIButton','aiLicenseKeyExpired','aiAssistant','getRanges','showUI','_getResolvedCommandsDefinitions','errorView','show','ai.aiAssistant.commands','execute','aiLicenseKeyInvalid','ck-ai-commands-dropdown\x20','_forceMarkersCopy','listenTo','push','_aiAdapter','_commandDefinitions','comment','addMany','document','updatePosition','aiLicenseKeyValid','contentArea','delegate','ai-commands-config-order-collision','aiCommands','trim','EDITOR_TOP_SIDE','menuitemcheckbox','groupId','order','text','change','showAIAssistant','splice','<p>','init','licenseKey','includes','ai.aiAssistant.disabledElements','define','editor','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20Assistant','_populateMenuBarMenu','insertContentBelow','domainLimit','getLimitElement','rawHtml','config','isOfficialPlugin','aiLicenseKeyEvaluationLimit','requiresContent','pluginName','4635vtMZnt','announce','4178352RKNrcB','Generated\x20content:\x20%0','_getMenuBarGroupButtons','1160ZMVqIe','prompt','change:value','buttons','isPremiumPlugin','view','groupLabel'];_0x3bf8=function(){return _0x4c4385;};return _0x3bf8();}import{normalizeCommandsConfig as _0x5a8c8a,UNGROUPED_COMMANDS_GROUP_ID as _0x376d7b}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2e369a}from'./aiassistantediting.js';import{AIAdapter as _0x19942c}from'./adapters/aiadapter.js';import{getTranslation as _0x4e0034}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x309944}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1a8d09}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3ef799}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3365c8}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x583b7f(0x108)];import{ClipboardMarkersUtils as _0x2b5f69}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x6af1f4,ViewDataTransfer as _0x185f54}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x51a802{[_0x583b7f(0x8c)];[_0x583b7f(0xe2)];[_0x583b7f(0x10e)];[_0x583b7f(0x10a)];[_0x583b7f(0x128)];[_0x583b7f(0xcd)];[_0x583b7f(0x110)]='';static get[_0x583b7f(0x9c)](){const _0x28ed38=_0x583b7f;return _0x28ed38(0xaf);}static get[_0x583b7f(0x99)](){return!0x0;}static get[_0x583b7f(0xa6)](){return!0x0;}static get[_0x583b7f(0xab)](){return[_0x2b5f69,_0x2e369a,_0x19942c,_0x5c3c93];}constructor(_0x349fa5){const _0x2a6f3f=_0x583b7f;super(_0x349fa5),_0x349fa5[_0x2a6f3f(0x98)][_0x2a6f3f(0x8f)](_0x2a6f3f(0x8e),[_0x2a6f3f(0xed),_0x2a6f3f(0x97),_0x2a6f3f(0x113)]),_0x349fa5[_0x2a6f3f(0x98)][_0x2a6f3f(0x8f)](_0x2a6f3f(0xf5),''),_0x349fa5[_0x2a6f3f(0x98)][_0x2a6f3f(0x8f)](_0x2a6f3f(0xe4),!0x0),this[_0x2a6f3f(0x110)]=_0x2a6f3f(0xec)+(_0x349fa5[_0x2a6f3f(0x98)][_0x2a6f3f(0xde)](_0x2a6f3f(0xe4))?_0x2a6f3f(0x102):'');}[_0x583b7f(0x8b)](){const _0x53b269=_0x583b7f,{editor:_0x3f6212}=this;this[_0x53b269(0x128)]=_0x3f6212[_0x53b269(0xf6)][_0x53b269(0xde)](_0x19942c),this[_0x53b269(0x10e)]=_0x3f6212[_0x53b269(0xf6)][_0x53b269(0xde)](_0x5c3c93),this[_0x53b269(0x10a)]=null,this[_0x53b269(0x129)]=this[_0x53b269(0x11e)]();const _0x8a808c=new _0x309944(_0x3f6212,Array[_0x53b269(0xf1)](this[_0x53b269(0x129)][_0x53b269(0xd5)]()));_0x3f6212[_0x53b269(0xfd)][_0x53b269(0xcb)](_0x53b269(0x88),_0x8a808c),_0x3f6212['ui'][_0x53b269(0xe1)][_0x53b269(0xcb)](_0x53b269(0x132),_0x4b64e8=>{const _0x2cd02f=_0x53b269,_0x51969c=_0x3e29a3(_0x4b64e8);return _0x51969c[_0x2cd02f(0xfc)]({'class':_0x2cd02f(0x124)+this[_0x2cd02f(0x110)]}),_0x51969c[_0x2cd02f(0xd0)][_0x2cd02f(0xfc)]({'label':_0x4e0034(_0x4b64e8,_0x2cd02f(0x101)),'icon':_0x3f4908,'tooltip':!0x0}),_0x51969c['on'](_0x2cd02f(0x122),_0x183acc=>this[_0x2cd02f(0xb1)](_0x183acc[_0x2cd02f(0xeb)]['id'])),_0x2ed418(_0x51969c,_0x3f6212['ui'][_0x2cd02f(0xa7)][_0x2cd02f(0xad)],function(_0x3e796f){const _0x4a8604=_0x2cd02f,_0x4c7e80=_0x5a8c8a(_0x3e796f[_0x4a8604(0x98)][_0x4a8604(0xde)](_0x4a8604(0x121)),_0x3e796f[_0x4a8604(0xdb)]),_0x31f1ae=U(_0x3e796f,_0x4c7e80)[_0x4a8604(0xfa)](_0x2f873f=>_0x2f873f[_0x4a8604(0xfd)][_0x4a8604(0xa9)]);if(0x1===_0x31f1ae[_0x4a8604(0xa9)])return U(_0x3e796f,_0x31f1ae[0x0][_0x4a8604(0xfd)])[_0x4a8604(0xd3)](_0x4b8aba=>({'id':_0x4b8aba['id'],'label':_0x4b8aba[_0x4a8604(0xb2)]}));return _0x31f1ae[_0x4a8604(0xd3)](_0x5a076d=>{const _0x3b8912=_0x4a8604,{groupId:_0x49e109,groupLabel:_0xde5c6c,commands:_0x2d6a9d}=_0x5a076d,_0x32cbd3=U(_0x3e796f,_0x2d6a9d)[_0x3b8912(0xd3)](_0x2b3c2b=>({'id':_0x2b3c2b['id'],'label':_0x2b3c2b[_0x3b8912(0xb2)]}));return{'id':_0x49e109,'menu':_0xde5c6c||_0x49e109,'children':_0x32cbd3};});}(_0x3f6212),{'ariaLabel':_0x4e0034(_0x4b64e8,_0x2cd02f(0x101))}),_0x51969c[_0x2cd02f(0xe5)][_0x2cd02f(0xae)]=_0x2cd02f(0x124)+this[_0x2cd02f(0x110)],_0x8a808c['on'](_0x2cd02f(0xdd),_0x1bba38),_0x51969c[_0x2cd02f(0xe5)][_0x2cd02f(0xb3)](_0x2cd02f(0x115),_0x1bba38),_0x51969c;function _0x1bba38(){const _0xcd89bf=_0x2cd02f;_0x51969c[_0xcd89bf(0xb6)]=_0x8a808c[_0xcd89bf(0xdf)][_0xcd89bf(0xa9)]>0x0;for(const _0x5db149 of _0x51969c[_0xcd89bf(0xe5)][_0xcd89bf(0xa5)])_0x5db149[_0xcd89bf(0xb6)]=_0x8a808c[_0xcd89bf(0xdf)][_0xcd89bf(0x8d)](_0x5db149['id']);}}),_0x3f6212['ui'][_0x53b269(0xe1)][_0x53b269(0xcb)](_0x53b269(0xc9),_0x754f0f=>{const _0x377104=_0x53b269,_0x5a9f4d=new _0x4cc9c0(_0x754f0f);_0x5a9f4d[_0x377104(0xd0)][_0x377104(0xfc)]({'label':_0x4e0034(_0x754f0f,_0x377104(0x101)),'icon':_0x3f4908}),_0x5a9f4d[_0x377104(0xe6)](_0x377104(0xb6))['to'](_0x8a808c,_0x377104(0xdf),_0x3cd8e2=>_0x3cd8e2[_0x377104(0xa9)]>0x0);const _0x392923=_0x5a8c8a(_0x3f6212[_0x377104(0x98)][_0x377104(0xde)](_0x377104(0x121)),_0x754f0f);return this[_0x377104(0x93)](_0x8a808c,_0x5a9f4d,_0x392923,_0x21fcda=>this[_0x377104(0xb1)](_0x21fcda)),_0x5a9f4d;}),_0x3f6212['ui'][_0x53b269(0xe1)][_0x53b269(0xcb)](_0x53b269(0x11b),()=>{const _0x49fab6=_0x53b269,_0x433fbc=this[_0x49fab6(0x119)](_0x7827e1);return _0x433fbc[_0x49fab6(0xfc)]({'tooltip':!0x0,'class':_0x49fab6(0xc5)+this[_0x49fab6(0x110)]}),_0x433fbc;}),_0x3f6212['ui'][_0x53b269(0xe1)][_0x53b269(0xcb)](_0x53b269(0xc1),()=>{const _0x5cad70=_0x53b269,_0x5f49d9=this[_0x5cad70(0x119)](_0x564d15);return _0x5f49d9[_0x5cad70(0xfc)]({'role':_0x5cad70(0x135)}),_0x5f49d9;}),this[_0x53b269(0x8c)]=this[_0x53b269(0x90)][_0x53b269(0x98)][_0x53b269(0xde)](_0x53b269(0x8c));const _0x233c54=this[_0x53b269(0x90)];this[_0x53b269(0xe2)]=setInterval(()=>{const _0x2a1795=_0x53b269;let _0x538ee1;for(const _0x2b6783 in _0x233c54){const _0x212048=_0x2b6783,_0x11529c=_0x233c54[_0x212048];if(_0x2a1795(0x12e)==_0x11529c||_0x2a1795(0x123)==_0x11529c||_0x2a1795(0x11a)==_0x11529c||_0x2a1795(0x106)==_0x11529c||_0x2a1795(0xca)==_0x11529c||_0x2a1795(0x9a)==_0x11529c||_0x2a1795(0xd8)==_0x11529c||_0x2a1795(0xf8)==_0x11529c){delete _0x233c54[_0x212048],_0x538ee1=_0x11529c,clearInterval(this[_0x2a1795(0xe2)]),this[_0x2a1795(0xe2)]=void 0x0;break;}}_0x2a1795(0x123)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xbe)),_0x2a1795(0x11a)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xfb)),_0x2a1795(0x106)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0x95)),_0x2a1795(0xca)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xd1),_0x2a1795(0x114)),_0x2a1795(0x9a)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xbc)),_0x2a1795(0xd8)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xcc)),_0x2a1795(0xf8)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xc0));},0x3e8);}[_0x583b7f(0xda)](){const _0x25b60e=_0x583b7f;super[_0x25b60e(0xda)](),this[_0x25b60e(0xe2)]&&clearInterval(this[_0x25b60e(0xe2)]);}[_0x583b7f(0x11d)](_0x130c1f='',_0x1598e6='',_0x35230e=_0x583b7f(0xc3)){const _0xbe226c=_0x583b7f,_0x3c3e74=this[_0xbe226c(0x90)],_0x3de059=_0x3c3e74[_0xbe226c(0xd7)][_0xbe226c(0xa7)],_0x354b6d=_0x3c3e74[_0xbe226c(0xf6)][_0xbe226c(0xde)](_0x2e369a),_0x277a0f=_0x3c3e74[_0xbe226c(0xf6)][_0xbe226c(0xde)](_0x2b5f69);_0x354b6d[_0xbe226c(0xb7)]();const _0x1a89de=new l(),_0x4a26ec=new ClipboardEvent(_0xbe226c(0x109),{'clipboardData':_0x1a89de}),_0x4aff91=new _0x185f54(_0x1a89de),_0x3d1ef4=new _0x6af1f4(_0x3de059,_0x4a26ec,{'dataTransfer':_0x4aff91});_0x277a0f[_0xbe226c(0x125)](_0xbe226c(0x12a),()=>{const _0x202f33=_0xbe226c;_0x3de059[_0x202f33(0x12c)][_0x202f33(0x10c)](_0x202f33(0x109),_0x3d1ef4);}),this[_0xbe226c(0x10a)]||(this[_0xbe226c(0xc7)](),this[_0xbe226c(0xcd)]=new _0x1a8d09(_0x3c3e74,this[_0xbe226c(0x128)][_0xbe226c(0xf9)],this[_0xbe226c(0x10a)]));let _0x5b3e26=_0x4aff91[_0xbe226c(0xd9)](_0xbe226c(0xe9));const _0xb960d1=_0x3c3e74[_0xbe226c(0xba)][_0xbe226c(0x12c)][_0xbe226c(0x107)],_0x9b7fa3=Array[_0xbe226c(0xf1)](_0xb960d1[_0xbe226c(0x11c)]());0x1===_0x9b7fa3[_0xbe226c(0xa9)]&&_0x9b7fa3[0x0][_0xbe226c(0xee)]&&!_0xb960d1[_0xbe226c(0xf7)]()&&''!==_0x5b3e26[_0xbe226c(0x103)](/&nbsp;/g,'')[_0xbe226c(0x133)]()&&(_0x5b3e26=_0xbe226c(0x8a)+_0x5b3e26+_0xbe226c(0xb0)),this[_0xbe226c(0xcd)][_0xbe226c(0x10d)]({'actionId':_0x35230e,'query':_0x130c1f,'htmlContent':_0x5b3e26,'label':_0x1598e6,'mainActionLabel':_0x3365c8[_0x3c3e74[_0xbe226c(0xba)][_0xbe226c(0x12c)][_0xbe226c(0x107)][_0xbe226c(0xdc)]?_0xbe226c(0xf2):_0xbe226c(0x10f)]}),_0xbe226c(0x11b)!==this[_0xbe226c(0x10e)]['id']?this[_0xbe226c(0x10e)][_0xbe226c(0x120)]({'id':_0xbe226c(0x11b),'icon':_0x32faea,'title':_0x4e0034(this[_0xbe226c(0x90)][_0xbe226c(0xdb)],_0xbe226c(0x92)),'content':this[_0xbe226c(0x10a)],'position':_0x252604[_0xbe226c(0x134)],'onShow':()=>{const _0x1bb3b0=_0xbe226c;this[_0x1bb3b0(0x10a)][_0x1bb3b0(0xe0)]();},'onHide':()=>{const _0x5ea1fd=_0xbe226c;this[_0x5ea1fd(0xcd)][_0x5ea1fd(0xd6)](),_0x354b6d[_0x5ea1fd(0x112)]();}}):this[_0xbe226c(0x10e)][_0xbe226c(0xa7)][_0xbe226c(0x105)]||this[_0xbe226c(0x10e)][_0xbe226c(0xa7)][_0xbe226c(0x12d)]();}[_0x583b7f(0xb4)](){const _0xd8ac1=_0x583b7f;this[_0xd8ac1(0x10e)][_0xd8ac1(0xff)]();}[_0x583b7f(0x11e)](){const _0x1807a5=_0x583b7f,_0x2fd0fe=new Map(),_0x360acb=_0x5a8c8a(this[_0x1807a5(0x90)][_0x1807a5(0x98)][_0x1807a5(0xde)](_0x1807a5(0x121)),this[_0x1807a5(0x90)][_0x1807a5(0xdb)]);for(const _0x5d67d4 of _0x360acb)for(const _0x15c211 of _0x5d67d4[_0x1807a5(0xfd)])_0x2fd0fe[_0x1807a5(0xfc)](_0x15c211['id'],{..._0x15c211,'groupId':_0x5d67d4[_0x1807a5(0x136)],'groupLabel':_0x5d67d4[_0x1807a5(0xa8)]||_0x5d67d4[_0x1807a5(0x136)]});return _0x2fd0fe;}[_0x583b7f(0x119)](_0x19b483){const _0x2dfaab=_0x583b7f,_0x1809f6=this[_0x2dfaab(0x90)],_0x25d08e=_0x1809f6[_0x2dfaab(0xfd)][_0x2dfaab(0xde)](_0x2dfaab(0x88)),_0x4e85ae=new _0x19b483(_0x1809f6[_0x2dfaab(0xdb)]);return _0x4e85ae[_0x2dfaab(0xfc)]({'label':_0x4e0034(_0x1809f6[_0x2dfaab(0xdb)],_0x2dfaab(0x92)),'icon':_0x32faea,'isToggleable':!0x0}),_0x4e85ae[_0x2dfaab(0xe6)](_0x2dfaab(0xb6))['to'](_0x25d08e),_0x4e85ae[_0x2dfaab(0xe6)](_0x2dfaab(0xbd))['to'](this[_0x2dfaab(0x10e)],'id',_0x298b70=>_0x2dfaab(0x11b)===_0x298b70),this[_0x2dfaab(0x126)](_0x4e85ae,_0x2dfaab(0x122),()=>{const _0x20ffdc=_0x2dfaab;_0x4e85ae[_0x20ffdc(0xbd)]?this[_0x20ffdc(0xb4)]():_0x25d08e[_0x20ffdc(0x122)]();}),_0x4e85ae;}[_0x583b7f(0xc7)](){const _0x49da9f=_0x583b7f,_0x476891=this[_0x49da9f(0x90)][_0x49da9f(0xf6)][_0x49da9f(0xde)](_0x2e369a);this[_0x49da9f(0x10a)]=new _0x3ef799(this[_0x49da9f(0x90)][_0x49da9f(0xdb)],this[_0x49da9f(0x110)],this[_0x49da9f(0x90)][_0x49da9f(0x98)][_0x49da9f(0xde)](_0x49da9f(0xf5))),this[_0x49da9f(0x10a)]['on'](_0x49da9f(0xa4),()=>{const _0x137840=_0x49da9f;this[_0x137840(0x10e)][_0x137840(0xa7)][_0x137840(0x105)]||this[_0x137840(0x10e)][_0x137840(0xa7)][_0x137840(0x12d)]();}),this[_0x49da9f(0x10a)][_0x49da9f(0xc6)][_0x49da9f(0xfe)][_0x49da9f(0x117)]['on'](_0x49da9f(0x100),()=>{const _0x1506ca=_0x49da9f;this[_0x1506ca(0x10e)][_0x1506ca(0xa7)][_0x1506ca(0x105)]||this[_0x1506ca(0x10e)][_0x1506ca(0xa7)][_0x1506ca(0x12d)]();}),this[_0x49da9f(0x126)](this[_0x49da9f(0x10a)],_0x49da9f(0xac),()=>{const _0x40f5e4=_0x49da9f;_0x476891[_0x40f5e4(0xc4)](this[_0x40f5e4(0xcd)][_0x40f5e4(0xf4)]),this[_0x40f5e4(0xb4)]();}),this[_0x49da9f(0x126)](this[_0x49da9f(0x10a)],_0x49da9f(0x94),()=>{const _0x1b5255=_0x49da9f;_0x476891[_0x1b5255(0x94)](this[_0x1b5255(0xcd)][_0x1b5255(0xf4)]),this[_0x1b5255(0xb4)]();}),this[_0x49da9f(0x10b)]();}[_0x583b7f(0x10b)](){const _0x290325=_0x583b7f,{locale:_0x14f1b3,ui:{ariaLiveAnnouncer:_0x33ec1c}}=this[_0x290325(0x90)];this[_0x290325(0x10a)][_0x290325(0x12f)]['on'](_0x290325(0xe3),(_0xe2f7e,_0x1f98e3,_0x34c4e9)=>{const _0x218e2c=_0x290325,_0x8933c0=this[_0x218e2c(0xcd)][_0x218e2c(0xf4)];_0x34c4e9?_0x33ec1c[_0x218e2c(0x9e)](_0x4e0034(_0x14f1b3,_0x218e2c(0x104))):_0x8933c0&&_0x33ec1c[_0x218e2c(0x9e)](_0x4e0034(_0x14f1b3,_0x218e2c(0xa0),_0x8933c0),{'politeness':_0x218e2c(0x116),'isUnsafeHTML':!0x0});}),this[_0x290325(0x10a)]['on'](_0x290325(0x118),(_0x2a181b,_0x13a933,_0x2f52ff)=>{const _0x3e4d72=_0x290325;if(_0x2f52ff){const _0x4fc907=this[_0x3e4d72(0x10a)][_0x3e4d72(0x11f)][_0x3e4d72(0x86)];_0x33ec1c[_0x3e4d72(0x9e)](_0x4e0034(_0x14f1b3,_0x3e4d72(0x91),_0x4fc907));}});}[_0x583b7f(0xb1)](_0x3529ee){const _0x111fce=_0x583b7f,_0x4827de=this[_0x111fce(0x129)][_0x111fce(0xde)](_0x3529ee),_0x48ffcf=this[_0x111fce(0x90)],_0x15ddbc=_0x48ffcf[_0x111fce(0xba)][_0x111fce(0x12c)][_0x111fce(0x107)],_0x41d2b6=_0x48ffcf[_0x111fce(0xfd)][_0x111fce(0xde)](_0x111fce(0x88)),_0x318210=_0x48ffcf[_0x111fce(0xf6)][_0x111fce(0xde)](_0x2e369a),_0x433f6e=''+(_0x4827de[_0x111fce(0x136)]!==_0x376d7b?_0x4827de[_0x111fce(0xa8)]+':\x20':'')+_0x4827de[_0x111fce(0xb2)];if(!0x1!==_0x4827de[_0x111fce(0x9b)]&&_0x15ddbc[_0x111fce(0xdc)]){const _0x2fb06a=_0x57395d(_0x15ddbc[_0x111fce(0xc2)]())||_0x48ffcf[_0x111fce(0xba)][_0x111fce(0xf0)][_0x111fce(0x96)](_0x15ddbc);_0x48ffcf[_0x111fce(0xba)][_0x111fce(0x87)](_0x23d149=>{const _0x16a4fb=_0x111fce;_0x23d149[_0x16a4fb(0xcf)](_0x2fb06a,'in');});}_0x318210[_0x111fce(0xb7)](),_0x41d2b6[_0x111fce(0x122)](_0x4827de[_0x111fce(0xa3)],_0x433f6e,_0x111fce(0xbb)+_0x3529ee);}[_0x583b7f(0x93)](_0x19cf5b,_0x87544e,_0x4c2bb9,_0x2ac20d){const _0x9e9b2a=_0x583b7f,_0x332b62=this[_0x9e9b2a(0x90)],_0xee7ee8=_0x332b62[_0x9e9b2a(0xdb)],_0x2635f0=new _0x1788b6(_0xee7ee8),_0x5e6918=U(_0x332b62,_0x4c2bb9)[_0x9e9b2a(0xfa)](_0x31fc93=>_0x31fc93[_0x9e9b2a(0xfd)][_0x9e9b2a(0xa9)]);0x1===_0x5e6918[_0x9e9b2a(0xa9)]?this[_0x9e9b2a(0xa1)]({'command':_0x19cf5b,'commands':_0x5e6918[0x0][_0x9e9b2a(0xfd)],'parentMenuView':_0x87544e,'onExecute':_0x2ac20d})[_0x9e9b2a(0xc8)](_0x1386a9=>_0x2635f0[_0x9e9b2a(0xaa)][_0x9e9b2a(0xcb)](_0x1386a9)):_0x5e6918[_0x9e9b2a(0xc8)](({groupId:_0x14d309,groupLabel:_0x5a78d3,commands:_0x346bdc})=>{const _0x12c197=_0x9e9b2a,_0x39b2cb=new _0x2c3b4f(_0xee7ee8,_0x87544e),_0x231ded=new _0x4cc9c0(_0xee7ee8),_0x552d85=new _0x1788b6(_0xee7ee8),_0x4faadf=this[_0x12c197(0xa1)]({'command':_0x19cf5b,'commands':_0x346bdc,'parentMenuView':_0x231ded,'onExecute':_0x2ac20d});_0x231ded[_0x12c197(0xd0)][_0x12c197(0xfc)]({'label':_0x5a78d3||_0x14d309}),_0x231ded[_0x12c197(0x130)](_0x12c197(0x122))['to'](_0x87544e),_0x552d85[_0x12c197(0xaa)][_0x12c197(0x12b)](_0x4faadf),_0x231ded[_0x12c197(0xf3)][_0x12c197(0xd4)][_0x12c197(0xcb)](_0x552d85),_0x39b2cb[_0x12c197(0xd4)][_0x12c197(0xcb)](_0x231ded),_0x2635f0[_0x12c197(0xaa)][_0x12c197(0xcb)](_0x39b2cb);}),_0x87544e[_0x9e9b2a(0xf3)][_0x9e9b2a(0xd4)][_0x9e9b2a(0xcb)](_0x2635f0);}[_0x583b7f(0xa1)]({command:_0x133263,commands:_0x504b37,parentMenuView:_0x14fa7b,onExecute:_0x331ec0}){const _0x117b69=_0x583b7f,_0xc0531=this[_0x117b69(0x90)],_0x4142f5=_0xc0531[_0x117b69(0xdb)];return U(_0xc0531,_0x504b37)[_0x117b69(0xd3)](_0x4ece61=>{const _0x583c64=_0x117b69,_0xb31633=new _0x2c3b4f(_0x4142f5,_0x14fa7b),_0x8749bf=new _0x564d15(_0x4142f5);return _0x8749bf[_0x583c64(0xfc)]({'label':_0x4ece61[_0x583c64(0xb2)]}),_0x8749bf[_0x583c64(0x130)](_0x583c64(0x122))['to'](_0x14fa7b),_0x8749bf['on'](_0x583c64(0x122),()=>_0x331ec0(_0x4ece61['id'])),_0x8749bf[_0x583c64(0xe6)](_0x583c64(0xb6))['to'](_0x133263,_0x583c64(0xdf),_0xede360=>_0xede360[_0x583c64(0x8d)](_0x4ece61['id'])),_0xb31633[_0x583c64(0xd4)][_0x583c64(0xcb)](_0x8749bf),_0xb31633;});}}function T(_0x2d7d57,_0x3ac70a){const _0x106ec8=_0x583b7f;return void 0x0!==_0x2d7d57[_0x106ec8(0x85)]&&void 0x0===_0x3ac70a[_0x106ec8(0x85)]?0x1:void 0x0===_0x2d7d57[_0x106ec8(0x85)]&&void 0x0!==_0x3ac70a[_0x106ec8(0x85)]?-0x1:void 0x0!==_0x2d7d57[_0x106ec8(0x85)]&&void 0x0!==_0x3ac70a[_0x106ec8(0x85)]?_0x2d7d57[_0x106ec8(0x85)]-_0x3ac70a[_0x106ec8(0x85)]:0x0;}function U(_0x44aebc,_0x531b96){const _0xf5bcef=_0x583b7f;_0x531b96[_0xf5bcef(0xd2)](T);const _0x37c8af={},_0xe99664=[];for(const _0x36ca87 of _0x531b96)if(void 0x0!==_0x36ca87[_0xf5bcef(0x85)]){if(_0x36ca87[_0xf5bcef(0x85)]in _0x37c8af)throw new _0xfef7d2(_0xf5bcef(0x131),_0x44aebc,{'conflictingDefinitions':[_0x36ca87,_0x37c8af[_0x36ca87[_0xf5bcef(0x85)]]]});_0x37c8af[_0x36ca87[_0xf5bcef(0x85)]]=_0x36ca87,_0xe99664[_0xf5bcef(0x89)](_0x36ca87[_0xf5bcef(0x85)],0x0,_0x36ca87);}else _0xe99664[_0xf5bcef(0x127)](_0x36ca87);return _0xe99664;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x37b3(_0x472d5a,_0xeec384){var _0x1427b2=_0x1427();return _0x37b3=function(_0x37b323,_0x53e5a4){_0x37b323=_0x37b323-0x124;var _0x326e91=_0x1427b2[_0x37b323];return _0x326e91;},_0x37b3(_0x472d5a,_0xeec384);}(function(_0x39110c,_0x4db101){var _0x1d5042=_0x37b3,_0x38d823=_0x39110c();while(!![]){try{var _0x303a6f=-parseInt(_0x1d5042(0x129))/0x1+-parseInt(_0x1d5042(0x12c))/0x2+-parseInt(_0x1d5042(0x12b))/0x3*(parseInt(_0x1d5042(0x12a))/0x4)+parseInt(_0x1d5042(0x12d))/0x5+-parseInt(_0x1d5042(0x126))/0x6*(-parseInt(_0x1d5042(0x127))/0x7)+parseInt(_0x1d5042(0x124))/0x8*(-parseInt(_0x1d5042(0x128))/0x9)+parseInt(_0x1d5042(0x125))/0xa;if(_0x303a6f===_0x4db101)break;else _0x38d823['push'](_0x38d823['shift']());}catch(_0x464454){_0x38d823['push'](_0x38d823['shift']());}}}(_0x1427,0xde716));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';function _0x1427(){var _0x51410f=['2705448gCFuYR','2582220uQDXiy','6784jzMifw','56292240QndPyN','387372rYztZI','28XDfPDJ','11826VyKptx','1410198BBFwiP','150288PBoZKR','129mlsmqR'];_0x1427=function(){return _0x51410f;};return _0x1427();}import'./augmentation.js';
23
+ function _0x3188(){var _0x4129f8=['1vejDPv','2076034eWaJGX','112570kDiIol','28342700DWyELo','3556641lVFzOr','6012340ZftXlo','5530136VoLMgD','14IjBZoc','174dCsctG','5364171NgcAqU'];_0x3188=function(){return _0x4129f8;};return _0x3188();}(function(_0x3e9e7f,_0x86d6f8){var _0x183ab6=_0x4ae4,_0x427a09=_0x3e9e7f();while(!![]){try{var _0x3abef5=-parseInt(_0x183ab6(0x115))/0x1*(parseInt(_0x183ab6(0x116))/0x2)+-parseInt(_0x183ab6(0x119))/0x3+parseInt(_0x183ab6(0x11a))/0x4+parseInt(_0x183ab6(0x117))/0x5*(parseInt(_0x183ab6(0x11d))/0x6)+-parseInt(_0x183ab6(0x11c))/0x7*(parseInt(_0x183ab6(0x11b))/0x8)+-parseInt(_0x183ab6(0x114))/0x9+parseInt(_0x183ab6(0x118))/0xa;if(_0x3abef5===_0x86d6f8)break;else _0x427a09['push'](_0x427a09['shift']());}catch(_0x4c4e07){_0x427a09['push'](_0x427a09['shift']());}}}(_0x3188,0xc06b0));function _0x4ae4(_0x2a8430,_0x438785){var _0x3188f2=_0x3188();return _0x4ae4=function(_0x4ae484,_0x18ff5b){_0x4ae484=_0x4ae484-0x114;var _0x377028=_0x3188f2[_0x4ae484];return _0x377028;},_0x4ae4(_0x2a8430,_0x438785);}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';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4be76f,_0x176590){var _0x33d7fe=_0xa92c,_0x5be386=_0x4be76f();while(!![]){try{var _0x826dc4=-parseInt(_0x33d7fe(0x132))/0x1*(parseInt(_0x33d7fe(0x12d))/0x2)+-parseInt(_0x33d7fe(0x12e))/0x3*(-parseInt(_0x33d7fe(0x131))/0x4)+-parseInt(_0x33d7fe(0x12f))/0x5+parseInt(_0x33d7fe(0x130))/0x6+-parseInt(_0x33d7fe(0x12c))/0x7+parseInt(_0x33d7fe(0x133))/0x8*(parseInt(_0x33d7fe(0x12b))/0x9)+parseInt(_0x33d7fe(0x134))/0xa;if(_0x826dc4===_0x176590)break;else _0x5be386['push'](_0x5be386['shift']());}catch(_0x3b3f8b){_0x5be386['push'](_0x5be386['shift']());}}}(_0x13a8,0x53a12));function _0x13a8(){var _0x16cd4f=['531iPbigu','3074900skMGNS','785430VvfaxB','14524BsaMCz','103485BOeJsO','8ufamKb','4134140kvPOwN','6003855JZBnLO','1929655FEGFSl','12tudYaI'];_0x13a8=function(){return _0x16cd4f;};return _0x13a8();}function _0xa92c(_0x41e4a7,_0x47d985){var _0x13a839=_0x13a8();return _0xa92c=function(_0xa92ce7,_0x17c851){_0xa92ce7=_0xa92ce7-0x12b;var _0x158d1e=_0x13a839[_0xa92ce7];return _0x158d1e;},_0xa92c(_0x41e4a7,_0x47d985);}import{CKEditorError as _0x90bf06}from'ckeditor5/src/utils.js';
23
+ (function(_0x35104a,_0x217b82){var _0x2f89f5=_0x3372,_0x38388c=_0x35104a();while(!![]){try{var _0x18f398=parseInt(_0x2f89f5(0x161))/0x1*(parseInt(_0x2f89f5(0x164))/0x2)+parseInt(_0x2f89f5(0x169))/0x3+parseInt(_0x2f89f5(0x165))/0x4*(-parseInt(_0x2f89f5(0x163))/0x5)+-parseInt(_0x2f89f5(0x167))/0x6+parseInt(_0x2f89f5(0x16a))/0x7*(-parseInt(_0x2f89f5(0x166))/0x8)+parseInt(_0x2f89f5(0x168))/0x9+parseInt(_0x2f89f5(0x162))/0xa;if(_0x18f398===_0x217b82)break;else _0x38388c['push'](_0x38388c['shift']());}catch(_0x4f761c){_0x38388c['push'](_0x38388c['shift']());}}}(_0x460b,0xb6ff7));import{CKEditorError as _0x506656}from'ckeditor5/src/utils.js';function _0x3372(_0x1b8060,_0x57f034){var _0x460b9d=_0x460b();return _0x3372=function(_0x337242,_0x30ed73){_0x337242=_0x337242-0x161;var _0x406d31=_0x460b9d[_0x337242];return _0x406d31;},_0x3372(_0x1b8060,_0x57f034);}function _0x460b(){var _0xe15bcb=['3752MwqQhX','1ZzDiCT','21194830NQnHFF','2503585WiLxrK','2121342SsLnCA','8qKJURk','16768KkuByE','8685858SwzfSF','6193521MRzFEh','1361307OfXcku'];_0x460b=function(){return _0xe15bcb;};return _0x460b();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4497f4=_0x23f0;(function(_0x4cec37,_0x5d6c8d){const _0x55caea=_0x23f0,_0x567b18=_0x4cec37();while(!![]){try{const _0x298112=-parseInt(_0x55caea(0x1de))/0x1*(-parseInt(_0x55caea(0x1f9))/0x2)+parseInt(_0x55caea(0x232))/0x3+parseInt(_0x55caea(0x1e3))/0x4*(-parseInt(_0x55caea(0x1e1))/0x5)+-parseInt(_0x55caea(0x1e2))/0x6*(-parseInt(_0x55caea(0x223))/0x7)+-parseInt(_0x55caea(0x1ee))/0x8+parseInt(_0x55caea(0x23a))/0x9*(-parseInt(_0x55caea(0x21d))/0xa)+parseInt(_0x55caea(0x1dd))/0xb;if(_0x298112===_0x5d6c8d)break;else _0x567b18['push'](_0x567b18['shift']());}catch(_0xcd9080){_0x567b18['push'](_0x567b18['shift']());}}}(_0x39a0,0xcdb7c));import{ObservableMixin as _0x1b5638}from'ckeditor5/src/utils.js';import{AIRequestError as _0x58e04e}from'../adapters/aiadapter.js';import{Matcher as _0x2d97b8,ViewUpcastWriter as _0xaa2dc6}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x23f0(_0x1a6e4f,_0x4fa7a2){const _0x39a095=_0x39a0();return _0x23f0=function(_0x23f086,_0x57fc47){_0x23f086=_0x23f086-0x1dc;let _0xa6d95d=_0x39a095[_0x23f086];return _0xa6d95d;},_0x23f0(_0x1a6e4f,_0x4fa7a2);}function _0x39a0(){const _0x4316ff=['from','startProcessing','currentContext','once','380177EGwDTn','text/html','previousContext','querySelector','rename','stringify','remove','exec','editing','```html','get','_domParser','toModel','name','stopProcessing','2328030jROOur','initialContext','substring','previousLabel','submitPrompt','_parseAndNormalizeContent','_xmlSerializer','createElement','163647jpuGTY','element','endsWith','set','finishProcessing','isRendered','finally','custom','10919964LTtJGK','919417hqglwi','processor','_stripMarkdownSyntax','24685FkKRiz','12LRNVxB','136xripae','message','updateView','match','document','ELEMENT_NODE','htmlProcessor','childNodes','config','currentResponse','innerHTML','10799224rCXVTr','reverse','push','data','clear','<h1></h1>','domConverter','parseFromString','prompt','makeRequest','destroy','2PFhbXy','nodeType','setContentOf','textAdapter','previousActionId','_sanitizationContainer','viewToDom','```','abort','view','set:currentContext','catch','trim','_normalizeResponseHeadings','_sanitizeHTML','toView','serializeToString','isProcessing','startsWith','stopListening','div','markers','tryAgainEvent','editor','reset','length','_handleQuery','_isH1TagSupportEnabled','listenTo','mainAction','body','previousQuery','value','then','ai.aiAssistant.preserveComments','handleError','240yKDrvO','render'];_0x39a0=function(){return _0x4316ff;};return _0x39a0();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x1b5638(){[_0x4497f4(0x210)];[_0x4497f4(0x1fc)];[_0x4497f4(0x202)];[_0x4497f4(0x1fe)];[_0x4497f4(0x22e)];[_0x4497f4(0x238)];constructor(_0x2ab586,_0x3fd6ea,_0x336e32){const _0x179f57=_0x4497f4;super(),this[_0x179f57(0x210)]=_0x2ab586,this[_0x179f57(0x1fc)]=_0x3fd6ea,this[_0x179f57(0x1fe)]=document[_0x179f57(0x239)](_0x179f57(0x20d)),this[_0x179f57(0x22e)]=new DOMParser(),this[_0x179f57(0x238)]=new XMLSerializer(),this[_0x179f57(0x202)]=_0x336e32,this[_0x179f57(0x23d)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x179f57(0x203),(_0x168be4,_0xc3199f,_0x130e93)=>{const _0x51ddce=_0x179f57;this[_0x51ddce(0x202)][_0x51ddce(0x219)]=this[_0x51ddce(0x207)](_0x130e93);}),this[_0x179f57(0x215)](this[_0x179f57(0x202)],_0x179f57(0x236),(_0x16b3a3,_0x32a43d)=>{const _0x139222=_0x179f57,_0x20e41a=this[_0x139222(0x221)]||this[_0x139222(0x233)];this[_0x139222(0x213)](_0x32a43d,_0x20e41a,_0x139222(0x1dc));}),this[_0x179f57(0x215)](this[_0x179f57(0x202)],_0x179f57(0x20f),()=>{const _0x52fd5a=_0x179f57;this[_0x52fd5a(0x202)][_0x52fd5a(0x1f6)]=this[_0x52fd5a(0x235)],this[_0x52fd5a(0x213)](this[_0x52fd5a(0x218)],this[_0x52fd5a(0x225)],this[_0x52fd5a(0x1fd)],this[_0x52fd5a(0x235)]);}),this[_0x179f57(0x215)](this[_0x179f57(0x202)],_0x179f57(0x231),()=>{const _0x3b4d1f=_0x179f57;this[_0x3b4d1f(0x231)]();});}[_0x4497f4(0x1f8)](){const _0x322a8a=_0x4497f4;this[_0x322a8a(0x20c)]();}async[_0x4497f4(0x1e5)]({actionId:_0x247d29,query:_0x4cf0c4,htmlContent:_0x4c082f,label:_0x116deb,mainActionLabel:_0x375aa1}){const _0x211384=_0x4497f4;this[_0x211384(0x202)][_0x211384(0x1f6)]=_0x116deb,this[_0x211384(0x202)][_0x211384(0x216)]=_0x375aa1,this[_0x211384(0x233)]=_0x4c082f,_0x4cf0c4&&(this[_0x211384(0x202)][_0x211384(0x23f)]?this[_0x211384(0x213)](_0x4cf0c4,_0x4c082f,_0x247d29,_0x116deb):this[_0x211384(0x202)][_0x211384(0x222)](_0x211384(0x21e),()=>{const _0x5d3db=_0x211384;this[_0x5d3db(0x213)](_0x4cf0c4,_0x4c082f,_0x247d29,_0x116deb);}));}[_0x4497f4(0x231)](){const _0x138ce5=_0x4497f4;this[_0x138ce5(0x20a)]&&(this[_0x138ce5(0x20a)]=!0x1,this[_0x138ce5(0x202)][_0x138ce5(0x23e)](),this[_0x138ce5(0x1fc)][_0x138ce5(0x201)]());}[_0x4497f4(0x211)](){const _0x20ca40=_0x4497f4;this[_0x20ca40(0x233)]='',this[_0x20ca40(0x221)]='',this[_0x20ca40(0x1ec)]='',this[_0x20ca40(0x225)]='',this[_0x20ca40(0x218)]='',this[_0x20ca40(0x235)]='',this[_0x20ca40(0x1fd)]=void 0x0,this[_0x20ca40(0x202)][_0x20ca40(0x211)](),this[_0x20ca40(0x231)]();}async[_0x4497f4(0x213)](_0xd3a768,_0x5722e7,_0x55ef0a,_0x54e589){const _0x5f4e49=_0x4497f4;return this[_0x5f4e49(0x20a)]=!0x0,this[_0x5f4e49(0x202)][_0x5f4e49(0x220)](),this[_0x5f4e49(0x225)]=_0x5722e7,this[_0x5f4e49(0x218)]=_0xd3a768,this[_0x5f4e49(0x235)]=_0x54e589||_0xd3a768,this[_0x5f4e49(0x1fd)]=_0x55ef0a,new Promise(_0x1611db=>{const _0x460cab=_0x5f4e49;this[_0x460cab(0x1fc)][_0x460cab(0x1f7)]({'query':_0xd3a768,'context':_0x5722e7,'onData':_0xa2f32=>{const _0x5ba286=_0x460cab;this[_0x5ba286(0x1ec)]=_0xa2f32,this[_0x5ba286(0x221)]=this[_0x5ba286(0x237)](this[_0x5ba286(0x1ec)]);},'actionId':_0x55ef0a})[_0x460cab(0x21a)](()=>{const _0x47195f=_0x460cab;!this[_0x47195f(0x221)]&&this[_0x47195f(0x1ec)]&&(this[_0x47195f(0x221)]=this[_0x47195f(0x237)](this[_0x47195f(0x1ec)],!0x0));})[_0x460cab(0x204)](_0x3743be=>{const _0x164656=_0x460cab;_0x3743be instanceof _0x58e04e?this[_0x164656(0x202)][_0x164656(0x21c)](_0x3743be[_0x164656(0x1e4)]):this[_0x164656(0x202)][_0x164656(0x21c)](),_0x1611db();})[_0x460cab(0x240)](()=>{const _0x43d045=_0x460cab;this[_0x43d045(0x231)](),_0x1611db();});});}[_0x4497f4(0x237)](_0x552d99,_0x1d975f=!0x1){const _0x2a9863=_0x4497f4,_0x49c5eb=Q[_0x2a9863(0x22a)](_0x552d99);_0x552d99=_0x49c5eb?_0x552d99[_0x2a9863(0x234)](_0x49c5eb[0x1][_0x2a9863(0x212)]):_0x552d99[_0x2a9863(0x212)]<0x64&&!_0x1d975f?'':this[_0x2a9863(0x1e0)](_0x552d99);const _0x156e19=this[_0x2a9863(0x22e)][_0x2a9863(0x1f5)](_0x552d99,_0x2a9863(0x224));if(_0x49c5eb){const _0x35bb1b=Array[_0x2a9863(0x21f)](_0x156e19[_0x2a9863(0x217)][_0x2a9863(0x1ea)]);_0x35bb1b[_0x2a9863(0x1ef)]();for(const _0x3fd030 of _0x35bb1b){if(_0x3fd030[_0x2a9863(0x1fa)]==Node[_0x2a9863(0x1e8)])break;_0x3fd030[_0x2a9863(0x229)]();}}const _0x1fe538=this[_0x2a9863(0x210)][_0x2a9863(0x1f1)][_0x2a9863(0x1df)][_0x2a9863(0x208)](this[_0x2a9863(0x238)][_0x2a9863(0x209)](_0x156e19[_0x2a9863(0x217)]));this[_0x2a9863(0x214)]()||this[_0x2a9863(0x206)](_0x1fe538);const _0x329cb7=this[_0x2a9863(0x210)][_0x2a9863(0x1eb)][_0x2a9863(0x22d)](_0x2a9863(0x21b)),_0xd2a460=this[_0x2a9863(0x210)][_0x2a9863(0x1f1)][_0x2a9863(0x22f)](_0x1fe538);return _0x329cb7||_0xd2a460[_0x2a9863(0x20e)][_0x2a9863(0x1f2)](),this[_0x2a9863(0x210)][_0x2a9863(0x1f1)][_0x2a9863(0x228)](_0xd2a460);}[_0x4497f4(0x206)](_0x39d020){const _0x388565=_0x4497f4,_0x28d69d=new _0xaa2dc6(this[_0x388565(0x210)][_0x388565(0x22b)][_0x388565(0x202)][_0x388565(0x1e7)]),_0x3a3c84=new _0x2d97b8({'name':/^h[1-5]$/}),_0x544bbe=[];let _0x329085=!0x1;for(const _0x514248 of _0x39d020)_0x514248['is'](_0x388565(0x23b))&&_0x3a3c84[_0x388565(0x1e6)](_0x514248)&&(_0x544bbe[_0x388565(0x1f0)](_0x514248),'h1'==_0x514248[_0x388565(0x230)]&&(_0x329085=!0x0));if(_0x329085){for(const _0x4cbd8f of _0x544bbe)_0x28d69d[_0x388565(0x227)]('h'+(parseInt(_0x4cbd8f[_0x388565(0x230)][0x1])+0x1),_0x4cbd8f);}}[_0x4497f4(0x214)](){const _0x462211=_0x4497f4,{data:_0x55e33a,editing:_0x4d7780}=this[_0x462211(0x210)],_0x5de43f=_0x55e33a[_0x462211(0x1e9)][_0x462211(0x208)](_0x462211(0x1f3)),_0x563c1c=_0x55e33a[_0x462211(0x208)](_0x55e33a[_0x462211(0x22f)](_0x5de43f));return!!_0x4d7780[_0x462211(0x202)][_0x462211(0x1f4)][_0x462211(0x1ff)](_0x563c1c)[_0x462211(0x226)]('h1');}[_0x4497f4(0x207)](_0x31a61c){const _0x5422e9=_0x4497f4;return this[_0x5422e9(0x210)][_0x5422e9(0x22b)][_0x5422e9(0x202)][_0x5422e9(0x1f4)][_0x5422e9(0x1fb)](this[_0x5422e9(0x1fe)],_0x31a61c),this[_0x5422e9(0x1fe)][_0x5422e9(0x1ed)];}[_0x4497f4(0x1e0)](_0x5b1bff){const _0x1b2cf5=_0x4497f4,_0x5a65ac=_0x5b1bff[_0x1b2cf5(0x205)]();return _0x5a65ac[_0x1b2cf5(0x20b)](_0x1b2cf5(0x22c))?_0x5a65ac[_0x1b2cf5(0x23c)](_0x1b2cf5(0x200))?_0x5a65ac[_0x1b2cf5(0x234)](0x7,_0x5a65ac[_0x1b2cf5(0x212)]-0x3):_0x5a65ac[_0x1b2cf5(0x234)](0x7):_0x5b1bff;}}
23
+ const _0x1497c3=_0x4225;(function(_0x4eb78b,_0x36f26a){const _0xe6c45e=_0x4225,_0x2f164b=_0x4eb78b();while(!![]){try{const _0x108a54=-parseInt(_0xe6c45e(0x183))/0x1+parseInt(_0xe6c45e(0x163))/0x2*(parseInt(_0xe6c45e(0x13b))/0x3)+-parseInt(_0xe6c45e(0x194))/0x4+parseInt(_0xe6c45e(0x149))/0x5+-parseInt(_0xe6c45e(0x176))/0x6+parseInt(_0xe6c45e(0x164))/0x7*(parseInt(_0xe6c45e(0x160))/0x8)+parseInt(_0xe6c45e(0x140))/0x9*(-parseInt(_0xe6c45e(0x173))/0xa);if(_0x108a54===_0x36f26a)break;else _0x2f164b['push'](_0x2f164b['shift']());}catch(_0x162c27){_0x2f164b['push'](_0x2f164b['shift']());}}}(_0x487e,0x5a9d1));import{ObservableMixin as _0x4e4a40}from'ckeditor5/src/utils.js';import{AIRequestError as _0x374e1f}from'../adapters/aiadapter.js';function _0x4225(_0x94977a,_0x58489a){const _0x487e17=_0x487e();return _0x4225=function(_0x422585,_0x3ca4aa){_0x422585=_0x422585-0x131;let _0x295d14=_0x487e17[_0x422585];return _0x295d14;},_0x4225(_0x94977a,_0x58489a);}import{Matcher as _0x3f5a5a,ViewUpcastWriter as _0x27350d}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x4e4a40(){[_0x1497c3(0x14c)];[_0x1497c3(0x187)];[_0x1497c3(0x15f)];[_0x1497c3(0x18c)];[_0x1497c3(0x156)];[_0x1497c3(0x188)];constructor(_0x3cf305,_0x3629ba,_0x122673){const _0xa29593=_0x1497c3;super(),this[_0xa29593(0x14c)]=_0x3cf305,this[_0xa29593(0x187)]=_0x3629ba,this[_0xa29593(0x18c)]=document[_0xa29593(0x14f)](_0xa29593(0x190)),this[_0xa29593(0x156)]=new DOMParser(),this[_0xa29593(0x188)]=new XMLSerializer(),this[_0xa29593(0x15f)]=_0x122673,this[_0xa29593(0x16e)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xa29593(0x14e),(_0x271fcb,_0x3b11c4,_0x37d781)=>{const _0x50dd26=_0xa29593;this[_0x50dd26(0x15f)][_0x50dd26(0x150)]=this[_0x50dd26(0x17c)](_0x37d781);}),this[_0xa29593(0x17a)](this[_0xa29593(0x15f)],_0xa29593(0x179),(_0x1be5eb,_0xbad8d9)=>{const _0x3f76bf=_0xa29593,_0x54fb9d=this[_0x3f76bf(0x145)]||this[_0x3f76bf(0x17e)];this[_0x3f76bf(0x17b)](_0xbad8d9,_0x54fb9d,_0x3f76bf(0x15c));}),this[_0xa29593(0x17a)](this[_0xa29593(0x15f)],_0xa29593(0x139),()=>{const _0x3bf280=_0xa29593;this[_0x3bf280(0x15f)][_0x3bf280(0x18a)]=this[_0x3bf280(0x132)],this[_0x3bf280(0x17b)](this[_0x3bf280(0x13c)],this[_0x3bf280(0x170)],this[_0x3bf280(0x186)],this[_0x3bf280(0x132)]);}),this[_0xa29593(0x17a)](this[_0xa29593(0x15f)],_0xa29593(0x166),()=>{const _0x3e22cc=_0xa29593;this[_0x3e22cc(0x166)]();});}[_0x1497c3(0x148)](){const _0x5ee286=_0x1497c3;this[_0x5ee286(0x178)]();}async[_0x1497c3(0x133)]({actionId:_0x21bbc6,query:_0x525b08,htmlContent:_0x391e0a,label:_0xc256ef,mainActionLabel:_0x5553a2}){const _0x5a6362=_0x1497c3;this[_0x5a6362(0x15f)][_0x5a6362(0x18a)]=_0xc256ef,this[_0x5a6362(0x15f)][_0x5a6362(0x144)]=_0x5553a2,this[_0x5a6362(0x17e)]=_0x391e0a,_0x525b08&&(this[_0x5a6362(0x15f)][_0x5a6362(0x15a)]?this[_0x5a6362(0x17b)](_0x525b08,_0x391e0a,_0x21bbc6,_0xc256ef):this[_0x5a6362(0x15f)][_0x5a6362(0x134)](_0x5a6362(0x147),()=>{const _0x366d51=_0x5a6362;this[_0x366d51(0x17b)](_0x525b08,_0x391e0a,_0x21bbc6,_0xc256ef);}));}[_0x1497c3(0x166)](){const _0x4f0e4e=_0x1497c3;this[_0x4f0e4e(0x13d)]&&(this[_0x4f0e4e(0x13d)]=!0x1,this[_0x4f0e4e(0x15f)][_0x4f0e4e(0x18d)](),this[_0x4f0e4e(0x187)][_0x4f0e4e(0x174)]());}[_0x1497c3(0x161)](){const _0x9abd8f=_0x1497c3;this[_0x9abd8f(0x17e)]='',this[_0x9abd8f(0x145)]='',this[_0x9abd8f(0x136)]='',this[_0x9abd8f(0x170)]='',this[_0x9abd8f(0x13c)]='',this[_0x9abd8f(0x132)]='',this[_0x9abd8f(0x186)]=void 0x0,this[_0x9abd8f(0x15f)][_0x9abd8f(0x161)](),this[_0x9abd8f(0x166)]();}async[_0x1497c3(0x17b)](_0x597615,_0x2125d9,_0x56d1ef,_0x2e964a){const _0x22494b=_0x1497c3;return this[_0x22494b(0x13d)]=!0x0,this[_0x22494b(0x15f)][_0x22494b(0x16b)](),this[_0x22494b(0x170)]=_0x2125d9,this[_0x22494b(0x13c)]=_0x597615,this[_0x22494b(0x132)]=_0x2e964a||_0x597615,this[_0x22494b(0x186)]=_0x56d1ef,new Promise(_0x4bd469=>{const _0x34e2d8=_0x22494b;this[_0x34e2d8(0x187)][_0x34e2d8(0x143)]({'query':_0x597615,'context':_0x2125d9,'onData':_0x211b88=>{const _0x2edbd0=_0x34e2d8;this[_0x2edbd0(0x136)]=_0x211b88,this[_0x2edbd0(0x145)]=this[_0x2edbd0(0x18e)](this[_0x2edbd0(0x136)]);},'actionId':_0x56d1ef})[_0x34e2d8(0x16f)](()=>{const _0x165c19=_0x34e2d8;!this[_0x165c19(0x145)]&&this[_0x165c19(0x136)]&&(this[_0x165c19(0x145)]=this[_0x165c19(0x18e)](this[_0x165c19(0x136)],!0x0));})[_0x34e2d8(0x162)](_0x2906d7=>{const _0x239964=_0x34e2d8;_0x2906d7 instanceof _0x374e1f?this[_0x239964(0x15f)][_0x239964(0x159)](_0x2906d7[_0x239964(0x15b)]):this[_0x239964(0x15f)][_0x239964(0x159)](),_0x4bd469();})[_0x34e2d8(0x153)](()=>{const _0x32e0ad=_0x34e2d8;this[_0x32e0ad(0x166)](),_0x4bd469();});});}[_0x1497c3(0x18e)](_0x48a4bc,_0x21a469=!0x1){const _0x5eec43=_0x1497c3,_0x330d30=Q[_0x5eec43(0x137)](_0x48a4bc);_0x48a4bc=_0x330d30?_0x48a4bc[_0x5eec43(0x14d)](_0x330d30[0x1][_0x5eec43(0x13a)]):_0x48a4bc[_0x5eec43(0x13a)]<0x64&&!_0x21a469?'':this[_0x5eec43(0x15d)](_0x48a4bc);const _0x3c3e2a=this[_0x5eec43(0x156)][_0x5eec43(0x185)](_0x48a4bc,_0x5eec43(0x192));if(_0x330d30){const _0xc94f02=Array[_0x5eec43(0x135)](_0x3c3e2a[_0x5eec43(0x182)][_0x5eec43(0x146)]);_0xc94f02[_0x5eec43(0x16a)]();for(const _0x140f51 of _0xc94f02){if(_0x140f51[_0x5eec43(0x131)]==Node[_0x5eec43(0x138)])break;_0x140f51[_0x5eec43(0x18b)]();}}const _0x2dc883=this[_0x5eec43(0x14c)][_0x5eec43(0x158)][_0x5eec43(0x142)][_0x5eec43(0x17f)](this[_0x5eec43(0x188)][_0x5eec43(0x14b)](_0x3c3e2a[_0x5eec43(0x182)]));this[_0x5eec43(0x189)]()||this[_0x5eec43(0x157)](_0x2dc883);const _0x165e0d=this[_0x5eec43(0x14c)][_0x5eec43(0x175)][_0x5eec43(0x13e)](_0x5eec43(0x155)),_0x12f8da=this[_0x5eec43(0x14c)][_0x5eec43(0x158)][_0x5eec43(0x167)](_0x2dc883);return _0x165e0d||_0x12f8da[_0x5eec43(0x15e)][_0x5eec43(0x177)](),this[_0x5eec43(0x14c)][_0x5eec43(0x158)][_0x5eec43(0x18f)](_0x12f8da);}[_0x1497c3(0x157)](_0x4f0579){const _0x46e4a3=_0x1497c3,_0x1da9ac=new _0x27350d(this[_0x46e4a3(0x14c)][_0x46e4a3(0x165)][_0x46e4a3(0x15f)][_0x46e4a3(0x191)]),_0x553345=new _0x3f5a5a({'name':/^h[1-5]$/}),_0x23996b=[];let _0x30795a=!0x1;for(const _0x5691cd of _0x4f0579)_0x5691cd['is'](_0x46e4a3(0x13f))&&_0x553345[_0x46e4a3(0x172)](_0x5691cd)&&(_0x23996b[_0x46e4a3(0x154)](_0x5691cd),'h1'==_0x5691cd[_0x46e4a3(0x169)]&&(_0x30795a=!0x0));if(_0x30795a){for(const _0x4d3ac1 of _0x23996b)_0x1da9ac[_0x46e4a3(0x16d)]('h'+(parseInt(_0x4d3ac1[_0x46e4a3(0x169)][0x1])+0x1),_0x4d3ac1);}}[_0x1497c3(0x189)](){const _0x30beb9=_0x1497c3,{data:_0x39c4e1,editing:_0x1f5bdc}=this[_0x30beb9(0x14c)],_0x9cbf3b=_0x39c4e1[_0x30beb9(0x17d)][_0x30beb9(0x17f)](_0x30beb9(0x14a)),_0x3ed8f9=_0x39c4e1[_0x30beb9(0x17f)](_0x39c4e1[_0x30beb9(0x167)](_0x9cbf3b));return!!_0x1f5bdc[_0x30beb9(0x15f)][_0x30beb9(0x16c)][_0x30beb9(0x168)](_0x3ed8f9)[_0x30beb9(0x184)]('h1');}[_0x1497c3(0x17c)](_0x4b77d8){const _0x1efac0=_0x1497c3;return this[_0x1efac0(0x14c)][_0x1efac0(0x165)][_0x1efac0(0x15f)][_0x1efac0(0x16c)][_0x1efac0(0x152)](this[_0x1efac0(0x18c)],_0x4b77d8),this[_0x1efac0(0x18c)][_0x1efac0(0x141)];}[_0x1497c3(0x15d)](_0x5d5b4d){const _0x36df84=_0x1497c3,_0x25389d=_0x5d5b4d[_0x36df84(0x180)]();return _0x25389d[_0x36df84(0x171)](_0x36df84(0x181))?_0x25389d[_0x36df84(0x193)](_0x36df84(0x151))?_0x25389d[_0x36df84(0x14d)](0x7,_0x25389d[_0x36df84(0x13a)]-0x3):_0x25389d[_0x36df84(0x14d)](0x7):_0x5d5b4d;}}function _0x487e(){const _0x47c931=['destroy','1706165FQkbyD','<h1></h1>','serializeToString','editor','substring','set:currentContext','createElement','value','```','setContentOf','finally','push','ai.aiAssistant.preserveComments','_domParser','_normalizeResponseHeadings','data','handleError','isRendered','message','custom','_stripMarkdownSyntax','markers','view','1704mxsGvw','reset','catch','2FEtbvM','19180IyLlmH','editing','stopProcessing','toModel','viewToDom','name','reverse','startProcessing','domConverter','rename','set','then','previousContext','startsWith','match','10tpZgOe','abort','config','1858338xzYgGq','clear','stopListening','submitPrompt','listenTo','_handleQuery','_sanitizeHTML','htmlProcessor','initialContext','toView','trim','```html','body','335734tuwiZQ','querySelector','parseFromString','previousActionId','textAdapter','_xmlSerializer','_isH1TagSupportEnabled','prompt','remove','_sanitizationContainer','finishProcessing','_parseAndNormalizeContent','stringify','div','document','text/html','endsWith','399180rgxdII','nodeType','previousLabel','updateView','once','from','currentResponse','exec','ELEMENT_NODE','tryAgainEvent','length','709761uUZkiZ','previousQuery','isProcessing','get','element','405315jjftIr','innerHTML','processor','makeRequest','mainAction','currentContext','childNodes','render'];_0x487e=function(){return _0x47c931;};return _0x487e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1709(){const _0x20bcf3=['30414186mxQGcz','-9999px','ck-ai-form__copy-button','scrollTo','ck-ai-form__content-area-wrapper','AI\x20is\x20writing...','ck-ai-form__content-area--processing','copy','class','mousedown','remove','execCommand','copyButtonView','firstElementChild','addRange','loaderView','70uWDwHd','position','ClipboardItem','6811436sLcbHg','isVisible','lastElementChild','ck-ai-form__content-field','wheel','style','ck-ai-form__copy-button-wrapper','ck-reset_all-excluded','isProcessing','set','.ck-ai-form__loader','absolute','querySelector','createElement','_copyHTMLToClipboard','appendChild','1613852AKUloD','7436892bHhfIm','appendLoader','<span>]</span>','textContent','bindTemplate','left','clipboard','Copy','1355424CFcDZC','value','setEndBefore','icon','10wJUwgr','<span>[</span>','ck-ai-form__content-area','div','342143OrTeQe','smooth','focus','change:value','locale','_createCopyButton','setStartAfter','text/html','contentFieldView','ck-content','\x20ck-ai-form__copy-button--copied','element','_createLoader','bind','isEnabled','removeAllRanges','ck-ai-form__loader','listenTo','innerHTML','setContent','scrollHeight','render','text/plain','86853HGoEFJ','write','execute','5EcBeqm','body','createRange','change:isProcessing','setTemplate','getSelection','ck-hidden'];_0x1709=function(){return _0x20bcf3;};return _0x1709();}const _0x4d0a74=_0x4cc5;(function(_0x221910,_0x126dbd){const _0xc9ea3d=_0x4cc5,_0x40f2ff=_0x221910();while(!![]){try{const _0x4fde78=-parseInt(_0xc9ea3d(0xbf))/0x1+-parseInt(_0xc9ea3d(0xae))/0x2+-parseInt(_0xc9ea3d(0x81))/0x3+-parseInt(_0xc9ea3d(0x9e))/0x4+-parseInt(_0xc9ea3d(0x84))/0x5*(parseInt(_0xc9ea3d(0xaf))/0x6)+-parseInt(_0xc9ea3d(0x9b))/0x7*(-parseInt(_0xc9ea3d(0xb7))/0x8)+-parseInt(_0xc9ea3d(0x8b))/0x9*(-parseInt(_0xc9ea3d(0xbb))/0xa);if(_0x4fde78===_0x126dbd)break;else _0x40f2ff['push'](_0x40f2ff['shift']());}catch(_0x209a98){_0x40f2ff['push'](_0x40f2ff['shift']());}}}(_0x1709,0xe8bb9));import{global as _0x25f318}from'ckeditor5/src/utils.js';import{View as _0x211000,ButtonView as _0x33d904,SpinnerView as _0x4e2ee1}from'ckeditor5/src/ui.js';import{IconCheck as _0x5981c8,IconCopy as _0x33cdaf}from'ckeditor5/src/icons.js';import{getTranslation as _0x782205}from'../../utils/common-translations.js';function _0x4cc5(_0x388c20,_0x582c5a){const _0x1709f2=_0x1709();return _0x4cc5=function(_0x4cc584,_0x31f776){_0x4cc584=_0x4cc584-0x81;let _0x29a105=_0x1709f2[_0x4cc584];return _0x29a105;},_0x4cc5(_0x388c20,_0x582c5a);}export class AIFormContentArea extends _0x211000{[_0x4d0a74(0xc7)];[_0x4d0a74(0x97)];constructor(_0x22ac40,_0x23de73=''){const _0x5dcb4b=_0x4d0a74;super(_0x22ac40),this[_0x5dcb4b(0xa7)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x429cc6=this[_0x5dcb4b(0xb3)];this[_0x5dcb4b(0xc7)]=new ContentFieldView(_0x22ac40,_0x23de73),this[_0x5dcb4b(0x97)]=this[_0x5dcb4b(0xc4)](),this[_0x5dcb4b(0x88)]({'tag':_0x5dcb4b(0xbe),'attributes':{'class':['ck',_0x5dcb4b(0x8f),_0x429cc6['if'](_0x5dcb4b(0x9f),_0x5dcb4b(0x8a),_0x4ec63b=>!_0x4ec63b)],'tabindex':'-1'},'children':[{'tag':_0x5dcb4b(0xbe),'attributes':{'class':['ck',_0x5dcb4b(0xbd),_0x429cc6['if'](_0x5dcb4b(0xa6),_0x5dcb4b(0x91))]},'children':[this[_0x5dcb4b(0xc7)],{'tag':_0x5dcb4b(0xbe),'attributes':{'class':['ck',_0x5dcb4b(0xa4)]},'children':[this[_0x5dcb4b(0x97)]]}]}]});}[_0x4d0a74(0xd4)](){const _0x3e8e01=_0x4d0a74;super[_0x3e8e01(0xd4)](),this[_0x3e8e01(0xb8)]&&this[_0x3e8e01(0xc7)][_0x3e8e01(0xd2)](this[_0x3e8e01(0xb8)]);let _0x51459a=!0x1;this['on'](_0x3e8e01(0xc2),(_0x1bd321,_0x5e6017,_0xf9cc5d)=>{const _0x5bad17=_0x3e8e01,_0x4ff250=!this[_0x5bad17(0xc7)][_0x5bad17(0xca)][_0x5bad17(0xaa)](_0x5bad17(0xa8));this[_0x5bad17(0xc7)][_0x5bad17(0xd2)](_0xf9cc5d),this[_0x5bad17(0xa6)]&&_0x4ff250&&!_0x51459a&&this[_0x5bad17(0xca)][_0x5bad17(0x8e)]({'top':this[_0x5bad17(0xca)][_0x5bad17(0xd3)],'behavior':_0x5bad17(0xc0)});}),this['on'](_0x3e8e01(0x87),(_0x562c72,_0x3291f5,_0x174cde)=>{const _0x5a499e=_0x3e8e01;_0x51459a=!0x1,_0x174cde?(this[_0x5a499e(0xb8)]=null,this[_0x5a499e(0xc7)][_0x5a499e(0xb0)]()):this[_0x5a499e(0xb8)]||this[_0x5a499e(0xc7)][_0x5a499e(0xd2)]('');}),this[_0x3e8e01(0xd0)](this[_0x3e8e01(0xca)],_0x3e8e01(0xa2),()=>{_0x51459a=!0x0;}),this[_0x3e8e01(0xd0)](this[_0x3e8e01(0xca)],_0x3e8e01(0x94),()=>{_0x51459a=!0x0;});}[_0x4d0a74(0xc1)](){const _0x5d5503=_0x4d0a74;this[_0x5d5503(0xca)][_0x5d5503(0xc1)]();}[_0x4d0a74(0xc4)](){const _0x12659e=_0x4d0a74,_0x8e447a=this[_0x12659e(0xc3)],_0x4636e8=new _0x33d904(this[_0x12659e(0xc3)]),_0x23f087=_0x12659e(0x8d);return _0x4636e8[_0x12659e(0xa7)]({'label':_0x782205(_0x8e447a,_0x12659e(0xb6)),'icon':_0x33cdaf,'class':_0x23f087,'tooltip':!0x0}),_0x4636e8[_0x12659e(0xcc)](_0x12659e(0x9f))['to'](this,_0x12659e(0xb8),_0x310a5c=>!!_0x310a5c),_0x4636e8[_0x12659e(0xcc)](_0x12659e(0xcd))['to'](this,_0x12659e(0xa6),_0x31a1d5=>!_0x31a1d5),_0x4636e8['on'](_0x12659e(0x83),()=>{const _0x3b57ad=_0x12659e;this[_0x3b57ad(0xac)](this[_0x3b57ad(0xc7)][_0x3b57ad(0xca)]),_0x4636e8[_0x3b57ad(0xba)]=_0x5981c8,_0x4636e8[_0x3b57ad(0x93)]=_0x23f087+_0x3b57ad(0xc9),this[_0x3b57ad(0xc1)](),setTimeout(()=>{const _0x5f443d=_0x3b57ad;_0x4636e8[_0x5f443d(0xba)]=_0x33cdaf,_0x4636e8[_0x5f443d(0x93)]=_0x23f087;},0x3e8);}),_0x4636e8;}[_0x4d0a74(0xac)](_0xb5611c){const _0x322e0f=_0x4d0a74,{window:_0xcc2b2d,document:_0x3ad28a}=_0x25f318;if(_0xcc2b2d[_0x322e0f(0x9d)]){const {Blob:_0x31a71a,ClipboardItem:_0x116d9c}=_0xcc2b2d,_0x3ef01e=[new _0x116d9c({'text/html':new _0x31a71a([_0xb5611c[_0x322e0f(0xd1)]],{'type':_0x322e0f(0xc6)}),'text/plain':new _0x31a71a([_0xb5611c[_0x322e0f(0xb2)]||''],{'type':_0x322e0f(0xd5)})})];navigator[_0x322e0f(0xb5)][_0x322e0f(0x82)](_0x3ef01e);}else{const _0x2ba75e=_0x3ad28a[_0x322e0f(0xab)](_0x322e0f(0xbe));_0x2ba75e[_0x322e0f(0xa3)][_0x322e0f(0x9c)]=_0x322e0f(0xa9),_0x2ba75e[_0x322e0f(0xa3)][_0x322e0f(0xb4)]=_0x322e0f(0x8c),_0x2ba75e[_0x322e0f(0xd1)]=_0x322e0f(0xbc)+_0xb5611c[_0x322e0f(0xd1)]+_0x322e0f(0xb1),_0x3ad28a[_0x322e0f(0x85)][_0x322e0f(0xad)](_0x2ba75e);const _0x1a92fb=_0x3ad28a[_0x322e0f(0x86)]();_0x1a92fb[_0x322e0f(0xc5)](_0x2ba75e[_0x322e0f(0x98)]),_0x1a92fb[_0x322e0f(0xb9)](_0x2ba75e[_0x322e0f(0xa0)]);const _0x1b338b=_0xcc2b2d[_0x322e0f(0x89)]();_0x1b338b[_0x322e0f(0xce)](),_0x1b338b[_0x322e0f(0x99)](_0x1a92fb),_0x3ad28a[_0x322e0f(0x96)](_0x322e0f(0x92)),_0x2ba75e[_0x322e0f(0x95)]();}}}export class ContentFieldView extends _0x211000{constructor(_0x452328,_0x592892=''){const _0x5910f2=_0x4d0a74;super(_0x452328),this[_0x5910f2(0x9a)]=this[_0x5910f2(0xcb)](),this[_0x5910f2(0x88)]({'tag':_0x5910f2(0xbe),'attributes':{'class':['ck',_0x5910f2(0xc8),_0x592892,_0x5910f2(0xa5),_0x5910f2(0xa1)]}});}[_0x4d0a74(0xd2)](_0x993104){const _0x2564a4=_0x4d0a74;this[_0x2564a4(0xca)][_0x2564a4(0xd1)]=_0x993104;}[_0x4d0a74(0xb0)](){const _0x563cf6=_0x4d0a74;this[_0x563cf6(0xca)][_0x563cf6(0xad)](this[_0x563cf6(0x9a)][_0x563cf6(0xca)]);}[_0x4d0a74(0xcb)](){const _0x55d05a=_0x4d0a74,_0x4f99e8=new _0x211000(),_0x5c76df=this[_0x55d05a(0xc3)],_0x40ab80=new _0x4e2ee1();return _0x40ab80[_0x55d05a(0x9f)]=!0x0,_0x4f99e8[_0x55d05a(0x88)]({'tag':_0x55d05a(0xbe),'attributes':{'class':['ck',_0x55d05a(0xcf)]},'children':[_0x40ab80,{'text':_0x782205(_0x5c76df,_0x55d05a(0x90))}]}),_0x4f99e8[_0x55d05a(0xd4)](),_0x4f99e8;}}
23
+ const _0x2758bb=_0x324c;(function(_0x518cfb,_0x549997){const _0x4ba51c=_0x324c,_0x3d63a0=_0x518cfb();while(!![]){try{const _0x1db936=-parseInt(_0x4ba51c(0xd7))/0x1+-parseInt(_0x4ba51c(0xc6))/0x2*(parseInt(_0x4ba51c(0xd4))/0x3)+-parseInt(_0x4ba51c(0x96))/0x4*(parseInt(_0x4ba51c(0xd2))/0x5)+parseInt(_0x4ba51c(0xb6))/0x6*(parseInt(_0x4ba51c(0x98))/0x7)+parseInt(_0x4ba51c(0xc5))/0x8+-parseInt(_0x4ba51c(0xa1))/0x9*(parseInt(_0x4ba51c(0xe5))/0xa)+-parseInt(_0x4ba51c(0x9e))/0xb*(-parseInt(_0x4ba51c(0xb2))/0xc);if(_0x1db936===_0x549997)break;else _0x3d63a0['push'](_0x3d63a0['shift']());}catch(_0x508708){_0x3d63a0['push'](_0x3d63a0['shift']());}}}(_0x5afb,0x99bb5));import{global as _0x54d051}from'ckeditor5/src/utils.js';import{View as _0x27db67,ButtonView as _0x2ae856,SpinnerView as _0x332af9}from'ckeditor5/src/ui.js';function _0x5afb(){const _0x5ea325=['querySelector','_createLoader','339993IwkrMn','innerHTML','<span>[</span>','-9999px','_copyHTMLToClipboard','change:value','wheel','change:isProcessing','\x20ck-ai-form__copy-button--copied','addRange','smooth','copy','isVisible','AI\x20is\x20writing...','11320090woIjiB','isEnabled','remove','loaderView','removeAllRanges','ck-ai-form__content-area-wrapper','.ck-ai-form__loader','firstElementChild','14492GJDSnD','lastElementChild','7tuhbMO','left','text/plain','execute','ck-ai-form__copy-button','absolute','4453053FqLpVM','setStartAfter','render','9wRDDFc','_createCopyButton','scrollHeight','setContent','scrollTo','ClipboardItem','ck-ai-form__content-field','ck-hidden','write','class','getSelection','text/html','ck-content','locale','element','ck-ai-form__loader','set','36RuLwKs','value','icon','bind','2058150jjajIT','copyButtonView','createRange','ck-ai-form__content-area--processing','listenTo','Copy','body','focus','appendLoader','div','ck-ai-form__content-area','textContent','createElement','position','contentFieldView','9004496OtziXn','348934OZqZon','ck-reset_all-excluded','bindTemplate','style','setEndBefore','clipboard','isProcessing','ck-ai-form__copy-button-wrapper','appendChild','setTemplate','<span>]</span>','mousedown','80OtlBXx','execCommand','9ThyqhE'];_0x5afb=function(){return _0x5ea325;};return _0x5afb();}import{IconCheck as _0x31fd31,IconCopy as _0x454f62}from'ckeditor5/src/icons.js';import{getTranslation as _0x207df3}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x27db67{[_0x2758bb(0xc4)];[_0x2758bb(0xb7)];constructor(_0x1d6cd1,_0x3714ed=''){const _0x152a11=_0x2758bb;super(_0x1d6cd1),this[_0x152a11(0xb1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x441274=this[_0x152a11(0xc8)];this[_0x152a11(0xc4)]=new ContentFieldView(_0x1d6cd1,_0x3714ed),this[_0x152a11(0xb7)]=this[_0x152a11(0xa2)](),this[_0x152a11(0xcf)]({'tag':_0x152a11(0xbf),'attributes':{'class':['ck',_0x152a11(0xea),_0x441274['if'](_0x152a11(0xe3),_0x152a11(0xa8),_0x42377f=>!_0x42377f)],'tabindex':'-1'},'children':[{'tag':_0x152a11(0xbf),'attributes':{'class':['ck',_0x152a11(0xc0),_0x441274['if'](_0x152a11(0xcc),_0x152a11(0xb9))]},'children':[this[_0x152a11(0xc4)],{'tag':_0x152a11(0xbf),'attributes':{'class':['ck',_0x152a11(0xcd)]},'children':[this[_0x152a11(0xb7)]]}]}]});}[_0x2758bb(0xa0)](){const _0x2f704f=_0x2758bb;super[_0x2f704f(0xa0)](),this[_0x2f704f(0xb3)]&&this[_0x2f704f(0xc4)][_0x2f704f(0xa4)](this[_0x2f704f(0xb3)]);let _0x241c6b=!0x1;this['on'](_0x2f704f(0xdc),(_0xf85ad2,_0x5757c0,_0xe3190f)=>{const _0x3a3ed1=_0x2f704f,_0x539e29=!this[_0x3a3ed1(0xc4)][_0x3a3ed1(0xaf)][_0x3a3ed1(0xd5)](_0x3a3ed1(0x94));this[_0x3a3ed1(0xc4)][_0x3a3ed1(0xa4)](_0xe3190f),this[_0x3a3ed1(0xcc)]&&_0x539e29&&!_0x241c6b&&this[_0x3a3ed1(0xaf)][_0x3a3ed1(0xa5)]({'top':this[_0x3a3ed1(0xaf)][_0x3a3ed1(0xa3)],'behavior':_0x3a3ed1(0xe1)});}),this['on'](_0x2f704f(0xde),(_0x4d3a2d,_0x3422cb,_0x195566)=>{const _0x9ce4ad=_0x2f704f;_0x241c6b=!0x1,_0x195566?(this[_0x9ce4ad(0xb3)]=null,this[_0x9ce4ad(0xc4)][_0x9ce4ad(0xbe)]()):this[_0x9ce4ad(0xb3)]||this[_0x9ce4ad(0xc4)][_0x9ce4ad(0xa4)]('');}),this[_0x2f704f(0xba)](this[_0x2f704f(0xaf)],_0x2f704f(0xdd),()=>{_0x241c6b=!0x0;}),this[_0x2f704f(0xba)](this[_0x2f704f(0xaf)],_0x2f704f(0xd1),()=>{_0x241c6b=!0x0;});}[_0x2758bb(0xbd)](){const _0x38c2d2=_0x2758bb;this[_0x38c2d2(0xaf)][_0x38c2d2(0xbd)]();}[_0x2758bb(0xa2)](){const _0x554844=_0x2758bb,_0x5b87c8=this[_0x554844(0xae)],_0x42a108=new _0x2ae856(this[_0x554844(0xae)]),_0x40989c=_0x554844(0x9c);return _0x42a108[_0x554844(0xb1)]({'label':_0x207df3(_0x5b87c8,_0x554844(0xbb)),'icon':_0x454f62,'class':_0x40989c,'tooltip':!0x0}),_0x42a108[_0x554844(0xb5)](_0x554844(0xe3))['to'](this,_0x554844(0xb3),_0x380393=>!!_0x380393),_0x42a108[_0x554844(0xb5)](_0x554844(0xe6))['to'](this,_0x554844(0xcc),_0x25b340=>!_0x25b340),_0x42a108['on'](_0x554844(0x9b),()=>{const _0x20de44=_0x554844;this[_0x20de44(0xdb)](this[_0x20de44(0xc4)][_0x20de44(0xaf)]),_0x42a108[_0x20de44(0xb4)]=_0x31fd31,_0x42a108[_0x20de44(0xaa)]=_0x40989c+_0x20de44(0xdf),this[_0x20de44(0xbd)](),setTimeout(()=>{const _0xf578a3=_0x20de44;_0x42a108[_0xf578a3(0xb4)]=_0x454f62,_0x42a108[_0xf578a3(0xaa)]=_0x40989c;},0x3e8);}),_0x42a108;}[_0x2758bb(0xdb)](_0x5ef42a){const _0x34cf7d=_0x2758bb,{window:_0x4a47bd,document:_0x5ae2b1}=_0x54d051;if(_0x4a47bd[_0x34cf7d(0xa6)]){const {Blob:_0x4d03f4,ClipboardItem:_0x1f2fa5}=_0x4a47bd,_0x5eddf5=[new _0x1f2fa5({'text/html':new _0x4d03f4([_0x5ef42a[_0x34cf7d(0xd8)]],{'type':_0x34cf7d(0xac)}),'text/plain':new _0x4d03f4([_0x5ef42a[_0x34cf7d(0xc1)]||''],{'type':_0x34cf7d(0x9a)})})];navigator[_0x34cf7d(0xcb)][_0x34cf7d(0xa9)](_0x5eddf5);}else{const _0x714f1e=_0x5ae2b1[_0x34cf7d(0xc2)](_0x34cf7d(0xbf));_0x714f1e[_0x34cf7d(0xc9)][_0x34cf7d(0xc3)]=_0x34cf7d(0x9d),_0x714f1e[_0x34cf7d(0xc9)][_0x34cf7d(0x99)]=_0x34cf7d(0xda),_0x714f1e[_0x34cf7d(0xd8)]=_0x34cf7d(0xd9)+_0x5ef42a[_0x34cf7d(0xd8)]+_0x34cf7d(0xd0),_0x5ae2b1[_0x34cf7d(0xbc)][_0x34cf7d(0xce)](_0x714f1e);const _0x39ac52=_0x5ae2b1[_0x34cf7d(0xb8)]();_0x39ac52[_0x34cf7d(0x9f)](_0x714f1e[_0x34cf7d(0x95)]),_0x39ac52[_0x34cf7d(0xca)](_0x714f1e[_0x34cf7d(0x97)]);const _0x32482c=_0x4a47bd[_0x34cf7d(0xab)]();_0x32482c[_0x34cf7d(0xe9)](),_0x32482c[_0x34cf7d(0xe0)](_0x39ac52),_0x5ae2b1[_0x34cf7d(0xd3)](_0x34cf7d(0xe2)),_0x714f1e[_0x34cf7d(0xe7)]();}}}function _0x324c(_0x3568b3,_0x451a98){const _0x5afb40=_0x5afb();return _0x324c=function(_0x324c58,_0x1fb325){_0x324c58=_0x324c58-0x94;let _0x15fa94=_0x5afb40[_0x324c58];return _0x15fa94;},_0x324c(_0x3568b3,_0x451a98);}export class ContentFieldView extends _0x27db67{constructor(_0x5b2597,_0x444bf9=''){const _0x576936=_0x2758bb;super(_0x5b2597),this[_0x576936(0xe8)]=this[_0x576936(0xd6)](),this[_0x576936(0xcf)]({'tag':_0x576936(0xbf),'attributes':{'class':['ck',_0x576936(0xad),_0x444bf9,_0x576936(0xc7),_0x576936(0xa7)]}});}[_0x2758bb(0xa4)](_0x1492a6){const _0x22e077=_0x2758bb;this[_0x22e077(0xaf)][_0x22e077(0xd8)]=_0x1492a6;}[_0x2758bb(0xbe)](){const _0x1a546e=_0x2758bb;this[_0x1a546e(0xaf)][_0x1a546e(0xce)](this[_0x1a546e(0xe8)][_0x1a546e(0xaf)]);}[_0x2758bb(0xd6)](){const _0x59300a=_0x2758bb,_0x59c26b=new _0x27db67(),_0x4d0e42=this[_0x59300a(0xae)],_0x4450aa=new _0x332af9();return _0x4450aa[_0x59300a(0xe3)]=!0x0,_0x59c26b[_0x59300a(0xcf)]({'tag':_0x59300a(0xbf),'attributes':{'class':['ck',_0x59300a(0xb0)]},'children':[_0x4450aa,{'text':_0x207df3(_0x4d0e42,_0x59300a(0xe4))}]}),_0x59c26b[_0x59300a(0xa0)](),_0x59c26b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x136b(){const _0x2dc356=['div','3547332zTUGJF','1333526vFIBZB','8MFkHLC','16608114htqQYf','6713105bUCPHu','setTemplate','1220539ejxaAQ','content','2765940XSsVeB','set','text','3439136tHaLNC','3jrHCuS','ck-ai-form__error','bindTemplate'];_0x136b=function(){return _0x2dc356;};return _0x136b();}(function(_0x21dede,_0x305cd3){const _0x39a9e2=_0x4d33,_0x5ccfe0=_0x21dede();while(!![]){try{const _0x17a2d8=-parseInt(_0x39a9e2(0xbe))/0x1+parseInt(_0x39a9e2(0xc9))/0x2+parseInt(_0x39a9e2(0xc4))/0x3*(-parseInt(_0x39a9e2(0xc3))/0x4)+parseInt(_0x39a9e2(0xc0))/0x5+parseInt(_0x39a9e2(0xc8))/0x6+-parseInt(_0x39a9e2(0xcc))/0x7*(parseInt(_0x39a9e2(0xca))/0x8)+parseInt(_0x39a9e2(0xcb))/0x9;if(_0x17a2d8===_0x305cd3)break;else _0x5ccfe0['push'](_0x5ccfe0['shift']());}catch(_0x390797){_0x5ccfe0['push'](_0x5ccfe0['shift']());}}}(_0x136b,0x96add));function _0x4d33(_0x1fc949,_0x261928){const _0x136b7f=_0x136b();return _0x4d33=function(_0x4d3355,_0x531aa6){_0x4d3355=_0x4d3355-0xbd;let _0x51229a=_0x136b7f[_0x4d3355];return _0x51229a;},_0x4d33(_0x1fc949,_0x261928);}import{IconError as _0x572e2b}from'ckeditor5/src/icons.js';import{View as _0x32e6d6,IconView as _0x317496}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x32e6d6{constructor(_0x4059a2,_0x5320f5=''){const _0x40d4f4=_0x4d33;super(_0x4059a2);const _0x1bc6c8=new _0x317496(),_0xf55b6b=this[_0x40d4f4(0xc6)];this[_0x40d4f4(0xc1)](_0x40d4f4(0xc2),_0x5320f5),_0x1bc6c8[_0x40d4f4(0xbf)]=_0x572e2b,this[_0x40d4f4(0xbd)]({'tag':_0x40d4f4(0xc7),'attributes':{'class':['ck',_0x40d4f4(0xc5)]},'children':[_0x1bc6c8,{'text':_0xf55b6b['to'](_0x40d4f4(0xc2))}]});}}
23
+ function _0x384f(){const _0xe036ec=['8fLycvI','8352042BEDVGU','1628958InVqfS','71TqFEea','7rGXJnA','8204750TmyxYd','8ylOPmU','18394240ojEQgV','text','div','ck-ai-form__error','12cuyEwu','9268974WDQdhq','setTemplate','set','55667876MGgIqU','10150HOmcfb','content','bindTemplate'];_0x384f=function(){return _0xe036ec;};return _0x384f();}(function(_0x5d1454,_0x3cc83f){const _0x38ffd1=_0x4d26,_0x56a149=_0x5d1454();while(!![]){try{const _0x34b01b=-parseInt(_0x38ffd1(0xca))/0x1*(parseInt(_0x38ffd1(0xc4))/0x2)+parseInt(_0x38ffd1(0xc9))/0x3*(-parseInt(_0x38ffd1(0xcd))/0x4)+parseInt(_0x38ffd1(0xcc))/0x5+parseInt(_0x38ffd1(0xc8))/0x6*(-parseInt(_0x38ffd1(0xcb))/0x7)+-parseInt(_0x38ffd1(0xc7))/0x8*(parseInt(_0x38ffd1(0xc0))/0x9)+-parseInt(_0x38ffd1(0xce))/0xa+parseInt(_0x38ffd1(0xc3))/0xb*(parseInt(_0x38ffd1(0xbf))/0xc);if(_0x34b01b===_0x3cc83f)break;else _0x56a149['push'](_0x56a149['shift']());}catch(_0x170684){_0x56a149['push'](_0x56a149['shift']());}}}(_0x384f,0xf2b04));import{IconError as _0x1af346}from'ckeditor5/src/icons.js';import{View as _0x3e8f94,IconView as _0x4f8859}from'ckeditor5/src/ui.js';function _0x4d26(_0x5d2fc2,_0x3d6e1e){const _0x384fbb=_0x384f();return _0x4d26=function(_0x4d26f8,_0x2c6588){_0x4d26f8=_0x4d26f8-0xbf;let _0x4ee52b=_0x384fbb[_0x4d26f8];return _0x4ee52b;},_0x4d26(_0x5d2fc2,_0x3d6e1e);}export class AIFormErrorView extends _0x3e8f94{constructor(_0x123b8d,_0x1f8553=''){const _0x564c4c=_0x4d26;super(_0x123b8d);const _0xbc70a1=new _0x4f8859(),_0x2dfe2f=this[_0x564c4c(0xc6)];this[_0x564c4c(0xc2)](_0x564c4c(0xcf),_0x1f8553),_0xbc70a1[_0x564c4c(0xc5)]=_0x1af346,this[_0x564c4c(0xc1)]({'tag':_0x564c4c(0xd0),'attributes':{'class':['ck',_0x564c4c(0xd1)]},'children':[_0xbc70a1,{'text':_0x2dfe2f['to'](_0x564c4c(0xcf))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2655bd=_0x41f7;(function(_0x5bc0cf,_0xe7aa0d){const _0x5274c6=_0x41f7,_0x4bfc9a=_0x5bc0cf();while(!![]){try{const _0x3a3119=parseInt(_0x5274c6(0x16d))/0x1*(-parseInt(_0x5274c6(0x17a))/0x2)+-parseInt(_0x5274c6(0x18a))/0x3*(parseInt(_0x5274c6(0x171))/0x4)+-parseInt(_0x5274c6(0x153))/0x5*(-parseInt(_0x5274c6(0x152))/0x6)+parseInt(_0x5274c6(0x188))/0x7*(-parseInt(_0x5274c6(0x156))/0x8)+-parseInt(_0x5274c6(0x182))/0x9+parseInt(_0x5274c6(0x169))/0xa*(parseInt(_0x5274c6(0x16a))/0xb)+parseInt(_0x5274c6(0x155))/0xc;if(_0x3a3119===_0xe7aa0d)break;else _0x4bfc9a['push'](_0x4bfc9a['shift']());}catch(_0x56653b){_0x4bfc9a['push'](_0x4bfc9a['shift']());}}}(_0x2c15,0x3c859));function _0x41f7(_0x2f69ad,_0x48ea0a){const _0x2c154a=_0x2c15();return _0x41f7=function(_0x41f72a,_0x234444){_0x41f72a=_0x41f72a-0x150;let _0x3b561a=_0x2c154a[_0x41f72a];return _0x3b561a;},_0x41f7(_0x2f69ad,_0x48ea0a);}import{Rect as _0x4f74a2,global as _0x28f3b7,isVisible as _0x266c25}from'ckeditor5/src/utils.js';import{IconHistory as _0x18f7ba,IconSubmit as _0x4963f5}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x117f35,ButtonView as _0x1e7c5d}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ec888}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x117f35{[_0x2655bd(0x15f)];[_0x2655bd(0x16f)];constructor(_0x37e065,_0x437cbe){const _0x10d639=_0x2655bd;super(_0x37e065,_0x437cbe),this[_0x10d639(0x185)][_0x10d639(0x15b)][_0x10d639(0x154)]=0x1,this[_0x10d639(0x185)][_0x10d639(0x15b)][_0x10d639(0x172)]=0x3,this[_0x10d639(0x15f)]=this[_0x10d639(0x15e)](),this[_0x10d639(0x16f)]=this[_0x10d639(0x164)](),this[_0x10d639(0x177)][_0x10d639(0x179)](this[_0x10d639(0x16f)],0x1),this[_0x10d639(0x177)][_0x10d639(0x179)](this[_0x10d639(0x15f)]);}[_0x2655bd(0x17f)](){const _0x48e5ef=_0x2655bd;super[_0x48e5ef(0x17f)](),this[_0x48e5ef(0x185)][_0x48e5ef(0x168)][_0x48e5ef(0x179)](this[_0x48e5ef(0x16f)]),this[_0x48e5ef(0x189)][_0x48e5ef(0x179)](this[_0x48e5ef(0x15f)]),this[_0x48e5ef(0x17b)][_0x48e5ef(0x150)](_0x48e5ef(0x174),(_0x5f053f,_0x41be21)=>{const _0x8f710=_0x48e5ef;_0x5f053f[_0x8f710(0x181)]==this[_0x8f710(0x185)][_0x8f710(0x15b)][_0x8f710(0x18b)]&&(this[_0x8f710(0x15c)](),_0x41be21());});}[_0x2655bd(0x15e)](){const _0x2a4ab9=_0x2655bd,_0x11ed8f=new _0x1e7c5d(this[_0x2a4ab9(0x166)]),_0xff19d8=this[_0x2a4ab9(0x166)];return _0x11ed8f[_0x2a4ab9(0x150)]({'icon':_0x4963f5,'label':_0x2ec888(_0xff19d8,_0x2a4ab9(0x158)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2a4ab9(0x15d)}),_0x11ed8f['on'](_0x2a4ab9(0x161),()=>{const _0x47ab44=_0x2a4ab9;this[_0x47ab44(0x15c)]();}),_0x11ed8f[_0x2a4ab9(0x157)](_0x2a4ab9(0x187))['to'](this[_0x2a4ab9(0x185)][_0x2a4ab9(0x15b)],_0x2a4ab9(0x180),this,_0x2a4ab9(0x187),(_0x44d355,_0x54753b)=>!_0x44d355&&_0x54753b),_0x11ed8f;}[_0x2655bd(0x164)](){const _0x28f635=_0x2655bd,_0x192229=new _0x1e7c5d(this[_0x28f635(0x166)]),_0x34306c=this[_0x28f635(0x184)],_0x32d127=this[_0x28f635(0x166)];_0x192229[_0x28f635(0x150)]({'label':_0x2ec888(_0x32d127,_0x28f635(0x175)),'withText':!0x1,'icon':_0x18f7ba,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x28f635(0x163)}),_0x192229[_0x28f635(0x157)](_0x28f635(0x176))['to'](_0x34306c,_0x28f635(0x17c)),_0x192229[_0x28f635(0x157)](_0x28f635(0x187))['to'](this,_0x28f635(0x187)),_0x192229['on'](_0x28f635(0x161),()=>{const _0x1ed06a=_0x28f635;_0x34306c[_0x1ed06a(0x17c)]=!_0x34306c[_0x1ed06a(0x17c)],_0x34306c[_0x1ed06a(0x17c)]?this[_0x1ed06a(0x165)][_0x1ed06a(0x16b)]():this[_0x1ed06a(0x16b)]();});const _0x2b5eda=()=>{const _0x4c2ff7=_0x28f635;_0x28f3b7[_0x4c2ff7(0x183)][_0x4c2ff7(0x16e)](()=>{const _0x126502=_0x4c2ff7;if(_0x266c25(this[_0x126502(0x18b)])){const _0x4e3e5b=new _0x4f74a2(this[_0x126502(0x185)][_0x126502(0x15b)][_0x126502(0x18b)]),_0x5e262d=_0x4e3e5b[_0x126502(0x17d)],_0x3c278a=_0x126502(0x16c)===_0x32d127[_0x126502(0x159)]?_0x126502(0x160):_0x126502(0x170);_0x4e3e5b[_0x126502(0x151)](),_0x192229[_0x126502(0x18b)][_0x126502(0x17e)][_0x3c278a]=_0x5e262d-_0x4e3e5b[_0x126502(0x17d)]+0x1+'px';}});};return this[_0x28f635(0x185)][_0x28f635(0x15b)]['on'](_0x28f635(0x15a),_0x2b5eda),this['on'](_0x28f635(0x17f),_0x2b5eda),_0x192229;}[_0x2655bd(0x15c)](){const _0x2f3496=_0x2655bd,_0x356405=this[_0x2f3496(0x185)][_0x2f3496(0x15b)][_0x2f3496(0x18b)][_0x2f3496(0x167)];this[_0x2f3496(0x173)](_0x2f3496(0x15c),_0x356405);}[_0x2655bd(0x16b)](_0xb5cdca){const _0x3341da=_0x2655bd;-0x1===_0xb5cdca?this[_0x3341da(0x162)][_0x3341da(0x186)]():this[_0x3341da(0x162)][_0x3341da(0x178)]();}}function _0x2c15(){const _0x3c1923=['_createSubmitButton','submitButtonView','left','execute','focusCycler','ck-ai-form__toggle-history','_createShowHistoryButton','filteredView','locale','value','fieldWrapperChildren','101360XCaqFh','319PEwEaH','focus','rtl','138505tDWANX','requestAnimationFrame','showHistoryButtonView','right','132868RafhjU','maxRows','fire','enter','History','isOn','focusableChildren','focusFirst','add','6JjLUpB','keystrokes','isVisible','width','style','render','isEmpty','target','4072401eSMrNx','window','resultsView','queryView','focusLast','isEnabled','42lFGagY','children','3OQqMwB','element','set','excludeScrollbarsAndBorders','2266290EtFnWS','5pFFPNC','minRows','8358516CSNMHi','292112dDlcJO','bind','Submit','uiLanguageDirection','update','fieldView','submit','ck-ai-form__submit'];_0x2c15=function(){return _0x3c1923;};return _0x2c15();}
23
+ const _0x584f40=_0x2798;(function(_0x31b62d,_0x40219a){const _0x4e9f20=_0x2798,_0xffd1aa=_0x31b62d();while(!![]){try{const _0x46ef60=parseInt(_0x4e9f20(0xfe))/0x1+parseInt(_0x4e9f20(0x11b))/0x2+-parseInt(_0x4e9f20(0x128))/0x3*(-parseInt(_0x4e9f20(0x110))/0x4)+-parseInt(_0x4e9f20(0x127))/0x5*(-parseInt(_0x4e9f20(0x10d))/0x6)+parseInt(_0x4e9f20(0x113))/0x7+-parseInt(_0x4e9f20(0x109))/0x8+-parseInt(_0x4e9f20(0x123))/0x9;if(_0x46ef60===_0x40219a)break;else _0xffd1aa['push'](_0xffd1aa['shift']());}catch(_0x45ca6e){_0xffd1aa['push'](_0xffd1aa['shift']());}}}(_0x280e,0x6014a));import{Rect as _0x59aa3c,global as _0x452af1,isVisible as _0x1222f3}from'ckeditor5/src/utils.js';import{IconHistory as _0x26a6cf,IconSubmit as _0x1cfffb}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x5c1d65,ButtonView as _0x468e1b}from'ckeditor5/src/ui.js';function _0x280e(){const _0xa65f95=['focus','6RaSrzj','add','isEmpty','4CHkRLN','uiLanguageDirection','filteredView','3644354yxKEGG','queryView','fire','isEnabled','maxRows','submit','isVisible','window','681062FrJGVg','fieldWrapperChildren','Submit','focusFirst','render','locale','target','focusCycler','8232660vOJysT','left','rtl','ck-ai-form__submit','897605uneuHu','289233ZHoyaH','enter','width','showHistoryButtonView','style','fieldView','element','ck-ai-form__toggle-history','update','focusLast','excludeScrollbarsAndBorders','resultsView','bind','requestAnimationFrame','minRows','783485zvnLRC','value','focusableChildren','_createSubmitButton','_createShowHistoryButton','execute','isOn','right','children','set','History','4898272chKGEe','keystrokes','submitButtonView'];_0x280e=function(){return _0xa65f95;};return _0x280e();}function _0x2798(_0x43b4b1,_0x5449e2){const _0x280e2a=_0x280e();return _0x2798=function(_0x279807,_0x2e4e1e){_0x279807=_0x279807-0xfe;let _0x4450a4=_0x280e2a[_0x279807];return _0x4450a4;},_0x2798(_0x43b4b1,_0x5449e2);}import{getTranslation as _0x16369c}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x5c1d65{[_0x584f40(0x10b)];[_0x584f40(0x12b)];constructor(_0x2b3dc2,_0x31f0a1){const _0x3d9150=_0x584f40;super(_0x2b3dc2,_0x31f0a1),this[_0x3d9150(0x114)][_0x3d9150(0x12d)][_0x3d9150(0x136)]=0x1,this[_0x3d9150(0x114)][_0x3d9150(0x12d)][_0x3d9150(0x117)]=0x3,this[_0x3d9150(0x10b)]=this[_0x3d9150(0x101)](),this[_0x3d9150(0x12b)]=this[_0x3d9150(0x102)](),this[_0x3d9150(0x100)][_0x3d9150(0x10e)](this[_0x3d9150(0x12b)],0x1),this[_0x3d9150(0x100)][_0x3d9150(0x10e)](this[_0x3d9150(0x10b)]);}[_0x584f40(0x11f)](){const _0x4595f0=_0x584f40;super[_0x4595f0(0x11f)](),this[_0x4595f0(0x114)][_0x4595f0(0x11c)][_0x4595f0(0x10e)](this[_0x4595f0(0x12b)]),this[_0x4595f0(0x106)][_0x4595f0(0x10e)](this[_0x4595f0(0x10b)]),this[_0x4595f0(0x10a)][_0x4595f0(0x107)](_0x4595f0(0x129),(_0x37ea6c,_0x5def27)=>{const _0x59bf88=_0x4595f0;_0x37ea6c[_0x59bf88(0x121)]==this[_0x59bf88(0x114)][_0x59bf88(0x12d)][_0x59bf88(0x12e)]&&(this[_0x59bf88(0x118)](),_0x5def27());});}[_0x584f40(0x101)](){const _0x1252a7=_0x584f40,_0x550371=new _0x468e1b(this[_0x1252a7(0x120)]),_0x40a46d=this[_0x1252a7(0x120)];return _0x550371[_0x1252a7(0x107)]({'icon':_0x1cfffb,'label':_0x16369c(_0x40a46d,_0x1252a7(0x11d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1252a7(0x126)}),_0x550371['on'](_0x1252a7(0x103),()=>{const _0x46ebfb=_0x1252a7;this[_0x46ebfb(0x118)]();}),_0x550371[_0x1252a7(0x134)](_0x1252a7(0x116))['to'](this[_0x1252a7(0x114)][_0x1252a7(0x12d)],_0x1252a7(0x10f),this,_0x1252a7(0x116),(_0x522131,_0x381f5c)=>!_0x522131&&_0x381f5c),_0x550371;}[_0x584f40(0x102)](){const _0x3f1ebc=_0x584f40,_0x1d28df=new _0x468e1b(this[_0x3f1ebc(0x120)]),_0x3fce37=this[_0x3f1ebc(0x133)],_0x42ea6e=this[_0x3f1ebc(0x120)];_0x1d28df[_0x3f1ebc(0x107)]({'label':_0x16369c(_0x42ea6e,_0x3f1ebc(0x108)),'withText':!0x1,'icon':_0x26a6cf,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3f1ebc(0x12f)}),_0x1d28df[_0x3f1ebc(0x134)](_0x3f1ebc(0x104))['to'](_0x3fce37,_0x3f1ebc(0x119)),_0x1d28df[_0x3f1ebc(0x134)](_0x3f1ebc(0x116))['to'](this,_0x3f1ebc(0x116)),_0x1d28df['on'](_0x3f1ebc(0x103),()=>{const _0x1ebe7f=_0x3f1ebc;_0x3fce37[_0x1ebe7f(0x119)]=!_0x3fce37[_0x1ebe7f(0x119)],_0x3fce37[_0x1ebe7f(0x119)]?this[_0x1ebe7f(0x112)][_0x1ebe7f(0x10c)]():this[_0x1ebe7f(0x10c)]();});const _0x2bb233=()=>{const _0x25e725=_0x3f1ebc;_0x452af1[_0x25e725(0x11a)][_0x25e725(0x135)](()=>{const _0xa85b99=_0x25e725;if(_0x1222f3(this[_0xa85b99(0x12e)])){const _0x314b3c=new _0x59aa3c(this[_0xa85b99(0x114)][_0xa85b99(0x12d)][_0xa85b99(0x12e)]),_0x1bffe6=_0x314b3c[_0xa85b99(0x12a)],_0x4f719c=_0xa85b99(0x125)===_0x42ea6e[_0xa85b99(0x111)]?_0xa85b99(0x124):_0xa85b99(0x105);_0x314b3c[_0xa85b99(0x132)](),_0x1d28df[_0xa85b99(0x12e)][_0xa85b99(0x12c)][_0x4f719c]=_0x1bffe6-_0x314b3c[_0xa85b99(0x12a)]+0x1+'px';}});};return this[_0x3f1ebc(0x114)][_0x3f1ebc(0x12d)]['on'](_0x3f1ebc(0x130),_0x2bb233),this['on'](_0x3f1ebc(0x11f),_0x2bb233),_0x1d28df;}[_0x584f40(0x118)](){const _0x3b7716=_0x584f40,_0x36e05e=this[_0x3b7716(0x114)][_0x3b7716(0x12d)][_0x3b7716(0x12e)][_0x3b7716(0xff)];this[_0x3b7716(0x115)](_0x3b7716(0x118),_0x36e05e);}[_0x584f40(0x10c)](_0x46b290){const _0x474dec=_0x584f40;-0x1===_0x46b290?this[_0x474dec(0x122)][_0x474dec(0x131)]():this[_0x474dec(0x122)][_0x474dec(0x11e)]();}}