@ckeditor/ckeditor5-ai 46.1.0-alpha.0 → 46.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21fbcf=_0xfa03;(function(_0x426d70,_0x22f053){const _0x3beca9=_0xfa03,_0x585677=_0x426d70();while(!![]){try{const _0xedaac1=parseInt(_0x3beca9(0xff))/0x1+-parseInt(_0x3beca9(0x117))/0x2+parseInt(_0x3beca9(0x106))/0x3*(parseInt(_0x3beca9(0xee))/0x4)+-parseInt(_0x3beca9(0x100))/0x5*(parseInt(_0x3beca9(0x121))/0x6)+parseInt(_0x3beca9(0x148))/0x7+-parseInt(_0x3beca9(0xef))/0x8+-parseInt(_0x3beca9(0x115))/0x9*(-parseInt(_0x3beca9(0xfa))/0xa);if(_0xedaac1===_0x22f053)break;else _0x585677['push'](_0x585677['shift']());}catch(_0x34577c){_0x585677['push'](_0x585677['shift']());}}}(_0xa95f,0xa6c66));import{Plugin as _0x2aca75}from'ckeditor5/src/core.js';function _0xfa03(_0x5d623a,_0x1b7cbf){const _0xa95f40=_0xa95f();return _0xfa03=function(_0xfa03a0,_0x36df1f){_0xfa03a0=_0xfa03a0-0xec;let _0x453146=_0xa95f40[_0xfa03a0];return _0x453146;},_0xfa03(_0x5d623a,_0x1b7cbf);}import{AIAssistantUI as _0x2d7a51}from'./aiassistantui.js';import{AIAssistantEditing as _0x55fdda}from'./aiassistantediting.js';import{getTranslation as _0x4cc35a}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3b9e7b}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x2aca75{static get[_0x21fbcf(0xfe)](){return[_0x2d7a51,_0x55fdda];}static get[_0x21fbcf(0x145)](){const _0x5a751f=_0x21fbcf;return _0x5a751f(0x13b);}static get[_0x21fbcf(0x152)](){return!0x0;}static get[_0x21fbcf(0x10b)](){return!0x0;}constructor(_0x1e5f1d){const _0x1e8e34=_0x21fbcf;super(_0x1e5f1d);const _0x1e5d0f=_0x1e5f1d[_0x1e8e34(0x10a)],_0x53292b=_0x1e5f1d[_0x1e8e34(0x10f)];_0x1e5d0f[_0x1e8e34(0x138)](_0x1e8e34(0xf1),!0x0),_0x1e5d0f[_0x1e8e34(0x138)](_0x1e8e34(0x14b),getDefaultAICommands(_0x53292b)),_0x1e5d0f[_0x1e8e34(0x138)](_0x1e8e34(0x10c),[]),_0x1e5d0f[_0x1e8e34(0x138)](_0x1e8e34(0xf7),[]);let _0x3e0918=_0x3b9e7b(_0x1e5d0f[_0x1e8e34(0xf3)](_0x1e8e34(0x14b)),_0x53292b);const _0x4df91f=_0x1e5d0f[_0x1e8e34(0xf3)](_0x1e8e34(0x10c)),_0xc7a747=_0x1e5d0f[_0x1e8e34(0xf3)](_0x1e8e34(0xf7));_0x4df91f[_0x1e8e34(0x142)](_0x2c5b9d=>{const _0x5c3c4f=_0x1e8e34,_0x3a3fd5=_0x3e0918[_0x5c3c4f(0x158)](_0x29cfe6=>_0x29cfe6[_0x5c3c4f(0x13d)]===_0x2c5b9d[_0x5c3c4f(0x13d)]);_0x3a3fd5?_0x3a3fd5[_0x5c3c4f(0x11e)]=_0x3a3fd5[_0x5c3c4f(0x11e)][_0x5c3c4f(0x119)](_0x2c5b9d[_0x5c3c4f(0x11e)]):_0x3e0918[_0x5c3c4f(0x104)](_0x2c5b9d);}),_0x3e0918=_0x3e0918[_0x1e8e34(0xf6)](_0x4e0867=>!_0xc7a747[_0x1e8e34(0x114)](_0x4e0867[_0x1e8e34(0x13d)])),_0x3e0918[_0x1e8e34(0x142)](_0x444f9b=>{const _0x19182d=_0x1e8e34;_0x444f9b[_0x19182d(0x11e)]=_0x444f9b[_0x19182d(0x11e)][_0x19182d(0xf6)](_0xcb7da7=>!_0xc7a747[_0x19182d(0x114)](_0xcb7da7['id']));}),_0x1e5d0f[_0x1e8e34(0x102)](_0x1e8e34(0x14b),_0x3e0918);}}function _0xa95f(){const _0x3c2af4=['simplifyLanguage','Friendly','generate','Translate','119452CZBGWY','4587744srrALb','makeShorter','ai.aiAssistant.preserveComments','Business','get','Confident','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','filter','ai.aiAssistant.removeCommands','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Simplify\x20language','3963230TnOgCU','Improve\x20writing','business','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','requires','805469sOsUVR','5StsGma','legal','set','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','push','French','30izuYkO','English','Portuguese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','config','isPremiumPlugin','ai.aiAssistant.extraCommandGroups','translateEnglish','Arabic','locale','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Journalism','friendly','translateArabic','includes','36xoKfAD','improveWriting','1352748kwdTwh','German','concat','continue','Continue','Spanish','Legal','commands','Generate\x20from\x20selection','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','6789390xWlwVR','Make\x20shorter','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Edit\x20or\x20review','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Change\x20tone','Make\x20longer','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Professional','Translate\x20the\x20content\x20to\x20German\x20language.','makeLonger','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20French\x20language.','direct','professional','translateGerman','poetic','Poetic','translateHindi','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateSpanish','editOrReview','define','Translate\x20the\x20content\x20to\x20English\x20language.','Direct','AIAssistant','Summarize','groupId','Change\x20style','translatePortuguese','changeTone','changeStyle','forEach','translate','casual','pluginName','translateFrench','Casual','2625882IftePo','summarize','Simplified\x20Chinese','ai.aiAssistant.commands','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Hindi','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','confident','isOfficialPlugin','journalism','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','translateChinese','find'];_0xa95f=function(){return _0x3c2af4;};return _0xa95f();}export function getDefaultAICommands(_0x2760b4){const _0x2a5a06=_0x21fbcf;return[{'groupId':_0x2a5a06(0x137),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0x124)),'commands':[{'id':_0x2a5a06(0x116),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0xfb)),'prompt':_0x2a5a06(0xfd)},{'id':_0x2a5a06(0xf0),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x122)),'prompt':_0x2a5a06(0x14e)},{'id':_0x2a5a06(0x12c),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x128)),'prompt':_0x2a5a06(0x135)},{'id':_0x2a5a06(0x159),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0xf9)),'prompt':_0x2a5a06(0xf8)}]},{'groupId':_0x2a5a06(0xec),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0x11f)),'commands':[{'id':_0x2a5a06(0x149),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x13c)),'prompt':_0x2a5a06(0xf5)},{'id':_0x2a5a06(0x11a),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x11b)),'prompt':_0x2a5a06(0x109)}]},{'groupId':_0x2a5a06(0x140),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0x127)),'commands':[{'id':_0x2a5a06(0x130),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x12a)),'prompt':_0x2a5a06(0x155)},{'id':_0x2a5a06(0x144),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x147)),'prompt':_0x2a5a06(0x14c)},{'id':_0x2a5a06(0x12f),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x13a)),'prompt':_0x2a5a06(0x150)},{'id':_0x2a5a06(0x151),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0xf4)),'prompt':_0x2a5a06(0x154)},{'id':_0x2a5a06(0x112),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x15a)),'prompt':_0x2a5a06(0x103)}]},{'groupId':_0x2a5a06(0x141),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0x13e)),'commands':[{'id':_0x2a5a06(0xfc),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0xf2)),'prompt':_0x2a5a06(0x120)},{'id':_0x2a5a06(0x101),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x11d)),'prompt':_0x2a5a06(0x110)},{'id':_0x2a5a06(0x153),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x111)),'prompt':_0x2a5a06(0x125)},{'id':_0x2a5a06(0x132),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x133)),'prompt':_0x2a5a06(0x12d)}]},{'groupId':_0x2a5a06(0x143),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0xed)),'commands':[{'id':_0x2a5a06(0x10d),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x107)),'prompt':_0x2a5a06(0x139)},{'id':_0x2a5a06(0x136),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x11c)),'prompt':_0x2a5a06(0x129)},{'id':_0x2a5a06(0x13f),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x108)),'prompt':_0x2a5a06(0x123)},{'id':_0x2a5a06(0x131),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x118)),'prompt':_0x2a5a06(0x12b)},{'id':_0x2a5a06(0x146),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x105)),'prompt':_0x2a5a06(0x12e)},{'id':_0x2a5a06(0x157),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x14a)),'prompt':_0x2a5a06(0x126)},{'id':_0x2a5a06(0x134),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x14f)),'prompt':_0x2a5a06(0x14d)},{'id':_0x2a5a06(0x113),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x10e)),'prompt':_0x2a5a06(0x156)}]}];}
23
+ function _0x4566(){const _0x21d61e=['190jstMWu','Casual','translate','Translate\x20the\x20content\x20to\x20English\x20language.','translateArabic','summarize','Friendly','casual','Translate\x20the\x20content\x20to\x20Spanish\x20language.','concat','ai.aiAssistant.removeCommands','isOfficialPlugin','292478NvhBzD','isPremiumPlugin','Change\x20style','Portuguese','ai.aiAssistant.preserveComments','config','Continue','French','Summarize','requires','professional','11960OfweEv','poetic','changeTone','Translate\x20the\x20content\x20to\x20German\x20language.','translateFrench','Make\x20shorter','Simplify\x20language','generate','translateChinese','Journalism','push','translateGerman','set','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Professional','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','friendly','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','filter','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','translatePortuguese','groupId','get','journalism','Edit\x20or\x20review','2429DRbOza','simplifyLanguage','German','AIAssistant','Change\x20tone','Direct','continue','507782CykmiA','Generate\x20from\x20selection','Business','Confident','Poetic','improveWriting','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','find','editOrReview','locale','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','105oHNUDB','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','3319432vWFBTd','confident','translateHindi','business','3016695nuaiUB','Legal','105612YXTYpb','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Improve\x20writing','legal','Make\x20longer','translateSpanish','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Simplified\x20Chinese','ai.aiAssistant.extraCommandGroups','makeShorter','1847475THcuqt','ai.aiAssistant.commands','Translate\x20the\x20content\x20to\x20Hindi\x20language.','makeLonger','English','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','direct','forEach','Arabic','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','changeStyle','Translate\x20the\x20content\x20to\x20French\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate','Spanish','translateEnglish','includes','commands','define','1qIHVLo','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','pluginName','Hindi'];_0x4566=function(){return _0x21d61e;};return _0x4566();}const _0x7bdff4=_0xbffc;(function(_0x46d1cc,_0x101a71){const _0x1f2659=_0xbffc,_0x5adc4d=_0x46d1cc();while(!![]){try{const _0x4e8449=parseInt(_0x1f2659(0xb5))/0x1*(parseInt(_0x1f2659(0xc5))/0x2)+parseInt(_0x1f2659(0x95))/0x3+parseInt(_0x1f2659(0x91))/0x4+parseInt(_0x1f2659(0x8e))/0x5*(parseInt(_0x1f2659(0x97))/0x6)+-parseInt(_0x1f2659(0xec))/0x7*(parseInt(_0x1f2659(0xd0))/0x8)+-parseInt(_0x1f2659(0xa1))/0x9+-parseInt(_0x1f2659(0xb9))/0xa*(parseInt(_0x1f2659(0x83))/0xb);if(_0x4e8449===_0x101a71)break;else _0x5adc4d['push'](_0x5adc4d['shift']());}catch(_0x4117eb){_0x5adc4d['push'](_0x5adc4d['shift']());}}}(_0x4566,0xb726a));function _0xbffc(_0x25400f,_0x3efc29){const _0x45664e=_0x4566();return _0xbffc=function(_0xbffcd4,_0x17aa7f){_0xbffcd4=_0xbffcd4-0x7d;let _0x507717=_0x45664e[_0xbffcd4];return _0x507717;},_0xbffc(_0x25400f,_0x3efc29);}import{Plugin as _0x52840d}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x40a043}from'./aiassistantui.js';import{AIAssistantEditing as _0x2a146a}from'./aiassistantediting.js';import{getTranslation as _0x97e8b2}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x29d91e}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x52840d{static get[_0x7bdff4(0xce)](){return[_0x40a043,_0x2a146a];}static get[_0x7bdff4(0xb7)](){const _0x26023d=_0x7bdff4;return _0x26023d(0x7f);}static get[_0x7bdff4(0xc4)](){return!0x0;}static get[_0x7bdff4(0xc6)](){return!0x0;}constructor(_0x5a2950){const _0x3c22fa=_0x7bdff4;super(_0x5a2950);const _0x29b9ec=_0x5a2950[_0x3c22fa(0xca)],_0x3a8f8d=_0x5a2950[_0x3c22fa(0x8c)];_0x29b9ec[_0x3c22fa(0xb4)](_0x3c22fa(0xc9),!0x0),_0x29b9ec[_0x3c22fa(0xb4)](_0x3c22fa(0xa2),getDefaultAICommands(_0x3a8f8d)),_0x29b9ec[_0x3c22fa(0xb4)](_0x3c22fa(0x9f),[]),_0x29b9ec[_0x3c22fa(0xb4)](_0x3c22fa(0xc3),[]);let _0x24b187=_0x29d91e(_0x29b9ec[_0x3c22fa(0xe9)](_0x3c22fa(0xa2)),_0x3a8f8d);const _0x236c05=_0x29b9ec[_0x3c22fa(0xe9)](_0x3c22fa(0x9f)),_0x2b9eac=_0x29b9ec[_0x3c22fa(0xe9)](_0x3c22fa(0xc3));_0x236c05[_0x3c22fa(0xa8)](_0xcaad7f=>{const _0x33b21c=_0x3c22fa,_0x4ce65c=_0x24b187[_0x33b21c(0x8a)](_0x6337e9=>_0x6337e9[_0x33b21c(0xe8)]===_0xcaad7f[_0x33b21c(0xe8)]);_0x4ce65c?_0x4ce65c[_0x33b21c(0xb3)]=_0x4ce65c[_0x33b21c(0xb3)][_0x33b21c(0xc2)](_0xcaad7f[_0x33b21c(0xb3)]):_0x24b187[_0x33b21c(0xda)](_0xcaad7f);}),_0x24b187=_0x24b187[_0x3c22fa(0xe4)](_0xe64497=>!_0x2b9eac[_0x3c22fa(0xb2)](_0xe64497[_0x3c22fa(0xe8)])),_0x24b187[_0x3c22fa(0xa8)](_0x517d15=>{const _0x3f57c8=_0x3c22fa;_0x517d15[_0x3f57c8(0xb3)]=_0x517d15[_0x3f57c8(0xb3)][_0x3f57c8(0xe4)](_0x469987=>!_0x2b9eac[_0x3f57c8(0xb2)](_0x469987['id']));}),_0x29b9ec[_0x3c22fa(0xdc)](_0x3c22fa(0xa2),_0x24b187);}}export function getDefaultAICommands(_0xfa625d){const _0x10d4cd=_0x7bdff4;return[{'groupId':_0x10d4cd(0x8b),'groupLabel':_0x97e8b2(_0xfa625d,_0x10d4cd(0xeb)),'commands':[{'id':_0x10d4cd(0x88),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0x99)),'prompt':_0x10d4cd(0xdf)},{'id':_0x10d4cd(0xa0),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xd5)),'prompt':_0x10d4cd(0xde)},{'id':_0x10d4cd(0xa4),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0x9b)),'prompt':_0x10d4cd(0xb6)},{'id':_0x10d4cd(0x7d),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xd6)),'prompt':_0x10d4cd(0xdd)}]},{'groupId':_0x10d4cd(0xd7),'groupLabel':_0x97e8b2(_0xfa625d,_0x10d4cd(0x84)),'commands':[{'id':_0x10d4cd(0xbe),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xcd)),'prompt':_0x10d4cd(0xe5)},{'id':_0x10d4cd(0x82),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xcb)),'prompt':_0x10d4cd(0x9d)}]},{'groupId':_0x10d4cd(0xd2),'groupLabel':_0x97e8b2(_0xfa625d,_0x10d4cd(0x80)),'commands':[{'id':_0x10d4cd(0xcf),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xe0)),'prompt':_0x10d4cd(0x90)},{'id':_0x10d4cd(0xc0),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xba)),'prompt':_0x10d4cd(0xae)},{'id':_0x10d4cd(0xa7),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0x81)),'prompt':_0x10d4cd(0x8d)},{'id':_0x10d4cd(0x92),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0x86)),'prompt':_0x10d4cd(0x98)},{'id':_0x10d4cd(0xe2),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xbf)),'prompt':_0x10d4cd(0x8f)}]},{'groupId':_0x10d4cd(0xac),'groupLabel':_0x97e8b2(_0xfa625d,_0x10d4cd(0xc7)),'commands':[{'id':_0x10d4cd(0x94),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0x85)),'prompt':_0x10d4cd(0xe3)},{'id':_0x10d4cd(0x9a),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0x96)),'prompt':_0x10d4cd(0xa6)},{'id':_0x10d4cd(0xea),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xd9)),'prompt':_0x10d4cd(0xab)},{'id':_0x10d4cd(0xd1),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0x87)),'prompt':_0x10d4cd(0xaa)}]},{'groupId':_0x10d4cd(0xbb),'groupLabel':_0x97e8b2(_0xfa625d,_0x10d4cd(0xaf)),'commands':[{'id':_0x10d4cd(0xb1),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xa5)),'prompt':_0x10d4cd(0xbc)},{'id':_0x10d4cd(0x9c),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xb0)),'prompt':_0x10d4cd(0xc1)},{'id':_0x10d4cd(0xe7),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xc8)),'prompt':_0x10d4cd(0x89)},{'id':_0x10d4cd(0xdb),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0x7e)),'prompt':_0x10d4cd(0xd3)},{'id':_0x10d4cd(0xd4),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xcc)),'prompt':_0x10d4cd(0xad)},{'id':_0x10d4cd(0xd8),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0x9e)),'prompt':_0x10d4cd(0xe1)},{'id':_0x10d4cd(0x93),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xb8)),'prompt':_0x10d4cd(0xa3)},{'id':_0x10d4cd(0xbd),'label':_0x97e8b2(_0xfa625d,_0x10d4cd(0xa9)),'prompt':_0x10d4cd(0xe6)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37de83=_0x4451;(function(_0x4b48d8,_0xc732bf){const _0x5ea9a6=_0x4451,_0x32d874=_0x4b48d8();while(!![]){try{const _0x121da8=-parseInt(_0x5ea9a6(0x10a))/0x1+parseInt(_0x5ea9a6(0x150))/0x2+parseInt(_0x5ea9a6(0x146))/0x3*(-parseInt(_0x5ea9a6(0x165))/0x4)+parseInt(_0x5ea9a6(0x10c))/0x5*(parseInt(_0x5ea9a6(0x10b))/0x6)+-parseInt(_0x5ea9a6(0x112))/0x7*(parseInt(_0x5ea9a6(0x14c))/0x8)+-parseInt(_0x5ea9a6(0x122))/0x9*(parseInt(_0x5ea9a6(0x16b))/0xa)+parseInt(_0x5ea9a6(0x106))/0xb*(parseInt(_0x5ea9a6(0x130))/0xc);if(_0x121da8===_0xc732bf)break;else _0x32d874['push'](_0x32d874['shift']());}catch(_0x581146){_0x32d874['push'](_0x32d874['shift']());}}}(_0x5cba,0xc60fe));import{uid as _0x357843}from'ckeditor5/src/utils.js';import{Plugin as _0x1d6c1e}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3f938a}from'ckeditor5/src/clipboard.js';function _0x5cba(){const _0x146c79=['afterInit','markerToElement','_getTableRowCountFromContent','conversion','href','getColumnIndexes','filter','updateMarker','isAtEnd','markerRange','isPremiumPlugin','DataTransfer','_resetContentOfSelectedTableCells','insertContent','contentInsertion','9kIVoMr','isCollapsed','fromCharCode','getChild','element','config','2264YQiQkY','map','first','ai.useTheme','2525022hNTOkU','markerToHighlight','text/html','setData','init','createPositionAfter','table','setSelection','get','getSelectedBlocks','hideFakeVisualSelection','createUIElement','_getDefaultInsertBelowPosition','removeMarker','createRange','model','getMarkersGroup','span','length','document','from','331988jkymKn','off','addMarker','editingDowncast','getChildren','change','220xnJwbB','markers','isOfficialPlugin','for','plugins','end','_prepareTableInsertBelowPosition','ai-ui','lowest','resultRange','showFakeVisualSelection','11ZlPQyd','editing','canEditAt','_getAISelection','260118lhvFZQ','167574QpHLdV','20fnnhuw','isContent','deleteContent','findAncestor','TableUtils','forEach','13573jptrty','ck-fake-ai-selection','paste','createPositionAt','ck-ai-assistant-ui_theme','schema','has','getRange','data','getLastPosition','insertRows','pop','createSelection','fire','getSelectedTableCells','push','165204CYWeLj','selection','insertContentBelow','editor','getRows','getRowIndexes','parse','once','addClass','ck-fake-ai-selection_collapsed','last','getLastMatchingPosition','getFirstRange','start','10784556mkPdvU','_createEmptyTableRows','getRanges','join','_pasteHTMLUsingClipboard','AIAssistantEditing','pluginName'];_0x5cba=function(){return _0x146c79;};return _0x5cba();}import{ViewDocumentDomEventData as _0x797492,ViewDataTransfer as _0x1b725b}from'ckeditor5/src/engine.js';const l=globalThis[_0x37de83(0x142)],w=_0x37de83(0x172);function _0x4451(_0x46c092,_0x107dfc){const _0x5cba42=_0x5cba();return _0x4451=function(_0x445121,_0x1c8efe){_0x445121=_0x445121-0x104;let _0x42cbd6=_0x5cba42[_0x445121];return _0x42cbd6;},_0x4451(_0x46c092,_0x107dfc);}export class AIAssistantEditing extends _0x1d6c1e{static get[_0x37de83(0x136)](){const _0x2aa302=_0x37de83;return _0x2aa302(0x135);}static get[_0x37de83(0x16d)](){return!0x0;}static get[_0x37de83(0x141)](){return!0x0;}[_0x37de83(0x154)](){const _0x5eec7b=_0x37de83,{editor:_0x1284a7}=this,_0x47a272=[_0x5eec7b(0x113)];_0x1284a7[_0x5eec7b(0x14b)][_0x5eec7b(0x158)](_0x5eec7b(0x14f))&&_0x47a272[_0x5eec7b(0x121)](_0x5eec7b(0x116)),_0x1284a7[_0x5eec7b(0x13a)][_0x5eec7b(0x16e)](_0x5eec7b(0x168))[_0x5eec7b(0x151)]({'model':w,'view':{'classes':_0x47a272,'priority':0xc}}),_0x1284a7[_0x5eec7b(0x13a)][_0x5eec7b(0x16e)](_0x5eec7b(0x168))[_0x5eec7b(0x138)]({'model':w,'view':(_0x50dfee,{writer:_0x40c95f})=>{const _0x340fec=_0x5eec7b;if(!_0x50dfee[_0x340fec(0x140)][_0x340fec(0x147)])return null;const _0x1e1b19=_0x40c95f[_0x340fec(0x15b)](_0x340fec(0x161));return _0x40c95f[_0x340fec(0x12a)]([_0x340fec(0x113),_0x340fec(0x12b)],_0x1e1b19),_0x1e1b19;}});}[_0x37de83(0x137)](){!async function(_0x3b714c){const _0x29c3ac=_0x2dbb15([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x2ce045=0x3dffc4e1,_0x2b9f3d=0x3df8b689^_0x2ce045,_0x5e58ea=window[_0x2dbb15([0x44,0x61,0x74,0x65])][_0x2dbb15([0x6e,0x6f,0x77])](),_0x3e0943=_0x3b714c[_0x2dbb15([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e9a22=new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x533f0e=>{_0x3e0943[_0x2dbb15([0x6f,0x6e,0x63,0x65])](_0x2dbb15([0x72,0x65,0x61,0x64,0x79]),_0x533f0e);}),_0x22f344={[_0x2dbb15([0x6b,0x74,0x79])]:_0x2dbb15([0x45,0x43]),[_0x2dbb15([0x75,0x73,0x65])]:_0x2dbb15([0x73,0x69,0x67]),[_0x2dbb15([0x63,0x72,0x76])]:_0x2dbb15([0x50,0x2d,0x32,0x35,0x36]),[_0x2dbb15([0x78])]:_0x2dbb15([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]),[_0x2dbb15([0x79])]:_0x2dbb15([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]),[_0x2dbb15([0x61,0x6c,0x67])]:_0x2dbb15([0x45,0x53,0x32,0x35,0x36])},_0x3bbf24=_0x3e0943[_0x2dbb15([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dbb15([0x67,0x65,0x74])](_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x161b8c(){let _0x2283b7,_0x4f3224=null,_0x457725=null;try{if(_0x3bbf24==_0x2dbb15([0x47,0x50,0x4c]))return _0x2dbb15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2283b7=_0x48b750(),!_0x2283b7)return _0x2dbb15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2283b7[_0x2dbb15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x457725=_0x35d76f(_0x2283b7[_0x2dbb15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2283b7[_0x2dbb15([0x6a,0x74,0x69])])),await _0x544b60()?_0x131066()?_0x4c6ced()?_0x2dbb15([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8ebe00()?(_0x2283b7[_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dbb15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f3224=_0x16fb2b(_0x2dbb15([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2283b7[_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dbb15([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f3224=_0x16fb2b(_0x2dbb15([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36eb09()):_0x2dbb15([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dbb15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dbb15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dbb15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c6ced(){const _0x5a6f3b=[_0x2dbb15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dbb15([0x74,0x72,0x69,0x61,0x6c])][_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2283b7[_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e58ea/0x3e8:0xe10*_0x2b9f3d;return _0x2283b7[_0x2dbb15([0x65,0x78,0x70])]<_0x5a6f3b;}function _0x131066(){const _0x2a6ba1=_0x2283b7[_0x2dbb15([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a6ba1&&(!!_0x2a6ba1[_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbb15([0x2a]))||!!_0x2a6ba1[_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbb15([0x41,0x49])));}function _0x8ebe00(){const _0x4b3ad5=_0x4451,_0x5a2ce7=_0x2283b7[_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a2ce7||0x0==_0x5a2ce7[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x274baf}=new URL(window[_0x2dbb15([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b3ad5(0x13b)]);if(_0x5a2ce7[_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x274baf))return!0x0;const _0x335d61=_0x274baf[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])](_0x2dbb15([0x2e]));return _0x5a2ce7[_0x2dbb15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b4f4b=>_0x3b4f4b[_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbb15([0x2a])))[_0x2dbb15([0x6d,0x61,0x70])](_0x8651e8=>_0x8651e8[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])](_0x2dbb15([0x2e])))[_0x2dbb15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cda47=>_0x3cda47[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x335d61[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dbb15([0x6d,0x61,0x70])](_0x484729=>Array(_0x335d61[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x484729[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dbb15([0x66,0x69,0x6c,0x6c])](_0x484729[0x0]===_0x2dbb15([0x2a])?_0x2dbb15([0x2a]):'')[_0x2dbb15([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x484729))[_0x2dbb15([0x73,0x6f,0x6d,0x65])](_0x4f895e=>_0x335d61[_0x2dbb15([0x65,0x76,0x65,0x72,0x79])]((_0x4dcbb6,_0x3fb394)=>_0x4f895e[_0x3fb394]===_0x4dcbb6||_0x4f895e[_0x3fb394]===_0x2dbb15([0x2a])));}function _0x36eb09(){return _0x4f3224&&_0x457725?new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54c9b6,_0x133f2c)=>{_0x4f3224[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x54c9b6,_0x133f2c),_0x457725[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x49419d=>{_0x49419d!=_0x2dbb15([0x56,0x61,0x6c,0x69,0x64])&&_0x54c9b6(_0x49419d);},_0x133f2c);}):_0x4f3224||_0x457725||_0x2dbb15([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35d76f(_0x36edf8,_0xdf900b){return new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25d7f5=>{if(_0x39028c())return _0x25d7f5(_0x2dbb15([0x56,0x61,0x6c,0x69,0x64]));_0x4575e3(),_0x3e0943[_0x2dbb15([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dbb15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b2b19=!0x1;const _0x7f6e50=_0x357843();function _0x2a941b(_0x42953a){return!!_0x42953a&&(typeof _0x42953a===_0x2dbb15([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42953a===_0x2dbb15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42953a[_0x2dbb15([0x74,0x68,0x65,0x6e])]===_0x2dbb15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42953a[_0x2dbb15([0x63,0x61,0x74,0x63,0x68])]===_0x2dbb15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x90f3a7(_0xbe50bc){_0x48b28b(_0xbe50bc)[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x3addc8=>{if(!_0x3addc8||_0x3addc8[_0x2dbb15([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dbb15([0x6f,0x6b]))return _0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b6152(_0xff9cbd(_0x7f6e50+_0xdf900b))!=_0x3addc8[_0x2dbb15([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dbb15([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x69b420=>(_0x5bebbf(),_0x69b420),()=>{const _0x165e2f=_0x17c579();return null==_0x165e2f?(_0x5bebbf(),_0x2dbb15([0x56,0x61,0x6c,0x69,0x64])):_0x2dbb15(_0x5e58ea-_0x165e2f>(0x19f340e1^_0x2ce045)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x25d7f5)[_0x2dbb15([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25d7f5(_0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a42f4=0x3dc92a61^_0x2ce045;function _0x5bebbf(){const _0x31cceb=_0x2dbb15([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b6152(_0xff9cbd(_0x36edf8)),_0x35ad95=_0x2776c4(_0x1b6152(window[_0x2dbb15([0x4d,0x61,0x74,0x68])][_0x2dbb15([0x63,0x65,0x69,0x6c])](_0x5e58ea/_0x4a42f4)));window[_0x2dbb15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dbb15([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31cceb,_0x35ad95);}function _0x17c579(){const _0x17b440=_0x2dbb15([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b6152(_0xff9cbd(_0x36edf8)),_0xd50c65=window[_0x2dbb15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dbb15([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17b440);return _0xd50c65?window[_0x2dbb15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2776c4(_0xd50c65),0x10)*_0x4a42f4:null;}function _0x48b28b(_0xb62443){return new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21e0d9,_0x552a44)=>{_0xb62443[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x21e0d9,_0x552a44),window[_0x2dbb15([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x552a44,0x3dfe1021^_0x2ce045);});}}_0x3e0943[_0x2dbb15([0x6f,0x6e])](_0x2dbb15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x340f3a,_0x85a772)=>{if(_0x85a772[0x0]!=_0x36edf8)return _0x25d7f5(_0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x85a772[0x1]={..._0x85a772[0x1],[_0x2dbb15([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7f6e50};},{[_0x2dbb15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dbb15([0x68,0x69,0x67,0x68])}),_0x3e0943[_0x2dbb15([0x6f,0x6e])](_0x2dbb15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3cb3f5=>{_0x2a941b(_0x3cb3f5[_0x2dbb15([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b2b19=!0x0,_0x90f3a7(_0x3cb3f5[_0x2dbb15([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dbb15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dbb15([0x6c,0x6f,0x77])}),_0x1e9a22[_0x2dbb15([0x74,0x68,0x65,0x6e])](()=>{_0x2b2b19||_0x25d7f5(_0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39028c(){return _0x3e0943[_0x2dbb15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dbb15([0x76,0x69,0x65,0x77])][_0x2dbb15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dbb15([0x61,0x75,0x74,0x6f]);}function _0x4575e3(){_0x3e0943[_0x2dbb15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dbb15([0x76,0x69,0x65,0x77])][_0x2dbb15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dbb15([0x61,0x75,0x74,0x6f]);}}function _0x16fb2b(_0x530247){const _0x2d18d2=[new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ec58d=>setTimeout(_0x2ec58d,0x3df6fa2d^_0x2ce045)),_0x1e9a22[_0x2dbb15([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21a919=>{let _0x1fd733=0x0;_0x3e0943[_0x2dbb15([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbb15([0x6f,0x6e])](_0x2dbb15([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5af154,_0xaba4ab)=>{_0xaba4ab[0x0][_0x2dbb15([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fd733++,_0x1fd733==(0x3dffc519^_0x2ce045)&&(_0x21a919(),_0x5af154[_0x2dbb15([0x6f,0x66,0x66])]());});}))];return window[_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dbb15([0x72,0x61,0x63,0x65])](_0x2d18d2)[_0x2dbb15([0x74,0x68,0x65,0x6e])](()=>_0x530247);}async function _0x240fca(){await _0x1e9a22,_0x3e0943[_0x2dbb15([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbb15([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8c902c,_0x3e0943[_0x2dbb15([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbb15([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8c902c,_0x3e0943[_0x2dbb15([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dbb15([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44a0e5(_0xe98cf6){const _0x20b7ab=_0x36bd26();_0x3e0943[_0x20b7ab]=_0x2dbb15([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe98cf6,_0xe98cf6!=_0x2dbb15([0x56,0x61,0x6c,0x69,0x64])&&_0x240fca();}function _0x36bd26(){const _0x57d911=window[_0x2dbb15([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dbb15([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dbb15([0x6e,0x6f,0x77])]())[_0x2dbb15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dbb15([0x2e]),'');let _0x2e36ae=_0x2dbb15([0x6e]);for(let _0x2222ac=0x0;_0x2222ac<_0x57d911[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2222ac+=0x2){let _0x2345c4=window[_0x2dbb15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57d911[_0x2dbb15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2222ac,_0x2222ac+0x2));_0x2345c4>=_0x29c3ac[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2345c4-=_0x29c3ac[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e36ae+=_0x29c3ac[_0x2345c4];}return _0x2e36ae;}function _0x48b750(){const _0x145865=_0x3bbf24[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])](_0x2dbb15([0x2e]));if(0x3!=_0x145865[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ffbc9(_0x145865[0x1]);function _0x3ffbc9(_0x168779){const _0x3756d8=_0x582fc3(_0x168779);return _0x3756d8&&_0x190acb()?_0x3756d8:null;function _0x190acb(){const _0x71966e=_0x3756d8[_0x2dbb15([0x6a,0x74,0x69])],_0x32fa3b=window[_0x2dbb15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x71966e[_0x2dbb15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x71966e[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x297602={..._0x3756d8,[_0x2dbb15([0x6a,0x74,0x69])]:_0x71966e[_0x2dbb15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x71966e[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x297602[_0x2dbb15([0x76,0x63])],_0xff9cbd(_0x297602)==_0x32fa3b;}}}async function _0x544b60(){let _0x2660ab=!0x0;try{const _0x56e347=_0x3bbf24[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])](_0x2dbb15([0x2e])),[_0x597864,_0xeab632,_0x4ec59b]=_0x56e347;return _0x1c41d2(_0x597864),await _0x3e667e(_0x597864,_0xeab632,_0x4ec59b),_0x2660ab;}catch{return!0x1;}function _0x1c41d2(_0x48fad1){const _0x542bd4=_0x582fc3(_0x48fad1);_0x542bd4&&_0x542bd4[_0x2dbb15([0x61,0x6c,0x67])]==_0x2dbb15([0x45,0x53,0x32,0x35,0x36])||(_0x2660ab=!0x1);}async function _0x3e667e(_0x150257,_0x3292d0,_0x1065b2){const _0x242051=window[_0x2dbb15([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dbb15([0x66,0x72,0x6f,0x6d])](_0x44c3c5(_0x1065b2),_0x33022d=>_0x33022d[_0x2dbb15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e6610=new window[(_0x2dbb15([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dbb15([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x150257+_0x2dbb15([0x2e])+_0x3292d0),_0x3d5aca=window[_0x2dbb15([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dbb15([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d5aca)return;const _0x3e70f9=await _0x3d5aca[_0x2dbb15([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dbb15([0x6a,0x77,0x6b]),_0x22f344,{[_0x2dbb15([0x6e,0x61,0x6d,0x65])]:_0x2dbb15([0x45,0x43,0x44,0x53,0x41]),[_0x2dbb15([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dbb15([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dbb15([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d5aca[_0x2dbb15([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dbb15([0x6e,0x61,0x6d,0x65])]:_0x2dbb15([0x45,0x43,0x44,0x53,0x41]),[_0x2dbb15([0x68,0x61,0x73,0x68])]:{[_0x2dbb15([0x6e,0x61,0x6d,0x65])]:_0x2dbb15([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e70f9,_0x242051,_0x1e6610)||(_0x2660ab=!0x1);}}function _0x582fc3(_0x3c3a65){return _0x3c3a65[_0x2dbb15([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dbb15([0x65,0x79]))?JSON[_0x2dbb15([0x70,0x61,0x72,0x73,0x65])](_0x44c3c5(_0x3c3a65)):null;}function _0x44c3c5(_0x3c165d){return window[_0x2dbb15([0x61,0x74,0x6f,0x62])](_0x3c165d[_0x2dbb15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dbb15([0x2b]))[_0x2dbb15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dbb15([0x2f])));}function _0xff9cbd(_0x53ed69){let _0x490345=0x1505;function _0xa8a178(_0xdbf77c){for(let _0x198e43=0x0;_0x198e43<_0xdbf77c[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x198e43++){const _0x3b74c0=_0xdbf77c[_0x2dbb15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x198e43);_0x490345=(_0x490345<<0x5)+_0x490345+_0x3b74c0,_0x490345&=_0x490345;}}function _0x5a74bb(_0x195c8b){Array[_0x2dbb15([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x195c8b)?_0x195c8b[_0x2dbb15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a74bb):_0x195c8b&&typeof _0x195c8b==_0x2dbb15([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dbb15([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x195c8b)[_0x2dbb15([0x73,0x6f,0x72,0x74])]()[_0x2dbb15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b96c9,_0xf8afa3])=>{_0xa8a178(_0x2b96c9),_0x5a74bb(_0xf8afa3);}):_0xa8a178(window[_0x2dbb15([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x195c8b));}return _0x5a74bb(_0x53ed69),_0x490345>>>0x0;}function _0x1b6152(_0x259b51){return _0x259b51[_0x2dbb15([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dbb15([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dbb15([0x30]));}function _0x2776c4(_0x38277f){return _0x38277f[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dbb15([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dbb15([0x6a,0x6f,0x69,0x6e])]('');}function _0x8c902c(){}function _0x2dbb15(_0x71c09d){const _0x5ae489=_0x4451;return _0x71c09d[_0x5ae489(0x14d)](_0x49c4bc=>String[_0x5ae489(0x148)](_0x49c4bc))[_0x5ae489(0x133)]('');}_0x44a0e5(await _0x161b8c());}(this);}[_0x37de83(0x105)](){const _0x506491=_0x37de83,_0x119bd1=this[_0x506491(0x125)][_0x506491(0x15f)];_0x119bd1[_0x506491(0x16a)](_0x44dee5=>{const _0x408b99=_0x506491,_0x49964d=_0x119bd1[_0x408b99(0x163)][_0x408b99(0x123)][_0x408b99(0x132)]();let _0x1899f2=0x0;for(const _0x5149fa of _0x49964d){const _0x39ce88=w+':'+_0x1899f2;if(_0x119bd1[_0x408b99(0x16c)][_0x408b99(0x118)](_0x39ce88))_0x44dee5[_0x408b99(0x13e)](_0x39ce88,{'range':_0x5149fa});else{if(_0x5149fa[_0x408b99(0x12f)][_0x408b99(0x13f)]){const _0x343c11=_0x5149fa[_0x408b99(0x12f)][_0x408b99(0x12d)](({item:_0x4551b2})=>!_0x119bd1[_0x408b99(0x117)][_0x408b99(0x10d)](_0x4551b2),{'boundaries':_0x5149fa});_0x44dee5[_0x408b99(0x167)](_0x39ce88,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x44dee5[_0x408b99(0x15e)](_0x343c11,_0x5149fa[_0x408b99(0x170)])});}else _0x44dee5[_0x408b99(0x167)](_0x39ce88,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5149fa});}_0x1899f2++;}});}[_0x37de83(0x15a)](){const _0xbd6e7a=_0x37de83,_0x4eca33=this[_0xbd6e7a(0x125)][_0xbd6e7a(0x15f)],_0x46c0cf=Array[_0xbd6e7a(0x164)](this[_0xbd6e7a(0x125)][_0xbd6e7a(0x15f)][_0xbd6e7a(0x16c)][_0xbd6e7a(0x160)](w));_0x46c0cf[_0xbd6e7a(0x162)]&&_0x4eca33[_0xbd6e7a(0x16a)](_0xbfa4ca=>{const _0x2c0d47=_0xbd6e7a;_0x46c0cf[_0x2c0d47(0x111)](_0x2ecbc9=>{const _0x96f813=_0x2c0d47;_0xbfa4ca[_0x96f813(0x15d)](_0x2ecbc9);});});}[_0x37de83(0x144)](_0x56f831,_0x5b8b7d){const _0x34c4d6=_0x37de83,_0x54f98a=this[_0x34c4d6(0x109)](),_0x5d1632=_0x5b8b7d||_0x54f98a[_0x34c4d6(0x12e)]();this[_0x34c4d6(0x125)][_0x34c4d6(0x15f)][_0x34c4d6(0x108)](_0x5d1632)&&this[_0x34c4d6(0x125)][_0x34c4d6(0x15f)][_0x34c4d6(0x16a)](_0x237ba5=>{const _0x1236d1=_0x34c4d6;this[_0x1236d1(0x15a)](),_0x5b8b7d||this[_0x1236d1(0x143)](_0x237ba5,_0x54f98a),this[_0x1236d1(0x134)]({'insertAt':_0x5d1632,'writer':_0x237ba5,'html':_0x56f831});});}[_0x37de83(0x124)](_0x58c108){const _0x84a1ca=_0x37de83,{model:_0xda27d}=this[_0x84a1ca(0x125)],_0x1f2b3e=this[_0x84a1ca(0x109)]();_0xda27d[_0x84a1ca(0x16a)](()=>{const _0x466c5d=_0x84a1ca,_0x30ade8=this[_0x466c5d(0x171)](_0x58c108,_0x1f2b3e)||this[_0x466c5d(0x15c)](_0x1f2b3e);this[_0x466c5d(0x144)](_0x58c108,_0x30ade8);});}[_0x37de83(0x109)](){const _0x2d66aa=_0x37de83,_0x21a3fb=this[_0x2d66aa(0x125)][_0x2d66aa(0x15f)],_0x31109d=Array[_0x2d66aa(0x164)](_0x21a3fb[_0x2d66aa(0x16c)][_0x2d66aa(0x160)](w))[_0x2d66aa(0x14d)](_0x1d9a30=>_0x1d9a30[_0x2d66aa(0x119)]());return _0x21a3fb[_0x2d66aa(0x11e)](_0x31109d);}[_0x37de83(0x134)]({writer:_0x1620ed,html:_0x217df7,insertAt:_0x57cafd}){const _0x175505=_0x37de83,{view:_0x3adaf4}=this[_0x175505(0x125)][_0x175505(0x107)],_0x5b7ae3=this[_0x175505(0x125)][_0x175505(0x16f)][_0x175505(0x158)](_0x3f938a),_0x50dc79=new l();_0x50dc79[_0x175505(0x153)](_0x175505(0x152),_0x217df7);const _0x4815cb=new ClipboardEvent(_0x175505(0x114),{'clipboardData':_0x50dc79}),_0x1a1097=new _0x797492(_0x3adaf4,_0x4815cb,{'dataTransfer':new _0x1b725b(_0x50dc79)});_0x1620ed[_0x175505(0x157)](_0x57cafd);const _0x30c8b4=(_0x3748c3,_0x31dc50)=>{const _0x29bf3c=_0x175505;_0x31dc50[_0x29bf3c(0x104)]&&_0x1620ed[_0x29bf3c(0x157)](_0x31dc50[_0x29bf3c(0x104)]);};_0x5b7ae3[_0x175505(0x129)](_0x175505(0x145),_0x30c8b4,{'priority':_0x175505(0x173)}),_0x3adaf4[_0x175505(0x163)][_0x175505(0x11f)](_0x175505(0x114),_0x1a1097),_0x5b7ae3[_0x175505(0x166)](_0x175505(0x145),_0x30c8b4);}[_0x37de83(0x15c)](_0x50c6dc){const _0x2ace76=_0x37de83,{model:_0x50aba7}=this[_0x2ace76(0x125)],_0x1e7f84=Array[_0x2ace76(0x164)](_0x50c6dc[_0x2ace76(0x159)]());return _0x1e7f84[_0x2ace76(0x162)]?_0x50aba7[_0x2ace76(0x155)](_0x1e7f84[_0x2ace76(0x11d)]()):_0x50c6dc[_0x2ace76(0x11b)]();}[_0x37de83(0x171)](_0x239b53,_0x3cc592){const _0x5ca60d=_0x37de83,{model:_0x2ef459,plugins:_0x159dc6}=this[_0x5ca60d(0x125)];if(_0x159dc6[_0x5ca60d(0x118)](_0x5ca60d(0x110))){const _0x17689a=_0x159dc6[_0x5ca60d(0x158)](_0x5ca60d(0x110))[_0x5ca60d(0x120)](_0x3cc592);if(_0x17689a[_0x5ca60d(0x162)]){const _0x25e5ee=this[_0x5ca60d(0x139)](_0x239b53),_0x12799f=this[_0x5ca60d(0x131)](_0x17689a,_0x25e5ee);return _0x2ef459[_0x5ca60d(0x115)](_0x12799f,0x0);}}return null;}[_0x37de83(0x139)](_0x43aeb7){const _0x4fcd0c=_0x37de83,_0x5cd83f=this[_0x4fcd0c(0x125)][_0x4fcd0c(0x16f)][_0x4fcd0c(0x158)](_0x4fcd0c(0x110)),_0x27ba58=this[_0x4fcd0c(0x125)][_0x4fcd0c(0x11a)][_0x4fcd0c(0x128)](_0x43aeb7),_0x27a18b=Array[_0x4fcd0c(0x164)](_0x27ba58[_0x4fcd0c(0x169)]())[_0x4fcd0c(0x13d)](_0x19f1cc=>_0x19f1cc['is'](_0x4fcd0c(0x14a),_0x4fcd0c(0x156)));let _0x10bec0=0x0;return _0x27a18b[_0x4fcd0c(0x111)](_0x25b676=>{const _0x1dc72d=_0x4fcd0c;_0x10bec0+=_0x5cd83f[_0x1dc72d(0x126)](_0x25b676);}),_0x10bec0;}[_0x37de83(0x131)](_0x5413d3,_0x492e80){const _0x56e290=_0x37de83,_0x32ee83=this[_0x56e290(0x125)][_0x56e290(0x16f)][_0x56e290(0x158)](_0x56e290(0x110)),_0x546700=_0x32ee83[_0x56e290(0x127)](_0x5413d3),_0x813f61=_0x32ee83[_0x56e290(0x13c)](_0x5413d3),_0x322b9a=_0x546700[_0x56e290(0x12c)]+0x1,_0x4661bc=_0x813f61[_0x56e290(0x14e)],_0x32a037=_0x5413d3[0x0][_0x56e290(0x10f)](_0x56e290(0x156));for(let _0x1d5cfe=0x0;_0x1d5cfe<_0x492e80;_0x1d5cfe++)_0x32ee83[_0x56e290(0x11c)](_0x32a037,{'at':_0x322b9a});return _0x32a037[_0x56e290(0x149)](_0x322b9a)[_0x56e290(0x149)](_0x4661bc);}[_0x37de83(0x143)](_0xadfa32,_0x5e7acd){const _0x2047fb=_0x37de83,{plugins:_0x1f0399}=this[_0x2047fb(0x125)],{model:_0x5d3e15}=_0xadfa32;if(!_0x1f0399[_0x2047fb(0x118)](_0x2047fb(0x110)))return;_0x1f0399[_0x2047fb(0x158)](_0x2047fb(0x110))[_0x2047fb(0x120)](_0x5e7acd)[_0x2047fb(0x162)]&&_0x5d3e15[_0x2047fb(0x10e)](_0x5e7acd);}}
23
+ const _0x149f41=_0x50eb;(function(_0x337ab7,_0x1f3f8b){const _0x8ae382=_0x50eb,_0x475149=_0x337ab7();while(!![]){try{const _0x16cb42=parseInt(_0x8ae382(0x141))/0x1+-parseInt(_0x8ae382(0x122))/0x2*(-parseInt(_0x8ae382(0x129))/0x3)+-parseInt(_0x8ae382(0x14b))/0x4+parseInt(_0x8ae382(0x173))/0x5*(parseInt(_0x8ae382(0x15c))/0x6)+-parseInt(_0x8ae382(0x113))/0x7*(parseInt(_0x8ae382(0x164))/0x8)+parseInt(_0x8ae382(0x143))/0x9+parseInt(_0x8ae382(0x13a))/0xa*(-parseInt(_0x8ae382(0x125))/0xb);if(_0x16cb42===_0x1f3f8b)break;else _0x475149['push'](_0x475149['shift']());}catch(_0x70316b){_0x475149['push'](_0x475149['shift']());}}}(_0x27d5,0xf3d2c));import{uid as _0xdffd95}from'ckeditor5/src/utils.js';import{Plugin as _0x515799}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xf6d9a7}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x51f852,ViewDataTransfer as _0x5197bc}from'ckeditor5/src/engine.js';function _0x50eb(_0x3bb2cb,_0x3cdc8b){const _0x27d55e=_0x27d5();return _0x50eb=function(_0x50eb4e,_0x573ac3){_0x50eb4e=_0x50eb4e-0x105;let _0x21b8da=_0x27d55e[_0x50eb4e];return _0x21b8da;},_0x50eb(_0x3bb2cb,_0x3cdc8b);}const l=globalThis[_0x149f41(0x15a)],w=_0x149f41(0x170);export class AIAssistantEditing extends _0x515799{static get[_0x149f41(0x121)](){const _0x3e4e03=_0x149f41;return _0x3e4e03(0x109);}static get[_0x149f41(0x139)](){return!0x0;}static get[_0x149f41(0x112)](){return!0x0;}[_0x149f41(0x167)](){const _0x1669b9=_0x149f41,{editor:_0x379fd6}=this,_0x3fcc6e=[_0x1669b9(0x154)];_0x379fd6[_0x1669b9(0x16b)][_0x1669b9(0x158)](_0x1669b9(0x118))&&_0x3fcc6e[_0x1669b9(0x160)](_0x1669b9(0x14f)),_0x379fd6[_0x1669b9(0x165)][_0x1669b9(0x12f)](_0x1669b9(0x106))[_0x1669b9(0x15d)]({'model':w,'view':{'classes':_0x3fcc6e,'priority':0xc}}),_0x379fd6[_0x1669b9(0x165)][_0x1669b9(0x12f)](_0x1669b9(0x106))[_0x1669b9(0x15f)]({'model':w,'view':(_0x167a65,{writer:_0x5b9f54})=>{const _0x5e2b47=_0x1669b9;if(!_0x167a65[_0x5e2b47(0x168)][_0x5e2b47(0x16e)])return null;const _0x1a4372=_0x5b9f54[_0x5e2b47(0x163)](_0x5e2b47(0x116));return _0x5b9f54[_0x5e2b47(0x128)]([_0x5e2b47(0x154),_0x5e2b47(0x136)],_0x1a4372),_0x1a4372;}});}[_0x149f41(0x10e)](){!async function(_0x5d7868){const _0x228858=_0x8dd455([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x3c9eff=0x3dffc4e1,_0x1afb19=0x3df8b601^_0x3c9eff,_0x2f8db0=window[_0x8dd455([0x44,0x61,0x74,0x65])][_0x8dd455([0x6e,0x6f,0x77])](),_0x4411cb=_0x5d7868[_0x8dd455([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x159b97=new window[(_0x8dd455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a1752=>{_0x4411cb[_0x8dd455([0x6f,0x6e,0x63,0x65])](_0x8dd455([0x72,0x65,0x61,0x64,0x79]),_0x4a1752);}),_0x36e29e={[_0x8dd455([0x6b,0x74,0x79])]:_0x8dd455([0x45,0x43]),[_0x8dd455([0x75,0x73,0x65])]:_0x8dd455([0x73,0x69,0x67]),[_0x8dd455([0x63,0x72,0x76])]:_0x8dd455([0x50,0x2d,0x32,0x35,0x36]),[_0x8dd455([0x78])]:_0x8dd455([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]),[_0x8dd455([0x79])]:_0x8dd455([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]),[_0x8dd455([0x61,0x6c,0x67])]:_0x8dd455([0x45,0x53,0x32,0x35,0x36])},_0x2731f9=_0x4411cb[_0x8dd455([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8dd455([0x67,0x65,0x74])](_0x8dd455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1fca37(){let _0x3662a0,_0x2140f8=null,_0x24435b=null;try{if(_0x2731f9==_0x8dd455([0x47,0x50,0x4c]))return _0x8dd455([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3662a0=_0x5dd771(),!_0x3662a0)return _0x8dd455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3662a0[_0x8dd455([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24435b=_0x20d7c9(_0x3662a0[_0x8dd455([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3662a0[_0x8dd455([0x6a,0x74,0x69])])),await _0x4a09fe()?_0x16b92a()?_0x1c684f()?_0x8dd455([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5bbac3()?(_0x3662a0[_0x8dd455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8dd455([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2140f8=_0x467fd3(_0x8dd455([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3662a0[_0x8dd455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8dd455([0x74,0x72,0x69,0x61,0x6c])&&(_0x2140f8=_0x467fd3(_0x8dd455([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12f5c0()):_0x8dd455([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8dd455([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8dd455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8dd455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c684f(){const _0x4cbdcd=[_0x8dd455([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8dd455([0x74,0x72,0x69,0x61,0x6c])][_0x8dd455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3662a0[_0x8dd455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f8db0/0x3e8:0xe10*_0x1afb19;return _0x3662a0[_0x8dd455([0x65,0x78,0x70])]<_0x4cbdcd;}function _0x16b92a(){const _0x111e5d=_0x3662a0[_0x8dd455([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x111e5d&&(!!_0x111e5d[_0x8dd455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8dd455([0x2a]))||!!_0x111e5d[_0x8dd455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8dd455([0x41,0x49])));}function _0x5bbac3(){const _0x85a27e=_0x50eb,_0x5873c1=_0x3662a0[_0x8dd455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5873c1||0x0==_0x5873c1[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50a5e8}=new URL(window[_0x8dd455([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x85a27e(0x12a)]);if(_0x5873c1[_0x8dd455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50a5e8))return!0x0;const _0x4784ab=_0x50a5e8[_0x8dd455([0x73,0x70,0x6c,0x69,0x74])](_0x8dd455([0x2e]));return _0x5873c1[_0x8dd455([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d4cef=>_0x1d4cef[_0x8dd455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8dd455([0x2a])))[_0x8dd455([0x6d,0x61,0x70])](_0x1a50c9=>_0x1a50c9[_0x8dd455([0x73,0x70,0x6c,0x69,0x74])](_0x8dd455([0x2e])))[_0x8dd455([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x142cea=>_0x142cea[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4784ab[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8dd455([0x6d,0x61,0x70])](_0x58dca2=>Array(_0x4784ab[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58dca2[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8dd455([0x66,0x69,0x6c,0x6c])](_0x58dca2[0x0]===_0x8dd455([0x2a])?_0x8dd455([0x2a]):'')[_0x8dd455([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58dca2))[_0x8dd455([0x73,0x6f,0x6d,0x65])](_0x507751=>_0x4784ab[_0x8dd455([0x65,0x76,0x65,0x72,0x79])]((_0x36f997,_0x69ada0)=>_0x507751[_0x69ada0]===_0x36f997||_0x507751[_0x69ada0]===_0x8dd455([0x2a])));}function _0x12f5c0(){return _0x2140f8&&_0x24435b?new window[(_0x8dd455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x348b99,_0x13a000)=>{_0x2140f8[_0x8dd455([0x74,0x68,0x65,0x6e])](_0x348b99,_0x13a000),_0x24435b[_0x8dd455([0x74,0x68,0x65,0x6e])](_0x315ea7=>{_0x315ea7!=_0x8dd455([0x56,0x61,0x6c,0x69,0x64])&&_0x348b99(_0x315ea7);},_0x13a000);}):_0x2140f8||_0x24435b||_0x8dd455([0x56,0x61,0x6c,0x69,0x64]);}}function _0x20d7c9(_0xc4c9cc,_0x1fef83){return new window[(_0x8dd455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c46ba=>{if(_0x54e545())return _0x4c46ba(_0x8dd455([0x56,0x61,0x6c,0x69,0x64]));_0x14aa2a(),_0x4411cb[_0x8dd455([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8dd455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e8fd9=!0x1;const _0x395239=_0xdffd95();function _0x56b507(_0x21f730){return!!_0x21f730&&(typeof _0x21f730===_0x8dd455([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21f730===_0x8dd455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21f730[_0x8dd455([0x74,0x68,0x65,0x6e])]===_0x8dd455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21f730[_0x8dd455([0x63,0x61,0x74,0x63,0x68])]===_0x8dd455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8a6227(_0xa0ce5d){_0x87f415(_0xa0ce5d)[_0x8dd455([0x74,0x68,0x65,0x6e])](_0x6b06d7=>{if(!_0x6b06d7||_0x6b06d7[_0x8dd455([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8dd455([0x6f,0x6b]))return _0x8dd455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ea518(_0x3b3eb5(_0x395239+_0x1fef83))!=_0x6b06d7[_0x8dd455([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8dd455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8dd455([0x56,0x61,0x6c,0x69,0x64]);})[_0x8dd455([0x74,0x68,0x65,0x6e])](_0x293b79=>(_0x591c3b(),_0x293b79),()=>{const _0x1d60a1=_0x411640();return null==_0x1d60a1?(_0x591c3b(),_0x8dd455([0x56,0x61,0x6c,0x69,0x64])):_0x8dd455(_0x2f8db0-_0x1d60a1>(0x19f340e1^_0x3c9eff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8dd455([0x74,0x68,0x65,0x6e])](_0x4c46ba)[_0x8dd455([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c46ba(_0x8dd455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43d83=0x3dc92a61^_0x3c9eff;function _0x591c3b(){const _0x379235=_0x8dd455([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ea518(_0x3b3eb5(_0xc4c9cc)),_0x4eb6c2=_0x129f53(_0x4ea518(window[_0x8dd455([0x4d,0x61,0x74,0x68])][_0x8dd455([0x63,0x65,0x69,0x6c])](_0x2f8db0/_0x43d83)));window[_0x8dd455([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8dd455([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x379235,_0x4eb6c2);}function _0x411640(){const _0x179d81=_0x8dd455([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ea518(_0x3b3eb5(_0xc4c9cc)),_0x5dabfb=window[_0x8dd455([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8dd455([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x179d81);return _0x5dabfb?window[_0x8dd455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x129f53(_0x5dabfb),0x10)*_0x43d83:null;}function _0x87f415(_0xb5e675){return new window[(_0x8dd455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd466a0,_0x3db05c)=>{_0xb5e675[_0x8dd455([0x74,0x68,0x65,0x6e])](_0xd466a0,_0x3db05c),window[_0x8dd455([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3db05c,0x3dfe1021^_0x3c9eff);});}}_0x4411cb[_0x8dd455([0x6f,0x6e])](_0x8dd455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x441fff,_0x11dd7e)=>{if(_0x11dd7e[0x0]!=_0xc4c9cc)return _0x4c46ba(_0x8dd455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11dd7e[0x1]={..._0x11dd7e[0x1],[_0x8dd455([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x395239};},{[_0x8dd455([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8dd455([0x68,0x69,0x67,0x68])}),_0x4411cb[_0x8dd455([0x6f,0x6e])](_0x8dd455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ef321=>{_0x56b507(_0x5ef321[_0x8dd455([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e8fd9=!0x0,_0x8a6227(_0x5ef321[_0x8dd455([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8dd455([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8dd455([0x6c,0x6f,0x77])}),_0x159b97[_0x8dd455([0x74,0x68,0x65,0x6e])](()=>{_0x5e8fd9||_0x4c46ba(_0x8dd455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54e545(){return _0x4411cb[_0x8dd455([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8dd455([0x76,0x69,0x65,0x77])][_0x8dd455([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8dd455([0x61,0x75,0x74,0x6f]);}function _0x14aa2a(){_0x4411cb[_0x8dd455([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8dd455([0x76,0x69,0x65,0x77])][_0x8dd455([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8dd455([0x61,0x75,0x74,0x6f]);}}function _0x467fd3(_0x29af04){const _0x15acc9=[new window[(_0x8dd455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36bb37=>setTimeout(_0x36bb37,0x3df6fa2d^_0x3c9eff)),_0x159b97[_0x8dd455([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8dd455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1db8ac=>{let _0x4e8201=0x0;_0x4411cb[_0x8dd455([0x6d,0x6f,0x64,0x65,0x6c])][_0x8dd455([0x6f,0x6e])](_0x8dd455([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36802c,_0x888b57)=>{_0x888b57[0x0][_0x8dd455([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e8201++,_0x4e8201==(0x3dffc519^_0x3c9eff)&&(_0x1db8ac(),_0x36802c[_0x8dd455([0x6f,0x66,0x66])]());});}))];return window[_0x8dd455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8dd455([0x72,0x61,0x63,0x65])](_0x15acc9)[_0x8dd455([0x74,0x68,0x65,0x6e])](()=>_0x29af04);}async function _0x26e798(){await _0x159b97,_0x4411cb[_0x8dd455([0x6d,0x6f,0x64,0x65,0x6c])][_0x8dd455([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39d441,_0x4411cb[_0x8dd455([0x6d,0x6f,0x64,0x65,0x6c])][_0x8dd455([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39d441,_0x4411cb[_0x8dd455([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8dd455([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8ce040(_0x3509b8){const _0x5174ea=_0x1d2e46();_0x4411cb[_0x5174ea]=_0x8dd455([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3509b8,_0x3509b8!=_0x8dd455([0x56,0x61,0x6c,0x69,0x64])&&_0x26e798();}function _0x1d2e46(){const _0x108c84=window[_0x8dd455([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8dd455([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8dd455([0x6e,0x6f,0x77])]())[_0x8dd455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8dd455([0x2e]),'');let _0x2102b2=_0x8dd455([0x6e]);for(let _0x83b45d=0x0;_0x83b45d<_0x108c84[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x83b45d+=0x2){let _0x1da6e0=window[_0x8dd455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x108c84[_0x8dd455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x83b45d,_0x83b45d+0x2));_0x1da6e0>=_0x228858[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1da6e0-=_0x228858[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2102b2+=_0x228858[_0x1da6e0];}return _0x2102b2;}function _0x5dd771(){const _0x19d9f2=_0x2731f9[_0x8dd455([0x73,0x70,0x6c,0x69,0x74])](_0x8dd455([0x2e]));if(0x3!=_0x19d9f2[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c4a19(_0x19d9f2[0x1]);function _0x4c4a19(_0xf45552){const _0xbe11c7=_0x1cdad9(_0xf45552);return _0xbe11c7&&_0x31304f()?_0xbe11c7:null;function _0x31304f(){const _0x17488b=_0xbe11c7[_0x8dd455([0x6a,0x74,0x69])],_0x224617=window[_0x8dd455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17488b[_0x8dd455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17488b[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b6c5e={..._0xbe11c7,[_0x8dd455([0x6a,0x74,0x69])]:_0x17488b[_0x8dd455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17488b[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b6c5e[_0x8dd455([0x76,0x63])],_0x3b3eb5(_0x4b6c5e)==_0x224617;}}}async function _0x4a09fe(){let _0x58eafb=!0x0;try{const _0x43fa5a=_0x2731f9[_0x8dd455([0x73,0x70,0x6c,0x69,0x74])](_0x8dd455([0x2e])),[_0x1aea18,_0x22e149,_0xbf017b]=_0x43fa5a;return _0x44d8c3(_0x1aea18),await _0x15a477(_0x1aea18,_0x22e149,_0xbf017b),_0x58eafb;}catch{return!0x1;}function _0x44d8c3(_0x2468f8){const _0x331f4f=_0x1cdad9(_0x2468f8);_0x331f4f&&_0x331f4f[_0x8dd455([0x61,0x6c,0x67])]==_0x8dd455([0x45,0x53,0x32,0x35,0x36])||(_0x58eafb=!0x1);}async function _0x15a477(_0xd5ed81,_0x434af4,_0x355a6c){const _0x212f56=window[_0x8dd455([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8dd455([0x66,0x72,0x6f,0x6d])](_0x3203c0(_0x355a6c),_0x264d45=>_0x264d45[_0x8dd455([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c01af=new window[(_0x8dd455([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8dd455([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd5ed81+_0x8dd455([0x2e])+_0x434af4),_0x583487=window[_0x8dd455([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8dd455([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x583487)return;const _0x5abdfa=await _0x583487[_0x8dd455([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8dd455([0x6a,0x77,0x6b]),_0x36e29e,{[_0x8dd455([0x6e,0x61,0x6d,0x65])]:_0x8dd455([0x45,0x43,0x44,0x53,0x41]),[_0x8dd455([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8dd455([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8dd455([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x583487[_0x8dd455([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8dd455([0x6e,0x61,0x6d,0x65])]:_0x8dd455([0x45,0x43,0x44,0x53,0x41]),[_0x8dd455([0x68,0x61,0x73,0x68])]:{[_0x8dd455([0x6e,0x61,0x6d,0x65])]:_0x8dd455([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5abdfa,_0x212f56,_0x1c01af)||(_0x58eafb=!0x1);}}function _0x1cdad9(_0x1b8bd9){return _0x1b8bd9[_0x8dd455([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8dd455([0x65,0x79]))?JSON[_0x8dd455([0x70,0x61,0x72,0x73,0x65])](_0x3203c0(_0x1b8bd9)):null;}function _0x3203c0(_0x2fc9f3){return window[_0x8dd455([0x61,0x74,0x6f,0x62])](_0x2fc9f3[_0x8dd455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8dd455([0x2b]))[_0x8dd455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8dd455([0x2f])));}function _0x3b3eb5(_0x159c1a){let _0x19e0e0=0x1505;function _0x45e1a1(_0x4bdab0){for(let _0x239dd=0x0;_0x239dd<_0x4bdab0[_0x8dd455([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x239dd++){const _0x3cc729=_0x4bdab0[_0x8dd455([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x239dd);_0x19e0e0=(_0x19e0e0<<0x5)+_0x19e0e0+_0x3cc729,_0x19e0e0&=_0x19e0e0;}}function _0x51c0da(_0x1f588d){Array[_0x8dd455([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f588d)?_0x1f588d[_0x8dd455([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51c0da):_0x1f588d&&typeof _0x1f588d==_0x8dd455([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8dd455([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f588d)[_0x8dd455([0x73,0x6f,0x72,0x74])]()[_0x8dd455([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2930d1,_0xbb6d66])=>{_0x45e1a1(_0x2930d1),_0x51c0da(_0xbb6d66);}):_0x45e1a1(window[_0x8dd455([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f588d));}return _0x51c0da(_0x159c1a),_0x19e0e0>>>0x0;}function _0x4ea518(_0x1bd5c7){return _0x1bd5c7[_0x8dd455([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8dd455([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8dd455([0x30]));}function _0x129f53(_0x5b6d05){return _0x5b6d05[_0x8dd455([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8dd455([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8dd455([0x6a,0x6f,0x69,0x6e])]('');}function _0x39d441(){}function _0x8dd455(_0xe603b1){const _0x99a9ac=_0x50eb;return _0xe603b1[_0x99a9ac(0x16f)](_0x1e3e0f=>String[_0x99a9ac(0x111)](_0x1e3e0f))[_0x99a9ac(0x16c)]('');}_0x8ce040(await _0x1fca37());}(this);}[_0x149f41(0x14d)](){const _0x257de5=_0x149f41,_0x1313bb=this[_0x257de5(0x150)][_0x257de5(0x126)];_0x1313bb[_0x257de5(0x153)](_0x14f46b=>{const _0x5a84f5=_0x257de5,_0x4ca67a=_0x1313bb[_0x5a84f5(0x166)][_0x5a84f5(0x10f)][_0x5a84f5(0x137)]();let _0x2b554a=0x0;for(const _0x469402 of _0x4ca67a){const _0x34f417=w+':'+_0x2b554a;if(_0x1313bb[_0x5a84f5(0x162)][_0x5a84f5(0x135)](_0x34f417))_0x14f46b[_0x5a84f5(0x131)](_0x34f417,{'range':_0x469402});else{if(_0x469402[_0x5a84f5(0x114)][_0x5a84f5(0x172)]){const _0x515cfd=_0x469402[_0x5a84f5(0x114)][_0x5a84f5(0x144)](({item:_0x372f53})=>!_0x1313bb[_0x5a84f5(0x134)][_0x5a84f5(0x14a)](_0x372f53),{'boundaries':_0x469402});_0x14f46b[_0x5a84f5(0x11f)](_0x34f417,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x14f46b[_0x5a84f5(0x145)](_0x515cfd,_0x469402[_0x5a84f5(0x13d)])});}else _0x14f46b[_0x5a84f5(0x11f)](_0x34f417,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x469402});}_0x2b554a++;}});}[_0x149f41(0x151)](){const _0x4de09f=_0x149f41,_0x27f75d=this[_0x4de09f(0x150)][_0x4de09f(0x126)],_0x5d0066=Array[_0x4de09f(0x130)](this[_0x4de09f(0x150)][_0x4de09f(0x126)][_0x4de09f(0x162)][_0x4de09f(0x142)](w));_0x5d0066[_0x4de09f(0x159)]&&_0x27f75d[_0x4de09f(0x153)](_0x41d110=>{const _0x5a457b=_0x4de09f;_0x5d0066[_0x5a457b(0x120)](_0x3f694a=>{const _0x37034e=_0x5a457b;_0x41d110[_0x37034e(0x13e)](_0x3f694a);});});}[_0x149f41(0x147)](_0x5853c8,_0x3fc96b){const _0x5387fb=_0x149f41,_0x2a22fe=this[_0x5387fb(0x152)](),_0x5ad814=_0x3fc96b||_0x2a22fe[_0x5387fb(0x13c)]();this[_0x5387fb(0x150)][_0x5387fb(0x126)][_0x5387fb(0x12b)](_0x5ad814)&&this[_0x5387fb(0x150)][_0x5387fb(0x126)][_0x5387fb(0x153)](_0x319a3b=>{const _0x31166a=_0x5387fb;this[_0x31166a(0x151)](),_0x3fc96b||this[_0x31166a(0x123)](_0x319a3b,_0x2a22fe),this[_0x31166a(0x169)]({'insertAt':_0x5ad814,'writer':_0x319a3b,'html':_0x5853c8});});}[_0x149f41(0x108)](_0x4f61bd){const _0x4491a2=_0x149f41,{model:_0xceddfd}=this[_0x4491a2(0x150)],_0x4414d5=this[_0x4491a2(0x152)]();_0xceddfd[_0x4491a2(0x153)](()=>{const _0x4fa94e=_0x4491a2,_0x3b4758=this[_0x4fa94e(0x127)](_0x4f61bd,_0x4414d5)||this[_0x4fa94e(0x12e)](_0x4414d5);this[_0x4fa94e(0x147)](_0x4f61bd,_0x3b4758);});}[_0x149f41(0x152)](){const _0x402145=_0x149f41,_0x2ffb43=this[_0x402145(0x150)][_0x402145(0x126)],_0x1fd97e=Array[_0x402145(0x130)](_0x2ffb43[_0x402145(0x162)][_0x402145(0x142)](w))[_0x402145(0x16f)](_0x571a9c=>_0x571a9c[_0x402145(0x148)]());return _0x2ffb43[_0x402145(0x15b)](_0x1fd97e);}[_0x149f41(0x169)]({writer:_0x50541a,html:_0x1ae553,insertAt:_0x17514c}){const _0x1f9f77=_0x149f41,{view:_0x136c54}=this[_0x1f9f77(0x150)][_0x1f9f77(0x107)],_0x64a7e5=this[_0x1f9f77(0x150)][_0x1f9f77(0x157)][_0x1f9f77(0x158)](_0xf6d9a7),_0xd1c066=new l();_0xd1c066[_0x1f9f77(0x155)](_0x1f9f77(0x11d),_0x1ae553);const _0x1e32a6=new ClipboardEvent(_0x1f9f77(0x132),{'clipboardData':_0xd1c066}),_0x3f2c35=new _0x51f852(_0x136c54,_0x1e32a6,{'dataTransfer':new _0x5197bc(_0xd1c066)});_0x50541a[_0x1f9f77(0x11e)](_0x17514c);const _0x3b9386=(_0x90c8b3,_0x31d7d6)=>{const _0x5d0e34=_0x1f9f77;_0x31d7d6[_0x5d0e34(0x110)]&&_0x50541a[_0x5d0e34(0x11e)](_0x31d7d6[_0x5d0e34(0x110)]);};_0x64a7e5[_0x1f9f77(0x10b)](_0x1f9f77(0x140),_0x3b9386,{'priority':_0x1f9f77(0x13b)}),_0x136c54[_0x1f9f77(0x166)][_0x1f9f77(0x14c)](_0x1f9f77(0x132),_0x3f2c35),_0x64a7e5[_0x1f9f77(0x16d)](_0x1f9f77(0x140),_0x3b9386);}[_0x149f41(0x12e)](_0x26da9e){const _0x4f704f=_0x149f41,{model:_0x3577d9}=this[_0x4f704f(0x150)],_0x45649b=Array[_0x4f704f(0x130)](_0x26da9e[_0x4f704f(0x12c)]());return _0x45649b[_0x4f704f(0x159)]?_0x3577d9[_0x4f704f(0x171)](_0x45649b[_0x4f704f(0x133)]()):_0x26da9e[_0x4f704f(0x105)]();}[_0x149f41(0x127)](_0x58d256,_0x3bd41f){const _0x1c294a=_0x149f41,{model:_0x14dce9,plugins:_0x1b52a1}=this[_0x1c294a(0x150)];if(_0x1b52a1[_0x1c294a(0x135)](_0x1c294a(0x156))){const _0x24399c=_0x1b52a1[_0x1c294a(0x158)](_0x1c294a(0x156))[_0x1c294a(0x16a)](_0x3bd41f);if(_0x24399c[_0x1c294a(0x159)]){const _0x42c0cb=this[_0x1c294a(0x161)](_0x58d256),_0x14d52a=this[_0x1c294a(0x124)](_0x24399c,_0x42c0cb);return _0x14dce9[_0x1c294a(0x11b)](_0x14d52a,0x0);}}return null;}[_0x149f41(0x161)](_0x4cd4ab){const _0x395c9a=_0x149f41,_0x14533f=this[_0x395c9a(0x150)][_0x395c9a(0x157)][_0x395c9a(0x158)](_0x395c9a(0x156)),_0x2fa50a=this[_0x395c9a(0x150)][_0x395c9a(0x119)][_0x395c9a(0x13f)](_0x4cd4ab),_0x11234d=Array[_0x395c9a(0x130)](_0x2fa50a[_0x395c9a(0x11c)]())[_0x395c9a(0x12d)](_0x1f460f=>_0x1f460f['is'](_0x395c9a(0x10c),_0x395c9a(0x138)));let _0x273d0e=0x0;return _0x11234d[_0x395c9a(0x120)](_0x375f1b=>{const _0x4c8d92=_0x395c9a;_0x273d0e+=_0x14533f[_0x4c8d92(0x11a)](_0x375f1b);}),_0x273d0e;}[_0x149f41(0x124)](_0x444249,_0xb6b6e5){const _0x1bbe74=_0x149f41,_0x6ead30=this[_0x1bbe74(0x150)][_0x1bbe74(0x157)][_0x1bbe74(0x158)](_0x1bbe74(0x156)),_0x5597d6=_0x6ead30[_0x1bbe74(0x10d)](_0x444249),_0x3a3b3a=_0x6ead30[_0x1bbe74(0x149)](_0x444249),_0x2e1515=_0x5597d6[_0x1bbe74(0x117)]+0x1,_0x50d9eb=_0x3a3b3a[_0x1bbe74(0x10a)],_0x2961a4=_0x444249[0x0][_0x1bbe74(0x15e)](_0x1bbe74(0x138));for(let _0xd3b58e=0x0;_0xd3b58e<_0xb6b6e5;_0xd3b58e++)_0x6ead30[_0x1bbe74(0x146)](_0x2961a4,{'at':_0x2e1515});return _0x2961a4[_0x1bbe74(0x115)](_0x2e1515)[_0x1bbe74(0x115)](_0x50d9eb);}[_0x149f41(0x123)](_0x22831b,_0x577285){const _0x175c3f=_0x149f41,{plugins:_0x57a86b}=this[_0x175c3f(0x150)],{model:_0x2c2099}=_0x22831b;if(!_0x57a86b[_0x175c3f(0x135)](_0x175c3f(0x156)))return;_0x57a86b[_0x175c3f(0x158)](_0x175c3f(0x156))[_0x175c3f(0x16a)](_0x577285)[_0x175c3f(0x159)]&&_0x2c2099[_0x175c3f(0x14e)](_0x577285);}}function _0x27d5(){const _0x384714=['parse','contentInsertion','1682428fbkCeI','getMarkersGroup','11038509hplOGR','getLastMatchingPosition','createRange','insertRows','insertContent','getRange','getColumnIndexes','isContent','5040832XCoeYp','fire','showFakeVisualSelection','deleteContent','ck-ai-assistant-ui_theme','editor','hideFakeVisualSelection','_getAISelection','change','ck-fake-ai-selection','setData','TableUtils','plugins','get','length','DataTransfer','createSelection','18924UrMtCL','markerToHighlight','findAncestor','markerToElement','push','_getTableRowCountFromContent','markers','createUIElement','3179912SlmrVL','conversion','document','init','markerRange','_pasteHTMLUsingClipboard','getSelectedTableCells','config','join','off','isCollapsed','map','ai-ui','createPositionAfter','isAtEnd','2885QDDeTp','getLastPosition','editingDowncast','editing','insertContentBelow','AIAssistantEditing','first','once','element','getRowIndexes','afterInit','selection','resultRange','fromCharCode','isPremiumPlugin','7QrsAEV','start','getChild','span','last','ai.useTheme','data','getRows','createPositionAt','getChildren','text/html','setSelection','addMarker','forEach','pluginName','460YkgDtZ','_resetContentOfSelectedTableCells','_createEmptyTableRows','208164cfxdRn','model','_prepareTableInsertBelowPosition','addClass','2589HWkykq','href','canEditAt','getSelectedBlocks','filter','_getDefaultInsertBelowPosition','for','from','updateMarker','paste','pop','schema','has','ck-fake-ai-selection_collapsed','getRanges','table','isOfficialPlugin','1200mTwhqW','lowest','getFirstRange','end','removeMarker'];_0x27d5=function(){return _0x384714;};return _0x27d5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x192e37=_0x3752;(function(_0x58ce90,_0x5bedf7){const _0x48b4ad=_0x3752,_0xd84045=_0x58ce90();while(!![]){try{const _0x4e75ee=parseInt(_0x48b4ad(0xc9))/0x1*(-parseInt(_0x48b4ad(0x12d))/0x2)+parseInt(_0x48b4ad(0x128))/0x3*(parseInt(_0x48b4ad(0xd7))/0x4)+-parseInt(_0x48b4ad(0x101))/0x5+parseInt(_0x48b4ad(0x109))/0x6*(-parseInt(_0x48b4ad(0x98))/0x7)+parseInt(_0x48b4ad(0xea))/0x8*(parseInt(_0x48b4ad(0xa8))/0x9)+-parseInt(_0x48b4ad(0x126))/0xa*(-parseInt(_0x48b4ad(0x135))/0xb)+-parseInt(_0x48b4ad(0xdb))/0xc*(-parseInt(_0x48b4ad(0xa2))/0xd);if(_0x4e75ee===_0x5bedf7)break;else _0xd84045['push'](_0xd84045['shift']());}catch(_0x31c693){_0xd84045['push'](_0xd84045['shift']());}}}(_0x3bb8,0xb2545));import{Plugin as _0x271d7e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x55b32b,IconRobotPencil as _0x4638}from'ckeditor5/src/icons.js';import{first as _0x415c90,CKEditorError as _0x58a088}from'ckeditor5/src/utils.js';import{createDropdown as _0x2d2449,addMenuToDropdown as _0xc52299,ButtonView as _0x5b7b27,MenuBarMenuListItemButtonView as _0x45c7ed,Dialog as _0x28e9b4,DialogViewPosition as _0x15b6f6,MenuBarMenuView as _0x28964d,MenuBarMenuListView as _0x2ce3d7,MenuBarMenuListItemView as _0x5caaee}from'ckeditor5/src/ui.js';function _0x3752(_0x14afa6,_0x49e9){const _0x3bb8af=_0x3bb8();return _0x3752=function(_0x3752a3,_0x4a7c02){_0x3752a3=_0x3752a3-0x86;let _0x2d26d8=_0x3bb8af[_0x3752a3];return _0x2d26d8;},_0x3752(_0x14afa6,_0x49e9);}import{normalizeCommandsConfig as _0x36f9f2,UNGROUPED_COMMANDS_GROUP_ID as _0x266f71}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x388ead}from'./aiassistantediting.js';import{AIAdapter as _0x3f90d0}from'./adapters/aiadapter.js';import{getTranslation as _0x5bf172}from'./utils/common-translations.js';function _0x3bb8(){const _0x3c7510=['groupId','1897165kYrGcJ','isCollapsed','isEnabled','model','from','command:','sort','includes','333936NPXHCx','values','selection','trim','showFakeVisualSelection','contentArea','_forceMarkersCopy','_commandDefinitions','_getMenuBarGroupButtons','insertContent','change:isError','buttonView','ck-ai-assistant-button\x20','custom','groupLabel','bind','aiAssistant','init','_initView','AIAssistantUI','wasMoved','order','invalid','editor','_populateMenuBarMenu','aiLicenseKeyUsageLimit','domainLimit','change','hide','950DDoIPf','isOfficialPlugin','429NqNSes','updateView','fieldView','comment','getSelectedElement','105292zUnJAk','aiLicenseKeyInvalid','licenseKey','filter','getSelectedBlocks','requiresContent','forEach','length','57695tRoyUW','hideFakeVisualSelection','insertContentBelow','_initAriaAiStatusChangeAnnouncements','label','AI\x20is\x20writing','push','body','EDITOR_TOP_SIDE','prompt','</p>','render','menuView','announce','change:isProcessing','queryView','_getResolvedCommandsDefinitions','menuitemcheckbox','updatePosition','children','ai.aiAssistant.disabledElements','AI\x20Commands','112MXxSHJ','media','usageLimit','fire','showUI','AI\x20Assistant','currentContext','_aiAdapter','getRanges','hideUI','83941RqnNKJ','plugins','update','isPremiumPlugin','textAdapter','listenTo','333AjXEOw','trialLimit','config','ck-ai-commands-dropdown\x20','items','componentFactory','menuBar:aiAssistant','INSERT','aiCommands','change:enabledCommandsIds','_onExecute','delegate','define','polite','copy','ai-commands-config-order-collision','Error\x20during\x20AI\x20content\x20generation:\x20%0','add','buttons','showAIAssistant','reset','ck-ai-assistant-ui','panelView','schema','execute','<p>','focus','commands','document','ai.useTheme','aiLicenseKeyNotAllowed','menuPanelClass','featureNotAllowed','20YFuHoA','splice','map','locale','show','_formView','isOn','text','_aiAssistantController','tableOfContents','REPLACE','isFlat','aiLicenseKeyValid','rawHtml','16076pUptDL','enabledCommandsIds','set','aiLicenseKeyTrialLimit','3516udDlpy','change:value','addMany','DataTransfer','menuBar:aiCommands','text/html','replace','getLimitElement','get','destroy','Generated\x20content:\x20%0','view','aiLicenseKeyDomainLimit','AIAssistant','source','19112WCKQYD','getData','evaluationLimit','_licenseKeyCheckInterval','_dialog','_createAIAssistantUIButton','pluginName','replaceContent','setSelection','aiLicenseKeyExpired','editing','ai.aiAssistant.contentAreaCssClass','requires','_showLicenseError','once','_uiCssClasses','errorView','ai.aiAssistant.commands','\x20ck-ai-assistant-ui_theme','expired','promptView','aiLicenseKeyEvaluationLimit'];_0x3bb8=function(){return _0x3c7510;};return _0x3bb8();}import{ShowAIAssistantCommand as _0xb83a51}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x5376ec}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x15a911}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x23da35}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x192e37(0xde)];import{ClipboardMarkersUtils as _0x1f6d8a}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x58abe8,ViewDataTransfer as _0x479ece}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x271d7e{[_0x192e37(0x12f)];[_0x192e37(0xed)];[_0x192e37(0xee)];[_0x192e37(0xce)];[_0x192e37(0x9f)];[_0x192e37(0xd1)];[_0x192e37(0xf9)]='';static get[_0x192e37(0xf0)](){const _0x44a57d=_0x192e37;return _0x44a57d(0x11c);}static get[_0x192e37(0x127)](){return!0x0;}static get[_0x192e37(0xa5)](){return!0x0;}static get[_0x192e37(0xf6)](){return[_0x1f6d8a,_0x388ead,_0x3f90d0,_0x28e9b4];}constructor(_0x1dc6d9){const _0x165e38=_0x192e37;super(_0x1dc6d9),_0x1dc6d9[_0x165e38(0xaa)][_0x165e38(0xb4)](_0x165e38(0x96),[_0x165e38(0x99),_0x165e38(0xd6),_0x165e38(0xd2)]),_0x1dc6d9[_0x165e38(0xaa)][_0x165e38(0xb4)](_0x165e38(0xf5),''),_0x1dc6d9[_0x165e38(0xaa)][_0x165e38(0xb4)](_0x165e38(0xc5),!0x0),this[_0x165e38(0xf9)]=_0x165e38(0xbd)+(_0x1dc6d9[_0x165e38(0xaa)][_0x165e38(0xe3)](_0x165e38(0xc5))?_0x165e38(0xfc):'');}[_0x192e37(0x11a)](){const _0x538579=_0x192e37,{editor:_0x507a8c}=this;this[_0x538579(0x9f)]=_0x507a8c[_0x538579(0xa3)][_0x538579(0xe3)](_0x3f90d0),this[_0x538579(0xee)]=_0x507a8c[_0x538579(0xa3)][_0x538579(0xe3)](_0x28e9b4),this[_0x538579(0xce)]=null,this[_0x538579(0x110)]=this[_0x538579(0x92)]();const _0x455b8b=new _0xb83a51(_0x507a8c,Array[_0x538579(0x105)](this[_0x538579(0x110)][_0x538579(0x10a)]()));_0x507a8c[_0x538579(0xc3)][_0x538579(0xb9)](_0x538579(0xbb),_0x455b8b),_0x507a8c['ui'][_0x538579(0xad)][_0x538579(0xb9)](_0x538579(0xb0),_0x21ee57=>{const _0x554267=_0x538579,_0x2ea5af=_0x2d2449(_0x21ee57);return _0x2ea5af[_0x554267(0xd9)]({'class':_0x554267(0xab)+this[_0x554267(0xf9)]}),_0x2ea5af[_0x554267(0x114)][_0x554267(0xd9)]({'label':_0x5bf172(_0x21ee57,_0x554267(0x97)),'icon':_0x55b32b,'tooltip':!0x0}),_0x2ea5af['on'](_0x554267(0xc0),_0x1936ae=>this[_0x554267(0xb2)](_0x1936ae[_0x554267(0xe9)]['id'])),_0xc52299(_0x2ea5af,_0x507a8c['ui'][_0x554267(0xe6)][_0x554267(0x89)],function(_0x2d2b1e){const _0x131d20=_0x554267,_0x42948b=_0x36f9f2(_0x2d2b1e[_0x131d20(0xaa)][_0x131d20(0xe3)](_0x131d20(0xfb)),_0x2d2b1e[_0x131d20(0xcc)]),_0x1236a7=U(_0x2d2b1e,_0x42948b)[_0x131d20(0x130)](_0x112835=>_0x112835[_0x131d20(0xc3)][_0x131d20(0x134)]);if(0x1===_0x1236a7[_0x131d20(0x134)])return U(_0x2d2b1e,_0x1236a7[0x0][_0x131d20(0xc3)])[_0x131d20(0xcb)](_0x1796ca=>({'id':_0x1796ca['id'],'label':_0x1796ca[_0x131d20(0x86)]}));return _0x1236a7[_0x131d20(0xcb)](_0x3e59ab=>{const _0x3bcc5b=_0x131d20,{groupId:_0x1f5682,groupLabel:_0x987eff,commands:_0x5a39b6}=_0x3e59ab,_0xb53eb=U(_0x2d2b1e,_0x5a39b6)[_0x3bcc5b(0xcb)](_0x389c05=>({'id':_0x389c05['id'],'label':_0x389c05[_0x3bcc5b(0x86)]}));return{'id':_0x1f5682,'menu':_0x987eff||_0x1f5682,'children':_0xb53eb};});}(_0x507a8c),{'ariaLabel':_0x5bf172(_0x21ee57,_0x554267(0x97))}),_0x2ea5af[_0x554267(0x8e)][_0x554267(0xc7)]=_0x554267(0xab)+this[_0x554267(0xf9)],_0x455b8b['on'](_0x554267(0xb1),_0x349dce),_0x2ea5af[_0x554267(0x8e)][_0x554267(0xf8)](_0x554267(0x8d),_0x349dce),_0x2ea5af;function _0x349dce(){const _0x485099=_0x554267;_0x2ea5af[_0x485099(0x103)]=_0x455b8b[_0x485099(0xd8)][_0x485099(0x134)]>0x0;for(const _0x16dbd1 of _0x2ea5af[_0x485099(0x8e)][_0x485099(0xba)])_0x16dbd1[_0x485099(0x103)]=_0x455b8b[_0x485099(0xd8)][_0x485099(0x108)](_0x16dbd1['id']);}}),_0x507a8c['ui'][_0x538579(0xad)][_0x538579(0xb9)](_0x538579(0xdf),_0x4cab91=>{const _0x1ef5bd=_0x538579,_0x299279=new _0x28964d(_0x4cab91);_0x299279[_0x1ef5bd(0x114)][_0x1ef5bd(0xd9)]({'label':_0x5bf172(_0x4cab91,_0x1ef5bd(0x97)),'icon':_0x55b32b}),_0x299279[_0x1ef5bd(0x118)](_0x1ef5bd(0x103))['to'](_0x455b8b,_0x1ef5bd(0xd8),_0x175dee=>_0x175dee[_0x1ef5bd(0x134)]>0x0);const _0x1dae2d=_0x36f9f2(_0x507a8c[_0x1ef5bd(0xaa)][_0x1ef5bd(0xe3)](_0x1ef5bd(0xfb)),_0x4cab91);return this[_0x1ef5bd(0x121)](_0x455b8b,_0x299279,_0x1dae2d,_0x1969dc=>this[_0x1ef5bd(0xb2)](_0x1969dc)),_0x299279;}),_0x507a8c['ui'][_0x538579(0xad)][_0x538579(0xb9)](_0x538579(0x119),()=>{const _0x22b077=_0x538579,_0x4956d8=this[_0x22b077(0xef)](_0x5b7b27);return _0x4956d8[_0x22b077(0xd9)]({'tooltip':!0x0,'class':_0x22b077(0x115)+this[_0x22b077(0xf9)]}),_0x4956d8;}),_0x507a8c['ui'][_0x538579(0xad)][_0x538579(0xb9)](_0x538579(0xae),()=>{const _0x562bb2=_0x538579,_0x562067=this[_0x562bb2(0xef)](_0x45c7ed);return _0x562067[_0x562bb2(0xd9)]({'role':_0x562bb2(0x93)}),_0x562067;}),this[_0x538579(0x12f)]=this[_0x538579(0x120)][_0x538579(0xaa)][_0x538579(0xe3)](_0x538579(0x12f));const _0x30f924=this[_0x538579(0x120)];this[_0x538579(0xed)]=setInterval(()=>{const _0x72980e=_0x538579;let _0x47dadf;for(const _0x5b4d4c in _0x30f924){const _0x2ad60f=_0x5b4d4c,_0x4e27b2=_0x30f924[_0x2ad60f];if(_0x72980e(0xd5)==_0x4e27b2||_0x72980e(0x12e)==_0x4e27b2||_0x72980e(0xf3)==_0x4e27b2||_0x72980e(0xe7)==_0x4e27b2||_0x72980e(0xc6)==_0x4e27b2||_0x72980e(0xff)==_0x4e27b2||_0x72980e(0xda)==_0x4e27b2||_0x72980e(0x122)==_0x4e27b2){delete _0x30f924[_0x2ad60f],_0x47dadf=_0x4e27b2,clearInterval(this[_0x72980e(0xed)]),this[_0x72980e(0xed)]=void 0x0;break;}}_0x72980e(0x12e)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0x11f)),_0x72980e(0xf3)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0xfd)),_0x72980e(0xe7)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0x123)),_0x72980e(0xc6)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0xc8),_0x72980e(0xe8)),_0x72980e(0xff)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0xec)),_0x72980e(0xda)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0xa9)),_0x72980e(0x122)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0x9a));},0x3e8);}[_0x192e37(0xe4)](){const _0x72e3fb=_0x192e37;super[_0x72e3fb(0xe4)](),this[_0x72e3fb(0xed)]&&clearInterval(this[_0x72e3fb(0xed)]);}[_0x192e37(0x9c)](_0x358ac0='',_0x10a176='',_0x159e33=_0x192e37(0x116)){const _0x2ebdfd=_0x192e37,_0xdf5ce5=this[_0x2ebdfd(0x120)],_0x49b9cd=_0xdf5ce5[_0x2ebdfd(0xf4)][_0x2ebdfd(0xe6)],_0x48ba36=_0xdf5ce5[_0x2ebdfd(0xa3)][_0x2ebdfd(0xe3)](_0x388ead),_0x9b93ae=_0xdf5ce5[_0x2ebdfd(0xa3)][_0x2ebdfd(0xe3)](_0x1f6d8a);_0x48ba36[_0x2ebdfd(0x10d)]();const _0x140ddf=new l(),_0x591a7f=new ClipboardEvent(_0x2ebdfd(0xb6),{'clipboardData':_0x140ddf}),_0x505c59=new _0x479ece(_0x140ddf),_0x301567=new _0x58abe8(_0x49b9cd,_0x591a7f,{'dataTransfer':_0x505c59});_0x9b93ae[_0x2ebdfd(0x10f)](_0x2ebdfd(0x12b),()=>{const _0x566706=_0x2ebdfd;_0x49b9cd[_0x566706(0xc4)][_0x566706(0x9b)](_0x566706(0xb6),_0x301567);}),this[_0x2ebdfd(0xce)]||(this[_0x2ebdfd(0x11b)](),this[_0x2ebdfd(0xd1)]=new _0x5376ec(_0xdf5ce5,this[_0x2ebdfd(0x9f)][_0x2ebdfd(0xa6)],this[_0x2ebdfd(0xce)]));let _0x2bbd82=_0x505c59[_0x2ebdfd(0xeb)](_0x2ebdfd(0xe0));const _0x41b04c=_0xdf5ce5[_0x2ebdfd(0x104)][_0x2ebdfd(0xc4)][_0x2ebdfd(0x10b)],_0x1fc2c5=Array[_0x2ebdfd(0x105)](_0x41b04c[_0x2ebdfd(0xa0)]());0x1===_0x1fc2c5[_0x2ebdfd(0x134)]&&_0x1fc2c5[0x0][_0x2ebdfd(0xd4)]&&!_0x41b04c[_0x2ebdfd(0x12c)]()&&''!==_0x2bbd82[_0x2ebdfd(0xe1)](/&nbsp;/g,'')[_0x2ebdfd(0x10c)]()&&(_0x2bbd82=_0x2ebdfd(0xc1)+_0x2bbd82+_0x2ebdfd(0x8c)),this[_0x2ebdfd(0xd1)][_0x2ebdfd(0x129)]({'actionId':_0x159e33,'query':_0x358ac0,'htmlContent':_0x2bbd82,'label':_0x10a176,'mainActionLabel':_0x23da35[_0xdf5ce5[_0x2ebdfd(0x104)][_0x2ebdfd(0xc4)][_0x2ebdfd(0x10b)][_0x2ebdfd(0x102)]?_0x2ebdfd(0xaf):_0x2ebdfd(0xd3)]}),_0x2ebdfd(0x119)!==this[_0x2ebdfd(0xee)]['id']?this[_0x2ebdfd(0xee)][_0x2ebdfd(0xcd)]({'id':_0x2ebdfd(0x119),'icon':_0x4638,'title':_0x5bf172(this[_0x2ebdfd(0x120)][_0x2ebdfd(0xcc)],_0x2ebdfd(0x9d)),'content':this[_0x2ebdfd(0xce)],'position':_0x15b6f6[_0x2ebdfd(0x8a)],'onShow':()=>{const _0x580122=_0x2ebdfd;this[_0x580122(0xce)][_0x580122(0xc2)]();},'onHide':()=>{const _0x38034c=_0x2ebdfd;this[_0x38034c(0xd1)][_0x38034c(0xbc)](),_0x48ba36[_0x38034c(0x136)]();}}):this[_0x2ebdfd(0xee)][_0x2ebdfd(0xe6)][_0x2ebdfd(0x11d)]||this[_0x2ebdfd(0xee)][_0x2ebdfd(0xe6)][_0x2ebdfd(0x94)]();}[_0x192e37(0xa1)](){const _0xae4a45=_0x192e37;this[_0xae4a45(0xee)][_0xae4a45(0x125)]();}[_0x192e37(0x92)](){const _0x10357b=_0x192e37,_0x4926d0=new Map(),_0x462160=_0x36f9f2(this[_0x10357b(0x120)][_0x10357b(0xaa)][_0x10357b(0xe3)](_0x10357b(0xfb)),this[_0x10357b(0x120)][_0x10357b(0xcc)]);for(const _0x50036a of _0x462160)for(const _0x58b6e9 of _0x50036a[_0x10357b(0xc3)])_0x4926d0[_0x10357b(0xd9)](_0x58b6e9['id'],{..._0x58b6e9,'groupId':_0x50036a[_0x10357b(0x100)],'groupLabel':_0x50036a[_0x10357b(0x117)]||_0x50036a[_0x10357b(0x100)]});return _0x4926d0;}[_0x192e37(0xef)](_0x4b6338){const _0x409178=_0x192e37,_0x40c623=this[_0x409178(0x120)],_0x4657e5=_0x40c623[_0x409178(0xc3)][_0x409178(0xe3)](_0x409178(0xbb)),_0x2d90dc=new _0x4b6338(_0x40c623[_0x409178(0xcc)]);return _0x2d90dc[_0x409178(0xd9)]({'label':_0x5bf172(_0x40c623[_0x409178(0xcc)],_0x409178(0x9d)),'icon':_0x4638,'isToggleable':!0x0}),_0x2d90dc[_0x409178(0x118)](_0x409178(0x103))['to'](_0x4657e5),_0x2d90dc[_0x409178(0x118)](_0x409178(0xcf))['to'](this[_0x409178(0xee)],'id',_0x3a5599=>_0x409178(0x119)===_0x3a5599),this[_0x409178(0xa7)](_0x2d90dc,_0x409178(0xc0),()=>{const _0x56d4c0=_0x409178;_0x2d90dc[_0x56d4c0(0xcf)]?this[_0x56d4c0(0xa1)]():_0x4657e5[_0x56d4c0(0xc0)]();}),_0x2d90dc;}[_0x192e37(0x11b)](){const _0x14d0ba=_0x192e37,_0x465855=this[_0x14d0ba(0x120)][_0x14d0ba(0xa3)][_0x14d0ba(0xe3)](_0x388ead);this[_0x14d0ba(0xce)]=new _0x15a911(this[_0x14d0ba(0x120)][_0x14d0ba(0xcc)],this[_0x14d0ba(0xf9)],this[_0x14d0ba(0x120)][_0x14d0ba(0xaa)][_0x14d0ba(0xe3)](_0x14d0ba(0xf5))),this[_0x14d0ba(0xce)]['on'](_0x14d0ba(0xdc),()=>{const _0x25615e=_0x14d0ba;this[_0x25615e(0xee)][_0x25615e(0xe6)][_0x25615e(0x11d)]||this[_0x25615e(0xee)][_0x25615e(0xe6)][_0x25615e(0x94)]();}),this[_0x14d0ba(0xce)][_0x14d0ba(0xfe)][_0x14d0ba(0x91)][_0x14d0ba(0x12a)]['on'](_0x14d0ba(0xa4),()=>{const _0x3a4144=_0x14d0ba;this[_0x3a4144(0xee)][_0x3a4144(0xe6)][_0x3a4144(0x11d)]||this[_0x3a4144(0xee)][_0x3a4144(0xe6)][_0x3a4144(0x94)]();}),this[_0x14d0ba(0xa7)](this[_0x14d0ba(0xce)],_0x14d0ba(0xf1),()=>{const _0x4b0357=_0x14d0ba;_0x465855[_0x4b0357(0x112)](this[_0x4b0357(0xd1)][_0x4b0357(0x9e)]),this[_0x4b0357(0xa1)]();}),this[_0x14d0ba(0xa7)](this[_0x14d0ba(0xce)],_0x14d0ba(0x137),()=>{const _0x4b601d=_0x14d0ba;_0x465855[_0x4b601d(0x137)](this[_0x4b601d(0xd1)][_0x4b601d(0x9e)]),this[_0x4b601d(0xa1)]();}),this[_0x14d0ba(0x138)]();}[_0x192e37(0x138)](){const _0x2aa4f3=_0x192e37,{locale:_0x6b7e13,ui:{ariaLiveAnnouncer:_0x24fe67}}=this[_0x2aa4f3(0x120)];this[_0x2aa4f3(0xce)][_0x2aa4f3(0x10e)]['on'](_0x2aa4f3(0x90),(_0x43cb08,_0x50af78,_0x3deec1)=>{const _0x389f4b=_0x2aa4f3,_0x21458e=this[_0x389f4b(0xd1)][_0x389f4b(0x9e)];_0x3deec1?_0x24fe67[_0x389f4b(0x8f)](_0x5bf172(_0x6b7e13,_0x389f4b(0x87))):_0x21458e&&_0x24fe67[_0x389f4b(0x8f)](_0x5bf172(_0x6b7e13,_0x389f4b(0xe5),_0x21458e),{'politeness':_0x389f4b(0xb5),'isUnsafeHTML':!0x0});}),this[_0x2aa4f3(0xce)]['on'](_0x2aa4f3(0x113),(_0x22177b,_0xffee97,_0x528036)=>{const _0x5861de=_0x2aa4f3;if(_0x528036){const _0x35cc75=this[_0x5861de(0xce)][_0x5861de(0xfa)][_0x5861de(0xd0)];_0x24fe67[_0x5861de(0x8f)](_0x5bf172(_0x6b7e13,_0x5861de(0xb8),_0x35cc75));}});}[_0x192e37(0xb2)](_0x250a7b){const _0xf5469c=_0x192e37,_0x204c49=this[_0xf5469c(0x110)][_0xf5469c(0xe3)](_0x250a7b),_0x326514=this[_0xf5469c(0x120)],_0x578c33=_0x326514[_0xf5469c(0x104)][_0xf5469c(0xc4)][_0xf5469c(0x10b)],_0x37e91e=_0x326514[_0xf5469c(0xc3)][_0xf5469c(0xe3)](_0xf5469c(0xbb)),_0x47dcca=_0x326514[_0xf5469c(0xa3)][_0xf5469c(0xe3)](_0x388ead),_0x14a3e7=''+(_0x204c49[_0xf5469c(0x100)]!==_0x266f71?_0x204c49[_0xf5469c(0x117)]+':\x20':'')+_0x204c49[_0xf5469c(0x86)];if(!0x1!==_0x204c49[_0xf5469c(0x132)]&&_0x578c33[_0xf5469c(0x102)]){const _0x3e0e6b=_0x415c90(_0x578c33[_0xf5469c(0x131)]())||_0x326514[_0xf5469c(0x104)][_0xf5469c(0xbf)][_0xf5469c(0xe2)](_0x578c33);_0x326514[_0xf5469c(0x104)][_0xf5469c(0x124)](_0x4dda95=>{const _0x23dc51=_0xf5469c;_0x4dda95[_0x23dc51(0xf2)](_0x3e0e6b,'in');});}_0x47dcca[_0xf5469c(0x10d)](),_0x37e91e[_0xf5469c(0xc0)](_0x204c49[_0xf5469c(0x8b)],_0x14a3e7,_0xf5469c(0x106)+_0x250a7b);}[_0x192e37(0x121)](_0x31c4bd,_0x3f8d98,_0x40fdc8,_0x44a2c5){const _0x529f55=_0x192e37,_0x5cff0f=this[_0x529f55(0x120)],_0x5334af=_0x5cff0f[_0x529f55(0xcc)],_0x9b68d1=new _0x2ce3d7(_0x5334af),_0x473939=U(_0x5cff0f,_0x40fdc8)[_0x529f55(0x130)](_0x5e98e3=>_0x5e98e3[_0x529f55(0xc3)][_0x529f55(0x134)]);0x1===_0x473939[_0x529f55(0x134)]?this[_0x529f55(0x111)]({'command':_0x31c4bd,'commands':_0x473939[0x0][_0x529f55(0xc3)],'parentMenuView':_0x3f8d98,'onExecute':_0x44a2c5})[_0x529f55(0x133)](_0x2e63ba=>_0x9b68d1[_0x529f55(0xac)][_0x529f55(0xb9)](_0x2e63ba)):_0x473939[_0x529f55(0x133)](({groupId:_0x32f3b2,groupLabel:_0x4b13ad,commands:_0x13129e})=>{const _0x1c4350=_0x529f55,_0x542b33=new _0x5caaee(_0x5334af,_0x3f8d98),_0x268fd2=new _0x28964d(_0x5334af),_0x5b8246=new _0x2ce3d7(_0x5334af),_0x2619c6=this[_0x1c4350(0x111)]({'command':_0x31c4bd,'commands':_0x13129e,'parentMenuView':_0x268fd2,'onExecute':_0x44a2c5});_0x268fd2[_0x1c4350(0x114)][_0x1c4350(0xd9)]({'label':_0x4b13ad||_0x32f3b2}),_0x268fd2[_0x1c4350(0xb3)](_0x1c4350(0xc0))['to'](_0x3f8d98),_0x5b8246[_0x1c4350(0xac)][_0x1c4350(0xdd)](_0x2619c6),_0x268fd2[_0x1c4350(0xbe)][_0x1c4350(0x95)][_0x1c4350(0xb9)](_0x5b8246),_0x542b33[_0x1c4350(0x95)][_0x1c4350(0xb9)](_0x268fd2),_0x9b68d1[_0x1c4350(0xac)][_0x1c4350(0xb9)](_0x542b33);}),_0x3f8d98[_0x529f55(0xbe)][_0x529f55(0x95)][_0x529f55(0xb9)](_0x9b68d1);}[_0x192e37(0x111)]({command:_0x1567ef,commands:_0x3d903c,parentMenuView:_0x56dd7e,onExecute:_0x12b6bb}){const _0x4afd8e=_0x192e37,_0x67373=this[_0x4afd8e(0x120)],_0x4cc34e=_0x67373[_0x4afd8e(0xcc)];return U(_0x67373,_0x3d903c)[_0x4afd8e(0xcb)](_0x5460b4=>{const _0x387c68=_0x4afd8e,_0x148e6a=new _0x5caaee(_0x4cc34e,_0x56dd7e),_0xfe7cdc=new _0x45c7ed(_0x4cc34e);return _0xfe7cdc[_0x387c68(0xd9)]({'label':_0x5460b4[_0x387c68(0x86)]}),_0xfe7cdc[_0x387c68(0xb3)](_0x387c68(0xc0))['to'](_0x56dd7e),_0xfe7cdc['on'](_0x387c68(0xc0),()=>_0x12b6bb(_0x5460b4['id'])),_0xfe7cdc[_0x387c68(0x118)](_0x387c68(0x103))['to'](_0x1567ef,_0x387c68(0xd8),_0x353bfe=>_0x353bfe[_0x387c68(0x108)](_0x5460b4['id'])),_0x148e6a[_0x387c68(0x95)][_0x387c68(0xb9)](_0xfe7cdc),_0x148e6a;});}}function T(_0x198368,_0x2d5301){const _0x54591d=_0x192e37;return void 0x0!==_0x198368[_0x54591d(0x11e)]&&void 0x0===_0x2d5301[_0x54591d(0x11e)]?0x1:void 0x0===_0x198368[_0x54591d(0x11e)]&&void 0x0!==_0x2d5301[_0x54591d(0x11e)]?-0x1:void 0x0!==_0x198368[_0x54591d(0x11e)]&&void 0x0!==_0x2d5301[_0x54591d(0x11e)]?_0x198368[_0x54591d(0x11e)]-_0x2d5301[_0x54591d(0x11e)]:0x0;}function U(_0x2854d1,_0x5a8c81){const _0x28c467=_0x192e37;_0x5a8c81[_0x28c467(0x107)](T);const _0x5078b6={},_0xa8c554=[];for(const _0xb3fe73 of _0x5a8c81)if(void 0x0!==_0xb3fe73[_0x28c467(0x11e)]){if(_0xb3fe73[_0x28c467(0x11e)]in _0x5078b6)throw new _0x58a088(_0x28c467(0xb7),_0x2854d1,{'conflictingDefinitions':[_0xb3fe73,_0x5078b6[_0xb3fe73[_0x28c467(0x11e)]]]});_0x5078b6[_0xb3fe73[_0x28c467(0x11e)]]=_0xb3fe73,_0xa8c554[_0x28c467(0xca)](_0xb3fe73[_0x28c467(0x11e)],0x0,_0xb3fe73);}else _0xa8c554[_0x28c467(0x88)](_0xb3fe73);return _0xa8c554;}
23
+ const _0x1a45fb=_0x4138;(function(_0x16ae18,_0x4999cc){const _0x587103=_0x4138,_0x2aebef=_0x16ae18();while(!![]){try{const _0x5682be=-parseInt(_0x587103(0x1a2))/0x1*(parseInt(_0x587103(0x1e9))/0x2)+-parseInt(_0x587103(0x190))/0x3*(parseInt(_0x587103(0x21d))/0x4)+parseInt(_0x587103(0x18f))/0x5+parseInt(_0x587103(0x1a1))/0x6*(-parseInt(_0x587103(0x1e4))/0x7)+-parseInt(_0x587103(0x194))/0x8*(-parseInt(_0x587103(0x22c))/0x9)+parseInt(_0x587103(0x21a))/0xa+parseInt(_0x587103(0x232))/0xb*(parseInt(_0x587103(0x196))/0xc);if(_0x5682be===_0x4999cc)break;else _0x2aebef['push'](_0x2aebef['shift']());}catch(_0x30b99e){_0x2aebef['push'](_0x2aebef['shift']());}}}(_0x324d,0xc7236));import{Plugin as _0x439138}from'ckeditor5/src/core.js';import{IconMagicWand as _0x426e3a,IconRobotPencil as _0x34b9e4}from'ckeditor5/src/icons.js';import{first as _0x326e2f,CKEditorError as _0x1c182d}from'ckeditor5/src/utils.js';import{createDropdown as _0x2f1428,addMenuToDropdown as _0x2fba7a,ButtonView as _0x105015,MenuBarMenuListItemButtonView as _0x5af5b8,Dialog as _0x706156,DialogViewPosition as _0x3dd2ab,MenuBarMenuView as _0x343729,MenuBarMenuListView as _0x113086,MenuBarMenuListItemView as _0x448e83}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x20d563,UNGROUPED_COMMANDS_GROUP_ID as _0x4ed406}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5d5391}from'./aiassistantediting.js';import{AIAdapter as _0x20468d}from'./adapters/aiadapter.js';import{getTranslation as _0x3fd042}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x458add}from'./ui/showaiassistantcommand.js';function _0x4138(_0x58b0e0,_0x3c250a){const _0x324d9b=_0x324d();return _0x4138=function(_0x4138ef,_0xb8ecaf){_0x4138ef=_0x4138ef-0x189;let _0x3c41ab=_0x324d9b[_0x4138ef];return _0x3c41ab;},_0x4138(_0x58b0e0,_0x3c250a);}function _0x324d(){const _0x378e9f=['isPremiumPlugin','wasMoved','27wBwLKJ','rawHtml','componentFactory','values','updatePosition','custom','184855qZTytg','replace','editing','addMany','_initView','show','licenseKey','ck-ai-commands-dropdown\x20','filter','getRanges','Generated\x20content:\x20%0','ai.useTheme','pluginName','reset','aiLicenseKeyEvaluationLimit','3992990YDMstg','1023QDUvLi','_populateMenuBarMenu','isCollapsed','_uiCssClasses','735168FWYDQZ','REPLACE','336PLkgQl','change:value','plugins','menuView','command:','once','push','isOfficialPlugin','model','textAdapter','change','474KIzSOH','1kzHIUB','_onExecute','DataTransfer','aiLicenseKeyValid','AI\x20Commands','showUI','AIAssistantUI','isEnabled','listenTo','config','render','enabledCommandsIds','sort','requires','_aiAssistantController','add','_dialog','ai.aiAssistant.contentAreaCssClass','_commandDefinitions','<p>','get','bind','usageLimit','splice','order','evaluationLimit','text','length','hideUI','menuBar:aiAssistant','ck-ai-assistant-button\x20','comment','children','aiLicenseKeyNotAllowed','_initAriaAiStatusChangeAnnouncements','commands','_getResolvedCommandsDefinitions','_showLicenseError','getLimitElement','execute','isFlat','buttonView','schema','insertContent','featureNotAllowed','getData','source','buttons','_licenseKeyCheckInterval','insertContentBelow','hide','_aiAdapter','panelView','aiLicenseKeyInvalid','map','init','label','errorView','copy','AIAssistant','selection','groupId','AI\x20Assistant','trialLimit','aiCommands','invalid','125237fmCwqr','getSelectedBlocks','EDITOR_TOP_SIDE','document','showAIAssistant','384610qeEBxy','_createAIAssistantUIButton','requiresContent','replaceContent','ai.aiAssistant.commands','aiLicenseKeyExpired','menuPanelClass','</p>','change:isError','INSERT','_getMenuBarGroupButtons','menuBar:aiCommands','queryView','contentArea','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20is\x20writing','media','domainLimit','_forceMarkersCopy','define','isOn','ai.aiAssistant.disabledElements','text/html','getSelectedElement','from','prompt','currentContext','aiLicenseKeyDomainLimit','editor','updateView','polite','menuitemcheckbox','_formView','showFakeVisualSelection','includes','body','locale','announce','setSelection','focus','update','items','expired','fire','trim','delegate','destroy','set','ck-ai-assistant-ui','11871890ATqeHp','change:enabledCommandsIds','ai-commands-config-order-collision','3644Fsemfa','aiLicenseKeyTrialLimit','forEach','view','hideFakeVisualSelection','aiLicenseKeyUsageLimit','change:isProcessing','tableOfContents','fieldView','aiAssistant','\x20ck-ai-assistant-ui_theme','promptView','groupLabel'];_0x324d=function(){return _0x378e9f;};return _0x324d();}import{AIAssistantController as _0x52bdf1}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x55c7f0}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x418b65}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x1a45fb(0x1a4)];import{ClipboardMarkersUtils as _0x3bfb0c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x505e15,ViewDataTransfer as _0x3ad2c3}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x439138{[_0x1a45fb(0x238)];[_0x1a45fb(0x1d2)];[_0x1a45fb(0x1b2)];[_0x1a45fb(0x209)];[_0x1a45fb(0x1d5)];[_0x1a45fb(0x1b0)];[_0x1a45fb(0x193)]='';static get[_0x1a45fb(0x18c)](){const _0x176e8c=_0x1a45fb;return _0x176e8c(0x1a8);}static get[_0x1a45fb(0x19d)](){return!0x0;}static get[_0x1a45fb(0x22a)](){return!0x0;}static get[_0x1a45fb(0x1af)](){return[_0x3bfb0c,_0x5d5391,_0x20468d,_0x706156];}constructor(_0x253180){const _0x4bb075=_0x1a45fb;super(_0x253180),_0x253180[_0x4bb075(0x1ab)][_0x4bb075(0x1fc)](_0x4bb075(0x1fe),[_0x4bb075(0x1f9),_0x4bb075(0x22d),_0x4bb075(0x224)]),_0x253180[_0x4bb075(0x1ab)][_0x4bb075(0x1fc)](_0x4bb075(0x1b3),''),_0x253180[_0x4bb075(0x1ab)][_0x4bb075(0x1fc)](_0x4bb075(0x18b),!0x0),this[_0x4bb075(0x193)]=_0x4bb075(0x219)+(_0x253180[_0x4bb075(0x1ab)][_0x4bb075(0x1b6)](_0x4bb075(0x18b))?_0x4bb075(0x227):'');}[_0x1a45fb(0x1d9)](){const _0x414c4f=_0x1a45fb,{editor:_0x178014}=this;this[_0x414c4f(0x1d5)]=_0x178014[_0x414c4f(0x198)][_0x414c4f(0x1b6)](_0x20468d),this[_0x414c4f(0x1b2)]=_0x178014[_0x414c4f(0x198)][_0x414c4f(0x1b6)](_0x706156),this[_0x414c4f(0x209)]=null,this[_0x414c4f(0x1b4)]=this[_0x414c4f(0x1c6)]();const _0x1862ed=new _0x458add(_0x178014,Array[_0x414c4f(0x201)](this[_0x414c4f(0x1b4)][_0x414c4f(0x22f)]()));_0x178014[_0x414c4f(0x1c5)][_0x414c4f(0x1b1)](_0x414c4f(0x1e8),_0x1862ed),_0x178014['ui'][_0x414c4f(0x22e)][_0x414c4f(0x1b1)](_0x414c4f(0x1e2),_0x24a9c1=>{const _0x48b1c1=_0x414c4f,_0x6f67ed=_0x2f1428(_0x24a9c1);return _0x6f67ed[_0x48b1c1(0x218)]({'class':_0x48b1c1(0x239)+this[_0x48b1c1(0x193)]}),_0x6f67ed[_0x48b1c1(0x1cb)][_0x48b1c1(0x218)]({'label':_0x3fd042(_0x24a9c1,_0x48b1c1(0x1a6)),'icon':_0x426e3a,'tooltip':!0x0}),_0x6f67ed['on'](_0x48b1c1(0x1c9),_0x1f3f8c=>this[_0x48b1c1(0x1a3)](_0x1f3f8c[_0x48b1c1(0x1d0)]['id'])),_0x2fba7a(_0x6f67ed,_0x178014['ui'][_0x48b1c1(0x220)][_0x48b1c1(0x20c)],function(_0x53b3a8){const _0xc47b57=_0x48b1c1,_0x4f8bbb=_0x20d563(_0x53b3a8[_0xc47b57(0x1ab)][_0xc47b57(0x1b6)](_0xc47b57(0x1ed)),_0x53b3a8[_0xc47b57(0x20d)]),_0x20b2ad=U(_0x53b3a8,_0x4f8bbb)[_0xc47b57(0x23a)](_0x132214=>_0x132214[_0xc47b57(0x1c5)][_0xc47b57(0x1bd)]);if(0x1===_0x20b2ad[_0xc47b57(0x1bd)])return U(_0x53b3a8,_0x20b2ad[0x0][_0xc47b57(0x1c5)])[_0xc47b57(0x1d8)](_0x459c8f=>({'id':_0x459c8f['id'],'label':_0x459c8f[_0xc47b57(0x1da)]}));return _0x20b2ad[_0xc47b57(0x1d8)](_0x381989=>{const _0x16c1b1=_0xc47b57,{groupId:_0x51469f,groupLabel:_0x2ac59a,commands:_0x464e7a}=_0x381989,_0xde778e=U(_0x53b3a8,_0x464e7a)[_0x16c1b1(0x1d8)](_0x5df9d4=>({'id':_0x5df9d4['id'],'label':_0x5df9d4[_0x16c1b1(0x1da)]}));return{'id':_0x51469f,'menu':_0x2ac59a||_0x51469f,'children':_0xde778e};});}(_0x178014),{'ariaLabel':_0x3fd042(_0x24a9c1,_0x48b1c1(0x1a6))}),_0x6f67ed[_0x48b1c1(0x199)][_0x48b1c1(0x1ef)]=_0x48b1c1(0x239)+this[_0x48b1c1(0x193)],_0x1862ed['on'](_0x48b1c1(0x21b),_0x311255),_0x6f67ed[_0x48b1c1(0x199)][_0x48b1c1(0x19b)](_0x48b1c1(0x1ac),_0x311255),_0x6f67ed;function _0x311255(){const _0x56c67c=_0x48b1c1;_0x6f67ed[_0x56c67c(0x1a9)]=_0x1862ed[_0x56c67c(0x1ad)][_0x56c67c(0x1bd)]>0x0;for(const _0x5bb7d9 of _0x6f67ed[_0x56c67c(0x199)][_0x56c67c(0x1d1)])_0x5bb7d9[_0x56c67c(0x1a9)]=_0x1862ed[_0x56c67c(0x1ad)][_0x56c67c(0x20b)](_0x5bb7d9['id']);}}),_0x178014['ui'][_0x414c4f(0x22e)][_0x414c4f(0x1b1)](_0x414c4f(0x1f4),_0x273b9b=>{const _0x594b3f=_0x414c4f,_0x2f741c=new _0x343729(_0x273b9b);_0x2f741c[_0x594b3f(0x1cb)][_0x594b3f(0x218)]({'label':_0x3fd042(_0x273b9b,_0x594b3f(0x1a6)),'icon':_0x426e3a}),_0x2f741c[_0x594b3f(0x1b7)](_0x594b3f(0x1a9))['to'](_0x1862ed,_0x594b3f(0x1ad),_0x2147c1=>_0x2147c1[_0x594b3f(0x1bd)]>0x0);const _0x28960c=_0x20d563(_0x178014[_0x594b3f(0x1ab)][_0x594b3f(0x1b6)](_0x594b3f(0x1ed)),_0x273b9b);return this[_0x594b3f(0x191)](_0x1862ed,_0x2f741c,_0x28960c,_0x2afdf7=>this[_0x594b3f(0x1a3)](_0x2afdf7)),_0x2f741c;}),_0x178014['ui'][_0x414c4f(0x22e)][_0x414c4f(0x1b1)](_0x414c4f(0x226),()=>{const _0x18ceba=_0x414c4f,_0x3eae84=this[_0x18ceba(0x1ea)](_0x105015);return _0x3eae84[_0x18ceba(0x218)]({'tooltip':!0x0,'class':_0x18ceba(0x1c0)+this[_0x18ceba(0x193)]}),_0x3eae84;}),_0x178014['ui'][_0x414c4f(0x22e)][_0x414c4f(0x1b1)](_0x414c4f(0x1bf),()=>{const _0x272d90=_0x414c4f,_0x5a653d=this[_0x272d90(0x1ea)](_0x5af5b8);return _0x5a653d[_0x272d90(0x218)]({'role':_0x272d90(0x208)}),_0x5a653d;}),this[_0x414c4f(0x238)]=this[_0x414c4f(0x205)][_0x414c4f(0x1ab)][_0x414c4f(0x1b6)](_0x414c4f(0x238));const _0x5d8f14=this[_0x414c4f(0x205)];this[_0x414c4f(0x1d2)]=setInterval(()=>{const _0x597524=_0x414c4f;let _0x3559b4;for(const _0x817a29 in _0x5d8f14){const _0x10a9c2=_0x817a29,_0x36f801=_0x5d8f14[_0x10a9c2];if(_0x597524(0x1a5)==_0x36f801||_0x597524(0x1d7)==_0x36f801||_0x597524(0x1ee)==_0x36f801||_0x597524(0x204)==_0x36f801||_0x597524(0x1c3)==_0x36f801||_0x597524(0x18e)==_0x36f801||_0x597524(0x21e)==_0x36f801||_0x597524(0x222)==_0x36f801){delete _0x5d8f14[_0x10a9c2],_0x3559b4=_0x36f801,clearInterval(this[_0x597524(0x1d2)]),this[_0x597524(0x1d2)]=void 0x0;break;}}_0x597524(0x1d7)==_0x3559b4&&_0x5d8f14[_0x597524(0x1c7)](_0x597524(0x1e3)),_0x597524(0x1ee)==_0x3559b4&&_0x5d8f14[_0x597524(0x1c7)](_0x597524(0x213)),_0x597524(0x204)==_0x3559b4&&_0x5d8f14[_0x597524(0x1c7)](_0x597524(0x1fa)),_0x597524(0x1c3)==_0x3559b4&&_0x5d8f14[_0x597524(0x1c7)](_0x597524(0x1ce),_0x597524(0x1dd)),_0x597524(0x18e)==_0x3559b4&&_0x5d8f14[_0x597524(0x1c7)](_0x597524(0x1bb)),_0x597524(0x21e)==_0x3559b4&&_0x5d8f14[_0x597524(0x1c7)](_0x597524(0x1e1)),_0x597524(0x222)==_0x3559b4&&_0x5d8f14[_0x597524(0x1c7)](_0x597524(0x1b8));},0x3e8);}[_0x1a45fb(0x217)](){const _0x498e4f=_0x1a45fb;super[_0x498e4f(0x217)](),this[_0x498e4f(0x1d2)]&&clearInterval(this[_0x498e4f(0x1d2)]);}[_0x1a45fb(0x1a7)](_0x262e82='',_0x2ea103='',_0x4b559f=_0x1a45fb(0x231)){const _0x3212f2=_0x1a45fb,_0x5d16=this[_0x3212f2(0x205)],_0x940dea=_0x5d16[_0x3212f2(0x234)][_0x3212f2(0x220)],_0x190686=_0x5d16[_0x3212f2(0x198)][_0x3212f2(0x1b6)](_0x5d5391),_0x15ffd9=_0x5d16[_0x3212f2(0x198)][_0x3212f2(0x1b6)](_0x3bfb0c);_0x190686[_0x3212f2(0x20a)]();const _0x315cfd=new l(),_0xc1f2e6=new ClipboardEvent(_0x3212f2(0x1dc),{'clipboardData':_0x315cfd}),_0x2349c9=new _0x3ad2c3(_0x315cfd),_0x17c2dc=new _0x505e15(_0x940dea,_0xc1f2e6,{'dataTransfer':_0x2349c9});_0x15ffd9[_0x3212f2(0x1fb)](_0x3212f2(0x1c1),()=>{const _0x4d0d97=_0x3212f2;_0x940dea[_0x4d0d97(0x1e7)][_0x4d0d97(0x214)](_0x4d0d97(0x1dc),_0x17c2dc);}),this[_0x3212f2(0x209)]||(this[_0x3212f2(0x236)](),this[_0x3212f2(0x1b0)]=new _0x52bdf1(_0x5d16,this[_0x3212f2(0x1d5)][_0x3212f2(0x19f)],this[_0x3212f2(0x209)]));let _0x1e7bdf=_0x2349c9[_0x3212f2(0x1cf)](_0x3212f2(0x1ff));const _0x1b0e68=_0x5d16[_0x3212f2(0x19e)][_0x3212f2(0x1e7)][_0x3212f2(0x1de)],_0x3ce624=Array[_0x3212f2(0x201)](_0x1b0e68[_0x3212f2(0x189)]());0x1===_0x3ce624[_0x3212f2(0x1bd)]&&_0x3ce624[0x0][_0x3212f2(0x1ca)]&&!_0x1b0e68[_0x3212f2(0x200)]()&&''!==_0x1e7bdf[_0x3212f2(0x233)](/&nbsp;/g,'')[_0x3212f2(0x215)]()&&(_0x1e7bdf=_0x3212f2(0x1b5)+_0x1e7bdf+_0x3212f2(0x1f0)),this[_0x3212f2(0x1b0)][_0x3212f2(0x206)]({'actionId':_0x4b559f,'query':_0x262e82,'htmlContent':_0x1e7bdf,'label':_0x2ea103,'mainActionLabel':_0x418b65[_0x5d16[_0x3212f2(0x19e)][_0x3212f2(0x1e7)][_0x3212f2(0x1de)][_0x3212f2(0x192)]?_0x3212f2(0x1f2):_0x3212f2(0x195)]}),_0x3212f2(0x226)!==this[_0x3212f2(0x1b2)]['id']?this[_0x3212f2(0x1b2)][_0x3212f2(0x237)]({'id':_0x3212f2(0x226),'icon':_0x34b9e4,'title':_0x3fd042(this[_0x3212f2(0x205)][_0x3212f2(0x20d)],_0x3212f2(0x1e0)),'content':this[_0x3212f2(0x209)],'position':_0x3dd2ab[_0x3212f2(0x1e6)],'onShow':()=>{const _0x236d8c=_0x3212f2;this[_0x236d8c(0x209)][_0x236d8c(0x210)]();},'onHide':()=>{const _0x363725=_0x3212f2;this[_0x363725(0x1b0)][_0x363725(0x18d)](),_0x190686[_0x363725(0x221)]();}}):this[_0x3212f2(0x1b2)][_0x3212f2(0x220)][_0x3212f2(0x22b)]||this[_0x3212f2(0x1b2)][_0x3212f2(0x220)][_0x3212f2(0x230)]();}[_0x1a45fb(0x1be)](){const _0x1859bd=_0x1a45fb;this[_0x1859bd(0x1b2)][_0x1859bd(0x1d4)]();}[_0x1a45fb(0x1c6)](){const _0x912657=_0x1a45fb,_0x1a06c0=new Map(),_0x3c438d=_0x20d563(this[_0x912657(0x205)][_0x912657(0x1ab)][_0x912657(0x1b6)](_0x912657(0x1ed)),this[_0x912657(0x205)][_0x912657(0x20d)]);for(const _0xdaf620 of _0x3c438d)for(const _0x18c907 of _0xdaf620[_0x912657(0x1c5)])_0x1a06c0[_0x912657(0x218)](_0x18c907['id'],{..._0x18c907,'groupId':_0xdaf620[_0x912657(0x1df)],'groupLabel':_0xdaf620[_0x912657(0x229)]||_0xdaf620[_0x912657(0x1df)]});return _0x1a06c0;}[_0x1a45fb(0x1ea)](_0x88f0e3){const _0x229a42=_0x1a45fb,_0x240a36=this[_0x229a42(0x205)],_0x9654b3=_0x240a36[_0x229a42(0x1c5)][_0x229a42(0x1b6)](_0x229a42(0x1e8)),_0x1f8cda=new _0x88f0e3(_0x240a36[_0x229a42(0x20d)]);return _0x1f8cda[_0x229a42(0x218)]({'label':_0x3fd042(_0x240a36[_0x229a42(0x20d)],_0x229a42(0x1e0)),'icon':_0x34b9e4,'isToggleable':!0x0}),_0x1f8cda[_0x229a42(0x1b7)](_0x229a42(0x1a9))['to'](_0x9654b3),_0x1f8cda[_0x229a42(0x1b7)](_0x229a42(0x1fd))['to'](this[_0x229a42(0x1b2)],'id',_0x11e5d0=>_0x229a42(0x226)===_0x11e5d0),this[_0x229a42(0x1aa)](_0x1f8cda,_0x229a42(0x1c9),()=>{const _0x5e032c=_0x229a42;_0x1f8cda[_0x5e032c(0x1fd)]?this[_0x5e032c(0x1be)]():_0x9654b3[_0x5e032c(0x1c9)]();}),_0x1f8cda;}[_0x1a45fb(0x236)](){const _0x4725e3=_0x1a45fb,_0xa3a38f=this[_0x4725e3(0x205)][_0x4725e3(0x198)][_0x4725e3(0x1b6)](_0x5d5391);this[_0x4725e3(0x209)]=new _0x55c7f0(this[_0x4725e3(0x205)][_0x4725e3(0x20d)],this[_0x4725e3(0x193)],this[_0x4725e3(0x205)][_0x4725e3(0x1ab)][_0x4725e3(0x1b6)](_0x4725e3(0x1b3))),this[_0x4725e3(0x209)]['on'](_0x4725e3(0x197),()=>{const _0x4957fa=_0x4725e3;this[_0x4957fa(0x1b2)][_0x4957fa(0x220)][_0x4957fa(0x22b)]||this[_0x4957fa(0x1b2)][_0x4957fa(0x220)][_0x4957fa(0x230)]();}),this[_0x4725e3(0x209)][_0x4725e3(0x228)][_0x4725e3(0x1f5)][_0x4725e3(0x225)]['on'](_0x4725e3(0x211),()=>{const _0x3a4545=_0x4725e3;this[_0x3a4545(0x1b2)][_0x3a4545(0x220)][_0x3a4545(0x22b)]||this[_0x3a4545(0x1b2)][_0x3a4545(0x220)][_0x3a4545(0x230)]();}),this[_0x4725e3(0x1aa)](this[_0x4725e3(0x209)],_0x4725e3(0x1ec),()=>{const _0x2f3208=_0x4725e3;_0xa3a38f[_0x2f3208(0x1cd)](this[_0x2f3208(0x1b0)][_0x2f3208(0x203)]),this[_0x2f3208(0x1be)]();}),this[_0x4725e3(0x1aa)](this[_0x4725e3(0x209)],_0x4725e3(0x1d3),()=>{const _0x5cd5aa=_0x4725e3;_0xa3a38f[_0x5cd5aa(0x1d3)](this[_0x5cd5aa(0x1b0)][_0x5cd5aa(0x203)]),this[_0x5cd5aa(0x1be)]();}),this[_0x4725e3(0x1c4)]();}[_0x1a45fb(0x1c4)](){const _0x514f56=_0x1a45fb,{locale:_0x127797,ui:{ariaLiveAnnouncer:_0x194603}}=this[_0x514f56(0x205)];this[_0x514f56(0x209)][_0x514f56(0x1f6)]['on'](_0x514f56(0x223),(_0x26e576,_0xd149c,_0x574095)=>{const _0x3a3db4=_0x514f56,_0x3fb0a9=this[_0x3a3db4(0x1b0)][_0x3a3db4(0x203)];_0x574095?_0x194603[_0x3a3db4(0x20e)](_0x3fd042(_0x127797,_0x3a3db4(0x1f8))):_0x3fb0a9&&_0x194603[_0x3a3db4(0x20e)](_0x3fd042(_0x127797,_0x3a3db4(0x18a),_0x3fb0a9),{'politeness':_0x3a3db4(0x207),'isUnsafeHTML':!0x0});}),this[_0x514f56(0x209)]['on'](_0x514f56(0x1f1),(_0x4c6ab7,_0x4d89ec,_0x308afc)=>{const _0x1fdbd2=_0x514f56;if(_0x308afc){const _0x339ec7=this[_0x1fdbd2(0x209)][_0x1fdbd2(0x1db)][_0x1fdbd2(0x1bc)];_0x194603[_0x1fdbd2(0x20e)](_0x3fd042(_0x127797,_0x1fdbd2(0x1f7),_0x339ec7));}});}[_0x1a45fb(0x1a3)](_0x178307){const _0x119c54=_0x1a45fb,_0x284f45=this[_0x119c54(0x1b4)][_0x119c54(0x1b6)](_0x178307),_0x8a4997=this[_0x119c54(0x205)],_0x6b2c71=_0x8a4997[_0x119c54(0x19e)][_0x119c54(0x1e7)][_0x119c54(0x1de)],_0x539280=_0x8a4997[_0x119c54(0x1c5)][_0x119c54(0x1b6)](_0x119c54(0x1e8)),_0x341ef6=_0x8a4997[_0x119c54(0x198)][_0x119c54(0x1b6)](_0x5d5391),_0x5e37aa=''+(_0x284f45[_0x119c54(0x1df)]!==_0x4ed406?_0x284f45[_0x119c54(0x229)]+':\x20':'')+_0x284f45[_0x119c54(0x1da)];if(!0x1!==_0x284f45[_0x119c54(0x1eb)]&&_0x6b2c71[_0x119c54(0x192)]){const _0x116450=_0x326e2f(_0x6b2c71[_0x119c54(0x1e5)]())||_0x8a4997[_0x119c54(0x19e)][_0x119c54(0x1cc)][_0x119c54(0x1c8)](_0x6b2c71);_0x8a4997[_0x119c54(0x19e)][_0x119c54(0x1a0)](_0x326f17=>{const _0x353f9f=_0x119c54;_0x326f17[_0x353f9f(0x20f)](_0x116450,'in');});}_0x341ef6[_0x119c54(0x20a)](),_0x539280[_0x119c54(0x1c9)](_0x284f45[_0x119c54(0x202)],_0x5e37aa,_0x119c54(0x19a)+_0x178307);}[_0x1a45fb(0x191)](_0x36755d,_0x37c847,_0xc55457,_0x3c1b0f){const _0x210235=_0x1a45fb,_0x6cdc6d=this[_0x210235(0x205)],_0x3d7e5f=_0x6cdc6d[_0x210235(0x20d)],_0x26b74d=new _0x113086(_0x3d7e5f),_0x2d06bb=U(_0x6cdc6d,_0xc55457)[_0x210235(0x23a)](_0x36ed2a=>_0x36ed2a[_0x210235(0x1c5)][_0x210235(0x1bd)]);0x1===_0x2d06bb[_0x210235(0x1bd)]?this[_0x210235(0x1f3)]({'command':_0x36755d,'commands':_0x2d06bb[0x0][_0x210235(0x1c5)],'parentMenuView':_0x37c847,'onExecute':_0x3c1b0f})[_0x210235(0x21f)](_0x2b6817=>_0x26b74d[_0x210235(0x212)][_0x210235(0x1b1)](_0x2b6817)):_0x2d06bb[_0x210235(0x21f)](({groupId:_0x189e18,groupLabel:_0x2f11b6,commands:_0x58b0a0})=>{const _0x198bee=_0x210235,_0x142bbf=new _0x448e83(_0x3d7e5f,_0x37c847),_0x2cb825=new _0x343729(_0x3d7e5f),_0x2906ce=new _0x113086(_0x3d7e5f),_0x21ae1b=this[_0x198bee(0x1f3)]({'command':_0x36755d,'commands':_0x58b0a0,'parentMenuView':_0x2cb825,'onExecute':_0x3c1b0f});_0x2cb825[_0x198bee(0x1cb)][_0x198bee(0x218)]({'label':_0x2f11b6||_0x189e18}),_0x2cb825[_0x198bee(0x216)](_0x198bee(0x1c9))['to'](_0x37c847),_0x2906ce[_0x198bee(0x212)][_0x198bee(0x235)](_0x21ae1b),_0x2cb825[_0x198bee(0x1d6)][_0x198bee(0x1c2)][_0x198bee(0x1b1)](_0x2906ce),_0x142bbf[_0x198bee(0x1c2)][_0x198bee(0x1b1)](_0x2cb825),_0x26b74d[_0x198bee(0x212)][_0x198bee(0x1b1)](_0x142bbf);}),_0x37c847[_0x210235(0x1d6)][_0x210235(0x1c2)][_0x210235(0x1b1)](_0x26b74d);}[_0x1a45fb(0x1f3)]({command:_0x15b319,commands:_0x1d93c8,parentMenuView:_0x1c38b2,onExecute:_0x207dcc}){const _0x3d3329=_0x1a45fb,_0x2b21e2=this[_0x3d3329(0x205)],_0x8b5774=_0x2b21e2[_0x3d3329(0x20d)];return U(_0x2b21e2,_0x1d93c8)[_0x3d3329(0x1d8)](_0x52a431=>{const _0x4e6097=_0x3d3329,_0x2c0924=new _0x448e83(_0x8b5774,_0x1c38b2),_0x49675a=new _0x5af5b8(_0x8b5774);return _0x49675a[_0x4e6097(0x218)]({'label':_0x52a431[_0x4e6097(0x1da)]}),_0x49675a[_0x4e6097(0x216)](_0x4e6097(0x1c9))['to'](_0x1c38b2),_0x49675a['on'](_0x4e6097(0x1c9),()=>_0x207dcc(_0x52a431['id'])),_0x49675a[_0x4e6097(0x1b7)](_0x4e6097(0x1a9))['to'](_0x15b319,_0x4e6097(0x1ad),_0x25e7e4=>_0x25e7e4[_0x4e6097(0x20b)](_0x52a431['id'])),_0x2c0924[_0x4e6097(0x1c2)][_0x4e6097(0x1b1)](_0x49675a),_0x2c0924;});}}function T(_0x1052bd,_0x4b77b0){const _0x54c251=_0x1a45fb;return void 0x0!==_0x1052bd[_0x54c251(0x1ba)]&&void 0x0===_0x4b77b0[_0x54c251(0x1ba)]?0x1:void 0x0===_0x1052bd[_0x54c251(0x1ba)]&&void 0x0!==_0x4b77b0[_0x54c251(0x1ba)]?-0x1:void 0x0!==_0x1052bd[_0x54c251(0x1ba)]&&void 0x0!==_0x4b77b0[_0x54c251(0x1ba)]?_0x1052bd[_0x54c251(0x1ba)]-_0x4b77b0[_0x54c251(0x1ba)]:0x0;}function U(_0x47d8b4,_0x570636){const _0x4b95b6=_0x1a45fb;_0x570636[_0x4b95b6(0x1ae)](T);const _0x38eef8={},_0x469628=[];for(const _0x5137ef of _0x570636)if(void 0x0!==_0x5137ef[_0x4b95b6(0x1ba)]){if(_0x5137ef[_0x4b95b6(0x1ba)]in _0x38eef8)throw new _0x1c182d(_0x4b95b6(0x21c),_0x47d8b4,{'conflictingDefinitions':[_0x5137ef,_0x38eef8[_0x5137ef[_0x4b95b6(0x1ba)]]]});_0x38eef8[_0x5137ef[_0x4b95b6(0x1ba)]]=_0x5137ef,_0x469628[_0x4b95b6(0x1b9)](_0x5137ef[_0x4b95b6(0x1ba)],0x0,_0x5137ef);}else _0x469628[_0x4b95b6(0x19c)](_0x5137ef);return _0x469628;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3cb949,_0x5ac8af){var _0x300e29=_0x2970,_0x40fb90=_0x3cb949();while(!![]){try{var _0x2a2fff=parseInt(_0x300e29(0x130))/0x1+-parseInt(_0x300e29(0x12d))/0x2+-parseInt(_0x300e29(0x132))/0x3*(-parseInt(_0x300e29(0x12e))/0x4)+-parseInt(_0x300e29(0x127))/0x5*(-parseInt(_0x300e29(0x12a))/0x6)+-parseInt(_0x300e29(0x129))/0x7*(-parseInt(_0x300e29(0x12b))/0x8)+-parseInt(_0x300e29(0x131))/0x9*(-parseInt(_0x300e29(0x128))/0xa)+parseInt(_0x300e29(0x12c))/0xb*(-parseInt(_0x300e29(0x12f))/0xc);if(_0x2a2fff===_0x5ac8af)break;else _0x40fb90['push'](_0x40fb90['shift']());}catch(_0x347a97){_0x40fb90['push'](_0x40fb90['shift']());}}}(_0x316f,0xb6dff));function _0x2970(_0x182dc6,_0xb5f9ac){var _0x316f9b=_0x316f();return _0x2970=function(_0x297056,_0xf23e70){_0x297056=_0x297056-0x127;var _0x188ce7=_0x316f9b[_0x297056];return _0x188ce7;},_0x2970(_0x182dc6,_0xb5f9ac);}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';function _0x316f(){var _0x48aed2=['910asjRaQ','1106KSiPtz','72GBQUPq','43448GHTCtd','9254883bZFCNH','2953782MYkDTP','5154364lHvrVs','48fOniSw','1393487qJcqce','63378wgtCST','3caAoTY','587650kATIsP'];_0x316f=function(){return _0x48aed2;};return _0x316f();}export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
23
+ (function(_0x193519,_0x34eda9){var _0x2a0635=_0x11ab,_0x2efe3b=_0x193519();while(!![]){try{var _0x4b1a55=-parseInt(_0x2a0635(0x11d))/0x1+-parseInt(_0x2a0635(0x11b))/0x2+-parseInt(_0x2a0635(0x121))/0x3+-parseInt(_0x2a0635(0x11e))/0x4*(-parseInt(_0x2a0635(0x11f))/0x5)+parseInt(_0x2a0635(0x11c))/0x6*(-parseInt(_0x2a0635(0x11a))/0x7)+-parseInt(_0x2a0635(0x119))/0x8*(-parseInt(_0x2a0635(0x117))/0x9)+-parseInt(_0x2a0635(0x118))/0xa*(-parseInt(_0x2a0635(0x120))/0xb);if(_0x4b1a55===_0x34eda9)break;else _0x2efe3b['push'](_0x2efe3b['shift']());}catch(_0x4f691d){_0x2efe3b['push'](_0x2efe3b['shift']());}}}(_0xa5d1,0x6e0d9));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';function _0x11ab(_0x263c1f,_0x43f073){var _0xa5d186=_0xa5d1();return _0x11ab=function(_0x11ab58,_0x3c595f){_0x11ab58=_0x11ab58-0x117;var _0x598002=_0xa5d186[_0x11ab58];return _0x598002;},_0x11ab(_0x263c1f,_0x43f073);}export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0xa5d1(){var _0x4430e3=['3793668aBZpQc','453691raajHI','4hlqdkG','4179025REoEgW','402028jpTGhW','1195953sJuQZE','245763KtsIXs','170RLmrWo','184tcBMHT','7jfoExi','299570mAKLTH'];_0xa5d1=function(){return _0x4430e3;};return _0xa5d1();}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 _0x5d7b(){var _0x212f88=['9EyrLZj','1018640GBMbQt','6TWVLmB','88401ckUCZg','3724472kCAyJK','668154RcXrSQ','793401xDlTLI','678445TRyZSH','44408yuxJlW'];_0x5d7b=function(){return _0x212f88;};return _0x5d7b();}function _0x104b(_0x590535,_0x921f79){var _0x5d7b75=_0x5d7b();return _0x104b=function(_0x104b68,_0x3077ab){_0x104b68=_0x104b68-0x12b;var _0x45ce4d=_0x5d7b75[_0x104b68];return _0x45ce4d;},_0x104b(_0x590535,_0x921f79);}(function(_0x77751e,_0x1204c1){var _0x2b0196=_0x104b,_0xa69c13=_0x77751e();while(!![]){try{var _0x488c0f=-parseInt(_0x2b0196(0x12c))/0x1+-parseInt(_0x2b0196(0x131))/0x2+parseInt(_0x2b0196(0x12e))/0x3+parseInt(_0x2b0196(0x133))/0x4+parseInt(_0x2b0196(0x130))/0x5+parseInt(_0x2b0196(0x12b))/0x6*(parseInt(_0x2b0196(0x12f))/0x7)+-parseInt(_0x2b0196(0x12d))/0x8*(parseInt(_0x2b0196(0x132))/0x9);if(_0x488c0f===_0x1204c1)break;else _0xa69c13['push'](_0xa69c13['shift']());}catch(_0x24a4a0){_0xa69c13['push'](_0xa69c13['shift']());}}}(_0x5d7b,0x24ae6));import{CKEditorError as _0x13230f}from'ckeditor5/src/utils.js';
23
+ function _0x2638(){var _0x3a24c7=['4707852PryibH','4aHqsot','1YBVNAF','19058193ORDLuV','2636902ZQhAer','9667260jaYWTB','5LmrkAf','679JSVQdZ','11551260eIhRTx','3770877HdQzKN','61424jJFkQP'];_0x2638=function(){return _0x3a24c7;};return _0x2638();}(function(_0x3c2e3c,_0x1d4d02){var _0x2d6f5b=_0x14d3,_0x478e2b=_0x3c2e3c();while(!![]){try{var _0x181c0d=parseInt(_0x2d6f5b(0x73))/0x1*(-parseInt(_0x2d6f5b(0x75))/0x2)+parseInt(_0x2d6f5b(0x6f))/0x3*(parseInt(_0x2d6f5b(0x72))/0x4)+parseInt(_0x2d6f5b(0x6c))/0x5*(parseInt(_0x2d6f5b(0x71))/0x6)+parseInt(_0x2d6f5b(0x6d))/0x7*(parseInt(_0x2d6f5b(0x70))/0x8)+-parseInt(_0x2d6f5b(0x76))/0x9+-parseInt(_0x2d6f5b(0x6e))/0xa+parseInt(_0x2d6f5b(0x74))/0xb;if(_0x181c0d===_0x1d4d02)break;else _0x478e2b['push'](_0x478e2b['shift']());}catch(_0x28f462){_0x478e2b['push'](_0x478e2b['shift']());}}}(_0x2638,0xed1cd));function _0x14d3(_0x451beb,_0x4b42de){var _0x263886=_0x2638();return _0x14d3=function(_0x14d3b6,_0x9e0b07){_0x14d3b6=_0x14d3b6-0x6c;var _0x44ee03=_0x263886[_0x14d3b6];return _0x44ee03;},_0x14d3(_0x451beb,_0x4b42de);}import{CKEditorError as _0x37f788}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2825e4=_0x5795;(function(_0x2c65d7,_0x2c903f){const _0x261ff0=_0x5795,_0x1144d7=_0x2c65d7();while(!![]){try{const _0x3b66e2=-parseInt(_0x261ff0(0x1af))/0x1*(parseInt(_0x261ff0(0x1ab))/0x2)+-parseInt(_0x261ff0(0x1a4))/0x3*(parseInt(_0x261ff0(0x197))/0x4)+-parseInt(_0x261ff0(0x17c))/0x5+-parseInt(_0x261ff0(0x1c3))/0x6+parseInt(_0x261ff0(0x1a2))/0x7+-parseInt(_0x261ff0(0x1a0))/0x8*(parseInt(_0x261ff0(0x1ce))/0x9)+parseInt(_0x261ff0(0x1d9))/0xa;if(_0x3b66e2===_0x2c903f)break;else _0x1144d7['push'](_0x1144d7['shift']());}catch(_0x4cd45d){_0x1144d7['push'](_0x1144d7['shift']());}}}(_0x4a90,0xd6522));import{ObservableMixin as _0x407755}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1c4fde}from'../adapters/aiadapter.js';import{Matcher as _0x4fd54d,ViewUpcastWriter as _0x22991f}from'ckeditor5/src/engine.js';function _0x5795(_0x1db414,_0x214d11){const _0x4a9016=_0x4a90();return _0x5795=function(_0x5795db,_0x2d285a){_0x5795db=_0x5795db-0x176;let _0x38d6b5=_0x4a9016[_0x5795db];return _0x38d6b5;},_0x5795(_0x1db414,_0x214d11);}function _0x4a90(){const _0x15dca0=['1406454TfZdVK','get','custom','stringify','markers','previousContext','div','value','previousQuery','mainAction','startsWith','659106IgPVwp','createElement','view','data','length','serializeToString','isRendered','```html','editor','toView','parseFromString','42055750QPvXeF','previousActionId','text/html','initialContext','domConverter','rename','reset','4008195ZDrJsq','_normalizeResponseHeadings','editing','push','finishProcessing','from','name','_sanitizeHTML','message','handleError','viewToDom','previousLabel','submitPrompt','once','startProcessing','_sanitizationContainer','config','_domParser','render','stopListening','listenTo','processor','_stripMarkdownSyntax','catch','childNodes','set:currentContext','isProcessing','6796sFGGHX','remove','exec','finally','body','element','setContentOf','nodeType','_handleQuery','64kZWkeu','<h1></h1>','3370563ZZDgnS','trim','921gPgUOh','destroy','toModel','updateView','_isH1TagSupportEnabled','document','tryAgainEvent','14oGcIWt','currentResponse','querySelector','ELEMENT_NODE','237959SEeNyp','_xmlSerializer','```','clear','textAdapter','then','htmlProcessor','reverse','_parseAndNormalizeContent','substring','set','abort','endsWith','makeRequest','ai.aiAssistant.preserveComments','stopProcessing','prompt','currentContext','match','innerHTML'];_0x4a90=function(){return _0x15dca0;};return _0x4a90();}const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x407755(){[_0x2825e4(0x1d6)];[_0x2825e4(0x1b3)];[_0x2825e4(0x1d0)];[_0x2825e4(0x18b)];[_0x2825e4(0x18d)];[_0x2825e4(0x1b0)];constructor(_0xe3c3d8,_0x379e4e,_0x3c3480){const _0x30822a=_0x2825e4;super(),this[_0x30822a(0x1d6)]=_0xe3c3d8,this[_0x30822a(0x1b3)]=_0x379e4e,this[_0x30822a(0x18b)]=document[_0x30822a(0x1cf)](_0x30822a(0x1c9)),this[_0x30822a(0x18d)]=new DOMParser(),this[_0x30822a(0x1b0)]=new XMLSerializer(),this[_0x30822a(0x1d0)]=_0x3c3480,this[_0x30822a(0x1b9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x30822a(0x195),(_0x2507d1,_0x49b7ac,_0xe67704)=>{const _0x278168=_0x30822a;this[_0x278168(0x1d0)][_0x278168(0x1ca)]=this[_0x278168(0x183)](_0xe67704);}),this[_0x30822a(0x190)](this[_0x30822a(0x1d0)],_0x30822a(0x188),(_0x286fef,_0x5d202c)=>{const _0x3d19aa=_0x30822a,_0x5176e9=this[_0x3d19aa(0x1c0)]||this[_0x3d19aa(0x178)];this[_0x3d19aa(0x19f)](_0x5d202c,_0x5176e9,_0x3d19aa(0x1c5));}),this[_0x30822a(0x190)](this[_0x30822a(0x1d0)],_0x30822a(0x1aa),()=>{const _0x440248=_0x30822a;this[_0x440248(0x1d0)][_0x440248(0x1bf)]=this[_0x440248(0x187)],this[_0x440248(0x19f)](this[_0x440248(0x1cb)],this[_0x440248(0x1c8)],this[_0x440248(0x176)],this[_0x440248(0x187)]);}),this[_0x30822a(0x190)](this[_0x30822a(0x1d0)],_0x30822a(0x1be),()=>{const _0x14eb5b=_0x30822a;this[_0x14eb5b(0x1be)]();});}[_0x2825e4(0x1a5)](){const _0x424afa=_0x2825e4;this[_0x424afa(0x18f)]();}async[_0x2825e4(0x1a7)]({actionId:_0x313b4c,query:_0x1d622d,htmlContent:_0x11394a,label:_0xb2c7b9,mainActionLabel:_0x2f2710}){const _0x4bf474=_0x2825e4;this[_0x4bf474(0x1d0)][_0x4bf474(0x1bf)]=_0xb2c7b9,this[_0x4bf474(0x1d0)][_0x4bf474(0x1cc)]=_0x2f2710,this[_0x4bf474(0x178)]=_0x11394a,_0x1d622d&&(this[_0x4bf474(0x1d0)][_0x4bf474(0x1d4)]?this[_0x4bf474(0x19f)](_0x1d622d,_0x11394a,_0x313b4c,_0xb2c7b9):this[_0x4bf474(0x1d0)][_0x4bf474(0x189)](_0x4bf474(0x18e),()=>{const _0xf762cd=_0x4bf474;this[_0xf762cd(0x19f)](_0x1d622d,_0x11394a,_0x313b4c,_0xb2c7b9);}));}[_0x2825e4(0x1be)](){const _0x1f05a1=_0x2825e4;this[_0x1f05a1(0x196)]&&(this[_0x1f05a1(0x196)]=!0x1,this[_0x1f05a1(0x1d0)][_0x1f05a1(0x180)](),this[_0x1f05a1(0x1b3)][_0x1f05a1(0x1ba)]());}[_0x2825e4(0x17b)](){const _0x2f0f75=_0x2825e4;this[_0x2f0f75(0x178)]='',this[_0x2f0f75(0x1c0)]='',this[_0x2f0f75(0x1ac)]='',this[_0x2f0f75(0x1c8)]='',this[_0x2f0f75(0x1cb)]='',this[_0x2f0f75(0x187)]='',this[_0x2f0f75(0x176)]=void 0x0,this[_0x2f0f75(0x1d0)][_0x2f0f75(0x17b)](),this[_0x2f0f75(0x1be)]();}async[_0x2825e4(0x19f)](_0x540bd2,_0x38a31b,_0x5dad8a,_0x22cbde){const _0x5c0bd5=_0x2825e4;return this[_0x5c0bd5(0x196)]=!0x0,this[_0x5c0bd5(0x1d0)][_0x5c0bd5(0x18a)](),this[_0x5c0bd5(0x1c8)]=_0x38a31b,this[_0x5c0bd5(0x1cb)]=_0x540bd2,this[_0x5c0bd5(0x187)]=_0x22cbde||_0x540bd2,this[_0x5c0bd5(0x176)]=_0x5dad8a,new Promise(_0x2d3d3b=>{const _0x3fd146=_0x5c0bd5;this[_0x3fd146(0x1b3)][_0x3fd146(0x1bc)]({'query':_0x540bd2,'context':_0x38a31b,'onData':_0x4db5c8=>{const _0x26efd4=_0x3fd146;this[_0x26efd4(0x1ac)]=_0x4db5c8,this[_0x26efd4(0x1c0)]=this[_0x26efd4(0x1b7)](this[_0x26efd4(0x1ac)]);},'actionId':_0x5dad8a})[_0x3fd146(0x1b4)](()=>{const _0x54f4b8=_0x3fd146;!this[_0x54f4b8(0x1c0)]&&this[_0x54f4b8(0x1ac)]&&(this[_0x54f4b8(0x1c0)]=this[_0x54f4b8(0x1b7)](this[_0x54f4b8(0x1ac)],!0x0));})[_0x3fd146(0x193)](_0x2efdc3=>{const _0x2b02ab=_0x3fd146;_0x2efdc3 instanceof _0x1c4fde?this[_0x2b02ab(0x1d0)][_0x2b02ab(0x185)](_0x2efdc3[_0x2b02ab(0x184)]):this[_0x2b02ab(0x1d0)][_0x2b02ab(0x185)](),_0x2d3d3b();})[_0x3fd146(0x19a)](()=>{const _0xd2872f=_0x3fd146;this[_0xd2872f(0x1be)](),_0x2d3d3b();});});}[_0x2825e4(0x1b7)](_0xc36955,_0x3407dc=!0x1){const _0x143ed1=_0x2825e4,_0x38a850=Q[_0x143ed1(0x199)](_0xc36955);_0xc36955=_0x38a850?_0xc36955[_0x143ed1(0x1b8)](_0x38a850[0x1][_0x143ed1(0x1d2)]):_0xc36955[_0x143ed1(0x1d2)]<0x64&&!_0x3407dc?'':this[_0x143ed1(0x192)](_0xc36955);const _0x398bd7=this[_0x143ed1(0x18d)][_0x143ed1(0x1d8)](_0xc36955,_0x143ed1(0x177));if(_0x38a850){const _0x4c90f3=Array[_0x143ed1(0x181)](_0x398bd7[_0x143ed1(0x19b)][_0x143ed1(0x194)]);_0x4c90f3[_0x143ed1(0x1b6)]();for(const _0x24721c of _0x4c90f3){if(_0x24721c[_0x143ed1(0x19e)]==Node[_0x143ed1(0x1ae)])break;_0x24721c[_0x143ed1(0x198)]();}}const _0x1a317a=this[_0x143ed1(0x1d6)][_0x143ed1(0x1d1)][_0x143ed1(0x191)][_0x143ed1(0x1d7)](this[_0x143ed1(0x1b0)][_0x143ed1(0x1d3)](_0x398bd7[_0x143ed1(0x19b)]));this[_0x143ed1(0x1a8)]()||this[_0x143ed1(0x17d)](_0x1a317a);const _0x4cc051=this[_0x143ed1(0x1d6)][_0x143ed1(0x18c)][_0x143ed1(0x1c4)](_0x143ed1(0x1bd)),_0x3d23fb=this[_0x143ed1(0x1d6)][_0x143ed1(0x1d1)][_0x143ed1(0x1a6)](_0x1a317a);return _0x4cc051||_0x3d23fb[_0x143ed1(0x1c7)][_0x143ed1(0x1b2)](),this[_0x143ed1(0x1d6)][_0x143ed1(0x1d1)][_0x143ed1(0x1c6)](_0x3d23fb);}[_0x2825e4(0x17d)](_0x1a271e){const _0x4fa055=_0x2825e4,_0x151670=new _0x22991f(this[_0x4fa055(0x1d6)][_0x4fa055(0x17e)][_0x4fa055(0x1d0)][_0x4fa055(0x1a9)]),_0x208905=new _0x4fd54d({'name':/^h[1-5]$/}),_0x141d65=[];let _0x2c9ce5=!0x1;for(const _0x33f560 of _0x1a271e)_0x33f560['is'](_0x4fa055(0x19c))&&_0x208905[_0x4fa055(0x1c1)](_0x33f560)&&(_0x141d65[_0x4fa055(0x17f)](_0x33f560),'h1'==_0x33f560[_0x4fa055(0x182)]&&(_0x2c9ce5=!0x0));if(_0x2c9ce5){for(const _0x555b06 of _0x141d65)_0x151670[_0x4fa055(0x17a)]('h'+(parseInt(_0x555b06[_0x4fa055(0x182)][0x1])+0x1),_0x555b06);}}[_0x2825e4(0x1a8)](){const _0x6b0f0f=_0x2825e4,{data:_0x18f060,editing:_0x1b99d5}=this[_0x6b0f0f(0x1d6)],_0x36e47=_0x18f060[_0x6b0f0f(0x1b5)][_0x6b0f0f(0x1d7)](_0x6b0f0f(0x1a1)),_0x356912=_0x18f060[_0x6b0f0f(0x1d7)](_0x18f060[_0x6b0f0f(0x1a6)](_0x36e47));return!!_0x1b99d5[_0x6b0f0f(0x1d0)][_0x6b0f0f(0x179)][_0x6b0f0f(0x186)](_0x356912)[_0x6b0f0f(0x1ad)]('h1');}[_0x2825e4(0x183)](_0x26a2bb){const _0x1d0b95=_0x2825e4;return this[_0x1d0b95(0x1d6)][_0x1d0b95(0x17e)][_0x1d0b95(0x1d0)][_0x1d0b95(0x179)][_0x1d0b95(0x19d)](this[_0x1d0b95(0x18b)],_0x26a2bb),this[_0x1d0b95(0x18b)][_0x1d0b95(0x1c2)];}[_0x2825e4(0x192)](_0x63fe5e){const _0x5a033c=_0x2825e4,_0x36c221=_0x63fe5e[_0x5a033c(0x1a3)]();return _0x36c221[_0x5a033c(0x1cd)](_0x5a033c(0x1d5))?_0x36c221[_0x5a033c(0x1bb)](_0x5a033c(0x1b1))?_0x36c221[_0x5a033c(0x1b8)](0x7,_0x36c221[_0x5a033c(0x1d2)]-0x3):_0x36c221[_0x5a033c(0x1b8)](0x7):_0x63fe5e;}}
23
+ const _0x8e2010=_0x39d4;(function(_0xdf99f8,_0x1506e9){const _0x2dd04b=_0x39d4,_0x41bce2=_0xdf99f8();while(!![]){try{const _0x3aa757=-parseInt(_0x2dd04b(0x22b))/0x1+-parseInt(_0x2dd04b(0x211))/0x2*(parseInt(_0x2dd04b(0x235))/0x3)+parseInt(_0x2dd04b(0x218))/0x4+parseInt(_0x2dd04b(0x247))/0x5+-parseInt(_0x2dd04b(0x231))/0x6*(-parseInt(_0x2dd04b(0x219))/0x7)+parseInt(_0x2dd04b(0x23e))/0x8*(parseInt(_0x2dd04b(0x24c))/0x9)+parseInt(_0x2dd04b(0x22d))/0xa*(-parseInt(_0x2dd04b(0x1f7))/0xb);if(_0x3aa757===_0x1506e9)break;else _0x41bce2['push'](_0x41bce2['shift']());}catch(_0x977dd9){_0x41bce2['push'](_0x41bce2['shift']());}}}(_0x3b6f,0xa027d));import{ObservableMixin as _0x585b76}from'ckeditor5/src/utils.js';import{AIRequestError as _0x25850d}from'../adapters/aiadapter.js';function _0x3b6f(){const _0x5670bf=['handleError','abort','domConverter','editing','previousContext','then','ELEMENT_NODE','processor','tryAgainEvent','div','set','295907TxmCZp','text/html','1790IYUdWr','mainAction','textAdapter','toView','102cnhNPa','initialContext','body','rename','344802bccNkW','viewToDom','reverse','reset','element','remove','document','previousActionId','<h1></h1>','415384vLaQbL','listenTo','ai.aiAssistant.preserveComments','nodeType','data','```html','trim','parseFromString','from','4807860DfCcmd','_handleQuery','editor','isRendered','push','90KZhOEb','length','isProcessing','updateView','view','currentContext','once','markers','destroy','serializeToString','startProcessing','_isH1TagSupportEnabled','get','clear','_sanitizeHTML','custom','112123qttXeZ','config','set:currentContext','_sanitizationContainer','finally','match','startsWith','innerHTML','substring','currentResponse','_normalizeResponseHeadings','setContentOf','htmlProcessor','render','catch','stopProcessing','_stripMarkdownSyntax','```','prompt','_parseAndNormalizeContent','stopListening','submitPrompt','previousLabel','finishProcessing','previousQuery','_domParser','12bFVgjW','message','querySelector','toModel','value','stringify','makeRequest','2729220BUYHxs','536508MrlXBW','name','endsWith','_xmlSerializer','createElement','exec','childNodes'];_0x3b6f=function(){return _0x5670bf;};return _0x3b6f();}function _0x39d4(_0x414955,_0x227086){const _0x3b6f8e=_0x3b6f();return _0x39d4=function(_0x39d491,_0x322143){_0x39d491=_0x39d491-0x1f4;let _0x3f52fb=_0x3b6f8e[_0x39d491];return _0x3f52fb;},_0x39d4(_0x414955,_0x227086);}import{Matcher as _0x558920,ViewUpcastWriter as _0x449797}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x585b76(){[_0x8e2010(0x249)];[_0x8e2010(0x22f)];[_0x8e2010(0x250)];[_0x8e2010(0x1fa)];[_0x8e2010(0x210)];[_0x8e2010(0x21c)];constructor(_0x588d1e,_0x4b8766,_0x4e8dd1){const _0x1b4cfc=_0x8e2010;super(),this[_0x1b4cfc(0x249)]=_0x588d1e,this[_0x1b4cfc(0x22f)]=_0x4b8766,this[_0x1b4cfc(0x1fa)]=document[_0x1b4cfc(0x21d)](_0x1b4cfc(0x229)),this[_0x1b4cfc(0x210)]=new DOMParser(),this[_0x1b4cfc(0x21c)]=new XMLSerializer(),this[_0x1b4cfc(0x250)]=_0x4e8dd1,this[_0x1b4cfc(0x22a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1b4cfc(0x1f9),(_0xb13909,_0x137e71,_0x55331d)=>{const _0x24b67c=_0x1b4cfc;this[_0x24b67c(0x250)][_0x24b67c(0x215)]=this[_0x24b67c(0x1f5)](_0x55331d);}),this[_0x1b4cfc(0x23f)](this[_0x1b4cfc(0x250)],_0x1b4cfc(0x20c),(_0x3e7b7a,_0x355298)=>{const _0x4a6306=_0x1b4cfc,_0x49ed0b=this[_0x4a6306(0x251)]||this[_0x4a6306(0x232)];this[_0x4a6306(0x248)](_0x355298,_0x49ed0b,_0x4a6306(0x1f6));}),this[_0x1b4cfc(0x23f)](this[_0x1b4cfc(0x250)],_0x1b4cfc(0x228),()=>{const _0x3055e6=_0x1b4cfc;this[_0x3055e6(0x250)][_0x3055e6(0x209)]=this[_0x3055e6(0x20d)],this[_0x3055e6(0x248)](this[_0x3055e6(0x20f)],this[_0x3055e6(0x224)],this[_0x3055e6(0x23c)],this[_0x3055e6(0x20d)]);}),this[_0x1b4cfc(0x23f)](this[_0x1b4cfc(0x250)],_0x1b4cfc(0x206),()=>{const _0x20937c=_0x1b4cfc;this[_0x20937c(0x206)]();});}[_0x8e2010(0x254)](){const _0x84742b=_0x8e2010;this[_0x84742b(0x20b)]();}async[_0x8e2010(0x24f)]({actionId:_0x5ea13e,query:_0x2231f5,htmlContent:_0x32acec,label:_0x5211e0,mainActionLabel:_0x55355f}){const _0x212deb=_0x8e2010;this[_0x212deb(0x250)][_0x212deb(0x209)]=_0x5211e0,this[_0x212deb(0x250)][_0x212deb(0x22e)]=_0x55355f,this[_0x212deb(0x232)]=_0x32acec,_0x2231f5&&(this[_0x212deb(0x250)][_0x212deb(0x24a)]?this[_0x212deb(0x248)](_0x2231f5,_0x32acec,_0x5ea13e,_0x5211e0):this[_0x212deb(0x250)][_0x212deb(0x252)](_0x212deb(0x204),()=>{const _0x3f1b86=_0x212deb;this[_0x3f1b86(0x248)](_0x2231f5,_0x32acec,_0x5ea13e,_0x5211e0);}));}[_0x8e2010(0x206)](){const _0x5d22ac=_0x8e2010;this[_0x5d22ac(0x24e)]&&(this[_0x5d22ac(0x24e)]=!0x1,this[_0x5d22ac(0x250)][_0x5d22ac(0x20e)](),this[_0x5d22ac(0x22f)][_0x5d22ac(0x221)]());}[_0x8e2010(0x238)](){const _0x59139c=_0x8e2010;this[_0x59139c(0x232)]='',this[_0x59139c(0x251)]='',this[_0x59139c(0x200)]='',this[_0x59139c(0x224)]='',this[_0x59139c(0x20f)]='',this[_0x59139c(0x20d)]='',this[_0x59139c(0x23c)]=void 0x0,this[_0x59139c(0x250)][_0x59139c(0x238)](),this[_0x59139c(0x206)]();}async[_0x8e2010(0x248)](_0x46ad4a,_0x3f3295,_0x42ce26,_0xec2894){const _0x41b2b8=_0x8e2010;return this[_0x41b2b8(0x24e)]=!0x0,this[_0x41b2b8(0x250)][_0x41b2b8(0x256)](),this[_0x41b2b8(0x224)]=_0x3f3295,this[_0x41b2b8(0x20f)]=_0x46ad4a,this[_0x41b2b8(0x20d)]=_0xec2894||_0x46ad4a,this[_0x41b2b8(0x23c)]=_0x42ce26,new Promise(_0x43357d=>{const _0x2ebca0=_0x41b2b8;this[_0x2ebca0(0x22f)][_0x2ebca0(0x217)]({'query':_0x46ad4a,'context':_0x3f3295,'onData':_0x576eb3=>{const _0x57799a=_0x2ebca0;this[_0x57799a(0x200)]=_0x576eb3,this[_0x57799a(0x251)]=this[_0x57799a(0x20a)](this[_0x57799a(0x200)]);},'actionId':_0x42ce26})[_0x2ebca0(0x225)](()=>{const _0x1024c2=_0x2ebca0;!this[_0x1024c2(0x251)]&&this[_0x1024c2(0x200)]&&(this[_0x1024c2(0x251)]=this[_0x1024c2(0x20a)](this[_0x1024c2(0x200)],!0x0));})[_0x2ebca0(0x205)](_0x324367=>{const _0x4333c4=_0x2ebca0;_0x324367 instanceof _0x25850d?this[_0x4333c4(0x250)][_0x4333c4(0x220)](_0x324367[_0x4333c4(0x212)]):this[_0x4333c4(0x250)][_0x4333c4(0x220)](),_0x43357d();})[_0x2ebca0(0x1fb)](()=>{const _0x4a0981=_0x2ebca0;this[_0x4a0981(0x206)](),_0x43357d();});});}[_0x8e2010(0x20a)](_0x482038,_0x2f14a3=!0x1){const _0xe1bf92=_0x8e2010,_0x5a70f6=Q[_0xe1bf92(0x21e)](_0x482038);_0x482038=_0x5a70f6?_0x482038[_0xe1bf92(0x1ff)](_0x5a70f6[0x1][_0xe1bf92(0x24d)]):_0x482038[_0xe1bf92(0x24d)]<0x64&&!_0x2f14a3?'':this[_0xe1bf92(0x207)](_0x482038);const _0x166a45=this[_0xe1bf92(0x210)][_0xe1bf92(0x245)](_0x482038,_0xe1bf92(0x22c));if(_0x5a70f6){const _0x2f2c6e=Array[_0xe1bf92(0x246)](_0x166a45[_0xe1bf92(0x233)][_0xe1bf92(0x21f)]);_0x2f2c6e[_0xe1bf92(0x237)]();for(const _0x4bf62c of _0x2f2c6e){if(_0x4bf62c[_0xe1bf92(0x241)]==Node[_0xe1bf92(0x226)])break;_0x4bf62c[_0xe1bf92(0x23a)]();}}const _0x5c2105=this[_0xe1bf92(0x249)][_0xe1bf92(0x242)][_0xe1bf92(0x227)][_0xe1bf92(0x230)](this[_0xe1bf92(0x21c)][_0xe1bf92(0x255)](_0x166a45[_0xe1bf92(0x233)]));this[_0xe1bf92(0x257)]()||this[_0xe1bf92(0x201)](_0x5c2105);const _0x386e57=this[_0xe1bf92(0x249)][_0xe1bf92(0x1f8)][_0xe1bf92(0x258)](_0xe1bf92(0x240)),_0x4a403c=this[_0xe1bf92(0x249)][_0xe1bf92(0x242)][_0xe1bf92(0x214)](_0x5c2105);return _0x386e57||_0x4a403c[_0xe1bf92(0x253)][_0xe1bf92(0x1f4)](),this[_0xe1bf92(0x249)][_0xe1bf92(0x242)][_0xe1bf92(0x216)](_0x4a403c);}[_0x8e2010(0x201)](_0x3d8a81){const _0x29b04f=_0x8e2010,_0x374376=new _0x449797(this[_0x29b04f(0x249)][_0x29b04f(0x223)][_0x29b04f(0x250)][_0x29b04f(0x23b)]),_0x147c9b=new _0x558920({'name':/^h[1-5]$/}),_0x52b22e=[];let _0x29ea70=!0x1;for(const _0x521066 of _0x3d8a81)_0x521066['is'](_0x29b04f(0x239))&&_0x147c9b[_0x29b04f(0x1fc)](_0x521066)&&(_0x52b22e[_0x29b04f(0x24b)](_0x521066),'h1'==_0x521066[_0x29b04f(0x21a)]&&(_0x29ea70=!0x0));if(_0x29ea70){for(const _0x279796 of _0x52b22e)_0x374376[_0x29b04f(0x234)]('h'+(parseInt(_0x279796[_0x29b04f(0x21a)][0x1])+0x1),_0x279796);}}[_0x8e2010(0x257)](){const _0x456893=_0x8e2010,{data:_0x5be847,editing:_0x109df5}=this[_0x456893(0x249)],_0x53b2e6=_0x5be847[_0x456893(0x203)][_0x456893(0x230)](_0x456893(0x23d)),_0x2ac330=_0x5be847[_0x456893(0x230)](_0x5be847[_0x456893(0x214)](_0x53b2e6));return!!_0x109df5[_0x456893(0x250)][_0x456893(0x222)][_0x456893(0x236)](_0x2ac330)[_0x456893(0x213)]('h1');}[_0x8e2010(0x1f5)](_0x3bc844){const _0x5a815a=_0x8e2010;return this[_0x5a815a(0x249)][_0x5a815a(0x223)][_0x5a815a(0x250)][_0x5a815a(0x222)][_0x5a815a(0x202)](this[_0x5a815a(0x1fa)],_0x3bc844),this[_0x5a815a(0x1fa)][_0x5a815a(0x1fe)];}[_0x8e2010(0x207)](_0x58c40b){const _0x69cd15=_0x8e2010,_0x559e69=_0x58c40b[_0x69cd15(0x244)]();return _0x559e69[_0x69cd15(0x1fd)](_0x69cd15(0x243))?_0x559e69[_0x69cd15(0x21b)](_0x69cd15(0x208))?_0x559e69[_0x69cd15(0x1ff)](0x7,_0x559e69[_0x69cd15(0x24d)]-0x3):_0x559e69[_0x69cd15(0x1ff)](0x7):_0x58c40b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5571d8=_0x4eab;(function(_0x4ff4fa,_0x3254bd){const _0xf104da=_0x4eab,_0x4c6d30=_0x4ff4fa();while(!![]){try{const _0x455634=parseInt(_0xf104da(0x10b))/0x1*(-parseInt(_0xf104da(0x102))/0x2)+parseInt(_0xf104da(0xd3))/0x3*(parseInt(_0xf104da(0xed))/0x4)+-parseInt(_0xf104da(0xda))/0x5*(-parseInt(_0xf104da(0xf7))/0x6)+-parseInt(_0xf104da(0xde))/0x7*(parseInt(_0xf104da(0xfb))/0x8)+-parseInt(_0xf104da(0xfa))/0x9*(parseInt(_0xf104da(0xcf))/0xa)+parseInt(_0xf104da(0xf5))/0xb*(parseInt(_0xf104da(0x11b))/0xc)+parseInt(_0xf104da(0x115))/0xd;if(_0x455634===_0x3254bd)break;else _0x4c6d30['push'](_0x4c6d30['shift']());}catch(_0x38c6ea){_0x4c6d30['push'](_0x4c6d30['shift']());}}}(_0x19f0,0x36a44));import{global as _0x389473}from'ckeditor5/src/utils.js';import{View as _0x5c8957,ButtonView as _0x5a4a45,SpinnerView as _0xe57484}from'ckeditor5/src/ui.js';import{IconCheck as _0x22bfd8,IconCopy as _0x3718f3}from'ckeditor5/src/icons.js';function _0x19f0(){const _0x164b05=['text/plain','style','getSelection','33298ETjJDR','position','clipboard','isVisible','-9999px','execute','createRange','execCommand','ck-ai-form__copy-button-wrapper','smooth','7304479UgjgbJ','write','mousedown','bindTemplate','scrollTo','setEndBefore','24yRHNFl','ck-content','change:value','addRange','contentFieldView','locale','icon','appendLoader','remove','copy','wheel','body','301360fxwVqJ','createElement','\x20ck-ai-form__copy-button--copied','bind','31317QzQcvl','left','firstElementChild','lastElementChild','.ck-ai-form__loader','<span>]</span>','isProcessing','26665LQcrID','ck-ai-form__content-area--processing','ClipboardItem','Copy','28jfNlwR','ck-ai-form__content-area-wrapper','ck-ai-form__content-field','focus','change:isProcessing','textContent','copyButtonView','innerHTML','ck-ai-form__copy-button','loaderView','listenTo','setTemplate','ck-ai-form__content-area','text/html','absolute','32PKAwBm','setStartAfter','AI\x20is\x20writing...','scrollHeight','set','div','_copyHTMLToClipboard','ck-hidden','1978405fxbJeT','setContent','222IrQKjy','removeAllRanges','ck-reset_all-excluded','72xOhAoL','742496xSrMIl','appendChild','ck-ai-form__loader','isEnabled','_createCopyButton','class','_createLoader','22pShKjy','render','element','querySelector','<span>[</span>','value'];_0x19f0=function(){return _0x164b05;};return _0x19f0();}import{getTranslation as _0xc3ca6d}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x5c8957{[_0x5571d8(0xc7)];[_0x5571d8(0xe4)];constructor(_0x3c49ca,_0x3cce25=''){const _0x416531=_0x5571d8;super(_0x3c49ca),this[_0x416531(0xf1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4f2164=this[_0x416531(0x118)];this[_0x416531(0xc7)]=new ContentFieldView(_0x3c49ca,_0x3cce25),this[_0x416531(0xe4)]=this[_0x416531(0xff)](),this[_0x416531(0xe9)]({'tag':_0x416531(0xf2),'attributes':{'class':['ck',_0x416531(0xdf),_0x4f2164['if'](_0x416531(0x10e),_0x416531(0xf4),_0x5027ae=>!_0x5027ae)],'tabindex':'-1'},'children':[{'tag':_0x416531(0xf2),'attributes':{'class':['ck',_0x416531(0xea),_0x4f2164['if'](_0x416531(0xd9),_0x416531(0xdb))]},'children':[this[_0x416531(0xc7)],{'tag':_0x416531(0xf2),'attributes':{'class':['ck',_0x416531(0x113)]},'children':[this[_0x416531(0xe4)]]}]}]});}[_0x5571d8(0x103)](){const _0x9a1c1e=_0x5571d8;super[_0x9a1c1e(0x103)](),this[_0x9a1c1e(0x107)]&&this[_0x9a1c1e(0xc7)][_0x9a1c1e(0xf6)](this[_0x9a1c1e(0x107)]);let _0x3b66a4=!0x1;this['on'](_0x9a1c1e(0xc5),(_0x44c519,_0x3c1609,_0x1c168b)=>{const _0x58a790=_0x9a1c1e,_0xf3552b=!this[_0x58a790(0xc7)][_0x58a790(0x104)][_0x58a790(0x105)](_0x58a790(0xd7));this[_0x58a790(0xc7)][_0x58a790(0xf6)](_0x1c168b),this[_0x58a790(0xd9)]&&_0xf3552b&&!_0x3b66a4&&this[_0x58a790(0x104)][_0x58a790(0x119)]({'top':this[_0x58a790(0x104)][_0x58a790(0xf0)],'behavior':_0x58a790(0x114)});}),this['on'](_0x9a1c1e(0xe2),(_0x447f0b,_0x53c743,_0x3fcab2)=>{const _0x381839=_0x9a1c1e;_0x3b66a4=!0x1,_0x3fcab2?(this[_0x381839(0x107)]=null,this[_0x381839(0xc7)][_0x381839(0xca)]()):this[_0x381839(0x107)]||this[_0x381839(0xc7)][_0x381839(0xf6)]('');}),this[_0x9a1c1e(0xe8)](this[_0x9a1c1e(0x104)],_0x9a1c1e(0xcd),()=>{_0x3b66a4=!0x0;}),this[_0x9a1c1e(0xe8)](this[_0x9a1c1e(0x104)],_0x9a1c1e(0x117),()=>{_0x3b66a4=!0x0;});}[_0x5571d8(0xe1)](){const _0x2723d1=_0x5571d8;this[_0x2723d1(0x104)][_0x2723d1(0xe1)]();}[_0x5571d8(0xff)](){const _0x49b98a=_0x5571d8,_0x23ad18=this[_0x49b98a(0xc8)],_0x4139e2=new _0x5a4a45(this[_0x49b98a(0xc8)]),_0xfada77=_0x49b98a(0xe6);return _0x4139e2[_0x49b98a(0xf1)]({'label':_0xc3ca6d(_0x23ad18,_0x49b98a(0xdd)),'icon':_0x3718f3,'class':_0xfada77,'tooltip':!0x0}),_0x4139e2[_0x49b98a(0xd2)](_0x49b98a(0x10e))['to'](this,_0x49b98a(0x107),_0x41965c=>!!_0x41965c),_0x4139e2[_0x49b98a(0xd2)](_0x49b98a(0xfe))['to'](this,_0x49b98a(0xd9),_0x355c4e=>!_0x355c4e),_0x4139e2['on'](_0x49b98a(0x110),()=>{const _0x2a42b2=_0x49b98a;this[_0x2a42b2(0xf3)](this[_0x2a42b2(0xc7)][_0x2a42b2(0x104)]),_0x4139e2[_0x2a42b2(0xc9)]=_0x22bfd8,_0x4139e2[_0x2a42b2(0x100)]=_0xfada77+_0x2a42b2(0xd1),this[_0x2a42b2(0xe1)](),setTimeout(()=>{const _0x270dd2=_0x2a42b2;_0x4139e2[_0x270dd2(0xc9)]=_0x3718f3,_0x4139e2[_0x270dd2(0x100)]=_0xfada77;},0x3e8);}),_0x4139e2;}[_0x5571d8(0xf3)](_0xe39326){const _0x1e7c4e=_0x5571d8,{window:_0x2af137,document:_0x51907d}=_0x389473;if(_0x2af137[_0x1e7c4e(0xdc)]){const {Blob:_0x121beb,ClipboardItem:_0x492d17}=_0x2af137,_0xdde27d=[new _0x492d17({'text/html':new _0x121beb([_0xe39326[_0x1e7c4e(0xe5)]],{'type':_0x1e7c4e(0xeb)}),'text/plain':new _0x121beb([_0xe39326[_0x1e7c4e(0xe3)]||''],{'type':_0x1e7c4e(0x108)})})];navigator[_0x1e7c4e(0x10d)][_0x1e7c4e(0x116)](_0xdde27d);}else{const _0x462fe7=_0x51907d[_0x1e7c4e(0xd0)](_0x1e7c4e(0xf2));_0x462fe7[_0x1e7c4e(0x109)][_0x1e7c4e(0x10c)]=_0x1e7c4e(0xec),_0x462fe7[_0x1e7c4e(0x109)][_0x1e7c4e(0xd4)]=_0x1e7c4e(0x10f),_0x462fe7[_0x1e7c4e(0xe5)]=_0x1e7c4e(0x106)+_0xe39326[_0x1e7c4e(0xe5)]+_0x1e7c4e(0xd8),_0x51907d[_0x1e7c4e(0xce)][_0x1e7c4e(0xfc)](_0x462fe7);const _0x48a00f=_0x51907d[_0x1e7c4e(0x111)]();_0x48a00f[_0x1e7c4e(0xee)](_0x462fe7[_0x1e7c4e(0xd5)]),_0x48a00f[_0x1e7c4e(0x11a)](_0x462fe7[_0x1e7c4e(0xd6)]);const _0x3dfd60=_0x2af137[_0x1e7c4e(0x10a)]();_0x3dfd60[_0x1e7c4e(0xf8)](),_0x3dfd60[_0x1e7c4e(0xc6)](_0x48a00f),_0x51907d[_0x1e7c4e(0x112)](_0x1e7c4e(0xcc)),_0x462fe7[_0x1e7c4e(0xcb)]();}}}function _0x4eab(_0x3a0184,_0x2b5228){const _0x19f02b=_0x19f0();return _0x4eab=function(_0x4eabb4,_0x13b362){_0x4eabb4=_0x4eabb4-0xc4;let _0x3af56a=_0x19f02b[_0x4eabb4];return _0x3af56a;},_0x4eab(_0x3a0184,_0x2b5228);}export class ContentFieldView extends _0x5c8957{constructor(_0xbf4253,_0x33defe=''){const _0x29965c=_0x5571d8;super(_0xbf4253),this[_0x29965c(0xe7)]=this[_0x29965c(0x101)](),this[_0x29965c(0xe9)]({'tag':_0x29965c(0xf2),'attributes':{'class':['ck',_0x29965c(0xc4),_0x33defe,_0x29965c(0xf9),_0x29965c(0xe0)]}});}[_0x5571d8(0xf6)](_0x471481){const _0x495c64=_0x5571d8;this[_0x495c64(0x104)][_0x495c64(0xe5)]=_0x471481;}[_0x5571d8(0xca)](){const _0x5a9ec5=_0x5571d8;this[_0x5a9ec5(0x104)][_0x5a9ec5(0xfc)](this[_0x5a9ec5(0xe7)][_0x5a9ec5(0x104)]);}[_0x5571d8(0x101)](){const _0x3233d1=_0x5571d8,_0x3936bc=new _0x5c8957(),_0x58515e=this[_0x3233d1(0xc8)],_0xaf345f=new _0xe57484();return _0xaf345f[_0x3233d1(0x10e)]=!0x0,_0x3936bc[_0x3233d1(0xe9)]({'tag':_0x3233d1(0xf2),'attributes':{'class':['ck',_0x3233d1(0xfd)]},'children':[_0xaf345f,{'text':_0xc3ca6d(_0x58515e,_0x3233d1(0xef))}]}),_0x3936bc[_0x3233d1(0x103)](),_0x3936bc;}}
23
+ const _0x3efc79=_0x1bb1;(function(_0x471697,_0x5d4e64){const _0x1aa8d4=_0x1bb1,_0x92e52e=_0x471697();while(!![]){try{const _0x5a6abe=parseInt(_0x1aa8d4(0x20c))/0x1*(-parseInt(_0x1aa8d4(0x222))/0x2)+parseInt(_0x1aa8d4(0x21d))/0x3*(parseInt(_0x1aa8d4(0x22b))/0x4)+-parseInt(_0x1aa8d4(0x1da))/0x5+parseInt(_0x1aa8d4(0x1de))/0x6+-parseInt(_0x1aa8d4(0x21f))/0x7+-parseInt(_0x1aa8d4(0x21c))/0x8+parseInt(_0x1aa8d4(0x1f6))/0x9*(parseInt(_0x1aa8d4(0x203))/0xa);if(_0x5a6abe===_0x5d4e64)break;else _0x92e52e['push'](_0x92e52e['shift']());}catch(_0x2e158d){_0x92e52e['push'](_0x92e52e['shift']());}}}(_0x3375,0x8870d));function _0x1bb1(_0x16f06c,_0x46fc15){const _0x33754e=_0x3375();return _0x1bb1=function(_0x1bb1a6,_0x5cbc38){_0x1bb1a6=_0x1bb1a6-0x1da;let _0x2ec621=_0x33754e[_0x1bb1a6];return _0x2ec621;},_0x1bb1(_0x16f06c,_0x46fc15);}import{global as _0x5690b3}from'ckeditor5/src/utils.js';import{View as _0x2ed6c8,ButtonView as _0x2ff84b,SpinnerView as _0x2a0be0}from'ckeditor5/src/ui.js';function _0x3375(){const _0x4c50e9=['ck-ai-form__content-field','execCommand','-9999px','ck-ai-form__content-area--processing','contentFieldView','_copyHTMLToClipboard','ck-ai-form__copy-button','change:value','102392UMtHEl','createRange','element','ck-reset_all-excluded','1258500zNkAQu','scrollTo','setStartAfter','render','3049914crWOfN','isProcessing','div','addRange','ck-ai-form__content-area','ck-ai-form__content-area-wrapper','<span>]</span>','ck-hidden','createElement','getSelection','appendLoader','_createLoader','Copy','text/html','innerHTML','clipboard','write','querySelector','value','setTemplate','class','loaderView','absolute','focus','369ScZiQh','text/plain','remove','icon','<span>[</span>','bindTemplate','ck-ai-form__loader','AI\x20is\x20writing...','set','\x20ck-ai-form__copy-button--copied','lastElementChild','setEndBefore','change:isProcessing','156190ZsQEQS','copyButtonView','smooth','ck-ai-form__copy-button-wrapper','body','textContent','setContent','appendChild','mousedown','193397icBKPJ','scrollHeight','isEnabled','locale','.ck-ai-form__loader','position','listenTo','style','isVisible','_createCopyButton','copy','ClipboardItem','removeAllRanges','ck-content','execute','bind','2237552zkbXlq','93SolNcP','wheel','1902530oUlFBA','firstElementChild','left','6DBrcsG'];_0x3375=function(){return _0x4c50e9;};return _0x3375();}import{IconCheck as _0x4d9732,IconCopy as _0xdf611a}from'ckeditor5/src/icons.js';import{getTranslation as _0x3acf51}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x2ed6c8{[_0x3efc79(0x227)];[_0x3efc79(0x204)];constructor(_0x3c1926,_0x186e4c=''){const _0x3a2c34=_0x3efc79;super(_0x3c1926),this[_0x3a2c34(0x1fe)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5b3bef=this[_0x3a2c34(0x1fb)];this[_0x3a2c34(0x227)]=new ContentFieldView(_0x3c1926,_0x186e4c),this[_0x3a2c34(0x204)]=this[_0x3a2c34(0x215)](),this[_0x3a2c34(0x1f1)]({'tag':_0x3a2c34(0x1e0),'attributes':{'class':['ck',_0x3a2c34(0x1e3),_0x5b3bef['if'](_0x3a2c34(0x214),_0x3a2c34(0x1e5),_0x3d24c7=>!_0x3d24c7)],'tabindex':'-1'},'children':[{'tag':_0x3a2c34(0x1e0),'attributes':{'class':['ck',_0x3a2c34(0x1e2),_0x5b3bef['if'](_0x3a2c34(0x1df),_0x3a2c34(0x226))]},'children':[this[_0x3a2c34(0x227)],{'tag':_0x3a2c34(0x1e0),'attributes':{'class':['ck',_0x3a2c34(0x206)]},'children':[this[_0x3a2c34(0x204)]]}]}]});}[_0x3efc79(0x1dd)](){const _0x154cda=_0x3efc79;super[_0x154cda(0x1dd)](),this[_0x154cda(0x1f0)]&&this[_0x154cda(0x227)][_0x154cda(0x209)](this[_0x154cda(0x1f0)]);let _0x408814=!0x1;this['on'](_0x154cda(0x22a),(_0x4e1427,_0x4a74d0,_0x22292c)=>{const _0x35dd65=_0x154cda,_0x441582=!this[_0x35dd65(0x227)][_0x35dd65(0x22d)][_0x35dd65(0x1ef)](_0x35dd65(0x210));this[_0x35dd65(0x227)][_0x35dd65(0x209)](_0x22292c),this[_0x35dd65(0x1df)]&&_0x441582&&!_0x408814&&this[_0x35dd65(0x22d)][_0x35dd65(0x1db)]({'top':this[_0x35dd65(0x22d)][_0x35dd65(0x20d)],'behavior':_0x35dd65(0x205)});}),this['on'](_0x154cda(0x202),(_0x27a6ea,_0x10aeb0,_0x2fa121)=>{const _0x3a8ed9=_0x154cda;_0x408814=!0x1,_0x2fa121?(this[_0x3a8ed9(0x1f0)]=null,this[_0x3a8ed9(0x227)][_0x3a8ed9(0x1e8)]()):this[_0x3a8ed9(0x1f0)]||this[_0x3a8ed9(0x227)][_0x3a8ed9(0x209)]('');}),this[_0x154cda(0x212)](this[_0x154cda(0x22d)],_0x154cda(0x21e),()=>{_0x408814=!0x0;}),this[_0x154cda(0x212)](this[_0x154cda(0x22d)],_0x154cda(0x20b),()=>{_0x408814=!0x0;});}[_0x3efc79(0x1f5)](){const _0x6566ef=_0x3efc79;this[_0x6566ef(0x22d)][_0x6566ef(0x1f5)]();}[_0x3efc79(0x215)](){const _0x41c3f3=_0x3efc79,_0xb7323e=this[_0x41c3f3(0x20f)],_0x45a809=new _0x2ff84b(this[_0x41c3f3(0x20f)]),_0x283dda=_0x41c3f3(0x229);return _0x45a809[_0x41c3f3(0x1fe)]({'label':_0x3acf51(_0xb7323e,_0x41c3f3(0x1ea)),'icon':_0xdf611a,'class':_0x283dda,'tooltip':!0x0}),_0x45a809[_0x41c3f3(0x21b)](_0x41c3f3(0x214))['to'](this,_0x41c3f3(0x1f0),_0x3743d0=>!!_0x3743d0),_0x45a809[_0x41c3f3(0x21b)](_0x41c3f3(0x20e))['to'](this,_0x41c3f3(0x1df),_0x4f5d85=>!_0x4f5d85),_0x45a809['on'](_0x41c3f3(0x21a),()=>{const _0x9a16b1=_0x41c3f3;this[_0x9a16b1(0x228)](this[_0x9a16b1(0x227)][_0x9a16b1(0x22d)]),_0x45a809[_0x9a16b1(0x1f9)]=_0x4d9732,_0x45a809[_0x9a16b1(0x1f2)]=_0x283dda+_0x9a16b1(0x1ff),this[_0x9a16b1(0x1f5)](),setTimeout(()=>{const _0x5eee5c=_0x9a16b1;_0x45a809[_0x5eee5c(0x1f9)]=_0xdf611a,_0x45a809[_0x5eee5c(0x1f2)]=_0x283dda;},0x3e8);}),_0x45a809;}[_0x3efc79(0x228)](_0x3feceb){const _0x56ebf1=_0x3efc79,{window:_0x5ab4df,document:_0x8a0ed1}=_0x5690b3;if(_0x5ab4df[_0x56ebf1(0x217)]){const {Blob:_0x40c11f,ClipboardItem:_0x245ac2}=_0x5ab4df,_0x18bb09=[new _0x245ac2({'text/html':new _0x40c11f([_0x3feceb[_0x56ebf1(0x1ec)]],{'type':_0x56ebf1(0x1eb)}),'text/plain':new _0x40c11f([_0x3feceb[_0x56ebf1(0x208)]||''],{'type':_0x56ebf1(0x1f7)})})];navigator[_0x56ebf1(0x1ed)][_0x56ebf1(0x1ee)](_0x18bb09);}else{const _0xbe7b1d=_0x8a0ed1[_0x56ebf1(0x1e6)](_0x56ebf1(0x1e0));_0xbe7b1d[_0x56ebf1(0x213)][_0x56ebf1(0x211)]=_0x56ebf1(0x1f4),_0xbe7b1d[_0x56ebf1(0x213)][_0x56ebf1(0x221)]=_0x56ebf1(0x225),_0xbe7b1d[_0x56ebf1(0x1ec)]=_0x56ebf1(0x1fa)+_0x3feceb[_0x56ebf1(0x1ec)]+_0x56ebf1(0x1e4),_0x8a0ed1[_0x56ebf1(0x207)][_0x56ebf1(0x20a)](_0xbe7b1d);const _0x12b98a=_0x8a0ed1[_0x56ebf1(0x22c)]();_0x12b98a[_0x56ebf1(0x1dc)](_0xbe7b1d[_0x56ebf1(0x220)]),_0x12b98a[_0x56ebf1(0x201)](_0xbe7b1d[_0x56ebf1(0x200)]);const _0x3e86f7=_0x5ab4df[_0x56ebf1(0x1e7)]();_0x3e86f7[_0x56ebf1(0x218)](),_0x3e86f7[_0x56ebf1(0x1e1)](_0x12b98a),_0x8a0ed1[_0x56ebf1(0x224)](_0x56ebf1(0x216)),_0xbe7b1d[_0x56ebf1(0x1f8)]();}}}export class ContentFieldView extends _0x2ed6c8{constructor(_0xbfaa6a,_0x319da5=''){const _0x3dec21=_0x3efc79;super(_0xbfaa6a),this[_0x3dec21(0x1f3)]=this[_0x3dec21(0x1e9)](),this[_0x3dec21(0x1f1)]({'tag':_0x3dec21(0x1e0),'attributes':{'class':['ck',_0x3dec21(0x219),_0x319da5,_0x3dec21(0x22e),_0x3dec21(0x223)]}});}[_0x3efc79(0x209)](_0x28287e){const _0x511e78=_0x3efc79;this[_0x511e78(0x22d)][_0x511e78(0x1ec)]=_0x28287e;}[_0x3efc79(0x1e8)](){const _0xb9c739=_0x3efc79;this[_0xb9c739(0x22d)][_0xb9c739(0x20a)](this[_0xb9c739(0x1f3)][_0xb9c739(0x22d)]);}[_0x3efc79(0x1e9)](){const _0x19a435=_0x3efc79,_0x1e1091=new _0x2ed6c8(),_0x174ea6=this[_0x19a435(0x20f)],_0x5b8d11=new _0x2a0be0();return _0x5b8d11[_0x19a435(0x214)]=!0x0,_0x1e1091[_0x19a435(0x1f1)]({'tag':_0x19a435(0x1e0),'attributes':{'class':['ck',_0x19a435(0x1fc)]},'children':[_0x5b8d11,{'text':_0x3acf51(_0x174ea6,_0x19a435(0x1fd))}]}),_0x1e1091[_0x19a435(0x1dd)](),_0x1e1091;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3a47cb,_0x1b0b2a){const _0x2d39ab=_0x43d3,_0x208aff=_0x3a47cb();while(!![]){try{const _0x5a1d15=parseInt(_0x2d39ab(0x195))/0x1*(-parseInt(_0x2d39ab(0x19a))/0x2)+-parseInt(_0x2d39ab(0x18e))/0x3*(-parseInt(_0x2d39ab(0x199))/0x4)+-parseInt(_0x2d39ab(0x194))/0x5*(-parseInt(_0x2d39ab(0x197))/0x6)+-parseInt(_0x2d39ab(0x18f))/0x7+parseInt(_0x2d39ab(0x190))/0x8+parseInt(_0x2d39ab(0x196))/0x9+parseInt(_0x2d39ab(0x191))/0xa*(-parseInt(_0x2d39ab(0x19f))/0xb);if(_0x5a1d15===_0x1b0b2a)break;else _0x208aff['push'](_0x208aff['shift']());}catch(_0xa25191){_0x208aff['push'](_0x208aff['shift']());}}}(_0x48ab,0xcae6f));import{IconError as _0x528f14}from'ckeditor5/src/icons.js';import{View as _0x44ec1b,IconView as _0x84ec6b}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x44ec1b{constructor(_0x218e0b,_0x41cd06=''){const _0x4835f8=_0x43d3;super(_0x218e0b);const _0x2bfa40=new _0x84ec6b(),_0x497d93=this[_0x4835f8(0x19d)];this[_0x4835f8(0x198)](_0x4835f8(0x19c),_0x41cd06),_0x2bfa40[_0x4835f8(0x19b)]=_0x528f14,this[_0x4835f8(0x193)]({'tag':_0x4835f8(0x19e),'attributes':{'class':['ck',_0x4835f8(0x192)]},'children':[_0x2bfa40,{'text':_0x497d93['to'](_0x4835f8(0x19c))}]});}}function _0x43d3(_0x2ba1c2,_0x35558f){const _0x48abd9=_0x48ab();return _0x43d3=function(_0x43d3eb,_0x4bf39a){_0x43d3eb=_0x43d3eb-0x18e;let _0x2f5d0b=_0x48abd9[_0x43d3eb];return _0x2f5d0b;},_0x43d3(_0x2ba1c2,_0x35558f);}function _0x48ab(){const _0x2f881b=['74776ZmfiwP','content','text','bindTemplate','div','124718JKoyhh','3qkaZef','11551995idgvwD','10548400tsOTRR','130ljfrBW','ck-ai-form__error','setTemplate','5480xzdKnU','19zhhHvq','1457424BHobBK','2562epLuqe','set','5562640nuByuK'];_0x48ab=function(){return _0x2f881b;};return _0x48ab();}
23
+ function _0x4fac(){const _0x133e6e=['30UIQITU','text','set','33272iHbtYE','5RJGsNo','2052387EUmpBg','179988GbGbFj','div','8joIrtB','ck-ai-form__error','bindTemplate','13kohdvo','9771288lirvxI','924343CyPjst','5npZMeP','content','setTemplate','27EFDFfn','48814PZmuas','616286SPXoGM'];_0x4fac=function(){return _0x133e6e;};return _0x4fac();}(function(_0x46c7b4,_0x2c2010){const _0x19a754=_0x10b1,_0x2b3d6a=_0x46c7b4();while(!![]){try{const _0x3a0e25=parseInt(_0x19a754(0x182))/0x1*(-parseInt(_0x19a754(0x17c))/0x2)+-parseInt(_0x19a754(0x17b))/0x3*(parseInt(_0x19a754(0x181))/0x4)+-parseInt(_0x19a754(0x178))/0x5*(-parseInt(_0x19a754(0x184))/0x6)+-parseInt(_0x19a754(0x177))/0x7*(parseInt(_0x19a754(0x186))/0x8)+-parseInt(_0x19a754(0x183))/0x9+parseInt(_0x19a754(0x17e))/0xa*(-parseInt(_0x19a754(0x17d))/0xb)+parseInt(_0x19a754(0x18a))/0xc*(parseInt(_0x19a754(0x189))/0xd);if(_0x3a0e25===_0x2c2010)break;else _0x2b3d6a['push'](_0x2b3d6a['shift']());}catch(_0x30ed13){_0x2b3d6a['push'](_0x2b3d6a['shift']());}}}(_0x4fac,0x1d1a5));function _0x10b1(_0x9ed716,_0x4ed647){const _0x4facae=_0x4fac();return _0x10b1=function(_0x10b1ec,_0x2a05cc){_0x10b1ec=_0x10b1ec-0x177;let _0x447824=_0x4facae[_0x10b1ec];return _0x447824;},_0x10b1(_0x9ed716,_0x4ed647);}import{IconError as _0x35aa13}from'ckeditor5/src/icons.js';import{View as _0x49acf4,IconView as _0x469ff7}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x49acf4{constructor(_0x32a13c,_0x4c6543=''){const _0x42ae1a=_0x10b1;super(_0x32a13c);const _0x30f64c=new _0x469ff7(),_0x187d47=this[_0x42ae1a(0x188)];this[_0x42ae1a(0x180)](_0x42ae1a(0x17f),_0x4c6543),_0x30f64c[_0x42ae1a(0x179)]=_0x35aa13,this[_0x42ae1a(0x17a)]({'tag':_0x42ae1a(0x185),'attributes':{'class':['ck',_0x42ae1a(0x187)]},'children':[_0x30f64c,{'text':_0x187d47['to'](_0x42ae1a(0x17f))}]});}}