@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.7

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 (327) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +1 -1
  3. package/ckeditor5-metadata.json +14 -0
  4. package/dist/index-editor.css +70 -19
  5. package/dist/index.css +80 -19
  6. package/dist/index.js +4 -4
  7. package/dist/translations/af.js +1 -1
  8. package/dist/translations/af.umd.js +1 -1
  9. package/dist/translations/ar.js +1 -1
  10. package/dist/translations/ar.umd.js +1 -1
  11. package/dist/translations/ast.js +1 -1
  12. package/dist/translations/ast.umd.js +1 -1
  13. package/dist/translations/az.js +1 -1
  14. package/dist/translations/az.umd.js +1 -1
  15. package/dist/translations/be.js +1 -1
  16. package/dist/translations/be.umd.js +1 -1
  17. package/dist/translations/bg.js +1 -1
  18. package/dist/translations/bg.umd.js +1 -1
  19. package/dist/translations/bn.js +1 -1
  20. package/dist/translations/bn.umd.js +1 -1
  21. package/dist/translations/bs.js +1 -1
  22. package/dist/translations/bs.umd.js +1 -1
  23. package/dist/translations/ca.js +1 -1
  24. package/dist/translations/ca.umd.js +1 -1
  25. package/dist/translations/cs.js +1 -1
  26. package/dist/translations/cs.umd.js +1 -1
  27. package/dist/translations/da.js +1 -1
  28. package/dist/translations/da.umd.js +1 -1
  29. package/dist/translations/de-ch.js +1 -1
  30. package/dist/translations/de-ch.umd.js +1 -1
  31. package/dist/translations/de.js +1 -1
  32. package/dist/translations/de.umd.js +1 -1
  33. package/dist/translations/el.js +1 -1
  34. package/dist/translations/el.umd.js +1 -1
  35. package/dist/translations/en-au.js +1 -1
  36. package/dist/translations/en-au.umd.js +1 -1
  37. package/dist/translations/en-gb.js +1 -1
  38. package/dist/translations/en-gb.umd.js +1 -1
  39. package/dist/translations/en.js +1 -1
  40. package/dist/translations/en.umd.js +1 -1
  41. package/dist/translations/eo.js +1 -1
  42. package/dist/translations/eo.umd.js +1 -1
  43. package/dist/translations/es-co.js +1 -1
  44. package/dist/translations/es-co.umd.js +1 -1
  45. package/dist/translations/es.js +1 -1
  46. package/dist/translations/es.umd.js +1 -1
  47. package/dist/translations/et.js +1 -1
  48. package/dist/translations/et.umd.js +1 -1
  49. package/dist/translations/eu.js +1 -1
  50. package/dist/translations/eu.umd.js +1 -1
  51. package/dist/translations/fa.js +1 -1
  52. package/dist/translations/fa.umd.js +1 -1
  53. package/dist/translations/fi.js +1 -1
  54. package/dist/translations/fi.umd.js +1 -1
  55. package/dist/translations/fr.js +1 -1
  56. package/dist/translations/fr.umd.js +1 -1
  57. package/dist/translations/gl.js +1 -1
  58. package/dist/translations/gl.umd.js +1 -1
  59. package/dist/translations/gu.js +1 -1
  60. package/dist/translations/gu.umd.js +1 -1
  61. package/dist/translations/he.js +1 -1
  62. package/dist/translations/he.umd.js +1 -1
  63. package/dist/translations/hi.js +1 -1
  64. package/dist/translations/hi.umd.js +1 -1
  65. package/dist/translations/hr.js +1 -1
  66. package/dist/translations/hr.umd.js +1 -1
  67. package/dist/translations/hu.js +1 -1
  68. package/dist/translations/hu.umd.js +1 -1
  69. package/dist/translations/hy.js +1 -1
  70. package/dist/translations/hy.umd.js +1 -1
  71. package/dist/translations/id.js +1 -1
  72. package/dist/translations/id.umd.js +1 -1
  73. package/dist/translations/it.js +1 -1
  74. package/dist/translations/it.umd.js +1 -1
  75. package/dist/translations/ja.js +1 -1
  76. package/dist/translations/ja.umd.js +1 -1
  77. package/dist/translations/jv.js +1 -1
  78. package/dist/translations/jv.umd.js +1 -1
  79. package/dist/translations/kk.js +1 -1
  80. package/dist/translations/kk.umd.js +1 -1
  81. package/dist/translations/km.js +1 -1
  82. package/dist/translations/km.umd.js +1 -1
  83. package/dist/translations/kn.js +1 -1
  84. package/dist/translations/kn.umd.js +1 -1
  85. package/dist/translations/ko.js +1 -1
  86. package/dist/translations/ko.umd.js +1 -1
  87. package/dist/translations/ku.js +1 -1
  88. package/dist/translations/ku.umd.js +1 -1
  89. package/dist/translations/lt.js +1 -1
  90. package/dist/translations/lt.umd.js +1 -1
  91. package/dist/translations/lv.js +1 -1
  92. package/dist/translations/lv.umd.js +1 -1
  93. package/dist/translations/ms.js +1 -1
  94. package/dist/translations/ms.umd.js +1 -1
  95. package/dist/translations/nb.js +1 -1
  96. package/dist/translations/nb.umd.js +1 -1
  97. package/dist/translations/ne.js +1 -1
  98. package/dist/translations/ne.umd.js +1 -1
  99. package/dist/translations/nl.js +1 -1
  100. package/dist/translations/nl.umd.js +1 -1
  101. package/dist/translations/no.js +1 -1
  102. package/dist/translations/no.umd.js +1 -1
  103. package/dist/translations/oc.js +1 -1
  104. package/dist/translations/oc.umd.js +1 -1
  105. package/dist/translations/pl.js +1 -1
  106. package/dist/translations/pl.umd.js +1 -1
  107. package/dist/translations/pt-br.js +1 -1
  108. package/dist/translations/pt-br.umd.js +1 -1
  109. package/dist/translations/pt.js +1 -1
  110. package/dist/translations/pt.umd.js +1 -1
  111. package/dist/translations/ro.js +1 -1
  112. package/dist/translations/ro.umd.js +1 -1
  113. package/dist/translations/ru.js +1 -1
  114. package/dist/translations/ru.umd.js +1 -1
  115. package/dist/translations/si.js +1 -1
  116. package/dist/translations/si.umd.js +1 -1
  117. package/dist/translations/sk.js +1 -1
  118. package/dist/translations/sk.umd.js +1 -1
  119. package/dist/translations/sl.js +1 -1
  120. package/dist/translations/sl.umd.js +1 -1
  121. package/dist/translations/sq.js +1 -1
  122. package/dist/translations/sq.umd.js +1 -1
  123. package/dist/translations/sr-latn.js +1 -1
  124. package/dist/translations/sr-latn.umd.js +1 -1
  125. package/dist/translations/sr.js +1 -1
  126. package/dist/translations/sr.umd.js +1 -1
  127. package/dist/translations/sv.js +1 -1
  128. package/dist/translations/sv.umd.js +1 -1
  129. package/dist/translations/th.js +1 -1
  130. package/dist/translations/th.umd.js +1 -1
  131. package/dist/translations/ti.js +1 -1
  132. package/dist/translations/ti.umd.js +1 -1
  133. package/dist/translations/tk.js +1 -1
  134. package/dist/translations/tk.umd.js +1 -1
  135. package/dist/translations/tr.js +1 -1
  136. package/dist/translations/tr.umd.js +1 -1
  137. package/dist/translations/tt.js +1 -1
  138. package/dist/translations/tt.umd.js +1 -1
  139. package/dist/translations/ug.js +1 -1
  140. package/dist/translations/ug.umd.js +1 -1
  141. package/dist/translations/uk.js +1 -1
  142. package/dist/translations/uk.umd.js +1 -1
  143. package/dist/translations/ur.js +1 -1
  144. package/dist/translations/ur.umd.js +1 -1
  145. package/dist/translations/uz.js +1 -1
  146. package/dist/translations/uz.umd.js +1 -1
  147. package/dist/translations/vi.js +1 -1
  148. package/dist/translations/vi.umd.js +1 -1
  149. package/dist/translations/zh-cn.js +1 -1
  150. package/dist/translations/zh-cn.umd.js +1 -1
  151. package/dist/translations/zh.js +1 -1
  152. package/dist/translations/zh.umd.js +1 -1
  153. package/lang/contexts.json +6 -0
  154. package/package.json +15 -15
  155. package/src/aiactions/aiactions.d.ts +0 -2
  156. package/src/aiactions/aiactions.js +1 -1
  157. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  158. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  159. package/src/aiactions/model/aiactionsreply.js +1 -1
  160. package/src/aiassistant/adapters/aiadapter.js +1 -1
  161. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  162. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  163. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  164. package/src/aiassistant/aiassistant.js +1 -1
  165. package/src/aiassistant/aiassistantediting.js +1 -1
  166. package/src/aiassistant/aiassistantui.js +1 -1
  167. package/src/aiassistant/legacyerrors.js +1 -1
  168. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  169. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  170. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  171. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  172. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  173. package/src/aiassistant/ui/form/aiformview.js +1 -1
  174. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  175. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  176. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  177. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  178. package/src/aiassistant/utils/common-translations.js +1 -1
  179. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  180. package/src/aiballoon/aiballoon.js +1 -1
  181. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  182. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  183. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  184. package/src/aiballoon/ui/aiballoonview.js +1 -1
  185. package/src/aichat/aichat.js +1 -1
  186. package/src/aichat/aichatcontroller.d.ts +4 -0
  187. package/src/aichat/aichatcontroller.js +1 -1
  188. package/src/aichat/aichatui.d.ts +9 -2
  189. package/src/aichat/aichatui.js +1 -1
  190. package/src/aichat/model/aichatcontext.js +1 -1
  191. package/src/aichat/model/aichatconversation.js +1 -1
  192. package/src/aichat/model/aichatinteraction.js +1 -1
  193. package/src/aichat/model/aichatmodels.js +1 -1
  194. package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
  195. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  196. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  197. package/src/aichat/ui/aichatfeedview.js +1 -1
  198. package/src/aichat/ui/aichatheaderview.js +1 -1
  199. package/src/aichat/ui/aichatview.js +1 -1
  200. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  202. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  203. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  204. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  205. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  206. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  207. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  210. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  211. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  212. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  216. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  218. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  219. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  220. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  221. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  222. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  223. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  224. package/src/aichat/utils/eventnames.js +1 -1
  225. package/src/aichat/utils/promisequeue.js +1 -1
  226. package/src/aichat/utils/scrollmanager.js +1 -1
  227. package/src/aichathistory/aichathistory.js +1 -1
  228. package/src/aichathistory/aichathistorycontroller.js +1 -1
  229. package/src/aichathistory/aichathistoryui.js +1 -1
  230. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  231. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  232. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  233. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  234. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  235. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  236. package/src/aiconfig.d.ts +17 -0
  237. package/src/aicore/aiconnector.d.ts +13 -0
  238. package/src/aicore/aiconnector.js +1 -1
  239. package/src/aicore/aiediting.js +1 -1
  240. package/src/aicore/model/aicapabilities.js +1 -1
  241. package/src/aicore/model/aicontext.js +1 -1
  242. package/src/aicore/model/aiinteraction.d.ts +41 -1
  243. package/src/aicore/model/aiinteraction.js +1 -1
  244. package/src/aicore/model/aireply.d.ts +2 -2
  245. package/src/aicore/model/aireply.js +1 -1
  246. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  247. package/src/aicore/pipeline/airesponseparser.js +2 -2
  248. package/src/aicore/ui/aidisclaimerview.js +1 -1
  249. package/src/aicore/ui/aiskeleton.js +1 -1
  250. package/src/aicore/ui/aispinner.js +1 -1
  251. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  252. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  253. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  254. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  255. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  256. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  257. package/src/aicore/utils/common-translations.js +1 -1
  258. package/src/aicore/utils/createresizebutton.js +1 -1
  259. package/src/aicore/utils/documentposition.js +1 -1
  260. package/src/aicore/utils/documentrange.js +1 -1
  261. package/src/aicore/utils/eventnames.js +1 -1
  262. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  263. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  264. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  265. package/src/aicore/utils/htmlparser.js +1 -1
  266. package/src/aicore/utils/htmlstreamer.js +1 -1
  267. package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
  268. package/src/aieditorintegration/aieditorintegration.js +23 -0
  269. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
  270. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
  271. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
  272. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
  273. package/src/aiquickactions/aiquickactions.js +1 -1
  274. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  275. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  276. package/src/aiquickactions/aiquickactionsui.js +1 -1
  277. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  278. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  279. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  280. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  281. package/src/aireviewmode/aireviewmode.js +1 -1
  282. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  283. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  284. package/src/aireviewmode/aireviewmodeui.js +1 -1
  285. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  286. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  287. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  288. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  289. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  290. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  291. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  292. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  293. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  294. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  295. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  296. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  303. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  306. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.d.ts +6 -0
  309. package/src/aitabs/aitabsmainview.js +1 -1
  310. package/src/aitabs/tabs/aitabsview.js +1 -1
  311. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  312. package/src/aitabs/tabs/tabpanelview.js +1 -1
  313. package/src/augmentation.d.ts +6 -0
  314. package/src/index.d.ts +4 -1
  315. package/src/index.js +1 -1
  316. package/theme/aiballoon/aiballoon.css +17 -4
  317. package/theme/aichat/aichat-controls.css +6 -0
  318. package/theme/aichat/aichat.css +2 -0
  319. package/theme/aichat/aichathistory.css +26 -9
  320. package/theme/aichat/aiminitoolbar.css +8 -0
  321. package/theme/aichat/aisuggestioncontainer.css +14 -2
  322. package/theme/aireviewmode/aireviewmode-check-run-result.css +6 -0
  323. package/theme/aitabs/aitabsview.css +6 -1
  324. package/theme/common/aibutton.css +0 -4
  325. package/theme/common/aiheader.css +1 -0
  326. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  327. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58ee92=_0x2a51;function _0x2a51(_0x1cffc4,_0x222e0c){const _0x51aa05=_0x51aa();return _0x2a51=function(_0x2a517d,_0x33251d){_0x2a517d=_0x2a517d-0x87;let _0x355868=_0x51aa05[_0x2a517d];return _0x355868;},_0x2a51(_0x1cffc4,_0x222e0c);}(function(_0x18fbc6,_0x43dc71){const _0x1b58a5=_0x2a51,_0x1cdfe8=_0x18fbc6();while(!![]){try{const _0x528147=-parseInt(_0x1b58a5(0x87))/0x1*(-parseInt(_0x1b58a5(0x9b))/0x2)+parseInt(_0x1b58a5(0x99))/0x3*(parseInt(_0x1b58a5(0x9c))/0x4)+parseInt(_0x1b58a5(0x92))/0x5*(-parseInt(_0x1b58a5(0x8b))/0x6)+-parseInt(_0x1b58a5(0xa3))/0x7*(parseInt(_0x1b58a5(0x98))/0x8)+-parseInt(_0x1b58a5(0xa2))/0x9+-parseInt(_0x1b58a5(0x89))/0xa+parseInt(_0x1b58a5(0x9f))/0xb;if(_0x528147===_0x43dc71)break;else _0x1cdfe8['push'](_0x1cdfe8['shift']());}catch(_0x4e1981){_0x1cdfe8['push'](_0x1cdfe8['shift']());}}}(_0x51aa,0x38757));import{EmitterMixin as _0x52ecbf,logWarning as _0x56a549}from'ckeditor5/src/utils.js';function _0x51aa(){const _0x56ca65=['5649oDlqnb','provider','12571hVqusV','find','2465740pzPomb','_connector','103980gDruTj','getAll','getDefault','isAvailable','capabilities','values','some','35mnaLpe','list','_modelList','length','filter','sort','3952YONWOh','4278VOkWvS','name','2HblPzK','980wEiMkj','ai-chat-default-model-id-unrecognized','enabled','8166180HdkrTx','items','getModels','958716GvxixT'];_0x51aa=function(){return _0x56ca65;};return _0x51aa();}export class AIChatModels extends _0x52ecbf(){[_0x58ee92(0x94)]=[];[_0x58ee92(0x8a)];constructor({connector:_0x22240a}){const _0x2ec233=_0x58ee92;super(),this[_0x2ec233(0x8a)]=_0x22240a;}async[_0x58ee92(0x8c)](){const _0x5b0f2e=_0x58ee92;if(!this[_0x5b0f2e(0x94)][_0x5b0f2e(0x95)]){const _0x15f02a=this[_0x5b0f2e(0x8a)][_0x5b0f2e(0xa1)](),_0x3a1fc9=(await _0x15f02a[_0x5b0f2e(0x93)]())[_0x5b0f2e(0xa0)][_0x5b0f2e(0x97)]((_0x277530,_0x1ae44a)=>{const _0x27e5cd=_0x5b0f2e,_0x454785=Object[_0x27e5cd(0x90)](_0x277530[_0x27e5cd(0x8f)])[_0x27e5cd(0x96)](_0x92a4cd=>_0x92a4cd[_0x27e5cd(0x9e)])[_0x27e5cd(0x95)];return Object[_0x27e5cd(0x90)](_0x1ae44a[_0x27e5cd(0x8f)])[_0x27e5cd(0x96)](_0x17816d=>_0x17816d[_0x27e5cd(0x9e)])[_0x27e5cd(0x95)]-_0x454785;});this[_0x5b0f2e(0x94)]=_0x3a1fc9;}return this[_0x5b0f2e(0x94)];}async[_0x58ee92(0x8d)](_0x3f5495){const _0x1f8667=_0x58ee92,_0x43b84e=await this[_0x1f8667(0x8c)]();if(!_0x43b84e[_0x1f8667(0x95)])return null;if(_0x3f5495){const _0x5ef753=_0x43b84e[_0x1f8667(0x88)](_0xa8bd01=>_0xa8bd01['id']===_0x3f5495);if(_0x5ef753)return _0x5ef753;_0x56a549(_0x1f8667(0x9d),{'defaultModelId':_0x3f5495,'fallBackModelId':_0x43b84e[0x0]['id']});}return _0x43b84e[0x0];}async[_0x58ee92(0x8e)](_0x349b96){const _0x18a9bd=_0x58ee92;return(await this[_0x18a9bd(0x8c)]())[_0x18a9bd(0x91)](_0x5104be=>_0x5104be[_0x18a9bd(0x9a)]===_0x349b96[_0x18a9bd(0x9a)]&&_0x5104be[_0x18a9bd(0xa4)]===_0x349b96[_0x18a9bd(0xa4)]);}}
23
+ const _0x5c6dae=_0x111c;(function(_0x50cfd5,_0x1160cb){const _0x572cae=_0x111c,_0xa01292=_0x50cfd5();while(!![]){try{const _0x51df51=parseInt(_0x572cae(0xa0))/0x1+-parseInt(_0x572cae(0xab))/0x2*(parseInt(_0x572cae(0xa6))/0x3)+parseInt(_0x572cae(0x9d))/0x4+parseInt(_0x572cae(0xb4))/0x5*(parseInt(_0x572cae(0xa2))/0x6)+-parseInt(_0x572cae(0xad))/0x7*(parseInt(_0x572cae(0xb1))/0x8)+-parseInt(_0x572cae(0xb2))/0x9*(parseInt(_0x572cae(0xa3))/0xa)+-parseInt(_0x572cae(0xa4))/0xb;if(_0x51df51===_0x1160cb)break;else _0xa01292['push'](_0xa01292['shift']());}catch(_0x4a8024){_0xa01292['push'](_0xa01292['shift']());}}}(_0x312c,0xd9513));function _0x111c(_0x1231e2,_0x2f65e0){const _0x312c26=_0x312c();return _0x111c=function(_0x111cb4,_0x11541b){_0x111cb4=_0x111cb4-0x9c;let _0x46fe6c=_0x312c26[_0x111cb4];return _0x46fe6c;},_0x111c(_0x1231e2,_0x2f65e0);}function _0x312c(){const _0x2293fa=['find','filter','_modelList','getDefault','some','values','5053472acAiWN','isAvailable','getModels','1240016xlFkYR','_connector','570RYitPk','1479990wCjGmQ','783123DLlOaI','name','244419OrdXzX','list','capabilities','ai-chat-default-model-id-unrecognized','items','8HVmfXw','length','140FmHjuZ','sort','getAll','provider','390928ifLJag','63ReAFhw','enabled','41955WtUPoq'];_0x312c=function(){return _0x2293fa;};return _0x312c();}import{EmitterMixin as _0x3fe714,logWarning as _0x1b9e27}from'ckeditor5/src/utils.js';export class AIChatModels extends _0x3fe714(){[_0x5c6dae(0xb7)]=[];[_0x5c6dae(0xa1)];constructor({connector:_0x58e577}){const _0x448c29=_0x5c6dae;super(),this[_0x448c29(0xa1)]=_0x58e577;}async[_0x5c6dae(0xaf)](){const _0xd792d2=_0x5c6dae;if(!this[_0xd792d2(0xb7)][_0xd792d2(0xac)]){const _0x870cee=this[_0xd792d2(0xa1)][_0xd792d2(0x9f)](),_0x43ad57=(await _0x870cee[_0xd792d2(0xa7)]())[_0xd792d2(0xaa)][_0xd792d2(0xae)]((_0x1bce8f,_0x1c9344)=>{const _0x1a3103=_0xd792d2,_0x49e507=Object[_0x1a3103(0x9c)](_0x1bce8f[_0x1a3103(0xa8)])[_0x1a3103(0xb6)](_0x40f2d3=>_0x40f2d3[_0x1a3103(0xb3)])[_0x1a3103(0xac)];return Object[_0x1a3103(0x9c)](_0x1c9344[_0x1a3103(0xa8)])[_0x1a3103(0xb6)](_0x2083d0=>_0x2083d0[_0x1a3103(0xb3)])[_0x1a3103(0xac)]-_0x49e507;});this[_0xd792d2(0xb7)]=_0x43ad57;}return this[_0xd792d2(0xb7)];}async[_0x5c6dae(0xb8)](_0x440a3c){const _0x1dec01=_0x5c6dae,_0x155733=await this[_0x1dec01(0xaf)]();if(!_0x155733[_0x1dec01(0xac)])return null;if(_0x440a3c){const _0x30b982=_0x155733[_0x1dec01(0xb5)](_0x5bb6dc=>_0x5bb6dc['id']===_0x440a3c);if(_0x30b982)return _0x30b982;_0x1b9e27(_0x1dec01(0xa9),{'defaultModelId':_0x440a3c,'fallBackModelId':_0x155733[0x0]['id']});}return _0x155733[0x0];}async[_0x5c6dae(0x9e)](_0x5edbbb){const _0x2ead32=_0x5c6dae;return(await this[_0x2ead32(0xaf)]())[_0x2ead32(0xb9)](_0x31a87e=>_0x31a87e[_0x2ead32(0xa5)]===_0x5edbbb[_0x2ead32(0xa5)]&&_0x31a87e[_0x2ead32(0xb0)]===_0x5edbbb[_0x2ead32(0xb0)]);}}
@@ -17,6 +17,12 @@ export declare class AIChatControlsView extends View {
17
17
  * @observable
18
18
  */
19
19
  isLoading: boolean;
20
+ /**
21
+ * The disabled state of the controls.
22
+ *
23
+ * @observable
24
+ */
25
+ isDisabled: boolean;
20
26
  constructor(locale: Locale, bodyCollection: BodyCollection);
21
27
  /**
22
28
  * Adds an item chip to the current context list.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41ea1b=_0x10c0;(function(_0x21a258,_0x5a5c58){const _0x11ae94=_0x10c0,_0x51ca37=_0x21a258();while(!![]){try{const _0x3e8b97=-parseInt(_0x11ae94(0x16b))/0x1*(parseInt(_0x11ae94(0x15e))/0x2)+parseInt(_0x11ae94(0x163))/0x3*(-parseInt(_0x11ae94(0x153))/0x4)+parseInt(_0x11ae94(0x179))/0x5+parseInt(_0x11ae94(0x161))/0x6+parseInt(_0x11ae94(0x146))/0x7+parseInt(_0x11ae94(0x14d))/0x8+-parseInt(_0x11ae94(0x176))/0x9;if(_0x3e8b97===_0x5a5c58)break;else _0x51ca37['push'](_0x51ca37['shift']());}catch(_0x163f2d){_0x51ca37['push'](_0x51ca37['shift']());}}}(_0x1bf5,0x981ec));import{clickOutsideHandler as _0x5624c2,View as _0x234983}from'ckeditor5/src/ui.js';function _0x10c0(_0x4be3aa,_0x49ce6e){const _0x1bf50d=_0x1bf5();return _0x10c0=function(_0x10c0e4,_0x3b04d1){_0x10c0e4=_0x10c0e4-0x146;let _0x541004=_0x1bf50d[_0x10c0e4];return _0x541004;},_0x10c0(_0x4be3aa,_0x49ce6e);}import{AIChatPromptInputView as _0x412ef0}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0x19de2f}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x3ad696,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x16537d}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x5bc32d}from'./controls/aichatcontrolsloaderview.js';function _0x1bf5(){const _0x58ad75=['abortPromptStream','setPlaceholderText','setAddContextOptions','_createPromptCapabilitiesView','bindTemplate','isLoading','focus','622OiixwI','low','change:isLoading','6579198aRIddu','_contextPanelView','9jWAoaN','delegate','clearCurrentContextItems','setInputPlaceholder','enableModelSelector','clearConversationContextUI','selectModel','_promptInputView','3709SSsoFo','populateSourceResourceBalloon','setModelList','sendUserMessage','addContextButtonView','form','reset','div','removeContextItem','disableModelSelector','ck-hidden','4141485VzikfM','ck-ai-chat-controls','_createLoaderView','4432905TFlhKd','_createPromptInputView','setContextItemLoading','clearConversationContextItems','clearPendingContextUI','element','resetMessageInput','_createContextPanelView','focusPromptInput','setWebSearch','2039226wVFkXg','toggleReasoning','setTemplate','_handlePromptInputFocus','setModel','setIsUploadInProgress','_promptCapabilitiesView','943360FbmAzI','setConversationContext','setReasoning','_loaderView','updateResourceState','_shouldRestorePromptInputFocus','207472zzYNkp','addContextItem','toggleWebSearch','closeSourceResourceBalloon'];_0x1bf5=function(){return _0x58ad75;};return _0x1bf5();}export class AIChatControlsView extends _0x234983{[_0x41ea1b(0x162)];[_0x41ea1b(0x16a)];[_0x41ea1b(0x14c)];[_0x41ea1b(0x150)];[_0x41ea1b(0x152)];constructor(_0x21bf16,_0x243500){const _0x265e60=_0x41ea1b;super(_0x21bf16),this[_0x265e60(0x162)]=this[_0x265e60(0x180)](_0x21bf16,_0x243500),this[_0x265e60(0x16a)]=this[_0x265e60(0x17a)](_0x21bf16),this[_0x265e60(0x14c)]=this[_0x265e60(0x15a)](_0x21bf16),this[_0x265e60(0x150)]=this[_0x265e60(0x178)](_0x21bf16),this[_0x265e60(0x152)]=!0x1,this[_0x265e60(0x16a)][_0x265e60(0x164)](_0x265e60(0x16e))['to'](this),this[_0x265e60(0x150)][_0x265e60(0x164)](_0x265e60(0x157))['to'](this),this[_0x265e60(0x14c)][_0x265e60(0x164)](_0x265e60(0x155))['to'](this),this[_0x265e60(0x14c)][_0x265e60(0x164)](_0x265e60(0x147))['to'](this),this[_0x265e60(0x14c)][_0x265e60(0x164)](_0x265e60(0x169))['to'](this),this[_0x265e60(0x162)][_0x265e60(0x164)](..._0x16537d)['to'](this);const _0x36d228=this[_0x265e60(0x15b)];this[_0x265e60(0x148)]({'tag':_0x265e60(0x170),'attributes':{'class':['ck',_0x265e60(0x177)]},'children':[{'tag':_0x265e60(0x172),'attributes':{'class':[_0x36d228['if'](_0x265e60(0x15c),_0x265e60(0x175))]},'children':[this[_0x265e60(0x162)],this[_0x265e60(0x16a)],this[_0x265e60(0x14c)]]},{'tag':_0x265e60(0x172),'attributes':{'class':[_0x36d228['if'](_0x265e60(0x15c),_0x265e60(0x175),_0x1eb2f3=>!_0x1eb2f3)]},'children':[this[_0x265e60(0x150)]]}]}),_0x5624c2({'emitter':this[_0x265e60(0x16a)],'activator':()=>this[_0x265e60(0x15c)],'contextElements':()=>[this[_0x265e60(0x17e)]],'callback':()=>{const _0x5e8811=_0x265e60;this[_0x5e8811(0x152)]=!0x1;}}),this['on'](_0x265e60(0x160),this[_0x265e60(0x149)],{'priority':_0x265e60(0x15f)});}[_0x41ea1b(0x180)](_0x19063f,_0x1572a6){return new _0x3ad696(_0x19063f,_0x1572a6);}[_0x41ea1b(0x17a)](_0x25e343){const _0x1d5c20=_0x41ea1b;return new _0x412ef0(_0x25e343,this[_0x1d5c20(0x162)][_0x1d5c20(0x16f)]);}[_0x41ea1b(0x15a)](_0x599729){return new _0x19de2f(_0x599729);}[_0x41ea1b(0x178)](_0x5333fa){return new _0x5bc32d(_0x5333fa);}[_0x41ea1b(0x149)](_0x297c0d,_0x535392,_0x4ae9b2){const _0x91931=_0x41ea1b;_0x4ae9b2?this[_0x91931(0x152)]=!0x0:this[_0x91931(0x152)]&&this[_0x91931(0x16a)][_0x91931(0x15d)]();}[_0x41ea1b(0x154)](_0x2dccf9,_0x5b4980){const _0x4df994=_0x41ea1b;this[_0x4df994(0x162)][_0x4df994(0x154)](_0x2dccf9,_0x5b4980);}[_0x41ea1b(0x173)](_0x88520){const _0x4540ed=_0x41ea1b;this[_0x4540ed(0x162)][_0x4540ed(0x173)](_0x88520);}[_0x41ea1b(0x17b)](_0x461d75,_0x32be1e){const _0x1a6cf0=_0x41ea1b;this[_0x1a6cf0(0x162)][_0x1a6cf0(0x17b)](_0x461d75,_0x32be1e);}[_0x41ea1b(0x14b)](_0x7485a4){const _0xe5b6e1=_0x41ea1b;this[_0xe5b6e1(0x16a)][_0xe5b6e1(0x14b)](_0x7485a4);}[_0x41ea1b(0x14e)](_0x1ba3bd){const _0x4acc8d=_0x41ea1b;this[_0x4acc8d(0x162)][_0x4acc8d(0x14e)](_0x1ba3bd);}[_0x41ea1b(0x17d)](){const _0x5311ff=_0x41ea1b;this[_0x5311ff(0x162)][_0x5311ff(0x165)]();}[_0x41ea1b(0x168)](){const _0x32f33a=_0x41ea1b;this[_0x32f33a(0x162)][_0x32f33a(0x17c)]();}[_0x41ea1b(0x151)](_0x588631,_0x38d938,_0x1a4720){const _0x465f09=_0x41ea1b;this[_0x465f09(0x162)][_0x465f09(0x151)](_0x588631,_0x38d938,_0x1a4720);}[_0x41ea1b(0x182)](_0x1dd1f8){const _0x3e930f=_0x41ea1b;this[_0x3e930f(0x14c)][_0x3e930f(0x182)](_0x1dd1f8);}[_0x41ea1b(0x14f)](_0x3c7a60){const _0x454173=_0x41ea1b;this[_0x454173(0x14c)][_0x454173(0x14f)](_0x3c7a60);}[_0x41ea1b(0x17f)](){const _0xfbbbe6=_0x41ea1b;this[_0xfbbbe6(0x16a)][_0xfbbbe6(0x171)]();}[_0x41ea1b(0x159)](_0x4b23c0){const _0x24539e=_0x41ea1b;this[_0x24539e(0x162)][_0x24539e(0x159)](_0x4b23c0);}[_0x41ea1b(0x166)](_0x34d884){const _0x53f6a3=_0x41ea1b;this[_0x53f6a3(0x16a)][_0x53f6a3(0x158)](_0x34d884);}[_0x41ea1b(0x16d)](_0x23bd49,_0x32f0fa){const _0x59c761=_0x41ea1b;this[_0x59c761(0x14c)][_0x59c761(0x16d)](_0x23bd49,_0x32f0fa);}[_0x41ea1b(0x14a)](_0x5f2085){const _0x4466b8=_0x41ea1b;this[_0x4466b8(0x14c)][_0x4466b8(0x14a)](_0x5f2085);}[_0x41ea1b(0x167)](){const _0x51dd88=_0x41ea1b;this[_0x51dd88(0x14c)][_0x51dd88(0x167)]();}[_0x41ea1b(0x174)](_0x585f2f){const _0x16d77c=_0x41ea1b;this[_0x16d77c(0x14c)][_0x16d77c(0x174)](_0x585f2f);}[_0x41ea1b(0x16c)](_0x7ce624,_0x41aa83,_0x3eb4b4,_0x46f291){const _0x43601b=_0x41ea1b;this[_0x43601b(0x162)][_0x43601b(0x16c)](_0x7ce624,_0x41aa83,_0x3eb4b4,_0x46f291);}[_0x41ea1b(0x156)](_0x321e27){const _0xa437ff=_0x41ea1b;this[_0xa437ff(0x162)][_0xa437ff(0x156)](_0x321e27);}[_0x41ea1b(0x181)](){const _0x1ba7e2=_0x41ea1b;this[_0x1ba7e2(0x16a)][_0x1ba7e2(0x15d)]();}}
23
+ const _0x57996b=_0x420c;(function(_0x249f16,_0x4377a3){const _0x259443=_0x420c,_0x484d35=_0x249f16();while(!![]){try{const _0x3694a7=-parseInt(_0x259443(0x181))/0x1+parseInt(_0x259443(0x197))/0x2*(parseInt(_0x259443(0x18f))/0x3)+parseInt(_0x259443(0x18b))/0x4+parseInt(_0x259443(0x190))/0x5+-parseInt(_0x259443(0x1ac))/0x6+-parseInt(_0x259443(0x192))/0x7+parseInt(_0x259443(0x1b8))/0x8;if(_0x3694a7===_0x4377a3)break;else _0x484d35['push'](_0x484d35['shift']());}catch(_0x2aaffd){_0x484d35['push'](_0x484d35['shift']());}}}(_0x5cfa,0xc28d7));import{clickOutsideHandler as _0x318332,View as _0x35ef2e}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x118a79}from'./controls/aichatpromptinputview.js';function _0x420c(_0x25220e,_0x2270ca){const _0x5cfadc=_0x5cfa();return _0x420c=function(_0x420cba,_0x27995e){_0x420cba=_0x420cba-0x17f;let _0x25cad3=_0x5cfadc[_0x420cba];return _0x25cad3;},_0x420c(_0x25220e,_0x2270ca);}function _0x5cfa(){const _0x33bcde=['clearConversationContextItems','setTemplate','focusPromptInput','setIsUploadInProgress','clearConversationContextUI','element','toggleReasoning','ck-hidden','5412136rECeGl','enableModelSelector','updateResourceState','_contextPanelView','_promptInputView','div','setAddContextOptions','setModelList','1376810OOwBEa','setContextItemLoading','_handlePromptInputFocus','addContextItem','setPlaceholderText','setConversationContext','clearPendingContextUI','_shouldRestorePromptInputFocus','setReasoning','sendUserMessage','2355736FgFYYV','toggleWebSearch','ck-ai-chat-controls-disabled','bindTemplate','4056609eBHFcP','6774680aKyAet','form','4749521rRsKhC','populateSourceResourceBalloon','delegate','low','selectModel','2zCBtIC','closeSourceResourceBalloon','_createLoaderView','clearCurrentContextItems','removeContextItem','_promptCapabilitiesView','isDisabled','addContextButtonView','set','setModel','isLoading','focus','change:isLoading','setWebSearch','setInputPlaceholder','_createPromptInputView','_loaderView','disableModelSelector','_createContextPanelView','ck-ai-chat-controls','_createPromptCapabilitiesView','6722340dXVaGL','resetMessageInput','abortPromptStream','reset'];_0x5cfa=function(){return _0x33bcde;};return _0x5cfa();}import{AIChatPromptCapabilitiesView as _0x68772c}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x273a3a,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x89c1d9}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x1df78f}from'./controls/aichatcontrolsloaderview.js';export class AIChatControlsView extends _0x35ef2e{[_0x57996b(0x1bb)];[_0x57996b(0x1bc)];[_0x57996b(0x19c)];[_0x57996b(0x1a7)];[_0x57996b(0x188)];constructor(_0x174a71,_0x325497){const _0x405a7=_0x57996b;super(_0x174a71),this[_0x405a7(0x1bb)]=this[_0x405a7(0x1a9)](_0x174a71,_0x325497),this[_0x405a7(0x1bc)]=this[_0x405a7(0x1a6)](_0x174a71),this[_0x405a7(0x19c)]=this[_0x405a7(0x1ab)](_0x174a71),this[_0x405a7(0x1a7)]=this[_0x405a7(0x199)](_0x174a71),this[_0x405a7(0x188)]=!0x1,this[_0x405a7(0x1bc)][_0x405a7(0x194)](_0x405a7(0x18a))['to'](this),this[_0x405a7(0x1a7)][_0x405a7(0x194)](_0x405a7(0x1ae))['to'](this),this[_0x405a7(0x19c)][_0x405a7(0x194)](_0x405a7(0x18c))['to'](this),this[_0x405a7(0x19c)][_0x405a7(0x194)](_0x405a7(0x1b6))['to'](this),this[_0x405a7(0x19c)][_0x405a7(0x194)](_0x405a7(0x196))['to'](this),this[_0x405a7(0x1bb)][_0x405a7(0x194)](..._0x89c1d9)['to'](this),this[_0x405a7(0x19f)](_0x405a7(0x19d),!0x1);const _0x549080=this[_0x405a7(0x18e)];this[_0x405a7(0x1b1)]({'tag':_0x405a7(0x191),'attributes':{'class':['ck',_0x405a7(0x1aa),_0x549080['if'](_0x405a7(0x19d),_0x405a7(0x18d))]},'children':[{'tag':_0x405a7(0x1bd),'attributes':{'class':[_0x549080['if'](_0x405a7(0x1a1),_0x405a7(0x1b7))]},'children':[this[_0x405a7(0x1bb)],this[_0x405a7(0x1bc)],this[_0x405a7(0x19c)]]},{'tag':_0x405a7(0x1bd),'attributes':{'class':[_0x549080['if'](_0x405a7(0x1a1),_0x405a7(0x1b7),_0x19d99a=>!_0x19d99a)]},'children':[this[_0x405a7(0x1a7)]]}]}),_0x318332({'emitter':this[_0x405a7(0x1bc)],'activator':()=>this[_0x405a7(0x1a1)],'contextElements':()=>[this[_0x405a7(0x1b5)]],'callback':()=>{const _0x136f42=_0x405a7;this[_0x136f42(0x188)]=!0x1;}}),this['on'](_0x405a7(0x1a3),this[_0x405a7(0x183)],{'priority':_0x405a7(0x195)});}[_0x57996b(0x1a9)](_0x5665d1,_0x225cc5){return new _0x273a3a(_0x5665d1,_0x225cc5);}[_0x57996b(0x1a6)](_0x4aef8a){const _0x4d3fcd=_0x57996b;return new _0x118a79(_0x4aef8a,this[_0x4d3fcd(0x1bb)][_0x4d3fcd(0x19e)]);}[_0x57996b(0x1ab)](_0x15bb82){return new _0x68772c(_0x15bb82);}[_0x57996b(0x199)](_0x476ccc){return new _0x1df78f(_0x476ccc);}[_0x57996b(0x183)](_0x2138e3,_0x467289,_0x6001c3){const _0x23efad=_0x57996b;_0x6001c3?this[_0x23efad(0x188)]=!0x0:this[_0x23efad(0x188)]&&this[_0x23efad(0x1bc)][_0x23efad(0x1a2)]();}[_0x57996b(0x184)](_0x1881c4,_0x200acb){const _0x3f3aff=_0x57996b;this[_0x3f3aff(0x1bb)][_0x3f3aff(0x184)](_0x1881c4,_0x200acb);}[_0x57996b(0x19b)](_0x49444a){const _0x215ccb=_0x57996b;this[_0x215ccb(0x1bb)][_0x215ccb(0x19b)](_0x49444a);}[_0x57996b(0x182)](_0xf9385e,_0x3e0f9b){const _0x55eb31=_0x57996b;this[_0x55eb31(0x1bb)][_0x55eb31(0x182)](_0xf9385e,_0x3e0f9b);}[_0x57996b(0x1b3)](_0x66abba){const _0x5313b9=_0x57996b;this[_0x5313b9(0x1bc)][_0x5313b9(0x1b3)](_0x66abba);}[_0x57996b(0x186)](_0x3222c8){const _0x20c539=_0x57996b;this[_0x20c539(0x1bb)][_0x20c539(0x186)](_0x3222c8);}[_0x57996b(0x187)](){const _0x272a3d=_0x57996b;this[_0x272a3d(0x1bb)][_0x272a3d(0x19a)]();}[_0x57996b(0x1b4)](){const _0x315e91=_0x57996b;this[_0x315e91(0x1bb)][_0x315e91(0x1b0)]();}[_0x57996b(0x1ba)](_0x5c9f10,_0x4c69be,_0x5e4573){const _0x589df1=_0x57996b;this[_0x589df1(0x1bb)][_0x589df1(0x1ba)](_0x5c9f10,_0x4c69be,_0x5e4573);}[_0x57996b(0x1a4)](_0xf3cc6d){const _0x3c3442=_0x57996b;this[_0x3c3442(0x19c)][_0x3c3442(0x1a4)](_0xf3cc6d);}[_0x57996b(0x189)](_0x26f014){const _0x4e2d87=_0x57996b;this[_0x4e2d87(0x19c)][_0x4e2d87(0x189)](_0x26f014);}[_0x57996b(0x1ad)](){const _0x45de04=_0x57996b;this[_0x45de04(0x1bc)][_0x45de04(0x1af)]();}[_0x57996b(0x17f)](_0x46b6c3){const _0x5b0ea1=_0x57996b;this[_0x5b0ea1(0x1bb)][_0x5b0ea1(0x17f)](_0x46b6c3);}[_0x57996b(0x1a5)](_0x3fa27d){const _0x55c8a7=_0x57996b;this[_0x55c8a7(0x1bc)][_0x55c8a7(0x185)](_0x3fa27d);}[_0x57996b(0x180)](_0x1a813d,_0x19e799){const _0x2c20f4=_0x57996b;this[_0x2c20f4(0x19c)][_0x2c20f4(0x180)](_0x1a813d,_0x19e799);}[_0x57996b(0x1a0)](_0x412436){const _0x37face=_0x57996b;this[_0x37face(0x19c)][_0x37face(0x1a0)](_0x412436);}[_0x57996b(0x1b9)](){const _0x322fc3=_0x57996b;this[_0x322fc3(0x19c)][_0x322fc3(0x1b9)]();}[_0x57996b(0x1a8)](_0x2d02b8){const _0x5b4348=_0x57996b;this[_0x5b4348(0x19c)][_0x5b4348(0x1a8)](_0x2d02b8);}[_0x57996b(0x193)](_0x39c7ba,_0x6b0f68,_0x46fe13,_0x12dbba){const _0x2c0d8c=_0x57996b;this[_0x2c0d8c(0x1bb)][_0x2c0d8c(0x193)](_0x39c7ba,_0x6b0f68,_0x46fe13,_0x12dbba);}[_0x57996b(0x198)](_0x1640c2){const _0x554d7d=_0x57996b;this[_0x554d7d(0x1bb)][_0x554d7d(0x198)](_0x1640c2);}[_0x57996b(0x1b2)](){const _0x39266b=_0x57996b;this[_0x39266b(0x1bc)][_0x39266b(0x1a2)]();}}
@@ -39,6 +39,10 @@ export declare class AIChatFeedView extends View {
39
39
  */
40
40
  loadingMessage: string;
41
41
  isLoadingSkeletonVisible: boolean;
42
+ /**
43
+ * @observable
44
+ */
45
+ isTrackChangesOn: boolean;
42
46
  /**
43
47
  * @inheritDoc
44
48
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x588c7e=_0x1084;(function(_0x1ecbea,_0x197bfe){const _0x137229=_0x1084,_0x456564=_0x1ecbea();while(!![]){try{const _0x447ff8=parseInt(_0x137229(0x224))/0x1+parseInt(_0x137229(0x201))/0x2+-parseInt(_0x137229(0x1e8))/0x3*(parseInt(_0x137229(0x222))/0x4)+-parseInt(_0x137229(0x22a))/0x5+parseInt(_0x137229(0x1f8))/0x6+parseInt(_0x137229(0x1f9))/0x7+-parseInt(_0x137229(0x1eb))/0x8*(parseInt(_0x137229(0x20f))/0x9);if(_0x447ff8===_0x197bfe)break;else _0x456564['push'](_0x456564['shift']());}catch(_0x25559f){_0x456564['push'](_0x456564['shift']());}}}(_0x4182,0x4f4ee));import{CKEditorError as _0x254ce0,logWarning as _0x2deb97,scrollViewportToShowTarget as _0xfde5a8}from'ckeditor5/src/utils.js';import{View as _0x4caf9c}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x16cbbd}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x3e5310}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x426664}from'./feed/aichatfeedreplyitemview.js';function _0x1084(_0x365302,_0x4b1889){const _0x41823a=_0x4182();return _0x1084=function(_0x108440,_0x2aab88){_0x108440=_0x108440-0x1e6;let _0x3c286e=_0x41823a[_0x108440];return _0x3c286e;},_0x1084(_0x365302,_0x4b1889);}import{AIChatFeedUserMessageItemView as _0xb9cbd3}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x49e132}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x57307e}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x4755c9}from'../utils/scrollmanager.js';import{AISkeletonView as _0x16f68f,SKELETON_DEFINITIONS as _0x52d8d0}from'../../aicore/ui/aiskeleton.js';function _0x4182(){const _0x2a6bfc=['markItemAsDone','1740495FDLWsg','locale','element','add','_createFeedLoader','ck-ai-chat__loader-text','loadingMessage','remove','createCollection','addItem','options','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','6fdkRFI','isVisible','isLoadingSkeletonVisible','1117672SiLAQN','scrollManager','interaction-header','includes','scrollToSuggestion','stop','ck-hidden','children','span','map','_setupTemplate','extendTemplate','_createSkeletonLoader','1983438KPTFny','238980RAqfBQ','removeItem','updateSuggestionPartState','_createTemplateChildren','updateContent','ai-reply','_bodyCollection','clear','562718zBZxPu','find','getPartView','start','updateWebSources','ai-chat-feed-view-item-not-found','ck-ai-chat__loader','isPending','ai-suggestion-reply','updateReplyItem','bindTemplate','render','set','startAutoScroll','18MuqEkZ','updatePartState','div','_createFeedItems','ck-ai-chat__feed','updateSources','toggleLoadingSkeleton','stopAutoScroll','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','markAsDone','ai-chat-feed-view-item-not-a-suggestion-item','getItemIds','updateSuggestionItem','_createLoaderChildren','destroy','getItemById','ck-ai-chat__feed__items','user-message','setTemplate','375944bWEBYe','delegate','494263IGBvQx','setLoadingMessage','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','ai-chat-feed-view-item-not-a-reply-item','aiFeed'];_0x4182=function(){return _0x2a6bfc;};return _0x4182();}import{AISpinnerView as _0x3ddc4f}from'../../aicore/ui/aispinner.js';export class AIChatFeedView extends _0x4caf9c{[_0x588c7e(0x1f2)];[_0x588c7e(0x1ec)];[_0x588c7e(0x1ff)];constructor(_0x10ec04,_0x430f8e){const _0x2e4a6c=_0x588c7e;super(_0x10ec04),this[_0x2e4a6c(0x1ff)]=_0x430f8e,this[_0x2e4a6c(0x20d)](_0x2e4a6c(0x208),!0x1),this[_0x2e4a6c(0x20d)](_0x2e4a6c(0x230),''),this[_0x2e4a6c(0x20d)](_0x2e4a6c(0x1ea),!0x1),this[_0x2e4a6c(0x1f2)]=this[_0x2e4a6c(0x232)](),this[_0x2e4a6c(0x1f2)][_0x2e4a6c(0x223)](..._0x16cbbd)['to'](this),this[_0x2e4a6c(0x1f5)]();}[_0x588c7e(0x20c)](){const _0x27b171=_0x588c7e;super[_0x27b171(0x20c)](),this[_0x27b171(0x1ec)]=new _0x4755c9(this[_0x27b171(0x22c)]);}[_0x588c7e(0x21d)](){const _0x2db5e4=_0x588c7e;super[_0x2db5e4(0x21d)](),this[_0x2db5e4(0x1ec)][_0x2db5e4(0x21d)]();}[_0x588c7e(0x200)](){const _0x393fce=_0x588c7e;this[_0x393fce(0x1f2)][_0x393fce(0x200)]();}[_0x588c7e(0x233)](_0x56eccf,_0x2c34ab){const _0x556654=_0x588c7e;let _0x15ab89;_0x15ab89=_0x556654(0x1fe)===_0x56eccf?new _0x426664(this[_0x556654(0x22b)],_0x2c34ab):_0x556654(0x209)===_0x56eccf?new _0x3e5310(this[_0x556654(0x22b)],_0x2c34ab):_0x556654(0x220)===_0x56eccf?new _0xb9cbd3(this[_0x556654(0x22b)],_0x2c34ab,this[_0x556654(0x1ff)]):_0x556654(0x1ed)===_0x56eccf?new _0x57307e(this[_0x556654(0x22b)],_0x2c34ab):new _0x49e132(_0x2c34ab),this[_0x556654(0x1f2)][_0x556654(0x22d)](_0x15ab89);}async[_0x588c7e(0x20a)]({id:_0x214ba6,parsedContent:_0x54808a,renderingStrategy:_0x3b3589,abortSignal:_0x6477de}){const _0x764a21=_0x588c7e,_0x1cdfc4=this[_0x764a21(0x21e)](_0x214ba6);if(!(_0x1cdfc4 instanceof _0x426664))throw new _0x254ce0(_0x764a21(0x227),null,{'itemView':_0x1cdfc4,'id':_0x214ba6,'parsedContent':_0x54808a});await _0x1cdfc4[_0x764a21(0x1fd)]({'parsedContent':_0x54808a,'renderingStrategy':_0x3b3589,'abortSignal':_0x6477de});}async[_0x588c7e(0x205)](_0x99c0ef,_0x274a4d){const _0x35af73=_0x588c7e,_0x4c6ecd=this[_0x35af73(0x21e)](_0x99c0ef);if(_0x4c6ecd instanceof _0x3e5310)_0x4c6ecd[_0x35af73(0x214)](_0x274a4d);else{if(!(_0x4c6ecd instanceof _0x426664))throw new _0x254ce0(_0x35af73(0x217),null,{'itemView':_0x4c6ecd,'id':_0x99c0ef,'sources':_0x274a4d});_0x4c6ecd[_0x35af73(0x214)](_0x274a4d);}}async[_0x588c7e(0x21b)]({id:_0x45547d,parts:_0x358af4,renderingStrategy:_0x44ec2f,abortSignal:_0x31b348}){const _0x4f7152=_0x588c7e,_0x4d68af=this[_0x4f7152(0x21e)](_0x45547d);if(!(_0x4d68af instanceof _0x3e5310))throw new _0x254ce0(_0x4f7152(0x219),null,{'itemView':_0x4d68af,'id':_0x45547d,'parts':_0x358af4});await _0x4d68af[_0x4f7152(0x1fd)]({'parts':_0x358af4,'renderingStrategy':_0x44ec2f,'abortSignal':_0x31b348});}[_0x588c7e(0x1fb)]({id:_0x3cb05d,index:_0x2977ae,state:_0x147eb0}){const _0x20c6e6=_0x588c7e,_0x3690d1=this[_0x20c6e6(0x21e)](_0x3cb05d);if(!(_0x3690d1 instanceof _0x3e5310))throw new _0x254ce0(_0x20c6e6(0x219),this,{'id':_0x3cb05d});_0x3690d1[_0x20c6e6(0x210)](_0x2977ae,_0x147eb0);}[_0x588c7e(0x229)](_0x52269f){const _0xa2ef70=_0x588c7e;this[_0xa2ef70(0x21e)](_0x52269f)[_0xa2ef70(0x218)]();}[_0x588c7e(0x21a)](){const _0x22bf8e=_0x588c7e;return this[_0x22bf8e(0x1f2)][_0x22bf8e(0x1f4)](_0x4a64ae=>_0x4a64ae[_0x22bf8e(0x1e6)]['id']);}[_0x588c7e(0x1fa)](_0x52ec85){const _0x3c3fac=_0x588c7e;this[_0x3c3fac(0x1f2)][_0x3c3fac(0x231)](this[_0x3c3fac(0x21e)](_0x52ec85));}[_0x588c7e(0x1ef)](_0x132a5b,_0xc556b6){const _0x3d0ce0=_0x588c7e,_0x2013ea=this[_0x3d0ce0(0x21e)](_0x132a5b);if(!(_0x2013ea instanceof _0x3e5310))return void _0x2deb97(_0x3d0ce0(0x1e7),{'replyId':_0x132a5b,'partIndex':_0xc556b6});const _0x438557=_0x2013ea[_0x3d0ce0(0x203)](_0xc556b6);_0x438557?_0xfde5a8({'target':_0x438557[_0x3d0ce0(0x22c)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x2deb97(_0x3d0ce0(0x226),{'replyId':_0x132a5b,'partIndex':_0xc556b6});}[_0x588c7e(0x1f5)](){const _0x51e368=_0x588c7e;this[_0x51e368(0x221)]({'tag':_0x51e368(0x211),'attributes':{'class':['ck',_0x51e368(0x213)]},'children':this[_0x51e368(0x1fc)]()});}[_0x588c7e(0x1fc)](){const _0x19868d=_0x588c7e,_0x3dfbc2=this[_0x19868d(0x1f7)]();return[this[_0x19868d(0x212)](),_0x3dfbc2,this[_0x19868d(0x22e)]()];}[_0x588c7e(0x1f7)](){const _0x1b7af6=_0x588c7e,_0x10485d=new _0x16f68f(this[_0x1b7af6(0x22b)],_0x52d8d0[_0x1b7af6(0x228)]);return _0x10485d[_0x1b7af6(0x1f6)]({'attributes':{'class':[this[_0x1b7af6(0x20b)]['if'](_0x1b7af6(0x1ea),_0x1b7af6(0x1f1),_0x4e4bcc=>!_0x4e4bcc)]}}),_0x10485d;}[_0x588c7e(0x212)](){const _0x117862=_0x588c7e,_0x34d04f=new _0x4caf9c(this[_0x117862(0x22b)]);return _0x34d04f[_0x117862(0x221)]({'tag':_0x117862(0x211),'attributes':{'class':['ck',_0x117862(0x21f),this[_0x117862(0x20b)]['if'](_0x117862(0x1ea),_0x117862(0x1f1))]},'children':this[_0x117862(0x1f2)]}),_0x34d04f;}[_0x588c7e(0x22e)](){const _0x478596=_0x588c7e,_0x2e1382=new _0x4caf9c(this[_0x478596(0x22b)]);return _0x2e1382[_0x478596(0x221)]({'tag':_0x478596(0x211),'attributes':{'class':['ck',_0x478596(0x207),this[_0x478596(0x20b)]['if'](_0x478596(0x208),_0x478596(0x1f1),_0x3b9c10=>!_0x3b9c10)]},'children':this[_0x478596(0x21c)]()}),_0x2e1382;}[_0x588c7e(0x21c)](){const _0x469b6c=_0x588c7e,_0x302662=new _0x3ddc4f();return _0x302662[_0x469b6c(0x1e9)]=!0x0,[_0x302662,{'tag':_0x469b6c(0x1f3),'attributes':{'class':['ck',_0x469b6c(0x22f)]},'children':[{'text':this[_0x469b6c(0x20b)]['to'](_0x469b6c(0x230))}]}];}[_0x588c7e(0x21e)](_0x133178){const _0x208f00=_0x588c7e,_0x190955=this[_0x208f00(0x1f2)][_0x208f00(0x202)](_0x23c406=>_0x23c406[_0x208f00(0x1e6)]['id'][_0x208f00(0x1ee)](_0x133178));if(!_0x190955)throw new _0x254ce0(_0x208f00(0x206),this,{'id':_0x133178});return _0x190955;}[_0x588c7e(0x225)](_0x42dc0c){const _0x39fa9b=_0x588c7e;this[_0x39fa9b(0x20d)](_0x39fa9b(0x230),_0x42dc0c);}[_0x588c7e(0x215)](_0x63b774){const _0x312100=_0x588c7e;this[_0x312100(0x20d)](_0x312100(0x1ea),_0x63b774);}[_0x588c7e(0x20e)](){const _0x41515d=_0x588c7e;this[_0x41515d(0x1ec)][_0x41515d(0x204)]();}[_0x588c7e(0x216)](){const _0x184ba0=_0x588c7e;this[_0x184ba0(0x1ec)][_0x184ba0(0x1f0)]();}}
23
+ const _0x279a10=_0x1fc2;(function(_0x12eecd,_0x26c909){const _0x83a234=_0x1fc2,_0x928649=_0x12eecd();while(!![]){try{const _0x1050eb=-parseInt(_0x83a234(0xa2))/0x1+-parseInt(_0x83a234(0xe6))/0x2*(parseInt(_0x83a234(0xad))/0x3)+-parseInt(_0x83a234(0xc4))/0x4*(parseInt(_0x83a234(0xcb))/0x5)+parseInt(_0x83a234(0xc6))/0x6*(-parseInt(_0x83a234(0xa7))/0x7)+parseInt(_0x83a234(0xce))/0x8*(-parseInt(_0x83a234(0xe9))/0x9)+-parseInt(_0x83a234(0xbf))/0xa+parseInt(_0x83a234(0x9d))/0xb;if(_0x1050eb===_0x26c909)break;else _0x928649['push'](_0x928649['shift']());}catch(_0x630429){_0x928649['push'](_0x928649['shift']());}}}(_0x3cd9,0x1a49b));import{CKEditorError as _0x4a028a,logWarning as _0x28ae64,scrollViewportToShowTarget as _0x46fdf8}from'ckeditor5/src/utils.js';import{View as _0x28867d}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0xa84e19}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x255221}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x3f5828}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x2e1e7e}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x463ad4}from'./feed/aichatfeederroritemview.js';function _0x1fc2(_0x2f8e6a,_0x126f8c){const _0x3cd981=_0x3cd9();return _0x1fc2=function(_0x1fc282,_0x43d914){_0x1fc282=_0x1fc282-0x9b;let _0x258a0d=_0x3cd981[_0x1fc282];return _0x258a0d;},_0x1fc2(_0x2f8e6a,_0x126f8c);}import{AIChatFeedInteractionHeaderView as _0x3dcf63}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x4ba47d}from'../utils/scrollmanager.js';import{AISkeletonView as _0x126b68,SKELETON_DEFINITIONS as _0x3e7a52}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x54046a}from'../../aicore/ui/aispinner.js';function _0x3cd9(){const _0x1918ca=['231582hZoWeZ','startAutoScroll','ck-ai-chat__feed','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','start','ck-ai-chat__loader-text','remove','_setupTemplate','setTemplate','user-message','find','isLoadingSkeletonVisible','updateSuggestionItem','_createSkeletonLoader','stopAutoScroll','loadingMessage','locale','markItemAsDone','1027320ZYuzjy','createCollection','options','markAsDone','clear','495916uQEziq','extendTemplate','282zEHQYN','ai-chat-feed-view-item-not-a-suggestion-item','ai-suggestion-reply','getPartView','removeItem','5XLHFAP','ck-ai-chat__loader','getItemIds','14312QZahhN','setLoadingMessage','getItemById','interaction-header','span','updateSuggestionPartState','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','scrollToSuggestion','scrollManager','isTrackChangesOn','updatePartState','bind','element','stop','ai-reply','_createTemplateChildren','toggleLoadingSkeleton','div','set','ck-hidden','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','updateSources','isPending','bindTemplate','4LDeZFI','isVisible','ck-ai-chat__feed__items','828iAKesl','destroy','_createFeedItems','render','map','add','10713472gLrFMY','updateContent','ai-chat-feed-view-item-not-a-reply-item','addItem','_createFeedLoader','191199blspdJ','updateReplyItem','delegate','aiFeed','_createLoaderChildren','19271YjRcxC','_bodyCollection','children','includes','updateWebSources','ai-chat-feed-view-item-not-found'];_0x3cd9=function(){return _0x1918ca;};return _0x3cd9();}export class AIChatFeedView extends _0x28867d{[_0x279a10(0xa9)];[_0x279a10(0xd6)];[_0x279a10(0xa8)];constructor(_0x36ad99,_0x26af27){const _0x370bd5=_0x279a10;super(_0x36ad99),this[_0x370bd5(0xa8)]=_0x26af27,this[_0x370bd5(0xe0)](_0x370bd5(0xe4),!0x1),this[_0x370bd5(0xe0)](_0x370bd5(0xbc),''),this[_0x370bd5(0xe0)](_0x370bd5(0xb8),!0x1),this[_0x370bd5(0xe0)](_0x370bd5(0xd7),!0x1),this[_0x370bd5(0xa9)]=this[_0x370bd5(0xc0)](),this[_0x370bd5(0xa9)][_0x370bd5(0xa4)](..._0xa84e19)['to'](this),this[_0x370bd5(0xb4)]();}[_0x279a10(0xec)](){const _0x347a7a=_0x279a10;super[_0x347a7a(0xec)](),this[_0x347a7a(0xd6)]=new _0x4ba47d(this[_0x347a7a(0xda)]);}[_0x279a10(0xea)](){const _0x2ae2f8=_0x279a10;super[_0x2ae2f8(0xea)](),this[_0x2ae2f8(0xd6)][_0x2ae2f8(0xea)]();}[_0x279a10(0xc3)](){const _0x2d24ea=_0x279a10;this[_0x2d24ea(0xa9)][_0x2d24ea(0xc3)]();}[_0x279a10(0xa0)](_0x2e4218,_0x5a5f1d){const _0x10f786=_0x279a10;let _0x4c0c69;_0x10f786(0xdc)===_0x2e4218?_0x4c0c69=new _0x3f5828(this[_0x10f786(0xbd)],_0x5a5f1d):_0x10f786(0xc8)===_0x2e4218?(_0x4c0c69=new _0x255221(this[_0x10f786(0xbd)],_0x5a5f1d),_0x4c0c69[_0x10f786(0xd9)](_0x10f786(0xd7))['to'](this,_0x10f786(0xd7))):_0x4c0c69=_0x10f786(0xb6)===_0x2e4218?new _0x2e1e7e(this[_0x10f786(0xbd)],_0x5a5f1d,this[_0x10f786(0xa8)]):_0x10f786(0xd1)===_0x2e4218?new _0x3dcf63(this[_0x10f786(0xbd)],_0x5a5f1d):new _0x463ad4(_0x5a5f1d),this[_0x10f786(0xa9)][_0x10f786(0x9c)](_0x4c0c69);}async[_0x279a10(0xa3)]({id:_0x4cb309,parsedContent:_0x847a5f,renderingStrategy:_0x309898,abortSignal:_0x2bb1ce}){const _0x3b7229=_0x279a10,_0x103376=this[_0x3b7229(0xd0)](_0x4cb309);if(!(_0x103376 instanceof _0x3f5828))throw new _0x4a028a(_0x3b7229(0x9f),null,{'itemView':_0x103376,'id':_0x4cb309,'parsedContent':_0x847a5f});await _0x103376[_0x3b7229(0x9e)]({'parsedContent':_0x847a5f,'renderingStrategy':_0x309898,'abortSignal':_0x2bb1ce});}async[_0x279a10(0xab)](_0x569a63,_0x165c4e){const _0x5b188f=_0x279a10,_0x187c78=this[_0x5b188f(0xd0)](_0x569a63);if(_0x187c78 instanceof _0x255221)_0x187c78[_0x5b188f(0xe3)](_0x165c4e);else{if(!(_0x187c78 instanceof _0x3f5828))throw new _0x4a028a(_0x5b188f(0xb0),null,{'itemView':_0x187c78,'id':_0x569a63,'sources':_0x165c4e});_0x187c78[_0x5b188f(0xe3)](_0x165c4e);}}async[_0x279a10(0xb9)]({id:_0x148869,parts:_0xb6c0a4,renderingStrategy:_0xa0ea70,abortSignal:_0x384dba}){const _0x46a65b=_0x279a10,_0x5184d0=this[_0x46a65b(0xd0)](_0x148869);if(!(_0x5184d0 instanceof _0x255221))throw new _0x4a028a(_0x46a65b(0xc7),null,{'itemView':_0x5184d0,'id':_0x148869,'parts':_0xb6c0a4});await _0x5184d0[_0x46a65b(0x9e)]({'parts':_0xb6c0a4,'renderingStrategy':_0xa0ea70,'abortSignal':_0x384dba});}[_0x279a10(0xd3)]({id:_0x424b45,index:_0x2ea87a,state:_0x3c56e8}){const _0x36bf5d=_0x279a10,_0x2ef060=this[_0x36bf5d(0xd0)](_0x424b45);if(!(_0x2ef060 instanceof _0x255221))throw new _0x4a028a(_0x36bf5d(0xc7),this,{'id':_0x424b45});_0x2ef060[_0x36bf5d(0xd8)](_0x2ea87a,_0x3c56e8);}[_0x279a10(0xbe)](_0x5c9116){const _0x2ace23=_0x279a10;this[_0x2ace23(0xd0)](_0x5c9116)[_0x2ace23(0xc2)]();}[_0x279a10(0xcd)](){const _0x14090f=_0x279a10;return this[_0x14090f(0xa9)][_0x14090f(0x9b)](_0x8bcf66=>_0x8bcf66[_0x14090f(0xc1)]['id']);}[_0x279a10(0xca)](_0x3e5be4){const _0x2d3358=_0x279a10;this[_0x2d3358(0xa9)][_0x2d3358(0xb3)](this[_0x2d3358(0xd0)](_0x3e5be4));}[_0x279a10(0xd5)](_0x437a0f,_0xa6d563){const _0x43ed92=_0x279a10,_0x5d777c=this[_0x43ed92(0xd0)](_0x437a0f);if(!(_0x5d777c instanceof _0x255221))return void _0x28ae64(_0x43ed92(0xe2),{'replyId':_0x437a0f,'partIndex':_0xa6d563});const _0x47d468=_0x5d777c[_0x43ed92(0xc9)](_0xa6d563);_0x47d468?_0x46fdf8({'target':_0x47d468[_0x43ed92(0xda)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x28ae64(_0x43ed92(0xd4),{'replyId':_0x437a0f,'partIndex':_0xa6d563});}[_0x279a10(0xb4)](){const _0x57b3b0=_0x279a10;this[_0x57b3b0(0xb5)]({'tag':_0x57b3b0(0xdf),'attributes':{'class':['ck',_0x57b3b0(0xaf)]},'children':this[_0x57b3b0(0xdd)]()});}[_0x279a10(0xdd)](){const _0x125582=_0x279a10,_0x1da4d4=this[_0x125582(0xba)]();return[this[_0x125582(0xeb)](),_0x1da4d4,this[_0x125582(0xa1)]()];}[_0x279a10(0xba)](){const _0x2a15ea=_0x279a10,_0x1d147b=new _0x126b68(this[_0x2a15ea(0xbd)],_0x3e7a52[_0x2a15ea(0xa5)]);return _0x1d147b[_0x2a15ea(0xc5)]({'attributes':{'class':[this[_0x2a15ea(0xe5)]['if'](_0x2a15ea(0xb8),_0x2a15ea(0xe1),_0x53697a=>!_0x53697a)]}}),_0x1d147b;}[_0x279a10(0xeb)](){const _0x5cbb0b=_0x279a10,_0x3a4383=new _0x28867d(this[_0x5cbb0b(0xbd)]);return _0x3a4383[_0x5cbb0b(0xb5)]({'tag':_0x5cbb0b(0xdf),'attributes':{'class':['ck',_0x5cbb0b(0xe8),this[_0x5cbb0b(0xe5)]['if'](_0x5cbb0b(0xb8),_0x5cbb0b(0xe1))]},'children':this[_0x5cbb0b(0xa9)]}),_0x3a4383;}[_0x279a10(0xa1)](){const _0xd590d3=_0x279a10,_0x40a211=new _0x28867d(this[_0xd590d3(0xbd)]);return _0x40a211[_0xd590d3(0xb5)]({'tag':_0xd590d3(0xdf),'attributes':{'class':['ck',_0xd590d3(0xcc),this[_0xd590d3(0xe5)]['if'](_0xd590d3(0xe4),_0xd590d3(0xe1),_0x445356=>!_0x445356)]},'children':this[_0xd590d3(0xa6)]()}),_0x40a211;}[_0x279a10(0xa6)](){const _0x5512cd=_0x279a10,_0x4ef4a2=new _0x54046a();return _0x4ef4a2[_0x5512cd(0xe7)]=!0x0,[_0x4ef4a2,{'tag':_0x5512cd(0xd2),'attributes':{'class':['ck',_0x5512cd(0xb2)]},'children':[{'text':this[_0x5512cd(0xe5)]['to'](_0x5512cd(0xbc))}]}];}[_0x279a10(0xd0)](_0x164e90){const _0x4ea862=_0x279a10,_0x28ccfb=this[_0x4ea862(0xa9)][_0x4ea862(0xb7)](_0x3f8db2=>_0x3f8db2[_0x4ea862(0xc1)]['id'][_0x4ea862(0xaa)](_0x164e90));if(!_0x28ccfb)throw new _0x4a028a(_0x4ea862(0xac),this,{'id':_0x164e90});return _0x28ccfb;}[_0x279a10(0xcf)](_0xc551ac){const _0x1286d2=_0x279a10;this[_0x1286d2(0xe0)](_0x1286d2(0xbc),_0xc551ac);}[_0x279a10(0xde)](_0x573c9e){const _0x311398=_0x279a10;this[_0x311398(0xe0)](_0x311398(0xb8),_0x573c9e);}[_0x279a10(0xae)](){const _0x143379=_0x279a10;this[_0x143379(0xd6)][_0x143379(0xb1)]();}[_0x279a10(0xbb)](){const _0x35c8d3=_0x279a10;this[_0x35c8d3(0xd6)][_0x35c8d3(0xdb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b3d(){const _0x43e52b=['startConversation','AI_CHAT_LABEL_NEW_CHAT','2913492EraNMk','_createStartConversationButton','5705196XeKmUD','5036235zTbwmC','603fKGYNT','fire','add','398968sTbTlm','2103268EslFXH','3vbHiFE','resizeButton','7458600xpYiih','conversationStartButton','isMaximized','ck-ai-chat__start-conversation','execute','848554MPflaU','ck-ai-header\x20ck-ai-header_chat','children','AI_CHAT_HEADING','set','locale'];_0x5b3d=function(){return _0x43e52b;};return _0x5b3d();}const _0x4fbb86=_0x1504;(function(_0x4dfb83,_0x1a6f52){const _0x242afc=_0x1504,_0x18fb1b=_0x4dfb83();while(!![]){try{const _0x28651a=-parseInt(_0x242afc(0x1c4))/0x1+-parseInt(_0x242afc(0x1d4))/0x2*(-parseInt(_0x242afc(0x1d5))/0x3)+parseInt(_0x242afc(0x1cc))/0x4+parseInt(_0x242afc(0x1cf))/0x5+parseInt(_0x242afc(0x1d7))/0x6+parseInt(_0x242afc(0x1ce))/0x7+-parseInt(_0x242afc(0x1d3))/0x8*(parseInt(_0x242afc(0x1d0))/0x9);if(_0x28651a===_0x1a6f52)break;else _0x18fb1b['push'](_0x18fb1b['shift']());}catch(_0x14ca5b){_0x18fb1b['push'](_0x18fb1b['shift']());}}}(_0x5b3d,0xa006f));function _0x1504(_0x3ade4e,_0x4cbdcf){const _0x5b3d79=_0x5b3d();return _0x1504=function(_0x150495,_0x27312f){_0x150495=_0x150495-0x1c4;let _0x2b87e4=_0x5b3d79[_0x150495];return _0x2b87e4;},_0x1504(_0x3ade4e,_0x4cbdcf);}import{ButtonView as _0x40ce88,FormHeaderView as _0x5ab043}from'ckeditor5/src/ui.js';import{IconPlus as _0x55e782,IconAIChat as _0x558014}from'ckeditor5/src/icons.js';import{getTranslation as _0x3d8c83}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x48b016}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x5ab043{[_0x4fbb86(0x1d8)];[_0x4fbb86(0x1d6)];constructor(_0x573bff,_0x1d5758){const _0x5d1127=_0x4fbb86;super(_0x573bff,{'label':_0x3d8c83(_0x573bff,_0x5d1127(0x1c7)),'class':_0x5d1127(0x1c5),'icon':_0x558014}),this[_0x5d1127(0x1c8)](_0x5d1127(0x1d9),!0x1),this[_0x5d1127(0x1d8)]=this[_0x5d1127(0x1cd)](_0x573bff),this[_0x5d1127(0x1c6)][_0x5d1127(0x1d2)](this[_0x5d1127(0x1d8)]),_0x1d5758&&(this[_0x5d1127(0x1d6)]=_0x48b016(_0x573bff,this),this[_0x5d1127(0x1c6)][_0x5d1127(0x1d2)](this[_0x5d1127(0x1d6)]));}[_0x4fbb86(0x1cd)](_0x1a63be){const _0x13c056=_0x4fbb86,_0x2f4a32=new _0x40ce88(_0x1a63be);return _0x2f4a32[_0x13c056(0x1c8)]({'label':_0x3d8c83(this[_0x13c056(0x1c9)],_0x13c056(0x1cb)),'withText':!0x0,'icon':_0x55e782,'class':_0x13c056(0x1da)}),_0x2f4a32['on'](_0x13c056(0x1db),()=>{const _0x57d889=_0x13c056;this[_0x57d889(0x1d1)](_0x57d889(0x1ca));}),_0x2f4a32;}}
23
+ const _0x29fc6e=_0x4de1;function _0xee6a(){const _0x57853b=['7081954yNcifN','startConversation','AI_CHAT_HEADING','AI_CHAT_LABEL_NEW_CHAT','92398dzfZfK','276TVCfsB','set','801DHXChI','add','13LRoEdl','children','61540LZImHN','execute','_createStartConversationButton','26553bLDUmb','ck-ai-header\x20ck-ai-header_chat','5546604ufRzkN','conversationStartButton','155ksfjVe','fire','156540PcqiDS','locale','resizeButton','ck-ai-chat__start-conversation','3801704GvDwxJ','isMaximized'];_0xee6a=function(){return _0x57853b;};return _0xee6a();}(function(_0x56193c,_0x2e28b1){const _0x3432cb=_0x4de1,_0x1e7018=_0x56193c();while(!![]){try{const _0x1dbbe4=parseInt(_0x3432cb(0x97))/0x1*(-parseInt(_0x3432cb(0x92))/0x2)+-parseInt(_0x3432cb(0x82))/0x3*(-parseInt(_0x3432cb(0x93))/0x4)+-parseInt(_0x3432cb(0x86))/0x5*(-parseInt(_0x3432cb(0x88))/0x6)+-parseInt(_0x3432cb(0x84))/0x7+parseInt(_0x3432cb(0x8c))/0x8+-parseInt(_0x3432cb(0x95))/0x9*(-parseInt(_0x3432cb(0x99))/0xa)+-parseInt(_0x3432cb(0x8e))/0xb;if(_0x1dbbe4===_0x2e28b1)break;else _0x1e7018['push'](_0x1e7018['shift']());}catch(_0xd15133){_0x1e7018['push'](_0x1e7018['shift']());}}}(_0xee6a,0x63097));import{ButtonView as _0x4c15d5,FormHeaderView as _0x373d88}from'ckeditor5/src/ui.js';import{IconPlus as _0x507f2b,IconAIChat as _0x304244}from'ckeditor5/src/icons.js';function _0x4de1(_0x2dce1c,_0x2d9df7){const _0xee6a41=_0xee6a();return _0x4de1=function(_0x4de187,_0x52daf8){_0x4de187=_0x4de187-0x80;let _0x44cac4=_0xee6a41[_0x4de187];return _0x44cac4;},_0x4de1(_0x2dce1c,_0x2d9df7);}import{getTranslation as _0x1f04b1}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x1aa6a5}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x373d88{[_0x29fc6e(0x85)];[_0x29fc6e(0x8a)];constructor(_0x2a01e1,_0x19f761){const _0x21d56b=_0x29fc6e;super(_0x2a01e1,{'label':_0x1f04b1(_0x2a01e1,_0x21d56b(0x90)),'class':_0x21d56b(0x83),'icon':_0x304244}),this[_0x21d56b(0x94)](_0x21d56b(0x8d),!0x1),this[_0x21d56b(0x85)]=this[_0x21d56b(0x81)](_0x2a01e1),this[_0x21d56b(0x98)][_0x21d56b(0x96)](this[_0x21d56b(0x85)]),_0x19f761&&(this[_0x21d56b(0x8a)]=_0x1aa6a5(_0x2a01e1,this),this[_0x21d56b(0x98)][_0x21d56b(0x96)](this[_0x21d56b(0x8a)]));}[_0x29fc6e(0x81)](_0xd48dce){const _0x181133=_0x29fc6e,_0x539043=new _0x4c15d5(_0xd48dce);return _0x539043[_0x181133(0x94)]({'label':_0x1f04b1(this[_0x181133(0x89)],_0x181133(0x91)),'withText':!0x0,'icon':_0x507f2b,'class':_0x181133(0x8b)}),_0x539043['on'](_0x181133(0x80),()=>{const _0x1acb68=_0x181133;this[_0x1acb68(0x87)](_0x1acb68(0x8f));}),_0x539043;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x451b5d=_0x5069;(function(_0x18d495,_0x5c5826){var _0x4e2c2b=_0x5069,_0x1797a9=_0x18d495();while(!![]){try{var _0x8bd265=-parseInt(_0x4e2c2b(0x1ac))/0x1*(-parseInt(_0x4e2c2b(0x1a2))/0x2)+parseInt(_0x4e2c2b(0x1b8))/0x3*(-parseInt(_0x4e2c2b(0x1b9))/0x4)+-parseInt(_0x4e2c2b(0x1b6))/0x5*(-parseInt(_0x4e2c2b(0x1b4))/0x6)+parseInt(_0x4e2c2b(0x1b1))/0x7*(-parseInt(_0x4e2c2b(0x1ad))/0x8)+-parseInt(_0x4e2c2b(0x1ae))/0x9*(parseInt(_0x4e2c2b(0x1bc))/0xa)+parseInt(_0x4e2c2b(0x1bb))/0xb+-parseInt(_0x4e2c2b(0x1ab))/0xc*(parseInt(_0x4e2c2b(0x1a9))/0xd);if(_0x8bd265===_0x5c5826)break;else _0x1797a9['push'](_0x1797a9['shift']());}catch(_0x3b0e81){_0x1797a9['push'](_0x1797a9['shift']());}}}(_0x6e84,0x3f93a));function _0x6e84(){var _0x5daa92=['454065YFkVZL','4NOPyiA','ck-ai-chat','3649921bIstgV','1099090eZezxD','_bodyCollection','populateSourceResourceBalloon','closeSourceResourceBalloon','572XhIlAa','detachFromDom','ck-rounded-corners','uiLanguageDirection','ck-reset_all','attachToDom','chatControls','1530568sLOBLy','chatFeed','12FsVspq','908FjHAmh','48MQegEQ','9IbysQe','div','destroy','176071gLxSNT','setTemplate','delegate','1192974AVcCZf','chatHeader','5ScdXnm','chatDisclaimer'];_0x6e84=function(){return _0x5daa92;};return _0x6e84();}import{View as _0x2f2d2e,BodyCollection as _0x49669a}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x4758fe}from'../utils/eventnames.js';import{AIChatFeedView as _0x3cd60f}from'./aichatfeedview.js';import{AIChatControlsView as _0x33c6e4}from'./aichatcontrolsview.js';function _0x5069(_0x3a1423,_0x1a6ef5){var _0x6e84e7=_0x6e84();return _0x5069=function(_0x50690e,_0x560d15){_0x50690e=_0x50690e-0x19f;var _0x264697=_0x6e84e7[_0x50690e];return _0x264697;},_0x5069(_0x3a1423,_0x1a6ef5);}import{AIChatHeaderView as _0x5a968b}from'./aichatheaderview.js';import{AIDisclaimerView as _0x4b9609}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x2f2d2e{[_0x451b5d(0x1b5)];[_0x451b5d(0x1aa)];[_0x451b5d(0x1a8)];[_0x451b5d(0x1b7)];[_0x451b5d(0x19f)];constructor(_0x22f235,_0x1ac730){var _0x28a084=_0x451b5d;super(_0x22f235),this[_0x28a084(0x19f)]=new _0x49669a(_0x22f235),this[_0x28a084(0x19f)][_0x28a084(0x1a7)](),this[_0x28a084(0x1b5)]=new _0x5a968b(_0x22f235,_0x1ac730),this[_0x28a084(0x1b5)][_0x28a084(0x1b3)](..._0x4758fe)['to'](this),this[_0x28a084(0x1aa)]=new _0x3cd60f(_0x22f235,this[_0x28a084(0x19f)]),this[_0x28a084(0x1aa)][_0x28a084(0x1b3)](..._0x4758fe)['to'](this),this[_0x28a084(0x1a8)]=new _0x33c6e4(_0x22f235,this[_0x28a084(0x19f)]),this[_0x28a084(0x1a8)][_0x28a084(0x1b3)](..._0x4758fe)['to'](this),this[_0x28a084(0x1b7)]=new _0x4b9609(_0x22f235),this[_0x28a084(0x1b2)]({'tag':_0x28a084(0x1af),'attributes':{'class':['ck',_0x28a084(0x1a6),_0x28a084(0x1ba),_0x28a084(0x1a4)],'dir':_0x22f235[_0x28a084(0x1a5)]},'children':[this[_0x28a084(0x1b5)],this[_0x28a084(0x1aa)],this[_0x28a084(0x1a8)],this[_0x28a084(0x1b7)]]});}[_0x451b5d(0x1a0)](_0x4f87de,_0x35acf1,_0x11c7fa,_0x308d38){var _0x3d92ba=_0x451b5d;this[_0x3d92ba(0x1a8)][_0x3d92ba(0x1a0)](_0x4f87de,_0x35acf1,_0x11c7fa,_0x308d38);}[_0x451b5d(0x1a1)](_0x197f51){var _0x1c073e=_0x451b5d;this[_0x1c073e(0x1a8)][_0x1c073e(0x1a1)](_0x197f51);}[_0x451b5d(0x1b0)](){var _0x561cb9=_0x451b5d;this[_0x561cb9(0x19f)][_0x561cb9(0x1a3)](),super[_0x561cb9(0x1b0)]();}}
23
+ function _0x5344(){var _0x4c4998=['uiLanguageDirection','646446ogrROw','detachFromDom','populateSourceResourceBalloon','chatDisclaimer','16650QuaLCQ','div','9339nvJphM','delegate','_bodyCollection','2475658eTunIF','attachToDom','ck-rounded-corners','9941240gHLTQv','3901541TsBGqI','645312wevHfp','10ZhRpEZ','ck-ai-chat','chatHeader','destroy','chatFeed','10539JJEDjI','setTemplate','chatControls','1756xNIMpG','ck-reset_all','closeSourceResourceBalloon'];_0x5344=function(){return _0x4c4998;};return _0x5344();}var _0x2dd37d=_0x26d6;(function(_0x7d5e1f,_0x1b446e){var _0x1cdb22=_0x26d6,_0xc8d7fc=_0x7d5e1f();while(!![]){try{var _0x2c114b=-parseInt(_0x1cdb22(0xb5))/0x1+parseInt(_0x1cdb22(0xb0))/0x2+parseInt(_0x1cdb22(0xad))/0x3*(-parseInt(_0x1cdb22(0xbe))/0x4)+parseInt(_0x1cdb22(0xb6))/0x5*(parseInt(_0x1cdb22(0xc2))/0x6)+parseInt(_0x1cdb22(0xb4))/0x7+-parseInt(_0x1cdb22(0xb3))/0x8+parseInt(_0x1cdb22(0xbb))/0x9*(parseInt(_0x1cdb22(0xab))/0xa);if(_0x2c114b===_0x1b446e)break;else _0xc8d7fc['push'](_0xc8d7fc['shift']());}catch(_0x5793be){_0xc8d7fc['push'](_0xc8d7fc['shift']());}}}(_0x5344,0xac517));function _0x26d6(_0x46d543,_0x4f75e6){var _0x53441f=_0x5344();return _0x26d6=function(_0x26d663,_0x5943a7){_0x26d663=_0x26d663-0xab;var _0x2f2612=_0x53441f[_0x26d663];return _0x2f2612;},_0x26d6(_0x46d543,_0x4f75e6);}import{View as _0x45f3f5,BodyCollection as _0x2fe29a}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x26ea0a}from'../utils/eventnames.js';import{AIChatFeedView as _0x28befb}from'./aichatfeedview.js';import{AIChatControlsView as _0x541ed5}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x173b53}from'./aichatheaderview.js';import{AIDisclaimerView as _0x24c13b}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x45f3f5{[_0x2dd37d(0xb8)];[_0x2dd37d(0xba)];[_0x2dd37d(0xbd)];[_0x2dd37d(0xc5)];[_0x2dd37d(0xaf)];constructor(_0x33cb61,_0x46e0ae){var _0x31e153=_0x2dd37d;super(_0x33cb61),this[_0x31e153(0xaf)]=new _0x2fe29a(_0x33cb61),this[_0x31e153(0xaf)][_0x31e153(0xb1)](),this[_0x31e153(0xb8)]=new _0x173b53(_0x33cb61,_0x46e0ae),this[_0x31e153(0xb8)][_0x31e153(0xae)](..._0x26ea0a)['to'](this),this[_0x31e153(0xba)]=new _0x28befb(_0x33cb61,this[_0x31e153(0xaf)]),this[_0x31e153(0xba)][_0x31e153(0xae)](..._0x26ea0a)['to'](this),this[_0x31e153(0xbd)]=new _0x541ed5(_0x33cb61,this[_0x31e153(0xaf)]),this[_0x31e153(0xbd)][_0x31e153(0xae)](..._0x26ea0a)['to'](this),this[_0x31e153(0xc5)]=new _0x24c13b(_0x33cb61),this[_0x31e153(0xbc)]({'tag':_0x31e153(0xac),'attributes':{'class':['ck',_0x31e153(0xbf),_0x31e153(0xb7),_0x31e153(0xb2)],'dir':_0x33cb61[_0x31e153(0xc1)]},'children':[this[_0x31e153(0xb8)],this[_0x31e153(0xba)],this[_0x31e153(0xbd)],this[_0x31e153(0xc5)]]});}[_0x2dd37d(0xc4)](_0x4e19ee,_0x2abd2d,_0xb0ca7e,_0x393534){var _0x9bd007=_0x2dd37d;this[_0x9bd007(0xbd)][_0x9bd007(0xc4)](_0x4e19ee,_0x2abd2d,_0xb0ca7e,_0x393534);}[_0x2dd37d(0xc0)](_0x463916){var _0x2753ff=_0x2dd37d;this[_0x2753ff(0xbd)][_0x2753ff(0xc0)](_0x463916);}[_0x2dd37d(0xb9)](){var _0x3989fe=_0x2dd37d;this[_0x3989fe(0xaf)][_0x3989fe(0xc3)](),super[_0x3989fe(0xb9)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40cfd0=_0x5170;function _0x5170(_0x137084,_0x869867){const _0x30923a=_0x3092();return _0x5170=function(_0x517044,_0x3ec749){_0x517044=_0x517044-0xde;let _0xab6ab6=_0x30923a[_0x517044];return _0xab6ab6;},_0x5170(_0x137084,_0x869867);}(function(_0x4892f8,_0x2c0f39){const _0x2e33b8=_0x5170,_0x5830c0=_0x4892f8();while(!![]){try{const _0x585761=parseInt(_0x2e33b8(0xf4))/0x1*(-parseInt(_0x2e33b8(0x13f))/0x2)+-parseInt(_0x2e33b8(0x170))/0x3+parseInt(_0x2e33b8(0xde))/0x4*(-parseInt(_0x2e33b8(0x154))/0x5)+parseInt(_0x2e33b8(0x129))/0x6+parseInt(_0x2e33b8(0x16c))/0x7+-parseInt(_0x2e33b8(0x15b))/0x8*(parseInt(_0x2e33b8(0x147))/0x9)+parseInt(_0x2e33b8(0x109))/0xa;if(_0x585761===_0x2c0f39)break;else _0x5830c0['push'](_0x5830c0['shift']());}catch(_0x278df7){_0x5830c0['push'](_0x5830c0['shift']());}}}(_0x3092,0x59f48));function _0x3092(){const _0x5e4135=['getComputedStyle','overflowContainer','999060Fmyieg','_createMockButton','clientWidth','pop','disconnect','right','bottom','style','_createShowMoreButtonView','reorganizeChips','innerWidth','auto','isOn','_repinBalloonPanel','offsetWidth','_isContainerVisible','visibility','body','observe','_calculateContainerWidth','showMoreButton','push','25656OYjkvo','_createShowMoreButton','hidden','_overflowChips','+\x201','_targetContainer','_updateShowMoreButtonVisibility','tagName','15786jNerJs','display','_distributeChips','cloneNode','showBalloonPanel','calculationContainer','destroy','add','innerHeight','block\x20!important','content','element','_applyOverflowResults','5Utabfl','pin','includes','-9999px','controlsButton','_parentView','ck-calculation-container','536PerowT','_showMoreButtonView','boxSizing','setTemplate','_createContainerElements','execute','border-box','_showMoreBalloonPanelView','abs','visible','absolute','innerHTML','undefined','show','disableAnimationOnEnter','div','_setupVisibilityObserver','5132876LaBRFA','_updateOverflowUI','documentElement','setContainerElement','1942281EKhzUc','from','2815496yhGiRo','render','classList','children','0px','zIndex','_pendingCalculation','_createShowMoreBalloonPanelView','_intersectionObserver','_calculateOverflowInContainer','.ck-ai-chat','overflowChips','length','forEach','_visibleChips','rowDetectionTolerance','button','_config','width','some','_updateBalloonContent','none','10zjKhhx','showMoreLabelPrefix','_handleShowMoreButtonClick','label','createElement','50px','className','left','pointerEvents','top','appendChild','_containerElement','remove','_ancestorsToRestore','cssClasses','showMoreBalloon','set','querySelector','height','_checkAndHandleOverflow','isIntersecting','10657770pxPuSp','parentElement','hideBalloonPanel','getBoundingClientRect','block','isConnected','toLowerCase','300px','_locale','_renderChipsAndCountRows','filter','_createCalculationContainer','_bodyCollection','_restoreAncestorVisibility','maxVisibleRows','clear','opacity','isVisible','_makeAncestorsVisible','slice','position','textContent','showMoreButtonView','_testButtonFit','visible\x20!important','_applyCalculationStyles','_findTargetContainer','hide','extendTemplate','clientHeight'];_0x3092=function(){return _0x5e4135;};return _0x3092();}import{View as _0x344de5,BalloonPanelView as _0x2c75e1,ButtonView as _0x323fb2,clickOutsideHandler as _0x4dfbf2}from'ckeditor5/src/ui.js';import{Collection as _0x476ac6}from'ckeditor5/src/utils.js';const wn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_n=_0x40cfd0(0x110);export class AIChatChipsOverflowManager{[_0x40cfd0(0x111)];[_0x40cfd0(0xef)];[_0x40cfd0(0xec)];[_0x40cfd0(0x142)];[_0x40cfd0(0x15c)]=null;[_0x40cfd0(0x162)]=null;[_0x40cfd0(0xff)]=null;[_0x40cfd0(0x115)];[_0x40cfd0(0x159)]=null;[_0x40cfd0(0xe6)]=null;[_0x40cfd0(0xe4)]=!0x1;constructor(_0x33db8a,_0x298836,_0x5ab03b,_0xb217dc,_0x3db2e3){const _0x58a174=_0x40cfd0;this[_0x58a174(0x111)]=_0x33db8a,this[_0x58a174(0xec)]=_0x298836,this[_0x58a174(0xef)]={...wn,..._0x5ab03b,'cssClasses':{'controlsButton':'','calculationContainer':_0x58a174(0x15a),..._0x5ab03b[_0x58a174(0x102)]}},this[_0x58a174(0x142)]=new _0x476ac6(),this[_0x58a174(0x115)]=_0xb217dc,this[_0x58a174(0x159)]=_0x3db2e3||null;}[_0x40cfd0(0x16f)](_0xfe6d8c){const _0x201a00=_0x40cfd0;this[_0x201a00(0xe6)]&&(this[_0x201a00(0xe6)][_0x201a00(0x12d)](),this[_0x201a00(0xe6)]=null),this[_0x201a00(0xff)]=_0xfe6d8c,this[_0x201a00(0x16b)]();}get[_0x40cfd0(0x11f)](){const _0x28a2b4=_0x40cfd0;return this[_0x28a2b4(0x15c)];}get[_0x40cfd0(0xe9)](){const _0xb164f0=_0x40cfd0;return this[_0xb164f0(0x142)];}[_0x40cfd0(0x132)](){requestAnimationFrame(()=>{const _0x51761b=_0x5170;this[_0x51761b(0x107)]();});}[_0x40cfd0(0x14b)](){const _0x5b93d2=_0x40cfd0;this[_0x5b93d2(0x15c)]&&this[_0x5b93d2(0x162)]&&(this[_0x5b93d2(0xf2)](),this[_0x5b93d2(0x15c)][_0x5b93d2(0x135)]=!0x0,this[_0x5b93d2(0x162)][_0x5b93d2(0x168)](),this[_0x5b93d2(0x162)][_0x5b93d2(0x155)]({'target':this[_0x5b93d2(0x15c)][_0x5b93d2(0x152)],'limiter':document[_0x5b93d2(0x105)](_0x5b93d2(0xe8))}));}[_0x40cfd0(0x10b)](){const _0x1b7d04=_0x40cfd0;this[_0x1b7d04(0x15c)]&&this[_0x1b7d04(0x162)]&&(this[_0x1b7d04(0x15c)][_0x1b7d04(0x135)]=!0x1,this[_0x1b7d04(0x162)][_0x1b7d04(0x124)]());}[_0x40cfd0(0x118)](){const _0x3ed850=_0x40cfd0;this[_0x3ed850(0x142)][_0x3ed850(0x118)](),this[_0x3ed850(0x10b)](),this[_0x3ed850(0x145)](),this[_0x3ed850(0x15c)]&&(this[_0x3ed850(0x15c)][_0x3ed850(0xf7)]=''),this[_0x3ed850(0x162)]&&this[_0x3ed850(0x162)][_0x3ed850(0x151)][_0x3ed850(0x118)]();}[_0x40cfd0(0x14d)](){const _0x5ee2cc=_0x40cfd0;this[_0x5ee2cc(0xe6)]&&(this[_0x5ee2cc(0xe6)][_0x5ee2cc(0x12d)](),this[_0x5ee2cc(0xe6)]=null),this[_0x5ee2cc(0x15c)]&&(this[_0x5ee2cc(0x15c)][_0x5ee2cc(0x14d)](),this[_0x5ee2cc(0x15c)]=null),this[_0x5ee2cc(0x162)]&&(this[_0x5ee2cc(0x162)][_0x5ee2cc(0x14d)](),this[_0x5ee2cc(0x162)]=null);}[_0x40cfd0(0x107)](){const _0xa7c93b=_0x40cfd0;if(!this[_0xa7c93b(0xff)])return;if(!this[_0xa7c93b(0x138)]())return void(this[_0xa7c93b(0xe4)]=!0x0);this[_0xa7c93b(0xe4)]=!0x1;const _0x28118c=[...this[_0xa7c93b(0xec)],...this[_0xa7c93b(0x142)]],_0x16aaa9=this[_0xa7c93b(0x114)](),_0x3f6e66=this[_0xa7c93b(0xe7)](_0x16aaa9,_0x28118c),_0x5a3c04=_0x16aaa9[_0xa7c93b(0x101)];_0x5a3c04&&this[_0xa7c93b(0x116)](_0x5a3c04),_0x16aaa9[_0xa7c93b(0x100)](),this[_0xa7c93b(0x153)](_0x28118c,_0x3f6e66);}[_0x40cfd0(0x140)](){const _0x3f12a2=_0x40cfd0;this[_0x3f12a2(0x15c)]=this[_0x3f12a2(0x131)](),this[_0x3f12a2(0x162)]=this[_0x3f12a2(0xe5)](),this[_0x3f12a2(0x15c)][_0x3f12a2(0xdf)](),this[_0x3f12a2(0xff)][_0x3f12a2(0xfe)](this[_0x3f12a2(0x15c)][_0x3f12a2(0x152)]),this[_0x3f12a2(0x15c)]['on'](_0x3f12a2(0x160),()=>{const _0x584bd7=_0x3f12a2;this[_0x584bd7(0xf6)]();}),_0x4dfbf2({'emitter':this[_0x3f12a2(0x162)],'contextElements':[this[_0x3f12a2(0x162)][_0x3f12a2(0x152)],this[_0x3f12a2(0x15c)][_0x3f12a2(0x152)]],'callback':()=>this[_0x3f12a2(0x10b)](),'activator':()=>this[_0x3f12a2(0x15c)][_0x3f12a2(0x135)]});}[_0x40cfd0(0x131)](){const _0x219910=_0x40cfd0,_0x3489f3=new _0x323fb2(this[_0x219910(0x111)]);_0x3489f3[_0x219910(0x104)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4e7587=[this[_0x219910(0xef)][_0x219910(0x102)][_0x219910(0x13d)]];return this[_0x219910(0xef)][_0x219910(0x102)][_0x219910(0x158)]&&_0x4e7587[_0x219910(0x13e)](this[_0x219910(0xef)][_0x219910(0x102)][_0x219910(0x158)]),_0x3489f3[_0x219910(0x125)]({'attributes':{'class':_0x4e7587}}),_0x3489f3;}[_0x40cfd0(0xe5)](){const _0x5be973=_0x40cfd0,_0x44f4bc=new _0x2c75e1(this[_0x5be973(0x111)]);return _0x44f4bc[_0x5be973(0x125)]({'attributes':{'class':this[_0x5be973(0xef)][_0x5be973(0x102)][_0x5be973(0x103)]}}),this[_0x5be973(0x115)][_0x5be973(0x14e)](_0x44f4bc),_0x44f4bc;}[_0x40cfd0(0xf2)](){const _0x34859b=_0x40cfd0;if(this[_0x34859b(0x162)]&&(this[_0x34859b(0x162)][_0x34859b(0x151)][_0x34859b(0x118)](),this[_0x34859b(0x142)][_0x34859b(0xea)]>0x0)){this[_0x34859b(0x142)][_0x34859b(0xeb)](_0x29b7cc=>{const _0x5b7ff6=_0x34859b;_0x29b7cc[_0x5b7ff6(0x169)]();});const _0x1d1c77=new _0x344de5(this[_0x34859b(0x111)]);_0x1d1c77[_0x34859b(0x15e)]({'tag':_0x34859b(0x16a),'attributes':{'class':this[_0x34859b(0xef)][_0x34859b(0x102)][_0x34859b(0x128)]},'children':this[_0x34859b(0x142)]}),this[_0x34859b(0x162)][_0x34859b(0x151)][_0x34859b(0x14e)](_0x1d1c77);}}[_0x40cfd0(0xf6)](){const _0x3b4aa5=_0x40cfd0;this[_0x3b4aa5(0x15c)][_0x3b4aa5(0x135)]?this[_0x3b4aa5(0x10b)]():this[_0x3b4aa5(0x14b)]();}[_0x40cfd0(0x145)](){const _0x388454=_0x40cfd0,_0x2f5515=this[_0x388454(0x142)][_0x388454(0xea)]>0x0;this[_0x388454(0x15c)]?.[_0x388454(0x152)]&&(this[_0x388454(0x15c)][_0x388454(0x152)][_0x388454(0x130)][_0x388454(0x148)]=_0x2f5515?'':_0x388454(0xf3));}[_0x40cfd0(0x136)](){const _0x8d1398=_0x40cfd0;this[_0x8d1398(0x15c)]?.[_0x8d1398(0x135)]&&this[_0x8d1398(0x162)]?.[_0x8d1398(0x11a)]&&this[_0x8d1398(0x15c)][_0x8d1398(0x152)]&&this[_0x8d1398(0x162)][_0x8d1398(0x155)]({'target':this[_0x8d1398(0x15c)][_0x8d1398(0x152)],'limiter':document[_0x8d1398(0x105)](_0x8d1398(0xe8))});}[_0x40cfd0(0x123)](_0x2b9376){const _0x55c8de=_0x40cfd0,_0x1b4836=this[_0x55c8de(0xff)]?.[_0x55c8de(0x146)][_0x55c8de(0x10f)]()||_0x55c8de(0x16a),_0x1b768c=this[_0x55c8de(0xff)]?.[_0x55c8de(0xe0)];if(_0x1b768c){const _0x6394bf=_0x1b768c[0x0]||'',_0x2652d4=_0x2b9376[_0x55c8de(0x105)]('.'+_0x6394bf),_0x564de1=_0x2b9376[_0x55c8de(0x105)](_0x1b4836);return _0x2652d4||_0x564de1||_0x2b9376;}return _0x2b9376[_0x55c8de(0x105)](_0x1b4836)||_0x2b9376;}[_0x40cfd0(0x13c)](){const _0x4d4f46=_0x40cfd0,_0x348c99=this[_0x4d4f46(0x159)]?.[_0x4d4f46(0x152)]||this[_0x4d4f46(0xff)];if(!_0x348c99)return _n;const _0x3fa22b=window[_0x4d4f46(0x127)](_0x348c99)[_0x4d4f46(0xf0)];if(_0x4d4f46(0x134)===_0x3fa22b||_0x4d4f46(0xe2)===_0x3fa22b||!_0x3fa22b){const _0x16db9b=_0x348c99[_0x4d4f46(0x10a)];if(_0x16db9b){const _0x34be58=window[_0x4d4f46(0x127)](_0x16db9b);return _0x4d4f46(0x134)!==_0x34be58[_0x4d4f46(0xf0)]?_0x34be58[_0x4d4f46(0xf0)]:_n;}return _n;}return _0x3fa22b;}[_0x40cfd0(0x122)](_0x408e9c,_0x56f05a){const _0x5efbca=_0x40cfd0;this[_0x5efbca(0xef)][_0x5efbca(0x102)][_0x5efbca(0x14c)]&&_0x408e9c[_0x5efbca(0xe0)][_0x5efbca(0x14e)](this[_0x5efbca(0xef)][_0x5efbca(0x102)][_0x5efbca(0x14c)]),_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0xf0)]=_0x56f05a,_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0x11d)]=_0x5efbca(0x165),_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0xfd)]=_0x5efbca(0x157),_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0xfb)]=_0x5efbca(0x157),_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0x119)]='0',_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0xfc)]=_0x5efbca(0xf3),_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0xe3)]='-1',_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0x139)]=_0x5efbca(0x121),_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0x148)]=_0x5efbca(0x150),_0x408e9c[_0x5efbca(0x130)][_0x5efbca(0x15d)]=_0x5efbca(0x161);}[_0x40cfd0(0x116)](_0x446f95){const _0x3b7afe=_0x40cfd0;_0x446f95[_0x3b7afe(0xeb)](({element:_0x722349,originalDisplay:_0xdea2c6,originalVisibility:_0x46e2f7})=>{const _0x596517=_0x3b7afe;_0x722349[_0x596517(0x130)][_0x596517(0x148)]=_0xdea2c6,_0x722349[_0x596517(0x130)][_0x596517(0x139)]=_0x46e2f7;});}[_0x40cfd0(0x11b)](_0x51681c){const _0x441f6d=_0x40cfd0,_0x37bd66=[];let _0x214522=_0x51681c;for(;_0x214522&&_0x214522!==document[_0x441f6d(0x13a)];){const _0x55c182=window[_0x441f6d(0x127)](_0x214522);_0x441f6d(0xf3)!==_0x55c182[_0x441f6d(0x148)]&&_0x441f6d(0x141)!==_0x55c182[_0x441f6d(0x139)]||(_0x37bd66[_0x441f6d(0x13e)]({'element':_0x214522,'originalDisplay':_0x214522[_0x441f6d(0x130)][_0x441f6d(0x148)],'originalVisibility':_0x214522[_0x441f6d(0x130)][_0x441f6d(0x139)]}),_0x214522[_0x441f6d(0x130)][_0x441f6d(0x148)]=_0x441f6d(0x10d),_0x214522[_0x441f6d(0x130)][_0x441f6d(0x139)]=_0x441f6d(0x164)),_0x214522=_0x214522[_0x441f6d(0x10a)];}return _0x37bd66;}[_0x40cfd0(0x15f)](){const _0x483372=_0x40cfd0;let _0x4d6fae,_0x2fd627;return this[_0x483372(0x159)]?.[_0x483372(0x152)]?(_0x4d6fae=this[_0x483372(0x159)][_0x483372(0x152)][_0x483372(0x14a)](!0x0),_0x2fd627=this[_0x483372(0x123)](_0x4d6fae)):(_0x4d6fae=document[_0x483372(0xf8)](_0x483372(0x16a)),_0x2fd627=_0x4d6fae),{'calculationContainer':_0x4d6fae,'targetContainer':_0x2fd627};}[_0x40cfd0(0x114)](){const _0x34eba2=_0x40cfd0,{calculationContainer:_0x442a5d,targetContainer:_0xa716cb}=this[_0x34eba2(0x15f)](),_0x5ab85a=this[_0x34eba2(0x13c)]();this[_0x34eba2(0x122)](_0x442a5d,_0x5ab85a);const _0x15743d=this[_0x34eba2(0x159)]?.[_0x34eba2(0x152)]||this[_0x34eba2(0xff)],_0x373998=_0x15743d?.[_0x34eba2(0x10a)];_0x373998?_0x373998[_0x34eba2(0xfe)](_0x442a5d):document[_0x34eba2(0x13a)][_0x34eba2(0xfe)](_0x442a5d),_0x442a5d[_0x34eba2(0x144)]=_0xa716cb;const _0x12b941=this[_0x34eba2(0x11b)](_0x373998||null);return _0x442a5d[_0x34eba2(0x137)],_0x442a5d[_0x34eba2(0x101)]=_0x12b941,_0x442a5d;}[_0x40cfd0(0xe7)](_0x598008,_0xafb743){const _0x7dfa8d=_0x40cfd0,_0x4f2554=_0x598008[_0x7dfa8d(0x144)]||_0x598008,_0x5bf7f9=[],{rowCount:_0x60e5f5}=this[_0x7dfa8d(0x112)](_0x4f2554,_0xafb743);if(_0x60e5f5<=this[_0x7dfa8d(0xef)][_0x7dfa8d(0x117)])return _0x5bf7f9;const _0x4144d2=_0xafb743[_0x7dfa8d(0x11c)]();for(;_0x4144d2[_0x7dfa8d(0xea)]>0x0;){if(this[_0x7dfa8d(0x120)](_0x598008,_0x4f2554,_0x4144d2)){const _0x47bf11=_0xafb743[_0x7dfa8d(0x113)](_0x203453=>!_0x4144d2[_0x7dfa8d(0x156)](_0x203453));_0x5bf7f9[_0x7dfa8d(0x13e)](..._0x47bf11);break;}if(!_0x4144d2[_0x7dfa8d(0x12c)]())break;}return _0x5bf7f9;}[_0x40cfd0(0x112)](_0x280161,_0x29b1d1){const _0xe6237d=_0x40cfd0;_0x280161[_0xe6237d(0x166)]='',_0x29b1d1[_0xe6237d(0xeb)](_0x4c71d3=>{const _0x2b49c3=_0xe6237d;if(_0x4c71d3[_0x2b49c3(0x152)]){const _0x2377c3=_0x4c71d3[_0x2b49c3(0x152)][_0x2b49c3(0x14a)](!0x0);_0x280161[_0x2b49c3(0xfe)](_0x2377c3);}}),_0x280161[_0xe6237d(0x137)];const _0x330f19=_0x280161[_0xe6237d(0xe1)],_0xc5c771=[];return Array[_0xe6237d(0x171)](_0x330f19)[_0xe6237d(0xeb)](_0x4fb3b9=>{const _0xd33734=_0xe6237d,_0x44a749=_0x4fb3b9[_0xd33734(0x10c)]()[_0xd33734(0xfd)];_0xc5c771[_0xd33734(0xf1)](_0x546838=>Math[_0xd33734(0x163)](_0x546838-_0x44a749)<this[_0xd33734(0xef)][_0xd33734(0xed)])||_0xc5c771[_0xd33734(0x13e)](_0x44a749);}),{'rowCount':_0xc5c771[_0xe6237d(0xea)]};}[_0x40cfd0(0x12a)](){const _0x41c9b6=_0x40cfd0,_0x5c4a52=document[_0x41c9b6(0xf8)](_0x41c9b6(0xee));return _0x5c4a52[_0x41c9b6(0xfa)]=this[_0x41c9b6(0xef)][_0x41c9b6(0x102)][_0x41c9b6(0x13d)],this[_0x41c9b6(0xef)][_0x41c9b6(0x102)][_0x41c9b6(0x158)]&&_0x5c4a52[_0x41c9b6(0xe0)][_0x41c9b6(0x14e)](this[_0x41c9b6(0xef)][_0x41c9b6(0x102)][_0x41c9b6(0x158)]),_0x5c4a52[_0x41c9b6(0x11e)]=_0x41c9b6(0x143),_0x5c4a52;}[_0x40cfd0(0x120)](_0x5e40d1,_0xb88651,_0x15cfcc){const _0x3601d9=_0x40cfd0;this[_0x3601d9(0x112)](_0xb88651,_0x15cfcc);const _0x54c71a=this[_0x3601d9(0x12a)]();_0x5e40d1[_0x3601d9(0xfe)](_0x54c71a),_0x5e40d1[_0x3601d9(0x137)];const _0x400852=[..._0xb88651[_0x3601d9(0xe1)],_0x54c71a],_0x2594e2=[];_0x400852[_0x3601d9(0xeb)](_0x23c3e7=>{const _0x1f8dda=_0x3601d9,_0x437df4=_0x23c3e7[_0x1f8dda(0x10c)]()[_0x1f8dda(0xfd)];_0x2594e2[_0x1f8dda(0xf1)](_0x13e462=>Math[_0x1f8dda(0x163)](_0x13e462-_0x437df4)<this[_0x1f8dda(0xef)][_0x1f8dda(0xed)])||_0x2594e2[_0x1f8dda(0x13e)](_0x437df4);});const _0xf8bab6=_0x2594e2[_0x3601d9(0xea)];return _0x54c71a[_0x3601d9(0x100)](),_0xf8bab6<=this[_0x3601d9(0xef)][_0x3601d9(0x117)];}[_0x40cfd0(0x149)](_0xfe18ff,_0x127e4f){const _0x476320=_0x40cfd0;this[_0x476320(0xec)][_0x476320(0x118)](),this[_0x476320(0x142)][_0x476320(0x118)](),_0xfe18ff[_0x476320(0xeb)](_0x3f00b4=>{const _0x49dfe5=_0x476320;_0x127e4f[_0x49dfe5(0x156)](_0x3f00b4)?this[_0x49dfe5(0x142)][_0x49dfe5(0x14e)](_0x3f00b4):this[_0x49dfe5(0xec)][_0x49dfe5(0x14e)](_0x3f00b4);});}[_0x40cfd0(0x16d)](_0x5d5429){const _0x1b63c7=_0x40cfd0;if(_0x5d5429>0x0&&!this[_0x1b63c7(0x15c)]&&this[_0x1b63c7(0x140)](),_0x5d5429>0x0&&this[_0x1b63c7(0x15c)]){const _0x2a2f64=''+this[_0x1b63c7(0xef)][_0x1b63c7(0xf5)]+(_0x5d5429<0x63?_0x5d5429:'99');this[_0x1b63c7(0x15c)][_0x1b63c7(0xf7)]=_0x2a2f64;}this[_0x1b63c7(0xf2)](),this[_0x1b63c7(0x145)](),this[_0x1b63c7(0x136)]();}[_0x40cfd0(0x153)](_0x55ce17,_0x4048ea){const _0x1b4046=_0x40cfd0;this[_0x1b4046(0x149)](_0x55ce17,_0x4048ea),this[_0x1b4046(0x16d)](_0x4048ea[_0x1b4046(0xea)]);}[_0x40cfd0(0x16b)](){const _0x47288c=_0x40cfd0;this[_0x47288c(0xff)]&&_0x47288c(0x167)!=typeof IntersectionObserver&&(this[_0x47288c(0xe6)]=new IntersectionObserver(_0xab17b8=>{const _0x29cbf6=_0x47288c;_0xab17b8[0x0][_0x29cbf6(0x108)]&&this[_0x29cbf6(0xe4)]&&requestAnimationFrame(()=>{const _0x22ba89=_0x29cbf6;this[_0x22ba89(0x107)]();});},{'threshold':0.01,'rootMargin':_0x47288c(0xf9)}),this[_0x47288c(0xe6)][_0x47288c(0x13b)](this[_0x47288c(0xff)]));}[_0x40cfd0(0x138)](){const _0x10d65a=_0x40cfd0;if(!this[_0x10d65a(0xff)])return!0x1;if(!this[_0x10d65a(0xff)][_0x10d65a(0x10e)])return!0x1;const _0x272b38=this[_0x10d65a(0xff)][_0x10d65a(0x10c)]();if(0x0===_0x272b38[_0x10d65a(0xf0)]||0x0===_0x272b38[_0x10d65a(0x106)])return!0x1;const _0x3149d1=window[_0x10d65a(0x14f)]||document[_0x10d65a(0x16e)][_0x10d65a(0x126)],_0x3bb631=window[_0x10d65a(0x133)]||document[_0x10d65a(0x16e)][_0x10d65a(0x12b)],_0x7d8459=0xc8;return _0x272b38[_0x10d65a(0x12f)]>=-0xc8&&_0x272b38[_0x10d65a(0xfd)]<=_0x3149d1+_0x7d8459&&_0x272b38[_0x10d65a(0x12e)]>=-0xc8&&_0x272b38[_0x10d65a(0xfb)]<=_0x3bb631+_0x7d8459;}}
23
+ const _0x483829=_0xde92;(function(_0x393971,_0x264d82){const _0x5c8c17=_0xde92,_0x2c488b=_0x393971();while(!![]){try{const _0x126a8d=parseInt(_0x5c8c17(0xc3))/0x1+parseInt(_0x5c8c17(0x76))/0x2+parseInt(_0x5c8c17(0x8c))/0x3+-parseInt(_0x5c8c17(0xb7))/0x4*(parseInt(_0x5c8c17(0x7e))/0x5)+-parseInt(_0x5c8c17(0xab))/0x6*(-parseInt(_0x5c8c17(0x8a))/0x7)+parseInt(_0x5c8c17(0x9f))/0x8+-parseInt(_0x5c8c17(0x8d))/0x9*(parseInt(_0x5c8c17(0xcb))/0xa);if(_0x126a8d===_0x264d82)break;else _0x2c488b['push'](_0x2c488b['shift']());}catch(_0x37c62e){_0x2c488b['push'](_0x2c488b['shift']());}}}(_0xc0f4,0xc75a9));function _0xc0f4(){const _0x2b58ad=['pop','body','length','1280810yWSvFI','set','zIndex','_restoreAncestorVisibility','block\x20!important','innerWidth','_visibleChips','from','2126640QISHPe','_createShowMoreBalloonPanelView','auto','isVisible','_parentView','children','observe','_ancestorsToRestore','hidden','width','_containerElement','_updateShowMoreButtonVisibility','render','appendChild','_applyCalculationStyles','_showMoreButtonView','abs','toLowerCase','_showMoreBalloonPanelView','none','50px','_createShowMoreButton','createElement','button','_createContainerElements','_findTargetContainer','pointerEvents','_intersectionObserver','maxVisibleRows','setTemplate','disconnect','display','slice','opacity','0px','clientHeight','clientWidth','clear','right','label','visibility','element','showMoreButtonView','position','_updateOverflowUI','_createShowMoreButtonView','filter','showBalloonPanel','_updateBalloonContent','showMoreBalloon','content','boxSizing','getBoundingClientRect','hideBalloonPanel','add','_calculateContainerWidth','calculationContainer','height','_distributeChips','remove','_handleShowMoreButtonClick','pin','isOn','2621570FDEDzm','controlsButton','_locale','_renderChipsAndCountRows','_overflowChips','style','undefined','overflowChips','25EIykxY','_createMockButton','visible','innerHeight','_applyOverflowResults','showMoreButton','border-box','block','forEach','_calculateOverflowInContainer','_testButtonFit','visible\x20!important','7QwZCoe','classList','4717653JCOebw','162KTqlIj','isConnected','bottom','setContainerElement','left','300px','.ck-ai-chat','_setupVisibilityObserver','_config','_pendingCalculation','div','offsetWidth','-9999px','_createCalculationContainer','parentElement','top','execute','isIntersecting','3078624hHllBN','absolute','documentElement','ck-calculation-container','cloneNode','reorganizeChips','className','_repinBalloonPanel','hide','overflowContainer','querySelector','push','4020396iQYQHn','tagName','_targetContainer','getComputedStyle','_isContainerVisible','rowDetectionTolerance','some','includes','extendTemplate','+\x201','disableAnimationOnEnter','_bodyCollection','459628bJNYkm','_checkAndHandleOverflow','destroy','innerHTML','show','textContent','cssClasses','showMoreLabelPrefix','_makeAncestorsVisible'];_0xc0f4=function(){return _0x2b58ad;};return _0xc0f4();}import{View as _0x2cb2c6,BalloonPanelView as _0x2eace9,ButtonView as _0x3c95e8,clickOutsideHandler as _0x4af2b1}from'ckeditor5/src/ui.js';import{Collection as _0x169b08}from'ckeditor5/src/utils.js';const dn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},bn=_0x483829(0x92);function _0xde92(_0x500072,_0x2f3014){const _0xc0f4bd=_0xc0f4();return _0xde92=function(_0xde921d,_0x34c510){_0xde921d=_0xde921d-0x68;let _0x5e3100=_0xc0f4bd[_0xde921d];return _0x5e3100;},_0xde92(_0x500072,_0x2f3014);}export class AIChatChipsOverflowManager{[_0x483829(0x78)];[_0x483829(0x95)];[_0x483829(0xc9)];[_0x483829(0x7a)];[_0x483829(0xda)]=null;[_0x483829(0xdd)]=null;[_0x483829(0xd5)]=null;[_0x483829(0xb6)];[_0x483829(0xcf)]=null;[_0x483829(0xe6)]=null;[_0x483829(0x96)]=!0x1;constructor(_0x59c991,_0x55c4d9,_0x4461d4,_0xf0f49a,_0x4b7240){const _0x388ac9=_0x483829;this[_0x388ac9(0x78)]=_0x59c991,this[_0x388ac9(0xc9)]=_0x55c4d9,this[_0x388ac9(0x95)]={...dn,..._0x4461d4,'cssClasses':{'controlsButton':'','calculationContainer':_0x388ac9(0xa2),..._0x4461d4[_0x388ac9(0xbd)]}},this[_0x388ac9(0x7a)]=new _0x169b08(),this[_0x388ac9(0xb6)]=_0xf0f49a,this[_0x388ac9(0xcf)]=_0x4b7240||null;}[_0x483829(0x90)](_0x3e2459){const _0x35e1a5=_0x483829;this[_0x35e1a5(0xe6)]&&(this[_0x35e1a5(0xe6)][_0x35e1a5(0xe9)](),this[_0x35e1a5(0xe6)]=null),this[_0x35e1a5(0xd5)]=_0x3e2459,this[_0x35e1a5(0x94)]();}get[_0x483829(0xf5)](){const _0x9388d5=_0x483829;return this[_0x9388d5(0xda)];}get[_0x483829(0x7d)](){const _0x8075da=_0x483829;return this[_0x8075da(0x7a)];}[_0x483829(0xa4)](){requestAnimationFrame(()=>{const _0xf00231=_0xde92;this[_0xf00231(0xb8)]();});}[_0x483829(0xfa)](){const _0x13e179=_0x483829;this[_0x13e179(0xda)]&&this[_0x13e179(0xdd)]&&(this[_0x13e179(0xfb)](),this[_0x13e179(0xda)][_0x13e179(0x75)]=!0x0,this[_0x13e179(0xdd)][_0x13e179(0xbb)](),this[_0x13e179(0xdd)][_0x13e179(0x74)]({'target':this[_0x13e179(0xda)][_0x13e179(0xf4)],'limiter':document[_0x13e179(0xa9)](_0x13e179(0x93))}));}[_0x483829(0x6c)](){const _0x23ecfb=_0x483829;this[_0x23ecfb(0xda)]&&this[_0x23ecfb(0xdd)]&&(this[_0x23ecfb(0xda)][_0x23ecfb(0x75)]=!0x1,this[_0x23ecfb(0xdd)][_0x23ecfb(0xa7)]());}[_0x483829(0xf0)](){const _0x1a798f=_0x483829;this[_0x1a798f(0x7a)][_0x1a798f(0xf0)](),this[_0x1a798f(0x6c)](),this[_0x1a798f(0xd6)](),this[_0x1a798f(0xda)]&&(this[_0x1a798f(0xda)][_0x1a798f(0xf2)]=''),this[_0x1a798f(0xdd)]&&this[_0x1a798f(0xdd)][_0x1a798f(0x69)][_0x1a798f(0xf0)]();}[_0x483829(0xb9)](){const _0x4abc8d=_0x483829;this[_0x4abc8d(0xe6)]&&(this[_0x4abc8d(0xe6)][_0x4abc8d(0xe9)](),this[_0x4abc8d(0xe6)]=null),this[_0x4abc8d(0xda)]&&(this[_0x4abc8d(0xda)][_0x4abc8d(0xb9)](),this[_0x4abc8d(0xda)]=null),this[_0x4abc8d(0xdd)]&&(this[_0x4abc8d(0xdd)][_0x4abc8d(0xb9)](),this[_0x4abc8d(0xdd)]=null);}[_0x483829(0xb8)](){const _0x579b6b=_0x483829;if(!this[_0x579b6b(0xd5)])return;if(!this[_0x579b6b(0xaf)]())return void(this[_0x579b6b(0x96)]=!0x0);this[_0x579b6b(0x96)]=!0x1;const _0x51956d=[...this[_0x579b6b(0xc9)],...this[_0x579b6b(0x7a)]],_0x1b0953=this[_0x579b6b(0x9a)](),_0x373643=this[_0x579b6b(0x87)](_0x1b0953,_0x51956d),_0x338c49=_0x1b0953[_0x579b6b(0xd2)];_0x338c49&&this[_0x579b6b(0xc6)](_0x338c49),_0x1b0953[_0x579b6b(0x72)](),this[_0x579b6b(0x82)](_0x51956d,_0x373643);}[_0x483829(0xe0)](){const _0x8b7211=_0x483829;this[_0x8b7211(0xda)]=this[_0x8b7211(0xf8)](),this[_0x8b7211(0xdd)]=this[_0x8b7211(0xcc)](),this[_0x8b7211(0xda)][_0x8b7211(0xd7)](),this[_0x8b7211(0xd5)][_0x8b7211(0xd8)](this[_0x8b7211(0xda)][_0x8b7211(0xf4)]),this[_0x8b7211(0xda)]['on'](_0x8b7211(0x9d),()=>{const _0x2d9426=_0x8b7211;this[_0x2d9426(0x73)]();}),_0x4af2b1({'emitter':this[_0x8b7211(0xdd)],'contextElements':[this[_0x8b7211(0xdd)][_0x8b7211(0xf4)],this[_0x8b7211(0xda)][_0x8b7211(0xf4)]],'callback':()=>this[_0x8b7211(0x6c)](),'activator':()=>this[_0x8b7211(0xda)][_0x8b7211(0x75)]});}[_0x483829(0xf8)](){const _0x3c591e=_0x483829,_0xff7504=new _0x3c95e8(this[_0x3c591e(0x78)]);_0xff7504[_0x3c591e(0xc4)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x19b581=[this[_0x3c591e(0x95)][_0x3c591e(0xbd)][_0x3c591e(0x83)]];return this[_0x3c591e(0x95)][_0x3c591e(0xbd)][_0x3c591e(0x77)]&&_0x19b581[_0x3c591e(0xaa)](this[_0x3c591e(0x95)][_0x3c591e(0xbd)][_0x3c591e(0x77)]),_0xff7504[_0x3c591e(0xb3)]({'attributes':{'class':_0x19b581}}),_0xff7504;}[_0x483829(0xcc)](){const _0x19f99a=_0x483829,_0x3fff59=new _0x2eace9(this[_0x19f99a(0x78)]);return _0x3fff59[_0x19f99a(0xb3)]({'attributes':{'class':this[_0x19f99a(0x95)][_0x19f99a(0xbd)][_0x19f99a(0x68)]}}),this[_0x19f99a(0xb6)][_0x19f99a(0x6d)](_0x3fff59),_0x3fff59;}[_0x483829(0xfb)](){const _0x466636=_0x483829;if(this[_0x466636(0xdd)]&&(this[_0x466636(0xdd)][_0x466636(0x69)][_0x466636(0xf0)](),this[_0x466636(0x7a)][_0x466636(0xc2)]>0x0)){this[_0x466636(0x7a)][_0x466636(0x86)](_0x11eef4=>{const _0x2534c0=_0x466636;_0x11eef4[_0x2534c0(0xb5)]();});const _0x4fea8e=new _0x2cb2c6(this[_0x466636(0x78)]);_0x4fea8e[_0x466636(0xe8)]({'tag':_0x466636(0x97),'attributes':{'class':this[_0x466636(0x95)][_0x466636(0xbd)][_0x466636(0xa8)]},'children':this[_0x466636(0x7a)]}),this[_0x466636(0xdd)][_0x466636(0x69)][_0x466636(0x6d)](_0x4fea8e);}}[_0x483829(0x73)](){const _0x12f6b9=_0x483829;this[_0x12f6b9(0xda)][_0x12f6b9(0x75)]?this[_0x12f6b9(0x6c)]():this[_0x12f6b9(0xfa)]();}[_0x483829(0xd6)](){const _0x577e3e=_0x483829,_0x2571a1=this[_0x577e3e(0x7a)][_0x577e3e(0xc2)]>0x0;this[_0x577e3e(0xda)]?.[_0x577e3e(0xf4)]&&(this[_0x577e3e(0xda)][_0x577e3e(0xf4)][_0x577e3e(0x7b)][_0x577e3e(0xea)]=_0x2571a1?'':_0x577e3e(0xde));}[_0x483829(0xa6)](){const _0x1ccc98=_0x483829;this[_0x1ccc98(0xda)]?.[_0x1ccc98(0x75)]&&this[_0x1ccc98(0xdd)]?.[_0x1ccc98(0xce)]&&this[_0x1ccc98(0xda)][_0x1ccc98(0xf4)]&&this[_0x1ccc98(0xdd)][_0x1ccc98(0x74)]({'target':this[_0x1ccc98(0xda)][_0x1ccc98(0xf4)],'limiter':document[_0x1ccc98(0xa9)](_0x1ccc98(0x93))});}[_0x483829(0xe4)](_0x5348a9){const _0x2c9148=_0x483829,_0x4b91d5=this[_0x2c9148(0xd5)]?.[_0x2c9148(0xac)][_0x2c9148(0xdc)]()||_0x2c9148(0x97),_0x2bf049=this[_0x2c9148(0xd5)]?.[_0x2c9148(0x8b)];if(_0x2bf049){const _0x1c3111=_0x2bf049[0x0]||'',_0x20e1c0=_0x5348a9[_0x2c9148(0xa9)]('.'+_0x1c3111),_0x40f295=_0x5348a9[_0x2c9148(0xa9)](_0x4b91d5);return _0x20e1c0||_0x40f295||_0x5348a9;}return _0x5348a9[_0x2c9148(0xa9)](_0x4b91d5)||_0x5348a9;}[_0x483829(0x6e)](){const _0x170704=_0x483829,_0x4a07b6=this[_0x170704(0xcf)]?.[_0x170704(0xf4)]||this[_0x170704(0xd5)];if(!_0x4a07b6)return bn;const _0x10fc00=window[_0x170704(0xae)](_0x4a07b6)[_0x170704(0xd4)];if(_0x170704(0xcd)===_0x10fc00||_0x170704(0xed)===_0x10fc00||!_0x10fc00){const _0x27fff8=_0x4a07b6[_0x170704(0x9b)];if(_0x27fff8){const _0x33279b=window[_0x170704(0xae)](_0x27fff8);return _0x170704(0xcd)!==_0x33279b[_0x170704(0xd4)]?_0x33279b[_0x170704(0xd4)]:bn;}return bn;}return _0x10fc00;}[_0x483829(0xd9)](_0x534f98,_0x4d9b3b){const _0x3f7479=_0x483829;this[_0x3f7479(0x95)][_0x3f7479(0xbd)][_0x3f7479(0x6f)]&&_0x534f98[_0x3f7479(0x8b)][_0x3f7479(0x6d)](this[_0x3f7479(0x95)][_0x3f7479(0xbd)][_0x3f7479(0x6f)]),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xd4)]=_0x4d9b3b,_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xf6)]=_0x3f7479(0xa0),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0x9c)]=_0x3f7479(0x99),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0x91)]=_0x3f7479(0x99),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xec)]='0',_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xe5)]=_0x3f7479(0xde),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xc5)]='-1',_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xf3)]=_0x3f7479(0x89),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xea)]=_0x3f7479(0xc7),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0x6a)]=_0x3f7479(0x84);}[_0x483829(0xc6)](_0x12b498){const _0x39c8ae=_0x483829;_0x12b498[_0x39c8ae(0x86)](({element:_0x4b254c,originalDisplay:_0x475209,originalVisibility:_0x45eab9})=>{const _0x508f8e=_0x39c8ae;_0x4b254c[_0x508f8e(0x7b)][_0x508f8e(0xea)]=_0x475209,_0x4b254c[_0x508f8e(0x7b)][_0x508f8e(0xf3)]=_0x45eab9;});}[_0x483829(0xbf)](_0x35cca0){const _0x3038f0=_0x483829,_0x48451a=[];let _0xeeed63=_0x35cca0;for(;_0xeeed63&&_0xeeed63!==document[_0x3038f0(0xc1)];){const _0x5d76f7=window[_0x3038f0(0xae)](_0xeeed63);_0x3038f0(0xde)!==_0x5d76f7[_0x3038f0(0xea)]&&_0x3038f0(0xd3)!==_0x5d76f7[_0x3038f0(0xf3)]||(_0x48451a[_0x3038f0(0xaa)]({'element':_0xeeed63,'originalDisplay':_0xeeed63[_0x3038f0(0x7b)][_0x3038f0(0xea)],'originalVisibility':_0xeeed63[_0x3038f0(0x7b)][_0x3038f0(0xf3)]}),_0xeeed63[_0x3038f0(0x7b)][_0x3038f0(0xea)]=_0x3038f0(0x85),_0xeeed63[_0x3038f0(0x7b)][_0x3038f0(0xf3)]=_0x3038f0(0x80)),_0xeeed63=_0xeeed63[_0x3038f0(0x9b)];}return _0x48451a;}[_0x483829(0xe3)](){const _0x463339=_0x483829;let _0x26af4c,_0x310e1b;return this[_0x463339(0xcf)]?.[_0x463339(0xf4)]?(_0x26af4c=this[_0x463339(0xcf)][_0x463339(0xf4)][_0x463339(0xa3)](!0x0),_0x310e1b=this[_0x463339(0xe4)](_0x26af4c)):(_0x26af4c=document[_0x463339(0xe1)](_0x463339(0x97)),_0x310e1b=_0x26af4c),{'calculationContainer':_0x26af4c,'targetContainer':_0x310e1b};}[_0x483829(0x9a)](){const _0x30f0a0=_0x483829,{calculationContainer:_0x1d9c9e,targetContainer:_0x1ca2d7}=this[_0x30f0a0(0xe3)](),_0x46257d=this[_0x30f0a0(0x6e)]();this[_0x30f0a0(0xd9)](_0x1d9c9e,_0x46257d);const _0x47051d=this[_0x30f0a0(0xcf)]?.[_0x30f0a0(0xf4)]||this[_0x30f0a0(0xd5)],_0x52956f=_0x47051d?.[_0x30f0a0(0x9b)];_0x52956f?_0x52956f[_0x30f0a0(0xd8)](_0x1d9c9e):document[_0x30f0a0(0xc1)][_0x30f0a0(0xd8)](_0x1d9c9e),_0x1d9c9e[_0x30f0a0(0xad)]=_0x1ca2d7;const _0x5e55a9=this[_0x30f0a0(0xbf)](_0x52956f||null);return _0x1d9c9e[_0x30f0a0(0x98)],_0x1d9c9e[_0x30f0a0(0xd2)]=_0x5e55a9,_0x1d9c9e;}[_0x483829(0x87)](_0x5469c1,_0x4f3da8){const _0x2ebcfe=_0x483829,_0xef181c=_0x5469c1[_0x2ebcfe(0xad)]||_0x5469c1,_0x3de835=[],{rowCount:_0x57c3ae}=this[_0x2ebcfe(0x79)](_0xef181c,_0x4f3da8);if(_0x57c3ae<=this[_0x2ebcfe(0x95)][_0x2ebcfe(0xe7)])return _0x3de835;const _0x59386d=_0x4f3da8[_0x2ebcfe(0xeb)]();for(;_0x59386d[_0x2ebcfe(0xc2)]>0x0;){if(this[_0x2ebcfe(0x88)](_0x5469c1,_0xef181c,_0x59386d)){const _0x16fdf0=_0x4f3da8[_0x2ebcfe(0xf9)](_0x28385f=>!_0x59386d[_0x2ebcfe(0xb2)](_0x28385f));_0x3de835[_0x2ebcfe(0xaa)](..._0x16fdf0);break;}if(!_0x59386d[_0x2ebcfe(0xc0)]())break;}return _0x3de835;}[_0x483829(0x79)](_0x2c7022,_0x111654){const _0x32269f=_0x483829;_0x2c7022[_0x32269f(0xba)]='',_0x111654[_0x32269f(0x86)](_0x5d3906=>{const _0x10658e=_0x32269f;if(_0x5d3906[_0x10658e(0xf4)]){const _0x7ff70a=_0x5d3906[_0x10658e(0xf4)][_0x10658e(0xa3)](!0x0);_0x2c7022[_0x10658e(0xd8)](_0x7ff70a);}}),_0x2c7022[_0x32269f(0x98)];const _0x19bc14=_0x2c7022[_0x32269f(0xd0)],_0x47fe85=[];return Array[_0x32269f(0xca)](_0x19bc14)[_0x32269f(0x86)](_0x2dc917=>{const _0x5bc6fb=_0x32269f,_0xe2260e=_0x2dc917[_0x5bc6fb(0x6b)]()[_0x5bc6fb(0x9c)];_0x47fe85[_0x5bc6fb(0xb1)](_0x1253fd=>Math[_0x5bc6fb(0xdb)](_0x1253fd-_0xe2260e)<this[_0x5bc6fb(0x95)][_0x5bc6fb(0xb0)])||_0x47fe85[_0x5bc6fb(0xaa)](_0xe2260e);}),{'rowCount':_0x47fe85[_0x32269f(0xc2)]};}[_0x483829(0x7f)](){const _0xf778fd=_0x483829,_0x40c880=document[_0xf778fd(0xe1)](_0xf778fd(0xe2));return _0x40c880[_0xf778fd(0xa5)]=this[_0xf778fd(0x95)][_0xf778fd(0xbd)][_0xf778fd(0x83)],this[_0xf778fd(0x95)][_0xf778fd(0xbd)][_0xf778fd(0x77)]&&_0x40c880[_0xf778fd(0x8b)][_0xf778fd(0x6d)](this[_0xf778fd(0x95)][_0xf778fd(0xbd)][_0xf778fd(0x77)]),_0x40c880[_0xf778fd(0xbc)]=_0xf778fd(0xb4),_0x40c880;}[_0x483829(0x88)](_0x1373c6,_0x4f84ab,_0x459e4a){const _0x3bcedb=_0x483829;this[_0x3bcedb(0x79)](_0x4f84ab,_0x459e4a);const _0x227650=this[_0x3bcedb(0x7f)]();_0x1373c6[_0x3bcedb(0xd8)](_0x227650),_0x1373c6[_0x3bcedb(0x98)];const _0x54046d=[..._0x4f84ab[_0x3bcedb(0xd0)],_0x227650],_0x2fe3c5=[];_0x54046d[_0x3bcedb(0x86)](_0xb67307=>{const _0x2cc2e3=_0x3bcedb,_0x4ca822=_0xb67307[_0x2cc2e3(0x6b)]()[_0x2cc2e3(0x9c)];_0x2fe3c5[_0x2cc2e3(0xb1)](_0x158cc7=>Math[_0x2cc2e3(0xdb)](_0x158cc7-_0x4ca822)<this[_0x2cc2e3(0x95)][_0x2cc2e3(0xb0)])||_0x2fe3c5[_0x2cc2e3(0xaa)](_0x4ca822);});const _0x186b53=_0x2fe3c5[_0x3bcedb(0xc2)];return _0x227650[_0x3bcedb(0x72)](),_0x186b53<=this[_0x3bcedb(0x95)][_0x3bcedb(0xe7)];}[_0x483829(0x71)](_0x3cf724,_0x34de50){const _0xddbe42=_0x483829;this[_0xddbe42(0xc9)][_0xddbe42(0xf0)](),this[_0xddbe42(0x7a)][_0xddbe42(0xf0)](),_0x3cf724[_0xddbe42(0x86)](_0x1088eb=>{const _0x19a192=_0xddbe42;_0x34de50[_0x19a192(0xb2)](_0x1088eb)?this[_0x19a192(0x7a)][_0x19a192(0x6d)](_0x1088eb):this[_0x19a192(0xc9)][_0x19a192(0x6d)](_0x1088eb);});}[_0x483829(0xf7)](_0x302d64){const _0x4b868b=_0x483829;if(_0x302d64>0x0&&!this[_0x4b868b(0xda)]&&this[_0x4b868b(0xe0)](),_0x302d64>0x0&&this[_0x4b868b(0xda)]){const _0xb4af5f=''+this[_0x4b868b(0x95)][_0x4b868b(0xbe)]+(_0x302d64<0x63?_0x302d64:'99');this[_0x4b868b(0xda)][_0x4b868b(0xf2)]=_0xb4af5f;}this[_0x4b868b(0xfb)](),this[_0x4b868b(0xd6)](),this[_0x4b868b(0xa6)]();}[_0x483829(0x82)](_0xee1490,_0x5bfa33){const _0x150373=_0x483829;this[_0x150373(0x71)](_0xee1490,_0x5bfa33),this[_0x150373(0xf7)](_0x5bfa33[_0x150373(0xc2)]);}[_0x483829(0x94)](){const _0x595fad=_0x483829;this[_0x595fad(0xd5)]&&_0x595fad(0x7c)!=typeof IntersectionObserver&&(this[_0x595fad(0xe6)]=new IntersectionObserver(_0x490fed=>{const _0x1733a7=_0x595fad;_0x490fed[0x0][_0x1733a7(0x9e)]&&this[_0x1733a7(0x96)]&&requestAnimationFrame(()=>{const _0xb22c84=_0x1733a7;this[_0xb22c84(0xb8)]();});},{'threshold':0.01,'rootMargin':_0x595fad(0xdf)}),this[_0x595fad(0xe6)][_0x595fad(0xd1)](this[_0x595fad(0xd5)]));}[_0x483829(0xaf)](){const _0x3d6492=_0x483829;if(!this[_0x3d6492(0xd5)])return!0x1;if(!this[_0x3d6492(0xd5)][_0x3d6492(0x8e)])return!0x1;const _0x2c201f=this[_0x3d6492(0xd5)][_0x3d6492(0x6b)]();if(0x0===_0x2c201f[_0x3d6492(0xd4)]||0x0===_0x2c201f[_0x3d6492(0x70)])return!0x1;const _0x8583f7=window[_0x3d6492(0x81)]||document[_0x3d6492(0xa1)][_0x3d6492(0xee)],_0x5e9193=window[_0x3d6492(0xc8)]||document[_0x3d6492(0xa1)][_0x3d6492(0xef)],_0x5d42a0=0xc8;return _0x2c201f[_0x3d6492(0x8f)]>=-0xc8&&_0x2c201f[_0x3d6492(0x9c)]<=_0x8583f7+_0x5d42a0&&_0x2c201f[_0x3d6492(0xf1)]>=-0xc8&&_0x2c201f[_0x3d6492(0x91)]<=_0x5e9193+_0x5d42a0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48cfec=_0x1a6b;(function(_0x7426fa,_0x50a83a){const _0x3ac473=_0x1a6b,_0x5b3446=_0x7426fa();while(!![]){try{const _0x59df14=parseInt(_0x3ac473(0x17e))/0x1*(parseInt(_0x3ac473(0x183))/0x2)+-parseInt(_0x3ac473(0x159))/0x3+parseInt(_0x3ac473(0x173))/0x4+-parseInt(_0x3ac473(0x155))/0x5*(-parseInt(_0x3ac473(0x15a))/0x6)+parseInt(_0x3ac473(0x176))/0x7+parseInt(_0x3ac473(0x17b))/0x8*(parseInt(_0x3ac473(0x17c))/0x9)+-parseInt(_0x3ac473(0x160))/0xa;if(_0x59df14===_0x50a83a)break;else _0x5b3446['push'](_0x5b3446['shift']());}catch(_0x308017){_0x5b3446['push'](_0x5b3446['shift']());}}}(_0xfd18,0xea9f9));import{ButtonView as _0x1739b4,IconView as _0x3587c1}from'ckeditor5/src/ui.js';function _0xfd18(){const _0x13c2de=['4025720rHrQIE','label','_createTemplateChildren','6407289gCpKcA','_createIconView','render','ck-ai-chat-context-chip_wide','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','9496LvkHXO','12060ZTRUcE','_createRemoveButton','1PVgRfZ','addEventListener','type','set','small','3508030noyJIw','ck-ai-chat-context-chip_document','span','webkitAnimationEnd','length','lastIndexOf','content','classList','itemType','setTemplate','slice','ck-ai-chat-context-chip__type-icon','_createLoaderIcon','isVisible','removeContextItemChip','animationend','tooltip','_isAnimationOnEnterEnabled','ck-hidden','ck-ai-chat-context-chip','35TpOugs','readonly','locale','add','1481529mvMuLf','477234crpPfX','selection','fire','isLoading','bind','element','43682650AxyyMo','_initializeProperties','_setupRemoveButtonEvent','_setupTemplate','ck-ai-chat-context-chip_new-chip','uiId','_handleAnimationEndOnce','div','ck-ai-chat-context-controls__chip-tooltip','_createLabelElement','ck-ai-chat-context-chip__label','remove','removeEventListener','extendTemplate','bindTemplate','document','_createTemplateAttributes','disableAnimationOnEnter','execute'];_0xfd18=function(){return _0x13c2de;};return _0xfd18();}function _0x1a6b(_0x3f2dd8,_0x144211){const _0xfd18b9=_0xfd18();return _0x1a6b=function(_0x1a6b74,_0x32af52){_0x1a6b74=_0x1a6b74-0x150;let _0x2acffa=_0xfd18b9[_0x1a6b74];return _0x2acffa;},_0x1a6b(_0x3f2dd8,_0x144211);}import{IconClose as _0x596fe6,IconDocument as _0x2f7d88,IconFileUpload as _0x4a59b0,IconLink as _0x533b4b,IconSelection as _0x8f1b5a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x39d8db}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x27aadd}from'../../../aicore/ui/aispinner.js';const En={'file':_0x4a59b0,'document':_0x2f7d88,'web-resource':_0x533b4b,'text':_0x4a59b0,'selection':_0x8f1b5a},An=_0x48cfec(0x154),Cn=_0x48cfec(0x179),In=_0x48cfec(0x184),On=_0x48cfec(0x16a),gn=_0x48cfec(0x18e),vn=_0x48cfec(0x168),yn='n';export class AIChatContextItemButtonView extends _0x1739b4{constructor(_0x5197d1,_0x12b831,_0x5c4562,_0x36447f,_0x4ea2c6=!0x1){const _0x227347=_0x48cfec;super(_0x5197d1),this[_0x227347(0x152)]=_0x36447f,this[_0x227347(0x161)](_0x12b831,_0x5c4562,_0x4ea2c6),this[_0x227347(0x163)]();}[_0x48cfec(0x178)](){const _0x1e277f=_0x48cfec;super[_0x1e277f(0x178)](),this[_0x1e277f(0x152)]&&this[_0x1e277f(0x15f)]&&(this[_0x1e277f(0x15f)][_0x1e277f(0x18a)][_0x1e277f(0x158)](_0x1e277f(0x164)),this[_0x1e277f(0x166)](this[_0x1e277f(0x15f)],()=>{const _0x1770e0=_0x1e277f;this[_0x1770e0(0x15f)]&&this[_0x1770e0(0x15f)][_0x1770e0(0x18a)][_0x1770e0(0x16b)](_0x1770e0(0x164));}));}[_0x48cfec(0x171)](){const _0x329afb=_0x48cfec;this[_0x329afb(0x152)]=!0x1,this[_0x329afb(0x15f)]&&this[_0x329afb(0x15f)][_0x329afb(0x18a)][_0x329afb(0x16b)](_0x329afb(0x164));}[_0x48cfec(0x161)](_0x37dc26,_0x163658,_0x37151f){const _0x506956=_0x48cfec;this[_0x506956(0x181)](_0x506956(0x174),_0x37dc26[_0x506956(0x174)]),this[_0x506956(0x181)](_0x506956(0x151),!0x0),this[_0x506956(0x181)](_0x506956(0x18b),_0x37dc26[_0x506956(0x180)]),this[_0x506956(0x181)]('id',_0x37dc26[_0x506956(0x165)]),this[_0x506956(0x181)](_0x506956(0x156),_0x163658),this[_0x506956(0x181)](_0x506956(0x15d),_0x37151f);}[_0x48cfec(0x163)](){const _0x2d0140=_0x48cfec,_0x77e6b4=this[_0x2d0140(0x177)](),_0xdd45cc=this[_0x2d0140(0x17d)](),_0x1b6aae=this[_0x2d0140(0x16e)];this[_0x2d0140(0x18c)]({'tag':_0x2d0140(0x167),'attributes':this[_0x2d0140(0x170)](_0x1b6aae),'children':this[_0x2d0140(0x175)](_0x77e6b4,_0xdd45cc,_0x1b6aae)});}[_0x48cfec(0x170)](_0x2b1d18){const _0xc6a0d1=_0x48cfec;return{'class':[An,_0x2b1d18['if'](_0xc6a0d1(0x18b),In,_0x5e05d8=>_0xc6a0d1(0x16f)==_0x5e05d8),_0x2b1d18['if'](_0xc6a0d1(0x18b),Cn,_0x4ac94b=>_0xc6a0d1(0x15b)==_0x4ac94b)],'data-cke-tooltip-text':_0x2b1d18['to'](_0xc6a0d1(0x174),Ln),'data-cke-tooltip-position':yn,'data-cke-tooltip-class':vn};}[_0x48cfec(0x175)](_0x4287bc,_0x3b0d0e,_0x18b2ba){const _0x5f5719=_0x48cfec,_0x347ed1=this[_0x5f5719(0x169)](_0x18b2ba),_0x72a465=this[_0x5f5719(0x18f)]();return this[_0x5f5719(0x156)]?[_0x4287bc,_0x347ed1]:[_0x4287bc,_0x72a465,_0x347ed1,_0x3b0d0e];}[_0x48cfec(0x169)](_0x952964){const _0x10e1c0=_0x48cfec;return{'tag':_0x10e1c0(0x185),'attributes':{'class':On},'children':[{'text':_0x952964['to'](_0x10e1c0(0x174))}]};}[_0x48cfec(0x17d)](){const _0x5a6476=_0x48cfec,_0x51aaac=new _0x1739b4(this[_0x5a6476(0x157)]);return _0x51aaac[_0x5a6476(0x181)]({'label':_0x39d8db(this[_0x5a6476(0x157)],_0x5a6476(0x17a)),'icon':_0x596fe6}),this[_0x5a6476(0x162)](_0x51aaac),_0x51aaac;}[_0x48cfec(0x162)](_0x264f9d){const _0x2e8edd=_0x48cfec;_0x264f9d['on'](_0x2e8edd(0x172),()=>{const _0x2804c4=_0x2e8edd;this[_0x2804c4(0x15c)](_0x2804c4(0x191),this['id']);});}[_0x48cfec(0x177)](){const _0x1d1426=_0x48cfec,_0x296254=this[_0x1d1426(0x16e)],_0x47cf7d=new _0x3587c1();return _0x47cf7d[_0x1d1426(0x189)]=En[this[_0x1d1426(0x18b)]],_0x47cf7d[_0x1d1426(0x16d)]({'attributes':{'class':[gn,_0x296254['if'](_0x1d1426(0x15d),_0x1d1426(0x153),_0x74057f=>_0x74057f)]}}),_0x47cf7d;}[_0x48cfec(0x166)](_0x3c8ef0,_0x3066e3){const _0x1bc3e9=_0x48cfec;if(!_0x3c8ef0)return;const _0x7cbba0=()=>{const _0x5386f0=_0x1a6b;_0x3066e3(),_0x3c8ef0[_0x5386f0(0x16c)](_0x5386f0(0x150),_0x7cbba0),_0x3c8ef0[_0x5386f0(0x16c)](_0x5386f0(0x186),_0x7cbba0);};_0x3c8ef0[_0x1bc3e9(0x17f)](_0x1bc3e9(0x150),_0x7cbba0),_0x3c8ef0[_0x1bc3e9(0x17f)](_0x1bc3e9(0x186),_0x7cbba0);}[_0x48cfec(0x18f)](){const _0x32fd45=_0x48cfec,_0x30e847=new _0x27aadd(_0x32fd45(0x182));return _0x30e847[_0x32fd45(0x15e)](_0x32fd45(0x190))['to'](this,_0x32fd45(0x15d),_0x9710a5=>_0x9710a5),_0x30e847;}}function Ln(_0x5af48a){const _0xadc45d=_0x48cfec;if(!_0x5af48a)return _0x5af48a;if(_0x5af48a[_0xadc45d(0x187)]<=0x78)return _0x5af48a;const _0x432837=_0x5af48a[_0xadc45d(0x18d)](0x0,0x78),_0x1c8a93=_0x432837[_0xadc45d(0x188)]('\x20');return(_0x1c8a93>0x0?_0x432837[_0xadc45d(0x18d)](0x0,_0x1c8a93):_0x432837)+'…';}
23
+ const _0x175709=_0x1c36;function _0x159f(){const _0x30e446=['350619hlxGTK','889JBFmLz','addEventListener','label','small','_createTemplateChildren','disableAnimationOnEnter','selection','document','execute','_setupRemoveButtonEvent','bind','ck-ai-chat-context-chip__type-icon','isLoading','ck-ai-chat-context-chip_document','lastIndexOf','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','_createLoaderIcon','animationend','12fSBBkt','div','set','locale','tooltip','slice','_createIconView','content','removeEventListener','span','element','ck-ai-chat-context-chip__label','432188YSxyeN','_isAnimationOnEnterEnabled','246FirOvF','ck-ai-chat-context-chip_wide','_setupTemplate','isVisible','length','_createLabelElement','_createRemoveButton','webkitAnimationEnd','bindTemplate','fire','readonly','ck-ai-chat-context-chip_new-chip','extendTemplate','9082899ddxcXW','type','render','28607360rNaZot','_initializeProperties','47770qORvxE','121685zEIGLQ','classList','ck-ai-chat-context-controls__chip-tooltip','_handleAnimationEndOnce','removeContextItemChip','ck-hidden','_createTemplateAttributes','59912vKareT','ck-ai-chat-context-chip','uiId','remove','setTemplate','add','itemType'];_0x159f=function(){return _0x30e446;};return _0x159f();}(function(_0x3185f5,_0x6b9c8b){const _0x511a0c=_0x1c36,_0x4ff331=_0x3185f5();while(!![]){try{const _0x6abfa6=parseInt(_0x511a0c(0x189))/0x1+-parseInt(_0x511a0c(0x19d))/0x2+parseInt(_0x511a0c(0x16a))/0x3*(parseInt(_0x511a0c(0x17d))/0x4)+parseInt(_0x511a0c(0x19e))/0x5*(-parseInt(_0x511a0c(0x18b))/0x6)+parseInt(_0x511a0c(0x16b))/0x7*(-parseInt(_0x511a0c(0x163))/0x8)+-parseInt(_0x511a0c(0x198))/0x9+parseInt(_0x511a0c(0x19b))/0xa;if(_0x6abfa6===_0x6b9c8b)break;else _0x4ff331['push'](_0x4ff331['shift']());}catch(_0x1c7049){_0x4ff331['push'](_0x4ff331['shift']());}}}(_0x159f,0xa1817));import{ButtonView as _0x30b984,IconView as _0x2c7615}from'ckeditor5/src/ui.js';import{IconClose as _0x59770f,IconDocument as _0x258d9c,IconFileUpload as _0x23d225,IconLink as _0x959826,IconSelection as _0x23c090}from'@ckeditor/ckeditor5-icons';function _0x1c36(_0xc19359,_0x194357){const _0x159fc1=_0x159f();return _0x1c36=function(_0x1c36b3,_0x15a910){_0x1c36b3=_0x1c36b3-0x15e;let _0x500710=_0x159fc1[_0x1c36b3];return _0x500710;},_0x1c36(_0xc19359,_0x194357);}import{getTranslation as _0x4dbb8c}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x5cbcb7}from'../../../aicore/ui/aispinner.js';const yn={'file':_0x23d225,'document':_0x258d9c,'web-resource':_0x959826,'text':_0x23d225,'selection':_0x23c090},Ln=_0x175709(0x164),Rn=_0x175709(0x18c),Vn=_0x175709(0x178),jn=_0x175709(0x188),Bn=_0x175709(0x176),Mn=_0x175709(0x15e),Nn='n';export class AIChatContextItemButtonView extends _0x30b984{constructor(_0x39a3de,_0x9d0852,_0xe0460,_0x79d2d1,_0x40648b=!0x1){const _0x5e59fc=_0x175709;super(_0x39a3de),this[_0x5e59fc(0x18a)]=_0x79d2d1,this[_0x5e59fc(0x19c)](_0x9d0852,_0xe0460,_0x40648b),this[_0x5e59fc(0x18d)]();}[_0x175709(0x19a)](){const _0x5655c6=_0x175709;super[_0x5655c6(0x19a)](),this[_0x5655c6(0x18a)]&&this[_0x5655c6(0x187)]&&(this[_0x5655c6(0x187)][_0x5655c6(0x19f)][_0x5655c6(0x168)](_0x5655c6(0x196)),this[_0x5655c6(0x15f)](this[_0x5655c6(0x187)],()=>{const _0x23466b=_0x5655c6;this[_0x23466b(0x187)]&&this[_0x23466b(0x187)][_0x23466b(0x19f)][_0x23466b(0x166)](_0x23466b(0x196));}));}[_0x175709(0x170)](){const _0x342c7c=_0x175709;this[_0x342c7c(0x18a)]=!0x1,this[_0x342c7c(0x187)]&&this[_0x342c7c(0x187)][_0x342c7c(0x19f)][_0x342c7c(0x166)](_0x342c7c(0x196));}[_0x175709(0x19c)](_0x407ef3,_0x2dc38d,_0x1ab688){const _0x2dec11=_0x175709;this[_0x2dec11(0x17f)](_0x2dec11(0x16d),_0x407ef3[_0x2dec11(0x16d)]),this[_0x2dec11(0x17f)](_0x2dec11(0x181),!0x0),this[_0x2dec11(0x17f)](_0x2dec11(0x169),_0x407ef3[_0x2dec11(0x199)]),this[_0x2dec11(0x17f)]('id',_0x407ef3[_0x2dec11(0x165)]),this[_0x2dec11(0x17f)](_0x2dec11(0x195),_0x2dc38d),this[_0x2dec11(0x17f)](_0x2dec11(0x177),_0x1ab688);}[_0x175709(0x18d)](){const _0x248ed9=_0x175709,_0x4d3463=this[_0x248ed9(0x183)](),_0x3eed01=this[_0x248ed9(0x191)](),_0x46edd5=this[_0x248ed9(0x193)];this[_0x248ed9(0x167)]({'tag':_0x248ed9(0x17e),'attributes':this[_0x248ed9(0x162)](_0x46edd5),'children':this[_0x248ed9(0x16f)](_0x4d3463,_0x3eed01,_0x46edd5)});}[_0x175709(0x162)](_0x108cfe){const _0x677364=_0x175709;return{'class':[Ln,_0x108cfe['if'](_0x677364(0x169),Vn,_0x46af6e=>_0x677364(0x172)==_0x46af6e),_0x108cfe['if'](_0x677364(0x169),Rn,_0x405293=>_0x677364(0x171)==_0x405293)],'data-cke-tooltip-text':_0x108cfe['to'](_0x677364(0x16d),Xn),'data-cke-tooltip-position':Nn,'data-cke-tooltip-class':Mn};}[_0x175709(0x16f)](_0x40100c,_0x2f40b5,_0x5e854e){const _0x12362d=_0x175709,_0x52fa98=this[_0x12362d(0x190)](_0x5e854e),_0x4d44a4=this[_0x12362d(0x17b)]();return this[_0x12362d(0x195)]?[_0x40100c,_0x52fa98]:[_0x40100c,_0x4d44a4,_0x52fa98,_0x2f40b5];}[_0x175709(0x190)](_0x1c57f9){const _0x40be9d=_0x175709;return{'tag':_0x40be9d(0x186),'attributes':{'class':jn},'children':[{'text':_0x1c57f9['to'](_0x40be9d(0x16d))}]};}[_0x175709(0x191)](){const _0x108414=_0x175709,_0x446374=new _0x30b984(this[_0x108414(0x180)]);return _0x446374[_0x108414(0x17f)]({'label':_0x4dbb8c(this[_0x108414(0x180)],_0x108414(0x17a)),'icon':_0x59770f}),this[_0x108414(0x174)](_0x446374),_0x446374;}[_0x175709(0x174)](_0x32c1c6){const _0x297674=_0x175709;_0x32c1c6['on'](_0x297674(0x173),()=>{const _0x415d62=_0x297674;this[_0x415d62(0x194)](_0x415d62(0x160),this['id']);});}[_0x175709(0x183)](){const _0x11c16f=_0x175709,_0x11da51=this[_0x11c16f(0x193)],_0x29de88=new _0x2c7615();return _0x29de88[_0x11c16f(0x184)]=yn[this[_0x11c16f(0x169)]],_0x29de88[_0x11c16f(0x197)]({'attributes':{'class':[Bn,_0x11da51['if'](_0x11c16f(0x177),_0x11c16f(0x161),_0xbd1509=>_0xbd1509)]}}),_0x29de88;}[_0x175709(0x15f)](_0x5533e5,_0x10239f){const _0x16b90d=_0x175709;if(!_0x5533e5)return;const _0x323942=()=>{const _0x2c3015=_0x1c36;_0x10239f(),_0x5533e5[_0x2c3015(0x185)](_0x2c3015(0x17c),_0x323942),_0x5533e5[_0x2c3015(0x185)](_0x2c3015(0x192),_0x323942);};_0x5533e5[_0x16b90d(0x16c)](_0x16b90d(0x17c),_0x323942),_0x5533e5[_0x16b90d(0x16c)](_0x16b90d(0x192),_0x323942);}[_0x175709(0x17b)](){const _0x3f56df=_0x175709,_0x2e388e=new _0x5cbcb7(_0x3f56df(0x16e));return _0x2e388e[_0x3f56df(0x175)](_0x3f56df(0x18e))['to'](this,_0x3f56df(0x177),_0x15eedf=>_0x15eedf),_0x2e388e;}}function Xn(_0x250dc7){const _0x55b4f3=_0x175709;if(!_0x250dc7)return _0x250dc7;if(_0x250dc7[_0x55b4f3(0x18f)]<=0x78)return _0x250dc7;const _0xf74bdd=_0x250dc7[_0x55b4f3(0x182)](0x0,0x78),_0x56d587=_0xf74bdd[_0x55b4f3(0x179)]('\x20');return(_0x56d587>0x0?_0xf74bdd[_0x55b4f3(0x182)](0x0,_0x56d587):_0xf74bdd)+'…';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16ee71=_0x59cf;(function(_0x326a7f,_0x1cb456){const _0xdeb1=_0x59cf,_0x4a64d2=_0x326a7f();while(!![]){try{const _0x3dc9e4=-parseInt(_0xdeb1(0xa7))/0x1*(parseInt(_0xdeb1(0xac))/0x2)+parseInt(_0xdeb1(0x94))/0x3*(parseInt(_0xdeb1(0xaf))/0x4)+-parseInt(_0xdeb1(0x9c))/0x5*(parseInt(_0xdeb1(0xad))/0x6)+-parseInt(_0xdeb1(0xa5))/0x7*(-parseInt(_0xdeb1(0x90))/0x8)+parseInt(_0xdeb1(0xa1))/0x9*(-parseInt(_0xdeb1(0x93))/0xa)+parseInt(_0xdeb1(0xb6))/0xb+parseInt(_0xdeb1(0x92))/0xc*(-parseInt(_0xdeb1(0x8b))/0xd);if(_0x3dc9e4===_0x1cb456)break;else _0x4a64d2['push'](_0x4a64d2['shift']());}catch(_0x1d34ae){_0x4a64d2['push'](_0x4a64d2['shift']());}}}(_0x7239,0x1c244));import{FocusTracker as _0x572969,KeystrokeHandler as _0x87e96f}from'ckeditor5/src/utils.js';import{ButtonView as _0x1bb77d,FocusCycler as _0x61a953,LabeledFieldView as _0x3c157d,View as _0x442224,FormHeaderView as _0x1221ac,createLabeledInputText as _0x125936,submitHandler as _0x33b6c2}from'ckeditor5/src/ui.js';import{IconCheck as _0x12cc97,IconPreviousArrow as _0x210eea}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4406fc}from'../../../aicore/utils/common-translations.js';function _0x7239(){const _0x4170bd=['clearError','forEach','_isValidUrl','1495659BcTEHa','esc','submit','fieldView','AI_CHAT_CONTEXT_URL_INVALID_ERROR','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-button-icon','AI_CHAT_CONTEXT_URL_PLACEHOLDER','element','ck-ai-chat-context-controls__url-input-section','submitUrl','ck-labeled-field-view_empty','setTemplate','fire','form','ck-button-icon\x20ck-button-back','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','_handleSubmit','shift+tab','length','trim','input','urlInputField','focus','_focusables','_setupEventHandlers','execute','children','keystrokes','locale','_createBackButton','getValue','backButton','104OMofYL','clear','_updateConfirmButtonState','add','setError','4232ZnOJtv','_createUrlInputField','87936snhBpg','561190XaiUgY','195EMwshp','AI_CHAT_CONTEXT_URL_LABEL','_setupTemplate','refreshBalloon','ck-ai-chat-context-controls__url-form','isEnabled','render','AI_CHAT_CONTEXT_URL_ADD_URL','5qUEriQ','focusCycler','_createConfirmButton','errorText','div','9QqCqro','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','focusTracker','createCollection','308FoCvEO','stop','3TFabuf','_setupKeystrokes','value','listenTo','confirmButton','56338pqvXGF','256302oIZmcK','set','12184YipWTl','tab','destroy','cancel'];_0x7239=function(){return _0x4170bd;};return _0x7239();}function _0x59cf(_0xbcdb90,_0x2971ea){const _0x72397b=_0x7239();return _0x59cf=function(_0x59cfa0,_0x40957d){_0x59cfa0=_0x59cfa0-0x7b;let _0x27edf4=_0x72397b[_0x59cfa0];return _0x27edf4;},_0x59cf(_0xbcdb90,_0x2971ea);}const eh=_0x16ee71(0x98),hh=_0x16ee71(0xbf);export class AIChatContextPanelUrlInputView extends _0x442224{[_0x16ee71(0xa3)];[_0x16ee71(0x86)];[_0x16ee71(0x82)];[_0x16ee71(0x9d)];[_0x16ee71(0x80)];[_0x16ee71(0x8a)];[_0x16ee71(0xab)];constructor(_0xa46d35){const _0x135560=_0x16ee71;super(_0xa46d35),this[_0x135560(0xa3)]=new _0x572969(),this[_0x135560(0x86)]=new _0x87e96f(),this[_0x135560(0x8a)]=this[_0x135560(0x88)](),this[_0x135560(0x80)]=this[_0x135560(0x91)](),this[_0x135560(0xab)]=this[_0x135560(0x9e)](),this[_0x135560(0x82)]=this[_0x135560(0xa4)]([this[_0x135560(0x8a)],this[_0x135560(0x80)],this[_0x135560(0xab)]]),this[_0x135560(0x9d)]=new _0x61a953({'focusables':this[_0x135560(0x82)],'focusTracker':this[_0x135560(0xa3)],'keystrokeHandler':this[_0x135560(0x86)],'actions':{'focusPrevious':_0x135560(0x7c),'focusNext':_0x135560(0xb0)}}),this[_0x135560(0x96)](),this[_0x135560(0x83)](),this[_0x135560(0xa8)]();}[_0x16ee71(0x9a)](){const _0x3391aa=_0x16ee71;super[_0x3391aa(0x9a)](),this[_0x3391aa(0x82)][_0x3391aa(0xb4)](_0x15c89e=>{const _0x1da264=_0x3391aa;this[_0x1da264(0xa3)][_0x1da264(0x8e)](_0x15c89e[_0x1da264(0xbe)]),this[_0x1da264(0x86)][_0x1da264(0xaa)](_0x15c89e[_0x1da264(0xbe)]);}),_0x33b6c2({'view':this}),this[_0x3391aa(0x81)]();}[_0x16ee71(0xb1)](){const _0x1d11d3=_0x16ee71;super[_0x1d11d3(0xb1)](),this[_0x1d11d3(0xa3)][_0x1d11d3(0xb1)](),this[_0x1d11d3(0x86)][_0x1d11d3(0xb1)]();}[_0x16ee71(0x81)](){const _0x5243ca=_0x16ee71;this[_0x5243ca(0x80)][_0x5243ca(0x81)]();}[_0x16ee71(0x89)](){const _0x7bac86=_0x16ee71;return this[_0x7bac86(0x80)][_0x7bac86(0xb9)][_0x7bac86(0xbe)]?.[_0x7bac86(0xa9)]?.[_0x7bac86(0x7e)]()||'';}[_0x16ee71(0x8c)](){const _0x25113e=_0x16ee71;this[_0x25113e(0x80)][_0x25113e(0xb9)][_0x25113e(0xbe)][_0x25113e(0xa9)]='',this[_0x25113e(0x80)][_0x25113e(0x9f)]=null,this[_0x25113e(0xab)][_0x25113e(0x99)]=!0x1;}[_0x16ee71(0x8f)](_0x43af58){const _0x5a643a=_0x16ee71;this[_0x5a643a(0x80)][_0x5a643a(0x9f)]=_0x43af58,this[_0x5a643a(0x8d)](),this[_0x5a643a(0xc3)](_0x5a643a(0x97));}[_0x16ee71(0xb3)](){const _0x30cda0=_0x16ee71;this[_0x30cda0(0x80)][_0x30cda0(0x9f)]=null,this[_0x30cda0(0x8d)]();}[_0x16ee71(0x88)](){const _0x4a5e8d=_0x16ee71,_0x5a8038=new _0x1bb77d(this[_0x4a5e8d(0x87)]);return _0x5a8038[_0x4a5e8d(0xae)]({'icon':_0x210eea,'tooltip':_0x4406fc(this[_0x4a5e8d(0x87)],_0x4a5e8d(0xbb)),'tooltipPosition':'n','class':_0x4a5e8d(0xc5)}),_0x5a8038;}[_0x16ee71(0x91)](){const _0x2bdf79=_0x16ee71,_0x3e7a68=new _0x3c157d(this[_0x2bdf79(0x87)],_0x125936);return _0x3e7a68[_0x2bdf79(0xae)]({'label':_0x4406fc(this[_0x2bdf79(0x87)],_0x2bdf79(0x95)),'class':_0x2bdf79(0xc1)}),_0x3e7a68[_0x2bdf79(0xb9)][_0x2bdf79(0xae)]({'placeholder':_0x4406fc(this[_0x2bdf79(0x87)],_0x2bdf79(0xbd))}),_0x3e7a68;}[_0x16ee71(0x9e)](){const _0x7356fd=_0x16ee71,_0x5e5d23=new _0x1bb77d(this[_0x7356fd(0x87)]);return _0x5e5d23[_0x7356fd(0xae)]({'icon':_0x12cc97,'tooltip':_0x4406fc(this[_0x7356fd(0x87)],_0x7356fd(0x9b)),'tooltipPosition':'n','class':_0x7356fd(0xbc),'type':_0x7356fd(0xb8),'isEnabled':!0x1}),_0x5e5d23;}[_0x16ee71(0x96)](){const _0x5a240a=_0x16ee71,_0x58b76b=new _0x1221ac(this[_0x5a240a(0x87)],{'label':_0x4406fc(this[_0x5a240a(0x87)],_0x5a240a(0x9b)),'class':_0x5a240a(0xa2)});_0x58b76b[_0x5a240a(0x85)][_0x5a240a(0x8e)](this[_0x5a240a(0x8a)],0x0),this[_0x5a240a(0xc2)]({'tag':_0x5a240a(0xc4),'attributes':{'class':eh,'tabindex':'-1'},'children':[_0x58b76b,{'tag':_0x5a240a(0xa0),'attributes':{'class':hh},'children':[this[_0x5a240a(0x80)],this[_0x5a240a(0xab)]]}]});}[_0x16ee71(0x83)](){const _0x14f297=_0x16ee71;this[_0x14f297(0x8a)]['on'](_0x14f297(0x84),()=>{const _0x209f7f=_0x14f297;this[_0x209f7f(0x8c)](),this[_0x209f7f(0xc3)](_0x209f7f(0xb2));}),this[_0x14f297(0x80)][_0x14f297(0xb9)]['on'](_0x14f297(0x7f),()=>{const _0x1df67d=_0x14f297;this[_0x1df67d(0xb3)](),this[_0x1df67d(0x8d)](),this[_0x1df67d(0xc3)](_0x1df67d(0x97));}),this['on'](_0x14f297(0xb8),_0x142a29=>{const _0x34f7d8=_0x14f297;_0x142a29[_0x34f7d8(0xa6)](),this[_0x34f7d8(0x7b)]();});}[_0x16ee71(0xa8)](){const _0x20f8ff=_0x16ee71;this[_0x20f8ff(0x86)][_0x20f8ff(0xae)](_0x20f8ff(0xb7),(_0x41663e,_0x26d2be)=>{const _0x352a11=_0x20f8ff;this[_0x352a11(0x8c)](),this[_0x352a11(0xc3)](_0x352a11(0xb2)),_0x26d2be();});}[_0x16ee71(0x7b)](){const _0x57305a=_0x16ee71,_0x4aae99=this[_0x57305a(0x89)]()[_0x57305a(0x7e)]();_0x4aae99?this[_0x57305a(0xb5)](_0x4aae99)?(this[_0x57305a(0xb3)](),this[_0x57305a(0xc3)](_0x57305a(0xc0),_0x4aae99)):this[_0x57305a(0x8f)](_0x4406fc(this[_0x57305a(0x87)],_0x57305a(0xba))):this[_0x57305a(0x8f)](_0x4406fc(this[_0x57305a(0x87)],_0x57305a(0xc6)));}[_0x16ee71(0x8d)](){const _0x29244e=_0x16ee71,_0x3c8682=this[_0x29244e(0x89)]()[_0x29244e(0x7e)](),_0x30dcbe=!!this[_0x29244e(0x80)][_0x29244e(0x9f)];this[_0x29244e(0xab)][_0x29244e(0x99)]=_0x3c8682[_0x29244e(0x7d)]>0x0&&!_0x30dcbe;}[_0x16ee71(0xb5)](_0x3d3f67){try{return!!new URL(_0x3d3f67);}catch{return!0x1;}}}
23
+ function _0x4ea7(_0x4b65dc,_0xa4c639){const _0x3978c9=_0x3978();return _0x4ea7=function(_0x4ea76c,_0x51f6d0){_0x4ea76c=_0x4ea76c-0x157;let _0x5d2c47=_0x3978c9[_0x4ea76c];return _0x5d2c47;},_0x4ea7(_0x4b65dc,_0xa4c639);}function _0x3978(){const _0x3d1b97=['execute','length','set','destroy','children','_createBackButton','AI_CHAT_CONTEXT_URL_PLACEHOLDER','focusTracker','div','isEnabled','keystrokes','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','listenTo','submitUrl','shift+tab','forEach','value','AI_CHAT_CONTEXT_URL_ADD_URL','ck-button-icon','21zaKhOm','ck-button-icon\x20ck-button-back','clearError','_createConfirmButton','_setupKeystrokes','656LOMCTx','_setupTemplate','focus','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','esc','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','clear','5630090MTZJFp','setError','focusCycler','createCollection','trim','input','refreshBalloon','_createUrlInputField','locale','ck-labeled-field-view_empty','8674605rkVyMq','_setupEventHandlers','138012yQQJvr','_updateConfirmButtonState','add','2414664lNkOHv','stop','backButton','_handleSubmit','1277417CaXvmr','ck-ai-chat-context-controls__url-form','tab','fieldView','form','AI_CHAT_CONTEXT_URL_INVALID_ERROR','99uglQlt','getValue','render','errorText','_isValidUrl','setTemplate','submit','1006928LgXXjD','_focusables','fire','cancel','ck-ai-chat-context-controls__url-input-section','6833178RaEaYm','element','confirmButton','AI_CHAT_CONTEXT_URL_LABEL','urlInputField'];_0x3978=function(){return _0x3d1b97;};return _0x3978();}const _0x5ef798=_0x4ea7;(function(_0x2c75af,_0x250db5){const _0x358a53=_0x4ea7,_0x2e53fb=_0x2c75af();while(!![]){try{const _0x344b7e=-parseInt(_0x358a53(0x185))/0x1+-parseInt(_0x358a53(0x181))/0x2+parseInt(_0x358a53(0x166))/0x3*(parseInt(_0x358a53(0x192))/0x4)+-parseInt(_0x358a53(0x17c))/0x5+-parseInt(_0x358a53(0x197))/0x6+parseInt(_0x358a53(0x17e))/0x7*(-parseInt(_0x358a53(0x16b))/0x8)+-parseInt(_0x358a53(0x18b))/0x9*(-parseInt(_0x358a53(0x172))/0xa);if(_0x344b7e===_0x250db5)break;else _0x2e53fb['push'](_0x2e53fb['shift']());}catch(_0xcbd67d){_0x2e53fb['push'](_0x2e53fb['shift']());}}}(_0x3978,0xef40a));import{FocusTracker as _0x1a7fbb,KeystrokeHandler as _0x59a5e9}from'ckeditor5/src/utils.js';import{ButtonView as _0x4585e3,FocusCycler as _0x2984e9,LabeledFieldView as _0x14d684,View as _0x10aab1,FormHeaderView as _0x586608,createLabeledInputText as _0x50a4df,submitHandler as _0x34da7c}from'ckeditor5/src/ui.js';import{IconCheck as _0x31e6bb,IconPreviousArrow as _0x61039c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1e9914}from'../../../aicore/utils/common-translations.js';const rh=_0x5ef798(0x186),oh=_0x5ef798(0x196);export class AIChatContextPanelUrlInputView extends _0x10aab1{[_0x5ef798(0x15a)];[_0x5ef798(0x15d)];[_0x5ef798(0x193)];[_0x5ef798(0x174)];[_0x5ef798(0x19b)];[_0x5ef798(0x183)];[_0x5ef798(0x199)];constructor(_0x10fffa){const _0x1e738c=_0x5ef798;super(_0x10fffa),this[_0x1e738c(0x15a)]=new _0x1a7fbb(),this[_0x1e738c(0x15d)]=new _0x59a5e9(),this[_0x1e738c(0x183)]=this[_0x1e738c(0x158)](),this[_0x1e738c(0x19b)]=this[_0x1e738c(0x179)](),this[_0x1e738c(0x199)]=this[_0x1e738c(0x169)](),this[_0x1e738c(0x193)]=this[_0x1e738c(0x175)]([this[_0x1e738c(0x183)],this[_0x1e738c(0x19b)],this[_0x1e738c(0x199)]]),this[_0x1e738c(0x174)]=new _0x2984e9({'focusables':this[_0x1e738c(0x193)],'focusTracker':this[_0x1e738c(0x15a)],'keystrokeHandler':this[_0x1e738c(0x15d)],'actions':{'focusPrevious':_0x1e738c(0x161),'focusNext':_0x1e738c(0x187)}}),this[_0x1e738c(0x16c)](),this[_0x1e738c(0x17d)](),this[_0x1e738c(0x16a)]();}[_0x5ef798(0x18d)](){const _0x3fff24=_0x5ef798;super[_0x3fff24(0x18d)](),this[_0x3fff24(0x193)][_0x3fff24(0x162)](_0x37764e=>{const _0x111ce0=_0x3fff24;this[_0x111ce0(0x15a)][_0x111ce0(0x180)](_0x37764e[_0x111ce0(0x198)]),this[_0x111ce0(0x15d)][_0x111ce0(0x15f)](_0x37764e[_0x111ce0(0x198)]);}),_0x34da7c({'view':this}),this[_0x3fff24(0x16d)]();}[_0x5ef798(0x19f)](){const _0x2459ee=_0x5ef798;super[_0x2459ee(0x19f)](),this[_0x2459ee(0x15a)][_0x2459ee(0x19f)](),this[_0x2459ee(0x15d)][_0x2459ee(0x19f)]();}[_0x5ef798(0x16d)](){const _0x4ebc10=_0x5ef798;this[_0x4ebc10(0x19b)][_0x4ebc10(0x16d)]();}[_0x5ef798(0x18c)](){const _0x2977d0=_0x5ef798;return this[_0x2977d0(0x19b)][_0x2977d0(0x188)][_0x2977d0(0x198)]?.[_0x2977d0(0x163)]?.[_0x2977d0(0x176)]()||'';}[_0x5ef798(0x171)](){const _0x1b4258=_0x5ef798;this[_0x1b4258(0x19b)][_0x1b4258(0x188)][_0x1b4258(0x198)][_0x1b4258(0x163)]='',this[_0x1b4258(0x19b)][_0x1b4258(0x18e)]=null,this[_0x1b4258(0x199)][_0x1b4258(0x15c)]=!0x1;}[_0x5ef798(0x173)](_0x4c426f){const _0x56badd=_0x5ef798;this[_0x56badd(0x19b)][_0x56badd(0x18e)]=_0x4c426f,this[_0x56badd(0x17f)](),this[_0x56badd(0x194)](_0x56badd(0x178));}[_0x5ef798(0x168)](){const _0x4142a3=_0x5ef798;this[_0x4142a3(0x19b)][_0x4142a3(0x18e)]=null,this[_0x4142a3(0x17f)]();}[_0x5ef798(0x158)](){const _0x117c16=_0x5ef798,_0x1072a7=new _0x4585e3(this[_0x117c16(0x17a)]);return _0x1072a7[_0x117c16(0x19e)]({'icon':_0x61039c,'tooltip':_0x1e9914(this[_0x117c16(0x17a)],_0x117c16(0x16e)),'tooltipPosition':'n','class':_0x117c16(0x167)}),_0x1072a7;}[_0x5ef798(0x179)](){const _0x113e97=_0x5ef798,_0x527d44=new _0x14d684(this[_0x113e97(0x17a)],_0x50a4df);return _0x527d44[_0x113e97(0x19e)]({'label':_0x1e9914(this[_0x113e97(0x17a)],_0x113e97(0x19a)),'class':_0x113e97(0x17b)}),_0x527d44[_0x113e97(0x188)][_0x113e97(0x19e)]({'placeholder':_0x1e9914(this[_0x113e97(0x17a)],_0x113e97(0x159))}),_0x527d44;}[_0x5ef798(0x169)](){const _0x59583e=_0x5ef798,_0x4588cf=new _0x4585e3(this[_0x59583e(0x17a)]);return _0x4588cf[_0x59583e(0x19e)]({'icon':_0x31e6bb,'tooltip':_0x1e9914(this[_0x59583e(0x17a)],_0x59583e(0x164)),'tooltipPosition':'n','class':_0x59583e(0x165),'type':_0x59583e(0x191),'isEnabled':!0x1}),_0x4588cf;}[_0x5ef798(0x16c)](){const _0x5c55b7=_0x5ef798,_0x2e89a0=new _0x586608(this[_0x5c55b7(0x17a)],{'label':_0x1e9914(this[_0x5c55b7(0x17a)],_0x5c55b7(0x164)),'class':_0x5c55b7(0x170)});_0x2e89a0[_0x5c55b7(0x157)][_0x5c55b7(0x180)](this[_0x5c55b7(0x183)],0x0),this[_0x5c55b7(0x190)]({'tag':_0x5c55b7(0x189),'attributes':{'class':rh,'tabindex':'-1'},'children':[_0x2e89a0,{'tag':_0x5c55b7(0x15b),'attributes':{'class':oh},'children':[this[_0x5c55b7(0x19b)],this[_0x5c55b7(0x199)]]}]});}[_0x5ef798(0x17d)](){const _0x2ec42c=_0x5ef798;this[_0x2ec42c(0x183)]['on'](_0x2ec42c(0x19c),()=>{const _0x114617=_0x2ec42c;this[_0x114617(0x171)](),this[_0x114617(0x194)](_0x114617(0x195));}),this[_0x2ec42c(0x19b)][_0x2ec42c(0x188)]['on'](_0x2ec42c(0x177),()=>{const _0x5b8849=_0x2ec42c;this[_0x5b8849(0x168)](),this[_0x5b8849(0x17f)](),this[_0x5b8849(0x194)](_0x5b8849(0x178));}),this['on'](_0x2ec42c(0x191),_0x3603db=>{const _0x18f8bc=_0x2ec42c;_0x3603db[_0x18f8bc(0x182)](),this[_0x18f8bc(0x184)]();});}[_0x5ef798(0x16a)](){const _0x5f4e67=_0x5ef798;this[_0x5f4e67(0x15d)][_0x5f4e67(0x19e)](_0x5f4e67(0x16f),(_0x45b602,_0x392dec)=>{const _0xff82c4=_0x5f4e67;this[_0xff82c4(0x171)](),this[_0xff82c4(0x194)](_0xff82c4(0x195)),_0x392dec();});}[_0x5ef798(0x184)](){const _0x32a828=_0x5ef798,_0x1bb57c=this[_0x32a828(0x18c)]()[_0x32a828(0x176)]();_0x1bb57c?this[_0x32a828(0x18f)](_0x1bb57c)?(this[_0x32a828(0x168)](),this[_0x32a828(0x194)](_0x32a828(0x160),_0x1bb57c)):this[_0x32a828(0x173)](_0x1e9914(this[_0x32a828(0x17a)],_0x32a828(0x18a))):this[_0x32a828(0x173)](_0x1e9914(this[_0x32a828(0x17a)],_0x32a828(0x15e)));}[_0x5ef798(0x17f)](){const _0x5511c1=_0x5ef798,_0xba2775=this[_0x5511c1(0x18c)]()[_0x5511c1(0x176)](),_0x4edb40=!!this[_0x5511c1(0x19b)][_0x5511c1(0x18e)];this[_0x5511c1(0x199)][_0x5511c1(0x15c)]=_0xba2775[_0x5511c1(0x19d)]>0x0&&!_0x4edb40;}[_0x5ef798(0x18f)](_0xf27b7c){try{return!!new URL(_0xf27b7c);}catch{return!0x1;}}}